@syncfusion/ej2-documenteditor
Version:
Feature-rich document editor control with built-in support for context menu, options pane and dialogs.
10 lines • 4.3 MB
JavaScript
/*!
* filename: ej2-documenteditor.min.js
* version : 32.1.23
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionBase"),require("SyncfusionNavigations"),require("SyncfusionCompression"),require("SyncfusionButtons"),require("SyncfusionSplitbuttons"),require("SyncfusionPopups"),require("SyncfusionLists"),require("SyncfusionInputs"),require("SyncfusionDropdowns"),require("SyncfusionCalendars"),require("SyncfusionData"),require("SyncfusionOfficeChart"),require("SyncfusionFileUtils")):"function"==typeof define&&define.amd?define(["SyncfusionBase","SyncfusionNavigations","SyncfusionCompression","SyncfusionButtons","SyncfusionSplitbuttons","SyncfusionPopups","SyncfusionLists","SyncfusionInputs","SyncfusionDropdowns","SyncfusionCalendars","SyncfusionData","SyncfusionOfficeChart","SyncfusionFileUtils"],t):"object"==typeof exports?exports.SyncfusionDocumenteditor=t(require("SyncfusionBase"),require("SyncfusionNavigations"),require("SyncfusionCompression"),require("SyncfusionButtons"),require("SyncfusionSplitbuttons"),require("SyncfusionPopups"),require("SyncfusionLists"),require("SyncfusionInputs"),require("SyncfusionDropdowns"),require("SyncfusionCalendars"),require("SyncfusionData"),require("SyncfusionOfficeChart"),require("SyncfusionFileUtils")):e.SyncfusionDocumenteditor=t(e.SyncfusionBase,e.SyncfusionNavigations,e.SyncfusionCompression,e.SyncfusionButtons,e.SyncfusionSplitbuttons,e.SyncfusionPopups,e.SyncfusionLists,e.SyncfusionInputs,e.SyncfusionDropdowns,e.SyncfusionCalendars,e.SyncfusionData,e.SyncfusionOfficeChart,e.SyncfusionFileUtils)}(self,(e,t,i,n,r,o,s,a,l,d,h,c,p)=>(()=>{"use strict";var u={766:t=>{t.exports=e},741:e=>{e.exports=n},570:e=>{e.exports=d},50:e=>{e.exports=i},74:e=>{e.exports=h},778:e=>{e.exports=l},115:e=>{e.exports=p},323:e=>{e.exports=a},90:e=>{e.exports=s},215:e=>{e.exports=t},35:e=>{e.exports=c},197:e=>{e.exports=o},295:e=>{e.exports=r}},g={};function m(e){var t=g[e];if(void 0!==t)return t.exports;var i=g[e]={exports:{}};return u[e](i,i.exports,m),i.exports}m.d=(e,t)=>{for(var i in t)m.o(t,i)&&!m.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},m.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),m.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var f={};return(()=>{var e,t,i,n;m.r(f),m.d(f,{AddUserDialog:()=>Hl,AutoResizeSettings:()=>Zp,Base64:()=>Aa,BaseHistoryInfo:()=>qc,BlockContainer:()=>td,BlockWidget:()=>rd,BodyWidget:()=>id,BookmarkDialog:()=>lc,BookmarkElementBox:()=>kd,BordersAndShadingDialog:()=>Cc,BreakElementBox:()=>ph,BulletsAndNumberingDialog:()=>vc,CONTROL_CHARACTERS:()=>o,CellFormatHistoryInfo:()=>Vc,CellHistoryFormat:()=>_c,CellOptionsDialog:()=>Ic,ChangesSingleView:()=>qa,CharacterRangeType:()=>e,ChartArea:()=>_d,ChartCategory:()=>qd,ChartCategoryAxis:()=>ih,ChartData:()=>jd,ChartDataFormat:()=>$d,ChartDataLabels:()=>Jd,ChartDataTable:()=>nh,ChartElementBox:()=>Vd,ChartErrorBar:()=>Xd,ChartFill:()=>eh,ChartLayout:()=>th,ChartLegend:()=>Gd,ChartSeries:()=>Kd,ChartSeriesFormat:()=>Zd,ChartTitleArea:()=>Qd,ChartTrendLines:()=>Yd,CheckBoxFormField:()=>fd,CheckBoxFormFieldDialog:()=>Tc,CheckBoxState:()=>Fd,CollaborativeEditing:()=>tp,CollaborativeEditingHandler:()=>Np,CollaborativeEditingSettings:()=>$p,ColumnLayout:()=>Zl,ColumnSizeInfo:()=>dh,ColumnsDialog:()=>Ec,Comment:()=>s,CommentCharacterElementBox:()=>rh,CommentEditInfo:()=>hh,CommentElementBox:()=>oh,CommentPane:()=>rc,CommentReviewPane:()=>nc,CommentView:()=>oc,ContainerServerActionSettings:()=>eu,ContentControl:()=>Sd,ContentControlListItems:()=>Pd,ContentControlProperties:()=>Td,ContextMenu:()=>ic,CustomXmlPart:()=>Ed,Dictionary:()=>l,DocumentEditor:()=>Jp,DocumentEditorContainer:()=>Tw,DocumentEditorSettings:()=>jp,DocumentHelper:()=>jl,DocumentSettings:()=>Gp,DropDownFormField:()=>vd,DropDownFormFieldDialog:()=>Fc,EditRangeEndElementBox:()=>Ud,EditRangeStartElementBox:()=>zd,Editor:()=>Yc,EditorHistory:()=>Kc,ElementBox:()=>pd,EnforceProtectionDialog:()=>Ol,ErrorTextElementBox:()=>Cd,FieldElementBox:()=>ud,FieldTextElementBox:()=>xd,FillFormat:()=>Rd,FontDialog:()=>yc,FontScheme:()=>Al,FontSchemeStruct:()=>Ul,FontScriptType:()=>t,FootNoteWidget:()=>od,Footnote:()=>bd,FootnoteElementBox:()=>wd,FootnoteEndnoteMarkerElementBox:()=>gh,FormField:()=>gd,FormFieldPopUp:()=>Dl,FormFieldSettings:()=>Qp,GroupShapeElementBox:()=>Bd,HOME_TAB_ID:()=>Bv,HOME_TAB_TEXT:()=>Lv,HeaderFooterWidget:()=>nd,HelperMethods:()=>Ra,HistoryInfo:()=>Gc,HomeTab:()=>Dv,HtmlExport:()=>Cp,Hyperlink:()=>Bc,HyperlinkDialog:()=>sc,ImageElementBox:()=>Md,ImageResizer:()=>Qc,ImageResizingPoints:()=>$c,ImageSizeInfo:()=>Lc,Layout:()=>cl,LayoutViewer:()=>Gl,LineFormat:()=>Dd,LineWidget:()=>cd,ListDialog:()=>gc,ListTextElementBox:()=>Ad,LocaleId:()=>i,MajorMinorFontScheme:()=>Ml,Margin:()=>$l,MentionDataEditInfo:()=>ch,ModifiedLevel:()=>Dc,ModifiedParagraphFormat:()=>Rc,OpenAsyncSettings:()=>Xp,Optimized:()=>kp,OptionsPane:()=>dp,Padding:()=>Ql,Page:()=>sh,PageLayoutViewer:()=>Kl,PageSetupDialog:()=>hc,ParagraphDialog:()=>cc,ParagraphWidget:()=>sd,Point:()=>Ma,Print:()=>Ta,Rect:()=>Yl,Regular:()=>Sp,Renderer:()=>Sl,RestrictEditing:()=>Bl,Revision:()=>ja,RevisionCollection:()=>Ga,RevisionSettings:()=>Kp,Ribbon:()=>gw,RowFormatHistoryInfo:()=>zc,RowHistoryFormat:()=>Mc,Search:()=>lp,SearchWidgetInfo:()=>rp,SectionBreakType:()=>n,SelectedImageInfo:()=>ep,Selection:()=>xp,SelectionBorder:()=>cp,SelectionBorders:()=>pp,SelectionCellFormat:()=>vp,SelectionCharacterFormat:()=>hp,SelectionColumnFormat:()=>wp,SelectionHeaderFooter:()=>gp,SelectionImageFormat:()=>bp,SelectionParagraphFormat:()=>up,SelectionRowFormat:()=>yp,SelectionSectionFormat:()=>mp,SelectionTableFormat:()=>fp,SelectionWidgetInfo:()=>Wc,ServerActionSettings:()=>Yp,SfdtExport:()=>Op,SfdtReader:()=>Pp,ShapeBase:()=>Nd,ShapeCommon:()=>Od,ShapeElementBox:()=>Wd,SpellCheckDialog:()=>Sc,SpellChecker:()=>Ip,StyleDialog:()=>fc,StylesDialog:()=>kc,TabDialog:()=>Oc,TabElementBox:()=>Id,TabStopListInfo:()=>uh,TableCellWidget:()=>hd,TableDialog:()=>ac,TableFormatHistoryInfo:()=>Uc,TableHistoryInfo:()=>Ac,TableOfContentsDialog:()=>dc,TableOptionsDialog:()=>xc,TablePosition:()=>ad,TablePropertiesDialog:()=>bc,TableResizer:()=>Xc,TableRowWidget:()=>dd,TableWidget:()=>ld,TextElementBox:()=>yd,TextExport:()=>Ep,TextFormField:()=>md,TextFormFieldDialog:()=>Pc,TextFrame:()=>Ld,TextHelper:()=>al,TextPosition:()=>Nc,TextSearch:()=>np,TextSearchResult:()=>op,TextSearchResults:()=>sp,Themes:()=>zl,Toolbar:()=>Ku,TrackChangesPane:()=>_a,UnProtectDocumentDialog:()=>Nl,VIEW_TAB_ID:()=>aw,ViewTab:()=>lw,WAbstractList:()=>nl,WBorder:()=>Ea,WBorders:()=>Oa,WCellFormat:()=>il,WCharacterFormat:()=>Ka,WCharacterStyle:()=>Ya,WColumn:()=>lh,WColumnFormat:()=>Ha,WLevelOverride:()=>rl,WList:()=>pc,WListFormat:()=>Na,WListLevel:()=>ol,WParagraphFormat:()=>Ba,WParagraphStyle:()=>Ja,WRowFormat:()=>La,WSectionFormat:()=>Fa,WShading:()=>el,WStyle:()=>Za,WStyles:()=>$a,WTabStop:()=>Wa,WTableFormat:()=>tl,WTableHolder:()=>ah,WTableStyle:()=>Qa,WUniqueFormat:()=>d,WUniqueFormats:()=>h,WebLayoutViewer:()=>Xl,Widget:()=>ed,WordExport:()=>Hp,WrapPosition:()=>Ua,XmlHttpRequestHandler:()=>c,XmlMapping:()=>Hd,XmlPane:()=>ip,Zoom:()=>Tl,abstractListIdProperty:()=>ms,abstractListsProperty:()=>he,actionCompleteEvent:()=>R,afterFieldFillEvent:()=>w,afterFormFieldFillEvent:()=>C,afterSpacingProperty:()=>It,afterWidthProperty:()=>mi,aftercontentControlFillEvent:()=>H,alignTablesRowByRowProperty:()=>He,allCapsProperty:()=>dt,allowAutoFitProperty:()=>xi,allowBreakAcrossPagesProperty:()=>ci,allowHyphensInBookmarkNamesProperty:()=>Sa,allowOverlapProperty:()=>_o,allowSpaceOfSameStyleInTableProperty:()=>ra,alternativeTextProperty:()=>_n,appearanceProperty:()=>ia,asyncPagesVisible:()=>ne,authorProperty:()=>jr,autoShapeTypeProperty:()=>lr,backgroundColorProperty:()=>Ei,backgroundProperty:()=>ce,backwardProperty:()=>rn,basedOnProperty:()=>Me,baselineAlignmentProperty:()=>Ze,bdoProperty:()=>nt,beforeAutoResize:()=>Y,beforeCommentActionEvent:()=>N,beforeFieldFillEvent:()=>b,beforeFileOpenEvent:()=>V,beforeFormFieldFillEvent:()=>x,beforePaneSwitchEvent:()=>L,beforePaste:()=>ie,beforeSpacingProperty:()=>kt,beforeWidthProperty:()=>gi,beforeXmlHttpRequestSend:()=>q,beforecontentControlFillEvent:()=>F,belowTextProperty:()=>jn,bidiProperty:()=>it,blocksProperty:()=>$o,boldBidiProperty:()=>at,boldProperty:()=>qe,bookmarkTypeProperty:()=>Is,bordersProperty:()=>Lt,bottomMarginProperty:()=>Gt,bottomProperty:()=>wr,breakClearTypeProperty:()=>rt,breakCodeProperty:()=>si,categoryTypeProperty:()=>Pn,categoryXNameProperty:()=>qi,cellFormatProperty:()=>Bo,cellSpacingProperty:()=>Ii,cellWidthProperty:()=>ai,cellsProperty:()=>Do,characterFormatProperty:()=>ae,characterSpacingProperty:()=>ft,chartAreaProperty:()=>En,chartCategoryProperty:()=>Fn,chartDataProperty:()=>_i,chartDataTableProperty:()=>Un,chartLegendProperty:()=>Wn,chartPrimaryCategoryAxisProperty:()=>Bn,chartPrimaryValueAxisProperty:()=>Ln,chartSeriesProperty:()=>Hn,chartTitleAreaProperty:()=>On,chartTitleProperty:()=>Dn,chartTypeProperty:()=>Rn,checkBoxProperty:()=>Wr,checkedProperty:()=>Ur,checkedStateProperty:()=>Co,childShapeProperty:()=>wa,colorProperty:()=>hr,columnCountProperty:()=>ma,columnFirstProperty:()=>Os,columnIndexProperty:()=>da,columnLastProperty:()=>Ns,columnSpanProperty:()=>li,columnsProperty:()=>ii,commentBeginEvent:()=>E,commentCharacterTypeProperty:()=>qr,commentDeleteEvent:()=>W,commentEndEvent:()=>O,commentIdProperty:()=>_r,commentsProperty:()=>ue,compatibilityModeProperty:()=>Be,complexScriptProperty:()=>ht,contentChangeEvent:()=>u,contentControlEvent:()=>P,contentControlListItemsProperty:()=>xo,contentControlPropertiesProperty:()=>so,contextualSpacingProperty:()=>Bt,continuationNoticeProperty:()=>xs,continuationSeparatorProperty:()=>Cs,cryptAlgorithmClassProperty:()=>ke,cryptAlgorithmSidProperty:()=>Te,cryptAlgorithmTypeProperty:()=>Se,cryptProviderTypeProperty:()=>Ie,cryptSpinCountProperty:()=>Pe,customContextMenuBeforeOpenEvent:()=>T,customContextMenuSelectEvent:()=>S,customDataProperty:()=>Qr,customMarkerProperty:()=>ro,customXmlPartProperty:()=>No,customXmlProperty:()=>me,dataFormatProperty:()=>zi,dataLabelProperty:()=>dn,dataPointsProperty:()=>un,dateCalendarTypeProperty:()=>mo,dateDisplayFormatProperty:()=>yo,dateDisplayLocaleProperty:()=>vo,dateProperty:()=>Kr,dateStorageFormatProperty:()=>fo,defaultFont:()=>Z,defaultTabWidthProperty:()=>fe,defaultValueProperty:()=>Dr,deletePositionProperty:()=>Ps,descriptionProperty:()=>Mo,diagonalDownProperty:()=>Ri,diagonalUpProperty:()=>Di,differentFirstPageProperty:()=>At,differentOddAndEvenPagesProperty:()=>Ut,directionProperty:()=>Ji,displayTextProperty:()=>To,distanceBottomProperty:()=>Ko,distanceLeftProperty:()=>Go,distanceRightProperty:()=>jo,distanceTopProperty:()=>qo,doNotUseHTMLParagraphAutoSpacingProperty:()=>Fe,documentChangeEvent:()=>g,documentLoadFailedEvent:()=>ee,doneProperty:()=>Xr,dropDownItemsProperty:()=>zr,dropDownListProperty:()=>Br,editRangeIdProperty:()=>Es,editableRangeStartProperty:()=>Ls,editingPointsProperty:()=>ba,enabledProperty:()=>Hr,endStyleProperty:()=>Yi,endnoteNumberFormatProperty:()=>Zt,endnotesProperty:()=>We,enforcementProperty:()=>we,equalWidthProperty:()=>ri,errorBarProperty:()=>hn,evenFooterProperty:()=>ns,evenHeaderProperty:()=>is,extentXValue:()=>Ia,extentYValue:()=>ka,fieldTypeProperty:()=>Pr,fileMenuItemClickEvent:()=>te,fillFormatProperty:()=>Qn,fillProperty:()=>cr,firstLineIndentProperty:()=>Ct,firstPageFooterProperty:()=>os,firstPageHeaderProperty:()=>rs,firstSliceAngleProperty:()=>gn,followCharacterProperty:()=>ds,fontColorProperty:()=>$e,fontFamilyAsciiProperty:()=>ct,fontFamilyBidiProperty:()=>st,fontFamilyFarEastProperty:()=>pt,fontFamilyNonFarEastProperty:()=>ut,fontFamilyProperty:()=>et,fontHintTypeProperty:()=>Xe,fontNameProperty:()=>aa,fontProperty:()=>ko,fontSchemeListProperty:()=>zs,fontSchemeNameProperty:()=>Ms,fontSchemeProperty:()=>Rs,fontSizeBidiProperty:()=>ot,fontSizeProperty:()=>Qe,fontSubstitutionTableProperty:()=>se,fontTypefaceProperty:()=>Vs,footNoteNumberFormatProperty:()=>Jt,footerDistanceProperty:()=>Mt,footerProperty:()=>ts,footnoteTypeProperty:()=>to,footnotesProperty:()=>Ne,foreColorProperty:()=>Gi,foregroundColorProperty:()=>Oi,formFieldDataProperty:()=>Tr,formFieldShadingProperty:()=>Ee,formatProperty:()=>Rr,formattingProperty:()=>ve,forwardProperty:()=>nn,gapWidthProperty:()=>Mn,getImageHeightProperty:()=>Ir,getImageWidthProperty:()=>kr,gridAfterProperty:()=>bi,gridAfterWidthProperty:()=>wi,gridAfterWidthTypeProperty:()=>Ci,gridBeforeProperty:()=>fi,gridBeforeWidthProperty:()=>vi,gridBeforeWidthTypeProperty:()=>yi,gridProperty:()=>ga,groupProperty:()=>Bs,hasBordersProperty:()=>Tn,hasFieldEndProperty:()=>Sr,hasHorizontalBorderProperty:()=>kn,hasImageReferenceProperty:()=>yr,hasMajorGridLinesProperty:()=>Js,hasMinorGridLinesProperty:()=>Ys,hasNoneStyleProperty:()=>Wi,hasPlaceHolderTextProperty:()=>po,hasVerticalBorderProperty:()=>Sn,hashValueProperty:()=>Ce,headerDistanceProperty:()=>Rt,headerProperty:()=>es,headersFootersProperty:()=>ss,heightProperty:()=>Xn,heightRelativePercentProperty:()=>nr,heightScaleProperty:()=>Jn,heightTypeProperty:()=>ui,helpTextProperty:()=>Er,hiddenProperty:()=>ya,highlightColorProperty:()=>Ye,holeSizeProperty:()=>mn,horizontalAlignmentProperty:()=>Yo,horizontalOriginProperty:()=>Jo,horizontalPositionAbsProperty:()=>Fi,horizontalPositionProperty:()=>Qo,horizontalProperty:()=>Li,horizontalRelativePercentProperty:()=>ir,horizontalRuleProperty:()=>Gn,idProperty:()=>Wo,imageStringProperty:()=>ur,imagesProperty:()=>ha,incrementalOps:()=>va,initialEndNoteNumberProperty:()=>ei,initialFootNoteNumberProperty:()=>$t,initialProperty:()=>Gr,inlineFormatProperty:()=>sa,inlinesProperty:()=>oo,interceptProperty:()=>on,internalAsyncPagesVisible:()=>X,internalAutoResize:()=>J,internalDocumentEditorSettingsChange:()=>G,internalOptionPaneChange:()=>$,internalStyleCollectionChange:()=>K,internalZoomFactorChange:()=>p,internalviewChangeEvent:()=>_,isAfterCellMarkProperty:()=>pa,isAfterParagraphMarkProperty:()=>ca,isAfterRowMarkProperty:()=>ua,isAfterTableMarkProperty:()=>fa,isAutoMajorProperty:()=>Ks,isBubbleSizeProperty:()=>vn,isCategoryNameProperty:()=>yn,isCheckedProperty:()=>bo,isCompressedProperty:()=>la,isCreatedUsingHtmlSpanTagProperty:()=>Fr,isDisplayEquationProperty:()=>an,isDisplayRSquaredProperty:()=>sn,isHeaderProperty:()=>pi,isInlineImageProperty:()=>fr,isLeaderLinesProperty:()=>xn,isLegalStyleNumberingProperty:()=>Uo,isLegendKeyProperty:()=>fn,isMappedProperty:()=>Po,isMetaFileProperty:()=>vr,isPercentageProperty:()=>Cn,isSeriesNameProperty:()=>bn,isTemporaryProperty:()=>go,isValueProperty:()=>wn,isWordMlProperty:()=>Fo,italicBidiProperty:()=>lt,italicProperty:()=>je,itemIDProperty:()=>$r,keepLinesTogetherProperty:()=>Nt,keepWithNextProperty:()=>Et,keyDownEvent:()=>U,lastParagraphMarkCopiedProperty:()=>Oe,layoutInCellProperty:()=>sr,layoutProperty:()=>Ui,layoutXProperty:()=>Xi,layoutYProperty:()=>Zi,leaderProperty:()=>Fs,leftIndentProperty:()=>bt,leftMarginProperty:()=>_t,leftProperty:()=>xr,lengthProperty:()=>mr,levelNumberProperty:()=>ps,levelOverridesProperty:()=>bs,levelsProperty:()=>vs,lineBetweenColumnsProperty:()=>oi,lineFormatProperty:()=>Yn,lineFormatTypeProperty:()=>na,lineProperty:()=>ji,lineSpacingProperty:()=>Pt,lineSpacingTypeProperty:()=>Ft,lineStyleProperty:()=>Mi,lineWidthProperty:()=>Ai,linkProperty:()=>Ue,listFormatProperty:()=>Ht,listIdProperty:()=>mt,listLevelNumberProperty:()=>yt,listLevelPatternProperty:()=>ls,listsProperty:()=>de,localeIdBidiProperty:()=>_e,localeIdFarEastProperty:()=>Ve,localeIdProperty:()=>ze,lockAnchorProperty:()=>ar,lockContentControlProperty:()=>ao,lockContentsProperty:()=>lo,majorFontSchemeProperty:()=>As,majorTickMarkProperty:()=>Qs,majorUnitProperty:()=>Gs,markerColorProperty:()=>en,markerSizeProperty:()=>tn,markerStyleProperty:()=>$i,maxLengthProperty:()=>Lr,maximumValueProperty:()=>Xs,metaFileImageStringProperty:()=>gr,minimumValueProperty:()=>Zs,minorFontSchemeProperty:()=>Us,minorTickMarkProperty:()=>$s,multiLineProperty:()=>uo,nameProperty:()=>Re,nextProperty:()=>Ae,nsidProperty:()=>fs,numberFormatProperty:()=>us,numberOfColumnsProperty:()=>ni,numberValueProperty:()=>Qi,offsetXValue:()=>Ca,offsetYValue:()=>xa,outlineLevelProperty:()=>Wt,overlapProperty:()=>An,overrideListLevelProperty:()=>ys,pageHeightProperty:()=>Vt,pageNumberStyleProperty:()=>ti,pageStartingNumberProperty:()=>Xt,pageWidthProperty:()=>zt,panoseProperty:()=>qs,paraStyleNameProperty:()=>gs,paragraphFormatProperty:()=>le,patternProperty:()=>Ki,plotAreaProperty:()=>Nn,positionProperty:()=>Ts,positioningProperty:()=>zo,preferredWidthProperty:()=>Ti,preferredWidthTypeProperty:()=>Pi,prefixMappingProperty:()=>Ho,propertiesProperty:()=>ks,protectionTypeChangeEvent:()=>j,protectionTypeProperty:()=>be,replyCommentsProperty:()=>Zr,requestNavigateEvent:()=>D,restartIndexForEndnotesProperty:()=>Qt,restartIndexForFootnotesProperty:()=>Yt,restartLevelProperty:()=>cs,restartPageNumberingProperty:()=>Kt,revisionActionEvent:()=>B,revisionIdProperty:()=>Yr,revisionIdsProperty:()=>gt,revisionTypeProperty:()=>Jr,revisionsProperty:()=>ge,rgbProperty:()=>ta,rightIndentProperty:()=>wt,rightMarginProperty:()=>qt,rightProperty:()=>Cr,rowFormatProperty:()=>Lo,rowSpanProperty:()=>di,rowsProperty:()=>Ro,saltValueProperty:()=>xe,scalingProperty:()=>vt,searchResultsChangeEvent:()=>A,sectionFormatProperty:()=>as,sectionsProperty:()=>oe,selectedIndexProperty:()=>Vr,selectionChangeEvent:()=>v,separatorProperty:()=>ws,seriesFormatProperty:()=>cn,seriesNameProperty:()=>ln,serviceFailureEvent:()=>I,shadingProperty:()=>ki,shadowProperty:()=>Ni,shapeIdProperty:()=>Vn,showSeriesKeysProperty:()=>In,sizeProperty:()=>Ar,sizeTypeProperty:()=>Mr,spaceAfterAutoProperty:()=>St,spaceBeforeAutoProperty:()=>Tt,spaceProperty:()=>Ds,startAtProperty:()=>hs,statusTextProperty:()=>Or,storeItemIdProperty:()=>Oo,strikethroughProperty:()=>Je,styleNameProperty:()=>tt,stylesProperty:()=>pe,symbolCodeProperty:()=>io,symbolFontNameProperty:()=>no,tabJustificationProperty:()=>Ss,tabLeaderProperty:()=>Hs,tableAlignmentProperty:()=>Si,tableFormatProperty:()=>Vo,tabsProperty:()=>Dt,tagProperty:()=>ho,textAlignmentProperty:()=>xt,textFrameProperty:()=>dr,textInputProperty:()=>Nr,textProperty:()=>zn,textVerticalAlignmentProperty:()=>pr,textWrappingStyleProperty:()=>$n,textWrappingTypeProperty:()=>er,textureProperty:()=>Hi,themeFontLanguagesProperty:()=>Le,themesProperty:()=>De,tickLabelPositionProperty:()=>ea,titleProperty:()=>co,toolbarClickEvent:()=>z,topMarginProperty:()=>jt,topProperty:()=>br,trackChangeEvent:()=>M,trackChanges:()=>Q,trackChangesProperty:()=>ye,trendLinesProperty:()=>pn,typeProperty:()=>js,typefaceProperty:()=>_s,uncheckedStateProperty:()=>wo,underlineColorProperty:()=>Ke,underlineProperty:()=>Ge,unsupportedBorderStyleClick:()=>re,userProperty:()=>Ws,valueProperty:()=>So,verticalAlignmentProperty:()=>hi,verticalOriginProperty:()=>Xo,verticalPositionProperty:()=>Zo,verticalProperty:()=>Bi,verticalRelativePercentProperty:()=>tr,viewChangeEvent:()=>k,visibleProperty:()=>qn,weightProperty:()=>oa,widowControlProperty:()=>Ot,widthProperty:()=>Kn,widthRelativePercentProperty:()=>rr,widthScaleProperty:()=>Zn,wrapTextAroundProperty:()=>Ao,xPathProperty:()=>Eo,xmlMappingProperty:()=>Io,xmlProperty:()=>eo,yValueProperty:()=>Vi,zOrderPositionProperty:()=>or,zoomFactorChangeEvent:()=>y}),function(e){e[e.LeftToRight=0]="LeftToRight",e[e.RightToLeft=1]="RightToLeft",e[e.WordSplit=2]="WordSplit",e[e.Number=4]="Number",e[e.Tab=6]="Tab"}(e||(e={})),function(e){e[e.English=0]="English",e[e.Hindi=1]="Hindi",e[e.Korean=2]="Korean",e[e.Chinese=3]="Chinese",e[e.Arabic=4]="Arabic",e[e.Hebrew=5]="Hebrew",e[e.Japanese=6]="Japanese",e[e.Thai=7]="Thai",e[e.SpecialCharacter=8]="SpecialCharacter"}(t||(t={})),function(e){e[e.af_ZA=1078]="af_ZA",e[e.sq_AL=1052]="sq_AL",e[e.am_ET=1118]="am_ET",e[e.gsw_FR=1156]="gsw_FR",e[e.ar_DZ=5121]="ar_DZ",e[e.ar_BH=15361]="ar_BH",e[e.ar_EG=3073]="ar_EG",e[e.ar_IQ=2049]="ar_IQ",e[e.ar_JO=11265]="ar_JO",e[e.ar_KW=13313]="ar_KW",e[e.ar_LB=12289]="ar_LB",e[e.ar_LY=4097]="ar_LY",e[e.ar_MA=6145]="ar_MA",e[e.ar_OM=8193]="ar_OM",e[e.ar_QA=16385]="ar_QA",e[e.ar_SA=1025]="ar_SA",e[e.ar_SY=10241]="ar_SY",e[e.ar_TN=7169]="ar_TN",e[e.ar_AE=14337]="ar_AE",e[e.ar_YE=9217]="ar_YE",e[e.hy_AM=1067]="hy_AM",e[e.as_IN=1101]="as_IN",e[e.az_Cyrl_AZ=2092]="az_Cyrl_AZ",e[e.az_Latn_AZ=1068]="az_Latn_AZ",e[e.ba_RU=1133]="ba_RU",e[e.eu_ES=1069]="eu_ES",e[e.be_BY=1059]="be_BY",e[e.bn_BD=2117]="bn_BD",e[e.bn_IN=1093]="bn_IN",e[e.bs_Cyrl_BA=8218]="bs_Cyrl_BA",e[e.bs_Latn_BA=5146]="bs_Latn_BA",e[e.bg_BG=1026]="bg_BG",e[e.br_FR=1150]="br_FR",e[e.my_MM=1109]="my_MM",e[e.ca_ES=1027]="ca_ES",e[e.chr_US=1116]="chr_US",e[e.zh_HK=3076]="zh_HK",e[e.zh_MO=5124]="zh_MO",e[e.zh_CN=2052]="zh_CN",e[e.zh_SG=4100]="zh_SG",e[e.zh_TW=1028]="zh_TW",e[e.co_FR=1155]="co_FR",e[e.hr_BA=4122]="hr_BA",e[e.hr_HR=1050]="hr_HR",e[e.cs_CZ=1029]="cs_CZ",e[e.da_DK=1030]="da_DK",e[e.prs_AF=1164]="prs_AF",e[e.dv_MV=1125]="dv_MV",e[e.nl_BE=2067]="nl_BE",e[e.nl_NL=1043]="nl_NL",e[e.bin_NG=1126]="bin_NG",e[e.et_EE=1061]="et_EE",e[e.en_AU=3081]="en_AU",e[e.en_BZ=10249]="en_BZ",e[e.en_CA=4105]="en_CA",e[e.en_029=9225]="en_029",e[e.en_HK=15369]="en_HK",e[e.en_IN=16393]="en_IN",e[e.en_ID=14345]="en_ID",e[e.en_IE=6153]="en_IE",e[e.en_JM=8201]="en_JM",e[e.en_MY=17417]="en_MY",e[e.en_NZ=5129]="en_NZ",e[e.en_PH=13321]="en_PH",e[e.en_SG=18441]="en_SG",e[e.en_ZA=7177]="en_ZA",e[e.en_TT=11273]="en_TT",e[e.en_GB=2057]="en_GB",e[e.en_US=1033]="en_US",e[e.en_ZW=12297]="en_ZW",e[e.fo_FO=1080]="fo_FO",e[e.fil_PH=1124]="fil_PH",e[e.fi_FI=1035]="fi_FI",e[e.fr_BE=2060]="fr_BE",e[e.fr_CM=11276]="fr_CM",e[e.fr_CA=3084]="fr_CA",e[e.fr_CD=9228]="fr_CD",e[e.fr_CI=12300]="fr_CI",e[e.fr_FR=1036]="fr_FR",e[e.fr_HT=15372]="fr_HT",e[e.fr_LU=5132]="fr_LU",e[e.fr_ML=13324]="fr_ML",e[e.fr_MC=6156]="fr_MC",e[e.fr_MA=14348]="fr_MA",e[e.fr_RE=8204]="fr_RE",e[e.fr_SN=10252]="fr_SN",e[e.fr_CH=4108]="fr_CH",e[e.fy_NL=1122]="fy_NL",e[e.ff_NG=1127]="ff_NG",e[e.gd_GB=1084]="gd_GB",e[e.gl_ES=1110]="gl_ES",e[e.ka_GE=1079]="ka_GE",e[e.de_AT=3079]="de_AT",e[e.de_DE=1031]="de_DE",e[e.de_LI=5127]="de_LI",e[e.de_LU=4103]="de_LU",e[e.de_CH=2055]="de_CH",e[e.el_GR=1032]="el_GR",e[e.gn_PY=1140]="gn_PY",e[e.gu_IN=1095]="gu_IN",e[e.kl_GL=1135]="kl_GL",e[e.ha_Latn_NG=1128]="ha_Latn_NG",e[e.haw_US=1141]="haw_US",e[e.he_IL=1037]="he_IL",e[e.hi_IN=1081]="hi_IN",e[e.hu_HU=1038]="hu_HU",e[e.ibb_NG=1129]="ibb_NG",e[e.is_IS=1039]="is_IS",e[e.ig_NG=1136]="ig_NG",e[e.id_ID=1057]="id_ID",e[e.iu_Latn_CA=2141]="iu_Latn_CA",e[e.iu_Cans_CA=1117]="iu_Cans_CA",e[e.it_IT=1040]="it_IT",e[e.it_CH=2064]="it_CH",e[e.ga_IE=2108]="ga_IE",e[e.xh_ZA=1076]="xh_ZA",e[e.zu_ZA=1077]="zu_ZA",e[e.kn_IN=1099]="kn_IN",e[e.kr_NG=1137]="kr_NG",e[e.ks_Deva=2144]="ks_Deva",e[e.ks_Arab=1120]="ks_Arab",e[e.kk_KZ=1087]="kk_KZ",e[e.km_KH=1107]="km_KH",e[e.kok_IN=1111]="kok_IN",e[e.ko_KR=1042]="ko_KR",e[e.ky_KG=1088]="ky_KG",e[e.qut_GT=1158]="qut_GT",e[e.rw_RW=1159]="rw_RW",e[e.lo_LA=1108]="lo_LA",e[e.la_Latn=1142]="la_Latn",e[e.lv_LV=1062]="lv_LV",e[e.lt_LT=1063]="lt_LT",e[e.dsb_DE=2094]="dsb_DE",e[e.lb_LU=1134]="lb_LU",e[e.mk_MK=1071]="mk_MK",e[e.ms_BN=2110]="ms_BN",e[e.ms_MY=1086]="ms_MY",e[e.ml_IN=1100]="ml_IN",e[e.mt_MT=1082]="mt_MT",e[e.mni_IN=1112]="mni_IN",e[e.mi_NZ=1153]="mi_NZ",e[e.mr_IN=1102]="mr_IN",e[e.arn_CL=1146]="arn_CL",e[e.mn_MN=1104]="mn_MN",e[e.mn_Mong_CN=2128]="mn_Mong_CN",e[e.ne_NP=1121]="ne_NP",e[e.ne_IN=2145]="ne_IN",e[e.nb_NO=1044]="nb_NO",e[e.nn_NO=2068]="nn_NO",e[e.oc_FR=1154]="oc_FR",e[e.or_IN=1096]="or_IN",e[e.om_Ethi_ET=1138]="om_Ethi_ET",e[e.pap_AN=1145]="pap_AN",e[e.ps_AF=1123]="ps_AF",e[e.fa_IR=1065]="fa_IR",e[e.pl_PL=1045]="pl_PL",e[e.pt_BR=1046]="pt_BR",e[e.pt_PT=2070]="pt_PT",e[e.pa_IN=1094]="pa_IN",e[e.pa_PK=2118]="pa_PK",e[e.quz_BO=1131]="quz_BO",e[e.guz_EC=2155]="guz_EC",e[e.guz_PE=3179]="guz_PE",e[e.ro_RO=1048]="ro_RO",e[e.ro_MO=2072]="ro_MO",e[e.rm_CH=1047]="rm_CH",e[e.ru_RU=1049]="ru_RU",e[e.ru_MO=2073]="ru_MO",e[e.smn_FI=9275]="smn_FI",e[e.smj_NO=4155]="smj_NO",e[e.smj_SE=5179]="smj_SE",e[e.se_FI=3131]="se_FI",e[e.se_NO=1083]="se_NO",e[e.se_SE=2107]="se_SE",e[e.sms_FI=8251]="sms_FI",e[e.sma_NO=6203]="sma_NO",e[e.sma_SE=7227]="sma_SE",e[e.sa_IN=1103]="sa_IN",e[e.sr_Cyrl_BA=7194]="sr_Cyrl_BA",e[e.sr_Cyrl_CS=3098]="sr_Cyrl_CS",e[e.sr_Latn_BA=6170]="sr_Latn_BA",e[e.sr_Latn_CS=2074]="sr_Latn_CS",e[e.nso_ZA=1132]="nso_ZA",e[e.tn_ZA=1074]="tn_ZA",e[e.sd_Arab_PK=2137]="sd_Arab_PK",e[e.sd_Deva_IN=1113]="sd_Deva_IN",e[e.si_LK=1115]="si_LK",e[e.sk_SK=1051]="sk_SK",e[e.sl_SI=1060]="sl_SI",e[e.so_SO=1143]="so_SO",e[e.es_AR=11274]="es_AR",e[e.es_BO=16394]="es_BO",e[e.es_CL=13322]="es_CL",e[e.es_CO=9226]="es_CO",e[e.es_CR=5130]="es_CR",e[e.es_DO=7178]="es_DO",e[e.es_EC=12298]="es_EC",e[e.es_SV=17418]="es_SV",e[e.es_GT=4106]="es_GT",e[e.es_HN=18442]="es_HN",e[e.es_MX=2058]="es_MX",e[e.es_NI=19466]="es_NI",e[e.es_PA=6154]="es_PA",e[e.es_PY=15370]="es_PY",e[e.es_PE=10250]="es_PE",e[e.es_PR=20490]="es_PR",e[e.es_ES=3082]="es_ES",e[e.es_ES_tradnl=1034]="es_ES_tradnl",e[e.es_US=21514]="es_US",e[e.es_UY=14346]="es_UY",e[e.es_VE=8202]="es_VE",e[e.st_ZA=1072]="st_ZA",e[e.sw_KE=1089]="sw_KE",e[e.sv_FI=2077]="sv_FI",e[e.sv_SE=1053]="sv_SE",e[e.syr_SY=1114]="syr_SY",e[e.tg_Cyrl_TJ=1064]="tg_Cyrl_TJ",e[e.tzm_Arab_MA=1119]="tzm_Arab_MA",e[e.tzm_Latn_DZ=2143]="tzm_Latn_DZ",e[e.ta_IN=1097]="ta_IN",e[e.tt_RU=1092]="tt_RU",e[e.te_IN=1098]="te_IN",e[e.th_TH=1054]="th_TH",e[e.bo_CN=1105]="bo_CN",e[e.ti_ER=2163]="ti_ER",e[e.ti_ET=1139]="ti_ET",e[e.ts_ZA=1073]="ts_ZA",e[e.tr_TR=1055]="tr_TR",e[e.tk_TM=1090]="tk_TM",e[e.ug_CN=1152]="ug_CN",e[e.uk_UA=1058]="uk_UA",e[e.hsb_DE=1070]="hsb_DE",e[e.ur_PK=1056]="ur_PK",e[e.uz_Cyrl_UZ=2115]="uz_Cyrl_UZ",e[e.uz_Latn_UZ=1091]="uz_Latn_UZ",e[e.ve_ZA=1075]="ve_ZA",e[e.vi_VN=1066]="vi_VN",e[e.cy_GB=1106]="cy_GB",e[e.wo_SN=1160]="wo_SN",e[e.sah_RU=1157]="sah_RU",e[e.ii_CN=1144]="ii_CN",e[e.yi_Hebr=1085]="yi_Hebr",e[e.yo_NG=1130]="yo_NG",e[e.ja_JP=1041]="ja_JP"}(i||(i={})),function(e){e.EvenPage="EvenPage",e.NewPage="NewPage",e.Continuous="NoBreak",e.OddPage="OddPage"}(n||(n={}));var r,o={Tab:"\t",Paragraph:"\n",LineBreak:"\v",PageBreak:"\f",ColumnBreak:"",Image:"",Table:"",Row:"",Cell:"",Marker_Start:"",Marker_End:"",Field_Separator:"",Section_Break:""},s=function(e,t,i){this.id=e,this.commentProperties=t,this.text=i},a=m(766),l=function(){function e(){this.keysInternal=[],this.valuesInternal=[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this.keysInternal.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keys",{get:function(){return this.keysInternal},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"values",{get:function(){return this.valuesInternal},enumerable:!0,configurable:!0}),e.prototype.add=function(e,t){if((0,a.isNullOrUndefined)(e))throw new ReferenceError("Provided key or value is not valid.");return this.keysInternal.indexOf(e)<0&&(this.keysInternal.push(e),this.valuesInternal.push(t)),1},e.prototype.get=function(e){if((0,a.isNullOrUndefined)(e))throw new ReferenceError("Provided key is not valid.");var t=this.keysInternal.indexOf(e);return t<0||t>this.keysInternal.length-1?void 0:this.valuesInternal[t]},e.prototype.set=function(e,t){if((0,a.isNullOrUndefined)(e))throw new ReferenceError("Provided key is not valid.");var i=this.keysInternal.indexOf(e);if(i<0||i>this.keysInternal.length-1)throw new RangeError("No item with the specified key has been added.");this.valuesInternal[i]=t},e.prototype.remove=function(e){if((0,a.isNullOrUndefined)(e))throw new ReferenceError("Provided key is not valid.");var t=this.keysInternal.indexOf(e);if(t<0||t>this.keysInternal.length-1)throw new RangeError("No item with the specified key has been added.");return this.keysInternal.splice(t,1),this.valuesInternal.splice(t,1),!0},e.prototype.containsKey=function(e){if((0,a.isNullOrUndefined)(e))throw new ReferenceError("Provided key is not valid.");var t=this.keysInternal.indexOf(e);return!(t<0||t>this.keysInternal.length-1)},e.prototype.clear=function(){this.keysInternal=[],this.valuesInternal=[]},e.prototype.destroy=function(){this.clear(),this.keysInternal=void 0,this.valuesInternal=void 0},e}(),d=function(){function e(e){this.referenceCount=0,this.uniqueFormatType=e,this.propertiesHash=new l}return e.prototype.isEqual=function(e,t,i){var n=!1;switch(this.uniqueFormatType){case 1:n=this.isBorderEqual(e,t,i);break;case 2:n=this.isCharacterFormatEqual(e,t,i);break;case 3:n=this.isParagraphFormatEqual(e,t,i);break;case 4:n=this.isCellFormatEqual(e,t,i);break;case 5:n=this.isShadingEqual(e,t,i);break;case 6:n=this.isRowFormatEqual(e,t,i);break;case 7:n=this.isListFormatEqual(e,t,i);break;case 8:n=this.isTableFormatEqual(e,t,i);break;case 9:n=this.isListLevelEqual(e,t,i);break;case 10:n=this.isSectionFormatEqual(e,t,i);break;case 11:n=this.isColumnFormatEqual(e,t,i)}return n},e.prototype.isNotEqual=function(t,i,n,r,o){var s=void 0,l=e.getPropertyType(o,t);this.propertiesHash.containsKey(l)&&(s=this.propertiesHash.get(l));var d=void 0;return t===n?d=r:i.containsKey(l)&&(d=i.get(l)),!(s===d||!(0,a.isNullOrUndefined)(s)&&!(0,a.isNullOrUndefined)(d)&&s===d)},e.getPropertyType=function(e,t){var i=0;switch(e){case 1:i=this.getBorderPropertyType(t);break;case 2:i=this.getCharacterFormatPropertyType(t);break;case 3:i=this.getParaFormatPropertyType(t);break;case 4:i=this.getCellFormatPropertyType(t);break;case 5:i=this.getShadingPropertyType(t);break;case 6:i=this.getRowFormatType(t);break;case 7:i=this.getListFormatType(t);break;case 8:i=this.getTableFormatType(t);break;case 9:i=this.getListLevelType(t);break;case 10:i=this.getSectionFormatType(t);break;case 11:i=this.getColumnFormatType(t)}return i},e.getRowFormatType=function(e){switch(e){case"allowBreakAcrossPages":return 1;case"isHeader":return 2;case"height":return 3;case"heightType":return 4;case"gridBefore":return 5;case"gridBeforeWidth":return 6;case"gridBeforeWidthType":return 7;case"gridAfter":return 8;case"gridAfterWidth":return 9;case"gridAfterWidthType":return 10;case"leftMargin":return 11;case"topMargin":return 12;case"bottomMargin":return 13;case"rightMargin":return 14;case"leftIndent":return 15;default:return 0}},e.getListFormatType=function(e){switch(e){case"listId":return 1;case"listLevelNumber":return 2;case"nsid":return 3;default:return 0}},e.getTableFormatType=function(e){switch(e){case"leftMargin":return 1;case"rightMargin":return 2;case"topMargin":return 3;case"bottomMargin":return 4;case"cellSpacing":return 5;case"leftIndent":return 6;case"tableAlignment":return 7;case"preferredWidth":return 8;case"preferredWidthType":return 9;case"bidi":return 10;case"allowAutoFit":return 11;case"horizontalPositionAbs":return 12;case"horizontalPosition":return 13;default:return 0}},e.getListLevelType=function(e){switch(e){case"listLevelPattern":return 1;case"startAt":return 2;case"followCharacter":return 3;case"numberFormat":return 4;case"restartLevel":return 5;case"isLegalStyleNumbering":return 6;case"paraStyleName":return 7;default:return 0}},e.getShadingPropertyType=function(e){switch(e){case"backgroundColor":return 1;case"foregroundColor":return 2;case"textureStyle":return 3;default:return 0}},e.getCellFormatPropertyType=function(e){switch(e){case"leftMargin":return 1;case"rightMargin":return 2;case"topMargin":return 3;case"bottomMargin":return 4;case"columnSpan":return 5;case"rowSpan":return 6;case"verticalAlignment":return 7;case"preferredWidthType":return 8;case"preferredWidth":return 9;case"cellWidth":return 10;default:return 0}},e.getBorderPropertyType=function(e){switch(e){case"color":return 1;case"lineStyle":return 2;case"lineWidth":return 3;case"shadow":return 4;case"space":return 5;case"hasNoneStyle":return 6;default:return 0}},e.getCharacterFormatPropertyType=function(e){switch(e){case"fontColor":return 1;case"fontFamily":return 2;case"fontSize":return 3;case"bold":return 4;case"italic":return 5;case"underline":return 6;case"strikethrough":return 7;case"baselineAlignment":return 8;case"highlightColor":return 9;case"bidi":return 10;case"bdo":return 11;case"boldBidi":return 12;case"italicBidi":return 13;case"fontFamilyBidi":return 14;case"fontSizeBidi":return 15;case"allCaps":return 16;case"localeIdBidi":return 17;case"complexScript":return 18;case"fontFamilyFarEast":return 19;case"fontFamilyAscii":return 20;case"fontFamilyNonFarEast":return 21;case"localeIdAscii":return 22;case"localeIdFarEast":return 23;case"characterSpacing":return 24;case"scaling":return 25;case"hidden":return 26;case"underlineColor":return 27;case"fontHintType":return 28;default:return 0}},e.getParaFormatPropertyType=function(e){switch(e){case"leftIndent":return 1;case"rightIndent":return 2;case"firstLineIndent":return 3;case"textAlignment":return 4;case"beforeSpacing":return 5;case"afterSpacing":return 6;case"lineSpacing":return 7;case"lineSpacingType":return 8;case"outlineLevel":return 9;case"bidi":return 10;case"contextualSpacing":return 11;case"keepWithNext":return 12;case"keepLinesTogether":return 13;case"widowControl":return 14;case"spaceBeforeAuto":return 15;case"spaceAfterAuto":return 16;default:return 0}},e.getColumnFormatType=function(e){switch(e){case"width":return 1;case"space":return 2;default:return 0}},e.getSectionFormatType=function(e){switch(e){case"headerDistance":return 1;case"footerDistance":return 2;case"differentFirstPage":return 3;case"differentOddAndEvenPages":return 4;case"pageWidth":return 5;case"pageHeight":return 6;case"leftMargin":return 7;case"topMargin":return 8;case"rightMargin":return 9;case"bottomMargin":return 10;case"bidi":return 11;case"restartPageNumbering":return 12;case"pageStartingNumber":return 13;case"endnoteNumberFormat":return 14;case"endnotePosition":return 15;case"footNoteNumberFormat":return 16;case"footnotePosition":return 17;case"restartIndexForEndnotes":return 18;case"restartIndexForFootnotes":return 19;case"initialFootNoteNumber":return 20;case"initialEndNoteNumber":return 21;case"pageNumberStyle":return 22;case"numberOfColumns":return 23;case"equalWidth":return 24;case"lineBetweenColumns":return 25;case"columns":return 26;case"breakCode":return 27;default:return 0}},e.prototype.isBorderEqual=function(e,t,i){return!this.isNotEqual("color",e,t,i,1)&&(!this.isNotEqual("lineStyle",e,t,i,1)&&(!this.isNotEqual("lineWidth",e,t,i,1)&&(!this.isNotEqual("shadow",e,t,i,1)&&(!this.isNotEqual("space",e,t,i,1)&&!this.isNotEqual("hasNoneStyle",e,t,i,1)))))},e.prototype.isCharacterFormatEqual=function(e,t,i){return!this.isNotEqual("fontColor",e,t,i,2)&&(!this.isNotEqual("fontFamily",e,t,i,2)&&(!this.isNotEqual("fontSize",e,t,i,2)&&(!this.isNotEqual("bold",e,t,i,2)&&(!this.isNotEqual("italic",e,t,i,2)&&(!this.isNotEqual("underline",e,t,i,2)&&(!this.isNotEqual("strikethrough",e,t,i,2)&&(!this.isNotEqual("baselineAlignment",e,t,i,2)&&(!this.isNotEqual("highlightColor",e,t,i,2)&&(!this.isNotEqual("bidi",e,t,i,2)&&(!this.isNotEqual("bdo",e,t,i,2)&&(!this.isNotEqual("fontColor",e,t,i,2)&&(!this.isNotEqual("fontFamilyBidi",e,t,i,2)&&(!this.isNotEqual("fontSizeBidi",e,t,i,2)&&(!this.isNotEqual("boldBidi",e,t,i,2)&&(!this.isNotEqual("italicBidi",e,t,i,2)&&(!this.isNotEqual("allCaps",e,t,i,2)&&(!this.isNotEqual("localeIdBidi",e,t,i,2)&&(!this.isNotEqual("localeIdAscii",e,t,i,2)&&(!this.isNotEqual("localeIdFarEast",e,t,i,2)&&(!this.isNotEqual("complexScript",e,t,i,2)&&(!this.isNotEqual("hidden",e,t,i,2)&&(!this.isNotEqual("fontFamilyFarEast",e,t,i,2)&&(!this.isNotEqual("fontFamilyAscii",e,t,i,2)&&(!this.isNotEqual("fontFamilyNonFarEast",e,t,i,2)&&(!this.isNotEqual("characterSpacing",e,t,i,2)&&(!this.isNotEqual("scaling",e,t,i,2)&&(!this.isNotEqual("underlineColor",e,t,i,2)&&!this.isNotEqual("fontHintType",e,t,i,2))))))))))))))))))))))))))))},e.prototype.isParagraphFormatEqual=function(e,t,i){return!this.isNotEqual("leftIndent",e,t,i,3)&&(!this.isNotEqual("rightIndent",e,t,i,3)&&(!this.isNotEqual("firstLineIndent",e,t,i,3)&&(!this.isNotEqual("textAlignment",e,t,i,3)&&(!this.isNotEqual("beforeSpacing",e,t,i,3)&&(!this.isNotEqual("afterSpacing",e,t,i,3)&&(!this.isNotEqual("spaceBeforeAuto",e,t,i,3)&&(!this.isNotEqual("spaceAfterAuto",e,t,i,3)&&(!this.isNotEqual("lineSpacing",e,t,i,3)&&(!this.isNotEqual("lineSpacingType",e,t,i,3)&&(!this.isNotEqual("outlineLevel",e,t,i,3)&&(!this.isNotEqual("bidi",e,t,i,3)&&(!this.isNotEqual("contextualSpacing",e,t,i,3)&&(!this.isNotEqual("keepWithNext",e,t,i,3)&&(!this.isNotEqual("keepLinesTogether",e,t,i,3)&&!this.isNotEqual("widowControl",e,t,i,3)))))))))))))))},e.prototype.isCellFormatEqual=function(e,t,i){return!this.isNotEqual("leftMargin",e,t,i,4)&&(!this.isNotEqual("rightMargin",e,t,i,4)&&(!this.isNotEqual("topMargin",e,t,i,4)&&(!this.isNotEqual("bottomMargin",e,t,i,4)&&(!this.isNotEqual("columnSpan",e,t,i,4)&&(!this.isNotEqual("rowSpan",e,t,i,4)&&(!this.isNotEqual("verticalAlignment",e,t,i,4)&&(!this.isNotEqual("preferredWidthType",e,t,i,4)&&(!this.isNotEqual("preferredWidth",e,t,i,4)&&!this.isNotEqual("cellWidth",e,t,i,4)))))))))},e.prototype.isShadingEqual=function(e,t,i){return!this.isNotEqual("backgroundColor",e,t,i,5)&&(!this.isNotEqual("foregroundColor",e,t,i,5)&&!this.isNotEqual("textureStyle",e,t,i,5))},e.prototype.isRowFormatEqual=function(e,t,i){return!this.isNotEqual("allowBreakAcrossPages",e,t,i,6)&&(!this.isNotEqual("isHeader",e,t,i,6)&&(!this.isNotEqual("height",e,t,i,6)&&(!this.isNotEqual("heightType",e,t,i,6)&&(!this.isNotEqual("gridBefore",e,t,i,6)&&(!this.isNotEqual("gridBeforeWidth",e,t,i,6)&&(!this.isNotEqual("gridBeforeWidthType",e,t,i,6)&&(!this.isNotEqual("gridAfter",e,t,i,6)&&(!this.isNotEqual("gridAfterWidth",e,t,i,6)&&(!this.isNotEqual("gridAfterWidthType",e,t,i,6)&&(!this.isNotEqual("leftMargin",e,t,i,6)&&(!this.isNotEqual("topMargin",e,t,i,6)&&(!this.isNotEqual("bottomMargin",e,t,i,6)&&(!this.isNotEqual("rightMargin",e,t,i,6)&&!this.isNotEqual("leftIndent",e,t,i,6))))))))))))))},e.prototype.isListFormatEqual=function(e,t,i){return!this.isNotEqual("listId",e,t,i,7)&&(!this.isNotEqual("listLevelNumber",e,t,i,7)&&!this.isNotEqual("nsid",e,t,i,7))},e.prototype.isTableFormatEqual=function(e,t,i){return!this.isNotEqual("leftMargin",e,t,i,8)&&(!this.isNotEqual("rightMargin",e,t,i,8)&&(!this.isNotEqual("topMargin",e,t,i,8)&&(!this.isNotEqual("bottomMargin",e,t,i,8)&&(!this.isNotEqual("cellSpacing",e,t,i,8)&&(!this.isNotEqual("leftIndent",e,t,i,8)&&(!this.isNotEqual("tableAlignment",e,t,i,8)&&(!this.isNotEqual("preferredWidth",e,t,i,8)&&(!this.isNotEqual("preferredWidthType",e,t,i,8)&&(!this.isNotEqual("bidi",e,t,i,8)&&(!this.isNotEqual("allowAutoFit",e,t,i,8)&&(!this.isNotEqual("horizontalPositionAbs",e,t,i,8)&&!this.isNotEqual("horizontalPosition",e,t,i,8))))))))))))},e.prototype.isListLevelEqual=function(e,t,i){return!this.isNotEqual("listLevelPattern",e,t,i,9)&&(!this.isNotEqual("startAt",e,t,i,9)&&(!this.isNotEqual("followCharacter",e,t,i,9)&&(!this.isNotEqual("numberFormat",e,t,i,9)&&(!this.isNotEqual("paraStyleName",e,t,i,9)&&(!this.isNotEqual("restartLevel",e,t,i,9)&&!this.isNotEqual("isLegalStyleNumbering",e,t,i,9))))))},e.prototype.isSectionFormatEqual=function(e,t,i){return!this.isNotEqual("headerDistance",e,t,i,10)&&(!this.isNotEqual("footerDistance",e,t,i,10)&&(!this.isNotEqual("differentFirstPage",e,t,i,10)&&(!this.isNotEqual("differentOddAndEvenPages",e,t,i,10)&&(!this.isNotEqual("pageWidth",e,t,i,10)&&(!this.isNotEqual("pageHeight",e,t,i,10)&&(!this.isNotEqual("leftMargin",e,t,i,10)&&(!this.isNotEqual("topMargin",e,t,i,10)&&(!this.isNotEqual("rightMargin",e,t,i,10)&&(!this.isNotEqual("bottomMargin",e,t,i,10)&&(!this.isNotEqual("bidi",e,t,i,10)&&(!this.isNotEqual("restartPageNumbering",e,t,i,10)&&(!this.isNotEqual("pageStartingNumber",e,t,i,10)&&(!this.isNotEqual("endnoteNumberFormat",e,t,i,10)&&(!this.isNotEqual("endnotePosition",e,t,i,10)&&(!this.isNotEqual("footNoteNumberFormat",e,t,i,10)&&(!this.isNotEqual("footnotePosition",e,t,i,10)&&(!this.isNotEqual("restartIndexForEndnotes",e,t,i,10)&&(!this.isNotEqual("restartIndexForFootnotes",e,t,i,10)&&(!this.isNotEqual("initialFootNoteNumber",e,t,i,10)&&(!this.isNotEqual("initialEndNoteNumber",e,t,i,10)&&(!this.isNotEqual("pageNumberStyle",e,t,i,10)&&(!this.isNotEqual("numberOfColumns",e,t,i,10)&&(!this.isNotEqual("equalWidth",e,t,i,10)&&(!this.isNotEqual("lineBetweenColumns",e,t,i,10)&&!this.isNotEqual("breakCode",e,t,i,10)))))))))))))))))))))))))},e.prototype.isColumnFormatEqual=function(e,t,i){return!this.isNotEqual("width",e,t,i,11)&&!this.isNotEqual("space",e,t,i,11)},e.prototype.cloneItems=function(t,i,n,r){for(var o=e.getPropertyType(r,i),s=t.propertiesHash.keys,a=0;a<s.length;a++)s[a]===o?this.propertiesHash.add(o,n):this.propertiesHash.add(s[a],t.propertiesHash.get(s[a]));t.propertiesHash.containsKey(o)||this.propertiesHash.add(o,n)},e.prototype.mergeProperties=function(e){for(var t=e.cloneProperties(),i=this.propertiesHash.keys,n=0;n<i.length;n++)t.containsKey(i[n])||t.add(i[n],this.propertiesHash.get(i[n]));return t},e.prototype.cloneProperties=function(){for(var e=new l,t=this.propertiesHash.keys,i=0;i<t.length;i++)e.add(t[i],this.propertiesHash.get(t[i]));return e},e.prototype.destroy=function(){(0,a.isNullOrUndefined)(this.propertiesHash)||this.propertiesHash.destroy(),this.propertiesHash=void 0,this.referenceCount=void 0,this.uniqueFormatType=void 0},e}(),h=function(){function e(){this.items=[]}return e.prototype.addUniqueFormat=function(e,t){for(var i=void 0,n=0;n<this.items.length;n++)if(this.items[n].isEqual(e,void 0,void 0)){i=this.items[n];break}return(0,a.isNullOrUndefined)(i)?((i=new d(t)).propertiesHash=e,i.referenceCount=1,this.items.push(i)):i.referenceCount++,i},e.prototype.updateUniqueFormat=function(e,t,i){for(var n=void 0,r=0;r<this.items.length;r++)if(this.items[r].isEqual(e.propertiesHash,t,i)){n=this.items[r];break}return(0,a.isNullOrUndefined)(n)?((n=new d(e.uniqueFormatType)).cloneItems(e,t,i,e.uniqueFormatType),n.referenceCount=1,this.items.push(n)):n.referenceCount++,this.remove(e),n},e.prototype.remove=function(e){e.referenceCount--,e.referenceCount<=0&&(this.items.splice(this.items.indexOf(e),1),e.destroy(),e=void 0)},e.prototype.clear=function(){if((0,a.isNullOrUndefined)(this.items))for(var e=0;e<this.items.length;e++)this.items[e].destroy();this.items=[]},e.prototype.destroy=function(){this.clear(),this.items=void 0},e}(),c=function(){function e(){this.mode=!0}return e.prototype.send=function(e,t,i){var n=this;this.xmlHttpRequest=new XMLHttpRequest;var r=0;i=!!(0,a.isNullOrUndefined)(i)||i,(0,a.isNullOrUndefined)(t)||(this.xmlHttpRequest.withCredentials=t.withCredentials,r=t.timeout>=0?t.timeout:0,this.customHeaders=t.headers),this.xmlHttpRequest.onreadystatechange=function(){n.stateChange(n)},this.xmlHttpRequest.onerror=function(){n.error(n)},this.mode?this.sendRequest(e,r,i):setTimeout(function(){n.sendRequest(e,r,i)})},e.prototype.sendRequest=function(e,t,i){this.xmlHttpRequest.open("POST",this.url,i),i&&(this.xmlHttpRequest.timeout=t),this.contentType&&this.xmlHttpRequest.setRequestHeader("Content-Type",this.contentType),this.setCustomAjaxHeaders(),this.responseType&&(this.xmlHttpRequest.responseType=this.responseType);var n=e instanceof FormData?e:JSON.stringify(e);this.xmlHttpRequest.send(n)},e.prototype.stateChange=function(e){if(4===e.xmlHttpRequest.readyState&&200===e.xmlHttpRequest.status){var t={name:"onSuccess",data:this.responseType?e.xmlHttpRequest.response:e.xmlHttpRequest.responseText,readyState:e.xmlHttpRequest.readyState,status:e.xmlHttpRequest.status};e.successHandler(t)}else if(4===e.xmlHttpRequest.readyState&&200!==e.xmlHttpRequest.status){t={name:"onFailure",status:e.xmlHttpRequest.status,statusText:e.xmlHttpRequest.statusText,url:e.url};e.failureHandler(t)}},e.prototype.error=function(e){var t={name:"onError",status:this.xmlHttpRequest.status,statusText:this.xmlHttpRequest.statusText};e.errorHandler(t)},e.prototype.successHandler=function(e){return this.onSuccess&&this.onSuccess(e),e},e.prototype.failureHandler=function(e){return this.onFailure&&this.onFailure(e),e},e.prototype.errorHandler=function(e){return this.onError&&this.onError(e),e},e.prototype.setCustomAjaxHeaders=function(){for(var e=0;e<this.customHeaders.length;e++)for(var t=this.customHeaders[e],i=0,n=Object.keys(t);i<n.length;i++){var r=n[i];this.xmlHttpRequest.setRequestHeader(r,t[r])}},e}(),p="internalZoomFactorChange",u="contentChange",g="documentChange",v="selectionChange",y="zoomFactorChange",b="beforeFieldFill",w="afterFieldFill",C="afterFormFieldFill",x="beforeFormFieldFill",I="serviceFailure",k="viewChange",S="customContextMenuSelect",T="customContextMenuBeforeOpen",P="contentControl",F="beforeContentControlFill",H="afterContentControlFill",E="commentBegin",O="commentEnd",N="beforeCommentAction",W="commentDelete",B="beforeAcceptRejectChanges",L="beforePaneSwitch",D="requestNavigate",R="actionComplete",M="trackChange",A="searchResultsChange",U="keyDown",z="toolbarClick",V="beforeFileOpen",_="internalviewChange",q="beforeXmlHttpRequestSend",j="protectionTypeChange",G="internalDocumentEditorSettingsChange",K="internalStyleCollectionChange",X="internalAsyncPagesVisible",Z="Times New Roman",J="internalAutoResize",Y="beforeAutoResize",Q="trackChanges",$="internalOptionPaneChange",ee="documentLoadFailed",te="fileMenuItemClick",ie="beforePaste",ne="asyncPagesVisible",re="unsupportedBorderStyleClick",oe=["sections","sec"],se=["fontSubstitutionTable","fst"],ae=["characterFormat","cf"],le=["paragraphFormat","pf"],de=["lists","li"],he=["abstractLists","al"],ce=["background","bg"],pe=["styles","sty"],ue=["comments","cm"],ge=["revisions","r"],me=["customXml","cx"],fe=["defaultTabWidth","dtw"],ve=["formatting","fmt"],ye=["trackChanges","tc"],be=["protectionType","pt"],we=["enforcement","enf"],Ce=["hashValue","hv"],xe=["saltValue","sv"],Ie=["cryptProviderType","cpt"],ke=["cryptAlgorithmClass","cac"],Se=["cryptAlgorithmType","cat"],Te=["cryptAlgorithmSid","cas"],Pe=["cryptSpinCount","csc"],Fe=["dontUseHTMLParagraphAutoSpacing","dhtml"],He=["alignTablesRowByRow","atrr"],Ee=["formFieldShading","ffs"],Oe=["lastParagraphMarkCopied","lpmc"],Ne=["footnotes","fn"],We=["endnotes","en"],Be=["compatibilityMode","comp"],Le=["themeFontLanguages","tfl"],De=["themes","thm"],Re=["name","n"],Me=["basedOn","b"],Ae=["next","nx"],Ue=["link","l"],ze=["localeId","id"],Ve=["localeIdFarEast","idfe"],_e=["localeIdBidi","idbi"],qe=["bold","b"],je=["italic","i"],Ge=["underline","u"],Ke=["underlineColor","uc"],Xe=["fontHintType","fht"],Ze=["baselineAlignment","ba"],Je=["strikethrough","st"],Ye=["highlightColor","hc"],Qe=["fontSize","fsz"],$e=["fontColor","fc"],et=["fontFamily","ff"],tt=["styleName","stn"],it=["bidi","bi"],nt=["bdo","bdo"],rt=["breakClearType","bct"],ot=["fontSizeBidi","fszbi"],st=["fontFamilyBidi","ffbi"],at=["boldBidi","bbi"],lt=["italicBidi","ibi"],dt=["allCaps","ac"],ht=["complexScript","cs"],ct=["fontFamilyAscii","ffa"],pt=["fontFamilyFarEast","fffe"],ut=["fontFamilyNonFarEast","ffnfe"],gt=["revisionIds","rids"],mt=["listId","lid"],ft=["characterSpacing","csp"],vt=["scaling","sc"],yt=["listLevelNumber","lilno"],bt=["leftIndent","lin"],wt=["rightIndent","rin"],Ct=["firstLineIndent","fin"],xt=["textAlignment","ta"],It=["afterSpacing","as"],kt=["beforeSpacing","bs"],St=["spaceAfterAuto","saa"],Tt=["spaceBeforeAuto","sba"],Pt=["lineSpacing","ls"],Ft=["lineSpacingType","lst"],Ht=["listFormat","lif"],Et=["keepWithNext","kwn"],Ot=["widowControl","wc"],Nt=["keepLinesTogether","klt"],Wt=["outlineLevel","ol"],Bt=["contextualSpacing","cs"],Lt=["borders","bdrs"],Dt=["tabs","tb"],Rt=["headerDistance","hd"],Mt=["footerDistance","fd"],At=["differentFirstPage","dfp"],Ut=["differentOddAndEvenPages","doep"],zt=["pageWidth","pw"],Vt=["pageHeight","ph"],_t=["leftMargin","lm"],qt=["rightMargin","rm"],jt=["topMargin","tm"],Gt=["bottomMargin","bm"],Kt=["restartPageNumbering","rpn"],Xt=["pageStartingNumber","psn"],Zt=["endnoteNumberFormat","enf"],Jt=["footNoteNumberFormat","fnf"],Yt=["restartIndexForFootnotes","rif"],Qt=["restartIndexForEndnotes","rie"],$t=["initialFootNoteNumber","ifn"],ei=["initialEndNoteNumber","ien"],ti=["pageNumberStyle","pgns"],ii=["columns","cols"],ni=["numberOfColumns","ncols"],ri=["equalWidth","eqw"],oi=["lineBetweenColumns","lbtc"],si=["breakCode","bc"],ai=["cellWidth","cw"],li=["columnSpan","colsp"],di=["rowSpan","rwsp"],hi=["verticalAlignment","va"],ci=["allowBreakAcrossPages","abrk"],pi=["isHeader","hdr"],ui=["heightType","ht"],gi=["beforeWidth","bw"],mi=["afterWidth","aw"],fi=["gridBefore","gb"],vi=["gridBeforeWidth","gbw"],yi=["gridBeforeWidthType","gbwt"],bi=["gridAfter","ga"],wi=["gridAfterWidth","gaw"],Ci=["gridAfterWidthType","gawt"],xi=["allowAutoFit","auft"],Ii=["cellSpacing","csp"],ki=["shading","sd"],Si=["tableAlignment","ta"],Ti=["preferredWidth","pw"],Pi=["preferredWidthType","pwt"],Fi=["horizontalPositionAbs","hpa"],Hi=["texture","t"],Ei=["backgroundColor","bgc"],Oi=["foregroundColor","fgc"],Ni=["shadow","sh"],Wi=["hasNoneStyle","hns"],Bi=["vertical","v"],Li=["horizontal","h"],Di=["diagonalUp","du"],Ri=["diagonalDown","dd"],Mi=["lineStyle","ls"],Ai=["lineWidth","lw"],Ui=["layout","l"],zi=["dataFormat","df"],Vi=["yValue","y"],_i=["chartData","chd"],qi=["categoryXName","cx"],ji=["line","l"],Gi=["foreColor","fc"],Ki=["pattern","pt"],Xi=["layoutX","x"],Zi=["layoutY","y"],Ji=["direction","dir"],Yi=["endStyle","est"],Qi=["numberValue","no"],$i=["markerStyle","mst"],en=["markerColor","mc"],tn=["markerSize","msz"],nn=["forward","fw"],rn=["backward","bw"],on=["intercep