(self.webpackChunkportal_defensoria_sp=self.webpackChunkportal_defensoria_sp||[]).push([[179],{7930:(qe,_e,W)=>{qe=W.nmd(qe),function(R){const A=R.en=R.en||{};A.dictionary=Object.assign(A.dictionary||{},{"(may require <kbd>Fn</kbd>)":"(may require <kbd>Fn</kbd>)","%0 of %1":"%0 of %1",Accept:"Accept","Accessibility help":"Accessibility help","Align cell text to the bottom":"Align cell text to the bottom","Align cell text to the center":"Align cell text to the center","Align cell text to the left":"Align cell text to the left","Align cell text to the middle":"Align cell text to the middle","Align cell text to the right":"Align cell text to the right","Align cell text to the top":"Align cell text to the top","Align table to the left":"Align table to the left","Align table to the right":"Align table to the right",Alignment:"Alignment",Aquamarine:"Aquamarine",Background:"Background","Below, you can find a list of keyboard shortcuts that can be used in the editor.":"Below, you can find a list of keyboard shortcuts that can be used in the editor.",Black:"Black","Block quote":"Block quote",Blue:"Blue",Bold:"Bold","Bold text":"Bold text",Border:"Border","Break text":"Break text","Bulleted List":"Bulleted List","Bulleted list styles toolbar":"Bulleted list styles toolbar",Cancel:"Cancel","Cannot access default workspace.":"Cannot access default workspace.","Cannot determine a category for the uploaded file.":"Cannot determine a category for the uploaded file.","Cannot upload file:":"Cannot upload file:","Caption for image: %0":"Caption for image: %0","Caption for the image":"Caption for the image","Cell properties":"Cell properties","Center table":"Center table","Centered image":"Centered image","Change image text alternative":"Change image text alternative","Choose heading":"Choose heading",Circle:"Circle",Clear:"Clear","Click to edit block":"Click to edit block",Close:"Close","Close contextual balloons, dropdowns, and dialogs":"Close contextual balloons, dropdowns, and dialogs",Code:"Code",Color:"Color","Color picker":"Color picker",Column:"Column","Content editing keystrokes":"Content editing keystrokes","Copy selected content":"Copy selected content","Could not insert image at the current position.":"Could not insert image at the current position.","Could not obtain resized image URL.":"Could not obtain resized image URL.","Create link":"Create link",Dashed:"Dashed",Decimal:"Decimal","Decimal with leading zero":"Decimal with leading zero","Decrease indent":"Decrease indent","Decrease list item indent":"Decrease list item indent","Delete column":"Delete column","Delete row":"Delete row","Dim grey":"Dim grey",Dimensions:"Dimensions",Disc:"Disc",Dotted:"Dotted",Double:"Double",Downloadable:"Downloadable","Drag to move":"Drag to move","Dropdown toolbar":"Dropdown toolbar","Edit block":"Edit block","Edit image":"Edit image","Edit link":"Edit link","Editor block content toolbar":"Editor block content toolbar","Editor contextual toolbar":"Editor contextual toolbar","Editor dialog":"Editor dialog","Editor editing area: %0":"Editor editing area: %0","Editor toolbar":"Editor toolbar","Enter image caption":"Enter image caption","Enter table caption":"Enter table caption","Execute the currently focused button":"Execute the currently focused button","Failed to determine category of edited image.":"Failed to determine category of edited image.","Full size image":"Full size image",Green:"Green",Grey:"Grey",Groove:"Groove","Header column":"Header column","Header row":"Header row",Heading:"Heading","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4","Heading 5":"Heading 5","Heading 6":"Heading 6",Height:"Height","Help Contents. To close this dialog press ESC.":"Help Contents. To close this dialog press ESC.",HEX:"HEX","Horizontal text alignment toolbar":"Horizontal text alignment toolbar","Image resize list":"Image resize list","Image toolbar":"Image toolbar","image widget":"image widget","In line":"In line","Increase indent":"Increase indent","Increase list item indent":"Increase list item indent",Insert:"Insert","Insert a hard break (a new paragraph)":"Insert a hard break (a new paragraph)","Insert a new paragraph directly after a widget":"Insert a new paragraph directly after a widget","Insert a new paragraph directly before a widget":"Insert a new paragraph directly before a widget","Insert a new table row (when in the last cell of a table)":"Insert a new table row (when in the last cell of a table)","Insert a soft break (a <code>&lt;br&gt;</code> element)":"Insert a soft break (a <code>&lt;br&gt;</code> element)","Insert column left":"Insert column left","Insert column right":"Insert column right","Insert image":"Insert image","Insert image or file":"Insert image or file","Insert image via URL":"Insert image via URL","Insert image with file manager":"Insert image with file manager","Insert media":"Insert media","Insert paragraph after block":"Insert paragraph after block","Insert paragraph before block":"Insert paragraph before block","Insert row above":"Insert row above","Insert row below":"Insert row below","Insert table":"Insert table","Insert with file manager":"Insert with file manager","Inserting image failed":"Inserting image failed",Inset:"Inset","Invalid start index value.":"Invalid start index value.",Italic:"Italic","Italic text":"Italic text","Justify cell text":"Justify cell text","Keystrokes that can be used in a list":"Keystrokes that can be used in a list","Keystrokes that can be used in a table cell":"Keystrokes that can be used in a table cell","Keystrokes that can be used when a widget is selected (for example: image, table, etc.)":"Keystrokes that can be used when a widget is selected (for example: image, table, etc.)","Left aligned image":"Left aligned image","Light blue":"Light blue","Light green":"Light green","Light grey":"Light grey",Link:"Link","Link image":"Link image","Link URL":"Link URL","List properties":"List properties","Lower-latin":"Lower-latin","Lower\u2013roman":"Lower\u2013roman","Media toolbar":"Media toolbar","Media URL":"Media URL","media widget":"media widget","Merge cell down":"Merge cell down","Merge cell left":"Merge cell left","Merge cell right":"Merge cell right","Merge cell up":"Merge cell up","Merge cells":"Merge cells","Move focus between form fields (inputs, buttons, etc.)":"Move focus between form fields (inputs, buttons, etc.)","Move focus in and out of an active dialog window":"Move focus in and out of an active dialog window","Move focus to the toolbar, navigate between toolbars":"Move focus to the toolbar, navigate between toolbars","Move out of a link":"Move out of a link","Move out of an inline code style":"Move out of an inline code style","Move the caret to allow typing directly after a widget":"Move the caret to allow typing directly after a widget","Move the caret to allow typing directly before a widget":"Move the caret to allow typing directly before a widget","Move the selection to the next cell":"Move the selection to the next cell","Move the selection to the previous cell":"Move the selection to the previous cell","Navigate through the table":"Navigate through the table","Navigate through the toolbar":"Navigate through the toolbar",Next:"Next","No results found":"No results found","No searchable items":"No searchable items",None:"None","Numbered List":"Numbered List","Numbered list styles toolbar":"Numbered list styles toolbar","Open file manager":"Open file manager","Open in a new tab":"Open in a new tab","Open link in new tab":"Open link in new tab","Open media in new tab":"Open media in new tab","Open the accessibility help dialog":"Open the accessibility help dialog",Orange:"Orange",Original:"Original",Outset:"Outset",Padding:"Padding",Paragraph:"Paragraph","Paste content":"Paste content","Paste content as plain text":"Paste content as plain text","Paste the media URL in the input.":"Paste the media URL in the input.","Press %0 for help.":"Press %0 for help.","Press Enter to type after or press Shift + Enter to type before the widget":"Press Enter to type after or press Shift + Enter to type before the widget",Previous:"Previous","Processing the edited image.":"Processing the edited image.",Purple:"Purple",Red:"Red",Redo:"Redo","Remove color":"Remove color","Replace from computer":"Replace from computer","Replace image":"Replace image","Replace image from computer":"Replace image from computer","Replace image with file manager":"Replace image with file manager","Replace with file manager":"Replace with file manager","Resize image":"Resize image","Resize image to %0":"Resize image to %0","Resize image to the original size":"Resize image to the original size","Restore default":"Restore default","Reversed order":"Reversed order","Revert autoformatting action":"Revert autoformatting action","Rich Text Editor":"Rich Text Editor",Ridge:"Ridge","Right aligned image":"Right aligned image",Row:"Row",Save:"Save","Select all":"Select all","Select column":"Select column","Select row":"Select row","Selecting resized image failed":"Selecting resized image failed","Server failed to process the image.":"Server failed to process the image.","Show more items":"Show more items","Side image":"Side image",Solid:"Solid","Split cell horizontally":"Split cell horizontally","Split cell vertically":"Split cell vertically",Square:"Square","Start at":"Start at","Start index must be greater than 0.":"Start index must be greater than 0.",Strikethrough:"Strikethrough","Strikethrough text":"Strikethrough text",Style:"Style",Subscript:"Subscript",Superscript:"Superscript","Table alignment toolbar":"Table alignment toolbar","Table cell text alignment":"Table cell text alignment","Table properties":"Table properties","Table toolbar":"Table toolbar","Text alternative":"Text alternative",'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".':'The color is invalid. Try "#FF0000" or "rgb(255,0,0)" or "red".',"The URL must not be empty.":"The URL must not be empty.",'The value is invalid. Try "10px" or "2em" or simply "2".':'The value is invalid. Try "10px" or "2em" or simply "2".',"These keyboard shortcuts allow for quick access to content editing features.":"These keyboard shortcuts allow for quick access to content editing features.","This link has no URL":"This link has no URL","This media URL is not supported.":"This media URL is not supported.","Tip: Paste the URL into the content to embed faster.":"Tip: Paste the URL into the content to embed faster.","To-do List":"To-do List","Toggle caption off":"Toggle caption off","Toggle caption on":"Toggle caption on","Toggle the circle list style":"Toggle the circle list style","Toggle the decimal list style":"Toggle the decimal list style","Toggle the decimal with leading zero list style":"Toggle the decimal with leading zero list style","Toggle the disc list style":"Toggle the disc list style","Toggle the lower\u2013latin list style":"Toggle the lower\u2013latin list style","Toggle the lower\u2013roman list style":"Toggle the lower\u2013roman list style","Toggle the square list style":"Toggle the square list style","Toggle the upper\u2013latin list style":"Toggle the upper\u2013latin list style","Toggle the upper\u2013roman list style":"Toggle the upper\u2013roman list style",Turquoise:"Turquoise","Type or paste your content here.":"Type or paste your content here.","Type your title":"Type your title",Underline:"Underline","Underline text":"Underline text",Undo:"Undo",Unlink:"Unlink",Update:"Update","Update image URL":"Update image URL","Upload failed":"Upload failed","Upload from computer":"Upload from computer","Upload image from computer":"Upload image from computer","Upload in progress":"Upload in progress","Upper-latin":"Upper-latin","Upper-roman":"Upper-roman","Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.":"Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface.","User interface and content navigation keystrokes":"User interface and content navigation keystrokes","Vertical text alignment toolbar":"Vertical text alignment toolbar",White:"White","Widget toolbar":"Widget toolbar",Width:"Width","Wrap text":"Wrap text",Yellow:"Yellow"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),self,qe.exports=(()=>{var R={9246:(C,I,v)=>{const D=v(6931),E={};for(const M of Object.keys(D))E[D[M]]=M;const T={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};C.exports=T;for(const M of Object.keys(T)){if(!("channels"in T[M]))throw new Error("missing channels property: "+M);if(!("labels"in T[M]))throw new Error("missing channel labels property: "+M);if(T[M].labels.length!==T[M].channels)throw new Error("channel and label counts mismatch: "+M);const{channels:O,labels:j}=T[M];delete T[M].channels,delete T[M].labels,Object.defineProperty(T[M],"channels",{value:O}),Object.defineProperty(T[M],"labels",{value:j})}T.rgb.hsl=function(M){const O=M[0]/255,j=M[1]/255,z=M[2]/255,F=Math.min(O,j,z),q=Math.max(O,j,z),V=q-F;let Q,ce;q===F?Q=0:O===q?Q=(j-z)/V:j===q?Q=2+(z-O)/V:z===q&&(Q=4+(O-j)/V),Q=Math.min(60*Q,360),Q<0&&(Q+=360);const ae=(F+q)/2;return ce=q===F?0:ae<=.5?V/(q+F):V/(2-q-F),[Q,100*ce,100*ae]},T.rgb.hsv=function(M){let O,j,z,F,q;const V=M[0]/255,Q=M[1]/255,ce=M[2]/255,ae=Math.max(V,Q,ce),de=ae-Math.min(V,Q,ce),he=function(se){return(ae-se)/6/de+.5};return 0===de?(F=0,q=0):(q=de/ae,O=he(V),j=he(Q),z=he(ce),V===ae?F=z-j:Q===ae?F=.3333333333333333+O-z:ce===ae&&(F=.6666666666666666+j-O),F<0?F+=1:F>1&&(F-=1)),[360*F,100*q,100*ae]},T.rgb.hwb=function(M){const O=M[0],j=M[1];let z=M[2];const F=T.rgb.hsl(M)[0],q=1/255*Math.min(O,Math.min(j,z));return z=1-.00392156862745098*Math.max(O,Math.max(j,z)),[F,100*q,100*z]},T.rgb.cmyk=function(M){const O=M[0]/255,j=M[1]/255,z=M[2]/255,F=Math.min(1-O,1-j,1-z);return[100*((1-O-F)/(1-F)||0),100*((1-j-F)/(1-F)||0),100*((1-z-F)/(1-F)||0),100*F]},T.rgb.keyword=function(M){const O=E[M];if(O)return O;let j,z=1/0;for(const V of Object.keys(D)){const ce=((F=M)[0]-(q=D[V])[0])**2+(F[1]-q[1])**2+(F[2]-q[2])**2;ce<z&&(z=ce,j=V)}var F,q;return j},T.keyword.rgb=function(M){return D[M]},T.rgb.xyz=function(M){let O=M[0]/255,j=M[1]/255,z=M[2]/255;return O=O>.04045?((O+.055)/1.055)**2.4:O/12.92,j=j>.04045?((j+.055)/1.055)**2.4:j/12.92,z=z>.04045?((z+.055)/1.055)**2.4:z/12.92,[100*(.4124*O+.3576*j+.1805*z),100*(.2126*O+.7152*j+.0722*z),100*(.0193*O+.1192*j+.9505*z)]},T.rgb.lab=function(M){const O=T.rgb.xyz(M);let j=O[0],z=O[1],F=O[2];return j/=95.047,z/=100,F/=108.883,j=j>.008856?j**.3333333333333333:7.787*j+.13793103448275862,z=z>.008856?z**.3333333333333333:7.787*z+.13793103448275862,F=F>.008856?F**.3333333333333333:7.787*F+.13793103448275862,[116*z-16,500*(j-z),200*(z-F)]},T.hsl.rgb=function(M){const O=M[0]/360,j=M[1]/100,z=M[2]/100;let F,q,V;if(0===j)return V=255*z,[V,V,V];F=z<.5?z*(1+j):z+j-z*j;const Q=2*z-F,ce=[0,0,0];for(let ae=0;ae<3;ae++)q=O+.3333333333333333*-(ae-1),q<0&&q++,q>1&&q--,V=6*q<1?Q+6*(F-Q)*q:2*q<1?F:3*q<2?Q+(F-Q)*(.6666666666666666-q)*6:Q,ce[ae]=255*V;return ce},T.hsl.hsv=function(M){const O=M[0];let j=M[1]/100,z=M[2]/100,F=j;const q=Math.max(z,.01);return z*=2,j*=z<=1?z:2-z,F*=q<=1?q:2-q,[O,100*(0===z?2*F/(q+F):2*j/(z+j)),(z+j)/2*100]},T.hsv.rgb=function(M){const O=M[0]/60,j=M[1]/100;let z=M[2]/100;const F=Math.floor(O)%6,q=O-Math.floor(O),V=255*z*(1-j),Q=255*z*(1-j*q),ce=255*z*(1-j*(1-q));switch(z*=255,F){case 0:return[z,ce,V];case 1:return[Q,z,V];case 2:return[V,z,ce];case 3:return[V,Q,z];case 4:return[ce,V,z];case 5:return[z,V,Q]}},T.hsv.hsl=function(M){const O=M[0],j=M[1]/100,z=M[2]/100,F=Math.max(z,.01);let q,V;V=(2-j)*z;const Q=(2-j)*F;return q=j*F,q/=Q<=1?Q:2-Q,q=q||0,V/=2,[O,100*q,100*V]},T.hwb.rgb=function(M){const O=M[0]/360;let j=M[1]/100,z=M[2]/100;const F=j+z;let q;F>1&&(j/=F,z/=F);const V=Math.floor(6*O),Q=1-z;q=6*O-V,1&V&&(q=1-q);const ce=j+q*(Q-j);let ae,de,he;switch(V){default:case 6:case 0:ae=Q,de=ce,he=j;break;case 1:ae=ce,de=Q,he=j;break;case 2:ae=j,de=Q,he=ce;break;case 3:ae=j,de=ce,he=Q;break;case 4:ae=ce,de=j,he=Q;break;case 5:ae=Q,de=j,he=ce}return[255*ae,255*de,255*he]},T.cmyk.rgb=function(M){const j=M[1]/100,z=M[2]/100,F=M[3]/100;return[255*(1-Math.min(1,M[0]/100*(1-F)+F)),255*(1-Math.min(1,j*(1-F)+F)),255*(1-Math.min(1,z*(1-F)+F))]},T.xyz.rgb=function(M){const O=M[0]/100,j=M[1]/100,z=M[2]/100;let F,q,V;return F=3.2406*O+-1.5372*j+-.4986*z,q=-.9689*O+1.8758*j+.0415*z,V=.0557*O+-.204*j+1.057*z,F=F>.0031308?1.055*F**.4166666666666667-.055:12.92*F,q=q>.0031308?1.055*q**.4166666666666667-.055:12.92*q,V=V>.0031308?1.055*V**.4166666666666667-.055:12.92*V,F=Math.min(Math.max(0,F),1),q=Math.min(Math.max(0,q),1),V=Math.min(Math.max(0,V),1),[255*F,255*q,255*V]},T.xyz.lab=function(M){let O=M[0],j=M[1],z=M[2];return O/=95.047,j/=100,z/=108.883,O=O>.008856?O**.3333333333333333:7.787*O+.13793103448275862,j=j>.008856?j**.3333333333333333:7.787*j+.13793103448275862,z=z>.008856?z**.3333333333333333:7.787*z+.13793103448275862,[116*j-16,500*(O-j),200*(j-z)]},T.lab.xyz=function(M){let O,j,z;j=(M[0]+16)/116,O=M[1]/500+j,z=j-M[2]/200;const F=j**3,q=O**3,V=z**3;return j=F>.008856?F:(j-.13793103448275862)/7.787,O=q>.008856?q:(O-.13793103448275862)/7.787,z=V>.008856?V:(z-.13793103448275862)/7.787,O*=95.047,j*=100,z*=108.883,[O,j,z]},T.lab.lch=function(M){const O=M[0],j=M[1],z=M[2];let F;return F=360*Math.atan2(z,j)/2/Math.PI,F<0&&(F+=360),[O,Math.sqrt(j*j+z*z),F]},T.lch.lab=function(M){const j=M[1],z=M[2]/360*2*Math.PI;return[M[0],j*Math.cos(z),j*Math.sin(z)]},T.rgb.ansi16=function(M,O=null){const[j,z,F]=M;let q=null===O?T.rgb.hsv(M)[2]:O;if(q=Math.round(q/50),0===q)return 30;let V=30+(Math.round(F/255)<<2|Math.round(z/255)<<1|Math.round(j/255));return 2===q&&(V+=60),V},T.hsv.ansi16=function(M){return T.rgb.ansi16(T.hsv.rgb(M),M[2])},T.rgb.ansi256=function(M){const O=M[0],j=M[1],z=M[2];return O===j&&j===z?O<8?16:O>248?231:Math.round((O-8)/247*24)+232:16+36*Math.round(O/255*5)+6*Math.round(j/255*5)+Math.round(z/255*5)},T.ansi16.rgb=function(M){let O=M%10;if(0===O||7===O)return M>50&&(O+=3.5),O=O/10.5*255,[O,O,O];const j=.5*(1+~~(M>50));return[(1&O)*j*255,(O>>1&1)*j*255,(O>>2&1)*j*255]},T.ansi256.rgb=function(M){if(M>=232){const j=10*(M-232)+8;return[j,j,j]}let O;return M-=16,[Math.floor(M/36)/5*255,Math.floor((O=M%36)/6)/5*255,O%6/5*255]},T.rgb.hex=function(M){const O=(((255&Math.round(M[0]))<<16)+((255&Math.round(M[1]))<<8)+(255&Math.round(M[2]))).toString(16).toUpperCase();return"000000".substring(O.length)+O},T.hex.rgb=function(M){const O=M.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!O)return[0,0,0];let j=O[0];3===O[0].length&&(j=j.split("").map(F=>F+F).join(""));const z=parseInt(j,16);return[z>>16&255,z>>8&255,255&z]},T.rgb.hcg=function(M){const O=M[0]/255,j=M[1]/255,z=M[2]/255,F=Math.max(Math.max(O,j),z),q=Math.min(Math.min(O,j),z),V=F-q;let Q,ce;return Q=V<1?q/(1-V):0,ce=V<=0?0:F===O?(j-z)/V%6:F===j?2+(z-O)/V:4+(O-j)/V,ce/=6,ce%=1,[360*ce,100*V,100*Q]},T.hsl.hcg=function(M){const O=M[1]/100,j=M[2]/100,z=j<.5?2*O*j:2*O*(1-j);let F=0;return z<1&&(F=(j-.5*z)/(1-z)),[M[0],100*z,100*F]},T.hsv.hcg=function(M){const j=M[2]/100,z=M[1]/100*j;let F=0;return z<1&&(F=(j-z)/(1-z)),[M[0],100*z,100*F]},T.hcg.rgb=function(M){const j=M[1]/100,z=M[2]/100;if(0===j)return[255*z,255*z,255*z];const F=[0,0,0],q=M[0]/360%1*6,V=q%1,Q=1-V;let ce=0;switch(Math.floor(q)){case 0:F[0]=1,F[1]=V,F[2]=0;break;case 1:F[0]=Q,F[1]=1,F[2]=0;break;case 2:F[0]=0,F[1]=1,F[2]=V;break;case 3:F[0]=0,F[1]=Q,F[2]=1;break;case 4:F[0]=V,F[1]=0,F[2]=1;break;default:F[0]=1,F[1]=0,F[2]=Q}return ce=(1-j)*z,[255*(j*F[0]+ce),255*(j*F[1]+ce),255*(j*F[2]+ce)]},T.hcg.hsv=function(M){const O=M[1]/100,j=O+M[2]/100*(1-O);let z=0;return j>0&&(z=O/j),[M[0],100*z,100*j]},T.hcg.hsl=function(M){const O=M[1]/100,j=M[2]/100*(1-O)+.5*O;let z=0;return j>0&&j<.5?z=O/(2*j):j>=.5&&j<1&&(z=O/(2*(1-j))),[M[0],100*z,100*j]},T.hcg.hwb=function(M){const O=M[1]/100,j=O+M[2]/100*(1-O);return[M[0],100*(j-O),100*(1-j)]},T.hwb.hcg=function(M){const j=1-M[2]/100,z=j-M[1]/100;let F=0;return z<1&&(F=(j-z)/(1-z)),[M[0],100*z,100*F]},T.apple.rgb=function(M){return[M[0]/65535*255,M[1]/65535*255,M[2]/65535*255]},T.rgb.apple=function(M){return[M[0]/255*65535,M[1]/255*65535,M[2]/255*65535]},T.gray.rgb=function(M){return[M[0]/100*255,M[0]/100*255,M[0]/100*255]},T.gray.hsl=function(M){return[0,0,M[0]]},T.gray.hsv=T.gray.hsl,T.gray.hwb=function(M){return[0,100,M[0]]},T.gray.cmyk=function(M){return[0,0,0,M[0]]},T.gray.lab=function(M){return[M[0],0,0]},T.gray.hex=function(M){const O=255&Math.round(M[0]/100*255),j=((O<<16)+(O<<8)+O).toString(16).toUpperCase();return"000000".substring(j.length)+j},T.rgb.gray=function(M){return[(M[0]+M[1]+M[2])/3/255*100]}},9047:(C,I,v)=>{const D=v(9246),E=v(802),T={};Object.keys(D).forEach(M=>{T[M]={},Object.defineProperty(T[M],"channels",{value:D[M].channels}),Object.defineProperty(T[M],"labels",{value:D[M].labels});const O=E(M);Object.keys(O).forEach(j=>{const z=O[j];T[M][j]=function(F){const q=function(...V){const Q=V[0];if(null==Q)return Q;Q.length>1&&(V=Q);const ce=F(V);if("object"==typeof ce)for(let ae=ce.length,de=0;de<ae;de++)ce[de]=Math.round(ce[de]);return ce};return"conversion"in F&&(q.conversion=F.conversion),q}(z),T[M][j].raw=function(F){const q=function(...V){const Q=V[0];return null==Q?Q:(Q.length>1&&(V=Q),F(V))};return"conversion"in F&&(q.conversion=F.conversion),q}(z)})}),C.exports=T},802:(C,I,v)=>{const D=v(9246);function T(O,j){return function(z){return j(O(z))}}function M(O,j){const z=[j[O].parent,O];let F=D[j[O].parent][O],q=j[O].parent;for(;j[q].parent;)z.unshift(j[q].parent),F=T(D[j[q].parent][q],F),q=j[q].parent;return F.conversion=z,F}C.exports=function(O){const j=function E(O){const j=function(){const F={},q=Object.keys(D);for(let V=q.length,Q=0;Q<V;Q++)F[q[Q]]={distance:-1,parent:null};return F}(),z=[O];for(j[O].distance=0;z.length;){const F=z.pop(),q=Object.keys(D[F]);for(let V=q.length,Q=0;Q<V;Q++){const ce=q[Q],ae=j[ce];-1===ae.distance&&(ae.distance=j[F].distance+1,ae.parent=F,z.unshift(ce))}}return j}(O),z={},F=Object.keys(j);for(let q=F.length,V=0;V<q;V++){const Q=F[V];null!==j[Q].parent&&(z[Q]=M(Q,j))}return z}},6931:C=>{"use strict";C.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},4199:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck-content code{background-color:hsla(0,0%,78%,.3);border-radius:2px;padding:.15em}.ck.ck-editor__editable .ck-code_selected{background-color:hsla(0,0%,78%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-basic-styles/theme/code.css"],names:[],mappings:"AAKA,iBACC,kCAAuC,CAEvC,iBAAkB,CADlB,aAED,CAEA,0CACC,kCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content code {\n\tbackground-color: hsla(0, 0%, 78%, 0.3);\n\tpadding: .15em;\n\tborder-radius: 2px;\n}\n\n.ck.ck-editor__editable .ck-code_selected  {\n\tbackground-color: hsla(0, 0%, 78%, 0.5);\n}\n"],sourceRoot:""}]);const O=M},8708:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck-content blockquote{border-left:5px solid #ccc;font-style:italic;margin-left:0;margin-right:0;overflow:hidden;padding-left:1.5em;padding-right:1.5em}.ck-content[dir=rtl] blockquote{border-left:0;border-right:5px solid #ccc}","",{version:3,sources:["webpack://./../ckeditor5-block-quote/theme/blockquote.css"],names:[],mappings:"AAKA,uBAWC,0BAAsC,CADtC,iBAAkB,CAFlB,aAAc,CACd,cAAe,CAPf,eAAgB,CAIhB,kBAAmB,CADnB,mBAOD,CAEA,gCACC,aAAc,CACd,2BACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content blockquote {\n\t/* See #12 */\n\toverflow: hidden;\n\n\t/* https://github.com/ckeditor/ckeditor5-block-quote/issues/15 */\n\tpadding-right: 1.5em;\n\tpadding-left: 1.5em;\n\n\tmargin-left: 0;\n\tmargin-right: 0;\n\tfont-style: italic;\n\tborder-left: solid 5px hsl(0, 0%, 80%);\n}\n\n.ck-content[dir="rtl"] blockquote {\n\tborder-left: 0;\n\tborder-right: solid 5px hsl(0, 0%, 80%);\n}\n'],sourceRoot:""}]);const O=M},1866:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,':root{--ck-image-processing-highlight-color:#f9fafa;--ck-image-processing-background-color:#e3e5e8}.ck.ck-editor__editable .image.image-processing{position:relative}.ck.ck-editor__editable .image.image-processing:before{animation:ck-image-processing-animation 2s linear infinite;background:linear-gradient(90deg,var(--ck-image-processing-background-color),var(--ck-image-processing-highlight-color),var(--ck-image-processing-background-color));background-size:200% 100%;content:"";height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}.ck.ck-editor__editable .image.image-processing img{height:100%}@keyframes ck-image-processing-animation{0%{background-position:200% 0}to{background-position:-200% 0}}',"",{version:3,sources:["webpack://./../ckeditor5-ckbox/theme/ckboximageedit.css"],names:[],mappings:"AAKA,MAEC,6CAAyD,CACzD,8CACD,CAIE,gDACC,iBA2BD,CAzBC,uDAmBC,0DAA2D,CAR3D,oKAKC,CACD,yBAA0B,CAhB1B,UAAW,CAOX,WAAY,CAHZ,MAAO,CAFP,iBAAkB,CAClB,KAAM,CAKN,UAAW,CAHX,SAcD,CAEA,oDACC,WACD,CAKH,yCACC,GACC,0BACD,CACA,GACC,2BACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Based on default CKBox theme colors */\n\t--ck-image-processing-highlight-color: hsl(220, 10%, 98%);\n\t--ck-image-processing-background-color: hsl(220, 10%, 90%);\n}\n\n.ck.ck-editor__editable {\n\t& .image {\n\t\t&.image-processing {\n\t\t\tposition: relative;\n\n\t\t\t&:before {\n\t\t\t\tcontent: '';\n\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: 0;\n\t\t\t\tleft: 0;\n\t\t\t\tz-index: 1;\n\n\t\t\t\theight: 100%;\n\t\t\t\twidth: 100%;\n\n\t\t\t\tbackground: linear-gradient(\n\t\t\t\t\t90deg,\n\t\t\t\t\tvar(--ck-image-processing-background-color),\n\t\t\t\t\tvar(--ck-image-processing-highlight-color),\n\t\t\t\t\tvar(--ck-image-processing-background-color)\n\t\t\t\t);\n\t\t\t\tbackground-size: 200% 100%;\n\n\t\t\t\tanimation: ck-image-processing-animation 2s linear infinite;\n\t\t\t}\n\n\t\t\t& img {\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes ck-image-processing-animation {\n\t0% {\n\t\tbackground-position: 200% 0;\n\t}\n\t100% {\n\t\tbackground-position: -200% 0;\n\t}\n}\n"],sourceRoot:""}]);const O=M},7793:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,'.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position{display:inline;pointer-events:none;position:relative}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{position:absolute;width:0}.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__selection-handle,.ck.ck-editor__editable .ck-widget:-webkit-drag>.ck-widget__type-around{display:none}.ck.ck-clipboard-drop-target-line{pointer-events:none;position:absolute}:root{--ck-clipboard-drop-target-dot-width:12px;--ck-clipboard-drop-target-dot-height:8px;--ck-clipboard-drop-target-color:var(--ck-color-focus-border)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);bottom:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);margin-left:-1px;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5)}.ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span:after{border-color:var(--ck-clipboard-drop-target-color) transparent transparent transparent;border-style:solid;border-width:calc(var(--ck-clipboard-drop-target-dot-height)) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5);content:"";display:block;height:0;left:50%;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-height)*-.5);transform:translateX(-50%);width:0}.ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range{outline:var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color)!important}.ck.ck-editor__editable .ck-widget:-webkit-drag{zoom:.6;outline:none!important}.ck.ck-clipboard-drop-target-line{background:var(--ck-clipboard-drop-target-color);border:1px solid var(--ck-clipboard-drop-target-color);height:0;margin-top:-1px}.ck.ck-clipboard-drop-target-line:before{border-style:solid;content:"";height:0;position:absolute;top:calc(var(--ck-clipboard-drop-target-dot-width)*-.5);width:0}[dir=ltr] .ck.ck-clipboard-drop-target-line:before{border-color:transparent transparent transparent var(--ck-clipboard-drop-target-color);border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0 calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height);left:-1px}[dir=rtl] .ck.ck-clipboard-drop-target-line:before{border-color:transparent var(--ck-clipboard-drop-target-color) transparent transparent;border-width:calc(var(--ck-clipboard-drop-target-dot-width)*.5) var(--ck-clipboard-drop-target-dot-height) calc(var(--ck-clipboard-drop-target-dot-width)*.5) 0;right:-1px}',"",{version:3,sources:["webpack://./../ckeditor5-clipboard/theme/clipboard.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-clipboard/clipboard.css"],names:[],mappings:"AASC,8DACC,cAAe,CAEf,mBAAoB,CADpB,iBAOD,CAJC,mEACC,iBAAkB,CAClB,OACD,CAWA,qJACC,YACD,CAIF,kCAEC,mBAAoB,CADpB,iBAED,CC9BA,MACC,yCAA0C,CAC1C,yCAA0C,CAC1C,6DACD,CAOE,mEAIC,gDAAiD,CADjD,sDAAuD,CAFvD,2DAA8D,CAI9D,gBAAiB,CAHjB,wDAqBD,CAfC,yEAWC,sFAAuF,CAEvF,kBAAmB,CADnB,qKAA0K,CAX1K,UAAW,CAIX,aAAc,CAFd,QAAS,CAIT,QAAS,CADT,iBAAkB,CAElB,wDAA2D,CAE3D,0BAA2B,CAR3B,OAYD,CAOF,kEACC,gGACD,CAKA,gDACC,OAAS,CACT,sBACD,CAGD,kCAGC,gDAAiD,CADjD,sDAAuD,CADvD,QAAS,CAGT,eAwBD,CAtBC,yCAMC,kBAAmB,CALnB,UAAW,CAIX,QAAS,CAHT,iBAAkB,CAClB,uDAA0D,CAC1D,OAiBD,CArBA,mDAYE,sFAAuF,CADvF,+JAAoK,CAFpK,SAYF,CArBA,mDAmBE,sFAAuF,CADvF,+JAAmK,CAFnK,UAKF",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\tdisplay: inline;\n\t\tposition: relative;\n\t\tpointer-events: none;\n\n\t\t& span {\n\t\t\tposition: absolute;\n\t\t\twidth: 0;\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\t& > .ck-widget__selection-handle {\n\t\t\tdisplay: none;\n\t\t}\n\n\t\t& > .ck-widget__type-around {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\tposition: absolute;\n\tpointer-events: none;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import \"@ckeditor/ckeditor5-ui/theme/mixins/_dir.css\";\n\n:root {\n\t--ck-clipboard-drop-target-dot-width: 12px;\n\t--ck-clipboard-drop-target-dot-height: 8px;\n\t--ck-clipboard-drop-target-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Vertical drop target (in text).\n\t */\n\t& .ck.ck-clipboard-drop-target-position {\n\t\t& span {\n\t\t\tbottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\t\t\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\t\t\tbackground: var(--ck-clipboard-drop-target-color);\n\t\t\tmargin-left: -1px;\n\n\t\t\t/* The triangle above the marker */\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\twidth: 0;\n\t\t\t\theight: 0;\n\n\t\t\t\tdisplay: block;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: 50%;\n\t\t\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));\n\n\t\t\t\ttransform: translateX(-50%);\n\t\t\t\tborder-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;\n\t\t\t\tborder-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Styles of the widget that it a drop target.\n\t */\n\t& .ck-widget.ck-clipboard-drop-target-range {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;\n\t}\n\n\t/*\n\t * Styles of the widget being dragged (its preview).\n\t */\n\t& .ck-widget:-webkit-drag {\n\t\tzoom: 0.6;\n\t\toutline: none !important;\n\t}\n}\n\n.ck.ck-clipboard-drop-target-line {\n\theight: 0;\n\tborder: 1px solid var(--ck-clipboard-drop-target-color);\n\tbackground: var(--ck-clipboard-drop-target-color);\n\tmargin-top: -1px;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: absolute;\n\t\ttop: calc(-.5 * var(--ck-clipboard-drop-target-dot-width));\n\t\twidth: 0;\n\t\theight: 0;\n\t\tborder-style: solid;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tleft: -1px;\n\n\t\t\tborder-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height);\n\t\t\tborder-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tright: -1px;\n\n\t\t\tborder-width:calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0;\n\t\t\tborder-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},7388:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-toolbar{border-bottom-width:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar{border-bottom-width:1px;border-radius:0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}","",{version:3,sources:["webpack://./../ckeditor5-editor-classic/theme/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-editor-classic/classiceditor.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,cAIC,iBAMD,CAJC,2DAEC,yBACD,CCLC,gDCED,eDKC,CAPA,uICMA,qCAAsC,CDJpC,2BAA4B,CAC5B,4BAIF,CAPA,gDAMC,qBACD,CAEA,iFACC,uBAAwB,CCR1B,eDaC,CANA,yMCHA,qCAAsC,CDOpC,eAEF,CAKF,yCAEC,0CAA2C,CCpB3C,eD8BD,CAZA,yHCdE,qCAAsC,CDmBtC,wBAAyB,CACzB,yBAMF,CAHC,0DACC,wCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor {\n\t/* All the elements within `.ck-editor` are positioned relatively to it.\n\t If any element needs to be positioned with respect to the <body>, etc.,\n\t it must land outside of the `.ck-editor` in DOM. */\n\tposition: relative;\n\n\t& .ck-editor__top .ck-sticky-panel .ck-toolbar {\n\t\t/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */\n\t\tz-index: var(--ck-z-panel);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n.ck.ck-editor__top {\n\t& .ck-sticky-panel {\n\t\t& .ck-toolbar {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\n\t\t\tborder-bottom-width: 0;\n\t\t}\n\n\t\t& .ck-sticky-panel__content_sticky .ck-toolbar {\n\t\t\tborder-bottom-width: 1px;\n\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Note: Use ck-editor__main to make sure these styles don\'t apply to other editor types */\n.ck.ck-editor__main > .ck-editor__editable {\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/113 */\n\tbackground: var(--ck-color-base-background);\n\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&:not(.ck-focused) {\n\t\tborder-color: var(--ck-color-base-border);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},4098:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck .ck-placeholder,.ck.ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{content:attr(data-placeholder);left:0;pointer-events:none;position:absolute;right:0}.ck.ck-read-only .ck-placeholder:before{display:none}.ck.ck-reset_all .ck-placeholder{position:relative}.ck .ck-placeholder:before,.ck.ck-placeholder:before{color:var(--ck-color-engine-placeholder-text);cursor:text}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/placeholder.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-engine/placeholder.css"],names:[],mappings:"AAMA,uCAEC,iBAWD,CATC,qDAIC,8BAA+B,CAF/B,MAAO,CAKP,mBAAoB,CANpB,iBAAkB,CAElB,OAKD,CAKA,wCACC,YACD,CAQD,iCACC,iBACD,CC5BC,qDAEC,6CAA8C,CAD9C,WAED",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder,\n.ck .ck-placeholder {\n\tposition: relative;\n\n\t&::before {\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tcontent: attr(data-placeholder);\n\n\t\t/* See ckeditor/ckeditor5#469. */\n\t\tpointer-events: none;\n\t}\n}\n\n/* See ckeditor/ckeditor5#1987. */\n.ck.ck-read-only .ck-placeholder {\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n\n/*\n * Rules for the `ck-placeholder` are loaded before the rules for `ck-reset_all` in the base CKEditor 5 DLL build.\n * This fix overwrites the incorrectly set `position: static` from `ck-reset_all`.\n * See https://github.com/ckeditor/ckeditor5/issues/11418.\n */\n.ck.ck-reset_all .ck-placeholder {\n\tposition: relative;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* See ckeditor/ckeditor5#936. */\n.ck.ck-placeholder, .ck .ck-placeholder {\n\t&::before {\n\t\tcursor: text;\n\t\tcolor: var(--ck-color-engine-placeholder-text);\n\t}\n}\n"],sourceRoot:""}]);const O=M},8264:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-editor__editable span[data-ck-unsafe-element]{display:none}","",{version:3,sources:["webpack://./../ckeditor5-engine/theme/renderer.css"],names:[],mappings:"AAMA,qDACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Elements marked by the Renderer as hidden should be invisible in the editor. */\n.ck.ck-editor__editable span[data-ck-unsafe-element] {\n\tdisplay: none;\n}\n"],sourceRoot:""}]);const O=M},6269:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-heading_heading1{font-size:20px}.ck.ck-heading_heading2{font-size:17px}.ck.ck-heading_heading3{font-size:14px}.ck[class*=ck-heading_heading]{font-weight:700}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label{width:8em}.ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item{min-width:18em}","",{version:3,sources:["webpack://./../ckeditor5-heading/theme/heading.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-heading/heading.css"],names:[],mappings:"AAKA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,wBACC,cACD,CAEA,+BACC,eACD,CCZC,2EACC,SACD,CAEA,uEACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-heading_heading1 {\n\tfont-size: 20px;\n}\n\n.ck.ck-heading_heading2 {\n\tfont-size: 17px;\n}\n\n.ck.ck-heading_heading3 {\n\tfont-size: 14px;\n}\n\n.ck[class*="ck-heading_heading"] {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Resize dropdown's button label. */\n.ck.ck-dropdown.ck-heading-dropdown {\n\t& .ck-dropdown__button .ck-button__label {\n\t\twidth: 8em;\n\t}\n\n\t& .ck-dropdown__panel .ck-list__item {\n\t\tmin-width: 18em;\n\t}\n}\n"],sourceRoot:""}]);const O=M},265:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck-content .image{clear:both;display:table;margin:.9em auto;min-width:50px;text-align:center}.ck-content .image img{display:block;height:auto;margin:0 auto;max-width:100%;min-width:100%}.ck-content .image-inline{align-items:flex-start;display:inline-flex;max-width:100%}.ck-content .image-inline picture{display:flex}.ck-content .image-inline img,.ck-content .image-inline picture{flex-grow:1;flex-shrink:1;max-width:100%}.ck.ck-editor__editable .image>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}.ck.ck-editor__editable .image{z-index:1}.ck.ck-editor__editable .image.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline{z-index:1}.ck.ck-editor__editable .image-inline.ck-widget_selected{z-index:2}.ck.ck-editor__editable .image-inline.ck-widget_selected ::selection{display:none}.ck.ck-editor__editable .image-inline img{height:auto}.ck.ck-editor__editable td .image-inline img,.ck.ck-editor__editable th .image-inline img{max-width:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/image.css"],names:[],mappings:"AAMC,mBAEC,UAAW,CADX,aAAc,CAOd,gBAAkB,CAGlB,cAAe,CARf,iBA2BD,CAjBC,uBAEC,aAAc,CAad,WAAY,CAVZ,aAAc,CAGd,cAAe,CAGf,cAKD,CAGD,0BAYC,sBAAuB,CANvB,mBAAoB,CAGpB,cAoBD,CAdC,kCACC,YACD,CAGA,gEAGC,WAAY,CACZ,aAAc,CAGd,cACD,CAUD,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAKA,+BACC,SASD,CAHC,kDACC,SACD,CAMD,sCACC,SAkBD,CAZC,yDACC,SAUD,CAHC,qEACC,YACD,CAMF,0CACC,WACD,CAMC,0FACC,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content {\n\t& .image {\n\t\tdisplay: table;\n\t\tclear: both;\n\t\ttext-align: center;\n\n\t\t/* Make sure there is some space between the content and the image. Center image by default. */\n\t\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\t \tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\t\tmargin: 0.9em auto;\n\n\t\t/* Make sure the caption will be displayed properly (See: https://github.com/ckeditor/ckeditor5/issues/1870). */\n\t\tmin-width: 50px;\n\n\t\t& img {\n\t\t\t/* Prevent unnecessary margins caused by line-height (see #44). */\n\t\t\tdisplay: block;\n\n\t\t\t/* Center the image if its width is smaller than the content\'s width. */\n\t\t\tmargin: 0 auto;\n\n\t\t\t/* Make sure the image never exceeds the size of the parent container (ckeditor/ckeditor5-ui#67). */\n\t\t\tmax-width: 100%;\n\n\t\t\t/* Make sure the image is never smaller than the parent container (See: https://github.com/ckeditor/ckeditor5/issues/9300). */\n\t\t\tmin-width: 100%;\n\n\t\t\t/* Keep proportions of the block image if the height is set and the image is wider than the editor width.\n\t\t\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t\t\theight: auto;\n\t\t}\n\t}\n\n\t& .image-inline {\n\t\t/*\n\t\t * Normally, the .image-inline would have "display: inline-block" and "img { width: 100% }" (to follow the wrapper while resizing).\n\t\t * Unfortunately, together with "srcset", it gets automatically stretched up to the width of the editing root.\n\t\t * This strange behavior does not happen with inline-flex.\n\t\t */\n\t\tdisplay: inline-flex;\n\n\t\t/* While being resized, don\'t allow the image to exceed the width of the editing root. */\n\t\tmax-width: 100%;\n\n\t\t/* This is required by Safari to resize images in a sensible way. Without this, the browser breaks the ratio. */\n\t\talign-items: flex-start;\n\n\t\t/* When the picture is present it must act as a flex container to let the img resize properly */\n\t\t& picture {\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t/* When the picture is present, it must act like a resizable img. */\n\t\t& picture,\n\t\t& img {\n\t\t\t/* This is necessary for the img to span the entire .image-inline wrapper and to resize properly. */\n\t\t\tflex-grow: 1;\n\t\t\tflex-shrink: 1;\n\n\t\t\t/* Prevents overflowing the editing root boundaries when an inline image is very wide. */\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/*\n\t * Inhertit the content styles padding of the <figcaption> in case the integration overrides `text-align: center`\n\t * of `.image` (e.g. to the left/right). This ensures the placeholder stays at the padding just like the native\n\t * caret does, and not at the edge of <figcaption>.\n\t */\n\t& .image > figcaption.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the image caption placeholder doesn\'t overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n\n\t/*\n\t * See https://github.com/ckeditor/ckeditor5/issues/15115.\n\t */\n\t& .image {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the selected image always stays on top of its siblings.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t\t */\n\t\t&.ck-widget_selected {\n\t\t\tz-index: 2;\n\t\t}\n\t}\n\n\t/*\n\t * See https://github.com/ckeditor/ckeditor5/issues/15115.\n\t */\n\t& .image-inline {\n\t\tz-index: 1;\n\n\t\t/*\n\t\t * Make sure the selected inline image always stays on top of its siblings.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9108.\n\t\t */\n\t\t&.ck-widget_selected {\n\t\t\tz-index: 2;\n\n\t\t\t/*\n\t\t\t * Make sure the native browser selection style is not displayed.\n\t\t\t * Inline image widgets have their own styles for the selected state and\n\t\t\t * leaving this up to the browser is asking for a visual collision.\n\t\t\t */\n\t\t\t& ::selection {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Keep proportions of the inline image if the height is set and the image is wider than the editor width.\n\tSee https://github.com/ckeditor/ckeditor5/issues/14542. */\n\t& .image-inline img {\n\t\theight: auto;\n\t}\n\n\t/* The inline image nested in the table should have its original size if not resized.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline img {\n\t\t\tmax-width: none;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const O=M},5247:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-color-image-caption-background:#f7f7f7;--ck-color-image-caption-text:#333;--ck-color-image-caption-highligted-background:#fd0}.ck-content .image>figcaption{background-color:var(--ck-color-image-caption-background);caption-side:bottom;color:var(--ck-color-image-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;word-break:break-word}.ck.ck-editor__editable .image>figcaption.image__caption_highlighted{animation:ck-image-caption-highlight .6s ease-out}@keyframes ck-image-caption-highlight{0%{background-color:var(--ck-color-image-caption-highligted-background)}to{background-color:var(--ck-color-image-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagecaption.css"],names:[],mappings:"AAKA,MACC,2CAAoD,CACpD,kCAA8C,CAC9C,mDACD,CAGA,8BAKC,yDAA0D,CAH1D,mBAAoB,CAEpB,wCAAyC,CAHzC,qBAAsB,CAMtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,qBAMD,CAGA,qEACC,iDACD,CAEA,sCACC,GACC,oEACD,CAEA,GACC,yDACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-image-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-image-caption-highligted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .image > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: bottom;\n\tword-break: break-word;\n\tcolor: var(--ck-color-image-caption-text);\n\tbackground-color: var(--ck-color-image-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .image > figcaption.image__caption_highlighted {\n\tanimation: ck-image-caption-highlight .6s ease-out;\n}\n\n@keyframes ck-image-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-image-caption-highligted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-image-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const O=M},3350:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-image-insert-url .ck-image-insert-url__action-row{display:grid;grid-template-columns:repeat(2,1fr)}:root{--ck-image-insert-insert-by-url-width:250px}.ck.ck-image-insert-url{--ck-input-width:100%}.ck.ck-image-insert-url .ck-image-insert-url__action-row{grid-column-gap:var(--ck-spacing-large);margin-top:var(--ck-spacing-large)}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-cancel,.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button-save{justify-content:center;min-width:auto}.ck.ck-image-insert-url .ck-image-insert-url__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}.ck.ck-image-insert-form>.ck.ck-button{display:block;padding:var(--ck-list-button-padding);width:100%}[dir=ltr] .ck.ck-image-insert-form>.ck.ck-button{text-align:left}[dir=rtl] .ck.ck-image-insert-form>.ck.ck-button{text-align:right}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:first-child){border-top:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible:not(:last-child){border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-image-insert-form>.ck.ck-collapsible,.ck.ck-image-insert-form>.ck.ck-image-insert-url{min-width:var(--ck-image-insert-insert-by-url-width)}.ck.ck-image-insert-form>.ck.ck-image-insert-url{padding:var(--ck-spacing-large)}.ck.ck-image-insert-form:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageinsert.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageinsert.css"],names:[],mappings:"AAMC,yDACC,YAAa,CACb,mCACD,CCFD,MACC,2CACD,CAEA,wBACC,qBAgBD,CAdC,yDACC,uCAAwC,CACxC,kCAWD,CATC,oJAEC,sBAAuB,CACvB,cACD,CAEA,sFACC,0BACD,CAKD,uCACC,aAAc,CAEd,qCAAsC,CADtC,UAUD,CAZA,iDAME,eAMF,CAZA,iDAUE,gBAEF,CAGC,8DACC,gDACD,CAEA,6DACC,mDACD,CAMD,6FAJC,oDAOD,CAHA,iDAEC,+BACD,CAEA,+BACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-image-insert-url {\n\t& .ck-image-insert-url__action-row {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: repeat(2, 1fr);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-image-insert-insert-by-url-width: 250px;\n}\n\n.ck.ck-image-insert-url {\n\t--ck-input-width: 100%;\n\n\t& .ck-image-insert-url__action-row {\n\t\tgrid-column-gap: var(--ck-spacing-large);\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t\tmin-width: auto;\n\t\t}\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n\n.ck.ck-image-insert-form {\n\t& > .ck.ck-button {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\tpadding: var(--ck-list-button-padding);\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& > .ck.ck-collapsible {\n\t\t&:not(:first-child) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t&:not(:last-child) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t}\n\n\t/* This is the case when there are no other integrations configured than insert by URL */\n\t& > .ck.ck-image-insert-url {\n\t\tmin-width: var(--ck-image-insert-insert-by-url-width);\n\t\tpadding: var(--ck-spacing-large);\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n'],sourceRoot:""}]);const O=M},7378:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-editor__editable img.image_placeholder{background-size:100% 100%}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageplaceholder.css"],names:[],mappings:"AAMC,8CACC,yBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& img.image_placeholder {\n\t\tbackground-size: 100% 100%;\n\t}\n}\n"],sourceRoot:""}]);const O=M},3469:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck-content img.image_resized{height:auto}.ck-content .image.image_resized{box-sizing:border-box;display:block;max-width:100%}.ck-content .image.image_resized img{width:100%}.ck-content .image.image_resized>figcaption{display:block}.ck.ck-editor__editable td .image-inline.image_resized img,.ck.ck-editor__editable th .image-inline.image_resized img{max-width:100%}[dir=ltr] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon{margin-left:var(--ck-spacing-standard)}.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label{width:4em}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageresize.css"],names:[],mappings:"AAMA,8BACC,WACD,CAEA,iCAQC,qBAAsB,CADtB,aAAc,CANd,cAkBD,CATC,qCAEC,UACD,CAEA,4CAEC,aACD,CAQC,sHACC,cACD,CAIF,oFACC,uCACD,CAEA,oFACC,sCACD,CAEA,oEACC,SACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Preserve aspect ratio of the resized image after introducing image height attribute. */\n.ck-content img.image_resized {\n\theight: auto;\n}\n\n.ck-content .image.image_resized {\n\tmax-width: 100%;\n\t/*\n\tThe `<figure>` element for resized images must not use `display:table` as browsers do not support `max-width` for it well.\n\tSee https://stackoverflow.com/questions/4019604/chrome-safari-ignoring-max-width-in-table/14420691#14420691 for more.\n\tFortunately, since we control the width, there is no risk that the image will look bad.\n\t*/\n\tdisplay: block;\n\tbox-sizing: border-box;\n\n\t& img {\n\t\t/* For resized images it is the `<figure>` element that determines the image width. */\n\t\twidth: 100%;\n\t}\n\n\t& > figcaption {\n\t\t/* The `<figure>` element uses `display:block`, so `<figcaption>` also has to. */\n\t\tdisplay: block;\n\t}\n}\n\n.ck.ck-editor__editable {\n\t/* The resized inline image nested in the table should respect its parent size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9117. */\n\t& td,\n\t& th {\n\t\t& .image-inline.image_resized img {\n\t\t\tmax-width: 100%;\n\t\t}\n\t}\n}\n\n[dir="ltr"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-right: var(--ck-spacing-standard);\n}\n\n[dir="rtl"] .ck.ck-button.ck-button_with-text.ck-resize-image-button .ck-button__icon {\n\tmargin-left: var(--ck-spacing-standard);\n}\n\n.ck.ck-dropdown .ck-button.ck-resize-image-button .ck-button__label {\n\twidth: 4em;\n}\n'],sourceRoot:""}]);const O=M},6386:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-image-style-spacing:1.5em;--ck-inline-image-style-spacing:calc(var(--ck-image-style-spacing)/2)}.ck-content .image-style-block-align-left,.ck-content .image-style-block-align-right{max-width:calc(100% - var(--ck-image-style-spacing))}.ck-content .image-style-align-left,.ck-content .image-style-align-right{clear:none}.ck-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing);max-width:50%}.ck-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.ck-content .image-style-align-center{margin-left:auto;margin-right:auto}.ck-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.ck-content .image-style-block-align-right{margin-left:auto;margin-right:0}.ck-content .image-style-block-align-left{margin-left:0;margin-right:auto}.ck-content p+.image-style-align-left,.ck-content p+.image-style-align-right,.ck-content p+.image-style-side{margin-top:0}.ck-content .image-inline.image-style-align-left,.ck-content .image-inline.image-style-align-right{margin-bottom:var(--ck-inline-image-style-spacing);margin-top:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-left{margin-right:var(--ck-inline-image-style-spacing)}.ck-content .image-inline.image-style-align-right{margin-left:var(--ck-inline-image-style-spacing)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-background)}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__action:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton.ck-splitbutton_flatten:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover):after{display:none}.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__action:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled),.ck.ck-splitbutton.ck-splitbutton_flatten.ck-splitbutton_open:hover>.ck-splitbutton__arrow:not(.ck-disabled):not(:hover){background-color:var(--ck-color-button-on-hover-background)}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imagestyle.css"],names:[],mappings:"AAKA,MACC,8BAA+B,CAC/B,qEACD,CAMC,qFAEC,oDACD,CAIA,yEAEC,UACD,CAEA,8BACC,WAAY,CACZ,yCAA0C,CAC1C,aACD,CAEA,oCACC,UAAW,CACX,0CACD,CAEA,sCACC,gBAAiB,CACjB,iBACD,CAEA,qCACC,WAAY,CACZ,yCACD,CAEA,2CAEC,gBAAiB,CADjB,cAED,CAEA,0CACC,aAAc,CACd,iBACD,CAGA,6GAGC,YACD,CAGC,mGAGC,kDAAmD,CADnD,+CAED,CAEA,iDACC,iDACD,CAEA,kDACC,gDACD,CAUC,0lBAGC,qDAKD,CAHC,8nBACC,YACD,CAKD,oVAGC,2DACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-image-style-spacing: 1.5em;\n\t--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);\n}\n\n.ck-content {\n\t/* Provides a minimal side margin for the left and right aligned images, so that the user has a visual feedback\n\tconfirming successful application of the style if image width exceeds the editor's size.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9342 */\n\t& .image-style-block-align-left,\n\t& .image-style-block-align-right {\n\t\tmax-width: calc(100% - var(--ck-image-style-spacing));\n\t}\n\n\t/* Allows displaying multiple floating images in the same line.\n\tSee https://github.com/ckeditor/ckeditor5/issues/9183#issuecomment-804988132 */\n\t& .image-style-align-left,\n\t& .image-style-align-right {\n\t\tclear: none;\n\t}\n\n\t& .image-style-side {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t\tmax-width: 50%;\n\t}\n\n\t& .image-style-align-left {\n\t\tfloat: left;\n\t\tmargin-right: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-align-center {\n\t\tmargin-left: auto;\n\t\tmargin-right: auto;\n\t}\n\n\t& .image-style-align-right {\n\t\tfloat: right;\n\t\tmargin-left: var(--ck-image-style-spacing);\n\t}\n\n\t& .image-style-block-align-right {\n\t\tmargin-right: 0;\n\t\tmargin-left: auto;\n\t}\n\n\t& .image-style-block-align-left {\n\t\tmargin-left: 0;\n\t\tmargin-right: auto;\n\t}\n\n\t/* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */\n\t& p + .image-style-align-left,\n\t& p + .image-style-align-right,\n\t& p + .image-style-side {\n\t\tmargin-top: 0;\n\t}\n\n\t& .image-inline {\n\t\t&.image-style-align-left,\n\t\t&.image-style-align-right {\n\t\t\tmargin-top: var(--ck-inline-image-style-spacing);\n\t\t\tmargin-bottom: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-left {\n\t\t\tmargin-right: var(--ck-inline-image-style-spacing);\n\t\t}\n\n\t\t&.image-style-align-right {\n\t\t\tmargin-left: var(--ck-inline-image-style-spacing);\n\t\t}\n\t}\n}\n\n.ck.ck-splitbutton {\n\t/* The button should display as a regular drop-down if the action button\n\tis forced to fire the same action as the arrow button. */\n\t&.ck-splitbutton_flatten {\n\t\t&:hover,\n\t\t&.ck-splitbutton_open {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-background);\n\n\t\t\t\t&::after {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-splitbutton_open:hover {\n\t\t\t& > .ck-splitbutton__action:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled),\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled):not(:hover) {\n\t\t\t\tbackground-color: var(--ck-color-button-on-hover-background);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},7693:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,'.ck-image-upload-complete-icon{border-radius:50%;display:block;position:absolute;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);z-index:1}.ck-image-upload-complete-icon:after{content:"";position:absolute}:root{--ck-color-image-upload-icon:#fff;--ck-color-image-upload-icon-background:#008a00;--ck-image-upload-icon-size:20;--ck-image-upload-icon-width:2px;--ck-image-upload-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck-image-upload-complete-icon{animation-delay:0ms,3s;animation-duration:.5s,.5s;animation-fill-mode:forwards,forwards;animation-name:ck-upload-complete-icon-show,ck-upload-complete-icon-hide;background:var(--ck-color-image-upload-icon-background);font-size:calc(1px*var(--ck-image-upload-icon-size));height:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size));opacity:0;overflow:hidden;width:calc(var(--ck-image-upload-icon-is-visible)*var(--ck-image-upload-icon-size))}.ck-image-upload-complete-icon:after{animation-delay:.5s;animation-duration:.5s;animation-fill-mode:forwards;animation-name:ck-upload-complete-icon-check;border-right:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);border-top:var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);box-sizing:border-box;height:0;left:25%;opacity:0;top:50%;transform:scaleX(-1) rotate(135deg);transform-origin:left top;width:0}@keyframes ck-upload-complete-icon-show{0%{opacity:0}to{opacity:1}}@keyframes ck-upload-complete-icon-hide{0%{opacity:1}to{opacity:0}}@keyframes ck-upload-complete-icon-check{0%{height:0;opacity:1;width:0}33%{height:0;width:.3em}to{height:.45em;opacity:1;width:.3em}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadicon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadicon.css"],names:[],mappings:"AAKA,+BAUC,iBAAkB,CATlB,aAAc,CACd,iBAAkB,CAOlB,sCAAwC,CADxC,oCAAsC,CAGtC,SAMD,CAJC,qCACC,UAAW,CACX,iBACD,CChBD,MACC,iCAA8C,CAC9C,+CAA4D,CAG5D,8BAA+B,CAC/B,gCAAiC,CACjC,4DACD,CAEA,+BAWC,sBAA4B,CAN5B,0BAAgC,CADhC,qCAAuC,CADvC,wEAA0E,CAD1E,uDAAwD,CAMxD,oDAAuD,CAWvD,oFAAuF,CAlBvF,SAAU,CAgBV,eAAgB,CAChB,mFA0BD,CAtBC,qCAgBC,mBAAsB,CADtB,sBAAyB,CAEzB,4BAA6B,CAH7B,4CAA6C,CAF7C,sFAAuF,CADvF,oFAAqF,CASrF,qBAAsB,CAdtB,QAAS,CAJT,QAAS,CAGT,SAAU,CADV,OAAQ,CAKR,mCAAoC,CACpC,yBAA0B,CAH1B,OAcD,CAGD,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,wCACC,GACC,SACD,CAEA,GACC,SACD,CACD,CAEA,yCACC,GAGC,QAAS,CAFT,SAAU,CACV,OAED,CACA,IAEC,QAAS,CADT,UAED,CACA,GAGC,YAAc,CAFd,SAAU,CACV,UAED,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-image-upload-complete-icon {\n\tdisplay: block;\n\tposition: absolute;\n\n\t/*\n\t * Smaller images should have the icon closer to the border.\n\t * Match the icon position with the linked image indicator brought by the link image feature.\n\t */\n\ttop: min(var(--ck-spacing-medium), 6%);\n\tright: min(var(--ck-spacing-medium), 6%);\n\tborder-radius: 50%;\n\tz-index: 1;\n\n\t&::after {\n\t\tcontent: "";\n\t\tposition: absolute;\n\t}\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-image-upload-icon: hsl(0, 0%, 100%);\n\t--ck-color-image-upload-icon-background: hsl(120, 100%, 27%);\n\n\t/* Match the icon size with the linked image indicator brought by the link image feature. */\n\t--ck-image-upload-icon-size: 20;\n\t--ck-image-upload-icon-width: 2px;\n\t--ck-image-upload-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck-image-upload-complete-icon {\n\topacity: 0;\n\tbackground: var(--ck-color-image-upload-icon-background);\n\tanimation-name: ck-upload-complete-icon-show, ck-upload-complete-icon-hide;\n\tanimation-fill-mode: forwards, forwards;\n\tanimation-duration: 500ms, 500ms;\n\n\t/* To make animation scalable. */\n\tfont-size: calc(1px * var(--ck-image-upload-icon-size));\n\n\t/* Hide completed upload icon after 3 seconds. */\n\tanimation-delay: 0ms, 3000ms;\n\n\t/*\n\t * Use CSS math to simulate container queries.\n\t * https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t */\n\toverflow: hidden;\n\twidth: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\theight: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));\n\n\t/* This is check icon element made from border-width mixed with animations. */\n\t&::after {\n\t\t/* Because of border transformation we need to "hard code" left position. */\n\t\tleft: 25%;\n\n\t\ttop: 50%;\n\t\topacity: 0;\n\t\theight: 0;\n\t\twidth: 0;\n\n\t\ttransform: scaleX(-1) rotate(135deg);\n\t\ttransform-origin: left top;\n\t\tborder-top: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\t\tborder-right: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);\n\n\t\tanimation-name: ck-upload-complete-icon-check;\n\t\tanimation-duration: 500ms;\n\t\tanimation-delay: 500ms;\n\t\tanimation-fill-mode: forwards;\n\n\t\t/* #1095. While reset is not providing proper box-sizing for pseudoelements, we need to handle it. */\n\t\tbox-sizing: border-box;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-show {\n\tfrom {\n\t\topacity: 0;\n\t}\n\n\tto {\n\t\topacity: 1;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-hide {\n\tfrom {\n\t\topacity: 1;\n\t}\n\n\tto {\n\t\topacity: 0;\n\t}\n}\n\n@keyframes ck-upload-complete-icon-check {\n\t0% {\n\t\topacity: 1;\n\t\twidth: 0;\n\t\theight: 0;\n\t}\n\t33% {\n\t\twidth: 0.3em;\n\t\theight: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t\twidth: 0.3em;\n\t\theight: 0.45em;\n\t}\n}\n'],sourceRoot:""}]);const O=M},1559:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,'.ck .ck-upload-placeholder-loader{align-items:center;display:flex;justify-content:center;left:0;position:absolute;top:0}.ck .ck-upload-placeholder-loader:before{content:"";position:relative}:root{--ck-color-upload-placeholder-loader:#b3b3b3;--ck-upload-placeholder-loader-size:32px;--ck-upload-placeholder-image-aspect-ratio:2.8}.ck .ck-image-upload-placeholder{margin:0;width:100%}.ck .ck-image-upload-placeholder.image-inline{width:calc(var(--ck-upload-placeholder-loader-size)*2*var(--ck-upload-placeholder-image-aspect-ratio))}.ck .ck-image-upload-placeholder img{aspect-ratio:var(--ck-upload-placeholder-image-aspect-ratio)}.ck .ck-upload-placeholder-loader{height:100%;width:100%}.ck .ck-upload-placeholder-loader:before{animation:ck-upload-placeholder-loader 1s linear infinite;border-radius:50%;border-right:2px solid transparent;border-top:3px solid var(--ck-color-upload-placeholder-loader);height:var(--ck-upload-placeholder-loader-size);width:var(--ck-upload-placeholder-loader-size)}@keyframes ck-upload-placeholder-loader{to{transform:rotate(1turn)}}',"",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadloader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadloader.css"],names:[],mappings:"AAKA,kCAGC,kBAAmB,CADnB,YAAa,CAEb,sBAAuB,CAEvB,MAAO,CALP,iBAAkB,CAIlB,KAOD,CAJC,yCACC,UAAW,CACX,iBACD,CCXD,MACC,4CAAqD,CACrD,wCAAyC,CACzC,8CACD,CAEA,iCAGC,QAAS,CADT,UAgBD,CAbC,8CACC,sGACD,CAEA,qCAOC,4DACD,CAGD,kCAEC,WAAY,CADZ,UAWD,CARC,yCAMC,yDAA0D,CAH1D,iBAAkB,CAElB,kCAAmC,CADnC,8DAA+D,CAF/D,+CAAgD,CADhD,8CAMD,CAGD,wCACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-upload-placeholder-loader {\n\tposition: absolute;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\ttop: 0;\n\tleft: 0;\n\n\t&::before {\n\t\tcontent: '';\n\t\tposition: relative;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-upload-placeholder-loader: hsl(0, 0%, 70%);\n\t--ck-upload-placeholder-loader-size: 32px;\n\t--ck-upload-placeholder-image-aspect-ratio: 2.8;\n}\n\n.ck .ck-image-upload-placeholder {\n\t/* We need to control the full width of the SVG gray background. */\n\twidth: 100%;\n\tmargin: 0;\n\n\t&.image-inline {\n\t\twidth: calc( 2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio) );\n\t}\n\n\t& img {\n\t\t/*\n\t\t * This is an arbitrary aspect for a 1x1 px GIF to display to the user. Not too tall, not too short.\n\t\t * There's nothing special about this number except that it should make the image placeholder look like\n\t\t * a real image during this short period after the upload started and before the image was read from the\n\t\t * file system (and a rich preview was loaded).\n\t\t */\n\t\taspect-ratio: var(--ck-upload-placeholder-image-aspect-ratio);\n\t}\n}\n\n.ck .ck-upload-placeholder-loader {\n\twidth: 100%;\n\theight: 100%;\n\n\t&::before {\n\t\twidth: var(--ck-upload-placeholder-loader-size);\n\t\theight: var(--ck-upload-placeholder-loader-size);\n\t\tborder-radius: 50%;\n\t\tborder-top: 3px solid var(--ck-color-upload-placeholder-loader);\n\t\tborder-right: 2px solid transparent;\n\t\tanimation: ck-upload-placeholder-loader 1s linear infinite;\n\t}\n}\n\n@keyframes ck-upload-placeholder-loader {\n\tto {\n\t\ttransform: rotate( 360deg );\n\t}\n}\n"],sourceRoot:""}]);const O=M},2267:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-editor__editable .image,.ck.ck-editor__editable .image-inline{position:relative}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{left:0;position:absolute;top:0}.ck.ck-editor__editable .image-inline.ck-appear,.ck.ck-editor__editable .image.ck-appear{animation:fadeIn .7s}.ck.ck-editor__editable .image .ck-progress-bar,.ck.ck-editor__editable .image-inline .ck-progress-bar{background:var(--ck-color-upload-bar-background);height:2px;transition:width .1s;width:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/imageuploadprogress.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-image/imageuploadprogress.css"],names:[],mappings:"AAMC,qEAEC,iBACD,CAGA,uGAIC,MAAO,CAFP,iBAAkB,CAClB,KAED,CCRC,yFACC,oBACD,CAID,uGAIC,gDAAiD,CAFjD,UAAW,CAGX,oBAAuB,CAFvB,OAGD,CAGD,kBACC,GAAO,SAAY,CACnB,GAAO,SAAY,CACpB",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\tposition: relative;\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t& .image,\n\t& .image-inline {\n\t\t/* Showing animation. */\n\t\t&.ck-appear {\n\t\t\tanimation: fadeIn 700ms;\n\t\t}\n\t}\n\n\t/* Upload progress bar. */\n\t& .image .ck-progress-bar,\n\t& .image-inline .ck-progress-bar {\n\t\theight: 2px;\n\t\twidth: 0;\n\t\tbackground: var(--ck-color-upload-bar-background);\n\t\ttransition: width 100ms;\n\t}\n}\n\n@keyframes fadeIn {\n\tfrom { opacity: 0; }\n\tto   { opacity: 1; }\n}\n"],sourceRoot:""}]);const O=M},4062:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-text-alternative-form{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-text-alternative-form .ck-labeled-field-view{display:inline-block}.ck.ck-text-alternative-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-text-alternative-form{flex-wrap:wrap}.ck.ck-text-alternative-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-text-alternative-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-image/theme/textalternativeform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,6BACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,oDACC,oBACD,CAEA,uCACC,YACD,CCZA,oCDCD,6BAcE,cAUF,CARE,oDACC,eACD,CAEA,wCACC,cACD,CCrBD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-text-alternative-form {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},7719:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck .ck-link_selected{background:var(--ck-color-link-selected-background)}.ck .ck-link_selected span.image-inline{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background)}.ck .ck-fake-link-selection{background:var(--ck-color-link-fake-selection)}.ck .ck-fake-link-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/link.css"],names:[],mappings:"AAMA,sBACC,mDAMD,CAHC,wCACC,yFACD,CAOD,4BACC,8CACD,CAGA,sCAEC,gDAAiD,CADjD,WAAY,CAEZ,iBAAkB,CAClB,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/* Class added to span element surrounding currently selected link. */\n.ck .ck-link_selected {\n\tbackground: var(--ck-color-link-selected-background);\n\n\t/* Give linked inline images some outline to let the user know they are also part of the link. */\n\t& span.image-inline {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background);\n\t}\n}\n\n/*\n * Classes used by the "fake visual selection" displayed in the content when an input\n * in the link UI has focus (the browser does not render the native selection in this state).\n */\n.ck .ck-fake-link-selection {\n\tbackground: var(--ck-color-link-fake-selection);\n}\n\n/* A collapsed fake visual selection. */\n.ck .ck-fake-link-selection_collapsed {\n\theight: 100%;\n\tborder-right: 1px solid var(--ck-color-base-text);\n\tmargin-right: -1px;\n\toutline: solid 1px hsla(0, 0%, 100%, .5);\n}\n'],sourceRoot:""}]);const O=M},8762:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-link-actions{display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-link-actions .ck-link-actions__preview{display:inline-block}.ck.ck-link-actions .ck-link-actions__preview .ck-button__label{overflow:hidden}@media screen and (max-width:600px){.ck.ck-link-actions{flex-wrap:wrap}.ck.ck-link-actions .ck-link-actions__preview{flex-basis:100%}.ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){flex-basis:50%}}.ck.ck-link-actions .ck-button.ck-link-actions__preview{padding-left:0;padding-right:0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{color:var(--ck-color-link-default);cursor:pointer;max-width:var(--ck-input-width);min-width:3em;padding:0 var(--ck-spacing-medium);text-align:center;text-overflow:ellipsis}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover{text-decoration:underline}.ck.ck-link-actions .ck-button.ck-link-actions__preview,.ck.ck-link-actions .ck-button.ck-link-actions__preview:active,.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,.ck.ck-link-actions .ck-button.ck-link-actions__preview:hover{background:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:active{box-shadow:none}.ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label{text-decoration:underline}[dir=ltr] .ck.ck-link-actions .ck-button:not(:first-child),[dir=rtl] .ck.ck-link-actions .ck-button:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-link-actions .ck-button.ck-link-actions__preview{margin:var(--ck-spacing-standard) var(--ck-spacing-standard) 0}.ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label{max-width:100%;min-width:0}[dir=ltr] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview),[dir=rtl] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview){margin-left:0}}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkactions.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkactions.css"],names:[],mappings:"AAOA,oBACC,YAAa,CACb,kBAAmB,CACnB,gBAqBD,CAnBC,8CACC,oBAKD,CAHC,gEACC,eACD,CCXD,oCDCD,oBAcE,cAUF,CARE,8CACC,eACD,CAEA,8DACC,cACD,CCrBD,CCIA,wDACC,cAAe,CACf,eAmCD,CAjCC,0EAEC,kCAAmC,CAEnC,cAAe,CAIf,+BAAgC,CAChC,aAAc,CARd,kCAAmC,CASnC,iBAAkB,CAPlB,sBAYD,CAHC,gFACC,yBACD,CAGD,mPAIC,eACD,CAEA,+DACC,eACD,CAGC,gFACC,yBACD,CAWD,qHACC,sCACD,CDtDD,oCC0DC,wDACC,8DAMD,CAJC,0EAEC,cAAe,CADf,WAED,CAGD,gJAME,aAEF,CDzED",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-link-actions__preview {\n\t\tdisplay: inline-block;\n\n\t\t& .ck-button__label {\n\t\t\toverflow: hidden;\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-link-actions__preview {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-actions {\n\t& .ck-button.ck-link-actions__preview {\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\n\t\t& .ck-button__label {\n\t\t\tpadding: 0 var(--ck-spacing-medium);\n\t\t\tcolor: var(--ck-color-link-default);\n\t\t\ttext-overflow: ellipsis;\n\t\t\tcursor: pointer;\n\n\t\t\t/* Match the box model of the link editor form\'s input so the balloon\n\t\t\tdoes not change width when moving between actions and the form. */\n\t\t\tmax-width: var(--ck-input-width);\n\t\t\tmin-width: 3em;\n\t\t\ttext-align: center;\n\n\t\t\t&:hover {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\n\t\t&,\n\t\t&:hover,\n\t\t&:focus,\n\t\t&:active {\n\t\t\tbackground: none;\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&:focus {\n\t\t\t& .ck-button__label {\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-button:not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-button:not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\t& .ck-button.ck-link-actions__preview {\n\t\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;\n\n\t\t\t& .ck-button__label {\n\t\t\t\tmin-width: 0;\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-button:not(.ck-link-actions__preview) {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const O=M},3817:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-link-form{display:flex}.ck.ck-link-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-link-form{flex-wrap:wrap}.ck.ck-link-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-link-form .ck-button{flex-basis:50%}}.ck.ck-link-form_layout-vertical{display:block}.ck.ck-link-form_layout-vertical .ck-button.ck-button-cancel,.ck.ck-link-form_layout-vertical .ck-button.ck-button-save{margin-top:var(--ck-spacing-medium)}.ck.ck-link-form_layout-vertical{min-width:var(--ck-input-width);padding:0}.ck.ck-link-form_layout-vertical .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small)}.ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-link-form_layout-vertical>.ck-button{border-radius:0;margin:0;padding:var(--ck-spacing-standard);width:50%}.ck.ck-link-form_layout-vertical>.ck-button:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-link-form_layout-vertical>.ck-button,[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button{margin-left:0}[dir=rtl] .ck.ck-link-form_layout-vertical>.ck-button:last-of-type{border-right:1px solid var(--ck-color-base-border)}.ck.ck-link-form_layout-vertical .ck.ck-list{margin:var(--ck-spacing-standard) var(--ck-spacing-large)}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{padding:0;width:100%}.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover{background:none}","",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkform.css"],names:[],mappings:"AAOA,iBACC,YAiBD,CAfC,2BACC,YACD,CCNA,oCDCD,iBAQE,cAUF,CARE,wCACC,eACD,CAEA,4BACC,cACD,CCfD,CDuBD,iCACC,aAYD,CALE,wHAEC,mCACD,CE/BF,iCAEC,+BAAgC,CADhC,SAgDD,CA7CC,wDACC,8EAMD,CAJC,uEACC,WAAY,CACZ,UACD,CAGD,4CAIC,eAAgB,CAFhB,QAAS,CADT,kCAAmC,CAEnC,SAkBD,CAfC,wDACC,gDACD,CARD,4GAeE,aAMF,CAJE,mEACC,kDACD,CAKF,6CACC,yDAUD,CARC,wEACC,SAAU,CACV,UAKD,CAHC,8EACC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-link-form {\n\tdisplay: flex;\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tdisplay: block;\n\n\t/*\n\t * Whether the form is in the responsive mode or not, if there are decorator buttons\n\t * keep the top margin of action buttons medium.\n\t */\n\t& .ck-button {\n\t\t&.ck-button-save,\n\t\t&.ck-button-cancel {\n\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/*\n * Style link form differently when manual decorators are available.\n * See: https://github.com/ckeditor/ckeditor5-link/issues/186.\n */\n.ck.ck-link-form_layout-vertical {\n\tpadding: 0;\n\tmin-width: var(--ck-input-width);\n\n\t& .ck-labeled-field-view {\n\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);\n\n\t\t& .ck-input-text {\n\t\t\tmin-width: 0;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n\n\t& > .ck-button {\n\t\tpadding: var(--ck-spacing-standard);\n\t\tmargin: 0;\n\t\twidth: 50%;\n\t\tborder-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: 0;\n\n\t\t\t&:last-of-type {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */\n\t& .ck.ck-list {\n\t\tmargin: var(--ck-spacing-standard) var(--ck-spacing-large);\n\n\t\t& .ck-button.ck-switchbutton {\n\t\t\tpadding: 0;\n\t\t\twidth: 100%;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: none;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const O=M},4808:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,'.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{display:block;position:absolute}:root{--ck-link-image-indicator-icon-size:20;--ck-link-image-indicator-icon-is-visible:clamp(0px,100% - 50px,1px)}.ck.ck-editor__editable a span.image-inline:after,.ck.ck-editor__editable figure.image>a:after{background-color:rgba(0,0,0,.4);background-image:url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");background-position:50%;background-repeat:no-repeat;background-size:14px;border-radius:100%;content:"";height:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size));overflow:hidden;right:min(var(--ck-spacing-medium),6%);top:min(var(--ck-spacing-medium),6%);width:calc(var(--ck-link-image-indicator-icon-is-visible)*var(--ck-link-image-indicator-icon-size))}',"",{version:3,sources:["webpack://./../ckeditor5-link/theme/linkimage.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-link/linkimage.css"],names:[],mappings:"AASE,+FACC,aAAc,CACd,iBACD,CCPF,MAEC,sCAAuC,CACvC,oEACD,CAME,+FAUC,+BAAqC,CACrC,83BAA+3B,CAG/3B,uBAA2B,CAD3B,2BAA4B,CAD5B,oBAAqB,CAGrB,kBAAmB,CAdnB,UAAW,CAsBX,oGAAuG,CAFvG,eAAgB,CAbhB,sCAAwC,CADxC,oCAAsC,CAetC,mGAED",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Match the icon size with the upload indicator brought by the image upload feature. */\n\t--ck-link-image-indicator-icon-size: 20;\n\t--ck-link-image-indicator-icon-is-visible: clamp(0px, 100% - 50px, 1px);\n}\n\n.ck.ck-editor__editable {\n\t/* Linked image indicator */\n\t& figure.image > a,\n\t& a span.image-inline {\n\t\t&::after {\n\t\t\tcontent: "";\n\n\t\t\t/*\n\t\t\t * Smaller images should have the icon closer to the border.\n\t\t\t * Match the icon position with the upload indicator brought by the image upload feature.\n\t\t\t */\n\t\t\ttop: min(var(--ck-spacing-medium), 6%);\n\t\t\tright: min(var(--ck-spacing-medium), 6%);\n\n\t\t\tbackground-color: hsla(0, 0%, 0%, .4);\n\t\t\tbackground-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");\n\t\t\tbackground-size: 14px;\n\t\t\tbackground-repeat: no-repeat;\n\t\t\tbackground-position: center;\n\t\t\tborder-radius: 100%;\n\n\t\t\t/*\n\t\t\t* Use CSS math to simulate container queries.\n\t\t\t* https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things\n\t\t\t*/\n\t\t\toverflow: hidden;\n\t\t\twidth: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t\theight: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const O=M},1232:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck-editor__editable .ck-list-bogus-paragraph{display:block}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/documentlist.css"],names:[],mappings:"AAKA,8CACC,aACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-editor__editable .ck-list-bogus-paragraph {\n\tdisplay: block;\n}\n"],sourceRoot:""}]);const O=M},6903:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck-content ol{list-style-type:decimal}.ck-content ol ol{list-style-type:lower-latin}.ck-content ol ol ol{list-style-type:lower-roman}.ck-content ol ol ol ol{list-style-type:upper-latin}.ck-content ol ol ol ol ol{list-style-type:upper-roman}.ck-content ul{list-style-type:disc}.ck-content ul ul{list-style-type:circle}.ck-content ul ul ul,.ck-content ul ul ul ul{list-style-type:square}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/list.css"],names:[],mappings:"AAKA,eACC,uBAiBD,CAfC,kBACC,2BAaD,CAXC,qBACC,2BASD,CAPC,wBACC,2BAKD,CAHC,2BACC,2BACD,CAMJ,eACC,oBAaD,CAXC,kBACC,sBASD,CAJE,6CACC,sBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content ol {\n\tlist-style-type: decimal;\n\n\t& ol {\n\t\tlist-style-type: lower-latin;\n\n\t\t& ol {\n\t\t\tlist-style-type: lower-roman;\n\n\t\t\t& ol {\n\t\t\t\tlist-style-type: upper-latin;\n\n\t\t\t\t& ol {\n\t\t\t\t\tlist-style-type: upper-roman;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-content ul {\n\tlist-style-type: disc;\n\n\t& ul {\n\t\tlist-style-type: circle;\n\n\t\t& ul {\n\t\t\tlist-style-type: square;\n\n\t\t\t& ul {\n\t\t\t\tlist-style-type: square;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},9968:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-list-properties.ck-list-properties_without-styles{padding:var(--ck-spacing-large)}.ck.ck-list-properties.ck-list-properties_without-styles>*{min-width:14em}.ck.ck-list-properties.ck-list-properties_without-styles>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-list-styles-list{grid-template-columns:repeat(4,auto)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible{border-top:1px solid var(--ck-color-base-border)}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*{width:100%}.ck.ck-list-properties.ck-list-properties_with-numbered-properties>.ck-collapsible>.ck-collapsible__children>*+*{margin-top:var(--ck-spacing-standard)}.ck.ck-list-properties .ck.ck-numbered-list-properties__start-index .ck-input{min-width:auto;width:100%}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order{background:transparent;margin-bottom:calc(var(--ck-spacing-tiny)*-1);padding-left:0;padding-right:0}.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:active,.ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:hover{background:none;border-color:transparent;box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/listproperties.css"],names:[],mappings:"AAOC,yDACC,+BASD,CAPC,2DACC,cAKD,CAHC,6DACC,qCACD,CASD,wFACC,oCACD,CAGA,mFACC,gDAWD,CARE,+GACC,UAKD,CAHC,iHACC,qCACD,CAMJ,8EACC,cAAe,CACf,UACD,CAEA,uEACC,sBAAuB,CAGvB,6CAAgD,CAFhD,cAAe,CACf,eAQD,CALC,2JAGC,eAAgB,CADhB,wBAAyB,CADzB,eAGD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-properties {\n\t/* When there are no list styles and there is no collapsible. */\n\t&.ck-list-properties_without-styles {\n\t\tpadding: var(--ck-spacing-large);\n\n\t\t& > * {\n\t\t\tmin-width: 14em;\n\n\t\t\t& + * {\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * When the numbered list property fields (start at, reversed) should be displayed,\n\t * more horizontal space is needed. Reconfigure the style grid to create that space.\n\t */\n\t&.ck-list-properties_with-numbered-properties {\n\t\t& > .ck-list-styles-list {\n\t\t\tgrid-template-columns: repeat( 4, auto );\n\t\t}\n\n\t\t/* When list styles are rendered and property fields are in a collapsible. */\n\t\t& > .ck-collapsible {\n\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\n\t\t\t& > .ck-collapsible__children {\n\t\t\t\t& > * {\n\t\t\t\t\twidth: 100%;\n\n\t\t\t\t\t& + * {\n\t\t\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-numbered-list-properties__start-index .ck-input {\n\t\tmin-width: auto;\n\t\twidth: 100%;\n\t}\n\n\t& .ck.ck-numbered-list-properties__reversed-order {\n\t\tbackground: transparent;\n\t\tpadding-left: 0;\n\t\tpadding-right: 0;\n\t\tmargin-bottom: calc(-1 * var(--ck-spacing-tiny));\n\n\t\t&:active, &:hover {\n\t\t\tbox-shadow: none;\n\t\t\tborder-color: transparent;\n\t\t\tbackground: none;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},7141:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-list-styles-list{display:grid}:root{--ck-list-style-button-size:44px}.ck.ck-list-styles-list{column-gap:var(--ck-spacing-medium);grid-template-columns:repeat(3,auto);padding:var(--ck-spacing-large);row-gap:var(--ck-spacing-medium)}.ck.ck-list-styles-list .ck-button{box-sizing:content-box;margin:0;padding:0}.ck.ck-list-styles-list .ck-button,.ck.ck-list-styles-list .ck-button .ck-icon{height:var(--ck-list-style-button-size);width:var(--ck-list-style-button-size)}","",{version:3,sources:["webpack://./../ckeditor5-list/theme/liststyles.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-list/liststyles.css"],names:[],mappings:"AAKA,wBACC,YACD,CCFA,MACC,gCACD,CAEA,wBAGC,mCAAoC,CAFpC,oCAAwC,CAGxC,+BAAgC,CAFhC,gCA4BD,CAxBC,mCAiBC,sBAAuB,CAPvB,QAAS,CANT,SAmBD,CAJC,+EAhBA,uCAAwC,CADxC,sCAoBA",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-list-styles-list {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-list-style-button-size: 44px;\n}\n\n.ck.ck-list-styles-list {\n\tgrid-template-columns: repeat( 3, auto );\n\trow-gap: var(--ck-spacing-medium);\n\tcolumn-gap: var(--ck-spacing-medium);\n\tpadding: var(--ck-spacing-large);\n\n\t& .ck-button {\n\t\t/* Make the button look like a thumbnail (the icon "takes it all"). */\n\t\twidth: var(--ck-list-style-button-size);\n\t\theight: var(--ck-list-style-button-size);\n\t\tpadding: 0;\n\n\t\t/*\n\t\t * Buttons are aligned by the grid so disable default button margins to not collide with the\n\t\t * gaps in the grid.\n\t\t */\n\t\tmargin: 0;\n\n\t\t/*\n\t\t * Make sure the button border (which is displayed on focus, BTW) does not steal pixels\n\t\t * from the button dimensions and, as a result, decrease the size of the icon\n\t\t * (which becomes blurry as it scales down).\n\t\t */\n\t\tbox-sizing: content-box;\n\n\t\t& .ck-icon {\n\t\t\twidth: var(--ck-list-style-button-size);\n\t\t\theight: var(--ck-list-style-button-size);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const O=M},8991:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,':root{--ck-todo-list-checkmark-size:16px}.ck-content .todo-list{list-style:none}.ck-content .todo-list li{margin-bottom:5px;position:relative}.ck-content .todo-list li .todo-list{margin-top:5px}.ck-content .todo-list .todo-list__label>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-content[dir=rtl] .todo-list .todo-list__label>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-content .todo-list .todo-list__label>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}.ck-content .todo-list .todo-list__label>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-content .todo-list .todo-list__label>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-content .todo-list .todo-list__label>input[checked]:after{border-color:#fff}.ck-content .todo-list .todo-list__label .todo-list__label__description{vertical-align:middle}.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}.ck-editor__editable.ck-content .todo-list .todo-list__label>input,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{cursor:pointer}.ck-editor__editable.ck-content .todo-list .todo-list__label>input:hover:before,.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:hover:before{box-shadow:0 0 0 5px rgba(0,0,0,.1)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input{-webkit-appearance:none;border:0;display:inline-block;height:var(--ck-todo-list-checkmark-size);left:-25px;margin-left:0;margin-right:-15px;position:relative;right:0;vertical-align:middle;width:var(--ck-todo-list-checkmark-size)}.ck-editor__editable.ck-content[dir=rtl] .todo-list .todo-list__label>span[contenteditable=false]>input{left:0;margin-left:-15px;margin-right:0;right:-25px}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:before{border:1px solid #333;border-radius:2px;box-sizing:border-box;content:"";display:block;height:100%;position:absolute;transition:box-shadow .25s ease-in-out;width:100%}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input:after{border-color:transparent;border-style:solid;border-width:0 calc(var(--ck-todo-list-checkmark-size)/8) calc(var(--ck-todo-list-checkmark-size)/8) 0;box-sizing:content-box;content:"";display:block;height:calc(var(--ck-todo-list-checkmark-size)/2.6);left:calc(var(--ck-todo-list-checkmark-size)/3);pointer-events:none;position:absolute;top:calc(var(--ck-todo-list-checkmark-size)/5.3);transform:rotate(45deg);width:calc(var(--ck-todo-list-checkmark-size)/5.3)}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:before{background:#26ab33;border-color:#26ab33}.ck-editor__editable.ck-content .todo-list .todo-list__label>span[contenteditable=false]>input[checked]:after{border-color:#fff}.ck-editor__editable.ck-content .todo-list .todo-list__label.todo-list__label_without-description input[type=checkbox]{position:absolute}',"",{version:3,sources:["webpack://./../ckeditor5-list/theme/todolist.css"],names:[],mappings:"AAKA,MACC,kCACD,CAwEA,uBACC,eAwBD,CAtBC,0BAEC,iBAAkB,CADlB,iBAMD,CAHC,qCACC,cACD,CAIA,+CAlFD,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAiFC,CAFA,wDAhEA,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAgEA,CA5DD,sDAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,sCAAwC,CAJxC,UAKD,CAEA,qDAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+DACC,kBAA8B,CAC9B,oBACD,CAEA,8DACC,iBACD,CAwBA,wEACC,qBACD,CAEA,mGACC,iBACD,CAYD,kKAEC,cAKD,CAHC,4LACC,mCACD,CAMD,+FApHA,uBAAwB,CAQxB,QAAS,CAPT,oBAAqB,CAGrB,yCAA0C,CAO1C,UAAW,CAGX,aAAc,CAFd,kBAAmB,CAVnB,iBAAkB,CAWlB,OAAQ,CARR,qBAAsB,CAFtB,wCAmHA,CAFA,wGAlGC,MAAO,CAGP,iBAAkB,CAFlB,cAAe,CACf,WAkGD,CA9FA,sGAOC,qBAAiC,CACjC,iBAAkB,CALlB,qBAAsB,CACtB,UAAW,CAHX,aAAc,CAKd,WAAY,CAJZ,iBAAkB,CAOlB,sCAAwC,CAJxC,UAKD,CAEA,qGAaC,wBAAyB,CADzB,kBAAmB,CAEnB,sGAA+G,CAX/G,sBAAuB,CAEvB,UAAW,CAJX,aAAc,CAUd,mDAAwD,CAHxD,+CAAoD,CAJpD,mBAAoB,CAFpB,iBAAkB,CAOlB,gDAAqD,CAMrD,uBAAwB,CALxB,kDAMD,CAGC,+GACC,kBAA8B,CAC9B,oBACD,CAEA,8GACC,iBACD,CA2DA,uHACC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-todo-list-checkmark-size: 16px;\n}\n\n@define-mixin todo-list-checkbox {\n\t-webkit-appearance: none;\n\tdisplay: inline-block;\n\tposition: relative;\n\twidth: var(--ck-todo-list-checkmark-size);\n\theight: var(--ck-todo-list-checkmark-size);\n\tvertical-align: middle;\n\n\t/* Needed on iOS */\n\tborder: 0;\n\n\t/* LTR styles */\n\tleft: -25px;\n\tmargin-right: -15px;\n\tright: 0;\n\tmargin-left: 0;\n\n\t/* RTL styles */\n\t@nest [dir=rtl]& {\n\t\tleft: 0;\n\t\tmargin-right: 0;\n\t\tright: -25px;\n\t\tmargin-left: -15px;\n\t}\n\n\t&::before {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbox-sizing: border-box;\n\t\tcontent: '';\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tborder: 1px solid hsl(0, 0%, 20%);\n\t\tborder-radius: 2px;\n\t\ttransition: 250ms ease-in-out box-shadow;\n\t}\n\n\t&::after {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\tbox-sizing: content-box;\n\t\tpointer-events: none;\n\t\tcontent: '';\n\n\t\t/* Calculate tick position, size and border-width proportional to the checkmark size. */\n\t\tleft: calc( var(--ck-todo-list-checkmark-size) / 3 );\n\t\ttop: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\twidth: calc( var(--ck-todo-list-checkmark-size) / 5.3 );\n\t\theight: calc( var(--ck-todo-list-checkmark-size) / 2.6 );\n\t\tborder-style: solid;\n\t\tborder-color: transparent;\n\t\tborder-width: 0 calc( var(--ck-todo-list-checkmark-size) / 8 ) calc( var(--ck-todo-list-checkmark-size) / 8 ) 0;\n\t\ttransform: rotate(45deg);\n\t}\n\n\t&[checked] {\n\t\t&::before {\n\t\t\tbackground: hsl(126, 64%, 41%);\n\t\t\tborder-color: hsl(126, 64%, 41%);\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: hsl(0, 0%, 100%);\n\t\t}\n\t}\n}\n\n/*\n * To-do list content styles.\n */\n.ck-content .todo-list {\n\tlist-style: none;\n\n\t& li {\n\t\tposition: relative;\n\t\tmargin-bottom: 5px;\n\n\t\t& .todo-list {\n\t\t\tmargin-top: 5px;\n\t\t}\n\t}\n\n\t& .todo-list__label {\n\t\t& > input {\n\t\t\t@mixin todo-list-checkbox;\n\t\t}\n\n\t\t& .todo-list__label__description {\n\t\t\tvertical-align: middle;\n\t\t}\n\n\t\t&.todo-list__label_without-description input[type=checkbox] {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n\n/*\n * To-do list editing view styles.\n */\n.ck-editor__editable.ck-content .todo-list .todo-list__label {\n\t/*\n\t * To-do list should be interactive only during the editing\n\t * (https://github.com/ckeditor/ckeditor5/issues/2090).\n\t */\n\t& > input,\n\t& > span[contenteditable=false] > input {\n\t\tcursor: pointer;\n\n\t\t&:hover::before {\n\t\t\tbox-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);\n\t\t}\n\t}\n\n\t/*\n\t * Document Lists - editing view has an additional span around checkbox.\n\t */\n\t& > span[contenteditable=false] > input {\n\t\t@mixin todo-list-checkbox;\n\t}\n\n\t&.todo-list__label_without-description {\n\t\t& input[type=checkbox] {\n\t\t\tposition: absolute;\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},70:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck-content .media{clear:both;display:block;margin:.9em 0;min-width:15em}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembed.css"],names:[],mappings:"AAKA,mBAGC,UAAW,CASX,aAAc,CAJd,aAAe,CAQf,cACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .media {\n\t/* Don\'t allow floated content overlap the media.\n\thttps://github.com/ckeditor/ckeditor5-media-embed/issues/53 */\n\tclear: both;\n\n\t/* Make sure there is some space between the content and the media. */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em 0;\n\n\t/* Make sure media is not overriden with Bootstrap default `flex` value.\n\tSee: https://github.com/ckeditor/ckeditor5/issues/1373. */\n\tdisplay: block;\n\n\t/* Give the media some minimal width in the content to prevent them\n\tfrom being "squashed" in tight spaces, e.g. in table cells (#44) */\n\tmin-width: 15em;\n}\n'],sourceRoot:""}]);const O=M},7048:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,'.ck-media__wrapper .ck-media__placeholder{align-items:center;display:flex;flex-direction:column}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url{max-width:100%;position:relative}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url .ck-media__placeholder__url__text{display:block;overflow:hidden}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon *,.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck-media__placeholder__icon *{display:none}.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper>:not(.ck-media__placeholder),.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder{pointer-events:none}:root{--ck-media-embed-placeholder-icon-size:3em;--ck-color-media-embed-placeholder-url-text:#757575;--ck-color-media-embed-placeholder-url-text-hover:var(--ck-color-base-text)}.ck-media__wrapper{margin:0 auto}.ck-media__wrapper .ck-media__placeholder{background:var(--ck-color-base-foreground);padding:calc(var(--ck-spacing-standard)*3)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon{background-position:50%;background-size:cover;height:var(--ck-media-embed-placeholder-icon-size);margin-bottom:var(--ck-spacing-large);min-width:var(--ck-media-embed-placeholder-icon-size)}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon{height:100%;width:100%}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text{color:var(--ck-color-media-embed-placeholder-url-text);font-style:italic;text-align:center;text-overflow:ellipsis;white-space:nowrap}.ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:var(--ck-color-media-embed-placeholder-url-text-hover);cursor:pointer;text-decoration:underline}.ck-media__wrapper[data-oembed-url*="open.spotify.com"]{max-height:380px;max-width:300px}.ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon,.ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Im0yMDYuNDc3IDI2MC45LTI4Ljk4NyAyOC45ODdhNS4yMTggNS4yMTggMCAwIDAgMy43OCAxLjYxaDQ5LjYyMWMxLjY5NCAwIDMuMTktLjc5OCA0LjE0Ni0yLjAzN3oiIGZpbGw9IiM1Yzg4YzUiLz48cGF0aCBkPSJNMjI2Ljc0MiAyMjIuOTg4Yy05LjI2NiAwLTE2Ljc3NyA3LjE3LTE2Ljc3NyAxNi4wMTQuMDA3IDIuNzYyLjY2MyA1LjQ3NCAyLjA5MyA3Ljg3NS40My43MDMuODMgMS40MDggMS4xOSAyLjEwNy4zMzMuNTAyLjY1IDEuMDA1Ljk1IDEuNTA4LjM0My40NzcuNjczLjk1Ny45ODggMS40NCAxLjMxIDEuNzY5IDIuNSAzLjUwMiAzLjYzNyA1LjE2OC43OTMgMS4yNzUgMS42ODMgMi42NCAyLjQ2NiAzLjk5IDIuMzYzIDQuMDk0IDQuMDA3IDguMDkyIDQuNiAxMy45MTR2LjAxMmMuMTgyLjQxMi41MTYuNjY2Ljg3OS42NjcuNDAzLS4wMDEuNzY4LS4zMTQuOTMtLjc5OS42MDMtNS43NTYgMi4yMzgtOS43MjkgNC41ODUtMTMuNzk0Ljc4Mi0xLjM1IDEuNjczLTIuNzE1IDIuNDY1LTMuOTkgMS4xMzctMS42NjYgMi4zMjgtMy40IDMuNjM4LTUuMTY5LjMxNS0uNDgyLjY0NS0uOTYyLjk4OC0xLjQzOS4zLS41MDMuNjE3LTEuMDA2Ljk1LTEuNTA4LjM1OS0uNy43Ni0xLjQwNCAxLjE5LTIuMTA3IDEuNDI2LTIuNDAyIDItNS4xMTQgMi4wMDQtNy44NzUgMC04Ljg0NC03LjUxMS0xNi4wMTQtMTYuNzc2LTE2LjAxNHoiIGZpbGw9IiNkZDRiM2UiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PGVsbGlwc2Ugcnk9IjUuNTY0IiByeD0iNS44MjgiIGN5PSIyMzkuMDAyIiBjeD0iMjI2Ljc0MiIgZmlsbD0iIzgwMmQyNyIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMTkwLjMwMSAyMzcuMjgzYy00LjY3IDAtOC40NTcgMy44NTMtOC40NTcgOC42MDZzMy43ODYgOC42MDcgOC40NTcgOC42MDdjMy4wNDMgMCA0LjgwNi0uOTU4IDYuMzM3LTIuNTE2IDEuNTMtMS41NTcgMi4wODctMy45MTMgMi4wODctNi4yOSAwLS4zNjItLjAyMy0uNzIyLS4wNjQtMS4wNzloLTguMjU3djMuMDQzaDQuODVjLS4xOTcuNzU5LS41MzEgMS40NS0xLjA1OCAxLjk4Ni0uOTQyLjk1OC0yLjAyOCAxLjU0OC0zLjkwMSAxLjU0OC0yLjg3NiAwLTUuMjA4LTIuMzcyLTUuMjA4LTUuMjk5IDAtMi45MjYgMi4zMzItNS4yOTkgNS4yMDgtNS4yOTkgMS4zOTkgMCAyLjYxOC40MDcgMy41ODQgMS4yOTNsMi4zODEtMi4zOGMwLS4wMDItLjAwMy0uMDA0LS4wMDQtLjAwNS0xLjU4OC0xLjUyNC0zLjYyLTIuMjE1LTUuOTU1LTIuMjE1em00LjQzIDUuNjYuMDAzLjAwNnYtLjAwM3oiIGZpbGw9IiNmZmYiIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0ibTIxNS4xODQgMjUxLjkyOS03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVhNS4yMzMgNS4yMzMgMCAwIDAgLjQ0OS0yLjEyM3YtMzEuMTY1Yy0uNDY5LjY3NS0uOTM0IDEuMzQ5LTEuMzgyIDIuMDA1LS43OTIgMS4yNzUtMS42ODIgMi42NC0yLjQ2NSAzLjk5LTIuMzQ3IDQuMDY1LTMuOTgyIDguMDM4LTQuNTg1IDEzLjc5NC0uMTYyLjQ4NS0uNTI3Ljc5OC0uOTMuNzk5LS4zNjMtLjAwMS0uNjk3LS4yNTUtLjg3OS0uNjY3di0uMDEyYy0uNTkzLTUuODIyLTIuMjM3LTkuODItNC42LTEzLjkxNC0uNzgzLTEuMzUtMS42NzMtMi43MTUtMi40NjYtMy45OS0xLjEzNy0xLjY2Ni0yLjMyNy0zLjQtMy42MzctNS4xNjlsLS4wMDItLjAwM3oiIGZpbGw9IiNjM2MzYzMiLz48cGF0aCBkPSJtMjEyLjk4MyAyNDguNDk1LTM2Ljk1MiAzNi45NTN2LjgxMmE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOCA1LjIzOGgxLjAxNWwzNS42NjYtMzUuNjY2YTEzNi4yNzUgMTM2LjI3NSAwIDAgMC0yLjc2NC0zLjkgMzcuNTc1IDM3LjU3NSAwIDAgMC0uOTg5LTEuNDQgMzUuMTI3IDM1LjEyNyAwIDAgMC0uOTUtMS41MDhjLS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJtMjExLjk5OCAyNjEuMDgzLTYuMTUyIDYuMTUxIDI0LjI2NCAyNC4yNjRoLjc4MWE1LjIyNyA1LjIyNyAwIDAgMCA1LjIzOS01LjIzOHYtMS4wNDV6IiBmaWxsPSIjZmZmIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjwvZz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder{background:#4268b3}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik05NjcuNDg0IDBINTYuNTE3QzI1LjMwNCAwIDAgMjUuMzA0IDAgNTYuNTE3djkxMC45NjZDMCA5OTguNjk0IDI1LjI5NyAxMDI0IDU2LjUyMiAxMDI0SDU0N1Y2MjhINDE0VjQ3M2gxMzNWMzU5LjAyOWMwLTEzMi4yNjIgODAuNzczLTIwNC4yODIgMTk4Ljc1Ni0yMDQuMjgyIDU2LjUxMyAwIDEwNS4wODYgNC4yMDggMTE5LjI0NCA2LjA4OVYyOTlsLTgxLjYxNi4wMzdjLTYzLjk5MyAwLTc2LjM4NCAzMC40OTItNzYuMzg0IDc1LjIzNlY0NzNoMTUzLjQ4N2wtMTkuOTg2IDE1NUg3MDd2Mzk2aDI2MC40ODRjMzEuMjEzIDAgNTYuNTE2LTI1LjMwMyA1Ni41MTYtNTYuNTE2VjU2LjUxNUMxMDI0IDI1LjMwMyA5OTguNjk3IDAgOTY3LjQ4NCAwIiBmaWxsPSIjRkZGRkZFIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#cdf}.ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder{background:linear-gradient(-135deg,#1400c7,#b800b1,#f50000)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTA0IiBoZWlnaHQ9IjUwNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+PGRlZnM+PHBhdGggaWQ9ImEiIGQ9Ik0wIC4xNTloNTAzLjg0MVY1MDMuOTRIMHoiLz48L2RlZnM+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48bWFzayBpZD0iYiIgZmlsbD0iI2ZmZiI+PHVzZSB4bGluazpocmVmPSIjYSIvPjwvbWFzaz48cGF0aCBkPSJNMjUxLjkyMS4xNTljLTY4LjQxOCAwLTc2Ljk5Ny4yOS0xMDMuODY3IDEuNTE2LTI2LjgxNCAxLjIyMy00NS4xMjcgNS40ODItNjEuMTUxIDExLjcxLTE2LjU2NiA2LjQzNy0zMC42MTUgMTUuMDUxLTQ0LjYyMSAyOS4wNTYtMTQuMDA1IDE0LjAwNi0yMi42MTkgMjguMDU1LTI5LjA1NiA0NC42MjEtNi4yMjggMTYuMDI0LTEwLjQ4NyAzNC4zMzctMTEuNzEgNjEuMTUxQy4yOSAxNzUuMDgzIDAgMTgzLjY2MiAwIDI1Mi4wOGMwIDY4LjQxNy4yOSA3Ni45OTYgMS41MTYgMTAzLjg2NiAxLjIyMyAyNi44MTQgNS40ODIgNDUuMTI3IDExLjcxIDYxLjE1MSA2LjQzNyAxNi41NjYgMTUuMDUxIDMwLjYxNSAyOS4wNTYgNDQuNjIxIDE0LjAwNiAxNC4wMDUgMjguMDU1IDIyLjYxOSA0NC42MjEgMjkuMDU3IDE2LjAyNCA2LjIyNyAzNC4zMzcgMTAuNDg2IDYxLjE1MSAxMS43MDkgMjYuODcgMS4yMjYgMzUuNDQ5IDEuNTE2IDEwMy44NjcgMS41MTYgNjguNDE3IDAgNzYuOTk2LS4yOSAxMDMuODY2LTEuNTE2IDI2LjgxNC0xLjIyMyA0NS4xMjctNS40ODIgNjEuMTUxLTExLjcwOSAxNi41NjYtNi40MzggMzAuNjE1LTE1LjA1MiA0NC42MjEtMjkuMDU3IDE0LjAwNS0xNC4wMDYgMjIuNjE5LTI4LjA1NSAyOS4wNTctNDQuNjIxIDYuMjI3LTE2LjAyNCAxMC40ODYtMzQuMzM3IDExLjcwOS02MS4xNTEgMS4yMjYtMjYuODcgMS41MTYtMzUuNDQ5IDEuNTE2LTEwMy44NjYgMC02OC40MTgtLjI5LTc2Ljk5Ny0xLjUxNi0xMDMuODY3LTEuMjIzLTI2LjgxNC01LjQ4Mi00NS4xMjctMTEuNzA5LTYxLjE1MS02LjQzOC0xNi41NjYtMTUuMDUyLTMwLjYxNS0yOS4wNTctNDQuNjIxLTE0LjAwNi0xNC4wMDUtMjguMDU1LTIyLjYxOS00NC42MjEtMjkuMDU2LTE2LjAyNC02LjIyOC0zNC4zMzctMTAuNDg3LTYxLjE1MS0xMS43MUMzMjguOTE3LjQ0OSAzMjAuMzM4LjE1OSAyNTEuOTIxLjE1OVptMCA0NS4zOTFjNjcuMjY1IDAgNzUuMjMzLjI1NyAxMDEuNzk3IDEuNDY5IDI0LjU2MiAxLjEyIDM3LjkwMSA1LjIyNCA0Ni43NzggOC42NzQgMTEuNzU5IDQuNTcgMjAuMTUxIDEwLjAyOSAyOC45NjYgMTguODQ1IDguODE2IDguODE1IDE0LjI3NSAxNy4yMDcgMTguODQ1IDI4Ljk2NiAzLjQ1IDguODc3IDcuNTU0IDIyLjIxNiA4LjY3NCA0Ni43NzggMS4yMTIgMjYuNTY0IDEuNDY5IDM0LjUzMiAxLjQ2OSAxMDEuNzk4IDAgNjcuMjY1LS4yNTcgNzUuMjMzLTEuNDY5IDEwMS43OTctMS4xMiAyNC41NjItNS4yMjQgMzcuOTAxLTguNjc0IDQ2Ljc3OC00LjU3IDExLjc1OS0xMC4wMjkgMjAuMTUxLTE4Ljg0NSAyOC45NjYtOC44MTUgOC44MTYtMTcuMjA3IDE0LjI3NS0yOC45NjYgMTguODQ1LTguODc3IDMuNDUtMjIuMjE2IDcuNTU0LTQ2Ljc3OCA4LjY3NC0yNi41NiAxLjIxMi0zNC41MjcgMS40NjktMTAxLjc5NyAxLjQ2OS02Ny4yNzEgMC03NS4yMzctLjI1Ny0xMDEuNzk4LTEuNDY5LTI0LjU2Mi0xLjEyLTM3LjkwMS01LjIyNC00Ni43NzgtOC42NzQtMTEuNzU5LTQuNTctMjAuMTUxLTEwLjAyOS0yOC45NjYtMTguODQ1LTguODE1LTguODE1LTE0LjI3NS0xNy4yMDctMTguODQ1LTI4Ljk2Ni0zLjQ1LTguODc3LTcuNTU0LTIyLjIxNi04LjY3NC00Ni43NzgtMS4yMTItMjYuNTY0LTEuNDY5LTM0LjUzMi0xLjQ2OS0xMDEuNzk3IDAtNjcuMjY2LjI1Ny03NS4yMzQgMS40NjktMTAxLjc5OCAxLjEyLTI0LjU2MiA1LjIyNC0zNy45MDEgOC42NzQtNDYuNzc4IDQuNTctMTEuNzU5IDEwLjAyOS0yMC4xNTEgMTguODQ1LTI4Ljk2NiA4LjgxNS04LjgxNiAxNy4yMDctMTQuMjc1IDI4Ljk2Ni0xOC44NDUgOC44NzctMy40NSAyMi4yMTYtNy41NTQgNDYuNzc4LTguNjc0IDI2LjU2NC0xLjIxMiAzNC41MzItMS40NjkgMTAxLjc5OC0xLjQ2OVoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48cGF0aCBkPSJNMjUxLjkyMSAzMzYuMDUzYy00Ni4zNzggMC04My45NzQtMzcuNTk2LTgzLjk3NC04My45NzMgMC00Ni4zNzggMzcuNTk2LTgzLjk3NCA4My45NzQtODMuOTc0IDQ2LjM3NyAwIDgzLjk3MyAzNy41OTYgODMuOTczIDgzLjk3NCAwIDQ2LjM3Ny0zNy41OTYgODMuOTczLTgzLjk3MyA4My45NzNabTAtMjEzLjMzOGMtNzEuNDQ3IDAtMTI5LjM2NSA1Ny45MTgtMTI5LjM2NSAxMjkuMzY1IDAgNzEuNDQ2IDU3LjkxOCAxMjkuMzY0IDEyOS4zNjUgMTI5LjM2NCA3MS40NDYgMCAxMjkuMzY0LTU3LjkxOCAxMjkuMzY0LTEyOS4zNjQgMC03MS40NDctNTcuOTE4LTEyOS4zNjUtMTI5LjM2NC0xMjkuMzY1Wk00MTYuNjI3IDExNy42MDRjMCAxNi42OTYtMTMuNTM1IDMwLjIzLTMwLjIzMSAzMC4yMy0xNi42OTUgMC0zMC4yMy0xMy41MzQtMzAuMjMtMzAuMjMgMC0xNi42OTYgMTMuNTM1LTMwLjIzMSAzMC4yMy0zMC4yMzEgMTYuNjk2IDAgMzAuMjMxIDEzLjUzNSAzMC4yMzEgMzAuMjMxIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg==)}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text{color:#ffe0fe}.ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder{background:linear-gradient(90deg,#71c6f4,#0d70a5)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__icon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MDAgNDAwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNNDAwIDIwMGMwIDExMC41LTg5LjUgMjAwLTIwMCAyMDBTMCAzMTAuNSAwIDIwMCA4OS41IDAgMjAwIDBzMjAwIDg5LjUgMjAwIDIwMHpNMTYzLjQgMzA1LjVjODguNyAwIDEzNy4yLTczLjUgMTM3LjItMTM3LjIgMC0yLjEgMC00LjItLjEtNi4yIDkuNC02LjggMTcuNi0xNS4zIDI0LjEtMjUtOC42IDMuOC0xNy45IDYuNC0yNy43IDcuNiAxMC02IDE3LjYtMTUuNCAyMS4yLTI2LjctOS4zIDUuNS0xOS42IDkuNS0zMC42IDExLjctOC44LTkuNC0yMS4zLTE1LjItMzUuMi0xNS4yLTI2LjYgMC00OC4yIDIxLjYtNDguMiA0OC4yIDAgMy44LjQgNy41IDEuMyAxMS00MC4xLTItNzUuNi0yMS4yLTk5LjQtNTAuNC00LjEgNy4xLTYuNSAxNS40LTYuNSAyNC4yIDAgMTYuNyA4LjUgMzEuNSAyMS41IDQwLjEtNy45LS4yLTE1LjMtMi40LTIxLjgtNnYuNmMwIDIzLjQgMTYuNiA0Mi44IDM4LjcgNDcuMy00IDEuMS04LjMgMS43LTEyLjcgMS43LTMuMSAwLTYuMS0uMy05LjEtLjkgNi4xIDE5LjIgMjMuOSAzMy4xIDQ1IDMzLjUtMTYuNSAxMi45LTM3LjMgMjAuNi01OS45IDIwLjYtMy45IDAtNy43LS4yLTExLjUtLjcgMjEuMSAxMy44IDQ2LjUgMjEuOCA3My43IDIxLjgiIHN0eWxlPSJmaWxsOiNmZmYiLz48L3N2Zz4=)}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text{color:#b8e6ff}.ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover{color:#fff}',"",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaembedediting.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-media-embed/mediaembedediting.css"],names:[],mappings:"AAMC,0CAGC,kBAAmB,CAFnB,YAAa,CACb,qBAcD,CAXC,sEAEC,cAAe,CAEf,iBAMD,CAJC,wGAEC,aAAc,CADd,eAED,CAWD,6kBACC,YACD,CAYF,2LACC,mBACD,CC1CA,MACC,0CAA2C,CAE3C,mDAA4D,CAC5D,2EACD,CAEA,mBACC,aA+FD,CA7FC,0CAEC,0CAA2C,CAD3C,0CA6BD,CA1BC,uEAIC,uBAA2B,CAC3B,qBAAsB,CAHtB,kDAAmD,CACnD,qCAAsC,CAFtC,qDAUD,CAJC,gFAEC,WAAY,CADZ,UAED,CAGD,4EACC,sDAAuD,CAGvD,iBAAkB,CADlB,iBAAkB,CAElB,sBAAuB,CAHvB,kBAUD,CALC,kFACC,4DAA6D,CAC7D,cAAe,CACf,yBACD,CAIF,wDAEC,gBAAiB,CADjB,eAED,CAEA,4UAIC,wvGACD,CAEA,2EACC,kBAaD,CAXC,wGACC,orBACD,CAEA,6GACC,UAKD,CAHC,mHACC,UACD,CAIF,4EACC,2DAcD,CAZC,yGACC,4jHACD,CAGA,8GACC,aAKD,CAHC,oHACC,UACD,CAIF,6EAEC,iDAaD,CAXC,0GACC,wiCACD,CAEA,+GACC,aAKD,CAHC,qHACC,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-media__wrapper {\n\t& .ck-media__placeholder {\n\t\tdisplay: flex;\n\t\tflex-direction: column;\n\t\talign-items: center;\n\n\t\t& .ck-media__placeholder__url {\n\t\t\t/* Otherwise the URL will overflow when the content is very narrow. */\n\t\t\tmax-width: 100%;\n\n\t\t\tposition: relative;\n\n\t\t\t& .ck-media__placeholder__url__text {\n\t\t\t\toverflow: hidden;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"],\n\t&[data-oembed-url*="google.com/maps"],\n\t&[data-oembed-url*="goo.gl/maps"],\n\t&[data-oembed-url*="maps.google.com"],\n\t&[data-oembed-url*="maps.app.goo.gl"],\n\t&[data-oembed-url*="facebook.com"],\n\t&[data-oembed-url*="instagram.com"] {\n\t\t& .ck-media__placeholder__icon * {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n/* Disable all mouse interaction as long as the editor is not read\u2013only.\n   https://github.com/ckeditor/ckeditor5-media-embed/issues/58 */\n.ck-editor__editable:not(.ck-read-only) .ck-media__wrapper > *:not(.ck-media__placeholder) {\n\tpointer-events: none;\n}\n\n/* Disable all mouse interaction when the widget is not selected (e.g. to avoid opening links by accident).\n   https://github.com/ckeditor/ckeditor5-media-embed/issues/18 */\n.ck-editor__editable:not(.ck-read-only) .ck-widget:not(.ck-widget_selected) .ck-media__placeholder {\n\tpointer-events: none;\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-media-embed-placeholder-icon-size: 3em;\n\n\t--ck-color-media-embed-placeholder-url-text: hsl(0, 0%, 46%);\n\t--ck-color-media-embed-placeholder-url-text-hover: var(--ck-color-base-text);\n}\n\n.ck-media__wrapper {\n\tmargin: 0 auto;\n\n\t& .ck-media__placeholder {\n\t\tpadding: calc( 3 * var(--ck-spacing-standard) );\n\t\tbackground: var(--ck-color-base-foreground);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tmin-width: var(--ck-media-embed-placeholder-icon-size);\n\t\t\theight: var(--ck-media-embed-placeholder-icon-size);\n\t\t\tmargin-bottom: var(--ck-spacing-large);\n\t\t\tbackground-position: center;\n\t\t\tbackground-size: cover;\n\n\t\t\t& .ck-icon {\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 100%;\n\t\t\t}\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text);\n\t\t\twhite-space: nowrap;\n\t\t\ttext-align: center;\n\t\t\tfont-style: italic;\n\t\t\ttext-overflow: ellipsis;\n\n\t\t\t&:hover {\n\t\t\t\tcolor: var(--ck-color-media-embed-placeholder-url-text-hover);\n\t\t\t\tcursor: pointer;\n\t\t\t\ttext-decoration: underline;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="open.spotify.com"] {\n\t\tmax-width: 300px;\n\t\tmax-height: 380px;\n\t}\n\n\t&[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon,\n\t&[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon {\n\t\tbackground-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMCAwIDMuNzggMS42MWg0OS42MjFjMS42OTQgMCAzLjE5LS43OTggNC4xNDYtMi4wMzd6IiBmaWxsPSIjNWM4OGM1Ii8+PHBhdGggZD0iTTIyNi43NDIgMjIyLjk4OGMtOS4yNjYgMC0xNi43NzcgNy4xNy0xNi43NzcgMTYuMDE0LjAwNyAyLjc2Mi42NjMgNS40NzQgMi4wOTMgNy44NzUuNDMuNzAzLjgzIDEuNDA4IDEuMTkgMi4xMDcuMzMzLjUwMi42NSAxLjAwNS45NSAxLjUwOC4zNDMuNDc3LjY3My45NTcuOTg4IDEuNDQgMS4zMSAxLjc2OSAyLjUgMy41MDIgMy42MzcgNS4xNjguNzkzIDEuMjc1IDEuNjgzIDIuNjQgMi40NjYgMy45OSAyLjM2MyA0LjA5NCA0LjAwNyA4LjA5MiA0LjYgMTMuOTE0di4wMTJjLjE4Mi40MTIuNTE2LjY2Ni44NzkuNjY3LjQwMy0uMDAxLjc2OC0uMzE0LjkzLS43OTkuNjAzLTUuNzU2IDIuMjM4LTkuNzI5IDQuNTg1LTEzLjc5NC43ODItMS4zNSAxLjY3My0yLjcxNSAyLjQ2NS0zLjk5IDEuMTM3LTEuNjY2IDIuMzI4LTMuNCAzLjYzOC01LjE2OS4zMTUtLjQ4Mi42NDUtLjk2Mi45ODgtMS40MzkuMy0uNTAzLjYxNy0xLjAwNi45NS0xLjUwOC4zNTktLjcuNzYtMS40MDQgMS4xOS0yLjEwNyAxLjQyNi0yLjQwMiAyLTUuMTE0IDIuMDA0LTcuODc1IDAtOC44NDQtNy41MTEtMTYuMDE0LTE2Ljc3Ni0xNi4wMTR6IiBmaWxsPSIjZGQ0YjNlIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIHJ5PSI1LjU2NCIgcng9IjUuODI4IiBjeT0iMjM5LjAwMiIgY3g9IjIyNi43NDIiIGZpbGw9IiM4MDJkMjciIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjkgMC0uMzYyLS4wMjMtLjcyMi0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhjMC0uMDAyLS4wMDMtLjAwNC0uMDA0LS4wMDUtMS41ODgtMS41MjQtMy42Mi0yLjIxNS01Ljk1NS0yLjIxNXptNC40MyA1LjY2bC4wMDMuMDA2di0uMDAzeiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjE1LjE4NCAyNTEuOTI5bC03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVjLjI4Ny0uNjQ5LjQ0OS0xLjM2Ni40NDktMi4xMjN2LTMxLjE2NWMtLjQ2OS42NzUtLjkzNCAxLjM0OS0xLjM4MiAyLjAwNS0uNzkyIDEuMjc1LTEuNjgyIDIuNjQtMi40NjUgMy45OS0yLjM0NyA0LjA2NS0zLjk4MiA4LjAzOC00LjU4NSAxMy43OTQtLjE2Mi40ODUtLjUyNy43OTgtLjkzLjc5OS0uMzYzLS4wMDEtLjY5Ny0uMjU1LS44NzktLjY2N3YtLjAxMmMtLjU5My01LjgyMi0yLjIzNy05LjgyLTQuNi0xMy45MTQtLjc4My0xLjM1LTEuNjczLTIuNzE1LTIuNDY2LTMuOTktMS4xMzctMS42NjYtMi4zMjctMy40LTMuNjM3LTUuMTY5bC0uMDAyLS4wMDN6IiBmaWxsPSIjYzNjM2MzIi8+PHBhdGggZD0iTTIxMi45ODMgMjQ4LjQ5NWwtMzYuOTUyIDM2Ljk1M3YuODEyYTUuMjI3IDUuMjI3IDAgMCAwIDUuMjM4IDUuMjM4aDEuMDE1bDM1LjY2Ni0zNS42NjZhMTM2LjI3NSAxMzYuMjc1IDAgMCAwLTIuNzY0LTMuOSAzNy41NzUgMzcuNTc1IDAgMCAwLS45ODktMS40NGMtLjI5OS0uNTAzLS42MTYtMS4wMDYtLjk1LTEuNTA4LS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjExLjk5OCAyNjEuMDgzbC02LjE1MiA2LjE1MSAyNC4yNjQgMjQuMjY0aC43ODFhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzktNS4yMzh2LTEuMDQ1eiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48L2c+PC9zdmc+);\n\t}\n\n\t&[data-oembed-url*="facebook.com"] .ck-media__placeholder {\n\t\tbackground: hsl(220, 46%, 48%);\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIxMDI0cHgiIGhlaWdodD0iMTAyNHB4IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPiAgICAgICAgPHRpdGxlPkZpbGwgMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImZMb2dvX1doaXRlIiBmaWxsPSIjRkZGRkZFIj4gICAgICAgICAgICA8cGF0aCBkPSJNOTY3LjQ4NCwwIEw1Ni41MTcsMCBDMjUuMzA0LDAgMCwyNS4zMDQgMCw1Ni41MTcgTDAsOTY3LjQ4MyBDMCw5OTguNjk0IDI1LjI5NywxMDI0IDU2LjUyMiwxMDI0IEw1NDcsMTAyNCBMNTQ3LDYyOCBMNDE0LDYyOCBMNDE0LDQ3MyBMNTQ3LDQ3MyBMNTQ3LDM1OS4wMjkgQzU0NywyMjYuNzY3IDYyNy43NzMsMTU0Ljc0NyA3NDUuNzU2LDE1NC43NDcgQzgwMi4yNjksMTU0Ljc0NyA4NTAuODQyLDE1OC45NTUgODY1LDE2MC44MzYgTDg2NSwyOTkgTDc4My4zODQsMjk5LjAzNyBDNzE5LjM5MSwyOTkuMDM3IDcwNywzMjkuNTI5IDcwNywzNzQuMjczIEw3MDcsNDczIEw4NjAuNDg3LDQ3MyBMODQwLjUwMSw2MjggTDcwNyw2MjggTDcwNywxMDI0IEw5NjcuNDg0LDEwMjQgQzk5OC42OTcsMTAyNCAxMDI0LDk5OC42OTcgMTAyNCw5NjcuNDg0IEwxMDI0LDU2LjUxNSBDMTAyNCwyNS4zMDMgOTk4LjY5NywwIDk2Ny40ODQsMCIgaWQ9IkZpbGwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(220, 100%, 90%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="instagram.com"] .ck-media__placeholder {\n\t\tbackground: linear-gradient(-135deg,hsl(246, 100%, 39%),hsl(302, 100%, 36%),hsl(0, 100%, 48%));\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSI1MDRweCIgaGVpZ2h0PSI1MDRweCIgdmlld0JveD0iMCAwIDUwNCA1MDQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+Z2x5cGgtbG9nb19NYXkyMDE2PC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDAuMTU5IDUwMy44NDEgMC4xNTkgNTAzLjg0MSA1MDMuOTQgMCA1MDMuOTQiPjwvcG9seWdvbj4gICAgPC9kZWZzPiAgICA8ZyBpZD0iZ2x5cGgtbG9nb19NYXkyMDE2IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJHcm91cC0zIj4gICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+ICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+ICAgICAgICAgICAgPC9tYXNrPiAgICAgICAgICAgIDxnIGlkPSJDbGlwLTIiPjwvZz4gICAgICAgICAgICA8cGF0aCBkPSJNMjUxLjkyMSwwLjE1OSBDMTgzLjUwMywwLjE1OSAxNzQuOTI0LDAuNDQ5IDE0OC4wNTQsMS42NzUgQzEyMS4yNCwyLjg5OCAxMDIuOTI3LDcuMTU3IDg2LjkwMywxMy4zODUgQzcwLjMzNywxOS44MjIgNTYuMjg4LDI4LjQzNiA0Mi4yODIsNDIuNDQxIEMyOC4yNzcsNTYuNDQ3IDE5LjY2Myw3MC40OTYgMTMuMjI2LDg3LjA2MiBDNi45OTgsMTAzLjA4NiAyLjczOSwxMjEuMzk5IDEuNTE2LDE0OC4yMTMgQzAuMjksMTc1LjA4MyAwLDE4My42NjIgMCwyNTIuMDggQzAsMzIwLjQ5NyAwLjI5LDMyOS4wNzYgMS41MTYsMzU1Ljk0NiBDMi43MzksMzgyLjc2IDYuOTk4LDQwMS4wNzMgMTMuMjI2LDQxNy4wOTcgQzE5LjY2Myw0MzMuNjYzIDI4LjI3Nyw0NDcuNzEyIDQyLjI4Miw0NjEuNzE4IEM1Ni4yODgsNDc1LjcyMyA3MC4zMzcsNDg0LjMzNyA4Ni45MDMsNDkwLjc3NSBDMTAyLjkyNyw0OTcuMDAyIDEyMS4yNCw1MDEuMjYxIDE0OC4wNTQsNTAyLjQ4NCBDMTc0LjkyNCw1MDMuNzEgMTgzLjUwMyw1MDQgMjUxLjkyMSw1MDQgQzMyMC4zMzgsNTA0IDMyOC45MTcsNTAzLjcxIDM1NS43ODcsNTAyLjQ4NCBDMzgyLjYwMSw1MDEuMjYxIDQwMC45MTQsNDk3LjAwMiA0MTYuOTM4LDQ5MC43NzUgQzQzMy41MDQsNDg0LjMzNyA0NDcuNTUzLDQ3NS43MjMgNDYxLjU1OSw0NjEuNzE4IEM0NzUuNTY0LDQ0Ny43MTIgNDg0LjE3OCw0MzMuNjYzIDQ5MC42MTYsNDE3LjA5NyBDNDk2Ljg0Myw0MDEuMDczIDUwMS4xMDIsMzgyLjc2IDUwMi4zMjUsMzU1Ljk0NiBDNTAzLjU1MSwzMjkuMDc2IDUwMy44NDEsMzIwLjQ5NyA1MDMuODQxLDI1Mi4wOCBDNTAzLjg0MSwxODMuNjYyIDUwMy41NTEsMTc1LjA4MyA1MDIuMzI1LDE0OC4yMTMgQzUwMS4xMDIsMTIxLjM5OSA0OTYuODQzLDEwMy4wODYgNDkwLjYxNiw4Ny4wNjIgQzQ4NC4xNzgsNzAuNDk2IDQ3NS41NjQsNTYuNDQ3IDQ2MS41NTksNDIuNDQxIEM0NDcuNTUzLDI4LjQzNiA0MzMuNTA0LDE5LjgyMiA0MTYuOTM4LDEzLjM4NSBDNDAwLjkxNCw3LjE1NyAzODIuNjAxLDIuODk4IDM1NS43ODcsMS42NzUgQzMyOC45MTcsMC40NDkgMzIwLjMzOCwwLjE1OSAyNTEuOTIxLDAuMTU5IFogTTI1MS45MjEsNDUuNTUgQzMxOS4xODYsNDUuNTUgMzI3LjE1NCw0NS44MDcgMzUzLjcxOCw0Ny4wMTkgQzM3OC4yOCw0OC4xMzkgMzkxLjYxOSw1Mi4yNDMgNDAwLjQ5Niw1NS42OTMgQzQxMi4yNTUsNjAuMjYzIDQyMC42NDcsNjUuNzIyIDQyOS40NjIsNzQuNTM4IEM0MzguMjc4LDgzLjM1MyA0NDMuNzM3LDkxLjc0NSA0NDguMzA3LDEwMy41MDQgQzQ1MS43NTcsMTEyLjM4MSA0NTUuODYxLDEyNS43MiA0NTYuOTgxLDE1MC4yODIgQzQ1OC4xOTMsMTc2Ljg0NiA0NTguNDUsMTg0LjgxNCA0NTguNDUsMjUyLjA4IEM0NTguNDUsMzE5LjM0NSA0NTguMTkzLDMyNy4zMTMgNDU2Ljk4MSwzNTMuODc3IEM0NTUuODYxLDM3OC40MzkgNDUxLjc1NywzOTEuNzc4IDQ0OC4zMDcsNDAwLjY1NSBDNDQzLjczNyw0MTIuNDE0IDQzOC4yNzgsNDIwLjgwNiA0MjkuNDYyLDQyOS42MjEgQzQyMC42NDcsNDM4LjQzNyA0MTIuMjU1LDQ0My44OTYgNDAwLjQ5Niw0NDguNDY2IEMzOTEuNjE5LDQ1MS45MTYgMzc4LjI4LDQ1Ni4wMiAzNTMuNzE4LDQ1Ny4xNCBDMzI3LjE1OCw0NTguMzUyIDMxOS4xOTEsNDU4LjYwOSAyNTEuOTIxLDQ1OC42MDkgQzE4NC42NSw0NTguNjA5IDE3Ni42ODQsNDU4LjM1MiAxNTAuMTIzLDQ1Ny4xNCBDMTI1LjU2MSw0NTYuMDIgMTEyLjIyMiw0NTEuOTE2IDEwMy4zNDUsNDQ4LjQ2NiBDOTEuNTg2LDQ0My44OTYgODMuMTk0LDQzOC40MzcgNzQuMzc5LDQyOS42MjEgQzY1LjU2NCw0MjAuODA2IDYwLjEwNCw0MTIuNDE0IDU1LjUzNCw0MDAuNjU1IEM1Mi4wODQsMzkxLjc3OCA0Ny45OCwzNzguNDM5IDQ2Ljg2LDM1My44NzcgQzQ1LjY0OCwzMjcuMzEzIDQ1LjM5MSwzMTkuMzQ1IDQ1LjM5MSwyNTIuMDggQzQ1LjM5MSwxODQuODE0IDQ1LjY0OCwxNzYuODQ2IDQ2Ljg2LDE1MC4yODIgQzQ3Ljk4LDEyNS43MiA1Mi4wODQsMTEyLjM4MSA1NS41MzQsMTAzLjUwNCBDNjAuMTA0LDkxLjc0NSA2NS41NjMsODMuMzUzIDc0LjM3OSw3NC41MzggQzgzLjE5NCw2NS43MjIgOTEuNTg2LDYwLjI2MyAxMDMuMzQ1LDU1LjY5MyBDMTEyLjIyMiw1Mi4yNDMgMTI1LjU2MSw0OC4xMzkgMTUwLjEyMyw0Ny4wMTkgQzE3Ni42ODcsNDUuODA3IDE4NC42NTUsNDUuNTUgMjUxLjkyMSw0NS41NSBaIiBpZD0iRmlsbC0xIiBmaWxsPSIjRkZGRkZGIiBtYXNrPSJ1cmwoI21hc2stMikiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgICAgIDxwYXRoIGQ9Ik0yNTEuOTIxLDMzNi4wNTMgQzIwNS41NDMsMzM2LjA1MyAxNjcuOTQ3LDI5OC40NTcgMTY3Ljk0NywyNTIuMDggQzE2Ny45NDcsMjA1LjcwMiAyMDUuNTQzLDE2OC4xMDYgMjUxLjkyMSwxNjguMTA2IEMyOTguMjk4LDE2OC4xMDYgMzM1Ljg5NCwyMDUuNzAyIDMzNS44OTQsMjUyLjA4IEMzMzUuODk0LDI5OC40NTcgMjk4LjI5OCwzMzYuMDUzIDI1MS45MjEsMzM2LjA1MyBaIE0yNTEuOTIxLDEyMi43MTUgQzE4MC40NzQsMTIyLjcxNSAxMjIuNTU2LDE4MC42MzMgMTIyLjU1NiwyNTIuMDggQzEyMi41NTYsMzIzLjUyNiAxODAuNDc0LDM4MS40NDQgMjUxLjkyMSwzODEuNDQ0IEMzMjMuMzY3LDM4MS40NDQgMzgxLjI4NSwzMjMuNTI2IDM4MS4yODUsMjUyLjA4IEMzODEuMjg1LDE4MC42MzMgMzIzLjM2NywxMjIuNzE1IDI1MS45MjEsMTIyLjcxNSBaIiBpZD0iRmlsbC00IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICA8cGF0aCBkPSJNNDE2LjYyNywxMTcuNjA0IEM0MTYuNjI3LDEzNC4zIDQwMy4wOTIsMTQ3LjgzNCAzODYuMzk2LDE0Ny44MzQgQzM2OS43MDEsMTQ3LjgzNCAzNTYuMTY2LDEzNC4zIDM1Ni4xNjYsMTE3LjYwNCBDMzU2LjE2NiwxMDAuOTA4IDM2OS43MDEsODcuMzczIDM4Ni4zOTYsODcuMzczIEM0MDMuMDkyLDg3LjM3MyA0MTYuNjI3LDEwMC45MDggNDE2LjYyNywxMTcuNjA0IiBpZD0iRmlsbC01IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgIDwvZz48L3N2Zz4=);\n\t\t}\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(302, 100%, 94%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n\n\t&[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder {\n\t\t/* Use gradient to contrast with focused widget (ckeditor/ckeditor5-media-embed#22). */\n\t\tbackground: linear-gradient( to right, hsl(201, 85%, 70%), hsl(201, 85%, 35%) );\n\n\t\t& .ck-media__placeholder__icon {\n\t\t\tbackground-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IldoaXRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQwMCA0MDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMCA0MDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDojRkZGRkZGO308L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MDAsMjAwYzAsMTEwLjUtODkuNSwyMDAtMjAwLDIwMFMwLDMxMC41LDAsMjAwUzg5LjUsMCwyMDAsMFM0MDAsODkuNSw0MDAsMjAweiBNMTYzLjQsMzA1LjVjODguNywwLDEzNy4yLTczLjUsMTM3LjItMTM3LjJjMC0yLjEsMC00LjItMC4xLTYuMmM5LjQtNi44LDE3LjYtMTUuMywyNC4xLTI1Yy04LjYsMy44LTE3LjksNi40LTI3LjcsNy42YzEwLTYsMTcuNi0xNS40LDIxLjItMjYuN2MtOS4zLDUuNS0xOS42LDkuNS0zMC42LDExLjdjLTguOC05LjQtMjEuMy0xNS4yLTM1LjItMTUuMmMtMjYuNiwwLTQ4LjIsMjEuNi00OC4yLDQ4LjJjMCwzLjgsMC40LDcuNSwxLjMsMTFjLTQwLjEtMi03NS42LTIxLjItOTkuNC01MC40Yy00LjEsNy4xLTYuNSwxNS40LTYuNSwyNC4yYzAsMTYuNyw4LjUsMzEuNSwyMS41LDQwLjFjLTcuOS0wLjItMTUuMy0yLjQtMjEuOC02YzAsMC4yLDAsMC40LDAsMC42YzAsMjMuNCwxNi42LDQyLjgsMzguNyw0Ny4zYy00LDEuMS04LjMsMS43LTEyLjcsMS43Yy0zLjEsMC02LjEtMC4zLTkuMS0wLjljNi4xLDE5LjIsMjMuOSwzMy4xLDQ1LDMzLjVjLTE2LjUsMTIuOS0zNy4zLDIwLjYtNTkuOSwyMC42Yy0zLjksMC03LjctMC4yLTExLjUtMC43QzExMC44LDI5Ny41LDEzNi4yLDMwNS41LDE2My40LDMwNS41Ii8+PC9zdmc+);\n\t\t}\n\n\t\t& .ck-media__placeholder__url__text {\n\t\t\tcolor: hsl(201, 100%, 86%);\n\n\t\t\t&:hover {\n\t\t\t\tcolor: hsl(0, 0%, 100%);\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const O=M},5651:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-media-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap}.ck.ck-media-form .ck-labeled-field-view{display:inline-block}.ck.ck-media-form .ck-label{display:none}@media screen and (max-width:600px){.ck.ck-media-form{flex-wrap:wrap}.ck.ck-media-form .ck-labeled-field-view{flex-basis:100%}.ck.ck-media-form .ck-button{flex-basis:50%}}","",{version:3,sources:["webpack://./../ckeditor5-media-embed/theme/mediaform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css"],names:[],mappings:"AAOA,kBAEC,sBAAuB,CADvB,YAAa,CAEb,kBAAmB,CACnB,gBAqBD,CAnBC,yCACC,oBACD,CAEA,4BACC,YACD,CCbA,oCDCD,kBAeE,cAUF,CARE,yCACC,eACD,CAEA,6BACC,cACD,CCtBD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck.ck-media-form {\n\tdisplay: flex;\n\talign-items: flex-start;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\n\t& .ck-labeled-field-view {\n\t\tdisplay: inline-block;\n\t}\n\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t@mixin ck-media-phone {\n\t\tflex-wrap: wrap;\n\n\t\t& .ck-labeled-field-view {\n\t\t\tflex-basis: 100%;\n\t\t}\n\n\t\t& .ck-button {\n\t\t\tflex-basis: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},5506:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-input-color{display:flex;flex-direction:row-reverse;width:100%}.ck.ck-input-color>input.ck.ck-input-text{flex-grow:1;min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown{min-width:auto}.ck.ck-input-color>div.ck.ck-dropdown>.ck-input-color__button .ck-dropdown__arrow{display:none}.ck.ck-input-color .ck.ck-input-color__button{display:flex}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview{overflow:hidden;position:relative}.ck.ck-input-color .ck.ck-input-color__button .ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{display:block;position:absolute}[dir=ltr] .ck.ck-input-color>.ck.ck-input-text{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-input-text{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-input-color>.ck.ck-input-text:focus{z-index:0}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{padding:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-left-radius:0;border-top-left-radius:0}[dir=ltr] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-left:1px solid transparent}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button:not(:focus){border-right:1px solid transparent}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button.ck-disabled{background:var(--ck-color-input-disabled-background)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border-radius:0}.ck-rounded-corners .ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview,.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview{border:1px solid var(--ck-color-input-border);height:20px;width:20px}.ck.ck-input-color>.ck.ck-dropdown>.ck.ck-button.ck-input-color__button>.ck.ck-input-color__button__preview>.ck.ck-input-color__button__preview__no-color-indicator{background:red;border-radius:2px;height:150%;left:50%;top:-30%;transform:rotate(45deg);transform-origin:50%;width:8%}.ck.ck-input-color .ck.ck-input-color__remove-color{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard);width:100%}.ck.ck-input-color .ck.ck-input-color__remove-color:not(:focus){border-bottom:1px solid var(--ck-color-input-border)}[dir=ltr] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-right-radius:0}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color{border-top-left-radius:0}.ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon{margin-left:var(--ck-spacing-standard);margin-right:0}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/colorinput.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,YAAa,CACb,0BAA2B,CAF3B,UAgCD,CA5BC,0CAEC,WAAY,CADZ,cAED,CAEA,sCACC,cAMD,CAHC,kFACC,YACD,CAGD,8CAEC,YAWD,CATC,kFAEC,eAAgB,CADhB,iBAOD,CAJC,0IAEC,aAAc,CADd,iBAED,CC1BF,+CAGE,4BAA6B,CAD7B,yBAcF,CAhBA,+CAQE,2BAA4B,CAD5B,wBASF,CAHC,2CACC,SACD,CAIA,wEACC,SA0CD,CA3CA,kFAKE,2BAA4B,CAD5B,wBAuCF,CApCE,8FACC,iCACD,CATF,kFAcE,4BAA6B,CAD7B,yBA8BF,CA3BE,8FACC,kCACD,CAGD,oFACC,oDACD,CAEA,4GC1CF,eD2DE,CAjBA,+PCtCD,qCDuDC,CAjBA,4GAKC,6CAA8C,CAD9C,WAAY,CADZ,UAcD,CAVC,oKAKC,cAA6B,CAC7B,iBAAkB,CAHlB,WAAY,CADZ,QAAS,CADT,QAAS,CAMT,uBAAwB,CACxB,oBAAqB,CAJrB,QAKD,CAKH,oDAIC,2BAA4B,CAC5B,4BAA6B,CAH7B,qEAAwE,CADxE,UA0BD,CApBC,gEACC,oDACD,CATD,8DAYE,yBAeF,CA3BA,8DAgBE,wBAWF,CARC,gEACC,uCAMD,CAPA,0EAKE,sCAAuC,CADvC,cAGF",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-input-color {\n\twidth: 100%;\n\tdisplay: flex;\n\tflex-direction: row-reverse;\n\n\t& > input.ck.ck-input-text {\n\t\tmin-width: auto;\n\t\tflex-grow: 1;\n\t}\n\n\t& > div.ck.ck-dropdown {\n\t\tmin-width: auto;\n\n\t\t/* This dropdown has no arrow but a color preview instead. */\n\t\t& > .ck-input-color__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__button {\n\t\t/* Resolving issue with misaligned buttons on Safari (see #10589) */\n\t\tdisplay: flex;\n\n\t\t& .ck.ck-input-color__button__preview {\n\t\t\tposition: relative;\n\t\t\toverflow: hidden;\n\n\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../mixins/_rounded.css";\n\n.ck.ck-input-color {\n\t& > .ck.ck-input-text {\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* Make sure the focused input is always on top of the dropdown button so its\n\t\t   outline and border are never cropped (also when the input is read-only). */\n\t\t&:focus {\n\t\t\tz-index: 0;\n\t\t}\n\t}\n\n\t& > .ck.ck-dropdown {\n\t\t& > .ck.ck-button.ck-input-color__button {\n\t\t\tpadding: 0;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-left: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t\t&:not(:focus) {\n\t\t\t\t\tborder-right: 1px solid transparent;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&.ck-disabled {\n\t\t\t\tbackground: var(--ck-color-input-disabled-background);\n\t\t\t}\n\n\t\t\t& > .ck.ck-input-color__button__preview {\n\t\t\t\t@mixin ck-rounded-corners;\n\n\t\t\t\twidth: 20px;\n\t\t\t\theight: 20px;\n\t\t\t\tborder: 1px solid var(--ck-color-input-border);\n\n\t\t\t\t& > .ck.ck-input-color__button__preview__no-color-indicator {\n\t\t\t\t\ttop: -30%;\n\t\t\t\t\tleft: 50%;\n\t\t\t\t\theight: 150%;\n\t\t\t\t\twidth: 8%;\n\t\t\t\t\tbackground: hsl(0, 100%, 50%);\n\t\t\t\t\tborder-radius: 2px;\n\t\t\t\t\ttransform: rotate(45deg);\n\t\t\t\t\ttransform-origin: 50%;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-input-color__remove-color {\n\t\twidth: 100%;\n\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\n\t\tborder-bottom-left-radius: 0;\n\t\tborder-bottom-right-radius: 0;\n\n\t\t&:not(:focus) {\n\t\t\tborder-bottom: 1px solid var(--ck-color-input-border);\n\t\t}\n\n\t\t@mixin ck-dir ltr {\n\t\t\tborder-top-right-radius: 0;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tborder-top-left-radius: 0;\n\t\t}\n\n\t\t& .ck.ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: 0;\n\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},4043:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-form{padding:0 0 var(--ck-spacing-large)}.ck.ck-form:focus{outline:none}.ck.ck-form .ck.ck-input-text{min-width:100%;width:0}.ck.ck-form .ck.ck-dropdown{min-width:100%}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus){border:1px solid var(--ck-color-base-border)}.ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label{width:100%}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/form.css"],names:[],mappings:"AAKA,YACC,mCAyBD,CAvBC,kBAEC,YACD,CAEA,8BACC,cAAe,CACf,OACD,CAEA,4BACC,cAWD,CARE,6DACC,4CACD,CAEA,mEACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form {\n\tpadding: 0 0 var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t& .ck.ck-input-text {\n\t\tmin-width: 100%;\n\t\twidth: 0;\n\t}\n\n\t& .ck.ck-dropdown {\n\t\tmin-width: 100%;\n\n\t\t& .ck-dropdown__button {\n\t\t\t&:not(:focus) {\n\t\t\t\tborder: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck-button__label {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},2655:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-form__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__row>:not(.ck-label){flex-grow:1}.ck.ck-form__row.ck-table-form__action-row .ck-button-cancel,.ck.ck-form__row.ck-table-form__action-row .ck-button-save{justify-content:center}.ck.ck-form__row{padding:var(--ck-spacing-standard) var(--ck-spacing-large) 0}[dir=ltr] .ck.ck-form__row>:not(.ck-label)+*{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-form__row>:not(.ck-label)+*{margin-right:var(--ck-spacing-large)}.ck.ck-form__row>.ck-label{min-width:100%;width:100%}.ck.ck-form__row.ck-table-form__action-row{margin-top:var(--ck-spacing-large)}.ck.ck-form__row.ck-table-form__action-row .ck-button .ck-button__label{color:var(--ck-color-text)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/formrow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/formrow.css"],names:[],mappings:"AAKA,iBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAaD,CAVC,iCACC,WACD,CAGC,wHAEC,sBACD,CCbF,iBACC,4DA2BD,CAvBE,6CAEE,mCAMF,CARA,6CAME,oCAEF,CAGD,2BAEC,cAAe,CADf,UAED,CAEA,2CACC,kCAKD,CAHC,wEACC,0BACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\tflex-grow: 1;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\t& .ck-button-save,\n\t\t& .ck-button-cancel {\n\t\t\tjustify-content: center;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-form__row {\n\tpadding: var(--ck-spacing-standard) var(--ck-spacing-large) 0;\n\n\t/* Ignore labels that work as fieldset legends */\n\t& > *:not(.ck-label) {\n\t\t& + * {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-label {\n\t\twidth: 100%;\n\t\tmin-width: 100%;\n\t}\n\n\t&.ck-table-form__action-row {\n\t\tmargin-top: var(--ck-spacing-large);\n\n\t\t& .ck-button .ck-button__label {\n\t\t\tcolor: var(--ck-color-text);\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const O=M},5032:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck .ck-insert-table-dropdown__grid{display:flex;flex-direction:row;flex-wrap:wrap}:root{--ck-insert-table-dropdown-padding:10px;--ck-insert-table-dropdown-box-height:11px;--ck-insert-table-dropdown-box-width:12px;--ck-insert-table-dropdown-box-margin:1px}.ck .ck-insert-table-dropdown__grid{padding:var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;width:calc(var(--ck-insert-table-dropdown-box-width)*10 + var(--ck-insert-table-dropdown-box-margin)*20 + var(--ck-insert-table-dropdown-padding)*2)}.ck .ck-insert-table-dropdown__label,.ck[dir=rtl] .ck-insert-table-dropdown__label{text-align:center}.ck .ck-insert-table-dropdown-grid-box{border:1px solid var(--ck-color-base-border);border-radius:1px;margin:var(--ck-insert-table-dropdown-box-margin);min-height:var(--ck-insert-table-dropdown-box-height);min-width:var(--ck-insert-table-dropdown-box-width);outline:none;transition:none}.ck .ck-insert-table-dropdown-grid-box:focus{box-shadow:none}.ck .ck-insert-table-dropdown-grid-box.ck-on{background:var(--ck-color-focus-outer-shadow);border-color:var(--ck-color-focus-border)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/inserttable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/inserttable.css"],names:[],mappings:"AAKA,oCACC,YAAa,CACb,kBAAmB,CACnB,cACD,CCJA,MACC,uCAAwC,CACxC,0CAA2C,CAC3C,yCAA0C,CAC1C,yCACD,CAEA,oCAGC,yFAA0F,CAD1F,oJAED,CAEA,mFAEC,iBACD,CAEA,uCAIC,4CAA6C,CAC7C,iBAAkB,CAFlB,iDAAkD,CADlD,qDAAsD,CADtD,mDAAoD,CAKpD,YAAa,CACb,eAUD,CARC,6CACC,eACD,CAEA,6CAEC,6CAA8C,CAD9C,yCAED",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-insert-table-dropdown__grid {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: wrap;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-insert-table-dropdown-padding: 10px;\n\t--ck-insert-table-dropdown-box-height: 11px;\n\t--ck-insert-table-dropdown-box-width: 12px;\n\t--ck-insert-table-dropdown-box-margin: 1px;\n}\n\n.ck .ck-insert-table-dropdown__grid {\n\t/* The width of a container should match 10 items in a row so there will be a 10x10 grid. */\n\twidth: calc(var(--ck-insert-table-dropdown-box-width) * 10 + var(--ck-insert-table-dropdown-box-margin) * 20 + var(--ck-insert-table-dropdown-padding) * 2);\n\tpadding: var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;\n}\n\n.ck .ck-insert-table-dropdown__label,\n.ck[dir=rtl] .ck-insert-table-dropdown__label {\n\ttext-align: center;\n}\n\n.ck .ck-insert-table-dropdown-grid-box {\n\tmin-width: var(--ck-insert-table-dropdown-box-width);\n\tmin-height: var(--ck-insert-table-dropdown-box-height);\n\tmargin: var(--ck-insert-table-dropdown-box-margin);\n\tborder: 1px solid var(--ck-color-base-border);\n\tborder-radius: 1px;\n\toutline: none;\n\ttransition: none;\n\n\t&:focus {\n\t\tbox-shadow: none;\n\t}\n\n\t&.ck-on {\n\t\tborder-color: var(--ck-color-focus-border);\n\t\tbackground: var(--ck-color-focus-outer-shadow);\n\t}\n}\n\n"],sourceRoot:""}]);const O=M},2329:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck-content .table{display:table;margin:.9em auto}.ck-content .table table{border:1px double #b3b3b3;border-collapse:collapse;border-spacing:0;height:100%;width:100%}.ck-content .table table td,.ck-content .table table th{border:1px solid #bfbfbf;min-width:2em;padding:.4em}.ck-content .table table th{background:rgba(0,0,0,.05);font-weight:700}.ck-content[dir=rtl] .table th{text-align:right}.ck-content[dir=ltr] .table th{text-align:left}.ck-editor__editable .ck-table-bogus-paragraph{display:inline-block;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/table.css"],names:[],mappings:"AAKA,mBAKC,aAAc,CADd,gBAiCD,CA9BC,yBAYC,yBAAkC,CAVlC,wBAAyB,CACzB,gBAAiB,CAKjB,WAAY,CADZ,UAsBD,CAfC,wDAQC,wBAAiC,CANjC,aAAc,CACd,YAMD,CAEA,4BAEC,0BAA+B,CAD/B,eAED,CAMF,+BACC,gBACD,CAEA,+BACC,eACD,CAEA,+CAKC,oBAAqB,CAMrB,UACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck-content .table {\n\t/* Give the table widget some air and center it horizontally */\n\t/* The first value should be equal to --ck-spacing-large variable if used in the editor context\n\tto avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */\n\tmargin: 0.9em auto;\n\tdisplay: table;\n\n\t& table {\n\t\t/* The table cells should have slight borders */\n\t\tborder-collapse: collapse;\n\t\tborder-spacing: 0;\n\n\t\t/* Table width and height are set on the parent <figure>. Make sure the table inside stretches\n\t\tto the full dimensions of the container (https://github.com/ckeditor/ckeditor5/issues/6186). */\n\t\twidth: 100%;\n\t\theight: 100%;\n\n\t\t/* The outer border of the table should be slightly darker than the inner lines.\n\t\tAlso see https://github.com/ckeditor/ckeditor5-table/issues/50. */\n\t\tborder: 1px double hsl(0, 0%, 70%);\n\n\t\t& td,\n\t\t& th {\n\t\t\tmin-width: 2em;\n\t\t\tpadding: .4em;\n\n\t\t\t/* The border is inherited from .ck-editor__nested-editable styles, so theoretically it\'s not necessary here.\n\t\t\tHowever, the border is a content style, so it should use .ck-content (so it works outside the editor).\n\t\t\tHence, the duplication. See https://github.com/ckeditor/ckeditor5/issues/6314 */\n\t\t\tborder: 1px solid hsl(0, 0%, 75%);\n\t\t}\n\n\t\t& th {\n\t\t\tfont-weight: bold;\n\t\t\tbackground: hsla(0, 0%, 0%, 5%);\n\t\t}\n\t}\n}\n\n/* Text alignment of the table header should match the editor settings and override the native browser styling,\nwhen content is available outside the editor. See https://github.com/ckeditor/ckeditor5/issues/6638 */\n.ck-content[dir="rtl"] .table th {\n\ttext-align: right;\n}\n\n.ck-content[dir="ltr"] .table th {\n\ttext-align: left;\n}\n\n.ck-editor__editable .ck-table-bogus-paragraph {\n\t/*\n\t * Use display:inline-block to force Chrome/Safari to limit text mutations to this element.\n\t * See https://github.com/ckeditor/ckeditor5/issues/6062.\n\t */\n\tdisplay: inline-block;\n\n\t/*\n\t * Inline HTML elements nested in the span should always be dimensioned in relation to the whole cell width.\n\t * See https://github.com/ckeditor/ckeditor5/issues/9117.\n\t */\n\twidth: 100%;\n}\n'],sourceRoot:""}]);const O=M},4143:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-color-selector-caption-background:#f7f7f7;--ck-color-selector-caption-text:#333;--ck-color-selector-caption-highlighted-background:#fd0}.ck-content .table>figcaption{background-color:var(--ck-color-selector-caption-background);caption-side:top;color:var(--ck-color-selector-caption-text);display:table-caption;font-size:.75em;outline-offset:-1px;padding:.6em;text-align:center;word-break:break-word}.ck.ck-editor__editable .table>figcaption.table__caption_highlighted{animation:ck-table-caption-highlight .6s ease-out}.ck.ck-editor__editable .table>figcaption.ck-placeholder:before{overflow:hidden;padding-left:inherit;padding-right:inherit;text-overflow:ellipsis;white-space:nowrap}@keyframes ck-table-caption-highlight{0%{background-color:var(--ck-color-selector-caption-highlighted-background)}to{background-color:var(--ck-color-selector-caption-background)}}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecaption.css"],names:[],mappings:"AAKA,MACC,8CAAuD,CACvD,qCAAiD,CACjD,uDACD,CAGA,8BAMC,4DAA6D,CAJ7D,gBAAiB,CAGjB,2CAA4C,CAJ5C,qBAAsB,CAOtB,eAAgB,CAChB,mBAAoB,CAFpB,YAAa,CAHb,iBAAkB,CADlB,qBAOD,CAIC,qEACC,iDACD,CAEA,gEASC,eAAgB,CARhB,oBAAqB,CACrB,qBAAsB,CAQtB,sBAAuB,CAFvB,kBAGD,CAGD,sCACC,GACC,wEACD,CAEA,GACC,4DACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-caption-background: hsl(0, 0%, 97%);\n\t--ck-color-selector-caption-text: hsl(0, 0%, 20%);\n\t--ck-color-selector-caption-highlighted-background: hsl(52deg 100% 50%);\n}\n\n/* Content styles */\n.ck-content .table > figcaption {\n\tdisplay: table-caption;\n\tcaption-side: top;\n\tword-break: break-word;\n\ttext-align: center;\n\tcolor: var(--ck-color-selector-caption-text);\n\tbackground-color: var(--ck-color-selector-caption-background);\n\tpadding: .6em;\n\tfont-size: .75em;\n\toutline-offset: -1px;\n}\n\n/* Editing styles */\n.ck.ck-editor__editable .table > figcaption {\n\t&.table__caption_highlighted {\n\t\tanimation: ck-table-caption-highlight .6s ease-out;\n\t}\n\n\t&.ck-placeholder::before {\n\t\tpadding-left: inherit;\n\t\tpadding-right: inherit;\n\n\t\t/*\n\t\t * Make sure the table caption placeholder doesn't overflow the placeholder area.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9162.\n\t\t */\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t}\n}\n\n@keyframes ck-table-caption-highlight {\n\t0% {\n\t\tbackground-color: var(--ck-color-selector-caption-highlighted-background);\n\t}\n\n\t100% {\n\t\tbackground-color: var(--ck-color-selector-caption-background);\n\t}\n}\n"],sourceRoot:""}]);const O=M},8986:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row{flex-wrap:wrap}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:first-of-type{flex-grow:0.57}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar:last-of-type{flex-grow:0.43}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar .ck-button{flex-grow:1}.ck.ck-table-cell-properties-form{width:320px}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__padding-row{align-self:flex-end;padding:0;width:25%}.ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecellproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tablecellproperties.css"],names:[],mappings:"AAOE,6FACC,cAiBD,CAdE,0HAEC,cACD,CAEA,yHAEC,cACD,CAEA,uHACC,WACD,CClBJ,kCACC,WAkBD,CAfE,2FACC,mBAAoB,CACpB,SAAU,CACV,SACD,CAGC,4GACC,eAAgB,CAGhB,qCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\t&:first-of-type {\n\t\t\t\t\t/* 4 buttons out of 7 (h-alignment + v-alignment) = 0.57 */\n\t\t\t\t\tflex-grow: 0.57;\n\t\t\t\t}\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\t/* 3 buttons out of 7 (h-alignment + v-alignment) = 0.43 */\n\t\t\t\t\tflex-grow: 0.43;\n\t\t\t\t}\n\n\t\t\t\t& .ck-button {\n\t\t\t\t\tflex-grow: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-cell-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-cell-properties-form__padding-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\t\t\twidth: 25%;\n\t\t}\n\n\t\t&.ck-table-cell-properties-form__alignment-row {\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},8795:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-color-selector-column-resizer-hover:var(--ck-color-base-active);--ck-table-column-resizer-width:7px;--ck-table-column-resizer-position-offset:calc(var(--ck-table-column-resizer-width)*-0.5 - 0.5px)}.ck-content .table .ck-table-resized{table-layout:fixed}.ck-content .table table{overflow:hidden}.ck-content .table td,.ck-content .table th{overflow-wrap:break-word;position:relative}.ck.ck-editor__editable .table .ck-table-column-resizer{bottom:0;cursor:col-resize;position:absolute;right:var(--ck-table-column-resizer-position-offset);top:0;user-select:none;width:var(--ck-table-column-resizer-width);z-index:var(--ck-z-default)}.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer,.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer{display:none}.ck.ck-editor__editable .table .ck-table-column-resizer:hover,.ck.ck-editor__editable .table .ck-table-column-resizer__active{background-color:var(--ck-color-selector-column-resizer-hover);bottom:-999999px;opacity:.25;top:-999999px}.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer{left:var(--ck-table-column-resizer-position-offset);right:unset}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tablecolumnresize.css"],names:[],mappings:"AAKA,MACC,oEAAqE,CACrE,mCAAoC,CAIpC,iGACD,CAEA,qCACC,kBACD,CAEA,yBACC,eACD,CAEA,4CAIC,wBAAyB,CACzB,iBACD,CAEA,wDAGC,QAAS,CAGT,iBAAkB,CALlB,iBAAkB,CAGlB,oDAAqD,CAFrD,KAAM,CAKN,gBAAiB,CAFjB,0CAA2C,CAG3C,2BACD,CAQA,qJACC,YACD,CAEA,8HAEC,8DAA+D,CAO/D,gBAAiB,CANjB,WAAa,CAKb,aAED,CAEA,iEACC,mDAAoD,CACpD,WACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-column-resizer-hover: var(--ck-color-base-active);\n\t--ck-table-column-resizer-width: 7px;\n\n\t/* The offset used for absolute positioning of the resizer element, so that it is placed exactly above the cell border.\n\t   The value is: minus half the width of the resizer decreased additionaly by the half the width of the border (0.5px). */\n\t--ck-table-column-resizer-position-offset: calc(var(--ck-table-column-resizer-width) * -0.5 - 0.5px);\n}\n\n.ck-content .table .ck-table-resized {\n\ttable-layout: fixed;\n}\n\n.ck-content .table table {\n\toverflow: hidden;\n}\n\n.ck-content .table td,\n.ck-content .table th {\n\t/* To prevent text overflowing beyond its cell when columns are resized by resize handler\n\t(https://github.com/ckeditor/ckeditor5/pull/14379#issuecomment-1589460978). */\n\toverflow-wrap: break-word;\n\tposition: relative;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer {\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tright: var(--ck-table-column-resizer-position-offset);\n\twidth: var(--ck-table-column-resizer-width);\n\tcursor: col-resize;\n\tuser-select: none;\n\tz-index: var(--ck-z-default);\n}\n\n.ck.ck-editor__editable.ck-column-resize_disabled .table .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n/* The resizer elements, which are extended to an extremely high height, break the drag & drop feature in Chrome. To make it work again,\n   all resizers must be hidden while the table is dragged. */\n.ck.ck-editor__editable .table[draggable] .ck-table-column-resizer {\n\tdisplay: none;\n}\n\n.ck.ck-editor__editable .table .ck-table-column-resizer:hover,\n.ck.ck-editor__editable .table .ck-table-column-resizer__active {\n\tbackground-color: var(--ck-color-selector-column-resizer-hover);\n\topacity: 0.25;\n\t/* The resizer element resides in each cell so to occupy the entire height of the table, which is unknown from a CSS point of view,\n\t   it is extended to an extremely high height. Even for screens with a very high pixel density, the resizer will fulfill its role as\n\t   it should, i.e. for a screen of 476 ppi the total height of the resizer will take over 350 sheets of A4 format, which is totally\n\t   unrealistic height for a single table. */\n\ttop: -999999px;\n\tbottom: -999999px;\n}\n\n.ck.ck-editor__editable[dir=rtl] .table .ck-table-column-resizer {\n\tleft: var(--ck-table-column-resizer-position-offset);\n\tright: unset;\n}\n"],sourceRoot:""}]);const O=M},8137:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-color-selector-focused-cell-background:rgba(158,201,250,.3)}.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table td.ck-editor__nested-editable:focus,.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck-widget.table th.ck-editor__nested-editable:focus{background:var(--ck-color-selector-focused-cell-background);border-style:none;outline:1px solid var(--ck-color-focus-border);outline-offset:-1px}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableediting.css"],names:[],mappings:"AAKA,MACC,gEACD,CAKE,8QAGC,2DAA4D,CAK5D,iBAAkB,CAClB,8CAA+C,CAC/C,mBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-selector-focused-cell-background: hsla(212, 90%, 80%, .3);\n}\n\n.ck-widget.table {\n\t& td,\n\t& th {\n\t\t&.ck-editor__nested-editable.ck-editor__nested-editable_focused,\n\t\t&.ck-editor__nested-editable:focus {\n\t\t\t/* A very slight background to highlight the focused cell */\n\t\t\tbackground: var(--ck-color-selector-focused-cell-background);\n\n\t\t\t/* Fixes the problem where surrounding cells cover the focused cell's border.\n\t\t\tIt does not fix the problem in all places but the UX is improved.\n\t\t\tSee https://github.com/ckeditor/ckeditor5-table/issues/29. */\n\t\t\tborder-style: none;\n\t\t\toutline: 1px solid var(--ck-color-focus-border);\n\t\t\toutline-offset: -1px; /* progressive enhancement - no IE support */\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},1623:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,'.ck.ck-table-form .ck-form__row.ck-table-form__background-row,.ck.ck-table-form .ck-form__row.ck-table-form__border-row{flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{align-items:center;flex-wrap:wrap}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view{align-items:center;display:flex;flex-direction:column-reverse}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-labeled-field-view .ck.ck-dropdown,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{flex-grow:0}.ck.ck-table-form .ck.ck-labeled-field-view{position:relative}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{bottom:calc(var(--ck-table-properties-error-arrow-size)*-1);left:50%;position:absolute;transform:translate(-50%,100%);z-index:1}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{content:"";left:50%;position:absolute;top:calc(var(--ck-table-properties-error-arrow-size)*-1);transform:translateX(-50%)}:root{--ck-table-properties-error-arrow-size:6px;--ck-table-properties-min-error-width:150px}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view>.ck-label{font-size:var(--ck-font-size-tiny);text-align:center}.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style,.ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width{max-width:80px;min-width:80px;width:80px}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row{padding:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height,.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width{margin:0}.ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator{align-self:flex-end;display:inline-block;height:var(--ck-ui-component-min-height);line-height:var(--ck-ui-component-min-height);margin:0 var(--ck-spacing-small)}.ck.ck-table-form .ck.ck-labeled-field-view{padding-top:var(--ck-spacing-standard)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{border-radius:0}.ck-rounded-corners .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status,.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{background:var(--ck-color-base-error);color:var(--ck-color-base-background);min-width:var(--ck-table-properties-min-error-width);padding:var(--ck-spacing-small) var(--ck-spacing-medium);text-align:center}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status:after{border-color:transparent transparent var(--ck-color-base-error) transparent;border-style:solid;border-width:0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size)}.ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status{animation:ck-table-form-labeled-view-status-appear .15s ease both}.ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus)+.ck.ck-labeled-field-view__status{display:none}@keyframes ck-table-form-labeled-view-status-appear{0%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableform.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableform.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAWE,wHACC,cACD,CAEA,8DAEC,kBAAmB,CADnB,cAgBD,CAbC,qFAGC,kBAAmB,CAFnB,YAAa,CACb,6BAMD,CAEA,sMACC,WACD,CAIF,4CAEC,iBAoBD,CAlBC,8EAGC,2DAAgE,CADhE,QAAS,CADT,iBAAkB,CAGlB,8BAA+B,CAG/B,SAUD,CAPC,oFACC,UAAW,CAGX,QAAS,CAFT,iBAAkB,CAClB,wDAA6D,CAE7D,0BACD,CChDH,MACC,0CAA2C,CAC3C,2CACD,CAMI,2FACC,kCAAmC,CACnC,iBACD,CAGD,8KAIC,cAAe,CADf,cAAe,CADf,UAGD,CAGD,8DACC,SAcD,CAZC,yMAEC,QACD,CAEA,iGACC,mBAAoB,CACpB,oBAAqB,CACrB,wCAAyC,CACzC,6CAA8C,CAC9C,gCACD,CAIF,4CACC,sCAyBD,CAvBC,8ECxCD,eDyDC,CAjBA,mMCpCA,qCDqDA,CAjBA,8EAGC,qCAAsC,CACtC,qCAAsC,CAEtC,oDAAqD,CADrD,wDAAyD,CAEzD,iBAUD,CAPC,oFACC,2EAA4E,CAE5E,kBAAmB,CADnB,kJAED,CAdD,8EAgBC,iEACD,CAGA,6GACC,YACD,CAIF,oDACC,GACC,SACD,CAEA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__background-row {\n\t\t\tflex-wrap: wrap;\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tflex-wrap: wrap;\n\t\t\talign-items: center;\n\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column-reverse;\n\t\t\t\talign-items: center;\n\n\t\t\t\t& .ck.ck-dropdown {\n\t\t\t\t\tflex-grow: 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\tflex-grow: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\t/* Allow absolute positioning of the status (error) balloons. */\n\t\tposition: relative;\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\tposition: absolute;\n\t\t\tleft: 50%;\n\t\t\tbottom: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\ttransform: translate(-50%,100%);\n\n\t\t\t/* Make sure the balloon status stays on top of other form elements. */\n\t\t\tz-index: 1;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\tposition: absolute;\n\t\t\t\ttop: calc( -1 * var(--ck-table-properties-error-arrow-size) );\n\t\t\t\tleft: 50%;\n\t\t\t\ttransform: translateX( -50% );\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_rounded.css";\n\n:root {\n\t--ck-table-properties-error-arrow-size: 6px;\n\t--ck-table-properties-min-error-width: 150px;\n}\n\n.ck.ck-table-form {\n\t& .ck-form__row {\n\t\t&.ck-table-form__border-row {\n\t\t\t& .ck-labeled-field-view {\n\t\t\t\t& > .ck-label {\n\t\t\t\t\tfont-size: var(--ck-font-size-tiny);\n\t\t\t\t\ttext-align: center;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-table-form__border-style,\n\t\t\t& .ck-table-form__border-width {\n\t\t\t\twidth: 80px;\n\t\t\t\tmin-width: 80px;\n\t\t\t\tmax-width: 80px;\n\t\t\t}\n\t\t}\n\n\t\t&.ck-table-form__dimensions-row {\n\t\t\tpadding: 0;\n\n\t\t\t& .ck-table-form__dimensions-row__width,\n\t\t\t& .ck-table-form__dimensions-row__height {\n\t\t\t\tmargin: 0\n\t\t\t}\n\n\t\t\t& .ck-table-form__dimension-operator {\n\t\t\t\talign-self: flex-end;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\theight: var(--ck-ui-component-min-height);\n\t\t\t\tline-height: var(--ck-ui-component-min-height);\n\t\t\t\tmargin: 0 var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: var(--ck-spacing-standard);\n\n\t\t& .ck.ck-labeled-field-view__status {\n\t\t\t@mixin ck-rounded-corners;\n\n\t\t\tbackground: var(--ck-color-base-error);\n\t\t\tcolor: var(--ck-color-base-background);\n\t\t\tpadding: var(--ck-spacing-small) var(--ck-spacing-medium);\n\t\t\tmin-width: var(--ck-table-properties-min-error-width);\n\t\t\ttext-align: center;\n\n\t\t\t/* The arrow pointing towards the field. */\n\t\t\t&::after {\n\t\t\t\tborder-color: transparent transparent var(--ck-color-base-error) transparent;\n\t\t\t\tborder-width: 0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size);\n\t\t\t\tborder-style: solid;\n\t\t\t}\n\n\t\t\tanimation: ck-table-form-labeled-view-status-appear .15s ease both;\n\t\t}\n\n\t\t/* Hide the error balloon when the field is blurred. Makes the experience much more clear. */\n\t\t& .ck-input.ck-error:not(:focus) + .ck.ck-labeled-field-view__status {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n\n@keyframes ck-table-form-labeled-view-status-appear {\n\t0% {\n\t\topacity: 0;\n\t}\n\n\t100% {\n\t\topacity: 1;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},5562:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-content:baseline;flex-basis:0;flex-wrap:wrap}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items{flex-wrap:nowrap}.ck.ck-table-properties-form{width:320px}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row{align-self:flex-end;padding:0}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar{background:none;margin-top:var(--ck-spacing-standard)}.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items>*{width:40px}","",{version:3,sources:["webpack://./../ckeditor5-table/theme/tableproperties.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableproperties.css"],names:[],mappings:"AAOE,mFAGC,sBAAuB,CADvB,YAAa,CADb,cAOD,CAHC,qHACC,gBACD,CCTH,6BACC,WAmBD,CAhBE,mFACC,mBAAoB,CACpB,SAYD,CAVC,kGACC,eAAgB,CAGhB,qCAKD,CAHC,uHACC,UACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\tflex-wrap: wrap;\n\t\t\tflex-basis: 0;\n\t\t\talign-content: baseline;\n\n\t\t\t& .ck.ck-toolbar .ck-toolbar__items {\n\t\t\t\tflex-wrap: nowrap;\n\t\t\t}\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-table-properties-form {\n\twidth: 320px;\n\n\t& .ck-form__row {\n\t\t&.ck-table-properties-form__alignment-row {\n\t\t\talign-self: flex-end;\n\t\t\tpadding: 0;\n\n\t\t\t& .ck.ck-toolbar {\n\t\t\t\tbackground: none;\n\n\t\t\t\t/* Compensate for missing input label that would push the margin (toolbar has no inputs). */\n\t\t\t\tmargin-top: var(--ck-spacing-standard);\n\n\t\t\t\t& .ck-toolbar__items > * {\n\t\t\t\t\twidth: 40px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},8423:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,':root{--ck-table-selected-cell-background:rgba(158,207,250,.3)}.ck.ck-editor__editable .table table td.ck-editor__editable_selected,.ck.ck-editor__editable .table table th.ck-editor__editable_selected{box-shadow:unset;caret-color:transparent;outline:unset;position:relative}.ck.ck-editor__editable .table table td.ck-editor__editable_selected:after,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:after{background-color:var(--ck-table-selected-cell-background);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,.ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,.ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus{background-color:transparent}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget{outline:unset}.ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle,.ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget>.ck-widget__selection-handle{display:none}',"",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-table/tableselection.css"],names:[],mappings:"AAKA,MACC,wDACD,CAGC,0IAKC,gBAAiB,CAFjB,uBAAwB,CACxB,aAAc,CAFd,iBAiCD,CA3BC,sJAGC,yDAA0D,CAK1D,QAAS,CAPT,UAAW,CAKX,MAAO,CAJP,mBAAoB,CAEpB,iBAAkB,CAGlB,OAAQ,CAFR,KAID,CAEA,wTAEC,4BACD,CAMA,gKACC,aAKD,CAHC,0NACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-table-selected-cell-background: hsla(208, 90%, 80%, .3);\n}\n\n.ck.ck-editor__editable .table table {\n\t& td.ck-editor__editable_selected,\n\t& th.ck-editor__editable_selected {\n\t\tposition: relative;\n\t\tcaret-color: transparent;\n\t\toutline: unset;\n\t\tbox-shadow: unset;\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/6446 */\n\t\t&:after {\n\t\t\tcontent: '';\n\t\t\tpointer-events: none;\n\t\t\tbackground-color: var(--ck-table-selected-cell-background);\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\tright: 0;\n\t\t\tbottom: 0;\n\t\t}\n\n\t\t& ::selection,\n\t\t&:focus {\n\t\t\tbackground-color: transparent;\n\t\t}\n\n\t\t/*\n\t\t * To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle.\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/9491.\n\t\t */\n\t\t& .ck-widget {\n\t\t\toutline: unset;\n\n\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},1801:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-aria-live-announcer{left:-10000px;position:absolute;top:-10000px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/arialiveannouncer/arialiveannouncer.css"],names:[],mappings:"AAKA,2BAEC,aAAc,CADd,iBAAkB,CAElB,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-aria-live-announcer {\n\tposition: absolute;\n\tleft: -10000px;\n\ttop: -10000px;\n}\n"],sourceRoot:""}]);const O=M},5727:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-autocomplete{position:relative}.ck.ck-autocomplete>.ck-search__results{position:absolute;z-index:var(--ck-z-panel)}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{bottom:100%}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{bottom:auto;top:100%}.ck.ck-autocomplete>.ck-search__results{border-radius:0}.ck-rounded-corners .ck.ck-autocomplete>.ck-search__results,.ck.ck-autocomplete>.ck-search__results.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-autocomplete>.ck-search__results{background:var(--ck-color-base-background);border:1px solid var(--ck-color-dropdown-panel-border);box-shadow:var(--ck-drop-shadow),0 0;max-height:200px;min-width:auto;overflow-y:auto}.ck.ck-autocomplete>.ck-search__results.ck-search__results_n{border-bottom-left-radius:0;border-bottom-right-radius:0;margin-bottom:-1px}.ck.ck-autocomplete>.ck-search__results.ck-search__results_s{border-top-left-radius:0;border-top-right-radius:0;margin-top:-1px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/autocomplete/autocomplete.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/autocomplete/autocomplete.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,oBACC,iBAeD,CAbC,wCACC,iBAAkB,CAClB,yBAUD,CARC,6DACC,WACD,CAEA,6DAEC,WAAY,CADZ,QAED,CCVD,wCCEA,eDuBA,CAzBA,uHCMC,qCDmBD,CAzBA,wCAMC,0CAA2C,CAC3C,sDAAuD,CEPxD,oCAA8B,CFI7B,gBAAiB,CAIjB,cAAe,CAHf,eAoBD,CAfC,6DACC,2BAA4B,CAC5B,4BAA6B,CAG7B,kBACD,CAEA,6DACC,wBAAyB,CACzB,yBAA0B,CAG1B,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-autocomplete {\n\tposition: relative;\n\n\t& > .ck-search__results {\n\t\tposition: absolute;\n\t\tz-index: var(--ck-z-panel);\n\n\t\t&.ck-search__results_n {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-search__results_s {\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-theme-lark/theme/mixins/_shadow.css";\n\n.ck.ck-autocomplete {\n\t& > .ck-search__results {\n\t\t@mixin ck-rounded-corners;\n\t\t@mixin ck-drop-shadow;\n\n\t\tmax-height: 200px;\n\t\toverflow-y: auto;\n\t\tbackground: var(--ck-color-base-background);\n\t\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\t\tmin-width: auto;\n\n\t\t&.ck-search__results_n {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t/* Prevent duplicated borders between the input and the results pane. */\n\t\t\tmargin-bottom: -1px;\n\t\t}\n\n\t\t&.ck-search__results_s {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-top-right-radius: 0;\n\n\t\t\t/* Prevent duplicated borders between the input and the results pane. */\n\t\t\tmargin-top: -1px;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const O=M},9715:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-button,a.ck.ck-button{align-items:center;display:inline-flex;position:relative;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}[dir=ltr] .ck.ck-button,[dir=ltr] a.ck.ck-button{justify-content:left}[dir=rtl] .ck.ck-button,[dir=rtl] a.ck.ck-button{justify-content:right}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{display:none}.ck.ck-button.ck-button_with-text .ck-button__label,a.ck.ck-button.ck-button_with-text .ck-button__label{display:inline-block}.ck.ck-button:not(.ck-button_with-text),a.ck.ck-button:not(.ck-button_with-text){justify-content:center}.ck.ck-button,a.ck.ck-button{background:var(--ck-color-button-default-background)}.ck.ck-button:not(.ck-disabled):hover,a.ck.ck-button:not(.ck-disabled):hover{background:var(--ck-color-button-default-hover-background)}.ck.ck-button:not(.ck-disabled):active,a.ck.ck-button:not(.ck-disabled):active{background:var(--ck-color-button-default-active-background)}.ck.ck-button.ck-disabled,a.ck.ck-button.ck-disabled{background:var(--ck-color-button-default-disabled-background)}.ck.ck-button,a.ck.ck-button{border-radius:0}.ck-rounded-corners .ck.ck-button,.ck-rounded-corners a.ck.ck-button,.ck.ck-button.ck-rounded-corners,a.ck.ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-button,a.ck.ck-button{-webkit-appearance:none;border:1px solid transparent;cursor:default;font-size:inherit;line-height:1;min-height:var(--ck-ui-component-min-height);min-width:var(--ck-ui-component-min-height);padding:var(--ck-spacing-tiny);text-align:center;transition:box-shadow .2s ease-in-out,border .2s ease-in-out;vertical-align:middle;white-space:nowrap}.ck.ck-button:active,.ck.ck-button:focus,a.ck.ck-button:active,a.ck.ck-button:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-button .ck-button__icon use,.ck.ck-button .ck-button__icon use *,a.ck.ck-button .ck-button__icon use,a.ck.ck-button .ck-button__icon use *{color:inherit}.ck.ck-button .ck-button__label,a.ck.ck-button .ck-button__label{color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;vertical-align:middle}[dir=ltr] .ck.ck-button .ck-button__label,[dir=ltr] a.ck.ck-button .ck-button__label{text-align:left}[dir=rtl] .ck.ck-button .ck-button__label,[dir=rtl] a.ck.ck-button .ck-button__label{text-align:right}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{color:inherit}[dir=ltr] .ck.ck-button .ck-button__keystroke,[dir=ltr] a.ck.ck-button .ck-button__keystroke{margin-left:var(--ck-spacing-large)}[dir=rtl] .ck.ck-button .ck-button__keystroke,[dir=rtl] a.ck.ck-button .ck-button__keystroke{margin-right:var(--ck-spacing-large)}.ck.ck-button .ck-button__keystroke,a.ck.ck-button .ck-button__keystroke{font-weight:700;opacity:.7}.ck.ck-button.ck-disabled:active,.ck.ck-button.ck-disabled:focus,a.ck.ck-button.ck-disabled:active,a.ck.ck-button.ck-disabled:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-button.ck-disabled .ck-button__icon,.ck.ck-button.ck-disabled .ck-button__label,a.ck.ck-button.ck-disabled .ck-button__icon,a.ck.ck-button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-disabled .ck-button__keystroke,a.ck.ck-button.ck-disabled .ck-button__keystroke{opacity:.3}.ck.ck-button.ck-button_with-text,a.ck.ck-button.ck-button_with-text{padding:var(--ck-spacing-tiny) var(--ck-spacing-standard)}[dir=ltr] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=ltr] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:calc(var(--ck-spacing-small)*-1);margin-right:var(--ck-spacing-small)}[dir=rtl] .ck.ck-button.ck-button_with-text .ck-button__icon,[dir=rtl] a.ck.ck-button.ck-button_with-text .ck-button__icon{margin-left:var(--ck-spacing-small);margin-right:calc(var(--ck-spacing-small)*-1)}.ck.ck-button.ck-button_with-keystroke .ck-button__label,a.ck.ck-button.ck-button_with-keystroke .ck-button__label{flex-grow:1}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{background:var(--ck-color-button-on-background)}.ck.ck-button.ck-on:not(.ck-disabled):hover,a.ck.ck-button.ck-on:not(.ck-disabled):hover{background:var(--ck-color-button-on-hover-background)}.ck.ck-button.ck-on:not(.ck-disabled):active,a.ck.ck-button.ck-on:not(.ck-disabled):active{background:var(--ck-color-button-on-active-background)}.ck.ck-button.ck-on.ck-disabled,a.ck.ck-button.ck-on.ck-disabled{background:var(--ck-color-button-on-disabled-background)}.ck.ck-button.ck-on,a.ck.ck-button.ck-on{color:var(--ck-color-button-on-color)}.ck.ck-button.ck-button-save,a.ck.ck-button.ck-button-save{color:var(--ck-color-button-save)}.ck.ck-button.ck-button-cancel,a.ck.ck-button.ck-button-cancel{color:var(--ck-color-button-cancel)}.ck.ck-button-action,a.ck.ck-button-action{background:var(--ck-color-button-action-background)}.ck.ck-button-action:not(.ck-disabled):hover,a.ck.ck-button-action:not(.ck-disabled):hover{background:var(--ck-color-button-action-hover-background)}.ck.ck-button-action:not(.ck-disabled):active,a.ck.ck-button-action:not(.ck-disabled):active{background:var(--ck-color-button-action-active-background)}.ck.ck-button-action.ck-disabled,a.ck.ck-button-action.ck-disabled{background:var(--ck-color-button-action-disabled-background)}.ck.ck-button-action,a.ck.ck-button-action{color:var(--ck-color-button-action-text)}.ck.ck-button-bold,a.ck.ck-button-bold{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/button.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/mixins/_button.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AAQA,6BAMC,kBAAmB,CADnB,mBAAoB,CADpB,iBAAkB,CCHlB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD0BD,CA9BA,iDASE,oBAqBF,CA9BA,iDAaE,qBAiBF,CAdC,iEACC,YACD,CAGC,yGACC,oBACD,CAID,iFACC,sBACD,CEzBD,6BCAC,oDD4ID,CCzIE,6EACC,0DACD,CAEA,+EACC,2DACD,CAID,qDACC,6DACD,CDfD,6BEDC,eF6ID,CA5IA,wIEGE,qCFyIF,CA5IA,6BA6BC,uBAAwB,CANxB,4BAA6B,CAjB7B,cAAe,CAcf,iBAAkB,CAHlB,aAAc,CAJd,4CAA6C,CAD7C,2CAA4C,CAJ5C,8BAA+B,CAC/B,iBAAkB,CAiBlB,4DAA8D,CAnB9D,qBAAsB,CAFtB,kBAuID,CA7GC,oFGhCA,2BAA2B,CCF3B,2CAA8B,CDC9B,YHqCA,CAIC,kJAEC,aACD,CAGD,iEAIC,aAAc,CACd,cAAe,CAHf,iBAAkB,CAClB,mBAAoB,CAMpB,qBASD,CAlBA,qFAYE,eAMF,CAlBA,qFAgBE,gBAEF,CAEA,yEACC,aAYD,CAbA,6FAIE,mCASF,CAbA,6FAQE,oCAKF,CAbA,yEAWC,eAAiB,CACjB,UACD,CAIC,oIIrFD,oDJyFC,CAOA,gLKhGD,kCLkGC,CAEA,iGACC,UACD,CAGD,qEACC,yDAcD,CAXC,2HAEE,4CAA+C,CAC/C,oCAOF,CAVA,2HAQE,mCAAoC,CADpC,6CAGF,CAKA,mHACC,WACD,CAID,yCC/HA,+CDmIA,CChIC,yFACC,qDACD,CAEA,2FACC,sDACD,CAID,iEACC,wDACD,CDgHA,yCAGC,qCACD,CAEA,2DACC,iCACD,CAEA,+DACC,mCACD,CAID,2CC/IC,mDDoJD,CCjJE,2FACC,yDACD,CAEA,6FACC,0DACD,CAID,mEACC,4DACD,CDgID,2CAIC,wCACD,CAEA,uCAEC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n@import "../../mixins/_dir.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-unselectable;\n\n\tposition: relative;\n\tdisplay: inline-flex;\n\talign-items: center;\n\n\t@mixin ck-dir ltr {\n\t\tjustify-content: left;\n\t}\n\n\t@mixin ck-dir rtl {\n\t\tjustify-content: right;\n\t}\n\n\t& .ck-button__label {\n\t\tdisplay: none;\n\t}\n\n\t&.ck-button_with-text {\n\t\t& .ck-button__label {\n\t\t\tdisplay: inline-block;\n\t\t}\n\t}\n\n\t/* Center the icon horizontally in a button without text. */\n\t&:not(.ck-button_with-text)  {\n\t\tjustify-content: center;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../mixins/_button.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-button,\na.ck.ck-button {\n\t@mixin ck-button-colors --ck-color-button-default;\n\t@mixin ck-rounded-corners;\n\n\twhite-space: nowrap;\n\tcursor: default;\n\tvertical-align: middle;\n\tpadding: var(--ck-spacing-tiny);\n\ttext-align: center;\n\n\t/* A very important piece of styling. Go to variable declaration to learn more. */\n\tmin-width: var(--ck-ui-component-min-height);\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Normalize the height of the line. Removing this will break consistent height\n\tamong text and text-less buttons (with icons). */\n\tline-height: 1;\n\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t/* Avoid flickering when the foucs border shows up. */\n\tborder: 1px solid transparent;\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .2s ease-in-out, border .2s ease-in-out;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/189 */\n\t-webkit-appearance: none;\n\n\t&:active,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t/* Allow icon coloring using the text "color" property. */\n\t& .ck-button__icon {\n\t\t& use,\n\t\t& use * {\n\t\t\tcolor: inherit;\n\t\t}\n\t}\n\n\t& .ck-button__label {\n\t\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\t\tfont-size: inherit;\n\t\tfont-weight: inherit;\n\t\tcolor: inherit;\n\t\tcursor: inherit;\n\n\t\t/* Must be consistent with .ck-icon\'s vertical align. Otherwise, buttons with and\n\t\twithout labels (but with icons) have different sizes in Chrome */\n\t\tvertical-align: middle;\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& .ck-button__keystroke {\n\t\tcolor: inherit;\n\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-right: var(--ck-spacing-large);\n\t\t}\n\n\t\tfont-weight: bold;\n\t\topacity: .7;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t&.ck-disabled {\n\t\t&:active,\n\t\t&:focus {\n\t\t\t/* The disabled button should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t\t& .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t& .ck-button__keystroke {\n\t\t\topacity: .3;\n\t\t}\n\t}\n\n\t&.ck-button_with-text {\n\t\tpadding: var(--ck-spacing-tiny) var(--ck-spacing-standard);\n\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__icon {\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-right: calc(-1 * var(--ck-spacing-small));\n\t\t\t\tmargin-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-button_with-keystroke {\n\t\t/* stylelint-disable-next-line no-descending-specificity */\n\t\t& .ck-button__label {\n\t\t\tflex-grow: 1;\n\t\t}\n\t}\n\n\t/* A style of the button which is currently on, e.g. its feature is active. */\n\t&.ck-on {\n\t\t@mixin ck-button-colors --ck-color-button-on;\n\n\t\tcolor: var(--ck-color-button-on-color);\n\t}\n\n\t&.ck-button-save {\n\t\tcolor: var(--ck-color-button-save);\n\t}\n\n\t&.ck-button-cancel {\n\t\tcolor: var(--ck-color-button-cancel);\n\t}\n}\n\n/* A style of the button which handles the primary action. */\n.ck.ck-button-action,\na.ck.ck-button-action {\n\t@mixin ck-button-colors --ck-color-button-action;\n\n\tcolor: var(--ck-color-button-action-text);\n}\n\n.ck.ck-button-bold,\na.ck.ck-button-bold {\n\tfont-weight: bold;\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements a button of given background color.\n *\n * @param {String} $background - Background color of the button.\n * @param {String} $border - Border color of the button.\n */\n@define-mixin ck-button-colors $prefix {\n\tbackground: var($(prefix)-background);\n\n\t&:not(.ck-disabled) {\n\t\t&:hover {\n\t\t\tbackground: var($(prefix)-hover-background);\n\t\t}\n\n\t\t&:active {\n\t\t\tbackground: var($(prefix)-active-background);\n\t\t}\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */\n\t&.ck-disabled {\n\t\tbackground: var($(prefix)-disabled-background);\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const O=M},4391:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{display:block}:root{--ck-switch-button-toggle-width:2.6153846154em;--ck-switch-button-toggle-inner-size:calc(1.07692em + 1px);--ck-switch-button-translation:calc(var(--ck-switch-button-toggle-width) - var(--ck-switch-button-toggle-inner-size) - 2px);--ck-switch-button-inner-hover-shadow:0 0 0 5px var(--ck-color-switch-button-inner-shadow)}.ck.ck-button.ck-switchbutton,.ck.ck-button.ck-switchbutton.ck-on:active,.ck.ck-button.ck-switchbutton.ck-on:focus,.ck.ck-button.ck-switchbutton.ck-on:hover,.ck.ck-button.ck-switchbutton:active,.ck.ck-button.ck-switchbutton:focus,.ck.ck-button.ck-switchbutton:hover{background:transparent;color:inherit}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__label{margin-right:calc(var(--ck-spacing-large)*2)}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__label{margin-left:calc(var(--ck-spacing-large)*2)}.ck.ck-button.ck-switchbutton .ck-button__toggle{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle,.ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners{border-radius:var(--ck-border-radius)}[dir=ltr] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-left:auto}[dir=rtl] .ck.ck-button.ck-switchbutton .ck-button__toggle{margin-right:auto}.ck.ck-button.ck-switchbutton .ck-button__toggle{background:var(--ck-color-switch-button-off-background);border:1px solid transparent;transition:background .4s ease,box-shadow .2s ease-in-out,outline .2s ease-in-out;width:var(--ck-switch-button-toggle-width)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{border-radius:0}.ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner,.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners{border-radius:var(--ck-border-radius);border-radius:calc(var(--ck-border-radius)*.5)}.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner{background:var(--ck-color-switch-button-inner-background);height:var(--ck-switch-button-toggle-inner-size);transition:all .3s ease;width:var(--ck-switch-button-toggle-inner-size)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover{background:var(--ck-color-switch-button-off-hover-background)}.ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner{box-shadow:var(--ck-switch-button-inner-hover-shadow)}.ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle{opacity:var(--ck-disabled-opacity)}.ck.ck-button.ck-switchbutton:focus{border-color:transparent;box-shadow:none;outline:none}.ck.ck-button.ck-switchbutton:focus .ck-button__toggle{box-shadow:0 0 0 1px var(--ck-color-base-background),0 0 0 5px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring);outline-offset:1px}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle{background:var(--ck-color-switch-button-on-background)}.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover{background:var(--ck-color-switch-button-on-hover-background)}[dir=ltr] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(var( --ck-switch-button-translation ))}[dir=rtl] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{transform:translateX(calc(var( --ck-switch-button-translation )*-1))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/switchbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css"],names:[],mappings:"AASE,4HACC,aACD,CCCF,MAEC,8CAA+C,CAE/C,0DAAgE,CAChE,2HAIC,CACD,0FACD,CAOC,0QAEC,sBAAuB,CADvB,aAED,CAEA,0DAGE,4CAOF,CAVA,0DAQE,2CAEF,CAEA,iDCpCA,eD4EA,CAxCA,yIChCC,qCDwED,CAxCA,2DAKE,gBAmCF,CAxCA,2DAUE,iBA8BF,CAxCA,iDAkBC,uDAAwD,CAFxD,4BAA6B,CAD7B,iFAAsF,CAEtF,0CAuBD,CApBC,2ECxDD,eDmEC,CAXA,6LCpDA,qCAAsC,CDsDpC,8CASF,CAXA,2EAOC,yDAA0D,CAD1D,gDAAiD,CAIjD,uBAA0B,CAL1B,+CAMD,CAEA,uDACC,6DAKD,CAHC,iFACC,qDACD,CAIF,6DEhFA,kCFkFA,CAGA,oCACC,wBAAyB,CAEzB,eAAgB,CADhB,YAQD,CALC,uDACC,iGAAmG,CAEnG,4BAA6B,CAD7B,kBAED,CAKA,uDACC,sDAkBD,CAhBC,6DACC,4DACD,CAEA,2FAKE,2DAMF,CAXA,2FASE,oEAEF",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-button.ck-switchbutton {\n\t& .ck-button__toggle {\n\t\tdisplay: block;\n\n\t\t& .ck-button__toggle__inner {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n/* Note: To avoid rendering issues (aliasing) but to preserve the responsive nature\nof the component, floating\u2013point numbers have been used which, for the default font size\n(see: --ck-font-size-base), will generate simple integers. */\n:root {\n\t/* 34px at 13px font-size */\n\t--ck-switch-button-toggle-width: 2.6153846154em;\n\t/* 14px at 13px font-size */\n\t--ck-switch-button-toggle-inner-size: calc(1.0769230769em + 1px);\n\t--ck-switch-button-translation: calc(\n\t\tvar(--ck-switch-button-toggle-width) -\n\t\tvar(--ck-switch-button-toggle-inner-size) -\n\t\t2px /* Border */\n\t);\n\t--ck-switch-button-inner-hover-shadow: 0 0 0 5px var(--ck-color-switch-button-inner-shadow);\n}\n\n.ck.ck-button.ck-switchbutton {\n\t/* Unlike a regular button, the switch button text color and background should never change.\n\t * Changing toggle switch (background, outline) is enough to carry the information about the\n\t * state of the entire component (https://github.com/ckeditor/ckeditor5/issues/12519)\n\t */\n\t&, &:hover, &:focus, &:active, &.ck-on:hover, &.ck-on:focus, &.ck-on:active {\n\t\tcolor: inherit;\n\t\tbackground: transparent;\n\t}\n\n\t& .ck-button__label {\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-right: calc(2 * var(--ck-spacing-large));\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Separate the label from the switch */\n\t\t\tmargin-left: calc(2 * var(--ck-spacing-large));\n\t\t}\n\t}\n\n\t& .ck-button__toggle {\n\t\t@mixin ck-rounded-corners;\n\n\t\t@mixin ck-dir ltr {\n\t\t\t/* Make sure the toggle is always to the right as far as possible. */\n\t\t\tmargin-left: auto;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t/* Make sure the toggle is always to the left as far as possible. */\n\t\t\tmargin-right: auto;\n\t\t}\n\n\t\t/* Apply some smooth transition to the box-shadow and border. */\n\t\t/* Gently animate the background color of the toggle switch */\n\t\ttransition: background 400ms ease, box-shadow .2s ease-in-out, outline .2s ease-in-out;\n\t\tborder: 1px solid transparent;\n\t\twidth: var(--ck-switch-button-toggle-width);\n\t\tbackground: var(--ck-color-switch-button-off-background);\n\n\t\t& .ck-button__toggle__inner {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-radius: calc(.5 * var(--ck-border-radius));\n\t\t\t}\n\n\t\t\twidth: var(--ck-switch-button-toggle-inner-size);\n\t\t\theight: var(--ck-switch-button-toggle-inner-size);\n\t\t\tbackground: var(--ck-color-switch-button-inner-background);\n\n\t\t\t/* Gently animate the inner part of the toggle switch */\n\t\t\ttransition: all 300ms ease;\n\t\t}\n\n\t\t&:hover {\n\t\t\tbackground: var(--ck-color-switch-button-off-hover-background);\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\tbox-shadow: var(--ck-switch-button-inner-hover-shadow);\n\t\t\t}\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-button__toggle {\n\t\t@mixin ck-disabled;\n\t}\n\n\t/* Overriding default .ck-button:focus styles + an outline around the toogle */\n\t&:focus {\n\t\tborder-color: transparent;\n\t\toutline: none;\n\t\tbox-shadow: none;\n\n\t\t& .ck-button__toggle {\n\t\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-background), 0 0 0 5px var(--ck-color-focus-outer-shadow);\n\t\t\toutline-offset: 1px;\n\t\t\toutline: var(--ck-focus-ring);\n\t\t}\n\t}\n\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-on {\n\t\t& .ck-button__toggle {\n\t\t\tbackground: var(--ck-color-switch-button-on-background);\n\n\t\t\t&:hover {\n\t\t\t\tbackground: var(--ck-color-switch-button-on-hover-background);\n\t\t\t}\n\n\t\t\t& .ck-button__toggle__inner {\n\t\t\t\t/*\n\t\t\t\t* Move the toggle switch to the right. It will be animated.\n\t\t\t\t*/\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\ttransform: translateX( var( --ck-switch-button-translation ) );\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\ttransform: translateX( calc( -1 * var( --ck-switch-button-translation ) ) );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n"],sourceRoot:""}]);const O=M},25:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-collapsible.ck-collapsible_collapsed>.ck-collapsible__children{display:none}:root{--ck-collapsible-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-collapsible>.ck.ck-button{border-radius:0;color:inherit;font-weight:700;padding:var(--ck-list-button-padding);width:100%}.ck.ck-collapsible>.ck.ck-button:focus{background:transparent}.ck.ck-collapsible>.ck.ck-button:active,.ck.ck-collapsible>.ck.ck-button:hover:not(:focus),.ck.ck-collapsible>.ck.ck-button:not(:focus){background:transparent;border-color:transparent;box-shadow:none}.ck.ck-collapsible>.ck.ck-button>.ck-icon{margin-right:var(--ck-spacing-medium);width:var(--ck-collapsible-arrow-size)}.ck.ck-collapsible>.ck-collapsible__children{padding:var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large)}.ck.ck-collapsible.ck-collapsible_collapsed>.ck.ck-button .ck-icon{transform:rotate(-90deg)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/collapsible/collapsible.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/collapsible/collapsible.css"],names:[],mappings:"AAMC,sEACC,YACD,CCHD,MACC,yDACD,CAGC,iCAIC,eAAgB,CAChB,aAAc,CAHd,eAAiB,CACjB,qCAAsC,CAFtC,UAoBD,CAdC,uCACC,sBACD,CAEA,wIACC,sBAAuB,CACvB,wBAAyB,CACzB,eACD,CAEA,0CACC,qCAAsC,CACtC,sCACD,CAGD,6CACC,gFACD,CAGC,mEACC,wBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-collapsible.ck-collapsible_collapsed {\n\t& > .ck-collapsible__children {\n\t\tdisplay: none;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-collapsible-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-collapsible {\n\t& > .ck.ck-button {\n\t\twidth: 100%;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-list-button-padding);\n\t\tborder-radius: 0;\n\t\tcolor: inherit;\n\n\t\t&:focus {\n\t\t\tbackground: transparent;\n\t\t}\n\n\t\t&:active, &:not(:focus), &:hover:not(:focus) {\n\t\t\tbackground: transparent;\n\t\t\tborder-color: transparent;\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t& > .ck-icon {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t\twidth: var(--ck-collapsible-arrow-size);\n\t\t}\n\t}\n\n\t& > .ck-collapsible__children {\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large);\n\t}\n\n\t&.ck-collapsible_collapsed {\n\t\t& > .ck.ck-button .ck-icon {\n\t\t\ttransform: rotate(-90deg);\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},7317:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-color-grid{display:grid}:root{--ck-color-grid-tile-size:24px;--ck-color-color-grid-check-icon:#166fd4}.ck.ck-color-grid{grid-gap:5px;padding:8px}.ck.ck-color-grid__tile{border:0;height:var(--ck-color-grid-tile-size);min-height:var(--ck-color-grid-tile-size);min-width:var(--ck-color-grid-tile-size);padding:0;transition:box-shadow .2s ease;width:var(--ck-color-grid-tile-size)}.ck.ck-color-grid__tile.ck-disabled{cursor:unset;transition:unset}.ck.ck-color-grid__tile.ck-color-selector__color-tile_bordered{box-shadow:0 0 0 1px var(--ck-color-base-border)}.ck.ck-color-grid__tile .ck.ck-icon{color:var(--ck-color-color-grid-check-icon);display:none}.ck.ck-color-grid__tile.ck-on{box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-base-text)}.ck.ck-color-grid__tile.ck-on .ck.ck-icon{display:block}.ck.ck-color-grid__tile.ck-on,.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){border:0}.ck.ck-color-grid__tile:focus:not(.ck-disabled),.ck.ck-color-grid__tile:hover:not(.ck-disabled){box-shadow:inset 0 0 0 1px var(--ck-color-base-background),0 0 0 2px var(--ck-color-focus-border)}.ck.ck-color-grid__label{padding:0 var(--ck-spacing-standard)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorgrid/colorgrid.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorgrid/colorgrid.css"],names:[],mappings:"AAKA,kBACC,YACD,CCAA,MACC,8BAA+B,CAK/B,wCACD,CAEA,kBACC,YAAa,CACb,WACD,CAEA,wBAOC,QAAS,CALT,qCAAsC,CAEtC,yCAA0C,CAD1C,wCAAyC,CAEzC,SAAU,CACV,8BAA+B,CAL/B,oCAyCD,CAjCC,oCACC,YAAa,CACb,gBACD,CAEA,+DACC,gDACD,CAEA,oCAEC,2CAA4C,CAD5C,YAED,CAEA,8BACC,8FAKD,CAHC,0CACC,aACD,CAGD,8HAIC,QACD,CAEA,gGAEC,iGACD,CAGD,yBACC,oCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-color-grid {\n\tdisplay: grid;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-grid-tile-size: 24px;\n\n\t/* Not using global colors here because these may change but some colors in a pallette\n\t * require special treatment. For instance, this ensures no matter what the UI text color is,\n\t * the check icon will look good on the black color tile. */\n\t--ck-color-color-grid-check-icon: hsl(212, 81%, 46%);\n}\n\n.ck.ck-color-grid {\n\tgrid-gap: 5px;\n\tpadding: 8px;\n}\n\n.ck.ck-color-grid__tile {\n\twidth: var(--ck-color-grid-tile-size);\n\theight: var(--ck-color-grid-tile-size);\n\tmin-width: var(--ck-color-grid-tile-size);\n\tmin-height: var(--ck-color-grid-tile-size);\n\tpadding: 0;\n\ttransition: .2s ease box-shadow;\n\tborder: 0;\n\n\t&.ck-disabled {\n\t\tcursor: unset;\n\t\ttransition: unset;\n\t}\n\n\t&.ck-color-selector__color-tile_bordered {\n\t\tbox-shadow: 0 0 0 1px var(--ck-color-base-border);\n\t}\n\n\t& .ck.ck-icon {\n\t\tdisplay: none;\n\t\tcolor: var(--ck-color-color-grid-check-icon);\n\t}\n\n\t&.ck-on {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-base-text);\n\n\t\t& .ck.ck-icon {\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t&.ck-on,\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\t/* Disable the default .ck-button\'s border ring. */\n\t\tborder: 0;\n\t}\n\n\t&:focus:not( .ck-disabled ),\n\t&:hover:not( .ck-disabled ) {\n\t\tbox-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-focus-border);\n\t}\n}\n\n.ck.ck-color-grid__label {\n\tpadding: 0 var(--ck-spacing-standard);\n}\n'],sourceRoot:""}]);const O=M},1905:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".color-picker-hex-input{width:max-content}.color-picker-hex-input .ck.ck-input{min-width:unset}.ck.ck-color-picker__row{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;margin:var(--ck-spacing-large) 0 0;width:unset}.ck.ck-color-picker__row .ck.ck-labeled-field-view{padding-top:unset}.ck.ck-color-picker__row .ck.ck-input-text{width:unset}.ck.ck-color-picker__row .ck-color-picker__hash-view{padding-right:var(--ck-spacing-medium);padding-top:var(--ck-spacing-tiny)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorpicker/colorpicker.css"],names:[],mappings:"AAKA,wBACC,iBAKD,CAHC,qCACC,eACD,CAGD,yBACC,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CACjB,6BAA8B,CAC9B,kCAAmC,CACnC,WAcD,CAZC,mDACC,iBACD,CAEA,2CACC,WACD,CAEA,qDAEC,sCAAuC,CADvC,kCAED",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.color-picker-hex-input {\n\twidth: max-content;\n\n\t& .ck.ck-input {\n\t\tmin-width: unset;\n\t}\n}\n\n.ck.ck-color-picker__row {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\tjustify-content: space-between;\n\tmargin: var(--ck-spacing-large) 0 0;\n\twidth: unset;\n\n\t& .ck.ck-labeled-field-view {\n\t\tpadding-top: unset;\n\t}\n\n\t& .ck.ck-input-text {\n\t\twidth: unset;\n\t}\n\n\t& .ck-color-picker__hash-view {\n\t\tpadding-top: var(--ck-spacing-tiny);\n\t\tpadding-right: var(--ck-spacing-medium);\n\t}\n}\n"],sourceRoot:""}]);const O=M},6309:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{align-items:center;display:flex}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{justify-content:flex-start}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{display:flex;flex-direction:row;justify-content:space-around}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-cancel,.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-save{flex:1}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker,.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color{width:100%}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker{border-bottom-left-radius:0;border-bottom-right-radius:0;padding:calc(var(--ck-spacing-standard)/2) var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker:not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon{margin-left:var(--ck-spacing-standard)}.ck.ck-color-selector .ck-color-grids-fragment label.ck.ck-color-grid__label{font-weight:unset}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker{padding:8px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker{height:100px;min-width:180px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation){border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue){border-radius:0 0 var(--ck-border-radius) var(--ck-border-radius)}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue-pointer),.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation-pointer){height:15px;width:15px}.ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar{padding:0 8px 8px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/colorselector/colorselector.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/colorselector/colorselector.css"],names:[],mappings:"AAUE,oLAGC,kBAAmB,CADnB,YAMD,CARA,wMAME,0BAEF,CAKA,iFACC,YAAa,CACb,kBAAmB,CACnB,4BAMD,CAJC,oMAEC,MACD,CCrBD,oLAEC,UACD,CAEA,0FAEC,2BAA4B,CAC5B,4BAA6B,CAF7B,qEAiBD,CAbC,sGACC,gDACD,CAEA,gHAEE,uCAMF,CARA,gHAME,sCAEF,CAGD,6EACC,iBACD,CAKA,oEACC,WAoBD,CAlBC,sFACC,YAAa,CACb,eAeD,CAbC,wGACC,iEACD,CAEA,iGACC,iEACD,CAEA,yNAGC,WAAY,CADZ,UAED,CAIF,iFACC,iBACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-color-selector {\n\t/* View fragment with color grids. */\n\t& .ck-color-grids-fragment {\n\t\t& .ck-button.ck-color-selector__remove-color,\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tjustify-content: flex-start;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* View fragment with a color picker. */\n\t& .ck-color-picker-fragment {\n\t\t& .ck.ck-color-selector_action-bar {\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: row;\n\t\t\tjustify-content: space-around;\n\n\t\t\t& .ck-button-save,\n\t\t\t& .ck-button-cancel {\n\t\t\t\tflex: 1\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-color-selector {\n\t/* View fragment with color grids. */\n\t& .ck-color-grids-fragment {\n\t\t& .ck-button.ck-color-selector__remove-color,\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t& .ck-button.ck-color-selector__color-picker {\n\t\t\tpadding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t& .ck.ck-icon {\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tmargin-right: var(--ck-spacing-standard);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& label.ck.ck-color-grid__label {\n\t\t\tfont-weight: unset;\n\t\t}\n\t}\n\n\t/* View fragment with a color picker. */\n\t& .ck-color-picker-fragment {\n\t\t& .ck.ck-color-picker {\n\t\t\tpadding: 8px;\n\n\t\t\t& .hex-color-picker {\n\t\t\t\theight: 100px;\n\t\t\t\tmin-width: 180px;\n\n\t\t\t\t&::part(saturation) {\n\t\t\t\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\t\t\t\t}\n\n\t\t\t\t&::part(hue) {\n\t\t\t\t\tborder-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);\n\t\t\t\t}\n\n\t\t\t\t&::part(saturation-pointer),\n\t\t\t\t&::part(hue-pointer) {\n\t\t\t\t\twidth: 15px;\n\t\t\t\t\theight: 15px;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t& .ck.ck-color-selector_action-bar {\n\t\t\tpadding: 0 8px 8px;\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const O=M},9819:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-dialog-overlay{bottom:0;left:0;overscroll-behavior:none;position:fixed;right:0;top:0;user-select:none}.ck.ck-dialog-overlay.ck-dialog-overlay__transparent{animation:none;background:none;pointer-events:none}.ck.ck-dialog{overscroll-behavior:none;position:absolute;width:fit-content}.ck.ck-dialog .ck.ck-form__header{flex-shrink:0}.ck.ck-dialog .ck.ck-form__header .ck-form__header__label{cursor:grab}.ck.ck-dialog-overlay.ck-dialog-overlay__transparent .ck.ck-dialog{pointer-events:all}:root{--ck-dialog-overlay-background-color:rgba(0,0,0,.5);--ck-dialog-drop-shadow:0px 0px 6px 2px rgba(0,0,0,.15);--ck-dialog-max-width:100vw;--ck-dialog-max-height:90vh;--ck-color-dialog-background:var(--ck-color-base-background);--ck-color-dialog-form-header-border:var(--ck-color-base-border)}.ck.ck-dialog-overlay{animation:ck-dialog-fade-in .3s;background:var(--ck-dialog-overlay-background-color);z-index:var(--ck-z-dialog)}.ck.ck-dialog{border-radius:0}.ck-rounded-corners .ck.ck-dialog,.ck.ck-dialog.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dialog{--ck-drop-shadow:var(--ck-dialog-drop-shadow);background:var(--ck-color-dialog-background);border:1px solid var(--ck-color-base-border);box-shadow:var(--ck-drop-shadow),0 0;max-height:var(--ck-dialog-max-height);max-width:var(--ck-dialog-max-width)}.ck.ck-dialog .ck.ck-form__header{border-bottom:1px solid var(--ck-color-dialog-form-header-border)}@keyframes ck-dialog-fade-in{0%{background:transparent}to{background:var(--ck-dialog-overlay-background-color)}}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dialog/dialog.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dialog/dialog.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,sBAKC,QAAS,CACT,MAAO,CAJP,wBAAyB,CAEzB,cAAe,CAGf,OAAQ,CACR,KAAM,CAPN,gBAcD,CALC,qDAEC,cAAe,CACf,eAAgB,CAFhB,mBAGD,CAGD,cACC,wBAAyB,CAEzB,iBAAkB,CADlB,iBAcD,CAXC,kCACC,aAKD,CAHC,0DACC,WACD,CAVF,mEAcE,kBAEF,CC7BA,MACC,mDAA2D,CAC3D,uDAA8D,CAC9D,2BAA4B,CAC5B,2BAA4B,CAC5B,4DAA6D,CAC7D,gEACD,CAEA,sBACC,+BAAgC,CAChC,oDAAqD,CACrD,0BACD,CAEA,cCbC,eD2BD,CAdA,mECTE,qCDuBF,CAdA,cAIC,6CAA8C,CAE9C,4CAA6C,CAG7C,4CAA6C,CExB7C,oCAA8B,CFsB9B,sCAAuC,CACvC,oCAMD,CAHC,kCACC,iEACD,CAGD,6BACC,GACC,sBACD,CAEA,GACC,oDACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-dialog-overlay {\n\tuser-select: none;\n\toverscroll-behavior: none;\n\n\tposition: fixed;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\ttop: 0;\n\n\t&.ck-dialog-overlay__transparent {\n\t\tpointer-events: none;\n\t\tanimation: none;\n\t\tbackground: none;\n\t}\n}\n\n.ck.ck-dialog {\n\toverscroll-behavior: none;\n\twidth: fit-content;\n\tposition: absolute;\n\n\t& .ck.ck-form__header  {\n\t\tflex-shrink: 0;\n\n\t\t& .ck-form__header__label {\n\t\t\tcursor: grab;\n\t\t}\n\t}\n\n\t@nest .ck.ck-dialog-overlay.ck-dialog-overlay__transparent & {\n\t\tpointer-events: all;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n:root {\n\t--ck-dialog-overlay-background-color: hsla( 0, 0%, 0%, .5 );\n\t--ck-dialog-drop-shadow: 0px 0px 6px 2px hsl(0deg 0% 0% / 15%);\n\t--ck-dialog-max-width: 100vw;\n\t--ck-dialog-max-height: 90vh;\n\t--ck-color-dialog-background: var(--ck-color-base-background);\n\t--ck-color-dialog-form-header-border: var(--ck-color-base-border);\n}\n\n.ck.ck-dialog-overlay {\n\tanimation: ck-dialog-fade-in .3s;\n\tbackground: var(--ck-dialog-overlay-background-color);\n\tz-index: var(--ck-z-dialog);\n}\n\n.ck.ck-dialog {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\t--ck-drop-shadow: var(--ck-dialog-drop-shadow);\n\n\tbackground: var(--ck-color-dialog-background);\n\tmax-height: var(--ck-dialog-max-height);\n\tmax-width: var(--ck-dialog-max-width);\n\tborder: 1px solid var(--ck-color-base-border);\n\n\t& .ck.ck-form__header {\n\t\tborder-bottom: 1px solid var(--ck-color-dialog-form-header-border);\n\t}\n}\n\n@keyframes ck-dialog-fade-in {\n\t0% {\n\t\tbackground: hsla( 0, 0%, 0%, 0 );\n\t}\n\n\t100% {\n\t\tbackground: var(--ck-dialog-overlay-background-color);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const O=M},9822:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-dialog .ck.ck-dialog__actions{display:flex;justify-content:flex-end;padding:var(--ck-spacing-large)}.ck.ck-dialog .ck.ck-dialog__actions>*+*{margin-left:var(--ck-spacing-large)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dialog/dialogactions.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dialog/dialogactions.css"],names:[],mappings:"AAMC,qCACC,YAAa,CACb,wBAAyB,CCDzB,+BDED,CCAC,yCACC,mCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-dialog {\n\t& .ck.ck-dialog__actions {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-dialog {\n\t& .ck.ck-dialog__actions {\n\t\tpadding: var(--ck-spacing-large);\n\n\t\t& > * + * {\n\t\t\tmargin-left: var(--ck-spacing-large);\n\t\t}\n\t}\n}\n"],sourceRoot:""}]);const O=M},8149:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-dropdown-max-width:75vw}.ck.ck-dropdown{display:inline-block;position:relative}.ck.ck-dropdown .ck-dropdown__arrow{pointer-events:none;z-index:var(--ck-z-default)}.ck.ck-dropdown .ck-button.ck-dropdown__button{width:100%}.ck.ck-dropdown .ck-dropdown__panel{display:none;max-width:var(--ck-dropdown-max-width);position:absolute;z-index:var(--ck-z-panel)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible{display:inline-block}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw{bottom:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{bottom:auto;top:100%}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se{left:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw{right:0}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s{left:50%;transform:translateX(-50%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw{left:75%;transform:translateX(-75%)}.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,.ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme{left:25%;transform:translateX(-25%)}.ck.ck-toolbar .ck-dropdown__panel{z-index:calc(var(--ck-z-panel) + 1)}:root{--ck-dropdown-arrow-size:calc(var(--ck-icon-size)*0.5)}.ck.ck-dropdown{font-size:inherit}.ck.ck-dropdown .ck-dropdown__arrow{width:var(--ck-dropdown-arrow-size)}[dir=ltr] .ck.ck-dropdown .ck-dropdown__arrow{margin-left:var(--ck-spacing-standard);right:var(--ck-spacing-standard)}[dir=rtl] .ck.ck-dropdown .ck-dropdown__arrow{left:var(--ck-spacing-standard);margin-right:var(--ck-spacing-small)}.ck.ck-dropdown.ck-disabled .ck-dropdown__arrow{opacity:var(--ck-disabled-opacity)}[dir=ltr] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-left:var(--ck-spacing-small)}[dir=rtl] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text){padding-right:var(--ck-spacing-small)}.ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label{overflow:hidden;text-overflow:ellipsis;width:7em}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label{opacity:var(--ck-disabled-opacity)}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on{border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-dropdown__button_label-width_auto .ck-button__label{width:auto}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active{box-shadow:none}.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus,.ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus{box-shadow:var(--ck-focus-outer-shadow),0 0}.ck.ck-dropdown__panel{border-radius:0}.ck-rounded-corners .ck.ck-dropdown__panel,.ck.ck-dropdown__panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-dropdown__panel{background:var(--ck-color-dropdown-panel-background);border:1px solid var(--ck-color-dropdown-panel-border);bottom:0;box-shadow:var(--ck-drop-shadow),0 0;min-width:100%}.ck.ck-dropdown__panel.ck-dropdown__panel_se{border-top-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_sw{border-top-right-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_ne{border-bottom-left-radius:0}.ck.ck-dropdown__panel.ck-dropdown__panel_nw{border-bottom-right-radius:0}.ck.ck-dropdown__panel:focus{outline:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/dropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,MACC,4BACD,CAEA,gBACC,oBAAqB,CACrB,iBA2ED,CAzEC,oCACC,mBAAoB,CACpB,2BACD,CAGA,+CACC,UACD,CAEA,oCACC,YAAa,CAEb,sCAAuC,CAEvC,iBAAkB,CAHlB,yBA4DD,CAvDC,+DACC,oBACD,CAEA,mSAKC,WACD,CAEA,mSAUC,WAAY,CADZ,QAED,CAEA,oHAEC,MACD,CAEA,oHAEC,OACD,CAEA,kHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAEA,sHAGC,QAAS,CACT,0BACD,CAQF,mCACC,mCACD,CCpFA,MACC,sDACD,CAEA,gBAEC,iBA2ED,CAzEC,oCACC,mCACD,CAGC,8CAIC,sCAAuC,CAHvC,gCAID,CAIA,8CACC,+BAAgC,CAGhC,oCACD,CAGD,gDC/BA,kCDiCA,CAIE,mFAEC,oCACD,CAIA,mFAEC,qCACD,CAID,iEAEC,eAAgB,CAChB,sBAAuB,CAFvB,SAGD,CAGA,6EC1DD,kCD4DC,CAGA,qDACC,2BAA4B,CAC5B,4BACD,CAEA,sGACC,UACD,CAGA,yHAEC,eAKD,CAHC,qIE7EF,2CF+EE,CAKH,uBGlFC,eHkHD,CAhCA,qFG9EE,qCH8GF,CAhCA,uBAIC,oDAAqD,CACrD,sDAAuD,CACvD,QAAS,CE1FT,oCAA8B,CF6F9B,cAuBD,CAnBC,6CACC,wBACD,CAEA,6CACC,yBACD,CAEA,6CACC,2BACD,CAEA,6CACC,4BACD,CAEA,6BACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-dropdown-max-width: 75vw;\n}\n\n.ck.ck-dropdown {\n\tdisplay: inline-block;\n\tposition: relative;\n\n\t& .ck-dropdown__arrow {\n\t\tpointer-events: none;\n\t\tz-index: var(--ck-z-default);\n\t}\n\n\t/* Dropdown button should span horizontally, e.g. in vertical toolbars */\n\t& .ck-button.ck-dropdown__button {\n\t\twidth: 100%;\n\t}\n\n\t& .ck-dropdown__panel {\n\t\tdisplay: none;\n\t\tz-index: var(--ck-z-panel);\n\t\tmax-width: var(--ck-dropdown-max-width);\n\n\t\tposition: absolute;\n\n\t\t&.ck-dropdown__panel-visible {\n\t\t\tdisplay: inline-block;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_n,\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_nme {\n\t\t\tbottom: 100%;\n\t\t}\n\n\t\t&.ck-dropdown__panel_se,\n\t\t&.ck-dropdown__panel_sw,\n\t\t&.ck-dropdown__panel_smw,\n\t\t&.ck-dropdown__panel_sme,\n\t\t&.ck-dropdown__panel_s {\n\t\t\t/*\n\t\t\t * Using transform: translate3d( 0, 100%, 0 ) causes blurry dropdown on Chrome 67-78+ on non-retina displays.\n\t\t\t * See https://github.com/ckeditor/ckeditor5/issues/1053.\n\t\t\t */\n\t\t\ttop: 100%;\n\t\t\tbottom: auto;\n\t\t}\n\n\t\t&.ck-dropdown__panel_ne,\n\t\t&.ck-dropdown__panel_se {\n\t\t\tleft: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_nw,\n\t\t&.ck-dropdown__panel_sw {\n\t\t\tright: 0px;\n\t\t}\n\n\t\t&.ck-dropdown__panel_s,\n\t\t&.ck-dropdown__panel_n {\n\t\t\t/* Positioning panels relative to the center of the button */\n\t\t\tleft: 50%;\n\t\t\ttransform: translateX(-50%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nmw,\n\t\t&.ck-dropdown__panel_smw {\n\t\t\t/* Positioning panels relative to the middle-west of the button */\n\t\t\tleft: 75%;\n\t\t\ttransform: translateX(-75%);\n\t\t}\n\n\t\t&.ck-dropdown__panel_nme,\n\t\t&.ck-dropdown__panel_sme {\n\t\t\t/* Positioning panels relative to the middle-east of the button */\n\t\t\tleft: 25%;\n\t\t\ttransform: translateX(-25%);\n\t\t}\n\t}\n}\n\n/*\n * Toolbar dropdown panels should be always above the UI (eg. other dropdown panels) from the editor's content.\n * See https://github.com/ckeditor/ckeditor5/issues/7874\n */\n.ck.ck-toolbar .ck-dropdown__panel {\n\tz-index: calc( var(--ck-z-panel) + 1 );\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-dropdown-arrow-size: calc(0.5 * var(--ck-icon-size));\n}\n\n.ck.ck-dropdown {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-dropdown__arrow {\n\t\twidth: var(--ck-dropdown-arrow-size);\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& .ck-dropdown__arrow {\n\t\t\tright: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& .ck-dropdown__arrow {\n\t\t\tleft: var(--ck-spacing-standard);\n\n\t\t\t/* A space to accommodate the triangle. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\t}\n\n\t&.ck-disabled .ck-dropdown__arrow {\n\t\t@mixin ck-disabled;\n\t}\n\n\t& .ck-button.ck-dropdown__button {\n\t\t@mixin ck-dir ltr {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-left: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\t&:not(.ck-button_with-text) {\n\t\t\t\t/* Make sure dropdowns with just an icon have the right inner spacing */\n\t\t\t\tpadding-right: var(--ck-spacing-small);\n\t\t\t}\n\t\t}\n\n\t\t/* #23 */\n\t\t& .ck-button__label {\n\t\t\twidth: 7em;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */\n\t\t&.ck-disabled .ck-button__label {\n\t\t\t@mixin ck-disabled;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/816 */\n\t\t&.ck-on {\n\t\t\tborder-bottom-left-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t&.ck-dropdown__button_label-width_auto .ck-button__label {\n\t\t\twidth: auto;\n\t\t}\n\n\t\t/* https://github.com/ckeditor/ckeditor5/issues/8699 */\n\t\t&.ck-off:active,\n\t\t&.ck-on:active {\n\t\t\tbox-shadow: none;\n\n\t\t\t&:focus {\n\t\t\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-dropdown__panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tbackground: var(--ck-color-dropdown-panel-background);\n\tborder: 1px solid var(--ck-color-dropdown-panel-border);\n\tbottom: 0;\n\n\t/* Make sure the panel is at least as wide as the drop-down\'s button. */\n\tmin-width: 100%;\n\n\t/* Disabled corner border radius to be consistent with the .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-dropdown__panel_se {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_sw {\n\t\tborder-top-right-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_ne {\n\t\tborder-bottom-left-radius: 0;\n\t}\n\n\t&.ck-dropdown__panel_nw {\n\t\tborder-bottom-right-radius: 0;\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which indicates that an element holding it is disabled.\n */\n@define-mixin ck-disabled {\n\topacity: var(--ck-disabled-opacity);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},3629:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-dropdown .ck-dropdown__panel .ck-list{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list,.ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0;border-top-left-radius:0}.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button{border-radius:0}.ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button,.ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/listdropdown.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,6CCIC,eDqBD,CAzBA,iICQE,qCAAsC,CDJtC,wBAqBF,CAfE,mFCND,eDYC,CANA,6MCFA,qCAAsC,CDKpC,2BAA4B,CAC5B,4BAA6B,CAF7B,wBAIF,CAEA,kFCdD,eDmBC,CALA,2MCVA,qCAAsC,CDYpC,wBAAyB,CACzB,yBAEF",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-dropdown .ck-dropdown__panel .ck-list {\n\t/* Disabled radius of top-left border to be consistent with .dropdown__button\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t@mixin ck-rounded-corners {\n\t\tborder-top-left-radius: 0;\n\t}\n\n\t/* Make sure the button belonging to the first/last child of the list goes well with the\n\tborder radius of the entire panel. */\n\t& .ck-list__item {\n\t\t&:first-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\n\t\t&:last-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},1792:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,'.ck.ck-splitbutton{font-size:inherit}.ck.ck-splitbutton .ck-splitbutton__action:focus{z-index:calc(var(--ck-z-default) + 1)}:root{--ck-color-split-button-hover-background:#ebebeb;--ck-color-split-button-hover-border:#b3b3b3}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-right-radius:unset;border-top-right-radius:unset}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__action{border-bottom-left-radius:unset;border-top-left-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow{min-width:unset}[dir=ltr] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-left-radius:unset;border-top-left-radius:unset}[dir=rtl] .ck.ck-splitbutton>.ck-splitbutton__arrow{border-bottom-right-radius:unset;border-top-right-radius:unset}.ck.ck-splitbutton>.ck-splitbutton__arrow svg{width:var(--ck-dropdown-arrow-size)}.ck.ck-splitbutton>.ck-splitbutton__arrow:not(:focus){border-bottom-width:0;border-top-width:0}.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover){background:var(--ck-color-split-button-hover-background)}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{background-color:var(--ck-color-split-button-hover-border);content:"";height:100%;position:absolute;width:1px}.ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:focus:after,.ck.ck-splitbutton:hover>.ck-splitbutton__arrow:focus:after{--ck-color-split-button-hover-border:var(--ck-color-focus-border)}[dir=ltr] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=ltr] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{left:-1px}[dir=rtl] .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow:not(.ck-disabled):after,[dir=rtl] .ck.ck-splitbutton:hover>.ck-splitbutton__arrow:not(.ck-disabled):after{right:-1px}.ck.ck-splitbutton.ck-splitbutton_open{border-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__action,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__action{border-bottom-left-radius:0}.ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open>.ck-splitbutton__arrow,.ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners>.ck-splitbutton__arrow{border-bottom-right-radius:0}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/splitbutton.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAKA,mBAEC,iBAKD,CAHC,iDACC,qCACD,CCJD,MACC,gDAAyD,CACzD,4CACD,CAMC,oIAKE,gCAAiC,CADjC,6BASF,CAbA,oIAWE,+BAAgC,CADhC,4BAGF,CAEA,0CAGC,eAiBD,CApBA,oDAQE,+BAAgC,CADhC,4BAaF,CApBA,oDAcE,gCAAiC,CADjC,6BAOF,CAHC,8CACC,mCACD,CAKD,sDAEC,qBAAwB,CADxB,kBAED,CAQC,0KACC,wDACD,CAIA,8JAKC,0DAA2D,CAJ3D,UAAW,CAGX,WAAY,CAFZ,iBAAkB,CAClB,SAGD,CAGA,sIACC,iEACD,CAGC,kLACC,SACD,CAIA,kLACC,UACD,CAMF,uCCzFA,eDmGA,CAVA,qHCrFC,qCD+FD,CARE,qKACC,2BACD,CAEA,mKACC,4BACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-splitbutton {\n\t/* Enable font size inheritance, which allows fluid UI scaling. */\n\tfont-size: inherit;\n\n\t& .ck-splitbutton__action:focus {\n\t\tz-index: calc(var(--ck-z-default) + 1);\n\t}\n}\n\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-color-split-button-hover-background: hsl(0, 0%, 92%);\n\t--ck-color-split-button-hover-border: hsl(0, 0%, 70%);\n}\n\n.ck.ck-splitbutton {\n\t/*\n\t * Note: ck-rounded and ck-dir mixins don\'t go together (because they both use @nest).\n\t */\n\t&:hover > .ck-splitbutton__action,\n\t&.ck-splitbutton_open > .ck-splitbutton__action {\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the action button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the action button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\t}\n\n\t& > .ck-splitbutton__arrow {\n\t\t/* It\'s a text-less button and since the icon is positioned absolutely in such situation,\n\t\tit must get some arbitrary min-width. */\n\t\tmin-width: unset;\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t/* Don\'t round the arrow button on the left side */\n\t\t\tborder-top-left-radius: unset;\n\t\t\tborder-bottom-left-radius: unset;\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t/* Don\'t round the arrow button on the right side */\n\t\t\tborder-top-right-radius: unset;\n\t\t\tborder-bottom-right-radius: unset;\n\t\t}\n\n\t\t& svg {\n\t\t\twidth: var(--ck-dropdown-arrow-size);\n\t\t}\n\t}\n\n\t/* Make sure the divider stretches 100% height of the button\n\thttps://github.com/ckeditor/ckeditor5/issues/10936 */\n\t& > .ck-splitbutton__arrow:not(:focus) {\n\t\tborder-top-width: 0px;\n\t\tborder-bottom-width: 0px;\n\t}\n\n\t/* When the split button is "open" (the arrow is on) or being hovered, it should get some styling\n\tas a whole. The background of both buttons should stand out and there should be a visual\n\tseparation between both buttons. */\n\t&.ck-splitbutton_open,\n\t&:hover {\n\t\t/* When the split button hovered as a whole, not as individual buttons. */\n\t\t& > .ck-button:not(.ck-on):not(.ck-disabled):not(:hover) {\n\t\t\tbackground: var(--ck-color-split-button-hover-background);\n\t\t}\n\n\t\t/* Splitbutton separator needs to be set with the ::after pseudoselector\n\t\tto display properly the borders on focus */\n\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\tcontent: \'\';\n\t\t\tposition: absolute;\n\t\t\twidth: 1px;\n\t\t\theight: 100%;\n\t\t\tbackground-color: var(--ck-color-split-button-hover-border);\n\t\t}\n\n\t\t/* Make sure the divider between the buttons looks fine when the button is focused */\n\t\t& > .ck-splitbutton__arrow:focus::after {\n\t\t\t--ck-color-split-button-hover-border: var(--ck-color-focus-border);\n\t\t}\n\n\t\t@nest [dir="ltr"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tleft: -1px;\n\t\t\t}\n\t\t}\n\n\t\t@nest [dir="rtl"] & {\n\t\t\t& > .ck-splitbutton__arrow:not(.ck-disabled)::after {\n\t\t\t\tright: -1px;\n\t\t\t}\n\t\t}\n\t}\n\n\t/* Don\'t round the bottom left and right corners of the buttons when "open"\n\thttps://github.com/ckeditor/ckeditor5/issues/816 */\n\t&.ck-splitbutton_open {\n\t\t@mixin ck-rounded-corners {\n\t\t\t& > .ck-splitbutton__action {\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t}\n\n\t\t\t& > .ck-splitbutton__arrow {\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},1666:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-toolbar-dropdown-max-width:60vw}.ck.ck-toolbar-dropdown>.ck-dropdown__panel{max-width:var(--ck-toolbar-dropdown-max-width);width:max-content}.ck.ck-toolbar-dropdown>.ck-dropdown__panel .ck-button:focus{z-index:calc(var(--ck-z-default) + 1)}.ck.ck-toolbar-dropdown .ck-toolbar{border:0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/dropdown/toolbardropdown.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css"],names:[],mappings:"AAKA,MACC,oCACD,CAEA,4CAGC,8CAA+C,CAD/C,iBAQD,CAJE,6DACC,qCACD,CCZF,oCACC,QACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-dropdown-max-width: 60vw;\n}\n\n.ck.ck-toolbar-dropdown > .ck-dropdown__panel {\n\t/* https://github.com/ckeditor/ckeditor5/issues/5586 */\n\twidth: max-content;\n\tmax-width: var(--ck-toolbar-dropdown-max-width);\n\n\t& .ck-button {\n\t\t&:focus {\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-toolbar-dropdown .ck-toolbar {\n\tborder: 0;\n}\n"],sourceRoot:""}]);const O=M},8527:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-accessibility-help-dialog-max-width:600px;--ck-accessibility-help-dialog-max-height:400px;--ck-accessibility-help-dialog-border-color:#ccced1;--ck-accessibility-help-dialog-code-background-color:#ededed;--ck-accessibility-help-dialog-kbd-shadow-color:#9c9c9c}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content{border:1px solid transparent;max-height:var(--ck-accessibility-help-dialog-max-height);max-width:var(--ck-accessibility-help-dialog-max-width);overflow:auto;padding:var(--ck-spacing-large);user-select:text}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content{*{white-space:normal}}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content .ck-label{display:none}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h3{font-size:1.2em;font-weight:700}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h4{font-size:1em;font-weight:700}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h3,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content h4,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content p,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content table{margin:1em 0}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl{border-bottom:none;border-top:1px solid var(--ck-accessibility-help-dialog-border-color);display:grid;grid-template-columns:2fr 1fr}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dd,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dt{border-bottom:1px solid var(--ck-accessibility-help-dialog-border-color);padding:.4em 0}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dt{grid-column-start:1}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content dl dd{grid-column-start:2;text-align:right}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content code,.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd{background:var(--ck-accessibility-help-dialog-code-background-color);border-radius:2px;display:inline-block;font-size:.9em;line-height:1;padding:.4em;text-align:center;vertical-align:middle}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content code{font-family:monospace}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd{box-shadow:0 1px 1px var(--ck-accessibility-help-dialog-kbd-shadow-color);margin:0 1px;min-width:1.8em}.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content kbd+kbd{margin-left:2px}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/accessibilityhelp.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAQA,MACC,8CAA+C,CAC/C,+CAAgD,CAChD,mDAA8D,CAC9D,4DAAyE,CACzE,uDACD,CAEA,wEAOC,4BAA6B,CAJ7B,yDAA0D,CAD1D,uDAAwD,CAExD,aAAc,CAHd,+BAAgC,CAIhC,gBAgFD,CA5EC,8ECdA,2BAA2B,CCF3B,2CAA8B,CDC9B,YDkBA,CAZD,wEAcC,EACC,kBACD,CAqED,CAlEC,kFACC,YACD,CAEA,2EAEC,eAAgB,CADhB,eAED,CAEA,2EAEC,aAAc,CADd,eAED,CAEA,8SAIC,YACD,CAEA,2EAIC,kBAAmB,CADnB,qEAAsE,CAFtE,YAAa,CACb,6BAiBD,CAbC,4JACC,wEAAyE,CACzE,cACD,CAEA,8EACC,mBACD,CAEA,8EACC,mBAAoB,CACpB,gBACD,CAGD,yJAEC,oEAAqE,CAIrE,iBAAkB,CALlB,oBAAqB,CAOrB,cAAe,CAHf,aAAc,CAFd,YAAa,CAIb,iBAAkB,CAHlB,qBAKD,CAEA,6EACC,qBACD,CAEA,4EAEC,yEAA4E,CAC5E,YAAa,CAFb,eAOD,CAHC,gFACC,eACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-accessibility-help-dialog-max-width: 600px;\n\t--ck-accessibility-help-dialog-max-height: 400px;\n\t--ck-accessibility-help-dialog-border-color: hsl(220, 6%, 81%);\n\t--ck-accessibility-help-dialog-code-background-color: hsl(0deg 0% 92.94%);\n\t--ck-accessibility-help-dialog-kbd-shadow-color: hsl(0deg 0% 61%);\n}\n\n.ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content {\n\tpadding: var(--ck-spacing-large);\n\tmax-width: var(--ck-accessibility-help-dialog-max-width);\n\tmax-height: var(--ck-accessibility-help-dialog-max-height);\n\toverflow: auto;\n\tuser-select: text;\n\n\tborder: 1px solid transparent;\n\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t* {\n\t\twhite-space: normal;\n\t}\n\n\t/* Hide the main label of the content container. */\n\t& .ck-label {\n\t\tdisplay: none;\n\t}\n\n\t& h3 {\n\t\tfont-weight: bold;\n\t\tfont-size: 1.2em;\n\t}\n\n\t& h4 {\n\t\tfont-weight: bold;\n\t\tfont-size: 1em;\n\t}\n\n\t& p,\n\t& h3,\n\t& h4,\n\t& table {\n\t\tmargin: 1em 0;\n\t}\n\n\t& dl {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 2fr 1fr;\n\t\tborder-top: 1px solid var(--ck-accessibility-help-dialog-border-color);\n\t\tborder-bottom: none;\n\n\t\t& dt, & dd {\n\t\t\tborder-bottom: 1px solid var(--ck-accessibility-help-dialog-border-color);\n\t\t\tpadding: .4em 0;\n\t\t}\n\n\t\t& dt {\n\t\t\tgrid-column-start: 1;\n\t\t}\n\n\t\t& dd {\n\t\t\tgrid-column-start: 2;\n\t\t\ttext-align: right;\n\t\t}\n\t}\n\n\t& kbd, & code {\n\t\tdisplay: inline-block;\n\t\tbackground: var(--ck-accessibility-help-dialog-code-background-color);\n\t\tpadding: .4em;\n\t\tvertical-align: middle;\n\t\tline-height: 1;\n\t\tborder-radius: 2px;\n\t\ttext-align: center;\n\t\tfont-size: .9em;\n\t}\n\n\t& code {\n\t\tfont-family: monospace;\n\t}\n\n\t& kbd {\n\t\tmin-width: 1.8em;\n\t\tbox-shadow: 0px 1px 1px var(--ck-accessibility-help-dialog-kbd-shadow-color);\n\t\tmargin: 0 1px;\n\n\t\t& + kbd {\n\t\t\tmargin-left: 2px;\n\t\t}\n\t}\n}\n\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const O=M},1185:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-color-editable-blur-selection:#d9d9d9}.ck.ck-editor__editable:not(.ck-editor__nested-editable){border-radius:0}.ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable),.ck.ck-editor__editable.ck-rounded-corners:not(.ck-editor__nested-editable){border-radius:var(--ck-border-radius)}.ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable){border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck.ck-editor__editable_inline{border:1px solid transparent;overflow:auto;padding:0 var(--ck-spacing-standard)}.ck.ck-editor__editable_inline[dir=ltr]{text-align:left}.ck.ck-editor__editable_inline[dir=rtl]{text-align:right}.ck.ck-editor__editable_inline>:first-child{margin-top:var(--ck-spacing-large)}.ck.ck-editor__editable_inline>:last-child{margin-bottom:var(--ck-spacing-large)}.ck.ck-editor__editable_inline.ck-blurred ::selection{background:var(--ck-color-editable-blur-selection)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_n]:after{border-bottom-color:var(--ck-color-panel-background)}.ck.ck-balloon-panel.ck-toolbar-container[class*=arrow_s]:after{border-top-color:var(--ck-color-panel-background)}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAWA,MACC,0CACD,CAEA,yDCJC,eDWD,CAPA,yJCAE,qCDOF,CAJC,oEEPA,2BAA2B,CCF3B,qCAA8B,CDC9B,YFWA,CAGD,+BAGC,4BAA6B,CAF7B,aAAc,CACd,oCA6BD,CA1BC,wCACC,eACD,CAEA,wCACC,gBACD,CAGA,4CACC,kCACD,CAGA,2CAKC,qCACD,CAGA,sDACC,kDACD,CAKA,gEACC,oDACD,CAIA,gEACC,iDACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_shadow.css";\n@import "../../../mixins/_focus.css";\n@import "../../mixins/_button.css";\n\n:root {\n\t--ck-color-editable-blur-selection: hsl(0, 0%, 85%);\n}\n\n.ck.ck-editor__editable:not(.ck-editor__nested-editable) {\n\t@mixin ck-rounded-corners;\n\n\t&.ck-focused {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\t}\n}\n\n.ck.ck-editor__editable_inline {\n\toverflow: auto;\n\tpadding: 0 var(--ck-spacing-standard);\n\tborder: 1px solid transparent;\n\n\t&[dir="ltr"] {\n\t\ttext-align: left;\n\t}\n\n\t&[dir="rtl"] {\n\t\ttext-align: right;\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */\n\t& > *:first-child {\n\t\tmargin-top: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/847 */\n\t& > *:last-child {\n\t\t/*\n\t\t * This value should match with the default margins of the block elements (like .media or .image)\n\t\t * to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).\n\t\t */\n\t\tmargin-bottom: var(--ck-spacing-large);\n\t}\n\n\t/* https://github.com/ckeditor/ckeditor5/issues/6517 */\n\t&.ck-blurred ::selection {\n\t\tbackground: var(--ck-color-editable-blur-selection);\n\t}\n}\n\n/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"] {\n\t&::after {\n\t\tborder-bottom-color: var(--ck-color-panel-background);\n\t}\n}\n\n.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"] {\n\t&::after {\n\t\tborder-top-color: var(--ck-color-panel-background);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const O=M},7913:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-form__header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between}.ck.ck-form__header h2.ck-form__header__label{flex-grow:1}:root{--ck-form-header-height:44px}.ck.ck-form__header{border-bottom:1px solid var(--ck-color-base-border);height:var(--ck-form-header-height);line-height:var(--ck-form-header-height);padding:var(--ck-spacing-small) var(--ck-spacing-large)}[dir=ltr] .ck.ck-form__header>.ck-icon{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-form__header>.ck-icon{margin-left:var(--ck-spacing-medium)}.ck.ck-form__header .ck-form__header__label{--ck-font-size-base:15px;font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/formheader/formheader.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/formheader/formheader.css"],names:[],mappings:"AAKA,oBAIC,kBAAmB,CAHnB,YAAa,CACb,kBAAmB,CACnB,gBAAiB,CAEjB,6BAKD,CAHC,8CACC,WACD,CCPD,MACC,4BACD,CAEA,oBAIC,mDAAoD,CAFpD,mCAAoC,CACpC,wCAAyC,CAFzC,uDAmBD,CAdC,uCAEE,qCAMF,CARA,uCAME,oCAEF,CAEA,4CACC,wBAAyB,CACzB,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-form__header {\n\tdisplay: flex;\n\tflex-direction: row;\n\tflex-wrap: nowrap;\n\talign-items: center;\n\tjustify-content: space-between;\n\n\t& h2.ck-form__header__label {\n\t\tflex-grow: 1;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-form-header-height: 44px;\n}\n\n.ck.ck-form__header {\n\tpadding: var(--ck-spacing-small) var(--ck-spacing-large);\n\theight: var(--ck-form-header-height);\n\tline-height: var(--ck-form-header-height);\n\tborder-bottom: 1px solid var(--ck-color-base-border);\n\n\t& > .ck-icon {\n\t\t@mixin ck-dir ltr {\n\t\t\tmargin-right: var(--ck-spacing-medium);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\tmargin-left: var(--ck-spacing-medium);\n\t\t}\n\t}\n\n\t& .ck-form__header__label {\n\t\t--ck-font-size-base: 15px;\n\t\tfont-weight: bold;\n\t}\n}\n'],sourceRoot:""}]);const O=M},9529:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-highlighted-text mark{background:var(--ck-color-highlight-background);font-size:inherit;font-weight:inherit;line-height:inherit;vertical-align:initial}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/highlightedtext/highlightedtext.css"],names:[],mappings:"AAKA,6BACC,+CAAgD,CAIhD,iBAAkB,CAFlB,mBAAoB,CACpB,mBAAoB,CAFpB,sBAID",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-highlighted-text mark {\n\tbackground: var(--ck-color-highlight-background);\n\tvertical-align: initial;\n\tfont-weight: inherit;\n\tline-height: inherit;\n\tfont-size: inherit;\n}\n"],sourceRoot:""}]);const O=M},7621:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-icon{vertical-align:middle}:root{--ck-icon-size:calc(var(--ck-line-height-base)*var(--ck-font-size-normal))}.ck.ck-icon{font-size:.8333350694em;height:var(--ck-icon-size);width:var(--ck-icon-size);will-change:transform}.ck.ck-icon,.ck.ck-icon *{cursor:inherit}.ck.ck-icon.ck-icon_inherit-color,.ck.ck-icon.ck-icon_inherit-color *{color:inherit}.ck.ck-icon.ck-icon_inherit-color :not([fill]){fill:currentColor}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/icon/icon.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/icon/icon.css"],names:[],mappings:"AAKA,YACC,qBACD,CCFA,MACC,0EACD,CAEA,YAKC,uBAAwB,CAHxB,0BAA2B,CAD3B,yBAA0B,CAU1B,qBAoBD,CAlBC,0BALA,cAQA,CAMC,sEACC,aAMD,CAJC,+CAEC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-icon {\n\tvertical-align: middle;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));\n}\n\n.ck.ck-icon {\n\twidth: var(--ck-icon-size);\n\theight: var(--ck-icon-size);\n\n\t/* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */\n\tfont-size: .8333350694em;\n\n\t/* Inherit cursor style (#5). */\n\tcursor: inherit;\n\n\t/* This will prevent blurry icons on Firefox. See #340. */\n\twill-change: transform;\n\n\t& * {\n\t\t/* Inherit cursor style (#5). */\n\t\tcursor: inherit;\n\t}\n\n\t/* Allows dynamic coloring of an icon by inheriting its color from the parent. */\n\t&.ck-icon_inherit-color {\n\t\tcolor: inherit;\n\n\t\t& * {\n\t\t\tcolor: inherit;\n\n\t\t\t&:not([fill]) {\n\t\t\t\t/* Needed by FF. */\n\t\t\t\tfill: currentColor;\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const O=M},253:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-input-width:18em;--ck-input-text-width:var(--ck-input-width)}.ck.ck-input{border-radius:0}.ck-rounded-corners .ck.ck-input,.ck.ck-input.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-input{background:var(--ck-color-input-background);border:1px solid var(--ck-color-input-border);min-height:var(--ck-ui-component-min-height);min-width:var(--ck-input-width);padding:var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);transition:box-shadow .1s ease-in-out,border .1s ease-in-out}.ck.ck-input:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck.ck-input[readonly]{background:var(--ck-color-input-disabled-background);border:1px solid var(--ck-color-input-disabled-border);color:var(--ck-color-input-disabled-text)}.ck.ck-input[readonly]:focus{box-shadow:var(--ck-focus-disabled-outer-shadow),0 0}.ck.ck-input.ck-error{animation:ck-input-shake .3s ease both;border-color:var(--ck-color-input-error-border)}.ck.ck-input.ck-error:focus{box-shadow:var(--ck-focus-error-outer-shadow),0 0}@keyframes ck-input-shake{20%{transform:translateX(-2px)}40%{transform:translateX(2px)}60%{transform:translateX(-1px)}80%{transform:translateX(1px)}}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/input/input.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AASA,MACC,qBAAsB,CAGtB,2CACD,CAEA,aCLC,eD2CD,CAtCA,iECDE,qCDuCF,CAtCA,aAGC,2CAA4C,CAC5C,6CAA8C,CAK9C,4CAA6C,CAH7C,+BAAgC,CADhC,6DAA8D,CAO9D,4DA0BD,CAxBC,mBEnBA,2BAA2B,CCF3B,2CAA8B,CDC9B,YFuBA,CAEA,uBAEC,oDAAqD,CADrD,sDAAuD,CAEvD,yCAMD,CAJC,6BG/BD,oDHkCC,CAGD,sBAEC,sCAAuC,CADvC,+CAMD,CAHC,4BGzCD,iDH2CC,CAIF,0BACC,IACC,0BACD,CAEA,IACC,yBACD,CAEA,IACC,0BACD,CAEA,IACC,yBACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_focus.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-input-width: 18em;\n\n\t/* Backward compatibility. */\n\t--ck-input-text-width: var(--ck-input-width);\n}\n\n.ck.ck-input {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-input-background);\n\tborder: 1px solid var(--ck-color-input-border);\n\tpadding: var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);\n\tmin-width: var(--ck-input-width);\n\n\t/* This is important to stay of the same height as surrounding buttons */\n\tmin-height: var(--ck-ui-component-min-height);\n\n\t/* Apply some smooth transition to the box-shadow and border. */\n\ttransition: box-shadow .1s ease-in-out, border .1s ease-in-out;\n\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-focus-outer-shadow);\n\t}\n\n\t&[readonly] {\n\t\tborder: 1px solid var(--ck-color-input-disabled-border);\n\t\tbackground: var(--ck-color-input-disabled-background);\n\t\tcolor: var(--ck-color-input-disabled-text);\n\n\t\t&:focus {\n\t\t\t/* The read-only input should have a slightly less visible shadow when focused. */\n\t\t\t@mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\tborder-color: var(--ck-color-input-error-border);\n\t\tanimation: ck-input-shake .3s ease both;\n\n\t\t&:focus {\n\t\t\t@mixin ck-box-shadow var(--ck-focus-error-outer-shadow);\n\t\t}\n\t}\n}\n\n@keyframes ck-input-shake {\n\t20% {\n\t\ttransform: translateX(-2px);\n\t}\n\n\t40% {\n\t\ttransform: translateX(2px);\n\t}\n\n\t60% {\n\t\ttransform: translateX(-1px);\n\t}\n\n\t80% {\n\t\ttransform: translateX(1px);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const O=M},7801:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-label{display:block}.ck.ck-voice-label{display:none}.ck.ck-label{font-weight:700}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/label/label.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/label/label.css"],names:[],mappings:"AAKA,aACC,aACD,CAEA,mBACC,YACD,CCNA,aACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tdisplay: block;\n}\n\n.ck.ck-voice-label {\n\tdisplay: none;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-label {\n\tfont-weight: bold;\n}\n"],sourceRoot:""}]);const O=M},4962:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{display:flex;position:relative}.ck.ck-labeled-field-view .ck.ck-label{display:block;position:absolute}:root{--ck-labeled-field-view-transition:.1s cubic-bezier(0,0,0.24,0.95);--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-spacing-medium);--ck-labeled-field-label-default-position-x:var(--ck-spacing-medium);--ck-labeled-field-label-default-position-y:calc(var(--ck-font-size-base)*0.6);--ck-color-labeled-field-label-background:var(--ck-color-base-background)}.ck.ck-labeled-field-view{border-radius:0}.ck-rounded-corners .ck.ck-labeled-field-view,.ck.ck-labeled-field-view.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper{width:100%}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{top:0}[dir=ltr] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{left:0;transform:translate(var(--ck-spacing-medium),-6px) scale(.75);transform-origin:0 0}[dir=rtl] .ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{right:0;transform:translate(calc(var(--ck-spacing-medium)*-1),-6px) scale(.75);transform-origin:100% 0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:var(--ck-color-labeled-field-label-background);font-weight:400;line-height:normal;max-width:100%;overflow:hidden;padding:0 calc(var(--ck-font-size-tiny)*.5);pointer-events:none;text-overflow:ellipsis;transition:transform var(--ck-labeled-field-view-transition),padding var(--ck-labeled-field-view-transition),background var(--ck-labeled-field-view-transition)}.ck.ck-labeled-field-view.ck-error .ck-input:not([readonly])+.ck.ck-label,.ck.ck-labeled-field-view.ck-error>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view .ck-labeled-field-view__status{font-size:var(--ck-font-size-small);margin-top:var(--ck-spacing-small);white-space:normal}.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error{color:var(--ck-color-base-error)}.ck.ck-labeled-field-view.ck-disabled>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{color:var(--ck-color-input-disabled-text)}[dir=ltr] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=ltr] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(var(--ck-labeled-field-label-default-position-x),var(--ck-labeled-field-label-default-position-y)) scale(1)}[dir=rtl] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,[dir=rtl] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{transform:translate(calc(var(--ck-labeled-field-label-default-position-x)*-1),var(--ck-labeled-field-label-default-position-y)) scale(1)}.ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label,.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error)>.ck.ck-labeled-field-view__input-wrapper>.ck.ck-label{background:transparent;max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width));padding:0}.ck.ck-labeled-field-view>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck.ck-button{background:transparent}.ck.ck-labeled-field-view.ck-labeled-field-view_empty>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown>.ck-button>.ck-button__label{opacity:0}.ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder)>.ck.ck-labeled-field-view__input-wrapper>.ck-dropdown+.ck-label{max-width:calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard))}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAMC,mEACC,YAAa,CACb,iBACD,CAEA,uCACC,aAAc,CACd,iBACD,CCND,MACC,kEAAsE,CACtE,gFAAiF,CACjF,oEAAqE,CACrE,8EAAiF,CACjF,yEACD,CAEA,0BCLC,eD+GD,CA1GA,2FCDE,qCD2GF,CAvGC,mEACC,UAoCD,CAlCC,gFACC,KAgCD,CAjCA,0FAIE,MAAS,CAGT,6DAA+D,CAF/D,oBA4BF,CAjCA,0FAWE,OAAU,CAEV,sEAA0E,CAD1E,uBAqBF,CAjCA,gFAkBC,yDAA0D,CAG1D,eAAmB,CADnB,kBAAoB,CAOpB,cAAe,CAFf,eAAgB,CANhB,2CAA8C,CAH9C,mBAAoB,CAQpB,sBAAuB,CAKvB,+JAID,CAQA,mKACC,gCACD,CAGD,yDACC,mCAAoC,CACpC,kCAAmC,CAInC,kBAKD,CAHC,6FACC,gCACD,CAID,4OAEC,yCACD,CAIA,2XAGE,+HAYF,CAfA,2XAOE,wIAQF,CAfA,uWAaC,sBAAuB,CAFvB,iEAAkE,CAGlE,SACD,CAKA,8FACC,sBACD,CAGA,yIACC,SACD,CAGA,kMACC,8HACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-labeled-field-view {\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\tdisplay: flex;\n\t\tposition: relative;\n\t}\n\n\t& .ck.ck-label {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n@import "../../../mixins/_rounded.css";\n\n:root {\n\t--ck-labeled-field-view-transition: .1s cubic-bezier(0, 0, 0.24, 0.95);\n\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-x: var(--ck-spacing-medium);\n\t--ck-labeled-field-label-default-position-y: calc(0.6 * var(--ck-font-size-base));\n\t--ck-color-labeled-field-label-background: var(--ck-color-base-background);\n}\n\n.ck.ck-labeled-field-view {\n\t@mixin ck-rounded-corners;\n\n\t& > .ck.ck-labeled-field-view__input-wrapper {\n\t\twidth: 100%;\n\n\t\t& > .ck.ck-label {\n\t\t\ttop: 0px;\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: 0px;\n\t\t\t\ttransform-origin: 0 0;\n\t\t\t\t/* By default, display the label scaled down above the field. */\n\t\t\t\ttransform: translate(var(--ck-spacing-medium), -6px) scale(.75);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: 0px;\n\t\t\t\ttransform-origin: 100% 0;\n\t\t\t\ttransform: translate(calc(-1 * var(--ck-spacing-medium)), -6px) scale(.75);\n\t\t\t}\n\n\t\t\tpointer-events: none;\n\n\t\t\tbackground: var(--ck-color-labeled-field-label-background);\n\t\t\tpadding: 0 calc(.5 * var(--ck-font-size-tiny));\n\t\t\tline-height: initial;\n\t\t\tfont-weight: normal;\n\n\t\t\t/* Prevent overflow when the label is longer than the input */\n\t\t\ttext-overflow: ellipsis;\n\t\t\toverflow: hidden;\n\n\t\t\tmax-width: 100%;\n\n\t\t\ttransition:\n\t\t\t\ttransform var(--ck-labeled-field-view-transition),\n\t\t\t\tpadding var(--ck-labeled-field-view-transition),\n\t\t\t\tbackground var(--ck-labeled-field-view-transition);\n\t\t}\n\t}\n\n\t&.ck-error {\n\t\t& > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\n\t\t& .ck-input:not([readonly]) + .ck.ck-label {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t& .ck-labeled-field-view__status {\n\t\tfont-size: var(--ck-font-size-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\n\t\t/* Let the info wrap to the next line to avoid stretching the layout horizontally.\n\t\tThe status could be very long. */\n\t\twhite-space: normal;\n\n\t\t&.ck-labeled-field-view__status_error {\n\t\t\tcolor: var(--ck-color-base-error);\n\t\t}\n\t}\n\n\t/* Disabled fields and fields that have no focus should fade out. */\n\t&.ck-disabled > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\tcolor: var(--ck-color-input-disabled-text);\n\t}\n\n\t/* Fields that are disabled or not focused and without a placeholder should have full-sized labels. */\n\t/* stylelint-disable-next-line no-descending-specificity */\n\t&.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {\n\t\t@mixin ck-dir ltr {\n\t\t\ttransform: translate(var(--ck-labeled-field-label-default-position-x), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttransform: translate(calc(-1 * var(--ck-labeled-field-label-default-position-x)), var(--ck-labeled-field-label-default-position-y)) scale(1);\n\t\t}\n\n\t\t/* Compensate for the default translate position. */\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width));\n\n\t\tbackground: transparent;\n\t\tpadding: 0;\n\t}\n\n\t/*------ DropdownView integration ----------------------------------------------------------------------------------- */\n\n\t/* Make sure dropdown\' background color in any of dropdown\'s state does not collide with labeled field. */\n\t& > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck.ck-button {\n\t\tbackground: transparent;\n\t}\n\n\t/* When the dropdown is "empty", the labeled field label replaces its label. */\n\t&.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck-button > .ck-button__label {\n\t\topacity: 0;\n\t}\n\n\t/* Make sure the label of the empty, unfocused input does not cover the dropdown arrow. */\n\t&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown + .ck-label {\n\t\tmax-width: calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard));\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},5199:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-list{display:flex;flex-direction:column;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-list .ck-list__item,.ck.ck-list .ck-list__separator{display:block}.ck.ck-list .ck-list__item>:focus{position:relative;z-index:var(--ck-z-default)}:root{--ck-list-button-padding:calc(var(--ck-line-height-base)*0.2*var(--ck-font-size-base)) calc(var(--ck-line-height-base)*0.4*var(--ck-font-size-base))}.ck.ck-list{border-radius:0}.ck-rounded-corners .ck.ck-list,.ck.ck-list.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-list{background:var(--ck-color-list-background);list-style-type:none}.ck.ck-list__item{cursor:default;min-width:12em}.ck.ck-list__item .ck-button{border-radius:0;min-height:unset;width:100%}[dir=ltr] .ck.ck-list__item .ck-button{text-align:left}[dir=rtl] .ck.ck-list__item .ck-button{text-align:right}.ck.ck-list__item .ck-button{padding:var(--ck-list-button-padding)}.ck.ck-list__item .ck-button .ck-button__label{line-height:calc(var(--ck-line-height-base)*1.2*var(--ck-font-size-base))}.ck.ck-list__item .ck-button:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on{background:var(--ck-color-list-button-on-background);color:var(--ck-color-list-button-on-text)}.ck.ck-list__item .ck-button.ck-on:active{box-shadow:none}.ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-on-background-focus)}.ck.ck-list__item .ck-button.ck-on:focus:not(.ck-switchbutton):not(.ck-disabled){border-color:var(--ck-color-base-background)}.ck.ck-list__item .ck-button:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background)}.ck.ck-list__item .ck-switchbutton.ck-on{background:var(--ck-color-list-background);color:inherit}.ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled){background:var(--ck-color-list-button-hover-background);color:inherit}.ck-list .ck-list__group{padding-top:var(--ck-spacing-medium);:not(.ck-hidden)~&{border-top:1px solid var(--ck-color-base-border)}}.ck-list .ck-list__group>.ck-label{font-size:11px;font-weight:700;padding:var(--ck-spacing-medium) var(--ck-spacing-medium) 0 var(--ck-spacing-medium)}.ck.ck-list__separator{background:var(--ck-color-base-border);height:1px;width:100%}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/list/list.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,YAGC,YAAa,CACb,qBAAsB,CCFtB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBDaD,CAZC,2DAEC,aACD,CAKA,kCACC,iBAAkB,CAClB,2BACD,CEdD,MACC,oJAGD,CAEA,YCLC,eDUD,CALA,+DCDE,qCDMF,CALA,YAIC,0CAA2C,CAD3C,oBAED,CAEA,kBACC,cAAe,CACf,cAgED,CA9DC,6BAGC,eAAgB,CAFhB,gBAAiB,CACjB,UA6CD,CA/CA,uCAME,eAyCF,CA/CA,uCAUE,gBAqCF,CA/CA,6BAgBC,qCA+BD,CA7BC,+CAEC,yEACD,CAEA,oCACC,eACD,CAEA,mCACC,oDAAqD,CACrD,yCAaD,CAXC,0CACC,eACD,CAEA,2DACC,0DACD,CAEA,iFACC,4CACD,CAGD,qDACC,uDACD,CAMA,yCACC,0CAA2C,CAC3C,aAMD,CAJC,iEACC,uDAAwD,CACxD,aACD,CAKH,yBACC,oCAAqC,CAGrC,mBACC,gDACD,CAOD,CALC,mCACC,cAAe,CACf,eAAiB,CACjB,oFACD,CAGD,uBAGC,sCAAuC,CAFvC,UAAW,CACX,UAED",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-list {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-direction: column;\n\n\t& .ck-list__item,\n\t& .ck-list__separator {\n\t\tdisplay: block;\n\t}\n\n\t/* Make sure that whatever child of the list item gets focus, it remains on the\n\ttop. Thanks to that, styles like box-shadow, outline, etc. are not masked by\n\tadjacent list items. */\n\t& .ck-list__item > *:focus {\n\t\tposition: relative;\n\t\tz-index: var(--ck-z-default);\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_disabled.css";\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-list-button-padding:\n\t\tcalc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))\n\t\tcalc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));\n}\n\n.ck.ck-list {\n\t@mixin ck-rounded-corners;\n\n\tlist-style-type: none;\n\tbackground: var(--ck-color-list-background);\n}\n\n.ck.ck-list__item {\n\tcursor: default;\n\tmin-width: 12em;\n\n\t& .ck-button {\n\t\tmin-height: unset;\n\t\twidth: 100%;\n\t\tborder-radius: 0;\n\n\t\t@mixin ck-dir ltr {\n\t\t\ttext-align: left;\n\t\t}\n\n\t\t@mixin ck-dir rtl {\n\t\t\ttext-align: right;\n\t\t}\n\n\t\t/* List items should have the same height. Use absolute units to make sure it is so\n\t\t   because e.g. different heading styles may have different height\n\t\t   https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\tpadding: var(--ck-list-button-padding);\n\n\t\t& .ck-button__label {\n\t\t\t/* https://github.com/ckeditor/ckeditor5-heading/issues/63 */\n\t\t\tline-height: calc(1.2 * var(--ck-line-height-base) * var(--ck-font-size-base));\n\t\t}\n\n\t\t&:active {\n\t\t\tbox-shadow: none;\n\t\t}\n\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-button-on-background);\n\t\t\tcolor: var(--ck-color-list-button-on-text);\n\n\t\t\t&:active {\n\t\t\t\tbox-shadow: none;\n\t\t\t}\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-on-background-focus);\n\t\t\t}\n\n\t\t\t&:focus:not(.ck-switchbutton):not(.ck-disabled) {\n\t\t\t\tborder-color: var(--ck-color-base-background);\n\t\t\t}\n\t\t}\n\n\t\t&:hover:not(.ck-disabled) {\n\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t}\n\t}\n\n\t/* It\'s unnecessary to change the background/text of a switch toggle; it has different ways\n\tof conveying its state (like the switcher) */\n\t& .ck-switchbutton {\n\t\t&.ck-on {\n\t\t\tbackground: var(--ck-color-list-background);\n\t\t\tcolor: inherit;\n\n\t\t\t&:hover:not(.ck-disabled) {\n\t\t\t\tbackground: var(--ck-color-list-button-hover-background);\n\t\t\t\tcolor: inherit;\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck-list .ck-list__group {\n\tpadding-top: var(--ck-spacing-medium);\n\n\t/* The group should have a border when it\'s not the first item. */\n\t*:not(.ck-hidden) ~ & {\n\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t}\n\n\t& > .ck-label {\n\t\tfont-size: 11px;\n\t\tfont-weight: bold;\n\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-medium) 0 var(--ck-spacing-medium);\n\t}\n}\n\n.ck.ck-list__separator {\n\theight: 1px;\n\twidth: 100%;\n\tbackground: var(--ck-color-base-border);\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},3710:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,':root{--ck-balloon-panel-arrow-z-index:calc(var(--ck-z-default) - 3)}.ck.ck-balloon-panel{display:none;position:absolute;z-index:var(--ck-z-panel)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{content:"";position:absolute}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_n]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_n]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel[class*=arrow_s]:before{z-index:var(--ck-balloon-panel-arrow-z-index)}.ck.ck-balloon-panel[class*=arrow_s]:after{z-index:calc(var(--ck-balloon-panel-arrow-z-index) + 1)}.ck.ck-balloon-panel.ck-balloon-panel_visible{display:block}:root{--ck-balloon-border-width:1px;--ck-balloon-arrow-offset:2px;--ck-balloon-arrow-height:10px;--ck-balloon-arrow-half-width:8px;--ck-balloon-arrow-drop-shadow:0 2px 2px var(--ck-color-shadow-drop)}.ck.ck-balloon-panel{border-radius:0}.ck-rounded-corners .ck.ck-balloon-panel,.ck.ck-balloon-panel.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-balloon-panel{background:var(--ck-color-panel-background);border:var(--ck-balloon-border-width) solid var(--ck-color-panel-border);box-shadow:var(--ck-drop-shadow),0 0;min-height:15px}.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:after,.ck.ck-balloon-panel.ck-balloon-panel_with-arrow:before{border-style:solid;height:0;width:0}.ck.ck-balloon-panel[class*=arrow_n]:after,.ck.ck-balloon-panel[class*=arrow_n]:before{border-width:0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_n]:before{border-color:transparent transparent var(--ck-color-panel-border) transparent;margin-top:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_n]:after{border-color:transparent transparent var(--ck-color-panel-background) transparent;margin-top:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_s]:after,.ck.ck-balloon-panel[class*=arrow_s]:before{border-width:var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width)}.ck.ck-balloon-panel[class*=arrow_s]:before{border-color:var(--ck-color-panel-border) transparent transparent;filter:drop-shadow(var(--ck-balloon-arrow-drop-shadow));margin-bottom:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_s]:after{border-color:var(--ck-color-panel-background) transparent transparent transparent;margin-bottom:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_e]:after,.ck.ck-balloon-panel[class*=arrow_e]:before{border-width:var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height)}.ck.ck-balloon-panel[class*=arrow_e]:before{border-color:transparent transparent transparent var(--ck-color-panel-border);margin-right:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_e]:after{border-color:transparent transparent transparent var(--ck-color-panel-background);margin-right:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel[class*=arrow_w]:after,.ck.ck-balloon-panel[class*=arrow_w]:before{border-width:var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0}.ck.ck-balloon-panel[class*=arrow_w]:before{border-color:transparent var(--ck-color-panel-border) transparent transparent;margin-left:calc(var(--ck-balloon-border-width)*-1)}.ck.ck-balloon-panel[class*=arrow_w]:after{border-color:transparent var(--ck-color-panel-background) transparent transparent;margin-left:calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width))}.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_n:before{left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nw:before{left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_ne:before{right:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_s:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:50%;margin-left:calc(var(--ck-balloon-arrow-half-width)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_se:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);right:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_sme:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_smw:before{bottom:calc(var(--ck-balloon-arrow-height)*-1);left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nme:before{margin-right:calc(var(--ck-balloon-arrow-half-width)*2);right:25%;top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw:before{left:25%;margin-left:calc(var(--ck-balloon-arrow-half-width)*2);top:calc(var(--ck-balloon-arrow-height)*-1)}.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_e:before{margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);right:calc(var(--ck-balloon-arrow-height)*-1);top:50%}.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:after,.ck.ck-balloon-panel.ck-balloon-panel_arrow_w:before{left:calc(var(--ck-balloon-arrow-height)*-1);margin-top:calc(var(--ck-balloon-arrow-half-width)*-1);top:50%}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonpanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MAEC,8DACD,CAEA,qBACC,YAAa,CACb,iBAAkB,CAElB,yBAyCD,CAtCE,+GAEC,UAAW,CACX,iBACD,CAEA,wDACC,6CACD,CAEA,uDACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAIA,4CACC,6CACD,CAEA,2CACC,uDACD,CAGD,8CACC,aACD,CC9CD,MACC,6BAA8B,CAC9B,6BAA8B,CAC9B,8BAA+B,CAC/B,iCAAkC,CAClC,oEACD,CAEA,qBCLC,eDmMD,CA9LA,iFCDE,qCD+LF,CA9LA,qBAMC,2CAA4C,CAC5C,wEAAyE,CEdzE,oCAA8B,CFW9B,eA0LD,CApLE,+GAIC,kBAAmB,CADnB,QAAS,CADT,OAGD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,kDACD,CAEA,2CACC,iFAAkF,CAClF,gFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,iEAAkE,CAClE,uDAAwD,CACxD,qDACD,CAEA,2CACC,iFAAkF,CAClF,mFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,oDACD,CAEA,2CACC,iFAAkF,CAClF,kFACD,CAIA,uFAEC,mHACD,CAEA,4CACC,6EAA8E,CAC9E,mDACD,CAEA,2CACC,iFAAkF,CAClF,iFACD,CAIA,yGAEC,QAAS,CACT,uDAA0D,CAC1D,2CACD,CAIA,2GAEC,+CAAkD,CAClD,2CACD,CAIA,2GAEC,gDAAmD,CACnD,2CACD,CAIA,yGAIC,8CAAiD,CAFjD,QAAS,CACT,uDAED,CAIA,2GAGC,8CAAiD,CADjD,+CAED,CAIA,2GAGC,8CAAiD,CADjD,gDAED,CAIA,6GAIC,8CAAiD,CADjD,uDAA0D,CAD1D,SAGD,CAIA,6GAIC,8CAAiD,CAFjD,QAAS,CACT,sDAED,CAIA,6GAGC,uDAA0D,CAD1D,SAAU,CAEV,2CACD,CAIA,6GAEC,QAAS,CACT,sDAAyD,CACzD,2CACD,CAIA,yGAGC,sDAAyD,CADzD,6CAAgD,CAEhD,OACD,CAIA,yGAEC,4CAA+C,CAC/C,sDAAyD,CACzD,OACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* Make sure the balloon arrow does not float over its children. */\n\t--ck-balloon-panel-arrow-z-index: calc(var(--ck-z-default) - 3);\n}\n\n.ck.ck-balloon-panel {\n\tdisplay: none;\n\tposition: absolute;\n\n\tz-index: var(--ck-z-panel);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tposition: absolute;\n\t\t}\n\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before {\n\t\t\tz-index: var(--ck-balloon-panel-arrow-z-index);\n\t\t}\n\n\t\t&::after {\n\t\t\tz-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_visible {\n\t\tdisplay: block;\n\t}\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-border-width: 1px;\n\t--ck-balloon-arrow-offset: 2px;\n\t--ck-balloon-arrow-height: 10px;\n\t--ck-balloon-arrow-half-width: 8px;\n\t--ck-balloon-arrow-drop-shadow: 0 2px 2px var(--ck-color-shadow-drop);\n}\n\n.ck.ck-balloon-panel {\n\t@mixin ck-rounded-corners;\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: var(--ck-balloon-border-width) solid var(--ck-color-panel-border);\n\n\t&.ck-balloon-panel_with-arrow {\n\t\t&::before,\n\t\t&::after {\n\t\t\twidth: 0;\n\t\t\theight: 0;\n\t\t\tborder-style: solid;\n\t\t}\n\t}\n\n\t&[class*="arrow_n"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-border) transparent;\n\t\t\tmargin-top: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent var(--ck-color-panel-background) transparent;\n\t\t\tmargin-top: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_s"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: var(--ck-color-panel-border) transparent transparent;\n\t\t\tfilter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));\n\t\t\tmargin-bottom: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: var(--ck-color-panel-background) transparent transparent transparent;\n\t\t\tmargin-bottom: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_e"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height);\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-border);\n\t\t\tmargin-right: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent transparent transparent var(--ck-color-panel-background);\n\t\t\tmargin-right: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&[class*="arrow_w"] {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-width: var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0;\n\t\t}\n\n\t\t&::before {\n\t\t\tborder-color: transparent var(--ck-color-panel-border) transparent transparent;\n\t\t\tmargin-left: calc( -1 * var(--ck-balloon-border-width) );\n\t\t}\n\n\t\t&::after {\n\t\t\tborder-color: transparent var(--ck-color-panel-background) transparent transparent;\n\t\t\tmargin-left: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_n {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_ne {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_s {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 50%;\n\t\t\tmargin-left: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_se {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_sme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_smw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\tbottom: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nme {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: 25%;\n\t\t\tmargin-right: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_nmw {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: 25%;\n\t\t\tmargin-left: calc(2 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_e {\n\t\t&::before,\n\t\t&::after {\n\t\t\tright: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n\n\t&.ck-balloon-panel_arrow_w {\n\t\t&::before,\n\t\t&::after {\n\t\t\tleft: calc(-1 * var(--ck-balloon-arrow-height));\n\t\t\tmargin-top: calc(-1 * var(--ck-balloon-arrow-half-width));\n\t\t\ttop: 50%;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const O=M},991:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck .ck-balloon-rotator__navigation{align-items:center;display:flex;justify-content:center}.ck .ck-balloon-rotator__content .ck-toolbar{justify-content:center}.ck .ck-balloon-rotator__navigation{background:var(--ck-color-toolbar-background);border-bottom:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation>*{margin-bottom:var(--ck-spacing-small);margin-right:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter{margin-left:var(--ck-spacing-small);margin-right:var(--ck-spacing-standard)}.ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper{box-shadow:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/balloonrotator.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/balloonrotator.css"],names:[],mappings:"AAKA,oCAEC,kBAAmB,CADnB,YAAa,CAEb,sBACD,CAKA,6CACC,sBACD,CCXA,oCACC,6CAA8C,CAC9C,sDAAuD,CACvD,iCAgBD,CAbC,sCAGC,qCAAsC,CAFtC,oCAAqC,CACrC,kCAED,CAGA,iEAIC,mCAAoC,CAHpC,uCAID,CAMA,2DACC,eACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n}\n\n/* Buttons inside a toolbar should be centered when rotator bar is wider.\n * See: https://github.com/ckeditor/ckeditor5-ui/issues/495\n */\n.ck .ck-balloon-rotator__content .ck-toolbar {\n\tjustify-content: center;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-balloon-rotator__navigation {\n\tbackground: var(--ck-color-toolbar-background);\n\tborder-bottom: 1px solid var(--ck-color-toolbar-border);\n\tpadding: 0 var(--ck-spacing-small);\n\n\t/* Let's keep similar appearance to `ck-toolbar`. */\n\t& > * {\n\t\tmargin-right: var(--ck-spacing-small);\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t/* Gives counter more breath than buttons. */\n\t& .ck-balloon-rotator__counter {\n\t\tmargin-right: var(--ck-spacing-standard);\n\n\t\t/* We need to use smaller margin because of previous button's right margin. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n.ck .ck-balloon-rotator__content {\n\n\t/* Disable default annotation shadow inside rotator with fake panels. */\n\t& .ck.ck-annotation-wrapper {\n\t\tbox-shadow: none;\n\t}\n}\n"],sourceRoot:""}]);const O=M},5380:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck .ck-fake-panel{position:absolute;z-index:calc(var(--ck-z-panel) - 1)}.ck .ck-fake-panel div{position:absolute}.ck .ck-fake-panel div:first-child{z-index:2}.ck .ck-fake-panel div:nth-child(2){z-index:1}:root{--ck-balloon-fake-panel-offset-horizontal:6px;--ck-balloon-fake-panel-offset-vertical:6px}.ck .ck-fake-panel div{background:var(--ck-color-panel-background);border:1px solid var(--ck-color-panel-border);border-radius:var(--ck-border-radius);box-shadow:var(--ck-drop-shadow),0 0;height:100%;min-height:15px;width:100%}.ck .ck-fake-panel div:first-child{margin-left:var(--ck-balloon-fake-panel-offset-horizontal);margin-top:var(--ck-balloon-fake-panel-offset-vertical)}.ck .ck-fake-panel div:nth-child(2){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*2);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*2)}.ck .ck-fake-panel div:nth-child(3){margin-left:calc(var(--ck-balloon-fake-panel-offset-horizontal)*3);margin-top:calc(var(--ck-balloon-fake-panel-offset-vertical)*3)}.ck .ck-balloon-panel_arrow_s+.ck-fake-panel,.ck .ck-balloon-panel_arrow_se+.ck-fake-panel,.ck .ck-balloon-panel_arrow_sw+.ck-fake-panel{--ck-balloon-fake-panel-offset-vertical:-6px}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/fakepanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,mBACC,iBAAkB,CAGlB,mCACD,CAEA,uBACC,iBACD,CAEA,mCACC,SACD,CAEA,oCACC,SACD,CCfA,MACC,6CAA8C,CAC9C,2CACD,CAGA,uBAKC,2CAA4C,CAC5C,6CAA8C,CAC9C,qCAAsC,CCXtC,oCAA8B,CDc9B,WAAY,CAPZ,eAAgB,CAMhB,UAED,CAEA,mCACC,0DAA2D,CAC3D,uDACD,CAEA,oCACC,kEAAqE,CACrE,+DACD,CACA,oCACC,kEAAqE,CACrE,+DACD,CAGA,yIAGC,4CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-fake-panel {\n\tposition: absolute;\n\n\t/* Fake panels should be placed under main balloon content. */\n\tz-index: calc(var(--ck-z-panel) - 1);\n}\n\n.ck .ck-fake-panel div {\n\tposition: absolute;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tz-index: 2;\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tz-index: 1;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n:root {\n\t--ck-balloon-fake-panel-offset-horizontal: 6px;\n\t--ck-balloon-fake-panel-offset-vertical: 6px;\n}\n\n/* Let\'s use `.ck-balloon-panel` appearance. See: balloonpanel.css. */\n.ck .ck-fake-panel div {\n\t@mixin ck-drop-shadow;\n\n\tmin-height: 15px;\n\n\tbackground: var(--ck-color-panel-background);\n\tborder: 1px solid var(--ck-color-panel-border);\n\tborder-radius: var(--ck-border-radius);\n\n\twidth: 100%;\n\theight: 100%;\n}\n\n.ck .ck-fake-panel div:nth-child( 1 ) {\n\tmargin-left: var(--ck-balloon-fake-panel-offset-horizontal);\n\tmargin-top: var(--ck-balloon-fake-panel-offset-vertical);\n}\n\n.ck .ck-fake-panel div:nth-child( 2 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 2);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 2);\n}\n.ck .ck-fake-panel div:nth-child( 3 ) {\n\tmargin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 3);\n\tmargin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 3);\n}\n\n/* If balloon is positioned above element, we need to move fake panel to the top. */\n.ck .ck-balloon-panel_arrow_s + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_se + .ck-fake-panel,\n.ck .ck-balloon-panel_arrow_sw + .ck-fake-panel {\n\t--ck-balloon-fake-panel-offset-vertical: -6px;\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const O=M},8298:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-sticky-panel .ck-sticky-panel__content_sticky{position:fixed;top:0;z-index:var(--ck-z-panel)}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit{position:absolute;top:auto}.ck.ck-sticky-panel .ck-sticky-panel__content_sticky{border-top-left-radius:0;border-top-right-radius:0;border-width:0 1px 1px;box-shadow:var(--ck-drop-shadow),0 0}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/panel/stickypanel.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAMC,qDAEC,cAAe,CACf,KAAM,CAFN,yBAGD,CAEA,kEAEC,iBAAkB,CADlB,QAED,CCPA,qDAIC,wBAAyB,CACzB,yBAA0B,CAF1B,sBAAuB,CCFxB,oCDKA",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\tz-index: var(--ck-z-panel); /* #315 */\n\t\tposition: fixed;\n\t\ttop: 0;\n\t}\n\n\t& .ck-sticky-panel__content_sticky_bottom-limit {\n\t\ttop: auto;\n\t\tposition: absolute;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_shadow.css";\n\n.ck.ck-sticky-panel {\n\t& .ck-sticky-panel__content_sticky {\n\t\t@mixin ck-drop-shadow;\n\n\t\tborder-width: 0 1px 1px;\n\t\tborder-top-left-radius: 0;\n\t\tborder-top-right-radius: 0;\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const O=M},2722:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',"",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/responsive-form/responsiveform.css","webpack://./../ckeditor5-ui/theme/mixins/_rwd.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/responsive-form/responsiveform.css"],names:[],mappings:"AAQC,mCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,yCACC,YACD,CCdA,oCDoBE,wCAMC,WAAY,CALZ,UAAW,CAEX,iBAAkB,CAClB,UAAW,CACX,QAAS,CAHT,OAAQ,CAKR,SACD,CAEA,8CACC,YACD,CC9BF,CCAD,qDACC,kDACD,CAEA,uBACC,+BAmED,CAjEC,6BAEC,YACD,CASC,uGACC,sCACD,CDvBD,oCCMD,uBAqBE,SAAU,CACV,oCA8CF,CA5CE,8CACC,wDAWD,CATC,6DACC,WAAY,CACZ,UACD,CAGA,4EACC,kBACD,CAKA,0DACC,kDACD,CAGD,iGAIC,eAAgB,CADhB,kCAAmC,CADnC,kCAmBD,CAfC,yHACC,gDACD,CARD,0OAeE,aAMF,CAJE,+IACC,kDACD,CDpEH",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n\n.ck-vertical-form .ck-button {\n\t&::after {\n\t\tcontent: "";\n\t\twidth: 0;\n\t\tposition: absolute;\n\t\tright: -1px;\n\t\ttop: -1px;\n\t\tbottom: -1px;\n\t\tz-index: 1;\n\t}\n\n\t&:focus::after {\n\t\tdisplay: none;\n\t}\n}\n\n.ck.ck-responsive-form {\n\t@mixin ck-media-phone {\n\t\t& .ck-button {\n\t\t\t&::after {\n\t\t\t\tcontent: "";\n\t\t\t\twidth: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tright: -1px;\n\t\t\t\ttop: -1px;\n\t\t\t\tbottom: -1px;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\n\t\t\t&:focus::after {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@define-mixin ck-media-phone {\n\t@media screen and (max-width: 600px) {\n\t\t@mixin-content;\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck-vertical-form > .ck-button:nth-last-child(2)::after {\n\tborder-right: 1px solid var(--ck-color-base-border);\n}\n\n.ck.ck-responsive-form {\n\tpadding: var(--ck-spacing-large);\n\n\t&:focus {\n\t\t/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */\n\t\toutline: none;\n\t}\n\n\t@mixin ck-dir ltr {\n\t\t& > :not(:first-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-dir rtl {\n\t\t& > :not(:last-child) {\n\t\t\tmargin-left: var(--ck-spacing-standard);\n\t\t}\n\t}\n\n\t@mixin ck-media-phone {\n\t\tpadding: 0;\n\t\twidth: calc(.8 * var(--ck-input-width));\n\n\t\t& .ck-labeled-field-view {\n\t\t\tmargin: var(--ck-spacing-large) var(--ck-spacing-large) 0;\n\n\t\t\t& .ck-input-text {\n\t\t\t\tmin-width: 0;\n\t\t\t\twidth: 100%;\n\t\t\t}\n\n\t\t\t/* Let the long error messages wrap in the narrow form. */\n\t\t\t& .ck-labeled-field-view__error {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\t\t}\n\n\t\t/* Styles for two last buttons in the form (save&cancel, edit&unlink, etc.). */\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\t&::after {\n\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\t\t}\n\n\t\t& > .ck-button:nth-last-child(1),\n\t\t& > .ck-button:nth-last-child(2) {\n\t\t\tpadding: var(--ck-spacing-standard);\n\t\t\tmargin-top: var(--ck-spacing-large);\n\t\t\tborder-radius: 0;\n\n\t\t\t&:not(:focus) {\n\t\t\t\tborder-top: 1px solid var(--ck-color-base-border);\n\t\t\t}\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tmargin-left: 0;\n\n\t\t\t\t&:last-of-type {\n\t\t\t\t\tborder-right: 1px solid var(--ck-color-base-border);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n'],sourceRoot:""}]);const O=M},8107:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{position:absolute;top:50%;transform:translateY(-50%)}[dir=ltr] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{left:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view>.ck-labeled-field-view__input-wrapper>.ck-icon{right:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view .ck-search__reset{position:absolute;top:50%;transform:translateY(-50%)}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{display:block}.ck.ck-search>.ck-search__results>.ck-search__info:not(.ck-hidden)~*{display:none}:root{--ck-search-field-view-horizontal-spacing:calc(var(--ck-icon-size) + var(--ck-spacing-medium))}.ck.ck-search>.ck-labeled-field-view .ck-input{width:100%}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon{--ck-labeled-field-label-default-position-x:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon>.ck-labeled-field-view__input-wrapper>.ck-icon{opacity:.5;pointer-events:none}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input,[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-icon .ck-input:not(.ck-input-text_empty){padding-left:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset{--ck-labeled-field-empty-unfocused-max-width:100% - 2 * var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset.ck-labeled-field-view_empty{--ck-labeled-field-empty-unfocused-max-width:100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{background:none;min-height:auto;min-width:auto;opacity:.5;padding:0}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{right:var(--ck-spacing-medium)}[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset{left:var(--ck-spacing-medium)}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset:hover{opacity:1}.ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{width:100%}[dir=ltr] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input:not(.ck-input-text_empty),[dir=rtl] .ck.ck-search>.ck-labeled-field-view.ck-search__query_with-reset .ck-input{padding-right:var(--ck-search-field-view-horizontal-spacing)}.ck.ck-search>.ck-search__results{min-width:100%}.ck.ck-search>.ck-search__results>.ck-search__info{padding:var(--ck-spacing-medium) var(--ck-spacing-large);width:100%}.ck.ck-search>.ck-search__results>.ck-search__info *{white-space:normal}.ck.ck-search>.ck-search__results>.ck-search__info>span:first-child{font-weight:700}.ck.ck-search>.ck-search__results>.ck-search__info>span:last-child{margin-top:var(--ck-spacing-medium)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/search/search.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/search/search.css"],names:[],mappings:"AASE,oFACC,iBAAkB,CAClB,OAAQ,CACR,0BASD,CAZA,8FAME,6BAMF,CAZA,8FAUE,8BAEF,CAEA,uDACC,iBAAkB,CAClB,OAAQ,CACR,0BACD,CAKC,oEACC,aACD,CAGA,qEACC,YACD,CChCH,MACC,8FACD,CAIE,+CACC,UACD,CAEA,gEACC,0FAoBD,CAlBC,+GACC,UAAW,CACX,mBACD,CAEA,0EACC,UAWD,CAJE,kMACC,2DACD,CAKH,iEACC,sGAwCD,CAtCC,6FACC,6HACD,CAEA,mFAIC,eAAgB,CAFhB,eAAgB,CADhB,cAAe,CAIf,UAAW,CACX,SAaD,CAnBA,6FASE,8BAUF,CAnBA,6FAaE,6BAMF,CAHC,yFACC,SACD,CAGD,2EACC,UAWD,CAZA,oMAUE,4DAEF,CAIF,kCACC,cAkBD,CAhBC,mDAEC,wDAAyD,CADzD,UAcD,CAXC,qDACC,kBACD,CAEA,oEACC,eACD,CAEA,mEACC,mCACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-search {\n\t& > .ck-labeled-field-view {\n\t\t& > .ck-labeled-field-view__input-wrapper > .ck-icon {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\n\t\t\t@mixin ck-dir ltr {\n\t\t\t\tleft: var(--ck-spacing-medium);\n\t\t\t}\n\n\t\t\t@mixin ck-dir rtl {\n\t\t\t\tright: var(--ck-spacing-medium);\n\t\t\t}\n\t\t}\n\n\t\t& .ck-search__reset {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\t}\n\n\t& > .ck-search__results {\n\t\t& > .ck-search__info {\n\t\t\t& > span:first-child {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\n\t\t\t/* Hide the filtered view when nothing was found */\n\t\t\t&:not(.ck-hidden) ~ * {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t}\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n:root {\n\t--ck-search-field-view-horizontal-spacing: calc(var(--ck-icon-size) + var(--ck-spacing-medium));\n}\n\n.ck.ck-search {\n\t& > .ck-labeled-field-view {\n\t\t& .ck-input {\n\t\t\twidth: 100%;\n\t\t}\n\n\t\t&.ck-search__query_with-icon {\n\t\t\t--ck-labeled-field-label-default-position-x: var(--ck-search-field-view-horizontal-spacing);\n\n\t\t\t& > .ck-labeled-field-view__input-wrapper > .ck-icon {\n\t\t\t\topacity: .5;\n\t\t\t\tpointer-events: none;\n\t\t\t}\n\n\t\t\t& .ck-input {\n\t\t\t\twidth: 100%;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tpadding-left: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\t&:not(.ck-input-text_empty) {\n\t\t\t\t\t\tpadding-left: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.ck-search__query_with-reset {\n\t\t\t--ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-search-field-view-horizontal-spacing);\n\n\t\t\t&.ck-labeled-field-view_empty {\n\t\t\t\t--ck-labeled-field-empty-unfocused-max-width: 100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium);\n\t\t\t}\n\n\t\t\t& .ck-search__reset {\n\t\t\t\tmin-width: auto;\n\t\t\t\tmin-height: auto;\n\n\t\t\t\tbackground: none;\n\t\t\t\topacity: .5;\n\t\t\t\tpadding: 0;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\tright: var(--ck-spacing-medium);\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tleft: var(--ck-spacing-medium);\n\t\t\t\t}\n\n\t\t\t\t&:hover {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t& .ck-input {\n\t\t\t\twidth: 100%;\n\n\t\t\t\t@mixin ck-dir ltr {\n\t\t\t\t\t&:not(.ck-input-text_empty) {\n\t\t\t\t\t\tpadding-right: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t@mixin ck-dir rtl {\n\t\t\t\t\tpadding-right: var(--ck-search-field-view-horizontal-spacing);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck-search__results {\n\t\tmin-width: 100%;\n\n\t\t& > .ck-search__info {\n\t\t\twidth: 100%;\n\t\t\tpadding: var(--ck-spacing-medium) var(--ck-spacing-large);\n\n\t\t\t& * {\n\t\t\t\twhite-space: normal;\n\t\t\t}\n\n\t\t\t& > span:first-child {\n\t\t\t\tfont-weight: bold;\n\t\t\t}\n\n\t\t\t& > span:last-child {\n\t\t\t\tmargin-top: var(--ck-spacing-medium);\n\t\t\t}\n\t\t}\n\t}\n}\n\n'],sourceRoot:""}]);const O=M},109:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-spinner-container{display:block;position:relative}.ck.ck-spinner{left:0;margin:0 auto;position:absolute;right:0;top:50%;transform:translateY(-50%);z-index:1}:root{--ck-toolbar-spinner-size:18px}.ck.ck-spinner-container{animation:rotate 1.5s linear infinite}.ck.ck-spinner,.ck.ck-spinner-container{height:var(--ck-toolbar-spinner-size);width:var(--ck-toolbar-spinner-size)}.ck.ck-spinner{border:2px solid var(--ck-color-text);border-radius:50%;border-top:2px solid transparent}@keyframes rotate{to{transform:rotate(1turn)}}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/spinner/spinner.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/spinner/spinner.css"],names:[],mappings:"AASA,yBACC,aAAc,CACd,iBACD,CAEA,eAGC,MAAO,CAEP,aAAc,CAJd,iBAAkB,CAGlB,OAAQ,CAFR,OAAQ,CAIR,0BAA2B,CAC3B,SACD,CCjBA,MACC,8BACD,CAEA,yBAGC,qCACD,CAEA,wCAJC,qCAAsC,CADtC,oCAWD,CANA,eAKC,qCAA6B,CAF7B,iBAAkB,CAElB,gCACD,CAEA,kBACC,GACC,uBACD,CACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-spinner-size: 18px;\n}\n\n.ck.ck-spinner-container {\n\tdisplay: block;\n\tposition: relative;\n}\n\n.ck.ck-spinner {\n\tposition: absolute;\n\ttop: 50%;\n\tleft: 0;\n\tright: 0;\n\tmargin: 0 auto;\n\ttransform: translateY(-50%);\n\tz-index: 1;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-toolbar-spinner-size: 18px;\n}\n\n.ck.ck-spinner-container {\n\twidth: var(--ck-toolbar-spinner-size);\n\theight: var(--ck-toolbar-spinner-size);\n\tanimation: 1.5s infinite rotate linear;\n}\n\n.ck.ck-spinner {\n\twidth: var(--ck-toolbar-spinner-size);\n\theight: var(--ck-toolbar-spinner-size);\n\tborder-radius: 50%;\n\tborder: 2px solid var(--ck-color-text);\n\tborder-top-color: transparent;\n}\n\n@keyframes rotate {\n\tto {\n\t\ttransform: rotate(360deg)\n\t}\n}\n\n"],sourceRoot:""}]);const O=M},1671:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck-textarea{overflow-x:hidden}","",{version:3,sources:["webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/textarea/textarea.css"],names:[],mappings:"AASA,aACC,iBACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/*\n * This fixes a problem in Firefox when the initial height of the complement does not match the number of rows.\n * This bug is especially visible when rows=1.\n */\n.ck-textarea {\n\toverflow-x: hidden\n}\n"],sourceRoot:""}]);const O=M},2710:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-block-toolbar-button{position:absolute;z-index:var(--ck-z-default)}:root{--ck-color-block-toolbar-button:var(--ck-color-text);--ck-block-toolbar-button-size:var(--ck-font-size-normal)}.ck.ck-block-toolbar-button{color:var(--ck-color-block-toolbar-button);font-size:var(--ck-block-toolbar-size)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/blocktoolbar.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css"],names:[],mappings:"AAKA,4BACC,iBAAkB,CAClB,2BACD,CCHA,MACC,oDAAqD,CACrD,yDACD,CAEA,4BACC,0CAA2C,CAC3C,sCACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-block-toolbar-button {\n\tposition: absolute;\n\tz-index: var(--ck-z-default);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-block-toolbar-button: var(--ck-color-text);\n\t--ck-block-toolbar-button-size: var(--ck-font-size-normal);\n}\n\n.ck.ck-block-toolbar-button {\n\tcolor: var(--ck-color-block-toolbar-button);\n\tfont-size: var(--ck-block-toolbar-size);\n}\n"],sourceRoot:""}]);const O=M},9677:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-toolbar{align-items:center;display:flex;flex-flow:row nowrap;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-toolbar>.ck-toolbar__items{align-items:center;display:flex;flex-flow:row wrap;flex-grow:1}.ck.ck-toolbar .ck.ck-toolbar__separator{display:inline-block}.ck.ck-toolbar .ck.ck-toolbar__separator:first-child,.ck.ck-toolbar .ck.ck-toolbar__separator:last-child{display:none}.ck.ck-toolbar .ck-toolbar__line-break{flex-basis:100%}.ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items{flex-direction:column}.ck.ck-toolbar.ck-toolbar_floating>.ck-toolbar__items{flex-wrap:nowrap}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck-dropdown__button .ck-dropdown__arrow{display:none}.ck.ck-toolbar{border-radius:0}.ck-rounded-corners .ck.ck-toolbar,.ck.ck-toolbar.ck-rounded-corners{border-radius:var(--ck-border-radius)}.ck.ck-toolbar{background:var(--ck-color-toolbar-background);border:1px solid var(--ck-color-toolbar-border);padding:0 var(--ck-spacing-small)}.ck.ck-toolbar .ck.ck-toolbar__separator{align-self:stretch;background:var(--ck-color-toolbar-border);margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small);min-width:1px;width:1px}.ck.ck-toolbar .ck-toolbar__line-break{height:0}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break){margin-right:var(--ck-spacing-small)}.ck.ck-toolbar>.ck-toolbar__items:empty+.ck.ck-toolbar__separator{display:none}.ck.ck-toolbar>.ck-toolbar__items>:not(.ck-toolbar__line-break),.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown{margin-bottom:var(--ck-spacing-small);margin-top:var(--ck-spacing-small)}.ck.ck-toolbar.ck-toolbar_vertical{padding:0}.ck.ck-toolbar.ck-toolbar_vertical>.ck-toolbar__items>.ck{border-radius:0;margin:0;width:100%}.ck.ck-toolbar.ck-toolbar_compact{padding:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>*{margin:0}.ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>:not(:first-child):not(:last-child){border-radius:0}.ck.ck-toolbar>.ck.ck-toolbar__grouped-dropdown>.ck.ck-button.ck-dropdown__button{padding-left:var(--ck-spacing-tiny)}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-dropdown__panel{min-width:auto}.ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown>.ck-button>.ck-button__label{max-width:7em;width:auto}.ck.ck-toolbar:focus{outline:none}.ck-toolbar-container .ck.ck-toolbar{border:0}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck{margin-right:0}.ck.ck-toolbar[dir=rtl]:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck,[dir=rtl] .ck.ck-toolbar:not(.ck-toolbar_compact)>.ck-toolbar__items>.ck{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-left:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:first-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=rtl]>.ck-toolbar__items>.ck:last-child,[dir=rtl] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=rtl]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=rtl]>.ck.ck-toolbar__separator,[dir=rtl] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=rtl] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-left:var(--ck-spacing-small)}.ck.ck-toolbar[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar>.ck-toolbar__items>.ck:last-child{margin-right:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:first-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.ck.ck-toolbar.ck-toolbar_compact[dir=ltr]>.ck-toolbar__items>.ck:last-child,[dir=ltr] .ck.ck-toolbar.ck-toolbar_compact>.ck-toolbar__items>.ck:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.ck.ck-toolbar.ck-toolbar_grouping[dir=ltr]>.ck-toolbar__items:not(:empty):not(:only-child),.ck.ck-toolbar[dir=ltr]>.ck.ck-toolbar__separator,[dir=ltr] .ck.ck-toolbar.ck-toolbar_grouping>.ck-toolbar__items:not(:empty):not(:only-child),[dir=ltr] .ck.ck-toolbar>.ck.ck-toolbar__separator{margin-right:var(--ck-spacing-small)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/toolbar/toolbar.css","webpack://./../ckeditor5-ui/theme/mixins/_unselectable.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/toolbar/toolbar.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_rounded.css"],names:[],mappings:"AAOA,eAKC,kBAAmB,CAFnB,YAAa,CACb,oBAAqB,CCFrB,qBAAsB,CACtB,wBAAyB,CACzB,oBAAqB,CACrB,gBD6CD,CA3CC,kCAGC,kBAAmB,CAFnB,YAAa,CACb,kBAAmB,CAEnB,WAED,CAEA,yCACC,oBAWD,CAJC,yGAEC,YACD,CAGD,uCACC,eACD,CAEA,sDACC,gBACD,CAEA,sDACC,qBACD,CAEA,sDACC,gBACD,CAGC,yFACC,YACD,CE/CF,eCGC,eDwGD,CA3GA,qECOE,qCDoGF,CA3GA,eAGC,6CAA8C,CAE9C,+CAAgD,CADhD,iCAuGD,CApGC,yCACC,kBAAmB,CAGnB,yCAA0C,CAO1C,qCAAsC,CADtC,kCAAmC,CAPnC,aAAc,CADd,SAUD,CAEA,uCACC,QACD,CAGC,gEAEC,oCACD,CAIA,kEACC,YACD,CAGD,gHAIC,qCAAsC,CADtC,kCAED,CAEA,mCAEC,SAaD,CAVC,0DAQC,eAAgB,CAHhB,QAAS,CAHT,UAOD,CAGD,kCAEC,SAWD,CATC,uDAEC,QAMD,CAHC,yFACC,eACD,CASD,kFACC,mCACD,CAMA,wEACC,cACD,CAEA,iFACC,aAAc,CACd,UACD,CAGD,qBACC,YACD,CAtGD,qCAyGE,QAEF,CAYC,+FACC,cACD,CAEA,iJAEC,mCACD,CAEA,qHACC,aACD,CAIC,6JAEC,2BAA4B,CAD5B,wBAED,CAGA,2JAEC,4BAA6B,CAD7B,yBAED,CASD,8RACC,mCACD,CAWA,qHACC,cACD,CAIC,6JAEC,4BAA6B,CAD7B,yBAED,CAGA,2JAEC,2BAA4B,CAD5B,wBAED,CASD,8RACC,oCACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../mixins/_unselectable.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-unselectable;\n\n\tdisplay: flex;\n\tflex-flow: row nowrap;\n\talign-items: center;\n\n\t& > .ck-toolbar__items {\n\t\tdisplay: flex;\n\t\tflex-flow: row wrap;\n\t\talign-items: center;\n\t\tflex-grow: 1;\n\n\t}\n\n\t& .ck.ck-toolbar__separator {\n\t\tdisplay: inline-block;\n\n\t\t/*\n\t\t * A leading or trailing separator makes no sense (separates from nothing on one side).\n\t\t * For instance, it can happen when toolbar items (also separators) are getting grouped one by one and\n\t\t * moved to another toolbar in the dropdown.\n\t\t */\n\t\t&:first-child,\n\t\t&:last-child {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\tflex-basis: 100%;\n\t}\n\n\t&.ck-toolbar_grouping > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t&.ck-toolbar_vertical > .ck-toolbar__items {\n\t\tflex-direction: column;\n\t}\n\n\t&.ck-toolbar_floating > .ck-toolbar__items {\n\t\tflex-wrap: nowrap;\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t& > .ck-dropdown__button .ck-dropdown__arrow {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Makes element unselectable.\n */\n@define-mixin ck-unselectable {\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";\n\n.ck.ck-toolbar {\n\t@mixin ck-rounded-corners;\n\n\tbackground: var(--ck-color-toolbar-background);\n\tpadding: 0 var(--ck-spacing-small);\n\tborder: 1px solid var(--ck-color-toolbar-border);\n\n\t& .ck.ck-toolbar__separator {\n\t\talign-self: stretch;\n\t\twidth: 1px;\n\t\tmin-width: 1px;\n\t\tbackground: var(--ck-color-toolbar-border);\n\n\t\t/*\n\t\t * These margins make the separators look better in balloon toolbars (when aligned with the "tip").\n\t\t * See https://github.com/ckeditor/ckeditor5/issues/7493.\n\t\t */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t& .ck-toolbar__line-break {\n\t\theight: 0;\n\t}\n\n\t& > .ck-toolbar__items {\n\t\t& > *:not(.ck-toolbar__line-break) {\n\t\t\t/* (#11) Separate toolbar items. */\n\t\t\tmargin-right: var(--ck-spacing-small);\n\t\t}\n\n\t\t/* Don\'t display a separator after an empty items container, for instance,\n\t\twhen all items were grouped */\n\t\t&:empty + .ck.ck-toolbar__separator {\n\t\t\tdisplay: none;\n\t\t}\n\t}\n\n\t& > .ck-toolbar__items > *:not(.ck-toolbar__line-break),\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/* Make sure items wrapped to the next line have v-spacing */\n\t\tmargin-top: var(--ck-spacing-small);\n\t\tmargin-bottom: var(--ck-spacing-small);\n\t}\n\n\t&.ck-toolbar_vertical {\n\t\t/* Items in a vertical toolbar span the entire width. */\n\t\tpadding: 0;\n\n\t\t/* Specificity matters here. See https://github.com/ckeditor/ckeditor5-theme-lark/issues/168. */\n\t\t& > .ck-toolbar__items > .ck {\n\t\t\t/* Items in a vertical toolbar should span the horizontal space. */\n\t\t\twidth: 100%;\n\n\t\t\t/* Items in a vertical toolbar should have no margin. */\n\t\t\tmargin: 0;\n\n\t\t\t/* Items in a vertical toolbar span the entire width so rounded corners are pointless. */\n\t\t\tborder-radius: 0;\n\t\t}\n\t}\n\n\t&.ck-toolbar_compact {\n\t\t/* No spacing around items. */\n\t\tpadding: 0;\n\n\t\t& > .ck-toolbar__items > * {\n\t\t\t/* Compact toolbar items have no spacing between them. */\n\t\t\tmargin: 0;\n\n\t\t\t/* "Middle" children should have no rounded corners. */\n\t\t\t&:not(:first-child):not(:last-child) {\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t& > .ck.ck-toolbar__grouped-dropdown {\n\t\t/*\n\t\t * Dropdown button has asymmetric padding to fit the arrow.\n\t\t * This button has no arrow so let\'s revert that padding back to normal.\n\t\t */\n\t\t& > .ck.ck-button.ck-dropdown__button {\n\t\t\tpadding-left: var(--ck-spacing-tiny);\n\t\t}\n\t}\n\n\t/* A drop-down containing the nested toolbar with configured items. */\n\t& .ck-toolbar__nested-toolbar-dropdown {\n\t\t/* Prevent empty space in the panel when the dropdown label is visible and long but the toolbar has few items. */\n\t\t& > .ck-dropdown__panel {\n\t\t\tmin-width: auto;\n\t\t}\n\n\t\t& > .ck-button > .ck-button__label {\n\t\t\tmax-width: 7em;\n\t\t\twidth: auto;\n\t\t}\n\t}\n\n\t&:focus {\n\t\toutline: none;\n\t}\n\n\t@nest .ck-toolbar-container & {\n\t\tborder: 0;\n\t}\n}\n\n/* stylelint-disable */\n\n/*\n * Styles for RTL toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="rtl"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="rtl"] {\n\t& > .ck-toolbar__items > .ck {\n\t\tmargin-right: 0;\n\t}\n\n\t&:not(.ck-toolbar_compact) > .ck-toolbar__items > .ck {\n\t\t/* (#11) Separate toolbar items. */\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-left: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-left: var(--ck-spacing-small);\n\t}\n}\n\n/*\n * Styles for LTR toolbars.\n *\n * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"\n * because its parent is not controlled by the editor framework.\n */\n[dir="ltr"] .ck.ck-toolbar,\n.ck.ck-toolbar[dir="ltr"] {\n\t& > .ck-toolbar__items > .ck:last-child {\n\t\tmargin-right: 0;\n\t}\n\n\t&.ck-toolbar_compact > .ck-toolbar__items > .ck {\n\t\t/* No rounded corners on the right side of the first child. */\n\t\t&:first-child {\n\t\t\tborder-top-right-radius: 0;\n\t\t\tborder-bottom-right-radius: 0;\n\t\t}\n\n\t\t/* No rounded corners on the left side of the last child. */\n\t\t&:last-child {\n\t\t\tborder-top-left-radius: 0;\n\t\t\tborder-bottom-left-radius: 0;\n\t\t}\n\t}\n\n\t/* Separate the the separator form the grouping dropdown when some items are grouped. */\n\t& > .ck.ck-toolbar__separator {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n\n\t/* Some spacing between the items and the separator before the grouped items dropdown. */\n\t&.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child) {\n\t\tmargin-right: var(--ck-spacing-small);\n\t}\n}\n\n/* stylelint-enable */\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Implements rounded corner interface for .ck-rounded-corners class.\n *\n * @see $ck-border-radius\n */\n@define-mixin ck-rounded-corners {\n\tborder-radius: 0;\n\n\t@nest .ck-rounded-corners &,\n\t&.ck-rounded-corners {\n\t\tborder-radius: var(--ck-border-radius);\n\t\t@mixin-content;\n\t}\n}\n"],sourceRoot:""}]);const O=M},9205:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck.ck-balloon-panel.ck-tooltip{--ck-balloon-border-width:0px;--ck-balloon-arrow-offset:0px;--ck-balloon-arrow-half-width:4px;--ck-balloon-arrow-height:4px;--ck-tooltip-text-padding:4px;--ck-color-panel-background:var(--ck-color-tooltip-background);padding:0 var(--ck-spacing-medium);pointer-events:none;z-index:calc(var(--ck-z-dialog) + 100)}.ck.ck-balloon-panel.ck-tooltip .ck-tooltip__text{color:var(--ck-color-tooltip-text);font-size:.9em;line-height:1.5}.ck.ck-balloon-panel.ck-tooltip.ck-tooltip_multi-line .ck-tooltip__text{display:inline-block;max-width:200px;padding:var(--ck-tooltip-text-padding) 0;white-space:break-spaces}.ck.ck-balloon-panel.ck-tooltip{box-shadow:none}.ck.ck-balloon-panel.ck-tooltip:before{display:none}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/components/tooltip/tooltip.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/components/tooltip/tooltip.css"],names:[],mappings:"AAKA,gCCGC,6BAA8B,CAC9B,6BAA8B,CAC9B,iCAAkC,CAClC,6BAA8B,CAC9B,6BAA8B,CAC9B,8DAA+D,CAE/D,kCAAmC,CDRnC,mBAAoB,CAEpB,sCACD,CCOC,kDAGC,kCAAmC,CAFnC,cAAe,CACf,eAED,CAEA,wEAEC,oBAAqB,CAErB,eAAgB,CADhB,wCAAyC,CAFzC,wBAID,CArBD,gCAwBC,eAMD,CAHC,uCACC,YACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t/* Keep tooltips transparent for any interactions. */\n\tpointer-events: none;\n\n\tz-index: calc( var(--ck-z-dialog) + 100 );\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../../../mixins/_rounded.css";\n\n.ck.ck-balloon-panel.ck-tooltip {\n\t--ck-balloon-border-width: 0px;\n\t--ck-balloon-arrow-offset: 0px;\n\t--ck-balloon-arrow-half-width: 4px;\n\t--ck-balloon-arrow-height: 4px;\n\t--ck-tooltip-text-padding: 4px;\n\t--ck-color-panel-background: var(--ck-color-tooltip-background);\n\n\tpadding: 0 var(--ck-spacing-medium);\n\n\t& .ck-tooltip__text {\n\t\tfont-size: .9em;\n\t\tline-height: 1.5;\n\t\tcolor: var(--ck-color-tooltip-text);\n\t}\n\n\t&.ck-tooltip_multi-line .ck-tooltip__text {\n\t\twhite-space: break-spaces;\n\t\tdisplay: inline-block;\n\t\tpadding: var(--ck-tooltip-text-padding) 0;\n\t\tmax-width: 200px;\n\t}\n\n\t/* Reset balloon panel styles */\n\tbox-shadow: none;\n\n\t/* Hide the default shadow of the .ck-balloon-panel tip */\n\t&::before {\n\t\tdisplay: none;\n\t}\n}\n'],sourceRoot:""}]);const O=M},7676:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck-hidden{display:none!important}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{box-sizing:border-box;height:auto;position:static;width:auto}:root{--ck-z-default:1;--ck-z-panel:calc(var(--ck-z-default) + 999);--ck-z-dialog:9999}.ck-transitions-disabled,.ck-transitions-disabled *{transition:none!important}:root{--ck-powered-by-line-height:10px;--ck-powered-by-padding-vertical:2px;--ck-powered-by-padding-horizontal:4px;--ck-powered-by-text-color:#4f4f4f;--ck-powered-by-border-radius:var(--ck-border-radius);--ck-powered-by-background:#fff;--ck-powered-by-border-color:var(--ck-color-focus-border)}.ck.ck-balloon-panel.ck-powered-by-balloon{--ck-border-radius:var(--ck-powered-by-border-radius);background:var(--ck-powered-by-background);box-shadow:none;min-height:unset;z-index:calc(var(--ck-z-panel) - 1)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by{line-height:var(--ck-powered-by-line-height)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a{align-items:center;cursor:pointer;display:flex;filter:grayscale(80%);line-height:var(--ck-powered-by-line-height);opacity:.66;padding:var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal)}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label{color:var(--ck-powered-by-text-color);cursor:pointer;font-size:7.5px;font-weight:700;letter-spacing:-.2px;line-height:normal;margin-right:4px;padding-left:2px;text-transform:uppercase}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon{cursor:pointer;display:block}.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a{filter:grayscale(0);opacity:1}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_inside]{border-color:transparent}.ck.ck-balloon-panel.ck-powered-by-balloon[class*=position_border]{border:var(--ck-focus-ring);border-color:var(--ck-powered-by-border-color)}:root{--ck-color-base-foreground:#fafafa;--ck-color-base-background:#fff;--ck-color-base-border:#ccced1;--ck-color-base-action:#53a336;--ck-color-base-focus:#6cb5f9;--ck-color-base-text:#333;--ck-color-base-active:#2977ff;--ck-color-base-active-focus:#0d65ff;--ck-color-base-error:#db3700;--ck-color-focus-border-coordinates:218,81.8%,56.9%;--ck-color-focus-border:hsl(var(--ck-color-focus-border-coordinates));--ck-color-focus-outer-shadow:#cae1fc;--ck-color-focus-disabled-shadow:rgba(119,186,248,.3);--ck-color-focus-error-shadow:rgba(255,64,31,.3);--ck-color-text:var(--ck-color-base-text);--ck-color-shadow-drop:rgba(0,0,0,.15);--ck-color-shadow-drop-active:rgba(0,0,0,.2);--ck-color-shadow-inner:rgba(0,0,0,.1);--ck-color-button-default-background:transparent;--ck-color-button-default-hover-background:#f0f0f0;--ck-color-button-default-active-background:#f0f0f0;--ck-color-button-default-disabled-background:transparent;--ck-color-button-on-background:#f0f7ff;--ck-color-button-on-hover-background:#dbecff;--ck-color-button-on-active-background:#dbecff;--ck-color-button-on-disabled-background:#f0f2f4;--ck-color-button-on-color:#2977ff;--ck-color-button-action-background:var(--ck-color-base-action);--ck-color-button-action-hover-background:#4d9d30;--ck-color-button-action-active-background:#4d9d30;--ck-color-button-action-disabled-background:#7ec365;--ck-color-button-action-text:var(--ck-color-base-background);--ck-color-button-save:#008a00;--ck-color-button-cancel:#db3700;--ck-color-switch-button-off-background:#939393;--ck-color-switch-button-off-hover-background:#7d7d7d;--ck-color-switch-button-on-background:var(--ck-color-button-action-background);--ck-color-switch-button-on-hover-background:#4d9d30;--ck-color-switch-button-inner-background:var(--ck-color-base-background);--ck-color-switch-button-inner-shadow:rgba(0,0,0,.1);--ck-color-dropdown-panel-background:var(--ck-color-base-background);--ck-color-dropdown-panel-border:var(--ck-color-base-border);--ck-color-dialog-background:var(--ck-custom-background);--ck-color-dialog-form-header-border:var(--ck-custom-border);--ck-color-input-background:var(--ck-color-base-background);--ck-color-input-border:var(--ck-color-base-border);--ck-color-input-error-border:var(--ck-color-base-error);--ck-color-input-text:var(--ck-color-base-text);--ck-color-input-disabled-background:#f2f2f2;--ck-color-input-disabled-border:var(--ck-color-base-border);--ck-color-input-disabled-text:#757575;--ck-color-list-background:var(--ck-color-base-background);--ck-color-list-button-hover-background:var(--ck-color-button-default-hover-background);--ck-color-list-button-on-background:var(--ck-color-button-on-color);--ck-color-list-button-on-background-focus:var(--ck-color-button-on-color);--ck-color-list-button-on-text:var(--ck-color-base-background);--ck-color-panel-background:var(--ck-color-base-background);--ck-color-panel-border:var(--ck-color-base-border);--ck-color-toolbar-background:var(--ck-color-base-background);--ck-color-toolbar-border:var(--ck-color-base-border);--ck-color-tooltip-background:var(--ck-color-base-text);--ck-color-tooltip-text:var(--ck-color-base-background);--ck-color-engine-placeholder-text:#707070;--ck-color-upload-bar-background:#6cb5f9;--ck-color-link-default:#0000f0;--ck-color-link-selected-background:rgba(31,176,255,.1);--ck-color-link-fake-selection:rgba(31,176,255,.3);--ck-color-highlight-background:#ff0;--ck-color-light-red:#fcc;--ck-disabled-opacity:.5;--ck-focus-outer-shadow-geometry:0 0 0 3px;--ck-focus-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);--ck-focus-disabled-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);--ck-focus-error-outer-shadow:var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);--ck-focus-ring:1px solid var(--ck-color-focus-border);--ck-font-size-base:13px;--ck-line-height-base:1.84615;--ck-font-face:Helvetica,Arial,Tahoma,Verdana,Sans-Serif;--ck-font-size-tiny:0.7em;--ck-font-size-small:0.75em;--ck-font-size-normal:1em;--ck-font-size-big:1.4em;--ck-font-size-large:1.8em;--ck-ui-component-min-height:2.3em}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset,.ck.ck-reset_all{word-wrap:break-word;background:transparent;border:0;margin:0;padding:0;text-decoration:none;transition:none;vertical-align:middle}.ck-reset_all :not(.ck-reset_all-excluded *),.ck.ck-reset_all{border-collapse:collapse;color:var(--ck-color-text);cursor:auto;float:none;font:normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);text-align:left;white-space:nowrap}.ck-reset_all .ck-rtl :not(.ck-reset_all-excluded *){text-align:right}.ck-reset_all iframe:not(.ck-reset_all-excluded *){vertical-align:inherit}.ck-reset_all textarea:not(.ck-reset_all-excluded *){white-space:pre-wrap}.ck-reset_all input[type=password]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text]:not(.ck-reset_all-excluded *),.ck-reset_all textarea:not(.ck-reset_all-excluded *){cursor:text}.ck-reset_all input[type=password][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all input[type=text][disabled]:not(.ck-reset_all-excluded *),.ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *){cursor:default}.ck-reset_all fieldset:not(.ck-reset_all-excluded *){border:2px groove #dfdee3;padding:10px}.ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner{border:0;padding:0}.ck[dir=rtl],.ck[dir=rtl] .ck{text-align:right}:root{--ck-border-radius:2px;--ck-inner-shadow:2px 2px 3px var(--ck-color-shadow-inner) inset;--ck-drop-shadow:0 1px 2px 1px var(--ck-color-shadow-drop);--ck-drop-shadow-active:0 3px 6px 1px var(--ck-color-shadow-drop-active);--ck-spacing-unit:0.6em;--ck-spacing-large:calc(var(--ck-spacing-unit)*1.5);--ck-spacing-standard:var(--ck-spacing-unit);--ck-spacing-medium:calc(var(--ck-spacing-unit)*0.8);--ck-spacing-small:calc(var(--ck-spacing-unit)*0.5);--ck-spacing-tiny:calc(var(--ck-spacing-unit)*0.3);--ck-spacing-extra-tiny:calc(var(--ck-spacing-unit)*0.16)}","",{version:3,sources:["webpack://./../ckeditor5-ui/theme/globals/_hidden.css","webpack://./../ckeditor5-ui/theme/globals/_reset.css","webpack://./../ckeditor5-ui/theme/globals/_zindex.css","webpack://./../ckeditor5-ui/theme/globals/_transition.css","webpack://./../ckeditor5-ui/theme/globals/_poweredby.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_colors.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_disabled.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_focus.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_fonts.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_reset.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_rounded.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_shadow.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_spacing.css"],names:[],mappings:"AAQA,WAGC,sBACD,CCPA,2EAGC,qBAAsB,CAEtB,WAAY,CACZ,eAAgB,CAFhB,UAGD,CCPA,MACC,gBAAiB,CACjB,4CAA+C,CAC/C,kBACD,CCDA,oDAEC,yBACD,CCNA,MACC,gCAAiC,CACjC,oCAAqC,CACrC,sCAAuC,CACvC,kCAA2C,CAC3C,qDAAsD,CACtD,+BAA4C,CAC5C,yDACD,CAEA,2CACC,qDAAsD,CAGtD,0CAA2C,CAD3C,eAAgB,CAEhB,gBAAiB,CACjB,mCAiDD,CA/CC,6DACC,4CAoCD,CAlCC,+DAGC,kBAAmB,CAFnB,cAAe,CACf,YAAa,CAGb,qBAAsB,CACtB,4CAA6C,CAF7C,WAAY,CAGZ,qFACD,CAEA,mFASC,qCAAsC,CAFtC,cAAe,CANf,eAAgB,CAIhB,eAAiB,CAHjB,oBAAqB,CAMrB,kBAAmB,CAFnB,gBAAiB,CAHjB,gBAAiB,CACjB,wBAOD,CAEA,sEAEC,cAAe,CADf,aAED,CAGC,qEACC,mBAAqB,CACrB,SACD,CAIF,mEACC,wBACD,CAEA,mEACC,2BAA4B,CAC5B,8CACD,CChED,MACC,kCAAmD,CACnD,+BAAoD,CACpD,8BAAkD,CAClD,8BAAuD,CACvD,6BAAmD,CACnD,yBAA+C,CAC/C,8BAAsD,CACtD,oCAA4D,CAC5D,6BAAkD,CAIlD,mDAA4D,CAC5D,qEAA+E,CAC/E,qCAA4D,CAC5D,qDAA8D,CAC9D,gDAAyD,CACzD,yCAAqD,CACrD,sCAAsD,CACtD,4CAA0D,CAC1D,sCAAsD,CAItD,gDAAuD,CACvD,kDAAiE,CACjE,mDAAkE,CAClE,yDAA8D,CAE9D,uCAA6D,CAC7D,6CAAoE,CACpE,8CAAoE,CACpE,gDAAiE,CACjE,kCAAyD,CAGzD,+DAAsE,CACtE,iDAAsE,CACtE,kDAAsE,CACtE,oDAAoE,CACpE,6DAAsE,CAEtE,8BAAoD,CACpD,gCAAqD,CAErD,+CAA8D,CAC9D,qDAAiE,CACjE,+EAAqF,CACrF,oDAAuE,CACvE,yEAA8E,CAC9E,oDAAgE,CAIhE,oEAA2E,CAC3E,4DAAoE,CAIpE,wDAAiE,CACjE,4DAAmE,CAInE,2DAAoE,CACpE,mDAA6D,CAC7D,wDAAgE,CAChE,+CAA0D,CAC1D,4CAA2D,CAC3D,4DAAoE,CACpE,sCAAsD,CAItD,0DAAmE,CACnE,uFAA6F,CAC7F,oEAA2E,CAC3E,0EAA+E,CAC/E,8DAAsE,CAItE,2DAAoE,CACpE,mDAA6D,CAI7D,6DAAsE,CACtE,qDAA+D,CAI/D,uDAAgE,CAChE,uDAAiE,CAIjE,0CAAyD,CAIzD,wCAA2D,CAI3D,+BAAoD,CACpD,uDAAmE,CACnE,kDAAgE,CAIhE,oCAAyD,CAIzD,yBAAgD,CChHhD,wBAAyB,CCAzB,0CAA2C,CAK3C,gGAAiG,CAKjG,4GAA6G,CAK7G,sGAAuG,CAKvG,sDAAuD,CCvBvD,wBAAyB,CACzB,6BAA8B,CAC9B,wDAA6D,CAE7D,yBAA0B,CAC1B,2BAA4B,CAC5B,yBAA0B,CAC1B,wBAAyB,CACzB,0BAA2B,CCJ3B,kCJgHD,CI1GA,2EAaC,oBAAqB,CANrB,sBAAuB,CADvB,QAAS,CAFT,QAAS,CACT,SAAU,CAGV,oBAAqB,CAErB,eAAgB,CADhB,qBAKD,CAKA,8DAGC,wBAAyB,CAEzB,0BAA2B,CAG3B,WAAY,CACZ,UAAW,CALX,iGAAkG,CAElG,eAAgB,CAChB,kBAGD,CAGC,qDACC,gBACD,CAEA,mDAEC,sBACD,CAEA,qDACC,oBACD,CAEA,mLAGC,WACD,CAEA,iNAGC,cACD,CAEA,qDAEC,yBAAoC,CADpC,YAED,CAEA,qEAGC,QAAQ,CADR,SAED,CAMD,8BAEC,gBACD,CCnFA,MACC,sBAAuB,CCAvB,gEAAiE,CAKjE,0DAA2D,CAK3D,wEAAyE,CCbzE,uBAA8B,CAC9B,mDAA2D,CAC3D,4CAAkD,CAClD,oDAA4D,CAC5D,mDAA2D,CAC3D,kDAA2D,CAC3D,yDFFD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class which hides an element in DOM.\n */\n.ck-hidden {\n\t/* Override selector specificity. Otherwise, all elements with some display\n\tstyle defined will override this one, which is not a desired result. */\n\tdisplay: none !important;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\tbox-sizing: border-box;\n\twidth: auto;\n\theight: auto;\n\tposition: static;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-z-default: 1;\n\t--ck-z-panel: calc( var(--ck-z-default) + 999 );\n\t--ck-z-dialog: 9999;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A class that disables all transitions of the element and its children.\n */\n.ck-transitions-disabled,\n.ck-transitions-disabled * {\n\ttransition: none !important;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-powered-by-line-height: 10px;\n\t--ck-powered-by-padding-vertical: 2px;\n\t--ck-powered-by-padding-horizontal: 4px;\n\t--ck-powered-by-text-color: hsl(0, 0%, 31%);\n\t--ck-powered-by-border-radius: var(--ck-border-radius);\n\t--ck-powered-by-background: hsl(0, 0%, 100%);\n\t--ck-powered-by-border-color: var(--ck-color-focus-border);\n}\n\n.ck.ck-balloon-panel.ck-powered-by-balloon {\n\t--ck-border-radius: var(--ck-powered-by-border-radius);\n\n\tbox-shadow: none;\n\tbackground: var(--ck-powered-by-background);\n\tmin-height: unset;\n\tz-index: calc( var(--ck-z-panel) - 1 );\n\n\t& .ck.ck-powered-by {\n\t\tline-height: var(--ck-powered-by-line-height);\n\n\t\t& a {\n\t\t\tcursor: pointer;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\topacity: .66;\n\t\t\tfilter: grayscale(80%);\n\t\t\tline-height: var(--ck-powered-by-line-height);\n\t\t\tpadding: var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal);\n\t\t}\n\n\t\t& .ck-powered-by__label {\n\t\t\tfont-size: 7.5px;\n\t\t\tletter-spacing: -.2px;\n\t\t\tpadding-left: 2px;\n\t\t\ttext-transform: uppercase;\n\t\t\tfont-weight: bold;\n\t\t\tmargin-right: 4px;\n\t\t\tcursor: pointer;\n\t\t\tline-height: normal;\n\t\t\tcolor: var(--ck-powered-by-text-color);\n\n\t\t}\n\n\t\t& .ck-icon {\n\t\t\tdisplay: block;\n\t\t\tcursor: pointer;\n\t\t}\n\n\t\t&:hover {\n\t\t\t& a {\n\t\t\t\tfilter: grayscale(0%);\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n\n\t&[class*="position_inside"] {\n\t\tborder-color: transparent;\n\t}\n\n\t&[class*="position_border"] {\n\t\tborder: var(--ck-focus-ring);\n\t\tborder-color: var(--ck-powered-by-border-color);\n\t}\n}\n\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-base-foreground: \t\t\t\t\t\t\t\thsl(0, 0%, 98%);\n\t--ck-color-base-background: \t\t\t\t\t\t\t\thsl(0, 0%, 100%);\n\t--ck-color-base-border: \t\t\t\t\t\t\t\t\thsl(220, 6%, 81%);\n\t--ck-color-base-action: \t\t\t\t\t\t\t\t\thsl(104, 50.2%, 42.5%);\n\t--ck-color-base-focus: \t\t\t\t\t\t\t\t\t\thsl(209, 92%, 70%);\n\t--ck-color-base-text: \t\t\t\t\t\t\t\t\t\thsl(0, 0%, 20%);\n\t--ck-color-base-active: \t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\t--ck-color-base-active-focus:\t\t\t\t\t\t\t\thsl(218.2, 100%, 52.5%);\n\t--ck-color-base-error:\t\t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t/* -- Generic colors ------------------------------------------------------------------------ */\n\n\t--ck-color-focus-border-coordinates: \t\t\t\t\t\t218, 81.8%, 56.9%;\n\t--ck-color-focus-border: \t\t\t\t\t\t\t\t\thsl(var(--ck-color-focus-border-coordinates));\n\t--ck-color-focus-outer-shadow:\t\t\t\t\t\t\t\thsl(212.4, 89.3%, 89%);\n\t--ck-color-focus-disabled-shadow:\t\t\t\t\t\t\thsla(209, 90%, 72%,.3);\n\t--ck-color-focus-error-shadow:\t\t\t\t\t\t\t\thsla(9,100%,56%,.3);\n\t--ck-color-text: \t\t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-shadow-drop: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.15);\n\t--ck-color-shadow-drop-active:\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.2);\n\t--ck-color-shadow-inner: \t\t\t\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Buttons ------------------------------------------------------------------------------- */\n\n\t--ck-color-button-default-background: \t\t\t\t\t\ttransparent;\n\t--ck-color-button-default-hover-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-active-background: \t\t\t\thsl(0, 0%, 94.1%);\n\t--ck-color-button-default-disabled-background: \t\t\t\ttransparent;\n\n\t--ck-color-button-on-background: \t\t\t\t\t\t\thsl(212, 100%, 97.1%);\n\t--ck-color-button-on-hover-background: \t\t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-active-background: \t\t\t\t\thsl(211.7, 100%, 92.9%);\n\t--ck-color-button-on-disabled-background: \t\t\t\t\thsl(211, 15%, 95%);\n\t--ck-color-button-on-color:\t\t\t\t\t\t\t\t\thsl(218.1, 100%, 58%);\n\n\n\t--ck-color-button-action-background: \t\t\t\t\t\tvar(--ck-color-base-action);\n\t--ck-color-button-action-hover-background: \t\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-active-background: \t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-button-action-disabled-background: \t\t\t\thsl(104, 44%, 58%);\n\t--ck-color-button-action-text: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t--ck-color-button-save: \t\t\t\t\t\t\t\t\thsl(120, 100%, 27%);\n\t--ck-color-button-cancel: \t\t\t\t\t\t\t\t\thsl(15, 100%, 43%);\n\n\t--ck-color-switch-button-off-background:\t\t\t\t\thsl(0, 0%, 57.6%);\n\t--ck-color-switch-button-off-hover-background:\t\t\t\thsl(0, 0%, 49%);\n\t--ck-color-switch-button-on-background:\t\t\t\t\t\tvar(--ck-color-button-action-background);\n\t--ck-color-switch-button-on-hover-background:\t\t\t\thsl(104, 53.2%, 40.2%);\n\t--ck-color-switch-button-inner-background:\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-switch-button-inner-shadow:\t\t\t\t\t\thsla(0, 0%, 0%, 0.1);\n\n\t/* -- Dropdown ------------------------------------------------------------------------------ */\n\n\t--ck-color-dropdown-panel-background: \t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-dropdown-panel-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Dialog -------------------------------------------------------------------------------- */\n\n\t--ck-color-dialog-background: \t\t\t\t\t\t\t\tvar(--ck-custom-background);\n\t--ck-color-dialog-form-header-border: \t\t\t\t\t\tvar(--ck-custom-border);\n\n\t/* -- Input --------------------------------------------------------------------------------- */\n\n\t--ck-color-input-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-input-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-error-border:\t\t\t\t\t\t\t\tvar(--ck-color-base-error);\n\t--ck-color-input-text: \t\t\t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-input-disabled-background: \t\t\t\t\t\thsl(0, 0%, 95%);\n\t--ck-color-input-disabled-border: \t\t\t\t\t\t\tvar(--ck-color-base-border);\n\t--ck-color-input-disabled-text: \t\t\t\t\t\t\thsl(0, 0%, 46%);\n\n\t/* -- List ---------------------------------------------------------------------------------- */\n\n\t--ck-color-list-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-list-button-hover-background: \t\t\t\t\tvar(--ck-color-button-default-hover-background);\n\t--ck-color-list-button-on-background: \t\t\t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-background-focus: \t\t\t\tvar(--ck-color-button-on-color);\n\t--ck-color-list-button-on-text:\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Panel --------------------------------------------------------------------------------- */\n\n\t--ck-color-panel-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-panel-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Toolbar ------------------------------------------------------------------------------- */\n\n\t--ck-color-toolbar-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\t--ck-color-toolbar-border: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-border);\n\n\t/* -- Tooltip ------------------------------------------------------------------------------- */\n\n\t--ck-color-tooltip-background: \t\t\t\t\t\t\t\tvar(--ck-color-base-text);\n\t--ck-color-tooltip-text: \t\t\t\t\t\t\t\t\tvar(--ck-color-base-background);\n\n\t/* -- Engine -------------------------------------------------------------------------------- */\n\n\t--ck-color-engine-placeholder-text: \t\t\t\t\t\thsl(0, 0%, 44%);\n\n\t/* -- Upload -------------------------------------------------------------------------------- */\n\n\t--ck-color-upload-bar-background:\t\t \t\t\t\t\thsl(209, 92%, 70%);\n\n\t/* -- Link -------------------------------------------------------------------------------- */\n\n\t--ck-color-link-default:\t\t\t\t\t\t\t\t\thsl(240, 100%, 47%);\n\t--ck-color-link-selected-background:\t\t\t\t\t\thsla(201, 100%, 56%, 0.1);\n\t--ck-color-link-fake-selection:\t\t\t\t\t\t\t\thsla(201, 100%, 56%, 0.3);\n\n\t/* -- Search result highlight ---------------------------------------------------------------- */\n\n\t--ck-color-highlight-background:\t\t\t\t\t\t\thsl(60, 100%, 50%);\n\n\t/* -- Generic colors ------------------------------------------------------------------------- */\n\n\t--ck-color-light-red:\t\t\t\t\t\t\t\t\t\thsl(0, 100%, 90%);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * An opacity value of disabled UI item.\n\t */\n\t--ck-disabled-opacity: .5;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * The geometry of the of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow-geometry: 0 0 0 3px;\n\n\t/**\n\t * A visual style of focused element's outer shadow.\n\t */\n\t--ck-focus-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when disabled).\n\t */\n\t--ck-focus-disabled-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);\n\n\t/**\n\t * A visual style of focused element's outer shadow (when has errors).\n\t */\n\t--ck-focus-error-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);\n\n\t/**\n\t * A visual style of focused element's border or outline.\n\t */\n\t--ck-focus-ring: 1px solid var(--ck-color-focus-border);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-font-size-base: 13px;\n\t--ck-line-height-base: 1.84615;\n\t--ck-font-face: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;\n\n\t--ck-font-size-tiny: 0.7em;\n\t--ck-font-size-small: 0.75em;\n\t--ck-font-size-normal: 1em;\n\t--ck-font-size-big: 1.4em;\n\t--ck-font-size-large: 1.8em;\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/* This is super-important. This is **manually** adjusted so a button without an icon\n\tis never smaller than a button with icon, additionally making sure that text-less buttons\n\tare perfect squares. The value is also shared by other components which should stay "in-line"\n\twith buttons. */\n\t--ck-ui-component-min-height: 2.3em;\n}\n\n/**\n * Resets an element, ignoring its children.\n */\n.ck.ck-reset,\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* Do not include inheritable rules here. */\n\tmargin: 0;\n\tpadding: 0;\n\tborder: 0;\n\tbackground: transparent;\n\ttext-decoration: none;\n\tvertical-align: middle;\n\ttransition: none;\n\n\t/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/105 */\n\tword-wrap: break-word;\n}\n\n/**\n * Resets an element AND its children.\n */\n.ck.ck-reset_all,\n.ck-reset_all *:not(.ck-reset_all-excluded *) {\n\t/* These are rule inherited by all children elements. */\n\tborder-collapse: collapse;\n\tfont: normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);\n\tcolor: var(--ck-color-text);\n\ttext-align: left;\n\twhite-space: nowrap;\n\tcursor: auto;\n\tfloat: none;\n}\n\n.ck-reset_all {\n\t& .ck-rtl *:not(.ck-reset_all-excluded *) {\n\t\ttext-align: right;\n\t}\n\n\t& iframe:not(.ck-reset_all-excluded *) {\n\t\t/* For IE */\n\t\tvertical-align: inherit;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *) {\n\t\twhite-space: pre-wrap;\n\t}\n\n\t& textarea:not(.ck-reset_all-excluded *),\n\t& input[type="text"]:not(.ck-reset_all-excluded *),\n\t& input[type="password"]:not(.ck-reset_all-excluded *) {\n\t\tcursor: text;\n\t}\n\n\t& textarea[disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="text"][disabled]:not(.ck-reset_all-excluded *),\n\t& input[type="password"][disabled]:not(.ck-reset_all-excluded *) {\n\t\tcursor: default;\n\t}\n\n\t& fieldset:not(.ck-reset_all-excluded *) {\n\t\tpadding: 10px;\n\t\tborder: 2px groove hsl(255, 7%, 88%);\n\t}\n\n\t& button:not(.ck-reset_all-excluded *)::-moz-focus-inner {\n\t\t/* See http://stackoverflow.com/questions/5517744/remove-extra-button-spacing-padding-in-firefox */\n\t\tpadding: 0;\n\t\tborder: 0\n\t}\n}\n\n/**\n * Default UI rules for RTL languages.\n */\n.ck[dir="rtl"],\n.ck[dir="rtl"] .ck {\n\ttext-align: right;\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * Default border-radius value.\n */\n:root{\n\t--ck-border-radius: 2px;\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t/**\n\t * A visual style of element's inner shadow (i.e. input).\n\t */\n\t--ck-inner-shadow: 2px 2px 3px var(--ck-color-shadow-inner) inset;\n\n\t/**\n\t * A visual style of element's drop shadow (i.e. panel).\n\t */\n\t--ck-drop-shadow: 0 1px 2px 1px var(--ck-color-shadow-drop);\n\n\t/**\n\t * A visual style of element's active shadow (i.e. comment or suggestion).\n\t */\n\t--ck-drop-shadow-active: 0 3px 6px 1px var(--ck-color-shadow-drop-active);\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-spacing-unit: \t\t\t\t\t\t0.6em;\n\t--ck-spacing-large: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 1.5);\n\t--ck-spacing-standard: \t\t\t\t\tvar(--ck-spacing-unit);\n\t--ck-spacing-medium: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.8);\n\t--ck-spacing-small: \t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.5);\n\t--ck-spacing-tiny: \t\t\t\t\t\tcalc(var(--ck-spacing-unit) * 0.3);\n\t--ck-spacing-extra-tiny: \t\t\t\tcalc(var(--ck-spacing-unit) * 0.16);\n}\n"],sourceRoot:""}]);const O=M},695:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,":root{--ck-color-resizer:var(--ck-color-focus-border);--ck-color-resizer-tooltip-background:#262626;--ck-color-resizer-tooltip-text:#f2f2f2;--ck-resizer-border-radius:var(--ck-border-radius);--ck-resizer-tooltip-offset:10px;--ck-resizer-tooltip-height:calc(var(--ck-spacing-small)*2 + 10px)}.ck .ck-widget,.ck .ck-widget.ck-widget_with-selection-handle{position:relative}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{position:absolute}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{display:block}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{visibility:visible}.ck .ck-size-view{background:var(--ck-color-resizer-tooltip-background);border:1px solid var(--ck-color-resizer-tooltip-text);border-radius:var(--ck-resizer-border-radius);color:var(--ck-color-resizer-tooltip-text);display:block;font-size:var(--ck-font-size-tiny);height:var(--ck-resizer-tooltip-height);line-height:var(--ck-resizer-tooltip-height);padding:0 var(--ck-spacing-small)}.ck .ck-size-view.ck-orientation-above-center,.ck .ck-size-view.ck-orientation-bottom-left,.ck .ck-size-view.ck-orientation-bottom-right,.ck .ck-size-view.ck-orientation-top-left,.ck .ck-size-view.ck-orientation-top-right{position:absolute}.ck .ck-size-view.ck-orientation-top-left{left:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-top-right{right:var(--ck-resizer-tooltip-offset);top:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-right{bottom:var(--ck-resizer-tooltip-offset);right:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-bottom-left{bottom:var(--ck-resizer-tooltip-offset);left:var(--ck-resizer-tooltip-offset)}.ck .ck-size-view.ck-orientation-above-center{left:50%;top:calc(var(--ck-resizer-tooltip-height)*-1);transform:translate(-50%)}:root{--ck-widget-outline-thickness:3px;--ck-widget-handler-icon-size:16px;--ck-widget-handler-animation-duration:200ms;--ck-widget-handler-animation-curve:ease;--ck-color-widget-blurred-border:#dedede;--ck-color-widget-hover-border:#ffc83d;--ck-color-widget-editable-focus-background:var(--ck-color-base-background);--ck-color-widget-drag-handler-icon-color:var(--ck-color-base-background)}.ck .ck-widget{outline-color:transparent;outline-style:solid;outline-width:var(--ck-widget-outline-thickness);transition:outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_selected,.ck .ck-widget.ck-widget_selected:hover{outline:var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border)}.ck .ck-widget:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-editor__nested-editable{border:1px solid transparent}.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,.ck .ck-editor__nested-editable:focus{background-color:var(--ck-color-widget-editable-focus-background);border:var(--ck-focus-ring);box-shadow:var(--ck-inner-shadow),0 0;outline:none}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{background-color:transparent;border-radius:var(--ck-border-radius) var(--ck-border-radius) 0 0;box-sizing:border-box;left:calc(0px - var(--ck-widget-outline-thickness));opacity:0;padding:4px;top:0;transform:translateY(-100%);transition:background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon{color:var(--ck-color-widget-drag-handler-icon-color);height:var(--ck-widget-handler-icon-size);width:var(--ck-widget-handler-icon-size)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:0;transition:opacity .3s var(--ck-widget-handler-animation-curve)}.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator{opacity:1}.ck .ck-widget.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle{background-color:var(--ck-color-widget-hover-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{background-color:var(--ck-color-focus-border);opacity:1}.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator,.ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator{opacity:1}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{left:auto;right:calc(0px - var(--ck-widget-outline-thickness))}.ck.ck-editor__editable.ck-read-only .ck-widget{transition:none}.ck.ck-editor__editable.ck-read-only .ck-widget:not(.ck-widget_selected){--ck-widget-outline-thickness:0px}.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle,.ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover{outline-color:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover>.ck-widget__selection-handle:hover,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle,.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle:hover{background:var(--ck-color-widget-blurred-border)}.ck.ck-editor__editable blockquote>.ck-widget.ck-widget_with-selection-handle:first-child,.ck.ck-editor__editable>.ck-widget.ck-widget_with-selection-handle:first-child{margin-top:calc(1em + var(--ck-widget-handler-icon-size))}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widget.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widget.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_focus.css","webpack://./../ckeditor5-theme-lark/theme/mixins/_shadow.css"],names:[],mappings:"AAKA,MACC,+CAAgD,CAChD,6CAAsD,CACtD,uCAAgD,CAEhD,kDAAmD,CACnD,gCAAiC,CACjC,kEACD,CAOA,8DAEC,iBAqBD,CAnBC,4EACC,iBAOD,CALC,qFAGC,aACD,CASD,iLACC,kBACD,CAGD,kBACC,qDAAsD,CAEtD,qDAAsD,CACtD,6CAA8C,CAF9C,0CAA2C,CAI3C,aAAc,CADd,kCAAmC,CAGnC,uCAAwC,CACxC,4CAA6C,CAF7C,iCAsCD,CAlCC,8NAKC,iBACD,CAEA,0CAEC,qCAAsC,CADtC,oCAED,CAEA,2CAEC,sCAAuC,CADvC,oCAED,CAEA,8CACC,uCAAwC,CACxC,sCACD,CAEA,6CACC,uCAAwC,CACxC,qCACD,CAGA,8CAEC,QAAS,CADT,6CAAgD,CAEhD,yBACD,CCjFD,MACC,iCAAkC,CAClC,kCAAmC,CACnC,4CAA6C,CAC7C,wCAAyC,CAEzC,wCAAiD,CACjD,sCAAkD,CAClD,2EAA4E,CAC5E,yEACD,CAEA,eAGC,yBAA0B,CAD1B,mBAAoB,CADpB,gDAAiD,CAGjD,6GAUD,CARC,0EAEC,6EACD,CAEA,qBACC,iDACD,CAGD,gCACC,4BAWD,CAPC,yGAKC,iEAAkE,CCnCnE,2BAA2B,CCF3B,qCAA8B,CDC9B,YDqCA,CAIA,4EAKC,4BAA6B,CAa7B,iEAAkE,CAhBlE,qBAAsB,CAoBtB,mDAAoD,CAhBpD,SAAU,CALV,WAAY,CAsBZ,KAAM,CAFN,2BAA4B,CAT5B,6SAgCD,CAnBC,qFAIC,oDAAqD,CADrD,yCAA0C,CAD1C,wCAWD,CANC,kHACC,SAAU,CAGV,+DACD,CAID,wHACC,SACD,CAID,kFAEC,oDAAqD,CADrD,SAED,CAKC,oMAEC,6CAA8C,CAD9C,SAOD,CAHC,gRACC,SACD,CAOH,qFACC,SAAU,CACV,oDACD,CAGA,gDAEC,eAkBD,CAhBC,yEAOC,iCACD,CAGC,gOAEC,gDACD,CAOD,wIAEC,mDAQD,CALE,ghBAEC,gDACD,CAKH,yKAOC,yDACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-color-resizer: var(--ck-color-focus-border);\n\t--ck-color-resizer-tooltip-background: hsl(0, 0%, 15%);\n\t--ck-color-resizer-tooltip-text: hsl(0, 0%, 95%);\n\n\t--ck-resizer-border-radius: var(--ck-border-radius);\n\t--ck-resizer-tooltip-offset: 10px;\n\t--ck-resizer-tooltip-height: calc(var(--ck-spacing-small) * 2 + 10px);\n}\n\n.ck .ck-widget {\n\t/* This is neccessary for type around UI to be positioned properly. */\n\tposition: relative;\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n\n\t& .ck-widget__selection-handle {\n\t\tposition: absolute;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the icon in not a subject to font-size or line-height to avoid\n\t\t\tunnecessary spacing around it. */\n\t\t\tdisplay: block;\n\t\t}\n\t}\n\n\t/* Show the selection handle on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n\n\t/* Show the selection handle when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected > .ck-widget__selection-handle {\n\t\tvisibility: visible;\n\t}\n}\n\n.ck .ck-size-view {\n\tbackground: var(--ck-color-resizer-tooltip-background);\n\tcolor: var(--ck-color-resizer-tooltip-text);\n\tborder: 1px solid var(--ck-color-resizer-tooltip-text);\n\tborder-radius: var(--ck-resizer-border-radius);\n\tfont-size: var(--ck-font-size-tiny);\n\tdisplay: block;\n\tpadding: 0 var(--ck-spacing-small);\n\theight: var(--ck-resizer-tooltip-height);\n\tline-height: var(--ck-resizer-tooltip-height);\n\n\t&.ck-orientation-top-left,\n\t&.ck-orientation-top-right,\n\t&.ck-orientation-bottom-right,\n\t&.ck-orientation-bottom-left,\n\t&.ck-orientation-above-center {\n\t\tposition: absolute;\n\t}\n\n\t&.ck-orientation-top-left {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-top-right {\n\t\ttop: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-right {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-left {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t/* Class applied if the widget is too small to contain the size label */\n\t&.ck-orientation-above-center {\n\t\ttop: calc(var(--ck-resizer-tooltip-height) * -1);\n\t\tleft: 50%;\n\t\ttransform: translate(-50%);\n\t}\n}\n",'/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n@import "../mixins/_focus.css";\n@import "../mixins/_shadow.css";\n\n:root {\n\t--ck-widget-outline-thickness: 3px;\n\t--ck-widget-handler-icon-size: 16px;\n\t--ck-widget-handler-animation-duration: 200ms;\n\t--ck-widget-handler-animation-curve: ease;\n\n\t--ck-color-widget-blurred-border: hsl(0, 0%, 87%);\n\t--ck-color-widget-hover-border: hsl(43, 100%, 62%);\n\t--ck-color-widget-editable-focus-background: var(--ck-color-base-background);\n\t--ck-color-widget-drag-handler-icon-color: var(--ck-color-base-background);\n}\n\n.ck .ck-widget {\n\toutline-width: var(--ck-widget-outline-thickness);\n\toutline-style: solid;\n\toutline-color: transparent;\n\ttransition: outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline: var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border);\n\t}\n\n\t&:hover {\n\t\toutline-color: var(--ck-color-widget-hover-border);\n\t}\n}\n\n.ck .ck-editor__nested-editable {\n\tborder: 1px solid transparent;\n\n\t/* The :focus style is applied before .ck-editor__nested-editable_focused class is rendered in the view.\n\tThese styles show a different border for a blink of an eye, so `:focus` need to have same styles applied. */\n\t&.ck-editor__nested-editable_focused,\n\t&:focus {\n\t\t@mixin ck-focus-ring;\n\t\t@mixin ck-box-shadow var(--ck-inner-shadow);\n\n\t\tbackground-color: var(--ck-color-widget-editable-focus-background);\n\t}\n}\n\n.ck .ck-widget.ck-widget_with-selection-handle {\n\t& .ck-widget__selection-handle {\n\t\tpadding: 4px;\n\t\tbox-sizing: border-box;\n\n\t\t/* Background and opacity will be animated as the handler shows up or the widget gets selected. */\n\t\tbackground-color: transparent;\n\t\topacity: 0;\n\n\t\t/* Transition:\n\t\t   * background-color for the .ck-widget_selected state change,\n\t\t   * visibility for hiding the handler,\n\t\t   * opacity for the proper look of the icon when the handler disappears. */\n\t\ttransition:\n\t\t\tbackground-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\tvisibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),\n\t\t\topacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t/* Make only top corners round. */\n\t\tborder-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;\n\n\t\t/* Place the drag handler outside the widget wrapper. */\n\t\ttransform: translateY(-100%);\n\t\tleft: calc(0px - var(--ck-widget-outline-thickness));\n\t\ttop: 0;\n\n\t\t& .ck-icon {\n\t\t\t/* Make sure the dimensions of the icon are independent of the fon-size of the content. */\n\t\t\twidth: var(--ck-widget-handler-icon-size);\n\t\t\theight: var(--ck-widget-handler-icon-size);\n\t\t\tcolor: var(--ck-color-widget-drag-handler-icon-color);\n\n\t\t\t/* The "selected" part of the icon is invisible by default */\n\t\t\t& .ck-icon__selected-indicator {\n\t\t\t\topacity: 0;\n\n\t\t\t\t/* Note: The animation is longer on purpose. Simply feels better. */\n\t\t\t\ttransition: opacity 300ms var(--ck-widget-handler-animation-curve);\n\t\t\t}\n\t\t}\n\n\t\t/* Advertise using the look of the icon that once clicked the handler, the widget will be selected. */\n\t\t&:hover .ck-icon .ck-icon__selected-indicator {\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t/* Show the selection handler on mouse hover over the widget, but not for nested widgets. */\n\t&:hover > .ck-widget__selection-handle {\n\t\topacity: 1;\n\t\tbackground-color: var(--ck-color-widget-hover-border);\n\t}\n\n\t/* Show the selection handler when the widget is selected, but not for nested widgets. */\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\t& > .ck-widget__selection-handle {\n\t\t\topacity: 1;\n\t\t\tbackground-color: var(--ck-color-focus-border);\n\n\t\t\t/* When the widget is selected, notify the user using the proper look of the icon. */\n\t\t\t& .ck-icon .ck-icon__selected-indicator {\n\t\t\t\topacity: 1;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* In a RTL environment, align the selection handler to the right side of the widget */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {\n\tleft: auto;\n\tright: calc(0px - var(--ck-widget-outline-thickness));\n}\n\n/* https://github.com/ckeditor/ckeditor5/issues/6415 */\n.ck.ck-editor__editable.ck-read-only .ck-widget {\n\t/* Prevent the :hover outline from showing up because of the used outline-color transition. */\n\ttransition: none;\n\n\t&:not(.ck-widget_selected) {\n\t\t/* Disable visual effects of hover/active widget when CKEditor is in readOnly mode.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/1261\n\t\t *\n\t\t * Leave the unit because this custom property is used in calc() by other features.\n\t\t * See: https://github.com/ckeditor/ckeditor5/issues/6775\n\t\t */\n\t\t--ck-widget-outline-thickness: 0px;\n\t}\n\n\t&.ck-widget_with-selection-handle {\n\t\t& .ck-widget__selection-handle,\n\t\t& .ck-widget__selection-handle:hover {\n\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t}\n\t}\n}\n\n/* Style the widget when it\'s selected but the editable it belongs to lost focus. */\n/* stylelint-disable-next-line no-descending-specificity */\n.ck.ck-editor__editable.ck-blurred .ck-widget {\n\t&.ck-widget_selected,\n\t&.ck-widget_selected:hover {\n\t\toutline-color: var(--ck-color-widget-blurred-border);\n\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t& > .ck-widget__selection-handle,\n\t\t\t& > .ck-widget__selection-handle:hover {\n\t\t\t\tbackground: var(--ck-color-widget-blurred-border);\n\t\t\t}\n\t\t}\n\t}\n}\n\n.ck.ck-editor__editable > .ck-widget.ck-widget_with-selection-handle:first-child,\n.ck.ck-editor__editable blockquote > .ck-widget.ck-widget_with-selection-handle:first-child {\n\t/* Do not crop selection handler if a widget is a first-child in the blockquote or in the root editable.\n\tIn fact, anything with overflow: hidden.\n\thttps://github.com/ckeditor/ckeditor5-block-quote/issues/28\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/44\n\thttps://github.com/ckeditor/ckeditor5-widget/issues/66 */\n\tmargin-top: calc(1em + var(--ck-widget-handler-icon-size));\n}\n',"/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A visual style of focused element's border.\n */\n@define-mixin ck-focus-ring {\n\t/* Disable native outline. */\n\toutline: none;\n\tborder: var(--ck-focus-ring)\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * A helper to combine multiple shadows.\n */\n@define-mixin ck-box-shadow $shadowA, $shadowB: 0 0 {\n\tbox-shadow: $shadowA, $shadowB;\n}\n\n/**\n * Gives an element a drop shadow so it looks like a floating panel.\n */\n@define-mixin ck-drop-shadow {\n\t@mixin ck-box-shadow var(--ck-drop-shadow);\n}\n"],sourceRoot:""}]);const O=M},4095:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,".ck .ck-widget_with-resizer{position:relative}.ck .ck-widget__resizer{display:none;left:0;pointer-events:none;position:absolute;top:0}.ck-focused .ck-widget_with-resizer.ck-widget_selected>.ck-widget__resizer{display:block}.ck .ck-widget__resizer__handle{pointer-events:all;position:absolute}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{cursor:nwse-resize}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left,.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{cursor:nesw-resize}:root{--ck-resizer-size:10px;--ck-resizer-offset:calc(var(--ck-resizer-size)/-2 - 2px);--ck-resizer-border-width:1px}.ck .ck-widget__resizer{outline:1px solid var(--ck-color-resizer)}.ck .ck-widget__resizer__handle{background:var(--ck-color-focus-border);border:var(--ck-resizer-border-width) solid #fff;border-radius:var(--ck-resizer-border-radius);height:var(--ck-resizer-size);width:var(--ck-resizer-size)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left{left:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right{right:var(--ck-resizer-offset);top:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right{bottom:var(--ck-resizer-offset);right:var(--ck-resizer-offset)}.ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left{bottom:var(--ck-resizer-offset);left:var(--ck-resizer-offset)}","",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgetresize.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgetresize.css"],names:[],mappings:"AAKA,4BAEC,iBACD,CAEA,wBACC,YAAa,CAMb,MAAO,CAFP,mBAAoB,CAHpB,iBAAkB,CAMlB,KACD,CAGC,2EACC,aACD,CAGD,gCAIC,kBAAmB,CAHnB,iBAcD,CATC,4IAEC,kBACD,CAEA,4IAEC,kBACD,CCpCD,MACC,sBAAuB,CAGvB,yDAAiE,CACjE,6BACD,CAEA,wBACC,yCACD,CAEA,gCAGC,uCAAwC,CACxC,gDAA6D,CAC7D,6CAA8C,CAH9C,6BAA8B,CAD9B,4BAyBD,CAnBC,oEAEC,6BAA8B,CAD9B,4BAED,CAEA,qEAEC,8BAA+B,CAD/B,4BAED,CAEA,wEACC,+BAAgC,CAChC,8BACD,CAEA,uEACC,+BAAgC,CAChC,6BACD",sourcesContent:["/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget_with-resizer {\n\t/* Make the widget wrapper a relative positioning container for the drag handle. */\n\tposition: relative;\n}\n\n.ck .ck-widget__resizer {\n\tdisplay: none;\n\tposition: absolute;\n\n\t/* The wrapper itself should not interfere with the pointer device, only the handles should. */\n\tpointer-events: none;\n\n\tleft: 0;\n\ttop: 0;\n}\n\n.ck-focused .ck-widget_with-resizer.ck-widget_selected {\n\t& > .ck-widget__resizer {\n\t\tdisplay: block;\n\t}\n}\n\n.ck .ck-widget__resizer__handle {\n\tposition: absolute;\n\n\t/* Resizers are the only UI elements that should interfere with a pointer device. */\n\tpointer-events: all;\n\n\t&.ck-widget__resizer__handle-top-left,\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tcursor: nwse-resize;\n\t}\n\n\t&.ck-widget__resizer__handle-top-right,\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tcursor: nesw-resize;\n\t}\n}\n","/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-resizer-size: 10px;\n\n\t/* Set the resizer with a 50% offset. */\n\t--ck-resizer-offset: calc( ( var(--ck-resizer-size) / -2 ) - 2px);\n\t--ck-resizer-border-width: 1px;\n}\n\n.ck .ck-widget__resizer {\n\toutline: 1px solid var(--ck-color-resizer);\n}\n\n.ck .ck-widget__resizer__handle {\n\twidth: var(--ck-resizer-size);\n\theight: var(--ck-resizer-size);\n\tbackground: var(--ck-color-focus-border);\n\tborder: var(--ck-resizer-border-width) solid hsl(0, 0%, 100%);\n\tborder-radius: var(--ck-resizer-border-radius);\n\n\t&.ck-widget__resizer__handle-top-left {\n\t\ttop: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-top-right {\n\t\ttop: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-right {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tright: var(--ck-resizer-offset);\n\t}\n\n\t&.ck-widget__resizer__handle-bottom-left {\n\t\tbottom: var(--ck-resizer-offset);\n\t\tleft: var(--ck-resizer-offset);\n\t}\n}\n"],sourceRoot:""}]);const O=M},8508:(C,I,v)=>{"use strict";v.d(I,{A:()=>O});var D=v(9372),E=v.n(D),T=v(935),M=v.n(T)()(E());M.push([C.id,'.ck .ck-widget .ck-widget__type-around__button{display:block;overflow:hidden;position:absolute;z-index:var(--ck-z-default)}.ck .ck-widget .ck-widget__type-around__button svg{left:50%;position:absolute;top:50%;z-index:calc(var(--ck-z-default) + 2)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_before{left:min(10%,30px);top:calc(var(--ck-widget-outline-thickness)*-.5);transform:translateY(-50%)}.ck .ck-widget .ck-widget__type-around__button.ck-widget__type-around__button_after{bottom:calc(var(--ck-widget-outline-thickness)*-.5);right:min(10%,30px);transform:translateY(50%)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{content:"";display:block;left:1px;position:absolute;top:1px;z-index:calc(var(--ck-z-default) + 1)}.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:none;left:0;position:absolute;right:0}.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__fake-caret{left:calc(var(--ck-widget-outline-thickness)*-1);right:calc(var(--ck-widget-outline-thickness)*-1)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__fake-caret{display:block;top:calc(var(--ck-widget-outline-thickness)*-1 - 1px)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__fake-caret{bottom:calc(var(--ck-widget-outline-thickness)*-1 - 1px);display:block}.ck.ck-editor__editable.ck-read-only .ck-widget__type-around,.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around,.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around{display:none}:root{--ck-widget-type-around-button-size:20px;--ck-color-widget-type-around-button-active:var(--ck-color-focus-border);--ck-color-widget-type-around-button-hover:var(--ck-color-widget-hover-border);--ck-color-widget-type-around-button-blurred-editable:var(--ck-color-widget-blurred-border);--ck-color-widget-type-around-button-radar-start-alpha:0;--ck-color-widget-type-around-button-radar-end-alpha:.3;--ck-color-widget-type-around-button-icon:var(--ck-color-base-background)}.ck .ck-widget .ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button);border-radius:100px;height:var(--ck-widget-type-around-button-size);opacity:0;pointer-events:none;transition:opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);width:var(--ck-widget-type-around-button-size)}.ck .ck-widget .ck-widget__type-around__button svg{height:8px;margin-top:1px;transform:translate(-50%,-50%);transition:transform .5s ease;width:10px}.ck .ck-widget .ck-widget__type-around__button svg *{stroke-dasharray:10;stroke-dashoffset:0;fill:none;stroke:var(--ck-color-widget-type-around-button-icon);stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round}.ck .ck-widget .ck-widget__type-around__button svg line{stroke-dasharray:7}.ck .ck-widget .ck-widget__type-around__button:hover{animation:ck-widget-type-around-button-sonar 1s ease infinite}.ck .ck-widget .ck-widget__type-around__button:hover svg polyline{animation:ck-widget-type-around-arrow-dash 2s linear}.ck .ck-widget .ck-widget__type-around__button:hover svg line{animation:ck-widget-type-around-arrow-tip-dash 2s linear}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:1;pointer-events:auto}.ck .ck-widget:not(.ck-widget_selected)>.ck-widget__type-around>.ck-widget__type-around__button{background:var(--ck-color-widget-type-around-button-hover)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover{background:var(--ck-color-widget-type-around-button-active)}.ck .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:after,.ck .ck-widget>.ck-widget__type-around>.ck-widget__type-around__button:hover:after{background:linear-gradient(135deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.3));border-radius:100px;height:calc(var(--ck-widget-type-around-button-size) - 2px);width:calc(var(--ck-widget-type-around-button-size) - 2px)}.ck .ck-widget.ck-widget_with-selection-handle>.ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:20px}.ck .ck-widget .ck-widget__type-around__fake-caret{animation:ck-widget-type-around-fake-caret-pulse 1s linear infinite normal forwards;background:var(--ck-color-base-text);height:1px;outline:1px solid hsla(0,0%,100%,.5);pointer-events:none}.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after,.ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before{outline-color:transparent}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected:hover,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected:hover{outline-color:var(--ck-color-widget-hover-border)}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after>.ck-widget__type-around>.ck-widget__type-around__button,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer>.ck-widget__resizer,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected:hover>.ck-widget__selection-handle,.ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected>.ck-widget__selection-handle{opacity:0}.ck[dir=rtl] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around>.ck-widget__type-around__button_before{margin-left:0;margin-right:20px}.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button,.ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover>.ck-widget__type-around>.ck-widget__type-around__button{opacity:0;pointer-events:none}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover){background:var(--ck-color-widget-type-around-button-blurred-editable)}.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected>.ck-widget__type-around>.ck-widget__type-around__button:not(:hover) svg *{stroke:#999}@keyframes ck-widget-type-around-arrow-dash{0%{stroke-dashoffset:10}20%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-arrow-tip-dash{0%,20%{stroke-dashoffset:7}40%,to{stroke-dashoffset:0}}@keyframes ck-widget-type-around-button-sonar{0%{box-shadow:0 0 0 0 hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}50%{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-end-alpha))}to{box-shadow:0 0 0 5px hsla(var(--ck-color-focus-border-coordinates),var(--ck-color-widget-type-around-button-radar-start-alpha))}}@keyframes ck-widget-type-around-fake-caret-pulse{0%{opacity:1}49%{opacity:1}50%{opacity:0}99%{opacity:0}to{opacity:1}}',"",{version:3,sources:["webpack://./../ckeditor5-widget/theme/widgettypearound.css","webpack://./../ckeditor5-theme-lark/theme/ckeditor5-widget/widgettypearound.css"],names:[],mappings:"AASC,+CACC,aAAc,CAEd,eAAgB,CADhB,iBAAkB,CAElB,2BAwBD,CAtBC,mDAGC,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAEA,qFAGC,kBAAoB,CADpB,gDAAoD,CAGpD,0BACD,CAEA,oFAEC,mDAAuD,CACvD,mBAAqB,CAErB,yBACD,CAUA,mLACC,UAAW,CACX,aAAc,CAGd,QAAS,CAFT,iBAAkB,CAClB,OAAQ,CAER,qCACD,CAMD,2EACC,YAAa,CAEb,MAAO,CADP,iBAAkB,CAElB,OACD,CAOA,iFACC,gDAAqD,CACrD,iDACD,CAKA,wHAEC,aAAc,CADd,qDAED,CAKA,uHACC,wDAA6D,CAC7D,aACD,CAoBD,mOACC,YACD,CC3GA,MACC,wCAAyC,CACzC,wEAAyE,CACzE,8EAA+E,CAC/E,2FAA4F,CAC5F,wDAAyD,CACzD,uDAAwD,CACxD,yEACD,CAgBC,+CAGC,oDAAqD,CACrD,mBAAoB,CAFpB,+CAAgD,CAVjD,SAAU,CACV,mBAAoB,CAYnB,uMAAyM,CAJzM,8CAkDD,CA1CC,mDAEC,UAAW,CAGX,cAAe,CAFf,8BAA+B,CAC/B,6BAA8B,CAH9B,UAoBD,CAdC,qDACC,mBAAoB,CACpB,mBAAoB,CAEpB,SAAU,CACV,qDAAsD,CACtD,kBAAmB,CACnB,oBAAqB,CACrB,qBACD,CAEA,wDACC,kBACD,CAGD,qDAIC,6DAcD,CARE,kEACC,oDACD,CAEA,8DACC,wDACD,CAUF,uKAvED,SAAU,CACV,mBAwEC,CAOD,gGACC,0DACD,CAOA,uKAEC,2DAQD,CANC,mLAIC,uEAAkF,CADlF,mBAAoB,CADpB,2DAA4D,CAD5D,0DAID,CAOD,8GACC,gBACD,CAKA,mDAGC,mFAAoF,CAOpF,oCAAqC,CARrC,UAAW,CAOX,oCAAwC,CARxC,mBAUD,CAOC,6JAEC,yBACD,CAUA,yKACC,iDACD,CAMA,uOAlJD,SAAU,CACV,mBAmJC,CAoBA,6yBACC,SACD,CASF,uHACC,aAAc,CACd,iBACD,CAYG,iRAlMF,SAAU,CACV,mBAmME,CAQH,kIACC,qEAKD,CAHC,wIACC,WACD,CAGD,4CACC,GACC,oBACD,CACA,OACC,mBACD,CACD,CAEA,gDACC,OACC,mBACD,CACA,OACC,mBACD,CACD,CAEA,8CACC,GACC,6HACD,CACA,IACC,6HACD,CACA,GACC,+HACD,CACD,CAEA,kDACC,GACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,IACC,SACD,CACA,GACC,SACD,CACD",sourcesContent:['/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\tdisplay: block;\n\t\tposition: absolute;\n\t\toverflow: hidden;\n\t\tz-index: var(--ck-z-default);\n\n\t\t& svg {\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: 50%;\n\t\t\tz-index: calc(var(--ck-z-default) + 2);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_before {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\ttop: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tleft: min(10%, 30px);\n\n\t\t\ttransform: translateY(-50%);\n\t\t}\n\n\t\t&.ck-widget__type-around__button_after {\n\t\t\t/* Place it in the middle of the outline */\n\t\t\tbottom: calc(-0.5 * var(--ck-widget-outline-thickness));\n\t\t\tright: min(10%, 30px);\n\n\t\t\ttransform: translateY(50%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\t&::after {\n\t\t\tcontent: "";\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\ttop: 1px;\n\t\t\tleft: 1px;\n\t\t\tz-index: calc(var(--ck-z-default) + 1);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tdisplay: none;\n\t\tposition: absolute;\n\t\tleft: 0;\n\t\tright: 0;\n\t}\n\n\t/*\n\t * When the widget is hovered the "fake caret" would normally be narrower than the\n\t * extra outline displayed around the widget. Let\'s extend the "fake caret" to match\n\t * the full width of the widget.\n\t */\n\t&:hover > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tleft: calc( -1 * var(--ck-widget-outline-thickness) );\n\t\tright: calc( -1 * var(--ck-widget-outline-thickness) );\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed before the widget (backward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\ttop: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" when it should be displayed after the widget (forward keyboard navigation).\n\t */\n\t&.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {\n\t\tbottom: calc( -1 * var(--ck-widget-outline-thickness) - 1px );\n\t\tdisplay: block;\n\t}\n}\n\n/*\n * Integration with the read-only mode of the editor.\n */\n.ck.ck-editor__editable.ck-read-only .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the restricted editing mode (feature) of the editor.\n */\n.ck.ck-editor__editable.ck-restricted-editing_mode_restricted .ck-widget__type-around {\n\tdisplay: none;\n}\n\n/*\n * Integration with the #isEnabled property of the WidgetTypeAround plugin.\n */\n.ck.ck-editor__editable.ck-widget__type-around_disabled .ck-widget__type-around {\n\tdisplay: none;\n}\n','/*\n * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n:root {\n\t--ck-widget-type-around-button-size: 20px;\n\t--ck-color-widget-type-around-button-active: var(--ck-color-focus-border);\n\t--ck-color-widget-type-around-button-hover: var(--ck-color-widget-hover-border);\n\t--ck-color-widget-type-around-button-blurred-editable: var(--ck-color-widget-blurred-border);\n\t--ck-color-widget-type-around-button-radar-start-alpha: 0;\n\t--ck-color-widget-type-around-button-radar-end-alpha: .3;\n\t--ck-color-widget-type-around-button-icon: var(--ck-color-base-background);\n}\n\n@define-mixin ck-widget-type-around-button-visible {\n\topacity: 1;\n\tpointer-events: auto;\n}\n\n@define-mixin ck-widget-type-around-button-hidden {\n\topacity: 0;\n\tpointer-events: none;\n}\n\n.ck .ck-widget {\n\t/*\n\t * Styles of the type around buttons\n\t */\n\t& .ck-widget__type-around__button {\n\t\twidth: var(--ck-widget-type-around-button-size);\n\t\theight: var(--ck-widget-type-around-button-size);\n\t\tbackground: var(--ck-color-widget-type-around-button);\n\t\tborder-radius: 100px;\n\t\ttransition: opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve), background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);\n\n\t\t@mixin ck-widget-type-around-button-hidden;\n\n\t\t& svg {\n\t\t\twidth: 10px;\n\t\t\theight: 8px;\n\t\t\ttransform: translate(-50%,-50%);\n\t\t\ttransition: transform .5s ease;\n\t\t\tmargin-top: 1px;\n\n\t\t\t& * {\n\t\t\t\tstroke-dasharray: 10;\n\t\t\t\tstroke-dashoffset: 0;\n\n\t\t\t\tfill: none;\n\t\t\t\tstroke: var(--ck-color-widget-type-around-button-icon);\n\t\t\t\tstroke-width: 1.5px;\n\t\t\t\tstroke-linecap: round;\n\t\t\t\tstroke-linejoin: round;\n\t\t\t}\n\n\t\t\t& line {\n\t\t\t\tstroke-dasharray: 7;\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t/*\n\t\t\t * Display the "sonar" around the button when hovered.\n\t\t\t */\n\t\t\tanimation: ck-widget-type-around-button-sonar 1s ease infinite;\n\n\t\t\t/*\n\t\t\t * Animate active button\'s icon.\n\t\t\t */\n\t\t\t& svg {\n\t\t\t\t& polyline {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-dash 2s linear;\n\t\t\t\t}\n\n\t\t\t\t& line {\n\t\t\t\t\tanimation: ck-widget-type-around-arrow-tip-dash 2s linear;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t/*\n\t * Show type around buttons when the widget gets selected or being hovered.\n\t */\n\t&.ck-widget_selected,\n\t&:hover {\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-visible;\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the buttons when the widget is NOT selected (but the buttons are visible\n\t * and still can be hovered).\n\t */\n\t&:not(.ck-widget_selected) > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\tbackground: var(--ck-color-widget-type-around-button-hover);\n\t}\n\n\t/*\n\t * Styles for the buttons when:\n\t * - the widget is selected,\n\t * - or the button is being hovered (regardless of the widget state).\n\t */\n\t&.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,\n\t& > .ck-widget__type-around > .ck-widget__type-around__button:hover {\n\t\tbackground: var(--ck-color-widget-type-around-button-active);\n\n\t\t&::after {\n\t\t\twidth: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\theight: calc(var(--ck-widget-type-around-button-size) - 2px);\n\t\t\tborder-radius: 100px;\n\t\t\tbackground: linear-gradient(135deg, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,.3) 100%);\n\t\t}\n\t}\n\n\t/*\n\t * Styles for the "before" button when the widget has a selection handle. Because some space\n\t * is consumed by the handle, the button must be moved slightly to the right to let it breathe.\n\t */\n\t&.ck-widget_with-selection-handle > .ck-widget__type-around > .ck-widget__type-around__button_before {\n\t\tmargin-left: 20px;\n\t}\n\n\t/*\n\t * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.\n\t */\n\t& .ck-widget__type-around__fake-caret {\n\t\tpointer-events: none;\n\t\theight: 1px;\n\t\tanimation: ck-widget-type-around-fake-caret-pulse linear 1s infinite normal forwards;\n\n\t\t/*\n\t\t * The semi-transparent-outline+background combo improves the contrast\n\t\t * when the background underneath the fake caret is dark.\n\t\t */\n\t\toutline: solid 1px hsla(0, 0%, 100%, .5);\n\t\tbackground: var(--ck-color-base-text);\n\t}\n\n\t/*\n\t * Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t * Despite the widget being physically selected in the model, its outline should disappear.\n\t */\n\t&.ck-widget_selected {\n\t\t&.ck-widget_type-around_show-fake-caret_before,\n\t\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t\toutline-color: transparent;\n\t\t}\n\t}\n\n\t&.ck-widget_type-around_show-fake-caret_before,\n\t&.ck-widget_type-around_show-fake-caret_after {\n\t\t/*\n\t\t * When the "fake caret" is visible we simulate that the widget is not selected\n\t\t * (despite being physically selected), so the outline color should be for the\n\t\t * unselected widget.\n\t\t */\n\t\t&.ck-widget_selected:hover {\n\t\t\toutline-color: var(--ck-color-widget-hover-border);\n\t\t}\n\n\t\t/*\n\t\t * Styles of the type around buttons when the "fake caret" is blinking (e.g. upon keyboard navigation).\n\t\t * In this state, the type around buttons would collide with the fake carets so they should disappear.\n\t\t */\n\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the selection handle. When the caret is visible, simply\n\t\t * hide the handle because it intersects with the caret (and does not make much sense anyway).\n\t\t */\n\t\t&.ck-widget_with-selection-handle {\n\t\t\t&.ck-widget_selected,\n\t\t\t&.ck-widget_selected:hover {\n\t\t\t\t& > .ck-widget__selection-handle {\n\t\t\t\t\topacity: 0\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t/*\n\t\t * Fake horizontal caret integration with the resize UI. When the caret is visible, simply\n\t\t * hide the resize UI because it creates too much noise. It can be visible when the user\n\t\t * hovers the widget, though.\n\t\t */\n\t\t&.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer {\n\t\t\topacity: 0\n\t\t}\n\t}\n}\n\n/*\n * Styles for the "before" button when the widget has a selection handle in an RTL environment.\n * The selection handler is aligned to the right side of the widget so there is no need to create\n * additional space for it next to the "before" button.\n */\n.ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around > .ck-widget__type-around__button_before {\n\tmargin-left: 0;\n\tmargin-right: 20px;\n}\n\n/*\n * Hide type around buttons when the widget is selected as a child of a selected\n * nested editable (e.g. mulit-cell table selection).\n *\n * See https://github.com/ckeditor/ckeditor5/issues/7263.\n */\n.ck-editor__nested-editable.ck-editor__editable_selected {\n\t& .ck-widget {\n\t\t&.ck-widget_selected,\n\t\t&:hover {\n\t\t\t& > .ck-widget__type-around > .ck-widget__type-around__button {\n\t\t\t\t@mixin ck-widget-type-around-button-hidden;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/*\n * Styles for the buttons when the widget is selected but the user clicked outside of the editor (blurred the editor).\n */\n.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button:not(:hover) {\n\tbackground: var(--ck-color-widget-type-around-button-blurred-editable);\n\n\t& svg * {\n\t\tstroke: hsl(0,0%,60%);\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-dash {\n\t0% {\n\t\tstroke-dashoffset: 10;\n\t}\n\t20%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-arrow-tip-dash {\n\t0%, 20% {\n\t\tstroke-dashoffset: 7;\n\t}\n\t40%, 100% {\n\t\tstroke-dashoffset: 0;\n\t}\n}\n\n@keyframes ck-widget-type-around-button-sonar {\n\t0% {\n\t\tbox-shadow: 0 0 0 0 hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n\t50% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-end-alpha));\n\t}\n\t100% {\n\t\tbox-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));\n\t}\n}\n\n@keyframes ck-widget-type-around-fake-caret-pulse {\n\t0% {\n\t\topacity: 1;\n\t}\n\t49% {\n\t\topacity: 1;\n\t}\n\t50% {\n\t\topacity: 0;\n\t}\n\t99% {\n\t\topacity: 0;\n\t}\n\t100% {\n\t\topacity: 1;\n\t}\n}\n'],sourceRoot:""}]);const O=M},935:C=>{"use strict";C.exports=function(I){var v=[];return v.toString=function(){return this.map(function(D){var E=I(D);return D[2]?"@media ".concat(D[2]," {").concat(E,"}"):E}).join("")},v.i=function(D,E,T){"string"==typeof D&&(D=[[null,D,""]]);var M={};if(T)for(var O=0;O<this.length;O++){var j=this[O][0];null!=j&&(M[j]=!0)}for(var z=0;z<D.length;z++){var F=[].concat(D[z]);T&&M[F[0]]||(E&&(F[2]=F[2]?"".concat(E," and ").concat(F[2]):E),v.push(F))}},v}},9372:C=>{"use strict";function v(D,E){(null==E||E>D.length)&&(E=D.length);for(var T=0,M=new Array(E);T<E;T++)M[T]=D[T];return M}C.exports=function(D){var E=function I(D,E){return function(T){if(Array.isArray(T))return T}(D)||function(T,M){var O=T&&(typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"]);if(null!=O){var j,z,F=[],q=!0,V=!1;try{for(O=O.call(T);!(q=(j=O.next()).done)&&(F.push(j.value),!M||F.length!==M);q=!0);}catch(Q){V=!0,z=Q}finally{try{q||null==O.return||O.return()}finally{if(V)throw z}}return F}}(D,E)||function(T,M){if(T){if("string"==typeof T)return v(T,M);var O=Object.prototype.toString.call(T).slice(8,-1);if("Object"===O&&T.constructor&&(O=T.constructor.name),"Map"===O||"Set"===O)return Array.from(T);if("Arguments"===O||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return v(T,M)}}(D,E)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(D,4),T=E[1],M=E[3];if(!M)return T;if("function"==typeof btoa){var O=btoa(unescape(encodeURIComponent(JSON.stringify(M)))),j="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(O),z="/*# ".concat(j," */"),F=M.sources.map(function(q){return"/*# sourceURL=".concat(M.sourceRoot||"").concat(q," */")});return[T].concat(F).concat([z]).join("\n")}return[T].join("\n")}},2591:(C,I,v)=>{"use strict";var D,he,T=(he={},function(se){if(void 0===he[se]){var Y=document.querySelector(se);if(window.HTMLIFrameElement&&Y instanceof window.HTMLIFrameElement)try{Y=Y.contentDocument.head}catch{Y=null}he[se]=Y}return he[se]}),M=[];function O(he){for(var se=-1,Y=0;Y<M.length;Y++)if(M[Y].identifier===he){se=Y;break}return se}function j(he,se){for(var Y={},ie=[],pe=0;pe<he.length;pe++){var be=he[pe],Ae=se.base?be[0]+se.base:be[0],je=Y[Ae]||0,Be="".concat(Ae," ").concat(je);Y[Ae]=je+1;var rt=O(Be),Ne={css:be[1],media:be[2],sourceMap:be[3]};-1!==rt?(M[rt].references++,M[rt].updater(Ne)):M.push({identifier:Be,updater:de(Ne,se),references:1}),ie.push(Be)}return ie}function z(he){var se=document.createElement("style"),Y=he.attributes||{};if(void 0===Y.nonce){var ie=v.nc;ie&&(Y.nonce=ie)}if(Object.keys(Y).forEach(function(be){se.setAttribute(be,Y[be])}),"function"==typeof he.insert)he.insert(se);else{var pe=T(he.insert||"head");if(!pe)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");pe.appendChild(se)}return se}var F,q=(F=[],function(he,se){return F[he]=se,F.filter(Boolean).join("\n")});function V(he,se,Y,ie){var pe=Y?"":ie.media?"@media ".concat(ie.media," {").concat(ie.css,"}"):ie.css;if(he.styleSheet)he.styleSheet.cssText=q(se,pe);else{var be=document.createTextNode(pe),Ae=he.childNodes;Ae[se]&&he.removeChild(Ae[se]),Ae.length?he.insertBefore(be,Ae[se]):he.appendChild(be)}}function Q(he,se,Y){var ie=Y.css,pe=Y.media,be=Y.sourceMap;if(pe?he.setAttribute("media",pe):he.removeAttribute("media"),be&&typeof btoa<"u"&&(ie+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(be))))," */")),he.styleSheet)he.styleSheet.cssText=ie;else{for(;he.firstChild;)he.removeChild(he.firstChild);he.appendChild(document.createTextNode(ie))}}var ce=null,ae=0;function de(he,se){var Y,ie,pe;if(se.singleton){var be=ae++;Y=ce||(ce=z(se)),ie=V.bind(null,Y,be,!1),pe=V.bind(null,Y,be,!0)}else Y=z(se),ie=Q.bind(null,Y,se),pe=function(){!function(Ae){if(null===Ae.parentNode)return!1;Ae.parentNode.removeChild(Ae)}(Y)};return ie(he),function(Ae){if(Ae){if(Ae.css===he.css&&Ae.media===he.media&&Ae.sourceMap===he.sourceMap)return;ie(he=Ae)}else pe()}}C.exports=function(he,se){(se=se||{}).singleton||"boolean"==typeof se.singleton||(se.singleton=(void 0===D&&(D=!(!(window&&document&&document.all)||window.atob)),D));var Y=j(he=he||[],se);return function(ie){if(ie=ie||[],"[object Array]"===Object.prototype.toString.call(ie)){for(var pe=0;pe<Y.length;pe++){var be=O(Y[pe]);M[be].references--}for(var Ae=j(ie,se),je=0;je<Y.length;je++){var Be=O(Y[je]);0===M[Be].references&&(M[Be].updater(),M.splice(Be,1))}Y=Ae}}}}},A={};function L(C){var I=A[C];if(void 0!==I)return I.exports;var v=A[C]={id:C,exports:{}};return R[C](v,v.exports,L),v.exports}L.n=C=>{var I=C&&C.__esModule?()=>C.default:()=>C;return L.d(I,{a:I}),I},L.d=(C,I)=>{for(var v in I)L.o(I,v)&&!L.o(C,v)&&Object.defineProperty(C,v,{enumerable:!0,get:I[v]})},L.o=(C,I)=>Object.prototype.hasOwnProperty.call(C,I),L.nc=void 0;var x={};return(()=>{"use strict";function C({emitter:c,activator:n,callback:r,contextElements:a}){c.listenTo(document,"mousedown",(d,u)=>{if(!n())return;const p="function"==typeof u.composedPath?u.composedPath():[],f="function"==typeof a?a():a;for(const g of f)if(g.contains(u.target)||p.includes(g))return;r()})}function I(c){return class extends c{disableCssTransitions(){this._isCssTransitionsDisabled=!0}enableCssTransitions(){this._isCssTransitionsDisabled=!1}constructor(...n){super(...n),this.set("_isCssTransitionsDisabled",!1),this.initializeCssTransitionDisablerMixin()}initializeCssTransitionDisablerMixin(){this.extendTemplate({attributes:{class:[this.bindTemplate.if("_isCssTransitionsDisabled","ck-transitions-disabled")]}})}}}function v({view:c}){c.listenTo(c.element,"submit",(n,r)=>{r.preventDefault(),c.fire("submit")},{useCapture:!0})}L.d(x,{default:()=>LD});const E=function(){try{return navigator.userAgent.toLowerCase()}catch{return""}}();var T;const M={isMac:O(E),isWindows:(T=E,T.indexOf("windows")>-1),isGecko:(c=E,!!c.match(/gecko\/\d+/)),isSafari:function(c){return c.indexOf(" applewebkit/")>-1&&-1===c.indexOf("chrome")}(E),isiOS:function(c){return!!c.match(/iphone|ipad/i)||O(c)&&navigator.maxTouchPoints>0}(E),isAndroid:function(c){return c.indexOf("android")>-1}(E),isBlink:function(c){return c.indexOf("chrome/")>-1&&c.indexOf("edge/")<0}(E),features:{isRegExpUnicodePropertySupported:function(){let c=!1;try{c=0==="\u0107".search(new RegExp("[\\p{L}]","u"))}catch{}return c}()}};var c;function O(c){return c.indexOf("macintosh")>-1}function j(c,n,r,a){r=r||function(g,b){return g===b};const d=Array.isArray(c)?c:Array.prototype.slice.call(c),u=Array.isArray(n)?n:Array.prototype.slice.call(n),p=function(g,b,k){const S=z(g,b,k);if(-1===S)return{firstIndex:-1,lastIndexOld:-1,lastIndexNew:-1};const Z=z(F(g,S),F(b,S),k);return{firstIndex:S,lastIndexOld:g.length-Z,lastIndexNew:b.length-Z}}(d,u,r);return a?function(g,b){const{firstIndex:k,lastIndexOld:S,lastIndexNew:B}=g;if(-1===k)return Array(b).fill("equal");let U=[];return k>0&&(U=U.concat(Array(k).fill("equal"))),B-k>0&&(U=U.concat(Array(B-k).fill("insert"))),S-k>0&&(U=U.concat(Array(S-k).fill("delete"))),B<b&&(U=U.concat(Array(b-B).fill("equal"))),U}(p,u.length):function(g,b){const k=[],{firstIndex:S,lastIndexOld:B,lastIndexNew:U}=b;return U-S>0&&k.push({index:S,type:"insert",values:g.slice(S,U)}),B-S>0&&k.push({index:S+(U-S),type:"delete",howMany:B-S}),k}(u,p)}function z(c,n,r){for(let a=0;a<Math.max(c.length,n.length);a++)if(void 0===c[a]||void 0===n[a]||!r(c[a],n[a]))return a;return-1}function F(c,n){return c.slice(n).reverse()}function q(c,n,r){r=r||function(te,fe){return te===fe};const a=c.length,d=n.length;if(a>200||d>200||a+d>300)return q.fastDiff(c,n,r,!0);let u,p;if(d<a){const te=c;c=n,n=te,u="delete",p="insert"}else u="insert",p="delete";const f=c.length,g=n.length,b=g-f,k={},S={};function B(te){const fe=(void 0!==S[te-1]?S[te-1]:-1)+1,ge=void 0!==S[te+1]?S[te+1]:-1,Ee=fe>ge?-1:1;k[te+Ee]&&(k[te]=k[te+Ee].slice(0)),k[te]||(k[te]=[]),k[te].push(fe>ge?u:p);let He=Math.max(fe,ge),ct=He-te;for(;ct<f&&He<g&&r(c[ct],n[He]);)ct++,He++,k[te].push("equal");return He}let U,Z=0;do{for(U=-Z;U<b;U++)S[U]=B(U);for(U=b+Z;U>b;U--)S[U]=B(U);S[b]=B(b),Z++}while(S[b]!==g);return k[b].slice(1)}q.fastDiff=j;class Q{constructor(n,r){this.source=n,this.name=r,this.path=[],this.stop=function c(){c.called=!0},this.off=function c(){c.called=!0}}}const ce=new Array(256).fill("").map((c,n)=>("0"+n.toString(16)).slice(-2));function ae(){const c=4294967296*Math.random()>>>0,n=4294967296*Math.random()>>>0,r=4294967296*Math.random()>>>0,a=4294967296*Math.random()>>>0;return"e"+ce[c>>0&255]+ce[c>>8&255]+ce[c>>16&255]+ce[c>>24&255]+ce[n>>0&255]+ce[n>>8&255]+ce[n>>16&255]+ce[n>>24&255]+ce[r>>0&255]+ce[r>>8&255]+ce[r>>16&255]+ce[r>>24&255]+ce[a>>0&255]+ce[a>>8&255]+ce[a>>16&255]+ce[a>>24&255]}const de={get(c="normal"){return"number"!=typeof c?this[c]||this.normal:c},highest:1e5,high:1e3,normal:0,low:-1e3,lowest:-1e5};function he(c,n){const r=de.get(n.priority);for(let a=0;a<c.length;a++)if(de.get(c[a].priority)<r)return void c.splice(a,0,n);c.push(n)}const se="https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html";class Y extends Error{constructor(n,r,a){super(function(d,u){const p=new WeakSet;return d+(u?` ${JSON.stringify(u,(k,S)=>{if("object"==typeof S&&null!==S){if(p.has(S))return`[object ${S.constructor.name}]`;p.add(S)}return S})}`:"")+be(d)}(n,a)),this.name="CKEditorError",this.context=r,this.data=a}is(n){return"CKEditorError"===n}static rethrowUnexpectedError(n,r){if(n.is&&n.is("CKEditorError"))throw n;const a=new Y(n.message,r);throw a.stack=n.stack,a}}function ie(c,n){console.warn(...Ae(c,n))}function pe(c,n){console.error(...Ae(c,n))}function be(c){return`\nRead more: ${se}#error-${c}`}function Ae(c,n){const r=be(c);return n?[c,n,r]:[c,r]}const Be=new Date(2024,2,6);if(globalThis.CKEDITOR_VERSION)throw new Y("ckeditor-duplicated-modules",null);globalThis.CKEDITOR_VERSION="41.2.0";const rt=Symbol("listeningTo"),Ne=Symbol("emitterId"),Me=Symbol("delegations"),me=ye(Object);function ye(c){return c?class extends c{on(n,r,a){this.listenTo(this,n,r,a)}once(n,r,a){let d=!1;this.listenTo(this,n,(u,...p)=>{d||(d=!0,u.off(),r.call(this,u,...p))},a)}off(n,r){this.stopListening(this,n,r)}listenTo(n,r,a,d={}){let u,p;this[rt]||(this[rt]={});const f=this[rt];Ve(n)||Te(n);const g=Ve(n);var k,S,B,U;(u=f[g])||(u=f[g]={emitter:n,callbacks:{}}),(p=u.callbacks[r])||(p=u.callbacks[r]=[]),p.push(a),S=r,B=a,U=d,(k=n)._addEventListener?k._addEventListener(S,B,U):this._addEventListener.call(k,S,B,U)}stopListening(n,r,a){const d=this[rt];let u=n&&Ve(n);const p=d&&u?d[u]:void 0,f=p&&r?p.callbacks[r]:void 0;if(!(!d||n&&!p||r&&!f))if(a)Ue(this,n,r,a),-1!==f.indexOf(a)&&(1===f.length?delete p.callbacks[r]:Ue(this,n,r,a));else if(f){for(;a=f.pop();)Ue(this,n,r,a);delete p.callbacks[r]}else if(p){for(r in p.callbacks)this.stopListening(n,r);delete d[u]}else{for(u in d)this.stopListening(d[u].emitter);delete this[rt]}}fire(n,...r){try{const a=n instanceof Q?n:new Q(this,n),d=a.name;let u=De(this,d);if(a.path.push(this),u){const f=[a,...r];u=Array.from(u);for(let g=0;g<u.length&&(u[g].callback.apply(this,f),a.off.called&&(delete a.off.called,this._removeEventListener(d,u[g].callback)),!a.stop.called);g++);}const p=this[Me];if(p){const f=p.get(d),g=p.get("*");f&&$e(f,a,r),g&&$e(g,a,r)}return a.return}catch(a){Y.rethrowUnexpectedError(a,this)}}delegate(...n){return{to:(r,a)=>{this[Me]||(this[Me]=new Map),n.forEach(d=>{const u=this[Me].get(d);u?u.set(r,a):this[Me].set(d,new Map([[r,a]]))})}}}stopDelegating(n,r){if(this[Me])if(n)if(r){const a=this[Me].get(n);a&&a.delete(r)}else this[Me].delete(n);else this[Me].clear()}_addEventListener(n,r,a){!function(p,f){const g=Ie(p);if(g[f])return;let b=f,k=null;const S=[];for(;""!==b&&!g[b];)g[b]={callbacks:[],childEvents:[]},S.push(g[b]),k&&g[b].childEvents.push(k),k=b,b=b.substr(0,b.lastIndexOf(":"));if(""!==b){for(const B of S)B.callbacks=g[b].callbacks.slice();g[b].childEvents.push(k)}}(this,n);const d=ke(this,n),u={callback:r,priority:de.get(a.priority)};for(const p of d)he(p,u)}_removeEventListener(n,r){const a=ke(this,n);for(const d of a)for(let u=0;u<d.length;u++)d[u].callback==r&&(d.splice(u,1),u--)}}:me}function Te(c,n){c[Ne]||(c[Ne]=n||ae())}function Ve(c){return c[Ne]}function Ie(c){return c._events||Object.defineProperty(c,"_events",{value:{}}),c._events}function ke(c,n){const r=Ie(c)[n];if(!r)return[];let a=[r.callbacks];for(let d=0;d<r.childEvents.length;d++){const u=ke(c,r.childEvents[d]);a=a.concat(u)}return a}function De(c,n){let r;return c._events&&(r=c._events[n])&&r.callbacks.length?r.callbacks:n.indexOf(":")>-1?De(c,n.substr(0,n.lastIndexOf(":"))):null}function $e(c,n,r){for(let[a,d]of c){d?"function"==typeof d&&(d=d(n.name)):d=n.name;const u=new Q(n.source,d);u.path=[...n.path],a.fire(u,...r)}}function Ue(c,n,r,a){n._removeEventListener?n._removeEventListener(r,a):c._removeEventListener.call(n,r,a)}["on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(c=>{ye[c]=me.prototype[c]});const Je=function(c){var n=typeof c;return null!=c&&("object"==n||"function"==n)},ot=Symbol("observableProperties"),Jt=Symbol("boundObservables"),an=Symbol("boundProperties"),pn=Symbol("decoratedMethods"),qn=Symbol("decoratedOriginal"),uo=Xt(ye());function Xt(c){return c?class extends c{set(n,r){if(Je(n))return void Object.keys(n).forEach(d=>{this.set(d,n[d])},this);et(this);const a=this[ot];if(n in this&&!a.has(n))throw new Y("observable-set-cannot-override",this);Object.defineProperty(this,n,{enumerable:!0,configurable:!0,get:()=>a.get(n),set(d){const u=a.get(n);let p=this.fire(`set:${n}`,n,d,u);void 0===p&&(p=d),u===p&&a.has(n)||(a.set(n,p),this.fire(`change:${n}`,n,p,u))}}),this[n]=r}bind(...n){if(!n.length||!Lt(n))throw new Y("observable-bind-wrong-properties",this);if(new Set(n).size!==n.length)throw new Y("observable-bind-duplicate-properties",this);et(this);const r=this[an];n.forEach(d=>{if(r.has(d))throw new Y("observable-bind-rebind",this)});const a=new Map;return n.forEach(d=>{const u={property:d,to:[]};r.set(d,u),a.set(d,u)}),{to:nt,toMany:Dt,_observable:this,_bindProperties:n,_to:[],_bindings:a}}unbind(...n){if(!this[ot])return;const r=this[an],a=this[Jt];if(n.length){if(!Lt(n))throw new Y("observable-unbind-wrong-properties",this);n.forEach(d=>{const u=r.get(d);u&&(u.to.forEach(([p,f])=>{const g=a.get(p),b=g[f];b.delete(u),b.size||delete g[f],Object.keys(g).length||(a.delete(p),this.stopListening(p,"change"))}),r.delete(d))})}else a.forEach((d,u)=>{this.stopListening(u,"change")}),a.clear(),r.clear()}decorate(n){et(this);const r=this[n];if(!r)throw new Y("observablemixin-cannot-decorate-undefined",this,{object:this,methodName:n});this.on(n,(a,d)=>{a.return=r.apply(this,d)}),this[n]=function(...a){return this.fire(n,a)},this[n][qn]=r,this[pn]||(this[pn]=[]),this[pn].push(n)}stopListening(n,r,a){if(!n&&this[pn]){for(const d of this[pn])this[d]=this[d][qn];delete this[pn]}super.stopListening(n,r,a)}}:uo}function et(c){c[ot]||(Object.defineProperty(c,ot,{value:new Map}),Object.defineProperty(c,Jt,{value:new Map}),Object.defineProperty(c,an,{value:new Map}))}function nt(...c){const n=function(...u){if(!u.length)throw new Y("observable-bind-to-parse-error",null);const p={to:[]};let f;return"function"==typeof u[u.length-1]&&(p.callback=u.pop()),u.forEach(g=>{if("string"==typeof g)f.properties.push(g);else{if("object"!=typeof g)throw new Y("observable-bind-to-parse-error",null);f={observable:g,properties:[]},p.to.push(f)}}),p}(...c),r=Array.from(this._bindings.keys()),a=r.length;if(!n.callback&&n.to.length>1)throw new Y("observable-bind-to-no-callback",this);if(a>1&&n.callback)throw new Y("observable-bind-to-extra-callback",this);var d;n.to.forEach(u=>{if(u.properties.length&&u.properties.length!==a)throw new Y("observable-bind-to-properties-length",this);u.properties.length||(u.properties=this._bindProperties)}),this._to=n.to,n.callback&&(this._bindings.get(r[0]).callback=n.callback),d=this._observable,this._to.forEach(u=>{const p=d[Jt];let f;p.get(u.observable)||d.listenTo(u.observable,"change",(g,b)=>{f=p.get(u.observable)[b],f&&f.forEach(k=>{ht(d,k.property)})})}),function(u){let p;u._bindings.forEach((f,g)=>{u._to.forEach(b=>{p=b.properties[f.callback?0:u._bindProperties.indexOf(g)],f.to.push([b.observable,p]),function(k,S,B,U){const Z=k[Jt],te=Z.get(B),fe=te||{};fe[U]||(fe[U]=new Set),fe[U].add(S),te||Z.set(B,fe)}(u._observable,f,b.observable,p)})})}(this),this._bindProperties.forEach(u=>{ht(this._observable,u)})}function Dt(c,n,r){if(this._bindings.size>1)throw new Y("observable-bind-to-many-not-one-binding",this);this.to(...function(a,d){const u=a.map(p=>[p,d]);return Array.prototype.concat.apply([],u)}(c,n),r)}function Lt(c){return c.every(n=>"string"==typeof n)}function ht(c,n){const r=c[an].get(n);let a;r.callback?a=r.callback.apply(c,r.to.map(d=>d[0][d[1]])):(a=r.to[0],a=a[0][a[1]]),Object.prototype.hasOwnProperty.call(c,n)?c[n]=a:c.set(n,a)}["set","bind","unbind","decorate","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(c=>{Xt[c]=uo.prototype[c]});class $t{constructor(){this._replacedElements=[]}replace(n,r){this._replacedElements.push({element:n,newElement:r}),n.style.display="none",r&&n.parentNode.insertBefore(r,n.nextSibling)}restore(){this._replacedElements.forEach(({element:n,newElement:r})=>{n.style.display="",r&&r.remove()}),this._replacedElements=[]}}function Gt(c){let n=0;for(const r of c)n++;return n}function Ht(c,n){const r=Math.min(c.length,n.length);for(let a=0;a<r;a++)if(c[a]!=n[a])return a;return c.length==n.length?"same":c.length<n.length?"prefix":"extension"}function ai(c){return!(!c||!c[Symbol.iterator])}const ti="object"==typeof global&&global&&global.Object===Object&&global;var _i="object"==typeof self&&self&&self.Object===Object&&self;const To=ti||_i||Function("return this")(),vn=To.Symbol;var rn=Object.prototype,ar=rn.hasOwnProperty,pc=rn.toString,Ll=vn?vn.toStringTag:void 0,Pb=Object.prototype.toString,Ko=vn?vn.toStringTag:void 0;const js=function(c){return null==c?void 0===c?"[object Undefined]":"[object Null]":Ko&&Ko in Object(c)?function(c){var n=ar.call(c,Ll),r=c[Ll];try{c[Ll]=void 0;var a=!0}catch{}var d=pc.call(c);return a&&(n?c[Ll]=r:delete c[Ll]),d}(c):function(c){return Pb.call(c)}(c)},jo=Array.isArray,zo=function(c){return null!=c&&"object"==typeof c},bi=function(c){return"string"==typeof c||!jo(c)&&zo(c)&&"[object String]"==js(c)};function lr(c,n,r={},a=[]){const d=r&&r.xmlns,u=d?c.createElementNS(d,n):c.createElement(n);for(const p in r)u.setAttribute(p,r[p]);!bi(a)&&ai(a)||(a=[a]);for(let p of a)bi(p)&&(p=c.createTextNode(p)),u.appendChild(p);return u}const uh=function(c,n){return function(r){return c(n(r))}},Ol=uh(Object.getPrototypeOf,Object);var ua=Function.prototype.toString,mc=Object.prototype.hasOwnProperty,Qf=ua.call(Object);const ho=function(c){if(!zo(c)||"[object Object]"!=js(c))return!1;var n=Ol(c);if(null===n)return!0;var r=mc.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&ua.call(r)==Qf},ws=function(c,n){return c===n||c!=c&&n!=n},ha=function(c,n){for(var r=c.length;r--;)if(ws(c[r][0],n))return r;return-1};var Rt=Array.prototype.splice;function Un(c){var n=-1,r=null==c?0:c.length;for(this.clear();++n<r;){var a=c[n];this.set(a[0],a[1])}}Un.prototype.clear=function(){this.__data__=[],this.size=0},Un.prototype.delete=function(c){var n=this.__data__,r=ha(n,c);return!(r<0||(r==n.length-1?n.pop():Rt.call(n,r,1),--this.size,0))},Un.prototype.get=function(c){var n=this.__data__,r=ha(n,c);return r<0?void 0:n[r][1]},Un.prototype.has=function(c){return ha(this.__data__,c)>-1},Un.prototype.set=function(c,n){var r=this.__data__,a=ha(r,c);return a<0?(++this.size,r.push([c,n])):r[a][1]=n,this};const pa=Un,wi=function(c){if(!Je(c))return!1;var n=js(c);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n},ni=To["__core-js_shared__"];var Vo=function(){var c=/[^.]+$/.exec(ni&&ni.keys&&ni.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Jk=Function.prototype.toString;const Ga=function(c){if(null!=c){try{return Jk.call(c)}catch{}try{return c+""}catch{}}return""};var em=/^\[object .+?Constructor\]$/,ph=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Ka=function(c,n){var r=function(c,n){return c?.[n]}(c,n);return function(c){return!(!Je(c)||function(c){return!!Vo&&Vo in c}(c))&&(wi(c)?ph:em).test(Ga(c))}(r)?r:void 0},bc=Ka(To,"Map"),vc=Ka(Object,"create");var rm=Object.prototype.hasOwnProperty,Fb=Object.prototype.hasOwnProperty;function Lr(c){var n=-1,r=null==c?0:c.length;for(this.clear();++n<r;){var a=c[n];this.set(a[0],a[1])}}Lr.prototype.clear=function(){this.__data__=vc?vc(null):{},this.size=0},Lr.prototype.delete=function(c){var n=this.has(c)&&delete this.__data__[c];return this.size-=n?1:0,n},Lr.prototype.get=function(c){var n=this.__data__;if(vc){var r=n[c];return"__lodash_hash_undefined__"===r?void 0:r}return rm.call(n,c)?n[c]:void 0},Lr.prototype.has=function(c){var n=this.__data__;return vc?void 0!==n[c]:Fb.call(n,c)},Lr.prototype.set=function(c,n){var r=this.__data__;return this.size+=this.has(c)?0:1,r[c]=vc&&void 0===n?"__lodash_hash_undefined__":n,this};const yc=Lr,fa=function(c,n){var r=c.__data__;return function(c){var n=typeof c;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==c:null===c}(n)?r["string"==typeof n?"string":"hash"]:r.map};function Pl(c){var n=-1,r=null==c?0:c.length;for(this.clear();++n<r;){var a=c[n];this.set(a[0],a[1])}}Pl.prototype.clear=function(){this.size=0,this.__data__={hash:new yc,map:new(bc||pa),string:new yc}},Pl.prototype.delete=function(c){var n=fa(this,c).delete(c);return this.size-=n?1:0,n},Pl.prototype.get=function(c){return fa(this,c).get(c)},Pl.prototype.has=function(c){return fa(this,c).has(c)},Pl.prototype.set=function(c,n){var r=fa(this,c),a=r.size;return r.set(c,n),this.size+=r.size==a?0:1,this};const xt=Pl;function ma(c){var n=this.__data__=new pa(c);this.size=n.size}ma.prototype.clear=function(){this.__data__=new pa,this.size=0},ma.prototype.delete=function(c){var n=this.__data__,r=n.delete(c);return this.size=n.size,r},ma.prototype.get=function(c){return this.__data__.get(c)},ma.prototype.has=function(c){return this.__data__.has(c)},ma.prototype.set=function(c,n){var r=this.__data__;if(r instanceof pa){var a=r.__data__;if(!bc||a.length<199)return a.push([c,n]),this.size=++r.size,this;r=this.__data__=new xt(a)}return r.set(c,n),this.size=r.size,this};const ga=ma,wc=function(){try{var c=Ka(Object,"defineProperty");return c({},"",{}),c}catch{}}(),Ze=function(c,n,r){"__proto__"==n&&wc?wc(c,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):c[n]=r};var Nl=Object.prototype.hasOwnProperty;const cn=function(c,n,r){var a=c[n];Nl.call(c,n)&&ws(a,r)&&(void 0!==r||n in c)||Ze(c,n,r)},Nn=function(c,n,r,a){var d=!r;r||(r={});for(var u=-1,p=n.length;++u<p;){var f=n[u],g=a?a(r[f],c[f],f,r,c):void 0;void 0===g&&(g=c[f]),d?Ze(r,f,g):cn(r,f,g)}return r},jb=function(c){return zo(c)&&"[object Arguments]"==js(c)};var sm=Object.prototype,mh=sm.hasOwnProperty,ur=sm.propertyIsEnumerable;const gh=jb(function(){return arguments}())?jb:function(c){return zo(c)&&mh.call(c,"callee")&&!ur.call(c,"callee")};var Vb=_e&&!_e.nodeType&&_e,_a=Vb&&qe&&!qe.nodeType&&qe,Hb=_a&&_a.exports===Vb?To.Buffer:void 0;const Fd=(Hb?Hb.isBuffer:void 0)||function(){return!1};var ew=/^(?:0|[1-9]\d*)$/;const _h=function(c,n){var r=typeof c;return!!(n=n??9007199254740991)&&("number"==r||"symbol"!=r&&ew.test(c))&&c>-1&&c%1==0&&c<n},bh=function(c){return"number"==typeof c&&c>-1&&c%1==0&&c<=9007199254740991};var xi={};xi["[object Float32Array]"]=xi["[object Float64Array]"]=xi["[object Int8Array]"]=xi["[object Int16Array]"]=xi["[object Int32Array]"]=xi["[object Uint8Array]"]=xi["[object Uint8ClampedArray]"]=xi["[object Uint16Array]"]=xi["[object Uint32Array]"]=!0,xi["[object Arguments]"]=xi["[object Array]"]=xi["[object ArrayBuffer]"]=xi["[object Boolean]"]=xi["[object DataView]"]=xi["[object Date]"]=xi["[object Error]"]=xi["[object Function]"]=xi["[object Map]"]=xi["[object Number]"]=xi["[object Object]"]=xi["[object RegExp]"]=xi["[object Set]"]=xi["[object String]"]=xi["[object WeakMap]"]=!1;const Bd=function(c){return function(n){return c(n)}};var hr=_e&&!_e.nodeType&&_e,Kt=hr&&qe&&!qe.nodeType&&qe,yh=Kt&&Kt.exports===hr&&ti.process;const Cc=function(){try{return Kt&&Kt.require&&Kt.require("util").types||yh&&yh.binding&&yh.binding("util")}catch{}}();var Yb=Cc&&Cc.isTypedArray;const gt=Yb?Bd(Yb):function(c){return zo(c)&&bh(c.length)&&!!xi[js(c)]};var tw=Object.prototype.hasOwnProperty;const Ut=function(c,n){var r=jo(c),a=!r&&gh(c),d=!r&&!a&&Fd(c),u=!r&&!a&&!d&&gt(c),p=r||a||d||u,f=p?function(c,n){for(var r=-1,a=Array(c);++r<c;)a[r]=n(r);return a}(c.length,String):[],g=f.length;for(var b in c)!n&&!tw.call(c,b)||p&&("length"==b||d&&("offset"==b||"parent"==b)||u&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||_h(b,g))||f.push(b);return f};var li=Object.prototype;const Za=function(c){var n=c&&c.constructor;return c===("function"==typeof n&&n.prototype||li)},Rl=uh(Object.keys,Object);var Ub=Object.prototype.hasOwnProperty;const Qa=function(c){return null!=c&&bh(c.length)&&!wi(c)},Ja=function(c){return Qa(c)?Ut(c):function(c){if(!Za(c))return Rl(c);var n=[];for(var r in Object(c))Ub.call(c,r)&&"constructor"!=r&&n.push(r);return n}(c)};var Mn=Object.prototype.hasOwnProperty;const Ho=function(c){return Qa(c)?Ut(c,!0):function(c){if(!Je(c))return function(c){var n=[];if(null!=c)for(var r in Object(c))n.push(r);return n}(c);var n=Za(c),r=[];for(var a in c)("constructor"!=a||!n&&Mn.call(c,a))&&r.push(a);return r}(c)};var Dc=_e&&!_e.nodeType&&_e,Wb=Dc&&qe&&!qe.nodeType&&qe,ci=Wb&&Wb.exports===Dc?To.Buffer:void 0,$b=ci?ci.allocUnsafe:void 0;const jd=function(c,n){if(n)return c.slice();var r=c.length,a=$b?$b(r):new c.constructor(r);return c.copy(a),a},pt=function(c,n){var r=-1,a=c.length;for(n||(n=Array(a));++r<a;)n[r]=c[r];return n},zd=function(){return[]};var am=Object.prototype.propertyIsEnumerable,Tc=Object.getOwnPropertySymbols;const Ch=Tc?function(c){return null==c?[]:(c=Object(c),function(c,n){for(var r=-1,a=null==c?0:c.length,d=0,u=[];++r<a;){var p=c[r];n(p)&&(u[d++]=p)}return u}(Tc(c),function(n){return am.call(c,n)}))}:zd,qb=function(c,n){for(var r=-1,a=n.length,d=c.length;++r<a;)c[d+r]=n[r];return c},Gb=Object.getOwnPropertySymbols?function(c){for(var n=[];c;)qb(n,Ch(c)),c=Ol(c);return n}:zd,lm=function(c,n,r){var a=n(c);return jo(c)?a:qb(a,r(c))},cm=function(c){return lm(c,Ja,Ch)},Cs=function(c){return lm(c,Ho,Gb)},xc=Ka(To,"DataView"),va=Ka(To,"Promise"),Mh=Ka(To,"Set"),Ec=Ka(To,"WeakMap");var dm="[object Map]",Dh="[object Promise]",Xa="[object Set]",um="[object WeakMap]",As="[object DataView]",Kb=Ga(xc),st=Ga(bc),vi=Ga(va),_t=Ga(Mh),Vd=Ga(Ec),Ms=js;(xc&&Ms(new xc(new ArrayBuffer(1)))!=As||bc&&Ms(new bc)!=dm||va&&Ms(va.resolve())!=Dh||Mh&&Ms(new Mh)!=Xa||Ec&&Ms(new Ec)!=um)&&(Ms=function(c){var n=js(c),r="[object Object]"==n?c.constructor:void 0,a=r?Ga(r):"";if(a)switch(a){case Kb:return As;case st:return dm;case vi:return Dh;case _t:return Xa;case Vd:return um}return n});const Vs=Ms;var Zb=Object.prototype.hasOwnProperty;const ya=To.Uint8Array,is=function(c){var n=new c.constructor(c.byteLength);return new ya(n).set(new ya(c)),n};var Pr=/\w*$/,Rn=vn?vn.prototype:void 0,el=Rn?Rn.valueOf:void 0;const Sc=function(c,n){var r=n?is(c.buffer):c.buffer;return new c.constructor(r,c.byteOffset,c.length)};var Nr=Object.create;const tl=function(){function c(){}return function(n){if(!Je(n))return{};if(Nr)return Nr(n);c.prototype=n;var r=new c;return c.prototype=void 0,r}}(),Ic=function(c){return"function"!=typeof c.constructor||Za(c)?{}:tl(Ol(c))};var Yd=Cc&&Cc.isMap;const fm=Yd?Bd(Yd):function(c){return zo(c)&&"[object Map]"==Vs(c)};var Fl=Cc&&Cc.isSet;const gm=Fl?Bd(Fl):function(c){return zo(c)&&"[object Set]"==Vs(c)};var xh="[object Arguments]",_m="[object Function]",Eh="[object Object]",yi={};yi[xh]=yi["[object Array]"]=yi["[object ArrayBuffer]"]=yi["[object DataView]"]=yi["[object Boolean]"]=yi["[object Date]"]=yi["[object Float32Array]"]=yi["[object Float64Array]"]=yi["[object Int8Array]"]=yi["[object Int16Array]"]=yi["[object Int32Array]"]=yi["[object Map]"]=yi["[object Number]"]=yi[Eh]=yi["[object RegExp]"]=yi["[object Set]"]=yi["[object String]"]=yi["[object Symbol]"]=yi["[object Uint8Array]"]=yi["[object Uint8ClampedArray]"]=yi["[object Uint16Array]"]=yi["[object Uint32Array]"]=!0,yi["[object Error]"]=yi[_m]=yi["[object WeakMap]"]=!1;const Ud=function c(n,r,a,d,u,p){var f,g=1&r,b=2&r,k=4&r;if(a&&(f=u?a(n,d,u,p):a(n)),void 0!==f)return f;if(!Je(n))return n;var S=jo(n);if(S){if(f=function(c){var n=c.length,r=new c.constructor(n);return n&&"string"==typeof c[0]&&Zb.call(c,"index")&&(r.index=c.index,r.input=c.input),r}(n),!g)return pt(n,f)}else{var B=Vs(n),U=B==_m||"[object GeneratorFunction]"==B;if(Fd(n))return jd(n,g);if(B==Eh||B==xh||U&&!u){if(f=b||U?{}:Ic(n),!g)return b?function(c,n){return Nn(c,Gb(c),n)}(n,function(c,n){return c&&Nn(n,Ho(n),c)}(f,n)):function(c,n){return Nn(c,Ch(c),n)}(n,function(c,n){return c&&Nn(n,Ja(n),c)}(f,n))}else{if(!yi[B])return u?n:{};f=function(c,n,r){var a=c.constructor;switch(n){case"[object ArrayBuffer]":return is(c);case"[object Boolean]":case"[object Date]":return new a(+c);case"[object DataView]":return function(c,n){var r=n?is(c.buffer):c.buffer;return new c.constructor(r,c.byteOffset,c.byteLength)}(c,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Sc(c,r);case"[object Map]":case"[object Set]":return new a;case"[object Number]":case"[object String]":return new a(c);case"[object RegExp]":return function(c){var n=new c.constructor(c.source,Pr.exec(c));return n.lastIndex=c.lastIndex,n}(c);case"[object Symbol]":return function(c){return el?Object(el.call(c)):{}}(c)}}(n,B,g)}}p||(p=new ga);var Z=p.get(n);if(Z)return Z;p.set(n,f),gm(n)?n.forEach(function(fe){f.add(c(fe,r,a,fe,n,p))}):fm(n)&&n.forEach(function(fe,ge){f.set(ge,c(fe,r,a,ge,n,p))});var te=S?void 0:(k?b?Cs:cm:b?Ho:Ja)(n);return function(c,n){for(var r=-1,a=null==c?0:c.length;++r<a&&!1!==n(c[r],r););}(te||n,function(fe,ge){te&&(fe=n[ge=fe]),cn(f,ge,c(fe,r,a,ge,n,p))}),f},fr=function(c,n){return Ud(c,5,n="function"==typeof n?n:void 0)},nl=function(c){return zo(c)&&1===c.nodeType&&!ho(c)};class mr{constructor(n,r){this._config={},r&&this.define(ka(r)),n&&this._setObjectToTarget(this._config,n)}set(n,r){this._setToTarget(this._config,n,r)}define(n,r){this._setToTarget(this._config,n,r,!0)}get(n){return this._getFromSource(this._config,n)}*names(){for(const n of Object.keys(this._config))yield n}_setToTarget(n,r,a,d=!1){if(ho(r))return void this._setObjectToTarget(n,r,d);const u=r.split(".");r=u.pop();for(const p of u)ho(n[p])||(n[p]={}),n=n[p];if(ho(a))return ho(n[r])||(n[r]={}),void this._setObjectToTarget(n=n[r],a,d);d&&void 0!==n[r]||(n[r]=a)}_getFromSource(n,r){const a=r.split(".");r=a.pop();for(const d of a){if(!ho(n[d])){n=null;break}n=n[d]}return n?ka(n[r]):void 0}_setObjectToTarget(n,r,a){Object.keys(r).forEach(d=>{this._setToTarget(n,d,r[d],a)})}}function ka(c){return fr(c,bm)}function bm(c){return nl(c)||"function"==typeof c?c:void 0}function wa(c){if(c){if(c.defaultView)return c instanceof c.defaultView.Document;if(c.ownerDocument&&c.ownerDocument.defaultView)return c instanceof c.ownerDocument.defaultView.Node}return!1}function Lc(c){const n=Object.prototype.toString.apply(c);return"[object Window]"==n||"[object global]"==n}const Wd=Rr(ye());function Rr(c){return c?class extends c{listenTo(n,r,a,d={}){if(wa(n)||Lc(n)){const u={capture:!!d.useCapture,passive:!!d.usePassive},p=this._getProxyEmitter(n,u)||new Jb(n,u);this.listenTo(p,r,a,d)}else super.listenTo(n,r,a,d)}stopListening(n,r,a){if(wa(n)||Lc(n)){const d=this._getAllProxyEmitters(n);for(const u of d)this.stopListening(u,r,a)}else super.stopListening(n,r,a)}_getProxyEmitter(n,r){return function(a,d){const u=a[rt];return u&&u[d]?u[d].emitter:null}(this,Sh(n,r))}_getAllProxyEmitters(n){return[{capture:!1,passive:!1},{capture:!1,passive:!0},{capture:!0,passive:!1},{capture:!0,passive:!0}].map(r=>this._getProxyEmitter(n,r)).filter(r=>!!r)}}:Wd}["_getProxyEmitter","_getAllProxyEmitters","on","once","off","listenTo","stopListening","fire","delegate","stopDelegating","_addEventListener","_removeEventListener"].forEach(c=>{Rr[c]=Wd.prototype[c]});class Jb extends(ye()){constructor(n,r){super(),Te(this,Sh(n,r)),this._domNode=n,this._options=r}attach(n){if(this._domListeners&&this._domListeners[n])return;const r=this._createDomListener(n);this._domNode.addEventListener(n,r,this._options),this._domListeners||(this._domListeners={}),this._domListeners[n]=r}detach(n){let r;!this._domListeners[n]||(r=this._events[n])&&r.callbacks.length||this._domListeners[n].removeListener()}_addEventListener(n,r,a){this.attach(n),ye().prototype._addEventListener.call(this,n,r,a)}_removeEventListener(n,r){ye().prototype._removeEventListener.call(this,n,r),this.detach(n)}_createDomListener(n){const r=a=>{this.fire(n,a)};return r.removeListener=()=>{this._domNode.removeEventListener(n,r,this._options),delete this._domListeners[n]},r}}function Sh(c,n){let r=(a=c)["data-ck-expando"]||(a["data-ck-expando"]=ae());var a;for(const a of Object.keys(n).sort())n[a]&&(r+="-"+a);return r}let Ct;try{Ct={window,document}}catch{Ct={window:{},document:{}}}const Vt=Ct;function vm(c){const n=c.ownerDocument.defaultView.getComputedStyle(c);return{top:parseInt(n.borderTopWidth,10),right:parseInt(n.borderRightWidth,10),bottom:parseInt(n.borderBottomWidth,10),left:parseInt(n.borderLeftWidth,10)}}function zi(c){return"[object Text]"==Object.prototype.toString.call(c)}function Wt(c){return"[object Range]"==Object.prototype.toString.apply(c)}function ym(c){return c&&c.parentNode?c.offsetParent===Vt.document.body?null:c.offsetParent:null}const Ih=["top","right","bottom","left","width","height"];class Xe{constructor(n){const r=Wt(n);if(Object.defineProperty(this,"_source",{value:n._source||n,writable:!0,enumerable:!1}),Ji(n)||r)if(r){const a=Xe.getDomRangeRects(n);po(this,Xe.getBoundingRect(a))}else po(this,n.getBoundingClientRect());else if(Lc(n)){const{innerWidth:a,innerHeight:d}=n;po(this,{top:0,right:a,bottom:d,left:0,width:a,height:d})}else po(this,n)}clone(){return new Xe(this)}moveTo(n,r){return this.top=r,this.right=n+this.width,this.bottom=r+this.height,this.left=n,this}moveBy(n,r){return this.top+=r,this.right+=n,this.left+=n,this.bottom+=r,this}getIntersection(n){const r={top:Math.max(this.top,n.top),right:Math.min(this.right,n.right),bottom:Math.min(this.bottom,n.bottom),left:Math.max(this.left,n.left),width:0,height:0};if(r.width=r.right-r.left,r.height=r.bottom-r.top,r.width<0||r.height<0)return null;{const a=new Xe(r);return a._source=this._source,a}}getIntersectionArea(n){const r=this.getIntersection(n);return r?r.getArea():0}getArea(){return this.width*this.height}getVisible(){const n=this._source;let r=this.clone();if(Bn(n))return r;let a,d=n,u=n.parentNode||n.commonAncestorContainer;for(;u&&!Bn(u);){const f="visible"===((p=u)instanceof HTMLElement?p.ownerDocument.defaultView.getComputedStyle(p).overflow:"visible");d instanceof HTMLElement&&"absolute"===So(d)&&(a=d);const g=So(u);if(f||a&&("relative"===g&&f||"relative"!==g)){d=u,u=u.parentNode;continue}const b=new Xe(u),k=r.getIntersection(b);if(!k)return null;k.getArea()<r.getArea()&&(r=k),d=u,u=u.parentNode}var p;return r}isEqual(n){for(const r of Ih)if(this[r]!==n[r])return!1;return!0}contains(n){const r=this.getIntersection(n);return!(!r||!r.isEqual(n))}toAbsoluteRect(){const{scrollX:n,scrollY:r}=Vt.window,a=this.clone().moveBy(n,r);if(Ji(a._source)){const d=ym(a._source);d&&function(u,p){const f=new Xe(p),g=vm(p);let b=0,k=0;b-=f.left,k-=f.top,b+=p.scrollLeft,k+=p.scrollTop,b-=g.left,k-=g.top,u.moveBy(b,k)}(a,d)}return a}excludeScrollbarsAndBorders(){const n=this._source;let r,a,d;if(Lc(n))r=n.innerWidth-n.document.documentElement.clientWidth,a=n.innerHeight-n.document.documentElement.clientHeight,d=n.getComputedStyle(n.document.documentElement).direction;else{const u=vm(n);r=n.offsetWidth-n.clientWidth-u.left-u.right,a=n.offsetHeight-n.clientHeight-u.top-u.bottom,d=n.ownerDocument.defaultView.getComputedStyle(n).direction,this.left+=u.left,this.top+=u.top,this.right-=u.right,this.bottom-=u.bottom,this.width=this.right-this.left,this.height=this.bottom-this.top}return this.width-=r,"ltr"===d?this.right-=r:this.left+=r,this.height-=a,this.bottom-=a,this}static getDomRangeRects(n){const r=[],a=Array.from(n.getClientRects());if(a.length)for(const d of a)r.push(new Xe(d));else{let d=n.startContainer;zi(d)&&(d=d.parentNode);const u=new Xe(d.getBoundingClientRect());u.right=u.left,u.width=0,r.push(u)}return r}static getBoundingRect(n){const r={left:Number.POSITIVE_INFINITY,top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY,width:0,height:0};let a=0;for(const d of n)a++,r.left=Math.min(r.left,d.left),r.top=Math.min(r.top,d.top),r.right=Math.max(r.right,d.right),r.bottom=Math.max(r.bottom,d.bottom);return 0==a?null:(r.width=r.right-r.left,r.height=r.bottom-r.top,new Xe(r))}}function po(c,n){for(const r of Ih)c[r]=n[r]}function Bn(c){return!!Ji(c)&&c===c.ownerDocument.body}function Ji(c){return null!==c&&"object"==typeof c&&1===c.nodeType&&"function"==typeof c.getBoundingClientRect}function So(c){return c instanceof HTMLElement?c.ownerDocument.defaultView.getComputedStyle(c).position:"static"}const ki=class{constructor(c,n){ki._observerInstance||ki._createObserver(),this._element=c,this._callback=n,ki._addElementCallback(c,n),ki._observerInstance.observe(c)}get element(){return this._element}destroy(){ki._deleteElementCallback(this._element,this._callback)}static _addElementCallback(c,n){ki._elementCallbacks||(ki._elementCallbacks=new Map);let r=ki._elementCallbacks.get(c);r||(r=new Set,ki._elementCallbacks.set(c,r)),r.add(n)}static _deleteElementCallback(c,n){const r=ki._getElementCallbacks(c);r&&(r.delete(n),r.size||(ki._elementCallbacks.delete(c),ki._observerInstance.unobserve(c))),ki._elementCallbacks&&!ki._elementCallbacks.size&&(ki._observerInstance=null,ki._elementCallbacks=null)}static _getElementCallbacks(c){return ki._elementCallbacks?ki._elementCallbacks.get(c):null}static _createObserver(){ki._observerInstance=new Vt.window.ResizeObserver(c=>{for(const n of c){const r=ki._getElementCallbacks(n.target);if(r)for(const a of r)a(n)}})}};let fo=ki;function Bl(c,n){c instanceof HTMLTextAreaElement&&(c.value=n),c.innerHTML=n}function Ds(c){return n=>n+c}function il(c){let n=0;for(;c.previousSibling;)c=c.previousSibling,n++;return n}function km(c,n,r){c.insertBefore(r,c.childNodes[n]||null)}function Oc(c){return c&&c.nodeType===Node.COMMENT_NODE}function oi(c){return!!(c&&c.getClientRects&&c.getClientRects().length)}fo._observerInstance=null,fo._elementCallbacks=null;var Tt=Math.pow;function un({element:c,target:n,positions:r,limiter:a,fitInViewport:d,viewportOffsetConfig:u}){wi(n)&&(n=n()),wi(a)&&(a=a());const p=ym(c),f=function(B){B=Object.assign({top:0,bottom:0,left:0,right:0},B);const U=new Xe(Vt.window);return U.top+=B.top,U.height-=B.top,U.bottom-=B.bottom,U.height-=B.bottom,U}(u),g=new Xe(c),b=Ci(n,f);let k;if(!b||!f.getIntersection(b))return null;const S={targetRect:b,elementRect:g,positionedElementAncestor:p,viewportRect:f};if(a||d){if(a){const B=Ci(a,f);B&&(S.limiterRect=B)}k=function(B,U){const{elementRect:Z}=U,te=Z.getArea(),fe=B.map(He=>new gr(He,U)).filter(He=>!!He.name);let ge=0,Ee=null;for(const He of fe){const{limiterIntersectionArea:ct,viewportIntersectionArea:It}=He;if(ct===te)return He;const Zt=Tt(It,2)+Tt(ct,2);Zt>ge&&(ge=Zt,Ee=He)}return Ee}(r,S)}else k=new gr(r[0],S);return k}function Ci(c,n){const r=new Xe(c).getVisible();return r?r.getIntersection(n):null}class gr{constructor(n,r){const a=n(r.targetRect,r.elementRect,r.viewportRect,r.limiterRect);if(!a)return;const{left:d,top:u,name:p,config:f}=a;this.name=p,this.config=f,this._positioningFunctionCoordinates={left:d,top:u},this._options=r}get left(){return this._absoluteRect.left}get top(){return this._absoluteRect.top}get limiterIntersectionArea(){const n=this._options.limiterRect;return n?n.getIntersectionArea(this._rect):0}get viewportIntersectionArea(){return this._options.viewportRect.getIntersectionArea(this._rect)}get _rect(){return this._cachedRect||(this._cachedRect=this._options.elementRect.clone().moveTo(this._positioningFunctionCoordinates.left,this._positioningFunctionCoordinates.top)),this._cachedRect}get _absoluteRect(){return this._cachedAbsoluteRect||(this._cachedAbsoluteRect=this._rect.toAbsoluteRect()),this._cachedAbsoluteRect}}function ol(c){const n=c.parentNode;n&&n.removeChild(c)}function mo({window:c,rect:n,alignToTop:r,forceScroll:a,viewportOffset:d}){const u=n.clone().moveBy(0,d.bottom),p=n.clone().moveBy(0,-d.top),f=new Xe(c).excludeScrollbarsAndBorders(),g=r&&a,b=[p,u].every(Z=>f.contains(Z));let{scrollX:k,scrollY:S}=c;const B=k,U=S;g?S-=f.top-n.top+d.top:b||(Fr(p,f)?S-=f.top-n.top+d.top:di(u,f)&&(S+=r?n.top-f.top-d.top:n.bottom-f.bottom+d.bottom)),b||(Ca(n,f)?k-=f.left-n.left+d.left:en(n,f)&&(k+=n.right-f.right+d.right)),k==B&&S===U||c.scrollTo(k,S)}function Hs({parent:c,getRect:n,alignToTop:r,forceScroll:a,ancestorOffset:d=0,limiterElement:u}){const p=Aa(c),f=r&&a;let g,b,k;const S=u||p.document.body;for(;c!=S;)b=n(),g=new Xe(c).excludeScrollbarsAndBorders(),k=g.contains(b),f?c.scrollTop-=g.top-b.top+d:k||(Fr(b,g)?c.scrollTop-=g.top-b.top+d:di(b,g)&&(c.scrollTop+=r?b.top-g.top-d:b.bottom-g.bottom+d)),k||(Ca(b,g)?c.scrollLeft-=g.left-b.left+d:en(b,g)&&(c.scrollLeft+=b.right-g.right+d)),c=c.parentNode}function di(c,n){return c.bottom>n.bottom}function Fr(c,n){return c.top<n.top}function Ca(c,n){return c.left<n.left}function en(c,n){return c.right>n.right}function Aa(c){return Wt(c)?c.startContainer.ownerDocument.defaultView:c.ownerDocument.defaultView}function Lh(c){if(Wt(c)){let n=c.commonAncestorContainer;return zi(n)&&(n=n.parentNode),n}return c.parentNode}function rl(c,n){const r=Aa(c),a=new Xe(c);if(r===n)return a;{let d=r;for(;d!=n;){const p=new Xe(d.frameElement).excludeScrollbarsAndBorders();a.moveBy(p.left,p.top),d=d.parent}}return a}const Ri={ctrl:"\u2303",cmd:"\u2318",alt:"\u2325",shift:"\u21e7"},Pc={ctrl:"Ctrl+",alt:"Alt+",shift:"Shift+"},sl={37:"\u2190",38:"\u2191",39:"\u2192",40:"\u2193",9:"\u21e5"},_n=function(){const c={arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,backspace:8,delete:46,enter:13,space:32,esc:27,tab:9,ctrl:1114112,shift:2228224,alt:4456448,cmd:8912896};for(let n=65;n<=90;n++)c[String.fromCharCode(n).toLowerCase()]=n;for(let n=48;n<=57;n++)c[n-48]=n;for(let n=112;n<=123;n++)c["f"+(n-111)]=n;return Object.assign(c,{"'":222,",":108,"-":109,".":110,"/":111,";":186,"=":187,"[":219,"\\":220,"]":221,"`":223}),c}(),Nc=Object.fromEntries(Object.entries(_n).map(([c,n])=>{let r;return r=n in sl?sl[n]:c.charAt(0).toUpperCase()+c.slice(1),[n,r]}));function al(c){let n;if("string"==typeof c){if(n=_n[c.toLowerCase()],!n)throw new Y("keyboard-unknown-key",null,{key:c})}else n=c.keyCode+(c.altKey?_n.alt:0)+(c.ctrlKey?_n.ctrl:0)+(c.shiftKey?_n.shift:0)+(c.metaKey?_n.cmd:0);return n}function Br(c){return"string"==typeof c&&(c=c.split("+").map(r=>r.trim())),c.map(n=>"string"==typeof n?function(r){if(r.endsWith("!"))return al(r.slice(0,-1));const a=al(r);return(M.isMac||M.isiOS)&&a==_n.ctrl?_n.cmd:a}(n):n).reduce((n,r)=>r+n,0)}function jr(c){let n=Br(c);return Object.entries(M.isMac||M.isiOS?Ri:Pc).reduce((r,[a,d])=>(n&_n[a]&&(n&=~_n[a],r+=d),r),"")+(n?Nc[n]:"")}function ll(c,n){const r="ltr"===n;switch(c){case _n.arrowleft:return r?"left":"right";case _n.arrowright:return r?"right":"left";case _n.arrowup:return"up";case _n.arrowdown:return"down"}}function Zn(c){return Array.isArray(c)?c:[c]}const Dn=function(c,n,r){(void 0!==r&&!ws(c[n],r)||void 0===r&&!(n in c))&&Ze(c,n,r)},Xb=function(n,r,a){for(var d=-1,u=Object(n),p=a(n),f=p.length;f--;){var g=p[++d];if(!1===r(u[g],g,u))break}return n},$d=function(c,n){if(("constructor"!==n||"function"!=typeof c[n])&&"__proto__"!=n)return c[n]},jl=function c(n,r,a,d,u){n!==r&&Xb(r,function(p,f){if(u||(u=new ga),Je(p))!function(c,n,r,a,d,u,p){var f=$d(c,r),g=$d(n,r),b=p.get(g);if(b)Dn(c,r,b);else{var k=u?u(f,g,r+"",c,n,p):void 0,S=void 0===k;if(S){var B=jo(g),U=!B&&Fd(g),Z=!B&&!U&&gt(g);k=g,B||U||Z?jo(f)?k=f:function(c){return zo(c)&&Qa(c)}(f)?k=pt(f):U?(S=!1,k=jd(g,!0)):Z?(S=!1,k=Sc(g,!0)):k=[]:ho(g)||gh(g)?(k=f,gh(f)?k=function(c){return Nn(c,Ho(c))}(f):Je(f)&&!wi(f)||(k=Ic(g))):S=!1}S&&(p.set(g,k),d(k,g,a,u,p),p.delete(g)),Dn(c,r,k)}}(n,r,f,a,c,d,u);else{var g=d?d($d(n,f),p,f+"",n,r,u):void 0;void 0===g&&(g=p),Dn(n,f,g)}},Ho)},zr=function(c){return c};var e0=Math.max;const _o=function(c){return function(){return c}},Ph=wc?function(c,n){return wc(c,"toString",{configurable:!0,enumerable:!1,value:_o(n),writable:!0})}:zr;var cl=Date.now;const _r=function(c){var n=0,r=0;return function(){var a=cl(),d=16-(a-r);if(r=a,d>0){if(++n>=800)return arguments[0]}else n=0;return c.apply(void 0,arguments)}}(Ph),wm=function(c){return function(c,n){return _r(function(c,n,r){return n=e0(void 0===n?c.length-1:n,0),function(){for(var a=arguments,d=-1,u=e0(a.length-n,0),p=Array(u);++d<u;)p[d]=a[n+d];d=-1;for(var f=Array(n+1);++d<n;)f[d]=a[d];return f[n]=r(p),function(c,n,r){switch(r.length){case 0:return c.call(n);case 1:return c.call(n,r[0]);case 2:return c.call(n,r[0],r[1]);case 3:return c.call(n,r[0],r[1],r[2])}return c.apply(n,r)}(c,this,f)}}(c,n,zr),c+"")}(function(n,r){var a=-1,d=r.length,u=d>1?r[d-1]:void 0,p=d>2?r[2]:void 0;for(u=c.length>3&&"function"==typeof u?(d--,u):void 0,p&&function(c,n,r){if(!Je(r))return!1;var a=typeof n;return!!("number"==a?Qa(r)&&_h(n,r.length):"string"==a&&n in r)&&ws(r[n],c)}(r[0],r[1],p)&&(u=d<3?void 0:u,d=1),n=Object(n);++a<d;){var f=r[a];f&&c(n,f,a,u)}return n})},Cm=wm(function(c,n,r){jl(c,n,r)});Vt.window.CKEDITOR_TRANSLATIONS||(Vt.window.CKEDITOR_TRANSLATIONS={});const o0=["ar","ara","fa","per","fas","he","heb","ku","kur","ug","uig"];function r0(c){return o0.includes(c)?"rtl":"ltr"}class s0{constructor({uiLanguage:n="en",contentLanguage:r,translations:a}={}){var d;this.uiLanguage=n,this.contentLanguage=r||this.uiLanguage,this.uiLanguageDirection=r0(this.uiLanguage),this.contentLanguageDirection=r0(this.contentLanguage),this.translations=(d=a,Array.isArray(d)?d.reduce((u,p)=>Cm(u,p)):d),this.t=(d,u)=>this._t(d,u)}get language(){return console.warn("locale-deprecated-language-property: The Locale#language property has been deprecated and will be removed in the near future. Please use #uiLanguage and #contentLanguage properties instead."),this.uiLanguage}_t(n,r=[]){return r=Zn(r),"string"==typeof n&&(n={string:n}),d=function n0(c,n,r=1,a){if("number"!=typeof r)throw new Y("translation-service-quantity-not-a-number",null,{quantity:r});const d=a||Vt.window.CKEDITOR_TRANSLATIONS,u=Object.keys(d).length;1===u&&(c=Object.keys(d)[0]);const p=n.id||n.string;if(0===u||!(B=d)[k=c]||!B[k].dictionary[p])return 1!==r?n.plural:n.string;var k,B;const g=d[c].getPluralForm||(k=>1===k?0:1),b=d[c].dictionary[p];return"string"==typeof b?b:b[Number(g(r))]}(this.uiLanguage,n,n.plural?r[0]:1,this.translations),u=r,d.replace(/%(\d+)/g,(p,f)=>f<u.length?u[f]:p);var d,u}}class os extends(ye()){constructor(n={},r={}){super();const a=ai(n);if(a||(r=n),this._items=[],this._itemMap=new Map,this._idProperty=r.idProperty||"id",this._bindToExternalToInternalMap=new WeakMap,this._bindToInternalToExternalMap=new WeakMap,this._skippedIndexesFromExternal=[],a)for(const d of n)this._items.push(d),this._itemMap.set(this._getItemIdBeforeAdding(d),d)}get length(){return this._items.length}get first(){return this._items[0]||null}get last(){return this._items[this.length-1]||null}add(n,r){return this.addMany([n],r)}addMany(n,r){if(void 0===r)r=this._items.length;else if(r>this._items.length||r<0)throw new Y("collection-add-item-invalid-index",this);let a=0;for(const d of n){const u=this._getItemIdBeforeAdding(d),p=r+a;this._items.splice(p,0,d),this._itemMap.set(u,d),this.fire("add",d,p),a++}return this.fire("change",{added:n,removed:[],index:r}),this}get(n){let r;if("string"==typeof n)r=this._itemMap.get(n);else{if("number"!=typeof n)throw new Y("collection-get-invalid-arg",this);r=this._items[n]}return r||null}has(n){if("string"==typeof n)return this._itemMap.has(n);{const r=n[this._idProperty];return r&&this._itemMap.has(r)}}getIndex(n){let r;return r="string"==typeof n?this._itemMap.get(n):n,r?this._items.indexOf(r):-1}remove(n){const[r,a]=this._remove(n);return this.fire("change",{added:[],removed:[r],index:a}),r}map(n,r){return this._items.map(n,r)}forEach(n,r){this._items.forEach(n,r)}find(n,r){return this._items.find(n,r)}filter(n,r){return this._items.filter(n,r)}clear(){this._bindToCollection&&(this.stopListening(this._bindToCollection),this._bindToCollection=null);const n=Array.from(this._items);for(;this.length;)this._remove(0);this.fire("change",{added:[],removed:n,index:0})}bindTo(n){if(this._bindToCollection)throw new Y("collection-bind-to-rebind",this);return this._bindToCollection=n,{as:r=>{this._setUpBindToBinding(a=>new r(a))},using:r=>{this._setUpBindToBinding("function"==typeof r?r:a=>a[r])}}}_setUpBindToBinding(n){const r=this._bindToCollection,a=(d,u,p)=>{const f=r._bindToCollection==this,g=r._bindToInternalToExternalMap.get(u);if(f&&g)this._bindToExternalToInternalMap.set(u,g),this._bindToInternalToExternalMap.set(g,u);else{const b=n(u);if(!b)return void this._skippedIndexesFromExternal.push(p);let k=p;for(const S of this._skippedIndexesFromExternal)p>S&&k--;for(const S of r._skippedIndexesFromExternal)k>=S&&k++;this._bindToExternalToInternalMap.set(u,b),this._bindToInternalToExternalMap.set(b,u),this.add(b,k);for(let S=0;S<r._skippedIndexesFromExternal.length;S++)k<=r._skippedIndexesFromExternal[S]&&r._skippedIndexesFromExternal[S]++}};for(const d of r)a(0,d,r.getIndex(d));this.listenTo(r,"add",a),this.listenTo(r,"remove",(d,u,p)=>{const f=this._bindToExternalToInternalMap.get(u);f&&this.remove(f),this._skippedIndexesFromExternal=this._skippedIndexesFromExternal.reduce((g,b)=>(p<b&&g.push(b-1),p>b&&g.push(b),g),[])})}_getItemIdBeforeAdding(n){const r=this._idProperty;let a;if(r in n){if(a=n[r],"string"!=typeof a)throw new Y("collection-add-invalid-id",this);if(this.get(a))throw new Y("collection-add-item-already-exists",this)}else n[r]=a=ae();return a}_remove(n){let r,a,d,u=!1;const p=this._idProperty;if("string"==typeof n?(a=n,d=this._itemMap.get(a),u=!d,d&&(r=this._items.indexOf(d))):"number"==typeof n?(r=n,d=this._items[r],u=!d,d&&(a=d[p])):(d=n,a=d[p],r=this._items.indexOf(d),u=-1==r||!this._itemMap.get(a)),u)throw new Y("collection-remove-404",this);this._items.splice(r,1),this._itemMap.delete(a);const f=this._bindToInternalToExternalMap.get(d);return this._bindToInternalToExternalMap.delete(d),this._bindToExternalToInternalMap.delete(f),this.fire("remove",d,r),[d,r]}[Symbol.iterator](){return this._items[Symbol.iterator]()}}function bo(c){const n=c.next();return n.done?null:n.value}class vo extends(Rr(Xt())){constructor(){super(),this._elements=new Set,this._nextEventLoopTimeout=null,this.set("isFocused",!1),this.set("focusedElement",null)}add(n){if(this._elements.has(n))throw new Y("focustracker-add-element-already-exist",this);this.listenTo(n,"focus",()=>this._focus(n),{useCapture:!0}),this.listenTo(n,"blur",()=>this._blur(),{useCapture:!0}),this._elements.add(n)}remove(n){n===this.focusedElement&&this._blur(),this._elements.has(n)&&(this.stopListening(n),this._elements.delete(n))}destroy(){this.stopListening()}_focus(n){clearTimeout(this._nextEventLoopTimeout),this.focusedElement=n,this.isFocused=!0}_blur(){clearTimeout(this._nextEventLoopTimeout),this._nextEventLoopTimeout=setTimeout(()=>{this.focusedElement=null,this.isFocused=!1},0)}}class br{constructor(){this._listener=new(Rr())}listenTo(n){this._listener.listenTo(n,"keydown",(r,a)=>{this._listener.fire("_keydown:"+al(a),a)})}set(n,r,a={}){const d=Br(n);this._listener.listenTo(this._listener,"_keydown:"+d,(p,f)=>{r(f,()=>{f.preventDefault(),f.stopPropagation(),p.stop()}),p.return=!0},{priority:a.priority})}press(n){return!!this._listener.fire("_keydown:"+al(n),n)}stopListening(n){this._listener.stopListening(n)}destroy(){this.stopListening()}}function Ys(c){return ai(c)?new Map(c):function(n){const r=new Map;for(const a in n)r.set(a,n[a]);return r}(c)}function Am(c,n){let r;function a(...d){a.cancel(),r=setTimeout(()=>c(...d),n)}return a.cancel=()=>{clearTimeout(r)},a}function Us(c,n){return!!(r=c.charAt(n-1))&&1==r.length&&/[\ud800-\udbff]/.test(r)&&!!(a=c.charAt(n))&&1==a.length&&/[\udc00-\udfff]/.test(a);var a,r}function Rh(c,n){return!!(r=c.charAt(n))&&1==r.length&&/[\u0300-\u036f\u1ab0-\u1aff\u1dc0-\u1dff\u20d0-\u20ff\ufe20-\ufe2f]/.test(r);var r}const iw=function(){const c=[new RegExp("\\p{Emoji}[\\u{E0020}-\\u{E007E}]+\\u{E007F}","u"),new RegExp("\\p{Emoji}\\u{FE0F}?\\u{20E3}","u"),new RegExp("\\p{Emoji}\\u{FE0F}","u"),new RegExp("(?=\\p{General_Category=Other_Symbol})\\p{Emoji}\\p{Emoji_Modifier}*","u")],n=new RegExp("\\p{Regional_Indicator}{2}","u").source,r="(?:"+c.map(a=>a.source).join("|")+")";return new RegExp(`${n}|${r}(?:\u200d${r})*`,"ug")}();function a0(c,n){const r=String(c).matchAll(iw);return Array.from(r).some(a=>a.index<n&&n<a.index+a[0].length)}class dt extends(Xt()){constructor(n){super(),this._disableStack=new Set,this.editor=n,this.set("isEnabled",!0)}forceDisabled(n){this._disableStack.add(n),1==this._disableStack.size&&(this.on("set:isEnabled",ft,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(n){this._disableStack.delete(n),0==this._disableStack.size&&(this.off("set:isEnabled",ft),this.isEnabled=!0)}destroy(){this.stopListening()}static get isContextPlugin(){return!1}}function ft(c){c.return=!1,c.stop()}class Tn extends(Xt()){constructor(n){super(),this.editor=n,this.set("value",void 0),this.set("isEnabled",!1),this._affectsData=!0,this._isEnabledBasedOnSelection=!0,this._disableStack=new Set,this.decorate("execute"),this.listenTo(this.editor.model.document,"change",()=>{this.refresh()}),this.listenTo(n,"change:isReadOnly",()=>{this.refresh()}),this.on("set:isEnabled",r=>{if(!this.affectsData)return;const a=n.model.document.selection,d="$graveyard"!=a.getFirstPosition().root.rootName&&n.model.canEditAt(a);(n.isReadOnly||this._isEnabledBasedOnSelection&&!d)&&(r.return=!1,r.stop())},{priority:"highest"}),this.on("execute",r=>{this.isEnabled||r.stop()},{priority:"high"})}get affectsData(){return this._affectsData}set affectsData(n){this._affectsData=n}refresh(){this.isEnabled=!0}forceDisabled(n){this._disableStack.add(n),1==this._disableStack.size&&(this.on("set:isEnabled",l0,{priority:"highest"}),this.isEnabled=!1)}clearForceDisabled(n){this._disableStack.delete(n),0==this._disableStack.size&&(this.off("set:isEnabled",l0),this.refresh())}execute(...n){}destroy(){this.stopListening()}}function l0(c){c.return=!1,c.stop()}class Mm extends Tn{constructor(){super(...arguments),this._childCommandsDefinitions=[]}refresh(){}execute(...n){const r=this._getFirstEnabledCommand();return!!r&&r.execute(n)}registerChildCommand(n,r={}){he(this._childCommandsDefinitions,{command:n,priority:r.priority||"normal"}),n.on("change:isEnabled",()=>this._checkEnabled()),this._checkEnabled()}_checkEnabled(){this.isEnabled=!!this._getFirstEnabledCommand()}_getFirstEnabledCommand(){const n=this._childCommandsDefinitions.find(({command:r})=>r.isEnabled);return n&&n.command}}class xn extends(ye()){constructor(n,r=[],a=[]){super(),this._plugins=new Map,this._context=n,this._availablePlugins=new Map;for(const d of r)d.pluginName&&this._availablePlugins.set(d.pluginName,d);this._contextPlugins=new Map;for(const[d,u]of a)this._contextPlugins.set(d,u),this._contextPlugins.set(u,d),d.pluginName&&this._availablePlugins.set(d.pluginName,d)}*[Symbol.iterator](){for(const n of this._plugins)"function"==typeof n[0]&&(yield n)}get(n){const r=this._plugins.get(n);if(!r){let a=n;throw"function"==typeof n&&(a=n.pluginName||n.name),new Y("plugincollection-plugin-not-loaded",this._context,{plugin:a})}return r}has(n){return this._plugins.has(n)}init(n,r=[],a=[]){const d=this,u=this._context;(function Z(te,fe=new Set){te.forEach(ge=>{g(ge)&&(fe.has(ge)||(fe.add(ge),ge.pluginName&&!d._availablePlugins.has(ge.pluginName)&&d._availablePlugins.set(ge.pluginName,ge),ge.requires&&Z(ge.requires,fe)))})})(n),B(n);const p=[...function Z(te,fe=new Set){return te.map(ge=>g(ge)?ge:d._availablePlugins.get(ge)).reduce((ge,Ee)=>fe.has(Ee)?ge:(fe.add(Ee),Ee.requires&&(B(Ee.requires,Ee),Z(Ee.requires,fe).forEach(He=>ge.add(He))),ge.add(Ee)),new Set)}(n.filter(Z=>!k(Z,r)))];!function(Z,te){for(const fe of te){if("function"!=typeof fe)throw new Y("plugincollection-replace-plugin-invalid-type",null,{pluginItem:fe});const ge=fe.pluginName;if(!ge)throw new Y("plugincollection-replace-plugin-missing-name",null,{pluginItem:fe});if(fe.requires&&fe.requires.length)throw new Y("plugincollection-plugin-for-replacing-cannot-have-dependencies",null,{pluginName:ge});const Ee=d._availablePlugins.get(ge);if(!Ee)throw new Y("plugincollection-plugin-for-replacing-not-exist",null,{pluginName:ge});const He=Z.indexOf(Ee);if(-1===He){if(d._contextPlugins.has(Ee))return;throw new Y("plugincollection-plugin-for-replacing-not-loaded",null,{pluginName:ge})}if(Ee.requires&&Ee.requires.length)throw new Y("plugincollection-replaced-plugin-cannot-have-dependencies",null,{pluginName:ge});Z.splice(He,1,fe),d._availablePlugins.set(ge,fe)}}(p,a);const f=p.map(Z=>{let te=d._contextPlugins.get(Z);return te=te||new Z(u),d._add(Z,te),te});return U(f,"init").then(()=>U(f,"afterInit")).then(()=>f);function g(Z){return"function"==typeof Z}function b(Z){return g(Z)&&!!Z.isContextPlugin}function k(Z,te){return te.some(fe=>fe===Z||S(Z)===fe||S(fe)===Z)}function S(Z){return g(Z)?Z.pluginName||Z.name:Z}function B(Z,te=null){Z.map(fe=>g(fe)?fe:d._availablePlugins.get(fe)||fe).forEach(fe=>{(function(ge,Ee){if(!g(ge))throw Ee?new Y("plugincollection-soft-required",u,{missingPlugin:ge,requiredBy:S(Ee)}):new Y("plugincollection-plugin-not-found",u,{plugin:ge})})(fe,te),function(ge,Ee){if(b(Ee)&&!b(ge))throw new Y("plugincollection-context-required",u,{plugin:S(ge),requiredBy:S(Ee)})}(fe,te),function(ge,Ee){if(Ee&&k(ge,r))throw new Y("plugincollection-required",u,{plugin:S(ge),requiredBy:S(Ee)})}(fe,te)})}function U(Z,te){return Z.reduce((fe,ge)=>ge[te]?d._contextPlugins.has(ge)?fe:fe.then(ge[te].bind(ge)):fe,Promise.resolve())}}destroy(){const n=[];for(const[,r]of this)"function"!=typeof r.destroy||this._contextPlugins.has(r)||n.push(r.destroy());return Promise.all(n)}_add(n,r){this._plugins.set(n,r);const a=n.pluginName;if(a){if(this._plugins.has(a))throw new Y("plugincollection-plugin-name-conflict",null,{pluginName:a,plugin1:this._plugins.get(a).constructor,plugin2:n});this._plugins.set(a,r)}}}var Vr=Object.getOwnPropertySymbols,c0=Object.prototype.hasOwnProperty,Dm=Object.prototype.propertyIsEnumerable;class no{constructor(n){this._contextOwner=null;const r=n||{},{translations:a}=r,d=((f,g)=>{var b={};for(var k in f)c0.call(f,k)&&g.indexOf(k)<0&&(b[k]=f[k]);if(null!=f&&Vr)for(var k of Vr(f))g.indexOf(k)<0&&Dm.call(f,k)&&(b[k]=f[k]);return b})(r,["translations"]);this.config=new mr(d,this.constructor.defaultConfig);const u=this.constructor.builtinPlugins;this.config.define("plugins",u),this.plugins=new xn(this,u);const p=this.config.get("language")||{};this.locale=new s0({uiLanguage:"string"==typeof p?p:p.ui,contentLanguage:this.config.get("language.content"),translations:a}),this.t=this.locale.t,this.editors=new os}initPlugins(){const n=this.config.get("plugins")||[],r=this.config.get("substitutePlugins")||[];for(const a of n.concat(r)){if("function"!=typeof a)throw new Y("context-initplugins-constructor-only",null,{Plugin:a});if(!0!==a.isContextPlugin)throw new Y("context-initplugins-invalid-plugin",null,{Plugin:a})}return this.plugins.init(n,[],r)}destroy(){return Promise.all(Array.from(this.editors,n=>n.destroy())).then(()=>this.plugins.destroy())}_addEditor(n,r){if(this._contextOwner)throw new Y("context-addeditor-private-context");this.editors.add(n),r&&(this._contextOwner=n)}_removeEditor(n){return this.editors.has(n)&&this.editors.remove(n),this._contextOwner===n?this.destroy():Promise.resolve()}_getEditorConfig(){const n={};for(const r of this.config.names())["plugins","removePlugins","extraPlugins"].includes(r)||(n[r]=this.config.get(r));return n}static create(n){return new Promise(r=>{const a=new this(n);r(a.initPlugins().then(()=>a))})}}class dl extends(Xt()){constructor(n){super(),this.context=n}destroy(){this.stopListening()}static get isContextPlugin(){return!0}}class Hr extends br{constructor(n){super(),this.editor=n}set(n,r,a={}){if("string"==typeof r){const d=r;r=(u,p)=>{this.editor.execute(d),p()}}super.set(n,r,a)}}var Tm=L(2591),yt=L.n(Tm),rs=L(4098);yt()(rs.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const ul=new WeakMap;let Fh=!1;function Gd({view:c,element:n,text:r,isDirectHost:a=!0,keepOnFocus:d=!1}){const u=c.document;function p(f){ul.get(u).set(n,{text:f,isDirectHost:a,keepOnFocus:d,hostElement:a?n:null}),c.change(g=>Vl(u,g))}ul.has(u)||(ul.set(u,new Map),u.registerPostFixer(f=>Vl(u,f)),u.on("change:isComposing",()=>{c.change(f=>Vl(u,f))},{priority:"high"})),n.is("editableElement")&&n.on("change:placeholder",(f,g,b)=>{p(b)}),n.placeholder?p(n.placeholder):r&&p(r),r&&(Fh||ie("enableplaceholder-deprecated-text-option"),Fh=!0)}function Vl(c,n){const r=ul.get(c),a=[];let d=!1;for(const[u,p]of r)p.isDirectHost&&(a.push(u),Rc(n,u,p)&&(d=!0));for(const[u,p]of r){if(p.isDirectHost)continue;const f=Fc(u);f&&(a.includes(f)||(p.hostElement=f,Rc(n,u,p)&&(d=!0)))}return d}function Rc(c,n,r){const{text:a,isDirectHost:d,hostElement:u}=r;let p=!1;return u.getAttribute("data-placeholder")!==a&&(c.setAttribute("data-placeholder",a,u),p=!0),(d||1==n.childCount)&&function Bh(c,n){if(!c.isAttached()||Array.from(c.getChildren()).some(d=>!d.is("uiElement")))return!1;const r=c.document,a=r.selection.anchor;return!(r.isComposing&&a&&a.parent===c||!n&&r.isFocused&&(!a||a.parent===c))}(u,r.keepOnFocus)?function Kd(c,n){return!n.hasClass("ck-placeholder")&&(c.addClass("ck-placeholder",n),!0)}(c,u)&&(p=!0):function Em(c,n){return!!n.hasClass("ck-placeholder")&&(c.removeClass("ck-placeholder",n),!0)}(c,u)&&(p=!0),p}function Fc(c){if(c.childCount){const n=c.getChild(0);if(n.is("element")&&!n.is("uiElement")&&!n.is("attributeElement"))return n}return null}class Vi{is(){throw new Error("is() method is abstract")}}const jh=function(c){return Ud(c,4)};class Hl extends(ye(Vi)){constructor(n){super(),this.document=n,this.parent=null}get index(){let n;if(!this.parent)return null;if(-1==(n=this.parent.getChildIndex(this)))throw new Y("view-node-not-found-in-parent",this);return n}get nextSibling(){const n=this.index;return null!==n&&this.parent.getChild(n+1)||null}get previousSibling(){const n=this.index;return null!==n&&this.parent.getChild(n-1)||null}get root(){let n=this;for(;n.parent;)n=n.parent;return n}isAttached(){return this.root.is("rootElement")}getPath(){const n=[];let r=this;for(;r.parent;)n.unshift(r.index),r=r.parent;return n}getAncestors(n={}){const r=[];let a=n.includeSelf?this:this.parent;for(;a;)r[n.parentFirst?"push":"unshift"](a),a=a.parent;return r}getCommonAncestor(n,r={}){const a=this.getAncestors(r),d=n.getAncestors(r);let u=0;for(;a[u]==d[u]&&a[u];)u++;return 0===u?null:a[u-1]}isBefore(n){if(this==n||this.root!==n.root)return!1;const r=this.getPath(),a=n.getPath(),d=Ht(r,a);switch(d){case"prefix":return!0;case"extension":return!1;default:return r[d]<a[d]}}isAfter(n){return this!=n&&this.root===n.root&&!this.isBefore(n)}_remove(){this.parent._removeChildren(this.index)}_fireChange(n,r){this.fire(`change:${n}`,r),this.parent&&this.parent._fireChange(n,r)}toJSON(){const n=jh(this);return delete n.parent,n}}Hl.prototype.is=function(c){return"node"===c||"view:node"===c};class ui extends Hl{constructor(n,r){super(n),this._textData=r}get data(){return this._textData}get _data(){return this.data}set _data(n){this._fireChange("text",this),this._textData=n}isSimilar(n){return n instanceof ui&&(this===n||this.data===n.data)}_clone(){return new ui(this.document,this.data)}}ui.prototype.is=function(c){return"$text"===c||"view:$text"===c||"text"===c||"view:text"===c||"node"===c||"view:node"===c};class Ws extends Vi{constructor(n,r,a){if(super(),this.textNode=n,r<0||r>n.data.length)throw new Y("view-textproxy-wrong-offsetintext",this);if(a<0||r+a>n.data.length)throw new Y("view-textproxy-wrong-length",this);this.data=n.data.substring(r,r+a),this.offsetInText=r}get offsetSize(){return this.data.length}get isPartial(){return this.data.length!==this.textNode.data.length}get parent(){return this.textNode.parent}get root(){return this.textNode.root}get document(){return this.textNode.document}getAncestors(n={}){const r=[];let a=n.includeSelf?this.textNode:this.parent;for(;null!==a;)r[n.parentFirst?"push":"unshift"](a),a=a.parent;return r}}Ws.prototype.is=function(c){return"$textProxy"===c||"view:$textProxy"===c||"textProxy"===c||"view:textProxy"===c};class ss{constructor(...n){this._patterns=[],this.add(...n)}add(...n){for(let r of n)("string"==typeof r||r instanceof RegExp)&&(r={name:r}),this._patterns.push(r)}match(...n){for(const r of n)for(const a of this._patterns){const d=Sm(r,a);if(d)return{element:r,pattern:a,match:d}}return null}matchAll(...n){const r=[];for(const a of n)for(const d of this._patterns){const u=Sm(a,d);u&&r.push({element:a,pattern:d,match:u})}return r.length>0?r:null}getElementName(){if(1!==this._patterns.length)return null;const n=this._patterns[0],r=n.name;return"function"==typeof n||!r||r instanceof RegExp?null:r}}function Sm(c,n){if("function"==typeof n)return n(c);const r={};return n.name&&(r.name=(d=c.name,(a=n.name)instanceof RegExp?!!d.match(a):a===d),!r.name)||n.attributes&&(r.attributes=function(a,d){const u=new Set(d.getAttributeKeys());return ho(a)?(void 0!==a.style&&ie("matcher-pattern-deprecated-attributes-style-key",a),void 0!==a.class&&ie("matcher-pattern-deprecated-attributes-class-key",a)):(u.delete("style"),u.delete("class")),Im(a,u,p=>d.getAttribute(p))}(n.attributes,c),!r.attributes)||n.classes&&(r.classes=function(a,d){return Im(a,d.getClassNames(),()=>{})}(n.classes,c),!r.classes)||n.styles&&(r.styles=function(a,d){return Im(a,d.getStyleNames(!0),u=>d.getStyle(u))}(n.styles,c),!r.styles)?null:r;var a,d}function Im(c,n,r){const a=(p=c,Array.isArray(p)?p.map(f=>ho(f)?(void 0!==f.key&&void 0!==f.value||ie("matcher-pattern-missing-key-or-value",f),[f.key,f.value]):[f,!0]):ho(p)?Object.entries(p):[[p,!0]]),d=Array.from(n),u=[];var p;if(a.forEach(([p,f])=>{d.forEach(g=>{var b,k;k=g,(!0===(b=p)||b===k||b instanceof RegExp&&k.match(b))&&function(b,k,S){if(!0===b)return!0;const B=S(k);return b===B||b instanceof RegExp&&!!String(B).match(b)}(f,g,r)&&u.push(g)})}),a.length&&!(u.length<a.length))return u}const Bc=function(c){return"symbol"==typeof c||zo(c)&&"[object Symbol]"==js(c)};var zh=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,d0=/^\w*$/;const jc=function(c,n){if(jo(c))return!1;var r=typeof c;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=c&&!Bc(c))||d0.test(c)||!zh.test(c)||null!=n&&c in Object(n)};function Ma(c,n){if("function"!=typeof c||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");var r=function(){var a=arguments,d=n?n.apply(this,a):a[0],u=r.cache;if(u.has(d))return u.get(d);var p=c.apply(this,a);return r.cache=u.set(d,p)||u,p};return r.cache=new(Ma.Cache||xt),r}Ma.Cache=xt;var n,r,Lm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Om=/\\(\\)?/g,h0=(n=Ma(function(c){var n=[];return 46===c.charCodeAt(0)&&n.push(""),c.replace(Lm,function(r,a,d,u){n.push(d?u.replace(Om,"$1"):a||r)}),n},function(a){return 500===r.size&&r.clear(),a}),r=n.cache,n);const p0=h0;var Vh=vn?vn.prototype:void 0,xs=Vh?Vh.toString:void 0;const hl=function c(n){if("string"==typeof n)return n;if(jo(n))return function(c,n){for(var r=-1,a=null==c?0:c.length,d=Array(a);++r<a;)d[r]=n(c[r],r,c);return d}(n,c)+"";if(Bc(n))return xs?xs.call(n):"";var r=n+"";return"0"==r&&1/n==-1/0?"-0":r},Hh=function(c){return null==c?"":hl(c)},Yh=function(c,n){return jo(c)?c:jc(c,n)?[c]:p0(Hh(c))},fn=function(c){if("string"==typeof c||Bc(c))return c;var n=c+"";return"0"==n&&1/c==-1/0?"-0":n},Zd=function(c,n){for(var r=0,a=(n=Yh(n,c)).length;null!=c&&r<a;)c=c[fn(n[r++])];return r&&r==a?c:void 0},Qd=function(c,n,r){var a=-1,d=c.length;n<0&&(n=-n>d?0:d+n),(r=r>d?d:r)<0&&(r+=d),d=n>r?0:r-n>>>0,n>>>=0;for(var u=Array(d);++a<d;)u[a]=c[a+n];return u},y=function(c,n,r){var a=null==c?void 0:Zd(c,n);return void 0===a?r:a};class ee{constructor(n){this._styles={},this._styleProcessor=n}get isEmpty(){return!Object.entries(this._styles).length}get size(){return this.isEmpty?0:this.getStyleNames().length}setTo(n){this.clear();const r=function(a){let d=null,u=0,p=0,f=null;const g=new Map;if(""===a)return g;";"!=a.charAt(a.length-1)&&(a+=";");for(let b=0;b<a.length;b++){const k=a.charAt(b);if(null===d)switch(k){case":":f||(f=a.substr(u,b-u),p=b+1);break;case'"':case"'":d=k;break;case";":{const S=a.substr(p,b-p);f&&g.set(f.trim(),S.trim()),f=null,u=b+1;break}}else k===d&&(d=null)}return g}(n);for(const[a,d]of r)this._styleProcessor.toNormalizedForm(a,d,this._styles)}has(n){if(this.isEmpty)return!1;const r=this._styleProcessor.getReducedForm(n,this._styles).find(([a])=>a===n);return Array.isArray(r)}set(n,r){if(Je(n))for(const[a,d]of Object.entries(n))this._styleProcessor.toNormalizedForm(a,d,this._styles);else this._styleProcessor.toNormalizedForm(n,r,this._styles)}remove(n){const r=Se(n);(function(c,n){null==c||function(c,n){null==(c=function(c,n){return n.length<2?c:Zd(c,Qd(n,0,-1))}(c,n=Yh(n,c)))||delete c[fn(function(c){var n=null==c?0:c.length;return n?c[n-1]:void 0}(n))]}(c,n)})(this._styles,r),delete this._styles[n],this._cleanEmptyObjectsOnPath(r)}getNormalized(n){return this._styleProcessor.getNormalized(n,this._styles)}toString(){return this.isEmpty?"":this.getStylesEntries().map(n=>n.join(":")).sort().join(";")+";"}getAsString(n){if(this.isEmpty)return;if(this._styles[n]&&!Je(this._styles[n]))return this._styles[n];const r=this._styleProcessor.getReducedForm(n,this._styles).find(([a])=>a===n);return Array.isArray(r)?r[1]:void 0}getStyleNames(n=!1){return this.isEmpty?[]:n?this._styleProcessor.getStyleNames(this._styles):this.getStylesEntries().map(([r])=>r)}clear(){this._styles={}}getStylesEntries(){const n=[],r=Object.keys(this._styles);for(const a of r)n.push(...this._styleProcessor.getReducedForm(a,this._styles));return n}_cleanEmptyObjectsOnPath(n){const r=n.split(".");if(!(r.length>1))return;const a=r.splice(0,r.length-1).join("."),d=y(this._styles,a);d&&!Object.keys(d).length&&this.remove(a)}}class ue{constructor(){this._normalizers=new Map,this._extractors=new Map,this._reducers=new Map,this._consumables=new Map}toNormalizedForm(n,r,a){if(Je(r))Ge(a,Se(n),r);else if(this._normalizers.has(n)){const d=this._normalizers.get(n),{path:u,value:p}=d(r);Ge(a,u,p)}else Ge(a,n,r)}getNormalized(n,r){if(!n)return Cm({},r);if(void 0!==r[n])return r[n];if(this._extractors.has(n)){const a=this._extractors.get(n);if("string"==typeof a)return y(r,a);const d=a(n,r);if(d)return d}return y(r,Se(n))}getReducedForm(n,r){const a=this.getNormalized(n,r);return void 0===a?[]:this._reducers.has(n)?this._reducers.get(n)(a):[[n,a]]}getStyleNames(n){const r=Array.from(this._consumables.keys()).filter(d=>{const u=this.getNormalized(d,n);return u&&"object"==typeof u?Object.keys(u).length:u}),a=new Set([...r,...Object.keys(n)]);return Array.from(a)}getRelatedStyles(n){return this._consumables.get(n)||[]}setNormalizer(n,r){this._normalizers.set(n,r)}setExtractor(n,r){this._extractors.set(n,r)}setReducer(n,r){this._reducers.set(n,r)}setStyleRelation(n,r){this._mapStyleNames(n,r);for(const a of r)this._mapStyleNames(a,[n])}_mapStyleNames(n,r){this._consumables.has(n)||this._consumables.set(n,[]),this._consumables.get(n).push(...r)}}function Se(c){return c.replace("-",".")}function Ge(c,n,r){let a=r;Je(r)&&(a=Cm({},y(c,n),r)),function(c,n,r){null==c||function(c,n,r,a){if(!Je(c))return c;for(var d=-1,u=(n=Yh(n,c)).length,p=u-1,f=c;null!=f&&++d<u;){var g=fn(n[d]),b=r;if("__proto__"===g||"constructor"===g||"prototype"===g)return c;if(d!=p){var k=f[g];void 0===(b=void 0)&&(b=Je(k)?k:_h(n[d+1])?[]:{})}cn(f,g,b),f=f[g]}}(c,n,r)}(c,n,a)}class Ot extends Hl{constructor(n,r,a,d){if(super(n),this._unsafeAttributesToRender=[],this._customProperties=new Map,this.name=r,this._attrs=function(u){const p=Ys(u);for(const[f,g]of p)null===g?p.delete(f):"string"!=typeof g&&p.set(f,String(g));return p}(a),this._children=[],d&&this._insertChild(0,d),this._classes=new Set,this._attrs.has("class")){const u=this._attrs.get("class");mn(this._classes,u),this._attrs.delete("class")}this._styles=new ee(this.document.stylesProcessor),this._attrs.has("style")&&(this._styles.setTo(this._attrs.get("style")),this._attrs.delete("style"))}get childCount(){return this._children.length}get isEmpty(){return 0===this._children.length}getChild(n){return this._children[n]}getChildIndex(n){return this._children.indexOf(n)}getChildren(){return this._children[Symbol.iterator]()}*getAttributeKeys(){this._classes.size>0&&(yield"class"),this._styles.isEmpty||(yield"style"),yield*this._attrs.keys()}*getAttributes(){yield*this._attrs.entries(),this._classes.size>0&&(yield["class",this.getAttribute("class")]),this._styles.isEmpty||(yield["style",this.getAttribute("style")])}getAttribute(n){if("class"==n)return this._classes.size>0?[...this._classes].join(" "):void 0;if("style"==n){const r=this._styles.toString();return""==r?void 0:r}return this._attrs.get(n)}hasAttribute(n){return"class"==n?this._classes.size>0:"style"==n?!this._styles.isEmpty:this._attrs.has(n)}isSimilar(n){if(!(n instanceof Ot))return!1;if(this===n)return!0;if(this.name!=n.name||this._attrs.size!==n._attrs.size||this._classes.size!==n._classes.size||this._styles.size!==n._styles.size)return!1;for(const[r,a]of this._attrs)if(!n._attrs.has(r)||n._attrs.get(r)!==a)return!1;for(const r of this._classes)if(!n._classes.has(r))return!1;for(const r of this._styles.getStyleNames())if(!n._styles.has(r)||n._styles.getAsString(r)!==this._styles.getAsString(r))return!1;return!0}hasClass(...n){for(const r of n)if(!this._classes.has(r))return!1;return!0}getClassNames(){return this._classes.keys()}getStyle(n){return this._styles.getAsString(n)}getNormalizedStyle(n){return this._styles.getNormalized(n)}getStyleNames(n){return this._styles.getStyleNames(n)}hasStyle(...n){for(const r of n)if(!this._styles.has(r))return!1;return!0}findAncestor(...n){const r=new ss(...n);let a=this.parent;for(;a&&!a.is("documentFragment");){if(r.match(a))return a;a=a.parent}return null}getCustomProperty(n){return this._customProperties.get(n)}*getCustomProperties(){yield*this._customProperties.entries()}getIdentity(){const n=Array.from(this._classes).sort().join(","),r=this._styles.toString(),a=Array.from(this._attrs).map(d=>`${d[0]}="${d[1]}"`).sort().join(" ");return this.name+(""==n?"":` class="${n}"`)+(r?` style="${r}"`:"")+(""==a?"":` ${a}`)}shouldRenderUnsafeAttribute(n){return this._unsafeAttributesToRender.includes(n)}_clone(n=!1){const r=[];if(n)for(const d of this.getChildren())r.push(d._clone(n));const a=new this.constructor(this.document,this.name,this._attrs,r);return a._classes=new Set(this._classes),a._styles.set(this._styles.getNormalized()),a._customProperties=new Map(this._customProperties),a.getFillerOffset=this.getFillerOffset,a._unsafeAttributesToRender=this._unsafeAttributesToRender,a}_appendChild(n){return this._insertChild(this.childCount,n)}_insertChild(n,r){this._fireChange("children",this);let a=0;const d=(u=this.document,"string"==typeof(p=r)?[new ui(u,p)]:(ai(p)||(p=[p]),Array.from(p).map(f=>"string"==typeof f?new ui(u,f):f instanceof Ws?new ui(u,f.data):f)));var u,p;for(const u of d)null!==u.parent&&u._remove(),u.parent=this,u.document=this.document,this._children.splice(n,0,u),n++,a++;return a}_removeChildren(n,r=1){this._fireChange("children",this);for(let a=n;a<n+r;a++)this._children[a].parent=null;return this._children.splice(n,r)}_setAttribute(n,r){const a=String(r);this._fireChange("attributes",this),"class"==n?mn(this._classes,a):"style"==n?this._styles.setTo(a):this._attrs.set(n,a)}_removeAttribute(n){return this._fireChange("attributes",this),"class"==n?this._classes.size>0&&(this._classes.clear(),!0):"style"==n?!this._styles.isEmpty&&(this._styles.clear(),!0):this._attrs.delete(n)}_addClass(n){this._fireChange("attributes",this);for(const r of Zn(n))this._classes.add(r)}_removeClass(n){this._fireChange("attributes",this);for(const r of Zn(n))this._classes.delete(r)}_setStyle(n,r){this._fireChange("attributes",this),"string"!=typeof n?this._styles.set(n):this._styles.set(n,r)}_removeStyle(n){this._fireChange("attributes",this);for(const r of Zn(n))this._styles.remove(r)}_setCustomProperty(n,r){this._customProperties.set(n,r)}_removeCustomProperty(n){return this._customProperties.delete(n)}}function mn(c,n){const r=n.split(/\s+/);c.clear(),r.forEach(a=>c.add(a))}Ot.prototype.is=function(c,n){return n?n===this.name&&("element"===c||"view:element"===c):"element"===c||"view:element"===c||"node"===c||"view:node"===c};class hn extends Ot{constructor(n,r,a,d){super(n,r,a,d),this.getFillerOffset=Yo}}function Yo(){const c=[...this.getChildren()],n=c[this.childCount-1];if(n&&n.is("element","br"))return this.childCount;for(const r of c)if(!r.is("uiElement"))return null;return this.childCount}hn.prototype.is=function(c,n){return n?n===this.name&&("containerElement"===c||"view:containerElement"===c||"element"===c||"view:element"===c):"containerElement"===c||"view:containerElement"===c||"element"===c||"view:element"===c||"node"===c||"view:node"===c};class vr extends(Xt(hn)){constructor(n,r,a,d){super(n,r,a,d),this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("placeholder",void 0),this.bind("isReadOnly").to(n),this.bind("isFocused").to(n,"isFocused",u=>u&&n.selection.editableElement==this),this.listenTo(n.selection,"change",()=>{this.isFocused=n.isFocused&&n.selection.editableElement==this})}destroy(){this.stopListening()}}vr.prototype.is=function(c,n){return n?n===this.name&&("editableElement"===c||"view:editableElement"===c||"containerElement"===c||"view:containerElement"===c||"element"===c||"view:element"===c):"editableElement"===c||"view:editableElement"===c||"containerElement"===c||"view:containerElement"===c||"element"===c||"view:element"===c||"node"===c||"view:node"===c};const Jo=Symbol("rootName");class Yr extends vr{constructor(n,r){super(n,r),this.rootName="main"}get rootName(){return this.getCustomProperty(Jo)}set rootName(n){this._setCustomProperty(Jo,n)}set _name(n){this.name=n}}Yr.prototype.is=function(c,n){return n?n===this.name&&("rootElement"===c||"view:rootElement"===c||"editableElement"===c||"view:editableElement"===c||"containerElement"===c||"view:containerElement"===c||"element"===c||"view:element"===c):"rootElement"===c||"view:rootElement"===c||"editableElement"===c||"view:editableElement"===c||"containerElement"===c||"view:containerElement"===c||"element"===c||"view:element"===c||"node"===c||"view:node"===c};class Vc{constructor(n={}){if(!n.boundaries&&!n.startPosition)throw new Y("view-tree-walker-no-start-position",null);if(n.direction&&"forward"!=n.direction&&"backward"!=n.direction)throw new Y("view-tree-walker-unknown-direction",n.startPosition,{direction:n.direction});this.boundaries=n.boundaries||null,this._position=bt._createAt(n.startPosition?n.startPosition:n.boundaries["backward"==n.direction?"end":"start"]),this.direction=n.direction||"forward",this.singleCharacters=!!n.singleCharacters,this.shallow=!!n.shallow,this.ignoreElementEnd=!!n.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null}[Symbol.iterator](){return this}get position(){return this._position}skip(n){let r,a;do{a=this.position,r=this.next()}while(!r.done&&n(r.value));r.done||(this._position=a)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){let n=this.position.clone();const r=this.position,a=n.parent;if(null===a.parent&&n.offset===a.childCount)return{done:!0,value:void 0};if(a===this._boundaryEndParent&&n.offset==this.boundaries.end.offset)return{done:!0,value:void 0};let d;if(a instanceof ui){if(n.isAtEnd)return this._position=bt._createAfter(a),this._next();d=a.data[n.offset]}else d=a.getChild(n.offset);if(d instanceof Ot){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(n))return{done:!0,value:void 0};n.offset++}else n=new bt(d,0);return this._position=n,this._formatReturnValue("elementStart",d,r,n,1)}if(d instanceof ui){if(this.singleCharacters)return n=new bt(d,0),this._position=n,this._next();let u,p=d.data.length;return d==this._boundaryEndParent?(p=this.boundaries.end.offset,u=new Ws(d,0,p),n=bt._createAfter(u)):(u=new Ws(d,0,d.data.length),n.offset++),this._position=n,this._formatReturnValue("text",u,r,n,p)}if("string"==typeof d){let u;u=this.singleCharacters?1:(a===this._boundaryEndParent?this.boundaries.end.offset:a.data.length)-n.offset;const p=new Ws(a,n.offset,u);return n.offset+=u,this._position=n,this._formatReturnValue("text",p,r,n,u)}return n=bt._createAfter(a),this._position=n,this.ignoreElementEnd?this._next():this._formatReturnValue("elementEnd",a,r,n)}_previous(){let n=this.position.clone();const r=this.position,a=n.parent;if(null===a.parent&&0===n.offset)return{done:!0,value:void 0};if(a==this._boundaryStartParent&&n.offset==this.boundaries.start.offset)return{done:!0,value:void 0};let d;if(a instanceof ui){if(n.isAtStart)return this._position=bt._createBefore(a),this._previous();d=a.data[n.offset-1]}else d=a.getChild(n.offset-1);if(d instanceof Ot)return this.shallow?(n.offset--,this._position=n,this._formatReturnValue("elementStart",d,r,n,1)):(n=new bt(d,d.childCount),this._position=n,this.ignoreElementEnd?this._previous():this._formatReturnValue("elementEnd",d,r,n));if(d instanceof ui){if(this.singleCharacters)return n=new bt(d,d.data.length),this._position=n,this._previous();let u,p=d.data.length;if(d==this._boundaryStartParent){const f=this.boundaries.start.offset;u=new Ws(d,f,d.data.length-f),p=u.data.length,n=bt._createBefore(u)}else u=new Ws(d,0,d.data.length),n.offset--;return this._position=n,this._formatReturnValue("text",u,r,n,p)}if("string"==typeof d){let u;u=this.singleCharacters?1:n.offset-(a===this._boundaryStartParent?this.boundaries.start.offset:0),n.offset-=u;const p=new Ws(a,n.offset,u);return this._position=n,this._formatReturnValue("text",p,r,n,u)}return n=bt._createBefore(a),this._position=n,this._formatReturnValue("elementStart",a,r,n,1)}_formatReturnValue(n,r,a,d,u){return r instanceof Ws&&(r.offsetInText+r.data.length==r.textNode.data.length&&("forward"!=this.direction||this.boundaries&&this.boundaries.end.isEqual(this.position)?a=bt._createAfter(r.textNode):(d=bt._createAfter(r.textNode),this._position=d)),0===r.offsetInText&&("backward"!=this.direction||this.boundaries&&this.boundaries.start.isEqual(this.position)?a=bt._createBefore(r.textNode):(d=bt._createBefore(r.textNode),this._position=d))),{done:!1,value:{type:n,item:r,previousPosition:a,nextPosition:d,length:u}}}}class bt extends Vi{constructor(n,r){super(),this.parent=n,this.offset=r}get nodeAfter(){return this.parent.is("$text")?null:this.parent.getChild(this.offset)||null}get nodeBefore(){return this.parent.is("$text")?null:this.parent.getChild(this.offset-1)||null}get isAtStart(){return 0===this.offset}get isAtEnd(){const n=this.parent.is("$text")?this.parent.data.length:this.parent.childCount;return this.offset===n}get root(){return this.parent.root}get editableElement(){let n=this.parent;for(;!(n instanceof vr);){if(!n.parent)return null;n=n.parent}return n}getShiftedBy(n){const r=bt._createAt(this),a=r.offset+n;return r.offset=a<0?0:a,r}getLastMatchingPosition(n,r={}){r.startPosition=this;const a=new Vc(r);return a.skip(n),a.position}getAncestors(){return this.parent.is("documentFragment")?[this.parent]:this.parent.getAncestors({includeSelf:!0})}getCommonAncestor(n){const r=this.getAncestors(),a=n.getAncestors();let d=0;for(;r[d]==a[d]&&r[d];)d++;return 0===d?null:r[d-1]}isEqual(n){return this.parent==n.parent&&this.offset==n.offset}isBefore(n){return"before"==this.compareWith(n)}isAfter(n){return"after"==this.compareWith(n)}compareWith(n){if(this.root!==n.root)return"different";if(this.isEqual(n))return"same";const r=this.parent.is("node")?this.parent.getPath():[],a=n.parent.is("node")?n.parent.getPath():[];r.push(this.offset),a.push(n.offset);const d=Ht(r,a);switch(d){case"prefix":return"before";case"extension":return"after";default:return r[d]<a[d]?"before":"after"}}getWalker(n={}){return n.startPosition=this,new Vc(n)}clone(){return new bt(this.parent,this.offset)}static _createAt(n,r){if(n instanceof bt)return new this(n.parent,n.offset);{const a=n;if("end"==r)r=a.is("$text")?a.data.length:a.childCount;else{if("before"==r)return this._createBefore(a);if("after"==r)return this._createAfter(a);if(0!==r&&!r)throw new Y("view-createpositionat-offset-required",a)}return new bt(a,r)}}static _createAfter(n){if(n.is("$textProxy"))return new bt(n.textNode,n.offsetInText+n.data.length);if(!n.parent)throw new Y("view-position-after-root",n,{root:n});return new bt(n.parent,n.index+1)}static _createBefore(n){if(n.is("$textProxy"))return new bt(n.textNode,n.offsetInText);if(!n.parent)throw new Y("view-position-before-root",n,{root:n});return new bt(n.parent,n.index)}}bt.prototype.is=function(c){return"position"===c||"view:position"===c};class dn extends Vi{constructor(n,r=null){super(),this.start=n.clone(),this.end=r?r.clone():n.clone()}*[Symbol.iterator](){yield*new Vc({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){return this.start.parent===this.end.parent}get root(){return this.start.root}getEnlarged(){let n=this.start.getLastMatchingPosition($s,{direction:"backward"}),r=this.end.getLastMatchingPosition($s);return n.parent.is("$text")&&n.isAtStart&&(n=bt._createBefore(n.parent)),r.parent.is("$text")&&r.isAtEnd&&(r=bt._createAfter(r.parent)),new dn(n,r)}getTrimmed(){let n=this.start.getLastMatchingPosition($s);if(n.isAfter(this.end)||n.isEqual(this.end))return new dn(n,n);let r=this.end.getLastMatchingPosition($s,{direction:"backward"});const a=n.nodeAfter,d=r.nodeBefore;return a&&a.is("$text")&&(n=new bt(a,0)),d&&d.is("$text")&&(r=new bt(d,d.data.length)),new dn(n,r)}isEqual(n){return this==n||this.start.isEqual(n.start)&&this.end.isEqual(n.end)}containsPosition(n){return n.isAfter(this.start)&&n.isBefore(this.end)}containsRange(n,r=!1){n.isCollapsed&&(r=!1);const a=this.containsPosition(n.start)||r&&this.start.isEqual(n.start),d=this.containsPosition(n.end)||r&&this.end.isEqual(n.end);return a&&d}getDifference(n){const r=[];return this.isIntersecting(n)?(this.containsPosition(n.start)&&r.push(new dn(this.start,n.start)),this.containsPosition(n.end)&&r.push(new dn(n.end,this.end))):r.push(this.clone()),r}getIntersection(n){if(this.isIntersecting(n)){let r=this.start,a=this.end;return this.containsPosition(n.start)&&(r=n.start),this.containsPosition(n.end)&&(a=n.end),new dn(r,a)}return null}getWalker(n={}){return n.boundaries=this,new Vc(n)}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}getContainedElement(){if(this.isCollapsed)return null;let n=this.start.nodeAfter,r=this.end.nodeBefore;return this.start.parent.is("$text")&&this.start.isAtEnd&&this.start.parent.nextSibling&&(n=this.start.parent.nextSibling),this.end.parent.is("$text")&&this.end.isAtStart&&this.end.parent.previousSibling&&(r=this.end.parent.previousSibling),n&&n.is("element")&&n===r?n:null}clone(){return new dn(this.start,this.end)}*getItems(n={}){n.boundaries=this,n.ignoreElementEnd=!0;const r=new Vc(n);for(const a of r)yield a.item}*getPositions(n={}){n.boundaries=this;const r=new Vc(n);yield r.position;for(const a of r)yield a.nextPosition}isIntersecting(n){return this.start.isBefore(n.end)&&this.end.isAfter(n.start)}static _createFromParentsAndOffsets(n,r,a,d){return new this(new bt(n,r),new bt(a,d))}static _createFromPositionAndShift(n,r){const a=n,d=n.getShiftedBy(r);return r>0?new this(a,d):new this(d,a)}static _createIn(n){return this._createFromParentsAndOffsets(n,0,n,n.childCount)}static _createOn(n){const r=n.is("$textProxy")?n.offsetSize:1;return this._createFromPositionAndShift(bt._createBefore(n),r)}}function $s(c){return!(!c.item.is("attributeElement")&&!c.item.is("uiElement"))}dn.prototype.is=function(c){return"range"===c||"view:range"===c};class Es extends(ye(Vi)){constructor(...n){super(),this._ranges=[],this._lastRangeBackward=!1,this._isFake=!1,this._fakeSelectionLabel="",n.length&&this.setTo(...n)}get isFake(){return this._isFake}get fakeSelectionLabel(){return this._fakeSelectionLabel}get anchor(){if(!this._ranges.length)return null;const n=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?n.end:n.start).clone()}get focus(){if(!this._ranges.length)return null;const n=this._ranges[this._ranges.length-1];return(this._lastRangeBackward?n.start:n.end).clone()}get isCollapsed(){return 1===this.rangeCount&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}get editableElement(){return this.anchor?this.anchor.editableElement:null}*getRanges(){for(const n of this._ranges)yield n.clone()}getFirstRange(){let n=null;for(const r of this._ranges)n&&!r.start.isBefore(n.start)||(n=r);return n?n.clone():null}getLastRange(){let n=null;for(const r of this._ranges)n&&!r.end.isAfter(n.end)||(n=r);return n?n.clone():null}getFirstPosition(){const n=this.getFirstRange();return n?n.start.clone():null}getLastPosition(){const n=this.getLastRange();return n?n.end.clone():null}isEqual(n){if(this.isFake!=n.isFake||this.isFake&&this.fakeSelectionLabel!=n.fakeSelectionLabel||this.rangeCount!=n.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(n.anchor)||!this.focus.isEqual(n.focus))return!1;for(const r of this._ranges){let a=!1;for(const d of n._ranges)if(r.isEqual(d)){a=!0;break}if(!a)return!1}return!0}isSimilar(n){if(this.isBackward!=n.isBackward)return!1;const r=Gt(this.getRanges());if(r!=Gt(n.getRanges()))return!1;if(0==r)return!0;for(let a of this.getRanges()){a=a.getTrimmed();let d=!1;for(let u of n.getRanges())if(u=u.getTrimmed(),a.start.isEqual(u.start)&&a.end.isEqual(u.end)){d=!0;break}if(!d)return!1}return!0}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}setTo(...n){let[r,a,d]=n;if("object"==typeof a&&(d=a,a=void 0),null===r)this._setRanges([]),this._setFakeOptions(d);else if(r instanceof Es||r instanceof g0)this._setRanges(r.getRanges(),r.isBackward),this._setFakeOptions({fake:r.isFake,label:r.fakeSelectionLabel});else if(r instanceof dn)this._setRanges([r],d&&d.backward),this._setFakeOptions(d);else if(r instanceof bt)this._setRanges([new dn(r)]),this._setFakeOptions(d);else if(r instanceof Hl){const u=!!d&&!!d.backward;let p;if(void 0===a)throw new Y("view-selection-setto-required-second-parameter",this);p="in"==a?dn._createIn(r):"on"==a?dn._createOn(r):new dn(bt._createAt(r,a)),this._setRanges([p],u),this._setFakeOptions(d)}else{if(!ai(r))throw new Y("view-selection-setto-not-selectable",this);this._setRanges(r,d&&d.backward),this._setFakeOptions(d)}this.fire("change")}setFocus(n,r){if(null===this.anchor)throw new Y("view-selection-setfocus-no-ranges",this);const a=bt._createAt(n,r);if("same"==a.compareWith(this.focus))return;const d=this.anchor;this._ranges.pop(),"before"==a.compareWith(d)?this._addRange(new dn(a,d),!0):this._addRange(new dn(d,a)),this.fire("change")}_setRanges(n,r=!1){n=Array.from(n),this._ranges=[];for(const a of n)this._addRange(a);this._lastRangeBackward=!!r}_setFakeOptions(n={}){this._isFake=!!n.fake,this._fakeSelectionLabel=n.fake&&n.label||""}_addRange(n,r=!1){if(!(n instanceof dn))throw new Y("view-selection-add-range-not-range",this);this._pushRange(n),this._lastRangeBackward=!!r}_pushRange(n){for(const r of this._ranges)if(n.isIntersecting(r))throw new Y("view-selection-range-intersects",this,{addedRange:n,intersectingRange:r});this._ranges.push(new dn(n.start,n.end))}}Es.prototype.is=function(c){return"selection"===c||"view:selection"===c};class g0 extends(ye(Vi)){constructor(...n){super(),this._selection=new Es,this._selection.delegate("change").to(this),n.length&&this._selection.setTo(...n)}get isFake(){return this._selection.isFake}get fakeSelectionLabel(){return this._selection.fakeSelectionLabel}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get isCollapsed(){return this._selection.isCollapsed}get rangeCount(){return this._selection.rangeCount}get isBackward(){return this._selection.isBackward}get editableElement(){return this._selection.editableElement}get _ranges(){return this._selection._ranges}*getRanges(){yield*this._selection.getRanges()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getSelectedElement(){return this._selection.getSelectedElement()}isEqual(n){return this._selection.isEqual(n)}isSimilar(n){return this._selection.isSimilar(n)}_setTo(...n){this._selection.setTo(...n)}_setFocus(n,r){this._selection.setFocus(n,r)}}g0.prototype.is=function(c){return"selection"===c||"documentSelection"==c||"view:selection"==c||"view:documentSelection"==c};class Hc extends Q{constructor(n,r,a){super(n,r),this.startRange=a,this._eventPhase="none",this._currentTarget=null}get eventPhase(){return this._eventPhase}get currentTarget(){return this._currentTarget}}const Pm=Symbol("bubbling contexts");function Nm(c){return class extends c{fire(n,...r){try{const a=n instanceof Q?n:new Q(this,n),d=rw(this);if(!d.size)return;if(Uh(a,"capturing",this),tn(d,"$capture",a,...r))return a.return;const u=a.startRange||this.selection.getFirstRange(),p=u?u.getContainedElement():null,f=!!p&&!!_0(d,p);let g=p||function(b){if(!b)return null;const k=b.start.parent,S=b.end.parent,B=k.getPath(),U=S.getPath();return B.length>U.length?k:S}(u);if(Uh(a,"atTarget",g),!f){if(tn(d,"$text",a,...r))return a.return;Uh(a,"bubbling",g)}for(;g;){if(g.is("rootElement")){if(tn(d,"$root",a,...r))return a.return}else if(g.is("element")&&tn(d,g.name,a,...r))return a.return;if(tn(d,g,a,...r))return a.return;g=g.parent,Uh(a,"bubbling",g)}return Uh(a,"bubbling",this),tn(d,"$document",a,...r),a.return}catch(a){Y.rethrowUnexpectedError(a,this)}}_addEventListener(n,r,a){const d=Zn(a.context||"$document"),u=rw(this);for(const p of d){let f=u.get(p);f||(f=new(ye()),u.set(p,f)),this.listenTo(f,n,r,a)}}_removeEventListener(n,r){const a=rw(this);for(const d of a.values())this.stopListening(d,n,r)}}}{const c=Nm(Object);["fire","_addEventListener","_removeEventListener"].forEach(n=>{Nm[n]=c.prototype[n]})}function Uh(c,n,r){c instanceof Hc&&(c._eventPhase=n,c._currentTarget=r)}function tn(c,n,r,...a){const d="string"==typeof n?c.get(n):_0(c,n);return!!d&&(d.fire(r,...a),r.stop.called)}function _0(c,n){for(const[r,a]of c)if("function"==typeof r&&r(n))return a;return null}function rw(c){return c[Pm]||(c[Pm]=new Map),c[Pm]}class Rm extends(Nm(Xt())){constructor(n){super(),this._postFixers=new Set,this.selection=new g0,this.roots=new os({idProperty:"rootName"}),this.stylesProcessor=n,this.set("isReadOnly",!1),this.set("isFocused",!1),this.set("isSelecting",!1),this.set("isComposing",!1)}getRoot(n="main"){return this.roots.get(n)}registerPostFixer(n){this._postFixers.add(n)}destroy(){this.roots.forEach(n=>n.destroy()),this.stopListening()}_callPostFixers(n){let r=!1;do{for(const a of this._postFixers)if(r=a(n),r)break}while(r)}}class Yc extends Ot{constructor(n,r,a,d){super(n,r,a,d),this._priority=10,this._id=null,this._clonesGroup=null,this.getFillerOffset=vx}get priority(){return this._priority}get id(){return this._id}getElementsWithSameId(){if(null===this.id)throw new Y("attribute-element-get-elements-with-same-id-no-id",this);return new Set(this._clonesGroup)}isSimilar(n){return null!==this.id||null!==n.id?this.id===n.id:super.isSimilar(n)&&this.priority==n.priority}_clone(n=!1){const r=super._clone(n);return r._priority=this._priority,r._id=this._id,r}}function vx(){if(Fm(this))return null;let c=this.parent;for(;c&&c.is("attributeElement");){if(Fm(c)>1)return null;c=c.parent}return!c||Fm(c)>1?null:this.childCount}function Fm(c){return Array.from(c.getChildren()).filter(n=>!n.is("uiElement")).length}Yc.DEFAULT_PRIORITY=10,Yc.prototype.is=function(c,n){return n?n===this.name&&("attributeElement"===c||"view:attributeElement"===c||"element"===c||"view:element"===c):"attributeElement"===c||"view:attributeElement"===c||"element"===c||"view:element"===c||"node"===c||"view:node"===c};class Ul extends Ot{constructor(n,r,a,d){super(n,r,a,d),this.getFillerOffset=yx}_insertChild(n,r){if(r&&(r instanceof Hl||Array.from(r).length>0))throw new Y("view-emptyelement-cannot-add",[this,r]);return 0}}function yx(){return null}Ul.prototype.is=function(c,n){return n?n===this.name&&("emptyElement"===c||"view:emptyElement"===c||"element"===c||"view:element"===c):"emptyElement"===c||"view:emptyElement"===c||"element"===c||"view:element"===c||"node"===c||"view:node"===c};class Bm extends Ot{constructor(n,r,a,d){super(n,r,a,d),this.getFillerOffset=wx}_insertChild(n,r){if(r&&(r instanceof Hl||Array.from(r).length>0))throw new Y("view-uielement-cannot-add",[this,r]);return 0}render(n,r){return this.toDomElement(n)}toDomElement(n){const r=n.createElement(this.name);for(const a of this.getAttributeKeys())r.setAttribute(a,this.getAttribute(a));return r}}function wx(){return null}Bm.prototype.is=function(c,n){return n?n===this.name&&("uiElement"===c||"view:uiElement"===c||"element"===c||"view:element"===c):"uiElement"===c||"view:uiElement"===c||"element"===c||"view:element"===c||"node"===c||"view:node"===c};class b0 extends Ot{constructor(n,r,a,d){super(n,r,a,d),this.getFillerOffset=lt}_insertChild(n,r){if(r&&(r instanceof Hl||Array.from(r).length>0))throw new Y("view-rawelement-cannot-add",[this,r]);return 0}render(n,r){}}function lt(){return null}b0.prototype.is=function(c,n){return n?n===this.name&&("rawElement"===c||"view:rawElement"===c||"element"===c||"view:element"===c):"rawElement"===c||"view:rawElement"===c||c===this.name||c==="view:"+this.name||"element"===c||"view:element"===c||"node"===c||"view:node"===c};class Sn extends(ye(Vi)){constructor(n,r){super(),this._children=[],this._customProperties=new Map,this.document=n,r&&this._insertChild(0,r)}[Symbol.iterator](){return this._children[Symbol.iterator]()}get childCount(){return this._children.length}get isEmpty(){return 0===this.childCount}get root(){return this}get parent(){return null}get name(){}get getFillerOffset(){}getCustomProperty(n){return this._customProperties.get(n)}*getCustomProperties(){yield*this._customProperties.entries()}_appendChild(n){return this._insertChild(this.childCount,n)}getChild(n){return this._children[n]}getChildIndex(n){return this._children.indexOf(n)}getChildren(){return this._children[Symbol.iterator]()}_insertChild(n,r){this._fireChange("children",this);let a=0;const d=(u=this.document,"string"==typeof(p=r)?[new ui(u,p)]:(ai(p)||(p=[p]),Array.from(p).map(f=>"string"==typeof f?new ui(u,f):f instanceof Ws?new ui(u,f.data):f)));var u,p;for(const u of d)null!==u.parent&&u._remove(),u.parent=this,this._children.splice(n,0,u),n++,a++;return a}_removeChildren(n,r=1){this._fireChange("children",this);for(let a=n;a<n+r;a++)this._children[a].parent=null;return this._children.splice(n,r)}_fireChange(n,r){this.fire("change:"+n,r)}_setCustomProperty(n,r){this._customProperties.set(n,r)}_removeCustomProperty(n){return this._customProperties.delete(n)}}Sn.prototype.is=function(c){return"documentFragment"===c||"view:documentFragment"===c};class Pe{constructor(n){this._cloneGroups=new Map,this._slotFactory=null,this.document=n}setSelection(...n){this.document.selection._setTo(...n)}setSelectionFocus(n,r){this.document.selection._setFocus(n,r)}createDocumentFragment(n){return new Sn(this.document,n)}createText(n){return new ui(this.document,n)}createAttributeElement(n,r,a={}){const d=new Yc(this.document,n,r);return"number"==typeof a.priority&&(d._priority=a.priority),a.id&&(d._id=a.id),a.renderUnsafeAttributes&&d._unsafeAttributesToRender.push(...a.renderUnsafeAttributes),d}createContainerElement(n,r,a={},d={}){let u=null;ho(a)?d=a:u=a;const p=new hn(this.document,n,r,u);return d.renderUnsafeAttributes&&p._unsafeAttributesToRender.push(...d.renderUnsafeAttributes),p}createEditableElement(n,r,a={}){const d=new vr(this.document,n,r);return a.renderUnsafeAttributes&&d._unsafeAttributesToRender.push(...a.renderUnsafeAttributes),d}createEmptyElement(n,r,a={}){const d=new Ul(this.document,n,r);return a.renderUnsafeAttributes&&d._unsafeAttributesToRender.push(...a.renderUnsafeAttributes),d}createUIElement(n,r,a){const d=new Bm(this.document,n,r);return a&&(d.render=a),d}createRawElement(n,r,a,d={}){const u=new b0(this.document,n,r);return a&&(u.render=a),d.renderUnsafeAttributes&&u._unsafeAttributesToRender.push(...d.renderUnsafeAttributes),u}setAttribute(n,r,a){a._setAttribute(n,r)}removeAttribute(n,r){r._removeAttribute(n)}addClass(n,r){r._addClass(n)}removeClass(n,r){r._removeClass(n)}setStyle(n,r,a){ho(n)&&void 0===a?r._setStyle(n):a._setStyle(n,r)}removeStyle(n,r){r._removeStyle(n)}setCustomProperty(n,r,a){a._setCustomProperty(n,r)}removeCustomProperty(n,r){return r._removeCustomProperty(n)}breakAttributes(n){return n instanceof bt?this._breakAttributes(n):this._breakAttributesRange(n)}breakContainer(n){const r=n.parent;if(!r.is("containerElement"))throw new Y("view-writer-break-non-container-element",this.document);if(!r.parent)throw new Y("view-writer-break-root",this.document);if(n.isAtStart)return bt._createBefore(r);if(!n.isAtEnd){const a=r._clone(!1);this.insert(bt._createAfter(r),a);const d=new dn(n,bt._createAt(r,"end")),u=new bt(a,0);this.move(d,u)}return bt._createAfter(r)}mergeAttributes(n){const r=n.offset,a=n.parent;if(a.is("$text"))return n;if(a.is("attributeElement")&&0===a.childCount){const p=a.parent,f=a.index;return a._remove(),this._removeFromClonedElementsGroup(a),this.mergeAttributes(new bt(p,f))}const d=a.getChild(r-1),u=a.getChild(r);if(!d||!u)return n;if(d.is("$text")&&u.is("$text"))return qs(d,u);if(d.is("attributeElement")&&u.is("attributeElement")&&d.isSimilar(u)){const p=d.childCount;return d._appendChild(u.getChildren()),u._remove(),this._removeFromClonedElementsGroup(u),this.mergeAttributes(new bt(d,p))}return n}mergeContainers(n){const r=n.nodeBefore,a=n.nodeAfter;if(!(r&&a&&r.is("containerElement")&&a.is("containerElement")))throw new Y("view-writer-merge-containers-invalid-position",this.document);const d=r.getChild(r.childCount-1),u=bt._createAt(d instanceof ui?d:r,"end");return this.move(dn._createIn(a),bt._createAt(r,"end")),this.remove(dn._createOn(a)),u}insert(n,r){jm(r=ai(r)?[...r]:[r],this.document);const a=r.reduce((p,f)=>{const g=p[p.length-1],b=!f.is("uiElement");return g&&g.breakAttributes==b?g.nodes.push(f):p.push({breakAttributes:b,nodes:[f]}),p},[]);let d=null,u=n;for(const{nodes:p,breakAttributes:f}of a){const g=this._insertNodes(u,p,f);d||(d=g.start),u=g.end}return d?new dn(d,u):new dn(n)}remove(n){const r=n instanceof dn?n:dn._createOn(n);if(zm(r,this.document),r.isCollapsed)return new Sn(this.document);const{start:a,end:d}=this._breakAttributesRange(r,!0),f=a.parent._removeChildren(a.offset,d.offset-a.offset);for(const b of f)this._removeFromClonedElementsGroup(b);const g=this.mergeAttributes(a);return r.start=g,r.end=g.clone(),new Sn(this.document,f)}clear(n,r){zm(n,this.document);const a=n.getWalker({direction:"backward",ignoreElementEnd:!0});for(const d of a){const u=d.item;let p;if(u.is("element")&&r.isSimilar(u))p=dn._createOn(u);else if(!d.nextPosition.isAfter(n.start)&&u.is("$textProxy")){const f=u.getAncestors().find(g=>g.is("element")&&r.isSimilar(g));f&&(p=dn._createIn(f))}p&&(p.end.isAfter(n.end)&&(p.end=n.end),p.start.isBefore(n.start)&&(p.start=n.start),this.remove(p))}}move(n,r){let a;if(r.isAfter(n.end)){const d=(r=this._breakAttributes(r,!0)).parent,u=d.childCount;n=this._breakAttributesRange(n,!0),a=this.remove(n),r.offset+=d.childCount-u}else a=this.remove(n);return this.insert(r,a)}wrap(n,r){if(!(r instanceof Yc))throw new Y("view-writer-wrap-invalid-attribute",this.document);if(zm(n,this.document),n.isCollapsed){let d=n.start;d.parent.is("element")&&!Array.from(d.parent.getChildren()).some(p=>!p.is("uiElement"))&&(d=d.getLastMatchingPosition(p=>p.item.is("uiElement"))),d=this._wrapPosition(d,r);const u=this.document.selection;return u.isCollapsed&&u.getFirstPosition().isEqual(n.start)&&this.setSelection(d),new dn(d)}return this._wrapRange(n,r)}unwrap(n,r){if(!(r instanceof Yc))throw new Y("view-writer-unwrap-invalid-attribute",this.document);if(zm(n,this.document),n.isCollapsed)return n;const{start:a,end:d}=this._breakAttributesRange(n,!0),p=this._unwrapChildren(a.parent,a.offset,d.offset,r),f=this.mergeAttributes(p.start);f.isEqual(p.start)||p.end.offset--;const g=this.mergeAttributes(p.end);return new dn(f,g)}rename(n,r){const a=new hn(this.document,n,r.getAttributes());return this.insert(bt._createAfter(r),a),this.move(dn._createIn(r),bt._createAt(a,0)),this.remove(dn._createOn(r)),a}clearClonedElementsGroup(n){this._cloneGroups.delete(n)}createPositionAt(n,r){return bt._createAt(n,r)}createPositionAfter(n){return bt._createAfter(n)}createPositionBefore(n){return bt._createBefore(n)}createRange(n,r){return new dn(n,r)}createRangeOn(n){return dn._createOn(n)}createRangeIn(n){return dn._createIn(n)}createSelection(...n){return new Es(...n)}createSlot(n="children"){if(!this._slotFactory)throw new Y("view-writer-invalid-create-slot-context",this.document);return this._slotFactory(this,n)}_registerSlotFactory(n){this._slotFactory=n}_clearSlotFactory(){this._slotFactory=null}_insertNodes(n,r,a){let d,u;if(d=a?Oe(n):n.parent.is("$text")?n.parent.parent:n.parent,!d)throw new Y("view-writer-invalid-position-container",this.document);u=a?this._breakAttributes(n,!0):n.parent.is("$text")?Uc(n):n;const p=d._insertChild(u.offset,r);for(const k of r)this._addToClonedElementsGroup(k);const f=u.getShiftedBy(p),g=this.mergeAttributes(u);g.isEqual(u)||f.offset--;const b=this.mergeAttributes(f);return new dn(g,b)}_wrapChildren(n,r,a,d){let u=r;const p=[];for(;u<a;){const g=n.getChild(u),b=g.is("$text"),k=g.is("attributeElement");if(k&&this._wrapAttributeElement(d,g))p.push(new bt(n,u));else if(b||!k||Uo(d,g)){const S=d._clone();g._remove(),S._appendChild(g),n._insertChild(u,S),this._addToClonedElementsGroup(S),p.push(new bt(n,u))}else this._wrapChildren(g,0,g.childCount,d);u++}let f=0;for(const g of p)g.offset-=f,g.offset!=r&&(this.mergeAttributes(g).isEqual(g)||(f++,a--));return dn._createFromParentsAndOffsets(n,r,n,a)}_unwrapChildren(n,r,a,d){let u=r;const p=[];for(;u<a;){const g=n.getChild(u);if(g.is("attributeElement"))if(g.isSimilar(d)){const b=g.getChildren(),k=g.childCount;g._remove(),n._insertChild(u,b),this._removeFromClonedElementsGroup(g),p.push(new bt(n,u),new bt(n,u+k)),u+=k,a+=k-1}else this._unwrapAttributeElement(d,g)?(p.push(new bt(n,u),new bt(n,u+1)),u++):(this._unwrapChildren(g,0,g.childCount,d),u++);else u++}let f=0;for(const g of p)g.offset-=f,g.offset!=r&&g.offset!=a&&(this.mergeAttributes(g).isEqual(g)||(f++,a--));return dn._createFromParentsAndOffsets(n,r,n,a)}_wrapRange(n,r){const{start:a,end:d}=this._breakAttributesRange(n,!0),p=this._wrapChildren(a.parent,a.offset,d.offset,r),f=this.mergeAttributes(p.start);f.isEqual(p.start)||p.end.offset--;const g=this.mergeAttributes(p.end);return new dn(f,g)}_wrapPosition(n,r){if(r.isSimilar(n.parent))return v0(n.clone());n.parent.is("$text")&&(n=Uc(n));const a=this.createAttributeElement("_wrapPosition-fake-element");a._priority=Number.POSITIVE_INFINITY,a.isSimilar=()=>!1,n.parent._insertChild(n.offset,a);const d=new dn(n,n.getShiftedBy(1));this.wrap(d,r);const u=new bt(a.parent,a.index);a._remove();const p=u.nodeBefore,f=u.nodeAfter;return p instanceof ui&&f instanceof ui?qs(p,f):v0(u)}_wrapAttributeElement(n,r){if(!w0(n,r)||n.name!==r.name||n.priority!==r.priority)return!1;for(const a of n.getAttributeKeys())if("class"!==a&&"style"!==a&&r.hasAttribute(a)&&r.getAttribute(a)!==n.getAttribute(a))return!1;for(const a of n.getStyleNames())if(r.hasStyle(a)&&r.getStyle(a)!==n.getStyle(a))return!1;for(const a of n.getAttributeKeys())"class"!==a&&"style"!==a&&(r.hasAttribute(a)||this.setAttribute(a,n.getAttribute(a),r));for(const a of n.getStyleNames())r.hasStyle(a)||this.setStyle(a,n.getStyle(a),r);for(const a of n.getClassNames())r.hasClass(a)||this.addClass(a,r);return!0}_unwrapAttributeElement(n,r){if(!w0(n,r)||n.name!==r.name||n.priority!==r.priority)return!1;for(const a of n.getAttributeKeys())if("class"!==a&&"style"!==a&&(!r.hasAttribute(a)||r.getAttribute(a)!==n.getAttribute(a)))return!1;if(!r.hasClass(...n.getClassNames()))return!1;for(const a of n.getStyleNames())if(!r.hasStyle(a)||r.getStyle(a)!==n.getStyle(a))return!1;for(const a of n.getAttributeKeys())"class"!==a&&"style"!==a&&this.removeAttribute(a,r);return this.removeClass(Array.from(n.getClassNames()),r),this.removeStyle(Array.from(n.getStyleNames()),r),!0}_breakAttributesRange(n,r=!1){const a=n.start,d=n.end;if(zm(n,this.document),n.isCollapsed){const g=this._breakAttributes(n.start,r);return new dn(g,g)}const u=this._breakAttributes(d,r),p=u.parent.childCount,f=this._breakAttributes(a,r);return u.offset+=u.parent.childCount-p,new dn(f,u)}_breakAttributes(n,r=!1){const a=n.offset,d=n.parent;if(n.parent.is("emptyElement"))throw new Y("view-writer-cannot-break-empty-element",this.document);if(n.parent.is("uiElement"))throw new Y("view-writer-cannot-break-ui-element",this.document);if(n.parent.is("rawElement"))throw new Y("view-writer-cannot-break-raw-element",this.document);if(!r&&d.is("$text")&&k0(d.parent)||k0(d))return n.clone();if(d.is("$text"))return this._breakAttributes(Uc(n),r);if(a==d.childCount){const u=new bt(d.parent,d.index+1);return this._breakAttributes(u,r)}if(0===a){const u=new bt(d.parent,d.index);return this._breakAttributes(u,r)}{const u=d.index+1,p=d._clone();d.parent._insertChild(u,p),this._addToClonedElementsGroup(p);const g=d._removeChildren(a,d.childCount-a);p._appendChild(g);const b=new bt(d.parent,u);return this._breakAttributes(b,r)}}_addToClonedElementsGroup(n){if(!n.root.is("rootElement"))return;if(n.is("element"))for(const d of n.getChildren())this._addToClonedElementsGroup(d);const r=n.id;if(!r)return;let a=this._cloneGroups.get(r);a||(a=new Set,this._cloneGroups.set(r,a)),a.add(n),n._clonesGroup=a}_removeFromClonedElementsGroup(n){if(n.is("element"))for(const d of n.getChildren())this._removeFromClonedElementsGroup(d);const r=n.id;if(!r)return;const a=this._cloneGroups.get(r);a&&a.delete(n)}}function Oe(c){let n=c.parent;for(;!k0(n);){if(!n)return;n=n.parent}return n}function Uo(c,n){return c.priority<n.priority||!(c.priority>n.priority)&&c.getIdentity()<n.getIdentity()}function v0(c){const n=c.nodeBefore;if(n&&n.is("$text"))return new bt(n,n.data.length);const r=c.nodeAfter;return r&&r.is("$text")?new bt(r,0):c}function Uc(c){if(c.offset==c.parent.data.length)return new bt(c.parent.parent,c.parent.index+1);if(0===c.offset)return new bt(c.parent.parent,c.parent.index);const n=c.parent.data.slice(c.offset);return c.parent._data=c.parent.data.slice(0,c.offset),c.parent.parent._insertChild(c.parent.index+1,new ui(c.root.document,n)),new bt(c.parent.parent,c.parent.index+1)}function qs(c,n){const r=c.data.length;return c._data+=n.data,n._remove(),new bt(c,r)}const y0=[ui,Yc,hn,Ul,b0,Bm];function jm(c,n){for(const r of c){if(!y0.some(a=>r instanceof a))throw new Y("view-writer-insert-invalid-node-type",n);r.is("$text")||jm(r.getChildren(),n)}}function k0(c){return c&&(c.is("containerElement")||c.is("documentFragment"))}function zm(c,n){const r=Oe(c.start),a=Oe(c.end);if(!r||!a||r!==a)throw new Y("view-writer-invalid-range-container",n)}function w0(c,n){return null===c.id&&null===n.id}const Xo=c=>c.createTextNode("\xa0"),Da=c=>{const n=c.createElement("span");return n.dataset.ckeFiller="true",n.innerText="\xa0",n},C0=c=>{const n=c.createElement("br");return n.dataset.ckeFiller="true",n},er=7,as="\u2060".repeat(er);function ls(c){return"string"==typeof c?c.substr(0,er)===as:zi(c)&&c.data.substr(0,er)===as}function Jd(c){return c.data.length==er&&ls(c)}function sw(c){const n="string"==typeof c?c:c.data;return ls(c)?n.slice(er):n}function Cx(c,n){if(n.keyCode==_n.arrowleft){const r=n.domTarget.ownerDocument.defaultView.getSelection();if(1==r.rangeCount&&r.getRangeAt(0).collapsed){const a=r.getRangeAt(0).startContainer,d=r.getRangeAt(0).startOffset;ls(a)&&d<=er&&r.collapse(a,0)}}}var Vm=L(8264);yt()(Vm.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class aw extends(Xt()){constructor(n,r){super(),this.domDocuments=new Set,this.markedAttributes=new Set,this.markedChildren=new Set,this.markedTexts=new Set,this._inlineFiller=null,this._fakeSelectionContainer=null,this.domConverter=n,this.selection=r,this.set("isFocused",!1),this.set("isSelecting",!1),M.isBlink&&!M.isAndroid&&this.on("change:isSelecting",()=>{this.isSelecting||this.render()}),this.set("isComposing",!1),this.on("change:isComposing",()=>{this.isComposing||this.render()})}markToSync(n,r){if("text"===n)this.domConverter.mapViewToDom(r.parent)&&this.markedTexts.add(r);else{if(!this.domConverter.mapViewToDom(r))return;if("attributes"===n)this.markedAttributes.add(r);else{if("children"!==n)throw new Y("view-renderer-unknown-type",this);this.markedChildren.add(r)}}}render(){if(this.isComposing&&!M.isAndroid)return;let n=null;const r=!(M.isBlink&&!M.isAndroid&&this.isSelecting);for(const a of this.markedChildren)this._updateChildrenMappings(a);r?(this._inlineFiller&&!this._isSelectionInInlineFiller()&&this._removeInlineFiller(),this._inlineFiller?n=this._getInlineFillerPosition():this._needsInlineFillerAtSelection()&&(n=this.selection.getFirstPosition(),this.markedChildren.add(n.parent))):this._inlineFiller&&this._inlineFiller.parentNode&&(n=this.domConverter.domPositionToView(this._inlineFiller),n&&n.parent.is("$text")&&(n=bt._createBefore(n.parent)));for(const a of this.markedAttributes)this._updateAttrs(a);for(const a of this.markedChildren)this._updateChildren(a,{inlineFillerPosition:n});for(const a of this.markedTexts)!this.markedChildren.has(a.parent)&&this.domConverter.mapViewToDom(a.parent)&&this._updateText(a,{inlineFillerPosition:n});if(r)if(n){const a=this.domConverter.viewPositionToDom(n),d=a.parent.ownerDocument;this._inlineFiller=ls(a.parent)?a.parent:Hm(d,a.parent,a.offset)}else this._inlineFiller=null;this._updateFocus(),this._updateSelection(),this.domConverter._clearTemporaryCustomProperties(),this.markedTexts.clear(),this.markedAttributes.clear(),this.markedChildren.clear()}_updateChildrenMappings(n){const r=this.domConverter.mapViewToDom(n);if(!r)return;const a=Array.from(r.childNodes),d=Array.from(this.domConverter.viewChildrenToDom(n,{withChildren:!1})),u=this._diffNodeLists(a,d),p=this._findUpdateActions(u,a,d,Ax);if(-1!==p.indexOf("update")){const f={equal:0,insert:0,delete:0};for(const g of p)if("update"===g){const b=f.equal+f.insert,k=f.equal+f.delete,S=n.getChild(b);!S||S.is("uiElement")||S.is("rawElement")||this._updateElementMappings(S,a[k]),ol(d[b]),f.equal++}else f[g]++}}_updateElementMappings(n,r){this.domConverter.unbindDomElement(r),this.domConverter.bindElements(r,n),this.markedChildren.add(n),this.markedAttributes.add(n)}_getInlineFillerPosition(){const n=this.selection.getFirstPosition();return n.parent.is("$text")?bt._createBefore(n.parent):n}_isSelectionInInlineFiller(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const n=this.selection.getFirstPosition(),r=this.domConverter.viewPositionToDom(n);return!!(r&&zi(r.parent)&&ls(r.parent))}_removeInlineFiller(){const n=this._inlineFiller;if(!ls(n))throw new Y("view-renderer-filler-was-lost",this);Jd(n)?n.remove():n.data=n.data.substr(er),this._inlineFiller=null}_needsInlineFillerAtSelection(){if(1!=this.selection.rangeCount||!this.selection.isCollapsed)return!1;const n=this.selection.getFirstPosition(),r=n.parent,a=n.offset;if(!this.domConverter.mapViewToDom(r.root)||!r.is("element")||!function(p){if("false"==p.getAttribute("contenteditable"))return!1;const f=p.findAncestor(g=>g.hasAttribute("contenteditable"));return!f||"true"==f.getAttribute("contenteditable")}(r)||a===r.getFillerOffset())return!1;const d=n.nodeBefore,u=n.nodeAfter;return!(d instanceof ui||u instanceof ui||M.isAndroid&&(d||u))}_updateText(n,r){const a=this.domConverter.findCorrespondingDomText(n);let d=this.domConverter.viewToDom(n).data;const u=r.inlineFillerPosition;u&&u.parent==n.parent&&u.offset==n.index&&(d=as+d),D0(a,d)}_updateAttrs(n){const r=this.domConverter.mapViewToDom(n);if(!r)return;const a=Array.from(r.attributes).map(u=>u.name),d=n.getAttributeKeys();for(const u of d)this.domConverter.setDomElementAttribute(r,u,n.getAttribute(u),n);for(const u of a)n.hasAttribute(u)||this.domConverter.removeDomElementAttribute(r,u)}_updateChildren(n,r){const a=this.domConverter.mapViewToDom(n);if(!a)return;if(M.isAndroid){let S=null;for(const B of Array.from(a.childNodes)){if(S&&zi(S)&&zi(B)){a.normalize();break}S=B}}const d=r.inlineFillerPosition,u=a.childNodes,p=Array.from(this.domConverter.viewChildrenToDom(n,{bind:!0}));d&&d.parent===n&&Hm(a.ownerDocument,p,d.offset);const f=this._diffNodeLists(u,p),g=this._findUpdateActions(f,u,p,lw);let b=0;const k=new Set;for(const S of g)"delete"===S?(k.add(u[b]),ol(u[b])):"equal"!==S&&"update"!==S||b++;b=0;for(const S of g)"insert"===S?(km(a,b,p[b]),b++):"update"===S?(D0(u[b],p[b].data),b++):"equal"===S&&(this._markDescendantTextToSync(this.domConverter.domToView(p[b])),b++);for(const S of k)S.parentNode||this.domConverter.unbindDomElement(S)}_diffNodeLists(n,r){return q(n=function(a,d){const u=Array.from(a);return 0==u.length||!d||u[u.length-1]==d&&u.pop(),u}(n,this._fakeSelectionContainer),r,M0.bind(null,this.domConverter))}_findUpdateActions(n,r,a,d){if(-1===n.indexOf("insert")||-1===n.indexOf("delete"))return n;let u=[],p=[],f=[];const g={equal:0,insert:0,delete:0};for(const b of n)"insert"===b?f.push(a[g.equal+g.insert]):"delete"===b?p.push(r[g.equal+g.delete]):(u=u.concat(q(p,f,d).map(k=>"equal"===k?"update":k)),u.push("equal"),p=[],f=[]),g[b]++;return u.concat(q(p,f,d).map(b=>"equal"===b?"update":b))}_markDescendantTextToSync(n){if(n)if(n.is("$text"))this.markedTexts.add(n);else if(n.is("element"))for(const r of n.getChildren())this._markDescendantTextToSync(r)}_updateSelection(){if(M.isBlink&&!M.isAndroid&&this.isSelecting&&!this.markedChildren.size)return;if(0===this.selection.rangeCount)return this._removeDomSelection(),void this._removeFakeSelection();const n=this.domConverter.mapViewToDom(this.selection.editableElement);this.isFocused&&n&&(this.selection.isFake?this._updateFakeSelection(n):this._fakeSelectionContainer&&this._fakeSelectionContainer.isConnected?(this._removeFakeSelection(),this._updateDomSelection(n)):this.isComposing&&M.isAndroid||this._updateDomSelection(n))}_updateFakeSelection(n){const r=n.ownerDocument;this._fakeSelectionContainer||(this._fakeSelectionContainer=function(p){const f=p.createElement("div");return f.className="ck-fake-selection-container",Object.assign(f.style,{position:"fixed",top:0,left:"-9999px",width:"42px"}),f.textContent="\xa0",f}(r));const a=this._fakeSelectionContainer;if(this.domConverter.bindFakeSelection(a,this.selection),!this._fakeSelectionNeedsUpdate(n))return;a.parentElement&&a.parentElement==n||n.appendChild(a),a.textContent=this.selection.fakeSelectionLabel||"\xa0";const d=r.getSelection(),u=r.createRange();d.removeAllRanges(),u.selectNodeContents(a),d.addRange(u)}_updateDomSelection(n){const r=n.ownerDocument.defaultView.getSelection();if(!this._domSelectionNeedsUpdate(r))return;const a=this.domConverter.viewPositionToDom(this.selection.anchor),d=this.domConverter.viewPositionToDom(this.selection.focus);r.setBaseAndExtent(a.parent,a.offset,d.parent,d.offset),M.isGecko&&function(u,p){const f=u.parent;if(f.nodeType!=Node.ELEMENT_NODE||u.offset!=f.childNodes.length-1)return;const g=f.childNodes[u.offset];g&&"BR"==g.tagName&&p.addRange(p.getRangeAt(0))}(d,r)}_domSelectionNeedsUpdate(n){if(!this.domConverter.isDomSelectionCorrect(n))return!0;const r=n&&this.domConverter.domSelectionToView(n);return!(r&&this.selection.isEqual(r)||!this.selection.isCollapsed&&this.selection.isSimilar(r))}_fakeSelectionNeedsUpdate(n){const r=this._fakeSelectionContainer,a=n.ownerDocument.getSelection();return!r||r.parentElement!==n||a.anchorNode!==r&&!r.contains(a.anchorNode)||r.textContent!==this.selection.fakeSelectionLabel}_removeDomSelection(){for(const n of this.domDocuments){const r=n.getSelection();if(r.rangeCount){const a=n.activeElement,d=this.domConverter.mapDomToView(a);a&&d&&r.removeAllRanges()}}}_removeFakeSelection(){const n=this._fakeSelectionContainer;n&&n.remove()}_updateFocus(){if(this.isFocused){const n=this.selection.editableElement;n&&this.domConverter.focus(n)}}}function Hm(c,n,r){const a=n instanceof Array?n:n.childNodes,d=a[r];if(zi(d))return d.data=as+d.data,d;{const u=c.createTextNode(as);return Array.isArray(n)?a.splice(r,0,u):km(n,r,u),u}}function Ax(c,n){return wa(c)&&wa(n)&&!zi(c)&&!zi(n)&&!Oc(c)&&!Oc(n)&&c.tagName.toLowerCase()===n.tagName.toLowerCase()}function lw(c,n){return wa(c)&&wa(n)&&zi(c)&&zi(n)}function M0(c,n,r){return n===r||(zi(n)&&zi(r)?n.data===r.data:!(!c.isBlockFiller(n)||!c.isBlockFiller(r)))}function D0(c,n){const r=c.data;if(r==n)return;const a=j(r,n);for(const d of a)"insert"===d.type?c.insertData(d.index,d.values.join("")):c.deleteData(d.index,d.howMany)}const cw=C0(Vt.document),dw=Xo(Vt.document),uw=Da(Vt.document),Xd="data-ck-unsafe-attribute-",hw="data-ck-unsafe-element";class Ym{constructor(n,{blockFillerMode:r,renderingMode:a="editing"}={}){this._domToViewMapping=new WeakMap,this._viewToDomMapping=new WeakMap,this._fakeSelectionMapping=new WeakMap,this._rawContentElementMatcher=new ss,this._inlineObjectElementMatcher=new ss,this._elementsWithTemporaryCustomProperties=new Set,this.document=n,this.renderingMode=a,this.blockFillerMode=r||("editing"===a?"br":"nbsp"),this.preElements=["pre"],this.blockElements=["address","article","aside","blockquote","caption","center","dd","details","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","legend","li","main","menu","nav","ol","p","pre","section","summary","table","tbody","td","tfoot","th","thead","tr","ul"],this.inlineObjectElements=["object","iframe","input","button","textarea","select","option","video","embed","audio","img","canvas"],this.unsafeElements=["script","style"],this._domDocument="editing"===this.renderingMode?Vt.document:Vt.document.implementation.createHTMLDocument("")}bindFakeSelection(n,r){this._fakeSelectionMapping.set(n,new Es(r))}fakeSelectionToView(n){return this._fakeSelectionMapping.get(n)}bindElements(n,r){this._domToViewMapping.set(n,r),this._viewToDomMapping.set(r,n)}unbindDomElement(n){const r=this._domToViewMapping.get(n);if(r){this._domToViewMapping.delete(n),this._viewToDomMapping.delete(r);for(const a of Array.from(n.children))this.unbindDomElement(a)}}bindDocumentFragments(n,r){this._domToViewMapping.set(n,r),this._viewToDomMapping.set(r,n)}shouldRenderAttribute(n,r,a){return"data"===this.renderingMode||!(n=n.toLowerCase()).startsWith("on")&&("srcdoc"!==n||!r.match(/\bon\S+\s*=|javascript:|<\s*\/*script/i))&&("img"===a&&("src"===n||"srcset"===n)||"source"===a&&"srcset"===n||!r.match(/^\s*(javascript:|data:(image\/svg|text\/x?html))/i))}setContentOf(n,r){if("data"===this.renderingMode)return void(n.innerHTML=r);const a=(new DOMParser).parseFromString(r,"text/html"),d=a.createDocumentFragment(),u=a.body.childNodes;for(;u.length>0;)d.appendChild(u[0]);const p=a.createTreeWalker(d,NodeFilter.SHOW_ELEMENT),f=[];let g;for(;g=p.nextNode();)f.push(g);for(const b of f){for(const S of b.getAttributeNames())this.setDomElementAttribute(b,S,b.getAttribute(S));const k=b.tagName.toLowerCase();this._shouldRenameElement(k)&&(Kn(k),b.replaceWith(this._createReplacementDomElement(k,b)))}for(;n.firstChild;)n.firstChild.remove();n.append(d)}viewToDom(n,r={}){if(n.is("$text")){const a=this._processDataFromViewText(n);return this._domDocument.createTextNode(a)}{const a=n;if(this.mapViewToDom(a)){if(!a.getCustomProperty("editingPipeline:doNotReuseOnce"))return this.mapViewToDom(a);this._elementsWithTemporaryCustomProperties.add(a)}let d;if(a.is("documentFragment"))d=this._domDocument.createDocumentFragment(),r.bind&&this.bindDocumentFragments(d,a);else{if(a.is("uiElement"))return d="$comment"===a.name?this._domDocument.createComment(a.getCustomProperty("$rawContent")):a.render(this._domDocument,this),r.bind&&this.bindElements(d,a),d;this._shouldRenameElement(a.name)?(Kn(a.name),d=this._createReplacementDomElement(a.name)):d=a.hasAttribute("xmlns")?this._domDocument.createElementNS(a.getAttribute("xmlns"),a.name):this._domDocument.createElement(a.name),a.is("rawElement")&&a.render(d,this),r.bind&&this.bindElements(d,a);for(const u of a.getAttributeKeys())this.setDomElementAttribute(d,u,a.getAttribute(u),a)}if(!1!==r.withChildren)for(const u of this.viewChildrenToDom(a,r))d.appendChild(u);return d}}setDomElementAttribute(n,r,a,d){const u=this.shouldRenderAttribute(r,a,n.tagName.toLowerCase())||d&&d.shouldRenderUnsafeAttribute(r);u||ie("domconverter-unsafe-attribute-detected",{domElement:n,key:r,value:a}),function(p){try{Vt.document.createAttribute(p)}catch{return!1}return!0}(r)?(n.hasAttribute(r)&&!u?n.removeAttribute(r):n.hasAttribute(Xd+r)&&u&&n.removeAttribute(Xd+r),n.setAttribute(u?r:Xd+r,a)):ie("domconverter-invalid-attribute-detected",{domElement:n,key:r,value:a})}removeDomElementAttribute(n,r){r!=hw&&(n.removeAttribute(r),n.removeAttribute(Xd+r))}*viewChildrenToDom(n,r={}){const a=n.getFillerOffset&&n.getFillerOffset();let d=0;for(const u of n.getChildren()){a===d&&(yield this._getBlockFiller());const p=u.is("element")&&!!u.getCustomProperty("dataPipeline:transparentRendering")&&!bo(u.getAttributes());p&&"data"==this.renderingMode?yield*this.viewChildrenToDom(u,r):(p&&ie("domconverter-transparent-rendering-unsupported-in-editing-pipeline",{viewElement:u}),yield this.viewToDom(u,r)),d++}a===d&&(yield this._getBlockFiller())}viewRangeToDom(n){const r=this.viewPositionToDom(n.start),a=this.viewPositionToDom(n.end),d=this._domDocument.createRange();return d.setStart(r.parent,r.offset),d.setEnd(a.parent,a.offset),d}viewPositionToDom(n){const r=n.parent;if(r.is("$text")){const a=this.findCorrespondingDomText(r);if(!a)return null;let d=n.offset;return ls(a)&&(d+=er),{parent:a,offset:d}}{let a,d,u;if(0===n.offset){if(a=this.mapViewToDom(r),!a)return null;u=a.childNodes[0]}else{const p=n.nodeBefore;if(d=p.is("$text")?this.findCorrespondingDomText(p):this.mapViewToDom(p),!d)return null;a=d.parentNode,u=d.nextSibling}return zi(u)&&ls(u)?{parent:u,offset:er}:{parent:a,offset:d?il(d)+1:0}}}domToView(n,r={}){const a=[],d=this._domToView(n,r,a),u=d.next().value;return u?(d.next(),this._processDomInlineNodes(null,a,r),u.is("$text")&&0==u.data.length?null:u):null}*domChildrenToView(n,r={},a=[]){for(let d=0;d<n.childNodes.length;d++){const p=this._domToView(n.childNodes[d],r,a),f=p.next().value;null!==f&&(this._isBlockViewElement(f)&&this._processDomInlineNodes(n,a,r),yield f,p.next())}this._processDomInlineNodes(n,a,r)}domSelectionToView(n){if(function(d){if(!M.isGecko||!d.rangeCount)return!1;const u=d.getRangeAt(0).startContainer;try{Object.prototype.toString.call(u)}catch{return!0}return!1}(n))return new Es([]);if(1===n.rangeCount){let d=n.getRangeAt(0).startContainer;zi(d)&&(d=d.parentNode);const u=this.fakeSelectionToView(d);if(u)return u}const r=this.isDomSelectionBackward(n),a=[];for(let d=0;d<n.rangeCount;d++){const u=n.getRangeAt(d),p=this.domRangeToView(u);p&&a.push(p)}return new Es(a,{backward:r})}domRangeToView(n){const r=this.domPositionToView(n.startContainer,n.startOffset),a=this.domPositionToView(n.endContainer,n.endOffset);return r&&a?new dn(r,a):null}domPositionToView(n,r=0){if(this.isBlockFiller(n))return this.domPositionToView(n.parentNode,il(n));const a=this.mapDomToView(n);if(a&&(a.is("uiElement")||a.is("rawElement")))return bt._createBefore(a);if(zi(n)){if(Jd(n))return this.domPositionToView(n.parentNode,il(n));const d=this.findCorrespondingViewText(n);let u=r;return d?(ls(n)&&(u-=er,u=u<0?0:u),new bt(d,u)):null}if(0===r){const d=this.mapDomToView(n);if(d)return new bt(d,0)}else{const d=n.childNodes[r-1];if(zi(d)&&Jd(d)||d&&this.isBlockFiller(d))return this.domPositionToView(d.parentNode,il(d));const u=zi(d)?this.findCorrespondingViewText(d):this.mapDomToView(d);if(u&&u.parent)return new bt(u.parent,u.index+1)}return null}mapDomToView(n){return this.getHostViewElement(n)||this._domToViewMapping.get(n)}findCorrespondingViewText(n){if(Jd(n))return null;const r=this.getHostViewElement(n);if(r)return r;const a=n.previousSibling;if(a){if(!this.isElement(a))return null;const d=this.mapDomToView(a);if(d){const u=d.nextSibling;return u instanceof ui?u:null}}else{const d=this.mapDomToView(n.parentNode);if(d){const u=d.getChild(0);return u instanceof ui?u:null}}return null}mapViewToDom(n){return this._viewToDomMapping.get(n)}findCorrespondingDomText(n){const r=n.previousSibling;return r&&this.mapViewToDom(r)?this.mapViewToDom(r).nextSibling:!r&&n.parent&&this.mapViewToDom(n.parent)?this.mapViewToDom(n.parent).childNodes[0]:null}focus(n){const r=this.mapViewToDom(n);if(r&&r.ownerDocument.activeElement!==r){const{scrollX:a,scrollY:d}=Vt.window,u=[];Wl(r,p=>{const{scrollLeft:f,scrollTop:g}=p;u.push([f,g])}),r.focus(),Wl(r,p=>{const[f,g]=u.shift();p.scrollLeft=f,p.scrollTop=g}),Vt.window.scrollTo(a,d)}}_clearDomSelection(){const n=this.mapViewToDom(this.document.selection.editableElement);if(!n)return;const r=n.ownerDocument.defaultView.getSelection(),a=this.domSelectionToView(r);a&&a.rangeCount>0&&r.removeAllRanges()}isElement(n){return n&&n.nodeType==Node.ELEMENT_NODE}isDocumentFragment(n){return n&&n.nodeType==Node.DOCUMENT_FRAGMENT_NODE}isBlockFiller(n){return"br"==this.blockFillerMode?n.isEqualNode(cw):!("BR"!==n.tagName||!Oi(n,this.blockElements)||1!==n.parentNode.childNodes.length)||n.isEqualNode(uw)||(a=this.blockElements,(r=n).isEqualNode(dw)&&Oi(r,a)&&1===r.parentNode.childNodes.length);var r,a}isDomSelectionBackward(n){if(n.isCollapsed)return!1;const r=this._domDocument.createRange();try{r.setStart(n.anchorNode,n.anchorOffset),r.setEnd(n.focusNode,n.focusOffset)}catch{return!1}const a=r.collapsed;return r.detach(),a}getHostViewElement(n){const r=function(a){const d=[];let u=a;for(;u&&u.nodeType!=Node.DOCUMENT_NODE;)d.unshift(u),u=u.parentNode;return d}(n);for(r.pop();r.length;){const a=r.pop(),d=this._domToViewMapping.get(a);if(d&&(d.is("uiElement")||d.is("rawElement")))return d}return null}isDomSelectionCorrect(n){return this._isDomSelectionPositionCorrect(n.anchorNode,n.anchorOffset)&&this._isDomSelectionPositionCorrect(n.focusNode,n.focusOffset)}registerRawContentMatcher(n){this._rawContentElementMatcher.add(n)}registerInlineObjectMatcher(n){this._inlineObjectElementMatcher.add(n)}_clearTemporaryCustomProperties(){for(const n of this._elementsWithTemporaryCustomProperties)n._removeCustomProperty("editingPipeline:doNotReuseOnce");this._elementsWithTemporaryCustomProperties.clear()}_getBlockFiller(){switch(this.blockFillerMode){case"nbsp":return Xo(this._domDocument);case"markedNbsp":return Da(this._domDocument);case"br":return C0(this._domDocument)}}_isDomSelectionPositionCorrect(n,r){if(zi(n)&&ls(n)&&r<er||this.isElement(n)&&ls(n.childNodes[r]))return!1;const a=this.mapDomToView(n);return!a||!a.is("uiElement")&&!a.is("rawElement")}*_domToView(n,r,a){if(this.isBlockFiller(n))return null;const d=this.getHostViewElement(n);if(d)return d;if(Oc(n)&&r.skipComments)return null;if(zi(n)){if(Jd(n))return null;{const u=n.data;if(""===u)return null;const p=new ui(this.document,u);return a.push(p),p}}{let u=this.mapDomToView(n);if(u)return this._isInlineObjectElement(u)&&a.push(u),u;if(this.isDocumentFragment(n))u=new Sn(this.document),r.bind&&this.bindDocumentFragments(n,u);else{u=this._createViewElement(n,r),r.bind&&this.bindElements(n,u);const f=n.attributes;if(f)for(let g=f.length,b=0;b<g;b++)u._setAttribute(f[b].name,f[b].value);if(this._isViewElementWithRawContent(u,r))return u._setCustomProperty("$rawContent",n.innerHTML),this._isBlockViewElement(u)||a.push(u),u;if(Oc(n))return u._setCustomProperty("$rawContent",n.data),u}yield u;const p=[];if(!1!==r.withChildren)for(const f of this.domChildrenToView(n,r,p))u._appendChild(f);if(this._isInlineObjectElement(u))a.push(u);else for(const f of p)a.push(f)}}_processDomInlineNodes(n,r,a){if(!r.length||n&&!this.isDocumentFragment(n)&&!this._isBlockDomElement(n))return;let d=!1;for(let u=0;u<r.length;u++){const p=r[u];if(!p.is("$text")){d=!1;continue}let f,g=!1;if(yr(p,this.preElements))f=sw(p.data);else{f=p.data.replace(/[ \n\t\r]{1,}/g," "),g=/[^\S\u00A0]/.test(f.charAt(f.length-1));const b=u>0?r[u-1]:null,k=u+1<r.length?r[u+1]:null,S=!b||b.is("element")&&"br"==b.name||d,B=!k&&!ls(p.data);!1!==a.withChildren&&(S&&(f=f.replace(/^ /,"")),B&&(f=f.replace(/ $/,""))),f=sw(f),f=f.replace(/ \u00A0/g,"  ");const U=k&&k.is("element")&&"br"!=k.name,Z=k&&k.is("$text")&&" "==k.data.charAt(0);(/[ \u00A0]\u00A0$/.test(f)||!k||U||Z)&&(f=f.replace(/\u00A0$/," ")),(S||b&&b.is("element")&&"br"!=b.name)&&(f=f.replace(/^\u00A0/," "))}0==f.length&&p.parent?(p._remove(),r.splice(u,1),u--):(p._data=f,d=g)}r.length=0}_processDataFromViewText(n){let r=n.data;if(n.getAncestors().some(a=>this.preElements.includes(a.name)))return r;if(" "==r.charAt(0)){const a=this._getTouchingInlineViewNode(n,!1);!(a&&a.is("$textProxy")&&this._nodeEndsWithSpace(a))&&a||(r="\xa0"+r.substr(1))}if(" "==r.charAt(r.length-1)){const a=this._getTouchingInlineViewNode(n,!0),d=a&&a.is("$textProxy")&&" "==a.data.charAt(0);" "!=r.charAt(r.length-2)&&a&&!d||(r=r.substr(0,r.length-1)+"\xa0")}return r.replace(/ {2}/g," \xa0")}_nodeEndsWithSpace(n){if(n.getAncestors().some(a=>this.preElements.includes(a.name)))return!1;const r=this._processDataFromViewText(n);return" "==r.charAt(r.length-1)}_getTouchingInlineViewNode(n,r){const a=new Vc({startPosition:r?bt._createAfter(n):bt._createBefore(n),direction:r?"forward":"backward"});for(const d of a){if(d.item.is("element","br"))return null;if(this._isInlineObjectElement(d.item))return d.item;if(d.item.is("containerElement"))return null;if(d.item.is("$textProxy"))return d.item}return null}_isBlockDomElement(n){return this.isElement(n)&&this.blockElements.includes(n.tagName.toLowerCase())}_isBlockViewElement(n){return n.is("element")&&this.blockElements.includes(n.name)}_isInlineObjectElement(n){return!!n.is("element")&&("br"==n.name||this.inlineObjectElements.includes(n.name)||!!this._inlineObjectElementMatcher.match(n))}_createViewElement(n,r){if(Oc(n))return new Bm(this.document,"$comment");const a=r.keepOriginalCase?n.tagName:n.tagName.toLowerCase();return new Ot(this.document,a)}_isViewElementWithRawContent(n,r){return!1!==r.withChildren&&n.is("element")&&!!this._rawContentElementMatcher.match(n)}_shouldRenameElement(n){const r=n.toLowerCase();return"editing"===this.renderingMode&&this.unsafeElements.includes(r)}_createReplacementDomElement(n,r){const a=this._domDocument.createElement("span");if(a.setAttribute(hw,n),r){for(;r.firstChild;)a.appendChild(r.firstChild);for(const d of r.getAttributeNames())a.setAttribute(d,r.getAttribute(d))}return a}}function yr(c,n){return c.getAncestors().some(r=>r.is("element")&&n.includes(r.name))}function Wl(c,n){let r=c;for(;r;)n(r),r=r.parentElement}function Oi(c,n){const r=c.parentNode;return!!r&&!!r.tagName&&n.includes(r.tagName.toLowerCase())}function Kn(c){"script"===c&&ie("domconverter-unsafe-script-element-detected"),"style"===c&&ie("domconverter-unsafe-style-element-detected")}class Ta extends(Rr()){constructor(n){super(),this._isEnabled=!1,this.view=n,this.document=n.document}get isEnabled(){return this._isEnabled}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}destroy(){this.disable(),this.stopListening()}checkShouldIgnoreEventFromTarget(n){return n&&3===n.nodeType&&(n=n.parentNode),!(!n||1!==n.nodeType)&&n.matches("[data-cke-ignore-events], [data-cke-ignore-events] *")}}const pw=wm(function(c,n){Nn(n,Ho(n),c)});class eu{constructor(n,r,a){this.view=n,this.document=n.document,this.domEvent=r,this.domTarget=r.target,pw(this,a)}get target(){return this.view.domConverter.mapDomToView(this.domTarget)}preventDefault(){this.domEvent.preventDefault()}stopPropagation(){this.domEvent.stopPropagation()}}class pl extends Ta{constructor(){super(...arguments),this.useCapture=!1}observe(n){("string"==typeof this.domEventType?[this.domEventType]:this.domEventType).forEach(r=>{this.listenTo(n,r,(a,d)=>{this.isEnabled&&!this.checkShouldIgnoreEventFromTarget(d.target)&&this.onDomEvent(d)},{useCapture:this.useCapture})})}stopObserving(n){this.stopListening(n)}fire(n,r,a){this.isEnabled&&this.document.fire(n,new eu(this.view,r,a))}}class fw extends pl{constructor(){super(...arguments),this.domEventType=["keydown","keyup"]}onDomEvent(n){this.fire(n.type,n,{keyCode:n.keyCode,altKey:n.altKey,ctrlKey:n.ctrlKey,shiftKey:n.shiftKey,metaKey:n.metaKey,get keystroke(){return al(this)}})}}const tu=function(){return To.Date.now()};var $l=/\s/,Um=/^\s+/,$m=/^[-+]0x[0-9a-f]+$/i,T0=/^0b[01]+$/i,mw=/^0o[0-7]+$/i,gw=parseInt;const _w=function(c){if("number"==typeof c)return c;if(Bc(c))return NaN;if(Je(c)){var n="function"==typeof c.valueOf?c.valueOf():c;c=Je(n)?n+"":n}if("string"!=typeof c)return 0===c?c:+c;c=function(c){return c&&c.slice(0,function(c){for(var n=c.length;n--&&$l.test(c.charAt(n)););return n}(c)+1).replace(Um,"")}(c);var r=T0.test(c);return r||mw.test(c)?gw(c.slice(2),r?2:8):$m.test(c)?NaN:+c};var nu=Math.max,Wh=Math.min;const $h=function(c,n,r){var a,d,u,p,f,g,b=0,k=!1,S=!1,B=!0;if("function"!=typeof c)throw new TypeError("Expected a function");function U(Ee){var He=a,ct=d;return a=d=void 0,b=Ee,p=c.apply(ct,He)}function Z(Ee){var He=Ee-g;return void 0===g||He>=n||He<0||S&&Ee-b>=u}function te(){var He,ct,Ee=tu();if(Z(Ee))return fe(Ee);f=setTimeout(te,(ct=n-((He=Ee)-g),S?Wh(ct,u-(He-b)):ct))}function fe(Ee){return f=void 0,B&&a?U(Ee):(a=d=void 0,p)}function ge(){var ct,Ee=tu(),He=Z(Ee);if(a=arguments,d=this,g=Ee,He){if(void 0===f)return b=ct=g,f=setTimeout(te,n),k?U(ct):p;if(S)return clearTimeout(f),f=setTimeout(te,n),U(g)}return void 0===f&&(f=setTimeout(te,n)),p}return n=_w(n)||0,Je(r)&&(k=!!r.leading,u=(S="maxWait"in r)?nu(_w(r.maxWait)||0,n):u,B="trailing"in r?!!r.trailing:B),ge.cancel=function(){void 0!==f&&clearTimeout(f),b=0,a=g=d=f=void 0},ge.flush=function(){return void 0===f?p:fe(tu())},ge};class U4 extends Ta{constructor(n){super(n),this._fireSelectionChangeDoneDebounced=$h(r=>{this.document.fire("selectionChangeDone",r)},200)}observe(){const n=this.document;n.on("arrowKey",(r,a)=>{n.selection.isFake&&this.isEnabled&&a.preventDefault()},{context:"$capture"}),n.on("arrowKey",(r,a)=>{n.selection.isFake&&this.isEnabled&&this._handleSelectionMove(a.keyCode)},{priority:"lowest"})}stopObserving(){}destroy(){super.destroy(),this._fireSelectionChangeDoneDebounced.cancel()}_handleSelectionMove(n){const r=this.document.selection,a=new Es(r.getRanges(),{backward:r.isBackward,fake:!1});n!=_n.arrowleft&&n!=_n.arrowup||a.setTo(a.getFirstPosition()),n!=_n.arrowright&&n!=_n.arrowdown||a.setTo(a.getLastPosition());const d={oldSelection:r,newSelection:a,domSelection:null};this.document.fire("selectionChange",d),this._fireSelectionChangeDoneDebounced(d)}}function qm(c){var n=-1,r=null==c?0:c.length;for(this.__data__=new xt;++n<r;)this.add(c[n])}qm.prototype.add=qm.prototype.push=function(c){return this.__data__.set(c,"__lodash_hash_undefined__"),this},qm.prototype.has=function(c){return this.__data__.has(c)};const Dx=qm,$4=function(c,n){for(var r=-1,a=null==c?0:c.length;++r<a;)if(n(c[r],r,c))return!0;return!1},q4=function(c,n){return c.has(n)},Gm=function(c,n,r,a,d,u){var p=1&r,f=c.length,g=n.length;if(f!=g&&!(p&&g>f))return!1;var b=u.get(c),k=u.get(n);if(b&&k)return b==n&&k==c;var S=-1,B=!0,U=2&r?new Dx:void 0;for(u.set(c,n),u.set(n,c);++S<f;){var Z=c[S],te=n[S];if(a)var fe=p?a(te,Z,S,n,c,u):a(Z,te,S,c,n,u);if(void 0!==fe){if(fe)continue;B=!1;break}if(U){if(!$4(n,function(ge,Ee){if(!q4(U,Ee)&&(Z===ge||d(Z,ge,r,a,u)))return U.push(Ee)})){B=!1;break}}else if(Z!==te&&!d(Z,te,r,a,u)){B=!1;break}}return u.delete(c),u.delete(n),B},qh=function(c){var n=-1,r=Array(c.size);return c.forEach(function(a,d){r[++n]=[d,a]}),r},Tx=function(c){var n=-1,r=Array(c.size);return c.forEach(function(a){r[++n]=a}),r};var iu=vn?vn.prototype:void 0,Gh=iu?iu.valueOf:void 0,G4=Object.prototype.hasOwnProperty,E0="[object Arguments]",vw="[object Array]",cs="[object Object]",yw=Object.prototype.hasOwnProperty;const ou=function c(n,r,a,d,u){return n===r||(null==n||null==r||!zo(n)&&!zo(r)?n!=n&&r!=r:function(c,n,r,a,d,u){var p=jo(c),f=jo(n),g=p?vw:Vs(c),b=f?vw:Vs(n),k=(g=g==E0?cs:g)==cs,S=(b=b==E0?cs:b)==cs,B=g==b;if(B&&Fd(c)){if(!Fd(n))return!1;p=!0,k=!1}if(B&&!k)return u||(u=new ga),p||gt(c)?Gm(c,n,r,a,d,u):function(c,n,r,a,d,u,p){switch(r){case"[object DataView]":if(c.byteLength!=n.byteLength||c.byteOffset!=n.byteOffset)return!1;c=c.buffer,n=n.buffer;case"[object ArrayBuffer]":return!(c.byteLength!=n.byteLength||!u(new ya(c),new ya(n)));case"[object Boolean]":case"[object Date]":case"[object Number]":return ws(+c,+n);case"[object Error]":return c.name==n.name&&c.message==n.message;case"[object RegExp]":case"[object String]":return c==n+"";case"[object Map]":var f=qh;case"[object Set]":if(f||(f=Tx),c.size!=n.size&&!(1&a))return!1;var b=p.get(c);if(b)return b==n;a|=2,p.set(c,n);var k=Gm(f(c),f(n),a,d,u,p);return p.delete(c),k;case"[object Symbol]":if(Gh)return Gh.call(c)==Gh.call(n)}return!1}(c,n,g,r,a,d,u);if(!(1&r)){var U=k&&yw.call(c,"__wrapped__"),Z=S&&yw.call(n,"__wrapped__");if(U||Z){var te=U?c.value():c,fe=Z?n.value():n;return u||(u=new ga),d(te,fe,r,a,u)}}return!!B&&(u||(u=new ga),function(c,n,r,a,d,u){var p=1&r,f=cm(c),g=f.length;if(g!=cm(n).length&&!p)return!1;for(var b=g;b--;){var k=f[b];if(!(p?k in n:G4.call(n,k)))return!1}var S=u.get(c),B=u.get(n);if(S&&B)return S==n&&B==c;var U=!0;u.set(c,n),u.set(n,c);for(var Z=p;++b<g;){var te=c[k=f[b]],fe=n[k];if(a)var ge=p?a(fe,te,k,n,c,u):a(te,fe,k,c,n,u);if(!(void 0===ge?te===fe||d(te,fe,r,a,u):ge)){U=!1;break}Z||(Z="constructor"==k)}if(U&&!Z){var Ee=c.constructor,He=n.constructor;Ee==He||!("constructor"in c)||!("constructor"in n)||"function"==typeof Ee&&Ee instanceof Ee&&"function"==typeof He&&He instanceof He||(U=!1)}return u.delete(c),u.delete(n),U}(c,n,r,a,d,u))}(n,r,a,d,c,u))},kw=function(c,n,r){var a=(r="function"==typeof r?r:void 0)?r(c,n):void 0;return void 0===a?ou(c,n,void 0,r):!!a};class Kh extends Ta{constructor(n){super(n),this._config={childList:!0,characterData:!0,subtree:!0},this.domConverter=n.domConverter,this.renderer=n._renderer,this._domElements=new Set,this._mutationObserver=new window.MutationObserver(this._onMutations.bind(this))}flush(){this._onMutations(this._mutationObserver.takeRecords())}observe(n){this._domElements.add(n),this.isEnabled&&this._mutationObserver.observe(n,this._config)}stopObserving(n){if(this._domElements.delete(n),this.isEnabled){this._mutationObserver.disconnect();for(const r of this._domElements)this._mutationObserver.observe(r,this._config)}}enable(){super.enable();for(const n of this._domElements)this._mutationObserver.observe(n,this._config)}disable(){super.disable(),this._mutationObserver.disconnect()}destroy(){super.destroy(),this._mutationObserver.disconnect()}_onMutations(n){if(0===n.length)return;const r=this.domConverter,a=new Set,d=new Set;for(const p of n){const f=r.mapDomToView(p.target);f&&(f.is("uiElement")||f.is("rawElement")||"childList"!==p.type||this._isBogusBrMutation(p)||d.add(f))}for(const p of n){const f=r.mapDomToView(p.target);if((!f||!f.is("uiElement")&&!f.is("rawElement"))&&"characterData"===p.type){const g=r.findCorrespondingViewText(p.target);g&&!d.has(g.parent)?a.add(g):!g&&ls(p.target)&&d.add(r.mapDomToView(p.target.parentNode))}}let u=!1;for(const p of a)u=!0,this.renderer.markToSync("text",p);for(const p of d){const f=r.mapViewToDom(p),g=Array.from(p.getChildren()),b=Array.from(r.domChildrenToView(f,{withChildren:!1}));kw(g,b,S0)||(u=!0,this.renderer.markToSync("children",p))}u&&this.view.forceRender()}_isBogusBrMutation(n){let r=null;return null===n.nextSibling&&0===n.removedNodes.length&&1==n.addedNodes.length&&(r=this.domConverter.domToView(n.addedNodes[0],{withChildren:!1})),r&&r.is("element","br")}}function S0(c,n){if(!Array.isArray(c))return c===n||!(!c.is("$text")||!n.is("$text"))&&c.data===n.data}class Qm extends pl{constructor(n){super(n),this._isFocusChanging=!1,this.domEventType=["focus","blur"],this.useCapture=!0;const r=this.document;r.on("focus",()=>{this._isFocusChanging=!0,this._renderTimeoutId=setTimeout(()=>{this.flush(),n.change(()=>{})},50)}),r.on("blur",(a,d)=>{const u=r.selection.editableElement;null!==u&&u!==d.target||(r.isFocused=!1,this._isFocusChanging=!1,n.change(()=>{}))})}flush(){this._isFocusChanging&&(this._isFocusChanging=!1,this.document.isFocused=!0)}onDomEvent(n){this.fire(n.type,n)}destroy(){this._renderTimeoutId&&clearTimeout(this._renderTimeoutId),super.destroy()}}class ww extends Ta{constructor(n){super(n),this.mutationObserver=n.getObserver(Kh),this.focusObserver=n.getObserver(Qm),this.selection=this.document.selection,this.domConverter=n.domConverter,this._documents=new WeakSet,this._fireSelectionChangeDoneDebounced=$h(r=>{this.document.fire("selectionChangeDone",r)},200),this._clearInfiniteLoopInterval=setInterval(()=>this._clearInfiniteLoop(),1e3),this._documentIsSelectingInactivityTimeoutDebounced=$h(()=>this.document.isSelecting=!1,5e3),this._loopbackCounter=0}observe(n){const r=n.ownerDocument,a=()=>{this.document.isSelecting&&(this._handleSelectionChange(null,r),this.document.isSelecting=!1,this._documentIsSelectingInactivityTimeoutDebounced.cancel())};this.listenTo(n,"selectstart",()=>{this.document.isSelecting=!0,this._documentIsSelectingInactivityTimeoutDebounced()},{priority:"highest"}),this.listenTo(n,"keydown",a,{priority:"highest",useCapture:!0}),this.listenTo(n,"keyup",a,{priority:"highest",useCapture:!0}),this._documents.has(r)||(this.listenTo(r,"mouseup",a,{priority:"highest",useCapture:!0}),this.listenTo(r,"selectionchange",(d,u)=>{this.document.isComposing&&!M.isAndroid||(this._handleSelectionChange(u,r),this._documentIsSelectingInactivityTimeoutDebounced())}),this._documents.add(r))}stopObserving(n){this.stopListening(n)}destroy(){super.destroy(),clearInterval(this._clearInfiniteLoopInterval),this._fireSelectionChangeDoneDebounced.cancel(),this._documentIsSelectingInactivityTimeoutDebounced.cancel()}_reportInfiniteLoop(){}_handleSelectionChange(n,r){if(!this.isEnabled)return;const a=r.defaultView.getSelection();if(this.checkShouldIgnoreEventFromTarget(a.anchorNode))return;this.mutationObserver.flush();const d=this.domConverter.domSelectionToView(a);if(0!=d.rangeCount){if(this.view.hasDomSelection=!0,this.focusObserver.flush(),!this.selection.isEqual(d)||!this.domConverter.isDomSelectionCorrect(a))if(++this._loopbackCounter>60)this._reportInfiniteLoop();else if(this.selection.isSimilar(d))this.view.forceRender();else{const u={oldSelection:this.selection,newSelection:d,domSelection:a};this.document.fire("selectionChange",u),this._fireSelectionChangeDoneDebounced(u)}}else this.view.hasDomSelection=!1}_clearInfiniteLoop(){this._loopbackCounter=0}}class Cw extends pl{constructor(n){super(n),this.domEventType=["compositionstart","compositionupdate","compositionend"];const r=this.document;r.on("compositionstart",()=>{r.isComposing=!0},{priority:"low"}),r.on("compositionend",()=>{r.isComposing=!1},{priority:"low"})}onDomEvent(n){this.fire(n.type,n,{data:n.data})}}class I0{constructor(n,r={}){this._files=r.cacheFiles?L0(n):null,this._native=n}get files(){return this._files||(this._files=L0(this._native)),this._files}get types(){return this._native.types}getData(n){return this._native.getData(n)}setData(n,r){this._native.setData(n,r)}set effectAllowed(n){this._native.effectAllowed=n}get effectAllowed(){return this._native.effectAllowed}set dropEffect(n){this._native.dropEffect=n}get dropEffect(){return this._native.dropEffect}setDragImage(n,r,a){this._native.setDragImage(n,r,a)}get isCanceled(){return"none"==this._native.dropEffect||!!this._native.mozUserCancelled}}function L0(c){const n=Array.from(c.files||[]),r=Array.from(c.items||[]);return n.length?n:r.filter(a=>"file"===a.kind).map(a=>a.getAsFile())}class xx extends pl{constructor(){super(...arguments),this.domEventType="beforeinput"}onDomEvent(n){const r=n.getTargetRanges(),a=this.view,d=a.document;let u=null,p=null,f=[];if(n.dataTransfer&&(u=new I0(n.dataTransfer)),null!==n.data?p=n.data:u&&(p=u.getData("text/plain")),d.selection.isFake)f=Array.from(d.selection.getRanges());else if(r.length)f=r.map(g=>{const b=a.domConverter.domPositionToView(g.startContainer,g.startOffset),k=a.domConverter.domPositionToView(g.endContainer,g.endOffset);return b?a.createRange(b,k):k?a.createRange(k):void 0}).filter(g=>!!g);else if(M.isAndroid){const g=n.target.ownerDocument.defaultView.getSelection();f=Array.from(a.domConverter.domSelectionToView(g).getRanges())}if(M.isAndroid&&"insertCompositionText"==n.inputType&&p&&p.endsWith("\n"))this.fire(n.type,n,{inputType:"insertParagraph",targetRanges:[a.createRange(f[0].end)]});else if("insertText"==n.inputType&&p&&p.includes("\n")){const g=p.split(/\n{1,2}/g);let b=f;for(let k=0;k<g.length;k++){const S=g[k];""!=S&&(this.fire(n.type,n,{data:S,dataTransfer:u,targetRanges:b,inputType:n.inputType,isComposing:n.isComposing}),b=[d.selection.getFirstRange()]),k+1<g.length&&(this.fire(n.type,n,{inputType:"insertParagraph",targetRanges:b}),b=[d.selection.getFirstRange()])}}else this.fire(n.type,n,{data:p,dataTransfer:u,targetRanges:f,inputType:n.inputType,isComposing:n.isComposing})}}class Jm extends Ta{constructor(n){super(n),this.document.on("keydown",(r,a)=>{if(this.isEnabled&&((d=a.keyCode)==_n.arrowright||d==_n.arrowleft||d==_n.arrowup||d==_n.arrowdown)){const u=new Hc(this.document,"arrowKey",this.document.selection.getFirstRange());this.document.fire(u,a),u.stop.called&&r.stop()}var d})}observe(){}stopObserving(){}}class Wc extends Ta{constructor(n){super(n);const r=this.document;r.on("keydown",(a,d)=>{if(!this.isEnabled||d.keyCode!=_n.tab||d.ctrlKey)return;const u=new Hc(r,"tab",r.selection.getFirstRange());r.fire(u,d),u.stop.called&&a.stop()})}observe(){}stopObserving(){}}const ql=function(c){return Ud(c,5)};class Aw extends(Xt()){constructor(n){super(),this.domRoots=new Map,this._initialDomRootAttributes=new WeakMap,this._observers=new Map,this._ongoingChange=!1,this._postFixersInProgress=!1,this._renderingDisabled=!1,this._hasChangedSinceTheLastRendering=!1,this.document=new Rm(n),this.domConverter=new Ym(this.document),this.set("isRenderingInProgress",!1),this.set("hasDomSelection",!1),this._renderer=new aw(this.domConverter,this.document.selection),this._renderer.bind("isFocused","isSelecting","isComposing").to(this.document,"isFocused","isSelecting","isComposing"),this._writer=new Pe(this.document),this.addObserver(Kh),this.addObserver(Qm),this.addObserver(ww),this.addObserver(fw),this.addObserver(U4),this.addObserver(Cw),this.addObserver(Jm),this.addObserver(xx),this.addObserver(Wc),this.document.on("arrowKey",Cx,{priority:"low"}),function kx(c){c.document.on("arrowKey",(n,r)=>function(a,d,u){if(d.keyCode==_n.arrowright){const p=d.domTarget.ownerDocument.defaultView.getSelection(),f=1==p.rangeCount&&p.getRangeAt(0).collapsed;if(f||d.shiftKey){const k=u.domPositionToView(p.focusNode,p.focusOffset);if(null===k)return;let S=!1;const B=k.getLastMatchingPosition(U=>(U.item.is("uiElement")&&(S=!0),!(!U.item.is("uiElement")&&!U.item.is("attributeElement"))));if(S){const U=u.viewPositionToDom(B);f?p.collapse(U.parent,U.offset):p.extend(U.parent,U.offset)}}}}(0,r,c.domConverter),{priority:"low"})}(this),this.on("render",()=>{this._render(),this.document.fire("layoutChanged"),this._hasChangedSinceTheLastRendering=!1}),this.listenTo(this.document.selection,"change",()=>{this._hasChangedSinceTheLastRendering=!0}),this.listenTo(this.document,"change:isFocused",()=>{this._hasChangedSinceTheLastRendering=!0}),M.isiOS&&this.listenTo(this.document,"blur",(r,a)=>{this.domConverter.mapDomToView(a.domEvent.relatedTarget)||this.domConverter._clearDomSelection()})}attachDomRoot(n,r="main"){const a=this.document.getRoot(r);a._name=n.tagName.toLowerCase();const d={};for(const{name:p,value:f}of Array.from(n.attributes))d[p]=f,"class"===p?this._writer.addClass(f.split(" "),a):this._writer.setAttribute(p,f,a);this._initialDomRootAttributes.set(n,d);const u=()=>{this._writer.setAttribute("contenteditable",(!a.isReadOnly).toString(),a),a.isReadOnly?this._writer.addClass("ck-read-only",a):this._writer.removeClass("ck-read-only",a)};u(),this.domRoots.set(r,n),this.domConverter.bindElements(n,a),this._renderer.markToSync("children",a),this._renderer.markToSync("attributes",a),this._renderer.domDocuments.add(n.ownerDocument),a.on("change:children",(p,f)=>this._renderer.markToSync("children",f)),a.on("change:attributes",(p,f)=>this._renderer.markToSync("attributes",f)),a.on("change:text",(p,f)=>this._renderer.markToSync("text",f)),a.on("change:isReadOnly",()=>this.change(u)),a.on("change",()=>{this._hasChangedSinceTheLastRendering=!0});for(const p of this._observers.values())p.observe(n,r)}detachDomRoot(n){const r=this.domRoots.get(n);Array.from(r.attributes).forEach(({name:d})=>r.removeAttribute(d));const a=this._initialDomRootAttributes.get(r);for(const d in a)r.setAttribute(d,a[d]);this.domRoots.delete(n),this.domConverter.unbindDomElement(r);for(const d of this._observers.values())d.stopObserving(r)}getDomRoot(n="main"){return this.domRoots.get(n)}addObserver(n){let r=this._observers.get(n);if(r)return r;r=new n(this),this._observers.set(n,r);for(const[a,d]of this.domRoots)r.observe(d,a);return r.enable(),r}getObserver(n){return this._observers.get(n)}disableObservers(){for(const n of this._observers.values())n.disable()}enableObservers(){for(const n of this._observers.values())n.enable()}scrollToTheSelection({alignToTop:n,forceScroll:r,viewportOffset:a=20,ancestorOffset:d=20}={}){const u=this.document.selection.getFirstRange();if(!u)return;const p=ql({alignToTop:n,forceScroll:r,viewportOffset:a,ancestorOffset:d});"number"==typeof a&&(a={top:a,bottom:a,left:a,right:a});const f={target:this.domConverter.viewRangeToDom(u),viewportOffset:a,ancestorOffset:d,alignToTop:n,forceScroll:r};this.fire("scrollToTheSelection",f,p),function({target:g,viewportOffset:b=0,ancestorOffset:k=0,alignToTop:S,forceScroll:B}){const U=Aa(g);let Z=U,te=null;for(b="number"==typeof(fe=b)?{top:fe,bottom:fe,left:fe,right:fe}:fe;Z;){let fe;fe=Lh(Z==U?g:te),Hs({parent:fe,getRect:()=>rl(g,Z),alignToTop:S,ancestorOffset:k,forceScroll:B});const ge=rl(g,Z);if(mo({window:Z,rect:ge,viewportOffset:b,alignToTop:S,forceScroll:B}),Z.parent!=Z){if(te=Z.frameElement,Z=Z.parent,!te)return}else Z=null}var fe}(f)}focus(){if(!this.document.isFocused){const n=this.document.selection.editableElement;n&&(this.domConverter.focus(n),this.forceRender())}}change(n){if(this.isRenderingInProgress||this._postFixersInProgress)throw new Y("cannot-change-view-tree",this);try{if(this._ongoingChange)return n(this._writer);this._ongoingChange=!0;const r=n(this._writer);return this._ongoingChange=!1,!this._renderingDisabled&&this._hasChangedSinceTheLastRendering&&(this._postFixersInProgress=!0,this.document._callPostFixers(this._writer),this._postFixersInProgress=!1,this.fire("render")),r}catch(r){Y.rethrowUnexpectedError(r,this)}}forceRender(){this._hasChangedSinceTheLastRendering=!0,this.getObserver(Qm).flush(),this.change(()=>{})}destroy(){for(const n of this._observers.values())n.destroy();this.document.destroy(),this.stopListening()}createPositionAt(n,r){return bt._createAt(n,r)}createPositionAfter(n){return bt._createAfter(n)}createPositionBefore(n){return bt._createBefore(n)}createRange(n,r){return new dn(n,r)}createRangeOn(n){return dn._createOn(n)}createRangeIn(n){return dn._createIn(n)}createSelection(...n){return new Es(...n)}_disableRendering(n){this._renderingDisabled=n,0==n&&this.change(()=>{})}_render(){this.isRenderingInProgress=!0,this.disableObservers(),this._renderer.render(),this.enableObservers(),this.isRenderingInProgress=!1}}class fl{is(){throw new Error("is() method is abstract")}}class Gs extends fl{constructor(n){super(),this.parent=null,this._attrs=Ys(n)}get document(){return null}get index(){let n;if(!this.parent)return null;if(null===(n=this.parent.getChildIndex(this)))throw new Y("model-node-not-found-in-parent",this);return n}get startOffset(){let n;if(!this.parent)return null;if(null===(n=this.parent.getChildStartOffset(this)))throw new Y("model-node-not-found-in-parent",this);return n}get offsetSize(){return 1}get endOffset(){return this.parent?this.startOffset+this.offsetSize:null}get nextSibling(){const n=this.index;return null!==n&&this.parent.getChild(n+1)||null}get previousSibling(){const n=this.index;return null!==n&&this.parent.getChild(n-1)||null}get root(){let n=this;for(;n.parent;)n=n.parent;return n}isAttached(){return null!==this.parent&&this.root.isAttached()}getPath(){const n=[];let r=this;for(;r.parent;)n.unshift(r.startOffset),r=r.parent;return n}getAncestors(n={}){const r=[];let a=n.includeSelf?this:this.parent;for(;a;)r[n.parentFirst?"push":"unshift"](a),a=a.parent;return r}getCommonAncestor(n,r={}){const a=this.getAncestors(r),d=n.getAncestors(r);let u=0;for(;a[u]==d[u]&&a[u];)u++;return 0===u?null:a[u-1]}isBefore(n){if(this==n||this.root!==n.root)return!1;const r=this.getPath(),a=n.getPath(),d=Ht(r,a);switch(d){case"prefix":return!0;case"extension":return!1;default:return r[d]<a[d]}}isAfter(n){return this!=n&&this.root===n.root&&!this.isBefore(n)}hasAttribute(n){return this._attrs.has(n)}getAttribute(n){return this._attrs.get(n)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}toJSON(){const n={};return this._attrs.size&&(n.attributes=Array.from(this._attrs).reduce((r,a)=>(r[a[0]]=a[1],r),{})),n}_clone(n){return new this.constructor(this._attrs)}_remove(){this.parent._removeChildren(this.index)}_setAttribute(n,r){this._attrs.set(n,r)}_setAttributesTo(n){this._attrs=Ys(n)}_removeAttribute(n){return this._attrs.delete(n)}_clearAttributes(){this._attrs.clear()}}Gs.prototype.is=function(c){return"node"===c||"model:node"===c};class Zh{constructor(n){this._nodes=[],n&&this._insertNodes(0,n)}[Symbol.iterator](){return this._nodes[Symbol.iterator]()}get length(){return this._nodes.length}get maxOffset(){return this._nodes.reduce((n,r)=>n+r.offsetSize,0)}getNode(n){return this._nodes[n]||null}getNodeIndex(n){const r=this._nodes.indexOf(n);return-1==r?null:r}getNodeStartOffset(n){const r=this.getNodeIndex(n);return null===r?null:this._nodes.slice(0,r).reduce((a,d)=>a+d.offsetSize,0)}indexToOffset(n){if(n==this._nodes.length)return this.maxOffset;const r=this._nodes[n];if(!r)throw new Y("model-nodelist-index-out-of-bounds",this);return this.getNodeStartOffset(r)}offsetToIndex(n){let r=0;for(const a of this._nodes){if(n>=r&&n<r+a.offsetSize)return this.getNodeIndex(a);r+=a.offsetSize}if(r!=n)throw new Y("model-nodelist-offset-out-of-bounds",this,{offset:n,nodeList:this});return this.length}_insertNodes(n,r){for(const a of r)if(!(a instanceof Gs))throw new Y("model-nodelist-insertnodes-not-node",this);this._nodes=function(a,d,u,p){if(Math.max(d.length,a.length)>1e4)return a.slice(0,u).concat(d).concat(a.slice(u+0,a.length));{const f=Array.from(a);return f.splice(u,0,...d),f}}(this._nodes,Array.from(r),n)}_removeNodes(n,r=1){return this._nodes.splice(n,r)}toJSON(){return this._nodes.map(n=>n.toJSON())}}class Cn extends Gs{constructor(n,r){super(r),this._data=n||""}get offsetSize(){return this.data.length}get data(){return this._data}toJSON(){const n=super.toJSON();return n.data=this.data,n}_clone(){return new Cn(this.data,this.getAttributes())}static fromJSON(n){return new Cn(n.data,n.attributes)}}Cn.prototype.is=function(c){return"$text"===c||"model:$text"===c||"text"===c||"model:text"===c||"node"===c||"model:node"===c};class Ks extends fl{constructor(n,r,a){if(super(),this.textNode=n,r<0||r>n.offsetSize)throw new Y("model-textproxy-wrong-offsetintext",this);if(a<0||r+a>n.offsetSize)throw new Y("model-textproxy-wrong-length",this);this.data=n.data.substring(r,r+a),this.offsetInText=r}get startOffset(){return null!==this.textNode.startOffset?this.textNode.startOffset+this.offsetInText:null}get offsetSize(){return this.data.length}get endOffset(){return null!==this.startOffset?this.startOffset+this.offsetSize:null}get isPartial(){return this.offsetSize!==this.textNode.offsetSize}get parent(){return this.textNode.parent}get root(){return this.textNode.root}getPath(){const n=this.textNode.getPath();return n.length>0&&(n[n.length-1]+=this.offsetInText),n}getAncestors(n={}){const r=[];let a=n.includeSelf?this:this.parent;for(;a;)r[n.parentFirst?"push":"unshift"](a),a=a.parent;return r}hasAttribute(n){return this.textNode.hasAttribute(n)}getAttribute(n){return this.textNode.getAttribute(n)}getAttributes(){return this.textNode.getAttributes()}getAttributeKeys(){return this.textNode.getAttributeKeys()}}Ks.prototype.is=function(c){return"$textProxy"===c||"model:$textProxy"===c||"textProxy"===c||"model:textProxy"===c};class At extends Gs{constructor(n,r,a){super(r),this._children=new Zh,this.name=n,a&&this._insertChild(0,a)}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}getChild(n){return this._children.getNode(n)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(n){return this._children.getNodeIndex(n)}getChildStartOffset(n){return this._children.getNodeStartOffset(n)}offsetToIndex(n){return this._children.offsetToIndex(n)}getNodeByPath(n){let r=this;for(const a of n)r=r.getChild(r.offsetToIndex(a));return r}findAncestor(n,r={}){let a=r.includeSelf?this:this.parent;for(;a;){if(a.name===n)return a;a=a.parent}return null}toJSON(){const n=super.toJSON();if(n.name=this.name,this._children.length>0){n.children=[];for(const r of this._children)n.children.push(r.toJSON())}return n}_clone(n=!1){const r=n?Array.from(this._children).map(a=>a._clone(!0)):void 0;return new At(this.name,this.getAttributes(),r)}_appendChild(n){this._insertChild(this.childCount,n)}_insertChild(n,r){const a="string"==typeof(d=r)?[new Cn(d)]:(ai(d)||(d=[d]),Array.from(d).map(u=>"string"==typeof u?new Cn(u):u instanceof Ks?new Cn(u.data,u.getAttributes()):u));var d;for(const d of a)null!==d.parent&&d._remove(),d.parent=this;this._children._insertNodes(n,a)}_removeChildren(n,r=1){const a=this._children._removeNodes(n,r);for(const d of a)d.parent=null;return a}static fromJSON(n){let r;if(n.children){r=[];for(const a of n.children)r.push(a.name?At.fromJSON(a):Cn.fromJSON(a))}return new At(n.name,n.attributes,r)}}At.prototype.is=function(c,n){return n?n===this.name&&("element"===c||"model:element"===c):"element"===c||"model:element"===c||"node"===c||"model:node"===c};class Zs{constructor(n){if(!n||!n.boundaries&&!n.startPosition)throw new Y("model-tree-walker-no-start-position",null);const r=n.direction||"forward";if("forward"!=r&&"backward"!=r)throw new Y("model-tree-walker-unknown-direction",n,{direction:r});this.direction=r,this.boundaries=n.boundaries||null,this._position=n.startPosition?n.startPosition.clone():at._createAt(this.boundaries["backward"==this.direction?"end":"start"]),this.position.stickiness="toNone",this.singleCharacters=!!n.singleCharacters,this.shallow=!!n.shallow,this.ignoreElementEnd=!!n.ignoreElementEnd,this._boundaryStartParent=this.boundaries?this.boundaries.start.parent:null,this._boundaryEndParent=this.boundaries?this.boundaries.end.parent:null,this._visitedParent=this.position.parent}[Symbol.iterator](){return this}get position(){return this._position}skip(n){let r,a,d,u;do{d=this.position,u=this._visitedParent,({done:r,value:a}=this.next())}while(!r&&n(a));r||(this._position=d,this._visitedParent=u)}next(){return"forward"==this.direction?this._next():this._previous()}_next(){const n=this.position,r=this.position.clone(),a=this._visitedParent;if(null===a.parent&&r.offset===a.maxOffset)return{done:!0,value:void 0};if(a===this._boundaryEndParent&&r.offset==this.boundaries.end.offset)return{done:!0,value:void 0};const d=ml(r,a),u=d||qc(r,a,d);if(u instanceof At){if(this.shallow){if(this.boundaries&&this.boundaries.end.isBefore(r))return{done:!0,value:void 0};r.offset++}else r.path.push(0),this._visitedParent=u;return this._position=r,$c("elementStart",u,n,r,1)}if(u instanceof Cn){let p;if(this.singleCharacters)p=1;else{let b=u.endOffset;this._boundaryEndParent==a&&this.boundaries.end.offset<b&&(b=this.boundaries.end.offset),p=b-r.offset}const g=new Ks(u,r.offset-u.startOffset,p);return r.offset+=p,this._position=r,$c("text",g,n,r,p)}return r.path.pop(),r.offset++,this._position=r,this._visitedParent=a.parent,this.ignoreElementEnd?this._next():$c("elementEnd",a,n,r)}_previous(){const n=this.position,r=this.position.clone(),a=this._visitedParent;if(null===a.parent&&0===r.offset)return{done:!0,value:void 0};if(a==this._boundaryStartParent&&r.offset==this.boundaries.start.offset)return{done:!0,value:void 0};const d=r.parent,u=ml(r,d),p=u||Gc(r,d,u);if(p instanceof At)return r.offset--,this.shallow?(this._position=r,$c("elementStart",p,n,r,1)):(r.path.push(p.maxOffset),this._position=r,this._visitedParent=p,this.ignoreElementEnd?this._previous():$c("elementEnd",p,n,r));if(p instanceof Cn){let f;if(this.singleCharacters)f=1;else{let k=p.startOffset;this._boundaryStartParent==a&&this.boundaries.start.offset>k&&(k=this.boundaries.start.offset),f=r.offset-k}const b=new Ks(p,r.offset-p.startOffset-f,f);return r.offset-=f,this._position=r,$c("text",b,n,r,f)}return r.path.pop(),this._position=r,this._visitedParent=a.parent,$c("elementStart",a,n,r,1)}}function $c(c,n,r,a,d){return{done:!1,value:{type:c,item:n,previousPosition:r,nextPosition:a,length:d}}}class at extends fl{constructor(n,r,a="toNone"){if(super(),!n.is("element")&&!n.is("documentFragment"))throw new Y("model-position-root-invalid",n);if(!(r instanceof Array)||0===r.length)throw new Y("model-position-path-incorrect-format",n,{path:r});n.is("rootElement")?r=r.slice():(r=[...n.getPath(),...r],n=n.root),this.root=n,this.path=r,this.stickiness=a}get offset(){return this.path[this.path.length-1]}set offset(n){this.path[this.path.length-1]=n}get parent(){let n=this.root;for(let r=0;r<this.path.length-1;r++)if(n=n.getChild(n.offsetToIndex(this.path[r])),!n)throw new Y("model-position-path-incorrect",this,{position:this});if(n.is("$text"))throw new Y("model-position-path-incorrect",this,{position:this});return n}get index(){return this.parent.offsetToIndex(this.offset)}get textNode(){return ml(this,this.parent)}get nodeAfter(){const n=this.parent;return qc(this,n,ml(this,n))}get nodeBefore(){const n=this.parent;return Gc(this,n,ml(this,n))}get isAtStart(){return 0===this.offset}get isAtEnd(){return this.offset==this.parent.maxOffset}compareWith(n){if(this.root!=n.root)return"different";const r=Ht(this.path,n.path);switch(r){case"same":return"same";case"prefix":return"before";case"extension":return"after";default:return this.path[r]<n.path[r]?"before":"after"}}getLastMatchingPosition(n,r={}){r.startPosition=this;const a=new Zs(r);return a.skip(n),a.position}getParentPath(){return this.path.slice(0,-1)}getAncestors(){const n=this.parent;return n.is("documentFragment")?[n]:n.getAncestors({includeSelf:!0})}findAncestor(n){const r=this.parent;return r.is("element")?r.findAncestor(n,{includeSelf:!0}):null}getCommonPath(n){if(this.root!=n.root)return[];const r=Ht(this.path,n.path),a="string"==typeof r?Math.min(this.path.length,n.path.length):r;return this.path.slice(0,a)}getCommonAncestor(n){const r=this.getAncestors(),a=n.getAncestors();let d=0;for(;r[d]==a[d]&&r[d];)d++;return 0===d?null:r[d-1]}getShiftedBy(n){const r=this.clone(),a=r.offset+n;return r.offset=a<0?0:a,r}isAfter(n){return"after"==this.compareWith(n)}isBefore(n){return"before"==this.compareWith(n)}isEqual(n){return"same"==this.compareWith(n)}isTouching(n){if(this.root!==n.root)return!1;const r=Math.min(this.path.length,n.path.length);for(let a=0;a<r;a++){const d=this.path[a]-n.path[a];if(d<-1||d>1)return!1;if(1===d)return Kc(n,this,a);if(-1===d)return Kc(this,n,a)}return this.path.length===n.path.length||Xm(this.path.length>n.path.length?this.path:n.path,r)}hasSameParentAs(n){return this.root===n.root&&"same"==Ht(this.getParentPath(),n.getParentPath())}getTransformedByOperation(n){let r;switch(n.type){case"insert":r=this._getTransformedByInsertOperation(n);break;case"move":case"remove":case"reinsert":r=this._getTransformedByMoveOperation(n);break;case"split":r=this._getTransformedBySplitOperation(n);break;case"merge":r=this._getTransformedByMergeOperation(n);break;default:r=at._createAt(this)}return r}_getTransformedByInsertOperation(n){return this._getTransformedByInsertion(n.position,n.howMany)}_getTransformedByMoveOperation(n){return this._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany)}_getTransformedBySplitOperation(n){const r=n.movedRange;return r.containsPosition(this)||r.start.isEqual(this)&&"toNext"==this.stickiness?this._getCombined(n.splitPosition,n.moveTargetPosition):n.graveyardPosition?this._getTransformedByMove(n.graveyardPosition,n.insertionPosition,1):this._getTransformedByInsertion(n.insertionPosition,1)}_getTransformedByMergeOperation(n){const r=n.movedRange;let a;return r.containsPosition(this)||r.start.isEqual(this)?(a=this._getCombined(n.sourcePosition,n.targetPosition),n.sourcePosition.isBefore(n.targetPosition)&&(a=a._getTransformedByDeletion(n.deletionPosition,1))):a=this.isEqual(n.deletionPosition)?at._createAt(n.deletionPosition):this._getTransformedByMove(n.deletionPosition,n.graveyardPosition,1),a}_getTransformedByDeletion(n,r){const a=at._createAt(this);if(this.root!=n.root)return a;if("same"==Ht(n.getParentPath(),this.getParentPath())){if(n.offset<this.offset){if(n.offset+r>this.offset)return null;a.offset-=r}}else if("prefix"==Ht(n.getParentPath(),this.getParentPath())){const d=n.path.length-1;if(n.offset<=this.path[d]){if(n.offset+r>this.path[d])return null;a.path[d]-=r}}return a}_getTransformedByInsertion(n,r){const a=at._createAt(this);if(this.root!=n.root)return a;if("same"==Ht(n.getParentPath(),this.getParentPath()))(n.offset<this.offset||n.offset==this.offset&&"toPrevious"!=this.stickiness)&&(a.offset+=r);else if("prefix"==Ht(n.getParentPath(),this.getParentPath())){const d=n.path.length-1;n.offset<=this.path[d]&&(a.path[d]+=r)}return a}_getTransformedByMove(n,r,a){if(r=r._getTransformedByDeletion(n,a),n.isEqual(r))return at._createAt(this);const d=this._getTransformedByDeletion(n,a);return null===d||n.isEqual(this)&&"toNext"==this.stickiness||n.getShiftedBy(a).isEqual(this)&&"toPrevious"==this.stickiness?this._getCombined(n,r):d._getTransformedByInsertion(r,a)}_getCombined(n,r){const a=n.path.length-1,d=at._createAt(r);return d.stickiness=this.stickiness,d.offset=d.offset+this.path[a]-n.offset,d.path=[...d.path,...this.path.slice(a+1)],d}toJSON(){return{root:this.root.toJSON(),path:Array.from(this.path),stickiness:this.stickiness}}clone(){return new this.constructor(this.root,this.path,this.stickiness)}static _createAt(n,r,a="toNone"){if(n instanceof at)return new at(n.root,n.path,n.stickiness);{const d=n;if("end"==r)r=d.maxOffset;else{if("before"==r)return this._createBefore(d,a);if("after"==r)return this._createAfter(d,a);if(0!==r&&!r)throw new Y("model-createpositionat-offset-required",[this,n])}if(!d.is("element")&&!d.is("documentFragment"))throw new Y("model-position-parent-incorrect",[this,n]);const u=d.getPath();return u.push(r),new this(d.root,u,a)}}static _createAfter(n,r){if(!n.parent)throw new Y("model-position-after-root",[this,n],{root:n});return this._createAt(n.parent,n.endOffset,r)}static _createBefore(n,r){if(!n.parent)throw new Y("model-position-before-root",n,{root:n});return this._createAt(n.parent,n.startOffset,r)}static fromJSON(n,r){if("$graveyard"===n.root){const a=new at(r.graveyard,n.path);return a.stickiness=n.stickiness,a}if(!r.getRoot(n.root))throw new Y("model-position-fromjson-no-root",r,{rootName:n.root});return new at(r.getRoot(n.root),n.path,n.stickiness)}}function ml(c,n){const r=n.getChild(n.offsetToIndex(c.offset));return r&&r.is("$text")&&r.startOffset<c.offset?r:null}function qc(c,n,r){return null!==r?null:n.getChild(n.offsetToIndex(c.offset))}function Gc(c,n,r){return null!==r?null:n.getChild(n.offsetToIndex(c.offset)-1)}function Kc(c,n,r){return r+1!==c.path.length&&!!Xm(n.path,r+1)&&!!function(a,d){let u=a.parent,p=a.path.length-1,f=0;for(;p>=d;){if(a.path[p]+f!==u.maxOffset)return!1;f=1,p--,u=u.parent}return!0}(c,r+1)}function Xm(c,n){for(;n<c.length;){if(0!==c[n])return!1;n++}return!0}at.prototype.is=function(c){return"position"===c||"model:position"===c};class Ke extends fl{constructor(n,r){super(),this.start=at._createAt(n),this.end=at._createAt(r||n),this.start.stickiness=this.isCollapsed?"toNone":"toNext",this.end.stickiness=this.isCollapsed?"toNone":"toPrevious"}*[Symbol.iterator](){yield*new Zs({boundaries:this,ignoreElementEnd:!0})}get isCollapsed(){return this.start.isEqual(this.end)}get isFlat(){return"same"==Ht(this.start.getParentPath(),this.end.getParentPath())}get root(){return this.start.root}containsPosition(n){return n.isAfter(this.start)&&n.isBefore(this.end)}containsRange(n,r=!1){n.isCollapsed&&(r=!1);const a=this.containsPosition(n.start)||r&&this.start.isEqual(n.start),d=this.containsPosition(n.end)||r&&this.end.isEqual(n.end);return a&&d}containsItem(n){const r=at._createBefore(n);return this.containsPosition(r)||this.start.isEqual(r)}isEqual(n){return this.start.isEqual(n.start)&&this.end.isEqual(n.end)}isIntersecting(n){return this.start.isBefore(n.end)&&this.end.isAfter(n.start)}getDifference(n){const r=[];return this.isIntersecting(n)?(this.containsPosition(n.start)&&r.push(new Ke(this.start,n.start)),this.containsPosition(n.end)&&r.push(new Ke(n.end,this.end))):r.push(new Ke(this.start,this.end)),r}getIntersection(n){if(this.isIntersecting(n)){let r=this.start,a=this.end;return this.containsPosition(n.start)&&(r=n.start),this.containsPosition(n.end)&&(a=n.end),new Ke(r,a)}return null}getJoined(n,r=!1){let a=this.isIntersecting(n);if(a||(a=this.start.isBefore(n.start)?r?this.end.isTouching(n.start):this.end.isEqual(n.start):r?n.end.isTouching(this.start):n.end.isEqual(this.start)),!a)return null;let d=this.start,u=this.end;return n.start.isBefore(d)&&(d=n.start),n.end.isAfter(u)&&(u=n.end),new Ke(d,u)}getMinimalFlatRanges(){const n=[],r=this.start.getCommonPath(this.end).length,a=at._createAt(this.start);let d=a.parent;for(;a.path.length>r+1;){const u=d.maxOffset-a.offset;0!==u&&n.push(new Ke(a,a.getShiftedBy(u))),a.path=a.path.slice(0,-1),a.offset++,d=d.parent}for(;a.path.length<=this.end.path.length;){const u=this.end.path[a.path.length-1],p=u-a.offset;0!==p&&n.push(new Ke(a,a.getShiftedBy(p))),a.offset=u,a.path.push(0)}return n}getWalker(n={}){return n.boundaries=this,new Zs(n)}*getItems(n={}){n.boundaries=this,n.ignoreElementEnd=!0;const r=new Zs(n);for(const a of r)yield a.item}*getPositions(n={}){n.boundaries=this;const r=new Zs(n);yield r.position;for(const a of r)yield a.nextPosition}getTransformedByOperation(n){switch(n.type){case"insert":return this._getTransformedByInsertOperation(n);case"move":case"remove":case"reinsert":return this._getTransformedByMoveOperation(n);case"split":return[this._getTransformedBySplitOperation(n)];case"merge":return[this._getTransformedByMergeOperation(n)]}return[new Ke(this.start,this.end)]}getTransformedByOperations(n){const r=[new Ke(this.start,this.end)];for(const a of n)for(let d=0;d<r.length;d++){const u=r[d].getTransformedByOperation(a);r.splice(d,1,...u),d+=u.length-1}for(let a=0;a<r.length;a++){const d=r[a];for(let u=a+1;u<r.length;u++){const p=r[u];(d.containsRange(p)||p.containsRange(d)||d.isEqual(p))&&r.splice(u,1)}}return r}getCommonAncestor(){return this.start.getCommonAncestor(this.end)}getContainedElement(){if(this.isCollapsed)return null;const n=this.start.nodeAfter,r=this.end.nodeBefore;return n&&n.is("element")&&n===r?n:null}toJSON(){return{start:this.start.toJSON(),end:this.end.toJSON()}}clone(){return new this.constructor(this.start,this.end)}_getTransformedByInsertOperation(n,r=!1){return this._getTransformedByInsertion(n.position,n.howMany,r)}_getTransformedByMoveOperation(n,r=!1){return this._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany,r)}_getTransformedBySplitOperation(n){const r=this.start._getTransformedBySplitOperation(n);let a=this.end._getTransformedBySplitOperation(n);return this.end.isEqual(n.insertionPosition)&&(a=this.end.getShiftedBy(1)),r.root!=a.root&&(a=this.end.getShiftedBy(-1)),new Ke(r,a)}_getTransformedByMergeOperation(n){if(this.start.isEqual(n.targetPosition)&&this.end.isEqual(n.deletionPosition))return new Ke(this.start);let r=this.start._getTransformedByMergeOperation(n),a=this.end._getTransformedByMergeOperation(n);return r.root!=a.root&&(a=this.end.getShiftedBy(-1)),r.isAfter(a)?(n.sourcePosition.isBefore(n.targetPosition)?(r=at._createAt(a),r.offset=0):(n.deletionPosition.isEqual(r)||(a=n.deletionPosition),r=n.targetPosition),new Ke(r,a)):new Ke(r,a)}_getTransformedByInsertion(n,r,a=!1){if(a&&this.containsPosition(n))return[new Ke(this.start,n),new Ke(n.getShiftedBy(r),this.end._getTransformedByInsertion(n,r))];{const d=new Ke(this.start,this.end);return d.start=d.start._getTransformedByInsertion(n,r),d.end=d.end._getTransformedByInsertion(n,r),[d]}}_getTransformedByMove(n,r,a,d=!1){if(this.isCollapsed){const S=this.start._getTransformedByMove(n,r,a);return[new Ke(S)]}const u=Ke._createFromPositionAndShift(n,a),p=r._getTransformedByDeletion(n,a);if(this.containsPosition(r)&&!d&&(u.containsPosition(this.start)||u.containsPosition(this.end))){const S=this.start._getTransformedByMove(n,r,a),B=this.end._getTransformedByMove(n,r,a);return[new Ke(S,B)]}let f;const g=this.getDifference(u);let b=null;const k=this.getIntersection(u);if(1==g.length?b=new Ke(g[0].start._getTransformedByDeletion(n,a),g[0].end._getTransformedByDeletion(n,a)):2==g.length&&(b=new Ke(this.start,this.end._getTransformedByDeletion(n,a))),f=b?b._getTransformedByInsertion(p,a,null!==k||d):[],k){const S=new Ke(k.start._getCombined(u.start,p),k.end._getCombined(u.start,p));2==f.length?f.splice(1,0,S):f.push(S)}return f}_getTransformedByDeletion(n,r){let a=this.start._getTransformedByDeletion(n,r),d=this.end._getTransformedByDeletion(n,r);return null==a&&null==d?null:(null==a&&(a=n),null==d&&(d=n),new Ke(a,d))}static _createFromPositionAndShift(n,r){const a=n,d=n.getShiftedBy(r);return r>0?new this(a,d):new this(d,a)}static _createIn(n){return new this(at._createAt(n,0),at._createAt(n,n.maxOffset))}static _createOn(n){return this._createFromPositionAndShift(at._createBefore(n),n.offsetSize)}static _createFromRanges(n){if(0===n.length)throw new Y("range-create-from-ranges-empty-array",null);if(1==n.length)return n[0].clone();const r=n[0];n.sort((u,p)=>u.start.isAfter(p.start)?1:-1);const a=n.indexOf(r),d=new this(r.start,r.end);if(a>0)for(let u=a-1;n[u].end.isEqual(d.start);u++)d.start=at._createAt(n[u].start);for(let u=a+1;u<n.length&&n[u].start.isEqual(d.end);u++)d.end=at._createAt(n[u].end);return d}static fromJSON(n,r){return new this(at.fromJSON(n.start,r),at.fromJSON(n.end,r))}}Ke.prototype.is=function(c){return"range"===c||"model:range"===c};class Zc extends(ye()){constructor(){super(),this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._viewToModelLengthCallbacks=new Map,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._deferredBindingRemovals=new Map,this._unboundMarkerNames=new Set,this.on("modelToViewPosition",(n,r)=>{if(r.viewPosition)return;const a=this._modelToViewMapping.get(r.modelPosition.parent);if(!a)throw new Y("mapping-model-position-view-parent-not-found",this,{modelPosition:r.modelPosition});r.viewPosition=this.findPositionIn(a,r.modelPosition.offset)},{priority:"low"}),this.on("viewToModelPosition",(n,r)=>{if(r.modelPosition)return;const a=this.findMappedViewAncestor(r.viewPosition),d=this._viewToModelMapping.get(a),u=this._toModelOffset(r.viewPosition.parent,r.viewPosition.offset,a);r.modelPosition=at._createAt(d,u)},{priority:"low"})}bindElements(n,r){this._modelToViewMapping.set(n,r),this._viewToModelMapping.set(r,n)}unbindViewElement(n,r={}){const a=this.toModelElement(n);if(this._elementToMarkerNames.has(n))for(const d of this._elementToMarkerNames.get(n))this._unboundMarkerNames.add(d);r.defer?this._deferredBindingRemovals.set(n,n.root):(this._viewToModelMapping.delete(n),this._modelToViewMapping.get(a)==n&&this._modelToViewMapping.delete(a))}unbindModelElement(n){const r=this.toViewElement(n);this._modelToViewMapping.delete(n),this._viewToModelMapping.get(r)==n&&this._viewToModelMapping.delete(r)}bindElementToMarker(n,r){const a=this._markerNameToElements.get(r)||new Set;a.add(n);const d=this._elementToMarkerNames.get(n)||new Set;d.add(r),this._markerNameToElements.set(r,a),this._elementToMarkerNames.set(n,d)}unbindElementFromMarkerName(n,r){const a=this._markerNameToElements.get(r);a&&(a.delete(n),0==a.size&&this._markerNameToElements.delete(r));const d=this._elementToMarkerNames.get(n);d&&(d.delete(r),0==d.size&&this._elementToMarkerNames.delete(n))}flushUnboundMarkerNames(){const n=Array.from(this._unboundMarkerNames);return this._unboundMarkerNames.clear(),n}flushDeferredBindings(){for(const[n,r]of this._deferredBindingRemovals)n.root==r&&this.unbindViewElement(n);this._deferredBindingRemovals=new Map}clearBindings(){this._modelToViewMapping=new WeakMap,this._viewToModelMapping=new WeakMap,this._markerNameToElements=new Map,this._elementToMarkerNames=new Map,this._unboundMarkerNames=new Set,this._deferredBindingRemovals=new Map}toModelElement(n){return this._viewToModelMapping.get(n)}toViewElement(n){return this._modelToViewMapping.get(n)}toModelRange(n){return new Ke(this.toModelPosition(n.start),this.toModelPosition(n.end))}toViewRange(n){return new dn(this.toViewPosition(n.start),this.toViewPosition(n.end))}toModelPosition(n){const r={viewPosition:n,mapper:this};return this.fire("viewToModelPosition",r),r.modelPosition}toViewPosition(n,r={}){const a={modelPosition:n,mapper:this,isPhantom:r.isPhantom};return this.fire("modelToViewPosition",a),a.viewPosition}markerNameToElements(n){const r=this._markerNameToElements.get(n);if(!r)return null;const a=new Set;for(const d of r)if(d.is("attributeElement"))for(const u of d.getElementsWithSameId())a.add(u);else a.add(d);return a}registerViewToModelLength(n,r){this._viewToModelLengthCallbacks.set(n,r)}findMappedViewAncestor(n){let r=n.parent;for(;!this._viewToModelMapping.has(r);)r=r.parent;return r}_toModelOffset(n,r,a){if(a!=n)return this._toModelOffset(n.parent,n.index,a)+this._toModelOffset(n,r,n);if(n.is("$text"))return r;let d=0;for(let u=0;u<r;u++)d+=this.getModelLength(n.getChild(u));return d}getModelLength(n){if(this._viewToModelLengthCallbacks.get(n.name))return this._viewToModelLengthCallbacks.get(n.name)(n);if(this._viewToModelMapping.has(n))return 1;if(n.is("$text"))return n.data.length;if(n.is("uiElement"))return 0;{let r=0;for(const a of n.getChildren())r+=this.getModelLength(a);return r}}findPositionIn(n,r){let a,d=0,u=0,p=0;if(n.is("$text"))return new bt(n,r);for(;u<r;)a=n.getChild(p),d=this.getModelLength(a),u+=d,p++;return u==r?this._moveViewPositionToTextNode(new bt(n,p)):this.findPositionIn(a,r-(u-d))}_moveViewPositionToTextNode(n){const r=n.nodeBefore,a=n.nodeAfter;return r instanceof ui?new bt(r,r.data.length):a instanceof ui?new bt(a,0):n}}class K4{constructor(){this._consumable=new Map,this._textProxyRegistry=new Map}add(n,r){r=eg(r),n instanceof Ks&&(n=this._getSymbolForTextProxy(n)),this._consumable.has(n)||this._consumable.set(n,new Map),this._consumable.get(n).set(r,!0)}consume(n,r){return r=eg(r),n instanceof Ks&&(n=this._getSymbolForTextProxy(n)),!!this.test(n,r)&&(this._consumable.get(n).set(r,!1),!0)}test(n,r){r=eg(r),n instanceof Ks&&(n=this._getSymbolForTextProxy(n));const a=this._consumable.get(n);if(void 0===a)return null;const d=a.get(r);return void 0===d?null:d}revert(n,r){r=eg(r),n instanceof Ks&&(n=this._getSymbolForTextProxy(n));const a=this.test(n,r);return!1===a?(this._consumable.get(n).set(r,!0),!0):!0!==a&&null}verifyAllConsumed(n){const r=[];for(const[a,d]of this._consumable)for(const[u,p]of d){const f=u.split(":")[0];p&&n==f&&r.push({event:u,item:a.name||a.description})}if(r.length)throw new Y("conversion-model-consumable-not-consumed",null,{items:r})}_getSymbolForTextProxy(n){let r=null;const a=this._textProxyRegistry.get(n.startOffset);if(a){const d=a.get(n.endOffset);d&&(r=d.get(n.parent))}return r||(r=this._addSymbolForTextProxy(n)),r}_addSymbolForTextProxy(n){const r=n.startOffset,a=n.endOffset,d=n.parent,u=Symbol("$textProxy:"+n.data);let p,f;return p=this._textProxyRegistry.get(r),p||(p=new Map,this._textProxyRegistry.set(r,p)),f=p.get(a),f||(f=new Map,p.set(a,f)),f.set(d,u),u}}function eg(c){const n=c.split(":");return"insert"==n[0]?n[0]:"addMarker"==n[0]||"removeMarker"==n[0]?c:n.length>1?n[0]+":"+n[1]:n[0]}var Z4=Object.defineProperty,Q4=Object.defineProperties,J4=Object.getOwnPropertyDescriptors,Ex=Object.getOwnPropertySymbols,X4=Object.prototype.hasOwnProperty,eO=Object.prototype.propertyIsEnumerable,Qc=(c,n,r)=>n in c?Z4(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,O0=(c,n)=>{for(var r in n||(n={}))X4.call(n,r)&&Qc(c,r,n[r]);if(Ex)for(var r of Ex(n))eO.call(n,r)&&Qc(c,r,n[r]);return c},Mw=(c,n)=>Q4(c,J4(n));class io extends(ye()){constructor(n){super(),this._conversionApi=O0({dispatcher:this},n),this._firedEventsMap=new WeakMap}convertChanges(n,r,a){const d=this._createConversionApi(a,n.getRefreshedItems());for(const p of n.getMarkersToRemove())this._convertMarkerRemove(p.name,p.range,d);const u=this._reduceChanges(n.getChanges());for(const p of u)"insert"===p.type?this._convertInsert(Ke._createFromPositionAndShift(p.position,p.length),d):"reinsert"===p.type?this._convertReinsert(Ke._createFromPositionAndShift(p.position,p.length),d):"remove"===p.type?this._convertRemove(p.position,p.length,p.name,d):this._convertAttribute(p.range,p.attributeKey,p.attributeOldValue,p.attributeNewValue,d);d.mapper.flushDeferredBindings();for(const p of d.mapper.flushUnboundMarkerNames()){const f=r.get(p).getRange();this._convertMarkerRemove(p,f,d),this._convertMarkerAdd(p,f,d)}for(const p of n.getMarkersToAdd())this._convertMarkerAdd(p.name,p.range,d);d.consumable.verifyAllConsumed("insert")}convert(n,r,a,d={}){const u=this._createConversionApi(a,void 0,d);this._convertInsert(n,u);for(const[p,f]of r)this._convertMarkerAdd(p,f,u);u.consumable.verifyAllConsumed("insert")}convertSelection(n,r,a){const d=this._createConversionApi(a);this.fire("cleanSelection",{selection:n},d);const u=n.getFirstPosition().root;if(!d.mapper.toViewElement(u))return;const p=Array.from(r.getMarkersAtPosition(n.getFirstPosition()));if(this._addConsumablesForSelection(d.consumable,n,p),this.fire("selection",{selection:n},d),n.isCollapsed){for(const f of p)if(d.consumable.test(n,"addMarker:"+f.name)){const g=f.getRange();if(!Sx(n.getFirstPosition(),f,d.mapper))continue;this.fire(`addMarker:${f.name}`,{item:n,markerName:f.name,markerRange:g},d)}for(const f of n.getAttributeKeys())if(d.consumable.test(n,"attribute:"+f)){const g={item:n,range:n.getFirstRange(),attributeKey:f,attributeOldValue:null,attributeNewValue:n.getAttribute(f)};this.fire(`attribute:${f}:$text`,g,d)}}}_convertInsert(n,r,a={}){a.doNotAddConsumables||this._addConsumablesForInsert(r.consumable,n);for(const d of Array.from(n.getWalker({shallow:!0})).map(ru))this._testAndFire("insert",d,r)}_convertRemove(n,r,a,d){this.fire(`remove:${a}`,{position:n,length:r},d)}_convertAttribute(n,r,a,d,u){this._addConsumablesForRange(u.consumable,n,`attribute:${r}`);for(const p of n){const f={item:p.item,range:Ke._createFromPositionAndShift(p.previousPosition,p.length),attributeKey:r,attributeOldValue:a,attributeNewValue:d};this._testAndFire(`attribute:${r}`,f,u)}}_convertReinsert(n,r){const a=Array.from(n.getWalker({shallow:!0}));this._addConsumablesForInsert(r.consumable,a);for(const d of a.map(ru))this._testAndFire("insert",Mw(O0({},d),{reconversion:!0}),r)}_convertMarkerAdd(n,r,a){if("$graveyard"==r.root.rootName)return;const d=`addMarker:${n}`;if(a.consumable.add(r,d),this.fire(d,{markerName:n,markerRange:r},a),a.consumable.consume(r,d)){this._addConsumablesForRange(a.consumable,r,d);for(const u of r.getItems()){if(!a.consumable.test(u,d))continue;const p={item:u,range:Ke._createOn(u),markerName:n,markerRange:r};this.fire(d,p,a)}}}_convertMarkerRemove(n,r,a){"$graveyard"!=r.root.rootName&&this.fire(`removeMarker:${n}`,{markerName:n,markerRange:r},a)}_reduceChanges(n){const r={changes:n};return this.fire("reduceChanges",r),r.changes}_addConsumablesForInsert(n,r){for(const a of r){const d=a.item;if(null===n.test(d,"insert")){n.add(d,"insert");for(const u of d.getAttributeKeys())n.add(d,"attribute:"+u)}}return n}_addConsumablesForRange(n,r,a){for(const d of r.getItems())n.add(d,a);return n}_addConsumablesForSelection(n,r,a){n.add(r,"selection");for(const d of a)n.add(r,"addMarker:"+d.name);for(const d of r.getAttributeKeys())n.add(r,"attribute:"+d);return n}_testAndFire(n,r,a){const d=`${n}:${(b=r).item.is("element")?b.item.name:"$text"}`,u=r.item.is("$textProxy")?a.consumable._getSymbolForTextProxy(r.item):r.item,p=this._firedEventsMap.get(a),f=p.get(u);var b;if(f){if(f.has(d))return;f.add(d)}else p.set(u,new Set([d]));this.fire(d,r,a)}_testAndFireAddAttributes(n,r){const a={item:n,range:Ke._createOn(n)};for(const d of a.item.getAttributeKeys())a.attributeKey=d,a.attributeOldValue=null,a.attributeNewValue=a.item.getAttribute(d),this._testAndFire(`attribute:${d}`,a,r)}_createConversionApi(n,r=new Set,a={}){const d=Mw(O0({},this._conversionApi),{consumable:new K4,writer:n,options:a,convertItem:u=>this._convertInsert(Ke._createOn(u),d),convertChildren:u=>this._convertInsert(Ke._createIn(u),d,{doNotAddConsumables:!0}),convertAttributes:u=>this._testAndFireAddAttributes(u,d),canReuseView:u=>!r.has(d.mapper.toModelElement(u))});return this._firedEventsMap.set(d,new Map),d}}function Sx(c,n,r){const a=n.getRange(),d=Array.from(c.getAncestors());return d.shift(),d.reverse(),!d.some(u=>{if(a.containsItem(u))return!!r.toViewElement(u).getCustomProperty("addHighlight")})}function ru(c){return{item:c.item,range:Ke._createFromPositionAndShift(c.previousPosition,c.length)}}class ds extends(ye(fl)){constructor(...n){super(),this._lastRangeBackward=!1,this._attrs=new Map,this._ranges=[],n.length&&this.setTo(...n)}get anchor(){if(this._ranges.length>0){const n=this._ranges[this._ranges.length-1];return this._lastRangeBackward?n.end:n.start}return null}get focus(){if(this._ranges.length>0){const n=this._ranges[this._ranges.length-1];return this._lastRangeBackward?n.start:n.end}return null}get isCollapsed(){return 1===this._ranges.length&&this._ranges[0].isCollapsed}get rangeCount(){return this._ranges.length}get isBackward(){return!this.isCollapsed&&this._lastRangeBackward}isEqual(n){if(this.rangeCount!=n.rangeCount)return!1;if(0===this.rangeCount)return!0;if(!this.anchor.isEqual(n.anchor)||!this.focus.isEqual(n.focus))return!1;for(const r of this._ranges){let a=!1;for(const d of n._ranges)if(r.isEqual(d)){a=!0;break}if(!a)return!1}return!0}*getRanges(){for(const n of this._ranges)yield new Ke(n.start,n.end)}getFirstRange(){let n=null;for(const r of this._ranges)n&&!r.start.isBefore(n.start)||(n=r);return n?new Ke(n.start,n.end):null}getLastRange(){let n=null;for(const r of this._ranges)n&&!r.end.isAfter(n.end)||(n=r);return n?new Ke(n.start,n.end):null}getFirstPosition(){const n=this.getFirstRange();return n?n.start.clone():null}getLastPosition(){const n=this.getLastRange();return n?n.end.clone():null}setTo(...n){let[r,a,d]=n;if("object"==typeof a&&(d=a,a=void 0),null===r)this._setRanges([]);else if(r instanceof ds)this._setRanges(r.getRanges(),r.isBackward);else if(r&&"function"==typeof r.getRanges)this._setRanges(r.getRanges(),r.isBackward);else if(r instanceof Ke)this._setRanges([r],!!d&&!!d.backward);else if(r instanceof at)this._setRanges([new Ke(r)]);else if(r instanceof Gs){const u=!!d&&!!d.backward;let p;if("in"==a)p=Ke._createIn(r);else if("on"==a)p=Ke._createOn(r);else{if(void 0===a)throw new Y("model-selection-setto-required-second-parameter",[this,r]);p=new Ke(at._createAt(r,a))}this._setRanges([p],u)}else{if(!ai(r))throw new Y("model-selection-setto-not-selectable",[this,r]);this._setRanges(r,d&&!!d.backward)}}_setRanges(n,r=!1){const a=Array.from(n),d=a.some(u=>{if(!(u instanceof Ke))throw new Y("model-selection-set-ranges-not-range",[this,n]);return this._ranges.every(p=>!p.isEqual(u))});(a.length!==this._ranges.length||d)&&(this._replaceAllRanges(a),this._lastRangeBackward=!!r,this.fire("change:range",{directChange:!0}))}setFocus(n,r){if(null===this.anchor)throw new Y("model-selection-setfocus-no-ranges",[this,n]);const a=at._createAt(n,r);if("same"==a.compareWith(this.focus))return;const d=this.anchor;this._ranges.length&&this._popRange(),"before"==a.compareWith(d)?(this._pushRange(new Ke(a,d)),this._lastRangeBackward=!0):(this._pushRange(new Ke(d,a)),this._lastRangeBackward=!1),this.fire("change:range",{directChange:!0})}getAttribute(n){return this._attrs.get(n)}getAttributes(){return this._attrs.entries()}getAttributeKeys(){return this._attrs.keys()}hasAttribute(n){return this._attrs.has(n)}removeAttribute(n){this.hasAttribute(n)&&(this._attrs.delete(n),this.fire("change:attribute",{attributeKeys:[n],directChange:!0}))}setAttribute(n,r){this.getAttribute(n)!==r&&(this._attrs.set(n,r),this.fire("change:attribute",{attributeKeys:[n],directChange:!0}))}getSelectedElement(){return 1!==this.rangeCount?null:this.getFirstRange().getContainedElement()}*getSelectedBlocks(){const n=new WeakSet;for(const r of this.getRanges()){const a=P0(r.start,n);Qh(a,r)&&(yield a);for(const u of r.getWalker()){const p=u.item;"elementEnd"==u.type&&su(p,n,r)&&(yield p)}const d=P0(r.end,n);Ix(d,r)&&(yield d)}}containsEntireContent(n=this.anchor.root){const r=at._createAt(n,0),a=at._createAt(n,"end");return r.isTouching(this.getFirstPosition())&&a.isTouching(this.getLastPosition())}_pushRange(n){this._checkRange(n),this._ranges.push(new Ke(n.start,n.end))}_checkRange(n){for(let r=0;r<this._ranges.length;r++)if(n.isIntersecting(this._ranges[r]))throw new Y("model-selection-range-intersects",[this,n],{addedRange:n,intersectingRange:this._ranges[r]})}_replaceAllRanges(n){this._removeAllRanges();for(const r of n)this._pushRange(r)}_removeAllRanges(){for(;this._ranges.length>0;)this._popRange()}_popRange(){this._ranges.pop()}}function us(c,n){return!n.has(c)&&(n.add(c),c.root.document.model.schema.isBlock(c)&&!!c.parent)}function su(c,n,r){return us(c,n)&&au(c,r)}function P0(c,n){const r=c.parent.root.document.model.schema,a=c.parent.getAncestors({parentFirst:!0,includeSelf:!0});let d=!1;const u=a.find(p=>!d&&(d=r.isLimit(p),!d&&us(p,n)));return a.forEach(p=>n.add(p)),u}function au(c,n){const r=function(a){const d=a.root.document.model.schema;let u=a.parent;for(;u;){if(d.isBlock(u))return u;u=u.parent}}(c);return!r||!n.containsRange(Ke._createOn(r),!0)}function Qh(c,n){return!!c&&(!(!n.isCollapsed&&!c.isEmpty)||!n.start.isTouching(at._createAt(c,c.maxOffset))&&au(c,n))}function Ix(c,n){return!!c&&(!(!n.isCollapsed&&!c.isEmpty)||!n.end.isTouching(at._createAt(c,0))&&au(c,n))}ds.prototype.is=function(c){return"selection"===c||"model:selection"===c};class Ss extends(ye(Ke)){constructor(n,r){super(n,r),Lx.call(this)}detach(){this.stopListening()}toRange(){return new Ke(this.start,this.end)}static fromRange(n){return new Ss(n.start,n.end)}}function Lx(){this.listenTo(this.root.document.model,"applyOperation",(c,n)=>{const r=n[0];r.isDocumentOperation&&tO.call(this,r)},{priority:"low"})}function tO(c){const n=this.getTransformedByOperation(c),r=Ke._createFromRanges(n),a=!r.isEqual(this),d=function(p,f){switch(f.type){case"insert":return p.containsPosition(f.position);case"move":case"remove":case"reinsert":case"merge":return p.containsPosition(f.sourcePosition)||p.start.isEqual(f.sourcePosition)||p.containsPosition(f.targetPosition);case"split":return p.containsPosition(f.splitPosition)||p.containsPosition(f.insertionPosition)}return!1}(this,c);let u=null;if(a){"$graveyard"==r.root.rootName&&(u="remove"==c.type?c.sourcePosition:c.deletionPosition);const p=this.toRange();this.start=r.start,this.end=r.end,this.fire("change:range",p,{deletionPosition:u})}else d&&this.fire("change:content",this.toRange(),{deletionPosition:u})}Ss.prototype.is=function(c){return"liveRange"===c||"model:liveRange"===c||"range"==c||"model:range"===c};const tr="selection:";class hs extends(ye(fl)){constructor(n){super(),this._selection=new lu(n),this._selection.delegate("change:range").to(this),this._selection.delegate("change:attribute").to(this),this._selection.delegate("change:marker").to(this)}get isCollapsed(){return this._selection.isCollapsed}get anchor(){return this._selection.anchor}get focus(){return this._selection.focus}get rangeCount(){return this._selection.rangeCount}get hasOwnRange(){return this._selection.hasOwnRange}get isBackward(){return this._selection.isBackward}get isGravityOverridden(){return this._selection.isGravityOverridden}get markers(){return this._selection.markers}get _ranges(){return this._selection._ranges}getRanges(){return this._selection.getRanges()}getFirstPosition(){return this._selection.getFirstPosition()}getLastPosition(){return this._selection.getLastPosition()}getFirstRange(){return this._selection.getFirstRange()}getLastRange(){return this._selection.getLastRange()}getSelectedBlocks(){return this._selection.getSelectedBlocks()}getSelectedElement(){return this._selection.getSelectedElement()}containsEntireContent(n){return this._selection.containsEntireContent(n)}destroy(){this._selection.destroy()}getAttributeKeys(){return this._selection.getAttributeKeys()}getAttributes(){return this._selection.getAttributes()}getAttribute(n){return this._selection.getAttribute(n)}hasAttribute(n){return this._selection.hasAttribute(n)}refresh(){this._selection.updateMarkers(),this._selection._updateAttributes(!1)}observeMarkers(n){this._selection.observeMarkers(n)}_setFocus(n,r){this._selection.setFocus(n,r)}_setTo(...n){this._selection.setTo(...n)}_setAttribute(n,r){this._selection.setAttribute(n,r)}_removeAttribute(n){this._selection.removeAttribute(n)}_getStoredAttributes(){return this._selection.getStoredAttributes()}_overrideGravity(){return this._selection.overrideGravity()}_restoreGravity(n){this._selection.restoreGravity(n)}static _getStoreAttributeKey(n){return tr+n}static _isStoreAttributeKey(n){return n.startsWith(tr)}}hs.prototype.is=function(c){return"selection"===c||"model:selection"==c||"documentSelection"==c||"model:documentSelection"==c};class lu extends ds{constructor(n){super(),this.markers=new os({idProperty:"name"}),this._attributePriority=new Map,this._selectionRestorePosition=null,this._hasChangedRange=!1,this._overriddenGravityRegister=new Set,this._observedMarkers=new Set,this._model=n.model,this._document=n,this.listenTo(this._model,"applyOperation",(r,a)=>{const d=a[0];d.isDocumentOperation&&"marker"!=d.type&&"rename"!=d.type&&"noop"!=d.type&&(0==this._ranges.length&&this._selectionRestorePosition&&this._fixGraveyardSelection(this._selectionRestorePosition),this._selectionRestorePosition=null,this._hasChangedRange&&(this._hasChangedRange=!1,this.fire("change:range",{directChange:!1})))},{priority:"lowest"}),this.on("change:range",()=>{this._validateSelectionRanges(this.getRanges())}),this.listenTo(this._model.markers,"update",(r,a,d,u)=>{this._updateMarker(a,u)}),this.listenTo(this._document,"change",(r,a)=>{!function(d,u){const p=d.document.differ;for(const f of p.getChanges()){if("insert"!=f.type)continue;const g=f.position.parent;f.length===g.maxOffset&&d.enqueueChange(u,b=>{const k=Array.from(g.getAttributeKeys()).filter(S=>S.startsWith(tr));for(const S of k)b.removeAttribute(S,g)})}}(this._model,a)})}get isCollapsed(){return 0===this._ranges.length?this._document._getDefaultRange().isCollapsed:super.isCollapsed}get anchor(){return super.anchor||this._document._getDefaultRange().start}get focus(){return super.focus||this._document._getDefaultRange().end}get rangeCount(){return this._ranges.length?this._ranges.length:1}get hasOwnRange(){return this._ranges.length>0}get isGravityOverridden(){return!!this._overriddenGravityRegister.size}destroy(){for(let n=0;n<this._ranges.length;n++)this._ranges[n].detach();this.stopListening()}*getRanges(){this._ranges.length?yield*super.getRanges():yield this._document._getDefaultRange()}getFirstRange(){return super.getFirstRange()||this._document._getDefaultRange()}getLastRange(){return super.getLastRange()||this._document._getDefaultRange()}setTo(...n){super.setTo(...n),this._updateAttributes(!0),this.updateMarkers()}setFocus(n,r){super.setFocus(n,r),this._updateAttributes(!0),this.updateMarkers()}setAttribute(n,r){this._setAttribute(n,r)&&this.fire("change:attribute",{attributeKeys:[n],directChange:!0})}removeAttribute(n){this._removeAttribute(n)&&this.fire("change:attribute",{attributeKeys:[n],directChange:!0})}overrideGravity(){const n=ae();return this._overriddenGravityRegister.add(n),1===this._overriddenGravityRegister.size&&this._updateAttributes(!0),n}restoreGravity(n){if(!this._overriddenGravityRegister.has(n))throw new Y("document-selection-gravity-wrong-restore",this,{uid:n});this._overriddenGravityRegister.delete(n),this.isGravityOverridden||this._updateAttributes(!0)}observeMarkers(n){this._observedMarkers.add(n),this.updateMarkers()}_replaceAllRanges(n){this._validateSelectionRanges(n),super._replaceAllRanges(n)}_popRange(){this._ranges.pop().detach()}_pushRange(n){const r=this._prepareRange(n);r&&this._ranges.push(r)}_validateSelectionRanges(n){for(const r of n)if(!this._document._validateSelectionRange(r))throw new Y("document-selection-wrong-position",this,{range:r})}_prepareRange(n){if(this._checkRange(n),n.root==this._document.graveyard)return;const r=Ss.fromRange(n);return r.on("change:range",(a,d,u)=>{if(this._hasChangedRange=!0,r.root==this._document.graveyard){this._selectionRestorePosition=u.deletionPosition;const p=this._ranges.indexOf(r);this._ranges.splice(p,1),r.detach()}}),r}updateMarkers(){if(!this._observedMarkers.size)return;const n=[];let r=!1;for(const d of this._model.markers){const u=d.name.split(":",1)[0];if(!this._observedMarkers.has(u))continue;const p=d.getRange();for(const f of this.getRanges())p.containsRange(f,!f.isCollapsed)&&n.push(d)}const a=Array.from(this.markers);for(const d of n)this.markers.has(d)||(this.markers.add(d),r=!0);for(const d of Array.from(this.markers))n.includes(d)||(this.markers.remove(d),r=!0);r&&this.fire("change:marker",{oldMarkers:a,directChange:!1})}_updateMarker(n,r){const a=n.name.split(":",1)[0];if(!this._observedMarkers.has(a))return;let d=!1;const u=Array.from(this.markers),p=this.markers.has(n);if(r){let f=!1;for(const g of this.getRanges())if(r.containsRange(g,!g.isCollapsed)){f=!0;break}f&&!p?(this.markers.add(n),d=!0):!f&&p&&(this.markers.remove(n),d=!0)}else p&&(this.markers.remove(n),d=!0);d&&this.fire("change:marker",{oldMarkers:u,directChange:!1})}_updateAttributes(n){const r=Ys(this._getSurroundingAttributes()),a=Ys(this.getAttributes());if(n)this._attributePriority=new Map,this._attrs=new Map;else for(const[u,p]of this._attributePriority)"low"==p&&(this._attrs.delete(u),this._attributePriority.delete(u));this._setAttributesTo(r);const d=[];for(const[u,p]of this.getAttributes())a.has(u)&&a.get(u)===p||d.push(u);for(const[u]of a)this.hasAttribute(u)||d.push(u);d.length>0&&this.fire("change:attribute",{attributeKeys:d,directChange:!1})}_setAttribute(n,r,a=!0){const d=a?"normal":"low";return("low"!=d||"normal"!=this._attributePriority.get(n))&&super.getAttribute(n)!==r&&(this._attrs.set(n,r),this._attributePriority.set(n,d),!0)}_removeAttribute(n,r=!0){const a=r?"normal":"low";return!("low"==a&&"normal"==this._attributePriority.get(n)||(this._attributePriority.set(n,a),!super.hasAttribute(n)||(this._attrs.delete(n),0)))}_setAttributesTo(n){const r=new Set;for(const[a,d]of this.getAttributes())n.get(a)!==d&&this._removeAttribute(a,!1);for(const[a,d]of n)this._setAttribute(a,d,!1)&&r.add(a);return r}*getStoredAttributes(){const n=this.getFirstPosition().parent;if(this.isCollapsed&&n.isEmpty)for(const r of n.getAttributeKeys())r.startsWith(tr)&&(yield[r.substr(10),n.getAttribute(r)])}_getSurroundingAttributes(){const n=this.getFirstPosition(),r=this._model.schema;if("$graveyard"==n.root.rootName)return null;let a=null;if(this.isCollapsed){const d=n.textNode?n.textNode:n.nodeBefore,u=n.textNode?n.textNode:n.nodeAfter;if(this.isGravityOverridden||(a=tg(d,r)),a||(a=tg(u,r)),!this.isGravityOverridden&&!a){let p=d;for(;p&&!a;)p=p.previousSibling,a=tg(p,r)}if(!a){let p=u;for(;p&&!a;)p=p.nextSibling,a=tg(p,r)}a||(a=this.getStoredAttributes())}else{const d=this.getFirstRange();for(const u of d){if(u.item.is("element")&&r.isObject(u.item)){a=tg(u.item,r);break}if("text"==u.type){a=u.item.getAttributes();break}}}return a}_fixGraveyardSelection(n){const r=this._model.schema.getNearestSelectionRange(n);r&&this._pushRange(r)}}function tg(c,n){if(!c)return null;if(c instanceof Ks||c instanceof Cn)return c.getAttributes();if(!n.isInline(c))return null;if(!n.isObject(c))return[];const r=[];for(const[a,d]of c.getAttributes())n.checkAttribute("$text",a)&&!1!==n.getAttributeProperties(a).copyFromObject&&r.push([a,d]);return r}class N0{constructor(n){this._dispatchers=n}add(n){for(const r of this._dispatchers)n(r);return this}}class Ox extends N0{elementToElement(n){return this.add(function(r){const a=xw(r.model),d=Jh(r.view,"container");return a.attributes.length&&(a.children=!0),u=>{u.on(`insert:${a.name}`,function(p,f=Px){return(g,b,k)=>{if(!f(b.item,k.consumable,{preflight:!0}))return;const S=p(b.item,k,b);if(!S)return;f(b.item,k.consumable);const B=k.mapper.toViewPosition(b.range.start);k.mapper.bindElements(b.item,S),k.writer.insert(B,S),k.convertAttributes(b.item),Iw(S,b.item.getChildren(),k,{reconversion:b.reconversion})}}(d,gl(a)),{priority:r.converterPriority||"normal"}),(a.children||a.attributes.length)&&u.on("reduceChanges",Sw(a),{priority:"low"})}}(n))}elementToStructure(n){return this.add(function(r){const a=xw(r.model),d=Jh(r.view,"container");return a.children=!0,u=>{if(u._conversionApi.schema.checkChild(a.name,"$text"))throw new Y("conversion-element-to-structure-disallowed-text",u,{elementName:a.name});var p,f;u.on(`insert:${a.name}`,(p=d,f=gl(a),(g,b,k)=>{if(!f(b.item,k.consumable,{preflight:!0}))return;const S=new Map;var Z,te,fe;k.writer._registerSlotFactory((Z=b.item,te=S,fe=k,(ge,Ee)=>{const He=ge.createContainerElement("$slot");let ct=null;if("children"===Ee)ct=Array.from(Z.getChildren());else{if("function"!=typeof Ee)throw new Y("conversion-slot-mode-unknown",fe.dispatcher,{modeOrFilter:Ee});ct=Array.from(Z.getChildren()).filter(It=>Ee(It))}return te.set(He,ct),He}));const B=p(b.item,k,b);if(k.writer._clearSlotFactory(),!B)return;(function(Z,te,fe){const ge=Array.from(te.values()).flat(),Ee=new Set(ge);if(Ee.size!=ge.length)throw new Y("conversion-slot-filter-overlap",fe.dispatcher,{element:Z});if(Ee.size!=Z.childCount)throw new Y("conversion-slot-filter-incomplete",fe.dispatcher,{element:Z})})(b.item,S,k),f(b.item,k.consumable);const U=k.mapper.toViewPosition(b.range.start);k.mapper.bindElements(b.item,B),k.writer.insert(U,B),k.convertAttributes(b.item),function(Z,te,fe,ge){fe.mapper.on("modelToViewPosition",ct,{priority:"highest"});let Ee=null,He=null;for([Ee,He]of te)Iw(Z,He,fe,ge),fe.writer.move(fe.writer.createRangeIn(Ee),fe.writer.createPositionBefore(Ee)),fe.writer.remove(Ee);function ct(It,Zt){const Di=He.indexOf(Zt.modelPosition.nodeAfter);Di<0||(Zt.viewPosition=Zt.mapper.findPositionIn(Ee,Di))}fe.mapper.off("modelToViewPosition",ct)}(B,S,k,{reconversion:b.reconversion})}),{priority:r.converterPriority||"normal"}),u.on("reduceChanges",Sw(a),{priority:"low"})}}(n))}attributeToElement(n){return this.add(function(r){let a=(r=ql(r)).model;"string"==typeof a&&(a={key:a});let d=`attribute:${a.key}`;if(a.name&&(d+=":"+a.name),a.values)for(const p of a.values)r.view[p]=Jh(r.view[p],"attribute");else r.view=Jh(r.view,"attribute");const u=Ew(r);return p=>{var f;p.on(d,(f=u,(g,b,k)=>{if(!k.consumable.test(b.item,g.name))return;const S=f(b.attributeOldValue,k,b),B=f(b.attributeNewValue,k,b);if(!S&&!B)return;k.consumable.consume(b.item,g.name);const U=k.writer;if(b.item instanceof ds||b.item instanceof hs)U.wrap(U.document.selection.getFirstRange(),B);else{let te=k.mapper.toViewRange(b.range);null!==b.attributeOldValue&&S&&(te=U.unwrap(te,S)),null!==b.attributeNewValue&&B&&U.wrap(te,B)}}),{priority:r.converterPriority||"normal"})}}(n))}attributeToAttribute(n){return this.add(function(r){let a=(r=ql(r)).model;"string"==typeof a&&(a={key:a});let d=`attribute:${a.key}`;if(a.name&&(d+=":"+a.name),a.values)for(const p of a.values)r.view[p]=ng(r.view[p]);else r.view=ng(r.view);const u=Ew(r);return p=>{var f;p.on(d,(f=u,(g,b,k)=>{if(!k.consumable.test(b.item,g.name))return;const S=f(b.attributeOldValue,k,b),B=f(b.attributeNewValue,k,b);if(!S&&!B)return;k.consumable.consume(b.item,g.name);const U=k.mapper.toViewElement(b.item),Z=k.writer;if(!U)throw new Y("conversion-attribute-to-attribute-on-text",k.dispatcher,b);if(null!==b.attributeOldValue&&S)if("class"==S.key){const te="string"==typeof S.value?S.value.split(/\s+/):S.value;for(const fe of te)Z.removeClass(fe,U)}else if("style"==S.key)if("string"==typeof S.value){const te=new ee(Z.document.stylesProcessor);te.setTo(S.value);for(const[fe]of te.getStylesEntries())Z.removeStyle(fe,U)}else{const te=Object.keys(S.value);for(const fe of te)Z.removeStyle(fe,U)}else Z.removeAttribute(S.key,U);if(null!==b.attributeNewValue&&B)if("class"==B.key){const te="string"==typeof B.value?B.value.split(/\s+/):B.value;for(const fe of te)Z.addClass(fe,U)}else if("style"==B.key)if("string"==typeof B.value){const te=new ee(Z.document.stylesProcessor);te.setTo(B.value);for(const[fe,ge]of te.getStylesEntries())Z.setStyle(fe,ge,U)}else{const te=Object.keys(B.value);for(const fe of te)Z.setStyle(fe,B.value[fe],U)}else Z.setAttribute(B.key,B.value,U)}),{priority:r.converterPriority||"normal"})}}(n))}markerToElement(n){return this.add(function(r){const a=Jh(r.view,"ui");return d=>{var u;d.on(`addMarker:${r.model}`,(u=a,(p,f,g)=>{f.isOpening=!0;const b=u(f,g);f.isOpening=!1;const k=u(f,g);if(!b||!k)return;const S=f.markerRange;if(S.isCollapsed&&!g.consumable.consume(S,p.name))return;for(const Z of S)if(!g.consumable.consume(Z.item,p.name))return;const B=g.mapper,U=g.writer;U.insert(B.toViewPosition(S.start),b),g.mapper.bindElementToMarker(b,f.markerName),S.isCollapsed||(U.insert(B.toViewPosition(S.end),k),g.mapper.bindElementToMarker(k,f.markerName)),p.stop()}),{priority:r.converterPriority||"normal"}),d.on(`removeMarker:${r.model}`,(p,f,g)=>{const b=g.mapper.markerNameToElements(f.markerName);if(b){for(const k of b)g.mapper.unbindElementFromMarkerName(k,f.markerName),g.writer.clear(g.writer.createRangeOn(k),k);g.writer.clearClonedElementsGroup(f.markerName),p.stop()}},{priority:r.converterPriority||"normal"})}}(n))}markerToHighlight(n){return this.add((r=n,a=>{var d,u;a.on(`addMarker:${r.model}`,(d=r.view,(u,p,f)=>{if(!p.item||!(p.item instanceof ds||p.item instanceof hs||p.item.is("$textProxy")))return;const g=cu(d,p,f);if(!g||!f.consumable.consume(p.item,u.name))return;const b=f.writer,k=Dw(b,g);if(p.item instanceof ds||p.item instanceof hs)b.wrap(b.document.selection.getFirstRange(),k);else{const B=f.mapper.toViewRange(p.range),U=b.wrap(B,k);for(const Z of U.getItems())if(Z.is("attributeElement")&&Z.isSimilar(k)){f.mapper.bindElementToMarker(Z,p.markerName);break}}}),{priority:r.converterPriority||"normal"}),a.on(`addMarker:${r.model}`,(u=r.view,(p,f,g)=>{if(!(f.item&&f.item instanceof At))return;const b=cu(u,f,g);if(!b||!g.consumable.test(f.item,p.name))return;const k=g.mapper.toViewElement(f.item);if(k&&k.getCustomProperty("addHighlight")){g.consumable.consume(f.item,p.name);for(const S of Ke._createIn(f.item))g.consumable.consume(S.item,p.name);k.getCustomProperty("addHighlight")(k,b,g.writer),g.mapper.bindElementToMarker(k,f.markerName)}}),{priority:r.converterPriority||"normal"}),a.on(`removeMarker:${r.model}`,function(u){return(p,f,g)=>{if(f.markerRange.isCollapsed)return;const b=cu(u,f,g);if(!b)return;const k=Dw(g.writer,b),S=g.mapper.markerNameToElements(f.markerName);if(S){for(const B of S)g.mapper.unbindElementFromMarkerName(B,f.markerName),B.is("attributeElement")?g.writer.unwrap(g.writer.createRangeOn(B),k):B.getCustomProperty("removeHighlight")(B,b.id,g.writer);g.writer.clearClonedElementsGroup(f.markerName),p.stop()}}}(r.view),{priority:r.converterPriority||"normal"})}));var r}markerToData(n){return this.add(function(r){const a=(r=ql(r)).model;let d=r.view;return d||(d=u=>({group:a,name:u.substr(r.model.length+1)})),u=>{var p,f;u.on(`addMarker:${a}`,(p=d,(f,g,b)=>{const k=p(g.markerName,b);if(!k)return;const S=g.markerRange;b.consumable.consume(S,f.name)&&(Tw(S,!1,b,g,k),Tw(S,!0,b,g,k),f.stop())}),{priority:r.converterPriority||"normal"}),u.on(`removeMarker:${a}`,(f=d,(g,b,k)=>{const S=f(b.markerName,k);if(!S)return;const B=k.mapper.markerNameToElements(b.markerName);if(B){for(const Z of B)k.mapper.unbindElementFromMarkerName(Z,b.markerName),Z.is("containerElement")?(U(`data-${S.group}-start-before`,Z),U(`data-${S.group}-start-after`,Z),U(`data-${S.group}-end-before`,Z),U(`data-${S.group}-end-after`,Z)):k.writer.clear(k.writer.createRangeOn(Z),Z);k.writer.clearClonedElementsGroup(b.markerName),g.stop()}function U(Z,te){if(te.hasAttribute(Z)){const fe=new Set(te.getAttribute(Z).split(","));fe.delete(S.name),0==fe.size?k.writer.removeAttribute(Z,te):k.writer.setAttribute(Z,Array.from(fe).join(","),te)}}}),{priority:r.converterPriority||"normal"})}}(n))}}function Dw(c,n){const r=c.createAttributeElement("span",n.attributes);return n.classes&&r._addClass(n.classes),"number"==typeof n.priority&&(r._priority=n.priority),r._id=n.id,r}function Tw(c,n,r,a,d){const u=n?c.start:c.end,p=u.nodeAfter&&u.nodeAfter.is("element")?u.nodeAfter:null,f=u.nodeBefore&&u.nodeBefore.is("element")?u.nodeBefore:null;if(p||f){let g,b;n&&p||!n&&!f?(g=p,b=!0):(g=f,b=!1);const k=r.mapper.toViewElement(g);if(k)return void function(S,B,U,Z,te,fe){const ge=`data-${fe.group}-${B?"start":"end"}-${U?"before":"after"}`,Ee=S.hasAttribute(ge)?S.getAttribute(ge).split(","):[];Ee.unshift(fe.name),Z.writer.setAttribute(ge,Ee.join(","),S),Z.mapper.bindElementToMarker(S,te.markerName)}(k,n,b,r,a,d)}!function(g,b,k,S,B){const te=k.writer.createUIElement(`${B.group}-${b?"start":"end"}`,B.name?{name:B.name}:null);k.writer.insert(g,te),k.mapper.bindElementToMarker(te,S.markerName)}(r.mapper.toViewPosition(u),n,r,a,d)}function xw(c){return"string"==typeof c&&(c={name:c}),{name:c.name,attributes:c.attributes?Zn(c.attributes):[],children:!!c.children}}function Jh(c,n){return"function"==typeof c?c:(r,a)=>function(d,u,p){let f;"string"==typeof d&&(d={name:d});const g=u.writer,b=Object.assign({},d.attributes);if(f="container"==p?g.createContainerElement(d.name,b):"attribute"==p?g.createAttributeElement(d.name,b,{priority:d.priority||Yc.DEFAULT_PRIORITY}):g.createUIElement(d.name,b),d.styles){const k=Object.keys(d.styles);for(const S of k)g.setStyle(S,d.styles[S],f)}if(d.classes){const k=d.classes;if("string"==typeof k)g.addClass(k,f);else for(const S of k)g.addClass(S,f)}return f}(c,a,n)}function Ew(c){return c.model.values?(n,r,a)=>{const d=c.view[n];return d?d(n,r,a):null}:c.view}function ng(c){return"string"==typeof c?n=>({key:c,value:n}):"object"==typeof c?c.value?()=>c:n=>({key:c.key,value:n}):c}function cu(c,n,r){const a="function"==typeof c?c(n,r):c;return a?(a.priority||(a.priority=10),a.id||(a.id=n.markerName),a):null}function Sw(c){const n=(r=c,(a,d)=>{if(!a.is("element",r.name))return!1;if("attribute"==d.type){if(r.attributes.includes(d.attributeKey))return!0}else if(r.children)return!0;return!1});var r;return(r,a)=>{const d=[];a.reconvertedElements||(a.reconvertedElements=new Set);for(const u of a.changes){const p="attribute"==u.type?u.range.start.nodeAfter:u.position.parent;if(p&&n(p,u)){if(!a.reconvertedElements.has(p)){a.reconvertedElements.add(p);const f=at._createBefore(p);let g=d.length;for(let b=d.length-1;b>=0;b--){const k=d[b],S=("attribute"==k.type?k.range.start:k.position).compareWith(f);if("before"==S||"remove"==k.type&&"same"==S)break;g=b}d.splice(g,0,{type:"remove",name:p.name,position:f,length:1},{type:"reinsert",name:p.name,position:f,length:1})}}else d.push(u)}a.changes=d}}function gl(c){return(n,r,a={})=>{const d=["insert"];for(const u of c.attributes)n.hasAttribute(u)&&d.push(`attribute:${u}`);return!!d.every(u=>r.test(n,u))&&(a.preflight||d.forEach(u=>r.consume(n,u)),!0)}}function Iw(c,n,r,a){for(const d of n)du(c.root,d,r,a)||r.convertItem(d)}function du(c,n,r,a){const{writer:d,mapper:u}=r;if(!a.reconversion)return!1;const p=u.toViewElement(n);return!(!p||p.root==c||!r.canReuseView(p)||(d.move(d.createRangeOn(p),u.toViewPosition(at._createBefore(n))),0))}function Px(c,n,{preflight:r}={}){return r?n.test(c,"insert"):n.consume(c,"insert")}function R0(c){const{schema:n,document:r}=c.model;for(const a of r.getRoots())if(a.isEmpty&&!n.checkChild(a,"$text")&&n.checkChild(a,"paragraph"))return c.insertElement("paragraph",a),!0;return!1}function ig(c,n,r){const a=r.createContext(c);return!!r.checkChild(a,"paragraph")&&!!r.checkChild(a.push("paragraph"),n)}function Xh(c,n){const r=n.createElement("paragraph");return n.insert(r,c),n.createPositionAt(r,0)}var Lw=Object.defineProperty,Nx=Object.defineProperties,Rx=Object.getOwnPropertyDescriptors,Jc=Object.getOwnPropertySymbols,ep=Object.prototype.hasOwnProperty,Fx=Object.prototype.propertyIsEnumerable,Bx=(c,n,r)=>n in c?Lw(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;class Ow extends N0{elementToElement(n){return this.add(Pw(n))}elementToAttribute(n){return this.add(function(r){Rw(r=ql(r));const a=Fw(r,!1),d=Nw(r.view),u=d?`element:${d}`:"element";return p=>{p.on(u,a,{priority:r.converterPriority||"low"})}}(n))}attributeToAttribute(n){return this.add(function(r){let a=null;("string"==typeof(r=ql(r)).view||r.view.key)&&(a=function(u){"string"==typeof u.view&&(u.view={key:u.view});const p=u.view.key,f=void 0===u.view.value?/[\s\S]*/:u.view.value;let g;return g="class"==p||"style"==p?{["class"==p?"classes":"styles"]:f}:{attributes:{[p]:f}},u.view.name&&(g.name=u.view.name),u.view=g,p}(r)),Rw(r,a);const d=Fw(r,!0);return u=>{u.on("element",d,{priority:r.converterPriority||"low"})}}(n))}elementToMarker(n){return this.add(function(r){const a=(p=r.model,(f,g)=>{const b="string"==typeof p?p:p(f,g);return g.writer.createElement("$marker",{"data-name":b})});var p,d;return Pw((d=((p,f)=>{for(var g in f||(f={}))ep.call(f,g)&&Bx(p,g,f[g]);if(Jc)for(var g of Jc(f))Fx.call(f,g)&&Bx(p,g,f[g]);return p})({},r),Nx(d,Rx({model:a}))))}(n))}dataToMarker(n){return this.add(function(r){(r=ql(r)).model||(r.model=p=>p?r.view+":"+p:r.view);const a={view:r.view,model:r.model},d=F0(tp(a,"start")),u=F0(tp(a,"end"));return p=>{p.on(`element:${r.view}-start`,d,{priority:r.converterPriority||"normal"}),p.on(`element:${r.view}-end`,u,{priority:r.converterPriority||"normal"});const f=de.low,g=de.highest,b=de.get(r.converterPriority)/g;var k;p.on("element",(k=a,(S,B,U)=>{const Z=`data-${k.view}`;function te(fe,ge){for(const Ee of ge){const He=k.model(Ee,U),ct=U.writer.createElement("$marker",{"data-name":He});U.writer.insert(ct,fe),B.modelCursor=B.modelCursor.isEqual(fe)?B.modelCursor.getShiftedBy(1):B.modelCursor._getTransformedByInsertion(fe,1),B.modelRange=B.modelRange._getTransformedByInsertion(fe,1)[0]}}(U.consumable.test(B.viewItem,{attributes:Z+"-end-after"})||U.consumable.test(B.viewItem,{attributes:Z+"-start-after"})||U.consumable.test(B.viewItem,{attributes:Z+"-end-before"})||U.consumable.test(B.viewItem,{attributes:Z+"-start-before"}))&&(B.modelRange||Object.assign(B,U.convertChildren(B.viewItem,B.modelCursor)),U.consumable.consume(B.viewItem,{attributes:Z+"-end-after"})&&te(B.modelRange.end,B.viewItem.getAttribute(Z+"-end-after").split(",")),U.consumable.consume(B.viewItem,{attributes:Z+"-start-after"})&&te(B.modelRange.end,B.viewItem.getAttribute(Z+"-start-after").split(",")),U.consumable.consume(B.viewItem,{attributes:Z+"-end-before"})&&te(B.modelRange.start,B.viewItem.getAttribute(Z+"-end-before").split(",")),U.consumable.consume(B.viewItem,{attributes:Z+"-start-before"})&&te(B.modelRange.start,B.viewItem.getAttribute(Z+"-start-before").split(",")))}),{priority:f+b})}}(n))}}function Pw(c){const n=F0(c=ql(c)),r=Nw(c.view),a=r?`element:${r}`:"element";return d=>{d.on(a,n,{priority:c.converterPriority||"normal"})}}function Nw(c){return"string"==typeof c?c:"object"==typeof c&&"string"==typeof c.name?c.name:null}function F0(c){const n=new ss(c.view);return(r,a,d)=>{const u=n.match(a.viewItem);if(!u)return;const p=u.match;if(p.name=!0,!d.consumable.test(a.viewItem,p))return;const f=(k=d,(g=c.model)instanceof Function?g(a.viewItem,k):k.writer.createElement(g));var g,k;f&&d.safeInsert(f,a.modelCursor)&&(d.consumable.consume(a.viewItem,p),d.convertChildren(a.viewItem,f),d.updateConversionResult(f,a))}}function Rw(c,n=null){c.model={key:"object"!=typeof c.model?c.model:c.model.key,value:"object"!=typeof c.model||void 0===c.model.value?null===n||(u=>u.getAttribute(n)):c.model.value}}function Fw(c,n){const r=new ss(c.view);return(a,d,u)=>{if(!d.modelRange&&n)return;const p=r.match(d.viewItem);if(!p||(function(k,S){const B="function"==typeof k?k(S):k;return!("object"==typeof B&&!Nw(B)||B.classes||B.attributes||B.styles)}(c.view,d.viewItem)?p.match.name=!0:delete p.match.name,!u.consumable.test(d.viewItem,p.match)))return;const f=c.model.key,g="function"==typeof c.model.value?c.model.value(d.viewItem,u):c.model.value;null!==g&&(d.modelRange||Object.assign(d,u.convertChildren(d.viewItem,d.modelCursor)),function(k,S,B,U){let Z=!1;for(const te of Array.from(k.getItems({shallow:B})))U.schema.checkAttribute(te,S.key)&&(Z=!0,te.hasAttribute(S.key)||U.writer.setAttribute(S.key,S.value,te));return Z}(d.modelRange,{key:f,value:g},n,u)&&(u.consumable.test(d.viewItem,{name:!0})&&(p.match.name=!0),u.consumable.consume(d.viewItem,p.match)))}}function tp(c,n){return{view:`${c.view}-${n}`,model:(r,a)=>{const d=r.getAttribute("name"),u=c.model(d,a);return a.writer.createElement("$marker",{"data-name":u})}}}function jw(c,n){return c.isCollapsed?function(r,a){const d=r.start,u=a.getNearestSelectionRange(d);if(!u){const f=d.getAncestors().reverse().find(g=>a.isObject(g));return f?Ke._createOn(f):null}if(!u.isCollapsed)return u;const p=u.start;return d.isEqual(p)?null:new Ke(p)}(c,n):function(r,a){const{start:d,end:u}=r,p=a.checkChild(d,"$text"),f=a.checkChild(u,"$text"),g=a.getLimitElement(d),b=a.getLimitElement(u);if(g===b){if(p&&f)return null;if(function(B,U,Z){const te=B.nodeAfter&&!Z.isLimit(B.nodeAfter)||Z.checkChild(B,"$text"),fe=U.nodeBefore&&!Z.isLimit(U.nodeBefore)||Z.checkChild(U,"$text");return te||fe}(d,u,a)){const B=d.nodeAfter&&a.isSelectable(d.nodeAfter)?null:a.getNearestSelectionRange(d,"forward"),U=u.nodeBefore&&a.isSelectable(u.nodeBefore)?null:a.getNearestSelectionRange(u,"backward");return new Ke(B?B.start:d,U?U.end:u)}}const k=g&&!g.is("rootElement"),S=b&&!b.is("rootElement");if(k||S){const B=d.nodeAfter&&u.nodeBefore&&d.nodeAfter.parent===u.nodeBefore.parent,U=k&&(!B||!jx(d.nodeAfter,a)),Z=S&&(!B||!jx(u.nodeBefore,a));let te=d,fe=u;return U&&(te=at._createBefore(B0(g,a))),Z&&(fe=at._createAfter(B0(b,a))),new Ke(te,fe)}return null}(c,n)}function B0(c,n){let r=c,a=r;for(;n.isLimit(a)&&a.parent;)r=a,a=a.parent;return r}function jx(c,n){return c&&n.isSelectable(c)}class zw extends(Xt()){constructor(n,r){super(),this.model=n,this.view=new Aw(r),this.mapper=new Zc,this.downcastDispatcher=new io({mapper:this.mapper,schema:n.schema});const a=this.model.document,d=a.selection,u=this.model.markers;var p,f,g,b,k;this.listenTo(this.model,"_beforeChanges",()=>{this.view._disableRendering(!0)},{priority:"highest"}),this.listenTo(this.model,"_afterChanges",()=>{this.view._disableRendering(!1)},{priority:"lowest"}),this.listenTo(a,"change",()=>{this.view.change(b=>{this.downcastDispatcher.convertChanges(a.differ,u,b),this.downcastDispatcher.convertSelection(d,u,b)})},{priority:"low"}),this.listenTo(this.view.document,"selectionChange",(b=this.model,k=this.mapper,(S,B)=>{const U=B.newSelection,Z=[];for(const fe of U.getRanges())Z.push(k.toModelRange(fe));const te=b.createSelection(Z,{backward:U.isBackward});te.isEqual(b.document.selection)||b.change(fe=>{fe.setSelection(te)})})),this.listenTo(this.view.document,"beforeinput",(p=this.mapper,f=this.model.schema,g=this.view,(b,k)=>{if(!g.document.isComposing||M.isAndroid)for(let S=0;S<k.targetRanges.length;S++){const U=p.toModelRange(k.targetRanges[S]),Z=jw(U,f);Z&&!Z.isEqual(U)&&(k.targetRanges[S]=p.toViewRange(Z))}}),{priority:"high"}),this.downcastDispatcher.on("insert:$text",(b,k,S)=>{if(!S.consumable.consume(k.item,b.name))return;const B=S.writer,U=S.mapper.toViewPosition(k.range.start),Z=B.createText(k.item.data);B.insert(U,Z)},{priority:"lowest"}),this.downcastDispatcher.on("insert",(b,k,S)=>{S.convertAttributes(k.item),k.reconversion||!k.item.is("element")||k.item.isEmpty||S.convertChildren(k.item)},{priority:"lowest"}),this.downcastDispatcher.on("remove",(b,k,S)=>{const B=S.mapper.toViewPosition(k.position),U=k.position.getShiftedBy(k.length),Z=S.mapper.toViewPosition(U,{isPhantom:!0}),te=S.writer.createRange(B,Z),fe=S.writer.remove(te.getTrimmed());for(const ge of S.writer.createRangeIn(fe).getItems())S.mapper.unbindViewElement(ge,{defer:!0})},{priority:"low"}),this.downcastDispatcher.on("cleanSelection",(b,k,S)=>{const B=S.writer,U=B.document.selection;for(const Z of U.getRanges())Z.isCollapsed&&Z.end.parent.isAttached()&&S.writer.mergeAttributes(Z.start);B.setSelection(null)}),this.downcastDispatcher.on("selection",(b,k,S)=>{const B=k.selection;if(B.isCollapsed||!S.consumable.consume(B,"selection"))return;const U=[];for(const Z of B.getRanges())U.push(S.mapper.toViewRange(Z));S.writer.setSelection(U,{backward:B.isBackward})},{priority:"low"}),this.downcastDispatcher.on("selection",(b,k,S)=>{const B=k.selection;if(!B.isCollapsed||!S.consumable.consume(B,"selection"))return;const U=S.writer,Z=B.getFirstPosition(),te=S.mapper.toViewPosition(Z),fe=U.breakAttributes(te);U.setSelection(fe)},{priority:"low"}),this.view.document.roots.bindTo(this.model.document.roots).using(b=>{if("$graveyard"==b.rootName)return null;const k=new Yr(this.view.document,b.name);return k.rootName=b.rootName,this.mapper.bindElements(b,k),k})}destroy(){this.view.destroy(),this.stopListening()}reconvertMarker(n){const r="string"==typeof n?n:n.name,a=this.model.markers.get(r);if(!a)throw new Y("editingcontroller-reconvertmarker-marker-not-exist",this,{markerName:r});this.model.change(()=>{this.model.markers._refresh(a)})}reconvertItem(n){this.model.change(()=>{this.model.document.differ._refreshItem(n)})}}class og{constructor(){this._consumables=new Map}add(n,r){let a;n.is("$text")||n.is("documentFragment")?this._consumables.set(n,!0):(this._consumables.has(n)?a=this._consumables.get(n):(a=new zx(n),this._consumables.set(n,a)),a.add(r))}test(n,r){const a=this._consumables.get(n);return void 0===a?null:n.is("$text")||n.is("documentFragment")?a:a.test(r)}consume(n,r){return!!this.test(n,r)&&(n.is("$text")||n.is("documentFragment")?this._consumables.set(n,!1):this._consumables.get(n).consume(r),!0)}revert(n,r){const a=this._consumables.get(n);void 0!==a&&(n.is("$text")||n.is("documentFragment")?this._consumables.set(n,!0):a.revert(r))}static consumablesFromElement(n){const r={element:n,name:!0,attributes:[],classes:[],styles:[]},a=n.getAttributeKeys();for(const p of a)"style"!=p&&"class"!=p&&r.attributes.push(p);const d=n.getClassNames();for(const p of d)r.classes.push(p);const u=n.getStyleNames();for(const p of u)r.styles.push(p);return r}static createFrom(n,r){if(r||(r=new og),n.is("$text"))return r.add(n),r;n.is("element")&&r.add(n,og.consumablesFromElement(n)),n.is("documentFragment")&&r.add(n);for(const a of n.getChildren())r=og.createFrom(a,r);return r}}const rg=["attributes","classes","styles"];class zx{constructor(n){this.element=n,this._canConsumeName=null,this._consumables={attributes:new Map,styles:new Map,classes:new Map}}add(n){n.name&&(this._canConsumeName=!0);for(const r of rg)r in n&&this._add(r,n[r])}test(n){if(n.name&&!this._canConsumeName)return this._canConsumeName;for(const r of rg)if(r in n){const a=this._test(r,n[r]);if(!0!==a)return a}return!0}consume(n){n.name&&(this._canConsumeName=!1);for(const r of rg)r in n&&this._consume(r,n[r])}revert(n){n.name&&(this._canConsumeName=!0);for(const r of rg)r in n&&this._revert(r,n[r])}_add(n,r){const a=Zn(r),d=this._consumables[n];for(const u of a){if("attributes"===n&&("class"===u||"style"===u))throw new Y("viewconsumable-invalid-attribute",this);if(d.set(u,!0),"styles"===n)for(const p of this.element.document.stylesProcessor.getRelatedStyles(u))d.set(p,!0)}}_test(n,r){const a=Zn(r),d=this._consumables[n];for(const u of a)if("attributes"!==n||"class"!==u&&"style"!==u){const p=d.get(u);if(void 0===p)return null;if(!p)return!1}else{const p="class"==u?"classes":"styles",f=this._test(p,[...this._consumables[p].keys()]);if(!0!==f)return f}return!0}_consume(n,r){const a=Zn(r),d=this._consumables[n];for(const u of a)if("attributes"!==n||"class"!==u&&"style"!==u){if(d.set(u,!1),"styles"==n)for(const p of this.element.document.stylesProcessor.getRelatedStyles(u))d.set(p,!1)}else{const p="class"==u?"classes":"styles";this._consume(p,[...this._consumables[p].keys()])}}_revert(n,r){const a=Zn(r),d=this._consumables[n];for(const u of a)if("attributes"!==n||"class"!==u&&"style"!==u)!1===d.get(u)&&d.set(u,!0);else{const p="class"==u?"classes":"styles";this._revert(p,[...this._consumables[p].keys()])}}}class j0 extends(Xt()){constructor(){super(),this._sourceDefinitions={},this._attributeProperties={},this.decorate("checkChild"),this.decorate("checkAttribute"),this.on("checkAttribute",(n,r)=>{r[0]=new uu(r[0])},{priority:"highest"}),this.on("checkChild",(n,r)=>{r[0]=new uu(r[0]),r[1]=this.getDefinition(r[1])},{priority:"highest"})}register(n,r){if(this._sourceDefinitions[n])throw new Y("schema-cannot-register-item-twice",this,{itemName:n});this._sourceDefinitions[n]=[Object.assign({},r)],this._clearCache()}extend(n,r){if(!this._sourceDefinitions[n])throw new Y("schema-cannot-extend-missing-item",this,{itemName:n});this._sourceDefinitions[n].push(Object.assign({},r)),this._clearCache()}getDefinitions(){return this._compiledDefinitions||this._compile(),this._compiledDefinitions}getDefinition(n){let r;return r="string"==typeof n?n:"is"in n&&(n.is("$text")||n.is("$textProxy"))?"$text":n.name,this.getDefinitions()[r]}isRegistered(n){return!!this.getDefinition(n)}isBlock(n){const r=this.getDefinition(n);return!(!r||!r.isBlock)}isLimit(n){const r=this.getDefinition(n);return!(!r||!r.isLimit&&!r.isObject)}isObject(n){const r=this.getDefinition(n);return!!r&&!!(r.isObject||r.isLimit&&r.isSelectable&&r.isContent)}isInline(n){const r=this.getDefinition(n);return!(!r||!r.isInline)}isSelectable(n){const r=this.getDefinition(n);return!(!r||!r.isSelectable&&!r.isObject)}isContent(n){const r=this.getDefinition(n);return!(!r||!r.isContent&&!r.isObject)}checkChild(n,r){return!!r&&this._checkContextMatch(r,n)}checkAttribute(n,r){const a=this.getDefinition(n.last);return!!a&&a.allowAttributes.includes(r)}checkMerge(n,r){if(n instanceof at){const a=n.nodeBefore,d=n.nodeAfter;if(!(a instanceof At))throw new Y("schema-check-merge-no-element-before",this);if(!(d instanceof At))throw new Y("schema-check-merge-no-element-after",this);return this.checkMerge(a,d)}for(const a of r.getChildren())if(!this.checkChild(n,a))return!1;return!0}addChildCheck(n){this.on("checkChild",(r,[a,d])=>{if(!d)return;const u=n(a,d);"boolean"==typeof u&&(r.stop(),r.return=u)},{priority:"high"})}addAttributeCheck(n){this.on("checkAttribute",(r,[a,d])=>{const u=n(a,d);"boolean"==typeof u&&(r.stop(),r.return=u)},{priority:"high"})}setAttributeProperties(n,r){this._attributeProperties[n]=Object.assign(this.getAttributeProperties(n),r)}getAttributeProperties(n){return this._attributeProperties[n]||{}}getLimitElement(n){let r;for(r=n instanceof at?n.parent:(n instanceof Ke?[n]:Array.from(n.getRanges())).reduce((a,d)=>{const u=d.getCommonAncestor();return a?a.getCommonAncestor(u,{includeSelf:!0}):u},null);!this.isLimit(r)&&r.parent;)r=r.parent;return r}checkAttributeInSelection(n,r){if(n.isCollapsed){const a=[...n.getFirstPosition().getAncestors(),new Cn("",n.getAttributes())];return this.checkAttribute(a,r)}{const a=n.getRanges();for(const d of a)for(const u of d)if(this.checkAttribute(u.item,r))return!0}return!1}*getValidRanges(n,r){n=function*(a){for(const d of a)yield*d.getMinimalFlatRanges()}(n);for(const a of n)yield*this._getValidRangesForRange(a,r)}getNearestSelectionRange(n,r="both"){if("$graveyard"==n.root.rootName)return null;if(this.checkChild(n,"$text"))return new Ke(n);let a,d;const u=n.getAncestors().reverse().find(p=>this.isLimit(p))||n.root;"both"!=r&&"backward"!=r||(a=new Zs({boundaries:Ke._createIn(u),startPosition:n,direction:"backward"})),"both"!=r&&"forward"!=r||(d=new Zs({boundaries:Ke._createIn(u),startPosition:n}));for(const p of function*(f,g){let b=!1;for(;!b;){if(b=!0,f){const k=f.next();k.done||(b=!1,yield{walker:f,value:k.value})}if(g){const k=g.next();k.done||(b=!1,yield{walker:g,value:k.value})}}}(a,d)){const g=p.value;if(g.type==(p.walker==a?"elementEnd":"elementStart")&&this.isObject(g.item))return Ke._createOn(g.item);if(this.checkChild(g.nextPosition,"$text"))return new Ke(g.nextPosition)}return null}findAllowedParent(n,r){let a=n.parent;for(;a;){if(this.checkChild(a,r))return a;if(this.isLimit(a))return null;a=a.parent}return null}setAllowedAttributes(n,r,a){const d=a.model;for(const[u,p]of Object.entries(r))d.schema.checkAttribute(n,u)&&a.setAttribute(u,p,n)}removeDisallowedAttributes(n,r){for(const a of n)if(a.is("$text"))V0(this,a,r);else{const d=Ke._createIn(a).getPositions();for(const u of d)V0(this,u.nodeBefore||u.parent,r)}}getAttributesWithProperty(n,r,a){const d={};for(const[u,p]of n.getAttributes()){const f=this.getAttributeProperties(u);void 0!==f[r]&&(void 0!==a&&a!==f[r]||(d[u]=p))}return d}createContext(n){return new uu(n)}_clearCache(){this._compiledDefinitions=null}_compile(){const n={},r=this._sourceDefinitions,a=Object.keys(r);for(const d of a)n[d]=nO(r[d],d);for(const d of a)z0(n,d);for(const d of a)iO(n,d);for(const d of a)oO(n,d);for(const d of a)rO(n,d),sO(n,d);for(const d of a)aO(n,d),Vx(n,d),sg(n,d);this._compiledDefinitions=n}_checkContextMatch(n,r,a=r.length-1){const d=r.getItem(a);if(n.allowIn.includes(d.name)){if(0==a)return!0;{const u=this.getDefinition(d);return this._checkContextMatch(u,r,a-1)}}return!1}*_getValidRangesForRange(n,r){let a=n.start,d=n.start;for(const u of n.getItems({shallow:!0}))u.is("element")&&(yield*this._getValidRangesForRange(Ke._createIn(u),r)),this.checkAttribute(u,r)||(a.isEqual(d)||(yield new Ke(a,d)),a=at._createAfter(u)),d=at._createAfter(u);a.isEqual(d)||(yield new Ke(a,d))}findOptimalInsertionRange(n,r){const a=n.getSelectedElement();if(a&&this.isObject(a)&&!this.isInline(a))return"before"==r||"after"==r?new Ke(at._createAt(a,r)):Ke._createOn(a);const d=bo(n.getSelectedBlocks());if(!d)return new Ke(n.focus);if(d.isEmpty)return new Ke(at._createAt(d,0));const u=at._createAfter(d);return n.focus.isTouching(u)?new Ke(u):new Ke(at._createBefore(d))}}class uu{constructor(n){if(n instanceof uu)return n;let r;r="string"==typeof n?[n]:Array.isArray(n)?n:n.getAncestors({includeSelf:!0}),this._items=r.map(Hw)}get length(){return this._items.length}get last(){return this._items[this._items.length-1]}[Symbol.iterator](){return this._items[Symbol.iterator]()}push(n){const r=new uu([n]);return r._items=[...this._items,...r._items],r}getItem(n){return this._items[n]}*getNames(){yield*this._items.map(n=>n.name)}endsWith(n){return Array.from(this.getNames()).join(" ").endsWith(n)}startsWith(n){return Array.from(this.getNames()).join(" ").startsWith(n)}}function nO(c,n){const r={name:n,allowIn:[],allowContentOf:[],allowWhere:[],allowAttributes:[],allowAttributesOf:[],allowChildren:[],inheritTypesFrom:[]};return function(a,d){for(const u of a){const p=Object.keys(u).filter(f=>f.startsWith("is"));for(const f of p)d[f]=!!u[f]}}(c,r),xa(c,r,"allowIn"),xa(c,r,"allowContentOf"),xa(c,r,"allowWhere"),xa(c,r,"allowAttributes"),xa(c,r,"allowAttributesOf"),xa(c,r,"allowChildren"),xa(c,r,"inheritTypesFrom"),function(a,d){for(const u of a){const p=u.inheritAllFrom;p&&(d.allowContentOf.push(p),d.allowWhere.push(p),d.allowAttributesOf.push(p),d.inheritTypesFrom.push(p))}}(c,r),r}function z0(c,n){const r=c[n];for(const a of r.allowChildren){const d=c[a];d&&d.allowIn.push(n)}r.allowChildren.length=0}function iO(c,n){for(const r of c[n].allowContentOf)c[r]&&Vw(c,r).forEach(a=>{a.allowIn.push(n)});delete c[n].allowContentOf}function oO(c,n){for(const r of c[n].allowWhere){const a=c[r];a&&c[n].allowIn.push(...a.allowIn)}delete c[n].allowWhere}function rO(c,n){for(const r of c[n].allowAttributesOf){const a=c[r];a&&c[n].allowAttributes.push(...a.allowAttributes)}delete c[n].allowAttributesOf}function sO(c,n){const r=c[n];for(const a of r.inheritTypesFrom){const d=c[a];if(d){const u=Object.keys(d).filter(p=>p.startsWith("is"));for(const p of u)p in r||(r[p]=d[p])}}delete r.inheritTypesFrom}function aO(c,n){const r=c[n],a=r.allowIn.filter(d=>c[d]);r.allowIn=Array.from(new Set(a))}function Vx(c,n){const r=c[n];for(const a of r.allowIn)c[a].allowChildren.push(n)}function sg(c,n){const r=c[n];r.allowAttributes=Array.from(new Set(r.allowAttributes))}function xa(c,n,r){for(const a of c){const d=a[r];"string"==typeof d?n[r].push(d):Array.isArray(d)&&n[r].push(...d)}}function Vw(c,n){const r=c[n];return(a=c,Object.keys(a).map(d=>a[d])).filter(d=>d.allowIn.includes(r.name));var a}function Hw(c){return"string"==typeof c||c.is("documentFragment")?{name:"string"==typeof c?c:"$documentFragment",*getAttributeKeys(){},getAttribute(){}}:{name:c.is("element")?c.name:"$text",*getAttributeKeys(){yield*c.getAttributeKeys()},getAttribute:n=>c.getAttribute(n)}}function V0(c,n,r){for(const a of n.getAttributeKeys())c.checkAttribute(n,a)||r.removeAttribute(a,n)}var hu=Object.defineProperty,Yw=Object.defineProperties,Uw=Object.getOwnPropertyDescriptors,np=Object.getOwnPropertySymbols,ag=Object.prototype.hasOwnProperty,Gl=Object.prototype.propertyIsEnumerable,Ww=(c,n,r)=>n in c?hu(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;class Hx extends(ye()){constructor(n){var r;super(),this._splitParts=new Map,this._cursorParents=new Map,this._modelCursor=null,this._emptyElementsToKeep=new Set,this.conversionApi=(r=((a,d)=>{for(var u in d||(d={}))ag.call(d,u)&&Ww(a,u,d[u]);if(np)for(var u of np(d))Gl.call(d,u)&&Ww(a,u,d[u]);return a})({},n),Yw(r,Uw({consumable:null,writer:null,store:null,convertItem:(a,d)=>this._convertItem(a,d),convertChildren:(a,d)=>this._convertChildren(a,d),safeInsert:(a,d)=>this._safeInsert(a,d),updateConversionResult:(a,d)=>this._updateConversionResult(a,d),splitToAllowedParent:(a,d)=>this._splitToAllowedParent(a,d),getSplitParts:a=>this._getSplitParts(a),keepEmptyElement:a=>this._keepEmptyElement(a)})))}convert(n,r,a=["$root"]){this.fire("viewCleanup",n),this._modelCursor=function(p,f){let g;for(const b of new uu(p)){const k={};for(const B of b.getAttributeKeys())k[B]=b.getAttribute(B);const S=f.createElement(b.name,k);g&&f.insert(S,g),g=at._createAt(S,0)}return g}(a,r),this.conversionApi.writer=r,this.conversionApi.consumable=og.createFrom(n),this.conversionApi.store={};const{modelRange:d}=this._convertItem(n,this._modelCursor),u=r.createDocumentFragment();if(d){this._removeEmptyElements();for(const p of Array.from(this._modelCursor.parent.getChildren()))r.append(p,u);u.markers=function(p,f){const g=new Set,b=new Map,k=Ke._createIn(p).getItems();for(const S of k)S.is("element","$marker")&&g.add(S);for(const S of g){const B=S.getAttribute("data-name"),U=f.createPositionBefore(S);b.has(B)?b.get(B).end=U.clone():b.set(B,new Ke(U.clone())),f.remove(S)}return b}(u,r)}return this._modelCursor=null,this._splitParts.clear(),this._cursorParents.clear(),this._emptyElementsToKeep.clear(),this.conversionApi.writer=null,this.conversionApi.store=null,u}_convertItem(n,r){const a={viewItem:n,modelCursor:r,modelRange:null};if(n.is("element")?this.fire(`element:${n.name}`,a,this.conversionApi):n.is("$text")?this.fire("text",a,this.conversionApi):this.fire("documentFragment",a,this.conversionApi),a.modelRange&&!(a.modelRange instanceof Ke))throw new Y("view-conversion-dispatcher-incorrect-result",this);return{modelRange:a.modelRange,modelCursor:a.modelCursor}}_convertChildren(n,r){let a=r.is("position")?r:at._createAt(r,0);const d=new Ke(a);for(const u of Array.from(n.getChildren())){const p=this._convertItem(u,a);p.modelRange instanceof Ke&&(d.end=p.modelRange.end,a=p.modelCursor)}return{modelRange:d,modelCursor:a}}_safeInsert(n,r){const a=this._splitToAllowedParent(n,r);return!!a&&(this.conversionApi.writer.insert(n,a.position),!0)}_updateConversionResult(n,r){const a=this._getSplitParts(n),d=this.conversionApi.writer;r.modelRange||(r.modelRange=d.createRange(d.createPositionBefore(n),d.createPositionAfter(a[a.length-1])));const u=this._cursorParents.get(n);r.modelCursor=u?d.createPositionAt(u,0):r.modelRange.end}_splitToAllowedParent(n,r){const{schema:a,writer:d}=this.conversionApi;let u=a.findAllowedParent(r,n);if(u){if(u===r.parent)return{position:r};this._modelCursor.parent.getAncestors().includes(u)&&(u=null)}if(!u)return ig(r,n,a)?{position:Xh(r,d)}:null;const p=this.conversionApi.writer.split(r,u),f=[];for(const b of p.range.getWalker())if("elementEnd"==b.type)f.push(b.item);else{const k=f.pop();this._registerSplitPair(k,b.item)}const g=p.range.end.parent;return this._cursorParents.set(n,g),{position:p.position,cursorParent:g}}_registerSplitPair(n,r){this._splitParts.has(n)||this._splitParts.set(n,[n]);const a=this._splitParts.get(n);this._splitParts.set(r,a),a.push(r)}_getSplitParts(n){let r;return r=this._splitParts.has(n)?this._splitParts.get(n):[n],r}_keepEmptyElement(n){this._emptyElementsToKeep.add(n)}_removeEmptyElements(){let n=!1;for(const r of this._splitParts.keys())r.isEmpty&&!this._emptyElementsToKeep.has(r)&&(this.conversionApi.writer.remove(r),this._splitParts.delete(r),n=!0);n&&this._removeEmptyElements()}}class Yx{getHtml(n){const r=Vt.document.implementation.createHTMLDocument("").createElement("div");return r.appendChild(n),r.innerHTML}}class $w{constructor(n){this.skipComments=!0,this.domParser=new DOMParser,this.domConverter=new Ym(n,{renderingMode:"data"}),this.htmlWriter=new Yx}toData(n){const r=this.domConverter.viewToDom(n);return this.htmlWriter.getHtml(r)}toView(n){const r=this._toDom(n);return this.domConverter.domToView(r,{skipComments:this.skipComments})}registerRawContentMatcher(n){this.domConverter.registerRawContentMatcher(n)}useFillerType(n){this.domConverter.blockFillerMode="marked"==n?"markedNbsp":"nbsp"}_toDom(n){n.match(/<(?:html|body|head|meta)(?:\s[^>]*)?>/i)||(n=`<body>${n}</body>`);const r=this.domParser.parseFromString(n,"text/html"),a=r.createDocumentFragment(),d=r.body.childNodes;for(;d.length>0;)a.appendChild(d[0]);return a}}class H0 extends(ye()){constructor(n,r){super(),this.model=n,this.mapper=new Zc,this.downcastDispatcher=new io({mapper:this.mapper,schema:n.schema}),this.downcastDispatcher.on("insert:$text",(a,d,u)=>{if(!u.consumable.consume(d.item,a.name))return;const p=u.writer,f=u.mapper.toViewPosition(d.range.start),g=p.createText(d.item.data);p.insert(f,g)},{priority:"lowest"}),this.downcastDispatcher.on("insert",(a,d,u)=>{u.convertAttributes(d.item),d.reconversion||!d.item.is("element")||d.item.isEmpty||u.convertChildren(d.item)},{priority:"lowest"}),this.upcastDispatcher=new Hx({schema:n.schema}),this.viewDocument=new Rm(r),this.stylesProcessor=r,this.htmlProcessor=new $w(this.viewDocument),this.processor=this.htmlProcessor,this._viewWriter=new Pe(this.viewDocument),this.upcastDispatcher.on("text",(a,d,{schema:u,consumable:p,writer:f})=>{let g=d.modelCursor;if(!p.test(d.viewItem))return;if(!u.checkChild(g,"$text")){if(!ig(g,"$text",u)||0==d.viewItem.data.trim().length)return;const k=g.nodeBefore;g=Xh(g,f),k&&k.is("element","$marker")&&(f.move(f.createRangeOn(k),g),g=f.createPositionAfter(k))}p.consume(d.viewItem);const b=f.createText(d.viewItem.data);f.insert(b,g),d.modelRange=f.createRange(g,g.getShiftedBy(b.offsetSize)),d.modelCursor=d.modelRange.end},{priority:"lowest"}),this.upcastDispatcher.on("element",(a,d,u)=>{if(!d.modelRange&&u.consumable.consume(d.viewItem,{name:!0})){const{modelRange:p,modelCursor:f}=u.convertChildren(d.viewItem,d.modelCursor);d.modelRange=p,d.modelCursor=f}},{priority:"lowest"}),this.upcastDispatcher.on("documentFragment",(a,d,u)=>{if(!d.modelRange&&u.consumable.consume(d.viewItem,{name:!0})){const{modelRange:p,modelCursor:f}=u.convertChildren(d.viewItem,d.modelCursor);d.modelRange=p,d.modelCursor=f}},{priority:"lowest"}),Xt().prototype.decorate.call(this,"init"),Xt().prototype.decorate.call(this,"set"),Xt().prototype.decorate.call(this,"get"),Xt().prototype.decorate.call(this,"toView"),Xt().prototype.decorate.call(this,"toModel"),this.on("init",()=>{this.fire("ready")},{priority:"lowest"}),this.on("ready",()=>{this.model.enqueueChange({isUndoable:!1},R0)},{priority:"lowest"})}get(n={}){const{rootName:r="main",trim:a="empty"}=n;if(!this._checkIfRootsExists([r]))throw new Y("datacontroller-get-non-existent-root",this);const d=this.model.document.getRoot(r);return d.isAttached()||ie("datacontroller-get-detached-root",this),"empty"!==a||this.model.hasContent(d,{ignoreWhitespaces:!0})?this.stringify(d,n):""}stringify(n,r={}){const a=this.toView(n,r);return this.processor.toData(a)}toView(n,r={}){const a=this.viewDocument,d=this._viewWriter;this.mapper.clearBindings();const u=Ke._createIn(n),p=new Sn(a);this.mapper.bindElements(n,p);const f=n.is("documentFragment")?n.markers:function(g){const b=[],k=g.root.document;if(!k)return new Map;const S=Ke._createIn(g);for(const B of k.model.markers){const U=B.getRange(),Z=U.isCollapsed,te=U.start.isEqual(S.start)||U.end.isEqual(S.end);if(Z&&te)b.push([B.name,U]);else{const fe=S.getIntersection(U);fe&&b.push([B.name,fe])}}return b.sort(([B,U],[Z,te])=>{if("after"!==U.end.compareWith(te.start))return 1;if("before"!==U.start.compareWith(te.end))return-1;switch(U.start.compareWith(te.start)){case"before":return 1;case"after":return-1;default:switch(U.end.compareWith(te.end)){case"before":return 1;case"after":return-1;default:return Z.localeCompare(B)}}}),new Map(b)}(n);return this.downcastDispatcher.convert(u,f,d,r),p}init(n){if(this.model.document.version)throw new Y("datacontroller-init-document-not-empty",this);let r={};if("string"==typeof n?r.main=n:r=n,!this._checkIfRootsExists(Object.keys(r)))throw new Y("datacontroller-init-non-existent-root",this);return this.model.enqueueChange({isUndoable:!1},a=>{for(const d of Object.keys(r)){const u=this.model.document.getRoot(d);a.insert(this.parse(r[d],u),u,0)}}),Promise.resolve()}set(n,r={}){let a={};if("string"==typeof n?a.main=n:a=n,!this._checkIfRootsExists(Object.keys(a)))throw new Y("datacontroller-set-non-existent-root",this);this.model.enqueueChange(r.batchType||{},d=>{d.setSelection(null),d.removeSelectionAttribute(this.model.document.selection.getAttributeKeys());for(const u of Object.keys(a)){const p=this.model.document.getRoot(u);d.remove(d.createRangeIn(p)),d.insert(this.parse(a[u],p),p,0)}})}parse(n,r="$root"){const a=this.processor.toView(n);return this.toModel(a,r)}toModel(n,r="$root"){return this.model.change(a=>this.upcastDispatcher.convert(n,a,r))}addStyleProcessorRules(n){n(this.stylesProcessor)}registerRawContentMatcher(n){this.processor&&this.processor!==this.htmlProcessor&&this.processor.registerRawContentMatcher(n),this.htmlProcessor.registerRawContentMatcher(n)}destroy(){this.stopListening()}_checkIfRootsExists(n){for(const r of n)if(!this.model.document.getRoot(r))return!1;return!0}}class Ux{constructor(n,r){this._helpers=new Map,this._downcast=Zn(n),this._createConversionHelpers({name:"downcast",dispatchers:this._downcast,isDowncast:!0}),this._upcast=Zn(r),this._createConversionHelpers({name:"upcast",dispatchers:this._upcast,isDowncast:!1})}addAlias(n,r){const a=this._downcast.includes(r);if(!this._upcast.includes(r)&&!a)throw new Y("conversion-add-alias-dispatcher-not-registered",this);this._createConversionHelpers({name:n,dispatchers:[r],isDowncast:a})}for(n){if(!this._helpers.has(n))throw new Y("conversion-for-unknown-group",this);return this._helpers.get(n)}elementToElement(n){this.for("downcast").elementToElement(n);for(const{model:r,view:a}of Y0(n))this.for("upcast").elementToElement({model:r,view:a,converterPriority:n.converterPriority})}attributeToElement(n){this.for("downcast").attributeToElement(n);for(const{model:r,view:a}of Y0(n))this.for("upcast").elementToAttribute({view:a,model:r,converterPriority:n.converterPriority})}attributeToAttribute(n){this.for("downcast").attributeToAttribute(n);for(const{model:r,view:a}of Y0(n))this.for("upcast").attributeToAttribute({view:a,model:r})}_createConversionHelpers({name:n,dispatchers:r,isDowncast:a}){if(this._helpers.has(n))throw new Y("conversion-group-exists",this);const d=a?new Ox(r):new Ow(r);this._helpers.set(n,d)}}function*Y0(c){if(c.model.values)for(const n of c.model.values){const r={key:c.model.key,value:n},a=c.view[n],d=c.upcastAlso?c.upcastAlso[n]:void 0;yield*qw(r,a,d)}else yield*qw(c.model,c.view,c.upcastAlso)}function*qw(c,n,r){if(yield{model:c,view:n},r)for(const a of Zn(r))yield{model:c,view:a}}class Ur{constructor(n){this.baseVersion=n,this.isDocumentOperation=null!==this.baseVersion,this.batch=null}_validate(){}toJSON(){const n=Object.assign({},this);return n.__className=this.constructor.className,delete n.batch,delete n.isDocumentOperation,n}static get className(){return"Operation"}static fromJSON(n,r){return new this(n.baseVersion)}}function U0(c,n){const r=lg(n),a=r.reduce((p,f)=>p+f.offsetSize,0),d=c.parent;Xc(c);const u=c.index;return d._insertChild(u,r),pu(d,u+r.length),pu(d,u),new Ke(c,c.getShiftedBy(a))}function Gw(c){if(!c.isFlat)throw new Y("operation-utils-remove-range-not-flat",this);const n=c.start.parent;Xc(c.start),Xc(c.end);const r=n._removeChildren(c.start.index,c.end.index-c.start.index);return pu(n,c.start.index),r}function Io(c,n){if(!c.isFlat)throw new Y("operation-utils-move-range-not-flat",this);const r=Gw(c);return U0(n=n._getTransformedByDeletion(c.start,c.end.offset-c.start.offset),r)}function lg(c){const n=[];!function r(a){if("string"==typeof a)n.push(new Cn(a));else if(a instanceof Ks)n.push(new Cn(a.data,a.getAttributes()));else if(a instanceof Gs)n.push(a);else if(ai(a))for(const d of a)r(d)}(c);for(let r=1;r<n.length;r++){const a=n[r],d=n[r-1];a instanceof Cn&&d instanceof Cn&&Wo(a,d)&&(n.splice(r-1,2,new Cn(d.data+a.data,d.getAttributes())),r--)}return n}function pu(c,n){const r=c.getChild(n-1),a=c.getChild(n);if(r&&a&&r.is("$text")&&a.is("$text")&&Wo(r,a)){const d=new Cn(r.data+a.data,r.getAttributes());c._removeChildren(n-1,2),c._insertChild(n-1,d)}}function Xc(c){const n=c.textNode,r=c.parent;if(n){const a=c.offset-n.startOffset,d=n.index;r._removeChildren(d,1);const u=new Cn(n.data.substr(0,a),n.getAttributes()),p=new Cn(n.data.substr(a),n.getAttributes());r._insertChild(d,[u,p])}}function Wo(c,n){const r=c.getAttributes(),a=n.getAttributes();for(const d of r){if(d[1]!==n.getAttribute(d[0]))return!1;a.next()}return a.next().done}class zn extends Ur{constructor(n,r,a,d){super(d),this.sourcePosition=n.clone(),this.sourcePosition.stickiness="toNext",this.howMany=r,this.targetPosition=a.clone(),this.targetPosition.stickiness="toNone"}get type(){return"$graveyard"==this.targetPosition.root.rootName?"remove":"$graveyard"==this.sourcePosition.root.rootName?"reinsert":"move"}get affectedSelectable(){return[Ke._createFromPositionAndShift(this.sourcePosition,this.howMany),Ke._createFromPositionAndShift(this.targetPosition,0)]}clone(){return new zn(this.sourcePosition,this.howMany,this.targetPosition,this.baseVersion)}getMovedRangeStart(){return this.targetPosition._getTransformedByDeletion(this.sourcePosition,this.howMany)}getReversed(){const n=this.sourcePosition._getTransformedByInsertion(this.targetPosition,this.howMany);return new zn(this.getMovedRangeStart(),this.howMany,n,this.baseVersion+1)}_validate(){const n=this.sourcePosition.parent,r=this.targetPosition.parent,a=this.sourcePosition.offset,d=this.targetPosition.offset;if(a+this.howMany>n.maxOffset)throw new Y("move-operation-nodes-do-not-exist",this);if(n===r&&a<d&&d<a+this.howMany)throw new Y("move-operation-range-into-itself",this);if(this.sourcePosition.root==this.targetPosition.root&&"prefix"==Ht(this.sourcePosition.getParentPath(),this.targetPosition.getParentPath())){const u=this.sourcePosition.path.length-1;if(this.targetPosition.path[u]>=a&&this.targetPosition.path[u]<a+this.howMany)throw new Y("move-operation-node-into-itself",this)}}_execute(){Io(Ke._createFromPositionAndShift(this.sourcePosition,this.howMany),this.targetPosition)}toJSON(){const n=super.toJSON();return n.sourcePosition=this.sourcePosition.toJSON(),n.targetPosition=this.targetPosition.toJSON(),n}static get className(){return"MoveOperation"}static fromJSON(n,r){const a=at.fromJSON(n.sourcePosition,r),d=at.fromJSON(n.targetPosition,r);return new this(a,n.howMany,d,n.baseVersion)}}class yo extends Ur{constructor(n,r,a){super(a),this.position=n.clone(),this.position.stickiness="toNone",this.nodes=new Zh(lg(r)),this.shouldReceiveAttributes=!1}get type(){return"insert"}get howMany(){return this.nodes.maxOffset}get affectedSelectable(){return this.position.clone()}clone(){const n=new Zh([...this.nodes].map(a=>a._clone(!0))),r=new yo(this.position,n,this.baseVersion);return r.shouldReceiveAttributes=this.shouldReceiveAttributes,r}getReversed(){const r=new at(this.position.root.document.graveyard,[0]);return new zn(this.position,this.nodes.maxOffset,r,this.baseVersion+1)}_validate(){const n=this.position.parent;if(!n||n.maxOffset<this.position.offset)throw new Y("insert-operation-position-invalid",this)}_execute(){const n=this.nodes;this.nodes=new Zh([...n].map(r=>r._clone(!0))),U0(this.position,n)}toJSON(){const n=super.toJSON();return n.position=this.position.toJSON(),n.nodes=this.nodes.toJSON(),n}static get className(){return"InsertOperation"}static fromJSON(n,r){const a=[];for(const u of n.nodes)a.push(u.name?At.fromJSON(u):Cn.fromJSON(u));const d=new yo(at.fromJSON(n.position,r),a,n.baseVersion);return d.shouldReceiveAttributes=n.shouldReceiveAttributes,d}}class hi extends Ur{constructor(n,r,a,d,u){super(u),this.splitPosition=n.clone(),this.splitPosition.stickiness="toNext",this.howMany=r,this.insertionPosition=a,this.graveyardPosition=d?d.clone():null,this.graveyardPosition&&(this.graveyardPosition.stickiness="toNext")}get type(){return"split"}get moveTargetPosition(){const n=this.insertionPosition.path.slice();return n.push(0),new at(this.insertionPosition.root,n)}get movedRange(){const n=this.splitPosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Ke(this.splitPosition,n)}get affectedSelectable(){const n=[Ke._createFromPositionAndShift(this.splitPosition,0),Ke._createFromPositionAndShift(this.insertionPosition,0)];return this.graveyardPosition&&n.push(Ke._createFromPositionAndShift(this.graveyardPosition,0)),n}clone(){return new hi(this.splitPosition,this.howMany,this.insertionPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const r=new at(this.splitPosition.root.document.graveyard,[0]);return new Hi(this.moveTargetPosition,this.howMany,this.splitPosition,r,this.baseVersion+1)}_validate(){const n=this.splitPosition.parent;if(!n||n.maxOffset<this.splitPosition.offset)throw new Y("split-operation-position-invalid",this);if(!n.parent)throw new Y("split-operation-split-in-root",this);if(this.howMany!=n.maxOffset-this.splitPosition.offset)throw new Y("split-operation-how-many-invalid",this);if(this.graveyardPosition&&!this.graveyardPosition.nodeAfter)throw new Y("split-operation-graveyard-position-invalid",this)}_execute(){const n=this.splitPosition.parent;if(this.graveyardPosition)Io(Ke._createFromPositionAndShift(this.graveyardPosition,1),this.insertionPosition);else{const r=n._clone();U0(this.insertionPosition,r)}Io(new Ke(at._createAt(n,this.splitPosition.offset),at._createAt(n,n.maxOffset)),this.moveTargetPosition)}toJSON(){const n=super.toJSON();return n.splitPosition=this.splitPosition.toJSON(),n.insertionPosition=this.insertionPosition.toJSON(),this.graveyardPosition&&(n.graveyardPosition=this.graveyardPosition.toJSON()),n}static get className(){return"SplitOperation"}static getInsertionPosition(n){const r=n.path.slice(0,-1);return r[r.length-1]++,new at(n.root,r,"toPrevious")}static fromJSON(n,r){const a=at.fromJSON(n.splitPosition,r),d=at.fromJSON(n.insertionPosition,r),u=n.graveyardPosition?at.fromJSON(n.graveyardPosition,r):null;return new this(a,n.howMany,d,u,n.baseVersion)}}class Hi extends Ur{constructor(n,r,a,d,u){super(u),this.sourcePosition=n.clone(),this.sourcePosition.stickiness="toPrevious",this.howMany=r,this.targetPosition=a.clone(),this.targetPosition.stickiness="toNext",this.graveyardPosition=d.clone()}get type(){return"merge"}get deletionPosition(){return new at(this.sourcePosition.root,this.sourcePosition.path.slice(0,-1))}get movedRange(){const n=this.sourcePosition.getShiftedBy(Number.POSITIVE_INFINITY);return new Ke(this.sourcePosition,n)}get affectedSelectable(){return[Ke._createOn(this.sourcePosition.parent),Ke._createFromPositionAndShift(this.targetPosition,0),Ke._createFromPositionAndShift(this.graveyardPosition,0)]}clone(){return new Hi(this.sourcePosition,this.howMany,this.targetPosition,this.graveyardPosition,this.baseVersion)}getReversed(){const n=this.targetPosition._getTransformedByMergeOperation(this),r=this.sourcePosition.path.slice(0,-1),a=new at(this.sourcePosition.root,r)._getTransformedByMergeOperation(this);return new hi(n,this.howMany,a,this.graveyardPosition,this.baseVersion+1)}_validate(){const n=this.sourcePosition.parent,r=this.targetPosition.parent;if(!n.parent)throw new Y("merge-operation-source-position-invalid",this);if(!r.parent)throw new Y("merge-operation-target-position-invalid",this);if(this.howMany!=n.maxOffset)throw new Y("merge-operation-how-many-invalid",this)}_execute(){const n=this.sourcePosition.parent;Io(Ke._createIn(n),this.targetPosition),Io(Ke._createOn(n),this.graveyardPosition)}toJSON(){const n=super.toJSON();return n.sourcePosition=n.sourcePosition.toJSON(),n.targetPosition=n.targetPosition.toJSON(),n.graveyardPosition=n.graveyardPosition.toJSON(),n}static get className(){return"MergeOperation"}static fromJSON(n,r){const a=at.fromJSON(n.sourcePosition,r),d=at.fromJSON(n.targetPosition,r),u=at.fromJSON(n.graveyardPosition,r);return new this(a,n.howMany,d,u,n.baseVersion)}}class kr extends Ur{constructor(n,r,a,d,u,p){super(p),this.name=n,this.oldRange=r?r.clone():null,this.newRange=a?a.clone():null,this.affectsData=u,this._markers=d}get type(){return"marker"}get affectedSelectable(){const n=[];return this.oldRange&&n.push(this.oldRange.clone()),this.newRange&&(this.oldRange?n.push(...this.newRange.getDifference(this.oldRange)):n.push(this.newRange.clone())),n}clone(){return new kr(this.name,this.oldRange,this.newRange,this._markers,this.affectsData,this.baseVersion)}getReversed(){return new kr(this.name,this.newRange,this.oldRange,this._markers,this.affectsData,this.baseVersion+1)}_execute(){this.newRange?this._markers._set(this.name,this.newRange,!0,this.affectsData):this._markers._remove(this.name)}toJSON(){const n=super.toJSON();return this.oldRange&&(n.oldRange=this.oldRange.toJSON()),this.newRange&&(n.newRange=this.newRange.toJSON()),delete n._markers,n}static get className(){return"MarkerOperation"}static fromJSON(n,r){return new kr(n.name,n.oldRange?Ke.fromJSON(n.oldRange,r):null,n.newRange?Ke.fromJSON(n.newRange,r):null,r.model.markers,n.affectsData,n.baseVersion)}}const Kw=function(c,n){return ou(c,n)};class Yi extends Ur{constructor(n,r,a,d,u){super(u),this.range=n.clone(),this.key=r,this.oldValue=void 0===a?null:a,this.newValue=void 0===d?null:d}get type(){return null===this.oldValue?"addAttribute":null===this.newValue?"removeAttribute":"changeAttribute"}get affectedSelectable(){return this.range.clone()}clone(){return new Yi(this.range,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new Yi(this.range,this.key,this.newValue,this.oldValue,this.baseVersion+1)}toJSON(){const n=super.toJSON();return n.range=this.range.toJSON(),n}_validate(){if(!this.range.isFlat)throw new Y("attribute-operation-range-not-flat",this);for(const n of this.range.getItems({shallow:!0})){if(null!==this.oldValue&&!Kw(n.getAttribute(this.key),this.oldValue))throw new Y("attribute-operation-wrong-old-value",this,{item:n,key:this.key,value:this.oldValue});if(null===this.oldValue&&null!==this.newValue&&n.hasAttribute(this.key))throw new Y("attribute-operation-attribute-exists",this,{node:n,key:this.key})}}_execute(){Kw(this.oldValue,this.newValue)||function(n,r,a){Xc(n.start),Xc(n.end);for(const d of n.getItems({shallow:!0})){const u=d.is("$textProxy")?d.textNode:d;null!==a?u._setAttribute(r,a):u._removeAttribute(r),pu(u.parent,u.index)}pu(n.end.parent,n.end.index)}(this.range,this.key,this.newValue)}static get className(){return"AttributeOperation"}static fromJSON(n,r){return new Yi(Ke.fromJSON(n.range,r),n.key,n.oldValue,n.newValue,n.baseVersion)}}class oo extends Ur{get type(){return"noop"}get affectedSelectable(){return null}clone(){return new oo(this.baseVersion)}getReversed(){return new oo(this.baseVersion+1)}_execute(){}static get className(){return"NoOperation"}}class wr extends Ur{constructor(n,r,a,d){super(d),this.position=n,this.position.stickiness="toNext",this.oldName=r,this.newName=a}get type(){return"rename"}get affectedSelectable(){return this.position.nodeAfter}clone(){return new wr(this.position.clone(),this.oldName,this.newName,this.baseVersion)}getReversed(){return new wr(this.position.clone(),this.newName,this.oldName,this.baseVersion+1)}_validate(){const n=this.position.nodeAfter;if(!(n instanceof At))throw new Y("rename-operation-wrong-position",this);if(n.name!==this.oldName)throw new Y("rename-operation-wrong-name",this)}_execute(){this.position.nodeAfter.name=this.newName}toJSON(){const n=super.toJSON();return n.position=this.position.toJSON(),n}static get className(){return"RenameOperation"}static fromJSON(n,r){return new wr(at.fromJSON(n.position,r),n.oldName,n.newName,n.baseVersion)}}class _l extends Ur{constructor(n,r,a,d,u){super(u),this.root=n,this.key=r,this.oldValue=void 0===a?null:a,this.newValue=void 0===d?null:d}get type(){return null===this.oldValue?"addRootAttribute":null===this.newValue?"removeRootAttribute":"changeRootAttribute"}get affectedSelectable(){return this.root}clone(){return new _l(this.root,this.key,this.oldValue,this.newValue,this.baseVersion)}getReversed(){return new _l(this.root,this.key,this.newValue,this.oldValue,this.baseVersion+1)}_validate(){if(this.root!=this.root.root||this.root.is("documentFragment"))throw new Y("rootattribute-operation-not-a-root",this,{root:this.root,key:this.key});if(null!==this.oldValue&&this.root.getAttribute(this.key)!==this.oldValue)throw new Y("rootattribute-operation-wrong-old-value",this,{root:this.root,key:this.key});if(null===this.oldValue&&null!==this.newValue&&this.root.hasAttribute(this.key))throw new Y("rootattribute-operation-attribute-exists",this,{root:this.root,key:this.key})}_execute(){null!==this.newValue?this.root._setAttribute(this.key,this.newValue):this.root._removeAttribute(this.key)}toJSON(){const n=super.toJSON();return n.root=this.root.toJSON(),n}static get className(){return"RootAttributeOperation"}static fromJSON(n,r){if(!r.getRoot(n.root))throw new Y("rootattribute-operation-fromjson-no-root",this,{rootName:n.root});return new _l(r.getRoot(n.root),n.key,n.oldValue,n.newValue,n.baseVersion)}}class Ea extends Ur{constructor(n,r,a,d,u){super(u),this.rootName=n,this.elementName=r,this.isAdd=a,this._document=d,!this._document.getRoot(this.rootName)&&(this._document.createRoot(this.elementName,this.rootName)._isAttached=!1)}get type(){return this.isAdd?"addRoot":"detachRoot"}get affectedSelectable(){return this._document.getRoot(this.rootName)}clone(){return new Ea(this.rootName,this.elementName,this.isAdd,this._document,this.baseVersion)}getReversed(){return new Ea(this.rootName,this.elementName,!this.isAdd,this._document,this.baseVersion+1)}_execute(){this._document.getRoot(this.rootName)._isAttached=this.isAdd}toJSON(){const n=super.toJSON();return delete n._document,n}static get className(){return"RootOperation"}static fromJSON(n,r){return new Ea(n.rootName,n.elementName,n.isAdd,r,n.baseVersion)}}const Wr={};Wr[Yi.className]=Yi,Wr[yo.className]=yo,Wr[kr.className]=kr,Wr[zn.className]=zn,Wr[oo.className]=oo,Wr[Ur.className]=Ur,Wr[wr.className]=wr,Wr[_l.className]=_l,Wr[Ea.className]=Ea,Wr[hi.className]=hi,Wr[Hi.className]=Hi;class W0{static fromJSON(n,r){return Wr[n.__className].fromJSON(n,r)}}const $0=new Map;function Fn(c,n,r){let a=$0.get(c);a||(a=new Map,$0.set(c,a)),a.set(n,r)}function Wx(c){return[c]}function Zw(c,n,r={}){const a=function(d,u){const p=$0.get(d);return p&&p.has(u)?p.get(u):Wx}(c.constructor,n.constructor);try{return a(c=c.clone(),n,r)}catch(d){throw d}}function Qw(c,n,r){c=c.slice(),n=n.slice();const a=new Jw(r.document,r.useRelations,r.forceWeakRemove);a.setOriginalOperations(c),a.setOriginalOperations(n);const d=a.originalOperations;if(0==c.length||0==n.length)return{operationsA:c,operationsB:n,originalOperations:d};const u=new WeakMap;for(const g of c)u.set(g,0);const p={nextBaseVersionA:c[c.length-1].baseVersion+1,nextBaseVersionB:n[n.length-1].baseVersion+1,originalOperationsACount:c.length,originalOperationsBCount:n.length};let f=0;for(;f<c.length;){const g=c[f],b=u.get(g);if(b==n.length){f++;continue}const k=n[b],S=Zw(g,k,a.getContext(g,k,!0)),B=Zw(k,g,a.getContext(k,g,!1));a.updateRelation(g,k),a.setOriginalOperations(S,g),a.setOriginalOperations(B,k);for(const U of S)u.set(U,b+B.length);c.splice(f,1,...S),n.splice(b,1,...B)}if(r.padWithNoOps){const g=c.length-p.originalOperationsACount,b=n.length-p.originalOperationsBCount;ed(c,b-g),ed(n,g-b)}return q0(c,p.nextBaseVersionB),q0(n,p.nextBaseVersionA),{operationsA:c,operationsB:n,originalOperations:d}}class Jw{constructor(n,r,a=!1){this.originalOperations=new Map,this._history=n.history,this._useRelations=r,this._forceWeakRemove=!!a,this._relations=new Map}setOriginalOperations(n,r=null){const a=r?this.originalOperations.get(r):null;for(const d of n)this.originalOperations.set(d,a||d)}updateRelation(n,r){if(n instanceof zn)r instanceof Hi?n.targetPosition.isEqual(r.sourcePosition)||r.movedRange.containsPosition(n.targetPosition)?this._setRelation(n,r,"insertAtSource"):n.targetPosition.isEqual(r.deletionPosition)?this._setRelation(n,r,"insertBetween"):n.targetPosition.isAfter(r.sourcePosition)&&this._setRelation(n,r,"moveTargetAfter"):r instanceof zn&&(n.targetPosition.isEqual(r.sourcePosition)||n.targetPosition.isBefore(r.sourcePosition)?this._setRelation(n,r,"insertBefore"):this._setRelation(n,r,"insertAfter"));else if(n instanceof hi){if(r instanceof Hi)n.splitPosition.isBefore(r.sourcePosition)&&this._setRelation(n,r,"splitBefore");else if(r instanceof zn)if(n.splitPosition.isEqual(r.sourcePosition)||n.splitPosition.isBefore(r.sourcePosition))this._setRelation(n,r,"splitBefore");else{const a=Ke._createFromPositionAndShift(r.sourcePosition,r.howMany);n.splitPosition.hasSameParentAs(r.sourcePosition)&&a.containsPosition(n.splitPosition)&&this._setRelation(n,r,{howMany:a.end.offset-n.splitPosition.offset,offset:n.splitPosition.offset-a.start.offset})}}else if(n instanceof Hi)r instanceof Hi?(n.targetPosition.isEqual(r.sourcePosition)||this._setRelation(n,r,"mergeTargetNotMoved"),n.sourcePosition.isEqual(r.targetPosition)&&this._setRelation(n,r,"mergeSourceNotMoved"),n.sourcePosition.isEqual(r.sourcePosition)&&this._setRelation(n,r,"mergeSameElement")):r instanceof hi?n.sourcePosition.isEqual(r.splitPosition)&&this._setRelation(n,r,"splitAtSource"):r instanceof zn&&r.howMany>0&&(n.sourcePosition.isEqual(r.sourcePosition.getShiftedBy(r.howMany))&&this._setRelation(n,r,"mergeSourceAffected"),n.targetPosition.isEqual(r.sourcePosition)&&this._setRelation(n,r,"mergeTargetWasBefore"));else if(n instanceof kr){const a=n.newRange;if(!a)return;if(r instanceof zn){const d=Ke._createFromPositionAndShift(r.sourcePosition,r.howMany),u=d.containsPosition(a.start)||d.start.isEqual(a.start),p=d.containsPosition(a.end)||d.end.isEqual(a.end);!u&&!p||d.containsRange(a)||this._setRelation(n,r,{side:u?"left":"right",path:u?a.start.path.slice():a.end.path.slice()})}else if(r instanceof Hi){const d=a.start.isEqual(r.targetPosition),u=a.start.isEqual(r.deletionPosition),p=a.end.isEqual(r.deletionPosition),f=a.end.isEqual(r.sourcePosition);(d||u||p||f)&&this._setRelation(n,r,{wasInLeftElement:d,wasStartBeforeMergedElement:u,wasEndBeforeMergedElement:p,wasInRightElement:f})}}}getContext(n,r,a){return{aIsStrong:a,aWasUndone:this._wasUndone(n),bWasUndone:this._wasUndone(r),abRelation:this._useRelations?this._getRelation(n,r):null,baRelation:this._useRelations?this._getRelation(r,n):null,forceWeakRemove:this._forceWeakRemove}}_wasUndone(n){const r=this.originalOperations.get(n);return r.wasUndone||this._history.isUndoneOperation(r)}_getRelation(n,r){const a=this.originalOperations.get(r),d=this._history.getUndoneOperation(a);if(!d)return null;const u=this.originalOperations.get(n),p=this._relations.get(u);return p&&p.get(d)||null}_setRelation(n,r,a){const d=this.originalOperations.get(n),u=this.originalOperations.get(r);let p=this._relations.get(d);p||(p=new Map,this._relations.set(d,p)),p.set(u,a)}}function q0(c,n){for(const r of c)r.baseVersion=n++}function ed(c,n){for(let r=0;r<n;r++)c.push(new oo(0))}function ip(c,n,r){const a=c.nodes.getNode(0).getAttribute(n);if(a==r)return null;const d=new Ke(c.position,c.position.getShiftedBy(c.howMany));return new Yi(d,n,a,r,0)}function G0(c,n){return null===c.targetPosition._getTransformedByDeletion(n.sourcePosition,n.howMany)}function Kl(c,n){const r=[];for(let a=0;a<c.length;a++){const d=c[a],u=new zn(d.start,d.end.offset-d.start.offset,n,0);r.push(u);for(let p=a+1;p<c.length;p++)c[p]=c[p]._getTransformedByMove(u.sourcePosition,u.targetPosition,u.howMany)[0];n=n._getTransformedByMove(u.sourcePosition,u.targetPosition,u.howMany)}return r}Fn(Yi,Yi,(c,n,r)=>{if(c.key===n.key&&c.range.start.hasSameParentAs(n.range.start)){const a=c.range.getDifference(n.range).map(u=>new Yi(u,c.key,c.oldValue,c.newValue,0)),d=c.range.getIntersection(n.range);return d&&r.aIsStrong&&a.push(new Yi(d,n.key,n.newValue,c.newValue,0)),0==a.length?[new oo(0)]:a}return[c]}),Fn(Yi,yo,(c,n)=>{if(c.range.start.hasSameParentAs(n.position)&&c.range.containsPosition(n.position)){const r=c.range._getTransformedByInsertion(n.position,n.howMany,!n.shouldReceiveAttributes).map(a=>new Yi(a,c.key,c.oldValue,c.newValue,c.baseVersion));if(n.shouldReceiveAttributes){const a=ip(n,c.key,c.oldValue);a&&r.unshift(a)}return r}return c.range=c.range._getTransformedByInsertion(n.position,n.howMany,!1)[0],[c]}),Fn(Yi,Hi,(c,n)=>{const r=[];c.range.start.hasSameParentAs(n.deletionPosition)&&(c.range.containsPosition(n.deletionPosition)||c.range.start.isEqual(n.deletionPosition))&&r.push(Ke._createFromPositionAndShift(n.graveyardPosition,1));const a=c.range._getTransformedByMergeOperation(n);return a.isCollapsed||r.push(a),r.map(d=>new Yi(d,c.key,c.oldValue,c.newValue,c.baseVersion))}),Fn(Yi,zn,(c,n)=>function(a,d){const u=Ke._createFromPositionAndShift(d.sourcePosition,d.howMany);let p=null,f=[];u.containsRange(a,!0)?p=a:a.start.hasSameParentAs(u.start)?(f=a.getDifference(u),p=a.getIntersection(u)):f=[a];const g=[];for(let b of f){b=b._getTransformedByDeletion(d.sourcePosition,d.howMany);const k=d.getMovedRangeStart(),S=b.start.hasSameParentAs(k),B=b._getTransformedByInsertion(k,d.howMany,S);g.push(...B)}return p&&g.push(p._getTransformedByMove(d.sourcePosition,d.targetPosition,d.howMany,!1)[0]),g}(c.range,n).map(a=>new Yi(a,c.key,c.oldValue,c.newValue,c.baseVersion))),Fn(Yi,hi,(c,n)=>{if(c.range.end.isEqual(n.insertionPosition))return n.graveyardPosition||c.range.end.offset++,[c];if(c.range.start.hasSameParentAs(n.splitPosition)&&c.range.containsPosition(n.splitPosition)){const r=c.clone();return r.range=new Ke(n.moveTargetPosition.clone(),c.range.end._getCombined(n.splitPosition,n.moveTargetPosition)),c.range.end=n.splitPosition.clone(),c.range.end.stickiness="toPrevious",[c,r]}return c.range=c.range._getTransformedBySplitOperation(n),[c]}),Fn(yo,Yi,(c,n)=>{const r=[c];if(c.shouldReceiveAttributes&&c.position.hasSameParentAs(n.range.start)&&n.range.containsPosition(c.position)){const a=ip(c,n.key,n.newValue);a&&r.push(a)}return r}),Fn(yo,yo,(c,n,r)=>(c.position.isEqual(n.position)&&r.aIsStrong||(c.position=c.position._getTransformedByInsertOperation(n)),[c])),Fn(yo,zn,(c,n)=>(c.position=c.position._getTransformedByMoveOperation(n),[c])),Fn(yo,hi,(c,n)=>(c.position=c.position._getTransformedBySplitOperation(n),[c])),Fn(yo,Hi,(c,n)=>(c.position=c.position._getTransformedByMergeOperation(n),[c])),Fn(kr,yo,(c,n)=>(c.oldRange&&(c.oldRange=c.oldRange._getTransformedByInsertOperation(n)[0]),c.newRange&&(c.newRange=c.newRange._getTransformedByInsertOperation(n)[0]),[c])),Fn(kr,kr,(c,n,r)=>{if(c.name==n.name){if(!r.aIsStrong)return[new oo(0)];c.oldRange=n.newRange?n.newRange.clone():null}return[c]}),Fn(kr,Hi,(c,n)=>(c.oldRange&&(c.oldRange=c.oldRange._getTransformedByMergeOperation(n)),c.newRange&&(c.newRange=c.newRange._getTransformedByMergeOperation(n)),[c])),Fn(kr,zn,(c,n,r)=>{if(c.oldRange&&(c.oldRange=Ke._createFromRanges(c.oldRange._getTransformedByMoveOperation(n))),c.newRange){if(r.abRelation){const a=Ke._createFromRanges(c.newRange._getTransformedByMoveOperation(n));if("left"==r.abRelation.side&&n.targetPosition.isEqual(c.newRange.start))return c.newRange.end=a.end,c.newRange.start.path=r.abRelation.path,[c];if("right"==r.abRelation.side&&n.targetPosition.isEqual(c.newRange.end))return c.newRange.start=a.start,c.newRange.end.path=r.abRelation.path,[c]}c.newRange=Ke._createFromRanges(c.newRange._getTransformedByMoveOperation(n))}return[c]}),Fn(kr,hi,(c,n,r)=>{if(c.oldRange&&(c.oldRange=c.oldRange._getTransformedBySplitOperation(n)),c.newRange){if(r.abRelation){const a=c.newRange._getTransformedBySplitOperation(n);return c.newRange.start.isEqual(n.splitPosition)&&r.abRelation.wasStartBeforeMergedElement?c.newRange.start=at._createAt(n.insertionPosition):c.newRange.start.isEqual(n.splitPosition)&&!r.abRelation.wasInLeftElement&&(c.newRange.start=at._createAt(n.moveTargetPosition)),c.newRange.end=c.newRange.end.isEqual(n.splitPosition)&&r.abRelation.wasInRightElement?at._createAt(n.moveTargetPosition):c.newRange.end.isEqual(n.splitPosition)&&r.abRelation.wasEndBeforeMergedElement?at._createAt(n.insertionPosition):a.end,[c]}c.newRange=c.newRange._getTransformedBySplitOperation(n)}return[c]}),Fn(Hi,yo,(c,n)=>(c.sourcePosition.hasSameParentAs(n.position)&&(c.howMany+=n.howMany),c.sourcePosition=c.sourcePosition._getTransformedByInsertOperation(n),c.targetPosition=c.targetPosition._getTransformedByInsertOperation(n),[c])),Fn(Hi,Hi,(c,n,r)=>{if(c.sourcePosition.isEqual(n.sourcePosition)&&c.targetPosition.isEqual(n.targetPosition)){if(r.bWasUndone){const a=n.graveyardPosition.path.slice();return a.push(0),c.sourcePosition=new at(n.graveyardPosition.root,a),c.howMany=0,[c]}return[new oo(0)]}if(c.sourcePosition.isEqual(n.sourcePosition)&&!c.targetPosition.isEqual(n.targetPosition)&&!r.bWasUndone&&"splitAtSource"!=r.abRelation){const a="$graveyard"==c.targetPosition.root.rootName,d="$graveyard"==n.targetPosition.root.rootName;if(d&&!a||(!a||d)&&r.aIsStrong){const u=n.targetPosition._getTransformedByMergeOperation(n),p=c.targetPosition._getTransformedByMergeOperation(n);return[new zn(u,c.howMany,p,0)]}return[new oo(0)]}return c.sourcePosition.hasSameParentAs(n.targetPosition)&&(c.howMany+=n.howMany),c.sourcePosition=c.sourcePosition._getTransformedByMergeOperation(n),c.targetPosition=c.targetPosition._getTransformedByMergeOperation(n),c.graveyardPosition.isEqual(n.graveyardPosition)&&r.aIsStrong||(c.graveyardPosition=c.graveyardPosition._getTransformedByMergeOperation(n)),[c]}),Fn(Hi,zn,(c,n,r)=>{const a=Ke._createFromPositionAndShift(n.sourcePosition,n.howMany);return"remove"==n.type&&!r.bWasUndone&&!r.forceWeakRemove&&c.deletionPosition.hasSameParentAs(n.sourcePosition)&&a.containsPosition(c.sourcePosition)?[new oo(0)]:(n.sourcePosition.getShiftedBy(n.howMany).isEqual(c.sourcePosition)?c.sourcePosition.stickiness="toNone":n.targetPosition.isEqual(c.sourcePosition)&&"mergeSourceAffected"==r.abRelation?c.sourcePosition.stickiness="toNext":n.sourcePosition.isEqual(c.targetPosition)?(c.targetPosition.stickiness="toNone",c.howMany-=n.howMany):n.targetPosition.isEqual(c.targetPosition)&&"mergeTargetWasBefore"==r.abRelation?(c.targetPosition.stickiness="toPrevious",c.howMany+=n.howMany):(c.sourcePosition.hasSameParentAs(n.targetPosition)&&(c.howMany+=n.howMany),c.sourcePosition.hasSameParentAs(n.sourcePosition)&&(c.howMany-=n.howMany)),c.sourcePosition=c.sourcePosition._getTransformedByMoveOperation(n),c.targetPosition=c.targetPosition._getTransformedByMoveOperation(n),c.sourcePosition.stickiness="toPrevious",c.targetPosition.stickiness="toNext",c.graveyardPosition.isEqual(n.targetPosition)||(c.graveyardPosition=c.graveyardPosition._getTransformedByMoveOperation(n)),[c])}),Fn(Hi,hi,(c,n,r)=>{if(n.graveyardPosition&&(c.graveyardPosition=c.graveyardPosition._getTransformedByDeletion(n.graveyardPosition,1),c.deletionPosition.isEqual(n.graveyardPosition)&&(c.howMany=n.howMany)),c.targetPosition.isEqual(n.splitPosition)){const a=0!=n.howMany,d=n.graveyardPosition&&c.deletionPosition.isEqual(n.graveyardPosition);if(a||d||"mergeTargetNotMoved"==r.abRelation)return c.sourcePosition=c.sourcePosition._getTransformedBySplitOperation(n),[c]}if(c.sourcePosition.isEqual(n.splitPosition)){if("mergeSourceNotMoved"==r.abRelation)return c.howMany=0,c.targetPosition=c.targetPosition._getTransformedBySplitOperation(n),[c];if("mergeSameElement"==r.abRelation||c.sourcePosition.offset>0)return c.sourcePosition=n.moveTargetPosition.clone(),c.targetPosition=c.targetPosition._getTransformedBySplitOperation(n),[c]}return c.sourcePosition.hasSameParentAs(n.splitPosition)&&(c.howMany=n.splitPosition.offset),c.sourcePosition=c.sourcePosition._getTransformedBySplitOperation(n),c.targetPosition=c.targetPosition._getTransformedBySplitOperation(n),[c]}),Fn(zn,yo,(c,n)=>{const r=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany)._getTransformedByInsertOperation(n,!1)[0];return c.sourcePosition=r.start,c.howMany=r.end.offset-r.start.offset,c.targetPosition.isEqual(n.position)||(c.targetPosition=c.targetPosition._getTransformedByInsertOperation(n)),[c]}),Fn(zn,zn,(c,n,r)=>{const a=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany),d=Ke._createFromPositionAndShift(n.sourcePosition,n.howMany);let u,p=r.aIsStrong,f=!r.aIsStrong;if("insertBefore"==r.abRelation||"insertAfter"==r.baRelation?f=!0:"insertAfter"!=r.abRelation&&"insertBefore"!=r.baRelation||(f=!1),u=c.targetPosition.isEqual(n.targetPosition)&&f?c.targetPosition._getTransformedByDeletion(n.sourcePosition,n.howMany):c.targetPosition._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany),G0(c,n)&&G0(n,c))return[n.getReversed()];if(a.containsPosition(n.targetPosition)&&a.containsRange(d,!0))return a.start=a.start._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany),a.end=a.end._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany),Kl([a],u);if(d.containsPosition(c.targetPosition)&&d.containsRange(a,!0))return a.start=a.start._getCombined(n.sourcePosition,n.getMovedRangeStart()),a.end=a.end._getCombined(n.sourcePosition,n.getMovedRangeStart()),Kl([a],u);const g=Ht(c.sourcePosition.getParentPath(),n.sourcePosition.getParentPath());if("prefix"==g||"extension"==g)return a.start=a.start._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany),a.end=a.end._getTransformedByMove(n.sourcePosition,n.targetPosition,n.howMany),Kl([a],u);"remove"!=c.type||"remove"==n.type||r.aWasUndone||r.forceWeakRemove?"remove"==c.type||"remove"!=n.type||r.bWasUndone||r.forceWeakRemove||(p=!1):p=!0;const b=[],k=a.getDifference(d);for(const B of k){B.start=B.start._getTransformedByDeletion(n.sourcePosition,n.howMany),B.end=B.end._getTransformedByDeletion(n.sourcePosition,n.howMany);const U="same"==Ht(B.start.getParentPath(),n.getMovedRangeStart().getParentPath()),Z=B._getTransformedByInsertion(n.getMovedRangeStart(),n.howMany,U);b.push(...Z)}const S=a.getIntersection(d);return null!==S&&p&&(S.start=S.start._getCombined(n.sourcePosition,n.getMovedRangeStart()),S.end=S.end._getCombined(n.sourcePosition,n.getMovedRangeStart()),0===b.length?b.push(S):1==b.length?d.start.isBefore(a.start)||d.start.isEqual(a.start)?b.unshift(S):b.push(S):b.splice(1,0,S)),0===b.length?[new oo(c.baseVersion)]:Kl(b,u)}),Fn(zn,hi,(c,n,r)=>{let a=c.targetPosition.clone();c.targetPosition.isEqual(n.insertionPosition)&&n.graveyardPosition&&"moveTargetAfter"!=r.abRelation||(a=c.targetPosition._getTransformedBySplitOperation(n));const d=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany);if(d.end.isEqual(n.insertionPosition))return n.graveyardPosition||c.howMany++,c.targetPosition=a,[c];if(d.start.hasSameParentAs(n.splitPosition)&&d.containsPosition(n.splitPosition)){let p=new Ke(n.splitPosition,d.end);return p=p._getTransformedBySplitOperation(n),Kl([new Ke(d.start,n.splitPosition),p],a)}c.targetPosition.isEqual(n.splitPosition)&&"insertAtSource"==r.abRelation&&(a=n.moveTargetPosition),c.targetPosition.isEqual(n.insertionPosition)&&"insertBetween"==r.abRelation&&(a=c.targetPosition);const u=[d._getTransformedBySplitOperation(n)];if(n.graveyardPosition){const p=d.start.isEqual(n.graveyardPosition)||d.containsPosition(n.graveyardPosition);c.howMany>1&&p&&!r.aWasUndone&&u.push(Ke._createFromPositionAndShift(n.insertionPosition,1))}return Kl(u,a)}),Fn(zn,Hi,(c,n,r)=>{const a=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany);if(n.deletionPosition.hasSameParentAs(c.sourcePosition)&&a.containsPosition(n.sourcePosition))if("remove"!=c.type||r.forceWeakRemove){if(1==c.howMany)return r.bWasUndone?(c.sourcePosition=n.graveyardPosition.clone(),c.targetPosition=c.targetPosition._getTransformedByMergeOperation(n),[c]):[new oo(0)]}else if(!r.aWasUndone){const u=[];let p=n.graveyardPosition.clone(),f=n.targetPosition._getTransformedByMergeOperation(n);c.howMany>1&&(u.push(new zn(c.sourcePosition,c.howMany-1,c.targetPosition,0)),p=p._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany-1),f=f._getTransformedByMove(c.sourcePosition,c.targetPosition,c.howMany-1));const g=n.deletionPosition._getCombined(c.sourcePosition,c.targetPosition),b=new zn(p,1,g,0),k=b.getMovedRangeStart().path.slice();k.push(0);const S=new at(b.targetPosition.root,k);f=f._getTransformedByMove(p,g,1);const B=new zn(f,n.howMany,S,0);return u.push(b),u.push(B),u}const d=Ke._createFromPositionAndShift(c.sourcePosition,c.howMany)._getTransformedByMergeOperation(n);return c.sourcePosition=d.start,c.howMany=d.end.offset-d.start.offset,c.targetPosition=c.targetPosition._getTransformedByMergeOperation(n),[c]}),Fn(wr,yo,(c,n)=>(c.position=c.position._getTransformedByInsertOperation(n),[c])),Fn(wr,Hi,(c,n)=>c.position.isEqual(n.deletionPosition)?(c.position=n.graveyardPosition.clone(),c.position.stickiness="toNext",[c]):(c.position=c.position._getTransformedByMergeOperation(n),[c])),Fn(wr,zn,(c,n)=>(c.position=c.position._getTransformedByMoveOperation(n),[c])),Fn(wr,wr,(c,n,r)=>{if(c.position.isEqual(n.position)){if(!r.aIsStrong)return[new oo(0)];c.oldName=n.newName}return[c]}),Fn(wr,hi,(c,n)=>{if("same"==Ht(c.position.path,n.splitPosition.getParentPath())&&!n.graveyardPosition){const r=new wr(c.position.getShiftedBy(1),c.oldName,c.newName,0);return[c,r]}return c.position=c.position._getTransformedBySplitOperation(n),[c]}),Fn(_l,_l,(c,n,r)=>{if(c.root===n.root&&c.key===n.key){if(!r.aIsStrong||c.newValue===n.newValue)return[new oo(0)];c.oldValue=n.newValue}return[c]}),Fn(Ea,Ea,(c,n)=>c.rootName===n.rootName&&c.isAdd===n.isAdd?[new oo(0)]:[c]),Fn(hi,yo,(c,n)=>(c.splitPosition.hasSameParentAs(n.position)&&c.splitPosition.offset<n.position.offset&&(c.howMany+=n.howMany),c.splitPosition=c.splitPosition._getTransformedByInsertOperation(n),c.insertionPosition=c.insertionPosition._getTransformedByInsertOperation(n),[c])),Fn(hi,Hi,(c,n,r)=>{if(!c.graveyardPosition&&!r.bWasUndone&&c.splitPosition.hasSameParentAs(n.sourcePosition)){const a=n.graveyardPosition.path.slice();a.push(0);const d=new at(n.graveyardPosition.root,a),u=hi.getInsertionPosition(new at(n.graveyardPosition.root,a)),p=new hi(d,0,u,null,0);return c.splitPosition=c.splitPosition._getTransformedByMergeOperation(n),c.insertionPosition=hi.getInsertionPosition(c.splitPosition),c.graveyardPosition=p.insertionPosition.clone(),c.graveyardPosition.stickiness="toNext",[p,c]}return c.splitPosition.hasSameParentAs(n.deletionPosition)&&!c.splitPosition.isAfter(n.deletionPosition)&&c.howMany--,c.splitPosition.hasSameParentAs(n.targetPosition)&&(c.howMany+=n.howMany),c.splitPosition=c.splitPosition._getTransformedByMergeOperation(n),c.insertionPosition=hi.getInsertionPosition(c.splitPosition),c.graveyardPosition&&(c.graveyardPosition=c.graveyardPosition._getTransformedByMergeOperation(n)),[c]}),Fn(hi,zn,(c,n,r)=>{const a=Ke._createFromPositionAndShift(n.sourcePosition,n.howMany);if(c.graveyardPosition){const u=a.start.isEqual(c.graveyardPosition)||a.containsPosition(c.graveyardPosition);if(!r.bWasUndone&&u){const p=c.splitPosition._getTransformedByMoveOperation(n),f=c.graveyardPosition._getTransformedByMoveOperation(n),g=f.path.slice();g.push(0);const b=new at(f.root,g);return[new zn(p,c.howMany,b,0)]}c.graveyardPosition=c.graveyardPosition._getTransformedByMoveOperation(n)}const d=c.splitPosition.isEqual(n.targetPosition);if(d&&("insertAtSource"==r.baRelation||"splitBefore"==r.abRelation))return c.howMany+=n.howMany,c.splitPosition=c.splitPosition._getTransformedByDeletion(n.sourcePosition,n.howMany),c.insertionPosition=hi.getInsertionPosition(c.splitPosition),[c];if(d&&r.abRelation&&r.abRelation.howMany){const{howMany:u,offset:p}=r.abRelation;return c.howMany+=u,c.splitPosition=c.splitPosition.getShiftedBy(p),[c]}return c.splitPosition.hasSameParentAs(n.sourcePosition)&&a.containsPosition(c.splitPosition)?(c.howMany-=n.howMany-(c.splitPosition.offset-n.sourcePosition.offset),c.splitPosition.hasSameParentAs(n.targetPosition)&&c.splitPosition.offset<n.targetPosition.offset&&(c.howMany+=n.howMany),c.splitPosition=n.sourcePosition.clone(),c.insertionPosition=hi.getInsertionPosition(c.splitPosition),[c]):(n.sourcePosition.isEqual(n.targetPosition)||(c.splitPosition.hasSameParentAs(n.sourcePosition)&&c.splitPosition.offset<=n.sourcePosition.offset&&(c.howMany-=n.howMany),c.splitPosition.hasSameParentAs(n.targetPosition)&&c.splitPosition.offset<n.targetPosition.offset&&(c.howMany+=n.howMany)),c.splitPosition.stickiness="toNone",c.splitPosition=c.splitPosition._getTransformedByMoveOperation(n),c.splitPosition.stickiness="toNext",c.insertionPosition=c.graveyardPosition?c.insertionPosition._getTransformedByMoveOperation(n):hi.getInsertionPosition(c.splitPosition),[c])}),Fn(hi,hi,(c,n,r)=>{if(c.splitPosition.isEqual(n.splitPosition)){if(!c.graveyardPosition&&!n.graveyardPosition)return[new oo(0)];if(c.graveyardPosition&&n.graveyardPosition&&c.graveyardPosition.isEqual(n.graveyardPosition))return[new oo(0)];if("splitBefore"==r.abRelation)return c.howMany=0,c.graveyardPosition=c.graveyardPosition._getTransformedBySplitOperation(n),[c]}if(c.graveyardPosition&&n.graveyardPosition&&c.graveyardPosition.isEqual(n.graveyardPosition)){const a="$graveyard"==c.splitPosition.root.rootName,d="$graveyard"==n.splitPosition.root.rootName;if(d&&!a||(!a||d)&&r.aIsStrong){const u=[];return n.howMany&&u.push(new zn(n.moveTargetPosition,n.howMany,n.splitPosition,0)),c.howMany&&u.push(new zn(c.splitPosition,c.howMany,c.moveTargetPosition,0)),u}return[new oo(0)]}if(c.graveyardPosition&&(c.graveyardPosition=c.graveyardPosition._getTransformedBySplitOperation(n)),c.splitPosition.isEqual(n.insertionPosition)&&"splitBefore"==r.abRelation)return c.howMany++,[c];if(n.splitPosition.isEqual(c.insertionPosition)&&"splitBefore"==r.baRelation){const a=n.insertionPosition.path.slice();a.push(0);const d=new at(n.insertionPosition.root,a);return[c,new zn(c.insertionPosition,1,d,0)]}return c.splitPosition.hasSameParentAs(n.splitPosition)&&c.splitPosition.offset<n.splitPosition.offset&&(c.howMany-=n.howMany),c.splitPosition=c.splitPosition._getTransformedBySplitOperation(n),c.insertionPosition=hi.getInsertionPosition(c.splitPosition),[c]});class ro extends(ye(at)){constructor(n,r,a="toNone"){if(super(n,r,a),!this.root.is("rootElement"))throw new Y("model-liveposition-root-not-rootelement",n);$x.call(this)}detach(){this.stopListening()}toPosition(){return new at(this.root,this.path.slice(),this.stickiness)}static fromPosition(n,r){return new this(n.root,n.path.slice(),r||n.stickiness)}}function $x(){this.listenTo(this.root.document.model,"applyOperation",(c,n)=>{const r=n[0];r.isDocumentOperation&&qx.call(this,r)},{priority:"low"})}function qx(c){const n=this.getTransformedByOperation(c);if(!this.isEqual(n)){const r=this.toPosition();this.path=n.path,this.root=n.root,this.fire("change",r)}}ro.prototype.is=function(c){return"livePosition"===c||"model:livePosition"===c||"position"==c||"model:position"===c};class fu{constructor(n={}){"string"==typeof n&&(n="transparent"===n?{isUndoable:!1}:{},ie("batch-constructor-deprecated-string-type"));const{isUndoable:r=!0,isLocal:a=!0,isUndo:d=!1,isTyping:u=!1}=n;this.operations=[],this.isUndoable=r,this.isLocal=a,this.isUndo=d,this.isTyping=u}get type(){return ie("batch-type-deprecated"),"default"}get baseVersion(){for(const n of this.operations)if(null!==n.baseVersion)return n.baseVersion;return null}addOperation(n){return n.batch=this,this.operations.push(n),n}}var Gx=Object.defineProperty,Kx=Object.defineProperties,Zx=Object.getOwnPropertyDescriptors,K0=Object.getOwnPropertySymbols,cg=Object.prototype.hasOwnProperty,Z0=Object.prototype.propertyIsEnumerable,dg=(c,n,r)=>n in c?Gx(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,Xw=(c,n)=>{for(var r in n||(n={}))cg.call(n,r)&&dg(c,r,n[r]);if(K0)for(var r of K0(n))Z0.call(n,r)&&dg(c,r,n[r]);return c};class Qx{constructor(n){this._changesInElement=new Map,this._elementSnapshots=new Map,this._changedMarkers=new Map,this._changedRoots=new Map,this._changeCount=0,this._cachedChanges=null,this._cachedChangesWithGraveyard=null,this._refreshedItems=new Set,this._markerCollection=n}get isEmpty(){return 0==this._changesInElement.size&&0==this._changedMarkers.size&&0==this._changedRoots.size}bufferOperation(n){const r=n;switch(r.type){case"insert":if(this._isInInsertedElement(r.position.parent))return;this._markInsert(r.position.parent,r.position.offset,r.nodes.maxOffset);break;case"addAttribute":case"removeAttribute":case"changeAttribute":for(const a of r.range.getItems({shallow:!0}))this._isInInsertedElement(a.parent)||this._markAttribute(a);break;case"remove":case"move":case"reinsert":{if(r.sourcePosition.isEqual(r.targetPosition)||r.sourcePosition.getShiftedBy(r.howMany).isEqual(r.targetPosition))return;const a=this._isInInsertedElement(r.sourcePosition.parent),d=this._isInInsertedElement(r.targetPosition.parent);a||this._markRemove(r.sourcePosition.parent,r.sourcePosition.offset,r.howMany),d||this._markInsert(r.targetPosition.parent,r.getMovedRangeStart().offset,r.howMany);break}case"rename":{if(this._isInInsertedElement(r.position.parent))return;this._markRemove(r.position.parent,r.position.offset,1),this._markInsert(r.position.parent,r.position.offset,1);const a=Ke._createFromPositionAndShift(r.position,1);for(const d of this._markerCollection.getMarkersIntersectingRange(a)){const u=d.getData();this.bufferMarkerChange(d.name,u,u)}break}case"split":{const a=r.splitPosition.parent;this._isInInsertedElement(a)||this._markRemove(a,r.splitPosition.offset,r.howMany),this._isInInsertedElement(r.insertionPosition.parent)||this._markInsert(r.insertionPosition.parent,r.insertionPosition.offset,1),r.graveyardPosition&&this._markRemove(r.graveyardPosition.parent,r.graveyardPosition.offset,1);break}case"merge":{const a=r.sourcePosition.parent;this._isInInsertedElement(a.parent)||this._markRemove(a.parent,a.startOffset,1),this._markInsert(r.graveyardPosition.parent,r.graveyardPosition.offset,1);const u=r.targetPosition.parent;this._isInInsertedElement(u)||this._markInsert(u,r.targetPosition.offset,a.maxOffset);break}case"detachRoot":case"addRoot":{const a=r.affectedSelectable;if(!a._isLoaded||a.isAttached()==r.isAdd)return;this._bufferRootStateChange(r.rootName,r.isAdd);break}case"addRootAttribute":case"removeRootAttribute":case"changeRootAttribute":if(!r.root._isLoaded)return;this._bufferRootAttributeChange(r.root.rootName,r.key,r.oldValue,r.newValue)}this._cachedChanges=null}bufferMarkerChange(n,r,a){r.range&&r.range.root.is("rootElement")&&!r.range.root._isLoaded&&(r.range=null),a.range&&a.range.root.is("rootElement")&&!a.range.root._isLoaded&&(a.range=null);let d=this._changedMarkers.get(n);d?d.newMarkerData=a:(d={newMarkerData:a,oldMarkerData:r},this._changedMarkers.set(n,d)),null==d.oldMarkerData.range&&null==a.range&&this._changedMarkers.delete(n)}getMarkersToRemove(){const n=[];for(const[r,a]of this._changedMarkers)null!=a.oldMarkerData.range&&n.push({name:r,range:a.oldMarkerData.range});return n}getMarkersToAdd(){const n=[];for(const[r,a]of this._changedMarkers)null!=a.newMarkerData.range&&n.push({name:r,range:a.newMarkerData.range});return n}getChangedMarkers(){return Array.from(this._changedMarkers).map(([n,r])=>({name:n,data:{oldRange:r.oldMarkerData.range,newRange:r.newMarkerData.range}}))}hasDataChanges(){if(this._changesInElement.size>0||this._changedRoots.size>0)return!0;for(const{newMarkerData:n,oldMarkerData:r}of this._changedMarkers.values()){if(n.affectsData!==r.affectsData)return!0;if(n.affectsData){const a=n.range&&!r.range,d=!n.range&&r.range,u=n.range&&r.range&&!n.range.isEqual(r.range);if(a||d||u)return!0}}return!1}getChanges(n={}){if(this._cachedChanges)return n.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice();let r=[];for(const a of this._changesInElement.keys()){const d=this._changesInElement.get(a).sort((k,S)=>k.offset===S.offset?k.type!=S.type?"remove"==k.type?-1:1:0:k.offset<S.offset?-1:1),u=this._elementSnapshots.get(a),p=ug(a.getChildren()),f=eC(u.length,d);let g=0,b=0;for(const k of f)if("i"===k)r.push(this._getInsertDiff(a,g,p[g])),g++;else if("r"===k)r.push(this._getRemoveDiff(a,g,u[b])),b++;else if("a"===k){const S=p[g].attributes,B=u[b].attributes;let U;if("$text"==p[g].name)U=new Ke(at._createAt(a,g),at._createAt(a,g+1));else{const Z=a.offsetToIndex(g);U=new Ke(at._createAt(a,g),at._createAt(a.getChild(Z),0))}r.push(...this._getAttributesDiff(U,B,S)),g++,b++}else g++,b++}r.sort((a,d)=>a.position.root!=d.position.root?a.position.root.rootName<d.position.root.rootName?-1:1:a.position.isEqual(d.position)?a.changeCount-d.changeCount:a.position.isBefore(d.position)?-1:1);for(let a=1,d=0;a<r.length;a++){const u=r[d],p=r[a],f="remove"==u.type&&"remove"==p.type&&"$text"==u.name&&"$text"==p.name&&u.position.isEqual(p.position),b="attribute"==u.type&&"attribute"==p.type&&u.position.parent==p.position.parent&&u.range.isFlat&&p.range.isFlat&&u.position.offset+u.length==p.position.offset&&u.attributeKey==p.attributeKey&&u.attributeOldValue==p.attributeOldValue&&u.attributeNewValue==p.attributeNewValue;f||"insert"==u.type&&"insert"==p.type&&"$text"==u.name&&"$text"==p.name&&u.position.parent==p.position.parent&&u.position.offset+u.length==p.position.offset||b?(u.length++,b&&(u.range.end=u.range.end.getShiftedBy(1)),r[a]=null):d=a}r=r.filter(a=>a);for(const a of r)delete a.changeCount,"attribute"==a.type&&(delete a.position,delete a.length);return this._changeCount=0,this._cachedChangesWithGraveyard=r,this._cachedChanges=r.filter(td),n.includeChangesInGraveyard?this._cachedChangesWithGraveyard.slice():this._cachedChanges.slice()}getChangedRoots(){return Array.from(this._changedRoots.values()).map(n=>{const r=Xw({},n);return void 0!==r.state&&delete r.attributes,r})}getRefreshedItems(){return new Set(this._refreshedItems)}reset(){this._changesInElement.clear(),this._elementSnapshots.clear(),this._changedMarkers.clear(),this._changedRoots.clear(),this._refreshedItems=new Set,this._cachedChanges=null}_bufferRootStateChange(n,r){if(!this._changedRoots.has(n))return void this._changedRoots.set(n,{name:n,state:r?"attached":"detached"});const a=this._changedRoots.get(n);void 0!==a.state?(delete a.state,void 0===a.attributes&&this._changedRoots.delete(n)):a.state=r?"attached":"detached"}_bufferRootAttributeChange(n,r,a,d){const u=this._changedRoots.get(n)||{name:n},p=u.attributes||{};if(p[r]){const f=p[r];d===f.oldValue?delete p[r]:f.newValue=d}else p[r]={oldValue:a,newValue:d};0===Object.entries(p).length?(delete u.attributes,void 0===u.state&&this._changedRoots.delete(n)):(u.attributes=p,this._changedRoots.set(n,u))}_refreshItem(n){if(this._isInInsertedElement(n.parent))return;this._markRemove(n.parent,n.startOffset,n.offsetSize),this._markInsert(n.parent,n.startOffset,n.offsetSize),this._refreshedItems.add(n);const r=Ke._createOn(n);for(const a of this._markerCollection.getMarkersIntersectingRange(r)){const d=a.getData();this.bufferMarkerChange(a.name,d,d)}this._cachedChanges=null}_bufferRootLoad(n){if(n.isAttached()){this._bufferRootStateChange(n.rootName,!0),this._markInsert(n,0,n.maxOffset);for(const a of n.getAttributeKeys())this._bufferRootAttributeChange(n.rootName,a,null,n.getAttribute(a));for(const a of this._markerCollection)if(a.getRange().root==n){const d=a.getData();this.bufferMarkerChange(a.name,(r=Xw({},d),Kx(r,Zx({range:null}))),d)}var r}}_markInsert(n,r,a){if(n.root.is("rootElement")&&!n.root._isLoaded)return;const d={type:"insert",offset:r,howMany:a,count:this._changeCount++};this._markChange(n,d)}_markRemove(n,r,a){if(n.root.is("rootElement")&&!n.root._isLoaded)return;const d={type:"remove",offset:r,howMany:a,count:this._changeCount++};this._markChange(n,d),this._removeAllNestedChanges(n,r,a)}_markAttribute(n){if(n.root.is("rootElement")&&!n.root._isLoaded)return;const r={type:"attribute",offset:n.startOffset,howMany:n.offsetSize,count:this._changeCount++};this._markChange(n.parent,r)}_markChange(n,r){this._makeSnapshot(n);const a=this._getChangesForElement(n);this._handleChange(r,a),a.push(r);for(let d=0;d<a.length;d++)a[d].howMany<1&&(a.splice(d,1),d--)}_getChangesForElement(n){let r;return this._changesInElement.has(n)?r=this._changesInElement.get(n):(r=[],this._changesInElement.set(n,r)),r}_makeSnapshot(n){this._elementSnapshots.has(n)||this._elementSnapshots.set(n,ug(n.getChildren()))}_handleChange(n,r){n.nodesToHandle=n.howMany;for(const a of r){const d=n.offset+n.howMany,u=a.offset+a.howMany;if("insert"==n.type&&("insert"==a.type&&(n.offset<=a.offset?a.offset+=n.howMany:n.offset<u&&(a.howMany+=n.nodesToHandle,n.nodesToHandle=0)),"remove"==a.type&&n.offset<a.offset&&(a.offset+=n.howMany),"attribute"==a.type))if(n.offset<=a.offset)a.offset+=n.howMany;else if(n.offset<u){const p=a.howMany;a.howMany=n.offset-a.offset,r.unshift({type:"attribute",offset:d,howMany:p-a.howMany,count:this._changeCount++})}if("remove"==n.type){if("insert"==a.type)if(d<=a.offset)a.offset-=n.howMany;else if(d<=u)if(n.offset<a.offset){const p=d-a.offset;a.offset=n.offset,a.howMany-=p,n.nodesToHandle-=p}else a.howMany-=n.nodesToHandle,n.nodesToHandle=0;else if(n.offset<=a.offset)n.nodesToHandle-=a.howMany,a.howMany=0;else if(n.offset<u){const p=u-n.offset;a.howMany-=p,n.nodesToHandle-=p}if("remove"==a.type&&(d<=a.offset?a.offset-=n.howMany:n.offset<a.offset&&(n.nodesToHandle+=a.howMany,a.howMany=0)),"attribute"==a.type)if(d<=a.offset)a.offset-=n.howMany;else if(n.offset<a.offset){const p=d-a.offset;a.offset=n.offset,a.howMany-=p}else if(n.offset<u)if(d<=u){const p=a.howMany;a.howMany=n.offset-a.offset,r.unshift({type:"attribute",offset:n.offset,howMany:p-a.howMany-n.nodesToHandle,count:this._changeCount++})}else a.howMany-=u-n.offset}if("attribute"==n.type){if("insert"==a.type)if(n.offset<a.offset&&d>a.offset){if(d>u){const p={type:"attribute",offset:u,howMany:d-u,count:this._changeCount++};this._handleChange(p,r),r.push(p)}n.nodesToHandle=a.offset-n.offset,n.howMany=n.nodesToHandle}else n.offset>=a.offset&&n.offset<u&&(d>u?(n.nodesToHandle=d-u,n.offset=u):n.nodesToHandle=0);if("remove"==a.type&&n.offset<a.offset&&d>a.offset){const p={type:"attribute",offset:a.offset,howMany:d-a.offset,count:this._changeCount++};this._handleChange(p,r),r.push(p),n.nodesToHandle=a.offset-n.offset,n.howMany=n.nodesToHandle}"attribute"==a.type&&(n.offset>=a.offset&&d<=u?(n.nodesToHandle=0,n.howMany=0,n.offset=0):n.offset<=a.offset&&d>=u&&(a.howMany=0))}}n.howMany=n.nodesToHandle,delete n.nodesToHandle}_getInsertDiff(n,r,a){return{type:"insert",position:at._createAt(n,r),name:a.name,attributes:new Map(a.attributes),length:1,changeCount:this._changeCount++,_element:a.element}}_getRemoveDiff(n,r,a){return{type:"remove",position:at._createAt(n,r),name:a.name,attributes:new Map(a.attributes),length:1,changeCount:this._changeCount++,_element:a.element}}_getAttributesDiff(n,r,a){const d=[];a=new Map(a);for(const[u,p]of r){const f=a.has(u)?a.get(u):null;f!==p&&d.push({type:"attribute",position:n.start,range:n.clone(),length:1,attributeKey:u,attributeOldValue:p,attributeNewValue:f,changeCount:this._changeCount++}),a.delete(u)}for(const[u,p]of a)d.push({type:"attribute",position:n.start,range:n.clone(),length:1,attributeKey:u,attributeOldValue:null,attributeNewValue:p,changeCount:this._changeCount++});return d}_isInInsertedElement(n){const r=n.parent;if(!r)return!1;const a=this._changesInElement.get(r),d=n.startOffset;if(a)for(const u of a)if("insert"==u.type&&d>=u.offset&&d<u.offset+u.howMany)return!0;return this._isInInsertedElement(r)}_removeAllNestedChanges(n,r,a){const d=new Ke(at._createAt(n,r),at._createAt(n,r+a));for(const u of d.getItems({shallow:!0}))u.is("element")&&(this._elementSnapshots.delete(u),this._changesInElement.delete(u),this._removeAllNestedChanges(u,0,u.maxOffset))}}function ug(c){const n=[];for(const r of c)if(r.is("$text"))for(let a=0;a<r.data.length;a++)n.push({name:"$text",attributes:new Map(r.getAttributes())});else n.push({name:r.name,attributes:new Map(r.getAttributes()),element:r});return n}function eC(c,n){const r=[];let a=0,d=0;for(const u of n){if(u.offset>a){for(let p=0;p<u.offset-a;p++)r.push("e");d+=u.offset-a}if("insert"==u.type){for(let p=0;p<u.howMany;p++)r.push("i");a=u.offset+u.howMany}else if("remove"==u.type){for(let p=0;p<u.howMany;p++)r.push("r");a=u.offset,d+=u.howMany}else r.push(..."a".repeat(u.howMany).split("")),a=u.offset+u.howMany,d+=u.howMany}if(d<c)for(let u=0;u<c-d-a;u++)r.push("e");return r}function td(c){return!("position"in c&&"$graveyard"==c.position.root.rootName||"range"in c&&"$graveyard"==c.range.root.rootName)}class tC{constructor(){this._operations=[],this._undoPairs=new Map,this._undoneOperations=new Set,this._baseVersionToOperationIndex=new Map,this._version=0,this._gaps=new Map}get version(){return this._version}set version(n){this._operations.length&&n>this._version+1&&this._gaps.set(this._version,n),this._version=n}get lastOperation(){return this._operations[this._operations.length-1]}addOperation(n){if(n.baseVersion!==this.version)throw new Y("model-document-history-addoperation-incorrect-version",this,{operation:n,historyVersion:this.version});this._operations.push(n),this._version++,this._baseVersionToOperationIndex.set(n.baseVersion,this._operations.length-1)}getOperations(n,r=this.version){if(!this._operations.length)return[];const a=this._operations[0];void 0===n&&(n=a.baseVersion);let d=r-1;for(const[f,g]of this._gaps)n>f&&n<g&&(n=g),d>f&&d<g&&(d=f-1);if(d<a.baseVersion||n>this.lastOperation.baseVersion)return[];let u=this._baseVersionToOperationIndex.get(n);void 0===u&&(u=0);let p=this._baseVersionToOperationIndex.get(d);return void 0===p&&(p=this._operations.length-1),this._operations.slice(u,p+1)}getOperation(n){const r=this._baseVersionToOperationIndex.get(n);if(void 0!==r)return this._operations[r]}setOperationAsUndone(n,r){this._undoPairs.set(r,n),this._undoneOperations.add(n)}isUndoingOperation(n){return this._undoPairs.has(n)}isUndoneOperation(n){return this._undoneOperations.has(n)}getUndoneOperation(n){return this._undoPairs.get(n)}reset(){this._version=0,this._undoPairs=new Map,this._operations=[],this._undoneOperations=new Set,this._gaps=new Map,this._baseVersionToOperationIndex=new Map}}class op extends At{constructor(n,r,a="main"){super(r),this._isAttached=!0,this._isLoaded=!0,this._document=n,this.rootName=a}get document(){return this._document}isAttached(){return this._isAttached}toJSON(){return this.rootName}}op.prototype.is=function(c,n){return n?n===this.name&&("rootElement"===c||"model:rootElement"===c||"element"===c||"model:element"===c):"rootElement"===c||"model:rootElement"===c||"element"===c||"model:element"===c||"node"===c||"model:node"===c};var Jx=Object.defineProperty,lO=Object.defineProperties,hg=Object.getOwnPropertyDescriptors,nC=Object.getOwnPropertySymbols,iC=Object.prototype.hasOwnProperty,oC=Object.prototype.propertyIsEnumerable,Q0=(c,n,r)=>n in c?Jx(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,pg=(c,n)=>{for(var r in n||(n={}))iC.call(n,r)&&Q0(c,r,n[r]);if(nC)for(var r of nC(n))oC.call(n,r)&&Q0(c,r,n[r]);return c},J0=(c,n)=>lO(c,hg(n));const rp="$graveyard";class sp extends(ye()){constructor(n){super(),this.model=n,this.history=new tC,this.selection=new hs(this),this.roots=new os({idProperty:"rootName"}),this.differ=new Qx(n.markers),this.isReadOnly=!1,this._postFixers=new Set,this._hasSelectionChangedFromTheLastChangeBlock=!1,this.createRoot("$root",rp),this.listenTo(n,"applyOperation",(r,a)=>{const d=a[0];d.isDocumentOperation&&this.differ.bufferOperation(d)},{priority:"high"}),this.listenTo(n,"applyOperation",(r,a)=>{const d=a[0];d.isDocumentOperation&&this.history.addOperation(d)},{priority:"low"}),this.listenTo(this.selection,"change",()=>{this._hasSelectionChangedFromTheLastChangeBlock=!0}),this.listenTo(n.markers,"update",(r,a,d,u,p)=>{const f=J0(pg({},a.getData()),{range:u});this.differ.bufferMarkerChange(a.name,p,f),null===d&&a.on("change",(g,b)=>{const k=a.getData();this.differ.bufferMarkerChange(a.name,J0(pg({},k),{range:b}),k)})}),this.registerPostFixer(r=>{let a=!1;for(const d of this.roots)d.isAttached()||d.isEmpty||(r.remove(r.createRangeIn(d)),a=!0);for(const d of this.model.markers)d.getRange().root.isAttached()||(r.removeMarker(d),a=!0);return a})}get version(){return this.history.version}set version(n){this.history.version=n}get graveyard(){return this.getRoot(rp)}createRoot(n="$root",r="main"){if(this.roots.get(r))throw new Y("model-document-createroot-name-exists",this,{name:r});const a=new op(this,n,r);return this.roots.add(a),a}destroy(){this.selection.destroy(),this.stopListening()}getRoot(n="main"){return this.roots.get(n)}getRootNames(n=!1){return this.getRoots(n).map(r=>r.rootName)}getRoots(n=!1){return this.roots.filter(r=>r!=this.graveyard&&(n||r.isAttached())&&r._isLoaded)}registerPostFixer(n){this._postFixers.add(n)}toJSON(){const n=jh(this);return n.selection="[engine.model.DocumentSelection]",n.model="[engine.model.Model]",n}_handleChangeBlock(n){this._hasDocumentChangedFromTheLastChangeBlock()&&(this._callPostFixers(n),this.selection.refresh(),this.differ.hasDataChanges()?this.fire("change:data",n.batch):this.fire("change",n.batch),this.selection.refresh(),this.differ.reset()),this._hasSelectionChangedFromTheLastChangeBlock=!1}_hasDocumentChangedFromTheLastChangeBlock(){return!this.differ.isEmpty||this._hasSelectionChangedFromTheLastChangeBlock}_getDefaultRoot(){const n=this.getRoots();return n.length?n[0]:this.graveyard}_getDefaultRange(){const n=this._getDefaultRoot(),r=this.model,a=r.schema,d=r.createPositionFromPath(n,[0]);return a.getNearestSelectionRange(d)||r.createRange(d)}_validateSelectionRange(n){return X0(n.start)&&X0(n.end)}_callPostFixers(n){let r=!1;do{for(const a of this._postFixers)if(this.selection.refresh(),r=a(n),r)break}while(r)}}function X0(c){const n=c.textNode;if(n){const r=n.data,a=c.offset-n.startOffset;return!Us(r,a)&&!Rh(r,a)}return!0}var ev=Object.defineProperty,fg=Object.defineProperties,rC=Object.getOwnPropertyDescriptors,mg=Object.getOwnPropertySymbols,ap=Object.prototype.hasOwnProperty,Xx=Object.prototype.propertyIsEnumerable,tv=(c,n,r)=>n in c?ev(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;class eE extends(ye()){constructor(){super(...arguments),this._markers=new Map}[Symbol.iterator](){return this._markers.values()}has(n){return this._markers.has(n instanceof mu?n.name:n)}get(n){return this._markers.get(n)||null}_set(n,r,a=!1,d=!1){const u=n instanceof mu?n.name:n;if(u.includes(","))throw new Y("markercollection-incorrect-marker-name",this);const p=this._markers.get(u);if(p){const k=p.getData(),S=p.getRange();let B=!1;return S.isEqual(r)||(p._attachLiveRange(Ss.fromRange(r)),B=!0),a!=p.managedUsingOperations&&(p._managedUsingOperations=a,B=!0),"boolean"==typeof d&&d!=p.affectsData&&(p._affectsData=d,B=!0),B&&this.fire(`update:${u}`,p,S,r,k),p}const f=Ss.fromRange(r),g=new mu(u,f,a,d);var b;return this._markers.set(u,g),this.fire(`update:${u}`,g,null,r,(b=((k,S)=>{for(var B in S||(S={}))ap.call(S,B)&&tv(k,B,S[B]);if(mg)for(var B of mg(S))Xx.call(S,B)&&tv(k,B,S[B]);return k})({},g.getData()),fg(b,rC({range:null})))),g}_remove(n){const r=n instanceof mu?n.name:n,a=this._markers.get(r);return!!a&&(this._markers.delete(r),this.fire(`update:${r}`,a,a.getRange(),null,a.getData()),this._destroyMarker(a),!0)}_refresh(n){const r=n instanceof mu?n.name:n,a=this._markers.get(r);if(!a)throw new Y("markercollection-refresh-marker-not-exists",this);const d=a.getRange();this.fire(`update:${r}`,a,d,d,a.getData())}*getMarkersAtPosition(n){for(const r of this)r.getRange().containsPosition(n)&&(yield r)}*getMarkersIntersectingRange(n){for(const r of this)null!==r.getRange().getIntersection(n)&&(yield r)}destroy(){for(const n of this._markers.values())this._destroyMarker(n);this._markers=null,this.stopListening()}*getMarkersGroup(n){for(const r of this._markers.values())r.name.startsWith(n+":")&&(yield r)}_destroyMarker(n){n.stopListening(),n._detachLiveRange()}}class mu extends(ye(fl)){constructor(n,r,a,d){super(),this.name=n,this._liveRange=this._attachLiveRange(r),this._managedUsingOperations=a,this._affectsData=d}get managedUsingOperations(){if(!this._liveRange)throw new Y("marker-destroyed",this);return this._managedUsingOperations}get affectsData(){if(!this._liveRange)throw new Y("marker-destroyed",this);return this._affectsData}getData(){return{range:this.getRange(),affectsData:this.affectsData,managedUsingOperations:this.managedUsingOperations}}getStart(){if(!this._liveRange)throw new Y("marker-destroyed",this);return this._liveRange.start.clone()}getEnd(){if(!this._liveRange)throw new Y("marker-destroyed",this);return this._liveRange.end.clone()}getRange(){if(!this._liveRange)throw new Y("marker-destroyed",this);return this._liveRange.toRange()}_attachLiveRange(n){return this._liveRange&&this._detachLiveRange(),n.delegate("change:range").to(this),n.delegate("change:content").to(this),this._liveRange=n,n}_detachLiveRange(){this._liveRange.stopDelegating("change:range",this),this._liveRange.stopDelegating("change:content",this),this._liveRange.detach(),this._liveRange=null}}mu.prototype.is=function(c){return"marker"===c||"model:marker"===c};class tE extends Ur{constructor(n,r){super(null),this.sourcePosition=n.clone(),this.howMany=r}get type(){return"detach"}get affectedSelectable(){return null}toJSON(){const n=super.toJSON();return n.sourcePosition=this.sourcePosition.toJSON(),n}_validate(){if(this.sourcePosition.root.document)throw new Y("detach-operation-on-document-node",this)}_execute(){Gw(Ke._createFromPositionAndShift(this.sourcePosition,this.howMany))}static get className(){return"DetachOperation"}}class Sa extends fl{constructor(n){super(),this.markers=new Map,this._children=new Zh,n&&this._insertChild(0,n)}[Symbol.iterator](){return this.getChildren()}get childCount(){return this._children.length}get maxOffset(){return this._children.maxOffset}get isEmpty(){return 0===this.childCount}get nextSibling(){return null}get previousSibling(){return null}get root(){return this}get parent(){return null}get document(){return null}isAttached(){return!1}getAncestors(){return[]}getChild(n){return this._children.getNode(n)}getChildren(){return this._children[Symbol.iterator]()}getChildIndex(n){return this._children.getNodeIndex(n)}getChildStartOffset(n){return this._children.getNodeStartOffset(n)}getPath(){return[]}getNodeByPath(n){let r=this;for(const a of n)r=r.getChild(r.offsetToIndex(a));return r}offsetToIndex(n){return this._children.offsetToIndex(n)}toJSON(){const n=[];for(const r of this._children)n.push(r.toJSON());return n}static fromJSON(n){const r=[];for(const a of n)r.push(a.name?At.fromJSON(a):Cn.fromJSON(a));return new Sa(r)}_appendChild(n){this._insertChild(this.childCount,n)}_insertChild(n,r){const a="string"==typeof(d=r)?[new Cn(d)]:(ai(d)||(d=[d]),Array.from(d).map(u=>"string"==typeof u?new Cn(u):u instanceof Ks?new Cn(u.data,u.getAttributes()):u));var d;for(const d of a)null!==d.parent&&d._remove(),d.parent=this;this._children._insertNodes(n,a)}_removeChildren(n,r=1){const a=this._children._removeNodes(n,r);for(const d of a)d.parent=null;return a}}Sa.prototype.is=function(c){return"documentFragment"===c||"model:documentFragment"===c};class sC{constructor(n,r){this.model=n,this.batch=r}createText(n,r){return new Cn(n,r)}createElement(n,r){return new At(n,r)}createDocumentFragment(){return new Sa}cloneElement(n,r=!0){return n._clone(r)}insert(n,r,a=0){if(this._assertWriterUsedCorrectly(),n instanceof Cn&&""==n.data)return;const d=at._createAt(r,a);if(n.parent){if(aC(n.root,d.root))return void this.move(Ke._createOn(n),d);if(n.root.document)throw new Y("model-writer-insert-forbidden-move",this);this.remove(n)}const p=new yo(d,n,d.root.document?d.root.document.version:null);if(n instanceof Cn&&(p.shouldReceiveAttributes=!0),this.batch.addOperation(p),this.model.applyOperation(p),n instanceof Sa)for(const[f,g]of n.markers){const b=at._createAt(g.root,0),k={range:new Ke(g.start._getCombined(b,d),g.end._getCombined(b,d)),usingOperation:!0,affectsData:!0};this.model.markers.has(f)?this.updateMarker(f,k):this.addMarker(f,k)}}insertText(n,r,a,d){r instanceof Sa||r instanceof At||r instanceof at?this.insert(this.createText(n),r,a):this.insert(this.createText(n,r),a,d)}insertElement(n,r,a,d){r instanceof Sa||r instanceof At||r instanceof at?this.insert(this.createElement(n),r,a):this.insert(this.createElement(n,r),a,d)}append(n,r){this.insert(n,r,"end")}appendText(n,r,a){r instanceof Sa||r instanceof At?this.insert(this.createText(n),r,"end"):this.insert(this.createText(n,r),a,"end")}appendElement(n,r,a){r instanceof Sa||r instanceof At?this.insert(this.createElement(n),r,"end"):this.insert(this.createElement(n,r),a,"end")}setAttribute(n,r,a){if(this._assertWriterUsedCorrectly(),a instanceof Ke){const d=a.getMinimalFlatRanges();for(const u of d)lp(this,n,r,u)}else gg(this,n,r,a)}setAttributes(n,r){for(const[a,d]of Ys(n))this.setAttribute(a,d,r)}removeAttribute(n,r){if(this._assertWriterUsedCorrectly(),r instanceof Ke){const a=r.getMinimalFlatRanges();for(const d of a)lp(this,n,null,d)}else gg(this,n,null,r)}clearAttributes(n){this._assertWriterUsedCorrectly();const r=a=>{for(const d of a.getAttributeKeys())this.removeAttribute(d,a)};if(n instanceof Ke)for(const a of n.getItems())r(a);else r(n)}move(n,r,a){if(this._assertWriterUsedCorrectly(),!(n instanceof Ke))throw new Y("writer-move-invalid-range",this);if(!n.isFlat)throw new Y("writer-move-range-not-flat",this);const d=at._createAt(r,a);if(d.isEqual(n.start))return;if(this._addOperationForAffectedMarkers("move",n),!aC(n.root,d.root))throw new Y("writer-move-different-document",this);const p=new zn(n.start,n.end.offset-n.start.offset,d,n.root.document?n.root.document.version:null);this.batch.addOperation(p),this.model.applyOperation(p)}remove(n){this._assertWriterUsedCorrectly();const r=(n instanceof Ke?n:Ke._createOn(n)).getMinimalFlatRanges().reverse();for(const a of r)this._addOperationForAffectedMarkers("move",a),nE(a.start,a.end.offset-a.start.offset,this.batch,this.model)}merge(n){this._assertWriterUsedCorrectly();const r=n.nodeBefore,a=n.nodeAfter;if(this._addOperationForAffectedMarkers("merge",n),!(r instanceof At))throw new Y("writer-merge-no-element-before",this);if(!(a instanceof At))throw new Y("writer-merge-no-element-after",this);n.root.document?this._merge(n):this._mergeDetached(n)}createPositionFromPath(n,r,a){return this.model.createPositionFromPath(n,r,a)}createPositionAt(n,r){return this.model.createPositionAt(n,r)}createPositionAfter(n){return this.model.createPositionAfter(n)}createPositionBefore(n){return this.model.createPositionBefore(n)}createRange(n,r){return this.model.createRange(n,r)}createRangeIn(n){return this.model.createRangeIn(n)}createRangeOn(n){return this.model.createRangeOn(n)}createSelection(...n){return this.model.createSelection(...n)}_mergeDetached(n){const r=n.nodeBefore,a=n.nodeAfter;this.move(Ke._createIn(a),at._createAt(r,"end")),this.remove(a)}_merge(n){const r=at._createAt(n.nodeBefore,"end"),a=at._createAt(n.nodeAfter,0),u=new at(n.root.document.graveyard,[0]),f=new Hi(a,n.nodeAfter.maxOffset,r,u,n.root.document.version);this.batch.addOperation(f),this.model.applyOperation(f)}rename(n,r){if(this._assertWriterUsedCorrectly(),!(n instanceof At))throw new Y("writer-rename-not-element-instance",this);const a=n.root.document?n.root.document.version:null,d=new wr(at._createBefore(n),n.name,r,a);this.batch.addOperation(d),this.model.applyOperation(d)}split(n,r){this._assertWriterUsedCorrectly();let a,d,u=n.parent;if(!u.parent)throw new Y("writer-split-element-no-parent",this);if(r||(r=u.parent),!n.parent.getAncestors({includeSelf:!0}).includes(r))throw new Y("writer-split-invalid-limit-element",this);do{const p=u.root.document?u.root.document.version:null,f=u.maxOffset-n.offset,g=hi.getInsertionPosition(n),b=new hi(n,f,g,null,p);this.batch.addOperation(b),this.model.applyOperation(b),a||d||(a=u,d=n.parent.nextSibling),u=(n=this.createPositionAfter(n.parent)).parent}while(u!==r);return{position:n,range:new Ke(at._createAt(a,"end"),at._createAt(d,0))}}wrap(n,r){if(this._assertWriterUsedCorrectly(),!n.isFlat)throw new Y("writer-wrap-range-not-flat",this);const a=r instanceof At?r:new At(r);if(a.childCount>0)throw new Y("writer-wrap-element-not-empty",this);if(null!==a.parent)throw new Y("writer-wrap-element-attached",this);this.insert(a,n.start);const d=new Ke(n.start.getShiftedBy(1),n.end.getShiftedBy(1));this.move(d,at._createAt(a,0))}unwrap(n){if(this._assertWriterUsedCorrectly(),null===n.parent)throw new Y("writer-unwrap-element-no-parent",this);this.move(Ke._createIn(n),this.createPositionAfter(n)),this.remove(n)}addMarker(n,r){if(this._assertWriterUsedCorrectly(),!r||"boolean"!=typeof r.usingOperation)throw new Y("writer-addmarker-no-usingoperation",this);const a=r.usingOperation,d=r.range,u=void 0!==r.affectsData&&r.affectsData;if(this.model.markers.has(n))throw new Y("writer-addmarker-marker-exists",this);if(!d)throw new Y("writer-addmarker-no-range",this);return a?(Ia(this,n,null,d,u),this.model.markers.get(n)):this.model.markers._set(n,d,a,u)}updateMarker(n,r){this._assertWriterUsedCorrectly();const a="string"==typeof n?n:n.name,d=this.model.markers.get(a);if(!d)throw new Y("writer-updatemarker-marker-not-exists",this);if(!r)return ie("writer-updatemarker-reconvert-using-editingcontroller",{markerName:a}),void this.model.markers._refresh(d);const u="boolean"==typeof r.usingOperation,p="boolean"==typeof r.affectsData,f=p?r.affectsData:d.affectsData;if(!u&&!r.range&&!p)throw new Y("writer-updatemarker-wrong-options",this);const g=d.getRange(),b=r.range?r.range:g;u&&r.usingOperation!==d.managedUsingOperations?r.usingOperation?Ia(this,a,null,b,f):(Ia(this,a,g,null,f),this.model.markers._set(a,b,void 0,f)):d.managedUsingOperations?Ia(this,a,g,b,f):this.model.markers._set(a,b,void 0,f)}removeMarker(n){this._assertWriterUsedCorrectly();const r="string"==typeof n?n:n.name;if(!this.model.markers.has(r))throw new Y("writer-removemarker-no-marker",this);const a=this.model.markers.get(r);a.managedUsingOperations?Ia(this,r,a.getRange(),null,a.affectsData):this.model.markers._remove(r)}addRoot(n,r="$root"){this._assertWriterUsedCorrectly();const a=this.model.document.getRoot(n);if(a&&a.isAttached())throw new Y("writer-addroot-root-exists",this);const d=this.model.document,u=new Ea(n,r,!0,d,d.version);return this.batch.addOperation(u),this.model.applyOperation(u),this.model.document.getRoot(n)}detachRoot(n){this._assertWriterUsedCorrectly();const r="string"==typeof n?this.model.document.getRoot(n):n;if(!r||!r.isAttached())throw new Y("writer-detachroot-no-root",this);for(const u of this.model.markers)u.getRange().root===r&&this.removeMarker(u);for(const u of r.getAttributeKeys())this.removeAttribute(u,r);this.remove(this.createRangeIn(r));const a=this.model.document,d=new Ea(r.rootName,r.name,!1,a,a.version);this.batch.addOperation(d),this.model.applyOperation(d)}setSelection(...n){this._assertWriterUsedCorrectly(),this.model.document.selection._setTo(...n)}setSelectionFocus(n,r){this._assertWriterUsedCorrectly(),this.model.document.selection._setFocus(n,r)}setSelectionAttribute(n,r){if(this._assertWriterUsedCorrectly(),"string"==typeof n)this._setSelectionAttribute(n,r);else for(const[a,d]of Ys(n))this._setSelectionAttribute(a,d)}removeSelectionAttribute(n){if(this._assertWriterUsedCorrectly(),"string"==typeof n)this._removeSelectionAttribute(n);else for(const r of n)this._removeSelectionAttribute(r)}overrideSelectionGravity(){return this.model.document.selection._overrideGravity()}restoreSelectionGravity(n){this.model.document.selection._restoreGravity(n)}_setSelectionAttribute(n,r){const a=this.model.document.selection;if(a.isCollapsed&&a.anchor.parent.isEmpty){const d=hs._getStoreAttributeKey(n);this.setAttribute(d,r,a.anchor.parent)}a._setAttribute(n,r)}_removeSelectionAttribute(n){const r=this.model.document.selection;if(r.isCollapsed&&r.anchor.parent.isEmpty){const a=hs._getStoreAttributeKey(n);this.removeAttribute(a,r.anchor.parent)}r._removeAttribute(n)}_assertWriterUsedCorrectly(){if(this.model._currentWriter!==this)throw new Y("writer-incorrect-use",this)}_addOperationForAffectedMarkers(n,r){for(const a of this.model.markers){if(!a.managedUsingOperations)continue;const d=a.getRange();let u=!1;if("move"===n){const p=r;u=p.containsPosition(d.start)||p.start.isEqual(d.start)||p.containsPosition(d.end)||p.end.isEqual(d.end)}else{const g=r.nodeAfter;u=d.start.parent==r.nodeBefore&&d.start.isAtEnd||d.end.parent==g&&0==d.end.offset||d.end.nodeAfter==g||d.start.nodeAfter==g}u&&this.updateMarker(a.name,{range:d})}}}function lp(c,n,r,a){const d=c.model,u=d.document;let p,f,g,b=a.start;for(const S of a.getWalker({shallow:!0}))g=S.item.getAttribute(n),p&&f!=g&&(f!=r&&k(),b=p),p=S.nextPosition,f=g;function k(){const S=new Ke(b,p),U=new Yi(S,n,f,r,S.root.document?u.version:null);c.batch.addOperation(U),d.applyOperation(U)}p instanceof at&&p!=b&&f!=r&&k()}function gg(c,n,r,a){const d=c.model,u=d.document,p=a.getAttribute(n);let f,g;p!=r&&(a.root===a?g=new _l(a,n,p,r,a.document?u.version:null):(f=new Ke(at._createBefore(a),c.createPositionAfter(a)),g=new Yi(f,n,p,r,f.root.document?u.version:null)),c.batch.addOperation(g),d.applyOperation(g))}function Ia(c,n,r,a,d){const u=c.model,f=new kr(n,r,a,u.markers,!!d,u.document.version);c.batch.addOperation(f),u.applyOperation(f)}function nE(c,n,r,a){let d;if(c.root.document){const u=a.document,p=new at(u.graveyard,[0]);d=new zn(c,n,p,u.version)}else d=new tE(c,n);r.addOperation(d),a.applyOperation(d)}function aC(c,n){return c===n||c instanceof op&&n instanceof op}function cO(c,n,r={}){if(n.isCollapsed)return;const a=n.getFirstRange();if("$graveyard"==a.root.rootName)return;const d=c.schema;c.change(u=>{if(!r.doNotResetEntireContent&&function(b,k){const S=b.getLimitElement(k);if(!k.containsEntireContent(S))return!1;const B=k.getFirstRange();return B.start.parent!=B.end.parent&&b.checkChild(S,"paragraph")}(d,n))return void function(b,k){const S=b.model.schema.getLimitElement(k);b.remove(b.createRangeIn(S)),nd(b,b.createPositionAt(S,0),k)}(u,n);const p={};if(!r.doNotAutoparagraph){const b=n.getSelectedElement();b&&Object.assign(p,d.getAttributesWithProperty(b,"copyOnReplace",!0))}const[f,g]=function(b){const k=b.root.document.model,S=b.start;let B=b.end;if(k.hasContent(b,{ignoreMarkers:!0})){const U=function(Z){const te=Z.parent,fe=te.root.document.model.schema,ge=te.getAncestors({parentFirst:!0,includeSelf:!0});for(const Ee of ge){if(fe.isLimit(Ee))return null;if(fe.isBlock(Ee))return Ee}}(B);if(U&&B.isTouching(k.createPositionAt(U,0))){const Z=k.createSelection(b);k.modifySelection(Z,{direction:"backward"});const te=Z.getLastPosition(),fe=k.createRange(te,B);k.hasContent(fe,{ignoreMarkers:!0})||(B=te)}}return[ro.fromPosition(S,"toPrevious"),ro.fromPosition(B,"toNext")]}(a);f.isTouching(g)||u.remove(u.createRange(f,g)),r.leaveUnmerged||(function(b,k,S){const B=b.model;if(!nv(b.model.schema,k,S))return;const[U,Z]=function(te,fe){const ge=te.getAncestors(),Ee=fe.getAncestors();let He=0;for(;ge[He]&&ge[He]==Ee[He];)He++;return[ge[He],Ee[He]]}(k,S);!U||!Z||(!B.hasContent(U,{ignoreMarkers:!0})&&B.hasContent(Z,{ignoreMarkers:!0})?_g(b,k,S,U.parent):lC(b,k,S,U.parent))}(u,f,g),d.removeDisallowedAttributes(f.parent.getChildren(),u)),cp(u,n,f),!r.doNotAutoparagraph&&function(b,k){const S=b.checkChild(k,"$text"),B=b.checkChild(k,"paragraph");return!S&&B}(d,f)&&nd(u,f,n,p),f.detach(),g.detach()})}function lC(c,n,r,a){const d=n.parent,u=r.parent;if(d!=a&&u!=a){for(n=c.createPositionAfter(d),(r=c.createPositionBefore(u)).isEqual(n)||c.insert(u,n),c.merge(n);r.parent.isEmpty;){const p=r.parent;r=c.createPositionBefore(p),c.remove(p)}nv(c.model.schema,n,r)&&lC(c,n,r,a)}}function _g(c,n,r,a){const d=n.parent,u=r.parent;if(d!=a&&u!=a){for(n=c.createPositionAfter(d),(r=c.createPositionBefore(u)).isEqual(n)||c.insert(d,r);n.parent.isEmpty;){const p=n.parent;n=c.createPositionBefore(p),c.remove(p)}r=c.createPositionBefore(u),function(p,f){const g=f.nodeBefore,b=f.nodeAfter;g.name!=b.name&&p.rename(g,b.name),p.clearAttributes(g),p.setAttributes(Object.fromEntries(b.getAttributes()),g),p.merge(f)}(c,r),nv(c.model.schema,n,r)&&_g(c,n,r,a)}}function nv(c,n,r){const a=n.parent,d=r.parent;return a!=d&&!c.isLimit(a)&&!c.isLimit(d)&&function(u,p,f){const g=new Ke(u,p);for(const b of g.getWalker())if(f.isLimit(b.item))return!1;return!0}(n,r,c)}function nd(c,n,r,a={}){const d=c.createElement("paragraph");c.model.schema.setAllowedAttributes(d,a,c),c.insert(d,n),cp(c,r,c.createPositionAt(d,0))}function cp(c,n,r){n instanceof hs?c.setSelection(r):n.setTo(r)}function bg(c,n){const r=[];Array.from(c.getItems({direction:"backward"})).map(a=>n.createRangeOn(a)).filter(a=>(a.start.isAfter(c.start)||a.start.isEqual(c.start))&&(a.end.isBefore(c.end)||a.end.isEqual(c.end))).forEach(a=>{r.push(a.start.parent),n.remove(a)}),r.forEach(a=>{let d=a;for(;d.parent&&d.isEmpty;){const u=n.createRangeOn(d);d=d.parent,n.remove(u)}})}class cC{constructor(n,r,a){this._firstNode=null,this._lastNode=null,this._lastAutoParagraph=null,this._filterAttributesOf=[],this._affectedStart=null,this._affectedEnd=null,this._nodeToSelect=null,this.model=n,this.writer=r,this.position=a,this.canMergeWith=new Set([this.position.parent]),this.schema=n.schema,this._documentFragment=r.createDocumentFragment(),this._documentFragmentPosition=r.createPositionAt(this._documentFragment,0)}handleNodes(n){for(const r of Array.from(n))this._handleNode(r);this._insertPartialFragment(),this._lastAutoParagraph&&this._updateLastNodeFromAutoParagraph(this._lastAutoParagraph),this._mergeOnRight(),this.schema.removeDisallowedAttributes(this._filterAttributesOf,this.writer),this._filterAttributesOf=[]}_updateLastNodeFromAutoParagraph(n){const r=this.writer.createPositionAfter(this._lastNode),a=this.writer.createPositionAfter(n);if(a.isAfter(r)){if(this._lastNode=n,this.position.parent!=n||!this.position.isAtEnd)throw new Y("insertcontent-invalid-insertion-position",this);this.position=a,this._setAffectedBoundaries(this.position)}}getSelectionRange(){return this._nodeToSelect?Ke._createOn(this._nodeToSelect):this.model.schema.getNearestSelectionRange(this.position)}getAffectedRange(){return this._affectedStart?new Ke(this._affectedStart,this._affectedEnd):null}destroy(){this._affectedStart&&this._affectedStart.detach(),this._affectedEnd&&this._affectedEnd.detach()}_handleNode(n){if(this.schema.isObject(n))return void this._handleObject(n);let r=this._checkAndAutoParagraphToAllowedPosition(n);r||(r=this._checkAndSplitToAllowedPosition(n),r)?(this._appendToFragment(n),this._firstNode||(this._firstNode=n),this._lastNode=n):this._handleDisallowedNode(n)}_insertPartialFragment(){if(this._documentFragment.isEmpty)return;const n=ro.fromPosition(this.position,"toNext");this._setAffectedBoundaries(this.position),this._documentFragment.getChild(0)==this._firstNode&&(this.writer.insert(this._firstNode,this.position),this._mergeOnLeft(),this.position=n.toPosition()),this._documentFragment.isEmpty||this.writer.insert(this._documentFragment,this.position),this._documentFragmentPosition=this.writer.createPositionAt(this._documentFragment,0),this.position=n.toPosition(),n.detach()}_handleObject(n){this._checkAndSplitToAllowedPosition(n)?this._appendToFragment(n):this._tryAutoparagraphing(n)}_handleDisallowedNode(n){n.is("element")?this.handleNodes(n.getChildren()):this._tryAutoparagraphing(n)}_appendToFragment(n){if(!this.schema.checkChild(this.position,n))throw new Y("insertcontent-wrong-position",this,{node:n,position:this.position});this.writer.insert(n,this._documentFragmentPosition),this._documentFragmentPosition=this._documentFragmentPosition.getShiftedBy(n.offsetSize),this._nodeToSelect=this.schema.isObject(n)&&!this.schema.checkChild(this.position,"$text")?n:null,this._filterAttributesOf.push(n)}_setAffectedBoundaries(n){this._affectedStart||(this._affectedStart=ro.fromPosition(n,"toPrevious")),this._affectedEnd&&!this._affectedEnd.isBefore(n)||(this._affectedEnd&&this._affectedEnd.detach(),this._affectedEnd=ro.fromPosition(n,"toNext"))}_mergeOnLeft(){const n=this._firstNode;if(!(n instanceof At&&this._canMergeLeft(n)))return;const r=ro._createBefore(n);r.stickiness="toNext";const a=ro.fromPosition(this.position,"toNext");this._affectedStart.isEqual(r)&&(this._affectedStart.detach(),this._affectedStart=ro._createAt(r.nodeBefore,"end","toPrevious")),this._firstNode===this._lastNode&&(this._firstNode=r.nodeBefore,this._lastNode=r.nodeBefore),this.writer.merge(r),r.isEqual(this._affectedEnd)&&this._firstNode===this._lastNode&&(this._affectedEnd.detach(),this._affectedEnd=ro._createAt(r.nodeBefore,"end","toNext")),this.position=a.toPosition(),a.detach(),this._filterAttributesOf.push(this.position.parent),r.detach()}_mergeOnRight(){const n=this._lastNode;if(!(n instanceof At&&this._canMergeRight(n)))return;const r=ro._createAfter(n);if(r.stickiness="toNext",!this.position.isEqual(r))throw new Y("insertcontent-invalid-insertion-position",this);this.position=at._createAt(r.nodeBefore,"end");const a=ro.fromPosition(this.position,"toPrevious");this._affectedEnd.isEqual(r)&&(this._affectedEnd.detach(),this._affectedEnd=ro._createAt(r.nodeBefore,"end","toNext")),this._firstNode===this._lastNode&&(this._firstNode=r.nodeBefore,this._lastNode=r.nodeBefore),this.writer.merge(r),r.getShiftedBy(-1).isEqual(this._affectedStart)&&this._firstNode===this._lastNode&&(this._affectedStart.detach(),this._affectedStart=ro._createAt(r.nodeBefore,0,"toPrevious")),this.position=a.toPosition(),a.detach(),this._filterAttributesOf.push(this.position.parent),r.detach()}_canMergeLeft(n){const r=n.previousSibling;return r instanceof At&&this.canMergeWith.has(r)&&this.model.schema.checkMerge(r,n)}_canMergeRight(n){const r=n.nextSibling;return r instanceof At&&this.canMergeWith.has(r)&&this.model.schema.checkMerge(n,r)}_tryAutoparagraphing(n){const r=this.writer.createElement("paragraph");this._getAllowedIn(this.position.parent,r)&&this.schema.checkChild(r,n)&&(r._appendChild(n),this._handleNode(r))}_checkAndAutoParagraphToAllowedPosition(n){if(this.schema.checkChild(this.position.parent,n))return!0;if(!this.schema.checkChild(this.position.parent,"paragraph")||!this.schema.checkChild("paragraph",n))return!1;this._insertPartialFragment();const r=this.writer.createElement("paragraph");return this.writer.insert(r,this.position),this._setAffectedBoundaries(this.position),this._lastAutoParagraph=r,this.position=this.writer.createPositionAt(r,0),!0}_checkAndSplitToAllowedPosition(n){const r=this._getAllowedIn(this.position.parent,n);if(!r)return!1;for(r!=this.position.parent&&this._insertPartialFragment();r!=this.position.parent;)if(this.position.isAtStart){const a=this.position.parent;this.position=this.writer.createPositionBefore(a),a.isEmpty&&a.parent===r&&this.writer.remove(a)}else if(this.position.isAtEnd)this.position=this.writer.createPositionAfter(this.position.parent);else{const a=this.writer.createPositionAfter(this.position.parent);this._setAffectedBoundaries(this.position),this.writer.split(this.position),this.position=a,this.canMergeWith.add(this.position.nodeAfter)}return!0}_getAllowedIn(n,r){return this.schema.checkChild(n,r)?n:this.schema.isLimit(n)?null:this._getAllowedIn(n.parent,r)}}const uC=' ,.?!:;"-()';function id(c,n){const{isForward:r,walker:a,unit:d,schema:u,treatEmojiAsSingleUnit:p}=c,{type:f,item:g,nextPosition:b}=n;if("text"==f)return"word"===c.unit?function(k,S){let B=k.position.textNode;for(B||(B=S?k.position.nodeAfter:k.position.nodeBefore);B&&B.is("$text");){const U=k.position.offset-B.startOffset;if(rE(B,U,S))B=S?k.position.nodeAfter:k.position.nodeBefore;else{if(oE(B.data,U,S))break;k.next()}}return k.position}(a,r):function(k,S,B){const U=k.position.textNode;if(U){const Z=U.data;let te=k.position.offset-U.startOffset;for(;Us(Z,te)||"character"==S&&Rh(Z,te)||B&&a0(Z,te);)k.next(),te=k.position.offset-U.startOffset}return k.position}(a,d,p);if(f==(r?"elementStart":"elementEnd")){if(u.isSelectable(g))return at._createAt(g,r?"after":"before");if(u.checkChild(b,"$text"))return b}else{if(u.isLimit(g))return void a.skip(()=>!0);if(u.checkChild(b,"$text"))return b}}function iE(c,n){const a=at._createAt(c.root,n?"end":0);return n?new Ke(c,a):new Ke(a,c)}function oE(c,n,r){return uC.includes(c.charAt(n+(r?0:-1)))}function rE(c,n,r){return n===(r?c.offsetSize:0)}class sE extends(Xt()){constructor(){super(),this.markers=new eE,this.document=new sp(this),this.schema=new j0,this._pendingChanges=[],this._currentWriter=null,["deleteContent","modifySelection","getSelectedContent","applyOperation"].forEach(n=>this.decorate(n)),this.on("applyOperation",(n,r)=>{r[0]._validate()},{priority:"highest"}),this.schema.register("$root",{isLimit:!0}),this.schema.register("$container",{allowIn:["$root","$container"]}),this.schema.register("$block",{allowIn:["$root","$container"],isBlock:!0}),this.schema.register("$blockObject",{allowWhere:"$block",isBlock:!0,isObject:!0}),this.schema.register("$inlineObject",{allowWhere:"$text",allowAttributesOf:"$text",isInline:!0,isObject:!0}),this.schema.register("$text",{allowIn:"$block",isInline:!0,isContent:!0}),this.schema.register("$clipboardHolder",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$documentFragment",{allowContentOf:"$root",allowChildren:"$text",isLimit:!0}),this.schema.register("$marker"),this.schema.addChildCheck((n,r)=>{if("$marker"===r.name)return!0}),function Bw(c){c.document.registerPostFixer(n=>function(r,a){const d=a.document.selection,u=a.schema,p=[];let f=!1;for(const g of d.getRanges()){const b=jw(g,u);b&&!b.isEqual(g)?(p.push(b),f=!0):p.push(g)}return f&&r.setSelection(function(g){const b=[...g],k=new Set;let S=1;for(;S<b.length;){const B=b[S],U=b.slice(0,S);for(const[Z,te]of U.entries())if(!k.has(Z))if(B.isEqual(te))k.add(Z);else if(B.isIntersecting(te)){k.add(Z),k.add(S);const fe=B.getJoined(te);b.push(fe)}S++}return b.filter((B,U)=>!k.has(U))}(p),{backward:d.isBackward}),!1}(n,c))}(this),this.document.registerPostFixer(R0),this.on("insertContent",(n,[r,a])=>{var d,u,p;n.return=(u=r,p=a,(d=this).change(f=>{const g=p||d.document.selection;g.isCollapsed||d.deleteContent(g,{doNotAutoparagraph:!0});const b=new cC(d,f,g.anchor),k=[];let S;if(u.is("documentFragment")){if(u.markers.size){const Z=[];for(const[te,fe]of u.markers){const{start:ge,end:Ee}=fe,He=ge.isEqual(Ee);Z.push({position:ge,name:te,isCollapsed:He},{position:Ee,name:te,isCollapsed:He})}Z.sort(({position:te},{position:fe})=>te.isBefore(fe)?1:-1);for(const{position:te,name:fe,isCollapsed:ge}of Z){let Ee=null,He=null;const ct=te.parent===u&&te.isAtStart;ct||te.parent===u&&te.isAtEnd?ge&&(He=ct?"start":"end"):(Ee=f.createElement("$marker"),f.insert(Ee,te)),k.push({name:fe,element:Ee,collapsed:He})}}S=u.getChildren()}else S=[u];b.handleNodes(S);let B=b.getSelectionRange();if(u.is("documentFragment")&&k.length){const Z=B?Ss.fromRange(B):null,te={};for(let fe=k.length-1;fe>=0;fe--){const{name:ge,element:Ee,collapsed:He}=k[fe],ct=!te[ge];if(ct&&(te[ge]=[]),Ee){const It=f.createPositionAt(Ee,"before");te[ge].push(It),f.remove(Ee)}else{const It=b.getAffectedRange();if(!It){He&&te[ge].push(b.position);continue}te[ge].push(He?It[He]:ct?It.start:It.end)}}for(const[fe,[ge,Ee]]of Object.entries(te))ge&&Ee&&ge.root===Ee.root&&ge.root.document&&f.addMarker(fe,{usingOperation:!0,affectsData:!0,range:new Ke(ge,Ee)});Z&&(B=Z.toRange(),Z.detach())}B&&(g instanceof hs?f.setSelection(B):g.setTo(B));const U=b.getAffectedRange()||d.createRange(g.anchor);return b.destroy(),U}))}),this.on("insertObject",(n,[r,a,d])=>{n.return=function dC(c,n,r,a={}){if(!c.schema.isObject(n))throw new Y("insertobject-element-not-an-object",c,{object:n});const d=r||c.document.selection;let u=d;a.findOptimalPosition&&c.schema.isBlock(n)&&(u=c.createSelection(c.schema.findOptimalInsertionRange(d,a.findOptimalPosition)));const p=bo(d.getSelectedBlocks()),f={};return p&&Object.assign(f,c.schema.getAttributesWithProperty(p,"copyOnReplace",!0)),c.change(g=>{u.isCollapsed||c.deleteContent(u,{doNotAutoparagraph:!0});let b=n;const k=u.anchor.parent;!c.schema.checkChild(k,n)&&c.schema.checkChild(k,"paragraph")&&c.schema.checkChild("paragraph",n)&&(b=g.createElement("paragraph"),g.insert(n,b)),c.schema.setAllowedAttributes(b,f,g);const S=c.insertContent(b,u);return S.isCollapsed||a.setSelection&&function(B,U,Z,te){const fe=B.model;if("on"==Z)return void B.setSelection(U,"on");if("after"!=Z)throw new Y("insertobject-invalid-place-parameter-value",fe);let ge=U.nextSibling;fe.schema.isInline(U)?B.setSelection(U,"after"):(!(ge&&fe.schema.checkChild(ge,"$text"))&&fe.schema.checkChild(U.parent,"paragraph")&&(ge=B.createElement("paragraph"),fe.schema.setAllowedAttributes(ge,te,B),fe.insertContent(ge,B.createPositionAfter(U))),ge&&B.setSelection(ge,0))}(g,n,a.setSelection,f),S})}(this,r,a,d)}),this.on("canEditAt",n=>{const r=!this.document.isReadOnly;n.return=r,r||n.stop()})}change(n){try{return 0===this._pendingChanges.length?(this._pendingChanges.push({batch:new fu,callback:n}),this._runPendingChanges()[0]):n(this._currentWriter)}catch(r){Y.rethrowUnexpectedError(r,this)}}enqueueChange(n,r){try{n?"function"==typeof n?(r=n,n=new fu):n instanceof fu||(n=new fu(n)):n=new fu,this._pendingChanges.push({batch:n,callback:r}),1==this._pendingChanges.length&&this._runPendingChanges()}catch(a){Y.rethrowUnexpectedError(a,this)}}applyOperation(n){n._execute()}insertContent(n,r,a,...d){const u=iv(r,a);return this.fire("insertContent",[n,u,a,...d])}insertObject(n,r,a,d,...u){const p=iv(r,a);return this.fire("insertObject",[n,p,d,d,...u])}deleteContent(n,r){cO(this,n,r)}modifySelection(n,r){!function(a,d,u={}){const p=a.schema,f="backward"!=u.direction,g=u.unit?u.unit:"character",b=!!u.treatEmojiAsSingleUnit,S=new Zs({boundaries:iE(d.focus,f),singleCharacters:!0,direction:f?"forward":"backward"}),B={walker:S,schema:p,isForward:f,unit:g,treatEmojiAsSingleUnit:b};let U;for(;U=S.next();){if(U.done)return;const Z=id(B,U.value);if(Z)return void(d instanceof hs?a.change(te=>{te.setSelectionFocus(Z)}):d.setFocus(Z))}}(this,n,r)}getSelectedContent(n){return a=n,this.change(d=>{const u=d.createDocumentFragment(),p=a.getFirstRange();if(!p||p.isCollapsed)return u;const f=p.start.root,g=p.start.getCommonPath(p.end),b=f.getNodeByPath(g);let k;k=p.start.parent==p.end.parent?p:d.createRange(d.createPositionAt(b,p.start.path[g.length]),d.createPositionAt(b,p.end.path[g.length]+1));const S=k.end.offset-k.start.offset;for(const B of k.getItems({shallow:!0}))B.is("$textProxy")?d.appendText(B.data,B.getAttributes(),u):d.append(d.cloneElement(B,!0),u);if(k!=p){const B=p._getTransformedByMove(k.start,d.createPositionAt(u,0),S)[0],U=d.createRange(d.createPositionAt(u,0),B.start);bg(d.createRange(B.end,d.createPositionAt(u,"end")),d),bg(U,d)}return u});var a}hasContent(n,r={}){const a=n instanceof Ke?n:Ke._createIn(n);if(a.isCollapsed)return!1;const{ignoreWhitespaces:d=!1,ignoreMarkers:u=!1}=r;if(!u)for(const p of this.markers.getMarkersIntersectingRange(a))if(p.affectsData)return!0;for(const p of a.getItems())if(this.schema.isContent(p)&&(!p.is("$textProxy")||!d||-1!==p.data.search(/\S/)))return!0;return!1}canEditAt(n){const r=iv(n);return this.fire("canEditAt",[r])}createPositionFromPath(n,r,a){return new at(n,r,a)}createPositionAt(n,r){return at._createAt(n,r)}createPositionAfter(n){return at._createAfter(n)}createPositionBefore(n){return at._createBefore(n)}createRange(n,r){return new Ke(n,r)}createRangeIn(n){return Ke._createIn(n)}createRangeOn(n){return Ke._createOn(n)}createSelection(...n){return new ds(...n)}createBatch(n){return new fu(n)}createOperationFromJSON(n){return W0.fromJSON(n,this.document)}destroy(){this.document.destroy(),this.stopListening()}_runPendingChanges(){const n=[];this.fire("_beforeChanges");try{for(;this._pendingChanges.length;){this._currentWriter=new sC(this,this._pendingChanges[0].batch);const a=this._pendingChanges[0].callback(this._currentWriter);n.push(a),this.document._handleChangeBlock(this._currentWriter),this._pendingChanges.shift(),this._currentWriter=null}}finally{this._pendingChanges.length=0,this._currentWriter=null,this.fire("_afterChanges")}return n}}function iv(c,n){if(c)return c instanceof ds||c instanceof hs?c:c instanceof Gs?n||0===n?new ds(c,n):c.is("rootElement")?new ds(c,"in"):new ds(c,"on"):new ds(c)}class ps extends pl{constructor(){super(...arguments),this.domEventType="click"}onDomEvent(n){this.fire(n.type,n)}}class Is extends pl{constructor(){super(...arguments),this.domEventType=["mousedown","mouseup","mouseover","mouseout"]}onDomEvent(n){this.fire(n.type,n)}}class bl{constructor(n){this.document=n}createDocumentFragment(n){return new Sn(this.document,n)}createElement(n,r,a){return new Ot(this.document,n,r,a)}createText(n){return new ui(this.document,n)}clone(n,r=!1){return n._clone(r)}appendChild(n,r){return r._appendChild(n)}insertChild(n,r,a){return a._insertChild(n,r)}removeChildren(n,r,a){return a._removeChildren(n,r)}remove(n){const r=n.parent;return r?this.removeChildren(r.getChildIndex(n),1,r):[]}replace(n,r){const a=n.parent;if(a){const d=a.getChildIndex(n);return this.removeChildren(d,1,a),this.insertChild(d,r,a),!0}return!1}unwrapElement(n){const r=n.parent;if(r){const a=r.getChildIndex(n);this.remove(n),this.insertChild(a,n.getChildren(),r)}}rename(n,r){const a=new Ot(this.document,n,r.getAttributes(),r.getChildren());return this.replace(r,a)?a:null}setAttribute(n,r,a){a._setAttribute(n,r)}removeAttribute(n,r){r._removeAttribute(n)}addClass(n,r){r._addClass(n)}removeClass(n,r){r._removeClass(n)}setStyle(n,r,a){ho(n)&&void 0===a?r._setStyle(n):a._setStyle(n,r)}removeStyle(n,r){r._removeStyle(n)}setCustomProperty(n,r,a){a._setCustomProperty(n,r)}removeCustomProperty(n,r){return r._removeCustomProperty(n)}createPositionAt(n,r){return bt._createAt(n,r)}createPositionAfter(n){return bt._createAfter(n)}createPositionBefore(n){return bt._createBefore(n)}createRange(n,r){return new dn(n,r)}createRangeOn(n){return dn._createOn(n)}createRangeIn(n){return dn._createIn(n)}createSelection(...n){return new Es(...n)}}class aE{constructor(){this._commands=new Map}add(n,r){this._commands.set(n,r)}get(n){return this._commands.get(n)}execute(n,...r){const a=this.get(n);if(!a)throw new Y("commandcollection-command-not-found",this,{commandName:n});return a.execute(...r)}*names(){yield*this._commands.keys()}*commands(){yield*this._commands.values()}[Symbol.iterator](){return this._commands[Symbol.iterator]()}destroy(){for(const n of this.commands())n.destroy()}}var lE=Object.defineProperty,hC=Object.getOwnPropertySymbols,cE=Object.prototype.hasOwnProperty,dE=Object.prototype.propertyIsEnumerable,ov=(c,n,r)=>n in c?lE(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;const rv="contentEditing";class uE{constructor(n){this.keystrokeInfos=new Map,this._editor=n;const r=n.locale.t;this.addKeystrokeInfoCategory({id:rv,label:r("Content editing keystrokes"),description:r("These keyboard shortcuts allow for quick access to content editing features.")}),this.addKeystrokeInfoCategory({id:"navigation",label:r("User interface and content navigation keystrokes"),description:r("Use the following keystrokes for more efficient navigation in the CKEditor 5 user interface."),groups:[{id:"common",keystrokes:[{label:r("Close contextual balloons, dropdowns, and dialogs"),keystroke:"Esc"},{label:r("Open the accessibility help dialog"),keystroke:"Alt+0"},{label:r("Move focus between form fields (inputs, buttons, etc.)"),keystroke:[["Tab"],["Shift+Tab"]]},{label:r("Move focus to the toolbar, navigate between toolbars"),keystroke:"Alt+F10",mayRequireFn:!0},{label:r("Navigate through the toolbar"),keystroke:[["arrowup"],["arrowright"],["arrowdown"],["arrowleft"]]},{label:r("Execute the currently focused button"),keystroke:[["Enter"],["Space"]]}]}]})}addKeystrokeInfoCategory({id:n,label:r,description:a,groups:d}){this.keystrokeInfos.set(n,{id:n,label:r,description:a,groups:new Map}),this.addKeystrokeInfoGroup({categoryId:n,id:"common"}),d&&d.forEach(u=>{this.addKeystrokeInfoGroup(((p,f)=>{for(var g in f||(f={}))cE.call(f,g)&&ov(p,g,f[g]);if(hC)for(var g of hC(f))dE.call(f,g)&&ov(p,g,f[g]);return p})({categoryId:n},u))})}addKeystrokeInfoGroup({categoryId:n=rv,id:r,label:a,keystrokes:d}){const u=this.keystrokeInfos.get(n);if(!u)throw new Y("accessibility-unknown-keystroke-info-category",this._editor,{groupId:r,categoryId:n});u.groups.set(r,{id:r,label:a,keystrokes:d||[]})}addKeystrokeInfos({categoryId:n=rv,groupId:r="common",keystrokes:a}){if(!this.keystrokeInfos.has(n))throw new Y("accessibility-unknown-keystroke-info-category",this._editor,{categoryId:n,keystrokes:a});const d=this.keystrokeInfos.get(n);if(!d.groups.has(r))throw new Y("accessibility-unknown-keystroke-info-group",this._editor,{groupId:r,categoryId:n,keystrokes:a});d.groups.get(r).keystrokes.push(...a)}}var fC=Object.getOwnPropertySymbols,vg=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable,gu=(c,n)=>{var r={};for(var a in c)vg.call(c,a)&&n.indexOf(a)<0&&(r[a]=c[a]);if(null!=c&&fC)for(var a of fC(c))n.indexOf(a)<0&&vl.call(c,a)&&(r[a]=c[a]);return r};class mC extends(Xt()){constructor(n={}){super();const r=this.constructor,a=r.defaultConfig||{},{translations:d}=a,u=gu(a,["translations"]),p=n,{translations:f=d}=p,g=gu(p,["translations"]);this._context=n.context||new no({language:n.language||u.language,translations:f}),this._context._addEditor(this,!n.context);const k=Array.from(r.builtinPlugins||[]);this.config=new mr(g,u),this.config.define("plugins",k),this.config.define(this._context._getEditorConfig()),this.plugins=new xn(this,k,this._context.plugins),this.locale=this._context.locale,this.t=this.locale.t,this._readOnlyLocks=new Set,this.commands=new aE,this.set("state","initializing"),this.once("ready",()=>this.state="ready",{priority:"high"}),this.once("destroy",()=>this.state="destroyed",{priority:"high"}),this.model=new sE,this.on("change:isReadOnly",()=>{this.model.document.isReadOnly=this.isReadOnly});const S=new ue;this.data=new H0(this.model,S),this.editing=new zw(this.model,S),this.editing.view.document.bind("isReadOnly").to(this),this.conversion=new Ux([this.editing.downcastDispatcher,this.data.downcastDispatcher],this.data.upcastDispatcher),this.conversion.addAlias("dataDowncast",this.data.downcastDispatcher),this.conversion.addAlias("editingDowncast",this.editing.downcastDispatcher),this.keystrokes=new Hr(this),this.keystrokes.listenTo(this.editing.view.document),this.accessibility=new uE(this)}get isReadOnly(){return this._readOnlyLocks.size>0}set isReadOnly(n){throw new Y("editor-isreadonly-has-no-setter")}enableReadOnlyMode(n){if("string"!=typeof n&&"symbol"!=typeof n)throw new Y("editor-read-only-lock-id-invalid",null,{lockId:n});this._readOnlyLocks.has(n)||(this._readOnlyLocks.add(n),1===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!0,!1))}disableReadOnlyMode(n){if("string"!=typeof n&&"symbol"!=typeof n)throw new Y("editor-read-only-lock-id-invalid",null,{lockId:n});this._readOnlyLocks.has(n)&&(this._readOnlyLocks.delete(n),0===this._readOnlyLocks.size&&this.fire("change:isReadOnly","isReadOnly",!1,!0))}setData(n){this.data.set(n)}getData(n){return this.data.get(n)}initPlugins(){const n=this.config,r=n.get("plugins"),a=n.get("removePlugins")||[],d=n.get("extraPlugins")||[],u=n.get("substitutePlugins")||[];return this.plugins.init(r.concat(d),a,u)}destroy(){let n=Promise.resolve();return"initializing"==this.state&&(n=new Promise(r=>this.once("ready",r))),n.then(()=>{this.fire("destroy"),this.stopListening(),this.commands.destroy()}).then(()=>this.plugins.destroy()).then(()=>{this.model.destroy(),this.data.destroy(),this.editing.destroy(),this.keystrokes.destroy()}).then(()=>this._context._removeEditor(this))}execute(n,...r){try{return this.commands.execute(n,...r)}catch(a){Y.rethrowUnexpectedError(a,this)}}focus(){this.editing.view.focus()}static create(...n){throw new Error("This is an abstract method.")}}function yg(c){return class extends c{updateSourceElement(n){if(!this.sourceElement)throw new Y("editor-missing-sourceelement",this);const r=this.config.get("updateSourceElementOnDestroy"),a=this.sourceElement instanceof HTMLTextAreaElement;if(!r&&!a)return void Bl(this.sourceElement,"");const d="string"==typeof n?n:this.data.get();Bl(this.sourceElement,d)}}}yg.updateSourceElement=yg(Object).prototype.updateSourceElement;class sv extends dl{static get pluginName(){return"PendingActions"}init(){this.set("hasAny",!1),this._actions=new os({idProperty:"_id"}),this._actions.delegate("add","remove").to(this)}add(n){if("string"!=typeof n)throw new Y("pendingactions-add-invalid-message",this);const r=new(Xt());return r.set("message",n),this._actions.add(r),this.hasAny=!0,r}remove(n){this._actions.remove(n),this.hasAny=!!this._actions.length}get first(){return this._actions.get(0)}[Symbol.iterator](){return this._actions[Symbol.iterator]()}}const bn={bold:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.187 17H5.773c-.637 0-1.092-.138-1.364-.415-.273-.277-.409-.718-.409-1.323V4.738c0-.617.14-1.062.419-1.332.279-.27.73-.406 1.354-.406h4.68c.69 0 1.288.041 1.793.124.506.083.96.242 1.36.478.341.197.644.447.906.75a3.262 3.262 0 0 1 .808 2.162c0 1.401-.722 2.426-2.167 3.075C15.05 10.175 16 11.315 16 13.01a3.756 3.756 0 0 1-2.296 3.504 6.1 6.1 0 0 1-1.517.377c-.571.073-1.238.11-2 .11zm-.217-6.217H7v4.087h3.069c1.977 0 2.965-.69 2.965-2.072 0-.707-.256-1.22-.768-1.537-.512-.319-1.277-.478-2.296-.478zM7 5.13v3.619h2.606c.729 0 1.292-.067 1.69-.2a1.6 1.6 0 0 0 .91-.765c.165-.267.247-.566.247-.897 0-.707-.26-1.176-.778-1.409-.519-.232-1.31-.348-2.375-.348H7z"/></svg>',cancel:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.591 10.177 4.243 4.242a1 1 0 0 1-1.415 1.415l-4.242-4.243-4.243 4.243a1 1 0 0 1-1.414-1.415l4.243-4.242L4.52 5.934A1 1 0 0 1 5.934 4.52l4.243 4.243 4.242-4.243a1 1 0 1 1 1.415 1.414l-4.243 4.243z"/></svg>',caption:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 16h9a1 1 0 0 1 0 2H2a1 1 0 0 1 0-2z"/><path d="M17 1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14zm0 1.5H3a.5.5 0 0 0-.492.41L2.5 3v9a.5.5 0 0 0 .41.492L3 12.5h14a.5.5 0 0 0 .492-.41L17.5 12V3a.5.5 0 0 0-.41-.492L17 2.5z" fill-opacity=".6"/></svg>',check:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.972 16.615a.997.997 0 0 1-.744-.292l-4.596-4.596a1 1 0 1 1 1.414-1.414l3.926 3.926 9.937-9.937a1 1 0 0 1 1.414 1.415L7.717 16.323a.997.997 0 0 1-.745.292z"/></svg>',cog:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.333 2 .19 2.263a5.899 5.899 0 0 1 1.458.604L14.714 3.4 16.6 5.286l-1.467 1.733c.263.452.468.942.605 1.46L18 8.666v2.666l-2.263.19a5.899 5.899 0 0 1-.604 1.458l1.467 1.733-1.886 1.886-1.733-1.467a5.899 5.899 0 0 1-1.46.605L11.334 18H8.667l-.19-2.263a5.899 5.899 0 0 1-1.458-.604L5.286 16.6 3.4 14.714l1.467-1.733a5.899 5.899 0 0 1-.604-1.458L2 11.333V8.667l2.262-.189a5.899 5.899 0 0 1 .605-1.459L3.4 5.286 5.286 3.4l1.733 1.467a5.899 5.899 0 0 1 1.46-.605L8.666 2h2.666zM10 6.267a3.733 3.733 0 1 0 0 7.466 3.733 3.733 0 0 0 0-7.466z"/></svg>',colorPalette:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.209 18.717A8.5 8.5 0 1 1 18.686 9.6h-.008l.002.12a3 3 0 0 1-2.866 2.997h-.268l-.046-.002v.002h-4.791a2 2 0 1 0 0 4 1 1 0 1 1-.128 1.992 8.665 8.665 0 0 1-.372.008Zm-3.918-7.01a1.25 1.25 0 1 0-2.415-.648 1.25 1.25 0 0 0 2.415.647ZM5.723 8.18a1.25 1.25 0 1 0 .647-2.414 1.25 1.25 0 0 0-.647 2.414ZM9.76 6.155a1.25 1.25 0 1 0 .647-2.415 1.25 1.25 0 0 0-.647 2.415Zm4.028 1.759a1.25 1.25 0 1 0 .647-2.415 1.25 1.25 0 0 0-.647 2.415Z"/></svg>',eraser:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m8.636 9.531-2.758 3.94a.5.5 0 0 0 .122.696l3.224 2.284h1.314l2.636-3.736L8.636 9.53zm.288 8.451L5.14 15.396a2 2 0 0 1-.491-2.786l6.673-9.53a2 2 0 0 1 2.785-.49l3.742 2.62a2 2 0 0 1 .491 2.785l-7.269 10.053-2.147-.066z"/><path d="M4 18h5.523v-1H4zm-2 0h1v-1H2z"/></svg>',history:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 1a9 9 0 1 1-8.027 13.075l1.128-1.129A7.502 7.502 0 0 0 18.5 10a7.5 7.5 0 1 0-14.962.759l-.745-.746-.76.76A9 9 0 0 1 11 1z"/><path d="M.475 8.17a.75.75 0 0 1 .978.047l.075.082 1.284 1.643 1.681-1.284a.75.75 0 0 1 .978.057l.073.083a.75.75 0 0 1-.057.978l-.083.073-2.27 1.737a.75.75 0 0 1-.973-.052l-.074-.082-1.741-2.23a.75.75 0 0 1 .13-1.052z"/><path d="M11.5 5v4.999l3.196 3.196-1.06 1.06L10.1 10.72l-.1-.113V5z"/></svg>',image:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.66 9.118a.693.693 0 0 1 .956.032l3.65 3.411 2.422-2.238a.695.695 0 0 1 .945 0L17.5 13.6V2.5h-15v11.1l4.16-4.482ZM17.8 1c.652 0 1.2.47 1.2 1.1v14.362c0 .64-.532 1.038-1.184 1.038H2.184C1.532 17.5 1 17.103 1 16.462V2.1C1 1.47 1.537 1 2.2 1h15.6Zm-5.655 6a2.128 2.128 0 0 1 .157-2.364A2.133 2.133 0 1 1 12.145 7Z"/></svg>',imageUpload:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1C.538 1 0 1.47 0 2.1v14.363c0 .64.534 1.037 1.186 1.037h9.494a2.97 2.97 0 0 1-.414-.287 2.998 2.998 0 0 1-1.055-2.03 3.003 3.003 0 0 1 .693-2.185l.383-.455-.02.018-3.65-3.41a.695.695 0 0 0-.957-.034L1.5 13.6V2.5h15v5.535a2.97 2.97 0 0 1 1.412.932l.088.105V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713 2.803a2.146 2.146 0 0 0-2.049 1.992 2.14 2.14 0 0 0 1.28 2.096 2.13 2.13 0 0 0 2.644-3.11 2.134 2.134 0 0 0-1.875-.978Z"/><path d="M15.522 19.1a.79.79 0 0 0 .79-.79v-5.373l2.059 2.455a.79.79 0 1 0 1.211-1.015l-3.352-3.995a.79.79 0 0 0-.995-.179.784.784 0 0 0-.299.221l-3.35 3.99a.79.79 0 1 0 1.21 1.017l1.936-2.306v5.185c0 .436.353.79.79.79Z"/><path d="M15.522 19.1a.79.79 0 0 0 .79-.79v-5.373l2.059 2.455a.79.79 0 1 0 1.211-1.015l-3.352-3.995a.79.79 0 0 0-.995-.179.784.784 0 0 0-.299.221l-3.35 3.99a.79.79 0 1 0 1.21 1.017l1.936-2.306v5.185c0 .436.353.79.79.79Z"/></svg>',imageAssetManager:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1c-.662 0-1.2.47-1.2 1.1v14.248c0 .64.533 1.152 1.185 1.152h6.623v-7.236L6.617 9.15a.694.694 0 0 0-.957-.033L1.602 13.55V2.553l14.798.003V9.7H18V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.723 2.805a2.094 2.094 0 0 0-1.621.832 2.127 2.127 0 0 0 1.136 3.357 2.13 2.13 0 0 0 2.611-1.506 2.133 2.133 0 0 0-.76-2.244 2.13 2.13 0 0 0-1.366-.44Z"/><path clip-rule="evenodd" d="M19.898 12.369v6.187a.844.844 0 0 1-.844.844h-8.719a.844.844 0 0 1-.843-.844v-7.312a.844.844 0 0 1 .843-.844h2.531a.843.843 0 0 1 .597.248l.838.852h4.75c.223 0 .441.114.6.272a.844.844 0 0 1 .247.597Zm-1.52.654-4.377.02-1.1-1.143H11v6h7.4l-.023-4.877Z"/></svg>',imageUrl:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.201 1C.538 1 0 1.47 0 2.1v14.363c0 .64.534 1.037 1.186 1.037h7.029a5.401 5.401 0 0 1 .615-4.338l.762-1.232-2.975-2.78a.696.696 0 0 0-.957-.033L1.5 13.6V2.5h15v6.023c.449.131.887.32 1.307.573l.058.033c.046.028.09.057.135.086V2.1c0-.63-.547-1.1-1.2-1.1H1.202Zm11.713 2.803a2.15 2.15 0 0 0-1.611.834 2.118 2.118 0 0 0-.438 1.158 2.14 2.14 0 0 0 1.277 2.096 2.132 2.132 0 0 0 2.645-3.11 2.13 2.13 0 0 0-1.873-.978Z"/><path d="M16.63 10.294a3.003 3.003 0 0 0-4.142.887l-.117.177a.647.647 0 0 0-.096.492.664.664 0 0 0 .278.418.7.7 0 0 0 .944-.234 1.741 1.741 0 0 1 2.478-.463 1.869 1.869 0 0 1 .476 2.55.637.637 0 0 0-.071.5.646.646 0 0 0 .309.396.627.627 0 0 0 .869-.19l.027-.041a3.226 3.226 0 0 0-.956-4.492Zm-6.061 3.78-.044.066a3.228 3.228 0 0 0 .82 4.403 3.005 3.005 0 0 0 4.275-.798l.13-.197a.626.626 0 0 0 .092-.475.638.638 0 0 0-.268-.402.713.713 0 0 0-.99.26l-.018.029a1.741 1.741 0 0 1-2.477.461 1.87 1.87 0 0 1-.475-2.55l.029-.047a.647.647 0 0 0 .086-.485.66.66 0 0 0-.275-.408l-.04-.027a.609.609 0 0 0-.845.17Z"/><path d="M15.312 13.925c.24-.36.154-.838-.19-1.067-.346-.23-.82-.124-1.059.236l-1.268 1.907c-.239.36-.153.838.192 1.067.345.23.818.123 1.057-.236l1.268-1.907Z"/></svg>',lowVision:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.085 6.22 2.943 4.078a.75.75 0 1 1 1.06-1.06l2.592 2.59A11.094 11.094 0 0 1 10 5.068c4.738 0 8.578 3.101 8.578 5.083 0 1.197-1.401 2.803-3.555 3.887l1.714 1.713a.75.75 0 0 1-.09 1.138.488.488 0 0 1-.15.084.75.75 0 0 1-.821-.16L6.17 7.304c-.258.11-.51.233-.757.365l6.239 6.24-.006.005.78.78c-.388.094-.78.166-1.174.215l-1.11-1.11h.011L4.55 8.197a7.2 7.2 0 0 0-.665.514l-.112.098 4.897 4.897-.005.006 1.276 1.276a10.164 10.164 0 0 1-1.477-.117l-.479-.479-.009.009-4.863-4.863-.022.031a2.563 2.563 0 0 0-.124.2c-.043.077-.08.158-.108.241a.534.534 0 0 0-.028.133.29.29 0 0 0 .008.072.927.927 0 0 0 .082.226c.067.133.145.26.234.379l3.242 3.365.025.01.59.623c-3.265-.918-5.59-3.155-5.59-4.668 0-1.194 1.448-2.838 3.663-3.93zm7.07.531a4.632 4.632 0 0 1 1.108 5.992l.345.344.046-.018a9.313 9.313 0 0 0 2-1.112c.256-.187.5-.392.727-.613.137-.134.27-.277.392-.431.072-.091.141-.185.203-.286.057-.093.107-.19.148-.292a.72.72 0 0 0 .036-.12.29.29 0 0 0 .008-.072.492.492 0 0 0-.028-.133.999.999 0 0 0-.036-.096 2.165 2.165 0 0 0-.071-.145 2.917 2.917 0 0 0-.125-.2 3.592 3.592 0 0 0-.263-.335 5.444 5.444 0 0 0-.53-.523 7.955 7.955 0 0 0-1.054-.768 9.766 9.766 0 0 0-1.879-.891c-.337-.118-.68-.219-1.027-.301zm-2.85.21-.069.002a.508.508 0 0 0-.254.097.496.496 0 0 0-.104.679.498.498 0 0 0 .326.199l.045.005c.091.003.181.003.272.012a2.45 2.45 0 0 1 2.017 1.513c.024.061.043.125.069.185a.494.494 0 0 0 .45.287h.008a.496.496 0 0 0 .35-.158.482.482 0 0 0 .13-.335.638.638 0 0 0-.048-.219 3.379 3.379 0 0 0-.36-.723 3.438 3.438 0 0 0-2.791-1.543l-.028-.001h-.013z"/></svg>',textAlternative:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.035 1C2.446 1 2 1.54 2 2.098V10.5h1.5v-8h13v8H18V2.098C18 1.539 17.48 1 16.9 1H3.035Zm10.453 2.61a1.885 1.885 0 0 0-1.442.736 1.89 1.89 0 0 0 1.011 2.976 1.903 1.903 0 0 0 2.253-1.114 1.887 1.887 0 0 0-1.822-2.598ZM7.463 8.163a.611.611 0 0 0-.432.154L5.071 10.5h5.119L7.88 8.348a.628.628 0 0 0-.417-.185Zm6.236 1.059a.62.62 0 0 0-.42.164L12.07 10.5h2.969l-.92-1.113a.618.618 0 0 0-.42-.165ZM.91 11.5a.91.91 0 0 0-.91.912v6.877c0 .505.405.91.91.91h18.178a.91.91 0 0 0 .912-.91v-6.877a.908.908 0 0 0-.912-.912H.91ZM3.668 13h1.947l2.135 5.7H5.898l-.28-.946H3.601l-.278.945H1.516L3.668 13Zm4.947 0h1.801v4.3h2.7v1.4h-4.5V13h-.001Zm4.5 0h5.4v1.4h-1.798v4.3h-1.701v-4.3h-1.9V13h-.001Zm-8.517 1.457-.614 2.059h1.262l-.648-2.059Z"/></svg>',loupe:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.68 13.74h-.001l4.209 4.208a1 1 0 1 0 1.414-1.414l-4.267-4.268a6 6 0 1 0-1.355 1.474ZM13 9a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z"/></svg>',previousArrow:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.463 5.187a.888.888 0 1 1 1.254 1.255L9.16 10l3.557 3.557a.888.888 0 1 1-1.254 1.255L7.26 10.61a.888.888 0 0 1 .16-1.382l4.043-4.042z"/></svg>',nextArrow:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8.537 14.813a.888.888 0 1 1-1.254-1.255L10.84 10 7.283 6.442a.888.888 0 1 1 1.254-1.255L12.74 9.39a.888.888 0 0 1-.16 1.382l-4.043 4.042z"/></svg>',importExport:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 4.5 14 0H3v12.673l.868-1.041c.185-.222.4-.402.632-.54V1.5h8v5h5v7.626a2.24 2.24 0 0 1 1.5.822V4.5ZM14 5V2l3.3 3H14Zm-3.692 12.5c.062.105.133.206.213.303L11.52 19H8v-.876a2.243 2.243 0 0 0 1.82-.624h.488Zm7.518-.657a.75.75 0 0 0-1.152-.96L15.5 17.29V12H14v5.29l-1.174-1.408a.75.75 0 0 0-1.152.96l2.346 2.816a.95.95 0 0 0 1.46 0l2.346-2.815Zm-15.056-.38a.75.75 0 0 1-.096-1.056l2.346-2.815a.95.95 0 0 1 1.46 0l2.346 2.815a.75.75 0 1 1-1.152.96L6.5 14.96V20H5v-5.04l-1.174 1.408a.75.75 0 0 1-1.056.096Z"/></svg>',paragraph:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.5 5.5H7v5h3.5a2.5 2.5 0 1 0 0-5zM5 3h6.5v.025a5 5 0 0 1 0 9.95V13H7v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"/></svg>',plus:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 2a1 1 0 0 0-1 1v6H3a1 1 0 1 0 0 2h6v6a1 1 0 1 0 2 0v-6h6a1 1 0 1 0 0-2h-6V3a1 1 0 0 0-1-1Z"/></svg>',text:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.816 11.5 7.038 4.785 4.261 11.5h5.555Zm.62 1.5H3.641l-1.666 4.028H.312l5.789-14h1.875l5.789 14h-1.663L10.436 13Z"/><path d="m12.09 17-.534-1.292.848-1.971.545 1.319L12.113 17h-.023Zm1.142-5.187.545 1.319L15.5 9.13l1.858 4.316h-3.45l.398.965h3.467L18.887 17H20l-3.873-9h-1.254l-1.641 3.813Z"/></svg>',alignBottom:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m9.239 13.938-2.88-1.663a.75.75 0 0 1 .75-1.3L9 12.067V4.75a.75.75 0 1 1 1.5 0v7.318l1.89-1.093a.75.75 0 0 1 .75 1.3l-2.879 1.663a.752.752 0 0 1-.511.187.752.752 0 0 1-.511-.187zM4.25 17a.75.75 0 1 1 0-1.5h10.5a.75.75 0 0 1 0 1.5H4.25z"/></svg>',alignMiddle:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.75 11.875a.752.752 0 0 1 .508.184l2.883 1.666a.75.75 0 0 1-.659 1.344l-.091-.044-1.892-1.093.001 4.318a.75.75 0 1 1-1.5 0v-4.317l-1.89 1.092a.75.75 0 0 1-.75-1.3l2.879-1.663a.752.752 0 0 1 .51-.187zM15.25 9a.75.75 0 1 1 0 1.5H4.75a.75.75 0 1 1 0-1.5h10.5zM9.75.375a.75.75 0 0 1 .75.75v4.318l1.89-1.093.092-.045a.75.75 0 0 1 .659 1.344l-2.883 1.667a.752.752 0 0 1-.508.184.752.752 0 0 1-.511-.187L6.359 5.65a.75.75 0 0 1 .75-1.299L9 5.442V1.125a.75.75 0 0 1 .75-.75z"/></svg>',alignTop:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m10.261 7.062 2.88 1.663a.75.75 0 0 1-.75 1.3L10.5 8.933v7.317a.75.75 0 1 1-1.5 0V8.932l-1.89 1.093a.75.75 0 0 1-.75-1.3l2.879-1.663a.752.752 0 0 1 .511-.187.752.752 0 0 1 .511.187zM15.25 4a.75.75 0 1 1 0 1.5H4.75a.75.75 0 0 1 0-1.5h10.5z"/></svg>',alignLeft:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"/></svg>',alignCenter:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm2.286 4c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75z"/></svg>',alignRight:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M18 3.75a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 8a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 4a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75zm0-8a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75z"/></svg>',alignJustify:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"/></svg>',objectLeft:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm11.5 9H18v1.5h-4.5zm0-3H18v1.5h-4.5zm0-3H18v1.5h-4.5zM2 15h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>',objectCenter:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M15.003 7v5.5a1 1 0 0 1-1 1H5.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H6.5V12h6.997V7.5z"/></svg>',objectRight:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2zm0-9h5v1.5H2zm0 3h5v1.5H2zm0 3h5v1.5H2z"/><path d="M18.003 7v5.5a1 1 0 0 1-1 1H8.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H9.5V12h6.997V7.5z"/></svg>',objectFullWidth:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M18 7v5.5a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1zm-1.505.5H3.504V12h12.991V7.5z"/></svg>',objectInline:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm11.5 9H18v1.5h-4.5zM2 15h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>',objectBlockLeft:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M12.003 7v5.5a1 1 0 0 1-1 1H2.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H3.5V12h6.997V7.5z"/></svg>',objectBlockRight:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path opacity=".5" d="M2 3h16v1.5H2zm0 12h16v1.5H2z"/><path d="M18.003 7v5.5a1 1 0 0 1-1 1H8.996a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h8.007a1 1 0 0 1 1 1zm-1.506.5H9.5V12h6.997V7.5z"/></svg>',objectSizeFull:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2.5 17v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zm2 0v1h-1v-1h1zM1 15.5v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm-19-2v1H0v-1h1zm19 0v1h-1v-1h1zm0-2v1h-1v-1h1zm-19 0v1H0v-1h1zM14.5 2v1h-1V2h1zm2 0v1h-1V2h1zm2 0v1h-1V2h1zm-8 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm-2 0v1h-1V2h1zm8 0v1h-1V2h1zm-10 0v1h-1V2h1z"/><path d="M18.095 2H1.905C.853 2 0 2.895 0 4v12c0 1.105.853 2 1.905 2h16.19C19.147 18 20 17.105 20 16V4c0-1.105-.853-2-1.905-2zm0 1.5c.263 0 .476.224.476.5v12c0 .276-.213.5-.476.5H1.905a.489.489 0 0 1-.476-.5V4c0-.276.213-.5.476-.5h16.19z"/></svg>',objectSizeLarge:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 16.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1ZM1 15v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 13v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 11v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 9v1H0V9h1Zm19 0v1h-1V9h1ZM1 7v1H0V7h1Zm19 0v1h-1V7h1ZM1 5v1H0V5h1Zm19 0v1h-1V5h1Zm0-2v1h-1V3h1ZM1 3v1H0V3h1Zm13.5-1.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm-8 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm8 0v1h-1v-1h1Zm-10 0v1h-1v-1h1Z"/><path d="M13 5.5H2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2ZM13 7a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-8A.5.5 0 0 1 2 7h11Z"/></svg>',objectSizeSmall:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 16.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1ZM1 15v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 13v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 11v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 9v1H0V9h1Zm19 0v1h-1V9h1ZM1 7v1H0V7h1Zm19 0v1h-1V7h1ZM1 5v1H0V5h1Zm19 0v1h-1V5h1Zm0-2v1h-1V3h1ZM1 3v1H0V3h1Zm13.5-1.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm-8 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm8 0v1h-1v-1h1Zm-10 0v1h-1v-1h1Z"/><path d="M7 9.5H2a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2ZM7 11a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-4A.5.5 0 0 1 2 11h5Z"/></svg>',objectSizeMedium:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 16.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1ZM1 15v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 13v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 11v1H0v-1h1Zm19 0v1h-1v-1h1ZM1 9v1H0V9h1Zm19 0v1h-1V9h1ZM1 7v1H0V7h1Zm19 0v1h-1V7h1ZM1 5v1H0V5h1Zm19 0v1h-1V5h1Zm0-2v1h-1V3h1ZM1 3v1H0V3h1Zm13.5-1.5v1h-1v-1h1Zm2 0v1h-1v-1h1Zm2 0v1h-1v-1h1Zm-8 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm-2 0v1h-1v-1h1Zm8 0v1h-1v-1h1Zm-10 0v1h-1v-1h1Z"/><path d="M10 7.5H2a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2ZM10 9a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-6A.5.5 0 0 1 2 9h8Z"/></svg>',pencil:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m7.3 17.37-.061.088a1.518 1.518 0 0 1-.934.535l-4.178.663-.806-4.153a1.495 1.495 0 0 1 .187-1.058l.056-.086L8.77 2.639c.958-1.351 2.803-1.076 4.296-.03 1.497 1.047 2.387 2.693 1.433 4.055L7.3 17.37zM9.14 4.728l-5.545 8.346 3.277 2.294 5.544-8.346L9.14 4.728zM6.07 16.512l-3.276-2.295.53 2.73 2.746-.435zM9.994 3.506 13.271 5.8c.316-.452-.16-1.333-1.065-1.966-.905-.634-1.895-.78-2.212-.328zM8 18.5 9.375 17H19v1.5H8z"/></svg>',pilcrow:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.999 2H15a1 1 0 0 1 0 2h-1.004v13a1 1 0 1 1-2 0V4H8.999v13a1 1 0 1 1-2 0v-7A4 4 0 0 1 3 6a4 4 0 0 1 3.999-4z"/></svg>',quote:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 10.423a6.5 6.5 0 0 1 6.056-6.408l.038.67C6.448 5.423 5.354 7.663 5.22 10H9c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574zm8 0a6.5 6.5 0 0 1 6.056-6.408l.038.67c-2.646.739-3.74 2.979-3.873 5.315H17c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574z"/></svg>',threeVerticalDots:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="9.5" cy="4.5" r="1.5"/><circle cx="9.5" cy="10.5" r="1.5"/><circle cx="9.5" cy="16.5" r="1.5"/></svg>',dragIndicator:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 3.25a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M12 3.25a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M5 10a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M12 10a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M5 16.75a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/><path d="M12 16.75a1.5 1.5 0 1 0 3 0 1.5 1.5 0 1 0-3 0"/></svg>',redo:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m14.958 9.367-2.189 1.837a.75.75 0 0 0 .965 1.149l3.788-3.18a.747.747 0 0 0 .21-.284.75.75 0 0 0-.17-.945L13.77 4.762a.75.75 0 1 0-.964 1.15l2.331 1.955H6.22A.75.75 0 0 0 6 7.9a4 4 0 1 0 1.477 7.718l-.344-1.489A2.5 2.5 0 1 1 6.039 9.4l-.008-.032h8.927z"/></svg>',undo:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m5.042 9.367 2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z"/></svg>',bulletedList:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0C1 4.784 1.777 4 2.75 4c.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75C1.784 7.5 1 6.723 1 5.75zm6 9c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0c0-.966.777-1.75 1.75-1.75.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75-.966 0-1.75-.777-1.75-1.75z"/></svg>',numberedList:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM3.5 3v5H2V3.7H1v-1h2.5V3zM.343 17.857l2.59-3.257H2.92a.6.6 0 1 0-1.04 0H.302a2 2 0 1 1 3.995 0h-.001c-.048.405-.16.734-.333.988-.175.254-.59.692-1.244 1.312H4.3v1h-4l.043-.043zM7 14.75a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z"/></svg>',todoList:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m2.315 14.705 2.224-2.24a.689.689 0 0 1 .963 0 .664.664 0 0 1 0 .949L2.865 16.07a.682.682 0 0 1-.112.089.647.647 0 0 1-.852-.051L.688 14.886a.635.635 0 0 1 0-.903.647.647 0 0 1 .91 0l.717.722zm5.185.045a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75zM2.329 5.745l2.21-2.226a.689.689 0 0 1 .963 0 .664.664 0 0 1 0 .95L2.865 7.125a.685.685 0 0 1-.496.196.644.644 0 0 1-.468-.187L.688 5.912a.635.635 0 0 1 0-.903.647.647 0 0 1 .91 0l.73.736zM7.5 5.75A.75.75 0 0 1 8.25 5h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z"/></svg>',codeBlock:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.87 12.61a.75.75 0 0 1-.089.976l-.085.07-3.154 2.254 3.412 2.414a.75.75 0 0 1 .237.95l-.057.095a.75.75 0 0 1-.95.237l-.096-.058-4.272-3.022-.003-1.223 4.01-2.867a.75.75 0 0 1 1.047.174zm2.795-.231.095.057 4.011 2.867-.003 1.223-4.272 3.022-.095.058a.75.75 0 0 1-.88-.151l-.07-.086-.058-.095a.75.75 0 0 1 .15-.88l.087-.07 3.412-2.414-3.154-2.253-.085-.071a.75.75 0 0 1 .862-1.207zM16 0a2 2 0 0 1 2 2v9.354l-.663-.492-.837-.001V2a.5.5 0 0 0-.5-.5H2a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h3.118L7.156 19H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14zM5.009 15l.003 1H3v-1h2.009zm2.188-2-1.471 1H5v-1h2.197zM10 11v.095L8.668 12H7v-1h3zm4-2v1H7V9h7zm0-2v1H7V7h7zm-4-2v1H5V5h5zM6 3v1H3V3h3z"/></svg>',browseFiles:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.627 16.5zm5.873-.196zm0-7.001V8h-13v8.5h4.341c.191.54.457 1.044.785 1.5H2a1.5 1.5 0 0 1-1.5-1.5v-13A1.5 1.5 0 0 1 2 2h4.5a1.5 1.5 0 0 1 1.06.44L9.122 4H16a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 19 8v2.531a6.027 6.027 0 0 0-1.5-1.228zM16 6.5v-1H8.5l-2-2H2v13h1V8a1.5 1.5 0 0 1 1.5-1.5H16z"/><path d="M14.5 19.5a5 5 0 1 1 0-10 5 5 0 0 1 0 10zM15 14v-2h-1v2h-2v1h2v2h1v-2h2v-1h-2z"/></svg>',heading1:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M19 9v10h-2v-8h-2V9h4zM4 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1H10a1 1 0 0 1-1-1V11H4v4.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1H3a1 1 0 0 1 1 1v4.5z"/></svg>',heading2:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V11H3v4.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1H2a1 1 0 0 1 1 1v4.5zm16.076 8.343V18.5h-6.252c.067-.626.27-1.22.61-1.78.338-.561 1.006-1.305 2.005-2.232.804-.749 1.297-1.257 1.479-1.523.245-.368.368-.732.368-1.092 0-.398-.107-.703-.32-.917-.214-.214-.51-.32-.886-.32-.372 0-.669.111-.889.336-.22.224-.347.596-.38 1.117l-1.778-.178c.106-.982.438-1.686.997-2.114.558-.427 1.257-.64 2.095-.64.918 0 1.64.247 2.164.742.525.495.787 1.11.787 1.847 0 .419-.075.818-.225 1.197-.15.378-.388.775-.714 1.19-.216.275-.605.67-1.168 1.187-.563.516-.92.859-1.07 1.028a3.11 3.11 0 0 0-.365.495h3.542z"/></svg>',heading3:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V11H3v4.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1H2a1 1 0 0 1 1 1v4.5zm9.989 7.53 1.726-.209c.055.44.203.777.445 1.01.24.232.533.349.876.349.368 0 .678-.14.93-.42.251-.279.377-.655.377-1.13 0-.448-.12-.803-.362-1.066a1.153 1.153 0 0 0-.882-.393c-.228 0-.501.044-.819.133l.197-1.453c.482.012.85-.092 1.105-.315.253-.222.38-.517.38-.885 0-.313-.093-.563-.279-.75-.186-.185-.434-.278-.743-.278a1.07 1.07 0 0 0-.78.317c-.216.212-.347.52-.394.927l-1.644-.28c.114-.562.287-1.012.517-1.348.231-.337.553-.601.965-.794a3.24 3.24 0 0 1 1.387-.289c.876 0 1.579.28 2.108.838.436.457.653.973.653 1.549 0 .817-.446 1.468-1.339 1.955.533.114.96.37 1.28.768.319.398.478.878.478 1.441 0 .817-.298 1.513-.895 2.088-.596.576-1.339.864-2.228.864-.842 0-1.54-.243-2.094-.727-.555-.485-.876-1.118-.965-1.901z"/></svg>',heading4:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V11h-5v4.5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v4.5zm13.55 10v-1.873h-3.81v-1.561l4.037-5.91h1.498v5.904h1.156v1.567h-1.156V18.5H17.05zm0-3.44v-3.18l-2.14 3.18h2.14z"/></svg>',heading5:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V11h-5v4.5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v4.5zm9.578 7.607 1.777-.184c.05.402.201.72.45.955a1.223 1.223 0 0 0 1.81-.101c.258-.303.387-.759.387-1.368 0-.572-.128-1-.384-1.286-.256-.285-.59-.428-1-.428-.512 0-.971.226-1.377.679l-1.448-.21.915-4.843h4.716v1.67H15.56l-.28 1.58a2.697 2.697 0 0 1 1.219-.298 2.68 2.68 0 0 1 2.012.863c.55.576.825 1.323.825 2.241a3.36 3.36 0 0 1-.666 2.05c-.605.821-1.445 1.232-2.52 1.232-.86 0-1.56-.23-2.101-.692-.542-.461-.866-1.081-.971-1.86z"/></svg>',heading6:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 8.5h5V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v11.5a1 1 0 0 1-1 1h-.5a1 1 0 0 1-1-1V11h-5v4.5a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h.5a1 1 0 0 1 1 1v4.5zm15.595 2.973-1.726.19c-.043-.355-.153-.617-.33-.787-.178-.169-.409-.253-.692-.253-.377 0-.695.169-.956.507-.26.339-.424 1.043-.492 2.114.445-.525.997-.787 1.657-.787.745 0 1.383.284 1.914.85.531.568.797 1.3.797 2.197 0 .952-.28 1.716-.838 2.291-.559.576-1.276.864-2.152.864-.94 0-1.712-.365-2.317-1.095-.605-.73-.908-1.927-.908-3.59 0-1.705.316-2.935.946-3.688.63-.753 1.45-1.13 2.457-1.13.706 0 1.291.198 1.755.594.463.395.758.97.885 1.723zm-4.043 3.891c0 .58.133 1.028.4 1.343.266.315.57.473.914.473.33 0 .605-.13.825-.388.22-.258.33-.68.33-1.27 0-.604-.118-1.047-.355-1.329a1.115 1.115 0 0 0-.89-.422c-.342 0-.632.134-.869.403s-.355.666-.355 1.19z"/></svg>',horizontalLine:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 9h16v2H2z"/></svg>',html:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17 0a2 2 0 0 1 2 2v7a1 1 0 0 1 1 1v5a1 1 0 0 1-.883.993l-.118.006L19 17a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2l-.001-1.001-.116-.006A1 1 0 0 1 0 15v-5a1 1 0 0 1 .999-1L1 2a2 2 0 0 1 2-2h14zm.499 15.999h-15L2.5 17a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5l-.001-1.001zm-3.478-6.013-.014.014H14v.007l-1.525 1.525-1.46-1.46-.015.013V10h-1v5h1v-3.53l1.428 1.43.048.043.131-.129L14 11.421V15h1v-5h-.965l-.014-.014zM2 10H1v5h1v-2h2v2h1v-5H4v2H2v-2zm7 0H6v1h1v4h1v-4h1v-1zm8 0h-1v5h3v-1h-2v-4zm0-8.5H3a.5.5 0 0 0-.5.5l-.001 6.999h15L17.5 2a.5.5 0 0 0-.5-.5zM10 7v1H4V7h6zm3-2v1H4V5h9zm-3-2v1H4V3h6z"/></svg>',indent:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zM1.632 6.95 5.02 9.358a.4.4 0 0 1-.013.661l-3.39 2.207A.4.4 0 0 1 1 11.892V7.275a.4.4 0 0 1 .632-.326z"/></svg>',outdent:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zm1.618-9.55L.98 9.358a.4.4 0 0 0 .013.661l3.39 2.207A.4.4 0 0 0 5 11.892V7.275a.4.4 0 0 0-.632-.326z"/></svg>',table:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 5.5v3h4v-3H3Zm0 4v3h4v-3H3Zm0 4v3h4v-3H3Zm5 3h4v-3H8v3Zm5 0h4v-3h-4v3Zm4-4v-3h-4v3h4Zm0-4v-3h-4v3h4Zm1.5 8A1.5 1.5 0 0 1 17 18H3a1.5 1.5 0 0 1-1.5-1.5V3c.222-.863 1.068-1.5 2-1.5h13c.932 0 1.778.637 2 1.5v13.5Zm-6.5-4v-3H8v3h4Zm0-4v-3H8v3h4Z"/></svg>'};class Qs extends os{constructor(n=[]){super(n,{idProperty:"viewUid"}),this.on("add",(r,a,d)=>{this._renderViewIntoCollectionParent(a,d)}),this.on("remove",(r,a)=>{a.element&&this._parentElement&&a.element.remove()}),this._parentElement=null}destroy(){this.map(n=>n.destroy())}setParent(n){this._parentElement=n;for(const r of this)this._renderViewIntoCollectionParent(r)}delegate(...n){if(!n.length||!n.every(r=>"string"==typeof r))throw new Y("ui-viewcollection-delegate-wrong-events",this);return{to:r=>{for(const a of this)for(const d of n)a.delegate(d).to(r);this.on("add",(a,d)=>{for(const u of n)d.delegate(u).to(r)}),this.on("remove",(a,d)=>{for(const u of n)d.stopDelegating(u,r)})}}}_renderViewIntoCollectionParent(n,r){n.isRendered||n.render(),n.element&&this._parentElement&&this._parentElement.insertBefore(n.element,this._parentElement.children[r])}remove(n){return super.remove(n)}}class La extends(ye()){constructor(n){super(),Object.assign(this,dv(gC(n))),this._isRendered=!1,this._revertData=null}render(){const n=this._renderNode({intoFragment:!0});return this._isRendered=!0,n}apply(n){return this._revertData={children:[],bindings:[],attributes:{}},this._renderNode({node:n,intoFragment:!1,isApplying:!0,revertData:this._revertData}),n}revert(n){if(!this._revertData)throw new Y("ui-template-revert-not-applied",[this,n]);this._revertTemplateFromNode(n,this._revertData)}*getViews(){yield*function*n(r){if(r.children)for(const a of r.children)_u(a)?yield a:hv(a)&&(yield*n(a))}(this)}static bind(n,r){return{to:(a,d)=>new av({eventNameOrFunction:a,attribute:a,observable:n,emitter:r,callback:d}),if:(a,d,u)=>new hE({observable:n,emitter:r,attribute:a,valueIfTrue:d,callback:u})}}static extend(n,r){if(n._isRendered)throw new Y("template-extend-render",[this,n]);_C(n,dv(gC(r)))}_renderNode(n){let r;if(r=n.node?this.tag&&this.text:this.tag?this.text:!this.text,r)throw new Y("ui-template-wrong-syntax",this);return this.text?this._renderText(n):this._renderElement(n)}_renderElement(n){let r=n.node;return r||(r=n.node=document.createElementNS(this.ns||"http://www.w3.org/1999/xhtml",this.tag)),this._renderAttributes(n),this._renderElementChildren(n),this._setUpListeners(n),r}_renderText(n){let r=n.node;return r?n.revertData.text=r.textContent:r=n.node=document.createTextNode(""),lv(this.text)?this._bindToObservable({schema:this.text,updater:pE(r),data:n}):r.textContent=this.text.join(""),r}_renderAttributes(n){if(!this.attributes)return;const r=n.node,a=n.revertData;for(const d in this.attributes){const u=r.getAttribute(d),p=this.attributes[d];a&&(a.attributes[d]=u);const f=pv(p)?p[0].ns:null;if(lv(p)){const g=pv(p)?p[0].value:p;a&&bC(d)&&g.unshift(u),this._bindToObservable({schema:g,updater:fE(r,d,f),data:n})}else if("style"==d&&"string"!=typeof p[0])this._renderStyleAttribute(p[0],n);else{a&&u&&bC(d)&&p.unshift(u);const g=p.map(b=>b&&b.value||b).reduce((b,k)=>b.concat(k),[]).reduce(uv,"");Ui(g)||r.setAttributeNS(f,d,g)}}}_renderStyleAttribute(n,r){const a=r.node;for(const d in n){const u=n[d];lv(u)?this._bindToObservable({schema:[u],updater:mE(a,d),data:r}):a.style[d]=u}}_renderElementChildren(n){const r=n.node,a=n.intoFragment?document.createDocumentFragment():r,d=n.isApplying;let u=0;for(const p of this.children)if(bu(p)){if(!d){p.setParent(r);for(const f of p)a.appendChild(f.element)}}else if(_u(p))d||(p.isRendered||p.render(),a.appendChild(p.element));else if(wa(p))a.appendChild(p);else if(d){const f={children:[],bindings:[],attributes:{}};n.revertData.children.push(f),p._renderNode({intoFragment:!1,node:a.childNodes[u++],isApplying:!0,revertData:f})}else a.appendChild(p.render());n.intoFragment&&r.appendChild(a)}_setUpListeners(n){if(this.eventListeners)for(const r in this.eventListeners){const a=this.eventListeners[r].map(d=>{const[u,p]=r.split("@");return d.activateDomEventListener(u,p,n)});n.revertData&&n.revertData.bindings.push(a)}}_bindToObservable({schema:n,updater:r,data:a}){const d=a.revertData;cv(n,r,a);const u=n.filter(p=>!Ui(p)).filter(p=>p.observable).map(p=>p.activateAttributeListener(n,r,a));d&&d.bindings.push(u)}_revertTemplateFromNode(n,r){for(const d of r.bindings)for(const u of d)u();if(r.text)return void(n.textContent=r.text);const a=n;for(const d in r.attributes){const u=r.attributes[d];null===u?a.removeAttribute(d):a.setAttribute(d,u)}for(let d=0;d<r.children.length;++d)this._revertTemplateFromNode(a.childNodes[d],r.children[d])}}class od{constructor(n){this.attribute=n.attribute,this.observable=n.observable,this.emitter=n.emitter,this.callback=n.callback}getValue(n){const r=this.observable[this.attribute];return this.callback?this.callback(r,n):r}activateAttributeListener(n,r,a){const d=()=>cv(n,r,a);return this.emitter.listenTo(this.observable,`change:${this.attribute}`,d),()=>{this.emitter.stopListening(this.observable,`change:${this.attribute}`,d)}}}class av extends od{constructor(n){super(n),this.eventNameOrFunction=n.eventNameOrFunction}activateDomEventListener(n,r,a){const d=(u,p)=>{r&&!p.target.matches(r)||("function"==typeof this.eventNameOrFunction?this.eventNameOrFunction(p):this.observable.fire(this.eventNameOrFunction,p))};return this.emitter.listenTo(a.node,n,d),()=>{this.emitter.stopListening(a.node,n,d)}}}class hE extends od{constructor(n){super(n),this.valueIfTrue=n.valueIfTrue}getValue(n){return!Ui(super.getValue(n))&&(this.valueIfTrue||!0)}}function lv(c){return!!c&&(c.value&&(c=c.value),Array.isArray(c)?c.some(lv):c instanceof od)}function cv(c,n,{node:r}){const a=(p=r,c.map(f=>f instanceof od?f.getValue(p):f));var p;let d;d=1==c.length&&c[0]instanceof hE?a[0]:a.reduce(uv,""),Ui(d)?n.remove():n.set(d)}function pE(c){return{set(n){c.textContent=n},remove(){c.textContent=""}}}function fE(c,n,r){return{set(a){c.setAttributeNS(r,n,a)},remove(){c.removeAttributeNS(r,n)}}}function mE(c,n){return{set(r){c.style[n]=r},remove(){c.style[n]=null}}}function gC(c){return fr(c,n=>{if(n&&(n instanceof od||hv(n)||_u(n)||bu(n)))return n})}function dv(c){if("string"==typeof c?c={text:[c]}:c.text&&function(n){n.text=Zn(n.text)}(c),c.on&&(c.eventListeners=function(n){for(const r in n)dp(n,r);return n}(c.on),delete c.on),!c.text){c.attributes&&function(r){for(const a in r)r[a].value&&(r[a].value=Zn(r[a].value)),dp(r,a)}(c.attributes);const n=[];if(c.children)if(bu(c.children))n.push(c.children);else for(const r of c.children)hv(r)||_u(r)||wa(r)?n.push(r):n.push(new La(r));c.children=n}return c}function dp(c,n){c[n]=Zn(c[n])}function uv(c,n){return Ui(n)?c:Ui(c)?n:`${c} ${n}`}function kg(c,n){for(const r in n)c[r]?c[r].push(...n[r]):c[r]=n[r]}function _C(c,n){if(n.attributes&&(c.attributes||(c.attributes={}),kg(c.attributes,n.attributes)),n.eventListeners&&(c.eventListeners||(c.eventListeners={}),kg(c.eventListeners,n.eventListeners)),n.text&&c.text.push(...n.text),n.children&&n.children.length){if(c.children.length!=n.children.length)throw new Y("ui-template-extend-children-mismatch",c);let r=0;for(const a of n.children)_C(c.children[r++],a)}}function Ui(c){return!c&&0!==c}function _u(c){return c instanceof on}function hv(c){return c instanceof La}function bu(c){return c instanceof Qs}function pv(c){return Je(c[0])&&c[0].ns}function bC(c){return"class"==c||"style"==c}var vC=L(7676);yt()(vC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class on extends(Rr(Xt())){constructor(n){super(),this.element=null,this.isRendered=!1,this.locale=n,this.t=n&&n.t,this._viewCollections=new os,this._unboundChildren=this.createCollection(),this._viewCollections.on("add",(r,a)=>{a.locale=n,a.t=n&&n.t}),this.decorate("render")}get bindTemplate(){return this._bindTemplate?this._bindTemplate:this._bindTemplate=La.bind(this,this)}createCollection(n){const r=new Qs(n);return this._viewCollections.add(r),r}registerChild(n){ai(n)||(n=[n]);for(const r of n)this._unboundChildren.add(r)}deregisterChild(n){ai(n)||(n=[n]);for(const r of n)this._unboundChildren.remove(r)}setTemplate(n){this.template=new La(n)}extendTemplate(n){La.extend(this.template,n)}render(){if(this.isRendered)throw new Y("ui-view-render-already-rendered",this);this.template&&(this.element=this.template.render(),this.registerChild(this.template.getViews())),this.isRendered=!0}destroy(){this.stopListening(),this._viewCollections.map(n=>n.destroy()),this.template&&this.template._revertData&&this.template.revert(this.element)}}var fv=L(7801);yt()(fv.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class mv extends on{constructor(n){super(n),this.set("text",void 0),this.set("for",void 0),this.id=`ck-editor__label_${ae()}`;const r=this.bindTemplate;this.setTemplate({tag:"label",attributes:{class:["ck","ck-label"],id:this.id,for:r.to("for")},children:[{text:r.to("text")}]})}}class up extends on{constructor(n,r){super(n);const a=n.t,d=new mv;d.text=a("Help Contents. To close this dialog press ESC."),this.setTemplate({tag:"div",attributes:{class:["ck","ck-accessibility-help-dialog__content"],"aria-labelledby":d.id,role:"document",tabindex:-1},children:[lr(document,"p",{},a("Below, you can find a list of keyboard shortcuts that can be used in the editor.")),...this._createCategories(Array.from(r.values())),d]})}focus(){this.element.focus()}_createCategories(n){return n.map(r=>{const a=[lr(document,"h3",{},r.label),...Array.from(r.groups.values()).map(d=>this._createGroup(d)).flat()];return r.description&&a.splice(1,0,lr(document,"p",{},r.description)),lr(document,"section",{},a)})}_createGroup(n){const r=n.keystrokes.sort((d,u)=>d.label.localeCompare(u.label)).map(d=>this._createGroupRow(d)).flat(),a=[lr(document,"dl",{},r)];return n.label&&a.unshift(lr(document,"h4",{},n.label)),a}_createGroupRow(n){const r=this.locale.t,a=lr(document,"dt"),d=lr(document,"dd"),u="string"==typeof(f=n.keystroke)?[[f]]:"string"==typeof f[0]?[f]:f,p=[];var f;for(const f of u)p.push(f.map(hp).join(""));return a.innerHTML=n.label,d.innerHTML=p.join(", ")+(n.mayRequireFn&&M.isMac?` ${r("(may require <kbd>Fn</kbd>)")}`:""),[a,d]}}function hp(c){return jr(c).split("+").map(n=>`<kbd>${n}</kbd>`).join("+")}const gv='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 6.628a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/><path d="M8.5 9.125a.3.3 0 0 0-.253-.296L5.11 8.327a.75.75 0 1 1 .388-1.449l4.04.716c.267.072.624.08.893.009l4.066-.724a.75.75 0 1 1 .388 1.45l-3.132.5a.3.3 0 0 0-.253.296v1.357a.3.3 0 0 0 .018.102l1.615 4.438a.75.75 0 0 1-1.41.513l-1.35-3.71a.3.3 0 0 0-.281-.197h-.209a.3.3 0 0 0-.282.198l-1.35 3.711a.75.75 0 0 1-1.41-.513l1.64-4.509a.3.3 0 0 0 .019-.103V9.125Z"/><path clip-rule="evenodd" d="M10 18.5a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17Zm0 1.5c5.523 0 10-4.477 10-10S15.523 0 10 0 0 4.477 0 10s4.477 10 10 10Z"/></svg>';var _v=L(8527);yt()(_v.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class vv extends dt{constructor(){super(...arguments),this.contentView=null}static get requires(){return[Js]}static get pluginName(){return"AccessibilityHelp"}init(){const n=this.editor,r=n.locale.t;n.ui.componentFactory.add("accessibilityHelp",a=>{const d=new Qn(a);return d.set({label:r("Accessibility help"),tooltip:!0,withText:!1,keystroke:"Alt+0",icon:gv}),d.on("execute",()=>this._showDialog()),d}),n.keystrokes.set("Alt+0",(a,d)=>{this._showDialog(),d()}),this._setupRootLabels()}_setupRootLabels(){const n=this.editor,r=n.editing.view,a=n.t;function d(u,p){const f=`${p.getAttribute("aria-label")}. ${a("Press %0 for help.",[jr("Alt+0")])}`;u.setAttribute("aria-label",f,p)}n.ui.on("ready",()=>{r.change(u=>{for(const p of r.document.roots)d(u,p)}),n.on("addRoot",(u,p)=>{const f=n.editing.view.document.getRoot(p.rootName);r.change(g=>d(g,f))},{priority:"low"})})}_showDialog(){const n=this.editor,r=n.plugins.get("Dialog"),a=n.locale.t;this.contentView||(this.contentView=new up(n.locale,n.accessibility.keystrokeInfos)),r.show({id:"accessibilityHelp",className:"ck-accessibility-help-dialog",title:a("Accessibility help"),icon:gv,hasCloseButton:!0,content:this.contentView})}}class _E extends Qs{constructor(n,r=[]){super(r),this.locale=n}get bodyCollectionContainer(){return this._bodyCollectionContainer}attachToDom(){this._bodyCollectionContainer=new La({tag:"div",attributes:{class:["ck","ck-reset_all","ck-body","ck-rounded-corners"],dir:this.locale.uiLanguageDirection},children:this}).render();let n=document.querySelector(".ck-body-wrapper");n||(n=lr(document,"div",{class:"ck-body-wrapper"}),document.body.appendChild(n)),n.appendChild(this._bodyCollectionContainer)}detachFromDom(){super.destroy(),this._bodyCollectionContainer&&this._bodyCollectionContainer.remove();const n=document.querySelector(".ck-body-wrapper");n&&0==n.childElementCount&&n.remove()}}var yv=L(7621);yt()(yv.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const pp=class extends on{constructor(){super();const c=this.bindTemplate;this.set("content",""),this.set("viewBox","0 0 20 20"),this.set("fillColor",""),this.set("isColorInherited",!0),this.set("isVisible",!0),this.setTemplate({tag:"svg",ns:"http://www.w3.org/2000/svg",attributes:{class:["ck","ck-icon",c.if("isVisible","ck-hidden",n=>!n),"ck-reset_all-excluded",c.if("isColorInherited","ck-icon_inherit-color")],viewBox:c.to("viewBox")}})}render(){super.render(),this._updateXMLContent(),this._colorFillPaths(),this.on("change:content",()=>{this._updateXMLContent(),this._colorFillPaths()}),this.on("change:fillColor",()=>{this._colorFillPaths()})}_updateXMLContent(){if(this.content){const c=(new DOMParser).parseFromString(this.content.trim(),"image/svg+xml").querySelector("svg"),n=c.getAttribute("viewBox");n&&(this.viewBox=n);for(const{name:r,value:a}of Array.from(c.attributes))pp.presentationalAttributeNames.includes(r)&&this.element.setAttribute(r,a);for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild);for(;c.childNodes.length>0;)this.element.appendChild(c.childNodes[0])}}_colorFillPaths(){this.fillColor&&this.element.querySelectorAll(".ck-icon__fill").forEach(c=>{c.style.fill=this.fillColor})}};let rd=pp;rd.presentationalAttributeNames=["alignment-baseline","baseline-shift","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-rendering","cursor","direction","display","dominant-baseline","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","mask","opacity","overflow","paint-order","pointer-events","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-overflow","text-rendering","transform","unicode-bidi","vector-effect","visibility","white-space","word-spacing","writing-mode"];class kv extends on{constructor(){super(),this.set({style:void 0,text:void 0,id:void 0});const n=this.bindTemplate;this.setTemplate({tag:"span",attributes:{class:["ck","ck-button__label"],style:n.to("style"),id:n.to("id")},children:[{text:n.to("text")}]})}}var kC=L(9715);yt()(kC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Qn extends on{constructor(n,r=new kv){super(n),this._focusDelayed=null;const a=this.bindTemplate,d=ae();this.set("ariaLabel",void 0),this.set("ariaLabelledBy",`ck-editor__aria-label_${d}`),this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isVisible",!0),this.set("isToggleable",!1),this.set("keystroke",void 0),this.set("label",void 0),this.set("role",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.set("withKeystroke",!1),this.children=this.createCollection(),this.labelView=this._setupLabelView(r),this.iconView=new rd,this.iconView.extendTemplate({attributes:{class:"ck-button__icon"}}),this.keystrokeView=this._createKeystrokeView(),this.bind("_tooltipString").to(this,"tooltip",this,"label",this,"keystroke",this._getTooltipString.bind(this));const u={tag:"button",attributes:{class:["ck","ck-button",a.to("class"),a.if("isEnabled","ck-disabled",p=>!p),a.if("isVisible","ck-hidden",p=>!p),a.to("isOn",p=>p?"ck-on":"ck-off"),a.if("withText","ck-button_with-text"),a.if("withKeystroke","ck-button_with-keystroke")],role:a.to("role"),type:a.to("type",p=>p||"button"),tabindex:a.to("tabindex"),"aria-label":a.to("ariaLabel"),"aria-labelledby":a.to("ariaLabelledBy"),"aria-disabled":a.if("isEnabled",!0,p=>!p),"aria-pressed":a.to("isOn",p=>!!this.isToggleable&&String(!!p)),"data-cke-tooltip-text":a.to("_tooltipString"),"data-cke-tooltip-position":a.to("tooltipPosition")},children:this.children,on:{click:a.to(p=>{this.isEnabled?this.fire("execute"):p.preventDefault()})}};M.isSafari&&(this._focusDelayed||(this._focusDelayed=Am(()=>this.focus(),0)),u.on.mousedown=a.to(()=>{this._focusDelayed()}),u.on.mouseup=a.to(()=>{this._focusDelayed.cancel()})),this.setTemplate(u)}render(){super.render(),this.icon&&(this.iconView.bind("content").to(this,"icon"),this.children.add(this.iconView)),this.children.add(this.labelView),this.withKeystroke&&this.keystroke&&this.children.add(this.keystrokeView)}focus(){this.element.focus()}destroy(){this._focusDelayed&&this._focusDelayed.cancel(),super.destroy()}_setupLabelView(n){return n.bind("text","style","id").to(this,"label","labelStyle","ariaLabelledBy"),n}_createKeystrokeView(){const n=new on;return n.setTemplate({tag:"span",attributes:{class:["ck","ck-button__keystroke"]},children:[{text:this.bindTemplate.to("keystroke",r=>jr(r))}]}),n}_getTooltipString(n,r,a){return n?"string"==typeof n?n:(a&&(a=jr(a)),n instanceof Function?n(r,a):`${r}${a?` (${a})`:""}`):""}}var Cv=L(4391);yt()(Cv.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class wg extends Qn{constructor(n){super(n),this.isToggleable=!0,this.toggleSwitchView=this._createToggleView(),this.extendTemplate({attributes:{class:"ck-switchbutton"}})}render(){super.render(),this.children.add(this.toggleSwitchView)}_createToggleView(){const n=new on;return n.setTemplate({tag:"span",attributes:{class:["ck","ck-button__toggle"]},children:[{tag:"span",attributes:{class:["ck","ck-button__toggle__inner"]}}]}),n}}const fp='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/></svg>';var mp=L(25);yt()(mp.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Av extends on{constructor(n,r){super(n);const a=this.bindTemplate;this.set("isCollapsed",!1),this.set("label",""),this.buttonView=this._createButtonView(),this.children=this.createCollection(),this.set("_collapsibleAriaLabelUid",void 0),r&&this.children.addMany(r),this.setTemplate({tag:"div",attributes:{class:["ck","ck-collapsible",a.if("isCollapsed","ck-collapsible_collapsed")]},children:[this.buttonView,{tag:"div",attributes:{class:["ck","ck-collapsible__children"],role:"region",hidden:a.if("isCollapsed","hidden"),"aria-labelledby":a.to("_collapsibleAriaLabelUid")},children:this.children}]})}render(){super.render(),this._collapsibleAriaLabelUid=this.buttonView.labelView.element.id}focus(){this.buttonView.focus()}_createButtonView(){const n=new Qn(this.locale),r=n.bindTemplate;return n.set({withText:!0,icon:fp}),n.extendTemplate({attributes:{"aria-expanded":r.to("isOn",a=>String(a))}}),n.bind("label").to(this),n.bind("isOn").to(this,"isCollapsed",a=>!a),n.on("execute",()=>{this.isCollapsed=!this.isCollapsed}),n}}var gp=L(7317);yt()(gp.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),L(6931),L(9047);var ad=L(4962);yt()(ad.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Cg extends on{constructor(n,r){super(n);const a=`ck-labeled-field-view-${ae()}`,d=`ck-labeled-field-view-status-${ae()}`;this.fieldView=r(this,a,d),this.set("label",void 0),this.set("isEnabled",!0),this.set("isEmpty",!0),this.set("isFocused",!1),this.set("errorText",null),this.set("infoText",null),this.set("class",void 0),this.set("placeholder",void 0),this.labelView=this._createLabelView(a),this.statusView=this._createStatusView(d),this.fieldWrapperChildren=this.createCollection([this.fieldView,this.labelView]),this.bind("_statusText").to(this,"errorText",this,"infoText",(p,f)=>p||f);const u=this.bindTemplate;this.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view",u.to("class"),u.if("isEnabled","ck-disabled",p=>!p),u.if("isEmpty","ck-labeled-field-view_empty"),u.if("isFocused","ck-labeled-field-view_focused"),u.if("placeholder","ck-labeled-field-view_placeholder"),u.if("errorText","ck-error")]},children:[{tag:"div",attributes:{class:["ck","ck-labeled-field-view__input-wrapper"]},children:this.fieldWrapperChildren},this.statusView]})}_createLabelView(n){const r=new mv(this.locale);return r.for=n,r.bind("text").to(this,"label"),r}_createStatusView(n){const r=new on(this.locale),a=this.bindTemplate;return r.setTemplate({tag:"div",attributes:{class:["ck","ck-labeled-field-view__status",a.if("errorText","ck-labeled-field-view__status_error"),a.if("_statusText","ck-hidden",d=>!d)],id:n,role:a.if("errorText","alert")},children:[{text:a.to("_statusText")}]}),r}focus(n){this.fieldView.focus(n)}}class vE extends on{constructor(n){super(n),this.set("value",void 0),this.set("id",void 0),this.set("placeholder",void 0),this.set("isReadOnly",!1),this.set("hasError",!1),this.set("ariaDescribedById",void 0),this.focusTracker=new vo,this.bind("isFocused").to(this.focusTracker),this.set("isEmpty",!0);const r=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck","ck-input",r.if("isFocused","ck-input_focused"),r.if("isEmpty","ck-input-text_empty"),r.if("hasError","ck-error")],id:r.to("id"),placeholder:r.to("placeholder"),readonly:r.to("isReadOnly"),"aria-invalid":r.if("hasError",!0),"aria-describedby":r.to("ariaDescribedById")},on:{input:r.to((...a)=>{this.fire("input",...a),this._updateIsEmpty()}),change:r.to(this._updateIsEmpty.bind(this))}})}render(){super.render(),this.focusTracker.add(this.element),this._setDomElementValue(this.value),this._updateIsEmpty(),this.on("change:value",(n,r,a)=>{this._setDomElementValue(a),this._updateIsEmpty()})}destroy(){super.destroy(),this.focusTracker.destroy()}select(){this.element.select()}focus(){this.element.focus()}reset(){this.value=this.element.value="",this._updateIsEmpty()}_updateIsEmpty(){this.isEmpty=!this.element.value}_setDomElementValue(n){this.element.value=n||0===n?n:""}}var Dv=L(253);yt()(Dv.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class yE extends vE{constructor(n){super(n),this.set("inputMode","text"),this.extendTemplate({attributes:{inputmode:this.bindTemplate.to("inputMode")}})}}class kE extends yE{constructor(n){super(n),this.extendTemplate({attributes:{type:"text",class:["ck-input-text"]}})}}var wC=L(1671);yt()(wC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Ag extends on{constructor(n){super(n);const r=this.bindTemplate;this.set("isVisible",!1),this.set("position","se"),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-dropdown__panel",r.to("position",a=>`ck-dropdown__panel_${a}`),r.if("isVisible","ck-dropdown__panel-visible")],tabindex:"-1"},children:this.children,on:{selectstart:r.to(a=>{"input"!==a.target.tagName.toLocaleLowerCase()&&a.preventDefault()})}})}focus(){if(this.children.length){const n=this.children.first;"function"==typeof n.focus?n.focus():ie("ui-dropdown-panel-focus-child-missing-focus",{childView:this.children.first,dropdownPanel:this})}}focusLast(){if(this.children.length){const n=this.children.last;"function"==typeof n.focusLast?n.focusLast():n.focus()}}}var CC=L(8149);yt()(CC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const ko=class extends on{constructor(c,n,r){super(c);const a=this.bindTemplate;this.buttonView=n,this.panelView=r,this.set("isOpen",!1),this.set("isEnabled",!0),this.set("class",void 0),this.set("id",void 0),this.set("panelPosition","auto"),this.panelView.bind("isVisible").to(this,"isOpen"),this.keystrokes=new br,this.focusTracker=new vo,this.setTemplate({tag:"div",attributes:{class:["ck","ck-dropdown",a.to("class"),a.if("isEnabled","ck-disabled",d=>!d)],id:a.to("id"),"aria-describedby":a.to("ariaDescribedById")},children:[n,r]}),n.extendTemplate({attributes:{class:["ck-dropdown__button"],"data-cke-tooltip-disabled":a.to("isOpen")}})}render(){super.render(),this.focusTracker.add(this.buttonView.element),this.focusTracker.add(this.panelView.element),this.listenTo(this.buttonView,"open",()=>{this.isOpen=!this.isOpen}),this.on("change:isOpen",(n,r,a)=>{if(a)if("auto"===this.panelPosition){const d=ko._getOptimalPosition({element:this.panelView.element,target:this.buttonView.element,fitInViewport:!0,positions:this._panelPositions});this.panelView.position=d?d.name:this._panelPositions[0].name}else this.panelView.position=this.panelPosition}),this.keystrokes.listenTo(this.element);const c=(n,r)=>{this.isOpen&&(this.isOpen=!1,r())};this.keystrokes.set("arrowdown",(n,r)=>{this.buttonView.isEnabled&&!this.isOpen&&(this.isOpen=!0,r())}),this.keystrokes.set("arrowright",(n,r)=>{this.isOpen&&r()}),this.keystrokes.set("arrowleft",c),this.keystrokes.set("esc",c)}focus(){this.buttonView.focus()}get _panelPositions(){const{south:c,north:n,southEast:r,southWest:a,northEast:d,northWest:u,southMiddleEast:p,southMiddleWest:f,northMiddleEast:g,northMiddleWest:b}=ko.defaultPanelPositions;return"rtl"!==this.locale.uiLanguageDirection?[r,a,p,f,c,d,u,g,b,n]:[a,r,f,p,c,u,d,b,g,n]}};let MC=ko;MC.defaultPanelPositions={south:(c,n)=>({top:c.bottom,left:c.left-(n.width-c.width)/2,name:"s"}),southEast:c=>({top:c.bottom,left:c.left,name:"se"}),southWest:(c,n)=>({top:c.bottom,left:c.left-n.width+c.width,name:"sw"}),southMiddleEast:(c,n)=>({top:c.bottom,left:c.left-(n.width-c.width)/4,name:"sme"}),southMiddleWest:(c,n)=>({top:c.bottom,left:c.left-3*(n.width-c.width)/4,name:"smw"}),north:(c,n)=>({top:c.top-n.height,left:c.left-(n.width-c.width)/2,name:"n"}),northEast:(c,n)=>({top:c.top-n.height,left:c.left,name:"ne"}),northWest:(c,n)=>({top:c.top-n.height,left:c.left-n.width+c.width,name:"nw"}),northMiddleEast:(c,n)=>({top:c.top-n.height,left:c.left-(n.width-c.width)/4,name:"nme"}),northMiddleWest:(c,n)=>({top:c.top-n.height,left:c.left-3*(n.width-c.width)/4,name:"nmw"})},MC._getOptimalPosition=un;class xv extends Qn{constructor(n){super(n),this.arrowView=this._createArrowView(),this.extendTemplate({attributes:{"aria-haspopup":!0,"aria-expanded":this.bindTemplate.to("isOn",r=>String(r))}}),this.delegate("execute").to(this,"open")}render(){super.render(),this.children.add(this.arrowView)}_createArrowView(){const n=new rd;return n.content=fp,n.extendTemplate({attributes:{class:"ck-dropdown__arrow"}}),n}}class $r extends(ye()){constructor(n){if(super(),this.focusables=n.focusables,this.focusTracker=n.focusTracker,this.keystrokeHandler=n.keystrokeHandler,this.actions=n.actions,n.actions&&n.keystrokeHandler)for(const r in n.actions){let a=n.actions[r];"string"==typeof a&&(a=[a]);for(const d of a)n.keystrokeHandler.set(d,(u,p)=>{this[r](),p()})}this.on("forwardCycle",()=>this.focusFirst(),{priority:"low"}),this.on("backwardCycle",()=>this.focusLast(),{priority:"low"})}get first(){return this.focusables.find(Ev)||null}get last(){return this.focusables.filter(Ev).slice(-1)[0]||null}get next(){return this._getDomFocusableItem(1)}get previous(){return this._getDomFocusableItem(-1)}get current(){let n=null;return null===this.focusTracker.focusedElement?null:(this.focusables.find((r,a)=>{const d=r.element===this.focusTracker.focusedElement;return d&&(n=a),d}),n)}focusFirst(){this._focus(this.first,1)}focusLast(){this._focus(this.last,-1)}focusNext(){const n=this.next;n&&this.focusables.getIndex(n)===this.current||n===this.first?this.fire("forwardCycle"):this._focus(n,1)}focusPrevious(){const n=this.previous;n&&this.focusables.getIndex(n)===this.current||n===this.last?this.fire("backwardCycle"):this._focus(n,-1)}_focus(n,r){n&&this.focusTracker.focusedElement!==n.element&&n.focus(r)}_getDomFocusableItem(n){const r=this.focusables.length;if(!r)return null;const a=this.current;if(null===a)return this[1===n?"first":"last"];let d=this.focusables.get(a),u=(a+r+n)%r;do{const p=this.focusables.get(u);if(Ev(p)){d=p;break}u=(u+r+n)%r}while(u!==a);return d}}function Ev(c){return Mg(c)&&oi(c.element)}function Mg(c){return!(!("focus"in c)||"function"!=typeof c.focus)}class wE extends on{constructor(n){super(n),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__separator"]}})}}class Dg extends on{constructor(n){super(n),this.setTemplate({tag:"span",attributes:{class:["ck","ck-toolbar__line-break"]}})}}var CE=Object.defineProperty,Tg=Object.getOwnPropertySymbols,Sv=Object.prototype.hasOwnProperty,yu=Object.prototype.propertyIsEnumerable,xg=(c,n,r)=>n in c?CE(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,Eg=(c,n)=>{for(var r in n||(n={}))Sv.call(n,r)&&xg(c,r,n[r]);if(Tg)for(var r of Tg(n))yu.call(n,r)&&xg(c,r,n[r]);return c};function ku(c){if(Array.isArray(c))return{items:c,removeItems:[]};const n={items:[],removeItems:[]};return c?Eg(Eg({},n),c):n}var _p=L(9677);yt()(_p.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const{threeVerticalDots:Sg}=bn,Iv={alignLeft:bn.alignLeft,bold:bn.bold,importExport:bn.importExport,paragraph:bn.paragraph,plus:bn.plus,text:bn.text,threeVerticalDots:bn.threeVerticalDots,pilcrow:bn.pilcrow,dragIndicator:bn.dragIndicator};class Cu extends on{constructor(n,r){super(n);const a=this.bindTemplate,d=this.t;this.options=r||{},this.set("ariaLabel",d("Editor toolbar")),this.set("maxWidth","auto"),this.items=this.createCollection(),this.focusTracker=new vo,this.keystrokes=new br,this.set("class",void 0),this.set("isCompact",!1),this.itemsView=new uO(n),this.children=this.createCollection(),this.children.add(this.itemsView),this.focusables=this.createCollection();const u="rtl"===n.uiLanguageDirection;this._focusCycler=new $r({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:[u?"arrowright":"arrowleft","arrowup"],focusNext:[u?"arrowleft":"arrowright","arrowdown"]}});const p=["ck","ck-toolbar",a.to("class"),a.if("isCompact","ck-toolbar_compact")];var f;this.options.shouldGroupWhenFull&&this.options.isFloating&&p.push("ck-toolbar_floating"),this.setTemplate({tag:"div",attributes:{class:p,role:"toolbar","aria-label":a.to("ariaLabel"),style:{maxWidth:a.to("maxWidth")},tabindex:-1},children:this.children,on:{mousedown:(f=this,f.bindTemplate.to(g=>{g.target===f.element&&g.preventDefault()}))}}),this._behavior=this.options.shouldGroupWhenFull?new bp(this):new Lv(this)}render(){super.render(),this.focusTracker.add(this.element);for(const n of this.items)this.focusTracker.add(n.element);this.items.on("add",(n,r)=>{this.focusTracker.add(r.element)}),this.items.on("remove",(n,r)=>{this.focusTracker.remove(r.element)}),this.keystrokes.listenTo(this.element),this._behavior.render(this)}destroy(){return this._behavior.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy(),super.destroy()}focus(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}fillFromConfig(n,r,a){this.items.addMany(this._buildItemsFromConfig(n,r,a))}_buildItemsFromConfig(n,r,a){const d=ku(n),u=a||d.removeItems;return this._cleanItemsConfiguration(d.items,r,u).map(p=>Je(p)?this._createNestedToolbarDropdown(p,r,u):"|"===p?new wE:"-"===p?new Dg:r.create(p)).filter(p=>!!p)}_cleanItemsConfiguration(n,r,a){const d=n.filter((u,p,f)=>"|"===u||-1===a.indexOf(u)&&("-"===u?!this.options.shouldGroupWhenFull||(ie("toolbarview-line-break-ignored-when-grouping-items",f),!1):!(!Je(u)&&!r.has(u)&&(ie("toolbarview-item-unavailable",{item:u}),1))));return this._cleanSeparatorsAndLineBreaks(d)}_cleanSeparatorsAndLineBreaks(n){const r=p=>"-"!==p&&"|"!==p,a=n.length,d=n.findIndex(r);if(-1===d)return[];const u=a-n.slice().reverse().findIndex(r);return n.slice(d,u).filter((p,f,g)=>!!r(p)||!(f>0&&g[f-1]===p))}_createNestedToolbarDropdown(n,r,a){let{label:d,icon:u,items:p,tooltip:f=!0,withText:g=!1}=n;if(p=this._cleanItemsConfiguration(p,r,a),!p.length)return null;const b=Oa(this.locale);return d||ie("toolbarview-nested-toolbar-dropdown-missing-label",n),b.class="ck-toolbar__nested-toolbar-dropdown",b.buttonView.set({label:d,tooltip:f,withText:!!g}),!1!==u?b.buttonView.icon=Iv[u]||u||Sg:b.buttonView.withText=!0,vp(b,()=>b.toolbarView._buildItemsFromConfig(p,r,a)),b}}class uO extends on{constructor(n){super(n),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-toolbar__items"]},children:this.children})}}class Lv{constructor(n){const r=n.bindTemplate;n.set("isVertical",!1),n.itemsView.children.bindTo(n.items).using(a=>a),n.focusables.bindTo(n.items).using(a=>Mg(a)?a:null),n.extendTemplate({attributes:{class:[r.if("isVertical","ck-toolbar_vertical")]}})}render(){}destroy(){}}class bp{constructor(n){this.resizeObserver=null,this.cachedPadding=null,this.shouldUpdateGroupingOnNextResize=!1,this.view=n,this.viewChildren=n.children,this.viewFocusables=n.focusables,this.viewItemsView=n.itemsView,this.viewFocusTracker=n.focusTracker,this.viewLocale=n.locale,this.ungroupedItems=n.createCollection(),this.groupedItems=n.createCollection(),this.groupedItemsDropdown=this._createGroupedItemsDropdown(),n.itemsView.children.bindTo(this.ungroupedItems).using(r=>r),this.ungroupedItems.on("change",this._updateFocusCyclableItems.bind(this)),n.children.on("change",this._updateFocusCyclableItems.bind(this)),n.items.on("change",(r,a)=>{const d=a.index,u=Array.from(a.added);for(const p of a.removed)d>=this.ungroupedItems.length?this.groupedItems.remove(p):this.ungroupedItems.remove(p);for(let p=d;p<d+u.length;p++){const f=u[p-d];p>this.ungroupedItems.length?this.groupedItems.add(f,p-this.ungroupedItems.length):this.ungroupedItems.add(f,p)}this._updateGrouping()}),n.extendTemplate({attributes:{class:["ck-toolbar_grouping"]}})}render(n){this.viewElement=n.element,this._enableGroupingOnResize(),this._enableGroupingOnMaxWidthChange(n)}destroy(){this.groupedItemsDropdown.destroy(),this.resizeObserver.destroy()}_updateGrouping(){if(!this.viewElement.ownerDocument.body.contains(this.viewElement))return;if(!oi(this.viewElement))return void(this.shouldUpdateGroupingOnNextResize=!0);const n=this.groupedItems.length;let r;for(;this._areItemsOverflowing;)this._groupLastItem(),r=!0;if(!r&&this.groupedItems.length){for(;this.groupedItems.length&&!this._areItemsOverflowing;)this._ungroupFirstItem();this._areItemsOverflowing&&this._groupLastItem()}this.groupedItems.length!==n&&this.view.fire("groupedItemsUpdate")}get _areItemsOverflowing(){if(!this.ungroupedItems.length)return!1;const n=this.viewElement,r=this.viewLocale.uiLanguageDirection,a=new Xe(n.lastChild),d=new Xe(n);if(!this.cachedPadding){const u=Vt.window.getComputedStyle(n);this.cachedPadding=Number.parseInt(u["ltr"===r?"paddingRight":"paddingLeft"])}return"ltr"===r?a.right>d.right-this.cachedPadding:a.left<d.left+this.cachedPadding}_enableGroupingOnResize(){let n;this.resizeObserver=new fo(this.viewElement,r=>{n&&n===r.contentRect.width&&!this.shouldUpdateGroupingOnNextResize||(this.shouldUpdateGroupingOnNextResize=!1,this._updateGrouping(),n=r.contentRect.width)}),this._updateGrouping()}_enableGroupingOnMaxWidthChange(n){n.on("change:maxWidth",()=>{this._updateGrouping()})}_groupLastItem(){this.groupedItems.length||(this.viewChildren.add(new wE),this.viewChildren.add(this.groupedItemsDropdown),this.viewFocusTracker.add(this.groupedItemsDropdown.element)),this.groupedItems.add(this.ungroupedItems.remove(this.ungroupedItems.last),0)}_ungroupFirstItem(){this.ungroupedItems.add(this.groupedItems.remove(this.groupedItems.first)),this.groupedItems.length||(this.viewChildren.remove(this.groupedItemsDropdown),this.viewChildren.remove(this.viewChildren.last),this.viewFocusTracker.remove(this.groupedItemsDropdown.element))}_createGroupedItemsDropdown(){const n=this.viewLocale,r=n.t,a=Oa(n);return a.class="ck-toolbar__grouped-dropdown",a.panelPosition="ltr"===n.uiLanguageDirection?"sw":"se",vp(a,this.groupedItems),a.buttonView.set({label:r("Show more items"),tooltip:!0,tooltipPosition:"rtl"===n.uiLanguageDirection?"se":"sw",icon:Sg}),a}_updateFocusCyclableItems(){this.viewFocusables.clear(),this.ungroupedItems.map(n=>{Mg(n)&&this.viewFocusables.add(n)}),this.groupedItems.length&&this.viewFocusables.add(this.groupedItemsDropdown)}}class Ig extends on{constructor(n){super(n);const r=this.bindTemplate;this.set("isVisible",!0),this.children=this.createCollection(),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__item",r.if("isVisible","ck-hidden",a=>!a)],role:"presentation"},children:this.children})}focus(){this.children.first&&this.children.first.focus()}}class Ov extends on{constructor(n){super(n),this.setTemplate({tag:"li",attributes:{class:["ck","ck-list__separator"]}})}}class Lg extends on{constructor(n,r=new mv){super(n);const a=this.bindTemplate,d=new Nv(n);this.set({label:"",isVisible:!0}),this.labelView=r,this.labelView.bind("text").to(this,"label"),this.children=this.createCollection(),this.children.addMany([this.labelView,d]),d.set({role:"group",ariaLabelledBy:r.id}),d.focusTracker.destroy(),d.keystrokes.destroy(),this.items=d.items,this.setTemplate({tag:"li",attributes:{role:"presentation",class:["ck","ck-list__group",a.if("isVisible","ck-hidden",u=>!u)]},children:this.children})}focus(){if(this.items){const n=this.items.find(r=>!(r instanceof Ov));n&&n.focus()}}}var DC=L(5199);yt()(DC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Nv extends on{constructor(n){super(n),this._listItemGroupToChangeListeners=new WeakMap;const r=this.bindTemplate;this.focusables=new Qs,this.items=this.createCollection(),this.focusTracker=new vo,this.keystrokes=new br,this._focusCycler=new $r({focusables:this.focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"arrowup",focusNext:"arrowdown"}}),this.set("ariaLabel",void 0),this.set("ariaLabelledBy",void 0),this.set("role",void 0),this.setTemplate({tag:"ul",attributes:{class:["ck","ck-reset","ck-list"],role:r.to("role"),"aria-label":r.to("ariaLabel"),"aria-labelledby":r.to("ariaLabelledBy")},children:this.items})}render(){super.render();for(const n of this.items)n instanceof Lg?this._registerFocusableItemsGroup(n):n instanceof Ig&&this._registerFocusableListItem(n);this.items.on("change",(n,r)=>{for(const a of r.removed)a instanceof Lg?this._deregisterFocusableItemsGroup(a):a instanceof Ig&&this._deregisterFocusableListItem(a);for(const a of Array.from(r.added).reverse())a instanceof Lg?this._registerFocusableItemsGroup(a,r.index):this._registerFocusableListItem(a,r.index)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}_registerFocusableListItem(n,r){this.focusTracker.add(n.element),this.focusables.add(n,r)}_deregisterFocusableListItem(n){this.focusTracker.remove(n.element),this.focusables.remove(n)}_getOnGroupItemsChangeCallback(n){return(r,a)=>{for(const d of a.removed)this._deregisterFocusableListItem(d);for(const d of Array.from(a.added).reverse())this._registerFocusableListItem(d,this.items.getIndex(n)+a.index)}}_registerFocusableItemsGroup(n,r){Array.from(n.items).forEach((d,u)=>{this._registerFocusableListItem(d,void 0!==r?r+u:void 0)});const a=this._getOnGroupItemsChangeCallback(n);this._listItemGroupToChangeListeners.set(n,a),n.items.on("change",a)}_deregisterFocusableItemsGroup(n){for(const r of n.items)this._deregisterFocusableListItem(r);n.items.off("change",this._listItemGroupToChangeListeners.get(n)),this._listItemGroupToChangeListeners.delete(n)}}var TC=L(1792);yt()(TC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Rv extends on{constructor(n,r){super(n);const a=this.bindTemplate;this.set("class",void 0),this.set("labelStyle",void 0),this.set("icon",void 0),this.set("isEnabled",!0),this.set("isOn",!1),this.set("isToggleable",!1),this.set("isVisible",!0),this.set("keystroke",void 0),this.set("withKeystroke",!1),this.set("label",void 0),this.set("tabindex",-1),this.set("tooltip",!1),this.set("tooltipPosition","s"),this.set("type","button"),this.set("withText",!1),this.children=this.createCollection(),this.actionView=this._createActionView(r),this.arrowView=this._createArrowView(),this.keystrokes=new br,this.focusTracker=new vo,this.setTemplate({tag:"div",attributes:{class:["ck","ck-splitbutton",a.to("class"),a.if("isVisible","ck-hidden",d=>!d),this.arrowView.bindTemplate.if("isOn","ck-splitbutton_open")]},children:this.children})}render(){super.render(),this.children.add(this.actionView),this.children.add(this.arrowView),this.focusTracker.add(this.actionView.element),this.focusTracker.add(this.arrowView.element),this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",(n,r)=>{this.focusTracker.focusedElement===this.actionView.element&&(this.arrowView.focus(),r())}),this.keystrokes.set("arrowleft",(n,r)=>{this.focusTracker.focusedElement===this.arrowView.element&&(this.actionView.focus(),r())})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this.actionView.focus()}_createActionView(n){const r=n||new Qn;return n||r.bind("icon","isEnabled","isOn","isToggleable","keystroke","label","tabindex","tooltip","tooltipPosition","type","withText").to(this),r.extendTemplate({attributes:{class:"ck-splitbutton__action"}}),r.delegate("execute").to(this),r}_createArrowView(){const n=new Qn,r=n.bindTemplate;return n.icon=fp,n.extendTemplate({attributes:{class:["ck-splitbutton__arrow"],"data-cke-tooltip-disabled":r.to("isOn"),"aria-haspopup":!0,"aria-expanded":r.to("isOn",a=>String(a))}}),n.bind("isEnabled").to(this),n.bind("label").to(this),n.bind("tooltip").to(this),n.delegate("execute").to(this,"open"),n}}var xC=L(1666);yt()(xC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var Pg=L(3629);function Oa(c,n=xv){const r="function"==typeof n?new n(c):n,a=new Ag(c),d=new MC(c,r,a);return r.bind("isEnabled").to(d),r instanceof Rv?r.arrowView.bind("isOn").to(d,"isOpen"):r.bind("isOn").to(d,"isOpen"),(p=u=d).on("render",()=>{C({emitter:p,activator:()=>p.isOpen,callback:()=>{p.isOpen=!1},contextElements:()=>[p.element,...p.focusTracker._elements]})}),function(p){p.on("execute",f=>{f.source instanceof wg||(p.isOpen=!1)})}(u),function(p){p.focusTracker.on("change:isFocused",(f,g,b)=>{p.isOpen&&!b&&(p.isOpen=!1)})}(u),function(p){p.keystrokes.set("arrowdown",(f,g)=>{p.isOpen&&(p.panelView.focus(),g())}),p.keystrokes.set("arrowup",(f,g)=>{p.isOpen&&(p.panelView.focusLast(),g())})}(u),function(p){p.on("change:isOpen",(f,g,b)=>{if(b)return;const k=p.panelView.element;k&&k.contains(Vt.document.activeElement)&&p.buttonView.focus()})}(u),function(p){p.on("change:isOpen",(f,g,b)=>{b&&p.panelView.focus()},{priority:"low"})}(u),d;var u,p}function vp(c,n,r={}){c.extendTemplate({attributes:{class:["ck-toolbar-dropdown"]}}),c.isOpen?yp(c,n,r):c.once("change:isOpen",()=>yp(c,n,r),{priority:"highest"}),r.enableActiveItemFocusOnDropdownOpen&&SC(c,()=>c.toolbarView.items.find(a=>a.isOn))}function yp(c,n,r){const a=c.locale,d=a.t,u=c.toolbarView=new Cu(a),p="function"==typeof n?n():n;u.ariaLabel=r.ariaLabel||d("Dropdown toolbar"),r.maxWidth&&(u.maxWidth=r.maxWidth),r.class&&(u.class=r.class),r.isCompact&&(u.isCompact=r.isCompact),r.isVertical&&(u.isVertical=!0),p instanceof Qs?u.items.bindTo(p).using(f=>f):u.items.addMany(p),c.panelView.children.add(u),u.items.delegate("execute").to(c)}function EC(c,n,r={}){c.isOpen?Fv(c,n,r):c.once("change:isOpen",()=>Fv(c,n,r),{priority:"highest"}),SC(c,()=>c.listView.items.find(a=>a instanceof Ig&&a.children.first.isOn))}function Fv(c,n,r){const a=c.locale,d=c.listView=new Nv(a),u="function"==typeof n?n():n;d.ariaLabel=r.ariaLabel,d.role=r.role,Bv(c,d.items,u,a),c.panelView.children.add(d),d.items.delegate("execute").to(c)}function SC(c,n){c.on("change:isOpen",()=>{if(!c.isOpen)return;const r=n();r&&("function"==typeof r.focus?r.focus():ie("ui-dropdown-focus-child-on-open-child-missing-focus",{view:r}))},{priority:de.low-10})}function Bv(c,n,r,a){n.bindTo(r).using(d=>{if("separator"===d.type)return new Ov(a);if("group"===d.type){const u=new Lg(a);return u.set({label:d.label}),Bv(c,u.items,d.items,a),u.items.delegate("execute").to(c),u}if("button"===d.type||"switchbutton"===d.type){const u=new Ig(a);let p;return"button"===d.type?(p=new Qn(a),p.extendTemplate({attributes:{"aria-checked":p.bindTemplate.to("isOn")}})):p=new wg(a),p.bind(...Object.keys(d.model)).to(d.model),p.delegate("execute").to(u),u.children.add(p),u}return null})}yt()(Pg.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const jv=(c,n,r)=>{const a=new kE(c.locale);return a.set({id:n,ariaDescribedById:r}),a.bind("isReadOnly").to(c,"isEnabled",d=>!d),a.bind("hasError").to(c,"errorText",d=>!!d),a.on("input",()=>{c.errorText=null}),c.bind("isEmpty","isFocused","placeholder").to(a),a};Symbol("same"),Symbol("color"),Symbol("hsva"),Symbol("update"),Symbol("parts"),Symbol("css"),Symbol("sliders");var An=L(1905);yt()(An.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),Xt(os);var IC=L(6309);yt()(IC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ld{constructor(n){this._components=new Map,this.editor=n}*names(){for(const n of this._components.values())yield n.originalName}add(n,r){this._components.set(zv(n),{callback:r,originalName:n})}create(n){if(!this.has(n))throw new Y("componentfactory-item-missing",this,{name:n});return this._components.get(zv(n)).callback(this.editor.locale)}has(n){return this._components.has(zv(n))}}function zv(c){return String(c).toLowerCase()}var Fg=L(7913);yt()(Fg.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Vv extends on{constructor(n,r={}){super(n);const a=this.bindTemplate;this.set("label",r.label||""),this.set("class",r.class||null),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-form__header",a.to("class")]},children:this.children}),r.icon&&(this.iconView=new rd,this.iconView.content=r.icon,this.children.add(this.iconView));const d=new on(n);d.setTemplate({tag:"h2",attributes:{class:["ck","ck-form__header__label"],role:"presentation"},children:[{text:a.to("label")}]}),this.children.add(d)}}var Hv=L(9822);yt()(Hv.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class EE extends on{constructor(n){super(n),this.children=this.createCollection(),this.keystrokes=new br,this._focusTracker=new vo,this._focusables=new Qs,this.focusCycler=new $r({focusables:this._focusables,focusTracker:this._focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog__actions"]},children:this.children})}render(){super.render(),this.keystrokes.listenTo(this.element)}setButtons(n){for(const r of n){const a=new Qn(this.locale);let d;for(d in a.on("execute",()=>r.onExecute()),r.onCreate&&r.onCreate(a),r)"onExecute"!=d&&"onCreate"!=d&&a.set(d,r[d]);this.children.add(a)}this._updateFocusCyclableItems()}focus(n){-1===n?this.focusCycler.focusLast():this.focusCycler.focusFirst()}_updateFocusCyclableItems(){Array.from(this.children).forEach(n=>{this._focusables.add(n),this._focusTracker.add(n.element)})}}class LC extends on{constructor(n){super(n),this.children=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog__content"]},children:this.children})}reset(){for(;this.children.length;)this.children.remove(0)}}var OC=L(9819);yt()(OC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Bg="screen-center",NC="editor-center",SE=Ds("px"),jg=class extends(function(c){return class extends c{constructor(...n){super(...n),this._onDragBound=this._onDrag.bind(this),this._onDragEndBound=this._onDragEnd.bind(this),this._lastDraggingCoordinates={x:0,y:0},this.on("render",()=>{this._attachListeners()}),this.set("isDragging",!1)}_attachListeners(){this.listenTo(this.element,"mousedown",this._onDragStart.bind(this)),this.listenTo(this.element,"touchstart",this._onDragStart.bind(this))}_attachDragListeners(){this.listenTo(Vt.document,"mouseup",this._onDragEndBound),this.listenTo(Vt.document,"touchend",this._onDragEndBound),this.listenTo(Vt.document,"mousemove",this._onDragBound),this.listenTo(Vt.document,"touchmove",this._onDragBound)}_detachDragListeners(){this.stopListening(Vt.document,"mouseup",this._onDragEndBound),this.stopListening(Vt.document,"touchend",this._onDragEndBound),this.stopListening(Vt.document,"mousemove",this._onDragBound),this.stopListening(Vt.document,"touchmove",this._onDragBound)}_onDragStart(n,r){if(!this._isHandleElementPressed(r))return;this._attachDragListeners();let a=0,d=0;r instanceof MouseEvent?(a=r.clientX,d=r.clientY):(a=r.touches[0].clientX,d=r.touches[0].clientY),this._lastDraggingCoordinates={x:a,y:d},this.isDragging=!0}_onDrag(n,r){if(!this.isDragging)return void this._detachDragListeners();let a=0,d=0;r instanceof MouseEvent?(a=r.clientX,d=r.clientY):(a=r.touches[0].clientX,d=r.touches[0].clientY),r.preventDefault(),this.fire("drag",{deltaX:Math.round(a-this._lastDraggingCoordinates.x),deltaY:Math.round(d-this._lastDraggingCoordinates.y)}),this._lastDraggingCoordinates={x:a,y:d}}_onDragEnd(){this._detachDragListeners(),this.isDragging=!1}_isHandleElementPressed(n){return!!this.dragHandleElement&&(this.dragHandleElement===n.target||n.target instanceof HTMLElement&&this.dragHandleElement.contains(n.target))}}}(on)){constructor(c,{getCurrentDomRoot:n,getViewportOffset:r}){super(c),this.wasMoved=!1;const a=this.bindTemplate,d=c.t;this.set("className",""),this.set("ariaLabel",d("Editor dialog")),this.set("isModal",!1),this.set("position",Bg),this.set("_isVisible",!1),this.set("_isTransparent",!1),this.set("_top",0),this.set("_left",0),this._getCurrentDomRoot=n,this._getViewportOffset=r,this.decorate("moveTo"),this.parts=this.createCollection(),this.keystrokes=new br,this.focusTracker=new vo,this._focusables=new Qs,this._focusCycler=new $r({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-dialog-overlay",a.if("isModal","ck-dialog-overlay__transparent",u=>!u),a.if("_isVisible","ck-hidden",u=>!u)],tabindex:"-1"},children:[{tag:"div",attributes:{tabindex:"-1",class:["ck","ck-dialog",a.to("className")],role:"dialog","aria-label":a.to("ariaLabel"),style:{top:a.to("_top",u=>SE(u)),left:a.to("_left",u=>SE(u)),visibility:a.if("_isTransparent","hidden")}},children:this.parts}]})}render(){super.render(),this.keystrokes.set("Esc",(c,n)=>{this.fire("close",{source:"escKeyPress"}),n()}),this.on("drag",(c,{deltaX:n,deltaY:r})=>{this.wasMoved=!0,this.moveBy(n,r)}),this.listenTo(Vt.window,"resize",()=>{this._isVisible&&!this.wasMoved&&this.updatePosition()}),this.listenTo(Vt.document,"scroll",()=>{this._isVisible&&!this.wasMoved&&this.updatePosition()}),this.on("change:_isVisible",(c,n,r)=>{r&&(this._isTransparent=!0,setTimeout(()=>{this.updatePosition(),this._isTransparent=!1,this.focus()},10))}),this.keystrokes.listenTo(this.element)}get dragHandleElement(){return this.headerView?this.headerView.element:null}setupParts({icon:c,title:n,hasCloseButton:r=!0,content:a,actionButtons:d}){n&&(this.headerView=new Vv(this.locale,{icon:c}),r&&(this.closeButtonView=this._createCloseButton(),this.headerView.children.add(this.closeButtonView)),this.headerView.label=n,this.ariaLabel=n,this.parts.add(this.headerView,0)),a&&(a instanceof on&&(a=[a]),this.contentView=new LC(this.locale),this.contentView.children.addMany(a),this.parts.add(this.contentView)),d&&(this.actionsView=new EE(this.locale),this.actionsView.setButtons(d),this.parts.add(this.actionsView)),this._updateFocusCyclableItems()}focus(){this._focusCycler.focusFirst()}moveTo(c,n){const r=this._getViewportRect(),a=this._getDialogRect();c+a.width>r.right&&(c=r.right-a.width),c<r.left&&(c=r.left),n<r.top&&(n=r.top),this._moveTo(c,n)}_moveTo(c,n){this._left=c,this._top=n}moveBy(c,n){this.moveTo(this._left+c,this._top+n)}_moveOffScreen(){this._moveTo(-9999,-9999)}updatePosition(){if(!this.element||!this.element.parentNode)return;const c=this._getViewportRect();let n,r=this.position;this._getCurrentDomRoot()?n=this._getVisibleDomRootRect(c):r=Bg;const a=jg.defaultOffset,d=this._getDialogRect();switch(r){case"editor-top-side":n?this.moveTo("ltr"===this.locale.contentLanguageDirection?n.right-d.width-a:n.left+a,n.top+a):this._moveOffScreen();break;case NC:n?this.moveTo(Math.round(n.left+n.width/2-d.width/2),Math.round(n.top+n.height/2-d.height/2)):this._moveOffScreen();break;case Bg:this.moveTo(Math.round((c.width-d.width)/2),Math.round((c.height-d.height)/2));break;case"editor-top-center":n?this.moveTo(Math.round(n.left+n.width/2-d.width/2),n.top+a):this._moveOffScreen();break;case"editor-bottom-center":n?this.moveTo(Math.round(n.left+n.width/2-d.width/2),n.bottom-d.height-a):this._moveOffScreen();break;case"editor-above-center":n?this.moveTo(Math.round(n.left+n.width/2-d.width/2),n.top-d.height-a):this._moveOffScreen();break;case"editor-below-center":n?this.moveTo(Math.round(n.left+n.width/2-d.width/2),n.bottom+a):this._moveOffScreen()}}_getVisibleDomRootRect(c){let n=new Xe(this._getCurrentDomRoot()).getVisible();return n?(n=c.getIntersection(n),n||null):null}_getDialogRect(){return new Xe(this.element.firstElementChild)}_getViewportRect(){return function(c){c=Object.assign({top:0,bottom:0,left:0,right:0},c);const n=new Xe(Vt.window);return n.top+=c.top,n.height-=c.top,n.bottom-=c.bottom,n.height-=c.bottom,n.left+=c.left,n.right-=c.right,n.width-=c.left+c.right,n}(this._getViewportOffset())}_updateFocusCyclableItems(){const c=[];if(this.contentView)for(const n of this.contentView.children)Mg(n)&&c.push(n);this.actionsView&&c.push(this.actionsView),this.closeButtonView&&c.push(this.closeButtonView),c.forEach(n=>{var r;this._focusables.add(n),this.focusTracker.add(n.element),Mg(r=n)&&"focusCycler"in r&&r.focusCycler instanceof $r&&(this.listenTo(n.focusCycler,"forwardCycle",a=>{this._focusCycler.focusNext(),this._focusCycler.next!==this._focusCycler.focusables.get(this._focusCycler.current)&&a.stop()}),this.listenTo(n.focusCycler,"backwardCycle",a=>{this._focusCycler.focusPrevious(),this._focusCycler.previous!==this._focusCycler.focusables.get(this._focusCycler.current)&&a.stop()}))})}_createCloseButton(){const c=new Qn(this.locale);return c.set({label:(0,this.locale.t)("Close"),tooltip:!0,icon:bn.cancel}),c.on("execute",()=>this.fire("close",{source:"closeButton"})),c}};let Cr=jg;Cr.defaultOffset=15;class Js extends dt{constructor(n){super(n);const r=n.t;this._initShowHideListeners(),this._initFocusToggler(),this._initMultiRootIntegration(),this.set("id",null),n.accessibility.addKeystrokeInfos({categoryId:"navigation",keystrokes:[{label:r("Move focus in and out of an active dialog window"),keystroke:"Ctrl+F6",mayRequireFn:!0}]})}static get pluginName(){return"Dialog"}_initShowHideListeners(){this.on("show",(n,r)=>{this._show(r)}),this.on("show",(n,r)=>{r.onShow&&r.onShow(this)},{priority:"low"}),this.on("hide",()=>{Js._visibleDialogPlugin&&Js._visibleDialogPlugin._hide()}),this.on("hide",()=>{this._onHide&&(this._onHide(this),this._onHide=void 0)},{priority:"low"})}_initFocusToggler(){const n=this.editor;n.keystrokes.set("Ctrl+F6",(r,a)=>{this.isOpen&&!this.view.isModal&&(this.view.focusTracker.isFocused?n.editing.view.focus():this.view.focus(),a())})}_initMultiRootIntegration(){const n=this.editor.model;n.document.on("change:data",()=>{if(!this.view)return;const r=n.document.differ.getChangedRoots();for(const a of r)a.state&&this.view.updatePosition()})}show(n){this.hide(),this.fire(`show:${n.id}`,n)}_show({id:n,icon:r,title:a,hasCloseButton:d=!0,content:u,actionButtons:p,className:f,isModal:g,position:b,onHide:k}){const S=this.editor;this.view=new Cr(S.locale,{getCurrentDomRoot:()=>S.editing.view.getDomRoot(S.model.document.selection.anchor.root.rootName),getViewportOffset:()=>S.ui.viewportOffset});const B=this.view;B.on("close",()=>{this.hide()}),S.ui.view.body.add(B),S.ui.focusTracker.add(B.element),S.keystrokes.listenTo(B.element),b||(b=g?Bg:NC),B.set({position:b,_isVisible:!0,className:f,isModal:g}),B.setupParts({icon:r,title:a,hasCloseButton:d,content:u,actionButtons:p}),this.id=n,k&&(this._onHide=k),this.isOpen=!0,Js._visibleDialogPlugin=this}hide(){Js._visibleDialogPlugin&&Js._visibleDialogPlugin.fire(`hide:${Js._visibleDialogPlugin.id}`)}_hide(){if(!this.view)return;const n=this.editor,r=this.view;r.contentView&&r.contentView.reset(),n.ui.view.body.remove(r),n.ui.focusTracker.remove(r.element),n.keystrokes.stopListening(r.element),r.destroy(),n.editing.view.focus(),this.id=null,this.isOpen=!1,Js._visibleDialogPlugin=null}}var jC=L(3710);yt()(jC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var IE=Object.defineProperty,zg=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,zC=Object.prototype.propertyIsEnumerable,VC=(c,n,r)=>n in c?IE(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,Jn=(c,n)=>{for(var r in n||(n={}))Qe.call(n,r)&&VC(c,r,n[r]);if(zg)for(var r of zg(n))zC.call(n,r)&&VC(c,r,n[r]);return c};const yn=Ds("px"),HC=Vt.document.body,Yv={top:-99999,left:-99999,name:"arrowless",config:{withArrow:!1}},Uv=class extends on{constructor(c){super(c);const n=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("position","arrow_nw"),this.set("isVisible",!1),this.set("withArrow",!0),this.set("class",void 0),this._pinWhenIsVisibleCallback=null,this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-panel",n.to("position",r=>`ck-balloon-panel_${r}`),n.if("isVisible","ck-balloon-panel_visible"),n.if("withArrow","ck-balloon-panel_with-arrow"),n.to("class")],style:{top:n.to("top",yn),left:n.to("left",yn)}},children:this.content})}show(){this.isVisible=!0}hide(){this.isVisible=!1}attachTo(c){this.show();const n=Uv.defaultPositions,r=Object.assign({},{element:this.element,positions:[n.southArrowNorth,n.southArrowNorthMiddleWest,n.southArrowNorthMiddleEast,n.southArrowNorthWest,n.southArrowNorthEast,n.northArrowSouth,n.northArrowSouthMiddleWest,n.northArrowSouthMiddleEast,n.northArrowSouthWest,n.northArrowSouthEast,n.viewportStickyNorth],limiter:HC,fitInViewport:!0},c),a=Uv._getOptimalPosition(r)||Yv,d=parseInt(a.left),u=parseInt(a.top),p=a.name,f=a.config||{},{withArrow:g=!0}=f;this.top=u,this.left=d,this.position=p,this.withArrow=g}pin(c){this.unpin(),this._pinWhenIsVisibleCallback=()=>{this.isVisible?this._startPinning(c):this._stopPinning()},this._startPinning(c),this.listenTo(this,"change:isVisible",this._pinWhenIsVisibleCallback)}unpin(){this._pinWhenIsVisibleCallback&&(this._stopPinning(),this.stopListening(this,"change:isVisible",this._pinWhenIsVisibleCallback),this._pinWhenIsVisibleCallback=null,this.hide())}_startPinning(c){this.attachTo(c);const n=wp(c.target),r=c.limiter?wp(c.limiter):HC;this.listenTo(Vt.document,"scroll",(a,d)=>{const u=d.target,p=n&&u.contains(n),f=r&&u.contains(r);!p&&!f&&n&&r||this.attachTo(c)},{useCapture:!0}),this.listenTo(Vt.window,"resize",()=>{this.attachTo(c)})}_stopPinning(){this.stopListening(Vt.document,"scroll"),this.stopListening(Vt.window,"resize")}};let qr=Uv;function wp(c){return nl(c)?c:Wt(c)?c.commonAncestorContainer:"function"==typeof c?wp(c()):null}function Wv(c={}){const{sideOffset:n=qr.arrowSideOffset,heightOffset:r=qr.arrowHeightOffset,stickyVerticalOffset:a=qr.stickyVerticalOffset,config:d}=c;return{northWestArrowSouthWest:(f,g)=>Jn({top:u(f,g),left:f.left-n,name:"arrow_sw"},d&&{config:d}),northWestArrowSouthMiddleWest:(f,g)=>Jn({top:u(f,g),left:f.left-.25*g.width-n,name:"arrow_smw"},d&&{config:d}),northWestArrowSouth:(f,g)=>Jn({top:u(f,g),left:f.left-g.width/2,name:"arrow_s"},d&&{config:d}),northWestArrowSouthMiddleEast:(f,g)=>Jn({top:u(f,g),left:f.left-.75*g.width+n,name:"arrow_sme"},d&&{config:d}),northWestArrowSouthEast:(f,g)=>Jn({top:u(f,g),left:f.left-g.width+n,name:"arrow_se"},d&&{config:d}),northArrowSouthWest:(f,g)=>Jn({top:u(f,g),left:f.left+f.width/2-n,name:"arrow_sw"},d&&{config:d}),northArrowSouthMiddleWest:(f,g)=>Jn({top:u(f,g),left:f.left+f.width/2-.25*g.width-n,name:"arrow_smw"},d&&{config:d}),northArrowSouth:(f,g)=>Jn({top:u(f,g),left:f.left+f.width/2-g.width/2,name:"arrow_s"},d&&{config:d}),northArrowSouthMiddleEast:(f,g)=>Jn({top:u(f,g),left:f.left+f.width/2-.75*g.width+n,name:"arrow_sme"},d&&{config:d}),northArrowSouthEast:(f,g)=>Jn({top:u(f,g),left:f.left+f.width/2-g.width+n,name:"arrow_se"},d&&{config:d}),northEastArrowSouthWest:(f,g)=>Jn({top:u(f,g),left:f.right-n,name:"arrow_sw"},d&&{config:d}),northEastArrowSouthMiddleWest:(f,g)=>Jn({top:u(f,g),left:f.right-.25*g.width-n,name:"arrow_smw"},d&&{config:d}),northEastArrowSouth:(f,g)=>Jn({top:u(f,g),left:f.right-g.width/2,name:"arrow_s"},d&&{config:d}),northEastArrowSouthMiddleEast:(f,g)=>Jn({top:u(f,g),left:f.right-.75*g.width+n,name:"arrow_sme"},d&&{config:d}),northEastArrowSouthEast:(f,g)=>Jn({top:u(f,g),left:f.right-g.width+n,name:"arrow_se"},d&&{config:d}),southWestArrowNorthWest:f=>Jn({top:p(f),left:f.left-n,name:"arrow_nw"},d&&{config:d}),southWestArrowNorthMiddleWest:(f,g)=>Jn({top:p(f),left:f.left-.25*g.width-n,name:"arrow_nmw"},d&&{config:d}),southWestArrowNorth:(f,g)=>Jn({top:p(f),left:f.left-g.width/2,name:"arrow_n"},d&&{config:d}),southWestArrowNorthMiddleEast:(f,g)=>Jn({top:p(f),left:f.left-.75*g.width+n,name:"arrow_nme"},d&&{config:d}),southWestArrowNorthEast:(f,g)=>Jn({top:p(f),left:f.left-g.width+n,name:"arrow_ne"},d&&{config:d}),southArrowNorthWest:f=>Jn({top:p(f),left:f.left+f.width/2-n,name:"arrow_nw"},d&&{config:d}),southArrowNorthMiddleWest:(f,g)=>Jn({top:p(f),left:f.left+f.width/2-.25*g.width-n,name:"arrow_nmw"},d&&{config:d}),southArrowNorth:(f,g)=>Jn({top:p(f),left:f.left+f.width/2-g.width/2,name:"arrow_n"},d&&{config:d}),southArrowNorthMiddleEast:(f,g)=>Jn({top:p(f),left:f.left+f.width/2-.75*g.width+n,name:"arrow_nme"},d&&{config:d}),southArrowNorthEast:(f,g)=>Jn({top:p(f),left:f.left+f.width/2-g.width+n,name:"arrow_ne"},d&&{config:d}),southEastArrowNorthWest:f=>Jn({top:p(f),left:f.right-n,name:"arrow_nw"},d&&{config:d}),southEastArrowNorthMiddleWest:(f,g)=>Jn({top:p(f),left:f.right-.25*g.width-n,name:"arrow_nmw"},d&&{config:d}),southEastArrowNorth:(f,g)=>Jn({top:p(f),left:f.right-g.width/2,name:"arrow_n"},d&&{config:d}),southEastArrowNorthMiddleEast:(f,g)=>Jn({top:p(f),left:f.right-.75*g.width+n,name:"arrow_nme"},d&&{config:d}),southEastArrowNorthEast:(f,g)=>Jn({top:p(f),left:f.right-g.width+n,name:"arrow_ne"},d&&{config:d}),westArrowEast:(f,g)=>Jn({top:f.top+f.height/2-g.height/2,left:f.left-g.width-r,name:"arrow_e"},d&&{config:d}),eastArrowWest:(f,g)=>Jn({top:f.top+f.height/2-g.height/2,left:f.right+r,name:"arrow_w"},d&&{config:d}),viewportStickyNorth:(f,g,b,k)=>{const S=k||b;return f.getIntersection(S)?S.height-f.height>a?null:{top:S.top+a,left:f.left+f.width/2-g.width/2,name:"arrowless",config:Jn({withArrow:!1},d)}:null}};function u(f,g){return f.top-g.height-r}function p(f){return f.bottom+r}}qr.arrowSideOffset=25,qr.arrowHeightOffset=10,qr.stickyVerticalOffset=20,qr._getOptimalPosition=un,qr.defaultPositions=Wv();var $v=L(9205);yt()($v.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const qv="ck-tooltip",Ar=class extends(Rr()){constructor(c){if(super(),this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver=null,this._mutationObserver=null,Ar._editors.add(c),Ar._instance)return Ar._instance;Ar._instance=this,this.tooltipTextView=new on(c.locale),this.tooltipTextView.set("text",""),this.tooltipTextView.setTemplate({tag:"span",attributes:{class:["ck","ck-tooltip__text"]},children:[{text:this.tooltipTextView.bindTemplate.to("text")}]}),this.balloonPanelView=new qr(c.locale),this.balloonPanelView.class=qv,this.balloonPanelView.content.add(this.tooltipTextView),this._mutationObserver=function(n){const r=new MutationObserver(()=>{n()});return{attach(a){r.observe(a,{attributes:!0,attributeFilter:["data-cke-tooltip-text","data-cke-tooltip-position"]})},detach(){r.disconnect()}}}(()=>{this._updateTooltipPosition()}),this._pinTooltipDebounced=$h(this._pinTooltip,600),this.listenTo(Vt.document,"mouseenter",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Vt.document,"mouseleave",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Vt.document,"focus",this._onEnterOrFocus.bind(this),{useCapture:!0}),this.listenTo(Vt.document,"blur",this._onLeaveOrBlur.bind(this),{useCapture:!0}),this.listenTo(Vt.document,"scroll",this._onScroll.bind(this),{useCapture:!0}),this._watchdogExcluded=!0}destroy(c){const n=c.ui.view&&c.ui.view.body;Ar._editors.delete(c),this.stopListening(c.ui),n&&n.has(this.balloonPanelView)&&n.remove(this.balloonPanelView),Ar._editors.size||(this._unpinTooltip(),this.balloonPanelView.destroy(),this.stopListening(),Ar._instance=null)}static getPositioningFunctions(c){const n=Ar.defaultBalloonPositions;return{s:[n.southArrowNorth,n.southArrowNorthEast,n.southArrowNorthWest],n:[n.northArrowSouth],e:[n.eastArrowWest],w:[n.westArrowEast],sw:[n.southArrowNorthEast],se:[n.southArrowNorthWest]}[c]}_onEnterOrFocus(c,{target:n}){const r=Gv(n);r&&r!==this._currentElementWithTooltip&&(this._unpinTooltip(),this._pinTooltipDebounced(r,Kv(r)))}_onLeaveOrBlur(c,{target:n,relatedTarget:r}){if("mouseleave"===c.name){if(!nl(n)||this._currentElementWithTooltip&&n!==this._currentElementWithTooltip)return;const a=Gv(n),d=Gv(r);a&&a!==d&&this._unpinTooltip()}else{if(this._currentElementWithTooltip&&n!==this._currentElementWithTooltip)return;this._unpinTooltip()}}_onScroll(c,{target:n}){this._currentElementWithTooltip&&(n.contains(this.balloonPanelView.element)&&n.contains(this._currentElementWithTooltip)||this._unpinTooltip())}_pinTooltip(c,{text:n,position:r,cssClass:a}){const d=bo(Ar._editors.values()).ui.view.body;d.has(this.balloonPanelView)||d.add(this.balloonPanelView),this.tooltipTextView.text=n,this.balloonPanelView.pin({target:c,positions:Ar.getPositioningFunctions(r)}),this._resizeObserver=new fo(c,()=>{oi(c)||this._unpinTooltip()}),this._mutationObserver.attach(c),this.balloonPanelView.class=[qv,a].filter(u=>u).join(" ");for(const u of Ar._editors)this.listenTo(u.ui,"update",this._updateTooltipPosition.bind(this),{priority:"low"});this._currentElementWithTooltip=c,this._currentTooltipPosition=r}_unpinTooltip(){this._pinTooltipDebounced.cancel(),this.balloonPanelView.unpin();for(const c of Ar._editors)this.stopListening(c.ui,"update");this._currentElementWithTooltip=null,this._currentTooltipPosition=null,this._resizeObserver&&this._resizeObserver.destroy(),this._mutationObserver.detach()}_updateTooltipPosition(){const c=Kv(this._currentElementWithTooltip);oi(this._currentElementWithTooltip)&&c.text?this.balloonPanelView.pin({target:this._currentElementWithTooltip,positions:Ar.getPositioningFunctions(c.position)}):this._unpinTooltip()}};let Vg=Ar;function Gv(c){return nl(c)?c.closest("[data-cke-tooltip-text]:not([data-cke-tooltip-disabled])"):null}function Kv(c){return{text:c.dataset.ckeTooltipText,position:c.dataset.ckeTooltipPosition||"s",cssClass:c.dataset.ckeTooltipClass||""}}Vg.defaultBalloonPositions=Wv({heightOffset:5,sideOffset:13}),Vg._editors=new Set,Vg._instance=null;const Cp=function(c,n,r){var a=!0,d=!0;if("function"!=typeof c)throw new TypeError("Expected a function");return Je(r)&&(a="leading"in r?!!r.leading:a,d="trailing"in r?!!r.trailing:d),$h(c,n,{leading:a,maxWait:n,trailing:d})};var Au=Object.defineProperty,Pa=Object.getOwnPropertySymbols,Mu=Object.prototype.hasOwnProperty,OE=Object.prototype.propertyIsEnumerable,YC=(c,n,r)=>n in c?Au(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;class Hg extends(Rr()){constructor(n){super(),this.editor=n,this._balloonView=null,this._lastFocusedEditableElement=null,this._showBalloonThrottled=Cp(this._showBalloon.bind(this),50,{leading:!0}),n.on("ready",this._handleEditorReady.bind(this))}destroy(){const n=this._balloonView;n&&(n.unpin(),this._balloonView=null),this._showBalloonThrottled.cancel(),this.stopListening()}_handleEditorReady(){const n=this.editor;(n.config.get("ui.poweredBy.forceVisible")||"VALID"!==function(r){function a(U){return U.length>=40&&U.length<=255?"VALID":"INVALID"}if(!r)return"INVALID";let d="";try{d=atob(r)}catch{return"INVALID"}const u=d.split("-"),p=u[0],f=u[1];if(!f)return a(r);try{atob(f)}catch{try{if(atob(p),!atob(p).length)return a(r)}catch{return a(r)}}if(p.length<40||p.length>255)return"INVALID";let g="";try{atob(p),g=atob(f)}catch{return"INVALID"}if(8!==g.length)return"INVALID";const b=Number(g.substring(0,4)),k=Number(g.substring(4,6))-1,S=Number(g.substring(6,8)),B=new Date(b,k,S);return B<Be||isNaN(Number(B))?"INVALID":"VALID"}(n.config.get("licenseKey")))&&n.ui.view&&(n.ui.focusTracker.on("change:isFocused",(r,a,d)=>{this._updateLastFocusedEditableElement(),d?this._showBalloon():this._hideBalloon()}),n.ui.focusTracker.on("change:focusedElement",(r,a,d)=>{this._updateLastFocusedEditableElement(),d&&this._showBalloon()}),n.ui.on("update",()=>{this._showBalloonThrottled()}))}_createBalloonView(){const n=this.editor,r=this._balloonView=new qr,a=qC(n),d=new $C(n.locale,a.label);r.content.add(d),r.set({class:"ck-powered-by-balloon"}),n.ui.view.body.add(r),n.ui.focusTracker.add(r.element),this._balloonView=r}_showBalloon(){if(!this._lastFocusedEditableElement)return;const n=function(r,a){const d=qC(r);var f;return{target:a,positions:["right"===d.side?Qv(a,f=d,(g,b)=>g.left+g.width-b.width-f.horizontalOffset):function(p,f){return Qv(p,f,g=>g.left+f.horizontalOffset)}(a,d)]}}(this.editor,this._lastFocusedEditableElement);n&&(this._balloonView||this._createBalloonView(),this._balloonView.pin(n))}_hideBalloon(){this._balloonView&&this._balloonView.unpin()}_updateLastFocusedEditableElement(){const n=this.editor,a=n.ui.focusTracker.focusedElement;if(!n.ui.focusTracker.isFocused||!a)return void(this._lastFocusedEditableElement=null);const d=Array.from(n.ui.getEditableElementsNames()).map(u=>n.ui.getEditableElement(u));this._lastFocusedEditableElement=d.includes(a)?a:d[0]}}class $C extends on{constructor(n,r){super(n);const a=new rd,d=this.bindTemplate;a.set({content:'<svg xmlns="http://www.w3.org/2000/svg" width="53" height="10" viewBox="0 0 53 10"><path fill="#1C2331" d="M31.724 1.492a15.139 15.139 0 0 0 .045 1.16 2.434 2.434 0 0 0-.687-.34 3.68 3.68 0 0 0-1.103-.166 2.332 2.332 0 0 0-1.14.255 1.549 1.549 0 0 0-.686.87c-.15.41-.225.98-.225 1.712 0 .939.148 1.659.444 2.161.297.503.792.754 1.487.754.452.015.9-.094 1.294-.316.296-.174.557-.4.771-.669l.14.852h1.282V.007h-1.623v1.485ZM31 6.496a1.77 1.77 0 0 1-.494.061.964.964 0 0 1-.521-.127.758.758 0 0 1-.296-.466 3.984 3.984 0 0 1-.093-.992 4.208 4.208 0 0 1 .098-1.052.753.753 0 0 1 .307-.477 1.08 1.08 0 0 1 .55-.122c.233-.004.466.026.69.089l.483.144v2.553c-.11.076-.213.143-.307.2a1.73 1.73 0 0 1-.417.189ZM35.68 0l-.702.004c-.322.002-.482.168-.48.497l.004.581c.002.33.164.493.486.49l.702-.004c.322-.002.481-.167.48-.496L36.165.49c-.002-.33-.164-.493-.486-.491ZM36.145 2.313l-1.612.01.034 5.482 1.613-.01-.035-5.482ZM39.623.79 37.989.8 38 2.306l-.946.056.006 1.009.949-.006.024 2.983c.003.476.143.844.419 1.106.275.26.658.39 1.148.387.132 0 .293-.01.483-.03.19-.02.38-.046.57-.08.163-.028.324-.068.482-.119l-.183-1.095-.702.004a.664.664 0 0 1-.456-.123.553.553 0 0 1-.14-.422l-.016-2.621 1.513-.01-.006-1.064-1.514.01-.01-1.503ZM46.226 2.388c-.41-.184-.956-.274-1.636-.27-.673.004-1.215.101-1.627.29-.402.179-.72.505-.888.91-.18.419-.268.979-.264 1.68.004.688.1 1.24.285 1.655.172.404.495.724.9.894.414.18.957.268 1.63.264.68-.004 1.224-.099 1.632-.284.4-.176.714-.501.878-.905.176-.418.263-.971.258-1.658-.004-.702-.097-1.261-.28-1.677a1.696 1.696 0 0 0-.888-.9Zm-.613 3.607a.77.77 0 0 1-.337.501 1.649 1.649 0 0 1-1.317.009.776.776 0 0 1-.343-.497 4.066 4.066 0 0 1-.105-1.02 4.136 4.136 0 0 1 .092-1.03.786.786 0 0 1 .337-.507 1.59 1.59 0 0 1 1.316-.008.79.79 0 0 1 .344.502c.078.337.113.683.105 1.03.012.343-.019.685-.092 1.02ZM52.114 2.07a2.67 2.67 0 0 0-1.128.278c-.39.191-.752.437-1.072.73l-.157-.846-1.273.008.036 5.572 1.623-.01-.024-3.78c.35-.124.646-.22.887-.286.26-.075.53-.114.8-.118l.45-.003.144-1.546-.286.001ZM22.083 7.426l-1.576-2.532a2.137 2.137 0 0 0-.172-.253 1.95 1.95 0 0 0-.304-.29.138.138 0 0 1 .042-.04 1.7 1.7 0 0 0 .328-.374l1.75-2.71c.01-.015.025-.028.024-.048-.01-.01-.021-.007-.031-.007L20.49 1.17a.078.078 0 0 0-.075.045l-.868 1.384c-.23.366-.46.732-.688 1.099a.108.108 0 0 1-.112.06c-.098-.005-.196-.001-.294-.002-.018 0-.038.006-.055-.007.002-.02.002-.039.005-.058a4.6 4.6 0 0 0 .046-.701V1.203c0-.02-.009-.032-.03-.03h-.033L16.93 1.17c-.084 0-.073-.01-.073.076v6.491c-.001.018.006.028.025.027h1.494c.083 0 .072.007.072-.071v-2.19c0-.055-.003-.11-.004-.166a3.366 3.366 0 0 0-.05-.417h.06c.104 0 .209.002.313-.002a.082.082 0 0 1 .084.05c.535.913 1.07 1.824 1.607 2.736a.104.104 0 0 0 .103.062c.554-.003 1.107-.002 1.66-.002l.069-.003-.019-.032-.188-.304ZM27.112 6.555c-.005-.08-.004-.08-.082-.08h-2.414c-.053 0-.106-.003-.159-.011a.279.279 0 0 1-.246-.209.558.558 0 0 1-.022-.15c0-.382 0-.762-.002-1.143 0-.032.007-.049.042-.044h2.504c.029.003.037-.012.034-.038V3.814c0-.089.013-.078-.076-.078h-2.44c-.07 0-.062.003-.062-.06v-.837c0-.047.004-.093.013-.14a.283.283 0 0 1 .241-.246.717.717 0 0 1 .146-.011h2.484c.024.002.035-.009.036-.033l.003-.038.03-.496c.01-.183.024-.365.034-.548.005-.085.003-.087-.082-.094-.218-.018-.437-.038-.655-.05a17.845 17.845 0 0 0-.657-.026 72.994 72.994 0 0 0-1.756-.016 1.7 1.7 0 0 0-.471.064 1.286 1.286 0 0 0-.817.655c-.099.196-.149.413-.145.633v3.875c0 .072.003.144.011.216a1.27 1.27 0 0 0 .711 1.029c.228.113.48.167.734.158.757-.005 1.515.002 2.272-.042.274-.016.548-.034.82-.053.03-.002.043-.008.04-.041-.008-.104-.012-.208-.019-.312a69.964 69.964 0 0 1-.05-.768ZM16.14 7.415l-.127-1.075c-.004-.03-.014-.04-.044-.037a13.125 13.125 0 0 1-.998.073c-.336.01-.672.02-1.008.016-.116-.001-.233-.014-.347-.039a.746.746 0 0 1-.45-.262c-.075-.1-.132-.211-.167-.33a3.324 3.324 0 0 1-.126-.773 9.113 9.113 0 0 1-.015-.749c0-.285.022-.57.065-.852.023-.158.066-.312.127-.46a.728.728 0 0 1 .518-.443 1.64 1.64 0 0 1 .397-.048c.628-.001 1.255.003 1.882.05.022.001.033-.006.036-.026l.003-.031.06-.55c.019-.177.036-.355.057-.532.004-.034-.005-.046-.04-.056a5.595 5.595 0 0 0-1.213-.21 10.783 10.783 0 0 0-.708-.02c-.24-.003-.48.01-.719.041a3.477 3.477 0 0 0-.625.14 1.912 1.912 0 0 0-.807.497c-.185.2-.33.433-.424.688a4.311 4.311 0 0 0-.24 1.096c-.031.286-.045.572-.042.86-.006.43.024.86.091 1.286.04.25.104.497.193.734.098.279.26.53.473.734.214.205.473.358.756.446.344.11.702.17 1.063.177a8.505 8.505 0 0 0 1.578-.083 6.11 6.11 0 0 0 .766-.18c.03-.008.047-.023.037-.057a.157.157 0 0 1-.003-.025Z"/><path fill="#AFE229" d="M6.016 6.69a1.592 1.592 0 0 0-.614.21c-.23.132-.422.32-.56.546-.044.072-.287.539-.287.539l-.836 1.528.009.006c.038.025.08.046.123.063.127.046.26.07.395.073.505.023 1.011-.007 1.517-.003.29.009.58.002.869-.022a.886.886 0 0 0 .395-.116.962.962 0 0 0 .312-.286c.056-.083.114-.163.164-.249.24-.408.48-.816.718-1.226.075-.128.148-.257.222-.386l.112-.192a1.07 1.07 0 0 0 .153-.518l-1.304.023s-1.258-.005-1.388.01Z"/><path fill="#771BFF" d="m2.848 9.044.76-1.39.184-.352c-.124-.067-.245-.14-.367-.21-.346-.204-.706-.384-1.045-.6a.984.984 0 0 1-.244-.207c-.108-.134-.136-.294-.144-.46-.021-.409-.002-.818-.009-1.227-.003-.195 0-.39.003-.585.004-.322.153-.553.427-.713l.833-.488c.22-.13.44-.257.662-.385.05-.029.105-.052.158-.077.272-.128.519-.047.76.085l.044.028c.123.06.242.125.358.196.318.178.635.357.952.537.095.056.187.117.275.184.194.144.254.35.266.578.016.284.007.569.006.853-.001.28.004.558 0 .838.592-.003 1.259 0 1.259 0l.723-.013c-.003-.292-.007-.584-.007-.876 0-.524.015-1.048-.016-1.571-.024-.42-.135-.8-.492-1.067a5.02 5.02 0 0 0-.506-.339A400.52 400.52 0 0 0 5.94.787C5.722.664 5.513.524 5.282.423 5.255.406 5.228.388 5.2.373 4.758.126 4.305-.026 3.807.21c-.097.046-.197.087-.29.14A699.896 699.896 0 0 0 .783 1.948c-.501.294-.773.717-.778 1.31-.004.36-.009.718-.001 1.077.016.754-.017 1.508.024 2.261.016.304.07.6.269.848.127.15.279.28.448.382.622.4 1.283.734 1.92 1.11l.183.109Z"/></svg>\n',isColorInherited:!1}),a.extendTemplate({attributes:{style:{width:"53px",height:"10px"}}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-powered-by"],"aria-hidden":!0},children:[{tag:"a",attributes:{href:"https://ckeditor.com/?utm_source=ckeditor&utm_medium=referral&utm_campaign=701Dn000000hVgmIAE_powered_by_ckeditor_logo",target:"_blank",tabindex:"-1"},children:[...r?[{tag:"span",attributes:{class:["ck","ck-powered-by__label"]},children:[r]}]:[],a],on:{dragstart:d.to(u=>u.preventDefault())}}]})}}function Qv(c,n,r){return(a,d)=>{const u=new Xe(c);if(u.width<350||u.height<50)return null;let p;p="inside"===n.position?u.bottom-d.height:u.bottom-d.height/2,p-=n.verticalOffset;const f=r(u,d),g=a.clone().moveTo(f,p).getIntersection(d.clone().moveTo(f,p)).getVisible();return!g||g.getArea()<d.getArea()?null:{top:p,left:f,name:`position_${n.position}-side_${n.side}`,config:{withArrow:!1}}}}function qC(c){const n=c.config.get("ui.poweredBy"),r=n&&n.position||"border";return((c,n)=>{for(var r in n||(n={}))Mu.call(n,r)&&YC(c,r,n[r]);if(Pa)for(var r of Pa(n))OE.call(n,r)&&YC(c,r,n[r]);return c})({position:r,label:"Powered by",verticalOffset:"inside"===r?5:0,horizontalOffset:5,side:"ltr"===c.locale.contentLanguageDirection?"right":"left"},n)}var GC=L(1801);yt()(GC.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ZC{constructor(n){this.editor=n}announce(n,r,a="polite"){const d=this.editor;this.view||(this.view=new _O(d.locale),d.ui.view.body.add(this.view));let u=this.view.regionViews.find(p=>p.regionName===n);u||(u=new NE(this.view.locale),this.view.regionViews.add(u)),u.set({regionName:n,text:r,politeness:a})}}class _O extends on{constructor(n){super(n),this.regionViews=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-aria-live-announcer"]},children:this.regionViews})}}class NE extends on{constructor(n){super(n);const r=this.bindTemplate;this.set("regionName",""),this.set("text",""),this.set("politeness","polite"),this.setTemplate({tag:"div",attributes:{role:"region","data-region":r.to("regionName"),"aria-live":r.to("politeness")},children:[{text:r.to("text")}]})}}var bO=Object.defineProperty,RE=Object.getOwnPropertySymbols,QC=Object.prototype.hasOwnProperty,JC=Object.prototype.propertyIsEnumerable,FE=(c,n,r)=>n in c?bO(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;class Yg extends(Xt()){constructor(n){super(),this.isReady=!1,this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[];const r=n.editing.view;this.editor=n,this.componentFactory=new ld(n),this.focusTracker=new vo,this.tooltipManager=new Vg(n),this.poweredBy=new Hg(n),this.ariaLiveAnnouncer=new ZC(n),this.set("viewportOffset",this._readViewportOffsetFromConfig()),this.once("ready",()=>{this.isReady=!0}),this.listenTo(r.document,"layoutChanged",this.update.bind(this)),this.listenTo(r,"scrollToTheSelection",this._handleScrollToTheSelection.bind(this)),this._initFocusTracking()}get element(){return null}update(){this.fire("update")}destroy(){this.stopListening(),this.focusTracker.destroy(),this.tooltipManager.destroy(this.editor),this.poweredBy.destroy();for(const n of this._editableElementsMap.values())n.ckeditorInstance=null,this.editor.keystrokes.stopListening(n);this._editableElementsMap=new Map,this._focusableToolbarDefinitions=[]}setEditableElement(n,r){this._editableElementsMap.set(n,r),r.ckeditorInstance||(r.ckeditorInstance=this.editor),this.focusTracker.add(r);const a=()=>{this.editor.editing.view.getDomRoot(n)||this.editor.keystrokes.listenTo(r)};this.isReady?a():this.once("ready",a)}removeEditableElement(n){const r=this._editableElementsMap.get(n);r&&(this._editableElementsMap.delete(n),this.editor.keystrokes.stopListening(r),this.focusTracker.remove(r),r.ckeditorInstance=null)}getEditableElement(n="main"){return this._editableElementsMap.get(n)}getEditableElementsNames(){return this._editableElementsMap.keys()}addToolbar(n,r={}){n.isRendered?(this.focusTracker.add(n.element),this.editor.keystrokes.listenTo(n.element)):n.once("render",()=>{this.focusTracker.add(n.element),this.editor.keystrokes.listenTo(n.element)}),this._focusableToolbarDefinitions.push({toolbarView:n,options:r})}get _editableElements(){return console.warn("editor-ui-deprecated-editable-elements: The EditorUI#_editableElements property has been deprecated and will be removed in the near future.",{editorUI:this}),this._editableElementsMap}_readViewportOffsetFromConfig(){const n=this.editor,r=n.config.get("ui.viewportOffset");if(r)return r;const a=n.config.get("toolbar.viewportTopOffset");return a?(console.warn("editor-ui-deprecated-viewport-offset-config: The `toolbar.vieportTopOffset` configuration option is deprecated. It will be removed from future CKEditor versions. Use `ui.viewportOffset.top` instead."),{top:a}):{top:0}}_initFocusTracking(){const n=this.editor,r=n.editing.view;let a,d;n.keystrokes.set("Alt+F10",(u,p)=>{const f=this.focusTracker.focusedElement;Array.from(this._editableElementsMap.values()).includes(f)&&!Array.from(r.domRoots.values()).includes(f)&&(a=f);const g=this._getCurrentFocusedToolbarDefinition();g&&d||(d=this._getFocusableCandidateToolbarDefinitions());for(let b=0;b<d.length;b++){const k=d.shift();if(d.push(k),k!==g&&this._focusFocusableCandidateToolbar(k)){g&&g.options.afterBlur&&g.options.afterBlur();break}}p()}),n.keystrokes.set("Esc",(u,p)=>{const f=this._getCurrentFocusedToolbarDefinition();f&&(a?(a.focus(),a=null):n.editing.view.focus(),f.options.afterBlur&&f.options.afterBlur(),p())})}_getFocusableCandidateToolbarDefinitions(){const n=[];for(const r of this._focusableToolbarDefinitions){const{toolbarView:a,options:d}=r;(oi(a.element)||d.beforeFocus)&&n.push(r)}return n.sort((r,a)=>Jv(r)-Jv(a)),n}_getCurrentFocusedToolbarDefinition(){for(const n of this._focusableToolbarDefinitions)if(n.toolbarView.element&&n.toolbarView.element.contains(this.focusTracker.focusedElement))return n;return null}_focusFocusableCandidateToolbar(n){const{toolbarView:r,options:{beforeFocus:a}}=n;return a&&a(),!!oi(r.element)&&(r.focus(),!0)}_handleScrollToTheSelection(n,r){const a=((d,u)=>{for(var p in u||(u={}))QC.call(u,p)&&FE(d,p,u[p]);if(RE)for(var p of RE(u))JC.call(u,p)&&FE(d,p,u[p]);return d})({top:0,bottom:0,left:0,right:0},this.viewportOffset);r.viewportOffset.top+=a.top,r.viewportOffset.bottom+=a.bottom,r.viewportOffset.left+=a.left,r.viewportOffset.right+=a.right}}function Jv(c){const{toolbarView:n,options:r}=c;let a=10;return oi(n.element)&&a--,r.isContextual&&a--,a}var Xv=L(1185);yt()(Xv.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class XC extends on{constructor(n){super(n),this.body=new _E(n)}render(){super.render(),this.body.attachToDom()}destroy(){return this.body.detachFromDom(),super.destroy()}}class eA extends XC{constructor(n){super(n),this.top=this.createCollection(),this.main=this.createCollection(),this._voiceLabelView=this._createVoiceLabel(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-reset","ck-editor","ck-rounded-corners"],role:"application",dir:n.uiLanguageDirection,lang:n.uiLanguage,"aria-labelledby":this._voiceLabelView.id},children:[this._voiceLabelView,{tag:"div",attributes:{class:["ck","ck-editor__top","ck-reset_all"],role:"presentation"},children:this.top},{tag:"div",attributes:{class:["ck","ck-editor__main"],role:"presentation"},children:this.main}]})}_createVoiceLabel(){const n=this.t,r=new mv;return r.text=n("Rich Text Editor"),r.extendTemplate({attributes:{class:"ck-voice-label"}}),r}}class kn extends on{constructor(n,r,a){super(n),this.name=null,this.setTemplate({tag:"div",attributes:{class:["ck","ck-content","ck-editor__editable","ck-rounded-corners"],lang:n.contentLanguage,dir:n.contentLanguageDirection}}),this.set("isFocused",!1),this._editableElement=a,this._hasExternalElement=!!this._editableElement,this._editingView=r}render(){super.render(),this._hasExternalElement?this.template.apply(this.element=this._editableElement):this._editableElement=this.element,this.on("change:isFocused",()=>this._updateIsFocusedClasses()),this._updateIsFocusedClasses()}destroy(){this._hasExternalElement&&this.template.revert(this._editableElement),super.destroy()}get hasExternalElement(){return this._hasExternalElement}_updateIsFocusedClasses(){const n=this._editingView;function r(a){n.change(d=>{const u=n.document.getRoot(a.name);d.addClass(a.isFocused?"ck-focused":"ck-blurred",u),d.removeClass(a.isFocused?"ck-blurred":"ck-focused",u)})}n.isRenderingInProgress?function a(d){n.once("change:isRenderingInProgress",(u,p,f)=>{f?a(d):r(d)})}(this):r(this)}}class G extends kn{constructor(n,r,a,d={}){super(n,r,a);const u=n.t;this.extendTemplate({attributes:{role:"textbox",class:"ck-editor__editable_inline"}}),this._generateLabel=d.label||(()=>u("Editor editing area: %0",this.name))}render(){super.render();const n=this._editingView;n.change(r=>{const a=n.document.getRoot(this.name);r.setAttribute("aria-label",this._generateLabel(this),a)})}}class Ug extends dl{static get pluginName(){return"Notification"}init(){this.on("show:warning",(n,r)=>{window.alert(r.message)},{priority:"lowest"})}showSuccess(n,r={}){this._showNotification({message:n,type:"success",namespace:r.namespace,title:r.title})}showInfo(n,r={}){this._showNotification({message:n,type:"info",namespace:r.namespace,title:r.title})}showWarning(n,r={}){this._showNotification({message:n,type:"warning",namespace:r.namespace,title:r.title})}_showNotification(n){this.fire(n.namespace?`show:${n.type}:${n.namespace}`:`show:${n.type}`,{message:n.message,type:n.type,title:n.title||""})}}class Ce extends(Xt()){constructor(n,r){super(),r&&pw(this,r),n&&this.set(n)}}var ey=L(991);yt()(ey.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var Mp=L(5380);yt()(Mp.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Tu=Ds("px");class Zl extends dt{constructor(n){super(n),this._viewToStack=new Map,this._idToStack=new Map,this._view=null,this._rotatorView=null,this._fakePanelsView=null,this.positionLimiter=()=>{const r=this.editor.editing.view,a=r.document.selection.editableElement;return a?r.domConverter.mapViewToDom(a.root):null},this.set("visibleView",null),this.set("_numberOfStacks",0),this.set("_singleViewMode",!1)}static get pluginName(){return"ContextualBalloon"}destroy(){super.destroy(),this._view&&this._view.destroy(),this._rotatorView&&this._rotatorView.destroy(),this._fakePanelsView&&this._fakePanelsView.destroy()}get view(){return this._view||this._createPanelView(),this._view}hasView(n){return Array.from(this._viewToStack.keys()).includes(n)}add(n){if(this._view||this._createPanelView(),this.hasView(n.view))throw new Y("contextualballoon-add-view-exist",[this,n]);const r=n.stackId||"main";if(!this._idToStack.has(r))return this._idToStack.set(r,new Map([[n.view,n]])),this._viewToStack.set(n.view,this._idToStack.get(r)),this._numberOfStacks=this._idToStack.size,void(this._visibleStack&&!n.singleViewMode||this.showStack(r));const a=this._idToStack.get(r);n.singleViewMode&&this.showStack(r),a.set(n.view,n),this._viewToStack.set(n.view,a),a===this._visibleStack&&this._showView(n)}remove(n){if(!this.hasView(n))throw new Y("contextualballoon-remove-view-not-exist",[this,n]);const r=this._viewToStack.get(n);this._singleViewMode&&this.visibleView===n&&(this._singleViewMode=!1),this.visibleView===n&&(1===r.size?this._idToStack.size>1?this._showNextStack():(this.view.hide(),this.visibleView=null,this._rotatorView.hideView()):this._showView(Array.from(r.values())[r.size-2])),1===r.size?(this._idToStack.delete(this._getStackId(r)),this._numberOfStacks=this._idToStack.size):r.delete(n),this._viewToStack.delete(n)}updatePosition(n){n&&(this._visibleStack.get(this.visibleView).position=n),this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition()}showStack(n){this.visibleStack=n;const r=this._idToStack.get(n);if(!r)throw new Y("contextualballoon-showstack-stack-not-exist",this);this._visibleStack!==r&&this._showView(Array.from(r.values()).pop())}_createPanelView(){this._view=new qr(this.editor.locale),this.editor.ui.view.body.add(this._view),this.editor.ui.focusTracker.add(this._view.element),this._rotatorView=this._createRotatorView(),this._fakePanelsView=this._createFakePanelsView()}get _visibleStack(){return this._viewToStack.get(this.visibleView)}_getStackId(n){return Array.from(this._idToStack.entries()).find(r=>r[1]===n)[0]}_showNextStack(){const n=Array.from(this._idToStack.values());let r=n.indexOf(this._visibleStack)+1;n[r]||(r=0),this.showStack(this._getStackId(n[r]))}_showPrevStack(){const n=Array.from(this._idToStack.values());let r=n.indexOf(this._visibleStack)-1;n[r]||(r=n.length-1),this.showStack(this._getStackId(n[r]))}_createRotatorView(){const n=new tA(this.editor.locale),r=this.editor.locale.t;return this.view.content.add(n),n.bind("isNavigationVisible").to(this,"_numberOfStacks",this,"_singleViewMode",(a,d)=>!d&&a>1),n.on("change:isNavigationVisible",()=>this.updatePosition(),{priority:"low"}),n.bind("counter").to(this,"visibleView",this,"_numberOfStacks",(a,d)=>{if(d<2)return"";const u=Array.from(this._idToStack.values()).indexOf(this._visibleStack)+1;return r("%0 of %1",[u,d])}),n.buttonNextView.on("execute",()=>{n.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showNextStack()}),n.buttonPrevView.on("execute",()=>{n.focusTracker.isFocused&&this.editor.editing.view.focus(),this._showPrevStack()}),n}_createFakePanelsView(){const n=new ty(this.editor.locale,this.view);return n.bind("numberOfPanels").to(this,"_numberOfStacks",this,"_singleViewMode",(r,a)=>!a&&r>=2?Math.min(r-1,2):0),n.listenTo(this.view,"change:top",()=>n.updatePosition()),n.listenTo(this.view,"change:left",()=>n.updatePosition()),this.editor.ui.view.body.add(n),n}_showView({view:n,balloonClassName:r="",withArrow:a=!0,singleViewMode:d=!1}){this.view.class=r,this.view.withArrow=a,this._rotatorView.showView(n),this.visibleView=n,this.view.pin(this._getBalloonPosition()),this._fakePanelsView.updatePosition(),d&&(this._singleViewMode=!0)}_getBalloonPosition(){let n=Array.from(this._visibleStack.values()).pop().position;return n&&(n.limiter||(n=Object.assign({},n,{limiter:this.positionLimiter})),n=Object.assign({},n,{viewportOffsetConfig:this.editor.ui.viewportOffset})),n}}class tA extends on{constructor(n){super(n);const r=n.t,a=this.bindTemplate;this.set("isNavigationVisible",!0),this.focusTracker=new vo,this.buttonPrevView=this._createButtonView(r("Previous"),bn.previousArrow),this.buttonNextView=this._createButtonView(r("Next"),bn.nextArrow),this.content=this.createCollection(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-balloon-rotator"],"z-index":"-1"},children:[{tag:"div",attributes:{class:["ck-balloon-rotator__navigation",a.to("isNavigationVisible",d=>d?"":"ck-hidden")]},children:[this.buttonPrevView,{tag:"span",attributes:{class:["ck-balloon-rotator__counter"]},children:[{text:a.to("counter")}]},this.buttonNextView]},{tag:"div",attributes:{class:"ck-balloon-rotator__content"},children:this.content}]})}render(){super.render(),this.focusTracker.add(this.element)}destroy(){super.destroy(),this.focusTracker.destroy()}showView(n){this.hideView(),this.content.add(n)}hideView(){this.content.clear()}_createButtonView(n,r){const a=new Qn(this.locale);return a.set({label:n,icon:r,tooltip:!0}),a}}class ty extends on{constructor(n,r){super(n);const a=this.bindTemplate;this.set("top",0),this.set("left",0),this.set("height",0),this.set("width",0),this.set("numberOfPanels",0),this.content=this.createCollection(),this._balloonPanelView=r,this.setTemplate({tag:"div",attributes:{class:["ck-fake-panel",a.to("numberOfPanels",d=>d?"":"ck-hidden")],style:{top:a.to("top",Tu),left:a.to("left",Tu),width:a.to("width",Tu),height:a.to("height",Tu)}},children:this.content}),this.on("change:numberOfPanels",(d,u,p,f)=>{p>f?this._addPanels(p-f):this._removePanels(f-p),this.updatePosition()})}_addPanels(n){for(;n--;){const r=new on;r.setTemplate({tag:"div"}),this.content.add(r),this.registerChild(r)}}_removePanels(n){for(;n--;){const r=this.content.last;this.content.remove(r),this.deregisterChild(r),r.destroy()}}updatePosition(){if(this.numberOfPanels){const{top:n,left:r}=this._balloonPanelView,{width:a,height:d}=new Xe(this._balloonPanelView.element);Object.assign(this,{top:n,left:r,width:a,height:d})}}}var Wg=L(8298);yt()(Wg.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const cd=Ds("px");class iy extends on{constructor(n){super(n);const r=this.bindTemplate;this.set("isActive",!1),this.set("isSticky",!1),this.set("limiterElement",null),this.set("limiterBottomOffset",50),this.set("viewportTopOffset",0),this.set("_marginLeft",null),this.set("_isStickyToTheBottomOfLimiter",!1),this.set("_stickyTopOffset",null),this.set("_stickyBottomOffset",null),this.content=this.createCollection(),this._contentPanelPlaceholder=new La({tag:"div",attributes:{class:["ck","ck-sticky-panel__placeholder"],style:{display:r.to("isSticky",a=>a?"block":"none"),height:r.to("isSticky",a=>a?cd(this._contentPanelRect.height):null)}}}).render(),this.contentPanelElement=new La({tag:"div",attributes:{class:["ck","ck-sticky-panel__content",r.if("isSticky","ck-sticky-panel__content_sticky"),r.if("_isStickyToTheBottomOfLimiter","ck-sticky-panel__content_sticky_bottom-limit")],style:{width:r.to("isSticky",a=>a?cd(this._contentPanelPlaceholder.getBoundingClientRect().width):null),top:r.to("_stickyTopOffset",a=>a&&cd(a)),bottom:r.to("_stickyBottomOffset",a=>a&&cd(a)),marginLeft:r.to("_marginLeft")}},children:this.content}).render(),this.setTemplate({tag:"div",attributes:{class:["ck","ck-sticky-panel"]},children:[this._contentPanelPlaceholder,this.contentPanelElement]})}render(){super.render(),this.checkIfShouldBeSticky(),this.listenTo(Vt.document,"scroll",()=>{this.checkIfShouldBeSticky()},{useCapture:!0}),this.listenTo(this,"change:isActive",()=>{this.checkIfShouldBeSticky()})}checkIfShouldBeSticky(){if(!this.limiterElement||!this.isActive)return void this._unstick();const n=new Xe(this.limiterElement);let r=n.getVisible();if(r){const a=new Xe(Vt.window);a.top+=this.viewportTopOffset,a.height-=this.viewportTopOffset,r=r.getIntersection(a)}if(r&&n.top<r.top){const a=r.top;if(a+this._contentPanelRect.height+this.limiterBottomOffset>r.bottom){const d=Math.max(n.bottom-r.bottom,0)+this.limiterBottomOffset;n.bottom-d>n.top+this._contentPanelRect.height?this._stickToBottomOfLimiter(d):this._unstick()}else this._contentPanelRect.height+this.limiterBottomOffset<n.height?this._stickToTopOfAncestors(a):this._unstick()}else this._unstick()}_stickToTopOfAncestors(n){this.isSticky=!0,this._isStickyToTheBottomOfLimiter=!1,this._stickyTopOffset=n,this._stickyBottomOffset=null,this._marginLeft=cd(-Vt.window.scrollX)}_stickToBottomOfLimiter(n){this.isSticky=!0,this._isStickyToTheBottomOfLimiter=!0,this._stickyTopOffset=null,this._stickyBottomOffset=n,this._marginLeft=cd(-Vt.window.scrollX)}_unstick(){this.isSticky=!1,this._isStickyToTheBottomOfLimiter=!1,this._stickyTopOffset=null,this._stickyBottomOffset=null,this._marginLeft=null}get _contentPanelRect(){return new Xe(this.contentPanelElement)}}class zE extends Cg{constructor(n,r){const a=n.t,d=Object.assign({},{showResetButton:!0,showIcon:!0,creator:jv},r);super(n,d.creator),this.label=r.label,this._viewConfig=d,this._viewConfig.showIcon&&(this.iconView=new rd,this.iconView.content=bn.loupe,this.fieldWrapperChildren.add(this.iconView,0),this.extendTemplate({attributes:{class:"ck-search__query_with-icon"}})),this._viewConfig.showResetButton&&(this.resetButtonView=new Qn(n),this.resetButtonView.set({label:a("Clear"),icon:bn.cancel,class:"ck-search__reset",isVisible:!1,tooltip:!0}),this.resetButtonView.on("execute",()=>{this.reset(),this.focus(),this.fire("reset")}),this.resetButtonView.bind("isVisible").to(this.fieldView,"isEmpty",u=>!u),this.fieldWrapperChildren.add(this.resetButtonView),this.extendTemplate({attributes:{class:"ck-search__query_with-reset"}}))}reset(){this.fieldView.reset(),this._viewConfig.showResetButton&&(this.resetButtonView.isVisible=!1)}}class VE extends on{constructor(){super();const n=this.bindTemplate;this.set({isVisible:!1,primaryText:"",secondaryText:""}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__info",n.if("isVisible","ck-hidden",r=>!r)],tabindex:-1},children:[{tag:"span",children:[{text:[n.to("primaryText")]}]},{tag:"span",children:[{text:[n.to("secondaryText")]}]}]})}focus(){this.element.focus()}}class HE extends on{constructor(n){super(n),this.children=this.createCollection(),this.focusTracker=new vo,this.setTemplate({tag:"div",attributes:{class:["ck","ck-search__results"],tabindex:-1},children:this.children}),this._focusCycler=new $r({focusables:this.children,focusTracker:this.focusTracker})}render(){super.render();for(const n of this.children)this.focusTracker.add(n.element)}focus(){this._focusCycler.focusFirst()}focusFirst(){this._focusCycler.focusFirst()}focusLast(){this._focusCycler.focusLast()}}var oy=/[\\^$.*+?()[\]{}|]/g,YE=RegExp(oy.source);const nA=function(c){return(c=Hh(c))&&YE.test(c)?c.replace(oy,"\\$&"):c};var iA=L(8107);yt()(iA.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var oA=Object.defineProperty,ry=Object.getOwnPropertySymbols,WE=Object.prototype.hasOwnProperty,$E=Object.prototype.propertyIsEnumerable,Gr=(c,n,r)=>n in c?oA(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;class qE extends on{constructor(n,r){super(n),this._config=r,this.filteredView=r.filteredView,this.queryView=this._createSearchTextQueryView(),this.focusTracker=new vo,this.keystrokes=new br,this.resultsView=new HE(n),this.children=this.createCollection(),this.focusableChildren=this.createCollection([this.queryView,this.resultsView]),this.set("isEnabled",!0),this.set("resultsCount",0),this.set("totalItemsCount",0),r.infoView&&r.infoView.instance?this.infoView=r.infoView.instance:(this.infoView=new VE,this._enableDefaultInfoViewBehavior(),this.on("render",()=>{this.search("")})),this.resultsView.children.addMany([this.infoView,this.filteredView]),this.focusCycler=new $r({focusables:this.focusableChildren,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.on("search",(a,{resultsCount:d,totalItemsCount:u})=>{this.resultsCount=d,this.totalItemsCount=u}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-search",r.class||null],tabindex:"-1"},children:this.children})}render(){super.render(),this.children.addMany([this.queryView,this.resultsView]);const n=r=>r.stopPropagation();for(const r of this.focusableChildren)this.focusTracker.add(r.element);this.keystrokes.listenTo(this.element),this.keystrokes.set("arrowright",n),this.keystrokes.set("arrowleft",n),this.keystrokes.set("arrowup",n),this.keystrokes.set("arrowdown",n)}focus(){this.queryView.focus()}reset(){this.queryView.reset(),this.search("")}search(n){const r=n?new RegExp(nA(n),"ig"):null,a=this.filteredView.filter(r);this.fire("search",((d,u)=>{for(var p in u||(u={}))WE.call(u,p)&&Gr(d,p,u[p]);if(ry)for(var p of ry(u))$E.call(u,p)&&Gr(d,p,u[p]);return d})({query:n},a))}_createSearchTextQueryView(){const n=new zE(this.locale,this._config.queryView);return this.listenTo(n.fieldView,"input",()=>{this.search(n.fieldView.element.value)}),n.on("reset",()=>this.reset()),n.bind("isEnabled").to(this),n}_enableDefaultInfoViewBehavior(){const n=this.locale.t,r=this.infoView;function a(d,{query:u,resultsCount:p,totalItemsCount:f}){return"function"==typeof d?d(u,p,f):d}this.on("search",(d,u)=>{if(u.resultsCount)r.set({isVisible:!1});else{const p=this._config.infoView&&this._config.infoView.text;let f,g;u.totalItemsCount?p&&p.notFound?(f=p.notFound.primary,g=p.notFound.secondary):(f=n("No results found"),g=""):p&&p.noSearchableItems?(f=p.noSearchableItems.primary,g=p.noSearchableItems.secondary):(f=n("No searchable items"),g=""),r.set({primaryText:a(f,u),secondaryText:a(g,u),isVisible:!0})}})}}var rA=L(5727);yt()(rA.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Dp=class extends qE{constructor(c,n){super(c,n),this._config=n;const r=Ds("px");this.extendTemplate({attributes:{class:["ck-autocomplete"]}});const a=this.resultsView.bindTemplate;this.resultsView.set("isVisible",!1),this.resultsView.set("_position","s"),this.resultsView.set("_width",0),this.resultsView.extendTemplate({attributes:{class:[a.if("isVisible","ck-hidden",d=>!d),a.to("_position",d=>`ck-search__results_${d}`)],style:{width:a.to("_width",r)}}}),this.focusTracker.on("change:isFocused",(d,u,p)=>{this._updateResultsVisibility(),p?this.resultsView.element.scrollTop=0:n.resetOnBlur&&this.queryView.reset()}),this.on("search",()=>{this._updateResultsVisibility(),this._updateResultsViewWidthAndPosition()}),this.keystrokes.set("esc",(d,u)=>{this.resultsView.isVisible&&(this.queryView.focus(),this.resultsView.isVisible=!1,u())}),this.listenTo(Vt.document,"scroll",()=>{this._updateResultsViewWidthAndPosition()}),this.on("change:isEnabled",()=>{this._updateResultsVisibility()}),this.filteredView.on("execute",(d,{value:u})=>{this.focus(),this.reset(),this.queryView.fieldView.value=this.queryView.fieldView.element.value=u,this.resultsView.isVisible=!1}),this.resultsView.on("change:isVisible",()=>{this._updateResultsViewWidthAndPosition()})}_updateResultsViewWidthAndPosition(){if(!this.resultsView.isVisible)return;this.resultsView._width=new Xe(this.queryView.fieldView.element).width;const c=Dp._getOptimalPosition({element:this.resultsView.element,target:this.queryView.element,fitInViewport:!0,positions:Dp.defaultResultsPositions});this.resultsView._position=c?c.name:"s"}_updateResultsVisibility(){this.resultsView.isVisible=this.focusTracker.isFocused&&this.isEnabled&&this.queryView.fieldView.element.value.length>=(void 0===this._config.queryMinChars?0:this._config.queryMinChars)}};let sy=Dp;sy.defaultResultsPositions=[c=>({top:c.bottom,left:c.left,name:"s"}),(c,n)=>({top:c.top-n.height,left:c.left,name:"n"})],sy._getOptimalPosition=un,RegExp(/[&<>"']/g.source);var sA=L(9529);yt()(sA.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var lA=L(109);yt()(lA.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),Ds("px");var $g=L(2710);yt()($g.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),Ds("px"),Ds("px");class JE extends Yg{constructor(n,r){super(n),this.view=r,this._toolbarConfig=ku(n.config.get("toolbar")),this._elementReplacer=new $t,this.listenTo(n.editing.view,"scrollToTheSelection",this._handleScrollToTheSelectionWithStickyPanel.bind(this))}get element(){return this.view.element}init(n){const a=this.view,d=this.editor.editing.view,u=a.editable,p=d.document.getRoot();u.name=p.rootName,a.render();const f=u.element;this.setEditableElement(u.name,f),a.editable.bind("isFocused").to(this.focusTracker),d.attachDomRoot(f),n&&this._elementReplacer.replace(n,this.element),this._initPlaceholder(),this._initToolbar(),this._initDialogPluginIntegration(),this.fire("ready")}destroy(){super.destroy();const n=this.view,r=this.editor.editing.view;this._elementReplacer.restore(),r.detachDomRoot(n.editable.name),n.destroy()}_initToolbar(){const n=this.view;n.stickyPanel.bind("isActive").to(this.focusTracker,"isFocused"),n.stickyPanel.limiterElement=n.element,n.stickyPanel.bind("viewportTopOffset").to(this,"viewportOffset",({top:r})=>r||0),n.toolbar.fillFromConfig(this._toolbarConfig,this.componentFactory),this.addToolbar(n.toolbar)}_initPlaceholder(){const n=this.editor,r=n.editing.view,a=r.document.getRoot(),d=n.sourceElement;let u;const p=n.config.get("placeholder");p&&(u="string"==typeof p?p:p[this.view.editable.name]),!u&&d&&"textarea"===d.tagName.toLowerCase()&&(u=d.getAttribute("placeholder")),u&&(a.placeholder=u),Gd({view:r,element:a,isDirectHost:!1,keepOnFocus:!0})}_handleScrollToTheSelectionWithStickyPanel(n,r,a){const d=this.view.stickyPanel;if(d.isSticky){const u=new Xe(d.element).height;r.viewportOffset.top+=u}else{const u=()=>{this.editor.editing.view.scrollToTheSelection(a)};this.listenTo(d,"change:isSticky",u),setTimeout(()=>{this.stopListening(d,"change:isSticky",u)},20)}}_initDialogPluginIntegration(){if(!this.editor.plugins.has("Dialog"))return;const n=this.view.stickyPanel,r=this.editor.plugins.get("Dialog");r.on("show",()=>{const a=r.view;a.on("moveTo",(d,u)=>{if(!n.isSticky||a.wasMoved)return;const p=new Xe(n.contentPanelElement);u[1]<p.bottom+Cr.defaultOffset&&(u[1]=p.bottom+Cr.defaultOffset)},{priority:"high"})},{priority:"low"})}}var cA=L(7388);yt()(cA.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class eS extends eA{constructor(n,r,a={}){super(n),this.stickyPanel=new iy(n),this.toolbar=new Cu(n,{shouldGroupWhenFull:a.shouldToolbarGroupWhenFull}),this.editable=new G(n,r)}render(){super.render(),this.stickyPanel.content.add(this.toolbar),this.top.add(this.stickyPanel),this.main.add(this.editable)}}class Xs{constructor(n){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof n.crashNumberLimit?n.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof n.minimumNonErrorTimePeriod?n.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=r=>{const a="error"in r?r.error:r.reason;a instanceof Error&&this._handleError(a,r)},this._listeners={},!this._restart)throw new Error("The Watchdog class was split into the abstract `Watchdog` class and the `EditorWatchdog` class. Please, use `EditorWatchdog` if you have used the `Watchdog` class previously.")}destroy(){this._stopErrorHandling(),this._listeners={}}on(n,r){this._listeners[n]||(this._listeners[n]=[]),this._listeners[n].push(r)}off(n,r){this._listeners[n]=this._listeners[n].filter(a=>a!==r)}_fire(n,...r){const a=this._listeners[n]||[];for(const d of a)d.apply(this,[null,...r])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(n,r){if(this._shouldReactToError(n)){this.crashes.push({message:n.message,stack:n.stack,filename:r instanceof ErrorEvent?r.filename:void 0,lineno:r instanceof ErrorEvent?r.lineno:void 0,colno:r instanceof ErrorEvent?r.colno:void 0,date:this._now()});const a=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:n,causesRestart:a}),a?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(n){return n.is&&n.is("CKEditorError")&&null!=n.context&&"ready"===this.state&&this._isErrorComingFromThisItem(n)}_shouldRestart(){return this.crashes.length<=this._crashNumberLimit||(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}function Tp(c,n=new Set){const r=[c],a=new Set;let d=0;for(;r.length>d;){const u=r[d++];if(!a.has(u)&&tS(u)&&!n.has(u))if(a.add(u),Symbol.iterator in u)try{for(const p of u)r.push(p)}catch{}else for(const p in u)"defaultValue"!==p&&r.push(u[p])}return a}function tS(c){const n=Object.prototype.toString.call(c),r=typeof c;return!("number"===r||"boolean"===r||"string"===r||"symbol"===r||"function"===r||"[object Date]"===n||"[object RegExp]"===n||"[object Module]"===n||null==c||c._watchdogExcluded||c instanceof EventTarget||c instanceof Event)}function ay(c,n,r=new Set){if(c===n&&"object"==typeof(a=c)&&null!==a)return!0;var a;const d=Tp(c,r),u=Tp(n,r);for(const p of d)if(u.has(p))return!0;return!1}var nS=Object.defineProperty,dA=Object.defineProperties,uA=Object.getOwnPropertyDescriptors,dd=Object.getOwnPropertySymbols,qg=Object.prototype.hasOwnProperty,iS=Object.prototype.propertyIsEnumerable,ly=(c,n,r)=>n in c?nS(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,Gg=(c,n)=>{for(var r in n||(n={}))qg.call(n,r)&&ly(c,r,n[r]);if(dd)for(var r of dd(n))iS.call(n,r)&&ly(c,r,n[r]);return c};class cy extends Xs{constructor(n,r={}){super(r),this._editor=null,this._initUsingData=!0,this._editables={},this._throttledSave=Cp(this._save.bind(this),"number"==typeof r.saveInterval?r.saveInterval:5e3),n&&(this._creator=(a,d)=>n.create(a,d)),this._destructor=a=>a.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(n){this._creator=n}setDestructor(n){this._destructor=n}_restart(){return Promise.resolve().then(()=>(this.state="initializing",this._fire("stateChange"),this._destroy())).catch(n=>{console.error("An error happened during the editor destroying.",n)}).then(()=>{const n={},r=[],a=this._config.rootsAttributes||{},d={};for(const[g,b]of Object.entries(this._data.roots))b.isLoaded?(n[g]="",d[g]=a[g]||{}):r.push(g);const u=(p=Gg({},this._config),dA(p,uA({extraPlugins:this._config.extraPlugins||[],lazyRoots:r,rootsAttributes:d,_watchdogInitialData:this._data})));var p;return delete u.initialData,u.extraPlugins.push(hA),this._initUsingData?this.create(n,u,u.context):nl(this._elementOrData)?this.create(this._elementOrData,u,u.context):this.create(this._editables,u,u.context)}).then(()=>{this._fire("restart")})}create(n=this._elementOrData,r=this._config,a){return Promise.resolve().then(()=>(super._startErrorHandling(),this._elementOrData=n,this._initUsingData="string"==typeof n||Object.keys(n).length>0&&"string"==typeof Object.values(n)[0],this._config=this._cloneEditorConfiguration(r)||{},this._config.context=a,this._creator(n,this._config))).then(d=>{this._editor=d,d.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=d.model.document.version,this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this.state="ready",this._fire("stateChange")})}destroy(){return Promise.resolve().then(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling(),this._throttledSave.cancel();const n=this._editor;return this._editor=null,n.model.document.off("change:data",this._throttledSave),this._destructor(n)})}_save(){const n=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=n}catch(r){console.error(r,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(n){this._excludedProps=n}_getData(){const n=this._editor,r=n.model.document.roots.filter(f=>f.isAttached()&&"$graveyard"!=f.rootName),{plugins:a}=n,d=a.has("CommentsRepository")&&a.get("CommentsRepository"),u=a.has("TrackChanges")&&a.get("TrackChanges"),p={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};r.forEach(f=>{p.roots[f.rootName]={content:JSON.stringify(Array.from(f.getChildren())),attributes:JSON.stringify(Array.from(f.getAttributes())),isLoaded:f._isLoaded}});for(const f of n.model.markers)f._affectsData&&(p.markers[f.name]={rangeJSON:f.getRange().toJSON(),usingOperation:f._managedUsingOperations,affectsData:f._affectsData});return d&&(p.commentThreads=JSON.stringify(d.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),u&&(p.suggestions=JSON.stringify(u.getSuggestions({toJSON:!0,skipNotAttached:!0}))),p}_getEditables(){const n={};for(const r of this.editor.model.document.getRootNames()){const a=this.editor.ui.getEditableElement(r);a&&(n[r]=a)}return n}_isErrorComingFromThisItem(n){return ay(this._editor,n.context,this._excludedProps)}_cloneEditorConfiguration(n){return fr(n,(r,a)=>nl(r)||"context"===a?r:void 0)}}class hA{constructor(n){this.editor=n,this._data=n.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",n=>{n.stop(),this.editor.model.enqueueChange({isUndoable:!1},r=>{this._restoreCollaborationData(),this._restoreEditorData(r)}),this.editor.data.fire("ready")},{priority:999})}_createNode(n,r){if("name"in r){const a=n.createElement(r.name,r.attributes);if(r.children)for(const d of r.children)a._appendChild(this._createNode(n,d));return a}return n.createText(r.data,r.attributes)}_restoreEditorData(n){const r=this.editor;Object.entries(this._data.roots).forEach(([a,{content:d,attributes:u}])=>{const p=JSON.parse(d),f=JSON.parse(u),g=r.model.document.getRoot(a);for(const[b,k]of f)n.setAttribute(b,k,g);for(const b of p){const k=this._createNode(n,b);n.insert(k,g,"end")}}),Object.entries(this._data.markers).forEach(([a,d])=>{const{document:u}=r.model,p=d,{rangeJSON:{start:f,end:g}}=p,b=((Z,te)=>{var fe={};for(var ge in Z)qg.call(Z,ge)&&te.indexOf(ge)<0&&(fe[ge]=Z[ge]);if(null!=Z&&dd)for(var ge of dd(Z))te.indexOf(ge)<0&&iS.call(Z,ge)&&(fe[ge]=Z[ge]);return fe})(p,["rangeJSON"]),k=u.getRoot(f.root),S=n.createPositionFromPath(k,f.path,f.stickiness),B=n.createPositionFromPath(k,g.path,g.stickiness),U=n.createRange(S,B);n.addMarker(a,Gg({range:U},b))})}_restoreCollaborationData(){const n=JSON.parse(this._data.commentThreads),r=JSON.parse(this._data.suggestions);n.forEach(a=>{const d=this.editor.config.get("collaboration.channelId"),u=this.editor.plugins.get("CommentsRepository");u.hasCommentThread(a.threadId)&&u.getCommentThread(a.threadId).remove(),u.addCommentThread(Gg({channelId:d},a))}),r.forEach(a=>{const d=this.editor.plugins.get("TrackChangesEditing");d.hasSuggestion(a.id)?d.getSuggestion(a.id).attributes=a.attributes:d.addSuggestionData(a)})}}const ud=Symbol("MainQueueId");class yl{constructor(){this._onEmptyCallbacks=[],this._queues=new Map,this._activeActions=0}onEmpty(n){this._onEmptyCallbacks.push(n)}enqueue(n,r){const a=n===ud;this._activeActions++,this._queues.get(n)||this._queues.set(n,Promise.resolve());const d=Promise.all(a?this._queues.values():[this._queues.get(ud),this._queues.get(n)]).then(r),u=d.catch(()=>{});return this._queues.set(n,u),d.finally(()=>{this._activeActions--,this._queues.get(n)===u&&0===this._activeActions&&this._onEmptyCallbacks.forEach(p=>p())})}}function pA(c){return Array.isArray(c)?c:[c]}class Kg extends(yg(mC)){constructor(n,r={}){if(!xu(n)&&void 0!==r.initialData)throw new Y("editor-create-initial-data",null);var u,p;super(r),void 0===this.config.get("initialData")&&this.config.set("initialData",xu(u=n)?(p=u)instanceof HTMLTextAreaElement?p.value:p.innerHTML:u),xu(n)&&(this.sourceElement=n),this.model.document.createRoot();const a=!this.config.get("toolbar.shouldNotGroupWhenFull"),d=new eS(this.locale,this.editing.view,{shouldToolbarGroupWhenFull:a});this.ui=new JE(this,d),function(u){if(!wi(u.updateSourceElement))throw new Y("attachtoform-missing-elementapi-interface",u);const p=u.sourceElement;if((f=p)&&"textarea"===f.tagName.toLowerCase()&&p.form){let f;const g=p.form,b=()=>u.updateSourceElement();wi(g.submit)&&(f=g.submit,g.submit=()=>{b(),f.apply(g)}),g.addEventListener("submit",b),u.on("destroy",()=>{g.removeEventListener("submit",b),f&&(g.submit=f)})}var f}(this)}destroy(){return this.sourceElement&&this.updateSourceElement(),this.ui.destroy(),super.destroy()}static create(n,r={}){return new Promise(a=>{const d=new this(n,r);a(d.initPlugins().then(()=>d.ui.init(xu(n)?n:null)).then(()=>d.data.init(d.config.get("initialData"))).then(()=>d.fire("ready")).then(()=>d))})}}function xu(c){return nl(c)}Kg.Context=no,Kg.EditorWatchdog=cy,Kg.ContextWatchdog=class extends Xs{constructor(c,n={}){super(n),this._watchdogs=new Map,this._context=null,this._contextProps=new Set,this._actionQueues=new yl,this._watchdogConfig=n,this._creator=r=>c.create(r),this._destructor=r=>r.destroy(),this._actionQueues.onEmpty(()=>{"initializing"===this.state&&(this.state="ready",this._fire("stateChange"))})}setCreator(c){this._creator=c}setDestructor(c){this._destructor=c}get context(){return this._context}create(c={}){return this._actionQueues.enqueue(ud,()=>(this._contextConfig=c,this._create()))}getItem(c){return this._getWatchdog(c)._item}getItemState(c){return this._getWatchdog(c).state}add(c){const n=pA(c);return Promise.all(n.map(r=>this._actionQueues.enqueue(r.id,()=>{if("destroyed"===this.state)throw new Error("Cannot add items to destroyed watchdog.");if(!this._context)throw new Error("Context was not created yet. You should call the `ContextWatchdog#create()` method first.");let a;if(this._watchdogs.has(r.id))throw new Error(`Item with the given id is already added: '${r.id}'.`);if("editor"===r.type)return a=new cy(null,this._watchdogConfig),a.setCreator(r.creator),a._setExcludedProperties(this._contextProps),r.destructor&&a.setDestructor(r.destructor),this._watchdogs.set(r.id,a),a.on("error",(d,{error:u,causesRestart:p})=>{this._fire("itemError",{itemId:r.id,error:u}),p&&this._actionQueues.enqueue(r.id,()=>new Promise(f=>{const g=()=>{a.off("restart",g),this._fire("itemRestart",{itemId:r.id}),f()};a.on("restart",g)}))}),a.create(r.sourceElementOrData,r.config,this._context);throw new Error(`Not supported item type: '${r.type}'.`)})))}remove(c){const n=pA(c);return Promise.all(n.map(r=>this._actionQueues.enqueue(r,()=>{const a=this._getWatchdog(r);return this._watchdogs.delete(r),a.destroy()})))}destroy(){return this._actionQueues.enqueue(ud,()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))}_restart(){return this._actionQueues.enqueue(ud,()=>(this.state="initializing",this._fire("stateChange"),this._destroy().catch(c=>{console.error("An error happened during destroying the context or items.",c)}).then(()=>this._create()).then(()=>this._fire("restart"))))}_create(){return Promise.resolve().then(()=>(this._startErrorHandling(),this._creator(this._contextConfig))).then(c=>(this._context=c,this._contextProps=Tp(this._context),Promise.all(Array.from(this._watchdogs.values()).map(n=>(n._setExcludedProperties(this._contextProps),n.create(void 0,void 0,this._context))))))}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling();const c=this._context;return this._context=null,this._contextProps=new Set,Promise.all(Array.from(this._watchdogs.values()).map(n=>n.destroy())).then(()=>this._destructor(c))})}_getWatchdog(c){const n=this._watchdogs.get(c);if(!n)throw new Error(`Item with the given id was not registered: ${c}.`);return n}_isErrorComingFromThisItem(c){for(const n of this._watchdogs.values())if(n._isErrorComingFromThisItem(c))return!1;return ay(this._context,c.context)}};class xp extends pl{constructor(n){super(n),this.domEventType=["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"];const r=this.document;function a(d){return(u,p)=>{p.preventDefault();const f=p.dropRange?[p.dropRange]:null,g=new Q(r,d);r.fire(g,{dataTransfer:p.dataTransfer,method:u.name,targetRanges:f,target:p.target,domEvent:p.domEvent}),g.stop.called&&p.stopPropagation()}}this.listenTo(r,"paste",a("clipboardInput"),{priority:"low"}),this.listenTo(r,"drop",a("clipboardInput"),{priority:"low"}),this.listenTo(r,"dragover",a("dragging"),{priority:"low"})}onDomEvent(n){const d={dataTransfer:new I0("clipboardData"in n?n.clipboardData:n.dataTransfer,{cacheFiles:"drop"==n.type||"paste"==n.type})};"drop"!=n.type&&"dragover"!=n.type||(d.dropRange=function(u,p){const f=p.target.ownerDocument,g=p.clientX,b=p.clientY;let k;return f.caretRangeFromPoint&&f.caretRangeFromPoint(g,b)?k=f.caretRangeFromPoint(g,b):p.rangeParent&&(k=f.createRange(),k.setStart(p.rangeParent,p.rangeOffset),k.collapse(!0)),k?u.domConverter.domRangeToView(k):null}(this.view,n)),this.fire(n.type,n,d)}}const dy=["figcaption","li"],fA=["ol","ul"];function Ep(c){if(c.is("$text")||c.is("$textProxy"))return c.data;if(c.is("element","img")&&c.hasAttribute("alt"))return c.getAttribute("alt");if(c.is("element","br"))return"\n";let n="",r=null;for(const a of c.getChildren())n+=Sp(a,r)+Ep(a),r=a;return n}function Sp(c,n){return n?c.is("element","li")&&!c.isEmpty&&c.getChild(0).is("containerElement")||fA.includes(c.name)&&fA.includes(n.name)?"\n\n":c.is("containerElement")||n.is("containerElement")?dy.includes(c.name)||dy.includes(n.name)?"\n":"\n\n":"":""}const oS=function(c){return c==c&&!Je(c)},uy=function(c,n){return function(r){return null!=r&&r[c]===n&&(void 0!==n||c in Object(r))}},sS=function(c,n){return null!=c&&n in Object(c)},yA=function(c){return"function"==typeof c?c:null==c?zr:"object"==typeof c?jo(c)?function(c,n){return jc(c)&&oS(n)?uy(fn(c),n):function(r){var a=y(r,c);return void 0===a&&a===n?function(c,n){return null!=c&&function(c,n,r){for(var a=-1,d=(n=Yh(n,c)).length,u=!1;++a<d;){var p=fn(n[a]);if(!(u=null!=c&&r(c,p)))break;c=c[p]}return u||++a!=d?u:!!(d=null==c?0:c.length)&&bh(d)&&_h(p,d)&&(jo(c)||gh(c))}(c,n,sS)}(r,c):ou(n,a,3)}}(c[0],c[1]):function(c){var n=function(c){for(var n=Ja(c),r=n.length;r--;){var a=n[r],d=c[a];n[r]=[a,d,oS(d)]}return n}(c);return 1==n.length&&n[0][2]?uy(n[0][0],n[0][1]):function(r){return r===c||function(c,n,r,a){var d=r.length,u=d;if(null==c)return!u;for(c=Object(c);d--;){var f=r[d];if(f[2]?f[1]!==c[f[0]]:!(f[0]in c))return!1}for(;++d<u;){var g=(f=r[d])[0],b=c[g],k=f[1];if(f[2]){if(void 0===b&&!(g in c))return!1}else{var B,S=new ga;if(!(void 0===B?ou(k,b,3,a,S):B))return!1}}return!0}(r,0,n)}}(c):function(c){return jc(c)?function(c){return function(n){return n?.[c]}}(fn(c)):function(c){return function(n){return Zd(n,c)}}(c)}(c)};var dS=Object.defineProperty,Lp=Object.defineProperties,uS=Object.getOwnPropertyDescriptors,kA=Object.getOwnPropertySymbols,hS=Object.prototype.hasOwnProperty,pS=Object.prototype.propertyIsEnumerable,wA=(c,n,r)=>n in c?dS(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;class Op extends dt{constructor(){super(...arguments),this._markersToCopy=new Map}static get pluginName(){return"ClipboardMarkersUtils"}_registerMarkerToCopy(n,r){const a=Array.isArray(r)?r:this._mapRestrictionPresetToActions(r);a.length&&this._markersToCopy.set(n,a)}_mapRestrictionPresetToActions(n){switch(n){case"always":return["copy","cut","dragstart"];case"default":return["cut","dragstart"];default:return[]}}_copySelectedFragmentWithMarkers(n,r,a=(d=>d.model.getSelectedContent(d.model.document.selection))){return this.editor.model.change(d=>{const u=d.model.document.selection;d.setSelection(r);const p=this._insertFakeMarkersIntoSelection(d,d.model.document.selection,n),f=a(d),g=this._removeFakeMarkersInsideElement(d,f);for(const[b,k]of Object.entries(p)){g[b]||(g[b]=d.createRangeIn(f));for(const S of k)d.remove(S)}f.markers.clear();for(const[b,k]of Object.entries(g))f.markers.set(b,k);return d.setSelection(u),f})}_pasteMarkersIntoTransformedElement(n,r){const a=this._getCopyableMarkersFromRangeMap(n);return this.editor.model.change(d=>{const u=this._insertFakeMarkersElements(d,a),p=r(d),f=this._removeFakeMarkersInsideElement(d,p);for(const g of Object.values(u).flat())d.remove(g);for(const[g,b]of Object.entries(f)){const k=d.model.markers.has(g)?this._getUniqueMarkerName(g):g;d.addMarker(k,{usingOperation:!0,affectsData:!0,range:b})}return p})}_forceMarkersCopy(n,r){const a=this._markersToCopy.get(n);this._markersToCopy.set(n,this._mapRestrictionPresetToActions("always")),r(),a?this._markersToCopy.set(n,a):this._markersToCopy.delete(n)}_canPerformMarkerClipboardAction(n,r){const[a]=n.split(":");return r?(this._markersToCopy.get(a)||[]).includes(r):this._markersToCopy.has(a)}_setUniqueMarkerNamesInFragment(n){const r=Array.from(n.markers);n.markers.clear();for(const[a,d]of r)n.markers.set(this._getUniqueMarkerName(a),d)}_insertFakeMarkersIntoSelection(n,r,a){const d=this._getCopyableMarkersFromSelection(n,r,a);return this._insertFakeMarkersElements(n,d)}_getCopyableMarkersFromSelection(n,r,a){return Array.from(r.getRanges()).flatMap(d=>Array.from(n.model.markers.getMarkersIntersectingRange(d))).filter(d=>this._canPerformMarkerClipboardAction(d.name,a)).map(d=>({name:d.name,range:d.getRange()}))}_getCopyableMarkersFromRangeMap(n,r=null){return(n instanceof Map?Array.from(n.entries()):Object.entries(n)).map(([a,d])=>({name:a,range:d})).filter(a=>this._canPerformMarkerClipboardAction(a.name,r))}_insertFakeMarkersElements(n,r){const a={},d=r.flatMap(u=>{const{start:p,end:f}=u.range;return[{position:p,marker:u,type:"start"},{position:f,marker:u,type:"end"}]}).sort(({position:u},{position:p})=>u.isBefore(p)?1:-1);for(const{position:u,marker:p,type:f}of d){const g=n.createElement("$marker",{"data-name":p.name,"data-type":f});a[p.name]||(a[p.name]=[]),a[p.name].push(g),n.insert(g,u)}return a}_removeFakeMarkersInsideElement(n,r){return function(c,n){var r={};return n=yA(n),function(c,n){c&&Xb(c,n,Ja)}(c,function(a,d,u){Ze(r,d,n(a,d,u))}),r}(this._getAllFakeMarkersFromElement(n,r).reduce((d,u)=>{const p=u.markerElement&&n.createPositionBefore(u.markerElement);let f=d[u.name];var g;return f&&f.start&&f.end&&(d[this._getUniqueMarkerName(u.name)]=d[u.name],f=null),d[u.name]=(g=((k,S)=>{for(var B in S||(S={}))hS.call(S,B)&&wA(k,B,S[B]);if(kA)for(var B of kA(S))pS.call(S,B)&&wA(k,B,S[B]);return k})({},f),Lp(g,uS({[u.type]:p}))),u.markerElement&&n.remove(u.markerElement),d},{}),d=>new Ke(d.start||n.createPositionFromPath(r,[0]),d.end||n.createPositionAt(r,"end")))}_getAllFakeMarkersFromElement(n,r){const a=Array.from(n.createRangeIn(r)).flatMap(({item:p})=>{if(!p.is("element","$marker"))return[];const f=p.getAttribute("data-name"),g=p.getAttribute("data-type");return[{markerElement:p,name:f,type:g}]}),d=[],u=[];for(const p of a)"end"===p.type&&(a.some(f=>f.name===p.name&&"start"===f.type)||d.push({markerElement:null,name:p.name,type:"start"})),"start"===p.type&&(a.some(f=>f.name===p.name&&"end"===f.type)||u.unshift({markerElement:null,name:p.name,type:"end"}));return[...d,...a,...u]}_getUniqueMarkerName(n){const r=n.split(":"),a=ae().substring(1,6);return 3===r.length?`${r.slice(0,2).join(":")}:${a}`:`${r.join(":")}:${a}`}}class Ls extends dt{static get pluginName(){return"ClipboardPipeline"}static get requires(){return[Op]}init(){this.editor.editing.view.addObserver(xp),this._setupPasteDrop(),this._setupCopyCut()}_fireOutputTransformationEvent(n,r,a){const d=this.editor.plugins.get("ClipboardMarkersUtils")._copySelectedFragmentWithMarkers(a,r);this.fire("outputTransformation",{dataTransfer:n,content:d,method:a})}_setupPasteDrop(){const n=this.editor,r=n.model,a=n.editing.view,d=a.document,u=this.editor.plugins.get("ClipboardMarkersUtils");this.listenTo(d,"clipboardInput",(p,f)=>{"paste"!=f.method||n.model.canEditAt(n.model.document.selection)||p.stop()},{priority:"highest"}),this.listenTo(d,"clipboardInput",(p,f)=>{const g=f.dataTransfer;let b;if(f.content)b=f.content;else{let B="";g.getData("text/html")?B=g.getData("text/html").replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(Z,te)=>1==te.length?" ":te).replace(/<!--[\s\S]*?-->/g,""):g.getData("text/plain")&&(((k=(k=g.getData("text/plain")).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r?\n\r?\n/g,"</p><p>").replace(/\r?\n/g,"<br>").replace(/\t/g,"&nbsp;&nbsp;&nbsp;&nbsp;").replace(/^\s/,"&nbsp;").replace(/\s$/,"&nbsp;").replace(/\s\s/g," &nbsp;")).includes("</p><p>")||k.includes("<br>"))&&(k=`<p>${k}</p>`),B=k),b=this.editor.data.htmlProcessor.toView(B)}var k;const S=new Q(this,"inputTransformation");this.fire(S,{content:b,dataTransfer:g,targetRanges:f.targetRanges,method:f.method}),S.stop.called&&p.stop(),a.scrollToTheSelection()},{priority:"low"}),this.listenTo(this,"inputTransformation",(p,f)=>{if(f.content.isEmpty)return;const g=this.editor.data.toModel(f.content,"$clipboardHolder");0!=g.childCount&&(p.stop(),r.change(()=>{this.fire("contentInsertion",{content:g,method:f.method,dataTransfer:f.dataTransfer,targetRanges:f.targetRanges})}))},{priority:"low"}),this.listenTo(this,"contentInsertion",(p,f)=>{u._setUniqueMarkerNamesInFragment(f.content)},{priority:"highest"}),this.listenTo(this,"contentInsertion",(p,f)=>{f.resultRange=r.insertContent(f.content)},{priority:"low"})}_setupCopyCut(){const n=this.editor,r=n.model.document,a=n.editing.view.document,d=(u,p)=>{const f=p.dataTransfer;p.preventDefault(),this._fireOutputTransformationEvent(f,r.selection,u.name)};this.listenTo(a,"copy",d,{priority:"low"}),this.listenTo(a,"cut",(u,p)=>{n.model.canEditAt(n.model.document.selection)?d(u,p):p.preventDefault()},{priority:"low"}),this.listenTo(this,"outputTransformation",(u,p)=>{const f=n.data.toView(p.content);a.fire("clipboardOutput",{dataTransfer:p.dataTransfer,content:f,method:p.method})},{priority:"low"}),this.listenTo(a,"clipboardOutput",(u,p)=>{p.content.isEmpty||(p.dataTransfer.setData("text/html",this.editor.data.htmlProcessor.toData(p.content)),p.dataTransfer.setData("text/plain",Ep(p.content))),"cut"==p.method&&n.model.deleteContent(r.selection)},{priority:"low"})}}class CA{constructor(n,r=20){this._batch=null,this.model=n,this._size=0,this.limit=r,this._isLocked=!1,this._changeCallback=(a,d)=>{d.isLocal&&d.isUndoable&&d!==this._batch&&this._reset(!0)},this._selectionChangeCallback=()=>{this._reset()},this.model.document.on("change",this._changeCallback),this.model.document.selection.on("change:range",this._selectionChangeCallback),this.model.document.selection.on("change:attribute",this._selectionChangeCallback)}get batch(){return this._batch||(this._batch=this.model.createBatch({isTyping:!0})),this._batch}get size(){return this._size}input(n){this._size+=n,this._size>=this.limit&&this._reset(!0)}get isLocked(){return this._isLocked}lock(){this._isLocked=!0}unlock(){this._isLocked=!1}destroy(){this.model.document.off("change",this._changeCallback),this.model.document.selection.off("change:range",this._selectionChangeCallback),this.model.document.selection.off("change:attribute",this._selectionChangeCallback)}_reset(n=!1){this.isLocked&&!n||(this._batch=null,this._size=0)}}class AA extends Tn{constructor(n,r){super(n),this._buffer=new CA(n.model,r),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}destroy(){super.destroy(),this._buffer.destroy()}execute(n={}){const r=this.editor.model,a=r.document,d=n.text||"",u=d.length;let p=a.selection;if(n.selection?p=n.selection:n.range&&(p=r.createSelection(n.range)),!r.canEditAt(p))return;const f=n.resultRange;r.enqueueChange(this._buffer.batch,g=>{this._buffer.lock();const b=Array.from(a.selection.getAttributes());r.deleteContent(p),d&&r.insertContent(g.createText(d,b),p),f?g.setSelection(f):p.is("documentSelection")||g.setSelection(p),this._buffer.unlock(),this._buffer.input(u)})}}const Ft=["insertText","insertReplacementText"];class fS extends Ta{constructor(n){super(n),this.focusObserver=n.getObserver(Qm),M.isAndroid&&Ft.push("insertCompositionText");const r=n.document;r.on("beforeinput",(a,d)=>{if(!this.isEnabled)return;const{data:u,targetRanges:p,inputType:f,domEvent:g}=d;if(!Ft.includes(f))return;this.focusObserver.flush();const b=new Q(r,"insertText");r.fire(b,new eu(n,g,{text:u,selection:n.createSelection(p)})),b.stop.called&&a.stop()}),r.on("compositionend",(a,{data:d,domEvent:u})=>{this.isEnabled&&!M.isAndroid&&d&&r.fire("insertText",new eu(n,u,{text:d,selection:r.selection}))},{priority:"lowest"})}observe(){}stopObserving(){}}class Pp extends dt{static get pluginName(){return"Input"}init(){const n=this.editor,r=n.model,a=n.editing.view,d=r.document.selection;a.addObserver(fS);const u=new AA(n,n.config.get("typing.undoStep")||20);n.commands.add("insertText",u),n.commands.add("input",u),this.listenTo(a.document,"insertText",(p,f)=>{a.document.isComposing||f.preventDefault();const{text:g,selection:b,resultRange:k}=f,S=Array.from(b.getRanges()).map(Z=>n.editing.mapper.toModelRange(Z));let B=g;if(M.isAndroid){const Z=Array.from(S[0].getItems()).reduce((te,fe)=>te+(fe.is("$textProxy")?fe.data:""),"");Z&&(Z.length<=B.length?B.startsWith(Z)&&(B=B.substring(Z.length),S[0].start=S[0].start.getShiftedBy(Z.length)):Z.startsWith(B)&&(S[0].start=S[0].start.getShiftedBy(B.length),B=""))}const U={text:B,selection:r.createSelection(S)};k&&(U.resultRange=n.editing.mapper.toModelRange(k)),n.execute("insertText",U),a.scrollToTheSelection()}),M.isAndroid?this.listenTo(a.document,"keydown",(p,f)=>{!d.isCollapsed&&229==f.keyCode&&a.document.isComposing&&MA(r,u)}):this.listenTo(a.document,"compositionstart",()=>{d.isCollapsed||MA(r,u)})}}function MA(c,n){if(!n.isEnabled)return;const r=n.buffer;r.lock(),c.enqueueChange(r.batch,()=>{c.deleteContent(c.document.selection)}),r.unlock()}class DA extends Tn{constructor(n,r){super(n),this.direction=r,this._buffer=new CA(n.model,n.config.get("typing.undoStep")),this._isEnabledBasedOnSelection=!1}get buffer(){return this._buffer}execute(n={}){const r=this.editor.model,a=r.document;r.enqueueChange(this._buffer.batch,d=>{this._buffer.lock();const u=d.createSelection(n.selection||a.selection);if(!r.canEditAt(u))return;const p=n.sequence||1,f=u.isCollapsed;if(u.isCollapsed&&r.modifySelection(u,{direction:this.direction,unit:n.unit,treatEmojiAsSingleUnit:!0}),this._shouldEntireContentBeReplacedWithParagraph(p))return void this._replaceEntireContentWithParagraph(d);if(this._shouldReplaceFirstBlockWithParagraph(u,p))return void this.editor.execute("paragraph",{selection:u});if(u.isCollapsed)return;let g=0;u.getFirstRange().getMinimalFlatRanges().forEach(b=>{g+=Gt(b.getWalker({singleCharacters:!0,ignoreElementEnd:!0,shallow:!0}))}),r.deleteContent(u,{doNotResetEntireContent:f,direction:this.direction}),this._buffer.input(g),d.setSelection(u),this._buffer.unlock()})}_shouldEntireContentBeReplacedWithParagraph(n){if(n>1)return!1;const r=this.editor.model,a=r.document.selection,d=r.schema.getLimitElement(a);if(!a.isCollapsed||!a.containsEntireContent(d)||!r.schema.checkChild(d,"paragraph"))return!1;const u=d.getChild(0);return!u||!u.is("element","paragraph")}_replaceEntireContentWithParagraph(n){const r=this.editor.model,d=r.schema.getLimitElement(r.document.selection),u=n.createElement("paragraph");n.remove(n.createRangeIn(d)),n.insert(u,d),n.setSelection(u,0)}_shouldReplaceFirstBlockWithParagraph(n,r){const a=this.editor.model;if(r>1||"backward"!=this.direction||!n.isCollapsed)return!1;const d=n.getFirstPosition(),u=a.schema.getLimitElement(d),p=u.getChild(0);return d.parent==p&&!!n.containsEntireContent(p)&&!!a.schema.checkChild(u,"paragraph")&&"paragraph"!=p.name}}const Ql="selection",Eu="backward",Np="forward",xA={deleteContent:{unit:Ql,direction:Eu},deleteContentBackward:{unit:"codePoint",direction:Eu},deleteWordBackward:{unit:"word",direction:Eu},deleteHardLineBackward:{unit:Ql,direction:Eu},deleteSoftLineBackward:{unit:Ql,direction:Eu},deleteContentForward:{unit:"character",direction:Np},deleteWordForward:{unit:"word",direction:Np},deleteHardLineForward:{unit:Ql,direction:Np},deleteSoftLineForward:{unit:Ql,direction:Np}};class EA extends Ta{constructor(n){super(n);const r=n.document;let a=0;r.on("keydown",()=>{a++}),r.on("keyup",()=>{a=0}),r.on("beforeinput",(d,u)=>{if(!this.isEnabled)return;const{targetRanges:p,domEvent:f,inputType:g}=u,b=xA[g];if(!b)return;const k={direction:b.direction,unit:b.unit,sequence:a};k.unit==Ql&&(k.selectionToRemove=n.createSelection(p[0])),"deleteContentBackward"===g&&(M.isAndroid&&(k.sequence=1),function(B){if(1!=B.length||B[0].isCollapsed)return!1;const U=B[0].getWalker({direction:"backward",singleCharacters:!0,ignoreElementEnd:!0});let Z=0;for(const{nextPosition:te}of U){if(te.parent.is("$text")){const fe=te.parent.data,ge=te.offset;if(Us(fe,ge)||Rh(fe,ge)||a0(fe,ge))continue;Z++}else Z++;if(Z>1)return!0}return!1}(p)&&(k.unit=Ql,k.selectionToRemove=n.createSelection(p)));const S=new Hc(r,"delete",p[0]);r.fire(S,new eu(n,f,k)),S.stop.called&&d.stop()}),M.isBlink&&function(d){const u=d.view,p=u.document;let f=null,g=!1;function b(S){return S==_n.backspace||S==_n.delete}function k(S){return S==_n.backspace?Eu:Np}p.on("keydown",(S,{keyCode:B})=>{f=B,g=!1}),p.on("keyup",(S,{keyCode:B,domEvent:U})=>{const Z=p.selection,te=d.isEnabled&&B==f&&b(B)&&!Z.isCollapsed&&!g;if(f=null,te){const fe=Z.getFirstRange(),ge=new Hc(p,"delete",fe),Ee={unit:Ql,direction:k(B),selectionToRemove:Z};p.fire(ge,new eu(u,U,Ee))}}),p.on("beforeinput",(S,{inputType:B})=>{const U=xA[B];b(f)&&U&&U.direction==k(f)&&(g=!0)},{priority:"high"}),p.on("beforeinput",(S,{inputType:B,data:U})=>{f==_n.delete&&"insertText"==B&&"\x7f"==U&&S.stop()},{priority:"high"})}(this)}observe(){}stopObserving(){}}class Na extends dt{static get pluginName(){return"Delete"}init(){const n=this.editor,r=n.editing.view,a=r.document,d=n.model.document;r.addObserver(EA),this._undoOnBackspace=!1;const u=new DA(n,"forward");n.commands.add("deleteForward",u),n.commands.add("forwardDelete",u),n.commands.add("delete",new DA(n,"backward")),this.listenTo(a,"delete",(p,f)=>{a.isComposing||f.preventDefault();const{direction:g,sequence:b,selectionToRemove:k,unit:S}=f,B="forward"===g?"deleteForward":"delete",U={sequence:b};if("selection"==S){const Z=Array.from(k.getRanges()).map(te=>n.editing.mapper.toModelRange(te));U.selection=n.model.createSelection(Z)}else U.unit=S;n.execute(B,U),r.scrollToTheSelection()},{priority:"low"}),this.editor.plugins.has("UndoEditing")&&(this.listenTo(a,"delete",(p,f)=>{this._undoOnBackspace&&"backward"==f.direction&&1==f.sequence&&"codePoint"==f.unit&&(this._undoOnBackspace=!1,n.execute("undo"),f.preventDefault(),p.stop())},{context:"$capture"}),this.listenTo(d,"change",()=>{this._undoOnBackspace=!1}))}requestUndoOnBackspace(){this.editor.plugins.has("UndoEditing")&&(this._undoOnBackspace=!0)}}class mS extends dt{static get requires(){return[Pp,Na]}static get pluginName(){return"Typing"}}function gS(c,n){let r=c.start;return{text:Array.from(c.getWalker({ignoreElementEnd:!1})).reduce((a,{item:d})=>d.is("$text")||d.is("$textProxy")?a+d.data:(r=n.createPositionAfter(d),""),""),range:n.createRange(r,c.end)}}class hy extends(Xt()){constructor(n,r){super(),this.model=n,this.testCallback=r,this._hasMatch=!1,this.set("isEnabled",!0),this.on("change:isEnabled",()=>{this.isEnabled?this._startListening():(this.stopListening(n.document.selection),this.stopListening(n.document))}),this._startListening()}get hasMatch(){return this._hasMatch}_startListening(){const n=this.model.document;this.listenTo(n.selection,"change:range",(r,{directChange:a})=>{a&&(n.selection.isCollapsed?this._evaluateTextBeforeSelection("selection"):this.hasMatch&&(this.fire("unmatched"),this._hasMatch=!1))}),this.listenTo(n,"change:data",(r,a)=>{!a.isUndo&&a.isLocal&&this._evaluateTextBeforeSelection("data",{batch:a})})}_evaluateTextBeforeSelection(n,r={}){const a=this.model,d=a.document.selection,u=a.createRange(a.createPositionAt(d.focus.parent,0),d.focus),{text:p,range:f}=gS(u,a),g=this.testCallback(p);if(!g&&this.hasMatch&&this.fire("unmatched"),this._hasMatch=!!g,g){const b=Object.assign(r,{text:p,range:f});"object"==typeof g&&Object.assign(b,g),this.fire(`matched:${n}`,b)}}}class py extends dt{constructor(n){super(n),this._isNextGravityRestorationSkipped=!1,this.attributes=new Set,this._overrideUid=null}static get pluginName(){return"TwoStepCaretMovement"}init(){const n=this.editor,d=n.locale,u=n.model.document.selection;this.listenTo(n.editing.view.document,"arrowKey",(p,f)=>{if(!u.isCollapsed||f.shiftKey||f.altKey||f.ctrlKey)return;const g=f.keyCode==_n.arrowright,b=f.keyCode==_n.arrowleft;if(!g&&!b)return;const k=d.contentLanguageDirection;let S=!1;S="ltr"===k&&g||"rtl"===k&&b?this._handleForwardMovement(f):this._handleBackwardMovement(f),!0===S&&p.stop()},{context:"$text",priority:"highest"}),this.listenTo(u,"change:range",(p,f)=>{this._isNextGravityRestorationSkipped?this._isNextGravityRestorationSkipped=!1:this._isGravityOverridden&&(!f.directChange&&Os(u.getFirstPosition(),this.attributes)||this._restoreGravity())}),this._enableClickingAfterNode(),this._enableInsertContentSelectionAttributesFixer(),this._handleDeleteContentAfterNode()}registerAttribute(n){this.attributes.add(n)}_handleForwardMovement(n){const r=this.attributes,a=this.editor.model,d=a.document.selection,u=d.getFirstPosition();return!(this._isGravityOverridden||u.isAtStart&&Jl(d,r)||!Os(u,r)||(Fp(n),Jl(d,r)&&Os(u,r,!0)?Rp(a,r):this._overrideGravity(),0))}_handleBackwardMovement(n){const r=this.attributes,a=this.editor.model,d=a.document.selection,u=d.getFirstPosition();return this._isGravityOverridden?(Fp(n),this._restoreGravity(),Os(u,r,!0)?Rp(a,r):hd(a,r,u),!0):u.isAtStart?!!Jl(d,r)&&(Fp(n),hd(a,r,u),!0):!Jl(d,r)&&Os(u,r,!0)?(Fp(n),hd(a,r,u),!0):!!Qg(u,r)&&(u.isAtEnd&&!Jl(d,r)&&Os(u,r)?(Fp(n),hd(a,r,u),!0):(this._isNextGravityRestorationSkipped=!0,this._overrideGravity(),!1))}_enableClickingAfterNode(){const n=this.editor,r=n.model,a=r.document.selection,d=n.editing.view.document;n.editing.view.addObserver(Is);let u=!1;this.listenTo(d,"mousedown",()=>{u=!0}),this.listenTo(d,"selectionChange",()=>{const p=this.attributes;if(!u||(u=!1,!a.isCollapsed)||!Jl(a,p))return;const f=a.getFirstPosition();Os(f,p)&&(f.isAtStart||Os(f,p,!0)?Rp(r,p):this._isGravityOverridden||this._overrideGravity())})}_enableInsertContentSelectionAttributesFixer(){const n=this.editor.model,r=n.document.selection,a=this.attributes;this.listenTo(n,"insertContent",()=>{const d=r.getFirstPosition();Jl(r,a)&&Os(d,a)&&Rp(n,a)},{priority:"low"})}_handleDeleteContentAfterNode(){const n=this.editor,r=n.model,a=r.document.selection;let u=!1,p=!1;this.listenTo(n.editing.view.document,"delete",(f,g)=>{u="backward"===g.direction},{priority:"high"}),this.listenTo(r,"deleteContent",()=>{if(!u)return;const f=a.getFirstPosition();p=Jl(a,this.attributes)&&!Qg(f,this.attributes)},{priority:"high"}),this.listenTo(r,"deleteContent",()=>{u&&(u=!1,p||n.model.enqueueChange(()=>{const f=a.getFirstPosition();Jl(a,this.attributes)&&Os(f,this.attributes)&&(f.isAtStart||Os(f,this.attributes,!0)?Rp(r,this.attributes):this._isGravityOverridden||this._overrideGravity())}))},{priority:"low"})}get _isGravityOverridden(){return!!this._overrideUid}_overrideGravity(){this._overrideUid=this.editor.model.change(n=>n.overrideSelectionGravity())}_restoreGravity(){this.editor.model.change(n=>{n.restoreSelectionGravity(this._overrideUid),this._overrideUid=null})}}function Jl(c,n){for(const r of n)if(c.hasAttribute(r))return!0;return!1}function hd(c,n,r){const a=r.nodeBefore;c.change(d=>{if(a){const u=[],p=c.schema.isObject(a)&&c.schema.isInline(a);for(const[f,g]of a.getAttributes())!c.schema.checkAttribute("$text",f)||p&&!1===c.schema.getAttributeProperties(f).copyFromObject||u.push([f,g]);d.setSelectionAttribute(u)}else d.removeSelectionAttribute(n)})}function Rp(c,n){c.change(r=>{r.removeSelectionAttribute(n)})}function Fp(c){c.preventDefault()}function Qg(c,n){return Os(c.getShiftedBy(-1),n)}function Os(c,n,r=!1){const{nodeBefore:a,nodeAfter:d}=c;for(const u of n){const p=a?a.getAttribute(u):void 0,f=d?d.getAttribute(u):void 0;if((!r||void 0!==p&&void 0!==f)&&f!==p)return!0}return!1}const ea={copyright:{from:"(c)",to:"\xa9"},registeredTrademark:{from:"(r)",to:"\xae"},trademark:{from:"(tm)",to:"\u2122"},oneHalf:{from:/(^|[^/a-z0-9])(1\/2)([^/a-z0-9])$/i,to:[null,"\xbd",null]},oneThird:{from:/(^|[^/a-z0-9])(1\/3)([^/a-z0-9])$/i,to:[null,"\u2153",null]},twoThirds:{from:/(^|[^/a-z0-9])(2\/3)([^/a-z0-9])$/i,to:[null,"\u2154",null]},oneForth:{from:/(^|[^/a-z0-9])(1\/4)([^/a-z0-9])$/i,to:[null,"\xbc",null]},threeQuarters:{from:/(^|[^/a-z0-9])(3\/4)([^/a-z0-9])$/i,to:[null,"\xbe",null]},lessThanOrEqual:{from:"<=",to:"\u2264"},greaterThanOrEqual:{from:">=",to:"\u2265"},notEqual:{from:"!=",to:"\u2260"},arrowLeft:{from:"<-",to:"\u2190"},arrowRight:{from:"->",to:"\u2192"},horizontalEllipsis:{from:"...",to:"\u2026"},enDash:{from:/(^| )(--)( )$/,to:[null,"\u2013",null]},emDash:{from:/(^| )(---)( )$/,to:[null,"\u2014",null]},quotesPrimary:{from:mt('"'),to:[null,"\u201c",null,"\u201d"]},quotesSecondary:{from:mt("'"),to:[null,"\u2018",null,"\u2019"]},quotesPrimaryEnGb:{from:mt("'"),to:[null,"\u2018",null,"\u2019"]},quotesSecondaryEnGb:{from:mt('"'),to:[null,"\u201c",null,"\u201d"]},quotesPrimaryPl:{from:mt('"'),to:[null,"\u201e",null,"\u201d"]},quotesSecondaryPl:{from:mt("'"),to:[null,"\u201a",null,"\u2019"]}},Su={symbols:["copyright","registeredTrademark","trademark"],mathematical:["oneHalf","oneThird","twoThirds","oneForth","threeQuarters","lessThanOrEqual","greaterThanOrEqual","notEqual","arrowLeft","arrowRight"],typography:["horizontalEllipsis","enDash","emDash"],quotes:["quotesPrimary","quotesSecondary"]},ir=["symbols","mathematical","typography","quotes"];function pd(c){return"string"==typeof c?new RegExp(`(${nA(c)})$`):c}function Jg(c){return"string"==typeof c?()=>[c]:c instanceof Array?()=>c:c}function Ps(c){return(c.textNode?c.textNode:c.nodeAfter).getAttributes()}function mt(c){return new RegExp(`(^|\\s)(${c})([^${c}]*)(${c})$`)}function kl(c,n,r,a){return a.createRange(fd(c,n,r,!0,a),fd(c,n,r,!1,a))}function fd(c,n,r,a,d){let u=c.textNode||(a?c.nodeBefore:c.nodeAfter),p=null;for(;u&&u.getAttribute(n)==r;)p=u,u=a?u.previousSibling:u.nextSibling;return p?d.createPositionAt(p,a?"before":"after"):c}function*md(c,n){for(const r of n)r&&c.getAttributeProperties(r[0]).copyOnEnter&&(yield r)}class Iu extends Tn{execute(){this.editor.model.change(n=>{this.enterBlock(n),this.fire("afterExecute",{writer:n})})}enterBlock(n){const r=this.editor.model,a=r.document.selection,d=r.schema,u=a.isCollapsed,p=a.getFirstRange(),f=p.start.parent,g=p.end.parent;if(d.isLimit(f)||d.isLimit(g))return u||f!=g||r.deleteContent(a),!1;if(u){const b=md(n.model.schema,a.getAttributes());return gd(n,p.start),n.setSelectionAttribute(b),!0}{const b=!(p.start.isAtStart&&p.end.isAtEnd),k=f==g;if(r.deleteContent(a,{leaveUnmerged:b}),b){if(k)return gd(n,a.focus),!0;n.setSelection(g,0)}}return!1}}function gd(c,n){c.split(n),c.setSelection(n.parent.nextSibling,0)}const Lu={insertParagraph:{isSoft:!1},insertLineBreak:{isSoft:!0}};class _d extends Ta{constructor(n){super(n);const r=this.document;let a=!1;r.on("keydown",(d,u)=>{a=u.shiftKey}),r.on("beforeinput",(d,u)=>{if(!this.isEnabled)return;let p=u.inputType;M.isSafari&&a&&"insertParagraph"==p&&(p="insertLineBreak");const f=u.domEvent,g=Lu[p];if(!g)return;const b=new Hc(r,"enter",u.targetRanges[0]);r.fire(b,new eu(n,f,{isSoft:g.isSoft})),b.stop.called&&d.stop()})}observe(){}stopObserving(){}}class wl extends dt{static get pluginName(){return"Enter"}init(){const n=this.editor,r=n.editing.view,a=r.document,d=this.editor.t;r.addObserver(_d),n.commands.add("enter",new Iu(n)),this.listenTo(a,"enter",(u,p)=>{a.isComposing||p.preventDefault(),p.isSoft||(n.execute("enter"),r.scrollToTheSelection())},{priority:"low"}),n.accessibility.addKeystrokeInfos({keystrokes:[{label:d("Insert a hard break (a new paragraph)"),keystroke:"Enter"}]})}}class Ou extends Tn{execute(){const n=this.editor.model,r=n.document;n.change(a=>{(function(d,u,p){const f=p.isCollapsed,g=p.getFirstRange(),k=g.end.parent,S=g.start.parent==k;if(f){const B=md(d.schema,p.getAttributes());fy(d,u,g.end),u.removeSelectionAttribute(p.getAttributeKeys()),u.setSelectionAttribute(B)}else{const B=!(g.start.isAtStart&&g.end.isAtEnd);d.deleteContent(p,{leaveUnmerged:B}),S?fy(d,u,p.focus):B&&u.setSelection(k,0)}})(n,a,r.selection),this.fire("afterExecute",{writer:a})})}refresh(){const n=this.editor.model;this.isEnabled=function(a,d){if(d.rangeCount>1)return!1;const u=d.anchor;if(!u||!a.checkChild(u,"softBreak"))return!1;const p=d.getFirstRange(),f=p.start.parent,g=p.end.parent;return!((Xg(f,a)||Xg(g,a))&&f!==g)}(n.schema,n.document.selection)}}function fy(c,n,r){const a=n.createElement("softBreak");c.insertContent(a,r),n.setSelection(a,"after")}function Xg(c,n){return!c.is("rootElement")&&(n.isLimit(c)||Xg(c.parent,n))}class SA extends dt{static get pluginName(){return"ShiftEnter"}init(){const n=this.editor,a=n.conversion,d=n.editing.view,u=d.document,p=this.editor.t;n.model.schema.register("softBreak",{allowWhere:"$text",isInline:!0}),a.for("upcast").elementToElement({model:"softBreak",view:"br"}),a.for("downcast").elementToElement({model:"softBreak",view:(f,{writer:g})=>g.createEmptyElement("br")}),d.addObserver(_d),n.commands.add("shiftEnter",new Ou(n)),this.listenTo(u,"enter",(f,g)=>{u.isComposing||g.preventDefault(),g.isSoft&&(n.execute("shiftEnter"),d.scrollToTheSelection())},{priority:"low"}),n.accessibility.addKeystrokeInfos({keystrokes:[{label:p("Insert a soft break (a <code>&lt;br&gt;</code> element)"),keystroke:"Shift+Enter"}]})}}class IA extends(ye()){constructor(){super(...arguments),this._stack=[]}add(n,r){const a=this._stack,d=a[0];this._insertDescriptor(n);const u=a[0];d===u||e_(d,u)||this.fire("change:top",{oldDescriptor:d,newDescriptor:u,writer:r})}remove(n,r){const a=this._stack,d=a[0];this._removeDescriptor(n);const u=a[0];d===u||e_(d,u)||this.fire("change:top",{oldDescriptor:d,newDescriptor:u,writer:r})}_insertDescriptor(n){const r=this._stack,a=r.findIndex(u=>u.id===n.id);if(e_(n,r[a]))return;a>-1&&r.splice(a,1);let d=0;for(;r[d]&&LA(r[d],n);)d++;r.splice(d,0,n)}_removeDescriptor(n){const r=this._stack,a=r.findIndex(d=>d.id===n);a>-1&&r.splice(a,1)}}function e_(c,n){return c&&n&&c.priority==n.priority&&Bp(c.classes)==Bp(n.classes)}function LA(c,n){return c.priority>n.priority||!(c.priority<n.priority)&&Bp(c.classes)>Bp(n.classes)}function Bp(c){return Array.isArray(c)?c.sort().join(","):c}const OA='<svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4 0v1H1v3H0V.5A.5.5 0 0 1 .5 0H4zm8 0h3.5a.5.5 0 0 1 .5.5V4h-1V1h-3V0zM4 16H.5a.5.5 0 0 1-.5-.5V12h1v3h3v1zm8 0v-1h3v-3h1v3.5a.5.5 0 0 1-.5.5H12z"/><path fill-opacity=".256" d="M1 1h14v14H1z"/><g class="ck-icon__selected-indicator"><path d="M7 0h2v1H7V0zM0 7h1v2H0V7zm15 0h1v2h-1V7zm-8 8h2v1H7v-1z"/><path fill-opacity=".254" d="M1 1h14v14H1z"/></g></svg>',PA="ck-widget",t_="ck-widget_selected";function wo(c){return!!c.is("element")&&!!c.getCustomProperty("widget")}function NA(c,n,r={}){if(!c.is("containerElement"))throw new Y("widget-to-widget-wrong-element-type",null,{element:c});return n.setAttribute("contenteditable","false",c),n.addClass(PA,c),n.setCustomProperty("widget",!0,c),c.getFillerOffset=kO,n.setCustomProperty("widgetLabel",[],c),r.label&&(d=r.label,c.getCustomProperty("widgetLabel").push(d)),r.hasSelectionHandle&&function(a,d){const u=d.createUIElement("div",{class:"ck ck-widget__selection-handle"},function(p){const f=this.toDomElement(p),g=new rd;return g.set("content",OA),g.render(),f.appendChild(g.element),f});d.insert(d.createPositionAt(a,0),u),d.addClass(["ck-widget_with-selection-handle"],a)}(c,n),RA(c,n),c;var d}function yO(c,n,r){if(n.classes&&r.addClass(Zn(n.classes),c),n.attributes)for(const a in n.attributes)r.setAttribute(a,n.attributes[a],c)}function _S(c,n,r){if(n.classes&&r.removeClass(Zn(n.classes),c),n.attributes)for(const a in n.attributes)r.removeAttribute(a,c)}function RA(c,n,r=yO,a=_S){const d=new IA;d.on("change:top",(u,p)=>{p.oldDescriptor&&a(c,p.oldDescriptor,p.writer),p.newDescriptor&&r(c,p.newDescriptor,p.writer)}),n.setCustomProperty("addHighlight",(u,p,f)=>d.add(p,f),c),n.setCustomProperty("removeHighlight",(u,p,f)=>d.remove(p,f),c)}function bS(c,n,r={}){return n.addClass(["ck-editor__editable","ck-editor__nested-editable"],c),n.setAttribute("role","textbox",c),r.label&&n.setAttribute("aria-label",r.label,c),n.setAttribute("contenteditable",c.isReadOnly?"false":"true",c),c.on("change:isReadOnly",(a,d,u)=>{n.setAttribute("contenteditable",u?"false":"true",c)}),c.on("change:isFocused",(a,d,u)=>{u?n.addClass("ck-editor__nested-editable_focused",c):n.removeClass("ck-editor__nested-editable_focused",c)}),RA(c,n),c}function FA(c,n){const r=c.getSelectedElement();if(r){const a=Xl(c);if(a)return n.createRange(n.createPositionAt(r,a))}return n.schema.findOptimalInsertionRange(c)}function kO(){return null}const Cl="widget-type-around";function bd(c,n,r){return!!c&&wo(c)&&!r.isInline(n)}function Xl(c){return c.getAttribute(Cl)}var n_=L(8508);yt()(n_.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const i_=["before","after"],o_=(new DOMParser).parseFromString('<svg viewBox="0 0 10 8" xmlns="http://www.w3.org/2000/svg"><path d="M9.055.263v3.972h-6.77M1 4.216l2-2.038m-2 2 2 2.038"/></svg>',"image/svg+xml").firstChild,my="ck-widget__type-around_disabled";class zp extends dt{constructor(){super(...arguments),this._currentFakeCaretModelElement=null}static get pluginName(){return"WidgetTypeAround"}static get requires(){return[wl,Na]}init(){const n=this.editor,r=n.editing.view;this.on("change:isEnabled",(a,d,u)=>{r.change(p=>{for(const f of r.document.roots)u?p.removeClass(my,f):p.addClass(my,f)}),u||n.model.change(p=>{p.removeSelectionAttribute(Cl)})}),this._enableTypeAroundUIInjection(),this._enableInsertingParagraphsOnButtonClick(),this._enableInsertingParagraphsOnEnterKeypress(),this._enableInsertingParagraphsOnTypingKeystroke(),this._enableTypeAroundFakeCaretActivationUsingKeyboardArrows(),this._enableDeleteIntegration(),this._enableInsertContentIntegration(),this._enableInsertObjectIntegration(),this._enableDeleteContentIntegration()}destroy(){super.destroy(),this._currentFakeCaretModelElement=null}_insertParagraph(n,r){const a=this.editor,d=a.editing.view,u=a.model.schema.getAttributesWithProperty(n,"copyOnReplace",!0);a.execute("insertParagraph",{position:a.model.createPositionAt(n,r),attributes:u}),d.focus(),d.scrollToTheSelection()}_listenToIfEnabled(n,r,a,d){this.listenTo(n,r,(...u)=>{this.isEnabled&&a(...u)},d)}_insertParagraphAccordingToFakeCaretPosition(){const n=this.editor.model.document.selection,r=Xl(n);if(!r)return!1;const a=n.getSelectedElement();return this._insertParagraph(a,r),!0}_enableTypeAroundUIInjection(){const n=this.editor,r=n.model.schema,a=n.locale.t,d={before:a("Insert paragraph before block"),after:a("Insert paragraph after block")};n.editing.downcastDispatcher.on("insert",(u,p,f)=>{const g=f.mapper.toViewElement(p.item);g&&bd(g,p.item,r)&&(function(b,k,S){const B=b.createUIElement("div",{class:"ck ck-reset_all ck-widget__type-around"},function(U){const Z=this.toDomElement(U);return function(te,fe){for(const ge of i_){const Ee=new La({tag:"div",attributes:{class:["ck","ck-widget__type-around__button",`ck-widget__type-around__button_${ge}`],title:fe[ge],"aria-hidden":"true"},children:[te.ownerDocument.importNode(o_,!0)]});te.appendChild(Ee.render())}}(Z,k),function(te){const fe=new La({tag:"div",attributes:{class:["ck","ck-widget__type-around__fake-caret"]}});te.appendChild(fe.render())}(Z),Z});b.insert(b.createPositionAt(S,"end"),B)}(f.writer,d,g),g.getCustomProperty("widgetLabel").push(()=>this.isEnabled?a("Press Enter to type after or press Shift + Enter to type before the widget"):""))},{priority:"low"})}_enableTypeAroundFakeCaretActivationUsingKeyboardArrows(){const n=this.editor,r=n.model,a=r.document.selection,d=r.schema;function p(f){return`ck-widget_type-around_show-fake-caret_${f}`}this._listenToIfEnabled(n.editing.view.document,"arrowKey",(f,g)=>{this._handleArrowKeyPress(f,g)},{context:[wo,"$text"],priority:"high"}),this._listenToIfEnabled(a,"change:range",(f,g)=>{g.directChange&&n.model.change(b=>{b.removeSelectionAttribute(Cl)})}),this._listenToIfEnabled(r.document,"change:data",()=>{const f=a.getSelectedElement();f&&bd(n.editing.mapper.toViewElement(f),f,d)||n.model.change(g=>{g.removeSelectionAttribute(Cl)})}),this._listenToIfEnabled(n.editing.downcastDispatcher,"selection",(f,g,b)=>{const k=b.writer;if(this._currentFakeCaretModelElement){const Z=b.mapper.toViewElement(this._currentFakeCaretModelElement);Z&&(k.removeClass(i_.map(p),Z),this._currentFakeCaretModelElement=null)}const S=g.selection.getSelectedElement();if(!S)return;const B=b.mapper.toViewElement(S);if(!bd(B,S,d))return;const U=Xl(g.selection);U&&(k.addClass(p(U),B),this._currentFakeCaretModelElement=S)}),this._listenToIfEnabled(n.ui.focusTracker,"change:isFocused",(f,g,b)=>{b||n.model.change(k=>{k.removeSelectionAttribute(Cl)})})}_handleArrowKeyPress(n,r){const a=this.editor,d=a.model,u=d.document.selection,p=d.schema,f=a.editing.view,g=function(S,B){const U=ll(S,B);return"down"===U||"right"===U}(r.keyCode,a.locale.contentLanguageDirection),b=f.document.selection.getSelectedElement();let k;bd(b,a.editing.mapper.toModelElement(b),p)?k=this._handleArrowKeyPressOnSelectedWidget(g):u.isCollapsed?k=this._handleArrowKeyPressWhenSelectionNextToAWidget(g):r.shiftKey||(k=this._handleArrowKeyPressWhenNonCollapsedSelection(g)),k&&(r.preventDefault(),n.stop())}_handleArrowKeyPressOnSelectedWidget(n){const r=this.editor.model,a=Xl(r.document.selection);return r.change(d=>a?a!==(n?"after":"before")&&(d.removeSelectionAttribute(Cl),!0):(d.setSelectionAttribute(Cl,n?"after":"before"),!0))}_handleArrowKeyPressWhenSelectionNextToAWidget(n){const r=this.editor,a=r.model,d=a.schema,u=r.plugins.get("Widget"),p=u._getObjectElementNextToSelection(n);return!!bd(r.editing.mapper.toViewElement(p),p,d)&&(a.change(f=>{u._setSelectionOverElement(p),f.setSelectionAttribute(Cl,n?"before":"after")}),!0)}_handleArrowKeyPressWhenNonCollapsedSelection(n){const r=this.editor,a=r.model,d=a.schema,u=r.editing.mapper,p=a.document.selection,f=n?p.getLastPosition().nodeBefore:p.getFirstPosition().nodeAfter;return!!bd(u.toViewElement(f),f,d)&&(a.change(g=>{g.setSelection(f,"on"),g.setSelectionAttribute(Cl,n?"after":"before")}),!0)}_enableInsertingParagraphsOnButtonClick(){const n=this.editor,r=n.editing.view;this._listenToIfEnabled(r.document,"mousedown",(a,d)=>{const u=d.domTarget.closest(".ck-widget__type-around__button");if(!u)return;const p=u.classList.contains("ck-widget__type-around__button_before")?"before":"after",f=function(b,k){const S=b.closest(".ck-widget");return k.mapDomToView(S)}(u,r.domConverter),g=n.editing.mapper.toModelElement(f);this._insertParagraph(g,p),d.preventDefault(),a.stop()})}_enableInsertingParagraphsOnEnterKeypress(){const n=this.editor,r=n.model.document.selection;this._listenToIfEnabled(n.editing.view.document,"enter",(d,u)=>{if("atTarget"!=d.eventPhase)return;const p=r.getSelectedElement(),f=n.editing.mapper.toViewElement(p),g=n.model.schema;let b;this._insertParagraphAccordingToFakeCaretPosition()?b=!0:bd(f,p,g)&&(this._insertParagraph(p,u.isSoft?"before":"after"),b=!0),b&&(u.preventDefault(),d.stop())},{context:wo})}_enableInsertingParagraphsOnTypingKeystroke(){const n=this.editor.editing.view.document;this._listenToIfEnabled(n,"insertText",(r,a)=>{this._insertParagraphAccordingToFakeCaretPosition()&&(a.selection=n.selection)},{priority:"high"}),M.isAndroid?this._listenToIfEnabled(n,"keydown",(r,a)=>{229==a.keyCode&&this._insertParagraphAccordingToFakeCaretPosition()}):this._listenToIfEnabled(n,"compositionstart",()=>{this._insertParagraphAccordingToFakeCaretPosition()},{priority:"high"})}_enableDeleteIntegration(){const n=this.editor,a=n.model,d=a.schema;this._listenToIfEnabled(n.editing.view.document,"delete",(u,p)=>{if("atTarget"!=u.eventPhase)return;const f=Xl(a.document.selection);if(!f)return;const g=p.direction,b=a.document.selection.getSelectedElement(),k="forward"==g;if("before"===f===k)n.execute("delete",{selection:a.createSelection(b,"on")});else{const S=d.getNearestSelectionRange(a.createPositionAt(b,f),g);if(S)if(S.isCollapsed){const B=a.createSelection(S.start);if(a.modifySelection(B,{direction:g}),B.focus.isEqual(S.start)){const U=function(Z,te){let fe=te;for(const ge of te.getAncestors({parentFirst:!0})){if(ge.childCount>1||Z.isLimit(ge))break;fe=ge}return fe}(d,S.start.parent);a.deleteContent(a.createSelection(U,"on"),{doNotAutoparagraph:!0})}else a.change(U=>{U.setSelection(S),n.execute(k?"deleteForward":"delete")})}else a.change(B=>{B.setSelection(S),n.execute(k?"deleteForward":"delete")})}p.preventDefault(),u.stop()},{context:wo})}_enableInsertContentIntegration(){const r=this.editor.model,a=r.document.selection;this._listenToIfEnabled(this.editor.model,"insertContent",(d,[u,p])=>{if(p&&!p.is("documentSelection"))return;const f=Xl(a);return f?(d.stop(),r.change(g=>{const b=a.getSelectedElement(),k=r.createPositionAt(b,f),S=g.createSelection(k),B=r.insertContent(u,S);return g.setSelection(S),B})):void 0},{priority:"high"})}_enableInsertObjectIntegration(){const r=this.editor.model.document.selection;this._listenToIfEnabled(this.editor.model,"insertObject",(a,d)=>{const[,u,p={}]=d;if(u&&!u.is("documentSelection"))return;const f=Xl(r);f&&(p.findOptimalPosition=f,d[3]=p)},{priority:"high"})}_enableDeleteContentIntegration(){const r=this.editor.model.document.selection;this._listenToIfEnabled(this.editor.model,"deleteContent",(a,[d])=>{d&&!d.is("documentSelection")||Xl(r)&&a.stop()},{priority:"high"})}}function jA(c,n,r){const a=c.schema,d=c.createRangeIn(n.root),u="forward"==r?"elementStart":"elementEnd";for(const{previousPosition:p,item:f,type:g}of d.getWalker({startPosition:n,direction:r})){if(a.isLimit(f)&&!a.isInline(f))return p;if(g==u&&a.isBlock(f))return null}return null}function Pu(c,n,r){const a="backward"==r?n.end:n.start;if(c.checkChild(a,"$text"))return a;for(const{nextPosition:d}of n.getWalker({direction:r}))if(c.checkChild(d,"$text"))return d;return null}var zA=L(695);yt()(zA.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Vp extends dt{constructor(){super(...arguments),this._previouslySelected=new Set}static get pluginName(){return"Widget"}static get requires(){return[zp,Na]}init(){const n=this.editor,r=n.editing.view,a=r.document,d=n.t;this.editor.editing.downcastDispatcher.on("selection",(u,p,f)=>{const g=f.writer,b=p.selection;if(b.isCollapsed)return;const k=b.getSelectedElement();if(!k)return;const S=n.editing.mapper.toViewElement(k);var B;wo(S)&&f.consumable.consume(b,"selection")&&g.setSelection(g.createRangeOn(S),{fake:!0,label:(B=S,B.getCustomProperty("widgetLabel").reduce((U,Z)=>"function"==typeof Z?U?U+". "+Z():Z():U?U+". "+Z:Z,""))})}),this.editor.editing.downcastDispatcher.on("selection",(u,p,f)=>{this._clearPreviouslySelectedWidgets(f.writer);const g=f.writer,b=g.document.selection;let k=null;for(const S of b.getRanges())for(const B of S){const U=B.item;wo(U)&&!yS(U,k)&&(g.addClass(t_,U),this._previouslySelected.add(U),k=U)}},{priority:"low"}),r.addObserver(Is),this.listenTo(a,"mousedown",(...u)=>this._onMousedown(...u)),this.listenTo(a,"arrowKey",(...u)=>{this._handleSelectionChangeOnArrowKeyPress(...u)},{context:[wo,"$text"]}),this.listenTo(a,"arrowKey",(...u)=>{this._preventDefaultOnArrowKeyPress(...u)},{context:"$root"}),this.listenTo(a,"arrowKey",function BA(c){const n=c.model;return(r,a)=>{const u=a.keyCode==_n.arrowdown,p=a.shiftKey,f=n.document.selection;if(a.keyCode!=_n.arrowup&&!u)return;const g=u;if(p&&!(k=f).isCollapsed&&k.isBackward==g)return;var k;const b=function(k,S,B){const U=k.model;if(B){const Z=S.isCollapsed?S.focus:S.getLastPosition(),te=jA(U,Z,"forward");if(!te)return null;const fe=U.createRange(Z,te),ge=Pu(U.schema,fe,"backward");return ge?U.createRange(Z,ge):null}{const Z=S.isCollapsed?S.focus:S.getFirstPosition(),te=jA(U,Z,"backward");if(!te)return null;const fe=U.createRange(te,Z),ge=Pu(U.schema,fe,"forward");return ge?U.createRange(ge,Z):null}}(c,f,g);if(b){if(b.isCollapsed&&(f.isCollapsed||p))return;(b.isCollapsed||function(k,S,B){const U=k.model,Z=k.view.domConverter;if(B){const He=U.createSelection(S.start);U.modifySelection(He),He.focus.isAtEnd||S.start.isEqual(He.focus)||(S=U.createRange(He.focus,S.end))}const te=k.mapper.toViewRange(S),fe=Z.viewRangeToDom(te),ge=Xe.getDomRangeRects(fe);let Ee;for(const He of ge)if(void 0!==Ee){if(Math.round(He.top)>=Ee)return!1;Ee=Math.max(Ee,Math.round(He.bottom))}else Ee=Math.round(He.bottom);return!0}(c,b,g))&&(n.change(k=>{const S=g?b.end:b.start;if(p){const B=n.createSelection(f.anchor);B.setFocus(S),k.setSelection(B)}else k.setSelection(S)}),r.stop(),a.preventDefault(),a.stopPropagation())}}}(this.editor.editing),{context:"$text"}),this.listenTo(a,"delete",(u,p)=>{this._handleDelete("forward"==p.direction)&&(p.preventDefault(),u.stop())},{context:"$root"}),n.accessibility.addKeystrokeInfoGroup({id:"widget",label:d("Keystrokes that can be used when a widget is selected (for example: image, table, etc.)"),keystrokes:[{label:d("Insert a new paragraph directly after a widget"),keystroke:"Enter"},{label:d("Insert a new paragraph directly before a widget"),keystroke:"Shift+Enter"},{label:d("Move the caret to allow typing directly before a widget"),keystroke:[["arrowup"],["arrowleft"]]},{label:d("Move the caret to allow typing directly after a widget"),keystroke:[["arrowdown"],["arrowright"]]}]})}_onMousedown(n,r){const a=this.editor,d=a.editing.view,u=d.document;let p=r.target;if(r.domEvent.detail>=3)return void(this._selectBlockContent(p)&&r.preventDefault());if(function(g){let b=g;for(;b;){if(b.is("editableElement")&&!b.is("rootElement"))return!0;if(wo(b))return!1;b=b.parent}return!1}(p)||!wo(p)&&(p=p.findAncestor(wo),!p))return;M.isAndroid&&r.preventDefault(),u.isFocused||d.focus();const f=a.editing.mapper.toModelElement(p);this._setSelectionOverElement(f)}_selectBlockContent(n){const r=this.editor,a=r.model,d=r.editing.mapper,u=a.schema,p=d.findMappedViewAncestor(this.editor.editing.view.createPositionAt(n,0)),f=function(g,b){for(const k of g.getAncestors({includeSelf:!0,parentFirst:!0})){if(b.checkChild(k,"$text"))return k;if(b.isLimit(k)&&!b.isObject(k))break}return null}(d.toModelElement(p),a.schema);return!!f&&(a.change(g=>{const b=u.isLimit(f)?null:function(B,U){const Z=new Zs({startPosition:B});for(const{item:te}of Z){if(U.isLimit(te)||!te.is("element"))return null;if(U.checkChild(te,"$text"))return te}return null}(g.createPositionAfter(f),u),k=g.createPositionAt(f,0),S=b?g.createPositionAt(b,0):g.createPositionAt(f,"end");g.setSelection(g.createRange(k,S))}),!0)}_handleSelectionChangeOnArrowKeyPress(n,r){const a=r.keyCode,d=this.editor.model,u=d.schema,p=d.document.selection,f=p.getSelectedElement(),g=ll(a,this.editor.locale.contentLanguageDirection),b="down"==g||"right"==g,k="up"==g||"down"==g;if(f&&u.isObject(f)){const B=b?p.getLastPosition():p.getFirstPosition(),U=u.getNearestSelectionRange(B,b?"forward":"backward");return void(U&&(d.change(Z=>{Z.setSelection(U)}),r.preventDefault(),n.stop()))}if(!p.isCollapsed&&!r.shiftKey){const B=p.getFirstPosition(),U=p.getLastPosition(),Z=B.nodeAfter,te=U.nodeBefore;return void((Z&&u.isObject(Z)||te&&u.isObject(te))&&(d.change(fe=>{fe.setSelection(b?U:B)}),r.preventDefault(),n.stop()))}if(!p.isCollapsed)return;const S=this._getObjectElementNextToSelection(b);if(S&&u.isObject(S)){if(u.isInline(S)&&k)return;this._setSelectionOverElement(S),r.preventDefault(),n.stop()}}_preventDefaultOnArrowKeyPress(n,r){const a=this.editor.model,d=a.schema,u=a.document.selection.getSelectedElement();u&&d.isObject(u)&&(r.preventDefault(),n.stop())}_handleDelete(n){const r=this.editor.model.document.selection;if(!this.editor.model.canEditAt(r)||!r.isCollapsed)return;const a=this._getObjectElementNextToSelection(n);return a?(this.editor.model.change(d=>{let u=r.anchor.parent;for(;u.isEmpty;){const p=u;u=p.parent,d.remove(p)}this._setSelectionOverElement(a)}),!0):void 0}_setSelectionOverElement(n){this.editor.model.change(r=>{r.setSelection(r.createRangeOn(n))})}_getObjectElementNextToSelection(n){const r=this.editor.model,a=r.schema,d=r.document.selection,u=r.createSelection(d);if(r.modifySelection(u,{direction:n?"forward":"backward"}),u.isEqual(d))return null;const p=n?u.focus.nodeBefore:u.focus.nodeAfter;return p&&a.isObject(p)?p:null}_clearPreviouslySelectedWidgets(n){for(const r of this._previouslySelected)n.removeClass(t_,r);this._previouslySelected.clear()}}function yS(c,n){return!!n&&Array.from(c.getAncestors()).includes(n)}class Nu extends dt{constructor(){super(...arguments),this._toolbarDefinitions=new Map}static get requires(){return[Zl]}static get pluginName(){return"WidgetToolbarRepository"}init(){const n=this.editor;if(n.plugins.has("BalloonToolbar")){const r=n.plugins.get("BalloonToolbar");this.listenTo(r,"show",a=>{(function(d){const u=d.getSelectedElement();return!(!u||!wo(u))})(n.editing.view.document.selection)&&a.stop()},{priority:"high"})}this._balloon=this.editor.plugins.get("ContextualBalloon"),this.on("change:isEnabled",()=>{this._updateToolbarsVisibility()}),this.listenTo(n.ui,"update",()=>{this._updateToolbarsVisibility()}),this.listenTo(n.ui.focusTracker,"change:isFocused",()=>{this._updateToolbarsVisibility()},{priority:"low"})}destroy(){super.destroy();for(const n of this._toolbarDefinitions.values())n.view.destroy()}register(n,{ariaLabel:r,items:a,getRelatedElement:d,balloonClassName:u="ck-toolbar-container"}){if(!a.length)return void ie("widget-toolbar-no-items",{toolbarId:n});const p=this.editor,f=p.t,g=new Cu(p.locale);if(g.ariaLabel=r||f("Widget toolbar"),this._toolbarDefinitions.has(n))throw new Y("widget-toolbar-duplicated",this,{toolbarId:n});const b={view:g,getRelatedElement:d,balloonClassName:u,itemsConfig:a,initialized:!1};p.ui.addToolbar(g,{isContextual:!0,beforeFocus:()=>{const k=d(p.editing.view.document.selection);k&&this._showToolbar(b,k)},afterBlur:()=>{this._hideToolbar(b)}}),this._toolbarDefinitions.set(n,b)}_updateToolbarsVisibility(){let n=0,r=null,a=null;for(const d of this._toolbarDefinitions.values()){const u=d.getRelatedElement(this.editor.editing.view.document.selection);if(this.isEnabled&&u)if(this.editor.ui.focusTracker.isFocused){const p=u.getAncestors().length;p>n&&(n=p,r=u,a=d)}else this._isToolbarVisible(d)&&this._hideToolbar(d);else this._isToolbarInBalloon(d)&&this._hideToolbar(d)}a&&this._showToolbar(a,r)}_hideToolbar(n){this._balloon.remove(n.view),this.stopListening(this._balloon,"change:visibleView")}_showToolbar(n,r){this._isToolbarVisible(n)?Hp(this.editor,r):this._isToolbarInBalloon(n)||(n.initialized||(n.initialized=!0,n.view.fillFromConfig(n.itemsConfig,this.editor.ui.componentFactory)),this._balloon.add({view:n.view,position:Yp(this.editor,r),balloonClassName:n.balloonClassName}),this.listenTo(this._balloon,"change:visibleView",()=>{for(const a of this._toolbarDefinitions.values())if(this._isToolbarVisible(a)){const d=a.getRelatedElement(this.editor.editing.view.document.selection);Hp(this.editor,d)}}))}_isToolbarVisible(n){return this._balloon.visibleView===n.view}_isToolbarInBalloon(n){return this._balloon.hasView(n.view)}}function Hp(c,n){const r=c.plugins.get("ContextualBalloon"),a=Yp(c,n);r.updatePosition(a)}function Yp(c,n){const a=qr.defaultPositions;return{target:c.editing.view.domConverter.mapViewToDom(n),positions:[a.northArrowSouth,a.northArrowSouthWest,a.northArrowSouthEast,a.southArrowNorth,a.southArrowNorthWest,a.southArrowNorthEast,a.viewportStickyNorth]}}Xt(),Xt();var kS=L(4095);yt()(kS.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const gy=Ds("px");class _y extends on{constructor(){super();const n=this.bindTemplate;this.set({isVisible:!1,left:null,top:null,width:null}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-clipboard-drop-target-line",n.if("isVisible","ck-hidden",r=>!r)],style:{left:n.to("left",r=>gy(r)),top:n.to("top",r=>gy(r)),width:n.to("width",r=>gy(r))}}})}}class r_ extends dt{constructor(){super(...arguments),this.removeDropMarkerDelayed=Am(()=>this.removeDropMarker(),40),this._updateDropMarkerThrottled=Cp(n=>this._updateDropMarker(n),40),this._reconvertMarkerThrottled=Cp(()=>{this.editor.model.markers.has("drop-target")&&this.editor.editing.reconvertMarker("drop-target")},0),this._dropTargetLineView=new _y,this._domEmitter=new(Rr()),this._scrollables=new Map}static get pluginName(){return"DragDropTarget"}init(){this._setupDropMarker()}destroy(){this._domEmitter.stopListening();for(const{resizeObserver:n}of this._scrollables.values())n.destroy();return this._updateDropMarkerThrottled.cancel(),this.removeDropMarkerDelayed.cancel(),this._reconvertMarkerThrottled.cancel(),super.destroy()}updateDropMarker(n,r,a,d,u,p){this.removeDropMarkerDelayed.cancel();const f=by(this.editor,n,r,a,d,u,p);if(f)return p&&p.containsRange(f)?this.removeDropMarker():void this._updateDropMarkerThrottled(f)}getFinalDropRange(n,r,a,d,u,p){const f=by(this.editor,n,r,a,d,u,p);return this.removeDropMarker(),f}removeDropMarker(){const n=this.editor.model;this.removeDropMarkerDelayed.cancel(),this._updateDropMarkerThrottled.cancel(),this._dropTargetLineView.isVisible=!1,n.markers.has("drop-target")&&n.change(r=>{r.removeMarker("drop-target")})}_setupDropMarker(){const n=this.editor;n.ui.view.body.add(this._dropTargetLineView),n.conversion.for("editingDowncast").markerToHighlight({model:"drop-target",view:{classes:["ck-clipboard-drop-target-range"]}}),n.conversion.for("editingDowncast").markerToElement({model:"drop-target",view:(r,{writer:a})=>{if(n.model.schema.checkChild(r.markerRange.start,"$text"))return this._dropTargetLineView.isVisible=!1,this._createDropTargetPosition(a);r.markerRange.isCollapsed?this._updateDropTargetLine(r.markerRange):this._dropTargetLineView.isVisible=!1}})}_updateDropMarker(n){const r=this.editor,a=r.model.markers;r.model.change(d=>{a.has("drop-target")?a.get("drop-target").getRange().isEqual(n)||d.updateMarker("drop-target",{range:n}):d.addMarker("drop-target",{range:n,usingOperation:!1,affectsData:!1})})}_createDropTargetPosition(n){return n.createUIElement("span",{class:"ck ck-clipboard-drop-target-position"},function(r){const a=this.toDomElement(r);return a.append("\u2060",r.createElement("span"),"\u2060"),a})}_updateDropTargetLine(n){const r=this.editor.editing,a=n.start.nodeBefore,d=n.start.nodeAfter,u=n.start.parent,p=a?r.mapper.toViewElement(a):null,f=p?r.view.domConverter.mapViewToDom(p):null,g=d?r.mapper.toViewElement(d):null,b=g?r.view.domConverter.mapViewToDom(g):null,k=r.mapper.toViewElement(u);if(!k)return;const S=r.view.domConverter.mapViewToDom(k),B=this._getScrollableRect(k),{scrollX:U,scrollY:Z}=Vt.window,te=f?new Xe(f):null,fe=b?new Xe(b):null,ge=new Xe(S).excludeScrollbarsAndBorders(),Ee=te?te.bottom:ge.top,He=fe?fe.top:ge.bottom,ct=Vt.window.getComputedStyle(S),It=Ee<=He?(Ee+He)/2:He;if(B.top<It&&It<B.bottom){const Zt=ge.left+parseFloat(ct.paddingLeft),In=ge.right-parseFloat(ct.paddingRight),Di=Math.max(Zt+U,B.left),so=Math.min(In+U,B.right);this._dropTargetLineView.set({isVisible:!0,left:Di,top:It+Z,width:so-Di})}else this._dropTargetLineView.isVisible=!1}_getScrollableRect(n){const r=n.root.rootName;let a;if(this._scrollables.has(r))a=this._scrollables.get(r).domElement;else{a=function(u){let p=u;do{p=p.parentElement;const f=Vt.window.getComputedStyle(p).overflowY;if("auto"==f||"scroll"==f)break}while("BODY"!=p.tagName);return p}(this.editor.editing.view.domConverter.mapViewToDom(n)),this._domEmitter.listenTo(a,"scroll",this._reconvertMarkerThrottled,{usePassive:!0});const d=new fo(a,this._reconvertMarkerThrottled);this._scrollables.set(r,{domElement:a,resizeObserver:d})}return new Xe(a).excludeScrollbarsAndBorders()}}function by(c,n,r,a,d,u,p){const f=c.model,g=c.editing.mapper;let b=vy(c,n);for(;b;){if(!u)if(f.schema.checkChild(b,"$text")){if(r){const k=r[0].start,S=g.toModelPosition(k);if(!p||Array.from(p.getItems()).every(B=>f.schema.checkChild(S,B))){if(f.schema.checkChild(S,"$text"))return f.createRange(S);if(k)return s_(c,vy(c,k.parent),a,d)}}}else if(f.schema.isInline(b))return s_(c,b,a,d);if(f.schema.isBlock(b))return s_(c,b,a,d);if(f.schema.checkChild(b,"$block")){const k=Array.from(b.getChildren()).filter(U=>U.is("element")&&!CS(c,U));let S=0,B=k.length;if(0==B)return f.createRange(f.createPositionAt(b,"end"));for(;S<B-1;){const U=Math.floor((S+B)/2);"before"==J(c,k[U],a,d)?B=U:S=U}return s_(c,k[S],a,d)}b=b.parent}return null}function CS(c,n){const a=c.editing.view.domConverter,d=c.editing.mapper.toViewElement(n);if(!d)return!0;const u=a.mapViewToDom(d);return"none"!=Vt.window.getComputedStyle(u).float}function s_(c,n,r,a){const d=c.model;return d.createRange(d.createPositionAt(n,J(c,n,r,a)))}function J(c,n,r,a){const u=c.editing.view.domConverter,p=c.editing.mapper.toViewElement(n),f=u.mapViewToDom(p),g=new Xe(f);return c.model.schema.isInline(n)?r<(g.left+g.right)/2?"before":"after":a<(g.top+g.bottom)/2?"before":"after"}function vy(c,n){const r=c.editing.mapper,a=c.editing.view,d=r.toModelElement(n);if(d)return d;const u=a.createPositionBefore(n),p=r.findMappedViewAncestor(u);return r.toModelElement(p)}var VA=Object.defineProperty,AS=Object.defineProperties,MS=Object.getOwnPropertyDescriptors,HA=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable,a_=(c,n,r)=>n in c?VA(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;class DS extends dt{constructor(){super(...arguments),this._isBlockDragging=!1,this._domEmitter=new(Rr())}static get pluginName(){return"DragDropBlockToolbar"}init(){const n=this.editor;if(this.listenTo(n,"change:isReadOnly",(r,a,d)=>{d?(this.forceDisabled("readOnlyMode"),this._isBlockDragging=!1):this.clearForceDisabled("readOnlyMode")}),M.isAndroid&&this.forceDisabled("noAndroidSupport"),n.plugins.has("BlockToolbar")){const r=n.plugins.get("BlockToolbar").buttonView.element;this._domEmitter.listenTo(r,"dragstart",(a,d)=>this._handleBlockDragStart(d)),this._domEmitter.listenTo(Vt.document,"dragover",(a,d)=>this._handleBlockDragging(d)),this._domEmitter.listenTo(Vt.document,"drop",(a,d)=>this._handleBlockDragging(d)),this._domEmitter.listenTo(Vt.document,"dragend",()=>this._handleBlockDragEnd(),{useCapture:!0}),this.isEnabled&&r.setAttribute("draggable","true"),this.on("change:isEnabled",(a,d,u)=>{r.setAttribute("draggable",u?"true":"false")})}}destroy(){return this._domEmitter.stopListening(),super.destroy()}_handleBlockDragStart(n){if(!this.isEnabled)return;const r=this.editor.model,d=this.editor.editing.view,u=Array.from(r.document.selection.getSelectedBlocks()),p=r.createRange(r.createPositionBefore(u[0]),r.createPositionAfter(u[u.length-1]));r.change(f=>f.setSelection(p)),this._isBlockDragging=!0,d.focus(),d.getObserver(xp).onDomEvent(n)}_handleBlockDragging(n){if(!this.isEnabled||!this._isBlockDragging)return;const r=n.clientX+("ltr"==this.editor.locale.contentLanguageDirection?100:-100),a=n.clientY,d=document.elementFromPoint(r,a),u=this.editor.editing.view;var p;d&&d.closest(".ck-editor__editable")&&u.getObserver(xp).onDomEvent((p=((g,b)=>{for(var k in b||(b={}))ii.call(b,k)&&a_(g,k,b[k]);if(HA)for(var k of HA(b))H.call(b,k)&&a_(g,k,b[k]);return g})({},n),AS(p,MS({type:n.type,dataTransfer:n.dataTransfer,target:d,clientX:r,clientY:a,preventDefault:()=>n.preventDefault(),stopPropagation:()=>n.stopPropagation()}))))}_handleBlockDragEnd(){this._isBlockDragging=!1}}var ne=L(7793);yt()(ne.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Re extends dt{constructor(){super(...arguments),this._clearDraggableAttributesDelayed=Am(()=>this._clearDraggableAttributes(),40),this._blockMode=!1,this._domEmitter=new(Rr())}static get pluginName(){return"DragDrop"}static get requires(){return[Ls,Vp,r_,DS]}init(){const n=this.editor,r=n.editing.view;this._draggedRange=null,this._draggingUid="",this._draggableElement=null,r.addObserver(xp),r.addObserver(Is),this._setupDragging(),this._setupContentInsertionIntegration(),this._setupClipboardInputIntegration(),this._setupDraggableAttributeHandling(),this.listenTo(n,"change:isReadOnly",(a,d,u)=>{u?this.forceDisabled("readOnlyMode"):this.clearForceDisabled("readOnlyMode")}),this.on("change:isEnabled",(a,d,u)=>{u||this._finalizeDragging(!1)}),M.isAndroid&&this.forceDisabled("noAndroidSupport")}destroy(){return this._draggedRange&&(this._draggedRange.detach(),this._draggedRange=null),this._previewContainer&&this._previewContainer.remove(),this._domEmitter.stopListening(),this._clearDraggableAttributesDelayed.cancel(),super.destroy()}_setupDragging(){const n=this.editor,r=n.model,a=n.editing.view,d=a.document,u=n.plugins.get(r_);this.listenTo(d,"dragstart",(p,f)=>{if(f.target&&f.target.is("editableElement")||(this._prepareDraggedRange(f.target),!this._draggedRange))return void f.preventDefault();this._draggingUid=ae(),f.dataTransfer.effectAllowed=this.isEnabled?"copyMove":"copy",f.dataTransfer.setData("application/ckeditor5-dragging-uid",this._draggingUid);const g=r.createSelection(this._draggedRange.toRange());this.editor.plugins.get("ClipboardPipeline")._fireOutputTransformationEvent(f.dataTransfer,g,"dragstart");const{dataTransfer:b,domTarget:k,domEvent:S}=f,{clientX:B}=S;this._updatePreview({dataTransfer:b,domTarget:k,clientX:B}),f.stopPropagation(),this.isEnabled||(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid="")},{priority:"low"}),this.listenTo(d,"dragend",(p,f)=>{this._finalizeDragging(!f.dataTransfer.isCanceled&&"move"==f.dataTransfer.dropEffect)},{priority:"low"}),this._domEmitter.listenTo(Vt.document,"dragend",()=>{this._blockMode=!1},{useCapture:!0}),this.listenTo(d,"dragenter",()=>{this.isEnabled&&a.focus()}),this.listenTo(d,"dragleave",()=>{u.removeDropMarkerDelayed()}),this.listenTo(d,"dragging",(p,f)=>{if(!this.isEnabled)return void(f.dataTransfer.dropEffect="none");const{clientX:g,clientY:b}=f.domEvent;u.updateDropMarker(f.target,f.targetRanges,g,b,this._blockMode,this._draggedRange),this._draggedRange||(f.dataTransfer.dropEffect="copy"),M.isGecko||("copy"==f.dataTransfer.effectAllowed?f.dataTransfer.dropEffect="copy":["all","copyMove"].includes(f.dataTransfer.effectAllowed)&&(f.dataTransfer.dropEffect="move")),p.stop()},{priority:"low"})}_setupClipboardInputIntegration(){const n=this.editor,r=n.editing.view.document,a=n.plugins.get(r_);this.listenTo(r,"clipboardInput",(d,u)=>{if("drop"!=u.method)return;const{clientX:p,clientY:f}=u.domEvent,g=a.getFinalDropRange(u.target,u.targetRanges,p,f,this._blockMode,this._draggedRange);return g?(this._draggedRange&&this._draggingUid!=u.dataTransfer.getData("application/ckeditor5-dragging-uid")&&(this._draggedRange.detach(),this._draggedRange=null,this._draggingUid=""),"move"==yy(u.dataTransfer)&&this._draggedRange&&this._draggedRange.containsRange(g,!0)?(this._finalizeDragging(!1),void d.stop()):void(u.targetRanges=[n.editing.mapper.toViewRange(g)])):(this._finalizeDragging(!1),void d.stop())},{priority:"high"})}_setupContentInsertionIntegration(){const n=this.editor.plugins.get(Ls);n.on("contentInsertion",(r,a)=>{if(!this.isEnabled||"drop"!==a.method)return;const d=a.targetRanges.map(u=>this.editor.editing.mapper.toModelRange(u));this.editor.model.change(u=>u.setSelection(d))},{priority:"high"}),n.on("contentInsertion",(r,a)=>{if(!this.isEnabled||"drop"!==a.method)return;const d="move"==yy(a.dataTransfer);this._finalizeDragging((!a.resultRange||!a.resultRange.isCollapsed)&&d)},{priority:"lowest"})}_setupDraggableAttributeHandling(){const n=this.editor,r=n.editing.view,a=r.document;this.listenTo(a,"mousedown",(d,u)=>{if(M.isAndroid||!u)return;this._clearDraggableAttributesDelayed.cancel();let p=YA(u.target);if(M.isBlink&&!n.isReadOnly&&!p&&!a.selection.isCollapsed){const f=a.selection.getSelectedElement();f&&wo(f)||(p=a.selection.editableElement)}p&&(r.change(f=>{f.setAttribute("draggable","true",p)}),this._draggableElement=n.editing.mapper.toModelElement(p))}),this.listenTo(a,"mouseup",()=>{M.isAndroid||this._clearDraggableAttributesDelayed()})}_clearDraggableAttributes(){const n=this.editor.editing;n.view.change(r=>{this._draggableElement&&"$graveyard"!=this._draggableElement.root.rootName&&r.removeAttribute("draggable",n.mapper.toViewElement(this._draggableElement)),this._draggableElement=null})}_finalizeDragging(n){const r=this.editor,a=r.model;r.plugins.get(r_).removeDropMarker(),this._clearDraggableAttributes(),r.plugins.has("WidgetToolbarRepository")&&r.plugins.get("WidgetToolbarRepository").clearForceDisabled("dragDrop"),this._draggingUid="",this._previewContainer&&(this._previewContainer.remove(),this._previewContainer=void 0),this._draggedRange&&(n&&this.isEnabled&&a.change(d=>{const u=a.createSelection(this._draggedRange);a.deleteContent(u,{doNotAutoparagraph:!0});const p=u.getFirstPosition().parent;p.isEmpty&&!a.schema.checkChild(p,"$text")&&a.schema.checkChild(p,"paragraph")&&d.insertElement("paragraph",p,0)}),this._draggedRange.detach(),this._draggedRange=null)}_prepareDraggedRange(n){const r=this.editor,a=r.model,d=a.document.selection,u=n?YA(n):null;if(u){const b=r.editing.mapper.toModelElement(u);return this._draggedRange=Ss.fromRange(a.createRangeOn(b)),this._blockMode=a.schema.isBlock(b),void(r.plugins.has("WidgetToolbarRepository")&&r.plugins.get("WidgetToolbarRepository").forceDisabled("dragDrop"))}if(d.isCollapsed&&!d.getFirstPosition().parent.isEmpty)return;const p=Array.from(d.getSelectedBlocks()),f=d.getFirstRange();if(0==p.length)return void(this._draggedRange=Ss.fromRange(f));const g=UA(a,p);if(p.length>1)this._draggedRange=Ss.fromRange(g),this._blockMode=!0;else if(1==p.length){const b=f.start.isTouching(g.start)&&f.end.isTouching(g.end);this._draggedRange=Ss.fromRange(b?g:f),this._blockMode=b}a.change(b=>b.setSelection(this._draggedRange.toRange()))}_updatePreview({dataTransfer:n,domTarget:r,clientX:a}){const d=this.editor.editing.view,p=d.domConverter.mapViewToDom(d.document.selection.editableElement),f=Vt.window.getComputedStyle(p);this._previewContainer?this._previewContainer.firstElementChild&&this._previewContainer.removeChild(this._previewContainer.firstElementChild):(this._previewContainer=lr(Vt.document,"div",{style:"position: fixed; left: -999999px;"}),Vt.document.body.appendChild(this._previewContainer));const g=new Xe(p);if(p.contains(r))return;const b=parseFloat(f.paddingLeft),k=lr(Vt.document,"div");k.className="ck ck-content",k.style.width=f.width,k.style.paddingLeft=`${g.left-a+b}px`,M.isiOS&&(k.style.backgroundColor="white"),k.innerHTML=n.getData("text/html"),n.setDragImage(k,0,0),this._previewContainer.appendChild(k)}}function yy(c){return M.isGecko?c.dropEffect:["all","copyMove"].includes(c.effectAllowed)?"move":"copy"}function YA(c){if(c.is("editableElement"))return null;if(c.hasClass("ck-widget__selection-handle"))return c.findAncestor(wo);if(wo(c))return c;const n=c.findAncestor(r=>wo(r)||r.is("editableElement"));return wo(n)?n:null}function UA(c,n){const r=n[0],a=n[n.length-1],d=r.getCommonAncestor(a),u=c.createPositionBefore(r),p=c.createPositionAfter(a);if(d&&d.is("element")&&!c.schema.isLimit(d)){const f=c.createRangeOn(d),g=u.isTouching(f.start),b=p.isTouching(f.end);if(g&&b)return UA(c,[d])}return c.createRange(u,p)}class TS extends dt{static get pluginName(){return"PastePlainText"}static get requires(){return[Ls]}init(){const n=this.editor,r=n.model,a=n.editing.view,d=a.document,u=r.document.selection;let p=!1;a.addObserver(xp),this.listenTo(d,"keydown",(f,g)=>{p=g.shiftKey}),n.plugins.get(Ls).on("contentInsertion",(f,g)=>{(p||function(b,k){if(b.childCount>1)return!1;const S=b.getChild(0);return!k.isObject(S)&&0==Array.from(S.getAttributeKeys()).length}(g.content,r.schema))&&r.change(b=>{const k=Array.from(u.getAttributes()).filter(([B])=>r.schema.getAttributeProperties(B).isFormatting);u.isCollapsed||r.deleteContent(u,{doNotAutoparagraph:!0}),k.push(...u.getAttributes());const S=b.createRangeIn(g.content);for(const B of S.getItems())B.is("$textProxy")&&b.setAttributes(k,B)})})}}class vt extends dt{static get pluginName(){return"Clipboard"}static get requires(){return[Op,Ls,Re,TS]}init(){const r=this.editor.t;this.editor.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Copy selected content"),keystroke:"CTRL+C"},{label:r("Paste content"),keystroke:"CTRL+V"},{label:r("Paste content as plain text"),keystroke:"CTRL+SHIFT+V"}]})}}class kt extends Tn{constructor(n){super(n),this.affectsData=!1}execute(){const n=this.editor.model,r=n.document.selection;let a=n.schema.getLimitElement(r);if(r.containsEntireContent(a)||!Et(n.schema,a))do{if(a=a.parent,!a)return}while(!Et(n.schema,a));n.change(d=>{d.setSelection(a,"in")})}}function Et(c,n){return c.isLimit(n)&&(c.checkChild(n,"$text")||c.checkChild(n,"paragraph"))}const WA=Br("Ctrl+A");class xS extends dt{static get pluginName(){return"SelectAllEditing"}init(){const n=this.editor,r=n.t,a=n.editing.view.document;n.commands.add("selectAll",new kt(n)),this.listenTo(a,"keydown",(d,u)=>{al(u)===WA&&(n.execute("selectAll"),u.preventDefault())}),n.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Select all"),keystroke:"CTRL+A"}]})}}class ES extends dt{static get pluginName(){return"SelectAllUI"}init(){const n=this.editor;n.ui.componentFactory.add("selectAll",r=>{const a=n.commands.get("selectAll"),d=new Qn(r);return d.set({label:(0,r.t)("Select all"),icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M.75 15.5a.75.75 0 0 1 .75.75V18l.008.09A.5.5 0 0 0 2 18.5h1.75a.75.75 0 1 1 0 1.5H1.5l-.144-.007a1.5 1.5 0 0 1-1.35-1.349L0 18.5v-2.25a.75.75 0 0 1 .75-.75zm18.5 0a.75.75 0 0 1 .75.75v2.25l-.007.144a1.5 1.5 0 0 1-1.349 1.35L18.5 20h-2.25a.75.75 0 1 1 0-1.5H18a.5.5 0 0 0 .492-.41L18.5 18v-1.75a.75.75 0 0 1 .75-.75zm-10.45 3c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2H7.2a.2.2 0 0 1-.2-.2v-1.1c0-.11.09-.2.2-.2h1.6zm4 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2v-1.1c0-.11.09-.2.2-.2h1.6zm.45-5.5a.75.75 0 1 1 0 1.5h-8.5a.75.75 0 1 1 0-1.5h8.5zM1.3 11c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2v-1.6c0-.11.09-.2.2-.2h1.1zm18.5 0c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2h-1.1a.2.2 0 0 1-.2-.2v-1.6c0-.11.09-.2.2-.2h1.1zm-4.55-2a.75.75 0 1 1 0 1.5H4.75a.75.75 0 1 1 0-1.5h10.5zM1.3 7c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2H.2a.2.2 0 0 1-.2-.2V7.2c0-.11.09-.2.2-.2h1.1zm18.5 0c.11 0 .2.09.2.2v1.6a.2.2 0 0 1-.2.2h-1.1a.2.2 0 0 1-.2-.2V7.2c0-.11.09-.2.2-.2h1.1zm-4.55-2a.75.75 0 1 1 0 1.5h-2.5a.75.75 0 1 1 0-1.5h2.5zm-5 0a.75.75 0 1 1 0 1.5h-5.5a.75.75 0 0 1 0-1.5h5.5zm-6.5-5a.75.75 0 0 1 0 1.5H2a.5.5 0 0 0-.492.41L1.5 2v1.75a.75.75 0 0 1-1.5 0V1.5l.007-.144A1.5 1.5 0 0 1 1.356.006L1.5 0h2.25zM18.5 0l.144.007a1.5 1.5 0 0 1 1.35 1.349L20 1.5v2.25a.75.75 0 1 1-1.5 0V2l-.008-.09A.5.5 0 0 0 18 1.5h-1.75a.75.75 0 1 1 0-1.5h2.25zM8.8 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2H7.2a.2.2 0 0 1-.2-.2V.2c0-.11.09-.2.2-.2h1.6zm4 0c.11 0 .2.09.2.2v1.1a.2.2 0 0 1-.2.2h-1.6a.2.2 0 0 1-.2-.2V.2c0-.11.09-.2.2-.2h1.6z"/></svg>',keystroke:"Ctrl+A",tooltip:!0}),d.bind("isEnabled").to(a,"isEnabled"),this.listenTo(d,"execute",()=>{n.execute("selectAll"),n.editing.view.focus()}),d})}}class wt extends dt{static get requires(){return[xS,ES]}static get pluginName(){return"SelectAll"}}var Up=Object.defineProperty,ky=Object.getOwnPropertySymbols,We=Object.prototype.hasOwnProperty,$A=Object.prototype.propertyIsEnumerable,qA=(c,n,r)=>n in c?Up(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;class wy extends Tn{constructor(n){super(n),this._stack=[],this._createdBatches=new WeakSet,this.refresh(),this._isEnabledBasedOnSelection=!1,this.listenTo(n.data,"set",(r,a)=>{a[1]=((u,p)=>{for(var f in p||(p={}))We.call(p,f)&&qA(u,f,p[f]);if(ky)for(var f of ky(p))$A.call(p,f)&&qA(u,f,p[f]);return u})({},a[1]);const d=a[1];d.batchType||(d.batchType={isUndoable:!1})},{priority:"high"}),this.listenTo(n.data,"set",(r,a)=>{a[1].batchType.isUndoable||this.clearStack()})}refresh(){this.isEnabled=this._stack.length>0}get createdBatches(){return this._createdBatches}addBatch(n){const r=this.editor.model.document.selection,a={ranges:r.hasOwnRange?Array.from(r.getRanges()):[],isBackward:r.isBackward};this._stack.push({batch:n,selection:a}),this.refresh()}clearStack(){this._stack=[],this.refresh()}_restoreSelection(n,r,a){const d=this.editor.model,u=d.document,p=[],f=n.map(b=>b.getTransformedByOperations(a)),g=f.flat();for(const b of f){const k=b.filter(S=>S.root!=u.graveyard).filter(S=>!KA(S,g));k.length&&(GA(k),p.push(k[0]))}p.length&&d.change(b=>{b.setSelection(p,{backward:r})})}_undo(n,r){const a=this.editor.model,d=a.document;this._createdBatches.add(r);const u=n.operations.slice().filter(p=>p.isDocumentOperation);u.reverse();for(const p of u){const g=Array.from(d.history.getOperations(p.baseVersion+1)),b=Qw([p.getReversed()],g,{useRelations:!0,document:this.editor.model.document,padWithNoOps:!1,forceWeakRemove:!0}).operationsA;for(let k of b){const S=k.affectedSelectable;S&&!a.canEditAt(S)&&(k=new oo(k.baseVersion)),r.addOperation(k),a.applyOperation(k),d.history.setOperationAsUndone(p,k)}}}}function GA(c){c.sort((n,r)=>n.start.isBefore(r.start)?-1:1);for(let n=1;n<c.length;n++){const r=c[n-1].getJoined(c[n],!0);r&&(n--,c.splice(n,2,r))}}function KA(c,n){return n.some(r=>r!==c&&r.containsRange(c,!0))}class X extends wy{execute(n=null){const r=n?this._stack.findIndex(u=>u.batch==n):this._stack.length-1,a=this._stack.splice(r,1)[0],d=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(d,()=>{this._undo(a.batch,d);const u=this.editor.model.document.history.getOperations(a.batch.baseVersion);this._restoreSelection(a.selection.ranges,a.selection.isBackward,u)}),this.fire("revert",a.batch,d),this.refresh()}}class SS extends wy{execute(){const n=this._stack.pop(),r=this.editor.model.createBatch({isUndo:!0});this.editor.model.enqueueChange(r,()=>{const d=this.editor.model.document.history.getOperations(n.batch.operations[n.batch.operations.length-1].baseVersion+1);this._restoreSelection(n.selection.ranges,n.selection.isBackward,d),this._undo(n.batch,r)}),this.refresh()}}class ms extends dt{constructor(){super(...arguments),this._batchRegistry=new WeakSet}static get pluginName(){return"UndoEditing"}init(){const n=this.editor,r=n.t;this._undoCommand=new X(n),this._redoCommand=new SS(n),n.commands.add("undo",this._undoCommand),n.commands.add("redo",this._redoCommand),this.listenTo(n.model,"applyOperation",(a,d)=>{const u=d[0];if(!u.isDocumentOperation)return;const p=u.batch,f=this._redoCommand.createdBatches.has(p),g=this._undoCommand.createdBatches.has(p);this._batchRegistry.has(p)||(this._batchRegistry.add(p),p.isUndoable&&(f?this._undoCommand.addBatch(p):g||(this._undoCommand.addBatch(p),this._redoCommand.clearStack())))},{priority:"highest"}),this.listenTo(this._undoCommand,"revert",(a,d,u)=>{this._redoCommand.addBatch(u)}),n.keystrokes.set("CTRL+Z","undo"),n.keystrokes.set("CTRL+Y","redo"),n.keystrokes.set("CTRL+SHIFT+Z","redo"),n.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Undo"),keystroke:"CTRL+Z"},{label:r("Redo"),keystroke:[["CTRL+Y"],["CTRL+SHIFT+Z"]]}]})}}class or extends dt{static get pluginName(){return"UndoUI"}init(){const n=this.editor,r=n.locale,a=n.t,d="ltr"==r.uiLanguageDirection?bn.undo:bn.redo,u="ltr"==r.uiLanguageDirection?bn.redo:bn.undo;this._addButton("undo",a("Undo"),"CTRL+Z",d),this._addButton("redo",a("Redo"),"CTRL+Y",u)}_addButton(n,r,a,d){const u=this.editor;u.ui.componentFactory.add(n,p=>{const f=u.commands.get(n),g=new Qn(p);return g.set({label:r,icon:d,keystroke:a,tooltip:!0}),g.bind("isEnabled").to(f,"isEnabled"),this.listenTo(g,"execute",()=>{u.execute(n),u.editing.view.focus()}),g})}}class Cy extends dt{static get requires(){return[ms,or]}static get pluginName(){return"Undo"}}class Ay extends(Xt()){constructor(){super();const n=new window.FileReader;this._reader=n,this._data=void 0,this.set("loaded",0),n.onprogress=r=>{this.loaded=r.loaded}}get error(){return this._reader.error}get data(){return this._data}read(n){const r=this._reader;return this.total=n.size,new Promise((a,d)=>{r.onload=()=>{const u=r.result;this._data=u,a(u)},r.onerror=()=>{d("error")},r.onabort=()=>{d("aborted")},this._reader.readAsDataURL(n)})}abort(){this._reader.abort()}}class Ns extends dt{constructor(){super(...arguments),this.loaders=new os,this._loadersMap=new Map,this._pendingAction=null}static get pluginName(){return"FileRepository"}static get requires(){return[sv]}init(){this.loaders.on("change",()=>this._updatePendingAction()),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(n,r)=>r?n/r*100:0)}getLoader(n){return this._loadersMap.get(n)||null}createLoader(n){if(!this.createUploadAdapter)return ie("filerepository-no-upload-adapter"),null;const r=new My(Promise.resolve(n),this.createUploadAdapter);return this.loaders.add(r),this._loadersMap.set(n,r),n instanceof Promise&&r.file.then(a=>{this._loadersMap.set(a,r)}).catch(()=>{}),r.on("change:uploaded",()=>{let a=0;for(const d of this.loaders)a+=d.uploaded;this.uploaded=a}),r.on("change:uploadTotal",()=>{let a=0;for(const d of this.loaders)d.uploadTotal&&(a+=d.uploadTotal);this.uploadTotal=a}),r}destroyLoader(n){const r=n instanceof My?n:this.getLoader(n);r._destroy(),this.loaders.remove(r),this._loadersMap.forEach((a,d)=>{a===r&&this._loadersMap.delete(d)})}_updatePendingAction(){const n=this.editor.plugins.get(sv);if(this.loaders.length){if(!this._pendingAction){const r=this.editor.t,a=d=>`${r("Upload in progress")} ${parseInt(d)}%.`;this._pendingAction=n.add(a(this.uploadedPercent)),this._pendingAction.bind("message").to(this,"uploadedPercent",a)}}else n.remove(this._pendingAction),this._pendingAction=null}}class My extends(Xt()){constructor(n,r){super(),this.id=ae(),this._filePromiseWrapper=this._createFilePromiseWrapper(n),this._adapter=r(this),this._reader=new Ay,this.set("status","idle"),this.set("uploaded",0),this.set("uploadTotal",null),this.bind("uploadedPercent").to(this,"uploaded",this,"uploadTotal",(a,d)=>d?a/d*100:0),this.set("uploadResponse",null)}get file(){return this._filePromiseWrapper?this._filePromiseWrapper.promise.then(n=>this._filePromiseWrapper?n:null):Promise.resolve(null)}get data(){return this._reader.data}read(){if("idle"!=this.status)throw new Y("filerepository-read-wrong-status",this);return this.status="reading",this.file.then(n=>this._reader.read(n)).then(n=>{if("reading"!==this.status)throw this.status;return this.status="idle",n}).catch(n=>{throw"aborted"===n?(this.status="aborted","aborted"):(this.status="error",this._reader.error?this._reader.error:n)})}upload(){if("idle"!=this.status)throw new Y("filerepository-upload-wrong-status",this);return this.status="uploading",this.file.then(()=>this._adapter.upload()).then(n=>(this.uploadResponse=n,this.status="idle",n)).catch(n=>{throw"aborted"===this.status?"aborted":(this.status="error",n)})}abort(){const n=this.status;this.status="aborted",this._filePromiseWrapper.isFulfilled?"reading"==n?this._reader.abort():"uploading"==n&&this._adapter.abort&&this._adapter.abort():(this._filePromiseWrapper.promise.catch(()=>{}),this._filePromiseWrapper.rejecter("aborted")),this._destroy()}_destroy(){this._filePromiseWrapper=void 0,this._reader=void 0,this._adapter=void 0,this.uploadResponse=void 0}_createFilePromiseWrapper(n){const r={};return r.promise=new Promise((a,d)=>{r.rejecter=d,r.isFulfilled=!1,n.then(u=>{r.isFulfilled=!0,a(u)}).catch(u=>{r.isFulfilled=!0,d(u)})}),r}}class ZA extends Qn{constructor(n){super(n),this.buttonView=this,this._fileInputView=new QA(n),this._fileInputView.bind("acceptedType").to(this),this._fileInputView.bind("allowMultipleFiles").to(this),this._fileInputView.delegate("done").to(this),this.on("execute",()=>{this._fileInputView.open()}),this.extendTemplate({attributes:{class:"ck-file-dialog-button"}})}render(){super.render(),this.children.add(this._fileInputView)}}class QA extends on{constructor(n){super(n),this.set("acceptedType",void 0),this.set("allowMultipleFiles",!1);const r=this.bindTemplate;this.setTemplate({tag:"input",attributes:{class:["ck-hidden"],type:"file",tabindex:"-1",accept:r.to("acceptedType"),multiple:r.to("allowMultipleFiles")},on:{change:r.to(()=>{this.element&&this.element.files&&this.element.files.length&&this.fire("done",this.element.files),this.element.value=""})}})}open(){this.element.click()}}const Dy="ckCsrfToken";class XA{constructor(n,r,a){this.loader=n,this.url=r,this.t=a}upload(){return this.loader.file.then(n=>new Promise((r,a)=>{this._initRequest(),this._initListeners(r,a,n),this._sendRequest(n)}))}abort(){this.xhr&&this.xhr.abort()}_initRequest(){const n=this.xhr=new XMLHttpRequest;n.open("POST",this.url,!0),n.responseType="json"}_initListeners(n,r,a){const d=this.xhr,u=this.loader,p=(0,this.t)("Cannot upload file:")+` ${a.name}.`;d.addEventListener("error",()=>r(p)),d.addEventListener("abort",()=>r()),d.addEventListener("load",()=>{const f=d.response;if(!f||!f.uploaded)return r(f&&f.error&&f.error.message?f.error.message:p);n({default:f.url})}),d.upload&&d.upload.addEventListener("progress",f=>{f.lengthComputable&&(u.uploadTotal=f.total,u.uploaded=f.loaded)})}_sendRequest(n){const r=new FormData;r.append("upload",n),r.append("ckCsrfToken",function JA(){let c=function(a){a=a.toLowerCase();const d=document.cookie.split(";");for(const u of d){const p=u.split("=");if(decodeURIComponent(p[0].trim().toLowerCase())===a)return decodeURIComponent(p[1])}return null}(Dy);var r;return c&&40==c.length||(c=function(a){let d="";const u=new Uint8Array(40);window.crypto.getRandomValues(u);for(let p=0;p<u.length;p++){const f="abcdefghijklmnopqrstuvwxyz0123456789".charAt(u[p]%36);d+=Math.random()>.5?f.toUpperCase():f}return d}(),r=c,document.cookie=encodeURIComponent(Dy)+"="+encodeURIComponent(r)+";path=/"),c}()),this.xhr.send(r)}}function ta(c,n,r,a){let d,u=null;"function"==typeof a?d=a:(u=c.commands.get(a),d=()=>{c.execute(a)}),c.model.document.on("change:data",(p,f)=>{if(u&&!u.isEnabled||!n.isEnabled)return;const g=bo(c.model.document.selection.getRanges());if(!g.isCollapsed||f.isUndo||!f.isLocal)return;const b=Array.from(c.model.document.differ.getChanges()),k=b[0];if(1!=b.length||"insert"!==k.type||"$text"!=k.name||1!=k.length)return;const S=k.position.parent;if(S.is("element","codeBlock")||S.is("element","listItem")&&"function"!=typeof a&&!["numberedList","bulletedList","todoList"].includes(a)||u&&!0===u.value)return;const B=S.getChild(0),U=c.model.createRangeOn(B);if(!U.containsRange(g)&&!g.end.isEqual(U.end))return;const Z=r.exec(B.data.substr(0,g.end.offset));Z&&c.model.enqueueChange(te=>{const fe=te.createPositionAt(S,0),ge=te.createPositionAt(S,Z[0].length),Ee=new Ss(fe,ge);if(!1!==d({match:Z})){te.remove(Ee);const He=c.model.document.selection.getFirstRange(),ct=te.createRangeIn(S);!S.isEmpty||ct.isEqual(He)||ct.containsRange(He,!0)||te.remove(S)}Ee.detach(),c.model.enqueueChange(()=>{c.plugins.get("Delete").requestUndoOnBackspace()})})})}function gs(c,n,r,a){let d,u;r instanceof RegExp?d=r:u=r,u=u||(p=>{let f;const g=[],b=[];for(;null!==(f=d.exec(p))&&!(f&&f.length<4);){let{index:k,1:S,2:B,3:U}=f;k+=f[0].length-(S+B+U).length;const fe=[k+S.length+B.length,k+S.length+B.length+U.length];g.push([k,k+S.length]),g.push(fe),b.push([k+S.length,k+S.length+B.length])}return{remove:g,format:b}}),c.model.document.on("change:data",(p,f)=>{if(f.isUndo||!f.isLocal||!n.isEnabled)return;const g=c.model,b=g.document.selection;if(!b.isCollapsed)return;const k=Array.from(g.document.differ.getChanges()),S=k[0];if(1!=k.length||"insert"!==S.type||"$text"!=S.name||1!=S.length)return;const B=b.focus,U=B.parent,{text:Z,range:te}=function(He,ct){let It=He.start;return{text:Array.from(He.getItems()).reduce((In,Di)=>!Di.is("$text")&&!Di.is("$textProxy")||Di.getAttribute("code")?(It=ct.createPositionAfter(Di),""):In+Di.data,""),range:ct.createRange(It,He.end)}}(g.createRange(g.createPositionAt(U,0),B),g),fe=u(Z),ge=e2(te.start,fe.format,g),Ee=e2(te.start,fe.remove,g);ge.length&&Ee.length&&g.enqueueChange(He=>{if(!1!==a(He,ge)){for(const ct of Ee.reverse())He.remove(ct);g.enqueueChange(()=>{c.plugins.get("Delete").requestUndoOnBackspace()})}})})}function e2(c,n,r){return n.filter(a=>void 0!==a[0]&&void 0!==a[1]).map(a=>r.createRange(c.getShiftedBy(a[0]),c.getShiftedBy(a[1])))}function l_(c,n){return(r,a)=>{if(!c.commands.get(n).isEnabled)return!1;const d=c.model.schema.getValidRanges(a,n);for(const u of d)r.setAttribute(n,!0,u);r.removeSelectionAttribute(n)}}class c_ extends Tn{constructor(n,r){super(n),this.attributeKey=r}refresh(){const n=this.editor.model,r=n.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=n.schema.checkAttributeInSelection(r.selection,this.attributeKey)}execute(n={}){const r=this.editor.model,a=r.document.selection,d=void 0===n.forceValue?!this.value:n.forceValue;r.change(u=>{if(a.isCollapsed)d?u.setSelectionAttribute(this.attributeKey,!0):u.removeSelectionAttribute(this.attributeKey);else{const p=r.schema.getValidRanges(a.getRanges(),this.attributeKey);for(const f of p)d?u.setAttribute(this.attributeKey,d,f):u.removeAttribute(this.attributeKey,f)}})}_getValueFromFirstAllowedNode(){const n=this.editor.model,r=n.schema,a=n.document.selection;if(a.isCollapsed)return a.hasAttribute(this.attributeKey);for(const d of a.getRanges())for(const u of d.getItems())if(r.checkAttribute(u,this.attributeKey))return u.hasAttribute(this.attributeKey);return!1}}const Rs="bold";class xy extends dt{static get pluginName(){return"BoldEditing"}init(){const n=this.editor,r=this.editor.t;n.model.schema.extend("$text",{allowAttributes:Rs}),n.model.schema.setAttributeProperties(Rs,{isFormatting:!0,copyOnEnter:!0}),n.conversion.attributeToElement({model:Rs,view:"strong",upcastAlso:["b",a=>{const d=a.getStyle("font-weight");return d&&("bold"==d||Number(d)>=600)?{name:!0,styles:["font-weight"]}:null}]}),n.commands.add(Rs,new c_(n,Rs)),n.keystrokes.set("CTRL+B",Rs),n.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Bold text"),keystroke:"CTRL+B"}]})}}const Ey="bold";class Sy extends dt{static get pluginName(){return"BoldUI"}init(){const n=this.editor,r=n.t;n.ui.componentFactory.add(Ey,a=>{const d=n.commands.get(Ey),u=new Qn(a);return u.set({label:r("Bold"),icon:bn.bold,keystroke:"CTRL+B",tooltip:!0,isToggleable:!0}),u.bind("isOn","isEnabled").to(d,"value","isEnabled"),this.listenTo(u,"execute",()=>{n.execute(Ey),n.editing.view.focus()}),u})}}var IS=L(4199);yt()(IS.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Ru="italic";class LS extends dt{static get pluginName(){return"ItalicEditing"}init(){const n=this.editor,r=this.editor.t;n.model.schema.extend("$text",{allowAttributes:Ru}),n.model.schema.setAttributeProperties(Ru,{isFormatting:!0,copyOnEnter:!0}),n.conversion.attributeToElement({model:Ru,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),n.commands.add(Ru,new c_(n,Ru)),n.keystrokes.set("CTRL+I",Ru),n.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Italic text"),keystroke:"CTRL+I"}]})}}const d_="italic";class OS extends dt{static get pluginName(){return"ItalicUI"}init(){const n=this.editor,r=n.t;n.ui.componentFactory.add(d_,a=>{const d=n.commands.get(d_),u=new Qn(a);return u.set({label:r("Italic"),icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m9.586 14.633.021.004c-.036.335.095.655.393.962.082.083.173.15.274.201h1.474a.6.6 0 1 1 0 1.2H5.304a.6.6 0 0 1 0-1.2h1.15c.474-.07.809-.182 1.005-.334.157-.122.291-.32.404-.597l2.416-9.55a1.053 1.053 0 0 0-.281-.823 1.12 1.12 0 0 0-.442-.296H8.15a.6.6 0 0 1 0-1.2h6.443a.6.6 0 1 1 0 1.2h-1.195c-.376.056-.65.155-.823.296-.215.175-.423.439-.623.79l-2.366 9.347z"/></svg>',keystroke:"CTRL+I",tooltip:!0,isToggleable:!0}),u.bind("isOn","isEnabled").to(d,"value","isEnabled"),this.listenTo(u,"execute",()=>{n.execute(d_),n.editing.view.focus()}),u})}}class Co extends Tn{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(n={}){const r=this.editor.model,a=r.schema,u=Array.from(r.document.selection.getSelectedBlocks()),p=void 0===n.forceValue?!this.value:n.forceValue;r.change(f=>{if(p){const g=u.filter(b=>Wp(b)||n2(a,b));this._applyQuote(f,g)}else this._removeQuote(f,u.filter(Wp))})}_getValue(){const n=bo(this.editor.model.document.selection.getSelectedBlocks());return!(!n||!Wp(n))}_checkEnabled(){if(this.value)return!0;const r=this.editor.model.schema,a=bo(this.editor.model.document.selection.getSelectedBlocks());return!!a&&n2(r,a)}_removeQuote(n,r){t2(n,r).reverse().forEach(a=>{if(a.start.isAtStart&&a.end.isAtEnd)return void n.unwrap(a.start.parent);if(a.start.isAtStart){const u=n.createPositionBefore(a.start.parent);return void n.move(a,u)}a.end.isAtEnd||n.split(a.end);const d=n.createPositionAfter(a.end.parent);n.move(a,d)})}_applyQuote(n,r){const a=[];t2(n,r).reverse().forEach(d=>{let u=Wp(d.start);u||(u=n.createElement("blockQuote"),n.wrap(d,u)),a.push(u)}),a.reverse().reduce((d,u)=>d.nextSibling==u?(n.merge(n.createPositionAfter(d)),d):u)}}function Wp(c){return"blockQuote"==c.parent.name?c.parent:null}function t2(c,n){let r,a=0;const d=[];for(;a<n.length;){const u=n[a],p=n[a+1];r||(r=c.createPositionBefore(u)),p&&u.nextSibling==p||(d.push(c.createRange(r,c.createPositionAfter(u))),r=null),a++}return d}function n2(c,n){const r=c.checkChild(n.parent,"blockQuote"),a=c.checkChild(["$root","blockQuote"],n);return r&&a}class o2 extends dt{static get pluginName(){return"BlockQuoteEditing"}static get requires(){return[wl,Na]}init(){const n=this.editor,r=n.model.schema;n.commands.add("blockQuote",new Co(n)),r.register("blockQuote",{inheritAllFrom:"$container"}),n.conversion.elementToElement({model:"blockQuote",view:"blockquote"}),n.model.document.registerPostFixer(p=>{const f=n.model.document.differ.getChanges();for(const g of f)if("insert"==g.type){const b=g.position.nodeAfter;if(!b)continue;if(b.is("element","blockQuote")&&b.isEmpty)return p.remove(b),!0;if(b.is("element","blockQuote")&&!r.checkChild(g.position,b))return p.unwrap(b),!0;if(b.is("element")){const k=p.createRangeIn(b);for(const S of k.getItems())if(S.is("element","blockQuote")&&!r.checkChild(p.createPositionBefore(S),S))return p.unwrap(S),!0}}else if("remove"==g.type){const b=g.position.parent;if(b.is("element","blockQuote")&&b.isEmpty)return p.remove(b),!0}return!1});const a=this.editor.editing.view.document,d=n.model.document.selection,u=n.commands.get("blockQuote");this.listenTo(a,"enter",(p,f)=>{!d.isCollapsed||!u.value||d.getLastPosition().parent.isEmpty&&(n.execute("blockQuote"),n.editing.view.scrollToTheSelection(),f.preventDefault(),p.stop())},{context:"blockquote"}),this.listenTo(a,"delete",(p,f)=>{if("backward"!=f.direction||!d.isCollapsed||!u.value)return;const g=d.getLastPosition().parent;g.isEmpty&&!g.previousSibling&&(n.execute("blockQuote"),n.editing.view.scrollToTheSelection(),f.preventDefault(),p.stop())},{context:"blockquote"})}}var r2=L(8708);yt()(r2.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class a2 extends dt{static get pluginName(){return"BlockQuoteUI"}init(){const n=this.editor,r=n.t;n.ui.componentFactory.add("blockQuote",a=>{const d=n.commands.get("blockQuote"),u=new Qn(a);return u.set({label:r("Block quote"),icon:bn.quote,tooltip:!0,isToggleable:!0}),u.bind("isOn","isEnabled").to(d,"value","isEnabled"),this.listenTo(u,"execute",()=>{n.execute("blockQuote"),n.editing.view.focus()}),u})}}class Fu extends dt{static get pluginName(){return"CKBoxUI"}afterInit(){const n=this.editor;if(!n.commands.get("ckbox"))return;const r=n.t;if(n.ui.componentFactory.add("ckbox",a=>{const d=n.commands.get("ckbox"),u=new Qn(a);return u.set({label:r("Open file manager"),icon:bn.browseFiles,tooltip:!0}),u.bind("isOn","isEnabled").to(d,"value","isEnabled"),u.on("execute",()=>{n.execute("ckbox")}),u}),n.plugins.has("ImageInsertUI")){const a=n.plugins.get("ImageInsertUI");a.registerIntegration({name:"assetManager",observable:()=>n.commands.get("ckbox"),buttonViewCreator:()=>{const d=this.editor.ui.componentFactory.create("ckbox");return d.icon=bn.imageAssetManager,d.bind("label").to(a,"isImageSelected",u=>r(u?"Replace image with file manager":"Insert image with file manager")),d},formViewCreator:()=>{const d=this.editor.ui.componentFactory.create("ckbox");return d.icon=bn.imageAssetManager,d.withText=!0,d.bind("label").to(a,"isImageSelected",u=>r(u?"Replace with file manager":"Insert with file manager")),d.on("execute",()=>{a.dropdownView.isOpen=!1}),d}})}}}var PS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],$p=c=>{let n=0;for(let r=0;r<c.length;r++)n=83*n+PS.indexOf(c[r]);return n},u_=c=>{let n=c/255;return n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)},Iy=c=>{let n=Math.max(0,Math.min(1,c));return n<=.0031308?Math.trunc(12.92*n*255+.5):Math.trunc(255*(1.055*Math.pow(n,.4166666666666667)-.055)+.5)},h_=(c,n)=>(c<0?-1:1)*Math.pow(Math.abs(c),n),NS=class extends Error{constructor(c){super(c),this.name="ValidationError",this.message=c}},Wi=c=>{let n=c>>8&255,r=255&c;return[u_(c>>16),u_(n),u_(r)]},$i=(c,n)=>{let r=Math.floor(c/361),a=Math.floor(c/19)%19,d=c%19;return[h_((r-9)/9,2)*n,h_((a-9)/9,2)*n,h_((d-9)/9,2)*n]},Mt=Object.defineProperty,na=Object.getOwnPropertySymbols,ia=Object.prototype.hasOwnProperty,oa=Object.prototype.propertyIsEnumerable,Ly=(c,n,r)=>n in c?Mt(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;function Oy(c){const n=[];let r=0;for(const d in c){const u=parseInt(d,10);isNaN(u)||(u>r&&(r=u),n.push(`${c[d]} ${d}w`))}const a=[{srcset:n.join(","),sizes:`(max-width: ${r}px) 100vw, ${r}px`,type:"image/webp"}];return{imageFallbackUrl:c.default,imageSources:a}}function l2({url:c,method:n="GET",data:r,onUploadProgress:a,signal:d,authorization:u}){const p=new XMLHttpRequest;p.open(n,c.toString()),p.setRequestHeader("Authorization",u),p.setRequestHeader("CKBox-Version","CKEditor 5"),p.responseType="json";const f=()=>{p.abort()};return new Promise((g,b)=>{d.throwIfAborted(),d.addEventListener("abort",f),p.addEventListener("loadstart",()=>{d.addEventListener("abort",f)}),p.addEventListener("loadend",()=>{d.removeEventListener("abort",f)}),p.addEventListener("error",()=>{b()}),p.addEventListener("abort",()=>{b()}),p.addEventListener("load",()=>{const k=p.response;if(!k||k.statusCode>=400)return b(k&&k.message);g(k)}),a&&p.upload.addEventListener("progress",k=>{a(k)}),p.send(r)})}const FS={"image/gif":"gif","image/jpeg":"jpg","image/png":"png","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"};var Py=Object.defineProperty,Bu=Object.getOwnPropertySymbols,jS=Object.prototype.hasOwnProperty,c2=Object.prototype.propertyIsEnumerable,d2=(c,n,r)=>n in c?Py(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,u2=(c,n)=>{for(var r in n||(n={}))jS.call(n,r)&&d2(c,r,n[r]);if(Bu)for(var r of Bu(n))c2.call(n,r)&&d2(c,r,n[r]);return c};class h2 extends Tn{constructor(n){super(n),this._chosenAssets=new Set,this._wrapper=null,this._initListeners()}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(){this.fire("ckbox:open")}_getValue(){return null!==this._wrapper}_checkEnabled(){const n=this.editor.commands.get("insertImage"),r=this.editor.commands.get("link");return!(!n.isEnabled&&!r.isEnabled)}_prepareOptions(){const n=this.editor.config.get("ckbox");return{theme:n.theme,language:n.language,tokenUrl:n.tokenUrl,serviceOrigin:n.serviceOrigin,forceDemoLabel:n.forceDemoLabel,dialog:{onClose:()=>this.fire("ckbox:close")},assets:{onChoose:r=>this.fire("ckbox:choose",r)}}}_initListeners(){const n=this.editor,r=n.model,a=!n.config.get("ckbox.ignoreDataId");this.on("ckbox",()=>{this.refresh()},{priority:"low"}),this.on("ckbox:open",()=>{this.isEnabled&&!this.value&&(this._wrapper=lr(document,"div",{class:"ck ckbox-wrapper"}),document.body.appendChild(this._wrapper),window.CKBox.mount(this._wrapper,this._prepareOptions()))}),this.on("ckbox:close",()=>{this.value&&(this._wrapper.remove(),this._wrapper=null,n.editing.view.focus())}),this.on("ckbox:choose",(d,u)=>{if(!this.isEnabled)return;const p=n.commands.get("insertImage"),f=n.commands.get("link"),g=function({assets:k,isImageAllowed:S,isLinkAllowed:B}){return k.map(U=>function(Z){const te=Z.data.metadata;return!!te&&te.width&&te.height}(U)?{id:U.data.id,type:"image",attributes:p2(U)}:{id:U.data.id,type:"link",attributes:p_(U)}).filter(U=>"image"===U.type?S:B)}({assets:u,isImageAllowed:p.isEnabled,isLinkAllowed:f.isEnabled}),b=g.length;0!==b&&(r.change(k=>{for(const S of g)this._insertAsset(S,S===g[b-1],k,1===b),a&&(setTimeout(()=>this._chosenAssets.delete(S),1e3),this._chosenAssets.add(S))}),n.editing.view.focus())}),this.listenTo(n,"destroy",()=>{this.fire("ckbox:close"),this._chosenAssets.clear()})}_insertAsset(n,r,a,d){const u=this.editor.model.document.selection;a.removeSelectionAttribute("linkHref"),"image"===n.type?this._insertImage(n):this._insertLink(n,a,d),r||a.setSelection(u.getLastPosition())}_insertImage(n){const r=this.editor,{imageFallbackUrl:a,imageSources:d,imageTextAlternative:u,imageWidth:p,imageHeight:f,imagePlaceholder:g}=n.attributes;r.execute("insertImage",{source:u2({src:a,sources:d,alt:u,width:p,height:f},g?{placeholder:g}:null)})}_insertLink(n,r,a){const d=this.editor,u=d.model,p=u.document.selection,{linkName:f,linkHref:g}=n.attributes;if(p.isCollapsed){const b=Ys(p.getAttributes()),k=r.createText(f,b);if(!a){const B=p.getLastPosition(),U=B.parent;"paragraph"===U.name&&U.isEmpty||d.execute("insertParagraph",{position:B});const Z=u.insertContent(k);return r.setSelection(Z),void d.execute("link",g)}const S=u.insertContent(k);r.setSelection(S)}d.execute("link",g)}}function p2(c){const{imageFallbackUrl:n,imageSources:r}=Oy(c.data.imageUrls),{description:a,width:d,height:u,blurHash:p}=c.data.metadata,f=function(g){if(g)try{const b="32px",k=document.createElement("canvas");k.setAttribute("width",b),k.setAttribute("height",b);const S=k.getContext("2d");if(!S)return;const B=S.createImageData(32,32),U=((c,n,r,a)=>{(c=>{if(!c||c.length<6)throw new NS("The blurhash string must be at least 6 characters");let n=$p(c[0]),r=Math.floor(n/9)+1,a=n%9+1;if(c.length!==4+2*a*r)throw new NS(`blurhash length mismatch: length is ${c.length} but it should be ${4+2*a*r}`)})(c),a|=1;let d=$p(c[0]),u=Math.floor(d/9)+1,p=d%9+1,f=($p(c[1])+1)/166,g=new Array(p*u);for(let S=0;S<g.length;S++)if(0===S){let B=$p(c.substring(2,6));g[S]=Wi(B)}else{let B=$p(c.substring(4+2*S,6+2*S));g[S]=$i(B,f*a)}let b=4*n,k=new Uint8ClampedArray(b*r);for(let S=0;S<r;S++)for(let B=0;B<n;B++){let U=0,Z=0,te=0;for(let He=0;He<u;He++)for(let ct=0;ct<p;ct++){let It=Math.cos(Math.PI*B*ct/n)*Math.cos(Math.PI*S*He/r),Zt=g[ct+He*p];U+=Zt[0]*It,Z+=Zt[1]*It,te+=Zt[2]*It}let fe=Iy(U),ge=Iy(Z),Ee=Iy(te);k[4*B+0+S*b]=fe,k[4*B+1+S*b]=ge,k[4*B+2+S*b]=Ee,k[4*B+3+S*b]=255}return k})(g,32,32);return B.data.set(U),S.putImageData(B,0,0),k.toDataURL()}catch{return}}(p);return u2({imageFallbackUrl:n,imageSources:r,imageTextAlternative:a||"",imageWidth:d,imageHeight:u},f?{imagePlaceholder:f}:null)}function p_(c){return{linkName:c.data.name,linkHref:zS(c)}}function zS(c){const n=new URL(c.data.url);return n.searchParams.set("download","true"),n.toString()}var f_=(c,n,r)=>new Promise((a,d)=>{var u=g=>{try{f(r.next(g))}catch(b){d(b)}},p=g=>{try{f(r.throw(g))}catch(b){d(b)}},f=g=>g.done?a(g.value):Promise.resolve(g.value).then(u,p);f((r=r.apply(c,n)).next())});class ze extends dt{static get pluginName(){return"CKBoxUtils"}static get requires(){return["CloudServices"]}init(){return f_(this,null,function*(){const n=this.editor,r=!!n.config.get("ckbox"),a=!!window.CKBox;if(!r&&!a)return;n.config.define("ckbox",{serviceOrigin:"https://api.ckbox.io",defaultUploadCategories:null,ignoreDataId:!1,language:n.locale.uiLanguage,theme:"lark",tokenUrl:n.config.get("cloudServices.tokenUrl")});const d=n.plugins.get("CloudServices"),u=n.config.get("cloudServices.tokenUrl"),p=n.config.get("ckbox.tokenUrl");if(!p)throw new Y("ckbox-plugin-missing-token-url",this);this._token=p==u?d.token:yield d.registerTokenUrl(p)})}getToken(){return this._token}getWorkspaceId(){const n=(0,this.editor.t)("Cannot access default workspace."),r=this.editor.config.get("ckbox.defaultUploadWorkspaceId"),a=function(d,u){const[,p]=d.value.split("."),f=JSON.parse(atob(p)),g=f.auth&&f.auth.ckbox&&f.auth.ckbox.workspaces||[f.aud];return u?"superadmin"==(f.auth&&f.auth.ckbox&&f.auth.ckbox.role)||g.includes(u)?u:null:g[0]}(this._token,r);if(null==a)throw pe("ckbox-access-default-workspace-error"),n;return a}getCategoryIdForFile(n,r){return f_(this,null,function*(){const a=(0,this.editor.t)("Cannot determine a category for the uploaded file."),d=this.editor.config.get("ckbox.defaultUploadCategories"),u=this._getAvailableCategories(r),p="string"==typeof n?(f=yield function BS(c,n){return r=this,d=function*(){try{const u=yield fetch(c,((p,f)=>{for(var g in f||(f={}))ia.call(f,g)&&Ly(p,g,f[g]);if(na)for(var g of na(f))oa.call(f,g)&&Ly(p,g,f[g]);return p})({method:"HEAD",cache:"force-cache"},n));return u.ok&&u.headers.get("content-type")||""}catch{return""}},new Promise((u,p)=>{var f=k=>{try{b(d.next(k))}catch(S){p(S)}},g=k=>{try{b(d.throw(k))}catch(S){p(S)}},b=k=>k.done?u(k.value):Promise.resolve(k.value).then(f,g);b((d=d.apply(r,null)).next())});var r,d}(n,r),FS[f]):function(k){const S=k.name,B=new RegExp("\\.(?<ext>[^.]+)$");return S.match(B).groups.ext.toLowerCase()}(n);var f;const g=yield u;if(!g)throw a;if(d){const k=Object.keys(d).find(S=>d[S].find(B=>B.toLowerCase()==p));if(k){const S=g.find(B=>B.id===k||B.name===k);if(!S)throw a;return S.id}}const b=g.find(k=>k.extensions.find(S=>S.toLowerCase()==p));if(!b)throw a;return b.id})}_getAvailableCategories(n){return f_(this,null,function*(){const r=this.editor,a=this._token,{signal:d}=n,u=r.config.get("ckbox.serviceOrigin"),p=this.getWorkspaceId();try{const g=[];let b,k=0;do{const S=yield f(k);g.push(...S.items),b=S.totalCount-(k+50),k+=50}while(b>0);return g}catch{return d.throwIfAborted(),void pe("ckbox-fetch-category-http-error")}function f(g){const b=new URL("categories",u);return b.searchParams.set("limit",50..toString()),b.searchParams.set("offset",g.toString()),b.searchParams.set("workspaceId",p),l2({url:b,signal:d,authorization:a.value})}})}}var m_=(c,n,r)=>new Promise((a,d)=>{var u=g=>{try{f(r.next(g))}catch(b){d(b)}},p=g=>{try{f(r.throw(g))}catch(b){d(b)}},f=g=>g.done?a(g.value):Promise.resolve(g.value).then(u,p);f((r=r.apply(c,n)).next())});class VS extends dt{static get requires(){return["ImageUploadEditing","ImageUploadProgress",Ns,nn]}static get pluginName(){return"CKBoxUploadAdapter"}afterInit(){return m_(this,null,function*(){const n=this.editor,r=!!n.config.get("ckbox"),a=!!window.CKBox;if(!r&&!a)return;const d=n.plugins.get(Ns),u=n.plugins.get(ze);d.createUploadAdapter=g=>new HS(g,n,u);const p=!n.config.get("ckbox.ignoreDataId"),f=n.plugins.get("ImageUploadEditing");p&&f.on("uploadComplete",(g,{imageElement:b,data:k})=>{n.model.change(S=>{S.setAttribute("ckboxImageId",k.ckboxImageId,b)})})})}}class HS{constructor(n,r,a){this.loader=n,this.token=a.getToken(),this.ckboxUtils=a,this.editor=r,this.controller=new AbortController,this.serviceOrigin=r.config.get("ckbox.serviceOrigin")}upload(){return m_(this,null,function*(){const n=this.ckboxUtils,r=this.editor.t,a=yield this.loader.file,d=yield n.getCategoryIdForFile(a,{signal:this.controller.signal}),u=new URL("assets",this.serviceOrigin),p=new FormData;return u.searchParams.set("workspaceId",n.getWorkspaceId()),p.append("categoryId",d),p.append("file",a),l2({method:"POST",url:u,data:p,onUploadProgress:f=>{f.lengthComputable&&(this.loader.uploadTotal=f.total,this.loader.uploaded=f.loaded)},signal:this.controller.signal,authorization:this.token.value}).then(f=>m_(this,null,function*(){const g=Oy(f.imageUrls);return{ckboxImageId:f.id,default:g.imageFallbackUrl,sources:g.imageSources}})).catch(()=>{const f=r("Cannot upload file:")+` ${a.name}.`;return Promise.reject(f)})})}abort(){this.controller.abort()}}class nn extends dt{static get pluginName(){return"CKBoxEditing"}static get requires(){return["LinkEditing","PictureEditing",VS,ze]}init(){const n=this.editor;this._shouldBeInitialised()&&(this._checkImagePlugins(),Ny()&&n.commands.add("ckbox",new h2(n)))}afterInit(){const n=this.editor;this._shouldBeInitialised()&&(n.config.get("ckbox.ignoreDataId")||(this._initSchema(),this._initConversion(),this._initFixers()))}_shouldBeInitialised(){return!!this.editor.config.get("ckbox")||Ny()}_checkImagePlugins(){const n=this.editor;n.plugins.has("ImageBlockEditing")||n.plugins.has("ImageInlineEditing")||pe("ckbox-plugin-image-feature-missing",n)}_initSchema(){const n=this.editor.model.schema;n.extend("$text",{allowAttributes:"ckboxLinkId"}),n.isRegistered("imageBlock")&&n.extend("imageBlock",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),n.isRegistered("imageInline")&&n.extend("imageInline",{allowAttributes:["ckboxImageId","ckboxLinkId"]}),n.addAttributeCheck((r,a)=>{if(!r.last.getAttribute("linkHref")&&"ckboxLinkId"===a)return!1})}_initConversion(){const n=this.editor;n.conversion.for("downcast").add(a=>{a.on("attribute:ckboxLinkId:imageBlock",(d,u,p)=>{const{writer:f,mapper:g,consumable:b}=p;if(!b.consume(u.item,d.name))return;const k=[...g.toViewElement(u.item).getChildren()].find(S=>"a"===S.name);k&&(u.item.hasAttribute("ckboxLinkId")?f.setAttribute("data-ckbox-resource-id",u.item.getAttribute("ckboxLinkId"),k):f.removeAttribute("data-ckbox-resource-id",k))},{priority:"low"}),a.on("attribute:ckboxLinkId",(d,u,p)=>{const{writer:f,mapper:g,consumable:b}=p;if(b.consume(u.item,d.name)){if(u.attributeOldValue){const k=Gp(f,u.attributeOldValue);f.unwrap(g.toViewRange(u.range),k)}if(u.attributeNewValue){const k=Gp(f,u.attributeNewValue);u.item.is("selection")?f.wrap(f.document.selection.getFirstRange(),k):f.wrap(g.toViewRange(u.range),k)}}},{priority:"low"})}),n.conversion.for("upcast").add(a=>{a.on("element:a",(d,u,p)=>{const{writer:f,consumable:g}=p;if(!u.viewItem.getAttribute("href")||!g.consume(u.viewItem,{attributes:["data-ckbox-resource-id"]}))return;const b=u.viewItem.getAttribute("data-ckbox-resource-id");if(b)if(u.modelRange)for(let k of u.modelRange.getItems())k.is("$textProxy")&&(k=k.textNode),f2(k)&&f.setAttribute("ckboxLinkId",b,k);else f.setAttribute("ckboxLinkId",b,u.modelCursor.nodeBefore||u.modelCursor.parent)},{priority:"low"})}),n.conversion.for("downcast").attributeToAttribute({model:"ckboxImageId",view:"data-ckbox-resource-id"}),n.conversion.for("upcast").elementToAttribute({model:{key:"ckboxImageId",value:a=>a.getAttribute("data-ckbox-resource-id")},view:{attributes:{"data-ckbox-resource-id":/[\s\S]+/}}});const r=n.commands.get("replaceImageSource");r&&this.listenTo(r,"cleanupImage",(a,[d,u])=>{d.removeAttribute("ckboxImageId",u)})}_initFixers(){const n=this.editor,r=n.model,a=r.document.selection;var d;r.document.registerPostFixer((d=n,u=>{let p=!1;const f=d.model,g=d.commands.get("ckbox");if(!g)return p;for(const b of f.document.differ.getChanges()){if("insert"!==b.type&&"attribute"!==b.type)continue;const k="insert"===b.type?new Ke(b.position,b.position.getShiftedBy(b.length)):b.range,S="attribute"===b.type&&"linkHref"===b.attributeKey&&null===b.attributeNewValue;for(const B of k.getItems()){if(S&&B.hasAttribute("ckboxLinkId")){u.removeAttribute("ckboxLinkId",B),p=!0;continue}const U=rr(B,g._chosenAssets);for(const Z of U){const te="image"===Z.type?"ckboxImageId":"ckboxLinkId";Z.id!==B.getAttribute(te)&&(u.setAttribute(te,Z.id,B),p=!0)}}}return p})),r.document.registerPostFixer(function(d){return u=>!(d.hasAttribute("linkHref")||!d.hasAttribute("ckboxLinkId")||(u.removeSelectionAttribute("ckboxLinkId"),0))}(a))}}function rr(c,n){const r=c.is("element","imageInline")||c.is("element","imageBlock"),a=c.hasAttribute("linkHref");return[...n].filter(d=>"image"===d.type&&r?d.attributes.imageFallbackUrl===c.getAttribute("src"):"link"===d.type&&a?d.attributes.linkHref===c.getAttribute("linkHref"):void 0)}function Gp(c,n){const r=c.createAttributeElement("a",{"data-ckbox-resource-id":n},{priority:5});return c.setCustomProperty("link",!0,r),r}function f2(c){return!!c.is("$text")||!(!c.is("element","imageInline")&&!c.is("element","imageBlock"))}function Ny(){return!!window.CKBox}var Ry=L(1866);yt()(Ry.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class g2 extends dt{static get pluginName(){return"CKFinderUI"}init(){const n=this.editor,a=n.t;if(n.ui.componentFactory.add("ckfinder",d=>{const u=n.commands.get("ckfinder"),p=new Qn(d);return p.set({label:a("Insert image or file"),icon:bn.browseFiles,tooltip:!0}),p.bind("isEnabled").to(u),p.on("execute",()=>{n.execute("ckfinder"),n.editing.view.focus()}),p}),n.plugins.has("ImageInsertUI")){const d=n.plugins.get("ImageInsertUI");d.registerIntegration({name:"assetManager",observable:()=>n.commands.get("ckfinder"),buttonViewCreator:()=>{const u=this.editor.ui.componentFactory.create("ckfinder");return u.icon=bn.imageAssetManager,u.bind("label").to(d,"isImageSelected",p=>a(p?"Replace image with file manager":"Insert image with file manager")),u},formViewCreator:()=>{const u=this.editor.ui.componentFactory.create("ckfinder");return u.icon=bn.imageAssetManager,u.withText=!0,u.bind("label").to(d,"isImageSelected",p=>a(p?"Replace with file manager":"Insert with file manager")),u.on("execute",()=>{d.dropdownView.isOpen=!1}),u}})}}}class _2 extends Tn{constructor(n){super(n),this.affectsData=!1,this.stopListening(this.editor.model.document,"change"),this.listenTo(this.editor.model.document,"change",()=>this.refresh(),{priority:"low"})}refresh(){const n=this.editor.commands.get("insertImage"),r=this.editor.commands.get("link");this.isEnabled=n.isEnabled||r.isEnabled}execute(){const n=this.editor,r=this.editor.config.get("ckfinder.openerMethod")||"modal";if("popup"!=r&&"modal"!=r)throw new Y("ckfinder-unknown-openermethod",n);const a=this.editor.config.get("ckfinder.options")||{};a.chooseFiles=!0;const d=a.onInit;a.language||(a.language=n.locale.uiLanguage),a.onInit=u=>{d&&d(u),u.on("files:choose",p=>{const f=p.data.files.toArray(),g=f.filter(S=>!S.isImage()),b=f.filter(S=>S.isImage());for(const S of g)n.execute("link",S.getUrl());const k=[];for(const S of b){const B=S.getUrl();k.push(B||u.request("file:getProxyUrl",{file:S}))}k.length&&Fy(n,k)}),u.on("file:choose:resizedImage",p=>{const f=p.data.resizedUrl;if(f)Fy(n,[f]);else{const g=n.plugins.get("Notification"),b=n.locale.t;g.showWarning(b("Could not obtain resized image URL."),{title:b("Selecting resized image failed"),namespace:"ckfinder"})}})},window.CKFinder[r](a)}}function Fy(c,n){if(c.commands.get("insertImage").isEnabled)c.execute("insertImage",{source:n});else{const r=c.plugins.get("Notification"),a=c.locale.t;r.showWarning(a("Could not insert image at the current position."),{title:a("Inserting image failed"),namespace:"ckfinder"})}}class b2 extends dt{static get pluginName(){return"CKFinderEditing"}static get requires(){return[Ug,"LinkEditing"]}init(){const n=this.editor;if(!n.plugins.has("ImageBlockEditing")&&!n.plugins.has("ImageInlineEditing"))throw new Y("ckfinder-missing-image-plugin",n);n.commands.add("ckfinder",new _2(n))}}class YS extends dt{static get pluginName(){return"CloudServicesUploadAdapter"}static get requires(){return["CloudServices",Ns]}init(){const n=this.editor,r=n.plugins.get("CloudServices"),a=r.token,d=r.uploadUrl;if(!a)return;const u=n.plugins.get("CloudServicesCore");this._uploadGateway=u.createUploadGateway(a,d),n.plugins.get(Ns).createUploadAdapter=p=>new US(this._uploadGateway,p)}}class US{constructor(n,r){this.uploadGateway=n,this.loader=r}upload(){return this.loader.file.then(n=>(this.fileUploader=this.uploadGateway.upload(n),this.fileUploader.on("progress",(r,a)=>{this.loader.uploadTotal=a.total,this.loader.uploaded=a.uploaded}),this.fileUploader.send()))}abort(){this.fileUploader.abort()}}class WS extends Tn{constructor(n){super(n),this._isEnabledBasedOnSelection=!1}refresh(){const n=this.editor.model,r=bo(n.document.selection.getSelectedBlocks());this.value=!!r&&r.is("element","paragraph"),this.isEnabled=!!r&&v2(r,n.schema)}execute(n={}){const r=this.editor.model,d=n.selection||r.document.selection;r.canEditAt(d)&&r.change(u=>{const p=d.getSelectedBlocks();for(const f of p)!f.is("element","paragraph")&&v2(f,r.schema)&&u.rename(f,"paragraph")})}}function v2(c,n){return n.checkChild(c.parent,"paragraph")&&!n.isObject(c)}class $S extends Tn{constructor(n){super(n),this._isEnabledBasedOnSelection=!1}execute(n){const r=this.editor.model,a=n.attributes;let d=n.position;r.canEditAt(d)&&r.change(u=>{if(d=this._findPositionToInsertParagraph(d,u),!d)return;const p=u.createElement("paragraph");a&&r.schema.setAllowedAttributes(p,a,u),r.insertContent(p,d),u.setSelection(p,"in")})}_findPositionToInsertParagraph(n,r){const a=this.editor.model;if(a.schema.checkChild(n,"paragraph"))return n;const d=a.schema.findAllowedParent(n,"paragraph");if(!d)return null;const u=n.parent,p=a.schema.checkChild(u,"$text");return u.isEmpty||p&&n.isAtEnd?a.createPositionAfter(u):!u.isEmpty&&p&&n.isAtStart?a.createPositionBefore(u):r.split(n,d).position}}const y2=class extends dt{static get pluginName(){return"Paragraph"}init(){const c=this.editor,n=c.model;c.commands.add("paragraph",new WS(c)),c.commands.add("insertParagraph",new $S(c)),n.schema.register("paragraph",{inheritAllFrom:"$block"}),c.conversion.elementToElement({model:"paragraph",view:"p"}),c.conversion.for("upcast").elementToElement({model:(r,{writer:a})=>y2.paragraphLikeElements.has(r.name)?r.isEmpty?null:a.createElement("paragraph"):null,view:/.+/,converterPriority:"low"})}};let By=y2;By.paragraphLikeElements=new Set(["blockquote","dd","div","dt","h1","h2","h3","h4","h5","h6","li","p","td","th"]);class qS extends Tn{constructor(n,r){super(n),this.modelElements=r}refresh(){const n=bo(this.editor.model.document.selection.getSelectedBlocks());this.value=!!n&&this.modelElements.includes(n.name)&&n.name,this.isEnabled=!!n&&this.modelElements.some(r=>k2(n,r,this.editor.model.schema))}execute(n){const r=this.editor.model,a=r.document,d=n.value;r.change(u=>{const p=Array.from(a.selection.getSelectedBlocks()).filter(f=>k2(f,d,r.schema));for(const f of p)f.is("element",d)||u.rename(f,d)})}}function k2(c,n,r){return r.checkChild(c.parent,n)&&!r.isObject(c)}const w2="paragraph";class GS extends dt{static get pluginName(){return"HeadingEditing"}constructor(n){super(n),n.config.define("heading",{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h2",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h3",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h4",title:"Heading 3",class:"ck-heading_heading3"}]})}static get requires(){return[By]}init(){const n=this.editor,r=n.config.get("heading.options"),a=[];for(const d of r)"paragraph"!==d.model&&(n.model.schema.register(d.model,{inheritAllFrom:"$block"}),n.conversion.elementToElement(d),a.push(d.model));this._addDefaultH1Conversion(n),n.commands.add("heading",new qS(n,a))}afterInit(){const n=this.editor,r=n.commands.get("enter"),a=n.config.get("heading.options");r&&this.listenTo(r,"afterExecute",(d,u)=>{const p=n.model.document.selection.getFirstPosition().parent;a.some(f=>p.is("element",f.model))&&!p.is("element",w2)&&0===p.childCount&&u.writer.rename(p,w2)})}_addDefaultH1Conversion(n){n.conversion.for("upcast").elementToElement({model:"heading1",view:"h1",converterPriority:de.low+1})}}var C2=L(6269);yt()(C2.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ZS extends dt{static get pluginName(){return"HeadingUI"}init(){const n=this.editor,r=n.t,a=function(p){const f=p.t,g={Paragraph:f("Paragraph"),"Heading 1":f("Heading 1"),"Heading 2":f("Heading 2"),"Heading 3":f("Heading 3"),"Heading 4":f("Heading 4"),"Heading 5":f("Heading 5"),"Heading 6":f("Heading 6")};return p.config.get("heading.options").map(b=>{const k=g[b.title];return k&&k!=b.title&&(b.title=k),b})}(n),d=r("Choose heading"),u=r("Heading");n.ui.componentFactory.add("heading",p=>{const f={},g=new os,b=n.commands.get("heading"),k=n.commands.get("paragraph"),S=[b];for(const U of a){const Z={type:"button",model:new Ce({label:U.title,class:U.class,role:"menuitemradio",withText:!0})};"paragraph"===U.model?(Z.model.bind("isOn").to(k,"value"),Z.model.set("commandName","paragraph"),S.push(k)):(Z.model.bind("isOn").to(b,"value",te=>te===U.model),Z.model.set({commandName:"heading",commandValue:U.model})),g.add(Z),f[U.model]=U.title}const B=Oa(p);return EC(B,g,{ariaLabel:u,role:"menu"}),B.buttonView.set({ariaLabel:u,ariaLabelledBy:void 0,isOn:!1,withText:!0,tooltip:u}),B.extendTemplate({attributes:{class:["ck-heading-dropdown"]}}),B.bind("isEnabled").toMany(S,"isEnabled",(...U)=>U.some(Z=>Z)),B.buttonView.bind("label").to(b,"value",k,"value",(U,Z)=>{const te=U||Z&&"paragraph";return"boolean"==typeof te?d:f[te]?f[te]:d}),this.listenTo(B,"execute",U=>{const{commandName:Z,commandValue:te}=U.source;n.execute(Z,te?{value:te}:void 0),n.editing.view.focus()}),B})}}function A2(c){return c.createContainerElement("figure",{class:"image"},[c.createEmptyElement("img"),c.createSlot("children")])}function M2(c,n){const r=c.plugins.get("ImageUtils"),a=c.plugins.has("ImageInlineEditing")&&c.plugins.has("ImageBlockEditing");return u=>r.isInlineImageView(u)?a&&("block"==u.getStyle("display")||u.findAncestor(r.isBlockImageView)?"imageBlock":"imageInline")!==n?null:function d(u){const p={name:!0};return u.hasAttribute("src")&&(p.attributes=["src"]),p}(u):null}function jy(c,n){const r=bo(n.getSelectedBlocks());return!r||c.isObject(r)||r.isEmpty&&"listItem"!=r.name?"imageBlock":"imageInline"}function Kp(c){return c&&c.endsWith("px")?parseInt(c):null}function zy(c){const n=Kp(c.getStyle("width")),r=Kp(c.getStyle("height"));return!(!n||!r)}var D2=Object.defineProperty,Vy=Object.getOwnPropertySymbols,T2=Object.prototype.hasOwnProperty,x2=Object.prototype.propertyIsEnumerable,Hy=(c,n,r)=>n in c?D2(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,Yy=(c,n)=>{for(var r in n||(n={}))T2.call(n,r)&&Hy(c,r,n[r]);if(Vy)for(var r of Vy(n))x2.call(n,r)&&Hy(c,r,n[r]);return c};const E2=/^(image|image-inline)$/;class Mr extends dt{constructor(){super(...arguments),this._domEmitter=new(Rr())}static get pluginName(){return"ImageUtils"}isImage(n){return this.isInlineImage(n)||this.isBlockImage(n)}isInlineImageView(n){return!!n&&n.is("element","img")}isBlockImageView(n){return!!n&&n.is("element","figure")&&n.hasClass("image")}insertImage(n={},r=null,a=null,d={}){const u=this.editor,p=u.model,f=p.document.selection,g=Uy(u,r||f,a);n=Yy(Yy({},Object.fromEntries(f.getAttributes())),n);for(const b in n)p.schema.checkAttribute(g,b)||delete n[b];return p.change(b=>{const{setImageSizes:k=!0}=d,S=b.createElement(g,n);return p.insertObject(S,r,null,{setSelection:"on",findOptimalPosition:r||"imageInline"==g?void 0:"auto"}),S.parent?(k&&this.setImageNaturalSizeAttributes(S),S):null})}setImageNaturalSizeAttributes(n){const r=n.getAttribute("src");r&&(n.getAttribute("width")||n.getAttribute("height")||this.editor.model.change(a=>{const d=new Vt.window.Image;this._domEmitter.listenTo(d,"load",()=>{n.getAttribute("width")||n.getAttribute("height")||this.editor.model.enqueueChange(a.batch,u=>{u.setAttribute("width",d.naturalWidth,n),u.setAttribute("height",d.naturalHeight,n)}),this._domEmitter.stopListening(d,"load")}),d.src=r}))}getClosestSelectedImageWidget(n){const r=n.getFirstPosition();if(!r)return null;const a=n.getSelectedElement();if(a&&this.isImageWidget(a))return a;let d=r.parent;for(;d;){if(d.is("element")&&this.isImageWidget(d))return d;d=d.parent}return null}getClosestSelectedImageElement(n){const r=n.getSelectedElement();return this.isImage(r)?r:n.getFirstPosition().findAncestor("imageBlock")}getImageWidgetFromImageView(n){return n.findAncestor({classes:E2})}isImageAllowed(){const n=this.editor.model.document.selection;return function(r,a){if("imageBlock"==Uy(r,a,null)){const u=function(p,f){const b=FA(p,f).start.parent;return b.isEmpty&&!b.is("element","$root")?b.parent:b}(a,r.model);if(r.model.schema.checkChild(u,"imageBlock"))return!0}else if(r.model.schema.checkChild(a.focus,"imageInline"))return!0;return!1}(this.editor,n)&&[...n.focus.getAncestors()].every(a=>!a.is("element","imageBlock"))}toImageWidget(n,r,a){return r.setCustomProperty("image",!0,n),NA(n,r,{label:()=>{const d=this.findViewImgElement(n).getAttribute("alt");return d?`${d} ${a}`:a}})}isImageWidget(n){return!!n.getCustomProperty("image")&&wo(n)}isBlockImage(n){return!!n&&n.is("element","imageBlock")}isInlineImage(n){return!!n&&n.is("element","imageInline")}findViewImgElement(n){if(this.isInlineImageView(n))return n;const r=this.editor.editing.view;for(const{item:a}of r.createRangeIn(n))if(this.isInlineImageView(a))return a}destroy(){return this._domEmitter.stopListening(),super.destroy()}}function Uy(c,n,r){const a=c.model.schema,d=c.config.get("image.insert.type");return c.plugins.has("ImageBlockEditing")?c.plugins.has("ImageInlineEditing")?r||("inline"===d?"imageInline":"auto"!==d?"imageBlock":n.is("selection")?jy(a,n):a.checkChild(n,"imageInline")?"imageInline":"imageBlock"):"imageBlock":"imageInline"}new RegExp(String(/^(http(s)?:\/\/)?[\w-]+\.[\w.~:/[\]@!$&'()*+,;=%-]+/.source+/\.(jpg|jpeg|png|gif|ico|webp|JPG|JPEG|PNG|GIF|ICO|WEBP)/.source+/(\?[\w.~:/[\]@!$&'()*+,;=%-]*)?/.source+/(#[\w.~:/[\]@!$&'()*+,;=%-]*)?$/.source));class vd extends Tn{refresh(){const n=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!n,this.value=!(!this.isEnabled||!n.hasAttribute("alt"))&&n.getAttribute("alt")}execute(n){const r=this.editor,a=r.plugins.get("ImageUtils"),d=r.model,u=a.getClosestSelectedImageElement(d.document.selection);d.change(p=>{p.setAttribute("alt",n.newValue,u)})}}class QS extends dt{static get requires(){return[Mr]}static get pluginName(){return"ImageTextAlternativeEditing"}init(){this.editor.commands.add("imageTextAlternative",new vd(this.editor))}}var S2=L(4062);yt()(S2.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var JS=L(2722);yt()(JS.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class CO extends on{constructor(n){super(n);const r=this.locale.t;this.focusTracker=new vo,this.keystrokes=new br,this.labeledInput=this._createLabeledInputView(),this.saveButtonView=this._createButton(r("Save"),bn.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(r("Cancel"),bn.cancel,"ck-button-cancel","cancel"),this._focusables=new Qs,this._focusCycler=new $r({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"form",attributes:{class:["ck","ck-text-alternative-form","ck-responsive-form"],tabindex:"-1"},children:[this.labeledInput,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),this.keystrokes.listenTo(this.element),v({view:this}),[this.labeledInput,this.saveButtonView,this.cancelButtonView].forEach(n=>{this._focusables.add(n),this.focusTracker.add(n.element)})}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}_createButton(n,r,a,d){const u=new Qn(this.locale);return u.set({label:n,icon:r,tooltip:!0}),u.extendTemplate({attributes:{class:a}}),d&&u.delegate("execute").to(this,d),u}_createLabeledInputView(){const n=this.locale.t,r=new Cg(this.locale,jv);return r.label=n("Text alternative"),r}}function Wy(c){const n=c.editing.view,r=qr.defaultPositions,a=c.plugins.get("ImageUtils");return{target:n.domConverter.mapViewToDom(a.getClosestSelectedImageWidget(n.document.selection)),positions:[r.northArrowSouth,r.northArrowSouthWest,r.northArrowSouthEast,r.southArrowNorth,r.southArrowNorthWest,r.southArrowNorthEast,r.viewportStickyNorth]}}class I2 extends dt{static get requires(){return[Zl]}static get pluginName(){return"ImageTextAlternativeUI"}init(){this._createButton()}destroy(){super.destroy(),this._form&&this._form.destroy()}_createButton(){const n=this.editor,r=n.t;n.ui.componentFactory.add("imageTextAlternative",a=>{const d=n.commands.get("imageTextAlternative"),u=new Qn(a);return u.set({label:r("Change image text alternative"),icon:bn.textAlternative,tooltip:!0}),u.bind("isEnabled").to(d,"isEnabled"),u.bind("isOn").to(d,"value",p=>!!p),this.listenTo(u,"execute",()=>{this._showForm()}),u})}_createForm(){const n=this.editor,r=n.editing.view.document,a=n.plugins.get("ImageUtils");this._balloon=this.editor.plugins.get("ContextualBalloon"),this._form=new(I(CO))(n.locale),this._form.render(),this.listenTo(this._form,"submit",()=>{n.execute("imageTextAlternative",{newValue:this._form.labeledInput.fieldView.element.value}),this._hideForm(!0)}),this.listenTo(this._form,"cancel",()=>{this._hideForm(!0)}),this._form.keystrokes.set("Esc",(d,u)=>{this._hideForm(!0),u()}),this.listenTo(n.ui,"update",()=>{a.getClosestSelectedImageWidget(r.selection)?this._isVisible&&function(d){const u=d.plugins.get("ContextualBalloon");if(d.plugins.get("ImageUtils").getClosestSelectedImageWidget(d.editing.view.document.selection)){const p=Wy(d);u.updatePosition(p)}}(n):this._hideForm(!0)}),C({emitter:this._form,activator:()=>this._isVisible,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideForm()})}_showForm(){if(this._isVisible)return;this._form||this._createForm();const n=this.editor,r=n.commands.get("imageTextAlternative"),a=this._form.labeledInput;this._form.disableCssTransitions(),this._isInBalloon||this._balloon.add({view:this._form,position:Wy(n)}),a.fieldView.value=a.fieldView.element.value=r.value||"",this._form.labeledInput.fieldView.select(),this._form.enableCssTransitions()}_hideForm(n=!1){this._isInBalloon&&(this._form.focusTracker.isFocused&&this._form.saveButtonView.focus(),this._balloon.remove(this._form),n&&this.editor.editing.view.focus())}get _isVisible(){return!!this._balloon&&this._balloon.visibleView===this._form}get _isInBalloon(){return!!this._balloon&&this._balloon.hasView(this._form)}}class XS extends dt{static get requires(){return[QS,I2]}static get pluginName(){return"ImageTextAlternative"}}function Ai(c,n){const r=(a,d,u)=>{if(!u.consumable.consume(d.item,a.name))return;const p=u.writer,f=u.mapper.toViewElement(d.item),g=c.findViewImgElement(f);null===d.attributeNewValue?(p.removeAttribute("srcset",g),p.removeAttribute("sizes",g)):d.attributeNewValue&&(p.setAttribute("srcset",d.attributeNewValue,g),p.setAttribute("sizes","100vw",g))};return a=>{a.on(`attribute:srcset:${n}`,r)}}function g_(c,n,r){const a=(d,u,p)=>{if(!p.consumable.consume(u.item,d.name))return;const f=p.writer,g=p.mapper.toViewElement(u.item),b=c.findViewImgElement(g);f.setAttribute(u.attributeKey,u.attributeNewValue||"",b)};return d=>{d.on(`attribute:${r}:${n}`,a)}}class L2 extends Ta{observe(n){this.listenTo(n,"load",(r,a)=>{const d=a.target;this.checkShouldIgnoreEventFromTarget(d)||"IMG"==d.tagName&&this._fireEvents(a)},{useCapture:!0})}stopObserving(n){this.stopListening(n)}_fireEvents(n){this.isEnabled&&(this.document.fire("layoutChanged"),this.document.fire("imageLoaded",n))}}var eI=Object.defineProperty,yd=Object.getOwnPropertySymbols,tI=Object.prototype.hasOwnProperty,__=Object.prototype.propertyIsEnumerable,Zp=(c,n,r)=>n in c?eI(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,$o=(c,n)=>{for(var r in n||(n={}))tI.call(n,r)&&Zp(c,r,n[r]);if(yd)for(var r of yd(n))__.call(n,r)&&Zp(c,r,n[r]);return c};class AO extends Tn{constructor(n){super(n);const r=n.config.get("image.insert.type");n.plugins.has("ImageBlockEditing")||"block"===r&&ie("image-block-plugin-required"),n.plugins.has("ImageInlineEditing")||"inline"===r&&ie("image-inline-plugin-required")}refresh(){const n=this.editor.plugins.get("ImageUtils");this.isEnabled=n.isImageAllowed()}execute(n){const r=Zn(n.source),a=this.editor.model.document.selection,d=this.editor.plugins.get("ImageUtils"),u=Object.fromEntries(a.getAttributes());r.forEach((p,f)=>{const g=a.getSelectedElement();if("string"==typeof p&&(p={src:p}),f&&g&&d.isImage(g)){const b=this.editor.model.createPositionAfter(g);d.insertImage($o($o({},p),u),b)}else d.insertImage($o($o({},p),u))})}}class O2 extends Tn{constructor(n){super(n),this.decorate("cleanupImage")}refresh(){const n=this.editor.plugins.get("ImageUtils"),r=this.editor.model.document.selection.getSelectedElement();this.isEnabled=n.isImage(r),this.value=this.isEnabled?r.getAttribute("src"):null}execute(n){const r=this.editor.model.document.selection.getSelectedElement(),a=this.editor.plugins.get("ImageUtils");this.editor.model.change(d=>{d.setAttribute("src",n.source,r),this.cleanupImage(d,r),a.setImageNaturalSizeAttributes(r)})}cleanupImage(n,r){n.removeAttribute("srcset",r),n.removeAttribute("sizes",r),n.removeAttribute("sources",r),n.removeAttribute("width",r),n.removeAttribute("height",r),n.removeAttribute("alt",r)}}class b_ extends dt{static get requires(){return[Mr]}static get pluginName(){return"ImageEditing"}init(){const n=this.editor,r=n.conversion;n.editing.view.addObserver(L2),r.for("upcast").attributeToAttribute({view:{name:"img",key:"alt"},model:"alt"}).attributeToAttribute({view:{name:"img",key:"srcset"},model:"srcset"});const a=new AO(n),d=new O2(n);n.commands.add("insertImage",a),n.commands.add("replaceImageSource",d),n.commands.add("imageInsert",a)}}class P2 extends dt{static get requires(){return[Mr]}static get pluginName(){return"ImageSizeAttributes"}afterInit(){this._registerSchema(),this._registerConverters("imageBlock"),this._registerConverters("imageInline")}_registerSchema(){this.editor.plugins.has("ImageBlockEditing")&&this.editor.model.schema.extend("imageBlock",{allowAttributes:["width","height"]}),this.editor.plugins.has("ImageInlineEditing")&&this.editor.model.schema.extend("imageInline",{allowAttributes:["width","height"]})}_registerConverters(n){const r=this.editor,a=r.plugins.get("ImageUtils"),d="imageBlock"===n?"figure":"img";function u(p,f,g,b){p.on(`attribute:${f}:${n}`,(k,S,B)=>{if(!B.consumable.consume(S.item,k.name))return;const U=B.writer,Z=B.mapper.toViewElement(S.item),te=a.findViewImgElement(Z);if(null!==S.attributeNewValue?U.setAttribute(g,S.attributeNewValue,te):U.removeAttribute(g,te),S.item.hasAttribute("sources"))return;const fe=S.item.hasAttribute("resizedWidth");if("imageInline"===n&&!fe&&!b)return;const ge=S.item.getAttribute("width"),Ee=S.item.getAttribute("height");ge&&Ee&&U.setStyle("aspect-ratio",`${ge}/${Ee}`,te)})}r.conversion.for("upcast").attributeToAttribute({view:{name:d,styles:{width:/.+/}},model:{key:"width",value:p=>zy(p)?Kp(p.getStyle("width")):null}}).attributeToAttribute({view:{name:d,key:"width"},model:"width"}).attributeToAttribute({view:{name:d,styles:{height:/.+/}},model:{key:"height",value:p=>zy(p)?Kp(p.getStyle("height")):null}}).attributeToAttribute({view:{name:d,key:"height"},model:"height"}),r.conversion.for("editingDowncast").add(p=>{u(p,"width","width",!0),u(p,"height","height",!0)}),r.conversion.for("dataDowncast").add(p=>{u(p,"width","width",!1),u(p,"height","height",!1)})}}class $y extends Tn{constructor(n,r){super(n),this._modelElementName=r}refresh(){const n=this.editor.plugins.get("ImageUtils"),r=n.getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled="imageBlock"===this._modelElementName?n.isInlineImage(r):n.isBlockImage(r)}execute(n={}){const a=this.editor.model,d=this.editor.plugins.get("ImageUtils"),u=d.getClosestSelectedImageElement(a.document.selection),p=Object.fromEntries(u.getAttributes());return p.src||p.uploadId?a.change(f=>{const{setImageSizes:g=!0}=n,b=Array.from(a.markers).filter(B=>B.getRange().containsItem(u)),k=d.insertImage(p,a.createSelection(u,"on"),this._modelElementName,{setImageSizes:g});if(!k)return null;const S=f.createRangeOn(k);for(const B of b){const U=B.getRange(),Z="$graveyard"!=U.root.rootName?U.getJoined(S,!0):S;f.updateMarker(B,{range:Z})}return{oldElement:u,newElement:k}}):null}}var qy=L(7378);yt()(qy.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Gy extends dt{static get requires(){return[Mr]}static get pluginName(){return"ImagePlaceholder"}afterInit(){this._setupSchema(),this._setupConversion(),this._setupLoadListener()}_setupSchema(){const n=this.editor.model.schema;n.isRegistered("imageBlock")&&n.extend("imageBlock",{allowAttributes:["placeholder"]}),n.isRegistered("imageInline")&&n.extend("imageInline",{allowAttributes:["placeholder"]})}_setupConversion(){const n=this.editor,r=n.conversion,a=n.plugins.get("ImageUtils");r.for("editingDowncast").add(d=>{d.on("attribute:placeholder",(u,p,f)=>{if(!f.consumable.test(p.item,u.name)||!p.item.is("element","imageBlock")&&!p.item.is("element","imageInline"))return;f.consumable.consume(p.item,u.name);const g=f.writer,b=f.mapper.toViewElement(p.item),k=a.findViewImgElement(b);p.attributeNewValue?(g.addClass("image_placeholder",k),g.setStyle("background-image",`url(${p.attributeNewValue})`,k),g.setCustomProperty("editingPipeline:doNotReuseOnce",!0,k)):(g.removeClass("image_placeholder",k),g.removeStyle("background-image",k))})})}_setupLoadListener(){const n=this.editor,r=n.model,a=n.editing,d=a.view,u=n.plugins.get("ImageUtils");d.addObserver(L2),this.listenTo(d.document,"imageLoaded",(p,f)=>{const g=d.domConverter.mapDomToView(f.target);if(!g)return;const b=u.getImageWidgetFromImageView(g);if(!b)return;const k=a.mapper.toModelElement(b);k&&k.hasAttribute("placeholder")&&r.enqueueChange({isUndoable:!1},S=>{S.removeAttribute("placeholder",k)})})}}class R2 extends dt{static get requires(){return[b_,P2,Mr,Gy,Ls]}static get pluginName(){return"ImageBlockEditing"}init(){const n=this.editor;n.model.schema.register("imageBlock",{inheritAllFrom:"$blockObject",allowAttributes:["alt","src","srcset"]}),this._setupConversion(),n.plugins.has("ImageInlineEditing")&&(n.commands.add("imageTypeBlock",new $y(this.editor,"imageBlock")),this._setupClipboardIntegration())}_setupConversion(){const n=this.editor,r=n.t,a=n.conversion,d=n.plugins.get("ImageUtils");a.for("dataDowncast").elementToStructure({model:"imageBlock",view:(u,{writer:p})=>A2(p)}),a.for("editingDowncast").elementToStructure({model:"imageBlock",view:(u,{writer:p})=>d.toImageWidget(A2(p),p,r("image widget"))}),a.for("downcast").add(g_(d,"imageBlock","src")).add(g_(d,"imageBlock","alt")).add(Ai(d,"imageBlock")),a.for("upcast").elementToElement({view:M2(n,"imageBlock"),model:(u,{writer:p})=>p.createElement("imageBlock",u.hasAttribute("src")?{src:u.getAttribute("src")}:void 0)}).add(function(u){const p=(f,g,b)=>{if(!b.consumable.test(g.viewItem,{name:!0,classes:"image"}))return;const k=u.findViewImgElement(g.viewItem);if(!k||!b.consumable.test(k,{name:!0}))return;b.consumable.consume(g.viewItem,{name:!0,classes:"image"});const S=bo(b.convertItem(k,g.modelCursor).modelRange.getItems());S?(b.convertChildren(g.viewItem,S),b.updateConversionResult(S,g)):b.consumable.revert(g.viewItem,{name:!0,classes:"image"})};return f=>{f.on("element:figure",p)}}(d))}_setupClipboardIntegration(){const n=this.editor,r=n.model,a=n.editing.view,d=n.plugins.get("ImageUtils"),u=n.plugins.get("ClipboardPipeline");this.listenTo(u,"inputTransformation",(p,f)=>{const g=Array.from(f.content.getChildren());let b;if(!g.every(d.isInlineImageView))return;b=f.targetRanges?n.editing.mapper.toModelRange(f.targetRanges[0]):r.document.selection.getFirstRange();const k=r.createSelection(b);if("imageBlock"===jy(r.schema,k)){const S=new bl(a.document),B=g.map(U=>S.createElement("figure",{class:"image"},U));f.content=S.createDocumentFragment(B)}}),this.listenTo(u,"contentInsertion",(p,f)=>{"paste"===f.method&&r.change(g=>{const b=g.createRangeIn(f.content);for(const k of b.getItems())k.is("element","imageBlock")&&d.setImageNaturalSizeAttributes(k)})})}}var F2=L(3350);yt()(F2.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Qp extends on{constructor(n,r=[]){super(n),this.focusTracker=new vo,this.keystrokes=new br,this._focusables=new Qs,this.children=this.createCollection(),this._focusCycler=new $r({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});for(const a of r)this.children.add(a),this._focusables.add(a),a instanceof Av&&this._focusables.addMany(a.children);if(this._focusables.length>1)for(const a of this._focusables)iI(a)&&(a.focusCycler.on("forwardCycle",d=>{this._focusCycler.focusNext(),d.stop()}),a.focusCycler.on("backwardCycle",d=>{this._focusCycler.focusPrevious(),d.stop()}));this.setTemplate({tag:"form",attributes:{class:["ck","ck-image-insert-form"],tabindex:-1},children:this.children})}render(){super.render(),v({view:this});for(const r of this._focusables)this.focusTracker.add(r.element);this.keystrokes.listenTo(this.element);const n=r=>r.stopPropagation();this.keystrokes.set("arrowright",n),this.keystrokes.set("arrowleft",n),this.keystrokes.set("arrowup",n),this.keystrokes.set("arrowdown",n)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}}function iI(c){return"focusCycler"in c}class B2 extends dt{constructor(n){super(n),this._integrations=new Map,n.config.define("image.insert.integrations",["upload","assetManager","url"])}static get pluginName(){return"ImageInsertUI"}static get requires(){return[Mr]}init(){const n=this.editor,r=n.model.document.selection,a=n.plugins.get("ImageUtils");this.set("isImageSelected",!1),this.listenTo(n.model.document,"change",()=>{this.isImageSelected=a.isImage(r.getSelectedElement())});const d=u=>this._createToolbarComponent(u);n.ui.componentFactory.add("insertImage",d),n.ui.componentFactory.add("imageInsert",d)}registerIntegration({name:n,observable:r,buttonViewCreator:a,formViewCreator:d,requiresForm:u}){this._integrations.has(n)&&ie("image-insert-integration-exists",{name:n}),this._integrations.set(n,{observable:r,buttonViewCreator:a,formViewCreator:d,requiresForm:!!u})}_createToolbarComponent(n){const r=this.editor,a=n.t,d=this._prepareIntegrations();if(!d.length)return null;let u;const p=d[0];if(1==d.length){if(!p.requiresForm)return p.buttonViewCreator(!0);u=p.buttonViewCreator(!0)}else{const b=p.buttonViewCreator(!1);u=new Rv(n,b),u.tooltip=!0,u.bind("label").to(this,"isImageSelected",k=>a(k?"Replace image":"Insert image"))}const f=this.dropdownView=Oa(n,u),g=d.map(({observable:b})=>"function"==typeof b?b():b);return f.bind("isEnabled").toMany(g,"isEnabled",(...b)=>b.some(k=>k)),f.once("change:isOpen",()=>{const b=d.map(({formViewCreator:S})=>S(1==d.length)),k=new Qp(r.locale,b);f.panelView.children.add(k)}),f}_prepareIntegrations(){const n=this.editor.config.get("image.insert.integrations"),r=[];if(!n.length)return ie("image-insert-integrations-not-specified"),r;for(const a of n)this._integrations.has(a)?r.push(this._integrations.get(a)):["upload","assetManager","url"].includes(a)||ie("image-insert-unknown-integration",{item:a});return r.length||ie("image-insert-integrations-not-registered"),r}}var j2=L(265);yt()(j2.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class z2 extends dt{static get requires(){return[R2,Vp,XS,B2]}static get pluginName(){return"ImageBlock"}}class V2 extends dt{static get requires(){return[b_,P2,Mr,Gy,Ls]}static get pluginName(){return"ImageInlineEditing"}init(){const n=this.editor,r=n.model.schema;r.register("imageInline",{inheritAllFrom:"$inlineObject",allowAttributes:["alt","src","srcset"]}),r.addChildCheck((a,d)=>{if(a.endsWith("caption")&&"imageInline"===d.name)return!1}),this._setupConversion(),n.plugins.has("ImageBlockEditing")&&(n.commands.add("imageTypeInline",new $y(this.editor,"imageInline")),this._setupClipboardIntegration())}_setupConversion(){const n=this.editor,r=n.t,a=n.conversion,d=n.plugins.get("ImageUtils");a.for("dataDowncast").elementToElement({model:"imageInline",view:(u,{writer:p})=>p.createEmptyElement("img")}),a.for("editingDowncast").elementToStructure({model:"imageInline",view:(u,{writer:p})=>{return d.toImageWidget((f=p).createContainerElement("span",{class:"image-inline"},f.createEmptyElement("img")),p,r("image widget"));var f}}),a.for("downcast").add(g_(d,"imageInline","src")).add(g_(d,"imageInline","alt")).add(Ai(d,"imageInline")),a.for("upcast").elementToElement({view:M2(n,"imageInline"),model:(u,{writer:p})=>p.createElement("imageInline",u.hasAttribute("src")?{src:u.getAttribute("src")}:void 0)})}_setupClipboardIntegration(){const n=this.editor,r=n.model,a=n.editing.view,d=n.plugins.get("ImageUtils"),u=n.plugins.get("ClipboardPipeline");this.listenTo(u,"inputTransformation",(p,f)=>{const g=Array.from(f.content.getChildren());let b;if(!g.every(d.isBlockImageView))return;b=f.targetRanges?n.editing.mapper.toModelRange(f.targetRanges[0]):r.document.selection.getFirstRange();const k=r.createSelection(b);if("imageInline"===jy(r.schema,k)){const S=new bl(a.document),B=g.map(U=>1===U.childCount?(Array.from(U.getAttributes()).forEach(Z=>S.setAttribute(...Z,d.findViewImgElement(U))),U.getChild(0)):U);f.content=S.createDocumentFragment(B)}}),this.listenTo(u,"contentInsertion",(p,f)=>{"paste"===f.method&&r.change(g=>{const b=g.createRangeIn(f.content);for(const k of b.getItems())k.is("element","imageInline")&&d.setImageNaturalSizeAttributes(k)})})}}class H2 extends dt{static get requires(){return[V2,Vp,XS,B2]}static get pluginName(){return"ImageInline"}}class Y2 extends dt{static get pluginName(){return"ImageCaptionUtils"}static get requires(){return[Mr]}getCaptionFromImageModelElement(n){for(const r of n.getChildren())if(r&&r.is("element","caption"))return r;return null}getCaptionFromModelSelection(n){const r=this.editor.plugins.get("ImageUtils"),a=n.getFirstPosition().findAncestor("caption");return a&&r.isBlockImage(a.parent)?a:null}matchImageCaptionViewElement(n){const r=this.editor.plugins.get("ImageUtils");return"figcaption"==n.name&&r.isBlockImageView(n.parent)?{name:!0}:null}}class Jp extends Tn{refresh(){const n=this.editor,r=n.plugins.get("ImageCaptionUtils"),a=n.plugins.get("ImageUtils");if(!n.plugins.has(R2))return this.isEnabled=!1,void(this.value=!1);const d=n.model.document.selection,u=d.getSelectedElement();if(!u){const p=r.getCaptionFromModelSelection(d);return this.isEnabled=!!p,void(this.value=!!p)}this.isEnabled=a.isImage(u),this.value=!!this.isEnabled&&!!r.getCaptionFromImageModelElement(u)}execute(n={}){const{focusCaptionOnShow:r}=n;this.editor.model.change(a=>{this.value?this._hideImageCaption(a):this._showImageCaption(a,r)})}_showImageCaption(n,r){const a=this.editor.model.document.selection,d=this.editor.plugins.get("ImageCaptionEditing"),u=this.editor.plugins.get("ImageUtils");let p=a.getSelectedElement();const f=d._getSavedCaption(p);u.isInlineImage(p)&&(this.editor.execute("imageTypeBlock"),p=a.getSelectedElement());const g=f||n.createElement("caption");n.append(g,p),r&&n.setSelection(g,"in")}_hideImageCaption(n){const r=this.editor,a=r.model.document.selection,d=r.plugins.get("ImageCaptionEditing"),u=r.plugins.get("ImageCaptionUtils");let p,f=a.getSelectedElement();f?p=u.getCaptionFromImageModelElement(f):(p=u.getCaptionFromModelSelection(a),f=p.parent),d._saveCaption(f,p),n.setSelection(f,"on"),n.remove(p)}}class Xp extends dt{constructor(n){super(n),this._savedCaptionsMap=new WeakMap}static get requires(){return[Mr,Y2]}static get pluginName(){return"ImageCaptionEditing"}init(){const n=this.editor,r=n.model.schema;r.isRegistered("caption")?r.extend("caption",{allowIn:"imageBlock"}):r.register("caption",{allowIn:"imageBlock",allowContentOf:"$block",isLimit:!0}),n.commands.add("toggleImageCaption",new Jp(this.editor)),this._setupConversion(),this._setupImageTypeCommandsIntegration(),this._registerCaptionReconversion()}_setupConversion(){const n=this.editor,r=n.editing.view,a=n.plugins.get("ImageUtils"),d=n.plugins.get("ImageCaptionUtils"),u=n.t;n.conversion.for("upcast").elementToElement({view:p=>d.matchImageCaptionViewElement(p),model:"caption"}),n.conversion.for("dataDowncast").elementToElement({model:"caption",view:(p,{writer:f})=>a.isBlockImage(p.parent)?f.createContainerElement("figcaption"):null}),n.conversion.for("editingDowncast").elementToElement({model:"caption",view:(p,{writer:f})=>{if(!a.isBlockImage(p.parent))return null;const g=f.createEditableElement("figcaption");f.setCustomProperty("imageCaption",!0,g),g.placeholder=u("Enter image caption"),Gd({view:r,element:g,keepOnFocus:!0});const b=p.parent.getAttribute("alt");return bS(g,f,{label:b?u("Caption for image: %0",[b]):u("Caption for the image")})}})}_setupImageTypeCommandsIntegration(){const n=this.editor,r=n.plugins.get("ImageUtils"),a=n.plugins.get("ImageCaptionUtils"),d=n.commands.get("imageTypeInline"),u=n.commands.get("imageTypeBlock"),p=f=>{if(!f.return)return;const{oldElement:g,newElement:b}=f.return;if(!g)return;if(r.isBlockImage(g)){const S=a.getCaptionFromImageModelElement(g);if(S)return void this._saveCaption(b,S)}const k=this._getSavedCaption(g);k&&this._saveCaption(b,k)};d&&this.listenTo(d,"execute",p,{priority:"low"}),u&&this.listenTo(u,"execute",p,{priority:"low"})}_getSavedCaption(n){const r=this._savedCaptionsMap.get(n);return r?At.fromJSON(r):null}_saveCaption(n,r){this._savedCaptionsMap.set(n,r.toJSON())}_registerCaptionReconversion(){const n=this.editor,r=n.model,a=n.plugins.get("ImageUtils"),d=n.plugins.get("ImageCaptionUtils");r.document.on("change:data",()=>{const u=r.document.differ.getChanges();for(const p of u){if("alt"!==p.attributeKey)continue;const f=p.range.start.nodeAfter;if(a.isBlockImage(f)){const g=d.getCaptionFromImageModelElement(f);if(!g)return;n.editing.reconvertItem(g)}}})}}class oI extends dt{static get requires(){return[Y2]}static get pluginName(){return"ImageCaptionUI"}init(){const n=this.editor,r=n.editing.view,a=n.plugins.get("ImageCaptionUtils"),d=n.t;n.ui.componentFactory.add("toggleImageCaption",u=>{const p=n.commands.get("toggleImageCaption"),f=new Qn(u);return f.set({icon:bn.caption,tooltip:!0,isToggleable:!0}),f.bind("isOn","isEnabled").to(p,"value","isEnabled"),f.bind("label").to(p,"value",g=>d(g?"Toggle caption off":"Toggle caption on")),this.listenTo(f,"execute",()=>{n.execute("toggleImageCaption",{focusCaptionOnShow:!0});const g=a.getCaptionFromModelSelection(n.model.document.selection);if(g){const b=n.editing.mapper.toViewElement(g);r.scrollToTheSelection(),r.change(k=>{k.addClass("image__caption_highlighted",b)})}n.editing.view.focus()}),f})}}var U2=L(5247);function Ky(c){const n=c.map(r=>r.replace("+","\\+"));return new RegExp(`^image\\/(${n.join("|")})$`)}function W2(c){return new Promise((n,r)=>{const a=c.getAttribute("src");fetch(a).then(d=>d.blob()).then(d=>{const u=Zy(d,a),p=u.replace("image/",""),f=new File([d],`image.${p}`,{type:u});n(f)}).catch(d=>{return d&&"TypeError"===d.name?(u=a,(p=u,new Promise((f,g)=>{const b=Vt.document.createElement("img");b.addEventListener("load",()=>{const k=Vt.document.createElement("canvas");k.width=b.width,k.height=b.height,k.getContext("2d").drawImage(b,0,0),k.toBlob(S=>S?f(S):g())}),b.addEventListener("error",()=>g()),b.src=p})).then(p=>{const f=Zy(p,u),g=f.replace("image/","");return new File([p],`image.${g}`,{type:f})})).then(n).catch(r):r(d);var u,p})})}function Zy(c,n){return c.type?c.type:n.match(/data:(image\/\w+);base64/)?n.match(/data:(image\/\w+);base64/)[1].toLowerCase():"image/jpeg"}yt()(U2.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class sI extends dt{static get pluginName(){return"ImageUploadUI"}init(){const n=this.editor,r=n.t,a=d=>{const u=new ZA(d),p=n.commands.get("uploadImage"),f=n.config.get("image.upload.types"),g=Ky(f);return u.set({acceptedType:f.map(b=>`image/${b}`).join(","),allowMultipleFiles:!0,label:r("Upload image from computer"),icon:bn.imageUpload,tooltip:!0}),u.bind("isEnabled").to(p),u.on("done",(b,k)=>{const S=Array.from(k).filter(B=>g.test(B.type));S.length&&(n.execute("uploadImage",{file:S}),n.editing.view.focus())}),u};if(n.ui.componentFactory.add("uploadImage",a),n.ui.componentFactory.add("imageUpload",a),n.plugins.has("ImageInsertUI")){const d=n.plugins.get("ImageInsertUI");d.registerIntegration({name:"upload",observable:()=>n.commands.get("uploadImage"),buttonViewCreator:()=>{const u=n.ui.componentFactory.create("uploadImage");return u.bind("label").to(d,"isImageSelected",p=>r(p?"Replace image from computer":"Upload image from computer")),u},formViewCreator:()=>{const u=n.ui.componentFactory.create("uploadImage");return u.withText=!0,u.bind("label").to(d,"isImageSelected",p=>r(p?"Replace from computer":"Upload from computer")),u.on("execute",()=>{d.dropdownView.isOpen=!1}),u}})}}}var Qy=L(2267);yt()(Qy.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var $2=L(7693);yt()($2.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var lI=L(1559);yt()(lI.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class TO extends dt{constructor(n){super(n),this.uploadStatusChange=(r,a,d)=>{const u=this.editor,p=a.item,f=p.getAttribute("uploadId");if(!d.consumable.consume(a.item,r.name))return;const g=u.plugins.get("ImageUtils"),b=u.plugins.get(Ns),k=f?a.attributeNewValue:null,S=this.placeholder,B=u.editing.mapper.toViewElement(p),U=d.writer;if("reading"==k)return Jy(B,U),void ef(g,S,B,U);if("uploading"==k){const Z=b.loaders.get(f);return Jy(B,U),void(Z?(q2(B,U),function(te,fe,ge,Ee){const He=function(ct){const It=ct.createUIElement("div",{class:"ck-progress-bar"});return ct.setCustomProperty("progressBar",!0,It),It}(fe);fe.insert(fe.createPositionAt(te,"end"),He),ge.on("change:uploadedPercent",(ct,It,Zt)=>{Ee.change(In=>{In.setStyle("width",Zt+"%",He)})})}(B,U,Z,u.editing.view),function(te,fe,ge,Ee){if(Ee.data){const He=te.findViewImgElement(fe);ge.setAttribute("src",Ee.data,He)}}(g,B,U,Z)):ef(g,S,B,U))}"complete"==k&&b.loaders.get(f)&&function(Z,te,fe){const ge=te.createUIElement("div",{class:"ck-image-upload-complete-icon"});te.insert(te.createPositionAt(Z,"end"),ge),setTimeout(()=>{fe.change(Ee=>Ee.remove(Ee.createRangeOn(ge)))},3e3)}(B,U,u.editing.view),Xy(B,U,"progressBar"),q2(B,U),U.removeClass("ck-appear",B)},this.placeholder="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="}static get pluginName(){return"ImageUploadProgress"}init(){const n=this.editor;n.plugins.has("ImageBlockEditing")&&n.editing.downcastDispatcher.on("attribute:uploadStatus:imageBlock",this.uploadStatusChange),n.plugins.has("ImageInlineEditing")&&n.editing.downcastDispatcher.on("attribute:uploadStatus:imageInline",this.uploadStatusChange)}}function Jy(c,n){c.hasClass("ck-appear")||n.addClass("ck-appear",c)}function ef(c,n,r,a){r.hasClass("ck-image-upload-placeholder")||a.addClass("ck-image-upload-placeholder",r);const d=c.findViewImgElement(r);d.getAttribute("src")!==n&&a.setAttribute("src",n,d),G2(r,"placeholder")||a.insert(a.createPositionAfter(d),function(u){const p=u.createUIElement("div",{class:"ck-upload-placeholder-loader"});return u.setCustomProperty("placeholder",!0,p),p}(a))}function q2(c,n){c.hasClass("ck-image-upload-placeholder")&&n.removeClass("ck-image-upload-placeholder",c),Xy(c,n,"placeholder")}function G2(c,n){for(const r of c.getChildren())if(r.getCustomProperty(n))return r}function Xy(c,n,r){const a=G2(c,r);a&&n.remove(n.createRangeOn(a))}var tf=Object.defineProperty,cI=Object.defineProperties,dI=Object.getOwnPropertyDescriptors,K2=Object.getOwnPropertySymbols,uI=Object.prototype.hasOwnProperty,xO=Object.prototype.propertyIsEnumerable,Z2=(c,n,r)=>n in c?tf(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r;class Q2 extends Tn{refresh(){const n=this.editor,r=n.plugins.get("ImageUtils"),a=n.model.document.selection.getSelectedElement();this.isEnabled=r.isImageAllowed()||r.isImage(a)}execute(n){const r=Zn(n.file),a=this.editor.model.document.selection,d=this.editor.plugins.get("ImageUtils"),u=Object.fromEntries(a.getAttributes());r.forEach((p,f)=>{const g=a.getSelectedElement();if(f&&g&&d.isImage(g)){const b=this.editor.model.createPositionAfter(g);this._uploadImage(p,u,b)}else this._uploadImage(p,u)})}_uploadImage(n,r,a){const d=this.editor,u=d.plugins.get(Ns).createLoader(n),p=d.plugins.get("ImageUtils");var f;u&&p.insertImage((f=((b,k)=>{for(var S in k||(k={}))uI.call(k,S)&&Z2(b,S,k[S]);if(K2)for(var S of K2(k))xO.call(k,S)&&Z2(b,S,k[S]);return b})({},r),cI(f,dI({uploadId:u.id}))),a)}}class hI extends dt{constructor(n){super(n),n.config.define("image",{upload:{types:["jpeg","png","gif","bmp","webp","tiff"]}}),this._uploadImageElements=new Map}static get requires(){return[Ns,Ug,Ls,Mr]}static get pluginName(){return"ImageUploadEditing"}init(){const n=this.editor,r=n.model.document,a=n.conversion,d=n.plugins.get(Ns),u=n.plugins.get("ImageUtils"),p=n.plugins.get("ClipboardPipeline"),f=Ky(n.config.get("image.upload.types")),g=new Q2(n);n.commands.add("uploadImage",g),n.commands.add("imageUpload",g),a.for("upcast").attributeToAttribute({view:{name:"img",key:"uploadId"},model:"uploadId"}),this.listenTo(n.editing.view.document,"clipboardInput",(b,k)=>{if(S=k.dataTransfer,Array.from(S.types).includes("text/html")&&""!==S.getData("text/html"))return;var S;const B=Array.from(k.dataTransfer.files).filter(U=>!!U&&f.test(U.type));B.length&&(b.stop(),n.model.change(U=>{k.targetRanges&&U.setSelection(k.targetRanges.map(Z=>n.editing.mapper.toModelRange(Z))),n.execute("uploadImage",{file:B})}))}),this.listenTo(p,"inputTransformation",(b,k)=>{const S=Array.from(n.editing.view.createRangeIn(k.content)).map(U=>U.item).filter(U=>{return!(!u.isInlineImageView(te=U)||!te.getAttribute("src")||!te.getAttribute("src").match(/^data:image\/\w+;base64,/g)&&!te.getAttribute("src").match(/^blob:/g)||U.getAttribute("uploadProcessed"));var te}).map(U=>({promise:W2(U),imageElement:U}));if(!S.length)return;const B=new bl(n.editing.view.document);for(const U of S){B.setAttribute("uploadProcessed",!0,U.imageElement);const Z=d.createLoader(U.promise);Z&&(B.setAttribute("src","",U.imageElement),B.setAttribute("uploadId",Z.id,U.imageElement))}}),n.editing.view.document.on("dragover",(b,k)=>{k.preventDefault()}),r.on("change",()=>{const b=r.differ.getChanges({includeChangesInGraveyard:!0}).reverse(),k=new Set;for(const S of b)if("insert"==S.type&&"$text"!=S.name){const B=S.position.nodeAfter,U="$graveyard"==S.position.root.rootName;for(const Z of pI(n,B)){const te=Z.getAttribute("uploadId");if(!te)continue;const fe=d.loaders.get(te);fe&&(U?k.has(te)||fe.abort():(k.add(te),this._uploadImageElements.set(te,Z),"idle"==fe.status&&this._readAndUpload(fe)))}}}),this.on("uploadComplete",(b,{imageElement:k,data:S})=>{const B=S.urls?S.urls:S;this.editor.model.change(U=>{U.setAttribute("src",B.default,k),this._parseAndSetSrcsetAttributeOnImage(B,k,U),u.setImageNaturalSizeAttributes(k)})},{priority:"low"})}afterInit(){const n=this.editor.model.schema;this.editor.plugins.has("ImageBlockEditing")&&n.extend("imageBlock",{allowAttributes:["uploadId","uploadStatus"]}),this.editor.plugins.has("ImageInlineEditing")&&n.extend("imageInline",{allowAttributes:["uploadId","uploadStatus"]})}_readAndUpload(n){const r=this.editor,a=r.model,d=r.locale.t,u=r.plugins.get(Ns),p=r.plugins.get(Ug),f=r.plugins.get("ImageUtils"),g=this._uploadImageElements;return a.enqueueChange({isUndoable:!1},k=>{k.setAttribute("uploadStatus","reading",g.get(n.id))}),n.read().then(()=>{const k=n.upload(),S=g.get(n.id);if(M.isSafari){const B=r.editing.mapper.toViewElement(S),U=f.findViewImgElement(B);r.editing.view.once("render",()=>{if(!U.parent)return;const Z=r.editing.view.domConverter.mapViewToDom(U.parent);if(!Z)return;const te=Z.style.display;Z.style.display="none",Z._ckHack=Z.offsetHeight,Z.style.display=te})}return a.enqueueChange({isUndoable:!1},B=>{B.setAttribute("uploadStatus","uploading",S)}),k}).then(k=>{a.enqueueChange({isUndoable:!1},S=>{const B=g.get(n.id);S.setAttribute("uploadStatus","complete",B),this.fire("uploadComplete",{data:k,imageElement:B})}),b()}).catch(k=>{if("error"!==n.status&&"aborted"!==n.status)throw k;"error"==n.status&&k&&p.showWarning(k,{title:d("Upload failed"),namespace:"upload"}),a.enqueueChange({isUndoable:!1},S=>{S.remove(g.get(n.id))}),b()});function b(){a.enqueueChange({isUndoable:!1},k=>{const S=g.get(n.id);k.removeAttribute("uploadId",S),k.removeAttribute("uploadStatus",S),g.delete(n.id)}),u.destroyLoader(n)}}_parseAndSetSrcsetAttributeOnImage(n,r,a){let d=0;const u=Object.keys(n).filter(p=>{const f=parseInt(p,10);if(!isNaN(f))return d=Math.max(d,f),!0}).map(p=>`${n[p]} ${p}w`).join(", ");if(""!=u){const p={srcset:u};r.hasAttribute("width")||r.hasAttribute("height")||(p.width=d),a.setAttributes(p,r)}}}function pI(c,n){const r=c.plugins.get("ImageUtils");return Array.from(c.model.createRangeOn(n)).filter(a=>r.isImage(a.item)).map(a=>a.item)}var zu=L(3469);yt()(zu.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class J2 extends Tn{constructor(n,r){super(n),this._defaultStyles={imageBlock:!1,imageInline:!1},this._styles=new Map(r.map(a=>{if(a.isDefault)for(const d of a.modelElements)this._defaultStyles[d]=a.name;return[a.name,a]}))}refresh(){const n=this.editor.plugins.get("ImageUtils").getClosestSelectedImageElement(this.editor.model.document.selection);this.isEnabled=!!n,this.value=!!this.isEnabled&&(n.hasAttribute("imageStyle")?n.getAttribute("imageStyle"):this._defaultStyles[n.name])}execute(n={}){const r=this.editor,a=r.model,d=r.plugins.get("ImageUtils");a.change(u=>{const p=n.value,{setImageSizes:f=!0}=n;let g=d.getClosestSelectedImageElement(a.document.selection);p&&this.shouldConvertImageType(p,g)&&(this.editor.execute(d.isBlockImage(g)?"imageTypeInline":"imageTypeBlock",{setImageSizes:f}),g=d.getClosestSelectedImageElement(a.document.selection)),!p||this._styles.get(p).isDefault?u.removeAttribute("imageStyle",g):u.setAttribute("imageStyle",p,g),f&&d.setImageNaturalSizeAttributes(g)})}shouldConvertImageType(n,r){return!this._styles.get(n).modelElements.includes(r.name)}}var mI=Object.defineProperty,e1=Object.getOwnPropertySymbols,gI=Object.prototype.hasOwnProperty,X2=Object.prototype.propertyIsEnumerable,eM=(c,n,r)=>n in c?mI(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,y_=(c,n)=>{for(var r in n||(n={}))gI.call(n,r)&&eM(c,r,n[r]);if(e1)for(var r of e1(n))X2.call(n,r)&&eM(c,r,n[r]);return c};const{objectFullWidth:_I,objectInline:t1,objectLeft:n1,objectRight:o1,objectCenter:r1,objectBlockLeft:tM,objectBlockRight:k_}=bn,w_={get inline(){return{name:"inline",title:"In line",icon:t1,modelElements:["imageInline"],isDefault:!0}},get alignLeft(){return{name:"alignLeft",title:"Left aligned image",icon:n1,modelElements:["imageBlock","imageInline"],className:"image-style-align-left"}},get alignBlockLeft(){return{name:"alignBlockLeft",title:"Left aligned image",icon:tM,modelElements:["imageBlock"],className:"image-style-block-align-left"}},get alignCenter(){return{name:"alignCenter",title:"Centered image",icon:r1,modelElements:["imageBlock"],className:"image-style-align-center"}},get alignRight(){return{name:"alignRight",title:"Right aligned image",icon:o1,modelElements:["imageBlock","imageInline"],className:"image-style-align-right"}},get alignBlockRight(){return{name:"alignBlockRight",title:"Right aligned image",icon:k_,modelElements:["imageBlock"],className:"image-style-block-align-right"}},get block(){return{name:"block",title:"Centered image",icon:r1,modelElements:["imageBlock"],isDefault:!0}},get side(){return{name:"side",title:"Side image",icon:o1,modelElements:["imageBlock"],className:"image-style-side"}}},s1={full:_I,left:tM,right:k_,center:r1,inlineLeft:n1,inlineRight:o1,inline:t1},nM=[{name:"imageStyle:wrapText",title:"Wrap text",defaultItem:"imageStyle:alignLeft",items:["imageStyle:alignLeft","imageStyle:alignRight"]},{name:"imageStyle:breakText",title:"Break text",defaultItem:"imageStyle:block",items:["imageStyle:alignBlockLeft","imageStyle:block","imageStyle:alignBlockRight"]}];function iM(c){ie("image-style-configuration-definition-invalid",c)}const a1={normalizeStyles:function(c){return(c.configuredStyles.options||[]).map(n=>{return"string"==typeof(r="string"==typeof(r=n)?w_[r]?y_({},w_[r]):{name:r}:function(a,d){const u=y_({},d);for(const p in a)Object.prototype.hasOwnProperty.call(d,p)||(u[p]=a[p]);return u}(w_[r.name],r)).icon&&(r.icon=s1[r.icon]||r.icon),r;var r}).filter(n=>function(r,{isBlockPluginLoaded:a,isInlinePluginLoaded:d}){const{modelElements:u,name:p}=r;if(!(u&&u.length&&p))return iM({style:r}),!1;{const f=[a?"imageBlock":null,d?"imageInline":null];if(!u.some(g=>f.includes(g)))return ie("image-style-missing-dependency",{style:r,missingPlugins:u.map(g=>"imageBlock"===g?"ImageBlockEditing":"ImageInlineEditing")}),!1}return!0}(n,c))},getDefaultStylesConfiguration:function(c,n){return c&&n?{options:["inline","alignLeft","alignRight","alignCenter","alignBlockLeft","alignBlockRight","block","side"]}:c?{options:["block","side"]}:n?{options:["inline","alignLeft","alignRight"]}:{}},getDefaultDropdownDefinitions:function(c){return c.has("ImageBlockEditing")&&c.has("ImageInlineEditing")?[...nM]:[]},warnInvalidStyle:iM,DEFAULT_OPTIONS:w_,DEFAULT_ICONS:s1,DEFAULT_DROPDOWN_DEFINITIONS:nM};function oM(c,n){for(const r of n)if(r.name===c)return r}class rM extends dt{static get pluginName(){return"ImageStyleEditing"}static get requires(){return[Mr]}init(){const{normalizeStyles:n,getDefaultStylesConfiguration:r}=a1,a=this.editor,d=a.plugins.has("ImageBlockEditing"),u=a.plugins.has("ImageInlineEditing");a.config.define("image.styles",r(d,u)),this.normalizedStyles=n({configuredStyles:a.config.get("image.styles"),isBlockPluginLoaded:d,isInlinePluginLoaded:u}),this._setupConversion(d,u),this._setupPostFixer(),a.commands.add("imageStyle",new J2(a,this.normalizedStyles))}_setupConversion(n,r){const a=this.editor,d=a.model.schema,u=(p=this.normalizedStyles,(g,b,k)=>{if(!k.consumable.consume(b.item,g.name))return;const S=oM(b.attributeNewValue,p),B=oM(b.attributeOldValue,p),U=k.mapper.toViewElement(b.item),Z=k.writer;B&&Z.removeClass(B.className,U),S&&Z.addClass(S.className,U)});var p;const f=function(g){const b={imageInline:g.filter(k=>!k.isDefault&&k.modelElements.includes("imageInline")),imageBlock:g.filter(k=>!k.isDefault&&k.modelElements.includes("imageBlock"))};return(k,S,B)=>{if(!S.modelRange)return;const U=S.viewItem,Z=bo(S.modelRange.getItems());if(Z&&B.schema.checkAttribute(Z,"imageStyle"))for(const te of b[Z.name])B.consumable.consume(U,{classes:te.className})&&B.writer.setAttribute("imageStyle",te.name,Z)}}(this.normalizedStyles);a.editing.downcastDispatcher.on("attribute:imageStyle",u),a.data.downcastDispatcher.on("attribute:imageStyle",u),n&&(d.extend("imageBlock",{allowAttributes:"imageStyle"}),a.data.upcastDispatcher.on("element:figure",f,{priority:"low"})),r&&(d.extend("imageInline",{allowAttributes:"imageStyle"}),a.data.upcastDispatcher.on("element:img",f,{priority:"low"}))}_setupPostFixer(){const n=this.editor,r=n.model.document,a=n.plugins.get(Mr),d=new Map(this.normalizedStyles.map(u=>[u.name,u]));r.registerPostFixer(u=>{let p=!1;for(const f of r.differ.getChanges())if("insert"==f.type||"attribute"==f.type&&"imageStyle"==f.attributeKey){let g="insert"==f.type?f.position.nodeAfter:f.range.start.nodeAfter;if(g&&g.is("element","paragraph")&&g.childCount>0&&(g=g.getChild(0)),!a.isImage(g))continue;const b=g.getAttribute("imageStyle");if(!b)continue;const k=d.get(b);k&&k.modelElements.includes(g.name)||(u.removeAttribute("imageStyle",g),p=!0)}return p})}}var sM=L(6386);yt()(sM.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class vI extends dt{static get requires(){return[rM]}static get pluginName(){return"ImageStyleUI"}get localizedDefaultStylesTitles(){const n=this.editor.t;return{"Wrap text":n("Wrap text"),"Break text":n("Break text"),"In line":n("In line"),"Full size image":n("Full size image"),"Side image":n("Side image"),"Left aligned image":n("Left aligned image"),"Centered image":n("Centered image"),"Right aligned image":n("Right aligned image")}}init(){const n=this.editor.plugins,r=this.editor.config.get("image.toolbar")||[],a=l1(n.get("ImageStyleEditing").normalizedStyles,this.localizedDefaultStylesTitles);for(const u of a)this._createButton(u);const d=l1([...r.filter(Je),...a1.getDefaultDropdownDefinitions(n)],this.localizedDefaultStylesTitles);for(const u of d)this._createDropdown(u,a)}_createDropdown(n,r){const a=this.editor.ui.componentFactory;a.add(n.name,d=>{let u;const{defaultItem:p,items:f,title:g}=n,b=f.filter(U=>r.find(({name:Z})=>c1(Z)===U)).map(U=>{const Z=a.create(U);return U===p&&(u=Z),Z});f.length!==b.length&&a1.warnInvalidStyle({dropdown:n});const k=Oa(d,Rv),S=k.buttonView,B=S.arrowView;return vp(k,b,{enableActiveItemFocusOnDropdownOpen:!0}),S.set({label:aM(g,u.label),class:null,tooltip:!0}),B.unbind("label"),B.set({label:g}),S.bind("icon").toMany(b,"isOn",(...U)=>{const Z=U.findIndex(zr);return Z<0?u.icon:b[Z].icon}),S.bind("label").toMany(b,"isOn",(...U)=>{const Z=U.findIndex(zr);return aM(g,Z<0?u.label:b[Z].label)}),S.bind("isOn").toMany(b,"isOn",(...U)=>U.some(zr)),S.bind("class").toMany(b,"isOn",(...U)=>U.some(zr)?"ck-splitbutton_flatten":void 0),S.on("execute",()=>{b.some(({isOn:U})=>U)?k.isOpen=!k.isOpen:u.fire("execute")}),k.bind("isEnabled").toMany(b,"isEnabled",(...U)=>U.some(zr)),this.listenTo(k,"execute",()=>{this.editor.editing.view.focus()}),k})}_createButton(n){const r=n.name;this.editor.ui.componentFactory.add(c1(r),a=>{const d=this.editor.commands.get("imageStyle"),u=new Qn(a);return u.set({label:n.title,icon:n.icon,tooltip:!0,isToggleable:!0}),u.bind("isEnabled").to(d,"isEnabled"),u.bind("isOn").to(d,"value",p=>p===r),u.on("execute",this._executeCommand.bind(this,r)),u})}_executeCommand(n){this.editor.execute("imageStyle",{value:n}),this.editor.editing.view.focus()}}function l1(c,n){for(const r of c)n[r.title]&&(r.title=n[r.title]);return c}function c1(c){return`imageStyle:${c}`}function aM(c,n){return(c?c+": ":"")+n}class yI extends dt{static get pluginName(){return"IndentEditing"}init(){const n=this.editor;n.commands.add("indent",new Mm(n)),n.commands.add("outdent",new Mm(n))}}class lM extends dt{static get pluginName(){return"IndentUI"}init(){const n=this.editor,r=n.locale,a=n.t,d="ltr"==r.uiLanguageDirection?bn.indent:bn.outdent,u="ltr"==r.uiLanguageDirection?bn.outdent:bn.indent;this._defineButton("indent",a("Increase indent"),d),this._defineButton("outdent",a("Decrease indent"),u)}_defineButton(n,r,a){const d=this.editor;d.ui.componentFactory.add(n,u=>{const p=d.commands.get(n),f=new Qn(u);return f.set({label:r,icon:a,tooltip:!0}),f.bind("isEnabled").to(p,"isEnabled"),this.listenTo(f,"execute",()=>{d.execute(n),d.editing.view.focus()}),f})}}class kI{constructor(){this._definitions=new Set}get length(){return this._definitions.size}add(n){Array.isArray(n)?n.forEach(r=>this._definitions.add(r)):this._definitions.add(n)}getDispatcher(){return n=>{n.on("attribute:linkHref",(r,a,d)=>{if(!d.consumable.test(a.item,"attribute:linkHref")||!a.item.is("selection")&&!d.schema.isInline(a.item))return;const u=d.writer,p=u.document.selection;for(const f of this._definitions){const g=u.createAttributeElement("a",f.attributes,{priority:5});f.classes&&u.addClass(f.classes,g);for(const b in f.styles)u.setStyle(b,f.styles[b],g);u.setCustomProperty("link",!0,g),f.callback(a.attributeNewValue)?a.item.is("selection")?u.wrap(p.getFirstRange(),g):u.wrap(d.mapper.toViewRange(a.range),g):u.unwrap(d.mapper.toViewRange(a.range),g)}},{priority:"high"})}}getDispatcherForLinkedImage(){return n=>{n.on("attribute:linkHref:imageBlock",(r,a,{writer:d,mapper:u})=>{const p=u.toViewElement(a.item),f=Array.from(p.getChildren()).find(g=>g.is("element","a"));for(const g of this._definitions){const b=Ys(g.attributes);if(g.callback(a.attributeNewValue)){for(const[k,S]of b)"class"===k?d.addClass(S,f):d.setAttribute(k,S,f);g.classes&&d.addClass(g.classes,f);for(const k in g.styles)d.setStyle(k,g.styles[k],f)}else{for(const[k,S]of b)"class"===k?d.removeClass(S,f):d.removeAttribute(k,f);g.classes&&d.removeClass(g.classes,f);for(const k in g.styles)d.removeStyle(k,f)}}})}}}var CI=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const cM=function(c){return CI.test(c)};var C_="\\ud800-\\udfff",dM="["+C_+"]",nf="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",u1="\\ud83c[\\udffb-\\udfff]",uM="[^"+C_+"]",A_="(?:\\ud83c[\\udde6-\\uddff]){2}",hM="[\\ud800-\\udbff][\\udc00-\\udfff]",Pt="(?:"+nf+"|"+u1+")?",ec="[\\ufe0e\\ufe0f]?",pM=ec+Pt+"(?:\\u200d(?:"+[uM,A_,hM].join("|")+")"+ec+Pt+")*",AI="(?:"+[uM+nf+"?",nf,A_,hM,dM].join("|")+")",EO=RegExp(u1+"(?="+u1+")|"+AI+pM,"g");const MI=function(n){n=Hh(n);var r=cM(n)?function(c){return cM(c)?function(c){return c.match(EO)||[]}(c):function(c){return c.split("")}(c)}(n):void 0,a=r?r[0]:n.charAt(0),d=r?function(c,n,r){var a=c.length;return Qd(c,1,r=void 0===r?a:r)}(r).join(""):n.slice(1);return a.toUpperCase()+d},fM=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,f1=/^[\S]+@((?![-_])(?:[-\w\u00a1-\uffff]{0,63}[^-_]\.))+(?:[a-z\u00a1-\uffff]{2,})$/i,DI=/^((\w+:(\/{2,})?)|(\W))/i,Wn=["https?","ftps?","mailto"],Vu="Ctrl+K";function m1(c,{writer:n}){const r=n.createAttributeElement("a",{href:c},{priority:5});return n.setCustomProperty("link",!0,r),r}function g1(c,n=Wn){const r=String(c),a=n.join("|");return d=r,u=new RegExp(`${"^(?:(?:<protocols>):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))".replace("<protocols>",a)}`,"i"),d.replace(fM,"").match(u)?r:"#";var d,u}function M_(c,n){return!!c&&n.checkAttribute(c.name,"linkHref")}function D_(c,n){const r=f1.test(c)?"mailto:":n,d=!!r&&!mM(c);return c&&d?r+c:c}function mM(c){return DI.test(c)}function gM(c){window.open(c,"_blank","noopener")}class TI extends Tn{constructor(){super(...arguments),this.manualDecorators=new os,this.automaticDecorators=new kI}restoreManualDecoratorStates(){for(const n of this.manualDecorators)n.value=this._getDecoratorStateFromModel(n.id)}refresh(){const n=this.editor.model,r=n.document.selection,a=r.getSelectedElement()||bo(r.getSelectedBlocks());M_(a,n.schema)?(this.value=a.getAttribute("linkHref"),this.isEnabled=n.schema.checkAttribute(a,"linkHref")):(this.value=r.getAttribute("linkHref"),this.isEnabled=n.schema.checkAttributeInSelection(r,"linkHref"));for(const d of this.manualDecorators)d.value=this._getDecoratorStateFromModel(d.id)}execute(n,r={}){const a=this.editor.model,d=a.document.selection,u=[],p=[];for(const f in r)r[f]?u.push(f):p.push(f);a.change(f=>{if(d.isCollapsed){const g=d.getFirstPosition();if(d.hasAttribute("linkHref")){const b=_M(d);let k=kl(g,"linkHref",d.getAttribute("linkHref"),a);d.getAttribute("linkHref")===b&&(k=this._updateLinkContent(a,f,k,n)),f.setAttribute("linkHref",n,k),u.forEach(S=>{f.setAttribute(S,!0,k)}),p.forEach(S=>{f.removeAttribute(S,k)}),f.setSelection(f.createPositionAfter(k.end.nodeBefore))}else if(""!==n){const b=Ys(d.getAttributes());b.set("linkHref",n),u.forEach(S=>{b.set(S,!0)});const{end:k}=a.insertContent(f.createText(n,b),g);f.setSelection(k)}["linkHref",...u,...p].forEach(b=>{f.removeSelectionAttribute(b)})}else{const g=a.schema.getValidRanges(d.getRanges(),"linkHref"),b=[];for(const S of d.getSelectedBlocks())a.schema.checkAttribute(S,"linkHref")&&b.push(f.createRangeOn(S));const k=b.slice();for(const S of g)this._isRangeToUpdate(S,b)&&k.push(S);for(const S of k){let B=S;if(1===k.length){const U=_M(d);d.getAttribute("linkHref")===U&&(B=this._updateLinkContent(a,f,S,n),f.setSelection(f.createSelection(B)))}f.setAttribute("linkHref",n,B),u.forEach(U=>{f.setAttribute(U,!0,B)}),p.forEach(U=>{f.removeAttribute(U,B)})}}})}_getDecoratorStateFromModel(n){const r=this.editor.model,a=r.document.selection,d=a.getSelectedElement();return M_(d,r.schema)?d.getAttribute(n):a.getAttribute(n)}_isRangeToUpdate(n,r){for(const a of r)if(a.containsRange(n))return!1;return!0}_updateLinkContent(n,r,a,d){const u=r.createText(d,{linkHref:d});return n.insertContent(u,a)}}function _M(c){if(c.isCollapsed){const n=c.getFirstPosition();return n.textNode&&n.textNode.data}{const n=Array.from(c.getFirstRange().getItems());if(n.length>1)return null;const r=n[0];return r.is("$text")||r.is("$textProxy")?r.data:null}}class bM extends Tn{refresh(){const n=this.editor.model,r=n.document.selection,a=r.getSelectedElement();this.isEnabled=M_(a,n.schema)?n.schema.checkAttribute(a,"linkHref"):n.schema.checkAttributeInSelection(r,"linkHref")}execute(){const r=this.editor.model,a=r.document.selection,d=this.editor.commands.get("link");r.change(u=>{const p=a.isCollapsed?[kl(a.getFirstPosition(),"linkHref",a.getAttribute("linkHref"),r)]:r.schema.getValidRanges(a.getRanges(),"linkHref");for(const f of p)if(u.removeAttribute("linkHref",f),d)for(const g of d.manualDecorators)u.removeAttribute(g.id,f)})}}class SO extends(Xt()){constructor({id:n,label:r,attributes:a,classes:d,styles:u,defaultValue:p}){super(),this.id=n,this.set("value",void 0),this.defaultValue=p,this.label=r,this.attributes=a,this.classes=d,this.styles=u}_createPattern(){return{attributes:this.attributes,classes:this.classes,styles:this.styles}}}var _1=L(7719);yt()(_1.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var EI=Object.defineProperty,SI=Object.getOwnPropertySymbols,II=Object.prototype.hasOwnProperty,LI=Object.prototype.propertyIsEnumerable,qo=(c,n,r)=>n in c?EI(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,gn=(c,n)=>{for(var r in n||(n={}))II.call(n,r)&&qo(c,r,n[r]);if(SI)for(var r of SI(n))LI.call(n,r)&&qo(c,r,n[r]);return c};const Xn="automatic",Tr=/^(https?:)?\/\//;class tc extends dt{static get pluginName(){return"LinkEditing"}static get requires(){return[py,Pp,Ls]}constructor(n){super(n),n.config.define("link",{allowCreatingEmptyLinks:!1,addTargetToExternalLinks:!1})}init(){const n=this.editor,r=this.editor.config.get("link.allowedProtocols");n.model.schema.extend("$text",{allowAttributes:"linkHref"}),n.conversion.for("dataDowncast").attributeToElement({model:"linkHref",view:m1}),n.conversion.for("editingDowncast").attributeToElement({model:"linkHref",view:(d,u)=>m1(g1(d,r),u)}),n.conversion.for("upcast").elementToAttribute({view:{name:"a",attributes:{href:!0}},model:{key:"linkHref",value:d=>d.getAttribute("href")}}),n.commands.add("link",new TI(n)),n.commands.add("unlink",new bM(n));const a=function(d,u){const p={"Open in a new tab":d("Open in a new tab"),Downloadable:d("Downloadable")};return u.forEach(f=>("label"in f&&p[f.label]&&(f.label=p[f.label]),f)),u}(n.t,function(d){const u=[];if(d)for(const[p,f]of Object.entries(d)){const g=Object.assign({},f,{id:`link${MI(p)}`});u.push(g)}return u}(n.config.get("link.decorators")));this._enableAutomaticDecorators(a.filter(d=>d.mode===Xn)),this._enableManualDecorators(a.filter(d=>"manual"===d.mode)),n.plugins.get(py).registerAttribute("linkHref"),function(d,u,p,f){const g=d.editing.view,b=new Set;g.document.registerPostFixer(k=>{const S=d.model.document.selection;let B=!1;if(S.hasAttribute(u)){const U=kl(S.getFirstPosition(),u,S.getAttribute(u),d.model),Z=d.editing.mapper.toViewRange(U);for(const te of Z.getItems())te.is("element","a")&&!te.hasClass(f)&&(k.addClass(f,te),b.add(te),B=!0)}return B}),d.conversion.for("editingDowncast").add(k=>{function S(){g.change(B=>{for(const U of b.values())B.removeClass(f,U),b.delete(U)})}k.on("insert",S,{priority:"highest"}),k.on("remove",S,{priority:"highest"}),k.on("attribute",S,{priority:"highest"}),k.on("selection",S,{priority:"highest"})})}(n,"linkHref",0,"ck-link_selected"),this._enableLinkOpen(),this._enableSelectionAttributesFixer(),this._enableClipboardIntegration()}_enableAutomaticDecorators(n){const r=this.editor,a=r.commands.get("link").automaticDecorators;r.config.get("link.addTargetToExternalLinks")&&a.add({id:"linkIsExternal",mode:Xn,callback:d=>!!d&&Tr.test(d),attributes:{target:"_blank",rel:"noopener noreferrer"}}),a.add(n),a.length&&r.conversion.for("downcast").add(a.getDispatcher())}_enableManualDecorators(n){if(!n.length)return;const r=this.editor,a=r.commands.get("link").manualDecorators;n.forEach(d=>{r.model.schema.extend("$text",{allowAttributes:d.id});const u=new SO(d);a.add(u),r.conversion.for("downcast").attributeToElement({model:u.id,view:(p,{writer:f,schema:g},{item:b})=>{if((b.is("selection")||g.isInline(b))&&p){const k=f.createAttributeElement("a",u.attributes,{priority:5});u.classes&&f.addClass(u.classes,k);for(const S in u.styles)f.setStyle(S,u.styles[S],k);return f.setCustomProperty("link",!0,k),k}}}),r.conversion.for("upcast").elementToAttribute({view:gn({name:"a"},u._createPattern()),model:{key:u.id}})})}_enableLinkOpen(){const n=this.editor,r=n.editing.view.document;this.listenTo(r,"click",(a,d)=>{if(!(M.isMac?d.domEvent.metaKey:d.domEvent.ctrlKey))return;let u=d.domTarget;if("a"!=u.tagName.toLowerCase()&&(u=u.closest("a")),!u)return;const p=u.getAttribute("href");p&&(a.stop(),d.preventDefault(),gM(p))},{context:"$capture"}),this.listenTo(r,"keydown",(a,d)=>{const u=n.commands.get("link").value;u&&d.keyCode===_n.enter&&d.altKey&&(a.stop(),gM(u))})}_enableSelectionAttributesFixer(){const n=this.editor.model,r=n.document.selection;this.listenTo(r,"change:attribute",(a,{attributeKeys:d})=>{d.includes("linkHref")&&!r.hasAttribute("linkHref")&&n.change(u=>{var p;!function(f,g){f.removeSelectionAttribute("linkHref");for(const b of g)f.removeSelectionAttribute(b)}(u,(p=n.schema,p.getDefinition("$text").allowAttributes.filter(f=>f.startsWith("link"))))})})}_enableClipboardIntegration(){const n=this.editor,r=n.model,a=this.editor.config.get("link.defaultProtocol");a&&this.listenTo(n.plugins.get("ClipboardPipeline"),"contentInsertion",(d,u)=>{r.change(p=>{const f=p.createRangeIn(u.content);for(const g of f.getItems())if(g.hasAttribute("linkHref")){const b=D_(g.getAttribute("linkHref"),a);p.setAttribute("linkHref",b,g)}})})}}var rf=L(3817);yt()(rf.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class vM extends on{constructor(n,r){super(n),this.focusTracker=new vo,this.keystrokes=new br,this._focusables=new Qs;const a=n.t;this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(a("Save"),bn.check,"ck-button-save"),this.saveButtonView.type="submit",this.cancelButtonView=this._createButton(a("Cancel"),bn.cancel,"ck-button-cancel","cancel"),this._manualDecoratorSwitches=this._createManualDecoratorSwitches(r),this.children=this._createFormChildren(r.manualDecorators),this._focusCycler=new $r({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}});const d=["ck","ck-link-form","ck-responsive-form"];r.manualDecorators.length&&d.push("ck-link-form_layout-vertical","ck-vertical-form"),this.setTemplate({tag:"form",attributes:{class:d,tabindex:"-1"},children:this.children})}getDecoratorSwitchesState(){return Array.from(this._manualDecoratorSwitches).reduce((n,r)=>(n[r.name]=r.isOn,n),{})}render(){super.render(),v({view:this}),[this.urlInputView,...this._manualDecoratorSwitches,this.saveButtonView,this.cancelButtonView].forEach(n=>{this._focusables.add(n),this.focusTracker.add(n.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createUrlInput(){const n=this.locale.t,r=new Cg(this.locale,jv);return r.label=n("Link URL"),r}_createButton(n,r,a,d){const u=new Qn(this.locale);return u.set({label:n,icon:r,tooltip:!0}),u.extendTemplate({attributes:{class:a}}),d&&u.delegate("execute").to(this,d),u}_createManualDecoratorSwitches(n){const r=this.createCollection();for(const a of n.manualDecorators){const d=new wg(this.locale);d.set({name:a.id,label:a.label,withText:!0}),d.bind("isOn").toMany([a,n],"value",(u,p)=>void 0===p&&void 0===u?!!a.defaultValue:!!u),d.on("execute",()=>{a.set("value",!d.isOn)}),r.add(d)}return r}_createFormChildren(n){const r=this.createCollection();if(r.add(this.urlInputView),n.length){const a=new on;a.setTemplate({tag:"ul",children:this._manualDecoratorSwitches.map(d=>({tag:"li",children:[d],attributes:{class:["ck","ck-list__item"]}})),attributes:{class:["ck","ck-reset","ck-list"]}}),r.add(a)}return r.add(this.saveButtonView),r.add(this.cancelButtonView),r}}var yM=L(8762);yt()(yM.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class sf extends on{constructor(n,r={}){super(n),this.focusTracker=new vo,this.keystrokes=new br,this._focusables=new Qs;const a=n.t;this.previewButtonView=this._createPreviewButton(),this.unlinkButtonView=this._createButton(a("Unlink"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184zm4.919 10.562-1.414 1.414a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.061-1.06l1.414 1.414 1.414-1.415a.75.75 0 0 1 1.061 1.061l-1.414 1.414 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414z"/></svg>',"unlink"),this.editButtonView=this._createButton(a("Edit link"),bn.pencil,"edit"),this.set("href",void 0),this._linkConfig=r,this._focusCycler=new $r({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this.setTemplate({tag:"div",attributes:{class:["ck","ck-link-actions","ck-responsive-form"],tabindex:"-1"},children:[this.previewButtonView,this.editButtonView,this.unlinkButtonView]})}render(){super.render(),[this.previewButtonView,this.editButtonView,this.unlinkButtonView].forEach(n=>{this._focusables.add(n),this.focusTracker.add(n.element)}),this.keystrokes.listenTo(this.element)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}_createButton(n,r,a){const d=new Qn(this.locale);return d.set({label:n,icon:r,tooltip:!0}),d.delegate("execute").to(this,a),d}_createPreviewButton(){const n=new Qn(this.locale),r=this.bindTemplate,a=this.t;return n.set({withText:!0,tooltip:a("Open link in new tab")}),n.extendTemplate({attributes:{class:["ck","ck-link-actions__preview"],href:r.to("href",d=>d&&g1(d,this._linkConfig.allowedProtocols)),target:"_blank",rel:"noopener noreferrer"}}),n.bind("label").to(this,"href",d=>d||a("This link has no URL")),n.bind("isEnabled").to(this,"href",d=>!!d),n.template.tag="a",n.template.eventListeners={},n}}const ra="link-ui";class kM extends dt{constructor(){super(...arguments),this.actionsView=null,this.formView=null}static get requires(){return[Zl]}static get pluginName(){return"LinkUI"}init(){const n=this.editor,r=this.editor.t;n.editing.view.addObserver(ps),this._balloon=n.plugins.get(Zl),this._createToolbarLinkButton(),this._enableBalloonActivators(),n.conversion.for("editingDowncast").markerToHighlight({model:ra,view:{classes:["ck-fake-link-selection"]}}),n.conversion.for("editingDowncast").markerToElement({model:ra,view:{name:"span",classes:["ck-fake-link-selection","ck-fake-link-selection_collapsed"]}}),n.accessibility.addKeystrokeInfos({keystrokes:[{label:r("Create link"),keystroke:Vu},{label:r("Move out of a link"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}destroy(){super.destroy(),this.formView&&this.formView.destroy(),this.actionsView&&this.actionsView.destroy()}_createViews(){this.actionsView=this._createActionsView(),this.formView=this._createFormView(),this._enableUserBalloonInteractions()}_createActionsView(){const n=this.editor,r=new sf(n.locale,n.config.get("link")),a=n.commands.get("link"),d=n.commands.get("unlink");return r.bind("href").to(a,"value"),r.editButtonView.bind("isEnabled").to(a),r.unlinkButtonView.bind("isEnabled").to(d),this.listenTo(r,"edit",()=>{this._addFormView()}),this.listenTo(r,"unlink",()=>{n.execute("unlink"),this._hideUI()}),r.keystrokes.set("Esc",(u,p)=>{this._hideUI(),p()}),r.keystrokes.set(Vu,(u,p)=>{this._addFormView(),p()}),r}_createFormView(){const n=this.editor,r=n.commands.get("link"),a=n.config.get("link.defaultProtocol"),d=n.config.get("link.allowCreatingEmptyLinks"),u=new(I(vM))(n.locale,r);return u.urlInputView.fieldView.bind("value").to(r,"value"),u.urlInputView.bind("isEnabled").to(r,"isEnabled"),u.saveButtonView.bind("isEnabled").to(r,"isEnabled",u.urlInputView,"isEmpty",(p,f)=>p&&(d||!f)),this.listenTo(u,"submit",()=>{const{value:p}=u.urlInputView.fieldView.element,f=D_(p,a);n.execute("link",f,u.getDecoratorSwitchesState()),this._closeFormView()}),this.listenTo(u,"cancel",()=>{this._closeFormView()}),u.keystrokes.set("Esc",(p,f)=>{this._closeFormView(),f()}),u}_createToolbarLinkButton(){const n=this.editor,r=n.commands.get("link"),a=n.t;n.ui.componentFactory.add("link",d=>{const u=new Qn(d);return u.isEnabled=!0,u.label=a("Link"),u.icon='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.077 15 .991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184z"/></svg>',u.keystroke=Vu,u.tooltip=!0,u.isToggleable=!0,u.bind("isEnabled").to(r,"isEnabled"),u.bind("isOn").to(r,"value",p=>!!p),this.listenTo(u,"execute",()=>this._showUI(!0)),u})}_enableBalloonActivators(){const n=this.editor;this.listenTo(n.editing.view.document,"click",()=>{this._getSelectedLinkElement()&&this._showUI()}),n.keystrokes.set(Vu,(a,d)=>{d(),n.commands.get("link").isEnabled&&this._showUI(!0)})}_enableUserBalloonInteractions(){this.editor.keystrokes.set("Tab",(n,r)=>{this._areActionsVisible&&!this.actionsView.focusTracker.isFocused&&(this.actionsView.focus(),r())},{priority:"high"}),this.editor.keystrokes.set("Esc",(n,r)=>{this._isUIVisible&&(this._hideUI(),r())}),C({emitter:this.formView,activator:()=>this._isUIInPanel,contextElements:()=>[this._balloon.view.element],callback:()=>this._hideUI()})}_addActionsView(){this.actionsView||this._createViews(),this._areActionsInPanel||this._balloon.add({view:this.actionsView,position:this._getBalloonPositionData()})}_addFormView(){if(this.formView||this._createViews(),this._isFormInPanel)return;const n=this.editor.commands.get("link");this.formView.disableCssTransitions(),this._balloon.add({view:this.formView,position:this._getBalloonPositionData()}),this.formView.urlInputView.fieldView.value=n.value||"",this._balloon.visibleView===this.formView&&this.formView.urlInputView.fieldView.select(),this.formView.enableCssTransitions()}_closeFormView(){const n=this.editor.commands.get("link");n.restoreManualDecoratorStates(),void 0!==n.value?this._removeFormView():this._hideUI()}_removeFormView(){this._isFormInPanel&&(this.formView.saveButtonView.focus(),this.formView.urlInputView.fieldView.reset(),this._balloon.remove(this.formView),this.editor.editing.view.focus(),this._hideFakeVisualSelection())}_showUI(n=!1){this.formView||this._createViews(),this._getSelectedLinkElement()?(this._areActionsVisible?this._addFormView():this._addActionsView(),n&&this._balloon.showStack("main")):(this._showFakeVisualSelection(),this._addActionsView(),n&&this._balloon.showStack("main"),this._addFormView()),this._startUpdatingUI()}_hideUI(){if(!this._isUIInPanel)return;const n=this.editor;this.stopListening(n.ui,"update"),this.stopListening(this._balloon,"change:visibleView"),n.editing.view.focus(),this._removeFormView(),this._balloon.remove(this.actionsView),this._hideFakeVisualSelection()}_startUpdatingUI(){const n=this.editor,r=n.editing.view.document;let a=this._getSelectedLinkElement(),d=p();const u=()=>{const f=this._getSelectedLinkElement(),g=p();a&&!f||!a&&g!==d?this._hideUI():this._isUIVisible&&this._balloon.updatePosition(this._getBalloonPositionData()),a=f,d=g};function p(){return r.selection.focus.getAncestors().reverse().find(f=>f.is("element"))}this.listenTo(n.ui,"update",u),this.listenTo(this._balloon,"change:visibleView",u)}get _isFormInPanel(){return!!this.formView&&this._balloon.hasView(this.formView)}get _areActionsInPanel(){return!!this.actionsView&&this._balloon.hasView(this.actionsView)}get _areActionsVisible(){return!!this.actionsView&&this._balloon.visibleView===this.actionsView}get _isUIInPanel(){return this._isFormInPanel||this._areActionsInPanel}get _isUIVisible(){return!!this.formView&&this._balloon.visibleView==this.formView||this._areActionsVisible}_getBalloonPositionData(){const n=this.editor.editing.view,a=n.document;let d;if(this.editor.model.markers.has(ra)){const u=Array.from(this.editor.editing.mapper.markerNameToElements(ra)),p=n.createRange(n.createPositionBefore(u[0]),n.createPositionAfter(u[u.length-1]));d=n.domConverter.viewRangeToDom(p)}else d=()=>{const u=this._getSelectedLinkElement();return u?n.domConverter.mapViewToDom(u):n.domConverter.viewRangeToDom(a.selection.getFirstRange())};return{target:d}}_getSelectedLinkElement(){const n=this.editor.editing.view,r=n.document.selection,a=r.getSelectedElement();if(r.isCollapsed||a&&wo(a))return T_(r.getFirstPosition());{const d=r.getFirstRange().getTrimmed(),u=T_(d.start),p=T_(d.end);return u&&u==p&&n.createRangeIn(u).getTrimmed().isEqual(d)?u:null}}_showFakeVisualSelection(){const n=this.editor.model;n.change(r=>{const a=n.document.selection.getFirstRange();if(n.markers.has(ra))r.updateMarker(ra,{range:a});else if(a.start.isAtEnd){const d=a.start.getLastMatchingPosition(({item:u})=>!n.schema.isContent(u),{boundaries:a});r.addMarker(ra,{usingOperation:!1,affectsData:!1,range:r.createRange(d,a.end)})}else r.addMarker(ra,{usingOperation:!1,affectsData:!1,range:a})})}_hideFakeVisualSelection(){const n=this.editor.model;n.markers.has(ra)&&n.change(r=>{r.removeMarker(ra)})}}function T_(c){return c.getAncestors().find(n=>{return(r=n).is("attributeElement")&&!!r.getCustomProperty("link");var r})||null}const v1=new RegExp("(^|\\s)(((?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(((?!www\\.)|(www\\.))(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+(?:[a-z\\u00a1-\\uffff]{2,63})))(?::\\d{2,5})?(?:[/?#]\\S*)?)|((www.|(\\S+@))((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+(?:[a-z\\u00a1-\\uffff]{2,63})))$","i");class wM extends dt{static get requires(){return[Na,tc]}static get pluginName(){return"AutoLink"}init(){const n=this.editor.model.document.selection;n.on("change:range",()=>{this.isEnabled=!n.anchor.parent.is("element","codeBlock")}),this._enableTypingHandling()}afterInit(){this._enableEnterHandling(),this._enableShiftEnterHandling(),this._enablePasteLinking()}_expandLinkRange(n,r){return r.textNode&&r.textNode.hasAttribute("linkHref")?kl(r,"linkHref",r.textNode.getAttribute("linkHref"),n):null}_selectEntireLinks(n,r){const a=this.editor.model,d=a.document.selection,u=d.getFirstPosition(),p=d.getLastPosition();let f=r.getJoined(this._expandLinkRange(a,u)||r);f&&(f=f.getJoined(this._expandLinkRange(a,p)||r)),f&&(f.start.isBefore(u)||f.end.isAfter(p))&&n.setSelection(f)}_enablePasteLinking(){const n=this.editor,r=n.model,a=r.document.selection,d=n.plugins.get("ClipboardPipeline"),u=n.commands.get("link");d.on("inputTransformation",(p,f)=>{if(!this.isEnabled||!u.isEnabled||a.isCollapsed||"paste"!==f.method||a.rangeCount>1)return;const g=a.getFirstRange(),b=f.dataTransfer.getData("text/plain");if(!b)return;const k=b.match(v1);k&&k[2]===b&&(r.change(S=>{this._selectEntireLinks(S,g),u.execute(b)}),p.stop())},{priority:"high"})}_enableTypingHandling(){const n=this.editor,r=new hy(n.model,a=>{if(!((u=a).length>4&&" "===u[u.length-1]&&" "!==u[u.length-2]))return;var u;const d=x_(a.substr(0,a.length-1));return d?{url:d}:void 0});r.on("matched:data",(a,d)=>{const{batch:u,range:p,url:f}=d;if(!u.isTyping)return;const g=p.end.getShiftedBy(-1),b=g.getShiftedBy(-f.length),k=n.model.createRange(b,g);this._applyAutoLink(f,k)}),r.bind("isEnabled").to(this)}_enableEnterHandling(){const n=this.editor,r=n.model,a=n.commands.get("enter");a&&a.on("execute",()=>{const d=r.document.selection.getFirstPosition();if(!d.parent.previousSibling)return;const u=r.createRangeIn(d.parent.previousSibling);this._checkAndApplyAutoLinkOnRange(u)})}_enableShiftEnterHandling(){const n=this.editor,r=n.model,a=n.commands.get("shiftEnter");a&&a.on("execute",()=>{const d=r.document.selection.getFirstPosition(),u=r.createRange(r.createPositionAt(d.parent,0),d.getShiftedBy(-1));this._checkAndApplyAutoLinkOnRange(u)})}_checkAndApplyAutoLinkOnRange(n){const r=this.editor.model,{text:a,range:d}=gS(n,r),u=x_(a);if(u){const p=r.createRange(d.end.getShiftedBy(-u.length),d.end);this._applyAutoLink(u,p)}}_applyAutoLink(n,r){const a=this.editor.model,d=D_(n,this.editor.config.get("link.defaultProtocol"));var p;this.isEnabled&&(p=a).schema.checkAttributeInSelection(p.createSelection(r),"linkHref")&&mM(d)&&!function(u){const p=u.start.nodeAfter;return!!p&&p.hasAttribute("linkHref")}(r)&&this._persistAutoLink(d,r)}_persistAutoLink(n,r){const a=this.editor.model,d=this.editor.plugins.get("Delete");a.enqueueChange(u=>{u.setAttribute("linkHref",n,r),a.enqueueChange(()=>{d.requestUndoOnBackspace()})})}}function x_(c){const n=v1.exec(c);return n?n[2]:null}var CM=L(4808);yt()(CM.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class sa{constructor(n,r){this._startElement=n,this._referenceIndent=n.getAttribute("listIndent"),this._isForward="forward"==r.direction,this._includeSelf=!!r.includeSelf,this._sameAttributes=Zn(r.sameAttributes||[]),this._sameIndent=!!r.sameIndent,this._lowerIndent=!!r.lowerIndent,this._higherIndent=!!r.higherIndent}static first(n,r){return bo(new this(n,r)[Symbol.iterator]())}*[Symbol.iterator](){const n=[];for(const{node:r}of Yu(this._getStartNode(),this._isForward?"forward":"backward")){const a=r.getAttribute("listIndent");if(a<this._referenceIndent){if(!this._lowerIndent)break;this._referenceIndent=a}else if(a>this._referenceIndent){if(!this._higherIndent)continue;if(!this._isForward){n.push(r);continue}}else{if(!this._sameIndent){if(this._higherIndent){n.length&&(yield*n,n.length=0);break}continue}if(this._sameAttributes.some(d=>r.getAttribute(d)!==this._startElement.getAttribute(d)))break}n.length&&(yield*n,n.length=0),yield r}}_getStartNode(){return this._includeSelf?this._startElement:this._isForward?this._startElement.nextSibling:this._startElement.previousSibling}}function*Yu(c,n="forward"){const r="forward"==n,a=[];let d=null;for(;ei(c);){let u=null;if(d){const p=c.getAttribute("listIndent"),f=d.getAttribute("listIndent");p>f?a[f]=d:p<f?(u=a[p],a.length=p):u=d}yield{node:c,previous:d,previousNodeInList:u},d=c,c=r?c.nextSibling:c.previousSibling}}class AM{constructor(n){this._listHead=n}[Symbol.iterator](){return Yu(this._listHead,"forward")}}var OI=Object.defineProperty,PI=Object.defineProperties,NI=Object.getOwnPropertyDescriptors,Uu=Object.getOwnPropertySymbols,RI=Object.prototype.hasOwnProperty,nc=Object.prototype.propertyIsEnumerable,MM=(c,n,r)=>n in c?OI(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,DM=(c,n)=>{for(var r in n||(n={}))RI.call(n,r)&&MM(c,r,n[r]);if(Uu)for(var r of Uu(n))nc.call(n,r)&&MM(c,r,n[r]);return c},y1=(c,n)=>PI(c,NI(n));class af{static next(){return ae()}}function ei(c){return!!c&&c.is("element")&&c.hasAttribute("listItemId")}function k1(c,n={}){return[...ic(c,y1(DM({},n),{direction:"backward"})),...ic(c,y1(DM({},n),{direction:"forward"}))]}function ic(c,n={}){const r="forward"==n.direction,a=Array.from(new sa(c,y1(DM({},n),{includeSelf:r,sameIndent:!0,sameAttributes:"listItemId"})));return r?a:a.reverse()}function TM(c){const n=new sa(c,{sameIndent:!0,sameAttributes:"listType"}),r=new sa(c,{sameIndent:!0,sameAttributes:"listType",includeSelf:!0,direction:"forward"});return[...Array.from(n).reverse(),...r]}function Ra(c){return!sa.first(c,{sameIndent:!0,sameAttributes:"listItemId"})}function w1(c){return!sa.first(c,{direction:"forward",sameIndent:!0,sameAttributes:"listItemId"})}function lf(c,n={}){c=Zn(c);const r=!1!==n.withNested,a=new Set;for(const d of c)for(const u of k1(d,{higherIndent:r}))a.add(u);return kd(a)}function Wu(c,n){const r=ic(c,{direction:"forward"}),a=af.next();for(const d of r)n.setAttribute("listItemId",a,d);return r}function C1(c,n,r){const a={};for(const[u,p]of n.getAttributes())u.startsWith("list")&&(a[u]=p);const d=ic(c,{direction:"forward"});for(const u of d)r.setAttributes(a,u);return d}function A1(c,n,{expand:r,indentBy:a=1}={}){c=Zn(c);const d=r?lf(c):c;for(const u of d){const p=u.getAttribute("listIndent")+a;p<0?cf(u,n):n.setAttribute("listIndent",p,u)}return d}function cf(c,n){c=Zn(c);for(const r of c)r.is("element","listItem")&&n.rename(r,"paragraph");for(const r of c)for(const a of r.getAttributeKeys())a.startsWith("list")&&n.removeAttribute(a,r);return c}function df(c){if(!c.length)return!1;const n=c[0].getAttribute("listItemId");return!!n&&!c.some(r=>r.getAttribute("listItemId")!=n)}function kd(c){return Array.from(c).filter(n=>"$graveyard"!==n.root.rootName).sort((n,r)=>n.index-r.index)}function $u(c){const n=c.document.selection.getSelectedElement();return n&&c.schema.isObject(n)&&c.schema.isBlock(n)?n:null}function xr(c,n){return n.checkChild(c.parent,"listItem")&&n.checkChild(c,"$text")&&!n.isObject(c)}function FI(c,n,r){return ic(n,{direction:"forward"}).pop().index>c.index?C1(c,n,r):[]}class EM extends Tn{constructor(n,r){super(n),this._direction=r}refresh(){this.isEnabled=this._checkEnabled()}execute(){const n=this.editor.model,r=M1(n.document.selection);n.change(a=>{const d=[];df(r)&&!Ra(r[0])?("forward"==this._direction&&d.push(...A1(r,a)),d.push(...Wu(r[0],a))):"forward"==this._direction?d.push(...A1(r,a,{expand:!0})):d.push(...function(u,p){const f=lf(u=Zn(u)),g=new Set,b=Math.min(...f.map(S=>S.getAttribute("listIndent"))),k=new Map;for(const S of f)k.set(S,sa.first(S,{lowerIndent:!0}));for(const S of f){if(g.has(S))continue;g.add(S);const B=S.getAttribute("listIndent")-1;if(B<0)cf(S,p);else{if(S.getAttribute("listIndent")==b){const U=FI(S,k.get(S),p);for(const Z of U)g.add(Z);if(U.length)continue}p.setAttribute("listIndent",B,S)}}return kd(g)}(r,a));for(const u of d){if(!u.hasAttribute("listType"))continue;const p=sa.first(u,{sameIndent:!0});p&&a.setAttribute("listType",p.getAttribute("listType"),u)}this._fireAfterExecute(d)})}_fireAfterExecute(n){this.fire("afterExecute",kd(new Set(n)))}_checkEnabled(){let n=M1(this.editor.model.document.selection),r=n[0];if(!r)return!1;if("backward"==this._direction||df(n)&&!Ra(n[0]))return!0;n=lf(n),r=n[0];const a=sa.first(r,{sameIndent:!0});return!!a&&a.getAttribute("listType")==r.getAttribute("listType")}}function M1(c){const n=Array.from(c.getSelectedBlocks()),r=n.findIndex(a=>!ei(a));return-1!=r&&(n.length=r),n}class D1 extends Tn{constructor(n,r){super(n),this.type=r}refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(n={}){const r=this.editor.model,a=r.document,d=$u(r),u=Array.from(a.selection.getSelectedBlocks()).filter(f=>r.schema.checkAttribute(f,"listType")||xr(f,r.schema)),p=void 0!==n.forceValue?!n.forceValue:this.value;r.change(f=>{if(p){const g=u[u.length-1],b=ic(g,{direction:"forward"}),k=[];b.length>1&&k.push(...Wu(b[1],f)),k.push(...cf(u,f)),k.push(...function(S,B){const U=[];let Z=Number.POSITIVE_INFINITY;for(const{node:te}of Yu(S.nextSibling,"forward")){const fe=te.getAttribute("listIndent");if(0==fe)break;fe<Z&&(Z=fe),B.setAttribute("listIndent",fe-Z,te),U.push(te)}return U}(g,f)),this._fireAfterExecute(k)}else if((d||a.selection.isCollapsed)&&ei(u[0])){const g=TM(d||u[0]);for(const b of g)f.setAttribute("listType",this.type,b);this._fireAfterExecute(g)}else{const g=[];for(const b of u)if(b.hasAttribute("listType"))for(const k of lf(b,{withNested:!1}))k.getAttribute("listType")!=this.type&&(f.setAttribute("listType",this.type,k),g.push(k));else!b.is("element","listItem")&&xr(b,r.schema)&&f.rename(b,"listItem"),f.setAttributes({listIndent:0,listItemId:af.next(),listType:this.type},b),g.push(b);this._fireAfterExecute(g)}})}_fireAfterExecute(n){this.fire("afterExecute",kd(new Set(n)))}_getValue(){const r=Array.from(this.editor.model.document.selection.getSelectedBlocks());if(!r.length)return!1;for(const a of r)if(a.getAttribute("listType")!=this.type)return!1;return!0}_checkEnabled(){const n=this.editor.model,r=n.schema,d=Array.from(n.document.selection.getSelectedBlocks());if(!d.length)return!1;if(this.value)return!0;for(const u of d)if(r.checkAttribute(u,"listType")||xr(u,r))return!0;return!1}}class E_ extends Tn{constructor(n,r){super(n),this._direction=r}refresh(){this.isEnabled=this._checkEnabled()}execute({shouldMergeOnBlocksContentLevel:n=!1}={}){const r=this.editor.model,a=r.document.selection,d=[];r.change(u=>{const{firstElement:p,lastElement:f}=this._getMergeSubjectElements(a,n),g=p.getAttribute("listIndent")||0,b=f.getAttribute("listIndent"),k=f.getAttribute("listItemId");if(g!=b){const B=Array.from(new sa(f,{direction:"forward",higherIndent:!0}));d.push(...A1([f,...B],u,{indentBy:g-b,expand:g<b}))}if(n){let B=a;a.isCollapsed&&(B=u.createSelection(u.createRange(u.createPositionAt(p,"end"),u.createPositionAt(f,0)))),r.deleteContent(B,{doNotResetEntireContent:a.isCollapsed});const U=B.getLastPosition().parent,Z=U.nextSibling;d.push(U),Z&&Z!==f&&Z.getAttribute("listItemId")==k&&d.push(...C1(Z,U,u))}else d.push(...C1(f,p,u));this._fireAfterExecute(d)})}_fireAfterExecute(n){this.fire("afterExecute",kd(new Set(n)))}_checkEnabled(){const n=this.editor.model,r=n.document.selection,a=$u(n);if(r.isCollapsed||a){const d=a||r.getFirstPosition().parent;if(!ei(d))return!1;const u="backward"==this._direction?d.previousSibling:d.nextSibling;if(!u||df([d,u]))return!1}else{const d=r.getLastPosition(),u=r.getFirstPosition();if(d.parent===u.parent||!ei(d.parent))return!1}return!0}_getMergeSubjectElements(n,r){const a=$u(this.editor.model);let d,u;if(n.isCollapsed||a){const p=a||n.getFirstPosition().parent,f=Ra(p);"backward"==this._direction?(u=p,d=f&&!r?sa.first(p,{sameIndent:!0,lowerIndent:!0}):p.previousSibling):(d=p,u=p.nextSibling)}else d=n.getFirstPosition().parent,u=n.getLastPosition().parent;return{firstElement:d,lastElement:u}}}class T1 extends Tn{constructor(n,r){super(n),this._direction=r}refresh(){this.isEnabled=this._checkEnabled()}execute(){this.editor.model.change(n=>{const r=Wu(this._getStartBlock(),n);this._fireAfterExecute(r)})}_fireAfterExecute(n){this.fire("afterExecute",kd(new Set(n)))}_checkEnabled(){const n=this.editor.model.document.selection,r=this._getStartBlock();return n.isCollapsed&&ei(r)&&!Ra(r)}_getStartBlock(){const n=this.editor.model.document.selection.getFirstPosition().parent;return"before"==this._direction?n:n.nextSibling}}class BI extends dt{static get pluginName(){return"ListUtils"}expandListBlocksToCompleteList(n){return function xM(c){c=Zn(c);const n=new Set;for(const r of c)for(const a of TM(r))n.add(a);return kd(n)}(n)}isFirstBlockOfListItem(n){return Ra(n)}isListItemBlock(n){return ei(n)}expandListBlocksToCompleteItems(n,r={}){return lf(n,r)}}function x1(c){return c.is("element","ol")||c.is("element","ul")}function uf(c){return c.is("element","li")}function jI(c,n,r,a=I_(r,n)){return c.createAttributeElement(S_(r),null,{priority:2*n/100-100,id:a})}function zI(c,n,r){return c.createAttributeElement("li",null,{priority:(2*n+1)/100-100,id:r})}function S_(c){return"numbered"==c?"ol":"ul"}function I_(c,n){return`list-${c}-${n}`}function Fs(c,n){const r=c.nodeBefore;if(ei(r)){let a=r;for(const{node:d}of Yu(a,"backward"))if(a=d,n.has(a))return;n.set(r,a)}else{const a=c.nodeAfter;ei(a)&&n.set(a,a)}}function L_(){return(c,n,r)=>{if(!r.consumable.test(n.viewItem,{name:!0}))return;const a=new bl(n.viewItem.document);for(const d of Array.from(n.viewItem.getChildren()))uf(d)||x1(d)||a.remove(d)}}function SM(c,n,r,{dataPipeline:a}={}){const d=(u=c,(p,f)=>{const g=[];for(const b of u)p.hasAttribute(b)&&g.push(`attribute:${b}`);return!!g.every(b=>!1!==f.test(p,b))&&(g.forEach(b=>f.consume(p,b)),!0)});var u;return(u,p,f)=>{const{writer:g,mapper:b,consumable:k}=f,S=p.item;if(!c.includes(p.attributeKey)||!d(S,k))return;const B=function(Z,te,fe){const ge=fe.createRangeOn(Z);return te.toViewRange(ge).getTrimmed().end.nodeBefore}(S,b,r);(function(Z,te,fe){for(;Z.parent.is("attributeElement")&&Z.parent.getCustomProperty("listItemWrapper");)te.unwrap(te.createRangeIn(Z.parent),Z.parent);const ge=te.createPositionBefore(Z).getWalker({direction:"backward"}),Ee=[];for(const{item:He}of ge){if(He.is("element")&&fe.toModelElement(He))break;He.is("element")&&He.getCustomProperty("listItemMarker")&&Ee.push(He)}for(const He of Ee)te.remove(He)})(B,g,b),function(Z,te){let fe=Z.parent;for(;fe.is("attributeElement")&&["ul","ol","li"].includes(fe.name);){const ge=fe.parent;te.unwrap(te.createRangeOn(Z),fe),fe=ge}}(B,g),function(Z,te,fe,ge){if(!Z.hasAttribute("listIndent"))return;const Ee=Z.getAttribute("listIndent");let He=Z;for(let ct=Ee;ct>=0;ct--){const It=zI(ge,ct,He.getAttribute("listItemId")),Zt=jI(ge,ct,He.getAttribute("listType"));for(const In of fe)"list"!=In.scope&&"item"!=In.scope||!He.hasAttribute(In.attributeName)||In.setAttributeOnDowncast(ge,He.getAttribute(In.attributeName),"list"==In.scope?Zt:It);if(te=ge.wrap(te,It),te=ge.wrap(te,Zt),0==ct||(He=sa.first(He,{lowerIndent:!0}),!He))break}}(S,function(Z,te,fe,ge,{dataPipeline:Ee}){let He=ge.createRangeOn(te);if(!Ra(Z))return He;for(const ct of fe){if("itemMarker"!=ct.scope)continue;const It=ct.createElement(ge,Z,{dataPipeline:Ee});if(!It||(ge.setCustomProperty("listItemMarker",!0,It),ge.insert(He.start,It),He=ge.createRange(ge.createPositionBefore(It),ge.createPositionAfter(te)),!ct.createWrapperElement||!ct.canWrapElement))continue;const Zt=ct.createWrapperElement(ge,Z,{dataPipeline:Ee});ge.setCustomProperty("listItemWrapper",!0,Zt),ct.canWrapElement(Z)?He=ge.wrap(He,Zt):(He=ge.wrap(ge.createRangeOn(It),Zt),He=ge.createRange(He.start,ge.createPositionAfter(te)))}return He}(S,B,n,g,{dataPipeline:a}),n,g)}}function IM(c,{dataPipeline:n}={}){return(r,{writer:a})=>{if(!LM(r,c))return null;if(!n)return a.createContainerElement("span",{class:"ck-list-bogus-paragraph"});const d=a.createContainerElement("p");return a.setCustomProperty("dataPipeline:transparentRendering",!0,d),d}}function LM(c,n,r=k1(c)){if(!ei(c))return!1;for(const a of c.getAttributeKeys())if(!a.startsWith("selection:")&&!n.includes(a))return!1;return r.length<2}var OM=L(1232);yt()(OM.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var O_=L(6903);yt()(O_.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const Pn=["listType","listIndent","listItemId"];class pi extends dt{constructor(n){super(n),this._downcastStrategies=[],n.config.define("list.multiBlock",!0)}static get pluginName(){return"ListEditing"}static get requires(){return[wl,Na,BI,Ls]}init(){const n=this.editor,r=n.model,a=n.config.get("list.multiBlock");if(n.plugins.has("LegacyListEditing"))throw new Y("list-feature-conflict",this,{conflictPlugin:"LegacyListEditing"});r.schema.register("$listItem",{allowAttributes:Pn}),a?(r.schema.extend("$container",{allowAttributesOf:"$listItem"}),r.schema.extend("$block",{allowAttributesOf:"$listItem"}),r.schema.extend("$blockObject",{allowAttributesOf:"$listItem"})):r.schema.register("listItem",{inheritAllFrom:"$block",allowAttributesOf:"$listItem"});for(const d of Pn)r.schema.setAttributeProperties(d,{copyOnReplace:!0});n.commands.add("numberedList",new D1(n,"numbered")),n.commands.add("bulletedList",new D1(n,"bulleted")),n.commands.add("indentList",new EM(n,"forward")),n.commands.add("outdentList",new EM(n,"backward")),n.commands.add("splitListItemBefore",new T1(n,"before")),n.commands.add("splitListItemAfter",new T1(n,"after")),a&&(n.commands.add("mergeListItemBackward",new E_(n,"backward")),n.commands.add("mergeListItemForward",new E_(n,"forward"))),this._setupDeleteIntegration(),this._setupEnterIntegration(),this._setupTabIntegration(),this._setupClipboardIntegration(),this._setupAccessibilityIntegration()}afterInit(){const n=this.editor.commands,r=n.get("indent"),a=n.get("outdent");r&&r.registerChildCommand(n.get("indentList"),{priority:"high"}),a&&a.registerChildCommand(n.get("outdentList"),{priority:"lowest"}),this._setupModelPostFixing(),this._setupConversion()}registerDowncastStrategy(n){this._downcastStrategies.push(n)}getListAttributeNames(){return[...Pn,...this._downcastStrategies.map(n=>n.attributeName)]}_setupDeleteIntegration(){const n=this.editor,r=n.commands.get("mergeListItemBackward"),a=n.commands.get("mergeListItemForward");this.listenTo(n.editing.view.document,"delete",(d,u)=>{const p=n.model.document.selection;$u(n.model)||n.model.change(()=>{const f=p.getFirstPosition();if(p.isCollapsed&&"backward"==u.direction){if(!f.isAtStart)return;const g=f.parent;if(!ei(g))return;if(sa.first(g,{sameAttributes:"listType",sameIndent:!0})||0!==g.getAttribute("listIndent")){if(!r||!r.isEnabled)return;r.execute({shouldMergeOnBlocksContentLevel:jt(n.model,"backward")})}else w1(g)||n.execute("splitListItemAfter"),n.execute("outdentList");u.preventDefault(),d.stop()}else{if(p.isCollapsed&&!p.getLastPosition().isAtEnd||!a||!a.isEnabled)return;a.execute({shouldMergeOnBlocksContentLevel:jt(n.model,"forward")}),u.preventDefault(),d.stop()}})},{context:"li"})}_setupEnterIntegration(){const n=this.editor,r=n.model,a=n.commands,d=a.get("enter");this.listenTo(n.editing.view.document,"enter",(u,p)=>{const f=r.document,g=f.selection.getFirstPosition().parent;if(f.selection.isCollapsed&&ei(g)&&g.isEmpty&&!p.isSoft){const b=Ra(g),k=w1(g);b&&k?(n.execute("outdentList"),p.preventDefault(),u.stop()):b&&!k?(n.execute("splitListItemAfter"),p.preventDefault(),u.stop()):k&&(n.execute("splitListItemBefore"),p.preventDefault(),u.stop())}},{context:"li"}),this.listenTo(d,"afterExecute",()=>{const u=a.get("splitListItemBefore");u.refresh(),u.isEnabled&&2===k1(n.model.document.selection.getLastPosition().parent).length&&u.execute()})}_setupTabIntegration(){const n=this.editor;this.listenTo(n.editing.view.document,"tab",(r,a)=>{const d=a.shiftKey?"outdentList":"indentList";this.editor.commands.get(d).isEnabled&&(n.execute(d),a.stopPropagation(),a.preventDefault(),r.stop())},{context:"li"})}_setupConversion(){const n=this.editor,r=n.model,a=this.getListAttributeNames(),d=n.config.get("list.multiBlock"),u=d?"paragraph":"listItem";n.conversion.for("upcast").elementToElement({view:"li",model:(p,{writer:f})=>f.createElement(u,{listType:""})}).elementToElement({view:"p",model:(p,{writer:f})=>p.parent&&p.parent.is("element","li")?f.createElement(u,{listType:""}):null,converterPriority:"high"}).add(p=>{p.on("element:li",function E1(){return(c,n,r)=>{const{writer:a,schema:d}=r;if(!n.modelRange)return;const u=Array.from(n.modelRange.getItems({shallow:!0})).filter(S=>d.checkAttribute(S,"listItemId"));if(!u.length)return;const p=af.next(),f=function(S){let B=0,U=S.parent;for(;U;){if(uf(U))B++;else{const Z=U.previousSibling;Z&&uf(Z)&&B++}U=U.parent}return B}(n.viewItem);let g=n.viewItem.parent&&n.viewItem.parent.is("element","ol")?"numbered":"bulleted";const b=u[0].getAttribute("listType");b&&(g=b);const k={listItemId:p,listIndent:f,listType:g};for(const S of u)S.hasAttribute("listItemId")||a.setAttributes(k,S);u.length>1&&u[1].getAttribute("listItemId")!=k.listItemId&&r.keepEmptyElement(u[0])}}()),p.on("element:ul",L_(),{priority:"high"}),p.on("element:ol",L_(),{priority:"high"})}),d||n.conversion.for("downcast").elementToElement({model:"listItem",view:"p"}),n.conversion.for("editingDowncast").elementToElement({model:u,view:IM(a),converterPriority:"high"}).add(p=>{p.on("attribute",SM(a,this._downcastStrategies,r))}),n.conversion.for("dataDowncast").elementToElement({model:u,view:IM(a,{dataPipeline:!0}),converterPriority:"high"}).add(p=>{p.on("attribute",SM(a,this._downcastStrategies,r,{dataPipeline:!0}))}),this.listenTo(r.document,"change:data",function(p,f,g,b){return()=>{const U=p.document.differ.getChanges(),Z=[],te=new Map,fe=new Set;for(const ge of U)if("insert"==ge.type&&"$text"!=ge.name)Fs(ge.position,te),ge.attributes.has("listItemId")?fe.add(ge.position.nodeAfter):Fs(ge.position.getShiftedBy(ge.length),te);else if("remove"==ge.type&&ge.attributes.has("listItemId"))Fs(ge.position,te);else if("attribute"==ge.type){const Ee=ge.range.start.nodeAfter;g.includes(ge.attributeKey)?(Fs(ge.range.start,te),null===ge.attributeNewValue?(Fs(ge.range.start.getShiftedBy(1),te),S(Ee)&&Z.push(Ee)):fe.add(Ee)):ei(Ee)&&S(Ee)&&Z.push(Ee)}for(const ge of te.values())Z.push(...k(ge,fe));for(const ge of new Set(Z))f.reconvertItem(ge)};function k(U,Z){const te=[],fe=new Set,ge=[];for(const{node:Ee,previous:He}of Yu(U,"forward")){if(fe.has(Ee))continue;const ct=Ee.getAttribute("listIndent");He&&ct<He.getAttribute("listIndent")&&(ge.length=ct+1),ge[ct]=Object.fromEntries(Array.from(Ee.getAttributes()).filter(([Zt])=>g.includes(Zt)));const It=ic(Ee,{direction:"forward"});for(const Zt of It)fe.add(Zt),(S(Zt,It)||B(Zt,ge,Z))&&te.push(Zt)}return te}function S(U,Z){const te=f.mapper.toViewElement(U);if(!te)return!1;if(b.fire("checkElement",{modelElement:U,viewElement:te}))return!0;if(!U.is("element","paragraph")&&!U.is("element","listItem"))return!1;const fe=LM(U,g,Z);return!(!fe||!te.is("element","p"))||!(fe||!te.is("element","span"))}function B(U,Z,te){if(te.has(U))return!1;const fe=f.mapper.toViewElement(U);let ge=Z.length-1;for(let Ee=fe.parent;!Ee.is("editableElement");Ee=Ee.parent){const He=uf(Ee),ct=x1(Ee);if(ct||He){if(b.fire("checkAttributes:"+(He?"item":"list"),{viewElement:Ee,modelAttributes:Z[ge]}))break;if(ct&&(ge--,ge<0))return!1}}return!0}}(r,n.editing,a,this),{priority:"high"}),this.on("checkAttributes:item",(p,{viewElement:f,modelAttributes:g})=>{f.id!=g.listItemId&&(p.return=!0,p.stop())}),this.on("checkAttributes:list",(p,{viewElement:f,modelAttributes:g})=>{f.name==S_(g.listType)&&f.id==I_(g.listType,g.listIndent)||(p.return=!0,p.stop())})}_setupModelPostFixing(){const n=this.editor.model,r=this.getListAttributeNames();n.document.registerPostFixer(a=>function(d,u,p,f){const g=d.document.differ.getChanges(),b=new Map,k=f.editor.config.get("list.multiBlock");let S=!1;for(const U of g){if("insert"==U.type&&"$text"!=U.name){const Z=U.position.nodeAfter;if(!d.schema.checkAttribute(Z,"listItemId"))for(const te of Array.from(Z.getAttributeKeys()))p.includes(te)&&(u.removeAttribute(te,Z),S=!0);Fs(U.position,b),U.attributes.has("listItemId")||Fs(U.position.getShiftedBy(U.length),b);for(const{item:te,previousPosition:fe}of d.createRangeIn(Z))ei(te)&&Fs(fe,b)}else"remove"==U.type?Fs(U.position,b):"attribute"==U.type&&p.includes(U.attributeKey)&&(Fs(U.range.start,b),null===U.attributeNewValue&&Fs(U.range.start.getShiftedBy(1),b));if(!k&&"attribute"==U.type&&Pn.includes(U.attributeKey)){const Z=U.range.start.nodeAfter;null===U.attributeNewValue&&Z&&Z.is("element","listItem")?(u.rename(Z,"paragraph"),S=!0):null===U.attributeOldValue&&Z&&Z.is("element")&&"listItem"!=Z.name&&(u.rename(Z,"listItem"),S=!0)}}const B=new Set;for(const U of b.values())S=f.fire("postFixer",{listNodes:new AM(U),listHead:U,writer:u,seenIds:B})||S;return S}(n,a,r,this)),this.on("postFixer",(a,{listNodes:d,writer:u})=>{a.return=function(p,f){let g=0,b=-1,k=null,S=!1;for(const{node:B}of p){const U=B.getAttribute("listIndent");if(U>g){let Z;null===k?(k=U-g,Z=g):(k>U&&(k=U),Z=U-k),Z>b+1&&(Z=b+1),f.setAttribute("listIndent",Z,B),S=!0,b=Z}else k=null,g=U+1,b=U}return S}(d,u)||a.return},{priority:"high"}),this.on("postFixer",(a,{listNodes:d,writer:u,seenIds:p})=>{a.return=function(f,g,b){const k=new Set;let S=!1;for(const{node:B}of f){if(k.has(B))continue;let U=B.getAttribute("listType"),Z=B.getAttribute("listItemId");if(g.has(Z)&&(Z=af.next()),g.add(Z),B.is("element","listItem"))B.getAttribute("listItemId")!=Z&&(b.setAttribute("listItemId",Z,B),S=!0);else for(const te of ic(B,{direction:"forward"}))k.add(te),te.getAttribute("listType")!=U&&(Z=af.next(),U=te.getAttribute("listType")),te.getAttribute("listItemId")!=Z&&(b.setAttribute("listItemId",Z,te),S=!0)}return S}(d,p,u)||a.return},{priority:"high"})}_setupClipboardIntegration(){const n=this.editor.model,r=this.editor.plugins.get("ClipboardPipeline");var a;this.listenTo(n,"insertContent",(a=n,(d,[u,p])=>{const f=u.is("documentFragment")?Array.from(u.getChildren()):[u];if(!f.length)return;const g=(p?a.createSelection(p):a.document.selection).getFirstPosition();let b;if(ei(g.parent))b=g.parent;else{if(!ei(g.nodeBefore))return;b=g.nodeBefore}a.change(k=>{const S=b.getAttribute("listType"),B=b.getAttribute("listIndent"),U=f[0].getAttribute("listIndent")||0,Z=Math.max(B-U,0);for(const te of f){const fe=ei(te);b.is("element","listItem")&&te.is("element","paragraph")&&k.rename(te,"listItem"),k.setAttributes({listIndent:(fe?te.getAttribute("listIndent"):0)+Z,listItemId:fe?te.getAttribute("listItemId"):af.next(),listType:S},te)}})}),{priority:"high"}),this.listenTo(r,"outputTransformation",(a,d)=>{n.change(u=>{const p=Array.from(d.content.getChildren()),f=p[p.length-1];if(p.length>1&&f.is("element")&&f.isEmpty&&p.slice(0,-1).every(ei)&&u.remove(f),"copy"==d.method||"cut"==d.method){const g=Array.from(d.content.getChildren());df(g)&&cf(g,u)}})})}_setupAccessibilityIntegration(){const n=this.editor,r=n.t;n.accessibility.addKeystrokeInfoGroup({id:"list",label:r("Keystrokes that can be used in a list"),keystrokes:[{label:r("Increase list item indent"),keystroke:"Tab"},{label:r("Decrease list item indent"),keystroke:"Shift+Tab"}]})}}function jt(c,n){const r=c.document.selection;if(!r.isCollapsed)return!$u(c);if("forward"===n)return!0;const a=r.getFirstPosition().parent,d=a.previousSibling;return!c.schema.isObject(d)&&(!!d.isEmpty||df([a,d]))}function NM(c,n,r,a){c.ui.componentFactory.add(n,d=>{const u=c.commands.get(n),p=new Qn(d);return p.set({label:r,icon:a,tooltip:!0,isToggleable:!0}),p.bind("isOn","isEnabled").to(u,"value","isEnabled"),p.on("execute",()=>{c.execute(n),c.editing.view.focus()}),p})}class RM extends dt{static get pluginName(){return"ListUI"}init(){const n=this.editor.t;NM(this.editor,"numberedList",n("Numbered List"),bn.numberedList),NM(this.editor,"bulletedList",n("Bulleted List"),bn.bulletedList)}}const VI={},BM={},Go={},Er=[{listStyle:"disc",typeAttribute:"disc",listType:"bulleted"},{listStyle:"circle",typeAttribute:"circle",listType:"bulleted"},{listStyle:"square",typeAttribute:"square",listType:"bulleted"},{listStyle:"decimal",typeAttribute:"1",listType:"numbered"},{listStyle:"decimal-leading-zero",typeAttribute:null,listType:"numbered"},{listStyle:"lower-roman",typeAttribute:"i",listType:"numbered"},{listStyle:"upper-roman",typeAttribute:"I",listType:"numbered"},{listStyle:"lower-alpha",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-alpha",typeAttribute:"A",listType:"numbered"},{listStyle:"lower-latin",typeAttribute:"a",listType:"numbered"},{listStyle:"upper-latin",typeAttribute:"A",listType:"numbered"}];for(const{listStyle:c,typeAttribute:n,listType:r}of Er)VI[c]=r,BM[c]=n,n&&(Go[n]=c);var wd=L(9968);yt()(wd.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var jM=L(7141);yt()(jM.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),Br("Ctrl+Enter");var YI=L(8991);function P_(c,n){const r=(a,d,u)=>{if(!u.consumable.consume(d.item,a.name))return;const p=d.attributeNewValue,f=u.writer,g=u.mapper.toViewElement(d.item),b=[...g.getChildren()].find(S=>S.getCustomProperty("media-content"));f.remove(b);const k=c.getMediaViewElement(f,p,n);f.insert(f.createPositionAt(g,0),k)};return a=>{a.on("attribute:url:media",r)}}function UI(c,n,r,a){return c.createContainerElement("figure",{class:"media"},[n.getMediaViewElement(c,r,a),c.createSlot()])}function WI(c){const n=c.getSelectedElement();return n&&n.is("element","media")?n:null}function $I(c,n,r,a){c.change(d=>{const u=d.createElement("media",{url:n});c.insertObject(u,r,null,{setSelection:"on",findOptimalPosition:a?"auto":void 0})})}yt()(YI.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0}),Br("Ctrl+Enter");class hf extends Tn{refresh(){const n=this.editor.model,r=n.document.selection,a=WI(r);this.value=a?a.getAttribute("url"):void 0,this.isEnabled=function(d){const u=d.getSelectedElement();return!!u&&"media"===u.name}(r)||function(d,u){let f=FA(d,u).start.parent;return f.isEmpty&&!u.schema.isLimit(f)&&(f=f.parent),u.schema.checkChild(f,"media")}(r,n)}execute(n){const r=this.editor.model,a=r.document.selection,d=WI(a);d?r.change(u=>{u.setAttribute("url",n,d)}):$I(r,n,a,!0)}}class qI{constructor(n,r){const a=r.providers,d=r.extraProviders||[],u=new Set(r.removeProviders),p=a.concat(d).filter(f=>{const g=f.name;return g?!u.has(g):(ie("media-embed-no-provider-name",{provider:f}),!1)});this.locale=n,this.providerDefinitions=p}hasMedia(n){return!!this._getMedia(n)}getMediaViewElement(n,r,a){return this._getMedia(r).getViewElement(n,a)}_getMedia(n){if(!n)return new N_(this.locale);n=n.trim();for(const r of this.providerDefinitions){const a=r.html,d=Zn(r.url);for(const u of d){const p=this._getUrlMatches(n,u);if(p)return new N_(this.locale,n,p,a)}}return null}_getUrlMatches(n,r){let a=n.match(r);if(a)return a;let d=n.replace(/^https?:\/\//,"");return a=d.match(r),a||(d=d.replace(/^www\./,""),a=d.match(r),a||null)}}class N_{constructor(n,r,a,d){this.url=this._getValidUrl(r),this._locale=n,this._match=a,this._previewRenderer=d}getViewElement(n,r){const a={};let d;if(r.renderForEditingView||r.renderMediaPreview&&this.url&&this._previewRenderer){this.url&&(a["data-oembed-url"]=this.url),r.renderForEditingView&&(a.class="ck-media__wrapper");const u=this._getPreviewHtml(r);d=n.createRawElement("div",a,(p,f)=>{f.setContentOf(p,u)})}else this.url&&(a.url=this.url),d=n.createEmptyElement(r.elementName,a);return n.setCustomProperty("media-content",!0,d),d}_getPreviewHtml(n){return this._previewRenderer?this._previewRenderer(this._match):this.url&&n.renderForEditingView?this._getPlaceholderHtml():""}_getPlaceholderHtml(){const n=new rd,r=this._locale.t;return n.content='<svg viewBox="0 0 64 42" xmlns="http://www.w3.org/2000/svg"><path d="M47.426 17V3.713L63.102 0v19.389h-.001l.001.272c0 1.595-2.032 3.43-4.538 4.098-2.506.668-4.538-.083-4.538-1.678 0-1.594 2.032-3.43 4.538-4.098.914-.244 2.032-.565 2.888-.603V4.516L49.076 7.447v9.556A1.014 1.014 0 0 0 49 17h-1.574zM29.5 17h-8.343a7.073 7.073 0 1 0-4.657 4.06v3.781H3.3a2.803 2.803 0 0 1-2.8-2.804V8.63a2.803 2.803 0 0 1 2.8-2.805h4.082L8.58 2.768A1.994 1.994 0 0 1 10.435 1.5h8.985c.773 0 1.477.448 1.805 1.149l1.488 3.177H26.7c1.546 0 2.8 1.256 2.8 2.805V17zm-11.637 0H17.5a1 1 0 0 0-1 1v.05A4.244 4.244 0 1 1 17.863 17zm29.684 2c.97 0 .953-.048.953.889v20.743c0 .953.016.905-.953.905H19.453c-.97 0-.953.048-.953-.905V19.89c0-.937-.016-.889.97-.889h28.077zm-4.701 19.338V22.183H24.154v16.155h18.692zM20.6 21.375v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616v-1.616H20.6zm0 3.231v1.616h1.616V37.53H20.6zm24.233-16.155v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615v-1.616h-1.615zm0 3.231v1.616h1.615V37.53h-1.615zM29.485 25.283a.4.4 0 0 1 .593-.35l9.05 4.977a.4.4 0 0 1 0 .701l-9.05 4.978a.4.4 0 0 1-.593-.35v-9.956z"/></svg>',n.viewBox="0 0 64 42",new La({tag:"div",attributes:{class:"ck ck-reset_all ck-media__placeholder"},children:[{tag:"div",attributes:{class:"ck-media__placeholder__icon"},children:[n]},{tag:"a",attributes:{class:"ck-media__placeholder__url",target:"_blank",rel:"noopener noreferrer",href:this.url,"data-cke-tooltip-text":r("Open media in new tab")},children:[{tag:"span",attributes:{class:"ck-media__placeholder__url__text"},children:[this.url]}]}]}).render().outerHTML}_getValidUrl(n){return n?n.match(/^https?/)?n:"https://"+n:null}}var VM=L(7048);yt()(VM.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class R_ extends dt{constructor(n){super(n),n.config.define("mediaEmbed",{elementName:"oembed",providers:[{name:"dailymotion",url:[/^dailymotion\.com\/video\/(\w+)/,/^dai.ly\/(\w+)/],html:r=>`<div style="position: relative; padding-bottom: 100%; height: 0; "><iframe src="https://www.dailymotion.com/embed/video/${r[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" width="480" height="270" allowfullscreen allow="autoplay"></iframe></div>`},{name:"spotify",url:[/^open\.spotify\.com\/(artist\/\w+)/,/^open\.spotify\.com\/(album\/\w+)/,/^open\.spotify\.com\/(track\/\w+)/],html:r=>`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 126%;"><iframe src="https://open.spotify.com/embed/${r[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" allowtransparency="true" allow="encrypted-media"></iframe></div>`},{name:"youtube",url:[/^(?:m\.)?youtube\.com\/watch\?v=([\w-]+)(?:&t=(\d+))?/,/^(?:m\.)?youtube\.com\/v\/([\w-]+)(?:\?t=(\d+))?/,/^youtube\.com\/embed\/([\w-]+)(?:\?start=(\d+))?/,/^youtu\.be\/([\w-]+)(?:\?t=(\d+))?/],html:r=>{const d=r[2];return`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;"><iframe src="https://www.youtube.com/embed/${r[1]}${d?`?start=${d}`:""}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>`}},{name:"vimeo",url:[/^vimeo\.com\/(\d+)/,/^vimeo\.com\/[^/]+\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/album\/[^/]+\/video\/(\d+)/,/^vimeo\.com\/channels\/[^/]+\/(\d+)/,/^vimeo\.com\/groups\/[^/]+\/videos\/(\d+)/,/^vimeo\.com\/ondemand\/[^/]+\/(\d+)/,/^player\.vimeo\.com\/video\/(\d+)/],html:r=>`<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;"><iframe src="https://player.vimeo.com/video/${r[1]}" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div>`},{name:"instagram",url:/^instagram\.com\/p\/(\w+)/},{name:"twitter",url:/^twitter\.com/},{name:"googleMaps",url:[/^google\.com\/maps/,/^goo\.gl\/maps/,/^maps\.google\.com/,/^maps\.app\.goo\.gl/]},{name:"flickr",url:/^flickr\.com/},{name:"facebook",url:/^facebook\.com/}]}),this.registry=new qI(n.locale,n.config.get("mediaEmbed"))}static get pluginName(){return"MediaEmbedEditing"}init(){const n=this.editor,r=n.model.schema,a=n.t,d=n.conversion,u=n.config.get("mediaEmbed.previewsInData"),p=n.config.get("mediaEmbed.elementName"),f=this.registry;n.commands.add("mediaEmbed",new hf(n)),r.register("media",{inheritAllFrom:"$blockObject",allowAttributes:["url"]}),d.for("dataDowncast").elementToStructure({model:"media",view:(g,{writer:b})=>{const k=g.getAttribute("url");return UI(b,f,k,{elementName:p,renderMediaPreview:!!k&&u})}}),d.for("dataDowncast").add(P_(f,{elementName:p,renderMediaPreview:u})),d.for("editingDowncast").elementToStructure({model:"media",view:(g,{writer:b})=>{const k=g.getAttribute("url");return S=UI(b,f,k,{elementName:p,renderForEditingView:!0}),B=b,U=a("media widget"),B.setCustomProperty("media",!0,S),NA(S,B,{label:U});var S,B,U}}),d.for("editingDowncast").add(P_(f,{elementName:p,renderForEditingView:!0})),d.for("upcast").elementToElement({view:g=>["oembed",p].includes(g.name)&&g.getAttribute("url")?{name:!0}:null,model:(g,{writer:b})=>{const k=g.getAttribute("url");return f.hasMedia(k)?b.createElement("media",{url:k}):null}}).elementToElement({view:{name:"div",attributes:{"data-oembed-url":!0}},model:(g,{writer:b})=>{const k=g.getAttribute("data-oembed-url");return f.hasMedia(k)?b.createElement("media",{url:k}):null}}).add(g=>{g.on("element:figure",(b,k,S)=>{if(!S.consumable.consume(k.viewItem,{name:!0,classes:"media"}))return;const{modelRange:B,modelCursor:U}=S.convertChildren(k.viewItem,k.modelCursor);k.modelRange=B,k.modelCursor=U,bo(B.getItems())||S.consumable.revert(k.viewItem,{name:!0,classes:"media"})})})}}const GI=/^(?:http(s)?:\/\/)?[\w-]+\.[\w-.~:/?#[\]@!$&'()*+,;=%]+$/;class KI extends dt{constructor(n){super(n),this._timeoutId=null,this._positionToInsert=null}static get requires(){return[vt,Na,Cy]}static get pluginName(){return"AutoMediaEmbed"}init(){const n=this.editor,r=n.model.document,a=n.plugins.get("ClipboardPipeline");this.listenTo(a,"inputTransformation",()=>{const d=r.selection.getFirstRange(),u=ro.fromPosition(d.start);u.stickiness="toPrevious";const p=ro.fromPosition(d.end);p.stickiness="toNext",r.once("change:data",()=>{this._embedMediaBetweenPositions(u,p),u.detach(),p.detach()},{priority:"high"})}),n.commands.get("undo").on("execute",()=>{this._timeoutId&&(Vt.window.clearTimeout(this._timeoutId),this._positionToInsert.detach(),this._timeoutId=null,this._positionToInsert=null)},{priority:"high"})}_embedMediaBetweenPositions(n,r){const a=this.editor,d=a.plugins.get(R_).registry,u=new Ss(n,r),p=u.getWalker({ignoreElementEnd:!0});let f="";for(const g of p)g.item.is("$textProxy")&&(f+=g.item.data);f=f.trim(),f.match(GI)&&d.hasMedia(f)&&a.commands.get("mediaEmbed").isEnabled?(this._positionToInsert=ro.fromPosition(n),this._timeoutId=Vt.window.setTimeout(()=>{a.model.change(g=>{this._timeoutId=null,g.remove(u),u.detach();let b=null;"$graveyard"!==this._positionToInsert.root.rootName&&(b=this._positionToInsert),$I(a.model,f,b,!1),this._positionToInsert.detach(),this._positionToInsert=null}),a.plugins.get(Na).requestUndoOnBackspace()},100)):u.detach()}}var F_=L(5651);yt()(F_.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class ZI extends on{constructor(n,r){super(r);const a=r.t;this.focusTracker=new vo,this.keystrokes=new br,this.set("mediaURLInputValue",""),this.urlInputView=this._createUrlInput(),this.saveButtonView=this._createButton(a("Save"),bn.check,"ck-button-save"),this.saveButtonView.type="submit",this.saveButtonView.bind("isEnabled").to(this,"mediaURLInputValue",d=>!!d),this.cancelButtonView=this._createButton(a("Cancel"),bn.cancel,"ck-button-cancel","cancel"),this._focusables=new Qs,this._focusCycler=new $r({focusables:this._focusables,focusTracker:this.focusTracker,keystrokeHandler:this.keystrokes,actions:{focusPrevious:"shift + tab",focusNext:"tab"}}),this._validators=n,this.setTemplate({tag:"form",attributes:{class:["ck","ck-media-form","ck-responsive-form"],tabindex:"-1"},children:[this.urlInputView,this.saveButtonView,this.cancelButtonView]})}render(){super.render(),v({view:this}),[this.urlInputView,this.saveButtonView,this.cancelButtonView].forEach(r=>{this._focusables.add(r),this.focusTracker.add(r.element)}),this.keystrokes.listenTo(this.element);const n=r=>r.stopPropagation();this.keystrokes.set("arrowright",n),this.keystrokes.set("arrowleft",n),this.keystrokes.set("arrowup",n),this.keystrokes.set("arrowdown",n)}destroy(){super.destroy(),this.focusTracker.destroy(),this.keystrokes.destroy()}focus(){this._focusCycler.focusFirst()}get url(){return this.urlInputView.fieldView.element.value.trim()}set url(n){this.urlInputView.fieldView.element.value=n.trim()}isValid(){this.resetFormStatus();for(const n of this._validators){const r=n(this);if(r)return this.urlInputView.errorText=r,!1}return!0}resetFormStatus(){this.urlInputView.errorText=null,this.urlInputView.infoText=this._urlInputViewInfoDefault}_createUrlInput(){const n=this.locale.t,r=new Cg(this.locale,jv),a=r.fieldView;return this._urlInputViewInfoDefault=n("Paste the media URL in the input."),this._urlInputViewInfoTip=n("Tip: Paste the URL into the content to embed faster."),r.label=n("Media URL"),r.infoText=this._urlInputViewInfoDefault,a.on("input",()=>{r.infoText=a.element.value?this._urlInputViewInfoTip:this._urlInputViewInfoDefault,this.mediaURLInputValue=a.element.value.trim()}),r}_createButton(n,r,a,d){const u=new Qn(this.locale);return u.set({label:n,icon:r,tooltip:!0}),u.extendTemplate({attributes:{class:a}}),d&&u.delegate("execute").to(this,d),u}}class B_ extends dt{static get requires(){return[R_]}static get pluginName(){return"MediaEmbedUI"}init(){const n=this.editor,r=n.commands.get("mediaEmbed");n.ui.componentFactory.add("mediaEmbed",a=>{const d=Oa(a);return this._setUpDropdown(d,r),d})}_setUpDropdown(n,r){const a=this.editor,d=a.t,u=n.buttonView,p=a.plugins.get(R_).registry;n.once("change:isOpen",()=>{const f=new(I(ZI))((g=a.t,b=p,[k=>{if(!k.url.length)return g("The URL must not be empty.")},k=>{if(!b.hasMedia(k.url))return g("This media URL is not supported.")}]),a.locale);var g,b;n.panelView.children.add(f),u.on("open",()=>{f.disableCssTransitions(),f.url=r.value||"",f.urlInputView.fieldView.select(),f.enableCssTransitions()},{priority:"low"}),n.on("submit",()=>{f.isValid()&&(a.execute("mediaEmbed",f.url),a.editing.view.focus())}),n.on("change:isOpen",()=>f.resetFormStatus()),n.on("cancel",()=>{a.editing.view.focus()}),f.delegate("submit","cancel").to(n),f.urlInputView.fieldView.bind("value").to(r,"value"),f.urlInputView.bind("isEnabled").to(r,"isEnabled")}),n.bind("isEnabled").to(r),u.set({label:d("Insert media"),icon:'<svg viewBox="0 0 22 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.587 1.5c-.612 0-.601-.029-.601.551v14.84c0 .59-.01.559.591.559h18.846c.602 0 .591.03.591-.56V2.052c0-.58.01-.55-.591-.55H1.587Zm.701.971h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-14.24 1h13.008v12H4.467l.029-12Zm-2.208 1h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003v1H2.288v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h1.003l-.029 1h-.974v-1Zm16.448 0h1.003v1h-1.003v-1Zm-16.448 2h.974v1h-.974v-1Zm16.448 0h1.003v1h-1.003v-1Z"/><path d="M8.374 6.648a.399.399 0 0 1 .395-.4.402.402 0 0 1 .2.049l5.148 2.824a.4.4 0 0 1 0 .7l-5.148 2.824a.403.403 0 0 1-.595-.35V6.648Z"/></svg>',tooltip:!0})}}var j_=L(70);function QI(c){if(c.startsWith("arabic-leading-zero"))return"decimal-leading-zero";switch(c){case"alpha-upper":return"upper-alpha";case"alpha-lower":return"lower-alpha";case"roman-upper":return"upper-roman";case"roman-lower":return"lower-roman";case"circle":case"disc":case"square":return c;default:return null}}function S1(c,n,r){const a=n.parent,d=r.createElement(c.type),u=a.getChildIndex(n)+1;return r.insertChild(u,d,a),c.style&&r.setStyle("list-style-type",c.style,d),c.startIndex&&c.startIndex>1&&r.setAttribute("start",c.startIndex,d),d}function qu(c){const n={},r=c.getStyle("mso-list");if(r){const a=r.match(/(^|\s{1,100})l(\d+)/i),d=r.match(/\s{0,100}lfo(\d+)/i),u=r.match(/\s{0,100}level(\d+)/i);a&&d&&u&&(n.id=a[2],n.order=d[1],n.indent=parseInt(u[1]))}return n}function WM(c){return btoa(c.match(/\w{2}/g).map(n=>String.fromCharCode(parseInt(n,16))).join(""))}yt()(j_.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});const I1=/<meta\s*name="?generator"?\s*content="?microsoft\s*word\s*\d+"?\/?>/i,PO=/xmlns:o="urn:schemas-microsoft-com/i;class XI{constructor(n){this.document=n}isActive(n){return I1.test(n)||PO.test(n)}execute(n){const{body:r,stylesString:a}=n._parsedData;(function UM(c,n){if(!c.childCount)return;const r=new bl(c.document),a=function(p,f){const g=f.createRangeIn(p),b=new ss({name:/^p|h\d+$/,styles:{"mso-list":/.*/}}),k=[];for(const S of g)if("elementStart"===S.type&&b.match(S.item)){const B=qu(S.item);k.push({element:S.item,id:B.id,order:B.order,indent:B.indent})}return k}(c,r);if(!a.length)return;let d=null,u=1;a.forEach((p,f)=>{const g=function(Z,te){if(!Z)return!0;if(Z.id!==te.id)return te.indent-Z.indent!=1;const fe=te.element.previousSibling;return!fe||!((ge=fe).is("element","ol")||ge.is("element","ul"));var ge}(a[f-1],p),k=(B=p,(S=g?null:a[f-1])?B.indent-S.indent:B.indent-1);var S,B;if(g&&(d=null,u=1),!d||0!==k){const Z=function(te,fe){const Ee=/mso-level-number-format:([^;]{0,100});/gi,He=/mso-level-start-at:\s{0,100}([0-9]{0,10})\s{0,100};/gi,ct=new RegExp(`@list l${te.id}:level${te.indent}\\s*({[^}]*)`,"gi").exec(fe);let It="decimal",Zt="ol",In=null;if(ct&&ct[1]){const Di=Ee.exec(ct[1]);if(Di&&Di[1]&&(It=Di[1].trim(),Zt="bullet"!==It&&"image"!==It?"ol":"ul"),"bullet"===It){const so=function(_f){const bf=function(q1){if(q1.getChild(0).is("$text"))return null;for(const vf of q1.getChildren()){if(!vf.is("element","span"))continue;const G1=vf.getChild(0);if(G1)return G1.is("$text")?G1:G1.getChild(0)}return null}(_f);if(!bf)return null;const Gu=bf._data;return"o"===Gu?"circle":"\xb7"===Gu?"disc":"\xa7"===Gu?"square":null}(te.element);so&&(It=so)}else{const so=He.exec(ct[1]);so&&so[1]&&(In=parseInt(so[1]))}}return{type:Zt,startIndex:In,style:QI(It)}}(p,n);if(d)if(p.indent>u){const te=d.getChild(d.childCount-1),fe=te.getChild(te.childCount-1);d=S1(Z,fe,r),u+=1}else p.indent<u&&(d=function(fe,ge){const Ee=fe.getAncestors({parentFirst:!0});let He=null,ct=0;for(const It of Ee)if((It.is("element","ul")||It.is("element","ol"))&&ct++,ct===ge){He=It;break}return He}(d,u-p.indent),u=p.indent);else d=S1(Z,p.element,r);p.indent<=u&&(d.is("element",Z.type)||(d=r.rename(Z.type,d)))}const U=(function(fe,ge){const Ee=new ss({name:"span",styles:{"mso-list":"Ignore"}}),He=ge.createRangeIn(fe);for(const ct of He)"elementStart"===ct.type&&Ee.match(ct.item)&&ge.remove(ct.item)}(Z=p.element,te=r),te.removeStyle("text-indent",Z),te.rename("li",Z));var Z,te;r.appendChild(U,d)})})(r,a),function JI(c,n){if(!c.childCount)return;const r=new bl(c.document),a=function(u,p){const f=p.createRangeIn(u),g=new ss({name:/v:(.+)/}),b=[];for(const k of f){if("elementStart"!=k.type)continue;const S=k.item,B=S.previousSibling,U=B&&B.is("element")?B.name:null,Z=["Chart"],te=g.match(S),fe=S.getAttribute("o:gfxdata"),ge="v:shapetype"===U,Ee=fe&&Z.some(He=>S.getAttribute("id").includes(He));te&&fe&&!ge&&!Ee&&b.push(k.item.getAttribute("id"))}return b}(c,r);(function(u,p,f){const g=f.createRangeIn(p),b=new ss({name:"img"}),k=[];for(const S of g)if(S.item.is("element")&&b.match(S.item)){const B=S.item,U=B.getAttribute("v:shapes")?B.getAttribute("v:shapes").split(" "):[];U.length&&U.every(Z=>u.indexOf(Z)>-1)?k.push(B):B.getAttribute("src")||k.push(B)}for(const S of k)f.remove(S)})(a,c,r),function(u,p,f){const g=f.createRangeIn(p),b=[];for(const B of g)if("elementStart"==B.type&&B.item.is("element","v:shape")){const U=B.item.getAttribute("id");if(u.includes(U))continue;k(B.item.parent.getChildren(),U)||b.push(B.item)}for(const B of b){const U={src:S(B)};B.hasAttribute("alt")&&(U.alt=B.getAttribute("alt"));const Z=f.createElement("img",U);f.insertChild(B.index+1,Z,B.parent)}function k(B,U){for(const Z of B)if(Z.is("element")&&("img"==Z.name&&Z.getAttribute("v:shapes")==U||k(Z.getChildren(),U)))return!0;return!1}function S(B){for(const U of B.getChildren())if(U.is("element")&&U.getAttribute("src"))return U.getAttribute("src")}}(a,c,r),function(u,p){const f=p.createRangeIn(u),g=new ss({name:/v:(.+)/}),b=[];for(const k of f)"elementStart"==k.type&&g.match(k.item)&&b.push(k.item);for(const k of b)p.remove(k)}(c,r);const d=function(u,p){const f=p.createRangeIn(u),g=new ss({name:"img"}),b=[];for(const k of f)k.item.is("element")&&g.match(k.item)&&k.item.getAttribute("src").startsWith("file://")&&b.push(k.item);return b}(c,r);d.length&&function(u,p,f){if(u.length===p.length)for(let g=0;g<u.length;g++){const b=`data:${p[g].type};base64,${WM(p[g].hex)}`;f.setAttribute("src",b,u[g])}}(d,function(u){if(!u)return[];const p=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,f=new RegExp("(?:("+p.source+"))([\\da-fA-F\\s]+)\\}","g"),g=u.match(f),b=[];if(g)for(const k of g){let S=!1;k.includes("\\pngblip")?S="image/png":k.includes("\\jpegblip")&&(S="image/jpeg"),S&&b.push({hex:k.replace(p,"").replace(/[^\da-fA-F]/g,""),type:S})}return b}(n),r)}(r,n.dataTransfer.getData("text/rtf")),function(d){const u=[],p=new bl(d.document);for(const{item:f}of p.createRangeIn(d))if(f.is("element")){for(const g of f.getClassNames())/\bmso/gi.exec(g)&&p.removeClass(g,f);for(const g of f.getStyleNames())/\bmso/gi.exec(g)&&p.removeStyle(g,f);f.is("element","w:sdt")&&u.push(f)}for(const f of u){const g=f.parent,b=g.getChildIndex(f);p.insertChild(b,f.getChildren(),g),p.remove(f)}}(r),n.content=r}}function e3(c,n,r,{blockElements:a,inlineObjectElements:d}){let u=r.createPositionAt(c,"forward"==n?"after":"before");return u=u.getLastMatchingPosition(({item:p})=>p.is("element")&&!a.includes(p.name)&&!d.includes(p.name),{direction:n}),"forward"==n?u.nodeAfter:u.nodeBefore}function $M(c,n){return!!c&&c.is("element")&&n.includes(c.name)}const t3=/id=("|')docs-internal-guid-[-0-9a-f]+("|')/i;class n3{constructor(n){this.document=n}isActive(n){return t3.test(n)}execute(n){const r=new bl(this.document),{body:a}=n._parsedData;(function(d,u){for(const p of d.getChildren())if(p.is("element","b")&&"normal"===p.getStyle("font-weight")){const f=d.getChildIndex(p);u.remove(p),u.insertChild(f,p.getChildren(),d)}})(a,r),function(d,u){for(const p of u.createRangeIn(d)){const f=p.item;if(f.is("element","li")){const g=f.getChild(0);g&&g.is("element","p")&&u.unwrapElement(g)}}}(a,r),function(d,u){const p=new Rm(u.document.stylesProcessor),f=new Ym(p,{renderingMode:"data"}),g=f.blockElements,b=f.inlineObjectElements,k=[];for(const S of u.createRangeIn(d)){const B=S.item;if(B.is("element","br")){const U=e3(B,"forward",u,{blockElements:g,inlineObjectElements:b}),Z=e3(B,"backward",u,{blockElements:g,inlineObjectElements:b}),te=$M(U,g);($M(Z,g)||te)&&k.push(B)}}for(const S of k)S.hasClass("Apple-interchange-newline")?u.remove(S):u.replace(S,u.createElement("p"))}(a,r),n.content=a}}const qM=/<google-sheets-html-origin/i;class GM{constructor(n){this.document=n}isActive(n){return qM.test(n)}execute(n){const r=new bl(this.document),{body:a}=n._parsedData;(function(d,u){for(const p of d.getChildren())if(p.is("element","google-sheets-html-origin")){const f=d.getChildIndex(p);u.remove(p),u.insertChild(f,p.getChildren(),d)}})(a,r),function(d,u){for(const p of d.getChildren())p.is("element","table")&&p.hasAttribute("xmlns")&&u.removeAttribute("xmlns",p)}(a,r),function(d,u){for(const p of d.getChildren())p.is("element","table")&&"0px"===p.getStyle("width")&&u.removeStyle("width",p)}(a,r),function(d,u){for(const p of Array.from(d.getChildren()))p.is("element","style")&&u.remove(p)}(a,r),n.content=a}}function KM(c){return c.replace(/<span(?: class="Apple-converted-space"|)>(\s+)<\/span>/g,(n,r)=>1===r.length?" ":Array(r.length+1).join("\xa0 ").substr(0,r.length))}function Fi(c,n,r,a,d=1){null!=n&&null!=d&&n>d?a.setAttribute(c,n,r):a.removeAttribute(c,r)}function Cd(c,n,r={}){const a=c.createElement("tableCell",r);return c.insertElement("paragraph",a),c.insert(a,n),a}function L1(c,n){const a=parseInt(n.parent.parent.getAttribute("headingColumns")||"0"),{column:d}=c.getCellLocation(n);return!!a&&d<a}function JM(c){return n=>{n.on(`element:${c}`,(r,a,{writer:d})=>{if(!a.modelRange)return;const u=a.modelRange.start.nodeAfter,p=d.createPositionAt(u,0);if(a.viewItem.isEmpty)return void d.insertElement("paragraph",p);const f=Array.from(u.getChildren());if(f.every(g=>g.is("element","$marker"))){const g=d.createElement("paragraph");d.insert(g,d.createPositionAt(u,0));for(const b of f)d.move(d.createRangeOn(b),d.createPositionAt(g,"end"))}},{priority:"low"})}}function XM(c){let n=0,r=0;const a=Array.from(c.getChildren()).filter(d=>"th"===d.name||"td"===d.name);for(;r<a.length&&"th"===a[r].name;)n+=parseInt(a[r].getAttribute("colspan")||"1"),r++;return n}class ri{constructor(n,r={}){this._jumpedToStartRow=!1,this._table=n,this._startRow=void 0!==r.row?r.row:r.startRow||0,this._endRow=void 0!==r.row?r.row:r.endRow,this._startColumn=void 0!==r.column?r.column:r.startColumn||0,this._endColumn=void 0!==r.column?r.column:r.endColumn,this._includeAllSlots=!!r.includeAllSlots,this._skipRows=new Set,this._row=0,this._rowIndex=0,this._column=0,this._cellIndex=0,this._spannedCells=new Map,this._nextCellAtColumn=-1}[Symbol.iterator](){return this}next(){this._canJumpToStartRow()&&this._jumpToNonSpannedRowClosestToStartRow();const n=this._table.getChild(this._rowIndex);if(!n||this._isOverEndRow())return{done:!0,value:void 0};if(!n.is("element","tableRow"))return this._rowIndex++,this.next();if(this._isOverEndColumn())return this._advanceToNextRow();let r=null;const a=this._getSpanned();if(a)this._includeAllSlots&&!this._shouldSkipSlot()&&(r=this._formatOutValue(a.cell,a.row,a.column));else{const d=n.getChild(this._cellIndex);if(!d)return this._advanceToNextRow();const u=parseInt(d.getAttribute("colspan")||"1"),p=parseInt(d.getAttribute("rowspan")||"1");(u>1||p>1)&&this._recordSpans(d,p,u),this._shouldSkipSlot()||(r=this._formatOutValue(d)),this._nextCellAtColumn=this._column+u}return this._column++,this._column==this._nextCellAtColumn&&this._cellIndex++,r||this.next()}skipRow(n){this._skipRows.add(n)}_advanceToNextRow(){return this._row++,this._rowIndex++,this._column=0,this._cellIndex=0,this._nextCellAtColumn=-1,this.next()}_isOverEndRow(){return void 0!==this._endRow&&this._row>this._endRow}_isOverEndColumn(){return void 0!==this._endColumn&&this._column>this._endColumn}_formatOutValue(n,r=this._row,a=this._column){return{done:!1,value:new eD(this,n,r,a)}}_shouldSkipSlot(){return this._skipRows.has(this._row)||this._row<this._startRow||this._column<this._startColumn||void 0!==this._endColumn&&this._column>this._endColumn}_getSpanned(){const n=this._spannedCells.get(this._row);return n&&n.get(this._column)||null}_recordSpans(n,r,a){const d={cell:n,row:this._row,column:this._column};for(let u=this._row;u<this._row+r;u++)for(let p=this._column;p<this._column+a;p++)u==this._row&&p==this._column||this._markSpannedCell(u,p,d)}_markSpannedCell(n,r,a){this._spannedCells.has(n)||this._spannedCells.set(n,new Map),this._spannedCells.get(n).set(r,a)}_canJumpToStartRow(){return!!this._startRow&&this._startRow>0&&!this._jumpedToStartRow}_jumpToNonSpannedRowClosestToStartRow(){const n=this._getRowLength(0);for(let r=this._startRow;!this._jumpedToStartRow;r--)n===this._getRowLength(r)&&(this._row=r,this._rowIndex=r,this._jumpedToStartRow=!0)}_getRowLength(n){return[...this._table.getChild(n).getChildren()].reduce((r,a)=>r+parseInt(a.getAttribute("colspan")||"1"),0)}}class eD{constructor(n,r,a,d){this.cell=r,this.row=n._row,this.column=n._column,this.cellAnchorRow=a,this.cellAnchorColumn=d,this._cellIndex=n._cellIndex,this._rowIndex=n._rowIndex,this._table=n._table}get isAnchor(){return this.row===this.cellAnchorRow&&this.column===this.cellAnchorColumn}get cellWidth(){return parseInt(this.cell.getAttribute("colspan")||"1")}get cellHeight(){return parseInt(this.cell.getAttribute("rowspan")||"1")}get rowIndex(){return this._rowIndex}getPositionBefore(){return this._table.root.document.model.createPositionAt(this._table.getChild(this.row),this._cellIndex)}}function O1(c,n){return(r,{writer:a})=>{const d=r.getAttribute("headingRows")||0,u=a.createContainerElement("table",null,[]),p=a.createContainerElement("figure",{class:"table"},u);d>0&&a.insert(a.createPositionAt(u,"end"),a.createContainerElement("thead",null,a.createSlot(f=>f.is("element","tableRow")&&f.index<d))),d<c.getRows(r)&&a.insert(a.createPositionAt(u,"end"),a.createContainerElement("tbody",null,a.createSlot(f=>f.is("element","tableRow")&&f.index>=d)));for(const{positionOffset:f,filter:g}of n.additionalSlots)a.insert(a.createPositionAt(u,f),a.createSlot(g));return a.insert(a.createPositionAt(u,"after"),a.createSlot(f=>!f.is("element","tableRow")&&!n.additionalSlots.some(({filter:g})=>g(f)))),n.asWidget?((g=a).setCustomProperty("table",!0,f=p),NA(f,g,{hasSelectionHandle:!0})):p;var f,g}}function tD(c={}){return(n,{writer:r})=>{const a=n.parent,d=a.parent,u=d.getChildIndex(a),p=new ri(d,{row:u}),f=d.getAttribute("headingRows")||0,g=d.getAttribute("headingColumns")||0;let b=null;for(const k of p)if(k.cell==n){const S=k.row<f||k.column<g?"th":"td";b=c.asWidget?bS(r.createEditableElement(S),r):r.createContainerElement(S);break}return b}}function nD(c={}){return(n,{writer:r})=>{if(!n.parent.is("element","tableCell")||!o3(n))return null;if(c.asWidget)return r.createContainerElement("span",{class:"ck-table-bogus-paragraph"});{const a=r.createContainerElement("p");return r.setCustomProperty("dataPipeline:transparentRendering",!0,a),a}}}function o3(c){return 1==c.parent.childCount&&!!c.getAttributeKeys().next().done}class iD extends Tn{refresh(){const n=this.editor.model;this.isEnabled=function(d,u){const p=d.getFirstPosition().parent;return u.checkChild(p===p.root?p:p.parent,"table")}(n.document.selection,n.schema)}execute(n={}){const r=this.editor,a=r.model,d=r.plugins.get("TableUtils"),u=r.config.get("table.defaultHeadings.rows"),p=r.config.get("table.defaultHeadings.columns");void 0===n.headingRows&&u&&(n.headingRows=u),void 0===n.headingColumns&&p&&(n.headingColumns=p),a.change(f=>{const g=d.createTable(f,n);a.insertObject(g,null,null,{findOptimalPosition:"auto"}),f.setSelection(f.createPositionAt(g.getNodeByPath([0,0,0]),0))})}}class r3 extends Tn{constructor(n,r={}){super(n),this.order=r.order||"below"}refresh(){const n=this.editor.model.document.selection,r=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(n).length;this.isEnabled=r}execute(){const n=this.editor,r=n.model.document.selection,a=n.plugins.get("TableUtils"),d="above"===this.order,u=a.getSelectionAffectedTableCells(r),p=a.getRowIndexes(u),f=d?p.first:p.last,g=u[0].findAncestor("table");a.insertRows(g,{at:d?f:f+1,copyStructureFromAbove:!d})}}class s3 extends Tn{constructor(n,r={}){super(n),this.order=r.order||"right"}refresh(){const n=this.editor.model.document.selection,r=!!this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(n).length;this.isEnabled=r}execute(){const n=this.editor,r=n.model.document.selection,a=n.plugins.get("TableUtils"),d="left"===this.order,u=a.getSelectionAffectedTableCells(r),p=a.getColumnIndexes(u),f=d?p.first:p.last,g=u[0].findAncestor("table");a.insertColumns(g,{columns:1,at:d?f:f+1})}}class a3 extends Tn{constructor(n,r={}){super(n),this.direction=r.direction||"horizontally"}refresh(){const n=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=1===n.length}execute(){const n=this.editor.plugins.get("TableUtils"),r=n.getSelectionAffectedTableCells(this.editor.model.document.selection)[0];"horizontally"===this.direction?n.splitCellHorizontally(r,2):n.splitCellVertically(r,2)}}function l3(c,n,r){const{startRow:a,startColumn:d,endRow:u,endColumn:p}=n,f=r.createElement("table"),g=u-a+1;for(let k=0;k<g;k++)r.insertElement("tableRow",f,"end");const b=[...new ri(c,{startRow:a,endRow:u,startColumn:d,endColumn:p,includeAllSlots:!0})];for(const{row:k,column:S,cell:B,isAnchor:U,cellAnchorRow:Z,cellAnchorColumn:te}of b){const ge=f.getChild(k-a);if(U){const Ee=r.cloneElement(B);r.append(Ee,ge),p3(Ee,k,S,u,p,r)}else(Z<a||te<d)&&Cd(r,r.createPositionAt(ge,"end"))}return function(k,S,B,U,Z){const te=parseInt(S.getAttribute("headingRows")||"0");te>0&&Fi("headingRows",te-B,k,Z,0);const fe=parseInt(S.getAttribute("headingColumns")||"0");fe>0&&Fi("headingColumns",fe-U,k,Z,0)}(f,c,a,d,r),f}function c3(c,n,r=0){const a=[],d=new ri(c,{startRow:r,endRow:n-1});for(const u of d){const{row:p,cellHeight:f}=u;p<n&&n<=p+f-1&&a.push(u)}return a}function d3(c,n,r){const a=c.parent,d=a.parent,u=a.index,p=n-u,f={},g=parseInt(c.getAttribute("rowspan"))-p;g>1&&(f.rowspan=g);const b=parseInt(c.getAttribute("colspan")||"1");b>1&&(f.colspan=b);const k=u+p,S=[...new ri(d,{startRow:u,endRow:k,includeAllSlots:!0})];let B,U=null;for(const Z of S){const{row:te,column:fe,cell:ge}=Z;ge===c&&void 0===B&&(B=fe),void 0!==B&&B===fe&&te===k&&(U=Cd(r,Z.getPositionBefore(),f))}return Fi("rowspan",p,c,r),U}function u3(c,n){const r=[],a=new ri(c);for(const d of a){const{column:u,cellWidth:p}=d;u<n&&n<=u+p-1&&r.push(d)}return r}function h3(c,n,r,a){const d=r-n,u={},p=parseInt(c.getAttribute("colspan"))-d;p>1&&(u.colspan=p);const f=parseInt(c.getAttribute("rowspan")||"1");f>1&&(u.rowspan=f);const g=Cd(a,a.createPositionAfter(c),u);return Fi("colspan",d,c,a),g}function p3(c,n,r,a,d,u){const p=parseInt(c.getAttribute("colspan")||"1"),f=parseInt(c.getAttribute("rowspan")||"1");r+p-1>d&&Fi("colspan",d-r+1,c,u,1),n+f-1>a&&Fi("rowspan",a-n+1,c,u,1)}function pf(c,n){const r=n.getColumns(c),a=new Array(r).fill(0);for(const{column:u}of new ri(c))a[u]++;const d=a.reduce((u,p,f)=>p?u:[...u,f],[]);return d.length>0&&(n.removeColumns(c,{at:d[d.length-1]}),!0)}function ff(c,n){const r=[],a=n.getRows(c);for(let d=0;d<a;d++)c.getChild(d).isEmpty&&r.push(d);return r.length>0&&(n.removeRows(c,{at:r[r.length-1]}),!0)}function z_(c,n){pf(c,n)||ff(c,n)}function oD(c,n){const r=Array.from(new ri(c,{startColumn:n.firstColumn,endColumn:n.lastColumn,row:n.lastRow}));return r.every(({cellHeight:d})=>1===d)?n.lastRow:n.lastRow+(r[0].cellHeight-1)}function aa(c,n){const r=Array.from(new ri(c,{startRow:n.firstRow,endRow:n.lastRow,column:n.lastColumn}));return r.every(({cellWidth:d})=>1===d)?n.lastColumn:n.lastColumn+(r[0].cellWidth-1)}class V_ extends Tn{constructor(n,r){super(n),this.direction=r.direction,this.isHorizontal="right"==this.direction||"left"==this.direction}refresh(){const n=this._getMergeableCell();this.value=n,this.isEnabled=!!n}execute(){const n=this.editor.model,r=n.document,a=this.editor.plugins.get("TableUtils").getTableCellsContainingSelection(r.selection)[0],d=this.value,u=this.direction;n.change(p=>{const f="right"==u||"down"==u,g=f?a:d,b=f?d:a,k=b.parent;var te,fe,ge;fe=g,ge=p,f3(te=b)||(f3(fe)&&ge.remove(ge.createRangeIn(fe)),ge.move(ge.createRangeIn(te),ge.createPositionAt(fe,"end"))),ge.remove(te);const S=this.isHorizontal?"colspan":"rowspan",B=parseInt(a.getAttribute(S)||"1"),U=parseInt(d.getAttribute(S)||"1");p.setAttribute(S,B+U,g),p.setSelection(p.createRangeIn(g));const Z=this.editor.plugins.get("TableUtils");z_(k.findAncestor("table"),Z)})}_getMergeableCell(){const n=this.editor.model.document,r=this.editor.plugins.get("TableUtils"),a=r.getTableCellsContainingSelection(n.selection)[0];if(!a)return;const d=this.isHorizontal?function(f,g,b){const B="right"==g?f.nextSibling:f.previousSibling,U=(f.parent.parent.getAttribute("headingColumns")||0)>0;if(!B)return;const Z="right"==g?f:B,te="right"==g?B:f,{column:fe}=b.getCellLocation(Z),{column:ge}=b.getCellLocation(te),Ee=parseInt(Z.getAttribute("colspan")||"1"),He=L1(b,Z),ct=L1(b,te);return U&&He!=ct?void 0:fe+Ee===ge?B:void 0}(a,this.direction,r):function(f,g,b){const k=f.parent,S=k.parent,B=S.getChildIndex(k);if("down"==g&&B===b.getRows(S)-1||"up"==g&&0===B)return null;const U=parseInt(f.getAttribute("rowspan")||"1"),Z=S.getAttribute("headingRows")||0;if(Z&&("down"==g&&B+U===Z||"up"==g&&B===Z))return null;const ge=parseInt(f.getAttribute("rowspan")||"1"),Ee="down"==g?B+ge:B,He=[...new ri(S,{endRow:Ee})],It=He.find(In=>In.cell===f).column,Zt=He.find(({row:In,cellHeight:Di,column:so})=>so===It&&("down"==g?In===Ee:Ee===In+Di));return Zt&&Zt.cell?Zt.cell:null}(a,this.direction,r);if(!d)return;const u=this.isHorizontal?"rowspan":"colspan",p=parseInt(a.getAttribute(u)||"1");return parseInt(d.getAttribute(u)||"1")===p?d:void 0}}function f3(c){const n=c.getChild(0);return 1==c.childCount&&n.is("element","paragraph")&&n.isEmpty}class NO extends Tn{refresh(){const n=this.editor.plugins.get("TableUtils"),r=n.getSelectionAffectedTableCells(this.editor.model.document.selection),a=r[0];if(a){const d=a.findAncestor("table"),u=n.getRows(d)-1,p=n.getRowIndexes(r);this.isEnabled=!(0===p.first&&p.last===u)}else this.isEnabled=!1}execute(){const n=this.editor.model,r=this.editor.plugins.get("TableUtils"),a=r.getSelectionAffectedTableCells(n.document.selection),d=r.getRowIndexes(a),u=a[0],p=u.findAncestor("table"),f=r.getCellLocation(u).column;n.change(g=>{r.removeRows(p,{at:d.first,rows:d.last-d.first+1});const k=function(S,B,U,Z){const te=S.getChild(Math.min(B,Z-1));let fe=te.getChild(0),ge=0;for(const Ee of te.getChildren()){if(ge>U)return fe;fe=Ee,ge+=parseInt(Ee.getAttribute("colspan")||"1")}return fe}(p,d.first,f,r.getRows(p));g.setSelection(g.createPositionAt(k,0))})}}class m3 extends Tn{refresh(){const n=this.editor.plugins.get("TableUtils"),r=n.getSelectionAffectedTableCells(this.editor.model.document.selection),a=r[0];if(a){const d=a.findAncestor("table"),u=n.getColumns(d),{first:p,last:f}=n.getColumnIndexes(r);this.isEnabled=f-p<u-1}else this.isEnabled=!1}execute(){const n=this.editor.plugins.get("TableUtils"),[r,a]=function(g,b){const k=b.getSelectionAffectedTableCells(g),S=k[0],B=k.pop(),U=[S,B];return S.isBefore(B)?U:U.reverse()}(this.editor.model.document.selection,n),d=r.parent.parent,u=[...new ri(d)],p={first:u.find(g=>g.cell===r).column,last:u.find(g=>g.cell===a).column},f=(g=u,b=r,k=a,S=p,parseInt(k.getAttribute("colspan")||"1")>1?k:b.previousSibling||k.nextSibling?k.nextSibling||b.previousSibling:S.first?g.reverse().find(({column:U})=>U<S.first).cell:g.reverse().find(({column:U})=>U>S.last).cell);var g,b,k,S;this.editor.model.change(g=>{n.removeColumns(d,{at:p.first,columns:p.last-p.first+1}),g.setSelection(g.createPositionAt(f,0))})}}class H_ extends Tn{refresh(){const a=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection),d=a.length>0;this.isEnabled=d,this.value=d&&a.every(u=>this._isInHeading(u,u.parent.parent))}execute(n={}){if(n.forceValue===this.value)return;const r=this.editor.plugins.get("TableUtils"),a=this.editor.model,d=r.getSelectionAffectedTableCells(a.document.selection),u=d[0].findAncestor("table"),{first:p,last:f}=r.getRowIndexes(d),g=this.value?p:f+1,b=u.getAttribute("headingRows")||0;a.change(k=>{if(g){const S=c3(u,g,g>b?b:0);for(const{cell:B}of S)d3(B,g,k)}Fi("headingRows",g,u,k,0)})}_isInHeading(n,r){const a=parseInt(r.getAttribute("headingRows")||"0");return!!a&&n.parent.index<a}}class g3 extends Tn{refresh(){const n=this.editor.model,r=this.editor.plugins.get("TableUtils"),a=r.getSelectionAffectedTableCells(n.document.selection),d=a.length>0;this.isEnabled=d,this.value=d&&a.every(u=>L1(r,u))}execute(n={}){if(n.forceValue===this.value)return;const r=this.editor.plugins.get("TableUtils"),a=this.editor.model,d=r.getSelectionAffectedTableCells(a.document.selection),u=d[0].findAncestor("table"),{first:p,last:f}=r.getColumnIndexes(d),g=this.value?p:f+1;a.change(b=>{if(g){const k=u3(u,g);for(const{cell:S,column:B}of k)h3(S,B,g,b)}Fi("headingColumns",g,u,b,0)})}}class sr extends dt{static get pluginName(){return"TableUtils"}init(){this.decorate("insertColumns"),this.decorate("insertRows")}getCellLocation(n){const r=n.parent,a=r.parent,d=a.getChildIndex(r),u=new ri(a,{row:d});for(const{cell:p,row:f,column:g}of u)if(p===n)return{row:f,column:g}}createTable(n,r){const a=n.createElement("table"),d=r.rows||2,u=r.columns||2;return P1(n,a,0,d,u),r.headingRows&&Fi("headingRows",Math.min(r.headingRows,d),a,n,0),r.headingColumns&&Fi("headingColumns",Math.min(r.headingColumns,u),a,n,0),a}insertRows(n,r={}){const a=this.editor.model,d=r.at||0,u=r.rows||1,p=void 0!==r.copyStructureFromAbove,f=r.copyStructureFromAbove?d-1:d,g=this.getRows(n),b=this.getColumns(n);if(d>g)throw new Y("tableutils-insertrows-insert-out-of-range",this,{options:r});a.change(k=>{const S=n.getAttribute("headingRows")||0;if(S>d&&Fi("headingRows",S+u,n,k,0),!p&&(0===d||d===g))return void P1(k,n,d,u,b);const B=p?Math.max(d,f):d,U=new ri(n,{endRow:B}),Z=new Array(b).fill(1);for(const{row:te,column:fe,cellHeight:ge,cellWidth:Ee,cell:He}of U){const ct=te+ge-1,It=te<=f&&f<=ct;te<d&&d<=ct?(k.setAttribute("rowspan",ge+u,He),Z[fe]=-Ee):p&&It&&(Z[fe]=Ee)}for(let te=0;te<u;te++){const fe=k.createElement("tableRow");k.insert(fe,n,d);for(let ge=0;ge<Z.length;ge++){const Ee=Z[ge],He=k.createPositionAt(fe,"end");Ee>0&&Cd(k,He,Ee>1?{colspan:Ee}:void 0),ge+=Math.abs(Ee)-1}}})}insertColumns(n,r={}){const d=r.at||0,u=r.columns||1;this.editor.model.change(p=>{const f=n.getAttribute("headingColumns");d<f&&p.setAttribute("headingColumns",f+u,n);const g=this.getColumns(n);if(0===d||g===d){for(const k of n.getChildren())k.is("element","tableRow")&&Fa(u,p,p.createPositionAt(k,d?"end":0));return}const b=new ri(n,{column:d,includeAllSlots:!0});for(const k of b){const{row:S,cell:B,cellAnchorColumn:U,cellAnchorRow:Z,cellWidth:te,cellHeight:fe}=k;if(U<d){p.setAttribute("colspan",te+u,B);const ge=Z+fe-1;for(let Ee=S;Ee<=ge;Ee++)b.skipRow(Ee)}else Fa(u,p,k.getPositionBefore())}})}removeRows(n,r){const a=this.editor.model,d=r.rows||1,u=this.getRows(n),p=r.at,f=p+d-1;if(f>u-1)throw new Y("tableutils-removerows-row-index-out-of-range",this,{table:n,options:r});a.change(g=>{const b={first:p,last:f},{cellsToMove:k,cellsToTrim:S}=function(B,{first:U,last:Z}){const te=new Map,fe=[];for(const{row:ge,column:Ee,cellHeight:He,cell:ct}of new ri(B,{endRow:Z})){const It=ge+He-1;if(ge>=U&&ge<=Z&&It>Z&&te.set(Ee,{cell:ct,rowspan:He-(Z-ge+1)}),ge<U&&It>=U){let Zt;Zt=It>=Z?Z-U+1:It-U+1,fe.push({cell:ct,rowspan:He-Zt})}}return{cellsToMove:te,cellsToTrim:fe}}(n,b);k.size&&function(B,U,Z,te){const ge=[...new ri(B,{includeAllSlots:!0,row:U})],Ee=B.getChild(U);let He;for(const{column:ct,cell:It,isAnchor:Zt}of ge)if(Z.has(ct)){const{cell:In,rowspan:Di}=Z.get(ct),so=He?te.createPositionAfter(He):te.createPositionAt(Ee,0);te.move(te.createRangeOn(In),so),Fi("rowspan",Di,In,te),He=In}else Zt&&(He=It)}(n,f+1,k,g);for(let B=f;B>=p;B--)g.remove(n.getChild(B));for(const{rowspan:B,cell:U}of S)Fi("rowspan",B,U,g);(function(B,{first:U,last:Z},te){const fe=B.getAttribute("headingRows")||0;U<fe&&Fi("headingRows",Z<fe?fe-(Z-U+1):U,B,te,0)})(n,b,g),pf(n,this)||ff(n,this)})}removeColumns(n,r){const d=r.at,p=r.at+(r.columns||1)-1;this.editor.model.change(f=>{!function(b,k,S){const B=b.getAttribute("headingColumns")||0;if(B&&k.first<B){const U=Math.min(B-1,k.last)-k.first+1;S.setAttribute("headingColumns",B-U,b)}}(n,{first:d,last:p},f);const g=function _3(c){const n=function rD(c){if(c.is("element","tableColumnGroup"))return c;const n=c.getChildren();return Array.from(n).find(r=>r.is("element","tableColumnGroup"))}(c);return n?Array.from(n.getChildren()):[]}(n);for(let b=p;b>=d;b--){for(const{cell:k,column:S,cellWidth:B}of[...new ri(n)])S<=b&&B>1&&S+B>b?Fi("colspan",B-1,k,f):S===b&&f.remove(k);if(g[b]){const k=0===b?g[1]:g[b-1],S=parseFloat(g[b].getAttribute("columnWidth")),B=parseFloat(k.getAttribute("columnWidth"));f.remove(g[b]),f.setAttribute("columnWidth",S+B+"%",k)}}ff(n,this)||pf(n,this)})}splitCellVertically(n,r=2){const a=this.editor.model,d=n.parent.parent,u=parseInt(n.getAttribute("rowspan")||"1"),p=parseInt(n.getAttribute("colspan")||"1");a.change(f=>{if(p>1){const{newCellsSpan:g,updatedSpan:b}=mf(p,r);Fi("colspan",b,n,f);const k={};g>1&&(k.colspan=g),u>1&&(k.rowspan=u),Fa(p>r?r-1:p-1,f,f.createPositionAfter(n),k)}if(p<r){const g=r-p,b=[...new ri(d)],{column:k}=b.find(({cell:Z})=>Z===n),S=b.filter(({cell:Z,cellWidth:te,column:fe})=>Z!==n&&fe===k||fe<k&&fe+te>k);for(const{cell:Z,cellWidth:te}of S)f.setAttribute("colspan",te+g,Z);const B={};u>1&&(B.rowspan=u),Fa(g,f,f.createPositionAfter(n),B);const U=d.getAttribute("headingColumns")||0;U>k&&Fi("headingColumns",U+g,d,f)}})}splitCellHorizontally(n,r=2){const a=this.editor.model,d=n.parent,u=d.parent,p=u.getChildIndex(d),f=parseInt(n.getAttribute("rowspan")||"1"),g=parseInt(n.getAttribute("colspan")||"1");a.change(b=>{if(f>1){const k=[...new ri(u,{startRow:p,endRow:p+f-1,includeAllSlots:!0})],{newCellsSpan:S,updatedSpan:B}=mf(f,r);Fi("rowspan",B,n,b);const{column:U}=k.find(({cell:te})=>te===n),Z={};S>1&&(Z.rowspan=S),g>1&&(Z.colspan=g);for(const te of k){const{column:fe,row:ge}=te;ge>=p+B&&fe===U&&(ge+p+B)%S==0&&Fa(1,b,te.getPositionBefore(),Z)}}if(f<r){const k=r-f,S=[...new ri(u,{startRow:0,endRow:p})];for(const{cell:Z,cellHeight:te,row:fe}of S)Z!==n&&fe+te>p&&b.setAttribute("rowspan",te+k,Z);const B={};g>1&&(B.colspan=g),P1(b,u,p+1,k,1,B);const U=u.getAttribute("headingRows")||0;U>p&&Fi("headingRows",U+k,u,b)}})}getColumns(n){return[...n.getChild(0).getChildren()].filter(r=>r.is("element","tableCell")).reduce((r,a)=>r+parseInt(a.getAttribute("colspan")||"1"),0)}getRows(n){return Array.from(n.getChildren()).reduce((r,a)=>a.is("element","tableRow")?r+1:r,0)}createTableWalker(n,r={}){return new ri(n,r)}getSelectedTableCells(n){const r=[];for(const a of this.sortRanges(n.getRanges())){const d=a.getContainedElement();d&&d.is("element","tableCell")&&r.push(d)}return r}getTableCellsContainingSelection(n){const r=[];for(const a of n.getRanges()){const d=a.start.findAncestor("tableCell");d&&r.push(d)}return r}getSelectionAffectedTableCells(n){const r=this.getSelectedTableCells(n);return r.length?r:this.getTableCellsContainingSelection(n)}getRowIndexes(n){const r=n.map(a=>a.parent.index);return this._getFirstLastIndexesObject(r)}getColumnIndexes(n){const r=n[0].findAncestor("table"),a=[...new ri(r)].filter(d=>n.includes(d.cell)).map(d=>d.column);return this._getFirstLastIndexesObject(a)}isSelectionRectangular(n){if(n.length<2||!this._areCellInTheSameTableSection(n))return!1;const r=new Set,a=new Set;let d=0;for(const p of n){const{row:f,column:g}=this.getCellLocation(p),b=parseInt(p.getAttribute("rowspan"))||1,k=parseInt(p.getAttribute("colspan"))||1;r.add(f),a.add(g),b>1&&r.add(f+b-1),k>1&&a.add(g+k-1),d+=b*k}return function(p,f){const g=Array.from(p.values()),b=Array.from(f.values());return(Math.max(...g)-Math.min(...g)+1)*(Math.max(...b)-Math.min(...b)+1)}(r,a)==d}sortRanges(n){return Array.from(n).sort(b3)}_getFirstLastIndexesObject(n){const r=n.sort((a,d)=>a-d);return{first:r[0],last:r[r.length-1]}}_areCellInTheSameTableSection(n){const r=n[0].findAncestor("table"),a=this.getRowIndexes(n),d=parseInt(r.getAttribute("headingRows"))||0;if(!this._areIndexesInSameSection(a,d))return!1;const u=this.getColumnIndexes(n),p=parseInt(r.getAttribute("headingColumns"))||0;return this._areIndexesInSameSection(u,p)}_areIndexesInSameSection({first:n,last:r},a){return n<a==r<a}}function P1(c,n,r,a,d,u={}){for(let p=0;p<a;p++){const f=c.createElement("tableRow");c.insert(f,n,r),Fa(d,c,c.createPositionAt(f,"end"),u)}}function Fa(c,n,r,a={}){for(let d=0;d<c;d++)Cd(n,r,a)}function mf(c,n){if(c<n)return{newCellsSpan:1,updatedSpan:1};const r=Math.floor(c/n);return{newCellsSpan:r,updatedSpan:c-r*n+r}}function b3(c,n){return c.start.isBefore(n.start)?-1:1}class v3 extends Tn{refresh(){const n=this.editor.plugins.get(sr),r=n.getSelectedTableCells(this.editor.model.document.selection);this.isEnabled=n.isSelectionRectangular(r)}execute(){const n=this.editor.model,r=this.editor.plugins.get(sr);n.change(a=>{const d=r.getSelectedTableCells(n.document.selection),u=d.shift(),{mergeWidth:p,mergeHeight:f}=function(g,b,k){let S=0,B=0;for(const ge of b){const{row:Ee,column:He}=k.getCellLocation(ge);S=aD(ge,He,S,"colspan"),B=aD(ge,Ee,B,"rowspan")}const{row:U,column:Z}=k.getCellLocation(g);return{mergeWidth:S-Z,mergeHeight:B-U}}(u,d,r);Fi("colspan",p,u,a),Fi("rowspan",f,u,a);for(const g of d)y3(g,u,a);z_(u.findAncestor("table"),r),a.setSelection(u,"in")})}}function y3(c,n,r){sD(c)||(sD(n)&&r.remove(r.createRangeIn(n)),r.move(r.createRangeIn(c),r.createPositionAt(n,"end"))),r.remove(c)}function sD(c){const n=c.getChild(0);return 1==c.childCount&&n.is("element","paragraph")&&n.isEmpty}function aD(c,n,r,a){const d=parseInt(c.getAttribute(a)||"1");return Math.max(r,n+d)}class k3 extends Tn{constructor(n){super(n),this.affectsData=!1}refresh(){const n=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=n.length>0}execute(){const n=this.editor.model,r=this.editor.plugins.get("TableUtils"),a=r.getSelectionAffectedTableCells(n.document.selection),d=r.getRowIndexes(a),u=a[0].findAncestor("table"),p=[];for(let f=d.first;f<=d.last;f++)for(const g of u.getChild(f).getChildren())p.push(n.createRangeOn(g));n.change(f=>{f.setSelection(p)})}}class N1 extends Tn{constructor(n){super(n),this.affectsData=!1}refresh(){const n=this.editor.plugins.get("TableUtils").getSelectionAffectedTableCells(this.editor.model.document.selection);this.isEnabled=n.length>0}execute(){const n=this.editor.plugins.get("TableUtils"),r=this.editor.model,a=n.getSelectionAffectedTableCells(r.document.selection),d=a[0],u=a.pop(),p=d.findAncestor("table"),f=n.getCellLocation(d),g=n.getCellLocation(u),b=Math.min(f.column,g.column),k=Math.max(f.column,g.column),S=[];for(const B of new ri(p,{startColumn:b,endColumn:k}))S.push(r.createRangeOn(B.cell));r.change(B=>{B.setSelection(S)})}}function C3(c,n){let r=!1;const a=function(d){const u=parseInt(d.getAttribute("headingRows")||"0"),p=Array.from(d.getChildren()).reduce((g,b)=>b.is("element","tableRow")?g+1:g,0),f=[];for(const{row:g,cell:b,cellHeight:k}of new ri(d)){if(k<2)continue;const S=g<u?u:p;g+k>S&&f.push({cell:b,rowspan:S-g})}return f}(c);if(a.length){r=!0;for(const d of a)Fi("rowspan",d.rowspan,d.cell,n,1)}return r}function A3(c,n){let r=!1;const a=function(f){const g=new Array(f.childCount).fill(0);for(const{rowIndex:b}of new ri(f,{includeAllSlots:!0}))g[b]++;return g}(c),d=[];for(const[f,g]of a.entries())!g&&c.getChild(f).is("element","tableRow")&&d.push(f);if(d.length){r=!0;for(const f of d.reverse())n.remove(c.getChild(f)),a.splice(f,1)}const u=a.filter((f,g)=>c.getChild(g).is("element","tableRow")),p=u[0];if(!u.every(f=>f===p)){const f=u.reduce((g,b)=>b>g?b:g,0);for(const[g,b]of u.entries()){const k=f-b;if(k){for(let S=0;S<k;S++)Cd(n,n.createPositionAt(c.getChild(g),"end"));r=!0}}}return r}function M3(c){if("attribute"!==c.type)return!1;const n=c.attributeKey;return"headingRows"===n||"colspan"===n||"rowspan"===n}function T3(c,n){let r=!1;for(const a of c.getChildren())a.is("element","tableRow")&&(r=lD(a,n)||r);return r}function lD(c,n){let r=!1;for(const a of c.getChildren())r=R1(a,n)||r;return r}function R1(c,n){if(0==c.childCount)return n.insertElement("paragraph",c),!0;const r=Array.from(c.getChildren()).filter(a=>a.is("$text"));for(const a of r)n.wrap(n.createRangeOn(a),"paragraph");return!!r.length}function x3(c){return!!c.position.parent.is("element","tableCell")&&("insert"==c.type&&"$text"==c.name||"remove"==c.type)}function E3(c,n){if(!c.is("element","paragraph"))return!1;const r=n.toViewElement(c);return!!r&&o3(c)!==r.is("element","span")}var cD=L(8137);yt()(cD.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class F1 extends dt{constructor(n){super(n),this._additionalSlots=[]}static get pluginName(){return"TableEditing"}static get requires(){return[sr]}init(){const n=this.editor,r=n.model,a=r.schema,d=n.conversion,u=n.plugins.get(sr);a.register("table",{inheritAllFrom:"$blockObject",allowAttributes:["headingRows","headingColumns"]}),a.register("tableRow",{allowIn:"table",isLimit:!0}),a.register("tableCell",{allowContentOf:"$container",allowIn:"tableRow",allowAttributes:["colspan","rowspan"],isLimit:!0,isSelectable:!0}),d.for("upcast").add(p=>{p.on("element:figure",(f,g,b)=>{if(!b.consumable.test(g.viewItem,{name:!0,classes:"table"}))return;const k=function(B){for(const U of B.getChildren())if(U.is("element","table"))return U}(g.viewItem);if(!k||!b.consumable.test(k,{name:!0}))return;b.consumable.consume(g.viewItem,{name:!0,classes:"table"});const S=bo(b.convertItem(k,g.modelCursor).modelRange.getItems());S?(b.convertChildren(g.viewItem,b.writer.createPositionAt(S,"end")),b.updateConversionResult(S,g)):b.consumable.revert(g.viewItem,{name:!0,classes:"table"})})}),d.for("upcast").add(function QM(){return c=>{c.on("element:table",(n,r,a)=>{const d=r.viewItem;if(!a.consumable.test(d,{name:!0}))return;const{rows:u,headingRows:p,headingColumns:f}=function(k){let S,B=0;const U=[],Z=[];let te;for(const fe of Array.from(k.getChildren())){if("tbody"!==fe.name&&"thead"!==fe.name&&"tfoot"!==fe.name)continue;"thead"!==fe.name||te||(te=fe);const ge=Array.from(fe.getChildren()).filter(Ee=>Ee.is("element","tr"));for(const Ee of ge)if(te&&fe===te||"tbody"===fe.name&&Array.from(Ee.getChildren()).length&&Array.from(Ee.getChildren()).every(He=>He.is("element","th")))B++,U.push(Ee);else{Z.push(Ee);const He=XM(Ee);(!S||He<S)&&(S=He)}}return{headingRows:B,headingColumns:S||0,rows:[...U,...Z]}}(d),g={};f&&(g.headingColumns=f),p&&(g.headingRows=p);const b=a.writer.createElement("table",g);if(a.safeInsert(b,r.modelCursor)){if(a.consumable.consume(d,{name:!0}),u.forEach(k=>a.convertItem(k,a.writer.createPositionAt(b,"end"))),a.convertChildren(d,a.writer.createPositionAt(b,"end")),b.isEmpty){const k=a.writer.createElement("tableRow");a.writer.insert(k,a.writer.createPositionAt(b,"end")),Cd(a.writer,a.writer.createPositionAt(k,"end"))}a.updateConversionResult(b,r)}})}}()),d.for("editingDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:O1(u,{asWidget:!0,additionalSlots:this._additionalSlots})}),d.for("dataDowncast").elementToStructure({model:{name:"table",attributes:["headingRows"]},view:O1(u,{additionalSlots:this._additionalSlots})}),d.for("upcast").elementToElement({model:"tableRow",view:"tr"}),d.for("upcast").add(p=>{p.on("element:tr",(f,g)=>{g.viewItem.isEmpty&&0==g.modelCursor.index&&f.stop()},{priority:"high"})}),d.for("downcast").elementToElement({model:"tableRow",view:(p,{writer:f})=>p.isEmpty?f.createEmptyElement("tr"):f.createContainerElement("tr")}),d.for("upcast").elementToElement({model:"tableCell",view:"td"}),d.for("upcast").elementToElement({model:"tableCell",view:"th"}),d.for("upcast").add(JM("td")),d.for("upcast").add(JM("th")),d.for("editingDowncast").elementToElement({model:"tableCell",view:tD({asWidget:!0})}),d.for("dataDowncast").elementToElement({model:"tableCell",view:tD()}),d.for("editingDowncast").elementToElement({model:"paragraph",view:nD({asWidget:!0}),converterPriority:"high"}),d.for("dataDowncast").elementToElement({model:"paragraph",view:nD(),converterPriority:"high"}),d.for("downcast").attributeToAttribute({model:"colspan",view:"colspan"}),d.for("upcast").attributeToAttribute({model:{key:"colspan",value:uD("colspan")},view:"colspan"}),d.for("downcast").attributeToAttribute({model:"rowspan",view:"rowspan"}),d.for("upcast").attributeToAttribute({model:{key:"rowspan",value:uD("rowspan")},view:"rowspan"}),n.config.define("table.defaultHeadings.rows",0),n.config.define("table.defaultHeadings.columns",0),n.commands.add("insertTable",new iD(n)),n.commands.add("insertTableRowAbove",new r3(n,{order:"above"})),n.commands.add("insertTableRowBelow",new r3(n,{order:"below"})),n.commands.add("insertTableColumnLeft",new s3(n,{order:"left"})),n.commands.add("insertTableColumnRight",new s3(n,{order:"right"})),n.commands.add("removeTableRow",new NO(n)),n.commands.add("removeTableColumn",new m3(n)),n.commands.add("splitTableCellVertically",new a3(n,{direction:"vertically"})),n.commands.add("splitTableCellHorizontally",new a3(n,{direction:"horizontally"})),n.commands.add("mergeTableCells",new v3(n)),n.commands.add("mergeTableCellRight",new V_(n,{direction:"right"})),n.commands.add("mergeTableCellLeft",new V_(n,{direction:"left"})),n.commands.add("mergeTableCellDown",new V_(n,{direction:"down"})),n.commands.add("mergeTableCellUp",new V_(n,{direction:"up"})),n.commands.add("setTableColumnHeader",new g3(n)),n.commands.add("setTableRowHeader",new H_(n)),n.commands.add("selectTableRow",new k3(n)),n.commands.add("selectTableColumn",new N1(n)),function w3(c){c.document.registerPostFixer(n=>function(r,a){const d=a.document.differ.getChanges();let u=!1;const p=new Set;for(const f of d){let g=null;"insert"==f.type&&"table"==f.name&&(g=f.position.nodeAfter),"insert"!=f.type&&"remove"!=f.type||"tableRow"!=f.name&&"tableCell"!=f.name||(g=f.position.findAncestor("table")),M3(f)&&(g=f.range.start.findAncestor("table")),g&&!p.has(g)&&(u=C3(g,r)||u,u=A3(g,r)||u,p.add(g))}return u}(n,c))}(r),function D3(c){c.document.registerPostFixer(n=>function(r,a){const d=a.document.differ.getChanges();let u=!1;for(const p of d)"insert"==p.type&&"table"==p.name&&(u=T3(p.position.nodeAfter,r)||u),"insert"==p.type&&"tableRow"==p.name&&(u=lD(p.position.nodeAfter,r)||u),"insert"==p.type&&"tableCell"==p.name&&(u=R1(p.position.nodeAfter,r)||u),"remove"!=p.type&&"insert"!=p.type||!x3(p)||(u=R1(p.position.parent,r)||u);return u}(n,c))}(r),this.listenTo(r.document,"change:data",()=>{(function(p,f){const g=p.document.differ;for(const b of g.getChanges()){let k,S=!1;if("attribute"==b.type){const te=b.range.start.nodeAfter;if(!te||!te.is("element","table")||"headingRows"!=b.attributeKey&&"headingColumns"!=b.attributeKey)continue;k=te,S="headingRows"==b.attributeKey}else"tableRow"!=b.name&&"tableCell"!=b.name||(k=b.position.findAncestor("table"),S="tableRow"==b.name);if(!k)continue;const B=k.getAttribute("headingRows")||0,U=k.getAttribute("headingColumns")||0,Z=new ri(k);for(const te of Z){const fe=te.row<B||te.column<U?"th":"td",ge=f.mapper.toViewElement(te.cell);ge&&ge.is("element")&&ge.name!=fe&&f.reconvertItem(S?te.cell.parent:te.cell)}}})(r,n.editing),function(p,f){const g=p.document.differ,b=new Set;for(const k of g.getChanges()){const S="attribute"==k.type?k.range.start.parent:k.position.parent;S.is("element","tableCell")&&b.add(S)}for(const k of b.values()){const S=Array.from(k.getChildren()).filter(B=>E3(B,f.mapper));for(const B of S)f.reconvertItem(B)}}(r,n.editing)})}registerAdditionalSlot(n){this._additionalSlots.push(n)}}function uD(c){return n=>{const r=parseInt(n.getAttribute(c));return Number.isNaN(r)||r<=0?null:r}}var hD=L(5032);yt()(hD.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class fD extends on{constructor(n){super(n);const r=this.bindTemplate;this.items=this._createGridCollection(),this.keystrokes=new br,this.focusTracker=new vo,this.set("rows",0),this.set("columns",0),this.bind("label").to(this,"columns",this,"rows",(a,d)=>`${d} \xd7 ${a}`),this.setTemplate({tag:"div",attributes:{class:["ck"]},children:[{tag:"div",attributes:{class:["ck-insert-table-dropdown__grid"]},on:{"mouseover@.ck-insert-table-dropdown-grid-box":r.to("boxover")},children:this.items},{tag:"div",attributes:{class:["ck","ck-insert-table-dropdown__label"],"aria-hidden":!0},children:[{text:r.to("label")}]}],on:{mousedown:r.to(a=>{a.preventDefault()}),click:r.to(()=>{this.fire("execute")})}}),this.on("boxover",(a,d)=>{const{row:u,column:p}=d.target.dataset;this.items.get(10*(parseInt(u,10)-1)+(parseInt(p,10)-1)).focus()}),this.focusTracker.on("change:focusedElement",(a,d,u)=>{if(!u)return;const{row:p,column:f}=u.dataset;this.set({rows:parseInt(p),columns:parseInt(f)})}),this.on("change:columns",()=>this._highlightGridBoxes()),this.on("change:rows",()=>this._highlightGridBoxes())}render(){super.render(),function D({keystrokeHandler:c,focusTracker:n,gridItems:r,numberOfColumns:a,uiLanguageDirection:d}){const u="number"==typeof a?()=>a:a;function p(b){return k=>{const S=r.find(Z=>Z.element===n.focusedElement),B=r.getIndex(S),U=b(B,r);r.get(U).focus(),k.stopPropagation(),k.preventDefault()}}function f(b,k){return b===k-1?0:b+1}function g(b,k){return 0===b?k-1:b-1}c.set("arrowright",p((b,k)=>"rtl"===d?g(b,k.length):f(b,k.length))),c.set("arrowleft",p((b,k)=>"rtl"===d?f(b,k.length):g(b,k.length))),c.set("arrowup",p((b,k)=>{let S=b-u();return S<0&&(S=b+u()*Math.floor(k.length/u()),S>k.length-1&&(S-=u())),S})),c.set("arrowdown",p((b,k)=>{let S=b+u();return S>k.length-1&&(S=b%u()),S}))}({keystrokeHandler:this.keystrokes,focusTracker:this.focusTracker,gridItems:this.items,numberOfColumns:10,uiLanguageDirection:this.locale&&this.locale.uiLanguageDirection});for(const n of this.items)this.focusTracker.add(n.element);this.keystrokes.listenTo(this.element)}focus(){this.items.get(0).focus()}focusLast(){this.items.get(0).focus()}_highlightGridBoxes(){const n=this.rows,r=this.columns;this.items.map((a,d)=>{const u=Math.floor(d/10)<n&&d%10<r;a.set("isOn",u)})}_createGridButton(n,r,a,d){const u=new Qn(n);return u.set({label:d,class:"ck-insert-table-dropdown-grid-box"}),u.extendTemplate({attributes:{"data-row":r,"data-column":a}}),u}_createGridCollection(){const n=[];for(let r=0;r<100;r++){const a=Math.floor(r/10),d=r%10;n.push(this._createGridButton(this.locale,a+1,d+1,`${a+1} \xd7 ${d+1}`))}return this.createCollection(n)}}class RO extends dt{static get pluginName(){return"TableUI"}init(){const n=this.editor,r=this.editor.t,a="ltr"===n.locale.contentLanguageDirection;n.ui.componentFactory.add("insertTable",d=>{const u=n.commands.get("insertTable"),p=Oa(d);let f;return p.bind("isEnabled").to(u),p.buttonView.set({icon:bn.table,label:r("Insert table"),tooltip:!0}),p.on("change:isOpen",()=>{f||(f=new fD(d),p.panelView.children.add(f),f.delegate("execute").to(p),p.on("execute",()=>{n.execute("insertTable",{rows:f.rows,columns:f.columns}),n.editing.view.focus()}))}),p}),n.ui.componentFactory.add("tableColumn",d=>{const u=[{type:"switchbutton",model:{commandName:"setTableColumnHeader",label:r("Header column"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:a?"insertTableColumnLeft":"insertTableColumnRight",label:r("Insert column left")}},{type:"button",model:{commandName:a?"insertTableColumnRight":"insertTableColumnLeft",label:r("Insert column right")}},{type:"button",model:{commandName:"removeTableColumn",label:r("Delete column")}},{type:"button",model:{commandName:"selectTableColumn",label:r("Select column")}}];return this._prepareDropdown(r("Column"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M18 7v1H2V7h16zm0 5v1H2v-1h16z" opacity=".6"/><path d="M14 1v18a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1zm-2 1H8v4h4V2zm0 6H8v4h4V8zm0 6H8v4h4v-4z"/></svg>',u,d)}),n.ui.componentFactory.add("tableRow",d=>{const u=[{type:"switchbutton",model:{commandName:"setTableRowHeader",label:r("Header row"),bindIsOn:!0}},{type:"separator"},{type:"button",model:{commandName:"insertTableRowAbove",label:r("Insert row above")}},{type:"button",model:{commandName:"insertTableRowBelow",label:r("Insert row below")}},{type:"button",model:{commandName:"removeTableRow",label:r("Delete row")}},{type:"button",model:{commandName:"selectTableRow",label:r("Select row")}}];return this._prepareDropdown(r("Row"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M7 2h1v16H7V2zm5 0h1v16h-1V2z" opacity=".6"/><path d="M1 6h18a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm1 2v4h4V8H2zm6 0v4h4V8H8zm6 0v4h4V8h-4z"/></svg>',u,d)}),n.ui.componentFactory.add("mergeTableCells",d=>{const u=[{type:"button",model:{commandName:"mergeTableCellUp",label:r("Merge cell up")}},{type:"button",model:{commandName:a?"mergeTableCellRight":"mergeTableCellLeft",label:r("Merge cell right")}},{type:"button",model:{commandName:"mergeTableCellDown",label:r("Merge cell down")}},{type:"button",model:{commandName:a?"mergeTableCellLeft":"mergeTableCellRight",label:r("Merge cell left")}},{type:"separator"},{type:"button",model:{commandName:"splitTableCellVertically",label:r("Split cell vertically")}},{type:"button",model:{commandName:"splitTableCellHorizontally",label:r("Split cell horizontally")}}];return this._prepareMergeSplitButtonDropdown(r("Merge cells"),'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M7 2h1v16H7V2zm5 0h1v7h-1V2zm6 5v1H2V7h16zM8 12v1H2v-1h6z" opacity=".6"/><path d="M7 7h12a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zm1 2v9h10V9H8z"/></svg>',u,d)})}_prepareDropdown(n,r,a,d){const u=this.editor,p=Oa(d),f=this._fillDropdownWithListOptions(p,a);return p.buttonView.set({label:n,icon:r,tooltip:!0}),p.bind("isEnabled").toMany(f,"isEnabled",(...g)=>g.some(b=>b)),this.listenTo(p,"execute",g=>{u.execute(g.source.commandName),g.source instanceof wg||u.editing.view.focus()}),p}_prepareMergeSplitButtonDropdown(n,r,a,d){const u=this.editor,p=Oa(d,Rv),f="mergeTableCells",g=u.commands.get(f),b=this._fillDropdownWithListOptions(p,a);return p.buttonView.set({label:n,icon:r,tooltip:!0,isEnabled:!0}),p.bind("isEnabled").toMany([g,...b],"isEnabled",(...k)=>k.some(S=>S)),this.listenTo(p.buttonView,"execute",()=>{u.execute(f),u.editing.view.focus()}),this.listenTo(p,"execute",k=>{u.execute(k.source.commandName),u.editing.view.focus()}),p}_fillDropdownWithListOptions(n,r){const a=this.editor,d=[],u=new os;for(const p of r)Kr(p,a,d,u);return EC(n,u),d}}function Kr(c,n,r,a){if("button"===c.type||"switchbutton"===c.type){const d=c.model=new Ce(c.model),{commandName:u,bindIsOn:p}=c.model,f=n.commands.get(u);r.push(f),d.set({commandName:u}),d.bind("isEnabled").to(f),p&&d.bind("isOn").to(f,"value"),d.set({withText:!0})}a.add(c)}var B1=L(8423);yt()(B1.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});class Al extends dt{static get pluginName(){return"TableSelection"}static get requires(){return[sr,sr]}init(){const n=this.editor,a=n.editing.view;this.listenTo(n.model,"deleteContent",(d,u)=>this._handleDeleteContent(d,u),{priority:"high"}),this.listenTo(a.document,"insertText",(d,u)=>this._handleInsertTextEvent(d,u),{priority:"high"}),this._defineSelectionConverter(),this._enablePluginDisabling()}getSelectedTableCells(){const a=this.editor.plugins.get(sr).getSelectedTableCells(this.editor.model.document.selection);return 0==a.length?null:a}getSelectionAsFragment(){const n=this.editor.plugins.get(sr),r=this.getSelectedTableCells();return r?this.editor.model.change(a=>{const d=a.createDocumentFragment(),{first:u,last:p}=n.getColumnIndexes(r),{first:f,last:g}=n.getRowIndexes(r),b=r[0].findAncestor("table");let k=g,S=p;if(n.isSelectionRectangular(r)){const U={firstColumn:u,lastColumn:p,firstRow:f,lastRow:g};k=oD(b,U),S=aa(b,U)}const B=l3(b,{startRow:f,startColumn:u,endRow:k,endColumn:S},a);return a.insert(B,d,0),d}):null}setCellSelection(n,r){const a=this._getCellsToSelect(n,r);this.editor.model.change(d=>{d.setSelection(a.cells.map(u=>d.createRangeOn(u)),{backward:a.backward})})}getFocusCell(){const n=[...this.editor.model.document.selection.getRanges()].pop().getContainedElement();return n&&n.is("element","tableCell")?n:null}getAnchorCell(){const n=bo(this.editor.model.document.selection.getRanges()).getContainedElement();return n&&n.is("element","tableCell")?n:null}_defineSelectionConverter(){const n=this.editor,r=new Set;n.conversion.for("editingDowncast").add(a=>a.on("selection",(d,u,p)=>{const f=p.writer;!function(k){for(const S of r)k.removeClass("ck-editor__editable_selected",S);r.clear()}(f);const g=this.getSelectedTableCells();if(!g)return;for(const k of g){const S=p.mapper.toViewElement(k);f.addClass("ck-editor__editable_selected",S),r.add(S)}const b=p.mapper.toViewElement(g[g.length-1]);f.setSelection(b,0)},{priority:"lowest"}))}_enablePluginDisabling(){const n=this.editor;this.on("change:isEnabled",()=>{if(!this.isEnabled){const r=this.getSelectedTableCells();if(!r)return;n.model.change(a=>{const d=a.createPositionAt(r[0],0),u=n.model.schema.getNearestSelectionRange(d);a.setSelection(u)})}})}_handleDeleteContent(n,r){const a=this.editor.plugins.get(sr),d=r[0],u=r[1],p=this.editor.model,f=!u||"backward"==u.direction,g=a.getSelectedTableCells(d);g.length&&(n.stop(),p.change(b=>{const k=g[f?g.length-1:0];p.change(B=>{for(const U of g)p.deleteContent(B.createSelection(U,"in"))});const S=p.schema.getNearestSelectionRange(b.createPositionAt(k,0));d.is("documentSelection")?b.setSelection(S):d.setTo(S)}))}_handleInsertTextEvent(n,r){const a=this.editor,d=this.getSelectedTableCells();if(!d)return;const u=a.editing.view,p=a.editing.mapper,f=d.map(g=>u.createRangeOn(p.toViewElement(g)));r.selection=u.createSelection(f)}_getCellsToSelect(n,r){const a=this.editor.plugins.get("TableUtils"),d=a.getCellLocation(n),u=a.getCellLocation(r),p=Math.min(d.row,u.row),f=Math.max(d.row,u.row),g=Math.min(d.column,u.column),b=Math.max(d.column,u.column),k=new Array(f-p+1).fill(null).map(()=>[]),S={startRow:p,endRow:f,startColumn:g,endColumn:b};for(const{row:Z,cell:te}of new ri(n.findAncestor("table"),S))k[Z-p].push(te);const B=u.row<d.row,U=u.column<d.column;return B&&k.reverse(),U&&k.forEach(Z=>Z.reverse()),{cells:k.flat(),backward:B||U}}}class j1 extends dt{static get pluginName(){return"TableClipboard"}static get requires(){return[Op,Ls,Al,sr]}init(){const n=this.editor,r=n.editing.view.document;this.listenTo(r,"copy",(a,d)=>this._onCopyCut(a,d)),this.listenTo(r,"cut",(a,d)=>this._onCopyCut(a,d)),this.listenTo(n.model,"insertContent",(a,[d,u])=>this._onInsertContent(a,d,u),{priority:"high"}),this.decorate("_replaceTableSlotCell")}_onCopyCut(n,r){const a=this.editor.editing.view,d=this.editor.plugins.get(Al),u=this.editor.plugins.get(Op);if(!d.getSelectedTableCells()||"cut"==n.name&&!this.editor.model.canEditAt(this.editor.model.document.selection))return;r.preventDefault(),n.stop();const p=u._copySelectedFragmentWithMarkers(n.name,this.editor.model.document.selection,()=>d.getSelectionAsFragment());a.document.fire("clipboardOutput",{dataTransfer:r.dataTransfer,content:this.editor.data.toView(p),method:n.name})}_onInsertContent(n,r,a){if(a&&!a.is("documentSelection"))return;const d=this.editor.model,u=this.editor.plugins.get(sr),p=this.editor.plugins.get(Op),f=this.getTableIfOnlyTableInContent(r,d);if(!f)return;const g=u.getSelectionAffectedTableCells(d.document.selection);g.length?(n.stop(),r.is("documentFragment")?p._pasteMarkersIntoTransformedElement(r.markers,b=>this._replaceSelectedCells(f,g,b)):this.editor.model.change(b=>{this._replaceSelectedCells(f,g,b)})):z_(f,u)}_replaceSelectedCells(n,r,a){const d=this.editor.plugins.get(sr),u={width:d.getColumns(n),height:d.getRows(n)},p=function(S,B,U,Z){const te=S[0].findAncestor("table"),fe=Z.getColumnIndexes(S),ge=Z.getRowIndexes(S),Ee={firstColumn:fe.first,lastColumn:fe.last,firstRow:ge.first,lastRow:ge.last},He=1===S.length;return He&&(Ee.lastRow+=B.height-1,Ee.lastColumn+=B.width-1,function(ct,It,Zt,In){const Di=In.getColumns(ct),so=In.getRows(ct);Zt>Di&&In.insertColumns(ct,{at:Di,columns:Zt-Di}),It>so&&In.insertRows(ct,{at:so,rows:It-so})}(te,Ee.lastRow+1,Ee.lastColumn+1,Z)),He||!Z.isSelectionRectangular(S)?function(ct,It,Zt){const{firstRow:In,lastRow:Di,firstColumn:so,lastColumn:_f}=It,bf={first:In,last:Di},Gu={first:so,last:_f};gf(ct,so,bf,Zt),gf(ct,_f+1,bf,Zt),z1(ct,In,Gu,Zt),z1(ct,Di+1,Gu,Zt,In)}(te,Ee,U):(Ee.lastRow=oD(te,Ee),Ee.lastColumn=aa(te,Ee)),Ee}(r,u,a,d),g=p.lastColumn-p.firstColumn+1;n=l3(n,{startRow:0,startColumn:0,endRow:Math.min(p.lastRow-p.firstRow+1,u.height)-1,endColumn:Math.min(g,u.width)-1},a);const b=r[0].findAncestor("table"),k=this._replaceSelectedCellsWithPasted(n,u,b,p,a);if(this.editor.plugins.get("TableSelection").isEnabled){const S=d.sortRanges(k.map(B=>a.createRangeOn(B)));a.setSelection(S)}else a.setSelection(k[0],0);return b}_replaceSelectedCellsWithPasted(n,r,a,d,u){const{width:p,height:f}=r,g=function(fe,ge,Ee){const He=new Array(Ee).fill(null).map(()=>new Array(ge).fill(null));for(const{column:ct,row:It,cell:Zt}of new ri(fe))He[It][ct]=Zt;return He}(n,p,f),b=[...new ri(a,{startRow:d.firstRow,endRow:d.lastRow,startColumn:d.firstColumn,endColumn:d.lastColumn,includeAllSlots:!0})],k=[];let S;for(const fe of b){const{row:ge,column:Ee}=fe;Ee===d.firstColumn&&(S=fe.getPositionBefore());const It=g[(ge-d.firstRow)%f][(Ee-d.firstColumn)%p],Zt=It?u.cloneElement(It):null,In=this._replaceTableSlotCell(fe,Zt,S,u);In&&(p3(In,ge,Ee,d.lastRow,d.lastColumn,u),k.push(In),S=u.createPositionAfter(In))}const B=parseInt(a.getAttribute("headingRows")||"0"),U=parseInt(a.getAttribute("headingColumns")||"0"),te=d.firstColumn<U&&U<=d.lastColumn;if(d.firstRow<B&&B<=d.lastRow){const fe=z1(a,B,{first:d.firstColumn,last:d.lastColumn},u,d.firstRow);k.push(...fe)}if(te){const fe=gf(a,U,{first:d.firstRow,last:d.lastRow},u);k.push(...fe)}return k}_replaceTableSlotCell(n,r,a,d){const{cell:u,isAnchor:p}=n;return p&&d.remove(u),r?(d.insert(r,a),r):null}getTableIfOnlyTableInContent(n,r){if(!n.is("documentFragment")&&!n.is("element"))return null;if(n.is("element","table"))return n;if(1==n.childCount&&n.getChild(0).is("element","table"))return n.getChild(0);const a=r.createRangeIn(n);for(const d of a.getItems())if(d.is("element","table")){const u=r.createRange(a.start,r.createPositionBefore(d));if(r.hasContent(u,{ignoreWhitespaces:!0}))return null;const p=r.createRange(r.createPositionAfter(d),a.end);return r.hasContent(p,{ignoreWhitespaces:!0})?null:d}return null}}function z1(c,n,r,a,d=0){if(!(n<1))return c3(c,n,d).filter(({column:u,cellWidth:p})=>Ml(u,p,r)).map(({cell:u})=>d3(u,n,a))}function gf(c,n,r,a){if(!(n<1))return u3(c,n).filter(({row:d,cellHeight:u})=>Ml(d,u,r)).map(({cell:d,column:u})=>h3(d,u,n,a))}function Ml(c,n,r){const a=c+n-1,{first:d,last:u}=r;return c>=d&&c<=u||c<d&&a>=d}class mD extends dt{static get pluginName(){return"TableKeyboard"}static get requires(){return[Al,sr]}init(){const n=this.editor,r=n.editing.view.document,a=n.t;this.listenTo(r,"arrowKey",(...d)=>this._onArrowKey(...d),{context:"table"}),this.listenTo(r,"tab",(...d)=>this._handleTabOnSelectedTable(...d),{context:"figure"}),this.listenTo(r,"tab",(...d)=>this._handleTab(...d),{context:["th","td"]}),n.accessibility.addKeystrokeInfoGroup({id:"table",label:a("Keystrokes that can be used in a table cell"),keystrokes:[{label:a("Move the selection to the next cell"),keystroke:"Tab"},{label:a("Move the selection to the previous cell"),keystroke:"Shift+Tab"},{label:a("Insert a new table row (when in the last cell of a table)"),keystroke:"Tab"},{label:a("Navigate through the table"),keystroke:[["arrowup"],["arrowright"],["arrowdown"],["arrowleft"]]}]})}_handleTabOnSelectedTable(n,r){const a=this.editor,d=a.model.document.selection.getSelectedElement();d&&d.is("element","table")&&(r.preventDefault(),r.stopPropagation(),n.stop(),a.model.change(u=>{u.setSelection(u.createRangeIn(d.getChild(0).getChild(0)))}))}_handleTab(n,r){const a=this.editor,d=this.editor.plugins.get(sr),u=this.editor.plugins.get("TableSelection"),f=!r.shiftKey;let g=d.getTableCellsContainingSelection(a.model.document.selection)[0];if(g||(g=u.getFocusCell()),!g)return;r.preventDefault(),r.stopPropagation(),n.stop();const b=g.parent,k=b.parent,S=k.getChildIndex(b),B=b.getChildIndex(g),U=0===B;if(!f&&U&&0===S)return void a.model.change(ge=>{ge.setSelection(ge.createRangeOn(k))});const Z=B===b.childCount-1,te=S===d.getRows(k)-1;if(f&&te&&Z&&(a.execute("insertTableRowBelow"),S===d.getRows(k)-1))return void a.model.change(ge=>{ge.setSelection(ge.createRangeOn(k))});let fe;if(f&&Z)fe=k.getChild(S+1).getChild(0);else if(!f&&U){const ge=k.getChild(S-1);fe=ge.getChild(ge.childCount-1)}else fe=b.getChild(B+(f?1:-1));a.model.change(ge=>{ge.setSelection(ge.createRangeIn(fe))})}_onArrowKey(n,r){const d=ll(r.keyCode,this.editor.locale.contentLanguageDirection);this._handleArrowKeys(d,r.shiftKey)&&(r.preventDefault(),r.stopPropagation(),n.stop())}_handleArrowKeys(n,r){const a=this.editor.plugins.get(sr),d=this.editor.plugins.get("TableSelection"),u=this.editor.model,p=u.document.selection,f=["right","down"].includes(n),g=a.getSelectedTableCells(p);if(g.length){let k;return k=r?d.getFocusCell():f?g[g.length-1]:g[0],this._navigateFromCellInDirection(k,n,r),!0}const b=p.focus.findAncestor("tableCell");if(!b)return!1;if(!p.isCollapsed)if(r){if(p.isBackward==f&&!p.containsEntireContent(b))return!1}else{const k=p.getSelectedElement();if(!k||!u.schema.isObject(k))return!1}return!!this._isSelectionAtCellEdge(p,b,f)&&(this._navigateFromCellInDirection(b,n,r),!0)}_isSelectionAtCellEdge(n,r,a){const d=this.editor.model,u=this.editor.model.schema,p=a?n.getLastPosition():n.getFirstPosition();if(!u.getLimitElement(p).is("element","tableCell"))return d.createPositionAt(r,a?"end":0).isTouching(p);const f=d.createSelection(p);return d.modifySelection(f,{direction:a?"forward":"backward"}),p.isEqual(f.focus)}_navigateFromCellInDirection(n,r,a=!1){const d=this.editor.model,u=n.findAncestor("table"),p=[...new ri(u,{includeAllSlots:!0})],{row:f,column:g}=p[p.length-1],b=p.find(({cell:te})=>te==n);let{row:k,column:S}=b;switch(r){case"left":S--;break;case"up":k--;break;case"right":S+=b.cellWidth;break;case"down":k+=b.cellHeight}if(k<0||k>f||S<0&&k<=0||S>g&&k>=f)return void d.change(te=>{te.setSelection(te.createRangeOn(u))});S<0?(S=a?0:g,k--):S>g&&(S=a?g:0,k++);const B=p.find(te=>te.row==k&&te.column==S).cell,U=["right","down"].includes(r),Z=this.editor.plugins.get("TableSelection");if(a&&Z.isEnabled){const te=Z.getAnchorCell()||n;Z.setCellSelection(te,B)}else{const te=d.createPositionAt(B,U?0:"end");d.change(fe=>{fe.setSelection(te)})}}}class V1 extends pl{constructor(){super(...arguments),this.domEventType=["mousemove","mouseleave"]}onDomEvent(n){this.fire(n.type,n)}}class H1 extends dt{static get pluginName(){return"TableMouse"}static get requires(){return[Al,sr]}init(){this.editor.editing.view.addObserver(V1),this._enableShiftClickSelection(),this._enableMouseDragSelection()}_enableShiftClickSelection(){const n=this.editor,r=n.plugins.get(sr);let a=!1;const d=n.plugins.get(Al);this.listenTo(n.editing.view.document,"mousedown",(u,p)=>{const f=n.model.document.selection;if(!this.isEnabled||!d.isEnabled||!p.domEvent.shiftKey)return;const g=d.getAnchorCell()||r.getTableCellsContainingSelection(f)[0];if(!g)return;const b=this._getModelTableCellFromDomEvent(p);b&&gD(g,b)&&(a=!0,d.setCellSelection(g,b),p.preventDefault())}),this.listenTo(n.editing.view.document,"mouseup",()=>{a=!1}),this.listenTo(n.editing.view.document,"selectionChange",u=>{a&&u.stop()},{priority:"highest"})}_enableMouseDragSelection(){const n=this.editor;let r,a,d=!1,u=!1;const p=n.plugins.get(Al);this.listenTo(n.editing.view.document,"mousedown",(f,g)=>{this.isEnabled&&p.isEnabled&&(g.domEvent.shiftKey||g.domEvent.ctrlKey||g.domEvent.altKey||(r=this._getModelTableCellFromDomEvent(g)))}),this.listenTo(n.editing.view.document,"mousemove",(f,g)=>{if(!g.domEvent.buttons||!r)return;const b=this._getModelTableCellFromDomEvent(g);b&&gD(r,b)&&(a=b,d||a==r||(d=!0)),d&&(u=!0,p.setCellSelection(r,a),g.preventDefault())}),this.listenTo(n.editing.view.document,"mouseup",()=>{d=!1,u=!1,r=null,a=null}),this.listenTo(n.editing.view.document,"selectionChange",f=>{u&&f.stop()},{priority:"highest"})}_getModelTableCellFromDomEvent(n){const a=this.editor.editing.view.createPositionAt(n.target,0);return this.editor.editing.mapper.toModelPosition(a).parent.findAncestor("tableCell",{includeSelf:!0})}}function gD(c,n){return c.parent.parent==n.parent.parent}var S3=L(2329);function I3(c){const n=c.getSelectedElement();return n&&vD(n)?n:null}function bD(c){const n=c.getFirstPosition();if(!n)return null;let r=n.parent;for(;r;){if(r.is("element")&&vD(r))return r;r=r.parent}return null}function vD(c){return!!c.getCustomProperty("table")&&wo(c)}yt()(S3.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var yD=L(5506);yt()(yD.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var L3=L(2655);yt()(L3.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var CD=L(4043);yt()(CD.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var O3=L(1623);yt()(O3.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var U1=L(8986);yt()(U1.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var W1=L(5562);yt()(W1.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var oc=L(4143);yt()(oc.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var $1=L(8795);yt()($1.A,{injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0});var P3=Object.defineProperty,xD=Object.getOwnPropertySymbols,FO=Object.prototype.hasOwnProperty,ED=Object.prototype.propertyIsEnumerable,SD=(c,n,r)=>n in c?P3(c,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[n]=r,N3=(c,n)=>{for(var r in n||(n={}))FO.call(n,r)&&SD(c,r,n[r]);if(xD)for(var r of xD(n))ED.call(n,r)&&SD(c,r,n[r]);return c};const BO={autoRefresh:!0};class ID extends(Xt()){constructor(n,r={}){if(super(),!n)throw new Y("token-missing-token-url",this);r.initValue&&this._validateTokenValue(r.initValue),this.set("value",r.initValue),this._refresh="function"==typeof n?n:()=>{return a=n,new Promise((d,u)=>{const p=new XMLHttpRequest;p.open("GET",a),p.addEventListener("load",()=>{const f=p.status,g=p.response;return f<200||f>299?u(new Y("token-cannot-download-new-token",null)):d(g)}),p.addEventListener("error",()=>u(new Error("Network Error"))),p.addEventListener("abort",()=>u(new Error("Abort"))),p.send()});var a},this._options=N3(N3({},BO),r)}init(){return new Promise((n,r)=>{this.value?(this._options.autoRefresh&&this._registerRefreshTokenTimeout(),n(this)):this.refreshToken().then(n).catch(r)})}refreshToken(){return this._refresh().then(n=>(this._validateTokenValue(n),this.set("value",n),this._options.autoRefresh&&this._registerRefreshTokenTimeout(),this))}destroy(){clearTimeout(this._tokenRefreshTimeout)}_validateTokenValue(n){const r="string"==typeof n,a=!/^".*"$/.test(n),d=r&&3===n.split(".").length;if(!a||!d)throw new Y("token-not-in-jwt-format",this)}_registerRefreshTokenTimeout(){const n=this._getTokenRefreshTimeoutTime();clearTimeout(this._tokenRefreshTimeout),this._tokenRefreshTimeout=setTimeout(()=>{this.refreshToken()},n)}_getTokenRefreshTimeoutTime(){try{const[,n]=this.value.split("."),{exp:r}=JSON.parse(atob(n));return r?Math.floor((1e3*r-Date.now())/2):36e5}catch{return 36e5}}static create(n,r={}){return new ID(n,r).init()}}const W_=/^data:(\S*?);base64,/;class Mi extends(ye()){constructor(n,r,a){if(super(),!n)throw new Y("fileuploader-missing-file",null);if(!r)throw new Y("fileuploader-missing-token",null);if(!a)throw new Y("fileuploader-missing-api-address",null);this.file=function(d){if("string"!=typeof d)return!1;const u=d.match(W_);return!(!u||!u.length)}(n)?function(d,u=512){try{const p=d.match(W_)[1],f=atob(d.replace(W_,"")),g=[];for(let b=0;b<f.length;b+=u){const k=f.slice(b,b+u),S=new Array(k.length);for(let B=0;B<k.length;B++)S[B]=k.charCodeAt(B);g.push(new Uint8Array(S))}return new Blob(g,{type:p})}catch{throw new Y("fileuploader-decoding-image-data-error",null)}}(n):n,this._token=r,this._apiAddress=a}onProgress(n){return this.on("progress",(r,a)=>n(a)),this}onError(n){return this.once("error",(r,a)=>n(a)),this}abort(){this.xhr.abort()}send(){return this._prepareRequest(),this._attachXHRListeners(),this._sendRequest()}_prepareRequest(){const n=new XMLHttpRequest;n.open("POST",this._apiAddress),n.setRequestHeader("Authorization",this._token.value),n.responseType="json",this.xhr=n}_attachXHRListeners(){const n=this.xhr,r=a=>()=>this.fire("error",a);n.addEventListener("error",r("Network Error")),n.addEventListener("abort",r("Abort")),n.upload&&n.upload.addEventListener("progress",a=>{a.lengthComputable&&this.fire("progress",{total:a.total,uploaded:a.loaded})}),n.addEventListener("load",()=>{const a=n.status,d=n.response;if(a<200||a>299)return this.fire("error",d.message||d.error)})}_sendRequest(){const n=new FormData,r=this.xhr;return n.append("file",this.file),new Promise((a,d)=>{r.addEventListener("load",()=>{const u=r.status,p=r.response;return u<200||u>299?d(p.message?new Y("fileuploader-uploading-data-failed",this,{message:p.message}):p.error):a(p)}),r.addEventListener("error",()=>d(new Error("Network Error"))),r.addEventListener("abort",()=>d(new Error("Abort"))),r.send(n)})}}class F3{constructor(n,r){if(!n)throw new Y("uploadgateway-missing-token",null);if(!r)throw new Y("uploadgateway-missing-api-address",null);this._token=n,this._apiAddress=r}upload(n){return new Mi(n,this._token,this._apiAddress)}}class B3 extends dl{static get pluginName(){return"CloudServicesCore"}createToken(n,r){return new ID(n,r)}createUploadGateway(n,r){return new F3(n,r)}}var j3=(c,n,r)=>new Promise((a,d)=>{var u=g=>{try{f(r.next(g))}catch(b){d(b)}},p=g=>{try{f(r.throw(g))}catch(b){d(b)}},f=g=>g.done?a(g.value):Promise.resolve(g.value).then(u,p);f((r=r.apply(c,n)).next())});class LD extends Kg{}LD.builtinPlugins=[class extends dt{static get requires(){return[vv,vt,wl,wt,SA,mS,Cy]}static get pluginName(){return"Essentials"}},class extends dt{static get requires(){return[Ns]}static get pluginName(){return"CKFinderUploadAdapter"}init(){const c=this.editor.config.get("ckfinder.uploadUrl");c&&(this.editor.plugins.get(Ns).createUploadAdapter=n=>new XA(n,c,this.editor.t))}},class extends dt{static get requires(){return[Na]}static get pluginName(){return"Autoformat"}afterInit(){const c=this.editor,n=this.editor.t;this._addListAutoformats(),this._addBasicStylesAutoformats(),this._addHeadingAutoformats(),this._addBlockQuoteAutoformats(),this._addCodeBlockAutoformats(),this._addHorizontalLineAutoformats(),c.accessibility.addKeystrokeInfos({keystrokes:[{label:n("Revert autoformatting action"),keystroke:"Backspace"}]})}_addListAutoformats(){const c=this.editor.commands;c.get("bulletedList")&&ta(this.editor,this,/^[*-]\s$/,"bulletedList"),c.get("numberedList")&&ta(this.editor,this,/^1[.|)]\s$/,"numberedList"),c.get("todoList")&&ta(this.editor,this,/^\[\s?\]\s$/,"todoList"),c.get("checkTodoList")&&ta(this.editor,this,/^\[\s?x\s?\]\s$/,()=>{this.editor.execute("todoList"),this.editor.execute("checkTodoList")})}_addBasicStylesAutoformats(){const c=this.editor.commands;if(c.get("bold")){const n=l_(this.editor,"bold");gs(this.editor,this,/(?:^|\s)(\*\*)([^*]+)(\*\*)$/g,n),gs(this.editor,this,/(?:^|\s)(__)([^_]+)(__)$/g,n)}if(c.get("italic")){const n=l_(this.editor,"italic");gs(this.editor,this,/(?:^|\s)(\*)([^*_]+)(\*)$/g,n),gs(this.editor,this,/(?:^|\s)(_)([^_]+)(_)$/g,n)}if(c.get("code")){const n=l_(this.editor,"code");gs(this.editor,this,/(`)([^`]+)(`)$/g,n)}if(c.get("strikethrough")){const n=l_(this.editor,"strikethrough");gs(this.editor,this,/(~~)([^~]+)(~~)$/g,n)}}_addHeadingAutoformats(){const c=this.editor.commands.get("heading");c&&c.modelElements.filter(n=>n.match(/^heading[1-6]$/)).forEach(n=>{const a=new RegExp(`^(#{${n[7]}})\\s$`);ta(this.editor,this,a,()=>{if(!c.isEnabled||c.value===n)return!1;this.editor.execute("heading",{value:n})})})}_addBlockQuoteAutoformats(){this.editor.commands.get("blockQuote")&&ta(this.editor,this,/^>\s$/,"blockQuote")}_addCodeBlockAutoformats(){const c=this.editor,n=c.model.document.selection;c.commands.get("codeBlock")&&ta(c,this,/^```$/,()=>{if(n.getFirstPosition().parent.is("element","listItem"))return!1;this.editor.execute("codeBlock",{usePreviousLanguageChoice:!0})})}_addHorizontalLineAutoformats(){this.editor.commands.get("horizontalLine")&&ta(this.editor,this,/^---$/,"horizontalLine")}},class extends dt{static get requires(){return[xy,Sy]}static get pluginName(){return"Bold"}},class extends dt{static get requires(){return[LS,OS]}static get pluginName(){return"Italic"}},class extends dt{static get requires(){return[o2,a2]}static get pluginName(){return"BlockQuote"}},class extends dt{static get pluginName(){return"CKBox"}static get requires(){return[nn,Fu]}},class extends dt{static get pluginName(){return"CKFinder"}static get requires(){return["Link","CKFinderUploadAdapter",b2,g2]}},class extends dl{constructor(){super(...arguments),this.token=null,this._tokens=new Map}static get pluginName(){return"CloudServices"}static get requires(){return[B3]}init(){return j3(this,null,function*(){const c=this.context.config.get("cloudServices")||{};for(const[r,a]of Object.entries(c))this[r]=a;if(!this.tokenUrl)return void(this.token=null);const n=this.context.plugins.get("CloudServicesCore");this.token=yield n.createToken(this.tokenUrl).init(),this._tokens.set(this.tokenUrl,this.token)})}registerTokenUrl(c){return j3(this,null,function*(){if(this._tokens.has(c))return this.getTokenFor(c);const n=this.context.plugins.get("CloudServicesCore"),r=yield n.createToken(c).init();return this._tokens.set(c,r),r})}getTokenFor(c){const n=this._tokens.get(c);if(!n)throw new Y("cloudservices-token-not-registered",this);return n}destroy(){super.destroy();for(const c of this._tokens.values())c.destroy()}},class extends dt{static get pluginName(){return"EasyImage"}static get requires(){return[YS,"ImageUpload"]}init(){const c=this.editor;c.plugins.has("ImageBlockEditing")||c.plugins.has("ImageInlineEditing")||ie("easy-image-image-feature-missing",c)}},class extends dt{static get requires(){return[GS,ZS]}static get pluginName(){return"Heading"}},class extends dt{static get requires(){return[z2,H2]}static get pluginName(){return"Image"}},class extends dt{static get requires(){return[Xp,oI]}static get pluginName(){return"ImageCaption"}},class extends dt{static get requires(){return[rM,vI]}static get pluginName(){return"ImageStyle"}},class extends dt{static get requires(){return[Nu,Mr]}static get pluginName(){return"ImageToolbar"}afterInit(){const c=this.editor,n=c.t,r=c.plugins.get(Nu),a=c.plugins.get("ImageUtils");var d;r.register("image",{ariaLabel:n("Image toolbar"),items:(d=c.config.get("image.toolbar")||[],d.map(u=>Je(u)?u.name:u)),getRelatedElement:u=>a.getClosestSelectedImageWidget(u)})}},class extends dt{static get pluginName(){return"ImageUpload"}static get requires(){return[hI,sI,TO]}},class extends dt{static get pluginName(){return"Indent"}static get requires(){return[yI,lM]}},class extends dt{static get requires(){return[tc,kM,wM]}static get pluginName(){return"Link"}},class FM extends dt{static get requires(){return[pi,RM]}static get pluginName(){return"List"}},class extends dt{static get requires(){return[R_,B_,KI,Vp]}static get pluginName(){return"MediaEmbed"}},By,class extends dt{static get pluginName(){return"PasteFromOffice"}static get requires(){return[Ls]}init(){const c=this.editor,n=c.plugins.get("ClipboardPipeline"),r=c.editing.view.document,a=[];a.push(new XI(r)),a.push(new n3(r)),a.push(new GM(r)),n.on("inputTransformation",(d,u)=>{if(u._isTransformedWithPasteFromOffice||c.model.document.selection.getFirstPosition().parent.is("element","codeBlock"))return;const p=u.dataTransfer.getData("text/html"),f=a.find(g=>g.isActive(p));f&&(u._parsedData||(u._parsedData=function ZM(c,n){const r=new DOMParser,a=KM(KM(function(g){const S=g.indexOf("</body>");if(S<0)return g;const B=g.indexOf("</html>",S+7);return g.substring(0,S+7)+(B>=0?g.substring(B):"")}(c=(c=c.replace(/<!--\[if gte vml 1]>/g,"")).replace(/<o:SmartTagType(?:\s+[^\s>=]+(?:="[^"]*")?)*\s*\/?>/gi,"")))).replace(/(<span\s+style=['"]mso-spacerun:yes['"]>[^\S\r\n]*?)[\r\n]+([^\S\r\n]*<\/span>)/g,"$1$2").replace(/<span\s+style=['"]mso-spacerun:yes['"]><\/span>/g,"").replace(/(<span\s+style=['"]letter-spacing:[^'"]+?['"]>)[\r\n]+(<\/span>)/g,"$1 $2").replace(/ <\//g,"\xa0</").replace(/ <o:p><\/o:p>/g,"\xa0<o:p></o:p>").replace(/<o:p>(&nbsp;|\u00A0)<\/o:p>/g,"").replace(/>([^\S\r\n]*[\r\n]\s*)</g,"><"),d=r.parseFromString(a,"text/html");d.querySelectorAll("span[style*=spacerun]").forEach(b=>{const S=b.innerText.length||0;b.innerText=Array(S+1).join("\xa0 ").substr(0,S)});const u=d.body.innerHTML,p=function(g,b){const k=new Rm(b),S=new Ym(k,{renderingMode:"data"}),B=g.createDocumentFragment(),U=g.body.childNodes;for(;U.length>0;)B.appendChild(U[0]);return S.domToView(B,{skipComments:!0})}(d,n),f=function(g){const b=[],k=[],S=Array.from(g.getElementsByTagName("style"));for(const B of S)B.sheet&&B.sheet.cssRules&&B.sheet.cssRules.length&&(b.push(B.sheet),k.push(B.innerHTML));return{styles:b,stylesString:k.join(" ")}}(d);return{body:p,bodyString:u,styles:f.styles,stylesString:f.stylesString}}(p,r.stylesProcessor)),f.execute(u),u._isTransformedWithPasteFromOffice=!0)},{priority:"high"})}},class extends dt{static get requires(){return[b_,Mr]}static get pluginName(){return"PictureEditing"}afterInit(){const c=this.editor;c.plugins.has("ImageBlockEditing")&&c.model.schema.extend("imageBlock",{allowAttributes:["sources"]}),c.plugins.has("ImageInlineEditing")&&c.model.schema.extend("imageInline",{allowAttributes:["sources"]}),this._setupConversion(),this._setupImageUploadEditingIntegration()}_setupConversion(){const c=this.editor,n=c.conversion,r=c.plugins.get("ImageUtils");n.for("upcast").add(function(a){const d=["srcset","media","type","sizes"],u=(p,f,g)=>{const b=f.viewItem;if(!g.consumable.test(b,{name:!0}))return;const k=new Map;for(const U of b.getChildren())if(U.is("element","source")){const Z={};for(const te of d)U.hasAttribute(te)&&g.consumable.test(U,{attributes:te})&&(Z[te]=U.getAttribute(te));Object.keys(Z).length&&k.set(U,Z)}const S=a.findViewImgElement(b);if(!S)return;let B=f.modelCursor.parent;if(!B.is("element","imageBlock")){const U=g.convertItem(S,f.modelCursor);f.modelRange=U.modelRange,f.modelCursor=U.modelCursor,B=bo(U.modelRange.getItems())}g.consumable.consume(b,{name:!0});for(const[U,Z]of k)g.consumable.consume(U,{attributes:Object.keys(Z)});k.size&&g.writer.setAttribute("sources",Array.from(k.values()),B),g.convertChildren(b,B)};return p=>{p.on("element:picture",u)}}(r)),n.for("downcast").add(function(a){const d=(u,p,f)=>{if(!f.consumable.consume(p.item,u.name))return;const g=f.writer,b=f.mapper.toViewElement(p.item),k=a.findViewImgElement(b),S=p.attributeNewValue;if(S&&S.length){const B=g.createContainerElement("picture",null,S.map(te=>g.createEmptyElement("source",te))),U=[];let Z=k.parent;for(;Z&&Z.is("attributeElement");){const te=Z.parent;g.unwrap(g.createRangeOn(k),Z),U.unshift(Z),Z=te}g.insert(g.createPositionBefore(k),B),g.move(g.createRangeOn(k),g.createPositionAt(B,"end"));for(const te of U)g.wrap(g.createRangeOn(B),te)}else if(k.parent.is("element","picture")){const B=k.parent;g.move(g.createRangeOn(k),g.createPositionBefore(B)),g.remove(B)}};return u=>{u.on("attribute:sources:imageBlock",d),u.on("attribute:sources:imageInline",d)}}(r))}_setupImageUploadEditingIntegration(){const c=this.editor;if(!c.plugins.has("ImageUploadEditing"))return;const n=c.plugins.get("ImageUploadEditing");this.listenTo(n,"uploadComplete",(r,{imageElement:a,data:d})=>{const u=d.sources;u&&c.model.change(p=>{p.setAttributes({sources:u},a)})})}},class extends dt{static get requires(){return[F1,RO,Al,H1,mD,j1,Vp]}static get pluginName(){return"Table"}},class extends dt{static get requires(){return[Nu]}static get pluginName(){return"TableToolbar"}afterInit(){const c=this.editor,n=c.t,r=c.plugins.get(Nu),a=c.config.get("table.contentToolbar"),d=c.config.get("table.tableToolbar");a&&r.register("tableContent",{ariaLabel:n("Table toolbar"),items:a,getRelatedElement:bD}),d&&r.register("table",{ariaLabel:n("Table toolbar"),items:d,getRelatedElement:I3})}},class extends dt{static get requires(){return["Delete","Input"]}static get pluginName(){return"TextTransformation"}constructor(c){super(c),c.config.define("typing",{transformations:{include:ir}})}init(){const c=this.editor.model.document.selection;c.on("change:range",()=>{this.isEnabled=!c.anchor.parent.is("element","codeBlock")}),this._enableTransformationWatchers()}_enableTransformationWatchers(){const c=this.editor,n=c.model,r=c.plugins.get("Delete"),a=function(u){const f=u.remove||[],g=b=>!f.includes(b);return function(b){const k=new Set;for(const S of b)if("string"==typeof S&&Su[S])for(const B of Su[S])k.add(B);else k.add(S);return Array.from(k)}(u.include.concat(u.extra||[]).filter(g)).filter(g).map(b=>"string"==typeof b&&ea[b]?ea[b]:b).filter(b=>"object"==typeof b).map(b=>({from:pd(b.from),to:Jg(b.to)}))}(c.config.get("typing.transformations")),d=new hy(c.model,u=>{for(const p of a)if(p.from.test(u))return{normalizedTransformation:p}});d.on("matched:data",(u,p)=>{if(!p.batch.isTyping)return;const{from:f,to:g}=p.normalizedTransformation,b=f.exec(p.text),k=g(b.slice(1)),S=p.range;let B=b.index;n.enqueueChange(U=>{for(let Z=1;Z<b.length;Z++){const te=b[Z],fe=k[Z-1];if(null==fe){B+=te.length;continue}const ge=S.start.getShiftedBy(B),Ee=n.createRange(ge,ge.getShiftedBy(te.length)),He=Ps(ge);n.insertContent(U.createText(fe,He),Ee),B+=fe.length}n.enqueueChange(()=>{r.requestUndoOnBackspace()})})}),d.bind("isEnabled").to(this)}}],LD.defaultConfig={toolbar:{items:["undo","redo","|","heading","|","bold","italic","|","link","uploadImage","insertTable","blockQuote","mediaEmbed","|","bulletedList","numberedList","outdent","indent"]},image:{toolbar:["imageStyle:inline","imageStyle:block","imageStyle:side","|","toggleImageCaption","imageTextAlternative"]},table:{contentToolbar:["tableColumn","tableRow","mergeTableCells"]},language:"en"}})(),x.default})()},1835:(qe,_e,W)=>{"use strict";function R(t){return"function"==typeof t}function A(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const L=A(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,s)=>`${s+1}) ${i.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e});function x(t,o){if(t){const e=t.indexOf(o);0<=e&&t.splice(e,1)}}class C{constructor(o){this.initialTeardown=o,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let o;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const l of e)l.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(R(i))try{i()}catch(l){o=l instanceof L?l.errors:[l]}const{_finalizers:s}=this;if(s){this._finalizers=null;for(const l of s)try{D(l)}catch(h){o=o??[],h instanceof L?o=[...o,...h.errors]:o.push(h)}}if(o)throw new L(o)}}add(o){var e;if(o&&o!==this)if(this.closed)D(o);else{if(o instanceof C){if(o.closed||o._hasParent(this))return;o._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(o)}}_hasParent(o){const{_parentage:e}=this;return e===o||Array.isArray(e)&&e.includes(o)}_addParent(o){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(o),e):e?[e,o]:o}_removeParent(o){const{_parentage:e}=this;e===o?this._parentage=null:Array.isArray(e)&&x(e,o)}remove(o){const{_finalizers:e}=this;e&&x(e,o),o instanceof C&&o._removeParent(this)}}C.EMPTY=(()=>{const t=new C;return t.closed=!0,t})();const I=C.EMPTY;function v(t){return t instanceof C||t&&"closed"in t&&R(t.remove)&&R(t.add)&&R(t.unsubscribe)}function D(t){R(t)?t():t.unsubscribe()}const E={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},T={setTimeout(t,o,...e){const{delegate:i}=T;return i?.setTimeout?i.setTimeout(t,o,...e):setTimeout(t,o,...e)},clearTimeout(t){const{delegate:o}=T;return(o?.clearTimeout||clearTimeout)(t)},delegate:void 0};function M(t){T.setTimeout(()=>{const{onUnhandledError:o}=E;if(!o)throw t;o(t)})}function O(){}const j=q("C",void 0,void 0);function q(t,o,e){return{kind:t,value:o,error:e}}let V=null;function Q(t){if(E.useDeprecatedSynchronousErrorHandling){const o=!V;if(o&&(V={errorThrown:!1,error:null}),t(),o){const{errorThrown:e,error:i}=V;if(V=null,e)throw i}}else t()}class ae extends C{constructor(o){super(),this.isStopped=!1,o?(this.destination=o,v(o)&&o.add(this)):this.destination=Ae}static create(o,e,i){return new Y(o,e,i)}next(o){this.isStopped?be(function F(t){return q("N",t,void 0)}(o),this):this._next(o)}error(o){this.isStopped?be(function z(t){return q("E",void 0,t)}(o),this):(this.isStopped=!0,this._error(o))}complete(){this.isStopped?be(j,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(o){this.destination.next(o)}_error(o){try{this.destination.error(o)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const de=Function.prototype.bind;function he(t,o){return de.call(t,o)}class se{constructor(o){this.partialObserver=o}next(o){const{partialObserver:e}=this;if(e.next)try{e.next(o)}catch(i){ie(i)}}error(o){const{partialObserver:e}=this;if(e.error)try{e.error(o)}catch(i){ie(i)}else ie(o)}complete(){const{partialObserver:o}=this;if(o.complete)try{o.complete()}catch(e){ie(e)}}}class Y extends ae{constructor(o,e,i){let s;if(super(),R(o)||!o)s={next:o??void 0,error:e??void 0,complete:i??void 0};else{let l;this&&E.useDeprecatedNextContext?(l=Object.create(o),l.unsubscribe=()=>this.unsubscribe(),s={next:o.next&&he(o.next,l),error:o.error&&he(o.error,l),complete:o.complete&&he(o.complete,l)}):s=o}this.destination=new se(s)}}function ie(t){E.useDeprecatedSynchronousErrorHandling?function ce(t){E.useDeprecatedSynchronousErrorHandling&&V&&(V.errorThrown=!0,V.error=t)}(t):M(t)}function be(t,o){const{onStoppedNotification:e}=E;e&&T.setTimeout(()=>e(t,o))}const Ae={closed:!0,next:O,error:function pe(t){throw t},complete:O},je="function"==typeof Symbol&&Symbol.observable||"@@observable";function Be(t){return t}function Ne(t){return 0===t.length?Be:1===t.length?t[0]:function(e){return t.reduce((i,s)=>s(i),e)}}let Me=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,s){const l=function Te(t){return t&&t instanceof ae||function ye(t){return t&&R(t.next)&&R(t.error)&&R(t.complete)}(t)&&v(t)}(e)?e:new Y(e,i,s);return Q(()=>{const{operator:h,source:m}=this;l.add(h?h.call(l,m):m?this._subscribe(l):this._trySubscribe(l))}),l}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=me(i))((s,l)=>{const h=new Y({next:m=>{try{e(m)}catch(_){l(_),h.unsubscribe()}},error:l,complete:s});this.subscribe(h)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[je](){return this}pipe(...e){return Ne(e)(this)}toPromise(e){return new(e=me(e))((i,s)=>{let l;this.subscribe(h=>l=h,h=>s(h),()=>i(l))})}}return t.create=o=>new t(o),t})();function me(t){var o;return null!==(o=t??E.Promise)&&void 0!==o?o:Promise}const Ve=A(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Ie=(()=>{class t extends Me{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new ke(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Ve}next(e){Q(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){Q(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){Q(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:s,observers:l}=this;return i||s?I:(this.currentObservers=null,l.push(e),new C(()=>{this.currentObservers=null,x(l,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:s,isStopped:l}=this;i?e.error(s):l&&e.complete()}asObservable(){const e=new Me;return e.source=this,e}}return t.create=(o,e)=>new ke(o,e),t})();class ke extends Ie{constructor(o,e){super(),this.destination=o,this.source=e}next(o){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,o)}error(o){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,o)}complete(){var o,e;null===(e=null===(o=this.destination)||void 0===o?void 0:o.complete)||void 0===e||e.call(o)}_subscribe(o){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(o))&&void 0!==i?i:I}}function De(t){return R(t?.lift)}function $e(t){return o=>{if(De(o))return o.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ue(t,o,e,i,s){return new Je(t,o,e,i,s)}class Je extends ae{constructor(o,e,i,s,l,h){super(o),this.onFinalize=l,this.shouldUnsubscribe=h,this._next=e?function(m){try{e(m)}catch(_){o.error(_)}}:super._next,this._error=s?function(m){try{s(m)}catch(_){o.error(_)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(m){o.error(m)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var o;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(o=this.onFinalize)||void 0===o||o.call(this))}}}function ot(t,o){return $e((e,i)=>{let s=0;e.subscribe(Ue(i,l=>{i.next(t.call(o,l,s++))}))})}function ar(t){return this instanceof ar?(this.v=t,this):new ar(t)}function Gf(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,o=t[Symbol.asyncIterator];return o?o.call(t):(t=function ti(t){var o="function"==typeof Symbol&&Symbol.iterator,e=o&&t[o],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(l){e[l]=t[l]&&function(h){return new Promise(function(m,_){!function s(l,h,m,_){Promise.resolve(_).then(function(w){l({value:w,done:m})},h)}(m,_,(h=t[l](h)).done,h.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const fc=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function ua(t){return R(t?.then)}function mc(t){return R(t[je])}function Qf(t){return Symbol.asyncIterator&&R(t?.[Symbol.asyncIterator])}function ho(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const ws=function Nb(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function ha(t){return R(t?.[ws])}function Rt(t){return function pc(t,o,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s,i=e.apply(t,o||[]),l=[];return s={},h("next"),h("throw"),h("return"),s[Symbol.asyncIterator]=function(){return this},s;function h(oe){i[oe]&&(s[oe]=function(le){return new Promise(function(ve,we){l.push([oe,le,ve,we])>1||m(oe,le)})})}function m(oe,le){try{!function _(oe){oe.value instanceof ar?Promise.resolve(oe.value.v).then(w,N):$(l[0][2],oe)}(i[oe](le))}catch(ve){$(l[0][3],ve)}}function w(oe){m("next",oe)}function N(oe){m("throw",oe)}function $(oe,le){oe(le),l.shift(),l.length&&m(l[0][0],l[0][1])}}(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:s}=yield ar(e.read());if(s)return yield ar(void 0);yield yield ar(i)}}finally{e.releaseLock()}})}function Jf(t){return R(t?.getReader)}function cr(t){if(t instanceof Me)return t;if(null!=t){if(mc(t))return function dr(t){return new Me(o=>{const e=t[je]();if(R(e.subscribe))return e.subscribe(o);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(fc(t))return function hh(t){return new Me(o=>{for(let e=0;e<t.length&&!o.closed;e++)o.next(t[e]);o.complete()})}(t);if(ua(t))return function Un(t){return new Me(o=>{t.then(e=>{o.closed||(o.next(e),o.complete())},e=>o.error(e)).then(null,M)})}(t);if(Qf(t))return Xf(t);if(ha(t))return function pa(t){return new Me(o=>{for(const e of t)if(o.next(e),o.closed)return;o.complete()})}(t);if(Jf(t))return function xo(t){return Xf(Rt(t))}(t)}throw ho(t)}function Xf(t){return new Me(o=>{(function zs(t,o){var e,i,s,l;return function $t(t,o,e,i){return new(e||(e=Promise))(function(l,h){function m(N){try{w(i.next(N))}catch($){h($)}}function _(N){try{w(i.throw(N))}catch($){h($)}}function w(N){N.done?l(N.value):function s(l){return l instanceof e?l:new e(function(h){h(l)})}(N.value).then(m,_)}w((i=i.apply(t,o||[])).next())})}(this,void 0,void 0,function*(){try{for(e=Gf(t);!(i=yield e.next()).done;)if(o.next(i.value),o.closed)return}catch(h){s={error:h}}finally{try{i&&!i.done&&(l=e.return)&&(yield l.call(e))}finally{if(s)throw s.error}}o.complete()})})(t,o).catch(e=>o.error(e))})}function eo(t,o,e,i=0,s=!1){const l=o.schedule(function(){e(),s?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(l),!s)return l}function ni(t,o,e=1/0){return R(o)?ni((i,s)=>ot((l,h)=>o(i,l,s,h))(cr(t(i,s))),e):("number"==typeof o&&(e=o),$e((i,s)=>function wi(t,o,e,i,s,l,h,m){const _=[];let w=0,N=0,$=!1;const oe=()=>{$&&!_.length&&!w&&o.complete()},le=we=>w<i?ve(we):_.push(we),ve=we=>{l&&o.next(we),w++;let xe=!1;cr(e(we,N++)).subscribe(Ue(o,Ye=>{s?.(Ye),l?le(Ye):o.next(Ye)},()=>{xe=!0},void 0,()=>{if(xe)try{for(w--;_.length&&w<i;){const Ye=_.shift();h?eo(o,h,()=>ve(Ye)):ve(Ye)}oe()}catch(Ye){o.error(Ye)}}))};return t.subscribe(Ue(o,le,()=>{$=!0,oe()})),()=>{m?.()}}(i,s,t,e)))}function Vo(t=1/0){return ni(Be,t)}const Eo=new Me(t=>t.complete());function em(t){return t&&R(t.schedule)}function Si(t){return t[t.length-1]}function gc(t){return R(Si(t))?t.pop():void 0}function _c(t){return em(Si(t))?t.pop():void 0}function ph(t,o=0){return $e((e,i)=>{e.subscribe(Ue(i,s=>eo(i,t,()=>i.next(s),o),()=>eo(i,t,()=>i.complete(),o),s=>eo(i,t,()=>i.error(s),o)))})}function nm(t,o=0){return $e((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),o))})}function im(t,o){if(!t)throw new Error("Iterable cannot be null");return new Me(e=>{eo(e,o,()=>{const i=t[Symbol.asyncIterator]();eo(e,o,()=>{i.next().then(s=>{s.done?e.complete():e.next(s.value)})},0,!0)})})}function Qi(t,o){return o?function rm(t,o){if(null!=t){if(mc(t))return function Rb(t,o){return cr(t).pipe(nm(o),ph(o))}(t,o);if(fc(t))return function bc(t,o){return new Me(e=>{let i=0;return o.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,o);if(ua(t))return function Ka(t,o){return cr(t).pipe(nm(o),ph(o))}(t,o);if(Qf(t))return im(t,o);if(ha(t))return function vc(t,o){return new Me(e=>{let i;return eo(e,o,()=>{i=t[ws](),eo(e,o,()=>{let s,l;try{({value:s,done:l}=i.next())}catch(h){return void e.error(h)}l?e.complete():e.next(s)},0,!0)}),()=>R(i?.return)&&i.return()})}(t,o);if(Jf(t))return function om(t,o){return im(Rt(t),o)}(t,o)}throw ho(t)}(t,o):cr(t)}class to extends Ie{constructor(o){super(),this._value=o}get value(){return this.getValue()}_subscribe(o){const e=super._subscribe(o);return!e.closed&&o.next(this._value),e}getValue(){const{hasError:o,thrownError:e,_value:i}=this;if(o)throw e;return this._throwIfClosed(),i}next(o){super.next(this._value=o)}}function Yt(...t){return Qi(t,_c(t))}function Lr(t={}){const{connector:o=(()=>new Ie),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:s=!0}=t;return l=>{let h,m,_,w=0,N=!1,$=!1;const oe=()=>{m?.unsubscribe(),m=void 0},le=()=>{oe(),h=_=void 0,N=$=!1},ve=()=>{const we=h;le(),we?.unsubscribe()};return $e((we,xe)=>{w++,!$&&!N&&oe();const Ye=_=_??o();xe.add(()=>{w--,0===w&&!$&&!N&&(m=yc(ve,s))}),Ye.subscribe(xe),!h&&w>0&&(h=new Y({next:Fe=>Ye.next(Fe),error:Fe=>{$=!0,oe(),m=yc(le,e,Fe),Ye.error(Fe)},complete:()=>{N=!0,oe(),m=yc(le,i),Ye.complete()}}),cr(we).subscribe(h))})(l)}}function yc(t,o,...e){if(!0===o)return void t();if(!1===o)return;const i=new Y({next:()=>{i.unsubscribe(),t()}});return cr(o(...e)).subscribe(i)}function Or(t,o){return $e((e,i)=>{let s=null,l=0,h=!1;const m=()=>h&&!s&&i.complete();e.subscribe(Ue(i,_=>{s?.unsubscribe();let w=0;const N=l++;cr(t(_,N)).subscribe(s=Ue(i,$=>i.next(o?o(_,$,N,w++):$),()=>{s=null,m()}))},()=>{h=!0,m()}))})}function fh(t,o=Be){return t=t??fa,$e((e,i)=>{let s,l=!0;e.subscribe(Ue(i,h=>{const m=o(h);(l||!t(s,m))&&(l=!1,s=m,i.next(h))}))})}function fa(t,o){return t===o}function Gn(t){for(let o in t)if(t[o]===Gn)return o;throw Error("Could not find renamed property on target object.")}function kc(t,o){for(const e in o)o.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=o[e])}function Ii(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Ii).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const o=t.toString();if(null==o)return""+o;const e=o.indexOf("\n");return-1===e?o:o.substring(0,e)}function ns(t,o){return null==t||""===t?null===o?"":o:null==o||""===o?t:t+" "+o}const Pl=Gn({__forward_ref__:Gn});function xt(t){return t.__forward_ref__=xt,t.toString=function(){return Ii(this())},t}function ln(t){return ma(t)?t():t}function ma(t){return"function"==typeof t&&t.hasOwnProperty(Pl)&&t.__forward_ref__===xt}function ga(t){return t&&!!t.\u0275providers}const wc="https://g.co/ng/security#xss";class Ze extends Error{constructor(o,e){super(function Nl(t,o){return`NG0${Math.abs(t)}${o?": "+o:""}`}(o,e)),this.code=o}}function cn(t){return"string"==typeof t?t:null==t?"":String(t)}function mh(t,o){throw new Ze(-201,!1)}function hr(t,o){null==t&&function Kt(t,o,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${o} <=Actual]`))}(o,t,null,"!=")}function gt(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Ut(t){return{providers:t.providers||[],imports:t.imports||[]}}function li(t){return Rl(t,Qa)||Rl(t,Mc)}function Rl(t,o){return t.hasOwnProperty(o)?t[o]:null}function Ac(t){return t&&(t.hasOwnProperty(Ja)||t.hasOwnProperty(ba))?t[Ja]:null}const Qa=Gn({\u0275prov:Gn}),Ja=Gn({\u0275inj:Gn}),Mc=Gn({ngInjectableDef:Gn}),ba=Gn({ngInjectorDef:Gn});var Mn=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Mn||{});let kh;function Zo(t){const o=kh;return kh=t,o}function Dc(t,o,e){const i=li(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Mn.Optional?null:void 0!==o?o:void mh(Ii(t))}const ci=globalThis;class pt{constructor(o,e){this._desc=o,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=gt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Cs={},xc="__NG_DI_FLAG__",va="ngTempTokenPath",Ec=/\n/gm,Dh="__source";let Xa;function As(t){const o=Xa;return Xa=t,o}function Kb(t,o=Mn.Default){if(void 0===Xa)throw new Ze(-203,!1);return null===Xa?Dc(t,void 0,o):Xa.get(t,o&Mn.Optional?null:void 0,o)}function st(t,o=Mn.Default){return(function Ho(){return kh}()||Kb)(ln(t),o)}function _t(t,o=Mn.Default){return st(t,Vd(o))}function Vd(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Ms(t){const o=[];for(let e=0;e<t.length;e++){const i=ln(t[e]);if(Array.isArray(i)){if(0===i.length)throw new Ze(900,!1);let s,l=Mn.Default;for(let h=0;h<i.length;h++){const m=i[h],_=Zb(m);"number"==typeof _?-1===_?s=m.token:l|=_:s=m}o.push(st(s,l))}else o.push(st(i))}return o}function Vs(t,o){return t[xc]=o,t.prototype[xc]=o,t}function Zb(t){return t[xc]}function is(t){return{toString:t}.toString()}var Hd=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Hd||{}),Pr=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(Pr||{});const pr={},Rn=[],el=Gn({\u0275cmp:Gn}),Th=Gn({\u0275dir:Gn}),Sc=Gn({\u0275pipe:Gn}),hm=Gn({\u0275mod:Gn}),Nr=Gn({\u0275fac:Gn}),tl=Gn({__NG_ELEMENT_ID__:Gn}),Ic=Gn({__NG_ENV_ID__:Gn});function pm(t,o,e){let i=t.length;for(;;){const s=t.indexOf(o,e);if(-1===s)return s;if(0===s||t.charCodeAt(s-1)<=32){const l=o.length;if(s+l===i||t.charCodeAt(s+l)<=32)return s}e=s+1}}function Yd(t,o,e){let i=0;for(;i<e.length;){const s=e[i];if("number"==typeof s){if(0!==s)break;i++;const l=e[i++],h=e[i++],m=e[i++];t.setAttribute(o,h,m,l)}else{const l=s,h=e[++i];mm(l)?t.setProperty(o,l,h):t.setAttribute(o,l,h),i++}}return i}function fm(t){return 3===t||4===t||6===t}function mm(t){return 64===t.charCodeAt(0)}function Fl(t,o){if(null!==o&&0!==o.length)if(null===t||0===t.length)t=o.slice();else{let e=-1;for(let i=0;i<o.length;i++){const s=o[i];"number"==typeof s?e=s:0===e||gm(t,e,s,null,-1===e||2===e?o[++i]:null)}}return t}function gm(t,o,e,i,s){let l=0,h=t.length;if(-1===o)h=-1;else for(;l<t.length;){const m=t[l++];if("number"==typeof m){if(m===o){h=-1;break}if(m>o){h=l-1;break}}}for(;l<t.length;){const m=t[l];if("number"==typeof m)break;if(m===e){if(null===i)return void(null!==s&&(t[l+1]=s));if(i===t[l+1])return void(t[l+2]=s)}l++,null!==i&&l++,null!==s&&l++}-1!==h&&(t.splice(h,0,o),l=h+1),t.splice(l++,0,e),null!==i&&t.splice(l++,0,i),null!==s&&t.splice(l++,0,s)}const xh="ng-template";function _m(t,o,e){let i=0,s=!0;for(;i<t.length;){let l=t[i++];if("string"==typeof l&&s){const h=t[i++];if(e&&"class"===l&&-1!==pm(h.toLowerCase(),o,0))return!0}else{if(1===l){for(;i<t.length&&"string"==typeof(l=t[i++]);)if(l.toLowerCase()===o)return!0;return!1}"number"==typeof l&&(s=!1)}}return!1}function Eh(t){return 4===t.type&&t.value!==xh}function yi(t,o,e){return o===(4!==t.type||e?t.value:xh)}function Ud(t,o,e){let i=4;const s=t.attrs||[],l=function bm(t){for(let o=0;o<t.length;o++)if(fm(t[o]))return o;return t.length}(s);let h=!1;for(let m=0;m<o.length;m++){const _=o[m];if("number"!=typeof _){if(!h)if(4&i){if(i=2|1&i,""!==_&&!yi(t,_,e)||""===_&&1===o.length){if(fr(i))return!1;h=!0}}else{const w=8&i?_:o[++m];if(8&i&&null!==t.attrs){if(!_m(t.attrs,w,e)){if(fr(i))return!1;h=!0}continue}const $=nl(8&i?"class":_,s,Eh(t),e);if(-1===$){if(fr(i))return!1;h=!0;continue}if(""!==w){let oe;oe=$>l?"":s[$+1].toLowerCase();const le=8&i?oe:null;if(le&&-1!==pm(le,w,0)||2&i&&w!==oe){if(fr(i))return!1;h=!0}}}}else{if(!h&&!fr(i)&&!fr(_))return!1;if(h&&fr(_))continue;h=!1,i=_|1&i}}return fr(i)||h}function fr(t){return 0==(1&t)}function nl(t,o,e,i){if(null===o)return-1;let s=0;if(i||!e){let l=!1;for(;s<o.length;){const h=o[s];if(h===t)return s;if(3===h||6===h)l=!0;else{if(1===h||2===h){let m=o[++s];for(;"string"==typeof m;)m=o[++s];continue}if(4===h)break;if(0===h){s+=4;continue}}s+=l?1:2}return-1}return function wa(t,o){let e=t.indexOf(4);if(e>-1)for(e++;e<t.length;){const i=t[e];if("number"==typeof i)return-1;if(i===o)return e;e++}return-1}(o,t)}function mr(t,o,e=!1){for(let i=0;i<o.length;i++)if(Ud(t,o[i],e))return!0;return!1}function Lc(t,o){e:for(let e=0;e<o.length;e++){const i=o[e];if(t.length===i.length){for(let s=0;s<t.length;s++)if(t[s]!==i[s])continue e;return!0}}return!1}function Wd(t,o){return t?":not("+o.trim()+")":o}function Rr(t){let o=t[0],e=1,i=2,s="",l=!1;for(;e<t.length;){let h=t[e];if("string"==typeof h)if(2&i){const m=t[++e];s+="["+h+(m.length>0?'="'+m+'"':"")+"]"}else 8&i?s+="."+h:4&i&&(s+=" "+h);else""!==s&&!fr(h)&&(o+=Wd(l,s),s=""),i=h,l=l||!fr(i);e++}return""!==s&&(o+=Wd(l,s)),o}function Ct(t){return is(()=>{const o=Bl(t),e={...o,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Hd.OnPush,directiveDefs:null,pipeDefs:null,dependencies:o.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||Pr.Emulated,styles:t.styles||Rn,_:null,schemas:t.schemas||null,tView:null,id:""};Ds(e);const i=t.dependencies;return e.directiveDefs=il(i,!1),e.pipeDefs=il(i,!0),e.id=function Oc(t){let o=0;const e=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const s of e)o=Math.imul(31,o)+s.charCodeAt(0)<<0;return o+=2147483648,"c"+o}(e),e})}function vm(t){return Bn(t)||Ji(t)}function zi(t){return null!==t}function Wt(t){return is(()=>({type:t.type,bootstrap:t.bootstrap||Rn,declarations:t.declarations||Rn,imports:t.imports||Rn,exports:t.exports||Rn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function Ih(t,o){if(null==t)return pr;const e={};for(const i in t)if(t.hasOwnProperty(i)){let s=t[i],l=s;Array.isArray(s)&&(l=s[1],s=s[0]),e[s]=i,o&&(o[s]=l)}return e}function Xe(t){return is(()=>{const o=Bl(t);return Ds(o),o})}function po(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function Bn(t){return t[el]||null}function Ji(t){return t[Th]||null}function So(t){return t[Sc]||null}function fo(t,o){const e=t[hm]||null;if(!e&&!0===o)throw new Error(`Type ${Ii(t)} does not have '\u0275mod' property.`);return e}function Bl(t){const o={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:o,inputTransforms:null,inputConfig:t.inputs||pr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Rn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Ih(t.inputs,o),outputs:Ih(t.outputs)}}function Ds(t){t.features?.forEach(o=>o(t))}function il(t,o){if(!t)return null;const e=o?So:vm;return()=>("function"==typeof t?t():t).map(i=>e(i)).filter(zi)}const oi=0,Tt=1,un=2,Ci=3,gr=4,ol=5,mo=6,Hs=7,di=8,Fr=9,Ca=10,en=11,Aa=12,Lh=13,rl=14,Ri=15,Pc=16,sl=17,_n=18,Nc=19,al=20,Br=21,jr=22,ll=23,Zn=24,Dn=25,Oh=1,$d=2,Ts=7,jl=9,go=11;function Qo(t){return Array.isArray(t)&&"object"==typeof t[Oh]}function _o(t){return Array.isArray(t)&&!0===t[Oh]}function Ph(t){return 0!=(4&t.flags)}function cl(t){return t.componentOffset>-1}function Nh(t){return 1==(1&t.flags)}function _r(t){return!!t.template}function zl(t){return 0!=(512&t[un])}function xn(t,o){return t.hasOwnProperty(Nr)?t[Nr]:null}let no=null,dl=!1;function Hr(t){const o=no;return no=t,o}const Tm={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function rs(t){if(!Fc(t)||t.dirty){if(!t.producerMustRecompute(t)&&!Em(t))return void(t.dirty=!1);t.producerRecomputeValue(t),t.dirty=!1}}function Fh(t){t.dirty=!0,function xm(t){if(void 0===t.liveConsumerNode)return;const o=dl;dl=!0;try{for(const e of t.liveConsumerNode)e.dirty||Fh(e)}finally{dl=o}}(t),t.consumerMarkedDirty?.(t)}function Gd(t){return t&&(t.nextProducerIndex=0),Hr(t)}function Kd(t,o){if(Hr(o),t&&void 0!==t.producerNode&&void 0!==t.producerIndexOfThis&&void 0!==t.producerLastReadVersion){if(Fc(t))for(let e=t.nextProducerIndex;e<t.producerNode.length;e++)Rc(t.producerNode[e],t.producerIndexOfThis[e]);for(;t.producerNode.length>t.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function Em(t){Vi(t);for(let o=0;o<t.producerNode.length;o++){const e=t.producerNode[o],i=t.producerLastReadVersion[o];if(i!==e.version||(rs(e),i!==e.version))return!0}return!1}function Bh(t){if(Vi(t),Fc(t))for(let o=0;o<t.producerNode.length;o++)Rc(t.producerNode[o],t.producerIndexOfThis[o]);t.producerNode.length=t.producerLastReadVersion.length=t.producerIndexOfThis.length=0,t.liveConsumerNode&&(t.liveConsumerNode.length=t.liveConsumerIndexOfThis.length=0)}function Rc(t,o){if(function jh(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}(t),Vi(t),1===t.liveConsumerNode.length)for(let i=0;i<t.producerNode.length;i++)Rc(t.producerNode[i],t.producerIndexOfThis[i]);const e=t.liveConsumerNode.length-1;if(t.liveConsumerNode[o]=t.liveConsumerNode[e],t.liveConsumerIndexOfThis[o]=t.liveConsumerIndexOfThis[e],t.liveConsumerNode.length--,t.liveConsumerIndexOfThis.length--,o<t.liveConsumerNode.length){const i=t.liveConsumerIndexOfThis[o],s=t.liveConsumerNode[o];Vi(s),s.producerIndexOfThis[i]=o}}function Fc(t){return t.consumerIsAlwaysLive||(t?.liveConsumerNode?.length??0)>0}function Vi(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}let Bc=null;function Vh(t){const o=Hr(null);try{return t()}finally{Hr(o)}}const hl=()=>{},Hh=(()=>({...Tm,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{t.schedule(t.ref)},hasRun:!1,cleanupFn:hl}))();class m0{constructor(o,e,i){this.previousValue=o,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function fn(){return Zd}function Zd(t){return t.type.prototype.ngOnChanges&&(t.setInput=Yl),Qd}function Qd(){const t=jn(this),o=t?.current;if(o){const e=t.previous;if(e===pr)t.previous=o;else for(let i in o)e[i]=o[i];t.current=null,this.ngOnChanges(o)}}function Yl(t,o,e,i){const s=this.declaredInputs[e],l=jn(t)||function y(t,o){return t[zc]=o}(t,{previous:pr,current:null}),h=l.current||(l.current={}),m=l.previous,_=m[s];h[s]=new m0(_&&_.currentValue,o,m===pr),t[i]=o}fn.ngInherit=!0;const zc="__ngSimpleChanges__";function jn(t){return t[zc]||null}const ee=function(t,o,e){};function Ge(t){for(;Array.isArray(t);)t=t[oi];return t}function mn(t,o){return Ge(o[t])}function hn(t,o){return Ge(o[t.index])}function vr(t,o){return t.data[o]}function Jo(t,o){return t[o]}function Yr(t,o){const e=o[t];return Qo(e)?e:e[oi]}function $s(t,o){return null==o?null:t[o]}function Es(t){t[sl]=0}function g0(t){1024&t[un]||(t[un]|=1024,Pm(t,1))}function Hc(t){1024&t[un]&&(t[un]&=-1025,Pm(t,-1))}function Pm(t,o){let e=t[Ci];if(null===e)return;e[ol]+=o;let i=e;for(e=e[Ci];null!==e&&(1===o&&1===i[ol]||-1===o&&0===i[ol]);)e[ol]+=o,i=e,e=e[Ci]}const tn={lFrame:cw(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Fm(){return tn.bindingsEnabled}function Ul(){return null!==tn.skipHydrationRootTNode}function lt(){return tn.lFrame.lView}function Sn(){return tn.lFrame.tView}function Pe(t){return tn.lFrame.contextLView=t,t[di]}function Oe(t){return tn.lFrame.contextLView=null,t}function Uo(){let t=v0();for(;null!==t&&64===t.type;)t=t.parent;return t}function v0(){return tn.lFrame.currentTNode}function qs(t,o){const e=tn.lFrame;e.currentTNode=t,e.isParent=o}function y0(){return tn.lFrame.isParent}function jm(){tn.lFrame.isParent=!1}function Xo(){const t=tn.lFrame;let o=t.bindingRootIndex;return-1===o&&(o=t.bindingRootIndex=t.tView.bindingStartIndex),o}function er(){return tn.lFrame.bindingIndex++}function as(t){const o=tn.lFrame,e=o.bindingIndex;return o.bindingIndex=o.bindingIndex+t,e}function sw(t,o){const e=tn.lFrame;e.bindingIndex=e.bindingRootIndex=t,Vm(o)}function Vm(t){tn.lFrame.currentDirectiveIndex=t}function aw(){return tn.lFrame.currentQueryIndex}function Hm(t){tn.lFrame.currentQueryIndex=t}function Ax(t){const o=t[Tt];return 2===o.type?o.declTNode:1===o.type?t[mo]:null}function lw(t,o,e){if(e&Mn.SkipSelf){let s=o,l=t;for(;!(s=s.parent,null!==s||e&Mn.Host||(s=Ax(l),null===s||(l=l[rl],10&s.type))););if(null===s)return!1;o=s,t=l}const i=tn.lFrame=D0();return i.currentTNode=o,i.lView=t,!0}function M0(t){const o=D0(),e=t[Tt];tn.lFrame=o,o.currentTNode=e.firstChild,o.lView=t,o.tView=e,o.contextLView=t,o.bindingIndex=e.bindingStartIndex,o.inI18n=!1}function D0(){const t=tn.lFrame,o=null===t?null:t.child;return null===o?cw(t):o}function cw(t){const o={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=o),o}function dw(){const t=tn.lFrame;return tn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const uw=dw;function Xd(){const t=dw();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function yr(){return tn.lFrame.selectedIndex}function Wl(t){tn.lFrame.selectedIndex=t}function Oi(){const t=tn.lFrame;return vr(t.tView,t.selectedIndex)}function Kn(){tn.lFrame.currentNamespace="svg"}let fw=!0;function tu(){return fw}function $l(t){fw=t}function Um(t,o){for(let e=o.directiveStart,i=o.directiveEnd;e<i;e++){const l=t.data[e].type.prototype,{ngAfterContentInit:h,ngAfterContentChecked:m,ngAfterViewInit:_,ngAfterViewChecked:w,ngOnDestroy:N}=l;h&&(t.contentHooks??=[]).push(-e,h),m&&((t.contentHooks??=[]).push(e,m),(t.contentCheckHooks??=[]).push(e,m)),_&&(t.viewHooks??=[]).push(-e,_),w&&((t.viewHooks??=[]).push(e,w),(t.viewCheckHooks??=[]).push(e,w)),null!=N&&(t.destroyHooks??=[]).push(e,N)}}function Wm(t,o,e){mw(t,o,3,e)}function $m(t,o,e,i){(3&t[un])===e&&mw(t,o,e,i)}function T0(t,o){let e=t[un];(3&e)===o&&(e&=8191,e+=1,t[un]=e)}function mw(t,o,e,i){const l=i??-1,h=o.length-1;let m=0;for(let _=void 0!==i?65535&t[sl]:0;_<h;_++)if("number"==typeof o[_+1]){if(m=o[_],null!=i&&m>=i)break}else o[_]<0&&(t[sl]+=65536),(m<l||-1==l)&&(_w(t,e,o,_),t[sl]=(4294901760&t[sl])+_+2),_++}function gw(t,o){ee(4,t,o);const e=Hr(null);try{o.call(t)}finally{Hr(e),ee(5,t,o)}}function _w(t,o,e,i){const s=e[i]<0,l=e[i+1],m=t[s?-e[i]:e[i]];s?t[un]>>13<t[sl]>>16&&(3&t[un])===o&&(t[un]+=8192,gw(m,l)):gw(m,l)}const nu=-1;class Wh{constructor(o,e,i){this.factory=o,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function Gm(t){return t!==nu}function qh(t){return 32767&t}function iu(t,o){let e=function Tx(t){return t>>16}(t),i=o;for(;e>0;)i=i[rl],e--;return i}let Gh=!0;function Km(t){const o=Gh;return Gh=t,o}const bw=255,E0=5;let vw=0;const cs={};function Zm(t,o){const e=kw(t,o);if(-1!==e)return e;const i=o[Tt];i.firstCreatePass&&(t.injectorIndex=o.length,ou(i.data,t),ou(o,null),ou(i.blueprint,null));const s=Kh(t,o),l=t.injectorIndex;if(Gm(s)){const h=qh(s),m=iu(s,o),_=m[Tt].data;for(let w=0;w<8;w++)o[l+w]=m[h+w]|_[h+w]}return o[l+8]=s,l}function ou(t,o){t.push(0,0,0,0,0,0,0,0,o)}function kw(t,o){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===o[t.injectorIndex+8]?-1:t.injectorIndex}function Kh(t,o){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,s=o;for(;null!==s;){if(i=at(s),null===i)return nu;if(e++,s=s[rl],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return nu}function S0(t,o,e){!function yw(t,o,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(tl)&&(i=e[tl]),null==i&&(i=e[tl]=vw++);const s=i&bw;o.data[t+(s>>E0)]|=1<<s}(t,o,e)}function ww(t,o,e){if(e&Mn.Optional||void 0!==t)return t;mh()}function Cw(t,o,e,i){if(e&Mn.Optional&&void 0===i&&(i=null),!(e&(Mn.Self|Mn.Host))){const s=t[Fr],l=Zo(void 0);try{return s?s.get(o,i,e&Mn.Optional):Dc(o,i,e&Mn.Optional)}finally{Zo(l)}}return ww(i,0,e)}function I0(t,o,e,i=Mn.Default,s){if(null!==t){if(2048&o[un]&&!(i&Mn.Self)){const h=function $c(t,o,e,i,s){let l=t,h=o;for(;null!==l&&null!==h&&2048&h[un]&&!(512&h[un]);){const m=L0(l,h,e,i|Mn.Self,cs);if(m!==cs)return m;let _=l.parent;if(!_){const w=h[al];if(w){const N=w.get(e,cs,i);if(N!==cs)return N}_=at(h),h=h[rl]}l=_}return s}(t,o,e,i,cs);if(h!==cs)return h}const l=L0(t,o,e,i,cs);if(l!==cs)return l}return Cw(o,e,i,s)}function L0(t,o,e,i,s){const l=function ql(t){if("string"==typeof t)return t.charCodeAt(0)||0;const o=t.hasOwnProperty(tl)?t[tl]:void 0;return"number"==typeof o?o>=0?o&bw:Ks:o}(e);if("function"==typeof l){if(!lw(o,t,i))return i&Mn.Host?ww(s,0,i):Cw(o,e,i,s);try{let h;if(h=l(i),null!=h||i&Mn.Optional)return h;mh()}finally{uw()}}else if("number"==typeof l){let h=null,m=kw(t,o),_=nu,w=i&Mn.Host?o[Ri][mo]:null;for((-1===m||i&Mn.SkipSelf)&&(_=-1===m?Kh(t,o):o[m+8],_!==nu&&fl(i,!1)?(h=o[Tt],m=qh(_),o=iu(_,o)):m=-1);-1!==m;){const N=o[Tt];if(Aw(l,m,N.data)){const $=xx(m,o,e,h,i,w);if($!==cs)return $}_=o[m+8],_!==nu&&fl(i,o[Tt].data[m+8]===w)&&Aw(l,m,o)?(h=N,m=qh(_),o=iu(_,o)):m=-1}}return s}function xx(t,o,e,i,s,l){const h=o[Tt],m=h.data[t+8],N=Jm(m,h,e,null==i?cl(m)&&Gh:i!=h&&0!=(3&m.type),s&Mn.Host&&l===m);return null!==N?Wc(o,h,N,m):cs}function Jm(t,o,e,i,s){const l=t.providerIndexes,h=o.data,m=1048575&l,_=t.directiveStart,N=l>>20,oe=s?m+N:t.directiveEnd;for(let le=i?m:m+N;le<oe;le++){const ve=h[le];if(le<_&&e===ve||le>=_&&ve.type===e)return le}if(s){const le=h[_];if(le&&_r(le)&&le.type===e)return _}return null}function Wc(t,o,e,i){let s=t[e];const l=o.data;if(function $h(t){return t instanceof Wh}(s)){const h=s;h.resolving&&function Bb(t,o){const e=o?`. Dependency path: ${o.join(" > ")} > ${t}`:"";throw new Ze(-200,`Circular dependency in DI detected for ${t}${e}`)}(function Nn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():cn(t)}(l[e]));const m=Km(h.canSeeViewProviders);h.resolving=!0;const w=h.injectImpl?Zo(h.injectImpl):null;lw(t,i,Mn.Default);try{s=t[e]=h.factory(void 0,l,t,i),o.firstCreatePass&&e>=i.directiveStart&&function Mx(t,o,e){const{ngOnChanges:i,ngOnInit:s,ngDoCheck:l}=o.type.prototype;if(i){const h=Zd(o);(e.preOrderHooks??=[]).push(t,h),(e.preOrderCheckHooks??=[]).push(t,h)}s&&(e.preOrderHooks??=[]).push(0-t,s),l&&((e.preOrderHooks??=[]).push(t,l),(e.preOrderCheckHooks??=[]).push(t,l))}(e,l[e],o)}finally{null!==w&&Zo(w),Km(m),h.resolving=!1,uw()}}return s}function Aw(t,o,e){return!!(e[o+(t>>E0)]&1<<t)}function fl(t,o){return!(t&Mn.Self||t&Mn.Host&&o)}class Cn{constructor(o,e){this._tNode=o,this._lView=e}get(o,e,i){return I0(this._tNode,this._lView,o,Vd(i),e)}}function Ks(){return new Cn(Uo(),lt())}function At(t){return is(()=>{const o=t.prototype.constructor,e=o[Nr]||Zs(o),i=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==i;){const l=s[Nr]||Zs(s);if(l&&l!==e)return l;s=Object.getPrototypeOf(s)}return l=>new l})}function Zs(t){return ma(t)?()=>{const o=Zs(ln(t));return o&&o()}:xn(t)}function at(t){const o=t[Tt],e=o.type;return 2===e?o.declTNode:1===e?t[mo]:null}const Gc="__parameters__";function Zc(t,o,e){return is(()=>{const i=function Ke(t){return function(...e){if(t){const i=t(...e);for(const s in i)this[s]=i[s]}}}(o);function s(...l){if(this instanceof s)return i.apply(this,l),this;const h=new s(...l);return m.annotation=h,m;function m(_,w,N){const $=_.hasOwnProperty(Gc)?_[Gc]:Object.defineProperty(_,Gc,{value:[]})[Gc];for(;$.length<=N;)$.push(null);return($[N]=$[N]||[]).push(h),_}}return e&&(s.prototype=Object.create(e.prototype)),s.prototype.ngMetadataName=t,s.annotationCls=s,s})}function su(t,o){t.forEach(e=>Array.isArray(e)?su(e,o):o(e))}function P0(t,o,e){o>=t.length?t.push(e):t.splice(o,0,e)}function au(t,o){return o>=t.length-1?t.pop():t.splice(o,1)[0]}function Qh(t,o){const e=[];for(let i=0;i<t;i++)e.push(o);return e}function tr(t,o,e){let i=lu(t,o);return i>=0?t[1|i]=e:(i=~i,function Lx(t,o,e,i){let s=t.length;if(s==o)t.push(e,i);else if(1===s)t.push(i,t[0]),t[0]=e;else{for(s--,t.push(t[s-1],t[s]);s>o;)t[s]=t[s-2],s--;t[o]=e,t[o+1]=i}}(t,i,o,e)),i}function hs(t,o){const e=lu(t,o);if(e>=0)return t[1|e]}function lu(t,o){return function N0(t,o,e){let i=0,s=t.length>>e;for(;s!==i;){const l=i+(s-i>>1),h=t[l<<e];if(o===h)return l<<e;h>o?s=l:i=l+1}return~(s<<e)}(t,o,1)}const gl=Vs(Zc("Optional"),8),du=Vs(Zc("SkipSelf"),4);function np(t){return 128==(128&t.flags)}var Gl=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Gl||{});const Ww=/^>|^->|<!--|-->|--!>|<!-$/g,Hx=/(<|>)/g,Yx="\u200b$1\u200b";const H0=new Map;let Ux=0;const Xc="__ngContext__";function Wo(t,o){Qo(o)?(t[Xc]=o[Nc],function qw(t){H0.set(t[Nc],t)}(o)):t[Xc]=o}let Wr;function W0(t,o){return Wr(t,o)}function Fn(t){const o=t[Ci];return _o(o)?o[Ci]:o}function Qw(t){return q0(t[Aa])}function Jw(t){return q0(t[gr])}function q0(t){for(;null!==t&&!_o(t);)t=t[gr];return t}function ed(t,o,e,i,s){if(null!=i){let l,h=!1;_o(i)?l=i:Qo(i)&&(h=!0,i=i[oi]);const m=Ge(i);0===t&&null!==e?null==s?tC(o,e,m):td(o,e,m,s||null,!0):1===t&&null!==e?td(o,e,m,s||null,!0):2===t?function fg(t,o,e){const i=hg(t,o);i&&function Jx(t,o,e,i){t.removeChild(o,e,i)}(t,i,o,e)}(o,m,h):3===t&&o.destroyNode(m),null!=l&&function eE(t,o,e,i,s){const l=e[Ts];l!==Ge(e)&&ed(o,t,i,l,s);for(let m=go;m<e.length;m++){const _=e[m];ap(_[Tt],_,t,o,i,l)}}(o,t,l,e,s)}}function Kl(t,o){return t.createComment(function $w(t){return t.replace(Ww,o=>o.replace(Hx,Yx))}(o))}function ro(t,o,e){return t.createElement(o,e)}function K0(t,o){const e=t[jl],i=e.indexOf(o);Hc(o),e.splice(i,1)}function cg(t,o){if(t.length<=go)return;const e=go+o,i=t[e];if(i){const s=i[Pc];null!==s&&s!==t&&K0(s,i),o>0&&(t[e-1][gr]=i[gr]);const l=au(t,go+o);!function $x(t,o){ap(t,o,o[en],2,null,null),o[oi]=null,o[mo]=null}(i[Tt],i);const h=l[_n];null!==h&&h.detachView(l[Tt]),i[Ci]=null,i[gr]=null,i[un]&=-129}return i}function Z0(t,o){if(!(256&o[un])){const e=o[en];o[ll]&&Bh(o[ll]),o[Zn]&&Bh(o[Zn]),e.destroyNode&&ap(t,o,e,3,null,null),function Gx(t){let o=t[Aa];if(!o)return dg(t[Tt],t);for(;o;){let e=null;if(Qo(o))e=o[Aa];else{const i=o[go];i&&(e=i)}if(!e){for(;o&&!o[gr]&&o!==t;)Qo(o)&&dg(o[Tt],o),o=o[Ci];null===o&&(o=t),Qo(o)&&dg(o[Tt],o),e=o&&o[gr]}o=e}}(o)}}function dg(t,o){if(!(256&o[un])){o[un]&=-129,o[un]|=256,function Qx(t,o){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i<e.length;i+=2){const s=o[e[i]];if(!(s instanceof Wh)){const l=e[i+1];if(Array.isArray(l))for(let h=0;h<l.length;h+=2){const m=s[l[h]],_=l[h+1];ee(4,m,_);try{_.call(m)}finally{ee(5,m,_)}}else{ee(4,s,l);try{l.call(s)}finally{ee(5,s,l)}}}}}(t,o),function Xw(t,o){const e=t.cleanup,i=o[Hs];if(null!==e)for(let l=0;l<e.length-1;l+=2)if("string"==typeof e[l]){const h=e[l+3];h>=0?i[h]():i[-h].unsubscribe(),l+=2}else e[l].call(i[e[l+1]]);null!==i&&(o[Hs]=null);const s=o[Br];if(null!==s){o[Br]=null;for(let l=0;l<s.length;l++)(0,s[l])()}}(t,o),1===o[Tt].type&&o[en].destroy();const e=o[Pc];if(null!==e&&_o(o[Ci])){e!==o[Ci]&&K0(e,o);const i=o[_n];null!==i&&i.detachView(t)}!function U0(t){H0.delete(t[Nc])}(o)}}function ug(t,o,e){return function eC(t,o,e){let i=o;for(;null!==i&&40&i.type;)i=(o=i).parent;if(null===i)return e[oi];{const{componentOffset:s}=i;if(s>-1){const{encapsulation:l}=t.data[i.directiveStart+s];if(l===Pr.None||l===Pr.Emulated)return null}return hn(i,e)}}(t,o.parent,e)}function td(t,o,e,i,s){t.insertBefore(o,e,i,s)}function tC(t,o,e){t.appendChild(o,e)}function op(t,o,e,i,s){null!==i?td(t,o,e,i,s):tC(t,o,e)}function hg(t,o){return t.parentNode(o)}function iC(t,o,e){return Q0(t,o,e)}let pg,lp,_g,cp,Q0=function oC(t,o,e){return 40&t.type?hn(t,e):null};function rp(t,o,e,i){const s=ug(t,i,o),l=o[en],m=iC(i.parent||o[mo],i,o);if(null!=s)if(Array.isArray(e))for(let _=0;_<e.length;_++)op(l,s,e[_],m,!1);else op(l,s,e,m,!1);void 0!==pg&&pg(l,i,o,e,s)}function sp(t,o){if(null!==o){const e=o.type;if(3&e)return hn(o,t);if(4&e)return ev(-1,t[o.index]);if(8&e){const i=o.child;if(null!==i)return sp(t,i);{const s=t[o.index];return _o(s)?ev(-1,s):Ge(s)}}if(32&e)return W0(o,t)()||Ge(t[o.index]);{const i=X0(t,o);return null!==i?Array.isArray(i)?i[0]:sp(Fn(t[Ri]),i):sp(t,o.next)}}return null}function X0(t,o){return null!==o?t[Ri][mo].projection[o.projection]:null}function ev(t,o){const e=go+t+1;if(e<o.length){const i=o[e],s=i[Tt].firstChild;if(null!==s)return sp(i,s)}return o[Ts]}function mg(t,o,e,i,s,l,h){for(;null!=e;){const m=i[e.index],_=e.type;if(h&&0===o&&(m&&Wo(Ge(m),i),e.flags|=2),32!=(32&e.flags))if(8&_)mg(t,o,e.child,i,s,l,!1),ed(o,t,s,m,l);else if(32&_){const w=W0(e,i);let N;for(;N=w();)ed(o,t,s,N,l);ed(o,t,s,m,l)}else 16&_?tv(t,o,i,e,s,l):ed(o,t,s,m,l);e=h?e.projectionNext:e.next}}function ap(t,o,e,i,s,l){mg(e,i,t.firstChild,o,s,l,!1)}function tv(t,o,e,i,s,l){const h=e[Ri],_=h[mo].projection[i.projection];if(Array.isArray(_))for(let w=0;w<_.length;w++)ed(o,t,s,_[w],l);else{let w=_;const N=h[Ci];np(i)&&(w.flags|=128),mg(t,o,w,N,s,l,!0)}}function Sa(t,o,e){""===e?t.removeAttribute(o,"class"):t.setAttribute(o,"class",e)}function sC(t,o,e){const{mergedAttrs:i,classes:s,styles:l}=e;null!==i&&Yd(t,o,i),null!==s&&Sa(t,o,s),null!==l&&function tE(t,o,e){t.setAttribute(o,"style",e)}(t,o,l)}function Ia(t){return function gg(){if(void 0===lp&&(lp=null,ci.trustedTypes))try{lp=ci.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return lp}()?.createHTML(t)||t}function nd(){if(void 0!==_g)return _g;if(typeof document<"u")return document;throw new Ze(210,!1)}function cC(t){return function bg(){if(void 0===cp&&(cp=null,ci.trustedTypes))try{cp=ci.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return cp}()?.createHTML(t)||t}class id{constructor(o){this.changingThisBreaksApplicationSecurity=o}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${wc})`}}class iE extends id{getTypeName(){return"HTML"}}class oE extends id{getTypeName(){return"Style"}}class rE extends id{getTypeName(){return"Script"}}class sE extends id{getTypeName(){return"URL"}}class iv extends id{getTypeName(){return"ResourceURL"}}function ps(t){return t instanceof id?t.changingThisBreaksApplicationSecurity:t}function Is(t,o){const e=function bl(t){return t instanceof id&&t.getTypeName()||null}(t);if(null!=e&&e!==o){if("ResourceURL"===e&&"URL"===o)return!0;throw new Error(`Required a safe ${o}, got a ${e} (see ${wc})`)}return e===o}class rv{constructor(o){this.inertDocumentHelper=o}getInertBodyElement(o){o="<body><remove></remove>"+o;try{const e=(new window.DOMParser).parseFromString(Ia(o),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(o):(e.removeChild(e.firstChild),e)}catch{return null}}}class pC{constructor(o){this.defaultDoc=o,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(o){const e=this.inertDocument.createElement("template");return e.innerHTML=Ia(o),e}}const fC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function vg(t){return(t=String(t)).match(fC)?t:"unsafe:"+t}function vl(t){const o={};for(const e of t.split(","))o[e]=!0;return o}function gu(...t){const o={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(o[i]=!0);return o}const mC=vl("area,br,col,hr,img,wbr"),yg=vl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),sv=vl("rp,rt"),od=gu(mC,gu(yg,vl("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),gu(sv,vl("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),gu(sv,yg)),av=vl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),cv=gu(av,vl("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),vl("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),pE=vl("script,style,template");class fE{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(o){let e=o.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let s=this.checkClobberedElement(e,e.nextSibling);if(s){e=s;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(o){const e=o.nodeName.toLowerCase();if(!od.hasOwnProperty(e))return this.sanitizedSomething=!0,!pE.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=o.attributes;for(let s=0;s<i.length;s++){const l=i.item(s),h=l.name,m=h.toLowerCase();if(!cv.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let _=l.value;av[m]&&(_=vg(_)),this.buf.push(" ",h,'="',dv(_),'"')}return this.buf.push(">"),!0}endElement(o){const e=o.nodeName.toLowerCase();od.hasOwnProperty(e)&&!mC.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(o){this.buf.push(dv(o))}checkClobberedElement(o,e){if(e&&(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${o.outerHTML}`);return e}}const mE=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gC=/([^\#-~ |!])/g;function dv(t){return t.replace(/&/g,"&amp;").replace(mE,function(o){return"&#"+(1024*(o.charCodeAt(0)-55296)+(o.charCodeAt(1)-56320)+65536)+";"}).replace(gC,function(o){return"&#"+o.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let dp;function uv(t,o){let e=null;try{dp=dp||function ov(t){const o=new pC(t);return function uE(){try{return!!(new window.DOMParser).parseFromString(Ia(""),"text/html")}catch{return!1}}()?new rv(o):o}(t);let i=o?String(o):"";e=dp.getInertBodyElement(i);let s=5,l=i;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,i=l,l=e.innerHTML,e=dp.getInertBodyElement(i)}while(i!==l);return Ia((new fE).sanitizeChildren(kg(e)||e))}finally{if(e){const i=kg(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function kg(t){return"content"in t&&function _C(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ui=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ui||{});function _u(t){const o=up();return o?cC(o.sanitize(Ui.HTML,t)||""):Is(t,"HTML")?cC(ps(t)):uv(nd(),cn(t))}function bu(t){const o=up();return o?o.sanitize(Ui.URL,t)||"":Is(t,"URL")?ps(t):vg(cn(t))}function up(){const t=lt();return t&&t[Ca].sanitizer}const hp=new pt("ENVIRONMENT_INITIALIZER"),gv=new pt("INJECTOR",-1),_v=new pt("INJECTOR_DEF_TYPES");class bv{get(o,e=Cs){if(e===Cs){const i=new Error(`NullInjectorError: No provider for ${Ii(o)}!`);throw i.name="NullInjectorError",i}return e}}function _E(...t){return{\u0275providers:yv(0,t),\u0275fromNgModule:!0}}function yv(t,...o){const e=[],i=new Set;let s;const l=h=>{e.push(h)};return su(o,h=>{const m=h;pp(m,l,[],i)&&(s||=[],s.push(m))}),void 0!==s&&yC(s,l),e}function yC(t,o){for(let e=0;e<t.length;e++){const{ngModule:i,providers:s}=t[e];kv(s,l=>{o(l,i)})}}function pp(t,o,e,i){if(!(t=ln(t)))return!1;let s=null,l=Ac(t);const h=!l&&Bn(t);if(l||h){if(h&&!h.standalone)return!1;s=t}else{const _=t.ngModule;if(l=Ac(_),!l)return!1;s=_}const m=i.has(s);if(h){if(m)return!1;if(i.add(s),h.dependencies){const _="function"==typeof h.dependencies?h.dependencies():h.dependencies;for(const w of _)pp(w,o,e,i)}}else{if(!l)return!1;{if(null!=l.imports&&!m){let w;i.add(s);try{su(l.imports,N=>{pp(N,o,e,i)&&(w||=[],w.push(N))})}finally{}void 0!==w&&yC(w,o)}if(!m){const w=xn(s)||(()=>new s);o({provide:s,useFactory:w,deps:Rn},s),o({provide:_v,useValue:s,multi:!0},s),o({provide:hp,useValue:()=>st(s),multi:!0},s)}const _=l.providers;if(null!=_&&!m){const w=t;kv(_,N=>{o(N,w)})}}}return s!==t&&void 0!==t.providers}function kv(t,o){for(let e of t)ga(e)&&(e=e.\u0275providers),Array.isArray(e)?kv(e,o):o(e)}const kC=Gn({provide:String,useValue:Gn});function wv(t){return null!==t&&"object"==typeof t&&kC in t}function sd(t){return"function"==typeof t}const fp=new pt("Set Injector scope."),mp={},bE={};let Av;function gp(){return void 0===Av&&(Av=new bv),Av}class fs{}class ad extends fs{get destroyed(){return this._destroyed}constructor(o,e,i,s){super(),this.parent=e,this.source=i,this.scopes=s,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Tv(o,h=>this.processProvider(h)),this.records.set(gv,vu(void 0,this)),s.has("environment")&&this.records.set(fs,vu(void 0,this));const l=this.records.get(fp);null!=l&&"string"==typeof l.value&&this.scopes.add(l.value),this.injectorDefTypes=new Set(this.get(_v.multi,Rn,Mn.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const o=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of o)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(o){return this.assertNotDestroyed(),this._onDestroyHooks.push(o),()=>this.removeOnDestroy(o)}runInContext(o){this.assertNotDestroyed();const e=As(this),i=Zo(void 0);try{return o()}finally{As(e),Zo(i)}}get(o,e=Cs,i=Mn.Default){if(this.assertNotDestroyed(),o.hasOwnProperty(Ic))return o[Ic](this);i=Vd(i);const l=As(this),h=Zo(void 0);try{if(!(i&Mn.SkipSelf)){let _=this.records.get(o);if(void 0===_){const w=function wC(t){return"function"==typeof t||"object"==typeof t&&t instanceof pt}(o)&&li(o);_=w&&this.injectableDefInScope(w)?vu(Mv(o),mp):null,this.records.set(o,_)}if(null!=_)return this.hydrate(o,_)}return(i&Mn.Self?gp():this.parent).get(o,e=i&Mn.Optional&&e===Cs?null:e)}catch(m){if("NullInjectorError"===m.name){if((m[va]=m[va]||[]).unshift(Ii(o)),l)throw m;return function Qb(t,o,e,i){const s=t[va];throw o[Dh]&&s.unshift(o[Dh]),t.message=function ya(t,o,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let s=Ii(o);if(Array.isArray(o))s=o.map(Ii).join(" -> ");else if("object"==typeof o){let l=[];for(let h in o)if(o.hasOwnProperty(h)){let m=o[h];l.push(h+":"+("string"==typeof m?JSON.stringify(m):Ii(m)))}s=`{${l.join(", ")}}`}return`${e}${i?"("+i+")":""}[${s}]: ${t.replace(Ec,"\n  ")}`}("\n"+t.message,s,e,i),t.ngTokenPath=s,t[va]=null,t}(m,o,"R3InjectorError",this.source)}throw m}finally{Zo(h),As(l)}}resolveInjectorInitializers(){const o=As(this),e=Zo(void 0);try{const s=this.get(hp.multi,Rn,Mn.Self);for(const l of s)l()}finally{As(o),Zo(e)}}toString(){const o=[],e=this.records;for(const i of e.keys())o.push(Ii(i));return`R3Injector[${o.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Ze(205,!1)}processProvider(o){let e=sd(o=ln(o))?o:ln(o&&o.provide);const i=function vE(t){return wv(t)?vu(void 0,t.useValue):vu(Dv(t),mp)}(o);if(sd(o)||!0!==o.multi)this.records.get(e);else{let s=this.records.get(e);s||(s=vu(void 0,mp,!0),s.factory=()=>Ms(s.multi),this.records.set(e,s)),e=o,s.multi.push(o)}this.records.set(e,i)}hydrate(o,e){return e.value===mp&&(e.value=bE,e.value=e.factory()),"object"==typeof e.value&&e.value&&function kE(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(o){if(!o.providedIn)return!1;const e=ln(o.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(o){const e=this._onDestroyHooks.indexOf(o);-1!==e&&this._onDestroyHooks.splice(e,1)}}function Mv(t){const o=li(t),e=null!==o?o.factory:xn(t);if(null!==e)return e;if(t instanceof pt)throw new Ze(204,!1);if(t instanceof Function)return function Cg(t){const o=t.length;if(o>0)throw Qh(o,"?"),new Ze(204,!1);const e=function Ub(t){return t&&(t[Qa]||t[Mc])||null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new Ze(204,!1)}function Dv(t,o,e){let i;if(sd(t)){const s=ln(t);return xn(s)||Mv(s)}if(wv(t))i=()=>ln(t.useValue);else if(function Cv(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...Ms(t.deps||[]));else if(function Qn(t){return!(!t||!t.useExisting)}(t))i=()=>st(ln(t.useExisting));else{const s=ln(t&&(t.useClass||t.provide));if(!function yE(t){return!!t.deps}(t))return xn(s)||Mv(s);i=()=>new s(...Ms(t.deps))}return i}function vu(t,o,e=!1){return{factory:t,value:o,multi:e?[]:void 0}}function Tv(t,o){for(const e of t)Array.isArray(e)?Tv(e,o):e&&ga(e)?Tv(e.\u0275providers,o):o(e)}const Ag=new pt("AppId",{providedIn:"root",factory:()=>CC}),CC="ng",AC=new pt("Platform Initializer"),ko=new pt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),xv=new pt("AnimationModuleType"),$r=new pt("CSP nonce",{providedIn:"root",factory:()=>nd().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ov=(t,o,e)=>null;function Pv(t,o,e=!1){return Ov(t,o,e)}class EC{}class Fv{}class hO{resolveComponentFactory(o){throw function SC(t){const o=Error(`No component factory found for ${Ii(t)}.`);return o.ngComponent=t,o}(o)}}let Ng=(()=>{class t{static#e=this.NULL=new hO}return t})();function pO(){return kp(Uo(),lt())}function kp(t,o){return new An(hn(t,o))}let An=(()=>{class t{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=pO}return t})();function DE(t){return t instanceof An?t.nativeElement:t}class Rg{}let Lo=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function IC(){const t=lt(),e=Yr(Uo().index,t);return(Qo(e)?e:t)[en]}()}return t})(),TE=(()=>{class t{static#e=this.\u0275prov=gt({token:t,providedIn:"root",factory:()=>null})}return t})();class ld{constructor(o){this.full=o,this.major=o.split(".")[0],this.minor=o.split(".")[1],this.patch=o.split(".").slice(2).join(".")}}const zv=new ld("16.2.12"),Fg={};function RC(t,o=null,e=null,i){const s=FC(t,o,e,i);return s.resolveInjectorInitializers(),s}function FC(t,o=null,e=null,i,s=new Set){const l=[e||Rn,_E(t)];return i=i||("object"==typeof t?void 0:Ii(t)),new ad(l,o||gp(),i||null,s)}let nr=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=Cs;static#t=this.NULL=new bv;static create(e,i){if(Array.isArray(e))return RC({name:""},i,e,"");{const s=e.name??"";return RC({name:s},e.parent,e.providers,s)}}static#n=this.\u0275prov=gt({token:t,providedIn:"any",factory:()=>st(gv)});static#i=this.__NG_ELEMENT_ID__=-1}return t})();function jg(t){return t.ngOriginalError}class Cr{constructor(){this._console=console}handleError(o){const e=this._findOriginalError(o);this._console.error("ERROR",o),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(o){let e=o&&jg(o);for(;e&&jg(e);)e=jg(e);return e||null}}function zg(t){return o=>{setTimeout(t,void 0,o)}}const Qe=class IE extends Ie{constructor(o=!1){super(),this.__isAsync=o}emit(o){super.next(o)}subscribe(o,e,i){let s=o,l=e||(()=>null),h=i;if(o&&"object"==typeof o){const _=o;s=_.next?.bind(_),l=_.error?.bind(_),h=_.complete?.bind(_)}this.__isAsync&&(l=zg(l),s&&(s=zg(s)),h&&(h=zg(h)));const m=super.subscribe({next:s,error:l,complete:h});return o instanceof C&&o.add(m),m}};function zC(...t){}class yn{constructor({enableLongStackTrace:o=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Qe(!1),this.onMicrotaskEmpty=new Qe(!1),this.onStable=new Qe(!1),this.onError=new Qe(!1),typeof Zone>"u")throw new Ze(908,!1);Zone.assertZonePatched();const s=this;s._nesting=0,s._outer=s._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(s._inner=s._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(s._inner=s._inner.fork(Zone.longStackTraceZoneSpec)),s.shouldCoalesceEventChangeDetection=!i&&e,s.shouldCoalesceRunChangeDetection=i,s.lastRequestAnimationFrameId=-1,s.nativeRequestAnimationFrame=function VC(){const t="function"==typeof ci.requestAnimationFrame;let o=ci[t?"requestAnimationFrame":"setTimeout"],e=ci[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&o&&e){const i=o[Zone.__symbol__("OriginalDelegate")];i&&(o=i);const s=e[Zone.__symbol__("OriginalDelegate")];s&&(e=s)}return{nativeRequestAnimationFrame:o,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function qr(t){const o=()=>{!function Uv(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ci,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,wp(t),t.isCheckStableRunning=!0,Yv(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),wp(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,s,l,h,m)=>{if(function Vg(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(m))return e.invokeTask(s,l,h,m);try{return Wv(t),e.invokeTask(s,l,h,m)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===l.type||t.shouldCoalesceRunChangeDetection)&&o(),$v(t)}},onInvoke:(e,i,s,l,h,m,_)=>{try{return Wv(t),e.invoke(s,l,h,m,_)}finally{t.shouldCoalesceRunChangeDetection&&o(),$v(t)}},onHasTask:(e,i,s,l)=>{e.hasTask(s,l),i===s&&("microTask"==l.change?(t._hasPendingMicrotasks=l.microTask,wp(t),Yv(t)):"macroTask"==l.change&&(t.hasPendingMacrotasks=l.macroTask))},onHandleError:(e,i,s,l)=>(e.handleError(s,l),t.runOutsideAngular(()=>t.onError.emit(l)),!1)})}(s)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!yn.isInAngularZone())throw new Ze(909,!1)}static assertNotInAngularZone(){if(yn.isInAngularZone())throw new Ze(909,!1)}run(o,e,i){return this._inner.run(o,e,i)}runTask(o,e,i,s){const l=this._inner,h=l.scheduleEventTask("NgZoneEvent: "+s,o,HC,zC,zC);try{return l.runTask(h,e,i)}finally{l.cancelTask(h)}}runGuarded(o,e,i){return this._inner.runGuarded(o,e,i)}runOutsideAngular(o){return this._outer.run(o)}}const HC={};function Yv(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function wp(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function Wv(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function $v(t){t._nesting--,Yv(t)}class LE{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Qe,this.onMicrotaskEmpty=new Qe,this.onStable=new Qe,this.onError=new Qe}run(o,e,i){return o.apply(e,i)}runGuarded(o,e,i){return o.apply(e,i)}runOutsideAngular(o){return o()}runTask(o,e,i,s){return o.apply(e,i)}}const qv=new pt("",{providedIn:"root",factory:Ar});function Ar(){const t=_t(yn);let o=!0;return function Fb(...t){const o=_c(t),e=function tm(t,o){return"number"==typeof Si(t)?t.pop():o}(t,1/0),i=t;return i.length?1===i.length?cr(i[0]):Vo(e)(Qi(i,o)):Eo}(new Me(s=>{o=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{s.next(o),s.complete()})}),new Me(s=>{let l;t.runOutsideAngular(()=>{l=t.onStable.subscribe(()=>{yn.assertNotInAngularZone(),queueMicrotask(()=>{!o&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(o=!0,s.next(!0))})})});const h=t.onUnstable.subscribe(()=>{yn.assertInAngularZone(),o&&(o=!1,t.runOutsideAngular(()=>{s.next(!1)}))});return()=>{l.unsubscribe(),h.unsubscribe()}}).pipe(Lr()))}function Kv(t){return t.ownerDocument}function Pa(t){return t instanceof Function?t():t}let Zv=(()=>{class t{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=gt({token:t,providedIn:"root",factory:()=>new t})}return t})();function Ap(t){for(;t;){t[un]|=64;const o=Fn(t);if(zl(t)&&!o)return t;t=o}return null}const Qv=new pt("",{providedIn:"root",factory:()=>!1});let Yg=null;function Jv(t,o){return t[o]??eA()}function Xv(t,o){const e=eA();e.producerNode?.length&&(t[o]=Yg,e.lView=t,Yg=XC())}const BE={...Tm,consumerIsAlwaysLive:!0,consumerMarkedDirty:t=>{Ap(t.lView)},lView:null};function XC(){return Object.create(BE)}function eA(){return Yg??=XC(),Yg}const kn={};function G(t){Ug(Sn(),lt(),yr()+t,!1)}function Ug(t,o,e,i){if(!i)if(3==(3&o[un])){const l=t.preOrderCheckHooks;null!==l&&Wm(o,l,e)}else{const l=t.preOrderHooks;null!==l&&$m(o,l,0,e)}Wl(e)}function Ce(t,o=Mn.Default){const e=lt();return null===e?st(t,o):I0(Uo(),e,ln(t),o)}function Mp(t,o,e,i,s,l,h,m,_,w,N){const $=o.blueprint.slice();return $[oi]=s,$[un]=140|i,(null!==w||t&&2048&t[un])&&($[un]|=2048),Es($),$[Ci]=$[rl]=t,$[di]=e,$[Ca]=h||t&&t[Ca],$[en]=m||t&&t[en],$[Fr]=_||t&&t[Fr]||null,$[mo]=l,$[Nc]=function Y0(){return Ux++}(),$[jr]=N,$[al]=w,$[Ri]=2==o.type?t[Ri]:$,$}function Du(t,o,e,i,s){let l=t.data[o];if(null===l)l=function Tu(t,o,e,i,s){const l=v0(),h=y0(),_=t.data[o]=function UE(t,o,e,i,s,l){let h=o?o.injectorIndex:-1,m=0;return Ul()&&(m|=128),{type:e,index:i,insertBeforeIndex:null,injectorIndex:h,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:m,providerIndexes:0,value:s,attrs:l,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:o,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,h?l:l&&l.parent,e,o,i,s);return null===t.firstChild&&(t.firstChild=_),null!==l&&(h?null==l.child&&null!==_.parent&&(l.child=_):null===l.next&&(l.next=_,_.prev=l)),_}(t,o,e,i,s),function ls(){return tn.lFrame.inI18n}()&&(l.flags|=32);else if(64&l.type){l.type=e,l.value=i,l.attrs=s;const h=function Uc(){const t=tn.lFrame,o=t.currentTNode;return t.isParent?o:o.parent}();l.injectorIndex=null===h?-1:h.injectorIndex}return qs(l,!0),l}function Zl(t,o,e,i){if(0===e)return-1;const s=o.length;for(let l=0;l<e;l++)o.push(i),t.blueprint.push(i),t.data.push(null);return s}function tA(t,o,e,i,s){const l=Jv(o,ll),h=yr(),m=2&i;try{Wl(-1),m&&o.length>Dn&&Ug(t,o,Dn,!1),ee(m?2:0,s);const w=m?l:null,N=Gd(w);try{null!==w&&(w.dirty=!1),e(i,s)}finally{Kd(w,N)}}finally{m&&null===o[ll]&&Xv(o,ll),Wl(h),ee(m?3:1,s)}}function ty(t,o,e){if(Ph(o)){const i=Hr(null);try{const l=o.directiveEnd;for(let h=o.directiveStart;h<l;h++){const m=t.data[h];m.contentQueries&&m.contentQueries(1,e[h],h)}}finally{Hr(i)}}}function Wg(t,o,e){Fm()&&(function sA(t,o,e,i){const s=e.directiveStart,l=e.directiveEnd;cl(e)&&function eS(t,o,e){const i=hn(o,t),s=cd(e);let h=16;e.signals?h=4096:e.onPush&&(h=64);const m=dd(t,Mp(t,s,null,h,i,o,null,t[Ca].rendererFactory.createRenderer(i,e),null,null,null));t[o.index]=m}(o,e,t.data[s+e.componentOffset]),t.firstCreatePass||Zm(e,o),Wo(i,o);const h=e.initialInputs;for(let m=s;m<l;m++){const _=t.data[m],w=Wc(o,t,m,e);Wo(w,o),null!==h&&tS(0,m-s,w,_,0,h),_r(_)&&(Yr(e.index,o)[di]=Wc(o,t,m,e))}}(t,o,e,hn(e,o)),64==(64&e.flags)&&aA(t,o,e))}function ny(t,o,e=hn){const i=o.localNames;if(null!==i){let s=o.index+1;for(let l=0;l<i.length;l+=2){const h=i[l+1],m=-1===h?e(o,t):t[h];t[s++]=m}}}function cd(t){const o=t.tView;return null===o||o.incompleteFirstPass?t.tView=iy(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):o}function iy(t,o,e,i,s,l,h,m,_,w,N){const $=Dn+i,oe=$+s,le=function zE(t,o){const e=[];for(let i=0;i<o;i++)e.push(i<t?null:kn);return e}($,oe),ve="function"==typeof w?w():w;return le[Tt]={type:t,blueprint:le,template:e,queries:null,viewQuery:m,declTNode:o,data:le.slice().fill(null,$),bindingStartIndex:$,expandoStartIndex:oe,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof l?l():l,pipeRegistry:"function"==typeof h?h():h,firstChild:null,schemas:_,consts:ve,incompleteFirstPass:!1,ssrId:N}}let oy=t=>null;function oA(t,o,e,i){for(let s in t)if(t.hasOwnProperty(s)){e=null===e?{}:e;const l=t[s];null===i?ry(e,o,s,l):i.hasOwnProperty(s)&&ry(e,o,i[s],l)}return e}function ry(t,o,e,i){t.hasOwnProperty(e)?t[e].push(o,i):t[e]=[o,i]}function Dp(t,o,e,i){if(Fm()){const s=null===i?null:{"":-1},l=function ZE(t,o){const e=t.directiveRegistry;let i=null,s=null;if(e)for(let l=0;l<e.length;l++){const h=e[l];if(mr(o,h.selectors,!1))if(i||(i=[]),_r(h))if(null!==h.findHostDirectiveDefs){const m=[];s=s||new Map,h.findHostDirectiveDefs(h,m,s),i.unshift(...m,h),$g(t,o,m.length)}else i.unshift(h),$g(t,o,0);else s=s||new Map,h.findHostDirectiveDefs?.(h,i,s),i.push(h)}return null===i?null:[i,s]}(t,e);let h,m;null===l?h=m=null:[h,m]=l,null!==h&&sy(t,o,e,h,s,m),s&&function QE(t,o,e){if(o){const i=t.localNames=[];for(let s=0;s<o.length;s+=2){const l=e[o[s+1]];if(null==l)throw new Ze(-301,!1);i.push(o[s],l)}}}(e,i,s)}e.mergedAttrs=Fl(e.mergedAttrs,e.attrs)}function sy(t,o,e,i,s,l){for(let w=0;w<i.length;w++)S0(Zm(e,o),t,i[w].type);!function cA(t,o,e){t.flags|=1,t.directiveStart=o,t.directiveEnd=o+e,t.providerIndexes=o}(e,t.data.length,i.length);for(let w=0;w<i.length;w++){const N=i[w];N.providersResolver&&N.providersResolver(N)}let h=!1,m=!1,_=Zl(t,o,i.length,null);for(let w=0;w<i.length;w++){const N=i[w];e.mergedAttrs=Fl(e.mergedAttrs,N.hostAttrs),XE(t,e,o,_,N),JE(_,N,s),null!==N.contentQueries&&(e.flags|=4),(null!==N.hostBindings||null!==N.hostAttrs||0!==N.hostVars)&&(e.flags|=64);const $=N.type.prototype;!h&&($.ngOnChanges||$.ngOnInit||$.ngDoCheck)&&((t.preOrderHooks??=[]).push(e.index),h=!0),!m&&($.ngOnChanges||$.ngDoCheck)&&((t.preOrderCheckHooks??=[]).push(e.index),m=!0),_++}!function WE(t,o,e){const s=o.directiveEnd,l=t.data,h=o.attrs,m=[];let _=null,w=null;for(let N=o.directiveStart;N<s;N++){const $=l[N],oe=e?e.get($):null,ve=oe?oe.outputs:null;_=oA($.inputs,N,_,oe?oe.inputs:null),w=oA($.outputs,N,w,ve);const we=null===_||null===h||Eh(o)?null:nS(_,N,h);m.push(we)}null!==_&&(_.hasOwnProperty("class")&&(o.flags|=8),_.hasOwnProperty("style")&&(o.flags|=16)),o.initialInputs=m,o.inputs=_,o.outputs=w}(t,e,l)}function aA(t,o,e){const i=e.directiveStart,s=e.directiveEnd,l=e.index,h=function Cx(){return tn.lFrame.currentDirectiveIndex}();try{Wl(l);for(let m=i;m<s;m++){const _=t.data[m],w=o[m];Vm(m),(null!==_.hostBindings||0!==_.hostVars||null!==_.hostAttrs)&&lA(_,w)}}finally{Wl(-1),Vm(h)}}function lA(t,o){null!==t.hostBindings&&t.hostBindings(1,o)}function $g(t,o,e){o.componentOffset=e,(t.components??=[]).push(o.index)}function JE(t,o,e){if(e){if(o.exportAs)for(let i=0;i<o.exportAs.length;i++)e[o.exportAs[i]]=t;_r(o)&&(e[""]=t)}}function XE(t,o,e,i,s){t.data[i]=s;const l=s.factory||(s.factory=xn(s.type)),h=new Wh(l,_r(s),Ce);t.blueprint[i]=h,e[i]=h,function GE(t,o,e,i,s){const l=s.hostBindings;if(l){let h=t.hostBindingOpCodes;null===h&&(h=t.hostBindingOpCodes=[]);const m=~o.index;(function KE(t){let o=t.length;for(;o>0;){const e=t[--o];if("number"==typeof e&&e<0)return e}return 0})(h)!=m&&h.push(m),h.push(e,i,l)}}(t,o,i,Zl(t,e,s.hostVars,kn),s)}function Xs(t,o,e,i,s,l){const h=hn(t,o);!function Tp(t,o,e,i,s,l,h){if(null==l)t.removeAttribute(o,s,e);else{const m=null==h?cn(l):h(l,i||"",s);t.setAttribute(o,s,m,e)}}(o[en],h,l,t.value,e,i,s)}function tS(t,o,e,i,s,l){const h=l[o];if(null!==h)for(let m=0;m<h.length;)ay(i,e,h[m++],h[m++],h[m++])}function ay(t,o,e,i,s){const l=Hr(null);try{const h=t.inputTransforms;null!==h&&h.hasOwnProperty(i)&&(s=h[i].call(o,s)),null!==t.setInput?t.setInput(o,s,e,i):o[i]=s}finally{Hr(l)}}function nS(t,o,e){let i=null,s=0;for(;s<e.length;){const l=e[s];if(0!==l)if(5!==l){if("number"==typeof l)break;if(t.hasOwnProperty(l)){null===i&&(i=[]);const h=t[l];for(let m=0;m<h.length;m+=2)if(h[m]===o){i.push(l,h[m+1],e[s+1]);break}}s+=2}else s+=2;else s+=4}return i}function dA(t,o,e,i){return[t,!0,!1,o,null,0,i,e,null,null,null]}function uA(t,o){const e=t.contentQueries;if(null!==e)for(let i=0;i<e.length;i+=2){const l=e[i+1];if(-1!==l){const h=t.data[l];Hm(e[i]),h.contentQueries(2,o[l],l)}}}function dd(t,o){return t[Aa]?t[Lh][gr]=o:t[Aa]=o,t[Lh]=o,o}function qg(t,o,e){Hm(0);const i=Hr(null);try{o(t,e)}finally{Hr(i)}}function ly(t){return t[Hs]||(t[Hs]=[])}function Gg(t){return t.cleanup||(t.cleanup=[])}function hA(t,o){const e=t[Fr],i=e?e.get(Cr,null):null;i&&i.handleError(o)}function ud(t,o,e,i,s){for(let l=0;l<e.length;){const h=e[l++],m=e[l++];ay(t.data[h],o[h],i,m,s)}}function yl(t,o,e){const i=mn(o,t);!function G0(t,o,e){t.setValue(o,e)}(t[en],i,e)}function pA(t,o){const e=Yr(o,t),i=e[Tt];!function Kg(t,o){for(let e=o.length;e<t.blueprint.length;e++)o.push(t.blueprint[e])}(i,e);const s=e[oi];null!==s&&null===e[jr]&&(e[jr]=Pv(s,e[Fr])),xu(i,e,e[di])}function xu(t,o,e){M0(o);try{const i=t.viewQuery;null!==i&&qg(1,i,e);const s=t.template;null!==s&&tA(t,o,s,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),t.staticContentQueries&&uA(t,o),t.staticViewQueries&&qg(2,t.viewQuery,e);const l=t.components;null!==l&&function xp(t,o){for(let e=0;e<o.length;e++)pA(t,o[e])}(o,l)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{o[un]&=-5,Xd()}}let dy=(()=>{class t{constructor(){this.all=new Set,this.queue=new Map}create(e,i,s){const l=typeof Zone>"u"?null:Zone.current,h=function xs(t,o,e){const i=Object.create(Hh);e&&(i.consumerAllowSignalWrites=!0),i.fn=t,i.schedule=o;const s=h=>{i.cleanupFn=h};return i.ref={notify:()=>Fh(i),run:()=>{if(i.dirty=!1,i.hasRun&&!Em(i))return;i.hasRun=!0;const h=Gd(i);try{i.cleanupFn(),i.cleanupFn=hl,i.fn(s)}finally{Kd(i,h)}},cleanup:()=>i.cleanupFn()},i.ref}(e,w=>{this.all.has(w)&&this.queue.set(w,l)},s);let m;this.all.add(h),h.notify();const _=()=>{h.cleanup(),m?.(),this.all.delete(h),this.queue.delete(h)};return m=i?.onDestroy(_),{destroy:_}}flush(){if(0!==this.queue.size)for(const[e,i]of this.queue)this.queue.delete(e),i?i.run(()=>e.run()):e.run()}get isQueueEmpty(){return 0===this.queue.size}static#e=this.\u0275prov=gt({token:t,providedIn:"root",factory:()=>new t})}return t})();function Ep(t,o,e){let i=e?t.styles:null,s=e?t.classes:null,l=0;if(null!==o)for(let h=0;h<o.length;h++){const m=o[h];"number"==typeof m?l=m:1==l?s=ns(s,m):2==l&&(i=ns(i,m+": "+o[++h]+";"))}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=s:t.classesWithoutHost=s}function Sp(t,o,e,i,s=!1){for(;null!==e;){const l=o[e.index];null!==l&&i.push(Ge(l)),_o(l)&&mA(l,i);const h=e.type;if(8&h)Sp(t,o,e.child,i);else if(32&h){const m=W0(e,o);let _;for(;_=m();)i.push(_)}else if(16&h){const m=X0(o,e);if(Array.isArray(m))i.push(...m);else{const _=Fn(o[Ri]);Sp(_[Tt],_,m,i,!0)}}e=s?e.projectionNext:e.next}return i}function mA(t,o){for(let e=go;e<t.length;e++){const i=t[e],s=i[Tt].firstChild;null!==s&&Sp(i[Tt],i,s,o)}t[Ts]!==t[oi]&&o.push(t[Ts])}function Zg(t,o,e,i=!0){const s=o[Ca],l=s.rendererFactory,h=s.afterRenderEventManager;l.begin?.(),h?.begin();try{uy(t,o,t.template,e)}catch(_){throw i&&hA(o,_),_}finally{l.end?.(),s.effectManager?.flush(),h?.end()}}function uy(t,o,e,i){const s=o[un];if(256!=(256&s)){o[Ca].effectManager?.flush(),M0(o);try{Es(o),function C0(t){return tn.lFrame.bindingIndex=t}(t.bindingStartIndex),null!==e&&tA(t,o,e,2,i);const h=3==(3&s);if(h){const w=t.preOrderCheckHooks;null!==w&&Wm(o,w,null)}else{const w=t.preOrderHooks;null!==w&&$m(o,w,0,null),T0(o,0)}if(function sS(t){for(let o=Qw(t);null!==o;o=Jw(o)){if(!o[$d])continue;const e=o[jl];for(let i=0;i<e.length;i++){g0(e[i])}}}(o),gA(o,2),null!==t.contentQueries&&uA(t,o),h){const w=t.contentCheckHooks;null!==w&&Wm(o,w)}else{const w=t.contentHooks;null!==w&&$m(o,w,1),T0(o,1)}!function jE(t,o){const e=t.hostBindingOpCodes;if(null===e)return;const i=Jv(o,Zn);try{for(let s=0;s<e.length;s++){const l=e[s];if(l<0)Wl(~l);else{const h=l,m=e[++s],_=e[++s];sw(m,h),i.dirty=!1;const w=Gd(i);try{_(2,o[h])}finally{Kd(i,w)}}}}finally{null===o[Zn]&&Xv(o,Zn),Wl(-1)}}(t,o);const m=t.components;null!==m&&bA(o,m,0);const _=t.viewQuery;if(null!==_&&qg(2,_,i),h){const w=t.viewCheckHooks;null!==w&&Wm(o,w)}else{const w=t.viewHooks;null!==w&&$m(o,w,2),T0(o,2)}!0===t.firstUpdatePass&&(t.firstUpdatePass=!1),o[un]&=-73,Hc(o)}finally{Xd()}}}function gA(t,o){for(let e=Qw(t);null!==e;e=Jw(e))for(let i=go;i<e.length;i++)_A(e[i],o)}function aS(t,o,e){_A(Yr(o,t),e)}function _A(t,o){if(!function bt(t){return 128==(128&t[un])}(t))return;const e=t[Tt],i=t[un];if(80&i&&0===o||1024&i||2===o)uy(e,t,e.template,t[di]);else if(t[ol]>0){gA(t,1);const s=e.components;null!==s&&bA(t,s,1)}}function bA(t,o,e){for(let i=0;i<o.length;i++)aS(t,o[i],e)}class Ip{get rootNodes(){const o=this._lView,e=o[Tt];return Sp(e,o,e.firstChild,[])}constructor(o,e){this._lView=o,this._cdRefInjectingView=e,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[di]}set context(o){this._lView[di]=o}get destroyed(){return 256==(256&this._lView[un])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const o=this._lView[Ci];if(_o(o)){const e=o[8],i=e?e.indexOf(this):-1;i>-1&&(cg(o,i),au(e,i))}this._attachedToViewContainer=!1}Z0(this._lView[Tt],this._lView)}onDestroy(o){!function Nm(t,o){if(256==(256&t[un]))throw new Ze(911,!1);null===t[Br]&&(t[Br]=[]),t[Br].push(o)}(this._lView,o)}markForCheck(){Ap(this._cdRefInjectingView||this._lView)}detach(){this._lView[un]&=-129}reattach(){this._lView[un]|=128}detectChanges(){Zg(this._lView[Tt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Ze(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function fu(t,o){ap(t,o,o[en],2,null,null)}(this._lView[Tt],this._lView)}attachToAppRef(o){if(this._attachedToViewContainer)throw new Ze(902,!1);this._appRef=o}}class lS extends Ip{constructor(o){super(o),this._view=o}detectChanges(){const o=this._view;Zg(o[Tt],o,o[di],!1)}checkNoChanges(){}get context(){return null}}class vA extends Ng{constructor(o){super(),this.ngModule=o}resolveComponentFactory(o){const e=Bn(o);return new Lp(e,this.ngModule)}}function yA(t){const o=[];for(let e in t)t.hasOwnProperty(e)&&o.push({propName:t[e],templateName:e});return o}class dS{constructor(o,e){this.injector=o,this.parentInjector=e}get(o,e,i){i=Vd(i);const s=this.injector.get(o,Fg,i);return s!==Fg||e===Fg?s:this.parentInjector.get(o,e,i)}}class Lp extends Fv{get inputs(){const o=this.componentDef,e=o.inputTransforms,i=yA(o.inputs);if(null!==e)for(const s of i)e.hasOwnProperty(s.propName)&&(s.transform=e[s.propName]);return i}get outputs(){return yA(this.componentDef.outputs)}constructor(o,e){super(),this.componentDef=o,this.ngModule=e,this.componentType=o.type,this.selector=function Jb(t){return t.map(Rr).join(",")}(o.selectors),this.ngContentSelectors=o.ngContentSelectors?o.ngContentSelectors:[],this.isBoundToModule=!!e}create(o,e,i,s){let l=(s=s||this.ngModule)instanceof fs?s:s?.injector;l&&null!==this.componentDef.getStandaloneInjector&&(l=this.componentDef.getStandaloneInjector(l)||l);const h=l?new dS(o,l):o,m=h.get(Rg,null);if(null===m)throw new Ze(407,!1);const $={rendererFactory:m,sanitizer:h.get(TE,null),effectManager:h.get(dy,null),afterRenderEventManager:h.get(Zv,null)},oe=m.createRenderer(null,this.componentDef),le=this.componentDef.selectors[0][0]||"div",ve=i?function VE(t,o,e,i){const l=i.get(Qv,!1)||e===Pr.ShadowDom,h=t.selectRootElement(o,l);return function HE(t){oy(t)}(h),h}(oe,i,this.componentDef.encapsulation,h):ro(oe,le,function cS(t){const o=t.toLowerCase();return"svg"===o?"svg":"math"===o?"math":null}(le)),Ye=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let Fe=null;null!==ve&&(Fe=Pv(ve,h,!0));const it=iy(0,null,null,1,0,null,null,null,null,null,null),tt=Mp(null,it,null,Ye,null,null,$,oe,h,null,Fe);let ut,Nt;M0(tt);try{const qt=this.componentDef;let En,Vn=null;qt.findHostDirectiveDefs?(En=[],Vn=new Map,qt.findHostDirectiveDefs(qt,En,Vn),En.push(qt)):En=[qt];const Zi=function kA(t,o){const e=t[Tt],i=Dn;return t[i]=o,Du(e,i,2,"#host",null)}(tt,ve),Do=function hS(t,o,e,i,s,l,h){const m=s[Tt];!function pS(t,o,e,i){for(const s of t)o.mergedAttrs=Fl(o.mergedAttrs,s.hostAttrs);null!==o.mergedAttrs&&(Ep(o,o.mergedAttrs,!0),null!==e&&sC(i,e,o))}(i,t,o,h);let _=null;null!==o&&(_=Pv(o,s[Fr]));const w=l.rendererFactory.createRenderer(o,e);let N=16;e.signals?N=4096:e.onPush&&(N=64);const $=Mp(s,cd(e),null,N,s[t.index],t,l,w,null,null,_);return m.firstCreatePass&&$g(m,t,i.length-1),dd(s,$),s[t.index]=$}(Zi,ve,qt,En,tt,$,oe);Nt=vr(it,Dn),ve&&function Op(t,o,e,i){if(i)Yd(t,e,["ng-version",zv.full]);else{const{attrs:s,classes:l}=function Sh(t){const o=[],e=[];let i=1,s=2;for(;i<t.length;){let l=t[i];if("string"==typeof l)2===s?""!==l&&o.push(l,t[++i]):8===s&&e.push(l);else{if(!fr(s))break;s=l}i++}return{attrs:o,classes:e}}(o.selectors[0]);s&&Yd(t,e,s),l&&l.length>0&&Sa(t,e,l.join(" "))}}(oe,qt,ve,i),void 0!==e&&function Ls(t,o,e){const i=t.projection=[];for(let s=0;s<o.length;s++){const l=e[s];i.push(null!=l?Array.from(l):null)}}(Nt,this.ngContentSelectors,e),ut=function wA(t,o,e,i,s,l){const h=Uo(),m=s[Tt],_=hn(h,s);sy(m,s,h,e,null,i);for(let N=0;N<e.length;N++)Wo(Wc(s,m,h.directiveStart+N,h),s);aA(m,s,h),_&&Wo(_,s);const w=Wc(s,m,h.directiveStart+h.componentOffset,h);if(t[di]=s[di]=w,null!==l)for(const N of l)N(w,o);return ty(m,h,t),w}(Do,qt,En,Vn,tt,[CA]),xu(it,tt,null)}finally{Xd()}return new uS(this.componentType,ut,kp(Nt,tt),tt,Nt)}}class uS extends EC{constructor(o,e,i,s,l){super(),this.location=i,this._rootLView=s,this._tNode=l,this.previousInputValues=null,this.instance=e,this.hostView=this.changeDetectorRef=new lS(s),this.componentType=o}setInput(o,e){const i=this._tNode.inputs;let s;if(null!==i&&(s=i[o])){if(this.previousInputValues??=new Map,this.previousInputValues.has(o)&&Object.is(this.previousInputValues.get(o),e))return;const l=this._rootLView;ud(l[Tt],l,s,o,e),this.previousInputValues.set(o,e),Ap(Yr(this._tNode.index,l))}}get injector(){return new Cn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(o){this.hostView.onDestroy(o)}}function CA(){const t=Uo();Um(lt()[Tt],t)}function Ft(t){let o=function AA(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0;const i=[t];for(;o;){let s;if(_r(t))s=o.\u0275cmp||o.\u0275dir;else{if(o.\u0275cmp)throw new Ze(903,!1);s=o.\u0275dir}if(s){if(e){i.push(s);const h=t;h.inputs=Pp(t.inputs),h.inputTransforms=Pp(t.inputTransforms),h.declaredInputs=Pp(t.declaredInputs),h.outputs=Pp(t.outputs);const m=s.hostBindings;m&&TA(t,m);const _=s.viewQuery,w=s.contentQueries;if(_&&MA(t,_),w&&DA(t,w),kc(t.inputs,s.inputs),kc(t.declaredInputs,s.declaredInputs),kc(t.outputs,s.outputs),null!==s.inputTransforms&&(null===h.inputTransforms&&(h.inputTransforms={}),kc(h.inputTransforms,s.inputTransforms)),_r(s)&&s.data.animation){const N=t.data;N.animation=(N.animation||[]).concat(s.data.animation)}}const l=s.features;if(l)for(let h=0;h<l.length;h++){const m=l[h];m&&m.ngInherit&&m(t),m===Ft&&(e=!1)}}o=Object.getPrototypeOf(o)}!function fS(t){let o=0,e=null;for(let i=t.length-1;i>=0;i--){const s=t[i];s.hostVars=o+=s.hostVars,s.hostAttrs=Fl(s.hostAttrs,e=Fl(e,s.hostAttrs))}}(i)}function Pp(t){return t===pr?{}:t===Rn?[]:t}function MA(t,o){const e=t.viewQuery;t.viewQuery=e?(i,s)=>{o(i,s),e(i,s)}:o}function DA(t,o){const e=t.contentQueries;t.contentQueries=e?(i,s,l)=>{o(i,s,l),e(i,s,l)}:o}function TA(t,o){const e=t.hostBindings;t.hostBindings=e?(i,s)=>{o(i,s),e(i,s)}:o}function hd(t){return!!Qg(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function Qg(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function ea(t,o,e){return t[o]=e}function Su(t,o){return t[o]}function ir(t,o,e){return!Object.is(t[o],e)&&(t[o]=e,!0)}function pd(t,o,e,i){const s=ir(t,o,e);return ir(t,o+1,i)||s}function Jg(t,o,e,i,s){const l=pd(t,o,e,i);return ir(t,o+2,s)||l}function Ps(t,o,e,i,s,l){const h=pd(t,o,e,i);return pd(t,o+2,s,l)||h}function mt(t,o,e,i){const s=lt();return ir(s,er(),o)&&(Sn(),Xs(Oi(),s,t,o,e,i)),mt}function fd(t,o,e,i){return ir(t,er(),e)?o+cn(e)+i:kn}function md(t,o,e,i,s,l){const m=pd(t,function Da(){return tn.lFrame.bindingIndex}(),e,s);return as(2),m?o+cn(e)+i+cn(s)+l:kn}function J(t,o,e,i,s,l,h,m){const _=lt(),w=Sn(),N=t+Dn,$=w.firstCreatePass?function s_(t,o,e,i,s,l,h,m,_){const w=o.consts,N=Du(o,t,4,h||null,$s(w,m));Dp(o,e,N,$s(w,_)),Um(o,N);const $=N.tView=iy(2,N,i,s,l,o.directiveRegistry,o.pipeRegistry,null,o.schemas,w,null);return null!==o.queries&&(o.queries.template(o,N),$.queries=o.queries.embeddedTView(N)),N}(N,w,_,o,e,i,s,l,h):w.data[N];qs($,!1);const oe=vy(w,_,$,t);tu()&&rp(w,_,oe,$),Wo(oe,_),dd(_,_[N]=dA(oe,_,oe,$)),Nh($)&&Wg(w,_,$),null!=h&&ny(_,$,m)}let vy=function VA(t,o,e,i){return $l(!0),o[en].createComment("")};function ii(t){return Jo(function k0(){return tn.lFrame.contextLView}(),Dn+t)}function H(t,o,e){const i=lt();return ir(i,er(),o)&&function Gr(t,o,e,i,s,l,h,m){const _=hn(o,e);let N,w=o.inputs;!m&&null!=w&&(N=w[i])?(ud(t,e,N,i,s),cl(o)&&function qE(t,o){const e=Yr(o,t);16&e[un]||(e[un]|=64)}(e,o.index)):3&o.type&&(i=function $E(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(i),s=null!=h?h(s,o.value||"",i):s,l.setProperty(_,i,s))}(Sn(),Oi(),i,t,o,i[en],e,!1),H}function a_(t,o,e,i,s){const h=s?"class":"style";ud(t,e,o.inputs[h],h,i)}function ne(t,o,e,i){const s=lt(),l=Sn(),h=Dn+t,m=s[en],_=l.firstCreatePass?function DS(t,o,e,i,s,l){const h=o.consts,_=Du(o,t,2,i,$s(h,s));return Dp(o,e,_,$s(h,l)),null!==_.attrs&&Ep(_,_.attrs,!1),null!==_.mergedAttrs&&Ep(_,_.mergedAttrs,!0),null!==o.queries&&o.queries.elementStart(o,_),_}(h,l,s,o,e,i):l.data[h],w=yy(l,s,_,m,o,t);s[h]=w;const N=Nh(_);return qs(_,!0),sC(m,w,_),32!=(32&_.flags)&&tu()&&rp(l,s,w,_),0===function Rm(){return tn.lFrame.elementDepthCount}()&&Wo(w,s),function Yc(){tn.lFrame.elementDepthCount++}(),N&&(Wg(l,s,_),ty(l,_,s)),null!==i&&ny(s,_),ne}function re(){let t=Uo();y0()?jm():(t=t.parent,qs(t,!1));const o=t;(function yx(t){return tn.skipHydrationRootTNode===t})(o)&&function b0(){tn.skipHydrationRootTNode=null}(),function vx(){tn.lFrame.elementDepthCount--}();const e=Sn();return e.firstCreatePass&&(Um(e,t),Ph(t)&&e.queries.elementEnd(t)),null!=o.classesWithoutHost&&function qm(t){return 0!=(8&t.flags)}(o)&&a_(e,o,lt(),o.classesWithoutHost,!0),null!=o.stylesWithoutHost&&function Dx(t){return 0!=(16&t.flags)}(o)&&a_(e,o,lt(),o.stylesWithoutHost,!1),re}function Re(t,o,e,i){return ne(t,o,e,i),re(),Re}let yy=(t,o,e,i,s,l)=>($l(!0),ro(i,s,function pl(){return tn.lFrame.currentNamespace}()));function vt(t,o,e){const i=lt(),s=Sn(),l=t+Dn,h=s.firstCreatePass?function TS(t,o,e,i,s){const l=o.consts,h=$s(l,i),m=Du(o,t,8,"ng-container",h);return null!==h&&Ep(m,h,!0),Dp(o,e,m,$s(l,s)),null!==o.queries&&o.queries.elementStart(o,m),m}(l,s,i,o,e):s.data[l];qs(h,!0);const m=WA(s,i,h,t);return i[l]=m,tu()&&rp(s,i,m,h),Wo(m,i),Nh(h)&&(Wg(s,i,h),ty(s,h,i)),null!=e&&ny(i,h),vt}function kt(){let t=Uo();const o=Sn();return y0()?jm():(t=t.parent,qs(t,!1)),o.firstCreatePass&&(Um(o,t),Ph(t)&&o.queries.elementEnd(t)),kt}function Et(t,o,e){return vt(t,o,e),kt(),Et}let WA=(t,o,e,i)=>($l(!0),Kl(o[en],""));function wt(){return lt()}function Up(t){return!!t&&"function"==typeof t.then}function ky(t){return!!t&&"function"==typeof t.subscribe}function We(t,o,e,i){const s=lt(),l=Sn(),h=Uo();return function wy(t,o,e,i,s,l,h){const m=Nh(i),w=t.firstCreatePass&&Gg(t),N=o[di],$=ly(o);let oe=!0;if(3&i.type||h){const we=hn(i,o),xe=h?h(we):we,Ye=$.length,Fe=h?tt=>h(Ge(tt[i.index])):i.index;let it=null;if(!h&&m&&(it=function qA(t,o,e,i){const s=t.cleanup;if(null!=s)for(let l=0;l<s.length-1;l+=2){const h=s[l];if(h===e&&s[l+1]===i){const m=o[Hs],_=s[l+2];return m.length>_?m[_]:null}"string"==typeof h&&(l+=2)}return null}(t,o,s,i.index)),null!==it)(it.__ngLastListenerFn__||it).__ngNextListenerFn__=l,it.__ngLastListenerFn__=l,oe=!1;else{l=KA(i,o,N,l,!1);const tt=e.listen(xe,s,l);$.push(l,tt),w&&w.push(s,Fe,Ye,Ye+1)}}else l=KA(i,o,N,l,!1);const le=i.outputs;let ve;if(oe&&null!==le&&(ve=le[s])){const we=ve.length;if(we)for(let xe=0;xe<we;xe+=2){const ut=o[ve[xe]][ve[xe+1]].subscribe(l),Nt=$.length;$.push(l,ut),w&&w.push(s,i.index,Nt,-(Nt+1))}}}(l,s,s[en],h,t,o,i),We}function GA(t,o,e,i){try{return ee(6,o,e),!1!==e(i)}catch(s){return hA(t,s),!1}finally{ee(7,o,e)}}function KA(t,o,e,i,s){return function l(h){if(h===Function)return i;Ap(t.componentOffset>-1?Yr(t.index,o):o);let _=GA(o,e,i,h),w=l.__ngNextListenerFn__;for(;w;)_=GA(o,e,w,h)&&_,w=w.__ngNextListenerFn__;return s&&!1===_&&h.preventDefault(),_}}function X(t=1){return function hw(t){return(tn.lFrame.contextLView=function Ym(t,o){for(;t>0;)o=o[rl],t--;return o}(t,tn.lFrame.contextLView))[di]}(t)}function SS(t,o){let e=null;const i=function ka(t){const o=t.attrs;if(null!=o){const e=o.indexOf(5);if(!(1&e))return o[e+1]}return null}(t);for(let s=0;s<o.length;s++){const l=o[s];if("*"!==l){if(null===i?mr(t,l,!0):Lc(i,l))return s}else e=s}return e}function ms(t){const o=lt()[Ri][mo];if(!o.projection){const i=o.projection=Qh(t?t.length:1,null),s=i.slice();let l=o.child;for(;null!==l;){const h=t?SS(l,t):0;null!==h&&(s[h]?s[h].projectionNext=l:i[h]=l,s[h]=l),l=l.next}}}function or(t,o=0,e){const i=lt(),s=Sn(),l=Du(s,Dn+t,16,null,e||null);null===l.projection&&(l.projection=o),jm(),(!i[jr]||Ul())&&32!=(32&l.flags)&&function Xx(t,o,e){tv(o[en],0,o,e,ug(t,e,o),iC(e.parent||o[mo],e,o))}(s,i,l)}function ta(t,o){return t<<17|o<<2}function gs(t){return t>>17&32767}function c_(t){return 2|t}function Rs(t){return(131068&t)>>2}function xy(t,o){return-131069&t|o<<2}function Sy(t){return 1|t}function d_(t,o,e,i,s){const l=t[e+1],h=null===o;let m=i?gs(l):Rs(l),_=!1;for(;0!==m&&(!1===_||h);){const N=t[m+1];OS(t[m],o)&&(_=!0,t[m+1]=i?Sy(N):c_(N)),m=i?gs(N):Rs(N)}_&&(t[e+1]=i?c_(l):Sy(l))}function OS(t,o){return null===t||null==o||(Array.isArray(t)?t[1]:t)===o||!(!Array.isArray(t)||"string"!=typeof o)&&lu(t,o)>=0}const Co={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Wp(t){return t.substring(Co.key,Co.keyEnd)}function t2(t){return t.substring(Co.value,Co.valueEnd)}function o2(t,o){const e=Co.textEnd;return e===o?-1:(o=Co.keyEnd=function PS(t,o,e){for(;o<e&&t.charCodeAt(o)>32;)o++;return o}(t,Co.key=o,e),Fu(t,o,e))}function s2(t,o){const e=Co.textEnd;let i=Co.key=Fu(t,o,e);return e===i?-1:(i=Co.keyEnd=function $p(t,o,e){let i;for(;o<e&&(45===(i=t.charCodeAt(o))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)o++;return o}(t,i,e),i=u_(t,i,e),i=Co.value=Fu(t,i,e),i=Co.valueEnd=function Iy(t,o,e){let i=-1,s=-1,l=-1,h=o,m=h;for(;h<e;){const _=t.charCodeAt(h++);if(59===_)return m;34===_||39===_?m=h=h_(t,_,h,e):o===h-4&&85===l&&82===s&&76===i&&40===_?m=h=h_(t,41,h,e):_>32&&(m=h),l=s,s=i,i=-33&_}return m}(t,i,e),u_(t,i,e))}function a2(t){Co.key=0,Co.keyEnd=0,Co.value=0,Co.valueEnd=0,Co.textEnd=t.length}function Fu(t,o,e){for(;o<e&&t.charCodeAt(o)<=32;)o++;return o}function u_(t,o,e,i){return(o=Fu(t,o,e))<e&&o++,o}function h_(t,o,e,i){let s=-1,l=e;for(;l<i;){const h=t.charCodeAt(l++);if(h==o&&92!==s)return l;s=92==h&&92===s?0:h}throw new Error}function _s(t,o,e){return ia(t,o,e,!1),_s}function Wi(t,o){return ia(t,o,null,!0),Wi}function $i(t){oa(c2,RS,t,!1)}function RS(t,o){for(let e=function r2(t){return a2(t),s2(t,Fu(t,0,Co.textEnd))}(o);e>=0;e=s2(o,e))c2(t,Wp(o),t2(o))}function Mt(t){oa(d2,na,t,!0)}function na(t,o){for(let e=function n2(t){return a2(t),o2(t,Fu(t,0,Co.textEnd))}(o);e>=0;e=o2(o,e))tr(t,Wp(o),!0)}function ia(t,o,e,i){const s=lt(),l=Sn(),h=as(2);l.firstUpdatePass&&Oy(l,t,h,i),o!==kn&&ir(s,h,o)&&h2(l,l.data[yr()],s,s[en],t,s[h+1]=function zS(t,o){return null==t||""===t||("string"==typeof o?t+=o:"object"==typeof t&&(t=Ii(ps(t)))),t}(o,e),i,h)}function oa(t,o,e,i){const s=Sn(),l=as(2);s.firstUpdatePass&&Oy(s,null,l,i);const h=lt();if(e!==kn&&ir(h,l,e)){const m=s.data[yr()];if(f_(m,i)&&!Ly(s,l)){let _=i?m.classesWithoutHost:m.stylesWithoutHost;null!==_&&(e=ns(_,e||"")),a_(s,m,h,e,i)}else!function u2(t,o,e,i,s,l,h,m){s===kn&&(s=Rn);let _=0,w=0,N=0<s.length?s[0]:null,$=0<l.length?l[0]:null;for(;null!==N||null!==$;){const oe=_<s.length?s[_+1]:void 0,le=w<l.length?l[w+1]:void 0;let we,ve=null;N===$?(_+=2,w+=2,oe!==le&&(ve=$,we=le)):null===$||null!==N&&N<$?(_+=2,ve=N):(w+=2,ve=$,we=le),null!==ve&&h2(t,o,e,i,ve,we,h,m),N=_<s.length?s[_]:null,$=w<l.length?l[w]:null}}(s,m,h,h[en],h[l+1],h[l+1]=function jS(t,o,e){if(null==e||""===e)return Rn;const i=[],s=ps(e);if(Array.isArray(s))for(let l=0;l<s.length;l++)t(i,s[l],!0);else if("object"==typeof s)for(const l in s)s.hasOwnProperty(l)&&t(i,l,s[l]);else"string"==typeof s&&o(i,s);return i}(t,o,e),i,l)}}function Ly(t,o){return o>=t.expandoStartIndex}function Oy(t,o,e,i){const s=t.data;if(null===s[e+1]){const l=s[yr()],h=Ly(t,e);f_(l,i)&&null===o&&!h&&(o=!1),o=function qp(t,o,e,i){const s=function A0(t){const o=tn.lFrame.currentDirectiveIndex;return-1===o?null:t[o]}(t);let l=i?o.residualClasses:o.residualStyles;if(null===s)0===(i?o.classBindings:o.styleBindings)&&(e=Bu(e=Py(null,t,o,e,i),o.attrs,i),l=null);else{const h=o.directiveStylingLast;if(-1===h||t[h]!==s)if(e=Py(s,t,o,e,i),null===l){let _=function l2(t,o,e){const i=e?o.classBindings:o.styleBindings;if(0!==Rs(i))return t[gs(i)]}(t,o,i);void 0!==_&&Array.isArray(_)&&(_=Py(null,t,o,_[1],i),_=Bu(_,o.attrs,i),function FS(t,o,e,i){t[gs(e?o.classBindings:o.styleBindings)]=i}(t,o,i,_))}else l=function BS(t,o,e){let i;const s=o.directiveEnd;for(let l=1+o.directiveStylingLast;l<s;l++)i=Bu(i,t[l].hostAttrs,e);return Bu(i,o.attrs,e)}(t,o,i)}return void 0!==l&&(i?o.residualClasses=l:o.residualStyles=l),e}(s,l,o,i),function Ru(t,o,e,i,s,l){let h=l?o.classBindings:o.styleBindings,m=gs(h),_=Rs(h);t[i]=e;let N,w=!1;if(Array.isArray(e)?(N=e[1],(null===N||lu(e,N)>0)&&(w=!0)):N=e,s)if(0!==_){const oe=gs(t[m+1]);t[i+1]=ta(oe,m),0!==oe&&(t[oe+1]=xy(t[oe+1],i)),t[m+1]=function l_(t,o){return 131071&t|o<<17}(t[m+1],i)}else t[i+1]=ta(m,0),0!==m&&(t[m+1]=xy(t[m+1],i)),m=i;else t[i+1]=ta(_,0),0===m?m=i:t[_+1]=xy(t[_+1],i),_=i;w&&(t[i+1]=c_(t[i+1])),d_(t,N,i,!0),d_(t,N,i,!1),function LS(t,o,e,i,s){const l=s?t.residualClasses:t.residualStyles;null!=l&&"string"==typeof o&&lu(l,o)>=0&&(e[i+1]=Sy(e[i+1]))}(o,N,t,i,l),h=ta(m,_),l?o.classBindings=h:o.styleBindings=h}(s,l,o,e,h,i)}}function Py(t,o,e,i,s){let l=null;const h=e.directiveEnd;let m=e.directiveStylingLast;for(-1===m?m=e.directiveStart:m++;m<h&&(l=o[m],i=Bu(i,l.hostAttrs,s),l!==t);)m++;return null!==t&&(e.directiveStylingLast=m),i}function Bu(t,o,e){const i=e?1:2;let s=-1;if(null!==o)for(let l=0;l<o.length;l++){const h=o[l];"number"==typeof h?s=h:s===i&&(Array.isArray(t)||(t=void 0===t?[]:["",t]),tr(t,h,!!e||o[++l]))}return void 0===t?null:t}function c2(t,o,e){tr(t,o,ps(e))}function d2(t,o,e){const i=String(o);""!==i&&!i.includes(" ")&&tr(t,i,e)}function h2(t,o,e,i,s,l,h,m){if(!(3&o.type))return;const _=t.data,w=_[m+1],N=function Ey(t){return 1==(1&t)}(w)?p2(_,o,e,s,Rs(w),h):void 0;p_(N)||(p_(l)||function e2(t){return 2==(2&t)}(w)&&(l=p2(_,null,e,s,m,h)),function mu(t,o,e,i,s){if(o)s?t.addClass(e,i):t.removeClass(e,i);else{let l=-1===i.indexOf("-")?void 0:Gl.DashCase;null==s?t.removeStyle(e,i,l):("string"==typeof s&&s.endsWith("!important")&&(s=s.slice(0,-10),l|=Gl.Important),t.setStyle(e,i,s,l))}}(i,h,mn(yr(),e),s,l))}function p2(t,o,e,i,s,l){const h=null===o;let m;for(;s>0;){const _=t[s],w=Array.isArray(_),N=w?_[1]:_,$=null===N;let oe=e[s+1];oe===kn&&(oe=$?Rn:void 0);let le=$?hs(oe,i):N===i?oe:void 0;if(w&&!p_(le)&&(le=hs(_,i)),p_(le)&&(m=le,h))return m;const ve=t[s+1];s=h?gs(ve):Rs(ve)}if(null!==o){let _=l?o.residualClasses:o.residualStyles;null!=_&&(m=hs(_,i))}return m}function p_(t){return void 0!==t}function f_(t,o){return 0!=(t.flags&(o?8:16))}function ze(t,o=""){const e=lt(),i=Sn(),s=t+Dn,l=i.firstCreatePass?Du(i,s,1,o,null):i.data[s],h=m_(i,e,l,o,t);e[s]=h,tu()&&rp(i,e,h,l),qs(l,!1)}let m_=(t,o,e,i,s)=>($l(!0),function ip(t,o){return t.createText(o)}(o[en],i));function nn(t){return rr("",t,""),nn}function rr(t,o,e){const i=lt(),s=fd(i,t,o,e);return s!==kn&&yl(i,yr(),s),rr}function Gp(t,o,e,i,s){const l=lt(),h=md(l,t,o,e,i,s);return h!==kn&&yl(l,yr(),h),Gp}const vd=void 0;var S2=["en",[["a","p"],["AM","PM"],vd],[["AM","PM"],vd,vd],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],vd,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],vd,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",vd,"{1} 'at' {0}",vd],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function QS(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let ju={};function Dr(t){const o=function g_(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=I2(o);if(e)return e;const i=o.split("-")[0];if(e=I2(i),e)return e;if("en"===i)return S2;throw new Ze(701,!1)}function I2(t){return t in ju||(ju[t]=ci.ng&&ci.ng.common&&ci.ng.common.locales&&ci.ng.common.locales[t]),ju[t]}var Ai=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(Ai||{});const yd="en-US";let O2=yd;function d1(t,o,e,i,s){if(t=ln(t),Array.isArray(t))for(let l=0;l<t.length;l++)d1(t[l],o,e,i,s);else{const l=Sn(),h=lt(),m=Uo();let _=sd(t)?t:ln(t.provide);const w=Dv(t),N=1048575&m.providerIndexes,$=m.directiveStart,oe=m.providerIndexes>>20;if(sd(t)||!t.multi){const le=new Wh(w,s,Ce),ve=nf(_,o,s?N:N+oe,$);-1===ve?(S0(Zm(m,h),l,_),C_(l,t,o.length),o.push(_),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),e.push(le),h.push(le)):(e[ve]=le,h[ve]=le)}else{const le=nf(_,o,N+oe,$),ve=nf(_,o,N,N+oe),xe=ve>=0&&e[ve];if(s&&!xe||!s&&!(le>=0&&e[le])){S0(Zm(m,h),l,_);const Ye=function hM(t,o,e,i,s){const l=new Wh(t,e,Ce);return l.multi=[],l.index=o,l.componentProviders=0,dM(l,s,i&&!e),l}(s?uM:u1,e.length,s,i,w);!s&&xe&&(e[ve].providerFactory=Ye),C_(l,t,o.length,0),o.push(_),m.directiveStart++,m.directiveEnd++,s&&(m.providerIndexes+=1048576),e.push(Ye),h.push(Ye)}else C_(l,t,le>-1?le:ve,dM(e[s?ve:le],w,!s&&i));!s&&i&&xe&&e[ve].componentProviders++}}}function C_(t,o,e,i){const s=sd(o),l=function wg(t){return!!t.useClass}(o);if(s||l){const _=(l?ln(o.useClass):o).prototype.ngOnDestroy;if(_){const w=t.destroyHooks||(t.destroyHooks=[]);if(!s&&o.multi){const N=w.indexOf(e);-1===N?w.push(e,[i,_]):w[N+1].push(i,_)}else w.push(e,_)}}}function dM(t,o,e){return e&&t.componentProviders++,t.multi.push(o)-1}function nf(t,o,e,i){for(let s=e;s<i;s++)if(o[s]===t)return s;return-1}function u1(t,o,e,i){return A_(this.multi,[])}function uM(t,o,e,i){const s=this.multi;let l;if(this.providerFactory){const h=this.providerFactory.componentProviders,m=Wc(e,e[Tt],this.providerFactory.index,i);l=m.slice(0,h),A_(s,l);for(let _=h;_<m.length;_++)l.push(m[_])}else l=[],A_(s,l);return l}function A_(t,o){for(let e=0;e<t.length;e++)o.push((0,t[e])());return o}function Pt(t,o=[]){return e=>{e.providersResolver=(i,s)=>function cM(t,o,e){const i=Sn();if(i.firstCreatePass){const s=_r(t);d1(e,i.data,i.blueprint,s,!0),d1(o,i.data,i.blueprint,s,!1)}}(i,s?s(t):t,o)}}class ec{}class pM{}class h1 extends ec{constructor(o,e,i){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new vA(this);const s=fo(o);this._bootstrapComponents=Pa(s.bootstrap),this._r3Injector=FC(o,e,[{provide:ec,useValue:this},{provide:Ng,useValue:this.componentFactoryResolver},...i],Ii(o),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(o)}get injector(){return this._r3Injector}destroy(){const o=this._r3Injector;!o.destroyed&&o.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(o){this.destroyCbs.push(o)}}class p1 extends pM{constructor(o){super(),this.moduleType=o}create(o){return new h1(this.moduleType,o,[])}}class fM extends ec{constructor(o){super(),this.componentFactoryResolver=new vA(this),this.instance=null;const e=new ad([...o.providers,{provide:ec,useValue:this},{provide:Ng,useValue:this.componentFactoryResolver}],o.parent||gp(),o.debugName,new Set(["environment"]));this.injector=e,o.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(o){this.injector.onDestroy(o)}}function f1(t,o,e=null){return new fM({providers:t,parent:o,debugName:e,runEnvironmentInitializers:!0}).injector}let DI=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const i=yv(0,e.type),s=i.length>0?f1([i],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,s)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=gt({token:t,providedIn:"environment",factory:()=>new t(st(fs))})}return t})();function Wn(t){t.getStandaloneInjector=o=>o.get(DI).getOrCreateStandaloneInjector(t)}function qo(t,o,e){const i=Xo()+t,s=lt();return s[i]===kn?ea(s,i,e?o.call(e):o()):Su(s,i)}function gn(t,o,e,i){return ra(lt(),Xo(),t,o,e,i)}function Xn(t,o,e,i,s){return kM(lt(),Xo(),t,o,e,i,s)}function Tr(t,o,e,i,s,l){return function T_(t,o,e,i,s,l,h,m){const _=o+e;return Jg(t,_,s,l,h)?ea(t,_+3,m?i.call(m,s,l,h):i(s,l,h)):sf(t,_+3)}(lt(),Xo(),t,o,e,i,s,l)}function tc(t,o,e,i,s,l,h){return function v1(t,o,e,i,s,l,h,m,_){const w=o+e;return Ps(t,w,s,l,h,m)?ea(t,w+4,_?i.call(_,s,l,h,m):i(s,l,h,m)):sf(t,w+4)}(lt(),Xo(),t,o,e,i,s,l,h)}function rf(t,o,e,i,s,l,h,m){const _=Xo()+t,w=lt(),N=Ps(w,_,e,i,s,l);return ir(w,_+4,h)||N?ea(w,_+5,m?o.call(m,e,i,s,l,h):o(e,i,s,l,h)):Su(w,_+5)}function Hu(t,o,e,i,s,l,h,m,_){const w=Xo()+t,N=lt(),$=Ps(N,w,e,i,s,l);return pd(N,w+4,h,m)||$?ea(N,w+6,_?o.call(_,e,i,s,l,h,m):o(e,i,s,l,h,m)):Su(N,w+6)}function b1(t,o,e,i){return function wM(t,o,e,i,s,l){let h=o+e,m=!1;for(let _=0;_<s.length;_++)ir(t,h++,s[_])&&(m=!0);return m?ea(t,h,i.apply(l,s)):sf(t,h)}(lt(),Xo(),t,o,e,i)}function sf(t,o){const e=t[o];return e===kn?void 0:e}function ra(t,o,e,i,s,l){const h=o+e;return ir(t,h,s)?ea(t,h+1,l?i.call(l,s):i(s)):sf(t,h+1)}function kM(t,o,e,i,s,l,h){const m=o+e;return pd(t,m,s,l)?ea(t,m+2,h?i.call(h,s,l):i(s,l)):sf(t,m+2)}function x_(t,o){const e=Sn();let i;const s=t+Dn;e.firstCreatePass?(i=function CM(t,o){if(o)for(let e=o.length-1;e>=0;e--){const i=o[e];if(t===i.name)return i}}(o,e.pipeRegistry),e.data[s]=i,i.onDestroy&&(e.destroyHooks??=[]).push(s,i.onDestroy)):i=e.data[s];const l=i.factory||(i.factory=xn(i.type)),m=Zo(Ce);try{const _=Km(!1),w=l();return Km(_),function HA(t,o,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),o[e]=i}(e,lt(),s,w),w}finally{Zo(m)}}function Uu(t,o){return t[Tt].data[o].pure}function RI(){return this._results[Symbol.iterator]()}class nc{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Qe)}constructor(o=!1){this._emitDistinctChangesOnly=o,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=nc.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=RI)}get(o){return this._results[o]}map(o){return this._results.map(o)}filter(o){return this._results.filter(o)}find(o){return this._results.find(o)}reduce(o,e){return this._results.reduce(o,e)}forEach(o){this._results.forEach(o)}some(o){return this._results.some(o)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(o,e){const i=this;i.dirty=!1;const s=function us(t){return t.flat(Number.POSITIVE_INFINITY)}(o);(this._changesDetected=!function ds(t,o,e){if(t.length!==o.length)return!1;for(let i=0;i<t.length;i++){let s=t[i],l=o[i];if(e&&(s=e(s),l=e(l)),l!==s)return!1}return!0}(i._results,s,e))&&(i._results=s,i.length=s.length,i.last=s[this.length-1],i.first=s[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function y1(t,o,e,i=!0){const s=o[Tt];if(function Kx(t,o,e,i){const s=go+i,l=e.length;i>0&&(e[s-1][gr]=o),i<l-go?(o[gr]=e[s],P0(e,go+i,o)):(e.push(o),o[gr]=null),o[Ci]=e;const h=o[Pc];null!==h&&e!==h&&function Zx(t,o){const e=t[jl];o[Ri]!==o[Ci][Ci][Ri]&&(t[$d]=!0),null===e?t[jl]=[o]:e.push(o)}(h,o);const m=o[_n];null!==m&&m.insertView(t),o[un]|=128}(s,o,t,e),i){const l=ev(e,t),h=o[en],m=hg(h,t[Ts]);null!==m&&function qx(t,o,e,i,s,l){i[oi]=s,i[mo]=o,ap(t,i,e,1,s,l)}(s,t[mo],h,o,m,l)}}let ei=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=TM}return t})();const k1=ei,ic=class extends k1{constructor(o,e,i){super(),this._declarationLView=o,this._declarationTContainer=e,this.elementRef=i}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(o,e){return this.createEmbeddedViewImpl(o,e)}createEmbeddedViewImpl(o,e,i){const s=function MM(t,o,e,i){const s=o.tView,m=Mp(t,s,e,4096&t[un]?4096:16,null,o,null,null,null,i?.injector??null,i?.hydrationInfo??null);m[Pc]=t[o.index];const w=t[_n];return null!==w&&(m[_n]=w.createEmbeddedView(s)),xu(s,m,e),m}(this._declarationLView,this._declarationTContainer,o,{injector:e,hydrationInfo:i});return new Ip(s)}};function TM(){return Ra(Uo(),lt())}function Ra(t,o){return 4&t.type?new ic(o,t,kp(t,o)):null}let xr=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=FI}return t})();function FI(){return T1(Uo(),lt())}const EM=xr,M1=class extends EM{constructor(o,e,i){super(),this._lContainer=o,this._hostTNode=e,this._hostLView=i}get element(){return kp(this._hostTNode,this._hostLView)}get injector(){return new Cn(this._hostTNode,this._hostLView)}get parentInjector(){const o=Kh(this._hostTNode,this._hostLView);if(Gm(o)){const e=iu(o,this._hostLView),i=qh(o);return new Cn(e[Tt].data[i+8],e)}return new Cn(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(o){const e=D1(this._lContainer);return null!==e&&e[o]||null}get length(){return this._lContainer.length-go}createEmbeddedView(o,e,i){let s,l;"number"==typeof i?s=i:null!=i&&(s=i.index,l=i.injector);const m=o.createEmbeddedViewImpl(e||{},l,null);return this.insertImpl(m,s,false),m}createComponent(o,e,i,s,l){const h=o&&!function ru(t){return"function"==typeof t}(o);let m;if(h)m=e;else{const we=e||{};m=we.index,i=we.injector,s=we.projectableNodes,l=we.environmentInjector||we.ngModuleRef}const _=h?o:new Lp(Bn(o)),w=i||this.parentInjector;if(!l&&null==_.ngModule){const xe=(h?w:this.parentInjector).get(fs,null);xe&&(l=xe)}Bn(_.componentType??{});const le=_.create(w,s,null,l);return this.insertImpl(le.hostView,m,false),le}insert(o,e){return this.insertImpl(o,e,!1)}insertImpl(o,e,i){const s=o._lView;if(function dn(t){return _o(t[Ci])}(s)){const _=this.indexOf(o);if(-1!==_)this.detach(_);else{const w=s[Ci],N=new M1(w,w[mo],w[Ci]);N.detach(N.indexOf(o))}}const h=this._adjustIndex(e),m=this._lContainer;return y1(m,s,h,!i),o.attachToViewContainerRef(),P0(E_(m),h,o),o}move(o,e){return this.insert(o,e)}indexOf(o){const e=D1(this._lContainer);return null!==e?e.indexOf(o):-1}remove(o){const e=this._adjustIndex(o,-1),i=cg(this._lContainer,e);i&&(au(E_(this._lContainer),e),Z0(i[Tt],i))}detach(o){const e=this._adjustIndex(o,-1),i=cg(this._lContainer,e);return i&&null!=au(E_(this._lContainer),e)?new Ip(i):null}_adjustIndex(o,e=0){return o??this.length+e}};function D1(t){return t[8]}function E_(t){return t[8]||(t[8]=[])}function T1(t,o){let e;const i=o[t.index];return _o(i)?e=i:(e=dA(i,o,null,t),o[t.index]=e,dd(o,e)),x1(e,o,t,i),new M1(e,t,o)}let x1=function uf(t,o,e,i){if(t[Ts])return;let s;s=8&e.type?Ge(i):function BI(t,o){const e=t[en],i=e.createComment(""),s=hn(o,t);return td(e,hg(e,s),i,function nC(t,o){return t.nextSibling(o)}(e,s),!1),i}(o,e),t[Ts]=s};class S_{constructor(o){this.queryList=o,this.matches=null}clone(){return new S_(this.queryList)}setDirty(){this.queryList.setDirty()}}class I_{constructor(o=[]){this.queries=o}createEmbeddedView(o){const e=o.queries;if(null!==e){const i=null!==o.contentQueries?o.contentQueries[0]:e.length,s=[];for(let l=0;l<i;l++){const h=e.getByIndex(l);s.push(this.queries[h.indexInDeclarationView].clone())}return new I_(s)}return null}insertView(o){this.dirtyQueriesWithMatches(o)}detachView(o){this.dirtyQueriesWithMatches(o)}dirtyQueriesWithMatches(o){for(let e=0;e<this.queries.length;e++)null!==BM(o,e).matches&&this.queries[e].setDirty()}}class Fs{constructor(o,e,i=null){this.predicate=o,this.flags=e,this.read=i}}class E1{constructor(o=[]){this.queries=o}elementStart(o,e){for(let i=0;i<this.queries.length;i++)this.queries[i].elementStart(o,e)}elementEnd(o){for(let e=0;e<this.queries.length;e++)this.queries[e].elementEnd(o)}embeddedTView(o){let e=null;for(let i=0;i<this.length;i++){const s=null!==e?e.length:0,l=this.getByIndex(i).embeddedTView(o,s);l&&(l.indexInDeclarationView=i,null!==e?e.push(l):e=[l])}return null!==e?new E1(e):null}template(o,e){for(let i=0;i<this.queries.length;i++)this.queries[i].template(o,e)}getByIndex(o){return this.queries[o]}get length(){return this.queries.length}track(o){this.queries.push(o)}}class L_{constructor(o,e=-1){this.metadata=o,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=e}elementStart(o,e){this.isApplyingToNode(e)&&this.matchTNode(o,e)}elementEnd(o){this._declarationNodeIndex===o.index&&(this._appliesToNextNode=!1)}template(o,e){this.elementStart(o,e)}embeddedTView(o,e){return this.isApplyingToNode(o)?(this.crossesNgTemplate=!0,this.addMatch(-o.index,e),new L_(this.metadata)):null}isApplyingToNode(o){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const e=this._declarationNodeIndex;let i=o.parent;for(;null!==i&&8&i.type&&i.index!==e;)i=i.parent;return e===(null!==i?i.index:-1)}return this._appliesToNextNode}matchTNode(o,e){const i=this.metadata.predicate;if(Array.isArray(i))for(let s=0;s<i.length;s++){const l=i[s];this.matchTNodeWithReadOption(o,e,SM(e,l)),this.matchTNodeWithReadOption(o,e,Jm(e,o,l,!1,!1))}else i===ei?4&e.type&&this.matchTNodeWithReadOption(o,e,-1):this.matchTNodeWithReadOption(o,e,Jm(e,o,i,!1,!1))}matchTNodeWithReadOption(o,e,i){if(null!==i){const s=this.metadata.read;if(null!==s)if(s===An||s===xr||s===ei&&4&e.type)this.addMatch(e.index,-2);else{const l=Jm(e,o,s,!1,!1);null!==l&&this.addMatch(e.index,l)}else this.addMatch(e.index,i)}}addMatch(o,e){null===this.matches?this.matches=[o,e]:this.matches.push(o,e)}}function SM(t,o){const e=t.localNames;if(null!==e)for(let i=0;i<e.length;i+=2)if(e[i]===o)return e[i+1];return null}function LM(t,o,e,i){return-1===e?function IM(t,o){return 11&t.type?kp(t,o):4&t.type?Ra(t,o):null}(o,t):-2===e?function OM(t,o,e){return e===An?kp(o,t):e===ei?Ra(o,t):e===xr?T1(o,t):void 0}(t,o,i):Wc(t,t[Tt],e,o)}function PM(t,o,e,i){const s=o[_n].queries[i];if(null===s.matches){const l=t.data,h=e.matches,m=[];for(let _=0;_<h.length;_+=2){const w=h[_];m.push(w<0?null:LM(o,l[w],h[_+1],e.metadata.read))}s.matches=m}return s.matches}function O_(t,o,e,i){const s=t.queries.getByIndex(e),l=s.matches;if(null!==l){const h=PM(t,o,s,e);for(let m=0;m<l.length;m+=2){const _=l[m];if(_>0)i.push(h[m/2]);else{const w=l[m+1],N=o[-_];for(let $=go;$<N.length;$++){const oe=N[$];oe[Pc]===oe[Ci]&&O_(oe[Tt],oe,w,i)}if(null!==N[jl]){const $=N[jl];for(let oe=0;oe<$.length;oe++){const le=$[oe];O_(le[Tt],le,w,i)}}}}}return i}function zt(t){const o=lt(),e=Sn(),i=aw();Hm(i+1);const s=BM(e,i);if(t.dirty&&function Vc(t){return 4==(4&t[un])}(o)===(2==(2&s.metadata.flags))){if(null===s.matches)t.reset([]);else{const l=s.crossesNgTemplate?O_(e,o,i,[]):PM(e,o,s,i);t.reset(l,DE),t.notifyOnChanges()}return!0}return!1}function Pn(t,o,e){const i=Sn();i.firstCreatePass&&(FM(i,new Fs(t,o,e),-1),2==(2&o)&&(i.staticViewQueries=!0)),RM(i,lt(),o)}function pi(t,o,e,i){const s=Sn();if(s.firstCreatePass){const l=Uo();FM(s,new Fs(o,e,i),l.index),function VI(t,o){const e=t.contentQueries||(t.contentQueries=[]);o!==(e.length?e[e.length-1]:-1)&&e.push(t.queries.length-1,o)}(s,t),2==(2&e)&&(s.staticContentQueries=!0)}RM(s,lt(),e)}function jt(){return function NM(t,o){return t[_n].queries[o].queryList}(lt(),aw())}function RM(t,o,e){const i=new nc(4==(4&e));(function iA(t,o,e,i){const s=ly(o);s.push(e),t.firstCreatePass&&Gg(t).push(i,s.length-1)})(t,o,i,i.destroy),null===o[_n]&&(o[_n]=new I_),o[_n].queries.push(new S_(i))}function FM(t,o,e){null===t.queries&&(t.queries=new E1),t.queries.track(new L_(o,e))}function BM(t,o){return t.queries.getByIndex(o)}function Go(t,o){return Ra(t,o)}const pf=new pt("Application Initializer");let ff=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i}),this.appInits=_t(pf,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const s of this.appInits){const l=s();if(Up(l))e.push(l);else if(ky(l)){const h=new Promise((m,_)=>{l.subscribe({complete:m,error:_})});e.push(h)}}const i=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{i()}).catch(s=>{this.reject(s)}),0===e.length&&i(),this.initialized=!0}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),z_=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const aa=new pt("LocaleId",{providedIn:"root",factory:()=>_t(aa,Mn.Optional|Mn.SkipSelf)||function oD(){return typeof $localize<"u"&&$localize.locale||yd}()});let H_=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new to(!1)}add(){this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class g3{constructor(o,e){this.ngModuleFactory=o,this.componentFactories=e}}let rD=(()=>{class t{compileModuleSync(e){return new p1(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),l=Pa(fo(e).declarations).reduce((h,m)=>{const _=Bn(m);return _&&h.push(new Lp(_)),h},[]);return new g3(i,l)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const B1=new pt(""),Y_=new pt("");let gf,Al=(()=>{class t{constructor(e,i,s){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,gf||(function z1(t){gf=t}(s),s.addToWindow(i)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{yn.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,s){let l=-1;i&&i>0&&(l=setTimeout(()=>{this._callbacks=this._callbacks.filter(h=>h.timeoutId!==l),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:l,updateCb:s})}whenStable(e,i,s){if(s&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,s),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,i,s){return[]}static#e=this.\u0275fac=function(i){return new(i||t)(st(yn),st(j1),st(Y_))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})(),j1=(()=>{class t{constructor(){this._applications=new Map}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return gf?.findTestabilityInTree(this,e,i)??null}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Ml=null;const mD=new pt("AllowMultipleToken"),V1=new pt("PlatformDestroyListeners"),H1=new pt("appBootstrapListener");class bD{constructor(o,e){this.name=o,this.token=e}}function wD(t,o,e=[]){const i=`Platform: ${o}`,s=new pt(i);return(l=[])=>{let h=Y1();if(!h||h.injector.get(mD,!1)){const m=[...e,...l,{provide:s,useValue:!0}];t?t(m):function vD(t){if(Ml&&!Ml.get(mD,!1))throw new Ze(400,!1);(function _D(){!function d0(t){Bc=t}(()=>{throw new Ze(600,!1)})})(),Ml=t;const o=t.get(U1);(function kD(t){t.get(AC,null)?.forEach(e=>e())})(t)}(function AD(t=[],o){return nr.create({name:o,providers:[{provide:fp,useValue:"platform"},{provide:V1,useValue:new Set([()=>Ml=null])},...t]})}(m,i))}return function CD(t){const o=Y1();if(!o)throw new Ze(401,!1);return o}()}}function Y1(){return Ml?.get(U1)??null}let U1=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const s=function Ad(t="zone.js",o){return"noop"===t?new LE:"zone.js"===t?new yn(o):t}(i?.ngZone,function MD(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}({eventCoalescing:i?.ngZoneEventCoalescing,runCoalescing:i?.ngZoneRunCoalescing}));return s.run(()=>{const l=function MI(t,o,e){return new h1(t,o,e)}(e.moduleType,this.injector,function ED(t){return[{provide:yn,useFactory:t},{provide:hp,multi:!0,useFactory:()=>{const o=_t(xD,{optional:!0});return()=>o.initialize()}},{provide:TD,useFactory:P3},{provide:qv,useFactory:Ar}]}(()=>s)),h=l.injector.get(Cr,null);return s.runOutsideAngular(()=>{const m=s.onError.subscribe({next:_=>{h.handleError(_)}});l.onDestroy(()=>{U_(this._modules,l),m.unsubscribe()})}),function W1(t,o,e){try{const i=e();return Up(i)?i.catch(s=>{throw o.runOutsideAngular(()=>t.handleError(s)),s}):i}catch(i){throw o.runOutsideAngular(()=>t.handleError(i)),i}}(h,s,()=>{const m=l.injector.get(ff);return m.runInitializers(),m.donePromise.then(()=>(function b_(t){hr(t,"Expected localeId to be defined"),"string"==typeof t&&(O2=t.toLowerCase().replace(/_/g,"-"))}(l.injector.get(aa,yd)||yd),this._moduleDoBootstrap(l),l))})})}bootstrapModule(e,i=[]){const s=DD({},i);return function gD(t,o,e){const i=new p1(e);return Promise.resolve(i)}(0,0,e).then(l=>this.bootstrapModuleFactory(l,s))}_moduleDoBootstrap(e){const i=e.injector.get(oc);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(s=>i.bootstrap(s));else{if(!e.instance.ngDoBootstrap)throw new Ze(-403,!1);e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Ze(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(V1,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(i){return new(i||t)(st(nr))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function DD(t,o){return Array.isArray(o)?o.reduce(DD,t):{...t,...o}}let oc=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=_t(TD),this.zoneIsStable=_t(qv),this.componentTypes=[],this.components=[],this.isStable=_t(H_).hasPendingTasks.pipe(Or(e=>e?Yt(!1):this.zoneIsStable),fh(),Lr()),this._injector=_t(fs)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const s=e instanceof Fv;if(!this._injector.get(ff).done)throw!s&&function ki(t){const o=Bn(t)||Ji(t)||So(t);return null!==o&&o.standalone}(e),new Ze(405,!1);let h;h=s?e:this._injector.get(Ng).resolveComponentFactory(e),this.componentTypes.push(h.componentType);const m=function I3(t){return t.isBoundToModule}(h)?void 0:this._injector.get(ec),w=h.create(nr.NULL,[],i||h.selector,m),N=w.location.nativeElement,$=w.injector.get(B1,null);return $?.registerApplication(N),w.onDestroy(()=>{this.detachView(w.hostView),U_(this.components,w),$?.unregisterApplication(N)}),this._loadComponent(w),w}tick(){if(this._runningTick)throw new Ze(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this.internalErrorHandler(e)}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;U_(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const i=this._injector.get(H1,[]);i.push(...this._bootstrapListeners),i.forEach(s=>s(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>U_(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new Ze(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function U_(t,o){const e=t.indexOf(o);e>-1&&t.splice(e,1)}const TD=new pt("",{providedIn:"root",factory:()=>_t(Cr).handleError.bind(void 0)});function P3(){const t=_t(yn),o=_t(Cr);return e=>t.runOutsideAngular(()=>o.handleError(e))}let xD=(()=>{class t{constructor(){this.zone=_t(yn),this.applicationRef=_t(oc)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();let Mi=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=F3}return t})();function F3(t){return function B3(t,o,e){if(cl(t)&&!e){const i=Yr(t.index,o);return new Ip(i,i)}return 47&t.type?new Ip(o[Ri],o):null}(Uo(),lt(),16==(16&t))}class He{constructor(){}supports(o){return hd(o)}create(o){return new It(o)}}const ct=(t,o)=>o;class It{constructor(o){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=o||ct}forEachItem(o){let e;for(e=this._itHead;null!==e;e=e._next)o(e)}forEachOperation(o){let e=this._itHead,i=this._removalsHead,s=0,l=null;for(;e||i;){const h=!i||e&&e.currentIndex<so(i,s,l)?e:i,m=so(h,s,l),_=h.currentIndex;if(h===i)s--,i=i._nextRemoved;else if(e=e._next,null==h.previousIndex)s++;else{l||(l=[]);const w=m-s,N=_-s;if(w!=N){for(let oe=0;oe<w;oe++){const le=oe<l.length?l[oe]:l[oe]=0,ve=le+oe;N<=ve&&ve<w&&(l[oe]=le+1)}l[h.previousIndex]=N-w}}m!==_&&o(h,m,_)}}forEachPreviousItem(o){let e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)o(e)}forEachAddedItem(o){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)o(e)}forEachMovedItem(o){let e;for(e=this._movesHead;null!==e;e=e._nextMoved)o(e)}forEachRemovedItem(o){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)o(e)}forEachIdentityChange(o){let e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)o(e)}diff(o){if(null==o&&(o=[]),!hd(o))throw new Ze(900,!1);return this.check(o)?this:null}onDestroy(){}check(o){this._reset();let s,l,h,e=this._itHead,i=!1;if(Array.isArray(o)){this.length=o.length;for(let m=0;m<this.length;m++)l=o[m],h=this._trackByFn(m,l),null!==e&&Object.is(e.trackById,h)?(i&&(e=this._verifyReinsertion(e,l,h,m)),Object.is(e.item,l)||this._addIdentityChange(e,l)):(e=this._mismatch(e,l,h,m),i=!0),e=e._next}else s=0,function Fp(t,o){if(Array.isArray(t))for(let e=0;e<t.length;e++)o(t[e]);else{const e=t[Symbol.iterator]();let i;for(;!(i=e.next()).done;)o(i.value)}}(o,m=>{h=this._trackByFn(s,m),null!==e&&Object.is(e.trackById,h)?(i&&(e=this._verifyReinsertion(e,m,h,s)),Object.is(e.item,m)||this._addIdentityChange(e,m)):(e=this._mismatch(e,m,h,s),i=!0),e=e._next,s++}),this.length=s;return this._truncate(e),this.collection=o,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let o;for(o=this._previousItHead=this._itHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._additionsHead;null!==o;o=o._nextAdded)o.previousIndex=o.currentIndex;for(this._additionsHead=this._additionsTail=null,o=this._movesHead;null!==o;o=o._nextMoved)o.previousIndex=o.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(o,e,i,s){let l;return null===o?l=this._itTail:(l=o._prev,this._remove(o)),null!==(o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(o.item,e)||this._addIdentityChange(o,e),this._reinsertAfter(o,l,s)):null!==(o=null===this._linkedRecords?null:this._linkedRecords.get(i,s))?(Object.is(o.item,e)||this._addIdentityChange(o,e),this._moveAfter(o,l,s)):o=this._addAfter(new Zt(e,i),l,s),o}_verifyReinsertion(o,e,i,s){let l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==l?o=this._reinsertAfter(l,o._prev,s):o.currentIndex!=s&&(o.currentIndex=s,this._addToMoves(o,s)),o}_truncate(o){for(;null!==o;){const e=o._next;this._addToRemovals(this._unlink(o)),o=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(o,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(o);const s=o._prevRemoved,l=o._nextRemoved;return null===s?this._removalsHead=l:s._nextRemoved=l,null===l?this._removalsTail=s:l._prevRemoved=s,this._insertAfter(o,e,i),this._addToMoves(o,i),o}_moveAfter(o,e,i){return this._unlink(o),this._insertAfter(o,e,i),this._addToMoves(o,i),o}_addAfter(o,e,i){return this._insertAfter(o,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=o:this._additionsTail._nextAdded=o,o}_insertAfter(o,e,i){const s=null===e?this._itHead:e._next;return o._next=s,o._prev=e,null===s?this._itTail=o:s._prev=o,null===e?this._itHead=o:e._next=o,null===this._linkedRecords&&(this._linkedRecords=new Di),this._linkedRecords.put(o),o.currentIndex=i,o}_remove(o){return this._addToRemovals(this._unlink(o))}_unlink(o){null!==this._linkedRecords&&this._linkedRecords.remove(o);const e=o._prev,i=o._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,o}_addToMoves(o,e){return o.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=o:this._movesTail._nextMoved=o),o}_addToRemovals(o){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Di),this._unlinkedRecords.put(o),o.currentIndex=null,o._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=o,o._prevRemoved=null):(o._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=o),o}_addIdentityChange(o,e){return o.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=o:this._identityChangesTail._nextIdentityChange=o,o}}class Zt{constructor(o,e){this.item=o,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class In{constructor(){this._head=null,this._tail=null}add(o){null===this._head?(this._head=this._tail=o,o._nextDup=null,o._prevDup=null):(this._tail._nextDup=o,o._prevDup=this._tail,o._nextDup=null,this._tail=o)}get(o,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,o))return i;return null}remove(o){const e=o._prevDup,i=o._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class Di{constructor(){this.map=new Map}put(o){const e=o.trackById;let i=this.map.get(e);i||(i=new In,this.map.set(e,i)),i.add(o)}get(o,e){const s=this.map.get(o);return s?s.get(o,e):null}remove(o){const e=o.trackById;return this.map.get(e).remove(o)&&this.map.delete(e),o}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function so(t,o,e){const i=t.previousIndex;if(null===i)return i;let s=0;return e&&i<e.length&&(s=e[i]),i+o+s}class _f{constructor(){}supports(o){return o instanceof Map||Qg(o)}create(){return new bf}}class bf{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(o){let e;for(e=this._mapHead;null!==e;e=e._next)o(e)}forEachPreviousItem(o){let e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)o(e)}forEachChangedItem(o){let e;for(e=this._changesHead;null!==e;e=e._nextChanged)o(e)}forEachAddedItem(o){let e;for(e=this._additionsHead;null!==e;e=e._nextAdded)o(e)}forEachRemovedItem(o){let e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)o(e)}diff(o){if(o){if(!(o instanceof Map||Qg(o)))throw new Ze(900,!1)}else o=new Map;return this.check(o)?this:null}onDestroy(){}check(o){this._reset();let e=this._mapHead;if(this._appendAfter=null,this._forEach(o,(i,s)=>{if(e&&e.key===s)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const l=this._getOrCreateRecordForKey(s,i);e=this._insertBeforeOrAppend(e,l)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(o,e){if(o){const i=o._prev;return e._next=o,e._prev=i,o._prev=e,i&&(i._next=e),o===this._mapHead&&(this._mapHead=e),this._appendAfter=o,o}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(o,e){if(this._records.has(o)){const s=this._records.get(o);this._maybeAddToChanges(s,e);const l=s._prev,h=s._next;return l&&(l._next=h),h&&(h._prev=l),s._next=null,s._prev=null,s}const i=new Gu(o);return this._records.set(o,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let o;for(this._previousMapHead=this._mapHead,o=this._previousMapHead;null!==o;o=o._next)o._nextPrevious=o._next;for(o=this._changesHead;null!==o;o=o._nextChanged)o.previousValue=o.currentValue;for(o=this._additionsHead;null!=o;o=o._nextAdded)o.previousValue=o.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(o,e){Object.is(e,o.currentValue)||(o.previousValue=o.currentValue,o.currentValue=e,this._addToChanges(o))}_addToAdditions(o){null===this._additionsHead?this._additionsHead=this._additionsTail=o:(this._additionsTail._nextAdded=o,this._additionsTail=o)}_addToChanges(o){null===this._changesHead?this._changesHead=this._changesTail=o:(this._changesTail._nextChanged=o,this._changesTail=o)}_forEach(o,e){o instanceof Map?o.forEach(e):Object.keys(o).forEach(i=>e(o[i],i))}}class Gu{constructor(o){this.key=o,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function q1(){return new vf([new He])}let vf=(()=>{class t{static#e=this.\u0275prov=gt({token:t,providedIn:"root",factory:q1});constructor(e){this.factories=e}static create(e,i){if(null!=i){const s=i.factories.slice();e=e.concat(s)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||q1()),deps:[[t,new du,new gl]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(null!=i)return i;throw new Ze(901,!1)}}return t})();function jO(){return new K1([new _f])}let K1=(()=>{class t{static#e=this.\u0275prov=gt({token:t,providedIn:"root",factory:jO});constructor(e){this.factories=e}static create(e,i){if(i){const s=i.factories.slice();e=e.concat(s)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||jO()),deps:[[t,new du,new gl]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(i)return i;throw new Ze(901,!1)}}return t})();const J8=wD(null,"core",[]);let X8=(()=>{class t{constructor(e){}static#e=this.\u0275fac=function(i){return new(i||t)(st(oc))};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({})}return t})();function $_(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let V3=null;function Ku(){return V3}class pB{}const Hn=new pt("DocumentToken");let H3=(()=>{class t{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:function(){return _t(mB)},providedIn:"platform"})}return t})();const fB=new pt("Location Initialized");let mB=(()=>{class t extends H3{constructor(){super(),this._doc=_t(Hn),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ku().getBaseHref(this._doc)}onPopState(e){const i=Ku().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Ku().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,i,s){this._history.pushState(e,i,s)}replaceState(e,i,s){this._history.replaceState(e,i,s)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:function(){return new t},providedIn:"platform"})}return t})();function Y3(t,o){if(0==t.length)return o;if(0==o.length)return t;let e=0;return t.endsWith("/")&&e++,o.startsWith("/")&&e++,2==e?t+o.substring(1):1==e?t+o:t+"/"+o}function GO(t){const o=t.match(/#|\?|$/),e=o&&o.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function Md(t){return t&&"?"!==t[0]?"?"+t:t}let yf=(()=>{class t{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:function(){return _t(ZO)},providedIn:"root"})}return t})();const KO=new pt("appBaseHref");let ZO=(()=>{class t extends yf{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??_t(Hn).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Y3(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+Md(this._platformLocation.search),s=this._platformLocation.hash;return s&&e?`${i}${s}`:i}pushState(e,i,s,l){const h=this.prepareExternalUrl(s+Md(l));this._platformLocation.pushState(e,i,h)}replaceState(e,i,s,l){const h=this.prepareExternalUrl(s+Md(l));this._platformLocation.replaceState(e,i,h)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(i){return new(i||t)(st(H3),st(KO,8))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),gB=(()=>{class t extends yf{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=Y3(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,s,l){let h=this.prepareExternalUrl(s+Md(l));0==h.length&&(h=this._platformLocation.pathname),this._platformLocation.pushState(e,i,h)}replaceState(e,i,s,l){let h=this.prepareExternalUrl(s+Md(l));0==h.length&&(h=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,h)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(i){return new(i||t)(st(H3),st(KO,8))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})(),U3=(()=>{class t{constructor(e){this._subject=new Qe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._basePath=function vB(t){if(new RegExp("^(https?:)?//").test(t)){const[,e]=t.split(/\/\/[^\/]+/);return e}return t}(GO(QO(i))),this._locationStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+Md(i))}normalize(e){return t.stripTrailingSlash(function bB(t,o){if(!t||!o.startsWith(t))return o;const e=o.substring(t.length);return""===e||["/",";","?","#"].includes(e[0])?e:o}(this._basePath,QO(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,i="",s=null){this._locationStrategy.pushState(s,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Md(i)),s)}replaceState(e,i="",s=null){this._locationStrategy.replaceState(s,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+Md(i)),s)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{const i=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(i,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(s=>s(e,i))}subscribe(e,i,s){return this._subject.subscribe({next:e,error:i,complete:s})}static#e=this.normalizeQueryParams=Md;static#t=this.joinWithSlash=Y3;static#n=this.stripTrailingSlash=GO;static#i=this.\u0275fac=function(i){return new(i||t)(st(yf))};static#o=this.\u0275prov=gt({token:t,factory:function(){return function _B(){return new U3(st(yf))}()},providedIn:"root"})}return t})();function QO(t){return t.replace(/\/index.html$/,"")}var bs=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(bs||{}),Li=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(Li||{}),la=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(la||{}),Ao=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t.Infinity=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}(Ao||{});function ND(t,o){return ja(Dr(t)[Ai.DateFormat],o)}function RD(t,o){return ja(Dr(t)[Ai.TimeFormat],o)}function FD(t,o){return ja(Dr(t)[Ai.DateTimeFormat],o)}function Ba(t,o){const e=Dr(t),i=e[Ai.NumberSymbols][o];if(typeof i>"u"){if(o===Ao.CurrencyDecimal)return e[Ai.NumberSymbols][Ao.Decimal];if(o===Ao.CurrencyGroup)return e[Ai.NumberSymbols][Ao.Group]}return i}function XO(t){if(!t[Ai.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[Ai.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ja(t,o){for(let e=o;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function $3(t){const[o,e]=t.split(":");return{hours:+o,minutes:+e}}const OB=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Z1={},PB=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Dd=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}(Dd||{}),fi=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}(fi||{}),mi=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}(mi||{});function NB(t,o,e,i){let s=function UB(t){if(nP(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[s,l=1,h=1]=t.split("-").map(m=>+m);return BD(s,l-1,h)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(OB))return function WB(t){const o=new Date(0);let e=0,i=0;const s=t[8]?o.setUTCFullYear:o.setFullYear,l=t[8]?o.setUTCHours:o.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),s.call(o,Number(t[1]),Number(t[2])-1,Number(t[3]));const h=Number(t[4]||0)-e,m=Number(t[5]||0)-i,_=Number(t[6]||0),w=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return l.call(o,h,m,_,w),o}(i)}const o=new Date(t);if(!nP(o))throw new Error(`Unable to convert "${t}" into a date`);return o}(t);o=Td(e,o)||o;let m,h=[];for(;o;){if(m=PB.exec(o),!m){h.push(o);break}{h=h.concat(m.slice(1));const N=h.pop();if(!N)break;o=N}}let _=s.getTimezoneOffset();i&&(_=tP(i,_),s=function YB(t,o,e){const i=e?-1:1,s=t.getTimezoneOffset();return function HB(t,o){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+o),t}(t,i*(tP(o,s)-s))}(s,i,!0));let w="";return h.forEach(N=>{const $=function VB(t){if(G3[t])return G3[t];let o;switch(t){case"G":case"GG":case"GGG":o=Pi(mi.Eras,Li.Abbreviated);break;case"GGGG":o=Pi(mi.Eras,Li.Wide);break;case"GGGGG":o=Pi(mi.Eras,Li.Narrow);break;case"y":o=Oo(fi.FullYear,1,0,!1,!0);break;case"yy":o=Oo(fi.FullYear,2,0,!0,!0);break;case"yyy":o=Oo(fi.FullYear,3,0,!1,!0);break;case"yyyy":o=Oo(fi.FullYear,4,0,!1,!0);break;case"Y":o=HD(1);break;case"YY":o=HD(2,!0);break;case"YYY":o=HD(3);break;case"YYYY":o=HD(4);break;case"M":case"L":o=Oo(fi.Month,1,1);break;case"MM":case"LL":o=Oo(fi.Month,2,1);break;case"MMM":o=Pi(mi.Months,Li.Abbreviated);break;case"MMMM":o=Pi(mi.Months,Li.Wide);break;case"MMMMM":o=Pi(mi.Months,Li.Narrow);break;case"LLL":o=Pi(mi.Months,Li.Abbreviated,bs.Standalone);break;case"LLLL":o=Pi(mi.Months,Li.Wide,bs.Standalone);break;case"LLLLL":o=Pi(mi.Months,Li.Narrow,bs.Standalone);break;case"w":o=q3(1);break;case"ww":o=q3(2);break;case"W":o=q3(1,!0);break;case"d":o=Oo(fi.Date,1);break;case"dd":o=Oo(fi.Date,2);break;case"c":case"cc":o=Oo(fi.Day,1);break;case"ccc":o=Pi(mi.Days,Li.Abbreviated,bs.Standalone);break;case"cccc":o=Pi(mi.Days,Li.Wide,bs.Standalone);break;case"ccccc":o=Pi(mi.Days,Li.Narrow,bs.Standalone);break;case"cccccc":o=Pi(mi.Days,Li.Short,bs.Standalone);break;case"E":case"EE":case"EEE":o=Pi(mi.Days,Li.Abbreviated);break;case"EEEE":o=Pi(mi.Days,Li.Wide);break;case"EEEEE":o=Pi(mi.Days,Li.Narrow);break;case"EEEEEE":o=Pi(mi.Days,Li.Short);break;case"a":case"aa":case"aaa":o=Pi(mi.DayPeriods,Li.Abbreviated);break;case"aaaa":o=Pi(mi.DayPeriods,Li.Wide);break;case"aaaaa":o=Pi(mi.DayPeriods,Li.Narrow);break;case"b":case"bb":case"bbb":o=Pi(mi.DayPeriods,Li.Abbreviated,bs.Standalone,!0);break;case"bbbb":o=Pi(mi.DayPeriods,Li.Wide,bs.Standalone,!0);break;case"bbbbb":o=Pi(mi.DayPeriods,Li.Narrow,bs.Standalone,!0);break;case"B":case"BB":case"BBB":o=Pi(mi.DayPeriods,Li.Abbreviated,bs.Format,!0);break;case"BBBB":o=Pi(mi.DayPeriods,Li.Wide,bs.Format,!0);break;case"BBBBB":o=Pi(mi.DayPeriods,Li.Narrow,bs.Format,!0);break;case"h":o=Oo(fi.Hours,1,-12);break;case"hh":o=Oo(fi.Hours,2,-12);break;case"H":o=Oo(fi.Hours,1);break;case"HH":o=Oo(fi.Hours,2);break;case"m":o=Oo(fi.Minutes,1);break;case"mm":o=Oo(fi.Minutes,2);break;case"s":o=Oo(fi.Seconds,1);break;case"ss":o=Oo(fi.Seconds,2);break;case"S":o=Oo(fi.FractionalSeconds,1);break;case"SS":o=Oo(fi.FractionalSeconds,2);break;case"SSS":o=Oo(fi.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":o=zD(Dd.Short);break;case"ZZZZZ":o=zD(Dd.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":o=zD(Dd.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":o=zD(Dd.Long);break;default:return null}return G3[t]=o,o}(N);w+=$?$(s,e,_):"''"===N?"'":N.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),w}function BD(t,o,e){const i=new Date(0);return i.setFullYear(t,o,e),i.setHours(0,0,0),i}function Td(t,o){const e=function kB(t){return Dr(t)[Ai.LocaleId]}(t);if(Z1[e]=Z1[e]||{},Z1[e][o])return Z1[e][o];let i="";switch(o){case"shortDate":i=ND(t,la.Short);break;case"mediumDate":i=ND(t,la.Medium);break;case"longDate":i=ND(t,la.Long);break;case"fullDate":i=ND(t,la.Full);break;case"shortTime":i=RD(t,la.Short);break;case"mediumTime":i=RD(t,la.Medium);break;case"longTime":i=RD(t,la.Long);break;case"fullTime":i=RD(t,la.Full);break;case"short":const s=Td(t,"shortTime"),l=Td(t,"shortDate");i=jD(FD(t,la.Short),[s,l]);break;case"medium":const h=Td(t,"mediumTime"),m=Td(t,"mediumDate");i=jD(FD(t,la.Medium),[h,m]);break;case"long":const _=Td(t,"longTime"),w=Td(t,"longDate");i=jD(FD(t,la.Long),[_,w]);break;case"full":const N=Td(t,"fullTime"),$=Td(t,"fullDate");i=jD(FD(t,la.Full),[N,$])}return i&&(Z1[e][o]=i),i}function jD(t,o){return o&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=o&&i in o?o[i]:e})),t}function Dl(t,o,e="-",i,s){let l="";(t<0||s&&t<=0)&&(s?t=1-t:(t=-t,l=e));let h=String(t);for(;h.length<o;)h="0"+h;return i&&(h=h.slice(h.length-o)),l+h}function Oo(t,o,e=0,i=!1,s=!1){return function(l,h){let m=function FB(t,o){switch(t){case fi.FullYear:return o.getFullYear();case fi.Month:return o.getMonth();case fi.Date:return o.getDate();case fi.Hours:return o.getHours();case fi.Minutes:return o.getMinutes();case fi.Seconds:return o.getSeconds();case fi.FractionalSeconds:return o.getMilliseconds();case fi.Day:return o.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}(t,l);if((e>0||m>-e)&&(m+=e),t===fi.Hours)0===m&&-12===e&&(m=12);else if(t===fi.FractionalSeconds)return function RB(t,o){return Dl(t,3).substring(0,o)}(m,o);const _=Ba(h,Ao.MinusSign);return Dl(m,o,_,i,s)}}function Pi(t,o,e=bs.Format,i=!1){return function(s,l){return function BB(t,o,e,i,s,l){switch(e){case mi.Months:return function AB(t,o,e){const i=Dr(t),l=ja([i[Ai.MonthsFormat],i[Ai.MonthsStandalone]],o);return ja(l,e)}(o,s,i)[t.getMonth()];case mi.Days:return function CB(t,o,e){const i=Dr(t),l=ja([i[Ai.DaysFormat],i[Ai.DaysStandalone]],o);return ja(l,e)}(o,s,i)[t.getDay()];case mi.DayPeriods:const h=t.getHours(),m=t.getMinutes();if(l){const w=function xB(t){const o=Dr(t);return XO(o),(o[Ai.ExtraData][2]||[]).map(i=>"string"==typeof i?$3(i):[$3(i[0]),$3(i[1])])}(o),N=function EB(t,o,e){const i=Dr(t);XO(i);const l=ja([i[Ai.ExtraData][0],i[Ai.ExtraData][1]],o)||[];return ja(l,e)||[]}(o,s,i),$=w.findIndex(oe=>{if(Array.isArray(oe)){const[le,ve]=oe,we=h>=le.hours&&m>=le.minutes,xe=h<ve.hours||h===ve.hours&&m<ve.minutes;if(le.hours<ve.hours){if(we&&xe)return!0}else if(we||xe)return!0}else if(oe.hours===h&&oe.minutes===m)return!0;return!1});if(-1!==$)return N[$]}return function wB(t,o,e){const i=Dr(t),l=ja([i[Ai.DayPeriodsFormat],i[Ai.DayPeriodsStandalone]],o);return ja(l,e)}(o,s,i)[h<12?0:1];case mi.Eras:return function MB(t,o){return ja(Dr(t)[Ai.Eras],o)}(o,i)[t.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${e}`)}}(s,l,t,o,e,i)}}function zD(t){return function(o,e,i){const s=-1*i,l=Ba(e,Ao.MinusSign),h=s>0?Math.floor(s/60):Math.ceil(s/60);switch(t){case Dd.Short:return(s>=0?"+":"")+Dl(h,2,l)+Dl(Math.abs(s%60),2,l);case Dd.ShortGMT:return"GMT"+(s>=0?"+":"")+Dl(h,1,l);case Dd.Long:return"GMT"+(s>=0?"+":"")+Dl(h,2,l)+":"+Dl(Math.abs(s%60),2,l);case Dd.Extended:return 0===i?"Z":(s>=0?"+":"")+Dl(h,2,l)+":"+Dl(Math.abs(s%60),2,l);default:throw new Error(`Unknown zone width "${t}"`)}}}const jB=0,VD=4;function eP(t){return BD(t.getFullYear(),t.getMonth(),t.getDate()+(VD-t.getDay()))}function q3(t,o=!1){return function(e,i){let s;if(o){const l=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,h=e.getDate();s=1+Math.floor((h+l)/7)}else{const l=eP(e),h=function zB(t){const o=BD(t,jB,1).getDay();return BD(t,0,1+(o<=VD?VD:VD+7)-o)}(l.getFullYear()),m=l.getTime()-h.getTime();s=1+Math.round(m/6048e5)}return Dl(s,t,Ba(i,Ao.MinusSign))}}function HD(t,o=!1){return function(e,i){return Dl(eP(e).getFullYear(),t,Ba(i,Ao.MinusSign),o)}}const G3={};function tP(t,o){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?o:e}function nP(t){return t instanceof Date&&!isNaN(t.valueOf())}function sP(t,o){o=encodeURIComponent(o);for(const e of t.split(";")){const i=e.indexOf("="),[s,l]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(s.trim()===o)return decodeURIComponent(l)}return null}const eL=/\s+/,aP=[];let ao=(()=>{class t{constructor(e,i,s,l){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=s,this._renderer=l,this.initialClasses=aP,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(eL):aP}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(eL):e}ngDoCheck(){for(const i of this.initialClasses)this._updateState(i,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const i of e)this._updateState(i,!0);else if(null!=e)for(const i of Object.keys(e))this._updateState(i,!!e[i]);this._applyStateDiff()}_updateState(e,i){const s=this.stateMap.get(e);void 0!==s?(s.enabled!==i&&(s.changed=!0,s.enabled=i),s.touched=!0):this.stateMap.set(e,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const i=e[0],s=e[1];s.changed?(this._toggleClass(i,s.enabled),s.changed=!1):s.touched||(s.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),s.touched=!1}}_toggleClass(e,i){(e=e.trim()).length>0&&e.split(eL).forEach(s=>{i?this._renderer.addClass(this._ngEl.nativeElement,s):this._renderer.removeClass(this._ngEl.nativeElement,s)})}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(vf),Ce(K1),Ce(An),Ce(Lo))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return t})();class oj{constructor(o,e,i,s){this.$implicit=o,this.ngForOf=e,this.index=i,this.count=s}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Zr=(()=>{class t{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,i,s){this._viewContainer=e,this._template=i,this._differs=s,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((s,l,h)=>{if(null==s.previousIndex)i.createEmbeddedView(this._template,new oj(s.item,this._ngForOf,-1,-1),null===h?void 0:h);else if(null==h)i.remove(null===l?void 0:l);else if(null!==l){const m=i.get(l);i.move(m,h),cP(m,s)}});for(let s=0,l=i.length;s<l;s++){const m=i.get(s).context;m.index=s,m.count=l,m.ngForOf=this._ngForOf}e.forEachIdentityChange(s=>{cP(i.get(s.currentIndex),s)})}static ngTemplateContextGuard(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(xr),Ce(ei),Ce(vf))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return t})();function cP(t,o){t.context.$implicit=o.item}let Ei=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new rj,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){dP("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){dP("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(xr),Ce(ei))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return t})();class rj{constructor(){this.$implicit=null,this.ngIf=null}}function dP(t,o){if(o&&!o.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Ii(o)}'.`)}class tL{constructor(o,e){this._viewContainerRef=o,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(o){o&&!this._created?this.create():!o&&this._created&&this.destroy()}}let J1=(()=>{class t{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const i of this._defaultViews)i.enforceState(e)}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=Xe({type:t,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return t})(),nL=(()=>{class t{constructor(e,i,s){this.ngSwitch=s,s._addCase(),this._view=new tL(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(xr),Ce(ei),Ce(J1,9))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return t})(),uP=(()=>{class t{constructor(e,i,s){s._addDefault(new tL(e,i))}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(xr),Ce(ei),Ce(J1,9))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return t})(),Mo=(()=>{class t{constructor(e,i,s){this._ngEl=e,this._differs=i,this._renderer=s,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[s,l]=e.split("."),h=-1===s.indexOf("-")?void 0:Gl.DashCase;null!=i?this._renderer.setStyle(this._ngEl.nativeElement,s,l?`${i}${l}`:i,h):this._renderer.removeStyle(this._ngEl.nativeElement,s,h)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(An),Ce(K1),Ce(Lo))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return t})(),Xi=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:s,ngTemplateOutletContext:l,ngTemplateOutletInjector:h}=this;this._viewRef=i.createEmbeddedView(s,l,h?{injector:h}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(xr))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[fn]})}return t})();function Tl(t,o){return new Ze(2100,!1)}class aj{createSubscription(o,e){return Vh(()=>o.subscribe({next:e,error:i=>{throw i}}))}dispose(o){Vh(()=>o.unsubscribe())}}class lj{createSubscription(o,e){return o.then(e,i=>{throw i})}dispose(o){}}const cj=new lj,dj=new aj;let pP=(()=>{class t{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Up(e))return cj;if(ky(e))return dj;throw Tl()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(Mi,16))};static#t=this.\u0275pipe=po({name:"async",type:t,pure:!1,standalone:!0})}return t})();const gj=new pt("DATE_PIPE_DEFAULT_TIMEZONE"),_j=new pt("DATE_PIPE_DEFAULT_OPTIONS");let fP=(()=>{class t{constructor(e,i,s){this.locale=e,this.defaultTimezone=i,this.defaultOptions=s}transform(e,i,s,l){if(null==e||""===e||e!=e)return null;try{return NB(e,i??this.defaultOptions?.dateFormat??"mediumDate",l||this.locale,s??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(h){throw Tl()}}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(aa,16),Ce(gj,24),Ce(_j,24))};static#t=this.\u0275pipe=po({name:"date",type:t,pure:!0,standalone:!0})}return t})(),gi=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({})}return t})();const gP="browser";function Bs(t){return t===gP}function _P(t){return"server"===t}let Sj=(()=>{class t{static#e=this.\u0275prov=gt({token:t,providedIn:"root",factory:()=>new Ij(st(Hn),window)})}return t})();class Ij{constructor(o,e){this.document=o,this.window=e,this.offset=()=>[0,0]}setOffset(o){this.offset=Array.isArray(o)?()=>o:o}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(o){this.supportsScrolling()&&this.window.scrollTo(o[0],o[1])}scrollToAnchor(o){if(!this.supportsScrolling())return;const e=function Lj(t,o){const e=t.getElementById(o)||t.getElementsByName(o)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&"function"==typeof t.body.attachShadow){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let s=i.currentNode;for(;s;){const l=s.shadowRoot;if(l){const h=l.getElementById(o)||l.querySelector(`[name="${o}"]`);if(h)return h}s=i.nextNode()}}return null}(this.document,o);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(o){this.supportsScrolling()&&(this.window.history.scrollRestoration=o)}scrollToElement(o){const e=o.getBoundingClientRect(),i=e.left+this.window.pageXOffset,s=e.top+this.window.pageYOffset,l=this.offset();this.window.scrollTo(i-l[0],s-l[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class bP{}class tz extends pB{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class aL extends tz{static makeCurrent(){!function hB(t){V3||(V3=t)}(new aL)}onAndCancel(o,e,i){return o.addEventListener(e,i),()=>{o.removeEventListener(e,i)}}dispatchEvent(o,e){o.dispatchEvent(e)}remove(o){o.parentNode&&o.parentNode.removeChild(o)}createElement(o,e){return(e=e||this.getDefaultDocument()).createElement(o)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(o){return o.nodeType===Node.ELEMENT_NODE}isShadowRoot(o){return o instanceof DocumentFragment}getGlobalEventTarget(o,e){return"window"===e?window:"document"===e?o:"body"===e?o.body:null}getBaseHref(o){const e=function nz(){return ek=ek||document.querySelector("base"),ek?ek.getAttribute("href"):null}();return null==e?null:function iz(t){$D=$D||document.createElement("a"),$D.setAttribute("href",t);const o=$D.pathname;return"/"===o.charAt(0)?o:`/${o}`}(e)}resetBaseElement(){ek=null}getUserAgent(){return window.navigator.userAgent}getCookie(o){return sP(document.cookie,o)}}let $D,ek=null,rz=(()=>{class t{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();const lL=new pt("EventManagerPlugins");let CP=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(s=>{s.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,i,s){return this._findPluginFor(i).addEventListener(e,i,s)}getZone(){return this._zone}_findPluginFor(e){let i=this._eventNameToPlugin.get(e);if(i)return i;if(i=this._plugins.find(l=>l.supports(e)),!i)throw new Ze(5101,!1);return this._eventNameToPlugin.set(e,i),i}static#e=this.\u0275fac=function(i){return new(i||t)(st(lL),st(yn))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();class AP{constructor(o){this._doc=o}}const cL="ng-app-id";let MP=(()=>{class t{constructor(e,i,s,l={}){this.doc=e,this.appId=i,this.nonce=s,this.platformId=l,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=_P(l),this.resetHostNodes()}addStyles(e){for(const i of e)1===this.changeUsageCount(i,1)&&this.onStyleAdded(i)}removeStyles(e){for(const i of e)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(i=>i.remove()),e.clear());for(const i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const i of this.getAllStyles())this.addStyleToHost(e,i)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const i of this.hostNodes)this.addStyleToHost(i,e)}onStyleRemoved(e){const i=this.styleRef;i.get(e)?.elements?.forEach(s=>s.remove()),i.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${cL}="${this.appId}"]`);if(e?.length){const i=new Map;return e.forEach(s=>{null!=s.textContent&&i.set(s.textContent,s)}),i}return null}changeUsageCount(e,i){const s=this.styleRef;if(s.has(e)){const l=s.get(e);return l.usage+=i,l.usage}return s.set(e,{usage:i,elements:[]}),i}getStyleElement(e,i){const s=this.styleNodesInDOM,l=s?.get(i);if(l?.parentNode===e)return s.delete(i),l.removeAttribute(cL),l;{const h=this.doc.createElement("style");return this.nonce&&h.setAttribute("nonce",this.nonce),h.textContent=i,this.platformIsServer&&h.setAttribute(cL,this.appId),h}}addStyleToHost(e,i){const s=this.getStyleElement(e,i);e.appendChild(s);const l=this.styleRef,h=l.get(i)?.elements;h?h.push(s):l.set(i,{elements:[s],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(i){return new(i||t)(st(Hn),st(Ag),st($r,8),st(ko))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();const dL={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},uL=/%COMP%/g,cz=new pt("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function TP(t,o){return o.map(e=>e.replace(uL,t))}let hL=(()=>{class t{constructor(e,i,s,l,h,m,_,w=null){this.eventManager=e,this.sharedStylesHost=i,this.appId=s,this.removeStylesOnCompDestroy=l,this.doc=h,this.platformId=m,this.ngZone=_,this.nonce=w,this.rendererByCompId=new Map,this.platformIsServer=_P(m),this.defaultRenderer=new pL(e,h,_,this.platformIsServer)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Pr.ShadowDom&&(i={...i,encapsulation:Pr.Emulated});const s=this.getOrCreateRenderer(e,i);return s instanceof EP?s.applyToHost(e):s instanceof fL&&s.applyStyles(),s}getOrCreateRenderer(e,i){const s=this.rendererByCompId;let l=s.get(i.id);if(!l){const h=this.doc,m=this.ngZone,_=this.eventManager,w=this.sharedStylesHost,N=this.removeStylesOnCompDestroy,$=this.platformIsServer;switch(i.encapsulation){case Pr.Emulated:l=new EP(_,w,i,this.appId,N,h,m,$);break;case Pr.ShadowDom:return new pz(_,w,e,i,h,m,this.nonce,$);default:l=new fL(_,w,i,N,h,m,$)}s.set(i.id,l)}return l}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(i){return new(i||t)(st(CP),st(MP),st(Ag),st(cz),st(Hn),st(ko),st(yn),st($r))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();class pL{constructor(o,e,i,s){this.eventManager=o,this.doc=e,this.ngZone=i,this.platformIsServer=s,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(o,e){return e?this.doc.createElementNS(dL[e]||e,o):this.doc.createElement(o)}createComment(o){return this.doc.createComment(o)}createText(o){return this.doc.createTextNode(o)}appendChild(o,e){(xP(o)?o.content:o).appendChild(e)}insertBefore(o,e,i){o&&(xP(o)?o.content:o).insertBefore(e,i)}removeChild(o,e){o&&o.removeChild(e)}selectRootElement(o,e){let i="string"==typeof o?this.doc.querySelector(o):o;if(!i)throw new Ze(-5104,!1);return e||(i.textContent=""),i}parentNode(o){return o.parentNode}nextSibling(o){return o.nextSibling}setAttribute(o,e,i,s){if(s){e=s+":"+e;const l=dL[s];l?o.setAttributeNS(l,e,i):o.setAttribute(e,i)}else o.setAttribute(e,i)}removeAttribute(o,e,i){if(i){const s=dL[i];s?o.removeAttributeNS(s,e):o.removeAttribute(`${i}:${e}`)}else o.removeAttribute(e)}addClass(o,e){o.classList.add(e)}removeClass(o,e){o.classList.remove(e)}setStyle(o,e,i,s){s&(Gl.DashCase|Gl.Important)?o.style.setProperty(e,i,s&Gl.Important?"important":""):o.style[e]=i}removeStyle(o,e,i){i&Gl.DashCase?o.style.removeProperty(e):o.style[e]=""}setProperty(o,e,i){o[e]=i}setValue(o,e){o.nodeValue=e}listen(o,e,i){if("string"==typeof o&&!(o=Ku().getGlobalEventTarget(this.doc,o)))throw new Error(`Unsupported event target ${o} for event ${e}`);return this.eventManager.addEventListener(o,e,this.decoratePreventDefault(i))}decoratePreventDefault(o){return e=>{if("__ngUnwrap__"===e)return o;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>o(e)):o(e))&&e.preventDefault()}}}function xP(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class pz extends pL{constructor(o,e,i,s,l,h,m,_){super(o,l,h,_),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const w=TP(s.id,s.styles);for(const N of w){const $=document.createElement("style");m&&$.setAttribute("nonce",m),$.textContent=N,this.shadowRoot.appendChild($)}}nodeOrShadowRoot(o){return o===this.hostEl?this.shadowRoot:o}appendChild(o,e){return super.appendChild(this.nodeOrShadowRoot(o),e)}insertBefore(o,e,i){return super.insertBefore(this.nodeOrShadowRoot(o),e,i)}removeChild(o,e){return super.removeChild(this.nodeOrShadowRoot(o),e)}parentNode(o){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(o)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class fL extends pL{constructor(o,e,i,s,l,h,m,_){super(o,l,h,m),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=s,this.styles=_?TP(_,i.styles):i.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class EP extends fL{constructor(o,e,i,s,l,h,m,_){const w=s+"-"+i.id;super(o,e,i,l,h,m,_,w),this.contentAttr=function dz(t){return"_ngcontent-%COMP%".replace(uL,t)}(w),this.hostAttr=function uz(t){return"_nghost-%COMP%".replace(uL,t)}(w)}applyToHost(o){this.applyStyles(),this.setAttribute(o,this.hostAttr,"")}createElement(o,e){const i=super.createElement(o,e);return super.setAttribute(i,this.contentAttr,""),i}}let fz=(()=>{class t extends AP{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,s){return e.addEventListener(i,s,!1),()=>this.removeEventListener(e,i,s)}removeEventListener(e,i,s){return e.removeEventListener(i,s)}static#e=this.\u0275fac=function(i){return new(i||t)(st(Hn))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();const SP=["alt","control","meta","shift"],mz={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},gz={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let _z=(()=>{class t extends AP{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,s){const l=t.parseEventName(i),h=t.eventCallback(l.fullKey,s,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ku().onAndCancel(e,l.domEventName,h))}static parseEventName(e){const i=e.toLowerCase().split("."),s=i.shift();if(0===i.length||"keydown"!==s&&"keyup"!==s)return null;const l=t._normalizeKey(i.pop());let h="",m=i.indexOf("code");if(m>-1&&(i.splice(m,1),h="code."),SP.forEach(w=>{const N=i.indexOf(w);N>-1&&(i.splice(N,1),h+=w+".")}),h+=l,0!=i.length||0===l.length)return null;const _={};return _.domEventName=s,_.fullKey=h,_}static matchEventFullKeyCode(e,i){let s=mz[e.key]||e.key,l="";return i.indexOf("code.")>-1&&(s=e.code,l="code."),!(null==s||!s)&&(s=s.toLowerCase()," "===s?s="space":"."===s&&(s="dot"),SP.forEach(h=>{h!==s&&(0,gz[h])(e)&&(l+=h+".")}),l+=s,l===i)}static eventCallback(e,i,s){return l=>{t.matchEventFullKeyCode(l,e)&&s.runGuarded(()=>i(l))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(i){return new(i||t)(st(Hn))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();const LP=[{provide:ko,useValue:gP},{provide:AC,useValue:function bz(){aL.makeCurrent()},multi:!0},{provide:Hn,useFactory:function yz(){return function nv(t){_g=t}(document),document},deps:[]}],kz=wD(J8,"browser",LP),wz=new pt(""),OP=[{provide:Y_,useClass:class oz{addToWindow(o){ci.getAngularTestability=(i,s=!0)=>{const l=o.findTestabilityInTree(i,s);if(null==l)throw new Ze(5103,!1);return l},ci.getAllAngularTestabilities=()=>o.getAllTestabilities(),ci.getAllAngularRootElements=()=>o.getAllRootElements(),ci.frameworkStabilizers||(ci.frameworkStabilizers=[]),ci.frameworkStabilizers.push(i=>{const s=ci.getAllAngularTestabilities();let l=s.length,h=!1;const m=function(_){h=h||_,l--,0==l&&i(h)};s.forEach(_=>{_.whenStable(m)})})}findTestabilityInTree(o,e,i){return null==e?null:o.getTestability(e)??(i?Ku().isShadowRoot(e)?this.findTestabilityInTree(o,e.host,!0):this.findTestabilityInTree(o,e.parentElement,!0):null)}},deps:[]},{provide:B1,useClass:Al,deps:[yn,j1,Y_]},{provide:Al,useClass:Al,deps:[yn,j1,Y_]}],PP=[{provide:fp,useValue:"root"},{provide:Cr,useFactory:function vz(){return new Cr},deps:[]},{provide:lL,useClass:fz,multi:!0,deps:[Hn,yn,ko]},{provide:lL,useClass:_z,multi:!0,deps:[Hn]},hL,MP,CP,{provide:Rg,useExisting:hL},{provide:bP,useClass:rz,deps:[]},[]];let NP=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Ag,useValue:e.appId}]}}static#e=this.\u0275fac=function(i){return new(i||t)(st(wz,12))};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({providers:[...PP,...OP],imports:[gi,X8]})}return t})(),RP=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(i){return new(i||t)(st(Hn))};static#t=this.\u0275prov=gt({token:t,factory:function(i){let s=null;return s=i?new i:function Az(){return new RP(st(Hn))}(),s},providedIn:"root"})}return t})();typeof window<"u"&&window;let tk=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:function(i){let s=null;return s=i?new(i||t):st(jP),s},providedIn:"root"})}return t})(),jP=(()=>{class t extends tk{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Ui.NONE:return i;case Ui.HTML:return Is(i,"HTML")?ps(i):uv(this._doc,String(i)).toString();case Ui.STYLE:return Is(i,"Style")?ps(i):i;case Ui.SCRIPT:if(Is(i,"Script"))return ps(i);throw new Ze(5200,!1);case Ui.URL:return Is(i,"URL")?ps(i):vg(String(i));case Ui.RESOURCE_URL:if(Is(i,"ResourceURL"))return ps(i);throw new Ze(5201,!1);default:throw new Ze(5202,!1)}}bypassSecurityTrustHtml(e){return function aE(t){return new iE(t)}(e)}bypassSecurityTrustStyle(e){return function lE(t){return new oE(t)}(e)}bypassSecurityTrustScript(e){return function hC(t){return new rE(t)}(e)}bypassSecurityTrustUrl(e){return function cE(t){return new sE(t)}(e)}bypassSecurityTrustResourceUrl(e){return function dE(t){return new iv(t)}(e)}static#e=this.\u0275fac=function(i){return new(i||t)(st(Hn))};static#t=this.\u0275prov=gt({token:t,factory:function(i){let s=null;return s=i?new i:function xz(t){return new jP(t.get(Hn))}(st(nr)),s},providedIn:"root"})}return t})();const{isArray:Ez}=Array,{getPrototypeOf:Sz,prototype:Iz,keys:Lz}=Object;function VP(t){if(1===t.length){const o=t[0];if(Ez(o))return{args:o,keys:null};if(function Oz(t){return t&&"object"==typeof t&&Sz(t)===Iz}(o)){const e=Lz(o);return{args:e.map(i=>o[i]),keys:e}}}return{args:t,keys:null}}const{isArray:Pz}=Array;function HP(t){return ot(o=>function Nz(t,o){return Pz(o)?t(...o):t(o)}(t,o))}function YP(t,o){return t.reduce((e,i,s)=>(e[i]=o[s],e),{})}function UP(...t){const o=gc(t),{args:e,keys:i}=VP(t),s=new Me(l=>{const{length:h}=e;if(!h)return void l.complete();const m=new Array(h);let _=h,w=h;for(let N=0;N<h;N++){let $=!1;cr(e[N]).subscribe(Ue(l,oe=>{$||($=!0,w--),m[N]=oe},()=>_--,void 0,()=>{(!_||!$)&&(w||l.next(i?YP(i,m):m),l.complete())}))}});return o?s.pipe(HP(o)):s}let WP=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(Lo),Ce(An))};static#t=this.\u0275dir=Xe({type:t})}return t})(),kf=(()=>{class t extends WP{static#e=this.\u0275fac=function(){let e;return function(s){return(e||(e=At(t)))(s||t)}}();static#t=this.\u0275dir=Xe({type:t,features:[Ft]})}return t})();const qi=new pt("NgValueAccessor"),Fz={provide:qi,useExisting:xt(()=>wf),multi:!0},jz=new pt("CompositionEventMode");let wf=(()=>{class t extends WP{constructor(e,i,s){super(e,i),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Bz(){const t=Ku()?Ku().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(Lo),Ce(An),Ce(jz,8))};static#t=this.\u0275dir=Xe({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,s){1&i&&We("input",function(h){return s._handleInput(h.target.value)})("blur",function(){return s.onTouched()})("compositionstart",function(){return s._compositionStart()})("compositionend",function(h){return s._compositionEnd(h.target.value)})},features:[Pt([Fz]),Ft]})}return t})();function Qu(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function qP(t){return null!=t&&"number"==typeof t.length}const wn=new pt("NgValidators"),Ju=new pt("NgAsyncValidators"),zz=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ln{static min(o){return function GP(t){return o=>{if(Qu(o.value)||Qu(t))return null;const e=parseFloat(o.value);return!isNaN(e)&&e<t?{min:{min:t,actual:o.value}}:null}}(o)}static max(o){return function KP(t){return o=>{if(Qu(o.value)||Qu(t))return null;const e=parseFloat(o.value);return!isNaN(e)&&e>t?{max:{max:t,actual:o.value}}:null}}(o)}static required(o){return ZP(o)}static requiredTrue(o){return function QP(t){return!0===t.value?null:{required:!0}}(o)}static email(o){return function JP(t){return Qu(t.value)||zz.test(t.value)?null:{email:!0}}(o)}static minLength(o){return function XP(t){return o=>Qu(o.value)||!qP(o.value)?null:o.value.length<t?{minlength:{requiredLength:t,actualLength:o.value.length}}:null}(o)}static maxLength(o){return function eN(t){return o=>qP(o.value)&&o.value.length>t?{maxlength:{requiredLength:t,actualLength:o.value.length}}:null}(o)}static pattern(o){return function tN(t){if(!t)return qD;let o,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),o=new RegExp(e)):(e=t.toString(),o=t),i=>{if(Qu(i.value))return null;const s=i.value;return o.test(s)?null:{pattern:{requiredPattern:e,actualValue:s}}}}(o)}static nullValidator(o){return null}static compose(o){return aN(o)}static composeAsync(o){return lN(o)}}function ZP(t){return Qu(t.value)?{required:!0}:null}function qD(t){return null}function nN(t){return null!=t}function iN(t){return Up(t)?Qi(t):t}function oN(t){let o={};return t.forEach(e=>{o=null!=e?{...o,...e}:o}),0===Object.keys(o).length?null:o}function rN(t,o){return o.map(e=>e(t))}function sN(t){return t.map(o=>function Vz(t){return!t.validate}(o)?o:e=>o.validate(e))}function aN(t){if(!t)return null;const o=t.filter(nN);return 0==o.length?null:function(e){return oN(rN(e,o))}}function gL(t){return null!=t?aN(sN(t)):null}function lN(t){if(!t)return null;const o=t.filter(nN);return 0==o.length?null:function(e){return UP(rN(e,o).map(iN)).pipe(ot(oN))}}function _L(t){return null!=t?lN(sN(t)):null}function cN(t,o){return null===t?[o]:Array.isArray(t)?[...t,o]:[t,o]}function dN(t){return t._rawValidators}function uN(t){return t._rawAsyncValidators}function bL(t){return t?Array.isArray(t)?t:[t]:[]}function GD(t,o){return Array.isArray(t)?t.includes(o):t===o}function hN(t,o){const e=bL(o);return bL(t).forEach(s=>{GD(e,s)||e.push(s)}),e}function pN(t,o){return bL(o).filter(e=>!GD(t,e))}class fN{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(o){this._rawValidators=o||[],this._composedValidatorFn=gL(this._rawValidators)}_setAsyncValidators(o){this._rawAsyncValidators=o||[],this._composedAsyncValidatorFn=_L(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(o){this._onDestroyCallbacks.push(o)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(o=>o()),this._onDestroyCallbacks=[]}reset(o=void 0){this.control&&this.control.reset(o)}hasError(o,e){return!!this.control&&this.control.hasError(o,e)}getError(o,e){return this.control?this.control.getError(o,e):null}}class vs extends fN{get formDirective(){return null}get path(){return null}}class rc extends fN{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class mN{constructor(o){this._cd=o}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Cf=(()=>{class t extends mN{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(rc,2))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,s){2&i&&Wi("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)},features:[Ft]})}return t})(),G_=(()=>{class t extends mN{constructor(e){super(e)}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(vs,10))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,s){2&i&&Wi("ng-untouched",s.isUntouched)("ng-touched",s.isTouched)("ng-pristine",s.isPristine)("ng-dirty",s.isDirty)("ng-valid",s.isValid)("ng-invalid",s.isInvalid)("ng-pending",s.isPending)("ng-submitted",s.isSubmitted)},features:[Ft]})}return t})();const nk="VALID",ZD="INVALID",K_="PENDING",ik="DISABLED";function kL(t){return(QD(t)?t.validators:t)||null}function wL(t,o){return(QD(o)?o.asyncValidators:t)||null}function QD(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function _N(t,o,e){const i=t.controls;if(!(o?Object.keys(i):i).length)throw new Ze(1e3,"");if(!i[e])throw new Ze(1001,"")}function bN(t,o,e){t._forEachChild((i,s)=>{if(void 0===e[s])throw new Ze(1002,"")})}class JD{constructor(o,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(o),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(o){this._rawValidators=this._composedValidatorFn=o}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(o){this._rawAsyncValidators=this._composedAsyncValidatorFn=o}get parent(){return this._parent}get valid(){return this.status===nk}get invalid(){return this.status===ZD}get pending(){return this.status==K_}get disabled(){return this.status===ik}get enabled(){return this.status!==ik}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(o){this._assignValidators(o)}setAsyncValidators(o){this._assignAsyncValidators(o)}addValidators(o){this.setValidators(hN(o,this._rawValidators))}addAsyncValidators(o){this.setAsyncValidators(hN(o,this._rawAsyncValidators))}removeValidators(o){this.setValidators(pN(o,this._rawValidators))}removeAsyncValidators(o){this.setAsyncValidators(pN(o,this._rawAsyncValidators))}hasValidator(o){return GD(this._rawValidators,o)}hasAsyncValidator(o){return GD(this._rawAsyncValidators,o)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(o={}){this.touched=!0,this._parent&&!o.onlySelf&&this._parent.markAsTouched(o)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(o=>o.markAllAsTouched())}markAsUntouched(o={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}markAsDirty(o={}){this.pristine=!1,this._parent&&!o.onlySelf&&this._parent.markAsDirty(o)}markAsPristine(o={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}markAsPending(o={}){this.status=K_,!1!==o.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!o.onlySelf&&this._parent.markAsPending(o)}disable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=ik,this.errors=null,this._forEachChild(i=>{i.disable({...o,onlySelf:!0})}),this._updateValue(),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...o,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(o={}){const e=this._parentMarkedDirty(o.onlySelf);this.status=nk,this._forEachChild(i=>{i.enable({...o,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent}),this._updateAncestors({...o,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(o){this._parent&&!o.onlySelf&&(this._parent.updateValueAndValidity(o),o.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(o){this._parent=o}getRawValue(){return this.value}updateValueAndValidity(o={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===nk||this.status===K_)&&this._runAsyncValidator(o.emitEvent)),!1!==o.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!o.onlySelf&&this._parent.updateValueAndValidity(o)}_updateTreeValidity(o={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(o)),this.updateValueAndValidity({onlySelf:!0,emitEvent:o.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?ik:nk}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(o){if(this.asyncValidator){this.status=K_,this._hasOwnPendingAsyncValidator=!0;const e=iN(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:o})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(o,e={}){this.errors=o,this._updateControlsErrors(!1!==e.emitEvent)}get(o){let e=o;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,s)=>i&&i._find(s),this)}getError(o,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[o]:null}hasError(o,e){return!!this.getError(o,e)}get root(){let o=this;for(;o._parent;)o=o._parent;return o}_updateControlsErrors(o){this.status=this._calculateStatus(),o&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(o)}_initObservables(){this.valueChanges=new Qe,this.statusChanges=new Qe}_calculateStatus(){return this._allControlsDisabled()?ik:this.errors?ZD:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(K_)?K_:this._anyControlsHaveStatus(ZD)?ZD:nk}_anyControlsHaveStatus(o){return this._anyControls(e=>e.status===o)}_anyControlsDirty(){return this._anyControls(o=>o.dirty)}_anyControlsTouched(){return this._anyControls(o=>o.touched)}_updatePristine(o={}){this.pristine=!this._anyControlsDirty(),this._parent&&!o.onlySelf&&this._parent._updatePristine(o)}_updateTouched(o={}){this.touched=this._anyControlsTouched(),this._parent&&!o.onlySelf&&this._parent._updateTouched(o)}_registerOnCollectionChange(o){this._onCollectionChange=o}_setUpdateStrategy(o){QD(o)&&null!=o.updateOn&&(this._updateOn=o.updateOn)}_parentMarkedDirty(o){return!o&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(o){return null}_assignValidators(o){this._rawValidators=Array.isArray(o)?o.slice():o,this._composedValidatorFn=function Wz(t){return Array.isArray(t)?gL(t):t||null}(this._rawValidators)}_assignAsyncValidators(o){this._rawAsyncValidators=Array.isArray(o)?o.slice():o,this._composedAsyncValidatorFn=function $z(t){return Array.isArray(t)?_L(t):t||null}(this._rawAsyncValidators)}}class ok extends JD{constructor(o,e,i){super(kL(e),wL(i,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(o,e){return this.controls[o]?this.controls[o]:(this.controls[o]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(o,e,i={}){this.registerControl(o,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(o,e={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(o,e,i={}){this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),delete this.controls[o],e&&this.registerControl(o,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(o){return this.controls.hasOwnProperty(o)&&this.controls[o].enabled}setValue(o,e={}){bN(this,0,o),Object.keys(o).forEach(i=>{_N(this,!0,i),this.controls[i].setValue(o[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(Object.keys(o).forEach(i=>{const s=this.controls[i];s&&s.patchValue(o[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o={},e={}){this._forEachChild((i,s)=>{i.reset(o?o[s]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(o,e,i)=>(o[i]=e.getRawValue(),o))}_syncPendingControls(){let o=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&o(i,e)})}_setUpControls(){this._forEachChild(o=>{o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(o){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&o(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,s)=>((i.enabled||this.disabled)&&(e[s]=i.value),e))}_reduceChildren(o,e){let i=o;return this._forEachChild((s,l)=>{i=e(i,s,l)}),i}_allControlsDisabled(){for(const o of Object.keys(this.controls))if(this.controls[o].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(o){return this.controls.hasOwnProperty(o)?this.controls[o]:null}}class vN extends ok{}const Af=new pt("CallSetDisabledState",{providedIn:"root",factory:()=>rk}),rk="always";function XD(t,o){return[...o.path,t]}function sk(t,o,e=rk){CL(t,o),o.valueAccessor.writeValue(t.value),(t.disabled||"always"===e)&&o.valueAccessor.setDisabledState?.(t.disabled),function Gz(t,o){o.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&yN(t,o)})}(t,o),function Zz(t,o){const e=(i,s)=>{o.valueAccessor.writeValue(i),s&&o.viewToModelUpdate(i)};t.registerOnChange(e),o._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,o),function Kz(t,o){o.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&yN(t,o),"submit"!==t.updateOn&&t.markAsTouched()})}(t,o),function qz(t,o){if(o.valueAccessor.setDisabledState){const e=i=>{o.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),o._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,o)}function eT(t,o,e=!0){const i=()=>{};o.valueAccessor&&(o.valueAccessor.registerOnChange(i),o.valueAccessor.registerOnTouched(i)),nT(t,o),t&&(o._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function tT(t,o){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(o)})}function CL(t,o){const e=dN(t);null!==o.validator?t.setValidators(cN(e,o.validator)):"function"==typeof e&&t.setValidators([e]);const i=uN(t);null!==o.asyncValidator?t.setAsyncValidators(cN(i,o.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const s=()=>t.updateValueAndValidity();tT(o._rawValidators,s),tT(o._rawAsyncValidators,s)}function nT(t,o){let e=!1;if(null!==t){if(null!==o.validator){const s=dN(t);if(Array.isArray(s)&&s.length>0){const l=s.filter(h=>h!==o.validator);l.length!==s.length&&(e=!0,t.setValidators(l))}}if(null!==o.asyncValidator){const s=uN(t);if(Array.isArray(s)&&s.length>0){const l=s.filter(h=>h!==o.asyncValidator);l.length!==s.length&&(e=!0,t.setAsyncValidators(l))}}}const i=()=>{};return tT(o._rawValidators,i),tT(o._rawAsyncValidators,i),e}function yN(t,o){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),o.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function kN(t,o){CL(t,o)}function ML(t,o){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(o,e.currentValue)}function wN(t,o){t._syncPendingControls(),o.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function DL(t,o){if(!o)return null;let e,i,s;return Array.isArray(o),o.forEach(l=>{l.constructor===wf?e=l:function Xz(t){return Object.getPrototypeOf(t.constructor)===kf}(l)?i=l:s=l}),s||i||e||null}const tV={provide:vs,useExisting:xt(()=>Z_)},ak=(()=>Promise.resolve())();let Z_=(()=>{class t extends vs{constructor(e,i,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Qe,this.form=new ok({},gL(e),_L(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ak.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),sk(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ak.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ak.then(()=>{const i=this._findContainer(e.path),s=new ok({});kN(s,e),i.registerControl(e.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ak.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){ak.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,wN(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(wn,10),Ce(Ju,10),Ce(Af,8))};static#t=this.\u0275dir=Xe({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,s){1&i&&We("submit",function(h){return s.onSubmit(h)})("reset",function(){return s.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Pt([tV]),Ft]})}return t})();function CN(t,o){const e=t.indexOf(o);e>-1&&t.splice(e,1)}function AN(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const Mf=class extends JD{constructor(o=null,e,i){super(kL(e),wL(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(o),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),QD(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=AN(o)?o.value:o)}setValue(o,e={}){this.value=this._pendingValue=o,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(o,e={}){this.setValue(o,e)}reset(o=this.defaultValue,e={}){this._applyFormState(o),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(o){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(o){this._onChange.push(o)}_unregisterOnChange(o){CN(this._onChange,o)}registerOnDisabledChange(o){this._onDisabledChange.push(o)}_unregisterOnDisabledChange(o){CN(this._onDisabledChange,o)}_forEachChild(o){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(o){AN(o)?(this.value=this._pendingValue=o.value,o.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=o}},oV={provide:rc,useExisting:xt(()=>sc)},TN=(()=>Promise.resolve())();let sc=(()=>{class t extends rc{constructor(e,i,s,l,h,m){super(),this._changeDetectorRef=h,this.callSetDisabledState=m,this.control=new Mf,this._registered=!1,this.name="",this.update=new Qe,this._parent=e,this._setValidators(i),this._setAsyncValidators(s),this.valueAccessor=DL(0,l)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),ML(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){sk(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){TN.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,s=0!==i&&$_(i);TN.then(()=>{s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?XD(e,this._parent):[e]}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(vs,9),Ce(wn,10),Ce(Ju,10),Ce(qi,10),Ce(Mi,8),Ce(Af,8))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Pt([oV]),Ft,fn]})}return t})(),Q_=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=Xe({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return t})(),EN=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({})}return t})();const TL=new pt("NgModelWithFormControlWarning"),dV={provide:vs,useExisting:xt(()=>J_)};let J_=(()=>{class t extends vs{constructor(e,i,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Qe,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(nT(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return sk(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){eT(e.control||null,e,!1),function eV(t,o){const e=t.indexOf(o);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,wN(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,s=this.form.get(e.path);i!==s&&(eT(i||null,e),(t=>t instanceof Mf)(s)&&(sk(s,e,this.callSetDisabledState),e.control=s))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);kN(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function Qz(t,o){return nT(t,o)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){CL(this.form,this),this._oldForm&&nT(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(wn,10),Ce(Ju,10),Ce(Af,8))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,s){1&i&&We("submit",function(h){return s.onSubmit(h)})("reset",function(){return s.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Pt([dV]),Ft,fn]})}return t})();const pV={provide:rc,useExisting:xt(()=>lk)};let lk=(()=>{class t extends rc{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,i,s,l,h){super(),this._ngModelWarningConfig=h,this._added=!1,this.name=null,this.update=new Qe,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(s),this.valueAccessor=DL(0,l)}ngOnChanges(e){this._added||this._setUpControl(),ML(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return XD(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(i){return new(i||t)(Ce(vs,13),Ce(wn,10),Ce(Ju,10),Ce(qi,10),Ce(TL,8))};static#n=this.\u0275dir=Xe({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Pt([pV]),Ft,fn]})}return t})(),Df=(()=>{class t{constructor(){this._validator=qD}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):qD,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=Xe({type:t,features:[fn]})}return t})();const wV={provide:wn,useExisting:xt(()=>X_),multi:!0};let X_=(()=>{class t extends Df{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=$_,this.createValidator=e=>ZP}enabled(e){return e}static#e=this.\u0275fac=function(){let e;return function(s){return(e||(e=At(t)))(s||t)}}();static#t=this.\u0275dir=Xe({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(i,s){2&i&&mt("required",s._enabled?"":null)},inputs:{required:"required"},features:[Pt([wV]),Ft]})}return t})(),WN=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({imports:[EN]})}return t})();class $N extends JD{constructor(o,e,i){super(kL(e),wL(i,e)),this.controls=o,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(o){return this.controls[this._adjustIndex(o)]}push(o,e={}){this.controls.push(o),this._registerControl(o),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(o,e,i={}){this.controls.splice(o,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(o,e={}){let i=this._adjustIndex(o);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(o,e,i={}){let s=this._adjustIndex(o);s<0&&(s=0),this.controls[s]&&this.controls[s]._registerOnCollectionChange(()=>{}),this.controls.splice(s,1),e&&(this.controls.splice(s,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(o,e={}){bN(this,0,o),o.forEach((i,s)=>{_N(this,!1,s),this.at(s).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(o,e={}){null!=o&&(o.forEach((i,s)=>{this.at(s)&&this.at(s).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(o=[],e={}){this._forEachChild((i,s)=>{i.reset(o[s],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(o=>o.getRawValue())}clear(o={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:o.emitEvent}))}_adjustIndex(o){return o<0?o+this.length:o}_syncPendingControls(){let o=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return o&&this.updateValueAndValidity({onlySelf:!0}),o}_forEachChild(o){this.controls.forEach((e,i)=>{o(e,i)})}_updateValue(){this.value=this.controls.filter(o=>o.enabled||this.disabled).map(o=>o.value)}_anyControls(o){return this.controls.some(e=>e.enabled&&o(e))}_setUpControls(){this._forEachChild(o=>this._registerControl(o))}_allControlsDisabled(){for(const o of this.controls)if(o.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(o){o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange)}_find(o){return this.at(o)??null}}function qN(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let LL=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const s=this._reduceControls(e);let l={};return qN(i)?l=i:null!==i&&(l.validators=i.validator,l.asyncValidators=i.asyncValidator),new ok(s,l)}record(e,i=null){const s=this._reduceControls(e);return new vN(s,i)}control(e,i,s){let l={};return this.useNonNullable?(qN(i)?l=i:(l.validators=i,l.asyncValidators=s),new Mf(e,{...l,nonNullable:!0})):new Mf(e,i,s)}array(e,i,s){const l=e.map(h=>this._createControl(h));return new $N(l,i,s)}_reduceControls(e){const i={};return Object.keys(e).forEach(s=>{i[s]=this._createControl(e[s])}),i}_createControl(e){return e instanceof Mf||e instanceof JD?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),eb=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:Af,useValue:e.callSetDisabledState??rk}]}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({imports:[WN]})}return t})(),xV=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:TL,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Af,useValue:e.callSetDisabledState??rk}]}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({imports:[WN]})}return t})();function Qr(t,o){return $e((e,i)=>{let s=0;e.subscribe(Ue(i,l=>t.call(o,l,s++)&&i.next(l)))})}function iT(...t){const o=_c(t),e=gc(t),{args:i,keys:s}=VP(t);if(0===i.length)return Qi([],o);const l=new Me(function SV(t,o,e=Be){return i=>{GN(o,()=>{const{length:s}=t,l=new Array(s);let h=s,m=s;for(let _=0;_<s;_++)GN(o,()=>{const w=Qi(t[_],o);let N=!1;w.subscribe(Ue(i,$=>{l[_]=$,N||(N=!0,m--),m||i.next(e(l.slice()))},()=>{--h||i.complete()}))},i)},i)}}(i,o,s?h=>YP(s,h):Be));return e?l.pipe(HP(e)):l}function GN(t,o,e){t?eo(e,t,o):o()}const oT=A(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function rT(...t){return function IV(){return Vo(1)}()(Qi(t,_c(t)))}function KN(t){return new Me(o=>{cr(t()).subscribe(o)})}function tb(t,o){const e=R(t)?t:()=>t,i=s=>s.error(e());return new Me(o?s=>o.schedule(i,0,s):i)}function OL(){return $e((t,o)=>{let e=null;t._refCount++;const i=Ue(o,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const s=t._connection,l=e;e=null,s&&(!l||s===l)&&s.unsubscribe(),o.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class ZN extends Me{constructor(o,e){super(),this.source=o,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,De(o)&&(this.lift=o.lift)}_subscribe(o){return this.getSubject().subscribe(o)}getSubject(){const o=this._subject;return(!o||o.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:o}=this;this._subject=this._connection=null,o?.unsubscribe()}connect(){let o=this._connection;if(!o){o=this._connection=new C;const e=this.getSubject();o.add(this.source.subscribe(Ue(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),o.closed&&(this._connection=null,o=C.EMPTY)}return o}refCount(){return OL()(this)}}function Xu(t){return t<=0?()=>Eo:$e((o,e)=>{let i=0;o.subscribe(Ue(e,s=>{++i<=t&&(e.next(s),t<=i&&e.complete())}))})}function nb(...t){const o=_c(t);return $e((e,i)=>{(o?rT(t,e,o):rT(t,e)).subscribe(i)})}function sT(t){return $e((o,e)=>{let i=!1;o.subscribe(Ue(e,s=>{i=!0,e.next(s)},()=>{i||e.next(t),e.complete()}))})}function QN(t=LV){return $e((o,e)=>{let i=!1;o.subscribe(Ue(e,s=>{i=!0,e.next(s)},()=>i?e.complete():e.error(t())))})}function LV(){return new oT}function eh(t,o){const e=arguments.length>=2;return i=>i.pipe(t?Qr((s,l)=>t(s,l,i)):Be,Xu(1),e?sT(o):QN(()=>new oT))}function ib(t,o){return R(o)?ni(t,o,1):ni(t,1)}function Po(t,o,e){const i=R(t)||o||e?{next:t,error:o,complete:e}:t;return i?$e((s,l)=>{var h;null===(h=i.subscribe)||void 0===h||h.call(i);let m=!0;s.subscribe(Ue(l,_=>{var w;null===(w=i.next)||void 0===w||w.call(i,_),l.next(_)},()=>{var _;m=!1,null===(_=i.complete)||void 0===_||_.call(i),l.complete()},_=>{var w;m=!1,null===(w=i.error)||void 0===w||w.call(i,_),l.error(_)},()=>{var _,w;m&&(null===(_=i.unsubscribe)||void 0===_||_.call(i)),null===(w=i.finalize)||void 0===w||w.call(i)}))}):Be}function th(t){return $e((o,e)=>{let l,i=null,s=!1;i=o.subscribe(Ue(e,void 0,void 0,h=>{l=cr(t(h,th(t)(o))),i?(i.unsubscribe(),i=null,l.subscribe(e)):s=!0})),s&&(i.unsubscribe(),i=null,l.subscribe(e))})}function PL(t){return t<=0?()=>Eo:$e((o,e)=>{let i=[];o.subscribe(Ue(e,s=>{i.push(s),t<i.length&&i.shift()},()=>{for(const s of i)e.next(s);e.complete()},void 0,()=>{i=null}))})}function ob(t){return $e((o,e)=>{try{o.subscribe(e)}finally{e.add(t)}})}function nh(t){return $e((o,e)=>{cr(t).subscribe(Ue(e,()=>e.complete(),O)),!e.closed&&o.subscribe(e)})}const On="primary",ck=Symbol("RouteTitle");class FV{constructor(o){this.params=o||{}}has(o){return Object.prototype.hasOwnProperty.call(this.params,o)}get(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e[0]:e}return null}getAll(o){if(this.has(o)){const e=this.params[o];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function rb(t){return new FV(t)}function BV(t,o,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(o.hasChildren()||i.length<t.length))return null;const s={};for(let l=0;l<i.length;l++){const h=i[l],m=t[l];if(h.startsWith(":"))s[h.substring(1)]=m;else if(h!==m.path)return null}return{consumed:t.slice(0,i.length),posParams:s}}function ac(t,o){const e=t?Object.keys(t):void 0,i=o?Object.keys(o):void 0;if(!e||!i||e.length!=i.length)return!1;let s;for(let l=0;l<e.length;l++)if(s=e[l],!JN(t[s],o[s]))return!1;return!0}function JN(t,o){if(Array.isArray(t)&&Array.isArray(o)){if(t.length!==o.length)return!1;const e=[...t].sort(),i=[...o].sort();return e.every((s,l)=>i[l]===s)}return t===o}function XN(t){return t.length>0?t[t.length-1]:null}function ih(t){return function EV(t){return!!t&&(t instanceof Me||R(t.lift)&&R(t.subscribe))}(t)?t:Up(t)?Qi(Promise.resolve(t)):Yt(t)}const zV={exact:function n6(t,o,e){if(!Tf(t.segments,o.segments)||!aT(t.segments,o.segments,e)||t.numberOfChildren!==o.numberOfChildren)return!1;for(const i in o.children)if(!t.children[i]||!n6(t.children[i],o.children[i],e))return!1;return!0},subset:o6},e6={exact:function VV(t,o){return ac(t,o)},subset:function HV(t,o){return Object.keys(o).length<=Object.keys(t).length&&Object.keys(o).every(e=>JN(t[e],o[e]))},ignored:()=>!0};function t6(t,o,e){return zV[e.paths](t.root,o.root,e.matrixParams)&&e6[e.queryParams](t.queryParams,o.queryParams)&&!("exact"===e.fragment&&t.fragment!==o.fragment)}function o6(t,o,e){return r6(t,o,o.segments,e)}function r6(t,o,e,i){if(t.segments.length>e.length){const s=t.segments.slice(0,e.length);return!(!Tf(s,e)||o.hasChildren()||!aT(s,e,i))}if(t.segments.length===e.length){if(!Tf(t.segments,e)||!aT(t.segments,e,i))return!1;for(const s in o.children)if(!t.children[s]||!o6(t.children[s],o.children[s],i))return!1;return!0}{const s=e.slice(0,t.segments.length),l=e.slice(t.segments.length);return!!(Tf(t.segments,s)&&aT(t.segments,s,i)&&t.children[On])&&r6(t.children[On],o,l,i)}}function aT(t,o,e){return o.every((i,s)=>e6[e](t[s].parameters,i.parameters))}class sb{constructor(o=new Ti([],{}),e={},i=null){this.root=o,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rb(this.queryParams)),this._queryParamMap}toString(){return WV.serialize(this)}}class Ti{constructor(o,e){this.segments=o,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return lT(this)}}class dk{constructor(o,e){this.path=o,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=rb(this.parameters)),this._parameterMap}toString(){return l6(this)}}function Tf(t,o){return t.length===o.length&&t.every((e,i)=>e.path===o[i].path)}let uk=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:function(){return new NL},providedIn:"root"})}return t})();class NL{parse(o){const e=new nH(o);return new sb(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(o){const e=`/${hk(o.root,!0)}`,i=function GV(t){const o=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(s=>`${cT(e)}=${cT(s)}`).join("&"):`${cT(e)}=${cT(i)}`}).filter(e=>!!e);return o.length?`?${o.join("&")}`:""}(o.queryParams);return`${e}${i}${"string"==typeof o.fragment?`#${function $V(t){return encodeURI(t)}(o.fragment)}`:""}`}}const WV=new NL;function lT(t){return t.segments.map(o=>l6(o)).join("/")}function hk(t,o){if(!t.hasChildren())return lT(t);if(o){const e=t.children[On]?hk(t.children[On],!1):"",i=[];return Object.entries(t.children).forEach(([s,l])=>{s!==On&&i.push(`${s}:${hk(l,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function UV(t,o){let e=[];return Object.entries(t.children).forEach(([i,s])=>{i===On&&(e=e.concat(o(s,i)))}),Object.entries(t.children).forEach(([i,s])=>{i!==On&&(e=e.concat(o(s,i)))}),e}(t,(i,s)=>s===On?[hk(t.children[On],!1)]:[`${s}:${hk(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[On]?`${lT(t)}/${e[0]}`:`${lT(t)}/(${e.join("//")})`}}function s6(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function cT(t){return s6(t).replace(/%3B/gi,";")}function RL(t){return s6(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function dT(t){return decodeURIComponent(t)}function a6(t){return dT(t.replace(/\+/g,"%20"))}function l6(t){return`${RL(t.path)}${function qV(t){return Object.keys(t).map(o=>`;${RL(o)}=${RL(t[o])}`).join("")}(t.parameters)}`}const KV=/^[^\/()?;#]+/;function FL(t){const o=t.match(KV);return o?o[0]:""}const ZV=/^[^\/()?;=#]+/,JV=/^[^=?&#]+/,eH=/^[^&#]+/;class nH{constructor(o){this.url=o,this.remaining=o}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ti([],{}):new Ti([],this.parseChildren())}parseQueryParams(){const o={};if(this.consumeOptional("?"))do{this.parseQueryParam(o)}while(this.consumeOptional("&"));return o}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const o=[];for(this.peekStartsWith("(")||o.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),o.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(o.length>0||Object.keys(e).length>0)&&(i[On]=new Ti(o,e)),i}parseSegment(){const o=FL(this.remaining);if(""===o&&this.peekStartsWith(";"))throw new Ze(4009,!1);return this.capture(o),new dk(dT(o),this.parseMatrixParams())}parseMatrixParams(){const o={};for(;this.consumeOptional(";");)this.parseParam(o);return o}parseParam(o){const e=function QV(t){const o=t.match(ZV);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=FL(this.remaining);s&&(i=s,this.capture(i))}o[dT(e)]=dT(i)}parseQueryParam(o){const e=function XV(t){const o=t.match(JV);return o?o[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const h=function tH(t){const o=t.match(eH);return o?o[0]:""}(this.remaining);h&&(i=h,this.capture(i))}const s=a6(e),l=a6(i);if(o.hasOwnProperty(s)){let h=o[s];Array.isArray(h)||(h=[h],o[s]=h),h.push(l)}else o[s]=l}parseParens(o){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=FL(this.remaining),s=this.remaining[i.length];if("/"!==s&&")"!==s&&";"!==s)throw new Ze(4010,!1);let l;i.indexOf(":")>-1?(l=i.slice(0,i.indexOf(":")),this.capture(l),this.capture(":")):o&&(l=On);const h=this.parseChildren();e[l]=1===Object.keys(h).length?h[On]:new Ti([],h),this.consumeOptional("//")}return e}peekStartsWith(o){return this.remaining.startsWith(o)}consumeOptional(o){return!!this.peekStartsWith(o)&&(this.remaining=this.remaining.substring(o.length),!0)}capture(o){if(!this.consumeOptional(o))throw new Ze(4011,!1)}}function c6(t){return t.segments.length>0?new Ti([],{[On]:t}):t}function d6(t){const o={};for(const i of Object.keys(t.children)){const l=d6(t.children[i]);if(i===On&&0===l.segments.length&&l.hasChildren())for(const[h,m]of Object.entries(l.children))o[h]=m;else(l.segments.length>0||l.hasChildren())&&(o[i]=l)}return function iH(t){if(1===t.numberOfChildren&&t.children[On]){const o=t.children[On];return new Ti(t.segments.concat(o.segments),o.children)}return t}(new Ti(t.segments,o))}function xf(t){return t instanceof sb}function u6(t){let o;const s=c6(function e(l){const h={};for(const _ of l.children){const w=e(_);h[_.outlet]=w}const m=new Ti(l.url,h);return l===t&&(o=m),m}(t.root));return o??s}function h6(t,o,e,i){let s=t;for(;s.parent;)s=s.parent;if(0===o.length)return BL(s,s,s,e,i);const l=function rH(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new f6(!0,0,t);let o=0,e=!1;const i=t.reduce((s,l,h)=>{if("object"==typeof l&&null!=l){if(l.outlets){const m={};return Object.entries(l.outlets).forEach(([_,w])=>{m[_]="string"==typeof w?w.split("/"):w}),[...s,{outlets:m}]}if(l.segmentPath)return[...s,l.segmentPath]}return"string"!=typeof l?[...s,l]:0===h?(l.split("/").forEach((m,_)=>{0==_&&"."===m||(0==_&&""===m?e=!0:".."===m?o++:""!=m&&s.push(m))}),s):[...s,l]},[]);return new f6(e,o,i)}(o);if(l.toRoot())return BL(s,s,new Ti([],{}),e,i);const h=function sH(t,o,e){if(t.isAbsolute)return new hT(o,!0,0);if(!e)return new hT(o,!1,NaN);if(null===e.parent)return new hT(e,!0,0);const i=uT(t.commands[0])?0:1;return function aH(t,o,e){let i=t,s=o,l=e;for(;l>s;){if(l-=s,i=i.parent,!i)throw new Ze(4005,!1);s=i.segments.length}return new hT(i,!1,s-l)}(e,e.segments.length-1+i,t.numberOfDoubleDots)}(l,s,t),m=h.processChildren?fk(h.segmentGroup,h.index,l.commands):m6(h.segmentGroup,h.index,l.commands);return BL(s,h.segmentGroup,m,e,i)}function uT(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function pk(t){return"object"==typeof t&&null!=t&&t.outlets}function BL(t,o,e,i,s){let h,l={};i&&Object.entries(i).forEach(([_,w])=>{l[_]=Array.isArray(w)?w.map(N=>`${N}`):`${w}`}),h=t===o?e:p6(t,o,e);const m=c6(d6(h));return new sb(m,l,s)}function p6(t,o,e){const i={};return Object.entries(t.children).forEach(([s,l])=>{i[s]=l===o?e:p6(l,o,e)}),new Ti(t.segments,i)}class f6{constructor(o,e,i){if(this.isAbsolute=o,this.numberOfDoubleDots=e,this.commands=i,o&&i.length>0&&uT(i[0]))throw new Ze(4003,!1);const s=i.find(pk);if(s&&s!==XN(i))throw new Ze(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class hT{constructor(o,e,i){this.segmentGroup=o,this.processChildren=e,this.index=i}}function m6(t,o,e){if(t||(t=new Ti([],{})),0===t.segments.length&&t.hasChildren())return fk(t,o,e);const i=function cH(t,o,e){let i=0,s=o;const l={match:!1,pathIndex:0,commandIndex:0};for(;s<t.segments.length;){if(i>=e.length)return l;const h=t.segments[s],m=e[i];if(pk(m))break;const _=`${m}`,w=i<e.length-1?e[i+1]:null;if(s>0&&void 0===_)break;if(_&&w&&"object"==typeof w&&void 0===w.outlets){if(!_6(_,w,h))return l;i+=2}else{if(!_6(_,{},h))return l;i++}s++}return{match:!0,pathIndex:s,commandIndex:i}}(t,o,e),s=e.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){const l=new Ti(t.segments.slice(0,i.pathIndex),{});return l.children[On]=new Ti(t.segments.slice(i.pathIndex),t.children),fk(l,0,s)}return i.match&&0===s.length?new Ti(t.segments,{}):i.match&&!t.hasChildren()?jL(t,o,e):i.match?fk(t,0,s):jL(t,o,e)}function fk(t,o,e){if(0===e.length)return new Ti(t.segments,{});{const i=function lH(t){return pk(t[0])?t[0].outlets:{[On]:t}}(e),s={};if(Object.keys(i).some(l=>l!==On)&&t.children[On]&&1===t.numberOfChildren&&0===t.children[On].segments.length){const l=fk(t.children[On],o,e);return new Ti(t.segments,l.children)}return Object.entries(i).forEach(([l,h])=>{"string"==typeof h&&(h=[h]),null!==h&&(s[l]=m6(t.children[l],o,h))}),Object.entries(t.children).forEach(([l,h])=>{void 0===i[l]&&(s[l]=h)}),new Ti(t.segments,s)}}function jL(t,o,e){const i=t.segments.slice(0,o);let s=0;for(;s<e.length;){const l=e[s];if(pk(l)){const _=dH(l.outlets);return new Ti(i,_)}if(0===s&&uT(e[0])){i.push(new dk(t.segments[o].path,g6(e[0]))),s++;continue}const h=pk(l)?l.outlets[On]:`${l}`,m=s<e.length-1?e[s+1]:null;h&&m&&uT(m)?(i.push(new dk(h,g6(m))),s+=2):(i.push(new dk(h,{})),s++)}return new Ti(i,{})}function dH(t){const o={};return Object.entries(t).forEach(([e,i])=>{"string"==typeof i&&(i=[i]),null!==i&&(o[e]=jL(new Ti([],{}),0,i))}),o}function g6(t){const o={};return Object.entries(t).forEach(([e,i])=>o[e]=`${i}`),o}function _6(t,o,e){return t==e.path&&ac(o,e.parameters)}const mk="imperative";class lc{constructor(o,e){this.id=o,this.url=e}}class gk extends lc{constructor(o,e,i="imperative",s=null){super(o,e),this.type=0,this.navigationTrigger=i,this.restoredState=s}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class xd extends lc{constructor(o,e,i){super(o,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ab extends lc{constructor(o,e,i,s){super(o,e),this.reason=i,this.code=s,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class lb extends lc{constructor(o,e,i,s){super(o,e),this.reason=i,this.code=s,this.type=16}}class _k extends lc{constructor(o,e,i,s){super(o,e),this.error=i,this.target=s,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class b6 extends lc{constructor(o,e,i,s){super(o,e),this.urlAfterRedirects=i,this.state=s,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class uH extends lc{constructor(o,e,i,s){super(o,e),this.urlAfterRedirects=i,this.state=s,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class hH extends lc{constructor(o,e,i,s,l){super(o,e),this.urlAfterRedirects=i,this.state=s,this.shouldActivate=l,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class pH extends lc{constructor(o,e,i,s){super(o,e),this.urlAfterRedirects=i,this.state=s,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fH extends lc{constructor(o,e,i,s){super(o,e),this.urlAfterRedirects=i,this.state=s,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mH{constructor(o){this.route=o,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class gH{constructor(o){this.route=o,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class _H{constructor(o){this.snapshot=o,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bH{constructor(o){this.snapshot=o,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vH{constructor(o){this.snapshot=o,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class yH{constructor(o){this.snapshot=o,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class v6{constructor(o,e,i){this.routerEvent=o,this.position=e,this.anchor=i,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class zL{}class VL{constructor(o){this.url=o}}class kH{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new bk,this.attachRef=null}}let bk=(()=>{class t{constructor(){this.contexts=new Map}onChildOutletCreated(e,i){const s=this.getOrCreateContext(e);s.outlet=i,this.contexts.set(e,s)}onChildOutletDestroyed(e){const i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new kH,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class y6{constructor(o){this._root=o}get root(){return this._root.value}parent(o){const e=this.pathFromRoot(o);return e.length>1?e[e.length-2]:null}children(o){const e=HL(o,this._root);return e?e.children.map(i=>i.value):[]}firstChild(o){const e=HL(o,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(o){const e=YL(o,this._root);return e.length<2?[]:e[e.length-2].children.map(s=>s.value).filter(s=>s!==o)}pathFromRoot(o){return YL(o,this._root).map(e=>e.value)}}function HL(t,o){if(t===o.value)return o;for(const e of o.children){const i=HL(t,e);if(i)return i}return null}function YL(t,o){if(t===o.value)return[o];for(const e of o.children){const i=YL(t,e);if(i.length)return i.unshift(o),i}return[]}class Ed{constructor(o,e){this.value=o,this.children=e}toString(){return`TreeNode(${this.value})`}}function cb(t){const o={};return t&&t.children.forEach(e=>o[e.value.outlet]=e),o}class k6 extends y6{constructor(o,e){super(o),this.snapshot=e,UL(this,o)}toString(){return this.snapshot.toString()}}function w6(t,o){const e=function wH(t,o){const h=new pT([],{},{},"",{},On,o,null,{});return new A6("",new Ed(h,[]))}(0,o),i=new to([new dk("",{})]),s=new to({}),l=new to({}),h=new to({}),m=new to(""),_=new cc(i,s,h,m,l,On,o,e.root);return _.snapshot=e.root,new k6(new Ed(_,[]),e)}class cc{constructor(o,e,i,s,l,h,m,_){this.urlSubject=o,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=s,this.dataSubject=l,this.outlet=h,this.component=m,this._futureSnapshot=_,this.title=this.dataSubject?.pipe(ot(w=>w[ck]))??Yt(void 0),this.url=o,this.params=e,this.queryParams=i,this.fragment=s,this.data=l}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(ot(o=>rb(o)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ot(o=>rb(o)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function C6(t,o="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==o)for(i=e.length-1;i>=1;){const s=e[i],l=e[i-1];if(s.routeConfig&&""===s.routeConfig.path)i--;else{if(l.component)break;i--}}return function CH(t){return t.reduce((o,e)=>({params:{...o.params,...e.params},data:{...o.data,...e.data},resolve:{...e.data,...o.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class pT{get title(){return this.data?.[ck]}constructor(o,e,i,s,l,h,m,_,w){this.url=o,this.params=e,this.queryParams=i,this.fragment=s,this.data=l,this.outlet=h,this.component=m,this.routeConfig=_,this._resolve=w}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=rb(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=rb(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class A6 extends y6{constructor(o,e){super(e),this.url=o,UL(this,e)}toString(){return M6(this._root)}}function UL(t,o){o.value._routerState=t,o.children.forEach(e=>UL(t,e))}function M6(t){const o=t.children.length>0?` { ${t.children.map(M6).join(", ")} } `:"";return`${t.value}${o}`}function WL(t){if(t.snapshot){const o=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ac(o.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),o.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),ac(o.params,e.params)||t.paramsSubject.next(e.params),function jV(t,o){if(t.length!==o.length)return!1;for(let e=0;e<t.length;++e)if(!ac(t[e],o[e]))return!1;return!0}(o.url,e.url)||t.urlSubject.next(e.url),ac(o.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function $L(t,o){const e=ac(t.params,o.params)&&function YV(t,o){return Tf(t,o)&&t.every((e,i)=>ac(e.parameters,o[i].parameters))}(t.url,o.url);return e&&!(!t.parent!=!o.parent)&&(!t.parent||$L(t.parent,o.parent))}let qL=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=On,this.activateEvents=new Qe,this.deactivateEvents=new Qe,this.attachEvents=new Qe,this.detachEvents=new Qe,this.parentContexts=_t(bk),this.location=_t(xr),this.changeDetector=_t(Mi),this.environmentInjector=_t(fs),this.inputBinder=_t(fT,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:i,previousValue:s}=e.name;if(i)return;this.isTrackedInParentContexts(s)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(s)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Ze(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Ze(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Ze(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Ze(4013,!1);this._activatedRoute=e;const s=this.location,h=e.snapshot.component,m=this.parentContexts.getOrCreateContext(this.name).children,_=new AH(e,m,s.injector);this.activated=s.createComponent(h,{index:s.length,injector:_,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=Xe({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[fn]})}return t})();class AH{constructor(o,e,i){this.route=o,this.childContexts=e,this.parent=i}get(o,e){return o===cc?this.route:o===bk?this.childContexts:this.parent.get(o,e)}}const fT=new pt("");let D6=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:i}=e,s=iT([i.queryParams,i.params,i.data]).pipe(Or(([l,h,m],_)=>(m={...l,...h,...m},0===_?Yt(m):Promise.resolve(m)))).subscribe(l=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||null===i.component)return void this.unsubscribeFromRouteData(e);const h=function uB(t){const o=Bn(t);if(!o)return null;const e=new Lp(o);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return o.standalone},get isSignal(){return o.signals}}}(i.component);if(h)for(const{templateName:m}of h.inputs)e.activatedComponentRef.setInput(m,l[m]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,s)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();function vk(t,o,e){if(e&&t.shouldReuseRoute(o.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=o.value;const s=function DH(t,o,e){return o.children.map(i=>{for(const s of e.children)if(t.shouldReuseRoute(i.value,s.value.snapshot))return vk(t,i,s);return vk(t,i)})}(t,o,e);return new Ed(i,s)}{if(t.shouldAttach(o.value)){const l=t.retrieve(o.value);if(null!==l){const h=l.route;return h.value._futureSnapshot=o.value,h.children=o.children.map(m=>vk(t,m)),h}}const i=function TH(t){return new cc(new to(t.url),new to(t.params),new to(t.queryParams),new to(t.fragment),new to(t.data),t.outlet,t.component,t)}(o.value),s=o.children.map(l=>vk(t,l));return new Ed(i,s)}}const GL="ngNavigationCancelingError";function T6(t,o){const{redirectTo:e,navigationBehaviorOptions:i}=xf(o)?{redirectTo:o,navigationBehaviorOptions:void 0}:o,s=x6(!1,0,o);return s.url=e,s.navigationBehaviorOptions=i,s}function x6(t,o,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[GL]=!0,i.cancellationCode=o,e&&(i.url=e),i}function E6(t){return t&&t[GL]}let S6=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ct({type:t,selectors:[["ng-component"]],standalone:!0,features:[Wn],decls:1,vars:0,template:function(i,s){1&i&&Re(0,"router-outlet")},dependencies:[qL],encapsulation:2})}return t})();function KL(t){const o=t.children&&t.children.map(KL),e=o?{...t,children:o}:{...t};return!e.component&&!e.loadComponent&&(o||e.loadChildren)&&e.outlet&&e.outlet!==On&&(e.component=S6),e}function xl(t){return t.outlet||On}function yk(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let o=t.parent;o;o=o.parent){const e=o.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class NH{constructor(o,e,i,s,l){this.routeReuseStrategy=o,this.futureState=e,this.currState=i,this.forwardEvent=s,this.inputBindingEnabled=l}activate(o){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,o),WL(this.futureState.root),this.activateChildRoutes(e,i,o)}deactivateChildRoutes(o,e,i){const s=cb(e);o.children.forEach(l=>{const h=l.value.outlet;this.deactivateRoutes(l,s[h],i),delete s[h]}),Object.values(s).forEach(l=>{this.deactivateRouteAndItsChildren(l,i)})}deactivateRoutes(o,e,i){const s=o.value,l=e?e.value:null;if(s===l)if(s.component){const h=i.getContext(s.outlet);h&&this.deactivateChildRoutes(o,e,h.children)}else this.deactivateChildRoutes(o,e,i);else l&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(o,e){o.value.component&&this.routeReuseStrategy.shouldDetach(o.value.snapshot)?this.detachAndStoreRouteSubtree(o,e):this.deactivateRouteAndOutlet(o,e)}detachAndStoreRouteSubtree(o,e){const i=e.getContext(o.value.outlet),s=i&&o.value.component?i.children:e,l=cb(o);for(const h of Object.keys(l))this.deactivateRouteAndItsChildren(l[h],s);if(i&&i.outlet){const h=i.outlet.detach(),m=i.children.onOutletDeactivated();this.routeReuseStrategy.store(o.value.snapshot,{componentRef:h,route:o,contexts:m})}}deactivateRouteAndOutlet(o,e){const i=e.getContext(o.value.outlet),s=i&&o.value.component?i.children:e,l=cb(o);for(const h of Object.keys(l))this.deactivateRouteAndItsChildren(l[h],s);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(o,e,i){const s=cb(e);o.children.forEach(l=>{this.activateRoutes(l,s[l.value.outlet],i),this.forwardEvent(new yH(l.value.snapshot))}),o.children.length&&this.forwardEvent(new bH(o.value.snapshot))}activateRoutes(o,e,i){const s=o.value,l=e?e.value:null;if(WL(s),s===l)if(s.component){const h=i.getOrCreateContext(s.outlet);this.activateChildRoutes(o,e,h.children)}else this.activateChildRoutes(o,e,i);else if(s.component){const h=i.getOrCreateContext(s.outlet);if(this.routeReuseStrategy.shouldAttach(s.snapshot)){const m=this.routeReuseStrategy.retrieve(s.snapshot);this.routeReuseStrategy.store(s.snapshot,null),h.children.onOutletReAttached(m.contexts),h.attachRef=m.componentRef,h.route=m.route.value,h.outlet&&h.outlet.attach(m.componentRef,m.route.value),WL(m.route.value),this.activateChildRoutes(o,null,h.children)}else{const m=yk(s.snapshot);h.attachRef=null,h.route=s,h.injector=m,h.outlet&&h.outlet.activateWith(s,h.injector),this.activateChildRoutes(o,null,h.children)}}else this.activateChildRoutes(o,null,i)}}class I6{constructor(o){this.path=o,this.route=this.path[this.path.length-1]}}class mT{constructor(o,e){this.component=o,this.route=e}}function RH(t,o,e){const i=t._root;return kk(i,o?o._root:null,e,[i.value])}function db(t,o){const e=Symbol(),i=o.get(t,e);return i===e?"function"!=typeof t||function Za(t){return null!==li(t)}(t)?o.get(t):t:i}function kk(t,o,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const l=cb(o);return t.children.forEach(h=>{(function BH(t,o,e,i,s={canDeactivateChecks:[],canActivateChecks:[]}){const l=t.value,h=o?o.value:null,m=e?e.getContext(t.value.outlet):null;if(h&&l.routeConfig===h.routeConfig){const _=function jH(t,o,e){if("function"==typeof e)return e(t,o);switch(e){case"pathParamsChange":return!Tf(t.url,o.url);case"pathParamsOrQueryParamsChange":return!Tf(t.url,o.url)||!ac(t.queryParams,o.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!$L(t,o)||!ac(t.queryParams,o.queryParams);default:return!$L(t,o)}}(h,l,l.routeConfig.runGuardsAndResolvers);_?s.canActivateChecks.push(new I6(i)):(l.data=h.data,l._resolvedData=h._resolvedData),kk(t,o,l.component?m?m.children:null:e,i,s),_&&m&&m.outlet&&m.outlet.isActivated&&s.canDeactivateChecks.push(new mT(m.outlet.component,h))}else h&&wk(o,m,s),s.canActivateChecks.push(new I6(i)),kk(t,null,l.component?m?m.children:null:e,i,s)})(h,l[h.value.outlet],e,i.concat([h.value]),s),delete l[h.value.outlet]}),Object.entries(l).forEach(([h,m])=>wk(m,e.getContext(h),s)),s}function wk(t,o,e){const i=cb(t),s=t.value;Object.entries(i).forEach(([l,h])=>{wk(h,s.component?o?o.children.getContext(l):null:o,e)}),e.canDeactivateChecks.push(new mT(s.component&&o&&o.outlet&&o.outlet.isActivated?o.outlet.component:null,s))}function Ck(t){return"function"==typeof t}function L6(t){return t instanceof oT||"EmptyError"===t?.name}const gT=Symbol("INITIAL_VALUE");function ub(){return Or(t=>iT(t.map(o=>o.pipe(Xu(1),nb(gT)))).pipe(ot(o=>{for(const e of o)if(!0!==e){if(e===gT)return gT;if(!1===e||e instanceof sb)return e}return!0}),Qr(o=>o!==gT),Xu(1)))}function O6(t){return function rt(...t){return Ne(t)}(Po(o=>{if(xf(o))throw T6(0,o)}),ot(o=>!0===o))}class _T{constructor(o){this.segmentGroup=o||null}}class P6{constructor(o){this.urlTree=o}}function hb(t){return tb(new _T(t))}function N6(t){return tb(new P6(t))}class rY{constructor(o,e){this.urlSerializer=o,this.urlTree=e}noMatchError(o){return new Ze(4002,!1)}lineralizeSegments(o,e){let i=[],s=e.root;for(;;){if(i=i.concat(s.segments),0===s.numberOfChildren)return Yt(i);if(s.numberOfChildren>1||!s.children[On])return tb(new Ze(4e3,!1));s=s.children[On]}}applyRedirectCommands(o,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),o,i)}applyRedirectCreateUrlTree(o,e,i,s){const l=this.createSegmentGroup(o,e.root,i,s);return new sb(l,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(o,e){const i={};return Object.entries(o).forEach(([s,l])=>{if("string"==typeof l&&l.startsWith(":")){const m=l.substring(1);i[s]=e[m]}else i[s]=l}),i}createSegmentGroup(o,e,i,s){const l=this.createSegments(o,e.segments,i,s);let h={};return Object.entries(e.children).forEach(([m,_])=>{h[m]=this.createSegmentGroup(o,_,i,s)}),new Ti(l,h)}createSegments(o,e,i,s){return e.map(l=>l.path.startsWith(":")?this.findPosParam(o,l,s):this.findOrReturn(l,i))}findPosParam(o,e,i){const s=i[e.path.substring(1)];if(!s)throw new Ze(4001,!1);return s}findOrReturn(o,e){let i=0;for(const s of e){if(s.path===o.path)return e.splice(i),s;i++}return o}}const ZL={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function sY(t,o,e,i,s){const l=QL(t,o,e);return l.matched?(i=function EH(t,o){return t.providers&&!t._injector&&(t._injector=f1(t.providers,o,`Route: ${t.path}`)),t._injector??o}(o,i),function nY(t,o,e,i){const s=o.canMatch;return s&&0!==s.length?Yt(s.map(h=>{const m=db(h,t);return ih(function WH(t){return t&&Ck(t.canMatch)}(m)?m.canMatch(o,e):t.runInContext(()=>m(o,e)))})).pipe(ub(),O6()):Yt(!0)}(i,o,e).pipe(ot(h=>!0===h?l:{...ZL}))):Yt(l)}function QL(t,o,e){if(""===o.path)return"full"===o.pathMatch&&(t.hasChildren()||e.length>0)?{...ZL}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const s=(o.matcher||BV)(e,t,o);if(!s)return{...ZL};const l={};Object.entries(s.posParams??{}).forEach(([m,_])=>{l[m]=_.path});const h=s.consumed.length>0?{...l,...s.consumed[s.consumed.length-1].parameters}:l;return{matched:!0,consumedSegments:s.consumed,remainingSegments:e.slice(s.consumed.length),parameters:h,positionalParamSegments:s.posParams??{}}}function R6(t,o,e,i){return e.length>0&&function cY(t,o,e){return e.some(i=>bT(t,o,i)&&xl(i)!==On)}(t,e,i)?{segmentGroup:new Ti(o,lY(i,new Ti(e,t.children))),slicedSegments:[]}:0===e.length&&function dY(t,o,e){return e.some(i=>bT(t,o,i))}(t,e,i)?{segmentGroup:new Ti(t.segments,aY(t,0,e,i,t.children)),slicedSegments:e}:{segmentGroup:new Ti(t.segments,t.children),slicedSegments:e}}function aY(t,o,e,i,s){const l={};for(const h of i)if(bT(t,e,h)&&!s[xl(h)]){const m=new Ti([],{});l[xl(h)]=m}return{...s,...l}}function lY(t,o){const e={};e[On]=o;for(const i of t)if(""===i.path&&xl(i)!==On){const s=new Ti([],{});e[xl(i)]=s}return e}function bT(t,o,e){return(!(t.hasChildren()||o.length>0)||"full"!==e.pathMatch)&&""===e.path}class fY{constructor(o,e,i,s,l,h,m){this.injector=o,this.configLoader=e,this.rootComponentType=i,this.config=s,this.urlTree=l,this.paramsInheritanceStrategy=h,this.urlSerializer=m,this.allowRedirects=!0,this.applyRedirects=new rY(this.urlSerializer,this.urlTree)}noMatchError(o){return new Ze(4002,!1)}recognize(){const o=R6(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,o,On).pipe(th(e=>{if(e instanceof P6)return this.allowRedirects=!1,this.urlTree=e.urlTree,this.match(e.urlTree);throw e instanceof _T?this.noMatchError(e):e}),ot(e=>{const i=new pT([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},On,this.rootComponentType,null,{}),s=new Ed(i,e),l=new A6("",s),h=function oH(t,o,e=null,i=null){return h6(u6(t),o,e,i)}(i,[],this.urlTree.queryParams,this.urlTree.fragment);return h.queryParams=this.urlTree.queryParams,l.url=this.urlSerializer.serialize(h),this.inheritParamsAndData(l._root),{state:l,tree:h}}))}match(o){return this.processSegmentGroup(this.injector,this.config,o.root,On).pipe(th(i=>{throw i instanceof _T?this.noMatchError(i):i}))}inheritParamsAndData(o){const e=o.value,i=C6(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),o.children.forEach(s=>this.inheritParamsAndData(s))}processSegmentGroup(o,e,i,s){return 0===i.segments.length&&i.hasChildren()?this.processChildren(o,e,i):this.processSegment(o,e,i,i.segments,s,!0)}processChildren(o,e,i){const s=[];for(const l of Object.keys(i.children))"primary"===l?s.unshift(l):s.push(l);return Qi(s).pipe(ib(l=>{const h=i.children[l],m=function OH(t,o){const e=t.filter(i=>xl(i)===o);return e.push(...t.filter(i=>xl(i)!==o)),e}(e,l);return this.processSegmentGroup(o,m,h,l)}),function PV(t,o){return $e(function OV(t,o,e,i,s){return(l,h)=>{let m=e,_=o,w=0;l.subscribe(Ue(h,N=>{const $=w++;_=m?t(_,N,$):(m=!0,N),i&&h.next(_)},s&&(()=>{m&&h.next(_),h.complete()})))}}(t,o,arguments.length>=2,!0))}((l,h)=>(l.push(...h),l)),sT(null),function NV(t,o){const e=arguments.length>=2;return i=>i.pipe(t?Qr((s,l)=>t(s,l,i)):Be,PL(1),e?sT(o):QN(()=>new oT))}(),ni(l=>{if(null===l)return hb(i);const h=F6(l);return function mY(t){t.sort((o,e)=>o.value.outlet===On?-1:e.value.outlet===On?1:o.value.outlet.localeCompare(e.value.outlet))}(h),Yt(h)}))}processSegment(o,e,i,s,l,h){return Qi(e).pipe(ib(m=>this.processSegmentAgainstRoute(m._injector??o,e,m,i,s,l,h).pipe(th(_=>{if(_ instanceof _T)return Yt(null);throw _}))),eh(m=>!!m),th(m=>{if(L6(m))return function hY(t,o,e){return 0===o.length&&!t.children[e]}(i,s,l)?Yt([]):hb(i);throw m}))}processSegmentAgainstRoute(o,e,i,s,l,h,m){return function uY(t,o,e,i){return!!(xl(t)===i||i!==On&&bT(o,e,t))&&("**"===t.path||QL(o,t,e).matched)}(i,s,l,h)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(o,s,i,l,h,m):m&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(o,s,e,i,l,h):hb(s):hb(s)}expandSegmentAgainstRouteUsingRedirect(o,e,i,s,l,h){return"**"===s.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(o,i,s,h):this.expandRegularSegmentAgainstRouteUsingRedirect(o,e,i,s,l,h)}expandWildCardWithParamsAgainstRouteUsingRedirect(o,e,i,s){const l=this.applyRedirects.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?N6(l):this.applyRedirects.lineralizeSegments(i,l).pipe(ni(h=>{const m=new Ti(h,{});return this.processSegment(o,e,m,h,s,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(o,e,i,s,l,h){const{matched:m,consumedSegments:_,remainingSegments:w,positionalParamSegments:N}=QL(e,s,l);if(!m)return hb(e);const $=this.applyRedirects.applyRedirectCommands(_,s.redirectTo,N);return s.redirectTo.startsWith("/")?N6($):this.applyRedirects.lineralizeSegments(s,$).pipe(ni(oe=>this.processSegment(o,i,e,oe.concat(w),h,!1)))}matchSegmentAgainstRoute(o,e,i,s,l,h){let m;if("**"===i.path){const _=s.length>0?XN(s).parameters:{};m=Yt({snapshot:new pT(s,_,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,B6(i),xl(i),i.component??i._loadedComponent??null,i,j6(i)),consumedSegments:[],remainingSegments:[]}),e.children={}}else m=sY(e,i,s,o).pipe(ot(({matched:_,consumedSegments:w,remainingSegments:N,parameters:$})=>_?{snapshot:new pT(w,$,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,B6(i),xl(i),i.component??i._loadedComponent??null,i,j6(i)),consumedSegments:w,remainingSegments:N}:null));return m.pipe(Or(_=>null===_?hb(e):this.getChildConfig(o=i._injector??o,i,s).pipe(Or(({routes:w})=>{const N=i._loadedInjector??o,{snapshot:$,consumedSegments:oe,remainingSegments:le}=_,{segmentGroup:ve,slicedSegments:we}=R6(e,oe,le,w);if(0===we.length&&ve.hasChildren())return this.processChildren(N,w,ve).pipe(ot(Ye=>null===Ye?null:[new Ed($,Ye)]));if(0===w.length&&0===we.length)return Yt([new Ed($,[])]);const xe=xl(i)===l;return this.processSegment(N,w,ve,we,xe?On:l,!0).pipe(ot(Ye=>[new Ed($,Ye)]))}))))}getChildConfig(o,e,i){return e.children?Yt({routes:e.children,injector:o}):e.loadChildren?void 0!==e._loadedRoutes?Yt({routes:e._loadedRoutes,injector:e._loadedInjector}):function tY(t,o,e,i){const s=o.canLoad;return void 0===s||0===s.length?Yt(!0):Yt(s.map(h=>{const m=db(h,t);return ih(function VH(t){return t&&Ck(t.canLoad)}(m)?m.canLoad(o,e):t.runInContext(()=>m(o,e)))})).pipe(ub(),O6())}(o,e,i).pipe(ni(s=>s?this.configLoader.loadChildren(o,e).pipe(Po(l=>{e._loadedRoutes=l.routes,e._loadedInjector=l.injector})):function oY(t){return tb(x6(!1,3))}())):Yt({routes:[],injector:o})}}function gY(t){const o=t.value.routeConfig;return o&&""===o.path}function F6(t){const o=[],e=new Set;for(const i of t){if(!gY(i)){o.push(i);continue}const s=o.find(l=>i.value.routeConfig===l.value.routeConfig);void 0!==s?(s.children.push(...i.children),e.add(s)):o.push(i)}for(const i of e){const s=F6(i.children);o.push(new Ed(i.value,s))}return o.filter(i=>!e.has(i))}function B6(t){return t.data||{}}function j6(t){return t.resolve||{}}function z6(t){return"string"==typeof t.title||null===t.title}function JL(t){return Or(o=>{const e=t(o);return e?Qi(e).pipe(ot(()=>o)):Yt(o)})}const pb=new pt("ROUTES");let XL=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=_t(rD)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Yt(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=ih(e.loadComponent()).pipe(ot(V6),Po(l=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=l}),ob(()=>{this.componentLoaders.delete(e)})),s=new ZN(i,()=>new Ie).pipe(OL());return this.componentLoaders.set(e,s),s}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Yt({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const l=function CY(t,o,e,i){return ih(t.loadChildren()).pipe(ot(V6),ni(s=>s instanceof pM||Array.isArray(s)?Yt(s):Qi(o.compileModuleAsync(s))),ot(s=>{i&&i(t);let l,h,m=!1;return Array.isArray(s)?(h=s,!0):(l=s.create(e).injector,h=l.get(pb,[],{optional:!0,self:!0}).flat()),{routes:h.map(KL),injector:l}}))}(i,this.compiler,e,this.onLoadEndListener).pipe(ob(()=>{this.childrenLoaders.delete(i)})),h=new ZN(l,()=>new Ie).pipe(OL());return this.childrenLoaders.set(i,h),h}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function V6(t){return function AY(t){return t&&"object"==typeof t&&"default"in t}(t)?t.default:t}let vT=(()=>{class t{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ie,this.transitionAbortSubject=new Ie,this.configLoader=_t(XL),this.environmentInjector=_t(fs),this.urlSerializer=_t(uk),this.rootContexts=_t(bk),this.inputBindingEnabled=null!==_t(fT,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Yt(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=s=>this.events.next(new gH(s)),this.configLoader.onLoadStartListener=s=>this.events.next(new mH(s))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const i=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:i})}setupNavigations(e,i,s){return this.transitions=new to({id:0,currentUrlTree:i,currentRawUrl:i,currentBrowserUrl:i,extractedUrl:e.urlHandlingStrategy.extract(i),urlAfterRedirects:e.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:mk,restoredState:null,currentSnapshot:s.snapshot,targetSnapshot:null,currentRouterState:s,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Qr(l=>0!==l.id),ot(l=>({...l,extractedUrl:e.urlHandlingStrategy.extract(l.rawUrl)})),Or(l=>{this.currentTransition=l;let h=!1,m=!1;return Yt(l).pipe(Po(_=>{this.currentNavigation={id:_.id,initialUrl:_.rawUrl,extractedUrl:_.extractedUrl,trigger:_.source,extras:_.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Or(_=>{const w=_.currentBrowserUrl.toString(),N=!e.navigated||_.extractedUrl.toString()!==w||w!==_.currentUrlTree.toString();if(!N&&"reload"!==(_.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const oe="";return this.events.next(new lb(_.id,this.urlSerializer.serialize(_.rawUrl),oe,0)),_.resolve(null),Eo}if(e.urlHandlingStrategy.shouldProcessUrl(_.rawUrl))return Yt(_).pipe(Or(oe=>{const le=this.transitions?.getValue();return this.events.next(new gk(oe.id,this.urlSerializer.serialize(oe.extractedUrl),oe.source,oe.restoredState)),le!==this.transitions?.getValue()?Eo:Promise.resolve(oe)}),function _Y(t,o,e,i,s,l){return ni(h=>function pY(t,o,e,i,s,l,h="emptyOnly"){return new fY(t,o,e,i,s,h,l).recognize()}(t,o,e,i,h.extractedUrl,s,l).pipe(ot(({state:m,tree:_})=>({...h,targetSnapshot:m,urlAfterRedirects:_}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,e.paramsInheritanceStrategy),Po(oe=>{l.targetSnapshot=oe.targetSnapshot,l.urlAfterRedirects=oe.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:oe.urlAfterRedirects};const le=new b6(oe.id,this.urlSerializer.serialize(oe.extractedUrl),this.urlSerializer.serialize(oe.urlAfterRedirects),oe.targetSnapshot);this.events.next(le)}));if(N&&e.urlHandlingStrategy.shouldProcessUrl(_.currentRawUrl)){const{id:oe,extractedUrl:le,source:ve,restoredState:we,extras:xe}=_,Ye=new gk(oe,this.urlSerializer.serialize(le),ve,we);this.events.next(Ye);const Fe=w6(0,this.rootComponentType).snapshot;return this.currentTransition=l={..._,targetSnapshot:Fe,urlAfterRedirects:le,extras:{...xe,skipLocationChange:!1,replaceUrl:!1}},Yt(l)}{const oe="";return this.events.next(new lb(_.id,this.urlSerializer.serialize(_.extractedUrl),oe,1)),_.resolve(null),Eo}}),Po(_=>{const w=new uH(_.id,this.urlSerializer.serialize(_.extractedUrl),this.urlSerializer.serialize(_.urlAfterRedirects),_.targetSnapshot);this.events.next(w)}),ot(_=>(this.currentTransition=l={..._,guards:RH(_.targetSnapshot,_.currentSnapshot,this.rootContexts)},l)),function qH(t,o){return ni(e=>{const{targetSnapshot:i,currentSnapshot:s,guards:{canActivateChecks:l,canDeactivateChecks:h}}=e;return 0===h.length&&0===l.length?Yt({...e,guardsResult:!0}):function GH(t,o,e,i){return Qi(t).pipe(ni(s=>function eY(t,o,e,i,s){const l=o&&o.routeConfig?o.routeConfig.canDeactivate:null;return l&&0!==l.length?Yt(l.map(m=>{const _=yk(o)??s,w=db(m,_);return ih(function UH(t){return t&&Ck(t.canDeactivate)}(w)?w.canDeactivate(t,o,e,i):_.runInContext(()=>w(t,o,e,i))).pipe(eh())})).pipe(ub()):Yt(!0)}(s.component,s.route,e,o,i)),eh(s=>!0!==s,!0))}(h,i,s,t).pipe(ni(m=>m&&function zH(t){return"boolean"==typeof t}(m)?function KH(t,o,e,i){return Qi(o).pipe(ib(s=>rT(function QH(t,o){return null!==t&&o&&o(new _H(t)),Yt(!0)}(s.route.parent,i),function ZH(t,o){return null!==t&&o&&o(new vH(t)),Yt(!0)}(s.route,i),function XH(t,o,e){const i=o[o.length-1],l=o.slice(0,o.length-1).reverse().map(h=>function FH(t){const o=t.routeConfig?t.routeConfig.canActivateChild:null;return o&&0!==o.length?{node:t,guards:o}:null}(h)).filter(h=>null!==h).map(h=>KN(()=>Yt(h.guards.map(_=>{const w=yk(h.node)??e,N=db(_,w);return ih(function YH(t){return t&&Ck(t.canActivateChild)}(N)?N.canActivateChild(i,t):w.runInContext(()=>N(i,t))).pipe(eh())})).pipe(ub())));return Yt(l).pipe(ub())}(t,s.path,e),function JH(t,o,e){const i=o.routeConfig?o.routeConfig.canActivate:null;if(!i||0===i.length)return Yt(!0);const s=i.map(l=>KN(()=>{const h=yk(o)??e,m=db(l,h);return ih(function HH(t){return t&&Ck(t.canActivate)}(m)?m.canActivate(o,t):h.runInContext(()=>m(o,t))).pipe(eh())}));return Yt(s).pipe(ub())}(t,s.route,e))),eh(s=>!0!==s,!0))}(i,l,t,o):Yt(m)),ot(m=>({...e,guardsResult:m})))})}(this.environmentInjector,_=>this.events.next(_)),Po(_=>{if(l.guardsResult=_.guardsResult,xf(_.guardsResult))throw T6(0,_.guardsResult);const w=new hH(_.id,this.urlSerializer.serialize(_.extractedUrl),this.urlSerializer.serialize(_.urlAfterRedirects),_.targetSnapshot,!!_.guardsResult);this.events.next(w)}),Qr(_=>!!_.guardsResult||(this.cancelNavigationTransition(_,"",3),!1)),JL(_=>{if(_.guards.canActivateChecks.length)return Yt(_).pipe(Po(w=>{const N=new pH(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(N)}),Or(w=>{let N=!1;return Yt(w).pipe(function bY(t,o){return ni(e=>{const{targetSnapshot:i,guards:{canActivateChecks:s}}=e;if(!s.length)return Yt(e);let l=0;return Qi(s).pipe(ib(h=>function vY(t,o,e,i){const s=t.routeConfig,l=t._resolve;return void 0!==s?.title&&!z6(s)&&(l[ck]=s.title),function yY(t,o,e,i){const s=function kY(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===s.length)return Yt({});const l={};return Qi(s).pipe(ni(h=>function wY(t,o,e,i){const s=yk(o)??i,l=db(t,s);return ih(l.resolve?l.resolve(o,e):s.runInContext(()=>l(o,e)))}(t[h],o,e,i).pipe(eh(),Po(m=>{l[h]=m}))),PL(1),function RV(t){return ot(()=>t)}(l),th(h=>L6(h)?Eo:tb(h)))}(l,t,o,i).pipe(ot(h=>(t._resolvedData=h,t.data=C6(t,e).resolve,s&&z6(s)&&(t.data[ck]=s.title),null)))}(h.route,i,t,o)),Po(()=>l++),PL(1),ni(h=>l===s.length?Yt(e):Eo))})}(e.paramsInheritanceStrategy,this.environmentInjector),Po({next:()=>N=!0,complete:()=>{N||this.cancelNavigationTransition(w,"",2)}}))}),Po(w=>{const N=new fH(w.id,this.urlSerializer.serialize(w.extractedUrl),this.urlSerializer.serialize(w.urlAfterRedirects),w.targetSnapshot);this.events.next(N)}))}),JL(_=>{const w=N=>{const $=[];N.routeConfig?.loadComponent&&!N.routeConfig._loadedComponent&&$.push(this.configLoader.loadComponent(N.routeConfig).pipe(Po(oe=>{N.component=oe}),ot(()=>{})));for(const oe of N.children)$.push(...w(oe));return $};return iT(w(_.targetSnapshot.root)).pipe(sT(),Xu(1))}),JL(()=>this.afterPreactivation()),ot(_=>{const w=function MH(t,o,e){const i=vk(t,o._root,e?e._root:void 0);return new k6(i,o)}(e.routeReuseStrategy,_.targetSnapshot,_.currentRouterState);return this.currentTransition=l={..._,targetRouterState:w},l}),Po(()=>{this.events.next(new zL)}),((t,o,e,i)=>ot(s=>(new NH(o,s.targetRouterState,s.currentRouterState,e,i).activate(t),s)))(this.rootContexts,e.routeReuseStrategy,_=>this.events.next(_),this.inputBindingEnabled),Xu(1),Po({next:_=>{h=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new xd(_.id,this.urlSerializer.serialize(_.extractedUrl),this.urlSerializer.serialize(_.urlAfterRedirects))),e.titleStrategy?.updateTitle(_.targetRouterState.snapshot),_.resolve(!0)},complete:()=>{h=!0}}),nh(this.transitionAbortSubject.pipe(Po(_=>{throw _}))),ob(()=>{h||m||this.cancelNavigationTransition(l,"",1),this.currentNavigation?.id===l.id&&(this.currentNavigation=null)}),th(_=>{if(m=!0,E6(_))this.events.next(new ab(l.id,this.urlSerializer.serialize(l.extractedUrl),_.message,_.cancellationCode)),function xH(t){return E6(t)&&xf(t.url)}(_)?this.events.next(new VL(_.url)):l.resolve(!1);else{this.events.next(new _k(l.id,this.urlSerializer.serialize(l.extractedUrl),_,l.targetSnapshot??void 0));try{l.resolve(e.errorHandler(_))}catch(w){l.reject(w)}}return Eo}))}))}cancelNavigationTransition(e,i,s){const l=new ab(e.id,this.urlSerializer.serialize(e.extractedUrl),i,s);this.events.next(l),e.resolve(!1)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function H6(t){return t!==mk}let Y6=(()=>{class t{buildTitle(e){let i,s=e.root;for(;void 0!==s;)i=this.getResolvedTitleForRoute(s)??i,s=s.children.find(l=>l.outlet===On);return i}getResolvedTitleForRoute(e){return e.data[ck]}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:function(){return _t(MY)},providedIn:"root"})}return t})(),MY=(()=>{class t extends Y6{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}static#e=this.\u0275fac=function(i){return new(i||t)(st(RP))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),DY=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:function(){return _t(xY)},providedIn:"root"})}return t})();class TY{shouldDetach(o){return!1}store(o,e){}shouldAttach(o){return!1}retrieve(o){return null}shouldReuseRoute(o,e){return o.routeConfig===e.routeConfig}}let xY=(()=>{class t extends TY{static#e=this.\u0275fac=function(){let e;return function(s){return(e||(e=At(t)))(s||t)}}();static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const yT=new pt("",{providedIn:"root",factory:()=>({})});let EY=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:function(){return _t(SY)},providedIn:"root"})}return t})(),SY=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ak=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ak||{});function U6(t,o){t.events.pipe(Qr(e=>e instanceof xd||e instanceof ab||e instanceof _k||e instanceof lb),ot(e=>e instanceof xd||e instanceof lb?Ak.COMPLETE:e instanceof ab&&(0===e.code||1===e.code)?Ak.REDIRECTING:Ak.FAILED),Qr(e=>e!==Ak.REDIRECTING),Xu(1)).subscribe(()=>{o()})}function IY(t){throw t}function LY(t,o,e){return o.parse("/")}const OY={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},PY={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let No=(()=>{class t{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=_t(z_),this.isNgZoneEnabled=!1,this._events=new Ie,this.options=_t(yT,{optional:!0})||{},this.pendingTasks=_t(H_),this.errorHandler=this.options.errorHandler||IY,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||LY,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=_t(EY),this.routeReuseStrategy=_t(DY),this.titleStrategy=_t(Y6),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=_t(pb,{optional:!0})?.flat()??[],this.navigationTransitions=_t(vT),this.urlSerializer=_t(uk),this.location=_t(U3),this.componentInputBindingEnabled=!!_t(fT,{optional:!0}),this.eventsSubscription=new C,this.isNgZoneEnabled=_t(yn)instanceof yn&&yn.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new sb,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=w6(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(e=>{this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(i=>{try{const{currentTransition:s}=this.navigationTransitions;if(null===s)return void(W6(i)&&this._events.next(i));if(i instanceof gk)H6(s.source)&&(this.browserUrlTree=s.extractedUrl);else if(i instanceof lb)this.rawUrlTree=s.rawUrl;else if(i instanceof b6){if("eager"===this.urlUpdateStrategy){if(!s.extras.skipLocationChange){const l=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl);this.setBrowserUrl(l,s)}this.browserUrlTree=s.urlAfterRedirects}}else if(i instanceof zL)this.currentUrlTree=s.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),this.routerState=s.targetRouterState,"deferred"===this.urlUpdateStrategy&&(s.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,s),this.browserUrlTree=s.urlAfterRedirects);else if(i instanceof ab)0!==i.code&&1!==i.code&&(this.navigated=!0),(3===i.code||2===i.code)&&this.restoreHistory(s);else if(i instanceof VL){const l=this.urlHandlingStrategy.merge(i.url,s.currentRawUrl),h={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||H6(s.source)};this.scheduleNavigation(l,mk,null,h,{resolve:s.resolve,reject:s.reject,promise:s.promise})}i instanceof _k&&this.restoreHistory(s,!0),i instanceof xd&&(this.navigated=!0),W6(i)&&this._events.next(i)}catch(s){this.navigationTransitions.transitionAbortSubject.next(s)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const e=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),mk,e)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{this.navigateToSyncWithBrowser(e.url,i,e.state)},0)}))}navigateToSyncWithBrowser(e,i,s){const l={replaceUrl:!0},h=s?.navigationId?s:null;if(s){const _={...s};delete _.navigationId,delete _.\u0275routerPageId,0!==Object.keys(_).length&&(l.state=_)}const m=this.parseUrl(e);this.scheduleNavigation(m,i,h,l)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(KL),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){const{relativeTo:s,queryParams:l,fragment:h,queryParamsHandling:m,preserveFragment:_}=i,w=_?this.currentUrlTree.fragment:h;let $,N=null;switch(m){case"merge":N={...this.currentUrlTree.queryParams,...l};break;case"preserve":N=this.currentUrlTree.queryParams;break;default:N=l||null}null!==N&&(N=this.removeEmptyProps(N));try{$=u6(s?s.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),$=this.currentUrlTree.root}return h6($,e,N,w??null)}navigateByUrl(e,i={skipLocationChange:!1}){const s=xf(e)?e:this.parseUrl(e),l=this.urlHandlingStrategy.merge(s,this.rawUrlTree);return this.scheduleNavigation(l,mk,null,i)}navigate(e,i={skipLocationChange:!1}){return function NY(t){for(let o=0;o<t.length;o++)if(null==t[o])throw new Ze(4008,!1)}(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let i;try{i=this.urlSerializer.parse(e)}catch(s){i=this.malformedUriErrorHandler(s,this.urlSerializer,e)}return i}isActive(e,i){let s;if(s=!0===i?{...OY}:!1===i?{...PY}:i,xf(e))return t6(this.currentUrlTree,e,s);const l=this.parseUrl(e);return t6(this.currentUrlTree,l,s)}removeEmptyProps(e){return Object.keys(e).reduce((i,s)=>{const l=e[s];return null!=l&&(i[s]=l),i},{})}scheduleNavigation(e,i,s,l,h){if(this.disposed)return Promise.resolve(!1);let m,_,w;h?(m=h.resolve,_=h.reject,w=h.promise):w=new Promise(($,oe)=>{m=$,_=oe});const N=this.pendingTasks.add();return U6(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(N))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:s,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:e,extras:l,resolve:m,reject:_,promise:w,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),w.catch($=>Promise.reject($))}setBrowserUrl(e,i){const s=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(s)||i.extras.replaceUrl){const h={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId)};this.location.replaceState(s,"",h)}else{const l={...i.extras.state,...this.generateNgRouterState(i.id,this.browserPageId+1)};this.location.go(s,"",l)}}restoreHistory(e,i=!1){if("computed"===this.canceledNavigationResolution){const l=this.currentPageId-this.browserPageId;0!==l?this.location.historyGo(l):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===l&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function W6(t){return!(t instanceof zL||t instanceof VL)}class $6{}let BY=(()=>{class t{constructor(e,i,s,l,h){this.router=e,this.injector=s,this.preloadingStrategy=l,this.loader=h}setUpPreloading(){this.subscription=this.router.events.pipe(Qr(e=>e instanceof xd),ib(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const s=[];for(const l of i){l.providers&&!l._injector&&(l._injector=f1(l.providers,e,`Route: ${l.path}`));const h=l._injector??e,m=l._loadedInjector??h;(l.loadChildren&&!l._loadedRoutes&&void 0===l.canLoad||l.loadComponent&&!l._loadedComponent)&&s.push(this.preloadConfig(h,l)),(l.children||l._loadedRoutes)&&s.push(this.processRoutes(m,l.children??l._loadedRoutes))}return Qi(s).pipe(Vo())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let s;s=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):Yt(null);const l=s.pipe(ni(h=>null===h?Yt(void 0):(i._loadedRoutes=h.routes,i._loadedInjector=h.injector,this.processRoutes(h.injector??e,h.routes))));return i.loadComponent&&!i._loadedComponent?Qi([l,this.loader.loadComponent(i)]).pipe(Vo()):l})}static#e=this.\u0275fac=function(i){return new(i||t)(st(No),st(rD),st(fs),st($6),st(XL))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const t5=new pt("");let q6=(()=>{class t{constructor(e,i,s,l,h={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=s,this.zone=l,this.options=h,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},h.scrollPositionRestoration=h.scrollPositionRestoration||"disabled",h.anchorScrolling=h.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof gk?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof xd?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof lb&&0===e.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof v6&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new v6(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(i){!function ey(){throw new Error("invalid")}()};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();function Sd(t,o){return{\u0275kind:t,\u0275providers:o}}function K6(){const t=_t(nr);return o=>{const e=t.get(oc);if(o!==e.components[0])return;const i=t.get(No),s=t.get(Z6);1===t.get(n5)&&i.initialNavigation(),t.get(Q6,null,Mn.Optional)?.setUpPreloading(),t.get(t5,null,Mn.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),s.closed||(s.next(),s.complete(),s.unsubscribe())}}const Z6=new pt("",{factory:()=>new Ie}),n5=new pt("",{providedIn:"root",factory:()=>1}),Q6=new pt("");function HY(t){return Sd(0,[{provide:Q6,useExisting:BY},{provide:$6,useExisting:t}])}const J6=new pt("ROUTER_FORROOT_GUARD"),UY=[U3,{provide:uk,useClass:NL},No,bk,{provide:cc,useFactory:function G6(t){return t.routerState.root},deps:[No]},XL,[]];function WY(){return new bD("Router",No)}let kT=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[UY,[],{provide:pb,multi:!0,useValue:e},{provide:J6,useFactory:KY,deps:[[No,new gl,new du]]},{provide:yT,useValue:i||{}},i?.useHash?{provide:yf,useClass:gB}:{provide:yf,useClass:ZO},{provide:t5,useFactory:()=>{const t=_t(Sj),o=_t(yn),e=_t(yT),i=_t(vT),s=_t(uk);return e.scrollOffset&&t.setOffset(e.scrollOffset),new q6(s,i,t,o,e)}},i?.preloadingStrategy?HY(i.preloadingStrategy).\u0275providers:[],{provide:bD,multi:!0,useFactory:WY},i?.initialNavigation?ZY(i):[],i?.bindToComponentInputs?Sd(8,[D6,{provide:fT,useExisting:D6}]).\u0275providers:[],[{provide:X6,useFactory:K6},{provide:H1,multi:!0,useExisting:X6}]]}}static forChild(e){return{ngModule:t,providers:[{provide:pb,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(i){return new(i||t)(st(J6,8))};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({})}return t})();function KY(t){return"guarded"}function ZY(t){return["disabled"===t.initialNavigation?Sd(3,[{provide:pf,multi:!0,useFactory:()=>{const o=_t(No);return()=>{o.setUpLocationChangeListener()}}},{provide:n5,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?Sd(2,[{provide:n5,useValue:0},{provide:pf,multi:!0,deps:[nr],useFactory:o=>{const e=o.get(fB,Promise.resolve());return()=>e.then(()=>new Promise(i=>{const s=o.get(No),l=o.get(Z6);U6(s,()=>{i(!0)}),o.get(vT).afterPreactivation=()=>(i(!0),l.closed?Yt(void 0):l),s.initialNavigation()}))}}]).\u0275providers:[]]}const X6=new pt("");function JY(t,o){if(1&t&&Re(0,"div",9),2&t){const e=X();_s("height",e.pbThickness,"px")("color",e.pbColor),Wi("ngx-position-absolute",e.loaderId!==e.defaultConfig.masterLoaderId)("loading-foreground",e.showForeground)("foreground-closing",e.foregroundClosing)("fast-closing",e.foregroundClosing&&e.fastFadeOut),H("ngClass","ngx-progress-bar-"+e.pbDirection)}}function XY(t,o){if(1&t&&Re(0,"img",10),2&t){const e=X();_s("width",e.logoSize,"px")("height",e.logoSize,"px")("top",e.logoTop),H("ngClass",e.logoPosition)("src",e.trustedLogoUrl,bu)}}function eU(t,o){1&t&&Re(0,"div")}function tU(t,o){if(1&t&&(ne(0,"div"),J(1,eU,1,0,"div",11),re()),2&t){const e=X();Mt(e.fgSpinnerClass),G(1),H("ngForOf",e.fgDivs)}}function nU(t,o){1&t&&Et(0)}function iU(t,o){1&t&&J(0,nU,1,0,"ng-container",12),2&t&&H("ngTemplateOutlet",X().fgsTemplate)}function oU(t,o){1&t&&Re(0,"div")}function rU(t,o){if(1&t&&(ne(0,"div"),J(1,oU,1,0,"div",11),re()),2&t){const e=X();Mt(e.bgSpinnerClass),G(1),H("ngForOf",e.bgDivs)}}function sU(t,o){1&t&&Et(0)}function aU(t,o){1&t&&J(0,sU,1,0,"ng-container",12),2&t&&H("ngTemplateOutlet",X().bgsTemplate)}var o5=function(t){return t.ballScaleMultiple="ball-scale-multiple",t.ballSpin="ball-spin",t.ballSpinClockwise="ball-spin-clockwise",t.ballSpinClockwiseFadeRotating="ball-spin-clockwise-fade-rotating",t.ballSpinFadeRotating="ball-spin-fade-rotating",t.chasingDots="chasing-dots",t.circle="circle",t.cubeGrid="cube-grid",t.doubleBounce="double-bounce",t.fadingCircle="fading-circle",t.foldingCube="folding-cube",t.pulse="pulse",t.rectangleBounce="rectangle-bounce",t.rectangleBounceParty="rectangle-bounce-party",t.rectangleBouncePulseOut="rectangle-bounce-pulse-out",t.rectangleBouncePulseOutRapid="rectangle-bounce-pulse-out-rapid",t.rotatingPlane="rotating-plane",t.squareJellyBox="square-jelly-box",t.squareLoader="square-loader",t.threeBounce="three-bounce",t.threeStrings="three-strings",t.wanderingCubes="wandering-cubes",t}(o5||{}),El=function(t){return t.bottomCenter="bottom-center",t.bottomLeft="bottom-left",t.bottomRight="bottom-right",t.centerCenter="center-center",t.centerLeft="center-left",t.centerRight="center-right",t.topCenter="top-center",t.topLeft="top-left",t.topRight="top-right",t}(El||{}),eR=function(t){return t.leftToRight="ltr",t.rightToLeft="rtl",t}(eR||{});const wT="fg-default",CT="bg-default",cU={},fb=!1,Mk=!0,AT="$_router_loader",MT={"ball-scale-multiple":{divs:3,class:"sk-ball-scale-multiple"},"ball-spin":{divs:8,class:"sk-ball-spin"},"ball-spin-clockwise":{divs:8,class:"sk-ball-spin-clockwise"},"ball-spin-clockwise-fade-rotating":{divs:8,class:"sk-ball-spin-clockwise-fade-rotating"},"ball-spin-fade-rotating":{divs:8,class:"sk-ball-spin-fade-rotating"},"chasing-dots":{divs:2,class:"sk-chasing-dots"},circle:{divs:12,class:"sk-circle"},"cube-grid":{divs:9,class:"sk-cube-grid"},"double-bounce":{divs:2,class:"sk-double-bounce"},"fading-circle":{divs:12,class:"sk-fading-circle"},"folding-cube":{divs:4,class:"sk-folding-cube"},pulse:{divs:1,class:"sk-pulse"},"rectangle-bounce":{divs:5,class:"sk-rectangle-bounce"},"rectangle-bounce-party":{divs:5,class:"sk-rectangle-bounce-party"},"rectangle-bounce-pulse-out":{divs:5,class:"sk-rectangle-bounce-pulse-out"},"rectangle-bounce-pulse-out-rapid":{divs:5,class:"sk-rectangle-bounce-pulse-out-rapid"},"rotating-plane":{divs:1,class:"sk-rotating-plane"},"square-jelly-box":{divs:2,class:"sk-square-jelly-box"},"square-loader":{divs:1,class:"sk-square-loader"},"three-bounce":{divs:3,class:"sk-three-bounce"},"three-strings":{divs:3,class:"sk-three-strings"},"wandering-cubes":{divs:2,class:"sk-wandering-cubes"}},hU={bgsColor:"#00ACC1",bgsOpacity:.5,bgsPosition:El.bottomRight,bgsSize:60,bgsType:o5.ballSpinClockwise,blur:5,delay:0,fastFadeOut:!1,fgsColor:"#00ACC1",fgsPosition:El.centerCenter,fgsSize:60,fgsType:o5.ballSpinClockwise,gap:24,logoPosition:El.centerCenter,logoSize:120,logoUrl:"",masterLoaderId:"master",overlayBorderRadius:"0",overlayColor:"rgba(40, 40, 40, 0.8)",pbColor:"#00ACC1",pbDirection:eR.leftToRight,pbThickness:3,hasProgressBar:!0,text:"",textColor:"#FFFFFF",textPosition:El.centerCenter,maxTime:-1,minTime:300},oR=new pt("ngxUiLoaderCustom.config");let Ef=(()=>{class t{constructor(e){this.config=e,this.defaultConfig={...hU},this.config&&(this.config.minTime&&this.config.minTime<0&&(this.config.minTime=0),this.defaultConfig={...this.defaultConfig,...this.config}),this.loaders={},this.showForeground=new to({loaderId:"",isShow:!1}),this.showForeground$=this.showForeground.asObservable(),this.showBackground=new to({loaderId:"",isShow:!1}),this.showBackground$=this.showBackground.asObservable(),this.fgClosing=new to({loaderId:"",isShow:!1}),this.foregroundClosing$=this.fgClosing.asObservable(),this.bgClosing=new to({loaderId:"",isShow:!1}),this.backgroundClosing$=this.bgClosing.asObservable()}bindLoaderData(e){const i=e===this.defaultConfig.masterLoaderId;if(this.loaders[e]){if(this.loaders[e].isBound)throw new Error(`[ngx-ui-loader] - loaderId "${e}" is duplicated.`);this.loaders[e].isBound=!0,this.loaders[e].isMaster=i,this.hasRunningTask(Mk,e)?this.showForeground.next({loaderId:e,isShow:!0}):this.hasRunningTask(fb,e)&&this.showBackground.next({loaderId:e,isShow:!0})}else this.createLoaderData(e,i,!0)}destroyLoaderData(e){this.stopAllLoader(e),delete this.loaders[e]}getDefaultConfig(){return{...this.defaultConfig}}getLoaders(){return JSON.parse(JSON.stringify(this.loaders))}getLoader(e){return this.loaders[e=e||this.defaultConfig.masterLoaderId]?JSON.parse(JSON.stringify(this.loaders[e])):null}startLoader(e,i=wT,s){this.readyToStart(e,i,!0,s)&&(this.loaders[e].tasks[i].isOtherRunning||(this.hasRunningTask(fb,e)&&(this.backgroundCloseout(e),this.showBackground.next({loaderId:e,isShow:!1})),this.showForeground.next({loaderId:e,isShow:!0})))}start(e=wT,i){this.startLoader(this.defaultConfig.masterLoaderId,e,i)}startBackgroundLoader(e,i=CT,s){this.readyToStart(e,i,!1,s)&&!this.hasRunningTask(Mk,e)&&!this.loaders[e].tasks[i].isOtherRunning&&this.showBackground.next({loaderId:e,isShow:!0})}startBackground(e=CT,i){this.startBackgroundLoader(this.defaultConfig.masterLoaderId,e,i)}stopLoader(e,i=wT){this.readyToStop(e,i)&&(this.hasRunningTask(Mk,e)||(this.foregroundCloseout(e),this.showForeground.next({loaderId:e,isShow:!1}),this.hasRunningTask(fb,e)&&setTimeout(()=>{this.hasRunningTask(fb,e)&&this.showBackground.next({loaderId:e,isShow:!0})},this.defaultConfig.fastFadeOut?300:500)))}stop(e=wT){this.stopLoader(this.defaultConfig.masterLoaderId,e)}stopBackgroundLoader(e,i=CT){this.readyToStop(e,i)&&!this.hasRunningTask(Mk,e)&&!this.hasRunningTask(fb,e)&&(this.backgroundCloseout(e),this.showBackground.next({loaderId:e,isShow:!1}))}stopBackground(e=CT){this.stopBackgroundLoader(this.defaultConfig.masterLoaderId,e)}stopAllLoader(e){this.loaders[e]?(this.hasRunningTask(Mk,e)?(this.foregroundCloseout(e),this.showForeground.next({loaderId:e,isShow:!1})):this.hasRunningTask(fb,e)&&(this.backgroundCloseout(e),this.showBackground.next({loaderId:e,isShow:!1})),this.clearAllTimers(this.loaders[e].tasks),this.loaders[e].tasks={}):console.warn(`[ngx-ui-loader] - loaderId "${e}" does not exist.`)}stopAll(){this.stopAllLoader(this.defaultConfig.masterLoaderId)}hasRunningTask(e,i,s){if(this.loaders[i]){const l=this.loaders[i].tasks;return s?!!l[s]&&!!l[s].startAt:Object.keys(l).some(h=>!!l[h].startAt&&l[h].isForeground===e)}return!1}createLoaderData(e,i,s){this.loaders[e]||(this.loaders[e]={loaderId:e,tasks:{},isMaster:i,isBound:s})}foregroundCloseout(e){this.fgClosing.next({loaderId:e,isShow:!0}),setTimeout(()=>{this.fgClosing.next({loaderId:e,isShow:!1})},this.defaultConfig.fastFadeOut?601:1001)}backgroundCloseout(e){this.bgClosing.next({loaderId:e,isShow:!0}),setTimeout(()=>{this.bgClosing.next({loaderId:e,isShow:!1})},this.defaultConfig.fastFadeOut?601:1001)}clearTimers(e){clearTimeout(e.delayTimer),clearTimeout(e.maxTimer),clearTimeout(e.minTimer)}clearAllTimers(e){Object.keys(e).map(i=>{this.clearTimers(e[i])})}readyToStart(e,i,s,l=cU){this.createLoaderData(e,void 0,!1);const h=this.hasRunningTask(s,e);if(this.loaders[e].tasks[i]){if(this.loaders[e].tasks[i].isForeground!==s)throw new Error(`[ngx-ui-loader] - taskId "${i}" is duplicated.`)}else this.loaders[e].tasks[i]={taskId:i,isForeground:s,minTime:l.minTime>=0?l.minTime:this.defaultConfig.minTime,maxTime:l.maxTime?l.maxTime:this.defaultConfig.maxTime,delay:l.delay>=0?l.delay:this.defaultConfig.delay};return!(this.setDelayTimer(this.loaders[e].tasks[i],e)||(this.loaders[e].tasks[i]={...this.loaders[e].tasks[i],isOtherRunning:h,startAt:Date.now()},this.setMaxTimer(this.loaders[e].tasks[i],e),!this.loaders[e].isBound))}readyToStop(e,i){if(!this.loaders[e])return console.warn(`[ngx-ui-loader] - loaderId "${e}" does not exist.`),!1;const s=this.loaders[e].tasks[i];return!(!s||(s.isDelayed?(this.clearTimers(s),delete this.loaders[e].tasks[i],1):this.setMinTimer(s,e)||(this.clearTimers(s),delete this.loaders[e].tasks[i],0)))}setDelayTimer(e,i){if(e.delay>0){if(e.isDelayed)return!0;if(!e.delayTimer)return e.isDelayed=!0,e.delayTimer=setTimeout(()=>{e.isDelayed=!1,e.isForeground?this.startLoader(i,e.taskId):this.startBackgroundLoader(i,e.taskId)},e.delay),!0}return!1}setMaxTimer(e,i){e.maxTime>e.minTime&&(clearTimeout(e.maxTimer),e.maxTimer=setTimeout(()=>{e.isForeground?this.stopLoader(i,e.taskId):this.stopBackgroundLoader(i,e.taskId)},e.maxTime))}setMinTimer(e,i){const s=Date.now();return!!(e.startAt&&e.startAt+e.minTime>s)&&(e.minTimer=setTimeout(()=>{e.isForeground?this.stopLoader(i,e.taskId):this.stopBackgroundLoader(i,e.taskId)},e.startAt+e.minTime-s),!0)}}return t.\u0275fac=function(e){return new(e||t)(st(oR,8))},t.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Dk=(()=>{class t{constructor(e,i,s){this.domSanitizer=e,this.changeDetectorRef=i,this.ngxService=s,this.initialized=!1,this.defaultConfig=this.ngxService.getDefaultConfig(),this.bgsColor=this.defaultConfig.bgsColor,this.bgsOpacity=this.defaultConfig.bgsOpacity,this.bgsPosition=this.defaultConfig.bgsPosition,this.bgsSize=this.defaultConfig.bgsSize,this.bgsType=this.defaultConfig.bgsType,this.fastFadeOut=this.defaultConfig.fastFadeOut,this.fgsColor=this.defaultConfig.fgsColor,this.fgsPosition=this.defaultConfig.fgsPosition,this.fgsSize=this.defaultConfig.fgsSize,this.fgsType=this.defaultConfig.fgsType,this.gap=this.defaultConfig.gap,this.loaderId=this.defaultConfig.masterLoaderId,this.logoPosition=this.defaultConfig.logoPosition,this.logoSize=this.defaultConfig.logoSize,this.logoUrl=this.defaultConfig.logoUrl,this.overlayBorderRadius=this.defaultConfig.overlayBorderRadius,this.overlayColor=this.defaultConfig.overlayColor,this.pbColor=this.defaultConfig.pbColor,this.pbDirection=this.defaultConfig.pbDirection,this.pbThickness=this.defaultConfig.pbThickness,this.hasProgressBar=this.defaultConfig.hasProgressBar,this.text=this.defaultConfig.text,this.textColor=this.defaultConfig.textColor,this.textPosition=this.defaultConfig.textPosition}ngOnInit(){this.initializeSpinners(),this.ngxService.bindLoaderData(this.loaderId),this.determinePositions(),this.trustedLogoUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(this.logoUrl),this.showForegroundWatcher=this.ngxService.showForeground$.pipe(Qr(e=>this.loaderId===e.loaderId)).subscribe(e=>{this.showForeground=e.isShow,this.changeDetectorRef.markForCheck()}),this.showBackgroundWatcher=this.ngxService.showBackground$.pipe(Qr(e=>this.loaderId===e.loaderId)).subscribe(e=>{this.showBackground=e.isShow,this.changeDetectorRef.markForCheck()}),this.foregroundClosingWatcher=this.ngxService.foregroundClosing$.pipe(Qr(e=>this.loaderId===e.loaderId)).subscribe(e=>{this.foregroundClosing=e.isShow,this.changeDetectorRef.markForCheck()}),this.backgroundClosingWatcher=this.ngxService.backgroundClosing$.pipe(Qr(e=>this.loaderId===e.loaderId)).subscribe(e=>{this.backgroundClosing=e.isShow,this.changeDetectorRef.markForCheck()}),this.initialized=!0}ngOnChanges(e){if(!this.initialized)return;const l=e.logoUrl;(e.fgsType||e.bgsType)&&this.initializeSpinners(),this.determinePositions(),l&&(this.trustedLogoUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(this.logoUrl))}ngOnDestroy(){this.ngxService.destroyLoaderData(this.loaderId),this.showForegroundWatcher&&this.showForegroundWatcher.unsubscribe(),this.showBackgroundWatcher&&this.showBackgroundWatcher.unsubscribe(),this.foregroundClosingWatcher&&this.foregroundClosingWatcher.unsubscribe(),this.backgroundClosingWatcher&&this.backgroundClosingWatcher.unsubscribe()}initializeSpinners(){this.fgDivs=Array(MT[this.fgsType].divs).fill(1),this.fgSpinnerClass=MT[this.fgsType].class,this.bgDivs=Array(MT[this.bgsType].divs).fill(1),this.bgSpinnerClass=MT[this.bgsType].class}determinePositions(){this.logoTop="initial",this.spinnerTop="initial",this.textTop="initial",this.logoPosition.startsWith("center")?this.logoTop="50%":this.logoPosition.startsWith("top")&&(this.logoTop="30px"),this.fgsPosition.startsWith("center")?this.spinnerTop="50%":this.fgsPosition.startsWith("top")&&(this.spinnerTop="30px"),this.textPosition.startsWith("center")?this.textTop="50%":this.textPosition.startsWith("top")&&(this.textTop="30px"),this.fgsPosition===El.centerCenter?this.logoUrl&&this.logoPosition===El.centerCenter?this.text&&this.textPosition===El.centerCenter?(this.logoTop=this.domSanitizer.bypassSecurityTrustStyle(`calc(50% - ${this.fgsSize/2}px - 12px - ${this.gap}px)`),this.spinnerTop=this.domSanitizer.bypassSecurityTrustStyle(`calc(50% + ${this.logoSize/2}px - 12px)`),this.textTop=this.domSanitizer.bypassSecurityTrustStyle(`calc(50% + ${this.logoSize/2}px + ${this.gap}px + ${this.fgsSize/2}px)`)):(this.logoTop=this.domSanitizer.bypassSecurityTrustStyle(`calc(50% - ${this.fgsSize/2}px - ${this.gap/2}px)`),this.spinnerTop=this.domSanitizer.bypassSecurityTrustStyle(`calc(50% + ${this.logoSize/2}px + ${this.gap/2}px)`)):this.text&&this.textPosition===El.centerCenter&&(this.spinnerTop=this.domSanitizer.bypassSecurityTrustStyle(`calc(50% - 12px - ${this.gap/2}px)`),this.textTop=this.domSanitizer.bypassSecurityTrustStyle(`calc(50% + ${this.fgsSize/2}px + ${this.gap/2}px)`)):this.logoUrl&&this.logoPosition===El.centerCenter&&this.text&&this.textPosition===El.centerCenter&&(this.logoTop=this.domSanitizer.bypassSecurityTrustStyle(`calc(50% - 12px - ${this.gap/2}px)`),this.textTop=this.domSanitizer.bypassSecurityTrustStyle(`calc(50% + ${this.logoSize/2}px + ${this.gap/2}px)`))}}return t.\u0275fac=function(e){return new(e||t)(Ce(tk),Ce(Mi),Ce(Ef))},t.\u0275cmp=Ct({type:t,selectors:[["ngx-ui-loader"]],inputs:{bgsColor:"bgsColor",bgsOpacity:"bgsOpacity",bgsPosition:"bgsPosition",bgsSize:"bgsSize",bgsTemplate:"bgsTemplate",bgsType:"bgsType",fgsColor:"fgsColor",fgsPosition:"fgsPosition",fgsSize:"fgsSize",fgsTemplate:"fgsTemplate",fgsType:"fgsType",gap:"gap",loaderId:"loaderId",logoPosition:"logoPosition",logoSize:"logoSize",logoUrl:"logoUrl",overlayBorderRadius:"overlayBorderRadius",overlayColor:"overlayColor",pbColor:"pbColor",pbDirection:"pbDirection",pbThickness:"pbThickness",hasProgressBar:"hasProgressBar",text:"text",textColor:"textColor",textPosition:"textPosition"},features:[fn],decls:14,vars:50,consts:[["class","ngx-progress-bar",3,"ngx-position-absolute","ngClass","height","color","loading-foreground","foreground-closing","fast-closing",4,"ngIf"],[1,"ngx-overlay"],["class","ngx-loading-logo",3,"ngClass","src","width","height","top",4,"ngIf"],[1,"ngx-foreground-spinner",3,"ngClass"],[3,"class",4,"ngIf","ngIfElse"],["foregroundTemplate",""],[1,"ngx-loading-text",3,"ngClass"],[1,"ngx-background-spinner",3,"ngClass"],["backgroundTemplate",""],[1,"ngx-progress-bar",3,"ngClass"],[1,"ngx-loading-logo",3,"ngClass","src"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet"]],template:function(e,i){if(1&e&&(J(0,JY,1,13,"div",0),ne(1,"div",1),J(2,XY,1,8,"img",2),ne(3,"div",3),J(4,tU,2,3,"div",4),J(5,iU,1,1,"ng-template",null,5,Go),re(),ne(7,"div",6)(8,"span"),ze(9),re()()(),ne(10,"div",7),J(11,rU,2,3,"div",4),J(12,aU,1,1,"ng-template",null,8,Go),re()),2&e){const s=ii(6),l=ii(13);H("ngIf",i.hasProgressBar),G(1),_s("background-color",i.overlayColor)("border-radius",i.overlayBorderRadius),Wi("ngx-position-absolute",i.loaderId!==i.defaultConfig.masterLoaderId)("loading-foreground",i.showForeground)("foreground-closing",i.foregroundClosing)("fast-closing",i.foregroundClosing&&i.fastFadeOut),G(1),H("ngIf",i.logoUrl),G(1),_s("color",i.fgsColor)("width",i.fgsSize,"px")("height",i.fgsSize,"px")("top",i.spinnerTop),H("ngClass",i.fgsPosition),G(1),H("ngIf",!i.fgsTemplate)("ngIfElse",s),G(3),_s("top",i.textTop)("color",i.textColor),H("ngClass",i.textPosition),G(2),nn(i.text),G(1),_s("width",i.bgsSize,"px")("height",i.bgsSize,"px")("color",i.bgsColor)("opacity",i.bgsOpacity),Wi("ngx-position-absolute",i.loaderId!==i.defaultConfig.masterLoaderId)("loading-background",i.showBackground)("background-closing",i.backgroundClosing)("fast-closing",i.backgroundClosing&&i.fastFadeOut),H("ngClass",i.bgsPosition),G(1),H("ngIf",!i.bgsTemplate)("ngIfElse",l)}},dependencies:[Ei,ao,Zr,Xi],styles:['.ngx-progress-bar[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:3px;z-index:99999!important;display:none;color:#00acc1;overflow:hidden}.ngx-progress-bar.loading-foreground[_ngcontent-%COMP%], .ngx-progress-bar.foreground-closing[_ngcontent-%COMP%]{display:block}.ngx-progress-bar.foreground-closing[_ngcontent-%COMP%]{opacity:0!important;transition:opacity .5s ease-out .5s}.ngx-progress-bar.fast-closing[_ngcontent-%COMP%]{transition:opacity .3s ease-out .3s!important}.ngx-progress-bar[_ngcontent-%COMP%]:before, .ngx-progress-bar[_ngcontent-%COMP%]:after{background-color:currentColor;content:"";display:block;width:100%;height:100%;position:absolute;top:0}.ngx-progress-bar-ltr[_ngcontent-%COMP%]:before{transform:translate3d(-100%,0,0)}.ngx-progress-bar-ltr[_ngcontent-%COMP%]:after{animation:_ngcontent-%COMP%_progressBar-slide-ltr 12s ease-out 0s 1 normal;transform:translate3d(-5%,0,0)}.ngx-progress-bar-rtl[_ngcontent-%COMP%]:before{transform:translate3d(100%,0,0)}.ngx-progress-bar-rtl[_ngcontent-%COMP%]:after{animation:_ngcontent-%COMP%_progressBar-slide-rtl 12s ease-out 0s 1 normal;transform:translate3d(5%,0,0)}.foreground-closing.ngx-progress-bar-ltr[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progressBar-slide-complete-ltr 1s ease-out 0s 1;transform:translateZ(0)}.fast-closing.ngx-progress-bar-ltr[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progressBar-slide-complete-ltr .6s ease-out 0s 1!important}.foreground-closing.ngx-progress-bar-rtl[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progressBar-slide-complete-rtl 1s ease-out 0s 1;transform:translateZ(0)}.fast-closing.ngx-progress-bar-rtl[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progressBar-slide-complete-rtl .6s ease-out 0s 1!important}@keyframes _ngcontent-%COMP%_progressBar-slide-ltr{0%{transform:translate3d(-100%,0,0)}to{transform:translate3d(-5%,0,0)}}@keyframes _ngcontent-%COMP%_progressBar-slide-rtl{0%{transform:translate3d(100%,0,0)}to{transform:translate3d(5%,0,0)}}@keyframes _ngcontent-%COMP%_progressBar-slide-complete-ltr{0%{transform:translate3d(-75%,0,0)}50%{transform:translateZ(0)}}@keyframes _ngcontent-%COMP%_progressBar-slide-complete-rtl{0%{transform:translate3d(75%,0,0)}50%{transform:translateZ(0)}}.ngx-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:99998!important;background-color:#282828cc;cursor:progress;display:none}.ngx-overlay.loading-foreground[_ngcontent-%COMP%], .ngx-overlay.foreground-closing[_ngcontent-%COMP%]{display:block}.ngx-overlay.foreground-closing[_ngcontent-%COMP%]{opacity:0!important;transition:opacity .5s ease-out .5s}.ngx-overlay.fast-closing[_ngcontent-%COMP%]{transition:opacity .3s ease-out .3s!important}.ngx-overlay[_ngcontent-%COMP%] > .ngx-foreground-spinner[_ngcontent-%COMP%]{position:fixed;width:60px;height:60px;margin:0;color:#00acc1}.ngx-overlay[_ngcontent-%COMP%] > .ngx-loading-logo[_ngcontent-%COMP%]{position:fixed;margin:0;width:120px;height:120px}.ngx-overlay[_ngcontent-%COMP%] > .ngx-loading-text[_ngcontent-%COMP%]{position:fixed;margin:0;font-family:sans-serif;font-weight:400;font-size:1.2em;color:#fff}.ngx-background-spinner[_ngcontent-%COMP%]{position:fixed;z-index:99997!important;width:60px;height:60px;margin:0;color:#00acc1;opacity:.6;display:none}.ngx-background-spinner.loading-background[_ngcontent-%COMP%], .ngx-background-spinner.background-closing[_ngcontent-%COMP%]{display:block}.ngx-background-spinner.background-closing[_ngcontent-%COMP%]{opacity:0!important;transition:opacity .7s ease-out}.ngx-background-spinner.fast-closing[_ngcontent-%COMP%]{transition:opacity .4s ease-out!important}.ngx-position-absolute[_ngcontent-%COMP%]{position:absolute!important}.ngx-position-absolute[_ngcontent-%COMP%] > .ngx-foreground-spinner[_ngcontent-%COMP%], .ngx-position-absolute[_ngcontent-%COMP%] > .ngx-loading-logo[_ngcontent-%COMP%], .ngx-position-absolute[_ngcontent-%COMP%] > .ngx-loading-text[_ngcontent-%COMP%]{position:absolute!important}.ngx-position-absolute.ngx-progress-bar[_ngcontent-%COMP%]{z-index:99996!important}.ngx-position-absolute.ngx-overlay[_ngcontent-%COMP%]{z-index:99995!important}.ngx-position-absolute.ngx-background-spinner[_ngcontent-%COMP%]{z-index:99994!important}.ngx-position-absolute[_ngcontent-%COMP%]   .sk-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){z-index:99994!important}.top-left[_ngcontent-%COMP%]{top:30px;left:30px}.top-center[_ngcontent-%COMP%]{top:30px;left:50%;transform:translate(-50%)}.top-right[_ngcontent-%COMP%]{top:30px;right:30px}.center-left[_ngcontent-%COMP%]{top:50%;left:30px;transform:translateY(-50%)}.center-center[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%)}.center-right[_ngcontent-%COMP%]{top:50%;right:30px;transform:translateY(-50%)}.bottom-left[_ngcontent-%COMP%]{bottom:30px;left:30px}.bottom-center[_ngcontent-%COMP%]{bottom:30px;left:50%;transform:translate(-50%)}.bottom-right[_ngcontent-%COMP%]{bottom:30px;right:30px}.sk-ball-scale-multiple[_ngcontent-%COMP%], .sk-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.sk-ball-scale-multiple[_ngcontent-%COMP%]{width:100%;height:100%;font-size:0}.sk-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.sk-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:100%;opacity:0;animation:_ngcontent-%COMP%_ball-scale-multiple 1s 0s linear infinite}.sk-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){animation-delay:.2s}.sk-ball-scale-multiple[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){animation-delay:.4s}@keyframes _ngcontent-%COMP%_ball-scale-multiple{0%{opacity:0;transform:scale(0)}5%{opacity:.75}to{opacity:0;transform:scale(1)}}.sk-ball-spin[_ngcontent-%COMP%], .sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.sk-ball-spin[_ngcontent-%COMP%]{width:100%;height:100%;font-size:0}.sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:25%;height:25%;margin-top:-12.5%;margin-left:-12.5%;border-radius:100%;animation:_ngcontent-%COMP%_ball-spin-clockwise 1s infinite ease-in-out}.sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;animation-delay:-1.125s}.sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;animation-delay:-1.25s}.sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;animation-delay:-1.375s}.sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;animation-delay:-1.5s}.sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;animation-delay:-1.625s}.sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;animation-delay:-1.75s}.sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;animation-delay:-1.875s}.sk-ball-spin[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;animation-delay:-2s}@keyframes _ngcontent-%COMP%_ball-spin{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}.sk-ball-spin-clockwise[_ngcontent-%COMP%], .sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.sk-ball-spin-clockwise[_ngcontent-%COMP%]{width:100%;height:100%;font-size:0}.sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:25%;height:25%;margin-top:-12.5%;margin-left:-12.5%;border-radius:100%;animation:_ngcontent-%COMP%_ball-spin-clockwise 1s infinite ease-in-out}.sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;animation-delay:-.875s}.sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;animation-delay:-.75s}.sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;animation-delay:-.625s}.sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;animation-delay:-.5s}.sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;animation-delay:-.375s}.sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;animation-delay:-.25s}.sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;animation-delay:-.125s}.sk-ball-spin-clockwise[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;animation-delay:0s}@keyframes _ngcontent-%COMP%_ball-spin-clockwise{0%,to{opacity:1;transform:scale(1)}20%{opacity:1}80%{opacity:0;transform:scale(0)}}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%], .sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%]{font-size:0;width:100%;height:100%;animation:_ngcontent-%COMP%_ball-spin-clockwise-fade-rotating-rotate 6s infinite linear}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:25%;height:25%;margin-top:-12.5%;margin-left:-12.5%;border-radius:100%;animation:_ngcontent-%COMP%_ball-spin-clockwise-fade-rotating 1s infinite linear}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;animation-delay:-.875s}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;animation-delay:-.75s}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;animation-delay:-.625s}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;animation-delay:-.5s}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;animation-delay:-.375s}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;animation-delay:-.25s}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;animation-delay:-.125s}.sk-ball-spin-clockwise-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;animation-delay:0s}@keyframes _ngcontent-%COMP%_ball-spin-clockwise-fade-rotating-rotate{to{transform:rotate(-360deg)}}@keyframes _ngcontent-%COMP%_ball-spin-clockwise-fade-rotating{50%{opacity:.25;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%], .sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%]{width:100%;height:100%;font-size:0;animation:_ngcontent-%COMP%_ball-spin-fade-rotate 6s infinite linear}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;width:25%;height:25%;margin-top:-12.5%;margin-left:-12.5%;border-radius:100%;animation:_ngcontent-%COMP%_ball-spin-fade 1s infinite linear}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:5%;left:50%;animation-delay:-1.125s}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:18.1801948466%;left:81.8198051534%;animation-delay:-1.25s}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){top:50%;left:95%;animation-delay:-1.375s}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){top:81.8198051534%;left:81.8198051534%;animation-delay:-1.5s}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){top:94.9999999966%;left:50.0000000005%;animation-delay:-1.625s}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){top:81.8198046966%;left:18.1801949248%;animation-delay:-1.75s}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){top:49.9999750815%;left:5.0000051215%;animation-delay:-1.875s}.sk-ball-spin-fade-rotating[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){top:18.179464974%;left:18.1803700518%;animation-delay:-2s}@keyframes _ngcontent-%COMP%_ball-spin-fade-rotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_ball-spin-fade{0%,to{opacity:1;transform:scale(1)}50%{opacity:.25;transform:scale(.5)}}.sk-chasing-dots[_ngcontent-%COMP%]{margin:auto;width:100%;height:100%;position:absolute;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDots-rotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;background-color:currentColor;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDots-bounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDots-rotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDots-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}.sk-circle[_ngcontent-%COMP%]{margin:auto;width:100%;height:100%;position:relative}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;top:0}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:currentColor;border-radius:100%;animation:_ngcontent-%COMP%_sk-circle-bounceDelay 1.2s infinite ease-in-out both}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){transform:rotate(30deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){transform:rotate(60deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){transform:rotate(90deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){transform:rotate(120deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){transform:rotate(150deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){transform:rotate(180deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){transform:rotate(210deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){transform:rotate(240deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){transform:rotate(270deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){transform:rotate(300deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){transform:rotate(330deg)}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2):before{animation-delay:-1.1s}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3):before{animation-delay:-1s}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4):before{animation-delay:-.9s}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5):before{animation-delay:-.8s}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6):before{animation-delay:-.7s}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7):before{animation-delay:-.6s}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8):before{animation-delay:-.5s}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9):before{animation-delay:-.4s}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10):before{animation-delay:-.3s}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11):before{animation-delay:-.2s}.sk-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12):before{animation-delay:-.1s}@keyframes _ngcontent-%COMP%_sk-circle-bounceDelay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.sk-cube-grid[_ngcontent-%COMP%]{width:100%;height:100%;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:33%;height:33%;background-color:currentColor;float:left;animation:_ngcontent-%COMP%_sk-cubeGrid-scaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGrid-scaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}.sk-double-bounce[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:currentColor;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce-bounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce-bounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}.sk-fading-circle[_ngcontent-%COMP%]{margin:auto;width:100%;height:100%;position:relative}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;top:0}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:currentColor;border-radius:100%;animation:_ngcontent-%COMP%_sk-fadingCircle-FadeDelay 1.2s infinite ease-in-out both}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){transform:rotate(30deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){transform:rotate(60deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){transform:rotate(90deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){transform:rotate(120deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6){transform:rotate(150deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7){transform:rotate(180deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8){transform:rotate(210deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9){transform:rotate(240deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10){transform:rotate(270deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11){transform:rotate(300deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12){transform:rotate(330deg)}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2):before{animation-delay:-1.1s}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3):before{animation-delay:-1s}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4):before{animation-delay:-.9s}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5):before{animation-delay:-.8s}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(6):before{animation-delay:-.7s}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(7):before{animation-delay:-.6s}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(8):before{animation-delay:-.5s}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(9):before{animation-delay:-.4s}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(10):before{animation-delay:-.3s}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(11):before{animation-delay:-.2s}.sk-fading-circle[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(12):before{animation-delay:-.1s}@keyframes _ngcontent-%COMP%_sk-fadingCircle-FadeDelay{0%,39%,to{opacity:0}40%{opacity:1}}.sk-folding-cube[_ngcontent-%COMP%]{margin:auto;width:100%;height:100%;position:relative;transform:rotate(45deg)}.sk-folding-cube[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{float:left;width:50%;height:50%;position:relative;transform:scale(1.1)}.sk-folding-cube[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:currentColor;animation:_ngcontent-%COMP%_sk-foldingCube-angle 2.4s infinite linear both;transform-origin:100% 100%}.sk-folding-cube[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){transform:scale(1.1) rotate(90deg)}.sk-folding-cube[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){transform:scale(1.1) rotate(270deg)}.sk-folding-cube[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){transform:scale(1.1) rotate(180deg)}.sk-folding-cube[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2):before{animation-delay:.3s}.sk-folding-cube[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3):before{animation-delay:.9s}.sk-folding-cube[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4):before{animation-delay:.6s}@keyframes _ngcontent-%COMP%_sk-foldingCube-angle{0%,10%{transform:perspective(140px) rotateX(-180deg);opacity:0}25%,75%{transform:perspective(140px) rotateX(0);opacity:1}90%,to{transform:perspective(140px) rotateY(180deg);opacity:0}}.sk-pulse[_ngcontent-%COMP%]{width:100%;height:100%;margin:auto}.sk-pulse[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;background-color:currentColor;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulse-scaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulse-scaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}.sk-rectangle-bounce[_ngcontent-%COMP%]{margin:auto;width:100%;height:100%;text-align:center;font-size:0}.sk-rectangle-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;height:100%;width:10%;margin:0 5%;display:inline-block;animation:_ngcontent-%COMP%_sk-rectangleBounce-stretchDelay 1.2s infinite ease-in-out}.sk-rectangle-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){animation-delay:-1.1s}.sk-rectangle-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){animation-delay:-1s}.sk-rectangle-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){animation-delay:-.9s}.sk-rectangle-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-rectangleBounce-stretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}.sk-rectangle-bounce-party[_ngcontent-%COMP%], .sk-rectangle-bounce-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.sk-rectangle-bounce-party[_ngcontent-%COMP%]{margin:auto;width:100%;height:100%;text-align:center;font-size:0}.sk-rectangle-bounce-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.sk-rectangle-bounce-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10%;height:100%;margin:0 5%;border-radius:0;animation-name:_ngcontent-%COMP%_rectangle-bounce-party;animation-iteration-count:infinite}.sk-rectangle-bounce-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){animation-duration:.43s;animation-delay:-.23s}.sk-rectangle-bounce-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){animation-duration:.62s;animation-delay:-.32s}.sk-rectangle-bounce-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){animation-duration:.43s;animation-delay:-.44s}.sk-rectangle-bounce-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){animation-duration:.8s;animation-delay:-.31s}.sk-rectangle-bounce-party[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){animation-duration:.74s;animation-delay:-.24s}@keyframes _ngcontent-%COMP%_rectangle-bounce-party{0%{transform:scaleY(1)}50%{transform:scaleY(.4)}to{transform:scaleY(1)}}.sk-rectangle-bounce-pulse-out[_ngcontent-%COMP%], .sk-rectangle-bounce-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.sk-rectangle-bounce-pulse-out[_ngcontent-%COMP%]{margin:auto;width:100%;height:100%;text-align:center;font-size:0}.sk-rectangle-bounce-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.sk-rectangle-bounce-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10%;height:100%;margin:0 5%;border-radius:0;animation:_ngcontent-%COMP%_rectangle-bounce-pulse-out .9s infinite cubic-bezier(.85,.25,.37,.85)}.sk-rectangle-bounce-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){animation-delay:-.9s}.sk-rectangle-bounce-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .sk-rectangle-bounce-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){animation-delay:-.7s}.sk-rectangle-bounce-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .sk-rectangle-bounce-pulse-out[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){animation-delay:-.5s}@keyframes _ngcontent-%COMP%_rectangle-bounce-pulse-out{0%{transform:scaley(1)}50%{transform:scaley(.4)}to{transform:scaley(1)}}.sk-rectangle-bounce-pulse-out-rapid[_ngcontent-%COMP%], .sk-rectangle-bounce-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.sk-rectangle-bounce-pulse-out-rapid[_ngcontent-%COMP%]{margin:auto;width:100%;height:100%;text-align:center;font-size:0}.sk-rectangle-bounce-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.sk-rectangle-bounce-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:10%;height:100%;margin:0 5%;border-radius:0;animation:_ngcontent-%COMP%_rectangle-bounce-pulse-out-rapid .9s infinite cubic-bezier(.11,.49,.38,.78)}.sk-rectangle-bounce-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){animation-delay:-.9s}.sk-rectangle-bounce-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2), .sk-rectangle-bounce-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(4){animation-delay:-.65s}.sk-rectangle-bounce-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .sk-rectangle-bounce-pulse-out-rapid[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(5){animation-delay:-.4s}@keyframes _ngcontent-%COMP%_rectangle-bounce-pulse-out-rapid{0%{transform:scaley(1)}80%{transform:scaley(.4)}90%{transform:scaley(1)}}.sk-rotating-plane[_ngcontent-%COMP%]{width:100%;height:100%;text-align:center;margin:auto}.sk-rotating-plane[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;background-color:currentColor;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}.sk-square-jelly-box[_ngcontent-%COMP%], .sk-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.sk-square-jelly-box[_ngcontent-%COMP%]{width:100%;height:100%;font-size:0}.sk-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.sk-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1), .sk-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){position:absolute;left:0;width:100%}.sk-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){top:-25%;z-index:99997;height:100%;border-radius:10%;animation:_ngcontent-%COMP%_square-jelly-box-animate .6s -.1s linear infinite}.sk-square-jelly-box[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){bottom:-9%;height:10%;background:#000;border-radius:50%;opacity:.2;animation:_ngcontent-%COMP%_square-jelly-box-shadow .6s -.1s linear infinite}@keyframes _ngcontent-%COMP%_square-jelly-box-animate{17%{border-bottom-right-radius:10%}25%{transform:translateY(25%) rotate(22.5deg)}50%{border-bottom-right-radius:100%;transform:translateY(50%) scaleY(.9) rotate(45deg)}75%{transform:translateY(25%) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes _ngcontent-%COMP%_square-jelly-box-shadow{50%{transform:scaleX(1.25)}}.sk-square-loader[_ngcontent-%COMP%], .sk-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;box-sizing:border-box}.sk-square-loader[_ngcontent-%COMP%]{font-size:0;width:100%;height:100%}.sk-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor}.sk-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;height:100%;background:transparent;border-width:3px;border-radius:0;animation:_ngcontent-%COMP%_square-loader 2s infinite ease}.sk-square-loader[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:after{display:inline-block;width:100%;vertical-align:top;content:"";background-color:currentColor;animation:_ngcontent-%COMP%_square-loader-inner 2s infinite ease-in}@keyframes _ngcontent-%COMP%_square-loader{0%{transform:rotate(0)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(360deg)}to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_square-loader-inner{0%{height:0}25%{height:0}50%{height:100%}75%{height:100%}to{height:0}}.sk-three-bounce[_ngcontent-%COMP%]{margin:auto;width:100%;height:100%;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-top:35%;width:30%;height:30%;background-color:currentColor;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-threeBounce-bounceDelay 1.4s infinite ease-in-out both}.bottom-center[_ngcontent-%COMP%] > .sk-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .bottom-left[_ngcontent-%COMP%] > .sk-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .bottom-right[_ngcontent-%COMP%] > .sk-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-top:70%!important}.top-center[_ngcontent-%COMP%] > .sk-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .top-left[_ngcontent-%COMP%] > .sk-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .top-right[_ngcontent-%COMP%] > .sk-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-top:0!important}.sk-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-threeBounce-bounceDelay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.sk-three-strings[_ngcontent-%COMP%]{width:100%;height:100%}.sk-three-strings[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:absolute;box-sizing:border-box;width:100%;height:100%;border-radius:50%}.sk-three-strings[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(1){left:0%;top:0%;animation:_ngcontent-%COMP%_sk-threeStrings-rotateOne 1s linear infinite;border-bottom:3px solid currentColor}.sk-three-strings[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){right:0%;top:0%;animation:_ngcontent-%COMP%_sk-threeStrings-rotateTwo 1s linear infinite;border-right:3px solid currentColor}.sk-three-strings[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(3){right:0%;bottom:0%;animation:_ngcontent-%COMP%_sk-threeStrings-rotateThree 1s linear infinite;border-top:3px solid currentColor}@keyframes _ngcontent-%COMP%_sk-threeStrings-rotateOne{0%{transform:rotateX(35deg) rotateY(-45deg) rotate(0)}to{transform:rotateX(35deg) rotateY(-45deg) rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-threeStrings-rotateTwo{0%{transform:rotateX(50deg) rotateY(10deg) rotate(0)}to{transform:rotateX(50deg) rotateY(10deg) rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-threeStrings-rotateThree{0%{transform:rotateX(35deg) rotateY(55deg) rotate(0)}to{transform:rotateX(35deg) rotateY(55deg) rotate(360deg)}}.sk-wandering-cubes[_ngcontent-%COMP%]{margin:auto;width:100%;height:100%;position:relative;text-align:center}.sk-wandering-cubes[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{background-color:currentColor;width:25%;height:25%;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCubes-cubeMove 1.8s infinite ease-in-out}.sk-wandering-cubes[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:nth-child(2){animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCubes-cubeMove{25%{transform:translate(290%) rotate(-90deg) scale(.5)}50%{transform:translate(290%) translateY(290%) rotate(-179deg)}50.1%{transform:translate(290%) translateY(290%) rotate(-180deg)}75%{transform:translate(0) translateY(290%) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}'],changeDetection:0}),t})(),pU=(()=>{class t{static forRoot(e){return{ngModule:t,providers:[{provide:oR,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[[gi]]}),t})();const rR=new pt("ngxUiLoaderRouterCustom.config");function sR(t,o,e){return!!(o&&-1!==o.findIndex(i=>t.toLowerCase().startsWith(i))||e&&-1!==e.findIndex(i=>i.test(t)))}let mU=(()=>{class t{constructor(e,i,s,l){if(e)throw new Error("[ngx-ui-loader] - NgxUiLoaderRouterModule is already loaded. It should be imported in the root `AppModule` only!");let h={loaderId:l.getDefaultConfig().masterLoaderId,showForeground:!0};this.exclude=function fU(t){let o,e;return t&&(t.exclude&&(o=t.exclude.map(i=>i.toLowerCase())),t.excludeRegexp&&(e=t.excludeRegexp.map(i=>new RegExp(i,"i")))),{strs:o,regExps:e}}(i),i&&(h={...h,...i}),s.events.subscribe(m=>{m instanceof gk&&(sR(m.url,this.exclude.strs,this.exclude.regExps)||(h.showForeground?l.startLoader(h.loaderId,AT):l.startBackgroundLoader(h.loaderId,AT))),(m instanceof xd||m instanceof ab||m instanceof _k)&&(sR(m.url,this.exclude.strs,this.exclude.regExps)||(h.showForeground?l.stopLoader(h.loaderId,AT):l.stopBackgroundLoader(h.loaderId,AT)))})}static forRoot(e){return{ngModule:t,providers:[{provide:rR,useValue:e}]}}}return t.\u0275fac=function(e){return new(e||t)(st(t,12),st(rR,8),st(No),st(Ef))},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({}),t})();function Yn(t){return null!=t}function Tk(t){try{const o=new Date(t);return!isNaN(o.getTime())}catch{return!1}}function xk(t){try{if(t._d instanceof Date){const o=t._d,e=+o.getMonth()+1,i=+o.getDate();return`${o.getFullYear()}-${DT(e)}-${DT(i)}`}if("object"==typeof t&&null!=t.year&&null!=t.month&&null!=t.day){const e=+t.day;return`${t.year}-${DT(+t.month)}-${DT(e)}`}}catch{}return t}function DT(t){return t<10?`0${t}`:t}new pt("ngxUiLoaderHttpCustom.config");const s5=t=>o=>{if(Yn(Ln.required(o)))return null;const e=o.value;return Array.isArray(e)&&e.length>=+t?null:{arrayLength:{minLength:t}}},gU={provide:wn,useExisting:xt(()=>aR),multi:!0};let aR=(()=>{class t{arrayLength;validator;onChange;ngOnInit(){this.validator=s5(this.arrayLength)}ngOnChanges(e){for(const i in e)"arrayLength"===i&&(this.validator=s5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","arrayLength","","formControlName",""],["","arrayLength","","formControl",""],["","arrayLength","","ngModel",""]],inputs:{arrayLength:"arrayLength"},features:[Pt([gU]),fn]})}return t})();const _U={provide:wn,useExisting:xt(()=>cR),multi:!0};let cR=(()=>{class t{validate(e){return(t=>Yn(Ln.required(t))||/^(?:[A-Z0-9+\/]{4})*(?:[A-Z0-9+\/]{2}==|[A-Z0-9+\/]{3}=|[A-Z0-9+\/]{4})$/i.test(t.value)?null:{base64:!0})(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","base64","","formControlName",""],["","base64","","formControl",""],["","base64","","ngModel",""]],features:[Pt([_U])]})}return t})();const bU={provide:wn,useExisting:xt(()=>uR),multi:!0};let uR=(()=>{class t{validate(e){return(t=>{if(Yn(Ln.required(t)))return null;const e=t.value.replace(/[^0-9]+/g,"");if(!/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|(?:9792)\d{12})$/.test(e))return{creditCard:!0};let s,l,h,i=0;for(let m=e.length-1;m>=0;m--)s=e.substring(m,m+1),l=parseInt(s,10),h?(l*=2,i+=l>=10?l%10+1:l):i+=l,h=!h;return i%10==0&&e?null:{creditCard:!0}})(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","creditCard","","formControlName",""],["","creditCard","","formControl",""],["","creditCard","","ngModel",""]],features:[Pt([bU])]})}return t})();const vU={provide:wn,useExisting:xt(()=>pR),multi:!0};let pR=(()=>{class t{validate(e){return(t=>Yn(Ln.required(t))||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(t.value)?null:{dateISO:!0})(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","dateISO","","formControlName",""],["","dateISO","","formControl",""],["","dateISO","","ngModel",""]],features:[Pt([vU])]})}return t})();const yU={provide:wn,useExisting:xt(()=>mR),multi:!0};let mR=(()=>{class t{validate(e){return(t=>{if(Yn(Ln.required(t)))return null;let o=t.value;return o=xk(o),Tk(o)?null:{date:!0}})(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","date","","formControlName",""],["","date","","formControl",""],["","date","","ngModel",""]],features:[Pt([yU])]})}return t})();const kU={provide:wn,useExisting:xt(()=>_R),multi:!0};let _R=(()=>{class t{validate(e){return(t=>Yn(Ln.required(t))||/^\d+$/.test(t.value)?null:{digits:!0})(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","digits","","formControlName",""],["","digits","","formControl",""],["","digits","","ngModel",""]],features:[Pt([kU])]})}return t})();const wU={provide:wn,useExisting:xt(()=>vR),multi:!0};let vR=(()=>{class t{validate(e){return(t=>Yn(Ln.required(t))||/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t.value)?null:{email:!0})(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","ngvemail","","formControlName",""],["","ngvemail","","formControl",""],["","ngvemail","","ngModel",""]],features:[Pt([wU])]})}return t})();const CU={provide:wn,useExisting:xt(()=>kR),multi:!0};let kR=(()=>{class t{equalTo;validator;ngOnInit(){this.validator=(t=>{let o=!1;return e=>(o||(o=!0,t.valueChanges.subscribe(()=>{e.updateValueAndValidity()})),t.value===e.value?null:{equalTo:{control:t,value:t.value}})})(this.equalTo)}validate(e){return this.validator(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","equalTo","","formControlName",""],["","equalTo","","formControl",""],["","equalTo","","ngModel",""]],inputs:{equalTo:"equalTo"},features:[Pt([CU])]})}return t})();const a5=t=>o=>Yn(Ln.required(o))||t===o.value?null:{equal:{value:t}},AU={provide:wn,useExisting:xt(()=>wR),multi:!0};let wR=(()=>{class t{equal;validator;onChange;ngOnInit(){this.validator=a5(this.equal)}ngOnChanges(e){for(const i in e)"equal"===i&&(this.validator=a5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","equal","","formControlName",""],["","equal","","formControl",""],["","equal","","ngModel",""]],inputs:{equal:"equal"},features:[Pt([AU]),fn]})}return t})();const l5=t=>o=>!Yn(t)||Yn(Ln.required(o))||+o.value>=+t?null:{gte:{value:t}},MU={provide:wn,useExisting:xt(()=>CR),multi:!0};let CR=(()=>{class t{gte;validator;onChange;ngOnInit(){this.validator=l5(this.gte)}ngOnChanges(e){for(const i in e)"gte"===i&&(this.validator=l5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","gte","","formControlName",""],["","gte","","formControl",""],["","gte","","ngModel",""]],inputs:{gte:"gte"},features:[Pt([MU]),fn]})}return t})();const c5=t=>o=>!Yn(t)||Yn(Ln.required(o))||+o.value>+t?null:{gt:{value:t}},DU={provide:wn,useExisting:xt(()=>AR),multi:!0};let AR=(()=>{class t{gt;validator;onChange;ngOnInit(){this.validator=c5(this.gt)}ngOnChanges(e){for(const i in e)"gt"===i&&(this.validator=c5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","gt","","formControlName",""],["","gt","","formControl",""],["","gt","","ngModel",""]],inputs:{gt:"gt"},features:[Pt([DU]),fn]})}return t})();const d5=t=>o=>!Yn(t)||Yn(Ln.required(o))?null:t.indexOf(o.value)<0?{includedIn:{value:o.value,reason:t}}:null,TU={provide:wn,useExisting:xt(()=>MR),multi:!0};let MR=(()=>{class t{includedIn;validator;onChange;ngOnInit(){this.validator=d5(this.includedIn)}ngOnChanges(e){for(const i in e)"includedIn"===i&&(this.validator=d5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","includedIn","","formControlName",""],["","includedIn","","formControl",""],["","includedIn","","ngModel",""]],inputs:{includedIn:"includedIn"},features:[Pt([TU]),fn]})}return t})();const xU={provide:wn,useExisting:xt(()=>TR),multi:!0};let TR=(()=>{class t{validate(e){return(t=>{if(Yn(Ln.required(t)))return null;const o=t.value;try{const e=JSON.parse(o);if(e&&"object"==typeof e)return null}catch{}return{json:!0}})(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","json","","formControlName",""],["","json","","formControl",""],["","json","","ngModel",""]],features:[Pt([xU])]})}return t})();const u5=t=>o=>!Yn(t)||Yn(Ln.required(o))||+o.value<=+t?null:{lte:{value:t}},EU={provide:wn,useExisting:xt(()=>xR),multi:!0};let xR=(()=>{class t{lte;validator;onChange;ngOnInit(){this.validator=u5(this.lte)}ngOnChanges(e){for(const i in e)"lte"===i&&(this.validator=u5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","lte","","formControlName",""],["","lte","","formControl",""],["","lte","","ngModel",""]],inputs:{lte:"lte"},features:[Pt([EU]),fn]})}return t})();const h5=t=>o=>!Yn(t)||Yn(Ln.required(o))||+o.value<+t?null:{lt:{value:t}},SU={provide:wn,useExisting:xt(()=>ER),multi:!0};let ER=(()=>{class t{lt;validator;onChange;ngOnInit(){this.validator=h5(this.lt)}ngOnChanges(e){for(const i in e)"lt"===i&&(this.validator=h5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","lt","","formControlName",""],["","lt","","formControl",""],["","lt","","ngModel",""]],inputs:{lt:"lt"},features:[Pt([SU]),fn]})}return t})();const p5=t=>{let o,e=!1,i=t;const s=t instanceof Mf||t instanceof sc;return l=>{if(!e&&s&&(e=!0,t.valueChanges.subscribe(()=>{l.updateValueAndValidity()})),s&&(i=t.value),o=xk(i),!(Tk(o)||o instanceof Function)){if(null==o)return null;if(s)return{maxDate:{error:"maxDate is invalid"}};throw Error("maxDate value must be or return a formatted date")}if(Yn(Ln.required(l)))return null;const h=new Date(xk(l.value)).getTime();return Tk(h)?(o instanceof Function&&(o=o()),h<=new Date(o).getTime()?null:s?{maxDate:{control:t,value:t.value}}:{maxDate:{value:i,control:void 0}}):{value:!0}}},IU={provide:wn,useExisting:xt(()=>SR),multi:!0};let SR=(()=>{class t{maxDate;validator;onChange;ngOnInit(){this.validator=p5(this.maxDate)}ngOnChanges(e){for(const i in e)"maxDate"===i&&(this.validator=p5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","maxDate","","formControlName",""],["","maxDate","","formControl",""],["","maxDate","","ngModel",""]],inputs:{maxDate:"maxDate"},features:[Pt([IU]),fn]})}return t})();const f5=t=>o=>!Yn(t)||Yn(Ln.required(o))||+o.value<=+t?null:{max:{value:t}},LU={provide:wn,useExisting:xt(()=>IR),multi:!0};let IR=(()=>{class t{max;validator;onChange;ngOnInit(){this.validator=f5(this.max)}ngOnChanges(e){for(const i in e)"max"===i&&(this.validator=f5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","max","","formControlName",""],["","max","","formControl",""],["","max","","ngModel",""]],inputs:{max:"max"},features:[Pt([LU]),fn]})}return t})();const m5=t=>{let o,e=!1,i=t;const s=t instanceof Mf||t instanceof sc;return l=>{if(!e&&s&&(e=!0,t.valueChanges.subscribe(()=>{l.updateValueAndValidity()})),s&&(i=t.value),o=xk(i),!(Tk(o)||o instanceof Function)){if(null==o)return null;if(s)return{minDate:{error:"minDate is invalid"}};throw Error("minDate value must be or return a formatted date")}if(Yn(Ln.required(l)))return null;const h=new Date(xk(l.value)).getTime();return Tk(h)?(o instanceof Function&&(o=o()),h>=new Date(o).getTime()?null:s?{minDate:{control:t,value:t.value}}:{minDate:{value:i,control:void 0}}):{value:!0}}},OU={provide:wn,useExisting:xt(()=>LR),multi:!0};let LR=(()=>{class t{minDate;validator;onChange;ngOnInit(){this.validator=m5(this.minDate)}ngOnChanges(e){for(const i in e)"minDate"===i&&(this.validator=m5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","minDate","","formControlName",""],["","minDate","","formControl",""],["","minDate","","ngModel",""]],inputs:{minDate:"minDate"},features:[Pt([OU]),fn]})}return t})();const g5=t=>o=>!Yn(t)||Yn(Ln.required(o))||+o.value>=+t?null:{min:{value:t}},PU={provide:wn,useExisting:xt(()=>OR),multi:!0};let OR=(()=>{class t{min;validator;onChange;ngOnInit(){this.validator=g5(this.min)}ngOnChanges(e){for(const i in e)"min"===i&&(this.validator=g5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","min","","formControlName",""],["","min","","formControl",""],["","min","","ngModel",""]],inputs:{min:"min"},features:[Pt([PU]),fn]})}return t})();const NU={provide:wn,useExisting:xt(()=>NR),multi:!0};let NR=(()=>{class t{notEqualTo;validator;ngOnInit(){this.validator=(t=>{let o=!1;return e=>{o||(o=!0,t.valueChanges.subscribe(()=>{e.updateValueAndValidity()}));const i=e.value;return null==t.value&&null==i||t.value!==i?null:{notEqualTo:{control:t,value:t.value}}}})(this.notEqualTo)}validate(e){return this.validator(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","notEqualTo","","formControlName",""],["","notEqualTo","","formControl",""],["","notEqualTo","","ngModel",""]],inputs:{notEqualTo:"notEqualTo"},features:[Pt([NU])]})}return t})();const _5=t=>o=>Yn(Ln.required(o))||t!==o.value?null:{notEqual:{value:t}},RU={provide:wn,useExisting:xt(()=>RR),multi:!0};let RR=(()=>{class t{notEqual;validator;onChange;ngOnInit(){this.validator=_5(this.notEqual)}ngOnChanges(e){for(const i in e)"notEqual"===i&&(this.validator=_5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","notEqual","","formControlName",""],["","notEqual","","formControl",""],["","notEqual","","ngModel",""]],inputs:{notEqual:"notEqual"},features:[Pt([RU]),fn]})}return t})();const b5=t=>o=>!Yn(t)||Yn(Ln.required(o))?null:t.indexOf(o.value)>=0?{notIncludedIn:{value:o.value,reason:t}}:null,FU={provide:wn,useExisting:xt(()=>FR),multi:!0};let FR=(()=>{class t{notIncludedIn;validator;onChange;ngOnInit(){this.validator=b5(this.notIncludedIn)}ngOnChanges(e){for(const i in e)"notIncludedIn"===i&&(this.validator=b5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","notIncludedIn","","formControlName",""],["","notIncludedIn","","formControl",""],["","notIncludedIn","","ngModel",""]],inputs:{notIncludedIn:"notIncludedIn"},features:[Pt([FU]),fn]})}return t})();const v5=t=>{if(!Yn(t))return e=>null;const o=Ln.pattern(t);return e=>Yn(Ln.required(e))||o(e)?null:{notMatching:{value:e.value,reason:t}}},BU={provide:wn,useExisting:xt(()=>BR),multi:!0};let BR=(()=>{class t{notMatching;validator;onChange;ngOnInit(){this.validator=v5(this.notMatching)}ngOnChanges(e){for(const i in e)"notMatching"===i&&(this.validator=v5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","notMatching","","formControlName",""],["","notMatching","","formControl",""],["","notMatching","","ngModel",""]],inputs:{notMatching:"notMatching"},features:[Pt([BU]),fn]})}return t})();const jU={provide:wn,useExisting:xt(()=>zR),multi:!0};let zR=(()=>{class t{validate(e){return(t=>Yn(Ln.required(t))||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t.value)?null:{number:!0})(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","number","","formControlName",""],["","number","","formControl",""],["","number","","ngModel",""]],features:[Pt([jU])]})}return t})();const y5=t=>o=>{if(Yn(Ln.required(o)))return null;const e=t.split(","),i=o.value;let s=!0;for(const l of e)if(null==i[l]){s=!1;break}return s?null:{hasProperty:{value:t}}},zU={provide:wn,useExisting:xt(()=>VR),multi:!0};let VR=(()=>{class t{property;validator;onChange;ngOnInit(){this.validator=y5(this.property)}ngOnChanges(e){for(const i in e)"property"===i&&(this.validator=y5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","property","","formControlName",""],["","property","","formControl",""],["","property","","ngModel",""]],inputs:{property:"property"},features:[Pt([zU]),fn]})}return t})();const k5=t=>o=>{if(!Yn(t)||Yn(Ln.required(o)))return null;const e=o.value;return e.length>=t[0]&&e.length<=t[1]?null:{rangeLength:{value:t}}},VU={provide:wn,useExisting:xt(()=>HR),multi:!0};let HR=(()=>{class t{rangeLength;validator;onChange;ngOnInit(){this.validator=k5(this.rangeLength)}ngOnChanges(e){for(const i in e)"rangeLength"===i&&(this.validator=k5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","rangeLength","","formControlName",""],["","rangeLength","","formControl",""],["","rangeLength","","ngModel",""]],inputs:{rangeLength:"rangeLength"},features:[Pt([VU]),fn]})}return t})();const w5=t=>o=>{if(!Yn(t)||Yn(Ln.required(o)))return null;const e=+o.value;return e>=t[0]&&e<=t[1]?null:{range:{value:t}}},HU={provide:wn,useExisting:xt(()=>YR),multi:!0};let YR=(()=>{class t{range;validator;onChange;ngOnInit(){this.validator=w5(this.range)}ngOnChanges(e){for(const i in e)"range"===i&&(this.validator=w5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","range","","formControlName",""],["","range","","formControl",""],["","range","","ngModel",""]],inputs:{range:"range"},features:[Pt([HU]),fn]})}return t})();const YU={provide:wn,useExisting:xt(()=>WR),multi:!0};let WR=(()=>{class t{validate(e){return(t=>Yn(Ln.required(t))||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(t.value)?null:{url:!0})(e)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","url","","formControlName",""],["","url","","formControl",""],["","url","","ngModel",""]],features:[Pt([YU])]})}return t})();const $R={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i},C5=t=>o=>{if(Yn(Ln.required(o)))return null;const e=o.value;return new RegExp($R[t]||$R.all).test(e)?null:{uuid:!0}},UU={provide:wn,useExisting:xt(()=>qR),multi:!0};let qR=(()=>{class t{uuid;validator;onChange;ngOnInit(){this.validator=C5(this.uuid)}ngOnChanges(e){for(const i in e)"uuid"===i&&(this.validator=C5(e[i].currentValue),this.onChange&&this.onChange())}validate(e){return this.validator(e)}registerOnValidatorChange(e){this.onChange=e}static \u0275fac=function(i){return new(i||t)};static \u0275dir=Xe({type:t,selectors:[["","uuid","","formControlName",""],["","uuid","","formControl",""],["","uuid","","ngModel",""]],inputs:{uuid:"uuid"},features:[Pt([UU]),fn]})}return t})(),WU=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=Wt({type:t});static \u0275inj=Ut({})}return t})();class A5{attach(o){return this._attachedHost=o,o.attach(this)}detach(){let o=this._attachedHost;null!=o&&(this._attachedHost=null,o.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(o){this._attachedHost=o}}class $U extends A5{constructor(o,e,i,s,l){super(),this.component=o,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=s,this.projectableNodes=l}}class GR extends A5{constructor(o,e,i,s){super(),this.templateRef=o,this.viewContainerRef=e,this.context=i,this.injector=s}get origin(){return this.templateRef.elementRef}attach(o,e=this.context){return this.context=e,super.attach(o)}detach(){return this.context=void 0,super.detach()}}class qU extends A5{constructor(o){super(),this.element=o instanceof An?o.nativeElement:o}}class GU{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(o){return o instanceof $U?(this._attachedPortal=o,this.attachComponentPortal(o)):o instanceof GR?(this._attachedPortal=o,this.attachTemplatePortal(o)):this.attachDomPortal&&o instanceof qU?(this._attachedPortal=o,this.attachDomPortal(o)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(o){this._disposeFn=o}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}let M5,KU=(()=>{class t extends GU{constructor(e,i,s){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Qe,this.attachDomPortal=l=>{const h=l.element,m=this._document.createComment("dom-portal");l.setAttachedHost(this),h.parentNode.insertBefore(m,h),this._getRootNode().appendChild(h),this._attachedPortal=l,super.setDisposeFn(()=>{m.parentNode&&m.parentNode.replaceChild(h,m)})},this._document=s}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,l=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),h=i.createComponent(l,i.length,e.injector||i.injector,e.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(h.hostView.rootNodes[0]),super.setDisposeFn(()=>h.destroy()),this._attachedPortal=e,this._attachedRef=h,this.attached.emit(h),h}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(Ng),Ce(xr),Ce(Hn))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[Ft]})}return t})(),ZU=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({})}return t})();try{M5=typeof Intl<"u"&&Intl.v8BreakIterator}catch{M5=!1}let Sk,D5,Ek=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Bs(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!M5)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(i){return new(i||t)(st(ko))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function TT(t){return function QU(){if(null==Sk&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Sk=!0}))}finally{Sk=Sk||!1}return Sk}()?t:!!t.capture}function gb(t){return t.composedPath?t.composedPath()[0]:t.target}function ZR(t,...o){return o.length?o.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class wW extends C{constructor(o,e){super()}schedule(o,e=0){return this}}const ET={setInterval(t,o,...e){const{delegate:i}=ET;return i?.setInterval?i.setInterval(t,o,...e):setInterval(t,o,...e)},clearInterval(t){const{delegate:o}=ET;return(o?.clearInterval||clearInterval)(t)},delegate:void 0},QR={now:()=>(QR.delegate||Date).now(),delegate:void 0};class Ik{constructor(o,e=Ik.now){this.schedulerActionCtor=o,this.now=e}schedule(o,e=0,i){return new this.schedulerActionCtor(this,o).schedule(i,e)}}Ik.now=QR.now;const JR=new class AW extends Ik{constructor(o,e=Ik.now){super(o,e),this.actions=[],this._active=!1}flush(o){const{actions:e}=this;if(this._active)return void e.push(o);let i;this._active=!0;do{if(i=o.execute(o.state,o.delay))break}while(o=e.shift());if(this._active=!1,i){for(;o=e.shift();)o.unsubscribe();throw i}}}(class CW extends wW{constructor(o,e){super(o,e),this.scheduler=o,this.work=e,this.pending=!1}schedule(o,e=0){var i;if(this.closed)return this;this.state=o;const s=this.id,l=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(l,s,e)),this.pending=!0,this.delay=e,this.id=null!==(i=this.id)&&void 0!==i?i:this.requestAsyncId(l,this.id,e),this}requestAsyncId(o,e,i=0){return ET.setInterval(o.flush.bind(o,this),i)}recycleAsyncId(o,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&ET.clearInterval(e)}execute(o,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(o,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(o,e){let s,i=!1;try{this.work(o)}catch(l){i=!0,s=l||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),s}unsubscribe(){if(!this.closed){const{id:o,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,x(i,this),null!=o&&(this.id=this.recycleAsyncId(e,o,null)),this.delay=null,super.unsubscribe()}}}),MW=JR;function XR(t,o=JR){return $e((e,i)=>{let s=null,l=null,h=null;const m=()=>{if(s){s.unsubscribe(),s=null;const w=l;l=null,i.next(w)}};function _(){const w=h+t,N=o.now();if(N<w)return s=this.schedule(void 0,w-N),void i.add(s);m()}e.subscribe(Ue(i,w=>{l=w,h=o.now(),s||(s=o.schedule(_,t),i.add(s))},()=>{m(),i.complete()},void 0,()=>{l=s=null}))})}function e7(t){return Qr((o,e)=>t<=e)}function _b(t){return null!=t&&"false"!=`${t}`}function t7(t){return Array.isArray(t)?t:[t]}function Lk(t){return t instanceof An?t.nativeElement:t}const n7=new Set;let If,xW=(()=>{class t{constructor(e,i){this._platform=e,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):SW}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function EW(t,o){if(!n7.has(t))try{If||(If=document.createElement("style"),o&&(If.nonce=o),If.setAttribute("type","text/css"),document.head.appendChild(If)),If.sheet&&(If.sheet.insertRule(`@media ${t} {body{ }}`,0),n7.add(t))}catch(e){console.error(e)}}(e,this._nonce),this._matchMedia(e)}static#e=this.\u0275fac=function(i){return new(i||t)(st(Ek),st($r,8))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function SW(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let o7=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new Ie}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return r7(t7(e)).some(s=>this._registerQuery(s).mql.matches)}observe(e){let l=iT(r7(t7(e)).map(h=>this._registerQuery(h).observable));return l=rT(l.pipe(Xu(1)),l.pipe(e7(1),XR(0))),l.pipe(ot(h=>{const m={matches:!1,breakpoints:{}};return h.forEach(({matches:_,query:w})=>{m.matches=m.matches||_,m.breakpoints[w]=_}),m}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),l={observable:new Me(h=>{const m=_=>this._zone.run(()=>h.next(_));return i.addListener(m),()=>{i.removeListener(m)}}).pipe(nb(i),ot(({matches:h})=>({query:e,matches:h})),nh(this._destroySubject)),mql:i};return this._queries.set(e,l),l}static#e=this.\u0275fac=function(i){return new(i||t)(st(xW),st(yn))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function r7(t){return t.map(o=>o.split(",")).reduce((o,e)=>o.concat(e)).map(o=>o.trim())}class OW{constructor(o){this._items=o,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ie,this._typeaheadSubscription=C.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new Ie,this.change=new Ie,o instanceof nc&&(this._itemChangesSubscription=o.changes.subscribe(e=>{if(this._activeItem){const s=e.toArray().indexOf(this._activeItem);s>-1&&s!==this._activeItemIndex&&(this._activeItemIndex=s)}}))}skipPredicate(o){return this._skipPredicateFn=o,this}withWrap(o=!0){return this._wrap=o,this}withVerticalOrientation(o=!0){return this._vertical=o,this}withHorizontalOrientation(o){return this._horizontal=o,this}withAllowedModifierKeys(o){return this._allowedModifierKeys=o,this}withTypeAhead(o=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Po(e=>this._pressedLetters.push(e)),XR(o),Qr(()=>this._pressedLetters.length>0),ot(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let s=1;s<i.length+1;s++){const l=(this._activeItemIndex+s)%i.length,h=i[l];if(!this._skipPredicateFn(h)&&0===h.getLabel().toUpperCase().trim().indexOf(e)){this.setActiveItem(l);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(o=!0){return this._homeAndEnd=o,this}withPageUpDown(o=!0,e=10){return this._pageUpAndDown={enabled:o,delta:e},this}setActiveItem(o){const e=this._activeItem;this.updateActiveItem(o),this._activeItem!==e&&this.change.next(this._activeItemIndex)}onKeydown(o){const e=o.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(l=>!o[l]||this._allowedModifierKeys.indexOf(l)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;case 33:if(this._pageUpAndDown.enabled&&s){const l=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(l>0?l:0,1);break}return;case 34:if(this._pageUpAndDown.enabled&&s){const l=this._activeItemIndex+this._pageUpAndDown.delta,h=this._getItemsArray().length;this._setActiveItemByIndex(l<h?l:h-1,-1);break}return;default:return void((s||ZR(o,"shiftKey"))&&(o.key&&1===o.key.length?this._letterKeyStream.next(o.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],o.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(o){const e=this._getItemsArray(),i="number"==typeof o?o:e.indexOf(o);this._activeItem=e[i]??null,this._activeItemIndex=i}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(o){this._wrap?this._setActiveInWrapMode(o):this._setActiveInDefaultMode(o)}_setActiveInWrapMode(o){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const s=(this._activeItemIndex+o*i+e.length)%e.length;if(!this._skipPredicateFn(e[s]))return void this.setActiveItem(s)}}_setActiveInDefaultMode(o){this._setActiveItemByIndex(this._activeItemIndex+o,o)}_setActiveItemByIndex(o,e){const i=this._getItemsArray();if(i[o]){for(;this._skipPredicateFn(i[o]);)if(!i[o+=e])return;this.setActiveItem(o)}}_getItemsArray(){return this._items instanceof nc?this._items.toArray():this._items}}class PW extends OW{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(o){return this._origin=o,this}setActiveItem(o){super.setActiveItem(o),this.activeItem&&this.activeItem.focus(this._origin)}}function c7(t){return 0===t.buttons||0===t.detail}function d7(t){const o=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!o||-1!==o.identifier||null!=o.radiusX&&1!==o.radiusX||null!=o.radiusY&&1!==o.radiusY)}const zW=new pt("cdk-input-modality-detector-options"),VW={ignoreKeys:[18,17,224,91,16]},bb=TT({passive:!0,capture:!0});let HW=(()=>{class t{get mostRecentModality(){return this._modality.value}constructor(e,i,s,l){this._platform=e,this._mostRecentTarget=null,this._modality=new to(null),this._lastTouchMs=0,this._onKeydown=h=>{this._options?.ignoreKeys?.some(m=>m===h.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=gb(h))},this._onMousedown=h=>{Date.now()-this._lastTouchMs<650||(this._modality.next(c7(h)?"keyboard":"mouse"),this._mostRecentTarget=gb(h))},this._onTouchstart=h=>{d7(h)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=gb(h))},this._options={...VW,...l},this.modalityDetected=this._modality.pipe(e7(1)),this.modalityChanged=this.modalityDetected.pipe(fh()),e.isBrowser&&i.runOutsideAngular(()=>{s.addEventListener("keydown",this._onKeydown,bb),s.addEventListener("mousedown",this._onMousedown,bb),s.addEventListener("touchstart",this._onTouchstart,bb)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,bb),document.removeEventListener("mousedown",this._onMousedown,bb),document.removeEventListener("touchstart",this._onTouchstart,bb))}static#e=this.\u0275fac=function(i){return new(i||t)(st(Ek),st(yn),st(Hn),st(zW,8))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const UW=new pt("cdk-focus-monitor-default-options"),ST=TT({passive:!0,capture:!0});let WW=(()=>{class t{constructor(e,i,s,l,h){this._ngZone=e,this._platform=i,this._inputModalityDetector=s,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ie,this._rootNodeFocusAndBlurListener=m=>{for(let w=gb(m);w;w=w.parentElement)"focus"===m.type?this._onFocus(m,w):this._onBlur(m,w)},this._document=l,this._detectionMode=h?.detectionMode||0}monitor(e,i=!1){const s=Lk(e);if(!this._platform.isBrowser||1!==s.nodeType)return Yt();const l=function XU(t){if(function JU(){if(null==D5){const t=typeof document<"u"?document.head:null;D5=!(!t||!t.createShadowRoot&&!t.attachShadow)}return D5}()){const o=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&o instanceof ShadowRoot)return o}return null}(s)||this._getDocument(),h=this._elementInfo.get(s);if(h)return i&&(h.checkChildren=!0),h.subject;const m={checkChildren:i,subject:new Ie,rootNode:l};return this._elementInfo.set(s,m),this._registerGlobalListeners(m),m.subject}stopMonitoring(e){const i=Lk(e),s=this._elementInfo.get(i);s&&(s.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(s))}focusVia(e,i,s){const l=Lk(e);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(([m,_])=>this._originChanged(m,i,_)):(this._setOrigin(i),"function"==typeof l.focus&&l.focus(s))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:e&&this._isLastInteractionFromInputLabel(e)?"mouse":"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!e?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const s=this._elementInfo.get(i),l=gb(e);!s||!s.checkChildren&&i!==l||this._originChanged(i,this._getFocusOrigin(l),s)}_onBlur(e,i){const s=this._elementInfo.get(i);!s||s.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(s,null))}_emitOrigin(e,i){e.subject.observers.length&&this._ngZone.run(()=>e.subject.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,s=this._rootNodeFocusListenerCount.get(i)||0;s||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,ST),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,ST)}),this._rootNodeFocusListenerCount.set(i,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(nh(this._stopInputModalityDetector)).subscribe(l=>{this._setOrigin(l,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const s=this._rootNodeFocusListenerCount.get(i);s>1?this._rootNodeFocusListenerCount.set(i,s-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ST),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ST),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,s){this._setClasses(e,i),this._emitOrigin(s,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((s,l)=>{(l===e||s.checkChildren&&l.contains(e))&&i.push([l,s])}),i}_isLastInteractionFromInputLabel(e){const{_mostRecentTarget:i,mostRecentModality:s}=this._inputModalityDetector;if("mouse"!==s||!i||i===e||"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||e.disabled)return!1;const l=e.labels;if(l)for(let h=0;h<l.length;h++)if(l[h].contains(i))return!0;return!1}static#e=this.\u0275fac=function(i){return new(i||t)(st(yn),st(Ek),st(HW),st(Hn,8),st(UW,8))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const h7="cdk-high-contrast-black-on-white",p7="cdk-high-contrast-white-on-black",T5="cdk-high-contrast-active";let $W=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=_t(o7).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,s=i&&i.getComputedStyle?i.getComputedStyle(e):null,l=(s&&s.backgroundColor||"").replace(/ /g,"");switch(e.remove(),l){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(T5,h7,p7),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(T5,h7):2===i&&e.add(T5,p7)}}static#e=this.\u0275fac=function(i){return new(i||t)(st(Ek),st(Hn))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const qW=new pt("cdk-dir-doc",{providedIn:"root",factory:function GW(){return _t(Hn)}}),KW=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let f7=(()=>{class t{constructor(e){this.value="ltr",this.change=new Qe,e&&(this.value=function ZW(t){const o=t?.toLowerCase()||"";return"auto"===o&&typeof navigator<"u"&&navigator?.language?KW.test(navigator.language)?"rtl":"ltr":"rtl"===o?"rtl":"ltr"}((e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(i){return new(i||t)(st(qW,8))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),x5=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({})}return t})();function QW(t,o){1&t&&or(0)}const JW=["*"];let m7=(()=>{class t{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(An))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return t})(),g7=(()=>{class t{constructor(e){this.template=e}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(ei))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","cdkStepLabel",""]]})}return t})(),XW=0;const _7=new pt("STEPPER_GLOBAL_OPTIONS");let E5=(()=>{class t{get editable(){return this._editable}set editable(e){this._editable=_b(e)}get optional(){return this._optional}set optional(e){this._optional=_b(e)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=_b(e)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(e){this._customError=_b(e)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(e,i){this._stepper=e,this.interacted=!1,this.interactedStream=new Qe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(xt(()=>S5)),Ce(_7,8))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["cdk-step"]],contentQueries:function(i,s,l){if(1&i&&pi(l,g7,5),2&i){let h;zt(h=jt())&&(s.stepLabel=h.first)}},viewQuery:function(i,s){if(1&i&&Pn(ei,7),2&i){let l;zt(l=jt())&&(s.content=l.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[fn],ngContentSelectors:JW,decls:1,vars:0,template:function(i,s){1&i&&(ms(),J(0,QW,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return t})(),S5=(()=>{class t{get linear(){return this._linear}set linear(e){this._linear=_b(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){const i=function DW(t,o=0){return function TW(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):o}(e);this.steps&&this._steps?(this._isValidIndex(i),this.selected?._markAsInteracted(),this._selectedIndex!==i&&!this._anyControlsInvalidOrPending(i)&&(i>=this._selectedIndex||this.steps.toArray()[i].editable)&&this._updateSelectedItemIndex(i)):this._selectedIndex=i}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===e)}constructor(e,i,s){this._dir=e,this._changeDetectorRef=i,this._elementRef=s,this._destroyed=new Ie,this.steps=new nc,this._sortedHeaders=new nc,this._linear=!1,this._selectedIndex=0,this.selectionChange=new Qe,this.selectedIndexChange=new Qe,this._orientation="horizontal",this._groupId=XW++}ngAfterContentInit(){this._steps.changes.pipe(nb(this._steps),nh(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(nb(this._stepHeader),nh(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((i,s)=>i._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new PW(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:Yt()).pipe(nb(this._layoutDirection()),nh(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){const i=e-this._selectedIndex;return i<0?"rtl"===this._layoutDirection()?"next":"previous":i>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(e,i="number"){const s=this.steps.toArray()[e],l=this._isCurrentStep(e);return s._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(s,l):this._getGuidelineLogic(s,l,i)}_getDefaultIndicatorLogic(e,i){return e._showError()&&e.hasError&&!i?"error":!e.completed||i?"number":e.editable?"edit":"done"}_getGuidelineLogic(e,i,s="number"){return e._showError()&&e.hasError&&!i?"error":e.completed&&!i?"done":e.completed&&i?s:e.editable&&i?"edit":s}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){const i=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:i[e],previouslySelectedStep:i[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){const i=ZR(e),s=e.keyCode,l=this._keyManager;null==l.activeItemIndex||i||32!==s&&13!==s?l.setFocusOrigin("keyboard").onKeydown(e):(this.selectedIndex=l.activeItemIndex,e.preventDefault())}_anyControlsInvalidOrPending(e){return!!(this._linear&&e>=0)&&this.steps.toArray().slice(0,e).some(i=>{const s=i.stepControl;return(s?s.invalid||s.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const e=this._elementRef.nativeElement,i=function eW(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const o=t.shadowRoot.activeElement;if(o===t)break;t=o}return t}();return e===i||e.contains(i)}_isValidIndex(e){return e>-1&&(!this.steps||e<this.steps.length)}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(f7,8),Ce(Mi),Ce(An))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","cdkStepper",""]],contentQueries:function(i,s,l){if(1&i&&(pi(l,E5,5),pi(l,m7,5)),2&i){let h;zt(h=jt())&&(s._steps=h),zt(h=jt())&&(s._stepHeader=h)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return t})(),e$=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({imports:[x5]})}return t})();const n$=new pt("mat-sanity-checks",{providedIn:"root",factory:function t$(){return!0}});let vb=(()=>{class t{constructor(e,i,s){this._sanityChecks=i,this._document=s,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!function tW(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}static#e=this.\u0275fac=function(i){return new(i||t)(st($W),st(n$,8),st(Hn))};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({imports:[x5,x5]})}return t})();function y7(t,o){return class extends t{get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}constructor(...e){super(...e),this.defaultColor=o,this.color=o}}}let I5=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();class o${constructor(o,e,i,s=!1){this._renderer=o,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=s,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const k7=TT({passive:!0,capture:!0});class r${constructor(){this._events=new Map,this._delegateEventHandler=o=>{const e=gb(o);e&&this._events.get(o.type)?.forEach((i,s)=>{(s===e||s.contains(e))&&i.forEach(l=>l.handleEvent(o))})}}addHandler(o,e,i,s){const l=this._events.get(e);if(l){const h=l.get(i);h?h.add(s):l.set(i,new Set([s]))}else this._events.set(e,new Map([[i,new Set([s])]])),o.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,k7)})}removeHandler(o,e,i){const s=this._events.get(o);if(!s)return;const l=s.get(e);l&&(l.delete(i),0===l.size&&s.delete(e),0===s.size&&(this._events.delete(o),document.removeEventListener(o,this._delegateEventHandler,k7)))}}const w7={enterDuration:225,exitDuration:150},C7=TT({passive:!0,capture:!0}),A7=["mousedown","touchstart"],M7=["mouseup","mouseleave","touchend","touchcancel"];class IT{static#e=this._eventManager=new r$;constructor(o,e,i,s){this._target=o,this._ngZone=e,this._platform=s,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,s.isBrowser&&(this._containerElement=Lk(i))}fadeInRipple(o,e,i={}){const s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l={...w7,...i.animation};i.centered&&(o=s.left+s.width/2,e=s.top+s.height/2);const h=i.radius||function a$(t,o,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),s=Math.max(Math.abs(o-e.top),Math.abs(o-e.bottom));return Math.sqrt(i*i+s*s)}(o,e,s),m=o-s.left,_=e-s.top,w=l.enterDuration,N=document.createElement("div");N.classList.add("mat-ripple-element"),N.style.left=m-h+"px",N.style.top=_-h+"px",N.style.height=2*h+"px",N.style.width=2*h+"px",null!=i.color&&(N.style.backgroundColor=i.color),N.style.transitionDuration=`${w}ms`,this._containerElement.appendChild(N);const $=window.getComputedStyle(N),le=$.transitionDuration,ve="none"===$.transitionProperty||"0s"===le||"0s, 0s"===le||0===s.width&&0===s.height,we=new o$(this,N,i,ve);N.style.transform="scale3d(1, 1, 1)",we.state=0,i.persistent||(this._mostRecentTransientRipple=we);let xe=null;return!ve&&(w||l.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ye=()=>this._finishRippleTransition(we),Fe=()=>this._destroyRipple(we);N.addEventListener("transitionend",Ye),N.addEventListener("transitioncancel",Fe),xe={onTransitionEnd:Ye,onTransitionCancel:Fe}}),this._activeRipples.set(we,xe),(ve||!w)&&this._finishRippleTransition(we),we}fadeOutRipple(o){if(2===o.state||3===o.state)return;const e=o.element,i={...w7,...o.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",o.state=2,(o._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(o)}fadeOutAll(){this._getActiveRipples().forEach(o=>o.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(o=>{o.config.persistent||o.fadeOut()})}setupTriggerEvents(o){const e=Lk(o);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,A7.forEach(i=>{IT._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(o){"mousedown"===o.type?this._onMousedown(o):"touchstart"===o.type?this._onTouchStart(o):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{M7.forEach(e=>{this._triggerElement.addEventListener(e,this,C7)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(o){0===o.state?this._startFadeOutTransition(o):2===o.state&&this._destroyRipple(o)}_startFadeOutTransition(o){const e=o===this._mostRecentTransientRipple,{persistent:i}=o.config;o.state=1,!i&&(!e||!this._isPointerDown)&&o.fadeOut()}_destroyRipple(o){const e=this._activeRipples.get(o)??null;this._activeRipples.delete(o),this._activeRipples.size||(this._containerRect=null),o===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),o.state=3,null!==e&&(o.element.removeEventListener("transitionend",e.onTransitionEnd),o.element.removeEventListener("transitioncancel",e.onTransitionCancel)),o.element.remove()}_onMousedown(o){const e=c7(o),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(o.clientX,o.clientY,this._target.rippleConfig))}_onTouchStart(o){if(!this._target.rippleDisabled&&!d7(o)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const e=o.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(o=>{!o.config.persistent&&(1===o.state||o.config.terminateOnPointerUp&&0===o.state)&&o.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const o=this._triggerElement;o&&(A7.forEach(e=>IT._eventManager.removeHandler(e,o,this)),this._pointerUpEventsRegistered&&M7.forEach(e=>o.removeEventListener(e,this,C7)))}}const l$=new pt("mat-ripple-global-options");let c$=(()=>{class t{get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}constructor(e,i,s,l,h){this._elementRef=e,this._animationMode=h,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=l||{},this._rippleRenderer=new IT(this,i,e,s)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,s){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,{...this.rippleConfig,...s}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...e})}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(An),Ce(yn),Ce(Ek),Ce(l$,8),Ce(xv,8))};static#t=this.\u0275dir=Xe({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,s){2&i&&Wi("mat-ripple-unbounded",s.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return t})(),d$=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({imports:[vb,vb]})}return t})();class LT{}class OT{}class za{constructor(o){this.normalizedNames=new Map,this.lazyUpdate=null,o?"string"==typeof o?this.lazyInit=()=>{this.headers=new Map,o.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const s=e.slice(0,i),l=s.toLowerCase(),h=e.slice(i+1).trim();this.maybeSetNormalizedName(s,l),this.headers.has(l)?this.headers.get(l).push(h):this.headers.set(l,[h])}})}:typeof Headers<"u"&&o instanceof Headers?(this.headers=new Map,o.forEach((e,i)=>{this.setHeaderEntries(i,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(o).forEach(([e,i])=>{this.setHeaderEntries(e,i)})}:this.headers=new Map}has(o){return this.init(),this.headers.has(o.toLowerCase())}get(o){this.init();const e=this.headers.get(o.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(o){return this.init(),this.headers.get(o.toLowerCase())||null}append(o,e){return this.clone({name:o,value:e,op:"a"})}set(o,e){return this.clone({name:o,value:e,op:"s"})}delete(o,e){return this.clone({name:o,value:e,op:"d"})}maybeSetNormalizedName(o,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,o)}init(){this.lazyInit&&(this.lazyInit instanceof za?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(o=>this.applyUpdate(o)),this.lazyUpdate=null))}copyFrom(o){o.init(),Array.from(o.headers.keys()).forEach(e=>{this.headers.set(e,o.headers.get(e)),this.normalizedNames.set(e,o.normalizedNames.get(e))})}clone(o){const e=new za;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof za?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([o]),e}applyUpdate(o){const e=o.name.toLowerCase();switch(o.op){case"a":case"s":let i=o.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(o.name,e);const s=("a"===o.op?this.headers.get(e):void 0)||[];s.push(...i),this.headers.set(e,s);break;case"d":const l=o.value;if(l){let h=this.headers.get(e);if(!h)return;h=h.filter(m=>-1===l.indexOf(m)),0===h.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,h)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(o,e){const i=(Array.isArray(e)?e:[e]).map(l=>l.toString()),s=o.toLowerCase();this.headers.set(s,i),this.maybeSetNormalizedName(o,s)}forEach(o){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>o(this.normalizedNames.get(e),this.headers.get(e)))}}class u${encodeKey(o){return D7(o)}encodeValue(o){return D7(o)}decodeKey(o){return decodeURIComponent(o)}decodeValue(o){return decodeURIComponent(o)}}const p$=/%(\d[a-f0-9])/gi,f$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function D7(t){return encodeURIComponent(t).replace(p$,(o,e)=>f$[e]??o)}function PT(t){return`${t}`}class Ro{constructor(o={}){if(this.updates=null,this.cloneFrom=null,this.encoder=o.encoder||new u$,o.fromString){if(o.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function h$(t,o){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(s=>{const l=s.indexOf("="),[h,m]=-1==l?[o.decodeKey(s),""]:[o.decodeKey(s.slice(0,l)),o.decodeValue(s.slice(l+1))],_=e.get(h)||[];_.push(m),e.set(h,_)}),e}(o.fromString,this.encoder)}else o.fromObject?(this.map=new Map,Object.keys(o.fromObject).forEach(e=>{const i=o.fromObject[e],s=Array.isArray(i)?i.map(PT):[PT(i)];this.map.set(e,s)})):this.map=null}has(o){return this.init(),this.map.has(o)}get(o){this.init();const e=this.map.get(o);return e?e[0]:null}getAll(o){return this.init(),this.map.get(o)||null}keys(){return this.init(),Array.from(this.map.keys())}append(o,e){return this.clone({param:o,value:e,op:"a"})}appendAll(o){const e=[];return Object.keys(o).forEach(i=>{const s=o[i];Array.isArray(s)?s.forEach(l=>{e.push({param:i,value:l,op:"a"})}):e.push({param:i,value:s,op:"a"})}),this.clone(e)}set(o,e){return this.clone({param:o,value:e,op:"s"})}delete(o,e){return this.clone({param:o,value:e,op:"d"})}toString(){return this.init(),this.keys().map(o=>{const e=this.encoder.encodeKey(o);return this.map.get(o).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(o=>""!==o).join("&")}clone(o){const e=new Ro({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(o),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(o=>this.map.set(o,this.cloneFrom.map.get(o))),this.updates.forEach(o=>{switch(o.op){case"a":case"s":const e=("a"===o.op?this.map.get(o.param):void 0)||[];e.push(PT(o.value)),this.map.set(o.param,e);break;case"d":if(void 0===o.value){this.map.delete(o.param);break}{let i=this.map.get(o.param)||[];const s=i.indexOf(PT(o.value));-1!==s&&i.splice(s,1),i.length>0?this.map.set(o.param,i):this.map.delete(o.param)}}}),this.cloneFrom=this.updates=null)}}class m${constructor(){this.map=new Map}set(o,e){return this.map.set(o,e),this}get(o){return this.map.has(o)||this.map.set(o,o.defaultValue()),this.map.get(o)}delete(o){return this.map.delete(o),this}has(o){return this.map.has(o)}keys(){return this.map.keys()}}function T7(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function x7(t){return typeof Blob<"u"&&t instanceof Blob}function E7(t){return typeof FormData<"u"&&t instanceof FormData}class Pk{constructor(o,e,i,s){let l;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=o.toUpperCase(),function g$(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||s?(this.body=void 0!==i?i:null,l=s):l=i,l&&(this.reportProgress=!!l.reportProgress,this.withCredentials=!!l.withCredentials,l.responseType&&(this.responseType=l.responseType),l.headers&&(this.headers=l.headers),l.context&&(this.context=l.context),l.params&&(this.params=l.params)),this.headers||(this.headers=new za),this.context||(this.context=new m$),this.params){const h=this.params.toString();if(0===h.length)this.urlWithParams=e;else{const m=e.indexOf("?");this.urlWithParams=e+(-1===m?"?":m<e.length-1?"&":"")+h}}else this.params=new Ro,this.urlWithParams=e}serializeBody(){return null===this.body?null:T7(this.body)||x7(this.body)||E7(this.body)||function _$(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof Ro?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||E7(this.body)?null:x7(this.body)?this.body.type||null:T7(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Ro?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(o={}){const e=o.method||this.method,i=o.url||this.url,s=o.responseType||this.responseType,l=void 0!==o.body?o.body:this.body,h=void 0!==o.withCredentials?o.withCredentials:this.withCredentials,m=void 0!==o.reportProgress?o.reportProgress:this.reportProgress;let _=o.headers||this.headers,w=o.params||this.params;const N=o.context??this.context;return void 0!==o.setHeaders&&(_=Object.keys(o.setHeaders).reduce(($,oe)=>$.set(oe,o.setHeaders[oe]),_)),o.setParams&&(w=Object.keys(o.setParams).reduce(($,oe)=>$.set(oe,o.setParams[oe]),w)),new Pk(e,i,l,{params:w,headers:_,context:N,reportProgress:m,responseType:s,withCredentials:h})}}var Ld=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(Ld||{});class L5{constructor(o,e=200,i="OK"){this.headers=o.headers||new za,this.status=void 0!==o.status?o.status:e,this.statusText=o.statusText||i,this.url=o.url||null,this.ok=this.status>=200&&this.status<300}}class O5 extends L5{constructor(o={}){super(o),this.type=Ld.ResponseHeader}clone(o={}){return new O5({headers:o.headers||this.headers,status:void 0!==o.status?o.status:this.status,statusText:o.statusText||this.statusText,url:o.url||this.url||void 0})}}class yb extends L5{constructor(o={}){super(o),this.type=Ld.Response,this.body=void 0!==o.body?o.body:null}clone(o={}){return new yb({body:void 0!==o.body?o.body:this.body,headers:o.headers||this.headers,status:void 0!==o.status?o.status:this.status,statusText:o.statusText||this.statusText,url:o.url||this.url||void 0})}}class P5 extends L5{constructor(o){super(o,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${o.url||"(unknown url)"}`:`Http failure response for ${o.url||"(unknown url)"}: ${o.status} ${o.statusText}`,this.error=o.error||null}}function N5(t,o){return{body:o,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let Nk=(()=>{class t{constructor(e){this.handler=e}request(e,i,s={}){let l;if(e instanceof Pk)l=e;else{let _,w;_=s.headers instanceof za?s.headers:new za(s.headers),s.params&&(w=s.params instanceof Ro?s.params:new Ro({fromObject:s.params})),l=new Pk(e,i,void 0!==s.body?s.body:null,{headers:_,context:s.context,params:w,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}const h=Yt(l).pipe(ib(_=>this.handler.handle(_)));if(e instanceof Pk||"events"===s.observe)return h;const m=h.pipe(Qr(_=>_ instanceof yb));switch(s.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return m.pipe(ot(_=>{if(null!==_.body&&!(_.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return _.body}));case"blob":return m.pipe(ot(_=>{if(null!==_.body&&!(_.body instanceof Blob))throw new Error("Response is not a Blob.");return _.body}));case"text":return m.pipe(ot(_=>{if(null!==_.body&&"string"!=typeof _.body)throw new Error("Response is not a string.");return _.body}));default:return m.pipe(ot(_=>_.body))}case"response":return m;default:throw new Error(`Unreachable: unhandled observe type ${s.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new Ro).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,s={}){return this.request("PATCH",e,N5(s,i))}post(e,i,s={}){return this.request("POST",e,N5(s,i))}put(e,i,s={}){return this.request("PUT",e,N5(s,i))}static#e=this.\u0275fac=function(i){return new(i||t)(st(LT))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();function L7(t,o){return o(t)}function v$(t,o){return(e,i)=>o.intercept(e,{handle:s=>t(s,i)})}const k$=new pt(""),Rk=new pt(""),O7=new pt("");function w$(){let t=null;return(o,e)=>{null===t&&(t=(_t(k$,{optional:!0})??[]).reduceRight(v$,L7));const i=_t(H_),s=i.add();return t(o,e).pipe(ob(()=>i.remove(s)))}}let P7=(()=>{class t extends LT{constructor(e,i){super(),this.backend=e,this.injector=i,this.chain=null,this.pendingTasks=_t(H_)}handle(e){if(null===this.chain){const s=Array.from(new Set([...this.injector.get(Rk),...this.injector.get(O7,[])]));this.chain=s.reduceRight((l,h)=>function y$(t,o,e){return(i,s)=>e.runInContext(()=>o(i,l=>t(l,s)))}(l,h,this.injector),L7)}const i=this.pendingTasks.add();return this.chain(e,s=>this.backend.handle(s)).pipe(ob(()=>this.pendingTasks.remove(i)))}static#e=this.\u0275fac=function(i){return new(i||t)(st(OT),st(fs))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();const D$=/^\)\]\}',?\n/;let R7=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Ze(-2800,!1);const i=this.xhrFactory;return(i.\u0275loadImpl?Qi(i.\u0275loadImpl()):Yt(null)).pipe(Or(()=>new Me(l=>{const h=i.build();if(h.open(e.method,e.urlWithParams),e.withCredentials&&(h.withCredentials=!0),e.headers.forEach((we,xe)=>h.setRequestHeader(we,xe.join(","))),e.headers.has("Accept")||h.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const we=e.detectContentTypeHeader();null!==we&&h.setRequestHeader("Content-Type",we)}if(e.responseType){const we=e.responseType.toLowerCase();h.responseType="json"!==we?we:"text"}const m=e.serializeBody();let _=null;const w=()=>{if(null!==_)return _;const we=h.statusText||"OK",xe=new za(h.getAllResponseHeaders()),Ye=function T$(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(h)||e.url;return _=new O5({headers:xe,status:h.status,statusText:we,url:Ye}),_},N=()=>{let{headers:we,status:xe,statusText:Ye,url:Fe}=w(),it=null;204!==xe&&(it=typeof h.response>"u"?h.responseText:h.response),0===xe&&(xe=it?200:0);let tt=xe>=200&&xe<300;if("json"===e.responseType&&"string"==typeof it){const ut=it;it=it.replace(D$,"");try{it=""!==it?JSON.parse(it):null}catch(Nt){it=ut,tt&&(tt=!1,it={error:Nt,text:it})}}tt?(l.next(new yb({body:it,headers:we,status:xe,statusText:Ye,url:Fe||void 0})),l.complete()):l.error(new P5({error:it,headers:we,status:xe,statusText:Ye,url:Fe||void 0}))},$=we=>{const{url:xe}=w(),Ye=new P5({error:we,status:h.status||0,statusText:h.statusText||"Unknown Error",url:xe||void 0});l.error(Ye)};let oe=!1;const le=we=>{oe||(l.next(w()),oe=!0);let xe={type:Ld.DownloadProgress,loaded:we.loaded};we.lengthComputable&&(xe.total=we.total),"text"===e.responseType&&h.responseText&&(xe.partialText=h.responseText),l.next(xe)},ve=we=>{let xe={type:Ld.UploadProgress,loaded:we.loaded};we.lengthComputable&&(xe.total=we.total),l.next(xe)};return h.addEventListener("load",N),h.addEventListener("error",$),h.addEventListener("timeout",$),h.addEventListener("abort",$),e.reportProgress&&(h.addEventListener("progress",le),null!==m&&h.upload&&h.upload.addEventListener("progress",ve)),h.send(m),l.next({type:Ld.Sent}),()=>{h.removeEventListener("error",$),h.removeEventListener("abort",$),h.removeEventListener("load",N),h.removeEventListener("timeout",$),e.reportProgress&&(h.removeEventListener("progress",le),null!==m&&h.upload&&h.upload.removeEventListener("progress",ve)),h.readyState!==h.DONE&&h.abort()}})))}static#e=this.\u0275fac=function(i){return new(i||t)(st(bP))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();const R5=new pt("XSRF_ENABLED"),F7=new pt("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),B7=new pt("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class j7{}let S$=(()=>{class t{constructor(e,i,s){this.doc=e,this.platform=i,this.cookieName=s,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=sP(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(i){return new(i||t)(st(Hn),st(ko),st(F7))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();function I$(t,o){const e=t.url.toLowerCase();if(!_t(R5)||"GET"===t.method||"HEAD"===t.method||e.startsWith("http://")||e.startsWith("https://"))return o(t);const i=_t(j7).getToken(),s=_t(B7);return null!=i&&!t.headers.has(s)&&(t=t.clone({headers:t.headers.set(s,i)})),o(t)}var oh=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(oh||{});function L$(...t){const o=[Nk,R7,P7,{provide:LT,useExisting:P7},{provide:OT,useExisting:R7},{provide:Rk,useValue:I$,multi:!0},{provide:R5,useValue:!0},{provide:j7,useClass:S$}];for(const e of t)o.push(...e.\u0275providers);return function vv(t){return{\u0275providers:t}}(o)}const z7=new pt("LEGACY_INTERCEPTOR_FN");function O$(){return function Lf(t,o){return{\u0275kind:t,\u0275providers:o}}(oh.LegacyInterceptors,[{provide:z7,useFactory:w$},{provide:Rk,useExisting:z7,multi:!0}])}let P$=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({providers:[L$(O$())]})}return t})();const z$=["*"];let RT;function Fk(t){return function V$(){if(void 0===RT&&(RT=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(RT=t.trustedTypes.createPolicy("angular#components",{createHTML:o=>o}))}return RT}()?.createHTML(t)||t}function V7(t){return Error(`Unable to find icon with the name "${t}"`)}function H7(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function Y7(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Of{constructor(o,e,i){this.url=o,this.svgText=e,this.options=i}}let FT=(()=>{class t{constructor(e,i,s,l){this._httpClient=e,this._sanitizer=i,this._errorHandler=l,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=s}addSvgIcon(e,i,s){return this.addSvgIconInNamespace("",e,i,s)}addSvgIconLiteral(e,i,s){return this.addSvgIconLiteralInNamespace("",e,i,s)}addSvgIconInNamespace(e,i,s,l){return this._addSvgIconConfig(e,i,new Of(s,null,l))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,s,l){const h=this._sanitizer.sanitize(Ui.HTML,s);if(!h)throw Y7(s);const m=Fk(h);return this._addSvgIconConfig(e,i,new Of("",m,l))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,s){return this._addSvgIconSetConfig(e,new Of(i,null,s))}addSvgIconSetLiteralInNamespace(e,i,s){const l=this._sanitizer.sanitize(Ui.HTML,i);if(!l)throw Y7(i);const h=Fk(l);return this._addSvgIconSetConfig(e,new Of("",h,s))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(...e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(Ui.RESOURCE_URL,e);if(!i)throw H7(e);const s=this._cachedIconsByUrl.get(i);return s?Yt(BT(s)):this._loadSvgIconFromConfig(new Of(e,null)).pipe(Po(l=>this._cachedIconsByUrl.set(i,l)),ot(l=>BT(l)))}getNamedSvgIcon(e,i=""){const s=U7(i,e);let l=this._svgIconConfigs.get(s);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(i,e),l)return this._svgIconConfigs.set(s,l),this._getSvgFromConfig(l);const h=this._iconSetConfigs.get(i);return h?this._getSvgFromIconSetConfigs(e,h):tb(V7(s))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?Yt(BT(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(ot(i=>BT(i)))}_getSvgFromIconSetConfigs(e,i){const s=this._extractIconWithNameFromAnySet(e,i);return s?Yt(s):UP(i.filter(h=>!h.svgText).map(h=>this._loadSvgIconSetFromConfig(h).pipe(th(m=>{const w=`Loading icon set URL: ${this._sanitizer.sanitize(Ui.RESOURCE_URL,h.url)} failed: ${m.message}`;return this._errorHandler.handleError(new Error(w)),Yt(null)})))).pipe(ot(()=>{const h=this._extractIconWithNameFromAnySet(e,i);if(!h)throw V7(e);return h}))}_extractIconWithNameFromAnySet(e,i){for(let s=i.length-1;s>=0;s--){const l=i[s];if(l.svgText&&l.svgText.toString().indexOf(e)>-1){const h=this._svgElementFromConfig(l),m=this._extractSvgIconFromSet(h,e,l.options);if(m)return m}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(Po(i=>e.svgText=i),ot(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?Yt(null):this._fetchIcon(e).pipe(Po(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,s){const l=e.querySelector(`[id="${i}"]`);if(!l)return null;const h=l.cloneNode(!0);if(h.removeAttribute("id"),"svg"===h.nodeName.toLowerCase())return this._setSvgAttributes(h,s);if("symbol"===h.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(h),s);const m=this._svgElementFromString(Fk("<svg></svg>"));return m.appendChild(h),this._setSvgAttributes(m,s)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const s=i.querySelector("svg");if(!s)throw Error("<svg> tag not found");return s}_toSvgElement(e){const i=this._svgElementFromString(Fk("<svg></svg>")),s=e.attributes;for(let l=0;l<s.length;l++){const{name:h,value:m}=s[l];"id"!==h&&i.setAttribute(h,m)}for(let l=0;l<e.childNodes.length;l++)e.childNodes[l].nodeType===this._document.ELEMENT_NODE&&i.appendChild(e.childNodes[l].cloneNode(!0));return i}_setSvgAttributes(e,i){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),i&&i.viewBox&&e.setAttribute("viewBox",i.viewBox),e}_fetchIcon(e){const{url:i,options:s}=e,l=s?.withCredentials??!1;if(!this._httpClient)throw function H$(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==i)throw Error(`Cannot fetch icon from URL "${i}".`);const h=this._sanitizer.sanitize(Ui.RESOURCE_URL,i);if(!h)throw H7(i);const m=this._inProgressUrlFetches.get(h);if(m)return m;const _=this._httpClient.get(h,{responseType:"text",withCredentials:l}).pipe(ot(w=>Fk(w)),ob(()=>this._inProgressUrlFetches.delete(h)),Lr());return this._inProgressUrlFetches.set(h,_),_}_addSvgIconConfig(e,i,s){return this._svgIconConfigs.set(U7(e,i),s),this}_addSvgIconSetConfig(e,i){const s=this._iconSetConfigs.get(e);return s?s.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let s=0;s<this._resolvers.length;s++){const l=this._resolvers[s](i,e);if(l)return U$(l)?new Of(l.url,null,l.options):new Of(l,null)}}static#e=this.\u0275fac=function(i){return new(i||t)(st(Nk,8),st(tk),st(Hn,8),st(Cr))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function BT(t){return t.cloneNode(!0)}function U7(t,o){return t+":"+o}function U$(t){return!(!t.url||!t.options)}const W$=y7(class{constructor(t){this._elementRef=t}}),$$=new pt("MAT_ICON_DEFAULT_OPTIONS"),q$=new pt("mat-icon-location",{providedIn:"root",factory:function G$(){const t=_t(Hn),o=t?t.location:null;return{getPathname:()=>o?o.pathname+o.search:""}}}),W7=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],K$=W7.map(t=>`[${t}]`).join(", "),Z$=/^url\(['"]?#(.*?)['"]?\)$/;let Q$=(()=>{class t extends W${get inline(){return this._inline}set inline(e){this._inline=_b(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,s,l,h,m){super(e),this._iconRegistry=i,this._location=l,this._errorHandler=h,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=C.EMPTY,m&&(m.color&&(this.color=this.defaultColor=m.color),m.fontSet&&(this.fontSet=m.fontSet)),s||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const s=e.childNodes[i];(1!==s.nodeType||"svg"===s.nodeName.toLowerCase())&&s.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(s=>s.length>0);this._previousFontSetClass.forEach(s=>e.classList.remove(s)),i.forEach(s=>e.classList.add(s)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((s,l)=>{s.forEach(h=>{l.setAttribute(h.name,`url('${e}#${h.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(K$),s=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l<i.length;l++)W7.forEach(h=>{const m=i[l],_=m.getAttribute(h),w=_?_.match(Z$):null;if(w){let N=s.get(m);N||(N=[],s.set(m,N)),N.push({name:h,value:w[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,s]=this._splitIconName(e);i&&(this._svgNamespace=i),s&&(this._svgName=s),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(s,i).pipe(Xu(1)).subscribe(l=>this._setSvgElement(l),l=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${s}! ${l.message}`))})}}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(An),Ce(FT),function ml(t){return function Qm(t,o){if("class"===o)return t.classes;if("style"===o)return t.styles;const e=t.attrs;if(e){const i=e.length;let s=0;for(;s<i;){const l=e[s];if(fm(l))break;if(0===l)s+=2;else if("number"==typeof l)for(s++;s<i&&"string"==typeof e[s];)s++;else{if(l===o)return e[s+1];s+=2}}}return null}(Uo(),t)}("aria-hidden"),Ce(q$),Ce(Cr),Ce($$,8))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(i,s){2&i&&(mt("data-mat-icon-type",s._usingFontIcon()?"font":"svg")("data-mat-icon-name",s._svgName||s.fontIcon)("data-mat-icon-namespace",s._svgNamespace||s.fontSet)("fontIcon",s._usingFontIcon()?s.fontIcon:null),Wi("mat-icon-inline",s.inline)("mat-icon-no-color","primary"!==s.color&&"accent"!==s.color&&"warn"!==s.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[Ft],ngContentSelectors:z$,decls:1,vars:0,template:function(i,s){1&i&&(ms(),or(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return t})(),J$=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({imports:[vb,vb]})}return t})();class $7{}class X${}const Od="*";function kb(t,o){return{type:7,name:t,definitions:o,options:{}}}function Va(t,o=null){return{type:4,styles:o,timings:t}}function q7(t,o=null){return{type:3,steps:t,options:o}}function G7(t,o=null){return{type:2,steps:t,options:o}}function Fo(t){return{type:6,styles:t,offset:null}}function Pf(t,o,e){return{type:0,name:t,styles:o,options:e}}function Ha(t,o,e=null){return{type:1,expr:t,animation:o,options:e}}function jT(t,o=null){return{type:8,animation:t,options:o}}function K7(t=null){return{type:9,options:t}}function zT(t,o=null){return{type:10,animation:t,options:o}}function Z7(t,o,e=null){return{type:11,selector:t,animation:o,options:e}}class Bk{constructor(o=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=o+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(o){this._position=this.totalTime?o*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Q7{constructor(o){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=o;let e=0,i=0,s=0;const l=this.players.length;0==l?queueMicrotask(()=>this._onFinish()):this.players.forEach(h=>{h.onDone(()=>{++e==l&&this._onFinish()}),h.onDestroy(()=>{++i==l&&this._onDestroy()}),h.onStart(()=>{++s==l&&this._onStart()})}),this.totalTime=this.players.reduce((h,m)=>Math.max(h,m.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this.players.forEach(o=>o.init())}onStart(o){this._onStartFns.push(o)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(o=>o()),this._onStartFns=[])}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(o=>o.play())}pause(){this.players.forEach(o=>o.pause())}restart(){this.players.forEach(o=>o.restart())}finish(){this._onFinish(),this.players.forEach(o=>o.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(o=>o.destroy()),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}reset(){this.players.forEach(o=>o.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(o){const e=o*this.totalTime;this.players.forEach(i=>{const s=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(s)})}getPosition(){const o=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=o?o.getPosition():0}beforeDestroy(){this.players.forEach(o=>{o.beforeDestroy&&o.beforeDestroy()})}triggerCallback(o){const e="start"==o?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function eq(t,o){if(1&t&&Et(0,8),2&t){const e=X();H("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function tq(t,o){if(1&t&&(ne(0,"span",13),ze(1),re()),2&t){const e=X(2);G(1),nn(e._getDefaultTextForState(e.state))}}function nq(t,o){if(1&t&&(ne(0,"span",14),ze(1),re()),2&t){const e=X(2);G(1),nn(e._intl.completedLabel)}}function iq(t,o){if(1&t&&(ne(0,"span",14),ze(1),re()),2&t){const e=X(2);G(1),nn(e._intl.editableLabel)}}function oq(t,o){if(1&t&&(ne(0,"mat-icon",13),ze(1),re()),2&t){const e=X(2);G(1),nn(e._getDefaultTextForState(e.state))}}function rq(t,o){if(1&t&&(vt(0,9),J(1,tq,2,1,"span",10),J(2,nq,2,1,"span",11),J(3,iq,2,1,"span",11),J(4,oq,2,1,"mat-icon",12),kt()),2&t){const e=X();H("ngSwitch",e.state),G(1),H("ngSwitchCase","number"),G(1),H("ngIf","done"===e.state),G(1),H("ngIf","edit"===e.state)}}function sq(t,o){if(1&t&&(ne(0,"div",15),Et(1,16),re()),2&t){const e=X();G(1),H("ngTemplateOutlet",e._templateLabel().template)}}function aq(t,o){if(1&t&&(ne(0,"div",15),ze(1),re()),2&t){const e=X();G(1),nn(e.label)}}function lq(t,o){if(1&t&&(ne(0,"div",17),ze(1),re()),2&t){const e=X();G(1),nn(e._intl.optionalLabel)}}function cq(t,o){if(1&t&&(ne(0,"div",18),ze(1),re()),2&t){const e=X();G(1),nn(e.errorMessage)}}function dq(t,o){}function uq(t,o){if(1&t&&(or(0),J(1,dq,0,0,"ng-template",0)),2&t){const e=X();G(1),H("cdkPortalOutlet",e._portal)}}const hq=["*"];function pq(t,o){1&t&&Re(0,"div",11)}const J7=function(t,o){return{step:t,i:o}};function fq(t,o){if(1&t&&(vt(0),Et(1,9),J(2,pq,1,0,"div",10),kt()),2&t){const e=o.$implicit,i=o.index,s=o.last;X(2);const l=ii(4);G(1),H("ngTemplateOutlet",l)("ngTemplateOutletContext",Xn(3,J7,e,i)),G(1),H("ngIf",!s)}}const X7=function(t){return{animationDuration:t}},e9=function(t,o){return{value:t,params:o}};function mq(t,o){if(1&t){const e=wt();ne(0,"div",12),We("@horizontalStepTransition.done",function(s){return Pe(e),Oe(X(2)._animationDone.next(s))}),Et(1,13),re()}if(2&t){const e=o.$implicit,i=o.index,s=X(2);Wi("mat-horizontal-stepper-content-inactive",s.selectedIndex!==i),H("@horizontalStepTransition",Xn(8,e9,s._getAnimationDirection(i),gn(6,X7,s._getAnimationDuration())))("id",s._getStepContentId(i)),mt("aria-labelledby",s._getStepLabelId(i)),G(1),H("ngTemplateOutlet",e.content)}}function gq(t,o){if(1&t&&(ne(0,"div",4)(1,"div",5),J(2,fq,3,6,"ng-container",6),re(),ne(3,"div",7),J(4,mq,2,11,"div",8),re()()),2&t){const e=X();G(2),H("ngForOf",e.steps),G(2),H("ngForOf",e.steps)}}function _q(t,o){if(1&t){const e=wt();ne(0,"div",15),Et(1,9),ne(2,"div",16)(3,"div",17),We("@verticalStepTransition.done",function(s){return Pe(e),Oe(X(2)._animationDone.next(s))}),ne(4,"div",18),Et(5,13),re()()()()}if(2&t){const e=o.$implicit,i=o.index,s=o.last,l=X(2),h=ii(4);G(1),H("ngTemplateOutlet",h)("ngTemplateOutletContext",Xn(10,J7,e,i)),G(1),Wi("mat-stepper-vertical-line",!s),G(1),Wi("mat-vertical-stepper-content-inactive",l.selectedIndex!==i),H("@verticalStepTransition",Xn(15,e9,l._getAnimationDirection(i),gn(13,X7,l._getAnimationDuration())))("id",l._getStepContentId(i)),mt("aria-labelledby",l._getStepLabelId(i)),G(2),H("ngTemplateOutlet",e.content)}}function bq(t,o){if(1&t&&(vt(0),J(1,_q,6,18,"div",14),kt()),2&t){const e=X();G(1),H("ngForOf",e.steps)}}function vq(t,o){if(1&t){const e=wt();ne(0,"mat-step-header",19),We("click",function(){return Oe(Pe(e).step.select())})("keydown",function(s){return Pe(e),Oe(X()._onKeydown(s))}),re()}if(2&t){const e=o.step,i=o.i,s=X();Wi("mat-horizontal-stepper-header","horizontal"===s.orientation)("mat-vertical-stepper-header","vertical"===s.orientation),H("tabIndex",s._getFocusIndex()===i?0:-1)("id",s._getStepLabelId(i))("index",i)("state",s._getIndicatorType(i,e.state))("label",e.stepLabel||e.label)("selected",s.selectedIndex===i)("active",s._stepIsNavigable(i,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",s._iconOverrides)("disableRipple",s.disableRipple||!s._stepIsNavigable(i,e))("color",e.color||s.color),mt("aria-posinset",i+1)("aria-setsize",s.steps.length)("aria-controls",s._getStepContentId(i))("aria-selected",s.selectedIndex==i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",!s._stepIsNavigable(i,e)||null)}}let VT=(()=>{class t extends g7{static#e=this.\u0275fac=function(){let e;return function(s){return(e||(e=At(t)))(s||t)}}();static#t=this.\u0275dir=Xe({type:t,selectors:[["","matStepLabel",""]],features:[Ft]})}return t})(),HT=(()=>{class t{constructor(){this.changes=new Ie,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const kq={provide:HT,deps:[[new gl,new du,HT]],useFactory:function yq(t){return t||new HT}},wq=y7(class extends m7{constructor(o){super(o)}},"primary");let t9=(()=>{class t extends wq{constructor(e,i,s,l){super(s),this._intl=e,this._focusMonitor=i,this._intlSubscription=e.changes.subscribe(()=>l.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._elementRef,e,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof VT?null:this.label}_templateLabel(){return this.label instanceof VT?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return"number"==e?`${this.index+1}`:"edit"==e?"create":"error"==e?"warning":e}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(HT),Ce(WW),Ce(An),Ce(Mi))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[Ft],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(i,s){1&i&&(Re(0,"div",0),ne(1,"div")(2,"div",1),J(3,eq,1,2,"ng-container",2),J(4,rq,5,4,"ng-container",3),re()(),ne(5,"div",4),J(6,sq,2,1,"div",5),J(7,aq,2,1,"div",5),J(8,lq,2,1,"div",6),J(9,cq,2,1,"div",7),re()),2&i&&(H("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disableRipple),G(1),function b2(t,o,e){oa(tr,na,fd(lt(),t,o,e),!0)}("mat-step-icon-state-",s.state," mat-step-icon"),Wi("mat-step-icon-selected",s.selected),G(1),H("ngSwitch",!(!s.iconOverrides||!s.iconOverrides[s.state])),G(1),H("ngSwitchCase",!0),G(2),Wi("mat-step-label-active",s.active)("mat-step-label-selected",s.selected)("mat-step-label-error","error"==s.state),G(1),H("ngIf",s._templateLabel()),G(1),H("ngIf",s._stringLabel()),G(1),H("ngIf",s.optional&&"error"!=s.state),G(1),H("ngIf","error"==s.state))},dependencies:[Ei,Xi,J1,nL,uP,Q$,c$],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color)}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color)}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color);background-color:var(--mat-stepper-header-icon-background-color)}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color)}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-weight)}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0})}return t})();const r9={horizontalStepTransition:kb("horizontalStepTransition",[Pf("previous",Fo({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Pf("current",Fo({transform:"none",visibility:"inherit"})),Pf("next",Fo({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Ha("* => *",q7([Va("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Z7("@*",K7(),{optional:!0})]),{params:{animationDuration:"500ms"}})]),verticalStepTransition:kb("verticalStepTransition",[Pf("previous",Fo({height:"0px",visibility:"hidden"})),Pf("next",Fo({height:"0px",visibility:"hidden"})),Pf("current",Fo({height:"*",visibility:"inherit"})),Ha("* <=> current",q7([Va("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Z7("@*",K7(),{optional:!0})]),{params:{animationDuration:"225ms"}})])};let Cq=(()=>{class t{constructor(e){this.templateRef=e}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(ei))};static#t=this.\u0275dir=Xe({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}})}return t})(),Aq=(()=>{class t{constructor(e){this._template=e}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(ei))};static#t=this.\u0275dir=Xe({type:t,selectors:[["ng-template","matStepContent",""]]})}return t})(),s9=(()=>{class t extends E5{constructor(e,i,s,l){super(e,l),this._errorStateMatcher=i,this._viewContainerRef=s,this._isSelected=C.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Or(()=>this._stepper.selectionChange.pipe(ot(e=>e.selectedStep===this),nb(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new GR(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,i){return this._errorStateMatcher.isErrorState(e,i)||!!(e&&e.invalid&&this.interacted)}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(xt(()=>a9)),Ce(I5,4),Ce(xr),Ce(_7,8))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["mat-step"]],contentQueries:function(i,s,l){if(1&i&&(pi(l,VT,5),pi(l,Aq,5)),2&i){let h;zt(h=jt())&&(s.stepLabel=h.first),zt(h=jt())&&(s._lazyContent=h.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[Pt([{provide:I5,useExisting:t},{provide:E5,useExisting:t}]),Ft],ngContentSelectors:hq,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(i,s){1&i&&(ms(),J(0,uq,2,1,"ng-template"))},dependencies:[KU],encapsulation:2,changeDetection:0})}return t})(),a9=(()=>{class t extends S5{get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}constructor(e,i,s){super(e,i,s),this._stepHeader=void 0,this._steps=void 0,this.steps=new nc,this.animationDone=new Qe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new Ie,this._animationDuration="";const l=s.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===l?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:i})=>this._iconOverrides[e]=i),this.steps.changes.pipe(nh(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(fh((e,i)=>e.fromState===i.fromState&&e.toState===i.toState),nh(this._destroyed)).subscribe(e=>{"current"===e.toState&&this.animationDone.emit()})}_stepIsNavigable(e,i){return i.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(f7,8),Ce(Mi),Ce(An))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(i,s,l){if(1&i&&(pi(l,s9,5),pi(l,Cq,5)),2&i){let h;zt(h=jt())&&(s._steps=h),zt(h=jt())&&(s._icons=h)}},viewQuery:function(i,s){if(1&i&&Pn(t9,5),2&i){let l;zt(l=jt())&&(s._stepHeader=l)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(i,s){2&i&&(mt("aria-orientation",s.orientation),Wi("mat-stepper-horizontal","horizontal"===s.orientation)("mat-stepper-vertical","vertical"===s.orientation)("mat-stepper-label-position-end","horizontal"===s.orientation&&"end"==s.labelPosition)("mat-stepper-label-position-bottom","horizontal"===s.orientation&&"bottom"==s.labelPosition)("mat-stepper-header-position-bottom","bottom"===s.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[Pt([{provide:S5,useExisting:t}]),Ft],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(i,s){1&i&&(vt(0,0),J(1,gq,5,2,"div",1),J(2,bq,2,1,"ng-container",2),kt(),J(3,vq,1,23,"ng-template",null,3,Go)),2&i&&(H("ngSwitch",s.orientation),G(1),H("ngSwitchCase","horizontal"),G(1),H("ngSwitchCase","vertical"))},dependencies:[Zr,Ei,Xi,J1,nL,t9],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color);top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[r9.horizontalStepTransition,r9.verticalStepTransition]},changeDetection:0})}return t})(),Mq=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({providers:[kq,I5],imports:[vb,gi,ZU,e$,J$,d$,vb]})}return t})();function l9(t,o,e,i,s,l,h){try{var m=t[l](h),_=m.value}catch(w){return void e(w)}m.done?o(_):Promise.resolve(_).then(i,s)}function wb(t){return function(){var o=this,e=arguments;return new Promise(function(i,s){var l=t.apply(o,e);function h(_){l9(l,i,s,h,m,"next",_)}function m(_){l9(l,i,s,h,m,"throw",_)}h(void 0)})}}class St{static equals(o,e,i){return i?this.resolveFieldData(o,i)===this.resolveFieldData(e,i):this.equalsByValue(o,e)}static equalsByValue(o,e){if(o===e)return!0;if(o&&e&&"object"==typeof o&&"object"==typeof e){var l,h,m,i=Array.isArray(o),s=Array.isArray(e);if(i&&s){if((h=o.length)!=e.length)return!1;for(l=h;0!=l--;)if(!this.equalsByValue(o[l],e[l]))return!1;return!0}if(i!=s)return!1;var _=this.isDate(o),w=this.isDate(e);if(_!=w)return!1;if(_&&w)return o.getTime()==e.getTime();var N=o instanceof RegExp,$=e instanceof RegExp;if(N!=$)return!1;if(N&&$)return o.toString()==e.toString();var oe=Object.keys(o);if((h=oe.length)!==Object.keys(e).length)return!1;for(l=h;0!=l--;)if(!Object.prototype.hasOwnProperty.call(e,oe[l]))return!1;for(l=h;0!=l--;)if(!this.equalsByValue(o[m=oe[l]],e[m]))return!1;return!0}return o!=o&&e!=e}static resolveFieldData(o,e){if(o&&e){if(this.isFunction(e))return e(o);if(-1==e.indexOf("."))return o[e];{let i=e.split("."),s=o;for(let l=0,h=i.length;l<h;++l){if(null==s)return null;s=s[i[l]]}return s}}return null}static isFunction(o){return!!(o&&o.constructor&&o.call&&o.apply)}static reorderArray(o,e,i){o&&e!==i&&(i>=o.length&&(i%=o.length,e%=o.length),o.splice(i,0,o.splice(e,1)[0]))}static insertIntoOrderedArray(o,e,i,s){if(i.length>0){let l=!1;for(let h=0;h<i.length;h++)if(this.findIndexInList(i[h],s)>e){i.splice(h,0,o),l=!0;break}l||i.push(o)}else i.push(o)}static findIndexInList(o,e){let i=-1;if(e)for(let s=0;s<e.length;s++)if(e[s]==o){i=s;break}return i}static contains(o,e){if(null!=o&&e&&e.length)for(let i of e)if(this.equals(o,i))return!0;return!1}static removeAccents(o){return o&&o.search(/[\xC0-\xFF]/g)>-1&&(o=o.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),o}static isDate(o){return"[object Date]"===Object.prototype.toString.call(o)}static isEmpty(o){return null==o||""===o||Array.isArray(o)&&0===o.length||!this.isDate(o)&&"object"==typeof o&&0===Object.keys(o).length}static isNotEmpty(o){return!this.isEmpty(o)}static compare(o,e,i,s=1){let l=-1;const h=this.isEmpty(o),m=this.isEmpty(e);return l=h&&m?0:h?s:m?-s:"string"==typeof o&&"string"==typeof e?o.localeCompare(e,i,{numeric:!0}):o<e?-1:o>e?1:0,l}static sort(o,e,i=1,s,l=1){return(1===l?i:l)*St.compare(o,e,s,i)}static merge(o,e){if(null!=o||null!=e)return null!=o&&"object"!=typeof o||null!=e&&"object"!=typeof e?null!=o&&"string"!=typeof o||null!=e&&"string"!=typeof e?e||o:[o||"",e||""].join(" "):{...o||{},...e||{}}}}var c9=0;function YT(){return"pr_id_"+ ++c9}var Ya=function Dq(){let t=[];const s=l=>l&&parseInt(l.style.zIndex,10)||0;return{get:s,set:(l,h,m)=>{h&&(h.style.zIndex=String(((l,h)=>{let m=t.length>0?t[t.length-1]:{key:l,value:h},_=m.value+(m.key===l?0:h)+1;return t.push({key:l,value:_}),_})(l,m)))},clear:l=>{l&&((l=>{t=t.filter(h=>h.value!==l)})(s(l)),l.style.zIndex="")},getCurrent:()=>t.length>0?t[t.length-1].value:0}}();const d9=["*"];let Sr=(()=>{class t{}return t.STARTS_WITH="startsWith",t.CONTAINS="contains",t.NOT_CONTAINS="notContains",t.ENDS_WITH="endsWith",t.EQUALS="equals",t.NOT_EQUALS="notEquals",t.IN="in",t.LESS_THAN="lt",t.LESS_THAN_OR_EQUAL_TO="lte",t.GREATER_THAN="gt",t.GREATER_THAN_OR_EQUAL_TO="gte",t.BETWEEN="between",t.IS="is",t.IS_NOT="isNot",t.BEFORE="before",t.AFTER="after",t.DATE_IS="dateIs",t.DATE_IS_NOT="dateIsNot",t.DATE_BEFORE="dateBefore",t.DATE_AFTER="dateAfter",t})(),u9=(()=>{class t{}return t.AND="and",t.OR="or",t})(),h9=(()=>{class t{constructor(){this.filters={startsWith:(e,i,s)=>{if(null==i||""===i.trim())return!0;if(null==e)return!1;let l=St.removeAccents(i.toString()).toLocaleLowerCase(s);return St.removeAccents(e.toString()).toLocaleLowerCase(s).slice(0,l.length)===l},contains:(e,i,s)=>{if(null==i||"string"==typeof i&&""===i.trim())return!0;if(null==e)return!1;let l=St.removeAccents(i.toString()).toLocaleLowerCase(s);return-1!==St.removeAccents(e.toString()).toLocaleLowerCase(s).indexOf(l)},notContains:(e,i,s)=>{if(null==i||"string"==typeof i&&""===i.trim())return!0;if(null==e)return!1;let l=St.removeAccents(i.toString()).toLocaleLowerCase(s);return-1===St.removeAccents(e.toString()).toLocaleLowerCase(s).indexOf(l)},endsWith:(e,i,s)=>{if(null==i||""===i.trim())return!0;if(null==e)return!1;let l=St.removeAccents(i.toString()).toLocaleLowerCase(s),h=St.removeAccents(e.toString()).toLocaleLowerCase(s);return-1!==h.indexOf(l,h.length-l.length)},equals:(e,i,s)=>null==i||"string"==typeof i&&""===i.trim()||null!=e&&(e.getTime&&i.getTime?e.getTime()===i.getTime():St.removeAccents(e.toString()).toLocaleLowerCase(s)==St.removeAccents(i.toString()).toLocaleLowerCase(s)),notEquals:(e,i,s)=>!(null==i||"string"==typeof i&&""===i.trim()||null!=e&&(e.getTime&&i.getTime?e.getTime()===i.getTime():St.removeAccents(e.toString()).toLocaleLowerCase(s)==St.removeAccents(i.toString()).toLocaleLowerCase(s))),in:(e,i)=>{if(null==i||0===i.length)return!0;for(let s=0;s<i.length;s++)if(St.equals(e,i[s]))return!0;return!1},between:(e,i)=>null==i||null==i[0]||null==i[1]||null!=e&&(e.getTime?i[0].getTime()<=e.getTime()&&e.getTime()<=i[1].getTime():i[0]<=e&&e<=i[1]),lt:(e,i,s)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()<i.getTime():e<i),lte:(e,i,s)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()<=i.getTime():e<=i),gt:(e,i,s)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()>i.getTime():e>i),gte:(e,i,s)=>null==i||null!=e&&(e.getTime&&i.getTime?e.getTime()>=i.getTime():e>=i),is:(e,i,s)=>this.filters.equals(e,i,s),isNot:(e,i,s)=>this.filters.notEquals(e,i,s),before:(e,i,s)=>this.filters.lt(e,i,s),after:(e,i,s)=>this.filters.gt(e,i,s),dateIs:(e,i)=>null==i||null!=e&&e.toDateString()===i.toDateString(),dateIsNot:(e,i)=>null==i||null!=e&&e.toDateString()!==i.toDateString(),dateBefore:(e,i)=>null==i||null!=e&&e.getTime()<i.getTime(),dateAfter:(e,i)=>null==i||null!=e&&e.getTime()>i.getTime()}}filter(e,i,s,l,h){let m=[];if(e)for(let _ of e)for(let w of i){let N=St.resolveFieldData(_,w);if(this.filters[l](N,s,h)){m.push(_);break}}return m}register(e,i){this.filters[e]=i}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ir={licenseKey:void 0,passKey:void 0,debug:!1,valid:!0,verified:!0,verify:function(t,o,e=!1){[Ir.licenseKey,Ir.passKey,Ir.debug]=[t,o,e],Ir.valid=Ir.verified=!1},check:(t=wb(function*(){if(!Ir.verified){const o=!!(typeof window<"u"&&window.document&&window.document.createElement);Ir.verified=o;let e=Ir.debug,i=!1;try{const l=(yield Ir.aesGcmDecrypt(Ir.licenseKey,Ir.passKey)).split("_"),h=new Date(parseInt(l[2]));8!==l.length?(e&&console.log("Error code: 1333"),i=!1):2!==l[0].length?(e&&console.log("Error code: 1334"),i=!1):isNaN(parseInt(l[1]))?(e&&console.log("Error code: 1335"),i=!1):"PRIMENG"!==l[3]?(e&&console.log("Error code: 1336"),i=!1):"BASIC"===l[5]&&h<=new Date?(e&&console.log("Error code: 1337"),i=!1):"15"!==l[6]?(e&&console.log("Error code: 1338"),i=!1):6!==l[7].length?(e&&console.log("Error code: 1339"),i=!1):i=!0}catch(s){e&&console.log("Error:",s.message),i=!1}if(!i&&o){const s=document.createElement("a");s.setAttribute("href","https://primeng.org/lts"),s.setAttribute("style","background-color: red !important; color: white !important; cursor: pointer !important; font-size: 14px !important; font-weight: bold !important; position: fixed !important; z-index: 9999999999 !important; top: 0 !important; left: 0 !important; display: inline !important; width: 100% !important; padding: 1rem !important; opacity: 1 !important; pointer-events: auto !important; visibility: visible !important;");const l=document.createElement("marquee");let h,m;l.setAttribute("behavior","alternate"),l.innerText="You are using an LTS version of PrimeNG with an invalid license, you may either switch back to a non-LTS version or purchase a license at PrimeStore.",s.appendChild(l),document.body.appendChild(s);const _=()=>{h.disconnect(),m.disconnect(),s&&s.remove(),Ir.verified=!1,Ir.check()};h=new MutationObserver(()=>_()),h.observe(s,{attributes:!0,childList:!0}),m=new MutationObserver(w=>w.forEach(N=>N.removedNodes.length>0&&N.removedNodes.forEach($=>$.isSameNode(s)&&_()))),m.observe(document.body,{childList:!0})}Ir.valid=i}return Ir.valid}),function(){return t.apply(this,arguments)}),aesGcmDecrypt:function(){var t=wb(function*(o,e){const i=(new TextEncoder).encode(e),s=yield crypto.subtle.digest("SHA-256",i),l=atob(o).slice(0,12),m={name:"AES-GCM",iv:new Uint8Array(Array.from(l).map($=>$.charCodeAt(0)))},_=yield crypto.subtle.importKey("raw",s,m,!1,["decrypt"]),w=atob(o).slice(12),N=new Uint8Array(Array.from(w).map($=>$.charCodeAt(0)));try{const $=yield crypto.subtle.decrypt(m,_,N);return(new TextDecoder).decode($)}catch{throw new Error("Decrypt failed")}});return function(e,i){return t.apply(this,arguments)}}()},Gi=Object.freeze({verify:Ir.verify,check:Ir.check});var t;let Nf=(()=>{class t{constructor(){this.messageSource=new Ie,this.clearSource=new Ie,this.messageObserver=this.messageSource.asObservable(),this.clearObserver=this.clearSource.asObservable()}add(e){e&&this.messageSource.next(e)}addAll(e){e&&e.length&&this.messageSource.next(e)}clear(e){this.clearSource.next(e||null)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=gt({token:t,factory:t.\u0275fac}),t})(),B5=(()=>{class t{constructor(){this.clickSource=new Ie,this.clickObservable=this.clickSource.asObservable()}add(e){e&&this.clickSource.next(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Rf=(()=>{class t{constructor(){this.ripple=!1,this.overlayOptions={},this.filterMatchModeOptions={text:[Sr.STARTS_WITH,Sr.CONTAINS,Sr.NOT_CONTAINS,Sr.ENDS_WITH,Sr.EQUALS,Sr.NOT_EQUALS],numeric:[Sr.EQUALS,Sr.NOT_EQUALS,Sr.LESS_THAN,Sr.LESS_THAN_OR_EQUAL_TO,Sr.GREATER_THAN,Sr.GREATER_THAN_OR_EQUAL_TO],date:[Sr.DATE_IS,Sr.DATE_IS_NOT,Sr.DATE_BEFORE,Sr.DATE_AFTER]},this.translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"},this.zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100},this.translationSource=new Ie,this.translationObserver=this.translationSource.asObservable()}getTranslation(e){return this.translation[e]}setTranslation(e){this.translation={...this.translation,...e},this.translationSource.next(this.translation)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),p9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ct({type:t,selectors:[["p-header"]],ngContentSelectors:d9,decls:1,vars:0,template:function(e,i){1&e&&(ms(),or(0))},encapsulation:2}),t})(),xq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ct({type:t,selectors:[["p-footer"]],ngContentSelectors:d9,decls:1,vars:0,template:function(e,i){1&e&&(ms(),or(0))},encapsulation:2}),t})(),co=(()=>{class t{constructor(e){this.template=e}getType(){return this.name}}return t.\u0275fac=function(e){return new(e||t)(Ce(ei))},t.\u0275dir=Xe({type:t,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}}),t})(),Ki=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi]}),t})(),ys=(()=>{class t{}return t.STARTS_WITH="startsWith",t.CONTAINS="contains",t.NOT_CONTAINS="notContains",t.ENDS_WITH="endsWith",t.EQUALS="equals",t.NOT_EQUALS="notEquals",t.NO_FILTER="noFilter",t.LT="lt",t.LTE="lte",t.GT="gt",t.GTE="gte",t.IS="is",t.IS_NOT="isNot",t.BEFORE="before",t.AFTER="after",t.CLEAR="clear",t.APPLY="apply",t.MATCH_ALL="matchAll",t.MATCH_ANY="matchAny",t.ADD_RULE="addRule",t.REMOVE_RULE="removeRule",t.ACCEPT="accept",t.REJECT="reject",t.CHOOSE="choose",t.UPLOAD="upload",t.CANCEL="cancel",t.DAY_NAMES="dayNames",t.DAY_NAMES_SHORT="dayNamesShort",t.DAY_NAMES_MIN="dayNamesMin",t.MONTH_NAMES="monthNames",t.MONTH_NAMES_SHORT="monthNamesShort",t.FIRST_DAY_OF_WEEK="firstDayOfWeek",t.TODAY="today",t.WEEK_HEADER="weekHeader",t.WEAK="weak",t.MEDIUM="medium",t.STRONG="strong",t.PASSWORD_PROMPT="passwordPrompt",t.EMPTY_MESSAGE="emptyMessage",t.EMPTY_FILTER_MESSAGE="emptyFilterMessage",t})();const Eq=["*"];let si=(()=>{class t{constructor(){this.spin=!1}ngOnInit(){this.getAttributes()}getAttributes(){const e=St.isEmpty(this.label);this.role=e?void 0:"img",this.ariaLabel=e?void 0:this.label,this.ariaHidden=e}getClassNames(){return`p-icon ${this.styleClass?this.styleClass+" ":""}${this.spin?"p-icon-spin":""}`}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ct({type:t,selectors:[["ng-component"]],hostAttrs:[1,"p-element","p-icon-wrapper"],inputs:{label:"label",spin:"spin",styleClass:"styleClass"},standalone:!0,features:[Wn],ngContentSelectors:Eq,decls:1,vars:0,template:function(e,i){1&e&&(ms(),or(0))},encapsulation:2,changeDetection:0}),t})(),jk=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["ChevronDownIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),j5=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["ChevronRightIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),Bq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,j5,jk,Ki]}),t})(),f9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["BanIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_288_11866)"],["d","M7 0C5.61553 0 4.26215 0.410543 3.11101 1.17971C1.95987 1.94888 1.06266 3.04213 0.532846 4.32122C0.00303296 5.6003 -0.13559 7.00776 0.134506 8.36563C0.404603 9.7235 1.07129 10.9708 2.05026 11.9497C3.02922 12.9287 4.2765 13.5954 5.63437 13.8655C6.99224 14.1356 8.3997 13.997 9.67879 13.4672C10.9579 12.9373 12.0511 12.0401 12.8203 10.889C13.5895 9.73785 14 8.38447 14 7C14 5.14348 13.2625 3.36301 11.9497 2.05025C10.637 0.737498 8.85652 0 7 0ZM1.16667 7C1.16549 5.65478 1.63303 4.35118 2.48889 3.31333L10.6867 11.5111C9.83309 12.2112 8.79816 12.6544 7.70243 12.789C6.60669 12.9236 5.49527 12.744 4.49764 12.2713C3.50001 11.7986 2.65724 11.0521 2.06751 10.1188C1.47778 9.18558 1.16537 8.10397 1.16667 7ZM11.5111 10.6867L3.31334 2.48889C4.43144 1.57388 5.84966 1.10701 7.29265 1.1789C8.73565 1.2508 10.1004 1.85633 11.1221 2.87795C12.1437 3.89956 12.7492 5.26435 12.8211 6.70735C12.893 8.15034 12.4261 9.56856 11.5111 10.6867Z","fill","currentColor"],["id","clip0_288_11866"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),m9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["StarIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_288_11830)"],["d","M10.9741 13.6721C10.8806 13.6719 10.7886 13.6483 10.7066 13.6033L7.00002 11.6545L3.29345 13.6033C3.19926 13.6539 3.09281 13.6771 2.98612 13.6703C2.87943 13.6636 2.77676 13.6271 2.6897 13.5651C2.60277 13.5014 2.53529 13.4147 2.4948 13.3148C2.45431 13.215 2.44241 13.1058 2.46042 12.9995L3.17881 8.87264L0.167699 5.95324C0.0922333 5.8777 0.039368 5.78258 0.0150625 5.67861C-0.00924303 5.57463 -0.00402231 5.46594 0.030136 5.36477C0.0621323 5.26323 0.122141 5.17278 0.203259 5.10383C0.284377 5.03488 0.383311 4.99023 0.488681 4.97501L4.63087 4.37126L6.48797 0.618832C6.54083 0.530159 6.61581 0.456732 6.70556 0.405741C6.79532 0.35475 6.89678 0.327942 7.00002 0.327942C7.10325 0.327942 7.20471 0.35475 7.29447 0.405741C7.38422 0.456732 7.4592 0.530159 7.51206 0.618832L9.36916 4.37126L13.5114 4.97501C13.6167 4.99023 13.7157 5.03488 13.7968 5.10383C13.8779 5.17278 13.9379 5.26323 13.9699 5.36477C14.0041 5.46594 14.0093 5.57463 13.985 5.67861C13.9607 5.78258 13.9078 5.8777 13.8323 5.95324L10.8212 8.87264L11.532 12.9995C11.55 13.1058 11.5381 13.215 11.4976 13.3148C11.4571 13.4147 11.3896 13.5014 11.3027 13.5651C11.2059 13.632 11.0917 13.6692 10.9741 13.6721ZM7.00002 10.4393C7.09251 10.4404 7.18371 10.4613 7.2675 10.5005L10.2098 12.029L9.65193 8.75036C9.6368 8.6584 9.64343 8.56418 9.6713 8.47526C9.69918 8.38633 9.74751 8.30518 9.81242 8.23832L12.1969 5.94559L8.90298 5.45648C8.81188 5.44198 8.72555 5.406 8.65113 5.35152C8.57671 5.29703 8.51633 5.2256 8.475 5.14314L7.00002 2.1626L5.52503 5.15078C5.4837 5.23324 5.42332 5.30467 5.3489 5.35916C5.27448 5.41365 5.18815 5.44963 5.09705 5.46412L1.80318 5.94559L4.18761 8.23832C4.25252 8.30518 4.30085 8.38633 4.32873 8.47526C4.3566 8.56418 4.36323 8.6584 4.3481 8.75036L3.7902 12.0519L6.73253 10.5234C6.81451 10.4762 6.9058 10.4475 7.00002 10.4393Z","fill","currentColor"],["id","clip0_288_11830"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),g9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["StarFillIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_288_11823)"],["d","M13.9718 5.36453C13.9398 5.26298 13.8798 5.17252 13.7986 5.10356C13.7175 5.0346 13.6186 4.98994 13.5132 4.97472L9.37043 4.37088L7.51307 0.617955C7.46021 0.529271 7.38522 0.455834 7.29545 0.404836C7.20568 0.353838 7.1042 0.327026 7.00096 0.327026C6.89771 0.327026 6.79624 0.353838 6.70647 0.404836C6.6167 0.455834 6.54171 0.529271 6.48885 0.617955L4.63149 4.37088L0.488746 4.97472C0.383363 4.98994 0.284416 5.0346 0.203286 5.10356C0.122157 5.17252 0.0621407 5.26298 0.03014 5.36453C-0.00402286 5.46571 -0.00924428 5.57442 0.0150645 5.67841C0.0393733 5.7824 0.0922457 5.87753 0.167722 5.95308L3.17924 8.87287L2.4684 13.0003C2.45038 13.1066 2.46229 13.2158 2.50278 13.3157C2.54328 13.4156 2.61077 13.5022 2.6977 13.5659C2.78477 13.628 2.88746 13.6644 2.99416 13.6712C3.10087 13.678 3.20733 13.6547 3.30153 13.6042L7.00096 11.6551L10.708 13.6042C10.79 13.6491 10.882 13.6728 10.9755 13.673C11.0958 13.6716 11.2129 13.6343 11.3119 13.5659C11.3988 13.5022 11.4663 13.4156 11.5068 13.3157C11.5473 13.2158 11.5592 13.1066 11.5412 13.0003L10.8227 8.87287L13.8266 5.95308C13.9033 5.87835 13.9577 5.7836 13.9833 5.67957C14.009 5.57554 14.005 5.4664 13.9718 5.36453Z","fill","currentColor"],["id","clip0_288_11823"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})();function jq(t,o){if(1&t){const e=wt();ne(0,"span",7),We("click",function(s){return Pe(e),Oe(X(3).clear(s))})("keydown.enter",function(s){return Pe(e),Oe(X(3).clear(s))}),re()}if(2&t){const e=X(3);H("ngClass",e.iconCancelClass)("ngStyle",e.iconCancelStyle),mt("tabindex",e.disabled||e.readonly?null:"0")}}function zq(t,o){if(1&t){const e=wt();ne(0,"BanIcon",8),We("click",function(s){return Pe(e),Oe(X(3).clear(s))})("keydown.enter",function(s){return Pe(e),Oe(X(3).clear(s))}),re()}if(2&t){const e=X(3);H("styleClass","p-rating-icon p-rating-cancel")("ngStyle",e.iconCancelStyle),mt("tabindex",e.disabled||e.readonly?null:"0")}}function Vq(t,o){if(1&t&&(vt(0),J(1,jq,1,3,"span",5),J(2,zq,1,3,"BanIcon",6),kt()),2&t){const e=X(2);G(1),H("ngIf",e.iconCancelClass),G(1),H("ngIf",!e.iconCancelClass)}}function Hq(t,o){if(1&t){const e=wt();ne(0,"span",11),We("click",function(s){Pe(e);const l=X(2).index;return Oe(X(2).rate(s,l))})("keydown.enter",function(s){Pe(e);const l=X(2).index;return Oe(X(2).rate(s,l))}),re()}if(2&t){const e=X(4);H("ngStyle",e.iconOffStyle)("ngClass",e.iconOffClass)}}function Yq(t,o){if(1&t){const e=wt();ne(0,"StarIcon",12),We("click",function(s){Pe(e);const l=X(2).index;return Oe(X(2).rate(s,l))})("keydown.enter",function(s){Pe(e);const l=X(2).index;return Oe(X(2).rate(s,l))}),re()}if(2&t){const e=X(4);H("ngStyle",e.iconOffStyle)("styleClass","p-rating-icon"),mt("tabindex",e.disabled||e.readonly?null:"0")}}function Uq(t,o){if(1&t&&(vt(0),J(1,Hq,1,2,"span",9),J(2,Yq,1,3,"StarIcon",10),kt()),2&t){const e=X(3);G(1),H("ngIf",e.iconOffClass),G(1),H("ngIf",!e.iconOffClass)}}function Wq(t,o){if(1&t){const e=wt();ne(0,"span",14),We("click",function(s){Pe(e);const l=X(2).index;return Oe(X(2).rate(s,l))})("keydown.enter",function(s){Pe(e);const l=X(2).index;return Oe(X(2).rate(s,l))}),re()}if(2&t){const e=X(4);H("ngStyle",e.iconOnStyle)("ngClass",e.iconOnClass)}}function $q(t,o){if(1&t){const e=wt();ne(0,"StarFillIcon",12),We("click",function(s){Pe(e);const l=X(2).index;return Oe(X(2).rate(s,l))})("keydown.enter",function(s){Pe(e);const l=X(2).index;return Oe(X(2).rate(s,l))}),re()}if(2&t){const e=X(4);H("ngStyle",e.iconOnStyle)("styleClass","p-rating-icon p-rating-icon-active"),mt("tabindex",e.disabled||e.readonly?null:"0")}}function qq(t,o){if(1&t&&(vt(0),J(1,Wq,1,2,"span",13),J(2,$q,1,3,"StarFillIcon",10),kt()),2&t){const e=X(3);G(1),H("ngIf",e.iconOnClass),G(1),H("ngIf",!e.iconOnClass)}}function Gq(t,o){if(1&t&&(ne(0,"span"),J(1,Uq,3,2,"ng-container",3),J(2,qq,3,2,"ng-container",3),re()),2&t){const e=o.index,i=X(2);G(1),H("ngIf",!i.value||e>=i.value),G(1),H("ngIf",i.value&&e<i.value)}}function Kq(t,o){if(1&t&&(vt(0),J(1,Vq,3,2,"ng-container",3),J(2,Gq,3,2,"span",4),kt()),2&t){const e=X();G(1),H("ngIf",e.cancel),G(1),H("ngForOf",e.starsArray)}}function Zq(t,o){1&t&&Et(0)}function Qq(t,o){if(1&t){const e=wt();ne(0,"span",17),We("click",function(s){return Pe(e),Oe(X(2).clear(s))})("keydown.enter",function(s){return Pe(e),Oe(X(2).clear(s))}),J(1,Zq,1,0,"ng-container",18),re()}if(2&t){const e=X(2);H("ngStyle",e.iconCancelStyle),mt("tabindex",e.disabled||e.readonly?null:"0"),G(1),H("ngTemplateOutlet",e.cancelIconTemplate)}}function Jq(t,o){1&t&&Et(0)}function Xq(t,o){if(1&t){const e=wt();ne(0,"span",19),We("click",function(s){const h=Pe(e).index;return Oe(X(2).rate(s,h))})("keydown.enter",function(s){const h=Pe(e).index;return Oe(X(2).rate(s,h))}),J(1,Jq,1,0,"ng-container",18),re()}if(2&t){const e=o.index,i=X(2);mt("tabindex",i.disabled||i.readonly?null:"0"),G(1),H("ngTemplateOutlet",i.getIconTemplate(e))}}function eG(t,o){if(1&t&&(J(0,Qq,2,3,"span",15),J(1,Xq,2,2,"span",16)),2&t){const e=X();H("ngIf",e.cancel),G(1),H("ngForOf",e.starsArray)}}const tG=function(t,o){return{"p-readonly":t,"p-disabled":o}},nG={provide:qi,useExisting:xt(()=>iG),multi:!0};let iG=(()=>{class t{constructor(e){this.cd=e,this.isCustomCancelIcon=!0,this.stars=5,this.cancel=!0,this.onRate=new Qe,this.onCancel=new Qe,this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngOnInit(){this.starsArray=[];for(let e=0;e<this.stars;e++)this.starsArray[e]=e}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"onicon":this.onIconTemplate=e.template;break;case"officon":this.offIconTemplate=e.template;break;case"cancelicon":this.cancelIconTemplate=e.template}})}ngAfterViewInit(){Gi.check()}getIconTemplate(e){return!this.value||e>=this.value?this.offIconTemplate:this.onIconTemplate}rate(e,i){!this.readonly&&!this.disabled&&(this.value=i+1,this.onModelChange(this.value),this.onModelTouched(),this.onRate.emit({originalEvent:e,value:i+1})),e.preventDefault()}clear(e){!this.readonly&&!this.disabled&&(this.value=null,this.onModelChange(this.value),this.onModelTouched(),this.onCancel.emit(e)),e.preventDefault()}writeValue(e){this.value=e,this.cd.detectChanges()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}get isCustomIcon(){return this.templates&&this.templates.length>0}}return t.\u0275fac=function(e){return new(e||t)(Ce(Mi))},t.\u0275cmp=Ct({type:t,selectors:[["p-rating"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},hostAttrs:[1,"p-element"],inputs:{isCustomCancelIcon:"isCustomCancelIcon",index:"index",disabled:"disabled",readonly:"readonly",stars:"stars",cancel:"cancel",iconOnClass:"iconOnClass",iconOnStyle:"iconOnStyle",iconOffClass:"iconOffClass",iconOffStyle:"iconOffStyle",iconCancelClass:"iconCancelClass",iconCancelStyle:"iconCancelStyle"},outputs:{onRate:"onRate",onCancel:"onCancel"},features:[Pt([nG])],decls:4,vars:6,consts:[[1,"p-rating",3,"ngClass"],[4,"ngIf","ngIfElse"],["customTemplate",""],[4,"ngIf"],[4,"ngFor","ngForOf"],["class","p-rating-icon p-rating-cancel",3,"ngClass","ngStyle","click","keydown.enter",4,"ngIf"],[3,"styleClass","ngStyle","click","keydown.enter",4,"ngIf"],[1,"p-rating-icon","p-rating-cancel",3,"ngClass","ngStyle","click","keydown.enter"],[3,"styleClass","ngStyle","click","keydown.enter"],["class","p-rating-icon",3,"ngStyle","ngClass","click","keydown.enter",4,"ngIf"],[3,"ngStyle","styleClass","click","keydown.enter",4,"ngIf"],[1,"p-rating-icon",3,"ngStyle","ngClass","click","keydown.enter"],[3,"ngStyle","styleClass","click","keydown.enter"],["class","p-rating-icon p-rating-icon-active",3,"ngStyle","ngClass","click","keydown.enter",4,"ngIf"],[1,"p-rating-icon","p-rating-icon-active",3,"ngStyle","ngClass","click","keydown.enter"],["class","p-rating-icon p-rating-cancel",3,"ngStyle","click","keydown.enter",4,"ngIf"],["class","p-rating-icon",3,"click","keydown.enter",4,"ngFor","ngForOf"],[1,"p-rating-icon","p-rating-cancel",3,"ngStyle","click","keydown.enter"],[4,"ngTemplateOutlet"],[1,"p-rating-icon",3,"click","keydown.enter"]],template:function(e,i){if(1&e&&(ne(0,"div",0),J(1,Kq,3,2,"ng-container",1),J(2,eG,2,2,"ng-template",null,2,Go),re()),2&e){const s=ii(3);H("ngClass",Xn(3,tG,i.readonly,i.disabled)),G(1),H("ngIf",!i.isCustomIcon)("ngIfElse",s)}},dependencies:function(){return[ao,Zr,Ei,Xi,Mo,g9,m9,f9]},styles:[".p-rating{display:inline-flex}.p-rating-icon{cursor:pointer}.p-rating.p-rating-readonly .p-rating-icon{cursor:default}\n"],encapsulation:2,changeDetection:0}),t})(),oG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,g9,m9,f9,Ki]}),t})(),rG=(()=>{class t{constructor(e){this.router=e}cadastro(e){this.router.navigate(["/cadastro",e])}consulta(){this.router.navigate(["/consulta"])}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(No))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["app-pesquisa"]],decls:52,vars:0,consts:[["id","about"],[1,"container","px-4"],[1,"row","gx-4","justify-content-center"],[1,"col-lg-8"],[1,"card","border-light","mb-3"],[1,"card-body"],[1,"lead"],["id","services",1,"container"],[1,"divPesquisa"],[1,"row"],[1,"col-sm-4"],[3,"click"],[1,"card","text-white","bg-danger","mb-3"],[1,"card-header"],[1,"card-text"],[1,"card","text-white","bg-info","mb-3"],[1,"card","text-white","bg-success","mb-3"],[1,"col-sm-12"],[1,"card","text-white","bg-secondary","mb-3"]],template:function(i,s){1&i&&(ne(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"p",6),ze(7,"Este formul\xe1rio foi elaborado pela Ouvidoria-Geral da Defensoria P\xfablica do Estado de S\xe3o Paulo para receber reclama\xe7\xf5es, sugest\xf5es ou elogios sobre a qualidade das informa\xe7\xf5es e dos servi\xe7os prestados pela Defensoria P\xfablica do Estado de S\xe3o Paulo."),re(),ne(8,"p",6),ze(9,"Coleta de Dados pessoais: A coleta dos dados pessoais e o tratamento promovido pela Ouvidoria-Geral est\xe3o de acordo com a Lei Geral de Prote\xe7\xe3o de Dados (Lei Federal n\xba 13.709/2018), respeitando seus direitos e em conformidade com nossa finalidade institucional, que \xe9 o processamento de manifesta\xe7\xf5es e a realiza\xe7\xe3o de pesquisas e relat\xf3rios visando o aprimoramento do atendimento."),re()()()(),Re(10,"hr"),re()()(),ne(11,"section",7)(12,"div",1)(13,"div",2)(14,"div",3)(15,"div",8)(16,"div",9)(17,"div",10)(18,"a",11),We("click",function(){return s.cadastro(1)}),ne(19,"div",12)(20,"div",13),ze(21,"Reclama\xe7\xe3o"),re(),ne(22,"div",5)(23,"p",14),ze(24,"Manifeste sua insatisfa\xe7\xe3o com o atendimento ou servi\xe7o."),re()()()()(),ne(25,"div",10)(26,"a",11),We("click",function(){return s.cadastro(2)}),ne(27,"div",15)(28,"div",13),ze(29,"Sugest\xf5es"),re(),ne(30,"div",5)(31,"p",14),ze(32,"Envie uma id\xe9ia ou proposta de melhoria em rela\xe7\xe3o ao atendimentoou presta\xe7\xe3o do servi\xe7o."),re()()()()(),ne(33,"div",10)(34,"a",11),We("click",function(){return s.cadastro(3)}),ne(35,"div",16)(36,"div",13),ze(37,"Elogios"),re(),ne(38,"div",5)(39,"p",14),ze(40,"Expresse sua satisfa\xe7\xe3o com o atendimento ou servi\xe7o da Defensoria."),re()()()()()(),ne(41,"div",9)(42,"div",17)(43,"a",11),We("click",function(){return s.consulta()}),ne(44,"div",18)(45,"div",13),ze(46,"Consulte sua manifesta\xe7\xe3o"),re()()()()()(),Re(47,"br")(48,"br")(49,"br")(50,"br"),re()()()(),Re(51,"section"))},styles:[".divPesquisa[_ngcontent-%COMP%]{cursor:pointer}"]})}return t})();class Cb{}class z5{constructor(){this.descricao=null,this.numeroProtocolo=null,this.protocoloAnterior=null,this.tipoUsuario=null,this.nomeSolicitante=null,this.tipoDocumento=null,this.numeroDocumento=null,this.cep=null,this.endereco=null,this.numero=null,this.complemento=null,this.uf=null,this.bairro=null,this.municipio=null,this.email=null,this.dddCelular=null,this.descricaoOque=null,this.senhaManifestante=null,this.identificado="",this.listaAnexoDto=[],this.evidencias=null,this.descricaoOutrosTipoUsuario=null,this.descricaoOutrosRelacaoSuspeito=null,this.descricaoOutrosTipoDenuncia=null,this.dataNascimento=null,this.nomeSocial=null,this.cidade=null,this.manterSigilo=null,this.dataNasci=null,this.codigoCategorias=[]}}const Ua_recaptcha_siteKey="6LenaVkpAAAAANVvOXWrnJ9Tag2ZUyY6Bxasfdtl",Ua_apiUrl="https://gcon-cloud.portalouvidoria.com.br/gcon";let zk=(()=>{class t{constructor(e){this.http=e,this.headers=new za,this.atendimentoUrl=`${Ua_apiUrl}/atendimentos`,this.assuntoUrl=`${Ua_apiUrl}/assuntos`,this.bairroUrl=`${Ua_apiUrl}/bairros`,this.tipoDocumentoUrl=`${Ua_apiUrl}/tipoDocumentos`,this.logotipoUrl=`${Ua_apiUrl}/logoTipo`,this.pesquisaSatisfacaoUrl=`${Ua_apiUrl}/pesquisaSatisfacao`,this.modeloDocumentoUrl=`${Ua_apiUrl}/modelosDoc`,this.encaminhamentoUrl=`${Ua_apiUrl}/encaminhamentos`,this.encaminhamentoRespostaUrl=`${Ua_apiUrl}/encaminhamentosResposta`,this.complementoAtendimentoUrl=`${Ua_apiUrl}/complemento-atendimento`,this.anexoUrl=`${Ua_apiUrl}/anexos`,this.carregaToken()}carregaToken(){this.headers=(new za).append("Content-Type","application/json").append("Authorization","Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZF91c3VhcmlvIjoxLCJ1c2VyX25hbWUiOiIwMDg5NjUzMzQzMyIsImlkX29yZ2FvIjoxLCJzY29wZSI6WyJyZWFkIiwid3JpdGUiXSwibm9tZSI6IkFkbWluaXN0cmFkb3IiLCJpZF9zZXRvciI6MSwiZXhwIjoxNzQ0NTk3ODY2LCJhdXRob3JpdGllcyI6WyJST0xFX0NPTkNMVUlSX0FURU5ESU1FTlRPIiwiUk9MRV9DT05TVUxUQVJfVElQT19NQU5JRkVTVEFOVEUiLCJST0xFX1JFTEFUT1JJT19NRURJQV9SRVNQT1NUQSIsIlJPTEVfUkVMQVRPUklPX1BFUklPRE8iLCJST0xFX0NPTkZJR1VSQUNBTyIsIlJPTEVfQ09OU1VMVEFSX0FURU5ESU1FTlRPIiwiUk9MRV9DT05TVUxUQVJfVElQT19ET0NVTUVOVE8iLCJST0xFX0NBREFTVFJBUl9BVEVORElNRU5UTyIsIlJPTEVfUkVMQVRPUklPX05BVFVSRVpBIiwiUk9MRV9DQURBU1RSQVJfUkVTUE9TVEFfUEFSQ0lBTCIsIlJPTEVfQ09OU1VMVEFSX01PVElWT19BUlFVSVZBTUVOVE8iLCJST0xFX0RFU0NSSUNBT19FTUFJTCIsIlJPTEVfUEFJTkVMX0lOVEVSQVRJVk8iLCJST0xFX1JFTEFUT1JJT19BUkVBIiwiUk9MRV9SRUxBVE9SSU9fVElQT19NQU5JRkVTVEFOVEUiLCJST0xFX0RBU0hCT0FSRCIsIlJPTEVfSU5ESUNBRE9SIiwiUk9MRV9QQUlORUxfQ09OVFJPTEUiLCJST0xFX0NBREFTVFJBUl9ERVNQQUNITyIsIlJPTEVfUkVMQVRPUklPX1VTVUFSSU8iLCJST0xFX0NPTlNVTFRBUl9PUklHRU1fTUFOSUZFU1RBQ0FPIiwiUk9MRV9SRUxBVE9SSU9TIiwiUk9MRV9DT05TVUxUQVJfTkFUVVJFWkEiLCJST0xFX0NPTlNVTFRBUl9NT0RFTE9fRE9DVU1FTlRPIiwiUk9MRV9ERVNQQUNIT19DT0JSQU5DQSIsIlJPTEVfQ09NUEFSQVRJVk9fUEVSSU9ETyIsIlJPTEVfUkVMQVRPUklPX1BSSU9SSVpBQ0FPIiwiUk9MRV9DQURBU1RSQVJfRU5DQU1JTkhBTUVOVE8iLCJST0xFX0NPTlNVTFRBUl9TRVRPUiIsIlJPTEVfREFTSEJPQVJEX0dFUkVOQ0lBTCIsIlJPTEVfUkVMQVRPUklPX1NFQ1JFVEFSSUEiLCJST0xFX0NPTlNVTFRBUl9GRVJJQURPIiwiUk9MRV9ERVNDUklDQU9fT1VWSURPUklBIiwiUk9MRV9JTkRJQ0FET1JfRUZJQ0lFTkNJQV9PVVZJRE9SSUEiLCJST0xFX1JFTEFUT1JJT19BUkVBX0FTU1VOVE8iLCJST0xFX0NPTlNVTFRBUl9BUkVBIiwiUk9MRV9DT05TVUxUQVJfQVNTVU5UTyIsIlJPTEVfUkVMQVRPUklPX0dFUkFMIiwiUk9MRV9DT05TVUxUQVJfVElQT19SRVNQT1NUQSIsIlJPTEVfUkVMQVRPUklPX0FTU1VOVE8iLCJST0xFX0FURU5ESU1FTlRPIiwiUk9MRV9FU1RBVElTVElDQV9TQVRJU0ZBQ0FPIiwiUk9MRV9QUk9EVVRJVklEQURFX0NBTExDRU5URVIiLCJST0xFX0NBTkNFTEFSX0FURU5ESU1FTlRPIiwiUk9MRV9SRUxBVE9SSU9fT1JJR0VNIl0sImp0aSI6IlpJWDM0SkwzSV8yc25yRHl2c3I2WUdydThURSIsImNsaWVudF9pZCI6ImFuZ3VsYXIifQ.hkAtOC7FEGkWB6HNEPB-EcNOu3v-0mkT990Ez1jUmrA")}download(e){return this.http.get(`${this.anexoUrl}/file/${e}`,{headers:this.headers,responseType:"blob"}).toPromise().then(i=>i)}cadastroSiteDefensoria(){let e=new Ro;return e=e.set("orgao",1),this.http.get(`${this.atendimentoUrl}/site/defensoria?`,{headers:this.headers,params:e}).toPromise().then(i=>i).then(i=>i)}enviarResposta(e){return new Ro,this.http.post(`${this.encaminhamentoRespostaUrl}/encaminhamentosRespostaSetor`,e,{headers:this.headers}).toPromise()}adicionar(e){return this.http.post(`${this.atendimentoUrl}/site`,e,{headers:this.headers}).toPromise()}salvarPesquisa(e){return this.http.post(`${this.pesquisaSatisfacaoUrl}`,e,{headers:this.headers}).toPromise()}adicionarComplemento(e){return this.http.post(`${this.complementoAtendimentoUrl}/portal`,e,{headers:this.headers}).toPromise()}uploadAnexo(){return`${this.atendimentoUrl}/anexo`}listarComplementoAtendimento(e){let i=new Ro;return i=i.set("atendimento",e),this.http.get(`${this.complementoAtendimentoUrl}/listar?`,{headers:this.headers,params:i}).toPromise().then(s=>s).then(s=>s)}listarTiposDocumentos(e){let i=new Ro;return i=i.set("orgao",e),this.http.get(`${this.tipoDocumentoUrl}/listar?`,{headers:this.headers,params:i}).toPromise().then(s=>s).then(s=>s.tipoDocumentoDtoList)}listarBairros(e){let i=new Ro;return i=i.set("orgao",e),this.http.get(`${this.bairroUrl}/listar?`,{headers:this.headers,params:i}).toPromise().then(s=>s).then(s=>s.bairroDtoList)}listarAssuntos(e){let i=new Ro;return i=i.set("orgao",e),i=i.set("area",51),this.http.get(`${this.assuntoUrl}/listar/assuntos?`,{headers:this.headers,params:i}).toPromise().then(s=>s).then(s=>s.assuntoDtoList)}consultaLogotipo(e){let i=new Ro;return i=i.set("orgao",e),this.http.get(`${this.logotipoUrl}/?`,{headers:this.headers,params:i}).toPromise().then(s=>s).then(s=>s.logoTipoDto.nome)}consulta(e){let i=new Ro;return i=i.set("orgao",e.orgao),i=i.set("numero",e.numero),i=i.set("senha",e.senha),i=i.set("token",e.token),this.http.get(`${this.atendimentoUrl}/consultaAtendimento`,{headers:this.headers,params:i}).toPromise().then(s=>s).then(s=>s)}consultaParametroPesquisaEmail(e){let i=new Ro;return i=i.set("parametro",e),this.http.get(`${this.atendimentoUrl}/pesquisa-satisfacao/`+e,{headers:this.headers}).toPromise().then(s=>s).then(s=>s.resumoAtendimentoDto)}listarModeloDocumento(e,i){let s=new Ro;return s=s.set("orgao",e),s=s.set("codigo",i),this.http.get(`${this.modeloDocumentoUrl}/modeloDocTiposSite?`,{headers:this.headers,params:s}).toPromise().then(l=>l).then(l=>l.modeloDocumentoDtoList)}consultaEncaminhamento(e){let i=new Ro;return i=i.set("parametro",e),this.http.get(`${this.encaminhamentoUrl}/resposta-setor/`+e,{headers:this.headers}).toPromise().then(s=>s).then(s=>s)}consultaAtendimento(e){let i=new Ro;return i=i.set("id",e),i=i.set("orgao",2),this.http.get(`${this.atendimentoUrl}/resposta-manifestacao/`+e,{headers:this.headers}).toPromise().then(s=>s).then(s=>s.atendimentoDto)}static#e=this.\u0275fac=function(i){return new(i||t)(st(Nk))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vk=(()=>{class t{constructor(e,i,s){this.messageService=e,this.routeStateService=i,this.router=s}handle(e){let i;"string"==typeof e?i=e:e instanceof P5&&e.status>=400&&e.status<=499?(i="Ocorreu um erro ao processar a sua solicita\xe7\xe3o",403===e.status&&(i="Voc\xea n\xe3o tem permiss\xe3o para executar esta a\xe7\xe3o"),404===e.status&&(i="Nenhum registro encontrado"),console.error("Ocorreu uma excess\xe3o ",e)):(i="Erro ao processar servi\xe7o remoto. Tente novamente.",console.error("Ocorreu uma excess\xe3o ao acessar servi\xe7o remoto",e)),this.messageService.add({severity:"error",detail:i})}static#e=this.\u0275fac=function(i){return new(i||t)(st(Nf),st(No),st(No))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const sG=["rb"],aG=function(t,o,e){return{"p-radiobutton-label":!0,"p-radiobutton-label-active":t,"p-disabled":o,"p-radiobutton-label-focus":e}};function lG(t,o){if(1&t){const e=wt();ne(0,"label",4),We("click",function(s){return Pe(e),Oe(X().select(s))}),ze(1),re()}if(2&t){const e=X(),i=ii(3);Mt(e.labelStyleClass),H("ngClass",Tr(5,aG,i.checked,e.disabled,e.focused)),mt("for",e.inputId),G(1),nn(e.label)}}const cG=function(t,o,e){return{"p-radiobutton p-component":!0,"p-radiobutton-checked":t,"p-radiobutton-disabled":o,"p-radiobutton-focused":e}},dG=function(t,o,e){return{"p-radiobutton-box":!0,"p-highlight":t,"p-disabled":o,"p-focus":e}},uG={provide:qi,useExisting:xt(()=>UT),multi:!0};let hG=(()=>{class t{constructor(){this.accessors=[]}add(e,i){this.accessors.push([e,i])}remove(e){this.accessors=this.accessors.filter(i=>i[1]!==e)}select(e){this.accessors.forEach(i=>{this.isSameGroup(i,e)&&i[1]!==e&&i[1].writeValue(e.value)})}isSameGroup(e,i){return!!e[0].control&&e[0].control.root===i.control.control.root&&e[1].name===i.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),UT=(()=>{class t{constructor(e,i,s){this.cd=e,this.injector=i,this.registry=s,this.onClick=new Qe,this.onFocus=new Qe,this.onBlur=new Qe,this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngOnInit(){this.control=this.injector.get(rc),this.checkName(),this.registry.add(this.control,this)}ngAfterViewInit(){Gi.check()}handleClick(e,i,s){e.preventDefault(),!this.disabled&&(this.select(e),s&&i.focus())}select(e){this.disabled||(this.inputViewChild.nativeElement.checked=!0,this.checked=!0,this.onModelChange(this.value),this.registry.select(this),this.onClick.emit({originalEvent:e,value:this.value}))}writeValue(e){this.checked=e==this.value,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.checked=this.checked),this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onInputFocus(e){this.focused=!0,this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onModelTouched(),this.onBlur.emit(e)}onChange(e){this.select(e)}focus(){this.inputViewChild.nativeElement.focus()}ngOnDestroy(){this.registry.remove(this)}checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this.throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}throwNameError(){throw new Error('\n          If you define both a name and a formControlName attribute on your radio button, their values\n          must match. Ex: <p-radioButton formControlName="food" name="food"></p-radioButton>\n        ')}}return t.\u0275fac=function(e){return new(e||t)(Ce(Mi),Ce(nr),Ce(hG))},t.\u0275cmp=Ct({type:t,selectors:[["p-radioButton"]],viewQuery:function(e,i){if(1&e&&Pn(sG,5),2&e){let s;zt(s=jt())&&(i.inputViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",formControlName:"formControlName",name:"name",disabled:"disabled",label:"label",tabindex:"tabindex",inputId:"inputId",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},features:[Pt([uG])],decls:7,vars:23,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","radio",3,"checked","disabled","change","focus","blur"],["rb",""],[3,"ngClass","click"],[1,"p-radiobutton-icon"],[3,"class","ngClass","click",4,"ngIf"]],template:function(e,i){if(1&e){const s=wt();ne(0,"div",0)(1,"div",1)(2,"input",2,3),We("change",function(h){return i.onChange(h)})("focus",function(h){return i.onInputFocus(h)})("blur",function(h){return i.onInputBlur(h)}),re()(),ne(4,"div",4),We("click",function(h){Pe(s);const m=ii(3);return Oe(i.handleClick(h,m,!0))}),Re(5,"span",5),re()(),J(6,lG,2,9,"label",6)}2&e&&(Mt(i.styleClass),H("ngStyle",i.style)("ngClass",Tr(15,cG,i.checked,i.disabled,i.focused)),G(2),H("checked",i.checked)("disabled",i.disabled),mt("id",i.inputId)("name",i.name)("value",i.value)("tabindex",i.tabindex)("aria-checked",i.checked)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledBy),G(2),H("ngClass",Tr(19,dG,i.checked,i.disabled,i.focused)),G(2),H("ngIf",i.label))},dependencies:[ao,Ei,Mo],encapsulation:2,changeDetection:0}),t})(),pG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi]}),t})(),Ff=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["CheckIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})();const fG=["cb"];function mG(t,o){1&t&&Re(0,"span",10),2&t&&H("ngClass",X(3).checkboxIcon)}function gG(t,o){1&t&&Re(0,"CheckIcon",11),2&t&&H("styleClass","p-checkbox-icon")}function _G(t,o){if(1&t&&(vt(0),J(1,mG,1,1,"span",8),J(2,gG,1,1,"CheckIcon",9),kt()),2&t){const e=X(2);G(1),H("ngIf",e.checkboxIcon),G(1),H("ngIf",!e.checkboxIcon)}}function bG(t,o){}function vG(t,o){1&t&&J(0,bG,0,0,"ng-template")}function yG(t,o){if(1&t&&(ne(0,"span",12),J(1,vG,1,0,null,13),re()),2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.checkboxIconTemplate)}}function kG(t,o){if(1&t&&(vt(0),J(1,_G,3,2,"ng-container",5),J(2,yG,2,1,"span",7),kt()),2&t){const e=X();G(1),H("ngIf",!e.checkboxIconTemplate),G(1),H("ngIf",e.checkboxIconTemplate)}}const wG=function(t,o,e){return{"p-checkbox-label":!0,"p-checkbox-label-active":t,"p-disabled":o,"p-checkbox-label-focus":e}};function CG(t,o){if(1&t){const e=wt();ne(0,"label",14),We("click",function(s){Pe(e);const l=X(),h=ii(3);return Oe(l.onClick(s,h,!0))}),ze(1),re()}if(2&t){const e=X();Mt(e.labelStyleClass),H("ngClass",Tr(5,wG,e.checked(),e.disabled,e.focused)),mt("for",e.inputId),G(1),nn(e.label)}}const AG=function(t,o,e){return{"p-checkbox p-component":!0,"p-checkbox-checked":t,"p-checkbox-disabled":o,"p-checkbox-focused":e}},MG=function(t,o,e){return{"p-highlight":t,"p-disabled":o,"p-focus":e}},DG={provide:qi,useExisting:xt(()=>_9),multi:!0};let _9=(()=>{class t{constructor(e){this.cd=e,this.trueValue=!0,this.falseValue=!1,this.onChange=new Qe,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.focused=!1}ngAfterContentInit(){this.templates.forEach(e=>{"icon"===e.getType()&&(this.checkboxIconTemplate=e.template)})}ngAfterViewInit(){Gi.check()}onClick(e,i,s){e.preventDefault(),!this.disabled&&!this.readonly&&(this.updateModel(e),s&&i.focus())}updateModel(e){let i;this.binary?(i=this.checked()?this.falseValue:this.trueValue,this.model=i,this.onModelChange(i)):(i=this.checked()?this.model.filter(s=>!St.equals(s,this.value)):this.model?[...this.model,this.value]:[this.value],this.onModelChange(i),this.model=i,this.formControl&&this.formControl.setValue(i)),this.onChange.emit({checked:i,originalEvent:e})}handleChange(e){this.readonly||this.updateModel(e)}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}focus(){this.inputViewChild.nativeElement.focus()}writeValue(e){this.model=e,this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}checked(){return this.binary?this.model===this.trueValue:St.contains(this.value,this.model)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Mi))},t.\u0275cmp=Ct({type:t,selectors:[["p-checkbox"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},viewQuery:function(e,i){if(1&e&&Pn(fG,5),2&e){let s;zt(s=jt())&&(i.inputViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{value:"value",name:"name",disabled:"disabled",binary:"binary",label:"label",ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",labelStyleClass:"labelStyleClass",formControl:"formControl",checkboxIcon:"checkboxIcon",readonly:"readonly",required:"required",trueValue:"trueValue",falseValue:"falseValue"},outputs:{onChange:"onChange"},features:[Pt([DG])],decls:7,vars:26,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","checkbox",3,"readonly","value","checked","disabled","focus","blur","change"],["cb",""],[1,"p-checkbox-box",3,"ngClass","click"],[4,"ngIf"],[3,"class","ngClass","click",4,"ngIf"],["class","p-checkbox-icon",4,"ngIf"],["class","p-checkbox-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-checkbox-icon",3,"ngClass"],[3,"styleClass"],[1,"p-checkbox-icon"],[4,"ngTemplateOutlet"],[3,"ngClass","click"]],template:function(e,i){if(1&e){const s=wt();ne(0,"div",0)(1,"div",1)(2,"input",2,3),We("focus",function(){return i.onFocus()})("blur",function(){return i.onBlur()})("change",function(h){return i.handleChange(h)}),re()(),ne(4,"div",4),We("click",function(h){Pe(s);const m=ii(3);return Oe(i.onClick(h,m,!0))}),J(5,kG,3,2,"ng-container",5),re()(),J(6,CG,2,9,"label",6)}2&e&&(Mt(i.styleClass),H("ngStyle",i.style)("ngClass",Tr(18,AG,i.checked(),i.disabled,i.focused)),G(2),H("readonly",i.readonly)("value",i.value)("checked",i.checked())("disabled",i.disabled),mt("id",i.inputId)("name",i.name)("tabindex",i.tabindex)("aria-labelledby",i.ariaLabelledBy)("aria-label",i.ariaLabel)("aria-checked",i.checked())("required",i.required),G(2),H("ngClass",Tr(22,MG,i.checked(),i.disabled,i.focused)),G(1),H("ngIf",i.checked()),G(1),H("ngIf",i.label))},dependencies:function(){return[ao,Ei,Xi,Mo,Ff]},styles:[".p-checkbox{display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:bottom;position:relative}.p-checkbox-disabled{cursor:default!important;pointer-events:none}.p-checkbox-box{display:flex;justify-content:center;align-items:center}p-checkbox{display:inline-flex;vertical-align:bottom;align-items:center}.p-checkbox-label{line-height:1}\n"],encapsulation:2,changeDetection:0}),t})(),TG=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,Ff,Ki]}),t})(),Le=(()=>{class t{static addClass(e,i){e&&i&&(e.classList?e.classList.add(i):e.className+=" "+i)}static addMultipleClasses(e,i){if(e&&i)if(e.classList){let s=i.trim().split(" ");for(let l=0;l<s.length;l++)e.classList.add(s[l])}else{let s=i.split(" ");for(let l=0;l<s.length;l++)e.className+=" "+s[l]}}static removeClass(e,i){e&&i&&(e.classList?e.classList.remove(i):e.className=e.className.replace(new RegExp("(^|\\b)"+i.split(" ").join("|")+"(\\b|$)","gi")," "))}static hasClass(e,i){return!(!e||!i)&&(e.classList?e.classList.contains(i):new RegExp("(^| )"+i+"( |$)","gi").test(e.className))}static siblings(e){return Array.prototype.filter.call(e.parentNode.children,function(i){return i!==e})}static find(e,i){return Array.from(e.querySelectorAll(i))}static findSingle(e,i){return e?e.querySelector(i):null}static index(e){let i=e.parentNode.childNodes,s=0;for(var l=0;l<i.length;l++){if(i[l]==e)return s;1==i[l].nodeType&&s++}return-1}static indexWithinGroup(e,i){let s=e.parentNode?e.parentNode.childNodes:[],l=0;for(var h=0;h<s.length;h++){if(s[h]==e)return l;s[h].attributes&&s[h].attributes[i]&&1==s[h].nodeType&&l++}return-1}static appendOverlay(e,i,s="self"){"self"!==s&&e&&i&&this.appendChild(e,i)}static alignOverlay(e,i,s="self",l=!0){e&&i&&(l&&(e.style.minWidth=`${t.getOuterWidth(i)}px`),"self"===s?this.relativePosition(e,i):this.absolutePosition(e,i))}static relativePosition(e,i){const s=we=>{if(we)return"relative"===getComputedStyle(we).getPropertyValue("position")?we:s(we.parentElement)},l=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),h=i.offsetHeight,m=i.getBoundingClientRect(),_=this.getWindowScrollTop(),w=this.getWindowScrollLeft(),N=this.getViewport(),oe=s(e)?.getBoundingClientRect()||{top:-1*_,left:-1*w};let le,ve;m.top+h+l.height>N.height?(le=m.top-oe.top-l.height,e.style.transformOrigin="bottom",m.top+le<0&&(le=-1*m.top)):(le=h+m.top-oe.top,e.style.transformOrigin="top"),ve=l.width>N.width?-1*(m.left-oe.left):m.left-oe.left+l.width>N.width?-1*(m.left-oe.left+l.width-N.width):m.left-oe.left,e.style.top=le+"px",e.style.left=ve+"px"}static absolutePosition(e,i){const s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),l=s.height,h=s.width,m=i.offsetHeight,_=i.offsetWidth,w=i.getBoundingClientRect(),N=this.getWindowScrollTop(),$=this.getWindowScrollLeft(),oe=this.getViewport();let le,ve;w.top+m+l>oe.height?(le=w.top+N-l,e.style.transformOrigin="bottom",le<0&&(le=N)):(le=m+w.top+N,e.style.transformOrigin="top"),ve=w.left+h>oe.width?Math.max(0,w.left+$+_-h):w.left+$,e.style.top=le+"px",e.style.left=ve+"px"}static getParents(e,i=[]){return null===e.parentNode?i:this.getParents(e.parentNode,i.concat([e.parentNode]))}static getScrollableParents(e){let i=[];if(e){let s=this.getParents(e);const l=/(auto|scroll)/,h=m=>{let _=window.getComputedStyle(m,null);return l.test(_.getPropertyValue("overflow"))||l.test(_.getPropertyValue("overflowX"))||l.test(_.getPropertyValue("overflowY"))};for(let m of s){let _=1===m.nodeType&&m.dataset.scrollselectors;if(_){let w=_.split(",");for(let N of w){let $=this.findSingle(m,N);$&&h($)&&i.push($)}}9!==m.nodeType&&h(m)&&i.push(m)}}return i}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementDimensions(e){let i={};return e.style.visibility="hidden",e.style.display="block",i.width=e.offsetWidth,i.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",i}static scrollInView(e,i){let s=getComputedStyle(e).getPropertyValue("borderTopWidth"),l=s?parseFloat(s):0,h=getComputedStyle(e).getPropertyValue("paddingTop"),m=h?parseFloat(h):0,_=e.getBoundingClientRect(),N=i.getBoundingClientRect().top+document.body.scrollTop-(_.top+document.body.scrollTop)-l-m,$=e.scrollTop,oe=e.clientHeight,le=this.getOuterHeight(i);N<0?e.scrollTop=$+N:N+le>oe&&(e.scrollTop=$+N-oe+le)}static fadeIn(e,i){e.style.opacity=0;let s=+new Date,l=0,h=function(){l=+e.style.opacity.replace(",",".")+((new Date).getTime()-s)/i,e.style.opacity=l,s=+new Date,+l<1&&(window.requestAnimationFrame&&requestAnimationFrame(h)||setTimeout(h,16))};h()}static fadeOut(e,i){var s=1,m=50/i;let _=setInterval(()=>{(s-=m)<=0&&(s=0,clearInterval(_)),e.style.opacity=s},50)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,i){var s=Element.prototype;return(s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.msMatchesSelector||function(h){return-1!==[].indexOf.call(document.querySelectorAll(h),this)}).call(e,i)}static getOuterWidth(e,i){let s=e.offsetWidth;if(i){let l=getComputedStyle(e);s+=parseFloat(l.marginLeft)+parseFloat(l.marginRight)}return s}static getHorizontalPadding(e){let i=getComputedStyle(e);return parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)}static getHorizontalMargin(e){let i=getComputedStyle(e);return parseFloat(i.marginLeft)+parseFloat(i.marginRight)}static innerWidth(e){let i=e.offsetWidth,s=getComputedStyle(e);return i+=parseFloat(s.paddingLeft)+parseFloat(s.paddingRight),i}static width(e){let i=e.offsetWidth,s=getComputedStyle(e);return i-=parseFloat(s.paddingLeft)+parseFloat(s.paddingRight),i}static getInnerHeight(e){let i=e.offsetHeight,s=getComputedStyle(e);return i+=parseFloat(s.paddingTop)+parseFloat(s.paddingBottom),i}static getOuterHeight(e,i){let s=e.offsetHeight;if(i){let l=getComputedStyle(e);s+=parseFloat(l.marginTop)+parseFloat(l.marginBottom)}return s}static getHeight(e){let i=e.offsetHeight,s=getComputedStyle(e);return i-=parseFloat(s.paddingTop)+parseFloat(s.paddingBottom)+parseFloat(s.borderTopWidth)+parseFloat(s.borderBottomWidth),i}static getWidth(e){let i=e.offsetWidth,s=getComputedStyle(e);return i-=parseFloat(s.paddingLeft)+parseFloat(s.paddingRight)+parseFloat(s.borderLeftWidth)+parseFloat(s.borderRightWidth),i}static getViewport(){let e=window,i=document,s=i.documentElement,l=i.getElementsByTagName("body")[0];return{width:e.innerWidth||s.clientWidth||l.clientWidth,height:e.innerHeight||s.clientHeight||l.clientHeight}}static getOffset(e){var i=e.getBoundingClientRect();return{top:i.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:i.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,i){let s=e.parentNode;if(!s)throw"Can't replace element";return s.replaceChild(i,e)}static getUserAgent(){if(navigator&&this.isClient())return navigator.userAgent}static isIE(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||(e.indexOf("Trident/")>0?(e.indexOf("rv:"),!0):e.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,i){if(this.isElement(i))i.appendChild(e);else{if(!i.el||!i.el.nativeElement)throw"Cannot append "+i+" to "+e;i.el.nativeElement.appendChild(e)}}static removeChild(e,i){if(this.isElement(i))i.removeChild(e);else{if(!i.el||!i.el.nativeElement)throw"Cannot remove "+e+" from "+i;i.el.nativeElement.removeChild(e)}}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode.removeChild(e)}static isElement(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}static calculateScrollbarWidth(e){if(e){let i=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);let s=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=s,s}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let i=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=i,i}static invokeElementMethod(e,i,s){e[i].apply(e,s)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),i=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:i[1]||"",version:i[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return!e||null===e.offsetParent}static isVisible(e){return e&&null!=e.offsetParent}static isExist(e){return null!==e&&typeof e<"u"&&e.nodeName&&e.parentNode}static focus(e,i){e&&document.activeElement!==e&&e.focus(i)}static getFocusableElements(e){let i=t.find(e,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                [href]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n                [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]):not(.p-disabled)'),s=[];for(let l of i)(l.offsetWidth||l.offsetHeight||l.getClientRects().length)&&s.push(l);return s}static getNextFocusableElement(e,i=!1){const s=t.getFocusableElements(e);let l=0;if(s&&s.length>0){const h=s.indexOf(s[0].ownerDocument.activeElement);i?l=-1==h||0===h?s.length-1:h-1:-1!=h&&h!==s.length-1&&(l=h+1)}return s[l]}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}static getSelection(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null}static getTargetElement(e,i){if(!e)return null;switch(e){case"document":return document;case"window":return window;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@parent":return i?.parentElement;case"@grandparent":return i?.parentElement.parentElement;default:const s=typeof e;if("string"===s)return document.querySelector(e);if("object"===s&&e.hasOwnProperty("nativeElement"))return this.isExist(e.nativeElement)?e.nativeElement:void 0;const h=(m=e)&&m.constructor&&m.call&&m.apply?e():e;return h&&9===h.nodeType||this.isExist(h)?h:null}var m}static isClient(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}}return t.zindex=1e3,t.calculatedScrollbarWidth=null,t.calculatedScrollbarHeight=null,t})();class V5{constructor(o,e=(()=>{})){this.element=o,this.listener=e}bindScrollListener(){this.scrollableParents=Le.getScrollableParents(this.element);for(let o=0;o<this.scrollableParents.length;o++)this.scrollableParents[o].addEventListener("scroll",this.listener)}unbindScrollListener(){if(this.scrollableParents)for(let o=0;o<this.scrollableParents.length;o++)this.scrollableParents[o].removeEventListener("scroll",this.listener)}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null}}let b9=(()=>{class t{constructor(e){this.host=e,this.focused=!1}ngAfterContentChecked(){if(!this.focused&&this.autofocus){const e=Le.getFocusableElements(this.host.nativeElement);0===e.length&&this.host.nativeElement.focus(),e.length>0&&e[0].focus(),this.focused=!0}}ngAfterViewInit(){Gi.check()}}return t.\u0275fac=function(e){return new(e||t)(Ce(An))},t.\u0275dir=Xe({type:t,selectors:[["","pAutoFocus",""]],hostAttrs:[1,"p-element"],inputs:{autofocus:"autofocus"}}),t})(),v9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi]}),t})(),y9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["SearchIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_238_9909)"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],["id","clip0_238_9909"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),Jr=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["TimesIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})();const xG=["overlay"],EG=["content"];function SG(t,o){1&t&&Et(0)}const IG=function(t,o,e){return{showTransitionParams:t,hideTransitionParams:o,transform:e}},LG=function(t){return{value:"visible",params:t}},OG=function(t){return{mode:t}},PG=function(t){return{$implicit:t}};function NG(t,o){if(1&t){const e=wt();ne(0,"div",1,3),We("click",function(s){return Pe(e),Oe(X(2).onOverlayContentClick(s))})("@overlayContentAnimation.start",function(s){return Pe(e),Oe(X(2).onOverlayContentAnimationStart(s))})("@overlayContentAnimation.done",function(s){return Pe(e),Oe(X(2).onOverlayContentAnimationDone(s))}),or(2),J(3,SG,1,0,"ng-container",4),re()}if(2&t){const e=X(2);Mt(e.contentStyleClass),H("ngStyle",e.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",gn(11,LG,Tr(7,IG,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),G(3),H("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",gn(15,PG,gn(13,OG,e.overlayMode)))}}const RG=function(t,o,e,i,s,l,h,m,_,w,N,$,oe,le){return{"p-overlay p-component":!0,"p-overlay-modal p-component-overlay p-component-overlay-enter":t,"p-overlay-center":o,"p-overlay-top":e,"p-overlay-top-start":i,"p-overlay-top-end":s,"p-overlay-bottom":l,"p-overlay-bottom-start":h,"p-overlay-bottom-end":m,"p-overlay-left":_,"p-overlay-left-start":w,"p-overlay-left-end":N,"p-overlay-right":$,"p-overlay-right-start":oe,"p-overlay-right-end":le}};function FG(t,o){if(1&t){const e=wt();ne(0,"div",1,2),We("click",function(s){return Pe(e),Oe(X().onOverlayClick(s))}),J(2,NG,4,17,"div",0),re()}if(2&t){const e=X();Mt(e.styleClass),H("ngStyle",e.style)("ngClass",b1(5,RG,[e.modal,e.modal&&"center"===e.overlayResponsiveDirection,e.modal&&"top"===e.overlayResponsiveDirection,e.modal&&"top-start"===e.overlayResponsiveDirection,e.modal&&"top-end"===e.overlayResponsiveDirection,e.modal&&"bottom"===e.overlayResponsiveDirection,e.modal&&"bottom-start"===e.overlayResponsiveDirection,e.modal&&"bottom-end"===e.overlayResponsiveDirection,e.modal&&"left"===e.overlayResponsiveDirection,e.modal&&"left-start"===e.overlayResponsiveDirection,e.modal&&"left-end"===e.overlayResponsiveDirection,e.modal&&"right"===e.overlayResponsiveDirection,e.modal&&"right-start"===e.overlayResponsiveDirection,e.modal&&"right-end"===e.overlayResponsiveDirection])),G(2),H("ngIf",e.visible)}}const BG=["*"],jG={provide:qi,useExisting:xt(()=>k9),multi:!0},zG=jT([Fo({transform:"{{transform}}",opacity:0}),Va("{{showTransitionParams}}")]),VG=jT([Va("{{hideTransitionParams}}",Fo({transform:"{{transform}}",opacity:0}))]);let k9=(()=>{class t{constructor(e,i,s,l,h,m,_,w){this.document=e,this.platformId=i,this.el=s,this.renderer=l,this.config=h,this.overlayService=m,this.cd=_,this.zone=w,this.visibleChange=new Qe,this.onBeforeShow=new Qe,this.onShow=new Qe,this.onBeforeHide=new Qe,this.onHide=new Qe,this.onAnimationStart=new Qe,this.onAnimationDone=new Qe,this._visible=!1,this.modalVisible=!1,this.isOverlayClicked=!1,this.isOverlayContentClicked=!1,this.transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"},this.window=this.document.defaultView}get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(e){this._mode=e}get style(){return St.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(e){this._style=e}get styleClass(){return St.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(e){this._styleClass=e}get contentStyle(){return St.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(e){this._contentStyle=e}get contentStyleClass(){return St.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(e){this._contentStyleClass=e}get target(){const e=this._target||this.overlayOptions?.target;return void 0===e?"@prev":e}set target(e){this._target=e}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(e){this._appendTo=e}get autoZIndex(){const e=this._autoZIndex||this.overlayOptions?.autoZIndex;return void 0===e||e}set autoZIndex(e){this._autoZIndex=e}get baseZIndex(){const e=this._baseZIndex||this.overlayOptions?.baseZIndex;return void 0===e?0:e}set baseZIndex(e){this._baseZIndex=e}get showTransitionOptions(){const e=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return void 0===e?".12s cubic-bezier(0, 0, 0.2, 1)":e}set showTransitionOptions(e){this._showTransitionOptions=e}get hideTransitionOptions(){const e=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return void 0===e?".1s linear":e}set hideTransitionOptions(e){this._hideTransitionOptions=e}get listener(){return this._listener||this.overlayOptions?.listener}set listener(e){this._listener=e}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(e){this._responsive=e}get options(){return this._options}set options(e){this._options=e}get modal(){if(Bs(this.platformId))return"modal"===this.mode||this.overlayResponsiveOptions&&this.window?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return{...this.config?.overlayOptions,...this.options}}get overlayResponsiveOptions(){return{...this.overlayOptions?.responsive,...this.responsive}}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return Le.getTargetElement(this.target,this.el?.nativeElement)}ngAfterContentInit(){this.templates?.forEach(e=>{e.getType(),this.contentTemplate=e.template})}show(e,i=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&Le.focus(this.targetEl),this.modal&&Le.addClass(this.document?.body,"p-overflow-hidden")}hide(e,i=!1){this.visible&&(this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&Le.focus(this.targetEl),this.modal&&Le.removeClass(this.document?.body,"p-overflow-hidden"))}alignOverlay(){!this.modal&&Le.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(e){this._visible=e,this.visibleChange.emit(e)}onOverlayClick(e){this.isOverlayClicked=!0}onOverlayContentClick(e){this.overlayService.add({originalEvent:e,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(e){switch(e.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&Ya.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),Le.appendOverlay(this.overlayEl,"body"===this.appendTo?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&Le.addClass(this.overlayEl,"p-component-overlay-leave")}this.handleEvents("onAnimationStart",e)}onOverlayContentAnimationDone(e){const i=this.overlayEl||e.element.parentElement;switch(e.toState){case"visible":this.show(i,!0),this.bindListeners();break;case"void":this.hide(i,!0),this.unbindListeners(),Le.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),Ya.clear(i),this.modalVisible=!1,this.cd.markForCheck()}this.handleEvents("onAnimationDone",e)}handleEvents(e,i){this[e].emit(i),this.options&&this.options[e]&&this.options[e](i),this.config?.overlayOptions&&(this.config?.overlayOptions)[e]&&(this.config?.overlayOptions)[e](i)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new V5(this.targetEl,e=>{(!this.listener||this.listener(e,{type:"scroll",mode:this.overlayMode,valid:!0}))&&this.hide(e,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",e=>{const s=!(this.targetEl&&(this.targetEl.isSameNode(e.target)||!this.isOverlayClicked&&this.targetEl.contains(e.target))||this.isOverlayContentClicked);(this.listener?this.listener(e,{type:"outside",mode:this.overlayMode,valid:3!==e.which&&s}):s)&&this.hide(e),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.window,"resize",e=>{(this.listener?this.listener(e,{type:"resize",mode:this.overlayMode,valid:!Le.isTouchDevice()}):!Le.isTouchDevice())&&this.hide(e,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.window,"keydown",e=>{this.overlayOptions.hideOnEscape&&27===e.keyCode&&(this.listener?this.listener(e,{type:"keydown",mode:this.overlayMode,valid:!Le.isTouchDevice()}):!Le.isTouchDevice())&&this.zone.run(()=>{this.hide(e,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(Le.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),Ya.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hn),Ce(ko),Ce(An),Ce(Lo),Ce(Rf),Ce(B5),Ce(Mi),Ce(yn))},t.\u0275cmp=Ct({type:t,selectors:[["p-overlay"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},viewQuery:function(e,i){if(1&e&&(Pn(xG,5),Pn(EG,5)),2&e){let s;zt(s=jt())&&(i.overlayViewChild=s.first),zt(s=jt())&&(i.contentViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[Pt([jG])],ngContentSelectors:BG,decls:1,vars:1,consts:[[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"ngStyle","ngClass","click"],["overlay",""],["content",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(ms(),J(0,FG,3,20,"div",0)),2&e&&H("ngIf",i.modalVisible)},dependencies:[ao,Ei,Xi,Mo],styles:[".p-overlay{position:absolute;top:0;left:0}.p-overlay-modal{display:flex;align-items:center;justify-content:center;position:fixed;top:0;left:0;width:100%;height:100%}.p-overlay-content{transform-origin:inherit}.p-overlay-modal>.p-overlay-content{z-index:1;width:90%}.p-overlay-top{align-items:flex-start}.p-overlay-top-start{align-items:flex-start;justify-content:flex-start}.p-overlay-top-end{align-items:flex-start;justify-content:flex-end}.p-overlay-bottom{align-items:flex-end}.p-overlay-bottom-start{align-items:flex-end;justify-content:flex-start}.p-overlay-bottom-end{align-items:flex-end;justify-content:flex-end}.p-overlay-left{justify-content:flex-start}.p-overlay-left-start{justify-content:flex-start;align-items:flex-start}.p-overlay-left-end{justify-content:flex-start;align-items:flex-end}.p-overlay-right{justify-content:flex-end}.p-overlay-right-start{justify-content:flex-end;align-items:flex-start}.p-overlay-right-end{justify-content:flex-end;align-items:flex-end}\n"],encapsulation:2,data:{animation:[kb("overlayContentAnimation",[Ha(":enter",[zT(zG)]),Ha(":leave",[zT(VG)])])]},changeDetection:0}),t})(),w9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,Ki,Ki]}),t})(),rh=(()=>{class t{constructor(e,i,s,l,h,m){this.document=e,this.platformId=i,this.renderer=s,this.el=l,this.zone=h,this.config=m}ngAfterViewInit(){Bs(this.platformId)&&this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}),Gi.check()}onMouseDown(e){let i=this.getInk();if(!i||"none"===this.document.defaultView.getComputedStyle(i,null).display)return;if(Le.removeClass(i,"p-ink-active"),!Le.getHeight(i)&&!Le.getWidth(i)){let m=Math.max(Le.getOuterWidth(this.el.nativeElement),Le.getOuterHeight(this.el.nativeElement));i.style.height=m+"px",i.style.width=m+"px"}let s=Le.getOffset(this.el.nativeElement),l=e.pageX-s.left+this.document.body.scrollTop-Le.getWidth(i)/2,h=e.pageY-s.top+this.document.body.scrollLeft-Le.getHeight(i)/2;this.renderer.setStyle(i,"top",h+"px"),this.renderer.setStyle(i,"left",l+"px"),Le.addClass(i,"p-ink-active"),this.timeout=setTimeout(()=>{let m=this.getInk();m&&Le.removeClass(m,"p-ink-active")},401)}getInk(){const e=this.el.nativeElement.children;for(let i=0;i<e.length;i++)if("string"==typeof e[i].className&&-1!==e[i].className.indexOf("p-ink"))return e[i];return null}resetInk(){let e=this.getInk();e&&Le.removeClass(e,"p-ink-active")}onAnimationEnd(e){this.timeout&&clearTimeout(this.timeout),Le.removeClass(e.currentTarget,"p-ink-active")}create(){let e=this.renderer.createElement("span");this.renderer.addClass(e,"p-ink"),this.renderer.appendChild(this.el.nativeElement,e),this.animationListener||(this.animationListener=this.renderer.listen(e,"animationend",this.onAnimationEnd.bind(this)))}remove(){let e=this.getInk();e&&(this.mouseDownListener(),this.animationListener(),this.mouseDownListener=null,this.animationListener=null,Le.removeElement(e))}ngOnDestroy(){this.config&&this.config.ripple&&this.remove()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hn),Ce(ko),Ce(Lo),Ce(An),Ce(yn),Ce(Rf,8))},t.\u0275dir=Xe({type:t,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple","p-element"]}),t})(),sh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi]}),t})(),Ab=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["SpinnerIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_417_21408)"],["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],["id","clip0_417_21408"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})();const HG=["element"],YG=["content"];function UG(t,o){1&t&&Et(0)}const H5=function(t,o){return{$implicit:t,options:o}};function WG(t,o){if(1&t&&(vt(0),J(1,UG,1,0,"ng-container",7),kt()),2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",Xn(2,H5,e.loadedItems,e.getContentOptions()))}}function $G(t,o){1&t&&Et(0)}function qG(t,o){if(1&t&&(vt(0),J(1,$G,1,0,"ng-container",7),kt()),2&t){const e=o.$implicit,i=o.index,s=X(3);G(1),H("ngTemplateOutlet",s.itemTemplate)("ngTemplateOutletContext",Xn(2,H5,e,s.getOptions(i)))}}const GG=function(t){return{"p-scroller-loading":t}};function KG(t,o){if(1&t&&(ne(0,"div",8,9),J(2,qG,2,5,"ng-container",10),re()),2&t){const e=X(2);H("ngClass",gn(4,GG,e.d_loading))("ngStyle",e.contentStyle),G(2),H("ngForOf",e.loadedItems)("ngForTrackBy",e._trackBy||e.index)}}function ZG(t,o){1&t&&Re(0,"div",11),2&t&&H("ngStyle",X(2).spacerStyle)}function QG(t,o){1&t&&Et(0)}const JG=function(t){return{numCols:t}},C9=function(t){return{options:t}};function XG(t,o){if(1&t&&(vt(0),J(1,QG,1,0,"ng-container",7),kt()),2&t){const e=o.index,i=X(4);G(1),H("ngTemplateOutlet",i.loaderTemplate)("ngTemplateOutletContext",gn(4,C9,i.getLoaderOptions(e,i.both&&gn(2,JG,i._numItemsInViewport.cols))))}}function eK(t,o){if(1&t&&(vt(0),J(1,XG,2,6,"ng-container",14),kt()),2&t){const e=X(3);G(1),H("ngForOf",e.loaderArr)}}function tK(t,o){1&t&&Et(0)}const nK=function(){return{styleClass:"p-scroller-loading-icon"}};function iK(t,o){if(1&t&&(vt(0),J(1,tK,1,0,"ng-container",7),kt()),2&t){const e=X(4);G(1),H("ngTemplateOutlet",e.loaderIconTemplate)("ngTemplateOutletContext",gn(3,C9,qo(2,nK)))}}function oK(t,o){1&t&&Re(0,"SpinnerIcon",16),2&t&&H("styleClass","p-scroller-loading-icon")}function rK(t,o){if(1&t&&(J(0,iK,2,5,"ng-container",0),J(1,oK,1,1,"ng-template",null,15,Go)),2&t){const e=ii(2);H("ngIf",X(3).loaderIconTemplate)("ngIfElse",e)}}const sK=function(t){return{"p-component-overlay":t}};function aK(t,o){if(1&t&&(ne(0,"div",12),J(1,eK,2,1,"ng-container",0),J(2,rK,3,2,"ng-template",null,13,Go),re()),2&t){const e=ii(3),i=X(2);H("ngClass",gn(3,sK,!i.loaderTemplate)),G(1),H("ngIf",i.loaderTemplate)("ngIfElse",e)}}const lK=function(t,o,e){return{"p-scroller":!0,"p-scroller-inline":t,"p-both-scroll":o,"p-horizontal-scroll":e}};function cK(t,o){if(1&t){const e=wt();vt(0),ne(1,"div",2,3),We("scroll",function(s){return Pe(e),Oe(X().onContainerScroll(s))}),J(3,WG,2,5,"ng-container",0),J(4,KG,3,6,"ng-template",null,4,Go),J(6,ZG,1,1,"div",5),J(7,aK,4,5,"div",6),re(),kt()}if(2&t){const e=ii(5),i=X();G(1),Mt(i._styleClass),H("ngStyle",i._style)("ngClass",Tr(10,lK,i.inline,i.both,i.horizontal)),mt("id",i._id)("tabindex",i.tabindex),G(2),H("ngIf",i.contentTemplate)("ngIfElse",e),G(3),H("ngIf",i._showSpacer),G(1),H("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function dK(t,o){1&t&&Et(0)}const uK=function(t,o){return{rows:t,columns:o}};function hK(t,o){if(1&t&&(vt(0),J(1,dK,1,0,"ng-container",7),kt()),2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",Xn(5,H5,e.items,Xn(2,uK,e._items,e.loadedColumns)))}}function pK(t,o){if(1&t&&(or(0),J(1,hK,2,8,"ng-container",17)),2&t){const e=X();G(1),H("ngIf",e.contentTemplate)}}const fK=["*"];let A9=(()=>{class t{constructor(e,i,s,l,h){this.document=e,this.platformId=i,this.renderer=s,this.cd=l,this.zone=h,this.onLazyLoad=new Qe,this.onScroll=new Qe,this.onScrollIndexChange=new Qe,this._tabindex=0,this._itemSize=0,this._orientation="vertical",this._step=0,this._delay=0,this._resizeDelay=10,this._appendOnly=!1,this._inline=!1,this._lazy=!1,this._disabled=!1,this._loaderDisabled=!1,this._showSpacer=!0,this._showLoader=!1,this._autoSize=!1,this.d_loading=!1,this.first=0,this.last=0,this.page=0,this.isRangeChanged=!1,this.numItemsInViewport=0,this.lastScrollPos=0,this.lazyLoadState={},this.loaderArr=[],this.spacerStyle={},this.contentStyle={},this.initialized=!1}get id(){return this._id}set id(e){this._id=e}get style(){return this._style}set style(e){this._style=e}get styleClass(){return this._styleClass}set styleClass(e){this._styleClass=e}get tabindex(){return this._tabindex}set tabindex(e){this._tabindex=e}get items(){return this._items}set items(e){this._items=e}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e}get scrollHeight(){return this._scrollHeight}set scrollHeight(e){this._scrollHeight=e}get scrollWidth(){return this._scrollWidth}set scrollWidth(e){this._scrollWidth=e}get orientation(){return this._orientation}set orientation(e){this._orientation=e}get step(){return this._step}set step(e){this._step=e}get delay(){return this._delay}set delay(e){this._delay=e}get resizeDelay(){return this._resizeDelay}set resizeDelay(e){this._resizeDelay=e}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=e}get inline(){return this._inline}set inline(e){this._inline=e}get lazy(){return this._lazy}set lazy(e){this._lazy=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(e){this._loaderDisabled=e}get columns(){return this._columns}set columns(e){this._columns=e}get showSpacer(){return this._showSpacer}set showSpacer(e){this._showSpacer=e}get showLoader(){return this._showLoader}set showLoader(e){this._showLoader=e}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(e){this._numToleratedItems=e}get loading(){return this._loading}set loading(e){this._loading=e}get autoSize(){return this._autoSize}set autoSize(e){this._autoSize=e}get trackBy(){return this._trackBy}set trackBy(e){this._trackBy=e}get options(){return this._options}set options(e){this._options=e,e&&"object"==typeof e&&Object.entries(e).forEach(([i,s])=>this[`_${i}`]!==s&&(this[`_${i}`]=s))}get vertical(){return"vertical"===this._orientation}get horizontal(){return"horizontal"===this._orientation}get both(){return"both"===this._orientation}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(e=>this._columns?e:e.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}get isPageChanged(){return!this._step||this.page!==this.getPageByFirst()}ngOnInit(){this.setInitialState()}ngOnChanges(e){let i=!1;if(e.loading){const{previousValue:s,currentValue:l}=e.loading;this.lazy&&s!==l&&l!==this.d_loading&&(this.d_loading=l,i=!0)}if(e.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),e.numToleratedItems){const{previousValue:s,currentValue:l}=e.numToleratedItems;s!==l&&l!==this.d_numToleratedItems&&(this.d_numToleratedItems=l)}if(e.options){const{previousValue:s,currentValue:l}=e.options;this.lazy&&s?.loading!==l?.loading&&l?.loading!==this.d_loading&&(this.d_loading=l.loading,i=!0),s?.numToleratedItems!==l?.numToleratedItems&&l?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=l.numToleratedItems)}this.initialized&&!i&&(e.items?.previousValue?.length!==e.items?.currentValue?.length||e.itemSize||e.scrollHeight||e.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this.contentTemplate=e.template;break;case"item":default:this.itemTemplate=e.template;break;case"loader":this.loaderTemplate=e.template;break;case"loadericon":this.loaderIconTemplate=e.template}})}ngAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()}),Gi.check()}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){Bs(this.platformId)&&Le.isVisible(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=Le.getWidth(this.elementViewChild.nativeElement),this.defaultHeight=Le.getHeight(this.elementViewChild.nativeElement),this.defaultContentWidth=Le.getWidth(this.contentEl),this.defaultContentHeight=Le.getHeight(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(e){this.contentEl=e||this.contentViewChild?.nativeElement||Le.findSingle(this.elementViewChild?.nativeElement,".p-scroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[],this.spacerStyle={},this.contentStyle={}}getElementRef(){return this.elementViewChild}getPageByFirst(){return Math.floor((this.first+4*this.d_numToleratedItems)/(this._step||1))}scrollTo(e){this.lastScrollPos=this.both?{top:0,left:0}:0,this.elementViewChild?.nativeElement?.scrollTo(e)}scrollToIndex(e,i="auto"){const{numToleratedItems:s}=this.calculateNumItems(),l=this.getContentPosition(),h=(N=0,$)=>N<=$?0:N,m=(N,$,oe)=>N*$+oe,_=(N=0,$=0)=>this.scrollTo({left:N,top:$,behavior:i});let w=0;this.both?(w={rows:h(e[0],s[0]),cols:h(e[1],s[1])},_(m(w.cols,this._itemSize[1],l.left),m(w.rows,this._itemSize[0],l.top))):(w=h(e,s),this.horizontal?_(m(w,this._itemSize,l.left),0):_(0,m(w,this._itemSize,l.top))),this.isRangeChanged=this.first!==w,this.first=w}scrollInView(e,i,s="auto"){if(i){const{first:l,viewport:h}=this.getRenderedRange(),m=(N=0,$=0)=>this.scrollTo({left:N,top:$,behavior:s}),w="to-end"===i;if("to-start"===i){if(this.both)h.first.rows-l.rows>e[0]?m(h.first.cols*this._itemSize[1],(h.first.rows-1)*this._itemSize[0]):h.first.cols-l.cols>e[1]&&m((h.first.cols-1)*this._itemSize[1],h.first.rows*this._itemSize[0]);else if(h.first-l>e){const N=(h.first-1)*this._itemSize;this.horizontal?m(N,0):m(0,N)}}else if(w)if(this.both)h.last.rows-l.rows<=e[0]+1?m(h.first.cols*this._itemSize[1],(h.first.rows+1)*this._itemSize[0]):h.last.cols-l.cols<=e[1]+1&&m((h.first.cols+1)*this._itemSize[1],h.first.rows*this._itemSize[0]);else if(h.last-l<=e+1){const N=(h.first+1)*this._itemSize;this.horizontal?m(N,0):m(0,N)}}else this.scrollToIndex(e,s)}getRenderedRange(){const e=(l,h)=>Math.floor(l/(h||l));let i=this.first,s=0;if(this.elementViewChild?.nativeElement){const{scrollTop:l,scrollLeft:h}=this.elementViewChild.nativeElement;this.both?(i={rows:e(l,this._itemSize[0]),cols:e(h,this._itemSize[1])},s={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols}):(i=e(this.horizontal?h:l,this._itemSize),s=i+this.numItemsInViewport)}return{first:this.first,last:this.last,viewport:{first:i,last:s}}}calculateNumItems(){const e=this.getContentPosition(),i=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-e.left:0)||0,s=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-e.top:0)||0,l=(w,N)=>Math.ceil(w/(N||w)),h=w=>Math.ceil(w/2),m=this.both?{rows:l(s,this._itemSize[0]),cols:l(i,this._itemSize[1])}:l(this.horizontal?i:s,this._itemSize);return{numItemsInViewport:m,numToleratedItems:this.d_numToleratedItems||(this.both?[h(m.rows),h(m.cols)]:h(m))}}calculateOptions(){const{numItemsInViewport:e,numToleratedItems:i}=this.calculateNumItems(),s=(m,_,w,N=!1)=>this.getLast(m+_+(m<w?2:3)*w,N),l=this.first,h=this.both?{rows:s(this.first.rows,e.rows,i[0]),cols:s(this.first.cols,e.cols,i[1],!0)}:s(this.first,e,i);this.last=h,this.numItemsInViewport=e,this.d_numToleratedItems=i,this.showLoader&&(this.loaderArr=this.both?Array.from({length:e.rows}).map(()=>Array.from({length:e.cols})):Array.from({length:e})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:l.cols}:0:l,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";const[e,i]=[Le.getWidth(this.contentEl),Le.getHeight(this.contentEl)];e!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");const[s,l]=[Le.getWidth(this.elementViewChild.nativeElement),Le.getHeight(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=s<this.defaultWidth?s+"px":this._scrollWidth||this.defaultWidth+"px"),(this.both||this.vertical)&&(this.elementViewChild.nativeElement.style.height=l<this.defaultHeight?l+"px":this._scrollHeight||this.defaultHeight+"px"),this.contentEl.style.minHeight=this.contentEl.style.minWidth="",this.contentEl.style.position="",this.elementViewChild.nativeElement.style.contain=""}})}getLast(e=0,i=!1){return this._items?Math.min(i?(this._columns||this._items[0]).length:this._items.length,e):0}getContentPosition(){if(this.contentEl){const e=getComputedStyle(this.contentEl),i=parseFloat(e.paddingLeft)+Math.max(parseFloat(e.left)||0,0),s=parseFloat(e.paddingRight)+Math.max(parseFloat(e.right)||0,0),l=parseFloat(e.paddingTop)+Math.max(parseFloat(e.top)||0,0),h=parseFloat(e.paddingBottom)+Math.max(parseFloat(e.bottom)||0,0);return{left:i,right:s,top:l,bottom:h,x:i+s,y:l+h}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}}setSize(){if(this.elementViewChild?.nativeElement){const e=this.elementViewChild.nativeElement.parentElement.parentElement,i=this._scrollWidth||`${this.elementViewChild.nativeElement.offsetWidth||e.offsetWidth}px`,s=this._scrollHeight||`${this.elementViewChild.nativeElement.offsetHeight||e.offsetHeight}px`,l=(h,m)=>this.elementViewChild.nativeElement.style[h]=m;this.both||this.horizontal?(l("height",s),l("width",i)):l("height",s)}}setSpacerSize(){if(this._items){const e=this.getContentPosition(),i=(s,l,h,m=0)=>this.spacerStyle={...this.spacerStyle,[`${s}`]:(l||[]).length*h+m+"px"};this.both?(i("height",this._items,this._itemSize[0],e.y),i("width",this._columns||this._items[1],this._itemSize[1],e.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,e.x):i("height",this._items,this._itemSize,e.y)}}setContentPosition(e){if(this.contentEl&&!this._appendOnly){const i=e?e.first:this.first,s=(h,m)=>h*m,l=(h=0,m=0)=>this.contentStyle={...this.contentStyle,transform:`translate3d(${h}px, ${m}px, 0)`};if(this.both)l(s(i.cols,this._itemSize[1]),s(i.rows,this._itemSize[0]));else{const h=s(i,this._itemSize);this.horizontal?l(h,0):l(0,h)}}}onScrollPositionChange(e){const i=e.target,s=this.getContentPosition(),l=(xe,Ye)=>xe?xe>Ye?xe-Ye:xe:0,h=(xe,Ye)=>Math.floor(xe/(Ye||xe)),m=(xe,Ye,Fe,it,tt,ut)=>xe<=tt?tt:ut?Fe-it-tt:Ye+tt-1,_=(xe,Ye,Fe,it,tt,ut,Nt)=>xe<=ut?0:Math.max(0,Nt?xe<Ye?Fe:xe-ut:xe>Ye?Fe:xe-2*ut),w=(xe,Ye,Fe,it,tt,ut=!1)=>{let Nt=Ye+it+2*tt;return xe>=tt&&(Nt+=tt+1),this.getLast(Nt,ut)},N=l(i.scrollTop,s.top),$=l(i.scrollLeft,s.left);let oe=this.both?{rows:0,cols:0}:0,le=this.last,ve=!1,we=this.lastScrollPos;if(this.both){const xe=this.lastScrollPos.top<=N,Ye=this.lastScrollPos.left<=$;if(!this._appendOnly||this._appendOnly&&(xe||Ye)){const Fe={rows:h(N,this._itemSize[0]),cols:h($,this._itemSize[1])},it={rows:m(Fe.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],xe),cols:m(Fe.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],Ye)};oe={rows:_(Fe.rows,it.rows,this.first.rows,0,0,this.d_numToleratedItems[0],xe),cols:_(Fe.cols,it.cols,this.first.cols,0,0,this.d_numToleratedItems[1],Ye)},le={rows:w(Fe.rows,oe.rows,0,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:w(Fe.cols,oe.cols,0,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},ve=oe.rows!==this.first.rows||le.rows!==this.last.rows||oe.cols!==this.first.cols||le.cols!==this.last.cols||this.isRangeChanged,we={top:N,left:$}}}else{const xe=this.horizontal?$:N,Ye=this.lastScrollPos<=xe;if(!this._appendOnly||this._appendOnly&&Ye){const Fe=h(xe,this._itemSize);oe=_(Fe,m(Fe,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,Ye),this.first,0,0,this.d_numToleratedItems,Ye),le=w(Fe,oe,0,this.numItemsInViewport,this.d_numToleratedItems),ve=oe!==this.first||le!==this.last||this.isRangeChanged,we=xe}}return{first:oe,last:le,isRangeChanged:ve,scrollPos:we}}onScrollChange(e){const{first:i,last:s,isRangeChanged:l,scrollPos:h}=this.onScrollPositionChange(e);if(l){const m={first:i,last:s};if(this.setContentPosition(m),this.first=i,this.last=s,this.lastScrollPos=h,this.handleEvents("onScrollIndexChange",m),this._lazy&&this.isPageChanged){const _={first:this._step?Math.min(this.getPageByFirst()*this._step,this.items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst()+1)*this._step:s,this.items.length)};(this.lazyLoadState.first!==_.first||this.lazyLoadState.last!==_.last)&&this.handleEvents("onLazyLoad",_),this.lazyLoadState=_}}}onContainerScroll(e){if(this.handleEvents("onScroll",{originalEvent:e}),this._delay&&this.isPageChanged){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:i}=this.onScrollPositionChange(e);(i||this._step&&this.isPageChanged)&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(e),this.d_loading&&this.showLoader&&(!this._lazy||void 0===this._loading)&&(this.d_loading=!1,this.page=this.getPageByFirst(),this.cd.detectChanges())},this._delay)}else!this.d_loading&&this.onScrollChange(e)}bindResizeListener(){Bs(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{const e=this.document.defaultView,i=Le.isTouchDevice()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(e,i,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(Le.isVisible(this.elementViewChild?.nativeElement)){const[e,i]=[Le.getWidth(this.elementViewChild.nativeElement),Le.getHeight(this.elementViewChild.nativeElement)],[s,l]=[e!==this.defaultWidth,i!==this.defaultHeight];(this.both?s||l:this.horizontal?s:this.vertical&&l)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=e,this.defaultHeight=i,this.defaultContentWidth=Le.getWidth(this.contentEl),this.defaultContentHeight=Le.getHeight(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(e,i){return this.options&&this.options[e]?this.options[e](i):this[e].emit(i)}getContentOptions(){return{contentStyleClass:"p-scroller-content "+(this.d_loading?"p-scroller-loading":""),items:this.loadedItems,getItemOptions:e=>this.getOptions(e),loading:this.d_loading,getLoaderOptions:(e,i)=>this.getLoaderOptions(e,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(e){const i=(this._items||[]).length,s=this.both?this.first.rows+e:this.first+e;return{index:s,count:i,first:0===s,last:s===i-1,even:s%2==0,odd:s%2!=0}}getLoaderOptions(e,i){const s=this.loaderArr.length;return{index:e,count:s,first:0===e,last:e===s-1,even:e%2==0,odd:e%2!=0,...i}}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hn),Ce(ko),Ce(Lo),Ce(Mi),Ce(yn))},t.\u0275cmp=Ct({type:t,selectors:[["p-scroller"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},viewQuery:function(e,i){if(1&e&&(Pn(HG,5),Pn(YG,5)),2&e){let s;zt(s=jt())&&(i.elementViewChild=s.first),zt(s=jt())&&(i.contentViewChild=s.first)}},hostAttrs:[1,"p-scroller-viewport","p-element"],inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[fn],ngContentSelectors:fK,decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["disabledContainer",""],[3,"ngStyle","ngClass","scroll"],["element",""],["buildInContent",""],["class","p-scroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-scroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-scroller-content",3,"ngClass","ngStyle"],["content",""],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-scroller-spacer",3,"ngStyle"],[1,"p-scroller-loader",3,"ngClass"],["buildInLoader",""],[4,"ngFor","ngForOf"],["buildInLoaderIcon",""],[3,"styleClass"],[4,"ngIf"]],template:function(e,i){if(1&e&&(ms(),J(0,cK,8,14,"ng-container",0),J(1,pK,2,1,"ng-template",null,1,Go)),2&e){const s=ii(2);H("ngIf",!i._disabled)("ngIfElse",s)}},dependencies:function(){return[ao,Zr,Ei,Xi,Mo,Ab]},styles:["p-scroller{flex:1;outline:0 none}.p-scroller{position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;outline:0 none}.p-scroller-content{position:absolute;top:0;left:0;min-height:100%;min-width:100%;will-change:transform}.p-scroller-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0;pointer-events:none}.p-scroller-loader{position:sticky;top:0;left:0;width:100%;height:100%}.p-scroller-loader.p-component-overlay{display:flex;align-items:center;justify-content:center}.p-scroller-loading-icon{scale:2}.p-scroller-inline .p-scroller-content{position:static}\n"],encapsulation:2}),t})(),WT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,Ki,Ab,Ki]}),t})(),M9=(()=>{class t{constructor(e,i,s,l,h,m){this.platformId=e,this.el=i,this.zone=s,this.config=l,this.renderer=h,this.changeDetector=m,this.escape=!0,this.autoHide=!0,this.fitContent=!0,this.hideOnEscape=!0,this._tooltipOptions={tooltipPosition:"right",tooltipEvent:"hover",appendTo:"body",tooltipZIndex:"auto",escape:!0,positionTop:0,positionLeft:0,autoHide:!0,hideOnEscape:!1}}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.deactivate()}ngAfterViewInit(){Bs(this.platformId)&&this.zone.runOutsideAngular(()=>{if("hover"===this.getOption("tooltipEvent"))this.mouseEnterListener=this.onMouseEnter.bind(this),this.mouseLeaveListener=this.onMouseLeave.bind(this),this.clickListener=this.onInputClick.bind(this),this.el.nativeElement.addEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.addEventListener("click",this.clickListener),this.el.nativeElement.addEventListener("mouseleave",this.mouseLeaveListener);else if("focus"===this.getOption("tooltipEvent")){this.focusListener=this.onFocus.bind(this),this.blurListener=this.onBlur.bind(this);let e=this.getTarget(this.el.nativeElement);e.addEventListener("focus",this.focusListener),e.addEventListener("blur",this.blurListener)}}),Gi.check()}ngOnChanges(e){e.tooltipPosition&&this.setOption({tooltipPosition:e.tooltipPosition.currentValue}),e.tooltipEvent&&this.setOption({tooltipEvent:e.tooltipEvent.currentValue}),e.appendTo&&this.setOption({appendTo:e.appendTo.currentValue}),e.positionStyle&&this.setOption({positionStyle:e.positionStyle.currentValue}),e.tooltipStyleClass&&this.setOption({tooltipStyleClass:e.tooltipStyleClass.currentValue}),e.tooltipZIndex&&this.setOption({tooltipZIndex:e.tooltipZIndex.currentValue}),e.escape&&this.setOption({escape:e.escape.currentValue}),e.showDelay&&this.setOption({showDelay:e.showDelay.currentValue}),e.hideDelay&&this.setOption({hideDelay:e.hideDelay.currentValue}),e.life&&this.setOption({life:e.life.currentValue}),e.positionTop&&this.setOption({positionTop:e.positionTop.currentValue}),e.positionLeft&&this.setOption({positionLeft:e.positionLeft.currentValue}),e.disabled&&this.setOption({disabled:e.disabled.currentValue}),e.text&&(this.setOption({tooltipLabel:e.text.currentValue}),this.active&&(e.text.currentValue?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide())),e.autoHide&&this.setOption({autoHide:e.autoHide.currentValue}),e.tooltipOptions&&(this._tooltipOptions={...this._tooltipOptions,...e.tooltipOptions.currentValue},this.deactivate(),this.active&&(this.getOption("tooltipLabel")?this.container&&this.container.offsetParent?(this.updateText(),this.align()):this.show():this.hide()))}isAutoHide(){return this.getOption("autoHide")}onMouseEnter(e){!this.container&&!this.showTimeout&&this.activate()}onMouseLeave(e){(this.isAutoHide()||!(Le.hasClass(e.relatedTarget,"p-tooltip")||Le.hasClass(e.relatedTarget,"p-tooltip-text")||Le.hasClass(e.relatedTarget,"p-tooltip-arrow")))&&this.deactivate()}onFocus(e){this.activate()}onBlur(e){this.deactivate()}onInputClick(e){this.deactivate()}onPressEscape(){this.hideOnEscape&&this.deactivate()}activate(){if(this.active=!0,this.clearHideTimeout(),this.getOption("showDelay")?this.showTimeout=setTimeout(()=>{this.show()},this.getOption("showDelay")):this.show(),this.getOption("life")){let e=this.getOption("showDelay")?this.getOption("life")+this.getOption("showDelay"):this.getOption("life");this.hideTimeout=setTimeout(()=>{this.hide()},e)}}deactivate(){this.active=!1,this.clearShowTimeout(),this.getOption("hideDelay")?(this.clearHideTimeout(),this.hideTimeout=setTimeout(()=>{this.hide()},this.getOption("hideDelay"))):this.hide()}create(){this.container&&(this.clearHideTimeout(),this.remove()),this.container=document.createElement("div");let e=document.createElement("div");e.className="p-tooltip-arrow",this.container.appendChild(e),this.tooltipText=document.createElement("div"),this.tooltipText.className="p-tooltip-text",this.updateText(),this.getOption("positionStyle")&&(this.container.style.position=this.getOption("positionStyle")),this.container.appendChild(this.tooltipText),"body"===this.getOption("appendTo")?document.body.appendChild(this.container):"target"===this.getOption("appendTo")?Le.appendChild(this.container,this.el.nativeElement):Le.appendChild(this.container,this.getOption("appendTo")),this.container.style.display="inline-block",this.fitContent&&(this.container.style.width="fit-content"),this.isAutoHide()||this.bindContainerMouseleaveListener()}bindContainerMouseleaveListener(){this.containerMouseleaveListener||(this.containerMouseleaveListener=this.renderer.listen(this.container??this.container.nativeElement,"mouseleave",i=>{this.deactivate()}))}unbindContainerMouseleaveListener(){this.containerMouseleaveListener&&(this.bindContainerMouseleaveListener(),this.containerMouseleaveListener=null)}show(){!this.getOption("tooltipLabel")||this.getOption("disabled")||(this.create(),this.align(),Le.fadeIn(this.container,250),"auto"===this.getOption("tooltipZIndex")?Ya.set("tooltip",this.container,this.config.zIndex.tooltip):this.container.style.zIndex=this.getOption("tooltipZIndex"),this.bindDocumentResizeListener(),this.bindScrollListener())}hide(){"auto"===this.getOption("tooltipZIndex")&&Ya.clear(this.container),this.remove()}updateText(){this.getOption("escape")?(this.tooltipText.innerHTML="",this.tooltipText.appendChild(document.createTextNode(this.getOption("tooltipLabel")))):this.tooltipText.innerHTML=this.getOption("tooltipLabel")}align(){switch(this.getOption("tooltipPosition")){case"top":this.alignTop(),this.isOutOfBounds()&&(this.alignBottom(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"bottom":this.alignBottom(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&this.alignLeft()));break;case"left":this.alignLeft(),this.isOutOfBounds()&&(this.alignRight(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()));break;case"right":this.alignRight(),this.isOutOfBounds()&&(this.alignLeft(),this.isOutOfBounds()&&(this.alignTop(),this.isOutOfBounds()&&this.alignBottom()))}}getHostOffset(){if("body"===this.getOption("appendTo")||"target"===this.getOption("appendTo")){let e=this.el.nativeElement.getBoundingClientRect();return{left:e.left+Le.getWindowScrollLeft(),top:e.top+Le.getWindowScrollTop()}}return{left:0,top:0}}alignRight(){this.preAlign("right");let e=this.getHostOffset(),i=e.left+Le.getOuterWidth(this.el.nativeElement),s=e.top+(Le.getOuterHeight(this.el.nativeElement)-Le.getOuterHeight(this.container))/2;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}alignLeft(){this.preAlign("left");let e=this.getHostOffset(),i=e.left-Le.getOuterWidth(this.container),s=e.top+(Le.getOuterHeight(this.el.nativeElement)-Le.getOuterHeight(this.container))/2;this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}alignTop(){this.preAlign("top");let e=this.getHostOffset(),i=e.left+(Le.getOuterWidth(this.el.nativeElement)-Le.getOuterWidth(this.container))/2,s=e.top-Le.getOuterHeight(this.container);this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}alignBottom(){this.preAlign("bottom");let e=this.getHostOffset(),i=e.left+(Le.getOuterWidth(this.el.nativeElement)-Le.getOuterWidth(this.container))/2,s=e.top+Le.getOuterHeight(this.el.nativeElement);this.container.style.left=i+this.getOption("positionLeft")+"px",this.container.style.top=s+this.getOption("positionTop")+"px"}setOption(e){this._tooltipOptions={...this._tooltipOptions,...e}}getOption(e){return this._tooltipOptions[e]}getTarget(e){return Le.hasClass(e,"p-inputwrapper")?Le.findSingle(e,"input"):e}preAlign(e){this.container.style.left="-999px",this.container.style.top="-999px";let i="p-tooltip p-component p-tooltip-"+e;this.container.className=this.getOption("tooltipStyleClass")?i+" "+this.getOption("tooltipStyleClass"):i}isOutOfBounds(){let e=this.container.getBoundingClientRect(),i=e.top,s=e.left,l=Le.getOuterWidth(this.container),h=Le.getOuterHeight(this.container),m=Le.getViewport();return s+l>m.width||s<0||i<0||i+h>m.height}onWindowResize(e){this.hide()}bindDocumentResizeListener(){this.zone.runOutsideAngular(()=>{this.resizeListener=this.onWindowResize.bind(this),window.addEventListener("resize",this.resizeListener)})}unbindDocumentResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new V5(this.el.nativeElement,()=>{this.container&&this.hide()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindEvents(){if("hover"===this.getOption("tooltipEvent"))this.el.nativeElement.removeEventListener("mouseenter",this.mouseEnterListener),this.el.nativeElement.removeEventListener("mouseleave",this.mouseLeaveListener),this.el.nativeElement.removeEventListener("click",this.clickListener);else if("focus"===this.getOption("tooltipEvent")){let e=this.getTarget(this.el.nativeElement);e.removeEventListener("focus",this.focusListener),e.removeEventListener("blur",this.blurListener)}this.unbindDocumentResizeListener()}remove(){this.container&&this.container.parentElement&&("body"===this.getOption("appendTo")?document.body.removeChild(this.container):"target"===this.getOption("appendTo")?this.el.nativeElement.removeChild(this.container):Le.removeChild(this.container,this.getOption("appendTo"))),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.unbindContainerMouseleaveListener(),this.clearTimeouts(),this.container=null,this.scrollHandler=null}clearShowTimeout(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null)}clearHideTimeout(){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}clearTimeouts(){this.clearShowTimeout(),this.clearHideTimeout()}ngOnDestroy(){this.unbindEvents(),this.container&&Ya.clear(this.container),this.remove(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null)}}return t.\u0275fac=function(e){return new(e||t)(Ce(ko),Ce(An),Ce(yn),Ce(Rf),Ce(Lo),Ce(Mi))},t.\u0275dir=Xe({type:t,selectors:[["","pTooltip",""]],hostAttrs:[1,"p-element"],hostBindings:function(e,i){1&e&&We("keydown.escape",function(l){return i.onPressEscape(l)},0,Kv)},inputs:{tooltipPosition:"tooltipPosition",tooltipEvent:"tooltipEvent",appendTo:"appendTo",positionStyle:"positionStyle",tooltipStyleClass:"tooltipStyleClass",tooltipZIndex:"tooltipZIndex",escape:"escape",showDelay:"showDelay",hideDelay:"hideDelay",life:"life",positionTop:"positionTop",positionLeft:"positionLeft",autoHide:"autoHide",fitContent:"fitContent",hideOnEscape:"hideOnEscape",text:["pTooltip","text"],disabled:["tooltipDisabled","disabled"],tooltipOptions:"tooltipOptions"},features:[fn]}),t})(),Y5=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi]}),t})();function mK(t,o){if(1&t&&(ne(0,"span"),ze(1),re()),2&t){const e=X();let i;G(1),nn(null!==(i=e.label)&&void 0!==i?i:"empty")}}function gK(t,o){1&t&&Et(0)}const Hk=function(t){return{height:t}},_K=function(t,o){return{"p-dropdown-item":!0,"p-highlight":t,"p-disabled":o}},U5=function(t){return{$implicit:t}},bK=["container"],vK=["filter"],yK=["in"],kK=["editableInput"],wK=["items"],CK=["scroller"],AK=["overlay"];function MK(t,o){if(1&t&&(vt(0),ze(1),kt()),2&t){const e=X(2);G(1),nn(e.label||"empty")}}function DK(t,o){1&t&&Et(0)}const TK=function(t){return{"p-dropdown-label p-inputtext":!0,"p-dropdown-label-empty":t}};function xK(t,o){if(1&t&&(ne(0,"span",14),J(1,MK,2,1,"ng-container",8),J(2,DK,1,0,"ng-container",15),re()),2&t){const e=X();H("ngClass",gn(9,TK,null==e.label||0===e.label.length))("pTooltip",e.tooltip)("tooltipPosition",e.tooltipPosition)("positionStyle",e.tooltipPositionStyle)("tooltipStyleClass",e.tooltipStyleClass),mt("id",e.labelId),G(1),H("ngIf",!e.selectedItemTemplate),G(1),H("ngTemplateOutlet",e.selectedItemTemplate)("ngTemplateOutletContext",gn(11,U5,e.selectedOption))}}const EK=function(t){return{"p-dropdown-label p-inputtext p-placeholder":!0,"p-dropdown-label-empty":t}};function SK(t,o){if(1&t&&(ne(0,"span",16),ze(1),re()),2&t){const e=X();H("ngClass",gn(2,EK,null==e.placeholder||0===e.placeholder.length)),G(1),nn(e.placeholder||"empty")}}function IK(t,o){if(1&t){const e=wt();ne(0,"input",17,18),We("input",function(s){return Pe(e),Oe(X().onEditableInputChange(s))})("focus",function(s){return Pe(e),Oe(X().onEditableInputFocus(s))})("blur",function(s){return Pe(e),Oe(X().onInputBlur(s))}),re()}if(2&t){const e=X();H("disabled",e.disabled),mt("maxlength",e.maxlength)("placeholder",e.placeholder)("aria-expanded",e.overlayVisible)}}function LK(t,o){if(1&t){const e=wt();ne(0,"TimesIcon",21),We("click",function(s){return Pe(e),Oe(X(2).clear(s))}),re()}2&t&&H("styleClass","p-dropdown-clear-icon")}function OK(t,o){}function PK(t,o){1&t&&J(0,OK,0,0,"ng-template")}function NK(t,o){if(1&t){const e=wt();ne(0,"span",22),We("click",function(s){return Pe(e),Oe(X(2).clear(s))}),J(1,PK,1,0,null,23),re()}if(2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.clearIconTemplate)}}function RK(t,o){if(1&t&&(vt(0),J(1,LK,1,1,"TimesIcon",19),J(2,NK,2,1,"span",20),kt()),2&t){const e=X();G(1),H("ngIf",!e.clearIconTemplate),G(1),H("ngIf",e.clearIconTemplate)}}function FK(t,o){1&t&&Re(0,"span",26),2&t&&H("ngClass",X(2).dropdownIcon)}function BK(t,o){1&t&&Re(0,"ChevronDownIcon",27),2&t&&H("styleClass","p-dropdown-trigger-icon")}function jK(t,o){if(1&t&&(vt(0),J(1,FK,1,1,"span",24),J(2,BK,1,1,"ChevronDownIcon",25),kt()),2&t){const e=X();G(1),H("ngIf",e.dropdownIcon),G(1),H("ngIf",!e.dropdownIcon)}}function zK(t,o){}function VK(t,o){1&t&&J(0,zK,0,0,"ng-template")}function HK(t,o){if(1&t&&(ne(0,"span",28),J(1,VK,1,0,null,23),re()),2&t){const e=X();G(1),H("ngTemplateOutlet",e.dropdownIconTemplate)}}function YK(t,o){1&t&&Et(0)}function UK(t,o){1&t&&Et(0)}const D9=function(t){return{options:t}};function WK(t,o){if(1&t&&(vt(0),J(1,UK,1,0,"ng-container",15),kt()),2&t){const e=X(3);G(1),H("ngTemplateOutlet",e.filterTemplate)("ngTemplateOutletContext",gn(2,D9,e.filterOptions))}}function $K(t,o){1&t&&Re(0,"SearchIcon",27),2&t&&H("styleClass","p-dropdown-filter-icon")}function qK(t,o){}function GK(t,o){1&t&&J(0,qK,0,0,"ng-template")}function KK(t,o){if(1&t&&(ne(0,"span",41),J(1,GK,1,0,null,23),re()),2&t){const e=X(4);G(1),H("ngTemplateOutlet",e.filterIconTemplate)}}function ZK(t,o){if(1&t){const e=wt();ne(0,"div",37)(1,"input",38,39),We("keydown.enter",function(s){return s.preventDefault()})("keydown",function(s){return Pe(e),Oe(X(3).onKeydown(s,!1))})("input",function(s){return Pe(e),Oe(X(3).onFilterInputChange(s))}),re(),J(3,$K,1,1,"SearchIcon",25),J(4,KK,2,1,"span",40),re()}if(2&t){const e=X(3);G(1),H("value",e.filterValue||""),mt("placeholder",e.filterPlaceholder)("aria-label",e.ariaFilterLabel)("aria-activedescendant",e.overlayVisible?"p-highlighted-option":e.labelId),G(2),H("ngIf",!e.filterIconTemplate),G(1),H("ngIf",e.filterIconTemplate)}}function QK(t,o){if(1&t&&(ne(0,"div",34),We("click",function(i){return i.stopPropagation()}),J(1,WK,2,4,"ng-container",35),J(2,ZK,5,6,"ng-template",null,36,Go),re()),2&t){const e=ii(3),i=X(2);G(1),H("ngIf",i.filterTemplate)("ngIfElse",e)}}function JK(t,o){1&t&&Et(0)}const T9=function(t,o){return{$implicit:t,options:o}};function XK(t,o){if(1&t&&J(0,JK,1,0,"ng-container",15),2&t){const e=o.$implicit,i=o.options;X(2),H("ngTemplateOutlet",ii(7))("ngTemplateOutletContext",Xn(2,T9,e,i))}}function eZ(t,o){1&t&&Et(0)}function tZ(t,o){if(1&t&&J(0,eZ,1,0,"ng-container",15),2&t){const e=o.options;H("ngTemplateOutlet",X(4).loaderTemplate)("ngTemplateOutletContext",gn(2,D9,e))}}function nZ(t,o){1&t&&(vt(0),J(1,tZ,1,4,"ng-template",44),kt())}function iZ(t,o){if(1&t){const e=wt();ne(0,"p-scroller",42,43),We("onLazyLoad",function(s){return Pe(e),Oe(X(2).onLazyLoad.emit(s))}),J(2,XK,1,5,"ng-template",13),J(3,nZ,2,0,"ng-container",8),re()}if(2&t){const e=X(2);$i(gn(8,Hk,e.scrollHeight)),H("items",e.optionsToDisplay)("itemSize",e.virtualScrollItemSize||e._itemSize)("autoSize",!0)("lazy",e.lazy)("options",e.virtualScrollOptions),G(3),H("ngIf",e.loaderTemplate)}}function oZ(t,o){1&t&&Et(0)}const rZ=function(){return{}};function sZ(t,o){if(1&t&&(vt(0),J(1,oZ,1,0,"ng-container",15),kt()),2&t){X();const e=ii(7),i=X();G(1),H("ngTemplateOutlet",e)("ngTemplateOutletContext",Xn(3,T9,i.optionsToDisplay,qo(2,rZ)))}}function aZ(t,o){if(1&t&&(ne(0,"span"),ze(1),re()),2&t){const e=X().$implicit,i=X(4);G(1),nn(i.getOptionGroupLabel(e)||"empty")}}function lZ(t,o){1&t&&Et(0)}function cZ(t,o){1&t&&Et(0)}const x9=function(t,o){return{$implicit:t,selectedOption:o}};function dZ(t,o){if(1&t&&(ne(0,"li",50),J(1,aZ,2,1,"span",8),J(2,lZ,1,0,"ng-container",15),re(),J(3,cZ,1,0,"ng-container",15)),2&t){const e=o.$implicit,i=X(2).options,s=ii(5),l=X(2);H("ngStyle",gn(6,Hk,i.itemSize+"px")),G(1),H("ngIf",!l.groupTemplate),G(1),H("ngTemplateOutlet",l.groupTemplate)("ngTemplateOutletContext",gn(8,U5,e)),G(1),H("ngTemplateOutlet",s)("ngTemplateOutletContext",Xn(10,x9,l.getOptionGroupChildren(e),l.selectedOption))}}function uZ(t,o){if(1&t&&(vt(0),J(1,dZ,4,13,"ng-template",49),kt()),2&t){const e=X().$implicit;G(1),H("ngForOf",e)}}function hZ(t,o){1&t&&Et(0)}function pZ(t,o){if(1&t&&(vt(0),J(1,hZ,1,0,"ng-container",15),kt()),2&t){const e=X().$implicit,i=ii(5),s=X(2);G(1),H("ngTemplateOutlet",i)("ngTemplateOutletContext",Xn(2,x9,e,s.selectedOption))}}function fZ(t,o){if(1&t){const e=wt();ne(0,"p-dropdownItem",51),We("onClick",function(s){return Pe(e),Oe(X(4).onItemClick(s))}),re()}if(2&t){const e=o.$implicit,i=X().selectedOption,s=X(3);H("option",e)("selected",i==e)("label",s.getOptionLabel(e))("disabled",s.isOptionDisabled(e))("template",s.itemTemplate)}}function mZ(t,o){1&t&&J(0,fZ,1,5,"ng-template",49),2&t&&H("ngForOf",o.$implicit)}function gZ(t,o){if(1&t&&(vt(0),ze(1),kt()),2&t){const e=X(4);G(1),rr(" ",e.emptyFilterMessageLabel," ")}}function _Z(t,o){1&t&&Et(0,null,53)}function bZ(t,o){if(1&t&&(ne(0,"li",52),J(1,gZ,2,1,"ng-container",35),J(2,_Z,2,0,"ng-container",23),re()),2&t){const e=X().options,i=X(2);H("ngStyle",gn(4,Hk,e.itemSize+"px")),G(1),H("ngIf",!i.emptyFilterTemplate&&!i.emptyTemplate)("ngIfElse",i.emptyFilter),G(1),H("ngTemplateOutlet",i.emptyFilterTemplate||i.emptyTemplate)}}function vZ(t,o){if(1&t&&(vt(0),ze(1),kt()),2&t){const e=X(4);G(1),rr(" ",e.emptyMessageLabel," ")}}function yZ(t,o){1&t&&Et(0,null,54)}function kZ(t,o){if(1&t&&(ne(0,"li",52),J(1,vZ,2,1,"ng-container",35),J(2,yZ,2,0,"ng-container",23),re()),2&t){const e=X().options,i=X(2);H("ngStyle",gn(4,Hk,e.itemSize+"px")),G(1),H("ngIf",!i.emptyTemplate)("ngIfElse",i.empty),G(1),H("ngTemplateOutlet",i.emptyTemplate)}}function wZ(t,o){if(1&t&&(ne(0,"ul",45,46),J(2,uZ,2,1,"ng-container",8),J(3,pZ,2,5,"ng-container",8),J(4,mZ,1,1,"ng-template",null,47,Go),J(6,bZ,3,6,"li",48),J(7,kZ,3,6,"li",48),re()),2&t){const e=o.options,i=X(2);$i(e.contentStyle),H("ngClass",e.contentStyleClass),mt("id",i.listId),G(2),H("ngIf",i.group),G(1),H("ngIf",!i.group),G(3),H("ngIf",i.filterValue&&i.isEmpty()),G(1),H("ngIf",!i.filterValue&&i.isEmpty())}}function CZ(t,o){1&t&&Et(0)}function AZ(t,o){if(1&t&&(ne(0,"div",29),J(1,YK,1,0,"ng-container",23),J(2,QK,4,2,"div",30),ne(3,"div",31),J(4,iZ,4,10,"p-scroller",32),J(5,sZ,2,6,"ng-container",8),J(6,wZ,8,8,"ng-template",null,33,Go),re(),J(8,CZ,1,0,"ng-container",23),re()),2&t){const e=X();Mt(e.panelStyleClass),H("ngClass","p-dropdown-panel p-component")("ngStyle",e.panelStyle),G(1),H("ngTemplateOutlet",e.headerTemplate),G(1),H("ngIf",e.filter),G(1),_s("max-height",e.virtualScroll?"auto":e.scrollHeight||"auto"),G(1),H("ngIf",e.virtualScroll),G(1),H("ngIf",!e.virtualScroll),G(3),H("ngTemplateOutlet",e.footerTemplate)}}const MZ=function(t,o,e,i){return{"p-dropdown p-component":!0,"p-disabled":t,"p-dropdown-open":o,"p-focus":e,"p-dropdown-clearable":i}},DZ={provide:qi,useExisting:xt(()=>W5),multi:!0};let TZ=(()=>{class t{constructor(){this.onClick=new Qe}onOptionClick(e){this.onClick.emit({originalEvent:e,option:this.option})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ct({type:t,selectors:[["p-dropdownItem"]],hostAttrs:[1,"p-element"],inputs:{option:"option",selected:"selected",label:"label",disabled:"disabled",visible:"visible",itemSize:"itemSize",template:"template"},outputs:{onClick:"onClick"},decls:3,vars:15,consts:[["role","option","pRipple","",3,"ngStyle","id","ngClass","click"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(ne(0,"li",0),We("click",function(l){return i.onOptionClick(l)}),J(1,mK,2,1,"span",1),J(2,gK,1,0,"ng-container",2),re()),2&e&&(H("ngStyle",gn(8,Hk,i.itemSize+"px"))("id",i.selected?"p-highlighted-option":"")("ngClass",Xn(10,_K,i.selected,i.disabled)),mt("aria-label",i.label)("aria-selected",i.selected),G(1),H("ngIf",!i.template),G(1),H("ngTemplateOutlet",i.template)("ngTemplateOutletContext",gn(13,U5,i.option)))},dependencies:[ao,Ei,Xi,Mo,rh],encapsulation:2}),t})(),W5=(()=>{class t{constructor(e,i,s,l,h,m){this.el=e,this.renderer=i,this.cd=s,this.zone=l,this.filterService=h,this.config=m,this.scrollHeight="200px",this.resetFilterOnHide=!1,this.optionGroupChildren="items",this.autoDisplayFirst=!0,this.emptyFilterMessage="",this.emptyMessage="",this.lazy=!1,this.filterMatchMode="contains",this.tooltip="",this.tooltipPosition="right",this.tooltipPositionStyle="absolute",this.autofocusFilter=!0,this.overlayDirection="end",this.onChange=new Qe,this.onFilter=new Qe,this.onFocus=new Qe,this.onBlur=new Qe,this.onClick=new Qe,this.onShow=new Qe,this.onHide=new Qe,this.onClear=new Qe,this.onLazyLoad=new Qe,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.id=YT()}get disabled(){return this._disabled}set disabled(e){e&&(this.focused=!1,this.overlayVisible&&this.hide()),this._disabled=e,this.cd.destroyed||this.cd.detectChanges()}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e,console.warn("The itemSize property is deprecated, use virtualScrollItemSize property instead.")}get autoZIndex(){return this._autoZIndex}set autoZIndex(e){this._autoZIndex=e,console.warn("The autoZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get baseZIndex(){return this._baseZIndex}set baseZIndex(e){this._baseZIndex=e,console.warn("The baseZIndex property is deprecated since v14.2.0, use overlayOptions property instead.")}get showTransitionOptions(){return this._showTransitionOptions}set showTransitionOptions(e){this._showTransitionOptions=e,console.warn("The showTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}get hideTransitionOptions(){return this._hideTransitionOptions}set hideTransitionOptions(e){this._hideTransitionOptions=e,console.warn("The hideTransitionOptions property is deprecated since v14.2.0, use overlayOptions property instead.")}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"selectedItem":this.selectedItemTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"filter":this.filterTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"emptyfilter":this.emptyFilterTemplate=e.template;break;case"empty":this.emptyTemplate=e.template;break;case"group":this.groupTemplate=e.template;break;case"loader":this.loaderTemplate=e.template;break;case"dropdownicon":this.dropdownIconTemplate=e.template;break;case"clearicon":this.clearIconTemplate=e.template;break;case"filtericon":this.filterIconTemplate=e.template}})}ngOnInit(){this.optionsToDisplay=this.options,this.updateSelectedOption(null),this.labelId=this.id+"_label",this.listId=this.id+"_list",this.filterBy&&(this.filterOptions={filter:e=>this.onFilterInputChange(e),reset:()=>this.resetFilter()})}get options(){return this._options}set options(e){this._options=e,this.optionsToDisplay=this._options,this.updateSelectedOption(this.value),this.selectedOption=this.findOption(this.value,this.optionsToDisplay),!this.selectedOption&&St.isNotEmpty(this.value)&&!this.editable&&(this.value=null,this.onModelChange(this.value)),this.optionsChanged=!0,this._filterValue&&this._filterValue.length&&this.activateFilter()}get filterValue(){return this._filterValue}set filterValue(e){this._filterValue=e,this.activateFilter()}ngAfterViewInit(){this.editable&&this.updateEditableLabel(),Gi.check()}get label(){return"number"==typeof this.selectedOption&&(this.selectedOption=this.selectedOption.toString()),this.selectedOption?this.getOptionLabel(this.selectedOption):null}get emptyMessageLabel(){return this.emptyMessage||this.config.getTranslation(ys.EMPTY_MESSAGE)}get emptyFilterMessageLabel(){return this.emptyFilterMessage||this.config.getTranslation(ys.EMPTY_FILTER_MESSAGE)}get filled(){return"string"==typeof this.value?!!this.value:this.value||null!=this.value||null!=this.value}get isVisibleClearIcon(){return null!=this.value&&""!==this.value&&this.showClear&&!this.disabled}updateEditableLabel(){this.editableInputViewChild&&this.editableInputViewChild.nativeElement&&(this.editableInputViewChild.nativeElement.value=this.selectedOption?this.getOptionLabel(this.selectedOption):this.value||"")}getOptionLabel(e){return this.optionLabel?St.resolveFieldData(e,this.optionLabel):e&&void 0!==e.label?e.label:e}getOptionValue(e){return this.optionValue?St.resolveFieldData(e,this.optionValue):!this.optionLabel&&e&&void 0!==e.value?e.value:e}isOptionDisabled(e){return this.optionDisabled?St.resolveFieldData(e,this.optionDisabled):!(!e||void 0===e.disabled)&&e.disabled}getOptionGroupLabel(e){return this.optionGroupLabel?St.resolveFieldData(e,this.optionGroupLabel):e&&void 0!==e.label?e.label:e}getOptionGroupChildren(e){return this.optionGroupChildren?St.resolveFieldData(e,this.optionGroupChildren):e.items}onItemClick(e){const i=e.option;this.isOptionDisabled(i)||(this.selectItem(e.originalEvent,i),this.accessibleViewChild.nativeElement.focus({preventScroll:!0})),setTimeout(()=>{this.hide()},1)}selectItem(e,i){this.selectedOption!=i&&(this.selectedOption=i,this.value=this.getOptionValue(i),this.onModelChange(this.value),this.updateEditableLabel(),this.onChange.emit({originalEvent:e,value:this.value}))}ngAfterViewChecked(){if(this.optionsChanged&&this.overlayVisible&&(this.optionsChanged=!1,this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.overlayViewChild&&this.overlayViewChild.alignOverlay()},1)})),this.selectedOptionUpdated&&this.itemsWrapper){let e=Le.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,"li.p-highlight");e&&Le.scrollInView(this.itemsWrapper,e),this.selectedOptionUpdated=!1}}writeValue(e){this.filter&&this.resetFilter(),this.value=e,this.updateSelectedOption(e),this.updateEditableLabel(),this.cd.markForCheck()}resetFilter(){this._filterValue=null,this.filterViewChild&&this.filterViewChild.nativeElement&&(this.filterViewChild.nativeElement.value=""),this.optionsToDisplay=this.options}updateSelectedOption(e){this.selectedOption=this.findOption(e,this.optionsToDisplay),this.autoDisplayFirst&&!this.placeholder&&!this.selectedOption&&this.optionsToDisplay&&this.optionsToDisplay.length&&!this.editable&&(this.selectedOption=this.group?this.optionsToDisplay[0].items[0]:this.optionsToDisplay[0],this.value=this.getOptionValue(this.selectedOption),this.onModelChange(this.value)),this.selectedOptionUpdated=!0}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onMouseclick(e){this.disabled||this.readonly||this.isInputClick(e)||(this.onClick.emit(e),this.accessibleViewChild.nativeElement.focus({preventScroll:!0}),this.overlayVisible?this.hide():this.show(),this.cd.detectChanges())}isInputClick(e){return Le.hasClass(e.target,"p-dropdown-clear-icon")||e.target.isSameNode(this.accessibleViewChild.nativeElement)||this.editableInputViewChild&&e.target.isSameNode(this.editableInputViewChild.nativeElement)}isEmpty(){return!this.optionsToDisplay||this.optionsToDisplay&&0===this.optionsToDisplay.length}onEditableInputFocus(e){this.focused=!0,this.hide(),this.onFocus.emit(e)}onEditableInputChange(e){this.value=e.target.value,this.updateSelectedOption(this.value),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value})}show(){this.overlayVisible=!0,this.cd.markForCheck()}onOverlayAnimationStart(e){if("visible"===e.toState){if(this.itemsWrapper=Le.findSingle(this.overlayViewChild.overlayViewChild.nativeElement,this.virtualScroll?".p-scroller":".p-dropdown-items-wrapper"),this.virtualScroll&&this.scroller.setContentEl(this.itemsViewChild.nativeElement),this.options&&this.options.length)if(this.virtualScroll){const i=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;-1!==i&&this.scroller.scrollToIndex(i)}else{let i=Le.findSingle(this.itemsWrapper,".p-dropdown-item.p-highlight");i&&i.scrollIntoView({block:"nearest",inline:"center"})}this.filterViewChild&&this.filterViewChild.nativeElement&&(this.preventModelTouched=!0,this.autofocusFilter&&this.filterViewChild.nativeElement.focus()),this.onShow.emit(e)}"void"===e.toState&&(this.itemsWrapper=null,this.onModelTouched(),this.onHide.emit(e))}hide(){this.overlayVisible=!1,this.filter&&this.resetFilterOnHide&&this.resetFilter(),this.cd.markForCheck()}onInputFocus(e){this.focused=!0,this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),this.preventModelTouched||this.onModelTouched(),this.preventModelTouched=!1}findPrevEnabledOption(e){let i;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let s=e-1;0<=s;s--){let l=this.optionsToDisplay[s];if(!this.isOptionDisabled(l)){i=l;break}}if(!i)for(let s=this.optionsToDisplay.length-1;s>=e;s--){let l=this.optionsToDisplay[s];if(!this.isOptionDisabled(l)){i=l;break}}}return i}findNextEnabledOption(e){let i;if(this.optionsToDisplay&&this.optionsToDisplay.length){for(let s=e+1;s<this.optionsToDisplay.length;s++){let l=this.optionsToDisplay[s];if(!this.isOptionDisabled(l)){i=l;break}}if(!i)for(let s=0;s<e;s++){let l=this.optionsToDisplay[s];if(!this.isOptionDisabled(l)){i=l;break}}}return i}onKeydown(e,i){if(!this.readonly&&this.optionsToDisplay&&null!==this.optionsToDisplay.length)switch(e.which){case 40:if(!this.overlayVisible&&e.altKey)this.show();else if(this.group){let s=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==s){let l=s.itemIndex+1;l<this.getOptionGroupChildren(this.optionsToDisplay[s.groupIndex]).length?(this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[s.groupIndex])[l]),this.selectedOptionUpdated=!0):this.optionsToDisplay[s.groupIndex+1]&&(this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[s.groupIndex+1])[0]),this.selectedOptionUpdated=!0)}else this.optionsToDisplay&&this.optionsToDisplay.length>0&&this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[0])[0])}else{let s=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,l=this.findNextEnabledOption(s);l&&(this.selectItem(e,l),this.selectedOptionUpdated=!0)}e.preventDefault();break;case 38:if(this.group){let s=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;if(-1!==s){let l=s.itemIndex-1;if(l>=0)this.selectItem(e,this.getOptionGroupChildren(this.optionsToDisplay[s.groupIndex])[l]),this.selectedOptionUpdated=!0;else if(l<0){let h=this.optionsToDisplay[s.groupIndex-1];h&&(this.selectItem(e,this.getOptionGroupChildren(h)[this.getOptionGroupChildren(h).length-1]),this.selectedOptionUpdated=!0)}}}else{let s=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1,l=this.findPrevEnabledOption(s);l&&(this.selectItem(e,l),this.selectedOptionUpdated=!0)}e.preventDefault();break;case 32:i&&(this.overlayVisible?this.hide():this.show(),e.preventDefault());break;case 13:this.overlayVisible&&(!this.filter||this.optionsToDisplay&&this.optionsToDisplay.length>0)?this.hide():this.overlayVisible||this.show(),e.preventDefault();break;case 27:case 9:this.hide();break;default:i&&!e.metaKey&&17!==e.which&&this.search(e)}}search(e){this.searchTimeout&&clearTimeout(this.searchTimeout);const i=e.key;let s;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=i,this.searchValue=this.previousSearchChar===this.currentSearchChar?this.currentSearchChar:this.searchValue?this.searchValue+i:i,this.group){let l=this.selectedOption?this.findOptionGroupIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):{groupIndex:0,itemIndex:0};s=this.searchOptionWithinGroup(l)}else{let l=this.selectedOption?this.findOptionIndex(this.getOptionValue(this.selectedOption),this.optionsToDisplay):-1;s=this.searchOption(++l)}s&&!this.isOptionDisabled(s)&&(this.selectItem(e,s),this.selectedOptionUpdated=!0),this.searchTimeout=setTimeout(()=>{this.searchValue=null},250)}searchOption(e){let i;return this.searchValue&&(i=this.searchOptionInRange(e,this.optionsToDisplay.length),i||(i=this.searchOptionInRange(0,e))),i}searchOptionInRange(e,i){for(let s=e;s<i;s++){let l=this.optionsToDisplay[s];if(this.getOptionLabel(l).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(l))return l}return null}searchOptionWithinGroup(e){if(this.searchValue){for(let s=e.groupIndex;s<this.optionsToDisplay.length;s++)for(let l=e.groupIndex===s?e.itemIndex+1:0;l<this.getOptionGroupChildren(this.optionsToDisplay[s]).length;l++){let h=this.getOptionGroupChildren(this.optionsToDisplay[s])[l];if(this.getOptionLabel(h).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(h))return h}for(let s=0;s<=e.groupIndex;s++)for(let l=0;l<(e.groupIndex===s?e.itemIndex:this.getOptionGroupChildren(this.optionsToDisplay[s]).length);l++){let h=this.getOptionGroupChildren(this.optionsToDisplay[s])[l];if(this.getOptionLabel(h).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))&&!this.isOptionDisabled(h))return h}}return null}findOptionIndex(e,i){let s=-1;if(i)for(let l=0;l<i.length;l++)if(null==e&&null==this.getOptionValue(i[l])||St.equals(e,this.getOptionValue(i[l]),this.dataKey)){s=l;break}return s}findOptionGroupIndex(e,i){let s,l;if(i)for(let h=0;h<i.length&&(s=h,l=this.findOptionIndex(e,this.getOptionGroupChildren(i[h])),-1===l);h++);return-1!==l?{groupIndex:s,itemIndex:l}:-1}findOption(e,i,s){if(this.group&&!s){let l;if(i&&i.length)for(let h of i)if(l=this.findOption(e,this.getOptionGroupChildren(h),!0),l)break;return l}{let l=this.findOptionIndex(e,i);return-1!=l?i[l]:null}}onFilterInputChange(e){let i=e.target.value.trim();i&&i.length?(this._filterValue=i,this.activateFilter()):(this._filterValue=null,this.optionsToDisplay=this.options),this.virtualScroll&&this.scroller.scrollToIndex(0),this.optionsChanged=!0,this.onFilter.emit({originalEvent:e,filter:this._filterValue})}activateFilter(){let e=(this.filterBy||this.optionLabel||"label").split(",");if(this.options&&this.options.length){if(this.group){let i=[];for(let s of this.options){let l=this.filterService.filter(this.getOptionGroupChildren(s),e,this.filterValue,this.filterMatchMode,this.filterLocale);l&&l.length&&i.push({...s,[this.optionGroupChildren]:l})}this.optionsToDisplay=i}else this.optionsToDisplay=this.filterService.filter(this.options,e,this.filterValue,this.filterMatchMode,this.filterLocale);this.optionsChanged=!0}}applyFocus(){this.editable?Le.findSingle(this.el.nativeElement,".p-dropdown-label.p-inputtext").focus():Le.findSingle(this.el.nativeElement,"input[readonly]").focus()}focus(){this.applyFocus()}clear(e){this.value=null,this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}),this.updateSelectedOption(this.value),this.updateEditableLabel(),this.onClear.emit(e)}}return t.\u0275fac=function(e){return new(e||t)(Ce(An),Ce(Lo),Ce(Mi),Ce(yn),Ce(h9),Ce(Rf))},t.\u0275cmp=Ct({type:t,selectors:[["p-dropdown"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},viewQuery:function(e,i){if(1&e&&(Pn(bK,5),Pn(vK,5),Pn(yK,5),Pn(kK,5),Pn(wK,5),Pn(CK,5),Pn(AK,5)),2&e){let s;zt(s=jt())&&(i.containerViewChild=s.first),zt(s=jt())&&(i.filterViewChild=s.first),zt(s=jt())&&(i.accessibleViewChild=s.first),zt(s=jt())&&(i.editableInputViewChild=s.first),zt(s=jt())&&(i.itemsViewChild=s.first),zt(s=jt())&&(i.scroller=s.first),zt(s=jt())&&(i.overlayViewChild=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:4,hostBindings:function(e,i){2&e&&Wi("p-inputwrapper-filled",i.filled)("p-inputwrapper-focus",i.focused||i.overlayVisible)},inputs:{scrollHeight:"scrollHeight",filter:"filter",name:"name",style:"style",panelStyle:"panelStyle",styleClass:"styleClass",panelStyleClass:"panelStyleClass",readonly:"readonly",required:"required",editable:"editable",appendTo:"appendTo",tabindex:"tabindex",placeholder:"placeholder",filterPlaceholder:"filterPlaceholder",filterLocale:"filterLocale",inputId:"inputId",selectId:"selectId",dataKey:"dataKey",filterBy:"filterBy",autofocus:"autofocus",resetFilterOnHide:"resetFilterOnHide",dropdownIcon:"dropdownIcon",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",optionGroupLabel:"optionGroupLabel",optionGroupChildren:"optionGroupChildren",autoDisplayFirst:"autoDisplayFirst",group:"group",showClear:"showClear",emptyFilterMessage:"emptyFilterMessage",emptyMessage:"emptyMessage",lazy:"lazy",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",overlayOptions:"overlayOptions",ariaFilterLabel:"ariaFilterLabel",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",filterMatchMode:"filterMatchMode",maxlength:"maxlength",tooltip:"tooltip",tooltipPosition:"tooltipPosition",tooltipPositionStyle:"tooltipPositionStyle",tooltipStyleClass:"tooltipStyleClass",autofocusFilter:"autofocusFilter",overlayDirection:"overlayDirection",disabled:"disabled",itemSize:"itemSize",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",options:"options",filterValue:"filterValue"},outputs:{onChange:"onChange",onFilter:"onFilter",onFocus:"onFocus",onBlur:"onBlur",onClick:"onClick",onShow:"onShow",onHide:"onHide",onClear:"onClear",onLazyLoad:"onLazyLoad"},features:[Pt([DZ])],decls:15,vars:33,consts:[[3,"ngClass","ngStyle","click"],["container",""],[1,"p-hidden-accessible"],["type","text","readonly","","aria-haspopup","listbox","aria-haspopup","listbox","pAutoFocus","","role","combobox",3,"disabled","autofocus","focus","blur","keydown"],["in",""],[3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass",4,"ngIf"],[3,"ngClass",4,"ngIf"],["type","text","class","p-dropdown-label p-inputtext","aria-haspopup","listbox",3,"disabled","input","focus","blur",4,"ngIf"],[4,"ngIf"],["role","button","aria-label","dropdown trigger","aria-haspopup","listbox",1,"p-dropdown-trigger"],["class","p-dropdown-trigger-icon",4,"ngIf"],[3,"visible","options","target","appendTo","autoZIndex","baseZIndex","showTransitionOptions","hideTransitionOptions","visibleChange","onAnimationStart","onHide"],["overlay",""],["pTemplate","content"],[3,"ngClass","pTooltip","tooltipPosition","positionStyle","tooltipStyleClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],["type","text","aria-haspopup","listbox",1,"p-dropdown-label","p-inputtext",3,"disabled","input","focus","blur"],["editableInput",""],[3,"styleClass","click",4,"ngIf"],["class","p-dropdown-clear-icon",3,"click",4,"ngIf"],[3,"styleClass","click"],[1,"p-dropdown-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["class","p-dropdown-trigger-icon",3,"ngClass",4,"ngIf"],[3,"styleClass",4,"ngIf"],[1,"p-dropdown-trigger-icon",3,"ngClass"],[3,"styleClass"],[1,"p-dropdown-trigger-icon"],[3,"ngClass","ngStyle"],["class","p-dropdown-header",3,"click",4,"ngIf"],[1,"p-dropdown-items-wrapper"],[3,"items","style","itemSize","autoSize","lazy","options","onLazyLoad",4,"ngIf"],["buildInItems",""],[1,"p-dropdown-header",3,"click"],[4,"ngIf","ngIfElse"],["builtInFilterElement",""],[1,"p-dropdown-filter-container"],["type","text","autocomplete","off",1,"p-dropdown-filter","p-inputtext","p-component",3,"value","keydown.enter","keydown","input"],["filter",""],["class","p-dropdown-filter-icon",4,"ngIf"],[1,"p-dropdown-filter-icon"],[3,"items","itemSize","autoSize","lazy","options","onLazyLoad"],["scroller",""],["pTemplate","loader"],["role","listbox",1,"p-dropdown-items",3,"ngClass"],["items",""],["itemslist",""],["class","p-dropdown-empty-message",3,"ngStyle",4,"ngIf"],["ngFor","",3,"ngForOf"],[1,"p-dropdown-item-group",3,"ngStyle"],[3,"option","selected","label","disabled","template","onClick"],[1,"p-dropdown-empty-message",3,"ngStyle"],["emptyFilter",""],["empty",""]],template:function(e,i){1&e&&(ne(0,"div",0,1),We("click",function(l){return i.onMouseclick(l)}),ne(2,"div",2)(3,"input",3,4),We("focus",function(l){return i.onInputFocus(l)})("blur",function(l){return i.onInputBlur(l)})("keydown",function(l){return i.onKeydown(l,!0)}),re()(),J(5,xK,3,13,"span",5),J(6,SK,2,4,"span",6),J(7,IK,2,4,"input",7),J(8,RK,3,2,"ng-container",8),ne(9,"div",9),J(10,jK,3,2,"ng-container",8),J(11,HK,2,1,"span",10),re(),ne(12,"p-overlay",11,12),We("visibleChange",function(l){return i.overlayVisible=l})("onAnimationStart",function(l){return i.onOverlayAnimationStart(l)})("onHide",function(){return i.hide()}),J(14,AZ,9,11,"ng-template",13),re()()),2&e&&(Mt(i.styleClass),H("ngClass",tc(28,MZ,i.disabled,i.overlayVisible,i.focused,i.showClear&&!i.disabled))("ngStyle",i.style),G(3),H("disabled",i.disabled)("autofocus",i.autofocus),mt("id",i.inputId)("placeholder",i.placeholder)("aria-label",i.ariaLabel)("aria-expanded",!1)("aria-labelledby",i.ariaLabelledBy)("tabindex",i.tabindex)("aria-activedescendant",i.overlayVisible?i.labelId:null),G(2),H("ngIf",!i.editable&&null!=i.label),G(1),H("ngIf",!i.editable&&null==i.label),G(1),H("ngIf",i.editable),G(1),H("ngIf",i.isVisibleClearIcon),G(1),mt("aria-expanded",i.overlayVisible),G(1),H("ngIf",!i.dropdownIconTemplate),G(1),H("ngIf",i.dropdownIconTemplate),G(1),H("visible",i.overlayVisible)("options",i.overlayOptions)("target","@parent")("appendTo",i.appendTo)("autoZIndex",i.autoZIndex)("baseZIndex",i.baseZIndex)("showTransitionOptions",i.showTransitionOptions)("hideTransitionOptions",i.hideTransitionOptions))},dependencies:function(){return[ao,Zr,Ei,Xi,Mo,k9,co,M9,A9,b9,Jr,jk,y9,TZ]},styles:[".p-dropdown{display:inline-flex;cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.p-dropdown-clear-icon{position:absolute;top:50%;margin-top:-.5rem}.p-dropdown-trigger{display:flex;align-items:center;justify-content:center;flex-shrink:0}.p-dropdown-label{display:block;white-space:nowrap;overflow:hidden;flex:1 1 auto;width:1%;text-overflow:ellipsis;cursor:pointer}.p-dropdown-label-empty{overflow:hidden;visibility:hidden}input.p-dropdown-label{cursor:default}.p-dropdown-items-wrapper{overflow:auto}.p-dropdown-item{cursor:pointer;font-weight:400;white-space:nowrap;position:relative;overflow:hidden}.p-dropdown-items{margin:0;padding:0;list-style-type:none}.p-dropdown-filter{width:100%}.p-dropdown-filter-container{position:relative}.p-dropdown-filter-icon{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-dropdown{display:flex}.p-fluid .p-dropdown .p-dropdown-label{width:1%}\n"],encapsulation:2,changeDetection:0}),t})(),$T=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,w9,Ki,Y5,sh,WT,v9,Jr,jk,y9,w9,Ki,WT]}),t})();const qT=new pt("ngx-mask config"),E9=new pt("new ngx-mask config"),S9=new pt("initial ngx-mask config"),xZ={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:void 0,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:t=>t,outputTransformFn:t=>t,maskFilled:new Qe,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}},EZ=["Hh:m0:s0","Hh:m0","m0:s0"],SZ=["percent","Hh","s0","m0","separator","d0/M0/0000","d0/M0","d0","M0"];let IZ=(()=>{class t{constructor(){this._config=_t(qT),this.dropSpecialCharacters=this._config.dropSpecialCharacters,this.hiddenInput=this._config.hiddenInput,this.clearIfNotMatch=this._config.clearIfNotMatch,this.specialCharacters=this._config.specialCharacters,this.patterns=this._config.patterns,this.prefix=this._config.prefix,this.suffix=this._config.suffix,this.thousandSeparator=this._config.thousandSeparator,this.decimalMarker=this._config.decimalMarker,this.showMaskTyped=this._config.showMaskTyped,this.placeHolderCharacter=this._config.placeHolderCharacter,this.validation=this._config.validation,this.separatorLimit=this._config.separatorLimit,this.allowNegativeNumbers=this._config.allowNegativeNumbers,this.leadZeroDateTime=this._config.leadZeroDateTime,this.leadZero=this._config.leadZero,this.apm=this._config.apm,this.inputTransformFn=this._config.inputTransformFn,this.outputTransformFn=this._config.outputTransformFn,this.keepCharacterPositions=this._config.keepCharacterPositions,this._shift=new Set,this.plusOnePosition=!1,this.maskExpression="",this.actualValue="",this.showKeepCharacterExp="",this.shownMaskExpression="",this.deletedSpecialCharacter=!1,this._formatWithSeparators=(e,i,s,l)=>{let h=[],m="";if(Array.isArray(s)){const oe=new RegExp(s.map(le=>"[\\^$.|?*+()".indexOf(le)>=0?`\\${le}`:le).join("|"));h=e.split(oe),m=e.match(oe)?.[0]??""}else h=e.split(s),m=s;const _=h.length>1?`${m}${h[1]}`:"";let w=h[0]??"";const N=this.separatorLimit.replace(/\s/g,"");N&&+N&&(w="-"===w[0]?`-${w.slice(1,w.length).slice(0,N.length)}`:w.slice(0,N.length));const $=/(\d+)(\d{3})/;for(;i&&$.test(w);)w=w.replace($,"$1"+i+"$2");return void 0===l?w+_:0===l?w:w+_.substring(0,l+1)},this.percentage=e=>{const i=e.replace(",","."),s=Number(i);return!isNaN(s)&&s>=0&&s<=100},this.getPrecision=e=>{const i=e.split(".");return i.length>1?Number(i[i.length-1]):1/0},this.checkAndRemoveSuffix=e=>{for(let i=this.suffix?.length-1;i>=0;i--){const s=this.suffix.substring(i,this.suffix?.length);if(e.includes(s)&&i!==this.suffix?.length-1&&(i-1<0||!e.includes(this.suffix.substring(i-1,this.suffix?.length))))return e.replace(s,"")}return e},this.checkInputPrecision=(e,i,s)=>{if(i<1/0){if(Array.isArray(s)){const _=s.find(w=>w!==this.thousandSeparator);s=_||s[0]}const l=new RegExp(this._charToRegExpExpression(s)+`\\d{${i}}.*$`),h=e.match(l),m=(h&&h[0]?.length)??0;m-1>i&&(e=e.substring(0,e.length-(m-1-i))),0===i&&this._compareOrIncludes(e[e.length-1],s,this.thousandSeparator)&&(e=e.substring(0,e.length-1))}return e}}applyMaskWithPattern(e,i){const[s,l]=i;return this.customPattern=l,this.applyMask(e,s)}applyMask(e,i,s=0,l=!1,h=!1,m=(()=>{})){if(!i||"string"!=typeof e)return"";let _=0,w="",N=!1,$=!1,oe=1,le=!1;e.slice(0,this.prefix.length)===this.prefix&&(e=e.slice(this.prefix.length,e.length)),this.suffix&&e?.length>0&&(e=this.checkAndRemoveSuffix(e)),"("===e&&this.prefix&&(e="");const ve=e.toString().split("");if(this.allowNegativeNumbers&&"-"===e.slice(_,_+1)&&(w+=e.slice(_,_+1)),"IP"===i){const tt=e.split(".");this.ipError=this._validIP(tt),i="099.099.099.099"}const we=[];for(let tt=0;tt<e.length;tt++)e[tt]?.match("\\d")&&we.push(e[tt]??"");if("CPF_CNPJ"===i&&(this.cpfCnpjError=11!==we.length&&14!==we.length,i=we.length>11?"00.000.000/0000-00":"000.000.000-00"),i.startsWith("percent")){if(e.match("[a-z]|[A-Z]")||e.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!h){e=this._stripToDecimal(e);const Nt=this.getPrecision(i);e=this.checkInputPrecision(e,Nt,this.decimalMarker)}const tt="string"==typeof this.decimalMarker?this.decimalMarker:".";if(e.indexOf(tt)>0&&!this.percentage(e.substring(0,e.indexOf(tt)))){let Nt=e.substring(0,e.indexOf(tt)-1);this.allowNegativeNumbers&&"-"===e.slice(_,_+1)&&!h&&(Nt=e.substring(0,e.indexOf(tt))),e=`${Nt}${e.substring(e.indexOf(tt),e.length)}`}let ut="";ut=this.allowNegativeNumbers&&"-"===e.slice(_,_+1)?e.slice(_+1,_+e.length):e,w=this.percentage(ut)?this._splitPercentZero(e):this._splitPercentZero(e.substring(0,e.length-1))}else if(i.startsWith("separator")){(e.match("[w\u0430-\u044f\u0410-\u042f]")||e.match("[\u0401\u0451\u0410-\u044f]")||e.match("[a-z]|[A-Z]")||e.match(/[-@#!$%\\^&*()_\xa3\xac'+|~=`{}\]:";<>.?/]/)||e.match("[^A-Za-z0-9,]"))&&(e=this._stripToDecimal(e));const tt=this.getPrecision(i),ut=Array.isArray(this.decimalMarker)?".":this.decimalMarker;0===tt?e=this.allowNegativeNumbers?e.length>2&&"-"===e[0]&&"0"===e[1]&&e[2]!==this.thousandSeparator&&","!==e[2]&&"."!==e[2]?"-"+e.slice(2,e.length):"0"===e[0]&&e.length>1&&e[1]!==this.thousandSeparator&&","!==e[1]&&"."!==e[1]?e.slice(1,e.length):e:e.length>1&&"0"===e[0]&&e[1]!==this.thousandSeparator&&","!==e[1]&&"."!==e[1]?e.slice(1,e.length):e:(e[0]===ut&&e.length>1&&(e="0"+e.slice(0,e.length+1),this.plusOnePosition=!0),"0"===e[0]&&e[1]!==ut&&e[1]!==this.thousandSeparator&&(e=e.length>1?e.slice(0,1)+ut+e.slice(1,e.length+1):e,this.plusOnePosition=!0),this.allowNegativeNumbers&&"-"===e[0]&&(e[1]===ut||"0"===e[1])&&(e=e[1]===ut&&e.length>2?e.slice(0,1)+"0"+e.slice(1,e.length):"0"===e[1]&&e.length>2&&e[2]!==ut?e.slice(0,2)+ut+e.slice(2,e.length):e,this.plusOnePosition=!0)),h&&("0"===e[0]&&e[1]===this.decimalMarker&&("0"===e[s]||e[s]===this.decimalMarker)&&(e=e.slice(2,e.length)),"-"===e[0]&&"0"===e[1]&&e[2]===this.decimalMarker&&("0"===e[s]||e[s]===this.decimalMarker)&&(e="-"+e.slice(3,e.length)),e=this._compareOrIncludes(e[e.length-1],this.decimalMarker,this.thousandSeparator)?e.slice(0,e.length-1):e);const Nt=this._charToRegExpExpression(this.thousandSeparator);let qt='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Nt,"");if(Array.isArray(this.decimalMarker))for(const es of this.decimalMarker)qt=qt.replace(this._charToRegExpExpression(es),"");else qt=qt.replace(this._charToRegExpExpression(this.decimalMarker),"");const En=new RegExp("["+qt+"]");e.match(En)&&(e=e.substring(0,e.length-1));const Vn=(e=this.checkInputPrecision(e,tt,this.decimalMarker)).replace(new RegExp(Nt,"g"),"");w=this._formatWithSeparators(Vn,this.thousandSeparator,this.decimalMarker,tt);const Zi=w.indexOf(",")-e.indexOf(","),Do=w.length-e.length;if(Do>0&&w[s]!==this.thousandSeparator){$=!0;let es=0;do{this._shift.add(s+es),es++}while(es<Do)}else w[s-1]===this.decimalMarker||-4===Do||-3===Do||","===w[s]?(this._shift.clear(),this._shift.add(s-1)):0!==Zi&&s>0&&!(w.indexOf(",")>=s&&s>3)||!(w.indexOf(".")>=s&&s>3)&&Do<=0?(this._shift.clear(),$=!0,oe=Do,this._shift.add(s+=Do)):this._shift.clear()}else for(let tt=0,ut=ve[0];tt<ve.length&&_!==i.length;tt++,ut=ve[tt]??""){const Nt="*"in this.patterns;if(this._checkSymbolMask(ut,i[_]??"")&&"?"===i[_+1])w+=ut,_+=2;else if("*"===i[_+1]&&N&&this._checkSymbolMask(ut,i[_+2]??""))w+=ut,_+=3,N=!1;else if(this._checkSymbolMask(ut,i[_]??"")&&"*"===i[_+1]&&!Nt)w+=ut,N=!0;else if("?"===i[_+1]&&this._checkSymbolMask(ut,i[_+2]??""))w+=ut,_+=3;else if(this._checkSymbolMask(ut,i[_]??"")){if("H"===i[_]&&(this.apm?Number(ut)>9:Number(ut)>2)){s=this.leadZeroDateTime?s:s+1,_+=1,this._shiftStep(i,_,ve.length),tt--,this.leadZeroDateTime&&(w+="0");continue}if("h"===i[_]&&(this.apm?1===w.length&&Number(w)>1||"1"===w&&Number(ut)>2||1===e.slice(_-1,_).length&&Number(e.slice(_-1,_))>2||"1"===e.slice(_-1,_)&&Number(ut)>2:"2"===w&&Number(ut)>3||("2"===w.slice(_-2,_)||"2"===w.slice(_-3,_)||"2"===w.slice(_-4,_)||"2"===w.slice(_-1,_))&&Number(ut)>3&&_>10)){s+=1,_+=1,tt--;continue}if(("m"===i[_]||"s"===i[_])&&Number(ut)>5){s=this.leadZeroDateTime?s:s+1,_+=1,this._shiftStep(i,_,ve.length),tt--,this.leadZeroDateTime&&(w+="0");continue}const qt=31,En=e[_],Vn=e[_+1],Zi=e[_+2],Do=e[_-1],es=e[_-2],Rd=e[_-3],uc=e.slice(_-3,_-1),$f=e.slice(_-1,_+1),Bt=e.slice(_,_+2),Qt=e.slice(_-2,_);if("d"===i[_]){const sn="M0"===i.slice(0,2),$n="M0"===i.slice(0,2)&&this.specialCharacters.includes(es);if(Number(ut)>3&&this.leadZeroDateTime||!sn&&(Number(Bt)>qt||Number($f)>qt||this.specialCharacters.includes(Vn))||($n?Number($f)>qt||!this.specialCharacters.includes(En)&&this.specialCharacters.includes(Zi)||this.specialCharacters.includes(En):Number(Bt)>qt||this.specialCharacters.includes(Vn))){s=this.leadZeroDateTime?s:s+1,_+=1,this._shiftStep(i,_,ve.length),tt--,this.leadZeroDateTime&&(w+="0");continue}}if("M"===i[_]){const $n=0===_&&(Number(ut)>2||Number(Bt)>12||this.specialCharacters.includes(Vn)),Bo=i.slice(_+2,_+3),$a=uc.includes(Bo)&&(this.specialCharacters.includes(es)&&Number($f)>12&&!this.specialCharacters.includes(En)||this.specialCharacters.includes(En)||this.specialCharacters.includes(Rd)&&Number(Qt)>12&&!this.specialCharacters.includes(Do)||this.specialCharacters.includes(Do)),ks=Number(uc)<=qt&&!this.specialCharacters.includes(uc)&&this.specialCharacters.includes(Do)&&(Number(Bt)>12||this.specialCharacters.includes(Vn)),hc=Number(Bt)>12&&5===_||this.specialCharacters.includes(Vn)&&5===_,ji=Number(uc)>qt&&!this.specialCharacters.includes(uc)&&!this.specialCharacters.includes(Qt)&&Number(Qt)>12,_x=Number(uc)<=qt&&!this.specialCharacters.includes(uc)&&!this.specialCharacters.includes(Do)&&Number($f)>12;if(Number(ut)>1&&this.leadZeroDateTime||$n||$a||_x||ji||ks||hc&&!this.leadZeroDateTime){s=this.leadZeroDateTime?s:s+1,_+=1,this._shiftStep(i,_,ve.length),tt--,this.leadZeroDateTime&&(w+="0");continue}}w+=ut,_++}else" "===ut&&" "===i[_]||"/"===ut&&"/"===i[_]?(w+=ut,_++):-1!==this.specialCharacters.indexOf(i[_]??"")?(w+=i[_],_++,this._shiftStep(i,_,ve.length),tt--):"9"===i[_]&&this.showMaskTyped?this._shiftStep(i,_,ve.length):this.patterns[i[_]??""]&&this.patterns[i[_]??""]?.optional?(ve[_]&&"099.099.099.099"!==i&&"000.000.000-00"!==i&&"00.000.000/0000-00"!==i&&!i.match(/^9+\.0+$/)&&!this.patterns[i[_]??""]?.optional&&(w+=ve[_]),i.includes("9*")&&i.includes("0*")&&_++,_++,tt--):"*"===this.maskExpression[_+1]&&this._findSpecialChar(this.maskExpression[_+2]??"")&&this._findSpecialChar(ut)===this.maskExpression[_+2]&&N||"?"===this.maskExpression[_+1]&&this._findSpecialChar(this.maskExpression[_+2]??"")&&this._findSpecialChar(ut)===this.maskExpression[_+2]&&N?(_+=3,w+=ut):this.showMaskTyped&&this.specialCharacters.indexOf(ut)<0&&ut!==this.placeHolderCharacter&&1===this.placeHolderCharacter.length&&(le=!0)}w.length+1===i.length&&-1!==this.specialCharacters.indexOf(i[i.length-1]??"")&&(w+=i[i.length-1]);let xe=s+1;for(;this._shift.has(xe);)oe++,xe++;let Ye=l&&!i.startsWith("separator")?_:this._shift.has(s)?oe:0;le&&Ye--,m(Ye,$),oe<0&&this._shift.clear();let Fe=!1;h&&(Fe=ve.every(tt=>this.specialCharacters.includes(tt)));let it=`${this.prefix}${Fe?"":w}${this.showMaskTyped?"":this.suffix}`;if(0===w.length&&(it=this.dropSpecialCharacters?`${w}`:`${this.prefix}${w}`),w.includes("-")&&this.prefix&&this.allowNegativeNumbers){if(h&&"-"===w)return"";it=`-${this.prefix}${w.split("-").join("")}${this.suffix}`}return it}_findDropSpecialChar(e){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(i=>i===e):this._findSpecialChar(e)}_findSpecialChar(e){return this.specialCharacters.find(i=>i===e)}_checkSymbolMask(e,i){return this.patterns=this.customPattern?this.customPattern:this.patterns,(this.patterns[i]?.pattern&&this.patterns[i]?.pattern.test(e))??!1}_stripToDecimal(e){return e.split("").filter((i,s)=>{const l="string"==typeof this.decimalMarker?i===this.decimalMarker:this.decimalMarker.includes(i);return i.match("^-?\\d")||i===this.thousandSeparator||l||"-"===i&&0===s&&this.allowNegativeNumbers}).join("")}_charToRegExpExpression(e){return e&&(" "===e?"\\s":"[\\^$.|?*+()".indexOf(e)>=0?`\\${e}`:e)}_shiftStep(e,i,s){const l=/[*?]/g.test(e.slice(0,i))?s:i;this._shift.add(l+this.prefix.length||0)}_compareOrIncludes(e,i,s){return Array.isArray(i)?i.filter(l=>l!==s).includes(e):e===i}_validIP(e){return!(4===e.length&&!e.some((i,s)=>e.length!==s+1?""===i||Number(i)>255:""===i||Number(i.substring(0,3))>255))}_splitPercentZero(e){const i=e.indexOf("string"==typeof this.decimalMarker?this.decimalMarker:".");if(-1===i){const s=parseInt(e,10);return isNaN(s)?"":s.toString()}{const s=parseInt(e.substring(0,i),10),l=e.substring(i+1),h=isNaN(s)?"":s.toString();return""===h?"":h+("string"==typeof this.decimalMarker?this.decimalMarker:".")+l}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})(),$5=(()=>{class t extends IZ{constructor(){super(...arguments),this.isNumberValue=!1,this.maskIsShown="",this.selStart=null,this.selEnd=null,this.writingValue=!1,this.maskChanged=!1,this._maskExpressionArray=[],this.triggerOnMaskChange=!1,this._previousValue="",this._currentValue="",this._emitValue=!1,this.onChange=e=>{},this._elementRef=_t(An,{optional:!0}),this.document=_t(Hn),this._config=_t(qT),this._renderer=_t(Lo,{optional:!0})}applyMask(e,i,s=0,l=!1,h=!1,m=(()=>{})){if(!i)return e!==this.actualValue?this.actualValue:e;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():"","IP"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(e||"#")),"CPF_CNPJ"===this.maskExpression&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(e||"#")),!e&&this.showMaskTyped)return this.formControlResult(this.prefix),this.prefix+this.maskIsShown+this.suffix;const _=e&&"number"==typeof this.selStart?e[this.selStart]??"":"";let w="";if(void 0!==this.hiddenInput&&!this.writingValue){let le=e&&1===e.length?e.split(""):this.actualValue.split("");"object"==typeof this.selStart&&"object"==typeof this.selEnd?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):""!==e&&le.length?"number"==typeof this.selStart&&"number"==typeof this.selEnd&&(e.length>le.length?le.splice(this.selStart,0,_):e.length<le.length&&(le.length-e.length==1?le.splice(h?this.selStart-1:e.length-1,1):le.splice(this.selStart,this.selEnd-this.selStart))):le=[],this.showMaskTyped&&(this.hiddenInput||(e=this.removeMask(e))),w=this.actualValue.length&&le.length<=e.length?this.shiftTypedSymbols(le.join("")):e}if(l&&(this.hiddenInput||!this.hiddenInput)&&(w=e),h&&-1!==this.specialCharacters.indexOf(this.maskExpression[s]??"")&&this.showMaskTyped&&(w=this._currentValue),this.deletedSpecialCharacter&&s&&(this.specialCharacters.includes(this.actualValue.slice(s,s+1))?s+=1:"M0"!==i.slice(s-1,s+1)&&(s-=2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&1===this.placeHolderCharacter.length&&!this.leadZeroDateTime&&(e=this.removeMask(e)),w=this.maskChanged?e:w&&w.length?w:e,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l){const le=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(le),this.actualValue?this.actualValue:this.prefix+this.maskIsShown+this.suffix}const N=super.applyMask(w,i,s,l,h,m);if(this.actualValue=this.getActualValue(N),"."===this.thousandSeparator&&"."===this.decimalMarker&&(this.decimalMarker=","),this.maskExpression.startsWith("separator")&&!0===this.dropSpecialCharacters&&(this.specialCharacters=this.specialCharacters.filter(le=>!this._compareOrIncludes(le,this.decimalMarker,this.thousandSeparator))),(N||""===N)&&(this._previousValue=this._currentValue,this._currentValue=N,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this._previousValue===this._currentValue&&l),this._emitValue&&this.formControlResult(N),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?h?this.hideInput(N,this.maskExpression):this.hideInput(N,this.maskExpression)+this.maskIsShown.slice(N.length):N;const $=N.length,oe=this.prefix+this.maskIsShown+this.suffix;if(this.maskExpression.includes("H")){const le=this._numberSkipedSymbols(N);return N+oe.slice($+le)}return"IP"===this.maskExpression||"CPF_CNPJ"===this.maskExpression?N+oe:N+oe.slice($)}_numberSkipedSymbols(e){const i=/(^|\D)(\d\D)/g;let s=i.exec(e),l=0;for(;null!=s;)l+=1,s=i.exec(e);return l}applyValueChanges(e,i,s,l=(()=>{})){const h=this._elementRef?.nativeElement;h&&(h.value=this.applyMask(h.value,this.maskExpression,e,i,s,l),h!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(e,i){return e.split("").map((s,l)=>this.patterns&&this.patterns[i[l]??""]&&this.patterns[i[l]??""]?.symbol?this.patterns[i[l]??""]?.symbol:s).join("")}getActualValue(e){const i=e.split("").filter((s,l)=>{const h=this.maskExpression[l]??"";return this._checkSymbolMask(s,h)||this.specialCharacters.includes(h)&&s===h});return i.join("")===e?i.join(""):e}shiftTypedSymbols(e){let i="";return(e&&e.split("").map((l,h)=>{if(this.specialCharacters.includes(e[h+1]??"")&&e[h+1]!==this.maskExpression[h+1])return i=l,e[h+1];if(i.length){const m=i;return i="",m}return l})||[]).join("")}numberToString(e){return!e&&0!==e||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith("separator")&&this.separatorLimit.length>14&&String(e).length>14?String(e):Number(e).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace("/-/","-")}showMaskInInput(e){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}if(this.showMaskTyped){if(e){if("IP"===this.maskExpression)return this._checkForIp(e);if("CPF_CNPJ"===this.maskExpression)return this._checkForCpfCnpj(e)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){const e=this._elementRef?.nativeElement;e&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==e.value.replace(this.placeHolderCharacter,"").length&&(this.formElementProperty=["value",""],this.applyMask("",this.maskExpression))}set formElementProperty([e,i]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>this._renderer?.setProperty(this._elementRef?.nativeElement,e,i))}checkDropSpecialCharAmount(e){return e.split("").filter(s=>this._findDropSpecialChar(s)).length}removeMask(e){return this._removeMask(this._removeSuffix(this._removePrefix(e)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(e){if("#"===e)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;const i=[];for(let s=0;s<e.length;s++){const l=e[s]??"";l&&l.match("\\d")&&i.push(l)}return i.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>3&&i.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:i.length>6&&i.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(e){const i=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,s=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if("#"===e)return i;const l=[];for(let h=0;h<e.length;h++){const m=e[h]??"";m&&m.match("\\d")&&l.push(m)}return l.length<=3?i.slice(l.length,i.length):l.length>3&&l.length<=6?i.slice(l.length+1,i.length):l.length>6&&l.length<=9?i.slice(l.length+2,i.length):l.length>9&&l.length<11?i.slice(l.length+3,i.length):11===l.length?"":12===l.length?s.slice(17===e.length?16:15,s.length):l.length>12&&l.length<=14?s.slice(l.length+4,s.length):""}_getActiveElement(e=this.document){const i=e?.activeElement?.shadowRoot;return i?.activeElement?this._getActiveElement(i):e.activeElement}formControlResult(e){if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged)return this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(e)))))),void(this.maskChanged=!1);Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(e)),this.dropSpecialCharacters))))):this.onChange(this.outputTransformFn(this._toNumber(this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===e?this._checkSymbols(this._removeSuffix(this._removePrefix(e))):e)))}_toNumber(e){if(!this.isNumberValue||""===e||this.maskExpression.startsWith("separator")&&(this.leadZero||!this.dropSpecialCharacters))return e;if(String(e).length>16&&this.separatorLimit.length>14)return String(e);const i=Number(e);if(this.maskExpression.startsWith("separator")&&Number.isNaN(i)){const s=String(e).replace(",",".");return Number(s)}return Number.isNaN(i)?e:i}_removeMask(e,i){return this.maskExpression.startsWith("percent")&&e.includes(".")?e:e&&e.replace(this._regExpForRemove(i),"")}_removePrefix(e){return this.prefix?e&&e.replace(this.prefix,""):e}_removeSuffix(e){return this.suffix?e&&e.replace(this.suffix,""):e}_retrieveSeparatorValue(e){let i=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(s=>this.dropSpecialCharacters.includes(s)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&e.includes(" ")&&this.maskExpression.includes("*")&&(i=i.filter(s=>" "!==s)),this._removeMask(e,i)}_regExpForRemove(e){return new RegExp(e.map(i=>`\\${i}`).join("|"),"gi")}_replaceDecimalMarkerToDot(e){const i=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return e.replace(this._regExpForRemove(i),".")}_checkSymbols(e){if(""===e)return e;this.maskExpression.startsWith("percent")&&","===this.decimalMarker&&(e=e.replace(",","."));const i=this._retrieveSeparatorPrecision(this.maskExpression),s=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(e));return this.isNumberValue&&i?e===this.decimalMarker?null:this.separatorLimit.length>14?String(s):this._checkPrecision(this.maskExpression,s):s}_checkPatternForSpace(){for(const e in this.patterns)if(this.patterns[e]&&this.patterns[e]?.hasOwnProperty("pattern")){const i=this.patterns[e]?.pattern.toString(),s=this.patterns[e]?.pattern;if(i?.includes(" ")&&s?.test(this.maskExpression))return!0}return!1}_retrieveSeparatorPrecision(e){const i=e.match(new RegExp("^separator\\.([^d]*)"));return i?Number(i[1]):null}_checkPrecision(e,i){const s=e.slice(10,11);return e.indexOf("2")>0||this.leadZero&&Number(s)>1?(","===this.decimalMarker&&this.leadZero&&(i=i.replace(",",".")),this.leadZero?Number(i).toFixed(Number(s)):Number(i).toFixed(2)):this.numberToString(i)}_repeatPatternSymbols(e){return e.match(/{[0-9]+}/)&&e.split("").reduce((i,s,l)=>{if(this._start="{"===s?l:this._start,"}"!==s)return this._findSpecialChar(s)?i+s:i;this._end=l;const h=Number(e.slice(this._start+1,this._end)),m=new Array(h+1).join(e[this._start-1]);if(e.slice(0,this._start).length>1&&e.includes("S")){const _=e.slice(0,this._start-1);return _.includes("{")?i+m:_+i+m}return i+m},"")||e}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}static#e=this.\u0275fac=function(){let e;return function(s){return(e||(e=At(t)))(s||t)}}();static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();function LZ(){const t=_t(S9),o=_t(E9);return o instanceof Function?{...t,...o()}:{...t,...o}}function I9(t){return[{provide:E9,useValue:t},{provide:S9,useValue:xZ},{provide:qT,useFactory:LZ},$5]}let OZ=(()=>{class t{constructor(){this.maskExpression="",this.specialCharacters=[],this.patterns={},this.prefix="",this.suffix="",this.thousandSeparator=" ",this.decimalMarker=".",this.dropSpecialCharacters=null,this.hiddenInput=null,this.showMaskTyped=null,this.placeHolderCharacter=null,this.shownMaskExpression=null,this.showTemplate=null,this.clearIfNotMatch=null,this.validation=null,this.separatorLimit=null,this.allowNegativeNumbers=null,this.leadZeroDateTime=null,this.leadZero=null,this.triggerOnMaskChange=null,this.apm=null,this.inputTransformFn=null,this.outputTransformFn=null,this.keepCharacterPositions=null,this.maskFilled=new Qe,this._maskValue="",this._position=null,this._maskExpressionArray=[],this._justPasted=!1,this._isFocused=!1,this._isComposing=!1,this.document=_t(Hn),this._maskService=_t($5,{self:!0}),this._config=_t(qT),this.onChange=e=>{},this.onTouch=()=>{}}ngOnChanges(e){const{maskExpression:i,specialCharacters:s,patterns:l,prefix:h,suffix:m,thousandSeparator:_,decimalMarker:w,dropSpecialCharacters:N,hiddenInput:$,showMaskTyped:oe,placeHolderCharacter:le,shownMaskExpression:ve,showTemplate:we,clearIfNotMatch:xe,validation:Ye,separatorLimit:Fe,allowNegativeNumbers:it,leadZeroDateTime:tt,leadZero:ut,triggerOnMaskChange:Nt,apm:qt,inputTransformFn:En,outputTransformFn:Vn,keepCharacterPositions:Zi}=e;if(i&&(i.currentValue!==i.previousValue&&!i.firstChange&&(this._maskService.maskChanged=!0),i.currentValue&&i.currentValue.split("||").length>1?(this._maskExpressionArray=i.currentValue.split("||").sort((Do,es)=>Do.length-es.length),this._setMask()):(this._maskExpressionArray=[],this._maskValue=i.currentValue||"",this._maskService.maskExpression=this._maskValue)),s){if(!s.currentValue||!Array.isArray(s.currentValue))return;this._maskService.specialCharacters=s.currentValue||[]}it&&(this._maskService.allowNegativeNumbers=it.currentValue,this._maskService.allowNegativeNumbers&&(this._maskService.specialCharacters=this._maskService.specialCharacters.filter(Do=>"-"!==Do))),l&&l.currentValue&&(this._maskService.patterns=l.currentValue),qt&&qt.currentValue&&(this._maskService.apm=qt.currentValue),h&&(this._maskService.prefix=h.currentValue),m&&(this._maskService.suffix=m.currentValue),_&&(this._maskService.thousandSeparator=_.currentValue),w&&(this._maskService.decimalMarker=w.currentValue),N&&(this._maskService.dropSpecialCharacters=N.currentValue),$&&(this._maskService.hiddenInput=$.currentValue),oe&&(this._maskService.showMaskTyped=oe.currentValue,!1===oe.previousValue&&!0===oe.currentValue&&this._isFocused&&requestAnimationFrame(()=>{this._maskService._elementRef?.nativeElement.click()})),le&&(this._maskService.placeHolderCharacter=le.currentValue),ve&&(this._maskService.shownMaskExpression=ve.currentValue),we&&(this._maskService.showTemplate=we.currentValue),xe&&(this._maskService.clearIfNotMatch=xe.currentValue),Ye&&(this._maskService.validation=Ye.currentValue),Fe&&(this._maskService.separatorLimit=Fe.currentValue),tt&&(this._maskService.leadZeroDateTime=tt.currentValue),ut&&(this._maskService.leadZero=ut.currentValue),Nt&&(this._maskService.triggerOnMaskChange=Nt.currentValue),En&&(this._maskService.inputTransformFn=En.currentValue),Vn&&(this._maskService.outputTransformFn=Vn.currentValue),Zi&&(this._maskService.keepCharacterPositions=Zi.currentValue),this._applyMask()}validate({value:e}){if(!this._maskService.validation||!this._maskValue)return null;if(this._maskService.ipError)return this._createValidationError(e);if(this._maskService.cpfCnpjError)return this._createValidationError(e);if(this._maskValue.startsWith("separator")||SZ.includes(this._maskValue)||this._maskService.clearIfNotMatch)return null;if(EZ.includes(this._maskValue))return this._validateTime(e);if(e&&e.toString().length>=1){let i=0;if(this._maskValue.startsWith("percent"))return null;for(const s in this._maskService.patterns)if(this._maskService.patterns[s]?.optional&&(this._maskValue.indexOf(s)!==this._maskValue.lastIndexOf(s)?i+=this._maskValue.split("").filter(h=>h===s).join("").length:-1!==this._maskValue.indexOf(s)&&i++,-1!==this._maskValue.indexOf(s)&&e.toString().length>=this._maskValue.indexOf(s)||i===this._maskValue.length))return null;if(1===this._maskValue.indexOf("{")&&e.toString().length===this._maskValue.length+Number((this._maskValue.split("{")[1]??"").split("}")[0])-4)return null;if(this._maskValue.indexOf("*")>1&&e.toString().length<this._maskValue.indexOf("*")||this._maskValue.indexOf("?")>1&&e.toString().length<this._maskValue.indexOf("?")||1===this._maskValue.indexOf("{"))return this._createValidationError(e);if(-1===this._maskValue.indexOf("*")||-1===this._maskValue.indexOf("?")){e="number"==typeof e?String(e):e;const s=this._maskValue.split("*"),l=this._maskService.dropSpecialCharacters?this._maskValue.length-this._maskService.checkDropSpecialCharAmount(this._maskValue)-i:this.prefix?this._maskValue.length+this.prefix.length-i:this._maskValue.length-i;if(1===s.length&&e.toString().length<l)return this._createValidationError(e);if(s.length>1){const h=s[s.length-1];if(h&&this._maskService.specialCharacters.includes(h[0])&&String(e).includes(h[0]??"")&&!this.dropSpecialCharacters){const m=e.split(h[0]);return m[m.length-1].length===h.length-1?null:this._createValidationError(e)}return(h&&!this._maskService.specialCharacters.includes(h[0])||!h||this._maskService.dropSpecialCharacters)&&e.length>=l-1?null:this._createValidationError(e)}}if(1===this._maskValue.indexOf("*")||1===this._maskValue.indexOf("?"))return null}return e&&this.maskFilled.emit(),null}onPaste(){this._justPasted=!0}onFocus(){this._isFocused=!0}onModelChange(e){(""===e||null==e)&&this._maskService.actualValue&&(this._maskService.actualValue=this._maskService.getActualValue(""))}onInput(e){if(this._isComposing)return;const i=e.target,s=this._maskService.inputTransformFn(i.value);if("number"!==i.type)if("string"==typeof s||"number"==typeof s){if(i.value=s.toString(),this._inputValue=i.value,this._setMask(),!this._maskValue)return void this.onChange(i.value);let l=1===i.selectionStart?i.selectionStart+this._maskService.prefix.length:i.selectionStart;if(this.showMaskTyped&&this.keepCharacterPositions&&1===this._maskService.placeHolderCharacter.length){const w=i.value.slice(l-1,l),N=this.prefix.length,$=this._maskService._checkSymbolMask(w,this._maskService.maskExpression[l-1-N]??""),oe=this._maskService._checkSymbolMask(w,this._maskService.maskExpression[l+1-N]??""),le=this._maskService.selStart===this._maskService.selEnd,ve=Number(this._maskService.selStart)-N,we=Number(this._maskService.selEnd)-N;if("Backspace"===this._code)if(le){if(!this._maskService.specialCharacters.includes(this._maskService.maskExpression.slice(l-this.prefix.length,l+1-this.prefix.length))&&le)if(1===ve&&this.prefix)this._maskService.actualValue=this.prefix+this._maskService.placeHolderCharacter+i.value.split(this.prefix).join("").split(this.suffix).join("")+this.suffix,l-=1;else{const xe=i.value.substring(0,l),Ye=i.value.substring(l);this._maskService.actualValue=xe+this._maskService.placeHolderCharacter+Ye}}else this._maskService.actualValue=this._maskService.selStart===N?this.prefix+this._maskService.maskIsShown.slice(0,we)+this._inputValue.split(this.prefix).join(""):this._maskService.selStart===this._maskService.maskIsShown.length+N?this._inputValue+this._maskService.maskIsShown.slice(ve,we):this.prefix+this._inputValue.split(this.prefix).join("").slice(0,ve)+this._maskService.maskIsShown.slice(ve,we)+this._maskService.actualValue.slice(we+N,this._maskService.maskIsShown.length+N)+this.suffix;"Backspace"!==this._code&&($||oe||!le?this._maskService.specialCharacters.includes(i.value.slice(l,l+1))&&oe&&!this._maskService.specialCharacters.includes(i.value.slice(l+1,l+2))?(this._maskService.actualValue=i.value.slice(0,l-1)+i.value.slice(l,l+1)+w+i.value.slice(l+2),l+=1):$?this._maskService.actualValue=1===i.value.length&&1===l?this.prefix+w+this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)+this.suffix:i.value.slice(0,l-1)+w+i.value.slice(l+1).split(this.suffix).join("")+this.suffix:this.prefix&&1===i.value.length&&l-N==1&&this._maskService._checkSymbolMask(i.value,this._maskService.maskExpression[l-1-N]??"")&&(this._maskService.actualValue=this.prefix+i.value+this._maskService.maskIsShown.slice(1,this._maskService.maskIsShown.length)+this.suffix):l=Number(i.selectionStart)-1)}let h=0,m=!1;if("Delete"===this._code&&(this._maskService.deletedSpecialCharacter=!0),this._inputValue.length>=this._maskService.maskExpression.length-1&&"Backspace"!==this._code&&"d0/M0/0000"===this._maskService.maskExpression&&l<10){const w=this._inputValue.slice(l-1,l);i.value=this._inputValue.slice(0,l-1)+w+this._inputValue.slice(l+1)}if("d0/M0/0000"===this._maskService.maskExpression&&this.leadZeroDateTime&&(l<3&&Number(i.value)>31&&Number(i.value)<40||5===l&&Number(i.value.slice(3,5))>12)&&(l+=2),"Hh:m0:s0"===this._maskService.maskExpression&&this.apm&&(this._justPasted&&"00"===i.value.slice(0,2)&&(i.value=i.value.slice(1,2)+i.value.slice(2,i.value.length)),i.value="00"===i.value?"0":i.value),this._maskService.applyValueChanges(l,this._justPasted,"Backspace"===this._code||"Delete"===this._code,(w,N)=>{this._justPasted=!1,h=w,m=N}),this._getActiveElement()!==i)return;this._maskService.plusOnePosition&&(l+=1,this._maskService.plusOnePosition=!1),this._maskExpressionArray.length&&(l="Backspace"===this._code?this.specialCharacters.includes(this._inputValue.slice(l-1,l))?l-1:l:1===i.selectionStart?i.selectionStart+this._maskService.prefix.length:i.selectionStart),this._position=1===this._position&&1===this._inputValue.length?null:this._position;let _=this._position?this._inputValue.length+l+h:l+("Backspace"!==this._code||m?h:0);_>this._getActualInputLength()&&(_=i.value===this._maskService.decimalMarker&&1===i.value.length?this._getActualInputLength()+1:this._getActualInputLength()),_<0&&(_=0),i.setSelectionRange(_,_),this._position=null}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof s);else{if(!this._maskValue)return void this.onChange(i.value);this._maskService.applyValueChanges(i.value.length,this._justPasted,"Backspace"===this._code||"Delete"===this._code)}}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,this._justPasted=!0,this.onInput(e)}onBlur(e){if(this._maskValue){const i=e.target;if(this.leadZero&&i.value.length>0&&"string"==typeof this.decimalMarker){const s=this._maskService.maskExpression,l=Number(this._maskService.maskExpression.slice(s.length-1,s.length));if(l>1){i.value=this.suffix?i.value.split(this.suffix).join(""):i.value;const h=i.value.split(this.decimalMarker)[1];i.value=i.value.includes(this.decimalMarker)?i.value+"0".repeat(l-h.length)+this.suffix:i.value+this.decimalMarker+"0".repeat(l)+this.suffix,this._maskService.actualValue=i.value}}this._maskService.clearIfNotMatchFn()}this._isFocused=!1,this.onTouch()}onClick(e){if(!this._maskValue)return;const i=e.target;null!==i&&null!==i.selectionStart&&i.selectionStart===i.selectionEnd&&i.selectionStart>this._maskService.prefix.length&&38!==e.keyCode&&this._maskService.showMaskTyped&&!this.keepCharacterPositions&&(this._maskService.maskIsShown=this._maskService.showMaskInInput(),i.setSelectionRange&&this._maskService.prefix+this._maskService.maskIsShown===i.value?(i.focus(),i.setSelectionRange(0,0)):i.selectionStart>this._maskService.actualValue.length&&i.setSelectionRange(this._maskService.actualValue.length,this._maskService.actualValue.length));const h=i&&(i.value===this._maskService.prefix?this._maskService.prefix+this._maskService.maskIsShown:i.value);i&&i.value!==h&&(i.value=h),i&&"number"!==i.type&&(i.selectionStart||i.selectionEnd)<=this._maskService.prefix.length?i.selectionStart=this._maskService.prefix.length:i&&i.selectionEnd>this._getActualInputLength()&&(i.selectionEnd=this._getActualInputLength())}onKeyDown(e){if(!this._maskValue)return;if(this._isComposing)return void("Enter"===e.key&&this.onCompositionEnd(e));this._code=e.code?e.code:e.key;const i=e.target;if(this._inputValue=i.value,this._setMask(),"number"!==i.type){if("ArrowUp"===e.key&&e.preventDefault(),"ArrowLeft"===e.key||"Backspace"===e.key||"Delete"===e.key){if("Backspace"===e.key&&0===i.value.length&&(i.selectionStart=i.selectionEnd),"Backspace"===e.key&&0!==i.selectionStart)if(this.specialCharacters=this.specialCharacters?.length?this.specialCharacters:this._config.specialCharacters,this.prefix.length>1&&i.selectionStart<=this.prefix.length)i.setSelectionRange(this.prefix.length,i.selectionEnd);else if(this._inputValue.length!==i.selectionStart&&1!==i.selectionStart)for(;this.specialCharacters.includes((this._inputValue[i.selectionStart-1]??"").toString())&&(this.prefix.length>=1&&i.selectionStart>this.prefix.length||0===this.prefix.length);)i.setSelectionRange(i.selectionStart-1,i.selectionEnd);this.checkSelectionOnDeletion(i),this._maskService.prefix.length&&i.selectionStart<=this._maskService.prefix.length&&i.selectionEnd<=this._maskService.prefix.length&&e.preventDefault(),"Backspace"===e.key&&!i.readOnly&&0===i.selectionStart&&i.selectionEnd===i.value.length&&0!==i.value.length&&(this._position=this._maskService.prefix?this._maskService.prefix.length:0,this._maskService.applyMask(this._maskService.prefix,this._maskService.maskExpression,this._position))}this.suffix&&this.suffix.length>1&&this._inputValue.length-this.suffix.length<i.selectionStart?i.setSelectionRange(this._inputValue.length-this.suffix.length,this._inputValue.length):("KeyA"===e.code&&e.ctrlKey||"KeyA"===e.code&&e.metaKey)&&(i.setSelectionRange(0,this._getActualInputLength()),e.preventDefault()),this._maskService.selStart=i.selectionStart,this._maskService.selEnd=i.selectionEnd}}writeValue(e){var i=this;return wb(function*(){if("object"==typeof e&&null!==e&&"value"in e&&("disable"in e&&i.setDisabledState(!!e.disable),e=e.value),null!==e&&(e=i.inputTransformFn?i.inputTransformFn(e):e),"string"==typeof e||"number"==typeof e||null==e){(null==e||""===e)&&(i._maskService._currentValue="",i._maskService._previousValue="");let s=e;if("number"==typeof s||i._maskValue.startsWith("separator")){s=String(s);const l=i._maskService.currentLocaleDecimalMarker();Array.isArray(i._maskService.decimalMarker)||(s=i._maskService.decimalMarker!==l?s.replace(l,i._maskService.decimalMarker):s),i._maskService.leadZero&&s&&i.maskExpression&&!1!==i.dropSpecialCharacters&&(s=i._maskService._checkPrecision(i._maskService.maskExpression,s)),","===i._maskService.decimalMarker&&(s=s.toString().replace(".",",")),i.maskExpression?.startsWith("separator")&&i.leadZero&&requestAnimationFrame(()=>{i._maskService.applyMask(s?.toString()??"",i._maskService.maskExpression)}),i._maskService.isNumberValue=!0}"string"!=typeof s&&(s=""),i._inputValue=s,i._setMask(),s&&i._maskService.maskExpression||i._maskService.maskExpression&&(i._maskService.prefix||i._maskService.showMaskTyped)?("function"!=typeof i.inputTransformFn&&(i._maskService.writingValue=!0),i._maskService.formElementProperty=["value",i._maskService.applyMask(s,i._maskService.maskExpression)],"function"!=typeof i.inputTransformFn&&(i._maskService.writingValue=!1)):i._maskService.formElementProperty=["value",s],i._inputValue=s}else console.warn("Ngx-mask writeValue work with string | number, your current value:",typeof e)})()}registerOnChange(e){this._maskService.onChange=this.onChange=e}registerOnTouched(e){this.onTouch=e}_getActiveElement(e=this.document){const i=e?.activeElement?.shadowRoot;return i?.activeElement?this._getActiveElement(i):e.activeElement}checkSelectionOnDeletion(e){e.selectionStart=Math.min(Math.max(this.prefix.length,e.selectionStart),this._inputValue.length-this.suffix.length),e.selectionEnd=Math.min(Math.max(this.prefix.length,e.selectionEnd),this._inputValue.length-this.suffix.length)}setDisabledState(e){this._maskService.formElementProperty=["disabled",e]}_applyMask(){this._maskService.maskExpression=this._maskService._repeatPatternSymbols(this._maskValue||""),this._maskService.formElementProperty=["value",this._maskService.applyMask(this._inputValue,this._maskService.maskExpression)]}_validateTime(e){const i=this._maskValue.split("").filter(s=>":"!==s).length;return e&&(0==+(e[e.length-1]??-1)&&e.length<i||e.length<=i-2)?this._createValidationError(e):null}_getActualInputLength(){return this._maskService.actualValue.length||this._maskService.actualValue.length+this._maskService.prefix.length}_createValidationError(e){return{mask:{requiredMask:this._maskValue,actualValue:e}}}_setMask(){this._maskExpressionArray.some(e=>{if(e.split("").some(s=>this._maskService.specialCharacters.includes(s))&&this._inputValue&&!e.includes("S")||e.includes("{")){const s=this._maskService.removeMask(this._inputValue)?.length<=this._maskService.removeMask(e)?.length;if(s)return this._maskValue=this.maskExpression=this._maskService.maskExpression=e.includes("{")?this._maskService._repeatPatternSymbols(e):e,s;{const l=this._maskExpressionArray[this._maskExpressionArray.length-1]??"";this._maskValue=this.maskExpression=this._maskService.maskExpression=l.includes("{")?this._maskService._repeatPatternSymbols(l):l}}else{const s=this._maskService.removeMask(this._inputValue)?.split("").every((l,h)=>{const m=e.charAt(h);return this._maskService._checkSymbolMask(l,m)});if(s)return this._maskValue=this.maskExpression=this._maskService.maskExpression=e,s}})}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275dir=Xe({type:t,selectors:[["input","mask",""],["textarea","mask",""]],hostBindings:function(i,s){1&i&&We("paste",function(){return s.onPaste()})("focus",function(h){return s.onFocus(h)})("ngModelChange",function(h){return s.onModelChange(h)})("input",function(h){return s.onInput(h)})("compositionstart",function(h){return s.onCompositionStart(h)})("compositionend",function(h){return s.onCompositionEnd(h)})("blur",function(h){return s.onBlur(h)})("click",function(h){return s.onClick(h)})("keydown",function(h){return s.onKeyDown(h)})},inputs:{maskExpression:["mask","maskExpression"],specialCharacters:"specialCharacters",patterns:"patterns",prefix:"prefix",suffix:"suffix",thousandSeparator:"thousandSeparator",decimalMarker:"decimalMarker",dropSpecialCharacters:"dropSpecialCharacters",hiddenInput:"hiddenInput",showMaskTyped:"showMaskTyped",placeHolderCharacter:"placeHolderCharacter",shownMaskExpression:"shownMaskExpression",showTemplate:"showTemplate",clearIfNotMatch:"clearIfNotMatch",validation:"validation",separatorLimit:"separatorLimit",allowNegativeNumbers:"allowNegativeNumbers",leadZeroDateTime:"leadZeroDateTime",leadZero:"leadZero",triggerOnMaskChange:"triggerOnMaskChange",apm:"apm",inputTransformFn:"inputTransformFn",outputTransformFn:"outputTransformFn",keepCharacterPositions:"keepCharacterPositions"},outputs:{maskFilled:"maskFilled"},exportAs:["mask","ngxMask"],standalone:!0,features:[Pt([{provide:qi,useExisting:t,multi:!0},{provide:wn,useExisting:t,multi:!0},$5]),fn]})}return t})();function PZ(t,o){1&t&&Et(0)}function NZ(t,o){if(1&t&&Re(0,"span",8),2&t){const e=X(3);Mt("p-button-loading-icon "+e.loadingIcon),H("ngClass",e.iconClass())}}function RZ(t,o){1&t&&Re(0,"SpinnerIcon",9),2&t&&H("styleClass",X(3).iconClass()+" p-button-loading-icon")("spin",!0)}function FZ(t,o){if(1&t&&(vt(0),J(1,NZ,1,3,"span",6),J(2,RZ,1,2,"SpinnerIcon",7),kt()),2&t){const e=X(2);G(1),H("ngIf",e.loadingIcon),G(1),H("ngIf",!e.loadingIcon)}}function BZ(t,o){}function jZ(t,o){1&t&&J(0,BZ,0,0,"ng-template")}function zZ(t,o){if(1&t&&(ne(0,"span",10),J(1,jZ,1,0,null,1),re()),2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.loadingIconTemplate)}}function VZ(t,o){if(1&t&&(vt(0),J(1,FZ,3,2,"ng-container",2),J(2,zZ,2,1,"span",5),kt()),2&t){const e=X();G(1),H("ngIf",!e.loadingIconTemplate),G(1),H("ngIf",e.loadingIconTemplate)}}function HZ(t,o){if(1&t&&Re(0,"span",8),2&t){const e=X(2);Mt(e.icon),H("ngClass",e.iconClass())}}function YZ(t,o){}function UZ(t,o){1&t&&J(0,YZ,0,0,"ng-template",12),2&t&&H("ngIf",!X(3).icon)}function WZ(t,o){if(1&t&&(ne(0,"span",8),J(1,UZ,1,1,null,1),re()),2&t){const e=X(2);H("ngClass",e.iconClass()),G(1),H("ngTemplateOutlet",e.iconTemplate)}}function $Z(t,o){if(1&t&&(vt(0),J(1,HZ,1,3,"span",6),J(2,WZ,2,2,"span",11),kt()),2&t){const e=X();G(1),H("ngIf",e.icon&&!e.iconTemplate),G(1),H("ngIf",!e.icon&&e.iconTemplate)}}function qZ(t,o){if(1&t&&(ne(0,"span",13),ze(1),re()),2&t){const e=X();mt("aria-hidden",e.icon&&!e.label),G(1),nn(e.label)}}function GZ(t,o){if(1&t&&(ne(0,"span",8),ze(1),re()),2&t){const e=X();Mt(e.badgeClass),H("ngClass",e.badgeStyleClass()),G(1),nn(e.badge)}}const KZ=["*"],Bf={button:"p-button",component:"p-component",iconOnly:"p-button-icon-only",disabled:"p-disabled",loading:"p-button-loading",labelOnly:"p-button-loading-label-only"};let Mb=(()=>{class t{constructor(e,i){this.el=e,this.document=i,this.iconPos="left",this._loading=!1,this._internalClasses=Object.values(Bf),this.spinnerIcon='<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" class="p-icon-spin">\n        <g clip-path="url(#clip0_417_21408)">\n            <path\n                d="M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z"\n                fill="currentColor"\n            />\n        </g>\n        <defs>\n            <clipPath id="clip0_417_21408">\n                <rect width="14" height="14" fill="white" />\n            </clipPath>\n        </defs>\n    </svg>'}get label(){return this._label}set label(e){this._label=e,this.initialized&&(this.updateLabel(),this.updateIcon(),this.setStyleClass())}get icon(){return this._icon}set icon(e){this._icon=e,this.initialized&&(this.updateIcon(),this.setStyleClass())}get loading(){return this._loading}set loading(e){this._loading=e,this.initialized&&(this.updateIcon(),this.setStyleClass())}get htmlElement(){return this.el.nativeElement}ngAfterViewInit(){Le.addMultipleClasses(this.htmlElement,this.getStyleClass().join(" ")),this.createIcon(),this.createLabel(),this.initialized=!0,Gi.check()}getStyleClass(){const e=[Bf.button,Bf.component];return this.icon&&!this.label&&St.isEmpty(this.htmlElement.textContent)&&e.push(Bf.iconOnly),this.loading&&(e.push(Bf.disabled,Bf.loading),!this.icon&&this.label&&e.push(Bf.labelOnly)),e}setStyleClass(){const e=this.getStyleClass();this.htmlElement.classList.remove(...this._internalClasses),this.htmlElement.classList.add(...e)}createLabel(){if(this.label){let e=this.document.createElement("span");this.icon&&!this.label&&e.setAttribute("aria-hidden","true"),e.className="p-button-label",e.appendChild(this.document.createTextNode(this.label)),this.htmlElement.appendChild(e)}}createIcon(){if(this.icon||this.loading){let e=this.document.createElement("span");e.className="p-button-icon",e.setAttribute("aria-hidden","true");let i=this.label?"p-button-icon-"+this.iconPos:null;i&&Le.addClass(e,i);let s=this.getIconClass();s&&Le.addMultipleClasses(e,s),!this.loadingIcon&&this.loading&&(e.innerHTML=this.spinnerIcon),this.htmlElement.insertBefore(e,this.htmlElement.firstChild)}}updateLabel(){let e=Le.findSingle(this.htmlElement,".p-button-label");this.label?e?e.textContent=this.label:this.createLabel():e&&this.htmlElement.removeChild(e)}updateIcon(){let e=Le.findSingle(this.htmlElement,".p-button-icon");this.icon||this.loading?e?e.className=this.iconPos?"p-button-icon p-button-icon-"+this.iconPos+" "+this.getIconClass():"p-button-icon "+this.getIconClass():this.createIcon():e&&this.htmlElement.removeChild(e)}getIconClass(){return this.loading?"p-button-loading-icon "+(this.loadingIcon?this.loadingIcon:"p-icon"):this._icon}ngOnDestroy(){this.initialized=!1}}return t.\u0275fac=function(e){return new(e||t)(Ce(An),Ce(Hn))},t.\u0275dir=Xe({type:t,selectors:[["","pButton",""]],hostAttrs:[1,"p-element"],inputs:{iconPos:"iconPos",loadingIcon:"loadingIcon",label:"label",icon:"icon",loading:"loading"}}),t})(),GT=(()=>{class t{constructor(){this.type="button",this.iconPos="left",this.loading=!1,this.onClick=new Qe,this.onFocus=new Qe,this.onBlur=new Qe}iconClass(){return{"p-button-icon":!0,"p-button-icon-left":"left"===this.iconPos&&this.label,"p-button-icon-right":"right"===this.iconPos&&this.label,"p-button-icon-top":"top"===this.iconPos&&this.label,"p-button-icon-bottom":"bottom"===this.iconPos&&this.label}}buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":this.icon&&!this.label,"p-button-vertical":("top"===this.iconPos||"bottom"===this.iconPos)&&this.label,"p-disabled":this.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label}}ngAfterViewInit(){Gi.check()}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":default:this.contentTemplate=e.template;break;case"icon":this.iconTemplate=e.template;break;case"loadingicon":this.loadingIconTemplate=e.template}})}badgeStyleClass(){return{"p-badge p-component":!0,"p-badge-no-gutter":this.badge&&1===String(this.badge).length}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ct({type:t,selectors:[["p-button"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},hostAttrs:[1,"p-element"],hostVars:2,hostBindings:function(e,i){2&e&&Wi("p-disabled",i.disabled)},inputs:{type:"type",iconPos:"iconPos",icon:"icon",badge:"badge",label:"label",disabled:"disabled",loading:"loading",loadingIcon:"loadingIcon",style:"style",styleClass:"styleClass",badgeClass:"badgeClass",ariaLabel:"ariaLabel"},outputs:{onClick:"onClick",onFocus:"onFocus",onBlur:"onBlur"},ngContentSelectors:KZ,decls:7,vars:12,consts:[["pRipple","",3,"ngStyle","disabled","ngClass","click","focus","blur"],[4,"ngTemplateOutlet"],[4,"ngIf"],["class","p-button-label",4,"ngIf"],[3,"ngClass","class",4,"ngIf"],["class","p-button-loading-icon",4,"ngIf"],[3,"class","ngClass",4,"ngIf"],[3,"styleClass","spin",4,"ngIf"],[3,"ngClass"],[3,"styleClass","spin"],[1,"p-button-loading-icon"],[3,"ngClass",4,"ngIf"],[3,"ngIf"],[1,"p-button-label"]],template:function(e,i){1&e&&(ms(),ne(0,"button",0),We("click",function(l){return i.onClick.emit(l)})("focus",function(l){return i.onFocus.emit(l)})("blur",function(l){return i.onBlur.emit(l)}),or(1),J(2,PZ,1,0,"ng-container",1),J(3,VZ,3,2,"ng-container",2),J(4,$Z,3,2,"ng-container",2),J(5,qZ,2,2,"span",3),J(6,GZ,2,4,"span",4),re()),2&e&&(Mt(i.styleClass),H("ngStyle",i.style)("disabled",i.disabled||i.loading)("ngClass",i.buttonClass()),mt("type",i.type)("aria-label",i.ariaLabel),G(2),H("ngTemplateOutlet",i.contentTemplate),G(1),H("ngIf",i.loading),G(1),H("ngIf",!i.loading),G(1),H("ngIf",!i.contentTemplate&&i.label),G(1),H("ngIf",!i.contentTemplate&&i.badge))},dependencies:function(){return[ao,Ei,Xi,Mo,rh,Ab]},encapsulation:2,changeDetection:0}),t})(),Db=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,sh,Ki,Ab,Ki]}),t})(),L9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["PlusIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_306_11939)"],["d","M7.67742 6.32258V0.677419C7.67742 0.497757 7.60605 0.325452 7.47901 0.198411C7.35197 0.0713707 7.17966 0 7 0C6.82034 0 6.64803 0.0713707 6.52099 0.198411C6.39395 0.325452 6.32258 0.497757 6.32258 0.677419V6.32258H0.677419C0.497757 6.32258 0.325452 6.39395 0.198411 6.52099C0.0713707 6.64803 0 6.82034 0 7C0 7.17966 0.0713707 7.35197 0.198411 7.47901C0.325452 7.60605 0.497757 7.67742 0.677419 7.67742H6.32258V13.3226C6.32492 13.5015 6.39704 13.6725 6.52358 13.799C6.65012 13.9255 6.82106 13.9977 7 14C7.17966 14 7.35197 13.9286 7.47901 13.8016C7.60605 13.6745 7.67742 13.5022 7.67742 13.3226V7.67742H13.3226C13.5022 7.67742 13.6745 7.60605 13.8016 7.47901C13.9286 7.35197 14 7.17966 14 7C13.9977 6.82106 13.9255 6.65012 13.799 6.52358C13.6725 6.39704 13.5015 6.32492 13.3226 6.32258H7.67742Z","fill","currentColor"],["id","clip0_306_11939"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),O9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["UploadIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_414_21072)"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.58942 9.82197C6.70165 9.93405 6.85328 9.99793 7.012 10C7.17071 9.99793 7.32234 9.93405 7.43458 9.82197C7.54681 9.7099 7.61079 9.55849 7.61286 9.4V2.04798L9.79204 4.22402C9.84752 4.28011 9.91365 4.32457 9.98657 4.35479C10.0595 4.38502 10.1377 4.40039 10.2167 4.40002C10.2956 4.40039 10.3738 4.38502 10.4467 4.35479C10.5197 4.32457 10.5858 4.28011 10.6413 4.22402C10.7538 4.11152 10.817 3.95902 10.817 3.80002C10.817 3.64102 10.7538 3.48852 10.6413 3.37602L7.45127 0.190618C7.44656 0.185584 7.44176 0.180622 7.43687 0.175736C7.32419 0.063214 7.17136 0 7.012 0C6.85264 0 6.69981 0.063214 6.58712 0.175736C6.58181 0.181045 6.5766 0.186443 6.5715 0.191927L3.38282 3.37602C3.27669 3.48976 3.2189 3.6402 3.22165 3.79564C3.2244 3.95108 3.28746 4.09939 3.39755 4.20932C3.50764 4.31925 3.65616 4.38222 3.81182 4.38496C3.96749 4.3877 4.11814 4.33001 4.23204 4.22402L6.41113 2.04807V9.4C6.41321 9.55849 6.47718 9.7099 6.58942 9.82197ZM11.9952 14H2.02883C1.751 13.9887 1.47813 13.9228 1.22584 13.8061C0.973545 13.6894 0.746779 13.5241 0.558517 13.3197C0.370254 13.1154 0.22419 12.876 0.128681 12.6152C0.0331723 12.3545 -0.00990605 12.0775 0.0019109 11.8V9.40005C0.0019109 9.24092 0.065216 9.08831 0.1779 8.97579C0.290584 8.86326 0.443416 8.80005 0.602775 8.80005C0.762134 8.80005 0.914966 8.86326 1.02765 8.97579C1.14033 9.08831 1.20364 9.24092 1.20364 9.40005V11.8C1.18295 12.0376 1.25463 12.274 1.40379 12.4602C1.55296 12.6463 1.76817 12.7681 2.00479 12.8H11.9952C12.2318 12.7681 12.447 12.6463 12.5962 12.4602C12.7453 12.274 12.817 12.0376 12.7963 11.8V9.40005C12.7963 9.24092 12.8596 9.08831 12.9723 8.97579C13.085 8.86326 13.2378 8.80005 13.3972 8.80005C13.5565 8.80005 13.7094 8.86326 13.8221 8.97579C13.9347 9.08831 13.998 9.24092 13.998 9.40005V11.8C14.022 12.3563 13.8251 12.8996 13.45 13.3116C13.0749 13.7236 12.552 13.971 11.9952 14Z","fill","currentColor"],["id","clip0_414_21072"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),P9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["ExclamationTriangleIcon"]],standalone:!0,features:[Ft,Wn],decls:8,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_323_12417)"],["d","M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z","fill","currentColor"],["d","M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z","fill","currentColor"],["d","M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z","fill","currentColor"],["id","clip0_323_12417"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2)(3,"path",3)(4,"path",4),re(),ne(5,"defs")(6,"clipPath",5),Re(7,"rect",6),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),N9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["InfoCircleIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_408_21102)"],["fill-rule","evenodd","clip-rule","evenodd","d","M3.11101 12.8203C4.26215 13.5895 5.61553 14 7 14C8.85652 14 10.637 13.2625 11.9497 11.9497C13.2625 10.637 14 8.85652 14 7C14 5.61553 13.5895 4.26215 12.8203 3.11101C12.0511 1.95987 10.9579 1.06266 9.67879 0.532846C8.3997 0.00303296 6.99224 -0.13559 5.63437 0.134506C4.2765 0.404603 3.02922 1.07129 2.05026 2.05026C1.07129 3.02922 0.404603 4.2765 0.134506 5.63437C-0.13559 6.99224 0.00303296 8.3997 0.532846 9.67879C1.06266 10.9579 1.95987 12.0511 3.11101 12.8203ZM3.75918 2.14976C4.71846 1.50879 5.84628 1.16667 7 1.16667C8.5471 1.16667 10.0308 1.78125 11.1248 2.87521C12.2188 3.96918 12.8333 5.45291 12.8333 7C12.8333 8.15373 12.4912 9.28154 11.8502 10.2408C11.2093 11.2001 10.2982 11.9478 9.23232 12.3893C8.16642 12.8308 6.99353 12.9463 5.86198 12.7212C4.73042 12.4962 3.69102 11.9406 2.87521 11.1248C2.05941 10.309 1.50384 9.26958 1.27876 8.13803C1.05367 7.00647 1.16919 5.83358 1.61071 4.76768C2.05222 3.70178 2.79989 2.79074 3.75918 2.14976ZM7.00002 4.8611C6.84594 4.85908 6.69873 4.79698 6.58977 4.68801C6.48081 4.57905 6.4187 4.43185 6.41669 4.27776V3.88888C6.41669 3.73417 6.47815 3.58579 6.58754 3.4764C6.69694 3.367 6.84531 3.30554 7.00002 3.30554C7.15473 3.30554 7.3031 3.367 7.4125 3.4764C7.52189 3.58579 7.58335 3.73417 7.58335 3.88888V4.27776C7.58134 4.43185 7.51923 4.57905 7.41027 4.68801C7.30131 4.79698 7.1541 4.85908 7.00002 4.8611ZM7.00002 10.6945C6.84594 10.6925 6.69873 10.6304 6.58977 10.5214C6.48081 10.4124 6.4187 10.2652 6.41669 10.1111V6.22225C6.41669 6.06754 6.47815 5.91917 6.58754 5.80977C6.69694 5.70037 6.84531 5.63892 7.00002 5.63892C7.15473 5.63892 7.3031 5.70037 7.4125 5.80977C7.52189 5.91917 7.58335 6.06754 7.58335 6.22225V10.1111C7.58134 10.2652 7.51923 10.4124 7.41027 10.5214C7.30131 10.6304 7.1541 10.6925 7.00002 10.6945Z","fill","currentColor"],["id","clip0_408_21102"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),R9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["TimesCircleIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_334_13179)"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z","fill","currentColor"],["id","clip0_334_13179"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})();function JZ(t,o){1&t&&Re(0,"span"),2&t&&Mt("p-message-icon pi "+X().$implicit.icon)}function XZ(t,o){1&t&&Re(0,"CheckIcon")}function eQ(t,o){1&t&&Re(0,"InfoCircleIcon")}function tQ(t,o){1&t&&Re(0,"TimesCircleIcon")}function nQ(t,o){1&t&&Re(0,"ExclamationTriangleIcon")}function iQ(t,o){if(1&t&&(ne(0,"span",10),vt(1),J(2,XZ,1,0,"CheckIcon",11),J(3,eQ,1,0,"InfoCircleIcon",11),J(4,tQ,1,0,"TimesCircleIcon",11),J(5,nQ,1,0,"ExclamationTriangleIcon",11),kt(),re()),2&t){const e=X().$implicit;G(2),H("ngIf","success"===e.severity),G(1),H("ngIf","info"===e.severity),G(1),H("ngIf","error"===e.severity),G(1),H("ngIf","warn"===e.severity)}}function oQ(t,o){1&t&&Re(0,"span",14),2&t&&H("innerHTML",X(2).$implicit.summary,_u)}function rQ(t,o){1&t&&Re(0,"span",15),2&t&&H("innerHTML",X(2).$implicit.detail,_u)}function sQ(t,o){if(1&t&&(vt(0),J(1,oQ,1,1,"span",12),J(2,rQ,1,1,"span",13),kt()),2&t){const e=X().$implicit;G(1),H("ngIf",e.summary),G(1),H("ngIf",e.detail)}}function aQ(t,o){if(1&t&&(ne(0,"span",18),ze(1),re()),2&t){const e=X(2).$implicit;G(1),nn(e.summary)}}function lQ(t,o){if(1&t&&(ne(0,"span",19),ze(1),re()),2&t){const e=X(2).$implicit;G(1),nn(e.detail)}}function cQ(t,o){if(1&t&&(J(0,aQ,2,1,"span",16),J(1,lQ,2,1,"span",17)),2&t){const e=X().$implicit;H("ngIf",e.summary),G(1),H("ngIf",e.detail)}}function dQ(t,o){if(1&t){const e=wt();ne(0,"button",20),We("click",function(){Pe(e);const s=X().index;return Oe(X(2).removeMessage(s))}),Re(1,"TimesIcon",21),re()}2&t&&(G(1),H("styleClass","p-message-close-icon"))}const uQ=function(t,o){return{showTransitionParams:t,hideTransitionParams:o}},hQ=function(t){return{value:"visible",params:t}};function pQ(t,o){if(1&t&&(ne(0,"div",4)(1,"div",5),J(2,JZ,1,2,"span",6),J(3,iQ,6,4,"span",7),J(4,sQ,3,2,"ng-container",1),J(5,cQ,2,2,"ng-template",null,8,Go),J(7,dQ,2,1,"button",9),re()()),2&t){const e=o.$implicit,i=ii(6),s=X(2);Mt("p-message p-message-"+e.severity),H("@messageAnimation",gn(11,hQ,Xn(8,uQ,s.showTransitionOptions,s.hideTransitionOptions))),G(2),H("ngIf",e.icon),G(1),H("ngIf",!e.icon),G(1),H("ngIf",!s.escape)("ngIfElse",i),G(3),H("ngIf",s.closable)}}function fQ(t,o){if(1&t&&(vt(0),J(1,pQ,8,13,"div",3),kt()),2&t){const e=X();G(1),H("ngForOf",e.messages)}}function mQ(t,o){1&t&&Et(0)}function gQ(t,o){if(1&t&&(ne(0,"div",22)(1,"div",5),J(2,mQ,1,0,"ng-container",23),re()()),2&t){const e=X();H("ngClass","p-message p-message-"+e.severity),G(2),H("ngTemplateOutlet",e.contentTemplate)}}let _Q=(()=>{class t{constructor(e,i,s){this.messageService=e,this.el=i,this.cd=s,this.closable=!0,this.enableService=!0,this.escape=!0,this.showTransitionOptions="300ms ease-out",this.hideTransitionOptions="200ms cubic-bezier(0.86, 0, 0.07, 1)",this.valueChange=new Qe,this.timerSubscriptions=[]}set value(e){this.messages=e,this.startMessageLifes(this.messages)}ngAfterContentInit(){this.templates.forEach(e=>{e.getType(),this.contentTemplate=e.template}),this.messageService&&this.enableService&&!this.contentTemplate&&(this.messageSubscription=this.messageService.messageObserver.subscribe(e=>{if(e){Array.isArray(e)||(e=[e]);const i=e.filter(s=>this.key===s.key);this.messages=this.messages?[...this.messages,...i]:[...i],this.startMessageLifes(i),this.cd.markForCheck()}}),this.clearSubscription=this.messageService.clearObserver.subscribe(e=>{e?this.key===e&&(this.messages=null):this.messages=null,this.cd.markForCheck()}))}ngAfterViewInit(){Gi.check()}hasMessages(){let e=this.el.nativeElement.parentElement;return!(!e||!e.offsetParent)&&(null!=this.contentTemplate||this.messages&&this.messages.length>0)}clear(){this.messages=[],this.valueChange.emit(this.messages)}removeMessage(e){this.messages=this.messages.filter((i,s)=>s!==e),this.valueChange.emit(this.messages)}get icon(){const e=this.severity||(this.hasMessages()?this.messages[0].severity:null);if(this.hasMessages())switch(e){case"success":return"pi-check";case"info":default:return"pi-info-circle";case"error":return"pi-times";case"warn":return"pi-exclamation-triangle"}return null}ngOnDestroy(){this.messageSubscription&&this.messageSubscription.unsubscribe(),this.clearSubscription&&this.clearSubscription.unsubscribe(),this.timerSubscriptions?.forEach(e=>e.unsubscribe())}startMessageLifes(e){e?.forEach(i=>i.life&&this.startMessageLife(i))}startMessageLife(e){const i=function QZ(t=0,o,e=MW){let i=-1;return null!=o&&(em(o)?e=o:i=o),new Me(s=>{let l=function ZZ(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;l<0&&(l=0);let h=0;return e.schedule(function(){s.closed||(s.next(h++),0<=i?this.schedule(void 0,i):s.complete())},l)})}(e.life).subscribe(()=>{this.messages=this.messages?.filter(s=>s!==e),this.timerSubscriptions=this.timerSubscriptions?.filter(s=>s!==i),this.valueChange.emit(this.messages),this.cd.markForCheck()});this.timerSubscriptions.push(i)}}return t.\u0275fac=function(e){return new(e||t)(Ce(Nf,8),Ce(An),Ce(Mi))},t.\u0275cmp=Ct({type:t,selectors:[["p-messages"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},hostAttrs:[1,"p-element"],inputs:{value:"value",closable:"closable",style:"style",styleClass:"styleClass",enableService:"enableService",key:"key",escape:"escape",severity:"severity",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions"},outputs:{valueChange:"valueChange"},decls:4,vars:5,consts:[["role","alert",1,"p-messages","p-component",3,"ngStyle"],[4,"ngIf","ngIfElse"],["staticMessage",""],["role","alert",3,"class",4,"ngFor","ngForOf"],["role","alert"],[1,"p-message-wrapper"],[3,"class",4,"ngIf"],["class","p-message-icon",4,"ngIf"],["escapeOut",""],["class","p-message-close p-link","type","button","pRipple","",3,"click",4,"ngIf"],[1,"p-message-icon"],[4,"ngIf"],["class","p-message-summary",3,"innerHTML",4,"ngIf"],["class","p-message-detail",3,"innerHTML",4,"ngIf"],[1,"p-message-summary",3,"innerHTML"],[1,"p-message-detail",3,"innerHTML"],["class","p-message-summary",4,"ngIf"],["class","p-message-detail",4,"ngIf"],[1,"p-message-summary"],[1,"p-message-detail"],["type","button","pRipple","",1,"p-message-close","p-link",3,"click"],[3,"styleClass"],["role","alert",3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(e,i){if(1&e&&(ne(0,"div",0),J(1,fQ,2,1,"ng-container",1),J(2,gQ,3,2,"ng-template",null,2,Go),re()),2&e){const s=ii(3);Mt(i.styleClass),H("ngStyle",i.style),G(1),H("ngIf",!i.contentTemplate)("ngIfElse",s)}},dependencies:function(){return[ao,Zr,Ei,Xi,Mo,rh,Ff,N9,R9,P9,Jr]},styles:[".p-message-wrapper{display:flex;align-items:center}.p-message-close{display:flex;align-items:center;justify-content:center;flex:none}.p-message-close.p-link{margin-left:auto;overflow:hidden;position:relative}.p-messages .p-message.ng-animating{overflow:hidden}\n"],encapsulation:2,data:{animation:[kb("messageAnimation",[Ha(":enter",[Fo({opacity:0,transform:"translateY(-25%)"}),Va("{{showTransitionParams}}")]),Ha(":leave",[Va("{{hideTransitionParams}}",Fo({height:0,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,opacity:0}))])])]},changeDetection:0}),t})(),F9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,sh,Ff,N9,R9,P9,Jr]}),t})();function bQ(t,o){if(1&t&&(ne(0,"div",5),ze(1),re()),2&t){const e=X(2);_s("display",null!=e.value&&0!==e.value?"flex":"none"),G(1),Gp("",e.value,"",e.unit,"")}}function vQ(t,o){if(1&t&&(ne(0,"div",3),J(1,bQ,2,4,"div",4),re()),2&t){const e=X();_s("width",e.value+"%")("background",e.color),G(1),H("ngIf",e.showValue)}}function yQ(t,o){if(1&t&&(ne(0,"div",6),Re(1,"div",7),re()),2&t){const e=X();G(1),_s("background",e.color)}}const kQ=function(t,o){return{"p-progressbar p-component":!0,"p-progressbar-determinate":t,"p-progressbar-indeterminate":o}};let wQ=(()=>{class t{constructor(){this.showValue=!0,this.unit="%",this.mode="determinate"}ngAfterViewInit(){Gi.check()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Ct({type:t,selectors:[["p-progressBar"]],hostAttrs:[1,"p-element"],inputs:{value:"value",showValue:"showValue",style:"style",styleClass:"styleClass",unit:"unit",mode:"mode",color:"color"},decls:3,vars:10,consts:[["role","progressbar","aria-valuemin","0","aria-valuemax","100",3,"ngStyle","ngClass"],["class","p-progressbar-value p-progressbar-value-animate","style","display:flex",3,"width","background",4,"ngIf"],["class","p-progressbar-indeterminate-container",4,"ngIf"],[1,"p-progressbar-value","p-progressbar-value-animate",2,"display","flex"],["class","p-progressbar-label",3,"display",4,"ngIf"],[1,"p-progressbar-label"],[1,"p-progressbar-indeterminate-container"],[1,"p-progressbar-value","p-progressbar-value-animate"]],template:function(e,i){1&e&&(ne(0,"div",0),J(1,vQ,2,5,"div",1),J(2,yQ,2,2,"div",2),re()),2&e&&(Mt(i.styleClass),H("ngStyle",i.style)("ngClass",Xn(7,kQ,"determinate"===i.mode,"indeterminate"===i.mode)),mt("aria-valuenow",i.value),G(1),H("ngIf","determinate"===i.mode),G(1),H("ngIf","indeterminate"===i.mode))},dependencies:[ao,Ei,Mo],styles:['.p-progressbar{position:relative;overflow:hidden}.p-progressbar-determinate .p-progressbar-value{height:100%;width:0%;position:absolute;display:none;border:0 none;display:flex;align-items:center;justify-content:center;overflow:hidden}.p-progressbar-determinate .p-progressbar-label{display:inline-flex}.p-progressbar-determinate .p-progressbar-value-animate{transition:width 1s ease-in-out}.p-progressbar-indeterminate .p-progressbar-value:before{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:p-progressbar-indeterminate-anim 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.p-progressbar-indeterminate .p-progressbar-value:after{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right;animation:p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation-delay:1.15s}@keyframes p-progressbar-indeterminate-anim{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes p-progressbar-indeterminate-anim-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}\n'],encapsulation:2,changeDetection:0}),t})(),B9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi]}),t})();const CQ=["advancedfileinput"],AQ=["basicfileinput"],MQ=["content"];function DQ(t,o){1&t&&Re(0,"span",18),2&t&&(Mt(X(2).chooseIcon),H("ngClass","p-button-icon p-button-icon-left"))}function TQ(t,o){1&t&&Re(0,"PlusIcon",21),2&t&&H("styleClass","p-button-icon p-button-icon-left")}function xQ(t,o){}function EQ(t,o){1&t&&J(0,xQ,0,0,"ng-template")}function SQ(t,o){if(1&t&&(ne(0,"span",22),J(1,EQ,1,0,null,11),re()),2&t){const e=X(3);G(1),H("ngTemplateOutlet",e.chooseIconTemplate)}}function IQ(t,o){if(1&t&&(vt(0),J(1,TQ,1,1,"PlusIcon",19),J(2,SQ,2,1,"span",20),kt()),2&t){const e=X(2);G(1),H("ngIf",!e.chooseIconTemplate),G(1),H("ngIf",e.chooseIconTemplate)}}function LQ(t,o){1&t&&Re(0,"span",18),2&t&&H("ngClass",X(3).uploadIcon)}function OQ(t,o){1&t&&Re(0,"UploadIcon",21),2&t&&H("styleClass","p-button-icon p-button-icon-left")}function PQ(t,o){}function NQ(t,o){1&t&&J(0,PQ,0,0,"ng-template")}function RQ(t,o){if(1&t&&(ne(0,"span",22),J(1,NQ,1,0,null,11),re()),2&t){const e=X(4);G(1),H("ngTemplateOutlet",e.uploadIconTemplate)}}function FQ(t,o){if(1&t&&(vt(0),J(1,OQ,1,1,"UploadIcon",19),J(2,RQ,2,1,"span",20),kt()),2&t){const e=X(3);G(1),H("ngIf",!e.uploadIconTemplate),G(1),H("ngIf",e.uploadIconTemplate)}}function BQ(t,o){if(1&t){const e=wt();ne(0,"p-button",23),We("onClick",function(){return Pe(e),Oe(X(2).upload())}),J(1,LQ,1,1,"span",24),J(2,FQ,3,2,"ng-container",8),re()}if(2&t){const e=X(2);H("label",e.uploadButtonLabel)("disabled",!e.hasFiles()||e.isFileLimitExceeded())("styleClass",e.uploadStyleClass),G(1),H("ngIf",e.uploadIcon),G(1),H("ngIf",!e.uploadIcon)}}function jQ(t,o){1&t&&Re(0,"span",18),2&t&&H("ngClass",X(3).cancelIcon)}function zQ(t,o){1&t&&Re(0,"TimesIcon",21),2&t&&H("styleClass","p-button-icon p-button-icon-left")}function VQ(t,o){}function HQ(t,o){1&t&&J(0,VQ,0,0,"ng-template")}function YQ(t,o){if(1&t&&(ne(0,"span",22),J(1,HQ,1,0,null,11),re()),2&t){const e=X(4);G(1),H("ngTemplateOutlet",e.cancelIconTemplate)}}function UQ(t,o){if(1&t&&(vt(0),J(1,zQ,1,1,"TimesIcon",19),J(2,YQ,2,1,"span",20),kt()),2&t){const e=X(3);G(1),H("ngIf",!e.cancelIconTemplate),G(1),H("ngIf",e.cancelIconTemplate)}}function WQ(t,o){if(1&t){const e=wt();ne(0,"p-button",23),We("onClick",function(){return Pe(e),Oe(X(2).clear())}),J(1,jQ,1,1,"span",24),J(2,UQ,3,2,"ng-container",8),re()}if(2&t){const e=X(2);H("label",e.cancelButtonLabel)("disabled",!e.hasFiles()||e.uploading)("styleClass",e.cancelStyleClass),G(1),H("ngIf",e.cancelIcon),G(1),H("ngIf",!e.cancelIcon)}}function $Q(t,o){1&t&&Et(0)}function qQ(t,o){1&t&&Re(0,"p-progressBar",25),2&t&&H("value",X(2).progress)("showValue",!1)}function GQ(t,o){if(1&t){const e=wt();ne(0,"img",32),We("error",function(s){return Pe(e),Oe(X(5).imageError(s))}),re()}if(2&t){const e=X().$implicit,i=X(4);H("src",e.objectURL,bu)("width",i.previewWidth)}}function KQ(t,o){1&t&&Re(0,"TimesIcon")}function ZQ(t,o){}function QQ(t,o){1&t&&J(0,ZQ,0,0,"ng-template")}function JQ(t,o){if(1&t){const e=wt();ne(0,"div",28)(1,"div"),J(2,GQ,1,2,"img",29),re(),ne(3,"div",30),ze(4),re(),ne(5,"div"),ze(6),re(),ne(7,"div")(8,"button",31),We("click",function(s){const h=Pe(e).index;return Oe(X(4).remove(s,h))}),J(9,KQ,1,0,"TimesIcon",8),J(10,QQ,1,0,null,11),re()()()}if(2&t){const e=o.$implicit,i=X(4);G(2),H("ngIf",i.isImage(e)),G(2),nn(e.name),G(2),nn(i.formatSize(e.size)),G(2),Mt(i.removeStyleClass),H("disabled",i.uploading),G(1),H("ngIf",!i.cancelIconTemplate),G(1),H("ngTemplateOutlet",i.cancelIconTemplate)}}function XQ(t,o){if(1&t&&(ne(0,"div"),J(1,JQ,11,8,"div",27),re()),2&t){const e=X(3);G(1),H("ngForOf",e.files)}}function eJ(t,o){}function tJ(t,o){if(1&t&&(ne(0,"div"),J(1,eJ,0,0,"ng-template",33),re()),2&t){const e=X(3);G(1),H("ngForOf",e.files)("ngForTemplate",e.fileTemplate)}}function nJ(t,o){if(1&t&&(ne(0,"div",26),J(1,XQ,2,1,"div",8),J(2,tJ,2,2,"div",8),re()),2&t){const e=X(2);G(1),H("ngIf",!e.fileTemplate),G(1),H("ngIf",e.fileTemplate)}}function iJ(t,o){1&t&&Et(0)}const oJ=function(t,o){return{"p-focus":t,"p-disabled":o}},rJ=function(t){return{$implicit:t}};function sJ(t,o){if(1&t){const e=wt();ne(0,"div",2)(1,"div",3)(2,"span",4),We("focus",function(){return Pe(e),Oe(X().onFocus())})("blur",function(){return Pe(e),Oe(X().onBlur())})("click",function(){return Pe(e),Oe(X().choose())})("keydown.enter",function(){return Pe(e),Oe(X().choose())}),ne(3,"input",5,6),We("change",function(s){return Pe(e),Oe(X().onFileSelect(s))}),re(),J(5,DQ,1,3,"span",7),J(6,IQ,3,2,"ng-container",8),ne(7,"span",9),ze(8),re()(),J(9,BQ,3,5,"p-button",10),J(10,WQ,3,5,"p-button",10),J(11,$Q,1,0,"ng-container",11),re(),ne(12,"div",12,13),We("dragenter",function(s){return Pe(e),Oe(X().onDragEnter(s))})("dragleave",function(s){return Pe(e),Oe(X().onDragLeave(s))})("drop",function(s){return Pe(e),Oe(X().onDrop(s))}),J(14,qQ,1,2,"p-progressBar",14),Re(15,"p-messages",15),J(16,nJ,3,2,"div",16),J(17,iJ,1,0,"ng-container",17),re()()}if(2&t){const e=X();Mt(e.styleClass),H("ngClass","p-fileupload p-fileupload-advanced p-component")("ngStyle",e.style),G(2),Mt(e.chooseStyleClass),H("ngClass",Xn(23,oJ,e.focus,e.disabled||e.isChooseDisabled())),G(1),H("multiple",e.multiple)("accept",e.accept)("disabled",e.disabled||e.isChooseDisabled()),mt("title",""),G(2),H("ngIf",e.chooseIcon),G(1),H("ngIf",!e.chooseIcon),G(2),nn(e.chooseButtonLabel),G(1),H("ngIf",!e.auto&&e.showUploadButton),G(1),H("ngIf",!e.auto&&e.showCancelButton),G(1),H("ngTemplateOutlet",e.toolbarTemplate),G(3),H("ngIf",e.hasFiles()),G(1),H("value",e.msgs)("enableService",!1),G(1),H("ngIf",e.hasFiles()),G(1),H("ngTemplateOutlet",e.contentTemplate)("ngTemplateOutletContext",gn(26,rJ,e.files))}}function aJ(t,o){1&t&&Re(0,"span",41),2&t&&H("ngClass",X(3).uploadIcon)}function lJ(t,o){1&t&&Re(0,"UploadIcon",21),2&t&&H("styleClass","p-button-icon p-button-icon-left")}function cJ(t,o){}function dJ(t,o){1&t&&J(0,cJ,0,0,"ng-template")}function uJ(t,o){if(1&t&&(ne(0,"span",22),J(1,dJ,1,0,null,11),re()),2&t){const e=X(4);G(1),H("ngTemplateOutlet",e.uploadIconTemplate)}}function hJ(t,o){if(1&t&&(vt(0),J(1,lJ,1,1,"UploadIcon",19),J(2,uJ,2,1,"span",20),kt()),2&t){const e=X(3);G(1),H("ngIf",!e.uploadIconTemplate),G(1),H("ngIf",e.uploadIconTemplate)}}function pJ(t,o){if(1&t&&(vt(0),J(1,aJ,1,1,"span",40),J(2,hJ,3,2,"ng-container",8),kt()),2&t){const e=X(2);G(1),H("ngIf",e.uploadIcon),G(1),H("ngIf",!e.uploadIcon)}}function fJ(t,o){1&t&&Re(0,"span",43),2&t&&H("ngClass",X(3).chooseIcon)}function mJ(t,o){1&t&&Re(0,"PlusIcon",21),2&t&&H("styleClass","p-button-icon p-button-icon-left pi")}function gJ(t,o){}function _J(t,o){1&t&&J(0,gJ,0,0,"ng-template")}function bJ(t,o){if(1&t&&(ne(0,"span",45),J(1,_J,1,0,null,11),re()),2&t){const e=X(4);G(1),H("ngTemplateOutlet",e.chooseIconTemplate)}}function vJ(t,o){if(1&t&&(vt(0),J(1,mJ,1,1,"PlusIcon",19),J(2,bJ,2,1,"span",44),kt()),2&t){const e=X(3);G(1),H("ngIf",!e.chooseIconTemplate),G(1),H("ngIf",e.chooseIconTemplate)}}function yJ(t,o){if(1&t&&(J(0,fJ,1,1,"span",42),J(1,vJ,3,2,"ng-container",8)),2&t){const e=X(2);H("ngIf",e.chooseIcon),G(1),H("ngIf",!e.chooseIcon)}}function kJ(t,o){if(1&t&&(ne(0,"span",9),ze(1),re()),2&t){const e=X(2);G(1),nn(e.basicButtonLabel)}}function wJ(t,o){if(1&t){const e=wt();ne(0,"input",46,47),We("change",function(s){return Pe(e),Oe(X(2).onFileSelect(s))})("focus",function(){return Pe(e),Oe(X(2).onFocus())})("blur",function(){return Pe(e),Oe(X(2).onBlur())}),re()}if(2&t){const e=X(2);H("accept",e.accept)("multiple",e.multiple)("disabled",e.disabled)}}const CJ=function(t,o,e,i){return{"p-button p-component p-fileupload-choose":!0,"p-button-icon-only":t,"p-fileupload-choose-selected":o,"p-focus":e,"p-disabled":i}};function AJ(t,o){if(1&t){const e=wt();ne(0,"div",34),Re(1,"p-messages",15),ne(2,"span",35),We("click",function(){return Pe(e),Oe(X().onBasicUploaderClick())})("keydown",function(s){return Pe(e),Oe(X().onBasicKeydown(s))}),J(3,pJ,3,2,"ng-container",36),J(4,yJ,2,2,"ng-template",null,37,Go),J(6,kJ,2,1,"span",38),J(7,wJ,2,3,"input",39),re()()}if(2&t){const e=ii(5),i=X();G(1),H("value",i.msgs)("enableService",!1),G(1),Mt(i.styleClass),H("ngClass",tc(10,CJ,!i.basicButtonLabel,i.hasFiles(),i.focus,i.disabled))("ngStyle",i.style),G(1),H("ngIf",i.hasFiles()&&!i.auto)("ngIfElse",e),G(3),H("ngIf",i.basicButtonLabel),G(1),H("ngIf",!i.hasFiles())}}let q5=(()=>{class t{constructor(e,i,s,l,h,m,_,w,N){this.document=e,this.platformId=i,this.renderer=s,this.el=l,this.sanitizer=h,this.zone=m,this.http=_,this.cd=w,this.config=N,this.method="post",this.invalidFileSizeMessageSummary="{0}: Invalid file size, ",this.invalidFileSizeMessageDetail="maximum upload size is {0}.",this.invalidFileTypeMessageSummary="{0}: Invalid file type, ",this.invalidFileTypeMessageDetail="allowed file types: {0}.",this.invalidFileLimitMessageDetail="limit is {0} at most.",this.invalidFileLimitMessageSummary="Maximum number of files exceeded, ",this.previewWidth=50,this.showUploadButton=!0,this.showCancelButton=!0,this.mode="advanced",this.onBeforeUpload=new Qe,this.onSend=new Qe,this.onUpload=new Qe,this.onError=new Qe,this.onClear=new Qe,this.onRemove=new Qe,this.onSelect=new Qe,this.onProgress=new Qe,this.uploadHandler=new Qe,this.onImageError=new Qe,this._files=[],this.progress=0,this.uploadedFileCount=0}set files(e){this._files=[];for(let i=0;i<e.length;i++){let s=e[i];this.validate(s)&&(this.isImage(s)&&(s.objectURL=this.sanitizer.bypassSecurityTrustUrl(window.URL.createObjectURL(e[i]))),this._files.push(e[i]))}}get files(){return this._files}get basicButtonLabel(){return this.auto||!this.hasFiles()?this.chooseLabel:this.uploadLabel??this.files[0].name}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"file":default:this.fileTemplate=e.template;break;case"content":this.contentTemplate=e.template;break;case"toolbar":this.toolbarTemplate=e.template;break;case"chooseicon":this.chooseIconTemplate=e.template;break;case"uploadicon":this.uploadIconTemplate=e.template;break;case"cancelicon":this.cancelIconTemplate=e.template}})}ngOnInit(){this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.cd.markForCheck()})}ngAfterViewInit(){Bs(this.platformId)&&"advanced"===this.mode&&this.zone.runOutsideAngular(()=>{this.content&&(this.dragOverListener=this.renderer.listen(this.content.nativeElement,"dragover",this.onDragOver.bind(this)))}),Gi.check()}choose(){this.advancedFileInput.nativeElement.click()}onFileSelect(e){if("drop"!==e.type&&this.isIE11()&&this.duplicateIEEvent)return void(this.duplicateIEEvent=!1);this.msgs=[],this.multiple||(this.files=[]);let i=e.dataTransfer?e.dataTransfer.files:e.target.files;for(let s=0;s<i.length;s++){let l=i[s];this.isFileSelected(l)||this.validate(l)&&(this.isImage(l)&&(l.objectURL=this.sanitizer.bypassSecurityTrustUrl(window.URL.createObjectURL(i[s]))),this.files.push(i[s]))}this.onSelect.emit({originalEvent:e,files:i,currentFiles:this.files}),this.fileLimit&&this.checkFileLimit(),this.hasFiles()&&this.auto&&("advanced"!==this.mode||!this.isFileLimitExceeded())&&this.upload(),"drop"!==e.type&&this.isIE11()?this.clearIEInput():this.clearInputElement()}isFileSelected(e){for(let i of this.files)if(i.name+i.type+i.size===e.name+e.type+e.size)return!0;return!1}isIE11(){if(Bs(this.platformId))return!!this.document.defaultView.MSInputMethodContext&&!!this.document.documentMode}validate(e){return this.msgs=this.msgs||[],this.accept&&!this.isFileTypeValid(e)?(this.msgs.push({severity:"error",summary:this.invalidFileTypeMessageSummary.replace("{0}",e.name),detail:this.invalidFileTypeMessageDetail.replace("{0}",this.accept)}),!1):!(this.maxFileSize&&e.size>this.maxFileSize&&(this.msgs.push({severity:"error",summary:this.invalidFileSizeMessageSummary.replace("{0}",e.name),detail:this.invalidFileSizeMessageDetail.replace("{0}",this.formatSize(this.maxFileSize))}),1))}isFileTypeValid(e){let i=this.accept.split(",").map(s=>s.trim());for(let s of i)if(this.isWildcard(s)?this.getTypeClass(e.type)===this.getTypeClass(s):e.type==s||this.getFileExtension(e).toLowerCase()===s.toLowerCase())return!0;return!1}getTypeClass(e){return e.substring(0,e.indexOf("/"))}isWildcard(e){return-1!==e.indexOf("*")}getFileExtension(e){return"."+e.name.split(".").pop()}isImage(e){return/^image\//.test(e.type)}onImageLoad(e){window.URL.revokeObjectURL(e.src)}upload(){if(this.customUpload)this.fileLimit&&(this.uploadedFileCount+=this.files.length),this.uploadHandler.emit({files:this.files}),this.cd.markForCheck();else{this.uploading=!0,this.msgs=[];let e=new FormData;this.onBeforeUpload.emit({formData:e});for(let i=0;i<this.files.length;i++)e.append(this.name,this.files[i],this.files[i].name);this.http[this.method](this.url,e,{headers:this.headers,reportProgress:!0,observe:"events",withCredentials:this.withCredentials}).subscribe(i=>{switch(i.type){case Ld.Sent:this.onSend.emit({originalEvent:i,formData:e});break;case Ld.Response:this.uploading=!1,this.progress=0,i.status>=200&&i.status<300?(this.fileLimit&&(this.uploadedFileCount+=this.files.length),this.onUpload.emit({originalEvent:i,files:this.files})):this.onError.emit({files:this.files}),this.clear();break;case Ld.UploadProgress:i.loaded&&(this.progress=Math.round(100*i.loaded/i.total)),this.onProgress.emit({originalEvent:i,progress:this.progress})}this.cd.markForCheck()},i=>{this.uploading=!1,this.onError.emit({files:this.files,error:i})})}}clear(){this.files=[],this.uploadedFileCount=0,this.onClear.emit(),this.clearInputElement(),this.cd.markForCheck()}remove(e,i){this.clearInputElement(),this.onRemove.emit({originalEvent:e,file:this.files[i]}),this.files.splice(i,1),this.checkFileLimit()}isFileLimitExceeded(){const i=this.auto?this.files.length:this.files.length+this.uploadedFileCount;return this.fileLimit&&this.fileLimit<=i&&this.focus&&(this.focus=!1),this.fileLimit&&this.fileLimit<i}isChooseDisabled(){return this.auto?this.fileLimit&&this.fileLimit<=this.files.length:this.fileLimit&&this.fileLimit<=this.files.length+this.uploadedFileCount}checkFileLimit(){this.msgs=[],this.isFileLimitExceeded()?this.msgs.push({severity:"error",summary:this.invalidFileLimitMessageSummary.replace("{0}",this.fileLimit.toString()),detail:this.invalidFileLimitMessageDetail.replace("{0}",this.fileLimit.toString())}):this.msgs=[]}clearInputElement(){this.advancedFileInput&&this.advancedFileInput.nativeElement&&(this.advancedFileInput.nativeElement.value=""),this.basicFileInput&&this.basicFileInput.nativeElement&&(this.basicFileInput.nativeElement.value="")}clearIEInput(){this.advancedFileInput&&this.advancedFileInput.nativeElement&&(this.duplicateIEEvent=!0,this.advancedFileInput.nativeElement.value="")}hasFiles(){return this.files&&this.files.length>0}onDragEnter(e){this.disabled||(e.stopPropagation(),e.preventDefault())}onDragOver(e){this.disabled||(Le.addClass(this.content.nativeElement,"p-fileupload-highlight"),this.dragHighlight=!0,e.stopPropagation(),e.preventDefault())}onDragLeave(e){this.disabled||Le.removeClass(this.content.nativeElement,"p-fileupload-highlight")}onDrop(e){if(!this.disabled){Le.removeClass(this.content.nativeElement,"p-fileupload-highlight"),e.stopPropagation(),e.preventDefault();let i=e.dataTransfer?e.dataTransfer.files:e.target.files;(this.multiple||i&&1===i.length)&&this.onFileSelect(e)}}onFocus(){this.focus=!0}onBlur(){this.focus=!1}formatSize(e){if(0==e)return"0 B";let h=Math.floor(Math.log(e)/Math.log(1e3));return parseFloat((e/Math.pow(1e3,h)).toFixed(3))+" "+["B","KB","MB","GB","TB","PB","EB","ZB","YB"][h]}onBasicUploaderClick(){this.hasFiles()?this.upload():this.basicFileInput.nativeElement.click()}onBasicKeydown(e){switch(e.code){case"Space":case"Enter":this.onBasicUploaderClick(),e.preventDefault()}}imageError(e){this.onImageError.emit(e)}getBlockableElement(){return this.el.nativeElement.children[0]}get chooseButtonLabel(){return this.chooseLabel||this.config.getTranslation(ys.CHOOSE)}get uploadButtonLabel(){return this.uploadLabel||this.config.getTranslation(ys.UPLOAD)}get cancelButtonLabel(){return this.cancelLabel||this.config.getTranslation(ys.CANCEL)}ngOnDestroy(){this.content&&this.content.nativeElement&&this.dragOverListener&&(this.dragOverListener(),this.dragOverListener=null),this.translationSubscription&&this.translationSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hn),Ce(ko),Ce(Lo),Ce(An),Ce(tk),Ce(yn),Ce(Nk),Ce(Mi),Ce(Rf))},t.\u0275cmp=Ct({type:t,selectors:[["p-fileUpload"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},viewQuery:function(e,i){if(1&e&&(Pn(CQ,5),Pn(AQ,5),Pn(MQ,5)),2&e){let s;zt(s=jt())&&(i.advancedFileInput=s.first),zt(s=jt())&&(i.basicFileInput=s.first),zt(s=jt())&&(i.content=s.first)}},hostAttrs:[1,"p-element"],inputs:{name:"name",url:"url",method:"method",multiple:"multiple",accept:"accept",disabled:"disabled",auto:"auto",withCredentials:"withCredentials",maxFileSize:"maxFileSize",invalidFileSizeMessageSummary:"invalidFileSizeMessageSummary",invalidFileSizeMessageDetail:"invalidFileSizeMessageDetail",invalidFileTypeMessageSummary:"invalidFileTypeMessageSummary",invalidFileTypeMessageDetail:"invalidFileTypeMessageDetail",invalidFileLimitMessageDetail:"invalidFileLimitMessageDetail",invalidFileLimitMessageSummary:"invalidFileLimitMessageSummary",style:"style",styleClass:"styleClass",previewWidth:"previewWidth",chooseLabel:"chooseLabel",uploadLabel:"uploadLabel",cancelLabel:"cancelLabel",chooseIcon:"chooseIcon",uploadIcon:"uploadIcon",cancelIcon:"cancelIcon",showUploadButton:"showUploadButton",showCancelButton:"showCancelButton",mode:"mode",headers:"headers",customUpload:"customUpload",fileLimit:"fileLimit",uploadStyleClass:"uploadStyleClass",cancelStyleClass:"cancelStyleClass",removeStyleClass:"removeStyleClass",chooseStyleClass:"chooseStyleClass",files:"files"},outputs:{onBeforeUpload:"onBeforeUpload",onSend:"onSend",onUpload:"onUpload",onError:"onError",onClear:"onClear",onRemove:"onRemove",onSelect:"onSelect",onProgress:"onProgress",uploadHandler:"uploadHandler",onImageError:"onImageError"},decls:2,vars:2,consts:[[3,"ngClass","ngStyle","class",4,"ngIf"],["class","p-fileupload p-fileupload-basic p-component",4,"ngIf"],[3,"ngClass","ngStyle"],[1,"p-fileupload-buttonbar"],["pRipple","","tabindex","0",1,"p-button","p-component","p-fileupload-choose",3,"ngClass","focus","blur","click","keydown.enter"],["type","file",3,"multiple","accept","disabled","change"],["advancedfileinput",""],[3,"ngClass","class",4,"ngIf"],[4,"ngIf"],[1,"p-button-label"],["type","button",3,"label","disabled","styleClass","onClick",4,"ngIf"],[4,"ngTemplateOutlet"],[1,"p-fileupload-content",3,"dragenter","dragleave","drop"],["content",""],[3,"value","showValue",4,"ngIf"],[3,"value","enableService"],["class","p-fileupload-files",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],[3,"styleClass",4,"ngIf"],["class","p-button-icon p-button-icon-left",4,"ngIf"],[3,"styleClass"],[1,"p-button-icon","p-button-icon-left"],["type","button",3,"label","disabled","styleClass","onClick"],[3,"ngClass",4,"ngIf"],[3,"value","showValue"],[1,"p-fileupload-files"],["class","p-fileupload-row",4,"ngFor","ngForOf"],[1,"p-fileupload-row"],[3,"src","width","error",4,"ngIf"],[1,"p-fileupload-filename"],["type","button","pButton","",1,"p-button-icon-only",3,"disabled","click"],[3,"src","width","error"],["ngFor","",3,"ngForOf","ngForTemplate"],[1,"p-fileupload","p-fileupload-basic","p-component"],["tabindex","0","pRipple","",3,"ngClass","ngStyle","click","keydown"],[4,"ngIf","ngIfElse"],["chooseSection",""],["class","p-button-label",4,"ngIf"],["type","file",3,"accept","multiple","disabled","change","focus","blur",4,"ngIf"],["class","p-button-icon p-button-icon-left",3,"ngClass",4,"ngIf"],[1,"p-button-icon","p-button-icon-left",3,"ngClass"],["class","p-button-icon p-button-icon-left pi",3,"ngClass",4,"ngIf"],[1,"p-button-icon","p-button-icon-left","pi",3,"ngClass"],["class","p-button-icon p-button-icon-left pi",4,"ngIf"],[1,"p-button-icon","p-button-icon-left","pi"],["type","file",3,"accept","multiple","disabled","change","focus","blur"],["basicfileinput",""]],template:function(e,i){1&e&&(J(0,sJ,18,28,"div",0),J(1,AJ,8,15,"div",1)),2&e&&(H("ngIf","advanced"===i.mode),G(1),H("ngIf","basic"===i.mode))},dependencies:function(){return[ao,Zr,Ei,Xi,Mo,Mb,GT,wQ,_Q,rh,L9,O9,Jr]},styles:[".p-fileupload-content{position:relative}.p-fileupload-row{display:flex;align-items:center}.p-fileupload-row>div{flex:1 1 auto;width:25%}.p-fileupload-row>div:last-child{text-align:right}.p-fileupload-content .p-progressbar{width:100%;position:absolute;top:0;left:0}.p-button.p-fileupload-choose{position:relative;overflow:hidden}.p-button.p-fileupload-choose input[type=file],.p-fileupload-choose.p-fileupload-choose-selected input[type=file]{display:none}.p-fluid .p-fileupload .p-button{width:auto}.p-fileupload-filename{word-break:break-all}\n"],encapsulation:2,changeDetection:0}),t})(),MJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,P$,Ki,Db,B9,F9,sh,L9,O9,Jr,Ki,Db,B9,F9]}),t})();const DJ=new pt("recaptcha-language"),TJ=new pt("recaptcha-base-url"),xJ=new pt("recaptcha-nonce-tag"),j9=new pt("recaptcha-settings"),EJ=new pt("recaptcha-v3-site-key"),SJ=new pt("recaptcha-loader-options"),z9={loadScript:function IJ(t,o,e,{url:i,lang:s,nonce:l}={}){window.ng2recaptchaloaded=()=>{e(grecaptcha)};const h=document.createElement("script");h.innerHTML="";const{url:m,nonce:_}=o(new URL(i||"https://www.google.com/recaptcha/api.js"));m.searchParams.set("render","explicit"===t?t:t.key),m.searchParams.set("onload","ng2recaptchaloaded"),m.searchParams.set("trustedtypes","true"),s&&m.searchParams.set("hl",s),h.src=m.href;const w=_||l;w&&h.setAttribute("nonce",w),h.async=!0,h.defer=!0,document.head.appendChild(h)},newLoadScript:function LJ({v3SiteKey:t,onBeforeLoad:o,onLoaded:e}){z9.loadScript(t?{key:t}:"explicit",o,e)}};let V9=(()=>{class t{static#e=this.ready=null;constructor(e,i,s,l,h,m){this.platformId=e,this.language=i,this.baseUrl=s,this.nonce=l,this.v3SiteKey=h,this.options=m;const _=this.init();this.ready=_?function OJ(t){return t.asObservable().pipe(Qr(o=>null!==o))}(_):Yt()}init(){if(t.ready)return t.ready;if(!Bs(this.platformId))return;const e=new to(null);return t.ready=e,z9.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:i=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(i);const s=new URL(this.baseUrl??i);return this.language&&s.searchParams.set("hl",this.language),{url:s,nonce:this.nonce}},onLoaded:i=>{let s=i;this.options?.onLoaded&&(s=this.options.onLoaded(i)),e.next(s)}}),e}static#t=this.\u0275fac=function(i){return new(i||t)(st(ko),st(DJ,8),st(TJ,8),st(xJ,8),st(EJ,8),st(SJ,8))};static#n=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})(),PJ=0,H9=(()=>{class t{constructor(e,i,s,l){this.elementRef=e,this.loader=i,this.zone=s,this.id="ngrecaptcha-"+PJ++,this.errorMode="default",this.resolved=new Qe,this.error=new Qe,this.errored=new Qe,l&&(this.siteKey=l.siteKey,this.theme=l.theme,this.type=l.type,this.size=l.size,this.badge=l.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(e=>{null!=e&&e.render instanceof Function&&(this.grecaptcha=e,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){"invisible"===this.size&&(null!=this.widget?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){null!=this.widget&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return null!=this.widget?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(e){this.error.emit(e),this.errored.emit(e)}captchaResponseCallback(e){this.resolved.emit(e)}grecaptchaReset(){null!=this.widget&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){const e={badge:this.badge,callback:i=>{this.zone.run(()=>this.captchaResponseCallback(i))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};"handled"===this.errorMode&&(e["error-callback"]=(...i)=>{this.zone.run(()=>this.onError(i))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,e),!0===this.executeRequested&&(this.executeRequested=!1,this.execute())}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(An),Ce(V9),Ce(yn),Ce(j9,8))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(i,s){2&i&&mt("id",s.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],decls:0,vars:0,template:function(i,s){},encapsulation:2})}return t})(),Y9=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({})}return t})(),NJ=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({providers:[V9],imports:[Y9]})}return t})(),RJ=(()=>{class t{constructor(e){this.host=e,this.requiresControllerReset=!1}writeValue(e){e?this.host.__unsafe_widgetValue!==e&&!this.host.__unsafe_widgetValue&&(this.requiresControllerReset=!0):this.host.reset()}registerOnChange(e){this.onChange=e,this.requiresControllerReset&&(this.requiresControllerReset=!1,this.onChange(null))}registerOnTouched(e){this.onTouched=e}onResolve(e){this.onChange&&this.onChange(e),this.onTouched&&this.onTouched()}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(H9))};static#t=this.\u0275dir=Xe({type:t,selectors:[["re-captcha","formControlName",""],["re-captcha","formControl",""],["re-captcha","ngModel",""]],hostBindings:function(i,s){1&i&&We("resolved",function(h){return s.onResolve(h)})},features:[Pt([{multi:!0,provide:qi,useExisting:xt(()=>t)}])]})}return t})(),FJ=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({imports:[eb,Y9]})}return t})();function BJ(t,o){if(1&t){const e=wt();ne(0,"div",34)(1,"p-checkbox",35),We("ngModelChange",function(s){return Pe(e),Oe(X().atendimento.codigoCategorias=s)}),re(),ne(2,"label",36),ze(3),re()()}if(2&t){const e=o.$implicit,i=X();G(1),H("value",e)("ngModel",i.atendimento.codigoCategorias)("inputId",e.id),G(1),H("for",e.id),G(1),nn(e.descricao)}}function jJ(t,o){1&t&&(ne(0,"div"),ze(1," Nome obrigat\xf3rio "),re())}function zJ(t,o){1&t&&(ne(0,"span",37),ze(1," Informa um email v\xe1lido "),re())}function VJ(t,o){1&t&&(ne(0,"span",37),ze(1," Informe um telefone v\xe1lido "),re())}function HJ(t,o){1&t&&(ne(0,"span",37),ze(1," Informe uma data v\xe1lida "),re())}function YJ(t,o){if(1&t&&(ne(0,"div",34),Re(1,"p-radioButton",38),ne(2,"label",39),ze(3),re()()),2&t){const e=o.$implicit;G(1),H("inputId",e.id)("value",e.id),G(1),H("for",e.id),G(1),nn(e.descricao)}}function UJ(t,o){if(1&t&&(ne(0,"div",34),Re(1,"p-radioButton",40),ne(2,"label",39),ze(3),re()()),2&t){const e=o.$implicit;G(1),H("inputId",e.id)("value",e.id),G(1),H("for",e.id),G(1),nn(e.descricao)}}function WJ(t,o){if(1&t&&(ne(0,"div",34),Re(1,"p-radioButton",41),ne(2,"label",39),ze(3),re()()),2&t){const e=o.$implicit;G(1),H("inputId",e.id)("value",e.id),G(1),H("for",e.id),G(1),nn(e.descricao)}}function $J(t,o){if(1&t&&(ne(0,"div",34),Re(1,"p-radioButton",42),ne(2,"label",39),ze(3),re()()),2&t){const e=o.$implicit;G(1),H("inputId",e.id)("value",e.id),G(1),H("for",e.id),G(1),nn(e.descricao)}}function qJ(t,o){if(1&t&&(ne(0,"li"),ze(1),re()),2&t){const e=o.$implicit;G(1),nn(e.name)}}function GJ(t,o){if(1&t&&(ne(0,"ul"),J(1,qJ,2,1,"li",43),re()),2&t){const e=X(2);G(1),H("ngForOf",e.uploadedFiles)}}function KJ(t,o){1&t&&J(0,GJ,2,1,"ul",14),2&t&&H("ngIf",X().uploadedFiles.length)}const G5=function(){return{minWidth:"100%",padding:"2px"}},ZJ=W(6676);let JJ=(()=>{class t{constructor(e,i,s,l,h,m,_){this.router=e,this.activatedRoute=i,this.messageService=s,this.ngxLoader=l,this.atendimentoService=h,this.errorHandler=m,this.formBuilder=_,this.tipoNatureza=0,this.campos=!1,this.atendimento=new z5,this.atendimentoForm=new z5,this.sucesso=!1,this.isValid=!0,this.fileName="",this.uploadedFiles=[],this.base64="Base64...",this.anexo=new Cb,this.token=void 0,this.activatedRoute.params.subscribe(w=>{this.tipoNatureza=w.tipoNatureza}),this.formulario=this.formBuilder.group({manterSigilo:["",Ln.required],categoria:["",[Ln.required]],listaAnexoDto:[""],nomeSolicitante:["",[Ln.required]],nomeSocial:[""],numeroDocumento:[""],email:["",Ln.email],foneCelular:["",Ln.minLength(12)],dataNasci:["",t=>{let o=ZJ(t.value,"DDMMYYYY",!0).isValid();return t&&t.value&&0==o?{invalidDate:"Data inv\xe1lida"}:null}],municipio:[""],codigoGenero:["",[Ln.required]],codigoCorRaca:[""],codigoSobreOuv:[""],codigoFuncaoElogio:[""],codigoAtendimentoDef:[""],codigoTemaReclamacao:[""],codigoReclamacao:[""],orgao:[""],tipoUsuario:[""],recaptcha:["",[Ln.required]],natureza:[""],identificado:[""],descricaoOque:["",[Ln.required]]})}ngOnInit(){this.ngxLoader.start(),this.atendimentoService.cadastroSiteDefensoria().then(e=>{this.atendimento=e.atendimentoDto,this.ngxLoader.stop()}).catch(e=>{this.ngxLoader.stop(),setTimeout(()=>{this.errorHandler.handle(e)},1e3)}),1==this.tipoNatureza&&(this.formulario.get("codigoAtendimentoDef")?.setValidators(Ln.required),this.formulario.get("codigoTemaReclamacao")?.setValidators(Ln.required),this.formulario.get("codigoReclamacao")?.setValidators(Ln.required)),3==this.tipoNatureza&&this.formulario.get("codigoFuncaoElogio")?.setValidators(Ln.required)}get registerFormControl(){return this.formulario.controls}anonimo(){this.campos=!0}identificado(){this.campos=!1}voltarInicio(){this.router.navigate(["/"])}carregaArquivo(e){for(let i=0;i<e.files.length;i++){let s=new Cb;const l=e.files[i];l&&this.convertFileToBase64(l,i,s)}}convertFileToBase64(e,i,s){let l=new FileReader;l.readAsDataURL(e),l.onload=()=>{s.stringBase64=l.result,s.nomeArquivo=e.name,this.atendimento.listaAnexoDto[i]=s}}mascaraDeTelefone(){var e=/[^0-9.]/;e.lastIndex=0,e.test(this.atendimento.foneCelular)?this.isValid=!1:(this.isValid=!0,this.atendimento.foneCelular=11==this.atendimento.foneCelular.length?this.atendimento.foneCelular.slice(0,2)+"-"+this.atendimento.foneCelular.slice(2,7)+"-"+this.atendimento.foneCelular.slice(7,11):this.atendimento.foneCelular.slice(0,2)+"-"+this.atendimento.foneCelular.slice(2,6)+"-"+this.atendimento.foneCelular.slice(6,10))}concluir(){this.ngxLoader.start(),this.formulario.get("orgao")?.setValue(1),this.formulario.get("tipoUsuario")?.setValue(1),this.formulario.get("identificado")?.setValue(1),this.formulario.get("natureza")?.setValue(this.tipoNatureza),this.atendimentoForm=this.formulario.value,this.atendimentoForm.listaAnexoDto=this.atendimento.listaAnexoDto,console.log(this.atendimentoForm),this.atendimentoService.adicionar(this.atendimentoForm).then(e=>{this.atendimento=e.atendimentoDto,this.ngxLoader.stop()}).then(e=>{setTimeout(()=>{this.sucesso=!0,this.messageService.add({severity:"success",detail:"Manifesta\xe7\xe3o enviada com sucesso!"})},1e3)}).catch(e=>{this.ngxLoader.stop(),setTimeout(()=>{this.errorHandler.handle(e)},1e3)})}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(No),Ce(cc),Ce(Nf),Ce(Ef),Ce(zk),Ce(Vk),Ce(LL))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["app-cadastro"]],decls:226,vars:51,consts:[["text","Processando..."],[3,"formGroup","ngSubmit"],[3,"hidden"],["id","about"],[1,"container","px-4"],[1,"row","gx-4","justify-content-center"],[1,"col-lg-8"],[1,"lead"],[1,"p-field-checkbox"],["value","1","formControlName","manterSigilo","inputId","manterSigilo",3,"ngModel","click","ngModelChange"],["value","0","formControlName","manterSigilo","inputId","manterSigilo1",3,"ngModel","click","ngModelChange"],["class","field-checkbox",4,"ngFor","ngForOf"],[1,"row","justify-content-center"],["type","text","placeholder","Informe o nome","id","nomeSolicitante","formControlName","nomeSolicitante","name","nomeSolicitante",1,"form-control","form-control-sm"],[4,"ngIf"],["type","text","placeholder","Informe o nome social","id","nomeSocial","formControlName","nomeSocial","name","nomeSocial",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["type","text","placeholder","Informe o n\xfamero do documento","formControlName","numeroDocumento","id","numeroDocumento","name","numeroDocumento",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["type","email","placeholder","Informe seu email","id","email","formControlName","email","name","email",1,"form-control",3,"ngModel","ngModelChange"],["class","text-danger",4,"ngIf"],["name","foneCelular","formControlName","foneCelular","id","input-telefone","placeholder","Informe seu telefone","type","tel","inputmode","numeric",1,"form-control",3,"ngModel","blur","ngModelChange"],["id","input-data","mask","d0/M0/0000","inputmode","numeric","id","dataNasci","name","dataNasci","type","text","formControlName","dataNasci",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["inputId","municipio","optionLabel","descricao","name","municipio","optionLabel","descricao","optionValue","descricao","placeholder","Selecione a op\xe7\xe3o",1,"p-inputtext-sm",3,"options","required","ngModel","ngModelChange"],["name","codigoGenero","formControlName","codigoGenero","optionLabel","descricao","optionValue","id","placeholder","Selecione sua resposta",3,"options","showClear"],["name","codigoCorRaca","formControlName","codigoCorRaca","optionLabel","descricao","optionValue","id","placeholder","Selecione sua resposta",3,"options","showClear"],["name","codigoSobreOuv","formControlName","codigoSobreOuv","optionLabel","descricao","optionValue","id","placeholder","Selecione sua resposta",3,"options","showClear"],["id","descricaoOque","rows","3","name","descricaoOque","formControlName","descricaoOque",1,"form-control",3,"ngModel","ngModelChange"],[1,"flex","flex-column","gap-3"],["name","anexo","invalidFileSizeMessageDetail","O tamanho m\xe1ximo permitido de arquivos \xe9 de 10","chooseLabel","Selecione o arquivo","accept","image/*,application/*",3,"auto","customUpload","multiple","maxFileSize","uploadHandler"],["pTemplate","content"],["id","recaptcha","name","recaptcha","formControlName","recaptcha",3,"ngModel","ngModelChange"],["label","Enviar","type","submit","icon","pi pi-angle-right","iconPos","right",3,"disabled"],["label","Voltar","type","button","icon","pi pi-angle-right","iconPos","right",3,"onClick"],["role","alert",1,"alert","alert-success"],["label","Registrar Manifesta\xe7\xe3o","type","button","icon","pi pi-angle-right","iconPos","right",3,"onClick"],[1,"field-checkbox"],["name","categoria","formControlName","categoria",3,"value","ngModel","inputId","ngModelChange"],[3,"for"],[1,"text-danger"],["formControlName","codigoFuncaoElogio","name","codigoFuncaoElogio",3,"inputId","value"],[1,"ml-2",3,"for"],["name","codigoAtendimentoDef","formControlName","codigoAtendimentoDef",3,"inputId","value"],["name","codigoTemaReclamacao","formControlName","codigoTemaReclamacao",3,"inputId","value"],["name","codigoReclamacao","formControlName","codigoReclamacao",3,"inputId","value"],[4,"ngFor","ngForOf"]],template:function(i,s){if(1&i&&(Re(0,"ngx-ui-loader",0),ne(1,"form",1),We("ngSubmit",function(){return s.concluir()}),ne(2,"div",2)(3,"section",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"p",7),ze(8,"1. Deseja manter o sigilo de identidade?."),Re(9,"br"),ze(10,"Informamos que, caso escolha a op\xe7\xe3o sigilo, pode ser que sua manifesta\xe7\xe3o n\xe3o seja processada. *"),re(),ne(11,"div",8)(12,"p-radioButton",9),We("click",function(){return s.anonimo()})("ngModelChange",function(h){return s.atendimento.manterSigilo=h}),re(),ne(13,"label"),ze(14,"Sigilo"),re()(),ne(15,"div",8)(16,"p-radioButton",10),We("click",function(){return s.identificado()})("ngModelChange",function(h){return s.atendimento.manterSigilo=h}),re(),ne(17,"label"),ze(18,"Identificado"),re()()()()()(),ne(19,"section",3)(20,"div",4)(21,"div",5)(22,"div",6)(23,"p",7),ze(24,"2. Voc\xea se encontra em alguma destas situa\xe7\xf5es? *"),re(),J(25,BJ,4,5,"div",11),re()()()(),ne(26,"section")(27,"div",4)(28,"div",12)(29,"div",6)(30,"p",7),ze(31,"3. Nome completo (sem brevia\xe7\xf5es) *"),re(),Re(32,"input",13),J(33,jJ,2,0,"div",14),re()()()(),ne(34,"section")(35,"div",4)(36,"div",12)(37,"div",6)(38,"p",7),ze(39,"4. Nome social (se houver)"),re(),ne(40,"input",15),We("ngModelChange",function(h){return s.atendimento.nomeSocial=h}),re()()()()(),ne(41,"section")(42,"div",4)(43,"div",12)(44,"div",6)(45,"p",7),ze(46,"5. CPF ou RG *"),Re(47,"br"),ze(48,' Verifique no documento se todos os n\xfameros est\xe3o corretos. Caso n\xe3o os tenha colocar "n\xe3o tenho"'),re(),ne(49,"input",16),We("ngModelChange",function(h){return s.atendimento.numeroDocumento=h}),re()()()()(),ne(50,"section")(51,"div",4)(52,"div",12)(53,"div",6)(54,"p",7),ze(55,"6. Endere\xe7o de e-mail para contato"),Re(56,"br"),ze(57," Verifique se o e-mail informado est\xe1 escrito corretamente, para que possamos enviar resposta \xe0 sua manifesta\xe7\xe3o"),re(),ne(58,"input",17),We("ngModelChange",function(h){return s.atendimento.email=h}),re(),J(59,zJ,2,0,"span",18),re()()()(),ne(60,"section")(61,"div",4)(62,"div",12)(63,"div",6)(64,"p",7),ze(65,"7. Telefone para contato"),Re(66,"br"),ze(67," Por favor, informar o DDD - Exemplo: (11) 9999-9999"),re(),ne(68,"input",19),We("blur",function(){return s.mascaraDeTelefone()})("ngModelChange",function(h){return s.atendimento.foneCelular=h}),re(),J(69,VJ,2,0,"span",18),re()()()(),ne(70,"section")(71,"div",4)(72,"div",12)(73,"div",6)(74,"p",7),ze(75,"8. Data de nascimento *"),Re(76,"br"),re(),ne(77,"input",20),We("ngModelChange",function(h){return s.atendimento.dataNasci=h}),re(),J(78,HJ,2,0,"span",18),re()()()(),ne(79,"section")(80,"div",4)(81,"div",12)(82,"div",6)(83,"p",7),ze(84,"9. Cidade onde mora"),Re(85,"br"),ze(86," Se voc\xea mora fora do estado de S\xe3o Paulo, favor informar o estado"),re(),ne(87,"p-dropdown",21),We("ngModelChange",function(h){return s.atendimento.municipio=h}),re()()()()(),ne(88,"section")(89,"div",4)(90,"div",12)(91,"div",6)(92,"p",7),ze(93,"10. G\xeanero * "),re(),Re(94,"p-dropdown",22),re()()()(),ne(95,"section")(96,"div",4)(97,"div",12)(98,"div",6)(99,"p",7),ze(100,"11. Cor/Ra\xe7a"),Re(101,"br"),ze(102," As op\xe7\xf5es de resposta seguem os padr\xf5es utilizados pelo Instituto Brasileiro de Geografia e Estat\xedstica - IBGE."),re(),Re(103,"p-dropdown",23),re()()()(),ne(104,"section")(105,"div",4)(106,"div",12)(107,"div",6)(108,"p",7),ze(109,"12. Como voc\xea soube da Ouvidoria? * ."),re(),Re(110,"p-dropdown",24),re()()()(),ne(111,"div",2)(112,"section")(113,"div",4)(114,"div",12)(115,"div",6)(116,"p",7),ze(117,"13. Descreva sua sugest\xe3o * "),re(),ne(118,"textarea",25),We("ngModelChange",function(h){return s.atendimento.descricaoOque=h}),re()()()()()(),ne(119,"div",2)(120,"section")(121,"div",4)(122,"div",12)(123,"div",6)(124,"p",7),ze(125,"13. Qual a fun\xe7\xe3o da pessoa que voc\xea gostaria de elogiar? * "),re(),ne(126,"div",26),J(127,YJ,4,4,"div",11),re()()()()(),ne(128,"section")(129,"div",4)(130,"div",12)(131,"div",6)(132,"p",7),ze(133,"13. Descreva seu elogio (se poss\xedvel, por favor, inserir o nome da pessoa elogiada) * "),re(),ne(134,"textarea",25),We("ngModelChange",function(h){return s.atendimento.descricaoOque=h}),re()()()()()(),ne(135,"div",2)(136,"section")(137,"div",4)(138,"div",12)(139,"div",6)(140,"p",7),ze(141,'13. Neste momento voc\xea est\xe1 sendo atendido pela Defensoria P\xfablica? (Assinale "sim" caso j\xe1 tenha defensor/a ou advogado/a nomeado/a ou tenha passado pela triagem) '),re(),ne(142,"div",26),J(143,UJ,4,4,"div",11),re()()()()(),ne(144,"section")(145,"div",4)(146,"div",12)(147,"div",6)(148,"p",7),ze(149,"14. Seu atendimento envolve algum dos temas abaixo: * "),re(),ne(150,"div",26),J(151,WJ,4,4,"div",11),re()()()()(),ne(152,"section")(153,"div",4)(154,"div",12)(155,"div",6)(156,"p",7),ze(157,"15. Sua reclama\xe7\xe3o se refere a: * "),re(),ne(158,"div",26),J(159,$J,4,4,"div",11),re()()()()(),ne(160,"section")(161,"div",4)(162,"div",12)(163,"div",6)(164,"p",7),ze(165,"16. Descreva detalhadamente o que ocorreu"),Re(166,"br"),ze(167," (colocar n\xfamero de processo se houver e a unidade/regional de atendimento) "),re(),ne(168,"textarea",25),We("ngModelChange",function(h){return s.atendimento.descricaoOque=h}),re()()()()()(),ne(169,"section")(170,"div",4)(171,"div",12)(172,"div",6)(173,"p",7),ze(174,"Anexos"),re(),ne(175,"p-fileUpload",27),We("uploadHandler",function(h){return s.carregaArquivo(h)}),J(176,KJ,1,1,"ng-template",28),re()()()()(),ne(177,"section")(178,"div",4)(179,"div",12)(180,"div",6)(181,"re-captcha",29),We("ngModelChange",function(h){return s.token=h}),re(),Re(182,"br")(183,"p-button",30),ze(184,"\xa0 "),ne(185,"p-button",31),We("onClick",function(){return s.voltarInicio()}),re()()()()()(),ne(186,"div",2)(187,"section",3)(188,"div",4)(189,"div",5)(190,"div",6)(191,"h3")(192,"p")(193,"b"),ze(194,"Ouvidoria Geral"),re()()()()()()(),ne(195,"section",3)(196,"div",4)(197,"div",5)(198,"div",6)(199,"h3")(200,"p")(201,"b"),ze(202,"Manifesta\xe7\xe3o enviada com sucesso!"),re()()()()()()(),ne(203,"section",3)(204,"div",4)(205,"div",5)(206,"div",6)(207,"div",32)(208,"h5")(209,"p"),ze(210,"Aten\xe7\xe3o: Para obter resposta ou acompanhar a tramita\xe7\xe3o da sua manifesta\xe7\xe3o, acesse o site da defensoria/ouvidoria e consulte sua manifesta\xe7\xe3o com os dados abaixo."),re()()()()()()(),ne(211,"section",3)(212,"div",4)(213,"div",5)(214,"div",6)(215,"div",32)(216,"h5")(217,"p"),ze(218),re(),ne(219,"p"),ze(220),re()()()()()()(),ne(221,"section")(222,"div",4)(223,"div",12)(224,"div",6)(225,"p-button",33),We("onClick",function(){return s.voltarInicio()}),re()()()()()()()),2&i){let l;G(1),H("formGroup",s.formulario),G(1),H("hidden",s.sucesso),G(10),H("ngModel",s.atendimento.manterSigilo),G(4),H("ngModel",s.atendimento.manterSigilo),G(9),H("ngForOf",s.atendimento.listaCategoria),G(8),H("ngIf",(null==(l=s.formulario.get("nomeSolicitante"))?null:l.errors)&&(null==(l=s.formulario.get("nomeSolicitante"))?null:l.touched)),G(7),H("ngModel",s.atendimento.nomeSocial),G(9),H("ngModel",s.atendimento.numeroDocumento),G(9),H("ngModel",s.atendimento.email),G(1),H("ngIf",s.registerFormControl.email.touched&&(null==s.registerFormControl.email.errors?null:s.registerFormControl.email.errors.email)),G(9),H("ngModel",s.atendimento.foneCelular),G(1),H("ngIf",s.registerFormControl.foneCelular.touched&&(null==s.registerFormControl.foneCelular.errors?null:s.registerFormControl.foneCelular.errors.minlength)&&0==s.isValid),G(8),H("ngModel",s.atendimento.dataNasci),G(1),H("ngIf",null==s.registerFormControl.dataNasci.errors?null:s.registerFormControl.dataNasci.errors.invalidDate),G(9),H("options",s.atendimento.listaCidades)("required",!0)("ngModel",s.atendimento.municipio),G(7),$i(qo(48,G5)),H("options",s.atendimento.listaGenero)("showClear",!0),G(9),$i(qo(49,G5)),H("options",s.atendimento.listaCorRaca)("showClear",!0),G(7),$i(qo(50,G5)),H("options",s.atendimento.listaSoubeOuvidoria)("showClear",!0),G(1),H("hidden",1==s.tipoNatureza||3==s.tipoNatureza),G(7),H("ngModel",s.atendimento.descricaoOque),G(1),H("hidden",1==s.tipoNatureza||2==s.tipoNatureza),G(8),H("ngForOf",s.atendimento.listaElogio),G(7),H("ngModel",s.atendimento.descricaoOque),G(1),H("hidden",2==s.tipoNatureza||3==s.tipoNatureza),G(8),H("ngForOf",s.atendimento.listaAtendimentoDefensoria),G(8),H("ngForOf",s.atendimento.listaTemaReclamacao),G(8),H("ngForOf",s.atendimento.listaReclamacaoDefensoria),G(9),H("ngModel",s.atendimento.descricaoOque),G(7),H("auto",!0)("customUpload",!0)("multiple",!0)("maxFileSize",5e6),G(6),H("ngModel",s.token),G(2),H("disabled",1==s.formulario.invalid),G(3),H("hidden",!s.sucesso),G(32),rr("N\xfamero da Protocolo: ",s.atendimento.numeroProtocolo,""),G(2),rr("Senha de Acesso: ",s.atendimento.senhaManifestante,"")}},dependencies:[Zr,Ei,UT,_9,co,Q_,wf,Cf,G_,X_,sc,J_,lk,W5,OZ,q5,GT,H9,RJ,Dk]})}return t})();class XJ{constructor(){this.token=""}}class K5{constructor(){this.listaAnexoDto=[]}}class Z5{constructor(){this.complementoAtendimentoDto=new K5}}let U9=(()=>{class t{setItem(e,i){sessionStorage.setItem(e,JSON.stringify(i))}getItem(e){var i=sessionStorage.getItem(e);return JSON.parse(i||"{}")}removeItem(e){sessionStorage.removeItem(e)}clear(){sessionStorage.clear()}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),W9=(()=>{class t{constructor(e,i,s,l,h,m,_,w){this.router=e,this.activatedRoute=i,this.messageService=s,this.ngxLoader=l,this.atendimentoService=h,this.errorHandler=m,this.sessionService=_,this.formBuilder=w,this.consulta=new XJ,this.resumoAtendimento=new Z5,this.token=void 0,this.formulario=this.formBuilder.group({numeroProtocolo:["",Ln.required],senhaAcesso:["",[Ln.required]]})}ngOnInit(){console.log(this.activatedRoute.params),this.activatedRoute.params.subscribe(e=>{this.token=e.token}),this.token?(this.consulta.token=this.token,this.consultaManifestacao()):this.consulta.token=""}voltarInicio(){this.router.navigate(["/"])}consultaManifestacao(){this.ngxLoader.start(),this.consulta.orgao=1,this.atendimentoService.consulta(this.consulta).then(e=>{this.resumoAtendimento=e[0],this.sessionService.setItem("resumoAtendimento",this.resumoAtendimento),this.router.navigate(["/visualiza"]),this.ngxLoader.stop()}).then(e=>{setTimeout(()=>{},1e3)}).catch(e=>{this.ngxLoader.stop(),setTimeout(()=>{this.errorHandler.handle(e)},1e3)})}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(No),Ce(cc),Ce(Nf),Ce(Ef),Ce(zk),Ce(Vk),Ce(U9),Ce(LL))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["app-consulta-manifestacao"]],decls:35,vars:4,consts:[["text","Processando..."],["autocomplete","off",3,"formGroup","ngSubmit"],["id","about"],[1,"container","px-4"],[1,"row","gx-4","justify-content-center"],[1,"col-lg-8"],["role","alert",1,"alert","alert-success"],["autocomplete","off","type","text","placeholder","Informe o n\xfamero do protocolo","formControlName","numeroProtocolo","id","numeroProtocolo","name","numeroProtocolo",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["type","password","placeholder","Informe a senha de acesso","formControlName","senhaAcesso","id","senhaAcesso","name","senhaAcesso",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],[1,"row","justify-content-center"],["label","Consultar","type","submit",3,"disabled"],["label","Voltar","type","button","icon","pi pi-angle-left","iconPos","left",3,"onClick"]],template:function(i,s){1&i&&(Re(0,"ngx-ui-loader",0),ne(1,"form",1),We("ngSubmit",function(){return s.consultaManifestacao()}),ne(2,"section",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h3")(7,"p")(8,"b"),ze(9,"Consulta de Manifesta\xe7\xe3o"),re()()()()()()(),ne(10,"section",2)(11,"div",3)(12,"div",4)(13,"div",5)(14,"div",6)(15,"p"),ze(16,"Aten\xe7\xe3o: Para obter resposta ou acompanhar a tramita\xe7\xe3o da sua manifesta\xe7\xe3o, acesse o site da defensoria/ouvidoria e consulte sua manifesta\xe7\xe3o com os dados abaixo."),re()()()()()(),ne(17,"section",2)(18,"div",3)(19,"div",4)(20,"div",5)(21,"div",6)(22,"p"),ze(23,"N\xfamero da Protocolo:"),re(),ne(24,"input",7),We("ngModelChange",function(h){return s.consulta.numero=h}),re(),ne(25,"p"),ze(26,"Senha de Acesso:"),re(),ne(27,"input",8),We("ngModelChange",function(h){return s.consulta.senha=h}),re()()()()()(),ne(28,"section")(29,"div",3)(30,"div",9)(31,"div",5),Re(32,"p-button",10),ze(33,"\xa0 "),ne(34,"p-button",11),We("onClick",function(){return s.voltarInicio()}),re()()()()()()),2&i&&(G(1),H("formGroup",s.formulario),G(23),H("ngModel",s.consulta.numero),G(3),H("ngModel",s.consulta.senha),G(5),H("disabled",1==s.formulario.invalid))},dependencies:[Q_,wf,Cf,G_,J_,lk,GT,Dk]})}return t})();class $9{}var eX=W(7930),q9=W.n(eX);let G9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["CalendarIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.7838 1.51351H9.83783V0.567568C9.83783 0.417039 9.77804 0.272676 9.6716 0.166237C9.56516 0.0597971 9.42079 0 9.27027 0C9.11974 0 8.97538 0.0597971 8.86894 0.166237C8.7625 0.272676 8.7027 0.417039 8.7027 0.567568V1.51351H5.29729V0.567568C5.29729 0.417039 5.2375 0.272676 5.13106 0.166237C5.02462 0.0597971 4.88025 0 4.72973 0C4.5792 0 4.43484 0.0597971 4.3284 0.166237C4.22196 0.272676 4.16216 0.417039 4.16216 0.567568V1.51351H3.21621C2.66428 1.51351 2.13494 1.73277 1.74467 2.12305C1.35439 2.51333 1.13513 3.04266 1.13513 3.59459V11.9189C1.13513 12.4709 1.35439 13.0002 1.74467 13.3905C2.13494 13.7807 2.66428 14 3.21621 14H10.7838C11.3357 14 11.865 13.7807 12.2553 13.3905C12.6456 13.0002 12.8649 12.4709 12.8649 11.9189V3.59459C12.8649 3.04266 12.6456 2.51333 12.2553 2.12305C11.865 1.73277 11.3357 1.51351 10.7838 1.51351ZM3.21621 2.64865H4.16216V3.59459C4.16216 3.74512 4.22196 3.88949 4.3284 3.99593C4.43484 4.10237 4.5792 4.16216 4.72973 4.16216C4.88025 4.16216 5.02462 4.10237 5.13106 3.99593C5.2375 3.88949 5.29729 3.74512 5.29729 3.59459V2.64865H8.7027V3.59459C8.7027 3.74512 8.7625 3.88949 8.86894 3.99593C8.97538 4.10237 9.11974 4.16216 9.27027 4.16216C9.42079 4.16216 9.56516 4.10237 9.6716 3.99593C9.77804 3.88949 9.83783 3.74512 9.83783 3.59459V2.64865H10.7838C11.0347 2.64865 11.2753 2.74831 11.4527 2.92571C11.6301 3.10311 11.7297 3.34371 11.7297 3.59459V5.67568H2.27027V3.59459C2.27027 3.34371 2.36993 3.10311 2.54733 2.92571C2.72473 2.74831 2.96533 2.64865 3.21621 2.64865ZM10.7838 12.8649H3.21621C2.96533 12.8649 2.72473 12.7652 2.54733 12.5878C2.36993 12.4104 2.27027 12.1698 2.27027 11.9189V6.81081H11.7297V11.9189C11.7297 12.1698 11.6301 12.4104 11.4527 12.5878C11.2753 12.7652 11.0347 12.8649 10.7838 12.8649Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),K9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["ChevronLeftIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M9.61296 13C9.50997 13.0005 9.40792 12.9804 9.3128 12.9409C9.21767 12.9014 9.13139 12.8433 9.05902 12.7701L3.83313 7.54416C3.68634 7.39718 3.60388 7.19795 3.60388 6.99022C3.60388 6.78249 3.68634 6.58325 3.83313 6.43628L9.05902 1.21039C9.20762 1.07192 9.40416 0.996539 9.60724 1.00012C9.81032 1.00371 10.0041 1.08597 10.1477 1.22959C10.2913 1.37322 10.3736 1.56698 10.3772 1.77005C10.3808 1.97313 10.3054 2.16968 10.1669 2.31827L5.49496 6.99022L10.1669 11.6622C10.3137 11.8091 10.3962 12.0084 10.3962 12.2161C10.3962 12.4238 10.3137 12.6231 10.1669 12.7701C10.0945 12.8433 10.0083 12.9014 9.91313 12.9409C9.81801 12.9804 9.71596 13.0005 9.61296 13Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),Z9=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["ChevronUpIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})();const tX=["container"],nX=["inputfield"],iX=["contentWrapper"];function oX(t,o){if(1&t){const e=wt();ne(0,"TimesIcon",10),We("click",function(){return Pe(e),Oe(X(3).clear())}),re()}2&t&&H("styleClass","p-calendar-clear-icon")}function rX(t,o){}function sX(t,o){1&t&&J(0,rX,0,0,"ng-template")}function aX(t,o){if(1&t){const e=wt();ne(0,"span",11),We("click",function(){return Pe(e),Oe(X(3).clear())}),J(1,sX,1,0,null,12),re()}if(2&t){const e=X(3);G(1),H("ngTemplateOutlet",e.clearIconTemplate)}}function lX(t,o){if(1&t&&(vt(0),J(1,oX,1,1,"TimesIcon",8),J(2,aX,2,1,"span",9),kt()),2&t){const e=X(2);G(1),H("ngIf",!e.clearIconTemplate),G(1),H("ngIf",e.clearIconTemplate)}}function cX(t,o){1&t&&Re(0,"span",15),2&t&&H("ngClass",X(3).icon)}function dX(t,o){1&t&&Re(0,"CalendarIcon")}function uX(t,o){}function hX(t,o){1&t&&J(0,uX,0,0,"ng-template")}function pX(t,o){if(1&t&&(vt(0),J(1,dX,1,0,"CalendarIcon",6),J(2,hX,1,0,null,12),kt()),2&t){const e=X(3);G(1),H("ngIf",!e.triggerIconTemplate),G(1),H("ngTemplateOutlet",e.triggerIconTemplate)}}function fX(t,o){if(1&t){const e=wt();ne(0,"button",13),We("click",function(s){Pe(e),X();const l=ii(1);return Oe(X().onButtonClick(s,l))}),J(1,cX,1,1,"span",14),J(2,pX,3,2,"ng-container",6),re()}if(2&t){const e=X(2);H("disabled",e.disabled),mt("aria-label",e.iconAriaLabel),G(1),H("ngIf",e.icon),G(1),H("ngIf",!e.icon)}}function mX(t,o){if(1&t){const e=wt();ne(0,"input",4,5),We("focus",function(s){return Pe(e),Oe(X().onInputFocus(s))})("keydown",function(s){return Pe(e),Oe(X().onInputKeydown(s))})("click",function(){return Pe(e),Oe(X().onInputClick())})("blur",function(s){return Pe(e),Oe(X().onInputBlur(s))})("input",function(s){return Pe(e),Oe(X().onUserInput(s))}),re(),J(2,lX,3,2,"ng-container",6),J(3,fX,3,4,"button",7)}if(2&t){const e=X();Mt(e.inputStyleClass),H("value",e.inputFieldValue)("readonly",e.readonlyInput)("ngStyle",e.inputStyle)("placeholder",e.placeholder||"")("disabled",e.disabled)("ngClass","p-inputtext p-component"),mt("id",e.inputId)("name",e.name)("required",e.required)("aria-required",e.required)("tabindex",e.tabindex)("inputmode",e.touchUI?"off":null)("aria-labelledby",e.ariaLabelledBy),G(2),H("ngIf",e.showClear&&!e.disabled&&null!=e.value),G(1),H("ngIf",e.showIcon)}}function gX(t,o){1&t&&Et(0)}function _X(t,o){1&t&&Re(0,"ChevronLeftIcon",37),2&t&&H("styleClass","p-datepicker-prev-icon")}function bX(t,o){}function vX(t,o){1&t&&J(0,bX,0,0,"ng-template")}function yX(t,o){if(1&t&&(ne(0,"span",38),J(1,vX,1,0,null,12),re()),2&t){const e=X(5);G(1),H("ngTemplateOutlet",e.previousIconTemplate)}}function kX(t,o){if(1&t){const e=wt();ne(0,"button",35),We("keydown",function(s){return Pe(e),Oe(X(4).onContainerButtonKeydown(s))})("click",function(s){return Pe(e),Oe(X(4).onPrevButtonClick(s))}),J(1,_X,1,1,"ChevronLeftIcon",32),J(2,yX,2,1,"span",36),re()}if(2&t){const e=X(4);G(1),H("ngIf",!e.previousIconTemplate),G(1),H("ngIf",e.previousIconTemplate)}}function wX(t,o){if(1&t){const e=wt();ne(0,"button",39),We("click",function(s){return Pe(e),Oe(X(4).switchToMonthView(s))})("keydown",function(s){return Pe(e),Oe(X(4).onContainerButtonKeydown(s))}),ze(1),re()}if(2&t){const e=X().$implicit,i=X(3);H("disabled",i.switchViewButtonDisabled()),G(1),rr(" ",i.getMonthName(e.month)," ")}}function CX(t,o){if(1&t){const e=wt();ne(0,"button",40),We("click",function(s){return Pe(e),Oe(X(4).switchToYearView(s))})("keydown",function(s){return Pe(e),Oe(X(4).onContainerButtonKeydown(s))}),ze(1),re()}if(2&t){const e=X().$implicit,i=X(3);H("disabled",i.switchViewButtonDisabled()),G(1),rr(" ",i.getYear(e)," ")}}function AX(t,o){if(1&t&&(vt(0),ze(1),kt()),2&t){const e=X(5);G(1),Gp("",e.yearPickerValues()[0]," - ",e.yearPickerValues()[e.yearPickerValues().length-1],"")}}function MX(t,o){1&t&&Et(0)}const Q9=function(t){return{$implicit:t}};function DX(t,o){if(1&t&&(ne(0,"span",41),J(1,AX,2,2,"ng-container",6),J(2,MX,1,0,"ng-container",42),re()),2&t){const e=X(4);G(1),H("ngIf",!e.decadeTemplate),G(1),H("ngTemplateOutlet",e.decadeTemplate)("ngTemplateOutletContext",gn(3,Q9,e.yearPickerValues))}}function TX(t,o){1&t&&Re(0,"ChevronRightIcon",37),2&t&&H("styleClass","p-datepicker-next-icon")}function xX(t,o){}function EX(t,o){1&t&&J(0,xX,0,0,"ng-template")}function SX(t,o){if(1&t&&(ne(0,"span",43),J(1,EX,1,0,null,12),re()),2&t){const e=X(4);G(1),H("ngTemplateOutlet",e.nextIconTemplate)}}function IX(t,o){if(1&t&&(ne(0,"th",49)(1,"span"),ze(2),re()()),2&t){const e=X(5);G(2),nn(e.getTranslation("weekHeader"))}}function LX(t,o){if(1&t&&(ne(0,"th",50)(1,"span"),ze(2),re()()),2&t){const e=o.$implicit;G(2),nn(e)}}function OX(t,o){if(1&t&&(ne(0,"td",53)(1,"span",54),ze(2),re()()),2&t){const e=X().index,i=X(2).$implicit;G(2),rr(" ",i.weekNumbers[e]," ")}}function PX(t,o){if(1&t&&(vt(0),ze(1),kt()),2&t){const e=X(2).$implicit;G(1),nn(e.day)}}function NX(t,o){1&t&&Et(0)}const Q5=function(t,o){return{"p-highlight":t,"p-disabled":o}};function RX(t,o){if(1&t){const e=wt();vt(0),ne(1,"span",55),We("click",function(s){Pe(e);const l=X().$implicit;return Oe(X(6).onDateSelect(s,l))})("keydown",function(s){Pe(e);const l=X().$implicit,h=X(3).index;return Oe(X(3).onDateCellKeydown(s,l,h))}),J(2,PX,2,1,"ng-container",6),J(3,NX,1,0,"ng-container",42),re(),kt()}if(2&t){const e=X().$implicit,i=X(6);G(1),H("ngClass",Xn(4,Q5,i.isSelected(e),!e.selectable)),G(1),H("ngIf",!i.dateTemplate),G(1),H("ngTemplateOutlet",i.dateTemplate)("ngTemplateOutletContext",gn(7,Q9,e))}}const FX=function(t,o){return{"p-datepicker-other-month":t,"p-datepicker-today":o}};function BX(t,o){if(1&t&&(ne(0,"td",15),J(1,RX,4,9,"ng-container",6),re()),2&t){const e=o.$implicit,i=X(6);H("ngClass",Xn(2,FX,e.otherMonth,e.today)),G(1),H("ngIf",!e.otherMonth||i.showOtherMonths)}}function jX(t,o){if(1&t&&(ne(0,"tr"),J(1,OX,3,1,"td",51),J(2,BX,2,5,"td",52),re()),2&t){const e=o.$implicit,i=X(5);G(1),H("ngIf",i.showWeek),G(1),H("ngForOf",e)}}function zX(t,o){if(1&t&&(ne(0,"div",44)(1,"table",45)(2,"thead")(3,"tr"),J(4,IX,3,1,"th",46),J(5,LX,3,1,"th",47),re()(),ne(6,"tbody"),J(7,jX,3,2,"tr",48),re()()()),2&t){const e=X().$implicit,i=X(3);G(4),H("ngIf",i.showWeek),G(1),H("ngForOf",i.weekDays),G(2),H("ngForOf",e.dates)}}function VX(t,o){if(1&t){const e=wt();ne(0,"div",24)(1,"div",25),J(2,kX,3,2,"button",26),ne(3,"div",27),J(4,wX,2,2,"button",28),J(5,CX,2,2,"button",29),J(6,DX,3,5,"span",30),re(),ne(7,"button",31),We("keydown",function(s){return Pe(e),Oe(X(3).onContainerButtonKeydown(s))})("click",function(s){return Pe(e),Oe(X(3).onNextButtonClick(s))}),J(8,TX,1,1,"ChevronRightIcon",32),J(9,SX,2,1,"span",33),re()(),J(10,zX,8,3,"div",34),re()}if(2&t){const e=o.index,i=X(3);G(2),H("ngIf",0===e),G(2),H("ngIf","date"===i.currentView),G(1),H("ngIf","year"!==i.currentView),G(1),H("ngIf","year"===i.currentView),G(1),_s("display",1===i.numberOfMonths||e===i.numberOfMonths-1?"inline-flex":"none"),G(1),H("ngIf",!i.nextIconTemplate),G(1),H("ngIf",i.nextIconTemplate),G(1),H("ngIf","date"===i.currentView)}}function HX(t,o){if(1&t){const e=wt();ne(0,"span",58),We("click",function(s){const h=Pe(e).index;return Oe(X(4).onMonthSelect(s,h))})("keydown",function(s){const h=Pe(e).index;return Oe(X(4).onMonthCellKeydown(s,h))}),ze(1),re()}if(2&t){const e=o.$implicit,i=o.index,s=X(4);H("ngClass",Xn(2,Q5,s.isMonthSelected(i),s.isMonthDisabled(i))),G(1),rr(" ",e," ")}}function YX(t,o){if(1&t&&(ne(0,"div",56),J(1,HX,2,5,"span",57),re()),2&t){const e=X(3);G(1),H("ngForOf",e.monthPickerValues())}}function UX(t,o){if(1&t){const e=wt();ne(0,"span",61),We("click",function(s){const h=Pe(e).$implicit;return Oe(X(4).onYearSelect(s,h))})("keydown",function(s){const h=Pe(e).$implicit;return Oe(X(4).onYearCellKeydown(s,h))}),ze(1),re()}if(2&t){const e=o.$implicit,i=X(4);H("ngClass",Xn(2,Q5,i.isYearSelected(e),i.isYearDisabled(e))),G(1),rr(" ",e," ")}}function WX(t,o){if(1&t&&(ne(0,"div",59),J(1,UX,2,5,"span",60),re()),2&t){const e=X(3);G(1),H("ngForOf",e.yearPickerValues())}}function $X(t,o){if(1&t&&(vt(0),ne(1,"div",20),J(2,VX,11,9,"div",21),re(),J(3,YX,2,1,"div",22),J(4,WX,2,1,"div",23),kt()),2&t){const e=X(2);G(2),H("ngForOf",e.months),G(1),H("ngIf","month"===e.currentView),G(1),H("ngIf","year"===e.currentView)}}function qX(t,o){1&t&&Re(0,"ChevronUpIcon")}function GX(t,o){}function KX(t,o){1&t&&J(0,GX,0,0,"ng-template")}function ZX(t,o){1&t&&(vt(0),ze(1,"0"),kt())}function QX(t,o){1&t&&Re(0,"ChevronDownIcon")}function JX(t,o){}function XX(t,o){1&t&&J(0,JX,0,0,"ng-template")}function eee(t,o){1&t&&Re(0,"ChevronUpIcon")}function tee(t,o){}function nee(t,o){1&t&&J(0,tee,0,0,"ng-template")}function iee(t,o){1&t&&(vt(0),ze(1,"0"),kt())}function oee(t,o){1&t&&Re(0,"ChevronDownIcon")}function ree(t,o){}function see(t,o){1&t&&J(0,ree,0,0,"ng-template")}function aee(t,o){if(1&t&&(ne(0,"div",65)(1,"span"),ze(2),re()()),2&t){const e=X(3);G(2),nn(e.timeSeparator)}}function lee(t,o){1&t&&Re(0,"ChevronUpIcon")}function cee(t,o){}function dee(t,o){1&t&&J(0,cee,0,0,"ng-template")}function uee(t,o){1&t&&(vt(0),ze(1,"0"),kt())}function hee(t,o){1&t&&Re(0,"ChevronDownIcon")}function pee(t,o){}function fee(t,o){1&t&&J(0,pee,0,0,"ng-template")}function mee(t,o){if(1&t){const e=wt();ne(0,"div",70)(1,"button",64),We("keydown",function(s){return Pe(e),Oe(X(3).onContainerButtonKeydown(s))})("keydown.enter",function(s){return Pe(e),Oe(X(3).incrementSecond(s))})("keydown.space",function(s){return Pe(e),Oe(X(3).incrementSecond(s))})("mousedown",function(s){return Pe(e),Oe(X(3).onTimePickerElementMouseDown(s,2,1))})("mouseup",function(s){return Pe(e),Oe(X(3).onTimePickerElementMouseUp(s))})("keyup.enter",function(s){return Pe(e),Oe(X(3).onTimePickerElementMouseUp(s))})("keyup.space",function(s){return Pe(e),Oe(X(3).onTimePickerElementMouseUp(s))})("mouseleave",function(){return Pe(e),Oe(X(3).onTimePickerElementMouseLeave())}),J(2,lee,1,0,"ChevronUpIcon",6),J(3,dee,1,0,null,12),re(),ne(4,"span"),J(5,uee,2,0,"ng-container",6),ze(6),re(),ne(7,"button",64),We("keydown",function(s){return Pe(e),Oe(X(3).onContainerButtonKeydown(s))})("keydown.enter",function(s){return Pe(e),Oe(X(3).decrementSecond(s))})("keydown.space",function(s){return Pe(e),Oe(X(3).decrementSecond(s))})("mousedown",function(s){return Pe(e),Oe(X(3).onTimePickerElementMouseDown(s,2,-1))})("mouseup",function(s){return Pe(e),Oe(X(3).onTimePickerElementMouseUp(s))})("keyup.enter",function(s){return Pe(e),Oe(X(3).onTimePickerElementMouseUp(s))})("keyup.space",function(s){return Pe(e),Oe(X(3).onTimePickerElementMouseUp(s))})("mouseleave",function(){return Pe(e),Oe(X(3).onTimePickerElementMouseLeave())}),J(8,hee,1,0,"ChevronDownIcon",6),J(9,fee,1,0,null,12),re()()}if(2&t){const e=X(3);G(2),H("ngIf",!e.incrementIconTemplate),G(1),H("ngTemplateOutlet",e.incrementIconTemplate),G(2),H("ngIf",e.currentSecond<10),G(1),nn(e.currentSecond),G(2),H("ngIf",!e.decrementIconTemplate),G(1),H("ngTemplateOutlet",e.decrementIconTemplate)}}function gee(t,o){1&t&&Re(0,"ChevronUpIcon")}function _ee(t,o){}function bee(t,o){1&t&&J(0,_ee,0,0,"ng-template")}function vee(t,o){1&t&&Re(0,"ChevronDownIcon")}function yee(t,o){}function kee(t,o){1&t&&J(0,yee,0,0,"ng-template")}function wee(t,o){if(1&t){const e=wt();ne(0,"div",71)(1,"button",72),We("keydown",function(s){return Pe(e),Oe(X(3).onContainerButtonKeydown(s))})("click",function(s){return Pe(e),Oe(X(3).toggleAMPM(s))})("keydown.enter",function(s){return Pe(e),Oe(X(3).toggleAMPM(s))}),J(2,gee,1,0,"ChevronUpIcon",6),J(3,bee,1,0,null,12),re(),ne(4,"span"),ze(5),re(),ne(6,"button",72),We("keydown",function(s){return Pe(e),Oe(X(3).onContainerButtonKeydown(s))})("click",function(s){return Pe(e),Oe(X(3).toggleAMPM(s))})("keydown.enter",function(s){return Pe(e),Oe(X(3).toggleAMPM(s))}),J(7,vee,1,0,"ChevronDownIcon",6),J(8,kee,1,0,null,12),re()()}if(2&t){const e=X(3);G(2),H("ngIf",!e.incrementIconTemplate),G(1),H("ngTemplateOutlet",e.incrementIconTemplate),G(2),nn(e.pm?"PM":"AM"),G(2),H("ngIf",!e.decrementIconTemplate),G(1),H("ngTemplateOutlet",e.decrementIconTemplate)}}function Cee(t,o){if(1&t){const e=wt();ne(0,"div",62)(1,"div",63)(2,"button",64),We("keydown",function(s){return Pe(e),Oe(X(2).onContainerButtonKeydown(s))})("keydown.enter",function(s){return Pe(e),Oe(X(2).incrementHour(s))})("keydown.space",function(s){return Pe(e),Oe(X(2).incrementHour(s))})("mousedown",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseDown(s,0,1))})("mouseup",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("keyup.enter",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("keyup.space",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("mouseleave",function(){return Pe(e),Oe(X(2).onTimePickerElementMouseLeave())}),J(3,qX,1,0,"ChevronUpIcon",6),J(4,KX,1,0,null,12),re(),ne(5,"span"),J(6,ZX,2,0,"ng-container",6),ze(7),re(),ne(8,"button",64),We("keydown",function(s){return Pe(e),Oe(X(2).onContainerButtonKeydown(s))})("keydown.enter",function(s){return Pe(e),Oe(X(2).decrementHour(s))})("keydown.space",function(s){return Pe(e),Oe(X(2).decrementHour(s))})("mousedown",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseDown(s,0,-1))})("mouseup",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("keyup.enter",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("keyup.space",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("mouseleave",function(){return Pe(e),Oe(X(2).onTimePickerElementMouseLeave())}),J(9,QX,1,0,"ChevronDownIcon",6),J(10,XX,1,0,null,12),re()(),ne(11,"div",65)(12,"span"),ze(13),re()(),ne(14,"div",66)(15,"button",64),We("keydown",function(s){return Pe(e),Oe(X(2).onContainerButtonKeydown(s))})("keydown.enter",function(s){return Pe(e),Oe(X(2).incrementMinute(s))})("keydown.space",function(s){return Pe(e),Oe(X(2).incrementMinute(s))})("mousedown",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseDown(s,1,1))})("mouseup",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("keyup.enter",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("keyup.space",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("mouseleave",function(){return Pe(e),Oe(X(2).onTimePickerElementMouseLeave())}),J(16,eee,1,0,"ChevronUpIcon",6),J(17,nee,1,0,null,12),re(),ne(18,"span"),J(19,iee,2,0,"ng-container",6),ze(20),re(),ne(21,"button",64),We("keydown",function(s){return Pe(e),Oe(X(2).onContainerButtonKeydown(s))})("keydown.enter",function(s){return Pe(e),Oe(X(2).decrementMinute(s))})("keydown.space",function(s){return Pe(e),Oe(X(2).decrementMinute(s))})("mousedown",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseDown(s,1,-1))})("mouseup",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("keyup.enter",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("keyup.space",function(s){return Pe(e),Oe(X(2).onTimePickerElementMouseUp(s))})("mouseleave",function(){return Pe(e),Oe(X(2).onTimePickerElementMouseLeave())}),J(22,oee,1,0,"ChevronDownIcon",6),J(23,see,1,0,null,12),re()(),J(24,aee,3,1,"div",67),J(25,mee,10,6,"div",68),J(26,wee,9,5,"div",69),re()}if(2&t){const e=X(2);G(3),H("ngIf",!e.incrementIconTemplate),G(1),H("ngTemplateOutlet",e.incrementIconTemplate),G(2),H("ngIf",e.currentHour<10),G(1),nn(e.currentHour),G(2),H("ngIf",!e.decrementIconTemplate),G(1),H("ngTemplateOutlet",e.decrementIconTemplate),G(3),nn(e.timeSeparator),G(3),H("ngIf",!e.incrementIconTemplate),G(1),H("ngTemplateOutlet",e.incrementIconTemplate),G(2),H("ngIf",e.currentMinute<10),G(1),nn(e.currentMinute),G(2),H("ngIf",!e.decrementIconTemplate),G(1),H("ngTemplateOutlet",e.decrementIconTemplate),G(1),H("ngIf",e.showSeconds),G(1),H("ngIf",e.showSeconds),G(1),H("ngIf","12"==e.hourFormat)}}const J9=function(t){return[t]};function Aee(t,o){if(1&t){const e=wt();ne(0,"div",73)(1,"button",74),We("keydown",function(s){return Pe(e),Oe(X(2).onContainerButtonKeydown(s))})("click",function(s){return Pe(e),Oe(X(2).onTodayButtonClick(s))}),re(),ne(2,"button",74),We("keydown",function(s){return Pe(e),Oe(X(2).onContainerButtonKeydown(s))})("click",function(s){return Pe(e),Oe(X(2).onClearButtonClick(s))}),re()()}if(2&t){const e=X(2);G(1),H("label",e.getTranslation("today"))("ngClass",gn(4,J9,e.todayButtonStyleClass)),G(1),H("label",e.getTranslation("clear"))("ngClass",gn(6,J9,e.clearButtonStyleClass))}}function Mee(t,o){1&t&&Et(0)}const Dee=function(t,o,e,i,s,l){return{"p-datepicker p-component":!0,"p-datepicker-inline":t,"p-disabled":o,"p-datepicker-timeonly":e,"p-datepicker-multiple-month":i,"p-datepicker-monthpicker":s,"p-datepicker-touch-ui":l}},X9=function(t,o){return{showTransitionParams:t,hideTransitionParams:o}},Tee=function(t){return{value:"visibleTouchUI",params:t}},xee=function(t){return{value:"visible",params:t}};function Eee(t,o){if(1&t){const e=wt();ne(0,"div",16,17),We("@overlayAnimation.start",function(s){return Pe(e),Oe(X().onOverlayAnimationStart(s))})("@overlayAnimation.done",function(s){return Pe(e),Oe(X().onOverlayAnimationDone(s))})("click",function(s){return Pe(e),Oe(X().onOverlayClick(s))}),or(2),J(3,gX,1,0,"ng-container",12),J(4,$X,5,3,"ng-container",6),J(5,Cee,27,16,"div",18),J(6,Aee,3,8,"div",19),or(7,1),J(8,Mee,1,0,"ng-container",12),re()}if(2&t){const e=X();Mt(e.panelStyleClass),H("ngStyle",e.panelStyle)("ngClass",Hu(11,Dee,e.inline,e.disabled,e.timeOnly,e.numberOfMonths>1,"month"===e.view,e.touchUI))("@overlayAnimation",e.touchUI?gn(21,Tee,Xn(18,X9,e.showTransitionOptions,e.hideTransitionOptions)):gn(26,xee,Xn(23,X9,e.showTransitionOptions,e.hideTransitionOptions)))("@.disabled",!0===e.inline),G(3),H("ngTemplateOutlet",e.headerTemplate),G(1),H("ngIf",!e.timeOnly),G(1),H("ngIf",(e.showTime||e.timeOnly)&&"date"===e.currentView),G(1),H("ngIf",e.showButtonBar),G(2),H("ngTemplateOutlet",e.footerTemplate)}}const See=[[["p-header"]],[["p-footer"]]],Iee=function(t,o,e,i){return{"p-calendar":!0,"p-calendar-w-btn":t,"p-calendar-timeonly":o,"p-calendar-disabled":e,"p-focus":i}},Lee=["p-header","p-footer"],Oee={provide:qi,useExisting:xt(()=>Pee),multi:!0};let Pee=(()=>{class t{constructor(e,i,s,l,h,m,_){this.document=e,this.el=i,this.renderer=s,this.cd=l,this.zone=h,this.config=m,this.overlayService=_,this.multipleSeparator=",",this.rangeSeparator="-",this.inline=!1,this.showOtherMonths=!0,this.shortYearCutoff="+10",this.hourFormat="24",this.stepHour=1,this.stepMinute=1,this.stepSecond=1,this.showSeconds=!1,this.showOnFocus=!0,this.showWeek=!1,this.showClear=!1,this.dataType="date",this.selectionMode="single",this.todayButtonStyleClass="p-button-text",this.clearButtonStyleClass="p-button-text",this.autoZIndex=!0,this.baseZIndex=0,this.keepInvalid=!1,this.hideOnDateTimeSelect=!0,this.timeSeparator=":",this.focusTrap=!0,this.showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)",this.hideTransitionOptions=".1s linear",this.onFocus=new Qe,this.onBlur=new Qe,this.onClose=new Qe,this.onSelect=new Qe,this.onClear=new Qe,this.onInput=new Qe,this.onTodayClick=new Qe,this.onClearClick=new Qe,this.onMonthChange=new Qe,this.onYearChange=new Qe,this.onClickOutside=new Qe,this.onShow=new Qe,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.inputFieldValue=null,this.navigationState=null,this._numberOfMonths=1,this._view="date",this.convertTo24Hour=function(w,N){return"12"==this.hourFormat?12===w?N?12:0:N?w+12:w:w},this.window=this.document.defaultView}set content(e){this.contentViewChild=e,this.contentViewChild&&(this.isMonthNavigate?(Promise.resolve(null).then(()=>this.updateFocus()),this.isMonthNavigate=!1):this.focus||this.initFocusableCell())}get view(){return this._view}set view(e){this._view=e,this.currentView=this._view}get defaultDate(){return this._defaultDate}set defaultDate(e){if(this._defaultDate=e,this.initialized){const i=e||new Date;this.currentMonth=i.getMonth(),this.currentYear=i.getFullYear(),this.initTime(i),this.createMonths(this.currentMonth,this.currentYear)}}get minDate(){return this._minDate}set minDate(e){this._minDate=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get maxDate(){return this._maxDate}set maxDate(e){this._maxDate=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDates(){return this._disabledDates}set disabledDates(e){this._disabledDates=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get disabledDays(){return this._disabledDays}set disabledDays(e){this._disabledDays=e,null!=this.currentMonth&&null!=this.currentMonth&&this.currentYear&&this.createMonths(this.currentMonth,this.currentYear)}get yearRange(){return this._yearRange}set yearRange(e){if(this._yearRange=e,e){const i=e.split(":"),s=parseInt(i[0]),l=parseInt(i[1]);this.populateYearOptions(s,l)}}get showTime(){return this._showTime}set showTime(e){this._showTime=e,void 0===this.currentHour&&this.initTime(this.value||new Date),this.updateInputfield()}get locale(){return this._locale}get responsiveOptions(){return this._responsiveOptions}set responsiveOptions(e){this._responsiveOptions=e,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get numberOfMonths(){return this._numberOfMonths}set numberOfMonths(e){this._numberOfMonths=e,this.destroyResponsiveStyleElement(),this.createResponsiveStyle()}get firstDayOfWeek(){return this._firstDayOfWeek}set firstDayOfWeek(e){this._firstDayOfWeek=e,this.createWeekDays()}set locale(e){console.warn("Locale property has no effect, use new i18n API instead.")}ngOnInit(){this.attributeSelector=YT();const e=this.defaultDate||new Date;this.createResponsiveStyle(),this.currentMonth=e.getMonth(),this.currentYear=e.getFullYear(),this.yearOptions=[],this.currentView=this.view,"date"===this.view&&(this.createWeekDays(),this.initTime(e),this.createMonths(this.currentMonth,this.currentYear),this.ticksTo1970=24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.createWeekDays(),this.cd.markForCheck()}),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"date":default:this.dateTemplate=e.template;break;case"decade":this.decadeTemplate=e.template;break;case"disabledDate":this.disabledDateTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"previousicon":this.previousIconTemplate=e.template;break;case"nexticon":this.nextIconTemplate=e.template;break;case"triggericon":this.triggerIconTemplate=e.template;break;case"clearicon":this.clearIconTemplate=e.template;break;case"decrementicon":this.decrementIconTemplate=e.template;break;case"incrementicon":this.incrementIconTemplate=e.template;break;case"footer":this.footerTemplate=e.template}})}ngAfterViewInit(){this.inline&&(this.contentViewChild&&this.contentViewChild.nativeElement.setAttribute(this.attributeSelector,""),this.disabled||(this.initFocusableCell(),1===this.numberOfMonths&&(this.contentViewChild.nativeElement.style.width=Le.getOuterWidth(this.containerViewChild.nativeElement)+"px"))),Gi.check()}getTranslation(e){return this.config.getTranslation(e)}populateYearOptions(e,i){this.yearOptions=[];for(let s=e;s<=i;s++)this.yearOptions.push(s)}createWeekDays(){this.weekDays=[];let e=this.getFirstDateOfWeek(),i=this.getTranslation(ys.DAY_NAMES_MIN);for(let s=0;s<7;s++)this.weekDays.push(i[e]),e=6==e?0:++e}monthPickerValues(){let e=[];for(let i=0;i<=11;i++)e.push(this.config.getTranslation("monthNamesShort")[i]);return e}yearPickerValues(){let e=[],i=this.currentYear-this.currentYear%10;for(let s=0;s<10;s++)e.push(i+s);return e}createMonths(e,i){this.months=this.months=[];for(let s=0;s<this.numberOfMonths;s++){let l=e+s,h=i;l>11&&(l=l%11-1,h=i+1),this.months.push(this.createMonth(l,h))}}getWeekNumber(e){let i=new Date(e.getTime());i.setDate(i.getDate()+4-(i.getDay()||7));let s=i.getTime();return i.setMonth(0),i.setDate(1),Math.floor(Math.round((s-i.getTime())/864e5)/7)+1}createMonth(e,i){let s=[],l=this.getFirstDayOfMonthIndex(e,i),h=this.getDaysCountInMonth(e,i),m=this.getDaysCountInPrevMonth(e,i),_=1,w=new Date,N=[],$=Math.ceil((h+l)/7);for(let oe=0;oe<$;oe++){let le=[];if(0==oe){for(let we=m-l+1;we<=m;we++){let xe=this.getPreviousMonthAndYear(e,i);le.push({day:we,month:xe.month,year:xe.year,otherMonth:!0,today:this.isToday(w,we,xe.month,xe.year),selectable:this.isSelectable(we,xe.month,xe.year,!0)})}let ve=7-le.length;for(let we=0;we<ve;we++)le.push({day:_,month:e,year:i,today:this.isToday(w,_,e,i),selectable:this.isSelectable(_,e,i,!1)}),_++}else for(let ve=0;ve<7;ve++){if(_>h){let we=this.getNextMonthAndYear(e,i);le.push({day:_-h,month:we.month,year:we.year,otherMonth:!0,today:this.isToday(w,_-h,we.month,we.year),selectable:this.isSelectable(_-h,we.month,we.year,!0)})}else le.push({day:_,month:e,year:i,today:this.isToday(w,_,e,i),selectable:this.isSelectable(_,e,i,!1)});_++}this.showWeek&&N.push(this.getWeekNumber(new Date(le[0].year,le[0].month,le[0].day))),s.push(le)}return{month:e,year:i,dates:s,weekNumbers:N}}initTime(e){this.pm=e.getHours()>11,this.showTime?(this.currentMinute=e.getMinutes(),this.currentSecond=e.getSeconds(),this.setCurrentHourPM(e.getHours())):this.timeOnly&&(this.currentMinute=0,this.currentHour=0,this.currentSecond=0)}navBackward(e){this.disabled?e.preventDefault():(this.isMonthNavigate=!0,"month"===this.currentView?(this.decrementYear(),setTimeout(()=>{this.updateFocus()},1)):"year"===this.currentView?(this.decrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(0===this.currentMonth?(this.currentMonth=11,this.decrementYear()):this.currentMonth--,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}navForward(e){this.disabled?e.preventDefault():(this.isMonthNavigate=!0,"month"===this.currentView?(this.incrementYear(),setTimeout(()=>{this.updateFocus()},1)):"year"===this.currentView?(this.incrementDecade(),setTimeout(()=>{this.updateFocus()},1)):(11===this.currentMonth?(this.currentMonth=0,this.incrementYear()):this.currentMonth++,this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)))}decrementYear(){if(this.currentYear--,this.yearNavigator&&this.currentYear<this.yearOptions[0]){let e=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]-e,this.yearOptions[this.yearOptions.length-1]-e)}}decrementDecade(){this.currentYear=this.currentYear-10}incrementDecade(){this.currentYear=this.currentYear+10}incrementYear(){if(this.currentYear++,this.yearNavigator&&this.currentYear>this.yearOptions[this.yearOptions.length-1]){let e=this.yearOptions[this.yearOptions.length-1]-this.yearOptions[0];this.populateYearOptions(this.yearOptions[0]+e,this.yearOptions[this.yearOptions.length-1]+e)}}switchToMonthView(e){this.setCurrentView("month"),e.preventDefault()}switchToYearView(e){this.setCurrentView("year"),e.preventDefault()}onDateSelect(e,i){!this.disabled&&i.selectable?(this.isMultipleSelection()&&this.isSelected(i)?(this.value=this.value.filter((s,l)=>!this.isDateEquals(s,i)),0===this.value.length&&(this.value=null),this.updateModel(this.value)):this.shouldSelectDate(i)&&this.selectDate(i),this.isSingleSelection()&&this.hideOnDateTimeSelect&&setTimeout(()=>{e.preventDefault(),this.hideOverlay(),this.mask&&this.disableModality(),this.cd.markForCheck()},150),this.updateInputfield(),e.preventDefault()):e.preventDefault()}shouldSelectDate(e){return!this.isMultipleSelection()||null==this.maxDateCount||this.maxDateCount>(this.value?this.value.length:0)}onMonthSelect(e,i){"month"===this.view?this.onDateSelect(e,{year:this.currentYear,month:i,day:1,selectable:!0}):(this.currentMonth=i,this.createMonths(this.currentMonth,this.currentYear),this.setCurrentView("date"),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}))}onYearSelect(e,i){"year"===this.view?this.onDateSelect(e,{year:i,month:0,day:1,selectable:!0}):(this.currentYear=i,this.setCurrentView("month"),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}))}updateInputfield(){let e="";if(this.value)if(this.isSingleSelection())e=this.formatDateTime(this.value);else if(this.isMultipleSelection())for(let i=0;i<this.value.length;i++)e+=this.formatDateTime(this.value[i]),i!==this.value.length-1&&(e+=this.multipleSeparator+" ");else if(this.isRangeSelection()&&this.value&&this.value.length){let s=this.value[1];e=this.formatDateTime(this.value[0]),s&&(e+=" "+this.rangeSeparator+" "+this.formatDateTime(s))}this.inputFieldValue=e,this.updateFilledState(),this.inputfieldViewChild&&this.inputfieldViewChild.nativeElement&&(this.inputfieldViewChild.nativeElement.value=this.inputFieldValue)}formatDateTime(e){let i=this.keepInvalid?e:null;return this.isValidDate(e)&&(this.timeOnly?i=this.formatTime(e):(i=this.formatDate(e,this.getDateFormat()),this.showTime&&(i+=" "+this.formatTime(e)))),i}setCurrentHourPM(e){"12"==this.hourFormat?(this.pm=e>11,this.currentHour=e>=12?12==e?12:e-12:0==e?12:e):this.currentHour=e}setCurrentView(e){this.currentView=e,this.cd.detectChanges(),this.alignOverlay()}selectDate(e){let i=new Date(e.year,e.month,e.day);if(this.showTime&&(i.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),i.setMinutes(this.currentMinute),i.setSeconds(this.currentSecond)),this.minDate&&this.minDate>i&&(i=this.minDate,this.setCurrentHourPM(i.getHours()),this.currentMinute=i.getMinutes(),this.currentSecond=i.getSeconds()),this.maxDate&&this.maxDate<i&&(i=this.maxDate,this.setCurrentHourPM(i.getHours()),this.currentMinute=i.getMinutes(),this.currentSecond=i.getSeconds()),this.isSingleSelection())this.updateModel(i);else if(this.isMultipleSelection())this.updateModel(this.value?[...this.value,i]:[i]);else if(this.isRangeSelection())if(this.value&&this.value.length){let s=this.value[0],l=this.value[1];!l&&i.getTime()>=s.getTime()?l=i:(s=i,l=null),this.updateModel([s,l])}else this.updateModel([i,null]);this.onSelect.emit(i)}updateModel(e){if(this.value=e,"date"==this.dataType)this.onModelChange(this.value);else if("string"==this.dataType)if(this.isSingleSelection())this.onModelChange(this.formatDateTime(this.value));else{let i=null;this.value&&(i=this.value.map(s=>this.formatDateTime(s))),this.onModelChange(i)}}getFirstDayOfMonthIndex(e,i){let s=new Date;s.setDate(1),s.setMonth(e),s.setFullYear(i);let l=s.getDay()+this.getSundayIndex();return l>=7?l-7:l}getDaysCountInMonth(e,i){return 32-this.daylightSavingAdjust(new Date(i,e,32)).getDate()}getDaysCountInPrevMonth(e,i){let s=this.getPreviousMonthAndYear(e,i);return this.getDaysCountInMonth(s.month,s.year)}getPreviousMonthAndYear(e,i){let s,l;return 0===e?(s=11,l=i-1):(s=e-1,l=i),{month:s,year:l}}getNextMonthAndYear(e,i){let s,l;return 11===e?(s=0,l=i+1):(s=e+1,l=i),{month:s,year:l}}getSundayIndex(){let e=this.getFirstDateOfWeek();return e>0?7-e:0}isSelected(e){if(!this.value)return!1;if(this.isSingleSelection())return this.isDateEquals(this.value,e);if(this.isMultipleSelection()){let i=!1;for(let s of this.value)if(i=this.isDateEquals(s,e),i)break;return i}return this.isRangeSelection()?this.value[1]?this.isDateEquals(this.value[0],e)||this.isDateEquals(this.value[1],e)||this.isDateBetween(this.value[0],this.value[1],e):this.isDateEquals(this.value[0],e):void 0}isComparable(){return null!=this.value&&"string"!=typeof this.value}isMonthSelected(e){if(this.isComparable()&&!this.isMultipleSelection()){const[i,s]=this.isRangeSelection()?this.value:[this.value,this.value],l=new Date(this.currentYear,e,1);return l>=i&&l<=(s??i)}return!1}isMonthDisabled(e){for(let i=1;i<this.getDaysCountInMonth(e,this.currentYear)+1;i++)if(this.isSelectable(i,e,this.currentYear,!1))return!1;return!0}isYearDisabled(e){return!this.isSelectable(1,this.currentMonth,e,!1)}isYearSelected(e){if(this.isComparable()){let i=this.isRangeSelection()?this.value[0]:this.value;return!this.isMultipleSelection()&&i.getFullYear()===e}return!1}isDateEquals(e,i){return!(!e||!St.isDate(e))&&e.getDate()===i.day&&e.getMonth()===i.month&&e.getFullYear()===i.year}isDateBetween(e,i,s){if(e&&i){let h=new Date(s.year,s.month,s.day);return e.getTime()<=h.getTime()&&i.getTime()>=h.getTime()}return!1}isSingleSelection(){return"single"===this.selectionMode}isRangeSelection(){return"range"===this.selectionMode}isMultipleSelection(){return"multiple"===this.selectionMode}isToday(e,i,s,l){return e.getDate()===i&&e.getMonth()===s&&e.getFullYear()===l}isSelectable(e,i,s,l){let h=!0,m=!0,_=!0,w=!0;return!(l&&!this.selectOtherMonths)&&(this.minDate&&(this.minDate.getFullYear()>s||this.minDate.getFullYear()===s&&(this.minDate.getMonth()>i||this.minDate.getMonth()===i&&this.minDate.getDate()>e))&&(h=!1),this.maxDate&&(this.maxDate.getFullYear()<s||this.maxDate.getFullYear()===s&&(this.maxDate.getMonth()<i||this.maxDate.getMonth()===i&&this.maxDate.getDate()<e))&&(m=!1),this.disabledDates&&(_=!this.isDateDisabled(e,i,s)),this.disabledDays&&(w=!this.isDayDisabled(e,i,s)),h&&m&&_&&w)}isDateDisabled(e,i,s){if(this.disabledDates)for(let l of this.disabledDates)if(l.getFullYear()===s&&l.getMonth()===i&&l.getDate()===e)return!0;return!1}isDayDisabled(e,i,s){if(this.disabledDays){let h=new Date(s,i,e).getDay();return-1!==this.disabledDays.indexOf(h)}return!1}onInputFocus(e){this.focus=!0,this.showOnFocus&&this.showOverlay(),this.onFocus.emit(e)}onInputClick(){this.showOnFocus&&!this.overlayVisible&&this.showOverlay()}onInputBlur(e){this.focus=!1,this.onBlur.emit(e),this.keepInvalid||this.updateInputfield(),this.onModelTouched()}onButtonClick(e,i){this.overlayVisible?this.hideOverlay():(i.focus(),this.showOverlay())}clear(){this.inputFieldValue=null,this.value=null,this.onModelChange(this.value),this.onClear.emit()}onOverlayClick(e){this.overlayService.add({originalEvent:e,target:this.el.nativeElement})}getMonthName(e){return this.config.getTranslation("monthNames")[e]}getYear(e){return"month"===this.currentView?this.currentYear:e.year}switchViewButtonDisabled(){return this.numberOfMonths>1||this.disabled}onPrevButtonClick(e){this.navigationState={backward:!0,button:!0},this.navBackward(e)}onNextButtonClick(e){this.navigationState={backward:!1,button:!0},this.navForward(e)}onContainerButtonKeydown(e){switch(e.which){case 9:this.inline||this.trapFocus(e);break;case 27:this.overlayVisible=!1,e.preventDefault()}}onInputKeydown(e){this.isKeydown=!0,40===e.keyCode&&this.contentViewChild?this.trapFocus(e):27===e.keyCode||13===e.keyCode?this.overlayVisible&&(this.overlayVisible=!1,e.preventDefault()):9===e.keyCode&&this.contentViewChild&&(Le.getFocusableElements(this.contentViewChild.nativeElement).forEach(i=>i.tabIndex="-1"),this.overlayVisible&&(this.overlayVisible=!1))}onDateCellKeydown(e,i,s){const l=e.currentTarget,h=l.parentElement;switch(e.which){case 40:{l.tabIndex="-1";let m=Le.index(h),_=h.parentElement.nextElementSibling;_?Le.hasClass(_.children[m].children[0],"p-disabled")?(this.navigationState={backward:!1},this.navForward(e)):(_.children[m].children[0].tabIndex="0",_.children[m].children[0].focus()):(this.navigationState={backward:!1},this.navForward(e)),e.preventDefault();break}case 38:{l.tabIndex="-1";let m=Le.index(h),_=h.parentElement.previousElementSibling;if(_){let w=_.children[m].children[0];Le.hasClass(w,"p-disabled")?(this.navigationState={backward:!0},this.navBackward(e)):(w.tabIndex="0",w.focus())}else this.navigationState={backward:!0},this.navBackward(e);e.preventDefault();break}case 37:{l.tabIndex="-1";let m=h.previousElementSibling;if(m){let _=m.children[0];Le.hasClass(_,"p-disabled")||Le.hasClass(_.parentElement,"p-datepicker-weeknumber")?this.navigateToMonth(!0,s):(_.tabIndex="0",_.focus())}else this.navigateToMonth(!0,s);e.preventDefault();break}case 39:{l.tabIndex="-1";let m=h.nextElementSibling;if(m){let _=m.children[0];Le.hasClass(_,"p-disabled")?this.navigateToMonth(!1,s):(_.tabIndex="0",_.focus())}else this.navigateToMonth(!1,s);e.preventDefault();break}case 13:case 32:this.onDateSelect(e,i),e.preventDefault();break;case 27:this.overlayVisible=!1,e.preventDefault();break;case 9:this.inline||this.trapFocus(e)}}onMonthCellKeydown(e,i){const s=e.currentTarget;switch(e.which){case 38:case 40:{s.tabIndex="-1";var l=s.parentElement.children,h=Le.index(s);let m=l[40===e.which?h+3:h-3];m&&(m.tabIndex="0",m.focus()),e.preventDefault();break}case 37:{s.tabIndex="-1";let m=s.previousElementSibling;m?(m.tabIndex="0",m.focus()):(this.navigationState={backward:!0},this.navBackward(e)),e.preventDefault();break}case 39:{s.tabIndex="-1";let m=s.nextElementSibling;m?(m.tabIndex="0",m.focus()):(this.navigationState={backward:!1},this.navForward(e)),e.preventDefault();break}case 13:this.onMonthSelect(e,i),e.preventDefault();break;case 13:case 32:case 27:this.overlayVisible=!1,e.preventDefault();break;case 9:this.inline||this.trapFocus(e)}}onYearCellKeydown(e,i){const s=e.currentTarget;switch(e.which){case 38:case 40:{s.tabIndex="-1";var l=s.parentElement.children,h=Le.index(s);let m=l[40===e.which?h+2:h-2];m&&(m.tabIndex="0",m.focus()),e.preventDefault();break}case 37:{s.tabIndex="-1";let m=s.previousElementSibling;m?(m.tabIndex="0",m.focus()):(this.navigationState={backward:!0},this.navBackward(e)),e.preventDefault();break}case 39:{s.tabIndex="-1";let m=s.nextElementSibling;m?(m.tabIndex="0",m.focus()):(this.navigationState={backward:!1},this.navForward(e)),e.preventDefault();break}case 13:case 32:this.onYearSelect(e,i),e.preventDefault();break;case 27:this.overlayVisible=!1,e.preventDefault();break;case 9:this.trapFocus(e)}}navigateToMonth(e,i){if(e)if(1===this.numberOfMonths||0===i)this.navigationState={backward:!0},this.navBackward(event);else{let l=Le.find(this.contentViewChild.nativeElement.children[i-1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),h=l[l.length-1];h.tabIndex="0",h.focus()}else if(1===this.numberOfMonths||i===this.numberOfMonths-1)this.navigationState={backward:!1},this.navForward(event);else{let l=Le.findSingle(this.contentViewChild.nativeElement.children[i+1],".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");l.tabIndex="0",l.focus()}}updateFocus(){let e;if(this.navigationState){if(this.navigationState.button)this.initFocusableCell(),this.navigationState.backward?Le.findSingle(this.contentViewChild.nativeElement,".p-datepicker-prev").focus():Le.findSingle(this.contentViewChild.nativeElement,".p-datepicker-next").focus();else{if(this.navigationState.backward){let i;i=Le.find(this.contentViewChild.nativeElement,"month"===this.currentView?".p-monthpicker .p-monthpicker-month:not(.p-disabled)":"year"===this.currentView?".p-yearpicker .p-yearpicker-year:not(.p-disabled)":".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)"),i&&i.length>0&&(e=i[i.length-1])}else e=Le.findSingle(this.contentViewChild.nativeElement,"month"===this.currentView?".p-monthpicker .p-monthpicker-month:not(.p-disabled)":"year"===this.currentView?".p-yearpicker .p-yearpicker-year:not(.p-disabled)":".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)");e&&(e.tabIndex="0",e.focus())}this.navigationState=null}else this.initFocusableCell()}initFocusableCell(){const e=this.contentViewChild?.nativeElement;let i;if("month"===this.currentView){let s=Le.find(e,".p-monthpicker .p-monthpicker-month:not(.p-disabled)"),l=Le.findSingle(e,".p-monthpicker .p-monthpicker-month.p-highlight");s.forEach(h=>h.tabIndex=-1),i=l||s[0],0===s.length&&Le.find(e,'.p-monthpicker .p-monthpicker-month.p-disabled[tabindex = "0"]').forEach(m=>m.tabIndex=-1)}else if("year"===this.currentView){let s=Le.find(e,".p-yearpicker .p-yearpicker-year:not(.p-disabled)"),l=Le.findSingle(e,".p-yearpicker .p-yearpicker-year.p-highlight");s.forEach(h=>h.tabIndex=-1),i=l||s[0],0===s.length&&Le.find(e,'.p-yearpicker .p-yearpicker-year.p-disabled[tabindex = "0"]').forEach(m=>m.tabIndex=-1)}else if(i=Le.findSingle(e,"span.p-highlight"),!i){let s=Le.findSingle(e,"td.p-datepicker-today span:not(.p-disabled):not(.p-ink)");i=s||Le.findSingle(e,".p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)")}i&&(i.tabIndex="0",!this.preventFocus&&(!this.navigationState||!this.navigationState.button)&&setTimeout(()=>{this.disabled||i.focus()},1),this.preventFocus=!1)}trapFocus(e){let i=Le.getFocusableElements(this.contentViewChild.nativeElement);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let s=i.indexOf(i[0].ownerDocument.activeElement);if(e.shiftKey)if(-1==s||0===s)if(this.focusTrap)i[i.length-1].focus();else{if(-1===s)return this.hideOverlay();if(0===s)return}else i[s-1].focus();else if(-1==s||s===i.length-1){if(!this.focusTrap&&-1!=s)return this.hideOverlay();i[0].focus()}else i[s+1].focus()}else i[0].focus();e.preventDefault()}onMonthDropdownChange(e){this.currentMonth=parseInt(e),this.onMonthChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}onYearDropdownChange(e){this.currentYear=parseInt(e),this.onYearChange.emit({month:this.currentMonth+1,year:this.currentYear}),this.createMonths(this.currentMonth,this.currentYear)}validateTime(e,i,s,l){let h=this.value;const m=this.convertTo24Hour(e,l);this.isRangeSelection()&&(h=this.value[1]||this.value[0]),this.isMultipleSelection()&&(h=this.value[this.value.length-1]);const _=h?h.toDateString():null;return!(this.minDate&&_&&this.minDate.toDateString()===_&&(this.minDate.getHours()>m||this.minDate.getHours()===m&&(this.minDate.getMinutes()>i||this.minDate.getMinutes()===i&&this.minDate.getSeconds()>s))||this.maxDate&&_&&this.maxDate.toDateString()===_&&(this.maxDate.getHours()<m||this.maxDate.getHours()===m&&(this.maxDate.getMinutes()<i||this.maxDate.getMinutes()===i&&this.maxDate.getSeconds()<s)))}incrementHour(e){let s=this.currentHour+this.stepHour,l=this.pm;"24"==this.hourFormat?s=s>=24?s-24:s:"12"==this.hourFormat&&(this.currentHour<12&&s>11&&(l=!this.pm),s=s>=13?s-12:s),this.validateTime(s,this.currentMinute,this.currentSecond,l)&&(this.currentHour=s,this.pm=l),e.preventDefault()}onTimePickerElementMouseDown(e,i,s){this.disabled||(this.repeat(e,null,i,s),e.preventDefault())}onTimePickerElementMouseUp(e){this.disabled||(this.clearTimePickerTimer(),this.updateTime())}onTimePickerElementMouseLeave(){!this.disabled&&this.timePickerTimer&&(this.clearTimePickerTimer(),this.updateTime())}repeat(e,i,s,l){let h=i||500;switch(this.clearTimePickerTimer(),this.timePickerTimer=setTimeout(()=>{this.repeat(e,100,s,l),this.cd.markForCheck()},h),s){case 0:1===l?this.incrementHour(e):this.decrementHour(e);break;case 1:1===l?this.incrementMinute(e):this.decrementMinute(e);break;case 2:1===l?this.incrementSecond(e):this.decrementSecond(e)}this.updateInputfield()}clearTimePickerTimer(){this.timePickerTimer&&(clearTimeout(this.timePickerTimer),this.timePickerTimer=null)}decrementHour(e){let i=this.currentHour-this.stepHour,s=this.pm;"24"==this.hourFormat?i=i<0?24+i:i:"12"==this.hourFormat&&(12===this.currentHour&&(s=!this.pm),i=i<=0?12+i:i),this.validateTime(i,this.currentMinute,this.currentSecond,s)&&(this.currentHour=i,this.pm=s),e.preventDefault()}incrementMinute(e){let i=this.currentMinute+this.stepMinute;i=i>59?i-60:i,this.validateTime(this.currentHour,i,this.currentSecond,this.pm)&&(this.currentMinute=i),e.preventDefault()}decrementMinute(e){let i=this.currentMinute-this.stepMinute;i=i<0?60+i:i,this.validateTime(this.currentHour,i,this.currentSecond,this.pm)&&(this.currentMinute=i),e.preventDefault()}incrementSecond(e){let i=this.currentSecond+this.stepSecond;i=i>59?i-60:i,this.validateTime(this.currentHour,this.currentMinute,i,this.pm)&&(this.currentSecond=i),e.preventDefault()}decrementSecond(e){let i=this.currentSecond-this.stepSecond;i=i<0?60+i:i,this.validateTime(this.currentHour,this.currentMinute,i,this.pm)&&(this.currentSecond=i),e.preventDefault()}updateTime(){let e=this.value;this.isRangeSelection()&&(e=this.value[1]||this.value[0]),this.isMultipleSelection()&&(e=this.value[this.value.length-1]),e=e?new Date(e.getTime()):new Date,e.setHours("12"==this.hourFormat?12===this.currentHour?this.pm?12:0:this.pm?this.currentHour+12:this.currentHour:this.currentHour),e.setMinutes(this.currentMinute),e.setSeconds(this.currentSecond),this.isRangeSelection()&&(e=this.value[1]?[this.value[0],e]:[e,null]),this.isMultipleSelection()&&(e=[...this.value.slice(0,-1),e]),this.updateModel(e),this.onSelect.emit(e),this.updateInputfield()}toggleAMPM(e){const i=!this.pm;this.validateTime(this.currentHour,this.currentMinute,this.currentSecond,i)&&(this.pm=i,this.updateTime()),e.preventDefault()}onUserInput(e){if(!this.isKeydown)return;this.isKeydown=!1;let i=e.target.value;try{let s=this.parseValueFromString(i);this.isValidSelection(s)?(this.updateModel(s),this.updateUI()):this.keepInvalid&&this.updateModel(s)}catch{this.updateModel(this.keepInvalid?i:null)}this.filled=null!=i&&i.length,this.onInput.emit(e)}isValidSelection(e){let i=!0;return this.isSingleSelection()?this.isSelectable(e.getDate(),e.getMonth(),e.getFullYear(),!1)||(i=!1):e.every(s=>this.isSelectable(s.getDate(),s.getMonth(),s.getFullYear(),!1))&&this.isRangeSelection()&&(i=e.length>1&&e[1]>e[0]),i}parseValueFromString(e){if(!e||0===e.trim().length)return null;let i;if(this.isSingleSelection())i=this.parseDateTime(e);else if(this.isMultipleSelection()){let s=e.split(this.multipleSeparator);i=[];for(let l of s)i.push(this.parseDateTime(l.trim()))}else if(this.isRangeSelection()){let s=e.split(" "+this.rangeSeparator+" ");i=[];for(let l=0;l<s.length;l++)i[l]=this.parseDateTime(s[l].trim())}return i}parseDateTime(e){let i,s=e.split(" ");if(this.timeOnly)i=new Date,this.populateTime(i,s[0],s[1]);else{const l=this.getDateFormat();if(this.showTime){let h="12"==this.hourFormat?s.pop():null,m=s.pop();i=this.parseDate(s.join(" "),l),this.populateTime(i,m,h)}else i=this.parseDate(e,l)}return i}populateTime(e,i,s){if("12"==this.hourFormat&&!s)throw"Invalid Time";this.pm="PM"===s||"pm"===s;let l=this.parseTime(i);e.setHours(l.hour),e.setMinutes(l.minute),e.setSeconds(l.second)}isValidDate(e){return St.isDate(e)&&St.isNotEmpty(e)}updateUI(){let e=this.value;Array.isArray(e)&&(e=e[0]);let i=this.defaultDate&&this.isValidDate(this.defaultDate)&&!this.value?this.defaultDate:e&&this.isValidDate(e)?e:new Date;this.currentMonth=i.getMonth(),this.currentYear=i.getFullYear(),this.createMonths(this.currentMonth,this.currentYear),(this.showTime||this.timeOnly)&&(this.setCurrentHourPM(i.getHours()),this.currentMinute=i.getMinutes(),this.currentSecond=i.getSeconds())}showOverlay(){this.overlayVisible||(this.updateUI(),this.touchUI||(this.preventFocus=!0),this.overlayVisible=!0)}hideOverlay(){this.overlayVisible=!1,this.clearTimePickerTimer(),this.touchUI&&this.disableModality(),this.cd.markForCheck()}toggle(){this.inline||(this.overlayVisible?this.hideOverlay():(this.showOverlay(),this.inputfieldViewChild.nativeElement.focus()))}onOverlayAnimationStart(e){switch(e.toState){case"visible":case"visibleTouchUI":this.inline||(this.overlay=e.element,this.overlay.setAttribute(this.attributeSelector,""),this.appendOverlay(),this.updateFocus(),this.autoZIndex&&(this.touchUI?Ya.set("modal",this.overlay,this.baseZIndex||this.config.zIndex.modal):Ya.set("overlay",this.overlay,this.baseZIndex||this.config.zIndex.overlay)),this.alignOverlay(),this.onShow.emit(e));break;case"void":this.onOverlayHide(),this.onClose.emit(e)}}onOverlayAnimationDone(e){switch(e.toState){case"visible":case"visibleTouchUI":this.inline||(this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener());break;case"void":this.autoZIndex&&Ya.clear(e.element)}}appendOverlay(){this.appendTo&&("body"===this.appendTo?this.document.body.appendChild(this.overlay):Le.appendChild(this.overlay,this.appendTo))}restoreOverlayAppend(){this.overlay&&this.appendTo&&this.el.nativeElement.appendChild(this.overlay)}alignOverlay(){this.touchUI?this.enableModality(this.overlay):this.overlay&&(this.appendTo?("date"===this.view?(this.overlay.style.width=Le.getOuterWidth(this.overlay)+"px",this.overlay.style.minWidth=Le.getOuterWidth(this.inputfieldViewChild.nativeElement)+"px"):this.overlay.style.width=Le.getOuterWidth(this.inputfieldViewChild.nativeElement)+"px",Le.absolutePosition(this.overlay,this.inputfieldViewChild.nativeElement)):Le.relativePosition(this.overlay,this.inputfieldViewChild.nativeElement))}enableModality(e){!this.mask&&this.touchUI&&(this.mask=this.renderer.createElement("div"),this.renderer.setStyle(this.mask,"zIndex",String(parseInt(e.style.zIndex)-1)),Le.addMultipleClasses(this.mask,"p-component-overlay p-datepicker-mask p-datepicker-mask-scrollblocker p-component-overlay p-component-overlay-enter"),this.maskClickListener=this.renderer.listen(this.mask,"click",s=>{this.disableModality()}),this.renderer.appendChild(this.document.body,this.mask),Le.addClass(this.document.body,"p-overflow-hidden"))}disableModality(){this.mask&&(Le.addClass(this.mask,"p-component-overlay-leave"),this.animationEndListener||(this.animationEndListener=this.renderer.listen(this.mask,"animationend",this.destroyMask.bind(this))))}destroyMask(){if(!this.mask)return;this.renderer.removeChild(this.document.body,this.mask);let i,e=this.document.body.children;for(let s=0;s<e.length;s++)if(Le.hasClass(e[s],"p-datepicker-mask-scrollblocker")){i=!0;break}i||Le.removeClass(this.document.body,"p-overflow-hidden"),this.unbindAnimationEndListener(),this.unbindMaskClickListener(),this.mask=null}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}unbindAnimationEndListener(){this.animationEndListener&&this.mask&&(this.animationEndListener(),this.animationEndListener=null)}writeValue(e){if(this.value=e,this.value&&"string"==typeof this.value)try{this.value=this.parseValueFromString(this.value)}catch{this.keepInvalid&&(this.value=e)}this.updateInputfield(),this.updateUI(),this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}getDateFormat(){return this.dateFormat||this.getTranslation("dateFormat")}getFirstDateOfWeek(){return this._firstDayOfWeek||this.getTranslation(ys.FIRST_DAY_OF_WEEK)}formatDate(e,i){if(!e)return"";let s;const l=N=>{const $=s+1<i.length&&i.charAt(s+1)===N;return $&&s++,$},h=(N,$,oe)=>{let le=""+$;if(l(N))for(;le.length<oe;)le="0"+le;return le},m=(N,$,oe,le)=>l(N)?le[$]:oe[$];let _="",w=!1;if(e)for(s=0;s<i.length;s++)if(w)"'"!==i.charAt(s)||l("'")?_+=i.charAt(s):w=!1;else switch(i.charAt(s)){case"d":_+=h("d",e.getDate(),2);break;case"D":_+=m("D",e.getDay(),this.getTranslation(ys.DAY_NAMES_SHORT),this.getTranslation(ys.DAY_NAMES));break;case"o":_+=h("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":_+=h("m",e.getMonth()+1,2);break;case"M":_+=m("M",e.getMonth(),this.getTranslation(ys.MONTH_NAMES_SHORT),this.getTranslation(ys.MONTH_NAMES));break;case"y":_+=l("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":_+=e.getTime();break;case"!":_+=1e4*e.getTime()+this.ticksTo1970;break;case"'":l("'")?_+="'":w=!0;break;default:_+=i.charAt(s)}return _}formatTime(e){if(!e)return"";let i="",s=e.getHours(),l=e.getMinutes(),h=e.getSeconds();return"12"==this.hourFormat&&s>11&&12!=s&&(s-=12),i+="12"==this.hourFormat&&0===s?12:s<10?"0"+s:s,i+=":",i+=l<10?"0"+l:l,this.showSeconds&&(i+=":",i+=h<10?"0"+h:h),"12"==this.hourFormat&&(i+=e.getHours()>11?" PM":" AM"),i}parseTime(e){let i=e.split(":");if(i.length!==(this.showSeconds?3:2))throw"Invalid time";let l=parseInt(i[0]),h=parseInt(i[1]),m=this.showSeconds?parseInt(i[2]):null;if(isNaN(l)||isNaN(h)||l>23||h>59||"12"==this.hourFormat&&l>12||this.showSeconds&&(isNaN(m)||m>59))throw"Invalid time";return"12"==this.hourFormat&&(12!==l&&this.pm?l+=12:!this.pm&&12===l&&(l-=12)),{hour:l,minute:h,second:m}}parseDate(e,i){if(null==i||null==e)throw"Invalid arguments";if(""===(e="object"==typeof e?e.toString():e+""))return null;let s,l,h,ve,m=0,_="string"!=typeof this.shortYearCutoff?this.shortYearCutoff:(new Date).getFullYear()%100+parseInt(this.shortYearCutoff,10),w=-1,N=-1,$=-1,oe=-1,le=!1,we=it=>{let tt=s+1<i.length&&i.charAt(s+1)===it;return tt&&s++,tt},xe=it=>{let tt=we(it),ut="@"===it?14:"!"===it?20:"y"===it&&tt?4:"o"===it?3:2,qt=new RegExp("^\\d{"+("y"===it?ut:1)+","+ut+"}"),En=e.substring(m).match(qt);if(!En)throw"Missing number at position "+m;return m+=En[0].length,parseInt(En[0],10)},Ye=(it,tt,ut)=>{let Nt=-1,qt=we(it)?ut:tt,En=[];for(let Vn=0;Vn<qt.length;Vn++)En.push([Vn,qt[Vn]]);En.sort((Vn,Zi)=>-(Vn[1].length-Zi[1].length));for(let Vn=0;Vn<En.length;Vn++){let Zi=En[Vn][1];if(e.substr(m,Zi.length).toLowerCase()===Zi.toLowerCase()){Nt=En[Vn][0],m+=Zi.length;break}}if(-1!==Nt)return Nt+1;throw"Unknown name at position "+m},Fe=()=>{if(e.charAt(m)!==i.charAt(s))throw"Unexpected literal at position "+m;m++};for("month"===this.view&&($=1),s=0;s<i.length;s++)if(le)"'"!==i.charAt(s)||we("'")?Fe():le=!1;else switch(i.charAt(s)){case"d":$=xe("d");break;case"D":Ye("D",this.getTranslation(ys.DAY_NAMES_SHORT),this.getTranslation(ys.DAY_NAMES));break;case"o":oe=xe("o");break;case"m":N=xe("m");break;case"M":N=Ye("M",this.getTranslation(ys.MONTH_NAMES_SHORT),this.getTranslation(ys.MONTH_NAMES));break;case"y":w=xe("y");break;case"@":ve=new Date(xe("@")),w=ve.getFullYear(),N=ve.getMonth()+1,$=ve.getDate();break;case"!":ve=new Date((xe("!")-this.ticksTo1970)/1e4),w=ve.getFullYear(),N=ve.getMonth()+1,$=ve.getDate();break;case"'":we("'")?Fe():le=!0;break;default:Fe()}if(m<e.length&&(h=e.substr(m),!/^\s+/.test(h)))throw"Extra/unparsed characters found in date: "+h;if(-1===w?w=(new Date).getFullYear():w<100&&(w+=(new Date).getFullYear()-(new Date).getFullYear()%100+(w<=_?0:-100)),oe>-1)for(N=1,$=oe;l=this.getDaysCountInMonth(w,N-1),!($<=l);)N++,$-=l;if("year"===this.view&&(N=-1===N?1:N,$=-1===$?1:$),ve=this.daylightSavingAdjust(new Date(w,N-1,$)),ve.getFullYear()!==w||ve.getMonth()+1!==N||ve.getDate()!==$)throw"Invalid date";return ve}daylightSavingAdjust(e){return e?(e.setHours(e.getHours()>12?e.getHours()+2:0),e):null}updateFilledState(){this.filled=this.inputFieldValue&&""!=this.inputFieldValue}onTodayButtonClick(e){let i=new Date,s={day:i.getDate(),month:i.getMonth(),year:i.getFullYear(),otherMonth:i.getMonth()!==this.currentMonth||i.getFullYear()!==this.currentYear,today:!0,selectable:!0};this.onDateSelect(e,s),this.onTodayClick.emit(e)}onClearButtonClick(e){this.updateModel(null),this.updateInputfield(),this.hideOverlay(),this.onClearClick.emit(e)}createResponsiveStyle(){if(this.numberOfMonths>1&&this.responsiveOptions){this.responsiveStyleElement||(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",this.renderer.appendChild(this.document.body,this.responsiveStyleElement));let e="";if(this.responsiveOptions){let i=[...this.responsiveOptions].filter(s=>!(!s.breakpoint||!s.numMonths)).sort((s,l)=>-1*s.breakpoint.localeCompare(l.breakpoint,void 0,{numeric:!0}));for(let s=0;s<i.length;s++){let{breakpoint:l,numMonths:h}=i[s],m=`\n                        .p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${h}) .p-datepicker-next {\n                            display: inline-flex !important;\n                        }\n                    `;for(let _=h;_<this.numberOfMonths;_++)m+=`\n                            .p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${_+1}) {\n                                display: none !important;\n                            }\n                        `;e+=`\n                        @media screen and (max-width: ${l}) {\n                            ${m}\n                        }\n                    `}}this.responsiveStyleElement.innerHTML=e}}destroyResponsiveStyleElement(){this.responsiveStyleElement&&(this.responsiveStyleElement.remove(),this.responsiveStyleElement=null)}bindDocumentClickListener(){this.documentClickListener||this.zone.runOutsideAngular(()=>{this.documentClickListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:this.document,"mousedown",i=>{this.isOutsideClicked(i)&&this.overlayVisible&&this.zone.run(()=>{this.hideOverlay(),this.onClickOutside.emit(i),this.cd.markForCheck()})})})}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){!this.documentResizeListener&&!this.touchUI&&(this.documentResizeListener=this.renderer.listen(this.window,"resize",this.onWindowResize.bind(this)))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new V5(this.containerViewChild.nativeElement,()=>{this.overlayVisible&&this.hideOverlay()})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}isOutsideClicked(e){return!(this.el.nativeElement.isSameNode(e.target)||this.isNavIconClicked(e)||this.el.nativeElement.contains(e.target)||this.overlay&&this.overlay.contains(e.target))}isNavIconClicked(e){return Le.hasClass(e.target,"p-datepicker-prev")||Le.hasClass(e.target,"p-datepicker-prev-icon")||Le.hasClass(e.target,"p-datepicker-next")||Le.hasClass(e.target,"p-datepicker-next-icon")}onWindowResize(){this.overlayVisible&&!Le.isTouchDevice()&&this.hideOverlay()}onOverlayHide(){this.currentView=this.view,this.mask&&this.destroyMask(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.overlay=null}ngOnDestroy(){this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),this.overlay&&this.autoZIndex&&Ya.clear(this.overlay),this.destroyResponsiveStyleElement(),this.clearTimePickerTimer(),this.restoreOverlayAppend(),this.onOverlayHide()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hn),Ce(An),Ce(Lo),Ce(Mi),Ce(yn),Ce(Rf),Ce(B5))},t.\u0275cmp=Ct({type:t,selectors:[["p-calendar"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},viewQuery:function(e,i){if(1&e&&(Pn(tX,5),Pn(nX,5),Pn(iX,5)),2&e){let s;zt(s=jt())&&(i.containerViewChild=s.first),zt(s=jt())&&(i.inputfieldViewChild=s.first),zt(s=jt())&&(i.content=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(e,i){2&e&&Wi("p-inputwrapper-filled",i.filled)("p-inputwrapper-focus",i.focus)("p-calendar-clearable",i.showClear&&!i.disabled)},inputs:{style:"style",styleClass:"styleClass",inputStyle:"inputStyle",inputId:"inputId",name:"name",inputStyleClass:"inputStyleClass",placeholder:"placeholder",ariaLabelledBy:"ariaLabelledBy",iconAriaLabel:"iconAriaLabel",disabled:"disabled",dateFormat:"dateFormat",multipleSeparator:"multipleSeparator",rangeSeparator:"rangeSeparator",inline:"inline",showOtherMonths:"showOtherMonths",selectOtherMonths:"selectOtherMonths",showIcon:"showIcon",icon:"icon",appendTo:"appendTo",readonlyInput:"readonlyInput",shortYearCutoff:"shortYearCutoff",monthNavigator:"monthNavigator",yearNavigator:"yearNavigator",hourFormat:"hourFormat",timeOnly:"timeOnly",stepHour:"stepHour",stepMinute:"stepMinute",stepSecond:"stepSecond",showSeconds:"showSeconds",required:"required",showOnFocus:"showOnFocus",showWeek:"showWeek",showClear:"showClear",dataType:"dataType",selectionMode:"selectionMode",maxDateCount:"maxDateCount",showButtonBar:"showButtonBar",todayButtonStyleClass:"todayButtonStyleClass",clearButtonStyleClass:"clearButtonStyleClass",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",panelStyleClass:"panelStyleClass",panelStyle:"panelStyle",keepInvalid:"keepInvalid",hideOnDateTimeSelect:"hideOnDateTimeSelect",touchUI:"touchUI",timeSeparator:"timeSeparator",focusTrap:"focusTrap",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",tabindex:"tabindex",view:"view",defaultDate:"defaultDate",minDate:"minDate",maxDate:"maxDate",disabledDates:"disabledDates",disabledDays:"disabledDays",yearRange:"yearRange",showTime:"showTime",responsiveOptions:"responsiveOptions",numberOfMonths:"numberOfMonths",firstDayOfWeek:"firstDayOfWeek",locale:"locale"},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClose:"onClose",onSelect:"onSelect",onClear:"onClear",onInput:"onInput",onTodayClick:"onTodayClick",onClearClick:"onClearClick",onMonthChange:"onMonthChange",onYearChange:"onYearChange",onClickOutside:"onClickOutside",onShow:"onShow"},features:[Pt([Oee])],ngContentSelectors:Lee,decls:4,vars:11,consts:[[3,"ngClass","ngStyle"],["container",""],[3,"ngIf"],[3,"class","ngStyle","ngClass","click",4,"ngIf"],["type","text","autocomplete","off",3,"value","readonly","ngStyle","placeholder","disabled","ngClass","focus","keydown","click","blur","input"],["inputfield",""],[4,"ngIf"],["type","button","pButton","","pRipple","","class","p-datepicker-trigger p-button-icon-only","tabindex","0",3,"disabled","click",4,"ngIf"],[3,"styleClass","click",4,"ngIf"],["class","p-calendar-clear-icon",3,"click",4,"ngIf"],[3,"styleClass","click"],[1,"p-calendar-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["type","button","pButton","","pRipple","","tabindex","0",1,"p-datepicker-trigger","p-button-icon-only",3,"disabled","click"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[3,"ngStyle","ngClass","click"],["contentWrapper",""],["class","p-timepicker",4,"ngIf"],["class","p-datepicker-buttonbar",4,"ngIf"],[1,"p-datepicker-group-container"],["class","p-datepicker-group",4,"ngFor","ngForOf"],["class","p-monthpicker",4,"ngIf"],["class","p-yearpicker",4,"ngIf"],[1,"p-datepicker-group"],[1,"p-datepicker-header"],["class","p-datepicker-prev p-link","type","button","pRipple","",3,"keydown","click",4,"ngIf"],[1,"p-datepicker-title"],["type","button","class","p-datepicker-month p-link",3,"disabled","click","keydown",4,"ngIf"],["type","button","class","p-datepicker-year p-link",3,"disabled","click","keydown",4,"ngIf"],["class","p-datepicker-decade",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-next","p-link",3,"keydown","click"],[3,"styleClass",4,"ngIf"],["class","p-datepicker-next-icon",4,"ngIf"],["class","p-datepicker-calendar-container",4,"ngIf"],["type","button","pRipple","",1,"p-datepicker-prev","p-link",3,"keydown","click"],["class","p-datepicker-prev-icon",4,"ngIf"],[3,"styleClass"],[1,"p-datepicker-prev-icon"],["type","button",1,"p-datepicker-month","p-link",3,"disabled","click","keydown"],["type","button",1,"p-datepicker-year","p-link",3,"disabled","click","keydown"],[1,"p-datepicker-decade"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-datepicker-next-icon"],[1,"p-datepicker-calendar-container"],[1,"p-datepicker-calendar"],["class","p-datepicker-weekheader p-disabled",4,"ngIf"],["scope","col",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"p-datepicker-weekheader","p-disabled"],["scope","col"],["class","p-datepicker-weeknumber",4,"ngIf"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"p-datepicker-weeknumber"],[1,"p-disabled"],["draggable","false","pRipple","",3,"ngClass","click","keydown"],[1,"p-monthpicker"],["class","p-monthpicker-month","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-monthpicker-month",3,"ngClass","click","keydown"],[1,"p-yearpicker"],["class","p-yearpicker-year","pRipple","",3,"ngClass","click","keydown",4,"ngFor","ngForOf"],["pRipple","",1,"p-yearpicker-year",3,"ngClass","click","keydown"],[1,"p-timepicker"],[1,"p-hour-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","keydown.enter","keydown.space","mousedown","mouseup","keyup.enter","keyup.space","mouseleave"],[1,"p-separator"],[1,"p-minute-picker"],["class","p-separator",4,"ngIf"],["class","p-second-picker",4,"ngIf"],["class","p-ampm-picker",4,"ngIf"],[1,"p-second-picker"],[1,"p-ampm-picker"],["type","button","pRipple","",1,"p-link",3,"keydown","click","keydown.enter"],[1,"p-datepicker-buttonbar"],["type","button","pButton","","pRipple","",3,"label","ngClass","keydown","click"]],template:function(e,i){1&e&&(ms(See),ne(0,"span",0,1),J(2,mX,4,17,"ng-template",2),J(3,Eee,9,28,"div",3),re()),2&e&&(Mt(i.styleClass),H("ngClass",tc(6,Iee,i.showIcon,i.timeOnly,i.disabled,i.focus))("ngStyle",i.style),G(2),H("ngIf",!i.inline),G(1),H("ngIf",i.inline||i.overlayVisible))},dependencies:function(){return[ao,Zr,Ei,Xi,Mo,Mb,rh,K9,j5,Z9,jk,Jr,G9]},styles:[".p-calendar{position:relative;display:inline-flex;max-width:100%}.p-calendar .p-inputtext{flex:1 1 auto;width:1%}.p-calendar-w-btn .p-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}.p-calendar-w-btn .p-datepicker-trigger{border-top-left-radius:0;border-bottom-left-radius:0}.p-fluid .p-calendar{display:flex}.p-fluid .p-calendar .p-inputtext{width:1%}.p-calendar .p-datepicker{min-width:100%}.p-datepicker{width:auto;position:absolute;top:0;left:0}.p-datepicker-inline{display:inline-block;position:static;overflow-x:auto}.p-datepicker-header{display:flex;align-items:center;justify-content:space-between}.p-datepicker-header .p-datepicker-title{margin:0 auto}.p-datepicker-prev,.p-datepicker-next{cursor:pointer;display:inline-flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-datepicker-multiple-month .p-datepicker-group-container .p-datepicker-group{flex:1 1 auto}.p-datepicker-multiple-month .p-datepicker-group-container{display:flex}.p-datepicker table{width:100%;border-collapse:collapse}.p-datepicker td>span{display:flex;justify-content:center;align-items:center;cursor:pointer;margin:0 auto;overflow:hidden;position:relative}.p-monthpicker-month{width:33.3%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-datepicker-buttonbar{display:flex;justify-content:space-between;align-items:center}.p-timepicker{display:flex;justify-content:center;align-items:center}.p-timepicker button{display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-timepicker>div{display:flex;align-items:center;flex-direction:column}.p-datepicker-touch-ui,.p-calendar .p-datepicker-touch-ui{position:fixed;top:50%;left:50%;min-width:80vw;transform:translate(-50%,-50%)}.p-yearpicker-year{width:50%;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;position:relative}.p-calendar-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-calendar-clearable{position:relative}\n"],encapsulation:2,data:{animation:[kb("overlayAnimation",[Pf("visibleTouchUI",Fo({transform:"translate(-50%,-50%)",opacity:1})),Ha("void => visible",[Fo({opacity:0,transform:"scaleY(0.8)"}),Va("{{showTransitionParams}}",Fo({opacity:1,transform:"*"}))]),Ha("visible => void",[Va("{{hideTransitionParams}}",Fo({opacity:0}))]),Ha("void => visibleTouchUI",[Fo({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}),Va("{{showTransitionParams}}")]),Ha("visibleTouchUI => void",[Va("{{hideTransitionParams}}",Fo({opacity:0,transform:"translate3d(-50%, -40%, 0) scale(0.9)"}))])])]},changeDetection:0}),t})(),Nee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,Db,Ki,sh,K9,j5,Z9,jk,Jr,G9,Db,Ki]}),t})(),eF=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["ArrowDownIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_326_12468)"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z","fill","currentColor"],["id","clip0_326_12468"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),tF=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["ArrowUpIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_326_12509)"],["fill-rule","evenodd","clip-rule","evenodd","d","M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z","fill","currentColor"],["id","clip0_326_12509"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),Ree=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["FilterIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_390_17708)"],["d","M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z","fill","currentColor"],["id","clip0_390_17708"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),Fee=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["SortAltIcon"]],standalone:!0,features:[Ft,Wn],decls:9,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_378_15529)"],["d","M5.64515 3.61291C5.47353 3.61291 5.30192 3.54968 5.16644 3.4142L3.38708 1.63484L1.60773 3.4142C1.34579 3.67613 0.912244 3.67613 0.650309 3.4142C0.388374 3.15226 0.388374 2.71871 0.650309 2.45678L2.90837 0.198712C3.17031 -0.0632236 3.60386 -0.0632236 3.86579 0.198712L6.12386 2.45678C6.38579 2.71871 6.38579 3.15226 6.12386 3.4142C5.98837 3.54968 5.81676 3.61291 5.64515 3.61291Z","fill","currentColor"],["d","M3.38714 14C3.01681 14 2.70972 13.6929 2.70972 13.3226V0.677419C2.70972 0.307097 3.01681 0 3.38714 0C3.75746 0 4.06456 0.307097 4.06456 0.677419V13.3226C4.06456 13.6929 3.75746 14 3.38714 14Z","fill","currentColor"],["d","M10.6129 14C10.4413 14 10.2697 13.9368 10.1342 13.8013L7.87611 11.5432C7.61418 11.2813 7.61418 10.8477 7.87611 10.5858C8.13805 10.3239 8.5716 10.3239 8.83353 10.5858L10.6129 12.3652L12.3922 10.5858C12.6542 10.3239 13.0877 10.3239 13.3497 10.5858C13.6116 10.8477 13.6116 11.2813 13.3497 11.5432L11.0916 13.8013C10.9561 13.9368 10.7845 14 10.6129 14Z","fill","currentColor"],["d","M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z","fill","currentColor"],["id","clip0_378_15529"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5),re(),ne(6,"defs")(7,"clipPath",6),Re(8,"rect",7),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),Bee=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["SortAmountDownIcon"]],standalone:!0,features:[Ft,Wn],decls:11,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_378_15544)"],["d","M2.59836 13.2009C2.44634 13.2009 2.29432 13.1449 2.1743 13.0248L0.174024 11.0246C-0.0580081 10.7925 -0.0580081 10.4085 0.174024 10.1764C0.406057 9.94441 0.79011 9.94441 1.02214 10.1764L2.59836 11.7527L4.17458 10.1764C4.40662 9.94441 4.79067 9.94441 5.0227 10.1764C5.25473 10.4085 5.25473 10.7925 5.0227 11.0246L3.02242 13.0248C2.90241 13.1449 2.75038 13.2009 2.59836 13.2009Z","fill","currentColor"],["d","M2.59836 13.2009C2.27032 13.2009 1.99833 12.9288 1.99833 12.6008V1.39922C1.99833 1.07117 2.27036 0.799133 2.59841 0.799133C2.92646 0.799133 3.19849 1.07117 3.19849 1.39922V12.6008C3.19849 12.9288 2.92641 13.2009 2.59836 13.2009Z","fill","currentColor"],["d","M13.3999 11.2006H6.99902C6.67098 11.2006 6.39894 10.9285 6.39894 10.6005C6.39894 10.2725 6.67098 10.0004 6.99902 10.0004H13.3999C13.728 10.0004 14 10.2725 14 10.6005C14 10.9285 13.728 11.2006 13.3999 11.2006Z","fill","currentColor"],["d","M10.1995 6.39991H6.99902C6.67098 6.39991 6.39894 6.12788 6.39894 5.79983C6.39894 5.47179 6.67098 5.19975 6.99902 5.19975H10.1995C10.5275 5.19975 10.7996 5.47179 10.7996 5.79983C10.7996 6.12788 10.5275 6.39991 10.1995 6.39991Z","fill","currentColor"],["d","M8.59925 3.99958H6.99902C6.67098 3.99958 6.39894 3.72754 6.39894 3.3995C6.39894 3.07145 6.67098 2.79941 6.99902 2.79941H8.59925C8.92729 2.79941 9.19933 3.07145 9.19933 3.3995C9.19933 3.72754 8.92729 3.99958 8.59925 3.99958Z","fill","currentColor"],["d","M11.7997 8.80025H6.99902C6.67098 8.80025 6.39894 8.52821 6.39894 8.20017C6.39894 7.87212 6.67098 7.60008 6.99902 7.60008H11.7997C12.1277 7.60008 12.3998 7.87212 12.3998 8.20017C12.3998 8.52821 12.1277 8.80025 11.7997 8.80025Z","fill","currentColor"],["id","clip0_378_15544"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),re(),ne(8,"defs")(9,"clipPath",8),Re(10,"rect",9),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),jee=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["SortAmountUpAltIcon"]],standalone:!0,features:[Ft,Wn],decls:11,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_378_15578)"],["d","M4.59864 3.99958C4.44662 3.99958 4.2946 3.94357 4.17458 3.82356L2.59836 2.24734L1.02214 3.82356C0.79011 4.05559 0.406057 4.05559 0.174024 3.82356C-0.0580081 3.59152 -0.0580081 3.20747 0.174024 2.97544L2.1743 0.97516C2.40634 0.743127 2.79039 0.743127 3.02242 0.97516L5.0227 2.97544C5.25473 3.20747 5.25473 3.59152 5.0227 3.82356C4.90268 3.94357 4.75066 3.99958 4.59864 3.99958Z","fill","currentColor"],["d","M2.59841 13.2009C2.27036 13.2009 1.99833 12.9288 1.99833 12.6008V1.39922C1.99833 1.07117 2.27036 0.799133 2.59841 0.799133C2.92646 0.799133 3.19849 1.07117 3.19849 1.39922V12.6008C3.19849 12.9288 2.92646 13.2009 2.59841 13.2009Z","fill","currentColor"],["d","M13.3999 11.2006H6.99902C6.67098 11.2006 6.39894 10.9285 6.39894 10.6005C6.39894 10.2725 6.67098 10.0004 6.99902 10.0004H13.3999C13.728 10.0004 14 10.2725 14 10.6005C14 10.9285 13.728 11.2006 13.3999 11.2006Z","fill","currentColor"],["d","M10.1995 6.39991H6.99902C6.67098 6.39991 6.39894 6.12788 6.39894 5.79983C6.39894 5.47179 6.67098 5.19975 6.99902 5.19975H10.1995C10.5275 5.19975 10.7996 5.47179 10.7996 5.79983C10.7996 6.12788 10.5275 6.39991 10.1995 6.39991Z","fill","currentColor"],["d","M8.59925 3.99958H6.99902C6.67098 3.99958 6.39894 3.72754 6.39894 3.3995C6.39894 3.07145 6.67098 2.79941 6.99902 2.79941H8.59925C8.92729 2.79941 9.19933 3.07145 9.19933 3.3995C9.19933 3.72754 8.92729 3.99958 8.59925 3.99958Z","fill","currentColor"],["d","M11.7997 8.80025H6.99902C6.67098 8.80025 6.39894 8.52821 6.39894 8.20017C6.39894 7.87212 6.67098 7.60008 6.99902 7.60008H11.7997C12.1277 7.60008 12.3998 7.87212 12.3998 8.20017C12.3998 8.52821 12.1277 8.80025 11.7997 8.80025Z","fill","currentColor"],["id","clip0_378_15578"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2)(3,"path",3)(4,"path",4)(5,"path",5)(6,"path",6)(7,"path",7),re(),ne(8,"defs")(9,"clipPath",8),Re(10,"rect",9),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),nF=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["AngleDownIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M3.58659 4.5007C3.68513 4.50023 3.78277 4.51945 3.87379 4.55723C3.9648 4.59501 4.04735 4.65058 4.11659 4.7207L7.11659 7.7207L10.1166 4.7207C10.2619 4.65055 10.4259 4.62911 10.5843 4.65956C10.7427 4.69002 10.8871 4.77074 10.996 4.88976C11.1049 5.00877 11.1726 5.15973 11.1889 5.32022C11.2052 5.48072 11.1693 5.6422 11.0866 5.7807L7.58659 9.2807C7.44597 9.42115 7.25534 9.50004 7.05659 9.50004C6.85784 9.50004 6.66722 9.42115 6.52659 9.2807L3.02659 5.7807C2.88614 5.64007 2.80725 5.44945 2.80725 5.2507C2.80725 5.05195 2.88614 4.86132 3.02659 4.7207C3.09932 4.64685 3.18675 4.58911 3.28322 4.55121C3.37969 4.51331 3.48305 4.4961 3.58659 4.5007Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),iF=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["AngleUpIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M10.4134 9.49931C10.3148 9.49977 10.2172 9.48055 10.1262 9.44278C10.0352 9.405 9.95263 9.34942 9.88338 9.27931L6.88338 6.27931L3.88338 9.27931C3.73811 9.34946 3.57409 9.3709 3.41567 9.34044C3.25724 9.30999 3.11286 9.22926 3.00395 9.11025C2.89504 8.99124 2.82741 8.84028 2.8111 8.67978C2.79478 8.51928 2.83065 8.35781 2.91338 8.21931L6.41338 4.71931C6.55401 4.57886 6.74463 4.49997 6.94338 4.49997C7.14213 4.49997 7.33276 4.57886 7.47338 4.71931L10.9734 8.21931C11.1138 8.35994 11.1927 8.55056 11.1927 8.74931C11.1927 8.94806 11.1138 9.13868 10.9734 9.27931C10.9007 9.35315 10.8132 9.41089 10.7168 9.44879C10.6203 9.48669 10.5169 9.5039 10.4134 9.49931Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),oF=(()=>{class t{constructor(e,i,s){this.el=e,this.ngModel=i,this.cd=s}ngAfterViewInit(){this.updateFilledState(),this.cd.detectChanges(),Gi.check()}ngDoCheck(){this.updateFilledState()}onInput(e){this.updateFilledState()}updateFilledState(){this.filled=this.el.nativeElement.value&&this.el.nativeElement.value.length||this.ngModel&&this.ngModel.model}}return t.\u0275fac=function(e){return new(e||t)(Ce(An),Ce(sc,8),Ce(Mi))},t.\u0275dir=Xe({type:t,selectors:[["","pInputText",""]],hostAttrs:[1,"p-inputtext","p-component","p-element"],hostVars:2,hostBindings:function(e,i){1&e&&We("input",function(l){return i.onInput(l)}),2&e&&Wi("p-filled",i.filled)}}),t})(),KT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi]}),t})();const zee=["input"];function Vee(t,o){if(1&t){const e=wt();ne(0,"TimesIcon",8),We("click",function(){return Pe(e),Oe(X(2).clear())}),re()}2&t&&H("ngClass","p-inputnumber-clear-icon")}function Hee(t,o){}function Yee(t,o){1&t&&J(0,Hee,0,0,"ng-template")}function Uee(t,o){if(1&t){const e=wt();ne(0,"span",9),We("click",function(){return Pe(e),Oe(X(2).clear())}),J(1,Yee,1,0,null,10),re()}if(2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.clearIconTemplate)}}function Wee(t,o){if(1&t&&(vt(0),J(1,Vee,1,1,"TimesIcon",6),J(2,Uee,2,1,"span",7),kt()),2&t){const e=X();G(1),H("ngIf",!e.clearIconTemplate),G(1),H("ngIf",e.clearIconTemplate)}}function $ee(t,o){1&t&&Re(0,"span",14),2&t&&H("ngClass",X(2).incrementButtonIcon)}function qee(t,o){1&t&&Re(0,"AngleUpIcon")}function Gee(t,o){}function Kee(t,o){1&t&&J(0,Gee,0,0,"ng-template")}function Zee(t,o){if(1&t&&(vt(0),J(1,qee,1,0,"AngleUpIcon",3),J(2,Kee,1,0,null,10),kt()),2&t){const e=X(2);G(1),H("ngIf",!e.incrementButtonIconTemplate),G(1),H("ngTemplateOutlet",e.incrementButtonIconTemplate)}}function Qee(t,o){1&t&&Re(0,"span",14),2&t&&H("ngClass",X(2).decrementButtonIcon)}function Jee(t,o){1&t&&Re(0,"AngleDownIcon")}function Xee(t,o){}function ete(t,o){1&t&&J(0,Xee,0,0,"ng-template")}function tte(t,o){if(1&t&&(vt(0),J(1,Jee,1,0,"AngleDownIcon",3),J(2,ete,1,0,null,10),kt()),2&t){const e=X(2);G(1),H("ngIf",!e.decrementButtonIconTemplate),G(1),H("ngTemplateOutlet",e.decrementButtonIconTemplate)}}const rF=function(){return{"p-inputnumber-button p-inputnumber-button-up":!0}},sF=function(){return{"p-inputnumber-button p-inputnumber-button-down":!0}};function nte(t,o){if(1&t){const e=wt();ne(0,"span",11)(1,"button",12),We("mousedown",function(s){return Pe(e),Oe(X().onUpButtonMouseDown(s))})("mouseup",function(){return Pe(e),Oe(X().onUpButtonMouseUp())})("mouseleave",function(){return Pe(e),Oe(X().onUpButtonMouseLeave())})("keydown",function(s){return Pe(e),Oe(X().onUpButtonKeyDown(s))})("keyup",function(){return Pe(e),Oe(X().onUpButtonKeyUp())}),J(2,$ee,1,1,"span",13),J(3,Zee,3,2,"ng-container",3),re(),ne(4,"button",12),We("mousedown",function(s){return Pe(e),Oe(X().onDownButtonMouseDown(s))})("mouseup",function(){return Pe(e),Oe(X().onDownButtonMouseUp())})("mouseleave",function(){return Pe(e),Oe(X().onDownButtonMouseLeave())})("keydown",function(s){return Pe(e),Oe(X().onDownButtonKeyDown(s))})("keyup",function(){return Pe(e),Oe(X().onDownButtonKeyUp())}),J(5,Qee,1,1,"span",13),J(6,tte,3,2,"ng-container",3),re()()}if(2&t){const e=X();G(1),Mt(e.incrementButtonClass),H("ngClass",qo(12,rF))("disabled",e.disabled),G(1),H("ngIf",e.incrementButtonIcon),G(1),H("ngIf",!e.incrementButtonIcon),G(1),Mt(e.decrementButtonClass),H("ngClass",qo(13,sF))("disabled",e.disabled),G(1),H("ngIf",e.decrementButtonIcon),G(1),H("ngIf",!e.decrementButtonIcon)}}function ite(t,o){1&t&&Re(0,"span",14),2&t&&H("ngClass",X(2).incrementButtonIcon)}function ote(t,o){1&t&&Re(0,"AngleUpIcon")}function rte(t,o){}function ste(t,o){1&t&&J(0,rte,0,0,"ng-template")}function ate(t,o){if(1&t&&(vt(0),J(1,ote,1,0,"AngleUpIcon",3),J(2,ste,1,0,null,10),kt()),2&t){const e=X(2);G(1),H("ngIf",!e.incrementButtonIconTemplate),G(1),H("ngTemplateOutlet",e.incrementButtonIconTemplate)}}function lte(t,o){if(1&t){const e=wt();ne(0,"button",12),We("mousedown",function(s){return Pe(e),Oe(X().onUpButtonMouseDown(s))})("mouseup",function(){return Pe(e),Oe(X().onUpButtonMouseUp())})("mouseleave",function(){return Pe(e),Oe(X().onUpButtonMouseLeave())})("keydown",function(s){return Pe(e),Oe(X().onUpButtonKeyDown(s))})("keyup",function(){return Pe(e),Oe(X().onUpButtonKeyUp())}),J(1,ite,1,1,"span",13),J(2,ate,3,2,"ng-container",3),re()}if(2&t){const e=X();Mt(e.incrementButtonClass),H("ngClass",qo(6,rF))("disabled",e.disabled),G(1),H("ngIf",e.incrementButtonIcon),G(1),H("ngIf",!e.incrementButtonIcon)}}function cte(t,o){1&t&&Re(0,"span",14),2&t&&H("ngClass",X(2).decrementButtonIcon)}function dte(t,o){1&t&&Re(0,"AngleDownIcon")}function ute(t,o){}function hte(t,o){1&t&&J(0,ute,0,0,"ng-template")}function pte(t,o){if(1&t&&(vt(0),J(1,dte,1,0,"AngleDownIcon",3),J(2,hte,1,0,null,10),kt()),2&t){const e=X(2);G(1),H("ngIf",!e.decrementButtonIconTemplate),G(1),H("ngTemplateOutlet",e.decrementButtonIconTemplate)}}function fte(t,o){if(1&t){const e=wt();ne(0,"button",12),We("mousedown",function(s){return Pe(e),Oe(X().onDownButtonMouseDown(s))})("mouseup",function(){return Pe(e),Oe(X().onDownButtonMouseUp())})("mouseleave",function(){return Pe(e),Oe(X().onDownButtonMouseLeave())})("keydown",function(s){return Pe(e),Oe(X().onDownButtonKeyDown(s))})("keyup",function(){return Pe(e),Oe(X().onDownButtonKeyUp())}),J(1,cte,1,1,"span",13),J(2,pte,3,2,"ng-container",3),re()}if(2&t){const e=X();Mt(e.decrementButtonClass),H("ngClass",qo(6,sF))("disabled",e.disabled),G(1),H("ngIf",e.decrementButtonIcon),G(1),H("ngIf",!e.decrementButtonIcon)}}const mte=function(t,o,e){return{"p-inputnumber p-component":!0,"p-inputnumber-buttons-stacked":t,"p-inputnumber-buttons-horizontal":o,"p-inputnumber-buttons-vertical":e}},gte={provide:qi,useExisting:xt(()=>aF),multi:!0};let aF=(()=>{class t{constructor(e,i,s,l){this.document=e,this.el=i,this.cd=s,this.injector=l,this.showButtons=!1,this.format=!0,this.buttonLayout="stacked",this.readonly=!1,this.step=1,this.allowEmpty=!0,this.mode="decimal",this.useGrouping=!0,this.showClear=!1,this.onInput=new Qe,this.onFocus=new Qe,this.onBlur=new Qe,this.onKeyDown=new Qe,this.onClear=new Qe,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.groupChar="",this.prefixChar="",this.suffixChar="",this.ngControl=null}get disabled(){return this._disabled}set disabled(e){e&&(this.focused=!1),this._disabled=e,this.timer&&this.clearTimer()}ngOnChanges(e){["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","prefix","suffix"].some(s=>!!e[s])&&this.updateConstructParser()}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"clearicon":this.clearIconTemplate=e.template;break;case"incrementbuttonicon":this.incrementButtonIconTemplate=e.template;break;case"decrementbuttonicon":this.decrementButtonIconTemplate=e.template}})}ngOnInit(){this.ngControl=this.injector.get(rc,null,{optional:!0}),this.constructParser(),this.initialized=!0}ngAfterViewInit(){Gi.check()}getOptions(){return{localeMatcher:this.localeMatcher,style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,useGrouping:this.useGrouping,minimumFractionDigits:this.minFractionDigits,maximumFractionDigits:this.maxFractionDigits}}constructParser(){this.numberFormat=new Intl.NumberFormat(this.locale,this.getOptions());const e=[...new Intl.NumberFormat(this.locale,{useGrouping:!1}).format(9876543210)].reverse(),i=new Map(e.map((s,l)=>[s,l]));this._numeral=new RegExp(`[${e.join("")}]`,"g"),this._group=this.getGroupingExpression(),this._minusSign=this.getMinusSignExpression(),this._currency=this.getCurrencyExpression(),this._decimal=this.getDecimalExpression(),this._suffix=this.getSuffixExpression(),this._prefix=this.getPrefixExpression(),this._index=s=>i.get(s)}updateConstructParser(){this.initialized&&this.constructParser()}escapeRegExp(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}getDecimalExpression(){const e=new Intl.NumberFormat(this.locale,{...this.getOptions(),useGrouping:!1});return new RegExp(`[${e.format(1.1).replace(this._currency,"").trim().replace(this._numeral,"")}]`,"g")}getGroupingExpression(){const e=new Intl.NumberFormat(this.locale,{useGrouping:!0});return this.groupChar=e.format(1e6).trim().replace(this._numeral,"").charAt(0),new RegExp(`[${this.groupChar}]`,"g")}getMinusSignExpression(){const e=new Intl.NumberFormat(this.locale,{useGrouping:!1});return new RegExp(`[${e.format(-1).trim().replace(this._numeral,"")}]`,"g")}getCurrencyExpression(){if(this.currency){const e=new Intl.NumberFormat(this.locale,{style:"currency",currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});return new RegExp(`[${e.format(1).replace(/\s/g,"").replace(this._numeral,"").replace(this._group,"")}]`,"g")}return new RegExp("[]","g")}getPrefixExpression(){if(this.prefix)this.prefixChar=this.prefix;else{const e=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay});this.prefixChar=e.format(1).split("1")[0]}return new RegExp(`${this.escapeRegExp(this.prefixChar||"")}`,"g")}getSuffixExpression(){if(this.suffix)this.suffixChar=this.suffix;else{const e=new Intl.NumberFormat(this.locale,{style:this.mode,currency:this.currency,currencyDisplay:this.currencyDisplay,minimumFractionDigits:0,maximumFractionDigits:0});this.suffixChar=e.format(1).split("1")[1]}return new RegExp(`${this.escapeRegExp(this.suffixChar||"")}`,"g")}formatValue(e){if(null!=e){if("-"===e)return e;if(this.format){let s=new Intl.NumberFormat(this.locale,this.getOptions()).format(e);return this.prefix&&(s=this.prefix+s),this.suffix&&(s+=this.suffix),s}return e.toString()}return""}parseValue(e){let i=e.replace(this._suffix,"").replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").replace(this._group,"").replace(this._minusSign,"-").replace(this._decimal,".").replace(this._numeral,this._index);if(i){if("-"===i)return i;let s=+i;return isNaN(s)?null:s}return null}repeat(e,i,s){if(this.readonly)return;let l=i||500;this.clearTimer(),this.timer=setTimeout(()=>{this.repeat(e,40,s)},l),this.spin(e,s)}spin(e,i){let s=this.step*i,l=this.parseValue(this.input.nativeElement.value)||0,h=this.validateValue(l+s);this.maxlength&&this.maxlength<this.formatValue(h).length||(this.updateInput(h,null,"spin",null),this.updateModel(e,h),this.handleOnInput(e,l,h))}clear(){this.value=null,this.onModelChange(this.value),this.onClear.emit()}onUpButtonMouseDown(e){2!==e.button?(this.input.nativeElement.focus(),this.repeat(e,null,1),e.preventDefault()):this.clearTimer()}onUpButtonMouseUp(){this.clearTimer()}onUpButtonMouseLeave(){this.clearTimer()}onUpButtonKeyDown(e){(32===e.keyCode||13===e.keyCode)&&this.repeat(e,null,1)}onUpButtonKeyUp(){this.clearTimer()}onDownButtonMouseDown(e){2!==e.button?(this.input.nativeElement.focus(),this.repeat(e,null,-1),e.preventDefault()):this.clearTimer()}onDownButtonMouseUp(){this.clearTimer()}onDownButtonMouseLeave(){this.clearTimer()}onDownButtonKeyUp(){this.clearTimer()}onDownButtonKeyDown(e){(32===e.keyCode||13===e.keyCode)&&this.repeat(e,null,-1)}onUserInput(e){this.readonly||(this.isSpecialChar&&(e.target.value=this.lastValue),this.isSpecialChar=!1)}onInputKeyDown(e){if(this.readonly)return;if(this.lastValue=e.target.value,e.shiftKey||e.altKey)return void(this.isSpecialChar=!0);let i=e.target.selectionStart,s=e.target.selectionEnd,l=e.target.value,h=null;switch(e.altKey&&e.preventDefault(),e.which){case 38:this.spin(e,1),e.preventDefault();break;case 40:this.spin(e,-1),e.preventDefault();break;case 37:this.isNumeralChar(l.charAt(i-1))||e.preventDefault();break;case 39:this.isNumeralChar(l.charAt(i))||e.preventDefault();break;case 13:h=this.validateValue(this.parseValue(this.input.nativeElement.value)),this.input.nativeElement.value=this.formatValue(h),this.input.nativeElement.setAttribute("aria-valuenow",h),this.updateModel(e,h);break;case 8:if(e.preventDefault(),i===s){const m=l.charAt(i-1),{decimalCharIndex:_,decimalCharIndexWithoutPrefix:w}=this.getDecimalCharIndexes(l);if(this.isNumeralChar(m)){const N=this.getDecimalLength(l);if(this._group.test(m))this._group.lastIndex=0,h=l.slice(0,i-2)+l.slice(i-1);else if(this._decimal.test(m))this._decimal.lastIndex=0,N?this.input.nativeElement.setSelectionRange(i-1,i-1):h=l.slice(0,i-1)+l.slice(i);else if(_>0&&i>_){const $=this.isDecimalMode()&&(this.minFractionDigits||0)<N?"":"0";h=l.slice(0,i-1)+$+l.slice(i)}else 1===w?(h=l.slice(0,i-1)+"0"+l.slice(i),h=this.parseValue(h)>0?h:""):h=l.slice(0,i-1)+l.slice(i)}this.updateValue(e,h,null,"delete-single")}else h=this.deleteRange(l,i,s),this.updateValue(e,h,null,"delete-range");break;case 46:if(e.preventDefault(),i===s){const m=l.charAt(i),{decimalCharIndex:_,decimalCharIndexWithoutPrefix:w}=this.getDecimalCharIndexes(l);if(this.isNumeralChar(m)){const N=this.getDecimalLength(l);if(this._group.test(m))this._group.lastIndex=0,h=l.slice(0,i)+l.slice(i+2);else if(this._decimal.test(m))this._decimal.lastIndex=0,N?this.input.nativeElement.setSelectionRange(i+1,i+1):h=l.slice(0,i)+l.slice(i+1);else if(_>0&&i>_){const $=this.isDecimalMode()&&(this.minFractionDigits||0)<N?"":"0";h=l.slice(0,i)+$+l.slice(i+1)}else 1===w?(h=l.slice(0,i)+"0"+l.slice(i+1),h=this.parseValue(h)>0?h:""):h=l.slice(0,i)+l.slice(i+1)}this.updateValue(e,h,null,"delete-back-single")}else h=this.deleteRange(l,i,s),this.updateValue(e,h,null,"delete-range")}this.onKeyDown.emit(e)}onInputKeyPress(e){if(this.readonly)return;let i=e.which||e.keyCode,s=String.fromCharCode(i);const l=this.isDecimalSign(s),h=this.isMinusSign(s);13!=i&&e.preventDefault(),(48<=i&&i<=57||h||l)&&this.insert(e,s,{isDecimalSign:l,isMinusSign:h})}onPaste(e){if(!this.disabled&&!this.readonly){e.preventDefault();let i=(e.clipboardData||this.document.defaultView.clipboardData).getData("Text");if(i){let s=this.parseValue(i);null!=s&&this.insert(e,s.toString())}}}allowMinusSign(){return null==this.min||this.min<0}isMinusSign(e){return!(!this._minusSign.test(e)&&"-"!==e||(this._minusSign.lastIndex=0,0))}isDecimalSign(e){return!!this._decimal.test(e)&&(this._decimal.lastIndex=0,!0)}isDecimalMode(){return"decimal"===this.mode}getDecimalCharIndexes(e){let i=e.search(this._decimal);this._decimal.lastIndex=0;const l=e.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:i,decimalCharIndexWithoutPrefix:l}}getCharIndexes(e){const i=e.search(this._decimal);this._decimal.lastIndex=0;const s=e.search(this._minusSign);this._minusSign.lastIndex=0;const l=e.search(this._suffix);this._suffix.lastIndex=0;const h=e.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:i,minusCharIndex:s,suffixCharIndex:l,currencyCharIndex:h}}insert(e,i,s={isDecimalSign:!1,isMinusSign:!1}){const l=i.search(this._minusSign);if(this._minusSign.lastIndex=0,!this.allowMinusSign()&&-1!==l)return;let h=this.input.nativeElement.selectionStart,m=this.input.nativeElement.selectionEnd,_=this.input.nativeElement.value.trim();const{decimalCharIndex:w,minusCharIndex:N,suffixCharIndex:$,currencyCharIndex:oe}=this.getCharIndexes(_);let le;if(s.isMinusSign)0===h&&(le=_,(-1===N||0!==m)&&(le=this.insertText(_,i,0,m)),this.updateValue(e,le,i,"insert"));else if(s.isDecimalSign)w>0&&h===w?this.updateValue(e,_,i,"insert"):(w>h&&w<m||-1===w&&this.maxFractionDigits)&&(le=this.insertText(_,i,h,m),this.updateValue(e,le,i,"insert"));else{const ve=this.numberFormat.resolvedOptions().maximumFractionDigits,we=h!==m?"range-insert":"insert";if(w>0&&h>w){if(h+i.length-(w+1)<=ve){const xe=oe>=h?oe-1:$>=h?$:_.length;le=_.slice(0,h)+i+_.slice(h+i.length,xe)+_.slice(xe),this.updateValue(e,le,i,we)}}else le=this.insertText(_,i,h,m),this.updateValue(e,le,i,we)}}insertText(e,i,s,l){if(2===("."===i?i:i.split(".")).length){const m=e.slice(s,l).search(this._decimal);return this._decimal.lastIndex=0,m>0?e.slice(0,s)+this.formatValue(i)+e.slice(l):e||this.formatValue(i)}return l-s===e.length?this.formatValue(i):0===s?i+e.slice(l):l===e.length?e.slice(0,s)+i:e.slice(0,s)+i+e.slice(l)}deleteRange(e,i,s){let l;return l=s-i===e.length?"":0===i?e.slice(s):s===e.length?e.slice(0,i):e.slice(0,i)+e.slice(s),l}initCursor(){let e=this.input.nativeElement.selectionStart,i=this.input.nativeElement.value,s=i.length,l=null,h=(this.prefixChar||"").length;i=i.replace(this._prefix,""),e-=h;let m=i.charAt(e);if(this.isNumeralChar(m))return e+h;let _=e-1;for(;_>=0;){if(m=i.charAt(_),this.isNumeralChar(m)){l=_+h;break}_--}if(null!==l)this.input.nativeElement.setSelectionRange(l+1,l+1);else{for(_=e;_<s;){if(m=i.charAt(_),this.isNumeralChar(m)){l=_+h;break}_++}null!==l&&this.input.nativeElement.setSelectionRange(l,l)}return l||0}onInputClick(){!this.readonly&&this.input.nativeElement.value!==Le.getSelection()&&this.initCursor()}isNumeralChar(e){return!(1!==e.length||!(this._numeral.test(e)||this._decimal.test(e)||this._group.test(e)||this._minusSign.test(e))||(this.resetRegex(),0))}resetRegex(){this._numeral.lastIndex=0,this._decimal.lastIndex=0,this._group.lastIndex=0,this._minusSign.lastIndex=0}updateValue(e,i,s,l){let h=this.input.nativeElement.value,m=null;null!=i&&(m=this.parseValue(i),m=m||this.allowEmpty?m:0,this.updateInput(m,s,l,i),this.handleOnInput(e,h,m))}handleOnInput(e,i,s){this.isValueChanged(i,s)&&(this.input.nativeElement.value=this.formatValue(s),this.input.nativeElement.setAttribute("aria-valuenow",s),this.updateModel(e,s),this.onInput.emit({originalEvent:e,value:s,formattedValue:i}))}isValueChanged(e,i){return null===i&&null!==e||null!=i&&i!==("string"==typeof e?this.parseValue(e):e)}validateValue(e){return"-"===e||null==e?null:null!=this.min&&e<this.min?this.min:null!=this.max&&e>this.max?this.max:e}updateInput(e,i,s,l){i=i||"";let h=this.input.nativeElement.value,m=this.formatValue(e),_=h.length;if(m!==l&&(m=this.concatValues(m,l)),0===_){this.input.nativeElement.value=m,this.input.nativeElement.setSelectionRange(0,0);const N=this.initCursor()+i.length;this.input.nativeElement.setSelectionRange(N,N)}else{let w=this.input.nativeElement.selectionStart,N=this.input.nativeElement.selectionEnd;if(this.maxlength&&this.maxlength<m.length)return;this.input.nativeElement.value=m;let $=m.length;if("range-insert"===s){const oe=this.parseValue((h||"").slice(0,w)),ve=(null!==oe?oe.toString():"").split("").join(`(${this.groupChar})?`),we=new RegExp(ve,"g");we.test(m);const xe=i.split("").join(`(${this.groupChar})?`),Ye=new RegExp(xe,"g");Ye.test(m.slice(we.lastIndex)),N=we.lastIndex+Ye.lastIndex,this.input.nativeElement.setSelectionRange(N,N)}else if($===_)"insert"===s||"delete-back-single"===s?this.input.nativeElement.setSelectionRange(N+1,N+1):"delete-single"===s?this.input.nativeElement.setSelectionRange(N-1,N-1):("delete-range"===s||"spin"===s)&&this.input.nativeElement.setSelectionRange(N,N);else if("delete-back-single"===s){let oe=h.charAt(N-1),le=h.charAt(N),ve=_-$,we=this._group.test(le);we&&1===ve?N+=1:!we&&this.isNumeralChar(oe)&&(N+=-1*ve+1),this._group.lastIndex=0,this.input.nativeElement.setSelectionRange(N,N)}else if("-"===h&&"insert"===s){this.input.nativeElement.setSelectionRange(0,0);const le=this.initCursor()+i.length+1;this.input.nativeElement.setSelectionRange(le,le)}else N+=$-_,this.input.nativeElement.setSelectionRange(N,N)}this.input.nativeElement.setAttribute("aria-valuenow",e)}concatValues(e,i){if(e&&i){let s=i.search(this._decimal);return this._decimal.lastIndex=0,this.suffixChar?e.replace(this.suffixChar,"").split(this._decimal)[0]+i.replace(this.suffixChar,"").slice(s)+this.suffixChar:-1!==s?e.split(this._decimal)[0]+i.slice(s):e}return e}getDecimalLength(e){if(e){const i=e.split(this._decimal);if(2===i.length)return i[1].replace(this._suffix,"").trim().replace(/\s/g,"").replace(this._currency,"").length}return 0}onInputFocus(e){this.focused=!0,this.onFocus.emit(e)}onInputBlur(e){this.focused=!1;let i=this.validateValue(this.parseValue(this.input.nativeElement.value));this.input.nativeElement.value=this.formatValue(i),this.input.nativeElement.setAttribute("aria-valuenow",i),this.updateModel(e,i),this.onBlur.emit(e)}formattedValue(){return this.formatValue(this.value||this.allowEmpty?this.value:0)}updateModel(e,i){const s="blur"===this.ngControl?.control?.updateOn;this.value!==i?(this.value=i,s&&this.focused||this.onModelChange(i)):s&&this.onModelChange(i),this.onModelTouched()}writeValue(e){this.value=e,this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}get filled(){return null!=this.value&&this.value.toString().length>0}clearTimer(){this.timer&&clearInterval(this.timer)}getFormatter(){return this.numberFormat}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hn),Ce(An),Ce(Mi),Ce(nr))},t.\u0275cmp=Ct({type:t,selectors:[["p-inputNumber"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},viewQuery:function(e,i){if(1&e&&Pn(zee,5),2&e){let s;zt(s=jt())&&(i.input=s.first)}},hostAttrs:[1,"p-element","p-inputwrapper"],hostVars:6,hostBindings:function(e,i){2&e&&Wi("p-inputwrapper-filled",i.filled)("p-inputwrapper-focus",i.focused)("p-inputnumber-clearable",i.showClear&&"vertical"!=i.buttonLayout)},inputs:{showButtons:"showButtons",format:"format",buttonLayout:"buttonLayout",inputId:"inputId",styleClass:"styleClass",style:"style",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",name:"name",required:"required",autocomplete:"autocomplete",min:"min",max:"max",incrementButtonClass:"incrementButtonClass",decrementButtonClass:"decrementButtonClass",incrementButtonIcon:"incrementButtonIcon",decrementButtonIcon:"decrementButtonIcon",readonly:"readonly",step:"step",allowEmpty:"allowEmpty",locale:"locale",localeMatcher:"localeMatcher",mode:"mode",currency:"currency",currencyDisplay:"currencyDisplay",useGrouping:"useGrouping",minFractionDigits:"minFractionDigits",maxFractionDigits:"maxFractionDigits",prefix:"prefix",suffix:"suffix",inputStyle:"inputStyle",inputStyleClass:"inputStyleClass",showClear:"showClear",disabled:"disabled"},outputs:{onInput:"onInput",onFocus:"onFocus",onBlur:"onBlur",onKeyDown:"onKeyDown",onClear:"onClear"},features:[Pt([gte]),fn],decls:7,vars:32,consts:[[3,"ngClass","ngStyle"],["pInputText","","inputmode","decimal",3,"ngClass","ngStyle","value","disabled","readonly","input","keydown","keypress","paste","click","focus","blur"],["input",""],[4,"ngIf"],["class","p-inputnumber-button-group",4,"ngIf"],["type","button","pButton","","class","p-button-icon-only","tabindex","-1",3,"ngClass","class","disabled","mousedown","mouseup","mouseleave","keydown","keyup",4,"ngIf"],[3,"ngClass","click",4,"ngIf"],["class","p-inputnumber-clear-icon",3,"click",4,"ngIf"],[3,"ngClass","click"],[1,"p-inputnumber-clear-icon",3,"click"],[4,"ngTemplateOutlet"],[1,"p-inputnumber-button-group"],["type","button","pButton","","tabindex","-1",1,"p-button-icon-only",3,"ngClass","disabled","mousedown","mouseup","mouseleave","keydown","keyup"],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(e,i){1&e&&(ne(0,"span",0)(1,"input",1,2),We("input",function(l){return i.onUserInput(l)})("keydown",function(l){return i.onInputKeyDown(l)})("keypress",function(l){return i.onInputKeyPress(l)})("paste",function(l){return i.onPaste(l)})("click",function(){return i.onInputClick()})("focus",function(l){return i.onInputFocus(l)})("blur",function(l){return i.onInputBlur(l)}),re(),J(3,Wee,3,2,"ng-container",3),J(4,nte,7,14,"span",4),J(5,lte,3,7,"button",5),J(6,fte,3,7,"button",5),re()),2&e&&(Mt(i.styleClass),H("ngClass",Tr(28,mte,i.showButtons&&"stacked"===i.buttonLayout,i.showButtons&&"horizontal"===i.buttonLayout,i.showButtons&&"vertical"===i.buttonLayout))("ngStyle",i.style),G(1),Mt(i.inputStyleClass),H("ngClass","p-inputnumber-input")("ngStyle",i.inputStyle)("value",i.formattedValue())("disabled",i.disabled)("readonly",i.readonly),mt("placeholder",i.placeholder)("title",i.title)("id",i.inputId)("size",i.size)("name",i.name)("autocomplete",i.autocomplete)("maxlength",i.maxlength)("tabindex",i.tabindex)("aria-label",i.ariaLabel)("aria-required",i.ariaRequired)("required",i.required)("min",i.min)("max",i.max),G(2),H("ngIf","vertical"!=i.buttonLayout&&i.showClear&&(i.value||0===i.value)),G(1),H("ngIf",i.showButtons&&"stacked"===i.buttonLayout),G(1),H("ngIf",i.showButtons&&"stacked"!==i.buttonLayout),G(1),H("ngIf",i.showButtons&&"stacked"!==i.buttonLayout))},dependencies:function(){return[ao,Ei,Xi,Mo,oF,Mb,Jr,iF,nF]},styles:["p-inputnumber,.p-inputnumber{display:inline-flex}.p-inputnumber-button{display:flex;align-items:center;justify-content:center;flex:0 0 auto}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label{display:none}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up{border-top-left-radius:0;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-input{border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:0;padding:0}.p-inputnumber-buttons-stacked .p-inputnumber-button-group{display:flex;flex-direction:column}.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button{flex:1 1 auto}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up{order:3;border-top-left-radius:0;border-bottom-left-radius:0}.p-inputnumber-buttons-horizontal .p-inputnumber-input{order:2;border-radius:0}.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down{order:1;border-top-right-radius:0;border-bottom-right-radius:0}.p-inputnumber-buttons-vertical{flex-direction:column}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up{order:1;border-bottom-left-radius:0;border-bottom-right-radius:0;width:100%}.p-inputnumber-buttons-vertical .p-inputnumber-input{order:2;border-radius:0;text-align:center}.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down{order:3;border-top-left-radius:0;border-top-right-radius:0;width:100%}.p-inputnumber-input{flex:1 1 auto}.p-fluid p-inputnumber,.p-fluid .p-inputnumber{width:100%}.p-fluid .p-inputnumber .p-inputnumber-input{width:1%}.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input{width:100%}.p-inputnumber-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-inputnumber-clearable{position:relative}\n"],encapsulation:2,changeDetection:0}),t})(),J5=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,KT,Db,Jr,iF,nF,Ki]}),t})(),lF=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["AngleDoubleLeftIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),cF=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["AngleDoubleRightIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M7.68757 11.1451C7.7791 11.1831 7.8773 11.2024 7.9764 11.2019C8.07769 11.1985 8.17721 11.1745 8.26886 11.1312C8.36052 11.088 8.44238 11.0265 8.50943 10.9505L12.0294 7.49085C12.1707 7.34942 12.25 7.15771 12.25 6.95782C12.25 6.75794 12.1707 6.56622 12.0294 6.42479L8.50943 2.90479C8.37014 2.82159 8.20774 2.78551 8.04633 2.80192C7.88491 2.81833 7.73309 2.88635 7.6134 2.99588C7.4937 3.10541 7.41252 3.25061 7.38189 3.40994C7.35126 3.56927 7.37282 3.73423 7.44337 3.88033L10.4605 6.89748L7.44337 9.91463C7.30212 10.0561 7.22278 10.2478 7.22278 10.4477C7.22278 10.6475 7.30212 10.8393 7.44337 10.9807C7.51301 11.0512 7.59603 11.1071 7.68757 11.1451ZM1.94207 10.9505C2.07037 11.0968 2.25089 11.1871 2.44493 11.2019C2.63898 11.1871 2.81949 11.0968 2.94779 10.9505L6.46779 7.49085C6.60905 7.34942 6.68839 7.15771 6.68839 6.95782C6.68839 6.75793 6.60905 6.56622 6.46779 6.42479L2.94779 2.90479C2.80704 2.83757 2.6489 2.81563 2.49517 2.84201C2.34143 2.86839 2.19965 2.94178 2.08936 3.05207C1.97906 3.16237 1.90567 3.30415 1.8793 3.45788C1.85292 3.61162 1.87485 3.76975 1.94207 3.9105L4.95922 6.92765L1.94207 9.9448C1.81838 10.0831 1.75 10.2621 1.75 10.4477C1.75 10.6332 1.81838 10.8122 1.94207 10.9505Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),dF=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["AngleLeftIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.75 11.185C8.65146 11.1854 8.55381 11.1662 8.4628 11.1284C8.37179 11.0906 8.28924 11.0351 8.22 10.965L4.72 7.46496C4.57955 7.32433 4.50066 7.13371 4.50066 6.93496C4.50066 6.73621 4.57955 6.54558 4.72 6.40496L8.22 2.93496C8.36095 2.84357 8.52851 2.80215 8.69582 2.81733C8.86312 2.83252 9.02048 2.90344 9.14268 3.01872C9.26487 3.134 9.34483 3.28696 9.36973 3.4531C9.39463 3.61924 9.36303 3.78892 9.28 3.93496L6.28 6.93496L9.28 9.93496C9.42045 10.0756 9.49934 10.2662 9.49934 10.465C9.49934 10.6637 9.42045 10.8543 9.28 10.995C9.13526 11.1257 8.9448 11.1939 8.75 11.185Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),uF=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["AngleRightIcon"]],standalone:!0,features:[Ft,Wn],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z","fill","currentColor"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0),Re(1,"path",1),re()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})();function _te(t,o){1&t&&Et(0)}const X5=function(t){return{$implicit:t}};function bte(t,o){if(1&t&&(ne(0,"div",15),J(1,_te,1,0,"ng-container",16),re()),2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.templateLeft)("ngTemplateOutletContext",gn(2,X5,e.paginatorState))}}function vte(t,o){if(1&t&&(ne(0,"span",17),ze(1),re()),2&t){const e=X(2);G(1),nn(e.currentPageReport)}}function yte(t,o){1&t&&Re(0,"AngleDoubleLeftIcon",19),2&t&&H("styleClass","p-paginator-icon")}function kte(t,o){}function wte(t,o){1&t&&J(0,kte,0,0,"ng-template")}function Cte(t,o){if(1&t&&(ne(0,"span",20),J(1,wte,1,0,null,21),re()),2&t){const e=X(3);G(1),H("ngTemplateOutlet",e.firstPageLinkIconTemplate)}}const ZT=function(t){return{"p-disabled":t}};function Ate(t,o){if(1&t){const e=wt();ne(0,"button",18),We("click",function(s){return Pe(e),Oe(X(2).changePageToFirst(s))}),J(1,yte,1,1,"AngleDoubleLeftIcon",6),J(2,Cte,2,1,"span",7),re()}if(2&t){const e=X(2);H("disabled",e.isFirstPage()||e.empty())("ngClass",gn(4,ZT,e.isFirstPage()||e.empty())),G(1),H("ngIf",!e.firstPageLinkIconTemplate),G(1),H("ngIf",e.firstPageLinkIconTemplate)}}function Mte(t,o){1&t&&Re(0,"AngleLeftIcon",19),2&t&&H("styleClass","p-paginator-icon")}function Dte(t,o){}function Tte(t,o){1&t&&J(0,Dte,0,0,"ng-template")}function xte(t,o){if(1&t&&(ne(0,"span",20),J(1,Tte,1,0,null,21),re()),2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.previousPageLinkIconTemplate)}}const Ete=function(t){return{"p-highlight":t}};function Ste(t,o){if(1&t){const e=wt();ne(0,"button",24),We("click",function(s){const h=Pe(e).$implicit;return Oe(X(3).onPageLinkClick(s,h-1))}),ze(1),re()}if(2&t){const e=o.$implicit,i=X(3);H("ngClass",gn(2,Ete,e-1==i.getPage())),G(1),rr(" ",e," ")}}function Ite(t,o){if(1&t&&(ne(0,"span",22),J(1,Ste,2,4,"button",23),re()),2&t){const e=X(2);G(1),H("ngForOf",e.pageLinks)}}function Lte(t,o){1&t&&ze(0),2&t&&nn(X(3).currentPageReport)}function Ote(t,o){if(1&t){const e=wt();ne(0,"p-dropdown",25),We("onChange",function(s){return Pe(e),Oe(X(2).onPageDropdownChange(s))}),J(1,Lte,1,1,"ng-template",26),re()}if(2&t){const e=X(2);H("options",e.pageItems)("ngModel",e.getPage())("disabled",e.empty())("appendTo",e.dropdownAppendTo)("scrollHeight",e.dropdownScrollHeight)}}function Pte(t,o){1&t&&Re(0,"AngleRightIcon",19),2&t&&H("styleClass","p-paginator-icon")}function Nte(t,o){}function Rte(t,o){1&t&&J(0,Nte,0,0,"ng-template")}function Fte(t,o){if(1&t&&(ne(0,"span",20),J(1,Rte,1,0,null,21),re()),2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.nextPageLinkIconTemplate)}}function Bte(t,o){1&t&&Re(0,"AngleDoubleRightIcon",19),2&t&&H("styleClass","p-paginator-icon")}function jte(t,o){}function zte(t,o){1&t&&J(0,jte,0,0,"ng-template")}function Vte(t,o){if(1&t&&(ne(0,"span",20),J(1,zte,1,0,null,21),re()),2&t){const e=X(3);G(1),H("ngTemplateOutlet",e.lastPageLinkIconTemplate)}}function Hte(t,o){if(1&t){const e=wt();ne(0,"button",27),We("click",function(s){return Pe(e),Oe(X(2).changePageToLast(s))}),J(1,Bte,1,1,"AngleDoubleRightIcon",6),J(2,Vte,2,1,"span",7),re()}if(2&t){const e=X(2);H("disabled",e.isLastPage()||e.empty())("ngClass",gn(4,ZT,e.isLastPage()||e.empty())),G(1),H("ngIf",!e.lastPageLinkIconTemplate),G(1),H("ngIf",e.lastPageLinkIconTemplate)}}function Yte(t,o){if(1&t){const e=wt();ne(0,"p-inputNumber",28),We("ngModelChange",function(s){return Pe(e),Oe(X(2).changePage(s-1))}),re()}if(2&t){const e=X(2);H("ngModel",e.currentPage())("disabled",e.empty())}}function Ute(t,o){1&t&&Et(0)}function Wte(t,o){if(1&t&&J(0,Ute,1,0,"ng-container",16),2&t){const e=o.$implicit;H("ngTemplateOutlet",X(4).dropdownItemTemplate)("ngTemplateOutletContext",gn(2,X5,e))}}function $te(t,o){1&t&&(vt(0),J(1,Wte,1,4,"ng-template",31),kt())}function qte(t,o){if(1&t){const e=wt();ne(0,"p-dropdown",29),We("ngModelChange",function(s){return Pe(e),Oe(X(2).rows=s)})("onChange",function(s){return Pe(e),Oe(X(2).onRppChange(s))}),J(1,$te,2,0,"ng-container",30),re()}if(2&t){const e=X(2);H("options",e.rowsPerPageItems)("ngModel",e.rows)("disabled",e.empty())("appendTo",e.dropdownAppendTo)("scrollHeight",e.dropdownScrollHeight),G(1),H("ngIf",e.dropdownItemTemplate)}}function Gte(t,o){1&t&&Et(0)}function Kte(t,o){if(1&t&&(ne(0,"div",32),J(1,Gte,1,0,"ng-container",16),re()),2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.templateRight)("ngTemplateOutletContext",gn(2,X5,e.paginatorState))}}function Zte(t,o){if(1&t){const e=wt();ne(0,"div",1),J(1,bte,2,4,"div",2),J(2,vte,2,1,"span",3),J(3,Ate,3,6,"button",4),ne(4,"button",5),We("click",function(s){return Pe(e),Oe(X().changePageToPrev(s))}),J(5,Mte,1,1,"AngleLeftIcon",6),J(6,xte,2,1,"span",7),re(),J(7,Ite,2,1,"span",8),J(8,Ote,2,5,"p-dropdown",9),ne(9,"button",10),We("click",function(s){return Pe(e),Oe(X().changePageToNext(s))}),J(10,Pte,1,1,"AngleRightIcon",6),J(11,Fte,2,1,"span",7),re(),J(12,Hte,3,6,"button",11),J(13,Yte,1,2,"p-inputNumber",12),J(14,qte,2,6,"p-dropdown",13),J(15,Kte,2,4,"div",14),re()}if(2&t){const e=X();Mt(e.styleClass),H("ngStyle",e.style)("ngClass","p-paginator p-component"),G(1),H("ngIf",e.templateLeft),G(1),H("ngIf",e.showCurrentPageReport),G(1),H("ngIf",e.showFirstLastIcon),G(1),H("disabled",e.isFirstPage()||e.empty())("ngClass",gn(21,ZT,e.isFirstPage()||e.empty())),G(1),H("ngIf",!e.previousPageLinkIconTemplate),G(1),H("ngIf",e.previousPageLinkIconTemplate),G(1),H("ngIf",e.showPageLinks),G(1),H("ngIf",e.showJumpToPageDropdown),G(1),H("disabled",e.isLastPage()||e.empty())("ngClass",gn(23,ZT,e.isLastPage()||e.empty())),G(1),H("ngIf",!e.nextPageLinkIconTemplate),G(1),H("ngIf",e.nextPageLinkIconTemplate),G(1),H("ngIf",e.showFirstLastIcon),G(1),H("ngIf",e.showJumpToPageInput),G(1),H("ngIf",e.rowsPerPageOptions),G(1),H("ngIf",e.templateRight)}}let Qte=(()=>{class t{constructor(e){this.cd=e,this.pageLinkSize=5,this.onPageChange=new Qe,this.alwaysShow=!0,this.dropdownScrollHeight="200px",this.currentPageReportTemplate="{currentPage} of {totalPages}",this.showFirstLastIcon=!0,this.totalRecords=0,this.rows=0,this.showPageLinks=!0,this._first=0,this._page=0}ngOnInit(){this.updatePaginatorState()}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"firstpagelinkicon":this.firstPageLinkIconTemplate=e.template;break;case"previouspagelinkicon":this.previousPageLinkIconTemplate=e.template;break;case"lastpagelinkicon":this.lastPageLinkIconTemplate=e.template;break;case"nextpagelinkicon":this.nextPageLinkIconTemplate=e.template}})}ngAfterViewInit(){Gi.check()}ngOnChanges(e){e.totalRecords&&(this.updatePageLinks(),this.updatePaginatorState(),this.updateFirst(),this.updateRowsPerPageOptions()),e.first&&(this._first=e.first.currentValue,this.updatePageLinks(),this.updatePaginatorState()),e.rows&&(this.updatePageLinks(),this.updatePaginatorState()),e.rowsPerPageOptions&&this.updateRowsPerPageOptions()}get first(){return this._first}set first(e){this._first=e}updateRowsPerPageOptions(){if(this.rowsPerPageOptions){this.rowsPerPageItems=[];for(let e of this.rowsPerPageOptions)"object"==typeof e&&e.showAll?this.rowsPerPageItems.unshift({label:e.showAll,value:this.totalRecords}):this.rowsPerPageItems.push({label:String(e),value:e})}}isFirstPage(){return 0===this.getPage()}isLastPage(){return this.getPage()===this.getPageCount()-1}getPageCount(){return Math.ceil(this.totalRecords/this.rows)}calculatePageLinkBoundaries(){let e=this.getPageCount(),i=Math.min(this.pageLinkSize,e),s=Math.max(0,Math.ceil(this.getPage()-i/2)),l=Math.min(e-1,s+i-1);return s=Math.max(0,s-(this.pageLinkSize-(l-s+1))),[s,l]}updatePageLinks(){this.pageLinks=[];let e=this.calculatePageLinkBoundaries(),s=e[1];for(let l=e[0];l<=s;l++)this.pageLinks.push(l+1);if(this.showJumpToPageDropdown){this.pageItems=[];for(let l=0;l<this.getPageCount();l++)this.pageItems.push({label:String(l+1),value:l})}}changePage(e){var i=this.getPageCount();if(e>=0&&e<i){this._first=this.rows*e;var s={page:e,first:this.first,rows:this.rows,pageCount:i};this.updatePageLinks(),this.onPageChange.emit(s),this.updatePaginatorState()}}updateFirst(){const e=this.getPage();e>0&&this.totalRecords&&this.first>=this.totalRecords&&Promise.resolve(null).then(()=>this.changePage(e-1))}getPage(){return Math.floor(this.first/this.rows)}changePageToFirst(e){this.isFirstPage()||this.changePage(0),e.preventDefault()}changePageToPrev(e){this.changePage(this.getPage()-1),e.preventDefault()}changePageToNext(e){this.changePage(this.getPage()+1),e.preventDefault()}changePageToLast(e){this.isLastPage()||this.changePage(this.getPageCount()-1),e.preventDefault()}onPageLinkClick(e,i){this.changePage(i),e.preventDefault()}onRppChange(e){this.changePage(this.getPage())}onPageDropdownChange(e){this.changePage(e.value)}updatePaginatorState(){this.paginatorState={page:this.getPage(),pageCount:this.getPageCount(),rows:this.rows,first:this.first,totalRecords:this.totalRecords}}empty(){return 0===this.getPageCount()}currentPage(){return this.getPageCount()>0?this.getPage()+1:0}get currentPageReport(){return this.currentPageReportTemplate.replace("{currentPage}",String(this.currentPage())).replace("{totalPages}",String(this.getPageCount())).replace("{first}",String(this.totalRecords>0?this._first+1:0)).replace("{last}",String(Math.min(this._first+this.rows,this.totalRecords))).replace("{rows}",String(this.rows)).replace("{totalRecords}",String(this.totalRecords))}}return t.\u0275fac=function(e){return new(e||t)(Ce(Mi))},t.\u0275cmp=Ct({type:t,selectors:[["p-paginator"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},hostAttrs:[1,"p-element"],inputs:{pageLinkSize:"pageLinkSize",style:"style",styleClass:"styleClass",alwaysShow:"alwaysShow",templateLeft:"templateLeft",templateRight:"templateRight",dropdownAppendTo:"dropdownAppendTo",dropdownScrollHeight:"dropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showFirstLastIcon:"showFirstLastIcon",totalRecords:"totalRecords",rows:"rows",rowsPerPageOptions:"rowsPerPageOptions",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showPageLinks:"showPageLinks",dropdownItemTemplate:"dropdownItemTemplate",first:"first"},outputs:{onPageChange:"onPageChange"},features:[fn],decls:1,vars:1,consts:[[3,"class","ngStyle","ngClass",4,"ngIf"],[3,"ngStyle","ngClass"],["class","p-paginator-left-content",4,"ngIf"],["class","p-paginator-current",4,"ngIf"],["type","button","pRipple","","class","p-paginator-first p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-prev","p-paginator-element","p-link",3,"disabled","ngClass","click"],[3,"styleClass",4,"ngIf"],["class","p-paginator-icon",4,"ngIf"],["class","p-paginator-pages",4,"ngIf"],["styleClass","p-paginator-page-options",3,"options","ngModel","disabled","appendTo","scrollHeight","onChange",4,"ngIf"],["type","button","pRipple","",1,"p-paginator-next","p-paginator-element","p-link",3,"disabled","ngClass","click"],["type","button","pRipple","","class","p-paginator-last p-paginator-element p-link",3,"disabled","ngClass","click",4,"ngIf"],["class","p-paginator-page-input",3,"ngModel","disabled","ngModelChange",4,"ngIf"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","disabled","appendTo","scrollHeight","ngModelChange","onChange",4,"ngIf"],["class","p-paginator-right-content",4,"ngIf"],[1,"p-paginator-left-content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-paginator-current"],["type","button","pRipple","",1,"p-paginator-first","p-paginator-element","p-link",3,"disabled","ngClass","click"],[3,"styleClass"],[1,"p-paginator-icon"],[4,"ngTemplateOutlet"],[1,"p-paginator-pages"],["type","button","class","p-paginator-page p-paginator-element p-link","pRipple","",3,"ngClass","click",4,"ngFor","ngForOf"],["type","button","pRipple","",1,"p-paginator-page","p-paginator-element","p-link",3,"ngClass","click"],["styleClass","p-paginator-page-options",3,"options","ngModel","disabled","appendTo","scrollHeight","onChange"],["pTemplate","selectedItem"],["type","button","pRipple","",1,"p-paginator-last","p-paginator-element","p-link",3,"disabled","ngClass","click"],[1,"p-paginator-page-input",3,"ngModel","disabled","ngModelChange"],["styleClass","p-paginator-rpp-options",3,"options","ngModel","disabled","appendTo","scrollHeight","ngModelChange","onChange"],[4,"ngIf"],["pTemplate","item"],[1,"p-paginator-right-content"]],template:function(e,i){1&e&&J(0,Zte,16,25,"div",0),2&e&&H("ngIf",!!i.alwaysShow||i.pageLinks&&i.pageLinks.length>1)},dependencies:function(){return[ao,Zr,Ei,Xi,Mo,W5,co,aF,Cf,sc,rh,lF,cF,dF,uF]},styles:[".p-paginator{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.p-paginator-left-content{margin-right:auto}.p-paginator-right-content{margin-left:auto}.p-paginator-page,.p-paginator-next,.p-paginator-last,.p-paginator-first,.p-paginator-prev,.p-paginator-current{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;line-height:1;-webkit-user-select:none;user-select:none;overflow:hidden;position:relative}.p-paginator-element:focus{z-index:1;position:relative}\n"],encapsulation:2,changeDetection:0}),t})(),Jte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,$T,J5,eb,Ki,sh,lF,cF,dF,uF,$T,J5,eb,Ki]}),t})();function Xte(t,o){1&t&&Re(0,"span",8),2&t&&(Mt(X(2).$implicit.icon),H("ngClass","p-button-icon p-button-icon-left"))}function ene(t,o){if(1&t&&(vt(0),J(1,Xte,1,3,"span",6),ne(2,"span",7),ze(3),re(),kt()),2&t){const e=X().$implicit,i=X();G(1),H("ngIf",e.icon),G(2),nn(i.getOptionLabel(e))}}function tne(t,o){1&t&&Et(0)}const nne=function(t,o){return{$implicit:t,index:o}};function ine(t,o){if(1&t&&J(0,tne,1,0,"ng-container",9),2&t){const e=X(),i=e.$implicit,s=e.index;H("ngTemplateOutlet",X().itemTemplate)("ngTemplateOutletContext",Xn(2,nne,i,s))}}const one=function(t,o,e){return{"p-highlight":t,"p-disabled":o,"p-button-icon-only":e}};function rne(t,o){if(1&t){const e=wt();ne(0,"div",2,3),We("click",function(s){const l=Pe(e),h=l.$implicit,m=l.index;return Oe(X().onItemClick(s,h,m))})("keydown.enter",function(s){const l=Pe(e),h=l.$implicit,m=l.index;return Oe(X().onItemClick(s,h,m))})("blur",function(){return Pe(e),Oe(X().onBlur())}),J(2,ene,4,2,"ng-container",4),J(3,ine,1,5,"ng-template",null,5,Go),re()}if(2&t){const e=o.$implicit,i=ii(4),s=X();Mt(e.styleClass),H("ngClass",Tr(10,one,s.isSelected(e),s.disabled||s.isOptionDisabled(e),e.icon&&!s.getOptionLabel(e))),mt("aria-pressed",s.isSelected(e))("title",e.title)("aria-label",e.label)("tabindex",s.disabled?null:s.tabindex)("aria-labelledby",s.getOptionLabel(e)),G(2),H("ngIf",!s.itemTemplate)("ngIfElse",i)}}const sne={provide:qi,useExisting:xt(()=>ane),multi:!0};let ane=(()=>{class t{constructor(e){this.cd=e,this.tabindex=0,this.onOptionClick=new Qe,this.onChange=new Qe,this.onModelChange=()=>{},this.onModelTouched=()=>{}}ngAfterViewInit(){Gi.check()}getOptionLabel(e){return this.optionLabel?St.resolveFieldData(e,this.optionLabel):null!=e.label?e.label:e}getOptionValue(e){return this.optionValue?St.resolveFieldData(e,this.optionValue):this.optionLabel||void 0===e.value?e:e.value}isOptionDisabled(e){return this.optionDisabled?St.resolveFieldData(e,this.optionDisabled):void 0!==e.disabled&&e.disabled}writeValue(e){this.value=e,this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}onItemClick(e,i,s){if(!this.disabled&&!this.isOptionDisabled(i)){if(this.multiple)this.isSelected(i)?this.removeOption(i):this.value=[...this.value||[],this.getOptionValue(i)],this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value});else{let l=this.getOptionValue(i);this.value!==l&&(this.value=this.getOptionValue(i),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value}))}this.onOptionClick.emit({originalEvent:e,option:i,index:s})}}onBlur(){this.onModelTouched()}removeOption(e){this.value=this.value.filter(i=>!St.equals(i,this.getOptionValue(e),this.dataKey))}isSelected(e){let i=!1,s=this.getOptionValue(e);if(this.multiple){if(this.value&&Array.isArray(this.value))for(let l of this.value)if(St.equals(l,s,this.dataKey)){i=!0;break}}else i=St.equals(this.getOptionValue(e),this.value,this.dataKey);return i}}return t.\u0275fac=function(e){return new(e||t)(Ce(Mi))},t.\u0275cmp=Ct({type:t,selectors:[["p-selectButton"]],contentQueries:function(e,i,s){if(1&e&&pi(s,ei,5),2&e){let l;zt(l=jt())&&(i.itemTemplate=l.first)}},hostAttrs:[1,"p-element"],inputs:{options:"options",optionLabel:"optionLabel",optionValue:"optionValue",optionDisabled:"optionDisabled",tabindex:"tabindex",multiple:"multiple",style:"style",styleClass:"styleClass",ariaLabelledBy:"ariaLabelledBy",disabled:"disabled",dataKey:"dataKey"},outputs:{onOptionClick:"onOptionClick",onChange:"onChange"},features:[Pt([sne])],decls:2,vars:5,consts:[["role","group",3,"ngClass","ngStyle"],["class","p-button p-component","role","button","pRipple","",3,"class","ngClass","click","keydown.enter","blur",4,"ngFor","ngForOf"],["role","button","pRipple","",1,"p-button","p-component",3,"ngClass","click","keydown.enter","blur"],["btn",""],[4,"ngIf","ngIfElse"],["customcontent",""],[3,"ngClass","class",4,"ngIf"],[1,"p-button-label"],[3,"ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(ne(0,"div",0),J(1,rne,5,14,"div",1),re()),2&e&&(Mt(i.styleClass),H("ngClass","p-selectbutton p-buttonset p-component")("ngStyle",i.style),G(1),H("ngForOf",i.options))},dependencies:[ao,Zr,Ei,Xi,Mo,rh],styles:['.p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default;pointer-events:none}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:"p";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}\n'],encapsulation:2,changeDetection:0}),t})(),lne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,sh]}),t})();function cne(t,o){1&t&&Re(0,"span",8),2&t&&H("ngClass",X(2).checkboxTrueIcon)}function dne(t,o){1&t&&Re(0,"CheckIcon",11),2&t&&H("styleClass","p-checkbox-icon")}function une(t,o){}function hne(t,o){1&t&&J(0,une,0,0,"ng-template")}function pne(t,o){if(1&t&&(ne(0,"span",12),J(1,hne,1,0,null,13),re()),2&t){const e=X(3);G(1),H("ngTemplateOutlet",e.checkIconTemplate)}}function fne(t,o){if(1&t&&(vt(0),J(1,dne,1,1,"CheckIcon",9),J(2,pne,2,1,"span",10),kt()),2&t){const e=X(2);G(1),H("ngIf",!e.checkIconTemplate),G(1),H("ngIf",e.checkIconTemplate)}}function mne(t,o){if(1&t&&(vt(0),J(1,cne,1,1,"span",7),J(2,fne,3,2,"ng-container",5),kt()),2&t){const e=X();G(1),H("ngIf",e.checkboxTrueIcon),G(1),H("ngIf",!e.checkboxTrueIcon)}}function gne(t,o){1&t&&Re(0,"span",8),2&t&&H("ngClass",X(2).checkboxFalseIcon)}function _ne(t,o){1&t&&Re(0,"TimesIcon",11),2&t&&H("styleClass","p-checkbox-icon")}function bne(t,o){}function vne(t,o){1&t&&J(0,bne,0,0,"ng-template")}function yne(t,o){if(1&t&&(ne(0,"span",12),J(1,vne,1,0,null,13),re()),2&t){const e=X(3);G(1),H("ngTemplateOutlet",e.uncheckIconTemplate)}}function kne(t,o){if(1&t&&(vt(0),J(1,_ne,1,1,"TimesIcon",9),J(2,yne,2,1,"span",10),kt()),2&t){const e=X(2);G(1),H("ngIf",!e.uncheckIconTemplate),G(1),H("ngIf",e.uncheckIconTemplate)}}function wne(t,o){if(1&t&&(vt(0),J(1,gne,1,1,"span",7),J(2,kne,3,2,"ng-container",5),kt()),2&t){const e=X();G(1),H("ngIf",e.checkboxFalseIcon),G(1),H("ngIf",!e.checkboxFalseIcon)}}const Cne=function(t,o,e){return{"p-checkbox-label-active":t,"p-disabled":o,"p-checkbox-label-focus":e}};function Ane(t,o){if(1&t){const e=wt();ne(0,"label",14),We("click",function(s){Pe(e);const l=X(),h=ii(3);return Oe(l.onClick(s,h))}),ze(1),re()}if(2&t){const e=X();H("ngClass",Tr(3,Cne,null!=e.value,e.disabled,e.focused)),mt("for",e.inputId),G(1),nn(e.label)}}const Mne=function(t,o){return{"p-checkbox p-component":!0,"p-checkbox-disabled":t,"p-checkbox-focused":o}},Dne=function(t,o,e){return{"p-highlight":t,"p-disabled":o,"p-focus":e}},Tne={provide:qi,useExisting:xt(()=>xne),multi:!0};let xne=(()=>{class t{constructor(e){this.cd=e,this.onChange=new Qe,this.onModelChange=()=>{},this.onModelTouched=()=>{}}onClick(e,i){!this.disabled&&!this.readonly&&(this.toggle(e),this.focused=!0,i.focus())}onKeydown(e){32==e.keyCode&&e.preventDefault()}onKeyup(e){32==e.keyCode&&!this.readonly&&(this.toggle(e),e.preventDefault())}toggle(e){null==this.value||null==this.value?this.value=!0:1==this.value?this.value=!1:0==this.value&&(this.value=null),this.onModelChange(this.value),this.onChange.emit({originalEvent:e,value:this.value})}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"checkicon":this.checkIconTemplate=e.template;break;case"uncheckicon":this.uncheckIconTemplate=e.template}})}ngAfterViewInit(){Gi.check()}onFocus(){this.focused=!0}onBlur(){this.focused=!1,this.onModelTouched()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}writeValue(e){this.value=e,this.cd.markForCheck()}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Mi))},t.\u0275cmp=Ct({type:t,selectors:[["p-triStateCheckbox"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},hostAttrs:[1,"p-element"],inputs:{disabled:"disabled",name:"name",ariaLabelledBy:"ariaLabelledBy",tabindex:"tabindex",inputId:"inputId",style:"style",styleClass:"styleClass",label:"label",readonly:"readonly",checkboxTrueIcon:"checkboxTrueIcon",checkboxFalseIcon:"checkboxFalseIcon"},outputs:{onChange:"onChange"},features:[Pt([Tne])],decls:8,vars:22,consts:[[3,"ngStyle","ngClass"],[1,"p-hidden-accessible"],["type","text","inputmode","none",3,"name","readonly","disabled","keyup","keydown","focus","blur"],["input",""],["role","checkbox",1,"p-checkbox-box",3,"ngClass","click"],[4,"ngIf"],["class","p-checkbox-label",3,"ngClass","click",4,"ngIf"],["class","p-checkbox-icon",3,"ngClass",4,"ngIf"],[1,"p-checkbox-icon",3,"ngClass"],[3,"styleClass",4,"ngIf"],["class","p-checkbox-icon",4,"ngIf"],[3,"styleClass"],[1,"p-checkbox-icon"],[4,"ngTemplateOutlet"],[1,"p-checkbox-label",3,"ngClass","click"]],template:function(e,i){if(1&e){const s=wt();ne(0,"div",0)(1,"div",1)(2,"input",2,3),We("keyup",function(h){return i.onKeyup(h)})("keydown",function(h){return i.onKeydown(h)})("focus",function(){return i.onFocus()})("blur",function(){return i.onBlur()}),re()(),ne(4,"div",4),We("click",function(h){Pe(s);const m=ii(3);return Oe(i.onClick(h,m))}),J(5,mne,3,2,"ng-container",5),J(6,wne,3,2,"ng-container",5),re()(),J(7,Ane,2,7,"label",6)}2&e&&(Mt(i.styleClass),H("ngStyle",i.style)("ngClass",Xn(15,Mne,i.disabled,i.focused)),G(2),H("name",i.name)("readonly",i.readonly)("disabled",i.disabled),mt("id",i.inputId)("tabindex",i.tabindex)("aria-labelledby",i.ariaLabelledBy),G(2),H("ngClass",Tr(18,Dne,null!=i.value,i.disabled,i.focused)),mt("aria-checked",!0===i.value),G(1),H("ngIf",!0===i.value),G(1),H("ngIf",!1===i.value),G(1),H("ngIf",i.label))},dependencies:function(){return[ao,Ei,Xi,Mo,Ff,Jr]},encapsulation:2,changeDetection:0}),t})(),Ene=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,Ki,Ff,Jr,Ki]}),t})(),Sne=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["FilterSlashIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_408_20963)"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.4994 0.0920138C13.5967 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7827 0.780968 13.7403 0.889466 13.6707 0.98L11.406 4.06823C11.3099 4.19928 11.1656 4.28679 11.005 4.3115C10.8444 4.33621 10.6805 4.2961 10.5495 4.2C10.4184 4.1039 10.3309 3.95967 10.3062 3.79905C10.2815 3.63843 10.3216 3.47458 10.4177 3.34353L11.9412 1.23529H7.41184C7.24803 1.23529 7.09093 1.17022 6.97509 1.05439C6.85926 0.938558 6.79419 0.781457 6.79419 0.617647C6.79419 0.453837 6.85926 0.296736 6.97509 0.180905C7.09093 0.0650733 7.24803 0 7.41184 0H13.1765C13.2905 0.000692754 13.4022 0.0325088 13.4994 0.0920138ZM4.20008 0.181168H4.24126L13.2013 9.03411C13.3169 9.14992 13.3819 9.3069 13.3819 9.47058C13.3819 9.63426 13.3169 9.79124 13.2013 9.90705C13.1445 9.96517 13.0766 10.0112 13.0016 10.0423C12.9266 10.0735 12.846 10.0891 12.7648 10.0882C12.6836 10.0886 12.6032 10.0728 12.5283 10.0417C12.4533 10.0106 12.3853 9.96479 12.3283 9.90705L9.3142 6.92587L9.26479 6.99999V13.3823C9.26265 13.5455 9.19689 13.7014 9.08152 13.8167C8.96615 13.9321 8.81029 13.9979 8.64714 14H5.35302C5.18987 13.9979 5.03401 13.9321 4.91864 13.8167C4.80327 13.7014 4.73751 13.5455 4.73537 13.3823V6.99999L0.329492 1.02117C0.259855 0.930634 0.21745 0.822137 0.207241 0.708376C0.197031 0.594616 0.21944 0.480301 0.271844 0.378815C0.324343 0.277621 0.403484 0.192687 0.500724 0.133182C0.597964 0.073677 0.709609 0.041861 0.823609 0.0411682H3.86243C3.92448 0.0461551 3.9855 0.060022 4.04361 0.0823446C4.10037 0.10735 4.15311 0.140655 4.20008 0.181168ZM8.02949 6.79411C8.02884 6.66289 8.07235 6.53526 8.15302 6.43176L8.42478 6.05293L3.55773 1.23529H2.0589L5.84714 6.43176C5.92781 6.53526 5.97132 6.66289 5.97067 6.79411V12.7647H8.02949V6.79411Z","fill","currentColor"],["id","clip0_408_20963"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})();const Ine=["container"],Lne=["resizeHelper"],One=["reorderIndicatorUp"],Pne=["reorderIndicatorDown"],Nne=["wrapper"],Rne=["table"],Fne=["thead"],Bne=["tfoot"],jne=["scroller"];function zne(t,o){1&t&&Re(0,"i"),2&t&&Mt("p-datatable-loading-icon "+X(2).loadingIcon)}function Vne(t,o){1&t&&Re(0,"SpinnerIcon",19),2&t&&H("spin",!0)("styleClass","p-datatable-loading-icon")}function Hne(t,o){}function Yne(t,o){1&t&&J(0,Hne,0,0,"ng-template")}function Une(t,o){if(1&t&&(ne(0,"span",20),J(1,Yne,1,0,null,21),re()),2&t){const e=X(3);G(1),H("ngTemplateOutlet",e.loadingIconTemplate)}}function Wne(t,o){if(1&t&&(vt(0),J(1,Vne,1,2,"SpinnerIcon",17),J(2,Une,2,1,"span",18),kt()),2&t){const e=X(2);G(1),H("ngIf",!e.loadingIconTemplate),G(1),H("ngIf",e.loadingIconTemplate)}}function $ne(t,o){if(1&t&&(ne(0,"div",15),J(1,zne,1,2,"i",16),J(2,Wne,3,2,"ng-container",8),re()),2&t){const e=X();G(1),H("ngIf",e.loadingIcon),G(1),H("ngIf",!e.loadingIcon)}}function qne(t,o){1&t&&Et(0)}function Gne(t,o){if(1&t&&(ne(0,"div",22),J(1,qne,1,0,"ng-container",21),re()),2&t){const e=X();G(1),H("ngTemplateOutlet",e.captionTemplate)}}function Kne(t,o){1&t&&Et(0)}function Zne(t,o){1&t&&J(0,Kne,1,0,"ng-container",21),2&t&&H("ngTemplateOutlet",X(3).paginatorFirstPageLinkIconTemplate)}function Qne(t,o){1&t&&J(0,Zne,1,1,"ng-template",24)}function Jne(t,o){1&t&&Et(0)}function Xne(t,o){1&t&&J(0,Jne,1,0,"ng-container",21),2&t&&H("ngTemplateOutlet",X(3).paginatorPreviousPageLinkIconTemplate)}function eie(t,o){1&t&&J(0,Xne,1,1,"ng-template",25)}function tie(t,o){1&t&&Et(0)}function nie(t,o){1&t&&J(0,tie,1,0,"ng-container",21),2&t&&H("ngTemplateOutlet",X(3).paginatorLastPageLinkIconTemplate)}function iie(t,o){1&t&&J(0,nie,1,1,"ng-template",26)}function oie(t,o){1&t&&Et(0)}function rie(t,o){1&t&&J(0,oie,1,0,"ng-container",21),2&t&&H("ngTemplateOutlet",X(3).paginatorNextPageLinkIconTemplate)}function sie(t,o){1&t&&J(0,rie,1,1,"ng-template",27)}function aie(t,o){if(1&t){const e=wt();ne(0,"p-paginator",23),We("onPageChange",function(s){return Pe(e),Oe(X().onPageChange(s))}),J(1,Qne,1,0,null,8),J(2,eie,1,0,null,8),J(3,iie,1,0,null,8),J(4,sie,1,0,null,8),re()}if(2&t){const e=X();H("rows",e.rows)("first",e.first)("totalRecords",e.totalRecords)("pageLinkSize",e.pageLinks)("alwaysShow",e.alwaysShowPaginator)("rowsPerPageOptions",e.rowsPerPageOptions)("templateLeft",e.paginatorLeftTemplate)("templateRight",e.paginatorRightTemplate)("dropdownAppendTo",e.paginatorDropdownAppendTo)("dropdownScrollHeight",e.paginatorDropdownScrollHeight)("currentPageReportTemplate",e.currentPageReportTemplate)("showFirstLastIcon",e.showFirstLastIcon)("dropdownItemTemplate",e.paginatorDropdownItemTemplate)("showCurrentPageReport",e.showCurrentPageReport)("showJumpToPageDropdown",e.showJumpToPageDropdown)("showJumpToPageInput",e.showJumpToPageInput)("showPageLinks",e.showPageLinks),G(1),H("ngIf",e.paginatorFirstPageLinkIconTemplate),G(1),H("ngIf",e.paginatorPreviousPageLinkIconTemplate),G(1),H("ngIf",e.paginatorLastPageLinkIconTemplate),G(1),H("ngIf",e.paginatorNextPageLinkIconTemplate)}}function lie(t,o){1&t&&Et(0)}const hF=function(t,o){return{$implicit:t,options:o}};function cie(t,o){if(1&t&&J(0,lie,1,0,"ng-container",31),2&t){const e=o.$implicit,i=o.options;X(2),H("ngTemplateOutlet",ii(10))("ngTemplateOutletContext",Xn(2,hF,e,i))}}const die=function(t){return{height:t}};function uie(t,o){if(1&t){const e=wt();ne(0,"p-scroller",28,29),We("onLazyLoad",function(s){return Pe(e),Oe(X().onLazyItemLoad(s))}),J(2,cie,1,5,"ng-template",30),re()}if(2&t){const e=X();$i(gn(15,die,"flex"!==e.scrollHeight?e.scrollHeight:void 0)),H("items",e.processedData)("columns",e.columns)("scrollHeight","flex"!==e.scrollHeight?void 0:"100%")("itemSize",e.virtualScrollItemSize||e._virtualRowHeight)("step",e.rows)("delay",e.lazy?e.virtualScrollDelay:0)("inline",!0)("lazy",e.lazy)("loaderDisabled",!0)("showSpacer",!1)("showLoader",e.loadingBodyTemplate)("options",e.virtualScrollOptions)("autoSize",!0)}}function hie(t,o){1&t&&Et(0)}const pie=function(t){return{columns:t}};function fie(t,o){if(1&t&&(vt(0),J(1,hie,1,0,"ng-container",31),kt()),2&t){const e=X(),i=ii(10);G(1),H("ngTemplateOutlet",i)("ngTemplateOutletContext",Xn(4,hF,e.processedData,gn(2,pie,e.columns)))}}function mie(t,o){1&t&&Et(0)}function gie(t,o){1&t&&Et(0)}function _ie(t,o){if(1&t&&Re(0,"tbody",40),2&t){const e=X().options,i=X();H("value",i.frozenValue)("frozenRows",!0)("pTableBody",e.columns)("pTableBodyTemplate",i.frozenBodyTemplate)("frozen",!0)}}function bie(t,o){if(1&t&&Re(0,"tbody",41),2&t){const e=X().options;$i("height: calc("+e.spacerStyle.height+" - "+e.rows.length*e.itemSize+"px);")}}function vie(t,o){1&t&&Et(0)}const ah=function(t){return{$implicit:t}};function yie(t,o){if(1&t&&(ne(0,"tfoot",42,43),J(2,vie,1,0,"ng-container",31),re()),2&t){const e=X().options,i=X();G(2),H("ngTemplateOutlet",i.footerGroupedTemplate||i.footerTemplate)("ngTemplateOutletContext",gn(2,ah,e.columns))}}const kie=function(t,o,e){return{"p-datatable-table":!0,"p-datatable-scrollable-table":t,"p-datatable-resizable-table":o,"p-datatable-resizable-table-fit":e}};function wie(t,o){if(1&t&&(ne(0,"table",32,33),J(2,mie,1,0,"ng-container",31),ne(3,"thead",34,35),J(5,gie,1,0,"ng-container",31),re(),J(6,_ie,1,5,"tbody",36),Re(7,"tbody",37),J(8,bie,1,2,"tbody",38),J(9,yie,3,4,"tfoot",39),re()),2&t){const e=o.options,i=X();$i(i.tableStyle),Mt(i.tableStyleClass),H("ngClass",Tr(20,kie,i.scrollable,i.resizableColumns,i.resizableColumns&&"fit"===i.columnResizeMode)),mt("id",i.id+"-table"),G(2),H("ngTemplateOutlet",i.colGroupTemplate)("ngTemplateOutletContext",gn(24,ah,e.columns)),G(3),H("ngTemplateOutlet",i.headerGroupedTemplate||i.headerTemplate)("ngTemplateOutletContext",gn(26,ah,e.columns)),G(1),H("ngIf",i.frozenValue||i.frozenBodyTemplate),G(1),$i(e.contentStyle),H("ngClass",e.contentStyleClass)("value",i.dataToRender(e.rows))("pTableBody",e.columns)("pTableBodyTemplate",i.bodyTemplate)("scrollerOptions",e),G(1),H("ngIf",e.spacerStyle),G(1),H("ngIf",i.footerGroupedTemplate||i.footerTemplate)}}function Cie(t,o){1&t&&Et(0)}function Aie(t,o){1&t&&J(0,Cie,1,0,"ng-container",21),2&t&&H("ngTemplateOutlet",X(3).paginatorFirstPageLinkIconTemplate)}function Mie(t,o){1&t&&J(0,Aie,1,1,"ng-template",24)}function Die(t,o){1&t&&Et(0)}function Tie(t,o){1&t&&J(0,Die,1,0,"ng-container",21),2&t&&H("ngTemplateOutlet",X(3).paginatorPreviousPageLinkIconTemplate)}function xie(t,o){1&t&&J(0,Tie,1,1,"ng-template",25)}function Eie(t,o){1&t&&Et(0)}function Sie(t,o){1&t&&J(0,Eie,1,0,"ng-container",21),2&t&&H("ngTemplateOutlet",X(3).paginatorLastPageLinkIconTemplate)}function Iie(t,o){1&t&&J(0,Sie,1,1,"ng-template",26)}function Lie(t,o){1&t&&Et(0)}function Oie(t,o){1&t&&J(0,Lie,1,0,"ng-container",21),2&t&&H("ngTemplateOutlet",X(3).paginatorNextPageLinkIconTemplate)}function Pie(t,o){1&t&&J(0,Oie,1,1,"ng-template",27)}function Nie(t,o){if(1&t){const e=wt();ne(0,"p-paginator",44),We("onPageChange",function(s){return Pe(e),Oe(X().onPageChange(s))}),J(1,Mie,1,0,null,8),J(2,xie,1,0,null,8),J(3,Iie,1,0,null,8),J(4,Pie,1,0,null,8),re()}if(2&t){const e=X();H("rows",e.rows)("first",e.first)("totalRecords",e.totalRecords)("pageLinkSize",e.pageLinks)("alwaysShow",e.alwaysShowPaginator)("rowsPerPageOptions",e.rowsPerPageOptions)("templateLeft",e.paginatorLeftTemplate)("templateRight",e.paginatorRightTemplate)("dropdownAppendTo",e.paginatorDropdownAppendTo)("dropdownScrollHeight",e.paginatorDropdownScrollHeight)("currentPageReportTemplate",e.currentPageReportTemplate)("showFirstLastIcon",e.showFirstLastIcon)("dropdownItemTemplate",e.paginatorDropdownItemTemplate)("showCurrentPageReport",e.showCurrentPageReport)("showJumpToPageDropdown",e.showJumpToPageDropdown)("showJumpToPageInput",e.showJumpToPageInput)("showPageLinks",e.showPageLinks),G(1),H("ngIf",e.paginatorFirstPageLinkIconTemplate),G(1),H("ngIf",e.paginatorPreviousPageLinkIconTemplate),G(1),H("ngIf",e.paginatorLastPageLinkIconTemplate),G(1),H("ngIf",e.paginatorNextPageLinkIconTemplate)}}function Rie(t,o){1&t&&Et(0)}function Fie(t,o){if(1&t&&(ne(0,"div",45),J(1,Rie,1,0,"ng-container",21),re()),2&t){const e=X();G(1),H("ngTemplateOutlet",e.summaryTemplate)}}function Bie(t,o){1&t&&Re(0,"div",46,47)}function jie(t,o){1&t&&Re(0,"ArrowDownIcon")}function zie(t,o){}function Vie(t,o){1&t&&J(0,zie,0,0,"ng-template")}function Hie(t,o){if(1&t&&(ne(0,"span",48,49),J(2,jie,1,0,"ArrowDownIcon",8),J(3,Vie,1,0,null,21),re()),2&t){const e=X();G(2),H("ngIf",!e.reorderIndicatorUpIconTemplate),G(1),H("ngTemplateOutlet",e.reorderIndicatorUpIconTemplate)}}function Yie(t,o){1&t&&Re(0,"ArrowUpIcon")}function Uie(t,o){}function Wie(t,o){1&t&&J(0,Uie,0,0,"ng-template")}function $ie(t,o){if(1&t&&(ne(0,"span",50,51),J(2,Yie,1,0,"ArrowUpIcon",8),J(3,Wie,1,0,null,21),re()),2&t){const e=X();G(2),H("ngIf",!e.reorderIndicatorDownIconTemplate),G(1),H("ngTemplateOutlet",e.reorderIndicatorDownIconTemplate)}}const qie=function(t,o,e){return{"p-datatable p-component":!0,"p-datatable-hoverable-rows":t,"p-datatable-scrollable":o,"p-datatable-flex-scrollable":e}},Gie=function(t){return{maxHeight:t}},Kie=["pTableBody",""];function Zie(t,o){1&t&&Et(0)}const e4=function(t,o,e,i,s){return{$implicit:t,rowIndex:o,columns:e,editing:i,frozen:s}};function Qie(t,o){if(1&t&&(vt(0,3),J(1,Zie,1,0,"ng-container",4),kt()),2&t){const e=X(),i=e.$implicit,s=e.index,l=X(2);G(1),H("ngTemplateOutlet",l.dt.groupHeaderTemplate)("ngTemplateOutletContext",rf(2,e4,i,l.getRowIndex(s),l.columns,"row"===l.dt.editMode&&l.dt.isRowEditing(i),l.frozen))}}function Jie(t,o){1&t&&Et(0)}function Xie(t,o){if(1&t&&(vt(0),J(1,Jie,1,0,"ng-container",4),kt()),2&t){const e=X(),i=e.$implicit,s=e.index,l=X(2);G(1),H("ngTemplateOutlet",i?l.template:l.dt.loadingBodyTemplate)("ngTemplateOutletContext",rf(2,e4,i,l.getRowIndex(s),l.columns,"row"===l.dt.editMode&&l.dt.isRowEditing(i),l.frozen))}}function eoe(t,o){1&t&&Et(0)}const toe=function(t,o,e,i,s,l,h){return{$implicit:t,rowIndex:o,columns:e,editing:i,frozen:s,rowgroup:l,rowspan:h}};function noe(t,o){if(1&t&&(vt(0),J(1,eoe,1,0,"ng-container",4),kt()),2&t){const e=X(),i=e.$implicit,s=e.index,l=X(2);G(1),H("ngTemplateOutlet",i?l.template:l.dt.loadingBodyTemplate)("ngTemplateOutletContext",function vM(t,o,e,i,s,l,h,m,_,w){const N=Xo()+t,$=lt();let oe=Ps($,N,e,i,s,l);return Jg($,N+4,h,m,_)||oe?ea($,N+7,w?o.call(w,e,i,s,l,h,m,_):o(e,i,s,l,h,m,_)):Su($,N+7)}(2,toe,i,l.getRowIndex(s),l.columns,"row"===l.dt.editMode&&l.dt.isRowEditing(i),l.frozen,l.shouldRenderRowspan(l.value,i,s),l.calculateRowGroupSize(l.value,i,s)))}}function ioe(t,o){1&t&&Et(0)}function ooe(t,o){if(1&t&&(vt(0,3),J(1,ioe,1,0,"ng-container",4),kt()),2&t){const e=X(),i=e.$implicit,s=e.index,l=X(2);G(1),H("ngTemplateOutlet",l.dt.groupFooterTemplate)("ngTemplateOutletContext",rf(2,e4,i,l.getRowIndex(s),l.columns,"row"===l.dt.editMode&&l.dt.isRowEditing(i),l.frozen))}}function roe(t,o){if(1&t&&(J(0,Qie,2,8,"ng-container",2),J(1,Xie,2,8,"ng-container",0),J(2,noe,2,10,"ng-container",0),J(3,ooe,2,8,"ng-container",2)),2&t){const e=o.$implicit,i=o.index,s=X(2);H("ngIf",s.dt.groupHeaderTemplate&&!s.dt.virtualScroll&&"subheader"===s.dt.rowGroupMode&&s.shouldRenderRowGroupHeader(s.value,e,i)),G(1),H("ngIf","rowspan"!==s.dt.rowGroupMode),G(1),H("ngIf","rowspan"===s.dt.rowGroupMode),G(1),H("ngIf",s.dt.groupFooterTemplate&&!s.dt.virtualScroll&&"subheader"===s.dt.rowGroupMode&&s.shouldRenderRowGroupFooter(s.value,e,i))}}function soe(t,o){if(1&t&&(vt(0),J(1,roe,4,4,"ng-template",1),kt()),2&t){const e=X();G(1),H("ngForOf",e.value)("ngForTrackBy",e.dt.rowTrackBy)}}function aoe(t,o){1&t&&Et(0)}const QT=function(t,o,e,i,s,l){return{$implicit:t,rowIndex:o,columns:e,expanded:i,editing:s,frozen:l}};function loe(t,o){if(1&t&&(vt(0),J(1,aoe,1,0,"ng-container",4),kt()),2&t){const e=X(),i=e.$implicit,s=e.index,l=X(2);G(1),H("ngTemplateOutlet",l.template)("ngTemplateOutletContext",Hu(2,QT,i,l.getRowIndex(s),l.columns,l.dt.isRowExpanded(i),"row"===l.dt.editMode&&l.dt.isRowEditing(i),l.frozen))}}function coe(t,o){1&t&&Et(0)}function doe(t,o){if(1&t&&(vt(0,3),J(1,coe,1,0,"ng-container",4),kt()),2&t){const e=X(),i=e.$implicit,s=e.index,l=X(2);G(1),H("ngTemplateOutlet",l.dt.groupHeaderTemplate)("ngTemplateOutletContext",Hu(2,QT,i,l.getRowIndex(s),l.columns,l.dt.isRowExpanded(i),"row"===l.dt.editMode&&l.dt.isRowEditing(i),l.frozen))}}function uoe(t,o){1&t&&Et(0)}function hoe(t,o){1&t&&Et(0)}function poe(t,o){if(1&t&&(vt(0,3),J(1,hoe,1,0,"ng-container",4),kt()),2&t){const e=X(2),i=e.$implicit,s=e.index,l=X(2);G(1),H("ngTemplateOutlet",l.dt.groupFooterTemplate)("ngTemplateOutletContext",Hu(2,QT,i,l.getRowIndex(s),l.columns,l.dt.isRowExpanded(i),"row"===l.dt.editMode&&l.dt.isRowEditing(i),l.frozen))}}const pF=function(t,o,e,i){return{$implicit:t,rowIndex:o,columns:e,frozen:i}};function foe(t,o){if(1&t&&(vt(0),J(1,uoe,1,0,"ng-container",4),J(2,poe,2,9,"ng-container",2),kt()),2&t){const e=X(),i=e.$implicit,s=e.index,l=X(2);G(1),H("ngTemplateOutlet",l.dt.expandedRowTemplate)("ngTemplateOutletContext",tc(3,pF,i,l.getRowIndex(s),l.columns,l.frozen)),G(1),H("ngIf",l.dt.groupFooterTemplate&&"subheader"===l.dt.rowGroupMode&&l.shouldRenderRowGroupFooter(l.value,i,l.getRowIndex(s)))}}function moe(t,o){if(1&t&&(J(0,loe,2,9,"ng-container",0),J(1,doe,2,9,"ng-container",2),J(2,foe,3,8,"ng-container",0)),2&t){const e=o.$implicit,i=o.index,s=X(2);H("ngIf",!s.dt.groupHeaderTemplate),G(1),H("ngIf",s.dt.groupHeaderTemplate&&"subheader"===s.dt.rowGroupMode&&s.shouldRenderRowGroupHeader(s.value,e,s.getRowIndex(i))),G(1),H("ngIf",s.dt.isRowExpanded(e))}}function goe(t,o){if(1&t&&(vt(0),J(1,moe,3,3,"ng-template",1),kt()),2&t){const e=X();G(1),H("ngForOf",e.value)("ngForTrackBy",e.dt.rowTrackBy)}}function _oe(t,o){1&t&&Et(0)}function boe(t,o){1&t&&Et(0)}function voe(t,o){if(1&t&&(vt(0),J(1,boe,1,0,"ng-container",4),kt()),2&t){const e=X(),i=e.$implicit,s=e.index,l=X(2);G(1),H("ngTemplateOutlet",l.dt.frozenExpandedRowTemplate)("ngTemplateOutletContext",tc(2,pF,i,l.getRowIndex(s),l.columns,l.frozen))}}function yoe(t,o){if(1&t&&(J(0,_oe,1,0,"ng-container",4),J(1,voe,2,7,"ng-container",0)),2&t){const e=o.$implicit,i=o.index,s=X(2);H("ngTemplateOutlet",s.template)("ngTemplateOutletContext",Hu(3,QT,e,s.getRowIndex(i),s.columns,s.dt.isRowExpanded(e),"row"===s.dt.editMode&&s.dt.isRowEditing(e),s.frozen)),G(1),H("ngIf",s.dt.isRowExpanded(e))}}function koe(t,o){if(1&t&&(vt(0),J(1,yoe,2,10,"ng-template",1),kt()),2&t){const e=X();G(1),H("ngForOf",e.value)("ngForTrackBy",e.dt.rowTrackBy)}}function woe(t,o){1&t&&Et(0)}const fF=function(t,o){return{$implicit:t,frozen:o}};function Coe(t,o){if(1&t&&(vt(0),J(1,woe,1,0,"ng-container",4),kt()),2&t){const e=X();G(1),H("ngTemplateOutlet",e.dt.loadingBodyTemplate)("ngTemplateOutletContext",Xn(2,fF,e.columns,e.frozen))}}function Aoe(t,o){1&t&&Et(0)}function Moe(t,o){if(1&t&&(vt(0),J(1,Aoe,1,0,"ng-container",4),kt()),2&t){const e=X();G(1),H("ngTemplateOutlet",e.dt.emptyMessageTemplate)("ngTemplateOutletContext",Xn(2,fF,e.columns,e.frozen))}}let t4=(()=>{class t{constructor(){this.sortSource=new Ie,this.selectionSource=new Ie,this.contextMenuSource=new Ie,this.valueSource=new Ie,this.totalRecordsSource=new Ie,this.columnsSource=new Ie,this.sortSource$=this.sortSource.asObservable(),this.selectionSource$=this.selectionSource.asObservable(),this.contextMenuSource$=this.contextMenuSource.asObservable(),this.valueSource$=this.valueSource.asObservable(),this.totalRecordsSource$=this.totalRecordsSource.asObservable(),this.columnsSource$=this.columnsSource.asObservable()}onSort(e){this.sortSource.next(e)}onSelectionChange(){this.selectionSource.next(null)}onContextMenu(e){this.contextMenuSource.next(e)}onValueChange(e){this.valueSource.next(e)}onTotalRecordsChange(e){this.totalRecordsSource.next(e)}onColumnsChange(e){this.columnsSource.next(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=gt({token:t,factory:t.\u0275fac}),t})(),mF=(()=>{class t{constructor(e,i,s,l,h,m,_,w,N){this.document=e,this.platformId=i,this.renderer=s,this.el=l,this.zone=h,this.tableService=m,this.cd=_,this.filterService=w,this.overlayService=N,this.pageLinks=5,this.alwaysShowPaginator=!0,this.paginatorPosition="bottom",this.paginatorDropdownScrollHeight="200px",this.currentPageReportTemplate="{currentPage} of {totalPages}",this.showFirstLastIcon=!0,this.showPageLinks=!0,this.defaultSortOrder=1,this.sortMode="single",this.resetPageOnSort=!0,this.selectAllChange=new Qe,this.selectionChange=new Qe,this.contextMenuSelectionChange=new Qe,this.contextMenuSelectionMode="separate",this.rowTrackBy=($,oe)=>oe,this.lazy=!1,this.lazyLoadOnInit=!0,this.compareSelectionBy="deepEquals",this.csvSeparator=",",this.exportFilename="download",this.filters={},this.filterDelay=300,this.expandedRowKeys={},this.editingRowKeys={},this.rowExpandMode="multiple",this.scrollDirection="vertical",this.virtualScrollDelay=250,this.columnResizeMode="fit",this.showLoader=!0,this.showInitialSortBadge=!0,this.stateStorage="session",this.editMode="cell",this.groupRowsByOrder=1,this.responsiveLayout="scroll",this.breakpoint="960px",this.onRowSelect=new Qe,this.onRowUnselect=new Qe,this.onPage=new Qe,this.onSort=new Qe,this.onFilter=new Qe,this.onLazyLoad=new Qe,this.onRowExpand=new Qe,this.onRowCollapse=new Qe,this.onContextMenuSelect=new Qe,this.onColResize=new Qe,this.onColReorder=new Qe,this.onRowReorder=new Qe,this.onEditInit=new Qe,this.onEditComplete=new Qe,this.onEditCancel=new Qe,this.onHeaderCheckboxToggle=new Qe,this.sortFunction=new Qe,this.firstChange=new Qe,this.rowsChange=new Qe,this.onStateSave=new Qe,this.onStateRestore=new Qe,this._virtualRowHeight=28,this._value=[],this._totalRecords=0,this._first=0,this.selectionKeys={},this._sortOrder=1,this._selectAll=null,this.columnResizing=!1,this.rowGroupHeaderStyleObject={},this.id=YT(),this.window=this.document.defaultView}get responsive(){return this._responsive}set responsive(e){this._responsive=e,console.warn("responsive propery is deprecated as table is always responsive with scrollable behavior.")}get virtualRowHeight(){return this._virtualRowHeight}set virtualRowHeight(e){this._virtualRowHeight=e,console.warn("The virtualRowHeight property is deprecated, use virtualScrollItemSize property instead.")}ngOnInit(){this.lazy&&this.lazyLoadOnInit&&(this.virtualScroll||this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.restoringFilter&&(this.restoringFilter=!1)),"stack"===this.responsiveLayout&&!this.scrollable&&this.createResponsiveStyle(),this.initialized=!0}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"caption":this.captionTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"headergrouped":this.headerGroupedTemplate=e.template;break;case"body":this.bodyTemplate=e.template;break;case"loadingbody":this.loadingBodyTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"footergrouped":this.footerGroupedTemplate=e.template;break;case"summary":this.summaryTemplate=e.template;break;case"colgroup":this.colGroupTemplate=e.template;break;case"rowexpansion":this.expandedRowTemplate=e.template;break;case"groupheader":this.groupHeaderTemplate=e.template;break;case"rowspan":this.rowspanTemplate=e.template;break;case"groupfooter":this.groupFooterTemplate=e.template;break;case"frozenrows":this.frozenRowsTemplate=e.template;break;case"frozenheader":this.frozenHeaderTemplate=e.template;break;case"frozenbody":this.frozenBodyTemplate=e.template;break;case"frozenfooter":this.frozenFooterTemplate=e.template;break;case"frozencolgroup":this.frozenColGroupTemplate=e.template;break;case"frozenrowexpansion":this.frozenExpandedRowTemplate=e.template;break;case"emptymessage":this.emptyMessageTemplate=e.template;break;case"paginatorleft":this.paginatorLeftTemplate=e.template;break;case"paginatorright":this.paginatorRightTemplate=e.template;break;case"paginatordropdownitem":this.paginatorDropdownItemTemplate=e.template;break;case"paginatorfirstpagelinkicon":this.paginatorFirstPageLinkIconTemplate=e.template;break;case"paginatorlastpagelinkicon":this.paginatorLastPageLinkIconTemplate=e.template;break;case"paginatorpreviouspagelinkicon":this.paginatorPreviousPageLinkIconTemplate=e.template;break;case"paginatornextpagelinkicon":this.paginatorNextPageLinkIconTemplate=e.template;break;case"loadingicon":this.loadingIconTemplate=e.template;break;case"reorderindicatorupicon":this.reorderIndicatorUpIconTemplate=e.template;break;case"reorderindicatordownicon":this.reorderIndicatorDownIconTemplate=e.template;break;case"sorticon":this.sortIconTemplate=e.template;break;case"checkboxicon":this.checkboxIconTemplate=e.template;break;case"headercheckboxicon":this.headerCheckboxIconTemplate=e.template}})}ngAfterViewInit(){this.isStateful()&&this.resizableColumns&&this.restoreColumnWidths(),Gi.check()}ngOnChanges(e){e.value&&(this.isStateful()&&!this.stateRestored&&this.restoreState(),this._value=e.value.currentValue,this.lazy||(this.totalRecords=this._value?this._value.length:0,"single"==this.sortMode&&(this.sortField||this.groupRowsBy)?this.sortSingle():"multiple"==this.sortMode&&(this.multiSortMeta||this.groupRowsBy)?this.sortMultiple():this.hasFilter()&&this._filter()),this.tableService.onValueChange(e.value.currentValue)),e.columns&&(this._columns=e.columns.currentValue,this.tableService.onColumnsChange(e.columns.currentValue),this._columns&&this.isStateful()&&this.reorderableColumns&&!this.columnOrderStateRestored&&this.restoreColumnOrder()),e.sortField&&(this._sortField=e.sortField.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),e.groupRowsBy&&(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle(),e.sortOrder&&(this._sortOrder=e.sortOrder.currentValue,(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle()),e.groupRowsByOrder&&(!this.lazy||this.initialized)&&"single"===this.sortMode&&this.sortSingle(),e.multiSortMeta&&(this._multiSortMeta=e.multiSortMeta.currentValue,"multiple"===this.sortMode&&(this.initialized||!this.lazy&&!this.virtualScroll)&&this.sortMultiple()),e.selection&&(this._selection=e.selection.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange()),this.preventSelectionSetterPropagation=!1),e.selectAll&&(this._selectAll=e.selectAll.currentValue,this.preventSelectionSetterPropagation||(this.updateSelectionKeys(),this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()),this.preventSelectionSetterPropagation=!1)}get value(){return this._value}set value(e){this._value=e}get columns(){return this._columns}set columns(e){this._columns=e}get first(){return this._first}set first(e){this._first=e}get rows(){return this._rows}set rows(e){this._rows=e}get totalRecords(){return this._totalRecords}set totalRecords(e){this._totalRecords=e,this.tableService.onTotalRecordsChange(this._totalRecords)}get sortField(){return this._sortField}set sortField(e){this._sortField=e}get sortOrder(){return this._sortOrder}set sortOrder(e){this._sortOrder=e}get multiSortMeta(){return this._multiSortMeta}set multiSortMeta(e){this._multiSortMeta=e}get selection(){return this._selection}set selection(e){this._selection=e}get selectAll(){return this._selection}set selectAll(e){this._selection=e}get processedData(){return this.filteredValue||this.value||[]}dataToRender(e){const i=e||this.processedData;if(i&&this.paginator){const s=this.lazy?0:this.first;return i.slice(s,s+this.rows)}return i}updateSelectionKeys(){if(this.dataKey&&this._selection)if(this.selectionKeys={},Array.isArray(this._selection))for(let e of this._selection)this.selectionKeys[String(St.resolveFieldData(e,this.dataKey))]=1;else this.selectionKeys[String(St.resolveFieldData(this._selection,this.dataKey))]=1}onPageChange(e){this.first=e.first,this.rows=e.rows,this.onPage.emit({first:this.first,rows:this.rows}),this.lazy&&this.onLazyLoad.emit(this.createLazyLoadMetadata()),this.firstChange.emit(this.first),this.rowsChange.emit(this.rows),this.tableService.onValueChange(this.value),this.isStateful()&&this.saveState(),this.anchorRowIndex=null,this.scrollable&&this.resetScrollTop()}sort(e){let i=e.originalEvent;if("single"===this.sortMode&&(this._sortOrder=this.sortField===e.field?-1*this.sortOrder:this.defaultSortOrder,this._sortField=e.field,this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop()),this.sortSingle()),"multiple"===this.sortMode){let s=i.metaKey||i.ctrlKey,l=this.getSortMeta(e.field);l?s?l.order=-1*l.order:(this._multiSortMeta=[{field:e.field,order:-1*l.order}],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first),this.scrollable&&this.resetScrollTop())):((!s||!this.multiSortMeta)&&(this._multiSortMeta=[],this.resetPageOnSort&&(this._first=0,this.firstChange.emit(this._first))),this._multiSortMeta.push({field:e.field,order:this.defaultSortOrder})),this.sortMultiple()}this.isStateful()&&this.saveState(),this.anchorRowIndex=null}sortSingle(){let e=this.sortField||this.groupRowsBy,i=this.sortField?this.sortOrder:this.groupRowsByOrder;if(this.groupRowsBy&&this.sortField&&this.groupRowsBy!==this.sortField)return this._multiSortMeta=[this.getGroupRowsMeta(),{field:this.sortField,order:this.sortOrder}],void this.sortMultiple();if(e&&i){this.restoringSort&&(this.restoringSort=!1),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,field:e,order:i}):(this.value.sort((l,h)=>{let m=St.resolveFieldData(l,e),_=St.resolveFieldData(h,e),w=null;return w=null==m&&null!=_?-1:null!=m&&null==_?1:null==m&&null==_?0:"string"==typeof m&&"string"==typeof _?m.localeCompare(_):m<_?-1:m>_?1:0,i*w}),this._value=[...this.value]),this.hasFilter()&&this._filter());let s={field:e,order:i};this.onSort.emit(s),this.tableService.onSort(s)}}sortMultiple(){this.groupRowsBy&&(this._multiSortMeta?this.multiSortMeta[0].field!==this.groupRowsBy&&(this._multiSortMeta=[this.getGroupRowsMeta(),...this._multiSortMeta]):this._multiSortMeta=[this.getGroupRowsMeta()]),this.multiSortMeta&&(this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.value&&(this.customSort?this.sortFunction.emit({data:this.value,mode:this.sortMode,multiSortMeta:this.multiSortMeta}):(this.value.sort((e,i)=>this.multisortField(e,i,this.multiSortMeta,0)),this._value=[...this.value]),this.hasFilter()&&this._filter()),this.onSort.emit({multisortmeta:this.multiSortMeta}),this.tableService.onSort(this.multiSortMeta))}multisortField(e,i,s,l){const h=St.resolveFieldData(e,s[l].field),m=St.resolveFieldData(i,s[l].field);return 0===St.compare(h,m,this.filterLocale)?s.length-1>l?this.multisortField(e,i,s,l+1):0:this.compareValuesOnSort(h,m,s[l].order)}compareValuesOnSort(e,i,s){return St.sort(e,i,s,this.filterLocale,this.sortOrder)}getSortMeta(e){if(this.multiSortMeta&&this.multiSortMeta.length)for(let i=0;i<this.multiSortMeta.length;i++)if(this.multiSortMeta[i].field===e)return this.multiSortMeta[i];return null}isSorted(e){if("single"===this.sortMode)return this.sortField&&this.sortField===e;if("multiple"===this.sortMode){let i=!1;if(this.multiSortMeta)for(let s=0;s<this.multiSortMeta.length;s++)if(this.multiSortMeta[s].field==e){i=!0;break}return i}}handleRowClick(e){let i=e.originalEvent.target,s=i.nodeName,l=i.parentElement&&i.parentElement.nodeName;if("INPUT"!=s&&"BUTTON"!=s&&"A"!=s&&"INPUT"!=l&&"BUTTON"!=l&&"A"!=l&&!Le.hasClass(e.originalEvent.target,"p-clickable")){if(this.selectionMode){let h=e.rowData,m=e.rowIndex;if(this.preventSelectionSetterPropagation=!0,this.isMultipleSelectionMode()&&e.originalEvent.shiftKey&&null!=this.anchorRowIndex)Le.clearSelection(),null!=this.rangeRowIndex&&this.clearSelectionRange(e.originalEvent),this.rangeRowIndex=m,this.selectRange(e.originalEvent,m);else{let _=this.isSelected(h);if(!_&&!this.isRowSelectable(h,m))return;let w=!this.rowTouched&&this.metaKeySelection,N=this.dataKey?String(St.resolveFieldData(h,this.dataKey)):null;if(this.anchorRowIndex=m,this.rangeRowIndex=m,w){let $=e.originalEvent.metaKey||e.originalEvent.ctrlKey;if(_&&$){if(this.isSingleSelectionMode())this._selection=null,this.selectionKeys={},this.selectionChange.emit(null);else{let oe=this.findIndexInSelection(h);this._selection=this.selection.filter((le,ve)=>ve!=oe),this.selectionChange.emit(this.selection),N&&delete this.selectionKeys[N]}this.onRowUnselect.emit({originalEvent:e.originalEvent,data:h,type:"row"})}else this.isSingleSelectionMode()?(this._selection=h,this.selectionChange.emit(h),N&&(this.selectionKeys={},this.selectionKeys[N]=1)):this.isMultipleSelectionMode()&&($?this._selection=this.selection||[]:(this._selection=[],this.selectionKeys={}),this._selection=[...this.selection,h],this.selectionChange.emit(this.selection),N&&(this.selectionKeys[N]=1)),this.onRowSelect.emit({originalEvent:e.originalEvent,data:h,type:"row",index:m})}else if("single"===this.selectionMode)_?(this._selection=null,this.selectionKeys={},this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,data:h,type:"row",index:m})):(this._selection=h,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,data:h,type:"row",index:m}),N&&(this.selectionKeys={},this.selectionKeys[N]=1));else if("multiple"===this.selectionMode)if(_){let $=this.findIndexInSelection(h);this._selection=this.selection.filter((oe,le)=>le!=$),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,data:h,type:"row",index:m}),N&&delete this.selectionKeys[N]}else this._selection=this.selection?[...this.selection,h]:[h],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,data:h,type:"row",index:m}),N&&(this.selectionKeys[N]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}this.rowTouched=!1}}handleRowTouchEnd(e){this.rowTouched=!0}handleRowRightClick(e){if(this.contextMenu){const i=e.rowData,s=e.rowIndex;if("separate"===this.contextMenuSelectionMode)this.contextMenuSelection=i,this.contextMenuSelectionChange.emit(i),this.onContextMenuSelect.emit({originalEvent:e.originalEvent,data:i,index:e.rowIndex}),this.contextMenu.show(e.originalEvent),this.tableService.onContextMenu(i);else if("joint"===this.contextMenuSelectionMode){this.preventSelectionSetterPropagation=!0;let l=this.isSelected(i),h=this.dataKey?String(St.resolveFieldData(i,this.dataKey)):null;if(!l){if(!this.isRowSelectable(i,s))return;this.isSingleSelectionMode()?(this.selection=i,this.selectionChange.emit(i),h&&(this.selectionKeys={},this.selectionKeys[h]=1)):this.isMultipleSelectionMode()&&(this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),h&&(this.selectionKeys[h]=1))}this.tableService.onSelectionChange(),this.contextMenu.show(e.originalEvent),this.onContextMenuSelect.emit({originalEvent:e,data:i,index:e.rowIndex})}}}selectRange(e,i){let s,l;this.anchorRowIndex>i?(s=i,l=this.anchorRowIndex):this.anchorRowIndex<i?(s=this.anchorRowIndex,l=i):(s=i,l=i),this.lazy&&this.paginator&&(s-=this.first,l-=this.first);let h=[];for(let m=s;m<=l;m++){let _=this.filteredValue?this.filteredValue[m]:this.value[m];if(!this.isSelected(_)){if(!this.isRowSelectable(_,i))continue;h.push(_),this._selection=[...this.selection,_];let w=this.dataKey?String(St.resolveFieldData(_,this.dataKey)):null;w&&(this.selectionKeys[w]=1)}}this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e,data:h,type:"row"})}clearSelectionRange(e){let i,s;this.rangeRowIndex>this.anchorRowIndex?(i=this.anchorRowIndex,s=this.rangeRowIndex):this.rangeRowIndex<this.anchorRowIndex?(i=this.rangeRowIndex,s=this.anchorRowIndex):(i=this.rangeRowIndex,s=this.rangeRowIndex);for(let l=i;l<=s;l++){let h=this.value[l],m=this.findIndexInSelection(h);this._selection=this.selection.filter((w,N)=>N!=m);let _=this.dataKey?String(St.resolveFieldData(h,this.dataKey)):null;_&&delete this.selectionKeys[_],this.onRowUnselect.emit({originalEvent:e,data:h,type:"row"})}}isSelected(e){return!(!e||!this.selection)&&(this.dataKey?void 0!==this.selectionKeys[St.resolveFieldData(e,this.dataKey)]:Array.isArray(this.selection)?this.findIndexInSelection(e)>-1:this.equals(e,this.selection))}findIndexInSelection(e){let i=-1;if(this.selection&&this.selection.length)for(let s=0;s<this.selection.length;s++)if(this.equals(e,this.selection[s])){i=s;break}return i}isRowSelectable(e,i){return!(this.rowSelectable&&!this.rowSelectable({data:e,index:i}))}toggleRowWithRadio(e,i){if(this.preventSelectionSetterPropagation=!0,this.selection!=i){if(!this.isRowSelectable(i,e.rowIndex))return;this._selection=i,this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:i,type:"radiobutton"}),this.dataKey&&(this.selectionKeys={},this.selectionKeys[String(St.resolveFieldData(i,this.dataKey))]=1)}else this._selection=null,this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:i,type:"radiobutton"});this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}toggleRowWithCheckbox(e,i){this.selection=this.selection||[];let s=this.isSelected(i),l=this.dataKey?String(St.resolveFieldData(i,this.dataKey)):null;if(this.preventSelectionSetterPropagation=!0,s){let h=this.findIndexInSelection(i);this._selection=this.selection.filter((m,_)=>_!=h),this.selectionChange.emit(this.selection),this.onRowUnselect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:i,type:"checkbox"}),l&&delete this.selectionKeys[l]}else{if(!this.isRowSelectable(i,e.rowIndex))return;this._selection=this.selection?[...this.selection,i]:[i],this.selectionChange.emit(this.selection),this.onRowSelect.emit({originalEvent:e.originalEvent,index:e.rowIndex,data:i,type:"checkbox"}),l&&(this.selectionKeys[l]=1)}this.tableService.onSelectionChange(),this.isStateful()&&this.saveState()}toggleRowsWithCheckbox(e,i){if(null!==this._selectAll)this.selectAllChange.emit({originalEvent:e,checked:i});else{const s=this.selectionPageOnly?this.dataToRender(this.processedData):this.processedData;let l=this.selectionPageOnly&&this._selection?this._selection.filter(h=>!s.some(m=>this.equals(h,m))):[];i&&(l=this.frozenValue?[...l,...this.frozenValue,...s]:[...l,...s],l=this.rowSelectable?l.filter((h,m)=>this.rowSelectable({data:h,index:m})):l),this._selection=l,this.preventSelectionSetterPropagation=!0,this.updateSelectionKeys(),this.selectionChange.emit(this._selection),this.tableService.onSelectionChange(),this.onHeaderCheckboxToggle.emit({originalEvent:e,checked:i}),this.isStateful()&&this.saveState()}}equals(e,i){return"equals"===this.compareSelectionBy?e===i:St.equals(e,i,this.dataKey)}filter(e,i,s){this.filterTimeout&&clearTimeout(this.filterTimeout),this.isFilterBlank(e)?this.filters[i]&&delete this.filters[i]:this.filters[i]={value:e,matchMode:s},this.filterTimeout=setTimeout(()=>{this._filter(),this.filterTimeout=null},this.filterDelay),this.anchorRowIndex=null}filterGlobal(e,i){this.filter(e,"global",i)}isFilterBlank(e){return null==e||!!("string"==typeof e&&0==e.trim().length||Array.isArray(e)&&0==e.length)}_filter(){if(this.restoringFilter||(this.first=0,this.firstChange.emit(this.first)),this.lazy)this.onLazyLoad.emit(this.createLazyLoadMetadata());else{if(!this.value)return;if(this.hasFilter()){let e;if(this.filters.global){if(!this.columns&&!this.globalFilterFields)throw new Error("Global filtering requires dynamic columns or globalFilterFields to be defined.");e=this.globalFilterFields||this.columns}this.filteredValue=[];for(let i=0;i<this.value.length;i++){let m,s=!0,l=!1,h=!1;for(let _ in this.filters)if(this.filters.hasOwnProperty(_)&&"global"!==_){h=!0;let w=_,N=this.filters[w];if(Array.isArray(N)){for(let $ of N)if(s=this.executeLocalFilter(w,this.value[i],$),$.operator===u9.OR&&s||$.operator===u9.AND&&!s)break}else s=this.executeLocalFilter(w,this.value[i],N);if(!s)break}if(this.filters.global&&!l&&e)for(let _=0;_<e.length&&(l=this.filterService.filters[this.filters.global.matchMode](St.resolveFieldData(this.value[i],e[_].field||e[_]),this.filters.global.value,this.filterLocale),!l);_++);m=this.filters.global?h?h&&s&&l:l:h&&s,m&&this.filteredValue.push(this.value[i])}this.filteredValue.length===this.value.length&&(this.filteredValue=null),this.paginator&&(this.totalRecords=this.filteredValue?this.filteredValue.length:this.value?this.value.length:0)}else this.filteredValue=null,this.paginator&&(this.totalRecords=this.value?this.value.length:0)}this.onFilter.emit({filters:this.filters,filteredValue:this.filteredValue||this.value}),this.tableService.onValueChange(this.value),this.isStateful()&&!this.restoringFilter&&this.saveState(),this.restoringFilter&&(this.restoringFilter=!1),this.cd.markForCheck(),this.scrollable&&this.resetScrollTop()}executeLocalFilter(e,i,s){let l=s.value,h=s.matchMode||Sr.STARTS_WITH,m=St.resolveFieldData(i,e);return(0,this.filterService.filters[h])(m,l,this.filterLocale)}hasFilter(){let e=!0;for(let i in this.filters)if(this.filters.hasOwnProperty(i)){e=!1;break}return!e}createLazyLoadMetadata(){return{first:this.first,rows:this.rows,sortField:this.sortField,sortOrder:this.sortOrder,filters:this.filters,globalFilter:this.filters&&this.filters.global?this.filters.global.value:null,multiSortMeta:this.multiSortMeta,forceUpdate:()=>this.cd.detectChanges()}}clear(){this._sortField=null,this._sortOrder=this.defaultSortOrder,this._multiSortMeta=null,this.tableService.onSort(null),this.clearFilterValues(),this.filteredValue=null,this.first=0,this.firstChange.emit(this.first),this.lazy?this.onLazyLoad.emit(this.createLazyLoadMetadata()):this.totalRecords=this._value?this._value.length:0}clearFilterValues(){for(const[,e]of Object.entries(this.filters))if(Array.isArray(e))for(let i of e)i.value=null;else e&&(e.value=null)}reset(){this.clear()}getExportHeader(e){return e[this.exportHeader]||e.header||e.field}exportCSV(e){let i,s="",l=this.columns;e&&e.selectionOnly?i=this.selection||[]:e&&e.allValues?i=this.value||[]:(i=this.filteredValue||this.value,this.frozenValue&&(i=i?[...this.frozenValue,...i]:this.frozenValue));for(let _=0;_<l.length;_++){let w=l[_];!1!==w.exportable&&w.field&&(s+='"'+this.getExportHeader(w)+'"',_<l.length-1&&(s+=this.csvSeparator))}i.forEach((_,w)=>{s+="\n";for(let N=0;N<l.length;N++){let $=l[N];if(!1!==$.exportable&&$.field){let oe=St.resolveFieldData(_,$.field);oe=null!=oe?this.exportFunction?this.exportFunction({data:oe,field:$.field}):String(oe).replace(/"/g,'""'):"",s+='"'+oe+'"',N<l.length-1&&(s+=this.csvSeparator)}}});let h=new Blob([s],{type:"text/csv;charset=utf-8;"}),m=this.renderer.createElement("a");m.style.display="none",this.renderer.appendChild(this.document.body,m),void 0!==m.download?(m.setAttribute("href",URL.createObjectURL(h)),m.setAttribute("download",this.exportFilename+".csv"),m.click()):(s="data:text/csv;charset=utf-8,"+s,this.window.open(encodeURI(s))),this.renderer.removeChild(this.document.body,m)}onLazyItemLoad(e){this.onLazyLoad.emit({...this.createLazyLoadMetadata(),...e,rows:e.last-e.first})}resetScrollTop(){this.virtualScroll?this.scrollToVirtualIndex(0):this.scrollTo({top:0})}scrollToVirtualIndex(e){this.virtualScroll&&this.scroller.scrollToIndex(e)}scrollTo(e){this.virtualScroll?this.scroller.scrollTo(e):this.wrapperViewChild&&this.wrapperViewChild.nativeElement&&(this.wrapperViewChild.nativeElement.scrollTo?this.wrapperViewChild.nativeElement.scrollTo(e):(this.wrapperViewChild.nativeElement.scrollLeft=e.left,this.wrapperViewChild.nativeElement.scrollTop=e.top))}updateEditingCell(e,i,s,l){this.editingCell=e,this.editingCellData=i,this.editingCellField=s,this.editingCellRowIndex=l,this.bindDocumentEditListener()}isEditingCellValid(){return this.editingCell&&0===Le.find(this.editingCell,".ng-invalid.ng-dirty").length}bindDocumentEditListener(){this.documentEditListener||(this.documentEditListener=this.renderer.listen(this.document,"click",e=>{this.editingCell&&!this.selfClick&&this.isEditingCellValid()&&(Le.removeClass(this.editingCell,"p-cell-editing"),this.editingCell=null,this.onEditComplete.emit({field:this.editingCellField,data:this.editingCellData,originalEvent:e,index:this.editingCellRowIndex}),this.editingCellField=null,this.editingCellData=null,this.editingCellRowIndex=null,this.unbindDocumentEditListener(),this.cd.markForCheck(),this.overlaySubscription&&this.overlaySubscription.unsubscribe()),this.selfClick=!1}))}unbindDocumentEditListener(){this.documentEditListener&&(this.documentEditListener(),this.documentEditListener=null)}initRowEdit(e){let i=String(St.resolveFieldData(e,this.dataKey));this.editingRowKeys[i]=!0}saveRowEdit(e,i){if(0===Le.find(i,".ng-invalid.ng-dirty").length){let s=String(St.resolveFieldData(e,this.dataKey));delete this.editingRowKeys[s]}}cancelRowEdit(e){let i=String(St.resolveFieldData(e,this.dataKey));delete this.editingRowKeys[i]}toggleRow(e,i){if(!this.dataKey)throw new Error("dataKey must be defined to use row expansion");let s=String(St.resolveFieldData(e,this.dataKey));null!=this.expandedRowKeys[s]?(delete this.expandedRowKeys[s],this.onRowCollapse.emit({originalEvent:i,data:e})):("single"===this.rowExpandMode&&(this.expandedRowKeys={}),this.expandedRowKeys[s]=!0,this.onRowExpand.emit({originalEvent:i,data:e})),i&&i.preventDefault(),this.isStateful()&&this.saveState()}isRowExpanded(e){return!0===this.expandedRowKeys[String(St.resolveFieldData(e,this.dataKey))]}isRowEditing(e){return!0===this.editingRowKeys[String(St.resolveFieldData(e,this.dataKey))]}isSingleSelectionMode(){return"single"===this.selectionMode}isMultipleSelectionMode(){return"multiple"===this.selectionMode}onColumnResizeBegin(e){let i=Le.getOffset(this.containerViewChild?.nativeElement).left;this.resizeColumnElement=e.target.parentElement,this.columnResizing=!0,this.lastResizerHelperX=e.pageX-i+this.containerViewChild?.nativeElement.scrollLeft,this.onColumnResize(e),e.preventDefault()}onColumnResize(e){let i=Le.getOffset(this.containerViewChild?.nativeElement).left;Le.addClass(this.containerViewChild?.nativeElement,"p-unselectable-text"),this.resizeHelperViewChild.nativeElement.style.height=this.containerViewChild?.nativeElement.offsetHeight+"px",this.resizeHelperViewChild.nativeElement.style.top="0px",this.resizeHelperViewChild.nativeElement.style.left=e.pageX-i+this.containerViewChild?.nativeElement.scrollLeft+"px",this.resizeHelperViewChild.nativeElement.style.display="block"}onColumnResizeEnd(){let e=this.resizeHelperViewChild?.nativeElement.offsetLeft-this.lastResizerHelperX,s=this.resizeColumnElement.offsetWidth+e;if(s>=(this.resizeColumnElement.style.minWidth.replace(/[^\d.]/g,"")||15)){if("fit"===this.columnResizeMode){let m=this.resizeColumnElement.nextElementSibling.offsetWidth-e;s>15&&m>15&&this.resizeTableCells(s,m)}else"expand"===this.columnResizeMode&&(this._initialColWidths=this._totalTableWidth(),this.setResizeTableWidth(this.tableViewChild?.nativeElement.offsetWidth+e+"px"),this.resizeTableCells(s,null));this.onColResize.emit({element:this.resizeColumnElement,delta:e}),this.isStateful()&&this.saveState()}this.resizeHelperViewChild.nativeElement.style.display="none",Le.removeClass(this.containerViewChild?.nativeElement,"p-unselectable-text")}onColumnDragStart(e,i){this.reorderIconWidth=Le.getHiddenElementOuterWidth(this.reorderIndicatorUpViewChild.nativeElement),this.reorderIconHeight=Le.getHiddenElementOuterHeight(this.reorderIndicatorDownViewChild.nativeElement),this.draggedColumn=i,e.dataTransfer.setData("text","b")}onColumnDragEnter(e,i){if(this.reorderableColumns&&this.draggedColumn&&i){e.preventDefault();let s=Le.getOffset(this.containerViewChild.nativeElement),l=Le.getOffset(i);if(this.draggedColumn!=i){Le.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),Le.indexWithinGroup(i,"preorderablecolumn");let _=l.left-s.left,N=l.left+i.offsetWidth/2;this.reorderIndicatorUpViewChild.nativeElement.style.top=l.top-s.top-(this.reorderIconHeight-1)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.top=l.top-s.top+i.offsetHeight+"px",e.pageX>N?(this.reorderIndicatorUpViewChild.nativeElement.style.left=_+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=_+i.offsetWidth-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUpViewChild.nativeElement.style.left=_-Math.ceil(this.reorderIconWidth/2)+"px",this.reorderIndicatorDownViewChild.nativeElement.style.left=_-Math.ceil(this.reorderIconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUpViewChild.nativeElement.style.display="block",this.reorderIndicatorDownViewChild.nativeElement.style.display="block"}else e.dataTransfer.dropEffect="none"}}onColumnDragLeave(e){this.reorderableColumns&&this.draggedColumn&&e.preventDefault()}onColumnDrop(e,i){if(e.preventDefault(),this.draggedColumn){let s=Le.indexWithinGroup(this.draggedColumn,"preorderablecolumn"),l=Le.indexWithinGroup(i,"preorderablecolumn"),h=s!=l;if(h&&(l-s==1&&-1===this.dropPosition||s-l==1&&1===this.dropPosition)&&(h=!1),h&&l<s&&1===this.dropPosition&&(l+=1),h&&l>s&&-1===this.dropPosition&&(l-=1),h&&(St.reorderArray(this.columns,s,l),this.onColReorder.emit({dragIndex:s,dropIndex:l,columns:this.columns}),this.isStateful()&&this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.saveState()})})),this.resizableColumns&&this.resizeColumnElement&&this.resizeColumnElement.isSameNode(this.draggedColumn)){let m="expand"===this.columnResizeMode?this._initialColWidths:this._totalTableWidth();St.reorderArray(m,s+1,l+1),this.updateStyleElement(m,s,null,null)}this.reorderIndicatorUpViewChild.nativeElement.style.display="none",this.reorderIndicatorDownViewChild.nativeElement.style.display="none",this.draggedColumn.draggable=!1,this.draggedColumn=null,this.dropPosition=null}}_totalTableWidth(){let e=[];const i=Le.findSingle(this.containerViewChild.nativeElement,".p-datatable-thead");return Le.find(i,"tr > th").forEach(l=>e.push(Le.getOuterWidth(l))),e}resizeTableCells(e,i){let s=Le.index(this.resizeColumnElement),l="expand"===this.columnResizeMode?this._initialColWidths:this._totalTableWidth();this.updateStyleElement(l,s,e,i)}updateStyleElement(e,i,s,l){this.destroyStyleElement(),this.createStyleElement();let h="";e.forEach((m,_)=>{let w=_===i?s:l&&_===i+1?l:m;h+=`\n                #${this.id}-table > .p-datatable-thead > tr > th:nth-child(${_+1}),\n                #${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${_+1}),\n                #${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${_+1}) {\n                    width: ${w}px !important; max-width: ${w}px !important;\n                }\n            `}),this.renderer.setProperty(this.styleElement,"innerHTML",h)}onRowDragStart(e,i){this.rowDragging=!0,this.draggedRowIndex=i,e.dataTransfer.setData("text","b")}onRowDragOver(e,i,s){if(this.rowDragging&&this.draggedRowIndex!==i){let l=Le.getOffset(s).top,h=e.pageY,m=l+Le.getOuterHeight(s)/2,_=s.previousElementSibling;h<m?(Le.removeClass(s,"p-datatable-dragpoint-bottom"),this.droppedRowIndex=i,_?Le.addClass(_,"p-datatable-dragpoint-bottom"):Le.addClass(s,"p-datatable-dragpoint-top")):(_?Le.removeClass(_,"p-datatable-dragpoint-bottom"):Le.addClass(s,"p-datatable-dragpoint-top"),this.droppedRowIndex=i+1,Le.addClass(s,"p-datatable-dragpoint-bottom"))}}onRowDragLeave(e,i){let s=i.previousElementSibling;s&&Le.removeClass(s,"p-datatable-dragpoint-bottom"),Le.removeClass(i,"p-datatable-dragpoint-bottom"),Le.removeClass(i,"p-datatable-dragpoint-top")}onRowDragEnd(e){this.rowDragging=!1,this.draggedRowIndex=null,this.droppedRowIndex=null}onRowDrop(e,i){if(null!=this.droppedRowIndex){let s=this.draggedRowIndex>this.droppedRowIndex?this.droppedRowIndex:0===this.droppedRowIndex?0:this.droppedRowIndex-1;St.reorderArray(this.value,this.draggedRowIndex,s),this.virtualScroll&&(this._value=[...this._value]),this.onRowReorder.emit({dragIndex:this.draggedRowIndex,dropIndex:s})}this.onRowDragLeave(e,i),this.onRowDragEnd(e)}isEmpty(){let e=this.filteredValue||this.value;return null==e||0==e.length}getBlockableElement(){return this.el.nativeElement.children[0]}getStorage(){if(!Bs(this.platformId))throw new Error("Browser storage is not available in the server side.");switch(this.stateStorage){case"local":return window.localStorage;case"session":return window.sessionStorage;default:throw new Error(this.stateStorage+' is not a valid value for the state storage, supported values are "local" and "session".')}}isStateful(){return null!=this.stateKey}saveState(){const e=this.getStorage();let i={};this.paginator&&(i.first=this.first,i.rows=this.rows),this.sortField&&(i.sortField=this.sortField,i.sortOrder=this.sortOrder),this.multiSortMeta&&(i.multiSortMeta=this.multiSortMeta),this.hasFilter()&&(i.filters=this.filters),this.resizableColumns&&this.saveColumnWidths(i),this.reorderableColumns&&this.saveColumnOrder(i),this.selection&&(i.selection=this.selection),Object.keys(this.expandedRowKeys).length&&(i.expandedRowKeys=this.expandedRowKeys),e.setItem(this.stateKey,JSON.stringify(i)),this.onStateSave.emit(i)}clearState(){const e=this.getStorage();this.stateKey&&e.removeItem(this.stateKey)}restoreState(){const i=this.getStorage().getItem(this.stateKey),s=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;if(i){let h=JSON.parse(i,function(h,m){return"string"==typeof m&&s.test(m)?new Date(m):m});this.paginator&&(void 0!==this.first&&(this.first=h.first,this.firstChange.emit(this.first)),void 0!==this.rows&&(this.rows=h.rows,this.rowsChange.emit(this.rows))),h.sortField&&(this.restoringSort=!0,this._sortField=h.sortField,this._sortOrder=h.sortOrder),h.multiSortMeta&&(this.restoringSort=!0,this._multiSortMeta=h.multiSortMeta),h.filters&&(this.restoringFilter=!0,this.filters=h.filters),this.resizableColumns&&(this.columnWidthsState=h.columnWidths,this.tableWidthState=h.tableWidth),h.expandedRowKeys&&(this.expandedRowKeys=h.expandedRowKeys),h.selection&&Promise.resolve(null).then(()=>this.selectionChange.emit(h.selection)),this.stateRestored=!0,this.onStateRestore.emit(h)}}saveColumnWidths(e){let i=[];Le.find(this.containerViewChild.nativeElement,".p-datatable-thead > tr > th").forEach(l=>i.push(Le.getOuterWidth(l))),e.columnWidths=i.join(","),"expand"===this.columnResizeMode&&(e.tableWidth=Le.getOuterWidth(this.tableViewChild.nativeElement))}setResizeTableWidth(e){this.tableViewChild.nativeElement.style.width=e,this.tableViewChild.nativeElement.style.minWidth=e}restoreColumnWidths(){if(this.columnWidthsState){let e=this.columnWidthsState.split(",");if("expand"===this.columnResizeMode&&this.tableWidthState&&this.setResizeTableWidth(this.tableWidthState+"px"),St.isNotEmpty(e)){this.createStyleElement();let i="";e.forEach((s,l)=>{i+=`\n                        #${this.id}-table > .p-datatable-thead > tr > th:nth-child(${l+1}),\n                        #${this.id}-table > .p-datatable-tbody > tr > td:nth-child(${l+1}),\n                        #${this.id}-table > .p-datatable-tfoot > tr > td:nth-child(${l+1}) {\n                            width: ${s}px !important; max-width: ${s}px !important\n                        }\n                    `}),this.styleElement.innerHTML=i}}}saveColumnOrder(e){if(this.columns){let i=[];this.columns.map(s=>{i.push(s.field||s.key)}),e.columnOrder=i}}restoreColumnOrder(){const i=this.getStorage().getItem(this.stateKey);if(i){let l=JSON.parse(i).columnOrder;if(l){let h=[];l.map(m=>{let _=this.findColumnByKey(m);_&&h.push(_)}),this.columnOrderStateRestored=!0,this.columns=h}}}findColumnByKey(e){if(!this.columns)return null;for(let i of this.columns)if(i.key===e||i.field===e)return i}createStyleElement(){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement)}getGroupRowsMeta(){return{field:this.groupRowsBy,order:this.groupRowsByOrder}}createResponsiveStyle(){Bs(this.platformId)&&!this.responsiveStyleElement&&(this.responsiveStyleElement=this.renderer.createElement("style"),this.responsiveStyleElement.type="text/css",this.renderer.appendChild(this.document.head,this.responsiveStyleElement),this.renderer.setProperty(this.responsiveStyleElement,"innerHTML",`\n    @media screen and (max-width: ${this.breakpoint}) {\n        #${this.id}-table > .p-datatable-thead > tr > th,\n        #${this.id}-table > .p-datatable-tfoot > tr > td {\n            display: none !important;\n        }\n\n        #${this.id}-table > .p-datatable-tbody > tr > td {\n            display: flex;\n            width: 100% !important;\n            align-items: center;\n            justify-content: space-between;\n        }\n\n        #${this.id}-table > .p-datatable-tbody > tr > td:not(:last-child) {\n            border: 0 none;\n        }\n\n        #${this.id}.p-datatable-gridlines > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tbody > tr > td:last-child {\n            border-top: 0;\n            border-right: 0;\n            border-left: 0;\n        }\n\n        #${this.id}-table > .p-datatable-tbody > tr > td > .p-column-title {\n            display: block;\n        }\n    }\n    `))}destroyResponsiveStyle(){this.responsiveStyleElement&&(this.renderer.removeChild(this.document.head,this.responsiveStyleElement),this.responsiveStyleElement=null)}destroyStyleElement(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.unbindDocumentEditListener(),this.editingCell=null,this.initialized=null,this.destroyStyleElement(),this.destroyResponsiveStyle()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hn),Ce(ko),Ce(Lo),Ce(An),Ce(yn),Ce(t4),Ce(Mi),Ce(h9),Ce(B5))},t.\u0275cmp=Ct({type:t,selectors:[["p-table"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},viewQuery:function(e,i){if(1&e&&(Pn(Ine,5),Pn(Lne,5),Pn(One,5),Pn(Pne,5),Pn(Nne,5),Pn(Rne,5),Pn(Fne,5),Pn(Bne,5),Pn(jne,5)),2&e){let s;zt(s=jt())&&(i.containerViewChild=s.first),zt(s=jt())&&(i.resizeHelperViewChild=s.first),zt(s=jt())&&(i.reorderIndicatorUpViewChild=s.first),zt(s=jt())&&(i.reorderIndicatorDownViewChild=s.first),zt(s=jt())&&(i.wrapperViewChild=s.first),zt(s=jt())&&(i.tableViewChild=s.first),zt(s=jt())&&(i.tableHeaderViewChild=s.first),zt(s=jt())&&(i.tableFooterViewChild=s.first),zt(s=jt())&&(i.scroller=s.first)}},hostAttrs:[1,"p-element"],inputs:{frozenColumns:"frozenColumns",frozenValue:"frozenValue",style:"style",styleClass:"styleClass",tableStyle:"tableStyle",tableStyleClass:"tableStyleClass",paginator:"paginator",pageLinks:"pageLinks",rowsPerPageOptions:"rowsPerPageOptions",alwaysShowPaginator:"alwaysShowPaginator",paginatorPosition:"paginatorPosition",paginatorDropdownAppendTo:"paginatorDropdownAppendTo",paginatorDropdownScrollHeight:"paginatorDropdownScrollHeight",currentPageReportTemplate:"currentPageReportTemplate",showCurrentPageReport:"showCurrentPageReport",showJumpToPageDropdown:"showJumpToPageDropdown",showJumpToPageInput:"showJumpToPageInput",showFirstLastIcon:"showFirstLastIcon",showPageLinks:"showPageLinks",defaultSortOrder:"defaultSortOrder",sortMode:"sortMode",resetPageOnSort:"resetPageOnSort",selectionMode:"selectionMode",selectionPageOnly:"selectionPageOnly",contextMenuSelection:"contextMenuSelection",contextMenuSelectionMode:"contextMenuSelectionMode",dataKey:"dataKey",metaKeySelection:"metaKeySelection",rowSelectable:"rowSelectable",rowTrackBy:"rowTrackBy",lazy:"lazy",lazyLoadOnInit:"lazyLoadOnInit",compareSelectionBy:"compareSelectionBy",csvSeparator:"csvSeparator",exportFilename:"exportFilename",filters:"filters",globalFilterFields:"globalFilterFields",filterDelay:"filterDelay",filterLocale:"filterLocale",expandedRowKeys:"expandedRowKeys",editingRowKeys:"editingRowKeys",rowExpandMode:"rowExpandMode",scrollable:"scrollable",scrollDirection:"scrollDirection",rowGroupMode:"rowGroupMode",scrollHeight:"scrollHeight",virtualScroll:"virtualScroll",virtualScrollItemSize:"virtualScrollItemSize",virtualScrollOptions:"virtualScrollOptions",virtualScrollDelay:"virtualScrollDelay",frozenWidth:"frozenWidth",responsive:"responsive",contextMenu:"contextMenu",resizableColumns:"resizableColumns",columnResizeMode:"columnResizeMode",reorderableColumns:"reorderableColumns",loading:"loading",loadingIcon:"loadingIcon",showLoader:"showLoader",rowHover:"rowHover",customSort:"customSort",showInitialSortBadge:"showInitialSortBadge",autoLayout:"autoLayout",exportFunction:"exportFunction",exportHeader:"exportHeader",stateKey:"stateKey",stateStorage:"stateStorage",editMode:"editMode",groupRowsBy:"groupRowsBy",groupRowsByOrder:"groupRowsByOrder",responsiveLayout:"responsiveLayout",breakpoint:"breakpoint",virtualRowHeight:"virtualRowHeight",value:"value",columns:"columns",first:"first",rows:"rows",totalRecords:"totalRecords",sortField:"sortField",sortOrder:"sortOrder",multiSortMeta:"multiSortMeta",selection:"selection",selectAll:"selectAll"},outputs:{selectAllChange:"selectAllChange",selectionChange:"selectionChange",contextMenuSelectionChange:"contextMenuSelectionChange",onRowSelect:"onRowSelect",onRowUnselect:"onRowUnselect",onPage:"onPage",onSort:"onSort",onFilter:"onFilter",onLazyLoad:"onLazyLoad",onRowExpand:"onRowExpand",onRowCollapse:"onRowCollapse",onContextMenuSelect:"onContextMenuSelect",onColResize:"onColResize",onColReorder:"onColReorder",onRowReorder:"onRowReorder",onEditInit:"onEditInit",onEditComplete:"onEditComplete",onEditCancel:"onEditCancel",onHeaderCheckboxToggle:"onHeaderCheckboxToggle",sortFunction:"sortFunction",firstChange:"firstChange",rowsChange:"rowsChange",onStateSave:"onStateSave",onStateRestore:"onStateRestore"},features:[Pt([t4]),fn],decls:16,vars:22,consts:[[3,"ngStyle","ngClass"],["container",""],["class","p-datatable-loading-overlay p-component-overlay",4,"ngIf"],["class","p-datatable-header",4,"ngIf"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","onPageChange",4,"ngIf"],[1,"p-datatable-wrapper",3,"ngStyle"],["wrapper",""],[3,"items","columns","style","scrollHeight","itemSize","step","delay","inline","lazy","loaderDisabled","showSpacer","showLoader","options","autoSize","onLazyLoad",4,"ngIf"],[4,"ngIf"],["buildInTable",""],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","onPageChange",4,"ngIf"],["class","p-datatable-footer",4,"ngIf"],["class","p-column-resizer-helper","style","display:none",4,"ngIf"],["class","p-datatable-reorder-indicator-up","style","display: none;",4,"ngIf"],["class","p-datatable-reorder-indicator-down","style","display: none;",4,"ngIf"],[1,"p-datatable-loading-overlay","p-component-overlay"],[3,"class",4,"ngIf"],[3,"spin","styleClass",4,"ngIf"],["class","p-datatable-loading-icon",4,"ngIf"],[3,"spin","styleClass"],[1,"p-datatable-loading-icon"],[4,"ngTemplateOutlet"],[1,"p-datatable-header"],["styleClass","p-paginator-top",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","onPageChange"],["pTemplate","firstpagelinkicon"],["pTemplate","previouspagelinkicon"],["pTemplate","lastpagelinkicon"],["pTemplate","nextpagelinkicon"],[3,"items","columns","scrollHeight","itemSize","step","delay","inline","lazy","loaderDisabled","showSpacer","showLoader","options","autoSize","onLazyLoad"],["scroller",""],["pTemplate","content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["role","table",3,"ngClass"],["table",""],[1,"p-datatable-thead"],["thead",""],["class","p-datatable-tbody p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen",4,"ngIf"],[1,"p-datatable-tbody",3,"ngClass","value","pTableBody","pTableBodyTemplate","scrollerOptions"],["class","p-datatable-scroller-spacer",3,"style",4,"ngIf"],["class","p-datatable-tfoot",4,"ngIf"],[1,"p-datatable-tbody","p-datatable-frozen-tbody",3,"value","frozenRows","pTableBody","pTableBodyTemplate","frozen"],[1,"p-datatable-scroller-spacer"],[1,"p-datatable-tfoot"],["tfoot",""],["styleClass","p-paginator-bottom",3,"rows","first","totalRecords","pageLinkSize","alwaysShow","rowsPerPageOptions","templateLeft","templateRight","dropdownAppendTo","dropdownScrollHeight","currentPageReportTemplate","showFirstLastIcon","dropdownItemTemplate","showCurrentPageReport","showJumpToPageDropdown","showJumpToPageInput","showPageLinks","onPageChange"],[1,"p-datatable-footer"],[1,"p-column-resizer-helper",2,"display","none"],["resizeHelper",""],[1,"p-datatable-reorder-indicator-up",2,"display","none"],["reorderIndicatorUp",""],[1,"p-datatable-reorder-indicator-down",2,"display","none"],["reorderIndicatorDown",""]],template:function(e,i){1&e&&(ne(0,"div",0,1),J(2,$ne,3,2,"div",2),J(3,Gne,2,1,"div",3),J(4,aie,5,21,"p-paginator",4),ne(5,"div",5,6),J(7,uie,3,17,"p-scroller",7),J(8,fie,2,7,"ng-container",8),J(9,wie,10,28,"ng-template",null,9,Go),re(),J(11,Nie,5,21,"p-paginator",10),J(12,Fie,2,1,"div",11),J(13,Bie,2,0,"div",12),J(14,Hie,4,2,"span",13),J(15,$ie,4,2,"span",14),re()),2&e&&(Mt(i.styleClass),H("ngStyle",i.style)("ngClass",Tr(16,qie,i.rowHover||i.selectionMode,i.scrollable,i.scrollable&&"flex"===i.scrollHeight)),mt("id",i.id),G(2),H("ngIf",i.loading&&i.showLoader),G(1),H("ngIf",i.captionTemplate),G(1),H("ngIf",i.paginator&&("top"===i.paginatorPosition||"both"==i.paginatorPosition)),G(1),H("ngStyle",gn(20,Gie,i.virtualScroll?"":i.scrollHeight)),G(2),H("ngIf",i.virtualScroll),G(1),H("ngIf",!i.virtualScroll),G(3),H("ngIf",i.paginator&&("bottom"===i.paginatorPosition||"both"==i.paginatorPosition)),G(1),H("ngIf",i.summaryTemplate),G(1),H("ngIf",i.resizableColumns),G(1),H("ngIf",i.reorderableColumns),G(1),H("ngIf",i.reorderableColumns))},dependencies:function(){return[ao,Ei,Xi,Mo,Qte,co,A9,eF,tF,Ab,yre]},styles:[".p-datatable{position:relative}.p-datatable>.p-datatable-wrapper{overflow:auto}.p-datatable-table{border-spacing:0px;width:100%}.p-datatable .p-sortable-column{cursor:pointer;-webkit-user-select:none;user-select:none}.p-datatable .p-sortable-column .p-column-title,.p-datatable .p-sortable-column .p-sortable-column-icon,.p-datatable .p-sortable-column .p-sortable-column-badge{vertical-align:middle}.p-datatable .p-sortable-column .p-icon-wrapper{display:inline}.p-datatable .p-sortable-column .p-sortable-column-badge{display:inline-flex;align-items:center;justify-content:center}.p-datatable-hoverable-rows .p-selectable-row{cursor:pointer}.p-datatable-scrollable>.p-datatable-wrapper{position:relative}.p-datatable-scrollable-table>.p-datatable-thead{position:sticky;top:0;z-index:1}.p-datatable-scrollable-table>.p-datatable-frozen-tbody{position:sticky;z-index:1}.p-datatable-scrollable-table>.p-datatable-tfoot{position:sticky;bottom:0;z-index:1}.p-datatable-scrollable .p-frozen-column{position:sticky;background:inherit}.p-datatable-scrollable th.p-frozen-column{z-index:1}.p-datatable-flex-scrollable{display:flex;flex-direction:column;height:100%}.p-datatable-flex-scrollable>.p-datatable-wrapper{display:flex;flex-direction:column;flex:1;height:100%}.p-datatable-scrollable-table>.p-datatable-tbody>.p-rowgroup-header{position:sticky;z-index:1}.p-datatable-resizable-table>.p-datatable-thead>tr>th,.p-datatable-resizable-table>.p-datatable-tfoot>tr>td,.p-datatable-resizable-table>.p-datatable-tbody>tr>td{overflow:hidden;white-space:nowrap}.p-datatable-resizable-table>.p-datatable-thead>tr>th.p-resizable-column:not(.p-frozen-column){background-clip:padding-box;position:relative}.p-datatable-resizable-table-fit>.p-datatable-thead>tr>th.p-resizable-column:last-child .p-column-resizer{display:none}.p-datatable .p-column-resizer{display:block;position:absolute!important;top:0;right:0;margin:0;width:.5rem;height:100%;padding:0;cursor:col-resize;border:1px solid transparent}.p-datatable .p-column-resizer-helper{width:1px;position:absolute;z-index:10;display:none}.p-datatable .p-row-editor-init,.p-datatable .p-row-editor-save,.p-datatable .p-row-editor-cancel,.p-datatable .p-row-toggler{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-datatable-reorder-indicator-up,.p-datatable-reorder-indicator-down{position:absolute}.p-datatable-reorderablerow-handle,[pReorderableColumn]{cursor:move}.p-datatable .p-datatable-loading-overlay{position:absolute;display:flex;align-items:center;justify-content:center;z-index:2}.p-column-filter-row{display:flex;align-items:center;width:100%}.p-column-filter-menu{display:inline-flex}.p-column-filter-row p-columnfilterformelement{flex:1 1 auto;width:1%}.p-column-filter-menu-button,.p-column-filter-clear-button{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;text-decoration:none;overflow:hidden;position:relative}.p-column-filter-overlay{position:absolute;top:0;left:0}.p-column-filter-row-items{margin:0;padding:0;list-style:none}.p-column-filter-row-item{cursor:pointer}.p-column-filter-add-button,.p-column-filter-remove-button{justify-content:center}.p-column-filter-add-button .p-button-label,.p-column-filter-remove-button .p-button-label{flex-grow:0}.p-column-filter-buttonbar{display:flex;align-items:center;justify-content:space-between}.p-column-filter-buttonbar .p-button{width:auto}.p-datatable-tbody>tr>td>.p-column-title{display:none}.p-datatable-scroller-spacer{display:flex}.p-datatable .p-scroller .p-scroller-loading{transform:none!important;min-height:0;position:sticky;top:0;left:0}\n"],encapsulation:2}),t})(),yre=(()=>{class t{constructor(e,i,s,l){this.dt=e,this.tableService=i,this.cd=s,this.el=l,this.subscription=this.dt.tableService.valueSource$.subscribe(()=>{this.dt.virtualScroll&&this.cd.detectChanges()})}get value(){return this._value}set value(e){this._value=e,this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}ngAfterViewInit(){this.frozenRows&&this.updateFrozenRowStickyPosition(),this.dt.scrollable&&"subheader"===this.dt.rowGroupMode&&this.updateFrozenRowGroupHeaderStickyPosition()}shouldRenderRowGroupHeader(e,i,s){let l=St.resolveFieldData(i,this.dt.groupRowsBy),h=e[s-1];return!h||l!==St.resolveFieldData(h,this.dt.groupRowsBy)}shouldRenderRowGroupFooter(e,i,s){let l=St.resolveFieldData(i,this.dt.groupRowsBy),h=e[s+1];return!h||l!==St.resolveFieldData(h,this.dt.groupRowsBy)}shouldRenderRowspan(e,i,s){let l=St.resolveFieldData(i,this.dt.groupRowsBy),h=e[s-1];return!h||l!==St.resolveFieldData(h,this.dt.groupRowsBy)}calculateRowGroupSize(e,i,s){let l=St.resolveFieldData(i,this.dt.groupRowsBy),h=l,m=0;for(;l===h;){m++;let _=e[++s];if(!_)break;h=St.resolveFieldData(_,this.dt.groupRowsBy)}return 1===m?null:m}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}updateFrozenRowStickyPosition(){this.el.nativeElement.style.top=Le.getOuterHeight(this.el.nativeElement.previousElementSibling)+"px"}updateFrozenRowGroupHeaderStickyPosition(){if(this.el.nativeElement.previousElementSibling){let e=Le.getOuterHeight(this.el.nativeElement.previousElementSibling);this.dt.rowGroupHeaderStyleObject.top=e+"px"}}getScrollerOption(e,i){return this.dt.virtualScroll&&(i=i||this.scrollerOptions)?i[e]:null}getRowIndex(e){const i=this.dt.paginator?this.dt.first+e:e,s=this.getScrollerOption("getItemOptions");return s?s(i).index:i}}return t.\u0275fac=function(e){return new(e||t)(Ce(mF),Ce(t4),Ce(Mi),Ce(An))},t.\u0275cmp=Ct({type:t,selectors:[["","pTableBody",""]],hostAttrs:[1,"p-element"],inputs:{columns:["pTableBody","columns"],template:["pTableBodyTemplate","template"],value:"value",frozen:"frozen",frozenRows:"frozenRows",scrollerOptions:"scrollerOptions"},attrs:Kie,decls:5,vars:5,consts:[[4,"ngIf"],["ngFor","",3,"ngForOf","ngForTrackBy"],["role","row",4,"ngIf"],["role","row"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&(J(0,soe,2,2,"ng-container",0),J(1,goe,2,2,"ng-container",0),J(2,koe,2,2,"ng-container",0),J(3,Coe,2,5,"ng-container",0),J(4,Moe,2,5,"ng-container",0)),2&e&&(H("ngIf",!i.dt.expandedRowTemplate),G(1),H("ngIf",i.dt.expandedRowTemplate&&!(i.frozen&&i.dt.frozenExpandedRowTemplate)),G(1),H("ngIf",i.dt.frozenExpandedRowTemplate&&i.frozen),G(1),H("ngIf",i.dt.loading),G(1),H("ngIf",i.dt.isEmpty()&&!i.dt.loading))},dependencies:[Zr,Ei,Xi],encapsulation:2}),t})(),kre=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,Jte,KT,$T,eb,Db,lne,Nee,J5,Ene,WT,eF,tF,Ab,Fee,jee,Bee,Ff,Ree,Sne,Ki,WT]}),t})();function _F(t,o=new Set){const e=[t],i=new Set;let s=0;for(;e.length>s;){const l=e[s++];if(!i.has(l)&&Cre(l)&&!o.has(l))if(i.add(l),Symbol.iterator in l)try{for(const h of l)e.push(h)}catch{}else for(const h in l)"defaultValue"!==h&&e.push(l[h])}return i}function Cre(t){const o=Object.prototype.toString.call(t),e=typeof t;return!("number"===e||"boolean"===e||"string"===e||"symbol"===e||"function"===e||"[object Date]"===o||"[object RegExp]"===o||"[object Module]"===o||null==t||t._watchdogExcluded||t instanceof EventTarget||t instanceof Event)}Symbol("MainQueueId");class Dre{constructor(o){if(this.crashes=[],this.state="initializing",this._now=Date.now,this.crashes=[],this._crashNumberLimit="number"==typeof o.crashNumberLimit?o.crashNumberLimit:3,this._minimumNonErrorTimePeriod="number"==typeof o.minimumNonErrorTimePeriod?o.minimumNonErrorTimePeriod:5e3,this._boundErrorHandler=e=>{const i="error"in e?e.error:e.reason;i instanceof Error&&this._handleError(i,e)},this._listeners={},!this._restart)throw new Error("The Watchdog class was split into the abstract `Watchdog` class and the `EditorWatchdog` class. Please, use `EditorWatchdog` if you have used the `Watchdog` class previously.")}destroy(){this._stopErrorHandling(),this._listeners={}}on(o,e){this._listeners[o]||(this._listeners[o]=[]),this._listeners[o].push(e)}off(o,e){this._listeners[o]=this._listeners[o].filter(i=>i!==e)}_fire(o,...e){const i=this._listeners[o]||[];for(const s of i)s.apply(this,[null,...e])}_startErrorHandling(){window.addEventListener("error",this._boundErrorHandler),window.addEventListener("unhandledrejection",this._boundErrorHandler)}_stopErrorHandling(){window.removeEventListener("error",this._boundErrorHandler),window.removeEventListener("unhandledrejection",this._boundErrorHandler)}_handleError(o,e){if(this._shouldReactToError(o)){this.crashes.push({message:o.message,stack:o.stack,filename:e instanceof ErrorEvent?e.filename:void 0,lineno:e instanceof ErrorEvent?e.lineno:void 0,colno:e instanceof ErrorEvent?e.colno:void 0,date:this._now()});const i=this._shouldRestart();this.state="crashed",this._fire("stateChange"),this._fire("error",{error:o,causesRestart:i}),i?this._restart():(this.state="crashedPermanently",this._fire("stateChange"))}}_shouldReactToError(o){return o.is&&o.is("CKEditorError")&&null!=o.context&&"ready"===this.state&&this._isErrorComingFromThisItem(o)}_shouldRestart(){return this.crashes.length<=this._crashNumberLimit||(this.crashes[this.crashes.length-1].date-this.crashes[this.crashes.length-1-this._crashNumberLimit].date)/this._crashNumberLimit>this._minimumNonErrorTimePeriod}}const Pd=function Tre(t){var o=typeof t;return null!=t&&("object"==o||"function"==o)},bF="object"==typeof global&&global&&global.Object===Object&&global;var Ere="object"==typeof self&&self&&self.Object===Object&&self;const Sl=bF||Ere||Function("return this")(),n4=function(){return Sl.Date.now()};var Lre=/\s/;var Nre=/^\s+/;const Fre=function Rre(t){return t&&t.slice(0,function Ore(t){for(var o=t.length;o--&&Lre.test(t.charAt(o)););return o}(t)+1).replace(Nre,"")},Tb=Sl.Symbol;var vF=Object.prototype,jre=vF.hasOwnProperty,zre=vF.toString,Uk=Tb?Tb.toStringTag:void 0;var Ure=Object.prototype.toString;var yF=Tb?Tb.toStringTag:void 0;const jf=function Kre(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":yF&&yF in Object(t)?function Vre(t){var o=jre.call(t,Uk),e=t[Uk];try{t[Uk]=void 0;var i=!0}catch{}var s=zre.call(t);return i&&(o?t[Uk]=e:delete t[Uk]),s}(t):function Wre(t){return Ure.call(t)}(t)},lh=function Zre(t){return null!=t&&"object"==typeof t};var ese=/^[-+]0x[0-9a-f]+$/i,tse=/^0b[01]+$/i,nse=/^0o[0-7]+$/i,ise=parseInt;const wF=function ose(t){if("number"==typeof t)return t;if(function Jre(t){return"symbol"==typeof t||lh(t)&&"[object Symbol]"==jf(t)}(t))return NaN;if(Pd(t)){var o="function"==typeof t.valueOf?t.valueOf():t;t=Pd(o)?o+"":o}if("string"!=typeof t)return 0===t?t:+t;t=Fre(t);var e=tse.test(t);return e||nse.test(t)?ise(t.slice(2),e?2:8):ese.test(t)?NaN:+t};var sse=Math.max,ase=Math.min;const hse=function use(t,o,e){var i=!0,s=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return Pd(e)&&(i="leading"in e?!!e.leading:i,s="trailing"in e?!!e.trailing:s),function lse(t,o,e){var i,s,l,h,m,_,w=0,N=!1,$=!1,oe=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function le(Nt){var qt=i,En=s;return i=s=void 0,w=Nt,h=t.apply(En,qt)}function xe(Nt){var qt=Nt-_;return void 0===_||qt>=o||qt<0||$&&Nt-w>=l}function Ye(){var Nt=n4();if(xe(Nt))return Fe(Nt);m=setTimeout(Ye,function we(Nt){var Vn=o-(Nt-_);return $?ase(Vn,l-(Nt-w)):Vn}(Nt))}function Fe(Nt){return m=void 0,oe&&i?le(Nt):(i=s=void 0,h)}function ut(){var Nt=n4(),qt=xe(Nt);if(i=arguments,s=this,_=Nt,qt){if(void 0===m)return function ve(Nt){return w=Nt,m=setTimeout(Ye,o),N?le(Nt):h}(_);if($)return clearTimeout(m),m=setTimeout(Ye,o),le(_)}return void 0===m&&(m=setTimeout(Ye,o)),h}return o=wF(o)||0,Pd(e)&&(N=!!e.leading,l=($="maxWait"in e)?sse(wF(e.maxWait)||0,o):l,oe="trailing"in e?!!e.trailing:oe),ut.cancel=function it(){void 0!==m&&clearTimeout(m),w=0,i=_=s=m=void 0},ut.flush=function tt(){return void 0===m?h:Fe(n4())},ut}(t,o,{leading:i,maxWait:o,trailing:s})},CF=function pse(t,o){return function(e){return t(o(e))}},i4=CF(Object.getPrototypeOf,Object);var AF=Function.prototype.toString,bse=Object.prototype.hasOwnProperty,vse=AF.call(Object);const MF=function wse(t){return lh(t)&&1===t.nodeType&&!function yse(t){if(!lh(t)||"[object Object]"!=jf(t))return!1;var o=i4(t);if(null===o)return!0;var e=bse.call(o,"constructor")&&o.constructor;return"function"==typeof e&&e instanceof e&&AF.call(e)==vse}(t)},DF=function Mse(t,o){return t===o||t!=t&&o!=o},JT=function Dse(t,o){for(var e=t.length;e--;)if(DF(t[e][0],o))return e;return-1};var xse=Array.prototype.splice;function xb(t){var o=-1,e=null==t?0:t.length;for(this.clear();++o<e;){var i=t[o];this.set(i[0],i[1])}}xb.prototype.clear=function Cse(){this.__data__=[],this.size=0},xb.prototype.delete=function Ese(t){var o=this.__data__,e=JT(o,t);return!(e<0||(e==o.length-1?o.pop():xse.call(o,e,1),--this.size,0))},xb.prototype.get=function Ise(t){var o=this.__data__,e=JT(o,t);return e<0?void 0:o[e][1]},xb.prototype.has=function Ose(t){return JT(this.__data__,t)>-1},xb.prototype.set=function Nse(t,o){var e=this.__data__,i=JT(e,t);return i<0?(++this.size,e.push([t,o])):e[i][1]=o,this};const XT=xb,TF=function Kse(t){if(!Pd(t))return!1;var o=jf(t);return"[object Function]"==o||"[object GeneratorFunction]"==o||"[object AsyncFunction]"==o||"[object Proxy]"==o},o4=Sl["__core-js_shared__"];var xF=function(){var t=/[^.]+$/.exec(o4&&o4.keys&&o4.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var eae=Function.prototype.toString;const zf=function tae(t){if(null!=t){try{return eae.call(t)}catch{}try{return t+""}catch{}}return""};var iae=/^\[object .+?Constructor\]$/,lae=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const dae=function cae(t){return!(!Pd(t)||function Qse(t){return!!xF&&xF in t}(t))&&(TF(t)?lae:iae).test(zf(t))},Vf=function pae(t,o){var e=function uae(t,o){return t?.[o]}(t,o);return dae(e)?e:void 0},Wk=Vf(Sl,"Map"),$k=Vf(Object,"create");var wae=Object.prototype.hasOwnProperty;var Dae=Object.prototype.hasOwnProperty;function Eb(t){var o=-1,e=null==t?0:t.length;for(this.clear();++o<e;){var i=t[o];this.set(i[0],i[1])}}Eb.prototype.clear=function gae(){this.__data__=$k?$k(null):{},this.size=0},Eb.prototype.delete=function bae(t){var o=this.has(t)&&delete this.__data__[t];return this.size-=o?1:0,o},Eb.prototype.get=function Cae(t){var o=this.__data__;if($k){var e=o[t];return"__lodash_hash_undefined__"===e?void 0:e}return wae.call(o,t)?o[t]:void 0},Eb.prototype.has=function Tae(t){var o=this.__data__;return $k?void 0!==o[t]:Dae.call(o,t)},Eb.prototype.set=function Sae(t,o){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=$k&&void 0===o?"__lodash_hash_undefined__":o,this};const EF=Eb,ex=function Rae(t,o){var e=t.__data__;return function Pae(t){var o=typeof t;return"string"==o||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==t:null===t}(o)?e["string"==typeof o?"string":"hash"]:e.map};function Sb(t){var o=-1,e=null==t?0:t.length;for(this.clear();++o<e;){var i=t[o];this.set(i[0],i[1])}}Sb.prototype.clear=function Lae(){this.size=0,this.__data__={hash:new EF,map:new(Wk||XT),string:new EF}},Sb.prototype.delete=function Fae(t){var o=ex(this,t).delete(t);return this.size-=o?1:0,o},Sb.prototype.get=function jae(t){return ex(this,t).get(t)},Sb.prototype.has=function Vae(t){return ex(this,t).has(t)},Sb.prototype.set=function Yae(t,o){var e=ex(this,t),i=e.size;return e.set(t,o),this.size+=e.size==i?0:1,this};const Wae=Sb;function Ib(t){var o=this.__data__=new XT(t);this.size=o.size}Ib.prototype.clear=function Fse(){this.__data__=new XT,this.size=0},Ib.prototype.delete=function jse(t){var o=this.__data__,e=o.delete(t);return this.size=o.size,e},Ib.prototype.get=function Vse(t){return this.__data__.get(t)},Ib.prototype.has=function Yse(t){return this.__data__.has(t)},Ib.prototype.set=function qae(t,o){var e=this.__data__;if(e instanceof XT){var i=e.__data__;if(!Wk||i.length<199)return i.push([t,o]),this.size=++e.size,this;e=this.__data__=new Wae(i)}return e.set(t,o),this.size=e.size,this};const Kae=Ib;var Jae=function(){try{var t=Vf(Object,"defineProperty");return t({},"",{}),t}catch{}}();const SF=Jae,IF=function Xae(t,o,e){"__proto__"==o&&SF?SF(t,o,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[o]=e};var tle=Object.prototype.hasOwnProperty;const LF=function nle(t,o,e){var i=t[o];(!tle.call(t,o)||!DF(i,e)||void 0===e&&!(o in t))&&IF(t,o,e)},tx=function ile(t,o,e,i){var s=!e;e||(e={});for(var l=-1,h=o.length;++l<h;){var m=o[l],_=i?i(e[m],t[m],m,e,t):void 0;void 0===_&&(_=t[m]),s?IF(e,m,_):LF(e,m,_)}return e},OF=function ale(t){return lh(t)&&"[object Arguments]"==jf(t)};var PF=Object.prototype,lle=PF.hasOwnProperty,cle=PF.propertyIsEnumerable,dle=OF(function(){return arguments}())?OF:function(t){return lh(t)&&lle.call(t,"callee")&&!cle.call(t,"callee")};const ule=dle,r4=Array.isArray;var NF="object"==typeof exports&&exports&&!exports.nodeType&&exports,RF=NF&&"object"==typeof module&&module&&!module.nodeType&&module,FF=RF&&RF.exports===NF?Sl.Buffer:void 0;const BF=(FF?FF.isBuffer:void 0)||function ple(){return!1};var vle=/^(?:0|[1-9]\d*)$/;const kle=function yle(t,o){var e=typeof t;return!!(o=o??9007199254740991)&&("number"==e||"symbol"!=e&&vle.test(t))&&t>-1&&t%1==0&&t<o},jF=function Cle(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Bi={};Bi["[object Float32Array]"]=Bi["[object Float64Array]"]=Bi["[object Int8Array]"]=Bi["[object Int16Array]"]=Bi["[object Int32Array]"]=Bi["[object Uint8Array]"]=Bi["[object Uint8ClampedArray]"]=Bi["[object Uint16Array]"]=Bi["[object Uint32Array]"]=!0,Bi["[object Arguments]"]=Bi["[object Array]"]=Bi["[object ArrayBuffer]"]=Bi["[object Boolean]"]=Bi["[object DataView]"]=Bi["[object Date]"]=Bi["[object Error]"]=Bi["[object Function]"]=Bi["[object Map]"]=Bi["[object Number]"]=Bi["[object Object]"]=Bi["[object RegExp]"]=Bi["[object Set]"]=Bi["[object String]"]=Bi["[object WeakMap]"]=!1;const s4=function Zle(t){return function(o){return t(o)}};var zF="object"==typeof exports&&exports&&!exports.nodeType&&exports,qk=zF&&"object"==typeof module&&module&&!module.nodeType&&module,a4=qk&&qk.exports===zF&&bF.process;const Lb=function(){try{return qk&&qk.require&&qk.require("util").types||a4&&a4.binding&&a4.binding("util")}catch{}}();var VF=Lb&&Lb.isTypedArray;const ece=VF?s4(VF):function Gle(t){return lh(t)&&jF(t.length)&&!!Bi[jf(t)]};var nce=Object.prototype.hasOwnProperty;const HF=function ice(t,o){var e=r4(t),i=!e&&ule(t),s=!e&&!i&&BF(t),l=!e&&!i&&!s&&ece(t),h=e||i||s||l,m=h?function ole(t,o){for(var e=-1,i=Array(t);++e<t;)i[e]=o(e);return i}(t.length,String):[],_=m.length;for(var w in t)(o||nce.call(t,w))&&(!h||!("length"==w||s&&("offset"==w||"parent"==w)||l&&("buffer"==w||"byteLength"==w||"byteOffset"==w)||kle(w,_)))&&m.push(w);return m};var oce=Object.prototype;const l4=function rce(t){var o=t&&t.constructor;return t===("function"==typeof o&&o.prototype||oce)},ace=CF(Object.keys,Object);var cce=Object.prototype.hasOwnProperty;const YF=function hce(t){return null!=t&&jF(t.length)&&!TF(t)},c4=function pce(t){return YF(t)?HF(t):function dce(t){if(!l4(t))return ace(t);var o=[];for(var e in Object(t))cce.call(t,e)&&"constructor"!=e&&o.push(e);return o}(t)};var vce=Object.prototype.hasOwnProperty;const kce=function yce(t){if(!Pd(t))return function gce(t){var o=[];if(null!=t)for(var e in Object(t))o.push(e);return o}(t);var o=l4(t),e=[];for(var i in t)"constructor"==i&&(o||!vce.call(t,i))||e.push(i);return e},d4=function wce(t){return YF(t)?HF(t,!0):kce(t)};var UF="object"==typeof exports&&exports&&!exports.nodeType&&exports,WF=UF&&"object"==typeof module&&module&&!module.nodeType&&module,$F=WF&&WF.exports===UF?Sl.Buffer:void 0,qF=$F?$F.allocUnsafe:void 0;const GF=function Lce(){return[]};var Pce=Object.prototype.propertyIsEnumerable,KF=Object.getOwnPropertySymbols,Nce=KF?function(t){return null==t?[]:(t=Object(t),function Sce(t,o){for(var e=-1,i=null==t?0:t.length,s=0,l=[];++e<i;){var h=t[e];o(h,e,t)&&(l[s++]=h)}return l}(KF(t),function(o){return Pce.call(t,o)}))}:GF;const u4=Nce,ZF=function Bce(t,o){for(var e=-1,i=o.length,s=t.length;++e<i;)t[s+e]=o[e];return t};var zce=Object.getOwnPropertySymbols?function(t){for(var o=[];t;)ZF(o,u4(t)),t=i4(t);return o}:GF;const QF=zce,JF=function Yce(t,o,e){var i=o(t);return r4(t)?i:ZF(i,e(t))},Wce=function Uce(t){return JF(t,c4,u4)},qce=function $ce(t){return JF(t,d4,QF)},h4=Vf(Sl,"DataView"),p4=Vf(Sl,"Promise"),f4=Vf(Sl,"Set"),m4=Vf(Sl,"WeakMap");var XF="[object Map]",e8="[object Promise]",t8="[object Set]",n8="[object WeakMap]",o8="[object DataView]",Xce=zf(h4),ede=zf(Wk),tde=zf(p4),nde=zf(f4),ide=zf(m4),Hf=jf;(h4&&Hf(new h4(new ArrayBuffer(1)))!=o8||Wk&&Hf(new Wk)!=XF||p4&&Hf(p4.resolve())!=e8||f4&&Hf(new f4)!=t8||m4&&Hf(new m4)!=n8)&&(Hf=function(t){var o=jf(t),e="[object Object]"==o?t.constructor:void 0,i=e?zf(e):"";if(i)switch(i){case Xce:return o8;case ede:return XF;case tde:return e8;case nde:return t8;case ide:return n8}return o});const g4=Hf;var rde=Object.prototype.hasOwnProperty;const r8=Sl.Uint8Array,_4=function cde(t){var o=new t.constructor(t.byteLength);return new r8(o).set(new r8(t)),o};var hde=/\w*$/;var s8=Tb?Tb.prototype:void 0,a8=s8?s8.valueOf:void 0;const jde=function Bde(t,o,e){var i=t.constructor;switch(o){case"[object ArrayBuffer]":return _4(t);case"[object Boolean]":case"[object Date]":return new i(+t);case"[object DataView]":return function dde(t,o){var e=o?_4(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function _de(t,o){var e=o?_4(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}(t,e);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(t);case"[object RegExp]":return function pde(t){var o=new t.constructor(t.source,hde.exec(t));return o.lastIndex=t.lastIndex,o}(t);case"[object Symbol]":return function mde(t){return a8?Object(a8.call(t)):{}}(t)}};var l8=Object.create,zde=function(){function t(){}return function(o){if(!Pd(o))return{};if(l8)return l8(o);t.prototype=o;var e=new t;return t.prototype=void 0,e}}();const Vde=zde;var c8=Lb&&Lb.isMap;const Gde=c8?s4(c8):function Wde(t){return lh(t)&&"[object Map]"==g4(t)};var d8=Lb&&Lb.isSet;const Xde=d8?s4(d8):function Zde(t){return lh(t)&&"[object Set]"==g4(t)};var u8="[object Arguments]",h8="[object Function]",p8="[object Object]",Ni={};Ni[u8]=Ni["[object Array]"]=Ni["[object ArrayBuffer]"]=Ni["[object DataView]"]=Ni["[object Boolean]"]=Ni["[object Date]"]=Ni["[object Float32Array]"]=Ni["[object Float64Array]"]=Ni["[object Int8Array]"]=Ni["[object Int16Array]"]=Ni["[object Int32Array]"]=Ni["[object Map]"]=Ni["[object Number]"]=Ni[p8]=Ni["[object RegExp]"]=Ni["[object Set]"]=Ni["[object String]"]=Ni["[object Symbol]"]=Ni["[object Uint8Array]"]=Ni["[object Uint8ClampedArray]"]=Ni["[object Uint16Array]"]=Ni["[object Uint32Array]"]=!0,Ni["[object Error]"]=Ni[h8]=Ni["[object WeakMap]"]=!1;const Due=function nx(t,o,e,i,s,l){var h,m=1&o,_=2&o,w=4&o;if(e&&(h=s?e(t,i,s,l):e(t)),void 0!==h)return h;if(!Pd(t))return t;var N=r4(t);if(N){if(h=function sde(t){var o=t.length,e=new t.constructor(o);return o&&"string"==typeof t[0]&&rde.call(t,"index")&&(e.index=t.index,e.input=t.input),e}(t),!m)return function xce(t,o){var e=-1,i=t.length;for(o||(o=Array(i));++e<i;)o[e]=t[e];return o}(t,h)}else{var $=g4(t),oe=$==h8||"[object GeneratorFunction]"==$;if(BF(t))return function Dce(t,o){if(o)return t.slice();var e=t.length,i=qF?qF(e):new t.constructor(e);return t.copy(i),i}(t,m);if($==p8||$==u8||oe&&!s){if(h=_||oe?{}:function Hde(t){return"function"!=typeof t.constructor||l4(t)?{}:Vde(i4(t))}(t),!m)return _?function Vce(t,o){return tx(t,QF(t),o)}(t,function Cce(t,o){return t&&tx(o,d4(o),t)}(h,t)):function Rce(t,o){return tx(t,u4(t),o)}(t,function fce(t,o){return t&&tx(o,c4(o),t)}(h,t))}else{if(!Ni[$])return s?t:{};h=jde(t,$,m)}}l||(l=new Kae);var le=l.get(t);if(le)return le;l.set(t,h),Xde(t)?t.forEach(function(xe){h.add(nx(xe,o,e,xe,t,l))}):Gde(t)&&t.forEach(function(xe,Ye){h.set(Ye,nx(xe,o,e,Ye,t,l))});var we=N?void 0:(w?_?qce:Wce:_?d4:c4)(t);return function Zae(t,o){for(var e=-1,i=null==t?0:t.length;++e<i&&!1!==o(t[e],e,t););}(we||t,function(xe,Ye){we&&(xe=t[Ye=xe]),LF(h,Ye,nx(xe,o,e,Ye,t,l))}),h};class Iue extends Dre{constructor(o,e={}){super(e),this._editor=null,this._initUsingData=!0,this._editables={},this._throttledSave=hse(this._save.bind(this),"number"==typeof e.saveInterval?e.saveInterval:5e3),o&&(this._creator=(i,s)=>o.create(i,s)),this._destructor=i=>i.destroy()}get editor(){return this._editor}get _item(){return this._editor}setCreator(o){this._creator=o}setDestructor(o){this._destructor=o}_restart(){return Promise.resolve().then(()=>(this.state="initializing",this._fire("stateChange"),this._destroy())).catch(o=>{console.error("An error happened during the editor destroying.",o)}).then(()=>{const o={},e=[],i=this._config.rootsAttributes||{},s={};for(const[h,m]of Object.entries(this._data.roots))m.isLoaded?(o[h]="",s[h]=i[h]||{}):e.push(h);const l={...this._config,extraPlugins:this._config.extraPlugins||[],lazyRoots:e,rootsAttributes:s,_watchdogInitialData:this._data};return delete l.initialData,l.extraPlugins.push(Lue),this._initUsingData?this.create(o,l,l.context):MF(this._elementOrData)?this.create(this._elementOrData,l,l.context):this.create(this._editables,l,l.context)}).then(()=>{this._fire("restart")})}create(o=this._elementOrData,e=this._config,i){return Promise.resolve().then(()=>(super._startErrorHandling(),this._elementOrData=o,this._initUsingData="string"==typeof o||Object.keys(o).length>0&&"string"==typeof Object.values(o)[0],this._config=this._cloneEditorConfiguration(e)||{},this._config.context=i,this._creator(o,this._config))).then(s=>{this._editor=s,s.model.document.on("change:data",this._throttledSave),this._lastDocumentVersion=s.model.document.version,this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this.state="ready",this._fire("stateChange")})}destroy(){return Promise.resolve().then(()=>(this.state="destroyed",this._fire("stateChange"),super.destroy(),this._destroy()))}_destroy(){return Promise.resolve().then(()=>{this._stopErrorHandling(),this._throttledSave.cancel();const o=this._editor;return this._editor=null,o.model.document.off("change:data",this._throttledSave),this._destructor(o)})}_save(){const o=this._editor.model.document.version;try{this._data=this._getData(),this._initUsingData||(this._editables=this._getEditables()),this._lastDocumentVersion=o}catch(e){console.error(e,"An error happened during restoring editor data. Editor will be restored from the previously saved data.")}}_setExcludedProperties(o){this._excludedProps=o}_getData(){const o=this._editor,e=o.model.document.roots.filter(m=>m.isAttached()&&"$graveyard"!=m.rootName),{plugins:i}=o,s=i.has("CommentsRepository")&&i.get("CommentsRepository"),l=i.has("TrackChanges")&&i.get("TrackChanges"),h={roots:{},markers:{},commentThreads:JSON.stringify([]),suggestions:JSON.stringify([])};e.forEach(m=>{h.roots[m.rootName]={content:JSON.stringify(Array.from(m.getChildren())),attributes:JSON.stringify(Array.from(m.getAttributes())),isLoaded:m._isLoaded}});for(const m of o.model.markers)m._affectsData&&(h.markers[m.name]={rangeJSON:m.getRange().toJSON(),usingOperation:m._managedUsingOperations,affectsData:m._affectsData});return s&&(h.commentThreads=JSON.stringify(s.getCommentThreads({toJSON:!0,skipNotAttached:!0}))),l&&(h.suggestions=JSON.stringify(l.getSuggestions({toJSON:!0,skipNotAttached:!0}))),h}_getEditables(){const o={};for(const e of this.editor.model.document.getRootNames()){const i=this.editor.ui.getEditableElement(e);i&&(o[e]=i)}return o}_isErrorComingFromThisItem(o){return function Are(t,o,e=new Set){if(t===o&&function Mre(t){return"object"==typeof t&&null!==t}(t))return!0;const i=_F(t,e),s=_F(o,e);for(const l of i)if(s.has(l))return!0;return!1}(this._editor,o.context,this._excludedProps)}_cloneEditorConfiguration(o){return function Eue(t,o){return Due(t,5,o="function"==typeof o?o:void 0)}(o,(e,i)=>{if(MF(e)||"context"===i)return e})}}class Lue{constructor(o){this.editor=o,this._data=o.config.get("_watchdogInitialData")}init(){this.editor.data.on("init",o=>{o.stop(),this.editor.model.enqueueChange({isUndoable:!1},e=>{this._restoreCollaborationData(),this._restoreEditorData(e)}),this.editor.data.fire("ready")},{priority:999})}_createNode(o,e){if("name"in e){const i=o.createElement(e.name,e.attributes);if(e.children)for(const s of e.children)i._appendChild(this._createNode(o,s));return i}return o.createText(e.data,e.attributes)}_restoreEditorData(o){const e=this.editor;Object.entries(this._data.roots).forEach(([i,{content:s,attributes:l}])=>{const h=JSON.parse(s),m=JSON.parse(l),_=e.model.document.getRoot(i);for(const[w,N]of m)o.setAttribute(w,N,_);for(const w of h){const N=this._createNode(o,w);o.insert(N,_,"end")}}),Object.entries(this._data.markers).forEach(([i,s])=>{const{document:l}=e.model,{rangeJSON:{start:h,end:m},..._}=s,w=l.getRoot(h.root),N=o.createPositionFromPath(w,h.path,h.stickiness),$=o.createPositionFromPath(w,m.path,m.stickiness),oe=o.createRange(N,$);o.addMarker(i,{range:oe,..._})})}_restoreCollaborationData(){const o=JSON.parse(this._data.commentThreads),e=JSON.parse(this._data.suggestions);o.forEach(i=>{const s=this.editor.config.get("collaboration.channelId"),l=this.editor.plugins.get("CommentsRepository");l.hasCommentThread(i.threadId)&&l.getCommentThread(i.threadId).remove(),l.addCommentThread({channelId:s,...i})}),e.forEach(i=>{const s=this.editor.plugins.get("TrackChangesEditing");s.hasSuggestion(i.id)?s.getSuggestion(i.id).attributes=i.attributes:s.addSuggestionData(i)})}}function Oue(t,o){}const Xr=new Array(256).fill(0).map((t,o)=>("0"+o.toString(16)).slice(-2)),b4="Lock from Angular integration (@ckeditor/ckeditor5-angular)";let Nue=(()=>{class t{constructor(e,i){this.config={},this.data="",this.tagName="div",this.disableTwoWayDataBinding=!1,this.ready=new Qe,this.change=new Qe,this.blur=new Qe,this.focus=new Qe,this.error=new Qe,this.initiallyDisabled=!1,this.isEditorSettingData=!1,this.id=function Pue(){const t=4294967296*Math.random()>>>0,o=4294967296*Math.random()>>>0,e=4294967296*Math.random()>>>0,i=4294967296*Math.random()>>>0;return"e"+Xr[t>>0&255]+Xr[t>>8&255]+Xr[t>>16&255]+Xr[t>>24&255]+Xr[o>>0&255]+Xr[o>>8&255]+Xr[o>>16&255]+Xr[o>>24&255]+Xr[e>>0&255]+Xr[e>>8&255]+Xr[e>>16&255]+Xr[e>>24&255]+Xr[i>>0&255]+Xr[i>>8&255]+Xr[i>>16&255]+Xr[i>>24&255]}(),this.ngZone=i,this.elementRef=e;const{CKEDITOR_VERSION:s}=window;if(s){const[l]=s.split(".").map(Number);l<37&&console.warn("The <CKEditor> component requires using CKEditor 5 in version 37 or higher.")}else console.warn('Cannot find the "CKEDITOR_VERSION" in the "window" scope.')}set disabled(e){this.setDisabledState(e)}get disabled(){return this.editorInstance?this.editorInstance.isReadOnly:this.initiallyDisabled}get editorInstance(){let e=this.editorWatchdog;return this.watchdog&&(e=this.watchdog._watchdogs.get(this.id)),e?e.editor:null}getId(){return this.id}ngOnChanges(e){Object.prototype.hasOwnProperty.call(e,"data")&&e.data&&!e.data.isFirstChange()&&this.writeValue(e.data.currentValue)}ngAfterViewInit(){this.attachToWatchdog()}ngOnDestroy(){var e=this;return wb(function*(){e.watchdog?yield e.watchdog.remove(e.id):e.editorWatchdog&&e.editorWatchdog.editor&&(yield e.editorWatchdog.destroy(),e.editorWatchdog=void 0)})()}writeValue(e){null===e&&(e=""),this.editorInstance?(this.isEditorSettingData=!0,this.editorInstance.data.set(e),this.isEditorSettingData=!1):(this.data=e,this.ready.pipe(eh()).subscribe(i=>{i.data.set(this.data)}))}registerOnChange(e){this.cvaOnChange=e}registerOnTouched(e){this.cvaOnTouched=e}setDisabledState(e){this.editorInstance&&(e?this.editorInstance.enableReadOnlyMode(b4):this.editorInstance.disableReadOnlyMode(b4)),this.initiallyDisabled=e}attachToWatchdog(){var e=this;const i=(_,w)=>this.ngZone.runOutsideAngular(wb(function*(){e.elementRef.nativeElement.appendChild(_);const N=yield e.editor.create(_,w);return e.initiallyDisabled&&N.enableReadOnlyMode(b4),e.ngZone.run(()=>{e.ready.emit(N)}),e.setUpEditorEvents(N),N})),s=function(){var _=wb(function*(w){yield w.destroy(),e.elementRef.nativeElement.removeChild(e.editorElement)});return function(N){return _.apply(this,arguments)}}(),l=_=>{(function Rue(t){return t.observed||t.observers.length>0})(this.error)&&this.ngZone.run(()=>this.error.emit(_))},h=document.createElement(this.tagName),m=this.getConfig();if(this.editorElement=h,this.watchdog)this.watchdog.add({id:this.id,type:"editor",creator:i,destructor:s,sourceElementOrData:h,config:m}).catch(_=>{l(_)}),this.watchdog.on("itemError",(_,{itemId:w})=>{w===this.id&&l()});else{const _=new Iue(this.editor,this.editorWatchdogConfig);_.setCreator(i),_.setDestructor(s),_.on("error",l),this.editorWatchdog=_,this.ngZone.runOutsideAngular(()=>{_.create(h,m).catch(w=>{l(w)})})}}getConfig(){if(this.data&&this.config.initialData)throw new Error("Editor data should be provided either using `config.initialData` or `data` properties.");const e={...this.config},i=this.config.initialData||this.data;return i&&(e.initialData=i),e}setUpEditorEvents(e){const s=e.editing.view.document;e.model.document.on("change:data",l=>{this.ngZone.run(()=>{if(!this.disableTwoWayDataBinding){if(this.cvaOnChange&&!this.isEditorSettingData){const h=e.data.get();this.cvaOnChange(h)}this.change.emit({event:l,editor:e})}})}),s.on("focus",l=>{this.ngZone.run(()=>{this.focus.emit({event:l,editor:e})})}),s.on("blur",l=>{this.ngZone.run(()=>{this.cvaOnTouched&&this.cvaOnTouched(),this.blur.emit({event:l,editor:e})})})}}return t.\u0275fac=function(e){return new(e||t)(Ce(An),Ce(yn))},t.\u0275cmp=Ct({type:t,selectors:[["ckeditor"]],inputs:{editor:"editor",config:"config",data:"data",tagName:"tagName",watchdog:"watchdog",editorWatchdogConfig:"editorWatchdogConfig",disableTwoWayDataBinding:"disableTwoWayDataBinding",disabled:"disabled"},outputs:{ready:"ready",change:"change",blur:"blur",focus:"focus",error:"error"},features:[Pt([{provide:qi,useExisting:xt(()=>t),multi:!0}]),fn],decls:1,vars:0,template:function(e,i){1&e&&J(0,Oue,0,0,"ng-template")},encapsulation:2}),t})(),Fue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[[eb,gi]]}),t})(),Bue=(()=>{class t{constructor(e){this.el=e}onkeydown(e){if(!0!==this.pFocusTrapDisabled){e.preventDefault();const i=Le.getNextFocusableElement(this.el.nativeElement,e.shiftKey);i&&(i.focus(),i.select?.())}}ngAfterViewInit(){Gi.check()}}return t.\u0275fac=function(e){return new(e||t)(Ce(An))},t.\u0275dir=Xe({type:t,selectors:[["","pFocusTrap",""]],hostAttrs:[1,"p-element"],hostBindings:function(e,i){1&e&&We("keydown.tab",function(l){return i.onkeydown(l)})("keydown.shift.tab",function(l){return i.onkeydown(l)})},inputs:{pFocusTrapDisabled:"pFocusTrapDisabled"}}),t})(),jue=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi]}),t})(),f8=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["WindowMaximizeIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_414_20927)"],["fill-rule","evenodd","clip-rule","evenodd","d","M7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14ZM9.77805 7.42192C9.89013 7.534 10.0415 7.59788 10.2 7.59995C10.3585 7.59788 10.5099 7.534 10.622 7.42192C10.7341 7.30985 10.798 7.15844 10.8 6.99995V3.94242C10.8066 3.90505 10.8096 3.86689 10.8089 3.82843C10.8079 3.77159 10.7988 3.7157 10.7824 3.6623C10.756 3.55552 10.701 3.45698 10.622 3.37798C10.5099 3.2659 10.3585 3.20202 10.2 3.19995H7.00002C6.84089 3.19995 6.68828 3.26317 6.57576 3.37569C6.46324 3.48821 6.40002 3.64082 6.40002 3.79995C6.40002 3.95908 6.46324 4.11169 6.57576 4.22422C6.68828 4.33674 6.84089 4.39995 7.00002 4.39995H8.80006L6.19997 7.00005C6.10158 7.11005 6.04718 7.25246 6.04718 7.40005C6.04718 7.54763 6.10158 7.69004 6.19997 7.80005C6.30202 7.91645 6.44561 7.98824 6.59997 8.00005C6.75432 7.98824 6.89791 7.91645 6.99997 7.80005L9.60002 5.26841V6.99995C9.6021 7.15844 9.66598 7.30985 9.77805 7.42192ZM1.4 14H3.8C4.17066 13.9979 4.52553 13.8498 4.78763 13.5877C5.04973 13.3256 5.1979 12.9707 5.2 12.6V10.2C5.1979 9.82939 5.04973 9.47452 4.78763 9.21242C4.52553 8.95032 4.17066 8.80215 3.8 8.80005H1.4C1.02934 8.80215 0.674468 8.95032 0.412371 9.21242C0.150274 9.47452 0.00210008 9.82939 0 10.2V12.6C0.00210008 12.9707 0.150274 13.3256 0.412371 13.5877C0.674468 13.8498 1.02934 13.9979 1.4 14ZM1.25858 10.0586C1.29609 10.0211 1.34696 10 1.4 10H3.8C3.85304 10 3.90391 10.0211 3.94142 10.0586C3.97893 10.0961 4 10.147 4 10.2V12.6C4 12.6531 3.97893 12.704 3.94142 12.7415C3.90391 12.779 3.85304 12.8 3.8 12.8H1.4C1.34696 12.8 1.29609 12.779 1.25858 12.7415C1.22107 12.704 1.2 12.6531 1.2 12.6V10.2C1.2 10.147 1.22107 10.0961 1.25858 10.0586Z","fill","currentColor"],["id","clip0_414_20927"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})(),m8=(()=>{class t extends si{}return t.\u0275fac=function(){let o;return function(i){return(o||(o=At(t)))(i||t)}}(),t.\u0275cmp=Ct({type:t,selectors:[["WindowMinimizeIcon"]],standalone:!0,features:[Ft,Wn],decls:6,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["clip-path","url(#clip0_414_20939)"],["fill-rule","evenodd","clip-rule","evenodd","d","M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z","fill","currentColor"],["id","clip0_414_20939"],["width","14","height","14","fill","white"]],template:function(e,i){1&e&&(Kn(),ne(0,"svg",0)(1,"g",1),Re(2,"path",2),re(),ne(3,"defs")(4,"clipPath",3),Re(5,"rect",4),re()()()),2&e&&(Mt(i.getClassNames()),mt("aria-label",i.ariaLabel)("aria-hidden",i.ariaHidden)("role",i.role))},encapsulation:2}),t})();const zue=["titlebar"],Vue=["content"],Hue=["footer"];function Yue(t,o){if(1&t){const e=wt();ne(0,"div",11),We("mousedown",function(s){return Pe(e),Oe(X(3).initResize(s))}),re()}}function Uue(t,o){if(1&t&&(ne(0,"span",18),ze(1),re()),2&t){const e=X(4);mt("id",e.id+"-label"),G(1),nn(e.header)}}function Wue(t,o){1&t&&(ne(0,"span",18),or(1,1),re()),2&t&&mt("id",X(4).id+"-label")}function $ue(t,o){1&t&&Et(0)}function que(t,o){if(1&t&&Re(0,"span",22),2&t){const e=X(5);H("ngClass",e.maximized?e.minimizeIcon:e.maximizeIcon)}}function Gue(t,o){1&t&&Re(0,"WindowMaximizeIcon",24),2&t&&H("styleClass","p-dialog-header-maximize-icon")}function Kue(t,o){1&t&&Re(0,"WindowMinimizeIcon",24),2&t&&H("styleClass","p-dialog-header-maximize-icon")}function Zue(t,o){if(1&t&&(vt(0),J(1,Gue,1,1,"WindowMaximizeIcon",23),J(2,Kue,1,1,"WindowMinimizeIcon",23),kt()),2&t){const e=X(5);G(1),H("ngIf",!e.maximized&&!e.maximizeIconTemplate),G(1),H("ngIf",e.maximized&&!e.minimizeIconTemplate)}}function Que(t,o){}function Jue(t,o){1&t&&J(0,Que,0,0,"ng-template")}function Xue(t,o){if(1&t&&(vt(0),J(1,Jue,1,0,null,9),kt()),2&t){const e=X(5);G(1),H("ngTemplateOutlet",e.maximizeIconTemplate)}}function ehe(t,o){}function the(t,o){1&t&&J(0,ehe,0,0,"ng-template")}function nhe(t,o){if(1&t&&(vt(0),J(1,the,1,0,null,9),kt()),2&t){const e=X(5);G(1),H("ngTemplateOutlet",e.minimizeIconTemplate)}}const ihe=function(){return{"p-dialog-header-icon p-dialog-header-maximize p-link":!0}};function ohe(t,o){if(1&t){const e=wt();ne(0,"button",19),We("click",function(){return Pe(e),Oe(X(4).maximize())})("keydown.enter",function(){return Pe(e),Oe(X(4).maximize())}),J(1,que,1,1,"span",20),J(2,Zue,3,2,"ng-container",21),J(3,Xue,2,1,"ng-container",21),J(4,nhe,2,1,"ng-container",21),re()}if(2&t){const e=X(4);H("ngClass",qo(5,ihe)),G(1),H("ngIf",e.maximizeIcon&&!e.maximizeIconTemplate&&!e.minimizeIconTemplate),G(1),H("ngIf",!e.maximizeIcon),G(1),H("ngIf",!e.maximized),G(1),H("ngIf",e.maximized)}}function rhe(t,o){1&t&&Re(0,"span",27),2&t&&H("ngClass",X(6).closeIcon)}function she(t,o){1&t&&Re(0,"TimesIcon",24),2&t&&H("styleClass","p-dialog-header-close-icon")}function ahe(t,o){if(1&t&&(vt(0),J(1,rhe,1,1,"span",26),J(2,she,1,1,"TimesIcon",23),kt()),2&t){const e=X(5);G(1),H("ngIf",e.closeIcon),G(1),H("ngIf",!e.closeIcon)}}function lhe(t,o){}function che(t,o){1&t&&J(0,lhe,0,0,"ng-template")}function dhe(t,o){if(1&t&&(ne(0,"span"),J(1,che,1,0,null,9),re()),2&t){const e=X(5);G(1),H("ngTemplateOutlet",e.closeIconTemplate)}}const uhe=function(){return{"p-dialog-header-icon p-dialog-header-close p-link":!0}};function hhe(t,o){if(1&t){const e=wt();ne(0,"button",25),We("click",function(s){return Pe(e),Oe(X(4).close(s))})("keydown.enter",function(s){return Pe(e),Oe(X(4).close(s))}),J(1,ahe,3,2,"ng-container",21),J(2,dhe,2,1,"span",21),re()}if(2&t){const e=X(4);H("ngClass",qo(5,uhe)),mt("aria-label",e.closeAriaLabel)("tabindex",e.closeTabindex),G(1),H("ngIf",!e.closeIconTemplate),G(1),H("ngIf",e.closeIconTemplate)}}function phe(t,o){if(1&t){const e=wt();ne(0,"div",12,13),We("mousedown",function(s){return Pe(e),Oe(X(3).initDrag(s))}),J(2,Uue,2,2,"span",14),J(3,Wue,2,1,"span",14),J(4,$ue,1,0,"ng-container",9),ne(5,"div",15),J(6,ohe,5,6,"button",16),J(7,hhe,3,6,"button",17),re()()}if(2&t){const e=X(3);G(2),H("ngIf",!e.headerFacet&&!e.headerTemplate),G(1),H("ngIf",e.headerFacet),G(1),H("ngTemplateOutlet",e.headerTemplate),G(2),H("ngIf",e.maximizable),G(1),H("ngIf",e.closable)}}function fhe(t,o){1&t&&Et(0)}function mhe(t,o){1&t&&Et(0)}function ghe(t,o){if(1&t&&(ne(0,"div",28,29),or(2,2),J(3,mhe,1,0,"ng-container",9),re()),2&t){const e=X(3);G(3),H("ngTemplateOutlet",e.footerTemplate)}}const _he=function(t,o,e,i){return{"p-dialog p-component":!0,"p-dialog-rtl":t,"p-dialog-draggable":o,"p-dialog-resizable":e,"p-dialog-maximized":i}},bhe=function(t,o){return{transform:t,transition:o}},vhe=function(t){return{value:"visible",params:t}};function yhe(t,o){if(1&t){const e=wt();ne(0,"div",3,4),We("@animation.start",function(s){return Pe(e),Oe(X(2).onAnimationStart(s))})("@animation.done",function(s){return Pe(e),Oe(X(2).onAnimationEnd(s))}),J(2,Yue,1,0,"div",5),J(3,phe,8,5,"div",6),ne(4,"div",7,8),or(6),J(7,fhe,1,0,"ng-container",9),re(),J(8,ghe,4,1,"div",10),re()}if(2&t){const e=X(2);Mt(e.styleClass),H("ngClass",tc(15,_he,e.rtl,e.draggable,e.resizable,e.maximized))("ngStyle",e.style)("pFocusTrapDisabled",!1===e.focusTrap)("@animation",gn(23,vhe,Xn(20,bhe,e.transformOptions,e.transitionOptions))),mt("aria-labelledby",e.id+"-label"),G(2),H("ngIf",e.resizable),G(1),H("ngIf",e.showHeader),G(1),Mt(e.contentStyleClass),H("ngClass","p-dialog-content")("ngStyle",e.contentStyle),G(3),H("ngTemplateOutlet",e.contentTemplate),G(1),H("ngIf",e.footerFacet||e.footerTemplate)}}const khe=function(t,o,e,i,s,l,h,m,_,w){return{"p-dialog-mask":!0,"p-component-overlay p-component-overlay-enter":t,"p-dialog-mask-scrollblocker":o,"p-dialog-left":e,"p-dialog-right":i,"p-dialog-top":s,"p-dialog-top-left":l,"p-dialog-top-right":h,"p-dialog-bottom":m,"p-dialog-bottom-left":_,"p-dialog-bottom-right":w}};function whe(t,o){if(1&t&&(ne(0,"div",1),J(1,yhe,9,25,"div",2),re()),2&t){const e=X();Mt(e.maskStyleClass),H("ngClass",b1(4,khe,[e.modal,e.modal||e.blockScroll,"left"===e.position,"right"===e.position,"top"===e.position,"topleft"===e.position||"top-left"===e.position,"topright"===e.position||"top-right"===e.position,"bottom"===e.position,"bottomleft"===e.position||"bottom-left"===e.position,"bottomright"===e.position||"bottom-right"===e.position])),G(1),H("ngIf",e.visible)}}const Che=["*",[["p-header"]],[["p-footer"]]],Ahe=["*","p-header","p-footer"],Mhe=jT([Fo({transform:"{{transform}}",opacity:0}),Va("{{transition}}")]),Dhe=jT([Va("{{transition}}",Fo({transform:"{{transform}}",opacity:0}))]);let The=(()=>{class t{constructor(e,i,s,l,h,m,_){this.document=e,this.platformId=i,this.el=s,this.renderer=l,this.zone=h,this.cd=m,this.config=_,this.draggable=!0,this.resizable=!0,this.closeOnEscape=!0,this.closable=!0,this.showHeader=!0,this.blockScroll=!1,this.autoZIndex=!0,this.baseZIndex=0,this.minX=0,this.minY=0,this.focusOnShow=!0,this.keepInViewport=!0,this.focusTrap=!0,this.transitionOptions="150ms cubic-bezier(0, 0, 0.2, 1)",this.closeTabindex="-1",this.onShow=new Qe,this.onHide=new Qe,this.visibleChange=new Qe,this.onResizeInit=new Qe,this.onResizeEnd=new Qe,this.onDragEnd=new Qe,this.onMaximize=new Qe,this.id=YT(),this._style={},this._position="center",this.transformOptions="scale(0.7)",this.window=this.document.defaultView}get positionLeft(){return 0}set positionLeft(e){console.log("positionLeft property is deprecated.")}get positionTop(){return 0}set positionTop(e){console.log("positionTop property is deprecated.")}get responsive(){return!1}set responsive(e){console.log("Responsive property is deprecated.")}get breakpoint(){return 649}set breakpoint(e){console.log("Breakpoint property is not utilized and deprecated, use breakpoints or CSS media queries instead.")}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"header":this.headerTemplate=e.template;break;case"content":default:this.contentTemplate=e.template;break;case"footer":this.footerTemplate=e.template;break;case"closeicon":this.closeIconTemplate=e.template;break;case"maximizeicon":this.maximizeIconTemplate=e.template;break;case"minimizeicon":this.minimizeIconTemplate=e.template}})}ngOnInit(){this.breakpoints&&this.createStyle()}ngAfterViewInit(){Gi.check()}get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.maskVisible&&(this.maskVisible=!0)}get style(){return this._style}set style(e){e&&(this._style={...e},this.originalStyle=e)}get position(){return this._position}set position(e){switch(this._position=e,e){case"topleft":case"bottomleft":case"left":this.transformOptions="translate3d(-100%, 0px, 0px)";break;case"topright":case"bottomright":case"right":this.transformOptions="translate3d(100%, 0px, 0px)";break;case"bottom":this.transformOptions="translate3d(0px, 100%, 0px)";break;case"top":this.transformOptions="translate3d(0px, -100%, 0px)";break;default:this.transformOptions="scale(0.7)"}}focus(){let e=Le.findSingle(this.container,"[autofocus]");e&&this.zone.runOutsideAngular(()=>{setTimeout(()=>e.focus(),5)})}close(e){this.visibleChange.emit(!1),e.preventDefault()}enableModality(){this.closable&&this.dismissableMask&&(this.maskClickListener=this.renderer.listen(this.wrapper,"mousedown",e=>{this.wrapper&&this.wrapper.isSameNode(e.target)&&this.close(e)})),this.modal&&Le.addClass(this.document.body,"p-overflow-hidden")}disableModality(){this.wrapper&&(this.dismissableMask&&this.unbindMaskClickListener(),this.modal&&Le.removeClass(this.document.body,"p-overflow-hidden"),this.cd.destroyed||this.cd.detectChanges())}maximize(){this.maximized=!this.maximized,!this.modal&&!this.blockScroll&&(this.maximized?Le.addClass(this.document.body,"p-overflow-hidden"):Le.removeClass(this.document.body,"p-overflow-hidden")),this.onMaximize.emit({maximized:this.maximized})}unbindMaskClickListener(){this.maskClickListener&&(this.maskClickListener(),this.maskClickListener=null)}moveOnTop(){this.autoZIndex&&(Ya.set("modal",this.container,this.baseZIndex+this.config.zIndex.modal),this.wrapper.style.zIndex=String(parseInt(this.container.style.zIndex,10)-1))}createStyle(){if(Bs(this.platformId)&&!this.styleElement){this.styleElement=this.renderer.createElement("style"),this.styleElement.type="text/css",this.renderer.appendChild(this.document.head,this.styleElement);let e="";for(let i in this.breakpoints)e+=`\n                        @media screen and (max-width: ${i}) {\n                            .p-dialog[${this.id}]:not(.p-dialog-maximized) {\n                                width: ${this.breakpoints[i]} !important;\n                            }\n                        }\n                    `;this.renderer.setProperty(this.styleElement,"innerHTML",e)}}initDrag(e){Le.hasClass(e.target,"p-dialog-header-icon")||Le.hasClass(e.target.parentElement,"p-dialog-header-icon")||this.draggable&&(this.dragging=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,this.container.style.margin="0",Le.addClass(this.document.body,"p-unselectable-text"))}onKeydown(e){if(this.focusTrap&&9===e.which){e.preventDefault();let i=Le.getFocusableElements(this.container);if(i&&i.length>0)if(i[0].ownerDocument.activeElement){let s=i.indexOf(i[0].ownerDocument.activeElement);e.shiftKey?-1==s||0===s?i[i.length-1].focus():i[s-1].focus():-1==s||s===i.length-1?i[0].focus():i[s+1].focus()}else i[0].focus()}}onDrag(e){if(this.dragging){const i=Le.getOuterWidth(this.container),s=Le.getOuterHeight(this.container),l=e.pageX-this.lastPageX,h=e.pageY-this.lastPageY,m=this.container.getBoundingClientRect(),_=getComputedStyle(this.container),w=parseFloat(_.marginLeft),N=parseFloat(_.marginTop),$=m.left+l-w,oe=m.top+h-N,le=Le.getViewport();this.container.style.position="fixed",this.keepInViewport?($>=this.minX&&$+i<le.width&&(this._style.left=`${$}px`,this.lastPageX=e.pageX,this.container.style.left=`${$}px`),oe>=this.minY&&oe+s<le.height&&(this._style.top=`${oe}px`,this.lastPageY=e.pageY,this.container.style.top=`${oe}px`)):(this.lastPageX=e.pageX,this.container.style.left=`${$}px`,this.lastPageY=e.pageY,this.container.style.top=`${oe}px`)}}endDrag(e){this.dragging&&(this.dragging=!1,Le.removeClass(this.document.body,"p-unselectable-text"),this.cd.detectChanges(),this.onDragEnd.emit(e))}resetPosition(){this.container.style.position="",this.container.style.left="",this.container.style.top="",this.container.style.margin=""}center(){this.resetPosition()}initResize(e){this.resizable&&(this.resizing=!0,this.lastPageX=e.pageX,this.lastPageY=e.pageY,Le.addClass(this.document.body,"p-unselectable-text"),this.onResizeInit.emit(e))}onResize(e){if(this.resizing){let i=e.pageX-this.lastPageX,s=e.pageY-this.lastPageY,l=Le.getOuterWidth(this.container),h=Le.getOuterHeight(this.container),m=Le.getOuterHeight(this.contentViewChild.nativeElement),_=l+i,w=h+s,N=this.container.style.minWidth,$=this.container.style.minHeight,oe=this.container.getBoundingClientRect(),le=Le.getViewport();(!parseInt(this.container.style.top)||!parseInt(this.container.style.left))&&(_+=i,w+=s),(!N||_>parseInt(N))&&oe.left+_<le.width&&(this._style.width=_+"px",this.container.style.width=this._style.width),(!$||w>parseInt($))&&oe.top+w<le.height&&(this.contentViewChild.nativeElement.style.height=m+w-h+"px",this._style.height&&(this._style.height=w+"px",this.container.style.height=this._style.height)),this.lastPageX=e.pageX,this.lastPageY=e.pageY}}resizeEnd(e){this.resizing&&(this.resizing=!1,Le.removeClass(this.document.body,"p-unselectable-text"),this.onResizeEnd.emit(e))}bindGlobalListeners(){this.draggable&&(this.bindDocumentDragListener(),this.bindDocumentDragEndListener()),this.resizable&&this.bindDocumentResizeListeners(),this.closeOnEscape&&this.closable&&this.bindDocumentEscapeListener()}unbindGlobalListeners(){this.unbindDocumentDragListener(),this.unbindDocumentDragEndListener(),this.unbindDocumentResizeListeners(),this.unbindDocumentEscapeListener()}bindDocumentDragListener(){this.documentDragListener||this.zone.runOutsideAngular(()=>{this.documentDragListener=this.renderer.listen(this.window,"mousemove",this.onDrag.bind(this))})}unbindDocumentDragListener(){this.documentDragListener&&(this.documentDragListener(),this.documentDragListener=null)}bindDocumentDragEndListener(){this.documentDragEndListener||this.zone.runOutsideAngular(()=>{this.documentDragEndListener=this.renderer.listen(this.window,"mouseup",this.endDrag.bind(this))})}unbindDocumentDragEndListener(){this.documentDragEndListener&&(this.documentDragEndListener(),this.documentDragEndListener=null)}bindDocumentResizeListeners(){!this.documentResizeListener&&!this.documentResizeEndListener&&this.zone.runOutsideAngular(()=>{this.documentResizeListener=this.renderer.listen(this.window,"mousemove",this.onResize.bind(this)),this.documentResizeEndListener=this.renderer.listen(this.window,"mouseup",this.resizeEnd.bind(this))})}unbindDocumentResizeListeners(){this.documentResizeListener&&this.documentResizeEndListener&&(this.documentResizeListener(),this.documentResizeEndListener(),this.documentResizeListener=null,this.documentResizeEndListener=null)}bindDocumentEscapeListener(){this.documentEscapeListener=this.renderer.listen(this.el?this.el.nativeElement.ownerDocument:"document","keydown",i=>{27==i.which&&this.close(i)})}unbindDocumentEscapeListener(){this.documentEscapeListener&&(this.documentEscapeListener(),this.documentEscapeListener=null)}appendContainer(){this.appendTo&&("body"===this.appendTo?this.renderer.appendChild(this.document.body,this.wrapper):Le.appendChild(this.wrapper,this.appendTo))}restoreAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.wrapper)}onAnimationStart(e){switch(e.toState){case"visible":this.container=e.element,this.wrapper=this.container.parentElement,this.appendContainer(),this.moveOnTop(),this.bindGlobalListeners(),this.container.setAttribute(this.id,""),this.modal&&this.enableModality(),!this.modal&&this.blockScroll&&Le.addClass(this.document.body,"p-overflow-hidden"),this.focusOnShow&&this.focus();break;case"void":this.wrapper&&this.modal&&Le.addClass(this.wrapper,"p-component-overlay-leave")}}onAnimationEnd(e){switch(e.toState){case"void":this.onContainerDestroy(),this.onHide.emit({}),this.cd.markForCheck();break;case"visible":this.onShow.emit({})}}onContainerDestroy(){this.unbindGlobalListeners(),this.dragging=!1,this.maskVisible=!1,this.maximized&&(Le.removeClass(this.document.body,"p-overflow-hidden"),this.maximized=!1),this.modal&&this.disableModality(),this.blockScroll&&Le.removeClass(this.document.body,"p-overflow-hidden"),this.container&&this.autoZIndex&&Ya.clear(this.container),this.container=null,this.wrapper=null,this._style=this.originalStyle?{...this.originalStyle}:{}}destroyStyle(){this.styleElement&&(this.renderer.removeChild(this.document.head,this.styleElement),this.styleElement=null)}ngOnDestroy(){this.container&&(this.restoreAppend(),this.onContainerDestroy()),this.destroyStyle()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hn),Ce(ko),Ce(An),Ce(Lo),Ce(yn),Ce(Mi),Ce(Rf))},t.\u0275cmp=Ct({type:t,selectors:[["p-dialog"]],contentQueries:function(e,i,s){if(1&e&&(pi(s,p9,5),pi(s,xq,5),pi(s,co,4)),2&e){let l;zt(l=jt())&&(i.headerFacet=l.first),zt(l=jt())&&(i.footerFacet=l.first),zt(l=jt())&&(i.templates=l)}},viewQuery:function(e,i){if(1&e&&(Pn(zue,5),Pn(Vue,5),Pn(Hue,5)),2&e){let s;zt(s=jt())&&(i.headerViewChild=s.first),zt(s=jt())&&(i.contentViewChild=s.first),zt(s=jt())&&(i.footerViewChild=s.first)}},hostAttrs:[1,"p-element"],inputs:{header:"header",draggable:"draggable",resizable:"resizable",positionLeft:"positionLeft",positionTop:"positionTop",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",modal:"modal",closeOnEscape:"closeOnEscape",dismissableMask:"dismissableMask",rtl:"rtl",closable:"closable",responsive:"responsive",appendTo:"appendTo",breakpoints:"breakpoints",styleClass:"styleClass",maskStyleClass:"maskStyleClass",showHeader:"showHeader",breakpoint:"breakpoint",blockScroll:"blockScroll",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",minX:"minX",minY:"minY",focusOnShow:"focusOnShow",maximizable:"maximizable",keepInViewport:"keepInViewport",focusTrap:"focusTrap",transitionOptions:"transitionOptions",closeIcon:"closeIcon",closeAriaLabel:"closeAriaLabel",closeTabindex:"closeTabindex",minimizeIcon:"minimizeIcon",maximizeIcon:"maximizeIcon",visible:"visible",style:"style",position:"position"},outputs:{onShow:"onShow",onHide:"onHide",visibleChange:"visibleChange",onResizeInit:"onResizeInit",onResizeEnd:"onResizeEnd",onDragEnd:"onDragEnd",onMaximize:"onMaximize"},ngContentSelectors:Ahe,decls:1,vars:1,consts:[[3,"class","ngClass",4,"ngIf"],[3,"ngClass"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","class","pFocusTrapDisabled",4,"ngIf"],["pFocusTrap","","role","dialog",3,"ngClass","ngStyle","pFocusTrapDisabled"],["container",""],["class","p-resizable-handle","style","z-index: 90;",3,"mousedown",4,"ngIf"],["class","p-dialog-header",3,"mousedown",4,"ngIf"],[3,"ngClass","ngStyle"],["content",""],[4,"ngTemplateOutlet"],["class","p-dialog-footer",4,"ngIf"],[1,"p-resizable-handle",2,"z-index","90",3,"mousedown"],[1,"p-dialog-header",3,"mousedown"],["titlebar",""],["class","p-dialog-title",4,"ngIf"],[1,"p-dialog-header-icons"],["type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],["type","button","pRipple","",3,"ngClass","click","keydown.enter",4,"ngIf"],[1,"p-dialog-title"],["type","button","tabindex","-1","pRipple","",3,"ngClass","click","keydown.enter"],["class","p-dialog-header-maximize-icon",3,"ngClass",4,"ngIf"],[4,"ngIf"],[1,"p-dialog-header-maximize-icon",3,"ngClass"],[3,"styleClass",4,"ngIf"],[3,"styleClass"],["type","button","pRipple","",3,"ngClass","click","keydown.enter"],["class","p-dialog-header-close-icon",3,"ngClass",4,"ngIf"],[1,"p-dialog-header-close-icon",3,"ngClass"],[1,"p-dialog-footer"],["footer",""]],template:function(e,i){1&e&&(ms(Che),J(0,whe,2,15,"div",0)),2&e&&H("ngIf",i.maskVisible)},dependencies:function(){return[ao,Ei,Xi,Mo,Bue,rh,Jr,f8,m8]},styles:[".p-dialog-mask{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:none}.p-dialog-mask.p-component-overlay{pointer-events:auto}.p-dialog{display:flex;flex-direction:column;pointer-events:auto;max-height:90%;transform:scale(1);position:relative}.p-dialog-content{overflow-y:auto;flex-grow:1}.p-dialog-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.p-dialog-draggable .p-dialog-header{cursor:move}.p-dialog-footer{flex-shrink:0}.p-dialog .p-dialog-header-icons{display:flex;align-items:center}.p-dialog .p-dialog-header-icon{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-fluid .p-dialog-footer .p-button{width:auto}.p-dialog-top .p-dialog,.p-dialog-bottom .p-dialog,.p-dialog-left .p-dialog,.p-dialog-right .p-dialog,.p-dialog-top-left .p-dialog,.p-dialog-top-right .p-dialog,.p-dialog-bottom-left .p-dialog,.p-dialog-bottom-right .p-dialog{margin:.75rem;transform:translateZ(0)}.p-dialog-maximized{transition:none;transform:none;width:100vw!important;height:100vh!important;top:0!important;left:0!important;max-height:100%;height:100%}.p-dialog-maximized .p-dialog-content{flex-grow:1}.p-dialog-left{justify-content:flex-start}.p-dialog-right{justify-content:flex-end}.p-dialog-top{align-items:flex-start}.p-dialog-top-left{justify-content:flex-start;align-items:flex-start}.p-dialog-top-right{justify-content:flex-end;align-items:flex-start}.p-dialog-bottom{align-items:flex-end}.p-dialog-bottom-left{justify-content:flex-start;align-items:flex-end}.p-dialog-bottom-right{justify-content:flex-end;align-items:flex-end}.p-dialog .p-resizable-handle{position:absolute;font-size:.1px;display:block;cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.p-confirm-dialog .p-dialog-content{display:flex;align-items:center}\n"],encapsulation:2,data:{animation:[kb("animation",[Ha("void => visible",[zT(Mhe)]),Ha("visible => void",[zT(Dhe)])])]},changeDetection:0}),t})(),xhe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,jue,sh,Jr,f8,m8,Ki]}),t})();var Ehe=W(7536);function She(t,o){1&t&&Et(0)}function Ihe(t,o){if(1&t&&(ne(0,"div",3),or(1),J(2,She,1,0,"ng-container",4),re()),2&t){const e=X();G(2),H("ngTemplateOutlet",e.headerTemplate)}}function Lhe(t,o){1&t&&(ne(0,"div",3)(1,"span",5)(2,"select",6)(3,"option",7),ze(4,"Heading"),re(),ne(5,"option",8),ze(6,"Subheading"),re(),ne(7,"option",9),ze(8,"Normal"),re()(),ne(9,"select",10)(10,"option",9),ze(11,"Sans Serif"),re(),ne(12,"option",11),ze(13,"Serif"),re(),ne(14,"option",12),ze(15,"Monospace"),re()()(),ne(16,"span",5),Re(17,"button",13)(18,"button",14)(19,"button",15),re(),ne(20,"span",5),Re(21,"select",16)(22,"select",17),re(),ne(23,"span",5),Re(24,"button",18)(25,"button",19),ne(26,"select",20),Re(27,"option",9),ne(28,"option",21),ze(29,"center"),re(),ne(30,"option",22),ze(31,"right"),re(),ne(32,"option",23),ze(33,"justify"),re()()(),ne(34,"span",5),Re(35,"button",24)(36,"button",25)(37,"button",26),re(),ne(38,"span",5),Re(39,"button",27),re()())}const Ohe=[[["p-header"]]],Phe=["p-header"],Nhe={provide:qi,useExisting:xt(()=>v4),multi:!0};let v4=(()=>{class t{constructor(e){this.el=e,this.onTextChange=new Qe,this.onSelectionChange=new Qe,this.onInit=new Qe,this.delayedCommand=null,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.quillElements=null}get isAttachedQuillEditorToDOM(){return this.quillElements?.editorElement?.isConnected}ngAfterViewInit(){this.initQuillElements(),this.isAttachedQuillEditorToDOM&&this.initQuillEditor(),Gi.check()}ngAfterViewChecked(){!this.quill&&this.isAttachedQuillEditorToDOM&&this.initQuillEditor(),this.delayedCommand&&this.isAttachedQuillEditorToDOM&&(this.delayedCommand(),this.delayedCommand=null)}ngAfterContentInit(){this.templates.forEach(e=>{"header"===e.getType()&&(this.headerTemplate=e.template)})}writeValue(e){if(this.value=e,this.quill)if(e){const i=()=>{this.quill.setContents(this.quill.clipboard.convert(this.value))};this.isAttachedQuillEditorToDOM?i():this.delayedCommand=i}else{const i=()=>{this.quill.setText("")};this.isAttachedQuillEditorToDOM?i():this.delayedCommand=i}}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}getQuill(){return this.quill}get readonly(){return this._readonly}set readonly(e){this._readonly=e,this.quill&&(this._readonly?this.quill.disable():this.quill.enable())}initQuillEditor(){this.initQuillElements();const{toolbarElement:e,editorElement:i}=this.quillElements;let s={toolbar:e},l=this.modules?{...s,...this.modules}:s;this.quill=new Ehe(i,{modules:l,placeholder:this.placeholder,readOnly:this.readonly,theme:"snow",formats:this.formats,bounds:this.bounds,debug:this.debug,scrollingContainer:this.scrollingContainer}),this.value&&this.quill.setContents(this.quill.clipboard.convert(this.value)),this.quill.on("text-change",(h,m,_)=>{if("user"===_){let w=Le.findSingle(i,".ql-editor").innerHTML,N=this.quill.getText().trim();"<p><br></p>"===w&&(w=null),this.onTextChange.emit({htmlValue:w,textValue:N,delta:h,source:_}),this.onModelChange(w),this.onModelTouched()}}),this.quill.on("selection-change",(h,m,_)=>{this.onSelectionChange.emit({range:h,oldRange:m,source:_})}),this.onInit.emit({editor:this.quill})}initQuillElements(){this.quillElements||(this.quillElements={editorElement:Le.findSingle(this.el.nativeElement,"div.p-editor-content"),toolbarElement:Le.findSingle(this.el.nativeElement,"div.p-editor-toolbar")})}}return t.\u0275fac=function(e){return new(e||t)(Ce(An))},t.\u0275cmp=Ct({type:t,selectors:[["p-editor"]],contentQueries:function(e,i,s){if(1&e&&(pi(s,p9,5),pi(s,co,4)),2&e){let l;zt(l=jt())&&(i.toolbar=l.first),zt(l=jt())&&(i.templates=l)}},hostAttrs:[1,"p-element"],inputs:{style:"style",styleClass:"styleClass",placeholder:"placeholder",formats:"formats",modules:"modules",bounds:"bounds",scrollingContainer:"scrollingContainer",debug:"debug",readonly:"readonly"},outputs:{onTextChange:"onTextChange",onSelectionChange:"onSelectionChange",onInit:"onInit"},features:[Pt([Nhe])],ngContentSelectors:Phe,decls:4,vars:6,consts:[[3,"ngClass"],["class","p-editor-toolbar",4,"ngIf"],[1,"p-editor-content",3,"ngStyle"],[1,"p-editor-toolbar"],[4,"ngTemplateOutlet"],[1,"ql-formats"],[1,"ql-header"],["value","1"],["value","2"],["selected",""],[1,"ql-font"],["value","serif"],["value","monospace"],["aria-label","Bold","type","button",1,"ql-bold"],["aria-label","Italic","type","button",1,"ql-italic"],["aria-label","Underline","type","button",1,"ql-underline"],[1,"ql-color"],[1,"ql-background"],["value","ordered","aria-label","Ordered List","type","button",1,"ql-list"],["value","bullet","aria-label","Unordered List","type","button",1,"ql-list"],[1,"ql-align"],["value","center"],["value","right"],["value","justify"],["aria-label","Insert Link","type","button",1,"ql-link"],["aria-label","Insert Image","type","button",1,"ql-image"],["aria-label","Insert Code Block","type","button",1,"ql-code-block"],["aria-label","Remove Styles","type","button",1,"ql-clean"]],template:function(e,i){1&e&&(ms(Ohe),ne(0,"div",0),J(1,Ihe,3,1,"div",1),J(2,Lhe,40,0,"div",1),Re(3,"div",2),re()),2&e&&(Mt(i.styleClass),H("ngClass","p-editor-container"),G(1),H("ngIf",i.toolbar||i.headerTemplate),G(1),H("ngIf",!i.toolbar&&!i.headerTemplate),G(1),H("ngStyle",i.style))},dependencies:[ao,Ei,Xi,Mo],styles:[".p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options .ql-picker-item{width:auto;height:auto}\n"],encapsulation:2,changeDetection:0}),t})(),Rhe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,Ki]}),t})();function Fhe(t,o){1&t&&ze(0,"An\xe1lise da ouvidoria")}function Bhe(t,o){1&t&&ze(0,"Solicita\xe7\xe3o de mais informa\xe7\xf5es")}function jhe(t,o){1&t&&ze(0,"An\xe1lise da \xe1rea respons\xe1vel ")}function zhe(t,o){1&t&&ze(0,"Respondida/Conclu\xedda")}function Vhe(t,o){}function Hhe(t,o){if(1&t&&(ne(0,"li"),ze(1),re()),2&t){const e=o.$implicit;G(1),nn(e.name)}}function Yhe(t,o){if(1&t&&(ne(0,"ul"),J(1,Hhe,2,1,"li",52),re()),2&t){const e=X(2);G(1),H("ngForOf",e.uploadedFiles)}}function Uhe(t,o){1&t&&J(0,Yhe,2,1,"ul",51),2&t&&H("ngIf",X().uploadedFiles.length)}function Whe(t,o){1&t&&(ne(0,"tr")(1,"th"),ze(2,"Descri\xe7\xe3o do complemento"),re(),ne(3,"th"),ze(4,"Data Solicita\xe7\xe3o"),re(),Re(5,"th"),re())}function $he(t,o){if(1&t){const e=wt();ne(0,"tr")(1,"td"),ze(2),re(),ne(3,"td"),ze(4),x_(5,"date"),re(),ne(6,"td",53)(7,"a",54),We("click",function(){const l=Pe(e).$implicit;return Oe(X().visualizaComplemento(l))}),re()()()}if(2&t){const e=o.$implicit;G(2),nn(e.descricaoSolicitacao),G(2),nn(function AM(t,o,e,i){const s=t+Dn,l=lt(),h=Jo(l,s);return Uu(l,s)?kM(l,Xo(),o,h.transform,e,i,h):h.transform(e,i)}(5,2,e.dataSolicitacao,"dd/MM/yyyy"))}}function qhe(t,o){1&t&&(ne(0,"tr")(1,"th",55),ze(2,"Nome do arquivo"),re(),ne(3,"th",55),ze(4,"Origem"),re(),Re(5,"th",56),re())}function Ghe(t,o){if(1&t){const e=wt();ne(0,"tr")(1,"td"),ze(2),re(),ne(3,"td"),ze(4),re(),ne(5,"td")(6,"button",57),We("click",function(){const l=Pe(e).$implicit;return Oe(X().download(l.nomeArquivo))}),re(),ze(7,"\xa0 "),re()()}if(2&t){const e=o.$implicit;G(2),rr(" ",e.nomeArquivo," "),G(2),rr(" ",e.descricaoOrigem," ")}}function Khe(t,o){if(1&t){const e=wt();ne(0,"p-radioButton",60,61),We("ngModelChange",function(s){return Pe(e),Oe(X().$implicit.idResposta=s)}),re()}if(2&t){const e=o.$implicit,i=X().$implicit;H("name",i.id)("value",e.id)("label",e.descricao)("id","radio"+i.id)("ngModel",i.idResposta)}}function Zhe(t,o){if(1&t&&(ne(0,"div"),ze(1),re(),ne(2,"div",58)(3,"div",59),J(4,Khe,2,5,"ng-template",41),re()(),Re(5,"br")(6,"p-divider")),2&t){const e=o.$implicit;G(1),nn(e.descricao),G(3),H("ngForOf",e.listaRespostaSatisfacao)}}const Qhe=function(){return{height:"200px"}},Jhe=function(){return{width:"50vw"}},Xhe=function(){return{"960px":"75vw"}},g8=W(6676);let epe=(()=>{class t{constructor(e,i,s,l,h,m,_){this.router=e,this.sessionService=i,this.atendimentoService=s,this.errorHandler=l,this.ngxLoader=h,this.formBuilder=_,this.resumoAtendimento=new Z5,this.atendimento=new z5,this.tipoNatureza=0,this.complete1=!1,this.complete2=!1,this.complete3=!1,this.complete4=!1,this.complementoEnviado=!0,this.pesquisa=new $9,this.complementoInterpelar="",this.completed=0,this.isLinear=!0,this.fileName="",this.uploadedFiles=[],this.base64="Base64...",this.anexo=new Cb,this.Editor=q9(),this.formulario=this.formBuilder.group({nomeSolicitante:[{value:"",disabled:!0}],dataCriacao:[{value:"",disabled:!0}],numeroProtocolo:[{value:"",disabled:!0}],descricaoFatos:[{value:"",disabled:!0}],natureza:[{value:"",disabled:!0}],assunto:[{value:"",disabled:!0}],situacao:[{value:"",disabled:!0}],respostaConclusao:[{value:"",disabled:!0}],dataPrazoRespostaComplemento:[{value:"",disabled:!0}],descricaoComplementoSolicitado:[{value:"",disabled:!0}],descricaoComplementoResposta:[{value:""}]}),this.stepperOrientation=m.observe("(min-width: 800px)").pipe(ot(({})=>"vertical"))}ngOnInit(){this.resumoAtendimento=this.sessionService.getItem("resumoAtendimento"),0==this.resumoAtendimento.statusManifestacao?(this.complete1=!0,this.complete2=!0,this.complete3=!0,this.complete4=!1):1==this.resumoAtendimento.statusManifestacao?(this.complete1=!0,this.complete2=!0,this.complete3=!0,this.complete4=!0):3==this.resumoAtendimento.statusManifestacao&&(this.complete1=!0,this.complete2=!0,this.complete3=!1,this.complete4=!1)}download(e){this.ngxLoader.start(),this.atendimentoService.download(e).then(i=>{const s=new Blob([i],{type:i.type});var l=URL.createObjectURL(s);this.ngxLoader.stop(),window.open(l)}).catch(i=>{this.ngxLoader.stop(),this.errorHandler.handle(i)})}onCloseInterpelar(){this.displayModalComplemento=!1}inserirComplemento(){this.ngxLoader.start(),this.resumoAtendimento.complementoAtendimentoDto.orgao=1,this.resumoAtendimento.complementoAtendimentoDto.interpelado=1,this.resumoAtendimento.complementoAtendimentoDto.atendimento=this.resumoAtendimento.idAtendimento,this.atendimentoService.adicionarComplemento(this.resumoAtendimento.complementoAtendimentoDto).then(e=>{this.resumoAtendimento.complementoAtendimentoDto=new K5,this.resumoAtendimento.listaComplementoAtendimento=e}).then(()=>{setTimeout(()=>{this.ngxLoader.stop(),this.displayModalComplemento=!1,this.complementoEnviado=!1},1e3)}).catch(e=>{setTimeout(()=>{this.ngxLoader.stop()},1e3)})}showDialog(){this.visible=!0}showComplemento(){this.displayModalComplemento=!0}closeComplemento(){this.displayModalComplemento=!1}voltarInicio(){this.router.navigate(["/"])}visualizaComplemento(e){this.complementoEnviado=!0,g8.locale("pt-br"),console.log(e),2==e.status?(this.formulario.controls.descricaoComplementoResposta.disable(),this.resumoAtendimento.complementoAtendimentoDto.status=null):(this.formulario.controls.descricaoComplementoResposta.enable(),this.resumoAtendimento.complementoAtendimentoDto.status=e.status),this.resumoAtendimento.complementoAtendimentoDto.atendimento=e.atendimento,this.resumoAtendimento.complementoAtendimentoDto.orgao=e.orgao,this.resumoAtendimento.complementoAtendimentoDto.dataResposta=e.dataResposta,this.resumoAtendimento.complementoAtendimentoDto.codigoUsuarioSolicitacao=e.codigoUsuarioSolicitacao,this.resumoAtendimento.complementoAtendimentoDto.dataPrazo=e.dataPrazo,this.resumoAtendimento.complementoAtendimentoDto.dataSolicitacao=e.dataSolicitacao,this.resumoAtendimento.complementoAtendimentoDto.id=e.id,this.resumoAtendimento.complementoAtendimentoDto.dataPrazoRespostaComplemento=g8(e.dataPrazo,"YYYY-MM-DD").format("l"),this.resumoAtendimento.complementoAtendimentoDto.descricaoSolicitacao=e.descricaoSolicitacao,this.resumoAtendimento.complementoAtendimentoDto.descricaoResposta=e.descricaoResposta}enviarComplemento(){this.ngxLoader.start(),this.resumoAtendimento.complementoAtendimentoDto.orgao=1,this.atendimentoService.adicionarComplemento(this.resumoAtendimento.complementoAtendimentoDto).then(e=>{this.resumoAtendimento.complementoAtendimentoDto=new K5,this.resumoAtendimento.listaComplementoAtendimento=e,console.log(this.resumoAtendimento)}).then(()=>{setTimeout(()=>{this.ngxLoader.stop(),this.complementoEnviado=!1},1e3)}).catch(e=>{setTimeout(()=>{this.ngxLoader.stop()},1e3)})}responderPesquisa(){this.ngxLoader.start(),this.pesquisa.idAtendimento=this.resumoAtendimento.idAtendimento,this.pesquisa.orgao=1,this.pesquisa.listaPergunta=this.resumoAtendimento.listaPergunta,this.pesquisa.meioComunicacaoRespPesquisa=1,this.atendimentoService.salvarPesquisa(this.pesquisa).then(e=>{setTimeout(()=>{1==e&&(this.resumoAtendimento.respondeuPesquisa=1),this.ngxLoader.stop()},1e3)}).then(e=>{setTimeout(()=>{},1e3)}).catch(e=>{this.ngxLoader.stop(),setTimeout(()=>{this.errorHandler.handle(e)},1e3)})}convertFileToBase64(e,i,s){let l=new FileReader;l.readAsDataURL(e),l.onload=()=>{s.stringBase64=l.result,s.nomeArquivo=e.name,this.resumoAtendimento.complementoAtendimentoDto.listaAnexoDto[i]=s,console.log(this.resumoAtendimento.complementoAtendimentoDto)}}carregaArquivo(e){for(let i=0;i<e.files.length;i++){let s=new Cb;const l=e.files[i];l&&this.convertFileToBase64(l,i,s)}}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(No),Ce(U9),Ce(zk),Ce(Vk),Ce(Ef),Ce(o7),Ce(LL))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["app-visualiza-manifestacao"]],decls:135,vars:53,consts:[["text","Processando..."],[3,"formGroup"],[1,"container","px-4"],[1,"row","justify-content-center"],[1,"col-lg-8"],[1,"card","border-secondary","mb-3"],[1,"card-header","text-bg-success"],[1,"card-body","text-secondary"],[1,"example-stepper",3,"orientation"],[3,"completed"],["matStepLabel",""],["type","text","id","natureza","formControlName","natureza","name","natureza",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["type","text","id","dataCriacao","formControlName","dataCriacao","name","dataCriacao",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["type","text","id","numeroProtocolo","formControlName","numeroProtocolo","name","numeroProtocolo",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["type","text","id","nomeSolicitante","formControlName","nomeSolicitante","name","nomeSolicitante",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["type","text","id","assunto","formControlName","assunto","name","assunto",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["type","text","id","situacao","formControlName","situacao","name","situacao",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["name","descricaoFatos","formControlName","descricaoFatos",3,"readonly","ngModel","ngModelChange"],["pTemplate","header"],[3,"hidden"],[1,"p-3","text-success-emphasis","bg-success-subtle","border","border-success-subtle","rounded-3"],["type","text","id","dataPrazoRespostaComplemento","formControlName","dataPrazoRespostaComplemento","name","dataPrazoRespostaComplemento",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["id","descricaoComplementoSolicitado","rows","3","name","descricaoComplementoSolicitado","formControlName","descricaoComplementoSolicitado",1,"form-control",3,"ngModel","ngModelChange"],["id","descricaoComplementoResposta","rows","3","name","descricaoComplementoResposta","formControlName","descricaoComplementoResposta",1,"form-control",3,"ngModel","ngModelChange"],[1,"lead"],["name","anexo","invalidFileSizeMessageDetail","O tamanho m\xe1ximo permitido de arquivos \xe9 de 10","chooseLabel","Selecione o arquivo","accept","image/*,application/*",3,"auto","customUpload","multiple","maxFileSize","uploadHandler"],["pTemplate","content"],["label","Enviar Complementa\xe7\xe3o","type","button","icon","pi pi-angle-right","iconPos","right",3,"hidden","onClick"],[1,"card","border-light","mb-3"],[1,"card-body"],[3,"value"],["pTemplate","body"],[3,"editor","disabled","data"],["label","Interpelar","type","button","icon","pi pi-angle-right","iconPos","right",3,"onClick"],[3,"value","responsive"],["label","Voltar","type","button","icon","pi pi-angle-left","iconPos","left",3,"onClick"],[1,"card-body","text-secondary",3,"hidden"],[1,"p-fluid","p-formgrid","p-grid"],[1,"divResultado"],["autocomplete","off"],["fp","ngForm"],["ngFor","",3,"ngForOf"],["pButton","","type","button","label","Responder Pesquisa",3,"disabled","click"],[1,"p-fluid","p-formgrid","p-grid",3,"hidden"],["header","Interpela\xe7\xe3o de Resposta","position","top","id","dialog3",3,"visible","modal","breakpoints","draggable","resizable","visibleChange"],["id","myFormInterpeler","name","myFormInterpeler","autocomplete","off",3,"ngSubmit"],["myFormInterpeler","ngForm"],["rows","7","cols","90","name","complementoInterpelar","pInputTextarea","",3,"ngModel","ngModelChange"],["complementoInterpelar","ngModel"],["pButton","","type","submit","label","Salvar",1,"ui-button-secondary","prime-button"],["pButton","","type","button","label","Fechar",1,"ui-button-secondary","prime-button",3,"click"],[4,"ngIf"],[4,"ngFor","ngForOf"],[2,"width","15%","font-size","small"],["pButton","","pRipple","","icon","pi pi-pencil","pTooltip","Visualizar","tooltipPosition","top",1,"p-button-rounded","p-button-success","mr-2",3,"click"],[2,"width","100px"],[2,"width","10px"],["pButton","","type","button","icon","pi pi-arrow-circle-down",3,"click"],[1,"p-formgroup-inline"],[1,"p-col-12","p-lg-12"],["required","",3,"name","value","label","id","ngModel","ngModelChange"],["item.id","ngModel"]],template:function(i,s){if(1&i&&(Re(0,"ngx-ui-loader",0),ne(1,"form",1)(2,"section")(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"div",6),ze(8,"Status da Manifesta\xe7\xe3o"),re(),ne(9,"div",7)(10,"mat-stepper",8),x_(11,"async"),ne(12,"mat-step",9),J(13,Fhe,1,0,"ng-template",10),re(),ne(14,"mat-step",9),J(15,Bhe,1,0,"ng-template",10),re(),ne(16,"mat-step",9),J(17,jhe,1,0,"ng-template",10),re(),ne(18,"mat-step",9),J(19,zhe,1,0,"ng-template",10),re()()()()()()()(),ne(20,"section")(21,"div",2)(22,"div",3)(23,"div",4)(24,"div",5)(25,"div",6),ze(26,"Dados da Manifesta\xe7\xe3o"),re(),ne(27,"div",7),ze(28," Tipo de Manifesta\xe7\xe3o "),ne(29,"input",11),We("ngModelChange",function(h){return s.resumoAtendimento.natureza=h}),re(),ze(30," Data Abertura "),ne(31,"input",12),We("ngModelChange",function(h){return s.resumoAtendimento.dataCriacao=h}),re(),ze(32," N\xfamero Protocolo "),ne(33,"input",13),We("ngModelChange",function(h){return s.resumoAtendimento.numeroProtocolo=h}),re(),ze(34," Nome "),ne(35,"input",14),We("ngModelChange",function(h){return s.resumoAtendimento.nomeSolicitante=h}),re(),ze(36," Assunto "),ne(37,"input",15),We("ngModelChange",function(h){return s.resumoAtendimento.assunto=h}),re(),ze(38," Situa\xe7\xe3o "),ne(39,"input",16),We("ngModelChange",function(h){return s.resumoAtendimento.situacao=h}),re(),ze(40," Teor da Manifesta\xe7\xe3o "),ne(41,"p-editor",17),We("ngModelChange",function(h){return s.resumoAtendimento.descricaoFatos=h}),J(42,Vhe,0,0,"ng-template",18),re()()()()()()(),ne(43,"section")(44,"div",2)(45,"div",3)(46,"div",4)(47,"div",5)(48,"div",19)(49,"div",20),ze(50," Complemento enviado com sucesso "),re()(),ne(51,"div",19)(52,"div",6),ze(53,"Complementa\xe7\xe3o Solicitada pela Ouvidoria"),re(),ne(54,"div",7),ze(55," Data Prazo para Resposta "),ne(56,"input",21),We("ngModelChange",function(h){return s.resumoAtendimento.complementoAtendimentoDto.dataPrazoRespostaComplemento=h}),re(),ze(57," Solicita\xe7\xe3o de Complementa\xe7\xe3o "),ne(58,"textarea",22),We("ngModelChange",function(h){return s.resumoAtendimento.complementoAtendimentoDto.descricaoSolicitacao=h}),re(),ze(59," Complementa\xe7\xe3o do Manifestante "),ne(60,"textarea",23),We("ngModelChange",function(h){return s.resumoAtendimento.complementoAtendimentoDto.descricaoResposta=h}),re(),Re(61,"br"),ne(62,"div",19)(63,"p",24),ze(64,"Anexos"),re(),ne(65,"p-fileUpload",25),We("uploadHandler",function(h){return s.carregaArquivo(h)}),J(66,Uhe,1,1,"ng-template",26),re()(),Re(67,"br"),ne(68,"p-button",27),We("onClick",function(){return s.enviarComplemento()}),re()()(),ne(69,"div",28)(70,"div",6),ze(71,"Complementos da Manifesta\xe7\xe3o"),re(),ne(72,"div",29)(73,"p-table",30),J(74,Whe,6,0,"ng-template",18),J(75,$he,8,5,"ng-template",31),re()()()()()()()(),ne(76,"div",19)(77,"section")(78,"div",2)(79,"div",3)(80,"div",4)(81,"div",5)(82,"div",6),ze(83,"Resposta da Manifesta\xe7\xe3o"),re(),ne(84,"div",7),Re(85,"ckeditor",32)(86,"br"),ne(87,"div",19)(88,"p-button",33),We("onClick",function(){return s.showComplemento()}),re()()()()()()()()(),ne(89,"section")(90,"div",2)(91,"div",3)(92,"div",4)(93,"div",5)(94,"div",6),ze(95,"Anexos"),re(),ne(96,"div",7)(97,"p-table",34),J(98,qhe,6,0,"ng-template",18),J(99,Ghe,8,2,"ng-template",31),re()()()()()()(),ne(100,"section")(101,"div",2)(102,"div",3)(103,"div",4)(104,"p-button",35),We("onClick",function(){return s.voltarInicio()}),re()()()()(),ne(105,"div",19)(106,"section")(107,"div",2)(108,"div",3)(109,"div",4)(110,"div",5)(111,"div",6),ze(112,"Pesquisa de Satisfa\xe7\xe3o"),re(),ne(113,"div",36)(114,"div",37)(115,"div",38)(116,"form",39,40),J(118,Zhe,7,2,"ng-template",41),ne(119,"button",42),We("click",function(){return s.responderPesquisa()}),re()()()()()(),ne(120,"div",43)(121,"div")(122,"span")(123,"b"),ze(124,"A pesquisa de satisfa\xe7\xe3o foi realizada"),re()()()()()()()()()(),ne(125,"p-dialog",44),We("visibleChange",function(h){return s.displayModalComplemento=h}),ne(126,"form",45,46),We("ngSubmit",function(){return s.inserirComplemento()}),ne(128,"div",37)(129,"textarea",47,48),We("ngModelChange",function(h){return s.resumoAtendimento.complementoAtendimentoDto.descricaoSolicitacao=h}),re()(),Re(131,"br")(132,"button",49),ze(133,"\xa0 "),ne(134,"button",50),We("click",function(){return s.closeComplemento()}),re()()()),2&i){const l=ii(117);G(1),H("formGroup",s.formulario),G(9),H("orientation",function Yu(t,o,e){const i=t+Dn,s=lt(),l=Jo(s,i);return Uu(s,i)?ra(s,Xo(),o,l.transform,e,l):l.transform(e)}(11,48,s.stepperOrientation)),G(2),H("completed",s.complete1),G(2),H("completed",s.complete2),G(2),H("completed",s.complete3),G(2),H("completed",s.complete4),G(11),H("ngModel",s.resumoAtendimento.natureza),G(2),H("ngModel",s.resumoAtendimento.dataCriacao),G(2),H("ngModel",s.resumoAtendimento.numeroProtocolo),G(2),H("ngModel",s.resumoAtendimento.nomeSolicitante),G(2),H("ngModel",s.resumoAtendimento.assunto),G(2),H("ngModel",s.resumoAtendimento.situacao),G(2),$i(qo(50,Qhe)),H("readonly",!0)("ngModel",s.resumoAtendimento.descricaoFatos),G(7),H("hidden",s.complementoEnviado),G(3),H("hidden",null==s.resumoAtendimento.complementoAtendimentoDto.id),G(5),H("ngModel",s.resumoAtendimento.complementoAtendimentoDto.dataPrazoRespostaComplemento),G(2),H("ngModel",s.resumoAtendimento.complementoAtendimentoDto.descricaoSolicitacao),G(2),H("ngModel",s.resumoAtendimento.complementoAtendimentoDto.descricaoResposta),G(2),H("hidden",null==s.resumoAtendimento.complementoAtendimentoDto.status),G(3),H("auto",!0)("customUpload",!0)("multiple",!0)("maxFileSize",5e6),G(3),H("hidden",null==s.resumoAtendimento.complementoAtendimentoDto.status),G(5),H("value",s.resumoAtendimento.listaComplementoAtendimento),G(3),H("hidden","N\xe3o"==s.resumoAtendimento.manifestacaoConcluida),G(9),H("editor",s.Editor)("disabled",!0)("data",s.resumoAtendimento.respostaConclusao),G(2),H("hidden",0==s.resumoAtendimento.interpelar||1==s.resumoAtendimento.respondeuPesquisa),G(10),H("value",s.resumoAtendimento.listaAnexo)("responsive",!0),G(8),H("hidden","N\xe3o"==s.resumoAtendimento.manifestacaoConcluida),G(8),H("hidden",1==s.resumoAtendimento.respondeuPesquisa),G(5),H("ngForOf",s.resumoAtendimento.listaPergunta),G(1),H("disabled",!l.valid),G(1),H("hidden",0==s.resumoAtendimento.respondeuPesquisa),G(5),$i(qo(51,Jhe)),H("visible",s.displayModalComplemento)("modal",!0)("breakpoints",qo(52,Xhe))("draggable",!1)("resizable",!1),G(4),H("ngModel",s.resumoAtendimento.complementoAtendimentoDto.descricaoSolicitacao)}},dependencies:[Zr,Ei,UT,co,Q_,wf,Cf,G_,X_,sc,Z_,J_,lk,q5,Mb,GT,Dk,M9,s9,VT,a9,mF,Nue,The,v4,pP,fP],styles:[".example-stepper{margin-top:8px}.mat-mdc-form-field{margin-top:16px}\n",".ui-steps .ui-steps-item{width:25%}.ui-steps.steps-custom{margin-bottom:30px}.ui-steps.steps-custom .ui-steps-item .ui-menuitem-link{padding:0 1em;overflow:visible}.ui-steps.steps-custom .ui-steps-item .ui-steps-number{background-color:#0081c2;color:#fff;display:inline-block;width:36px;border-radius:50%;margin-top:-14px;margin-bottom:10px}.ui-steps.steps-custom .ui-steps-item .ui-steps-title{color:#555}\n"],encapsulation:2})}return t})();class tpe{constructor(){this.listaAnexoDto=[]}}function npe(t,o){if(1&t&&(ne(0,"li"),ze(1),re()),2&t){const e=o.$implicit;G(1),nn(e.name)}}function ipe(t,o){if(1&t&&(ne(0,"ul"),J(1,npe,2,1,"li",18),re()),2&t){const e=X(2);G(1),H("ngForOf",e.uploadedFiles)}}function ope(t,o){1&t&&J(0,ipe,2,1,"ul",17),2&t&&H("ngIf",X().uploadedFiles.length)}const rpe=function(){return{height:"200px"}};let spe=(()=>{class t{constructor(e,i,s,l,h){this.atendimentoService=e,this.activatedRoute=i,this.messageService=s,this.errorHandler=l,this.ngxLoader=h,this.resposta="",this.respostaEncaminhamentoSetor=new tpe,this.campos=!1,this.fileName="",this.uploadedFiles=[],this.Editor=q9(),this.disableButtonEnviar=!1,this.base64="Base64...",this.anexo=new Cb}ngOnInit(){this.ngxLoader.start(),this.activatedRoute.params.subscribe(e=>{this.parametro=e.parametro}),this.atendimentoService.consultaEncaminhamento(this.parametro).then(e=>{null==e?(this.nomeSetor="",this.campos=!1,this.mensagem="Encaminhamento n\xe3o encontrado!"):0==e.respondido?(this.nomeSetor=e.nomeSetorDestino,this.protocolo=e.protocolo,this.codigoAtendimento=e.codigoAtendimento,this.campos=!0):(this.nomeSetor="",this.campos=!1,this.mensagem="Resposta j\xe1 enviada!"),setTimeout(()=>{this.ngxLoader.stop()},50)}).catch(e=>{this.ngxLoader.stop(),setTimeout(()=>{this.errorHandler.handle(e)},1e3)})}convertFileToBase64(e,i,s){let l=new FileReader;l.readAsDataURL(e),l.onload=()=>{s.stringBase64=l.result,s.nomeArquivo=e.name,this.respostaEncaminhamentoSetor.listaAnexoDto[i]=s}}carregaArquivo(e){for(let i=0;i<e.files.length;i++){let s=new Cb;const l=e.files[i];l&&this.convertFileToBase64(l,i,s)}}concluir(){this.disableButtonEnviar=!0,this.ngxLoader.start(),this.activatedRoute.params.subscribe(e=>{this.parametro=e.parametro}),this.respostaEncaminhamentoSetor.resposta=this.resposta,this.respostaEncaminhamentoSetor.parametro=this.parametro,this.respostaEncaminhamentoSetor.obs=this.obs,this.atendimentoService.enviarResposta(this.respostaEncaminhamentoSetor).then().then(e=>{setTimeout(()=>{this.campos=!1,this.mensagem="Resposta encaminhada com sucesso!.",this.ngxLoader.stop(),this.messageService.add({severity:"success",detail:"Resposta enviada com sucesso!"})},200)}).catch(e=>{setTimeout(()=>{this.ngxLoader.stop(),this.disableButtonEnviar=!1,this.errorHandler.handle(e)},1e3)})}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(zk),Ce(cc),Ce(Nf),Ce(Vk),Ce(Ef))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["app-resposta-encaminhamento"]],decls:39,vars:14,consts:[["text","Processando..."],[3,"ngSubmit"],[1,"container","px-4"],[3,"hidden"],[1,"row","justify-content-center",3,"hidden"],[1,"col-lg-8"],[1,"card","border-secondary","mb-3"],[1,"card-header","text-bg-success"],[1,"card-body","text-secondary"],[1,"col-auto"],["type","text","readonly","","id","protocolo","name","protocolo",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["type","text","readonly","","id","nomeSetor","name","nomeSetor",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["name","resposta",3,"ngModel","ngModelChange"],["rows","7","cols","25","id","obs","name","obs",1,"form-control","form-control-sm",3,"ngModel","ngModelChange"],["name","anexo","invalidFileSizeMessageDetail","O tamanho m\xe1ximo permitido de arquivos \xe9 de 10","chooseLabel","Selecione o arquivo","accept","image/*,application/*",3,"auto","customUpload","multiple","maxFileSize","uploadHandler"],["pTemplate","content"],["pButton","","label","Enviar","type","submit","iconPos","left"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(i,s){1&i&&(Re(0,"ngx-ui-loader",0),ne(1,"form",1),We("ngSubmit",function(){return s.concluir()}),ne(2,"section")(3,"div",2)(4,"div",3)(5,"div")(6,"span")(7,"b"),ze(8),re()()()(),ne(9,"div",4)(10,"div",5)(11,"div",6)(12,"div",7),ze(13,"Resposta do Encaminhamento"),re(),ne(14,"div",8)(15,"div",9)(16,"label"),ze(17,"Protocolo"),re(),ne(18,"input",10),We("ngModelChange",function(h){return s.protocolo=h}),re()(),ne(19,"div",9)(20,"label"),ze(21,"\xc1rea/Unidade de Destino"),re(),ne(22,"input",11),We("ngModelChange",function(h){return s.nomeSetor=h}),re()(),ne(23,"div",9)(24,"label"),ze(25,"Resposta da \xc1rea/Unidade - Manifestante"),re(),ne(26,"p-editor",12),We("ngModelChange",function(h){return s.resposta=h}),re()(),ne(27,"div",9)(28,"label"),ze(29,"Observa\xe7\xe3o da \xc1rea/Unidade - Ouvidoria Geral"),re(),ne(30,"textarea",13),We("ngModelChange",function(h){return s.obs=h}),re()(),ne(31,"div",9)(32,"label"),ze(33,"Anexos"),re(),ne(34,"p-fileUpload",14),We("uploadHandler",function(h){return s.carregaArquivo(h)}),J(35,ope,1,1,"ng-template",15),re()(),Re(36,"br"),ne(37,"div",9),Re(38,"button",16),re()()()()()()()()),2&i&&(G(4),H("hidden",s.campos),G(4),nn(s.mensagem),G(1),H("hidden",!s.campos),G(9),H("ngModel",s.protocolo),G(4),H("ngModel",s.nomeSetor),G(4),$i(qo(13,rpe)),H("ngModel",s.resposta),G(4),H("ngModel",s.obs),G(4),H("auto",!0)("customUpload",!0)("multiple",!0)("maxFileSize",5e6))},dependencies:[Zr,Ei,co,Q_,wf,Cf,G_,sc,Z_,q5,Mb,Dk,v4],styles:["[_nghost-%COMP%]     .p-dialog .p-button{min-width:6rem}[_nghost-%COMP%]     .ck-editor__editable_inline{min-height:250px;max-height:200px}"]})}return t})();function ape(t,o){if(1&t){const e=wt();ne(0,"p-radioButton",20,21),We("ngModelChange",function(s){return Pe(e),Oe(X().$implicit.idResposta=s)}),re()}if(2&t){const e=o.$implicit,i=X().$implicit;H("name",i.id)("value",e.id)("label",e.descricao)("id","radio"+i.id)("ngModel",i.idResposta)}}function lpe(t,o){if(1&t&&(ne(0,"div"),ze(1),re(),ne(2,"div",18)(3,"div",19),J(4,ape,2,5,"ng-template",15),re()(),Re(5,"br")),2&t){const e=o.$implicit;G(1),nn(e.descricao),G(3),H("ngForOf",e.listaRespostaSatisfacao)}}const cpe=[{path:"",component:rG},{path:"cadastro/:tipoNatureza",component:JJ},{path:"consulta",component:W9},{path:"consulta/:token",component:W9},{path:"visualiza",component:epe},{path:"resp-enc/:parametro",component:spe},{path:"pesq-sat/:parametro",component:(()=>{class t{constructor(e,i,s,l,h,m){this.router=e,this.atendimentoService=i,this.messageService=s,this.activatedRoute=l,this.errorHandler=h,this.ngxLoader=m,this.pesquisa=new $9,this.resumoAtendimento=new Z5,this.campos=!1}ngOnInit(){this.atendimentoService.consultaLogotipo("1").then(e=>{this.imagemLogo="assets/image/"+e}),this.activatedRoute.params.subscribe(e=>{this.parametro=e.parametro}),this.ngxLoader.start(),this.atendimentoService.consultaParametroPesquisaEmail(this.parametro).then(e=>{console.log(e),null==e?(this.campos=!1,this.mensagem="Pesquisa n\xe3o encontrada!"):0==e.respondeuPesquisa?this.campos=!0:(this.campos=!1,this.mensagem="Pesquisa j\xe1 enviada!"),this.resumoAtendimento=e,this.ngxLoader.stop()}).then(e=>{setTimeout(()=>{this.divPesquisaFeita="Sim"!=this.resumoAtendimento.manifestacaoConcluida,this.divPesquisaFeita=0!=this.resumoAtendimento.respondeuPesquisa},1e3)}).catch(e=>{this.ngxLoader.stop(),setTimeout(()=>{this.errorHandler.handle(e)},1e3)})}enviarPesquisa(e){this.ngxLoader.start(),this.pesquisa.idAtendimento=this.resumoAtendimento.idAtendimento,this.pesquisa.listaPergunta=this.resumoAtendimento.listaPergunta,this.pesquisa.orgao=2,this.atendimentoService.salvarPesquisa(this.pesquisa).then(i=>{this.ngxLoader.stop()}).then(i=>{setTimeout(()=>{this.campos=!1,this.mensagem="Pesquisa enviada com sucesso!"},1e3)}).catch(i=>{this.ngxLoader.stop(),setTimeout(()=>{this.errorHandler.handle(i)},1e3)})}static#e=this.\u0275fac=function(i){return new(i||t)(Ce(No),Ce(zk),Ce(Nf),Ce(cc),Ce(Vk),Ce(Ef))};static#t=this.\u0275cmp=Ct({type:t,selectors:[["app-pesquisa-satisfacao"]],decls:32,vars:8,consts:[["text","Processando..."],["autocomplete","off",3,"ngSubmit"],["fp","ngForm"],[1,"container","px-4"],[3,"hidden"],[1,"row","justify-content-center",3,"hidden"],[1,"col-lg-8"],[1,"card","border-secondary","mb-3"],[1,"card-header","text-bg-success"],[1,"card-body","text-secondary"],[1,"col-auto"],["autocomplete","off"],[1,"col-lg-8",3,"hidden"],[1,"p-fluid","p-formgrid","p-grid"],[1,"divResultado"],["ngFor","",3,"ngForOf"],["pButton","","type","submit","label","Responder Pesquisa",3,"disabled"],[1,"p-fluid","p-formgrid","p-grid",3,"hidden"],[1,"p-formgroup-inline"],[1,"p-col-12","p-lg-12"],["required","",3,"name","value","label","id","ngModel","ngModelChange"],["item.id","ngModel"]],template:function(i,s){if(1&i){const l=wt();Re(0,"ngx-ui-loader",0),ne(1,"form",1,2),We("ngSubmit",function(){Pe(l);const m=ii(2);return Oe(s.enviarPesquisa(m))}),ne(3,"section")(4,"div",3)(5,"div",4)(6,"div")(7,"span")(8,"b"),ze(9),re()()()(),ne(10,"div",5)(11,"div",6)(12,"div",7)(13,"div",8),ze(14,"Pesquisa de Satisfa\xe7\xe3o"),re(),ne(15,"div",9)(16,"div",10)(17,"label"),ze(18),re()(),Re(19,"br"),ne(20,"form",11,2)(22,"div",12)(23,"div",13)(24,"div",14),J(25,lpe,6,2,"ng-template",15),re()()()()(),Re(26,"button",16),ne(27,"div",17)(28,"div")(29,"span")(30,"b"),ze(31,"A pesquisa de satisfa\xe7\xe3o foi realizada"),re()()()()()()()()()()}if(2&i){const l=ii(2);G(5),H("hidden",s.campos),G(4),nn(s.mensagem),G(1),H("hidden",!s.campos),G(8),rr("Protocolo: ",s.resumoAtendimento.numeroProtocolo,""),G(4),H("hidden",1==s.resumoAtendimento.respondeuPesquisa),G(3),H("ngForOf",s.resumoAtendimento.listaPergunta),G(1),H("disabled",!l.valid),G(1),H("hidden",0==s.resumoAtendimento.respondeuPesquisa)}},dependencies:[Zr,UT,Q_,Cf,G_,X_,sc,Z_,Mb,Dk],styles:['[_nghost-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:14px;color:#333;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}p[_ngcontent-%COMP%]{margin:0}.spacer[_ngcontent-%COMP%]{flex:1}.toolbar[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;height:90px;display:flex;align-items:center;background-color:#1976d2;color:#fff;font-weight:600}.toolbar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0 16px}.toolbar[_ngcontent-%COMP%]   #twitter-logo[_ngcontent-%COMP%]{height:40px;margin:0 16px}.toolbar[_ngcontent-%COMP%]   #twitter-logo[_ngcontent-%COMP%]:hover{opacity:.8}.content[_ngcontent-%COMP%]{margin:70px auto 32px;max-width:90%;align-items:center}a[_ngcontent-%COMP%]:link{text-decoration:none}.linha[_ngcontent-%COMP%]{width:100%;text-align:center;font-size:22px}.linha2[_ngcontent-%COMP%]{width:100%;padding-bottom:20px;font-weight:700}#nope[_ngcontent-%COMP%]{display:none}#nope[_ngcontent-%COMP%]:checked ~ #divCampos[_ngcontent-%COMP%]{display:none}#nope[_ngcontent-%COMP%]:checked ~ #divCampos2[_ngcontent-%COMP%]{display:block}.p-lg-3[_ngcontent-%COMP%]{padding:0!important}.anexo[_ngcontent-%COMP%]{text-align:left}']})}return t})()},{path:"**",redirectTo:"pagina-nao-encontrada"}];let dpe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({imports:[kT.forRoot(cpe),kT]})}return t})(),upe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ct({type:t,selectors:[["app-footer"]],decls:6,vars:0,consts:[[1,"py-5","bg-success"],[1,"container","px-4"],[1,"m-0","text-center","text-white"]],template:function(i,s){1&i&&(Re(0,"br")(1,"br"),ne(2,"footer",0)(3,"div",1)(4,"p",2),ze(5,"Copyright \xa9 Your Website 2023"),re()()())},styles:["footer[_ngcontent-%COMP%]{background:#ffab62;width:100%;height:100px;bottom:0;left:0}"]})}return t})(),hpe=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ct({type:t,selectors:[["app-header"]],decls:8,vars:0,consts:[["id","mainNav",1,"navbar","navbar-expand-lg","navbar-dark","bg-success","fixed-top"],[1,"container","px-4"],["href","#page-top",1,"navbar-brand"],[1,"container","px-4","text-center"],["src","assets/image/logo_defensoria.jpeg","width","30%"]],template:function(i,s){1&i&&(ne(0,"nav",0)(1,"div",1)(2,"a",2),ze(3,"Ouvidoria da Defensoria P\xfablica do Estado de S\xe3o Paulo"),re()()(),ne(4,"header")(5,"div",3),Re(6,"img",4)(7,"hr"),re()())}})}return t})(),ppe=(()=>{class t{constructor(){this.title="portal-defensoria-sp"}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275cmp=Ct({type:t,selectors:[["app-root"]],decls:3,vars:0,template:function(i,s){1&i&&Re(0,"app-header")(1,"router-outlet")(2,"app-footer")},dependencies:[qL,upe,hpe]})}return t})();function _8(t){return new Ze(3e3,!1)}function ch(t){switch(t.length){case 0:return new Bk;case 1:return t[0];default:return new Q7(t)}}function b8(t,o,e=new Map,i=new Map){const s=[],l=[];let h=-1,m=null;if(o.forEach(_=>{const w=_.get("offset"),N=w==h,$=N&&m||new Map;_.forEach((oe,le)=>{let ve=le,we=oe;if("offset"!==le)switch(ve=t.normalizePropertyName(ve,s),we){case"!":we=e.get(le);break;case Od:we=i.get(le);break;default:we=t.normalizeStyleValue(le,ve,we,s)}$.set(ve,we)}),N||l.push($),m=$,h=w}),s.length)throw function Rpe(t){return new Ze(3502,!1)}();return l}function y4(t,o,e,i){switch(o){case"start":t.onStart(()=>i(e&&k4(e,"start",t)));break;case"done":t.onDone(()=>i(e&&k4(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&k4(e,"destroy",t)))}}function k4(t,o,e){const l=w4(t.element,t.triggerName,t.fromState,t.toState,o||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),h=t._data;return null!=h&&(l._data=h),l}function w4(t,o,e,i,s="",l=0,h){return{element:t,triggerName:o,fromState:e,toState:i,phaseName:s,totalTime:l,disabled:!!h}}function ca(t,o,e){let i=t.get(o);return i||t.set(o,i=e),i}function v8(t){const o=t.indexOf(":");return[t.substring(1,o),t.slice(o+1)]}const Gpe=(()=>typeof document>"u"?null:document.documentElement)();function C4(t){const o=t.parentNode||t.host||null;return o===Gpe?null:o}let Yf=null,y8=!1;function k8(t,o){for(;o;){if(o===t)return!0;o=C4(o)}return!1}function w8(t,o,e){if(e)return Array.from(t.querySelectorAll(o));const i=t.querySelector(o);return i?[i]:[]}let C8=(()=>{class t{validateStyleProperty(e){return function Zpe(t){Yf||(Yf=function Qpe(){return typeof document<"u"?document.body:null}()||{},y8=!!Yf.style&&"WebkitAppearance"in Yf.style);let o=!0;return Yf.style&&!function Kpe(t){return"ebkit"==t.substring(1,6)}(t)&&(o=t in Yf.style,!o&&y8&&(o="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Yf.style)),o}(e)}matchesElement(e,i){return!1}containsElement(e,i){return k8(e,i)}getParentElement(e){return C4(e)}query(e,i,s){return w8(e,i,s)}computeStyle(e,i,s){return s||""}animate(e,i,s,l,h,m=[],_){return new Bk(s,l)}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})(),A4=(()=>{class t{static#e=this.NOOP=new C8}return t})();const Jpe=1e3,M4="ng-enter",ix="ng-leave",ox="ng-trigger",rx=".ng-trigger",M8="ng-animating",D4=".ng-animating";function Nd(t){if("number"==typeof t)return t;const o=t.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:T4(parseFloat(o[1]),o[2])}function T4(t,o){return"s"===o?t*Jpe:t}function sx(t,o,e){return t.hasOwnProperty("duration")?t:function efe(t,o,e){let s,l=0,h="";if("string"==typeof t){const m=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===m)return o.push(_8()),{duration:0,delay:0,easing:""};s=T4(parseFloat(m[1]),m[2]);const _=m[3];null!=_&&(l=T4(parseFloat(_),m[4]));const w=m[5];w&&(h=w)}else s=t;if(!e){let m=!1,_=o.length;s<0&&(o.push(function fpe(){return new Ze(3100,!1)}()),m=!0),l<0&&(o.push(function mpe(){return new Ze(3101,!1)}()),m=!0),m&&o.splice(_,0,_8())}return{duration:s,delay:l,easing:h}}(t,o,e)}function Gk(t,o={}){return Object.keys(t).forEach(e=>{o[e]=t[e]}),o}function D8(t){const o=new Map;return Object.keys(t).forEach(e=>{o.set(e,t[e])}),o}function dh(t,o=new Map,e){if(e)for(let[i,s]of e)o.set(i,s);for(let[i,s]of t)o.set(i,s);return o}function dc(t,o,e){o.forEach((i,s)=>{const l=E4(s);e&&!e.has(s)&&e.set(s,t.style[l]),t.style[l]=i})}function Uf(t,o){o.forEach((e,i)=>{const s=E4(i);t.style[s]=""})}function Kk(t){return Array.isArray(t)?1==t.length?t[0]:G7(t):t}const x4=new RegExp("{{\\s*(.+?)\\s*}}","g");function x8(t){let o=[];if("string"==typeof t){let e;for(;e=x4.exec(t);)o.push(e[1]);x4.lastIndex=0}return o}function Zk(t,o,e){const i=t.toString(),s=i.replace(x4,(l,h)=>{let m=o[h];return null==m&&(e.push(function _pe(t){return new Ze(3003,!1)}()),m=""),m.toString()});return s==i?t:s}function ax(t){const o=[];let e=t.next();for(;!e.done;)o.push(e.value),e=t.next();return o}const ife=/-+([a-z0-9])/g;function E4(t){return t.replace(ife,(...o)=>o[1].toUpperCase())}function da(t,o,e){switch(o.type){case 7:return t.visitTrigger(o,e);case 0:return t.visitState(o,e);case 1:return t.visitTransition(o,e);case 2:return t.visitSequence(o,e);case 3:return t.visitGroup(o,e);case 4:return t.visitAnimate(o,e);case 5:return t.visitKeyframes(o,e);case 6:return t.visitStyle(o,e);case 8:return t.visitReference(o,e);case 9:return t.visitAnimateChild(o,e);case 10:return t.visitAnimateRef(o,e);case 11:return t.visitQuery(o,e);case 12:return t.visitStagger(o,e);default:throw function bpe(t){return new Ze(3004,!1)}()}}function E8(t,o){return window.getComputedStyle(t)[o]}const lx="*";function sfe(t,o){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function afe(t,o,e){if(":"==t[0]){const _=function lfe(t,o){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i)<parseFloat(e);default:return o.push(function Lpe(t){return new Ze(3016,!1)}()),"* => *"}}(t,e);if("function"==typeof _)return void o.push(_);t=_}const i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function Ipe(t){return new Ze(3015,!1)}()),o;const s=i[1],l=i[2],h=i[3];o.push(S8(s,h));"<"==l[0]&&!(s==lx&&h==lx)&&o.push(S8(h,s))}(i,e,o)):e.push(t),e}const cx=new Set(["true","1"]),dx=new Set(["false","0"]);function S8(t,o){const e=cx.has(t)||dx.has(t),i=cx.has(o)||dx.has(o);return(s,l)=>{let h=t==lx||t==s,m=o==lx||o==l;return!h&&e&&"boolean"==typeof s&&(h=s?cx.has(t):dx.has(t)),!m&&i&&"boolean"==typeof l&&(m=l?cx.has(o):dx.has(o)),h&&m}}const cfe=new RegExp("s*:selfs*,?","g");function S4(t,o,e,i){return new dfe(t).build(o,e,i)}class dfe{constructor(o){this._driver=o}build(o,e,i){const s=new pfe(e);return this._resetContextStyleTimingState(s),da(this,Kk(o),s)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles=new Map,o.collectedStyles.set("",new Map),o.currentTime=0}visitTrigger(o,e){let i=e.queryCount=0,s=e.depCount=0;const l=[],h=[];return"@"==o.name.charAt(0)&&e.errors.push(function ype(){return new Ze(3006,!1)}()),o.definitions.forEach(m=>{if(this._resetContextStyleTimingState(e),0==m.type){const _=m,w=_.name;w.toString().split(/\s*,\s*/).forEach(N=>{_.name=N,l.push(this.visitState(_,e))}),_.name=w}else if(1==m.type){const _=this.visitTransition(m,e);i+=_.queryCount,s+=_.depCount,h.push(_)}else e.errors.push(function kpe(){return new Ze(3007,!1)}())}),{type:7,name:o.name,states:l,transitions:h,queryCount:i,depCount:s,options:null}}visitState(o,e){const i=this.visitStyle(o.styles,e),s=o.options&&o.options.params||null;if(i.containsDynamicStyles){const l=new Set,h=s||{};i.styles.forEach(m=>{m instanceof Map&&m.forEach(_=>{x8(_).forEach(w=>{h.hasOwnProperty(w)||l.add(w)})})}),l.size&&(ax(l.values()),e.errors.push(function wpe(t,o){return new Ze(3008,!1)}()))}return{type:0,name:o.name,style:i,options:s?{params:s}:null}}visitTransition(o,e){e.queryCount=0,e.depCount=0;const i=da(this,Kk(o.animation),e);return{type:1,matchers:sfe(o.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Wf(o.options)}}visitSequence(o,e){return{type:2,steps:o.steps.map(i=>da(this,i,e)),options:Wf(o.options)}}visitGroup(o,e){const i=e.currentTime;let s=0;const l=o.steps.map(h=>{e.currentTime=i;const m=da(this,h,e);return s=Math.max(s,e.currentTime),m});return e.currentTime=s,{type:3,steps:l,options:Wf(o.options)}}visitAnimate(o,e){const i=function mfe(t,o){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return I4(sx(t,o).duration,0,"");const e=t;if(e.split(/\s+/).some(l=>"{"==l.charAt(0)&&"{"==l.charAt(1))){const l=I4(0,0,"");return l.dynamic=!0,l.strValue=e,l}const s=sx(e,o);return I4(s.duration,s.delay,s.easing)}(o.timings,e.errors);e.currentAnimateTimings=i;let s,l=o.styles?o.styles:Fo({});if(5==l.type)s=this.visitKeyframes(l,e);else{let h=o.styles,m=!1;if(!h){m=!0;const w={};i.easing&&(w.easing=i.easing),h=Fo(w)}e.currentTime+=i.duration+i.delay;const _=this.visitStyle(h,e);_.isEmptyStep=m,s=_}return e.currentAnimateTimings=null,{type:4,timings:i,style:s,options:null}}visitStyle(o,e){const i=this._makeStyleAst(o,e);return this._validateStyleAst(i,e),i}_makeStyleAst(o,e){const i=[],s=Array.isArray(o.styles)?o.styles:[o.styles];for(let m of s)"string"==typeof m?m===Od?i.push(m):e.errors.push(new Ze(3002,!1)):i.push(D8(m));let l=!1,h=null;return i.forEach(m=>{if(m instanceof Map&&(m.has("easing")&&(h=m.get("easing"),m.delete("easing")),!l))for(let _ of m.values())if(_.toString().indexOf("{{")>=0){l=!0;break}}),{type:6,styles:i,easing:h,offset:o.offset,containsDynamicStyles:l,options:null}}_validateStyleAst(o,e){const i=e.currentAnimateTimings;let s=e.currentTime,l=e.currentTime;i&&l>0&&(l-=i.duration+i.delay),o.styles.forEach(h=>{"string"!=typeof h&&h.forEach((m,_)=>{const w=e.collectedStyles.get(e.currentQuerySelector),N=w.get(_);let $=!0;N&&(l!=s&&l>=N.startTime&&s<=N.endTime&&(e.errors.push(function Ape(t,o,e,i,s){return new Ze(3010,!1)}()),$=!1),l=N.startTime),$&&w.set(_,{startTime:l,endTime:s}),e.options&&function nfe(t,o,e){const i=o.params||{},s=x8(t);s.length&&s.forEach(l=>{i.hasOwnProperty(l)||e.push(function gpe(t){return new Ze(3001,!1)}())})}(m,e.options,e.errors)})})}visitKeyframes(o,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function Mpe(){return new Ze(3011,!1)}()),i;let l=0;const h=[];let m=!1,_=!1,w=0;const N=o.steps.map(Ye=>{const Fe=this._makeStyleAst(Ye,e);let it=null!=Fe.offset?Fe.offset:function ffe(t){if("string"==typeof t)return null;let o=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;o=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;o=parseFloat(e.get("offset")),e.delete("offset")}return o}(Fe.styles),tt=0;return null!=it&&(l++,tt=Fe.offset=it),_=_||tt<0||tt>1,m=m||tt<w,w=tt,h.push(tt),Fe});_&&e.errors.push(function Dpe(){return new Ze(3012,!1)}()),m&&e.errors.push(function Tpe(){return new Ze(3200,!1)}());const $=o.steps.length;let oe=0;l>0&&l<$?e.errors.push(function xpe(){return new Ze(3202,!1)}()):0==l&&(oe=1/($-1));const le=$-1,ve=e.currentTime,we=e.currentAnimateTimings,xe=we.duration;return N.forEach((Ye,Fe)=>{const it=oe>0?Fe==le?1:oe*Fe:h[Fe],tt=it*xe;e.currentTime=ve+we.delay+tt,we.duration=tt,this._validateStyleAst(Ye,e),Ye.offset=it,i.styles.push(Ye)}),i}visitReference(o,e){return{type:8,animation:da(this,Kk(o.animation),e),options:Wf(o.options)}}visitAnimateChild(o,e){return e.depCount++,{type:9,options:Wf(o.options)}}visitAnimateRef(o,e){return{type:10,animation:this.visitReference(o.animation,e),options:Wf(o.options)}}visitQuery(o,e){const i=e.currentQuerySelector,s=o.options||{};e.queryCount++,e.currentQuery=o;const[l,h]=function ufe(t){const o=!!t.split(/\s*,\s*/).find(e=>":self"==e);return o&&(t=t.replace(cfe,"")),t=t.replace(/@\*/g,rx).replace(/@\w+/g,e=>rx+"-"+e.slice(1)).replace(/:animating/g,D4),[t,o]}(o.selector);e.currentQuerySelector=i.length?i+" "+l:l,ca(e.collectedStyles,e.currentQuerySelector,new Map);const m=da(this,Kk(o.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:l,limit:s.limit||0,optional:!!s.optional,includeSelf:h,animation:m,originalSelector:o.selector,options:Wf(o.options)}}visitStagger(o,e){e.currentQuery||e.errors.push(function Epe(){return new Ze(3013,!1)}());const i="full"===o.timings?{duration:0,delay:0,easing:"full"}:sx(o.timings,e.errors,!0);return{type:12,animation:da(this,Kk(o.animation),e),timings:i,options:null}}}class pfe{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Wf(t){return t?(t=Gk(t)).params&&(t.params=function hfe(t){return t?Gk(t):null}(t.params)):t={},t}function I4(t,o,e){return{duration:t,delay:o,easing:e}}function L4(t,o,e,i,s,l,h=null,m=!1){return{type:1,element:t,keyframes:o,preStyleProps:e,postStyleProps:i,duration:s,delay:l,totalTime:s+l,easing:h,subTimeline:m}}class ux{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,e){let i=this._map.get(o);i||this._map.set(o,i=[]),i.push(...e)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const bfe=new RegExp(":enter","g"),yfe=new RegExp(":leave","g");function O4(t,o,e,i,s,l=new Map,h=new Map,m,_,w=[]){return(new kfe).buildKeyframes(t,o,e,i,s,l,h,m,_,w)}class kfe{buildKeyframes(o,e,i,s,l,h,m,_,w,N=[]){w=w||new ux;const $=new P4(o,e,w,s,l,N,[]);$.options=_;const oe=_.delay?Nd(_.delay):0;$.currentTimeline.delayNextStep(oe),$.currentTimeline.setStyles([h],null,$.errors,_),da(this,i,$);const le=$.timelines.filter(ve=>ve.containsAnimation());if(le.length&&m.size){let ve;for(let we=le.length-1;we>=0;we--){const xe=le[we];if(xe.element===e){ve=xe;break}}ve&&!ve.allowOnlyTimelineStyles()&&ve.setStyles([m],null,$.errors,_)}return le.length?le.map(ve=>ve.buildKeyframes()):[L4(e,[],[],[],0,oe,"",!1)]}visitTrigger(o,e){}visitState(o,e){}visitTransition(o,e){}visitAnimateChild(o,e){const i=e.subInstructions.get(e.element);if(i){const s=e.createSubContext(o.options),l=e.currentTimeline.currentTime,h=this._visitSubInstructions(i,s,s.options);l!=h&&e.transformIntoNewTimeline(h)}e.previousNode=o}visitAnimateRef(o,e){const i=e.createSubContext(o.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([o.options,o.animation.options],e,i),this.visitReference(o.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=o}_applyAnimationRefDelays(o,e,i){for(const s of o){const l=s?.delay;if(l){const h="number"==typeof l?l:Nd(Zk(l,s?.params??{},e.errors));i.delayNextStep(h)}}}_visitSubInstructions(o,e,i){let l=e.currentTimeline.currentTime;const h=null!=i.duration?Nd(i.duration):null,m=null!=i.delay?Nd(i.delay):null;return 0!==h&&o.forEach(_=>{const w=e.appendInstructionToTimeline(_,h,m);l=Math.max(l,w.duration+w.delay)}),l}visitReference(o,e){e.updateOptions(o.options,!0),da(this,o.animation,e),e.previousNode=o}visitSequence(o,e){const i=e.subContextCount;let s=e;const l=o.options;if(l&&(l.params||l.delay)&&(s=e.createSubContext(l),s.transformIntoNewTimeline(),null!=l.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=hx);const h=Nd(l.delay);s.delayNextStep(h)}o.steps.length&&(o.steps.forEach(h=>da(this,h,s)),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>i&&s.transformIntoNewTimeline()),e.previousNode=o}visitGroup(o,e){const i=[];let s=e.currentTimeline.currentTime;const l=o.options&&o.options.delay?Nd(o.options.delay):0;o.steps.forEach(h=>{const m=e.createSubContext(o.options);l&&m.delayNextStep(l),da(this,h,m),s=Math.max(s,m.currentTimeline.currentTime),i.push(m.currentTimeline)}),i.forEach(h=>e.currentTimeline.mergeTimelineCollectedStyles(h)),e.transformIntoNewTimeline(s),e.previousNode=o}_visitTiming(o,e){if(o.dynamic){const i=o.strValue;return sx(e.params?Zk(i,e.params,e.errors):i,e.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,e){const i=e.currentAnimateTimings=this._visitTiming(o.timings,e),s=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),s.snapshotCurrentStyles());const l=o.style;5==l.type?this.visitKeyframes(l,e):(e.incrementTime(i.duration),this.visitStyle(l,e),s.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=o}visitStyle(o,e){const i=e.currentTimeline,s=e.currentAnimateTimings;!s&&i.hasCurrentStyleProperties()&&i.forwardFrame();const l=s&&s.easing||o.easing;o.isEmptyStep?i.applyEmptyStep(l):i.setStyles(o.styles,l,e.errors,e.options),e.previousNode=o}visitKeyframes(o,e){const i=e.currentAnimateTimings,s=e.currentTimeline.duration,l=i.duration,m=e.createSubContext().currentTimeline;m.easing=i.easing,o.styles.forEach(_=>{m.forwardTime((_.offset||0)*l),m.setStyles(_.styles,_.easing,e.errors,e.options),m.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(m),e.transformIntoNewTimeline(s+l),e.previousNode=o}visitQuery(o,e){const i=e.currentTimeline.currentTime,s=o.options||{},l=s.delay?Nd(s.delay):0;l&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=hx);let h=i;const m=e.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!s.optional,e.errors);e.currentQueryTotal=m.length;let _=null;m.forEach((w,N)=>{e.currentQueryIndex=N;const $=e.createSubContext(o.options,w);l&&$.delayNextStep(l),w===e.element&&(_=$.currentTimeline),da(this,o.animation,$),$.currentTimeline.applyStylesToKeyframe(),h=Math.max(h,$.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(h),_&&(e.currentTimeline.mergeTimelineCollectedStyles(_),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=o}visitStagger(o,e){const i=e.parentContext,s=e.currentTimeline,l=o.timings,h=Math.abs(l.duration),m=h*(e.currentQueryTotal-1);let _=h*e.currentQueryIndex;switch(l.duration<0?"reverse":l.easing){case"reverse":_=m-_;break;case"full":_=i.currentStaggerTime}const N=e.currentTimeline;_&&N.delayNextStep(_);const $=N.currentTime;da(this,o.animation,e),e.previousNode=o,i.currentStaggerTime=s.currentTime-$+(s.startTime-i.currentTimeline.startTime)}}const hx={};class P4{constructor(o,e,i,s,l,h,m,_){this._driver=o,this.element=e,this.subInstructions=i,this._enterClassName=s,this._leaveClassName=l,this.errors=h,this.timelines=m,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=hx,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=_||new px(this._driver,e,0),m.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,e){if(!o)return;const i=o;let s=this.options;null!=i.duration&&(s.duration=Nd(i.duration)),null!=i.delay&&(s.delay=Nd(i.delay));const l=i.params;if(l){let h=s.params;h||(h=this.options.params={}),Object.keys(l).forEach(m=>{(!e||!h.hasOwnProperty(m))&&(h[m]=Zk(l[m],h,this.errors))})}}_copyOptions(){const o={};if(this.options){const e=this.options.params;if(e){const i=o.params={};Object.keys(e).forEach(s=>{i[s]=e[s]})}}return o}createSubContext(o=null,e,i){const s=e||this.element,l=new P4(this._driver,s,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(s,i||0));return l.previousNode=this.previousNode,l.currentAnimateTimings=this.currentAnimateTimings,l.options=this._copyOptions(),l.updateOptions(o),l.currentQueryIndex=this.currentQueryIndex,l.currentQueryTotal=this.currentQueryTotal,l.parentContext=this,this.subContextCount++,l}transformIntoNewTimeline(o){return this.previousNode=hx,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,e,i){const s={duration:e??o.duration,delay:this.currentTimeline.currentTime+(i??0)+o.delay,easing:""},l=new wfe(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,s,o.stretchStartingKeyframe);return this.timelines.push(l),s}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,e,i,s,l,h){let m=[];if(s&&m.push(this.element),o.length>0){o=(o=o.replace(bfe,"."+this._enterClassName)).replace(yfe,"."+this._leaveClassName);let w=this._driver.query(this.element,o,1!=i);0!==i&&(w=i<0?w.slice(w.length+i,w.length):w.slice(0,i)),m.push(...w)}return!l&&0==m.length&&h.push(function Spe(t){return new Ze(3014,!1)}()),m}}class px{constructor(o,e,i,s){this._driver=o,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=s,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+o),e&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,e){return this.applyStylesToKeyframe(),new px(this._driver,o,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,e){this._localTimelineStyles.set(o,e),this._globalTimelineStyles.set(o,e),this._styleSummary.set(o,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&this._previousKeyframe.set("easing",o);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||Od),this._currentKeyframe.set(e,Od);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,e,i,s){e&&this._previousKeyframe.set("easing",e);const l=s&&s.params||{},h=function Cfe(t,o){const e=new Map;let i;return t.forEach(s=>{if("*"===s){i=i||o.keys();for(let l of i)e.set(l,Od)}else dh(s,e)}),e}(o,this._globalTimelineStyles);for(let[m,_]of h){const w=Zk(_,l,i);this._pendingStyles.set(m,w),this._localTimelineStyles.has(m)||this._backFill.set(m,this._globalTimelineStyles.get(m)??Od),this._updateStyle(m,w)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((o,e)=>{this._currentKeyframe.set(e,o)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((o,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,o)}))}snapshotCurrentStyles(){for(let[o,e]of this._localTimelineStyles)this._pendingStyles.set(o,e),this._updateStyle(o,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let e in this._currentKeyframe)o.push(e);return o}mergeTimelineCollectedStyles(o){o._styleSummary.forEach((e,i)=>{const s=this._styleSummary.get(i);(!s||e.time>s.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let s=[];this._keyframes.forEach((m,_)=>{const w=dh(m,new Map,this._backFill);w.forEach((N,$)=>{"!"===N?o.add($):N===Od&&e.add($)}),i||w.set("offset",_/this.duration),s.push(w)});const l=o.size?ax(o.values()):[],h=e.size?ax(e.values()):[];if(i){const m=s[0],_=new Map(m);m.set("offset",0),_.set("offset",1),s=[m,_]}return L4(this.element,s,l,h,this.duration,this.startTime,this.easing,!1)}}class wfe extends px{constructor(o,e,i,s,l,h,m=!1){super(o,e,h.delay),this.keyframes=i,this.preStyleProps=s,this.postStyleProps=l,this._stretchStartingKeyframe=m,this.timings={duration:h.duration,delay:h.delay,easing:h.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:e,duration:i,easing:s}=this.timings;if(this._stretchStartingKeyframe&&e){const l=[],h=i+e,m=e/h,_=dh(o[0]);_.set("offset",0),l.push(_);const w=dh(o[0]);w.set("offset",O8(m)),l.push(w);const N=o.length-1;for(let $=1;$<=N;$++){let oe=dh(o[$]);const le=oe.get("offset");oe.set("offset",O8((e+le*i)/h)),l.push(oe)}i=h,e=0,s="",o=l}return L4(this.element,o,this.preStyleProps,this.postStyleProps,i,e,s,!0)}}function O8(t,o=3){const e=Math.pow(10,o-1);return Math.round(t*e)/e}class N4{}const Afe=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class Mfe extends N4{normalizePropertyName(o,e){return E4(o)}normalizeStyleValue(o,e,i,s){let l="";const h=i.toString().trim();if(Afe.has(e)&&0!==i&&"0"!==i)if("number"==typeof i)l="px";else{const m=i.match(/^[+-]?[\d\.]+([a-z]*)$/);m&&0==m[1].length&&s.push(function vpe(t,o){return new Ze(3005,!1)}())}return h+l}}function P8(t,o,e,i,s,l,h,m,_,w,N,$,oe){return{type:0,element:t,triggerName:o,isRemovalTransition:s,fromState:e,fromStyles:l,toState:i,toStyles:h,timelines:m,queriedElements:_,preStyleProps:w,postStyleProps:N,totalTime:$,errors:oe}}const R4={};class N8{constructor(o,e,i){this._triggerName=o,this.ast=e,this._stateStyles=i}match(o,e,i,s){return function Dfe(t,o,e,i,s){return t.some(l=>l(o,e,i,s))}(this.ast.matchers,o,e,i,s)}buildStyles(o,e,i){let s=this._stateStyles.get("*");return void 0!==o&&(s=this._stateStyles.get(o?.toString())||s),s?s.buildStyles(e,i):new Map}build(o,e,i,s,l,h,m,_,w,N){const $=[],oe=this.ast.options&&this.ast.options.params||R4,ve=this.buildStyles(i,m&&m.params||R4,$),we=_&&_.params||R4,xe=this.buildStyles(s,we,$),Ye=new Set,Fe=new Map,it=new Map,tt="void"===s,ut={params:Tfe(we,oe),delay:this.ast.options?.delay},Nt=N?[]:O4(o,e,this.ast.animation,l,h,ve,xe,ut,w,$);let qt=0;if(Nt.forEach(Vn=>{qt=Math.max(Vn.duration+Vn.delay,qt)}),$.length)return P8(e,this._triggerName,i,s,tt,ve,xe,[],[],Fe,it,qt,$);Nt.forEach(Vn=>{const Zi=Vn.element,Do=ca(Fe,Zi,new Set);Vn.preStyleProps.forEach(Rd=>Do.add(Rd));const es=ca(it,Zi,new Set);Vn.postStyleProps.forEach(Rd=>es.add(Rd)),Zi!==e&&Ye.add(Zi)});const En=ax(Ye.values());return P8(e,this._triggerName,i,s,tt,ve,xe,Nt,En,Fe,it,qt)}}function Tfe(t,o){const e=Gk(o);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class xfe{constructor(o,e,i){this.styles=o,this.defaultParams=e,this.normalizer=i}buildStyles(o,e){const i=new Map,s=Gk(this.defaultParams);return Object.keys(o).forEach(l=>{const h=o[l];null!==h&&(s[l]=h)}),this.styles.styles.forEach(l=>{"string"!=typeof l&&l.forEach((h,m)=>{h&&(h=Zk(h,s,e));const _=this.normalizer.normalizePropertyName(m,e);h=this.normalizer.normalizeStyleValue(m,_,h,e),i.set(m,h)})}),i}}class Sfe{constructor(o,e,i){this.name=o,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(s=>{this.states.set(s.name,new xfe(s.style,s.options&&s.options.params||{},i))}),R8(this.states,"true","1"),R8(this.states,"false","0"),e.transitions.forEach(s=>{this.transitionFactories.push(new N8(o,s,this.states))}),this.fallbackTransition=function Ife(t,o,e){return new N8(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(h,m)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,e,i,s){return this.transitionFactories.find(h=>h.match(o,e,i,s))||null}matchStyles(o,e,i){return this.fallbackTransition.buildStyles(o,e,i)}}function R8(t,o,e){t.has(o)?t.has(e)||t.set(e,t.get(o)):t.has(e)&&t.set(o,t.get(e))}const Lfe=new ux;class Ofe{constructor(o,e,i){this.bodyNode=o,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(o,e){const i=[],l=S4(this._driver,e,i,[]);if(i.length)throw function Fpe(t){return new Ze(3503,!1)}();this._animations.set(o,l)}_buildPlayer(o,e,i){const s=o.element,l=b8(this._normalizer,o.keyframes,e,i);return this._driver.animate(s,l,o.duration,o.delay,o.easing,[],!0)}create(o,e,i={}){const s=[],l=this._animations.get(o);let h;const m=new Map;if(l?(h=O4(this._driver,e,l,M4,ix,new Map,new Map,i,Lfe,s),h.forEach(N=>{const $=ca(m,N.element,new Map);N.postStyleProps.forEach(oe=>$.set(oe,null))})):(s.push(function Bpe(){return new Ze(3300,!1)}()),h=[]),s.length)throw function jpe(t){return new Ze(3504,!1)}();m.forEach((N,$)=>{N.forEach((oe,le)=>{N.set(le,this._driver.computeStyle($,le,Od))})});const w=ch(h.map(N=>{const $=m.get(N.element);return this._buildPlayer(N,new Map,$)}));return this._playersById.set(o,w),w.onDestroy(()=>this.destroy(o)),this.players.push(w),w}destroy(o){const e=this._getPlayer(o);e.destroy(),this._playersById.delete(o);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(o){const e=this._playersById.get(o);if(!e)throw function zpe(t){return new Ze(3301,!1)}();return e}listen(o,e,i,s){const l=w4(e,"","","");return y4(this._getPlayer(o),i,l,s),()=>{}}command(o,e,i,s){if("register"==i)return void this.register(o,s[0]);if("create"==i)return void this.create(o,e,s[0]||{});const l=this._getPlayer(o);switch(i){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(s[0]));break;case"destroy":this.destroy(o)}}}const F8="ng-animate-queued",F4="ng-animate-disabled",Bfe=[],B8={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},jfe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Il="__ng_removed";class B4{get params(){return this.options.params}constructor(o,e=""){this.namespaceId=e;const i=o&&o.hasOwnProperty("value");if(this.value=function Yfe(t){return t??null}(i?o.value:o),i){const l=Gk(o);delete l.value,this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(o){const e=o.params;if(e){const i=this.options.params;Object.keys(e).forEach(s=>{null==i[s]&&(i[s]=e[s])})}}}const Qk="void",j4=new B4(Qk);class zfe{constructor(o,e,i){this.id=o,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,Wa(e,this._hostClassName)}listen(o,e,i,s){if(!this._triggers.has(e))throw function Vpe(t,o){return new Ze(3302,!1)}();if(null==i||0==i.length)throw function Hpe(t){return new Ze(3303,!1)}();if(!function Ufe(t){return"start"==t||"done"==t}(i))throw function Ype(t,o){return new Ze(3400,!1)}();const l=ca(this._elementListeners,o,[]),h={name:e,phase:i,callback:s};l.push(h);const m=ca(this._engine.statesByElement,o,new Map);return m.has(e)||(Wa(o,ox),Wa(o,ox+"-"+e),m.set(e,j4)),()=>{this._engine.afterFlush(()=>{const _=l.indexOf(h);_>=0&&l.splice(_,1),this._triggers.has(e)||m.delete(e)})}}register(o,e){return!this._triggers.has(o)&&(this._triggers.set(o,e),!0)}_getTrigger(o){const e=this._triggers.get(o);if(!e)throw function Upe(t){return new Ze(3401,!1)}();return e}trigger(o,e,i,s=!0){const l=this._getTrigger(e),h=new z4(this.id,e,o);let m=this._engine.statesByElement.get(o);m||(Wa(o,ox),Wa(o,ox+"-"+e),this._engine.statesByElement.set(o,m=new Map));let _=m.get(e);const w=new B4(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&_&&w.absorbOptions(_.options),m.set(e,w),_||(_=j4),w.value!==Qk&&_.value===w.value){if(!function qfe(t,o){const e=Object.keys(t),i=Object.keys(o);if(e.length!=i.length)return!1;for(let s=0;s<e.length;s++){const l=e[s];if(!o.hasOwnProperty(l)||t[l]!==o[l])return!1}return!0}(_.params,w.params)){const we=[],xe=l.matchStyles(_.value,_.params,we),Ye=l.matchStyles(w.value,w.params,we);we.length?this._engine.reportError(we):this._engine.afterFlush(()=>{Uf(o,xe),dc(o,Ye)})}return}const oe=ca(this._engine.playersByElement,o,[]);oe.forEach(we=>{we.namespaceId==this.id&&we.triggerName==e&&we.queued&&we.destroy()});let le=l.matchTransition(_.value,w.value,o,w.params),ve=!1;if(!le){if(!s)return;le=l.fallbackTransition,ve=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:e,transition:le,fromState:_,toState:w,player:h,isFallbackTransition:ve}),ve||(Wa(o,F8),h.onStart(()=>{Ob(o,F8)})),h.onDone(()=>{let we=this.players.indexOf(h);we>=0&&this.players.splice(we,1);const xe=this._engine.playersByElement.get(o);if(xe){let Ye=xe.indexOf(h);Ye>=0&&xe.splice(Ye,1)}}),this.players.push(h),oe.push(h),h}deregister(o){this._triggers.delete(o),this._engine.statesByElement.forEach(e=>e.delete(o)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(s=>s.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const e=this._engine.playersByElement.get(o);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,e){const i=this._engine.driver.query(o,rx,!0);i.forEach(s=>{if(s[Il])return;const l=this._engine.fetchNamespacesByElement(s);l.size?l.forEach(h=>h.triggerLeaveAnimation(s,e,!1,!0)):this.clearElementCache(s)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(s=>this.clearElementCache(s)))}triggerLeaveAnimation(o,e,i,s){const l=this._engine.statesByElement.get(o),h=new Map;if(l){const m=[];if(l.forEach((_,w)=>{if(h.set(w,_.value),this._triggers.has(w)){const N=this.trigger(o,w,Qk,s);N&&m.push(N)}}),m.length)return this._engine.markElementAsRemoved(this.id,o,!0,e,h),i&&ch(m).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const e=this._elementListeners.get(o),i=this._engine.statesByElement.get(o);if(e&&i){const s=new Set;e.forEach(l=>{const h=l.name;if(s.has(h))return;s.add(h);const _=this._triggers.get(h).fallbackTransition,w=i.get(h)||j4,N=new B4(Qk),$=new z4(this.id,h,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:h,transition:_,fromState:w,toState:N,player:$,isFallbackTransition:!0})})}}removeNode(o,e){const i=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,e),this.triggerLeaveAnimation(o,e,!0))return;let s=!1;if(i.totalAnimations){const l=i.players.length?i.playersByQueriedElement.get(o):[];if(l&&l.length)s=!0;else{let h=o;for(;h=h.parentNode;)if(i.statesByElement.get(h)){s=!0;break}}}if(this.prepareLeaveAnimationListeners(o),s)i.markElementAsRemoved(this.id,o,!1,e);else{const l=o[Il];(!l||l===B8)&&(i.afterFlush(()=>this.clearElementCache(o)),i.destroyInnerAnimations(o),i._onRemovalComplete(o,e))}}insertNode(o,e){Wa(o,this._hostClassName)}drainQueuedTransitions(o){const e=[];return this._queue.forEach(i=>{const s=i.player;if(s.destroyed)return;const l=i.element,h=this._elementListeners.get(l);h&&h.forEach(m=>{if(m.name==i.triggerName){const _=w4(l,i.triggerName,i.fromState.value,i.toState.value);_._data=o,y4(i.player,m.phase,_,m.callback)}}),s.markedForDestroy?this._engine.afterFlush(()=>{s.destroy()}):e.push(i)}),this._queue=[],e.sort((i,s)=>{const l=i.transition.ast.depCount,h=s.transition.ast.depCount;return 0==l||0==h?l-h:this._engine.driver.containsElement(i.element,s.element)?1:-1})}destroy(o){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}}class Vfe{_onRemovalComplete(o,e){this.onRemovalComplete(o,e)}constructor(o,e,i){this.bodyNode=o,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(s,l)=>{}}get queuedPlayers(){const o=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&o.push(i)})}),o}createNamespace(o,e){const i=new zfe(o,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[o]=i}_balanceNamespaceList(o,e){const i=this._namespaceList,s=this.namespacesByHostElement;if(i.length-1>=0){let h=!1,m=this.driver.getParentElement(e);for(;m;){const _=s.get(m);if(_){const w=i.indexOf(_);i.splice(w+1,0,o),h=!0;break}m=this.driver.getParentElement(m)}h||i.unshift(o)}else i.push(o);return s.set(e,o),o}register(o,e){let i=this._namespaceLookup[o];return i||(i=this.createNamespace(o,e)),i}registerTrigger(o,e,i){let s=this._namespaceLookup[o];s&&s.register(e,i)&&this.totalAnimations++}destroy(o,e){o&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const i=this._fetchNamespace(o);this.namespacesByHostElement.delete(i.hostElement);const s=this._namespaceList.indexOf(i);s>=0&&this._namespaceList.splice(s,1),i.destroy(e),delete this._namespaceLookup[o]}))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const e=new Set,i=this.statesByElement.get(o);if(i)for(let s of i.values())if(s.namespaceId){const l=this._fetchNamespace(s.namespaceId);l&&e.add(l)}return e}trigger(o,e,i,s){if(fx(e)){const l=this._fetchNamespace(o);if(l)return l.trigger(e,i,s),!0}return!1}insertNode(o,e,i,s){if(!fx(e))return;const l=e[Il];if(l&&l.setForRemoval){l.setForRemoval=!1,l.setForMove=!0;const h=this.collectedLeaveElements.indexOf(e);h>=0&&this.collectedLeaveElements.splice(h,1)}if(o){const h=this._fetchNamespace(o);h&&h.insertNode(e,i)}s&&this.collectEnterElement(e)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,e){e?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Wa(o,F4)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),Ob(o,F4))}removeNode(o,e,i){if(fx(e)){const s=o?this._fetchNamespace(o):null;s?s.removeNode(e,i):this.markElementAsRemoved(o,e,!1,i);const l=this.namespacesByHostElement.get(e);l&&l.id!==o&&l.removeNode(e,i)}else this._onRemovalComplete(e,i)}markElementAsRemoved(o,e,i,s,l){this.collectedLeaveElements.push(e),e[Il]={namespaceId:o,setForRemoval:s,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:l}}listen(o,e,i,s,l){return fx(e)?this._fetchNamespace(o).listen(e,i,s,l):()=>{}}_buildInstruction(o,e,i,s,l){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,i,s,o.fromState.options,o.toState.options,e,l)}destroyInnerAnimations(o){let e=this.driver.query(o,rx,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(o,D4,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(o){const e=this.playersByElement.get(o);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(o){const e=this.playersByQueriedElement.get(o);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return ch(this.players).onDone(()=>o());o()})}processLeaveNode(o){const e=o[Il];if(e&&e.setForRemoval){if(o[Il]=B8,e.namespaceId){this.destroyInnerAnimations(o);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(o)}this._onRemovalComplete(o,e.setForRemoval)}o.classList?.contains(F4)&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(o=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,s)=>this._balanceNamespaceList(i,s)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;i<this.collectedEnterElements.length;i++)Wa(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const i=[];try{e=this._flushAnimations(i,o)}finally{for(let s=0;s<i.length;s++)i[s]()}}else for(let i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(i=>i()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?ch(e).onDone(()=>{i.forEach(s=>s())}):i.forEach(s=>s())}}reportError(o){throw function Wpe(t){return new Ze(3402,!1)}()}_flushAnimations(o,e){const i=new ux,s=[],l=new Map,h=[],m=new Map,_=new Map,w=new Map,N=new Set;this.disabledNodes.forEach(Bt=>{N.add(Bt);const Qt=this.driver.query(Bt,".ng-animate-queued",!0);for(let sn=0;sn<Qt.length;sn++)N.add(Qt[sn])});const $=this.bodyNode,oe=Array.from(this.statesByElement.keys()),le=V8(oe,this.collectedEnterElements),ve=new Map;let we=0;le.forEach((Bt,Qt)=>{const sn=M4+we++;ve.set(Qt,sn),Bt.forEach($n=>Wa($n,sn))});const xe=[],Ye=new Set,Fe=new Set;for(let Bt=0;Bt<this.collectedLeaveElements.length;Bt++){const Qt=this.collectedLeaveElements[Bt],sn=Qt[Il];sn&&sn.setForRemoval&&(xe.push(Qt),Ye.add(Qt),sn.hasAnimation?this.driver.query(Qt,".ng-star-inserted",!0).forEach($n=>Ye.add($n)):Fe.add(Qt))}const it=new Map,tt=V8(oe,Array.from(Ye));tt.forEach((Bt,Qt)=>{const sn=ix+we++;it.set(Qt,sn),Bt.forEach($n=>Wa($n,sn))}),o.push(()=>{le.forEach((Bt,Qt)=>{const sn=ve.get(Qt);Bt.forEach($n=>Ob($n,sn))}),tt.forEach((Bt,Qt)=>{const sn=it.get(Qt);Bt.forEach($n=>Ob($n,sn))}),xe.forEach(Bt=>{this.processLeaveNode(Bt)})});const ut=[],Nt=[];for(let Bt=this._namespaceList.length-1;Bt>=0;Bt--)this._namespaceList[Bt].drainQueuedTransitions(e).forEach(sn=>{const $n=sn.player,Bo=sn.element;if(ut.push($n),this.collectedEnterElements.length){const ts=Bo[Il];if(ts&&ts.setForMove){if(ts.previousTriggersValues&&ts.previousTriggersValues.has(sn.triggerName)){const qf=ts.previousTriggersValues.get(sn.triggerName),qa=this.statesByElement.get(sn.element);if(qa&&qa.has(sn.triggerName)){const bx=qa.get(sn.triggerName);bx.value=qf,qa.set(sn.triggerName,bx)}}return void $n.destroy()}}const $a=!$||!this.driver.containsElement($,Bo),ks=it.get(Bo),hc=ve.get(Bo),ji=this._buildInstruction(sn,i,hc,ks,$a);if(ji.errors&&ji.errors.length)return void Nt.push(ji);if($a)return $n.onStart(()=>Uf(Bo,ji.fromStyles)),$n.onDestroy(()=>dc(Bo,ji.toStyles)),void s.push($n);if(sn.isFallbackTransition)return $n.onStart(()=>Uf(Bo,ji.fromStyles)),$n.onDestroy(()=>dc(Bo,ji.toStyles)),void s.push($n);const _x=[];ji.timelines.forEach(ts=>{ts.stretchStartingKeyframe=!0,this.disabledNodes.has(ts.element)||_x.push(ts)}),ji.timelines=_x,i.append(Bo,ji.timelines),h.push({instruction:ji,player:$n,element:Bo}),ji.queriedElements.forEach(ts=>ca(m,ts,[]).push($n)),ji.preStyleProps.forEach((ts,qf)=>{if(ts.size){let qa=_.get(qf);qa||_.set(qf,qa=new Set),ts.forEach((bx,Y4)=>qa.add(Y4))}}),ji.postStyleProps.forEach((ts,qf)=>{let qa=w.get(qf);qa||w.set(qf,qa=new Set),ts.forEach((bx,Y4)=>qa.add(Y4))})});if(Nt.length){const Bt=[];Nt.forEach(Qt=>{Bt.push(function $pe(t,o){return new Ze(3505,!1)}())}),ut.forEach(Qt=>Qt.destroy()),this.reportError(Bt)}const qt=new Map,En=new Map;h.forEach(Bt=>{const Qt=Bt.element;i.has(Qt)&&(En.set(Qt,Qt),this._beforeAnimationBuild(Bt.player.namespaceId,Bt.instruction,qt))}),s.forEach(Bt=>{const Qt=Bt.element;this._getPreviousPlayers(Qt,!1,Bt.namespaceId,Bt.triggerName,null).forEach($n=>{ca(qt,Qt,[]).push($n),$n.destroy()})});const Vn=xe.filter(Bt=>Y8(Bt,_,w)),Zi=new Map;z8(Zi,this.driver,Fe,w,Od).forEach(Bt=>{Y8(Bt,_,w)&&Vn.push(Bt)});const es=new Map;le.forEach((Bt,Qt)=>{z8(es,this.driver,new Set(Bt),_,"!")}),Vn.forEach(Bt=>{const Qt=Zi.get(Bt),sn=es.get(Bt);Zi.set(Bt,new Map([...Qt?.entries()??[],...sn?.entries()??[]]))});const Rd=[],uc=[],$f={};h.forEach(Bt=>{const{element:Qt,player:sn,instruction:$n}=Bt;if(i.has(Qt)){if(N.has(Qt))return sn.onDestroy(()=>dc(Qt,$n.toStyles)),sn.disabled=!0,sn.overrideTotalTime($n.totalTime),void s.push(sn);let Bo=$f;if(En.size>1){let ks=Qt;const hc=[];for(;ks=ks.parentNode;){const ji=En.get(ks);if(ji){Bo=ji;break}hc.push(ks)}hc.forEach(ji=>En.set(ji,Bo))}const $a=this._buildAnimation(sn.namespaceId,$n,qt,l,es,Zi);if(sn.setRealPlayer($a),Bo===$f)Rd.push(sn);else{const ks=this.playersByElement.get(Bo);ks&&ks.length&&(sn.parentPlayer=ch(ks)),s.push(sn)}}else Uf(Qt,$n.fromStyles),sn.onDestroy(()=>dc(Qt,$n.toStyles)),uc.push(sn),N.has(Qt)&&s.push(sn)}),uc.forEach(Bt=>{const Qt=l.get(Bt.element);if(Qt&&Qt.length){const sn=ch(Qt);Bt.setRealPlayer(sn)}}),s.forEach(Bt=>{Bt.parentPlayer?Bt.syncPlayerEvents(Bt.parentPlayer):Bt.destroy()});for(let Bt=0;Bt<xe.length;Bt++){const Qt=xe[Bt],sn=Qt[Il];if(Ob(Qt,ix),sn&&sn.hasAnimation)continue;let $n=[];if(m.size){let $a=m.get(Qt);$a&&$a.length&&$n.push(...$a);let ks=this.driver.query(Qt,D4,!0);for(let hc=0;hc<ks.length;hc++){let ji=m.get(ks[hc]);ji&&ji.length&&$n.push(...ji)}}const Bo=$n.filter($a=>!$a.destroyed);Bo.length?Wfe(this,Qt,Bo):this.processLeaveNode(Qt)}return xe.length=0,Rd.forEach(Bt=>{this.players.push(Bt),Bt.onDone(()=>{Bt.destroy();const Qt=this.players.indexOf(Bt);this.players.splice(Qt,1)}),Bt.play()}),Rd}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,e,i,s,l){let h=[];if(e){const m=this.playersByQueriedElement.get(o);m&&(h=m)}else{const m=this.playersByElement.get(o);if(m){const _=!l||l==Qk;m.forEach(w=>{w.queued||!_&&w.triggerName!=s||h.push(w)})}}return(i||s)&&(h=h.filter(m=>!(i&&i!=m.namespaceId||s&&s!=m.triggerName))),h}_beforeAnimationBuild(o,e,i){const l=e.element,h=e.isRemovalTransition?void 0:o,m=e.isRemovalTransition?void 0:e.triggerName;for(const _ of e.timelines){const w=_.element,N=w!==l,$=ca(i,w,[]);this._getPreviousPlayers(w,N,h,m,e.toState).forEach(le=>{const ve=le.getRealPlayer();ve.beforeDestroy&&ve.beforeDestroy(),le.destroy(),$.push(le)})}Uf(l,e.fromStyles)}_buildAnimation(o,e,i,s,l,h){const m=e.triggerName,_=e.element,w=[],N=new Set,$=new Set,oe=e.timelines.map(ve=>{const we=ve.element;N.add(we);const xe=we[Il];if(xe&&xe.removedBeforeQueried)return new Bk(ve.duration,ve.delay);const Ye=we!==_,Fe=function $fe(t){const o=[];return H8(t,o),o}((i.get(we)||Bfe).map(qt=>qt.getRealPlayer())).filter(qt=>!!qt.element&&qt.element===we),it=l.get(we),tt=h.get(we),ut=b8(this._normalizer,ve.keyframes,it,tt),Nt=this._buildPlayer(ve,ut,Fe);if(ve.subTimeline&&s&&$.add(we),Ye){const qt=new z4(o,m,we);qt.setRealPlayer(Nt),w.push(qt)}return Nt});w.forEach(ve=>{ca(this.playersByQueriedElement,ve.element,[]).push(ve),ve.onDone(()=>function Hfe(t,o,e){let i=t.get(o);if(i){if(i.length){const s=i.indexOf(e);i.splice(s,1)}0==i.length&&t.delete(o)}return i}(this.playersByQueriedElement,ve.element,ve))}),N.forEach(ve=>Wa(ve,M8));const le=ch(oe);return le.onDestroy(()=>{N.forEach(ve=>Ob(ve,M8)),dc(_,e.toStyles)}),$.forEach(ve=>{ca(s,ve,[]).push(le)}),le}_buildPlayer(o,e,i){return e.length>0?this.driver.animate(o.element,e,o.duration,o.delay,o.easing,i):new Bk(o.duration,o.delay)}}class z4{constructor(o,e,i){this.namespaceId=o,this.triggerName=e,this.element=i,this._player=new Bk,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,this._queuedCallbacks.forEach((e,i)=>{e.forEach(s=>y4(o,i,void 0,s))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const e=this._player;e.triggerCallback&&o.onStart(()=>e.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,e){ca(this._queuedCallbacks,o,[]).push(e)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const e=this._player;e.triggerCallback&&e.triggerCallback(o)}}function fx(t){return t&&1===t.nodeType}function j8(t,o){const e=t.style.display;return t.style.display=o??"none",e}function z8(t,o,e,i,s){const l=[];e.forEach(_=>l.push(j8(_)));const h=[];i.forEach((_,w)=>{const N=new Map;_.forEach($=>{const oe=o.computeStyle(w,$,s);N.set($,oe),(!oe||0==oe.length)&&(w[Il]=jfe,h.push(w))}),t.set(w,N)});let m=0;return e.forEach(_=>j8(_,l[m++])),h}function V8(t,o){const e=new Map;if(t.forEach(m=>e.set(m,[])),0==o.length)return e;const s=new Set(o),l=new Map;function h(m){if(!m)return 1;let _=l.get(m);if(_)return _;const w=m.parentNode;return _=e.has(w)?w:s.has(w)?1:h(w),l.set(m,_),_}return o.forEach(m=>{const _=h(m);1!==_&&e.get(_).push(m)}),e}function Wa(t,o){t.classList?.add(o)}function Ob(t,o){t.classList?.remove(o)}function Wfe(t,o,e){ch(e).onDone(()=>t.processLeaveNode(o))}function H8(t,o){for(let e=0;e<t.length;e++){const i=t[e];i instanceof Q7?H8(i.players,o):o.push(i)}}function Y8(t,o,e){const i=e.get(t);if(!i)return!1;let s=o.get(t);return s?i.forEach(l=>s.add(l)):o.set(t,i),e.delete(t),!0}class mx{constructor(o,e,i){this.bodyNode=o,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(s,l)=>{},this._transitionEngine=new Vfe(o,e,i),this._timelineEngine=new Ofe(o,e,i),this._transitionEngine.onRemovalComplete=(s,l)=>this.onRemovalComplete(s,l)}registerTrigger(o,e,i,s,l){const h=o+"-"+s;let m=this._triggerCache[h];if(!m){const _=[],N=S4(this._driver,l,_,[]);if(_.length)throw function Npe(t,o){return new Ze(3404,!1)}();m=function Efe(t,o,e){return new Sfe(t,o,e)}(s,N,this._normalizer),this._triggerCache[h]=m}this._transitionEngine.registerTrigger(e,s,m)}register(o,e){this._transitionEngine.register(o,e)}destroy(o,e){this._transitionEngine.destroy(o,e)}onInsert(o,e,i,s){this._transitionEngine.insertNode(o,e,i,s)}onRemove(o,e,i){this._transitionEngine.removeNode(o,e,i)}disableAnimations(o,e){this._transitionEngine.markElementAsDisabled(o,e)}process(o,e,i,s){if("@"==i.charAt(0)){const[l,h]=v8(i);this._timelineEngine.command(l,e,h,s)}else this._transitionEngine.trigger(o,e,i,s)}listen(o,e,i,s,l){if("@"==i.charAt(0)){const[h,m]=v8(i);return this._timelineEngine.listen(h,e,m,l)}return this._transitionEngine.listen(o,e,i,s,l)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(o){this._transitionEngine.afterFlushAnimationsDone(o)}}let Kfe=(()=>{class t{static#e=this.initialStylesByElement=new WeakMap;constructor(e,i,s){this._element=e,this._startStyles=i,this._endStyles=s,this._state=0;let l=t.initialStylesByElement.get(e);l||t.initialStylesByElement.set(e,l=new Map),this._initialStyles=l}start(){this._state<1&&(this._startStyles&&dc(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(dc(this._element,this._initialStyles),this._endStyles&&(dc(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Uf(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Uf(this._element,this._endStyles),this._endStyles=null),dc(this._element,this._initialStyles),this._state=3)}}return t})();function V4(t){let o=null;return t.forEach((e,i)=>{(function Zfe(t){return"display"===t||"position"===t})(i)&&(o=o||new Map,o.set(i,e))}),o}class U8{constructor(o,e,i,s){this.element=o,this.keyframes=e,this.options=i,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:new Map;const e=()=>this._onFinish();this.domPlayer.addEventListener("finish",e),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",e)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(o){const e=[];return o.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(o,e,i){return o.animate(this._convertKeyframesToObject(e),i)}onStart(o){this._originalOnStartFns.push(o),this._onStartFns.push(o)}onDone(o){this._originalOnDoneFns.push(o),this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,s)=>{"offset"!==s&&o.set(s,this._finished?i:E8(this.element,s))}),this.currentSnapshot=o}triggerCallback(o){const e="start"===o?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class Qfe{validateStyleProperty(o){return!0}validateAnimatableStyleProperty(o){return!0}matchesElement(o,e){return!1}containsElement(o,e){return k8(o,e)}getParentElement(o){return C4(o)}query(o,e,i){return w8(o,e,i)}computeStyle(o,e,i){return window.getComputedStyle(o)[e]}animate(o,e,i,s,l,h=[]){const _={duration:i,delay:s,fill:0==s?"both":"forwards"};l&&(_.easing=l);const w=new Map,N=h.filter(le=>le instanceof U8);(function ofe(t,o){return 0===t||0===o})(i,s)&&N.forEach(le=>{le.currentSnapshot.forEach((ve,we)=>w.set(we,ve))});let $=function tfe(t){return t.length?t[0]instanceof Map?t:t.map(o=>D8(o)):[]}(e).map(le=>dh(le));$=function rfe(t,o,e){if(e.size&&o.length){let i=o[0],s=[];if(e.forEach((l,h)=>{i.has(h)||s.push(h),i.set(h,l)}),s.length)for(let l=1;l<o.length;l++){let h=o[l];s.forEach(m=>h.set(m,E8(t,m)))}}return o}(o,$,w);const oe=function Gfe(t,o){let e=null,i=null;return Array.isArray(o)&&o.length?(e=V4(o[0]),o.length>1&&(i=V4(o[o.length-1]))):o instanceof Map&&(e=V4(o)),e||i?new Kfe(t,e,i):null}(o,$);return new U8(o,$,_,oe)}}let Jfe=(()=>{class t extends $7{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Pr.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const s=Array.isArray(e)?G7(e):e;return W8(this._renderer,null,i,"register",[s]),new Xfe(i,this._renderer)}static#e=this.\u0275fac=function(i){return new(i||t)(st(Rg),st(Hn))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();class Xfe extends X${constructor(o,e){super(),this._id=o,this._renderer=e}create(o,e){return new eme(this._id,o,e||{},this._renderer)}}class eme{constructor(o,e,i,s){this.id=o,this.element=e,this._renderer=s,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(o,e){return this._renderer.listen(this.element,`@@${this.id}:${o}`,e)}_command(o,...e){return W8(this._renderer,this.element,this.id,o,e)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function W8(t,o,e,i,s){return t.setProperty(o,`@@${e}:${i}`,s)}const $8="@.disabled";let tme=(()=>{class t{constructor(e,i,s){this.delegate=e,this.engine=i,this._zone=s,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,i.onRemovalComplete=(l,h)=>{const m=h?.parentNode(l);m&&h.removeChild(m,l)}}createRenderer(e,i){const l=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let N=this._rendererCache.get(l);return N||(N=new q8("",l,this.engine,()=>this._rendererCache.delete(l)),this._rendererCache.set(l,N)),N}const h=i.id,m=i.id+"-"+this._currentId;this._currentId++,this.engine.register(m,e);const _=N=>{Array.isArray(N)?N.forEach(_):this.engine.registerTrigger(h,m,e,N.name,N)};return i.data.animation.forEach(_),new nme(this,m,l,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,s){e>=0&&e<this._microtaskId?this._zone.run(()=>i(s)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(l=>{const[h,m]=l;h(m)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,s]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(i){return new(i||t)(st(Rg),st(mx),st(yn))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();class q8{constructor(o,e,i,s){this.namespaceId=o,this.delegate=e,this.engine=i,this._onDestroy=s}get data(){return this.delegate.data}destroyNode(o){this.delegate.destroyNode?.(o)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(o,e){return this.delegate.createElement(o,e)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,e){this.delegate.appendChild(o,e),this.engine.onInsert(this.namespaceId,e,o,!1)}insertBefore(o,e,i,s=!0){this.delegate.insertBefore(o,e,i),this.engine.onInsert(this.namespaceId,e,o,s)}removeChild(o,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate)}selectRootElement(o,e){return this.delegate.selectRootElement(o,e)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,e,i,s){this.delegate.setAttribute(o,e,i,s)}removeAttribute(o,e,i){this.delegate.removeAttribute(o,e,i)}addClass(o,e){this.delegate.addClass(o,e)}removeClass(o,e){this.delegate.removeClass(o,e)}setStyle(o,e,i,s){this.delegate.setStyle(o,e,i,s)}removeStyle(o,e,i){this.delegate.removeStyle(o,e,i)}setProperty(o,e,i){"@"==e.charAt(0)&&e==$8?this.disableAnimations(o,!!i):this.delegate.setProperty(o,e,i)}setValue(o,e){this.delegate.setValue(o,e)}listen(o,e,i){return this.delegate.listen(o,e,i)}disableAnimations(o,e){this.engine.disableAnimations(o,e)}}class nme extends q8{constructor(o,e,i,s,l){super(e,i,s,l),this.factory=o,this.namespaceId=e}setProperty(o,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==$8?this.disableAnimations(o,i=void 0===i||!!i):this.engine.process(this.namespaceId,o,e.slice(1),i):this.delegate.setProperty(o,e,i)}listen(o,e,i){if("@"==e.charAt(0)){const s=function ime(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(o);let l=e.slice(1),h="";return"@"!=l.charAt(0)&&([l,h]=function ome(t){const o=t.indexOf(".");return[t.substring(0,o),t.slice(o+1)]}(l)),this.engine.listen(this.namespaceId,s,l,h,m=>{this.factory.scheduleListenerCallback(m._data||-1,i,m)})}return this.delegate.listen(o,e,i)}}let rme=(()=>{class t extends mx{constructor(e,i,s,l){super(e.body,i,s)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(i){return new(i||t)(st(Hn),st(A4),st(N4),st(oc))};static#t=this.\u0275prov=gt({token:t,factory:t.\u0275fac})}return t})();const G8=[{provide:$7,useClass:Jfe},{provide:N4,useFactory:function sme(){return new Mfe}},{provide:mx,useClass:rme},{provide:Rg,useFactory:function ame(t,o,e){return new tme(t,o,e)},deps:[hL,mx,yn]}],H4=[{provide:A4,useFactory:()=>new Qfe},{provide:xv,useValue:"BrowserAnimations"},...G8],K8=[{provide:A4,useClass:C8},{provide:xv,useValue:"NoopAnimations"},...G8];let lme=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?K8:H4}}static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t});static#n=this.\u0275inj=Ut({providers:H4,imports:[NP]})}return t})(),_me=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,kT,Y5,kT,Y5]}),t})();const bme=["input"];function vme(t,o){if(1&t){const e=wt();ne(0,"TimesIcon",5),We("click",function(){return Pe(e),Oe(X(2).clear())}),re()}2&t&&H("styleClass","p-inputmask-clear-icon")}function yme(t,o){}function kme(t,o){1&t&&J(0,yme,0,0,"ng-template")}function wme(t,o){if(1&t){const e=wt();ne(0,"span",6),We("click",function(){return Pe(e),Oe(X(2).clear())}),J(1,kme,1,0,null,7),re()}if(2&t){const e=X(2);G(1),H("ngTemplateOutlet",e.clearIconTemplate)}}function Cme(t,o){if(1&t&&(vt(0),J(1,vme,1,1,"TimesIcon",3),J(2,wme,2,1,"span",4),kt()),2&t){const e=X();G(1),H("ngIf",!e.clearIconTemplate),G(1),H("ngIf",e.clearIconTemplate)}}const Ame={provide:qi,useExisting:xt(()=>Mme),multi:!0};let Mme=(()=>{class t{constructor(e,i,s,l){this.document=e,this.platformId=i,this.el=s,this.cd=l,this.type="text",this.slotChar="_",this.autoClear=!0,this.showClear=!1,this.characterPattern="[A-Za-z]",this.keepBuffer=!1,this.onComplete=new Qe,this.onFocus=new Qe,this.onBlur=new Qe,this.onInput=new Qe,this.onKeydown=new Qe,this.onClear=new Qe,this.onModelChange=()=>{},this.onModelTouched=()=>{},this.androidChrome=!0}ngOnInit(){if(Bs(this.platformId)){let e=navigator.userAgent;this.androidChrome=/chrome/i.test(e)&&/android/i.test(e)}this.initMask()}ngAfterContentInit(){this.templates.forEach(e=>{"clearicon"===e.getType()&&(this.clearIconTemplate=e.template)})}ngAfterViewInit(){Gi.check()}get mask(){return this._mask}set mask(e){this._mask=e,this.initMask(),this.writeValue(""),this.onModelChange(this.value)}initMask(){this.tests=[],this.partialPosition=this.mask.length,this.len=this.mask.length,this.firstNonMaskPos=null,this.defs={9:"[0-9]",a:this.characterPattern,"*":`${this.characterPattern}|[0-9]`};let e=this.mask.split("");for(let i=0;i<e.length;i++){let s=e[i];"?"==s?(this.len--,this.partialPosition=i):this.defs[s]?(this.tests.push(new RegExp(this.defs[s])),null===this.firstNonMaskPos&&(this.firstNonMaskPos=this.tests.length-1),i<this.partialPosition&&(this.lastRequiredNonMaskPos=this.tests.length-1)):this.tests.push(null)}this.buffer=[];for(let i=0;i<e.length;i++){let s=e[i];"?"!=s&&this.buffer.push(this.defs[s]?this.getPlaceholder(i):s)}this.defaultBuffer=this.buffer.join("")}writeValue(e){this.value=e,this.inputViewChild&&this.inputViewChild.nativeElement&&(this.inputViewChild.nativeElement.value=null==this.value||null==this.value?"":this.value,this.checkVal(),this.focusText=this.inputViewChild.nativeElement.value,this.updateFilledState())}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}caret(e,i){let s,l,h;if(this.inputViewChild.nativeElement.offsetParent&&this.inputViewChild.nativeElement===this.inputViewChild.nativeElement.ownerDocument.activeElement){if("number"!=typeof e)return this.inputViewChild.nativeElement.setSelectionRange?(l=this.inputViewChild.nativeElement.selectionStart,h=this.inputViewChild.nativeElement.selectionEnd):this.document.selection&&this.document.selection.createRange&&(s=this.document.selection.createRange(),l=0-s.duplicate().moveStart("character",-1e5),h=l+s.text.length),{begin:l,end:h};l=e,h="number"==typeof i?i:l,this.inputViewChild.nativeElement.setSelectionRange?this.inputViewChild.nativeElement.setSelectionRange(l,h):this.inputViewChild.nativeElement.createTextRange&&(s=this.inputViewChild.nativeElement.createTextRange(),s.collapse(!0),s.moveEnd("character",h),s.moveStart("character",l),s.select())}}isCompleted(){for(let i=this.firstNonMaskPos;i<=this.lastRequiredNonMaskPos;i++)if(this.tests[i]&&this.buffer[i]===this.getPlaceholder(i))return!1;return!0}getPlaceholder(e){return this.slotChar.charAt(e<this.slotChar.length?e:0)}seekNext(e){for(;++e<this.len&&!this.tests[e];);return e}seekPrev(e){for(;--e>=0&&!this.tests[e];);return e}shiftL(e,i){let s,l;if(!(e<0)){for(s=e,l=this.seekNext(i);s<this.len;s++)if(this.tests[s]){if(!(l<this.len&&this.tests[s].test(this.buffer[l])))break;this.buffer[s]=this.buffer[l],this.buffer[l]=this.getPlaceholder(l),l=this.seekNext(l)}this.writeBuffer(),this.caret(Math.max(this.firstNonMaskPos,e))}}shiftR(e){let i,s,l,h;for(i=e,s=this.getPlaceholder(e);i<this.len;i++)if(this.tests[i]){if(l=this.seekNext(i),h=this.buffer[i],this.buffer[i]=s,!(l<this.len&&this.tests[l].test(h)))break;s=h}}handleAndroidInput(e){var i=this.inputViewChild.nativeElement.value,s=this.caret();if(this.oldVal&&this.oldVal.length&&this.oldVal.length>i.length){for(this.checkVal(!0);s.begin>0&&!this.tests[s.begin-1];)s.begin--;if(0===s.begin)for(;s.begin<this.firstNonMaskPos&&!this.tests[s.begin];)s.begin++;setTimeout(()=>{this.caret(s.begin,s.begin),this.updateModel(e),this.isCompleted()&&this.onComplete.emit()},0)}else{for(this.checkVal(!0);s.begin<this.len&&!this.tests[s.begin];)s.begin++;setTimeout(()=>{this.caret(s.begin,s.begin),this.updateModel(e),this.isCompleted()&&this.onComplete.emit()},0)}}onInputBlur(e){if(this.focused=!1,this.onModelTouched(),this.keepBuffer||this.checkVal(),this.updateFilledState(),this.onBlur.emit(e),this.inputViewChild.nativeElement.value!=this.focusText||this.inputViewChild.nativeElement.value!=this.value){this.updateModel(e);let i=this.document.createEvent("HTMLEvents");i.initEvent("change",!0,!1),this.inputViewChild.nativeElement.dispatchEvent(i)}}onInputKeydown(e){if(this.readonly)return;let s,l,h,m,i=e.which||e.keyCode;Bs(this.platformId)&&(m=/iphone/i.test(Le.getUserAgent())),this.oldVal=this.inputViewChild.nativeElement.value,this.onKeydown.emit(e),8===i||46===i||m&&127===i?(s=this.caret(),l=s.begin,h=s.end,h-l==0&&(l=46!==i?this.seekPrev(l):h=this.seekNext(l-1),h=46===i?this.seekNext(h):h),this.clearBuffer(l,h),this.shiftL(l,this.keepBuffer?h-2:h-1),this.updateModel(e),this.onInput.emit(e),e.preventDefault()):13===i?(this.onInputBlur(e),this.updateModel(e)):27===i&&(this.inputViewChild.nativeElement.value=this.focusText,this.caret(0,this.checkVal()),this.updateModel(e),e.preventDefault())}onKeyPress(e){if(!this.readonly){var l,h,m,_,i=e.which||e.keyCode,s=this.caret();e.ctrlKey||e.altKey||e.metaKey||i<32||i>34&&i<41||(i&&13!==i&&(s.end-s.begin!=0&&(this.clearBuffer(s.begin,s.end),this.shiftL(s.begin,s.end-1)),(l=this.seekNext(s.begin-1))<this.len&&(h=String.fromCharCode(i),this.tests[l].test(h)&&(this.shiftR(l),this.buffer[l]=h,this.writeBuffer(),m=this.seekNext(l),Le.isClient&&/android/i.test(Le.getUserAgent())?setTimeout(()=>{this.caret(m)},0):this.caret(m),s.begin<=this.lastRequiredNonMaskPos&&(_=this.isCompleted()),this.onInput.emit(e))),e.preventDefault()),this.updateModel(e),this.updateFilledState(),_&&this.onComplete.emit())}}clearBuffer(e,i){if(!this.keepBuffer){let s;for(s=e;s<i&&s<this.len;s++)this.tests[s]&&(this.buffer[s]=this.getPlaceholder(s))}}writeBuffer(){this.inputViewChild.nativeElement.value=this.buffer.join("")}checkVal(e){let l,h,m,i=this.inputViewChild.nativeElement.value,s=-1;for(l=0,m=0;l<this.len;l++)if(this.tests[l]){for(this.buffer[l]=this.getPlaceholder(l);m++<i.length;)if(h=i.charAt(m-1),this.tests[l].test(h)){this.keepBuffer||(this.buffer[l]=h),s=l;break}if(m>i.length){this.clearBuffer(l+1,this.len);break}}else this.buffer[l]===i.charAt(m)&&m++,l<this.partialPosition&&(s=l);return e?this.writeBuffer():s+1<this.partialPosition?this.autoClear||this.buffer.join("")===this.defaultBuffer?(this.inputViewChild.nativeElement.value&&(this.inputViewChild.nativeElement.value=""),this.clearBuffer(0,this.len)):this.writeBuffer():(this.writeBuffer(),this.inputViewChild.nativeElement.value=this.inputViewChild.nativeElement.value.substring(0,s+1)),this.partialPosition?l:this.firstNonMaskPos}onInputFocus(e){if(this.readonly)return;let i;this.focused=!0,clearTimeout(this.caretTimeoutId),this.focusText=this.inputViewChild.nativeElement.value,i=this.keepBuffer?this.inputViewChild.nativeElement.value.length:this.checkVal(),this.caretTimeoutId=setTimeout(()=>{this.inputViewChild.nativeElement===this.inputViewChild.nativeElement.ownerDocument.activeElement&&(this.writeBuffer(),i==this.mask.replace("?","").length?this.caret(0,i):this.caret(i))},10),this.onFocus.emit(e)}onInputChange(e){this.androidChrome?this.handleAndroidInput(e):this.handleInputChange(e),this.onInput.emit(e)}handleInputChange(e){this.readonly||setTimeout(()=>{var i=this.checkVal(!0);this.caret(i),this.updateModel(e),this.isCompleted()&&this.onComplete.emit()},0)}getUnmaskedValue(){let e=[];for(let i=0;i<this.buffer.length;i++){let s=this.buffer[i];this.tests[i]&&s!=this.getPlaceholder(i)&&e.push(s)}return e.join("")}updateModel(e){const i=this.unmask?this.getUnmaskedValue():e.target.value;(null!==i||void 0!==i)&&(this.value=i,this.onModelChange(this.value))}updateFilledState(){this.filled=this.inputViewChild.nativeElement&&""!=this.inputViewChild.nativeElement.value}focus(){this.inputViewChild.nativeElement.focus()}clear(){this.inputViewChild.nativeElement.value="",this.value=null,this.onModelChange(this.value),this.onClear.emit()}}return t.\u0275fac=function(e){return new(e||t)(Ce(Hn),Ce(ko),Ce(An),Ce(Mi))},t.\u0275cmp=Ct({type:t,selectors:[["p-inputMask"]],contentQueries:function(e,i,s){if(1&e&&pi(s,co,4),2&e){let l;zt(l=jt())&&(i.templates=l)}},viewQuery:function(e,i){if(1&e&&Pn(bme,7),2&e){let s;zt(s=jt())&&(i.inputViewChild=s.first)}},hostAttrs:[1,"p-element"],hostVars:6,hostBindings:function(e,i){2&e&&Wi("p-inputwrapper-filled",i.filled)("p-inputwrapper-focus",i.focused)("p-inputmask-clearable",i.showClear&&!i.disabled)},inputs:{type:"type",slotChar:"slotChar",autoClear:"autoClear",showClear:"showClear",style:"style",inputId:"inputId",styleClass:"styleClass",placeholder:"placeholder",size:"size",maxlength:"maxlength",tabindex:"tabindex",title:"title",ariaLabel:"ariaLabel",ariaRequired:"ariaRequired",disabled:"disabled",readonly:"readonly",unmask:"unmask",name:"name",required:"required",characterPattern:"characterPattern",autoFocus:"autoFocus",autocomplete:"autocomplete",keepBuffer:"keepBuffer",mask:"mask"},outputs:{onComplete:"onComplete",onFocus:"onFocus",onBlur:"onBlur",onInput:"onInput",onKeydown:"onKeydown",onClear:"onClear"},features:[Pt([Ame])],decls:3,vars:18,consts:[["pInputText","","pAutoFocus","",1,"p-inputmask",3,"ngStyle","ngClass","disabled","readonly","autofocus","focus","blur","keydown","keypress","input","paste"],["input",""],[4,"ngIf"],[3,"styleClass","click",4,"ngIf"],["class","p-inputmask-clear-icon",3,"click",4,"ngIf"],[3,"styleClass","click"],[1,"p-inputmask-clear-icon",3,"click"],[4,"ngTemplateOutlet"]],template:function(e,i){1&e&&(ne(0,"input",0,1),We("focus",function(l){return i.onInputFocus(l)})("blur",function(l){return i.onInputBlur(l)})("keydown",function(l){return i.onInputKeydown(l)})("keypress",function(l){return i.onKeyPress(l)})("input",function(l){return i.onInputChange(l)})("paste",function(l){return i.handleInputChange(l)}),re(),J(2,Cme,3,2,"ng-container",2)),2&e&&(H("ngStyle",i.style)("ngClass",i.styleClass)("disabled",i.disabled)("readonly",i.readonly)("autofocus",i.autoFocus),mt("id",i.inputId)("type",i.type)("name",i.name)("placeholder",i.placeholder)("title",i.title)("size",i.size)("autocomplete",i.autocomplete)("maxlength",i.maxlength)("tabindex",i.tabindex)("aria-label",i.ariaLabel)("aria-required",i.ariaRequired)("required",i.required),G(2),H("ngIf",null!=i.value&&i.filled&&i.showClear&&!i.disabled))},dependencies:function(){return[ao,Ei,Xi,Mo,oF,b9,Jr]},styles:[".p-inputmask-clear-icon{position:absolute;top:50%;margin-top:-.5rem;cursor:pointer}.p-inputmask-clearable{position:relative}\n"],encapsulation:2,changeDetection:0}),t})(),Dme=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Wt({type:t}),t.\u0275inj=Ut({imports:[gi,KT,v9,Jr,Ki]}),t})(),Tme=(()=>{class t{static#e=this.\u0275fac=function(i){return new(i||t)};static#t=this.\u0275mod=Wt({type:t,bootstrap:[ppe]});static#n=this.\u0275inj=Ut({providers:[I9({}),{provide:j9,useValue:{siteKey:Ua_recaptcha_siteKey}},Nf],imports:[NP,dpe,lme,pG,TG,KT,eb,xV,$T,Dme,MJ,NJ,FJ,pU,mU,WU,_me,Mq,kre,Bq,oG,Fue,xhe,Rhe]})}return t})();kz().bootstrapModule(Tme).catch(t=>console.error(t))},3274:function(qe,_e,W){!function(R){"use strict";R.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(L){return/^nm$/i.test(L)},meridiem:function(L,x,C){return L<12?C?"vm":"VM":C?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(L){return L+(1===L||8===L||L>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(6676))},1867:function(qe,_e,W){!function(R){"use strict";var A=function(v){return 0===v?0:1===v?1:2===v?2:v%100>=3&&v%100<=10?3:v%100>=11?4:5},L={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},x=function(v){return function(D,E,T,M){var O=A(D),j=L[v][A(D)];return 2===O&&(j=j[E?0:1]),j.replace(/%d/i,D)}},C=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];R.defineLocale("ar-dz",{months:C,monthsShort:C,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(v){return"\u0645"===v},meridiem:function(v,D,E){return v<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:x("s"),ss:x("s"),m:x("m"),mm:x("m"),h:x("h"),hh:x("h"),d:x("d"),dd:x("d"),M:x("M"),MM:x("M"),y:x("y"),yy:x("y")},postformat:function(v){return v.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(W(6676))},7078:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(W(6676))},7776:function(qe,_e,W){!function(R){"use strict";var A={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},L=function(D){return 0===D?0:1===D?1:2===D?2:D%100>=3&&D%100<=10?3:D%100>=11?4:5},x={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},C=function(D){return function(E,T,M,O){var j=L(E),z=x[D][L(E)];return 2===j&&(z=z[T?0:1]),z.replace(/%d/i,E)}},I=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];R.defineLocale("ar-ly",{months:I,monthsShort:I,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(D){return"\u0645"===D},meridiem:function(D,E,T){return D<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:C("s"),ss:C("s"),m:C("m"),mm:C("m"),h:C("h"),hh:C("h"),d:C("d"),dd:C("d"),M:C("M"),MM:C("M"),y:C("y"),yy:C("y")},preparse:function(D){return D.replace(/\u060c/g,",")},postformat:function(D){return D.replace(/\d/g,function(E){return A[E]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(W(6676))},6789:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(W(6676))},6897:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},L={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};R.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(C){return"\u0645"===C},meridiem:function(C,I,v){return C<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(C){return C.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(I){return L[I]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(W(6676))},1585:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(W(6676))},2097:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},L={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},x=function(E){return 0===E?0:1===E?1:2===E?2:E%100>=3&&E%100<=10?3:E%100>=11?4:5},C={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},I=function(E){return function(T,M,O,j){var z=x(T),F=C[E][x(T)];return 2===z&&(F=F[M?0:1]),F.replace(/%d/i,T)}},v=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];R.defineLocale("ar",{months:v,monthsShort:v,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(E){return"\u0645"===E},meridiem:function(E,T,M){return E<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:I("s"),ss:I("s"),m:I("m"),mm:I("m"),h:I("h"),hh:I("h"),d:I("d"),dd:I("d"),M:I("M"),MM:I("M"),y:I("y"),yy:I("y")},preparse:function(E){return E.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(T){return L[T]}).replace(/\u060c/g,",")},postformat:function(E){return E.replace(/\d/g,function(T){return A[T]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(W(6676))},5611:function(qe,_e,W){!function(R){"use strict";var A={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};R.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(x){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(x)},meridiem:function(x,C,I){return x<4?"gec\u0259":x<12?"s\u0259h\u0259r":x<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(x){if(0===x)return x+"-\u0131nc\u0131";var C=x%10;return x+(A[C]||A[x%100-C]||A[x>=100?100:null])},week:{dow:1,doy:7}})}(W(6676))},2459:function(qe,_e,W){!function(R){"use strict";function L(C,I,v){return"m"===v?I?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===v?I?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":C+" "+function A(C,I){var v=C.split("_");return I%10==1&&I%100!=11?v[0]:I%10>=2&&I%10<=4&&(I%100<10||I%100>=20)?v[1]:v[2]}({ss:I?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:I?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:I?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[v],+C)}R.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:L,mm:L,h:L,hh:L,d:"\u0434\u0437\u0435\u043d\u044c",dd:L,M:"\u043c\u0435\u0441\u044f\u0446",MM:L,y:"\u0433\u043e\u0434",yy:L},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(C){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(C)},meridiem:function(C,I,v){return C<4?"\u043d\u043e\u0447\u044b":C<12?"\u0440\u0430\u043d\u0456\u0446\u044b":C<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(C,I){switch(I){case"M":case"d":case"DDD":case"w":case"W":return C%10!=2&&C%10!=3||C%100==12||C%100==13?C+"-\u044b":C+"-\u0456";case"D":return C+"-\u0433\u0430";default:return C}},week:{dow:1,doy:7}})}(W(6676))},1825:function(qe,_e,W){!function(R){"use strict";R.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(L){var x=L%10,C=L%100;return 0===L?L+"-\u0435\u0432":0===C?L+"-\u0435\u043d":C>10&&C<20?L+"-\u0442\u0438":1===x?L+"-\u0432\u0438":2===x?L+"-\u0440\u0438":7===x||8===x?L+"-\u043c\u0438":L+"-\u0442\u0438"},week:{dow:1,doy:7}})}(W(6676))},5918:function(qe,_e,W){!function(R){"use strict";R.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(W(6676))},9683:function(qe,_e,W){!function(R){"use strict";var A={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},L={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};R.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(I){return L[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===I?C<4?C:C+12:"\u09ad\u09cb\u09b0"===I||"\u09b8\u0995\u09be\u09b2"===I?C:"\u09a6\u09c1\u09aa\u09c1\u09b0"===I?C>=3?C:C+12:"\u09ac\u09bf\u0995\u09be\u09b2"===I||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===I?C+12:void 0},meridiem:function(C,I,v){return C<4?"\u09b0\u09be\u09a4":C<6?"\u09ad\u09cb\u09b0":C<12?"\u09b8\u0995\u09be\u09b2":C<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<18?"\u09ac\u09bf\u0995\u09be\u09b2":C<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(W(6676))},4065:function(qe,_e,W){!function(R){"use strict";var A={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},L={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};R.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(C){return C.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(I){return L[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u09b0\u09be\u09a4"===I&&C>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===I&&C<5||"\u09ac\u09bf\u0995\u09be\u09b2"===I?C+12:C},meridiem:function(C,I,v){return C<4?"\u09b0\u09be\u09a4":C<10?"\u09b8\u0995\u09be\u09b2":C<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":C<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(W(6676))},1034:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},L={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};R.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(C){return C.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(I){return L[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===I&&C>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===I&&C<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===I?C+12:C},meridiem:function(C,I,v){return C<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":C<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":C<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":C<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(W(6676))},7671:function(qe,_e,W){!function(R){"use strict";function A(F,q,V){return F+" "+function C(F,q){return 2===q?function I(F){var q={m:"v",b:"v",d:"z"};return void 0===q[F.charAt(0)]?F:q[F.charAt(0)]+F.substring(1)}(F):F}({mm:"munutenn",MM:"miz",dd:"devezh"}[V],F)}function x(F){return F>9?x(F%10):F}var v=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],D=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,j=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];R.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:j,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:j,monthsRegex:D,monthsShortRegex:D,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:v,longMonthsParse:v,shortMonthsParse:v,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:A,h:"un eur",hh:"%d eur",d:"un devezh",dd:A,M:"ur miz",MM:A,y:"ur bloaz",yy:function L(F){switch(x(F)){case 1:case 3:case 4:case 5:case 9:return F+" bloaz";default:return F+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(F){return F+(1===F?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(F){return"g.m."===F},meridiem:function(F,q,V){return F<12?"a.m.":"g.m."}})}(W(6676))},8153:function(qe,_e,W){!function(R){"use strict";function A(x,C,I){var v=x+" ";switch(I){case"ss":return v+(1===x?"sekunda":2===x||3===x||4===x?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return v+(1===x?"minuta":2===x||3===x||4===x?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return v+(1===x?"sat":2===x||3===x||4===x?"sata":"sati");case"dd":return v+(1===x?"dan":"dana");case"MM":return v+(1===x?"mjesec":2===x||3===x||4===x?"mjeseca":"mjeseci");case"yy":return v+(1===x?"godina":2===x||3===x||4===x?"godine":"godina")}}R.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:A,m:A,mm:A,h:A,hh:A,d:"dan",dd:A,M:"mjesec",MM:A,y:"godinu",yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(6676))},4287:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(L,x){var C=1===L?"r":2===L?"n":3===L?"r":4===L?"t":"\xe8";return("w"===x||"W"===x)&&(C="a"),L+C},week:{dow:1,doy:4}})}(W(6676))},2616:function(qe,_e,W){!function(R){"use strict";var A={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},L="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),x=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],C=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function I(E){return E>1&&E<5&&1!=~~(E/10)}function v(E,T,M,O){var j=E+" ";switch(M){case"s":return T||O?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return T||O?j+(I(E)?"sekundy":"sekund"):j+"sekundami";case"m":return T?"minuta":O?"minutu":"minutou";case"mm":return T||O?j+(I(E)?"minuty":"minut"):j+"minutami";case"h":return T?"hodina":O?"hodinu":"hodinou";case"hh":return T||O?j+(I(E)?"hodiny":"hodin"):j+"hodinami";case"d":return T||O?"den":"dnem";case"dd":return T||O?j+(I(E)?"dny":"dn\xed"):j+"dny";case"M":return T||O?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return T||O?j+(I(E)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):j+"m\u011bs\xedci";case"y":return T||O?"rok":"rokem";case"yy":return T||O?j+(I(E)?"roky":"let"):j+"lety"}}R.defineLocale("cs",{months:A,monthsShort:L,monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:v,ss:v,m:v,mm:v,h:v,hh:v,d:v,dd:v,M:v,MM:v,y:v,yy:v},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},7049:function(qe,_e,W){!function(R){"use strict";R.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(L){return L+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(L)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(L)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(W(6676))},9172:function(qe,_e,W){!function(R){"use strict";R.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(L){var C="";return L>20?C=40===L||50===L||60===L||80===L||100===L?"fed":"ain":L>0&&(C=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][L]),L+C},week:{dow:1,doy:4}})}(W(6676))},605:function(qe,_e,W){!function(R){"use strict";R.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},3395:function(qe,_e,W){!function(R){"use strict";function A(x,C,I,v){var D={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[x+" Tage",x+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[x+" Monate",x+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[x+" Jahre",x+" Jahren"]};return C?D[I][0]:D[I][1]}R.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:A,mm:"%d Minuten",h:A,hh:"%d Stunden",d:A,dd:A,w:A,ww:"%d Wochen",M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},9835:function(qe,_e,W){!function(R){"use strict";function A(x,C,I,v){var D={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[x+" Tage",x+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[x+" Monate",x+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[x+" Jahre",x+" Jahren"]};return C?D[I][0]:D[I][1]}R.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:A,mm:"%d Minuten",h:A,hh:"%d Stunden",d:A,dd:A,w:A,ww:"%d Wochen",M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},4013:function(qe,_e,W){!function(R){"use strict";function A(x,C,I,v){var D={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[x+" Tage",x+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[x+" Monate",x+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[x+" Jahre",x+" Jahren"]};return C?D[I][0]:D[I][1]}R.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:A,mm:"%d Minuten",h:A,hh:"%d Stunden",d:A,dd:A,w:A,ww:"%d Wochen",M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},4570:function(qe,_e,W){!function(R){"use strict";var A=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],L=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];R.defineLocale("dv",{months:A,monthsShort:A,weekdays:L,weekdaysShort:L,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(C){return"\u0789\u078a"===C},meridiem:function(C,I,v){return C<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(W(6676))},1859:function(qe,_e,W){!function(R){"use strict";R.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(x,C){return x?"string"==typeof C&&/D/.test(C.substring(0,C.indexOf("MMMM")))?this._monthsGenitiveEl[x.month()]:this._monthsNominativeEl[x.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(x,C,I){return x>11?I?"\u03bc\u03bc":"\u039c\u039c":I?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(x){return"\u03bc"===(x+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(x,C){var I=this._calendarEl[x],v=C&&C.hours();return function A(x){return typeof Function<"u"&&x instanceof Function||"[object Function]"===Object.prototype.toString.call(x)}(I)&&(I=I.apply(C)),I.replace("{}",v%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(W(6676))},5785:function(qe,_e,W){!function(R){"use strict";R.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:0,doy:4}})}(W(6676))},3792:function(qe,_e,W){!function(R){"use strict";R.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")}})}(W(6676))},7651:function(qe,_e,W){!function(R){"use strict";R.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(W(6676))},1929:function(qe,_e,W){!function(R){"use strict";R.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(W(6676))},9818:function(qe,_e,W){!function(R){"use strict";R.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")}})}(W(6676))},6612:function(qe,_e,W){!function(R){"use strict";R.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:0,doy:6}})}(W(6676))},4900:function(qe,_e,W){!function(R){"use strict";R.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(W(6676))},2721:function(qe,_e,W){!function(R){"use strict";R.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(W(6676))},5159:function(qe,_e,W){!function(R){"use strict";R.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(L){return"p"===L.charAt(0).toLowerCase()},meridiem:function(L,x,C){return L>11?C?"p.t.m.":"P.T.M.":C?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(W(6676))},1780:function(qe,_e,W){!function(R){"use strict";var A="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),L="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;R.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(v,D){return v?/-MMM-/.test(D)?L[v.month()]:A[v.month()]:A},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(6676))},3468:function(qe,_e,W){!function(R){"use strict";var A="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),L="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;R.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(v,D){return v?/-MMM-/.test(D)?L[v.month()]:A[v.month()]:A},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(W(6676))},4938:function(qe,_e,W){!function(R){"use strict";var A="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),L="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;R.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(v,D){return v?/-MMM-/.test(D)?L[v.month()]:A[v.month()]:A},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(W(6676))},1954:function(qe,_e,W){!function(R){"use strict";var A="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),L="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),x=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],C=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;R.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(v,D){return v?/-MMM-/.test(D)?L[v.month()]:A[v.month()]:A},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(W(6676))},1453:function(qe,_e,W){!function(R){"use strict";function A(x,C,I,v){var D={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[x+"sekundi",x+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[x+" minuti",x+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[x+" tunni",x+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[x+" kuu",x+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[x+" aasta",x+" aastat"]};return C?D[I][2]?D[I][2]:D[I][1]:v?D[I][0]:D[I][1]}R.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:"%d p\xe4eva",M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},4697:function(qe,_e,W){!function(R){"use strict";R.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(6676))},2900:function(qe,_e,W){!function(R){"use strict";var A={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},L={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};R.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(C){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(C)},meridiem:function(C,I,v){return C<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/[\u06f0-\u06f9]/g,function(I){return L[I]}).replace(/\u060c/g,",")},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(W(6676))},9775:function(qe,_e,W){!function(R){"use strict";var A="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),L=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",A[7],A[8],A[9]];function x(v,D,E,T){var M="";switch(E){case"s":return T?"muutaman sekunnin":"muutama sekunti";case"ss":M=T?"sekunnin":"sekuntia";break;case"m":return T?"minuutin":"minuutti";case"mm":M=T?"minuutin":"minuuttia";break;case"h":return T?"tunnin":"tunti";case"hh":M=T?"tunnin":"tuntia";break;case"d":return T?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":M=T?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return T?"kuukauden":"kuukausi";case"MM":M=T?"kuukauden":"kuukautta";break;case"y":return T?"vuoden":"vuosi";case"yy":M=T?"vuoden":"vuotta"}return function C(v,D){return v<10?D?L[v]:A[v]:v}(v,T)+" "+M}R.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:x,ss:x,m:x,mm:x,h:x,hh:x,d:x,dd:x,M:x,MM:x,y:x,yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},4282:function(qe,_e,W){!function(R){"use strict";R.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(L){return L},week:{dow:1,doy:4}})}(W(6676))},4236:function(qe,_e,W){!function(R){"use strict";R.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},2830:function(qe,_e,W){!function(R){"use strict";R.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(L,x){switch(x){default:case"M":case"Q":case"D":case"DDD":case"d":return L+(1===L?"er":"e");case"w":case"W":return L+(1===L?"re":"e")}}})}(W(6676))},1412:function(qe,_e,W){!function(R){"use strict";R.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(L,x){switch(x){default:case"M":case"Q":case"D":case"DDD":case"d":return L+(1===L?"er":"e");case"w":case"W":return L+(1===L?"re":"e")}},week:{dow:1,doy:4}})}(W(6676))},9361:function(qe,_e,W){!function(R){"use strict";var x=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,C=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];R.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:x,monthsShortRegex:x,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:C,longMonthsParse:C,shortMonthsParse:C,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(v,D){switch(D){case"D":return v+(1===v?"er":"");default:case"M":case"Q":case"DDD":case"d":return v+(1===v?"er":"e");case"w":case"W":return v+(1===v?"re":"e")}},week:{dow:1,doy:4}})}(W(6676))},6984:function(qe,_e,W){!function(R){"use strict";var A="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),L="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");R.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(C,I){return C?/-MMM-/.test(I)?L[C.month()]:A[C.month()]:A},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(C){return C+(1===C||8===C||C>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(6676))},3961:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(D){return D+(1===D?"d":D%10==2?"na":"mh")},week:{dow:1,doy:4}})}(W(6676))},8849:function(qe,_e,W){!function(R){"use strict";R.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(D){return D+(1===D?"d":D%10==2?"na":"mh")},week:{dow:1,doy:4}})}(W(6676))},4273:function(qe,_e,W){!function(R){"use strict";R.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(L){return 0===L.indexOf("un")?"n"+L:"en "+L},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(6676))},623:function(qe,_e,W){!function(R){"use strict";function A(x,C,I,v){var D={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[x+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",x+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[x+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",x+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[x+" \u0935\u0930\u093e\u0902\u0928\u0940",x+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[x+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",x+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[x+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",x+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[x+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",x+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return v?D[I][0]:D[I][1]}R.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(x,C){return"D"===C?x+"\u0935\u0947\u0930":x},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(x,C){return 12===x&&(x=0),"\u0930\u093e\u0924\u0940"===C?x<4?x:x+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===C?x:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===C?x>12?x:x+12:"\u0938\u093e\u0902\u091c\u0947"===C?x+12:void 0},meridiem:function(x,C,I){return x<4?"\u0930\u093e\u0924\u0940":x<12?"\u0938\u0915\u093e\u0933\u0940\u0902":x<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":x<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(W(6676))},2696:function(qe,_e,W){!function(R){"use strict";function A(x,C,I,v){var D={s:["thoddea sekondamni","thodde sekond"],ss:[x+" sekondamni",x+" sekond"],m:["eka mintan","ek minut"],mm:[x+" mintamni",x+" mintam"],h:["eka voran","ek vor"],hh:[x+" voramni",x+" voram"],d:["eka disan","ek dis"],dd:[x+" disamni",x+" dis"],M:["eka mhoinean","ek mhoino"],MM:[x+" mhoineamni",x+" mhoine"],y:["eka vorsan","ek voros"],yy:[x+" vorsamni",x+" vorsam"]};return v?D[I][0]:D[I][1]}R.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(x,C){return"D"===C?x+"er":x},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(x,C){return 12===x&&(x=0),"rati"===C?x<4?x:x+12:"sokallim"===C?x:"donparam"===C?x>12?x:x+12:"sanje"===C?x+12:void 0},meridiem:function(x,C,I){return x<4?"rati":x<12?"sokallim":x<16?"donparam":x<20?"sanje":"rati"}})}(W(6676))},6928:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},L={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};R.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(C){return C.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(I){return L[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u0ab0\u0abe\u0aa4"===I?C<4?C:C+12:"\u0ab8\u0ab5\u0abe\u0ab0"===I?C:"\u0aac\u0aaa\u0acb\u0ab0"===I?C>=10?C:C+12:"\u0ab8\u0abe\u0a82\u0a9c"===I?C+12:void 0},meridiem:function(C,I,v){return C<4?"\u0ab0\u0abe\u0aa4":C<10?"\u0ab8\u0ab5\u0abe\u0ab0":C<17?"\u0aac\u0aaa\u0acb\u0ab0":C<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(W(6676))},4804:function(qe,_e,W){!function(R){"use strict";R.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(L){return 2===L?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":L+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(L){return 2===L?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":L+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(L){return 2===L?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":L+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(L){return 2===L?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":L%10==0&&10!==L?L+" \u05e9\u05e0\u05d4":L+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(L){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(L)},meridiem:function(L,x,C){return L<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":L<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":L<12?C?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":L<18?C?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(W(6676))},3015:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},L={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},x=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];R.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:x,longMonthsParse:x,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(v){return v.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(D){return L[D]})},postformat:function(v){return v.replace(/\d/g,function(D){return A[D]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(v,D){return 12===v&&(v=0),"\u0930\u093e\u0924"===D?v<4?v:v+12:"\u0938\u0941\u092c\u0939"===D?v:"\u0926\u094b\u092a\u0939\u0930"===D?v>=10?v:v+12:"\u0936\u093e\u092e"===D?v+12:void 0},meridiem:function(v,D,E){return v<4?"\u0930\u093e\u0924":v<10?"\u0938\u0941\u092c\u0939":v<17?"\u0926\u094b\u092a\u0939\u0930":v<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(W(6676))},7134:function(qe,_e,W){!function(R){"use strict";function A(x,C,I){var v=x+" ";switch(I){case"ss":return v+(1===x?"sekunda":2===x||3===x||4===x?"sekunde":"sekundi");case"m":return C?"jedna minuta":"jedne minute";case"mm":return v+(1===x?"minuta":2===x||3===x||4===x?"minute":"minuta");case"h":return C?"jedan sat":"jednog sata";case"hh":return v+(1===x?"sat":2===x||3===x||4===x?"sata":"sati");case"dd":return v+(1===x?"dan":"dana");case"MM":return v+(1===x?"mjesec":2===x||3===x||4===x?"mjeseca":"mjeseci");case"yy":return v+(1===x?"godina":2===x||3===x||4===x?"godine":"godina")}}R.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:A,m:A,mm:A,h:A,hh:A,d:"dan",dd:A,M:"mjesec",MM:A,y:"godinu",yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(6676))},670:function(qe,_e,W){!function(R){"use strict";var A="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function L(I,v,D,E){var T=I;switch(D){case"s":return E||v?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return T+(E||v)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(E||v?" perc":" perce");case"mm":return T+(E||v?" perc":" perce");case"h":return"egy"+(E||v?" \xf3ra":" \xf3r\xe1ja");case"hh":return T+(E||v?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(E||v?" nap":" napja");case"dd":return T+(E||v?" nap":" napja");case"M":return"egy"+(E||v?" h\xf3nap":" h\xf3napja");case"MM":return T+(E||v?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(E||v?" \xe9v":" \xe9ve");case"yy":return T+(E||v?" \xe9v":" \xe9ve")}return""}function x(I){return(I?"":"[m\xfalt] ")+"["+A[this.day()]+"] LT[-kor]"}R.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(I){return"u"===I.charAt(1).toLowerCase()},meridiem:function(I,v,D){return I<12?!0===D?"de":"DE":!0===D?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return x.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return x.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:L,ss:L,m:L,mm:L,h:L,hh:L,d:L,dd:L,M:L,MM:L,y:L,yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},4523:function(qe,_e,W){!function(R){"use strict";R.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(L){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(L)},meridiem:function(L){return L<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":L<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":L<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(L,x){switch(x){case"DDD":case"w":case"W":case"DDDo":return 1===L?L+"-\u056b\u0576":L+"-\u0580\u0564";default:return L}},week:{dow:1,doy:7}})}(W(6676))},9233:function(qe,_e,W){!function(R){"use strict";R.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(L,x){return 12===L&&(L=0),"pagi"===x?L:"siang"===x?L>=11?L:L+12:"sore"===x||"malam"===x?L+12:void 0},meridiem:function(L,x,C){return L<11?"pagi":L<15?"siang":L<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(W(6676))},4693:function(qe,_e,W){!function(R){"use strict";function A(C){return C%100==11||C%10!=1}function L(C,I,v,D){var E=C+" ";switch(v){case"s":return I||D?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return A(C)?E+(I||D?"sek\xfandur":"sek\xfandum"):E+"sek\xfanda";case"m":return I?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return A(C)?E+(I||D?"m\xedn\xfatur":"m\xedn\xfatum"):I?E+"m\xedn\xfata":E+"m\xedn\xfatu";case"hh":return A(C)?E+(I||D?"klukkustundir":"klukkustundum"):E+"klukkustund";case"d":return I?"dagur":D?"dag":"degi";case"dd":return A(C)?I?E+"dagar":E+(D?"daga":"d\xf6gum"):I?E+"dagur":E+(D?"dag":"degi");case"M":return I?"m\xe1nu\xf0ur":D?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return A(C)?I?E+"m\xe1nu\xf0ir":E+(D?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):I?E+"m\xe1nu\xf0ur":E+(D?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return I||D?"\xe1r":"\xe1ri";case"yy":return A(C)?E+(I||D?"\xe1r":"\xe1rum"):E+(I||D?"\xe1r":"\xe1ri")}}R.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:L,ss:L,m:L,mm:L,h:"klukkustund",hh:L,d:L,dd:L,M:L,MM:L,y:L,yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},8118:function(qe,_e,W){!function(R){"use strict";R.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(L){return(/^[0-9].+$/.test(L)?"tra":"in")+" "+L},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(6676))},3936:function(qe,_e,W){!function(R){"use strict";R.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(6676))},6871:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(L,x){return"\u5143"===x[1]?1:parseInt(x[1]||L,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(L){return"\u5348\u5f8c"===L},meridiem:function(L,x,C){return L<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(L){return L.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(L){return this.week()!==L.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(L,x){switch(x){case"y":return 1===L?"\u5143\u5e74":L+"\u5e74";case"d":case"D":case"DDD":return L+"\u65e5";default:return L}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(W(6676))},8710:function(qe,_e,W){!function(R){"use strict";R.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(L,x){return 12===L&&(L=0),"enjing"===x?L:"siyang"===x?L>=11?L:L+12:"sonten"===x||"ndalu"===x?L+12:void 0},meridiem:function(L,x,C){return L<11?"enjing":L<15?"siyang":L<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(W(6676))},7125:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(L){return L.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(x,C,I){return"\u10d8"===I?C+"\u10e8\u10d8":C+I+"\u10e8\u10d8"})},past:function(L){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(L)?L.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(L)?L.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):L},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(L){return 0===L?L:1===L?L+"-\u10da\u10d8":L<20||L<=100&&L%20==0||L%100==0?"\u10db\u10d4-"+L:L+"-\u10d4"},week:{dow:1,doy:7}})}(W(6676))},2461:function(qe,_e,W){!function(R){"use strict";var A={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};R.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(x){return x+(A[x]||A[x%10]||A[x>=100?100:null])},week:{dow:1,doy:7}})}(W(6676))},7399:function(qe,_e,W){!function(R){"use strict";var A={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},L={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};R.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(C){return"\u179b\u17d2\u1784\u17b6\u1785"===C},meridiem:function(C,I,v){return C<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(C){return C.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(I){return L[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]})},week:{dow:1,doy:4}})}(W(6676))},8720:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},L={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};R.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(C){return C.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(I){return L[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===I?C<4?C:C+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===I?C:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===I?C>=10?C:C+12:"\u0cb8\u0c82\u0c9c\u0cc6"===I?C+12:void 0},meridiem:function(C,I,v){return C<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":C<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":C<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":C<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(C){return C+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(W(6676))},5306:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(L,x){switch(x){case"d":case"D":case"DDD":return L+"\uc77c";case"M":return L+"\uc6d4";case"w":case"W":return L+"\uc8fc";default:return L}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(L){return"\uc624\ud6c4"===L},meridiem:function(L,x,C){return L<12?"\uc624\uc804":"\uc624\ud6c4"}})}(W(6676))},2995:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},L={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},x=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];R.defineLocale("ku",{months:x,monthsShort:x,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(I){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(I)},meridiem:function(I,v,D){return I<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(I){return I.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(v){return L[v]}).replace(/\u060c/g,",")},postformat:function(I){return I.replace(/\d/g,function(v){return A[v]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(W(6676))},8779:function(qe,_e,W){!function(R){"use strict";var A={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};R.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(x){return x+(A[x]||A[x%10]||A[x>=100?100:null])},week:{dow:1,doy:7}})}(W(6676))},2057:function(qe,_e,W){!function(R){"use strict";function A(v,D,E,T){var M={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return D?M[E][0]:M[E][1]}function C(v){if(v=parseInt(v,10),isNaN(v))return!1;if(v<0)return!0;if(v<10)return 4<=v&&v<=7;if(v<100){var D=v%10;return C(0===D?v/10:D)}if(v<1e4){for(;v>=10;)v/=10;return C(v)}return C(v/=1e3)}R.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function L(v){return C(v.substr(0,v.indexOf(" ")))?"a "+v:"an "+v},past:function x(v){return C(v.substr(0,v.indexOf(" ")))?"viru "+v:"virun "+v},s:"e puer Sekonnen",ss:"%d Sekonnen",m:A,mm:"%d Minutten",h:A,hh:"%d Stonnen",d:A,dd:"%d Deeg",M:A,MM:"%d M\xe9int",y:A,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},7192:function(qe,_e,W){!function(R){"use strict";R.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(L){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===L},meridiem:function(L,x,C){return L<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(L){return"\u0e97\u0eb5\u0ec8"+L}})}(W(6676))},5430:function(qe,_e,W){!function(R){"use strict";var A={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function x(E,T,M,O){return T?I(M)[0]:O?I(M)[1]:I(M)[2]}function C(E){return E%10==0||E>10&&E<20}function I(E){return A[E].split("_")}function v(E,T,M,O){var j=E+" ";return 1===E?j+x(0,T,M[0],O):T?j+(C(E)?I(M)[1]:I(M)[0]):O?j+I(M)[1]:j+(C(E)?I(M)[1]:I(M)[2])}R.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function L(E,T,M,O){return T?"kelios sekund\u0117s":O?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:v,m:x,mm:v,h:x,hh:v,d:x,dd:v,M:x,MM:v,y:x,yy:v},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(E){return E+"-oji"},week:{dow:1,doy:4}})}(W(6676))},3363:function(qe,_e,W){!function(R){"use strict";var A={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function L(D,E,T){return T?E%10==1&&E%100!=11?D[2]:D[3]:E%10==1&&E%100!=11?D[0]:D[1]}function x(D,E,T){return D+" "+L(A[T],D,E)}function C(D,E,T){return L(A[T],D,E)}R.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function I(D,E){return E?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:x,m:C,mm:x,h:C,hh:x,d:C,dd:x,M:C,MM:x,y:C,yy:x},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},2939:function(qe,_e,W){!function(R){"use strict";var A={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(x,C){return 1===x?C[0]:x>=2&&x<=4?C[1]:C[2]},translate:function(x,C,I){var v=A.words[I];return 1===I.length?C?v[0]:v[1]:x+" "+A.correctGrammaticalCase(x,v)}};R.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:A.translate,m:A.translate,mm:A.translate,h:A.translate,hh:A.translate,d:"dan",dd:A.translate,M:"mjesec",MM:A.translate,y:"godinu",yy:A.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(6676))},8212:function(qe,_e,W){!function(R){"use strict";R.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(6676))},9718:function(qe,_e,W){!function(R){"use strict";R.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(L){var x=L%10,C=L%100;return 0===L?L+"-\u0435\u0432":0===C?L+"-\u0435\u043d":C>10&&C<20?L+"-\u0442\u0438":1===x?L+"-\u0432\u0438":2===x?L+"-\u0440\u0438":7===x||8===x?L+"-\u043c\u0438":L+"-\u0442\u0438"},week:{dow:1,doy:7}})}(W(6676))},561:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(L,x){return 12===L&&(L=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===x&&L>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===x||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===x?L+12:L},meridiem:function(L,x,C){return L<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":L<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":L<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":L<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(W(6676))},8929:function(qe,_e,W){!function(R){"use strict";function A(x,C,I,v){switch(I){case"s":return C?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return x+(C?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return x+(C?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return x+(C?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return x+(C?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return x+(C?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return x+(C?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return x}}R.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(x){return"\u04ae\u0425"===x},meridiem:function(x,C,I){return x<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(x,C){switch(C){case"d":case"D":case"DDD":return x+" \u04e9\u0434\u04e9\u0440";default:return x}}})}(W(6676))},4880:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},L={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function x(I,v,D,E){var T="";if(v)switch(D){case"s":T="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":T="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":T="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":T="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":T="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":T="%d \u0924\u093e\u0938";break;case"d":T="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":T="%d \u0926\u093f\u0935\u0938";break;case"M":T="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":T="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":T="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":T="%d \u0935\u0930\u094d\u0937\u0947"}else switch(D){case"s":T="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":T="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":T="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":T="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":T="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":T="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":T="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":T="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":T="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":T="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":T="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":T="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return T.replace(/%d/i,I)}R.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:x,ss:x,m:x,mm:x,h:x,hh:x,d:x,dd:x,M:x,MM:x,y:x,yy:x},preparse:function(I){return I.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(v){return L[v]})},postformat:function(I){return I.replace(/\d/g,function(v){return A[v]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(I,v){return 12===I&&(I=0),"\u092a\u0939\u093e\u091f\u0947"===v||"\u0938\u0915\u093e\u0933\u0940"===v?I:"\u0926\u0941\u092a\u093e\u0930\u0940"===v||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===v||"\u0930\u093e\u0924\u094d\u0930\u0940"===v?I>=12?I:I+12:void 0},meridiem:function(I,v,D){return I>=0&&I<6?"\u092a\u0939\u093e\u091f\u0947":I<12?"\u0938\u0915\u093e\u0933\u0940":I<17?"\u0926\u0941\u092a\u093e\u0930\u0940":I<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(W(6676))},2074:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(L,x){return 12===L&&(L=0),"pagi"===x?L:"tengahari"===x?L>=11?L:L+12:"petang"===x||"malam"===x?L+12:void 0},meridiem:function(L,x,C){return L<11?"pagi":L<15?"tengahari":L<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(W(6676))},3193:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(L,x){return 12===L&&(L=0),"pagi"===x?L:"tengahari"===x?L>=11?L:L+12:"petang"===x||"malam"===x?L+12:void 0},meridiem:function(L,x,C){return L<11?"pagi":L<15?"tengahari":L<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(W(6676))},4082:function(qe,_e,W){!function(R){"use strict";R.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(6676))},2261:function(qe,_e,W){!function(R){"use strict";var A={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},L={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};R.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(C){return C.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(I){return L[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]})},week:{dow:1,doy:4}})}(W(6676))},5273:function(qe,_e,W){!function(R){"use strict";R.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},9874:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},L={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};R.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(C){return C.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(I){return L[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u0930\u093e\u0924\u093f"===I?C<4?C:C+12:"\u092c\u093f\u0939\u093e\u0928"===I?C:"\u0926\u093f\u0909\u0901\u0938\u094b"===I?C>=10?C:C+12:"\u0938\u093e\u0901\u091d"===I?C+12:void 0},meridiem:function(C,I,v){return C<3?"\u0930\u093e\u0924\u093f":C<12?"\u092c\u093f\u0939\u093e\u0928":C<16?"\u0926\u093f\u0909\u0901\u0938\u094b":C<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(W(6676))},1484:function(qe,_e,W){!function(R){"use strict";var A="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),L="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),x=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;R.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(v,D){return v?/-MMM-/.test(D)?L[v.month()]:A[v.month()]:A},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(v){return v+(1===v||8===v||v>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(6676))},1667:function(qe,_e,W){!function(R){"use strict";var A="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),L="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),x=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],C=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;R.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(v,D){return v?/-MMM-/.test(D)?L[v.month()]:A[v.month()]:A},monthsRegex:C,monthsShortRegex:C,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(v){return v+(1===v||8===v||v>=20?"ste":"de")},week:{dow:1,doy:4}})}(W(6676))},7262:function(qe,_e,W){!function(R){"use strict";R.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},9679:function(qe,_e,W){!function(R){"use strict";R.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(L,x){var C=1===L?"r":2===L?"n":3===L?"r":4===L?"t":"\xe8";return("w"===x||"W"===x)&&(C="a"),L+C},week:{dow:1,doy:4}})}(W(6676))},6830:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},L={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};R.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(C){return C.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(I){return L[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(C,I){return 12===C&&(C=0),"\u0a30\u0a3e\u0a24"===I?C<4?C:C+12:"\u0a38\u0a35\u0a47\u0a30"===I?C:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===I?C>=10?C:C+12:"\u0a38\u0a3c\u0a3e\u0a2e"===I?C+12:void 0},meridiem:function(C,I,v){return C<4?"\u0a30\u0a3e\u0a24":C<10?"\u0a38\u0a35\u0a47\u0a30":C<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":C<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(W(6676))},3616:function(qe,_e,W){!function(R){"use strict";var A="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),L="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),x=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function C(D){return D%10<5&&D%10>1&&~~(D/10)%10!=1}function I(D,E,T){var M=D+" ";switch(T){case"ss":return M+(C(D)?"sekundy":"sekund");case"m":return E?"minuta":"minut\u0119";case"mm":return M+(C(D)?"minuty":"minut");case"h":return E?"godzina":"godzin\u0119";case"hh":return M+(C(D)?"godziny":"godzin");case"ww":return M+(C(D)?"tygodnie":"tygodni");case"MM":return M+(C(D)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return M+(C(D)?"lata":"lat")}}R.defineLocale("pl",{months:function(D,E){return D?/D MMMM/.test(E)?L[D.month()]:A[D.month()]:A},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:x,longMonthsParse:x,shortMonthsParse:x,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:I,m:I,mm:I,h:I,hh:I,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:I,M:"miesi\u0105c",MM:I,y:"rok",yy:I},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},2751:function(qe,_e,W){!function(R){"use strict";R.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(W(6676))},5138:function(qe,_e,W){!function(R){"use strict";R.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(W(6676))},7968:function(qe,_e,W){!function(R){"use strict";function A(x,C,I){var D=" ";return(x%100>=20||x>=100&&x%100==0)&&(D=" de "),x+D+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[I]}R.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:A,m:"un minut",mm:A,h:"o or\u0103",hh:A,d:"o zi",dd:A,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:A,M:"o lun\u0103",MM:A,y:"un an",yy:A},week:{dow:1,doy:7}})}(W(6676))},1828:function(qe,_e,W){!function(R){"use strict";function L(I,v,D){return"m"===D?v?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":I+" "+function A(I,v){var D=I.split("_");return v%10==1&&v%100!=11?D[0]:v%10>=2&&v%10<=4&&(v%100<10||v%100>=20)?D[1]:D[2]}({ss:v?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:v?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[D],+I)}var x=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];R.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:x,longMonthsParse:x,shortMonthsParse:x,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(I){if(I.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(I){if(I.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:L,m:L,mm:L,h:"\u0447\u0430\u0441",hh:L,d:"\u0434\u0435\u043d\u044c",dd:L,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:L,M:"\u043c\u0435\u0441\u044f\u0446",MM:L,y:"\u0433\u043e\u0434",yy:L},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(I){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(I)},meridiem:function(I,v,D){return I<4?"\u043d\u043e\u0447\u0438":I<12?"\u0443\u0442\u0440\u0430":I<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(I,v){switch(v){case"M":case"d":case"DDD":return I+"-\u0439";case"D":return I+"-\u0433\u043e";case"w":case"W":return I+"-\u044f";default:return I}},week:{dow:1,doy:4}})}(W(6676))},2188:function(qe,_e,W){!function(R){"use strict";var A=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],L=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];R.defineLocale("sd",{months:A,monthsShort:A,weekdays:L,weekdaysShort:L,weekdaysMin:L,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,I,v){return C<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(W(6676))},6562:function(qe,_e,W){!function(R){"use strict";R.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},7172:function(qe,_e,W){!function(R){"use strict";R.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(L){return L+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(L){return"\u0db4.\u0dc0."===L||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===L},meridiem:function(L,x,C){return L>11?C?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":C?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(W(6676))},9966:function(qe,_e,W){!function(R){"use strict";var A="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),L="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function x(v){return v>1&&v<5}function C(v,D,E,T){var M=v+" ";switch(E){case"s":return D||T?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return D||T?M+(x(v)?"sekundy":"sek\xfand"):M+"sekundami";case"m":return D?"min\xfata":T?"min\xfatu":"min\xfatou";case"mm":return D||T?M+(x(v)?"min\xfaty":"min\xfat"):M+"min\xfatami";case"h":return D?"hodina":T?"hodinu":"hodinou";case"hh":return D||T?M+(x(v)?"hodiny":"hod\xedn"):M+"hodinami";case"d":return D||T?"de\u0148":"d\u0148om";case"dd":return D||T?M+(x(v)?"dni":"dn\xed"):M+"d\u0148ami";case"M":return D||T?"mesiac":"mesiacom";case"MM":return D||T?M+(x(v)?"mesiace":"mesiacov"):M+"mesiacmi";case"y":return D||T?"rok":"rokom";case"yy":return D||T?M+(x(v)?"roky":"rokov"):M+"rokmi"}}R.defineLocale("sk",{months:A,monthsShort:L,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:C,ss:C,m:C,mm:C,h:C,hh:C,d:C,dd:C,M:C,MM:C,y:C,yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},7520:function(qe,_e,W){!function(R){"use strict";function A(x,C,I,v){var D=x+" ";switch(I){case"s":return C||v?"nekaj sekund":"nekaj sekundami";case"ss":return D+(1===x?C?"sekundo":"sekundi":2===x?C||v?"sekundi":"sekundah":x<5?C||v?"sekunde":"sekundah":"sekund");case"m":return C?"ena minuta":"eno minuto";case"mm":return D+(1===x?C?"minuta":"minuto":2===x?C||v?"minuti":"minutama":x<5?C||v?"minute":"minutami":C||v?"minut":"minutami");case"h":return C?"ena ura":"eno uro";case"hh":return D+(1===x?C?"ura":"uro":2===x?C||v?"uri":"urama":x<5?C||v?"ure":"urami":C||v?"ur":"urami");case"d":return C||v?"en dan":"enim dnem";case"dd":return D+(1===x?C||v?"dan":"dnem":2===x?C||v?"dni":"dnevoma":C||v?"dni":"dnevi");case"M":return C||v?"en mesec":"enim mesecem";case"MM":return D+(1===x?C||v?"mesec":"mesecem":2===x?C||v?"meseca":"mesecema":x<5?C||v?"mesece":"meseci":C||v?"mesecev":"meseci");case"y":return C||v?"eno leto":"enim letom";case"yy":return D+(1===x?C||v?"leto":"letom":2===x?C||v?"leti":"letoma":x<5?C||v?"leta":"leti":C||v?"let":"leti")}}R.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:A,ss:A,m:A,mm:A,h:A,hh:A,d:A,dd:A,M:A,MM:A,y:A,yy:A},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(6676))},5291:function(qe,_e,W){!function(R){"use strict";R.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(L){return"M"===L.charAt(0)},meridiem:function(L,x,C){return L<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},7603:function(qe,_e,W){!function(R){"use strict";var A={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(x,C){return x%10>=1&&x%10<=4&&(x%100<10||x%100>=20)?x%10==1?C[0]:C[1]:C[2]},translate:function(x,C,I,v){var E,D=A.words[I];return 1===I.length?"y"===I&&C?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":v||C?D[0]:D[1]:(E=A.correctGrammaticalCase(x,D),"yy"===I&&C&&"\u0433\u043e\u0434\u0438\u043d\u0443"===E?x+" \u0433\u043e\u0434\u0438\u043d\u0430":x+" "+E)}};R.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:A.translate,m:A.translate,mm:A.translate,h:A.translate,hh:A.translate,d:A.translate,dd:A.translate,M:A.translate,MM:A.translate,y:A.translate,yy:A.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(6676))},450:function(qe,_e,W){!function(R){"use strict";var A={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(x,C){return x%10>=1&&x%10<=4&&(x%100<10||x%100>=20)?x%10==1?C[0]:C[1]:C[2]},translate:function(x,C,I,v){var E,D=A.words[I];return 1===I.length?"y"===I&&C?"jedna godina":v||C?D[0]:D[1]:(E=A.correctGrammaticalCase(x,D),"yy"===I&&C&&"godinu"===E?x+" godina":x+" "+E)}};R.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:A.translate,m:A.translate,mm:A.translate,h:A.translate,hh:A.translate,d:A.translate,dd:A.translate,M:A.translate,MM:A.translate,y:A.translate,yy:A.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(W(6676))},383:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(L,x,C){return L<11?"ekuseni":L<15?"emini":L<19?"entsambama":"ebusuku"},meridiemHour:function(L,x){return 12===L&&(L=0),"ekuseni"===x?L:"emini"===x?L>=11?L:L+12:"entsambama"===x||"ebusuku"===x?0===L?0:L+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(W(6676))},7221:function(qe,_e,W){!function(R){"use strict";R.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?":e":1===x||2===x?":a":":e")},week:{dow:1,doy:4}})}(W(6676))},1743:function(qe,_e,W){!function(R){"use strict";R.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(W(6676))},6351:function(qe,_e,W){!function(R){"use strict";var A={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},L={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};R.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(C){return C+"\u0bb5\u0ba4\u0bc1"},preparse:function(C){return C.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(I){return L[I]})},postformat:function(C){return C.replace(/\d/g,function(I){return A[I]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(C,I,v){return C<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":C<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":C<10?" \u0b95\u0bbe\u0bb2\u0bc8":C<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":C<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":C<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(C,I){return 12===C&&(C=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===I?C<2?C:C+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===I||"\u0b95\u0bbe\u0bb2\u0bc8"===I||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===I&&C>=10?C:C+12},week:{dow:0,doy:6}})}(W(6676))},9620:function(qe,_e,W){!function(R){"use strict";R.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(L,x){return 12===L&&(L=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===x?L<4?L:L+12:"\u0c09\u0c26\u0c2f\u0c02"===x?L:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===x?L>=10?L:L+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===x?L+12:void 0},meridiem:function(L,x,C){return L<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":L<10?"\u0c09\u0c26\u0c2f\u0c02":L<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":L<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(W(6676))},6278:function(qe,_e,W){!function(R){"use strict";R.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(W(6676))},6987:function(qe,_e,W){!function(R){"use strict";var A={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};R.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(x,C){return 12===x&&(x=0),"\u0448\u0430\u0431"===C?x<4?x:x+12:"\u0441\u0443\u0431\u04b3"===C?x:"\u0440\u04ef\u0437"===C?x>=11?x:x+12:"\u0431\u0435\u0433\u043e\u04b3"===C?x+12:void 0},meridiem:function(x,C,I){return x<4?"\u0448\u0430\u0431":x<11?"\u0441\u0443\u0431\u04b3":x<16?"\u0440\u04ef\u0437":x<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(x){return x+(A[x]||A[x%10]||A[x>=100?100:null])},week:{dow:1,doy:7}})}(W(6676))},9325:function(qe,_e,W){!function(R){"use strict";R.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(L){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===L},meridiem:function(L,x,C){return L<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(W(6676))},3485:function(qe,_e,W){!function(R){"use strict";var A={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};R.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(x,C){switch(C){case"d":case"D":case"Do":case"DD":return x;default:if(0===x)return x+"'unjy";var I=x%10;return x+(A[I]||A[x%100-I]||A[x>=100?100:null])}},week:{dow:1,doy:7}})}(W(6676))},8148:function(qe,_e,W){!function(R){"use strict";R.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(L){return L},week:{dow:1,doy:4}})}(W(6676))},9616:function(qe,_e,W){!function(R){"use strict";var A="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function C(D,E,T,M){var O=function I(D){var E=Math.floor(D%1e3/100),T=Math.floor(D%100/10),M=D%10,O="";return E>0&&(O+=A[E]+"vatlh"),T>0&&(O+=(""!==O?" ":"")+A[T]+"maH"),M>0&&(O+=(""!==O?" ":"")+A[M]),""===O?"pagh":O}(D);switch(T){case"ss":return O+" lup";case"mm":return O+" tup";case"hh":return O+" rep";case"dd":return O+" jaj";case"MM":return O+" jar";case"yy":return O+" DIS"}}R.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function L(D){var E=D;return-1!==D.indexOf("jaj")?E.slice(0,-3)+"leS":-1!==D.indexOf("jar")?E.slice(0,-3)+"waQ":-1!==D.indexOf("DIS")?E.slice(0,-3)+"nem":E+" pIq"},past:function x(D){var E=D;return-1!==D.indexOf("jaj")?E.slice(0,-3)+"Hu\u2019":-1!==D.indexOf("jar")?E.slice(0,-3)+"wen":-1!==D.indexOf("DIS")?E.slice(0,-3)+"ben":E+" ret"},s:"puS lup",ss:C,m:"wa\u2019 tup",mm:C,h:"wa\u2019 rep",hh:C,d:"wa\u2019 jaj",dd:C,M:"wa\u2019 jar",MM:C,y:"wa\u2019 DIS",yy:C},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},4040:function(qe,_e,W){!function(R){"use strict";var A={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};R.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(x,C,I){return x<12?I?"\xf6\xf6":"\xd6\xd6":I?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(x){return"\xf6s"===x||"\xd6S"===x},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(x,C){switch(C){case"d":case"D":case"Do":case"DD":return x;default:if(0===x)return x+"'\u0131nc\u0131";var I=x%10;return x+(A[I]||A[x%100-I]||A[x>=100?100:null])}},week:{dow:1,doy:7}})}(W(6676))},594:function(qe,_e,W){!function(R){"use strict";function L(x,C,I,v){var D={s:["viensas secunds","'iensas secunds"],ss:[x+" secunds",x+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[x+" m\xeduts",x+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[x+" \xfeoras",x+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[x+" ziuas",x+" ziuas"],M:["'n mes","'iens mes"],MM:[x+" mesen",x+" mesen"],y:["'n ar","'iens ar"],yy:[x+" ars",x+" ars"]};return v||C?D[I][0]:D[I][1]}R.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(x){return"d'o"===x.toLowerCase()},meridiem:function(x,C,I){return x>11?I?"d'o":"D'O":I?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:L,ss:L,m:L,mm:L,h:L,hh:L,d:L,dd:L,M:L,MM:L,y:L,yy:L},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(W(6676))},3226:function(qe,_e,W){!function(R){"use strict";R.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(W(6676))},673:function(qe,_e,W){!function(R){"use strict";R.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(W(6676))},9580:function(qe,_e,W){!function(R){"use strict";R.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(L,x){return 12===L&&(L=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===x||"\u0633\u06d5\u06be\u06d5\u0631"===x||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===x?L:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===x||"\u0643\u06d5\u0686"===x?L+12:L>=11?L:L+12},meridiem:function(L,x,C){var I=100*L+x;return I<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":I<900?"\u0633\u06d5\u06be\u06d5\u0631":I<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":I<1230?"\u0686\u06c8\u0634":I<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(L,x){switch(x){case"d":case"D":case"DDD":return L+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return L+"-\u06be\u06d5\u067e\u062a\u06d5";default:return L}},preparse:function(L){return L.replace(/\u060c/g,",")},postformat:function(L){return L.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(W(6676))},7270:function(qe,_e,W){!function(R){"use strict";function L(v,D,E){return"m"===E?D?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===E?D?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":v+" "+function A(v,D){var E=v.split("_");return D%10==1&&D%100!=11?E[0]:D%10>=2&&D%10<=4&&(D%100<10||D%100>=20)?E[1]:E[2]}({ss:D?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:D?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:D?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[E],+v)}function C(v){return function(){return v+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}R.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function x(v,D){var E={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===v?E.nominative.slice(1,7).concat(E.nominative.slice(0,1)):v?E[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(D)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(D)?"genitive":"nominative"][v.day()]:E.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:C("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:C("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:C("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:C("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return C("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:L,m:L,mm:L,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:L,d:"\u0434\u0435\u043d\u044c",dd:L,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:L,y:"\u0440\u0456\u043a",yy:L},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(v){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(v)},meridiem:function(v,D,E){return v<4?"\u043d\u043e\u0447\u0456":v<12?"\u0440\u0430\u043d\u043a\u0443":v<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(v,D){switch(D){case"M":case"d":case"DDD":case"w":case"W":return v+"-\u0439";case"D":return v+"-\u0433\u043e";default:return v}},week:{dow:1,doy:7}})}(W(6676))},1656:function(qe,_e,W){!function(R){"use strict";var A=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],L=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];R.defineLocale("ur",{months:A,monthsShort:A,weekdays:L,weekdaysShort:L,weekdaysMin:L,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(C){return"\u0634\u0627\u0645"===C},meridiem:function(C,I,v){return C<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(C){return C.replace(/\u060c/g,",")},postformat:function(C){return C.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(W(6676))},8744:function(qe,_e,W){!function(R){"use strict";R.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(W(6676))},8364:function(qe,_e,W){!function(R){"use strict";R.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(W(6676))},5049:function(qe,_e,W){!function(R){"use strict";R.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(L){return/^ch$/i.test(L)},meridiem:function(L,x,C){return L<12?C?"sa":"SA":C?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(L){return L},week:{dow:1,doy:4}})}(W(6676))},5106:function(qe,_e,W){!function(R){"use strict";R.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(L){var x=L%10;return L+(1==~~(L%100/10)?"th":1===x?"st":2===x?"nd":3===x?"rd":"th")},week:{dow:1,doy:4}})}(W(6676))},6199:function(qe,_e,W){!function(R){"use strict";R.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(W(6676))},7280:function(qe,_e,W){!function(R){"use strict";R.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(L,x){return 12===L&&(L=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?L:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?L+12:L>=11?L:L+12},meridiem:function(L,x,C){var I=100*L+x;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(L){return L.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(L){return this.week()!==L.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(L,x){switch(x){case"d":case"D":case"DDD":return L+"\u65e5";case"M":return L+"\u6708";case"w":case"W":return L+"\u5468";default:return L}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(W(6676))},6860:function(qe,_e,W){!function(R){"use strict";R.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(L,x){return 12===L&&(L=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?L:"\u4e2d\u5348"===x?L>=11?L:L+12:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?L+12:void 0},meridiem:function(L,x,C){var I=100*L+x;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1200?"\u4e0a\u5348":1200===I?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(L,x){switch(x){case"d":case"D":case"DDD":return L+"\u65e5";case"M":return L+"\u6708";case"w":case"W":return L+"\u9031";default:return L}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(W(6676))},2335:function(qe,_e,W){!function(R){"use strict";R.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(L,x){return 12===L&&(L=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?L:"\u4e2d\u5348"===x?L>=11?L:L+12:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?L+12:void 0},meridiem:function(L,x,C){var I=100*L+x;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(L,x){switch(x){case"d":case"D":case"DDD":return L+"\u65e5";case"M":return L+"\u6708";case"w":case"W":return L+"\u9031";default:return L}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(W(6676))},482:function(qe,_e,W){!function(R){"use strict";R.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(L,x){return 12===L&&(L=0),"\u51cc\u6668"===x||"\u65e9\u4e0a"===x||"\u4e0a\u5348"===x?L:"\u4e2d\u5348"===x?L>=11?L:L+12:"\u4e0b\u5348"===x||"\u665a\u4e0a"===x?L+12:void 0},meridiem:function(L,x,C){var I=100*L+x;return I<600?"\u51cc\u6668":I<900?"\u65e9\u4e0a":I<1130?"\u4e0a\u5348":I<1230?"\u4e2d\u5348":I<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(L,x){switch(x){case"d":case"D":case"DDD":return L+"\u65e5";case"M":return L+"\u6708";case"w":case"W":return L+"\u9031";default:return L}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(W(6676))},6676:function(qe,_e,W){(qe=W.nmd(qe)).exports=function(){"use strict";var R,q;function A(){return R.apply(null,arguments)}function x(y){return y instanceof Array||"[object Array]"===Object.prototype.toString.call(y)}function C(y){return null!=y&&"[object Object]"===Object.prototype.toString.call(y)}function I(y,P){return Object.prototype.hasOwnProperty.call(y,P)}function v(y){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(y).length;var P;for(P in y)if(I(y,P))return!1;return!0}function D(y){return void 0===y}function E(y){return"number"==typeof y||"[object Number]"===Object.prototype.toString.call(y)}function T(y){return y instanceof Date||"[object Date]"===Object.prototype.toString.call(y)}function M(y,P){var ee,K=[],ue=y.length;for(ee=0;ee<ue;++ee)K.push(P(y[ee],ee));return K}function O(y,P){for(var K in P)I(P,K)&&(y[K]=P[K]);return I(P,"toString")&&(y.toString=P.toString),I(P,"valueOf")&&(y.valueOf=P.valueOf),y}function j(y,P,K,ee){return st(y,P,K,ee,!0).utc()}function F(y){return null==y._pf&&(y._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),y._pf}function V(y){if(null==y._isValid){var P=F(y),K=q.call(P.parsedDateParts,function(ue){return null!=ue}),ee=!isNaN(y._d.getTime())&&P.overflow<0&&!P.empty&&!P.invalidEra&&!P.invalidMonth&&!P.invalidWeekday&&!P.weekdayMismatch&&!P.nullInput&&!P.invalidFormat&&!P.userInvalidated&&(!P.meridiem||P.meridiem&&K);if(y._strict&&(ee=ee&&0===P.charsLeftOver&&0===P.unusedTokens.length&&void 0===P.bigHour),null!=Object.isFrozen&&Object.isFrozen(y))return ee;y._isValid=ee}return y._isValid}function Q(y){var P=j(NaN);return null!=y?O(F(P),y):F(P).userInvalidated=!0,P}q=Array.prototype.some?Array.prototype.some:function(y){var ee,P=Object(this),K=P.length>>>0;for(ee=0;ee<K;ee++)if(ee in P&&y.call(this,P[ee],ee,P))return!0;return!1};var ce=A.momentProperties=[],ae=!1;function de(y,P){var K,ee,ue,Se=ce.length;if(D(P._isAMomentObject)||(y._isAMomentObject=P._isAMomentObject),D(P._i)||(y._i=P._i),D(P._f)||(y._f=P._f),D(P._l)||(y._l=P._l),D(P._strict)||(y._strict=P._strict),D(P._tzm)||(y._tzm=P._tzm),D(P._isUTC)||(y._isUTC=P._isUTC),D(P._offset)||(y._offset=P._offset),D(P._pf)||(y._pf=F(P)),D(P._locale)||(y._locale=P._locale),Se>0)for(K=0;K<Se;K++)D(ue=P[ee=ce[K]])||(y[ee]=ue);return y}function he(y){de(this,y),this._d=new Date(null!=y._d?y._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===ae&&(ae=!0,A.updateOffset(this),ae=!1)}function se(y){return y instanceof he||null!=y&&null!=y._isAMomentObject}function Y(y){!1===A.suppressDeprecationWarnings&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+y)}function ie(y,P){var K=!0;return O(function(){if(null!=A.deprecationHandler&&A.deprecationHandler(null,y),K){var ue,Se,Ge,ee=[],Ot=arguments.length;for(Se=0;Se<Ot;Se++){if(ue="","object"==typeof arguments[Se]){for(Ge in ue+="\n["+Se+"] ",arguments[0])I(arguments[0],Ge)&&(ue+=Ge+": "+arguments[0][Ge]+", ");ue=ue.slice(0,-2)}else ue=arguments[Se];ee.push(ue)}Y(y+"\nArguments: "+Array.prototype.slice.call(ee).join("")+"\n"+(new Error).stack),K=!1}return P.apply(this,arguments)},P)}var Ne,pe={};function be(y,P){null!=A.deprecationHandler&&A.deprecationHandler(y,P),pe[y]||(Y(P),pe[y]=!0)}function Ae(y){return typeof Function<"u"&&y instanceof Function||"[object Function]"===Object.prototype.toString.call(y)}function Be(y,P){var ee,K=O({},y);for(ee in P)I(P,ee)&&(C(y[ee])&&C(P[ee])?(K[ee]={},O(K[ee],y[ee]),O(K[ee],P[ee])):null!=P[ee]?K[ee]=P[ee]:delete K[ee]);for(ee in y)I(y,ee)&&!I(P,ee)&&C(y[ee])&&(K[ee]=O({},K[ee]));return K}function rt(y){null!=y&&this.set(y)}A.suppressDeprecationWarnings=!1,A.deprecationHandler=null,Ne=Object.keys?Object.keys:function(y){var P,K=[];for(P in y)I(y,P)&&K.push(P);return K};function ye(y,P,K){var ee=""+Math.abs(y);return(y>=0?K?"+":"":"-")+Math.pow(10,Math.max(0,P-ee.length)).toString().substr(1)+ee}var Te=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ve=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ie={},ke={};function De(y,P,K,ee){var ue=ee;"string"==typeof ee&&(ue=function(){return this[ee]()}),y&&(ke[y]=ue),P&&(ke[P[0]]=function(){return ye(ue.apply(this,arguments),P[1],P[2])}),K&&(ke[K]=function(){return this.localeData().ordinal(ue.apply(this,arguments),y)})}function $e(y){return y.match(/\[[\s\S]/)?y.replace(/^\[|\]$/g,""):y.replace(/\\/g,"")}function Je(y,P){return y.isValid()?(P=ot(P,y.localeData()),Ie[P]=Ie[P]||function Ue(y){var K,ee,P=y.match(Te);for(K=0,ee=P.length;K<ee;K++)P[K]=ke[P[K]]?ke[P[K]]:$e(P[K]);return function(ue){var Ge,Se="";for(Ge=0;Ge<ee;Ge++)Se+=Ae(P[Ge])?P[Ge].call(ue,y):P[Ge];return Se}}(P),Ie[P](y)):y.localeData().invalidDate()}function ot(y,P){var K=5;function ee(ue){return P.longDateFormat(ue)||ue}for(Ve.lastIndex=0;K>=0&&Ve.test(y);)y=y.replace(Ve,ee),Ve.lastIndex=0,K-=1;return y}var ht={};function $t(y,P){var K=y.toLowerCase();ht[K]=ht[K+"s"]=ht[P]=y}function Gt(y){return"string"==typeof y?ht[y]||ht[y.toLowerCase()]:void 0}function Ht(y){var K,ee,P={};for(ee in y)I(y,ee)&&(K=Gt(ee))&&(P[K]=y[ee]);return P}var ai={};function ti(y,P){ai[y]=P}function To(y){return y%4==0&&y%100!=0||y%400==0}function vn(y){return y<0?Math.ceil(y)||0:Math.floor(y)}function rn(y){var P=+y,K=0;return 0!==P&&isFinite(P)&&(K=vn(P)),K}function ar(y,P){return function(K){return null!=K?(Ll(this,y,K),A.updateOffset(this,P),this):pc(this,y)}}function pc(y,P){return y.isValid()?y._d["get"+(y._isUTC?"UTC":"")+P]():NaN}function Ll(y,P,K){y.isValid()&&!isNaN(K)&&("FullYear"===P&&To(y.year())&&1===y.month()&&29===y.date()?(K=rn(K),y._d["set"+(y._isUTC?"UTC":"")+P](K,y.month(),gc(K,y.month()))):y._d["set"+(y._isUTC?"UTC":"")+P](K))}var ha,Kf=/\d/,Ko=/\d\d/,js=/\d{3}/,jo=/\d{4}/,zo=/[+-]?\d{6}/,bi=/\d\d?/,lr=/\d\d\d\d?/,uh=/\d\d\d\d\d\d?/,Ol=/\d{1,3}/,Zf=/\d{1,4}/,fc=/[+-]?\d{1,6}/,ua=/\d+/,mc=/[+-]?\d+/,Qf=/Z|[+-]\d\d:?\d\d/gi,ho=/Z|[+-]\d\d(?::?\d\d)?/gi,ws=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Rt(y,P,K){ha[y]=Ae(P)?P:function(ee,ue){return ee&&K?K:P}}function Jf(y,P){return I(ha,y)?ha[y](P._strict,P._locale):new RegExp(function cr(y){return dr(y.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(P,K,ee,ue,Se){return K||ee||ue||Se}))}(y))}function dr(y){return y.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ha={};var hh={};function Un(y,P){var K,ue,ee=P;for("string"==typeof y&&(y=[y]),E(P)&&(ee=function(Se,Ge){Ge[P]=rn(Se)}),ue=y.length,K=0;K<ue;K++)hh[y[K]]=ee}function pa(y,P){Un(y,function(K,ee,ue,Se){ue._w=ue._w||{},P(K,ue._w,ue,Se)})}function Xf(y,P,K){null!=P&&I(hh,y)&&hh[y](P,K._a,K,y)}var Si,xo=0,zs=1,eo=2,wi=3,ni=4,Vo=5,Eo=6,Jk=7,Ga=8;function gc(y,P){if(isNaN(y)||isNaN(P))return NaN;var K=function em(y,P){return(y%P+P)%P}(P,12);return y+=(P-K)/12,1===K?To(y)?29:28:31-K%7%2}Si=Array.prototype.indexOf?Array.prototype.indexOf:function(y){var P;for(P=0;P<this.length;++P)if(this[P]===y)return P;return-1},De("M",["MM",2],"Mo",function(){return this.month()+1}),De("MMM",0,0,function(y){return this.localeData().monthsShort(this,y)}),De("MMMM",0,0,function(y){return this.localeData().months(this,y)}),$t("month","M"),ti("month",8),Rt("M",bi),Rt("MM",bi,Ko),Rt("MMM",function(y,P){return P.monthsShortRegex(y)}),Rt("MMMM",function(y,P){return P.monthsRegex(y)}),Un(["M","MM"],function(y,P){P[zs]=rn(y)-1}),Un(["MMM","MMMM"],function(y,P,K,ee){var ue=K._locale.monthsParse(y,ee,K._strict);null!=ue?P[zs]=ue:F(K).invalidMonth=y});var _c="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),tm="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ph=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,nm=ws,Rb=ws;function vc(y,P,K){var ee,ue,Se,Ge=y.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],ee=0;ee<12;++ee)Se=j([2e3,ee]),this._shortMonthsParse[ee]=this.monthsShort(Se,"").toLocaleLowerCase(),this._longMonthsParse[ee]=this.months(Se,"").toLocaleLowerCase();return K?"MMM"===P?-1!==(ue=Si.call(this._shortMonthsParse,Ge))?ue:null:-1!==(ue=Si.call(this._longMonthsParse,Ge))?ue:null:"MMM"===P?-1!==(ue=Si.call(this._shortMonthsParse,Ge))||-1!==(ue=Si.call(this._longMonthsParse,Ge))?ue:null:-1!==(ue=Si.call(this._longMonthsParse,Ge))||-1!==(ue=Si.call(this._shortMonthsParse,Ge))?ue:null}function om(y,P){var K;if(!y.isValid())return y;if("string"==typeof P)if(/^\d+$/.test(P))P=rn(P);else if(!E(P=y.localeData().monthsParse(P)))return y;return K=Math.min(y.date(),gc(y.year(),P)),y._d["set"+(y._isUTC?"UTC":"")+"Month"](P,K),y}function rm(y){return null!=y?(om(this,y),A.updateOffset(this,!0),this):pc(this,"Month")}function Yt(){function y(Ge,Ot){return Ot.length-Ge.length}var ue,Se,P=[],K=[],ee=[];for(ue=0;ue<12;ue++)Se=j([2e3,ue]),P.push(this.monthsShort(Se,"")),K.push(this.months(Se,"")),ee.push(this.months(Se,"")),ee.push(this.monthsShort(Se,""));for(P.sort(y),K.sort(y),ee.sort(y),ue=0;ue<12;ue++)P[ue]=dr(P[ue]),K[ue]=dr(K[ue]);for(ue=0;ue<24;ue++)ee[ue]=dr(ee[ue]);this._monthsRegex=new RegExp("^("+ee.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+K.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+P.join("|")+")","i")}function Lr(y){return To(y)?366:365}De("Y",0,0,function(){var y=this.year();return y<=9999?ye(y,4):"+"+y}),De(0,["YY",2],0,function(){return this.year()%100}),De(0,["YYYY",4],0,"year"),De(0,["YYYYY",5],0,"year"),De(0,["YYYYYY",6,!0],0,"year"),$t("year","y"),ti("year",1),Rt("Y",mc),Rt("YY",bi,Ko),Rt("YYYY",Zf,jo),Rt("YYYYY",fc,zo),Rt("YYYYYY",fc,zo),Un(["YYYYY","YYYYYY"],xo),Un("YYYY",function(y,P){P[xo]=2===y.length?A.parseTwoDigitYear(y):rn(y)}),Un("YY",function(y,P){P[xo]=A.parseTwoDigitYear(y)}),Un("Y",function(y,P){P[xo]=parseInt(y,10)}),A.parseTwoDigitYear=function(y){return rn(y)+(rn(y)>68?1900:2e3)};var yc=ar("FullYear",!0);function fh(y,P,K,ee,ue,Se,Ge){var Ot;return y<100&&y>=0?(Ot=new Date(y+400,P,K,ee,ue,Se,Ge),isFinite(Ot.getFullYear())&&Ot.setFullYear(y)):Ot=new Date(y,P,K,ee,ue,Se,Ge),Ot}function fa(y){var P,K;return y<100&&y>=0?((K=Array.prototype.slice.call(arguments))[0]=y+400,P=new Date(Date.UTC.apply(null,K)),isFinite(P.getUTCFullYear())&&P.setUTCFullYear(y)):P=new Date(Date.UTC.apply(null,arguments)),P}function Gn(y,P,K){var ee=7+P-K;return-(7+fa(y,0,ee).getUTCDay()-P)%7+ee-1}function kc(y,P,K,ee,ue){var mn,hn,Ot=1+7*(P-1)+(7+K-ee)%7+Gn(y,ee,ue);return Ot<=0?hn=Lr(mn=y-1)+Ot:Ot>Lr(y)?(mn=y+1,hn=Ot-Lr(y)):(mn=y,hn=Ot),{year:mn,dayOfYear:hn}}function Ii(y,P,K){var Se,Ge,ee=Gn(y.year(),P,K),ue=Math.floor((y.dayOfYear()-ee-1)/7)+1;return ue<1?Se=ue+ns(Ge=y.year()-1,P,K):ue>ns(y.year(),P,K)?(Se=ue-ns(y.year(),P,K),Ge=y.year()+1):(Ge=y.year(),Se=ue),{week:Se,year:Ge}}function ns(y,P,K){var ee=Gn(y,P,K),ue=Gn(y+1,P,K);return(Lr(y)-ee+ue)/7}De("w",["ww",2],"wo","week"),De("W",["WW",2],"Wo","isoWeek"),$t("week","w"),$t("isoWeek","W"),ti("week",5),ti("isoWeek",5),Rt("w",bi),Rt("ww",bi,Ko),Rt("W",bi),Rt("WW",bi,Ko),pa(["w","ww","W","WW"],function(y,P,K,ee){P[ee.substr(0,1)]=rn(y)});function Nl(y,P){return y.slice(P,7).concat(y.slice(0,P))}De("d",0,"do","day"),De("dd",0,0,function(y){return this.localeData().weekdaysMin(this,y)}),De("ddd",0,0,function(y){return this.localeData().weekdaysShort(this,y)}),De("dddd",0,0,function(y){return this.localeData().weekdays(this,y)}),De("e",0,0,"weekday"),De("E",0,0,"isoWeekday"),$t("day","d"),$t("weekday","e"),$t("isoWeekday","E"),ti("day",11),ti("weekday",11),ti("isoWeekday",11),Rt("d",bi),Rt("e",bi),Rt("E",bi),Rt("dd",function(y,P){return P.weekdaysMinRegex(y)}),Rt("ddd",function(y,P){return P.weekdaysShortRegex(y)}),Rt("dddd",function(y,P){return P.weekdaysRegex(y)}),pa(["dd","ddd","dddd"],function(y,P,K,ee){var ue=K._locale.weekdaysParse(y,ee,K._strict);null!=ue?P.d=ue:F(K).invalidWeekday=y}),pa(["d","e","E"],function(y,P,K,ee){P[ee]=rn(y)});var cn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Bb="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),jb=ws,sm=ws,mh=ws;function Vb(y,P,K){var ee,ue,Se,Ge=y.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],ee=0;ee<7;++ee)Se=j([2e3,1]).day(ee),this._minWeekdaysParse[ee]=this.weekdaysMin(Se,"").toLocaleLowerCase(),this._shortWeekdaysParse[ee]=this.weekdaysShort(Se,"").toLocaleLowerCase(),this._weekdaysParse[ee]=this.weekdays(Se,"").toLocaleLowerCase();return K?"dddd"===P?-1!==(ue=Si.call(this._weekdaysParse,Ge))?ue:null:"ddd"===P?-1!==(ue=Si.call(this._shortWeekdaysParse,Ge))?ue:null:-1!==(ue=Si.call(this._minWeekdaysParse,Ge))?ue:null:"dddd"===P?-1!==(ue=Si.call(this._weekdaysParse,Ge))||-1!==(ue=Si.call(this._shortWeekdaysParse,Ge))||-1!==(ue=Si.call(this._minWeekdaysParse,Ge))?ue:null:"ddd"===P?-1!==(ue=Si.call(this._shortWeekdaysParse,Ge))||-1!==(ue=Si.call(this._weekdaysParse,Ge))||-1!==(ue=Si.call(this._minWeekdaysParse,Ge))?ue:null:-1!==(ue=Si.call(this._minWeekdaysParse,Ge))||-1!==(ue=Si.call(this._weekdaysParse,Ge))||-1!==(ue=Si.call(this._shortWeekdaysParse,Ge))?ue:null}function vh(){function y(Yo,vr){return vr.length-Yo.length}var Se,Ge,Ot,mn,hn,P=[],K=[],ee=[],ue=[];for(Se=0;Se<7;Se++)Ge=j([2e3,1]).day(Se),Ot=dr(this.weekdaysMin(Ge,"")),mn=dr(this.weekdaysShort(Ge,"")),hn=dr(this.weekdays(Ge,"")),P.push(Ot),K.push(mn),ee.push(hn),ue.push(Ot),ue.push(mn),ue.push(hn);P.sort(y),K.sort(y),ee.sort(y),ue.sort(y),this._weekdaysRegex=new RegExp("^("+ue.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+ee.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+K.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+P.join("|")+")","i")}function Bd(){return this.hours()%12||12}function Kt(y,P){De(y,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),P)})}function yh(y,P){return P._meridiemParse}De("H",["HH",2],0,"hour"),De("h",["hh",2],0,Bd),De("k",["kk",2],0,function hr(){return this.hours()||24}),De("hmm",0,0,function(){return""+Bd.apply(this)+ye(this.minutes(),2)}),De("hmmss",0,0,function(){return""+Bd.apply(this)+ye(this.minutes(),2)+ye(this.seconds(),2)}),De("Hmm",0,0,function(){return""+this.hours()+ye(this.minutes(),2)}),De("Hmmss",0,0,function(){return""+this.hours()+ye(this.minutes(),2)+ye(this.seconds(),2)}),Kt("a",!0),Kt("A",!1),$t("hour","h"),ti("hour",13),Rt("a",yh),Rt("A",yh),Rt("H",bi),Rt("h",bi),Rt("k",bi),Rt("HH",bi,Ko),Rt("hh",bi,Ko),Rt("kk",bi,Ko),Rt("hmm",lr),Rt("hmmss",uh),Rt("Hmm",lr),Rt("Hmmss",uh),Un(["H","HH"],wi),Un(["k","kk"],function(y,P,K){var ee=rn(y);P[wi]=24===ee?0:ee}),Un(["a","A"],function(y,P,K){K._isPm=K._locale.isPM(y),K._meridiem=y}),Un(["h","hh"],function(y,P,K){P[wi]=rn(y),F(K).bigHour=!0}),Un("hmm",function(y,P,K){var ee=y.length-2;P[wi]=rn(y.substr(0,ee)),P[ni]=rn(y.substr(ee)),F(K).bigHour=!0}),Un("hmmss",function(y,P,K){var ee=y.length-4,ue=y.length-2;P[wi]=rn(y.substr(0,ee)),P[ni]=rn(y.substr(ee,2)),P[Vo]=rn(y.substr(ue)),F(K).bigHour=!0}),Un("Hmm",function(y,P,K){var ee=y.length-2;P[wi]=rn(y.substr(0,ee)),P[ni]=rn(y.substr(ee))}),Un("Hmmss",function(y,P,K){var ee=y.length-4,ue=y.length-2;P[wi]=rn(y.substr(0,ee)),P[ni]=rn(y.substr(ee,2)),P[Vo]=rn(y.substr(ue))});var gt=ar("Hours",!0);var Rl,Ut={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:_c,monthsShort:tm,week:{dow:0,doy:6},weekdays:cn,weekdaysMin:Bb,weekdaysShort:Nn,meridiemParse:/[ap]\.?m?\.?/i},li={},Za={};function Ub(y,P){var K,ee=Math.min(y.length,P.length);for(K=0;K<ee;K+=1)if(y[K]!==P[K])return K;return ee}function Ac(y){return y&&y.toLowerCase().replace("_","-")}function Mc(y){var P=null;if(void 0===li[y]&&qe&&qe.exports&&function Ja(y){return null!=y.match("^[^/\\\\]*$")}(y))try{P=Rl._abbr,W(6700)("./"+y),ba(P)}catch{li[y]=null}return li[y]}function ba(y,P){var K;return y&&((K=D(P)?Ho(y):Mn(y,P))?Rl=K:typeof console<"u"&&console.warn&&console.warn("Locale "+y+" not found. Did you forget to load it?")),Rl._abbr}function Mn(y,P){if(null!==P){var K,ee=Ut;if(P.abbr=y,null!=li[y])be("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),ee=li[y]._config;else if(null!=P.parentLocale)if(null!=li[P.parentLocale])ee=li[P.parentLocale]._config;else{if(null==(K=Mc(P.parentLocale)))return Za[P.parentLocale]||(Za[P.parentLocale]=[]),Za[P.parentLocale].push({name:y,config:P}),null;ee=K._config}return li[y]=new rt(Be(ee,P)),Za[y]&&Za[y].forEach(function(ue){Mn(ue.name,ue.config)}),ba(y),li[y]}return delete li[y],null}function Ho(y){var P;if(y&&y._locale&&y._locale._abbr&&(y=y._locale._abbr),!y)return Rl;if(!x(y)){if(P=Mc(y))return P;y=[y]}return function Qa(y){for(var K,ee,ue,Se,P=0;P<y.length;){for(K=(Se=Ac(y[P]).split("-")).length,ee=(ee=Ac(y[P+1]))?ee.split("-"):null;K>0;){if(ue=Mc(Se.slice(0,K).join("-")))return ue;if(ee&&ee.length>=K&&Ub(Se,ee)>=K-1)break;K--}P++}return Rl}(y)}function Dc(y){var P,K=y._a;return K&&-2===F(y).overflow&&(P=K[zs]<0||K[zs]>11?zs:K[eo]<1||K[eo]>gc(K[xo],K[zs])?eo:K[wi]<0||K[wi]>24||24===K[wi]&&(0!==K[ni]||0!==K[Vo]||0!==K[Eo])?wi:K[ni]<0||K[ni]>59?ni:K[Vo]<0||K[Vo]>59?Vo:K[Eo]<0||K[Eo]>999?Eo:-1,F(y)._overflowDayOfYear&&(P<xo||P>eo)&&(P=eo),F(y)._overflowWeeks&&-1===P&&(P=Jk),F(y)._overflowWeekday&&-1===P&&(P=Ga),F(y).overflow=P),y}var Wb=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ci=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,$b=/Z|[+-]\d\d(?::?\d\d)?/,jd=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wh=/^\/?Date\((-?\d+)/i,zd=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,am={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tc(y){var P,K,Se,Ge,Ot,mn,ee=y._i,ue=Wb.exec(ee)||ci.exec(ee),hn=jd.length,Yo=pt.length;if(ue){for(F(y).iso=!0,P=0,K=hn;P<K;P++)if(jd[P][1].exec(ue[1])){Ge=jd[P][0],Se=!1!==jd[P][2];break}if(null==Ge)return void(y._isValid=!1);if(ue[3]){for(P=0,K=Yo;P<K;P++)if(pt[P][1].exec(ue[3])){Ot=(ue[2]||" ")+pt[P][0];break}if(null==Ot)return void(y._isValid=!1)}if(!Se&&null!=Ot)return void(y._isValid=!1);if(ue[4]){if(!$b.exec(ue[4]))return void(y._isValid=!1);mn="Z"}y._f=Ge+(Ot||"")+(mn||""),Ec(y)}else y._isValid=!1}function Ah(y){var P=parseInt(y,10);return P<=49?2e3+P:P<=999?1900+P:P}function lm(y){var K,P=zd.exec(function qb(y){return y.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(y._i));if(P){if(K=function Ch(y,P,K,ee,ue,Se){var Ge=[Ah(y),tm.indexOf(P),parseInt(K,10),parseInt(ee,10),parseInt(ue,10)];return Se&&Ge.push(parseInt(Se,10)),Ge}(P[4],P[3],P[2],P[5],P[6],P[7]),!function Gb(y,P,K){return!y||Nn.indexOf(y)===new Date(P[0],P[1],P[2]).getDay()||(F(K).weekdayMismatch=!0,K._isValid=!1,!1)}(P[1],K,y))return;y._a=K,y._tzm=function nw(y,P,K){if(y)return am[y];if(P)return 0;var ee=parseInt(K,10),ue=ee%100;return(ee-ue)/100*60+ue}(P[8],P[9],P[10]),y._d=fa.apply(null,y._a),y._d.setUTCMinutes(y._d.getUTCMinutes()-y._tzm),F(y).rfc2822=!0}else y._isValid=!1}function Cs(y,P,K){return y??P??K}function va(y){var P,K,ue,Se,Ge,ee=[];if(!y._d){for(ue=function xc(y){var P=new Date(A.now());return y._useUTC?[P.getUTCFullYear(),P.getUTCMonth(),P.getUTCDate()]:[P.getFullYear(),P.getMonth(),P.getDate()]}(y),y._w&&null==y._a[eo]&&null==y._a[zs]&&function Mh(y){var P,K,ee,ue,Se,Ge,Ot,mn,hn;null!=(P=y._w).GG||null!=P.W||null!=P.E?(Se=1,Ge=4,K=Cs(P.GG,y._a[xo],Ii(vi(),1,4).year),ee=Cs(P.W,1),((ue=Cs(P.E,1))<1||ue>7)&&(mn=!0)):(Se=y._locale._week.dow,Ge=y._locale._week.doy,hn=Ii(vi(),Se,Ge),K=Cs(P.gg,y._a[xo],hn.year),ee=Cs(P.w,hn.week),null!=P.d?((ue=P.d)<0||ue>6)&&(mn=!0):null!=P.e?(ue=P.e+Se,(P.e<0||P.e>6)&&(mn=!0)):ue=Se),ee<1||ee>ns(K,Se,Ge)?F(y)._overflowWeeks=!0:null!=mn?F(y)._overflowWeekday=!0:(Ot=kc(K,ee,ue,Se,Ge),y._a[xo]=Ot.year,y._dayOfYear=Ot.dayOfYear)}(y),null!=y._dayOfYear&&(Ge=Cs(y._a[xo],ue[xo]),(y._dayOfYear>Lr(Ge)||0===y._dayOfYear)&&(F(y)._overflowDayOfYear=!0),K=fa(Ge,0,y._dayOfYear),y._a[zs]=K.getUTCMonth(),y._a[eo]=K.getUTCDate()),P=0;P<3&&null==y._a[P];++P)y._a[P]=ee[P]=ue[P];for(;P<7;P++)y._a[P]=ee[P]=null==y._a[P]?2===P?1:0:y._a[P];24===y._a[wi]&&0===y._a[ni]&&0===y._a[Vo]&&0===y._a[Eo]&&(y._nextDay=!0,y._a[wi]=0),y._d=(y._useUTC?fa:fh).apply(null,ee),Se=y._useUTC?y._d.getUTCDay():y._d.getDay(),null!=y._tzm&&y._d.setUTCMinutes(y._d.getUTCMinutes()-y._tzm),y._nextDay&&(y._a[wi]=24),y._w&&typeof y._w.d<"u"&&y._w.d!==Se&&(F(y).weekdayMismatch=!0)}}function Ec(y){if(y._f!==A.ISO_8601)if(y._f!==A.RFC_2822){y._a=[],F(y).empty=!0;var K,ee,ue,Se,Ge,hn,Yo,P=""+y._i,Ot=P.length,mn=0;for(Yo=(ue=ot(y._f,y._locale).match(Te)||[]).length,K=0;K<Yo;K++)(ee=(P.match(Jf(Se=ue[K],y))||[])[0])&&((Ge=P.substr(0,P.indexOf(ee))).length>0&&F(y).unusedInput.push(Ge),P=P.slice(P.indexOf(ee)+ee.length),mn+=ee.length),ke[Se]?(ee?F(y).empty=!1:F(y).unusedTokens.push(Se),Xf(Se,ee,y)):y._strict&&!ee&&F(y).unusedTokens.push(Se);F(y).charsLeftOver=Ot-mn,P.length>0&&F(y).unusedInput.push(P),y._a[wi]<=12&&!0===F(y).bigHour&&y._a[wi]>0&&(F(y).bigHour=void 0),F(y).parsedDateParts=y._a.slice(0),F(y).meridiem=y._meridiem,y._a[wi]=function dm(y,P,K){var ee;return null==K?P:null!=y.meridiemHour?y.meridiemHour(P,K):(null!=y.isPM&&((ee=y.isPM(K))&&P<12&&(P+=12),!ee&&12===P&&(P=0)),P)}(y._locale,y._a[wi],y._meridiem),null!==(hn=F(y).era)&&(y._a[xo]=y._locale.erasConvertYear(hn,y._a[xo])),va(y),Dc(y)}else lm(y);else Tc(y)}function As(y){var P=y._i,K=y._f;return y._locale=y._locale||Ho(y._l),null===P||void 0===K&&""===P?Q({nullInput:!0}):("string"==typeof P&&(y._i=P=y._locale.preparse(P)),se(P)?new he(Dc(P)):(T(P)?y._d=P:x(K)?function Dh(y){var P,K,ee,ue,Se,Ge,Ot=!1,mn=y._f.length;if(0===mn)return F(y).invalidFormat=!0,void(y._d=new Date(NaN));for(ue=0;ue<mn;ue++)Se=0,Ge=!1,P=de({},y),null!=y._useUTC&&(P._useUTC=y._useUTC),P._f=y._f[ue],Ec(P),V(P)&&(Ge=!0),Se+=F(P).charsLeftOver,Se+=10*F(P).unusedTokens.length,F(P).score=Se,Ot?Se<ee&&(ee=Se,K=P):(null==ee||Se<ee||Ge)&&(ee=Se,K=P,Ge&&(Ot=!0));O(y,K||P)}(y):K?Ec(y):function Kb(y){var P=y._i;D(P)?y._d=new Date(A.now()):T(P)?y._d=new Date(P.valueOf()):"string"==typeof P?function cm(y){var P=wh.exec(y._i);null===P?(Tc(y),!1===y._isValid&&(delete y._isValid,lm(y),!1===y._isValid&&(delete y._isValid,y._strict?y._isValid=!1:A.createFromInputFallback(y)))):y._d=new Date(+P[1])}(y):x(P)?(y._a=M(P.slice(0),function(K){return parseInt(K,10)}),va(y)):C(P)?function Xa(y){if(!y._d){var P=Ht(y._i);y._a=M([P.year,P.month,void 0===P.day?P.date:P.day,P.hour,P.minute,P.second,P.millisecond],function(ee){return ee&&parseInt(ee,10)}),va(y)}}(y):E(P)?y._d=new Date(P):A.createFromInputFallback(y)}(y),V(y)||(y._d=null),y))}function st(y,P,K,ee,ue){var Se={};return(!0===P||!1===P)&&(ee=P,P=void 0),(!0===K||!1===K)&&(ee=K,K=void 0),(C(y)&&v(y)||x(y)&&0===y.length)&&(y=void 0),Se._isAMomentObject=!0,Se._useUTC=Se._isUTC=ue,Se._l=K,Se._i=y,Se._f=P,Se._strict=ee,function um(y){var P=new he(Dc(As(y)));return P._nextDay&&(P.add(1,"d"),P._nextDay=void 0),P}(Se)}function vi(y,P,K,ee){return st(y,P,K,ee,!1)}A.createFromInputFallback=ie("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(y){y._d=new Date(y._i+(y._useUTC?" UTC":""))}),A.ISO_8601=function(){},A.RFC_2822=function(){};var _t=ie("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var y=vi.apply(null,arguments);return this.isValid()&&y.isValid()?y<this?this:y:Q()}),Vd=ie("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var y=vi.apply(null,arguments);return this.isValid()&&y.isValid()?y>this?this:y:Q()});function Ms(y,P){var K,ee;if(1===P.length&&x(P[0])&&(P=P[0]),!P.length)return vi();for(K=P[0],ee=1;ee<P.length;++ee)(!P[ee].isValid()||P[ee][y](K))&&(K=P[ee]);return K}var ya=["year","quarter","month","week","day","hour","minute","second","millisecond"];function pr(y){var P=Ht(y),K=P.year||0,ee=P.quarter||0,ue=P.month||0,Se=P.week||P.isoWeek||0,Ge=P.day||0,Ot=P.hour||0,mn=P.minute||0,hn=P.second||0,Yo=P.millisecond||0;this._isValid=function is(y){var P,ee,K=!1,ue=ya.length;for(P in y)if(I(y,P)&&(-1===Si.call(ya,P)||null!=y[P]&&isNaN(y[P])))return!1;for(ee=0;ee<ue;++ee)if(y[ya[ee]]){if(K)return!1;parseFloat(y[ya[ee]])!==rn(y[ya[ee]])&&(K=!0)}return!0}(P),this._milliseconds=+Yo+1e3*hn+6e4*mn+1e3*Ot*60*60,this._days=+Ge+7*Se,this._months=+ue+3*ee+12*K,this._data={},this._locale=Ho(),this._bubble()}function Rn(y){return y instanceof pr}function el(y){return y<0?-1*Math.round(-1*y):Math.round(y)}function Sc(y,P){De(y,0,0,function(){var K=this.utcOffset(),ee="+";return K<0&&(K=-K,ee="-"),ee+ye(~~(K/60),2)+P+ye(~~K%60,2)})}Sc("Z",":"),Sc("ZZ",""),Rt("Z",ho),Rt("ZZ",ho),Un(["Z","ZZ"],function(y,P,K){K._useUTC=!0,K._tzm=Nr(ho,y)});var hm=/([\+\-]|\d\d)/gi;function Nr(y,P){var ue,Se,K=(P||"").match(y);return null===K?null:0===(Se=60*(ue=((K[K.length-1]||[])+"").match(hm)||["-",0,0])[1]+rn(ue[2]))?0:"+"===ue[0]?Se:-Se}function tl(y,P){var K,ee;return P._isUTC?(K=P.clone(),ee=(se(y)||T(y)?y.valueOf():vi(y).valueOf())-K.valueOf(),K._d.setTime(K._d.valueOf()+ee),A.updateOffset(K,!1),K):vi(y).local()}function Ic(y){return-Math.round(y._d.getTimezoneOffset())}function Ud(){return!!this.isValid()&&this._isUTC&&0===this._offset}A.updateOffset=function(){};var fr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,nl=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function mr(y,P){var ue,Se,Ge,K=y,ee=null;return Rn(y)?K={ms:y._milliseconds,d:y._days,M:y._months}:E(y)||!isNaN(+y)?(K={},P?K[P]=+y:K.milliseconds=+y):(ee=fr.exec(y))?(ue="-"===ee[1]?-1:1,K={y:0,d:rn(ee[eo])*ue,h:rn(ee[wi])*ue,m:rn(ee[ni])*ue,s:rn(ee[Vo])*ue,ms:rn(el(1e3*ee[Eo]))*ue}):(ee=nl.exec(y))?K={y:ka(ee[2],ue="-"===ee[1]?-1:1),M:ka(ee[3],ue),w:ka(ee[4],ue),d:ka(ee[5],ue),h:ka(ee[6],ue),m:ka(ee[7],ue),s:ka(ee[8],ue)}:null==K?K={}:"object"==typeof K&&("from"in K||"to"in K)&&(Ge=function wa(y,P){var K;return y.isValid()&&P.isValid()?(P=tl(P,y),y.isBefore(P)?K=bm(y,P):((K=bm(P,y)).milliseconds=-K.milliseconds,K.months=-K.months),K):{milliseconds:0,months:0}}(vi(K.from),vi(K.to)),(K={}).ms=Ge.milliseconds,K.M=Ge.months),Se=new pr(K),Rn(y)&&I(y,"_locale")&&(Se._locale=y._locale),Rn(y)&&I(y,"_isValid")&&(Se._isValid=y._isValid),Se}function ka(y,P){var K=y&&parseFloat(y.replace(",","."));return(isNaN(K)?0:K)*P}function bm(y,P){var K={};return K.months=P.month()-y.month()+12*(P.year()-y.year()),y.clone().add(K.months,"M").isAfter(P)&&--K.months,K.milliseconds=+P-+y.clone().add(K.months,"M"),K}function Lc(y,P){return function(K,ee){var Se;return null!==ee&&!isNaN(+ee)&&(be(P,"moment()."+P+"(period, number) is deprecated. Please use moment()."+P+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),Se=K,K=ee,ee=Se),Wd(this,mr(K,ee),y),this}}function Wd(y,P,K,ee){var ue=P._milliseconds,Se=el(P._days),Ge=el(P._months);y.isValid()&&(ee=ee??!0,Ge&&om(y,pc(y,"Month")+Ge*K),Se&&Ll(y,"Date",pc(y,"Date")+Se*K),ue&&y._d.setTime(y._d.valueOf()+ue*K),ee&&A.updateOffset(y,Se||Ge))}mr.fn=pr.prototype,mr.invalid=function Pr(){return mr(NaN)};var Rr=Lc(1,"add"),Jb=Lc(-1,"subtract");function Sh(y){return"string"==typeof y||y instanceof String}function Ct(y){return se(y)||T(y)||Sh(y)||E(y)||function vm(y){var P=x(y),K=!1;return P&&(K=0===y.filter(function(ee){return!E(ee)&&Sh(y)}).length),P&&K}(y)||function Vt(y){var ue,P=C(y)&&!v(y),K=!1,ee=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],Ge=ee.length;for(ue=0;ue<Ge;ue+=1)K=K||I(y,ee[ue]);return P&&K}(y)||null==y}function Bl(y,P){if(y.date()<P.date())return-Bl(P,y);var K=12*(P.year()-y.year())+(P.month()-y.month()),ee=y.clone().add(K,"months");return-(K+(P-ee<0?(P-ee)/(ee-y.clone().add(K-1,"months")):(P-ee)/(y.clone().add(K+1,"months")-ee)))||0}function gr(y){var P;return void 0===y?this._locale._abbr:(null!=(P=Ho(y))&&(this._locale=P),this)}A.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",A.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ol=ie("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(y){return void 0===y?this.localeData():this.locale(y)});function mo(){return this._locale}var di=6e4,Fr=60*di,Ca=3506328*Fr;function en(y,P){return(y%P+P)%P}function Aa(y,P,K){return y<100&&y>=0?new Date(y+400,P,K)-Ca:new Date(y,P,K).valueOf()}function Lh(y,P,K){return y<100&&y>=0?Date.UTC(y+400,P,K)-Ca:Date.UTC(y,P,K)}function _o(y,P){return P.erasAbbrRegex(y)}function _r(){var ue,Se,y=[],P=[],K=[],ee=[],Ge=this.eras();for(ue=0,Se=Ge.length;ue<Se;++ue)P.push(dr(Ge[ue].name)),y.push(dr(Ge[ue].abbr)),K.push(dr(Ge[ue].narrow)),ee.push(dr(Ge[ue].name)),ee.push(dr(Ge[ue].abbr)),ee.push(dr(Ge[ue].narrow));this._erasRegex=new RegExp("^("+ee.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+P.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+y.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+K.join("|")+")","i")}function zl(y,P){De(0,[y,y.length],0,P)}function s0(y,P,K,ee,ue){var Se;return null==y?Ii(this,ee,ue).year:(P>(Se=ns(y,ee,ue))&&(P=Se),os.call(this,y,P,K,ee,ue))}function os(y,P,K,ee,ue){var Se=kc(y,P,K,ee,ue),Ge=fa(Se.year,0,Se.dayOfYear);return this.year(Ge.getUTCFullYear()),this.month(Ge.getUTCMonth()),this.date(Ge.getUTCDate()),this}De("N",0,0,"eraAbbr"),De("NN",0,0,"eraAbbr"),De("NNN",0,0,"eraAbbr"),De("NNNN",0,0,"eraName"),De("NNNNN",0,0,"eraNarrow"),De("y",["y",1],"yo","eraYear"),De("y",["yy",2],0,"eraYear"),De("y",["yyy",3],0,"eraYear"),De("y",["yyyy",4],0,"eraYear"),Rt("N",_o),Rt("NN",_o),Rt("NNN",_o),Rt("NNNN",function Ph(y,P){return P.erasNameRegex(y)}),Rt("NNNNN",function cl(y,P){return P.erasNarrowRegex(y)}),Un(["N","NN","NNN","NNNN","NNNNN"],function(y,P,K,ee){var ue=K._locale.erasParse(y,ee,K._strict);ue?F(K).era=ue:F(K).invalidEra=y}),Rt("y",ua),Rt("yy",ua),Rt("yyy",ua),Rt("yyyy",ua),Rt("yo",function Nh(y,P){return P._eraYearOrdinalRegex||ua}),Un(["y","yy","yyy","yyyy"],xo),Un(["yo"],function(y,P,K,ee){var ue;K._locale._eraYearOrdinalRegex&&(ue=y.match(K._locale._eraYearOrdinalRegex)),P[xo]=K._locale.eraYearOrdinalParse?K._locale.eraYearOrdinalParse(y,ue):parseInt(y,10)}),De(0,["gg",2],0,function(){return this.weekYear()%100}),De(0,["GG",2],0,function(){return this.isoWeekYear()%100}),zl("gggg","weekYear"),zl("ggggg","weekYear"),zl("GGGG","isoWeekYear"),zl("GGGGG","isoWeekYear"),$t("weekYear","gg"),$t("isoWeekYear","GG"),ti("weekYear",1),ti("isoWeekYear",1),Rt("G",mc),Rt("g",mc),Rt("GG",bi,Ko),Rt("gg",bi,Ko),Rt("GGGG",Zf,jo),Rt("gggg",Zf,jo),Rt("GGGGG",fc,zo),Rt("ggggg",fc,zo),pa(["gggg","ggggg","GGGG","GGGGG"],function(y,P,K,ee){P[ee.substr(0,2)]=rn(y)}),pa(["gg","GG"],function(y,P,K,ee){P[ee]=A.parseTwoDigitYear(y)}),De("Q",0,"Qo","quarter"),$t("quarter","Q"),ti("quarter",7),Rt("Q",Kf),Un("Q",function(y,P){P[zs]=3*(rn(y)-1)}),De("D",["DD",2],"Do","date"),$t("date","D"),ti("date",9),Rt("D",bi),Rt("DD",bi,Ko),Rt("Do",function(y,P){return y?P._dayOfMonthOrdinalParse||P._ordinalParse:P._dayOfMonthOrdinalParseLenient}),Un(["D","DD"],eo),Un("Do",function(y,P){P[eo]=rn(y.match(bi)[0])});var vo=ar("Date",!0);De("DDD",["DDDD",3],"DDDo","dayOfYear"),$t("dayOfYear","DDD"),ti("dayOfYear",4),Rt("DDD",Ol),Rt("DDDD",js),Un(["DDD","DDDD"],function(y,P,K){K._dayOfYear=rn(y)}),De("m",["mm",2],0,"minute"),$t("minute","m"),ti("minute",14),Rt("m",bi),Rt("mm",bi,Ko),Un(["m","mm"],ni);var Ys=ar("Minutes",!1);De("s",["ss",2],0,"second"),$t("second","s"),ti("second",15),Rt("s",bi),Rt("ss",bi,Ko),Un(["s","ss"],Vo);var Us,Rh,Am=ar("Seconds",!1);for(De("S",0,0,function(){return~~(this.millisecond()/100)}),De(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),De(0,["SSS",3],0,"millisecond"),De(0,["SSSS",4],0,function(){return 10*this.millisecond()}),De(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),De(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),De(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),De(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),De(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),$t("millisecond","ms"),ti("millisecond",16),Rt("S",Ol,Kf),Rt("SS",Ol,Ko),Rt("SSS",Ol,js),Us="SSSS";Us.length<=9;Us+="S")Rt(Us,ua);function iw(y,P){P[Eo]=rn(1e3*("0."+y))}for(Us="S";Us.length<=9;Us+="S")Un(Us,iw);Rh=ar("Milliseconds",!1),De("z",0,0,"zoneAbbr"),De("zz",0,0,"zoneName");var ft=he.prototype;function Mm(y){return y}ft.add=Rr,ft.calendar=function ym(y,P){1===arguments.length&&(arguments[0]?Ct(arguments[0])?(y=arguments[0],P=void 0):function zi(y){var ue,P=C(y)&&!v(y),K=!1,ee=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(ue=0;ue<ee.length;ue+=1)K=K||I(y,ee[ue]);return P&&K}(arguments[0])&&(P=arguments[0],y=void 0):(y=void 0,P=void 0));var K=y||vi(),ee=tl(K,this).startOf("day"),ue=A.calendarFormat(this,ee)||"sameElse",Se=P&&(Ae(P[ue])?P[ue].call(this,K):P[ue]);return this.format(Se||this.localeData().calendar(ue,this,vi(K)))},ft.clone=function Ih(){return new he(this)},ft.diff=function fo(y,P,K){var ee,ue,Se;if(!this.isValid())return NaN;if(!(ee=tl(y,this)).isValid())return NaN;switch(ue=6e4*(ee.utcOffset()-this.utcOffset()),P=Gt(P)){case"year":Se=Bl(this,ee)/12;break;case"month":Se=Bl(this,ee);break;case"quarter":Se=Bl(this,ee)/3;break;case"second":Se=(this-ee)/1e3;break;case"minute":Se=(this-ee)/6e4;break;case"hour":Se=(this-ee)/36e5;break;case"day":Se=(this-ee-ue)/864e5;break;case"week":Se=(this-ee-ue)/6048e5;break;default:Se=this-ee}return K?Se:vn(Se)},ft.endOf=function Ri(y){var P,K;if(void 0===(y=Gt(y))||"millisecond"===y||!this.isValid())return this;switch(K=this._isUTC?Lh:Aa,y){case"year":P=K(this.year()+1,0,1)-1;break;case"quarter":P=K(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":P=K(this.year(),this.month()+1,1)-1;break;case"week":P=K(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":P=K(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":P=K(this.year(),this.month(),this.date()+1)-1;break;case"hour":P=this._d.valueOf(),P+=Fr-en(P+(this._isUTC?0:this.utcOffset()*di),Fr)-1;break;case"minute":P=this._d.valueOf(),P+=di-en(P,di)-1;break;case"second":P=this._d.valueOf(),P+=1e3-en(P,1e3)-1}return this._d.setTime(P),A.updateOffset(this,!0),this},ft.format=function Oc(y){y||(y=this.isUtc()?A.defaultFormatUtc:A.defaultFormat);var P=Je(this,y);return this.localeData().postformat(P)},ft.from=function oi(y,P){return this.isValid()&&(se(y)&&y.isValid()||vi(y).isValid())?mr({to:this,from:y}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},ft.fromNow=function Tt(y){return this.from(vi(),y)},ft.to=function un(y,P){return this.isValid()&&(se(y)&&y.isValid()||vi(y).isValid())?mr({from:this,to:y}).locale(this.locale()).humanize(!P):this.localeData().invalidDate()},ft.toNow=function Ci(y){return this.to(vi(),y)},ft.get=function Gf(y){return Ae(this[y=Gt(y)])?this[y]():this},ft.invalidAt=function Zn(){return F(this).overflow},ft.isAfter=function Xe(y,P){var K=se(y)?y:vi(y);return!(!this.isValid()||!K.isValid())&&("millisecond"===(P=Gt(P)||"millisecond")?this.valueOf()>K.valueOf():K.valueOf()<this.clone().startOf(P).valueOf())},ft.isBefore=function po(y,P){var K=se(y)?y:vi(y);return!(!this.isValid()||!K.isValid())&&("millisecond"===(P=Gt(P)||"millisecond")?this.valueOf()<K.valueOf():this.clone().endOf(P).valueOf()<K.valueOf())},ft.isBetween=function Bn(y,P,K,ee){var ue=se(y)?y:vi(y),Se=se(P)?P:vi(P);return!!(this.isValid()&&ue.isValid()&&Se.isValid())&&("("===(ee=ee||"()")[0]?this.isAfter(ue,K):!this.isBefore(ue,K))&&(")"===ee[1]?this.isBefore(Se,K):!this.isAfter(Se,K))},ft.isSame=function Ji(y,P){var ee,K=se(y)?y:vi(y);return!(!this.isValid()||!K.isValid())&&("millisecond"===(P=Gt(P)||"millisecond")?this.valueOf()===K.valueOf():(ee=K.valueOf(),this.clone().startOf(P).valueOf()<=ee&&ee<=this.clone().endOf(P).valueOf()))},ft.isSameOrAfter=function So(y,P){return this.isSame(y,P)||this.isAfter(y,P)},ft.isSameOrBefore=function ki(y,P){return this.isSame(y,P)||this.isBefore(y,P)},ft.isValid=function jr(){return V(this)},ft.lang=ol,ft.locale=gr,ft.localeData=mo,ft.max=Vd,ft.min=_t,ft.parsingFlags=function ll(){return O({},F(this))},ft.set=function Pb(y,P){if("object"==typeof y){var ee,K=function _i(y){var K,P=[];for(K in y)I(y,K)&&P.push({unit:K,priority:ai[K]});return P.sort(function(ee,ue){return ee.priority-ue.priority}),P}(y=Ht(y)),ue=K.length;for(ee=0;ee<ue;ee++)this[K[ee].unit](y[K[ee].unit])}else if(Ae(this[y=Gt(y)]))return this[y](P);return this},ft.startOf=function rl(y){var P,K;if(void 0===(y=Gt(y))||"millisecond"===y||!this.isValid())return this;switch(K=this._isUTC?Lh:Aa,y){case"year":P=K(this.year(),0,1);break;case"quarter":P=K(this.year(),this.month()-this.month()%3,1);break;case"month":P=K(this.year(),this.month(),1);break;case"week":P=K(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":P=K(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":P=K(this.year(),this.month(),this.date());break;case"hour":P=this._d.valueOf(),P-=en(P+(this._isUTC?0:this.utcOffset()*di),Fr);break;case"minute":P=this._d.valueOf(),P-=en(P,di);break;case"second":P=this._d.valueOf(),P-=en(P,1e3)}return this._d.setTime(P),A.updateOffset(this,!0),this},ft.subtract=Jb,ft.toArray=function Nc(){var y=this;return[y.year(),y.month(),y.date(),y.hour(),y.minute(),y.second(),y.millisecond()]},ft.toObject=function al(){var y=this;return{years:y.year(),months:y.month(),date:y.date(),hours:y.hours(),minutes:y.minutes(),seconds:y.seconds(),milliseconds:y.milliseconds()}},ft.toDate=function _n(){return new Date(this.valueOf())},ft.toISOString=function il(y){if(!this.isValid())return null;var P=!0!==y,K=P?this.clone().utc():this;return K.year()<0||K.year()>9999?Je(K,P?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ae(Date.prototype.toISOString)?P?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Je(K,"Z")):Je(K,P?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ft.inspect=function km(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var K,ee,y="moment",P="";return this.isLocal()||(y=0===this.utcOffset()?"moment.utc":"moment.parseZone",P="Z"),K="["+y+'("]',ee=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(K+ee+"-MM-DD[T]HH:mm:ss.SSS"+P+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(ft[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ft.toJSON=function Br(){return this.isValid()?this.toISOString():null},ft.toString=function Ds(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ft.unix=function sl(){return Math.floor(this.valueOf()/1e3)},ft.valueOf=function Pc(){return this._d.valueOf()-6e4*(this._offset||0)},ft.creationData=function Dn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ft.eraName=function Ts(){var y,P,K,ee=this.localeData().eras();for(y=0,P=ee.length;y<P;++y)if(K=this.clone().startOf("day").valueOf(),ee[y].since<=K&&K<=ee[y].until||ee[y].until<=K&&K<=ee[y].since)return ee[y].name;return""},ft.eraNarrow=function qd(){var y,P,K,ee=this.localeData().eras();for(y=0,P=ee.length;y<P;++y)if(K=this.clone().startOf("day").valueOf(),ee[y].since<=K&&K<=ee[y].until||ee[y].until<=K&&K<=ee[y].since)return ee[y].narrow;return""},ft.eraAbbr=function jl(){var y,P,K,ee=this.localeData().eras();for(y=0,P=ee.length;y<P;++y)if(K=this.clone().startOf("day").valueOf(),ee[y].since<=K&&K<=ee[y].until||ee[y].until<=K&&K<=ee[y].since)return ee[y].abbr;return""},ft.eraYear=function zr(){var y,P,K,ee,ue=this.localeData().eras();for(y=0,P=ue.length;y<P;++y)if(K=ue[y].since<=ue[y].until?1:-1,ee=this.clone().startOf("day").valueOf(),ue[y].since<=ee&&ee<=ue[y].until||ue[y].until<=ee&&ee<=ue[y].since)return(this.year()-A(ue[y].since).year())*K+ue[y].offset;return this.year()},ft.year=yc,ft.isLeapYear=function Or(){return To(this.year())},ft.weekYear=function t0(y){return s0.call(this,y,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ft.isoWeekYear=function wm(y){return s0.call(this,y,this.isoWeek(),this.isoWeekday(),1,4)},ft.quarter=ft.quarters=function bo(y){return null==y?Math.ceil((this.month()+1)/3):this.month(3*(y-1)+this.month()%3)},ft.month=rm,ft.daysInMonth=function Qi(){return gc(this.year(),this.month())},ft.week=ft.weeks=function ga(y){var P=this.localeData().week(this);return null==y?P:this.add(7*(y-P),"d")},ft.isoWeek=ft.isoWeeks=function Xk(y){var P=Ii(this,1,4).week;return null==y?P:this.add(7*(y-P),"d")},ft.weeksInYear=function o0(){var y=this.localeData()._week;return ns(this.year(),y.dow,y.doy)},ft.weeksInWeekYear=function r0(){var y=this.localeData()._week;return ns(this.weekYear(),y.dow,y.doy)},ft.isoWeeksInYear=function Cm(){return ns(this.year(),1,4)},ft.isoWeeksInISOWeekYear=function n0(){return ns(this.isoWeekYear(),1,4)},ft.date=vo,ft.day=ft.days=function Hb(y){if(!this.isValid())return null!=y?this:NaN;var P=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=y?(y=function wc(y,P){return"string"!=typeof y?y:isNaN(y)?"number"==typeof(y=P.weekdaysParse(y))?y:null:parseInt(y,10)}(y,this.localeData()),this.add(y-P,"d")):P},ft.weekday=function Fd(y){if(!this.isValid())return null!=y?this:NaN;var P=(this.day()+7-this.localeData()._week.dow)%7;return null==y?P:this.add(y-P,"d")},ft.isoWeekday=function ew(y){if(!this.isValid())return null!=y?this:NaN;if(null!=y){var P=function Ze(y,P){return"string"==typeof y?P.weekdaysParse(y)%7||7:isNaN(y)?null:y}(y,this.localeData());return this.day(this.day()%7?P:P-7)}return this.day()||7},ft.dayOfYear=function br(y){var P=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==y?P:this.add(y-P,"d")},ft.hour=ft.hours=gt,ft.minute=ft.minutes=Ys,ft.second=ft.seconds=Am,ft.millisecond=ft.milliseconds=Rh,ft.utcOffset=function pm(y,P,K){var ue,ee=this._offset||0;if(!this.isValid())return null!=y?this:NaN;if(null!=y){if("string"==typeof y){if(null===(y=Nr(ho,y)))return this}else Math.abs(y)<16&&!K&&(y*=60);return!this._isUTC&&P&&(ue=Ic(this)),this._offset=y,this._isUTC=!0,null!=ue&&this.add(ue,"m"),ee!==y&&(!P||this._changeInProgress?Wd(this,mr(y-ee,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,A.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?ee:Ic(this)},ft.utc=function fm(y){return this.utcOffset(0,y)},ft.local=function mm(y){return this._isUTC&&(this.utcOffset(0,y),this._isUTC=!1,y&&this.subtract(Ic(this),"m")),this},ft.parseZone=function Fl(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var y=Nr(Qf,this._i);null!=y?this.utcOffset(y):this.utcOffset(0,!0)}return this},ft.hasAlignedHourOffset=function gm(y){return!!this.isValid()&&(y=y?vi(y).utcOffset():0,(this.utcOffset()-y)%60==0)},ft.isDST=function xh(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ft.isLocal=function Eh(){return!!this.isValid()&&!this._isUTC},ft.isUtcOffset=function yi(){return!!this.isValid()&&this._isUTC},ft.isUtc=Ud,ft.isUTC=Ud,ft.zoneAbbr=function a0(){return this._isUTC?"UTC":""},ft.zoneName=function dt(){return this._isUTC?"Coordinated Universal Time":""},ft.dates=ie("dates accessor is deprecated. Use date instead.",vo),ft.months=ie("months accessor is deprecated. Use month instead",rm),ft.years=ie("years accessor is deprecated. Use year instead",yc),ft.zone=ie("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function Yd(y,P){return null!=y?("string"!=typeof y&&(y=-y),this.utcOffset(y,P),this):-this.utcOffset()}),ft.isDSTShifted=ie("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function _m(){if(!D(this._isDSTShifted))return this._isDSTShifted;var P,y={};return de(y,this),(y=As(y))._a?(P=y._isUTC?j(y._a):vi(y._a),this._isDSTShifted=this.isValid()&&function Th(y,P,K){var Ge,ee=Math.min(y.length,P.length),ue=Math.abs(y.length-P.length),Se=0;for(Ge=0;Ge<ee;Ge++)(K&&y[Ge]!==P[Ge]||!K&&rn(y[Ge])!==rn(P[Ge]))&&Se++;return Se+ue}(y._a,P.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var xn=rt.prototype;function Vr(y,P,K,ee){var ue=Ho(),Se=j().set(ee,P);return ue[K](Se,y)}function c0(y,P,K){if(E(y)&&(P=y,y=void 0),y=y||"",null!=P)return Vr(y,P,K,"month");var ee,ue=[];for(ee=0;ee<12;ee++)ue[ee]=Vr(y,ee,K,"month");return ue}function Dm(y,P,K,ee){"boolean"==typeof y?(E(P)&&(K=P,P=void 0),P=P||""):(K=P=y,y=!1,E(P)&&(K=P,P=void 0),P=P||"");var Ge,ue=Ho(),Se=y?ue._week.dow:0,Ot=[];if(null!=K)return Vr(P,(K+Se)%7,ee,"day");for(Ge=0;Ge<7;Ge++)Ot[Ge]=Vr(P,(Ge+Se)%7,ee,"day");return Ot}xn.calendar=function me(y,P,K){var ee=this._calendar[y]||this._calendar.sameElse;return Ae(ee)?ee.call(P,K):ee},xn.longDateFormat=function an(y){var P=this._longDateFormat[y],K=this._longDateFormat[y.toUpperCase()];return P||!K?P:(this._longDateFormat[y]=K.match(Te).map(function(ee){return"MMMM"===ee||"MM"===ee||"DD"===ee||"dddd"===ee?ee.slice(1):ee}).join(""),this._longDateFormat[y])},xn.invalidDate=function qn(){return this._invalidDate},xn.ordinal=function et(y){return this._ordinal.replace("%d",y)},xn.preparse=Mm,xn.postformat=Mm,xn.relativeTime=function Dt(y,P,K,ee){var ue=this._relativeTime[K];return Ae(ue)?ue(y,P,K,ee):ue.replace(/%d/i,y)},xn.pastFuture=function Lt(y,P){var K=this._relativeTime[y>0?"future":"past"];return Ae(K)?K(P):K.replace(/%s/i,P)},xn.set=function je(y){var P,K;for(K in y)I(y,K)&&(Ae(P=y[K])?this[K]=P:this["_"+K]=P);this._config=y,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xn.eras=function Xb(y,P){var K,ee,ue,Se=this._eras||Ho("en")._eras;for(K=0,ee=Se.length;K<ee;++K)switch("string"==typeof Se[K].since&&(ue=A(Se[K].since).startOf("day"),Se[K].since=ue.valueOf()),typeof Se[K].until){case"undefined":Se[K].until=1/0;break;case"string":ue=A(Se[K].until).startOf("day").valueOf(),Se[K].until=ue.valueOf()}return Se},xn.erasParse=function Oh(y,P,K){var ee,ue,Ge,Ot,mn,Se=this.eras();for(y=y.toUpperCase(),ee=0,ue=Se.length;ee<ue;++ee)if(Ge=Se[ee].name.toUpperCase(),Ot=Se[ee].abbr.toUpperCase(),mn=Se[ee].narrow.toUpperCase(),K)switch(P){case"N":case"NN":case"NNN":if(Ot===y)return Se[ee];break;case"NNNN":if(Ge===y)return Se[ee];break;case"NNNNN":if(mn===y)return Se[ee]}else if([Ge,Ot,mn].indexOf(y)>=0)return Se[ee]},xn.erasConvertYear=function $d(y,P){var K=y.since<=y.until?1:-1;return void 0===P?A(y.since).year():A(y.since).year()+(P-y.offset)*K},xn.erasAbbrRegex=function e0(y){return I(this,"_erasAbbrRegex")||_r.call(this),y?this._erasAbbrRegex:this._erasRegex},xn.erasNameRegex=function go(y){return I(this,"_erasNameRegex")||_r.call(this),y?this._erasNameRegex:this._erasRegex},xn.erasNarrowRegex=function Qo(y){return I(this,"_erasNarrowRegex")||_r.call(this),y?this._erasNarrowRegex:this._erasRegex},xn.months=function Ka(y,P){return y?x(this._months)?this._months[y.month()]:this._months[(this._months.isFormat||ph).test(P)?"format":"standalone"][y.month()]:x(this._months)?this._months:this._months.standalone},xn.monthsShort=function bc(y,P){return y?x(this._monthsShort)?this._monthsShort[y.month()]:this._monthsShort[ph.test(P)?"format":"standalone"][y.month()]:x(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xn.monthsParse=function im(y,P,K){var ee,ue,Se;if(this._monthsParseExact)return vc.call(this,y,P,K);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),ee=0;ee<12;ee++){if(ue=j([2e3,ee]),K&&!this._longMonthsParse[ee]&&(this._longMonthsParse[ee]=new RegExp("^"+this.months(ue,"").replace(".","")+"$","i"),this._shortMonthsParse[ee]=new RegExp("^"+this.monthsShort(ue,"").replace(".","")+"$","i")),!K&&!this._monthsParse[ee]&&(Se="^"+this.months(ue,"")+"|^"+this.monthsShort(ue,""),this._monthsParse[ee]=new RegExp(Se.replace(".",""),"i")),K&&"MMMM"===P&&this._longMonthsParse[ee].test(y))return ee;if(K&&"MMM"===P&&this._shortMonthsParse[ee].test(y))return ee;if(!K&&this._monthsParse[ee].test(y))return ee}},xn.monthsRegex=function to(y){return this._monthsParseExact?(I(this,"_monthsRegex")||Yt.call(this),y?this._monthsStrictRegex:this._monthsRegex):(I(this,"_monthsRegex")||(this._monthsRegex=Rb),this._monthsStrictRegex&&y?this._monthsStrictRegex:this._monthsRegex)},xn.monthsShortRegex=function Fb(y){return this._monthsParseExact?(I(this,"_monthsRegex")||Yt.call(this),y?this._monthsShortStrictRegex:this._monthsShortRegex):(I(this,"_monthsShortRegex")||(this._monthsShortRegex=nm),this._monthsShortStrictRegex&&y?this._monthsShortStrictRegex:this._monthsShortRegex)},xn.week=function Pl(y){return Ii(y,this._week.dow,this._week.doy).week},xn.firstDayOfYear=function ma(){return this._week.doy},xn.firstDayOfWeek=function ln(){return this._week.dow},xn.weekdays=function ur(y,P){var K=x(this._weekdays)?this._weekdays:this._weekdays[y&&!0!==y&&this._weekdays.isFormat.test(P)?"format":"standalone"];return!0===y?Nl(K,this._week.dow):y?K[y.day()]:K},xn.weekdaysMin=function zb(y){return!0===y?Nl(this._weekdaysMin,this._week.dow):y?this._weekdaysMin[y.day()]:this._weekdaysMin},xn.weekdaysShort=function gh(y){return!0===y?Nl(this._weekdaysShort,this._week.dow):y?this._weekdaysShort[y.day()]:this._weekdaysShort},xn.weekdaysParse=function _a(y,P,K){var ee,ue,Se;if(this._weekdaysParseExact)return Vb.call(this,y,P,K);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),ee=0;ee<7;ee++){if(ue=j([2e3,1]).day(ee),K&&!this._fullWeekdaysParse[ee]&&(this._fullWeekdaysParse[ee]=new RegExp("^"+this.weekdays(ue,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[ee]=new RegExp("^"+this.weekdaysShort(ue,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[ee]=new RegExp("^"+this.weekdaysMin(ue,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[ee]||(Se="^"+this.weekdays(ue,"")+"|^"+this.weekdaysShort(ue,"")+"|^"+this.weekdaysMin(ue,""),this._weekdaysParse[ee]=new RegExp(Se.replace(".",""),"i")),K&&"dddd"===P&&this._fullWeekdaysParse[ee].test(y))return ee;if(K&&"ddd"===P&&this._shortWeekdaysParse[ee].test(y))return ee;if(K&&"dd"===P&&this._minWeekdaysParse[ee].test(y))return ee;if(!K&&this._weekdaysParse[ee].test(y))return ee}},xn.weekdaysRegex=function _h(y){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||vh.call(this),y?this._weekdaysStrictRegex:this._weekdaysRegex):(I(this,"_weekdaysRegex")||(this._weekdaysRegex=jb),this._weekdaysStrictRegex&&y?this._weekdaysStrictRegex:this._weekdaysRegex)},xn.weekdaysShortRegex=function bh(y){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||vh.call(this),y?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(I(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=sm),this._weekdaysShortStrictRegex&&y?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xn.weekdaysMinRegex=function xi(y){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||vh.call(this),y?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(I(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=mh),this._weekdaysMinStrictRegex&&y?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xn.isPM=function Cc(y){return"p"===(y+"").toLowerCase().charAt(0)},xn.meridiem=function tw(y,P,K){return y>11?K?"pm":"PM":K?"am":"AM"},ba("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(y){var P=y%10;return y+(1===rn(y%100/10)?"th":1===P?"st":2===P?"nd":3===P?"rd":"th")}}),A.lang=ie("moment.lang is deprecated. Use moment.locale instead.",ba),A.langData=ie("moment.langData is deprecated. Use moment.localeData instead.",Ho);var rs=Math.abs;function ul(y,P,K,ee){var ue=mr(P,K);return y._milliseconds+=ee*ue._milliseconds,y._days+=ee*ue._days,y._months+=ee*ue._months,y._bubble()}function Kd(y){return y<0?Math.floor(y):Math.ceil(y)}function Bh(y){return 4800*y/146097}function Vl(y){return 146097*y/4800}function Vi(y){return function(){return this.as(y)}}var jh=Vi("ms"),Hl=Vi("s"),ui=Vi("m"),Ws=Vi("h"),ss=Vi("d"),Sm=Vi("w"),Im=Vi("M"),Bc=Vi("Q"),zh=Vi("y");function Ma(y){return function(){return this.isValid()?this._data[y]:NaN}}var ow=Ma("milliseconds"),u0=Ma("seconds"),Lm=Ma("minutes"),Om=Ma("hours"),h0=Ma("days"),p0=Ma("months"),f0=Ma("years");var xs=Math.round,hl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Hh(y,P,K,ee,ue){return ue.relativeTime(P||1,!!K,y,ee)}var Qd=Math.abs;function Yl(y){return(y>0)-(y<0)||+y}function zc(){if(!this.isValid())return this.localeData().invalidDate();var ee,ue,Se,Ge,mn,hn,Yo,vr,y=Qd(this._milliseconds)/1e3,P=Qd(this._days),K=Qd(this._months),Ot=this.asSeconds();return Ot?(ee=vn(y/60),ue=vn(ee/60),y%=60,ee%=60,Se=vn(K/12),K%=12,Ge=y?y.toFixed(3).replace(/\.?0+$/,""):"",mn=Ot<0?"-":"",hn=Yl(this._months)!==Yl(Ot)?"-":"",Yo=Yl(this._days)!==Yl(Ot)?"-":"",vr=Yl(this._milliseconds)!==Yl(Ot)?"-":"",mn+"P"+(Se?hn+Se+"Y":"")+(K?hn+K+"M":"")+(P?Yo+P+"D":"")+(ue||ee||y?"T":"")+(ue?vr+ue+"H":"")+(ee?vr+ee+"M":"")+(y?vr+Ge+"S":"")):"P0D"}var jn=pr.prototype;return jn.isValid=function Hd(){return this._isValid},jn.abs=function xm(){var y=this._data;return this._milliseconds=rs(this._milliseconds),this._days=rs(this._days),this._months=rs(this._months),y.milliseconds=rs(y.milliseconds),y.seconds=rs(y.seconds),y.minutes=rs(y.minutes),y.hours=rs(y.hours),y.months=rs(y.months),y.years=rs(y.years),this},jn.add=function Fh(y,P){return ul(this,y,P,1)},jn.subtract=function Gd(y,P){return ul(this,y,P,-1)},jn.as=function Rc(y){if(!this.isValid())return NaN;var P,K,ee=this._milliseconds;if("month"===(y=Gt(y))||"quarter"===y||"year"===y)switch(P=this._days+ee/864e5,K=this._months+Bh(P),y){case"month":return K;case"quarter":return K/3;case"year":return K/12}else switch(P=this._days+Math.round(Vl(this._months)),y){case"week":return P/7+ee/6048e5;case"day":return P+ee/864e5;case"hour":return 24*P+ee/36e5;case"minute":return 1440*P+ee/6e4;case"second":return 86400*P+ee/1e3;case"millisecond":return Math.floor(864e5*P)+ee;default:throw new Error("Unknown unit "+y)}},jn.asMilliseconds=jh,jn.asSeconds=Hl,jn.asMinutes=ui,jn.asHours=Ws,jn.asDays=ss,jn.asWeeks=Sm,jn.asMonths=Im,jn.asQuarters=Bc,jn.asYears=zh,jn.valueOf=function Fc(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*rn(this._months/12):NaN},jn._bubble=function Em(){var ue,Se,Ge,Ot,mn,y=this._milliseconds,P=this._days,K=this._months,ee=this._data;return y>=0&&P>=0&&K>=0||y<=0&&P<=0&&K<=0||(y+=864e5*Kd(Vl(K)+P),P=0,K=0),ee.milliseconds=y%1e3,ue=vn(y/1e3),ee.seconds=ue%60,Se=vn(ue/60),ee.minutes=Se%60,Ge=vn(Se/60),ee.hours=Ge%24,P+=vn(Ge/24),K+=mn=vn(Bh(P)),P-=Kd(Vl(mn)),Ot=vn(K/12),K%=12,ee.days=P,ee.months=K,ee.years=Ot,this},jn.clone=function d0(){return mr(this)},jn.get=function jc(y){return y=Gt(y),this.isValid()?this[y+"s"]():NaN},jn.milliseconds=ow,jn.seconds=u0,jn.minutes=Lm,jn.hours=Om,jn.days=h0,jn.weeks=function Vh(){return vn(this.days()/7)},jn.months=p0,jn.years=f0,jn.humanize=function Zd(y,P){if(!this.isValid())return this.localeData().invalidDate();var ue,Se,K=!1,ee=hl;return"object"==typeof y&&(P=y,y=!1),"boolean"==typeof y&&(K=y),"object"==typeof P&&(ee=Object.assign({},hl,P),null!=P.s&&null==P.ss&&(ee.ss=P.s-1)),Se=function Yh(y,P,K,ee){var ue=mr(y).abs(),Se=xs(ue.as("s")),Ge=xs(ue.as("m")),Ot=xs(ue.as("h")),mn=xs(ue.as("d")),hn=xs(ue.as("M")),Yo=xs(ue.as("w")),vr=xs(ue.as("y")),Jo=Se<=K.ss&&["s",Se]||Se<K.s&&["ss",Se]||Ge<=1&&["m"]||Ge<K.m&&["mm",Ge]||Ot<=1&&["h"]||Ot<K.h&&["hh",Ot]||mn<=1&&["d"]||mn<K.d&&["dd",mn];return null!=K.w&&(Jo=Jo||Yo<=1&&["w"]||Yo<K.w&&["ww",Yo]),(Jo=Jo||hn<=1&&["M"]||hn<K.M&&["MM",hn]||vr<=1&&["y"]||["yy",vr])[2]=P,Jo[3]=+y>0,Jo[4]=ee,Hh.apply(null,Jo)}(this,!K,ee,ue=this.localeData()),K&&(Se=ue.pastFuture(+this,Se)),ue.postformat(Se)},jn.toISOString=zc,jn.toString=zc,jn.toJSON=zc,jn.locale=gr,jn.localeData=mo,jn.toIsoString=ie("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",zc),jn.lang=ol,De("X",0,0,"unix"),De("x",0,0,"valueOf"),Rt("x",mc),Rt("X",/[+-]?\d+(\.\d{1,3})?/),Un("X",function(y,P,K){K._d=new Date(1e3*parseFloat(y))}),Un("x",function(y,P,K){K._d=new Date(rn(y))}),A.version="2.29.4",function L(y){R=y}(vi),A.fn=ft,A.min=function Vs(){return Ms("isBefore",[].slice.call(arguments,0))},A.max=function Zb(){return Ms("isAfter",[].slice.call(arguments,0))},A.now=function(){return Date.now?Date.now():+new Date},A.utc=j,A.unix=function Tn(y){return vi(1e3*y)},A.months=function no(y,P){return c0(y,P,"months")},A.isDate=T,A.locale=ba,A.invalid=Q,A.duration=mr,A.isMoment=se,A.weekdays=function Hr(y,P,K){return Dm(y,P,K,"weekdays")},A.parseZone=function l0(){return vi.apply(null,arguments).parseZone()},A.localeData=Ho,A.isDuration=Rn,A.monthsShort=function dl(y,P){return c0(y,P,"monthsShort")},A.weekdaysMin=function yt(y,P,K){return Dm(y,P,K,"weekdaysMin")},A.defineLocale=Mn,A.updateLocale=function kh(y,P){if(null!=P){var K,ee,ue=Ut;null!=li[y]&&null!=li[y].parentLocale?li[y].set(Be(li[y]._config,P)):(null!=(ee=Mc(y))&&(ue=ee._config),P=Be(ue,P),null==ee&&(P.abbr=y),(K=new rt(P)).parentLocale=li[y],li[y]=K),ba(y)}else null!=li[y]&&(null!=li[y].parentLocale?(li[y]=li[y].parentLocale,y===ba()&&ba(y)):null!=li[y]&&delete li[y]);return li[y]},A.locales=function Zo(){return Ne(li)},A.weekdaysShort=function Tm(y,P,K){return Dm(y,P,K,"weekdaysShort")},A.normalizeUnits=Gt,A.relativeTimeRounding=function m0(y){return void 0===y?xs:"function"==typeof y&&(xs=y,!0)},A.relativeTimeThreshold=function fn(y,P){return void 0!==hl[y]&&(void 0===P?hl[y]:(hl[y]=P,"s"===y&&(hl.ss=P-1),!0))},A.calendarFormat=function Wt(y,P){var K=y.diff(P,"days",!0);return K<-6?"sameElse":K<-1?"lastWeek":K<0?"lastDay":K<1?"sameDay":K<2?"nextDay":K<7?"nextWeek":"sameElse"},A.prototype=ft,A.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},A}()},7536:function(qe){typeof self<"u"&&self,qe.exports=function(_e){var W={};function R(A){if(W[A])return W[A].exports;var L=W[A]={i:A,l:!1,exports:{}};return _e[A].call(L.exports,L,L.exports,R),L.l=!0,L.exports}return R.m=_e,R.c=W,R.d=function(A,L,x){R.o(A,L)||Object.defineProperty(A,L,{configurable:!1,enumerable:!0,get:x})},R.n=function(A){var L=A&&A.__esModule?function(){return A.default}:function(){return A};return R.d(L,"a",L),L},R.o=function(A,L){return Object.prototype.hasOwnProperty.call(A,L)},R.p="",R(R.s=109)}([function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=R(17),L=R(18),x=R(19),C=R(45),I=R(46),v=R(47),D=R(48),E=R(49),T=R(12),M=R(32),O=R(33),j=R(31),z=R(1);W.default={Scope:z.Scope,create:z.create,find:z.find,query:z.query,register:z.register,Container:A.default,Format:L.default,Leaf:x.default,Embed:D.default,Scroll:C.default,Block:v.default,Inline:I.default,Text:E.default,Attributor:{Attribute:T.default,Class:M.default,Style:O.default,Store:j.default}}},function(_e,W,R){"use strict";var j,A=this&&this.__extends||(j=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,F){z.__proto__=F}||function(z,F){for(var q in F)F.hasOwnProperty(q)&&(z[q]=F[q])},function(z,F){function q(){this.constructor=z}j(z,F),z.prototype=null===F?Object.create(F):(q.prototype=F.prototype,new q)});Object.defineProperty(W,"__esModule",{value:!0});var L=function(j){function z(F){var q=this;return(q=j.call(this,F="[Parchment] "+F)||this).message=F,q.name=q.constructor.name,q}return A(z,j),z}(Error);W.ParchmentError=L;var D,x={},C={},I={},v={};function M(j,z){var F;if(void 0===z&&(z=D.ANY),"string"==typeof j)F=v[j]||x[j];else if(j instanceof Text||j.nodeType===Node.TEXT_NODE)F=v.text;else if("number"==typeof j)j&D.LEVEL&D.BLOCK?F=v.block:j&D.LEVEL&D.INLINE&&(F=v.inline);else if(j instanceof HTMLElement){var q=(j.getAttribute("class")||"").split(/\s+/);for(var V in q)if(F=C[q[V]])break;F=F||I[j.tagName]}return null==F?null:z&D.LEVEL&F.scope&&z&D.TYPE&F.scope?F:null}W.DATA_KEY="__blot",function(j){j[j.TYPE=3]="TYPE",j[j.LEVEL=12]="LEVEL",j[j.ATTRIBUTE=13]="ATTRIBUTE",j[j.BLOT=14]="BLOT",j[j.INLINE=7]="INLINE",j[j.BLOCK=11]="BLOCK",j[j.BLOCK_BLOT=10]="BLOCK_BLOT",j[j.INLINE_BLOT=6]="INLINE_BLOT",j[j.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",j[j.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",j[j.ANY=15]="ANY"}(D=W.Scope||(W.Scope={})),W.create=function E(j,z){var F=M(j);if(null==F)throw new L("Unable to create "+j+" blot");var q=F,V=j instanceof Node||j.nodeType===Node.TEXT_NODE?j:q.create(z);return new q(V,z)},W.find=function T(j,z){return void 0===z&&(z=!1),null==j?null:null!=j[W.DATA_KEY]?j[W.DATA_KEY].blot:z?T(j.parentNode,z):null},W.query=M,W.register=function O(){for(var j=[],z=0;z<arguments.length;z++)j[z]=arguments[z];if(j.length>1)return j.map(function(V){return O(V)});var F=j[0];if("string"!=typeof F.blotName&&"string"!=typeof F.attrName)throw new L("Invalid definition");if("abstract"===F.blotName)throw new L("Cannot register abstract class");return v[F.blotName||F.attrName]=F,"string"==typeof F.keyName?x[F.keyName]=F:(null!=F.className&&(C[F.className]=F),null!=F.tagName&&(F.tagName=Array.isArray(F.tagName)?F.tagName.map(function(V){return V.toUpperCase()}):F.tagName.toUpperCase(),(Array.isArray(F.tagName)?F.tagName:[F.tagName]).forEach(function(V){(null==I[V]||null==F.className)&&(I[V]=F)}))),F}},function(_e,W,R){var A=R(51),L=R(11),x=R(3),C=R(20),I=String.fromCharCode(0),v=function(D){this.ops=Array.isArray(D)?D:null!=D&&Array.isArray(D.ops)?D.ops:[]};v.prototype.insert=function(D,E){var T={};return 0===D.length?this:(T.insert=D,null!=E&&"object"==typeof E&&Object.keys(E).length>0&&(T.attributes=E),this.push(T))},v.prototype.delete=function(D){return D<=0?this:this.push({delete:D})},v.prototype.retain=function(D,E){if(D<=0)return this;var T={retain:D};return null!=E&&"object"==typeof E&&Object.keys(E).length>0&&(T.attributes=E),this.push(T)},v.prototype.push=function(D){var E=this.ops.length,T=this.ops[E-1];if(D=x(!0,{},D),"object"==typeof T){if("number"==typeof D.delete&&"number"==typeof T.delete)return this.ops[E-1]={delete:T.delete+D.delete},this;if("number"==typeof T.delete&&null!=D.insert&&"object"!=typeof(T=this.ops[(E-=1)-1]))return this.ops.unshift(D),this;if(L(D.attributes,T.attributes)){if("string"==typeof D.insert&&"string"==typeof T.insert)return this.ops[E-1]={insert:T.insert+D.insert},"object"==typeof D.attributes&&(this.ops[E-1].attributes=D.attributes),this;if("number"==typeof D.retain&&"number"==typeof T.retain)return this.ops[E-1]={retain:T.retain+D.retain},"object"==typeof D.attributes&&(this.ops[E-1].attributes=D.attributes),this}}return E===this.ops.length?this.ops.push(D):this.ops.splice(E,0,D),this},v.prototype.chop=function(){var D=this.ops[this.ops.length-1];return D&&D.retain&&!D.attributes&&this.ops.pop(),this},v.prototype.filter=function(D){return this.ops.filter(D)},v.prototype.forEach=function(D){this.ops.forEach(D)},v.prototype.map=function(D){return this.ops.map(D)},v.prototype.partition=function(D){var E=[],T=[];return this.forEach(function(M){(D(M)?E:T).push(M)}),[E,T]},v.prototype.reduce=function(D,E){return this.ops.reduce(D,E)},v.prototype.changeLength=function(){return this.reduce(function(D,E){return E.insert?D+C.length(E):E.delete?D-E.delete:D},0)},v.prototype.length=function(){return this.reduce(function(D,E){return D+C.length(E)},0)},v.prototype.slice=function(D,E){D=D||0,"number"!=typeof E&&(E=1/0);for(var T=[],M=C.iterator(this.ops),O=0;O<E&&M.hasNext();){var j;O<D?j=M.next(D-O):(j=M.next(E-O),T.push(j)),O+=C.length(j)}return new v(T)},v.prototype.compose=function(D){var E=C.iterator(this.ops),T=C.iterator(D.ops),M=[],O=T.peek();if(null!=O&&"number"==typeof O.retain&&null==O.attributes){for(var j=O.retain;"insert"===E.peekType()&&E.peekLength()<=j;)j-=E.peekLength(),M.push(E.next());O.retain-j>0&&T.next(O.retain-j)}for(var z=new v(M);E.hasNext()||T.hasNext();)if("insert"===T.peekType())z.push(T.next());else if("delete"===E.peekType())z.push(E.next());else{var F=Math.min(E.peekLength(),T.peekLength()),q=E.next(F),V=T.next(F);if("number"==typeof V.retain){var Q={};"number"==typeof q.retain?Q.retain=F:Q.insert=q.insert;var ce=C.attributes.compose(q.attributes,V.attributes,"number"==typeof q.retain);if(ce&&(Q.attributes=ce),z.push(Q),!T.hasNext()&&L(z.ops[z.ops.length-1],Q)){var ae=new v(E.rest());return z.concat(ae).chop()}}else"number"==typeof V.delete&&"number"==typeof q.retain&&z.push(V)}return z.chop()},v.prototype.concat=function(D){var E=new v(this.ops.slice());return D.ops.length>0&&(E.push(D.ops[0]),E.ops=E.ops.concat(D.ops.slice(1))),E},v.prototype.diff=function(D,E){if(this.ops===D.ops)return new v;var T=[this,D].map(function(F){return F.map(function(q){if(null!=q.insert)return"string"==typeof q.insert?q.insert:I;throw new Error("diff() called "+(F===D?"on":"with")+" non-document")}).join("")}),M=new v,O=A(T[0],T[1],E),j=C.iterator(this.ops),z=C.iterator(D.ops);return O.forEach(function(F){for(var q=F[1].length;q>0;){var V=0;switch(F[0]){case A.INSERT:V=Math.min(z.peekLength(),q),M.push(z.next(V));break;case A.DELETE:V=Math.min(q,j.peekLength()),j.next(V),M.delete(V);break;case A.EQUAL:V=Math.min(j.peekLength(),z.peekLength(),q);var Q=j.next(V),ce=z.next(V);L(Q.insert,ce.insert)?M.retain(V,C.attributes.diff(Q.attributes,ce.attributes)):M.push(ce).delete(V)}q-=V}}),M.chop()},v.prototype.eachLine=function(D,E){E=E||"\n";for(var T=C.iterator(this.ops),M=new v,O=0;T.hasNext();){if("insert"!==T.peekType())return;var j=T.peek(),z=C.length(j)-T.peekLength(),F="string"==typeof j.insert?j.insert.indexOf(E,z)-z:-1;if(F<0)M.push(T.next());else if(F>0)M.push(T.next(F));else{if(!1===D(M,T.next(1).attributes||{},O))return;O+=1,M=new v}}M.length()>0&&D(M,{},O)},v.prototype.transform=function(D,E){if(E=!!E,"number"==typeof D)return this.transformPosition(D,E);for(var T=C.iterator(this.ops),M=C.iterator(D.ops),O=new v;T.hasNext()||M.hasNext();)if("insert"!==T.peekType()||!E&&"insert"===M.peekType())if("insert"===M.peekType())O.push(M.next());else{var j=Math.min(T.peekLength(),M.peekLength()),z=T.next(j),F=M.next(j);if(z.delete)continue;F.delete?O.push(F):O.retain(j,C.attributes.transform(z.attributes,F.attributes,E))}else O.retain(C.length(T.next()));return O.chop()},v.prototype.transformPosition=function(D,E){E=!!E;for(var T=C.iterator(this.ops),M=0;T.hasNext()&&M<=D;){var O=T.peekLength(),j=T.peekType();T.next(),"delete"!==j?("insert"===j&&(M<D||!E)&&(D+=O),M+=O):D-=Math.min(O,D-M)}return D},_e.exports=v},function(_e,W){"use strict";var R=Object.prototype.hasOwnProperty,A=Object.prototype.toString,L=Object.defineProperty,x=Object.getOwnPropertyDescriptor,C=function(T){return"function"==typeof Array.isArray?Array.isArray(T):"[object Array]"===A.call(T)},I=function(T){if(!T||"[object Object]"!==A.call(T))return!1;var j,M=R.call(T,"constructor"),O=T.constructor&&T.constructor.prototype&&R.call(T.constructor.prototype,"isPrototypeOf");if(T.constructor&&!M&&!O)return!1;for(j in T);return typeof j>"u"||R.call(T,j)},v=function(T,M){L&&"__proto__"===M.name?L(T,M.name,{enumerable:!0,configurable:!0,value:M.newValue,writable:!0}):T[M.name]=M.newValue},D=function(T,M){if("__proto__"===M){if(!R.call(T,M))return;if(x)return x(T,M).value}return T[M]};_e.exports=function E(){var T,M,O,j,z,F,q=arguments[0],V=1,Q=arguments.length,ce=!1;for("boolean"==typeof q&&(ce=q,q=arguments[1]||{},V=2),(null==q||"object"!=typeof q&&"function"!=typeof q)&&(q={});V<Q;++V)if(null!=(T=arguments[V]))for(M in T)O=D(q,M),q!==(j=D(T,M))&&(ce&&j&&(I(j)||(z=C(j)))?(z?(z=!1,F=O&&C(O)?O:[]):F=O&&I(O)?O:{},v(q,{name:M,newValue:E(ce,F,j)})):typeof j<"u"&&v(q,{name:M,newValue:j}));return q}},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.default=W.BlockEmbed=W.bubbleFormats=void 0;var A=function(){function Y(ie,pe){for(var be=0;be<pe.length;be++){var Ae=pe[be];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(ie,Ae.key,Ae)}}return function(ie,pe,be){return pe&&Y(ie.prototype,pe),be&&Y(ie,be),ie}}(),L=function Y(ie,pe,be){null===ie&&(ie=Function.prototype);var Ae=Object.getOwnPropertyDescriptor(ie,pe);if(void 0===Ae){var je=Object.getPrototypeOf(ie);return null===je?void 0:Y(je,pe,be)}if("value"in Ae)return Ae.value;var Be=Ae.get;return void 0===Be?void 0:Be.call(be)},C=q(R(3)),v=q(R(2)),E=q(R(0)),M=q(R(16)),j=q(R(6)),F=q(R(7));function q(Y){return Y&&Y.__esModule?Y:{default:Y}}function V(Y,ie){if(!(Y instanceof ie))throw new TypeError("Cannot call a class as a function")}function Q(Y,ie){if(!Y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!ie||"object"!=typeof ie&&"function"!=typeof ie?Y:ie}function ce(Y,ie){if("function"!=typeof ie&&null!==ie)throw new TypeError("Super expression must either be null or a function, not "+typeof ie);Y.prototype=Object.create(ie&&ie.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}}),ie&&(Object.setPrototypeOf?Object.setPrototypeOf(Y,ie):Y.__proto__=ie)}var de=function(Y){function ie(){return V(this,ie),Q(this,(ie.__proto__||Object.getPrototypeOf(ie)).apply(this,arguments))}return ce(ie,Y),A(ie,[{key:"attach",value:function(){L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"attach",this).call(this),this.attributes=new E.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new v.default).insert(this.value(),(0,C.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(be,Ae){var je=E.default.query(be,E.default.Scope.BLOCK_ATTRIBUTE);null!=je&&this.attributes.attribute(je,Ae)}},{key:"formatAt",value:function(be,Ae,je,Be){this.format(je,Be)}},{key:"insertAt",value:function(be,Ae,je){if("string"==typeof Ae&&Ae.endsWith("\n")){var Be=E.default.create(he.blotName);this.parent.insertBefore(Be,0===be?this:this.next),Be.insertAt(0,Ae.slice(0,-1))}else L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"insertAt",this).call(this,be,Ae,je)}}]),ie}(E.default.Embed);de.scope=E.default.Scope.BLOCK_BLOT;var he=function(Y){function ie(pe){V(this,ie);var be=Q(this,(ie.__proto__||Object.getPrototypeOf(ie)).call(this,pe));return be.cache={},be}return ce(ie,Y),A(ie,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(E.default.Leaf).reduce(function(be,Ae){return 0===Ae.length()?be:be.insert(Ae.value(),se(Ae))},new v.default).insert("\n",se(this))),this.cache.delta}},{key:"deleteAt",value:function(be,Ae){L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"deleteAt",this).call(this,be,Ae),this.cache={}}},{key:"formatAt",value:function(be,Ae,je,Be){Ae<=0||(E.default.query(je,E.default.Scope.BLOCK)?be+Ae===this.length()&&this.format(je,Be):L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"formatAt",this).call(this,be,Math.min(Ae,this.length()-be-1),je,Be),this.cache={})}},{key:"insertAt",value:function(be,Ae,je){if(null!=je)return L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"insertAt",this).call(this,be,Ae,je);if(0!==Ae.length){var Be=Ae.split("\n"),rt=Be.shift();rt.length>0&&(be<this.length()-1||null==this.children.tail?L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"insertAt",this).call(this,Math.min(be,this.length()-1),rt):this.children.tail.insertAt(this.children.tail.length(),rt),this.cache={});var Ne=this;Be.reduce(function(Me,me){return(Ne=Ne.split(Me,!0)).insertAt(0,me),me.length},be+rt.length)}}},{key:"insertBefore",value:function(be,Ae){var je=this.children.head;L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"insertBefore",this).call(this,be,Ae),je instanceof M.default&&je.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(be,Ae){L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"moveChildren",this).call(this,be,Ae),this.cache={}}},{key:"optimize",value:function(be){L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"optimize",this).call(this,be),this.cache={}}},{key:"path",value:function(be){return L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"path",this).call(this,be,!0)}},{key:"removeChild",value:function(be){L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"removeChild",this).call(this,be),this.cache={}}},{key:"split",value:function(be){var Ae=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Ae&&(0===be||be>=this.length()-1)){var je=this.clone();return 0===be?(this.parent.insertBefore(je,this),this):(this.parent.insertBefore(je,this.next),je)}var Be=L(ie.prototype.__proto__||Object.getPrototypeOf(ie.prototype),"split",this).call(this,be,Ae);return this.cache={},Be}}]),ie}(E.default.Block);function se(Y){var ie=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==Y||("function"==typeof Y.formats&&(ie=(0,C.default)(ie,Y.formats())),null==Y.parent||"scroll"==Y.parent.blotName||Y.parent.statics.scope!==Y.statics.scope)?ie:se(Y.parent,ie)}he.blotName="block",he.tagName="P",he.defaultChild="break",he.allowedChildren=[j.default,E.default.Embed,F.default],W.bubbleFormats=se,W.BlockEmbed=de,W.default=he},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.default=W.overload=W.expandConfig=void 0;var A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ne){return typeof Ne}:function(Ne){return Ne&&"function"==typeof Symbol&&Ne.constructor===Symbol&&Ne!==Symbol.prototype?"symbol":typeof Ne},L=function(Me,me){if(Array.isArray(Me))return Me;if(Symbol.iterator in Object(Me))return function Ne(Me,me){var ye=[],Te=!0,Ve=!1,Ie=void 0;try{for(var De,ke=Me[Symbol.iterator]();!(Te=(De=ke.next()).done)&&(ye.push(De.value),!me||ye.length!==me);Te=!0);}catch($e){Ve=!0,Ie=$e}finally{try{!Te&&ke.return&&ke.return()}finally{if(Ve)throw Ie}}return ye}(Me,me);throw new TypeError("Invalid attempt to destructure non-iterable instance")},x=function(){function Ne(Me,me){for(var ye=0;ye<me.length;ye++){var Te=me[ye];Te.enumerable=Te.enumerable||!1,Te.configurable=!0,"value"in Te&&(Te.writable=!0),Object.defineProperty(Me,Te.key,Te)}}return function(Me,me,ye){return me&&Ne(Me.prototype,me),ye&&Ne(Me,ye),Me}}();R(50);var I=se(R(2)),D=se(R(14)),T=se(R(8)),O=se(R(9)),z=se(R(0)),F=R(15),q=se(F),Q=se(R(3)),ae=se(R(10)),he=se(R(34));function se(Ne){return Ne&&Ne.__esModule?Ne:{default:Ne}}function Y(Ne,Me,me){return Me in Ne?Object.defineProperty(Ne,Me,{value:me,enumerable:!0,configurable:!0,writable:!0}):Ne[Me]=me,Ne}var pe=(0,ae.default)("quill"),be=function(){function Ne(Me){var me=this,ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function ie(Ne,Me){if(!(Ne instanceof Me))throw new TypeError("Cannot call a class as a function")}(this,Ne),this.options=Ae(Me,ye),this.container=this.options.container,null==this.container)return pe.error("Invalid Quill container",Me);this.options.debug&&Ne.debug(this.options.debug);var Te=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new T.default,this.scroll=z.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new D.default(this.scroll),this.selection=new q.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(T.default.events.EDITOR_CHANGE,function(Ie){Ie===T.default.events.TEXT_CHANGE&&me.root.classList.toggle("ql-blank",me.editor.isBlank())}),this.emitter.on(T.default.events.SCROLL_UPDATE,function(Ie,ke){var De=me.selection.lastRange,$e=De&&0===De.length?De.index:void 0;je.call(me,function(){return me.editor.update(null,ke,$e)},Ie)});var Ve=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+Te+"<p><br></p></div>");this.setContents(Ve),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return x(Ne,null,[{key:"debug",value:function(me){!0===me&&(me="log"),ae.default.level(me)}},{key:"find",value:function(me){return me.__quill||z.default.find(me)}},{key:"import",value:function(me){return null==this.imports[me]&&pe.error("Cannot import "+me+". Are you sure it was registered?"),this.imports[me]}},{key:"register",value:function(me,ye){var Te=this,Ve=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof me){var Ie=me.attrName||me.blotName;"string"==typeof Ie?this.register("formats/"+Ie,me,ye):Object.keys(me).forEach(function(ke){Te.register(ke,me[ke],ye)})}else null!=this.imports[me]&&!Ve&&pe.warn("Overwriting "+me+" with",ye),this.imports[me]=ye,(me.startsWith("blots/")||me.startsWith("formats/"))&&"abstract"!==ye.blotName?z.default.register(ye):me.startsWith("modules")&&"function"==typeof ye.register&&ye.register()}}]),x(Ne,[{key:"addContainer",value:function(me){var ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof me){var Te=me;(me=document.createElement("div")).classList.add(Te)}return this.container.insertBefore(me,ye),me}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(me,ye,Te){var Ve=this,Ie=Be(me,ye,Te),ke=L(Ie,4);return je.call(this,function(){return Ve.editor.deleteText(me,ye)},Te=ke[3],me=ke[0],-1*(ye=ke[1]))}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var me=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(me),this.container.classList.toggle("ql-disabled",!me)}},{key:"focus",value:function(){var me=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=me,this.scrollIntoView()}},{key:"format",value:function(me,ye){var Te=this;return je.call(this,function(){var Ie=Te.getSelection(!0),ke=new I.default;if(null==Ie)return ke;if(z.default.query(me,z.default.Scope.BLOCK))ke=Te.editor.formatLine(Ie.index,Ie.length,Y({},me,ye));else{if(0===Ie.length)return Te.selection.format(me,ye),ke;ke=Te.editor.formatText(Ie.index,Ie.length,Y({},me,ye))}return Te.setSelection(Ie,T.default.sources.SILENT),ke},arguments.length>2&&void 0!==arguments[2]?arguments[2]:T.default.sources.API)}},{key:"formatLine",value:function(me,ye,Te,Ve,Ie){var De,ke=this,$e=Be(me,ye,Te,Ve,Ie),Ue=L($e,4);return ye=Ue[1],De=Ue[2],je.call(this,function(){return ke.editor.formatLine(me,ye,De)},Ie=Ue[3],me=Ue[0],0)}},{key:"formatText",value:function(me,ye,Te,Ve,Ie){var De,ke=this,$e=Be(me,ye,Te,Ve,Ie),Ue=L($e,4);return ye=Ue[1],De=Ue[2],je.call(this,function(){return ke.editor.formatText(me,ye,De)},Ie=Ue[3],me=Ue[0],0)}},{key:"getBounds",value:function(me){var Te;Te="number"==typeof me?this.selection.getBounds(me,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0):this.selection.getBounds(me.index,me.length);var Ve=this.container.getBoundingClientRect();return{bottom:Te.bottom-Ve.top,height:Te.height,left:Te.left-Ve.left,right:Te.right-Ve.left,top:Te.top-Ve.top,width:Te.width}}},{key:"getContents",value:function(){var me=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-me,Te=Be(me,ye),Ve=L(Te,2);return this.editor.getContents(me=Ve[0],ye=Ve[1])}},{key:"getFormat",value:function(){var me=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0);return"number"==typeof me?this.editor.getFormat(me,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0):this.editor.getFormat(me.index,me.length)}},{key:"getIndex",value:function(me){return me.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(me){return this.scroll.leaf(me)}},{key:"getLine",value:function(me){return this.scroll.line(me)}},{key:"getLines",value:function(){var me=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof me?this.scroll.lines(me.index,me.length):this.scroll.lines(me,ye)}},{key:"getModule",value:function(me){return this.theme.modules[me]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var me=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-me,Te=Be(me,ye),Ve=L(Te,2);return this.editor.getText(me=Ve[0],ye=Ve[1])}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(me,ye,Te){var Ve=this;return je.call(this,function(){return Ve.editor.insertEmbed(me,ye,Te)},arguments.length>3&&void 0!==arguments[3]?arguments[3]:Ne.sources.API,me)}},{key:"insertText",value:function(me,ye,Te,Ve,Ie){var De,ke=this,$e=Be(me,0,Te,Ve,Ie),Ue=L($e,4);return De=Ue[2],je.call(this,function(){return ke.editor.insertText(me,ye,De)},Ie=Ue[3],me=Ue[0],ye.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(me,ye,Te){this.clipboard.dangerouslyPasteHTML(me,ye,Te)}},{key:"removeFormat",value:function(me,ye,Te){var Ve=this,Ie=Be(me,ye,Te),ke=L(Ie,4);return ye=ke[1],je.call(this,function(){return Ve.editor.removeFormat(me,ye)},Te=ke[3],me=ke[0])}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(me){var ye=this;return je.call(this,function(){me=new I.default(me);var Ve=ye.getLength(),Ie=ye.editor.deleteText(0,Ve),ke=ye.editor.applyDelta(me),De=ke.ops[ke.ops.length-1];return null!=De&&"string"==typeof De.insert&&"\n"===De.insert[De.insert.length-1]&&(ye.editor.deleteText(ye.getLength()-1,1),ke.delete(1)),Ie.compose(ke)},arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.default.sources.API)}},{key:"setSelection",value:function(me,ye,Te){if(null==me)this.selection.setRange(null,ye||Ne.sources.API);else{var Ve=Be(me,ye,Te),Ie=L(Ve,4);Te=Ie[3],this.selection.setRange(new F.Range(me=Ie[0],ye=Ie[1]),Te),Te!==T.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(me){var ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.default.sources.API,Te=(new I.default).insert(me);return this.setContents(Te,ye)}},{key:"update",value:function(){var me=arguments.length>0&&void 0!==arguments[0]?arguments[0]:T.default.sources.USER,ye=this.scroll.update(me);return this.selection.update(me),ye}},{key:"updateContents",value:function(me){var ye=this,Te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.default.sources.API;return je.call(this,function(){return me=new I.default(me),ye.editor.applyDelta(me,Te)},Te,!0)}}]),Ne}();function Ae(Ne,Me){if((Me=(0,Q.default)(!0,{container:Ne,modules:{clipboard:!0,keyboard:!0,history:!0}},Me)).theme&&Me.theme!==be.DEFAULTS.theme){if(Me.theme=be.import("themes/"+Me.theme),null==Me.theme)throw new Error("Invalid theme "+Me.theme+". Did you register it?")}else Me.theme=he.default;var me=(0,Q.default)(!0,{},Me.theme.DEFAULTS);[me,Me].forEach(function(Ve){Ve.modules=Ve.modules||{},Object.keys(Ve.modules).forEach(function(Ie){!0===Ve.modules[Ie]&&(Ve.modules[Ie]={})})});var Te=Object.keys(me.modules).concat(Object.keys(Me.modules)).reduce(function(Ve,Ie){var ke=be.import("modules/"+Ie);return null==ke?pe.error("Cannot load "+Ie+" module. Are you sure you registered it?"):Ve[Ie]=ke.DEFAULTS||{},Ve},{});return null!=Me.modules&&Me.modules.toolbar&&Me.modules.toolbar.constructor!==Object&&(Me.modules.toolbar={container:Me.modules.toolbar}),Me=(0,Q.default)(!0,{},be.DEFAULTS,{modules:Te},me,Me),["bounds","container","scrollingContainer"].forEach(function(Ve){"string"==typeof Me[Ve]&&(Me[Ve]=document.querySelector(Me[Ve]))}),Me.modules=Object.keys(Me.modules).reduce(function(Ve,Ie){return Me.modules[Ie]&&(Ve[Ie]=Me.modules[Ie]),Ve},{}),Me}function je(Ne,Me,me,ye){if(this.options.strict&&!this.isEnabled()&&Me===T.default.sources.USER)return new I.default;var Te=null==me?null:this.getSelection(),Ve=this.editor.delta,Ie=Ne();if(null!=Te&&(!0===me&&(me=Te.index),null==ye?Te=rt(Te,Ie,Me):0!==ye&&(Te=rt(Te,me,ye,Me)),this.setSelection(Te,T.default.sources.SILENT)),Ie.length()>0){var ke,$e,De=[T.default.events.TEXT_CHANGE,Ie,Ve,Me];(ke=this.emitter).emit.apply(ke,[T.default.events.EDITOR_CHANGE].concat(De)),Me!==T.default.sources.SILENT&&($e=this.emitter).emit.apply($e,De)}return Ie}function Be(Ne,Me,me,ye,Te){var Ve={};return"number"==typeof Ne.index&&"number"==typeof Ne.length?"number"!=typeof Me?(Te=ye,ye=me,me=Me,Me=Ne.length,Ne=Ne.index):(Me=Ne.length,Ne=Ne.index):"number"!=typeof Me&&(Te=ye,ye=me,me=Me,Me=0),"object"===(typeof me>"u"?"undefined":A(me))?(Ve=me,Te=ye):"string"==typeof me&&(null!=ye?Ve[me]=ye:Te=me),[Ne,Me,Ve,Te=Te||T.default.sources.API]}function rt(Ne,Me,me,ye){if(null==Ne)return null;var Te=void 0,Ve=void 0;if(Me instanceof I.default){var Ie=[Ne.index,Ne.index+Ne.length].map(function(Ue){return Me.transformPosition(Ue,ye!==T.default.sources.USER)}),ke=L(Ie,2);Te=ke[0],Ve=ke[1]}else{var De=[Ne.index,Ne.index+Ne.length].map(function(Ue){return Ue<Me||Ue===Me&&ye===T.default.sources.USER?Ue:me>=0?Ue+me:Math.max(Me,Ue+me)}),$e=L(De,2);Te=$e[0],Ve=$e[1]}return new F.Range(Te,Ve-Te)}be.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},be.events=T.default.events,be.sources=T.default.sources,be.version="1.3.7",be.imports={delta:I.default,parchment:z.default,"core/module":O.default,"core/theme":he.default},W.expandConfig=Ae,W.overload=Be,W.default=be},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function j(z,F){for(var q=0;q<F.length;q++){var V=F[q];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(z,V.key,V)}}return function(z,F,q){return F&&j(z.prototype,F),q&&j(z,q),z}}(),L=function j(z,F,q){null===z&&(z=Function.prototype);var V=Object.getOwnPropertyDescriptor(z,F);if(void 0===V){var Q=Object.getPrototypeOf(z);return null===Q?void 0:j(Q,F,q)}if("value"in V)return V.value;var ce=V.get;return void 0===ce?void 0:ce.call(q)},C=D(R(7)),v=D(R(0));function D(j){return j&&j.__esModule?j:{default:j}}var O=function(j){function z(){return function E(j,z){if(!(j instanceof z))throw new TypeError("Cannot call a class as a function")}(this,z),function T(j,z){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!z||"object"!=typeof z&&"function"!=typeof z?j:z}(this,(z.__proto__||Object.getPrototypeOf(z)).apply(this,arguments))}return function M(j,z){if("function"!=typeof z&&null!==z)throw new TypeError("Super expression must either be null or a function, not "+typeof z);j.prototype=Object.create(z&&z.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(j,z):j.__proto__=z)}(z,j),A(z,[{key:"formatAt",value:function(q,V,Q,ce){if(z.compare(this.statics.blotName,Q)<0&&v.default.query(Q,v.default.Scope.BLOT)){var ae=this.isolate(q,V);ce&&ae.wrap(Q,ce)}else L(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"formatAt",this).call(this,q,V,Q,ce)}},{key:"optimize",value:function(q){if(L(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"optimize",this).call(this,q),this.parent instanceof z&&z.compare(this.statics.blotName,this.parent.statics.blotName)>0){var V=this.parent.isolate(this.offset(),this.length());this.moveChildren(V),V.wrap(this)}}}],[{key:"compare",value:function(q,V){var Q=z.order.indexOf(q),ce=z.order.indexOf(V);return Q>=0||ce>=0?Q-ce:q===V?0:q<V?-1:1}}]),z}(v.default.Inline);O.allowedChildren=[O,v.default.Embed,C.default],O.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],W.default=O},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var D=function(E){function T(){return function C(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")}(this,T),function I(E,T){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!T||"object"!=typeof T&&"function"!=typeof T?E:T}(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return function v(E,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function, not "+typeof T);E.prototype=Object.create(T&&T.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(E,T):E.__proto__=T)}(T,E),T}(function x(E){return E&&E.__esModule?E:{default:E}}(R(0)).default.Text);W.default=D},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function F(q,V){for(var Q=0;Q<V.length;Q++){var ce=V[Q];ce.enumerable=ce.enumerable||!1,ce.configurable=!0,"value"in ce&&(ce.writable=!0),Object.defineProperty(q,ce.key,ce)}}return function(q,V,Q){return V&&F(q.prototype,V),Q&&F(q,Q),q}}(),L=function F(q,V,Q){null===q&&(q=Function.prototype);var ce=Object.getOwnPropertyDescriptor(q,V);if(void 0===ce){var ae=Object.getPrototypeOf(q);return null===ae?void 0:F(ae,V,Q)}if("value"in ce)return ce.value;var de=ce.get;return void 0===de?void 0:de.call(Q)},C=D(R(54));function D(F){return F&&F.__esModule?F:{default:F}}var O=(0,D(R(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(F){document.addEventListener(F,function(){for(var q=arguments.length,V=Array(q),Q=0;Q<q;Q++)V[Q]=arguments[Q];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(ce){var ae;ce.__quill&&ce.__quill.emitter&&(ae=ce.__quill.emitter).handleDOM.apply(ae,V)})})});var z=function(F){function q(){!function E(F,q){if(!(F instanceof q))throw new TypeError("Cannot call a class as a function")}(this,q);var V=function T(F,q){if(!F)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!q||"object"!=typeof q&&"function"!=typeof q?F:q}(this,(q.__proto__||Object.getPrototypeOf(q)).call(this));return V.listeners={},V.on("error",O.error),V}return function M(F,q){if("function"!=typeof q&&null!==q)throw new TypeError("Super expression must either be null or a function, not "+typeof q);F.prototype=Object.create(q&&q.prototype,{constructor:{value:F,enumerable:!1,writable:!0,configurable:!0}}),q&&(Object.setPrototypeOf?Object.setPrototypeOf(F,q):F.__proto__=q)}(q,F),A(q,[{key:"emit",value:function(){O.log.apply(O,arguments),L(q.prototype.__proto__||Object.getPrototypeOf(q.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(Q){for(var ce=arguments.length,ae=Array(ce>1?ce-1:0),de=1;de<ce;de++)ae[de-1]=arguments[de];(this.listeners[Q.type]||[]).forEach(function(he){var se=he.node,Y=he.handler;(Q.target===se||se.contains(Q.target))&&Y.apply(void 0,[Q].concat(ae))})}},{key:"listenDOM",value:function(Q,ce,ae){this.listeners[Q]||(this.listeners[Q]=[]),this.listeners[Q].push({node:ce,handler:ae})}}]),q}(C.default);z.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},z.sources={API:"api",SILENT:"silent",USER:"user"},W.default=z},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var L=function x(C){var I=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(function A(x,C){if(!(x instanceof C))throw new TypeError("Cannot call a class as a function")})(this,x),this.quill=C,this.options=I};L.DEFAULTS={},W.default=L},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=["error","warn","log","info"],L="warn";function x(I){if(A.indexOf(I)<=A.indexOf(L)){for(var v,D=arguments.length,E=Array(D>1?D-1:0),T=1;T<D;T++)E[T-1]=arguments[T];(v=console)[I].apply(v,E)}}function C(I){return A.reduce(function(v,D){return v[D]=x.bind(console,D,I),v},{})}x.level=C.level=function(I){L=I},W.default=C},function(_e,W,R){var A=Array.prototype.slice,L=R(52),x=R(53),C=_e.exports=function(E,T,M){return M||(M={}),E===T||(E instanceof Date&&T instanceof Date?E.getTime()===T.getTime():!E||!T||"object"!=typeof E&&"object"!=typeof T?M.strict?E===T:E==T:function D(E,T,M){var O,j;if(I(E)||I(T)||E.prototype!==T.prototype)return!1;if(x(E))return!!x(T)&&(E=A.call(E),T=A.call(T),C(E,T,M));if(v(E)){if(!v(T)||E.length!==T.length)return!1;for(O=0;O<E.length;O++)if(E[O]!==T[O])return!1;return!0}try{var z=L(E),F=L(T)}catch{return!1}if(z.length!=F.length)return!1;for(z.sort(),F.sort(),O=z.length-1;O>=0;O--)if(z[O]!=F[O])return!1;for(O=z.length-1;O>=0;O--)if(!C(E[j=z[O]],T[j],M))return!1;return typeof E==typeof T}(E,T,M))};function I(E){return null==E}function v(E){return!(!E||"object"!=typeof E||"number"!=typeof E.length||"function"!=typeof E.copy||"function"!=typeof E.slice||E.length>0&&"number"!=typeof E[0])}},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=R(1),L=function(){function x(C,I,v){void 0===v&&(v={}),this.attrName=C,this.keyName=I,this.scope=null!=v.scope?v.scope&A.Scope.LEVEL|A.Scope.TYPE&A.Scope.ATTRIBUTE:A.Scope.ATTRIBUTE,null!=v.whitelist&&(this.whitelist=v.whitelist)}return x.keys=function(C){return[].map.call(C.attributes,function(I){return I.name})},x.prototype.add=function(C,I){return!!this.canAdd(C,I)&&(C.setAttribute(this.keyName,I),!0)},x.prototype.canAdd=function(C,I){return null!=A.query(C,A.Scope.BLOT&(this.scope|A.Scope.TYPE))&&(null==this.whitelist||("string"==typeof I?this.whitelist.indexOf(I.replace(/["']/g,""))>-1:this.whitelist.indexOf(I)>-1))},x.prototype.remove=function(C){C.removeAttribute(this.keyName)},x.prototype.value=function(C){var I=C.getAttribute(this.keyName);return this.canAdd(C,I)&&I?I:""},x}();W.default=L},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.default=W.Code=void 0;var A=function(he,se){if(Array.isArray(he))return he;if(Symbol.iterator in Object(he))return function de(he,se){var Y=[],ie=!0,pe=!1,be=void 0;try{for(var je,Ae=he[Symbol.iterator]();!(ie=(je=Ae.next()).done)&&(Y.push(je.value),!se||Y.length!==se);ie=!0);}catch(Be){pe=!0,be=Be}finally{try{!ie&&Ae.return&&Ae.return()}finally{if(pe)throw be}}return Y}(he,se);throw new TypeError("Invalid attempt to destructure non-iterable instance")},L=function(){function de(he,se){for(var Y=0;Y<se.length;Y++){var ie=se[Y];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty(he,ie.key,ie)}}return function(he,se,Y){return se&&de(he.prototype,se),Y&&de(he,Y),he}}(),x=function de(he,se,Y){null===he&&(he=Function.prototype);var ie=Object.getOwnPropertyDescriptor(he,se);if(void 0===ie){var pe=Object.getPrototypeOf(he);return null===pe?void 0:de(pe,se,Y)}if("value"in ie)return ie.value;var be=ie.get;return void 0===be?void 0:be.call(Y)},I=F(R(2)),D=F(R(0)),T=F(R(4)),O=F(R(6)),z=F(R(7));function F(de){return de&&de.__esModule?de:{default:de}}function q(de,he){if(!(de instanceof he))throw new TypeError("Cannot call a class as a function")}function V(de,he){if(!de)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!he||"object"!=typeof he&&"function"!=typeof he?de:he}function Q(de,he){if("function"!=typeof he&&null!==he)throw new TypeError("Super expression must either be null or a function, not "+typeof he);de.prototype=Object.create(he&&he.prototype,{constructor:{value:de,enumerable:!1,writable:!0,configurable:!0}}),he&&(Object.setPrototypeOf?Object.setPrototypeOf(de,he):de.__proto__=he)}var ce=function(de){function he(){return q(this,he),V(this,(he.__proto__||Object.getPrototypeOf(he)).apply(this,arguments))}return Q(he,de),he}(O.default);ce.blotName="code",ce.tagName="CODE";var ae=function(de){function he(){return q(this,he),V(this,(he.__proto__||Object.getPrototypeOf(he)).apply(this,arguments))}return Q(he,de),L(he,[{key:"delta",value:function(){var Y=this,ie=this.domNode.textContent;return ie.endsWith("\n")&&(ie=ie.slice(0,-1)),ie.split("\n").reduce(function(pe,be){return pe.insert(be).insert("\n",Y.formats())},new I.default)}},{key:"format",value:function(Y,ie){if(Y!==this.statics.blotName||!ie){var pe=this.descendant(z.default,this.length()-1),Ae=A(pe,1)[0];Ae?.deleteAt(Ae.length()-1,1),x(he.prototype.__proto__||Object.getPrototypeOf(he.prototype),"format",this).call(this,Y,ie)}}},{key:"formatAt",value:function(Y,ie,pe,be){if(0!==ie&&null!=D.default.query(pe,D.default.Scope.BLOCK)&&(pe!==this.statics.blotName||be!==this.statics.formats(this.domNode))){var Ae=this.newlineIndex(Y);if(!(Ae<0||Ae>=Y+ie)){var je=this.newlineIndex(Y,!0)+1,Be=Ae-je+1,rt=this.isolate(je,Be),Ne=rt.next;rt.format(pe,be),Ne instanceof he&&Ne.formatAt(0,Y-je+ie-Be,pe,be)}}}},{key:"insertAt",value:function(Y,ie,pe){if(null==pe){var be=this.descendant(z.default,Y),Ae=A(be,2);Ae[0].insertAt(Ae[1],ie)}}},{key:"length",value:function(){var Y=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?Y:Y+1}},{key:"newlineIndex",value:function(Y){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,Y).lastIndexOf("\n");var pe=this.domNode.textContent.slice(Y).indexOf("\n");return pe>-1?Y+pe:-1}},{key:"optimize",value:function(Y){this.domNode.textContent.endsWith("\n")||this.appendChild(D.default.create("text","\n")),x(he.prototype.__proto__||Object.getPrototypeOf(he.prototype),"optimize",this).call(this,Y);var ie=this.next;null!=ie&&ie.prev===this&&ie.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===ie.statics.formats(ie.domNode)&&(ie.optimize(Y),ie.moveChildren(this),ie.remove())}},{key:"replace",value:function(Y){x(he.prototype.__proto__||Object.getPrototypeOf(he.prototype),"replace",this).call(this,Y),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(ie){var pe=D.default.find(ie);null==pe?ie.parentNode.removeChild(ie):pe instanceof D.default.Embed?pe.remove():pe.unwrap()})}}],[{key:"create",value:function(Y){var ie=x(he.__proto__||Object.getPrototypeOf(he),"create",this).call(this,Y);return ie.setAttribute("spellcheck",!1),ie}},{key:"formats",value:function(){return!0}}]),he}(T.default);ae.blotName="code-block",ae.tagName="PRE",ae.TAB="  ",W.Code=ce,W.default=ae},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Ne){return typeof Ne}:function(Ne){return Ne&&"function"==typeof Symbol&&Ne.constructor===Symbol&&Ne!==Symbol.prototype?"symbol":typeof Ne},L=function(Me,me){if(Array.isArray(Me))return Me;if(Symbol.iterator in Object(Me))return function Ne(Me,me){var ye=[],Te=!0,Ve=!1,Ie=void 0;try{for(var De,ke=Me[Symbol.iterator]();!(Te=(De=ke.next()).done)&&(ye.push(De.value),!me||ye.length!==me);Te=!0);}catch($e){Ve=!0,Ie=$e}finally{try{!Te&&ke.return&&ke.return()}finally{if(Ve)throw Ie}}return ye}(Me,me);throw new TypeError("Invalid attempt to destructure non-iterable instance")},x=function(){function Ne(Me,me){for(var ye=0;ye<me.length;ye++){var Te=me[ye];Te.enumerable=Te.enumerable||!1,Te.configurable=!0,"value"in Te&&(Te.writable=!0),Object.defineProperty(Me,Te.key,Te)}}return function(Me,me,ye){return me&&Ne(Me.prototype,me),ye&&Ne(Me,ye),Me}}(),I=ie(R(2)),D=ie(R(20)),T=ie(R(0)),O=ie(R(13)),z=ie(R(24)),F=R(4),q=ie(F),Q=ie(R(16)),ae=ie(R(21)),he=ie(R(11)),Y=ie(R(3));function ie(Ne){return Ne&&Ne.__esModule?Ne:{default:Ne}}var Ae=/^[ -~]*$/,je=function(){function Ne(Me){(function be(Ne,Me){if(!(Ne instanceof Me))throw new TypeError("Cannot call a class as a function")})(this,Ne),this.scroll=Me,this.delta=this.getDelta()}return x(Ne,[{key:"applyDelta",value:function(me){var ye=this,Te=!1;this.scroll.update();var Ve=this.scroll.length();return this.scroll.batchStart(),(me=function rt(Ne){return Ne.reduce(function(Me,me){if(1===me.insert){var ye=(0,ae.default)(me.attributes);return delete ye.image,Me.insert({image:me.attributes.image},ye)}if(null!=me.attributes&&(!0===me.attributes.list||!0===me.attributes.bullet)&&((me=(0,ae.default)(me)).attributes.list?me.attributes.list="ordered":(me.attributes.list="bullet",delete me.attributes.bullet)),"string"==typeof me.insert){var Te=me.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return Me.insert(Te,me.attributes)}return Me.push(me)},new I.default)}(me)).reduce(function(Ie,ke){var De=ke.retain||ke.delete||ke.insert.length||1,$e=ke.attributes||{};if(null!=ke.insert){if("string"==typeof ke.insert){var Ue=ke.insert;Ue.endsWith("\n")&&Te&&(Te=!1,Ue=Ue.slice(0,-1)),Ie>=Ve&&!Ue.endsWith("\n")&&(Te=!0),ye.scroll.insertAt(Ie,Ue);var Je=ye.scroll.line(Ie),ot=L(Je,2),Jt=ot[0],an=ot[1],pn=(0,Y.default)({},(0,F.bubbleFormats)(Jt));if(Jt instanceof q.default){var qn=Jt.descendant(T.default.Leaf,an),uo=L(qn,1);pn=(0,Y.default)(pn,(0,F.bubbleFormats)(uo[0]))}$e=D.default.attributes.diff(pn,$e)||{}}else if("object"===A(ke.insert)){var et=Object.keys(ke.insert)[0];if(null==et)return Ie;ye.scroll.insertAt(Ie,et,ke.insert[et])}Ve+=De}return Object.keys($e).forEach(function(nt){ye.scroll.formatAt(Ie,De,nt,$e[nt])}),Ie+De},0),me.reduce(function(Ie,ke){return"number"==typeof ke.delete?(ye.scroll.deleteAt(Ie,ke.delete),Ie):Ie+(ke.retain||ke.insert.length||1)},0),this.scroll.batchEnd(),this.update(me)}},{key:"deleteText",value:function(me,ye){return this.scroll.deleteAt(me,ye),this.update((new I.default).retain(me).delete(ye))}},{key:"formatLine",value:function(me,ye){var Te=this,Ve=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(Ve).forEach(function(Ie){if(null==Te.scroll.whitelist||Te.scroll.whitelist[Ie]){var ke=Te.scroll.lines(me,Math.max(ye,1)),De=ye;ke.forEach(function($e){var Ue=$e.length();if($e instanceof O.default){var Je=me-$e.offset(Te.scroll),ot=$e.newlineIndex(Je+De)-Je+1;$e.formatAt(Je,ot,Ie,Ve[Ie])}else $e.format(Ie,Ve[Ie]);De-=Ue})}}),this.scroll.optimize(),this.update((new I.default).retain(me).retain(ye,(0,ae.default)(Ve)))}},{key:"formatText",value:function(me,ye){var Te=this,Ve=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(Ve).forEach(function(Ie){Te.scroll.formatAt(me,ye,Ie,Ve[Ie])}),this.update((new I.default).retain(me).retain(ye,(0,ae.default)(Ve)))}},{key:"getContents",value:function(me,ye){return this.delta.slice(me,me+ye)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(me,ye){return me.concat(ye.delta())},new I.default)}},{key:"getFormat",value:function(me){var ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,Te=[],Ve=[];0===ye?this.scroll.path(me).forEach(function(ke){var $e=L(ke,1)[0];$e instanceof q.default?Te.push($e):$e instanceof T.default.Leaf&&Ve.push($e)}):(Te=this.scroll.lines(me,ye),Ve=this.scroll.descendants(T.default.Leaf,me,ye));var Ie=[Te,Ve].map(function(ke){if(0===ke.length)return{};for(var De=(0,F.bubbleFormats)(ke.shift());Object.keys(De).length>0;){var $e=ke.shift();if(null==$e)return De;De=Be((0,F.bubbleFormats)($e),De)}return De});return Y.default.apply(Y.default,Ie)}},{key:"getText",value:function(me,ye){return this.getContents(me,ye).filter(function(Te){return"string"==typeof Te.insert}).map(function(Te){return Te.insert}).join("")}},{key:"insertEmbed",value:function(me,ye,Te){return this.scroll.insertAt(me,ye,Te),this.update((new I.default).retain(me).insert(function pe(Ne,Me,me){return Me in Ne?Object.defineProperty(Ne,Me,{value:me,enumerable:!0,configurable:!0,writable:!0}):Ne[Me]=me,Ne}({},ye,Te)))}},{key:"insertText",value:function(me,ye){var Te=this,Ve=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return ye=ye.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(me,ye),Object.keys(Ve).forEach(function(Ie){Te.scroll.formatAt(me,ye.length,Ie,Ve[Ie])}),this.update((new I.default).retain(me).insert(ye,(0,ae.default)(Ve)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var me=this.scroll.children.head;return!(me.statics.blotName!==q.default.blotName||me.children.length>1)&&me.children.head instanceof Q.default}},{key:"removeFormat",value:function(me,ye){var Te=this.getText(me,ye),Ve=this.scroll.line(me+ye),Ie=L(Ve,2),ke=Ie[0],De=Ie[1],$e=0,Ue=new I.default;null!=ke&&($e=ke instanceof O.default?ke.newlineIndex(De)-De+1:ke.length()-De,Ue=ke.delta().slice(De,De+$e-1).insert("\n"));var ot=this.getContents(me,ye+$e).diff((new I.default).insert(Te).concat(Ue)),Jt=(new I.default).retain(me).concat(ot);return this.applyDelta(Jt)}},{key:"update",value:function(me){var ye=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],Te=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,Ve=this.delta;if(1===ye.length&&"characterData"===ye[0].type&&ye[0].target.data.match(Ae)&&T.default.find(ye[0].target)){var Ie=T.default.find(ye[0].target),ke=(0,F.bubbleFormats)(Ie),De=Ie.offset(this.scroll),$e=ye[0].oldValue.replace(z.default.CONTENTS,""),Ue=(new I.default).insert($e),Je=(new I.default).insert(Ie.value());me=(new I.default).retain(De).concat(Ue.diff(Je,Te)).reduce(function(Jt,an){return an.insert?Jt.insert(an.insert,ke):Jt.push(an)},new I.default),this.delta=Ve.compose(me)}else this.delta=this.getDelta(),(!me||!(0,he.default)(Ve.compose(me),this.delta))&&(me=Ve.diff(this.delta,Te));return me}}]),Ne}();function Be(Ne,Me){return Object.keys(Me).reduce(function(me,ye){return null==Ne[ye]||(Me[ye]===Ne[ye]?me[ye]=Me[ye]:Array.isArray(Me[ye])?Me[ye].indexOf(Ne[ye])<0&&(me[ye]=Me[ye].concat([Ne[ye]])):me[ye]=[Me[ye],Ne[ye]]),me},{})}W.default=je},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.default=W.Range=void 0;var A=function(he,se){if(Array.isArray(he))return he;if(Symbol.iterator in Object(he))return function de(he,se){var Y=[],ie=!0,pe=!1,be=void 0;try{for(var je,Ae=he[Symbol.iterator]();!(ie=(je=Ae.next()).done)&&(Y.push(je.value),!se||Y.length!==se);ie=!0);}catch(Be){pe=!0,be=Be}finally{try{!ie&&Ae.return&&Ae.return()}finally{if(pe)throw be}}return Y}(he,se);throw new TypeError("Invalid attempt to destructure non-iterable instance")},L=function(){function de(he,se){for(var Y=0;Y<se.length;Y++){var ie=se[Y];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty(he,ie.key,ie)}}return function(he,se,Y){return se&&de(he.prototype,se),Y&&de(he,Y),he}}(),C=z(R(0)),v=z(R(21)),E=z(R(11)),M=z(R(8));function z(de){return de&&de.__esModule?de:{default:de}}function F(de){if(Array.isArray(de)){for(var he=0,se=Array(de.length);he<de.length;he++)se[he]=de[he];return se}return Array.from(de)}function q(de,he){if(!(de instanceof he))throw new TypeError("Cannot call a class as a function")}var V=(0,z(R(10)).default)("quill:selection"),Q=function de(he){var se=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;q(this,de),this.index=he,this.length=se},ce=function(){function de(he,se){var Y=this;q(this,de),this.emitter=se,this.scroll=he,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=C.default.create("cursor",this),this.lastRange=this.savedRange=new Q(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){Y.mouseDown||setTimeout(Y.update.bind(Y,M.default.sources.USER),1)}),this.emitter.on(M.default.events.EDITOR_CHANGE,function(ie,pe){ie===M.default.events.TEXT_CHANGE&&pe.length()>0&&Y.update(M.default.sources.SILENT)}),this.emitter.on(M.default.events.SCROLL_BEFORE_UPDATE,function(){if(Y.hasFocus()){var ie=Y.getNativeRange();null!=ie&&ie.start.node!==Y.cursor.textNode&&Y.emitter.once(M.default.events.SCROLL_UPDATE,function(){try{Y.setNativeRange(ie.start.node,ie.start.offset,ie.end.node,ie.end.offset)}catch{}})}}),this.emitter.on(M.default.events.SCROLL_OPTIMIZE,function(ie,pe){if(pe.range){var be=pe.range;Y.setNativeRange(be.startNode,be.startOffset,be.endNode,be.endOffset)}}),this.update(M.default.sources.SILENT)}return L(de,[{key:"handleComposition",value:function(){var se=this;this.root.addEventListener("compositionstart",function(){se.composing=!0}),this.root.addEventListener("compositionend",function(){if(se.composing=!1,se.cursor.parent){var Y=se.cursor.restore();if(!Y)return;setTimeout(function(){se.setNativeRange(Y.startNode,Y.startOffset,Y.endNode,Y.endOffset)},1)}})}},{key:"handleDragging",value:function(){var se=this;this.emitter.listenDOM("mousedown",document.body,function(){se.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){se.mouseDown=!1,se.update(M.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(se,Y){if(null==this.scroll.whitelist||this.scroll.whitelist[se]){this.scroll.update();var ie=this.getNativeRange();if(null!=ie&&ie.native.collapsed&&!C.default.query(se,C.default.Scope.BLOCK)){if(ie.start.node!==this.cursor.textNode){var pe=C.default.find(ie.start.node,!1);if(null==pe)return;if(pe instanceof C.default.Leaf){var be=pe.split(ie.start.offset);pe.parent.insertBefore(this.cursor,be)}else pe.insertBefore(this.cursor,ie.start.node);this.cursor.attach()}this.cursor.format(se,Y),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(se){var Y=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,ie=this.scroll.length();se=Math.min(se,ie-1),Y=Math.min(se+Y,ie-1)-se;var pe=void 0,be=this.scroll.leaf(se),Ae=A(be,2),je=Ae[0],Be=Ae[1];if(null==je)return null;var rt=je.position(Be,!0),Ne=A(rt,2);pe=Ne[0],Be=Ne[1];var Me=document.createRange();if(Y>0){Me.setStart(pe,Be);var me=this.scroll.leaf(se+Y),ye=A(me,2);if(null==(je=ye[0]))return null;var Te=je.position(Be=ye[1],!0),Ve=A(Te,2);return Me.setEnd(pe=Ve[0],Be=Ve[1]),Me.getBoundingClientRect()}var Ie="left",ke=void 0;return pe instanceof Text?(Be<pe.data.length?(Me.setStart(pe,Be),Me.setEnd(pe,Be+1)):(Me.setStart(pe,Be-1),Me.setEnd(pe,Be),Ie="right"),ke=Me.getBoundingClientRect()):(ke=je.domNode.getBoundingClientRect(),Be>0&&(Ie="right")),{bottom:ke.top+ke.height,height:ke.height,left:ke[Ie],right:ke[Ie],top:ke.top,width:0}}},{key:"getNativeRange",value:function(){var se=document.getSelection();if(null==se||se.rangeCount<=0)return null;var Y=se.getRangeAt(0);if(null==Y)return null;var ie=this.normalizeNative(Y);return V.info("getNativeRange",ie),ie}},{key:"getRange",value:function(){var se=this.getNativeRange();return null==se?[null,null]:[this.normalizedToRange(se),se]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(se){var Y=this,ie=[[se.start.node,se.start.offset]];se.native.collapsed||ie.push([se.end.node,se.end.offset]);var pe=ie.map(function(je){var Be=A(je,2),rt=Be[0],Ne=Be[1],Me=C.default.find(rt,!0),me=Me.offset(Y.scroll);return 0===Ne?me:Me instanceof C.default.Container?me+Me.length():me+Me.index(rt,Ne)}),be=Math.min(Math.max.apply(Math,F(pe)),this.scroll.length()-1),Ae=Math.min.apply(Math,[be].concat(F(pe)));return new Q(Ae,be-Ae)}},{key:"normalizeNative",value:function(se){if(!ae(this.root,se.startContainer)||!se.collapsed&&!ae(this.root,se.endContainer))return null;var Y={start:{node:se.startContainer,offset:se.startOffset},end:{node:se.endContainer,offset:se.endOffset},native:se};return[Y.start,Y.end].forEach(function(ie){for(var pe=ie.node,be=ie.offset;!(pe instanceof Text)&&pe.childNodes.length>0;)if(pe.childNodes.length>be)pe=pe.childNodes[be],be=0;else{if(pe.childNodes.length!==be)break;be=(pe=pe.lastChild)instanceof Text?pe.data.length:pe.childNodes.length+1}ie.node=pe,ie.offset=be}),Y}},{key:"rangeToNative",value:function(se){var Y=this,ie=se.collapsed?[se.index]:[se.index,se.index+se.length],pe=[],be=this.scroll.length();return ie.forEach(function(Ae,je){Ae=Math.min(be-1,Ae);var rt=Y.scroll.leaf(Ae),Ne=A(rt,2),me=Ne[1],ye=Ne[0].position(me,0!==je),Te=A(ye,2);pe.push(Te[0],me=Te[1])}),pe.length<2&&(pe=pe.concat(pe)),pe}},{key:"scrollIntoView",value:function(se){var Y=this.lastRange;if(null!=Y){var ie=this.getBounds(Y.index,Y.length);if(null!=ie){var pe=this.scroll.length()-1,be=this.scroll.line(Math.min(Y.index,pe)),je=A(be,1)[0],Be=je;if(Y.length>0){var rt=this.scroll.line(Math.min(Y.index+Y.length,pe));Be=A(rt,1)[0]}if(null!=je&&null!=Be){var Me=se.getBoundingClientRect();ie.top<Me.top?se.scrollTop-=Me.top-ie.top:ie.bottom>Me.bottom&&(se.scrollTop+=ie.bottom-Me.bottom)}}}}},{key:"setNativeRange",value:function(se,Y){var ie=arguments.length>2&&void 0!==arguments[2]?arguments[2]:se,pe=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Y,be=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(V.info("setNativeRange",se,Y,ie,pe),null==se||null!=this.root.parentNode&&null!=se.parentNode&&null!=ie.parentNode){var Ae=document.getSelection();if(null!=Ae)if(null!=se){this.hasFocus()||this.root.focus();var je=(this.getNativeRange()||{}).native;if(null==je||be||se!==je.startContainer||Y!==je.startOffset||ie!==je.endContainer||pe!==je.endOffset){"BR"==se.tagName&&(Y=[].indexOf.call(se.parentNode.childNodes,se),se=se.parentNode),"BR"==ie.tagName&&(pe=[].indexOf.call(ie.parentNode.childNodes,ie),ie=ie.parentNode);var Be=document.createRange();Be.setStart(se,Y),Be.setEnd(ie,pe),Ae.removeAllRanges(),Ae.addRange(Be)}}else Ae.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(se){var Y=arguments.length>1&&void 0!==arguments[1]&&arguments[1],ie=arguments.length>2&&void 0!==arguments[2]?arguments[2]:M.default.sources.API;if("string"==typeof Y&&(ie=Y,Y=!1),V.info("setRange",se),null!=se){var pe=this.rangeToNative(se);this.setNativeRange.apply(this,F(pe).concat([Y]))}else this.setNativeRange(null);this.update(ie)}},{key:"update",value:function(){var se=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M.default.sources.USER,Y=this.lastRange,ie=this.getRange(),pe=A(ie,2),Ae=pe[1];if(this.lastRange=pe[0],null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,E.default)(Y,this.lastRange)){var je;!this.composing&&null!=Ae&&Ae.native.collapsed&&Ae.start.node!==this.cursor.textNode&&this.cursor.restore();var rt,Be=[M.default.events.SELECTION_CHANGE,(0,v.default)(this.lastRange),(0,v.default)(Y),se];(je=this.emitter).emit.apply(je,[M.default.events.EDITOR_CHANGE].concat(Be)),se!==M.default.sources.SILENT&&(rt=this.emitter).emit.apply(rt,Be)}}}]),de}();function ae(de,he){return he instanceof Text&&(he=he.parentNode),de.contains(he)}W.Range=Q,W.default=ce},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function M(O,j){for(var z=0;z<j.length;z++){var F=j[z];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(O,F.key,F)}}return function(O,j,z){return j&&M(O.prototype,j),z&&M(O,z),O}}(),L=function M(O,j,z){null===O&&(O=Function.prototype);var F=Object.getOwnPropertyDescriptor(O,j);if(void 0===F){var q=Object.getPrototypeOf(O);return null===q?void 0:M(q,j,z)}if("value"in F)return F.value;var V=F.get;return void 0===V?void 0:V.call(z)};var T=function(M){function O(){return function v(M,O){if(!(M instanceof O))throw new TypeError("Cannot call a class as a function")}(this,O),function D(M,O){if(!M)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!O||"object"!=typeof O&&"function"!=typeof O?M:O}(this,(O.__proto__||Object.getPrototypeOf(O)).apply(this,arguments))}return function E(M,O){if("function"!=typeof O&&null!==O)throw new TypeError("Super expression must either be null or a function, not "+typeof O);M.prototype=Object.create(O&&O.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(M,O):M.__proto__=O)}(O,M),A(O,[{key:"insertInto",value:function(z,F){0===z.children.length?L(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"insertInto",this).call(this,z,F):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),O}(function I(M){return M&&M.__esModule?M:{default:M}}(R(0)).default.Embed);T.blotName="break",T.tagName="BR",W.default=T},function(_e,W,R){"use strict";var D,A=this&&this.__extends||(D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,T){E.__proto__=T}||function(E,T){for(var M in T)T.hasOwnProperty(M)&&(E[M]=T[M])},function(E,T){function M(){this.constructor=E}D(E,T),E.prototype=null===T?Object.create(T):(M.prototype=T.prototype,new M)});Object.defineProperty(W,"__esModule",{value:!0});var L=R(44),x=R(30),C=R(1),I=function(D){function E(T){var M=D.call(this,T)||this;return M.build(),M}return A(E,D),E.prototype.appendChild=function(T){this.insertBefore(T)},E.prototype.attach=function(){D.prototype.attach.call(this),this.children.forEach(function(T){T.attach()})},E.prototype.build=function(){var T=this;this.children=new L.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(M){try{var O=v(M);T.insertBefore(O,T.children.head||void 0)}catch(j){if(j instanceof C.ParchmentError)return;throw j}})},E.prototype.deleteAt=function(T,M){if(0===T&&M===this.length())return this.remove();this.children.forEachAt(T,M,function(O,j,z){O.deleteAt(j,z)})},E.prototype.descendant=function(T,M){var O=this.children.find(M),j=O[0],z=O[1];return null==T.blotName&&T(j)||null!=T.blotName&&j instanceof T?[j,z]:j instanceof E?j.descendant(T,z):[null,-1]},E.prototype.descendants=function(T,M,O){void 0===M&&(M=0),void 0===O&&(O=Number.MAX_VALUE);var j=[],z=O;return this.children.forEachAt(M,O,function(F,q,V){(null==T.blotName&&T(F)||null!=T.blotName&&F instanceof T)&&j.push(F),F instanceof E&&(j=j.concat(F.descendants(T,q,z))),z-=V}),j},E.prototype.detach=function(){this.children.forEach(function(T){T.detach()}),D.prototype.detach.call(this)},E.prototype.formatAt=function(T,M,O,j){this.children.forEachAt(T,M,function(z,F,q){z.formatAt(F,q,O,j)})},E.prototype.insertAt=function(T,M,O){var j=this.children.find(T),z=j[0];if(z)z.insertAt(j[1],M,O);else{var q=null==O?C.create("text",M):C.create(M,O);this.appendChild(q)}},E.prototype.insertBefore=function(T,M){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(O){return T instanceof O}))throw new C.ParchmentError("Cannot insert "+T.statics.blotName+" into "+this.statics.blotName);T.insertInto(this,M)},E.prototype.length=function(){return this.children.reduce(function(T,M){return T+M.length()},0)},E.prototype.moveChildren=function(T,M){this.children.forEach(function(O){T.insertBefore(O,M)})},E.prototype.optimize=function(T){if(D.prototype.optimize.call(this,T),0===this.children.length)if(null!=this.statics.defaultChild){var M=C.create(this.statics.defaultChild);this.appendChild(M),M.optimize(T)}else this.remove()},E.prototype.path=function(T,M){void 0===M&&(M=!1);var O=this.children.find(T,M),j=O[0],z=O[1],F=[[this,T]];return j instanceof E?F.concat(j.path(z,M)):(null!=j&&F.push([j,z]),F)},E.prototype.removeChild=function(T){this.children.remove(T)},E.prototype.replace=function(T){T instanceof E&&T.moveChildren(this),D.prototype.replace.call(this,T)},E.prototype.split=function(T,M){if(void 0===M&&(M=!1),!M){if(0===T)return this;if(T===this.length())return this.next}var O=this.clone();return this.parent.insertBefore(O,this.next),this.children.forEachAt(T,this.length(),function(j,z,F){j=j.split(z,M),O.appendChild(j)}),O},E.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},E.prototype.update=function(T,M){var O=this,j=[],z=[];T.forEach(function(F){F.target===O.domNode&&"childList"===F.type&&(j.push.apply(j,F.addedNodes),z.push.apply(z,F.removedNodes))}),z.forEach(function(F){if(!(null!=F.parentNode&&"IFRAME"!==F.tagName&&document.body.compareDocumentPosition(F)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var q=C.find(F);null!=q&&(null==q.domNode.parentNode||q.domNode.parentNode===O.domNode)&&q.detach()}}),j.filter(function(F){return F.parentNode==O.domNode}).sort(function(F,q){return F===q?0:F.compareDocumentPosition(q)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(F){var q=null;null!=F.nextSibling&&(q=C.find(F.nextSibling));var V=v(F);(V.next!=q||null==V.next)&&(null!=V.parent&&V.parent.removeChild(O),O.insertBefore(V,q||void 0))})},E}(x.default);function v(D){var E=C.find(D);if(null==E)try{E=C.create(D)}catch{E=C.create(C.Scope.INLINE),[].slice.call(D.childNodes).forEach(function(M){E.domNode.appendChild(M)}),D.parentNode&&D.parentNode.replaceChild(E.domNode,D),E.attach()}return E}W.default=I},function(_e,W,R){"use strict";var D,A=this&&this.__extends||(D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,T){E.__proto__=T}||function(E,T){for(var M in T)T.hasOwnProperty(M)&&(E[M]=T[M])},function(E,T){function M(){this.constructor=E}D(E,T),E.prototype=null===T?Object.create(T):(M.prototype=T.prototype,new M)});Object.defineProperty(W,"__esModule",{value:!0});var L=R(12),x=R(31),C=R(17),I=R(1),v=function(D){function E(T){var M=D.call(this,T)||this;return M.attributes=new x.default(M.domNode),M}return A(E,D),E.formats=function(T){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?T.tagName.toLowerCase():void 0)},E.prototype.format=function(T,M){var O=I.query(T);O instanceof L.default?this.attributes.attribute(O,M):M&&null!=O&&(T!==this.statics.blotName||this.formats()[T]!==M)&&this.replaceWith(T,M)},E.prototype.formats=function(){var T=this.attributes.values(),M=this.statics.formats(this.domNode);return null!=M&&(T[this.statics.blotName]=M),T},E.prototype.replaceWith=function(T,M){var O=D.prototype.replaceWith.call(this,T,M);return this.attributes.copy(O),O},E.prototype.update=function(T,M){var O=this;D.prototype.update.call(this,T,M),T.some(function(j){return j.target===O.domNode&&"attributes"===j.type})&&this.attributes.build()},E.prototype.wrap=function(T,M){var O=D.prototype.wrap.call(this,T,M);return O instanceof E&&O.statics.scope===this.statics.scope&&this.attributes.move(O),O},E}(C.default);W.default=v},function(_e,W,R){"use strict";var I,A=this&&this.__extends||(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,D){v.__proto__=D}||function(v,D){for(var E in D)D.hasOwnProperty(E)&&(v[E]=D[E])},function(v,D){function E(){this.constructor=v}I(v,D),v.prototype=null===D?Object.create(D):(E.prototype=D.prototype,new E)});Object.defineProperty(W,"__esModule",{value:!0});var L=R(30),x=R(1),C=function(I){function v(){return null!==I&&I.apply(this,arguments)||this}return A(v,I),v.value=function(D){return!0},v.prototype.index=function(D,E){return this.domNode===D||this.domNode.compareDocumentPosition(D)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(E,1):-1},v.prototype.position=function(D,E){var T=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return D>0&&(T+=1),[this.parent.domNode,T]},v.prototype.value=function(){var D;return(D={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,D},v.scope=x.Scope.INLINE_BLOT,v}(L.default);W.default=C},function(_e,W,R){var A=R(11),L=R(3),x={attributes:{compose:function(I,v,D){"object"!=typeof I&&(I={}),"object"!=typeof v&&(v={});var E=L(!0,{},v);for(var T in D||(E=Object.keys(E).reduce(function(M,O){return null!=E[O]&&(M[O]=E[O]),M},{})),I)void 0!==I[T]&&void 0===v[T]&&(E[T]=I[T]);return Object.keys(E).length>0?E:void 0},diff:function(I,v){"object"!=typeof I&&(I={}),"object"!=typeof v&&(v={});var D=Object.keys(I).concat(Object.keys(v)).reduce(function(E,T){return A(I[T],v[T])||(E[T]=void 0===v[T]?null:v[T]),E},{});return Object.keys(D).length>0?D:void 0},transform:function(I,v,D){if("object"!=typeof I)return v;if("object"==typeof v){if(!D)return v;var E=Object.keys(v).reduce(function(T,M){return void 0===I[M]&&(T[M]=v[M]),T},{});return Object.keys(E).length>0?E:void 0}}},iterator:function(I){return new C(I)},length:function(I){return"number"==typeof I.delete?I.delete:"number"==typeof I.retain?I.retain:"string"==typeof I.insert?I.insert.length:1}};function C(I){this.ops=I,this.index=0,this.offset=0}C.prototype.hasNext=function(){return this.peekLength()<1/0},C.prototype.next=function(I){I||(I=1/0);var v=this.ops[this.index];if(v){var D=this.offset,E=x.length(v);if(I>=E-D?(I=E-D,this.index+=1,this.offset=0):this.offset+=I,"number"==typeof v.delete)return{delete:I};var T={};return v.attributes&&(T.attributes=v.attributes),"number"==typeof v.retain?T.retain=I:T.insert="string"==typeof v.insert?v.insert.substr(D,I):v.insert,T}return{retain:1/0}},C.prototype.peek=function(){return this.ops[this.index]},C.prototype.peekLength=function(){return this.ops[this.index]?x.length(this.ops[this.index])-this.offset:1/0},C.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},C.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var I=this.offset,v=this.index,D=this.next(),E=this.ops.slice(this.index);return this.offset=I,this.index=v,[D].concat(E)}return[]},_e.exports=x},function(_e,W){var R=function(){"use strict";function A(O,j){return null!=j&&O instanceof j}var L,x,C;try{L=Map}catch{L=function(){}}try{x=Set}catch{x=function(){}}try{C=Promise}catch{C=function(){}}function I(O,j,z,F,q){"object"==typeof j&&(z=j.depth,F=j.prototype,q=j.includeNonEnumerable,j=j.circular);var V=[],Q=[],ce=typeof Buffer<"u";return typeof j>"u"&&(j=!0),typeof z>"u"&&(z=1/0),function ae(de,he){if(null===de)return null;if(0===he)return de;var se,Y;if("object"!=typeof de)return de;if(A(de,L))se=new L;else if(A(de,x))se=new x;else if(A(de,C))se=new C(function(Me,me){de.then(function(ye){Me(ae(ye,he-1))},function(ye){me(ae(ye,he-1))})});else if(I.__isArray(de))se=[];else if(I.__isRegExp(de))se=new RegExp(de.source,M(de)),de.lastIndex&&(se.lastIndex=de.lastIndex);else if(I.__isDate(de))se=new Date(de.getTime());else{if(ce&&Buffer.isBuffer(de))return se=Buffer.allocUnsafe?Buffer.allocUnsafe(de.length):new Buffer(de.length),de.copy(se),se;A(de,Error)?se=Object.create(de):typeof F>"u"?(Y=Object.getPrototypeOf(de),se=Object.create(Y)):(se=Object.create(F),Y=F)}if(j){var ie=V.indexOf(de);if(-1!=ie)return Q[ie];V.push(de),Q.push(se)}for(var pe in A(de,L)&&de.forEach(function(Me,me){var ye=ae(me,he-1),Te=ae(Me,he-1);se.set(ye,Te)}),A(de,x)&&de.forEach(function(Me){var me=ae(Me,he-1);se.add(me)}),de){var be;Y&&(be=Object.getOwnPropertyDescriptor(Y,pe)),(!be||null!=be.set)&&(se[pe]=ae(de[pe],he-1))}if(Object.getOwnPropertySymbols){var Ae=Object.getOwnPropertySymbols(de);for(pe=0;pe<Ae.length;pe++){var je=Ae[pe];(Be=Object.getOwnPropertyDescriptor(de,je))&&!Be.enumerable&&!q||(se[je]=ae(de[je],he-1),Be.enumerable||Object.defineProperty(se,je,{enumerable:!1}))}}if(q){var rt=Object.getOwnPropertyNames(de);for(pe=0;pe<rt.length;pe++){var Be,Ne=rt[pe];(Be=Object.getOwnPropertyDescriptor(de,Ne))&&Be.enumerable||(se[Ne]=ae(de[Ne],he-1),Object.defineProperty(se,Ne,{enumerable:!1}))}}return se}(O,z)}function v(O){return Object.prototype.toString.call(O)}function M(O){var j="";return O.global&&(j+="g"),O.ignoreCase&&(j+="i"),O.multiline&&(j+="m"),j}return I.clonePrototype=function(j){if(null===j)return null;var z=function(){};return z.prototype=j,new z},I.__objToStr=v,I.__isDate=function D(O){return"object"==typeof O&&"[object Date]"===v(O)},I.__isArray=function E(O){return"object"==typeof O&&"[object Array]"===v(O)},I.__isRegExp=function T(O){return"object"==typeof O&&"[object RegExp]"===v(O)},I.__getRegExpFlags=M,I}();"object"==typeof _e&&_e.exports&&(_e.exports=R)},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(Y,ie){if(Array.isArray(Y))return Y;if(Symbol.iterator in Object(Y))return function se(Y,ie){var pe=[],be=!0,Ae=!1,je=void 0;try{for(var rt,Be=Y[Symbol.iterator]();!(be=(rt=Be.next()).done)&&(pe.push(rt.value),!ie||pe.length!==ie);be=!0);}catch(Ne){Ae=!0,je=Ne}finally{try{!be&&Be.return&&Be.return()}finally{if(Ae)throw je}}return pe}(Y,ie);throw new TypeError("Invalid attempt to destructure non-iterable instance")},L=function(){function se(Y,ie){for(var pe=0;pe<ie.length;pe++){var be=ie[pe];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(Y,be.key,be)}}return function(Y,ie,pe){return ie&&se(Y.prototype,ie),pe&&se(Y,pe),Y}}(),x=function se(Y,ie,pe){null===Y&&(Y=Function.prototype);var be=Object.getOwnPropertyDescriptor(Y,ie);if(void 0===be){var Ae=Object.getPrototypeOf(Y);return null===Ae?void 0:se(Ae,ie,pe)}if("value"in be)return be.value;var je=be.get;return void 0===je?void 0:je.call(pe)},I=V(R(0)),D=V(R(8)),E=R(4),T=V(E),O=V(R(16)),z=V(R(13)),q=V(R(25));function V(se){return se&&se.__esModule?se:{default:se}}function de(se){return se instanceof T.default||se instanceof E.BlockEmbed}var he=function(se){function Y(ie,pe){!function Q(se,Y){if(!(se instanceof Y))throw new TypeError("Cannot call a class as a function")}(this,Y);var be=function ce(se,Y){if(!se)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Y||"object"!=typeof Y&&"function"!=typeof Y?se:Y}(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,ie));return be.emitter=pe.emitter,Array.isArray(pe.whitelist)&&(be.whitelist=pe.whitelist.reduce(function(Ae,je){return Ae[je]=!0,Ae},{})),be.domNode.addEventListener("DOMNodeInserted",function(){}),be.optimize(),be.enable(),be}return function ae(se,Y){if("function"!=typeof Y&&null!==Y)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);se.prototype=Object.create(Y&&Y.prototype,{constructor:{value:se,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(se,Y):se.__proto__=Y)}(Y,se),L(Y,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(pe,be){var Ae=this.line(pe),je=A(Ae,2),Be=je[0],rt=je[1],Ne=this.line(pe+be),me=A(Ne,1)[0];if(x(Y.prototype.__proto__||Object.getPrototypeOf(Y.prototype),"deleteAt",this).call(this,pe,be),null!=me&&Be!==me&&rt>0){if(Be instanceof E.BlockEmbed||me instanceof E.BlockEmbed)return void this.optimize();if(Be instanceof z.default){var ye=Be.newlineIndex(Be.length(),!0);if(ye>-1&&(Be=Be.split(ye+1))===me)return void this.optimize()}else if(me instanceof z.default){var Te=me.newlineIndex(0);Te>-1&&me.split(Te+1)}Be.moveChildren(me,me.children.head instanceof O.default?null:me.children.head),Be.remove()}this.optimize()}},{key:"enable",value:function(){this.domNode.setAttribute("contenteditable",!(arguments.length>0&&void 0!==arguments[0])||arguments[0])}},{key:"formatAt",value:function(pe,be,Ae,je){null!=this.whitelist&&!this.whitelist[Ae]||(x(Y.prototype.__proto__||Object.getPrototypeOf(Y.prototype),"formatAt",this).call(this,pe,be,Ae,je),this.optimize())}},{key:"insertAt",value:function(pe,be,Ae){if(null==Ae||null==this.whitelist||this.whitelist[be]){if(pe>=this.length())if(null==Ae||null==I.default.query(be,I.default.Scope.BLOCK)){var je=I.default.create(this.statics.defaultChild);this.appendChild(je),null==Ae&&be.endsWith("\n")&&(be=be.slice(0,-1)),je.insertAt(0,be,Ae)}else{var Be=I.default.create(be,Ae);this.appendChild(Be)}else x(Y.prototype.__proto__||Object.getPrototypeOf(Y.prototype),"insertAt",this).call(this,pe,be,Ae);this.optimize()}}},{key:"insertBefore",value:function(pe,be){if(pe.statics.scope===I.default.Scope.INLINE_BLOT){var Ae=I.default.create(this.statics.defaultChild);Ae.appendChild(pe),pe=Ae}x(Y.prototype.__proto__||Object.getPrototypeOf(Y.prototype),"insertBefore",this).call(this,pe,be)}},{key:"leaf",value:function(pe){return this.path(pe).pop()||[null,-1]}},{key:"line",value:function(pe){return pe===this.length()?this.line(pe-1):this.descendant(de,pe)}},{key:"lines",value:function(){return function je(Be,rt,Ne){var Me=[],me=Ne;return Be.children.forEachAt(rt,Ne,function(ye,Te,Ve){de(ye)?Me.push(ye):ye instanceof I.default.Container&&(Me=Me.concat(je(ye,Te,me))),me-=Ve}),Me}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var pe=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(x(Y.prototype.__proto__||Object.getPrototypeOf(Y.prototype),"optimize",this).call(this,pe,be),pe.length>0&&this.emitter.emit(D.default.events.SCROLL_OPTIMIZE,pe,be))}},{key:"path",value:function(pe){return x(Y.prototype.__proto__||Object.getPrototypeOf(Y.prototype),"path",this).call(this,pe).slice(1)}},{key:"update",value:function(pe){if(!0!==this.batch){var be=D.default.sources.USER;"string"==typeof pe&&(be=pe),Array.isArray(pe)||(pe=this.observer.takeRecords()),pe.length>0&&this.emitter.emit(D.default.events.SCROLL_BEFORE_UPDATE,be,pe),x(Y.prototype.__proto__||Object.getPrototypeOf(Y.prototype),"update",this).call(this,pe.concat([])),pe.length>0&&this.emitter.emit(D.default.events.SCROLL_UPDATE,be,pe)}}}]),Y}(I.default.Scroll);he.blotName="scroll",he.className="ql-editor",he.tagName="DIV",he.defaultChild="block",he.allowedChildren=[T.default,E.BlockEmbed,q.default],W.default=he},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.SHORTKEY=W.default=void 0;var A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ke){return typeof ke}:function(ke){return ke&&"function"==typeof Symbol&&ke.constructor===Symbol&&ke!==Symbol.prototype?"symbol":typeof ke},L=function(De,$e){if(Array.isArray(De))return De;if(Symbol.iterator in Object(De))return function ke(De,$e){var Ue=[],Je=!0,ot=!1,Jt=void 0;try{for(var pn,an=De[Symbol.iterator]();!(Je=(pn=an.next()).done)&&(Ue.push(pn.value),!$e||Ue.length!==$e);Je=!0);}catch(qn){ot=!0,Jt=qn}finally{try{!Je&&an.return&&an.return()}finally{if(ot)throw Jt}}return Ue}(De,$e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},x=function(){function ke(De,$e){for(var Ue=0;Ue<$e.length;Ue++){var Je=$e[Ue];Je.enumerable=Je.enumerable||!1,Je.configurable=!0,"value"in Je&&(Je.writable=!0),Object.defineProperty(De,Je.key,Je)}}return function(De,$e,Ue){return $e&&ke(De.prototype,$e),Ue&&ke(De,Ue),De}}(),I=se(R(21)),D=se(R(11)),T=se(R(3)),O=se(R(2)),z=se(R(20)),q=se(R(0)),Q=se(R(5)),ae=se(R(10)),he=se(R(9));function se(ke){return ke&&ke.__esModule?ke:{default:ke}}function Y(ke,De,$e){return De in ke?Object.defineProperty(ke,De,{value:$e,enumerable:!0,configurable:!0,writable:!0}):ke[De]=$e,ke}var Ae=(0,ae.default)("quill:keyboard"),je=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",Be=function(ke){function De($e,Ue){!function ie(ke,De){if(!(ke instanceof De))throw new TypeError("Cannot call a class as a function")}(this,De);var Je=function pe(ke,De){if(!ke)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!De||"object"!=typeof De&&"function"!=typeof De?ke:De}(this,(De.__proto__||Object.getPrototypeOf(De)).call(this,$e,Ue));return Je.bindings={},Object.keys(Je.options.bindings).forEach(function(ot){"list autofill"===ot&&null!=$e.scroll.whitelist&&!$e.scroll.whitelist.list||Je.options.bindings[ot]&&Je.addBinding(Je.options.bindings[ot])}),Je.addBinding({key:De.keys.ENTER,shiftKey:null},ye),Je.addBinding({key:De.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(Je.addBinding({key:De.keys.BACKSPACE},{collapsed:!0},Ne),Je.addBinding({key:De.keys.DELETE},{collapsed:!0},Me)):(Je.addBinding({key:De.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},Ne),Je.addBinding({key:De.keys.DELETE},{collapsed:!0,suffix:/^.?$/},Me)),Je.addBinding({key:De.keys.BACKSPACE},{collapsed:!1},me),Je.addBinding({key:De.keys.DELETE},{collapsed:!1},me),Je.addBinding({key:De.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},Ne),Je.listen(),Je}return function be(ke,De){if("function"!=typeof De&&null!==De)throw new TypeError("Super expression must either be null or a function, not "+typeof De);ke.prototype=Object.create(De&&De.prototype,{constructor:{value:ke,enumerable:!1,writable:!0,configurable:!0}}),De&&(Object.setPrototypeOf?Object.setPrototypeOf(ke,De):ke.__proto__=De)}(De,ke),x(De,null,[{key:"match",value:function(Ue,Je){return Je=Ie(Je),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(ot){return!!Je[ot]!==Ue[ot]&&null!==Je[ot]})&&Je.key===(Ue.which||Ue.keyCode)}}]),x(De,[{key:"addBinding",value:function(Ue){var Je=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ot=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Jt=Ie(Ue);if(null==Jt||null==Jt.key)return Ae.warn("Attempted to add invalid keyboard binding",Jt);"function"==typeof Je&&(Je={handler:Je}),"function"==typeof ot&&(ot={handler:ot}),Jt=(0,T.default)(Jt,Je,ot),this.bindings[Jt.key]=this.bindings[Jt.key]||[],this.bindings[Jt.key].push(Jt)}},{key:"listen",value:function(){var Ue=this;this.quill.root.addEventListener("keydown",function(Je){if(!Je.defaultPrevented){var Jt=(Ue.bindings[Je.which||Je.keyCode]||[]).filter(function(vn){return De.match(Je,vn)});if(0!==Jt.length){var an=Ue.quill.getSelection();if(null!=an&&Ue.quill.hasFocus()){var pn=Ue.quill.getLine(an.index),qn=L(pn,2),uo=qn[0],Xt=qn[1],et=Ue.quill.getLeaf(an.index),nt=L(et,2),Dt=nt[0],Lt=nt[1],ht=0===an.length?[Dt,Lt]:Ue.quill.getLeaf(an.index+an.length),$t=L(ht,2),Gt=$t[0],Ht=$t[1],ai=Dt instanceof q.default.Text?Dt.value().slice(0,Lt):"",ti=Gt instanceof q.default.Text?Gt.value().slice(Ht):"",_i={collapsed:0===an.length,empty:0===an.length&&uo.length()<=1,format:Ue.quill.getFormat(an),offset:Xt,prefix:ai,suffix:ti};Jt.some(function(vn){if(null!=vn.collapsed&&vn.collapsed!==_i.collapsed||null!=vn.empty&&vn.empty!==_i.empty||null!=vn.offset&&vn.offset!==_i.offset)return!1;if(Array.isArray(vn.format)){if(vn.format.every(function(rn){return null==_i.format[rn]}))return!1}else if("object"===A(vn.format)&&!Object.keys(vn.format).every(function(rn){return!0===vn.format[rn]?null!=_i.format[rn]:!1===vn.format[rn]?null==_i.format[rn]:(0,D.default)(vn.format[rn],_i.format[rn])}))return!1;return!(null!=vn.prefix&&!vn.prefix.test(_i.prefix)||null!=vn.suffix&&!vn.suffix.test(_i.suffix))&&!0!==vn.handler.call(Ue,an,_i)})&&Je.preventDefault()}}}})}}]),De}(he.default);function rt(ke,De){var $e;return Y($e={key:ke,shiftKey:De,altKey:null},ke===Be.keys.LEFT?"prefix":"suffix",/^$/),Y($e,"handler",function(ot){var Jt=ot.index;ke===Be.keys.RIGHT&&(Jt+=ot.length+1);var an=this.quill.getLeaf(Jt);return!(L(an,1)[0]instanceof q.default.Embed&&(ke===Be.keys.LEFT?De?this.quill.setSelection(ot.index-1,ot.length+1,Q.default.sources.USER):this.quill.setSelection(ot.index-1,Q.default.sources.USER):De?this.quill.setSelection(ot.index,ot.length+1,Q.default.sources.USER):this.quill.setSelection(ot.index+ot.length+1,Q.default.sources.USER),1))}),$e}function Ne(ke,De){if(!(0===ke.index||this.quill.getLength()<=1)){var $e=this.quill.getLine(ke.index),Je=L($e,1)[0],ot={};if(0===De.offset){var Jt=this.quill.getLine(ke.index-1),pn=L(Jt,1)[0];if(null!=pn&&pn.length()>1){var qn=Je.formats(),uo=this.quill.getFormat(ke.index-1,1);ot=z.default.attributes.diff(qn,uo)||{}}}var Xt=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(De.prefix)?2:1;this.quill.deleteText(ke.index-Xt,Xt,Q.default.sources.USER),Object.keys(ot).length>0&&this.quill.formatLine(ke.index-Xt,Xt,ot,Q.default.sources.USER),this.quill.focus()}}function Me(ke,De){var $e=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(De.suffix)?2:1;if(!(ke.index>=this.quill.getLength()-$e)){var Ue={},Je=0,ot=this.quill.getLine(ke.index),an=L(ot,1)[0];if(De.offset>=an.length()-1){var pn=this.quill.getLine(ke.index+1),uo=L(pn,1)[0];if(uo){var Xt=an.formats(),et=this.quill.getFormat(ke.index,1);Ue=z.default.attributes.diff(Xt,et)||{},Je=uo.length()}}this.quill.deleteText(ke.index,$e,Q.default.sources.USER),Object.keys(Ue).length>0&&this.quill.formatLine(ke.index+Je-1,$e,Ue,Q.default.sources.USER)}}function me(ke){var De=this.quill.getLines(ke),$e={};if(De.length>1){var Ue=De[0].formats(),Je=De[De.length-1].formats();$e=z.default.attributes.diff(Je,Ue)||{}}this.quill.deleteText(ke,Q.default.sources.USER),Object.keys($e).length>0&&this.quill.formatLine(ke.index,1,$e,Q.default.sources.USER),this.quill.setSelection(ke.index,Q.default.sources.SILENT),this.quill.focus()}function ye(ke,De){var $e=this;ke.length>0&&this.quill.scroll.deleteAt(ke.index,ke.length);var Ue=Object.keys(De.format).reduce(function(Je,ot){return q.default.query(ot,q.default.Scope.BLOCK)&&!Array.isArray(De.format[ot])&&(Je[ot]=De.format[ot]),Je},{});this.quill.insertText(ke.index,"\n",Ue,Q.default.sources.USER),this.quill.setSelection(ke.index+1,Q.default.sources.SILENT),this.quill.focus(),Object.keys(De.format).forEach(function(Je){null==Ue[Je]&&(Array.isArray(De.format[Je])||"link"!==Je&&$e.quill.format(Je,De.format[Je],Q.default.sources.USER))})}function Te(ke){return{key:Be.keys.TAB,shiftKey:!ke,format:{"code-block":!0},handler:function($e){var Ue=q.default.query("code-block"),Je=$e.index,ot=$e.length,Jt=this.quill.scroll.descendant(Ue,Je),an=L(Jt,2),pn=an[0],qn=an[1];if(null!=pn){var uo=this.quill.getIndex(pn),Xt=pn.newlineIndex(qn,!0)+1,et=pn.newlineIndex(uo+qn+ot),nt=pn.domNode.textContent.slice(Xt,et).split("\n");qn=0,nt.forEach(function(Dt,Lt){ke?(pn.insertAt(Xt+qn,Ue.TAB),qn+=Ue.TAB.length,0===Lt?Je+=Ue.TAB.length:ot+=Ue.TAB.length):Dt.startsWith(Ue.TAB)&&(pn.deleteAt(Xt+qn,Ue.TAB.length),qn-=Ue.TAB.length,0===Lt?Je-=Ue.TAB.length:ot-=Ue.TAB.length),qn+=Dt.length+1}),this.quill.update(Q.default.sources.USER),this.quill.setSelection(Je,ot,Q.default.sources.SILENT)}}}}function Ve(ke){return{key:ke[0].toUpperCase(),shortKey:!0,handler:function($e,Ue){this.quill.format(ke,!Ue.format[ke],Q.default.sources.USER)}}}function Ie(ke){if("string"==typeof ke||"number"==typeof ke)return Ie({key:ke});if("object"===(typeof ke>"u"?"undefined":A(ke))&&(ke=(0,I.default)(ke,!1)),"string"==typeof ke.key)if(null!=Be.keys[ke.key.toUpperCase()])ke.key=Be.keys[ke.key.toUpperCase()];else{if(1!==ke.key.length)return null;ke.key=ke.key.toUpperCase().charCodeAt(0)}return ke.shortKey&&(ke[je]=ke.shortKey,delete ke.shortKey),ke}Be.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},Be.DEFAULTS={bindings:{bold:Ve("bold"),italic:Ve("italic"),underline:Ve("underline"),indent:{key:Be.keys.TAB,format:["blockquote","indent","list"],handler:function(De,$e){if($e.collapsed&&0!==$e.offset)return!0;this.quill.format("indent","+1",Q.default.sources.USER)}},outdent:{key:Be.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(De,$e){if($e.collapsed&&0!==$e.offset)return!0;this.quill.format("indent","-1",Q.default.sources.USER)}},"outdent backspace":{key:Be.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(De,$e){null!=$e.format.indent?this.quill.format("indent","-1",Q.default.sources.USER):null!=$e.format.list&&this.quill.format("list",!1,Q.default.sources.USER)}},"indent code-block":Te(!0),"outdent code-block":Te(!1),"remove tab":{key:Be.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(De){this.quill.deleteText(De.index-1,1,Q.default.sources.USER)}},tab:{key:Be.keys.TAB,handler:function(De){this.quill.history.cutoff();var $e=(new O.default).retain(De.index).delete(De.length).insert("\t");this.quill.updateContents($e,Q.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(De.index+1,Q.default.sources.SILENT)}},"list empty enter":{key:Be.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(De,$e){this.quill.format("list",!1,Q.default.sources.USER),$e.format.indent&&this.quill.format("indent",!1,Q.default.sources.USER)}},"checklist enter":{key:Be.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(De){var $e=this.quill.getLine(De.index),Ue=L($e,2),Je=Ue[0],ot=Ue[1],Jt=(0,T.default)({},Je.formats(),{list:"checked"}),an=(new O.default).retain(De.index).insert("\n",Jt).retain(Je.length()-ot-1).retain(1,{list:"unchecked"});this.quill.updateContents(an,Q.default.sources.USER),this.quill.setSelection(De.index+1,Q.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:Be.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(De,$e){var Ue=this.quill.getLine(De.index),Je=L(Ue,2),ot=Je[0],Jt=Je[1],an=(new O.default).retain(De.index).insert("\n",$e.format).retain(ot.length()-Jt-1).retain(1,{header:null});this.quill.updateContents(an,Q.default.sources.USER),this.quill.setSelection(De.index+1,Q.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(De,$e){var Ue=$e.prefix.length,Je=this.quill.getLine(De.index),ot=L(Je,2),Jt=ot[0],an=ot[1];if(an>Ue)return!0;var pn=void 0;switch($e.prefix.trim()){case"[]":case"[ ]":pn="unchecked";break;case"[x]":pn="checked";break;case"-":case"*":pn="bullet";break;default:pn="ordered"}this.quill.insertText(De.index," ",Q.default.sources.USER),this.quill.history.cutoff();var qn=(new O.default).retain(De.index-an).delete(Ue+1).retain(Jt.length()-2-an).retain(1,{list:pn});this.quill.updateContents(qn,Q.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(De.index-Ue,Q.default.sources.SILENT)}},"code exit":{key:Be.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(De){var $e=this.quill.getLine(De.index),Ue=L($e,2),Je=Ue[0],ot=Ue[1],Jt=(new O.default).retain(De.index+Je.length()-ot-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(Jt,Q.default.sources.USER)}},"embed left":rt(Be.keys.LEFT,!1),"embed left shift":rt(Be.keys.LEFT,!0),"embed right":rt(Be.keys.RIGHT,!1),"embed right shift":rt(Be.keys.RIGHT,!0)}},W.default=Be,W.SHORTKEY=je},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(F,q){if(Array.isArray(F))return F;if(Symbol.iterator in Object(F))return function z(F,q){var V=[],Q=!0,ce=!1,ae=void 0;try{for(var he,de=F[Symbol.iterator]();!(Q=(he=de.next()).done)&&(V.push(he.value),!q||V.length!==q);Q=!0);}catch(se){ce=!0,ae=se}finally{try{!Q&&de.return&&de.return()}finally{if(ce)throw ae}}return V}(F,q);throw new TypeError("Invalid attempt to destructure non-iterable instance")},L=function z(F,q,V){null===F&&(F=Function.prototype);var Q=Object.getOwnPropertyDescriptor(F,q);if(void 0===Q){var ce=Object.getPrototypeOf(F);return null===ce?void 0:z(ce,q,V)}if("value"in Q)return Q.value;var ae=Q.get;return void 0===ae?void 0:ae.call(V)},x=function(){function z(F,q){for(var V=0;V<q.length;V++){var Q=q[V];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(F,Q.key,Q)}}return function(F,q,V){return q&&z(F.prototype,q),V&&z(F,V),F}}(),I=E(R(0)),D=E(R(7));function E(z){return z&&z.__esModule?z:{default:z}}var j=function(z){function F(q,V){!function T(z,F){if(!(z instanceof F))throw new TypeError("Cannot call a class as a function")}(this,F);var Q=function M(z,F){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!F||"object"!=typeof F&&"function"!=typeof F?z:F}(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,q));return Q.selection=V,Q.textNode=document.createTextNode(F.CONTENTS),Q.domNode.appendChild(Q.textNode),Q._length=0,Q}return function O(z,F){if("function"!=typeof F&&null!==F)throw new TypeError("Super expression must either be null or a function, not "+typeof F);z.prototype=Object.create(F&&F.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(z,F):z.__proto__=F)}(F,z),x(F,null,[{key:"value",value:function(){}}]),x(F,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(V,Q){if(0!==this._length)return L(F.prototype.__proto__||Object.getPrototypeOf(F.prototype),"format",this).call(this,V,Q);for(var ce=this,ae=0;null!=ce&&ce.statics.scope!==I.default.Scope.BLOCK_BLOT;)ae+=ce.offset(ce.parent),ce=ce.parent;null!=ce&&(this._length=F.CONTENTS.length,ce.optimize(),ce.formatAt(ae,F.CONTENTS.length,V,Q),this._length=0)}},{key:"index",value:function(V,Q){return V===this.textNode?0:L(F.prototype.__proto__||Object.getPrototypeOf(F.prototype),"index",this).call(this,V,Q)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){L(F.prototype.__proto__||Object.getPrototypeOf(F.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var V=this.textNode,Q=this.selection.getNativeRange(),ce=void 0,ae=void 0,de=void 0;if(null!=Q&&Q.start.node===V&&Q.end.node===V){var he=[V,Q.start.offset,Q.end.offset];ce=he[0],ae=he[1],de=he[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==F.CONTENTS){var se=this.textNode.data.split(F.CONTENTS).join("");this.next instanceof D.default?(ce=this.next.domNode,this.next.insertAt(0,se),this.textNode.data=F.CONTENTS):(this.textNode.data=se,this.parent.insertBefore(I.default.create(this.textNode),this),this.textNode=document.createTextNode(F.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=ae){var Y=[ae,de].map(function(pe){return Math.max(0,Math.min(ce.data.length,pe-1))}),ie=A(Y,2);return{startNode:ce,startOffset:ae=ie[0],endNode:ce,endOffset:de=ie[1]}}}}},{key:"update",value:function(V,Q){var ce=this;if(V.some(function(de){return"characterData"===de.type&&de.target===ce.textNode})){var ae=this.restore();ae&&(Q.range=ae)}}},{key:"value",value:function(){return""}}]),F}(I.default.Embed);j.blotName="cursor",j.className="ql-cursor",j.tagName="span",j.CONTENTS="\ufeff",W.default=j},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var L=I(R(0)),x=R(4),C=I(x);function I(M){return M&&M.__esModule?M:{default:M}}var T=function(M){function O(){return function v(M,O){if(!(M instanceof O))throw new TypeError("Cannot call a class as a function")}(this,O),function D(M,O){if(!M)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!O||"object"!=typeof O&&"function"!=typeof O?M:O}(this,(O.__proto__||Object.getPrototypeOf(O)).apply(this,arguments))}return function E(M,O){if("function"!=typeof O&&null!==O)throw new TypeError("Super expression must either be null or a function, not "+typeof O);M.prototype=Object.create(O&&O.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(M,O):M.__proto__=O)}(O,M),O}(L.default.Container);T.allowedChildren=[C.default,x.BlockEmbed,T],W.default=T},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.ColorStyle=W.ColorClass=W.ColorAttributor=void 0;var A=function(){function j(z,F){for(var q=0;q<F.length;q++){var V=F[q];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(z,V.key,V)}}return function(z,F,q){return F&&j(z.prototype,F),q&&j(z,q),z}}(),L=function j(z,F,q){null===z&&(z=Function.prototype);var V=Object.getOwnPropertyDescriptor(z,F);if(void 0===V){var Q=Object.getPrototypeOf(z);return null===Q?void 0:j(Q,F,q)}if("value"in V)return V.value;var ce=V.get;return void 0===ce?void 0:ce.call(q)},C=function I(j){return j&&j.__esModule?j:{default:j}}(R(0));var T=function(j){function z(){return function v(j,z){if(!(j instanceof z))throw new TypeError("Cannot call a class as a function")}(this,z),function D(j,z){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!z||"object"!=typeof z&&"function"!=typeof z?j:z}(this,(z.__proto__||Object.getPrototypeOf(z)).apply(this,arguments))}return function E(j,z){if("function"!=typeof z&&null!==z)throw new TypeError("Super expression must either be null or a function, not "+typeof z);j.prototype=Object.create(z&&z.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(j,z):j.__proto__=z)}(z,j),A(z,[{key:"value",value:function(q){var V=L(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"value",this).call(this,q);return V.startsWith("rgb(")?"#"+(V=V.replace(/^[^\d]+/,"").replace(/[^\d]+$/,"")).split(",").map(function(Q){return("00"+parseInt(Q).toString(16)).slice(-2)}).join(""):V}}]),z}(C.default.Attributor.Style),M=new C.default.Attributor.Class("color","ql-color",{scope:C.default.Scope.INLINE}),O=new T("color","color",{scope:C.default.Scope.INLINE});W.ColorAttributor=T,W.ColorClass=M,W.ColorStyle=O},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.sanitize=W.default=void 0;var A=function(){function O(j,z){for(var F=0;F<z.length;F++){var q=z[F];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(j,q.key,q)}}return function(j,z,F){return z&&O(j.prototype,z),F&&O(j,F),j}}(),L=function O(j,z,F){null===j&&(j=Function.prototype);var q=Object.getOwnPropertyDescriptor(j,z);if(void 0===q){var V=Object.getPrototypeOf(j);return null===V?void 0:O(V,z,F)}if("value"in q)return q.value;var Q=q.get;return void 0===Q?void 0:Q.call(F)};var T=function(O){function j(){return function v(O,j){if(!(O instanceof j))throw new TypeError("Cannot call a class as a function")}(this,j),function D(O,j){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!j||"object"!=typeof j&&"function"!=typeof j?O:j}(this,(j.__proto__||Object.getPrototypeOf(j)).apply(this,arguments))}return function E(O,j){if("function"!=typeof j&&null!==j)throw new TypeError("Super expression must either be null or a function, not "+typeof j);O.prototype=Object.create(j&&j.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),j&&(Object.setPrototypeOf?Object.setPrototypeOf(O,j):O.__proto__=j)}(j,O),A(j,[{key:"format",value:function(F,q){if(F!==this.statics.blotName||!q)return L(j.prototype.__proto__||Object.getPrototypeOf(j.prototype),"format",this).call(this,F,q);q=this.constructor.sanitize(q),this.domNode.setAttribute("href",q)}}],[{key:"create",value:function(F){var q=L(j.__proto__||Object.getPrototypeOf(j),"create",this).call(this,F);return F=this.sanitize(F),q.setAttribute("href",F),q.setAttribute("rel","noopener noreferrer"),q.setAttribute("target","_blank"),q}},{key:"formats",value:function(F){return F.getAttribute("href")}},{key:"sanitize",value:function(F){return M(F,this.PROTOCOL_WHITELIST)?F:this.SANITIZED_URL}}]),j}(function I(O){return O&&O.__esModule?O:{default:O}}(R(6)).default);function M(O,j){var z=document.createElement("a");z.href=O;var F=z.href.slice(0,z.href.indexOf(":"));return j.indexOf(F)>-1}T.blotName="link",T.tagName="A",T.SANITIZED_URL="about:blank",T.PROTOCOL_WHITELIST=["http","https","mailto","tel"],W.default=T,W.sanitize=M},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(j){return typeof j}:function(j){return j&&"function"==typeof Symbol&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},L=function(){function j(z,F){for(var q=0;q<F.length;q++){var V=F[q];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(z,V.key,V)}}return function(z,F,q){return F&&j(z.prototype,F),q&&j(z,q),z}}(),C=D(R(23)),v=D(R(107));function D(j){return j&&j.__esModule?j:{default:j}}var T=0;function M(j,z){j.setAttribute(z,"true"!==j.getAttribute(z))}var O=function(){function j(z){var F=this;(function E(j,z){if(!(j instanceof z))throw new TypeError("Cannot call a class as a function")})(this,j),this.select=z,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){F.togglePicker()}),this.label.addEventListener("keydown",function(q){switch(q.keyCode){case C.default.keys.ENTER:F.togglePicker();break;case C.default.keys.ESCAPE:F.escape(),q.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return L(j,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),M(this.label,"aria-expanded"),M(this.options,"aria-hidden")}},{key:"buildItem",value:function(F){var q=this,V=document.createElement("span");return V.tabIndex="0",V.setAttribute("role","button"),V.classList.add("ql-picker-item"),F.hasAttribute("value")&&V.setAttribute("data-value",F.getAttribute("value")),F.textContent&&V.setAttribute("data-label",F.textContent),V.addEventListener("click",function(){q.selectItem(V,!0)}),V.addEventListener("keydown",function(Q){switch(Q.keyCode){case C.default.keys.ENTER:q.selectItem(V,!0),Q.preventDefault();break;case C.default.keys.ESCAPE:q.escape(),Q.preventDefault()}}),V}},{key:"buildLabel",value:function(){var F=document.createElement("span");return F.classList.add("ql-picker-label"),F.innerHTML=v.default,F.tabIndex="0",F.setAttribute("role","button"),F.setAttribute("aria-expanded","false"),this.container.appendChild(F),F}},{key:"buildOptions",value:function(){var F=this,q=document.createElement("span");q.classList.add("ql-picker-options"),q.setAttribute("aria-hidden","true"),q.tabIndex="-1",q.id="ql-picker-options-"+T,T+=1,this.label.setAttribute("aria-controls",q.id),this.options=q,[].slice.call(this.select.options).forEach(function(V){var Q=F.buildItem(V);q.appendChild(Q),!0===V.selected&&F.selectItem(Q)}),this.container.appendChild(q)}},{key:"buildPicker",value:function(){var F=this;[].slice.call(this.select.attributes).forEach(function(q){F.container.setAttribute(q.name,q.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var F=this;this.close(),setTimeout(function(){return F.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(F){var q=arguments.length>1&&void 0!==arguments[1]&&arguments[1],V=this.container.querySelector(".ql-selected");if(F!==V&&(V?.classList.remove("ql-selected"),null!=F&&(F.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(F.parentNode.children,F),F.hasAttribute("data-value")?this.label.setAttribute("data-value",F.getAttribute("data-value")):this.label.removeAttribute("data-value"),F.hasAttribute("data-label")?this.label.setAttribute("data-label",F.getAttribute("data-label")):this.label.removeAttribute("data-label"),q))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===(typeof Event>"u"?"undefined":A(Event))){var Q=document.createEvent("Event");Q.initEvent("change",!0,!0),this.select.dispatchEvent(Q)}this.close()}}},{key:"update",value:function(){var F=void 0;if(this.select.selectedIndex>-1){var q=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];F=this.select.options[this.select.selectedIndex],this.selectItem(q)}else this.selectItem(null);var V=null!=F&&F!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",V)}}]),j}();W.default=O},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var L=Ae(R(0)),C=Ae(R(5)),I=R(4),v=Ae(I),E=Ae(R(16)),M=Ae(R(25)),j=Ae(R(24)),F=Ae(R(35)),V=Ae(R(6)),ce=Ae(R(22)),de=Ae(R(7)),se=Ae(R(55)),ie=Ae(R(42)),be=Ae(R(23));function Ae(je){return je&&je.__esModule?je:{default:je}}C.default.register({"blots/block":v.default,"blots/block/embed":I.BlockEmbed,"blots/break":E.default,"blots/container":M.default,"blots/cursor":j.default,"blots/embed":F.default,"blots/inline":V.default,"blots/scroll":ce.default,"blots/text":de.default,"modules/clipboard":se.default,"modules/history":ie.default,"modules/keyboard":be.default}),L.default.register(v.default,E.default,j.default,V.default,ce.default,de.default),W.default=C.default},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=R(1),L=function(){function x(C){this.domNode=C,this.domNode[A.DATA_KEY]={blot:this}}return Object.defineProperty(x.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),x.create=function(C){if(null==this.tagName)throw new A.ParchmentError("Blot definition missing tagName");var I;return Array.isArray(this.tagName)?("string"==typeof C&&(C=C.toUpperCase(),parseInt(C).toString()===C&&(C=parseInt(C))),I="number"==typeof C?document.createElement(this.tagName[C-1]):this.tagName.indexOf(C)>-1?document.createElement(C):document.createElement(this.tagName[0])):I=document.createElement(this.tagName),this.className&&I.classList.add(this.className),I},x.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},x.prototype.clone=function(){var C=this.domNode.cloneNode(!1);return A.create(C)},x.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[A.DATA_KEY]},x.prototype.deleteAt=function(C,I){this.isolate(C,I).remove()},x.prototype.formatAt=function(C,I,v,D){var E=this.isolate(C,I);if(null!=A.query(v,A.Scope.BLOT)&&D)E.wrap(v,D);else if(null!=A.query(v,A.Scope.ATTRIBUTE)){var T=A.create(this.statics.scope);E.wrap(T),T.format(v,D)}},x.prototype.insertAt=function(C,I,v){var D=null==v?A.create("text",I):A.create(I,v),E=this.split(C);this.parent.insertBefore(D,E)},x.prototype.insertInto=function(C,I){void 0===I&&(I=null),null!=this.parent&&this.parent.children.remove(this);var v=null;C.children.insertBefore(this,I),null!=I&&(v=I.domNode),(this.domNode.parentNode!=C.domNode||this.domNode.nextSibling!=v)&&C.domNode.insertBefore(this.domNode,v),this.parent=C,this.attach()},x.prototype.isolate=function(C,I){var v=this.split(C);return v.split(I),v},x.prototype.length=function(){return 1},x.prototype.offset=function(C){return void 0===C&&(C=this.parent),null==this.parent||this==C?0:this.parent.children.offset(this)+this.parent.offset(C)},x.prototype.optimize=function(C){null!=this.domNode[A.DATA_KEY]&&delete this.domNode[A.DATA_KEY].mutations},x.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},x.prototype.replace=function(C){null!=C.parent&&(C.parent.insertBefore(this,C.next),C.remove())},x.prototype.replaceWith=function(C,I){var v="string"==typeof C?A.create(C,I):C;return v.replace(this),v},x.prototype.split=function(C,I){return 0===C?this:this.next},x.prototype.update=function(C,I){},x.prototype.wrap=function(C,I){var v="string"==typeof C?A.create(C,I):C;return null!=this.parent&&this.parent.insertBefore(v,this.next),v.appendChild(this),v},x.blotName="abstract",x}();W.default=L},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=R(12),L=R(32),x=R(33),C=R(1),I=function(){function v(D){this.attributes={},this.domNode=D,this.build()}return v.prototype.attribute=function(D,E){E?D.add(this.domNode,E)&&(null!=D.value(this.domNode)?this.attributes[D.attrName]=D:delete this.attributes[D.attrName]):(D.remove(this.domNode),delete this.attributes[D.attrName])},v.prototype.build=function(){var D=this;this.attributes={};var E=A.default.keys(this.domNode),T=L.default.keys(this.domNode),M=x.default.keys(this.domNode);E.concat(T).concat(M).forEach(function(O){var j=C.query(O,C.Scope.ATTRIBUTE);j instanceof A.default&&(D.attributes[j.attrName]=j)})},v.prototype.copy=function(D){var E=this;Object.keys(this.attributes).forEach(function(T){var M=E.attributes[T].value(E.domNode);D.format(T,M)})},v.prototype.move=function(D){var E=this;this.copy(D),Object.keys(this.attributes).forEach(function(T){E.attributes[T].remove(E.domNode)}),this.attributes={}},v.prototype.values=function(){var D=this;return Object.keys(this.attributes).reduce(function(E,T){return E[T]=D.attributes[T].value(D.domNode),E},{})},v}();W.default=I},function(_e,W,R){"use strict";var I,A=this&&this.__extends||(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,D){v.__proto__=D}||function(v,D){for(var E in D)D.hasOwnProperty(E)&&(v[E]=D[E])},function(v,D){function E(){this.constructor=v}I(v,D),v.prototype=null===D?Object.create(D):(E.prototype=D.prototype,new E)});function x(I,v){return(I.getAttribute("class")||"").split(/\s+/).filter(function(E){return 0===E.indexOf(v+"-")})}Object.defineProperty(W,"__esModule",{value:!0});var C=function(I){function v(){return null!==I&&I.apply(this,arguments)||this}return A(v,I),v.keys=function(D){return(D.getAttribute("class")||"").split(/\s+/).map(function(E){return E.split("-").slice(0,-1).join("-")})},v.prototype.add=function(D,E){return!!this.canAdd(D,E)&&(this.remove(D),D.classList.add(this.keyName+"-"+E),!0)},v.prototype.remove=function(D){x(D,this.keyName).forEach(function(T){D.classList.remove(T)}),0===D.classList.length&&D.removeAttribute("class")},v.prototype.value=function(D){var T=(x(D,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(D,T)?T:""},v}(R(12).default);W.default=C},function(_e,W,R){"use strict";var I,A=this&&this.__extends||(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,D){v.__proto__=D}||function(v,D){for(var E in D)D.hasOwnProperty(E)&&(v[E]=D[E])},function(v,D){function E(){this.constructor=v}I(v,D),v.prototype=null===D?Object.create(D):(E.prototype=D.prototype,new E)});function x(I){var v=I.split("-"),D=v.slice(1).map(function(E){return E[0].toUpperCase()+E.slice(1)}).join("");return v[0]+D}Object.defineProperty(W,"__esModule",{value:!0});var C=function(I){function v(){return null!==I&&I.apply(this,arguments)||this}return A(v,I),v.keys=function(D){return(D.getAttribute("style")||"").split(";").map(function(E){return E.split(":")[0].trim()})},v.prototype.add=function(D,E){return!!this.canAdd(D,E)&&(D.style[x(this.keyName)]=E,!0)},v.prototype.remove=function(D){D.style[x(this.keyName)]="",D.getAttribute("style")||D.removeAttribute("style")},v.prototype.value=function(D){var E=D.style[x(this.keyName)];return this.canAdd(D,E)?E:""},v}(R(12).default);W.default=C},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function C(I,v){for(var D=0;D<v.length;D++){var E=v[D];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(I,E.key,E)}}return function(I,v,D){return v&&C(I.prototype,v),D&&C(I,D),I}}();var x=function(){function C(I,v){(function L(C,I){if(!(C instanceof I))throw new TypeError("Cannot call a class as a function")})(this,C),this.quill=I,this.options=v,this.modules={}}return A(C,[{key:"init",value:function(){var v=this;Object.keys(this.options.modules).forEach(function(D){null==v.modules[D]&&v.addModule(D)})}},{key:"addModule",value:function(v){var D=this.quill.constructor.import("modules/"+v);return this.modules[v]=new D(this.quill,this.options.modules[v]||{}),this.modules[v]}}]),C}();x.DEFAULTS={modules:{}},x.themes={default:x},W.default=x},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function z(F,q){for(var V=0;V<q.length;V++){var Q=q[V];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(F,Q.key,Q)}}return function(F,q,V){return q&&z(F.prototype,q),V&&z(F,V),F}}(),L=function z(F,q,V){null===F&&(F=Function.prototype);var Q=Object.getOwnPropertyDescriptor(F,q);if(void 0===Q){var ce=Object.getPrototypeOf(F);return null===ce?void 0:z(ce,q,V)}if("value"in Q)return Q.value;var ae=Q.get;return void 0===ae?void 0:ae.call(V)},C=D(R(0)),v=D(R(7));function D(z){return z&&z.__esModule?z:{default:z}}var O="\ufeff",j=function(z){function F(q){!function E(z,F){if(!(z instanceof F))throw new TypeError("Cannot call a class as a function")}(this,F);var V=function T(z,F){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!F||"object"!=typeof F&&"function"!=typeof F?z:F}(this,(F.__proto__||Object.getPrototypeOf(F)).call(this,q));return V.contentNode=document.createElement("span"),V.contentNode.setAttribute("contenteditable",!1),[].slice.call(V.domNode.childNodes).forEach(function(Q){V.contentNode.appendChild(Q)}),V.leftGuard=document.createTextNode(O),V.rightGuard=document.createTextNode(O),V.domNode.appendChild(V.leftGuard),V.domNode.appendChild(V.contentNode),V.domNode.appendChild(V.rightGuard),V}return function M(z,F){if("function"!=typeof F&&null!==F)throw new TypeError("Super expression must either be null or a function, not "+typeof F);z.prototype=Object.create(F&&F.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(z,F):z.__proto__=F)}(F,z),A(F,[{key:"index",value:function(V,Q){return V===this.leftGuard?0:V===this.rightGuard?1:L(F.prototype.__proto__||Object.getPrototypeOf(F.prototype),"index",this).call(this,V,Q)}},{key:"restore",value:function(V){var Q=void 0,ce=void 0,ae=V.data.split(O).join("");if(V===this.leftGuard)if(this.prev instanceof v.default){var de=this.prev.length();this.prev.insertAt(de,ae),Q={startNode:this.prev.domNode,startOffset:de+ae.length}}else ce=document.createTextNode(ae),this.parent.insertBefore(C.default.create(ce),this),Q={startNode:ce,startOffset:ae.length};else V===this.rightGuard&&(this.next instanceof v.default?(this.next.insertAt(0,ae),Q={startNode:this.next.domNode,startOffset:ae.length}):(ce=document.createTextNode(ae),this.parent.insertBefore(C.default.create(ce),this.next),Q={startNode:ce,startOffset:ae.length}));return V.data=O,Q}},{key:"update",value:function(V,Q){var ce=this;V.forEach(function(ae){if("characterData"===ae.type&&(ae.target===ce.leftGuard||ae.target===ce.rightGuard)){var de=ce.restore(ae.target);de&&(Q.range=de)}})}}]),F}(C.default.Embed);W.default=j},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.AlignStyle=W.AlignClass=W.AlignAttribute=void 0;var L=function x(E){return E&&E.__esModule?E:{default:E}}(R(0));var C={scope:L.default.Scope.BLOCK,whitelist:["right","center","justify"]},I=new L.default.Attributor.Attribute("align","align",C),v=new L.default.Attributor.Class("align","ql-align",C),D=new L.default.Attributor.Style("align","text-align",C);W.AlignAttribute=I,W.AlignClass=v,W.AlignStyle=D},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.BackgroundStyle=W.BackgroundClass=void 0;var L=function C(D){return D&&D.__esModule?D:{default:D}}(R(0)),x=R(26);var I=new L.default.Attributor.Class("background","ql-bg",{scope:L.default.Scope.INLINE}),v=new x.ColorAttributor("background","background-color",{scope:L.default.Scope.INLINE});W.BackgroundClass=I,W.BackgroundStyle=v},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.DirectionStyle=W.DirectionClass=W.DirectionAttribute=void 0;var L=function x(E){return E&&E.__esModule?E:{default:E}}(R(0));var C={scope:L.default.Scope.BLOCK,whitelist:["rtl"]},I=new L.default.Attributor.Attribute("direction","dir",C),v=new L.default.Attributor.Class("direction","ql-direction",C),D=new L.default.Attributor.Style("direction","direction",C);W.DirectionAttribute=I,W.DirectionClass=v,W.DirectionStyle=D},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.FontClass=W.FontStyle=void 0;var A=function(){function z(F,q){for(var V=0;V<q.length;V++){var Q=q[V];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(F,Q.key,Q)}}return function(F,q,V){return q&&z(F.prototype,q),V&&z(F,V),F}}(),L=function z(F,q,V){null===F&&(F=Function.prototype);var Q=Object.getOwnPropertyDescriptor(F,q);if(void 0===Q){var ce=Object.getPrototypeOf(F);return null===ce?void 0:z(ce,q,V)}if("value"in Q)return Q.value;var ae=Q.get;return void 0===ae?void 0:ae.call(V)},C=function I(z){return z&&z.__esModule?z:{default:z}}(R(0));var T={scope:C.default.Scope.INLINE,whitelist:["serif","monospace"]},M=new C.default.Attributor.Class("font","ql-font",T),O=function(z){function F(){return function v(z,F){if(!(z instanceof F))throw new TypeError("Cannot call a class as a function")}(this,F),function D(z,F){if(!z)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!F||"object"!=typeof F&&"function"!=typeof F?z:F}(this,(F.__proto__||Object.getPrototypeOf(F)).apply(this,arguments))}return function E(z,F){if("function"!=typeof F&&null!==F)throw new TypeError("Super expression must either be null or a function, not "+typeof F);z.prototype=Object.create(F&&F.prototype,{constructor:{value:z,enumerable:!1,writable:!0,configurable:!0}}),F&&(Object.setPrototypeOf?Object.setPrototypeOf(z,F):z.__proto__=F)}(F,z),A(F,[{key:"value",value:function(V){return L(F.prototype.__proto__||Object.getPrototypeOf(F.prototype),"value",this).call(this,V).replace(/["']/g,"")}}]),F}(C.default.Attributor.Style),j=new O("font","font-family",T);W.FontStyle=j,W.FontClass=M},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.SizeStyle=W.SizeClass=void 0;var L=function x(v){return v&&v.__esModule?v:{default:v}}(R(0));var C=new L.default.Attributor.Class("size","ql-size",{scope:L.default.Scope.INLINE,whitelist:["small","large","huge"]}),I=new L.default.Attributor.Style("size","font-size",{scope:L.default.Scope.INLINE,whitelist:["10px","18px","32px"]});W.SizeClass=C,W.SizeStyle=I},function(_e,W,R){"use strict";_e.exports={align:{"":R(76),center:R(77),right:R(78),justify:R(79)},background:R(80),blockquote:R(81),bold:R(82),clean:R(83),code:R(58),"code-block":R(58),color:R(84),direction:{"":R(85),rtl:R(86)},float:{center:R(87),full:R(88),left:R(89),right:R(90)},formula:R(91),header:{1:R(92),2:R(93)},italic:R(94),image:R(95),indent:{"+1":R(96),"-1":R(97)},link:R(98),list:{ordered:R(99),bullet:R(100),check:R(101)},script:{sub:R(102),super:R(103)},strike:R(104),underline:R(105),video:R(106)}},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.getLastChangeIndex=W.default=void 0;var A=function(){function q(V,Q){for(var ce=0;ce<Q.length;ce++){var ae=Q[ce];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(V,ae.key,ae)}}return function(V,Q,ce){return Q&&q(V.prototype,Q),ce&&q(V,ce),V}}(),x=E(R(0)),I=E(R(5));function E(q){return q&&q.__esModule?q:{default:q}}var j=function(q){function V(Q,ce){!function T(q,V){if(!(q instanceof V))throw new TypeError("Cannot call a class as a function")}(this,V);var ae=function M(q,V){if(!q)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!V||"object"!=typeof V&&"function"!=typeof V?q:V}(this,(V.__proto__||Object.getPrototypeOf(V)).call(this,Q,ce));return ae.lastRecorded=0,ae.ignoreChange=!1,ae.clear(),ae.quill.on(I.default.events.EDITOR_CHANGE,function(de,he,se,Y){de!==I.default.events.TEXT_CHANGE||ae.ignoreChange||(ae.options.userOnly&&Y!==I.default.sources.USER?ae.transform(he):ae.record(he,se))}),ae.quill.keyboard.addBinding({key:"Z",shortKey:!0},ae.undo.bind(ae)),ae.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},ae.redo.bind(ae)),/Win/i.test(navigator.platform)&&ae.quill.keyboard.addBinding({key:"Y",shortKey:!0},ae.redo.bind(ae)),ae}return function O(q,V){if("function"!=typeof V&&null!==V)throw new TypeError("Super expression must either be null or a function, not "+typeof V);q.prototype=Object.create(V&&V.prototype,{constructor:{value:q,enumerable:!1,writable:!0,configurable:!0}}),V&&(Object.setPrototypeOf?Object.setPrototypeOf(q,V):q.__proto__=V)}(V,q),A(V,[{key:"change",value:function(ce,ae){if(0!==this.stack[ce].length){var de=this.stack[ce].pop();this.stack[ae].push(de),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(de[ce],I.default.sources.USER),this.ignoreChange=!1;var he=F(de[ce]);this.quill.setSelection(he)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(ce,ae){if(0!==ce.ops.length){this.stack.redo=[];var de=this.quill.getContents().diff(ae),he=Date.now();if(this.lastRecorded+this.options.delay>he&&this.stack.undo.length>0){var se=this.stack.undo.pop();de=de.compose(se.undo),ce=se.redo.compose(ce)}else this.lastRecorded=he;this.stack.undo.push({redo:ce,undo:de}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(ce){this.stack.undo.forEach(function(ae){ae.undo=ce.transform(ae.undo,!0),ae.redo=ce.transform(ae.redo,!0)}),this.stack.redo.forEach(function(ae){ae.undo=ce.transform(ae.undo,!0),ae.redo=ce.transform(ae.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),V}(E(R(9)).default);function F(q){var V=q.reduce(function(ce,ae){return ce+(ae.delete||0)},0),Q=q.length()-V;return function z(q){var V=q.ops[q.ops.length-1];return null!=V&&(null!=V.insert?"string"==typeof V.insert&&V.insert.endsWith("\n"):null!=V.attributes&&Object.keys(V.attributes).some(function(Q){return null!=x.default.query(Q,x.default.Scope.BLOCK)}))}(q)&&(Q-=1),Q}j.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},W.default=j,W.getLastChangeIndex=F},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.default=W.BaseTooltip=void 0;var A=function(){function ye(Te,Ve){for(var Ie=0;Ie<Ve.length;Ie++){var ke=Ve[Ie];ke.enumerable=ke.enumerable||!1,ke.configurable=!0,"value"in ke&&(ke.writable=!0),Object.defineProperty(Te,ke.key,ke)}}return function(Te,Ve,Ie){return Ve&&ye(Te.prototype,Ve),Ie&&ye(Te,Ie),Te}}(),L=function ye(Te,Ve,Ie){null===Te&&(Te=Function.prototype);var ke=Object.getOwnPropertyDescriptor(Te,Ve);if(void 0===ke){var De=Object.getPrototypeOf(Te);return null===De?void 0:ye(De,Ve,Ie)}if("value"in ke)return ke.value;var $e=ke.get;return void 0===$e?void 0:$e.call(Ie)},C=he(R(3)),v=he(R(2)),E=he(R(8)),M=he(R(23)),j=he(R(34)),F=he(R(59)),V=he(R(60)),ce=he(R(28)),de=he(R(61));function he(ye){return ye&&ye.__esModule?ye:{default:ye}}function se(ye,Te){if(!(ye instanceof Te))throw new TypeError("Cannot call a class as a function")}function Y(ye,Te){if(!ye)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Te||"object"!=typeof Te&&"function"!=typeof Te?ye:Te}function ie(ye,Te){if("function"!=typeof Te&&null!==Te)throw new TypeError("Super expression must either be null or a function, not "+typeof Te);ye.prototype=Object.create(Te&&Te.prototype,{constructor:{value:ye,enumerable:!1,writable:!0,configurable:!0}}),Te&&(Object.setPrototypeOf?Object.setPrototypeOf(ye,Te):ye.__proto__=Te)}var pe=[!1,"center","right","justify"],be=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],Ae=[!1,"serif","monospace"],je=["1","2","3",!1],Be=["small",!1,"large","huge"],rt=function(ye){function Te(Ve,Ie){se(this,Te);var ke=Y(this,(Te.__proto__||Object.getPrototypeOf(Te)).call(this,Ve,Ie));return Ve.emitter.listenDOM("click",document.body,function $e(Ue){if(!document.body.contains(Ve.root))return document.body.removeEventListener("click",$e);null!=ke.tooltip&&!ke.tooltip.root.contains(Ue.target)&&document.activeElement!==ke.tooltip.textbox&&!ke.quill.hasFocus()&&ke.tooltip.hide(),null!=ke.pickers&&ke.pickers.forEach(function(Je){Je.container.contains(Ue.target)||Je.close()})}),ke}return ie(Te,ye),A(Te,[{key:"addModule",value:function(Ie){var ke=L(Te.prototype.__proto__||Object.getPrototypeOf(Te.prototype),"addModule",this).call(this,Ie);return"toolbar"===Ie&&this.extendToolbar(ke),ke}},{key:"buildButtons",value:function(Ie,ke){Ie.forEach(function(De){(De.getAttribute("class")||"").split(/\s+/).forEach(function(Ue){if(Ue.startsWith("ql-")&&(Ue=Ue.slice(3),null!=ke[Ue]))if("direction"===Ue)De.innerHTML=ke[Ue][""]+ke[Ue].rtl;else if("string"==typeof ke[Ue])De.innerHTML=ke[Ue];else{var Je=De.value||"";null!=Je&&ke[Ue][Je]&&(De.innerHTML=ke[Ue][Je])}})})}},{key:"buildPickers",value:function(Ie,ke){var De=this;this.pickers=Ie.map(function(Ue){if(Ue.classList.contains("ql-align"))return null==Ue.querySelector("option")&&me(Ue,pe),new V.default(Ue,ke.align);if(Ue.classList.contains("ql-background")||Ue.classList.contains("ql-color")){var Je=Ue.classList.contains("ql-background")?"background":"color";return null==Ue.querySelector("option")&&me(Ue,be,"background"===Je?"#ffffff":"#000000"),new F.default(Ue,ke[Je])}return null==Ue.querySelector("option")&&(Ue.classList.contains("ql-font")?me(Ue,Ae):Ue.classList.contains("ql-header")?me(Ue,je):Ue.classList.contains("ql-size")&&me(Ue,Be)),new ce.default(Ue)}),this.quill.on(E.default.events.EDITOR_CHANGE,function(){De.pickers.forEach(function(Je){Je.update()})})}}]),Te}(j.default);rt.DEFAULTS=(0,C.default)(!0,{},j.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var Te=this,Ve=this.container.querySelector("input.ql-image[type=file]");null==Ve&&((Ve=document.createElement("input")).setAttribute("type","file"),Ve.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),Ve.classList.add("ql-image"),Ve.addEventListener("change",function(){if(null!=Ve.files&&null!=Ve.files[0]){var Ie=new FileReader;Ie.onload=function(ke){var De=Te.quill.getSelection(!0);Te.quill.updateContents((new v.default).retain(De.index).delete(De.length).insert({image:ke.target.result}),E.default.sources.USER),Te.quill.setSelection(De.index+1,E.default.sources.SILENT),Ve.value=""},Ie.readAsDataURL(Ve.files[0])}}),this.container.appendChild(Ve)),Ve.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var Ne=function(ye){function Te(Ve,Ie){se(this,Te);var ke=Y(this,(Te.__proto__||Object.getPrototypeOf(Te)).call(this,Ve,Ie));return ke.textbox=ke.root.querySelector('input[type="text"]'),ke.listen(),ke}return ie(Te,ye),A(Te,[{key:"listen",value:function(){var Ie=this;this.textbox.addEventListener("keydown",function(ke){M.default.match(ke,"enter")?(Ie.save(),ke.preventDefault()):M.default.match(ke,"escape")&&(Ie.cancel(),ke.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var Ie=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",ke=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=ke?this.textbox.value=ke:Ie!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+Ie)||""),this.root.setAttribute("data-mode",Ie)}},{key:"restoreFocus",value:function(){var Ie=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=Ie}},{key:"save",value:function(){var Ie=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var ke=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",Ie,E.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",Ie,E.default.sources.USER)),this.quill.root.scrollTop=ke;break;case"video":Ie=function Me(ye){var Te=ye.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||ye.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return Te?(Te[1]||"https")+"://www.youtube.com/embed/"+Te[2]+"?showinfo=0":(Te=ye.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(Te[1]||"https")+"://player.vimeo.com/video/"+Te[2]+"/":ye}(Ie);case"formula":if(!Ie)break;var De=this.quill.getSelection(!0);if(null!=De){var $e=De.index+De.length;this.quill.insertEmbed($e,this.root.getAttribute("data-mode"),Ie,E.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText($e+1," ",E.default.sources.USER),this.quill.setSelection($e+2,E.default.sources.USER)}}this.textbox.value="",this.hide()}}]),Te}(de.default);function me(ye,Te){var Ve=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Te.forEach(function(Ie){var ke=document.createElement("option");Ie===Ve?ke.setAttribute("selected","selected"):ke.setAttribute("value",Ie),ye.appendChild(ke)})}W.BaseTooltip=Ne,W.default=rt},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function L(){this.head=this.tail=null,this.length=0}return L.prototype.append=function(){for(var x=[],C=0;C<arguments.length;C++)x[C]=arguments[C];this.insertBefore(x[0],null),x.length>1&&this.append.apply(this,x.slice(1))},L.prototype.contains=function(x){for(var C,I=this.iterator();C=I();)if(C===x)return!0;return!1},L.prototype.insertBefore=function(x,C){x&&(x.next=C,null!=C?(x.prev=C.prev,null!=C.prev&&(C.prev.next=x),C.prev=x,C===this.head&&(this.head=x)):null!=this.tail?(this.tail.next=x,x.prev=this.tail,this.tail=x):(x.prev=null,this.head=this.tail=x),this.length+=1)},L.prototype.offset=function(x){for(var C=0,I=this.head;null!=I;){if(I===x)return C;C+=I.length(),I=I.next}return-1},L.prototype.remove=function(x){this.contains(x)&&(null!=x.prev&&(x.prev.next=x.next),null!=x.next&&(x.next.prev=x.prev),x===this.head&&(this.head=x.next),x===this.tail&&(this.tail=x.prev),this.length-=1)},L.prototype.iterator=function(x){return void 0===x&&(x=this.head),function(){var C=x;return null!=x&&(x=x.next),C}},L.prototype.find=function(x,C){void 0===C&&(C=!1);for(var I,v=this.iterator();I=v();){var D=I.length();if(x<D||C&&x===D&&(null==I.next||0!==I.next.length()))return[I,x];x-=D}return[null,0]},L.prototype.forEach=function(x){for(var C,I=this.iterator();C=I();)x(C)},L.prototype.forEachAt=function(x,C,I){if(!(C<=0))for(var T,v=this.find(x),M=x-v[1],O=this.iterator(v[0]);(T=O())&&M<x+C;){var j=T.length();x>M?I(T,x-M,Math.min(C,M+j-x)):I(T,0,Math.min(j,x+C-M)),M+=j}},L.prototype.map=function(x){return this.reduce(function(C,I){return C.push(x(I)),C},[])},L.prototype.reduce=function(x,C){for(var I,v=this.iterator();I=v();)C=x(C,I);return C},L}();W.default=A},function(_e,W,R){"use strict";var D,A=this&&this.__extends||(D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,T){E.__proto__=T}||function(E,T){for(var M in T)T.hasOwnProperty(M)&&(E[M]=T[M])},function(E,T){function M(){this.constructor=E}D(E,T),E.prototype=null===T?Object.create(T):(M.prototype=T.prototype,new M)});Object.defineProperty(W,"__esModule",{value:!0});var L=R(17),x=R(1),C={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},v=function(D){function E(T){var M=D.call(this,T)||this;return M.scroll=M,M.observer=new MutationObserver(function(O){M.update(O)}),M.observer.observe(M.domNode,C),M.attach(),M}return A(E,D),E.prototype.detach=function(){D.prototype.detach.call(this),this.observer.disconnect()},E.prototype.deleteAt=function(T,M){this.update(),0===T&&M===this.length()?this.children.forEach(function(O){O.remove()}):D.prototype.deleteAt.call(this,T,M)},E.prototype.formatAt=function(T,M,O,j){this.update(),D.prototype.formatAt.call(this,T,M,O,j)},E.prototype.insertAt=function(T,M,O){this.update(),D.prototype.insertAt.call(this,T,M,O)},E.prototype.optimize=function(T,M){var O=this;void 0===T&&(T=[]),void 0===M&&(M={}),D.prototype.optimize.call(this,M);for(var j=[].slice.call(this.observer.takeRecords());j.length>0;)T.push(j.pop());for(var z=function(Q,ce){void 0===ce&&(ce=!0),null!=Q&&Q!==O&&null!=Q.domNode.parentNode&&(null==Q.domNode[x.DATA_KEY].mutations&&(Q.domNode[x.DATA_KEY].mutations=[]),ce&&z(Q.parent))},F=function(Q){null==Q.domNode[x.DATA_KEY]||null==Q.domNode[x.DATA_KEY].mutations||(Q instanceof L.default&&Q.children.forEach(F),Q.optimize(M))},q=T,V=0;q.length>0;V+=1){if(V>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(q.forEach(function(Q){var ce=x.find(Q.target,!0);null!=ce&&(ce.domNode===Q.target&&("childList"===Q.type?(z(x.find(Q.previousSibling,!1)),[].forEach.call(Q.addedNodes,function(ae){var de=x.find(ae,!1);z(de,!1),de instanceof L.default&&de.children.forEach(function(he){z(he,!1)})})):"attributes"===Q.type&&z(ce.prev)),z(ce))}),this.children.forEach(F),j=(q=[].slice.call(this.observer.takeRecords())).slice();j.length>0;)T.push(j.pop())}},E.prototype.update=function(T,M){var O=this;void 0===M&&(M={}),(T=T||this.observer.takeRecords()).map(function(j){var z=x.find(j.target,!0);return null==z?null:null==z.domNode[x.DATA_KEY].mutations?(z.domNode[x.DATA_KEY].mutations=[j],z):(z.domNode[x.DATA_KEY].mutations.push(j),null)}).forEach(function(j){null==j||j===O||null==j.domNode[x.DATA_KEY]||j.update(j.domNode[x.DATA_KEY].mutations||[],M)}),null!=this.domNode[x.DATA_KEY].mutations&&D.prototype.update.call(this,this.domNode[x.DATA_KEY].mutations,M),this.optimize(T,M)},E.blotName="scroll",E.defaultChild="block",E.scope=x.Scope.BLOCK_BLOT,E.tagName="DIV",E}(L.default);W.default=v},function(_e,W,R){"use strict";var v,A=this&&this.__extends||(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,E){D.__proto__=E}||function(D,E){for(var T in E)E.hasOwnProperty(T)&&(D[T]=E[T])},function(D,E){function T(){this.constructor=D}v(D,E),D.prototype=null===E?Object.create(E):(T.prototype=E.prototype,new T)});Object.defineProperty(W,"__esModule",{value:!0});var L=R(18),x=R(1);var I=function(v){function D(){return null!==v&&v.apply(this,arguments)||this}return A(D,v),D.formats=function(E){if(E.tagName!==D.tagName)return v.formats.call(this,E)},D.prototype.format=function(E,T){var M=this;E!==this.statics.blotName||T?v.prototype.format.call(this,E,T):(this.children.forEach(function(O){O instanceof L.default||(O=O.wrap(D.blotName,!0)),M.attributes.copy(O)}),this.unwrap())},D.prototype.formatAt=function(E,T,M,O){null!=this.formats()[M]||x.query(M,x.Scope.ATTRIBUTE)?this.isolate(E,T).format(M,O):v.prototype.formatAt.call(this,E,T,M,O)},D.prototype.optimize=function(E){v.prototype.optimize.call(this,E);var T=this.formats();if(0===Object.keys(T).length)return this.unwrap();var M=this.next;M instanceof D&&M.prev===this&&function C(v,D){if(Object.keys(v).length!==Object.keys(D).length)return!1;for(var E in v)if(v[E]!==D[E])return!1;return!0}(T,M.formats())&&(M.moveChildren(this),M.remove())},D.blotName="inline",D.scope=x.Scope.INLINE_BLOT,D.tagName="SPAN",D}(L.default);W.default=I},function(_e,W,R){"use strict";var I,A=this&&this.__extends||(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,D){v.__proto__=D}||function(v,D){for(var E in D)D.hasOwnProperty(E)&&(v[E]=D[E])},function(v,D){function E(){this.constructor=v}I(v,D),v.prototype=null===D?Object.create(D):(E.prototype=D.prototype,new E)});Object.defineProperty(W,"__esModule",{value:!0});var L=R(18),x=R(1),C=function(I){function v(){return null!==I&&I.apply(this,arguments)||this}return A(v,I),v.formats=function(D){var E=x.query(v.blotName).tagName;if(D.tagName!==E)return I.formats.call(this,D)},v.prototype.format=function(D,E){null!=x.query(D,x.Scope.BLOCK)&&(D!==this.statics.blotName||E?I.prototype.format.call(this,D,E):this.replaceWith(v.blotName))},v.prototype.formatAt=function(D,E,T,M){null!=x.query(T,x.Scope.BLOCK)?this.format(T,M):I.prototype.formatAt.call(this,D,E,T,M)},v.prototype.insertAt=function(D,E,T){if(null==T||null!=x.query(E,x.Scope.INLINE))I.prototype.insertAt.call(this,D,E,T);else{var M=this.split(D),O=x.create(E,T);M.parent.insertBefore(O,M)}},v.prototype.update=function(D,E){navigator.userAgent.match(/Trident/)?this.build():I.prototype.update.call(this,D,E)},v.blotName="block",v.scope=x.Scope.BLOCK_BLOT,v.tagName="P",v}(L.default);W.default=C},function(_e,W,R){"use strict";var C,A=this&&this.__extends||(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(I,v){I.__proto__=v}||function(I,v){for(var D in v)v.hasOwnProperty(D)&&(I[D]=v[D])},function(I,v){function D(){this.constructor=I}C(I,v),I.prototype=null===v?Object.create(v):(D.prototype=v.prototype,new D)});Object.defineProperty(W,"__esModule",{value:!0});var x=function(C){function I(){return null!==C&&C.apply(this,arguments)||this}return A(I,C),I.formats=function(v){},I.prototype.format=function(v,D){C.prototype.formatAt.call(this,0,this.length(),v,D)},I.prototype.formatAt=function(v,D,E,T){0===v&&D===this.length()?this.format(E,T):C.prototype.formatAt.call(this,v,D,E,T)},I.prototype.formats=function(){return this.statics.formats(this.domNode)},I}(R(19).default);W.default=x},function(_e,W,R){"use strict";var I,A=this&&this.__extends||(I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,D){v.__proto__=D}||function(v,D){for(var E in D)D.hasOwnProperty(E)&&(v[E]=D[E])},function(v,D){function E(){this.constructor=v}I(v,D),v.prototype=null===D?Object.create(D):(E.prototype=D.prototype,new E)});Object.defineProperty(W,"__esModule",{value:!0});var L=R(19),x=R(1),C=function(I){function v(D){var E=I.call(this,D)||this;return E.text=E.statics.value(E.domNode),E}return A(v,I),v.create=function(D){return document.createTextNode(D)},v.value=function(D){var E=D.data;return E.normalize&&(E=E.normalize()),E},v.prototype.deleteAt=function(D,E){this.domNode.data=this.text=this.text.slice(0,D)+this.text.slice(D+E)},v.prototype.index=function(D,E){return this.domNode===D?E:-1},v.prototype.insertAt=function(D,E,T){null==T?(this.text=this.text.slice(0,D)+E+this.text.slice(D),this.domNode.data=this.text):I.prototype.insertAt.call(this,D,E,T)},v.prototype.length=function(){return this.text.length},v.prototype.optimize=function(D){I.prototype.optimize.call(this,D),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof v&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},v.prototype.position=function(D,E){return void 0===E&&(E=!1),[this.domNode,D]},v.prototype.split=function(D,E){if(void 0===E&&(E=!1),!E){if(0===D)return this;if(D===this.length())return this.next}var T=x.create(this.domNode.splitText(D));return this.parent.insertBefore(T,this.next),this.text=this.statics.value(this.domNode),T},v.prototype.update=function(D,E){var T=this;D.some(function(M){return"characterData"===M.type&&M.target===T.domNode})&&(this.text=this.statics.value(this.domNode))},v.prototype.value=function(){return this.text},v.blotName="text",v.scope=x.Scope.INLINE_BLOT,v}(L.default);W.default=C},function(_e,W,R){"use strict";var A=document.createElement("div");if(A.classList.toggle("test-class",!1),A.classList.contains("test-class")){var L=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(x,C){return arguments.length>1&&!this.contains(x)==!C?C:L.call(this,x)}}String.prototype.startsWith||(String.prototype.startsWith=function(x,C){return this.substr(C=C||0,x.length)===x}),String.prototype.endsWith||(String.prototype.endsWith=function(x,C){var I=this.toString();("number"!=typeof C||!isFinite(C)||Math.floor(C)!==C||C>I.length)&&(C=I.length);var v=I.indexOf(x,C-=x.length);return-1!==v&&v===C}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(C){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof C)throw new TypeError("predicate must be a function");for(var E,I=Object(this),v=I.length>>>0,D=arguments[1],T=0;T<v;T++)if(C.call(D,E=I[T],T,I))return E}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(_e,W){var R=-1,A=1,L=0;function x(V,Q,ce){if(V==Q)return V?[[L,V]]:[];(ce<0||V.length<ce)&&(ce=null);var ae=D(V,Q),de=V.substring(0,ae);ae=E(V=V.substring(ae),Q=Q.substring(ae));var he=V.substring(V.length-ae),se=function C(V,Q){var ce;if(!V)return[[A,Q]];if(!Q)return[[R,V]];var ae=V.length>Q.length?V:Q,de=V.length>Q.length?Q:V,he=ae.indexOf(de);if(-1!=he)return ce=[[A,ae.substring(0,he)],[L,de],[A,ae.substring(he+de.length)]],V.length>Q.length&&(ce[0][0]=ce[2][0]=R),ce;if(1==de.length)return[[R,V],[A,Q]];var se=function T(V,Q){var ce=V.length>Q.length?V:Q,ae=V.length>Q.length?Q:V;if(ce.length<4||2*ae.length<ce.length)return null;function de(Be,rt,Ne){for(var Te,Ve,Ie,ke,Me=Be.substring(Ne,Ne+Math.floor(Be.length/4)),me=-1,ye="";-1!=(me=rt.indexOf(Me,me+1));){var De=D(Be.substring(Ne),rt.substring(me)),$e=E(Be.substring(0,Ne),rt.substring(0,me));ye.length<$e+De&&(ye=rt.substring(me-$e,me)+rt.substring(me,me+De),Te=Be.substring(0,Ne-$e),Ve=Be.substring(Ne+De),Ie=rt.substring(0,me-$e),ke=rt.substring(me+De))}return 2*ye.length>=Be.length?[Te,Ve,Ie,ke,ye]:null}var Y,ie,pe,be,Ae,he=de(ce,ae,Math.ceil(ce.length/4)),se=de(ce,ae,Math.ceil(ce.length/2));return he||se?(Y=se?he&&he[4].length>se[4].length?he:se:he,V.length>Q.length?(ie=Y[0],pe=Y[1],be=Y[2],Ae=Y[3]):(be=Y[0],Ae=Y[1],ie=Y[2],pe=Y[3]),[ie,pe,be,Ae,Y[4]]):null}(V,Q);if(se){var ie=se[1],be=se[3],Ae=se[4],je=x(se[0],se[2]),Be=x(ie,be);return je.concat([[L,Ae]],Be)}return function I(V,Q){for(var ce=V.length,ae=Q.length,de=Math.ceil((ce+ae)/2),he=de,se=2*de,Y=new Array(se),ie=new Array(se),pe=0;pe<se;pe++)Y[pe]=-1,ie[pe]=-1;Y[he+1]=0,ie[he+1]=0;for(var be=ce-ae,Ae=be%2!=0,je=0,Be=0,rt=0,Ne=0,Me=0;Me<de;Me++){for(var me=-Me+je;me<=Me-Be;me+=2){for(var ye=he+me,Ve=(Te=me==-Me||me!=Me&&Y[ye-1]<Y[ye+1]?Y[ye+1]:Y[ye-1]+1)-me;Te<ce&&Ve<ae&&V.charAt(Te)==Q.charAt(Ve);)Te++,Ve++;if(Y[ye]=Te,Te>ce)Be+=2;else if(Ve>ae)je+=2;else if(Ae&&(Ie=he+be-me)>=0&&Ie<se&&-1!=ie[Ie]&&Te>=(ke=ce-ie[Ie]))return v(V,Q,Te,Ve)}for(var De=-Me+rt;De<=Me-Ne;De+=2){for(var ke,Ie=he+De,$e=(ke=De==-Me||De!=Me&&ie[Ie-1]<ie[Ie+1]?ie[Ie+1]:ie[Ie-1]+1)-De;ke<ce&&$e<ae&&V.charAt(ce-ke-1)==Q.charAt(ae-$e-1);)ke++,$e++;if(ie[Ie]=ke,ke>ce)Ne+=2;else if($e>ae)rt+=2;else if(!Ae){var Te;if((ye=he+be-De)>=0&&ye<se&&-1!=Y[ye]&&(Ve=he+(Te=Y[ye])-ye,Te>=(ke=ce-ke)))return v(V,Q,Te,Ve)}}}return[[R,V],[A,Q]]}(V,Q)}(V=V.substring(0,V.length-ae),Q=Q.substring(0,Q.length-ae));return de&&se.unshift([L,de]),he&&se.push([L,he]),M(se),null!=ce&&(se=function z(V,Q){var ce=function j(V,Q){if(0===Q)return[L,V];for(var ce=0,ae=0;ae<V.length;ae++){var de=V[ae];if(de[0]===R||de[0]===L){var he=ce+de[1].length;if(Q===he)return[ae+1,V];if(Q<he){V=V.slice();var se=Q-ce,Y=[de[0],de[1].slice(0,se)],ie=[de[0],de[1].slice(se)];return V.splice(ae,1,Y,ie),[ae+1,V]}ce=he}}throw new Error("cursor_pos is out of bounds!")}(V,Q),ae=ce[1],de=ce[0],he=ae[de],se=ae[de+1];if(null==he)return V;if(he[0]!==L)return V;if(null!=se&&he[1]+se[1]===se[1]+he[1])return ae.splice(de,2,se,he),q(ae,de,2);if(null!=se&&0===se[1].indexOf(he[1])){ae.splice(de,2,[se[0],he[1]],[0,he[1]]);var Y=se[1].slice(he[1].length);return Y.length>0&&ae.splice(de+2,0,[se[0],Y]),q(ae,de,3)}return V}(se,ce)),function F(V){for(var Q=!1,ce=function(se){return se.charCodeAt(0)>=56320&&se.charCodeAt(0)<=57343},ae=function(se){return se.charCodeAt(se.length-1)>=55296&&se.charCodeAt(se.length-1)<=56319},de=2;de<V.length;de+=1)V[de-2][0]===L&&ae(V[de-2][1])&&V[de-1][0]===R&&ce(V[de-1][1])&&V[de][0]===A&&ce(V[de][1])&&(Q=!0,V[de-1][1]=V[de-2][1].slice(-1)+V[de-1][1],V[de][1]=V[de-2][1].slice(-1)+V[de][1],V[de-2][1]=V[de-2][1].slice(0,-1));if(!Q)return V;var he=[];for(de=0;de<V.length;de+=1)V[de][1].length>0&&he.push(V[de]);return he}(se)}function v(V,Q,ce,ae){var de=V.substring(0,ce),he=Q.substring(0,ae),se=V.substring(ce),Y=Q.substring(ae),ie=x(de,he),pe=x(se,Y);return ie.concat(pe)}function D(V,Q){if(!V||!Q||V.charAt(0)!=Q.charAt(0))return 0;for(var ce=0,ae=Math.min(V.length,Q.length),de=ae,he=0;ce<de;)V.substring(he,de)==Q.substring(he,de)?he=ce=de:ae=de,de=Math.floor((ae-ce)/2+ce);return de}function E(V,Q){if(!V||!Q||V.charAt(V.length-1)!=Q.charAt(Q.length-1))return 0;for(var ce=0,ae=Math.min(V.length,Q.length),de=ae,he=0;ce<de;)V.substring(V.length-de,V.length-he)==Q.substring(Q.length-de,Q.length-he)?he=ce=de:ae=de,de=Math.floor((ae-ce)/2+ce);return de}function M(V){V.push([L,""]);for(var se,Q=0,ce=0,ae=0,de="",he="";Q<V.length;)switch(V[Q][0]){case A:ae++,he+=V[Q][1],Q++;break;case R:ce++,de+=V[Q][1],Q++;break;case L:ce+ae>1?(0!==ce&&0!==ae&&(0!==(se=D(he,de))&&(Q-ce-ae>0&&V[Q-ce-ae-1][0]==L?V[Q-ce-ae-1][1]+=he.substring(0,se):(V.splice(0,0,[L,he.substring(0,se)]),Q++),he=he.substring(se),de=de.substring(se)),0!==(se=E(he,de))&&(V[Q][1]=he.substring(he.length-se)+V[Q][1],he=he.substring(0,he.length-se),de=de.substring(0,de.length-se))),0===ce?V.splice(Q-ae,ce+ae,[A,he]):0===ae?V.splice(Q-ce,ce+ae,[R,de]):V.splice(Q-ce-ae,ce+ae,[R,de],[A,he]),Q=Q-ce-ae+(ce?1:0)+(ae?1:0)+1):0!==Q&&V[Q-1][0]==L?(V[Q-1][1]+=V[Q][1],V.splice(Q,1)):Q++,ae=0,ce=0,de="",he=""}""===V[V.length-1][1]&&V.pop();var Y=!1;for(Q=1;Q<V.length-1;)V[Q-1][0]==L&&V[Q+1][0]==L&&(V[Q][1].substring(V[Q][1].length-V[Q-1][1].length)==V[Q-1][1]?(V[Q][1]=V[Q-1][1]+V[Q][1].substring(0,V[Q][1].length-V[Q-1][1].length),V[Q+1][1]=V[Q-1][1]+V[Q+1][1],V.splice(Q-1,1),Y=!0):V[Q][1].substring(0,V[Q+1][1].length)==V[Q+1][1]&&(V[Q-1][1]+=V[Q+1][1],V[Q][1]=V[Q][1].substring(V[Q+1][1].length)+V[Q+1][1],V.splice(Q+1,1),Y=!0)),Q++;Y&&M(V)}var O=x;function q(V,Q,ce){for(var ae=Q+ce-1;ae>=0&&ae>=Q-1;ae--)if(ae+1<V.length){var de=V[ae],he=V[ae+1];de[0]===he[1]&&V.splice(ae,2,[de[0],de[1]+he[1]])}return V}O.INSERT=A,O.DELETE=R,O.EQUAL=L,_e.exports=O},function(_e,W){function R(A){var L=[];for(var x in A)L.push(x);return L}(_e.exports="function"==typeof Object.keys?Object.keys:R).shim=R},function(_e,W){var R="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function A(x){return"[object Arguments]"==Object.prototype.toString.call(x)}function L(x){return x&&"object"==typeof x&&"number"==typeof x.length&&Object.prototype.hasOwnProperty.call(x,"callee")&&!Object.prototype.propertyIsEnumerable.call(x,"callee")||!1}(W=_e.exports=R?A:L).supported=A,W.unsupported=L},function(_e,W){"use strict";var R=Object.prototype.hasOwnProperty,A="~";function L(){}function x(I,v,D){this.fn=I,this.context=v,this.once=D||!1}function C(){this._events=new L,this._eventsCount=0}Object.create&&(L.prototype=Object.create(null),(new L).__proto__||(A=!1)),C.prototype.eventNames=function(){var D,E,v=[];if(0===this._eventsCount)return v;for(E in D=this._events)R.call(D,E)&&v.push(A?E.slice(1):E);return Object.getOwnPropertySymbols?v.concat(Object.getOwnPropertySymbols(D)):v},C.prototype.listeners=function(v,D){var T=this._events[A?A+v:v];if(D)return!!T;if(!T)return[];if(T.fn)return[T.fn];for(var M=0,O=T.length,j=new Array(O);M<O;M++)j[M]=T[M].fn;return j},C.prototype.emit=function(v,D,E,T,M,O){var j=A?A+v:v;if(!this._events[j])return!1;var q,V,z=this._events[j],F=arguments.length;if(z.fn){switch(z.once&&this.removeListener(v,z.fn,void 0,!0),F){case 1:return z.fn.call(z.context),!0;case 2:return z.fn.call(z.context,D),!0;case 3:return z.fn.call(z.context,D,E),!0;case 4:return z.fn.call(z.context,D,E,T),!0;case 5:return z.fn.call(z.context,D,E,T,M),!0;case 6:return z.fn.call(z.context,D,E,T,M,O),!0}for(V=1,q=new Array(F-1);V<F;V++)q[V-1]=arguments[V];z.fn.apply(z.context,q)}else{var ce,Q=z.length;for(V=0;V<Q;V++)switch(z[V].once&&this.removeListener(v,z[V].fn,void 0,!0),F){case 1:z[V].fn.call(z[V].context);break;case 2:z[V].fn.call(z[V].context,D);break;case 3:z[V].fn.call(z[V].context,D,E);break;case 4:z[V].fn.call(z[V].context,D,E,T);break;default:if(!q)for(ce=1,q=new Array(F-1);ce<F;ce++)q[ce-1]=arguments[ce];z[V].fn.apply(z[V].context,q)}}return!0},C.prototype.on=function(v,D,E){var T=new x(D,E||this),M=A?A+v:v;return this._events[M]?this._events[M].fn?this._events[M]=[this._events[M],T]:this._events[M].push(T):(this._events[M]=T,this._eventsCount++),this},C.prototype.once=function(v,D,E){var T=new x(D,E||this,!0),M=A?A+v:v;return this._events[M]?this._events[M].fn?this._events[M]=[this._events[M],T]:this._events[M].push(T):(this._events[M]=T,this._eventsCount++),this},C.prototype.removeListener=function(v,D,E,T){var M=A?A+v:v;if(!this._events[M])return this;if(!D)return 0==--this._eventsCount?this._events=new L:delete this._events[M],this;var O=this._events[M];if(O.fn)O.fn===D&&(!T||O.once)&&(!E||O.context===E)&&(0==--this._eventsCount?this._events=new L:delete this._events[M]);else{for(var j=0,z=[],F=O.length;j<F;j++)(O[j].fn!==D||T&&!O[j].once||E&&O[j].context!==E)&&z.push(O[j]);z.length?this._events[M]=1===z.length?z[0]:z:0==--this._eventsCount?this._events=new L:delete this._events[M]}return this},C.prototype.removeAllListeners=function(v){var D;return v?this._events[D=A?A+v:v]&&(0==--this._eventsCount?this._events=new L:delete this._events[D]):(this._events=new L,this._eventsCount=0),this},C.prototype.off=C.prototype.removeListener,C.prototype.addListener=C.prototype.on,C.prototype.setMaxListeners=function(){return this},C.prefixed=A,C.EventEmitter=C,typeof _e<"u"&&(_e.exports=C)},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.matchText=W.matchSpacing=W.matchNewline=W.matchBlot=W.matchAttributor=W.default=void 0;var A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(et){return typeof et}:function(et){return et&&"function"==typeof Symbol&&et.constructor===Symbol&&et!==Symbol.prototype?"symbol":typeof et},L=function(nt,Dt){if(Array.isArray(nt))return nt;if(Symbol.iterator in Object(nt))return function et(nt,Dt){var Lt=[],ht=!0,$t=!1,Gt=void 0;try{for(var ai,Ht=nt[Symbol.iterator]();!(ht=(ai=Ht.next()).done)&&(Lt.push(ai.value),!Dt||Lt.length!==Dt);ht=!0);}catch(ti){$t=!0,Gt=ti}finally{try{!ht&&Ht.return&&Ht.return()}finally{if($t)throw Gt}}return Lt}(nt,Dt);throw new TypeError("Invalid attempt to destructure non-iterable instance")},x=function(){function et(nt,Dt){for(var Lt=0;Lt<Dt.length;Lt++){var ht=Dt[Lt];ht.enumerable=ht.enumerable||!1,ht.configurable=!0,"value"in ht&&(ht.writable=!0),Object.defineProperty(nt,ht.key,ht)}}return function(nt,Dt,Lt){return Dt&&et(nt.prototype,Dt),Lt&&et(nt,Lt),nt}}(),I=ie(R(3)),D=ie(R(2)),T=ie(R(0)),O=ie(R(5)),z=ie(R(10)),q=ie(R(9)),V=R(36),Q=R(37),ae=ie(R(13)),de=R(26),he=R(38),se=R(39),Y=R(40);function ie(et){return et&&et.__esModule?et:{default:et}}function pe(et,nt,Dt){return nt in et?Object.defineProperty(et,nt,{value:Dt,enumerable:!0,configurable:!0,writable:!0}):et[nt]=Dt,et}var Be=(0,z.default)("quill:clipboard"),rt="__ql-matcher",Ne=[[Node.TEXT_NODE,Xt],[Node.TEXT_NODE,pn],["br",function ot(et,nt){return Ie(nt,"\n")||nt.insert("\n"),nt}],[Node.ELEMENT_NODE,pn],[Node.ELEMENT_NODE,Je],[Node.ELEMENT_NODE,qn],[Node.ELEMENT_NODE,Ue],[Node.ELEMENT_NODE,function uo(et,nt){var Dt={},Lt=et.style||{};return Lt.fontStyle&&"italic"===Ve(et).fontStyle&&(Dt.italic=!0),Lt.fontWeight&&(Ve(et).fontWeight.startsWith("bold")||parseInt(Ve(et).fontWeight)>=700)&&(Dt.bold=!0),Object.keys(Dt).length>0&&(nt=Te(nt,Dt)),parseFloat(Lt.textIndent||0)>0&&(nt=(new D.default).insert("\t").concat(nt)),nt}],["li",function an(et,nt){var Dt=T.default.query(et);if(null==Dt||"list-item"!==Dt.blotName||!Ie(nt,"\n"))return nt;for(var Lt=-1,ht=et.parentNode;!ht.classList.contains("ql-clipboard");)"list"===(T.default.query(ht)||{}).blotName&&(Lt+=1),ht=ht.parentNode;return Lt<=0?nt:nt.compose((new D.default).retain(nt.length()-1).retain(1,{indent:Lt}))}],["b",$e.bind($e,"bold")],["i",$e.bind($e,"italic")],["style",function Jt(){return new D.default}]],Me=[V.AlignAttribute,he.DirectionAttribute].reduce(function(et,nt){return et[nt.keyName]=nt,et},{}),me=[V.AlignStyle,Q.BackgroundStyle,de.ColorStyle,he.DirectionStyle,se.FontStyle,Y.SizeStyle].reduce(function(et,nt){return et[nt.keyName]=nt,et},{}),ye=function(et){function nt(Dt,Lt){!function be(et,nt){if(!(et instanceof nt))throw new TypeError("Cannot call a class as a function")}(this,nt);var ht=function Ae(et,nt){if(!et)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!nt||"object"!=typeof nt&&"function"!=typeof nt?et:nt}(this,(nt.__proto__||Object.getPrototypeOf(nt)).call(this,Dt,Lt));return ht.quill.root.addEventListener("paste",ht.onPaste.bind(ht)),ht.container=ht.quill.addContainer("ql-clipboard"),ht.container.setAttribute("contenteditable",!0),ht.container.setAttribute("tabindex",-1),ht.matchers=[],Ne.concat(ht.options.matchers).forEach(function($t){var Gt=L($t,2),ai=Gt[1];!Lt.matchVisual&&ai===qn||ht.addMatcher(Gt[0],ai)}),ht}return function je(et,nt){if("function"!=typeof nt&&null!==nt)throw new TypeError("Super expression must either be null or a function, not "+typeof nt);et.prototype=Object.create(nt&&nt.prototype,{constructor:{value:et,enumerable:!1,writable:!0,configurable:!0}}),nt&&(Object.setPrototypeOf?Object.setPrototypeOf(et,nt):et.__proto__=nt)}(nt,et),x(nt,[{key:"addMatcher",value:function(Lt,ht){this.matchers.push([Lt,ht])}},{key:"convert",value:function(Lt){if("string"==typeof Lt)return this.container.innerHTML=Lt.replace(/\>\r?\n +\</g,"><"),this.convert();var ht=this.quill.getFormat(this.quill.selection.savedRange.index);if(ht[ae.default.blotName]){var $t=this.container.innerText;return this.container.innerHTML="",(new D.default).insert($t,pe({},ae.default.blotName,ht[ae.default.blotName]))}var Gt=this.prepareMatching(),Ht=L(Gt,2),_i=De(this.container,Ht[0],Ht[1]);return Ie(_i,"\n")&&null==_i.ops[_i.ops.length-1].attributes&&(_i=_i.compose((new D.default).retain(_i.length()-1).delete(1))),Be.log("convert",this.container.innerHTML,_i),this.container.innerHTML="",_i}},{key:"dangerouslyPasteHTML",value:function(Lt,ht){var $t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O.default.sources.API;if("string"==typeof Lt)this.quill.setContents(this.convert(Lt),ht),this.quill.setSelection(0,O.default.sources.SILENT);else{var Gt=this.convert(ht);this.quill.updateContents((new D.default).retain(Lt).concat(Gt),$t),this.quill.setSelection(Lt+Gt.length(),O.default.sources.SILENT)}}},{key:"onPaste",value:function(Lt){var ht=this;if(!Lt.defaultPrevented&&this.quill.isEnabled()){var $t=this.quill.getSelection(),Gt=(new D.default).retain($t.index),Ht=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(O.default.sources.SILENT),setTimeout(function(){Gt=Gt.concat(ht.convert()).delete($t.length),ht.quill.updateContents(Gt,O.default.sources.USER),ht.quill.setSelection(Gt.length()-$t.length,O.default.sources.SILENT),ht.quill.scrollingContainer.scrollTop=Ht,ht.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var Lt=this,ht=[],$t=[];return this.matchers.forEach(function(Gt){var Ht=L(Gt,2),ai=Ht[0],ti=Ht[1];switch(ai){case Node.TEXT_NODE:$t.push(ti);break;case Node.ELEMENT_NODE:ht.push(ti);break;default:[].forEach.call(Lt.container.querySelectorAll(ai),function(_i){_i[rt]=_i[rt]||[],_i[rt].push(ti)})}}),[ht,$t]}}]),nt}(q.default);function Te(et,nt,Dt){return"object"===(typeof nt>"u"?"undefined":A(nt))?Object.keys(nt).reduce(function(Lt,ht){return Te(Lt,ht,nt[ht])},et):et.reduce(function(Lt,ht){return ht.attributes&&ht.attributes[nt]?Lt.push(ht):Lt.insert(ht.insert,(0,I.default)({},pe({},nt,Dt),ht.attributes))},new D.default)}function Ve(et){if(et.nodeType!==Node.ELEMENT_NODE)return{};var nt="__ql-computed-style";return et[nt]||(et[nt]=window.getComputedStyle(et))}function Ie(et,nt){for(var Dt="",Lt=et.ops.length-1;Lt>=0&&Dt.length<nt.length;--Lt){var ht=et.ops[Lt];if("string"!=typeof ht.insert)break;Dt=ht.insert+Dt}return Dt.slice(-1*nt.length)===nt}function ke(et){if(0===et.childNodes.length)return!1;var nt=Ve(et);return["block","list-item"].indexOf(nt.display)>-1}function De(et,nt,Dt){return et.nodeType===et.TEXT_NODE?Dt.reduce(function(Lt,ht){return ht(et,Lt)},new D.default):et.nodeType===et.ELEMENT_NODE?[].reduce.call(et.childNodes||[],function(Lt,ht){var $t=De(ht,nt,Dt);return ht.nodeType===et.ELEMENT_NODE&&($t=nt.reduce(function(Gt,Ht){return Ht(ht,Gt)},$t),$t=(ht[rt]||[]).reduce(function(Gt,Ht){return Ht(ht,Gt)},$t)),Lt.concat($t)},new D.default):new D.default}function $e(et,nt,Dt){return Te(Dt,et,!0)}function Ue(et,nt){var Dt=T.default.Attributor.Attribute.keys(et),Lt=T.default.Attributor.Class.keys(et),ht=T.default.Attributor.Style.keys(et),$t={};return Dt.concat(Lt).concat(ht).forEach(function(Gt){var Ht=T.default.query(Gt,T.default.Scope.ATTRIBUTE);null!=Ht&&($t[Ht.attrName]=Ht.value(et),$t[Ht.attrName])||(null!=(Ht=Me[Gt])&&(Ht.attrName===Gt||Ht.keyName===Gt)&&($t[Ht.attrName]=Ht.value(et)||void 0),null!=(Ht=me[Gt])&&(Ht.attrName===Gt||Ht.keyName===Gt)&&($t[(Ht=me[Gt]).attrName]=Ht.value(et)||void 0))}),Object.keys($t).length>0&&(nt=Te(nt,$t)),nt}function Je(et,nt){var Dt=T.default.query(et);if(null==Dt)return nt;if(Dt.prototype instanceof T.default.Embed){var Lt={},ht=Dt.value(et);null!=ht&&(Lt[Dt.blotName]=ht,nt=(new D.default).insert(Lt,Dt.formats(et)))}else"function"==typeof Dt.formats&&(nt=Te(nt,Dt.blotName,Dt.formats(et)));return nt}function pn(et,nt){return Ie(nt,"\n")||(ke(et)||nt.length()>0&&et.nextSibling&&ke(et.nextSibling))&&nt.insert("\n"),nt}function qn(et,nt){if(ke(et)&&null!=et.nextElementSibling&&!Ie(nt,"\n\n")){var Dt=et.offsetHeight+parseFloat(Ve(et).marginTop)+parseFloat(Ve(et).marginBottom);et.nextElementSibling.offsetTop>et.offsetTop+1.5*Dt&&nt.insert("\n")}return nt}function Xt(et,nt){var Dt=et.data;if("O:P"===et.parentNode.tagName)return nt.insert(Dt.trim());if(0===Dt.trim().length&&et.parentNode.classList.contains("ql-clipboard"))return nt;if(!Ve(et.parentNode).whiteSpace.startsWith("pre")){var Lt=function($t,Gt){return(Gt=Gt.replace(/[^\u00a0]/g,"")).length<1&&$t?" ":Gt};Dt=(Dt=Dt.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,Lt.bind(Lt,!0)),(null==et.previousSibling&&ke(et.parentNode)||null!=et.previousSibling&&ke(et.previousSibling))&&(Dt=Dt.replace(/^\s+/,Lt.bind(Lt,!1))),(null==et.nextSibling&&ke(et.parentNode)||null!=et.nextSibling&&ke(et.nextSibling))&&(Dt=Dt.replace(/\s+$/,Lt.bind(Lt,!1)))}return nt.insert(Dt)}ye.DEFAULTS={matchers:[],matchVisual:!0},W.default=ye,W.matchAttributor=Ue,W.matchBlot=Je,W.matchNewline=pn,W.matchSpacing=qn,W.matchText=Xt},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function M(O,j){for(var z=0;z<j.length;z++){var F=j[z];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(O,F.key,F)}}return function(O,j,z){return j&&M(O.prototype,j),z&&M(O,z),O}}(),L=function M(O,j,z){null===O&&(O=Function.prototype);var F=Object.getOwnPropertyDescriptor(O,j);if(void 0===F){var q=Object.getPrototypeOf(O);return null===q?void 0:M(q,j,z)}if("value"in F)return F.value;var V=F.get;return void 0===V?void 0:V.call(z)};var T=function(M){function O(){return function v(M,O){if(!(M instanceof O))throw new TypeError("Cannot call a class as a function")}(this,O),function D(M,O){if(!M)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!O||"object"!=typeof O&&"function"!=typeof O?M:O}(this,(O.__proto__||Object.getPrototypeOf(O)).apply(this,arguments))}return function E(M,O){if("function"!=typeof O&&null!==O)throw new TypeError("Super expression must either be null or a function, not "+typeof O);M.prototype=Object.create(O&&O.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(M,O):M.__proto__=O)}(O,M),A(O,[{key:"optimize",value:function(z){L(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"optimize",this).call(this,z),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return L(O.__proto__||Object.getPrototypeOf(O),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),O}(function I(M){return M&&M.__esModule?M:{default:M}}(R(6)).default);T.blotName="bold",T.tagName=["STRONG","B"],W.default=T},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.addControls=W.default=void 0;var A=function(ie,pe){if(Array.isArray(ie))return ie;if(Symbol.iterator in Object(ie))return function Y(ie,pe){var be=[],Ae=!0,je=!1,Be=void 0;try{for(var Ne,rt=ie[Symbol.iterator]();!(Ae=(Ne=rt.next()).done)&&(be.push(Ne.value),!pe||be.length!==pe);Ae=!0);}catch(Me){je=!0,Be=Me}finally{try{!Ae&&rt.return&&rt.return()}finally{if(je)throw Be}}return be}(ie,pe);throw new TypeError("Invalid attempt to destructure non-iterable instance")},L=function(){function Y(ie,pe){for(var be=0;be<pe.length;be++){var Ae=pe[be];Ae.enumerable=Ae.enumerable||!1,Ae.configurable=!0,"value"in Ae&&(Ae.writable=!0),Object.defineProperty(ie,Ae.key,Ae)}}return function(ie,pe,be){return pe&&Y(ie.prototype,pe),be&&Y(ie,be),ie}}(),C=z(R(2)),v=z(R(0)),E=z(R(5)),M=z(R(10)),j=z(R(9));function z(Y){return Y&&Y.__esModule?Y:{default:Y}}function V(Y,ie){if(!Y)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!ie||"object"!=typeof ie&&"function"!=typeof ie?Y:ie}var ce=(0,M.default)("quill:toolbar"),ae=function(Y){function ie(pe,be){!function q(Y,ie){if(!(Y instanceof ie))throw new TypeError("Cannot call a class as a function")}(this,ie);var Be,Ae=V(this,(ie.__proto__||Object.getPrototypeOf(ie)).call(this,pe,be));if(Array.isArray(Ae.options.container)){var je=document.createElement("div");he(je,Ae.options.container),pe.container.parentNode.insertBefore(je,pe.container),Ae.container=je}else Ae.container="string"==typeof Ae.options.container?document.querySelector(Ae.options.container):Ae.options.container;return Ae.container instanceof HTMLElement?(Ae.container.classList.add("ql-toolbar"),Ae.controls=[],Ae.handlers={},Object.keys(Ae.options.handlers).forEach(function(rt){Ae.addHandler(rt,Ae.options.handlers[rt])}),[].forEach.call(Ae.container.querySelectorAll("button, select"),function(rt){Ae.attach(rt)}),Ae.quill.on(E.default.events.EDITOR_CHANGE,function(rt,Ne){rt===E.default.events.SELECTION_CHANGE&&Ae.update(Ne)}),Ae.quill.on(E.default.events.SCROLL_OPTIMIZE,function(){var rt=Ae.quill.selection.getRange(),Ne=A(rt,1);Ae.update(Ne[0])}),Ae):(Be=ce.error("Container required for toolbar",Ae.options),V(Ae,Be))}return function Q(Y,ie){if("function"!=typeof ie&&null!==ie)throw new TypeError("Super expression must either be null or a function, not "+typeof ie);Y.prototype=Object.create(ie&&ie.prototype,{constructor:{value:Y,enumerable:!1,writable:!0,configurable:!0}}),ie&&(Object.setPrototypeOf?Object.setPrototypeOf(Y,ie):Y.__proto__=ie)}(ie,Y),L(ie,[{key:"addHandler",value:function(be,Ae){this.handlers[be]=Ae}},{key:"attach",value:function(be){var Ae=this,je=[].find.call(be.classList,function(rt){return 0===rt.indexOf("ql-")});if(je){if(je=je.slice(3),"BUTTON"===be.tagName&&be.setAttribute("type","button"),null==this.handlers[je]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[je])return void ce.warn("ignoring attaching to disabled format",je,be);if(null==v.default.query(je))return void ce.warn("ignoring attaching to nonexistent format",je,be)}be.addEventListener("SELECT"===be.tagName?"change":"click",function(rt){var Ne=void 0;if("SELECT"===be.tagName){if(be.selectedIndex<0)return;var Me=be.options[be.selectedIndex];Ne=!Me.hasAttribute("selected")&&(Me.value||!1)}else Ne=!be.classList.contains("ql-active")&&(be.value||!be.hasAttribute("value")),rt.preventDefault();Ae.quill.focus();var me=Ae.quill.selection.getRange(),Te=A(me,1)[0];if(null!=Ae.handlers[je])Ae.handlers[je].call(Ae,Ne);else if(v.default.query(je).prototype instanceof v.default.Embed){if(!(Ne=prompt("Enter "+je)))return;Ae.quill.updateContents((new C.default).retain(Te.index).delete(Te.length).insert(function F(Y,ie,pe){return ie in Y?Object.defineProperty(Y,ie,{value:pe,enumerable:!0,configurable:!0,writable:!0}):Y[ie]=pe,Y}({},je,Ne)),E.default.sources.USER)}else Ae.quill.format(je,Ne,E.default.sources.USER);Ae.update(Te)}),this.controls.push([je,be])}}},{key:"update",value:function(be){var Ae=null==be?{}:this.quill.getFormat(be);this.controls.forEach(function(je){var Be=A(je,2),rt=Be[0],Ne=Be[1];if("SELECT"===Ne.tagName){var Me=void 0;if(null==be)Me=null;else if(null==Ae[rt])Me=Ne.querySelector("option[selected]");else if(!Array.isArray(Ae[rt])){var me=Ae[rt];"string"==typeof me&&(me=me.replace(/\"/g,'\\"')),Me=Ne.querySelector('option[value="'+me+'"]')}null==Me?(Ne.value="",Ne.selectedIndex=-1):Me.selected=!0}else if(null==be)Ne.classList.remove("ql-active");else if(Ne.hasAttribute("value")){var ye=Ae[rt]===Ne.getAttribute("value")||null!=Ae[rt]&&Ae[rt].toString()===Ne.getAttribute("value")||null==Ae[rt]&&!Ne.getAttribute("value");Ne.classList.toggle("ql-active",ye)}else Ne.classList.toggle("ql-active",null!=Ae[rt])})}}]),ie}(j.default);function de(Y,ie,pe){var be=document.createElement("button");be.setAttribute("type","button"),be.classList.add("ql-"+ie),null!=pe&&(be.value=pe),Y.appendChild(be)}function he(Y,ie){Array.isArray(ie[0])||(ie=[ie]),ie.forEach(function(pe){var be=document.createElement("span");be.classList.add("ql-formats"),pe.forEach(function(Ae){if("string"==typeof Ae)de(be,Ae);else{var je=Object.keys(Ae)[0],Be=Ae[je];Array.isArray(Be)?function se(Y,ie,pe){var be=document.createElement("select");be.classList.add("ql-"+ie),pe.forEach(function(Ae){var je=document.createElement("option");!1!==Ae?je.setAttribute("value",Ae):je.setAttribute("selected","selected"),be.appendChild(je)}),Y.appendChild(be)}(be,je,Be):de(be,je,Be)}}),Y.appendChild(be)})}ae.DEFAULTS={},ae.DEFAULTS={container:null,handlers:{clean:function(){var ie=this,pe=this.quill.getSelection();if(null!=pe)if(0==pe.length){var be=this.quill.getFormat();Object.keys(be).forEach(function(Ae){null!=v.default.query(Ae,v.default.Scope.INLINE)&&ie.quill.format(Ae,!1)})}else this.quill.removeFormat(pe,E.default.sources.USER)},direction:function(ie){var pe=this.quill.getFormat().align;"rtl"===ie&&null==pe?this.quill.format("align","right",E.default.sources.USER):!ie&&"right"===pe&&this.quill.format("align",!1,E.default.sources.USER),this.quill.format("direction",ie,E.default.sources.USER)},indent:function(ie){var pe=this.quill.getSelection(),be=this.quill.getFormat(pe),Ae=parseInt(be.indent||0);if("+1"===ie||"-1"===ie){var je="+1"===ie?1:-1;"rtl"===be.direction&&(je*=-1),this.quill.format("indent",Ae+je,E.default.sources.USER)}},link:function(ie){!0===ie&&(ie=prompt("Enter link URL:")),this.quill.format("link",ie,E.default.sources.USER)},list:function(ie){var pe=this.quill.getSelection(),be=this.quill.getFormat(pe);this.quill.format("list","check"===ie?"checked"!==be.list&&"unchecked"!==be.list&&"unchecked":ie,E.default.sources.USER)}}},W.default=ae,W.addControls=he},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function M(O,j){for(var z=0;z<j.length;z++){var F=j[z];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(O,F.key,F)}}return function(O,j,z){return j&&M(O.prototype,j),z&&M(O,z),O}}(),L=function M(O,j,z){null===O&&(O=Function.prototype);var F=Object.getOwnPropertyDescriptor(O,j);if(void 0===F){var q=Object.getPrototypeOf(O);return null===q?void 0:M(q,j,z)}if("value"in F)return F.value;var V=F.get;return void 0===V?void 0:V.call(z)};var T=function(M){function O(j,z){!function v(M,O){if(!(M instanceof O))throw new TypeError("Cannot call a class as a function")}(this,O);var F=function D(M,O){if(!M)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!O||"object"!=typeof O&&"function"!=typeof O?M:O}(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,j));return F.label.innerHTML=z,F.container.classList.add("ql-color-picker"),[].slice.call(F.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(q){q.classList.add("ql-primary")}),F}return function E(M,O){if("function"!=typeof O&&null!==O)throw new TypeError("Super expression must either be null or a function, not "+typeof O);M.prototype=Object.create(O&&O.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(M,O):M.__proto__=O)}(O,M),A(O,[{key:"buildItem",value:function(z){var F=L(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"buildItem",this).call(this,z);return F.style.backgroundColor=z.getAttribute("value")||"",F}},{key:"selectItem",value:function(z,F){L(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"selectItem",this).call(this,z,F);var q=this.label.querySelector(".ql-color-label"),V=z&&z.getAttribute("data-value")||"";q&&("line"===q.tagName?q.style.stroke=V:q.style.fill=V)}}]),O}(function I(M){return M&&M.__esModule?M:{default:M}}(R(28)).default);W.default=T},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function M(O,j){for(var z=0;z<j.length;z++){var F=j[z];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(O,F.key,F)}}return function(O,j,z){return j&&M(O.prototype,j),z&&M(O,z),O}}(),L=function M(O,j,z){null===O&&(O=Function.prototype);var F=Object.getOwnPropertyDescriptor(O,j);if(void 0===F){var q=Object.getPrototypeOf(O);return null===q?void 0:M(q,j,z)}if("value"in F)return F.value;var V=F.get;return void 0===V?void 0:V.call(z)};var T=function(M){function O(j,z){!function v(M,O){if(!(M instanceof O))throw new TypeError("Cannot call a class as a function")}(this,O);var F=function D(M,O){if(!M)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!O||"object"!=typeof O&&"function"!=typeof O?M:O}(this,(O.__proto__||Object.getPrototypeOf(O)).call(this,j));return F.container.classList.add("ql-icon-picker"),[].forEach.call(F.container.querySelectorAll(".ql-picker-item"),function(q){q.innerHTML=z[q.getAttribute("data-value")||""]}),F.defaultItem=F.container.querySelector(".ql-selected"),F.selectItem(F.defaultItem),F}return function E(M,O){if("function"!=typeof O&&null!==O)throw new TypeError("Super expression must either be null or a function, not "+typeof O);M.prototype=Object.create(O&&O.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(M,O):M.__proto__=O)}(O,M),A(O,[{key:"selectItem",value:function(z,F){L(O.prototype.__proto__||Object.getPrototypeOf(O.prototype),"selectItem",this).call(this,z,F),this.label.innerHTML=(z=z||this.defaultItem).innerHTML}}]),O}(function I(M){return M&&M.__esModule?M:{default:M}}(R(28)).default);W.default=T},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function C(I,v){for(var D=0;D<v.length;D++){var E=v[D];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(I,E.key,E)}}return function(I,v,D){return v&&C(I.prototype,v),D&&C(I,D),I}}();var x=function(){function C(I,v){var D=this;(function L(C,I){if(!(C instanceof I))throw new TypeError("Cannot call a class as a function")})(this,C),this.quill=I,this.boundsContainer=v||document.body,this.root=I.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){D.root.style.marginTop=-1*D.quill.root.scrollTop+"px"}),this.hide()}return A(C,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(v){var D=v.left+v.width/2-this.root.offsetWidth/2,E=v.bottom+this.quill.root.scrollTop;this.root.style.left=D+"px",this.root.style.top=E+"px",this.root.classList.remove("ql-flip");var T=this.boundsContainer.getBoundingClientRect(),M=this.root.getBoundingClientRect(),O=0;return M.right>T.right&&(this.root.style.left=D+(O=T.right-M.right)+"px"),M.left<T.left&&(this.root.style.left=D+(O=T.left-M.left)+"px"),M.bottom>T.bottom&&(this.root.style.top=E-(v.bottom-v.top+(M.bottom-M.top))+"px",this.root.classList.add("ql-flip")),O}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),C}();W.default=x},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(Y,ie){if(Array.isArray(Y))return Y;if(Symbol.iterator in Object(Y))return function se(Y,ie){var pe=[],be=!0,Ae=!1,je=void 0;try{for(var rt,Be=Y[Symbol.iterator]();!(be=(rt=Be.next()).done)&&(pe.push(rt.value),!ie||pe.length!==ie);be=!0);}catch(Ne){Ae=!0,je=Ne}finally{try{!be&&Be.return&&Be.return()}finally{if(Ae)throw je}}return pe}(Y,ie);throw new TypeError("Invalid attempt to destructure non-iterable instance")},L=function se(Y,ie,pe){null===Y&&(Y=Function.prototype);var be=Object.getOwnPropertyDescriptor(Y,ie);if(void 0===be){var Ae=Object.getPrototypeOf(Y);return null===Ae?void 0:se(Ae,ie,pe)}if("value"in be)return be.value;var je=be.get;return void 0===je?void 0:je.call(pe)},x=function(){function se(Y,ie){for(var pe=0;pe<ie.length;pe++){var be=ie[pe];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(Y,be.key,be)}}return function(Y,ie,pe){return ie&&se(Y.prototype,ie),pe&&se(Y,pe),Y}}(),I=q(R(3)),D=q(R(8)),E=R(43),T=q(E),O=q(R(27)),j=R(15),F=q(R(41));function q(se){return se&&se.__esModule?se:{default:se}}function V(se,Y){if(!(se instanceof Y))throw new TypeError("Cannot call a class as a function")}function Q(se,Y){if(!se)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Y||"object"!=typeof Y&&"function"!=typeof Y?se:Y}function ce(se,Y){if("function"!=typeof Y&&null!==Y)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);se.prototype=Object.create(Y&&Y.prototype,{constructor:{value:se,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(se,Y):se.__proto__=Y)}var ae=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],de=function(se){function Y(ie,pe){V(this,Y),null!=pe.modules.toolbar&&null==pe.modules.toolbar.container&&(pe.modules.toolbar.container=ae);var be=Q(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,ie,pe));return be.quill.container.classList.add("ql-snow"),be}return ce(Y,se),x(Y,[{key:"extendToolbar",value:function(pe){pe.container.classList.add("ql-snow"),this.buildButtons([].slice.call(pe.container.querySelectorAll("button")),F.default),this.buildPickers([].slice.call(pe.container.querySelectorAll("select")),F.default),this.tooltip=new he(this.quill,this.options.bounds),pe.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(be,Ae){pe.handlers.link.call(pe,!Ae.format.link)})}}]),Y}(T.default);de.DEFAULTS=(0,I.default)(!0,{},T.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(Y){if(Y){var ie=this.quill.getSelection();if(null==ie||0==ie.length)return;var pe=this.quill.getText(ie);/^\S+@\S+\.\S+$/.test(pe)&&0!==pe.indexOf("mailto:")&&(pe="mailto:"+pe),this.quill.theme.tooltip.edit("link",pe)}else this.quill.format("link",!1)}}}}});var he=function(se){function Y(ie,pe){V(this,Y);var be=Q(this,(Y.__proto__||Object.getPrototypeOf(Y)).call(this,ie,pe));return be.preview=be.root.querySelector("a.ql-preview"),be}return ce(Y,se),x(Y,[{key:"listen",value:function(){var pe=this;L(Y.prototype.__proto__||Object.getPrototypeOf(Y.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(be){pe.root.classList.contains("ql-editing")?pe.save():pe.edit("link",pe.preview.textContent),be.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(be){if(null!=pe.linkRange){var Ae=pe.linkRange;pe.restoreFocus(),pe.quill.formatText(Ae,"link",!1,D.default.sources.USER),delete pe.linkRange}be.preventDefault(),pe.hide()}),this.quill.on(D.default.events.SELECTION_CHANGE,function(be,Ae,je){if(null!=be){if(0===be.length&&je===D.default.sources.USER){var Be=pe.quill.scroll.descendant(O.default,be.index),rt=A(Be,2),Ne=rt[0];if(null!=Ne){pe.linkRange=new j.Range(be.index-rt[1],Ne.length());var me=O.default.formats(Ne.domNode);return pe.preview.textContent=me,pe.preview.setAttribute("href",me),pe.show(),void pe.position(pe.quill.getBounds(pe.linkRange))}}else delete pe.linkRange;pe.hide()}})}},{key:"show",value:function(){L(Y.prototype.__proto__||Object.getPrototypeOf(Y.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),Y}(E.BaseTooltip);he.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),W.default=de},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var L=ht(R(29)),x=R(36),C=R(38),I=R(64),D=ht(R(65)),T=ht(R(66)),M=R(67),O=ht(M),j=R(37),z=R(26),F=R(39),q=R(40),Q=ht(R(56)),ae=ht(R(68)),he=ht(R(27)),Y=ht(R(69)),pe=ht(R(70)),Ae=ht(R(71)),Be=ht(R(72)),Ne=ht(R(73)),Me=R(13),me=ht(Me),Te=ht(R(74)),Ie=ht(R(75)),De=ht(R(57)),Ue=ht(R(41)),ot=ht(R(28)),an=ht(R(59)),qn=ht(R(60)),Xt=ht(R(61)),nt=ht(R(108)),Lt=ht(R(62));function ht($t){return $t&&$t.__esModule?$t:{default:$t}}L.default.register({"attributors/attribute/direction":C.DirectionAttribute,"attributors/class/align":x.AlignClass,"attributors/class/background":j.BackgroundClass,"attributors/class/color":z.ColorClass,"attributors/class/direction":C.DirectionClass,"attributors/class/font":F.FontClass,"attributors/class/size":q.SizeClass,"attributors/style/align":x.AlignStyle,"attributors/style/background":j.BackgroundStyle,"attributors/style/color":z.ColorStyle,"attributors/style/direction":C.DirectionStyle,"attributors/style/font":F.FontStyle,"attributors/style/size":q.SizeStyle},!0),L.default.register({"formats/align":x.AlignClass,"formats/direction":C.DirectionClass,"formats/indent":I.IndentClass,"formats/background":j.BackgroundStyle,"formats/color":z.ColorStyle,"formats/font":F.FontClass,"formats/size":q.SizeClass,"formats/blockquote":D.default,"formats/code-block":me.default,"formats/header":T.default,"formats/list":O.default,"formats/bold":Q.default,"formats/code":Me.Code,"formats/italic":ae.default,"formats/link":he.default,"formats/script":Y.default,"formats/strike":pe.default,"formats/underline":Ae.default,"formats/image":Be.default,"formats/video":Ne.default,"formats/list/item":M.ListItem,"modules/formula":Te.default,"modules/syntax":Ie.default,"modules/toolbar":De.default,"themes/bubble":nt.default,"themes/snow":Lt.default,"ui/icons":Ue.default,"ui/picker":ot.default,"ui/icon-picker":qn.default,"ui/color-picker":an.default,"ui/tooltip":Xt.default},!0),W.default=L.default},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.IndentClass=void 0;var A=function(){function O(j,z){for(var F=0;F<z.length;F++){var q=z[F];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(j,q.key,q)}}return function(j,z,F){return z&&O(j.prototype,z),F&&O(j,F),j}}(),L=function O(j,z,F){null===j&&(j=Function.prototype);var q=Object.getOwnPropertyDescriptor(j,z);if(void 0===q){var V=Object.getPrototypeOf(j);return null===V?void 0:O(V,z,F)}if("value"in q)return q.value;var Q=q.get;return void 0===Q?void 0:Q.call(F)},C=function I(O){return O&&O.__esModule?O:{default:O}}(R(0));var T=function(O){function j(){return function v(O,j){if(!(O instanceof j))throw new TypeError("Cannot call a class as a function")}(this,j),function D(O,j){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!j||"object"!=typeof j&&"function"!=typeof j?O:j}(this,(j.__proto__||Object.getPrototypeOf(j)).apply(this,arguments))}return function E(O,j){if("function"!=typeof j&&null!==j)throw new TypeError("Super expression must either be null or a function, not "+typeof j);O.prototype=Object.create(j&&j.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),j&&(Object.setPrototypeOf?Object.setPrototypeOf(O,j):O.__proto__=j)}(j,O),A(j,[{key:"add",value:function(F,q){if("+1"===q||"-1"===q){var V=this.value(F)||0;q="+1"===q?V+1:V-1}return 0===q?(this.remove(F),!0):L(j.prototype.__proto__||Object.getPrototypeOf(j.prototype),"add",this).call(this,F,q)}},{key:"canAdd",value:function(F,q){return L(j.prototype.__proto__||Object.getPrototypeOf(j.prototype),"canAdd",this).call(this,F,q)||L(j.prototype.__proto__||Object.getPrototypeOf(j.prototype),"canAdd",this).call(this,F,parseInt(q))}},{key:"value",value:function(F){return parseInt(L(j.prototype.__proto__||Object.getPrototypeOf(j.prototype),"value",this).call(this,F))||void 0}}]),j}(C.default.Attributor.Class),M=new T("indent","ql-indent",{scope:C.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});W.IndentClass=M},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var D=function(E){function T(){return function C(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")}(this,T),function I(E,T){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!T||"object"!=typeof T&&"function"!=typeof T?E:T}(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return function v(E,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function, not "+typeof T);E.prototype=Object.create(T&&T.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(E,T):E.__proto__=T)}(T,E),T}(function x(E){return E&&E.__esModule?E:{default:E}}(R(4)).default);D.blotName="blockquote",D.tagName="blockquote",W.default=D},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function T(M,O){for(var j=0;j<O.length;j++){var z=O[j];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(M,z.key,z)}}return function(M,O,j){return O&&T(M.prototype,O),j&&T(M,j),M}}();var E=function(T){function M(){return function I(T,M){if(!(T instanceof M))throw new TypeError("Cannot call a class as a function")}(this,M),function v(T,M){if(!T)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!M||"object"!=typeof M&&"function"!=typeof M?T:M}(this,(M.__proto__||Object.getPrototypeOf(M)).apply(this,arguments))}return function D(T,M){if("function"!=typeof M&&null!==M)throw new TypeError("Super expression must either be null or a function, not "+typeof M);T.prototype=Object.create(M&&M.prototype,{constructor:{value:T,enumerable:!1,writable:!0,configurable:!0}}),M&&(Object.setPrototypeOf?Object.setPrototypeOf(T,M):T.__proto__=M)}(M,T),A(M,null,[{key:"formats",value:function(j){return this.tagName.indexOf(j.tagName)+1}}]),M}(function C(T){return T&&T.__esModule?T:{default:T}}(R(4)).default);E.blotName="header",E.tagName=["H1","H2","H3","H4","H5","H6"],W.default=E},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.default=W.ListItem=void 0;var A=function(){function V(Q,ce){for(var ae=0;ae<ce.length;ae++){var de=ce[ae];de.enumerable=de.enumerable||!1,de.configurable=!0,"value"in de&&(de.writable=!0),Object.defineProperty(Q,de.key,de)}}return function(Q,ce,ae){return ce&&V(Q.prototype,ce),ae&&V(Q,ae),Q}}(),L=function V(Q,ce,ae){null===Q&&(Q=Function.prototype);var de=Object.getOwnPropertyDescriptor(Q,ce);if(void 0===de){var he=Object.getPrototypeOf(Q);return null===he?void 0:V(he,ce,ae)}if("value"in de)return de.value;var se=de.get;return void 0===se?void 0:se.call(ae)},C=T(R(0)),v=T(R(4)),E=T(R(25));function T(V){return V&&V.__esModule?V:{default:V}}function O(V,Q){if(!(V instanceof Q))throw new TypeError("Cannot call a class as a function")}function j(V,Q){if(!V)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!Q||"object"!=typeof Q&&"function"!=typeof Q?V:Q}function z(V,Q){if("function"!=typeof Q&&null!==Q)throw new TypeError("Super expression must either be null or a function, not "+typeof Q);V.prototype=Object.create(Q&&Q.prototype,{constructor:{value:V,enumerable:!1,writable:!0,configurable:!0}}),Q&&(Object.setPrototypeOf?Object.setPrototypeOf(V,Q):V.__proto__=Q)}var F=function(V){function Q(){return O(this,Q),j(this,(Q.__proto__||Object.getPrototypeOf(Q)).apply(this,arguments))}return z(Q,V),A(Q,[{key:"format",value:function(ae,de){ae!==q.blotName||de?L(Q.prototype.__proto__||Object.getPrototypeOf(Q.prototype),"format",this).call(this,ae,de):this.replaceWith(C.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():L(Q.prototype.__proto__||Object.getPrototypeOf(Q.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(ae,de){return this.parent.isolate(this.offset(this.parent),this.length()),ae===this.parent.statics.blotName?(this.parent.replaceWith(ae,de),this):(this.parent.unwrap(),L(Q.prototype.__proto__||Object.getPrototypeOf(Q.prototype),"replaceWith",this).call(this,ae,de))}}],[{key:"formats",value:function(ae){return ae.tagName===this.tagName?void 0:L(Q.__proto__||Object.getPrototypeOf(Q),"formats",this).call(this,ae)}}]),Q}(v.default);F.blotName="list-item",F.tagName="LI";var q=function(V){function Q(ce){O(this,Q);var ae=j(this,(Q.__proto__||Object.getPrototypeOf(Q)).call(this,ce)),de=function(se){if(se.target.parentNode===ce){var Y=ae.statics.formats(ce),ie=C.default.find(se.target);"checked"===Y?ie.format("list","unchecked"):"unchecked"===Y&&ie.format("list","checked")}};return ce.addEventListener("touchstart",de),ce.addEventListener("mousedown",de),ae}return z(Q,V),A(Q,null,[{key:"create",value:function(ae){var de="ordered"===ae?"OL":"UL",he=L(Q.__proto__||Object.getPrototypeOf(Q),"create",this).call(this,de);return("checked"===ae||"unchecked"===ae)&&he.setAttribute("data-checked","checked"===ae),he}},{key:"formats",value:function(ae){return"OL"===ae.tagName?"ordered":"UL"===ae.tagName?ae.hasAttribute("data-checked")?"true"===ae.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),A(Q,[{key:"format",value:function(ae,de){this.children.length>0&&this.children.tail.format(ae,de)}},{key:"formats",value:function(){return function M(V,Q,ce){return Q in V?Object.defineProperty(V,Q,{value:ce,enumerable:!0,configurable:!0,writable:!0}):V[Q]=ce,V}({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(ae,de){if(ae instanceof F)L(Q.prototype.__proto__||Object.getPrototypeOf(Q.prototype),"insertBefore",this).call(this,ae,de);else{var he=null==de?this.length():de.offset(this),se=this.split(he);se.parent.insertBefore(ae,se)}}},{key:"optimize",value:function(ae){L(Q.prototype.__proto__||Object.getPrototypeOf(Q.prototype),"optimize",this).call(this,ae);var de=this.next;null!=de&&de.prev===this&&de.statics.blotName===this.statics.blotName&&de.domNode.tagName===this.domNode.tagName&&de.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(de.moveChildren(this),de.remove())}},{key:"replace",value:function(ae){if(ae.statics.blotName!==this.statics.blotName){var de=C.default.create(this.statics.defaultChild);ae.moveChildren(de),this.appendChild(de)}L(Q.prototype.__proto__||Object.getPrototypeOf(Q.prototype),"replace",this).call(this,ae)}}]),Q}(E.default);q.blotName="list",q.scope=C.default.Scope.BLOCK_BLOT,q.tagName=["OL","UL"],q.defaultChild="list-item",q.allowedChildren=[F],W.ListItem=F,W.default=q},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var D=function(E){function T(){return function C(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")}(this,T),function I(E,T){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!T||"object"!=typeof T&&"function"!=typeof T?E:T}(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return function v(E,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function, not "+typeof T);E.prototype=Object.create(T&&T.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(E,T):E.__proto__=T)}(T,E),T}(function x(E){return E&&E.__esModule?E:{default:E}}(R(56)).default);D.blotName="italic",D.tagName=["EM","I"],W.default=D},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function M(O,j){for(var z=0;z<j.length;z++){var F=j[z];F.enumerable=F.enumerable||!1,F.configurable=!0,"value"in F&&(F.writable=!0),Object.defineProperty(O,F.key,F)}}return function(O,j,z){return j&&M(O.prototype,j),z&&M(O,z),O}}(),L=function M(O,j,z){null===O&&(O=Function.prototype);var F=Object.getOwnPropertyDescriptor(O,j);if(void 0===F){var q=Object.getPrototypeOf(O);return null===q?void 0:M(q,j,z)}if("value"in F)return F.value;var V=F.get;return void 0===V?void 0:V.call(z)};var T=function(M){function O(){return function v(M,O){if(!(M instanceof O))throw new TypeError("Cannot call a class as a function")}(this,O),function D(M,O){if(!M)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!O||"object"!=typeof O&&"function"!=typeof O?M:O}(this,(O.__proto__||Object.getPrototypeOf(O)).apply(this,arguments))}return function E(M,O){if("function"!=typeof O&&null!==O)throw new TypeError("Super expression must either be null or a function, not "+typeof O);M.prototype=Object.create(O&&O.prototype,{constructor:{value:M,enumerable:!1,writable:!0,configurable:!0}}),O&&(Object.setPrototypeOf?Object.setPrototypeOf(M,O):M.__proto__=O)}(O,M),A(O,null,[{key:"create",value:function(z){return"super"===z?document.createElement("sup"):"sub"===z?document.createElement("sub"):L(O.__proto__||Object.getPrototypeOf(O),"create",this).call(this,z)}},{key:"formats",value:function(z){return"SUB"===z.tagName?"sub":"SUP"===z.tagName?"super":void 0}}]),O}(function I(M){return M&&M.__esModule?M:{default:M}}(R(6)).default);T.blotName="script",T.tagName=["SUB","SUP"],W.default=T},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var D=function(E){function T(){return function C(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")}(this,T),function I(E,T){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!T||"object"!=typeof T&&"function"!=typeof T?E:T}(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return function v(E,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function, not "+typeof T);E.prototype=Object.create(T&&T.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(E,T):E.__proto__=T)}(T,E),T}(function x(E){return E&&E.__esModule?E:{default:E}}(R(6)).default);D.blotName="strike",D.tagName="S",W.default=D},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var D=function(E){function T(){return function C(E,T){if(!(E instanceof T))throw new TypeError("Cannot call a class as a function")}(this,T),function I(E,T){if(!E)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!T||"object"!=typeof T&&"function"!=typeof T?E:T}(this,(T.__proto__||Object.getPrototypeOf(T)).apply(this,arguments))}return function v(E,T){if("function"!=typeof T&&null!==T)throw new TypeError("Super expression must either be null or a function, not "+typeof T);E.prototype=Object.create(T&&T.prototype,{constructor:{value:E,enumerable:!1,writable:!0,configurable:!0}}),T&&(Object.setPrototypeOf?Object.setPrototypeOf(E,T):E.__proto__=T)}(T,E),T}(function x(E){return E&&E.__esModule?E:{default:E}}(R(6)).default);D.blotName="underline",D.tagName="U",W.default=D},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function j(z,F){for(var q=0;q<F.length;q++){var V=F[q];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(z,V.key,V)}}return function(z,F,q){return F&&j(z.prototype,F),q&&j(z,q),z}}(),L=function j(z,F,q){null===z&&(z=Function.prototype);var V=Object.getOwnPropertyDescriptor(z,F);if(void 0===V){var Q=Object.getPrototypeOf(z);return null===Q?void 0:j(Q,F,q)}if("value"in V)return V.value;var ce=V.get;return void 0===ce?void 0:ce.call(q)},C=function v(j){return j&&j.__esModule?j:{default:j}}(R(0)),I=R(27);var M=["alt","height","width"],O=function(j){function z(){return function D(j,z){if(!(j instanceof z))throw new TypeError("Cannot call a class as a function")}(this,z),function E(j,z){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!z||"object"!=typeof z&&"function"!=typeof z?j:z}(this,(z.__proto__||Object.getPrototypeOf(z)).apply(this,arguments))}return function T(j,z){if("function"!=typeof z&&null!==z)throw new TypeError("Super expression must either be null or a function, not "+typeof z);j.prototype=Object.create(z&&z.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(j,z):j.__proto__=z)}(z,j),A(z,[{key:"format",value:function(q,V){M.indexOf(q)>-1?V?this.domNode.setAttribute(q,V):this.domNode.removeAttribute(q):L(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"format",this).call(this,q,V)}}],[{key:"create",value:function(q){var V=L(z.__proto__||Object.getPrototypeOf(z),"create",this).call(this,q);return"string"==typeof q&&V.setAttribute("src",this.sanitize(q)),V}},{key:"formats",value:function(q){return M.reduce(function(V,Q){return q.hasAttribute(Q)&&(V[Q]=q.getAttribute(Q)),V},{})}},{key:"match",value:function(q){return/\.(jpe?g|gif|png)$/.test(q)||/^data:image\/.+;base64/.test(q)}},{key:"sanitize",value:function(q){return(0,I.sanitize)(q,["http","https","data"])?q:"//:0"}},{key:"value",value:function(q){return q.getAttribute("src")}}]),z}(C.default.Embed);O.blotName="image",O.tagName="IMG",W.default=O},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0});var A=function(){function j(z,F){for(var q=0;q<F.length;q++){var V=F[q];V.enumerable=V.enumerable||!1,V.configurable=!0,"value"in V&&(V.writable=!0),Object.defineProperty(z,V.key,V)}}return function(z,F,q){return F&&j(z.prototype,F),q&&j(z,q),z}}(),L=function j(z,F,q){null===z&&(z=Function.prototype);var V=Object.getOwnPropertyDescriptor(z,F);if(void 0===V){var Q=Object.getPrototypeOf(z);return null===Q?void 0:j(Q,F,q)}if("value"in V)return V.value;var ce=V.get;return void 0===ce?void 0:ce.call(q)},x=R(4),I=function v(j){return j&&j.__esModule?j:{default:j}}(R(27));var M=["height","width"],O=function(j){function z(){return function D(j,z){if(!(j instanceof z))throw new TypeError("Cannot call a class as a function")}(this,z),function E(j,z){if(!j)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!z||"object"!=typeof z&&"function"!=typeof z?j:z}(this,(z.__proto__||Object.getPrototypeOf(z)).apply(this,arguments))}return function T(j,z){if("function"!=typeof z&&null!==z)throw new TypeError("Super expression must either be null or a function, not "+typeof z);j.prototype=Object.create(z&&z.prototype,{constructor:{value:j,enumerable:!1,writable:!0,configurable:!0}}),z&&(Object.setPrototypeOf?Object.setPrototypeOf(j,z):j.__proto__=z)}(z,j),A(z,[{key:"format",value:function(q,V){M.indexOf(q)>-1?V?this.domNode.setAttribute(q,V):this.domNode.removeAttribute(q):L(z.prototype.__proto__||Object.getPrototypeOf(z.prototype),"format",this).call(this,q,V)}}],[{key:"create",value:function(q){var V=L(z.__proto__||Object.getPrototypeOf(z),"create",this).call(this,q);return V.setAttribute("frameborder","0"),V.setAttribute("allowfullscreen",!0),V.setAttribute("src",this.sanitize(q)),V}},{key:"formats",value:function(q){return M.reduce(function(V,Q){return q.hasAttribute(Q)&&(V[Q]=q.getAttribute(Q)),V},{})}},{key:"sanitize",value:function(q){return I.default.sanitize(q)}},{key:"value",value:function(q){return q.getAttribute("src")}}]),z}(x.BlockEmbed);O.blotName="video",O.className="ql-video",O.tagName="IFRAME",W.default=O},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.default=W.FormulaBlot=void 0;var A=function(){function q(V,Q){for(var ce=0;ce<Q.length;ce++){var ae=Q[ce];ae.enumerable=ae.enumerable||!1,ae.configurable=!0,"value"in ae&&(ae.writable=!0),Object.defineProperty(V,ae.key,ae)}}return function(V,Q,ce){return Q&&q(V.prototype,Q),ce&&q(V,ce),V}}(),L=function q(V,Q,ce){null===V&&(V=Function.prototype);var ae=Object.getOwnPropertyDescriptor(V,Q);if(void 0===ae){var de=Object.getPrototypeOf(V);return null===de?void 0:q(de,Q,ce)}if("value"in ae)return ae.value;var he=ae.get;return void 0===he?void 0:he.call(ce)},C=T(R(35)),v=T(R(5)),E=T(R(9));function T(q){return q&&q.__esModule?q:{default:q}}function M(q,V){if(!(q instanceof V))throw new TypeError("Cannot call a class as a function")}function O(q,V){if(!q)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!V||"object"!=typeof V&&"function"!=typeof V?q:V}function j(q,V){if("function"!=typeof V&&null!==V)throw new TypeError("Super expression must either be null or a function, not "+typeof V);q.prototype=Object.create(V&&V.prototype,{constructor:{value:q,enumerable:!1,writable:!0,configurable:!0}}),V&&(Object.setPrototypeOf?Object.setPrototypeOf(q,V):q.__proto__=V)}var z=function(q){function V(){return M(this,V),O(this,(V.__proto__||Object.getPrototypeOf(V)).apply(this,arguments))}return j(V,q),A(V,null,[{key:"create",value:function(ce){var ae=L(V.__proto__||Object.getPrototypeOf(V),"create",this).call(this,ce);return"string"==typeof ce&&(window.katex.render(ce,ae,{throwOnError:!1,errorColor:"#f00"}),ae.setAttribute("data-value",ce)),ae}},{key:"value",value:function(ce){return ce.getAttribute("data-value")}}]),V}(C.default);z.blotName="formula",z.className="ql-formula",z.tagName="SPAN";var F=function(q){function V(){M(this,V);var Q=O(this,(V.__proto__||Object.getPrototypeOf(V)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return Q}return j(V,q),A(V,null,[{key:"register",value:function(){v.default.register(z,!0)}}]),V}(E.default);W.FormulaBlot=z,W.default=F},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.default=W.CodeToken=W.CodeBlock=void 0;var A=function(){function ce(ae,de){for(var he=0;he<de.length;he++){var se=de[he];se.enumerable=se.enumerable||!1,se.configurable=!0,"value"in se&&(se.writable=!0),Object.defineProperty(ae,se.key,se)}}return function(ae,de,he){return de&&ce(ae.prototype,de),he&&ce(ae,he),ae}}(),L=function ce(ae,de,he){null===ae&&(ae=Function.prototype);var se=Object.getOwnPropertyDescriptor(ae,de);if(void 0===se){var Y=Object.getPrototypeOf(ae);return null===Y?void 0:ce(Y,de,he)}if("value"in se)return se.value;var ie=se.get;return void 0===ie?void 0:ie.call(he)},C=O(R(0)),v=O(R(5)),E=O(R(9));function O(ce){return ce&&ce.__esModule?ce:{default:ce}}function j(ce,ae){if(!(ce instanceof ae))throw new TypeError("Cannot call a class as a function")}function z(ce,ae){if(!ce)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!ae||"object"!=typeof ae&&"function"!=typeof ae?ce:ae}function F(ce,ae){if("function"!=typeof ae&&null!==ae)throw new TypeError("Super expression must either be null or a function, not "+typeof ae);ce.prototype=Object.create(ae&&ae.prototype,{constructor:{value:ce,enumerable:!1,writable:!0,configurable:!0}}),ae&&(Object.setPrototypeOf?Object.setPrototypeOf(ce,ae):ce.__proto__=ae)}var q=function(ce){function ae(){return j(this,ae),z(this,(ae.__proto__||Object.getPrototypeOf(ae)).apply(this,arguments))}return F(ae,ce),A(ae,[{key:"replaceWith",value:function(he){this.domNode.textContent=this.domNode.textContent,this.attach(),L(ae.prototype.__proto__||Object.getPrototypeOf(ae.prototype),"replaceWith",this).call(this,he)}},{key:"highlight",value:function(he){var se=this.domNode.textContent;this.cachedText!==se&&((se.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=he(se),this.domNode.normalize(),this.attach()),this.cachedText=se)}}]),ae}(O(R(13)).default);q.className="ql-syntax";var V=new C.default.Attributor.Class("token","hljs",{scope:C.default.Scope.INLINE}),Q=function(ce){function ae(de,he){j(this,ae);var se=z(this,(ae.__proto__||Object.getPrototypeOf(ae)).call(this,de,he));if("function"!=typeof se.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var Y=null;return se.quill.on(v.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(Y),Y=setTimeout(function(){se.highlight(),Y=null},se.options.interval)}),se.highlight(),se}return F(ae,ce),A(ae,null,[{key:"register",value:function(){v.default.register(V,!0),v.default.register(q,!0)}}]),A(ae,[{key:"highlight",value:function(){var he=this;if(!this.quill.selection.composing){this.quill.update(v.default.sources.USER);var se=this.quill.getSelection();this.quill.scroll.descendants(q).forEach(function(Y){Y.highlight(he.options.highlight)}),this.quill.update(v.default.sources.SILENT),null!=se&&this.quill.setSelection(se,v.default.sources.SILENT)}}}]),ae}(E.default);Q.DEFAULTS={highlight:null==window.hljs?null:function(ce){return window.hljs.highlightAuto(ce).value},interval:1e3},W.CodeBlock=q,W.CodeToken=V,W.default=Q},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(_e,W){_e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(_e,W){_e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(_e,W){_e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(_e,W){_e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(_e,W){_e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(_e,W,R){"use strict";Object.defineProperty(W,"__esModule",{value:!0}),W.default=W.BubbleTooltip=void 0;var A=function ae(de,he,se){null===de&&(de=Function.prototype);var Y=Object.getOwnPropertyDescriptor(de,he);if(void 0===Y){var ie=Object.getPrototypeOf(de);return null===ie?void 0:ae(ie,he,se)}if("value"in Y)return Y.value;var pe=Y.get;return void 0===pe?void 0:pe.call(se)},L=function(){function ae(de,he){for(var se=0;se<he.length;se++){var Y=he[se];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(de,Y.key,Y)}}return function(de,he,se){return he&&ae(de.prototype,he),se&&ae(de,se),de}}(),C=j(R(3)),v=j(R(8)),D=R(43),E=j(D),T=R(15),O=j(R(41));function j(ae){return ae&&ae.__esModule?ae:{default:ae}}function z(ae,de){if(!(ae instanceof de))throw new TypeError("Cannot call a class as a function")}function F(ae,de){if(!ae)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!de||"object"!=typeof de&&"function"!=typeof de?ae:de}function q(ae,de){if("function"!=typeof de&&null!==de)throw new TypeError("Super expression must either be null or a function, not "+typeof de);ae.prototype=Object.create(de&&de.prototype,{constructor:{value:ae,enumerable:!1,writable:!0,configurable:!0}}),de&&(Object.setPrototypeOf?Object.setPrototypeOf(ae,de):ae.__proto__=de)}var V=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],Q=function(ae){function de(he,se){z(this,de),null!=se.modules.toolbar&&null==se.modules.toolbar.container&&(se.modules.toolbar.container=V);var Y=F(this,(de.__proto__||Object.getPrototypeOf(de)).call(this,he,se));return Y.quill.container.classList.add("ql-bubble"),Y}return q(de,ae),L(de,[{key:"extendToolbar",value:function(se){this.tooltip=new ce(this.quill,this.options.bounds),this.tooltip.root.appendChild(se.container),this.buildButtons([].slice.call(se.container.querySelectorAll("button")),O.default),this.buildPickers([].slice.call(se.container.querySelectorAll("select")),O.default)}}]),de}(E.default);Q.DEFAULTS=(0,C.default)(!0,{},E.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(de){de?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var ce=function(ae){function de(he,se){z(this,de);var Y=F(this,(de.__proto__||Object.getPrototypeOf(de)).call(this,he,se));return Y.quill.on(v.default.events.EDITOR_CHANGE,function(ie,pe,be,Ae){if(ie===v.default.events.SELECTION_CHANGE)if(null!=pe&&pe.length>0&&Ae===v.default.sources.USER){Y.show(),Y.root.style.left="0px",Y.root.style.width="",Y.root.style.width=Y.root.offsetWidth+"px";var je=Y.quill.getLines(pe.index,pe.length);if(1===je.length)Y.position(Y.quill.getBounds(pe));else{var Be=je[je.length-1],rt=Y.quill.getIndex(Be),Ne=Math.min(Be.length()-1,pe.index+pe.length-rt),Me=Y.quill.getBounds(new T.Range(rt,Ne));Y.position(Me)}}else document.activeElement!==Y.textbox&&Y.quill.hasFocus()&&Y.hide()}),Y}return q(de,ae),L(de,[{key:"listen",value:function(){var se=this;A(de.prototype.__proto__||Object.getPrototypeOf(de.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){se.root.classList.remove("ql-editing")}),this.quill.on(v.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!se.root.classList.contains("ql-hidden")){var Y=se.quill.getSelection();null!=Y&&se.position(se.quill.getBounds(Y))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(se){var Y=A(de.prototype.__proto__||Object.getPrototypeOf(de.prototype),"position",this).call(this,se),ie=this.root.querySelector(".ql-tooltip-arrow");if(ie.style.marginLeft="",0===Y)return Y;ie.style.marginLeft=-1*Y-ie.offsetWidth/2+"px"}}]),de}(D.BaseTooltip);ce.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),W.BubbleTooltip=ce,W.default=Q},function(_e,W,R){_e.exports=R(63)}]).default},6700:(qe,_e,W)=>{var R={"./af":3274,"./af.js":3274,"./ar":2097,"./ar-dz":1867,"./ar-dz.js":1867,"./ar-kw":7078,"./ar-kw.js":7078,"./ar-ly":7776,"./ar-ly.js":7776,"./ar-ma":6789,"./ar-ma.js":6789,"./ar-sa":6897,"./ar-sa.js":6897,"./ar-tn":1585,"./ar-tn.js":1585,"./ar.js":2097,"./az":5611,"./az.js":5611,"./be":2459,"./be.js":2459,"./bg":1825,"./bg.js":1825,"./bm":5918,"./bm.js":5918,"./bn":4065,"./bn-bd":9683,"./bn-bd.js":9683,"./bn.js":4065,"./bo":1034,"./bo.js":1034,"./br":7671,"./br.js":7671,"./bs":8153,"./bs.js":8153,"./ca":4287,"./ca.js":4287,"./cs":2616,"./cs.js":2616,"./cv":7049,"./cv.js":7049,"./cy":9172,"./cy.js":9172,"./da":605,"./da.js":605,"./de":4013,"./de-at":3395,"./de-at.js":3395,"./de-ch":9835,"./de-ch.js":9835,"./de.js":4013,"./dv":4570,"./dv.js":4570,"./el":1859,"./el.js":1859,"./en-au":5785,"./en-au.js":5785,"./en-ca":3792,"./en-ca.js":3792,"./en-gb":7651,"./en-gb.js":7651,"./en-ie":1929,"./en-ie.js":1929,"./en-il":9818,"./en-il.js":9818,"./en-in":6612,"./en-in.js":6612,"./en-nz":4900,"./en-nz.js":4900,"./en-sg":2721,"./en-sg.js":2721,"./eo":5159,"./eo.js":5159,"./es":1954,"./es-do":1780,"./es-do.js":1780,"./es-mx":3468,"./es-mx.js":3468,"./es-us":4938,"./es-us.js":4938,"./es.js":1954,"./et":1453,"./et.js":1453,"./eu":4697,"./eu.js":4697,"./fa":2900,"./fa.js":2900,"./fi":9775,"./fi.js":9775,"./fil":4282,"./fil.js":4282,"./fo":4236,"./fo.js":4236,"./fr":9361,"./fr-ca":2830,"./fr-ca.js":2830,"./fr-ch":1412,"./fr-ch.js":1412,"./fr.js":9361,"./fy":6984,"./fy.js":6984,"./ga":3961,"./ga.js":3961,"./gd":8849,"./gd.js":8849,"./gl":4273,"./gl.js":4273,"./gom-deva":623,"./gom-deva.js":623,"./gom-latn":2696,"./gom-latn.js":2696,"./gu":6928,"./gu.js":6928,"./he":4804,"./he.js":4804,"./hi":3015,"./hi.js":3015,"./hr":7134,"./hr.js":7134,"./hu":670,"./hu.js":670,"./hy-am":4523,"./hy-am.js":4523,"./id":9233,"./id.js":9233,"./is":4693,"./is.js":4693,"./it":3936,"./it-ch":8118,"./it-ch.js":8118,"./it.js":3936,"./ja":6871,"./ja.js":6871,"./jv":8710,"./jv.js":8710,"./ka":7125,"./ka.js":7125,"./kk":2461,"./kk.js":2461,"./km":7399,"./km.js":7399,"./kn":8720,"./kn.js":8720,"./ko":5306,"./ko.js":5306,"./ku":2995,"./ku.js":2995,"./ky":8779,"./ky.js":8779,"./lb":2057,"./lb.js":2057,"./lo":7192,"./lo.js":7192,"./lt":5430,"./lt.js":5430,"./lv":3363,"./lv.js":3363,"./me":2939,"./me.js":2939,"./mi":8212,"./mi.js":8212,"./mk":9718,"./mk.js":9718,"./ml":561,"./ml.js":561,"./mn":8929,"./mn.js":8929,"./mr":4880,"./mr.js":4880,"./ms":3193,"./ms-my":2074,"./ms-my.js":2074,"./ms.js":3193,"./mt":4082,"./mt.js":4082,"./my":2261,"./my.js":2261,"./nb":5273,"./nb.js":5273,"./ne":9874,"./ne.js":9874,"./nl":1667,"./nl-be":1484,"./nl-be.js":1484,"./nl.js":1667,"./nn":7262,"./nn.js":7262,"./oc-lnc":9679,"./oc-lnc.js":9679,"./pa-in":6830,"./pa-in.js":6830,"./pl":3616,"./pl.js":3616,"./pt":5138,"./pt-br":2751,"./pt-br.js":2751,"./pt.js":5138,"./ro":7968,"./ro.js":7968,"./ru":1828,"./ru.js":1828,"./sd":2188,"./sd.js":2188,"./se":6562,"./se.js":6562,"./si":7172,"./si.js":7172,"./sk":9966,"./sk.js":9966,"./sl":7520,"./sl.js":7520,"./sq":5291,"./sq.js":5291,"./sr":450,"./sr-cyrl":7603,"./sr-cyrl.js":7603,"./sr.js":450,"./ss":383,"./ss.js":383,"./sv":7221,"./sv.js":7221,"./sw":1743,"./sw.js":1743,"./ta":6351,"./ta.js":6351,"./te":9620,"./te.js":9620,"./tet":6278,"./tet.js":6278,"./tg":6987,"./tg.js":6987,"./th":9325,"./th.js":9325,"./tk":3485,"./tk.js":3485,"./tl-ph":8148,"./tl-ph.js":8148,"./tlh":9616,"./tlh.js":9616,"./tr":4040,"./tr.js":4040,"./tzl":594,"./tzl.js":594,"./tzm":673,"./tzm-latn":3226,"./tzm-latn.js":3226,"./tzm.js":673,"./ug-cn":9580,"./ug-cn.js":9580,"./uk":7270,"./uk.js":7270,"./ur":1656,"./ur.js":1656,"./uz":8364,"./uz-latn":8744,"./uz-latn.js":8744,"./uz.js":8364,"./vi":5049,"./vi.js":5049,"./x-pseudo":5106,"./x-pseudo.js":5106,"./yo":6199,"./yo.js":6199,"./zh-cn":7280,"./zh-cn.js":7280,"./zh-hk":6860,"./zh-hk.js":6860,"./zh-mo":2335,"./zh-mo.js":2335,"./zh-tw":482,"./zh-tw.js":482};function A(x){var C=L(x);return W(C)}function L(x){if(!W.o(R,x)){var C=new Error("Cannot find module '"+x+"'");throw C.code="MODULE_NOT_FOUND",C}return R[x]}A.keys=function(){return Object.keys(R)},A.resolve=L,qe.exports=A,A.id=6700}},qe=>{qe(qe.s=1835)}]);