@syncfusion/ej2-vue-pdfviewer 19.4.43 → 19.4.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## 19.4.43 (2022-01-18)
6
+
7
+ ### PDF Viewer
8
+
9
+ #### Bug Fixes
10
+
11
+ `#SF-359772`,`#SF-359880`- Now, the form fields are editable on the mobile device.
12
+ `#SF-359042`- Free text annotations are downloaded properly without hiding any last character.
13
+ `#SF-358308`- Spinners are hidden properly while removing the display as none for the spinner.
14
+ `#SF-360035`- The Script error will no longer be thrown while using the editAnnotation method in mobile mode.
15
+ `#SF-358584`- Stamps are saved properly in the rotated PDF document.
16
+
17
+
5
18
  ## 19.4.42 (2022-01-11)
6
19
 
7
20
  ### PDF Viewer
@@ -1,29 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-vue-pdfviewer.umd.min.js
3
- * version : 19.4.43
3
+ * version : 19.4.48
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- /*!
11
- * filename: ej2-vue-pdfviewer.umd.min.js
12
- * version : 19.2.55
13
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
14
- * Use of this code is subject to the terms of our license.
15
- * A copy of the current license can be obtained at any time by e-mailing
16
- * licensing@syncfusion.com. Any infringement will be prosecuted under
17
- * applicable laws.
18
- */
19
- /*!
20
- * filename: ej2-vue-pdfviewer.umd.min.js
21
- * version : 19.1.63
22
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
23
- * Use of this code is subject to the terms of our license.
24
- * A copy of the current license can be obtained at any time by e-mailing
25
- * licensing@syncfusion.com. Any infringement will be prosecuted under
26
- * applicable laws.
27
- */
28
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-pdfviewer"),require("@syncfusion/ej2-vue-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-pdfviewer","@syncfusion/ej2-vue-base"],t):t(e.ej={},e.ej2Pdfviewer,e.ej2VueBase)}(this,function(e,t,n){"use strict";var o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},r=["ajaxRequestSettings","annotationSelectorSettings","annotationSettings","annotations","areaSettings","arrowSettings","circleSettings","contextMenuOption","contextMenuSettings","currentPageNumber","customStamp","customStampSettings","dateTimeFormat","disableContextMenuItems","distanceSettings","documentPath","downloadFileName","drawingObject","enableAnnotation","enableAnnotationToolbar","enableAutoComplete","enableBookmark","enableBookmarkStyles","enableCommentPanel","enableDesktopMode","enableDownload","enableFormFields","enableFormFieldsValidation","enableFreeText","enableHandwrittenSignature","enableHyperlink","enableImportAnnotationMeasurement","enableInkAnnotation","enableMagnification","enableMeasureAnnotation","enableMultiLineOverlap","enableMultiPageAnnotation","enableNavigation","enableNavigationToolbar","enablePersistence","enablePinchZoom","enablePrint","enableRtl","enableShapeAnnotation","enableShapeLabel","enableStampAnnotations","enableStickyNotesAnnotation","enableTextMarkupAnnotation","enableTextMarkupResizer","enableTextSearch","enableTextSelection","enableThumbnail","enableToolbar","enableZoomOptimization","exportAnnotationFileName","formFieldCollections","freeTextSettings","handWrittenSignatureSettings","height","hideSaveSignature","highlightSettings","hyperlinkOpenState","inkAnnotationSettings","interactionMode","isAnnotationToolbarOpen","isAnnotationToolbarVisible","isBookmarkPanelOpen","isCommandPanelOpen","isDocumentEdited","isExtractText","isFormFieldDocument","isMaintainSelection","isSignatureEditable","isThumbnailViewOpen","isValidFreeText","lineSettings","locale","measurementSettings","pageCount","perimeterSettings","polygonSettings","printMode","radiusSettings","rectangleSettings","restrictZoomRequest","retryCount","scrollSettings","selectedItems","serverActionSettings","serviceUrl","shapeLabelSettings","showNotificationDialog","signatureFieldSettings","signatureFitMode","stampSettings","stickyNotesSettings","strikethroughSettings","textSearchColorSettings","tileRenderingSettings","toolbarSettings","underlineSettings","volumeSettings","width","zoomMode","zoomValue","addSignature","ajaxRequestFailed","ajaxRequestInitiate","annotationAdd","annotationDoubleClick","annotationMouseLeave","annotationMouseover","annotationMove","annotationPropertiesChange","annotationRemove","annotationResize","annotationSelect","annotationUnSelect","beforeAddFreeText","bookmarkClick","buttonFieldClick","commentAdd","commentDelete","commentEdit","commentSelect","commentStatusChanged","created","documentLoad","documentLoadFailed","documentUnload","downloadEnd","downloadStart","exportFailed","exportStart","exportSuccess","extractTextCompleted","formFieldClick","formFieldFocusOut","hyperlinkClick","hyperlinkMouseOver","importFailed","importStart","importSuccess","moveSignature","pageChange","pageClick","pageMouseover","printEnd","printStart","removeSignature","resizeSignature","signaturePropertiesChange","signatureSelect","textSearchComplete","textSearchHighlight","textSearchStart","textSelectionEnd","textSelectionStart","thumbnailClick","validateFormFields","zoomChange"],a=[],s=function(e){function s(){var n=e.call(this)||this;return n.propKeys=r,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.ej2Instances=new t.PdfViewer({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n}return o(s,e),s.prototype.setProperties=function(e,t){var n=this;this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||n.$emit("update:"+t,e[t])})})},s.prototype.render=function(e){return e("div",this.$slots.default)},s.prototype.addAnnotation=function(e){return this.ej2Instances.addAnnotation(e)},s.prototype.clearFormFields=function(e){return this.ej2Instances.clearFormFields(e)},s.prototype.deleteAnnotations=function(){return this.ej2Instances.deleteAnnotations()},s.prototype.download=function(){return this.ej2Instances.download()},s.prototype.exportAnnotation=function(e){return this.ej2Instances.exportAnnotation(e)},s.prototype.exportAnnotationsAsObject=function(){return this.ej2Instances.exportAnnotationsAsObject()},s.prototype.exportFormFields=function(e){return this.ej2Instances.exportFormFields(e)},s.prototype.exportFormFieldsAsObject=function(){return this.ej2Instances.exportFormFieldsAsObject()},s.prototype.importAnnotation=function(e,t){return this.ej2Instances.importAnnotation(e,t)},s.prototype.importFormFields=function(e){return this.ej2Instances.importFormFields(e)},s.prototype.load=function(e,t){return this.ej2Instances.load(e,t)},s.prototype.redo=function(){return this.ej2Instances.redo()},s.prototype.requiredModules=function(){return this.ej2Instances.requiredModules()},s.prototype.resetFormFields=function(){return this.ej2Instances.resetFormFields()},s.prototype.retrieveFormFields=function(){return this.ej2Instances.retrieveFormFields()},s.prototype.saveAsBlob=function(){return this.ej2Instances.saveAsBlob()},s.prototype.setJsonData=function(e){return this.ej2Instances.setJsonData(e)},s.prototype.showNotificationPopup=function(e){return this.ej2Instances.showNotificationPopup(e)},s.prototype.undo=function(){return this.ej2Instances.undo()},s.prototype.unload=function(){return this.ej2Instances.unload()},s.prototype.updateFormFields=function(e){return this.ej2Instances.updateFormFields(e)},s.prototype.updateFormFieldsValue=function(e){return this.ej2Instances.updateFormFieldsValue(e)},s.prototype.updateViewerContainer=function(){return this.ej2Instances.updateViewerContainer()},s=i([n.EJComponentDecorator({props:r})],s)}(n.ComponentBase),l={name:"ejs-pdfviewer",install:function(e){e.component(l.name,s)}};e.PdfViewerComponent=s,e.PdfViewerPlugin=l,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-pdfviewer"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-pdfviewer","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Pdfviewer,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,o){"use strict";var i=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),r=function(e,t,n,o){var i,r=arguments.length,s=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(r<3?i(s):r>3?i(t,n,s):i(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},s=["isLazyUpdate","DropdownFieldSettings","ajaxRequestSettings","annotationSelectorSettings","annotationSettings","annotations","areaSettings","arrowSettings","checkBoxFieldSettings","circleSettings","contextMenuOption","contextMenuSettings","currentPageNumber","customStamp","customStampSettings","dateTimeFormat","designerMode","disableContextMenuItems","distanceSettings","documentPath","downloadFileName","drawingObject","enableAnnotation","enableAnnotationToolbar","enableAutoComplete","enableBookmark","enableBookmarkStyles","enableCommentPanel","enableDesktopMode","enableDownload","enableFormDesigner","enableFormDesignerToolbar","enableFormFields","enableFormFieldsValidation","enableFreeText","enableHandwrittenSignature","enableHyperlink","enableImportAnnotationMeasurement","enableInkAnnotation","enableMagnification","enableMeasureAnnotation","enableMultiLineOverlap","enableMultiPageAnnotation","enableNavigation","enableNavigationToolbar","enablePersistence","enablePinchZoom","enablePrint","enablePrintRotation","enableRtl","enableShapeAnnotation","enableShapeLabel","enableStampAnnotations","enableStickyNotesAnnotation","enableTextMarkupAnnotation","enableTextMarkupResizer","enableTextSearch","enableTextSelection","enableThumbnail","enableToolbar","enableZoomOptimization","exportAnnotationFileName","formFieldCollections","formFields","freeTextSettings","handWrittenSignatureSettings","height","hideSaveSignature","highlightSettings","hyperlinkOpenState","initialDialogSettings","initialFieldSettings","inkAnnotationSettings","interactionMode","isAnnotationToolbarOpen","isAnnotationToolbarVisible","isBookmarkPanelOpen","isCommandPanelOpen","isDocumentEdited","isExtractText","isFormDesignerToolbarVisible","isFormFieldDocument","isInitialFieldToolbarSelection","isMaintainSelection","isSignatureEditable","isThumbnailViewOpen","isValidFreeText","lineSettings","listBoxFieldSettings","locale","measurementSettings","pageCount","passwordFieldSettings","perimeterSettings","polygonSettings","printMode","radioButtonFieldSettings","radiusSettings","rectangleSettings","restrictZoomRequest","retryCount","scrollSettings","selectedItems","serverActionSettings","serviceUrl","shapeLabelSettings","showNotificationDialog","signatureDialogSettings","signatureFieldSettings","signatureFitMode","stampSettings","stickyNotesSettings","strikethroughSettings","textFieldSettings","textSearchColorSettings","tileRenderingSettings","toolbarSettings","underlineSettings","volumeSettings","width","zoomMode","zoomValue","addSignature","ajaxRequestFailed","ajaxRequestInitiate","ajaxRequestSuccess","annotationAdd","annotationDoubleClick","annotationMouseLeave","annotationMouseover","annotationMove","annotationMoving","annotationPropertiesChange","annotationRemove","annotationResize","annotationSelect","annotationUnSelect","beforeAddFreeText","bookmarkClick","buttonFieldClick","commentAdd","commentDelete","commentEdit","commentSelect","commentStatusChanged","created","documentLoad","documentLoadFailed","documentUnload","downloadEnd","downloadStart","exportFailed","exportStart","exportSuccess","extractTextCompleted","formFieldAdd","formFieldClick","formFieldDoubleClick","formFieldFocusOut","formFieldMouseLeave","formFieldMouseover","formFieldMove","formFieldPropertiesChange","formFieldRemove","formFieldResize","formFieldSelect","formFieldUnselect","hyperlinkClick","hyperlinkMouseOver","importFailed","importStart","importSuccess","moveSignature","pageChange","pageClick","pageMouseover","printEnd","printStart","removeSignature","resizeSignature","signaturePropertiesChange","signatureSelect","textSearchComplete","textSearchHighlight","textSearchStart","textSelectionEnd","textSelectionStart","thumbnailClick","validateFormFields","zoomChange"],a=[],l=n.getProps({props:s}),c=(l[0],l[1]),u=Object.keys(c);u.push("modelchanged");for(var p=0,d=a;p<d.length;p++){var m=d[p];u.push("update:"+m)}var f=!n.gh,g=function(e){function l(){var n=e.call(this,arguments)||this;return n.propKeys=s,n.models=a,n.hasChildDirective=!1,n.hasInjectedModules=!0,n.tagMapper={},n.tagNameMapper={},n.isVue3=!f,n.ej2Instances=new t.PdfViewer({}),n.bindProperties(),n.ej2Instances._setProperties=n.ej2Instances.setProperties,n.ej2Instances.setProperties=n.setProperties,n.ej2Instances.clearTemplate=n.clearTemplate,n}return i(l,e),l.prototype.clearTemplate=function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var i=n[t],r=this.templateCollection[i];if(r&&r.length){for(var s=0,a=r;s<a.length;s++){var l=a[s];o.getValue("__vue__.$destroy",l)&&l.__vue__.$destroy(),l.innerHTML&&(l.innerHTML="")}delete this.templateCollection[i]}}},l.prototype.setProperties=function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(o){t!==o||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},l.prototype.render=function(e){var t=n.gh||e,i=null;return o.isNullOrUndefined(this.$slots.default)||(i=n.gh?this.$slots.default():this.$slots.default),t("div",i)},l.prototype.addAnnotation=function(e){return this.ej2Instances.addAnnotation(e)},l.prototype.clearFormFields=function(e){return this.ej2Instances.clearFormFields(e)},l.prototype.deleteAnnotations=function(){return this.ej2Instances.deleteAnnotations()},l.prototype.download=function(){return this.ej2Instances.download()},l.prototype.exportAnnotation=function(e){return this.ej2Instances.exportAnnotation(e)},l.prototype.exportAnnotationsAsBase64String=function(e){return this.ej2Instances.exportAnnotationsAsBase64String(e)},l.prototype.exportAnnotationsAsObject=function(){return this.ej2Instances.exportAnnotationsAsObject()},l.prototype.exportFormFields=function(e){return this.ej2Instances.exportFormFields(e)},l.prototype.exportFormFieldsAsObject=function(){return this.ej2Instances.exportFormFieldsAsObject()},l.prototype.importAnnotation=function(e,t){return this.ej2Instances.importAnnotation(e,t)},l.prototype.importFormFields=function(e){return this.ej2Instances.importFormFields(e)},l.prototype.load=function(e,t){return this.ej2Instances.load(e,t)},l.prototype.redo=function(){return this.ej2Instances.redo()},l.prototype.requiredModules=function(){return this.ej2Instances.requiredModules()},l.prototype.resetFormFields=function(){return this.ej2Instances.resetFormFields()},l.prototype.retrieveFormFields=function(){return this.ej2Instances.retrieveFormFields()},l.prototype.saveAsBlob=function(){return this.ej2Instances.saveAsBlob()},l.prototype.setJsonData=function(e){return this.ej2Instances.setJsonData(e)},l.prototype.showNotificationPopup=function(e){return this.ej2Instances.showNotificationPopup(e)},l.prototype.undo=function(){return this.ej2Instances.undo()},l.prototype.unload=function(){return this.ej2Instances.unload()},l.prototype.updateFormFields=function(e){return this.ej2Instances.updateFormFields(e)},l.prototype.updateFormFieldsValue=function(e){return this.ej2Instances.updateFormFieldsValue(e)},l.prototype.updateViewerContainer=function(){return this.ej2Instances.updateViewerContainer()},l=r([n.EJComponentDecorator({props:s},f)],l)}(n.ComponentBase),h={name:"ejs-pdfviewer",install:function(e){e.component(h.name,g)}};e.PdfViewerComponent=g,e.PdfViewerPlugin=h,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
29
11
  //# sourceMappingURL=ej2-vue-pdfviewer.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-vue-pdfviewer.umd.min.js","sources":["../src/pdfviewer/pdfviewer.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator } from '@syncfusion/ej2-vue-base';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\nexport var properties = ['ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'circleSettings', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'disableContextMenuItems', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'formFieldCollections', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormFieldDocument', 'isMaintainSelection', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'locale', 'measurementSettings', 'pageCount', 'perimeterSettings', 'polygonSettings', 'printMode', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showNotificationDialog', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldClick', 'formFieldFocusOut', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];\nexport var modelProps = [];\n/**\n * `ejs-pdfviewer` represents the VueJS PdfViewer Component.\n * ```vue\n * <ejs-pdfviewer></ejs-pdfviewer>\n * ```\n */\nvar PdfViewerComponent = /** @class */ (function (_super) {\n __extends(PdfViewerComponent, _super);\n function PdfViewerComponent() {\n var _this = _super.call(this) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.ej2Instances = new PdfViewer({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n return _this;\n }\n PdfViewerComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n _this.$emit('update:' + key, prop[key]);\n }\n });\n });\n }\n };\n PdfViewerComponent.prototype.render = function (createElement) {\n return createElement('div', this.$slots.default);\n };\n PdfViewerComponent.prototype.addAnnotation = function (annotation) {\n return this.ej2Instances.addAnnotation(annotation);\n };\n PdfViewerComponent.prototype.clearFormFields = function (formField) {\n return this.ej2Instances.clearFormFields(formField);\n };\n PdfViewerComponent.prototype.deleteAnnotations = function () {\n return this.ej2Instances.deleteAnnotations();\n };\n PdfViewerComponent.prototype.download = function () {\n return this.ej2Instances.download();\n };\n PdfViewerComponent.prototype.exportAnnotation = function (annotationDataFormat) {\n return this.ej2Instances.exportAnnotation(annotationDataFormat);\n };\n PdfViewerComponent.prototype.exportAnnotationsAsObject = function () {\n return this.ej2Instances.exportAnnotationsAsObject();\n };\n PdfViewerComponent.prototype.exportFormFields = function (path) {\n return this.ej2Instances.exportFormFields(path);\n };\n PdfViewerComponent.prototype.exportFormFieldsAsObject = function () {\n return this.ej2Instances.exportFormFieldsAsObject();\n };\n PdfViewerComponent.prototype.importAnnotation = function (importData, annotationDataFormat) {\n return this.ej2Instances.importAnnotation(importData, annotationDataFormat);\n };\n PdfViewerComponent.prototype.importFormFields = function (formFields) {\n return this.ej2Instances.importFormFields(formFields);\n };\n PdfViewerComponent.prototype.load = function (document, password) {\n return this.ej2Instances.load(document, password);\n };\n PdfViewerComponent.prototype.redo = function () {\n return this.ej2Instances.redo();\n };\n PdfViewerComponent.prototype.requiredModules = function () {\n return this.ej2Instances.requiredModules();\n };\n PdfViewerComponent.prototype.resetFormFields = function () {\n return this.ej2Instances.resetFormFields();\n };\n PdfViewerComponent.prototype.retrieveFormFields = function () {\n return this.ej2Instances.retrieveFormFields();\n };\n PdfViewerComponent.prototype.saveAsBlob = function () {\n return this.ej2Instances.saveAsBlob();\n };\n PdfViewerComponent.prototype.setJsonData = function (jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n };\n PdfViewerComponent.prototype.showNotificationPopup = function (errorString) {\n return this.ej2Instances.showNotificationPopup(errorString);\n };\n PdfViewerComponent.prototype.undo = function () {\n return this.ej2Instances.undo();\n };\n PdfViewerComponent.prototype.unload = function () {\n return this.ej2Instances.unload();\n };\n PdfViewerComponent.prototype.updateFormFields = function (formFields) {\n return this.ej2Instances.updateFormFields(formFields);\n };\n PdfViewerComponent.prototype.updateFormFieldsValue = function (fieldValue) {\n return this.ej2Instances.updateFormFieldsValue(fieldValue);\n };\n PdfViewerComponent.prototype.updateViewerContainer = function () {\n return this.ej2Instances.updateViewerContainer();\n };\n PdfViewerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n })\n ], PdfViewerComponent);\n return PdfViewerComponent;\n}(ComponentBase));\nexport { PdfViewerComponent };\nexport var PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install: function (Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","PdfViewerComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","ej2Instances","PdfViewer","bindProperties","_setProperties","setProperties","prop","muteOnChange","keys","map","model","test","$emit","render","createElement","$slots","default","addAnnotation","annotation","clearFormFields","formField","deleteAnnotations","download","exportAnnotation","annotationDataFormat","exportAnnotationsAsObject","exportFormFields","path","exportFormFieldsAsObject","importAnnotation","importData","importFormFields","formFields","load","document","password","redo","requiredModules","resetFormFields","retrieveFormFields","saveAsBlob","setJsonData","jsonData","showNotificationPopup","errorString","undo","unload","updateFormFields","updateFormFieldsValue","fieldValue","updateViewerContainer","EJComponentDecorator","props","ComponentBase","PdfViewerPlugin","name","install","Vue","component"],"mappings":"qVAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IA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lB,UAAU+D,KAAO,WAChC,OAAOjE,KAAK8B,aAAamC,QAE7B7C,EAAmBlB,UAAUgE,gBAAkB,WAC3C,OAAOlE,KAAK8B,aAAaoC,mBAE7B9C,EAAmBlB,UAAUiE,gBAAkB,WAC3C,OAAOnE,KAAK8B,aAAaqC,mBAE7B/C,EAAmBlB,UAAUkE,mBAAqB,WAC9C,OAAOpE,KAAK8B,aAAasC,sBAE7BhD,EAAmBlB,UAAUmE,WAAa,WACtC,OAAOrE,KAAK8B,aAAauC,cAE7BjD,EAAmBlB,UAAUoE,YAAc,SAAUC,GACjD,OAAOvE,KAAK8B,aAAawC,YAAYC,IAEzCnD,EAAmBlB,UAAUsE,sBAAwB,SAAUC,GAC3D,OAAOzE,KAAK8B,aAAa0C,sBAAsBC,IAEnDrD,EAAmBlB,UAAUwE,KAAO,WAChC,OAAO1E,KAAK8B,aAAa4C,QAE7BtD,EAAmBlB,UAAUyE,OAAS,WAClC,OAAO3E,KAAK8B,aAAa6C,UAE7BvD,EAAmBlB,UAAU0E,iBAAmB,SAAUf,GACtD,OAAO7D,KAAK8B,aAAa8C,iBAAiBf,IAE9CzC,EAAmBlB,UAAU2E,sBAAwB,SAAUC,GAC3D,OAAO9E,KAAK8B,aAAa+C,sBAAsBC,IAEnD1D,EAAmBlB,UAAU6E,sBAAwB,WACjD,OAAO/E,KAAK8B,aAAaiD,yBAE7B3D,EAAqBhB,GACjB4E,wBACIC,MAAO/D,KAEZE,IAEL8D,iBAESC,GACPC,KAAM,gBACNC,QAAS,SAAUC,GACfA,EAAIC,UAAUJ,EAAgBC,KAAMhE"}
1
+ {"version":3,"file":"ej2-vue-pdfviewer.umd.min.js","sources":["../src/pdfviewer/pdfviewer.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { ComponentBase, EJComponentDecorator, getProps, gh } from '@syncfusion/ej2-vue-base';\nimport { isNullOrUndefined, getValue } from '@syncfusion/ej2-base';\nimport { PdfViewer } from '@syncfusion/ej2-pdfviewer';\n// {{VueImport}}\nexport var properties = ['isLazyUpdate', 'DropdownFieldSettings', 'ajaxRequestSettings', 'annotationSelectorSettings', 'annotationSettings', 'annotations', 'areaSettings', 'arrowSettings', 'checkBoxFieldSettings', 'circleSettings', 'contextMenuOption', 'contextMenuSettings', 'currentPageNumber', 'customStamp', 'customStampSettings', 'dateTimeFormat', 'designerMode', 'disableContextMenuItems', 'distanceSettings', 'documentPath', 'downloadFileName', 'drawingObject', 'enableAnnotation', 'enableAnnotationToolbar', 'enableAutoComplete', 'enableBookmark', 'enableBookmarkStyles', 'enableCommentPanel', 'enableDesktopMode', 'enableDownload', 'enableFormDesigner', 'enableFormDesignerToolbar', 'enableFormFields', 'enableFormFieldsValidation', 'enableFreeText', 'enableHandwrittenSignature', 'enableHyperlink', 'enableImportAnnotationMeasurement', 'enableInkAnnotation', 'enableMagnification', 'enableMeasureAnnotation', 'enableMultiLineOverlap', 'enableMultiPageAnnotation', 'enableNavigation', 'enableNavigationToolbar', 'enablePersistence', 'enablePinchZoom', 'enablePrint', 'enablePrintRotation', 'enableRtl', 'enableShapeAnnotation', 'enableShapeLabel', 'enableStampAnnotations', 'enableStickyNotesAnnotation', 'enableTextMarkupAnnotation', 'enableTextMarkupResizer', 'enableTextSearch', 'enableTextSelection', 'enableThumbnail', 'enableToolbar', 'enableZoomOptimization', 'exportAnnotationFileName', 'formFieldCollections', 'formFields', 'freeTextSettings', 'handWrittenSignatureSettings', 'height', 'hideSaveSignature', 'highlightSettings', 'hyperlinkOpenState', 'initialDialogSettings', 'initialFieldSettings', 'inkAnnotationSettings', 'interactionMode', 'isAnnotationToolbarOpen', 'isAnnotationToolbarVisible', 'isBookmarkPanelOpen', 'isCommandPanelOpen', 'isDocumentEdited', 'isExtractText', 'isFormDesignerToolbarVisible', 'isFormFieldDocument', 'isInitialFieldToolbarSelection', 'isMaintainSelection', 'isSignatureEditable', 'isThumbnailViewOpen', 'isValidFreeText', 'lineSettings', 'listBoxFieldSettings', 'locale', 'measurementSettings', 'pageCount', 'passwordFieldSettings', 'perimeterSettings', 'polygonSettings', 'printMode', 'radioButtonFieldSettings', 'radiusSettings', 'rectangleSettings', 'restrictZoomRequest', 'retryCount', 'scrollSettings', 'selectedItems', 'serverActionSettings', 'serviceUrl', 'shapeLabelSettings', 'showNotificationDialog', 'signatureDialogSettings', 'signatureFieldSettings', 'signatureFitMode', 'stampSettings', 'stickyNotesSettings', 'strikethroughSettings', 'textFieldSettings', 'textSearchColorSettings', 'tileRenderingSettings', 'toolbarSettings', 'underlineSettings', 'volumeSettings', 'width', 'zoomMode', 'zoomValue', 'addSignature', 'ajaxRequestFailed', 'ajaxRequestInitiate', 'ajaxRequestSuccess', 'annotationAdd', 'annotationDoubleClick', 'annotationMouseLeave', 'annotationMouseover', 'annotationMove', 'annotationMoving', 'annotationPropertiesChange', 'annotationRemove', 'annotationResize', 'annotationSelect', 'annotationUnSelect', 'beforeAddFreeText', 'bookmarkClick', 'buttonFieldClick', 'commentAdd', 'commentDelete', 'commentEdit', 'commentSelect', 'commentStatusChanged', 'created', 'documentLoad', 'documentLoadFailed', 'documentUnload', 'downloadEnd', 'downloadStart', 'exportFailed', 'exportStart', 'exportSuccess', 'extractTextCompleted', 'formFieldAdd', 'formFieldClick', 'formFieldDoubleClick', 'formFieldFocusOut', 'formFieldMouseLeave', 'formFieldMouseover', 'formFieldMove', 'formFieldPropertiesChange', 'formFieldRemove', 'formFieldResize', 'formFieldSelect', 'formFieldUnselect', 'hyperlinkClick', 'hyperlinkMouseOver', 'importFailed', 'importStart', 'importSuccess', 'moveSignature', 'pageChange', 'pageClick', 'pageMouseover', 'printEnd', 'printStart', 'removeSignature', 'resizeSignature', 'signaturePropertiesChange', 'signatureSelect', 'textSearchComplete', 'textSearchHighlight', 'textSearchStart', 'textSelectionEnd', 'textSelectionStart', 'thumbnailClick', 'validateFormFields', 'zoomChange'];\nexport var modelProps = [];\nexport var testProp = getProps({ props: properties });\nexport var props = testProp[0];\nexport var watch = testProp[1];\nexport var emitProbs = Object.keys(watch);\nemitProbs.push('modelchanged');\nfor (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {\n var props_1 = modelProps_1[_i];\n emitProbs.push('update:' + props_1);\n}\nexport var isExecute = gh ? false : true;\n/**\n * `ejs-pdfviewer` represents the VueJS PdfViewer Component.\n * ```vue\n * <ejs-pdfviewer></ejs-pdfviewer>\n * ```\n */\nvar PdfViewerComponent = /** @class */ (function (_super) {\n __extends(PdfViewerComponent, _super);\n function PdfViewerComponent() {\n var _this = _super.call(this, arguments) || this;\n _this.propKeys = properties;\n _this.models = modelProps;\n _this.hasChildDirective = false;\n _this.hasInjectedModules = true;\n _this.tagMapper = {};\n _this.tagNameMapper = {};\n _this.isVue3 = !isExecute;\n _this.ej2Instances = new PdfViewer({});\n _this.bindProperties();\n _this.ej2Instances._setProperties = _this.ej2Instances.setProperties;\n _this.ej2Instances.setProperties = _this.setProperties;\n _this.ej2Instances.clearTemplate = _this.clearTemplate;\n return _this;\n }\n PdfViewerComponent.prototype.clearTemplate = function (templateNames) {\n if (!templateNames) {\n templateNames = Object.keys(this.templateCollection || {});\n }\n if (templateNames.length && this.templateCollection) {\n for (var _i = 0, templateNames_1 = templateNames; _i < templateNames_1.length; _i++) {\n var tempName = templateNames_1[_i];\n var elementCollection = this.templateCollection[tempName];\n if (elementCollection && elementCollection.length) {\n for (var _a = 0, elementCollection_1 = elementCollection; _a < elementCollection_1.length; _a++) {\n var ele = elementCollection_1[_a];\n var destroy = getValue('__vue__.$destroy', ele);\n if (destroy) {\n ele.__vue__.$destroy();\n }\n if (ele.innerHTML) {\n ele.innerHTML = '';\n }\n }\n delete this.templateCollection[tempName];\n }\n }\n }\n };\n PdfViewerComponent.prototype.setProperties = function (prop, muteOnChange) {\n var _this = this;\n if (this.isVue3) {\n this.models = !this.models ? this.ej2Instances.referModels : this.models;\n }\n if (this.ej2Instances && this.ej2Instances._setProperties) {\n this.ej2Instances._setProperties(prop, muteOnChange);\n }\n if (prop && this.models && this.models.length) {\n Object.keys(prop).map(function (key) {\n _this.models.map(function (model) {\n if ((key === model) && !(/datasource/i.test(key))) {\n if (_this.isVue3) {\n _this.ej2Instances.vueInstance.$emit('update:' + key, prop[key]);\n }\n else {\n _this.$emit('update:' + key, prop[key]);\n _this.$emit('modelchanged', prop[key]);\n }\n }\n });\n });\n }\n };\n PdfViewerComponent.prototype.render = function (createElement) {\n var h = gh || createElement;\n var slots = null;\n if (!isNullOrUndefined(this.$slots.default)) {\n slots = gh ? this.$slots.default() : this.$slots.default;\n }\n return h('div', slots);\n };\n PdfViewerComponent.prototype.addAnnotation = function (annotation) {\n return this.ej2Instances.addAnnotation(annotation);\n };\n PdfViewerComponent.prototype.clearFormFields = function (formField) {\n return this.ej2Instances.clearFormFields(formField);\n };\n PdfViewerComponent.prototype.deleteAnnotations = function () {\n return this.ej2Instances.deleteAnnotations();\n };\n PdfViewerComponent.prototype.download = function () {\n return this.ej2Instances.download();\n };\n PdfViewerComponent.prototype.exportAnnotation = function (annotationDataFormat) {\n return this.ej2Instances.exportAnnotation(annotationDataFormat);\n };\n PdfViewerComponent.prototype.exportAnnotationsAsBase64String = function (annotationDataFormat) {\n return this.ej2Instances.exportAnnotationsAsBase64String(annotationDataFormat);\n };\n PdfViewerComponent.prototype.exportAnnotationsAsObject = function () {\n return this.ej2Instances.exportAnnotationsAsObject();\n };\n PdfViewerComponent.prototype.exportFormFields = function (path) {\n return this.ej2Instances.exportFormFields(path);\n };\n PdfViewerComponent.prototype.exportFormFieldsAsObject = function () {\n return this.ej2Instances.exportFormFieldsAsObject();\n };\n PdfViewerComponent.prototype.importAnnotation = function (importData, annotationDataFormat) {\n return this.ej2Instances.importAnnotation(importData, annotationDataFormat);\n };\n PdfViewerComponent.prototype.importFormFields = function (formFields) {\n return this.ej2Instances.importFormFields(formFields);\n };\n PdfViewerComponent.prototype.load = function (document, password) {\n return this.ej2Instances.load(document, password);\n };\n PdfViewerComponent.prototype.redo = function () {\n return this.ej2Instances.redo();\n };\n PdfViewerComponent.prototype.requiredModules = function () {\n return this.ej2Instances.requiredModules();\n };\n PdfViewerComponent.prototype.resetFormFields = function () {\n return this.ej2Instances.resetFormFields();\n };\n PdfViewerComponent.prototype.retrieveFormFields = function () {\n return this.ej2Instances.retrieveFormFields();\n };\n PdfViewerComponent.prototype.saveAsBlob = function () {\n return this.ej2Instances.saveAsBlob();\n };\n PdfViewerComponent.prototype.setJsonData = function (jsonData) {\n return this.ej2Instances.setJsonData(jsonData);\n };\n PdfViewerComponent.prototype.showNotificationPopup = function (errorString) {\n return this.ej2Instances.showNotificationPopup(errorString);\n };\n PdfViewerComponent.prototype.undo = function () {\n return this.ej2Instances.undo();\n };\n PdfViewerComponent.prototype.unload = function () {\n return this.ej2Instances.unload();\n };\n PdfViewerComponent.prototype.updateFormFields = function (formFields) {\n return this.ej2Instances.updateFormFields(formFields);\n };\n PdfViewerComponent.prototype.updateFormFieldsValue = function (fieldValue) {\n return this.ej2Instances.updateFormFieldsValue(fieldValue);\n };\n PdfViewerComponent.prototype.updateViewerContainer = function () {\n return this.ej2Instances.updateViewerContainer();\n };\n PdfViewerComponent = __decorate([\n EJComponentDecorator({\n props: properties\n }, isExecute)\n /* Start Options({\n props: props,\n watch: watch,\n emits: emitProbs\n }) End */\n ], PdfViewerComponent);\n return PdfViewerComponent;\n}(ComponentBase));\nexport { PdfViewerComponent };\nexport var PdfViewerPlugin = {\n name: 'ejs-pdfviewer',\n install: function (Vue) {\n Vue.component(PdfViewerPlugin.name, PdfViewerComponent);\n }\n};\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","properties","modelProps","testProp","getProps","props","watch","emitProbs","keys","push","_i","modelProps_1","props_1","isExecute","gh","PdfViewerComponent","_super","_this","call","propKeys","models","hasChildDirective","hasInjectedModules","tagMapper","tagNameMapper","isVue3","ej2Instances","PdfViewer","bindProperties","_setProperties","setProperties","clearTemplate","templateNames","templateCollection","templateNames_1","tempName","elementCollection","_a","elementCollection_1","ele","getValue","__vue__","$destroy","innerHTML","prop","muteOnChange","referModels","map","model","test","vueInstance","$emit","render","createElement","h","slots","isNullOrUndefined","$slots","default","addAnnotation","annotation","clearFormFields","formField","deleteAnnotations","download","exportAnnotation","annotationDataFormat","exportAnnotationsAsBase64String","exportAnnotationsAsObject","exportFormFields","path","exportFormFieldsAsObject","importAnnotation","importData","importFormFields","formFields","load","document","password","redo","requiredModules","resetFormFields","retrieveFormFields","saveAsBlob","setJsonData","jsonData","showNotificationPopup","errorString","undo","unload","updateFormFields","updateFormFieldsValue","fieldValue","updateViewerContainer","EJComponentDecorator","ComponentBase","PdfViewerPlugin","name","install","Vue","component"],"mappings":"wZAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH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