@esri/solutions-components 0.11.29 → 0.11.31
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/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -3
- package/dist/cjs/buffer-tools_2.cjs.entry.js +4 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +10 -13
- package/dist/cjs/consent-manager.cjs.entry.js +2 -3
- package/dist/cjs/create-feature_4.cjs.entry.js +4 -6
- package/dist/cjs/create-related-feature_3.cjs.entry.js +4 -5
- package/dist/cjs/crowdsource-manager.cjs.entry.js +14 -9
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +4 -5
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +2 -3
- package/dist/cjs/downloadUtils-c7dac47d.js +5377 -0
- package/dist/cjs/feature-list.cjs.entry.js +4 -6
- package/dist/cjs/index-44c76bf2.js +201 -0
- package/dist/cjs/index-f7713138.js +1438 -0
- package/dist/cjs/json-editor_7.cjs.entry.js +4 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-809dbc6e.js +456 -0
- package/dist/cjs/map-layer-picker.cjs.entry.js +4 -5
- package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -7
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/popupUtils-27f6cf2a.js +121 -0
- package/dist/cjs/public-notification.cjs.entry.js +5 -7
- package/dist/cjs/publicNotificationStore-f55899b2.js +47 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +4 -5
- package/dist/cjs/solution-contents_3.cjs.entry.js +4 -5
- package/dist/cjs/solution-item-accordion.cjs.entry.js +2 -3
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-store-ed7cc59b.js +1105 -0
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -3
- package/dist/cjs/store-manager.cjs.entry.js +3 -3
- package/dist/collection/collection-manifest.json +3 -42
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +3 -9
- package/dist/collection/components/buffer-tools/buffer-tools.js +0 -20
- package/dist/collection/components/card-manager/card-manager.js +3 -25
- package/dist/collection/components/consent-manager/consent-manager.js +2 -18
- package/dist/collection/components/create-feature/create-feature.js +2 -28
- package/dist/collection/components/create-related-feature/create-related-feature.js +3 -17
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +14 -88
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +5 -83
- package/dist/collection/components/delete-button/delete-button.js +1 -15
- package/dist/collection/components/delete-dialog/delete-dialog.js +1 -9
- package/dist/collection/components/edit-card/edit-card.js +2 -16
- package/dist/collection/components/feature-details/feature-details.js +4 -20
- package/dist/collection/components/feature-list/feature-list.js +3 -39
- package/dist/collection/components/floor-filter/floor-filter.js +2 -8
- package/dist/collection/components/info-card/info-card.js +2 -26
- package/dist/collection/components/json-editor/json-editor.js +0 -10
- package/dist/collection/components/layer-list/layer-list.js +2 -16
- package/dist/collection/components/layer-table/layer-table.css +2 -0
- package/dist/collection/components/layer-table/layer-table.js +8 -56
- package/dist/collection/components/map-card/map-card.js +8 -79
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +5 -27
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +2 -6
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -35
- package/dist/collection/components/map-legend/map-legend.js +2 -6
- package/dist/collection/components/map-picker/map-picker.js +0 -6
- package/dist/collection/components/map-search/map-search.js +3 -15
- package/dist/collection/components/map-select-tools/map-select-tools.js +7 -59
- package/dist/collection/components/map-tools/map-tools.js +4 -38
- package/dist/collection/components/pdf-download/pdf-download.js +0 -6
- package/dist/collection/components/public-notification/public-notification.js +3 -55
- package/dist/collection/components/refine-selection/refine-selection.js +5 -21
- package/dist/collection/components/solution-configuration/solution-configuration.js +0 -10
- package/dist/collection/components/solution-contents/solution-contents.js +0 -4
- package/dist/collection/components/solution-item/solution-item.js +1 -11
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +0 -6
- package/dist/collection/components/solution-item-details/solution-item-details.js +0 -4
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -6
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +0 -4
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +0 -4
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -7
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +0 -8
- package/dist/collection/components/solution-template-data/solution-template-data.js +0 -12
- package/dist/collection/components/solution-variables/solution-variables.js +0 -4
- package/dist/collection/components/spatial-ref/spatial-ref.js +0 -8
- package/dist/collection/components/store-manager/store-manager.js +1 -7
- package/dist/collection/demos/crowdsource-manager.html +2 -0
- package/dist/collection/demos/crowdsource-reporter.html +2 -0
- package/dist/collection/demos/layer-table.html +2 -0
- package/dist/collection/demos/map-card.html +2 -0
- package/dist/collection/utils/downloadUtils.js +11 -5
- package/dist/collection/utils/downloadUtils.ts +15 -5
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ar.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.bg.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.bs.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ca.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.cs.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.da.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.de.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.el.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.en.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.es.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.et.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.fi.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.fr.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.he.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.hr.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.hu.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.id.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.it.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ja.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ko.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.lt.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.lv.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.nl.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.no.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.pl.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.pt-BR.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.pt-PT.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ro.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ru.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.sk.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.sl.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.sr.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.sv.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.th.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.tr.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.uk.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.vi.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.zh-CN.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.zh-HK.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.zh-TW.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ar.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.bg.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.bs.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ca.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.cs.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.da.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.de.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.el.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.en.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.es.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.et.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.fi.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.fr.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.he.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.hr.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.hu.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.id.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.it.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ja.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ko.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.lt.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.lv.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.nl.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.no.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.pl.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.pt-BR.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.pt-PT.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ro.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ru.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.sk.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.sl.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.sr.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.sv.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.th.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.tr.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.uk.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.vi.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.zh-CN.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.zh-HK.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.zh-TW.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ar.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.bg.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.bs.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ca.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.cs.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.da.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.de.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.el.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.en.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.es.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.et.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.fi.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.fr.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.he.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.hr.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.hu.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.id.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.it.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ja.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ko.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.lt.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.lv.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.nl.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.no.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.pl.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.pt-BR.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.pt-PT.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ro.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ru.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.sk.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.sl.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.sr.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.sv.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.th.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.tr.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.uk.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.vi.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.zh-CN.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.zh-HK.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.zh-TW.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ar.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.bg.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.bs.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ca.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.cs.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.da.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.de.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.el.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.en.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.es.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.et.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.fi.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.fr.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.he.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.hr.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.hu.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.id.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.it.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ja.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ko.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.lt.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.lv.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.nl.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.no.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.pl.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.pt-BR.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.pt-PT.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ro.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ru.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.sk.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.sl.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.sr.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.sv.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.th.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.tr.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.uk.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.vi.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.zh-CN.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.zh-HK.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.zh-TW.json +47 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ar.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.bg.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.bs.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ca.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.cs.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.da.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.de.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.el.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.en.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.es.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.et.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.fi.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.fr.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.he.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.hr.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.hu.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.id.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.it.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ja.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ko.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.lt.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.lv.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.nl.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.no.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.pl.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.pt-BR.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.pt-PT.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ro.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ru.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.sk.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.sl.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.sr.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.sv.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.th.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.tr.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.uk.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.vi.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.zh-CN.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.zh-HK.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.zh-TW.json +16 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ar.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.bg.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.bs.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ca.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.cs.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.da.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.de.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.el.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.en.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.es.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.et.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.fi.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.fr.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.he.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.hr.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.hu.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.id.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.it.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ja.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ko.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.lt.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.lv.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.nl.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.no.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.pl.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.pt-BR.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.pt-PT.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ro.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ru.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.sk.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.sl.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.sr.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.sv.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.th.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.tr.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.uk.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.vi.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.zh-CN.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.zh-HK.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.zh-TW.json +15 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ar.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.bg.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.bs.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ca.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.cs.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.da.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.de.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.el.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.en.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.es.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.et.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.fi.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.fr.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.he.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.hr.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.hu.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.id.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.it.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ja.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ko.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.lt.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.lv.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.nl.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.no.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.pl.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.pt-BR.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.pt-PT.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ro.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ru.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.sk.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.sl.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.sr.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.sv.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.th.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.tr.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.uk.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.vi.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.zh-CN.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.zh-HK.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.zh-TW.json +30 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ar.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.bg.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.bs.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ca.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.cs.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.da.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.de.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.el.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.en.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.es.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.et.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.fi.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.fr.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.he.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.hr.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.hu.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.id.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.it.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ja.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ko.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.lt.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.lv.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.nl.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.no.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.pl.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.pt-BR.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.pt-PT.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ro.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ru.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.sk.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.sl.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.sr.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.sv.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.th.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.tr.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.uk.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.vi.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.zh-CN.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.zh-HK.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.zh-TW.json +103 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ar.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.bg.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.bs.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ca.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.cs.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.da.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.de.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.el.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.en.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.es.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.et.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.fi.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.fr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.he.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.hr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.hu.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.id.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.it.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ja.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ko.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.lt.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.lv.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.nl.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.no.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.pl.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.pt-BR.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.pt-PT.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ro.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ru.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.sk.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.sl.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.sr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.sv.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.th.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.tr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.uk.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.vi.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.zh-CN.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.zh-HK.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.zh-TW.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ar.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.bg.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.bs.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ca.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.cs.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.da.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.de.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.el.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.en.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.es.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.et.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.fi.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.fr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.he.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.hr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.hu.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.id.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.it.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ja.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ko.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.lt.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.lv.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.nl.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.no.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.pl.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.pt-BR.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.pt-PT.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ro.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ru.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.sk.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.sl.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.sr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.sv.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.th.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.tr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.uk.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.vi.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.zh-CN.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.zh-HK.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.zh-TW.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ar.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.bg.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.bs.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ca.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.cs.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.da.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.de.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.el.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.en.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.es.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.et.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.fi.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.fr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.he.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.hr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.hu.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.id.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.it.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ja.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ko.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.lt.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.lv.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.nl.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.no.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.pl.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.pt-BR.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.pt-PT.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ro.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ru.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.sk.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.sl.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.sr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.sv.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.th.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.tr.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.uk.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.vi.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.zh-CN.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.zh-HK.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.zh-TW.json +7 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ar.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.bg.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.bs.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ca.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.cs.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.da.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.de.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.el.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.en.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.es.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.et.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.fi.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.fr.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.he.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.hr.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.hu.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.id.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.it.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ja.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ko.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.lt.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.lv.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.nl.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.no.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.pl.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.pt-BR.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.pt-PT.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ro.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ru.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.sk.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.sl.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.sr.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.sv.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.th.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.tr.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.uk.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.vi.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.zh-CN.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.zh-HK.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.zh-TW.json +5 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ar.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.bg.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.bs.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ca.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.cs.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.da.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.de.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.el.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.en.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.es.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.et.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.fi.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.fr.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.he.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.hr.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.hu.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.id.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.it.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ja.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ko.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.lt.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.lv.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.nl.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.no.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.pl.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.pt-BR.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.pt-PT.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ro.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ru.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.sk.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.sl.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.sr.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.sv.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.th.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.tr.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.uk.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.vi.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.zh-CN.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.zh-HK.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.zh-TW.json +33 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ar.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bg.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bs.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ca.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.cs.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.da.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.de.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.el.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.en.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.es.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.et.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fi.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fr.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.he.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hr.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hu.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.id.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.it.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ja.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ko.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lt.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lv.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.nl.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.no.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pl.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-BR.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-PT.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ro.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ru.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sk.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sl.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sr.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sv.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.th.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.tr.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.uk.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.vi.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-CN.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-HK.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-TW.json +42 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ar.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.bg.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.bs.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ca.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.cs.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.da.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.de.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.el.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.en.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.es.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.et.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.fi.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.fr.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.he.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.hr.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.hu.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.id.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.it.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ja.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ko.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.lt.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.lv.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.nl.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.no.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.pl.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.pt-BR.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.pt-PT.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ro.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ru.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.sk.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.sl.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.sr.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.sv.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.th.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.tr.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.uk.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.vi.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.zh-CN.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.zh-HK.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.zh-TW.json +3 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ar.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.bg.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.bs.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ca.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.cs.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.da.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.de.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.el.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.en.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.es.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.et.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.fi.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.fr.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.he.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.hr.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.hu.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.id.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.it.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ja.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ko.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.lt.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.lv.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.nl.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.no.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.pl.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.pt-BR.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.pt-PT.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ro.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ru.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.sk.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.sl.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.sr.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.sv.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.th.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.tr.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.uk.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.vi.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.zh-CN.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.zh-HK.json +4 -0
- package/dist/collection/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.zh-TW.json +4 -0
- package/dist/collection/vendor/instant-apps-components/index.esm.js +2 -0
- package/dist/collection/vendor/instant-apps-components/index.esm.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/instant-apps-components.esm.js +2 -0
- package/dist/collection/vendor/instant-apps-components/instant-apps-components.esm.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-0b1b0a5a.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-0b1b0a5a.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-1c4428aa.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-1c4428aa.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-3ce7e35f.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-3ce7e35f.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-3e5898bb.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-3e5898bb.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-491aed47.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-491aed47.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-4ad06857.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-4ad06857.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-51f2e0b2.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-51f2e0b2.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-525c0e1c.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-525c0e1c.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-5978fda4.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-5978fda4.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-5f6af6b4.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-5f6af6b4.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-6517b6d4.js +3 -0
- package/dist/collection/vendor/instant-apps-components/p-6517b6d4.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-6c1383dc.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-6c1383dc.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-6e858759.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-6e858759.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-8ca58973.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-8ca58973.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-8d4d0b96.entry.js +26 -0
- package/dist/collection/vendor/instant-apps-components/p-8d4d0b96.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-946ed90b.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-946ed90b.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-9f85433e.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-9f85433e.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-a1e8ffff.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-a1e8ffff.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-a271203d.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-a271203d.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-a72c317d.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-a72c317d.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-ab4ac65e.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-ab4ac65e.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-ac95a4be.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-ac95a4be.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-ad99e197.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-ad99e197.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-b291a1e6.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-b291a1e6.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-b355f972.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-b355f972.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-b9eed273.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-b9eed273.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-c5932580.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-c5932580.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-c77b3b1b.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-c77b3b1b.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-cd7eea90.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-cd7eea90.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-cfc94a85.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-cfc94a85.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-cfd61911.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-cfd61911.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-e1255160.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-e1255160.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-ef8e7a97.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-ef8e7a97.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-eff6e0b8.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-eff6e0b8.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-f146c213.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-f146c213.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-f87a0961.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-f87a0961.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-fa2be703.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-fa2be703.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-fcbd42f5.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-fcbd42f5.entry.js.map +1 -0
- package/dist/collection/vendor/instant-apps-components/p-fedaae5b.entry.js +2 -0
- package/dist/collection/vendor/instant-apps-components/p-fedaae5b.entry.js.map +1 -0
- package/dist/components/buffer-tools2.js +4 -0
- package/dist/components/card-manager2.js +8 -0
- package/dist/components/create-feature2.js +2 -0
- package/dist/components/create-related-feature2.js +2 -0
- package/dist/components/crowdsource-manager.js +44 -34
- package/dist/components/crowdsource-reporter.js +41 -30
- package/dist/components/deduct-calculator2.js +5 -0
- package/dist/components/delete-button2.js +4 -0
- package/dist/components/delete-dialog2.js +2 -0
- package/dist/components/downloadUtils.js +2163 -9
- package/dist/components/edit-card2.js +2 -0
- package/dist/components/feature-details2.js +4 -0
- package/dist/components/feature-list2.js +10 -0
- package/dist/components/index2.js +162 -2118
- package/dist/components/info-card2.js +9 -0
- package/dist/components/json-editor2.js +2 -0
- package/dist/components/layer-list2.js +6 -1
- package/dist/components/layer-table2.js +22 -19
- package/dist/components/loadModules.js +297 -2
- package/dist/components/map-card2.js +19 -12
- package/dist/components/map-draw-tools2.js +1 -0
- package/dist/components/map-layer-picker2.js +13 -0
- package/dist/components/map-picker2.js +5 -0
- package/dist/components/map-select-tools2.js +10 -0
- package/dist/components/map-tools2.js +8 -0
- package/dist/components/pci-calculator.js +5 -0
- package/dist/components/pdf-download2.js +2 -0
- package/dist/components/public-notification.js +21 -0
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/refine-selection2.js +9 -0
- package/dist/components/solution-configuration.js +9 -0
- package/dist/components/solution-contents2.js +3 -0
- package/dist/components/solution-item-accordion.js +7 -0
- package/dist/components/solution-item-details2.js +2 -0
- package/dist/components/solution-item-sharing2.js +3 -0
- package/dist/components/solution-item2.js +8 -0
- package/dist/components/solution-organization-variables2.js +2 -0
- package/dist/components/solution-resource-item2.js +3 -0
- package/dist/components/solution-spatial-ref2.js +1 -0
- package/dist/components/solution-store.js +1 -1
- package/dist/components/solution-template-data2.js +7 -0
- package/dist/components/solution-variables2.js +3 -0
- package/dist/components/spatial-ref.js +3 -0
- package/dist/esm/basemap-gallery_7.entry.js +2 -3
- package/dist/esm/buffer-tools_2.entry.js +4 -5
- package/dist/esm/card-manager_3.entry.js +10 -13
- package/dist/esm/consent-manager.entry.js +2 -3
- package/dist/esm/create-feature_4.entry.js +4 -6
- package/dist/esm/create-related-feature_3.entry.js +3 -4
- package/dist/esm/crowdsource-manager.entry.js +14 -9
- package/dist/esm/crowdsource-reporter.entry.js +4 -5
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +2 -3
- package/dist/esm/downloadUtils-a9fc6dd2.js +5371 -0
- package/dist/esm/feature-list.entry.js +4 -6
- package/dist/esm/index-21b6e87e.js +1405 -0
- package/dist/esm/index-9932ffd2.js +199 -0
- package/dist/esm/json-editor_7.entry.js +4 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-fa8258bf.js +450 -0
- package/dist/esm/map-layer-picker.entry.js +4 -5
- package/dist/esm/map-select-tools_3.entry.js +5 -7
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/popupUtils-78f2029e.js +119 -0
- package/dist/esm/public-notification.entry.js +5 -7
- package/dist/esm/publicNotificationStore-9f8e00a1.js +45 -0
- package/dist/esm/solution-configuration.entry.js +4 -5
- package/dist/esm/solution-contents_3.entry.js +4 -5
- package/dist/esm/solution-item-accordion.entry.js +2 -3
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-store-f036dcc0.js +1103 -0
- package/dist/esm/solutions-components.js +4 -4
- package/dist/esm/spatial-ref.entry.js +2 -3
- package/dist/esm/store-manager.entry.js +3 -3
- package/dist/solutions-components/demos/crowdsource-manager.html +2 -0
- package/dist/solutions-components/demos/crowdsource-reporter.html +2 -0
- package/dist/solutions-components/demos/layer-table.html +2 -0
- package/dist/solutions-components/demos/map-card.html +2 -0
- package/dist/solutions-components/p-03f8bcc3.entry.js +6 -0
- package/dist/solutions-components/p-0a60707c.entry.js +6 -0
- package/dist/solutions-components/p-1aad0b63.entry.js +6 -0
- package/dist/solutions-components/p-31159fc6.js +21 -0
- package/dist/solutions-components/p-455c19fa.js +498 -0
- package/dist/solutions-components/p-4a2870b0.entry.js +21 -0
- package/dist/solutions-components/p-50b4945e.entry.js +21 -0
- package/dist/solutions-components/p-522aaa19.entry.js +6 -0
- package/dist/solutions-components/p-57be3b9d.js +37 -0
- package/dist/solutions-components/p-5a38b1b3.entry.js +6 -0
- package/dist/solutions-components/p-5b481f0d.entry.js +6 -0
- package/dist/solutions-components/p-5e7369d1.js +21 -0
- package/dist/solutions-components/p-60b1fe27.entry.js +6 -0
- package/dist/solutions-components/p-6dc629dc.entry.js +6 -0
- package/dist/solutions-components/p-76126e43.entry.js +6 -0
- package/dist/solutions-components/p-76291afb.js +129 -0
- package/dist/solutions-components/p-7f36cfb0.entry.js +6 -0
- package/dist/solutions-components/p-934e8935.js +7 -0
- package/dist/solutions-components/p-95056f7c.entry.js +6 -0
- package/dist/solutions-components/p-a17f839a.entry.js +6 -0
- package/dist/solutions-components/p-a38eee28.entry.js +6 -0
- package/dist/solutions-components/p-a4282d56.entry.js +6 -0
- package/dist/solutions-components/p-b04179db.entry.js +11 -0
- package/dist/solutions-components/p-b8e4345e.entry.js +6 -0
- package/dist/solutions-components/p-c6e42ad1.js +6 -0
- package/dist/solutions-components/p-f3ba92d5.entry.js +6 -0
- package/dist/solutions-components/p-f6d19f6d.entry.js +6 -0
- package/dist/solutions-components/p-f8854c5e.entry.js +6 -0
- package/dist/solutions-components/p-f899ecdb.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +15 -5
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ar.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.bg.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.bs.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ca.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.cs.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.da.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.de.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.el.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.en.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.es.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.et.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.fi.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.fr.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.he.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.hr.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.hu.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.id.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.it.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ja.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ko.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.lt.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.lv.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.nl.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.no.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.pl.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.pt-BR.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.pt-PT.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ro.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.ru.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.sk.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.sl.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.sr.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.sv.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.th.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.tr.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.uk.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.vi.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.zh-CN.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.zh-HK.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-app-guide/messages.zh-TW.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ar.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.bg.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.bs.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ca.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.cs.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.da.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.de.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.el.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.en.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.es.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.et.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.fi.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.fr.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.he.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.hr.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.hu.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.id.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.it.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ja.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ko.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.lt.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.lv.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.nl.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.no.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.pl.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.pt-BR.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.pt-PT.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ro.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.ru.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.sk.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.sl.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.sr.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.sv.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.th.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.tr.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.uk.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.vi.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.zh-CN.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.zh-HK.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-create/messages.zh-TW.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ar.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.bg.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.bs.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ca.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.cs.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.da.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.de.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.el.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.en.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.es.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.et.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.fi.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.fr.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.he.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.hr.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.hu.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.id.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.it.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ja.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ko.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.lt.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.lv.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.nl.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.no.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.pl.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.pt-BR.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.pt-PT.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ro.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.ru.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.sk.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.sl.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.sr.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.sv.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.th.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.tr.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.uk.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.vi.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.zh-CN.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.zh-HK.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export/messages.zh-TW.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ar.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.bg.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.bs.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ca.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.cs.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.da.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.de.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.el.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.en.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.es.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.et.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.fi.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.fr.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.he.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.hr.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.hu.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.id.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.it.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ja.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ko.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.lt.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.lv.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.nl.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.no.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.pl.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.pt-BR.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.pt-PT.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ro.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.ru.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.sk.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.sl.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.sr.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.sv.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.th.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.tr.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.uk.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.vi.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.zh-CN.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.zh-HK.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-export-views/messages.zh-TW.json +47 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ar.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.bg.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.bs.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ca.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.cs.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.da.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.de.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.el.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.en.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.es.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.et.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.fi.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.fr.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.he.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.hr.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.hu.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.id.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.it.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ja.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ko.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.lt.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.lv.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.nl.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.no.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.pl.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.pt-BR.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.pt-PT.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ro.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.ru.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.sk.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.sl.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.sr.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.sv.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.th.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.tr.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.uk.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.vi.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.zh-CN.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.zh-HK.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-filter-list/messages.zh-TW.json +16 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ar.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.bg.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.bs.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ca.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.cs.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.da.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.de.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.el.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.en.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.es.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.et.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.fi.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.fr.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.he.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.hr.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.hu.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.id.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.it.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ja.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ko.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.lt.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.lv.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.nl.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.no.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.pl.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.pt-BR.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.pt-PT.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ro.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.ru.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.sk.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.sl.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.sr.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.sv.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.th.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.tr.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.uk.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.vi.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.zh-CN.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.zh-HK.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-interactive-legend/messages.zh-TW.json +15 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ar.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.bg.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.bs.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ca.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.cs.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.da.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.de.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.el.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.en.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.es.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.et.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.fi.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.fr.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.he.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.hr.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.hu.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.id.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.it.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ja.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ko.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.lt.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.lv.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.nl.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.no.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.pl.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.pt-BR.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.pt-PT.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ro.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.ru.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.sk.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.sl.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.sr.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.sv.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.th.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.tr.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.uk.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.vi.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.zh-CN.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.zh-HK.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-keyboard-shortcuts/messages.zh-TW.json +30 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ar.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.bg.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.bs.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ca.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.cs.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.da.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.de.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.el.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.en.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.es.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.et.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.fi.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.fr.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.he.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.hr.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.hu.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.id.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.it.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ja.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ko.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.lt.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.lv.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.nl.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.no.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.pl.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.pt-BR.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.pt-PT.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ro.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.ru.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.sk.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.sl.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.sr.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.sv.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.th.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.tr.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.uk.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.vi.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.zh-CN.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.zh-HK.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-language-translator/messages.zh-TW.json +103 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ar.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.bg.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.bs.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ca.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.cs.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.da.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.de.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.el.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.en.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.es.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.et.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.fi.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.fr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.he.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.hr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.hu.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.id.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.it.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ja.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ko.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.lt.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.lv.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.nl.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.no.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.pl.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.pt-BR.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.pt-PT.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ro.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.ru.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.sk.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.sl.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.sr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.sv.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.th.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.tr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.uk.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.vi.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.zh-CN.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.zh-HK.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-measurement/messages.zh-TW.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ar.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.bg.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.bs.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ca.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.cs.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.da.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.de.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.el.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.en.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.es.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.et.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.fi.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.fr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.he.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.hr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.hu.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.id.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.it.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ja.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ko.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.lt.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.lv.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.nl.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.no.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.pl.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.pt-BR.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.pt-PT.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ro.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.ru.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.sk.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.sl.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.sr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.sv.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.th.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.tr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.uk.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.vi.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.zh-CN.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.zh-HK.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-popover/messages.zh-TW.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ar.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.bg.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.bs.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ca.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.cs.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.da.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.de.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.el.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.en.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.es.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.et.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.fi.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.fr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.he.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.hr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.hu.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.id.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.it.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ja.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ko.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.lt.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.lv.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.nl.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.no.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.pl.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.pt-BR.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.pt-PT.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ro.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.ru.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.sk.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.sl.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.sr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.sv.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.th.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.tr.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.uk.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.vi.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.zh-CN.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.zh-HK.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-scoreboard/messages.zh-TW.json +7 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ar.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.bg.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.bs.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ca.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.cs.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.da.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.de.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.el.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.en.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.es.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.et.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.fi.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.fr.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.he.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.hr.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.hu.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.id.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.it.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ja.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ko.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.lt.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.lv.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.nl.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.no.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.pl.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.pt-BR.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.pt-PT.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ro.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.ru.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.sk.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.sl.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.sr.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.sv.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.th.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.tr.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.uk.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.vi.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.zh-CN.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.zh-HK.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sign-in/messages.zh-TW.json +5 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ar.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.bg.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.bs.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ca.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.cs.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.da.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.de.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.el.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.en.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.es.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.et.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.fi.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.fr.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.he.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.hr.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.hu.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.id.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.it.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ja.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ko.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.lt.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.lv.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.nl.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.no.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.pl.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.pt-BR.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.pt-PT.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ro.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.ru.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.sk.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.sl.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.sr.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.sv.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.th.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.tr.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.uk.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.vi.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.zh-CN.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.zh-HK.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-sketch/messages.zh-TW.json +33 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ar.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bg.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.bs.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ca.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.cs.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.da.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.de.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.el.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.en.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.es.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.et.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fi.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.fr.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.he.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hr.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.hu.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.id.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.it.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ja.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ko.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lt.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.lv.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.nl.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.no.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pl.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-BR.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.pt-PT.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ro.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.ru.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sk.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sl.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sr.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.sv.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.th.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.tr.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.uk.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.vi.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-CN.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-HK.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-social-share/messages.zh-TW.json +42 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ar.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.bg.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.bs.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ca.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.cs.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.da.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.de.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.el.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.en.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.es.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.et.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.fi.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.fr.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.he.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.hr.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.hu.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.id.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.it.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ja.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ko.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.lt.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.lv.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.nl.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.no.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.pl.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.pt-BR.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.pt-PT.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ro.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.ru.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.sk.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.sl.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.sr.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.sv.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.th.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.tr.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.uk.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.vi.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.zh-CN.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.zh-HK.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-splash/messages.zh-TW.json +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ar.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.bg.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.bs.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ca.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.cs.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.da.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.de.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.el.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.en.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.es.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.et.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.fi.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.fr.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.he.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.hr.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.hu.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.id.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.it.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ja.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ko.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.lt.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.lv.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.nl.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.no.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.pl.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.pt-BR.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.pt-PT.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ro.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.ru.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.sk.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.sl.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.sr.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.sv.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.th.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.tr.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.uk.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.vi.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.zh-CN.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.zh-HK.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/assets/t9n/instant-apps-time-filter/messages.zh-TW.json +4 -0
- package/dist/solutions-components/vendor/instant-apps-components/index.esm.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/index.esm.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/instant-apps-components.esm.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/instant-apps-components.esm.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-0b1b0a5a.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-0b1b0a5a.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-1c4428aa.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-1c4428aa.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-3ce7e35f.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-3ce7e35f.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-3e5898bb.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-3e5898bb.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-491aed47.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-491aed47.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-4ad06857.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-4ad06857.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-51f2e0b2.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-51f2e0b2.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-525c0e1c.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-525c0e1c.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-5978fda4.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-5978fda4.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-5f6af6b4.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-5f6af6b4.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-6517b6d4.js +3 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-6517b6d4.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-6c1383dc.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-6c1383dc.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-6e858759.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-6e858759.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-8ca58973.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-8ca58973.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-8d4d0b96.entry.js +26 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-8d4d0b96.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-946ed90b.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-946ed90b.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-9f85433e.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-9f85433e.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a1e8ffff.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a1e8ffff.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a271203d.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a271203d.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a72c317d.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-a72c317d.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-ab4ac65e.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-ab4ac65e.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-ac95a4be.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-ac95a4be.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-ad99e197.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-ad99e197.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b291a1e6.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b291a1e6.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b355f972.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b355f972.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b9eed273.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-b9eed273.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-c5932580.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-c5932580.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-c77b3b1b.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-c77b3b1b.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-cd7eea90.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-cd7eea90.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-cfc94a85.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-cfc94a85.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-cfd61911.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-cfd61911.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-e1255160.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-e1255160.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-ef8e7a97.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-ef8e7a97.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-eff6e0b8.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-eff6e0b8.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-f146c213.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-f146c213.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-f87a0961.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-f87a0961.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-fa2be703.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-fa2be703.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-fcbd42f5.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-fcbd42f5.entry.js.map +1 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-fedaae5b.entry.js +2 -0
- package/dist/solutions-components/vendor/instant-apps-components/p-fedaae5b.entry.js.map +1 -0
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +7 -1
- package/dist/types/components/layer-table/layer-table.d.ts +1 -2
- package/dist/types/components/map-card/map-card.d.ts +0 -1
- package/dist/types/preact.d.ts +0 -102
- package/dist/types/stencil-public-runtime.d.ts +0 -6
- package/dist/types/utils/downloadUtils.d.ts +1 -1
- package/package.json +8 -7
- package/dist/cjs/breakpoints-7d21666f.js +0 -17
- package/dist/cjs/downloadUtils-da9e19c6.js +0 -3223
- package/dist/cjs/effects-3607d1ba.js +0 -83
- package/dist/cjs/esri-loader-08dc41bd.js +0 -305
- package/dist/cjs/helpers-8d452256.js +0 -867
- package/dist/cjs/index-5d8d6ae2.js +0 -2157
- package/dist/cjs/index-af14245a.js +0 -1828
- package/dist/cjs/index-ffd12cb0.js +0 -201
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +0 -121
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +0 -98
- package/dist/cjs/instant-apps-create.cjs.entry.js +0 -269
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +0 -727
- package/dist/cjs/instant-apps-export.cjs.entry.js +0 -1952
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +0 -1601
- package/dist/cjs/instant-apps-header.cjs.entry.js +0 -130
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +0 -1625
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +0 -149
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +0 -58
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +0 -826
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +0 -123
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +0 -144
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +0 -159
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +0 -994
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +0 -1118
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +0 -140
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +0 -71
- package/dist/cjs/instant-apps-popover.cjs.entry.js +0 -79
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +0 -93
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +0 -479
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +0 -160
- package/dist/cjs/instant-apps-splash.cjs.entry.js +0 -142
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +0 -381
- package/dist/cjs/languageSwitcher-19a22439.js +0 -52
- package/dist/cjs/languageUtil-a3e1eafd.js +0 -69
- package/dist/cjs/loadModules-e9d8977c.js +0 -23
- package/dist/cjs/locale-1c60be9c.js +0 -160
- package/dist/cjs/locale-da41a06f.js +0 -943
- package/dist/cjs/mode-3478ba36.js +0 -19
- package/dist/cjs/popupUtils-69ad52f5.js +0 -121
- package/dist/cjs/publicNotificationStore-beb782de.js +0 -47
- package/dist/cjs/solution-store-3cf25b71.js +0 -1105
- package/dist/cjs/styles-ef2b1e04.js +0 -13
- package/dist/cjs/utils-3e512114.js +0 -153
- package/dist/collection/utils/makeExternal.js +0 -58
- package/dist/collection/utils/makeExternal.ts +0 -55
- package/dist/components/breakpoints.js +0 -15
- package/dist/components/effects.js +0 -81
- package/dist/components/esri-loader.js +0 -303
- package/dist/components/helpers.js +0 -837
- package/dist/components/index3.js +0 -199
- package/dist/components/instant-apps-app-guide.js +0 -140
- package/dist/components/instant-apps-ckeditor-wrapper.js +0 -11
- package/dist/components/instant-apps-ckeditor-wrapper2.js +0 -143
- package/dist/components/instant-apps-control-panel.js +0 -114
- package/dist/components/instant-apps-create.js +0 -295
- package/dist/components/instant-apps-export-views.js +0 -763
- package/dist/components/instant-apps-export.js +0 -2003
- package/dist/components/instant-apps-filter-list.js +0 -11
- package/dist/components/instant-apps-filter-list2.js +0 -1135
- package/dist/components/instant-apps-header.js +0 -11
- package/dist/components/instant-apps-header2.js +0 -162
- package/dist/components/instant-apps-interactive-legend-classic.js +0 -11
- package/dist/components/instant-apps-interactive-legend-classic2.js +0 -1686
- package/dist/components/instant-apps-interactive-legend-count.js +0 -11
- package/dist/components/instant-apps-interactive-legend-count2.js +0 -125
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +0 -80
- package/dist/components/instant-apps-interactive-legend-group-legend-element.js +0 -11
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +0 -82
- package/dist/components/instant-apps-interactive-legend-layer-element-caption.js +0 -11
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +0 -78
- package/dist/components/instant-apps-interactive-legend-layer-element.js +0 -11
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +0 -83
- package/dist/components/instant-apps-interactive-legend-legend-element-caption.js +0 -11
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +0 -163
- package/dist/components/instant-apps-interactive-legend-legend-element.js +0 -11
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +0 -93
- package/dist/components/instant-apps-interactive-legend-relationship.js +0 -11
- package/dist/components/instant-apps-interactive-legend-relationship2.js +0 -581
- package/dist/components/instant-apps-interactive-legend.js +0 -197
- package/dist/components/instant-apps-keyboard-shortcuts.js +0 -158
- package/dist/components/instant-apps-landing-page.js +0 -199
- package/dist/components/instant-apps-language-switcher.js +0 -1039
- package/dist/components/instant-apps-language-translator-item.js +0 -11
- package/dist/components/instant-apps-language-translator-item2.js +0 -404
- package/dist/components/instant-apps-language-translator-search.js +0 -11
- package/dist/components/instant-apps-language-translator-search2.js +0 -114
- package/dist/components/instant-apps-language-translator.js +0 -11
- package/dist/components/instant-apps-language-translator2.js +0 -1200
- package/dist/components/instant-apps-measurement-tool.js +0 -11
- package/dist/components/instant-apps-measurement-tool2.js +0 -155
- package/dist/components/instant-apps-measurement.js +0 -95
- package/dist/components/instant-apps-popover.js +0 -106
- package/dist/components/instant-apps-popovers.js +0 -116
- package/dist/components/instant-apps-scoreboard.js +0 -511
- package/dist/components/instant-apps-sign-in.js +0 -11
- package/dist/components/instant-apps-sign-in2.js +0 -188
- package/dist/components/instant-apps-social-share.js +0 -11
- package/dist/components/instant-apps-social-share2.js +0 -560
- package/dist/components/instant-apps-splash.js +0 -168
- package/dist/components/instant-apps-time-filter.js +0 -404
- package/dist/components/languageUtil.js +0 -66
- package/dist/components/loadModules2.js +0 -21
- package/dist/components/locale2.js +0 -938
- package/dist/components/mode.js +0 -17
- package/dist/components/store.js +0 -12
- package/dist/components/styles.js +0 -11
- package/dist/components/utils.js +0 -142
- package/dist/esm/breakpoints-3afa0fd9.js +0 -15
- package/dist/esm/downloadUtils-0b6677dc.js +0 -3217
- package/dist/esm/effects-38bc1195.js +0 -81
- package/dist/esm/esri-loader-c6842c6b.js +0 -303
- package/dist/esm/helpers-15d5cd56.js +0 -841
- package/dist/esm/index-c247b62b.js +0 -199
- package/dist/esm/index-d88c3eb6.js +0 -2155
- package/dist/esm/index-df5db8e9.js +0 -1795
- package/dist/esm/instant-apps-app-guide.entry.js +0 -117
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
- package/dist/esm/instant-apps-control-panel.entry.js +0 -94
- package/dist/esm/instant-apps-create.entry.js +0 -265
- package/dist/esm/instant-apps-export-views.entry.js +0 -723
- package/dist/esm/instant-apps-export.entry.js +0 -1948
- package/dist/esm/instant-apps-filter-list_2.entry.js +0 -1596
- package/dist/esm/instant-apps-header.entry.js +0 -126
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +0 -1621
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +0 -144
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +0 -54
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +0 -818
- package/dist/esm/instant-apps-interactive-legend.entry.js +0 -119
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +0 -140
- package/dist/esm/instant-apps-landing-page.entry.js +0 -155
- package/dist/esm/instant-apps-language-switcher.entry.js +0 -990
- package/dist/esm/instant-apps-language-translator.entry.js +0 -1114
- package/dist/esm/instant-apps-measurement-tool.entry.js +0 -136
- package/dist/esm/instant-apps-measurement.entry.js +0 -67
- package/dist/esm/instant-apps-popover.entry.js +0 -75
- package/dist/esm/instant-apps-popovers.entry.js +0 -89
- package/dist/esm/instant-apps-scoreboard.entry.js +0 -475
- package/dist/esm/instant-apps-sign-in.entry.js +0 -156
- package/dist/esm/instant-apps-splash.entry.js +0 -138
- package/dist/esm/instant-apps-time-filter.entry.js +0 -377
- package/dist/esm/languageSwitcher-49bad3f4.js +0 -49
- package/dist/esm/languageUtil-2b6e191a.js +0 -66
- package/dist/esm/loadModules-947ccfd4.js +0 -21
- package/dist/esm/locale-7874c756.js +0 -155
- package/dist/esm/locale-e02b0e14.js +0 -938
- package/dist/esm/mode-8c5f5dc9.js +0 -17
- package/dist/esm/popupUtils-9233302d.js +0 -119
- package/dist/esm/publicNotificationStore-9ec5e22a.js +0 -45
- package/dist/esm/solution-store-4c39c654.js +0 -1103
- package/dist/esm/styles-b3492d9f.js +0 -11
- package/dist/esm/utils-6fe5b5fa.js +0 -142
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +0 -70
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +0 -3
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-create/instant-apps-create.css +0 -150
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +0 -96
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export-views/instant-apps-export-views.css +0 -92
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +0 -108
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +0 -180
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +0 -138
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +0 -27
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +0 -10
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +0 -65
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +0 -17
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +0 -68
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +0 -10
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +0 -81
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +0 -15
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +0 -12
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +0 -33
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +0 -253
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +0 -13
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +0 -3
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +0 -90
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +0 -34
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +0 -102
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +0 -6
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +0 -6
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +0 -58
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +0 -3
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +0 -200
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +0 -118
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +0 -286
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +0 -20
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-time-filter/instant-apps-time-filter.css +0 -42
- package/dist/solutions-components/p-04674a1e.js +0 -6
- package/dist/solutions-components/p-08ad0b7a.js +0 -6
- package/dist/solutions-components/p-0a24ad5f.js +0 -6
- package/dist/solutions-components/p-0efb117f.entry.js +0 -6
- package/dist/solutions-components/p-174fa218.js +0 -6
- package/dist/solutions-components/p-1e1dfef6.js +0 -6
- package/dist/solutions-components/p-281cc2b2.entry.js +0 -6
- package/dist/solutions-components/p-2884ca49.js +0 -6
- package/dist/solutions-components/p-2bc98cb0.js +0 -30
- package/dist/solutions-components/p-38814554.entry.js +0 -6
- package/dist/solutions-components/p-3a7bde22.entry.js +0 -6
- package/dist/solutions-components/p-3ce5c7fd.entry.js +0 -6
- package/dist/solutions-components/p-404cbf48.js +0 -36
- package/dist/solutions-components/p-4084e2d1.js +0 -488
- package/dist/solutions-components/p-41a3b49a.entry.js +0 -6
- package/dist/solutions-components/p-4294c7e6.entry.js +0 -6
- package/dist/solutions-components/p-443168f0.entry.js +0 -6
- package/dist/solutions-components/p-447e7d3f.entry.js +0 -6
- package/dist/solutions-components/p-477dbafa.entry.js +0 -6
- package/dist/solutions-components/p-47f13430.entry.js +0 -6
- package/dist/solutions-components/p-48ff9d90.entry.js +0 -6
- package/dist/solutions-components/p-4ced7b11.entry.js +0 -6
- package/dist/solutions-components/p-4d5dd39e.entry.js +0 -6
- package/dist/solutions-components/p-4e7514a3.entry.js +0 -6
- package/dist/solutions-components/p-4f7fb338.entry.js +0 -6
- package/dist/solutions-components/p-505a2880.entry.js +0 -6
- package/dist/solutions-components/p-552fb1c0.entry.js +0 -6
- package/dist/solutions-components/p-5786b9da.entry.js +0 -6
- package/dist/solutions-components/p-64a6162f.entry.js +0 -6
- package/dist/solutions-components/p-65105504.entry.js +0 -6
- package/dist/solutions-components/p-70fbbe26.entry.js +0 -11
- package/dist/solutions-components/p-7b9f3c85.entry.js +0 -21
- package/dist/solutions-components/p-84bb6925.js +0 -6
- package/dist/solutions-components/p-8717729a.js +0 -6
- package/dist/solutions-components/p-87ae2979.entry.js +0 -6
- package/dist/solutions-components/p-896b6028.entry.js +0 -6
- package/dist/solutions-components/p-89fbc318.js +0 -6
- package/dist/solutions-components/p-8a010f9e.entry.js +0 -6
- package/dist/solutions-components/p-8dd677dd.entry.js +0 -6
- package/dist/solutions-components/p-8ef447cc.entry.js +0 -6
- package/dist/solutions-components/p-922e704c.entry.js +0 -6
- package/dist/solutions-components/p-9777c01f.entry.js +0 -6
- package/dist/solutions-components/p-9927342d.entry.js +0 -6
- package/dist/solutions-components/p-a277d08c.entry.js +0 -6
- package/dist/solutions-components/p-a42ff7fe.js +0 -6
- package/dist/solutions-components/p-a961421c.entry.js +0 -6
- package/dist/solutions-components/p-a9a72626.js +0 -6
- package/dist/solutions-components/p-aad84d69.entry.js +0 -6
- package/dist/solutions-components/p-ac122d9e.js +0 -6
- package/dist/solutions-components/p-b394f504.entry.js +0 -6
- package/dist/solutions-components/p-ba4e219a.entry.js +0 -6
- package/dist/solutions-components/p-c6c697e5.entry.js +0 -6
- package/dist/solutions-components/p-d324196d.entry.js +0 -6
- package/dist/solutions-components/p-da1e098c.js +0 -129
- package/dist/solutions-components/p-e086ad1d.entry.js +0 -6
- package/dist/solutions-components/p-e6859850.js +0 -21
- package/dist/solutions-components/p-e806feda.entry.js +0 -6
- package/dist/solutions-components/p-e996c38f.js +0 -7
- package/dist/solutions-components/p-ee8fa795.entry.js +0 -6
- package/dist/solutions-components/p-f165921f.entry.js +0 -6
- package/dist/solutions-components/p-f3003b3a.js +0 -21
- package/dist/solutions-components/p-f75786a8.entry.js +0 -6
- package/dist/solutions-components/p-f956c598.entry.js +0 -6
- package/dist/solutions-components/p-fa663804.entry.js +0 -6
- package/dist/solutions-components/p-fd106abf.entry.js +0 -21
- package/dist/solutions-components/p-ff317687.entry.js +0 -6
- package/dist/solutions-components/utils/makeExternal.ts +0 -55
- package/dist/types/utils/makeExternal.d.ts +0 -24
@@ -0,0 +1,498 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{t}from"./p-4fe489cf.js";import{a as n}from"./p-934e8935.js";import{l as i}from"./p-57be3b9d.js";import{q as r}from"./p-5693ce7a.js";import"./p-4f236b5d.js";import{g as e}from"./p-570b13d9.js";import{a as s,r as o,c as a}from"./p-0668e30d.js";
|
7
|
+
/* @preserve
|
8
|
+
* arcgis-pdf-creator v0.0.1
|
9
|
+
* Thu Apr 27 2023 17:20:32 GMT-0700 (Pacific Daylight Time)
|
10
|
+
*/
|
11
|
+
/** @license
|
12
|
+
* Copyright 2022 Esri
|
13
|
+
*
|
14
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
15
|
+
* you may not use this file except in compliance with the License.
|
16
|
+
* You may obtain a copy of the License at
|
17
|
+
*
|
18
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
19
|
+
*
|
20
|
+
* Unless required by applicable law or agreed to in writing, software
|
21
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
22
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
23
|
+
* See the License for the specific language governing permissions and
|
24
|
+
* limitations under the License.
|
25
|
+
*/
|
26
|
+
var u;!function(t){t.A4="A4",t.ANSI_A="ANSI A"}(u||(u={}));class f{dataPath="";lang="en";title="";fontProps={fontResolutionInchesPerPoint:1/72,fontFullHeightRatio:1.28};imageOptions={x:0,y:0,width:0,height:0};lineOptions={x1:0,y1:0,x2:0,y2:0,lineProperties:{thickness:.1,color:"000000",opacity:1}};pageOptions={pageType:u.ANSI_A,width:8.5,height:11,leftMargin:.25,rightMargin:.25,topMargin:.25,bottomMargin:.25,drawNeatline:!1};rectangleOptions={left:0,top:0,width:8.5,height:11,lineProperties:{thickness:.1,color:"000000",opacity:1},fillColor:"",fillOpacity:1};tableOptions={lineProperties:{thickness:.1,color:"",opacity:1},textProperties:{left:0,top:0,fontPoints:1,fontColor:"000000"}};textOptions={left:0,top:0,fontPoints:1,fontColor:"000000"};static getPageSize(t){switch("string"==typeof t&&(t=t===u.A4?u.A4:u.ANSI_A),t){case u.A4:return{width:8.25,height:11.708333};case u.ANSI_A:return{width:8.5,height:11}}}addPage(){}applyOpacity(t,n){return t*n+1*(1-n)}drawImage(t,n){}drawLine(t){const n={...this.lineOptions,...t};n.lineProperties={...this.lineOptions.lineProperties,...t.lineProperties},this.updateLineProperties(n.lineProperties),this.lineOptions=n}drawNeatline(t={thickness:.005,color:"0000ff",opacity:.2}){this.drawRectangle({left:0,top:0,width:this.pageOptions.width-this.pageOptions.leftMargin-this.pageOptions.rightMargin,height:this.pageOptions.height-this.pageOptions.topMargin-this.pageOptions.bottomMargin,lineProperties:t})}drawRectangle(t){const n={...this.rectangleOptions,...t};n.lineProperties={...this.lineOptions.lineProperties,...t.lineProperties},this.updateLineProperties(n.lineProperties),this.rectangleOptions.fillColor===n.fillColor&&this.rectangleOptions.fillOpacity===n.fillOpacity||this.setFillColor(n.fillColor,n.fillOpacity),this.rectangleOptions=n}drawTable(t,n){const i={};i.lineProperties={...this.tableOptions.lineProperties,...n.lineProperties},i.textProperties={...this.tableOptions.textProperties,...n.textProperties},this.tableOptions.textProperties.fontPoints!==i.textProperties.fontPoints&&this.setFontSize(i.textProperties.fontPoints),this.tableOptions.textProperties.fontColor!==i.textProperties.fontColor&&this.setFontColor(i.textProperties.fontColor),this.updateLineProperties(i.lineProperties),this.tableOptions=i}drawText(t,n){const i={...this.textOptions,...n};this.textOptions.fontPoints!==i.fontPoints&&this.setFontSize(i.fontPoints),this.textOptions.fontColor!==i.fontColor&&this.setFontColor(i.fontColor),this.textOptions=i}fontAscenderBaselineHeight(t){return t*this.fontProps.fontResolutionInchesPerPoint}fontAscenderDescenderHeight(t){return this.fontProps.fontFullHeightRatio*this.fontAscenderBaselineHeight(t)}getFontFileName(t){let n="0b7681dc140844ee9f409bdac249fbf0-general";return"ja"===t?n="0b7681dc140844ee9f409bdac249fbf0-japanese":"ko"===t?n="0b7681dc140844ee9f409bdac249fbf0-korean":"zh-cn"===t?n="0b7681dc140844ee9f409bdac249fbf0-simplified-chinese":"zh-hk"!==t&&"zh-tw"!==t||(n="0b7681dc140844ee9f409bdac249fbf0-traditional-chinese"),n}getTextWidth(t,n){return t.length*n*this.fontProps.fontResolutionInchesPerPoint*.6}hexToRGB(t,n=1){const i=/^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?{r:this.applyOpacity(parseInt(i[1],16)/255,n),g:this.applyOpacity(parseInt(i[2],16)/255,n),b:this.applyOpacity(parseInt(i[3],16)/255,n)}:{r:0,g:0,b:0}}async initialize(t={},n="",i="en",r="",e=!1){if("{}"!==JSON.stringify(t)){this.pageOptions.pageType=t.pageType===u.A4?u.A4:u.ANSI_A;const n=f.getPageSize(this.pageOptions.pageType);this.pageOptions.width=n.width,this.pageOptions.height=n.height,this.pageOptions.leftMargin=t.leftMargin??this.pageOptions.leftMargin,this.pageOptions.rightMargin=t.rightMargin??this.pageOptions.rightMargin,this.pageOptions.topMargin=t.topMargin??this.pageOptions.topMargin,this.pageOptions.bottomMargin=t.bottomMargin??this.pageOptions.bottomMargin}return this.dataPath=n,this.lang=i,this.title=r||"PDF Document",this.pageOptions.drawNeatline=e,Promise.resolve()}save(){}setDrawColor(t,n=1){}setFillColor(t,n=1){}setFont(t){return Promise.resolve()}setFontColor(t){}setFontSize(t){}setLang(t){return this.lang!==t?(this.lang=t,this.setFont(t)):Promise.resolve()}setLineWidth(t){}updateLineProperties(t){this.lineOptions.lineProperties.thickness!==t.thickness&&this.setLineWidth(t.thickness),this.lineOptions.lineProperties.color===t.color&&this.lineOptions.lineProperties.opacity===t.opacity||this.setDrawColor(t.color,t.opacity),this.lineOptions.lineProperties=t}}var c=Uint8Array,h=Uint16Array,l=Int32Array,d=new c([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),v=new c([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),m=new c([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),w=function(t,n){for(var i=new h(31),r=0;r<31;++r)i[r]=n+=1<<t[r-1];var e=new l(i[30]);for(r=1;r<30;++r)for(var s=i[r];s<i[r+1];++s)e[s]=s-i[r]<<5|r;return{b:i,r:e}},p=w(d,2),b=p.b,g=p.r;b[28]=258,g[258]=28;for(var N=w(v,0),L=N.b,y=N.r,A=new h(32768),k=0;k<32768;++k){var x=(43690&k)>>1|(21845&k)<<1;A[k]=((65280&(x=(61680&(x=(52428&x)>>2|(13107&x)<<2))>>4|(3855&x)<<4))>>8|(255&x)<<8)>>1}var S=function(t,n,i){for(var r=t.length,e=0,s=new h(n);e<r;++e)t[e]&&++s[t[e]-1];var o,a=new h(n);for(e=1;e<n;++e)a[e]=a[e-1]+s[e-1]<<1;if(i){o=new h(1<<n);var u=15-n;for(e=0;e<r;++e)if(t[e])for(var f=e<<4|t[e],c=n-t[e],l=a[t[e]-1]++<<c,d=l|(1<<c)-1;l<=d;++l)o[A[l]>>u]=f}else for(o=new h(r),e=0;e<r;++e)t[e]&&(o[e]=A[a[t[e]-1]++]>>15-t[e]);return o},q=new c(288);for(k=0;k<144;++k)q[k]=8;for(k=144;k<256;++k)q[k]=9;for(k=256;k<280;++k)q[k]=7;for(k=280;k<288;++k)q[k]=8;var j=new c(32);for(k=0;k<32;++k)j[k]=5;var M=S(q,9,0),E=S(q,9,1),P=S(j,5,0),O=S(j,5,1),I=function(t){for(var n=t[0],i=1;i<t.length;++i)t[i]>n&&(n=t[i]);return n},F=function(t,n,i){var r=n/8|0;return(t[r]|t[r+1]<<8)>>(7&n)&i},R=function(t,n){var i=n/8|0;return(t[i]|t[i+1]<<8|t[i+2]<<16)>>(7&n)},B=function(t){return(t+7)/8|0},T=function(t,n,i){return(null==n||n<0)&&(n=0),(null==i||i>t.length)&&(i=t.length),new c(t.subarray(n,i))},C=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],D=function(t,n,i){var r=new Error(n||C[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,D),!i)throw r;return r},z=function(t,n,i){var r=n/8|0;t[r]|=i<<=7&n,t[r+1]|=i>>8},U=function(t,n,i){var r=n/8|0;t[r]|=i<<=7&n,t[r+1]|=i>>8,t[r+2]|=i>>16},V=function(t,n){for(var i=[],r=0;r<t.length;++r)t[r]&&i.push({s:r,f:t[r]});var e=i.length,s=i.slice();if(!e)return{t:Y,l:0};if(1==e){var o=new c(i[0].s+1);return o[i[0].s]=1,{t:o,l:1}}i.sort((function(t,n){return t.f-n.f})),i.push({s:-1,f:25001});var a=i[0],u=i[1],f=0,l=1,d=2;for(i[0]={s:-1,f:a.f+u.f,l:a,r:u};l!=e-1;)a=i[i[f].f<i[d].f?f++:d++],u=i[f!=l&&i[f].f<i[d].f?f++:d++],i[l++]={s:-1,f:a.f+u.f,l:a,r:u};var v=s[0].s;for(r=1;r<e;++r)s[r].s>v&&(v=s[r].s);var m=new h(v+1),w=W(i[l-1],m,0);if(w>n){r=0;var p=0,b=w-n,g=1<<b;for(s.sort((function(t,n){return m[n.s]-m[t.s]||t.f-n.f}));r<e;++r){var N=s[r].s;if(!(m[N]>n))break;p+=g-(1<<w-m[N]),m[N]=n}for(p>>=b;p>0;){var L=s[r].s;m[L]<n?p-=1<<n-m[L]++-1:++r}for(;r>=0&&p;--r){var y=s[r].s;m[y]==n&&(--m[y],++p)}w=n}return{t:new c(m),l:w}},W=function(t,n,i){return-1==t.s?Math.max(W(t.l,n,i+1),W(t.r,n,i+1)):n[t.s]=i},_=function(t){for(var n=t.length;n&&!t[--n];);for(var i=new h(++n),r=0,e=t[0],s=1,o=function(t){i[r++]=t},a=1;a<=n;++a)if(t[a]==e&&a!=n)++s;else{if(!e&&s>2){for(;s>138;s-=138)o(32754);s>2&&(o(s>10?s-11<<5|28690:s-3<<5|12305),s=0)}else if(s>3){for(o(e),--s;s>6;s-=6)o(8304);s>2&&(o(s-3<<5|8208),s=0)}for(;s--;)o(e);s=1,e=t[a]}return{c:i.subarray(0,r),n}},H=function(t,n){for(var i=0,r=0;r<n.length;++r)i+=t[r]*n[r];return i},G=function(t,n,i){var r=i.length,e=B(n+2);t[e]=255&r,t[e+1]=r>>8,t[e+2]=255^t[e],t[e+3]=255^t[e+1];for(var s=0;s<r;++s)t[e+s+4]=i[s];return 8*(e+4+r)},J=function(t,n,i,r,e,s,o,a,u,f,c){z(n,c++,i),++e[256];for(var l=V(e,15),w=l.t,p=l.l,b=V(s,15),g=b.t,N=b.l,L=_(w),y=L.c,A=L.n,k=_(g),x=k.c,E=k.n,O=new h(19),I=0;I<y.length;++I)++O[31&y[I]];for(I=0;I<x.length;++I)++O[31&x[I]];for(var F=V(O,7),R=F.t,B=F.l,T=19;T>4&&!R[m[T-1]];--T);var C,D,W,J,$=f+5<<3,Y=H(e,q)+H(s,j)+o,K=H(e,w)+H(s,g)+o+14+3*T+H(O,R)+2*O[16]+3*O[17]+7*O[18];if(u>=0&&$<=Y&&$<=K)return G(n,c,t.subarray(u,u+f));if(z(n,c,1+(K<Y)),c+=2,K<Y){C=S(w,p,0),D=w,W=S(g,N,0),J=g;var X=S(R,B,0);for(z(n,c,A-257),z(n,c+5,E-1),z(n,c+10,T-4),c+=14,I=0;I<T;++I)z(n,c+3*I,R[m[I]]);c+=3*T;for(var Z=[y,x],Q=0;Q<2;++Q){var tt=Z[Q];for(I=0;I<tt.length;++I)z(n,c,X[it=31&tt[I]]),c+=R[it],it>15&&(z(n,c,tt[I]>>5&127),c+=tt[I]>>12)}}else C=M,D=q,W=P,J=j;for(I=0;I<a;++I){var nt=r[I];if(nt>255){var it;U(n,c,C[257+(it=nt>>18&31)]),c+=D[it+257],it>7&&(z(n,c,nt>>23&31),c+=d[it]);var rt=31&nt;U(n,c,W[rt]),c+=J[rt],rt>3&&(U(n,c,nt>>5&8191),c+=v[rt])}else U(n,c,C[nt]),c+=D[nt]}return U(n,c,C[256]),c+D[256]},$=new l([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Y=new c(0),K=function(){var t=1,n=0;return{p:function(i){for(var r=t,e=n,s=0|i.length,o=0;o!=s;){for(var a=Math.min(o+2655,s);o<a;++o)e+=r+=i[o];r=(65535&r)+15*(r>>16),e=(65535&e)+15*(e>>16)}t=r,n=e},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},X=function(t,n,i){for(;i;++n)t[n]=i,i>>>=8};function Z(t,n){n||(n={});var i=K();i.p(t);var r=function(t,n,i,r,e){if(!e&&(e={l:1},n.dictionary)){var s=n.dictionary.subarray(-32768),o=new c(s.length+t.length);o.set(s),o.set(t,s.length),t=o,e.w=s.length}return function(t,n,i,r,e,s){var o=s.z||t.length,a=new c(r+o+5*(1+Math.ceil(o/7e3))+e),u=a.subarray(r,a.length-e),f=s.l,m=7&(s.r||0);if(n){m&&(u[0]=s.r>>3);for(var w=$[n-1],p=w>>13,b=8191&w,N=(1<<i)-1,L=s.p||new h(32768),A=s.h||new h(N+1),k=Math.ceil(i/3),x=2*k,S=function(n){return(t[n]^t[n+1]<<k^t[n+2]<<x)&N},q=new l(25e3),j=new h(288),M=new h(32),E=0,P=0,O=s.i||0,I=0,F=s.w||0,R=0;O+2<o;++O){var C=S(O),D=32767&O,z=A[C];if(L[D]=z,A[C]=D,F<=O){var U=o-O;if((E>7e3||I>24576)&&(U>423||!f)){m=J(t,u,0,q,j,M,P,I,R,O-R,m),I=E=P=0,R=O;for(var V=0;V<286;++V)j[V]=0;for(V=0;V<30;++V)M[V]=0}var W=2,_=0,H=b,Y=D-z&32767;if(U>2&&C==S(O-Y))for(var K=Math.min(p,U)-1,X=Math.min(32767,O),Z=Math.min(258,U);Y<=X&&--H&&D!=z;){if(t[O+W]==t[O+W-Y]){for(var Q=0;Q<Z&&t[O+Q]==t[O+Q-Y];++Q);if(Q>W){if(W=Q,_=Y,Q>K)break;var tt=Math.min(Y,Q-2),nt=0;for(V=0;V<tt;++V){var it=O-Y+V&32767,rt=it-L[it]&32767;rt>nt&&(nt=rt,z=it)}}}Y+=(D=z)-(z=L[D])&32767}if(_){q[I++]=268435456|g[W]<<18|y[_];var et=31&g[W],st=31&y[_];P+=d[et]+v[st],++j[257+et],++M[st],F=O+W,++E}else q[I++]=t[O],++j[t[O]]}}for(O=Math.max(O,F);O<o;++O)q[I++]=t[O],++j[t[O]];m=J(t,u,f,q,j,M,P,I,R,O-R,m),f||(s.r=7&m|u[m/8|0]<<3,m-=7,s.h=A,s.p=L,s.i=O,s.w=F)}else{for(O=s.w||0;O<o+f;O+=65535){var ot=O+65535;ot>=o&&(u[m/8|0]=f,ot=o),m=G(u,m+1,t.subarray(O,ot))}s.i=o}return T(a,0,r+B(m)+e)}(t,null==n.level?6:n.level,null==n.mem?e.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):20:12+n.mem,i,r,e)}(t,n,n.dictionary?6:2,4);return function(t,n){var i=n.level,r=0==i?0:i<6?1:9==i?3:2;if(t[0]=120,t[1]=r<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var e=K();e.p(n.dictionary),X(t,2,e.d())}}(r,n),X(r,r.length-4,i.d()),r}var Q="undefined"!=typeof TextDecoder&&new TextDecoder;try{Q.decode(Y,{stream:!0})}catch(Dn){}
|
27
|
+
/** @license
|
28
|
+
*
|
29
|
+
* jsPDF - PDF Document creation from JavaScript
|
30
|
+
* Version 2.5.2 Built on 2024-09-17T13:29:57.859Z
|
31
|
+
* CommitID 00000000
|
32
|
+
*
|
33
|
+
* Copyright (c) 2010-2021 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
|
34
|
+
* 2015-2021 yWorks GmbH, http://www.yworks.com
|
35
|
+
* 2015-2021 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
|
36
|
+
* 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
|
37
|
+
* 2010 Aaron Spike, https://github.com/acspike
|
38
|
+
* 2012 Willow Systems Corporation, https://github.com/willowsystems
|
39
|
+
* 2012 Pablo Hess, https://github.com/pablohess
|
40
|
+
* 2012 Florian Jenett, https://github.com/fjenett
|
41
|
+
* 2013 Warren Weckesser, https://github.com/warrenweckesser
|
42
|
+
* 2013 Youssef Beddad, https://github.com/lifof
|
43
|
+
* 2013 Lee Driscoll, https://github.com/lsdriscoll
|
44
|
+
* 2013 Stefan Slonevskiy, https://github.com/stefslon
|
45
|
+
* 2013 Jeremy Morel, https://github.com/jmorel
|
46
|
+
* 2013 Christoph Hartmann, https://github.com/chris-rock
|
47
|
+
* 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
|
48
|
+
* 2014 James Makes, https://github.com/dollaruw
|
49
|
+
* 2014 Diego Casorran, https://github.com/diegocr
|
50
|
+
* 2014 Steven Spungin, https://github.com/Flamenco
|
51
|
+
* 2014 Kenneth Glassey, https://github.com/Gavvers
|
52
|
+
*
|
53
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
54
|
+
* a copy of this software and associated documentation files (the
|
55
|
+
* "Software"), to deal in the Software without restriction, including
|
56
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
57
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
58
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
59
|
+
* the following conditions:
|
60
|
+
*
|
61
|
+
* The above copyright notice and this permission notice shall be
|
62
|
+
* included in all copies or substantial portions of the Software.
|
63
|
+
*
|
64
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
65
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
66
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
67
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
68
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
69
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
70
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
71
|
+
*
|
72
|
+
* Contributor(s):
|
73
|
+
* siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
|
74
|
+
* kim3er, mfo, alnorth, Flamenco
|
75
|
+
*/var tt=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function nt(){tt.console&&"function"==typeof tt.console.log&&tt.console.log.apply(tt.console,arguments)}var it={log:nt,warn:function(){tt.console&&("function"==typeof tt.console.warn?tt.console.warn.apply(tt.console,arguments):nt.call(null,arguments))},error:function(t){tt.console&&("function"==typeof tt.console.error?tt.console.error.apply(tt.console,arguments):nt(t))}};function rt(t,n,i){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){ut(r.response,n,i)},r.onerror=function(){it.error("could not download file")},r.send()}function et(t){var n=new XMLHttpRequest;n.open("HEAD",t,!1);try{n.send()}catch(t){}return n.status>=200&&n.status<=299}function st(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(i){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}var ot,at,ut=tt.saveAs||("object"!==("undefined"==typeof window?"undefined":t(window))||window!==tt?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(t,n,i){var r=tt.URL||tt.webkitURL,e=document.createElement("a");e.download=n=n||t.name||"download",e.rel="noopener","string"==typeof t?(e.href=t,e.origin!==location.origin?et(e.href)?rt(t,n,i):st(e,e.target="_blank"):st(e)):(e.href=r.createObjectURL(t),setTimeout((function(){r.revokeObjectURL(e.href)}),4e4),setTimeout((function(){st(e)}),0))}:"msSaveOrOpenBlob"in navigator?function(n,i,r){if(i=i||n.name||"download","string"==typeof n)if(et(n))rt(n,i,r);else{var e=document.createElement("a");e.href=n,e.target="_blank",setTimeout((function(){st(e)}))}else navigator.msSaveOrOpenBlob(function(n,i){return void 0===i?i={autoBom:!1}:"object"!==t(i)&&(it.warn("Deprecated: Expected third argument to be a object"),i={autoBom:!i}),i.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(n.type)?new Blob([String.fromCharCode(65279),n],{type:n.type}):n}(n,r),i)}:function(n,i,r,e){if((e=e||open("","_blank"))&&(e.document.title=e.document.body.innerText="downloading..."),"string"==typeof n)return rt(n,i,r);var s="application/octet-stream"===n.type,o=/constructor/i.test(tt.HTMLElement)||tt.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent);if((a||s&&o)&&"object"===("undefined"==typeof FileReader?"undefined":t(FileReader))){var u=new FileReader;u.onloadend=function(){var t=u.result;t=a?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),e?e.location.href=t:location=t,e=null},u.readAsDataURL(n)}else{var f=tt.URL||tt.webkitURL,c=f.createObjectURL(n);e?e.location=c:location.href=c,e=null,setTimeout((function(){f.revokeObjectURL(c)}),4e4)}});
|
76
|
+
/**
|
77
|
+
* A class to parse color values
|
78
|
+
* @author Stoyan Stefanov <sstoo@gmail.com>
|
79
|
+
* {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
|
80
|
+
* @license Use it if you like it
|
81
|
+
*/function ft(t){var n;t=t||"",this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var i=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],r=0;r<i.length;r++){var e=i[r].process,s=i[r].re.exec(t);s&&(n=e(s),this.r=n[0],this.g=n[1],this.b=n[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),n=this.g.toString(16),i=this.b.toString(16);return 1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),1==i.length&&(i="0"+i),"#"+t+n+i}}
|
82
|
+
/**
|
83
|
+
* @license
|
84
|
+
* Joseph Myers does not specify a particular license for his work.
|
85
|
+
*
|
86
|
+
* Author: Joseph Myers
|
87
|
+
* Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
|
88
|
+
*
|
89
|
+
* Modified by: Owen Leong
|
90
|
+
*/function ct(t,n){var i=t[0],r=t[1],e=t[2],s=t[3];i=lt(i,r,e,s,n[0],7,-680876936),s=lt(s,i,r,e,n[1],12,-389564586),e=lt(e,s,i,r,n[2],17,606105819),r=lt(r,e,s,i,n[3],22,-1044525330),i=lt(i,r,e,s,n[4],7,-176418897),s=lt(s,i,r,e,n[5],12,1200080426),e=lt(e,s,i,r,n[6],17,-1473231341),r=lt(r,e,s,i,n[7],22,-45705983),i=lt(i,r,e,s,n[8],7,1770035416),s=lt(s,i,r,e,n[9],12,-1958414417),e=lt(e,s,i,r,n[10],17,-42063),r=lt(r,e,s,i,n[11],22,-1990404162),i=lt(i,r,e,s,n[12],7,1804603682),s=lt(s,i,r,e,n[13],12,-40341101),e=lt(e,s,i,r,n[14],17,-1502002290),i=dt(i,r=lt(r,e,s,i,n[15],22,1236535329),e,s,n[1],5,-165796510),s=dt(s,i,r,e,n[6],9,-1069501632),e=dt(e,s,i,r,n[11],14,643717713),r=dt(r,e,s,i,n[0],20,-373897302),i=dt(i,r,e,s,n[5],5,-701558691),s=dt(s,i,r,e,n[10],9,38016083),e=dt(e,s,i,r,n[15],14,-660478335),r=dt(r,e,s,i,n[4],20,-405537848),i=dt(i,r,e,s,n[9],5,568446438),s=dt(s,i,r,e,n[14],9,-1019803690),e=dt(e,s,i,r,n[3],14,-187363961),r=dt(r,e,s,i,n[8],20,1163531501),i=dt(i,r,e,s,n[13],5,-1444681467),s=dt(s,i,r,e,n[2],9,-51403784),e=dt(e,s,i,r,n[7],14,1735328473),i=vt(i,r=dt(r,e,s,i,n[12],20,-1926607734),e,s,n[5],4,-378558),s=vt(s,i,r,e,n[8],11,-2022574463),e=vt(e,s,i,r,n[11],16,1839030562),r=vt(r,e,s,i,n[14],23,-35309556),i=vt(i,r,e,s,n[1],4,-1530992060),s=vt(s,i,r,e,n[4],11,1272893353),e=vt(e,s,i,r,n[7],16,-155497632),r=vt(r,e,s,i,n[10],23,-1094730640),i=vt(i,r,e,s,n[13],4,681279174),s=vt(s,i,r,e,n[0],11,-358537222),e=vt(e,s,i,r,n[3],16,-722521979),r=vt(r,e,s,i,n[6],23,76029189),i=vt(i,r,e,s,n[9],4,-640364487),s=vt(s,i,r,e,n[12],11,-421815835),e=vt(e,s,i,r,n[15],16,530742520),i=mt(i,r=vt(r,e,s,i,n[2],23,-995338651),e,s,n[0],6,-198630844),s=mt(s,i,r,e,n[7],10,1126891415),e=mt(e,s,i,r,n[14],15,-1416354905),r=mt(r,e,s,i,n[5],21,-57434055),i=mt(i,r,e,s,n[12],6,1700485571),s=mt(s,i,r,e,n[3],10,-1894986606),e=mt(e,s,i,r,n[10],15,-1051523),r=mt(r,e,s,i,n[1],21,-2054922799),i=mt(i,r,e,s,n[8],6,1873313359),s=mt(s,i,r,e,n[15],10,-30611744),e=mt(e,s,i,r,n[6],15,-1560198380),r=mt(r,e,s,i,n[13],21,1309151649),i=mt(i,r,e,s,n[4],6,-145523070),s=mt(s,i,r,e,n[11],10,-1120210379),e=mt(e,s,i,r,n[2],15,718787259),r=mt(r,e,s,i,n[9],21,-343485551),t[0]=At(i,t[0]),t[1]=At(r,t[1]),t[2]=At(e,t[2]),t[3]=At(s,t[3])}function ht(t,n,i,r,e,s){return n=At(At(n,t),At(r,s)),At(n<<e|n>>>32-e,i)}function lt(t,n,i,r,e,s,o){return ht(n&i|~n&r,t,n,e,s,o)}function dt(t,n,i,r,e,s,o){return ht(n&r|i&~r,t,n,e,s,o)}function vt(t,n,i,r,e,s,o){return ht(n^i^r,t,n,e,s,o)}function mt(t,n,i,r,e,s,o){return ht(i^(n|~r),t,n,e,s,o)}function wt(t){var n,i=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=t.length;n+=64)ct(r,pt(t.substring(n-64,n)));t=t.substring(n-64);var e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n<t.length;n++)e[n>>2]|=t.charCodeAt(n)<<(n%4<<3);if(e[n>>2]|=128<<(n%4<<3),n>55)for(ct(r,e),n=0;n<16;n++)e[n]=0;return e[14]=8*i,ct(r,e),r}function pt(t){var n,i=[];for(n=0;n<64;n+=4)i[n>>2]=t.charCodeAt(n)+(t.charCodeAt(n+1)<<8)+(t.charCodeAt(n+2)<<16)+(t.charCodeAt(n+3)<<24);return i}ot=tt.atob.bind(tt),at=tt.btoa.bind(tt);var bt="0123456789abcdef".split("");function gt(t){for(var n="",i=0;i<4;i++)n+=bt[t>>8*i+4&15]+bt[t>>8*i&15];return n}function Nt(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function Lt(t){return wt(t).map(Nt).join("")}var yt="5d41402abc4b2a76b9719d911017c592"!=function(t){for(var n=0;n<t.length;n++)t[n]=gt(t[n]);return t.join("")}(wt("hello"));function At(t,n){if(yt){var i=(65535&t)+(65535&n);return(t>>16)+(n>>16)+(i>>16)<<16|65535&i}return t+n&4294967295}
|
91
|
+
/**
|
92
|
+
* @license
|
93
|
+
* FPDF is released under a permissive license: there is no usage restriction.
|
94
|
+
* You may embed it freely in your application (commercial or not), with or
|
95
|
+
* without modifications.
|
96
|
+
*
|
97
|
+
* Reference: http://www.fpdf.org/en/script/script37.php
|
98
|
+
*/function kt(t,n){var i,r,e;if(t!==i){for(var s=(e=t,new Array(1+(256/t.length|0)+1).join(e)),o=[],a=0;a<256;a++)o[a]=a;var u=0;for(a=0;a<256;a++){var f=o[a];u=(u+f+s.charCodeAt(a))%256,o[a]=o[u],o[u]=f}i=t,r=o}else o=r;var c=n.length,h=0,l=0,d="";for(a=0;a<c;a++)l=(l+(f=o[h=(h+1)%256]))%256,o[h]=o[l],o[l]=f,s=o[(o[h]+o[l])%256],d+=String.fromCharCode(n.charCodeAt(a)^s);return d}
|
99
|
+
/**
|
100
|
+
* @license
|
101
|
+
* Licensed under the MIT License.
|
102
|
+
* http://opensource.org/licenses/mit-license
|
103
|
+
* Author: Owen Leong (@owenl131)
|
104
|
+
* Date: 15 Oct 2020
|
105
|
+
* References:
|
106
|
+
* https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
|
107
|
+
* https://github.com/foliojs/pdfkit/blob/master/lib/security.js
|
108
|
+
* http://www.fpdf.org/en/script/script37.php
|
109
|
+
*/var xt={print:4,modify:8,copy:16,"annot-forms":32};function St(t,n,i,r){this.v=1,this.r=2;var e=192;t.forEach((function(t){e+=xt[t]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";var s=(n+this.padding).substr(0,32),o=(i+this.padding).substr(0,32);this.O=this.processOwnerPassword(s,o),this.P=-(1+(255^e)),this.encryptionKey=Lt(s+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=kt(this.encryptionKey,this.padding)}function qt(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var n="",i=t.length,r=0;r<i;r++){var e=t.charCodeAt(r);n+=e<33||35===e||37===e||40===e||41===e||47===e||60===e||62===e||91===e||93===e||123===e||125===e||e>126?"#"+("0"+e.toString(16)).slice(-2):t[r]}return n}function jt(n){if("object"!==t(n))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var i={};this.subscribe=function(t,n,r){if(r=r||!1,"string"!=typeof t||"function"!=typeof n||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");i.hasOwnProperty(t)||(i[t]={});var e=Math.random().toString(35);return i[t][e]=[n,!!r],e},this.unsubscribe=function(t){for(var n in i)if(i[n][t])return delete i[n][t],0===Object.keys(i[n]).length&&delete i[n],!0;return!1},this.publish=function(t){if(i.hasOwnProperty(t)){var r=Array.prototype.slice.call(arguments,1),e=[];for(var s in i[t]){var o=i[t][s];try{o[0].apply(n,r)}catch(t){tt.console&&it.error("jsPDF PubSub Error",t.message,t)}o[1]&&e.push(s)}e.length&&e.forEach(this.unsubscribe)}},this.getTopics=function(){return i}}function Mt(t){if(!(this instanceof Mt))return new Mt(t);var n="opacity,stroke-opacity".split(",");for(var i in t)t.hasOwnProperty(i)&&n.indexOf(i)>=0&&(this[i]=t[i]);this.id="",this.objectNumber=-1}function Et(t,n){this.gState=t,this.matrix=n,this.id="",this.objectNumber=-1}function Pt(t,n,i,r,e){if(!(this instanceof Pt))return new Pt(t,n,i,r,e);this.type="axial"===t?2:3,this.coords=n,this.colors=i,Et.call(this,r,e)}function Ot(t,n,i,r,e){if(!(this instanceof Ot))return new Ot(t,n,i,r,e);this.boundingBox=t,this.xStep=n,this.yStep=i,this.stream="",this.cloneIndex=0,Et.call(this,r,e)}function It(n){var i,r="string"==typeof arguments[0]?arguments[0]:"p",e=arguments[1],s=arguments[2],o=arguments[3],a=[],u=1,f=16,c="S",h=null;"object"===t(n=n||{})&&(r=n.orientation,e=n.unit||e,s=n.format||s,o=n.compress||n.compressPdf||o,null!==(h=n.encryption||null)&&(h.userPassword=h.userPassword||"",h.ownerPassword=h.ownerPassword||"",h.userPermissions=h.userPermissions||[]),u="number"==typeof n.userUnit?Math.abs(n.userUnit):1,void 0!==n.precision&&(i=n.precision),void 0!==n.floatPrecision&&(f=n.floatPrecision),c=n.defaultPathOperation||"S"),a=n.filters||(!0===o?["FlateEncode"]:a),e=e||"mm",r=(""+(r||"P")).toLowerCase();var l=n.putOnlyUsedFonts||!1,d={},v={internal:{},__private__:{}};v.__private__.PubSub=jt;var m="1.3",w=v.__private__.getPdfVersion=function(){return m};v.__private__.setPdfVersion=function(t){m=t};var p={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};v.__private__.getPageFormats=function(){return p};var b=v.__private__.getPageFormat=function(t){return p[t]};s=s||"a4";var g="compat",N="advanced",L=g;function y(){this.saveGraphicsState(),Z(new _t(bt,0,0,-bt,0,Li()*bt).toString()+" cm"),this.setFontSize(this.getFontSize()/bt),c="n",L=N}function A(){this.restoreGraphicsState(),c="S",L=g}var k=v.__private__.combineFontStyleAndFontWeight=function(t,n){if("bold"==t&&"normal"==n||"bold"==t&&400==n||"normal"==t&&"italic"==n||"bold"==t&&"italic"==n)throw new Error("Invalid Combination of fontweight and fontstyle");return n&&(t=400==n||"normal"===n?"italic"===t?"italic":"normal":700!=n&&"bold"!==n||"normal"!==t?(700==n?"bold":n)+""+t:"bold"),t};v.advancedAPI=function(t){var n=L===g;return n&&y.call(this),"function"!=typeof t||(t(this),n&&A.call(this)),this},v.compatAPI=function(t){var n=L===N;return n&&A.call(this),"function"!=typeof t||(t(this),n&&y.call(this)),this},v.isAdvancedAPI=function(){return L===N};var x,S=function(t){if(L!==N)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},q=v.roundToPrecision=v.__private__.roundToPrecision=function(t,n){var r=i||n;if(isNaN(t)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(r).replace(/0+$/,"")};x=v.hpf=v.__private__.hpf="number"==typeof f?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return q(t,f)}:"smart"===f?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return q(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return q(t,16)};var j=v.f2=v.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return q(t,2)},M=v.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return q(t,3)},E=v.scale=v.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return L===g?t*bt:L===N?t:void 0},P=function(t){return E(function(t){return L===g?Li()-t:L===N?t:void 0}(t))};v.__private__.setPrecision=v.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(i=parseInt(t,10))};var O,I="00000000000000000000000000000000",F=v.__private__.getFileId=function(){return I},R=v.__private__.setFileId=function(t){return I=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():I.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==h&&(Pn=new St(h.userPermissions,h.userPassword,h.ownerPassword,I)),I};v.setFileId=function(t){return R(t),this},v.getFileId=function(){return F()};var B=v.__private__.convertDateToPDFDate=function(t){var n=t.getTimezoneOffset(),i=n<0?"+":"-",r=Math.floor(Math.abs(n/60)),e=Math.abs(n%60),s=[i,U(r),"'",U(e),"'"].join("");return["D:",t.getFullYear(),U(t.getMonth()+1),U(t.getDate()),U(t.getHours()),U(t.getMinutes()),U(t.getSeconds()),s].join("")},T=v.__private__.convertPDFDateToDate=function(t){var n=parseInt(t.substr(2,4),10),i=parseInt(t.substr(6,2),10)-1,r=parseInt(t.substr(8,2),10),e=parseInt(t.substr(10,2),10),s=parseInt(t.substr(12,2),10),o=parseInt(t.substr(14,2),10);return new Date(n,i,r,e,s,o,0)},C=v.__private__.setCreationDate=function(t){var n;if(void 0===t&&(t=new Date),t instanceof Date)n=B(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");n=t}return O=n},D=v.__private__.getCreationDate=function(t){var n=O;return"jsDate"===t&&(n=T(O)),n};v.setCreationDate=function(t){return C(t),this},v.getCreationDate=function(t){return D(t)};var z,U=v.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},V=v.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},W=0,_=[],H=[],G=0,J=[],$=[],Y=!1,K=H;v.__private__.setCustomOutputDestination=function(t){Y=!0,K=t};var X=function(t){Y||(K=t)};v.__private__.resetCustomOutputDestination=function(){Y=!1,K=H};var Z=v.__private__.out=function(t){return t=t.toString(),G+=t.length+1,K.push(t),K},Q=v.__private__.write=function(t){return Z(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},nt=v.__private__.getArrayBuffer=function(t){for(var n=t.length,i=new ArrayBuffer(n),r=new Uint8Array(i);n--;)r[n]=t.charCodeAt(n);return i},rt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];v.__private__.getStandardFonts=function(){return rt};var et=n.fontSize||16;v.__private__.setFontSize=v.setFontSize=function(t){return et=L===N?t/bt:t,this};var st,ot=v.__private__.getFontSize=v.getFontSize=function(){return L===g?et:et*bt},ct=n.R2L||!1;v.__private__.setR2L=v.setR2L=function(t){return ct=t,this},v.__private__.getR2L=v.getR2L=function(){return ct};var ht,lt=v.__private__.setZoomMode=function(t){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(t))st=t;else if(isNaN(t)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');st=t}else st=parseInt(t,10)};v.__private__.getZoomMode=function(){return st};var dt,vt=v.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');ht=t};v.__private__.getPageMode=function(){return ht};var mt=v.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');dt=t};v.__private__.getLayoutMode=function(){return dt},v.__private__.setDisplayMode=v.setDisplayMode=function(t,n,i){return lt(t),mt(n),vt(i),this};var wt={title:"",subject:"",author:"",keywords:"",creator:""};v.__private__.getDocumentProperty=function(t){if(-1===Object.keys(wt).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return wt[t]},v.__private__.getDocumentProperties=function(){return wt},v.__private__.setDocumentProperties=v.setProperties=v.setDocumentProperties=function(t){for(var n in wt)wt.hasOwnProperty(n)&&t[n]&&(wt[n]=t[n]);return this},v.__private__.setDocumentProperty=function(t,n){if(-1===Object.keys(wt).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return wt[t]=n};var pt,bt,gt,Nt,Lt,yt={},At={},kt=[],xt={},Et={},Ft={},Rt={},Bt=null,Tt=0,Ct=[],Dt=new jt(v),zt=n.hotfixes||[],Ut={},Vt={},Wt=[],_t=function t(n,i,r,e,s,o){if(!(this instanceof t))return new t(n,i,r,e,s,o);isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(r)&&(r=0),isNaN(e)&&(e=1),isNaN(s)&&(s=0),isNaN(o)&&(o=0),this._matrix=[n,i,r,e,s,o]};Object.defineProperty(_t.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(_t.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(_t.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(_t.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(_t.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(_t.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(_t.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(_t.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(_t.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(_t.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(_t.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(_t.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(_t.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(_t.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(_t.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(_t.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),_t.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(x).join(t)},_t.prototype.multiply=function(t){return new _t(t.sx*this.sx+t.shy*this.shx,t.sx*this.shy+t.shy*this.sy,t.shx*this.sx+t.sy*this.shx,t.shx*this.shy+t.sy*this.sy,t.tx*this.sx+t.ty*this.shx+this.tx,t.tx*this.shy+t.ty*this.sy+this.ty)},_t.prototype.decompose=function(){var t=this.sx,n=this.shy,i=this.shx,r=this.sy,e=this.tx,s=this.ty,o=Math.sqrt(t*t+n*n),a=(t/=o)*i+(n/=o)*r;i-=t*a,r-=n*a;var u=Math.sqrt(i*i+r*r);return a/=u,t*(r/=u)<n*(i/=u)&&(t=-t,n=-n,a=-a,o=-o),{scale:new _t(o,0,0,u,0,0),translate:new _t(1,0,0,1,e,s),rotate:new _t(t,n,-n,t,0,0),skew:new _t(1,0,a,1,0,0)}},_t.prototype.toString=function(){return this.join(" ")},_t.prototype.inversed=function(){var t=this.sx,n=this.shy,i=this.shx,r=this.sy,e=this.tx,s=this.ty,o=1/(t*r-n*i),a=r*o,u=-n*o,f=-i*o,c=t*o;return new _t(a,u,f,c,-a*e-f*s,-u*e-c*s)},_t.prototype.applyToPoint=function(t){return new vi(t.x*this.sx+t.y*this.shx+this.tx,t.x*this.shy+t.y*this.sy+this.ty)},_t.prototype.applyToRectangle=function(t){var n=this.applyToPoint(t),i=this.applyToPoint(new vi(t.x+t.w,t.y+t.h));return new mi(n.x,n.y,i.x-n.x,i.y-n.y)},_t.prototype.clone=function(){return new _t(this.sx,this.shy,this.shx,this.sy,this.tx,this.ty)},v.Matrix=_t;var Ht=v.matrixMult=function(t,n){return n.multiply(t)},Gt=new _t(1,0,0,1,0,0);v.unitMatrix=v.identityMatrix=Gt;var Jt=function(t,n){if(!Et[t]){var i=(n instanceof Pt?"Sh":"P")+(Object.keys(xt).length+1).toString(10);n.id=i,Et[t]=i,xt[i]=n,Dt.publish("addPattern",n)}};v.ShadingPattern=Pt,v.TilingPattern=Ot,v.addShadingPattern=function(t,n){return S("addShadingPattern()"),Jt(t,n),this},v.beginTilingPattern=function(t){S("beginTilingPattern()"),pi(t.boundingBox[0],t.boundingBox[1],t.boundingBox[2]-t.boundingBox[0],t.boundingBox[3]-t.boundingBox[1],t.matrix)},v.endTilingPattern=function(t,n){S("endTilingPattern()"),n.stream=$[z].join("\n"),Jt(t,n),Dt.publish("endTilingPattern",n),Wt.pop().restore()};var $t=v.__private__.newObject=function(){var t=Yt();return Kt(t,!0),t},Yt=v.__private__.newObjectDeferred=function(){return W++,_[W]=function(){return G},W},Kt=function(t,n){return n="boolean"==typeof n&&n,_[t]=G,n&&Z(t+" 0 obj"),t},Xt=v.__private__.newAdditionalObject=function(){var t={objId:Yt(),content:""};return J.push(t),t},Zt=Yt(),Qt=Yt(),tn=v.__private__.decodeColorString=function(t){var n=t.split(" ");if(2!==n.length||"g"!==n[1]&&"G"!==n[1])5!==n.length||"k"!==n[4]&&"K"!==n[4]||(n=[(1-n[0])*(1-n[3]),(1-n[1])*(1-n[3]),(1-n[2])*(1-n[3]),"r"]);else{var i=parseFloat(n[0]);n=[i,i,i,"r"]}for(var r="#",e=0;e<3;e++)r+=("0"+Math.floor(255*parseFloat(n[e])).toString(16)).slice(-2);return r},nn=v.__private__.encodeColorString=function(n){var i;"string"==typeof n&&(n={ch1:n});var r=n.ch1,e=n.ch2,s=n.ch3,o=n.ch4,a="draw"===n.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var u=new ft(r);if(u.ok)r=u.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var f=parseInt(r.substr(1),16);r=f>>16&255,e=f>>8&255,s=255&f}if(void 0===e||void 0===o&&r===e&&e===s)i="string"==typeof r?r+" "+a[0]:2===n.precision?j(r/255)+" "+a[0]:M(r/255)+" "+a[0];else if(void 0===o||"object"===t(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",a[1]].join(" ");i="string"==typeof r?[r,e,s,a[1]].join(" "):2===n.precision?[j(r/255),j(e/255),j(s/255),a[1]].join(" "):[M(r/255),M(e/255),M(s/255),a[1]].join(" ")}else i="string"==typeof r?[r,e,s,o,a[2]].join(" "):2===n.precision?[j(r),j(e),j(s),j(o),a[2]].join(" "):[M(r),M(e),M(s),M(o),a[2]].join(" ");return i},rn=v.__private__.getFilters=function(){return a},en=v.__private__.putStream=function(t){var n=(t=t||{}).data||"",i=t.filters||rn(),r=t.alreadyAppliedFilters||[],e=t.addLength1||!1,s=n.length,o=t.objectId,a=function(t){return t};if(null!==h&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==h&&(a=Pn.encryptor(o,0));var u={};!0===i&&(i=["FlateEncode"]);var f=t.additionalKeyValues||[],c=(u=void 0!==It.API.processDataByFilters?It.API.processDataByFilters(n,i):{data:n,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==u.data.length&&(f.push({key:"Length",value:u.data.length}),!0===e&&f.push({key:"Length1",value:s})),0!=c.length)if(c.split("/").length-1==1)f.push({key:"Filter",value:c});else{f.push({key:"Filter",value:"["+c+"]"});for(var l=0;l<f.length;l+=1)if("DecodeParms"===f[l].key){for(var d=[],v=0;v<u.reverseChain.split("/").length-1;v+=1)d.push("null");d.push(f[l].value),f[l].value="["+d.join(" ")+"]"}}Z("<<");for(var m=0;m<f.length;m++)Z("/"+f[m].key+" "+f[m].value);Z(">>"),0!==u.data.length&&(Z("stream"),Z(a(u.data)),Z("endstream"))},sn=v.__private__.putPage=function(t){var n=t.number,i=t.data,r=t.objId,e=t.contentsObjId;Kt(r,!0),Z("<</Type /Page"),Z("/Parent "+t.rootDictionaryObjId+" 0 R"),Z("/Resources "+t.resourceDictionaryObjId+" 0 R"),Z("/MediaBox ["+parseFloat(x(t.mediaBox.bottomLeftX))+" "+parseFloat(x(t.mediaBox.bottomLeftY))+" "+x(t.mediaBox.topRightX)+" "+x(t.mediaBox.topRightY)+"]"),null!==t.cropBox&&Z("/CropBox ["+x(t.cropBox.bottomLeftX)+" "+x(t.cropBox.bottomLeftY)+" "+x(t.cropBox.topRightX)+" "+x(t.cropBox.topRightY)+"]"),null!==t.bleedBox&&Z("/BleedBox ["+x(t.bleedBox.bottomLeftX)+" "+x(t.bleedBox.bottomLeftY)+" "+x(t.bleedBox.topRightX)+" "+x(t.bleedBox.topRightY)+"]"),null!==t.trimBox&&Z("/TrimBox ["+x(t.trimBox.bottomLeftX)+" "+x(t.trimBox.bottomLeftY)+" "+x(t.trimBox.topRightX)+" "+x(t.trimBox.topRightY)+"]"),null!==t.artBox&&Z("/ArtBox ["+x(t.artBox.bottomLeftX)+" "+x(t.artBox.bottomLeftY)+" "+x(t.artBox.topRightX)+" "+x(t.artBox.topRightY)+"]"),"number"==typeof t.userUnit&&1!==t.userUnit&&Z("/UserUnit "+t.userUnit),Dt.publish("putPage",{objId:r,pageContext:Ct[n],pageNumber:n,page:i}),Z("/Contents "+e+" 0 R"),Z(">>"),Z("endobj");var s=i.join("\n");return L===N&&(s+="\nQ"),Kt(e,!0),en({data:s,filters:rn(),objectId:e}),Z("endobj"),r},on=v.__private__.putPages=function(){var t,n,i=[];for(t=1;t<=Tt;t++)Ct[t].objId=Yt(),Ct[t].contentsObjId=Yt();for(t=1;t<=Tt;t++)i.push(sn({number:t,data:$[t],objId:Ct[t].objId,contentsObjId:Ct[t].contentsObjId,mediaBox:Ct[t].mediaBox,cropBox:Ct[t].cropBox,bleedBox:Ct[t].bleedBox,trimBox:Ct[t].trimBox,artBox:Ct[t].artBox,userUnit:Ct[t].userUnit,rootDictionaryObjId:Zt,resourceDictionaryObjId:Qt}));Kt(Zt,!0),Z("<</Type /Pages");var r="/Kids [";for(n=0;n<Tt;n++)r+=i[n]+" 0 R ";Z(r+"]"),Z("/Count "+Tt),Z(">>"),Z("endobj"),Dt.publish("postPutPages")},an=function(t){Dt.publish("putFont",{font:t,out:Z,newObject:$t,putStream:en}),!0!==t.isAlreadyPutted&&(t.objectNumber=$t(),Z("<<"),Z("/Type /Font"),Z("/BaseFont /"+qt(t.postScriptName)),Z("/Subtype /Type1"),"string"==typeof t.encoding&&Z("/Encoding /"+t.encoding),Z("/FirstChar 32"),Z("/LastChar 255"),Z(">>"),Z("endobj"))},un=function(t){t.objectNumber=$t();var n=[];n.push({key:"Type",value:"/XObject"}),n.push({key:"Subtype",value:"/Form"}),n.push({key:"BBox",value:"["+[x(t.x),x(t.y),x(t.x+t.width),x(t.y+t.height)].join(" ")+"]"}),n.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var i=t.pages[1].join("\n");en({data:i,additionalKeyValues:n,objectId:t.objectNumber}),Z("endobj")},fn=function(t,n){n||(n=21);var i=$t(),r=function(t,n){var i,r=[],e=1/(n-1);for(i=0;i<1;i+=e)r.push(i);r.push(1),0!=t[0].offset&&t.unshift({offset:0,color:t[0].color}),1!=t[t.length-1].offset&&t.push({offset:1,color:t[t.length-1].color});for(var s="",o=0,a=0;a<r.length;a++){for(i=r[a];i>t[o+1].offset;)o++;var u=t[o].offset,f=(i-u)/(t[o+1].offset-u),c=t[o].color,h=t[o+1].color;s+=V(Math.round((1-f)*c[0]+f*h[0]).toString(16))+V(Math.round((1-f)*c[1]+f*h[1]).toString(16))+V(Math.round((1-f)*c[2]+f*h[2]).toString(16))}return s.trim()}(t.colors,n),e=[];e.push({key:"FunctionType",value:"0"}),e.push({key:"Domain",value:"[0.0 1.0]"}),e.push({key:"Size",value:"["+n+"]"}),e.push({key:"BitsPerSample",value:"8"}),e.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),e.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),en({data:r,additionalKeyValues:e,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:i}),Z("endobj"),t.objectNumber=$t(),Z("<< /ShadingType "+t.type),Z("/ColorSpace /DeviceRGB");var s="/Coords ["+x(parseFloat(t.coords[0]))+" "+x(parseFloat(t.coords[1]))+" ";s+=2===t.type?x(parseFloat(t.coords[2]))+" "+x(parseFloat(t.coords[3])):x(parseFloat(t.coords[2]))+" "+x(parseFloat(t.coords[3]))+" "+x(parseFloat(t.coords[4]))+" "+x(parseFloat(t.coords[5])),Z(s+="]"),t.matrix&&Z("/Matrix ["+t.matrix.toString()+"]"),Z("/Function "+i+" 0 R"),Z("/Extend [true true]"),Z(">>"),Z("endobj")},cn=function(t,n){var i=Yt(),r=$t();n.push({resourcesOid:i,objectOid:r}),t.objectNumber=r;var e=[];e.push({key:"Type",value:"/Pattern"}),e.push({key:"PatternType",value:"1"}),e.push({key:"PaintType",value:"1"}),e.push({key:"TilingType",value:"1"}),e.push({key:"BBox",value:"["+t.boundingBox.map(x).join(" ")+"]"}),e.push({key:"XStep",value:x(t.xStep)}),e.push({key:"YStep",value:x(t.yStep)}),e.push({key:"Resources",value:i+" 0 R"}),t.matrix&&e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),en({data:t.stream,additionalKeyValues:e,objectId:t.objectNumber}),Z("endobj")},hn=function(t){for(var n in t.objectNumber=$t(),Z("<<"),t)switch(n){case"opacity":Z("/ca "+j(t[n]));break;case"stroke-opacity":Z("/CA "+j(t[n]))}Z(">>"),Z("endobj")},ln=function(t){Kt(t.resourcesOid,!0),Z("<<"),Z("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var t in Z("/Font <<"),yt)yt.hasOwnProperty(t)&&(!1===l||!0===l&&d.hasOwnProperty(t))&&Z("/"+t+" "+yt[t].objectNumber+" 0 R");Z(">>")}(),function(){if(Object.keys(xt).length>0){for(var t in Z("/Shading <<"),xt)xt.hasOwnProperty(t)&&xt[t]instanceof Pt&&xt[t].objectNumber>=0&&Z("/"+t+" "+xt[t].objectNumber+" 0 R");Dt.publish("putShadingPatternDict"),Z(">>")}}(),function(t){if(Object.keys(xt).length>0){for(var n in Z("/Pattern <<"),xt)xt.hasOwnProperty(n)&&xt[n]instanceof v.TilingPattern&&xt[n].objectNumber>=0&&xt[n].objectNumber<t&&Z("/"+n+" "+xt[n].objectNumber+" 0 R");Dt.publish("putTilingPatternDict"),Z(">>")}}(t.objectOid),function(){if(Object.keys(Ft).length>0){var t;for(t in Z("/ExtGState <<"),Ft)Ft.hasOwnProperty(t)&&Ft[t].objectNumber>=0&&Z("/"+t+" "+Ft[t].objectNumber+" 0 R");Dt.publish("putGStateDict"),Z(">>")}}(),function(){for(var t in Z("/XObject <<"),Ut)Ut.hasOwnProperty(t)&&Ut[t].objectNumber>=0&&Z("/"+t+" "+Ut[t].objectNumber+" 0 R");Dt.publish("putXobjectDict"),Z(">>")}(),Z(">>"),Z("endobj")},dn=function(t){At[t.fontName]=At[t.fontName]||{},At[t.fontName][t.fontStyle]=t.id},vn=function(t,n,i,r,e){var s={id:"F"+(Object.keys(yt).length+1).toString(10),postScriptName:t,fontName:n,fontStyle:i,encoding:r,isStandardFont:e||!1,metadata:{}};return Dt.publish("addFont",{font:s,instance:this}),yt[s.id]=s,dn(s),s.id},mn=v.__private__.pdfEscape=v.pdfEscape=function(t,n){return function(t,n){var i,r,e,s,o,a,u,f,c;if(e=(n=n||{}).sourceEncoding||"Unicode",o=n.outputEncoding,(n.autoencode||o)&&yt[pt].metadata&&yt[pt].metadata[e]&&yt[pt].metadata[e].encoding&&(s=yt[pt].metadata[e].encoding,!o&&yt[pt].encoding&&(o=yt[pt].encoding),!o&&s.codePages&&(o=s.codePages[0]),"string"==typeof o&&(o=s[o]),o)){for(u=!1,a=[],i=0,r=t.length;i<r;i++)(f=o[t.charCodeAt(i)])?a.push(String.fromCharCode(f)):a.push(t[i]),a[i].charCodeAt(0)>>8&&(u=!0);t=a.join("")}for(i=t.length;void 0===u&&0!==i;)t.charCodeAt(i-1)>>8&&(u=!0),i--;if(!u)return t;for(a=n.noBOM?[]:[254,255],i=0,r=t.length;i<r;i++){if((c=(f=t.charCodeAt(i))>>8)>>8)throw new Error("Character at position "+i+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");a.push(c),a.push(f-(c<<8))}return String.fromCharCode.apply(void 0,a)}(t,n).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},wn=v.__private__.beginPage=function(t){$[++Tt]=[],Ct[Tt]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},gn(Tt),X($[z])},pn=function(t,n){var i,e,o;switch(r=n||r,"string"==typeof t&&(i=b(t.toLowerCase()),Array.isArray(i)&&(e=i[0],o=i[1])),Array.isArray(t)&&(e=t[0]*bt,o=t[1]*bt),isNaN(e)&&(e=s[0],o=s[1]),(e>14400||o>14400)&&(it.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),e=Math.min(14400,e),o=Math.min(14400,o)),s=[e,o],r.substr(0,1)){case"l":o>e&&(s=[o,e]);break;case"p":e>o&&(s=[o,e])}wn(s),Xn(Yn),Z(si),0!==hi&&Z(hi+" J"),0!==li&&Z(li+" j"),Dt.publish("addPage",{pageNumber:Tt})},bn=function(t){t>0&&t<=Tt&&($.splice(t,1),Ct.splice(t,1),Tt--,z>Tt&&(z=Tt),this.setPage(z))},gn=function(t){t>0&&t<=Tt&&(z=t)},Nn=v.__private__.getNumberOfPages=v.getNumberOfPages=function(){return $.length-1},Ln=function(t,n,i){var r,e=void 0;return i=i||{},n=void 0!==n?n:yt[pt].fontStyle,r=(t=void 0!==t?t:yt[pt].fontName).toLowerCase(),void 0!==At[r]&&void 0!==At[r][n]?e=At[r][n]:void 0!==At[t]&&void 0!==At[t][n]?e=At[t][n]:!1===i.disableWarning&&it.warn("Unable to look up font label for font '"+t+"', '"+n+"'. Refer to getFontList() for available fonts."),e||i.noFallback||null==(e=At.times[n])&&(e=At.times.normal),e},yn=v.__private__.putInfo=function(){var t=$t(),n=function(t){return t};for(var i in null!==h&&(n=Pn.encryptor(t,0)),Z("<<"),Z("/Producer ("+mn(n("jsPDF "+It.version))+")"),wt)wt.hasOwnProperty(i)&&wt[i]&&Z("/"+i.substr(0,1).toUpperCase()+i.substr(1)+" ("+mn(n(wt[i]))+")");Z("/CreationDate ("+mn(n(O))+")"),Z(">>"),Z("endobj")},An=v.__private__.putCatalog=function(t){var n=(t=t||{}).rootDictionaryObjId||Zt;switch($t(),Z("<<"),Z("/Type /Catalog"),Z("/Pages "+n+" 0 R"),st||(st="fullwidth"),st){case"fullwidth":Z("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Z("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Z("/OpenAction [3 0 R /Fit]");break;case"original":Z("/OpenAction [3 0 R /XYZ null null 1]");break;default:var i=""+st;"%"===i.substr(i.length-1)&&(st=parseInt(st)/100),"number"==typeof st&&Z("/OpenAction [3 0 R /XYZ null null "+j(st)+"]")}switch(dt||(dt="continuous"),dt){case"continuous":Z("/PageLayout /OneColumn");break;case"single":Z("/PageLayout /SinglePage");break;case"two":case"twoleft":Z("/PageLayout /TwoColumnLeft");break;case"tworight":Z("/PageLayout /TwoColumnRight")}ht&&Z("/PageMode /"+ht),Dt.publish("putCatalog"),Z(">>"),Z("endobj")},kn=v.__private__.putTrailer=function(){Z("trailer"),Z("<<"),Z("/Size "+(W+1)),Z("/Root "+W+" 0 R"),Z("/Info "+(W-1)+" 0 R"),null!==h&&Z("/Encrypt "+Pn.oid+" 0 R"),Z("/ID [ <"+I+"> <"+I+"> ]"),Z(">>")},xn=v.__private__.putHeader=function(){Z("%PDF-"+m),Z("%ºß¬à")},Sn=v.__private__.putXRef=function(){var t="0000000000";Z("xref"),Z("0 "+(W+1)),Z("0000000000 65535 f ");for(var n=1;n<=W;n++)Z("function"==typeof _[n]?(t+_[n]()).slice(-10)+" 00000 n ":void 0!==_[n]?(t+_[n]).slice(-10)+" 00000 n ":"0000000000 00000 n ")},qn=v.__private__.buildDocument=function(){W=0,G=0,H=[],_=[],J=[],Zt=Yt(),Qt=Yt(),X(H),Dt.publish("buildDocument"),xn(),on(),function(){Dt.publish("putAdditionalObjects");for(var t=0;t<J.length;t++){var n=J[t];Kt(n.objId,!0),Z(n.content),Z("endobj")}Dt.publish("postPutAdditionalObjects")}(),function(){var t=[];(function(){for(var t in yt)yt.hasOwnProperty(t)&&(!1===l||!0===l&&d.hasOwnProperty(t))&&an(yt[t])})(),function(){var t;for(t in Ft)Ft.hasOwnProperty(t)&&hn(Ft[t])}(),function(){for(var t in Ut)Ut.hasOwnProperty(t)&&un(Ut[t])}(),function(t){var n;for(n in xt)xt.hasOwnProperty(n)&&(xt[n]instanceof Pt?fn(xt[n]):xt[n]instanceof Ot&&cn(xt[n],t))}(t),Dt.publish("putResources"),t.forEach(ln),ln({resourcesOid:Qt,objectOid:Number.MAX_SAFE_INTEGER}),Dt.publish("postPutResources")}(),null!==h&&(Pn.oid=$t(),Z("<<"),Z("/Filter /Standard"),Z("/V "+Pn.v),Z("/R "+Pn.r),Z("/U <"+Pn.toHexString(Pn.U)+">"),Z("/O <"+Pn.toHexString(Pn.O)+">"),Z("/P "+Pn.P),Z(">>"),Z("endobj")),yn(),An();var t=G;return Sn(),kn(),Z("startxref"),Z(""+t),Z("%%EOF"),X($[z]),H.join("\n")},jn=v.__private__.getBlob=function(t){return new Blob([nt(t)],{type:"application/pdf"})},Mn=v.output=v.__private__.output=function(t){return t.foo=function(){try{return t.apply(this,arguments)}catch(t){var n=t.stack||"";~n.indexOf(" at ")&&(n=n.split(" at ")[1]);var i="Error in function "+n.split("\n")[0].split("<")[0]+": "+t.message;if(!tt.console)throw new Error(i);tt.console.error(i,t),tt.alert&&alert(i)}},t.foo.bar=t,t.foo}((function(t,n){switch("string"==typeof(n=n||{})?n={filename:n}:n.filename=n.filename||"generated.pdf",t){case void 0:return qn();case"save":v.save(n.filename);break;case"arraybuffer":return nt(qn());case"blob":return jn(qn());case"bloburi":case"bloburl":if(void 0!==tt.URL&&"function"==typeof tt.URL.createObjectURL)return tt.URL&&tt.URL.createObjectURL(jn(qn()))||void 0;it.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var i="",r=qn();try{i=at(r)}catch(t){i=at(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+n.filename+";base64,"+i;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(tt)){var e="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",s=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';n.pdfObjectUrl&&(e=n.pdfObjectUrl,s="");var o='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+e+'"'+s+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(n)+");<\/script></body></html>",a=tt.open();return null!==a&&a.document.write(o),a}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(tt)){var u='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(n.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+n.filename+'" width="500px" height="400px" /></body></html>',f=tt.open();if(null!==f){f.document.write(u);var c=this;f.document.documentElement.querySelector("#pdfViewer").onload=function(){f.document.title=n.filename,f.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(c.output("bloburl"))}}return f}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(tt))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var h='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",n)+'"></iframe></body></html>',l=tt.open();if(null!==l&&(l.document.write(h),l.document.title=n.filename),l||"undefined"==typeof safari)return l;break;case"datauri":case"dataurl":return tt.document.location.href=this.output("datauristring",n);default:return null}})),En=function(t){return!0===Array.isArray(zt)&&zt.indexOf(t)>-1};switch(e){case"pt":bt=1;break;case"mm":bt=72/25.4;break;case"cm":bt=72/2.54;break;case"in":bt=72;break;case"px":bt=1==En("px_scaling")?.75:96/72;break;case"pc":case"em":bt=12;break;case"ex":bt=6;break;default:if("number"!=typeof e)throw new Error("Invalid unit: "+e);bt=e}var Pn=null;C(),R();var On=v.__private__.getPageInfo=v.getPageInfo=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Ct[t].objId,pageNumber:t,pageContext:Ct[t]}},In=v.__private__.getPageInfoByObjId=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var n in Ct)if(Ct[n].objId===t)break;return On(n)},Fn=v.__private__.getCurrentPageInfo=v.getCurrentPageInfo=function(){return{objId:Ct[z].objId,pageNumber:z,pageContext:Ct[z]}};v.addPage=function(){return pn.apply(this,arguments),this},v.setPage=function(){return gn.apply(this,arguments),X.call(this,$[z]),this},v.insertPage=function(t){return this.addPage(),this.movePage(z,t),this},v.movePage=function(t,n){var i,r;if(t>n){i=$[t],r=Ct[t];for(var e=t;e>n;e--)$[e]=$[e-1],Ct[e]=Ct[e-1];$[n]=i,Ct[n]=r,this.setPage(n)}else if(t<n){i=$[t],r=Ct[t];for(var s=t;s<n;s++)$[s]=$[s+1],Ct[s]=Ct[s+1];$[n]=i,Ct[n]=r,this.setPage(n)}return this},v.deletePage=function(){return bn.apply(this,arguments),this},v.__private__.text=v.text=function(n,i,r,e,s){var o,a,u,f,c,h,l,v,m,w=(e=e||{}).scope||this;if("number"==typeof n&&"number"==typeof i&&("string"==typeof r||Array.isArray(r))){var p=r;r=i,i=n,n=p}if(arguments[3]instanceof _t==0?(u=arguments[4],f=arguments[5],"object"===t(l=arguments[3])&&null!==l||("string"==typeof u&&(f=u,u=null),"string"==typeof l&&(f=l,l=null),"number"==typeof l&&(u=l,l=null),e={flags:l,angle:u,align:f})):(S("The transform parameter of text() with a Matrix value"),m=s),isNaN(i)||isNaN(r)||null==n)throw new Error("Invalid arguments passed to jsPDF.text");if(0===n.length)return w;var b,g="",y="number"==typeof e.lineHeightFactor?e.lineHeightFactor:$n,A=w.internal.scaleFactor;function k(t){return t=t.split("\t").join(Array(e.TabLen||9).join(" ")),mn(t,l)}function q(t){for(var n,i=t.concat(),r=[],e=i.length;e--;)"string"==typeof(n=i.shift())?r.push(n):Array.isArray(t)&&(1===n.length||void 0===n[1]&&void 0===n[2])?r.push(n[0]):r.push([n[0],n[1],n[2]]);return r}function j(t,n){var i;if("string"==typeof t)i=n(t)[0];else if(Array.isArray(t)){for(var r,e,s=t.concat(),o=[],a=s.length;a--;)"string"==typeof(r=s.shift())?o.push(n(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(e=n(r[0],r[1],r[2]),o.push([e[0],e[1],e[2]]));i=o}return i}var M=!1,P=!0;if("string"==typeof n)M=!0;else if(Array.isArray(n)){var O=n.concat();a=[];for(var I,F=O.length;F--;)("string"!=typeof(I=O.shift())||Array.isArray(I)&&"string"!=typeof I[0])&&(P=!1);M=P}if(!1===M)throw new Error('Type of text must be string or Array. "'+n+'" is not recognized.');"string"==typeof n&&(n=n.match(/[\r?\n]/)?n.split(/\r\n|\r|\n/g):[n]);var R=et/w.internal.scaleFactor,B=R*(y-1);switch(e.baseline){case"bottom":r-=B;break;case"top":r+=R-B;break;case"hanging":r+=R-2*B;break;case"middle":r+=R/2-B}if((h=e.maxWidth||0)>0&&("string"==typeof n?n=w.splitTextToSize(n,h):"[object Array]"===Object.prototype.toString.call(n)&&(n=n.reduce((function(t,n){return t.concat(w.splitTextToSize(n,h))}),[]))),Dt.publish("preProcessText",o={text:n,x:i,y:r,options:e,mutex:{pdfEscape:mn,activeFontKey:pt,fonts:yt,activeFontSize:et}}),n=o.text,u=(e=o.options).angle,m instanceof _t==0&&u&&"number"==typeof u){u*=Math.PI/180,0===e.rotationDirection&&(u=-u),L===N&&(u=-u);var T=Math.cos(u),C=Math.sin(u);m=new _t(T,C,-C,T,0,0)}else u&&u instanceof _t&&(m=u);L!==N||m||(m=Gt),void 0!==(c=e.charSpace||fi)&&(g+=x(E(c))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(v=e.horizontalScale)&&(g+=x(100*v)+" Tz\n");var D=-1,z=void 0!==e.renderingMode?e.renderingMode:e.stroke,U=w.internal.getCurrentPageInfo().pageContext;switch(z){case 0:case!1:case"fill":D=0;break;case 1:case!0:case"stroke":D=1;break;case 2:case"fillThenStroke":D=2;break;case 3:case"invisible":D=3;break;case 4:case"fillAndAddForClipping":D=4;break;case 5:case"strokeAndAddPathForClipping":D=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":D=6;break;case 7:case"addToPathForClipping":D=7}-1!==D?g+=D+" Tr\n":-1!==(void 0!==U.usedRenderingMode?U.usedRenderingMode:-1)&&(g+="0 Tr\n"),-1!==D&&(U.usedRenderingMode=D),f=e.align||"left";var V,W=et*y,_=w.internal.pageSize.getWidth(),H=yt[pt];c=e.charSpace||fi,h=e.maxWidth||0,l=Object.assign({autoencode:!0,noBOM:!0},e.flags);var G=[],J=function(t){return w.getStringUnitWidth(t,{font:H,charSpace:c,fontSize:et,doKerning:!1})*et/A};if("[object Array]"===Object.prototype.toString.call(n)){var $;a=q(n),"left"!==f&&(V=a.map(J));var Y,K=0;if("right"===f){i-=V[0],n=[],F=a.length;for(var X=0;X<F;X++)0===X?(Y=ni(i),$=ii(r)):(Y=E(K-V[X]),$=-W),n.push([a[X],Y,$]),K=V[X]}else if("center"===f){i-=V[0]/2,n=[],F=a.length;for(var Q=0;Q<F;Q++)0===Q?(Y=ni(i),$=ii(r)):(Y=E((K-V[Q])/2),$=-W),n.push([a[Q],Y,$]),K=V[Q]}else if("left"===f){n=[],F=a.length;for(var tt=0;tt<F;tt++)n.push(a[tt])}else if("justify"===f&&"Identity-H"===H.encoding){n=[],F=a.length,h=0!==h?h:_;for(var nt=0,it=0;it<F;it++)if($=0===it?ii(r):-W,Y=0===it?ni(i):nt,it<F-1){var rt=E((h-V[it])/(a[it].split(" ").length-1)),st=a[it].split(" ");n.push([st[0]+" ",Y,$]),nt=0;for(var ot=1;ot<st.length;ot++){var at=(J(st[ot-1]+" "+st[ot])-J(st[ot]))*A+rt;n.push(ot==st.length-1?[st[ot],at,0]:[st[ot]+" ",at,0]),nt-=at}}else n.push([a[it],Y,$]);n.push(["",nt,0])}else{if("justify"!==f)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(n=[],F=a.length,h=0!==h?h:_,it=0;it<F;it++)$=0===it?ii(r):-W,Y=0===it?ni(i):0,G.push(it<F-1?x(E((h-V[it])/(a[it].split(" ").length-1))):0),n.push([a[it],Y,$])}}!0===("boolean"==typeof e.R2L?e.R2L:ct)&&(n=j(n,(function(t,n,i){return[t.split("").reverse().join(""),n,i]}))),Dt.publish("postProcessText",o={text:n,x:i,y:r,options:e,mutex:{pdfEscape:mn,activeFontKey:pt,fonts:yt,activeFontSize:et}}),n=o.text,b=o.mutex.isHex||!1;var ut=yt[pt].encoding;"WinAnsiEncoding"!==ut&&"StandardEncoding"!==ut||(n=j(n,(function(t,n,i){return[k(t),n,i]}))),a=q(n),n=[];for(var ft,ht,lt,dt=Array.isArray(a[0])?1:0,vt="",mt=function(t,n,i){var r="";return i instanceof _t?(i="number"==typeof e.angle?Ht(i,new _t(1,0,0,1,t,n)):Ht(new _t(1,0,0,1,t,n),i),L===N&&(i=Ht(new _t(1,0,0,-1,0,0),i)),r=i.join(" ")+" Tm\n"):r=x(t)+" "+x(n)+" Td\n",r},wt=0;wt<a.length;wt++){switch(vt="",dt){case 1:lt=(b?"<":"(")+a[wt][0]+(b?">":")"),ft=parseFloat(a[wt][1]),ht=parseFloat(a[wt][2]);break;case 0:lt=(b?"<":"(")+a[wt]+(b?">":")"),ft=ni(i),ht=ii(r)}void 0!==G&&void 0!==G[wt]&&(vt=G[wt]+" Tw\n"),0===wt?n.push(vt+mt(ft,ht,m)+lt):0===dt?n.push(vt+lt):1===dt&&n.push(vt+mt(ft,ht,m)+lt)}n=n.join(0===dt?" Tj\nT* ":" Tj\n"),n+=" Tj\n";var bt="BT\n/";return bt+=pt+" "+et+" Tf\n",bt+=x(et*y)+" TL\n",bt+=ai+"\n",bt+=g,bt+=n,Z(bt+="ET"),d[pt]=!0,w};var Rn=v.__private__.clip=v.clip=function(t){return Z("evenodd"===t?"W*":"W"),this};v.clipEvenOdd=function(){return Rn("evenodd")},v.__private__.discardPath=v.discardPath=function(){return Z("n"),this};var Bn=v.__private__.isValidStyle=function(t){var n=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(t)&&(n=!0),n};v.__private__.setDefaultPathOperation=v.setDefaultPathOperation=function(t){return Bn(t)&&(c=t),this};var Tn=v.__private__.getStyle=v.getStyle=function(t){var n=c;switch(t){case"D":case"S":n="S";break;case"F":n="f";break;case"FD":case"DF":n="B";break;case"f":case"f*":case"B":case"B*":n=t}return n},Cn=v.close=function(){return Z("h"),this};v.stroke=function(){return Z("S"),this},v.fill=function(t){return Dn("f",t),this},v.fillEvenOdd=function(t){return Dn("f*",t),this},v.fillStroke=function(t){return Dn("B",t),this},v.fillStrokeEvenOdd=function(t){return Dn("B*",t),this};var Dn=function(n,i){"object"===t(i)?Vn(i,n):Z(n)},zn=function(t){null===t||L===N&&void 0===t||(t=Tn(t),Z(t))};function Un(t,n,i,r,e){var s=new Ot(n||this.boundingBox,i||this.xStep,r||this.yStep,this.gState,e||this.matrix);s.stream=this.stream;var o=t+"$$"+this.cloneIndex+++"$$";return Jt(o,s),s}var Vn=function(t,n){var i=Et[t.key],r=xt[i];if(r instanceof Pt)Z("q"),Z(Wn(n)),r.gState&&v.setGState(r.gState),Z(t.matrix.toString()+" cm"),Z("/"+i+" sh"),Z("Q");else if(r instanceof Ot){var e=new _t(1,0,0,-1,0,Li());t.matrix&&(e=e.multiply(t.matrix||Gt),i=Un.call(r,t.key,t.boundingBox,t.xStep,t.yStep,e).id),Z("q"),Z("/Pattern cs"),Z("/"+i+" scn"),r.gState&&v.setGState(r.gState),Z(n),Z("Q")}},Wn=function(t){switch(t){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},_n=v.moveTo=function(t,n){return Z(x(E(t))+" "+x(P(n))+" m"),this},Hn=v.lineTo=function(t,n){return Z(x(E(t))+" "+x(P(n))+" l"),this},Gn=v.curveTo=function(t,n,i,r,e,s){return Z([x(E(t)),x(P(n)),x(E(i)),x(P(r)),x(E(e)),x(P(s)),"c"].join(" ")),this};v.__private__.line=v.line=function(t,n,i,r,e){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r)||!Bn(e))throw new Error("Invalid arguments passed to jsPDF.line");return L===g?this.lines([[i-t,r-n]],t,n,[1,1],e||"S"):this.lines([[i-t,r-n]],t,n,[1,1]).stroke()},v.__private__.lines=v.lines=function(t,n,i,r,e,s){var o,a,u,f,c,h,l,d;if("number"==typeof t&&(d=i,i=n,n=t,t=d),r=r||[1,1],s=s||!1,isNaN(n)||isNaN(i)||!Array.isArray(t)||!Array.isArray(r)||!Bn(e)||"boolean"!=typeof s)throw new Error("Invalid arguments passed to jsPDF.lines");for(_n(n,i),o=r[0],a=r[1],f=t.length,h=n,l=i,u=0;u<f;u++)2===(c=t[u]).length?Hn(h=c[0]*o+h,l=c[1]*a+l):Gn(c[0]*o+h,c[1]*a+l,c[2]*o+h,c[3]*a+l,h=c[4]*o+h,l=c[5]*a+l);return s&&Cn(),zn(e),this},v.path=function(t){for(var n=0;n<t.length;n++){var i=t[n],r=i.c;switch(i.op){case"m":_n(r[0],r[1]);break;case"l":Hn(r[0],r[1]);break;case"c":Gn.apply(this,r);break;case"h":Cn()}}return this},v.__private__.rect=v.rect=function(t,n,i,r,e){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r)||!Bn(e))throw new Error("Invalid arguments passed to jsPDF.rect");return L===g&&(r=-r),Z([x(E(t)),x(P(n)),x(E(i)),x(E(r)),"re"].join(" ")),zn(e),this},v.__private__.triangle=v.triangle=function(t,n,i,r,e,s,o){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r)||isNaN(e)||isNaN(s)||!Bn(o))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[i-t,r-n],[e-i,s-r],[t-e,n-s]],t,n,[1,1],o,!0),this},v.__private__.roundedRect=v.roundedRect=function(t,n,i,r,e,s,o){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r)||isNaN(e)||isNaN(s)||!Bn(o))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var a=4/3*(Math.SQRT2-1);return e=Math.min(e,.5*i),s=Math.min(s,.5*r),this.lines([[i-2*e,0],[e*a,0,e,s-s*a,e,s],[0,r-2*s],[0,s*a,-e*a,s,-e,s],[2*e-i,0],[-e*a,0,-e,-s*a,-e,-s],[0,2*s-r],[0,-s*a,e*a,-s,e,-s]],t+e,n,[1,1],o,!0),this},v.__private__.ellipse=v.ellipse=function(t,n,i,r,e){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r)||!Bn(e))throw new Error("Invalid arguments passed to jsPDF.ellipse");var s=4/3*(Math.SQRT2-1)*i,o=4/3*(Math.SQRT2-1)*r;return _n(t+i,n),Gn(t+i,n-o,t+s,n-r,t,n-r),Gn(t-s,n-r,t-i,n-o,t-i,n),Gn(t-i,n+o,t-s,n+r,t,n+r),Gn(t+s,n+r,t+i,n+o,t+i,n),zn(e),this},v.__private__.circle=v.circle=function(t,n,i,r){if(isNaN(t)||isNaN(n)||isNaN(i)||!Bn(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(t,n,i,i,r)},v.setFont=function(t,n,i){return i&&(n=k(n,i)),pt=Ln(t,n,{disableWarning:!1}),this};var Jn=v.__private__.getFont=v.getFont=function(){return yt[Ln.apply(v,arguments)]};v.__private__.getFontList=v.getFontList=function(){var t,n,i={};for(t in At)if(At.hasOwnProperty(t))for(n in i[t]=[],At[t])At[t].hasOwnProperty(n)&&i[t].push(n);return i},v.addFont=function(t,n,i,r,e){var s=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==s.indexOf(arguments[3])?e=arguments[3]:arguments[3]&&-1==s.indexOf(arguments[3])&&(i=k(i,r)),vn.call(this,t,n,i,e=e||"Identity-H")};var $n,Yn=n.lineWidth||.200025,Kn=v.__private__.getLineWidth=v.getLineWidth=function(){return Yn},Xn=v.__private__.setLineWidth=v.setLineWidth=function(t){return Yn=t,Z(x(E(t))+" w"),this};v.__private__.setLineDash=It.API.setLineDash=It.API.setLineDashPattern=function(t,n){if(t=t||[],n=n||0,isNaN(n)||!Array.isArray(t))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return t=t.map((function(t){return x(E(t))})).join(" "),n=x(E(n)),Z("["+t+"] "+n+" d"),this};var Zn=v.__private__.getLineHeight=v.getLineHeight=function(){return et*$n};v.__private__.getLineHeight=v.getLineHeight=function(){return et*$n};var Qn=v.__private__.setLineHeightFactor=v.setLineHeightFactor=function(t){return"number"==typeof(t=t||1.15)&&($n=t),this},ti=v.__private__.getLineHeightFactor=v.getLineHeightFactor=function(){return $n};Qn(n.lineHeight);var ni=v.__private__.getHorizontalCoordinate=function(t){return E(t)},ii=v.__private__.getVerticalCoordinate=function(t){return L===N?t:Ct[z].mediaBox.topRightY-Ct[z].mediaBox.bottomLeftY-E(t)},ri=v.__private__.getHorizontalCoordinateString=v.getHorizontalCoordinateString=function(t){return x(ni(t))},ei=v.__private__.getVerticalCoordinateString=v.getVerticalCoordinateString=function(t){return x(ii(t))},si=n.strokeColor||"0 G";v.__private__.getStrokeColor=v.getDrawColor=function(){return tn(si)},v.__private__.setStrokeColor=v.setDrawColor=function(t,n,i,r){return si=nn({ch1:t,ch2:n,ch3:i,ch4:r,pdfColorType:"draw",precision:2}),Z(si),this};var oi=n.fillColor||"0 g";v.__private__.getFillColor=v.getFillColor=function(){return tn(oi)},v.__private__.setFillColor=v.setFillColor=function(t,n,i,r){return oi=nn({ch1:t,ch2:n,ch3:i,ch4:r,pdfColorType:"fill",precision:2}),Z(oi),this};var ai=n.textColor||"0 g",ui=v.__private__.getTextColor=v.getTextColor=function(){return tn(ai)};v.__private__.setTextColor=v.setTextColor=function(t,n,i,r){return ai=nn({ch1:t,ch2:n,ch3:i,ch4:r,pdfColorType:"text",precision:3}),this};var fi=n.charSpace,ci=v.__private__.getCharSpace=v.getCharSpace=function(){return parseFloat(fi||0)};v.__private__.setCharSpace=v.setCharSpace=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return fi=t,this};var hi=0;v.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},v.__private__.setLineCap=v.setLineCap=function(t){var n=v.CapJoinStyles[t];if(void 0===n)throw new Error("Line cap style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return hi=n,Z(n+" J"),this};var li=0;v.__private__.setLineJoin=v.setLineJoin=function(t){var n=v.CapJoinStyles[t];if(void 0===n)throw new Error("Line join style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return li=n,Z(n+" j"),this},v.__private__.setLineMiterLimit=v.__private__.setMiterLimit=v.setLineMiterLimit=v.setMiterLimit=function(t){if(t=t||0,isNaN(t))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Z(x(E(t))+" M"),this},v.GState=Mt,v.setGState=function(t){(t="string"==typeof t?Ft[Rt[t]]:di(null,t)).equals(Bt)||(Z("/"+t.id+" gs"),Bt=t)};var di=function(t,n){if(!t||!Rt[t]){var i=!1;for(var r in Ft)if(Ft.hasOwnProperty(r)&&Ft[r].equals(n)){i=!0;break}if(i)n=Ft[r];else{var e="GS"+(Object.keys(Ft).length+1).toString(10);Ft[e]=n,n.id=e}return t&&(Rt[t]=n.id),Dt.publish("addGState",n),n}};v.addGState=function(t,n){return di(t,n),this},v.saveGraphicsState=function(){return Z("q"),kt.push({key:pt,size:et,color:ai}),this},v.restoreGraphicsState=function(){Z("Q");var t=kt.pop();return pt=t.key,et=t.size,ai=t.color,Bt=null,this},v.setCurrentTransformationMatrix=function(t){return Z(t.toString()+" cm"),this},v.comment=function(t){return Z("#"+t),this};var vi=function(t,n){var i=t||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return i},set:function(t){isNaN(t)||(i=parseFloat(t))}});var r=n||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(t){isNaN(t)||(r=parseFloat(t))}});var e="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return e},set:function(t){e=t.toString()}}),this},mi=function(t,n,i,r){vi.call(this,t,n),this.type="rect";var e=i||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return e},set:function(t){isNaN(t)||(e=parseFloat(t))}});var s=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return s},set:function(t){isNaN(t)||(s=parseFloat(t))}}),this},wi=function(){this.page=Tt,this.currentPage=z,this.pages=$.slice(0),this.pagesContext=Ct.slice(0),this.x=gt,this.y=Nt,this.matrix=Lt,this.width=gi(z),this.height=Li(z),this.outputDestination=K,this.id="",this.objectNumber=-1};wi.prototype.restore=function(){Tt=this.page,Ct=this.pagesContext,$=this.pages,gt=this.x,Nt=this.y,Lt=this.matrix,Ni(z=this.currentPage,this.width),yi(z,this.height),K=this.outputDestination};var pi=function(t,n,i,r,e){Wt.push(new wi),Tt=z=0,$=[],gt=t,Nt=n,Lt=e,wn([i,r])};for(var bi in v.beginFormObject=function(t,n,i,r,e){return pi(t,n,i,r,e),this},v.endFormObject=function(t){return function(t){if(Vt[t])Wt.pop().restore();else{var n=new wi,i="Xo"+(Object.keys(Ut).length+1).toString(10);n.id=i,Vt[t]=i,Ut[i]=n,Dt.publish("addFormObject",n),Wt.pop().restore()}}(t),this},v.doFormObject=function(t,n){var i=Ut[Vt[t]];return Z("q"),Z(n.toString()+" cm"),Z("/"+i.id+" Do"),Z("Q"),this},v.getFormObject=function(t){var n=Ut[Vt[t]];return{x:n.x,y:n.y,width:n.width,height:n.height,matrix:n.matrix}},v.save=function(t,n){return t=t||"generated.pdf",(n=n||{}).returnPromise=n.returnPromise||!1,!1===n.returnPromise?(ut(jn(qn()),t),"function"==typeof ut.unload&&tt.setTimeout&&setTimeout(ut.unload,911),this):new Promise((function(n,i){try{var r=ut(jn(qn()),t);"function"==typeof ut.unload&&tt.setTimeout&&setTimeout(ut.unload,911),n(r)}catch(t){i(t.message)}}))},It.API)It.API.hasOwnProperty(bi)&&("events"===bi&&It.API.events.length?function(t,n){var i,r;for(r=n.length-1;-1!==r;r--)t.subscribe.apply(t,[n[r][0]].concat("function"==typeof(i=n[r][1])?[i]:i))}(Dt,It.API.events):v[bi]=It.API[bi]);var gi=v.getPageWidth=function(t){return(Ct[t=t||z].mediaBox.topRightX-Ct[t].mediaBox.bottomLeftX)/bt},Ni=v.setPageWidth=function(t,n){Ct[t].mediaBox.topRightX=n*bt+Ct[t].mediaBox.bottomLeftX},Li=v.getPageHeight=function(t){return(Ct[t=t||z].mediaBox.topRightY-Ct[t].mediaBox.bottomLeftY)/bt},yi=v.setPageHeight=function(t,n){Ct[t].mediaBox.topRightY=n*bt+Ct[t].mediaBox.bottomLeftY};return v.internal={pdfEscape:mn,getStyle:Tn,getFont:Jn,getFontSize:ot,getCharSpace:ci,getTextColor:ui,getLineHeight:Zn,getLineHeightFactor:ti,getLineWidth:Kn,write:Q,getHorizontalCoordinate:ni,getVerticalCoordinate:ii,getCoordinateString:ri,getVerticalCoordinateString:ei,collections:{},newObject:$t,newAdditionalObject:Xt,newObjectDeferred:Yt,newObjectDeferredBegin:Kt,getFilters:rn,putStream:en,events:Dt,scaleFactor:bt,pageSize:{getWidth:function(){return gi(z)},setWidth:function(t){Ni(z,t)},getHeight:function(){return Li(z)},setHeight:function(t){yi(z,t)}},encryptionOptions:h,encryption:Pn,getEncryptor:function(t){return null!==h?Pn.encryptor(t,0):function(t){return t}},output:Mn,getNumberOfPages:Nn,pages:$,out:Z,f2:j,f3:M,getPageInfo:On,getPageInfoByObjId:In,getCurrentPageInfo:Fn,getPDFVersion:w,Point:vi,Rectangle:mi,Matrix:_t,hasHotfix:En},Object.defineProperty(v.internal.pageSize,"width",{get:function(){return gi(z)},set:function(t){Ni(z,t)},enumerable:!0,configurable:!0}),Object.defineProperty(v.internal.pageSize,"height",{get:function(){return Li(z)},set:function(t){yi(z,t)},enumerable:!0,configurable:!0}),function(t){for(var n=0,i=rt.length;n<i;n++){var r=vn.call(this,t[n][0],t[n][1],t[n][2],rt[n][3],!0);!1===l&&(d[r]=!0);var e=t[n][0].split("-");dn({id:r,fontName:e[0],fontStyle:e[1]||""})}Dt.publish("addFonts",{fonts:yt,dictionary:At})}.call(v,rt),pt="F1",pn(s,r),Dt.publish("initialized"),v}St.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},St.prototype.toHexString=function(t){return t.split("").map((function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)})).join("")},St.prototype.hexToBytes=function(t){for(var n=[],i=0;i<t.length;i+=2)n.push(String.fromCharCode(parseInt(t.substr(i,2),16)));return n.join("")},St.prototype.processOwnerPassword=function(t,n){return kt(Lt(n).substr(0,5),t)},St.prototype.encryptor=function(t,n){var i=Lt(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&n,n>>8&255)).substr(0,10);return function(t){return kt(i,t)}},Mt.prototype.equals=function(n){var i,r="id,objectNumber,equals";if(!n||t(n)!==t(this))return!1;var e=0;for(i in this)if(!(r.indexOf(i)>=0)){if(this.hasOwnProperty(i)&&!n.hasOwnProperty(i))return!1;if(this[i]!==n[i])return!1;e++}for(i in n)n.hasOwnProperty(i)&&r.indexOf(i)<0&&e--;return 0===e},It.API={events:[]},It.version="2.5.2";var Ft=It.API,Rt=1,Bt=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Tt=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ct=function(t){return t.toFixed(2)},Dt=function(t){return t.toFixed(5)};Ft.__acroform__={};var zt=function(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t},Ut=function(t){return t*Rt},Vt=function(t){var n=new on,i=Nn.internal.getHeight(t)||0,r=Nn.internal.getWidth(t)||0;return n.BBox=[0,0,Number(Ct(r)),Number(Ct(i))],n},Wt=Ft.__acroform__.setBit=function(t,n){if(t=t||0,n=n||0,isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<n},_t=Ft.__acroform__.clearBit=function(t,n){if(t=t||0,n=n||0,isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<n)},Ht=Ft.__acroform__.getBit=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<n?1:0},Gt=Ft.__acroform__.getBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Ht(t,n-1)},Jt=Ft.__acroform__.setBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Wt(t,n-1)},$t=Ft.__acroform__.clearBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return _t(t,n-1)},Yt=Ft.__acroform__.calculateCoordinates=function(t,n){var i=n.internal.getHorizontalCoordinate,r=n.internal.getVerticalCoordinate,e=t[0],s=t[1],o=t[2],a=t[3],u={};return u.lowerLeft_X=i(e)||0,u.lowerLeft_Y=r(s+a)||0,u.upperRight_X=i(e+o)||0,u.upperRight_Y=r(s)||0,[Number(Ct(u.lowerLeft_X)),Number(Ct(u.lowerLeft_Y)),Number(Ct(u.upperRight_X)),Number(Ct(u.upperRight_Y))]},Kt=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var n=[],i=Xt(t,t._V||t.DV),r=t.scope.internal.getFont(t.fontName,t.fontStyle).id;n.push("/Tx BMC"),n.push("q"),n.push("BT"),n.push(t.scope.__private__.encodeColorString(t.color)),n.push("/"+r+" "+Ct(i.fontSize)+" Tf"),n.push("1 0 0 1 0 0 Tm"),n.push(i.text),n.push("ET"),n.push("Q"),n.push("EMC");var e=Vt(t);return e.scope=t.scope,e.stream=n.join("\n"),e}},Xt=function(t,n){var i=0===t.fontSize?t.maxFontSize:t.fontSize,r={text:"",fontSize:""},e=(n=")"==(n="("==n.substr(0,1)?n.substr(1):n).substr(n.length-1)?n.substr(0,n.length-1):n).split(" ");e=e.map(t.multiline?function(t){return t.split("\n")}:function(t){return[t]});var s=i,o=Nn.internal.getHeight(t)||0;o=o<0?-o:o;var a=Nn.internal.getWidth(t)||0;a=a<0?-a:a;var u=function(n,i,r){return n+1<e.length&&Zt(i+" "+e[n+1][0],t,r).width<=a-4};s++;t:for(;s>0;){n="",s--;var f,c,h=Zt("3",t,s).height,l=t.multiline?o-s:(o-h)/2,d=l+=2,v=0,m=0,w=0;if(s<=0){n="(...) Tj\n",n+="% Width of Text: "+Zt(n,t,s=12).width+", FieldWidth:"+a+"\n";break}for(var p="",b=0,g=0;g<e.length;g++)if(e.hasOwnProperty(g)){var N=!1;if(1!==e[g].length&&w!==e[g].length-1){if((h+2)*(b+2)+2>o)continue t;p+=e[g][w],N=!0,m=g,g--}else{p=" "==(p+=e[g][w]+" ").substr(p.length-1)?p.substr(0,p.length-1):p;var L=parseInt(g),y=u(L,p,s),A=g>=e.length-1;if(y&&!A){p+=" ",w=0;continue}if(y||A){if(A)m=L;else if(t.multiline&&(h+2)*(b+2)+2>o)continue t}else{if(!t.multiline)continue t;if((h+2)*(b+2)+2>o)continue t;m=L}}for(var k="",x=v;x<=m;x++){var S=e[x];if(t.multiline){if(x===m){k+=S[w]+" ",w=(w+1)%S.length;continue}if(x===v){k+=S[S.length-1]+" ";continue}}k+=S[0]+" "}switch(k=" "==k.substr(k.length-1)?k.substr(0,k.length-1):k,c=Zt(k,t,s).width,t.textAlign){case"right":f=a-c-2;break;case"center":f=(a-c)/2;break;default:f=2}n+=Ct(f)+" "+Ct(d)+" Td\n",n+="("+Bt(k)+") Tj\n",n+=-Ct(f)+" 0 Td\n",d=-(s+2),c=0,v=N?m:m+1,b++,p=""}break}return r.text=n,r.fontSize=s,r},Zt=function(t,n,i){var r=n.scope.internal.getFont(n.fontName,n.fontStyle),e=n.scope.getStringUnitWidth(t,{font:r,fontSize:parseFloat(i),charSpace:0})*parseFloat(i);return{height:n.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(i),charSpace:0})*parseFloat(i)*1.5,width:e}},Qt={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},tn=function(t,n){var i={type:"reference",object:t};void 0===n.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===i.type&&t.object===i.object}))&&n.internal.getPageInfo(t.page).pageContext.annotations.push(i)},nn=function(n,i){if(i.scope=n,void 0!==n.internal&&(void 0===n.internal.acroformPlugin||!1===n.internal.acroformPlugin.isInitialized)){if(un.FieldNum=0,n.internal.acroformPlugin=JSON.parse(JSON.stringify(Qt)),n.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Rt=n.internal.scaleFactor,n.internal.acroformPlugin.acroFormDictionaryRoot=new an,n.internal.acroformPlugin.acroFormDictionaryRoot.scope=n,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe("postPutResources",(function(){!function(t){t.internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0}(n)})),n.internal.events.subscribe("buildDocument",(function(){!function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var n=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in n)if(n.hasOwnProperty(i)){var r=n[i];r.objId=void 0,r.hasAnnotation&&tn(r,t)}}(n)})),n.internal.events.subscribe("putCatalog",(function(){!function(t){if(void 0===t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(n)})),n.internal.events.subscribe("postPutPages",(function(i){!function(n,i){var r=!n;for(var e in n||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),n=n||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(n.hasOwnProperty(e)){var s=n[e],o=[],a=s.Rect;if(s.Rect&&(s.Rect=Yt(s.Rect,i)),i.internal.newObjectDeferredBegin(s.objId,!0),s.DA=Nn.createDefaultAppearanceStream(s),"object"===t(s)&&"function"==typeof s.getKeyValueListForStream&&(o=s.getKeyValueListForStream()),s.Rect=a,s.hasAppearanceStream&&!s.appearanceStreamContent){var u=Kt(s);o.push({key:"AP",value:"<</N "+u+">>"}),i.internal.acroformPlugin.xForms.push(u)}if(s.appearanceStreamContent){var f="";for(var c in s.appearanceStreamContent)if(s.appearanceStreamContent.hasOwnProperty(c)){var h=s.appearanceStreamContent[c];if(f+="/"+c+" ",f+="<<",Object.keys(h).length>=1||Array.isArray(h)){for(var e in h)if(h.hasOwnProperty(e)){var l=h[e];"function"==typeof l&&(l=l.call(i,s)),f+="/"+e+" "+l+" ",i.internal.acroformPlugin.xForms.indexOf(l)>=0||i.internal.acroformPlugin.xForms.push(l)}}else"function"==typeof(l=h)&&(l=l.call(i,s)),f+="/"+e+" "+l,i.internal.acroformPlugin.xForms.indexOf(l)>=0||i.internal.acroformPlugin.xForms.push(l);f+=">>"}o.push({key:"AP",value:"<<\n"+f+">>"})}i.internal.putStream({additionalKeyValues:o,objectId:s.objId}),i.internal.out("endobj")}r&&function(n,i){for(var r in n)if(n.hasOwnProperty(r)){var e=r,s=n[r];i.internal.newObjectDeferredBegin(s.objId,!0),"object"===t(s)&&"function"==typeof s.putStream&&s.putStream(),delete n[e]}}(i.internal.acroformPlugin.xForms,i)}(i,n)})),n.internal.acroformPlugin.isInitialized=!0}},rn=Ft.__acroform__.arrayToPdfArray=function(n,i,r){var e=function(t){return t};if(Array.isArray(n)){for(var s="[",o=0;o<n.length;o++)switch(0!==o&&(s+=" "),t(n[o])){case"boolean":case"number":case"object":s+=n[o].toString();break;case"string":"/"!==n[o].substr(0,1)?(void 0!==i&&r&&(e=r.internal.getEncryptor(i)),s+="("+Bt(e(n[o].toString()))+")"):s+=n[o].toString()}return s+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},en=function(t,n,i){var r=function(t){return t};return void 0!==n&&i&&(r=i.internal.getEncryptor(n)),(t=t||"").toString(),"("+Bt(r(t))+")"},sn=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};sn.prototype.toString=function(){return this.objId+" 0 R"},sn.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},sn.prototype.getKeyValueListForStream=function(){var t=[],n=Object.getOwnPropertyNames(this).filter((function(t){return"content"!=t&&"appearanceStreamContent"!=t&&"scope"!=t&&"objId"!=t&&"_"!=t.substring(0,1)}));for(var i in n)if(!1===Object.getOwnPropertyDescriptor(this,n[i]).configurable){var r=n[i],e=this[r];e&&(Array.isArray(e)?t.push({key:r,value:rn(e,this.objId,this.scope)}):e instanceof sn?(e.scope=this.scope,t.push({key:r,value:e.objId+" 0 R"})):"function"!=typeof e&&t.push({key:r,value:e}))}return t};var on=function(){sn.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,n=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(n){t=n.trim()},get:function(){return t||null}})};zt(on,sn);var an=function(){sn.call(this);var t,n=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return n.length>0?n:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return n}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var n=function(t){return t};return this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),"("+Bt(n(t))+")"}},set:function(n){t=n}})};zt(an,sn);var un=function t(){sn.call(this);var n=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return n},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute F supplied.');n=t}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(n,3))},set:function(t){this.F=!0===Boolean(t)?Jt(n,3):$t(n,3)}});var i=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return i},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute Ff supplied.');i=t}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(t){r=void 0!==t?t:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(t){r[0]=t}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(t){r[1]=t}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(t){r[2]=t}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(t){r[3]=t}});var e="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){switch(t){case"/Btn":case"/Tx":case"/Ch":case"/Sig":e=t;break;default:throw new Error('Invalid value "'+t+'" for attribute FT supplied.')}}});var s=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!s||s.length<1){if(this instanceof wn)return;s="FieldObject"+t.FieldNum++}var n=function(t){return t};return this.scope&&(n=this.scope.internal.getEncryptor(this.objId)),"("+Bt(n(s))+")"},set:function(t){s=t.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return s},set:function(t){s=t}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(t){o=t}});var a="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return a},set:function(t){a=t}});var u=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return u},set:function(t){u=t}});var f=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===f?50/Rt:f},set:function(t){f=t}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(t){c=t}});var h="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!h||this instanceof wn||this instanceof bn))return en(h,this.objId,this.scope)},set:function(t){t=t.toString(),h=t}});var l=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(l)return this instanceof dn==0?en(l,this.objId,this.scope):l},set:function(t){t=t.toString(),l=this instanceof dn==0?"("===t.substr(0,1)?Tt(t.substr(1,t.length-2)):Tt(t):t}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof dn==1?Tt(l.substr(1,l.length-1)):l},set:function(t){t=t.toString(),l=this instanceof dn==1?"/"+t:t}});var d=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(d)return d},set:function(t){this.V=t}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(d)return this instanceof dn==0?en(d,this.objId,this.scope):d},set:function(t){t=t.toString(),d=this instanceof dn==0?"("===t.substr(0,1)?Tt(t.substr(1,t.length-2)):Tt(t):t}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof dn==1?Tt(d.substr(1,d.length-1)):d},set:function(t){t=t.toString(),d=this instanceof dn==1?"/"+t:t}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var v,m=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return m},set:function(t){t=Boolean(t),m=t}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(v)return v},set:function(t){v=t}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,1))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,1):$t(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,2))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,2):$t(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,3))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,3):$t(this.Ff,3)}});var w=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==w)return w},set:function(t){if(-1===[0,1,2].indexOf(t))throw new Error('Invalid value "'+t+'" for attribute Q supplied.');w=t}}),Object.defineProperty(this,"textAlign",{get:function(){var t;switch(w){case 0:default:t="left";break;case 1:t="center";break;case 2:t="right"}return t},configurable:!0,enumerable:!0,set:function(t){switch(t){case"right":case 2:w=2;break;case"center":case 1:w=1;break;default:w=0}}})};zt(un,sn);var fn=function(){un.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(n){t=n}});var n=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return rn(n,this.objId,this.scope)},set:function(t){var i,r;r=[],"string"==typeof(i=t)&&(r=function(t,n,i){i||(i=1);for(var r,e=[];r=n.exec(t);)e.push(r[i]);return e}(i,/\((.*?)\)/g)),n=r}}),this.getOptions=function(){return n},this.setOptions=function(t){n=t,this.sort&&n.sort()},this.addOption=function(t){t=(t=t||"").toString(),n.push(t),this.sort&&n.sort()},this.removeOption=function(t,i){for(i=i||!1,t=(t=t||"").toString();-1!==n.indexOf(t)&&(n.splice(n.indexOf(t),1),!1!==i););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,18))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,18):$t(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,19))},set:function(t){!0===this.combo&&(this.Ff=!0===Boolean(t)?Jt(this.Ff,19):$t(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,20))},set:function(t){!0===Boolean(t)?(this.Ff=Jt(this.Ff,20),n.sort()):this.Ff=$t(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,22))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,22):$t(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,23))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,23):$t(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,27))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,27):$t(this.Ff,27)}}),this.hasAppearanceStream=!1};zt(fn,un);var cn=function(){fn.call(this),this.fontName="helvetica",this.combo=!1};zt(cn,fn);var hn=function(){cn.call(this),this.combo=!0};zt(hn,cn);var ln=function(){hn.call(this),this.edit=!0};zt(ln,hn);var dn=function(){un.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,15))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,15):$t(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,16))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,16):$t(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,17))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,17):$t(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,26))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,26):$t(this.Ff,26)}});var n,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(i).length){var n,r=[];for(n in r.push("<<"),i)r.push("/"+n+" ("+Bt(t(i[n]))+")");return r.push(">>"),r.join("\n")}},set:function(n){"object"===t(n)&&(i=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(t){"string"==typeof t&&(i.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(t){n="/"+t}})};zt(dn,un);var vn=function(){dn.call(this),this.pushButton=!0};zt(vn,dn);var mn=function(){dn.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(n){t=void 0!==n?n:[]}})};zt(mn,dn);var wn=function(){var n,i;un.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return i},set:function(t){i=t}});var r,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};this.scope&&(t=this.scope.internal.getEncryptor(this.objId));var n,i=[];for(n in i.push("<<"),e)i.push("/"+n+" ("+Bt(t(e[n]))+")");return i.push(">>"),i.join("\n")},set:function(n){"object"===t(n)&&(e=n)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(t){r="/"+t}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Nn.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};zt(wn,un),mn.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var n in this.Kids)if(this.Kids.hasOwnProperty(n)){var i=this.Kids[n];i.appearanceStreamContent=t.createAppearanceStream(i.optionName),i.caption=t.getCA()}},mn.prototype.createOption=function(t){var n=new wn;return n.Parent=this,n.optionName=t,this.Kids.push(n),Ln.call(this.scope,n),n};var pn=function(){dn.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Nn.CheckBox.createAppearanceStream()};zt(pn,dn);var bn=function(){un.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,13))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,13):$t(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,21))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,21):$t(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,23))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,23):$t(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,24))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,24):$t(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,25))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,25):$t(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,26))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,26):$t(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(n){Number.isInteger(n)&&(t=n)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};zt(bn,un);var gn=function(){bn.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(Gt(this.Ff,14))},set:function(t){this.Ff=!0===Boolean(t)?Jt(this.Ff,14):$t(this.Ff,14)}}),this.password=!0};zt(gn,bn);var Nn={CheckBox:{createAppearanceStream:function(){return{N:{On:Nn.CheckBox.YesNormal},D:{On:Nn.CheckBox.YesPushDown,Off:Nn.CheckBox.OffPushDown}}},YesPushDown:function(t){var n=Vt(t);n.scope=t.scope;var i=[],r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,e=t.scope.__private__.encodeColorString(t.color),s=Xt(t,t.caption);return i.push("0.749023 g"),i.push("0 0 "+Ct(Nn.internal.getWidth(t))+" "+Ct(Nn.internal.getHeight(t))+" re"),i.push("f"),i.push("BMC"),i.push("q"),i.push("0 0 1 rg"),i.push("/"+r+" "+Ct(s.fontSize)+" Tf "+e),i.push("BT"),i.push(s.text),i.push("ET"),i.push("Q"),i.push("EMC"),n.stream=i.join("\n"),n},YesNormal:function(t){var n=Vt(t);n.scope=t.scope;var i=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),e=[],s=Nn.internal.getHeight(t),o=Nn.internal.getWidth(t),a=Xt(t,t.caption);return e.push("1 g"),e.push("0 0 "+Ct(o)+" "+Ct(s)+" re"),e.push("f"),e.push("q"),e.push("0 0 1 rg"),e.push("0 0 "+Ct(o-1)+" "+Ct(s-1)+" re"),e.push("W"),e.push("n"),e.push("0 g"),e.push("BT"),e.push("/"+i+" "+Ct(a.fontSize)+" Tf "+r),e.push(a.text),e.push("ET"),e.push("Q"),n.stream=e.join("\n"),n},OffPushDown:function(t){var n=Vt(t);n.scope=t.scope;var i=[];return i.push("0.749023 g"),i.push("0 0 "+Ct(Nn.internal.getWidth(t))+" "+Ct(Nn.internal.getHeight(t))+" re"),i.push("f"),n.stream=i.join("\n"),n}},RadioButton:{Circle:{createAppearanceStream:function(t){var n={D:{Off:Nn.RadioButton.Circle.OffPushDown},N:{}};return n.N[t]=Nn.RadioButton.Circle.YesNormal,n.D[t]=Nn.RadioButton.Circle.YesPushDown,n},getCA:function(){return"l"},YesNormal:function(t){var n=Vt(t);n.scope=t.scope;var i=[],r=Nn.internal.getWidth(t)<=Nn.internal.getHeight(t)?Nn.internal.getWidth(t)/4:Nn.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var e=Number((r*Nn.internal.Bezier_C).toFixed(5));return i.push("q"),i.push("1 0 0 1 "+Dt(Nn.internal.getWidth(t)/2)+" "+Dt(Nn.internal.getHeight(t)/2)+" cm"),i.push(r+" 0 m"),i.push(r+" "+e+" "+e+" "+r+" 0 "+r+" c"),i.push("-"+e+" "+r+" -"+r+" "+e+" -"+r+" 0 c"),i.push("-"+r+" -"+e+" -"+e+" -"+r+" 0 -"+r+" c"),i.push(e+" -"+r+" "+r+" -"+e+" "+r+" 0 c"),i.push("f"),i.push("Q"),n.stream=i.join("\n"),n},YesPushDown:function(t){var n=Vt(t);n.scope=t.scope;var i=[],r=Nn.internal.getWidth(t)<=Nn.internal.getHeight(t)?Nn.internal.getWidth(t)/4:Nn.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var e=Number((2*r).toFixed(5)),s=Number((e*Nn.internal.Bezier_C).toFixed(5)),o=Number((r*Nn.internal.Bezier_C).toFixed(5));return i.push("0.749023 g"),i.push("q"),i.push("1 0 0 1 "+Dt(Nn.internal.getWidth(t)/2)+" "+Dt(Nn.internal.getHeight(t)/2)+" cm"),i.push(e+" 0 m"),i.push(e+" "+s+" "+s+" "+e+" 0 "+e+" c"),i.push("-"+s+" "+e+" -"+e+" "+s+" -"+e+" 0 c"),i.push("-"+e+" -"+s+" -"+s+" -"+e+" 0 -"+e+" c"),i.push(s+" -"+e+" "+e+" -"+s+" "+e+" 0 c"),i.push("f"),i.push("Q"),i.push("0 g"),i.push("q"),i.push("1 0 0 1 "+Dt(Nn.internal.getWidth(t)/2)+" "+Dt(Nn.internal.getHeight(t)/2)+" cm"),i.push(r+" 0 m"),i.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),i.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),i.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),i.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),i.push("f"),i.push("Q"),n.stream=i.join("\n"),n},OffPushDown:function(t){var n=Vt(t);n.scope=t.scope;var i=[],r=Nn.internal.getWidth(t)<=Nn.internal.getHeight(t)?Nn.internal.getWidth(t)/4:Nn.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var e=Number((2*r).toFixed(5)),s=Number((e*Nn.internal.Bezier_C).toFixed(5));return i.push("0.749023 g"),i.push("q"),i.push("1 0 0 1 "+Dt(Nn.internal.getWidth(t)/2)+" "+Dt(Nn.internal.getHeight(t)/2)+" cm"),i.push(e+" 0 m"),i.push(e+" "+s+" "+s+" "+e+" 0 "+e+" c"),i.push("-"+s+" "+e+" -"+e+" "+s+" -"+e+" 0 c"),i.push("-"+e+" -"+s+" -"+s+" -"+e+" 0 -"+e+" c"),i.push(s+" -"+e+" "+e+" -"+s+" "+e+" 0 c"),i.push("f"),i.push("Q"),n.stream=i.join("\n"),n}},Cross:{createAppearanceStream:function(t){var n={D:{Off:Nn.RadioButton.Cross.OffPushDown},N:{}};return n.N[t]=Nn.RadioButton.Cross.YesNormal,n.D[t]=Nn.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(t){var n=Vt(t);n.scope=t.scope;var i=[],r=Nn.internal.calculateCross(t);return i.push("q"),i.push("1 1 "+Ct(Nn.internal.getWidth(t)-2)+" "+Ct(Nn.internal.getHeight(t)-2)+" re"),i.push("W"),i.push("n"),i.push(Ct(r.x1.x)+" "+Ct(r.x1.y)+" m"),i.push(Ct(r.x2.x)+" "+Ct(r.x2.y)+" l"),i.push(Ct(r.x4.x)+" "+Ct(r.x4.y)+" m"),i.push(Ct(r.x3.x)+" "+Ct(r.x3.y)+" l"),i.push("s"),i.push("Q"),n.stream=i.join("\n"),n},YesPushDown:function(t){var n=Vt(t);n.scope=t.scope;var i=Nn.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+Ct(Nn.internal.getWidth(t))+" "+Ct(Nn.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Ct(Nn.internal.getWidth(t)-2)+" "+Ct(Nn.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(Ct(i.x1.x)+" "+Ct(i.x1.y)+" m"),r.push(Ct(i.x2.x)+" "+Ct(i.x2.y)+" l"),r.push(Ct(i.x4.x)+" "+Ct(i.x4.y)+" m"),r.push(Ct(i.x3.x)+" "+Ct(i.x3.y)+" l"),r.push("s"),r.push("Q"),n.stream=r.join("\n"),n},OffPushDown:function(t){var n=Vt(t);n.scope=t.scope;var i=[];return i.push("0.749023 g"),i.push("0 0 "+Ct(Nn.internal.getWidth(t))+" "+Ct(Nn.internal.getHeight(t))+" re"),i.push("f"),n.stream=i.join("\n"),n}}},createDefaultAppearanceStream:function(t){var n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color);return"/"+n+" "+t.fontSize+" Tf "+i}};Nn.internal={Bezier_C:.551915024494,calculateCross:function(t){var n=Nn.internal.getWidth(t),i=Nn.internal.getHeight(t),r=Math.min(n,i);return{x1:{x:(n-r)/2,y:(i-r)/2+r},x2:{x:(n-r)/2+r,y:(i-r)/2},x3:{x:(n-r)/2,y:(i-r)/2},x4:{x:(n-r)/2+r,y:(i-r)/2+r}}}},Nn.internal.getWidth=function(n){var i=0;return"object"===t(n)&&(i=Ut(n.Rect[2])),i},Nn.internal.getHeight=function(n){var i=0;return"object"===t(n)&&(i=Ut(n.Rect[3])),i};var Ln=Ft.addField=function(t){if(nn(this,t),!(t instanceof un))throw new Error("Invalid argument passed to jsPDF.addField.");var n;return(n=t).scope.internal.acroformPlugin.printedOut&&(n.scope.internal.acroformPlugin.printedOut=!1,n.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),n.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};function yn(t){return t.reduce((function(t,n,i){return t[n]=i,t}),{})}Ft.AcroFormChoiceField=fn,Ft.AcroFormListBox=cn,Ft.AcroFormComboBox=hn,Ft.AcroFormEditBox=ln,Ft.AcroFormButton=dn,Ft.AcroFormPushButton=vn,Ft.AcroFormRadioButton=mn,Ft.AcroFormCheckBox=pn,Ft.AcroFormTextField=bn,Ft.AcroFormPasswordField=gn,Ft.AcroFormAppearance=Nn,Ft.AcroForm={ChoiceField:fn,ListBox:cn,ComboBox:hn,EditBox:ln,Button:dn,PushButton:vn,RadioButton:mn,CheckBox:pn,TextField:bn,PasswordField:gn,Appearance:Nn},It.AcroForm={ChoiceField:fn,ListBox:cn,ComboBox:hn,EditBox:ln,Button:dn,PushButton:vn,RadioButton:mn,CheckBox:pn,TextField:bn,PasswordField:gn,Appearance:Nn},function(n){n.__addimage__={};var i="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},e=n.__addimage__.getImageFileTypeByImageData=function(t,n){var e,s,o,a,u,f=i;if("RGBA"===(n=n||i)||void 0!==t.data&&t.data instanceof Uint8ClampedArray&&"height"in t&&"width"in t)return"RGBA";if(A(t))for(u in r)for(o=r[u],e=0;e<o.length;e+=1){for(a=!0,s=0;s<o[e].length;s+=1)if(void 0!==o[e][s]&&o[e][s]!==t[s]){a=!1;break}if(!0===a){f=u;break}}else for(u in r)for(o=r[u],e=0;e<o.length;e+=1){for(a=!0,s=0;s<o[e].length;s+=1)if(void 0!==o[e][s]&&o[e][s]!==t.charCodeAt(s)){a=!1;break}if(!0===a){f=u;break}}return f===i&&n!==i&&(f=n),f},s=function t(n){for(var i=this.internal.write,r=this.internal.putStream,e=(0,this.internal.getFilters)();-1!==e.indexOf("FlateEncode");)e.splice(e.indexOf("FlateEncode"),1);n.objectId=this.internal.newObject();var s=[];if(s.push({key:"Type",value:"/XObject"}),s.push({key:"Subtype",value:"/Image"}),s.push({key:"Width",value:n.width}),s.push({key:"Height",value:n.height}),n.colorSpace===p.INDEXED?s.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(n.palette.length/3-1)+" "+("sMask"in n&&void 0!==n.sMask?n.objectId+2:n.objectId+1)+" 0 R]"}):(s.push({key:"ColorSpace",value:"/"+n.colorSpace}),n.colorSpace===p.DEVICE_CMYK&&s.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),s.push({key:"BitsPerComponent",value:n.bitsPerComponent}),"decodeParameters"in n&&void 0!==n.decodeParameters&&s.push({key:"DecodeParms",value:"<<"+n.decodeParameters+">>"}),"transparency"in n&&Array.isArray(n.transparency)){for(var o="",a=0,u=n.transparency.length;a<u;a++)o+=n.transparency[a]+" "+n.transparency[a]+" ";s.push({key:"Mask",value:"["+o+"]"})}if(void 0!==n.sMask&&s.push({key:"SMask",value:n.objectId+1+" 0 R"}),r({data:n.data,additionalKeyValues:s,alreadyAppliedFilters:void 0!==n.filter?["/"+n.filter]:void 0,objectId:n.objectId}),i("endobj"),"sMask"in n&&void 0!==n.sMask){var f={width:n.width,height:n.height,colorSpace:"DeviceGray",bitsPerComponent:n.bitsPerComponent,decodeParameters:"/Predictor "+n.predictor+" /Colors 1 /BitsPerComponent "+n.bitsPerComponent+" /Columns "+n.width,data:n.sMask};"filter"in n&&(f.filter=n.filter),t.call(this,f)}if(n.colorSpace===p.INDEXED){var c=this.internal.newObject();r({data:x(new Uint8Array(n.palette)),objectId:c}),i("endobj")}},o=function(){var t=this.internal.collections.addImage_images;for(var n in t)s.call(this,t[n])},a=function(){var t,n=this.internal.collections.addImage_images,i=this.internal.write;for(var r in n)i("/I"+(t=n[r]).index,t.objectId,"0","R")},u=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",a))},f=function(){var t=this.internal.collections.addImage_images;return u.call(this),t},c=function(){return Object.keys(this.internal.collections.addImage_images).length},h=function(t){return"function"==typeof n["process"+t.toUpperCase()]},l=function(n){return"object"===t(n)&&1===n.nodeType},d=function(t,i){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return ot(unescape(r).split("base64,").pop());var e=n.loadFile(r,!0);if(void 0!==e)return e}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var s;switch(i){case"PNG":s="image/png";break;case"WEBP":s="image/webp";break;default:s="image/jpeg"}return ot(t.toDataURL(s,1).split("base64,").pop())}},v=function(t){var n=this.internal.collections.addImage_images;if(n)for(var i in n)if(t===n[i].alias)return n[i]},m=function(t,n,i){return t||n||(t=-96,n=-96),t<0&&(t=-1*i.width*72/t/this.internal.scaleFactor),n<0&&(n=-1*i.height*72/n/this.internal.scaleFactor),0===t&&(t=n*i.width/i.height),0===n&&(n=t*i.height/i.width),[t,n]},w=function(t,n,i,r,e,s){var o=m.call(this,i,r,e),a=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString,c=f.call(this);if(i=o[0],r=o[1],c[e.index]=e,s){s*=Math.PI/180;var h=Math.cos(s),l=Math.sin(s),d=function(t){return t.toFixed(4)},v=[d(h),d(l),d(-1*l),d(h),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,a(t),u(n+r),"cm"].join(" ")),this.internal.write(v.join(" ")),this.internal.write([a(i),"0","0",a(r),"0","0","cm"].join(" "))):this.internal.write([a(i),"0","0",a(r),a(t),u(n+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+e.index+" Do"),this.internal.write("Q")},p=n.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};n.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var b=n.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},g=n.__addimage__.sHashCode=function(t){var n,i,r=0;if("string"==typeof t)for(i=t.length,n=0;n<i;n++)r=(r<<5)-r+t.charCodeAt(n),r|=0;else if(A(t))for(i=t.byteLength/2,n=0;n<i;n++)r=(r<<5)-r+t[n],r|=0;return r},N=n.__addimage__.validateStringAsBase64=function(t){(t=t||"").toString().trim();var n=!0;return 0===t.length&&(n=!1),t.length%4!=0&&(n=!1),!1===/^[A-Za-z0-9+/]+$/.test(t.substr(0,t.length-2))&&(n=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(t.substr(-2))&&(n=!1),n},L=n.__addimage__.extractImageFromDataUrl=function(t){var n=(t=t||"").split("base64,"),i=null;if(2===n.length){var r=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(n[0]);Array.isArray(r)&&(i={mimeType:r[1],charset:r[2],data:n[1]})}return i},y=n.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};n.__addimage__.isArrayBuffer=function(t){return y()&&t instanceof ArrayBuffer};var A=n.__addimage__.isArrayBufferView=function(t){return y()&&"undefined"!=typeof Uint32Array&&(t instanceof Int8Array||t instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)},k=n.__addimage__.binaryStringToUint8Array=function(t){for(var n=t.length,i=new Uint8Array(n),r=0;r<n;r++)i[r]=t.charCodeAt(r);return i},x=n.__addimage__.arrayBufferToBinaryString=function(t){for(var n="",i=A(t)?t:new Uint8Array(t),r=0;r<i.length;r+=8192)n+=String.fromCharCode.apply(null,i.subarray(r,r+8192));return n};n.addImage=function(){var n,r,e,s,o,a,f,c,h;if("number"==typeof arguments[1]?(r=i,e=arguments[1],s=arguments[2],o=arguments[3],a=arguments[4],f=arguments[5],c=arguments[6],h=arguments[7]):(r=arguments[1],e=arguments[2],s=arguments[3],o=arguments[4],a=arguments[5],f=arguments[6],c=arguments[7],h=arguments[8]),"object"===t(n=arguments[0])&&!l(n)&&"imageData"in n){var d=n;n=d.imageData,r=d.format||r||i,e=d.x||e||0,s=d.y||s||0,o=d.w||d.width||o,a=d.h||d.height||a,f=d.alias||f,c=d.compression||c,h=d.rotation||d.angle||h}var v=this.internal.getFilters();if(void 0===c&&-1!==v.indexOf("FlateEncode")&&(c="SLOW"),isNaN(e)||isNaN(s))throw new Error("Invalid coordinates passed to jsPDF.addImage");u.call(this);var m=S.call(this,n,r,f,c);return w.call(this,e,s,o,a,m,h),this};var S=function(t,r,s,o){var a,u,f;if("string"==typeof t&&e(t)===i){t=unescape(t);var m=q(t,!1);(""!==m||void 0!==(m=n.loadFile(t,!0)))&&(t=m)}if(l(t)&&(t=d(t,r)),r=e(t,r),!h(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if((null==(f=s)||0===f.length)&&(s=function(t){return"string"==typeof t||A(t)?g(t):A(t.data)?g(t.data):null}(t)),(a=v.call(this,s))||(y()&&(t instanceof Uint8Array||"RGBA"===r||(u=t,t=k(t))),a=this["process"+r.toUpperCase()](t,c.call(this),s,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in n.image_compression?t:b.NONE}(o),u)),!a)throw new Error("An unknown error occurred whilst processing the image.");return a},q=n.__addimage__.convertBase64ToBinaryString=function(t,n){var i;n="boolean"!=typeof n||n;var r,e="";if("string"==typeof t){r=null!==(i=L(t))?i.data:t;try{e=ot(r)}catch(t){if(n)throw N(r)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+t.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return e};n.getImageProperties=function(t){var r,s,o="";if(l(t)&&(t=d(t)),"string"==typeof t&&e(t)===i&&(""===(o=q(t,!1))&&(o=n.loadFile(t)||""),t=o),s=e(t),!h(s))throw new Error("addImage does not support files of type '"+s+"', please ensure that a plugin for '"+s+"' support is added.");if(!y()||t instanceof Uint8Array||(t=k(t)),!(r=this["process"+s.toUpperCase()](t)))throw new Error("An unknown error occurred whilst processing the image");return r.fileType=s,r}}(It.API),
|
110
|
+
/**
|
111
|
+
* @license
|
112
|
+
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
113
|
+
*
|
114
|
+
* Licensed under the MIT License.
|
115
|
+
* http://opensource.org/licenses/mit-license
|
116
|
+
*/
|
117
|
+
function(t){var n=function(t){if(void 0!==t&&""!=t)return!0};It.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(t){for(var i,r,e,s=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,a=this.internal.getPageInfoByObjId(t.objId),u=t.pageContext.annotations,f=!1,c=0;c<u.length&&!f;c++)switch((i=u[c]).type){case"link":(n(i.options.url)||n(i.options.pageNumber))&&(f=!0);break;case"reference":case"text":case"freetext":f=!0}if(0!=f){this.internal.write("/Annots [");for(var h=0;h<u.length;h++){i=u[h];var l=this.internal.pdfEscape,d=this.internal.getEncryptor(t.objId);switch(i.type){case"reference":this.internal.write(" "+i.object.objId+" 0 R ");break;case"text":var v=this.internal.newAdditionalObject(),m=this.internal.newAdditionalObject(),w=this.internal.getEncryptor(v.objId),p=i.title||"Note";e="<</Type /Annot /Subtype /Text "+(r="/Rect ["+s(i.bounds.x)+" "+o(i.bounds.y+i.bounds.h)+" "+s(i.bounds.x+i.bounds.w)+" "+o(i.bounds.y)+"] ")+"/Contents ("+l(w(i.contents))+")",e+=" /Popup "+m.objId+" 0 R",e+=" /P "+a.objId+" 0 R",e+=" /T ("+l(w(p))+") >>",v.content=e;var b=v.objId+" 0 R";e="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+s(i.bounds.x+30)+" "+o(i.bounds.y+i.bounds.h)+" "+s(i.bounds.x+i.bounds.w+30)+" "+o(i.bounds.y)+"] ")+" /Parent "+b,i.open&&(e+=" /Open true"),m.content=e+=" >>",this.internal.write(v.objId,"0 R",m.objId,"0 R");break;case"freetext":r="/Rect ["+s(i.bounds.x)+" "+o(i.bounds.y)+" "+s(i.bounds.x+i.bounds.w)+" "+o(i.bounds.y+i.bounds.h)+"] ";var g=i.color||"#000000";e="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+l(d(i.contents))+")",e+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+g+")",e+=" /Border [0 0 0]",this.internal.write(e+=" >>");break;case"link":if(i.options.name){var N=this.annotations._nameMap[i.options.name];i.options.pageNumber=N.page,i.options.top=N.y}else i.options.top||(i.options.top=0);if(r="/Rect ["+i.finalBounds.x+" "+i.finalBounds.y+" "+i.finalBounds.w+" "+i.finalBounds.h+"] ",e="",i.options.url)e="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+l(d(i.options.url))+") >>";else if(i.options.pageNumber)switch(e="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(i.options.pageNumber).objId+" 0 R",i.options.magFactor=i.options.magFactor||"XYZ",i.options.magFactor){case"Fit":e+=" /Fit]";break;case"FitH":e+=" /FitH "+i.options.top+"]";break;case"FitV":i.options.left=i.options.left||0,e+=" /FitV "+i.options.left+"]";break;default:var L=o(i.options.top);i.options.left=i.options.left||0,void 0===i.options.zoom&&(i.options.zoom=0),e+=" /XYZ "+i.options.left+" "+L+" "+i.options.zoom+"]"}""!=e&&this.internal.write(e+=" >>")}}this.internal.write("]")}}]),t.createAnnotation=function(t){var n=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":n.pageContext.annotations.push(t)}},t.link=function(t,n,i,r,e){var s=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString;s.pageContext.annotations.push({finalBounds:{x:o(t),y:a(n),w:o(t+i),h:a(n+r)},options:e,type:"link"})},t.textWithLink=function(t,n,i,r){var e,s,o=this.getTextWidth(t),a=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){var u=this.splitTextToSize(t,s=r.maxWidth).length;e=Math.ceil(a*u)}else s=o,e=a;return this.text(t,n,i,r),"center"===r.align&&(n-=o/2),"right"===r.align&&(n-=o),this.link(n,(i+=.2*a)-a,s,e,r),o},t.getTextWidth=function(t){var n=this.internal.getFontSize();return this.getStringUnitWidth(t)*n/this.internal.scaleFactor}}(It.API),
|
118
|
+
/**
|
119
|
+
* @license
|
120
|
+
* Copyright (c) 2017 Aras Abbasi
|
121
|
+
*
|
122
|
+
* Licensed under the MIT License.
|
123
|
+
* http://opensource.org/licenses/mit-license
|
124
|
+
*/
|
125
|
+
function(t){var n={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},i={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},e=[1570,1571,1573,1575];t.__arabicParser__={};var s=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==n[t.charCodeAt(0)]},o=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},a=t.__arabicParser__.isArabicEndLetter=function(t){return o(t)&&s(t)&&n[t.charCodeAt(0)].length<=2},u=t.__arabicParser__.isArabicAlfLetter=function(t){return o(t)&&e.indexOf(t.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return o(t)&&s(t)&&n[t.charCodeAt(0)].length>=1};var f=t.__arabicParser__.arabicLetterHasFinalForm=function(t){return o(t)&&s(t)&&n[t.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(t){return o(t)&&s(t)&&n[t.charCodeAt(0)].length>=3};var c=t.__arabicParser__.arabicLetterHasMedialForm=function(t){return o(t)&&s(t)&&4==n[t.charCodeAt(0)].length},h=t.__arabicParser__.resolveLigatures=function(t){var n=0,r=i,e="",s=0;for(n=0;n<t.length;n+=1)void 0!==r[t.charCodeAt(n)]?(s++,"number"==typeof(r=r[t.charCodeAt(n)])&&(e+=String.fromCharCode(r),r=i,s=0),n===t.length-1&&(r=i,e+=t.charAt(n-(s-1)),n-=s-1,s=0)):(r=i,e+=t.charAt(n-s),n-=s,s=0);return e};t.__arabicParser__.isArabicDiacritic=function(t){return void 0!==t&&void 0!==r[t.charCodeAt(0)]};var l=t.__arabicParser__.getCorrectForm=function(t,n,i){return o(t)?!1===s(t)?-1:!f(t)||!o(n)&&!o(i)||!o(i)&&a(n)||a(t)&&!o(n)||a(t)&&u(n)||a(t)&&a(n)?0:c(t)&&o(n)&&!a(n)&&o(i)&&f(i)?3:a(t)||!o(i)?1:2:-1},d=function(t){var i=0,r=0,e=0,s="",a="",u="",f=(t=t||"").split("\\s+"),c=[];for(i=0;i<f.length;i+=1){for(c.push(""),r=0;r<f[i].length;r+=1)a=f[i][r-1],u=f[i][r+1],o(s=f[i][r])?(e=l(s,a,u),c[i]+=-1!==e?String.fromCharCode(n[s.charCodeAt(0)][e]):s):c[i]+=s;c[i]=h(c[i])}return c.join(" ")},v=t.__arabicParser__.processArabic=t.processArabic=function(){var t,n="string"==typeof arguments[0]?arguments[0]:arguments[0].text,i=[];if(Array.isArray(n)){var r=0;for(i=[],r=0;r<n.length;r+=1)Array.isArray(n[r])?i.push([d(n[r][0]),n[r][1],n[r][2]]):i.push([d(n[r])]);t=i}else t=d(n);return"string"==typeof arguments[0]?t:(arguments[0].text=t,arguments[0])};t.events.push(["preProcessText",v])}(It.API),It.API.autoPrint=function(t){var n;return"javascript"===((t=t||{}).variant=t.variant||"non-conform",t.variant)?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",(function(){n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+n+" 0 R")}))),this},
|
126
|
+
/**
|
127
|
+
* @license
|
128
|
+
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
129
|
+
*
|
130
|
+
* Licensed under the MIT License.
|
131
|
+
* http://opensource.org/licenses/mit-license
|
132
|
+
*/
|
133
|
+
function(t){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(n){t=n}});var n=150;Object.defineProperty(this,"width",{get:function(){return n},set:function(t){n=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=n+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(t){i=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(t){r=t}});var e={};Object.defineProperty(this,"style",{get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,n){var i;if("2d"!==(t=t||"2d"))return null;for(i in n)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=n[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(It.API),function(n){var i={left:0,top:0,bottom:0,right:0},r=!1,e=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},i),this.internal.__cell__.margins.width=this.getPageWidth(),s.call(this))},s=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var t=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return t},set:function(n){t=n}});var n=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(t){n=t}});var i=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return i},set:function(t){i=t}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(t){r=t}});var e=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var s=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return s},set:function(t){s=t}});var o=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return o},set:function(t){o=t}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(t){return e.call(this),this.internal.__cell__.headerFunction="function"==typeof t?t:void 0,this},n.getTextDimensions=function(t,n){e.call(this);var i=(n=n||{}).fontSize||this.getFontSize(),r=n.font||this.getFont(),s=n.scaleFactor||this.internal.scaleFactor,o=0,a=0,u=0,f=this;if(!Array.isArray(t)&&"string"!=typeof t){if("number"!=typeof t)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");t=String(t)}var c=n.maxWidth;c>0?"string"==typeof t?t=this.splitTextToSize(t,c):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,n){return t.concat(f.splitTextToSize(n,c))}),[])):t=Array.isArray(t)?t:[t];for(var h=0;h<t.length;h++)o<(u=this.getStringUnitWidth(t[h],{font:r})*i)&&(o=u);return 0!==o&&(a=t.length),{w:o/=s,h:Math.max((a*i*this.getLineHeightFactor()-i*(this.getLineHeightFactor()-1))/s,0)}},n.cellAddPage=function(){e.call(this),this.addPage();var t=this.internal.__cell__.margins||i;return this.internal.__cell__.lastCell=new o(t.left,t.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var a=n.cell=function(){var t;t=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),e.call(this);var n=this.internal.__cell__.lastCell,s=this.internal.__cell__.padding,a=this.internal.__cell__.margins||i,u=this.internal.__cell__.tableHeaderRow,f=this.internal.__cell__.printHeaders;return void 0!==n.lineNumber&&(n.lineNumber===t.lineNumber?(t.x=(n.x||0)+(n.width||0),t.y=n.y||0):n.y+n.height+t.height+a.bottom>this.getPageHeight()?(this.cellAddPage(),t.y=a.top,f&&u&&(this.printHeaderRow(t.lineNumber,!0),t.y+=u[0].height)):t.y=n.y+n.height||t.y),void 0!==t.text[0]&&(this.rect(t.x,t.y,t.width,t.height,!0===r?"FD":void 0),"right"===t.align?this.text(t.text,t.x+t.width-s,t.y+s,{align:"right",baseline:"top"}):"center"===t.align?this.text(t.text,t.x+t.width/2,t.y+s,{align:"center",baseline:"top",maxWidth:t.width-s-s}):this.text(t.text,t.x+s,t.y+s,{align:"left",baseline:"top",maxWidth:t.width-s-s})),this.internal.__cell__.lastCell=t,this};n.table=function(n,r,f,c,h){if(e.call(this),!f)throw new Error("No data for PDF table.");var l,d,v,m,w=[],p=[],b=[],g={},N={},L=[],y=[],A=(h=h||{}).autoSize||!1,k=!1!==h.printHeaders,x=h.css&&void 0!==h.css["font-size"]?16*h.css["font-size"]:h.fontSize||12,S=h.margins||Object.assign({width:this.getPageWidth()},i),q="number"==typeof h.padding?h.padding:3,j=h.headerBackgroundColor||"#c8c8c8",M=h.headerTextColor||"#000";if(s.call(this),this.internal.__cell__.printHeaders=k,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=x,this.internal.__cell__.padding=q,this.internal.__cell__.headerBackgroundColor=j,this.internal.__cell__.headerTextColor=M,this.setFontSize(x),null==c)p=w=Object.keys(f[0]),b=w.map((function(){return"left"}));else if(Array.isArray(c)&&"object"===t(c[0]))for(w=c.map((function(t){return t.name})),p=c.map((function(t){return t.prompt||t.name||""})),b=c.map((function(t){return t.align||"left"})),l=0;l<c.length;l+=1)N[c[l].name]=c[l].width*(19.049976/25.4);else Array.isArray(c)&&"string"==typeof c[0]&&(p=w=c,b=w.map((function(){return"left"})));if(A||Array.isArray(c)&&"string"==typeof c[0])for(l=0;l<w.length;l+=1){for(g[m=w[l]]=f.map((function(t){return t[m]})),this.setFont(void 0,"bold"),L.push(this.getTextDimensions(p[l],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),d=g[m],this.setFont(void 0,"normal"),v=0;v<d.length;v+=1)L.push(this.getTextDimensions(d[v],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);N[m]=Math.max.apply(null,L)+q+q,L=[]}if(k){var E={};for(l=0;l<w.length;l+=1)E[w[l]]={},E[w[l]].text=p[l],E[w[l]].align=b[l];var P=u.call(this,E,N);y=w.map((function(t){return new o(n,r,N[t],P,E[t].text,void 0,E[t].align)})),this.setTableHeaderRow(y),this.printHeaderRow(1,!1)}var O=c.reduce((function(t,n){return t[n.name]=n.align,t}),{});for(l=0;l<f.length;l+=1){"rowStart"in h&&h.rowStart instanceof Function&&h.rowStart({row:l,data:f[l]},this);var I=u.call(this,f[l],N);for(v=0;v<w.length;v+=1){var F=f[l][w[v]];"cellStart"in h&&h.cellStart instanceof Function&&h.cellStart({row:l,col:v,data:F},this),a.call(this,new o(n,r,N[w[v]],I,F,l+2,O[w[v]]))}}return this.internal.__cell__.table_x=n,this.internal.__cell__.table_y=r,this};var u=function(t,n){var i=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,e=this.internal.scaleFactor;return Object.keys(t).map((function(r){var e=t[r];return this.splitTextToSize(e.hasOwnProperty("text")?e.text:e,n[r]-i-i)}),this).map((function(t){return this.getLineHeightFactor()*t.length*r/e+i+i}),this).reduce((function(t,n){return Math.max(t,n)}),0)};n.setTableHeaderRow=function(t){e.call(this),this.internal.__cell__.tableHeaderRow=t},n.printHeaderRow=function(t,n){if(e.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var u=[],f=0;f<this.internal.__cell__.tableHeaderRow.length;f+=1){i=this.internal.__cell__.tableHeaderRow[f].clone(),n&&(i.y=this.internal.__cell__.margins.top||0,u.push(i)),i.lineNumber=t;var c=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),a.call(this,i),this.setTextColor(c)}u.length>0&&this.setTableHeaderRow(u),this.setFont(void 0,"normal"),r=!1}}(It.API);var An={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},kn=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],xn=yn(kn),Sn=[100,200,300,400,500,600,700,800,900],qn=yn(Sn);function jn(t){var n=t.family.replace(/"|'/g,"").toLowerCase(),i=function(t){return An[t=t||"normal"]?t:"normal"}(t.style),r=function(t){return t?"number"==typeof t?t>=100&&t<=900&&t%100==0?t:400:/^\d00$/.test(t)?parseInt(t):"bold"===t?700:400:400}(t.weight),e=function(t){return"number"==typeof xn[t=t||"normal"]?t:"normal"}(t.stretch);return{family:n,style:i,weight:r,stretch:e,src:t.src||[],ref:t.ref||{name:n,style:[e,i,r].join(" ")}}}function Mn(t,n,i,r){var e;for(e=i;e>=0&&e<n.length;e+=r)if(t[n[e]])return t[n[e]];for(e=i;e>=0&&e<n.length;e-=r)if(t[n[e]])return t[n[e]]}var En={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Pn={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function On(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function In(t){return t.trimLeft()}function Fn(t,n){for(var i=0;i<t.length;){if(t.charAt(i)===n)return[t.substring(0,i),t.substring(i+1)];i+=1}return null}function Rn(t){var n=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===n?null:[n[0],t.substring(n[0].length)]}var Bn,Tn,Cn,Dn,zn=["times"];!function(n){var i,r,e,s,o,a,u,f,c,h=function(t){return this.isStrokeTransparent=(t=t||{}).isStrokeTransparent||!1,this.strokeOpacity=t.strokeOpacity||1,this.strokeStyle=t.strokeStyle||"#000000",this.fillStyle=t.fillStyle||"#000000",this.isFillTransparent=t.isFillTransparent||!1,this.fillOpacity=t.fillOpacity||1,this.font=t.font||"10px sans-serif",this.textBaseline=t.textBaseline||"alphabetic",this.textAlign=t.textAlign||"left",this.lineWidth=t.lineWidth||1,this.lineJoin=t.lineJoin||"miter",this.lineCap=t.lineCap||"butt",this.path=t.path||[],this.transform=void 0!==t.transform?t.transform.clone():new f,this.globalCompositeOperation=t.globalCompositeOperation||"normal",this.globalAlpha=t.globalAlpha||1,this.clip_path=t.clip_path||[],this.currentPoint=t.currentPoint||new a,this.miterLimit=t.miterLimit||10,this.lastPoint=t.lastPoint||new a,this.lineDashOffset=t.lineDashOffset||0,this.lineDash=t.lineDash||[],this.margin=t.margin||[0,0,0,0],this.prevPageLastElemOffset=t.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof t.ignoreClearRect||t.ignoreClearRect,this};n.events.push(["initialized",function(){this.context2d=new l(this),i=this.internal.f2,r=this.internal.getCoordinateString,e=this.internal.getVerticalCoordinateString,s=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,a=this.internal.Point,u=this.internal.Rectangle,f=this.internal.Matrix,c=new h}]);var l=function(t){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var n=t;Object.defineProperty(this,"pdf",{get:function(){return n}});var i=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return i},set:function(t){i=Boolean(t)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(t){r=Boolean(t)}});var e=0;Object.defineProperty(this,"posX",{get:function(){return e},set:function(t){isNaN(t)||(e=t)}});var s=0;Object.defineProperty(this,"posY",{get:function(){return s},set:function(t){isNaN(t)||(s=t)}}),Object.defineProperty(this,"margin",{get:function(){return c.margin},set:function(t){var n;"number"==typeof t?n=[t,t,t,t]:((n=new Array(4))[0]=t[0],n[1]=t.length>=2?t[1]:n[0],n[2]=t.length>=3?t[2]:n[0],n[3]=t.length>=4?t[3]:n[1]),c.margin=n}});var o=!1;Object.defineProperty(this,"autoPaging",{get:function(){return o},set:function(t){o=t}});var a=0;Object.defineProperty(this,"lastBreak",{get:function(){return a},set:function(t){a=t}});var u=[];Object.defineProperty(this,"pageBreaks",{get:function(){return u},set:function(t){u=t}}),Object.defineProperty(this,"ctx",{get:function(){return c},set:function(t){t instanceof h&&(c=t)}}),Object.defineProperty(this,"path",{get:function(){return c.path},set:function(t){c.path=t}});var f=[];Object.defineProperty(this,"ctxStack",{get:function(){return f},set:function(t){f=t}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(t){var n;n=d(t),this.ctx.fillStyle=n.style,this.ctx.isFillTransparent=0===n.a,this.ctx.fillOpacity=n.a,this.pdf.setFillColor(n.r,n.g,n.b,{a:n.a}),this.pdf.setTextColor(n.r,n.g,n.b,{a:n.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(t){var n=d(t);this.ctx.strokeStyle=n.style,this.ctx.isStrokeTransparent=0===n.a,this.ctx.strokeOpacity=n.a,0===n.a?this.pdf.setDrawColor(255,255,255):this.pdf.setDrawColor(n.r,n.g,n.b)}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(t){-1!==["butt","round","square"].indexOf(t)&&(this.ctx.lineCap=t,this.pdf.setLineCap(t))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(t){isNaN(t)||(this.ctx.lineWidth=t,this.pdf.setLineWidth(t))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(t){-1!==["bevel","round","miter"].indexOf(t)&&(this.ctx.lineJoin=t,this.pdf.setLineJoin(t))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(t){isNaN(t)||(this.ctx.miterLimit=t,this.pdf.setMiterLimit(t))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(t){this.ctx.textBaseline=t}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(t){-1!==["right","end","center","left","start"].indexOf(t)&&(this.ctx.textAlign=t)}});var l=null;function v(t,n){if(null===l){var i=function(t){var n=[];return Object.keys(t).forEach((function(i){t[i].forEach((function(t){var r=null;switch(t){case"bold":r={family:i,weight:"bold"};break;case"italic":r={family:i,style:"italic"};break;case"bolditalic":r={family:i,weight:"bold",style:"italic"};break;case"":case"normal":r={family:i}}null!==r&&(r.ref={name:i,style:t},n.push(r))}))})),n}(t.getFontList());l=function(t){for(var n={},i=0;i<t.length;++i){var r=jn(t[i]),e=r.family,s=r.stretch,o=r.style,a=r.weight;n[e]=n[e]||{},n[e][s]=n[e][s]||{},n[e][s][o]=n[e][s][o]||{},n[e][s][o][a]=r}return n}(i.concat(n))}return l}var m=null;Object.defineProperty(this,"fontFaces",{get:function(){return m},set:function(t){l=null,m=t}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(t){var n;if(this.ctx.font=t,null!==(n=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(t))){var i=n[1],r=n[3],e=n[4],s=n[6],o=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(e)[2];e="px"===o?Math.floor(parseFloat(e)*this.pdf.internal.scaleFactor):"em"===o?Math.floor(parseFloat(e)*this.pdf.getFontSize()):Math.floor(parseFloat(e)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(e);var a=function(t){var n,i,r=[],e=t.trim();if(""===e)return zn;if(e in Pn)return[Pn[e]];for(;""!==e;){switch(i=null,n=(e=In(e)).charAt(0)){case'"':case"'":i=Fn(e.substring(1),n);break;default:i=Rn(e)}if(null===i)return zn;if(r.push(i[0]),""!==(e=In(i[1]))&&","!==e.charAt(0))return zn;e=e.replace(/^,/,"")}return r}(s);if(this.fontFaces){var u=function(t,n,i){for(var r=(i=i||{}).defaultFontFamily||"times",e=Object.assign({},En,i.genericFontFamilies||{}),s=null,o=null,a=0;a<n.length;++a)if(e[(s=jn(n[a])).family]&&(s.family=e[s.family]),t.hasOwnProperty(s.family)){o=t[s.family];break}if(!(o=o||t[r]))throw new Error("Could not find a font-family for the rule '"+On(s)+"' and default family '"+r+"'.");if(o=function(t,n){if(n[t])return n[t];var i=xn[t],r=Mn(n,kn,i,i<=xn.normal?-1:1);if(!r)throw new Error("Could not find a matching font-stretch value for "+t);return r}(s.stretch,o),o=function(t,n){if(n[t])return n[t];for(var i=An[t],r=0;r<i.length;++r)if(n[i[r]])return n[i[r]];throw new Error("Could not find a matching font-style for "+t)}(s.style,o),!(o=function(t,n){if(n[t])return n[t];if(400===t&&n[500])return n[500];if(500===t&&n[400])return n[400];var i=Mn(n,Sn,qn[t],t<400?-1:1);if(!i)throw new Error("Could not find a matching font-weight for value "+t);return i}(s.weight,o)))throw new Error("Failed to resolve a font for the rule '"+On(s)+"'.");return o}(v(this.pdf,this.fontFaces),a.map((function(t){return{family:t,stretch:"normal",weight:r,style:i}})));this.pdf.setFont(u.ref.name,u.ref.style)}else{var f="";("bold"===r||parseInt(r,10)>=700||"bold"===i)&&(f="bold"),"italic"===i&&(f+="italic"),0===f.length&&(f="normal");for(var c="",h={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},l=0;l<a.length;l++){if(void 0!==this.pdf.internal.getFont(a[l],f,{noFallback:!0,disableWarning:!0})){c=a[l];break}if("bolditalic"===f&&void 0!==this.pdf.internal.getFont(a[l],"bold",{noFallback:!0,disableWarning:!0}))c=a[l],f="bold";else if(void 0!==this.pdf.internal.getFont(a[l],"normal",{noFallback:!0,disableWarning:!0})){c=a[l],f="normal";break}}if(""===c)for(var d=0;d<a.length;d++)if(h[a[d]]){c=h[a[d]];break}this.pdf.setFont(c=""===c?"Times":c,f)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(t){this.ctx.globalCompositeOperation=t}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(t){this.ctx.globalAlpha=t}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(t){this.ctx.lineDashOffset=t,C.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(t){this.ctx.lineDash=t,C.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(t){this.ctx.ignoreClearRect=Boolean(t)}})};l.prototype.setLineDash=function(t){this.lineDash=t},l.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},l.prototype.fill=function(){L.call(this,"fill",!1)},l.prototype.stroke=function(){L.call(this,"stroke",!1)},l.prototype.beginPath=function(){this.path=[{type:"begin"}]},l.prototype.moveTo=function(t,n){if(isNaN(t)||isNaN(n))throw it.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var i=this.ctx.transform.applyToPoint(new a(t,n));this.path.push({type:"mt",x:i.x,y:i.y}),this.ctx.lastPoint=new a(t,n)},l.prototype.closePath=function(){var n=new a(0,0),i=0;for(i=this.path.length-1;-1!==i;i--)if("begin"===this.path[i].type&&"object"===t(this.path[i+1])&&"number"==typeof this.path[i+1].x){n=new a(this.path[i+1].x,this.path[i+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new a(n.x,n.y)},l.prototype.lineTo=function(t,n){if(isNaN(t)||isNaN(n))throw it.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var i=this.ctx.transform.applyToPoint(new a(t,n));this.path.push({type:"lt",x:i.x,y:i.y}),this.ctx.lastPoint=new a(i.x,i.y)},l.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),L.call(this,null,!0)},l.prototype.quadraticCurveTo=function(t,n,i,r){if(isNaN(i)||isNaN(r)||isNaN(t)||isNaN(n))throw it.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var e=this.ctx.transform.applyToPoint(new a(i,r)),s=this.ctx.transform.applyToPoint(new a(t,n));this.path.push({type:"qct",x1:s.x,y1:s.y,x:e.x,y:e.y}),this.ctx.lastPoint=new a(e.x,e.y)},l.prototype.bezierCurveTo=function(t,n,i,r,e,s){if(isNaN(e)||isNaN(s)||isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r))throw it.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var o=this.ctx.transform.applyToPoint(new a(e,s)),u=this.ctx.transform.applyToPoint(new a(t,n)),f=this.ctx.transform.applyToPoint(new a(i,r));this.path.push({type:"bct",x1:u.x,y1:u.y,x2:f.x,y2:f.y,x:o.x,y:o.y}),this.ctx.lastPoint=new a(o.x,o.y)},l.prototype.arc=function(t,n,i,r,e,s){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r)||isNaN(e))throw it.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(s=Boolean(s),!this.ctx.transform.isIdentity){var o=this.ctx.transform.applyToPoint(new a(t,n));t=o.x,n=o.y;var u=this.ctx.transform.applyToPoint(new a(0,i)),f=this.ctx.transform.applyToPoint(new a(0,0));i=Math.sqrt(Math.pow(u.x-f.x,2)+Math.pow(u.y-f.y,2))}Math.abs(e-r)>=2*Math.PI&&(r=0,e=2*Math.PI),this.path.push({type:"arc",x:t,y:n,radius:i,startAngle:r,endAngle:e,counterclockwise:s})},l.prototype.arcTo=function(){throw new Error("arcTo not implemented.")},l.prototype.rect=function(t,n,i,r){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r))throw it.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,n),this.lineTo(t+i,n),this.lineTo(t+i,n+r),this.lineTo(t,n+r),this.lineTo(t,n),this.lineTo(t+i,n),this.lineTo(t,n)},l.prototype.fillRect=function(t,n,i,r){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r))throw it.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!v.call(this)){var e={};"butt"!==this.lineCap&&(e.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(e.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,n,i,r),this.fill(),e.hasOwnProperty("lineCap")&&(this.lineCap=e.lineCap),e.hasOwnProperty("lineJoin")&&(this.lineJoin=e.lineJoin)}},l.prototype.strokeRect=function(t,n,i,r){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r))throw it.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(t,n,i,r),this.stroke())},l.prototype.clearRect=function(t,n,i,r){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r))throw it.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,n,i,r))},l.prototype.save=function(t){t="boolean"!=typeof t||t;for(var n=this.pdf.internal.getCurrentPageInfo().pageNumber,i=0;i<this.pdf.internal.getNumberOfPages();i++)this.pdf.setPage(i+1),this.pdf.internal.out("q");if(this.pdf.setPage(n),t){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},l.prototype.restore=function(t){t="boolean"!=typeof t||t;for(var n=this.pdf.internal.getCurrentPageInfo().pageNumber,i=0;i<this.pdf.internal.getNumberOfPages();i++)this.pdf.setPage(i+1),this.pdf.internal.out("Q");this.pdf.setPage(n),t&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},l.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var d=function(t){var n,i,r,e;if(!0===t.isCanvasGradient&&(t=t.getColor()),!t)return{r:0,g:0,b:0,a:0,style:t};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(t))n=0,i=0,r=0,e=0;else{var s=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(t);if(null!==s)n=parseInt(s[1]),i=parseInt(s[2]),r=parseInt(s[3]),e=1;else if(null!==(s=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(t)))n=parseInt(s[1]),i=parseInt(s[2]),r=parseInt(s[3]),e=parseFloat(s[4]);else{if(e=1,"string"==typeof t&&"#"!==t.charAt(0)){var o=new ft(t);t=o.ok?o.toHex():"#000000"}4===t.length?(n=t.substring(1,2),n+=n,i=t.substring(2,3),i+=i,r=t.substring(3,4),r+=r):(n=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7)),n=parseInt(n,16),i=parseInt(i,16),r=parseInt(r,16)}}return{r:n,g:i,b:r,a:e,style:t}},v=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},m=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};l.prototype.fillText=function(t,n,i,r){if(isNaN(n)||isNaN(i)||"string"!=typeof t)throw it.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!v.call(this)){var e=R(this.ctx.transform.rotation);M.call(this,{text:t,x:n,y:i,scale:this.ctx.transform.scaleX,angle:e,align:this.textAlign,maxWidth:r})}},l.prototype.strokeText=function(t,n,i,r){if(isNaN(n)||isNaN(i)||"string"!=typeof t)throw it.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){r=isNaN(r)?void 0:r;var e=R(this.ctx.transform.rotation);M.call(this,{text:t,x:n,y:i,scale:this.ctx.transform.scaleX,renderingMode:"stroke",angle:e,align:this.textAlign,maxWidth:r})}},l.prototype.measureText=function(t){if("string"!=typeof t)throw it.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var n=this.pdf,i=this.pdf.internal.scaleFactor,r=n.internal.getFontSize(),e=n.getStringUnitWidth(t)*r/n.internal.scaleFactor;return new function(t){var n=(t=t||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return n}}),this}({width:e*=Math.round(96*i/72*1e4)/1e4})},l.prototype.scale=function(t,n){if(isNaN(t)||isNaN(n))throw it.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var i=new f(t,0,0,n,0,0);this.ctx.transform=this.ctx.transform.multiply(i)},l.prototype.rotate=function(t){if(isNaN(t))throw it.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var n=new f(Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0);this.ctx.transform=this.ctx.transform.multiply(n)},l.prototype.translate=function(t,n){if(isNaN(t)||isNaN(n))throw it.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var i=new f(1,0,0,1,t,n);this.ctx.transform=this.ctx.transform.multiply(i)},l.prototype.transform=function(t,n,i,r,e,s){if(isNaN(t)||isNaN(n)||isNaN(i)||isNaN(r)||isNaN(e)||isNaN(s))throw it.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var o=new f(t,n,i,r,e,s);this.ctx.transform=this.ctx.transform.multiply(o)},l.prototype.setTransform=function(t,n,i,r,e,s){t=isNaN(t)?1:t,n=isNaN(n)?0:n,i=isNaN(i)?0:i,r=isNaN(r)?1:r,e=isNaN(e)?0:e,s=isNaN(s)?0:s,this.ctx.transform=new f(t,n,i,r,e,s)};var w=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};l.prototype.drawImage=function(t,n,i,r,e,s,o,a,c){var h=this.pdf.getImageProperties(t),l=1,d=1,v=1,m=1;void 0!==r&&void 0!==a&&(v=a/r,m=c/e,l=h.width/r*a/r,d=h.height/e*c/e),void 0===s&&(s=n,o=i,n=0,i=0),void 0!==r&&void 0===a&&(a=r,c=e),void 0===r&&void 0===a&&(a=h.width,c=h.height);for(var b,L=this.ctx.transform.decompose(),A=R(L.rotate.shx),k=new f,x=(k=(k=(k=k.multiply(L.translate)).multiply(L.skew)).multiply(L.scale)).applyToRectangle(new u(s-n*v,o-i*m,r*l,e*d)),S=p.call(this,x),q=[],j=0;j<S.length;j+=1)-1===q.indexOf(S[j])&&q.push(S[j]);if(N(q),this.autoPaging)for(var M=q[0],E=q[q.length-1],P=M;P<E+1;P++){this.pdf.setPage(P);var O=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],I=1===P?this.posY+this.margin[0]:this.margin[0],F=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],B=1===P?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(P-2)*F;if(0!==this.ctx.clip_path.length){var T=this.path;b=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(b,this.posX+this.margin[3],-B+I+this.ctx.prevPageLastElemOffset),y.call(this,"fill",!0),this.path=T}var C=JSON.parse(JSON.stringify(x));C=g([C],this.posX+this.margin[3],-B+I+this.ctx.prevPageLastElemOffset)[0];var D=(P>M||P<E)&&w.call(this);D&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],O,F,null).clip().discardPath()),this.pdf.addImage(t,"JPEG",C.x,C.y,C.w,C.h,null,null,A),D&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(t,"JPEG",x.x,x.y,x.w,x.h,null,null,A)};var p=function(t,n,i){var r=[];i=i||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var e=this.posY+this.ctx.prevPageLastElemOffset;switch(t.type){default:case"mt":case"lt":r.push(Math.floor((t.y+e)/i)+1);break;case"arc":r.push(Math.floor((t.y+e-t.radius)/i)+1),r.push(Math.floor((t.y+e+t.radius)/i)+1);break;case"qct":var s=B(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x,t.y);r.push(Math.floor((s.y+e)/i)+1),r.push(Math.floor((s.y+s.h+e)/i)+1);break;case"bct":var o=T(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x2,t.y2,t.x,t.y);r.push(Math.floor((o.y+e)/i)+1),r.push(Math.floor((o.y+o.h+e)/i)+1);break;case"rect":r.push(Math.floor((t.y+e)/i)+1),r.push(Math.floor((t.y+t.h+e)/i)+1)}for(var a=0;a<r.length;a+=1)for(;this.pdf.internal.getNumberOfPages()<r[a];)b.call(this);return r},b=function(){var t=this.fillStyle,n=this.strokeStyle,i=this.font,r=this.lineCap,e=this.lineWidth,s=this.lineJoin;this.pdf.addPage(),this.fillStyle=t,this.strokeStyle=n,this.font=i,this.lineCap=r,this.lineWidth=e,this.lineJoin=s},g=function(t,n,i){for(var r=0;r<t.length;r++)switch(t[r].type){case"bct":t[r].x2+=n,t[r].y2+=i;case"qct":t[r].x1+=n,t[r].y1+=i;default:t[r].x+=n,t[r].y+=i}return t},N=function(t){return t.sort((function(t,n){return t-n}))},L=function(t,n){for(var i,r,e=this.fillStyle,s=this.strokeStyle,o=this.lineCap,a=this.lineWidth,u=Math.abs(a*this.ctx.transform.scaleX),f=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),h=JSON.parse(JSON.stringify(this.path)),l=[],d=0;d<h.length;d++)if(void 0!==h[d].x)for(var v=p.call(this,h[d]),m=0;m<v.length;m+=1)-1===l.indexOf(v[m])&&l.push(v[m]);for(var L=0;L<l.length;L++)for(;this.pdf.internal.getNumberOfPages()<l[L];)b.call(this);if(N(l),this.autoPaging)for(var A=l[0],k=l[l.length-1],x=A;x<k+1;x++){this.pdf.setPage(x),this.fillStyle=e,this.strokeStyle=s,this.lineCap=o,this.lineWidth=u,this.lineJoin=f;var S=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],q=1===x?this.posY+this.margin[0]:this.margin[0],j=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],M=1===x?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(x-2)*j;if(0!==this.ctx.clip_path.length){var E=this.path;i=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(i,this.posX+this.margin[3],-M+q+this.ctx.prevPageLastElemOffset),y.call(this,t,!0),this.path=E}if(r=JSON.parse(JSON.stringify(c)),this.path=g(r,this.posX+this.margin[3],-M+q+this.ctx.prevPageLastElemOffset),!1===n||0===x){var P=(x>A||x<k)&&w.call(this);P&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],S,j,null).clip().discardPath()),y.call(this,t,n),P&&this.pdf.restoreGraphicsState()}this.lineWidth=a}else this.lineWidth=u,y.call(this,t,n),this.lineWidth=a;this.path=c},y=function(t,n){if(("stroke"!==t||n||!m.call(this))&&("stroke"===t||n||!v.call(this))){for(var i,r,e=[],s=this.path,o=0;o<s.length;o++){var a=s[o];switch(a.type){case"begin":e.push({begin:!0});break;case"close":e.push({close:!0});break;case"mt":e.push({start:a,deltas:[],abs:[]});break;case"lt":var u=e.length;if(s[o-1]&&!isNaN(s[o-1].x)&&(i=[a.x-s[o-1].x,a.y-s[o-1].y],u>0))for(;u>=0;u--)if(!0!==e[u-1].close&&!0!==e[u-1].begin){e[u-1].deltas.push(i),e[u-1].abs.push(a);break}break;case"bct":e[e.length-1].deltas.push(i=[a.x1-s[o-1].x,a.y1-s[o-1].y,a.x2-s[o-1].x,a.y2-s[o-1].y,a.x-s[o-1].x,a.y-s[o-1].y]);break;case"qct":e[e.length-1].deltas.push(i=[s[o-1].x+2/3*(a.x1-s[o-1].x)-s[o-1].x,s[o-1].y+2/3*(a.y1-s[o-1].y)-s[o-1].y,a.x+2/3*(a.x1-a.x)-s[o-1].x,a.y+2/3*(a.y1-a.y)-s[o-1].y,a.x-s[o-1].x,a.y-s[o-1].y]);break;case"arc":e.push({deltas:[],abs:[],arc:!0}),Array.isArray(e[e.length-1].abs)&&e[e.length-1].abs.push(a)}}r=n?null:"stroke"===t?"stroke":"fill";for(var f=!1,c=0;c<e.length;c++)if(e[c].arc)for(var h=e[c].abs,l=0;l<h.length;l++){var d=h[l];"arc"===d.type?x.call(this,d.x,d.y,d.radius,d.startAngle,d.endAngle,d.counterclockwise,void 0,n,!f):E.call(this,d.x,d.y),f=!0}else!0===e[c].close?(this.pdf.internal.out("h"),f=!1):!0!==e[c].begin&&(P.call(this,e[c].deltas,e[c].start.x,e[c].start.y),f=!0);r&&S.call(this,r),n&&q.call(this)}},A=function(t){var n=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,i=n*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return t-i;case"top":return t+n-i;case"hanging":return t+n-2*i;case"middle":return t+n/2-i;default:return t}},k=function(t){return t+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};l.prototype.createLinearGradient=function(){var t=function(){};return t.colorStops=[],t.addColorStop=function(t,n){this.colorStops.push([t,n])},t.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},t.isCanvasGradient=!0,t},l.prototype.createPattern=function(){return this.createLinearGradient()},l.prototype.createRadialGradient=function(){return this.createLinearGradient()};var x=function(t,n,i,r,e,s,o,a,u){for(var f=I.call(this,i,r,e,s),c=0;c<f.length;c++){var h=f[c];0===c&&(u?j.call(this,h.x1+t,h.y1+n):E.call(this,h.x1+t,h.y1+n)),O.call(this,t,n,h.x2,h.y2,h.x3,h.y3,h.x4,h.y4)}a?q.call(this):S.call(this,o)},S=function(t){switch(t){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},q=function(){this.pdf.clip(),this.pdf.discardPath()},j=function(t,n){this.pdf.internal.out(r(t)+" "+e(n)+" m")},M=function(t){var n;switch(t.align){case"right":case"end":n="right";break;case"center":n="center";break;default:n="left"}var i=this.pdf.getTextDimensions(t.text),r=A.call(this,t.y),e=k.call(this,r)-i.h,s=this.ctx.transform.applyToPoint(new a(t.x,r)),o=this.ctx.transform.decompose(),c=new f;c=(c=(c=c.multiply(o.translate)).multiply(o.skew)).multiply(o.scale);for(var h,l,d,v=this.ctx.transform.applyToRectangle(new u(t.x,r,i.w,i.h)),m=c.applyToRectangle(new u(t.x,e,i.w,i.h)),b=p.call(this,m),L=[],x=0;x<b.length;x+=1)-1===L.indexOf(b[x])&&L.push(b[x]);if(N(L),this.autoPaging)for(var S=L[0],q=L[L.length-1],j=S;j<q+1;j++){this.pdf.setPage(j);var M=1===j?this.posY+this.margin[0]:this.margin[0],E=this.pdf.internal.pageSize.height-this.margin[2],P=E-this.margin[0],O=this.pdf.internal.pageSize.width-this.margin[1],I=O-this.margin[3],F=1===j?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(j-2)*P;if(0!==this.ctx.clip_path.length){var R=this.path;h=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(h,this.posX+this.margin[3],-1*F+M),y.call(this,"fill",!0),this.path=R}var B=g([JSON.parse(JSON.stringify(m))],this.posX+this.margin[3],-F+M+this.ctx.prevPageLastElemOffset)[0];t.scale>=.01&&(l=this.pdf.internal.getFontSize(),this.pdf.setFontSize(l*t.scale),this.lineWidth=(d=this.lineWidth)*t.scale);var T="text"!==this.autoPaging;if(T||B.y+B.h<=E){if(T||B.y>=M&&B.x<=O){var C=T?t.text:this.pdf.splitTextToSize(t.text,t.maxWidth||O-B.x)[0],D=g([JSON.parse(JSON.stringify(v))],this.posX+this.margin[3],-F+M+this.ctx.prevPageLastElemOffset)[0],z=T&&(j>S||j<q)&&w.call(this);z&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],I,P,null).clip().discardPath()),this.pdf.text(C,D.x,D.y,{angle:t.angle,align:n,renderingMode:t.renderingMode}),z&&this.pdf.restoreGraphicsState()}}else B.y<E&&(this.ctx.prevPageLastElemOffset+=E-B.y);t.scale>=.01&&(this.pdf.setFontSize(l),this.lineWidth=d)}else t.scale>=.01&&(l=this.pdf.internal.getFontSize(),this.pdf.setFontSize(l*t.scale),this.lineWidth=(d=this.lineWidth)*t.scale),this.pdf.text(t.text,s.x+this.posX,s.y+this.posY,{angle:t.angle,align:n,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(l),this.lineWidth=d)},E=function(t,n,i,s){s=s||0,this.pdf.internal.out(r(t+(i=i||0))+" "+e(n+s)+" l")},P=function(t,n,i){return this.pdf.lines(t,n,i,null,null)},O=function(t,n,r,e,a,u,f,c){this.pdf.internal.out([i(s(r+t)),i(o(e+n)),i(s(a+t)),i(o(u+n)),i(s(f+t)),i(o(c+n)),"c"].join(" "))},I=function(t,n,i,r){for(var e=2*Math.PI,s=Math.PI/2;n>i;)n-=e;var o=Math.abs(i-n);o<e&&r&&(o=e-o);for(var a=[],u=r?-1:1,f=n;o>1e-5;){var c=f+u*Math.min(o,s);a.push(F.call(this,t,f,c)),o-=Math.abs(c-f),f=c}return a},F=function(t,n,i){var r=(i-n)/2,e=t*Math.cos(r),s=t*Math.sin(r),o=e,a=-s,u=o*o+a*a,f=u+o*e+a*s,c=4/3*(Math.sqrt(2*u*f)-f)/(o*s-a*e),h=o-c*a,l=a+c*o,d=h,v=-l,m=r+n,w=Math.cos(m),p=Math.sin(m);return{x1:t*Math.cos(n),y1:t*Math.sin(n),x2:h*w-l*p,y2:h*p+l*w,x3:d*w-v*p,y3:d*p+v*w,x4:t*Math.cos(i),y4:t*Math.sin(i)}},R=function(t){return 180*t/Math.PI},B=function(t,n,i,r,e,s){var o=t+.5*(i-t),a=n+.5*(r-n),f=e+.5*(i-e),c=s+.5*(r-s),h=Math.min(t,e,o,f),l=Math.max(t,e,o,f),d=Math.min(n,s,a,c),v=Math.max(n,s,a,c);return new u(h,d,l-h,v-d)},T=function(t,n,i,r,e,s,o,a){var f,c,h,l,d,v,m,w,p,b,g,N,L,y,A=i-t,k=r-n,x=e-i,S=s-r,q=o-e,j=a-s;for(c=0;c<41;c++)p=(m=(h=t+(f=c/40)*A)+f*((d=i+f*x)-h))+f*(d+f*(e+f*q-d)-m),b=(w=(l=n+f*k)+f*((v=r+f*S)-l))+f*(v+f*(s+f*j-v)-w),0==c?(g=p,N=b,L=p,y=b):(g=Math.min(g,p),N=Math.min(N,b),L=Math.max(L,p),y=Math.max(y,b));return new u(Math.round(g),Math.round(N),Math.round(L-g),Math.round(y-N))},C=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var t=JSON.stringify({lineDash:this.ctx.lineDash,lineDashOffset:this.ctx.lineDashOffset});this.prevLineDash!==t&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=t)}}}(It.API),
|
134
|
+
/**
|
135
|
+
* @license
|
136
|
+
* jsPDF filters PlugIn
|
137
|
+
* Copyright (c) 2014 Aras Abbasi
|
138
|
+
*
|
139
|
+
* Licensed under the MIT License.
|
140
|
+
* http://opensource.org/licenses/mit-license
|
141
|
+
*/
|
142
|
+
function(){var t=function(t){var n,i,r,e,s,o,a,u,f,c;for(/[^\x00-\xFF]/.test(t),i=[],r=0,e=(t+=n="\0\0\0\0".slice(t.length%4||4)).length;e>r;r+=4)0!==(s=(t.charCodeAt(r)<<24)+(t.charCodeAt(r+1)<<16)+(t.charCodeAt(r+2)<<8)+t.charCodeAt(r+3))?(o=(s=((s=((s=((s=(s-(c=s%85))/85)-(f=s%85))/85)-(u=s%85))/85)-(a=s%85))/85)%85,i.push(o+33,a+33,u+33,f+33,c+33)):i.push(122);return function(t,n){for(var i=n;i>0;i--)t.pop()}(i,n.length),String.fromCharCode.apply(String,i)+"~>"},n=function(t){var n,i,r,e,s,o=String,a="length",u=255,f="charCodeAt",c="slice",h="replace";for(t[c](-2),t=t[c](0,-2)[h](/\s/g,"")[h]("z","!!!!!"),r=[],e=0,s=(t+=n="uuuuu"[c](t[a]%5||5))[a];s>e;e+=5)i=52200625*(t[f](e)-33)+614125*(t[f](e+1)-33)+7225*(t[f](e+2)-33)+85*(t[f](e+3)-33)+(t[f](e+4)-33),r.push(u&i>>24,u&i>>16,u&i>>8,u&i);return function(t,n){for(var i=n;i>0;i--)t.pop()}(r,n[a]),o.fromCharCode.apply(o,r)},i=function(t){var n=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===n.test(t))return"";for(var i="",r=0;r<t.length;r+=2)i+=String.fromCharCode("0x"+(t[r]+t[r+1]));return i},r=function(t){for(var n=new Uint8Array(t.length),i=t.length;i--;)n[i]=t.charCodeAt(i);return(n=Z(n)).reduce((function(t,n){return t+String.fromCharCode(n)}),"")};It.API.processDataByFilters=function(e,s){var o=0,a=e||"",u=[];for("string"==typeof(s=s||[])&&(s=[s]),o=0;o<s.length;o+=1)switch(s[o]){case"ASCII85Decode":case"/ASCII85Decode":a=n(a),u.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":a=t(a),u.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":a=i(a),u.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":a=a.split("").map((function(t){return("0"+t.charCodeAt().toString(16)).slice(-2)})).join("")+">",u.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":a=r(a),u.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[o]+'" is not implemented')}return{data:a,reverseChain:u.reverse().join(" ")}}}(),
|
143
|
+
/**
|
144
|
+
* @license
|
145
|
+
* jsPDF fileloading PlugIn
|
146
|
+
* Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
|
147
|
+
*
|
148
|
+
* Licensed under the MIT License.
|
149
|
+
* http://opensource.org/licenses/mit-license
|
150
|
+
*/
|
151
|
+
function(t){t.loadFile=function(t,n,i){return function(t,n,i){n=!1!==n,i="function"==typeof i?i:function(){};var r=void 0;try{r=function(t,n,i){var r=new XMLHttpRequest,e=0,s=function(t){var n=t.length,i=[],r=String.fromCharCode;for(e=0;e<n;e+=1)i.push(r(255&t.charCodeAt(e)));return i.join("")};if(r.open("GET",t,!n),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===n&&(r.onload=function(){i(200===r.status?s(this.responseText):void 0)}),r.send(null),n&&200===r.status)return s(r.responseText)}(t,n,i)}catch(t){}return r}(t,n,i)},t.loadImageFile=t.loadFile}(It.API),function(n){function i(){return(tt.html2canvas?Promise.resolve(tt.html2canvas):import("./p-7d1af07b.js").then((function(t){return t.h}))).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function r(){return(tt.DOMPurify?Promise.resolve(tt.DOMPurify):import("./p-ad83a5ba.js").then((function(t){return t.p}))).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var e=function(n){var i=t(n);return"undefined"===i?"undefined":"string"===i||n instanceof String?"string":"number"===i||n instanceof Number?"number":"function"===i||n instanceof Function?"function":n&&n.constructor===Array?"array":n&&1===n.nodeType?"element":"object"===i?"object":"unknown"},s=function(t,n){var i=document.createElement(t);for(var r in n.className&&(i.className=n.className),n.innerHTML&&n.dompurify&&(i.innerHTML=n.dompurify.sanitize(n.innerHTML)),n.style)i.style[r]=n.style[r];return i},o=function t(n){var i=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),r=t.convert(Promise.resolve(),i);return(r=r.setProgress(1,t,1,[t])).set(n)};(o.prototype=Object.create(Promise.prototype)).constructor=o,o.convert=function(t,n){return t.__proto__=n||o.prototype,t},o.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},o.prototype.from=function(t,n){return this.then((function(){switch(n=n||function(t){switch(e(t)){case"string":return"string";case"element":return"canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(t)){case"string":return this.then(r).then((function(n){return this.set({src:s("div",{innerHTML:t,dompurify:n})})}));case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}}))},o.prototype.to=function(t){switch(t){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},o.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var t={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},n=function t(n,i){for(var r=3===n.nodeType?document.createTextNode(n.nodeValue):n.cloneNode(!1),e=n.firstChild;e;e=e.nextSibling)!0!==i&&1===e.nodeType&&"SCRIPT"===e.nodeName||r.appendChild(t(e,i));return 1===n.nodeType&&("CANVAS"===n.nodeName?(r.width=n.width,r.height=n.height,r.getContext("2d").drawImage(n,0,0)):"TEXTAREA"!==n.nodeName&&"SELECT"!==n.nodeName||(r.value=n.value),r.addEventListener("load",(function(){r.scrollTop=n.scrollTop,r.scrollLeft=n.scrollLeft}),!0)),r}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===n.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=s("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=s("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(n),this.prop.container.firstChild.appendChild(s("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},o.prototype.toCanvas=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(i).then((function(t){var n=Object.assign({},this.opt.html2canvas);return delete n.onrendered,t(this.prop.container,n)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},o.prototype.toContext2d=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(i).then((function(t){var n=this.opt.jsPDF,i=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,e=Object.assign({async:!0,allowTaint:!0,scale:r,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete e.onrendered,n.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,n.context2d.posX=this.opt.x,n.context2d.posY=this.opt.y,n.context2d.margin=this.opt.margin,n.context2d.fontFaces=i,i)for(var s=0;s<i.length;++s){var o=i[s],a=o.src.find((function(t){return"truetype"===t.format}));a&&n.addFont(a.url,o.ref.name,o.ref.style)}return e.windowHeight=e.windowHeight||0,e.windowHeight=0==e.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):e.windowHeight,n.context2d.save(!0),t(this.prop.container,e)})).then((function(t){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},o.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var t=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=t}))},o.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},o.prototype.output=function(t,n,i){return"img"===(i=i||"pdf").toLowerCase()||"image"===i.toLowerCase()?this.outputImg(t,n):this.outputPdf(t,n)},o.prototype.outputPdf=function(t,n){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(t,n)}))},o.prototype.outputImg=function(t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(t){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+t+'" is not supported.'}}))},o.prototype.save=function(t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(t?{filename:t}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},o.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},o.prototype.set=function(t){if("object"!==e(t))return this;var n=Object.keys(t||{}).map((function(n){if(n in o.template.prop)return function(){this.prop[n]=t[n]};switch(n){case"margin":return this.setMargin.bind(this,t.margin);case"jsPDF":return function(){return this.opt.jsPDF=t.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,t.pageSize);default:return function(){this.opt[n]=t[n]}}}),this);return this.then((function(){return this.thenList(n)}))},o.prototype.get=function(t,n){return this.then((function(){var i=t in o.template.prop?this.prop[t]:this.opt[t];return n?n(i):i}))},o.prototype.setMargin=function(t){return this.then((function(){switch(e(t)){case"number":t=[t,t,t,t];case"array":if(2===t.length&&(t=[t[0],t[1],t[0],t[1]]),4===t.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=t})).then(this.setPageSize)},o.prototype.setPageSize=function(t){function n(t,n){return Math.floor(t*n/72*96)}return this.then((function(){(t=t||It.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(t.inner={width:t.width-this.opt.margin[1]-this.opt.margin[3],height:t.height-this.opt.margin[0]-this.opt.margin[2]},t.inner.px={width:n(t.inner.width,t.k),height:n(t.inner.height,t.k)},t.inner.ratio=t.inner.height/t.inner.width),this.prop.pageSize=t}))},o.prototype.setProgress=function(t,n,i,r){return null!=t&&(this.progress.val=t),null!=n&&(this.progress.state=n),null!=i&&(this.progress.n=i),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},o.prototype.updateProgress=function(t,n,i,r){return this.setProgress(t?this.progress.val+t:null,n||null,i?this.progress.n+i:null,r?this.progress.stack.concat(r):null)},o.prototype.then=function(t,n){var i=this;return this.thenCore(t,n,(function(t,n){return i.updateProgress(null,null,1,[t]),Promise.prototype.then.call(this,(function(n){return i.updateProgress(null,t),n})).then(t,n).then((function(t){return i.updateProgress(1),t}))}))},o.prototype.thenCore=function(t,n,i){i=i||Promise.prototype.then,t&&(t=t.bind(this)),n&&(n=n.bind(this));var r=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:o.convert(Object.assign({},this),Promise.prototype),e=i.call(r,t,n);return o.convert(e,this.__proto__)},o.prototype.thenExternal=function(t,n){return Promise.prototype.then.call(this,t,n)},o.prototype.thenList=function(t){var n=this;return t.forEach((function(t){n=n.thenCore(t)})),n},o.prototype.catch=function(t){t&&(t=t.bind(this));var n=Promise.prototype.catch.call(this,t);return o.convert(n,this)},o.prototype.catchExternal=function(t){return Promise.prototype.catch.call(this,t)},o.prototype.error=function(t){return this.then((function(){throw new Error(t)}))},o.prototype.using=o.prototype.set,o.prototype.saveAs=o.prototype.save,o.prototype.export=o.prototype.output,o.prototype.run=o.prototype.then,It.getPageSize=function(n,i,r){if("object"===t(n)){var e=n;n=e.orientation,i=e.unit||i,r=e.format||r}i=i||"mm",r=r||"a4",n=(""+(n||"P")).toLowerCase();var s,o=(""+r).toLowerCase(),a={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(i){case"pt":s=1;break;case"mm":s=72/25.4;break;case"cm":s=72/2.54;break;case"in":s=72;break;case"px":s=.75;break;case"pc":case"em":s=12;break;case"ex":s=6;break;default:throw"Invalid unit: "+i}var u,f=0,c=0;if(a.hasOwnProperty(o))f=a[o][1]/s,c=a[o][0]/s;else try{f=r[1],c=r[0]}catch(t){throw new Error("Invalid format: "+r)}if("p"===n||"portrait"===n)n="p",c>f&&(u=c,c=f,f=u);else{if("l"!==n&&"landscape"!==n)throw"Invalid orientation: "+n;n="l",f>c&&(u=c,c=f,f=u)}return{width:c,height:f,unit:i,k:s,orientation:n}},n.html=function(t,n){(n=n||{}).callback=n.callback||function(){},n.html2canvas=n.html2canvas||{},n.html2canvas.canvas=n.html2canvas.canvas||this.canvas,n.jsPDF=n.jsPDF||this,n.fontFaces=n.fontFaces?n.fontFaces.map(jn):null;var i=new o(n);return n.worker?i:i.from(t).doCallback()}}(It.API),It.API.addJS=function(t){return Cn=t,this.internal.events.subscribe("postPutResources",(function(){Bn=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Bn+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Tn=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Cn+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Bn&&void 0!==Tn&&this.internal.out("/Names <</JavaScript "+Bn+" 0 R>>")})),this
|
152
|
+
/**
|
153
|
+
* @license
|
154
|
+
* Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
|
155
|
+
*
|
156
|
+
* Licensed under the MIT License.
|
157
|
+
* http://opensource.org/licenses/mit-license
|
158
|
+
*/},function(t){var n;t.events.push(["postPutResources",function(){var t=this,i=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=t.outline.render().split(/\r\n/),e=0;e<r.length;e++){var s=r[e],o=i.exec(s);null!=o&&t.internal.newObjectDeferredBegin(o[1],!1),t.internal.write(s)}if(this.outline.createNamedDestinations){var a=this.internal.pages.length,u=[];for(e=0;e<a;e++){var f=t.internal.newObject();u.push(f);var c=t.internal.getPageInfo(e+1);t.internal.write("<< /D["+c.objId+" 0 R /XYZ null null null]>> endobj")}var h=t.internal.newObject();for(t.internal.write("<< /Names [ "),e=0;e<u.length;e++)t.internal.write("(page_"+(e+1)+")"+u[e]+" 0 R");t.internal.write(" ] >>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+h+" 0 R"),t.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+n+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,n,i){var r={title:n,options:i,children:[]};return null==t&&(t=this.root),t.children.push(r),r},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(n){n.id=t.internal.newObjectDeferred();for(var i=0;i<n.children.length;i++)this.genIds_r(n.children[i])},t.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),t.children.length>0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(n){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<n.children.length;r++){var e=n.children[r];this.objStart(e),this.line("/Title "+this.makeString(e.title)),this.line("/Parent "+this.makeRef(n)),r>0&&this.line("/Prev "+this.makeRef(n.children[r-1])),r<n.children.length-1&&this.line("/Next "+this.makeRef(n.children[r+1])),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1])));var s=this.count=this.count_r({count:0},e);if(s>0&&this.line("/Count "+s),e.options&&e.options.pageNumber){var o=t.internal.getPageInfo(e.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var a=0;a<n.children.length;a++)this.renderItems(n.children[a])},t.outline.line=function(t){this.ctx.val+=t+"\r\n"},t.outline.makeRef=function(t){return t.id+" 0 R"},t.outline.makeString=function(n){return"("+t.internal.pdfEscape(n)+")"},t.outline.objStart=function(t){this.ctx.val+="\r\n"+t.id+" 0 obj\r\n<<\r\n"},t.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},t.outline.count_r=function(t,n){for(var i=0;i<n.children.length;i++)t.count++,this.count_r(t,n.children[i]);return t.count}}])}(It.API),
|
159
|
+
/**
|
160
|
+
* @license
|
161
|
+
*
|
162
|
+
* Licensed under the MIT License.
|
163
|
+
* http://opensource.org/licenses/mit-license
|
164
|
+
*/
|
165
|
+
Dn=[192,193,194,195,196,197,198,199],It.API.processJPEG=function(t,n,i,r,e,s){var o,a=this.decode.DCT_DECODE,u=null;if("string"==typeof t||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=this.__addimage__.isArrayBuffer(t=e||t)?new Uint8Array(t):t,(o=function(t){for(var n,i=256*t.charCodeAt(4)+t.charCodeAt(5),r=t.length,e={width:0,height:0,numcomponents:1},s=4;s<r;s+=2){if(-1!==Dn.indexOf(t.charCodeAt((s+=i)+1))){n=256*t.charCodeAt(s+5)+t.charCodeAt(s+6),e={width:256*t.charCodeAt(s+7)+t.charCodeAt(s+8),height:n,numcomponents:t.charCodeAt(s+9)};break}i=256*t.charCodeAt(s+2)+t.charCodeAt(s+3)}return e}(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t)).numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}u={data:t,width:o.width,height:o.height,colorSpace:s,bitsPerComponent:8,filter:a,index:n,alias:i}}return u};var Un,Vn,Wn,_n,Hn,Gn=function(){var t,n,i;function r(t){var n,i,r,e,s,o,a,u,f,c,h,l,d;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},s=null;;){switch(n=this.readUInt32(),u=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(String.fromCharCode(this.data[this.pos++]));return n}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(n);break;case"fcTL":s&&this.animation.frames.push(s),this.pos+=4,s={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},e=this.readUInt16(),r=this.readUInt16()||100,s.delay=1e3*e/r,s.disposeOp=this.data[this.pos++],s.blendOp=this.data[this.pos++],s.data=[];break;case"IDAT":case"fdAT":for("fdAT"===u&&(this.pos+=4,n-=4),t=(null!=s?s.data:void 0)||this.imgData,h=0;0<=n?h<n:h>n;0<=n?++h:--h)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(i=this.palette.length/3,this.transparency.indexed=this.read(n),this.transparency.indexed.length>i)throw new Error("More transparent colors than palette size");if((f=i-this.transparency.indexed.length)>0)for(l=0;0<=f?l<f:l>f;0<=f?++l:--l)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(n)[0];break;case 2:this.transparency.rgb=this.read(n)}break;case"tEXt":o=(c=this.read(n)).indexOf(0),a=String.fromCharCode.apply(String,c.slice(0,o)),this.text[a]=String.fromCharCode.apply(String,c.slice(o+1));break;case"IEND":return s&&this.animation.frames.push(s),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(d=this.colorType)||6===d,this.pixelBitlength=this.bits*(this.colors+(this.hasAlphaChannel?1:0)),this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=n}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.prototype.read=function(t){var n,i;for(i=[],n=0;0<=t?n<t:n>t;0<=t?++n:--n)i.push(this.data[this.pos++]);return i},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(t){var n,i,r=this.pixelBitlength/8,e=new Uint8Array(this.width*this.height*r),s=0,o=this;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);function a(n,i,a,u){var f,c,h,l,d,v,m,w,p,b,g,N,L,y,A,k,x,S,q,j,M=Math.ceil((o.width-n)/a),E=Math.ceil((o.height-i)/u),P=o.width==M&&o.height==E;for(L=r*M,g=P?e:new Uint8Array(L*E),v=t.length,N=0,c=0;N<E&&s<v;){switch(t[s++]){case 0:for(l=k=0;k<L;l=k+=1)g[c++]=t[s++];break;case 1:for(l=x=0;x<L;l=x+=1)f=t[s++],d=l<r?0:g[c-r],g[c++]=(f+d)%256;break;case 2:for(l=S=0;S<L;l=S+=1)f=t[s++],h=(l-l%r)/r,g[c++]=((y=N&&g[(N-1)*L+h*r+l%r])+f)%256;break;case 3:for(l=q=0;q<L;l=q+=1)f=t[s++],h=(l-l%r)/r,d=l<r?0:g[c-r],y=N&&g[(N-1)*L+h*r+l%r],g[c++]=(f+Math.floor((d+y)/2))%256;break;case 4:for(l=j=0;j<L;l=j+=1)f=t[s++],h=(l-l%r)/r,0===N?y=A=0:(y=g[(N-1)*L+h*r+l%r],A=h&&g[(N-1)*L+(h-1)*r+l%r]),m=(d=l<r?0:g[c-r])+y-A,w=Math.abs(m-d),p=Math.abs(m-y),b=Math.abs(m-A),g[c++]=(f+(w<=p&&w<=b?d:p<=b?y:A))%256;break;default:throw new Error("Invalid filter algorithm: "+t[s-1])}if(!P){var O=((i+N*u)*o.width+n)*r,I=N*L;for(l=0;l<M;l+=1){for(var F=0;F<r;F+=1)e[O++]=g[I++];O+=(a-1)*r}}N++}}return t=function(t,n,i,r){var e=t.length,s=r?r.length:0;if(!e||n.f&&!n.l)return i||new c(0);var o=!i,a=o||2!=n.i,u=n.i;o&&(i=new c(3*e));var f=function(t){var n=i.length;if(t>n){var r=new c(Math.max(2*n,t));r.set(i),i=r}},h=n.f||0,l=n.p||0,w=n.b||0,p=n.l,g=n.d,N=n.m,y=n.n,A=8*e;do{if(!p){h=F(t,l,1);var k=F(t,l+1,3);if(l+=3,!k){var x=t[(H=B(l)+4)-4]|t[H-3]<<8,q=H+x;if(q>e){u&&D(0);break}a&&f(w+x),i.set(t.subarray(H,q),w),n.b=w+=x,n.p=l=8*q,n.f=h;continue}if(1==k)p=E,g=O,N=9,y=5;else if(2==k){var j=F(t,l,31)+257,M=F(t,l+10,15)+4,P=j+F(t,l+5,31)+1;l+=14;for(var C=new c(P),z=new c(19),U=0;U<M;++U)z[m[U]]=F(t,l+3*U,7);l+=3*M;var V=I(z),W=(1<<V)-1,_=S(z,V,1);for(U=0;U<P;){var H,G=_[F(t,l,W)];if(l+=15&G,(H=G>>4)<16)C[U++]=H;else{var J=0,$=0;for(16==H?($=3+F(t,l,3),l+=2,J=C[U-1]):17==H?($=3+F(t,l,7),l+=3):18==H&&($=11+F(t,l,127),l+=7);$--;)C[U++]=J}}var Y=C.subarray(0,j),K=C.subarray(j);N=I(Y),y=I(K),p=S(Y,N,1),g=S(K,y,1)}else D(1);if(l>A){u&&D(0);break}}a&&f(w+131072);for(var X=(1<<N)-1,Z=(1<<y)-1,Q=l;;Q=l){var tt=(J=p[R(t,l)&X])>>4;if((l+=15&J)>A){u&&D(0);break}if(J||D(2),tt<256)i[w++]=tt;else{if(256==tt){Q=l,p=null;break}var nt=tt-254;tt>264&&(nt=F(t,l,(1<<(et=d[U=tt-257]))-1)+b[U],l+=et);var it=g[R(t,l)&Z],rt=it>>4;if(it||D(3),l+=15&it,K=L[rt],rt>3){var et=v[rt];K+=R(t,l)&(1<<et)-1,l+=et}if(l>A){u&&D(0);break}a&&f(w+131072);var st=w+nt;if(w<K){var ot=s-K,at=Math.min(K,st);for(ot+w<0&&D(3);w<at;++w)i[w]=r[ot+w]}for(;w<st;++w)i[w]=i[w-K]}}n.l=p,n.p=Q,n.b=w,n.f=h,p&&(h=1,n.m=N,n.d=g,n.n=y)}while(!h);return w!=i.length&&o?T(i,0,w):i.subarray(0,w)}((n=t).subarray(function(t,n){return(8!=(15&t[0])||t[0]>>4>7||(t[0]<<8|t[1])%31)&&D(6,"invalid zlib data"),(t[1]>>5&1)==+!n&&D(6,"invalid zlib data: "+(32&t[1]?"need":"unexpected")+" dictionary"),2+(t[1]>>3&4)}(n,i&&i.dictionary),-4),{i:2},i&&i.out,i&&i.dictionary),1==o.interlaceMethod?(a(0,0,8,8),a(4,0,8,8),a(0,4,4,8),a(2,0,4,4),a(0,2,2,4),a(1,0,2,2),a(0,1,1,2)):a(0,0,1,1),e},r.prototype.decodePalette=function(){var t,n,i,r,e,s,o,a,u;for(i=this.palette,s=this.transparency.indexed||[],e=new Uint8Array((s.length||0)+i.length),r=0,t=0,n=o=0,a=i.length;o<a;n=o+=3)e[r++]=i[n],e[r++]=i[n+1],e[r++]=i[n+2],e[r++]=null!=(u=s[t++])?u:255;return e},r.prototype.copyToImageData=function(t,n){var i,r,e,s,o,a,u,f,c,h,l;if(r=this.colors,c=null,i=this.hasAlphaChannel,this.palette.length&&(c=null!=(l=this._decodedPalette)?l:this._decodedPalette=this.decodePalette(),r=4,i=!0),f=(e=t.data||t).length,o=c||n,s=a=0,1===r)for(;s<f;)u=c?4*n[s/4]:a,h=o[u++],e[s++]=h,e[s++]=h,e[s++]=h,e[s++]=i?o[u++]:255,a=u;else for(;s<f;)u=c?4*n[s/4]:a,e[s++]=o[u++],e[s++]=o[u++],e[s++]=o[u++],e[s++]=i?o[u++]:255,a=u},r.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t};var e=function(){if("[object Window]"===Object.prototype.toString.call(tt)){try{n=tt.document.createElement("canvas"),i=n.getContext("2d")}catch(t){return!1}return!0}return!1};return e(),t=function(t){var r;if(!0===e())return i.width=t.width,i.height=t.height,i.clearRect(0,0,t.width,t.height),i.putImageData(t,0,0),(r=new Image).src=n.toDataURL(),r;throw new Error("This method requires a Browser with Canvas-capability.")},r.prototype.decodeFrames=function(n){var i,r,e,s,o,a,u,f;if(this.animation){for(f=[],r=o=0,a=(u=this.animation.frames).length;o<a;r=++o)e=n.createImageData((i=u[r]).width,i.height),s=this.decodePixels(new Uint8Array(i.data)),this.copyToImageData(e,s),i.imageData=e,f.push(i.image=t(e));return f}},r.prototype.renderFrame=function(t,n){var i,r,e;return i=(r=this.animation.frames)[n],e=r[n-1],0===n&&t.clearRect(0,0,this.width,this.height),1===(null!=e?e.disposeOp:void 0)?t.clearRect(e.xOffset,e.yOffset,e.width,e.height):2===(null!=e?e.disposeOp:void 0)&&t.putImageData(e.imageData,e.xOffset,e.yOffset),0===i.blendOp&&t.clearRect(i.xOffset,i.yOffset,i.width,i.height),t.drawImage(i.image,i.xOffset,i.yOffset)},r.prototype.animate=function(t){var n,i,r,e,s,o,a=this;return i=0,e=(o=this.animation).numFrames,r=o.frames,s=o.numPlays,(n=function(){var o,u;if(o=i++%e,u=r[o],a.renderFrame(t,o),e>1&&i/e<s)return a.animation._timeout=setTimeout(n,u.delay)})()},r.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},r.prototype.render=function(t){var n,i;return t._png&&t._png.stopAnimation(),t._png=this,t.width=this.width,t.height=this.height,n=t.getContext("2d"),this.animation?(this.decodeFrames(n),this.animate(n)):(i=n.createImageData(this.width,this.height),this.copyToImageData(i,this.decodePixels()),n.putImageData(i,0,0))},r}();
|
166
|
+
/**
|
167
|
+
* @license
|
168
|
+
*
|
169
|
+
* Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
|
170
|
+
*
|
171
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
172
|
+
* a copy of this software and associated documentation files (the
|
173
|
+
* "Software"), to deal in the Software without restriction, including
|
174
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
175
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
176
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
177
|
+
* the following conditions:
|
178
|
+
*
|
179
|
+
* The above copyright notice and this permission notice shall be
|
180
|
+
* included in all copies or substantial portions of the Software.
|
181
|
+
*
|
182
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
183
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
184
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
185
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
186
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
187
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
188
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
189
|
+
* ====================================================================
|
190
|
+
*/
|
191
|
+
/**
|
192
|
+
* @license
|
193
|
+
* (c) Dean McNamee <dean@gmail.com>, 2013.
|
194
|
+
*
|
195
|
+
* https://github.com/deanm/omggif
|
196
|
+
*
|
197
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
198
|
+
* of this software and associated documentation files (the "Software"), to
|
199
|
+
* deal in the Software without restriction, including without limitation the
|
200
|
+
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
201
|
+
* sell copies of the Software, and to permit persons to whom the Software is
|
202
|
+
* furnished to do so, subject to the following conditions:
|
203
|
+
*
|
204
|
+
* The above copyright notice and this permission notice shall be included in
|
205
|
+
* all copies or substantial portions of the Software.
|
206
|
+
*
|
207
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
208
|
+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
209
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
210
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
211
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
212
|
+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
213
|
+
* IN THE SOFTWARE.
|
214
|
+
*
|
215
|
+
* omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
|
216
|
+
* including animation and compression. It does not rely on any specific
|
217
|
+
* underlying system, so should run in the browser, Node, or Plask.
|
218
|
+
*/function Jn(t){var n=0;if(71!==t[n++]||73!==t[n++]||70!==t[n++]||56!==t[n++]||56!=(t[n++]+1&253)||97!==t[n++])throw new Error("Invalid GIF 87a/89a header.");var i=t[n++]|t[n++]<<8,r=t[n++]|t[n++]<<8,e=t[n++],s=1<<1+(7&e);n++,n++;var o=null,a=null;e>>7&&(o=n,a=s,n+=3*s);var u=!0,f=[],c=0,h=null,l=0,d=null;for(this.width=i,this.height=r;u&&n<t.length;)switch(t[n++]){case 33:switch(t[n++]){case 255:if(11!==t[n]||78==t[n+1]&&69==t[n+2]&&84==t[n+3]&&83==t[n+4]&&67==t[n+5]&&65==t[n+6]&&80==t[n+7]&&69==t[n+8]&&50==t[n+9]&&46==t[n+10]&&48==t[n+11]&&3==t[n+12]&&1==t[n+13]&&0==t[n+16])n+=14,d=t[n++]|t[n++]<<8,n++;else for(n+=12;;){if(!((S=t[n++])>=0))throw Error("Invalid block size");if(0===S)break;n+=S}break;case 249:if(4!==t[n++]||0!==t[n+4])throw new Error("Invalid graphics extension block.");var v=t[n++];c=t[n++]|t[n++]<<8,h=t[n++],!(1&v)&&(h=null),l=v>>2&7,n++;break;case 254:for(;;){if(!((S=t[n++])>=0))throw Error("Invalid block size");if(0===S)break;n+=S}break;default:throw new Error("Unknown graphic control label: 0x"+t[n-1].toString(16))}break;case 44:var m=t[n++]|t[n++]<<8,w=t[n++]|t[n++]<<8,p=t[n++]|t[n++]<<8,b=t[n++]|t[n++]<<8,g=t[n++],N=g>>6&1,L=1<<1+(7&g),y=o,A=a,k=!1;g>>7&&(k=!0,y=n,A=L,n+=3*L);var x=n;for(n++;;){var S;if(!((S=t[n++])>=0))throw Error("Invalid block size");if(0===S)break;n+=S}f.push({x:m,y:w,width:p,height:b,has_local_palette:k,palette_offset:y,palette_size:A,data_offset:x,data_length:n-x,transparent_index:h,interlaced:!!N,delay:c,disposal:l});break;case 59:u=!1;break;default:throw new Error("Unknown gif block: 0x"+t[n-1].toString(16))}this.numFrames=function(){return f.length},this.loopCount=function(){return d},this.frameInfo=function(t){if(t<0||t>=f.length)throw new Error("Frame index out of range.");return f[t]},this.decodeAndBlitFrameBGRA=function(n,r){var e=this.frameInfo(n),s=e.width*e.height,o=new Uint8Array(s);$n(t,e.data_offset,o,s);var a=e.palette_offset,u=e.transparent_index;null===u&&(u=256);var f=e.width,c=i-f,h=f,l=4*(e.y*i+e.x),d=4*((e.y+e.height)*i+e.x),v=l,m=4*c;!0===e.interlaced&&(m+=4*i*7);for(var w=8,p=0,b=o.length;p<b;++p){var g=o[p];if(0===h&&(h=f,(v+=m)>=d&&(m=4*c+4*i*(w-1),v=l+(f+c)*(w<<1),w>>=1)),g===u)v+=4;else{var N=t[a+3*g],L=t[a+3*g+1];r[v++]=t[a+3*g+2],r[v++]=L,r[v++]=N,r[v++]=255}--h}},this.decodeAndBlitFrameRGBA=function(n,r){var e=this.frameInfo(n),s=e.width*e.height,o=new Uint8Array(s);$n(t,e.data_offset,o,s);var a=e.palette_offset,u=e.transparent_index;null===u&&(u=256);var f=e.width,c=i-f,h=f,l=4*(e.y*i+e.x),d=4*((e.y+e.height)*i+e.x),v=l,m=4*c;!0===e.interlaced&&(m+=4*i*7);for(var w=8,p=0,b=o.length;p<b;++p){var g=o[p];if(0===h&&(h=f,(v+=m)>=d&&(m=4*c+4*i*(w-1),v=l+(f+c)*(w<<1),w>>=1)),g===u)v+=4;else{var N=t[a+3*g+1],L=t[a+3*g+2];r[v++]=t[a+3*g],r[v++]=N,r[v++]=L,r[v++]=255}--h}}}function $n(t,n,i,r){for(var e=t[n++],s=1<<e,o=s+1,a=o+1,u=e+1,f=(1<<u)-1,c=0,h=0,l=0,d=t[n++],v=new Int32Array(4096),m=null;;){for(;c<16&&0!==d;)h|=t[n++]<<c,c+=8,1===d?d=t[n++]:--d;if(c<u)break;var w=h&f;if(h>>=u,c-=u,w!==s){if(w===o)break;for(var p=w<a?w:m,b=0,g=p;g>s;)g=v[g]>>8,++b;var N=g;if(l+b+(p!==w?1:0)>r)return void it.log("Warning, gif stream longer than expected.");i[l++]=N;var L=l+=b;for(p!==w&&(i[l++]=N),g=p;b--;)i[--L]=255&(g=v[g]),g>>=8;null!==m&&a<4096&&(v[a++]=m<<8|N,a>=f+1&&u<12&&(++u,f=f<<1|1)),m=w}else a=o+1,f=(1<<(u=e+1))-1,m=null}return l!==r&&it.log("Warning, gif stream shorter than expected."),i}
|
219
|
+
/**
|
220
|
+
* @license
|
221
|
+
Copyright (c) 2008, Adobe Systems Incorporated
|
222
|
+
All rights reserved.
|
223
|
+
|
224
|
+
Redistribution and use in source and binary forms, with or without
|
225
|
+
modification, are permitted provided that the following conditions are
|
226
|
+
met:
|
227
|
+
|
228
|
+
* Redistributions of source code must retain the above copyright notice,
|
229
|
+
this list of conditions and the following disclaimer.
|
230
|
+
|
231
|
+
* Redistributions in binary form must reproduce the above copyright
|
232
|
+
notice, this list of conditions and the following disclaimer in the
|
233
|
+
documentation and/or other materials provided with the distribution.
|
234
|
+
|
235
|
+
* Neither the name of Adobe Systems Incorporated nor the names of its
|
236
|
+
contributors may be used to endorse or promote products derived from
|
237
|
+
this software without specific prior written permission.
|
238
|
+
|
239
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
240
|
+
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
241
|
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
242
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
243
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
244
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
245
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
246
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
247
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
248
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
249
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
250
|
+
*/function Yn(t){var n,i,r,e,s,o=Math.floor,a=new Array(64),u=new Array(64),f=new Array(64),c=new Array(64),h=new Array(65535),l=new Array(65535),d=new Array(64),v=new Array(64),m=[],w=0,p=7,b=new Array(64),g=new Array(64),N=new Array(64),L=new Array(256),y=new Array(2048),A=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],k=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],x=[0,1,2,3,4,5,6,7,8,9,10,11],S=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],q=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],j=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],M=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],P=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function O(t,n){for(var i=0,r=0,e=new Array,s=1;s<=16;s++){for(var o=1;o<=t[s];o++)e[n[r]]=[],e[n[r]][0]=i,e[n[r]][1]=s,r++,i++;i*=2}return e}function I(t){for(var n=t[0],i=t[1]-1;i>=0;)n&1<<i&&(w|=1<<p),i--,--p<0&&(255==w?(F(255),F(0)):F(w),p=7,w=0)}function F(t){m.push(t)}function R(t){F(t>>8&255),F(255&t)}function B(t,n,i,r,e){for(var s,o=e[0],a=e[240],u=function(t,n){var i,r,e,s,o,a,u,f,c,h,l=0;for(c=0;c<8;++c){var v=(i=t[l])+(f=t[l+7]),m=i-f,w=(r=t[l+1])+(u=t[l+6]),p=r-u,b=(e=t[l+2])+(a=t[l+5]),g=e-a,N=(s=t[l+3])+(o=t[l+4]),L=s-o,y=v+N,A=v-N,k=w+b,x=w-b;t[l]=y+k,t[l+4]=y-k;var S=.707106781*(x+A);t[l+2]=A+S,t[l+6]=A-S;var q=.382683433*((y=L+g)-(x=p+m)),j=.5411961*y+q,M=1.306562965*x+q,E=.707106781*(k=g+p),P=m+E,O=m-E;t[l+5]=O+j,t[l+3]=O-j,t[l+1]=P+M,t[l+7]=P-M,l+=8}for(l=0,c=0;c<8;++c){var I=(i=t[l])+(f=t[l+56]),F=i-f,R=(r=t[l+8])+(u=t[l+48]),B=r-u,T=(e=t[l+16])+(a=t[l+40]),C=e-a,D=(s=t[l+24])+(o=t[l+32]),z=s-o,U=I+D,V=I-D,W=R+T,_=R-T;t[l]=U+W,t[l+32]=U-W;var H=.707106781*(_+V);t[l+16]=V+H,t[l+48]=V-H;var G=.382683433*((U=z+C)-(_=B+F)),J=.5411961*U+G,$=1.306562965*_+G,Y=.707106781*(W=C+B),K=F+Y,X=F-Y;t[l+40]=X+J,t[l+24]=X-J,t[l+8]=K+$,t[l+56]=K-$,l++}for(c=0;c<64;++c)d[c]=(h=t[c]*n[c])>0?h+.5|0:h-.5|0;return d}(t,n),f=0;f<64;++f)v[A[f]]=u[f];var c=v[0]-i;i=v[0],0==c?I(r[0]):(I(r[l[s=32767+c]]),I(h[s]));for(var m=63;m>0&&0==v[m];)m--;if(0==m)return I(o),i;for(var w,p=1;p<=m;){for(var b=p;0==v[p]&&p<=m;)++p;var g=p-b;if(g>=16){w=g>>4;for(var N=1;N<=w;++N)I(a);g&=15}I(e[(g<<4)+l[s=32767+v[p]]]),I(h[s]),p++}return 63!=m&&I(o),i}function T(t){t=Math.min(Math.max(t,1),100),s!=t&&(function(t){for(var n=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],i=0;i<64;i++){var r=o((n[i]*t+50)/100);r=Math.min(Math.max(r,1),255),a[A[i]]=r}for(var e=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],s=0;s<64;s++){var h=o((e[s]*t+50)/100);h=Math.min(Math.max(h,1),255),u[A[s]]=h}for(var l=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,v=0;v<8;v++)for(var m=0;m<8;m++)f[d]=1/(a[A[d]]*l[v]*l[m]*8),c[d]=1/(u[A[d]]*l[v]*l[m]*8),d++}(t<50?Math.floor(5e3/t):Math.floor(200-2*t)),s=t)}this.encode=function(t,s){s&&T(s),m=new Array,w=0,p=7,R(65496),R(65504),R(16),F(74),F(70),F(73),F(70),F(0),F(1),F(1),F(0),R(1),R(1),F(0),F(0),function(){R(65499),R(132),F(0);for(var t=0;t<64;t++)F(a[t]);F(1);for(var n=0;n<64;n++)F(u[n])}(),function(t,n){R(65472),R(17),F(8),R(n),R(t),F(3),F(1),F(17),F(0),F(2),F(17),F(1),F(3),F(17),F(1)}(t.width,t.height),function(){R(65476),R(418),F(0);for(var t=0;t<16;t++)F(k[t+1]);for(var n=0;n<=11;n++)F(x[n]);F(16);for(var i=0;i<16;i++)F(S[i+1]);for(var r=0;r<=161;r++)F(q[r]);F(1);for(var e=0;e<16;e++)F(j[e+1]);for(var s=0;s<=11;s++)F(M[s]);F(17);for(var o=0;o<16;o++)F(E[o+1]);for(var a=0;a<=161;a++)F(P[a])}(),R(65498),R(12),F(3),F(1),F(0),F(2),F(17),F(3),F(17),F(0),F(63),F(0);var o=0,h=0,l=0;w=0,p=7,this.encode.displayName="_encode_";for(var d,v,L,A,O,C,D,z,U,V=t.data,W=t.height,_=4*t.width,H=0;H<W;){for(d=0;d<_;){for(O=_*H+d,D=-1,z=0,U=0;U<64;U++)C=O+(z=U>>3)*_+(D=4*(7&U)),H+z>=W&&(C-=_*(H+1+z-W)),d+D>=_&&(C-=d+D-_+4),v=V[C++],L=V[C++],A=V[C++],b[U]=(y[v]+y[L+256|0]+y[A+512|0]>>16)-128,g[U]=(y[v+768|0]+y[L+1024|0]+y[A+1280|0]>>16)-128,N[U]=(y[v+1280|0]+y[L+1536|0]+y[A+1792|0]>>16)-128;o=B(b,f,o,n,r),h=B(g,c,h,i,e),l=B(N,c,l,i,e),d+=32}H+=8}if(p>=0){var G=[];G[1]=p+1,G[0]=(1<<p+1)-1,I(G)}return R(65497),new Uint8Array(m)},t=t||50,function(){for(var t=String.fromCharCode,n=0;n<256;n++)L[n]=t(n)}(),n=O(k,x),i=O(j,M),r=O(S,q),e=O(E,P),function(){for(var t=1,n=2,i=1;i<=15;i++){for(var r=t;r<n;r++)l[32767+r]=i,h[32767+r]=[],h[32767+r][1]=i,h[32767+r][0]=r;for(var e=-(n-1);e<=-t;e++)l[32767+e]=i,h[32767+e]=[],h[32767+e][1]=i,h[32767+e][0]=n-1+e;t<<=1,n<<=1}}(),function(){for(var t=0;t<256;t++)y[t]=19595*t,y[t+256|0]=38470*t,y[t+512|0]=7471*t+32768,y[t+768|0]=-11059*t,y[t+1024|0]=-21709*t,y[t+1280|0]=32768*t+8421375,y[t+1536|0]=-27439*t,y[t+1792|0]=-5329*t}(),T(t)}
|
251
|
+
/**
|
252
|
+
* @license
|
253
|
+
* Copyright (c) 2017 Aras Abbasi
|
254
|
+
*
|
255
|
+
* Licensed under the MIT License.
|
256
|
+
* http://opensource.org/licenses/mit-license
|
257
|
+
*/function Kn(t,n){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!n,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Xn(t){function n(t){if(!t)throw Error("assert :P")}function i(t,n,i){for(var r=0;4>r;r++)if(t[n+r]!=i.charCodeAt(r))return!0;return!1}function r(t,n,i,r,e){for(var s=0;s<e;s++)t[n+s]=i[r+s]}function e(t,n,i,r){for(var e=0;e<r;e++)t[n+e]=i}function s(t){return new Int32Array(t)}function o(t,n){for(var i=[],r=0;r<t;r++)i.push(new n);return i}function a(t,n){var i=[];return function t(i,r,e){for(var s=e[r],o=0;o<s&&(i.push(e.length>r+1?[]:new n),!(e.length<r+1));o++)t(i[o],r+1,e)}(i,0,t),i}var u=function(){var t=this;function u(t,n){for(var i=1<<n-1>>>0;t&i;)i>>>=1;return i?(t&i-1)+i:t}function f(t,i,r,e,s){n(!(e%r));do{t[i+(e-=r)]=s}while(0<e)}function c(t,i,r,e,o){if(n(2328>=o),512>=o)var a=s(512);else if(null==(a=s(o)))return 0;return function(t,i,r,e,o,a){var c,l,d=i,v=1<<r,m=s(16),w=s(16);for(n(0!=o),n(null!=e),n(null!=t),n(0<r),l=0;l<o;++l){if(15<e[l])return 0;++m[e[l]]}if(m[0]==o)return 0;for(w[1]=0,c=1;15>c;++c){if(m[c]>1<<c)return 0;w[c+1]=w[c]+m[c]}for(l=0;l<o;++l)c=e[l],0<e[l]&&(a[w[c]++]=l);if(1==w[15])return(e=new h).g=0,e.value=a[0],f(t,d,1,v,e),v;var p,b=-1,g=v-1,N=0,L=1,y=1,A=1<<r;for(l=0,c=1,o=2;c<=r;++c,o<<=1){if(L+=y<<=1,0>(y-=m[c]))return 0;for(;0<m[c];--m[c])(e=new h).g=c,e.value=a[l++],f(t,d+N,o,A,e),N=u(N,c)}for(c=r+1,o=2;15>=c;++c,o<<=1){if(L+=y<<=1,0>(y-=m[c]))return 0;for(;0<m[c];--m[c]){if(e=new h,(N&g)!=b){for(d+=A,p=1<<(b=c)-r;15>b&&!(0>=(p-=m[b]));)++b,p<<=1;v+=A=1<<(p=b-r),t[i+(b=N&g)].g=p+r,t[i+b].value=d-i-b}e.g=c-r,e.value=a[l++],f(t,d+(N>>r),o,A,e),N=u(N,c)}}return L!=2*w[15]-1?0:v}(t,i,r,e,o,a)}function h(){this.value=this.g=0}function l(){this.value=this.g=0}function d(){this.G=o(5,h),this.H=s(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(Di,l)}function v(t,i,r,e){n(null!=t),n(null!=i),n(2147483648>e),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=i,t.pa=r,t.Jd=i,t.Yc=r+e,t.Zc=4<=e?r+e-4+1:r,S(t)}function m(t,n){for(var i=0;0<n--;)i|=j(t,128)<<n;return i}function w(t,n){var i=m(t,n);return q(t)?-i:i}function p(t,i,r,e){var s,o=0;for(n(null!=t),n(null!=i),n(4294967288>e),t.Sb=e,t.Ra=0,t.u=0,t.h=0,4<e&&(e=4),s=0;s<e;++s)o+=i[r+s]<<8*s;t.Ra=o,t.bb=e,t.oa=i,t.pa=r}function b(t){for(;8<=t.u&&t.bb<t.Sb;)t.Ra>>>=8,t.Ra+=t.oa[t.pa+t.bb]<<Vi-8>>>0,++t.bb,t.u-=8;A(t)&&(t.h=1,t.u=0)}function g(t,i){if(n(0<=i),!t.h&&i<=Ui){var r=y(t)&zi[i];return t.u+=i,b(t),r}return t.h=1,t.u=0}function N(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function L(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function y(t){return t.Ra>>>(t.u&Vi-1)>>>0}function A(t){return n(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>Vi}function k(t,n){t.u=n,t.h=A(t)}function x(t){t.u>=Wi&&(n(t.u>=Wi),b(t))}function S(t){n(null!=t&&null!=t.oa),t.pa<t.Zc?(t.I=(t.oa[t.pa++]|t.I<<8)>>>0,t.b+=8):(n(null!=t&&null!=t.oa),t.pa<t.Yc?(t.b+=8,t.I=t.oa[t.pa++]|t.I<<8):t.Ka?t.b=0:(t.I<<=8,t.b+=8,t.Ka=1))}function q(t){return m(t,1)}function j(t,n){var i=t.Ca;0>t.b&&S(t);var r=t.b,e=i*n>>>8,s=(t.I>>>r>e)+0;for(s?(i-=e,t.I-=e+1<<r>>>0):i=e+1,r=i,e=0;256<=r;)e+=8,r>>=8;return t.b-=r=7^e+_i[r],t.Ca=(i<<r)-1,s}function M(t,n,i){t[n+0]=i>>24&255,t[n+1]=i>>16&255,t[n+2]=i>>8&255,t[n+3]=255&i}function E(t,n){return t[n+0]|t[n+1]<<8}function P(t,n){return E(t,n)|t[n+2]<<16}function O(t,n){return E(t,n)|E(t,n+2)<<16}function I(t,i){var r=1<<i;return n(null!=t),n(0<i),t.X=s(r),null==t.X?0:(t.Mb=32-i,t.Xa=i,1)}function F(t,i){n(null!=t),n(null!=i),n(t.Xa==i.Xa),r(i.X,0,t.X,0,1<<i.Xa)}function R(){this.X=[],this.Xa=this.Mb=0}function B(t,i,r,e){n(null!=r),n(null!=e);var s=r[0],o=e[0];return 0==s&&(s=(t*o+i/2)/i),0==o&&(o=(i*s+t/2)/t),0>=s||0>=o?0:(r[0]=s,e[0]=o,1)}function T(t,n){return t+(1<<n)-1>>>n}function C(t,n){return((4278255360&t)+(4278255360&n)>>>0&4278255360)+((16711935&t)+(16711935&n)>>>0&16711935)>>>0}function D(n,i){t[i]=function(i,r,e,s,o,a,u){var f;for(f=0;f<o;++f){var c=t[n](a[u+f-1],e,s+f);a[u+f]=C(i[r+f],c)}}}function z(){this.ud=this.hd=this.jd=0}function U(t,n){return((4278124286&(t^n))>>>1)+(t&n)>>>0}function V(t){return 0<=t&&256>t?t:0>t?0:255<t?255:void 0}function W(t,n){return V(t+(t-n+.5>>1))}function _(t,n,i){return Math.abs(n-i)-Math.abs(t-i)}function H(t,n,i,r,e,s,o){for(r=s[o-1],i=0;i<e;++i)s[o+i]=r=C(t[n+i],r)}function G(t,n,i,r,e){var s;for(s=0;s<i;++s){var o=t[n+s],a=o>>8&255,u=16711935&(u=(u=16711935&o)+((a<<16)+a));r[e+s]=(4278255360&o)+u>>>0}}function J(t,n){n.jd=255&t,n.hd=t>>8&255,n.ud=t>>16&255}function $(t,n,i,r,e,s){var o;for(o=0;o<r;++o){var a=n[i+o],u=a>>>8,f=a,c=255&(c=(c=a>>>16)+((t.jd<<24>>24)*(u<<24>>24)>>>5));f=255&(f=(f+=(t.hd<<24>>24)*(u<<24>>24)>>>5)+((t.ud<<24>>24)*(c<<24>>24)>>>5)),e[s+o]=(4278255360&a)+(c<<16)+f}}function Y(n,i,r,e,s){t[i]=function(t,n,i,r,o,a,u,f,c){for(r=u;r<f;++r)for(u=0;u<c;++u)o[a++]=s(i[e(t[n++])])},t[n]=function(n,i,o,a,u,f,c){var h=8>>n.b,l=n.Ea,d=n.K[0],v=n.w;if(8>h)for(n=(1<<n.b)-1,v=(1<<h)-1;i<o;++i){var m,w=0;for(m=0;m<l;++m)m&n||(w=e(a[u++])),f[c++]=s(d[w&v]),w>>=h}else t["VP8LMapColor"+r](a,u,d,v,f,c,i,o,l)}}function K(t,n,i,r,e){for(i=n+i;n<i;){var s=t[n++];r[e++]=s>>16&255,r[e++]=s>>8&255,r[e++]=255&s}}function X(t,n,i,r,e){for(i=n+i;n<i;){var s=t[n++];r[e++]=s>>16&255,r[e++]=s>>8&255,r[e++]=255&s,r[e++]=s>>24&255}}function Z(t,n,i,r,e){for(i=n+i;n<i;){var s=(o=t[n++])>>16&240|o>>12&15,o=240&o|o>>28&15;r[e++]=s,r[e++]=o}}function Q(t,n,i,r,e){for(i=n+i;n<i;){var s=(o=t[n++])>>16&248|o>>13&7,o=o>>5&224|o>>3&31;r[e++]=s,r[e++]=o}}function tt(t,n,i,r,e){for(i=n+i;n<i;){var s=t[n++];r[e++]=255&s,r[e++]=s>>8&255,r[e++]=s>>16&255}}function nt(t,n,i,e,s,o){if(0==o)for(i=n+i;n<i;)M(e,((o=t[n++])[0]>>24|o[1]>>8&65280|o[2]<<8&16711680|o[3]<<24)>>>0),s+=32;else r(e,s,t,n,i)}function it(n,i){t[i][0]=t[n+"0"],t[i][1]=t[n+"1"],t[i][2]=t[n+"2"],t[i][3]=t[n+"3"],t[i][4]=t[n+"4"],t[i][5]=t[n+"5"],t[i][6]=t[n+"6"],t[i][7]=t[n+"7"],t[i][8]=t[n+"8"],t[i][9]=t[n+"9"],t[i][10]=t[n+"10"],t[i][11]=t[n+"11"],t[i][12]=t[n+"12"],t[i][13]=t[n+"13"],t[i][14]=t[n+"0"],t[i][15]=t[n+"0"]}function rt(t){return t==Wr||t==_r||t==Hr||t==Gr}function et(){this.eb=[],this.size=this.A=this.fb=0}function st(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ot(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new et,this.f.kb=new st,this.sd=null}function at(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ut(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ft(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function ct(t,n){var i=t.T,e=n.ba.f.RGBA,s=e.eb,o=e.fb+t.ka*e.A,a=pe[n.ba.S],u=t.y,f=t.O,c=t.f,h=t.N,l=t.ea,d=t.W,v=n.cc,m=n.dc,w=n.Mc,p=n.Nc,b=t.ka,g=t.ka+t.T,N=t.U,L=N+1>>1;for(0==b?a(u,f,null,null,c,h,l,d,c,h,l,d,s,o,null,null,N):(a(n.ec,n.fc,u,f,v,m,w,p,c,h,l,d,s,o-e.A,s,o,N),++i);b+2<g;b+=2)a(u,(f+=2*t.fa)-t.fa,u,f,v=c,m=h,w=l,p=d,c,h+=t.Rc,l,d+=t.Rc,s,(o+=2*e.A)-e.A,s,o,N);return f+=t.fa,t.j+g<t.o?(r(n.ec,n.fc,u,f,N),r(n.cc,n.dc,c,h,L),r(n.Mc,n.Nc,l,d,L),i--):1&g||a(u,f,null,null,c,h,l,d,c,h,l,d,s,o+e.A,null,null,N),i}function ht(t,i,r){var e=t.F,s=[t.J];if(null!=e){var o=t.U,a=i.ba.S,u=a==zr||a==Hr;i=i.ba.f.RGBA;var f=[0],c=t.ka;f[0]=t.T,t.Kb&&(0==c?--f[0]:(--c,s[0]-=t.width),t.j+t.ka+t.T==t.o&&(f[0]=t.o-t.j-c));var h=i.eb;t=xr(e,s[0],t.width,o,f,h,(c=i.fb+c*i.A)+(u?0:3),i.A),n(r==f),t&&rt(a)&&Ar(h,c,u,o,f,i.A)}return 0}function lt(t){var n=t.ma,i=n.ba.S,r=11>i,e=i==Tr||i==Dr||i==zr||i==Ur||12==i||rt(i);if(n.memory=null,n.Ib=null,n.Jb=null,n.Nd=null,!Bi(n.Oa,t,e?11:12))return 0;if(e&&rt(i)&&gi(),t.da)alert("todo:use_scaling");else{if(r){if(n.Ib=ft,t.Kb){if(n.memory=s(t.U+2*(i=t.U+1>>1)),null==n.memory)return 0;n.ec=n.memory,n.fc=0,n.cc=n.ec,n.dc=n.fc+t.U,n.Mc=n.cc,n.Nc=n.dc+i,n.Ib=ct,gi()}}else alert("todo:EmitYUV");e&&(n.Jb=ht,r&&pi())}if(r&&!Pe){for(t=0;256>t;++t)Oe[t]=89858*(t-128)+Se>>xe,Re[t]=-22014*(t-128)+Se,Fe[t]=-45773*(t-128),Ie[t]=113618*(t-128)+Se>>xe;for(t=qe;t<je;++t)Be[t-qe]=Ht(n=76283*(t-16)+Se>>xe,255),Te[t-qe]=Ht(n+8>>4,15);Pe=1}return 1}function dt(t){var i=t.ma,r=t.U,e=t.T;return n(!(1&t.ka)),0>=r||0>=e?0:(r=i.Ib(t,i),null!=i.Jb&&i.Jb(t,i,r),i.Dc+=r,1)}function vt(t){t.ma.memory=null}function mt(t,n,i,r){return 47!=g(t,8)?0:(n[0]=g(t,14)+1,i[0]=g(t,14)+1,r[0]=g(t,1),0!=g(t,3)?0:!t.h)}function wt(t,n){if(4>t)return t+1;var i=t-2>>1;return(2+(1&t)<<i)+g(n,i)+1}function pt(t,n){return 120<n?n-120:1<=(i=((i=Zr[n-1])>>4)*t+(8-(15&i)))?i:1;var i}function bt(t,n,i){var r=y(i),e=t[n+=255&r].g-8;return 0<e&&(k(i,i.u+8),r=y(i),n+=t[n].value,n+=r&(1<<e)-1),k(i,i.u+t[n].g),t[n].value}function gt(t,i,r){return r.g+=t.g,r.value+=t.value<<i>>>0,n(8>=r.g),t.g}function Nt(t,i,r){var e=t.xc;return n((i=0==e?0:t.vc[t.md*(r>>e)+(i>>e)])<t.Wb),t.Ya[i]}function Lt(t,i,e,s){var o=t.ab,a=t.c*i,u=t.C;i=u+i;var f=e,c=s;for(s=t.Ta,e=t.Ua;0<o--;){var h=t.gc[o],l=u,d=i,v=f,m=c,w=(c=s,f=e,h.Ea);switch(n(l<d),n(d<=h.nc),h.hc){case 2:Ji(v,m,(d-l)*w,c,f);break;case 0:var p=l,b=d,g=c,N=f,L=(S=h).Ea;0==p&&(Hi(v,m,null,null,1,g,N),H(v,m+1,0,0,L-1,g,N+1),m+=L,N+=L,++p);for(var y=1<<S.b,A=y-1,k=T(L,S.b),x=S.K,S=S.w+(p>>S.b)*k;p<b;){var q=x,j=S,M=1;for(Gi(v,m,g,N-L,1,g,N);M<L;){var E=(M&~A)+y;E>L&&(E=L),(0,Zi[q[j++]>>8&15])(v,m+ +M,g,N+M-L,E-M,g,N+M),M=E}m+=L,N+=L,++p&A||(S+=k)}d!=h.nc&&r(c,f-w,c,f+(d-l-1)*w,w);break;case 1:for(w=v,b=m,L=(v=h.Ea)-(N=v&~(g=(m=1<<h.b)-1)),p=T(v,h.b),y=h.K,h=h.w+(l>>h.b)*p;l<d;){for(A=y,k=h,x=new z,S=b+N,q=b+v;b<S;)J(A[k++],x),Qi(x,w,b,m,c,f),b+=m,f+=m;b<q&&(J(A[k++],x),Qi(x,w,b,L,c,f),b+=L,f+=L),++l&g||(h+=p)}break;case 3:if(v==c&&m==f&&0<h.b){for(b=c,v=w=f+(d-l)*w-(N=(d-l)*T(h.Ea,h.b)),m=c,g=f,p=[],N=(L=N)-1;0<=N;--N)p[N]=m[g+N];for(N=L-1;0<=N;--N)b[v+N]=p[N];$i(h,l,d,c,w,c,f)}else $i(h,l,d,v,m,c,f)}f=s,c=e}c!=e&&r(s,e,f,c,a)}function yt(t,i){var r=t.V,e=t.Ba+t.c*t.C,s=i-t.C;if(n(i<=t.l.o),n(16>=s),0<s){var o=t.l,a=t.Ta,u=t.Ua,f=o.width;if(Lt(t,s,r,e),s=u=[u],n((r=t.C)<(e=i)),n(o.v<o.va),e>o.o&&(e=o.o),r<o.j){var c=o.j-r;r=o.j,s[0]+=c*f}if(r>=e?r=0:(s[0]+=4*o.v,o.ka=r-o.j,o.U=o.va-o.v,o.T=e-r,r=1),r){if(u=u[0],11>(r=t.ca).S){var h=r.f.RGBA,l=(e=r.S,s=o.U,o=o.T,c=h.eb,h.A),d=o;for(h=h.fb+t.Ma*h.A;0<d--;){var v=a,m=u,w=s,p=c,b=h;switch(e){case Br:tr(v,m,w,p,b);break;case Tr:nr(v,m,w,p,b);break;case Wr:nr(v,m,w,p,b),Ar(p,b,0,w,1,0);break;case Cr:er(v,m,w,p,b);break;case Dr:nt(v,m,w,p,b,1);break;case _r:nt(v,m,w,p,b,1),Ar(p,b,0,w,1,0);break;case zr:nt(v,m,w,p,b,0);break;case Hr:nt(v,m,w,p,b,0),Ar(p,b,1,w,1,0);break;case Ur:ir(v,m,w,p,b);break;case Gr:ir(v,m,w,p,b),kr(p,b,w,1,0);break;case Vr:rr(v,m,w,p,b);break;default:n(0)}u+=f,h+=l}t.Ma+=o}else alert("todo:EmitRescaledRowsYUVA");n(t.Ma<=r.height)}}t.C=i,n(t.C<=t.i)}function At(t){var n;if(0<t.ua)return 0;for(n=0;n<t.Wb;++n){var i=t.Ya[n].G,r=t.Ya[n].H;if(0<i[1][r[1]+0].g||0<i[2][r[2]+0].g||0<i[3][r[3]+0].g)return 0}return 1}function kt(t,i,r,e,s,o){if(0!=t.Z){var a=t.qd,u=t.rd;for(n(null!=we[t.Z]);i<r;++i)we[t.Z](a,u,e,s,e,s,o),a=e,u=s,s+=o;t.qd=a,t.rd=u}}function xt(t,i){var r=t.l.ma,e=0==r.Z||1==r.Z?t.l.j:t.C;if(e=t.C<e?e:t.C,n(i<=t.l.o),i>e){var s=t.l.width,o=r.ca,a=r.tb+s*e,u=t.V,f=t.Ba+t.c*e,c=t.gc;n(1==t.ab),n(3==c[0].hc),Ki(c[0],e,i,u,f,o,a),kt(r,e,i,o,a,s)}t.C=t.Ma=i}function St(t,i,r,e,s,o,a){var u=t.$/e,f=t.$%e,c=t.m,h=t.s,l=r+t.$,d=l;s=r+e*s;var v=r+e*o,m=280+h.ua,w=t.Pb?u:16777216,p=0<h.ua?h.Wa:null,b=h.wc,g=l<v?Nt(h,f,u):null;n(t.C<o),n(v<=s);var N=!1;t:for(;;){for(;N||l<v;){var L=0;if(u>=w){var S=l-r;n((w=t).Pb),w.wd=w.m,w.xd=S,0<w.s.ua&&F(w.s.Wa,w.s.vb),w=u+te}if(f&b||(g=Nt(h,f,u)),n(null!=g),g.Qb&&(i[l]=g.qb,N=!0),!N)if(x(c),g.jc){S=i;var q=l,j=g.pd[y(L=c)&Di-1];n(g.jc),256>j.g?(k(L,L.u+j.g),S[q]=j.value,L=0):(k(L,L.u+j.g-256),n(256<=j.value),L=j.value),0==L&&(N=!0)}else L=bt(g.G[0],g.H[0],c);if(c.h)break;if(N||256>L){if(!N)if(g.nd)i[l]=(g.qb|L<<8)>>>0;else{if(x(c),N=bt(g.G[1],g.H[1],c),x(c),S=bt(g.G[2],g.H[2],c),q=bt(g.G[3],g.H[3],c),c.h)break;i[l]=(q<<24|N<<16|L<<8|S)>>>0}if(N=!1,++l,++f>=e&&(f=0,++u,null!=a&&u<=o&&!(u%16)&&a(t,u),null!=p))for(;d<l;)L=i[d++],p.X[(506832829*L&4294967295)>>>p.Mb]=L}else if(280>L){if(L=wt(L-256,c),S=bt(g.G[4],g.H[4],c),x(c),S=pt(e,S=wt(S,c)),c.h)break;if(l-r<S||s-l<L)break t;for(q=0;q<L;++q)i[l+q]=i[l+q-S];for(l+=L,f+=L;f>=e;)f-=e,++u,null!=a&&u<=o&&!(u%16)&&a(t,u);if(n(l<=s),f&b&&(g=Nt(h,f,u)),null!=p)for(;d<l;)L=i[d++],p.X[(506832829*L&4294967295)>>>p.Mb]=L}else{if(!(L<m))break t;for(N=L-280,n(null!=p);d<l;)L=i[d++],p.X[(506832829*L&4294967295)>>>p.Mb]=L;L=l,n(!(N>>>(S=p).Xa)),i[L]=S.X[N],N=!0}N||n(c.h==A(c))}if(t.Pb&&c.h&&l<s)n(t.m.h),t.a=5,t.m=t.wd,t.$=t.xd,0<t.s.ua&&F(t.s.vb,t.s.Wa);else{if(c.h)break t;null!=a&&a(t,u>o?o:u),t.a=0,t.$=l-r}return 1}return t.a=3,0}function qt(t){n(null!=t),t.vc=null,t.yc=null,t.Ya=null;var i=t.Wa;null!=i&&(i.X=null),t.vb=null,n(null!=t)}function jt(){var n=new ai;return null==n?null:(n.a=0,n.xb=me,it("Predictor","VP8LPredictors"),it("Predictor","VP8LPredictors_C"),it("PredictorAdd","VP8LPredictorsAdd"),it("PredictorAdd","VP8LPredictorsAdd_C"),Ji=G,Qi=$,tr=K,nr=X,ir=Z,rr=Q,er=tt,t.VP8LMapColor32b=Yi,t.VP8LMapColor8b=Xi,n)}function Mt(t,i,r,a,u){var f=1,l=[t],v=[i],m=a.m,w=a.s,p=null,b=0;t:for(;;){if(r)for(;f&&g(m,1);){var N=l,L=v,A=a,S=1,q=A.m,j=A.gc[A.ab],M=g(q,2);if(A.Oc&1<<M)f=0;else{switch(A.Oc|=1<<M,j.hc=M,j.Ea=N[0],j.nc=L[0],j.K=[null],++A.ab,n(4>=A.ab),M){case 0:case 1:j.b=g(q,3)+2,S=Mt(T(j.Ea,j.b),T(j.nc,j.b),0,A,j.K),j.K=j.K[0];break;case 3:var E,P=g(q,8)+1,O=16<P?0:4<P?1:2<P?2:3;if(N[0]=T(j.Ea,O),j.b=O,E=S=Mt(P,1,0,A,j.K)){var F,R=P,B=j,D=1<<(8>>B.b),z=s(D);if(null==z)E=0;else{var U=B.K[0],V=B.w;for(z[0]=B.K[0][0],F=1;F<1*R;++F)z[F]=C(U[V+F],z[F-1]);for(;F<4*D;++F)z[F]=0;B.K[0]=null,B.K[0]=z,E=1}}S=E;break;case 2:break;default:n(0)}f=S}}if(l=l[0],v=v[0],f&&g(m,1)&&!(f=1<=(b=g(m,4))&&11>=b)){a.a=3;break t}var W;if(W=f)n:{var _,H,G,J=a,$=l,Y=v,K=b,X=r,Z=J.m,Q=J.s,tt=[null],nt=1,it=0,rt=Qr[K];i:for(;;){if(X&&g(Z,1)){var et=g(Z,3)+2,st=T($,et),ot=T(Y,et),at=st*ot;if(!Mt(st,ot,0,J,tt))break i;for(tt=tt[0],Q.xc=et,_=0;_<at;++_){var ut=tt[_]>>8&65535;tt[_]=ut,ut>=nt&&(nt=ut+1)}}if(Z.h)break i;for(H=0;5>H;++H){var ft=Yr[H];!H&&0<K&&(ft+=1<<K),it<ft&&(it=ft)}var ct=o(nt*rt,h),ht=nt,lt=o(ht,d);if(null==lt)var dt=null;else n(65536>=ht),dt=lt;var vt=s(it);if(null==dt||null==vt||null==ct){J.a=1;break i}var mt=ct;for(_=G=0;_<nt;++_){var wt=dt[_],pt=wt.G,bt=wt.H,Nt=0,Lt=1,yt=0;for(H=0;5>H;++H){ft=Yr[H],pt[H]=mt,bt[H]=G,!H&&0<K&&(ft+=1<<K);r:{var At,kt=ft,xt=J,jt=vt,Et=mt,Pt=G,Ot=0,It=xt.m,Ft=g(It,1);if(e(jt,0,0,kt),Ft){var Rt=g(It,1)+1,Bt=g(It,1),Tt=g(It,0==Bt?1:8);jt[Tt]=1,2==Rt&&(jt[Tt=g(It,8)]=1);var Ct=1}else{var Dt=s(19),zt=g(It,4)+4;if(19<zt){xt.a=3;var Ut=0;break r}for(At=0;At<zt;++At)Dt[Xr[At]]=g(It,3);var Vt=void 0,Wt=void 0,_t=xt,Ht=Dt,Gt=kt,Jt=jt,$t=0,Yt=_t.m,Kt=8,Xt=o(128,h);e:for(;c(Xt,0,7,Ht,19);){if(g(Yt,1)){var Zt=2+2*g(Yt,3);if((Vt=2+g(Yt,Zt))>Gt)break e}else Vt=Gt;for(Wt=0;Wt<Gt&&Vt--;){x(Yt);var Qt=Xt[0+(127&y(Yt))];k(Yt,Yt.u+Qt.g);var tn=Qt.value;if(16>tn)Jt[Wt++]=tn,0!=tn&&(Kt=tn);else{var nn=16==tn,rn=tn-16,en=$r[rn],sn=g(Yt,Jr[rn])+en;if(Wt+sn>Gt)break e;for(var on=nn?Kt:0;0<sn--;)Jt[Wt++]=on}}$t=1;break e}$t||(_t.a=3),Ct=$t}(Ct=Ct&&!It.h)&&(Ot=c(Et,Pt,8,jt,kt)),Ct&&0!=Ot?Ut=Ot:(xt.a=3,Ut=0)}if(0==Ut)break i;if(Lt&&1==Kr[H]&&(Lt=0==mt[G].g),Nt+=mt[G].g,G+=Ut,3>=H){var an,un=vt[0];for(an=1;an<ft;++an)vt[an]>un&&(un=vt[an]);yt+=un}}if(wt.nd=Lt,wt.Qb=0,Lt&&(wt.qb=(pt[3][bt[3]+0].value<<24|pt[1][bt[1]+0].value<<16|pt[2][bt[2]+0].value)>>>0,0==Nt&&256>pt[0][bt[0]+0].value&&(wt.Qb=1,wt.qb+=pt[0][bt[0]+0].value<<8)),wt.jc=!wt.Qb&&6>yt,wt.jc){var fn,cn=wt;for(fn=0;fn<Di;++fn){var hn=fn,ln=cn.pd[hn],dn=cn.G[0][cn.H[0]+hn];256<=dn.value?(ln.g=dn.g+256,ln.value=dn.value):(ln.g=0,ln.value=0,hn>>=gt(dn,8,ln),hn>>=gt(cn.G[1][cn.H[1]+hn],16,ln),hn>>=gt(cn.G[2][cn.H[2]+hn],0,ln),gt(cn.G[3][cn.H[3]+hn],24,ln))}}}Q.vc=tt,Q.Wb=nt,Q.Ya=dt,Q.yc=ct,W=1;break n}W=0}if(!(f=W)){a.a=3;break t}if(0<b){if(w.ua=1<<b,!I(w.Wa,b)){a.a=1,f=0;break t}}else w.ua=0;var vn=a,mn=l,wn=v,pn=vn.s,bn=pn.xc;if(vn.c=mn,vn.i=wn,pn.md=T(mn,bn),pn.wc=0==bn?-1:(1<<bn)-1,r){a.xb=ve;break t}if(null==(p=s(l*v))){a.a=1,f=0;break t}f=(f=St(a,p,0,l,v,v,null))&&!m.h;break t}return f?(null!=u?u[0]=p:(n(null==p),n(r)),a.$=0,r||qt(w)):qt(w),f}function Et(t,i){var r=t.c*t.i,e=r+i+16*i;return n(t.c<=i),t.V=s(e),null==t.V?(t.Ta=null,t.Ua=0,t.a=1,0):(t.Ta=t.V,t.Ua=t.Ba+r+i,1)}function Pt(t,i){var r=t.C,e=i-r,s=t.V,o=t.Ba+t.c*r;for(n(i<=t.l.o);0<e;){var a=16<e?16:e,u=t.l.ma,f=t.l.width,c=f*a,h=u.ca,l=u.tb+f*r,d=t.Ta,v=t.Ua;Lt(t,a,s,o),Sr(d,v,h,l,c),kt(u,r,r+a,h,l,f),e-=a,s+=a*t.c,r+=a}n(r==i),t.C=t.Ma=i}function Ot(){this.ub=this.yd=this.td=this.Rb=0}function It(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ft(){this.Fb=this.Bb=this.Cb=0,this.Zb=s(4),this.Lb=s(4)}function Rt(){this.Yb=function(){var t=[];return function t(n,i,r){for(var e=r[i],s=0;s<e&&(n.push(r.length>i+1?[]:0),!(r.length<i+1));s++)t(n[s],i+1,r)}(t,0,[3,11]),t}()}function Bt(){this.jb=s(3),this.Wc=a([4,8],Rt),this.Xc=a([4,17],Rt)}function Tt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new s(4),this.od=new s(4)}function Ct(){this.ld=this.La=this.dd=this.tc=0}function Dt(){this.Na=this.la=0}function zt(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ut(){this.ad=s(384),this.Za=0,this.Ob=s(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Vt(){this.uc=this.M=this.Nb=0,this.wa=Array(new Ct),this.Y=0,this.ya=Array(new Ut),this.aa=0,this.l=new Gt}function Wt(){this.y=s(16),this.f=s(8),this.ea=s(8)}function _t(){this.cb=this.a=0,this.sc="",this.m=new N,this.Od=new Ot,this.Kc=new It,this.ed=new Tt,this.Qa=new Ft,this.Ic=this.$c=this.Aa=0,this.D=new Vt,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,N),this.ia=0,this.pb=o(4,zt),this.Pa=new Bt,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Wt),this.Hd=0,this.rb=Array(new Dt),this.sb=0,this.wa=Array(new Ct),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ut),this.L=this.aa=0,this.gd=a([4,2],Ct),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Ht(t,n){return 0>t?0:t>n?n:t}function Gt(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Jt(){var t=new _t;return null!=t&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,re||(re=Xt)),t}function $t(t,n,i){return 0==t.a&&(t.a=n,t.sc=i,t.cb=0),0}function Yt(t,n,i){return 3<=i&&157==t[n+0]&&1==t[n+1]&&42==t[n+2]}function Kt(t,i){if(null==t)return 0;if(t.a=0,t.sc="OK",null==i)return $t(t,2,"null VP8Io passed to VP8GetHeaders()");var r=i.data,s=i.w,o=i.ha;if(4>o)return $t(t,7,"Truncated header.");var a=r[s+0]|r[s+1]<<8|r[s+2]<<16,u=t.Od;if(u.Rb=!(1&a),u.td=a>>1&7,u.yd=a>>4&1,u.ub=a>>5,3<u.td)return $t(t,3,"Incorrect keyframe parameters.");if(!u.yd)return $t(t,4,"Frame not displayable.");s+=3,o-=3;var f=t.Kc;if(u.Rb){if(7>o)return $t(t,7,"cannot parse picture header");if(!Yt(r,s,o))return $t(t,3,"Bad code word");f.c=16383&(r[s+4]<<8|r[s+3]),f.Td=r[s+4]>>6,f.i=16383&(r[s+6]<<8|r[s+5]),f.Ud=r[s+6]>>6,s+=7,o-=7,t.za=f.c+15>>4,t.Ub=f.i+15>>4,i.width=f.c,i.height=f.i,i.Da=0,i.j=0,i.v=0,i.va=i.width,i.o=i.height,i.da=0,i.ib=i.width,i.hb=i.height,i.U=i.width,i.T=i.height,e((a=t.Pa).jb,0,255,a.jb.length),n(null!=(a=t.Qa)),a.Cb=0,a.Bb=0,a.Fb=1,e(a.Zb,0,0,a.Zb.length),e(a.Lb,0,0,a.Lb)}if(u.ub>o)return $t(t,7,"bad partition length");v(a=t.m,r,s,u.ub),s+=u.ub,o-=u.ub,u.Rb&&(f.Ld=q(a),f.Kd=q(a)),f=t.Qa;var c,h=t.Pa;if(n(null!=a),n(null!=f),f.Cb=q(a),f.Cb){if(f.Bb=q(a),q(a)){for(f.Fb=q(a),c=0;4>c;++c)f.Zb[c]=q(a)?w(a,7):0;for(c=0;4>c;++c)f.Lb[c]=q(a)?w(a,6):0}if(f.Bb)for(c=0;3>c;++c)h.jb[c]=q(a)?m(a,8):255}else f.Bb=0;if(a.Ka)return $t(t,3,"cannot parse segment header");if((f=t.ed).zd=q(a),f.Tb=m(a,6),f.wb=m(a,3),f.Pc=q(a),f.Pc&&q(a)){for(h=0;4>h;++h)q(a)&&(f.vd[h]=w(a,6));for(h=0;4>h;++h)q(a)&&(f.od[h]=w(a,6))}if(t.L=0==f.Tb?0:f.zd?1:2,a.Ka)return $t(t,3,"cannot parse filter header");var l=o;if(o=c=s,s=c+l,f=l,t.Xb=(1<<m(t.m,2))-1,l<3*(h=t.Xb))r=7;else{for(c+=3*h,f-=3*h,l=0;l<h;++l){var d=r[o+0]|r[o+1]<<8|r[o+2]<<16;d>f&&(d=f),v(t.Jc[+l],r,c,d),c+=d,f-=d,o+=3}v(t.Jc[+h],r,c,f),r=c<s?0:5}if(0!=r)return $t(t,r,"cannot parse partitions");for(r=m(c=t.m,7),o=q(c)?w(c,4):0,s=q(c)?w(c,4):0,f=q(c)?w(c,4):0,h=q(c)?w(c,4):0,c=q(c)?w(c,4):0,l=t.Qa,d=0;4>d;++d){if(l.Cb){var p=l.Zb[d];l.Fb||(p+=r)}else{if(0<d){t.pb[d]=t.pb[0];continue}p=r}var b=t.pb[d];b.Sc[0]=ne[Ht(p+o,127)],b.Sc[1]=ie[Ht(p+0,127)],b.Eb[0]=2*ne[Ht(p+s,127)],b.Eb[1]=101581*ie[Ht(p+f,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=ne[Ht(p+h,117)],b.Qc[1]=ie[Ht(p+c,127)],b.lc=p+c}if(!u.Rb)return $t(t,4,"Not a key frame.");for(q(a),u=t.Pa,r=0;4>r;++r){for(o=0;8>o;++o)for(s=0;3>s;++s)for(f=0;11>f;++f)h=j(a,fe[r][o][s][f])?m(a,8):ae[r][o][s][f],u.Wc[r][o].Yb[s][f]=h;for(o=0;17>o;++o)u.Xc[r][o]=u.Wc[r][ce[o]]}return t.kc=q(a),t.kc&&(t.Bd=m(a,8)),t.cb=1}function Xt(t,n,i,r,e,s,o){var a=n[e].Yb[i];for(i=0;16>e;++e){if(!j(t,a[i+0]))return e;for(;!j(t,a[i+1]);)if(a=n[++e].Yb[0],i=0,16==e)return 16;var u=n[e+1].Yb;if(j(t,a[i+2])){var f=t,c=0;if(j(f,(l=a)[(h=i)+3]))if(j(f,l[h+6])){for(a=0,h=2*(c=j(f,l[h+8]))+(l=j(f,l[h+9+c])),c=0,l=ee[h];l[a];++a)c+=c+j(f,l[a]);c+=3+(8<<h)}else j(f,l[h+7])?(c=7+2*j(f,165),c+=j(f,145)):c=5+j(f,159);else c=j(f,l[h+4])?3+j(f,l[h+5]):2;a=u[2]}else c=1,a=u[1];u=o+se[e],0>(f=t).b&&S(f);var h,l=f.b,d=(h=f.Ca>>1)-(f.I>>l)>>31;--f.b,f.Ca+=d,f.Ca|=1,f.I-=(h+1&d)<<l,s[u]=((c^d)-d)*r[(0<e)+0]}return 16}function Zt(t){var n=t.rb[t.sb-1];n.la=0,n.Na=0,e(t.zc,0,0,t.zc.length),t.ja=0}function Qt(t,i){if(null==t)return 0;if(null==i)return $t(t,2,"NULL VP8Io parameter in VP8Decode().");if(!t.cb&&!Kt(t,i))return 0;if(n(t.cb),null==i.ac||i.ac(i)){i.ob&&(t.L=0);var a=De[t.L];if(2==t.L?(t.yb=0,t.zb=0):(t.yb=i.v-a>>4,t.zb=i.j-a>>4,0>t.yb&&(t.yb=0),0>t.zb&&(t.zb=0)),t.Va=i.o+15+a>>4,t.Hb=i.va+15+a>>4,t.Hb>t.za&&(t.Hb=t.za),t.Va>t.Ub&&(t.Va=t.Ub),0<t.L){var u=t.ed;for(a=0;4>a;++a){var f;if(t.Qa.Cb){var c=t.Qa.Lb[a];t.Qa.Fb||(c+=u.Tb)}else c=u.Tb;for(f=0;1>=f;++f){var h=t.gd[a][f],l=c;if(u.Pc&&(l+=u.vd[0],f&&(l+=u.od[0])),0<(l=0>l?0:63<l?63:l)){var d=l;0<u.wb&&(d=4<u.wb?d>>2:d>>1)>9-u.wb&&(d=9-u.wb),1>d&&(d=1),h.dd=d,h.tc=2*l+d,h.ld=40<=l?2:15<=l?1:0}else h.tc=0;h.La=f}}}a=0}else $t(t,6,"Frame setup failed"),a=t.a;if(a=0==a){if(a){t.$c=0,0<t.Aa||(t.Ic=Ue);t:{u=4*(d=t.za);var v=32*d,m=d+1,w=0<t.L?d*(0<t.Aa?2:1):0,p=(2==t.Aa?2:1)*d;if((h=u+832+(f=3*(16*(a=t.Ic)+De[t.L])/2*v)+(c=null!=t.Fa&&0<t.Fa.length?t.Kc.c*t.Kc.i:0))!=h)a=0;else{if(h>t.Vb){if(t.Vb=0,t.Ec=s(h),t.Fc=0,null==t.Ec){a=$t(t,1,"no memory during frame initialization.");break t}t.Vb=h}l=t.Fc,t.Ac=h=t.Ec,t.Bc=l,l+=u,t.Gd=o(v,Wt),t.Hd=0,t.rb=o(m+1,Dt),t.sb=1,t.wa=w?o(w,Ct):null,t.Y=0,t.D.Nb=0,t.D.wa=t.wa,t.D.Y=t.Y,0<t.Aa&&(t.D.Y+=d),n(!0),t.oc=h,t.pc=l,l+=832,t.ya=o(p,Ut),t.aa=0,t.D.ya=t.ya,t.D.aa=t.aa,2==t.Aa&&(t.D.aa+=d),t.R=16*d,t.B=8*d,d=(v=De[t.L])*t.R,v=v/2*t.B,t.sa=h,t.ta=l+d,t.qa=t.sa,t.ra=t.ta+16*a*t.R+v,t.Ha=t.qa,t.Ia=t.ra+8*a*t.B+v,t.$c=0,l+=f,t.mb=c?h:null,t.nb=c?l:null,n(l+c<=t.Fc+t.Vb),Zt(t),e(t.Ac,t.Bc,0,u),a=1}}if(a){if(i.ka=0,i.y=t.sa,i.O=t.ta,i.f=t.qa,i.N=t.ra,i.ea=t.Ha,i.Vd=t.Ia,i.fa=t.R,i.Rc=t.B,i.F=null,i.J=0,!Pr){for(a=-255;255>=a;++a)qr[255+a]=0>a?-a:a;for(a=-1020;1020>=a;++a)jr[1020+a]=-128>a?-128:127<a?127:a;for(a=-112;112>=a;++a)Mr[112+a]=-16>a?-16:15<a?15:a;for(a=-255;510>=a;++a)Er[255+a]=0>a?0:255<a?255:a;Pr=1}sr=cn,or=on,ur=an,fr=un,cr=fn,ar=sn,hr=Yn,lr=Kn,dr=Qn,vr=ti,mr=Xn,wr=Zn,pr=ni,br=ii,gr=Wn,Nr=_n,Lr=Hn,yr=Gn,le[0]=xn,le[1]=ln,le[2]=An,le[3]=kn,le[4]=Sn,le[5]=jn,le[6]=qn,le[7]=Mn,le[8]=Pn,le[9]=En,he[0]=bn,he[1]=vn,he[2]=mn,he[3]=wn,he[4]=gn,he[5]=Nn,he[6]=Ln,de[0]=Rn,de[1]=dn,de[2]=On,de[3]=In,de[4]=Tn,de[5]=Bn,de[6]=Cn,a=1}else a=0}a&&(a=function(t,i){for(t.M=0;t.M<t.Va;++t.M){var o,a=t.Jc[t.M&t.Xb],u=t.m,f=t;for(o=0;o<f.za;++o){var c=u,h=f,l=h.Ac,d=h.Bc+4*o,v=h.zc,m=h.ya[h.aa+o];if(m.$b=h.Qa.Bb?j(c,h.Pa.jb[0])?2+j(c,h.Pa.jb[2]):j(c,h.Pa.jb[1]):0,h.kc&&(m.Ad=j(c,h.Bd)),m.Za=!j(c,145)+0,m.Za){var w=m.Ob,p=0;for(h=0;4>h;++h){var b,g=v[0+h];for(b=0;4>b;++b){for(var N=oe[j(c,(g=ue[l[d+b]][g])[0])];0<N;)N=oe[2*N+j(c,g[N])];l[d+b]=g=-N}r(w,p,l,d,4),p+=4,v[0+h]=g}}else g=j(c,156)?j(c,128)?1:3:j(c,163)?2:0,m.Ob[0]=g,e(l,d,g,4),e(v,0,g,4);m.Dd=j(c,142)?j(c,114)?j(c,183)?1:3:2:0}if(f.m.Ka)return $t(t,7,"Premature end-of-partition0 encountered.");for(;t.ja<t.za;++t.ja){if(f=a,c=(u=t).rb[u.sb-1],l=u.rb[u.sb+u.ja],o=u.ya[u.aa+u.ja],d=u.kc?o.Ad:0)c.la=l.la=0,o.Za||(c.Na=l.Na=0),o.Hc=0,o.Gc=0,o.ia=0;else{var L,y;if(c=l,l=f,d=u.Pa.Xc,m=u.pb[(v=u.ya[u.aa+u.ja]).$b],p=u.rb[u.sb-1],g=b=0,e(h=v.ad,w=0,0,384),v.Za)var A=0,k=d[3];else{N=s(16);var x=c.Na+p.Na;if(x=re(l,d[1],x,m.Eb,0,N,0),c.Na=p.Na=(0<x)+0,1<x)sr(N,0,h,w);else{var S=N[0]+3>>3;for(N=0;256>N;N+=16)h[w+N]=S}A=1,k=d[0]}var q=15&c.la,M=15&p.la;for(N=0;4>N;++N){var E=1&M;for(S=y=0;4>S;++S)q=q>>1|(E=(x=re(l,k,x=E+(1&q),m.Sc,A,h,w))>A)<<7,y=y<<2|(3<x?3:1<x?2:0!=h[w+0]),w+=16;q>>=4,M=M>>1|E<<7,b=(b<<8|y)>>>0}for(k=q,A=M>>4,L=0;4>L;L+=2){for(y=0,q=c.la>>4+L,M=p.la>>4+L,N=0;2>N;++N){for(E=1&M,S=0;2>S;++S)q=q>>1|(E=0<(x=re(l,d[2],x=E+(1&q),m.Qc,0,h,w)))<<3,y=y<<2|(3<x?3:1<x?2:0!=h[w+0]),w+=16;q>>=2,M=M>>1|E<<5}g|=y<<4*L,k|=q<<4<<L,A|=(240&M)<<L}c.la=k,p.la=A,v.Hc=b,v.Gc=g,v.ia=43690&g?0:m.ia,d=!(b|g)}if(0<u.L&&(u.wa[u.Y+u.ja]=u.gd[o.$b][o.Za],u.wa[u.Y+u.ja].La|=!d),f.Ka)return $t(t,7,"Premature end-of-file encountered.")}if(Zt(t),u=i,f=1,o=(a=t).D,c=0<a.L&&a.M>=a.zb&&a.M<=a.Va,0==a.Aa)t:{if(o.M=a.M,o.uc=c,Fi(a,o),f=1,o=(y=a.D).Nb,c=(g=De[a.L])*a.R,d=a.sa,v=a.ta-c+(N=16*o*a.R),m=a.qa,h=a.ra-(l=g/2*a.B)+(S=8*o*a.B),w=a.Ha,p=a.Ia-l+S,M=0==(q=y.M),b=q>=a.Va-1,2==a.Aa&&Fi(a,y),y.uc)for(E=(x=a).D.M,n(x.D.uc),y=x.yb;y<x.Hb;++y){k=E;var P=(O=(U=x).D).Nb,O=O.wa[O.Y+(A=y)],I=U.sa,F=U.ta+16*P*(L=U.R)+16*A,R=O.dd,B=O.tc;if(0!=B)if(n(3<=B),1==U.L)0<A&&Nr(I,F,L,B+4),O.La&&yr(I,F,L,B),0<k&&gr(I,F,L,B+4),O.La&&Lr(I,F,L,B);else{var T=U.B,C=U.qa,D=U.ra+8*P*T+8*A,z=U.Ha,U=U.Ia+8*P*T+8*A;P=O.ld,0<A&&(lr(I,F,L,B+4,R,P),vr(C,D,z,U,T,B+4,R,P)),O.La&&(wr(I,F,L,B,R,P),br(C,D,z,U,T,B,R,P)),0<k&&(hr(I,F,L,B+4,R,P),dr(C,D,z,U,T,B+4,R,P)),O.La&&(mr(I,F,L,B,R,P),pr(C,D,z,U,T,B,R,P))}}if(a.ia&&alert("todo:DitherRow"),null!=u.put){if(y=16*q,q=16*(q+1),M?(u.y=a.sa,u.O=a.ta+N,u.f=a.qa,u.N=a.ra+S,u.ea=a.Ha,u.W=a.Ia+S):(y-=g,u.y=d,u.O=v,u.f=m,u.N=h,u.ea=w,u.W=p),b||(q-=g),q>u.o&&(q=u.o),u.F=null,u.J=null,null!=a.Fa&&0<a.Fa.length&&y<q&&(u.J=li(a,u,y,q-y),u.F=a.mb,null==u.F&&0==u.F.length)){f=$t(a,3,"Could not decode alpha data.");break t}y<u.j&&(g=u.j-y,y=u.j,n(!(1&g)),u.O+=a.R*g,u.N+=a.B*(g>>1),u.W+=a.B*(g>>1),null!=u.F&&(u.J+=u.width*g)),y<q&&(u.O+=u.v,u.N+=u.v>>1,u.W+=u.v>>1,null!=u.F&&(u.J+=u.v),u.ka=y-u.j,u.U=u.va-u.v,u.T=q-y,f=u.put(u))}o+1!=a.Ic||b||(r(a.sa,a.ta-c,d,v+16*a.R,c),r(a.qa,a.ra-l,m,h+8*a.B,l),r(a.Ha,a.Ia-l,w,p+8*a.B,l))}if(!f)return $t(t,6,"Output aborted.")}return 1}(t,i)),null!=i.bc&&i.bc(i),a&=1}return a?(t.cb=0,a):0}function tn(t,n,i,r,e){t[n+i+32*r]=-256&(e=t[n+i+32*r]+(e>>3))?0>e?0:255:e}function nn(t,n,i,r,e,s){tn(t,n,0,i,r+e),tn(t,n,1,i,r+s),tn(t,n,2,i,r-s),tn(t,n,3,i,r-e)}function rn(t){return(20091*t>>16)+t}function en(t,n,i,r){var e,o=0,a=s(16);for(e=0;4>e;++e){var u=t[n+0]+t[n+8],f=t[n+0]-t[n+8],c=(35468*t[n+4]>>16)-rn(t[n+12]),h=rn(t[n+4])+(35468*t[n+12]>>16);a[o+0]=u+h,a[o+1]=f+c,a[o+2]=f-c,a[o+3]=u-h,o+=4,n++}for(e=o=0;4>e;++e)u=(t=a[o+0]+4)+a[o+8],f=t-a[o+8],c=(35468*a[o+4]>>16)-rn(a[o+12]),tn(i,r,0,0,u+(h=rn(a[o+4])+(35468*a[o+12]>>16))),tn(i,r,1,0,f+c),tn(i,r,2,0,f-c),tn(i,r,3,0,u-h),o++,r+=32}function sn(t,n,i,r){var e=t[n+0]+4,s=35468*t[n+4]>>16,o=rn(t[n+4]),a=35468*t[n+1]>>16;nn(i,r,0,e+o,t=rn(t[n+1]),a),nn(i,r,1,e+s,t,a),nn(i,r,2,e-s,t,a),nn(i,r,3,e-o,t,a)}function on(t,n,i,r,e){en(t,n,i,r),e&&en(t,n+16,i,r+4)}function an(t,n,i,r){or(t,n+0,i,r,1),or(t,n+32,i,r+128,1)}function un(t,n,i,r){var e;for(t=t[n+0]+4,e=0;4>e;++e)for(n=0;4>n;++n)tn(i,r,n,e,t)}function fn(t,n,i,r){t[n+0]&&fr(t,n+0,i,r),t[n+16]&&fr(t,n+16,i,r+4),t[n+32]&&fr(t,n+32,i,r+128),t[n+48]&&fr(t,n+48,i,r+128+4)}function cn(t,n,i,r){var e,o=s(16);for(e=0;4>e;++e){var a=t[n+0+e]+t[n+12+e],u=t[n+4+e]+t[n+8+e],f=t[n+4+e]-t[n+8+e],c=t[n+0+e]-t[n+12+e];o[0+e]=a+u,o[8+e]=a-u,o[4+e]=c+f,o[12+e]=c-f}for(e=0;4>e;++e)a=(t=o[0+4*e]+3)+o[3+4*e],f=o[1+4*e]-o[2+4*e],c=t-o[3+4*e],i[r+0]=a+(u=o[1+4*e]+o[2+4*e])>>3,i[r+16]=c+f>>3,i[r+32]=a-u>>3,i[r+48]=c-f>>3,r+=64}function hn(t,n,i){var r,e=n-32,s=Fr,o=255-t[e-1];for(r=0;r<i;++r){var a,u=s,f=o+t[n-1];for(a=0;a<i;++a)t[n+a]=u[f+t[e+a]];n+=32}}function ln(t,n){hn(t,n,4)}function dn(t,n){hn(t,n,8)}function vn(t,n){hn(t,n,16)}function mn(t,n){var i;for(i=0;16>i;++i)r(t,n+32*i,t,n-32,16)}function wn(t,n){var i;for(i=16;0<i;--i)e(t,n,t[n-1],16),n+=32}function pn(t,n,i){var r;for(r=0;16>r;++r)e(n,i+32*r,t,16)}function bn(t,n){var i,r=16;for(i=0;16>i;++i)r+=t[n-1+32*i]+t[n+i-32];pn(r>>5,t,n)}function gn(t,n){var i,r=8;for(i=0;16>i;++i)r+=t[n-1+32*i];pn(r>>4,t,n)}function Nn(t,n){var i,r=8;for(i=0;16>i;++i)r+=t[n+i-32];pn(r>>4,t,n)}function Ln(t,n){pn(128,t,n)}function yn(t,n,i){return t+2*n+i+2>>2}function An(t,n){var i,e=n-32;for(e=new Uint8Array([yn(t[e-1],t[e+0],t[e+1]),yn(t[e+0],t[e+1],t[e+2]),yn(t[e+1],t[e+2],t[e+3]),yn(t[e+2],t[e+3],t[e+4])]),i=0;4>i;++i)r(t,n+32*i,e,0,e.length)}function kn(t,n){var i=t[n-1],r=t[n-1+32],e=t[n-1+64],s=t[n-1+96];M(t,n+0,16843009*yn(t[n-1-32],i,r)),M(t,n+32,16843009*yn(i,r,e)),M(t,n+64,16843009*yn(r,e,s)),M(t,n+96,16843009*yn(e,s,s))}function xn(t,n){var i,r=4;for(i=0;4>i;++i)r+=t[n+i-32]+t[n-1+32*i];for(r>>=3,i=0;4>i;++i)e(t,n+32*i,r,4)}function Sn(t,n){var i=t[n-1+0],r=t[n-1+32],e=t[n-1+64],s=t[n-1-32],o=t[n+0-32],a=t[n+1-32],u=t[n+2-32],f=t[n+3-32];t[n+0+96]=yn(r,e,t[n-1+96]),t[n+1+96]=t[n+0+64]=yn(i,r,e),t[n+2+96]=t[n+1+64]=t[n+0+32]=yn(s,i,r),t[n+3+96]=t[n+2+64]=t[n+1+32]=t[n+0+0]=yn(o,s,i),t[n+3+64]=t[n+2+32]=t[n+1+0]=yn(a,o,s),t[n+3+32]=t[n+2+0]=yn(u,a,o),t[n+3+0]=yn(f,u,a)}function qn(t,n){var i=t[n+1-32],r=t[n+2-32],e=t[n+3-32],s=t[n+4-32],o=t[n+5-32],a=t[n+6-32],u=t[n+7-32];t[n+0+0]=yn(t[n+0-32],i,r),t[n+1+0]=t[n+0+32]=yn(i,r,e),t[n+2+0]=t[n+1+32]=t[n+0+64]=yn(r,e,s),t[n+3+0]=t[n+2+32]=t[n+1+64]=t[n+0+96]=yn(e,s,o),t[n+3+32]=t[n+2+64]=t[n+1+96]=yn(s,o,a),t[n+3+64]=t[n+2+96]=yn(o,a,u),t[n+3+96]=yn(a,u,u)}function jn(t,n){var i=t[n-1+0],r=t[n-1+32],e=t[n-1+64],s=t[n-1-32],o=t[n+0-32],a=t[n+1-32],u=t[n+2-32],f=t[n+3-32];t[n+0+0]=t[n+1+64]=s+o+1>>1,t[n+1+0]=t[n+2+64]=o+a+1>>1,t[n+2+0]=t[n+3+64]=a+u+1>>1,t[n+3+0]=u+f+1>>1,t[n+0+96]=yn(e,r,i),t[n+0+64]=yn(r,i,s),t[n+0+32]=t[n+1+96]=yn(i,s,o),t[n+1+32]=t[n+2+96]=yn(s,o,a),t[n+2+32]=t[n+3+96]=yn(o,a,u),t[n+3+32]=yn(a,u,f)}function Mn(t,n){var i=t[n+0-32],r=t[n+1-32],e=t[n+2-32],s=t[n+3-32],o=t[n+4-32],a=t[n+5-32],u=t[n+6-32],f=t[n+7-32];t[n+0+0]=i+r+1>>1,t[n+1+0]=t[n+0+64]=r+e+1>>1,t[n+2+0]=t[n+1+64]=e+s+1>>1,t[n+3+0]=t[n+2+64]=s+o+1>>1,t[n+0+32]=yn(i,r,e),t[n+1+32]=t[n+0+96]=yn(r,e,s),t[n+2+32]=t[n+1+96]=yn(e,s,o),t[n+3+32]=t[n+2+96]=yn(s,o,a),t[n+3+64]=yn(o,a,u),t[n+3+96]=yn(a,u,f)}function En(t,n){var i=t[n-1+0],r=t[n-1+32],e=t[n-1+64],s=t[n-1+96];t[n+0+0]=i+r+1>>1,t[n+2+0]=t[n+0+32]=r+e+1>>1,t[n+2+32]=t[n+0+64]=e+s+1>>1,t[n+1+0]=yn(i,r,e),t[n+3+0]=t[n+1+32]=yn(r,e,s),t[n+3+32]=t[n+1+64]=yn(e,s,s),t[n+3+64]=t[n+2+64]=t[n+0+96]=t[n+1+96]=t[n+2+96]=t[n+3+96]=s}function Pn(t,n){var i=t[n-1+0],r=t[n-1+32],e=t[n-1+64],s=t[n-1+96],o=t[n-1-32],a=t[n+0-32],u=t[n+1-32],f=t[n+2-32];t[n+0+0]=t[n+2+32]=i+o+1>>1,t[n+0+32]=t[n+2+64]=r+i+1>>1,t[n+0+64]=t[n+2+96]=e+r+1>>1,t[n+0+96]=s+e+1>>1,t[n+3+0]=yn(a,u,f),t[n+2+0]=yn(o,a,u),t[n+1+0]=t[n+3+32]=yn(i,o,a),t[n+1+32]=t[n+3+64]=yn(r,i,o),t[n+1+64]=t[n+3+96]=yn(e,r,i),t[n+1+96]=yn(s,e,r)}function On(t,n){var i;for(i=0;8>i;++i)r(t,n+32*i,t,n-32,8)}function In(t,n){var i;for(i=0;8>i;++i)e(t,n,t[n-1],8),n+=32}function Fn(t,n,i){var r;for(r=0;8>r;++r)e(n,i+32*r,t,8)}function Rn(t,n){var i,r=8;for(i=0;8>i;++i)r+=t[n+i-32]+t[n-1+32*i];Fn(r>>4,t,n)}function Bn(t,n){var i,r=4;for(i=0;8>i;++i)r+=t[n+i-32];Fn(r>>3,t,n)}function Tn(t,n){var i,r=4;for(i=0;8>i;++i)r+=t[n-1+32*i];Fn(r>>3,t,n)}function Cn(t,n){Fn(128,t,n)}function Dn(t,n,i){var r=t[n-i],e=t[n+0],s=3*(e-r)+Or[1020+t[n-2*i]-t[n+i]],o=Ir[112+(s+4>>3)];t[n-i]=Fr[255+r+Ir[112+(s+3>>3)]],t[n+0]=Fr[255+e-o]}function zn(t,n,i,r){return Rr[255+t[n-2*i]-t[n-i]]>r||Rr[255+t[n+i]-t[n+0]]>r}function Un(t,n,i,r){return 4*Rr[255+t[n-i]-t[n+0]]+Rr[255+t[n-2*i]-t[n+i]]<=r}function Vn(t,n,i,r,e){var s=t[n-3*i],o=t[n-2*i],a=t[n-i],u=t[n+0],f=t[n+i],c=t[n+2*i];return 4*Rr[255+a-u]+Rr[255+o-f]>r?0:Rr[255+t[n-4*i]-s]<=e&&Rr[255+s-o]<=e&&Rr[255+o-a]<=e&&Rr[255+t[n+3*i]-c]<=e&&Rr[255+c-f]<=e&&Rr[255+f-u]<=e}function Wn(t,n,i,r){var e=2*r+1;for(r=0;16>r;++r)Un(t,n+r,i,e)&&Dn(t,n+r,i)}function _n(t,n,i,r){var e=2*r+1;for(r=0;16>r;++r)Un(t,n+r*i,1,e)&&Dn(t,n+r*i,1)}function Hn(t,n,i,r){var e;for(e=3;0<e;--e)Wn(t,n+=4*i,i,r)}function Gn(t,n,i,r){var e;for(e=3;0<e;--e)_n(t,n+=4,i,r)}function Jn(t,n,i,r,e,s,o,a){for(s=2*s+1;0<e--;){if(Vn(t,n,i,s,o))if(zn(t,n,i,a))Dn(t,n,i);else{var u=t,f=n,c=i,h=u[f-2*c],l=u[f-c],d=u[f+0],v=u[f+c],m=u[f+2*c],w=27*(b=Or[1020+3*(d-l)+Or[1020+h-v]])+63>>7,p=18*b+63>>7,b=9*b+63>>7;u[f-3*c]=Fr[255+u[f-3*c]+b],u[f-2*c]=Fr[255+h+p],u[f-c]=Fr[255+l+w],u[f+0]=Fr[255+d-w],u[f+c]=Fr[255+v-p],u[f+2*c]=Fr[255+m-b]}n+=r}}function $n(t,n,i,r,e,s,o,a){for(s=2*s+1;0<e--;){if(Vn(t,n,i,s,o))if(zn(t,n,i,a))Dn(t,n,i);else{var u=t,f=n,c=i,h=u[f-c],l=u[f+0],d=u[f+c],v=Ir[112+(4+(m=3*(l-h))>>3)],m=Ir[112+(m+3>>3)],w=v+1>>1;u[f-2*c]=Fr[255+u[f-2*c]+w],u[f-c]=Fr[255+h+m],u[f+0]=Fr[255+l-v],u[f+c]=Fr[255+d-w]}n+=r}}function Yn(t,n,i,r,e,s){Jn(t,n,i,1,16,r,e,s)}function Kn(t,n,i,r,e,s){Jn(t,n,1,i,16,r,e,s)}function Xn(t,n,i,r,e,s){var o;for(o=3;0<o;--o)$n(t,n+=4*i,i,1,16,r,e,s)}function Zn(t,n,i,r,e,s){var o;for(o=3;0<o;--o)$n(t,n+=4,1,i,16,r,e,s)}function Qn(t,n,i,r,e,s,o,a){Jn(t,n,e,1,8,s,o,a),Jn(i,r,e,1,8,s,o,a)}function ti(t,n,i,r,e,s,o,a){Jn(t,n,1,e,8,s,o,a),Jn(i,r,1,e,8,s,o,a)}function ni(t,n,i,r,e,s,o,a){$n(t,n+4*e,e,1,8,s,o,a),$n(i,r+4*e,e,1,8,s,o,a)}function ii(t,n,i,r,e,s,o,a){$n(t,n+4,1,e,8,s,o,a),$n(i,r+4,1,e,8,s,o,a)}function ri(){this.ba=new ot,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ut,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function ei(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function si(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function oi(){this.ua=0,this.Wa=new R,this.vb=new R,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new h}function ai(){this.xb=this.a=0,this.l=new Gt,this.ca=new ot,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new L,this.Pb=0,this.wd=new L,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new oi,this.ab=0,this.gc=o(4,si),this.Oc=0}function ui(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Gt,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function fi(t,n,i,r,e,s,o){for(t=null==t?0:t[n+0],n=0;n<o;++n)e[s+n]=t+i[r+n]&255,t=e[s+n]}function ci(t,n,i,r,e,s,o){var a;if(null==t)fi(null,null,i,r,e,s,o);else for(a=0;a<o;++a)e[s+a]=t[n+a]+i[r+a]&255}function hi(t,n,i,r,e,s,o){if(null==t)fi(null,null,i,r,e,s,o);else{var a,u=t[n+0],f=u,c=u;for(a=0;a<o;++a)f=c+(u=t[n+a])-f,c=i[r+a]+(-256&f?0>f?0:255:f)&255,f=u,e[s+a]=c}}function li(t,i,e,o){var a=i.width,u=i.o;if(n(null!=t&&null!=i),0>e||0>=o||e+o>u)return null;if(!t.Cc){if(null==t.ga){var f;if(t.ga=new ui,(f=null==t.ga)||(f=i.width*i.o,n(0==t.Gb.length),t.Gb=s(f),t.Uc=0,null==t.Gb?f=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,f=1),f=!f),!f){var c=t.Fa,h=t.P,l=t.qc,d=t.mb,v=t.nb,m=h+1,w=l-1,b=(f=t.ga).l;if(n(null!=c&&null!=d&&null!=i),we[0]=null,we[1]=fi,we[2]=ci,we[3]=hi,f.ca=d,f.tb=v,f.c=i.width,f.i=i.height,n(0<f.c&&0<f.i),1>=l)i=0;else if(f.$a=3&c[h+0],f.Z=c[h+0]>>2&3,f.Lc=c[h+0]>>4&3,h=c[h+0]>>6&3,0>f.$a||1<f.$a||4<=f.Z||1<f.Lc||h)i=0;else if(b.put=dt,b.ac=lt,b.bc=vt,b.ma=f,b.width=i.width,b.height=i.height,b.Da=i.Da,b.v=i.v,b.va=i.va,b.j=i.j,b.o=i.o,f.$a)t:{n(1==f.$a),i=jt();n:for(;;){if(null==i){i=0;break t}if(n(null!=f),f.mc=i,i.c=f.c,i.i=f.i,i.l=f.l,i.l.ma=f,i.l.width=f.c,i.l.height=f.i,i.a=0,p(i.m,c,m,w),!Mt(f.c,f.i,1,i,null))break n;if(1==i.ab&&3==i.gc[0].hc&&At(i.s)?(f.ic=1,c=i.c*i.i,i.Ta=null,i.Ua=0,i.V=s(c),i.Ba=0,null==i.V?(i.a=1,i=0):i=1):(f.ic=0,i=Et(i,f.c)),!i)break n;i=1;break t}f.mc=null,i=0}else i=w>=f.c*f.i;f=!i}if(f)return null;1!=t.ga.Lc?t.Ga=0:o=u-e}n(null!=t.ga),n(e+o<=u);t:{if(i=(c=t.ga).c,u=c.l.o,0==c.$a){if(m=t.rc,w=t.Vc,b=t.Fa,l=t.mb,d=t.nb+e*i,n((h=t.P+1+e*i)<=t.P+t.qc),0!=c.Z)for(n(null!=we[c.Z]),f=0;f<o;++f)we[c.Z](m,w,b,h,l,d,i),m=l,w=d,d+=i,h+=i;else for(f=0;f<o;++f)r(l,d,b,h,i),m=l,w=d,d+=i,h+=i;t.rc=m,t.Vc=w}else{if(n(null!=c.mc),i=e+o,n(null!=(f=c.mc)),n(i<=f.i),f.C>=i)i=1;else if(c.ic||pi(),c.ic){c=f.V,m=f.Ba;var g=f.i,N=(b=1,h=f.$/(w=f.c),l=f.$%w,d=f.m,v=f.s,f.$),L=w*g,y=w*i,k=v.wc,S=N<y?Nt(v,l,h):null;n(N<=L),n(i<=g),n(At(v));n:for(;;){for(;!d.h&&N<y;){if(l&k||(S=Nt(v,l,h)),n(null!=S),x(d),256>(g=bt(S.G[0],S.H[0],d)))c[m+N]=g,++N,++l>=w&&(l=0,++h<=i&&!(h%16)&&xt(f,h));else{if(!(280>g)){b=0;break n}g=wt(g-256,d);var q,j=bt(S.G[4],S.H[4],d);if(x(d),!(N>=(j=pt(w,j=wt(j,d)))&&L-N>=g)){b=0;break n}for(q=0;q<g;++q)c[m+N+q]=c[m+N+q-j];for(N+=g,l+=g;l>=w;)l-=w,++h<=i&&!(h%16)&&xt(f,h);N<y&&l&k&&(S=Nt(v,l,h))}n(d.h==A(d))}xt(f,h>i?i:h);break n}!b||d.h&&N<L?(b=0,f.a=d.h?5:3):f.$=N,i=b}else i=St(f,f.V,f.Ba,f.c,f.i,i,Pt);if(!i){o=0;break t}}e+o>=u&&(t.Cc=1),o=1}if(!o)return null;if(t.Cc&&(null!=(o=t.ga)&&(o.mc=null),t.ga=null,0<t.Ga))return alert("todo:WebPDequantizeLevels"),null}return t.nb+e*a}function di(t,n,i,r,e,s){for(;0<e--;){var o,a=t,u=n+(i?1:0),f=t,c=n+(i?0:3);for(o=0;o<r;++o){var h=f[c+4*o];255!=h&&(a[u+4*o+0]=a[u+4*o+0]*(h*=32897)>>23,a[u+4*o+1]=a[u+4*o+1]*h>>23,a[u+4*o+2]=a[u+4*o+2]*h>>23)}n+=s}}function vi(t,n,i,r,e){for(;0<r--;){var s;for(s=0;s<i;++s){var o=t[n+2*s+0],a=15&(f=t[n+2*s+1]),u=4369*a,f=(240&f|f>>4)*u>>16;t[n+2*s+0]=(240&o|o>>4)*u>>16&240|(15&o|o<<4)*u>>16>>4&15,t[n+2*s+1]=240&f|a}n+=e}}function mi(t,n,i,r,e,s,o,a){var u,f,c=255;for(f=0;f<e;++f){for(u=0;u<r;++u){var h=t[n+u];s[o+4*u]=h,c&=h}n+=i,o+=a}return 255!=c}function wi(t,n,i,r,e){var s;for(s=0;s<e;++s)i[r+s]=t[n+s]>>8}function pi(){Ar=di,kr=vi,xr=mi,Sr=wi}function bi(i,r,e){t[i]=function(t,i,s,o,a,u,f,c,h,l,d,v,m,w,p,b,g){var N,L=g-1>>1,y=a[u+0]|f[c+0]<<16,A=h[l+0]|d[v+0]<<16;n(null!=t);var k=3*y+A+131074>>2;for(r(t[i+0],255&k,k>>16,m,w),null!=s&&r(s[o+0],255&(k=3*A+y+131074>>2),k>>16,p,b),N=1;N<=L;++N){var x=a[u+N]|f[c+N]<<16,S=h[l+N]|d[v+N]<<16,q=y+x+A+S+524296,j=q+2*(x+A)>>3;k=j+y>>1,y=(q=q+2*(y+S)>>3)+x>>1,r(t[i+2*N-1],255&k,k>>16,m,w+(2*N-1)*e),r(t[i+2*N-0],255&y,y>>16,m,w+(2*N-0)*e),null!=s&&(y=j+S>>1,r(s[o+2*N-1],255&(k=q+A>>1),k>>16,p,b+(2*N-1)*e),r(s[o+2*N+0],255&y,y>>16,p,b+(2*N+0)*e)),y=x,A=S}1&g||(r(t[i+g-1],255&(k=3*y+A+131074>>2),k>>16,m,w+(g-1)*e),null!=s&&r(s[o+g-1],255&(k=3*A+y+131074>>2),k>>16,p,b+(g-1)*e))}}function gi(){pe[Br]=be,pe[Tr]=Ne,pe[Cr]=ge,pe[Dr]=Le,pe[zr]=ye,pe[Ur]=Ae,pe[Vr]=ke,pe[Wr]=Ne,pe[_r]=Le,pe[Hr]=ye,pe[Gr]=Ae}function Ni(t){return t&~Ee?0>t?0:255:t>>Me}function Li(t,n){return Ni((19077*t>>8)+(26149*n>>8)-14234)}function yi(t,n,i){return Ni((19077*t>>8)-(6419*n>>8)-(13320*i>>8)+8708)}function Ai(t,n){return Ni((19077*t>>8)+(33050*n>>8)-17685)}function ki(t,n,i,r,e){r[e+0]=Li(t,i),r[e+1]=yi(t,n,i),r[e+2]=Ai(t,n)}function xi(t,n,i,r,e){r[e+0]=Ai(t,n),r[e+1]=yi(t,n,i),r[e+2]=Li(t,i)}function Si(t,n,i,r,e){var s=yi(t,n,i);n=s<<3&224|Ai(t,n)>>3,r[e+0]=248&Li(t,i)|s>>5,r[e+1]=n}function qi(t,n,i,r,e){var s=240&Ai(t,n)|15;r[e+0]=240&Li(t,i)|yi(t,n,i)>>4,r[e+1]=s}function ji(t,n,i,r,e){r[e+0]=255,ki(t,n,i,r,e+1)}function Mi(t,n,i,r,e){xi(t,n,i,r,e),r[e+3]=255}function Ei(t,n,i,r,e){ki(t,n,i,r,e),r[e+3]=255}function Ht(t,n){return 0>t?0:t>n?n:t}function Pi(n,i,r){t[n]=function(t,n,e,s,o,a,u,f,c){for(var h=f+(-2&c)*r;f!=h;)i(t[n+0],e[s+0],o[a+0],u,f),i(t[n+1],e[s+0],o[a+0],u,f+r),n+=2,++s,++a,f+=2*r;1&c&&i(t[n+0],e[s+0],o[a+0],u,f)}}function Oi(t,n,i){return 0==i?0==t?0==n?6:5:0==n?4:0:i}function Ii(t,n,i,r,e){switch(t>>>30){case 3:or(n,i,r,e,0);break;case 2:ar(n,i,r,e);break;case 1:fr(n,i,r,e)}}function Fi(t,n){var i,s,o=n.M,a=n.Nb,u=t.oc,f=t.pc+40,c=t.oc,h=t.pc+584,l=t.oc,d=t.pc+600;for(i=0;16>i;++i)u[f+32*i-1]=129;for(i=0;8>i;++i)c[h+32*i-1]=129,l[d+32*i-1]=129;for(0<o?u[f-1-32]=c[h-1-32]=l[d-1-32]=129:(e(u,f-32-1,127,21),e(c,h-32-1,127,9),e(l,d-32-1,127,9)),s=0;s<t.za;++s){var v=n.ya[n.aa+s];if(0<s){for(i=-1;16>i;++i)r(u,f+32*i-4,u,f+32*i+12,4);for(i=-1;8>i;++i)r(c,h+32*i-4,c,h+32*i+4,4),r(l,d+32*i-4,l,d+32*i+4,4)}var m=t.Gd,w=t.Hd+s,p=v.ad,b=v.Hc;if(0<o&&(r(u,f-32,m[w].y,0,16),r(c,h-32,m[w].f,0,8),r(l,d-32,m[w].ea,0,8)),v.Za){var g=u,N=f-32+16;for(0<o&&(s>=t.za-1?e(g,N,m[w].y[15],4):r(g,N,m[w+1].y,0,4)),i=0;4>i;i++)g[N+128+i]=g[N+256+i]=g[N+384+i]=g[N+0+i];for(i=0;16>i;++i,b<<=2)le[v.Ob[i]](g=u,N=f+Ce[i]),Ii(b,p,16*+i,g,N)}else if(g=Oi(s,o,v.Ob[0]),he[g](u,f),0!=b)for(i=0;16>i;++i,b<<=2)Ii(b,p,16*+i,u,f+Ce[i]);for(i=v.Gc,g=Oi(s,o,v.Dd),de[g](c,h),de[g](l,d),b=p,g=c,N=h,255&(v=0|i)&&(170&v?ur(b,256,g,N):cr(b,256,g,N)),v=l,b=d,255&(i>>=8)&&(170&i?ur(p,320,v,b):cr(p,320,v,b)),o<t.Ub-1&&(r(m[w].y,0,u,f+480,16),r(m[w].f,0,c,h+224,8),r(m[w].ea,0,l,d+224,8)),m=t.sa,w=t.ta+16*s+16*a*t.R,p=t.qa,v=t.ra+8*s+(i=8*a*t.B),b=t.Ha,g=t.Ia+8*s+i,i=0;16>i;++i)r(m,w+i*t.R,u,f+32*i,16);for(i=0;8>i;++i)r(p,v+i*t.B,c,h+32*i,8),r(b,g+i*t.B,l,d+32*i,8)}}function Ri(t,r,e,s,o,a,u,f,c){var h=[0],l=[0],d=0,v=null!=c?c.kd:0,m=null!=c?c:new ei;if(null==t||12>e)return 7;m.data=t,m.w=r,m.ha=e,r=[r],e=[e],m.gb=[m.gb];t:{var w=r,b=e,g=m.gb;if(n(null!=t),n(null!=b),n(null!=g),g[0]=0,12<=b[0]&&!i(t,w[0],"RIFF")){if(i(t,w[0]+8,"WEBP")){g=3;break t}var N=O(t,w[0]+4);if(12>N||4294967286<N){g=3;break t}if(v&&N>b[0]-8){g=7;break t}g[0]=N,w[0]+=12,b[0]-=12}g=0}if(0!=g)return g;for(N=0<m.gb[0],e=e[0];;){t:{var y=t;b=r,g=e;var A=h,k=l,x=w=[0];if((j=d=[d])[0]=0,8>g[0])g=7;else{if(!i(y,b[0],"VP8X")){if(10!=O(y,b[0]+4)){g=3;break t}if(18>g[0]){g=7;break t}var S=O(y,b[0]+8),q=1+P(y,b[0]+12);if(2147483648<=q*(y=1+P(y,b[0]+15))){g=3;break t}null!=x&&(x[0]=S),null!=A&&(A[0]=q),null!=k&&(k[0]=y),b[0]+=18,g[0]-=18,j[0]=1}g=0}}if(d=d[0],0!=g)return g;if(b=!!(2&(w=w[0])),!N&&d)return 3;if(null!=a&&(a[0]=!!(16&w)),null!=u&&(u[0]=b),null!=f&&(f[0]=0),u=h[0],w=l[0],d&&b&&null==c){g=0;break}if(4>e){g=7;break}if(N&&d||!N&&!d&&!i(t,r[0],"ALPH")){e=[e],m.na=[m.na],m.P=[m.P],m.Sa=[m.Sa];t:{g=r,N=e;var j=m.gb;A=m.na,k=m.P,x=m.Sa,q=22,n(null!=(S=t)),n(null!=N),y=g[0];var M=N[0];for(n(null!=A),n(null!=x),A[0]=null,k[0]=null,x[0]=0;;){if(g[0]=y,N[0]=M,8>M){g=7;break t}var E=O(S,y+4);if(4294967286<E){g=3;break t}var I=8+E+1&-2;if(q+=I,0<j&&q>j){g=3;break t}if(!i(S,y,"VP8 ")||!i(S,y,"VP8L")){g=0;break t}if(M[0]<I){g=7;break t}i(S,y,"ALPH")||(A[0]=S,k[0]=y+8,x[0]=E),y+=I,M-=I}}if(e=e[0],m.na=m.na[0],m.P=m.P[0],m.Sa=m.Sa[0],0!=g)break}e=[e],m.Ja=[m.Ja],m.xa=[m.xa];t:if(j=t,g=r,N=e,A=m.gb[0],k=m.Ja,x=m.xa,S=g[0],y=!i(j,S,"VP8 "),q=!i(j,S,"VP8L"),n(null!=j),n(null!=N),n(null!=k),n(null!=x),8>N[0])g=7;else{if(y||q){if(j=O(j,S+4),12<=A&&j>A-12){g=3;break t}if(v&&j>N[0]-8){g=7;break t}k[0]=j,g[0]+=8,N[0]-=8,x[0]=q}else x[0]=5<=N[0]&&47==j[S+0]&&!(j[S+4]>>5),k[0]=N[0];g=0}if(e=e[0],m.Ja=m.Ja[0],m.xa=m.xa[0],r=r[0],0!=g)break;if(4294967286<m.Ja)return 3;if(null==f||b||(f[0]=m.xa?2:1),u=[u],w=[w],m.xa){if(5>e){g=7;break}f=u,v=w,b=a,null==t||5>e?t=0:5<=e&&47==t[r+0]&&!(t[r+4]>>5)?(N=[0],j=[0],A=[0],p(k=new L,t,r,e),mt(k,N,j,A)?(null!=f&&(f[0]=N[0]),null!=v&&(v[0]=j[0]),null!=b&&(b[0]=A[0]),t=1):t=0):t=0}else{if(10>e){g=7;break}f=w,null==t||10>e||!Yt(t,r+3,e-3)?t=0:(v=t[r+0]|t[r+1]<<8|t[r+2]<<16,b=16383&(t[r+7]<<8|t[r+6]),t=16383&(t[r+9]<<8|t[r+8]),1&v||3<(v>>1&7)||!(v>>4&1)||v>>5>=m.Ja||!b||!t?t=0:(u&&(u[0]=b),f&&(f[0]=t),t=1))}if(!t)return 3;if(u=u[0],w=w[0],d&&(h[0]!=u||l[0]!=w))return 3;null!=c&&(c[0]=m,c.offset=r-c.w,n(4294967286>r-c.w),n(c.offset==c.ha-e));break}return 0==g||7==g&&d&&null==c?(null!=a&&(a[0]|=null!=m.na&&0<m.na.length),null!=s&&(s[0]=u),null!=o&&(o[0]=w),0):g}function Bi(t,n,i){var r=n.width,e=n.height,s=0,o=0,a=r,u=e;if(n.Da=null!=t&&0<t.Da,n.Da&&(a=t.cd,u=t.bd,s=t.v,o=t.j,11>i||(s&=-2,o&=-2),0>s||0>o||0>=a||0>=u||s+a>r||o+u>e))return 0;if(n.v=s,n.j=o,n.va=s+a,n.o=o+u,n.U=a,n.T=u,n.da=null!=t&&0<t.da,n.da){if(!B(a,u,i=[t.ib],s=[t.hb]))return 0;n.ib=i[0],n.hb=s[0]}return n.ob=null!=t&&t.ob,n.Kb=null==t||!t.Sd,n.da&&(n.ob=n.ib<3*r/4&&n.hb<3*e/4,n.Kb=0),1}function Ti(t){if(null==t)return 2;if(11>t.S){var n=t.f.RGBA;n.fb+=(t.height-1)*n.A,n.A=-n.A}else(n=t.f.kb).O+=((t=t.height)-1)*n.fa,n.fa=-n.fa,n.N+=(t-1>>1)*n.Ab,n.Ab=-n.Ab,n.W+=(t-1>>1)*n.Db,n.Db=-n.Db,null!=n.F&&(n.J+=(t-1)*n.lb,n.lb=-n.lb);return 0}function Ci(t,n,i,r){if(null==r||0>=t||0>=n)return 2;if(null!=i){if(i.Da){var e=i.cd,o=i.bd,a=-2&i.v,u=-2&i.j;if(0>a||0>u||0>=e||0>=o||a+e>t||u+o>n)return 2;t=e,n=o}if(i.da){if(!B(t,n,e=[i.ib],o=[i.hb]))return 2;t=e[0],n=o[0]}}r.width=t,r.height=n;t:{var f=r.width,c=r.height;if(t=r.S,0>=f||0>=c||!(t>=Br&&13>t))t=2;else{if(0>=r.Rd&&null==r.sd){a=o=e=n=0;var h=(u=f*Ve[t])*c;if(11>t||(o=(c+1)/2*(n=(f+1)/2),12==t&&(a=(e=f)*c)),null==(c=s(h+2*o+a))){t=1;break t}r.sd=c,11>t?((f=r.f.RGBA).eb=c,f.fb=0,f.A=u,f.size=h):((f=r.f.kb).y=c,f.O=0,f.fa=u,f.Fd=h,f.f=c,f.N=0+h,f.Ab=n,f.Cd=o,f.ea=c,f.W=0+h+o,f.Db=n,f.Ed=o,12==t&&(f.F=c,f.J=0+h+2*o),f.Tc=a,f.lb=e)}if(n=1,o=r.width,a=r.height,(e=r.S)>=Br&&13>e)if(11>e)t=r.f.RGBA,n&=(u=Math.abs(t.A))*(a-1)+o<=t.size,n&=u>=o*Ve[e],n&=null!=t.eb;else{t=r.f.kb,u=(o+1)/2,h=(a+1)/2,f=Math.abs(t.fa),c=Math.abs(t.Ab);var l=Math.abs(t.Db),d=Math.abs(t.lb);n&=f*(a-1)+o<=t.Fd,n&=c*(h-1)+u<=t.Cd,n=(n&=l*(h-1)+u<=t.Ed)&f>=o&c>=u&l>=u,n&=null!=t.y,n&=null!=t.f,n&=null!=t.ea,12==e&&(n&=d>=o,n&=d*(a-1)+o<=t.Tc,n&=null!=t.F)}else n=0;t=n?0:2}}return 0!=t||null!=i&&i.fd&&(t=Ti(r)),t}var Di=64,zi=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Ui=24,Vi=32,Wi=8,_i=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];D("Predictor0","PredictorAdd0"),t.Predictor0=function(){return 4278190080},t.Predictor1=function(t){return t},t.Predictor2=function(t,n,i){return n[i+0]},t.Predictor3=function(t,n,i){return n[i+1]},t.Predictor4=function(t,n,i){return n[i-1]},t.Predictor5=function(t,n,i){return U(U(t,n[i+1]),n[i+0])},t.Predictor6=function(t,n,i){return U(t,n[i-1])},t.Predictor7=function(t,n,i){return U(t,n[i+0])},t.Predictor8=function(t,n,i){return U(n[i-1],n[i+0])},t.Predictor9=function(t,n,i){return U(n[i+0],n[i+1])},t.Predictor10=function(t,n,i){return U(U(t,n[i-1]),U(n[i+0],n[i+1]))},t.Predictor11=function(t,n,i){var r=n[i+0];return 0>=_(r>>24&255,t>>24&255,(n=n[i-1])>>24&255)+_(r>>16&255,t>>16&255,n>>16&255)+_(r>>8&255,t>>8&255,n>>8&255)+_(255&r,255&t,255&n)?r:t},t.Predictor12=function(t,n,i){var r=n[i+0];return(V((t>>24&255)+(r>>24&255)-((n=n[i-1])>>24&255))<<24|V((t>>16&255)+(r>>16&255)-(n>>16&255))<<16|V((t>>8&255)+(r>>8&255)-(n>>8&255))<<8|V((255&t)+(255&r)-(255&n)))>>>0},t.Predictor13=function(t,n,i){var r=n[i-1];return(W((t=U(t,n[i+0]))>>24&255,r>>24&255)<<24|W(t>>16&255,r>>16&255)<<16|W(t>>8&255,r>>8&255)<<8|W(255&t,255&r))>>>0};var Hi=t.PredictorAdd0;t.PredictorAdd1=H,D("Predictor2","PredictorAdd2"),D("Predictor3","PredictorAdd3"),D("Predictor4","PredictorAdd4"),D("Predictor5","PredictorAdd5"),D("Predictor6","PredictorAdd6"),D("Predictor7","PredictorAdd7"),D("Predictor8","PredictorAdd8"),D("Predictor9","PredictorAdd9"),D("Predictor10","PredictorAdd10"),D("Predictor11","PredictorAdd11"),D("Predictor12","PredictorAdd12"),D("Predictor13","PredictorAdd13");var Gi=t.PredictorAdd2;Y("ColorIndexInverseTransform","MapARGB","32b",(function(t){return t>>8&255}),(function(t){return t})),Y("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(t){return t}),(function(t){return t>>8&255}));var Ji,$i=t.ColorIndexInverseTransform,Yi=t.MapARGB,Ki=t.VP8LColorIndexInverseTransformAlpha,Xi=t.MapAlpha,Zi=t.VP8LPredictorsAdd=[];Zi.length=16,(t.VP8LPredictors=[]).length=16,(t.VP8LPredictorsAdd_C=[]).length=16,(t.VP8LPredictors_C=[]).length=16;var Qi,tr,nr,ir,rr,er,sr,or,ar,ur,fr,cr,hr,lr,dr,vr,mr,wr,pr,br,gr,Nr,Lr,yr,Ar,kr,xr,Sr,qr=s(511),jr=s(2041),Mr=s(225),Er=s(767),Pr=0,Or=jr,Ir=Mr,Fr=Er,Rr=qr,Br=0,Tr=1,Cr=2,Dr=3,zr=4,Ur=5,Vr=6,Wr=7,_r=8,Hr=9,Gr=10,Jr=[2,3,7],$r=[3,3,11],Yr=[280,256,256,256,40],Kr=[0,1,1,1,0],Xr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zr=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Qr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],te=8,ne=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ie=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],re=null,ee=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],se=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],oe=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],ae=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],ue=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],fe=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ce=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],he=[],le=[],de=[],ve=1,me=2,we=[],pe=[];bi("UpsampleRgbLinePair",ki,3),bi("UpsampleBgrLinePair",xi,3),bi("UpsampleRgbaLinePair",Ei,4),bi("UpsampleBgraLinePair",Mi,4),bi("UpsampleArgbLinePair",ji,4),bi("UpsampleRgba4444LinePair",qi,2),bi("UpsampleRgb565LinePair",Si,2);var be=t.UpsampleRgbLinePair,ge=t.UpsampleBgrLinePair,Ne=t.UpsampleRgbaLinePair,Le=t.UpsampleBgraLinePair,ye=t.UpsampleArgbLinePair,Ae=t.UpsampleRgba4444LinePair,ke=t.UpsampleRgb565LinePair,xe=16,Se=1<<xe-1,qe=-227,je=482,Me=6,Ee=(256<<Me)-1,Pe=0,Oe=s(256),Ie=s(256),Fe=s(256),Re=s(256),Be=s(je-qe),Te=s(je-qe);Pi("YuvToRgbRow",ki,3),Pi("YuvToBgrRow",xi,3),Pi("YuvToRgbaRow",Ei,4),Pi("YuvToBgraRow",Mi,4),Pi("YuvToArgbRow",ji,4),Pi("YuvToRgba4444Row",qi,2),Pi("YuvToRgb565Row",Si,2);var Ce=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],De=[0,2,8],ze=[8,7,6,4,4,2,2,2,1,1,1,1],Ue=1;this.WebPDecodeRGBA=function(t,i,r,e,s){var o=Tr,a=new ri,u=new ot;a.ba=u,u.S=o,u.width=[u.width],u.height=[u.height];var f=u.width,c=u.height,h=new at;if(null==h||null==t)var l=2;else n(null!=h),l=Ri(t,i,r,h.width,h.height,h.Pd,h.Qd,h.format,null);if(0!=l?f=0:(null!=f&&(f[0]=h.width[0]),null!=c&&(c[0]=h.height[0]),f=1),f){u.width=u.width[0],u.height=u.height[0],null!=e&&(e[0]=u.width),null!=s&&(s[0]=u.height);t:{if(e=new Gt,(s=new ei).data=t,s.w=i,s.ha=r,s.kd=1,i=[0],n(null!=s),(0==(t=Ri(s.data,s.w,s.ha,null,null,null,i,null,s))||7==t)&&i[0]&&(t=4),0==(i=t)){if(n(null!=a),e.data=s.data,e.w=s.w+s.offset,e.ha=s.ha-s.offset,e.put=dt,e.ac=lt,e.bc=vt,e.ma=a,s.xa){if(null==(t=jt())){a=1;break t}if(function(t,i){var r=[0],e=[0],s=[0];n:for(;;){if(null==t)return 0;if(null==i)return t.a=2,0;if(t.l=i,t.a=0,p(t.m,i.data,i.w,i.ha),!mt(t.m,r,e,s)){t.a=3;break n}if(t.xb=me,i.width=r[0],i.height=e[0],!Mt(r[0],e[0],1,t,null))break n;return 1}return n(0!=t.a),0}(t,e)){if(e=0==(i=Ci(e.width,e.height,a.Oa,a.ba))){n:{e=t;i:for(;;){if(null==e){e=0;break n}if(n(null!=e.s.yc),n(null!=e.s.Ya),n(0<e.s.Wb),n(null!=(r=e.l)),n(null!=(s=r.ma)),0!=e.xb){if(e.ca=s.ba,e.tb=s.tb,n(null!=e.ca),!Bi(s.Oa,r,Dr)){e.a=2;break i}if(!Et(e,r.width))break i;if(r.da)break i;if((r.da||rt(e.ca.S))&&pi(),11>e.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=e.ca.f.kb.F&&pi()),e.Pb&&0<e.s.ua&&null==e.s.vb.X&&!I(e.s.vb,e.s.Wa.Xa)){e.a=1;break i}e.xb=0}if(!St(e,e.V,e.Ba,e.c,e.i,r.o,yt))break i;s.Dc=e.Ma,e=1;break n}n(0!=e.a),e=0}e=!e}e&&(i=t.a)}else i=t.a}else{if(null==(t=new Jt)){a=1;break t}if(t.Fa=s.na,t.P=s.P,t.qc=s.Sa,Kt(t,e)){if(0==(i=Ci(e.width,e.height,a.Oa,a.ba))){if(t.Aa=0,r=a.Oa,n(null!=(s=t)),null!=r){if(0<(f=0>(f=r.Md)?0:100<f?255:255*f/100)){for(c=h=0;4>c;++c)12>(l=s.pb[c]).lc&&(l.ia=f*ze[0>l.lc?0:l.lc]>>3),h|=l.ia;h&&(alert("todo:VP8InitRandom"),s.ia=1)}s.Ga=r.Id,100<s.Ga?s.Ga=100:0>s.Ga&&(s.Ga=0)}Qt(t,e)||(i=t.a)}}else i=t.a}0==i&&null!=a.Oa&&a.Oa.fd&&(i=Ti(a.ba))}a=i}o=0!=a?null:11>o?u.f.RGBA.eb:u.f.kb.y}else o=null;return o};var Ve=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function f(t,n){for(var i="",r=0;r<4;r++)i+=String.fromCharCode(t[n++]);return i}function c(t,n){return(t[n+0]|t[n+1]<<8|t[n+2]<<16)>>>0}function h(t,n){return(t[n+0]|t[n+1]<<8|t[n+2]<<16|t[n+3]<<24)>>>0}new u;var l=[0],d=[0],v=[],m=new u,w=t,p=function(t,n){var i={},r=0,e=!1,s=0,o=0;if(i.frames=[],!
|
258
|
+
/** @license
|
259
|
+
* Copyright (c) 2017 Dominik Homberger
|
260
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
261
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
262
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
263
|
+
https://webpjs.appspot.com
|
264
|
+
WebPRiffParser dominikhlbg@gmail.com
|
265
|
+
*/
|
266
|
+
function(t,n){for(var i=0;i<4;i++)if(t[n+i]!="RIFF".charCodeAt(i))return!0;return!1}(t,n)){var a,u;for(h(t,n+=4),n+=8;n<t.length;){var l=f(t,n),d=h(t,n+=4);n+=4;var v=d+(1&d);switch(l){case"VP8 ":case"VP8L":void 0===i.frames[r]&&(i.frames[r]={}),(p=i.frames[r]).src_off=e?o:n-8,p.src_size=s+d+8,r++,e&&(e=!1,s=0,o=0);break;case"VP8X":(p=i.header={}).feature_flags=t[n];var m=n+4;p.canvas_width=1+c(t,m),p.canvas_height=1+c(t,m+=3),m+=3;break;case"ALPH":e=!0,s=v+8,o=n-8;break;case"ANIM":(p=i.header).bgcolor=h(t,n),p.loop_count=(a=t)[(u=m=n+4)+0]|a[u+1]<<8,m+=2;break;case"ANMF":var w,p;(p=i.frames[r]={}).offset_x=2*c(t,n),p.offset_y=2*c(t,n+=3),p.width=1+c(t,n+=3),p.height=1+c(t,n+=3),p.duration=c(t,n+=3),n+=3,w=t[n++],p.dispose=1&w,p.blend=w>>1&1}"ANMF"!=l&&(n+=v)}return i}}(w,0);p.response=w,p.rgbaoutput=!0,p.dataurl=!1;var b=p.header?p.header:null,g=p.frames?p.frames:null;b&&(b.loop_counter=b.loop_count,l=[b.canvas_height],d=[b.canvas_width]);var N=g[0],L=m.WebPDecodeRGBA(w,N.src_off,N.src_size,d,l);N.rgba=L,N.imgwidth=d[0],N.imgheight=l[0];for(var y=0;y<d[0]*l[0]*4;y++)v[y]=L[y];return this.width=d,this.height=l,this.data=v,this}!function(t){var n=function(n,r,u,f){var c=4,h=s;switch(f){case t.image_compression.FAST:c=1,h=e;break;case t.image_compression.MEDIUM:c=6,h=o;break;case t.image_compression.SLOW:c=9,h=a}var l=Z(n=i(n,r,u,h),{level:c});return t.__addimage__.arrayBufferToBinaryString(l)},i=function(t,n,i,r){for(var e,s,o,a=t.length/n,u=new Uint8Array(t.length+a),h=f(),l=0;l<a;l+=1){if(e=t.subarray(o=l*n,o+n),r)u.set(r(e,i,s),o+l);else{for(var d,v=h.length,m=[];d<v;d+=1)m[d]=h[d](e,i,s);var w=c(m.concat());u.set(m[w],o+l)}s=e}return u},r=function(t){var n=Array.apply([],t);return n.unshift(0),n},e=function(t,n){var i=[],r=t.length;i[0]=1;for(var e=0;e<r;e+=1)i[e+1]=t[e]-(t[e-n]||0)+256&255;return i},s=function(t,n,i){var r=[],e=t.length;r[0]=2;for(var s=0;s<e;s+=1)r[s+1]=t[s]-(i&&i[s]||0)+256&255;return r},o=function(t,n,i){var r=[],e=t.length;r[0]=3;for(var s=0;s<e;s+=1)r[s+1]=t[s]+256-((t[s-n]||0)+(i&&i[s]||0)>>>1)&255;return r},a=function(t,n,i){var r,e=[],s=t.length;e[0]=4;for(var o=0;o<s;o+=1)r=u(t[o-n]||0,i&&i[o]||0,i&&i[o-n]||0),e[o+1]=t[o]-r+256&255;return e},u=function(t,n,i){if(t===n&&n===i)return t;var r=Math.abs(n-i),e=Math.abs(t-i),s=Math.abs(t+n-i-i);return r<=e&&r<=s?t:e<=s?n:i},f=function(){return[r,e,s,o,a]},c=function(t){var n=t.map((function(t){return t.reduce((function(t,n){return t+Math.abs(n)}),0)}));return n.indexOf(Math.min.apply(null,n))};t.processPNG=function(i,r,e,s){var o,a,u,f,c,h,l,d,v,m,w,p,b,g,N,L=this.decode.FLATE_DECODE,y="";if(this.__addimage__.isArrayBuffer(i)&&(i=new Uint8Array(i)),this.__addimage__.isArrayBufferView(i)){if(i=(u=new Gn(i)).imgData,a=u.bits,o=u.colorSpace,c=u.colors,-1!==[4,6].indexOf(u.colorType)){if(8===u.bits){v=(d=32==u.pixelBitlength?new Uint32Array(u.decodePixels().buffer):16==u.pixelBitlength?new Uint16Array(u.decodePixels().buffer):new Uint8Array(u.decodePixels().buffer)).length,w=new Uint8Array(v*u.colors),m=new Uint8Array(v);var A,k=u.pixelBitlength-u.bits;for(g=0,N=0;g<v;g++){for(b=d[g],A=0;A<k;)w[N++]=b>>>A&255,A+=u.bits;m[g]=b>>>A&255}}if(16===u.bits){v=(d=new Uint32Array(u.decodePixels().buffer)).length,w=new Uint8Array(v*(32/u.pixelBitlength)*u.colors),m=new Uint8Array(v*(32/u.pixelBitlength)),p=u.colors>1,g=0,N=0;for(var x=0;g<v;)b=d[g++],w[N++]=b>>>0&255,p&&(w[N++]=b>>>16&255,b=d[g++],w[N++]=b>>>0&255),m[x++]=b>>>16&255;a=8}s!==t.image_compression.NONE?(i=n(w,u.width*u.colors,u.colors,s),l=n(m,u.width,1,s)):(i=w,l=m,L=void 0)}if(3===u.colorType&&(o=this.color_spaces.INDEXED,h=u.palette,u.transparency.indexed)){var S=u.transparency.indexed,q=0;for(g=0,v=S.length;g<v;++g)q+=S[g];if((q/=255)==v-1&&-1!==S.indexOf(0))f=[S.indexOf(0)];else if(q!==v){for(d=u.decodePixels(),m=new Uint8Array(d.length),g=0,v=d.length;g<v;g++)m[g]=S[d[g]];l=n(m,u.width,1)}}var j=function(n){var i;switch(n){case t.image_compression.FAST:i=11;break;case t.image_compression.MEDIUM:i=13;break;case t.image_compression.SLOW:i=14;break;default:i=12}return i}(s);return L===this.decode.FLATE_DECODE&&(y="/Predictor "+j+" "),y+="/Colors "+c+" /BitsPerComponent "+a+" /Columns "+u.width,(this.__addimage__.isArrayBuffer(i)||this.__addimage__.isArrayBufferView(i))&&(i=this.__addimage__.arrayBufferToBinaryString(i)),(l&&this.__addimage__.isArrayBuffer(l)||this.__addimage__.isArrayBufferView(l))&&(l=this.__addimage__.arrayBufferToBinaryString(l)),{alias:e,data:i,index:r,filter:L,decodeParameters:y,transparency:f,palette:h,sMask:l,predictor:j,width:u.width,height:u.height,bitsPerComponent:a,colorSpace:o}}}}(It.API),function(t){t.processGIF89A=function(n,i,r,e){var s=new Jn(n),o=s.width,a=s.height,u=[];s.decodeAndBlitFrameRGBA(0,u);var f={data:u,width:o,height:a},c=new Yn(100).encode(f,100);return t.processJPEG.call(this,c,i,r,e)},t.processGIF87A=t.processGIF89A}(It.API),Kn.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var n=0;n<t;n++){var i=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),e=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0);this.palette[n]={red:e,green:r,blue:i,quad:s}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Kn.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP;this.data=new Uint8Array(this.width*this.height*4),this[t]()}catch(t){it.log("bit decode error:"+t)}},Kn.prototype.bit1=function(){var t,n=Math.ceil(this.width/8),i=n%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,e=0;e<n;e++)for(var s=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+8*e*4,a=0;a<8&&8*e+a<this.width;a++){var u=this.palette[s>>7-a&1];this.data[o+4*a]=u.blue,this.data[o+4*a+1]=u.green,this.data[o+4*a+2]=u.red,this.data[o+4*a+3]=255}0!==i&&(this.pos+=4-i)}},Kn.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),n=t%4,i=this.height-1;i>=0;i--){for(var r=this.bottom_up?i:this.height-1-i,e=0;e<t;e++){var s=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+2*e*4,a=15&s,u=this.palette[s>>4];if(this.data[o]=u.blue,this.data[o+1]=u.green,this.data[o+2]=u.red,this.data[o+3]=255,2*e+1>=this.width)break;this.data[o+4]=(u=this.palette[a]).blue,this.data[o+4+1]=u.green,this.data[o+4+2]=u.red,this.data[o+4+3]=255}0!==n&&(this.pos+=4-n)}},Kn.prototype.bit8=function(){for(var t=this.width%4,n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,r=0;r<this.width;r++){var e=this.datav.getUint8(this.pos++,!0),s=i*this.width*4+4*r;if(e<this.palette.length){var o=this.palette[e];this.data[s]=o.red,this.data[s+1]=o.green,this.data[s+2]=o.blue,this.data[s+3]=255}else this.data[s]=255,this.data[s+1]=255,this.data[s+2]=255,this.data[s+3]=255}0!==t&&(this.pos+=4-t)}},Kn.prototype.bit15=function(){for(var t=this.width%3,n=parseInt("11111",2),i=this.height-1;i>=0;i--){for(var r=this.bottom_up?i:this.height-1-i,e=0;e<this.width;e++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(s&n)/n*255|0,a=(s>>5&n)/n*255|0,u=s>>15?255:0,f=r*this.width*4+4*e;this.data[f]=(s>>10&n)/n*255|0,this.data[f+1]=a,this.data[f+2]=o,this.data[f+3]=u}this.pos+=t}},Kn.prototype.bit16=function(){for(var t=this.width%3,n=parseInt("11111",2),i=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var e=this.bottom_up?r:this.height-1-r,s=0;s<this.width;s++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var a=(o&n)/n*255|0,u=(o>>5&i)/i*255|0,f=e*this.width*4+4*s;this.data[f]=(o>>11)/n*255|0,this.data[f+1]=u,this.data[f+2]=a,this.data[f+3]=255}this.pos+=t}},Kn.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<this.width;i++){var r=this.datav.getUint8(this.pos++,!0),e=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+4*i;this.data[o]=s,this.data[o+1]=e,this.data[o+2]=r,this.data[o+3]=255}this.pos+=this.width%4}},Kn.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var n=this.bottom_up?t:this.height-1-t,i=0;i<this.width;i++){var r=this.datav.getUint8(this.pos++,!0),e=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),a=n*this.width*4+4*i;this.data[a]=s,this.data[a+1]=e,this.data[a+2]=r,this.data[a+3]=o}},Kn.prototype.getData=function(){return this.data},
|
267
|
+
/**
|
268
|
+
* @license
|
269
|
+
* Copyright (c) 2018 Aras Abbasi
|
270
|
+
*
|
271
|
+
* Licensed under the MIT License.
|
272
|
+
* http://opensource.org/licenses/mit-license
|
273
|
+
*/
|
274
|
+
function(t){t.processBMP=function(n,i,r,e){var s=new Kn(n,!1),o=s.width,a=s.height,u={data:s.getData(),width:o,height:a},f=new Yn(100).encode(u,100);return t.processJPEG.call(this,f,i,r,e)}}(It.API),Xn.prototype.getData=function(){return this.data},
|
275
|
+
/**
|
276
|
+
* @license
|
277
|
+
* Copyright (c) 2019 Aras Abbasi
|
278
|
+
*
|
279
|
+
* Licensed under the MIT License.
|
280
|
+
* http://opensource.org/licenses/mit-license
|
281
|
+
*/
|
282
|
+
function(t){t.processWEBP=function(n,i,r,e){var s=new Xn(n,!1),o=s.width,a=s.height,u={data:s.getData(),width:o,height:a},f=new Yn(100).encode(u,100);return t.processJPEG.call(this,f,i,r,e)}}(It.API),It.API.processRGBA=function(t,n,i){for(var r=t.data,e=r.length,s=new Uint8Array(e/4*3),o=new Uint8Array(e/4),a=0,u=0,f=0;f<e;f+=4){var c=r[f+1],h=r[f+2],l=r[f+3];s[a++]=r[f],s[a++]=c,s[a++]=h,o[u++]=l}var d=this.__addimage__.arrayBufferToBinaryString(s);return{alpha:this.__addimage__.arrayBufferToBinaryString(o),data:d,index:n,alias:i,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},It.API.setLanguage=function(t){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]&&(this.internal.languageSettings.languageCode=t,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},Vn=(Un=It.API).getCharWidthsArray=function(n,i){var r,e,s=(i=i||{}).font||this.internal.getFont(),o=i.fontSize||this.internal.getFontSize(),a=i.charSpace||this.internal.getCharSpace(),u=i.widths?i.widths:s.metadata.Unicode.widths,f=u.fof?u.fof:1,c=i.kerning?i.kerning:s.metadata.Unicode.kerning,h=c.fof?c.fof:1,l=!1!==i.doKerning,d=0,v=n.length,m=0,w=u[0]||f,p=[];for(r=0;r<v;r++)e=n.charCodeAt(r),"function"==typeof s.metadata.widthOfString?p.push((s.metadata.widthOfGlyph(s.metadata.characterToGlyph(e))+a*(1e3/o)||0)/1e3):(d=l&&"object"===t(c[e])&&!isNaN(parseInt(c[e][m],10))?c[e][m]/h:0,p.push((u[e]||w)/f+d)),m=e;return p},Wn=Un.getStringUnitWidth=function(t,n){var i=(n=n||{}).fontSize||this.internal.getFontSize(),r=n.font||this.internal.getFont(),e=n.charSpace||this.internal.getCharSpace();return Un.processArabic&&(t=Un.processArabic(t)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(t,i,e)/i:Vn.apply(this,arguments).reduce((function(t,n){return t+n}),0)},_n=function(t,n,i,r){for(var e=[],s=0,o=t.length,a=0;s!==o&&a+n[s]<i;)a+=n[s],s++;e.push(t.slice(0,s));var u=s;for(a=0;s!==o;)a+n[s]>r&&(e.push(t.slice(u,s)),a=0,u=s),a+=n[s],s++;return u!==s&&e.push(t.slice(u,s)),e},Hn=function(t,n,i){i||(i={});var r,e,s,o,a,u,f,c=[],h=[c],l=i.textIndent||0,d=0,v=0,m=t.split(" "),w=Vn.apply(this,[" ",i])[0];if(u=-1===i.lineIndent?m[0].length+2:i.lineIndent||0){var p=Array(u).join(" "),b=[];m.map((function(t){(t=t.split(/\s*\n/)).length>1?b=b.concat(t.map((function(t,n){return(n&&t.length?"\n":"")+t}))):b.push(t[0])})),m=b,u=Wn.apply(this,[p,i])}for(s=0,o=m.length;s<o;s++){var g=0;if(r=m[s],u&&"\n"==r[0]&&(r=r.substr(1),g=1),l+d+(v=(e=Vn.apply(this,[r,i])).reduce((function(t,n){return t+n}),0))>n||g){if(v>n){for(a=_n.apply(this,[r,e,n-(l+d),n]),c.push(a.shift()),c=[a.pop()];a.length;)h.push([a.shift()]);v=e.slice(r.length-(c[0]?c[0].length:0)).reduce((function(t,n){return t+n}),0)}else c=[r];h.push(c),l=v+u,d=w}else c.push(r),l+=d+v,d=w}return f=u?function(t,n){return(n?p:"")+t.join(" ")}:function(t){return t.join(" ")},h.map(f)},Un.splitTextToSize=function(t,n,i){var r,e=(i=i||{}).fontSize||this.internal.getFontSize(),s=function(t){if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var n=this.internal.getFont(t.fontName,t.fontStyle);return n.metadata.Unicode?{widths:n.metadata.Unicode.widths||{0:1},kerning:n.metadata.Unicode.kerning||{}}:{font:n.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,i);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var o=1*this.internal.scaleFactor*n/e;s.textIndent=i.textIndent?1*i.textIndent*this.internal.scaleFactor/e:0,s.lineIndent=i.lineIndent;var a,u,f=[];for(a=0,u=r.length;a<u;a++)f=f.concat(Hn.apply(this,[r[a],o,s]));return f},function(n){n.__fontmetrics__=n.__fontmetrics__||{};for(var i="klmnopqrstuvwxyz",r={},e={},s=0;s<16;s++)r[i[s]]="0123456789abcdef"[s],e["0123456789abcdef"[s]]=i[s];var o=function(t){return"0x"+parseInt(t,10).toString(16)},a=n.__fontmetrics__.compress=function(n){var i,r,s,u,f=["{"];for(var c in n){if(i=n[c],isNaN(parseInt(c,10))?r="'"+c+"'":(c=parseInt(c,10),r=(r=o(c).slice(2)).slice(0,-1)+e[r.slice(-1)]),"number"==typeof i)i<0?(s=o(i).slice(3),u="-"):(s=o(i).slice(2),u=""),s=u+s.slice(0,-1)+e[s.slice(-1)];else{if("object"!==t(i))throw new Error("Don't know what to do with value type "+t(i)+".");s=a(i)}f.push(r+s)}return f.push("}"),f.join("")},u=n.__fontmetrics__.uncompress=function(t){if("string"!=typeof t)throw new Error("Invalid argument passed to uncompress.");for(var n,i,e,s,o={},a=1,u=o,f=[],c="",h="",l=t.length-1,d=1;d<l;d+=1)"'"==(s=t[d])?n?(e=n.join(""),n=void 0):n=[]:n?n.push(s):"{"==s?(f.push([u,e]),u={},e=void 0):"}"==s?((i=f.pop())[0][i[1]]=u,e=void 0,u=i[0]):"-"==s?a=-1:void 0===e?r.hasOwnProperty(s)?(c+=r[s],e=parseInt(c,16)*a,a=1,c=""):c+=s:r.hasOwnProperty(s)?(h+=r[s],u[e]=parseInt(h,16)*a,a=1,e=void 0,h=""):h+=s;return o},f={codePages:["WinAnsiEncoding"],WinAnsiEncoding:u("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:f,"Courier-Bold":f,"Courier-BoldOblique":f,"Courier-Oblique":f,Helvetica:f,"Helvetica-Bold":f,"Helvetica-BoldOblique":f,"Helvetica-Oblique":f,"Times-Roman":f,"Times-Bold":f,"Times-BoldItalic":f,"Times-Italic":f}},h={Unicode:{"Courier-Oblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":u("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":u("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:u("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":u("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:u("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":u("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":u("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":u("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":u("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};n.events.push(["addFont",function(t){var n=t.font,i=h.Unicode[n.postScriptName];i&&(n.metadata.Unicode={},n.metadata.Unicode.widths=i.widths,n.metadata.Unicode.kerning=i.kerning);var r=c.Unicode[n.postScriptName];r&&(n.metadata.Unicode.encoding=r,n.encoding=r.codePages[0])}])}(It.API),
|
283
|
+
/**
|
284
|
+
* @license
|
285
|
+
* Licensed under the MIT License.
|
286
|
+
* http://opensource.org/licenses/mit-license
|
287
|
+
*/
|
288
|
+
function(t){var n=function(t){for(var n=t.length,i=new Uint8Array(n),r=0;r<n;r++)i[r]=t.charCodeAt(r);return i};t.API.events.push(["addFont",function(i){var r=void 0,e=i.font,s=i.instance;if(!e.isStandardFont){if(void 0===s)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+e.postScriptName+"').");if("string"!=typeof(r=!1===s.existsFileInVFS(e.postScriptName)?s.loadFile(e.postScriptName):s.getFileFromVFS(e.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+e.postScriptName+"').");!function(i,r){r=/^\x00\x01\x00\x00/.test(r)?n(r):n(ot(r)),i.metadata=t.API.TTFFont.open(r),i.metadata.Unicode=i.metadata.Unicode||{encoding:{},kerning:{},widths:[]},i.metadata.glyIdsUsed=[0]}(e,r)}}])}(It),
|
289
|
+
/** @license
|
290
|
+
* Copyright (c) 2012 Willow Systems Corporation, https://github.com/willowsystems
|
291
|
+
*
|
292
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
293
|
+
* a copy of this software and associated documentation files (the
|
294
|
+
* "Software"), to deal in the Software without restriction, including
|
295
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
296
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
297
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
298
|
+
* the following conditions:
|
299
|
+
*
|
300
|
+
* The above copyright notice and this permission notice shall be
|
301
|
+
* included in all copies or substantial portions of the Software.
|
302
|
+
*
|
303
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
304
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
305
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
306
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
307
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
308
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
309
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
310
|
+
* ====================================================================
|
311
|
+
*/
|
312
|
+
function(){function t(){return(tt.canvg?Promise.resolve(tt.canvg):import("./p-dc188d13.js")).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}It.API.addSvgAsImage=function(n,i,r,e,s,o,a,u){if(isNaN(i)||isNaN(r))throw it.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(e)||isNaN(s))throw it.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=e,f.height=s;var c=f.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,f.width,f.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},l=this;return t().then((function(t){return t.fromString(c,n,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(h)})).then((function(){l.addImage(f.toDataURL("image/jpeg",1),i,r,e,s,a,u)}))}}(),It.API.putTotalPages=function(t){var n,i=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),i=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),i=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var e=0;e<this.internal.pages[r].length;e++)this.internal.pages[r][e]=this.internal.pages[r][e].replace(n,i);return this},It.API.viewerPreferences=function(n,i){var r;n=n||{},i=i||!1;var e,s,o,a={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},u=Object.keys(a),f=[],c=0,h=0,l=0;function d(t,n){var i,r=!1;for(i=0;i<t.length;i+=1)t[i]===n&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(a)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===n||!0===i){var v=u.length;for(l=0;l<v;l+=1)r[u[l]].value=r[u[l]].defaultValue,r[u[l]].explicitSet=!1}if("object"===t(n))for(s in n)if(o=n[s],d(u,s)&&void 0!==o){if("boolean"===r[s].type&&"boolean"==typeof o)r[s].value=o;else if("name"===r[s].type&&d(r[s].valueSet,o))r[s].value=o;else if("integer"===r[s].type&&Number.isInteger(o))r[s].value=o;else if("array"===r[s].type){for(c=0;c<o.length;c+=1)if(e=!0,1===o[c].length&&"number"==typeof o[c][0])f.push(String(o[c]-1));else if(o[c].length>1){for(h=0;h<o[c].length;h+=1)"number"!=typeof o[c][h]&&(e=!1);!0===e&&f.push([o[c][0]-1,o[c][1]-1].join(" "))}r[s].value="["+f.join(" ")+"]"}else r[s].value=r[s].defaultValue;r[s].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,n=[];for(t in r)!0===r[t].explicitSet&&n.push("name"===r[t].type?"/"+t+" /"+r[t].value:"/"+t+" "+r[t].value);0!==n.length&&this.internal.write("/ViewerPreferences\n<<\n"+n.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this
|
313
|
+
/** ====================================================================
|
314
|
+
* @license
|
315
|
+
* jsPDF XMP metadata plugin
|
316
|
+
* Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi
|
317
|
+
*
|
318
|
+
* Permission is hereby granted, free of charge, to any person obtaining
|
319
|
+
* a copy of this software and associated documentation files (the
|
320
|
+
* "Software"), to deal in the Software without restriction, including
|
321
|
+
* without limitation the rights to use, copy, modify, merge, publish,
|
322
|
+
* distribute, sublicense, and/or sell copies of the Software, and to
|
323
|
+
* permit persons to whom the Software is furnished to do so, subject to
|
324
|
+
* the following conditions:
|
325
|
+
*
|
326
|
+
* The above copyright notice and this permission notice shall be
|
327
|
+
* included in all copies or substantial portions of the Software.
|
328
|
+
*
|
329
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
330
|
+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
331
|
+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
332
|
+
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
333
|
+
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
334
|
+
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
335
|
+
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
336
|
+
* ====================================================================
|
337
|
+
*/},function(){var t=function(){var t='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',n=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),i=unescape(encodeURIComponent(t)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),e=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),s=unescape(encodeURIComponent("</x:xmpmeta>")),o=i.length+r.length+e.length+n.length+s.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(n+i+r+e+s),this.internal.write("endstream"),this.internal.write("endobj")},n=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};It.API.addMetadata=function(i,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:i,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",n),this.internal.events.subscribe("postPutResources",t)),this}}(),function(t){var n=t.API,i=n.pdfEscape16=function(t,n){for(var i,r=n.metadata.Unicode.widths,e=["","0","00","000","0000"],s=[""],o=0,a=t.length;o<a;++o){if(i=n.metadata.characterToGlyph(t.charCodeAt(o)),n.metadata.glyIdsUsed.push(i),n.metadata.toUnicode[i]=t.charCodeAt(o),-1==r.indexOf(i)&&(r.push(i),r.push([parseInt(n.metadata.widthOfGlyph(i),10)])),"0"==i)return s.join("");i=i.toString(16),s.push(e[4-i.length],i)}return s.join("")},r=function(t){var n,i,r,e,s,o,a;for(s="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],o=0,a=(i=Object.keys(t).sort((function(t,n){return t-n}))).length;o<a;o++)n=i[o],r.length>=100&&(s+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),null!=t[n]&&"function"==typeof t[n].toString&&(e=("0000"+t[n].toString(16)).slice(-4),n=("0000"+(+n).toString(16)).slice(-4),r.push("<"+n+"><"+e+">"));return r.length&&(s+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),s+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};n.events.push(["putFont",function(n){!function(n){var i=n.font,e=n.out,s=n.newObject,o=n.putStream;if(i.metadata instanceof t.API.TTFFont&&"Identity-H"===i.encoding){for(var a=i.metadata.Unicode.widths,u=i.metadata.subset.encode(i.metadata.glyIdsUsed,1),f="",c=0;c<u.length;c++)f+=String.fromCharCode(u[c]);var h=s();o({data:f,addLength1:!0,objectId:h}),e("endobj");var l=s();o({data:r(i.metadata.toUnicode),addLength1:!0,objectId:l}),e("endobj");var d=s();e("<<"),e("/Type /FontDescriptor"),e("/FontName /"+qt(i.fontName)),e("/FontFile2 "+h+" 0 R"),e("/FontBBox "+t.API.PDFObject.convert(i.metadata.bbox)),e("/Flags "+i.metadata.flags),e("/StemV "+i.metadata.stemV),e("/ItalicAngle "+i.metadata.italicAngle),e("/Ascent "+i.metadata.ascender),e("/Descent "+i.metadata.decender),e("/CapHeight "+i.metadata.capHeight),e(">>"),e("endobj");var v=s();e("<<"),e("/Type /Font"),e("/BaseFont /"+qt(i.fontName)),e("/FontDescriptor "+d+" 0 R"),e("/W "+t.API.PDFObject.convert(a)),e("/CIDToGIDMap /Identity"),e("/DW 1000"),e("/Subtype /CIDFontType2"),e("/CIDSystemInfo"),e("<<"),e("/Supplement 0"),e("/Registry (Adobe)"),e("/Ordering ("+i.encoding+")"),e(">>"),e(">>"),e("endobj"),i.objectNumber=s(),e("<<"),e("/Type /Font"),e("/Subtype /Type0"),e("/ToUnicode "+l+" 0 R"),e("/BaseFont /"+qt(i.fontName)),e("/Encoding /"+i.encoding),e("/DescendantFonts ["+v+" 0 R]"),e(">>"),e("endobj"),i.isAlreadyPutted=!0}}(n)}]),n.events.push(["putFont",function(n){!function(n){var i=n.font,e=n.out,s=n.newObject,o=n.putStream;if(i.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===i.encoding){for(var a=i.metadata.rawData,u="",f=0;f<a.length;f++)u+=String.fromCharCode(a[f]);var c=s();o({data:u,addLength1:!0,objectId:c}),e("endobj");var h=s();o({data:r(i.metadata.toUnicode),addLength1:!0,objectId:h}),e("endobj");var l=s();e("<<"),e("/Descent "+i.metadata.decender),e("/CapHeight "+i.metadata.capHeight),e("/StemV "+i.metadata.stemV),e("/Type /FontDescriptor"),e("/FontFile2 "+c+" 0 R"),e("/Flags 96"),e("/FontBBox "+t.API.PDFObject.convert(i.metadata.bbox)),e("/FontName /"+qt(i.fontName)),e("/ItalicAngle "+i.metadata.italicAngle),e("/Ascent "+i.metadata.ascender),e(">>"),e("endobj"),i.objectNumber=s();for(var d=0;d<i.metadata.hmtx.widths.length;d++)i.metadata.hmtx.widths[d]=parseInt(i.metadata.hmtx.widths[d]*(1e3/i.metadata.head.unitsPerEm));e("<</Subtype/TrueType/Type/Font/ToUnicode "+h+" 0 R/BaseFont/"+qt(i.fontName)+"/FontDescriptor "+l+" 0 R/Encoding/"+i.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(i.metadata.hmtx.widths)+">>"),e("endobj"),i.isAlreadyPutted=!0}}(n)}]);var e=function(t){var n,r=t.text||"",e=t.x,s=t.y,o=t.options||{},a=t.mutex||{},u=a.pdfEscape,f=a.activeFontKey,c=a.fonts,h=f,l="",d=0,v="",m=c[h].encoding;if("Identity-H"!==c[h].encoding)return{text:r,x:e,y:s,options:o,mutex:a};for(v=r,h=f,Array.isArray(r)&&(v=r[0]),d=0;d<v.length;d+=1)c[h].metadata.hasOwnProperty("cmap")&&(n=c[h].metadata.cmap.unicode.codeMap[v[d].charCodeAt(0)]),n||v[d].charCodeAt(0)<256&&c[h].metadata.hasOwnProperty("Unicode")?l+=v[d]:l+="";var w="";return parseInt(h.slice(1))<14||"WinAnsiEncoding"===m?w=u(l,h).split("").map((function(t){return t.charCodeAt(0).toString(16)})).join(""):"Identity-H"===m&&(w=i(l,c[h])),a.isHex=!0,{text:w,x:e,y:s,options:o,mutex:a}};n.events.push(["postProcessText",function(t){var n=t.text||"",i=[],r={text:n,x:t.x,y:t.y,options:t.options,mutex:t.mutex};if(Array.isArray(n)){var s=0;for(s=0;s<n.length;s+=1)Array.isArray(n[s])&&3===n[s].length?i.push([e(Object.assign({},r,{text:n[s][0]})).text,n[s][1],n[s][2]]):i.push(e(Object.assign({},r,{text:n[s]})).text);t.text=i}else t.text=e(Object.assign({},r,{text:n})).text}])}(It),
|
338
|
+
/**
|
339
|
+
* @license
|
340
|
+
* jsPDF virtual FileSystem functionality
|
341
|
+
*
|
342
|
+
* Licensed under the MIT License.
|
343
|
+
* http://opensource.org/licenses/mit-license
|
344
|
+
*/
|
345
|
+
function(t){var n=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(t){return n.call(this),void 0!==this.internal.vFS[t]},t.addFileToVFS=function(t,i){return n.call(this),this.internal.vFS[t]=i,this},t.getFileFromVFS=function(t){return n.call(this),void 0!==this.internal.vFS[t]?this.internal.vFS[t]:null}}(It.API),
|
346
|
+
/**
|
347
|
+
* @license
|
348
|
+
* Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
|
349
|
+
* MIT License
|
350
|
+
*/
|
351
|
+
function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(t){var i,r,e,s,o,a,u,f=n,c=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],h=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],l={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},v=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],m=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),w=!1,p=0;this.__bidiEngine__={};var b=function(t){var n=t.charCodeAt(),i=n>>8,r=d[i];return void 0!==r?f[256*r+(255&n)]:252===i||253===i?"AL":m.test(i)?"L":8===i?"R":"N"},g=function(t){for(var n,i=0;i<t.length;i++){if("L"===(n=b(t.charAt(i))))return!1;if("R"===n)return!0}return!1},N=function(t,n,o,a){var u,f,c,h,l=n[a];switch(l){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":w=!1;break;case"N":case"AN":break;case"EN":w&&(l="AN");break;case"AL":w=!0,l="R";break;case"WS":case"BN":l="N";break;case"CS":a<1||a+1>=n.length||"EN"!==(u=o[a-1])&&"AN"!==u||"EN"!==(f=n[a+1])&&"AN"!==f?l="N":w&&(f="AN"),l=f===u?f:"N";break;case"ES":l="EN"===(u=a>0?o[a-1]:"B")&&a+1<n.length&&"EN"===n[a+1]?"EN":"N";break;case"ET":if(a>0&&"EN"===o[a-1]){l="EN";break}if(w){l="N";break}for(c=a+1,h=n.length;c<h&&"ET"===n[c];)c++;l=c<h&&"EN"===n[c]?"EN":"N";break;case"NSM":if(e&&!s){for(h=n.length,c=a+1;c<h&&"NSM"===n[c];)c++;if(c<h){var d=t[a];if(u=n[c],(d>=1425&&d<=2303||64286===d)&&("R"===u||"AL"===u)){l="R";break}}}l=a<1||"B"===(u=n[a-1])?"N":o[a-1];break;case"B":w=!1,i=!0,l=p;break;case"S":r=!0,l="N"}return l},L=function(t,n,i){var r=t.split("");return i&&y(r,i,{hiLevel:p}),r.reverse(),n&&n.reverse(),r.join("")},y=function(t,n,e){var s,o,a,u,f,d=-1,v=t.length,m=0,g=[],L=p?h:c,y=[];for(w=!1,i=!1,r=!1,o=0;o<v;o++)y[o]=b(t[o]);for(a=0;a<v;a++){if(f=m,g[a]=N(t,y,g,a),s=240&(m=L[f][l[g[a]]]),n[a]=u=L[m&=15][5],s>0)if(16===s){for(o=d;o<a;o++)n[o]=1;d=-1}else d=-1;if(L[m][6])-1===d&&(d=a);else if(d>-1){for(o=d;o<a;o++)n[o]=u;d=-1}"B"===y[a]&&(n[a]=0),e.hiLevel|=u}r&&function(t,n,i){for(var r=0;r<i;r++)if("S"===t[r]){n[r]=p;for(var e=r-1;e>=0&&"WS"===t[e];e--)n[e]=p}}(y,n,v)},A=function(t,n,r,e,s){if(!(s.hiLevel<t)){if(1===t&&1===p&&!i)return n.reverse(),void(r&&r.reverse());for(var o,a,u,f,c=n.length,h=0;h<c;){if(e[h]>=t){for(u=h+1;u<c&&e[u]>=t;)u++;for(f=h,a=u-1;f<a;f++,a--)o=n[f],n[f]=n[a],n[a]=o,r&&(o=r[f],r[f]=r[a],r[a]=o);h=u}h++}}},k=function(t,n,i){var r=t.split(""),e={hiLevel:p};return i||(i=[]),y(r,i,e),function(t,n,i){if(0!==i.hiLevel&&u)for(var r,e=0;e<t.length;e++)1===n[e]&&(r=v.indexOf(t[e]))>=0&&(t[e]=v[r+1])}(r,i,e),A(2,r,n,i,e),A(1,r,n,i,e),r.join("")};return this.__bidiEngine__.doBidiReorder=function(t,n,i){if(function(t,n){if(n)for(var i=0;i<t.length;i++)n[i]=i;void 0===s&&(s=g(t)),void 0===a&&(a=g(t))}(t,n),e||!o||a)if(e&&o&&s^a)p=s?1:0,t=L(t,n,i);else if(!e&&o&&a)p=s?1:0,t=k(t,n,i),t=L(t,n);else if(!e||s||o||a){if(e&&!o&&s^a)t=L(t,n),s?(p=0,t=k(t,n,i)):(p=1,t=k(t,n,i),t=L(t,n));else if(e&&s&&!o&&a)p=1,t=k(t,n,i),t=L(t,n);else if(!e&&!o&&s^a){var r=u;s?(p=1,t=k(t,n,i),p=0,u=!1,t=k(t,n,i),u=r):(p=0,t=k(t,n,i),t=L(t,n),p=1,u=!1,t=k(t,n,i),u=r,t=L(t,n))}}else p=0,t=k(t,n,i);else p=s?1:0,t=k(t,n,i);return t},this.__bidiEngine__.setOptions=function(t){t&&(e=t.isInputVisual,o=t.isOutputVisual,s=t.isInputRtl,a=t.isOutputRtl,u=t.isSymmetricSwapping)},this.__bidiEngine__.setOptions(t),this.__bidiEngine__};var n=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],i=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(t){var n=t.text,r=t.options||{},e=[];if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,i.setOptions(r),"[object Array]"===Object.prototype.toString.call(n)){var s=0;for(e=[],s=0;s<n.length;s+=1)"[object Array]"===Object.prototype.toString.call(n[s])?e.push([i.doBidiReorder(n[s][0]),n[s][1],n[s][2]]):e.push([i.doBidiReorder(n[s])]);t.text=e}else t.text=i.doBidiReorder(n);i.setOptions({isInputVisual:!0})}])}(It),It.API.TTFFont=function(){function t(t){var n;if(this.rawData=t,n=this.contents=new Qn(t),this.contents.pos=4,"ttcf"===n.readString(4))throw new Error("TTCF not supported.");n.pos=0,this.parse(),this.subset=new bi(this),this.registerTTF()}return t.open=function(n){return new t(n)},t.prototype.parse=function(){return this.directory=new ti(this.contents),this.head=new ri(this),this.name=new ci(this),this.cmap=new si(this),this.toUnicode={},this.hhea=new oi(this),this.maxp=new hi(this),this.hmtx=new li(this),this.post=new ui(this),this.os2=new ai(this),this.loca=new pi(this),this.glyf=new vi(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var t,n,i,r;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,i,r;for(r=[],t=0,n=(i=this.bbox).length;t<n;t++)r.push(Math.round(i[t]*this.scaleFactor));return r}.call(this),this.stemV=0,this.post.exists?(n=255&(i=this.post.italic_angle),!!(32768&(t=i>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(r=this.familyClass)||2===r||3===r||4===r||5===r||7===r,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(t){var n;return(null!=(n=this.cmap.unicode)?n.codeMap[t]:void 0)||0},t.prototype.widthOfGlyph=function(t){var n;return n=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*n},t.prototype.widthOfString=function(t,n,i){var r,e,s,o;for(s=0,e=0,o=(t=""+t).length;0<=o?e<o:e>o;e=0<=o?++e:--e)r=t.charCodeAt(e),s+=this.widthOfGlyph(this.characterToGlyph(r))+i*(1e3/n)||0;return s*(n/1e3)},t.prototype.lineHeight=function(t,n){return null==n&&(n=!1),(this.ascender+(n?this.lineGap:0)-this.decender)/1e3*t},t}();var Zn,Qn=function(){function t(t){this.data=null!=t?t:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(t){return this.data[this.pos++]=t},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},t.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},t.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},t.prototype.readString=function(t){var n,i;for(i=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)i[n]=String.fromCharCode(this.readByte());return i.join("")},t.prototype.writeString=function(t){var n,i,r;for(r=[],n=0,i=t.length;0<=i?n<i:n>i;n=0<=i?++n:--n)r.push(this.writeByte(t.charCodeAt(n)));return r},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.writeInt16(t)},t.prototype.readLongLong=function(){var t,n,i,r,e,s,o,a;return t=this.readByte(),n=this.readByte(),i=this.readByte(),r=this.readByte(),e=this.readByte(),s=this.readByte(),o=this.readByte(),a=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^n)+1099511627776*(255^i)+4294967296*(255^r)+16777216*(255^e)+65536*(255^s)+256*(255^o)+(255^a)+1):72057594037927940*t+281474976710656*n+1099511627776*i+4294967296*r+16777216*e+65536*s+256*o+a},t.prototype.writeLongLong=function(t){var n,i;return n=Math.floor(t/4294967296),i=4294967295&t,this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n),this.writeByte(i>>24&255),this.writeByte(i>>16&255),this.writeByte(i>>8&255),this.writeByte(255&i)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.read=function(t){var n,i;for(n=[],i=0;0<=t?i<t:i>t;i=0<=t?++i:--i)n.push(this.readByte());return n},t.prototype.write=function(t){var n,i,r;for(r=[],n=0,i=t.length;n<i;n++)r.push(this.writeByte(t[n]));return r},t}(),ti=function(){var t;function n(t){var n,i,r;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},i=0,r=this.tableCount;0<=r?i<r:i>r;i=0<=r?++i:--i)n={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[n.tag]=n}return n.prototype.encode=function(n){var i,r,e,s,o,a,u,f,c,h,l,d;for(d in h=Object.keys(n).length,o=Math.log(2),f=16*Math.floor(Math.log(h)/o),e=Math.floor(f/o),u=16*h-f,(r=new Qn).writeInt(this.scalarType),r.writeShort(h),r.writeShort(f),r.writeShort(e),r.writeShort(u),a=r.pos+16*h,s=null,l=[],n)for(c=n[d],r.writeString(d),r.writeInt(t(c)),r.writeInt(a),r.writeInt(c.length),l=l.concat(c),"head"===d&&(s=a),a+=c.length;a%4;)l.push(0),a++;return r.write(l),i=2981146554-t(r.data),r.pos=s+8,r.writeUInt32(i),r.data},t=function(t){var n,i,r,e;for(t=di.call(t);t.length%4;)t.push(0);for(r=new Qn(t),i=0,n=0,e=t.length;n<e;n=n+=4)i+=r.readUInt32();return 4294967295&i},n}(),ni={}.hasOwnProperty,ii=function(t,n){for(var i in n)ni.call(n,i)&&(t[i]=n[i]);function r(){this.constructor=t}return r.prototype=n.prototype,t.prototype=new r,t.__super__=n.prototype,t};Zn=function(){function t(t){var n;this.file=t,this.exists=!!(n=this.file.directory.tables[this.tag]),n&&(this.offset=n.offset,this.length=n.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var ri=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ii(t,Zn),t.prototype.tag="head",t.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},t.prototype.encode=function(t){var n;return(n=new Qn).writeInt(this.version),n.writeInt(this.revision),n.writeInt(this.checkSumAdjustment),n.writeInt(this.magicNumber),n.writeShort(this.flags),n.writeShort(this.unitsPerEm),n.writeLongLong(this.created),n.writeLongLong(this.modified),n.writeShort(this.xMin),n.writeShort(this.yMin),n.writeShort(this.xMax),n.writeShort(this.yMax),n.writeShort(this.macStyle),n.writeShort(this.lowestRecPPEM),n.writeShort(this.fontDirectionHint),n.writeShort(t),n.writeShort(this.glyphDataFormat),n.data},t}(),ei=function(){function t(t,n){var i,r,e,s,o,a,u,f,c,h,l,d,v,m,w,p,b;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=n+t.readInt(),c=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(a=0;a<256;++a)this.codeMap[a]=t.readByte();break;case 4:for(l=t.readUInt16(),h=l/2,t.pos+=6,e=function(){var n,i;for(i=[],a=n=0;0<=h?n<h:n>h;a=0<=h?++n:--n)i.push(t.readUInt16());return i}(),t.pos+=2,v=function(){var n,i;for(i=[],a=n=0;0<=h?n<h:n>h;a=0<=h?++n:--n)i.push(t.readUInt16());return i}(),u=function(){var n,i;for(i=[],a=n=0;0<=h?n<h:n>h;a=0<=h?++n:--n)i.push(t.readUInt16());return i}(),f=function(){var n,i;for(i=[],a=n=0;0<=h?n<h:n>h;a=0<=h?++n:--n)i.push(t.readUInt16());return i}(),r=(this.length-t.pos+this.offset)/2,o=function(){var n,i;for(i=[],a=n=0;0<=r?n<r:n>r;a=0<=r?++n:--n)i.push(t.readUInt16());return i}(),a=w=0,b=e.length;w<b;a=++w)for(m=e[a],i=p=d=v[a];d<=m?p<=m:p>=m;i=d<=m?++p:--p)0===f[a]?s=i+u[a]:0!==(s=o[f[a]/2+(i-d)-(h-a)]||0)&&(s+=u[a]),this.codeMap[i]=65535&s}t.pos=c}return t.encode=function(t,n){var i,r,e,s,o,a,u,f,c,h,l,d,v,m,w,p,b,g,N,L,y,A,k,x,S,q,j,M,E,P,O,I,F,R,B,T,C,D,z,U,V,W,_,H,G;switch(j=new Qn,s=Object.keys(t).sort((function(t,n){return t-n})),n){case"macroman":for(v=0,m=function(){var t=[];for(d=0;d<256;++d)t.push(0);return t}(),p={0:0},e={},M=0,I=s.length;M<I;M++)null==p[W=t[r=s[M]]]&&(p[W]=++v),e[r]={old:t[r],new:p[t[r]]},m[r]=p[t[r]];return j.writeUInt16(1),j.writeUInt16(0),j.writeUInt32(12),j.writeUInt16(0),j.writeUInt16(262),j.writeUInt16(0),j.write(m),{charMap:e,subtable:j.data,maxGlyphID:v+1};case"unicode":for(S=[],c=[],b=0,p={},i={},w=u=null,E=0,F=s.length;E<F;E++)null==p[g=t[r=s[E]]]&&(p[g]=++b),i[r]={old:g,new:p[g]},o=p[g]-r,null!=w&&o===u||(w&&c.push(w),S.push(r),u=o),w=r;for(w&&c.push(w),c.push(65535),S.push(65535),k=2*(A=S.length),y=2*Math.pow(Math.log(A)/Math.LN2,2),h=Math.log(y/2)/Math.LN2,L=2*A-y,a=[],N=[],l=[],d=P=0,R=S.length;P<R;d=++P){if(f=c[d],65535===(x=S[d])){a.push(0),N.push(0);break}if(x-(q=i[x].new)>=32768)for(a.push(0),N.push(2*(l.length+A-d)),r=O=x;x<=f?O<=f:O>=f;r=x<=f?++O:--O)l.push(i[r].new);else a.push(q-x),N.push(0)}for(j.writeUInt16(3),j.writeUInt16(1),j.writeUInt32(12),j.writeUInt16(4),j.writeUInt16(16+8*A+2*l.length),j.writeUInt16(0),j.writeUInt16(k),j.writeUInt16(y),j.writeUInt16(h),j.writeUInt16(L),U=0,B=c.length;U<B;U++)j.writeUInt16(r=c[U]);for(j.writeUInt16(0),V=0,T=S.length;V<T;V++)j.writeUInt16(r=S[V]);for(_=0,C=a.length;_<C;_++)j.writeUInt16(o=a[_]);for(H=0,D=N.length;H<D;H++)j.writeUInt16(N[H]);for(G=0,z=l.length;G<z;G++)j.writeUInt16(v=l[G]);return{charMap:i,subtable:j.data,maxGlyphID:b+1}}},t}(),si=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ii(t,Zn),t.prototype.tag="cmap",t.prototype.parse=function(t){var n,i,r;for(t.pos=this.offset,this.version=t.readUInt16(),r=t.readUInt16(),this.tables=[],this.unicode=null,i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)n=new ei(t,this.offset),this.tables.push(n),n.isUnicode&&null==this.unicode&&(this.unicode=n);return!0},t.encode=function(t,n){var i,r;return null==n&&(n="macroman"),i=ei.encode(t,n),(r=new Qn).writeUInt16(0),r.writeUInt16(1),i.table=r.data.concat(i.subtable),i},t}(),oi=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ii(t,Zn),t.prototype.tag="hhea",t.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},t}(),ai=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ii(t,Zn),t.prototype.tag="OS/2",t.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var n,i;for(i=[],n=0;n<10;++n)i.push(t.readByte());return i}(),this.charRange=function(){var n,i;for(i=[],n=0;n<4;++n)i.push(t.readInt());return i}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var n,i;for(i=[],n=0;n<2;n=++n)i.push(t.readInt());return i}(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},t}(),ui=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ii(t,Zn),t.prototype.tag="post",t.prototype.parse=function(t){var n,i,r;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:case 196608:break;case 131072:var e;for(i=t.readUInt16(),this.glyphNameIndex=[],e=0;0<=i?e<i:e>i;e=0<=i?++e:--e)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],r=[];t.pos<this.offset+this.length;)n=t.readByte(),r.push(this.names.push(t.readString(n)));return r;case 151552:return i=t.readUInt16(),this.offsets=t.read(i);case 262144:return this.map=function(){var n,i,r;for(r=[],e=n=0,i=this.file.maxp.numGlyphs;0<=i?n<i:n>i;e=0<=i?++n:--n)r.push(t.readUInt32());return r}.call(this)}},t}(),fi=function(t,n){this.raw=t,this.length=t.length,this.platformID=n.platformID,this.encodingID=n.encodingID,this.languageID=n.languageID},ci=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ii(t,Zn),t.prototype.tag="name",t.prototype.parse=function(t){var n,i,r,e,s,o,a,u,f,c,h;for(t.pos=this.offset,t.readShort(),n=t.readShort(),o=t.readShort(),i=[],e=0;0<=n?e<n:e>n;e=0<=n?++e:--e)i.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+o+t.readShort()});for(a={},e=f=0,c=i.length;f<c;e=++f)t.pos=(r=i[e]).offset,u=t.readString(r.length),s=new fi(u,r),null==a[h=r.nameID]&&(a[h]=[]),a[r.nameID].push(s);this.strings=a,this.copyright=a[0],this.fontFamily=a[1],this.fontSubfamily=a[2],this.uniqueSubfamily=a[3],this.fontName=a[4],this.version=a[5];try{this.postscriptName=a[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(t){this.postscriptName=a[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=a[7],this.manufacturer=a[8],this.designer=a[9],this.description=a[10],this.vendorUrl=a[11],this.designerUrl=a[12],this.license=a[13],this.licenseUrl=a[14],this.preferredFamily=a[15],this.preferredSubfamily=a[17],this.compatibleFull=a[18],this.sampleText=a[19]},t}(),hi=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ii(t,Zn),t.prototype.tag="maxp",t.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},t}(),li=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ii(t,Zn),t.prototype.tag="hmtx",t.prototype.parse=function(t){var n,i,r,e,s,o;for(t.pos=this.offset,this.metrics=[],n=0,s=this.file.hhea.numberOfMetrics;0<=s?n<s:n>s;n=0<=s?++n:--n)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var i,e;for(e=[],n=i=0;0<=r?i<r:i>r;n=0<=r?++i:--i)e.push(t.readInt16());return e}(),this.widths=function(){var t,n,i,r;for(r=[],t=0,n=(i=this.metrics).length;t<n;t++)r.push(i[t].advance);return r}.call(this),i=this.widths[this.widths.length-1],o=[],n=e=0;0<=r?e<r:e>r;n=0<=r?++e:--e)o.push(this.widths.push(i));return o},t.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},t}(),di=[].slice,vi=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ii(t,Zn),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(t){var n,i,r,e,s,o,a,u,f,c;return t in this.cache?this.cache[t]:(n=this.file.contents,i=(e=this.file.loca).indexOf(t),0===(r=e.lengthOf(t))?this.cache[t]=null:(n.pos=this.offset+i,s=(o=new Qn(n.read(r))).readShort(),u=o.readShort(),c=o.readShort(),a=o.readShort(),f=o.readShort(),this.cache[t]=-1===s?new wi(o,u,c,a,f):new mi(o,s,u,c,a,f),this.cache[t]))},t.prototype.encode=function(t,n,i){var r,e,s,o,a;for(s=[],e=[],o=0,a=n.length;o<a;o++)r=t[n[o]],e.push(s.length),r&&(s=s.concat(r.encode(i)));return e.push(s.length),{table:s,offsets:e}},t}(),mi=function(){function t(t,n,i,r,e,s){this.raw=t,this.numberOfContours=n,this.xMin=i,this.yMin=r,this.xMax=e,this.yMax=s,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),wi=function(){function t(t,n,i,r,e){var s,o;for(this.raw=t,this.xMin=n,this.yMin=i,this.xMax=r,this.yMax=e,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;o=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&o;)s.pos+=1&o?4:2,128&o?s.pos+=8:64&o?s.pos+=4:8&o&&(s.pos+=2)}return t.prototype.encode=function(){var t,n,i;for(n=new Qn(di.call(this.raw.data)),t=0,i=this.glyphIDs.length;t<i;++t)n.pos=this.glyphOffsets[t];return n.data},t}(),pi=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return ii(t,Zn),t.prototype.tag="loca",t.prototype.parse=function(t){var n;return t.pos=this.offset,this.offsets=0===this.file.head.indexToLocFormat?function(){var i,r;for(r=[],n=0,i=this.length;n<i;n+=2)r.push(2*t.readUInt16());return r}.call(this):function(){var i,r;for(r=[],n=0,i=this.length;n<i;n+=4)r.push(t.readUInt32());return r}.call(this)},t.prototype.indexOf=function(t){return this.offsets[t]},t.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]},t.prototype.encode=function(t,n){for(var i=new Uint32Array(this.offsets.length),r=0,e=0,s=0;s<i.length;++s)if(i[s]=r,e<n.length&&n[e]==s){++e,i[s]=r;var o=this.offsets[s+1]-this.offsets[s];o>0&&(r+=o)}for(var a=new Array(4*i.length),u=0;u<i.length;++u)a[4*u+3]=255&i[u],a[4*u+2]=(65280&i[u])>>8,a[4*u+1]=(16711680&i[u])>>16,a[4*u]=(4278190080&i[u])>>24;return a},t}(),bi=function(){function t(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var t,n,i,r;for(n in i=this.font.cmap.tables[0].codeMap,t={},r=this.subset)t[n]=i[r[n]];return t},t.prototype.glyphsFor=function(t){var n,i,r,e,s,o,a;for(r={},s=0,o=t.length;s<o;s++)r[e=t[s]]=this.font.glyf.glyphFor(e);for(e in n=[],r)(null!=(i=r[e])?i.compound:void 0)&&n.push.apply(n,i.glyphIDs);if(n.length>0)for(e in a=this.glyphsFor(n))r[e]=i=a[e];return r},t.prototype.encode=function(t,n){var i,r,e,s,o,a,u,f,c,h,l,d,v,m;for(r in i=si.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(t),h={0:0},m=i.charMap)h[(o=m[r]).old]=o.new;for(l in c=i.maxGlyphID,s)l in h||(h[l]=c++);return u=function(t){var n,i;for(n in i={},t)i[t[n]]=n;return i}(h),f=Object.keys(u).sort((function(t,n){return t-n})),d=function(){var t,n,i;for(i=[],t=0,n=f.length;t<n;t++)i.push(u[f[t]]);return i}(),e=this.font.glyf.encode(s,d,h),a=this.font.loca.encode(e.offsets,d),v={cmap:this.font.cmap.raw(),glyf:e.table,loca:a,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(n)},this.font.os2.exists&&(v["OS/2"]=this.font.os2.raw()),this.font.directory.encode(v)},t}();It.API.PDFObject=function(){var t;function n(){}return t=function(t,n){return(Array(n+1).join("0")+t).slice(-n)},n.convert=function(i){var r,e;if(Array.isArray(i))return"["+function(){var t,r,e;for(e=[],t=0,r=i.length;t<r;t++)e.push(n.convert(i[t]));return e}().join(" ")+"]";if("string"==typeof i)return"/"+i;if(null!=i?i.isString:void 0)return"("+i+")";if(i instanceof Date)return"(D:"+t(i.getUTCFullYear(),4)+t(i.getUTCMonth(),2)+t(i.getUTCDate(),2)+t(i.getUTCHours(),2)+t(i.getUTCMinutes(),2)+t(i.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(i)){for(r in e=["<<"],i)e.push("/"+r+" "+n.convert(i[r]));return e.push(">>"),e.join("\n")}return""+i},n}();
|
352
|
+
/* @preserve
|
353
|
+
* arcgis-pdf-creator v0.0.1
|
354
|
+
* Thu Apr 27 2023 17:20:32 GMT-0700 (Pacific Daylight Time)
|
355
|
+
*/
|
356
|
+
/** @license
|
357
|
+
* Copyright 2022 Esri
|
358
|
+
*
|
359
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
360
|
+
* you may not use this file except in compliance with the License.
|
361
|
+
* You may obtain a copy of the License at
|
362
|
+
*
|
363
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
364
|
+
*
|
365
|
+
* Unless required by applicable law or agreed to in writing, software
|
366
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
367
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
368
|
+
* See the License for the specific language governing permissions and
|
369
|
+
* limitations under the License.
|
370
|
+
*/
|
371
|
+
class gi extends f{jsDoc;constructor(t=null){super(),this.jsDoc=t}addPage(){super.addPage(),this.jsDoc.addPage(),this.pageOptions.drawNeatline&&this.drawNeatline()}convertLocaleToJsPDFLanguageCode(t){let n;if("it-it"===t)n="it";else if("pt-pt"===t)n="pt";else{const i=t.split("-");n=1===i.length?t:i[0]+"-"+i[1].toUpperCase()}return n}drawImage(t,n){this.jsDoc.addImage(t,"PNG",n.x,n.y,n.width,n.height,"","NONE",0)}drawLine(t){super.drawLine(t),this.jsDoc.line(this.pageOptions.leftMargin+this.lineOptions.x1,this.pageOptions.topMargin+this.lineOptions.y1,this.pageOptions.leftMargin+this.lineOptions.x2,this.pageOptions.topMargin+this.lineOptions.y2,this.lineOptions.lineProperties.color?"S":"")}drawRectangle(t){super.drawRectangle(t),this.jsDoc.rect(this.pageOptions.leftMargin+this.rectangleOptions.left,this.pageOptions.topMargin+this.rectangleOptions.top,this.rectangleOptions.width,this.rectangleOptions.height,this.rectangleOptions.lineProperties.color?this.rectangleOptions.fillColor?"FD":"S":this.rectangleOptions.fillColor?"F":"")}drawTable(t,n){super.drawTable(t,n),this.jsDoc.text(t[0][0],this.pageOptions.leftMargin+this.textOptions.left,this.pageOptions.topMargin+this.textOptions.top)}drawText(t,n){super.drawText(t,n);let i=this.pageOptions.leftMargin+this.textOptions.left;if("ar"===this.lang||"he"===this.lang){const n=this.jsDoc.context2d.measureText(t).width*this.fontProps.fontResolutionInchesPerPoint;i=this.pageOptions.width-this.pageOptions.leftMargin-n-this.textOptions.left}const r=this.pageOptions.topMargin+this.textOptions.top+this.fontAscenderBaselineHeight(this.textOptions.fontPoints);this.jsDoc.text(t,i,r)}getTextWidth(t,n){return this.jsDoc.getStringUnitWidth(t)*n/this.jsDoc.internal.scaleFactor}async initialize(t={},n="",i="en",r="",e=!1){await super.initialize(t,n,i,r,e),this.jsDoc||(this.jsDoc=new It({format:t.pageType===u.A4?"a4":"letter",orientation:"portrait",putOnlyUsedFonts:!0,unit:"in"})),this.jsDoc.setDocumentProperties({title:this.title,keywords:"Created with ArcGIS Online"}),this.pageOptions.drawNeatline&&this.drawNeatline(),await this.setFont(i)}save(){this.jsDoc.save(this.title+".pdf")}setDrawColor(t,n=1){const i=this.hexToRGB(t,n);this.jsDoc.setDrawColor(i.r.toString(),i.g.toString(),i.b.toString())}setFillColor(t,n=1){const i=this.hexToRGB(t,n);this.jsDoc.setFillColor(i.r.toString(),i.g.toString(),i.b.toString())}setFont(t){this.jsDoc.setLanguage(this.convertLocaleToJsPDFLanguageCode(t));const n=this.getFontFileName(t);return this.jsDoc.existsFileInVFS(n+".ttf")?(this.jsDoc.setFont(n,"normal","normal"),Promise.resolve()):fetch(this.dataPath+n+".txt").then((t=>t.text())).then((t=>(this.jsDoc.addFileToVFS(n+".ttf",t),this.jsDoc.addFont(n+".ttf",n,"normal","normal"),this.jsDoc.setFont(n,"normal","normal"),Promise.resolve())))}setFontColor(t){const n=this.hexToRGB(t);this.jsDoc.setTextColor(n.r.toString(),n.g.toString(),n.b.toString())}setFontSize(t){this.jsDoc.setFontSize(t)}setLineWidth(t){this.jsDoc.setLineWidth(t)}}
|
372
|
+
/* @preserve
|
373
|
+
* arcgis-pdf-creator v0.0.1
|
374
|
+
* Thu Apr 27 2023 17:20:32 GMT-0700 (Pacific Daylight Time)
|
375
|
+
*/
|
376
|
+
/** @license
|
377
|
+
* Copyright 2022 Esri
|
378
|
+
*
|
379
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
380
|
+
* you may not use this file except in compliance with the License.
|
381
|
+
* You may obtain a copy of the License at
|
382
|
+
*
|
383
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
384
|
+
*
|
385
|
+
* Unless required by applicable law or agreed to in writing, software
|
386
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
387
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
388
|
+
* See the License for the specific language governing permissions and
|
389
|
+
* limitations under the License.
|
390
|
+
*/
|
391
|
+
/* @preserve
|
392
|
+
* arcgis-pdf-creator v0.0.1
|
393
|
+
* Thu Apr 27 2023 17:20:32 GMT-0700 (Pacific Daylight Time)
|
394
|
+
*/
|
395
|
+
/** @license
|
396
|
+
* Copyright 2022 Esri
|
397
|
+
*
|
398
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
399
|
+
* you may not use this file except in compliance with the License.
|
400
|
+
* You may obtain a copy of the License at
|
401
|
+
*
|
402
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
403
|
+
*
|
404
|
+
* Unless required by applicable law or agreed to in writing, software
|
405
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
406
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
407
|
+
* See the License for the specific language governing permissions and
|
408
|
+
* limitations under the License.
|
409
|
+
*/
|
410
|
+
class Ni{PDFCreator;labelFormats;addLabelsToDoc(t,n,i,r,e){return new Promise((s=>{const o=n.numLabelsAcross*n.numLabelsDown;let a,u,f,c;const h=n.labelWidth-2*n.labelPadding;let l=i;const d=n.pageProperties.topMargin-this.PDFCreator.pageOptions.topMargin;r&&this.drawSupplementalText(r,0,-.1);for(let i=0,s=0;i<t.length;i++){e&&e(Math.round(i/t.length*100));let v=t[i].map((t=>t.trim())).filter((t=>t.length>0));if(0===v.length)continue;s%o==0?(s>0&&(this.PDFCreator.addPage(),++l,r&&this.drawSupplementalText(r,0,-.1)),a=0,f=0,u=0):s%n.numLabelsDown==0&&(f=++a*(n.labelWidth+n.horizGapIn),u=0);const m=4;let w=n.fontSizePx;n.maxNumLabelLines<v.length&&(w=Math.max(Math.floor(n.maxNumLabelLines/v.length*n.fontSizePx),m)),w=this._getFontSizeForOverlongLines(v,h,w,m),v=this._clipOverlongLines(v,h,w);const p=this.PDFCreator.fontAscenderDescenderHeight(w);c=d+u++*(n.labelHeight+n.vertGapIn),v.forEach((t=>{this.PDFCreator.drawText(t,{left:f+n.labelPadding,top:c+n.labelPadding,fontPoints:w,fontColor:"000000"}),c+=p})),++s}e&&e(100),s(l)}))}drawLabelGuidelines(t,n=null){null!==n&&function(t,n={numAcross:1,numDown:1,x0:0,y0:0,width:1,height:1,horizGap:0,vertGap:0,lineProperties:{thickness:0,color:"",opacity:1}}){for(let i=0;i<n.numDown;++i)for(let r=0;r<n.numAcross;++r)t.drawRectangle({left:n.x0+r*(n.width+n.horizGap),top:n.y0+i*(n.height+n.vertGap),width:n.width,height:n.height,lineProperties:n.lineProperties})}(this.PDFCreator,{x0:t.pageProperties.leftMargin-this.PDFCreator.pageOptions.leftMargin,y0:t.pageProperties.topMargin-this.PDFCreator.pageOptions.topMargin,numAcross:t.numLabelsAcross,numDown:t.numLabelsDown,width:t.labelWidth,height:t.labelHeight,horizGap:t.horizGapIn,vertGap:t.vertGapIn,lineProperties:n})}drawSupplementalText(t,n,i){this.PDFCreator.drawText(t,{left:n,top:i,fontPoints:6,fontColor:"000000"})}getAvailableLabelFormats(){return this.labelFormats.length>0?this.labelFormats.map((t=>t.descriptionPDF)):[]}getLabelFormat(t){if(this.labelFormats.length>0){const n=this.labelFormats.filter((n=>t===n.descriptionPDF.averyPartNumber));return n.length>0?n[0]:null}return null}initialize(t){return this.PDFCreator=t,this._loadLabelFormats(t.dataPath).then((t=>(this.labelFormats=t,Promise.resolve())))}removeDuplicates(t){const n=t.filter((t=>Array.isArray(t)&&t.length>0)).map((t=>t.map((t=>t.trim())).join("?"))),i={};return n.forEach((t=>i[t]=!0)),Object.keys(i).sort().map((t=>t.split("?")))}_calculateLabelFirstLineBase(t,n,i,r,e){return t+n/2+(2-i)/2*r+(1-i)/2*e}_clipOverlongLines(t,n,i){const r=[];return t.forEach((t=>{if(t=t.trim(),this.PDFCreator.getTextWidth(t,i)>n){do{t=t.slice(0,-1)}while(this.PDFCreator.getTextWidth(t,i)>n);t+="..."}r.push(t)})),r}_getFontSizeForOverlongLines(t,n,i,r){let e=i;return t.forEach((t=>{if(t=t.trim(),this.PDFCreator.getTextWidth(t,e)>n)do{--e}while(this.PDFCreator.getTextWidth(t,e)>n&&e>r)})),e}async _loadLabelFormats(t){const n=await fetch(t+"labelFormats.json");return await n.json()}}
|
411
|
+
/** @license
|
412
|
+
* Copyright 2022 Esri
|
413
|
+
*
|
414
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
415
|
+
* you may not use this file except in compliance with the License.
|
416
|
+
* You may obtain a copy of the License at
|
417
|
+
*
|
418
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
419
|
+
*
|
420
|
+
* Unless required by applicable law or agreed to in writing, software
|
421
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
422
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
423
|
+
* See the License for the specific language governing permissions and
|
424
|
+
* limitations under the License.
|
425
|
+
*/
|
426
|
+
/*!
|
427
|
+
* @esri/arcgis-html-sanitizer - v4.1.0 - Tue Dec 03 2024 09:13:28 GMT-0500 (Eastern Standard Time)
|
428
|
+
* Copyright (c) 2024 - Environmental Systems Research Institute, Inc.
|
429
|
+
* Apache-2.0
|
430
|
+
*
|
431
|
+
* js-xss
|
432
|
+
* Copyright (c) 2012-2018 Zongmin Lei(雷宗民) <leizongmin@gmail.com>
|
433
|
+
* http://ucdok.com
|
434
|
+
* MIT License, see https://github.com/leizongmin/js-xss/blob/master/LICENSE for details
|
435
|
+
*/
|
436
|
+
/*! *****************************************************************************
|
437
|
+
Copyright (c) Microsoft Corporation.
|
438
|
+
|
439
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
440
|
+
purpose with or without fee is hereby granted.
|
441
|
+
|
442
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
443
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
444
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
445
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
446
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
447
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
448
|
+
PERFORMANCE OF THIS SOFTWARE.
|
449
|
+
***************************************************************************** */
|
450
|
+
var Li=function(){return Li=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++)for(var e in n=arguments[i])Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t},Li.apply(this,arguments)},yi={exports:{}},Ai={},ki={exports:{}},xi={};function Si(){return{"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1}}var qi=/javascript\s*\:/gim;xi.whiteList={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1},xi.getDefaultWhiteList=Si,xi.onAttr=function(){},xi.onIgnoreAttr=function(){},xi.safeAttrValue=function(t,n){return qi.test(n)?"":n};var ji={indexOf:function(t,n){var i,r;if(Array.prototype.indexOf)return t.indexOf(n);for(i=0,r=t.length;i<r;i++)if(t[i]===n)return i;return-1},forEach:function(t,n,i){var r,e;if(Array.prototype.forEach)return t.forEach(n,i);for(r=0,e=t.length;r<e;r++)n.call(i,t[r],r,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}},Mi=ji,Ei=xi,Pi=function(t,n){";"!==(t=Mi.trimRight(t))[t.length-1]&&(t+=";");var i=t.length,r=!1,e=0,s=0,o="";function a(){if(!r){var i=Mi.trim(t.slice(e,s)),a=i.indexOf(":");if(-1!==a){var u=Mi.trim(i.slice(0,a)),f=Mi.trim(i.slice(a+1));if(u){var c=n(e,o.length,u,f,i);c&&(o+=c+"; ")}}}e=s+1}for(;s<i;s++){var u=t[s];if("/"===u&&"*"===t[s+1]){var f=t.indexOf("*/",s+2);if(-1===f)break;e=(s=f+1)+1,r=!1}else"("===u?r=!0:")"===u?r=!1:";"===u?r||a():"\n"===u&&a()}return Mi.trim(o)};function Oi(t){return null==t}function Ii(t){t=function(t){var n={};for(var i in t)n[i]=t[i];return n}(t||{}),t.whiteList=t.whiteList||Ei.whiteList,t.onAttr=t.onAttr||Ei.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||Ei.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||Ei.safeAttrValue,this.options=t}Ii.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var n=this.options,i=n.whiteList,r=n.onAttr,e=n.onIgnoreAttr,s=n.safeAttrValue;return Pi(t,(function(t,n,o,a,u){var f=i[o],c=!1;if(!0===f?c=f:"function"==typeof f?c=f(a):f instanceof RegExp&&(c=f.test(a)),!0!==c&&(c=!1),a=s(o,a)){var h,l={position:n,sourcePosition:t,source:u,isWhite:c};return c?Oi(h=r(o,a,l))?o+":"+a:h:Oi(h=e(o,a,l))?void 0:h}}))};var Fi=Ii;!function(t,n){var i=xi,r=Fi;for(var e in(n=t.exports=function(t,n){return new r(n).process(t)}).FilterCSS=r,i)n[e]=i[e]}(ki,ki.exports);var Ri=ki.exports,Bi={indexOf:function(t,n){var i,r;if(Array.prototype.indexOf)return t.indexOf(n);for(i=0,r=t.length;i<r;i++)if(t[i]===n)return i;return-1},forEach:function(t,n,i){var r,e;if(Array.prototype.forEach)return t.forEach(n,i);for(r=0,e=t.length;r<e;r++)n.call(i,t[r],r,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var n=/\s|\n|\t/.exec(t);return n?n.index:-1}},Ti=Ri.getDefaultWhiteList,Ci=Bi;var Di=new(0,Ri.FilterCSS);function zi(t){return t.replace(Ui,"<").replace(Vi,">")}var Ui=/</g,Vi=/>/g,Wi=/"/g,_i=/"/g,Hi=/&#([a-zA-Z0-9]*);?/gim,Gi=/:?/gim,Ji=/&newline;?/gim,$i=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,Yi=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Ki=/u\s*r\s*l\s*\(.*/gi;function Xi(t){return t.replace(Wi,""")}function Zi(t){return t.replace(_i,'"')}function Qi(t){return t.replace(Hi,(function(t,n){return String.fromCharCode("x"===n[0]||"X"===n[0]?parseInt(n.substr(1),16):parseInt(n,10))}))}function tr(t){return t.replace(Gi,":").replace(Ji," ")}function nr(t){for(var n="",i=0,r=t.length;i<r;i++)n+=t.charCodeAt(i)<32?" ":t.charAt(i);return Ci.trim(n)}function ir(t){return nr(t=tr(t=Qi(t=Zi(t))))}function rr(t){return zi(t=Xi(t))}Ai.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},Ai.getDefaultWhiteList=function(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}},Ai.onTag=function(){},Ai.onIgnoreTag=function(){},Ai.onTagAttr=function(){},Ai.onIgnoreTagAttr=function(){},Ai.safeAttrValue=function(t,n,i,r){if(i=ir(i),"href"===n||"src"===n){if("#"===(i=Ci.trim(i)))return"#";if("http://"!==i.substr(0,7)&&"https://"!==i.substr(0,8)&&"mailto:"!==i.substr(0,7)&&"tel:"!==i.substr(0,4)&&"data:image/"!==i.substr(0,11)&&"ftp://"!==i.substr(0,6)&&"./"!==i.substr(0,2)&&"../"!==i.substr(0,3)&&"#"!==i[0]&&"/"!==i[0])return""}else if("background"===n){if($i.lastIndex=0,$i.test(i))return""}else if("style"===n){if(Yi.lastIndex=0,Yi.test(i))return"";if(Ki.lastIndex=0,Ki.test(i)&&($i.lastIndex=0,$i.test(i)))return"";!1!==r&&(i=(r=r||Di).process(i))}return rr(i)},Ai.escapeHtml=zi,Ai.escapeQuote=Xi,Ai.unescapeQuote=Zi,Ai.escapeHtmlEntities=Qi,Ai.escapeDangerHtml5Entities=tr,Ai.clearNonPrintableCharacter=nr,Ai.friendlyAttrValue=ir,Ai.escapeAttrValue=rr,Ai.onIgnoreTagStripAll=function(){return""},Ai.StripTagBody=function(t,n){"function"!=typeof n&&(n=function(){});var i=!Array.isArray(t),r=[],e=!1;return{onIgnoreTag:function(s,o,a){if(function(n){return!!i||-1!==Ci.indexOf(t,n)}(s)){if(a.isClosing){return r.push([!1!==e?e:a.position,a.position+10]),e=!1,"[/removed]"}return e||(e=a.position),"[removed]"}return n(s,o,a)},remove:function(t){var n="",i=0;return Ci.forEach(r,(function(r){n+=t.slice(i,r[0]),i=r[1]})),n+=t.slice(i)}}},Ai.stripCommentTag=function(t){for(var n="",i=0;i<t.length;){var r=t.indexOf("\x3c!--",i);if(-1===r){n+=t.slice(i);break}n+=t.slice(i,r);var e=t.indexOf("--\x3e",r);if(-1===e)break;i=e+3}return n},Ai.stripBlankChar=function(t){var n=t.split("");return n=n.filter((function(t){var n=t.charCodeAt(0);return!(127===n||n<=31&&10!==n&&13!==n)})),n.join("")},Ai.cssFilter=Di,Ai.getDefaultCSSWhiteList=Ti;var er={},sr=Bi;function or(t){var n,i=sr.spaceIndex(t);return n=t.slice(1,-1===i?-1:i+1),"/"===(n=sr.trim(n).toLowerCase()).slice(0,1)&&(n=n.slice(1)),"/"===n.slice(-1)&&(n=n.slice(0,-1)),n}function ar(t){return"</"===t.slice(0,2)}var ur=/[^a-zA-Z0-9\\_:.-]/gim;function fr(t,n){for(;n<t.length;n++){var i=t[n];if(" "!==i)return"="===i?n:-1}}function cr(t,n){for(;n<t.length;n++){var i=t[n];if(" "!==i)return"'"===i||'"'===i?n:-1}}function hr(t,n){for(;n>0;n--){var i=t[n];if(" "!==i)return"="===i?n:-1}}function lr(t){return function(t){return'"'===t[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]}(t)?t.substr(1,t.length-2):t}er.parseTag=function(t,n,i){var r="",e=0,s=!1,o=!1,a=0,u=t.length,f="",c="";t:for(a=0;a<u;a++){var h=t.charAt(a);if(!1===s){if("<"===h){s=a;continue}}else if(!1===o){if("<"===h){r+=i(t.slice(e,a)),s=a,e=a;continue}if(">"===h){r+=i(t.slice(e,s)),f=or(c=t.slice(s,a+1)),r+=n(s,r.length,f,c,ar(c)),e=a+1,s=!1;continue}if('"'===h||"'"===h)for(var l=1,d=t.charAt(a-l);""===d.trim()||"="===d;){if("="===d){o=h;continue t}d=t.charAt(a-++l)}}else if(h===o){o=!1;continue}}return e<t.length&&(r+=i(t.substr(e))),r},er.parseAttr=function(t,n){var i=0,r=0,e=[],s=!1,o=t.length;function a(t,i){if(!((t=(t=sr.trim(t)).replace(ur,"").toLowerCase()).length<1)){var r=n(t,i||"");r&&e.push(r)}}for(var u=0;u<o;u++){var f,c=t.charAt(u);if(!1!==s||"="!==c)if(!1===s||u!==r){if(/\s|\n|\t/.test(c)){if(t=t.replace(/\s|\n|\t/g," "),!1===s){if(-1===(f=fr(t,u))){a(sr.trim(t.slice(i,u))),s=!1,i=u+1;continue}u=f-1;continue}if(-1===(f=hr(t,u-1))){a(s,lr(sr.trim(t.slice(i,u)))),s=!1,i=u+1;continue}}}else{if(-1===(f=t.indexOf(c,u+1)))break;a(s,sr.trim(t.slice(r+1,f))),s=!1,i=(u=f)+1}else s=t.slice(i,u),r='"'===t.charAt(i=u+1)||"'"===t.charAt(i)?i:cr(t,u+1)}return i<t.length&&(!1===s?a(t.slice(i)):a(s,lr(sr.trim(t.slice(i))))),sr.trim(e.join(" "))};var dr=Ri.FilterCSS,vr=Ai,mr=er.parseTag,wr=er.parseAttr,pr=Bi;function br(t){return null==t}function gr(t){t=function(t){var n={};for(var i in t)n[i]=t[i];return n}(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=vr.onIgnoreTagStripAll),t.whiteList=t.whiteList||t.allowList?function(t){var n={};for(var i in t)Array.isArray(t[i])?n[i.toLowerCase()]=t[i].map((function(t){return t.toLowerCase()})):n[i.toLowerCase()]=t[i];return n}(t.whiteList||t.allowList):vr.whiteList,t.onTag=t.onTag||vr.onTag,t.onTagAttr=t.onTagAttr||vr.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||vr.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||vr.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||vr.safeAttrValue,t.escapeHtml=t.escapeHtml||vr.escapeHtml,this.options=t,!1===t.css?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new dr(t.css))}gr.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var n=this.options,i=n.whiteList,r=n.onTag,e=n.onIgnoreTag,s=n.onTagAttr,o=n.onIgnoreTagAttr,a=n.safeAttrValue,u=n.escapeHtml,f=this.cssFilter;n.stripBlankChar&&(t=vr.stripBlankChar(t)),n.allowCommentTag||(t=vr.stripCommentTag(t));var c=!1;n.stripIgnoreTagBody&&(c=vr.StripTagBody(n.stripIgnoreTagBody,e),e=c.onIgnoreTag);var h=mr(t,(function(t,n,c,h,l){var d={sourcePosition:t,position:n,isClosing:l,isWhite:Object.prototype.hasOwnProperty.call(i,c)},v=r(c,h,d);if(!br(v))return v;if(d.isWhite){if(d.isClosing)return"</"+c+">";var m=function(t){var n=pr.spaceIndex(t);if(-1===n)return{html:"",closing:"/"===t[t.length-2]};var i="/"===(t=pr.trim(t.slice(n+1,-1)))[t.length-1];return i&&(t=pr.trim(t.slice(0,-1))),{html:t,closing:i}}(h),w=i[c],p=wr(m.html,(function(t,n){var i=-1!==pr.indexOf(w,t),r=s(c,t,n,i);return br(r)?i?(n=a(c,t,n,f))?t+'="'+n+'"':t:br(r=o(c,t,n,i))?void 0:r:r}));return h="<"+c,p&&(h+=" "+p),m.closing&&(h+=" /"),h+">"}return br(v=e(c,h,d))?u(h):v}),u);return c&&(h=c.remove(h)),h};var Nr=gr;!function(t,n){var i=Ai,r=er,e=Nr;function s(t,n){return new e(n).process(t)}(n=t.exports=s).filterXSS=s,n.FilterXSS=e,function(){for(var t in i)n[t]=i[t];for(var e in r)n[e]=r[e]}(),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)}(yi,yi.exports);var Lr=yi.exports,yr=function(){function t(t,n){var i,r=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=Li(Li({},Lr.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(t,n,i,e){return"a"===t&&"href"===n||("img"===t||"source"===t)&&"src"===n?r.sanitizeUrl(i):Lr.safeAttrValue(t,n,i,e)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"},t&&!n?i=t:t&&n?((i=Object.create(this.arcgisFilterOptions)).css={whiteList:this.arcgisCSSWhiteList},Object.keys(t).forEach((function(n){if("whiteList"===n)i.whiteList=r._extendObjectOfArrays([r.arcgisWhiteList,t.whiteList||{}]);else if("css"===n){var e=t.css.whiteList;null!=e&&t.css instanceof Object&&Object.keys(e).forEach((function(t){return i.css.whiteList[t]=e[t]}))}else i[n]=t[n]}))):((i=Object.create(this.arcgisFilterOptions)).whiteList=this.arcgisWhiteList,i.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=i,this._xssFilter=new Lr.FilterXSS(i)}return t.prototype.sanitize=function(t,n){switch(void 0===n&&(n={}),typeof t){case"number":return isNaN(t)||!isFinite(t)?null:t;case"boolean":return t;case"string":return this._xssFilter.process(t);case"object":return this._iterateOverObject(t,n);default:if(n.allowUndefined&&void 0===t)return;return null}},t.prototype.sanitizeUrl=function(t,n){var i=(null!=n?n:{}).isProtocolRequired,r=void 0===i||i,e=this._trim(t.substring(0,t.indexOf(":"))),s="/"===t,o=/^#/.test(t),a=e&&this.allowedProtocols.indexOf(e.toLowerCase())>-1;return s||o||a?Lr.escapeAttrValue(t):e||r?"":Lr.escapeAttrValue("https://".concat(t))},t.prototype.sanitizeHTMLAttribute=function(t,n,i,r){return"function"==typeof this.xssFilterOptions.safeAttrValue?this.xssFilterOptions.safeAttrValue(t,n,i,r):Lr.safeAttrValue(t,n,i,r)},t.prototype.validate=function(t,n){void 0===n&&(n={});var i=this.sanitize(t,n);return{isValid:t===i,sanitized:i}},t.prototype.encodeHTML=function(t){var n=this;return String(t).replace(/[&<>"'\/]/g,(function(t){return n._entityMap[t]}))},t.prototype.encodeAttrValue=function(t){var n=/^[a-zA-Z0-9]$/;return String(t).replace(/[\x00-\xFF]/g,(function(i,r){return n.test(i)?i:"&#x".concat(Number(t.charCodeAt(r)).toString(16),";")}))},t.prototype._extendObjectOfArrays=function(t){var n={};return t.forEach((function(t){Object.keys(t).forEach((function(i){n[i]=Array.isArray(t[i])&&Array.isArray(n[i])?n[i].concat(t[i]):t[i]}))})),n},t.prototype._iterateOverObject=function(t,n){var i=this;void 0===n&&(n={});try{var r=!1,e=void 0;if(Array.isArray(t))e=t.reduce((function(t,e){var s=i.validate(e,n);return s.isValid?t.concat([e]):(r=!0,t.concat([s.sanitized]))}),[]);else{if(!function(t){if("object"!=typeof t||null===t)return!1;if("[object Object]"!==Object.prototype.toString.call(t))return!1;var n=Object.getPrototypeOf(t);if(null===n)return!0;for(;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(t)===n}(t)){if(n.allowUndefined&&void 0===t)return;return null}e=Object.keys(t).reduce((function(e,s){var o=t[s],a=i.validate(o,n);return a.isValid?e[s]=o:(r=!0,e[s]=a.sanitized),e}),{})}return r?e:t}catch(t){return null}},t.prototype._trim=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},t}(),Ar=function(){return Ar=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++)for(var e in n=arguments[i])Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t},Ar.apply(this,arguments)};
|
451
|
+
/** @license
|
452
|
+
* Copyright 2022 Esri
|
453
|
+
*
|
454
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
455
|
+
* you may not use this file except in compliance with the License.
|
456
|
+
* You may obtain a copy of the License at
|
457
|
+
*
|
458
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
459
|
+
*
|
460
|
+
* Unless required by applicable law or agreed to in writing, software
|
461
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
462
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
463
|
+
* See the License for the specific language governing permissions and
|
464
|
+
* limitations under the License.
|
465
|
+
*/
|
466
|
+
const kr="|";async function xr(t,n,e=!0,s=!1,o=!1,a,u=!1,f=!1){const c=[];return Object.keys(n).forEach((h=>{const l=n[h];c.push(async function(t,n,e,s=!0,o=!1,a,u=!1,f=!1){const c=t?.portalItem?.portal?.credential?.token,h=await Ir(t,n,s),l=h.layer;let d=[];if(void 0!==h.relationshipId){const t=await function(t,n,i,r,e){const s=t.substring(t.lastIndexOf("/")+1);isNaN(parseInt(s))&&(t+="/"+n.toString());const o={definitionExpression:"1=1",httpMethod:"POST",objectIds:r,outFields:"*",relationshipId:i,url:t};return e&&(o.params={token:e}),Or(o)}(n.url,n.layerId,h.relationshipId,e,c),i=[];t.forEach((t=>{t.relatedRecords.forEach((t=>{i.push(t.attributes)}))}));const r=n.objectIdField;if(i.sort(((t,n)=>t[r]<n[r]?-1:t[r]>n[r]?1:0)),d=i.filter(((t,n)=>0===n||t[r]!==i[n-1][r])),0===d.length)return Promise.resolve([])}else d=await r(e,l,[],!1,void 0,a);const v={},m={},w={};l.fields?l.fields.forEach((t=>{if(!f||a.indexOf(t.name.toLowerCase())>-1){const n=t.name.toLowerCase();v[n]=t.name,w[n]=t.domain,m[n]=t.type}})):Object.keys(d[0]).forEach((t=>{if(!f||a.indexOf(t.toLowerCase())>-1){const n=t.toLowerCase();v[n]=t}}));const p="pattern"===h.labelFormat.type?await async function(t,n,r,e,s,o,a,u=!1){const[f]=await i(["esri/intl"]),c=function(t){const n=[];let i=0;for(;i<t.length;){const r=t.indexOf("{",i);if(r<0)break;const e=t.indexOf("}",r);if(e<0)break;const s=t.substring(r,e+1);n.push(s),i=e+1}const r=function(t){return t.match(/\{expression\/\w+\}/g)??[]}(t);return n.filter((t=>r.indexOf(t)<0))}(a),h=c.map((t=>t.substring(1,t.length-1))),l=await async function(t,n){const r={};if(!Array.isArray(n.popupTemplate.expressionInfos)||0===n.popupTemplate.expressionInfos.length)return Promise.resolve(r);const e=t.match(/\{expression\/\w+\}/g);if(!e)return Promise.resolve(r);const[s]=await i(["esri/arcade"]),o={variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]},a={};e.forEach((t=>{const i=t.substring(t.indexOf("/")+1,t.length-1);(n.popupTemplate.expressionInfos||[]).forEach((t=>{t.name===i&&(a[i]=s.createArcadeExecutor(t.expression,o))}))}));const u=Object.values(a);return Promise.all(u).then((t=>{const n=Object.keys(a);for(let i=0;i<n.length;++i)r[n[i]]=t[i].valueOf();return r}))}(a,t),d=a.match(/\{expression\/\w+\}/g)??[],v=await Promise.all(n.map((async n=>{let i=a;for(let r=0;r<d.length;r++){const e=d[r],s=e.substring(e.indexOf("/")+1,e.length-1),o=await l[s].executeAsync({$feature:n,$layer:t});i=i.replace(e,o).replace(/\n/gi,"|")}const u=n.attributes??n;h.forEach(((t,n)=>{const a=t.toLowerCase(),h=Rr(u[r[a]],e[a],s[a],o[a],f);i=i.replace(c[n],h)}));let v=i.split(kr);return v=v.map((t=>Mr(t))),v})));return u&&v.unshift(function(t){const n=t.split(kr).map(((t,n)=>{const i=t.match(/\{[^\}]*\}/g);return i?i.map((t=>t.substring(1,t.length-1))).map((t=>t.startsWith("expression/")?t.substring(t.indexOf("/")+1):t)).join("__"):`column_${n+1}`}));return n}(a)),Promise.resolve(v)}(n,d,v,m,w,h.attributeFormats,h.labelFormat.format,o):"executor"===h.labelFormat.type?await async function(t,n){const i=(await Promise.all(t.map((async t=>n.executeAsync({$feature:t}))))).filter((t=>t.text)).map((t=>Mr(t.text).split(kr)));return Promise.resolve(i)}(d,h.labelFormat.format):await async function(t,n,r,e=!1,s=!1){const[o]=await i(["esri/intl"]),a=t.map((t=>Object.keys(t.attributes).map((i=>{const e=i.toLowerCase();return Rr(t.attributes[i],n[e],r[e],null,o)}))));if(e){const n=[],i=t[0].attributes,r=t[0]?.layer?.fields.reduce(((t,n)=>(t[n.name]=n.alias,t)),{});Object.keys(i).forEach((t=>{n.push(s&&r?r[t]:t)})),a.unshift(n)}return Promise.resolve(a)}(d,m,w,o,u);return Promise.resolve(p)}(t,l.layerView?.layer||l.layer,l.ids,e,s,a,u,f)),o&&c.push(Promise.resolve([[h]]))})),(await Promise.all(c)).reduce(((t,n)=>t.concat(n)),[])}async function Sr(t,n,i,r=!1,e=!1,s,o=!1,a=!1){let u=await xr(t,n,i,e,!0,s,o,a);u=r?jr(u):u;const f=Object.keys(n);let c=[];return u.forEach((t=>{const i=t[0];f.indexOf(i)<0?c.push(t):(
|
467
|
+
/** @license
|
468
|
+
* Copyright 2022 Esri
|
469
|
+
*
|
470
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
471
|
+
* you may not use this file except in compliance with the License.
|
472
|
+
* You may obtain a copy of the License at
|
473
|
+
*
|
474
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
475
|
+
*
|
476
|
+
* Unless required by applicable law or agreed to in writing, software
|
477
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
478
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
479
|
+
* See the License for the specific language governing permissions and
|
480
|
+
* limitations under the License.
|
481
|
+
*/
|
482
|
+
function(t,n){const i=n.map((t=>Object.values(t).map((t=>`"${t}"`)).join(",")+"\r\n"));!
|
483
|
+
/** @license
|
484
|
+
* Copyright 2022 Esri
|
485
|
+
*
|
486
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
487
|
+
* you may not use this file except in compliance with the License.
|
488
|
+
* You may obtain a copy of the License at
|
489
|
+
*
|
490
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
491
|
+
*
|
492
|
+
* Unless required by applicable law or agreed to in writing, software
|
493
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
494
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
495
|
+
* See the License for the specific language governing permissions and
|
496
|
+
* limitations under the License.
|
497
|
+
*/
|
498
|
+
function(t,n){const i=document.createElement("a");void 0!==i.download&&(i.href=URL.createObjectURL(new Blob(n,{type:"text/csv;charset=utf-8;"})),i.download=`${t}.csv`||"export.csv",i.style.visibility="hidden",document.body.appendChild(i),i.click(),document.body.removeChild(i))}(t,i)}(Pr(Fr(n,new RegExp(`\\b${i}\\b`))),c),c=[])})),Promise.resolve()}async function qr(t,i,r,e=!1,s="",o=""){let a=await xr(t,i);const u=Fr(i);return a=a.map((t=>t.filter((t=>t.length>0)))).filter((t=>t.length>0)),a=e?jr(a):a,function(t,i,r,e="",s=""){!async function(t,i,r,e="",s=""){const o=new gi;await o.initialize({pageType:"ANSI_A"},n("assets/arcgis-pdf-creator/"),"en",t);const a=new Ni;await a.initialize(o);const u=r.labelSpec;let c=1;if(s){const t=u.pageProperties,n=f.getPageSize(t.pageType);o.drawImage(s,{x:t.leftMargin,y:t.topMargin,width:n.width-t.leftMargin-t.rightMargin,height:n.height-t.topMargin-t.bottomMargin}),e&&a.drawSupplementalText(e,0,-.1),i.length>0&&(o.addPage(),++c)}await a.addLabelsToDoc(i,u,c,e),o.save()}(t,i,r,e,s)}(s||Pr(u),a,r,s,o),Promise.resolve()}function jr(t){const n=t.map((t=>JSON.stringify(t))),i=new Set(n);return Array.from(i,(t=>JSON.parse(t)))}function Mr(t){for(t=(t=(t=(t=t.replace(/<br\s*\/?>/gi,kr)).replace(/<p[^>]*>/gi,kr).trim().replace(/^\|/,"")).replace(/<\/p>/gi,"")).replace(/\n/gi,"|"),t=(t=(t=(new yr).sanitize(t)).replace(/<[\s.]*[^<>]*\/?>/gi,"").replace(/\xA0/gi," ").replace(/ /gi," ")).replace(/\s*\|\s*/g,"|");t.match(/\|\|/);)t=t.replace(/\|\|/,"|");return(t=t.replace(/^\|/,"")).replace(/\|$/,"")}function Er(t,n=!1){const i=[];return t.forEach((t=>{(t.visible||n)&&i.push(`{${t.fieldName}}`)})),{type:"pattern",format:i.join(kr)}}function Pr(t){return t.length>0?t.join(", "):"download"}function Or(t,n=[],i=0){const r={...t.params,resultOffset:i};return function(t){var n=function(t,n,i){var r=s(s({params:{}},i),t);return r.params=["objectIds","relationshipId","definitionExpression","outFields"].reduce((function(n,i){return(t[i]||"boolean"==typeof t[i])&&(n[i]=t[i]),n}),r.params),["params","httpMethod","rawResponse","authentication","portal","fetch","maxUrlLength","headers"].reduce((function(t,n){return r[n]&&(t[n]=r[n]),t}),{})}(t,0,{httpMethod:"GET",params:Ar({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return o(a(t.url)+"/queryRelatedRecords",n)}({...t,params:r}).then((r=>(n.push(...r.relatedRecordGroups),r.exceededTransferLimit?Or(t,n,i+r.relatedRecordGroups.length):Promise.resolve(n))))}async function Ir(t,n,r){let s={layer:n,attributeFormats:{},relationshipId:void 0,labelFormat:{type:"unsupported",format:void 0}};if(n.popupEnabled&&(n.popupTemplate.fieldInfos.forEach((t=>{t.format&&(s.attributeFormats[t.fieldName.toLowerCase()]=t.format)})),r)){const o=n.popupTemplate?.content[0]?.type;if("relationship"===o){const i=n.popupTemplate.content[0].relationshipId,o=n.relationships.find((t=>t.id===i));let a=t.layers.toArray().concat(t.tables.toArray());if(a=a.filter((t=>"feature"===t.type&&t.layerId===o.relatedTableId)),a.length>0)s=await Ir(t,a[0],r),s.relationshipId=i.toString();else{a=t.layers.toArray().concat(t.tables.toArray());const o=[];let u;a=a.filter((t=>{if("feature"===t.type&&t.layerId!=n.layerId&&t.url){const n=t.url+"/"+t.layerId.toString();return o.push(e(n)),!0}return!1})),(await Promise.all(o)).some(((n,e)=>!(!n.relationships||!n.relationships.some((t=>t.id===i))||(u=Ir(t,a[e],r),0))))?(s=await u,s.relationshipId=i.toString()):s.labelFormat=Er(n.popupTemplate.fieldInfos)}}else"fields"===o?(s.labelFormat=Er(n.popupTemplate.fieldInfos),0===s.labelFormat.format.length&&(s.labelFormat=n.popupTemplate.title&&"string"==typeof n.popupTemplate.title?{type:"pattern",format:n.popupTemplate.title}:Er(n.popupTemplate.fieldInfos,!0))):s.labelFormat="text"===o?{type:"pattern",format:Mr(n.popupTemplate.content[0].text)}:"expression"===o?await async function(t){const[n]=await i(["esri/arcade"]),r=await n.createArcadeExecutor(t.expression,{variables:[{name:"$feature",type:"feature"},{name:"$layer",type:"featureSet"},{name:"$datastore",type:"featureSetCollection"},{name:"$map",type:"featureSetCollection"}]});return Promise.resolve({type:"executor",format:r})}(n.popupTemplate.content[0].expressionInfo):Er(n.popupTemplate.fieldInfos)}return Promise.resolve(s)}function Fr(t,n=/.+/){let i=[];return Object.keys(t).forEach((r=>{const e=t[r];n.test(r)&&(i=i.concat(e.selectionSetNames))})),i}function Rr(t,n,i,r,e){if(null==t)return"";if(i&&"coded-value"===i.type){const n=i.getName(t);return n?.toString()}{let i=t;switch(n){case"date":if(r?.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDate(i,t)}else i=e.formatDate(i);i=i.replace(/\xe2\x80\xaf/g,"");break;case"date-only":if(r?.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatDateOnly(i,t)}else i=e.formatDateOnly(i);break;case"time-only":if(r?.dateFormat){const t=e.convertDateFormatToIntlOptions(r.dateFormat);i=e.formatTimeOnly(i,t)}else i=e.formatTimeOnly(i);break;case"double":case"integer":case"long":case"small-integer":if(r){const t=e.convertNumberFormatToIntlOptions(r);i=e.formatNumber(i,t)}else i=e.formatNumber(i?.toString(),{maximumFractionDigits:100})}return i}}export{Rr as _,qr as a,xr as c,Sr as d,jr as r}
|