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A,WAAW,CAACK,IAAZ,kBAj6B+F5Q,8DAi6B/F;AAAA,YAAgI,CAACD,0DAAD,CAAhI;AAAA;;AACA;AAAA,qDAl6B+FC,+DAk6B/F,CAA2FuQ,WAA3F,EAAoH,CAAC;AACzG1L,IAAAA,IAAI,EAAE3D,mDADmG;AAEzG4D,IAAAA,IAAI,EAAE,CAAC;AACC+L,MAAAA,YAAY,EAAE,CACVvB,oBADU,EAEVgB,kBAFU,EAGVL,sBAHU,CADf;AAMCa,MAAAA,OAAO,EAAE,CAACxB,oBAAD,EAAuBgB,kBAAvB,EAA2CL,sBAA3C,CANV;AAOCc,MAAAA,OAAO,EAAE,CAAChR,0DAAD;AAPV,KAAD;AAFmG,GAAD,CAApH;AAAA;AAaA;AACA;AACA;;AAEA;AACA;AACA;;;;;;;;;;;;;;;;;AC3gCA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA","sources":["./node_modules/ngx-quill/fesm2020/ngx-quill.mjs","./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js"],"sourcesContent":["import * as i3 from '@angular/common';\nimport { DOCUMENT, isPlatformServer, CommonModule } from '@angular/common';\nimport * as i0 from '@angular/core';\nimport { InjectionToken, Injectable, Optional, Inject, EventEmitter, SecurityContext, PLATFORM_ID, Directive, Input, Output, ElementRef, ChangeDetectorRef, Renderer2, NgZone, forwardRef, Component, ViewEncapsulation, NgModule } from '@angular/core';\nimport * as i1 from '@angular/platform-browser';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport { defer, Subscription, fromEvent } from 'rxjs';\nimport { shareReplay, debounceTime } from 'rxjs/operators';\nimport { NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';\n\nconst defaultModules = {\n toolbar: [\n ['bold', 'italic', 'underline', 'strike'],\n ['blockquote', 'code-block'],\n [{ header: 1 }, { header: 2 }],\n [{ list: 'ordered' }, { list: 'bullet' }],\n [{ script: 'sub' }, { script: 'super' }],\n [{ indent: '-1' }, { indent: '+1' }],\n [{ direction: 'rtl' }],\n [{ size: ['small', false, 'large', 'huge'] }],\n [{ header: [1, 2, 3, 4, 5, 6, false] }],\n [\n { color: [] },\n { background: [] }\n ],\n [{ font: [] }],\n [{ align: [] }],\n ['clean'],\n ['link', 'image', 'video'] // link and image, video\n ]\n};\n\nconst getFormat = (format, configFormat) => {\n const passedFormat = format || configFormat;\n return passedFormat || 'html';\n};\n\nconst QUILL_CONFIG_TOKEN = new InjectionToken('config', {\n providedIn: 'root',\n factory: () => ({ modules: defaultModules })\n});\n\nclass QuillService {\n constructor(injector, config) {\n this.config = config;\n this.quill$ = defer(async () => {\n if (!this.Quill) {\n // Quill adds events listeners on import https://github.com/quilljs/quill/blob/develop/core/emitter.js#L8\n // We'd want to use the unpatched `addEventListener` method to have all event callbacks to be run outside of zone.\n // We don't know yet if the `zone.js` is used or not, just save the value to restore it back further.\n const maybePatchedAddEventListener = this.document.addEventListener;\n // There're 2 types of Angular applications:\n // 1) zone-full (by default)\n // 2) zone-less\n // The developer can avoid importing the `zone.js` package and tells Angular that he/she is responsible for running\n // the change detection by himself. This is done by \"nooping\" the zone through `CompilerOptions` when bootstrapping\n // the root module. We fallback to `document.addEventListener` if `__zone_symbol__addEventListener` is not defined,\n // this means the `zone.js` is not imported.\n // The `__zone_symbol__addEventListener` is basically a native DOM API, which is not patched by zone.js, thus not even going\n // through the `zone.js` task lifecycle. You can also access the native DOM API as follows `target[Zone.__symbol__('methodName')]`.\n // eslint-disable-next-line @typescript-eslint/dot-notation\n this.document.addEventListener = this.document['__zone_symbol__addEventListener'] || this.document.addEventListener;\n const quillImport = await import('quill');\n this.document.addEventListener = maybePatchedAddEventListener;\n this.Quill = (quillImport.default ? quillImport.default : quillImport);\n }\n // Only register custom options and modules once\n this.config.customOptions?.forEach((customOption) => {\n const newCustomOption = this.Quill.import(customOption.import);\n newCustomOption.whitelist = customOption.whitelist;\n this.Quill.register(newCustomOption, true, this.config.suppressGlobalRegisterWarning);\n });\n this.config.customModules?.forEach(({ implementation, path }) => {\n this.Quill.register(path, implementation, this.config.suppressGlobalRegisterWarning);\n });\n return this.Quill;\n }).pipe(shareReplay({ bufferSize: 1, refCount: true }));\n this.document = injector.get(DOCUMENT);\n if (!this.config) {\n this.config = { modules: defaultModules };\n }\n }\n getQuill() {\n return this.quill$;\n }\n}\nQuillService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"13.3.3\", ngImport: i0, type: QuillService, deps: [{ token: i0.Injector }, { token: QUILL_CONFIG_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });\nQuillService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: \"12.0.0\", version: \"13.3.3\", ngImport: i0, type: QuillService, providedIn: 'root' });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"13.3.3\", ngImport: i0, type: QuillService, decorators: [{\n type: Injectable,\n args: [{\n providedIn: 'root',\n }]\n }], ctorParameters: function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{\n type: Optional\n }, {\n type: Inject,\n args: [QUILL_CONFIG_TOKEN]\n }] }]; } });\n\n// eslint-disable-next-line @angular-eslint/directive-class-suffix\nclass QuillEditorBase {\n constructor(injector, elementRef, cd, domSanitizer, platformId, renderer, zone, service) {\n this.elementRef = elementRef;\n this.cd = cd;\n this.domSanitizer = domSanitizer;\n this.platformId = platformId;\n this.renderer = renderer;\n this.zone = zone;\n this.service = service;\n this.required = false;\n this.customToolbarPosition = 'top';\n this.styles = null;\n this.strict = true;\n this.customOptions = [];\n this.customModules = [];\n this.preserveWhitespace = false;\n this.trimOnValidation = false;\n this.compareValues = false;\n this.filterNull = false;\n /*\n https://github.com/KillerCodeMonkey/ngx-quill/issues/1257 - fix null value set\n \n provide default empty value\n by default null\n \n e.g. defaultEmptyValue=\"\" - empty string\n \n