useblocks 1.1.85-dev.5 → 1.1.85-dev.6
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/README.md +43 -0
- package/fileManager.d.ts +1 -1
- package/iframe/.vite/manifest.json +4 -4
- package/iframe/js/discussHandlers.Ced_gtP0.js +85 -0
- package/iframe/js/iframe-eblock.body.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.body.js +35 -35
- package/iframe/js/iframe.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/Custom/FormBackgroundSettings/index.d.ts +5 -1
- package/node_modules/useblocks-ui-kit/es/components/Custom/FormBackgroundSettings/index.js +99 -95
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AI.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AMP.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AlignCenterOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AlignHorizontalCenter.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AlignHorizontalLeft.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AlignHorizontalRight.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AlignLeftOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AlignRightOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AlignVerticalBottom.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AlignVerticalCenter.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AlignVerticalTop.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Anchor.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AnnotationQuestionIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ArrowLeftOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AtSignIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Atom.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/AutoMode.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/BarChart03Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/BellRinging04Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Block.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/CalendarIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/CheckCircleVerified.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Close.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/CloudDownloadOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/CloudUploadOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Code.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/CodeBrowserIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Column.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/CommentOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Copy06Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/CopyOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/CreditCard02Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/DarkMode.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/DeleteOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/DotsHoriz.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/DotsVerticalIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/DownOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Edit.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementAccordion.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementButton.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementCarousel.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementCountdown.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementDivider.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementForm.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementImage.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementImageAI.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementListUL.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementSocial.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementSpacer.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementTable.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementText.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementTitle.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ElementVideo.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Email.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/EyeOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/FileQuestion02Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/FlipBackwardIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/FolderIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/FolderPlusIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Globe02Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/GoToParent.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Grid01Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Group.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/HistoryOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Image.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ImageAdd.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ImageUserIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/InfoCircleIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/InfoSquareIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Justify.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/LifeBuoy02Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/LightMode.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Link03Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ListViewIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Lock.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/LogOut01Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Mail02Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/MessageChatSquareIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/PaletteIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/PanelLeft.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Percent02Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/PhoneIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/PlusCircleOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/PlusIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/PuzzlePiece01Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/RedoOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/RefreshCcw05Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/RightOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Rocket02Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Sale04Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SaveOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SearchSmIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Send02Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SendOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Server05Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SettingOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Settings04Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ShareAltOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/ShieldTickIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SliderAdaptive.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SliderBlocks.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SliderGroup.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SliderMagic.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SliderTemplates.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Speed.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Styles.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Sun.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SwapHorizontalIcon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/SyncOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Target.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/UnLock.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/UndoOutlined.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/User03Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Users02Icon.js +1 -1
- package/node_modules/useblocks-ui-kit/es/components/General/EmIcons/wrappedIcons/Web.js +1 -1
- package/node_modules/useblocks-ui-kit/package.json +1 -1
- package/package.json +3 -4
- package/runtime/react/index.js +1 -1
- package/static/core/175b5b0f.js +1 -0
- package/static/core/{57c114f0.js → 1bdeb37f.js} +1 -1
- package/static/core/{a15ab67d.js → 23f020c5.js} +1 -1
- package/static/core/{364dcebf.js → 284b592e.js} +1 -1
- package/static/core/3a252a3c.js +2 -0
- package/static/core/{79749848.js → 4c8d0155.js} +5 -5
- package/static/core/{ddb5a35d.js → 51a46897.js} +1 -1
- package/static/core/5db1f013.js +112 -0
- package/static/core/{e0d71533.js → 60aa31a3.js} +6 -6
- package/static/core/{9a70cc1e.js → 60f7aa8d.js} +1 -1
- package/static/core/6741eb70.js +31 -0
- package/static/core/{230f23ec.js → 6a939bac.js} +1 -1
- package/static/core/{dfddbd68.js → 6ff64eea.js} +1 -1
- package/static/core/{f3eda1c7.js → 740a4f32.js} +1 -1
- package/static/core/{30f16e98.js → 74c1d64b.js} +1 -1
- package/static/core/{52fbc985.js → 7d627bff.js} +1 -1
- package/static/core/{4916b3a1.js → 7f91ed03.js} +1 -1
- package/static/core/{ffb36e93.js → 8035d07f.js} +1 -1
- package/static/core/9600caf9.js +4 -0
- package/static/core/{199dc589.js → 991b35ff.js} +1 -1
- package/static/core/{b743a76d.js → 9ea82ab5.js} +1 -1
- package/static/core/{ecad56ba.js → a5996860.js} +1 -1
- package/static/core/b6c5e3be.js +4 -0
- package/static/core/{6541580a.js → c28968c1.js} +1 -1
- package/static/core/{14a79b09.js → d0eece8b.js} +3 -3
- package/static/core/d2bb1c0d.js +291 -0
- package/static/core/{adf6e008.js → e2699a48.js} +1 -1
- package/static/core/{5bf994b4.js → ec4827f1.js} +1 -1
- package/static/core/{3832a02d.js → ec93b234.js} +5 -5
- package/static/core/{8fb0fe48.js → fc390885.js} +1 -1
- package/static/core/fdfb1e94.js +1 -0
- package/static/esm/ff1698e6.js +1 -0
- package/static/media/image-editor/.gitkeep +0 -0
- package/static/umd-runtime/{rlHPqhad.js → BU51qBWm.js} +1 -1
- package/static/umd-runtime/DqBt-qBI.js +1 -0
- package/static/umd-runtime/runtime.js +1 -1
- package/static/umd-runtime/ui-kit-icons.js +1 -1
- package/static/umd-runtime/ui-kit.js +2 -2
- package/useblocks-core.d62ebebc.js +857 -0
- package/useblocks-esm.js +10 -10
- package/{useblocks-po.eeb12239.js → useblocks-po.d62ebebc.js} +1 -1
- package/useblocks.d.ts +32 -3
- package/useblocks.js +12 -12
- package/iframe/js/discussHandlers.CGgLczQM.js +0 -85
- package/node_modules/@ant-design/icons-svg/es/asn/AccountBookFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AccountBookOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AccountBookTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AimOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlertFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlertOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlertTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlibabaOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlignCenterOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlignLeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlignRightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlipayCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlipayCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlipayOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AlipaySquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AliwangwangFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AliwangwangOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AliyunOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AmazonCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AmazonOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AmazonSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AndroidFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AndroidOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AntCloudOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AntDesignOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ApartmentOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ApiFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ApiOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ApiTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AppleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AppleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AppstoreAddOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AppstoreFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AppstoreOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AppstoreTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AreaChartOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ArrowDownOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ArrowRightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ArrowUpOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ArrowsAltOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AudioFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AudioMutedOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AudioOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AudioTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/AuditOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BackwardFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BackwardOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BaiduOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BankFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BankOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BankTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BarChartOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BarcodeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BarsOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BehanceCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BehanceOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BehanceSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BehanceSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BellFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BellOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BellTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BgColorsOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BilibiliFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BilibiliOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BlockOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BoldOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BookFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BookOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BookTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BorderBottomOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BorderHorizontalOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BorderInnerOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BorderLeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BorderOuterOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BorderOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BorderRightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BorderTopOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BorderVerticleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BorderlessTableOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BoxPlotFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BoxPlotOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BoxPlotTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BranchesOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BugFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BugOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BugTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BuildFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BuildOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BuildTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BulbFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BulbOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/BulbTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CalculatorFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CalculatorOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CalculatorTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CalendarFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CalendarOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CalendarTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CameraFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CameraOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CameraTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CarFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CarOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CarTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CaretLeftFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CaretLeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CaretRightFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CaretRightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CaretUpFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CaretUpOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CarryOutFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CarryOutOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CarryOutTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CheckCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CheckSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CheckSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CheckSquareTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ChromeFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ChromeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CiCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CiCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CiCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CiOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CiTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ClearOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ClockCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ClockCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ClockCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloseCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloseCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloseSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloseSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloseSquareTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloudDownloadOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloudFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloudOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloudServerOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloudSyncOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloudTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CloudUploadOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ClusterOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CodeFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CodeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CodeSandboxCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CodeSandboxOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CodeSandboxSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CodeTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CodepenCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CodepenCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CodepenOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CodepenSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CoffeeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ColumnHeightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ColumnWidthOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CommentOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CompassFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CompassOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CompassTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CompressOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ConsoleSqlOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ContactsFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ContactsOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ContactsTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ContainerFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ContainerOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ContainerTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ControlFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ControlOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ControlTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CopyFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CopyTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CopyrightCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CopyrightCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CopyrightCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CopyrightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CopyrightTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CreditCardFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CreditCardOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CreditCardTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CrownFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CrownOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CrownTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CustomerServiceFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CustomerServiceOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/CustomerServiceTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DashOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DashboardFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DashboardOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DashboardTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DatabaseFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DatabaseOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DatabaseTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DeleteColumnOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DeleteFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DeleteRowOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DeleteTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DeliveredProcedureOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DeploymentUnitOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DesktopOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DiffFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DiffOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DiffTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DingdingOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DingtalkCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DingtalkOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DingtalkSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DisconnectOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DiscordFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DiscordOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DislikeFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DislikeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DislikeTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DockerOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DollarCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DollarCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DollarCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DollarOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DollarTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DotChartOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DotNetOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DoubleLeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DoubleRightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DownCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DownCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DownCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DownSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DownSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DownSquareTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DownloadOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DragOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DribbbleCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DribbbleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DribbbleSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DribbbleSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DropboxCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DropboxOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/DropboxSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EditFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EditTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EllipsisOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EnterOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EnvironmentFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EnvironmentOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EnvironmentTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EuroCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EuroCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EuroCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EuroOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EuroTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExceptionOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExclamationOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExpandAltOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExpandOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExperimentFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExperimentOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExperimentTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ExportOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EyeFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EyeInvisibleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/EyeTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FacebookFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FacebookOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FallOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FastBackwardFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FastBackwardOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FastForwardFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FastForwardOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FieldBinaryOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FieldNumberOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FieldStringOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FieldTimeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileAddFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileAddOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileAddTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileDoneOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileExcelFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileExcelOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileExcelTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileExclamationFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileExclamationOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileExclamationTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileGifOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileImageFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileImageOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileImageTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileJpgOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileMarkdownFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileMarkdownOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileMarkdownTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FilePdfFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FilePdfOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FilePdfTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FilePptFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FilePptOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FilePptTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileProtectOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileSearchOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileSyncOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileTextFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileTextOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileTextTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileUnknownFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileUnknownOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileUnknownTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileWordFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileWordOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileWordTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileZipFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileZipOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FileZipTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FilterFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FilterOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FilterTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FireFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FireOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FireTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FlagFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FlagOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FlagTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FolderAddFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FolderAddOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FolderAddTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FolderFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FolderOpenFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FolderOpenOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FolderOpenTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FolderOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FolderTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FolderViewOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FontColorsOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FontSizeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ForkOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FormOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FormatPainterFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FormatPainterOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ForwardFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ForwardOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FrownFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FrownOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FrownTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FullscreenExitOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FullscreenOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FunctionOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FundFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FundOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FundProjectionScreenOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FundTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FundViewOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FunnelPlotFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FunnelPlotOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/FunnelPlotTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GatewayOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GifOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GiftFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GiftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GiftTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GithubFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GithubOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GitlabFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GitlabOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GlobalOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GoldFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GoldOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GoldTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GoldenFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GoogleCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GoogleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GooglePlusCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GooglePlusOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GooglePlusSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GoogleSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/GroupOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HarmonyOSOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HddFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HddOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HddTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HeartFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HeartOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HeartTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HeatMapOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HighlightFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HighlightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HighlightTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HistoryOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HolderOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HomeFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HomeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HomeTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HourglassFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HourglassOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/HourglassTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/Html5Filled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/Html5Outlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/Html5TwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/IdcardFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/IdcardOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/IdcardTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/IeCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/IeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/IeSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ImportOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InboxOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InfoCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InfoOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InsertRowAboveOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InsertRowBelowOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InsertRowLeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InsertRowRightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InstagramFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InstagramOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InsuranceFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InsuranceOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InsuranceTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InteractionFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InteractionOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/InteractionTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/IssuesCloseOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ItalicOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/JavaOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/JavaScriptOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/KeyOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/KubernetesOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LaptopOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LayoutFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LayoutOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LayoutTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LeftCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LeftCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LeftCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LeftSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LeftSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LeftSquareTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LikeFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LikeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LikeTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LineChartOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LineHeightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LineOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LinkOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LinkedinFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LinkedinOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LinuxOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/Loading3QuartersOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LockFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LockOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LockTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LoginOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/LogoutOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MacCommandFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MacCommandOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MailFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MailOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MailTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ManOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MedicineBoxFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MedicineBoxOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MedicineBoxTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MediumCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MediumOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MediumSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MediumWorkmarkOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MehFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MehOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MehTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MenuFoldOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MenuOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MenuUnfoldOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MergeCellsOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MergeFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MergeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MessageFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MessageOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MessageTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MinusCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MinusCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MinusOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MinusSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MinusSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MinusSquareTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MobileFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MobileOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MobileTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MoneyCollectFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MoneyCollectOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MoneyCollectTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MonitorOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MoonFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MoonOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MoreOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MutedFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/MutedOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/NodeCollapseOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/NodeExpandOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/NodeIndexOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/NotificationFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/NotificationOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/NotificationTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/NumberOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/OneToOneOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/OpenAIFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/OpenAIOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/OrderedListOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PaperClipOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PartitionOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PauseCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PauseCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PauseCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PauseOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PayCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PayCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PercentageOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PhoneFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PhoneOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PhoneTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PicCenterOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PicLeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PicRightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PictureFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PictureOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PictureTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PieChartFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PieChartOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PieChartTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PinterestFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PinterestOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlayCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlayCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlayCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlaySquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlaySquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlaySquareTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlusCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlusCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlusCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlusSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlusSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PlusSquareTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PoundCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PoundCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PoundCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PoundOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PoweroffOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PrinterFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PrinterOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PrinterTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ProductFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ProductOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ProfileFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ProfileOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ProfileTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ProjectFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ProjectOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ProjectTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PropertySafetyFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PropertySafetyOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PropertySafetyTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PullRequestOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PushpinFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PushpinOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PushpinTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/PythonOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/QqCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/QqOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/QqSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/QrcodeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/QuestionCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/QuestionCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/QuestionCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/QuestionOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RadarChartOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RadiusBottomleftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RadiusBottomrightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RadiusSettingOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RadiusUpleftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RadiusUprightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ReadFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ReadOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ReconciliationFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ReconciliationOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ReconciliationTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RedEnvelopeFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RedEnvelopeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RedEnvelopeTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RedditCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RedditOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RedditSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RedoOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RestFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RestOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RestTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RetweetOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RightCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RightCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RightCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RightSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RightSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RightSquareTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RiseOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RobotFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RobotOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RocketFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RocketOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RocketTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RollbackOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RotateLeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RotateRightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/RubyOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SafetyCertificateFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SafetyCertificateOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SafetyCertificateTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SafetyOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SaveFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SaveOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SaveTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ScanOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ScheduleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ScheduleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ScheduleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ScissorOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SecurityScanFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SecurityScanOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SecurityScanTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SelectOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SendOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SettingFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SettingOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SettingTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ShakeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ShareAltOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ShopFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ShopOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ShopTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ShoppingCartOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ShoppingFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ShoppingOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ShoppingTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ShrinkOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SignalFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SignatureFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SignatureOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SisternodeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SketchCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SketchOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SketchSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SkinFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SkinOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SkinTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SkypeFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SkypeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SlackCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SlackOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SlackSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SlackSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SlidersFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SlidersOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SlidersTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SmallDashOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SmileFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SmileOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SmileTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SnippetsFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SnippetsOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SnippetsTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SolutionOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SortAscendingOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SortDescendingOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SoundFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SoundOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SoundTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SplitCellsOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SpotifyFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SpotifyOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StarFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StarOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StarTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StepBackwardFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StepBackwardOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StepForwardFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StepForwardOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StockOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StopFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StopOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StopTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/StrikethroughOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SubnodeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SunFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SunOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SwapLeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SwapOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SwapRightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SwitcherFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SwitcherOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SwitcherTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/SyncOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TableOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TabletFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TabletOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TabletTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TagFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TagOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TagTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TagsFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TagsOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TagsTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TaobaoCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TaobaoCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TaobaoOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TaobaoSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TeamOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ThunderboltFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ThunderboltOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ThunderboltTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TikTokFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TikTokOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ToTopOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ToolFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ToolOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ToolTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TrademarkCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TrademarkCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TrademarkCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TrademarkOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TransactionOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TranslationOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TrophyFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TrophyOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TrophyTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TruckFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TruckOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TwitchFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TwitchOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TwitterCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TwitterOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/TwitterSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UnderlineOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UndoOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UngroupOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UnlockFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UnlockOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UnlockTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UnorderedListOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UpCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UpCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UpCircleTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UpOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UpSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UpSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UpSquareTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UsbFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UsbOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UsbTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UserAddOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UserDeleteOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UserOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UserSwitchOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UsergroupAddOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/UsergroupDeleteOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/VerifiedOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/VerticalAlignBottomOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/VerticalAlignMiddleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/VerticalAlignTopOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/VerticalLeftOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/VerticalRightOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/VideoCameraAddOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/VideoCameraFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/VideoCameraOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/VideoCameraTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WalletFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WalletOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WalletTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WarningFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WarningOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WarningTwoTone.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WechatFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WechatOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WechatWorkFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WechatWorkOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WeiboCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WeiboCircleOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WeiboOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WeiboSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WeiboSquareOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WhatsAppOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WifiOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WindowsFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WindowsOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/WomanOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/XFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/XOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/YahooFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/YahooOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/YoutubeFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/YoutubeOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/YuqueFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/YuqueOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ZhihuCircleFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ZhihuOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ZhihuSquareFilled.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ZoomInOutlined.js +0 -3
- package/node_modules/@ant-design/icons-svg/es/asn/ZoomOutOutlined.js +0 -3
- package/node_modules/@untitledui/icons/dist/Activity.js +0 -1
- package/node_modules/@untitledui/icons/dist/Activity.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ActivityHeart.js +0 -1
- package/node_modules/@untitledui/icons/dist/ActivityHeart.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Airplay.js +0 -1
- package/node_modules/@untitledui/icons/dist/Airplay.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Airpods.js +0 -1
- package/node_modules/@untitledui/icons/dist/Airpods.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlarmClock.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlarmClock.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlarmClockCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlarmClockCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlarmClockMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlarmClockMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlarmClockOff.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlarmClockOff.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlarmClockPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlarmClockPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlertCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlertCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlertHexagon.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlertHexagon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlertOctagon.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlertOctagon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlertSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlertSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlertTriangle.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlertTriangle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlignBottom02.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlignBottom02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlignHorizontalCentre02.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlignHorizontalCentre02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlignLeft02.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlignLeft02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlignRight02.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlignRight02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlignTopArrow02.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlignTopArrow02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AlignVerticalCenter02.js +0 -1
- package/node_modules/@untitledui/icons/dist/AlignVerticalCenter02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Annotation.js +0 -1
- package/node_modules/@untitledui/icons/dist/Annotation.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationAlert.js +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationAlert.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationDots.js +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationDots.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationHeart.js +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationHeart.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationInfo.js +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationInfo.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationX.js +0 -1
- package/node_modules/@untitledui/icons/dist/AnnotationX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Announcement01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Announcement01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Announcement02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Announcement02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Announcement03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Announcement03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Archive.js +0 -1
- package/node_modules/@untitledui/icons/dist/Archive.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowBlockDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowBlockDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowBlockLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowBlockLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowBlockRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowBlockRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowBlockUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowBlockUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenDownLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenDownLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenDownRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenDownRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenUpLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenUpLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenUpRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleBrokenUpRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleDownLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleDownLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleDownRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleDownRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleUpLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleUpLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleUpRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowCircleUpRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowDownLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowDownLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowDownRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowDownRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowDownLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowDownLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowDownRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowDownRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowUpLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowUpLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowUpRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNarrowUpRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNext.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowNext.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowPrevious.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowPrevious.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareDownLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareDownLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareDownRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareDownRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareUpLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareUpLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareUpRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowSquareUpRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowUpLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowUpLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowUpRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowUpRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowsDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowsDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowsLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowsLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowsRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowsRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowsTriangle.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowsTriangle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowsUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ArrowsUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Asterisk01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Asterisk01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Asterisk02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Asterisk02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Atom01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Atom01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Atom02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Atom02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Attachment01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Attachment01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Attachment02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Attachment02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Award01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Award01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Award02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Award02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Award03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Award03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Award04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Award04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Award05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Award05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Backpack.js +0 -1
- package/node_modules/@untitledui/icons/dist/Backpack.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Bank.js +0 -1
- package/node_modules/@untitledui/icons/dist/Bank.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BankNote01.js +0 -1
- package/node_modules/@untitledui/icons/dist/BankNote01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BankNote02.js +0 -1
- package/node_modules/@untitledui/icons/dist/BankNote02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BankNote03.js +0 -1
- package/node_modules/@untitledui/icons/dist/BankNote03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart01.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart02.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart04.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart05.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart06.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart06.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart07.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart07.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart08.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart08.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart09.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart09.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart10.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart10.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart11.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart11.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart12.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChart12.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartCircle01.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartCircle01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartCircle02.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartCircle02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartCircle03.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartCircle03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquare01.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquare01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquare02.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquare02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquare03.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquare03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquareDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquareDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquareMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquareMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquarePlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquarePlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquareUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarChartSquareUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BarLineChart.js +0 -1
- package/node_modules/@untitledui/icons/dist/BarLineChart.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryCharging01.js +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryCharging01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryCharging02.js +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryCharging02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryEmpty.js +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryEmpty.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryFull.js +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryFull.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryLow.js +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryLow.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryMid.js +0 -1
- package/node_modules/@untitledui/icons/dist/BatteryMid.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Beaker01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Beaker01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Beaker02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Beaker02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Bell01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Bell01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Bell02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Bell02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Bell03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Bell03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Bell04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Bell04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BellMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/BellMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BellOff01.js +0 -1
- package/node_modules/@untitledui/icons/dist/BellOff01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BellOff02.js +0 -1
- package/node_modules/@untitledui/icons/dist/BellOff02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BellOff03.js +0 -1
- package/node_modules/@untitledui/icons/dist/BellOff03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BellPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/BellPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BellRinging01.js +0 -1
- package/node_modules/@untitledui/icons/dist/BellRinging01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BellRinging02.js +0 -1
- package/node_modules/@untitledui/icons/dist/BellRinging02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BellRinging03.js +0 -1
- package/node_modules/@untitledui/icons/dist/BellRinging03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BezierCurve01.js +0 -1
- package/node_modules/@untitledui/icons/dist/BezierCurve01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BezierCurve02.js +0 -1
- package/node_modules/@untitledui/icons/dist/BezierCurve02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BezierCurve03.js +0 -1
- package/node_modules/@untitledui/icons/dist/BezierCurve03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BluetoothConnect.js +0 -1
- package/node_modules/@untitledui/icons/dist/BluetoothConnect.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BluetoothOff.js +0 -1
- package/node_modules/@untitledui/icons/dist/BluetoothOff.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BluetoothOn.js +0 -1
- package/node_modules/@untitledui/icons/dist/BluetoothOn.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BluetoothSignal.js +0 -1
- package/node_modules/@untitledui/icons/dist/BluetoothSignal.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Bold01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Bold01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Bold02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Bold02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BoldSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/BoldSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BookClosed.js +0 -1
- package/node_modules/@untitledui/icons/dist/BookClosed.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BookOpen01.js +0 -1
- package/node_modules/@untitledui/icons/dist/BookOpen01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BookOpen02.js +0 -1
- package/node_modules/@untitledui/icons/dist/BookOpen02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Bookmark.js +0 -1
- package/node_modules/@untitledui/icons/dist/Bookmark.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BookmarkAdd.js +0 -1
- package/node_modules/@untitledui/icons/dist/BookmarkAdd.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BookmarkCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/BookmarkCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BookmarkMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/BookmarkMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BookmarkX.js +0 -1
- package/node_modules/@untitledui/icons/dist/BookmarkX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Box.js +0 -1
- package/node_modules/@untitledui/icons/dist/Box.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Brackets.js +0 -1
- package/node_modules/@untitledui/icons/dist/Brackets.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsEllipses.js +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsEllipses.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsSlash.js +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsSlash.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsX.js +0 -1
- package/node_modules/@untitledui/icons/dist/BracketsX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Briefcase01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Briefcase01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Briefcase02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Briefcase02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Browser.js +0 -1
- package/node_modules/@untitledui/icons/dist/Browser.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Brush02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Brush02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Brush03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Brush03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Building01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Building01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Building02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Building02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Building03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Building03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Building04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Building04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Building05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Building05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Building06.js +0 -1
- package/node_modules/@untitledui/icons/dist/Building06.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Building07.js +0 -1
- package/node_modules/@untitledui/icons/dist/Building07.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Building08.js +0 -1
- package/node_modules/@untitledui/icons/dist/Building08.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Bus.js +0 -1
- package/node_modules/@untitledui/icons/dist/Bus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Calculator.js +0 -1
- package/node_modules/@untitledui/icons/dist/Calculator.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarCheck01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarCheck01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarCheck02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarCheck02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarDate.js +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarDate.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarHeart01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarHeart01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarHeart02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarHeart02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarMinus01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarMinus01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarMinus02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarMinus02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarPlus01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarPlus01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarPlus02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CalendarPlus02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Camera01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Camera01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Camera02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Camera02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Camera03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Camera03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CameraLens.js +0 -1
- package/node_modules/@untitledui/icons/dist/CameraLens.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CameraOff.js +0 -1
- package/node_modules/@untitledui/icons/dist/CameraOff.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CameraPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/CameraPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Car01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Car01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Car02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Car02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Certificate01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Certificate01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Certificate02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Certificate02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChartBreakoutCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChartBreakoutCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChartBreakoutSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChartBreakoutSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Check.js +0 -1
- package/node_modules/@untitledui/icons/dist/Check.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CheckCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/CheckCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CheckCircleBroken.js +0 -1
- package/node_modules/@untitledui/icons/dist/CheckCircleBroken.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CheckDone01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CheckDone01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CheckDone02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CheckDone02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CheckHeart.js +0 -1
- package/node_modules/@untitledui/icons/dist/CheckHeart.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CheckSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/CheckSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CheckSquareBroken.js +0 -1
- package/node_modules/@untitledui/icons/dist/CheckSquareBroken.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CheckVerified01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CheckVerified01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CheckVerified02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CheckVerified02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronDownDouble.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronDownDouble.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronLeftDouble.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronLeftDouble.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronNext.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronNext.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronNextDouble.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronNextDouble.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronPrevious.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronPrevious.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronPreviousDouble.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronPreviousDouble.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronRightDouble.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronRightDouble.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronSelectorHorizontal.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronSelectorHorizontal.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronSelectorVertical.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronSelectorVertical.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronUpDouble.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChevronUpDouble.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ChromeCast.js +0 -1
- package/node_modules/@untitledui/icons/dist/ChromeCast.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Circle.js +0 -1
- package/node_modules/@untitledui/icons/dist/Circle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CircleCut.js +0 -1
- package/node_modules/@untitledui/icons/dist/CircleCut.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Clapperboard.js +0 -1
- package/node_modules/@untitledui/icons/dist/Clapperboard.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Clipboard.js +0 -1
- package/node_modules/@untitledui/icons/dist/Clipboard.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardAttachment.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardAttachment.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardDownload.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardDownload.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardX.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClipboardX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Clock.js +0 -1
- package/node_modules/@untitledui/icons/dist/Clock.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClockCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClockCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClockFastForward.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClockFastForward.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClockPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClockPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClockRefresh.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClockRefresh.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ClockSnooze.js +0 -1
- package/node_modules/@untitledui/icons/dist/ClockSnooze.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cloud01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cloud01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cloud02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cloud02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cloud03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cloud03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudBlank01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudBlank01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudBlank02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudBlank02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudLightning.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudLightning.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudMoon.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudMoon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudOff.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudOff.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining03.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining04.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining05.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining06.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudRaining06.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudSnowing01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudSnowing01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudSnowing02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudSnowing02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudSun01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudSun01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudSun02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudSun02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CloudSun03.js +0 -1
- package/node_modules/@untitledui/icons/dist/CloudSun03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Code01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Code01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CodeCircle01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CodeCircle01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CodeCircle02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CodeCircle02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CodeCircle03.js +0 -1
- package/node_modules/@untitledui/icons/dist/CodeCircle03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CodeSnippet01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CodeSnippet01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CodeSnippet02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CodeSnippet02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CodeSquare01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CodeSquare01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CodeSquare02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CodeSquare02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Codepen.js +0 -1
- package/node_modules/@untitledui/icons/dist/Codepen.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Coins01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Coins01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Coins02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Coins02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Coins03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Coins03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Coins04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Coins04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsHand.js +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsHand.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsStacked01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsStacked01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsStacked02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsStacked02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsStacked03.js +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsStacked03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsStacked04.js +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsStacked04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsSwap01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsSwap01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsSwap02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CoinsSwap02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Colors.js +0 -1
- package/node_modules/@untitledui/icons/dist/Colors.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Colors1.js +0 -1
- package/node_modules/@untitledui/icons/dist/Colors1.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Columns02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Columns02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Command.js +0 -1
- package/node_modules/@untitledui/icons/dist/Command.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Compass.js +0 -1
- package/node_modules/@untitledui/icons/dist/Compass.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Compass01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Compass01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Compass02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Compass02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Compass03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Compass03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Container.js +0 -1
- package/node_modules/@untitledui/icons/dist/Container.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Contrast01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Contrast01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Contrast02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Contrast02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Contrast03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Contrast03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Copy02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Copy02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Copy03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Copy03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Copy04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Copy04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Copy05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Copy05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Copy07.js +0 -1
- package/node_modules/@untitledui/icons/dist/Copy07.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CornerDownLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/CornerDownLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CornerDownRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/CornerDownRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CornerLeftDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/CornerLeftDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CornerRightDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/CornerRightDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CornerRightUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/CornerRightUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CornerUpLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/CornerUpLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CornerUpRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/CornerUpRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CpuChip01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CpuChip01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CpuChip02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CpuChip02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCard01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCard01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardDownload.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardDownload.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardEdit.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardEdit.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardLock.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardLock.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardRefresh.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardRefresh.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardSearch.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardSearch.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardShield.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardShield.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardUpload.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardUpload.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardX.js +0 -1
- package/node_modules/@untitledui/icons/dist/CreditCardX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Crop01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Crop01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Crop02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Crop02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cryptocurrency01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cryptocurrency01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cryptocurrency02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cryptocurrency02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cryptocurrency03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cryptocurrency03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cryptocurrency04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cryptocurrency04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cube02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cube02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cube03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cube03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cube04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cube04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CubeOutline.js +0 -1
- package/node_modules/@untitledui/icons/dist/CubeOutline.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyBitcoin.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyBitcoin.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyBitcoinCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyBitcoinCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyDollar.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyDollar.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyDollarCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyDollarCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyEthereum.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyEthereum.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyEthereumCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyEthereumCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyEuro.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyEuro.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyEuroCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyEuroCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyPound.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyPound.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyPoundCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyPoundCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyRuble.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyRuble.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyRubleCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyRubleCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyRupee.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyRupee.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyRupeeCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyRupeeCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyYen.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyYen.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyYenCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/CurrencyYenCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cursor01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cursor01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cursor02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cursor02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cursor03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cursor03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Cursor04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Cursor04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CursorClick01.js +0 -1
- package/node_modules/@untitledui/icons/dist/CursorClick01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/CursorClick02.js +0 -1
- package/node_modules/@untitledui/icons/dist/CursorClick02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Data.js +0 -1
- package/node_modules/@untitledui/icons/dist/Data.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Database01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Database01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Database02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Database02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Database03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Database03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dataflow01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dataflow01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dataflow02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dataflow02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dataflow03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dataflow03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dataflow04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dataflow04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Delete.js +0 -1
- package/node_modules/@untitledui/icons/dist/Delete.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Diamond01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Diamond01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Diamond02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Diamond02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dice1.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dice1.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dice2.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dice2.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dice3.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dice3.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dice4.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dice4.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dice5.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dice5.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dice6.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dice6.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Disc01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Disc01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Disc02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Disc02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/DistributeSpacingHorizontal.js +0 -1
- package/node_modules/@untitledui/icons/dist/DistributeSpacingHorizontal.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Divide01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Divide01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Divide02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Divide02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Divide03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Divide03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dotpoints01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dotpoints01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dotpoints02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dotpoints02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/DotsGrid.js +0 -1
- package/node_modules/@untitledui/icons/dist/DotsGrid.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Download01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Download01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Download02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Download02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Download03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Download03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Download04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Download04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/DownloadCloud02.js +0 -1
- package/node_modules/@untitledui/icons/dist/DownloadCloud02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Drop.js +0 -1
- package/node_modules/@untitledui/icons/dist/Drop.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Droplets01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Droplets01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Droplets02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Droplets02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Droplets03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Droplets03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Dropper.js +0 -1
- package/node_modules/@untitledui/icons/dist/Dropper.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Edit01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Edit01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Edit02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Edit02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Edit04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Edit04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Edit05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Edit05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Equal.js +0 -1
- package/node_modules/@untitledui/icons/dist/Equal.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/EqualNot.js +0 -1
- package/node_modules/@untitledui/icons/dist/EqualNot.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Eraser.js +0 -1
- package/node_modules/@untitledui/icons/dist/Eraser.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Expand01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Expand01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Expand02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Expand02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Expand03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Expand03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Expand04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Expand04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Expand05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Expand05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Expand06.js +0 -1
- package/node_modules/@untitledui/icons/dist/Expand06.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/EyeOff.js +0 -1
- package/node_modules/@untitledui/icons/dist/EyeOff.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FaceContent.js +0 -1
- package/node_modules/@untitledui/icons/dist/FaceContent.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FaceFrown.js +0 -1
- package/node_modules/@untitledui/icons/dist/FaceFrown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FaceHappy.js +0 -1
- package/node_modules/@untitledui/icons/dist/FaceHappy.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FaceId.js +0 -1
- package/node_modules/@untitledui/icons/dist/FaceId.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FaceIdSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/FaceIdSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FaceNeutral.js +0 -1
- package/node_modules/@untitledui/icons/dist/FaceNeutral.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FaceSad.js +0 -1
- package/node_modules/@untitledui/icons/dist/FaceSad.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FaceSmile.js +0 -1
- package/node_modules/@untitledui/icons/dist/FaceSmile.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FaceWink.js +0 -1
- package/node_modules/@untitledui/icons/dist/FaceWink.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FastBackward.js +0 -1
- package/node_modules/@untitledui/icons/dist/FastBackward.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FastForward.js +0 -1
- package/node_modules/@untitledui/icons/dist/FastForward.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Feather.js +0 -1
- package/node_modules/@untitledui/icons/dist/Feather.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Figma.js +0 -1
- package/node_modules/@untitledui/icons/dist/Figma.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/File01.js +0 -1
- package/node_modules/@untitledui/icons/dist/File01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/File02.js +0 -1
- package/node_modules/@untitledui/icons/dist/File02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/File03.js +0 -1
- package/node_modules/@untitledui/icons/dist/File03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/File04.js +0 -1
- package/node_modules/@untitledui/icons/dist/File04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/File05.js +0 -1
- package/node_modules/@untitledui/icons/dist/File05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/File06.js +0 -1
- package/node_modules/@untitledui/icons/dist/File06.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/File07.js +0 -1
- package/node_modules/@untitledui/icons/dist/File07.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileAttachment01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileAttachment01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileAttachment02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileAttachment02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileAttachment03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileAttachment03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileAttachment04.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileAttachment04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileAttachment05.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileAttachment05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileCheck01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileCheck01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileCheck02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileCheck02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileCheck03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileCheck03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileCode01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileCode01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileCode02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileCode02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileDownload01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileDownload01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileDownload02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileDownload02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileDownload03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileDownload03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileHeart01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileHeart01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileHeart03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileHeart03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileLock01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileLock01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileLock02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileLock02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileLock03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileLock03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileMinus01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileMinus01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileMinus02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileMinus02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileMinus03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileMinus03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FilePlus01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FilePlus01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FilePlus02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FilePlus02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FilePlus03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FilePlus03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileQuestion01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileQuestion01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileQuestion03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileQuestion03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileSearch01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileSearch01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileSearch02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileSearch02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileSearch03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileSearch03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileShield01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileShield01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileShield02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileShield02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileShield03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileShield03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileX01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileX01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileX02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileX02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FileX03.js +0 -1
- package/node_modules/@untitledui/icons/dist/FileX03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Film02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Film02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Film03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Film03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FilterFunnel01.js +0 -1
- package/node_modules/@untitledui/icons/dist/FilterFunnel01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FilterFunnel02.js +0 -1
- package/node_modules/@untitledui/icons/dist/FilterFunnel02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FilterLines.js +0 -1
- package/node_modules/@untitledui/icons/dist/FilterLines.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Fingerprint01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Fingerprint01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Fingerprint02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Fingerprint02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Fingerprint03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Fingerprint03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Fingerprint04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Fingerprint04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Flag01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Flag01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Flag02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Flag02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Flag03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Flag03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Flag04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Flag04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Flag05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Flag05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Flag06.js +0 -1
- package/node_modules/@untitledui/icons/dist/Flag06.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FlashOff.js +0 -1
- package/node_modules/@untitledui/icons/dist/FlashOff.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FlexAlignBottom.js +0 -1
- package/node_modules/@untitledui/icons/dist/FlexAlignBottom.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FlexAlignRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/FlexAlignRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FlexAlignTop.js +0 -1
- package/node_modules/@untitledui/icons/dist/FlexAlignTop.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FlipForward.js +0 -1
- package/node_modules/@untitledui/icons/dist/FlipForward.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FolderCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/FolderCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FolderClosed.js +0 -1
- package/node_modules/@untitledui/icons/dist/FolderClosed.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FolderCode.js +0 -1
- package/node_modules/@untitledui/icons/dist/FolderCode.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FolderDownload.js +0 -1
- package/node_modules/@untitledui/icons/dist/FolderDownload.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FolderLock.js +0 -1
- package/node_modules/@untitledui/icons/dist/FolderLock.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FolderMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/FolderMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FolderQuestion.js +0 -1
- package/node_modules/@untitledui/icons/dist/FolderQuestion.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FolderSearch.js +0 -1
- package/node_modules/@untitledui/icons/dist/FolderSearch.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FolderShield.js +0 -1
- package/node_modules/@untitledui/icons/dist/FolderShield.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/FolderX.js +0 -1
- package/node_modules/@untitledui/icons/dist/FolderX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Framer.js +0 -1
- package/node_modules/@untitledui/icons/dist/Framer.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GamingPad01.js +0 -1
- package/node_modules/@untitledui/icons/dist/GamingPad01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GamingPad02.js +0 -1
- package/node_modules/@untitledui/icons/dist/GamingPad02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Gift01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Gift01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Gift02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Gift02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GitBranch01.js +0 -1
- package/node_modules/@untitledui/icons/dist/GitBranch01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GitBranch02.js +0 -1
- package/node_modules/@untitledui/icons/dist/GitBranch02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GitCommit.js +0 -1
- package/node_modules/@untitledui/icons/dist/GitCommit.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GitMerge.js +0 -1
- package/node_modules/@untitledui/icons/dist/GitMerge.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GitPullRequest.js +0 -1
- package/node_modules/@untitledui/icons/dist/GitPullRequest.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Glasses01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Glasses01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Glasses02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Glasses02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Globe01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Globe01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Globe03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Globe03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Globe04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Globe04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Globe05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Globe05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Globe06.js +0 -1
- package/node_modules/@untitledui/icons/dist/Globe06.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GlobeSlated01.js +0 -1
- package/node_modules/@untitledui/icons/dist/GlobeSlated01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GlobeSlated02.js +0 -1
- package/node_modules/@untitledui/icons/dist/GlobeSlated02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GraduationHat01.js +0 -1
- package/node_modules/@untitledui/icons/dist/GraduationHat01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GraduationHat02.js +0 -1
- package/node_modules/@untitledui/icons/dist/GraduationHat02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Grid02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Grid02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Grid03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Grid03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsBlank.js +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsBlank.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsBottom.js +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsBottom.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsHorizontalCenter.js +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsHorizontalCenter.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsOuter.js +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsOuter.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsTop.js +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsTop.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsVerticalCenter.js +0 -1
- package/node_modules/@untitledui/icons/dist/GridDotsVerticalCenter.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hand.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hand.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HardDrive.js +0 -1
- package/node_modules/@untitledui/icons/dist/HardDrive.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hash01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hash01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hash02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hash02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Heading02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Heading02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HeadingSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/HeadingSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Headphones01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Headphones01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Headphones02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Headphones02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Heart.js +0 -1
- package/node_modules/@untitledui/icons/dist/Heart.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HeartCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/HeartCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HeartHand.js +0 -1
- package/node_modules/@untitledui/icons/dist/HeartHand.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HeartHexagon.js +0 -1
- package/node_modules/@untitledui/icons/dist/HeartHexagon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HeartOctagon.js +0 -1
- package/node_modules/@untitledui/icons/dist/HeartOctagon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HeartRounded.js +0 -1
- package/node_modules/@untitledui/icons/dist/HeartRounded.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HeartSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/HeartSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hearts.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hearts.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HelpCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/HelpCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HelpOctagon.js +0 -1
- package/node_modules/@untitledui/icons/dist/HelpOctagon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HelpOctagon1.js +0 -1
- package/node_modules/@untitledui/icons/dist/HelpOctagon1.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HelpSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/HelpSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hexagon01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hexagon01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hexagon02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hexagon02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Home01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Home01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Home02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Home02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Home03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Home03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Home04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Home04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Home05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Home05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HomeLine.js +0 -1
- package/node_modules/@untitledui/icons/dist/HomeLine.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HomeSmile.js +0 -1
- package/node_modules/@untitledui/icons/dist/HomeSmile.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HorizontalBarChart01.js +0 -1
- package/node_modules/@untitledui/icons/dist/HorizontalBarChart01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HorizontalBarChart02.js +0 -1
- package/node_modules/@untitledui/icons/dist/HorizontalBarChart02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/HorizontalBarChart03.js +0 -1
- package/node_modules/@untitledui/icons/dist/HorizontalBarChart03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hourglass01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hourglass01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hourglass02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hourglass02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hourglass03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hourglass03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hurricane01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hurricane01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hurricane02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hurricane02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Hurricane03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Hurricane03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Image01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Image01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Image02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Image02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Image04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Image04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Image05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Image05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageIndentLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageIndentLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageIndentRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageIndentRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserX.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageUserX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ImageX.js +0 -1
- package/node_modules/@untitledui/icons/dist/ImageX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Inbox01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Inbox01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Inbox02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Inbox02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Infinity.js +0 -1
- package/node_modules/@untitledui/icons/dist/Infinity.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/InfoHexagon.js +0 -1
- package/node_modules/@untitledui/icons/dist/InfoHexagon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/InfoOctagon.js +0 -1
- package/node_modules/@untitledui/icons/dist/InfoOctagon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/IntersectCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/IntersectCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Italic01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Italic01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Italic02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Italic02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ItalicSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/ItalicSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Key01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Key01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Key02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Key02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Keyboard01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Keyboard01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Keyboard02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Keyboard02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Laptop01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Laptop01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Laptop02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Laptop02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayerSingle.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayerSingle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayersThree02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayersThree02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayersTwo01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayersTwo01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayersTwo02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayersTwo02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutAlt01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutAlt01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutAlt02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutAlt02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutAlt03.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutAlt03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutBottom.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutBottom.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutGrid01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutGrid01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutGrid02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutGrid02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutTop.js +0 -1
- package/node_modules/@untitledui/icons/dist/LayoutTop.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LeftIndent01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LeftIndent01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LeftIndent02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LeftIndent02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LetterSpacing01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LetterSpacing01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LetterSpacing02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LetterSpacing02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LifeBuoy01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LifeBuoy01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Lightbulb01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Lightbulb01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Lightbulb02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Lightbulb02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Lightbulb03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Lightbulb03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Lightbulb04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Lightbulb04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Lightbulb05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Lightbulb05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Lightning01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Lightning01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Lightning02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Lightning02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartDown01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartDown01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartDown02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartDown02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartDown03.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartDown03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartDown04.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartDown04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartDown05.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartDown05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartUp01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartUp01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartUp02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartUp02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartUp03.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartUp03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartUp04.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartUp04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartUp05.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineChartUp05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LineHeight.js +0 -1
- package/node_modules/@untitledui/icons/dist/LineHeight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Link01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Link01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Link02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Link02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Link04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Link04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Link05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Link05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LinkBroken01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LinkBroken01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LinkBroken02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LinkBroken02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LinkExternal01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LinkExternal01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LinkExternal02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LinkExternal02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Loading01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Loading01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Loading02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Loading02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Loading03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Loading03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Lock02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Lock02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Lock03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Lock03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Lock04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Lock04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LockKeyholeCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/LockKeyholeCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LockKeyholeSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/LockKeyholeSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LockUnlocked02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LockUnlocked02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LockUnlocked03.js +0 -1
- package/node_modules/@untitledui/icons/dist/LockUnlocked03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LockUnlocked04.js +0 -1
- package/node_modules/@untitledui/icons/dist/LockUnlocked04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LogIn01.js +0 -1
- package/node_modules/@untitledui/icons/dist/LogIn01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LogIn02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LogIn02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LogIn03.js +0 -1
- package/node_modules/@untitledui/icons/dist/LogIn03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LogIn04.js +0 -1
- package/node_modules/@untitledui/icons/dist/LogIn04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LogOut02.js +0 -1
- package/node_modules/@untitledui/icons/dist/LogOut02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LogOut03.js +0 -1
- package/node_modules/@untitledui/icons/dist/LogOut03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/LogOut04.js +0 -1
- package/node_modules/@untitledui/icons/dist/LogOut04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Luggage01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Luggage01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Luggage02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Luggage02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Luggage03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Luggage03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MagicWand01.js +0 -1
- package/node_modules/@untitledui/icons/dist/MagicWand01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Mail01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Mail01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Mail03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Mail03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Mail04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Mail04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Mail05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Mail05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Map01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Map01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Map02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Map02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Mark.js +0 -1
- package/node_modules/@untitledui/icons/dist/Mark.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin01.js +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin02.js +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin03.js +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin04.js +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin05.js +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin06.js +0 -1
- package/node_modules/@untitledui/icons/dist/MarkerPin06.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Maximize01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Maximize01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Maximize02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Maximize02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MedicalCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MedicalCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MedicalCross.js +0 -1
- package/node_modules/@untitledui/icons/dist/MedicalCross.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MedicalSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MedicalSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Menu01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Menu01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Menu02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Menu02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Menu03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Menu03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Menu04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Menu04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Menu05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Menu05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageAlertCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageAlertCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageAlertSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageAlertSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageChatCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageChatCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageCheckCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageCheckCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageCheckSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageCheckSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageCircle01.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageCircle01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageCircle02.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageCircle02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageDotsSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageDotsSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageHeartCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageHeartCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageHeartSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageHeartSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageNotificationCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageNotificationCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageNotificationSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageNotificationSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessagePlusCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessagePlusCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessagePlusSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessagePlusSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageQuestionCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageQuestionCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageQuestionSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageQuestionSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageSmileCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageSmileCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageSmileSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageSmileSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageSquare01.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageSquare01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageSquare02.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageSquare02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageTextCircle01.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageTextCircle01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageTextCircle02.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageTextCircle02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageTextSquare01.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageTextSquare01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageTextSquare02.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageTextSquare02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageXCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageXCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MessageXSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MessageXSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Microphone01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Microphone01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Microphone02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Microphone02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MicrophoneOff01.js +0 -1
- package/node_modules/@untitledui/icons/dist/MicrophoneOff01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MicrophoneOff02.js +0 -1
- package/node_modules/@untitledui/icons/dist/MicrophoneOff02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Microscope.js +0 -1
- package/node_modules/@untitledui/icons/dist/Microscope.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Minimize01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Minimize01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Minimize02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Minimize02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Minus.js +0 -1
- package/node_modules/@untitledui/icons/dist/Minus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MinusCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/MinusCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MinusSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/MinusSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Modem01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Modem01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Modem02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Modem02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Monitor02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Monitor02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Monitor03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Monitor03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Monitor04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Monitor04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Monitor05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Monitor05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Moon02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Moon02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MoonEclipse.js +0 -1
- package/node_modules/@untitledui/icons/dist/MoonEclipse.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MoonStar.js +0 -1
- package/node_modules/@untitledui/icons/dist/MoonStar.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Mouse.js +0 -1
- package/node_modules/@untitledui/icons/dist/Mouse.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Move.js +0 -1
- package/node_modules/@untitledui/icons/dist/Move.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MusicNote01.js +0 -1
- package/node_modules/@untitledui/icons/dist/MusicNote01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MusicNote02.js +0 -1
- package/node_modules/@untitledui/icons/dist/MusicNote02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/MusicNotePlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/MusicNotePlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/NavigationPointer01.js +0 -1
- package/node_modules/@untitledui/icons/dist/NavigationPointer01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/NavigationPointer02.js +0 -1
- package/node_modules/@untitledui/icons/dist/NavigationPointer02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/NavigationPointerOff01.js +0 -1
- package/node_modules/@untitledui/icons/dist/NavigationPointerOff01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/NavigationPointerOff02.js +0 -1
- package/node_modules/@untitledui/icons/dist/NavigationPointerOff02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/NotificationBox.js +0 -1
- package/node_modules/@untitledui/icons/dist/NotificationBox.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/NotificationMessage.js +0 -1
- package/node_modules/@untitledui/icons/dist/NotificationMessage.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/NotificationText.js +0 -1
- package/node_modules/@untitledui/icons/dist/NotificationText.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Octagon.js +0 -1
- package/node_modules/@untitledui/icons/dist/Octagon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PackageCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/PackageCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PackageMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/PackageMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PackagePlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/PackagePlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PackageSearch.js +0 -1
- package/node_modules/@untitledui/icons/dist/PackageSearch.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PackageX.js +0 -1
- package/node_modules/@untitledui/icons/dist/PackageX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Paint.js +0 -1
- package/node_modules/@untitledui/icons/dist/Paint.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PaintPour.js +0 -1
- package/node_modules/@untitledui/icons/dist/PaintPour.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Paperclip.js +0 -1
- package/node_modules/@untitledui/icons/dist/Paperclip.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ParagraphSpacing.js +0 -1
- package/node_modules/@untitledui/icons/dist/ParagraphSpacing.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ParagraphWrap.js +0 -1
- package/node_modules/@untitledui/icons/dist/ParagraphWrap.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Passcode.js +0 -1
- package/node_modules/@untitledui/icons/dist/Passcode.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PasscodeLock.js +0 -1
- package/node_modules/@untitledui/icons/dist/PasscodeLock.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Passport.js +0 -1
- package/node_modules/@untitledui/icons/dist/Passport.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PauseCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/PauseCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PauseSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/PauseSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PenTool01.js +0 -1
- package/node_modules/@untitledui/icons/dist/PenTool01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PenTool02.js +0 -1
- package/node_modules/@untitledui/icons/dist/PenTool02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PenToolMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/PenToolMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PenToolPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/PenToolPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Pencil01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Pencil01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Pencil02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Pencil02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PencilLine.js +0 -1
- package/node_modules/@untitledui/icons/dist/PencilLine.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Pentagon.js +0 -1
- package/node_modules/@untitledui/icons/dist/Pentagon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Percent01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Percent01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Percent03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Percent03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Perspective01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Perspective01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Perspective02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Perspective02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Phone01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Phone01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Phone02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Phone02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneCall01.js +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneCall01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneCall02.js +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneCall02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneHangUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneHangUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneIncoming01.js +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneIncoming01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneIncoming02.js +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneIncoming02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneOutgoing01.js +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneOutgoing01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneOutgoing02.js +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneOutgoing02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PhonePause.js +0 -1
- package/node_modules/@untitledui/icons/dist/PhonePause.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PhonePlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/PhonePlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneX.js +0 -1
- package/node_modules/@untitledui/icons/dist/PhoneX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PieChart01.js +0 -1
- package/node_modules/@untitledui/icons/dist/PieChart01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PieChart02.js +0 -1
- package/node_modules/@untitledui/icons/dist/PieChart02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PieChart03.js +0 -1
- package/node_modules/@untitledui/icons/dist/PieChart03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PieChart04.js +0 -1
- package/node_modules/@untitledui/icons/dist/PieChart04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PiggyBank01.js +0 -1
- package/node_modules/@untitledui/icons/dist/PiggyBank01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PiggyBank02.js +0 -1
- package/node_modules/@untitledui/icons/dist/PiggyBank02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Pilcrow01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Pilcrow01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Pilcrow02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Pilcrow02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PilcrowSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/PilcrowSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Pin01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Pin01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Pin02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Pin02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Placeholder.js +0 -1
- package/node_modules/@untitledui/icons/dist/Placeholder.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Plane.js +0 -1
- package/node_modules/@untitledui/icons/dist/Plane.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Play.js +0 -1
- package/node_modules/@untitledui/icons/dist/Play.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PlayCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/PlayCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PlaySquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/PlaySquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PlusSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/PlusSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Podcast.js +0 -1
- package/node_modules/@untitledui/icons/dist/Podcast.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Power01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Power01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Power02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Power02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Power03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Power03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PresentationChart01.js +0 -1
- package/node_modules/@untitledui/icons/dist/PresentationChart01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PresentationChart02.js +0 -1
- package/node_modules/@untitledui/icons/dist/PresentationChart02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PresentationChart03.js +0 -1
- package/node_modules/@untitledui/icons/dist/PresentationChart03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Printer.js +0 -1
- package/node_modules/@untitledui/icons/dist/Printer.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/PuzzlePiece02.js +0 -1
- package/node_modules/@untitledui/icons/dist/PuzzlePiece02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/QrCode01.js +0 -1
- package/node_modules/@untitledui/icons/dist/QrCode01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/QrCode02.js +0 -1
- package/node_modules/@untitledui/icons/dist/QrCode02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Receipt.js +0 -1
- package/node_modules/@untitledui/icons/dist/Receipt.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ReceiptCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/ReceiptCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Recording01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Recording01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Recording02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Recording02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Recording03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Recording03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Reflect01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Reflect01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Reflect02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Reflect02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCcw02.js +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCcw02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCcw03.js +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCcw03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCcw04.js +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCcw04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCw03.js +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCw03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCw04.js +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCw04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCw05.js +0 -1
- package/node_modules/@untitledui/icons/dist/RefreshCw05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Repeat01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Repeat01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Repeat02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Repeat02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Repeat03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Repeat03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Repeat04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Repeat04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ReverseLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/ReverseLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ReverseRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/ReverseRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/RightIndent01.js +0 -1
- package/node_modules/@untitledui/icons/dist/RightIndent01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/RightIndent02.js +0 -1
- package/node_modules/@untitledui/icons/dist/RightIndent02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Rocket01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Rocket01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/RollerBrush.js +0 -1
- package/node_modules/@untitledui/icons/dist/RollerBrush.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Route.js +0 -1
- package/node_modules/@untitledui/icons/dist/Route.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Rows01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Rows01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Rows02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Rows02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Rows03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Rows03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Rss01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Rss01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Rss02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Rss02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Ruler.js +0 -1
- package/node_modules/@untitledui/icons/dist/Ruler.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Safe.js +0 -1
- package/node_modules/@untitledui/icons/dist/Safe.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Sale01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Sale01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Sale02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Sale02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Sale03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Sale03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Save02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Save02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Save03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Save03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Scale01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Scale01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Scale02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Scale02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Scale03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Scale03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Scales01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Scales01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Scales02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Scales02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Scan.js +0 -1
- package/node_modules/@untitledui/icons/dist/Scan.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Scissors01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Scissors01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Scissors02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Scissors02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ScissorsCut01.js +0 -1
- package/node_modules/@untitledui/icons/dist/ScissorsCut01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ScissorsCut02.js +0 -1
- package/node_modules/@untitledui/icons/dist/ScissorsCut02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SearchLg.js +0 -1
- package/node_modules/@untitledui/icons/dist/SearchLg.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SearchMd.js +0 -1
- package/node_modules/@untitledui/icons/dist/SearchMd.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SearchRefraction.js +0 -1
- package/node_modules/@untitledui/icons/dist/SearchRefraction.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Send01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Send01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Server01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Server01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Server02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Server02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Server03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Server03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Server04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Server04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Server06.js +0 -1
- package/node_modules/@untitledui/icons/dist/Server06.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Settings02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Settings02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Settings03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Settings03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Share01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Share01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Share02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Share02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Share03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Share03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Share04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Share04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Share05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Share05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Share06.js +0 -1
- package/node_modules/@untitledui/icons/dist/Share06.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Shield01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Shield01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Shield02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Shield02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Shield03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Shield03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ShieldDollar.js +0 -1
- package/node_modules/@untitledui/icons/dist/ShieldDollar.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ShieldOff.js +0 -1
- package/node_modules/@untitledui/icons/dist/ShieldOff.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ShieldPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/ShieldPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ShieldZap.js +0 -1
- package/node_modules/@untitledui/icons/dist/ShieldZap.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingBag01.js +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingBag01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingBag02.js +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingBag02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingBag03.js +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingBag03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingCart01.js +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingCart01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingCart02.js +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingCart02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingCart03.js +0 -1
- package/node_modules/@untitledui/icons/dist/ShoppingCart03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Shuffle01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Shuffle01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Shuffle02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Shuffle02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Signal01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Signal01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Signal02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Signal02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Signal03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Signal03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Simcard.js +0 -1
- package/node_modules/@untitledui/icons/dist/Simcard.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Skew.js +0 -1
- package/node_modules/@untitledui/icons/dist/Skew.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SkipBack.js +0 -1
- package/node_modules/@untitledui/icons/dist/SkipBack.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SkipForward.js +0 -1
- package/node_modules/@untitledui/icons/dist/SkipForward.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SlashCircle01.js +0 -1
- package/node_modules/@untitledui/icons/dist/SlashCircle01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SlashCircle02.js +0 -1
- package/node_modules/@untitledui/icons/dist/SlashCircle02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SlashDivider.js +0 -1
- package/node_modules/@untitledui/icons/dist/SlashDivider.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SlashOctagon.js +0 -1
- package/node_modules/@untitledui/icons/dist/SlashOctagon.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Sliders01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Sliders01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Sliders02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Sliders02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Sliders03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Sliders03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Sliders04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Sliders04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Snowflake01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Snowflake01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Snowflake02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Snowflake02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SpacingHeight02.js +0 -1
- package/node_modules/@untitledui/icons/dist/SpacingHeight02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SpacingWidth01.js +0 -1
- package/node_modules/@untitledui/icons/dist/SpacingWidth01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SpacingWidth02.js +0 -1
- package/node_modules/@untitledui/icons/dist/SpacingWidth02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Speaker01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Speaker01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Speaker02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Speaker02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Speaker03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Speaker03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Speedometer01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Speedometer01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Speedometer02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Speedometer02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Speedometer04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Speedometer04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Square.js +0 -1
- package/node_modules/@untitledui/icons/dist/Square.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Stand.js +0 -1
- package/node_modules/@untitledui/icons/dist/Stand.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Star01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Star01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Star02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Star02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Star03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Star03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Star04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Star04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Star05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Star05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Star07.js +0 -1
- package/node_modules/@untitledui/icons/dist/Star07.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Stars01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Stars01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Stars02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Stars02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/StickerCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/StickerCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/StickerSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/StickerSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Stop.js +0 -1
- package/node_modules/@untitledui/icons/dist/Stop.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/StopCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/StopCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/StopSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/StopSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Strikethrough01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Strikethrough01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Strikethrough02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Strikethrough02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/StrikethroughSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/StrikethroughSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Subscript.js +0 -1
- package/node_modules/@untitledui/icons/dist/Subscript.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SunSetting01.js +0 -1
- package/node_modules/@untitledui/icons/dist/SunSetting01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SunSetting02.js +0 -1
- package/node_modules/@untitledui/icons/dist/SunSetting02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Sunrise.js +0 -1
- package/node_modules/@untitledui/icons/dist/Sunrise.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Sunset.js +0 -1
- package/node_modules/@untitledui/icons/dist/Sunset.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SwitchHorizontal02.js +0 -1
- package/node_modules/@untitledui/icons/dist/SwitchHorizontal02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SwitchVertical01.js +0 -1
- package/node_modules/@untitledui/icons/dist/SwitchVertical01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/SwitchVertical02.js +0 -1
- package/node_modules/@untitledui/icons/dist/SwitchVertical02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Table.js +0 -1
- package/node_modules/@untitledui/icons/dist/Table.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tablet01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tablet01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tablet02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tablet02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tag01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tag01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tag02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tag02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tag03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tag03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Target01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Target01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Target02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Target02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Target03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Target03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Target04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Target04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Telescope.js +0 -1
- package/node_modules/@untitledui/icons/dist/Telescope.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Terminal.js +0 -1
- package/node_modules/@untitledui/icons/dist/Terminal.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/TerminalBrowser.js +0 -1
- package/node_modules/@untitledui/icons/dist/TerminalBrowser.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/TerminalCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/TerminalCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/TerminalSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/TerminalSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Thermometer01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Thermometer01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Thermometer02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Thermometer02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Thermometer03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Thermometer03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ThermometerCold.js +0 -1
- package/node_modules/@untitledui/icons/dist/ThermometerCold.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ThermometerWarm.js +0 -1
- package/node_modules/@untitledui/icons/dist/ThermometerWarm.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ThumbsDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/ThumbsDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ThumbsUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/ThumbsUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Ticket01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Ticket01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Ticket02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Ticket02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle01Left.js +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle01Left.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle01Right.js +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle01Right.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle02Left.js +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle02Left.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle02Right.js +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle02Right.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle03Left.js +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle03Left.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle03Right.js +0 -1
- package/node_modules/@untitledui/icons/dist/Toggle03Right.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tool01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tool01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tool02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tool02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Train.js +0 -1
- package/node_modules/@untitledui/icons/dist/Train.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tram.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tram.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Transform.js +0 -1
- package/node_modules/@untitledui/icons/dist/Transform.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Translate01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Translate01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Translate02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Translate02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Trash02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Trash02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Trash03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Trash03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Trash04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Trash04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/TrendDown01.js +0 -1
- package/node_modules/@untitledui/icons/dist/TrendDown01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/TrendDown02.js +0 -1
- package/node_modules/@untitledui/icons/dist/TrendDown02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/TrendUp01.js +0 -1
- package/node_modules/@untitledui/icons/dist/TrendUp01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/TrendUp02.js +0 -1
- package/node_modules/@untitledui/icons/dist/TrendUp02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Triangle.js +0 -1
- package/node_modules/@untitledui/icons/dist/Triangle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Trophy01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Trophy01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Trophy02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Trophy02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Truck01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Truck01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Truck02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Truck02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tv01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tv01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tv02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tv02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Tv03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Tv03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Type01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Type01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Type02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Type02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/TypeSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/TypeSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/TypeStrikethrough01.js +0 -1
- package/node_modules/@untitledui/icons/dist/TypeStrikethrough01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/TypeStrikethrough02.js +0 -1
- package/node_modules/@untitledui/icons/dist/TypeStrikethrough02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Umbrella01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Umbrella01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Umbrella02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Umbrella02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Umbrella03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Umbrella03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Underline01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Underline01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Underline02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Underline02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UnderlineSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/UnderlineSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Upload01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Upload01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Upload02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Upload02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Upload03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Upload03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Upload04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Upload04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UploadCloud02.js +0 -1
- package/node_modules/@untitledui/icons/dist/UploadCloud02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UsbFlashDrive.js +0 -1
- package/node_modules/@untitledui/icons/dist/UsbFlashDrive.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/User01.js +0 -1
- package/node_modules/@untitledui/icons/dist/User01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/User02.js +0 -1
- package/node_modules/@untitledui/icons/dist/User02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserCheck01.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserCheck01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserCheck02.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserCheck02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserDown01.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserDown01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserDown02.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserDown02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserEdit.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserEdit.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserLeft01.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserLeft01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserLeft02.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserLeft02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserMinus01.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserMinus01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserMinus02.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserMinus02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserPlus01.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserPlus01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserPlus02.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserPlus02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserRight01.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserRight01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserRight02.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserRight02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserUp01.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserUp01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserUp02.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserUp02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserX01.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserX01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UserX02.js +0 -1
- package/node_modules/@untitledui/icons/dist/UserX02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Users01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Users01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Users03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Users03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UsersCheck.js +0 -1
- package/node_modules/@untitledui/icons/dist/UsersCheck.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UsersDown.js +0 -1
- package/node_modules/@untitledui/icons/dist/UsersDown.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UsersEdit.js +0 -1
- package/node_modules/@untitledui/icons/dist/UsersEdit.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UsersLeft.js +0 -1
- package/node_modules/@untitledui/icons/dist/UsersLeft.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UsersMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/UsersMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UsersPlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/UsersPlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UsersRight.js +0 -1
- package/node_modules/@untitledui/icons/dist/UsersRight.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UsersUp.js +0 -1
- package/node_modules/@untitledui/icons/dist/UsersUp.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/UsersX.js +0 -1
- package/node_modules/@untitledui/icons/dist/UsersX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Variable.js +0 -1
- package/node_modules/@untitledui/icons/dist/Variable.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/VideoRecorder.js +0 -1
- package/node_modules/@untitledui/icons/dist/VideoRecorder.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/VideoRecorderOff.js +0 -1
- package/node_modules/@untitledui/icons/dist/VideoRecorderOff.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Virus.js +0 -1
- package/node_modules/@untitledui/icons/dist/Virus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Voicemail.js +0 -1
- package/node_modules/@untitledui/icons/dist/Voicemail.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/VolumeMax.js +0 -1
- package/node_modules/@untitledui/icons/dist/VolumeMax.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/VolumeMin.js +0 -1
- package/node_modules/@untitledui/icons/dist/VolumeMin.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/VolumeMinus.js +0 -1
- package/node_modules/@untitledui/icons/dist/VolumeMinus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/VolumePlus.js +0 -1
- package/node_modules/@untitledui/icons/dist/VolumePlus.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/VolumeX.js +0 -1
- package/node_modules/@untitledui/icons/dist/VolumeX.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Wallet01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Wallet01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Wallet02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Wallet02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Wallet03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Wallet03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Wallet04.js +0 -1
- package/node_modules/@untitledui/icons/dist/Wallet04.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Wallet05.js +0 -1
- package/node_modules/@untitledui/icons/dist/Wallet05.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/WatchCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/WatchCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/WatchSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/WatchSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Waves.js +0 -1
- package/node_modules/@untitledui/icons/dist/Waves.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Webcam01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Webcam01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Webcam02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Webcam02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Wifi.js +0 -1
- package/node_modules/@untitledui/icons/dist/Wifi.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/WifiOff.js +0 -1
- package/node_modules/@untitledui/icons/dist/WifiOff.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Wind01.js +0 -1
- package/node_modules/@untitledui/icons/dist/Wind01.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Wind02.js +0 -1
- package/node_modules/@untitledui/icons/dist/Wind02.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Wind03.js +0 -1
- package/node_modules/@untitledui/icons/dist/Wind03.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/XCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/XCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/XClose.js +0 -1
- package/node_modules/@untitledui/icons/dist/XClose.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/XSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/XSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Youtube.js +0 -1
- package/node_modules/@untitledui/icons/dist/Youtube.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/Zap.js +0 -1
- package/node_modules/@untitledui/icons/dist/Zap.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ZapCircle.js +0 -1
- package/node_modules/@untitledui/icons/dist/ZapCircle.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ZapFast.js +0 -1
- package/node_modules/@untitledui/icons/dist/ZapFast.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ZapOff.js +0 -1
- package/node_modules/@untitledui/icons/dist/ZapOff.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ZapSquare.js +0 -1
- package/node_modules/@untitledui/icons/dist/ZapSquare.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ZoomIn.js +0 -1
- package/node_modules/@untitledui/icons/dist/ZoomIn.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/ZoomOut.js +0 -1
- package/node_modules/@untitledui/icons/dist/ZoomOut.mjs +0 -1
- package/node_modules/@untitledui/icons/dist/index.js +0 -1
- package/node_modules/@untitledui/icons/dist/index.mjs +0 -1
- package/static/core/34730be9.js +0 -1
- package/static/core/4f790fdc.js +0 -468
- package/static/core/520ec797.js +0 -122
- package/static/core/79431a89.js +0 -2
- package/static/core/b97bd382.js +0 -31
- package/static/esm/cb0e9a7f.js +0 -1
- package/static/media/image-editor/fonts/BebasNeueBold.woff2 +0 -0
- package/static/media/image-editor/fonts/BebasNeueBook.woff2 +0 -0
- package/static/media/image-editor/fonts/BebasNeueLight.woff2 +0 -0
- package/static/media/image-editor/fonts/BebasNeueRegular.woff2 +0 -0
- package/static/media/image-editor/fonts/Lato-Black.woff2 +0 -0
- package/static/media/image-editor/fonts/Lato-Bold.woff2 +0 -0
- package/static/media/image-editor/fonts/Lato-Light.woff2 +0 -0
- package/static/media/image-editor/fonts/Lato-Regular.woff2 +0 -0
- package/static/media/image-editor/fonts/Lobster.woff2 +0 -0
- package/static/media/image-editor/fonts/Montserrat-Black.woff2 +0 -0
- package/static/media/image-editor/fonts/Montserrat-Bold.woff2 +0 -0
- package/static/media/image-editor/fonts/Montserrat-Light.woff2 +0 -0
- package/static/media/image-editor/fonts/Montserrat-Regular.woff2 +0 -0
- package/static/media/image-editor/fonts/Roboto-Black.woff2 +0 -0
- package/static/media/image-editor/fonts/Roboto-Bold.woff2 +0 -0
- package/static/media/image-editor/fonts/Roboto-Light.woff2 +0 -0
- package/static/media/image-editor/fonts/Roboto-Regular.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Black.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Bold.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Light.woff2 +0 -0
- package/static/media/image-editor/fonts/Rubik-Regular.woff2 +0 -0
- package/static/media/image-editor/fonts/caveat-v23-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/commissioner-v24-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/fira-sans-v11-latin-ext_latin_cyrillic-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/inter-v20-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/oswald-v57-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/pacifico-v23-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/fonts/playfair-display-v40-cyrillic_latin-regular.woff2 +0 -0
- package/static/media/image-editor/images/brushes/black/circle.png +0 -0
- package/static/media/image-editor/images/brushes/black/diamond.png +0 -0
- package/static/media/image-editor/images/brushes/black/hline.png +0 -0
- package/static/media/image-editor/images/brushes/black/pencil.png +0 -0
- package/static/media/image-editor/images/brushes/black/spray.png +0 -0
- package/static/media/image-editor/images/brushes/black/square.png +0 -0
- package/static/media/image-editor/images/brushes/black/vline.png +0 -0
- package/static/media/image-editor/images/brushes/white/circle.png +0 -0
- package/static/media/image-editor/images/brushes/white/diamond.png +0 -0
- package/static/media/image-editor/images/brushes/white/hline.png +0 -0
- package/static/media/image-editor/images/brushes/white/pencil.png +0 -0
- package/static/media/image-editor/images/brushes/white/spray.png +0 -0
- package/static/media/image-editor/images/brushes/white/square.png +0 -0
- package/static/media/image-editor/images/brushes/white/vline.png +0 -0
- package/static/media/image-editor/images/empty-canvas-bg.png +0 -0
- package/static/media/image-editor/images/filter/blackWhite.jpg +0 -0
- package/static/media/image-editor/images/filter/blendColor.jpg +0 -0
- package/static/media/image-editor/images/filter/blur.jpg +0 -0
- package/static/media/image-editor/images/filter/brightness.jpg +0 -0
- package/static/media/image-editor/images/filter/brownie.jpg +0 -0
- package/static/media/image-editor/images/filter/emboss.jpg +0 -0
- package/static/media/image-editor/images/filter/gamma.jpg +0 -0
- package/static/media/image-editor/images/filter/grayscale.jpg +0 -0
- package/static/media/image-editor/images/filter/invert.jpg +0 -0
- package/static/media/image-editor/images/filter/kodachrome.jpg +0 -0
- package/static/media/image-editor/images/filter/noise.jpg +0 -0
- package/static/media/image-editor/images/filter/original.jpg +0 -0
- package/static/media/image-editor/images/filter/pixelate.jpg +0 -0
- package/static/media/image-editor/images/filter/polaroid.jpg +0 -0
- package/static/media/image-editor/images/filter/removeColor.jpg +0 -0
- package/static/media/image-editor/images/filter/sepia.jpg +0 -0
- package/static/media/image-editor/images/filter/sharpen.jpg +0 -0
- package/static/media/image-editor/images/filter/technicolor.jpg +0 -0
- package/static/media/image-editor/images/filter/vintage.jpg +0 -0
- package/static/media/image-editor/images/frames/art1/bottom.png +0 -0
- package/static/media/image-editor/images/frames/art1/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/art1/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/art1/left.png +0 -0
- package/static/media/image-editor/images/frames/art1/right.png +0 -0
- package/static/media/image-editor/images/frames/art1/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/art1/top.png +0 -0
- package/static/media/image-editor/images/frames/art1/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/art1/topRight.png +0 -0
- package/static/media/image-editor/images/frames/art2/bottom.png +0 -0
- package/static/media/image-editor/images/frames/art2/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/art2/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/art2/left.png +0 -0
- package/static/media/image-editor/images/frames/art2/right.png +0 -0
- package/static/media/image-editor/images/frames/art2/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/art2/top.png +0 -0
- package/static/media/image-editor/images/frames/art2/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/art2/topRight.png +0 -0
- package/static/media/image-editor/images/frames/basic/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/ebony/bottom.png +0 -0
- package/static/media/image-editor/images/frames/ebony/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/ebony/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/ebony/left.png +0 -0
- package/static/media/image-editor/images/frames/ebony/right.png +0 -0
- package/static/media/image-editor/images/frames/ebony/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/ebony/top.png +0 -0
- package/static/media/image-editor/images/frames/ebony/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/ebony/topRight.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/bottom.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/left.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/right.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/top.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/grunge1/topRight.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/bottom.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/left.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/right.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/top.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/grunge2/topRight.png +0 -0
- package/static/media/image-editor/images/frames/oak/bottom.png +0 -0
- package/static/media/image-editor/images/frames/oak/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/oak/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/oak/left.png +0 -0
- package/static/media/image-editor/images/frames/oak/right.png +0 -0
- package/static/media/image-editor/images/frames/oak/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/oak/top.png +0 -0
- package/static/media/image-editor/images/frames/oak/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/oak/topRight.png +0 -0
- package/static/media/image-editor/images/frames/pine/bottom.png +0 -0
- package/static/media/image-editor/images/frames/pine/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/pine/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/pine/left.png +0 -0
- package/static/media/image-editor/images/frames/pine/right.png +0 -0
- package/static/media/image-editor/images/frames/pine/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/pine/top.png +0 -0
- package/static/media/image-editor/images/frames/pine/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/pine/topRight.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/bottom.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/bottomLeft.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/bottomRight.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/left.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/right.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/thumbnail.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/top.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/topLeft.png +0 -0
- package/static/media/image-editor/images/frames/rainbow/topRight.png +0 -0
- package/static/media/image-editor/images/gradients/0.png +0 -0
- package/static/media/image-editor/images/gradients/1.png +0 -0
- package/static/media/image-editor/images/gradients/10.png +0 -0
- package/static/media/image-editor/images/gradients/11.png +0 -0
- package/static/media/image-editor/images/gradients/12.png +0 -0
- package/static/media/image-editor/images/gradients/2.png +0 -0
- package/static/media/image-editor/images/gradients/3.png +0 -0
- package/static/media/image-editor/images/gradients/4.png +0 -0
- package/static/media/image-editor/images/gradients/5.png +0 -0
- package/static/media/image-editor/images/gradients/6.png +0 -0
- package/static/media/image-editor/images/gradients/7.png +0 -0
- package/static/media/image-editor/images/gradients/8.png +0 -0
- package/static/media/image-editor/images/gradients/9.png +0 -0
- package/static/media/image-editor/images/stickers/beach/0.svg +0 -25
- package/static/media/image-editor/images/stickers/beach/1.svg +0 -14
- package/static/media/image-editor/images/stickers/beach/10.svg +0 -34
- package/static/media/image-editor/images/stickers/beach/11.svg +0 -27
- package/static/media/image-editor/images/stickers/beach/12.svg +0 -10
- package/static/media/image-editor/images/stickers/beach/13.svg +0 -25
- package/static/media/image-editor/images/stickers/beach/14.svg +0 -16
- package/static/media/image-editor/images/stickers/beach/15.svg +0 -14
- package/static/media/image-editor/images/stickers/beach/16.svg +0 -44
- package/static/media/image-editor/images/stickers/beach/17.svg +0 -35
- package/static/media/image-editor/images/stickers/beach/18.svg +0 -32
- package/static/media/image-editor/images/stickers/beach/19.svg +0 -23
- package/static/media/image-editor/images/stickers/beach/2.svg +0 -14
- package/static/media/image-editor/images/stickers/beach/20.svg +0 -24
- package/static/media/image-editor/images/stickers/beach/21.svg +0 -11
- package/static/media/image-editor/images/stickers/beach/3.svg +0 -26
- package/static/media/image-editor/images/stickers/beach/4.svg +0 -25
- package/static/media/image-editor/images/stickers/beach/5.svg +0 -22
- package/static/media/image-editor/images/stickers/beach/6.svg +0 -20
- package/static/media/image-editor/images/stickers/beach/7.svg +0 -32
- package/static/media/image-editor/images/stickers/beach/8.svg +0 -28
- package/static/media/image-editor/images/stickers/beach/9.svg +0 -18
- package/static/media/image-editor/images/stickers/bubbles/0.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/1.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/10.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/100.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/101.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/102.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/103.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/105.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/11.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/12.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/13.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/14.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/15.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/16.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/17.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/18.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/19.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/2.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/20.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/21.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/22.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/23.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/24.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/25.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/26.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/27.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/28.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/29.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/3.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/30.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/31.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/32.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/33.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/34.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/35.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/36.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/37.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/38.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/39.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/4.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/40.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/41.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/42.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/43.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/44.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/45.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/46.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/47.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/48.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/49.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/5.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/50.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/51.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/52.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/53.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/54.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/55.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/56.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/57.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/58.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/59.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/6.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/60.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/61.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/62.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/63.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/64.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/65.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/66.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/67.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/68.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/69.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/7.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/70.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/71.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/72.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/73.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/74.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/75.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/76.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/77.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/78.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/79.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/8.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/80.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/81.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/82.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/83.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/84.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/85.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/86.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/87.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/88.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/89.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/9.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/90.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/91.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/92.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/93.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/94.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/95.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/96.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/97.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/98.png +0 -0
- package/static/media/image-editor/images/stickers/bubbles/99.png +0 -0
- package/static/media/image-editor/images/stickers/categories/beach.svg +0 -18
- package/static/media/image-editor/images/stickers/categories/clouds.svg +0 -15
- package/static/media/image-editor/images/stickers/categories/doodles.svg +0 -13
- package/static/media/image-editor/images/stickers/categories/emoticon.svg +0 -10
- package/static/media/image-editor/images/stickers/categories/landmark.svg +0 -20
- package/static/media/image-editor/images/stickers/categories/speech-bubble.svg +0 -6
- package/static/media/image-editor/images/stickers/categories/star.svg +0 -6
- package/static/media/image-editor/images/stickers/categories/transportation.svg +0 -18
- package/static/media/image-editor/images/stickers/clouds/0.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/1.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/10.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/11.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/12.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/13.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/14.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/2.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/3.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/4.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/5.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/6.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/7.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/8.png +0 -0
- package/static/media/image-editor/images/stickers/clouds/9.png +0 -0
- package/static/media/image-editor/images/stickers/doodles/0.svg +0 -201
- package/static/media/image-editor/images/stickers/doodles/1.svg +0 -255
- package/static/media/image-editor/images/stickers/doodles/10.svg +0 -160
- package/static/media/image-editor/images/stickers/doodles/11.svg +0 -393
- package/static/media/image-editor/images/stickers/doodles/12.svg +0 -293
- package/static/media/image-editor/images/stickers/doodles/13.svg +0 -251
- package/static/media/image-editor/images/stickers/doodles/14.svg +0 -370
- package/static/media/image-editor/images/stickers/doodles/15.svg +0 -194
- package/static/media/image-editor/images/stickers/doodles/16.svg +0 -383
- package/static/media/image-editor/images/stickers/doodles/17.svg +0 -346
- package/static/media/image-editor/images/stickers/doodles/18.svg +0 -286
- package/static/media/image-editor/images/stickers/doodles/19.svg +0 -241
- package/static/media/image-editor/images/stickers/doodles/2.svg +0 -227
- package/static/media/image-editor/images/stickers/doodles/20.svg +0 -330
- package/static/media/image-editor/images/stickers/doodles/21.svg +0 -200
- package/static/media/image-editor/images/stickers/doodles/22.svg +0 -308
- package/static/media/image-editor/images/stickers/doodles/23.svg +0 -518
- package/static/media/image-editor/images/stickers/doodles/24.svg +0 -207
- package/static/media/image-editor/images/stickers/doodles/25.svg +0 -260
- package/static/media/image-editor/images/stickers/doodles/26.svg +0 -380
- package/static/media/image-editor/images/stickers/doodles/27.svg +0 -222
- package/static/media/image-editor/images/stickers/doodles/28.svg +0 -164
- package/static/media/image-editor/images/stickers/doodles/29.svg +0 -271
- package/static/media/image-editor/images/stickers/doodles/3.svg +0 -272
- package/static/media/image-editor/images/stickers/doodles/30.svg +0 -283
- package/static/media/image-editor/images/stickers/doodles/31.svg +0 -257
- package/static/media/image-editor/images/stickers/doodles/32.svg +0 -276
- package/static/media/image-editor/images/stickers/doodles/33.svg +0 -198
- package/static/media/image-editor/images/stickers/doodles/34.svg +0 -314
- package/static/media/image-editor/images/stickers/doodles/35.svg +0 -236
- package/static/media/image-editor/images/stickers/doodles/36.svg +0 -273
- package/static/media/image-editor/images/stickers/doodles/37.svg +0 -284
- package/static/media/image-editor/images/stickers/doodles/38.svg +0 -167
- package/static/media/image-editor/images/stickers/doodles/39.svg +0 -381
- package/static/media/image-editor/images/stickers/doodles/4.svg +0 -216
- package/static/media/image-editor/images/stickers/doodles/40.svg +0 -198
- package/static/media/image-editor/images/stickers/doodles/41.svg +0 -259
- package/static/media/image-editor/images/stickers/doodles/42.svg +0 -371
- package/static/media/image-editor/images/stickers/doodles/43.svg +0 -198
- package/static/media/image-editor/images/stickers/doodles/44.svg +0 -174
- package/static/media/image-editor/images/stickers/doodles/45.svg +0 -178
- package/static/media/image-editor/images/stickers/doodles/46.svg +0 -211
- package/static/media/image-editor/images/stickers/doodles/47.svg +0 -195
- package/static/media/image-editor/images/stickers/doodles/48.svg +0 -293
- package/static/media/image-editor/images/stickers/doodles/49.svg +0 -191
- package/static/media/image-editor/images/stickers/doodles/5.svg +0 -179
- package/static/media/image-editor/images/stickers/doodles/50.svg +0 -323
- package/static/media/image-editor/images/stickers/doodles/51.svg +0 -308
- package/static/media/image-editor/images/stickers/doodles/52.svg +0 -162
- package/static/media/image-editor/images/stickers/doodles/53.svg +0 -263
- package/static/media/image-editor/images/stickers/doodles/54.svg +0 -175
- package/static/media/image-editor/images/stickers/doodles/55.svg +0 -177
- package/static/media/image-editor/images/stickers/doodles/56.svg +0 -160
- package/static/media/image-editor/images/stickers/doodles/57.svg +0 -115
- package/static/media/image-editor/images/stickers/doodles/58.svg +0 -327
- package/static/media/image-editor/images/stickers/doodles/59.svg +0 -197
- package/static/media/image-editor/images/stickers/doodles/6.svg +0 -388
- package/static/media/image-editor/images/stickers/doodles/60.svg +0 -414
- package/static/media/image-editor/images/stickers/doodles/61.svg +0 -287
- package/static/media/image-editor/images/stickers/doodles/62.svg +0 -193
- package/static/media/image-editor/images/stickers/doodles/63.svg +0 -329
- package/static/media/image-editor/images/stickers/doodles/64.svg +0 -150
- package/static/media/image-editor/images/stickers/doodles/65.svg +0 -275
- package/static/media/image-editor/images/stickers/doodles/66.svg +0 -174
- package/static/media/image-editor/images/stickers/doodles/67.svg +0 -343
- package/static/media/image-editor/images/stickers/doodles/68.svg +0 -242
- package/static/media/image-editor/images/stickers/doodles/69.svg +0 -160
- package/static/media/image-editor/images/stickers/doodles/7.svg +0 -194
- package/static/media/image-editor/images/stickers/doodles/70.svg +0 -365
- package/static/media/image-editor/images/stickers/doodles/71.svg +0 -454
- package/static/media/image-editor/images/stickers/doodles/72.svg +0 -162
- package/static/media/image-editor/images/stickers/doodles/73.svg +0 -393
- package/static/media/image-editor/images/stickers/doodles/74.svg +0 -206
- package/static/media/image-editor/images/stickers/doodles/75.svg +0 -275
- package/static/media/image-editor/images/stickers/doodles/76.svg +0 -350
- package/static/media/image-editor/images/stickers/doodles/77.svg +0 -323
- package/static/media/image-editor/images/stickers/doodles/78.svg +0 -316
- package/static/media/image-editor/images/stickers/doodles/79.svg +0 -503
- package/static/media/image-editor/images/stickers/doodles/8.svg +0 -185
- package/static/media/image-editor/images/stickers/doodles/80.svg +0 -235
- package/static/media/image-editor/images/stickers/doodles/81.svg +0 -184
- package/static/media/image-editor/images/stickers/doodles/82.svg +0 -246
- package/static/media/image-editor/images/stickers/doodles/83.svg +0 -125
- package/static/media/image-editor/images/stickers/doodles/84.svg +0 -168
- package/static/media/image-editor/images/stickers/doodles/85.svg +0 -138
- package/static/media/image-editor/images/stickers/doodles/86.svg +0 -223
- package/static/media/image-editor/images/stickers/doodles/87.svg +0 -475
- package/static/media/image-editor/images/stickers/doodles/88.svg +0 -172
- package/static/media/image-editor/images/stickers/doodles/89.svg +0 -199
- package/static/media/image-editor/images/stickers/doodles/9.svg +0 -368
- package/static/media/image-editor/images/stickers/doodles/90.svg +0 -298
- package/static/media/image-editor/images/stickers/doodles/91.svg +0 -176
- package/static/media/image-editor/images/stickers/doodles/92.svg +0 -152
- package/static/media/image-editor/images/stickers/doodles/93.svg +0 -206
- package/static/media/image-editor/images/stickers/doodles/94.svg +0 -202
- package/static/media/image-editor/images/stickers/doodles/95.svg +0 -114
- package/static/media/image-editor/images/stickers/doodles/96.svg +0 -149
- package/static/media/image-editor/images/stickers/doodles/97.svg +0 -197
- package/static/media/image-editor/images/stickers/doodles/98.svg +0 -397
- package/static/media/image-editor/images/stickers/doodles/99.svg +0 -502
- package/static/media/image-editor/images/stickers/emoticons/afro-1.svg +0 -122
- package/static/media/image-editor/images/stickers/emoticons/afro.svg +0 -85
- package/static/media/image-editor/images/stickers/emoticons/agent.svg +0 -114
- package/static/media/image-editor/images/stickers/emoticons/alien-1.svg +0 -60
- package/static/media/image-editor/images/stickers/emoticons/alien.svg +0 -64
- package/static/media/image-editor/images/stickers/emoticons/angel.svg +0 -47
- package/static/media/image-editor/images/stickers/emoticons/angry-1.svg +0 -83
- package/static/media/image-editor/images/stickers/emoticons/angry-2.svg +0 -48
- package/static/media/image-editor/images/stickers/emoticons/angry-3.svg +0 -45
- package/static/media/image-editor/images/stickers/emoticons/angry-4.svg +0 -52
- package/static/media/image-editor/images/stickers/emoticons/angry-5.svg +0 -62
- package/static/media/image-editor/images/stickers/emoticons/angry.svg +0 -78
- package/static/media/image-editor/images/stickers/emoticons/arguing.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/arrogant.svg +0 -98
- package/static/media/image-editor/images/stickers/emoticons/asian-1.svg +0 -52
- package/static/media/image-editor/images/stickers/emoticons/asian.svg +0 -54
- package/static/media/image-editor/images/stickers/emoticons/avatar.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/baby-1.svg +0 -51
- package/static/media/image-editor/images/stickers/emoticons/baby-2.svg +0 -54
- package/static/media/image-editor/images/stickers/emoticons/baby.svg +0 -66
- package/static/media/image-editor/images/stickers/emoticons/bully.svg +0 -68
- package/static/media/image-editor/images/stickers/emoticons/burglar.svg +0 -75
- package/static/media/image-editor/images/stickers/emoticons/businessman.svg +0 -52
- package/static/media/image-editor/images/stickers/emoticons/cheeky-1.svg +0 -83
- package/static/media/image-editor/images/stickers/emoticons/cheeky.svg +0 -73
- package/static/media/image-editor/images/stickers/emoticons/clown.svg +0 -75
- package/static/media/image-editor/images/stickers/emoticons/confused-1.svg +0 -74
- package/static/media/image-editor/images/stickers/emoticons/confused-2.svg +0 -55
- package/static/media/image-editor/images/stickers/emoticons/confused-3.svg +0 -45
- package/static/media/image-editor/images/stickers/emoticons/confused.svg +0 -66
- package/static/media/image-editor/images/stickers/emoticons/creepy.svg +0 -60
- package/static/media/image-editor/images/stickers/emoticons/crying-1.svg +0 -55
- package/static/media/image-editor/images/stickers/emoticons/crying-2.svg +0 -83
- package/static/media/image-editor/images/stickers/emoticons/crying-3.svg +0 -53
- package/static/media/image-editor/images/stickers/emoticons/crying.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/dazed-1.svg +0 -63
- package/static/media/image-editor/images/stickers/emoticons/dazed-2.svg +0 -51
- package/static/media/image-editor/images/stickers/emoticons/dazed-3.svg +0 -55
- package/static/media/image-editor/images/stickers/emoticons/dazed.svg +0 -56
- package/static/media/image-editor/images/stickers/emoticons/dead-1.svg +0 -61
- package/static/media/image-editor/images/stickers/emoticons/dead-2.svg +0 -80
- package/static/media/image-editor/images/stickers/emoticons/dead-3.svg +0 -66
- package/static/media/image-editor/images/stickers/emoticons/dead-4.svg +0 -54
- package/static/media/image-editor/images/stickers/emoticons/dead-5.svg +0 -52
- package/static/media/image-editor/images/stickers/emoticons/dead-6.svg +0 -53
- package/static/media/image-editor/images/stickers/emoticons/dead.svg +0 -54
- package/static/media/image-editor/images/stickers/emoticons/desperate-1.svg +0 -47
- package/static/media/image-editor/images/stickers/emoticons/desperate.svg +0 -75
- package/static/media/image-editor/images/stickers/emoticons/detective.svg +0 -75
- package/static/media/image-editor/images/stickers/emoticons/dissapointment.svg +0 -70
- package/static/media/image-editor/images/stickers/emoticons/doctor.svg +0 -61
- package/static/media/image-editor/images/stickers/emoticons/drunk.svg +0 -55
- package/static/media/image-editor/images/stickers/emoticons/dumb.svg +0 -50
- package/static/media/image-editor/images/stickers/emoticons/emo-1.svg +0 -104
- package/static/media/image-editor/images/stickers/emoticons/emo-2.svg +0 -111
- package/static/media/image-editor/images/stickers/emoticons/emo.svg +0 -56
- package/static/media/image-editor/images/stickers/emoticons/emoticon.svg +0 -84
- package/static/media/image-editor/images/stickers/emoticons/evil.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/faint-1.svg +0 -75
- package/static/media/image-editor/images/stickers/emoticons/faint.svg +0 -84
- package/static/media/image-editor/images/stickers/emoticons/flirt-1.svg +0 -81
- package/static/media/image-editor/images/stickers/emoticons/flirt-2.svg +0 -68
- package/static/media/image-editor/images/stickers/emoticons/flirt.svg +0 -71
- package/static/media/image-editor/images/stickers/emoticons/flirty.svg +0 -60
- package/static/media/image-editor/images/stickers/emoticons/gangster.svg +0 -54
- package/static/media/image-editor/images/stickers/emoticons/geek-1.svg +0 -76
- package/static/media/image-editor/images/stickers/emoticons/geek.svg +0 -69
- package/static/media/image-editor/images/stickers/emoticons/gentleman-1.svg +0 -82
- package/static/media/image-editor/images/stickers/emoticons/gentleman-2.svg +0 -58
- package/static/media/image-editor/images/stickers/emoticons/gentleman-3.svg +0 -54
- package/static/media/image-editor/images/stickers/emoticons/gentleman-4.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/gentleman.svg +0 -57
- package/static/media/image-editor/images/stickers/emoticons/ginger.svg +0 -55
- package/static/media/image-editor/images/stickers/emoticons/girl-1.svg +0 -70
- package/static/media/image-editor/images/stickers/emoticons/girl.svg +0 -73
- package/static/media/image-editor/images/stickers/emoticons/goofy-1.svg +0 -46
- package/static/media/image-editor/images/stickers/emoticons/goofy-2.svg +0 -79
- package/static/media/image-editor/images/stickers/emoticons/goofy-3.svg +0 -79
- package/static/media/image-editor/images/stickers/emoticons/goofy-4.svg +0 -46
- package/static/media/image-editor/images/stickers/emoticons/goofy.svg +0 -79
- package/static/media/image-editor/images/stickers/emoticons/grubby-1.svg +0 -114
- package/static/media/image-editor/images/stickers/emoticons/grubby.svg +0 -165
- package/static/media/image-editor/images/stickers/emoticons/happy-1.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/happy-10.svg +0 -62
- package/static/media/image-editor/images/stickers/emoticons/happy-11.svg +0 -55
- package/static/media/image-editor/images/stickers/emoticons/happy-12.svg +0 -53
- package/static/media/image-editor/images/stickers/emoticons/happy-13.svg +0 -58
- package/static/media/image-editor/images/stickers/emoticons/happy-14.svg +0 -62
- package/static/media/image-editor/images/stickers/emoticons/happy-15.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/happy-16.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/happy-2.svg +0 -71
- package/static/media/image-editor/images/stickers/emoticons/happy-3.svg +0 -74
- package/static/media/image-editor/images/stickers/emoticons/happy-4.svg +0 -77
- package/static/media/image-editor/images/stickers/emoticons/happy-5.svg +0 -52
- package/static/media/image-editor/images/stickers/emoticons/happy-6.svg +0 -54
- package/static/media/image-editor/images/stickers/emoticons/happy-7.svg +0 -58
- package/static/media/image-editor/images/stickers/emoticons/happy-8.svg +0 -42
- package/static/media/image-editor/images/stickers/emoticons/happy-9.svg +0 -45
- package/static/media/image-editor/images/stickers/emoticons/happy.svg +0 -48
- package/static/media/image-editor/images/stickers/emoticons/harry-potter.svg +0 -68
- package/static/media/image-editor/images/stickers/emoticons/heisenberg.svg +0 -80
- package/static/media/image-editor/images/stickers/emoticons/hipster-1.svg +0 -118
- package/static/media/image-editor/images/stickers/emoticons/hipster-2.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/hipster.svg +0 -48
- package/static/media/image-editor/images/stickers/emoticons/in-love-1.svg +0 -62
- package/static/media/image-editor/images/stickers/emoticons/in-love-2.svg +0 -48
- package/static/media/image-editor/images/stickers/emoticons/in-love-3.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/in-love-4.svg +0 -50
- package/static/media/image-editor/images/stickers/emoticons/in-love-5.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/in-love-6.svg +0 -53
- package/static/media/image-editor/images/stickers/emoticons/in-love.svg +0 -57
- package/static/media/image-editor/images/stickers/emoticons/japan.svg +0 -79
- package/static/media/image-editor/images/stickers/emoticons/jew.svg +0 -83
- package/static/media/image-editor/images/stickers/emoticons/joyful-1.svg +0 -72
- package/static/media/image-editor/images/stickers/emoticons/joyful-2.svg +0 -45
- package/static/media/image-editor/images/stickers/emoticons/joyful.svg +0 -47
- package/static/media/image-editor/images/stickers/emoticons/kiss-1.svg +0 -48
- package/static/media/image-editor/images/stickers/emoticons/kiss-2.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/kiss-3.svg +0 -53
- package/static/media/image-editor/images/stickers/emoticons/kiss-4.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/kiss.svg +0 -67
- package/static/media/image-editor/images/stickers/emoticons/laughing-1.svg +0 -54
- package/static/media/image-editor/images/stickers/emoticons/laughing-2.svg +0 -57
- package/static/media/image-editor/images/stickers/emoticons/laughing-3.svg +0 -55
- package/static/media/image-editor/images/stickers/emoticons/laughing.svg +0 -56
- package/static/media/image-editor/images/stickers/emoticons/listening.svg +0 -55
- package/static/media/image-editor/images/stickers/emoticons/love.svg +0 -74
- package/static/media/image-editor/images/stickers/emoticons/manly.svg +0 -75
- package/static/media/image-editor/images/stickers/emoticons/miserly-1.svg +0 -90
- package/static/media/image-editor/images/stickers/emoticons/miserly.svg +0 -82
- package/static/media/image-editor/images/stickers/emoticons/nerd-1.svg +0 -88
- package/static/media/image-editor/images/stickers/emoticons/nerd-2.svg +0 -73
- package/static/media/image-editor/images/stickers/emoticons/nerd-3.svg +0 -60
- package/static/media/image-editor/images/stickers/emoticons/nerd-4.svg +0 -70
- package/static/media/image-editor/images/stickers/emoticons/nerd.svg +0 -88
- package/static/media/image-editor/images/stickers/emoticons/ninja.svg +0 -51
- package/static/media/image-editor/images/stickers/emoticons/pirate-1.svg +0 -92
- package/static/media/image-editor/images/stickers/emoticons/pirate-2.svg +0 -48
- package/static/media/image-editor/images/stickers/emoticons/pirate.svg +0 -286
- package/static/media/image-editor/images/stickers/emoticons/punk-1.svg +0 -134
- package/static/media/image-editor/images/stickers/emoticons/punk-2.svg +0 -153
- package/static/media/image-editor/images/stickers/emoticons/punk.svg +0 -82
- package/static/media/image-editor/images/stickers/emoticons/rapper.svg +0 -51
- package/static/media/image-editor/images/stickers/emoticons/relieved.svg +0 -56
- package/static/media/image-editor/images/stickers/emoticons/rich-1.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/rich-2.svg +0 -93
- package/static/media/image-editor/images/stickers/emoticons/rich.svg +0 -88
- package/static/media/image-editor/images/stickers/emoticons/rockstar.svg +0 -177
- package/static/media/image-editor/images/stickers/emoticons/sad-1.svg +0 -43
- package/static/media/image-editor/images/stickers/emoticons/sad-2.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/sad-3.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/sad-4.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/sad-5.svg +0 -45
- package/static/media/image-editor/images/stickers/emoticons/sad-6.svg +0 -47
- package/static/media/image-editor/images/stickers/emoticons/sad.svg +0 -47
- package/static/media/image-editor/images/stickers/emoticons/scared-1.svg +0 -79
- package/static/media/image-editor/images/stickers/emoticons/scared-2.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/scared-3.svg +0 -52
- package/static/media/image-editor/images/stickers/emoticons/scared.svg +0 -45
- package/static/media/image-editor/images/stickers/emoticons/sceptic-1.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/sceptic-2.svg +0 -80
- package/static/media/image-editor/images/stickers/emoticons/sceptic-3.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/sceptic-4.svg +0 -46
- package/static/media/image-editor/images/stickers/emoticons/sceptic-5.svg +0 -43
- package/static/media/image-editor/images/stickers/emoticons/sceptic-6.svg +0 -42
- package/static/media/image-editor/images/stickers/emoticons/sceptic-7.svg +0 -50
- package/static/media/image-editor/images/stickers/emoticons/sceptic.svg +0 -44
- package/static/media/image-editor/images/stickers/emoticons/secret.svg +0 -48
- package/static/media/image-editor/images/stickers/emoticons/shocked-1.svg +0 -67
- package/static/media/image-editor/images/stickers/emoticons/shocked-2.svg +0 -44
- package/static/media/image-editor/images/stickers/emoticons/shocked-3.svg +0 -48
- package/static/media/image-editor/images/stickers/emoticons/shocked.svg +0 -46
- package/static/media/image-editor/images/stickers/emoticons/sick-1.svg +0 -55
- package/static/media/image-editor/images/stickers/emoticons/sick-2.svg +0 -48
- package/static/media/image-editor/images/stickers/emoticons/sick-3.svg +0 -49
- package/static/media/image-editor/images/stickers/emoticons/sick-4.svg +0 -52
- package/static/media/image-editor/images/stickers/emoticons/sick.svg +0 -52
- package/static/media/image-editor/images/stickers/emoticons/silent.svg +0 -43
- package/static/media/image-editor/images/stickers/emoticons/skeleton.svg +0 -64
- package/static/media/image-editor/images/stickers/emoticons/smile.svg +0 -43
- package/static/media/image-editor/images/stickers/emoticons/smiling-1.svg +0 -47
- package/static/media/image-editor/images/stickers/emoticons/smiling.svg +0 -75
- package/static/media/image-editor/images/stickers/emoticons/smoked.svg +0 -131
- package/static/media/image-editor/images/stickers/emoticons/smug-1.svg +0 -74
- package/static/media/image-editor/images/stickers/emoticons/smug-2.svg +0 -82
- package/static/media/image-editor/images/stickers/emoticons/smug-3.svg +0 -71
- package/static/media/image-editor/images/stickers/emoticons/smug-4.svg +0 -50
- package/static/media/image-editor/images/stickers/emoticons/smug-5.svg +0 -64
- package/static/media/image-editor/images/stickers/emoticons/smug-6.svg +0 -82
- package/static/media/image-editor/images/stickers/emoticons/smug.svg +0 -96
- package/static/media/image-editor/images/stickers/emoticons/sporty.svg +0 -68
- package/static/media/image-editor/images/stickers/emoticons/stunned.svg +0 -72
- package/static/media/image-editor/images/stickers/emoticons/superhero-1.svg +0 -60
- package/static/media/image-editor/images/stickers/emoticons/superhero-2.svg +0 -47
- package/static/media/image-editor/images/stickers/emoticons/superhero-3.svg +0 -48
- package/static/media/image-editor/images/stickers/emoticons/superhero-4.svg +0 -52
- package/static/media/image-editor/images/stickers/emoticons/superhero.svg +0 -45
- package/static/media/image-editor/images/stickers/emoticons/surprised-1.svg +0 -47
- package/static/media/image-editor/images/stickers/emoticons/surprised.svg +0 -58
- package/static/media/image-editor/images/stickers/emoticons/thinking.svg +0 -43
- package/static/media/image-editor/images/stickers/emoticons/tired-1.svg +0 -78
- package/static/media/image-editor/images/stickers/emoticons/tired-2.svg +0 -65
- package/static/media/image-editor/images/stickers/emoticons/tired-3.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/tired.svg +0 -83
- package/static/media/image-editor/images/stickers/emoticons/tough-1.svg +0 -65
- package/static/media/image-editor/images/stickers/emoticons/tough.svg +0 -158
- package/static/media/image-editor/images/stickers/emoticons/trendy.svg +0 -57
- package/static/media/image-editor/images/stickers/emoticons/vampire-1.svg +0 -56
- package/static/media/image-editor/images/stickers/emoticons/vampire.svg +0 -59
- package/static/media/image-editor/images/stickers/emoticons/wink-1.svg +0 -54
- package/static/media/image-editor/images/stickers/emoticons/wink-2.svg +0 -64
- package/static/media/image-editor/images/stickers/emoticons/wink.svg +0 -73
- package/static/media/image-editor/images/stickers/emoticons/winking-1.svg +0 -52
- package/static/media/image-editor/images/stickers/emoticons/winking.svg +0 -43
- package/static/media/image-editor/images/stickers/emoticons/yawning-1.svg +0 -62
- package/static/media/image-editor/images/stickers/emoticons/yawning-2.svg +0 -51
- package/static/media/image-editor/images/stickers/emoticons/yawning-3.svg +0 -51
- package/static/media/image-editor/images/stickers/emoticons/yawning.svg +0 -73
- package/static/media/image-editor/images/stickers/emoticons/yelling.svg +0 -80
- package/static/media/image-editor/images/stickers/emoticons/zombie.svg +0 -65
- package/static/media/image-editor/images/stickers/landmarks/0.svg +0 -38
- package/static/media/image-editor/images/stickers/landmarks/1.svg +0 -46
- package/static/media/image-editor/images/stickers/landmarks/10.svg +0 -18
- package/static/media/image-editor/images/stickers/landmarks/11.svg +0 -81
- package/static/media/image-editor/images/stickers/landmarks/12.svg +0 -77
- package/static/media/image-editor/images/stickers/landmarks/13.svg +0 -42
- package/static/media/image-editor/images/stickers/landmarks/14.svg +0 -78
- package/static/media/image-editor/images/stickers/landmarks/15.svg +0 -84
- package/static/media/image-editor/images/stickers/landmarks/16.svg +0 -87
- package/static/media/image-editor/images/stickers/landmarks/17.svg +0 -60
- package/static/media/image-editor/images/stickers/landmarks/18.svg +0 -30
- package/static/media/image-editor/images/stickers/landmarks/19.svg +0 -36
- package/static/media/image-editor/images/stickers/landmarks/2.svg +0 -28
- package/static/media/image-editor/images/stickers/landmarks/20.svg +0 -137
- package/static/media/image-editor/images/stickers/landmarks/21.svg +0 -63
- package/static/media/image-editor/images/stickers/landmarks/22.svg +0 -26
- package/static/media/image-editor/images/stickers/landmarks/23.svg +0 -52
- package/static/media/image-editor/images/stickers/landmarks/24.svg +0 -56
- package/static/media/image-editor/images/stickers/landmarks/25.svg +0 -40
- package/static/media/image-editor/images/stickers/landmarks/26.svg +0 -34
- package/static/media/image-editor/images/stickers/landmarks/27.svg +0 -32
- package/static/media/image-editor/images/stickers/landmarks/28.svg +0 -19
- package/static/media/image-editor/images/stickers/landmarks/29.svg +0 -23
- package/static/media/image-editor/images/stickers/landmarks/3.svg +0 -36
- package/static/media/image-editor/images/stickers/landmarks/30.svg +0 -36
- package/static/media/image-editor/images/stickers/landmarks/31.svg +0 -27
- package/static/media/image-editor/images/stickers/landmarks/32.svg +0 -25
- package/static/media/image-editor/images/stickers/landmarks/33.svg +0 -29
- package/static/media/image-editor/images/stickers/landmarks/34.svg +0 -72
- package/static/media/image-editor/images/stickers/landmarks/35.svg +0 -18
- package/static/media/image-editor/images/stickers/landmarks/36.svg +0 -45
- package/static/media/image-editor/images/stickers/landmarks/37.svg +0 -46
- package/static/media/image-editor/images/stickers/landmarks/38.svg +0 -44
- package/static/media/image-editor/images/stickers/landmarks/39.svg +0 -23
- package/static/media/image-editor/images/stickers/landmarks/4.svg +0 -33
- package/static/media/image-editor/images/stickers/landmarks/40.svg +0 -25
- package/static/media/image-editor/images/stickers/landmarks/41.svg +0 -69
- package/static/media/image-editor/images/stickers/landmarks/42.svg +0 -75
- package/static/media/image-editor/images/stickers/landmarks/43.svg +0 -44
- package/static/media/image-editor/images/stickers/landmarks/44.svg +0 -65
- package/static/media/image-editor/images/stickers/landmarks/45.svg +0 -19
- package/static/media/image-editor/images/stickers/landmarks/46.svg +0 -47
- package/static/media/image-editor/images/stickers/landmarks/47.svg +0 -544
- package/static/media/image-editor/images/stickers/landmarks/48.svg +0 -162
- package/static/media/image-editor/images/stickers/landmarks/49.svg +0 -70
- package/static/media/image-editor/images/stickers/landmarks/5.svg +0 -36
- package/static/media/image-editor/images/stickers/landmarks/50.svg +0 -52
- package/static/media/image-editor/images/stickers/landmarks/51.svg +0 -110
- package/static/media/image-editor/images/stickers/landmarks/52.svg +0 -41
- package/static/media/image-editor/images/stickers/landmarks/53.svg +0 -74
- package/static/media/image-editor/images/stickers/landmarks/54.svg +0 -36
- package/static/media/image-editor/images/stickers/landmarks/55.svg +0 -84
- package/static/media/image-editor/images/stickers/landmarks/56.svg +0 -93
- package/static/media/image-editor/images/stickers/landmarks/57.svg +0 -67
- package/static/media/image-editor/images/stickers/landmarks/58.svg +0 -101
- package/static/media/image-editor/images/stickers/landmarks/59.svg +0 -47
- package/static/media/image-editor/images/stickers/landmarks/6.svg +0 -59
- package/static/media/image-editor/images/stickers/landmarks/60.svg +0 -134
- package/static/media/image-editor/images/stickers/landmarks/61.svg +0 -79
- package/static/media/image-editor/images/stickers/landmarks/62.svg +0 -43
- package/static/media/image-editor/images/stickers/landmarks/63.svg +0 -83
- package/static/media/image-editor/images/stickers/landmarks/64.svg +0 -99
- package/static/media/image-editor/images/stickers/landmarks/65.svg +0 -79
- package/static/media/image-editor/images/stickers/landmarks/66.svg +0 -37
- package/static/media/image-editor/images/stickers/landmarks/67.svg +0 -82
- package/static/media/image-editor/images/stickers/landmarks/68.svg +0 -216
- package/static/media/image-editor/images/stickers/landmarks/69.svg +0 -17
- package/static/media/image-editor/images/stickers/landmarks/7.svg +0 -16
- package/static/media/image-editor/images/stickers/landmarks/70.svg +0 -45
- package/static/media/image-editor/images/stickers/landmarks/71.svg +0 -37
- package/static/media/image-editor/images/stickers/landmarks/72.svg +0 -28
- package/static/media/image-editor/images/stickers/landmarks/73.svg +0 -25
- package/static/media/image-editor/images/stickers/landmarks/74.svg +0 -23
- package/static/media/image-editor/images/stickers/landmarks/75.svg +0 -88
- package/static/media/image-editor/images/stickers/landmarks/76.svg +0 -25
- package/static/media/image-editor/images/stickers/landmarks/77.svg +0 -23
- package/static/media/image-editor/images/stickers/landmarks/78.svg +0 -63
- package/static/media/image-editor/images/stickers/landmarks/79.svg +0 -25
- package/static/media/image-editor/images/stickers/landmarks/8.svg +0 -52
- package/static/media/image-editor/images/stickers/landmarks/80.svg +0 -29
- package/static/media/image-editor/images/stickers/landmarks/81.svg +0 -44
- package/static/media/image-editor/images/stickers/landmarks/82.svg +0 -83
- package/static/media/image-editor/images/stickers/landmarks/83.svg +0 -65
- package/static/media/image-editor/images/stickers/landmarks/84.svg +0 -31
- package/static/media/image-editor/images/stickers/landmarks/85.svg +0 -30
- package/static/media/image-editor/images/stickers/landmarks/86.svg +0 -26
- package/static/media/image-editor/images/stickers/landmarks/87.svg +0 -132
- package/static/media/image-editor/images/stickers/landmarks/88.svg +0 -93
- package/static/media/image-editor/images/stickers/landmarks/89.svg +0 -91
- package/static/media/image-editor/images/stickers/landmarks/9.svg +0 -70
- package/static/media/image-editor/images/stickers/landmarks/90.svg +0 -65
- package/static/media/image-editor/images/stickers/landmarks/91.svg +0 -36
- package/static/media/image-editor/images/stickers/landmarks/92.svg +0 -66
- package/static/media/image-editor/images/stickers/landmarks/93.svg +0 -65
- package/static/media/image-editor/images/stickers/landmarks/94.svg +0 -28
- package/static/media/image-editor/images/stickers/landmarks/95.svg +0 -31
- package/static/media/image-editor/images/stickers/landmarks/96.svg +0 -25
- package/static/media/image-editor/images/stickers/landmarks/97.svg +0 -31
- package/static/media/image-editor/images/stickers/landmarks/98.svg +0 -52
- package/static/media/image-editor/images/stickers/landmarks/99.svg +0 -56
- package/static/media/image-editor/images/stickers/stars/0.png +0 -0
- package/static/media/image-editor/images/stickers/stars/1.png +0 -0
- package/static/media/image-editor/images/stickers/stars/2.png +0 -0
- package/static/media/image-editor/images/stickers/stars/3.png +0 -0
- package/static/media/image-editor/images/stickers/stars/4.png +0 -0
- package/static/media/image-editor/images/stickers/stars/5.png +0 -0
- package/static/media/image-editor/images/stickers/transportation/0.svg +0 -26
- package/static/media/image-editor/images/stickers/transportation/1.svg +0 -10
- package/static/media/image-editor/images/stickers/transportation/10.svg +0 -16
- package/static/media/image-editor/images/stickers/transportation/11.svg +0 -30
- package/static/media/image-editor/images/stickers/transportation/12.svg +0 -22
- package/static/media/image-editor/images/stickers/transportation/13.svg +0 -24
- package/static/media/image-editor/images/stickers/transportation/14.svg +0 -19
- package/static/media/image-editor/images/stickers/transportation/15.svg +0 -23
- package/static/media/image-editor/images/stickers/transportation/16.svg +0 -25
- package/static/media/image-editor/images/stickers/transportation/17.svg +0 -34
- package/static/media/image-editor/images/stickers/transportation/18.svg +0 -29
- package/static/media/image-editor/images/stickers/transportation/19.svg +0 -24
- package/static/media/image-editor/images/stickers/transportation/2.svg +0 -27
- package/static/media/image-editor/images/stickers/transportation/20.svg +0 -25
- package/static/media/image-editor/images/stickers/transportation/21.svg +0 -22
- package/static/media/image-editor/images/stickers/transportation/3.svg +0 -18
- package/static/media/image-editor/images/stickers/transportation/4.svg +0 -24
- package/static/media/image-editor/images/stickers/transportation/5.svg +0 -15
- package/static/media/image-editor/images/stickers/transportation/6.svg +0 -25
- package/static/media/image-editor/images/stickers/transportation/7.svg +0 -17
- package/static/media/image-editor/images/stickers/transportation/8.svg +0 -28
- package/static/media/image-editor/images/stickers/transportation/9.svg +0 -23
- package/static/media/image-editor/images/textures/0.png +0 -0
- package/static/media/image-editor/images/textures/1.png +0 -0
- package/static/media/image-editor/images/textures/10.png +0 -0
- package/static/media/image-editor/images/textures/11.png +0 -0
- package/static/media/image-editor/images/textures/12.png +0 -0
- package/static/media/image-editor/images/textures/13.png +0 -0
- package/static/media/image-editor/images/textures/14.png +0 -0
- package/static/media/image-editor/images/textures/15.png +0 -0
- package/static/media/image-editor/images/textures/16.png +0 -0
- package/static/media/image-editor/images/textures/17.png +0 -0
- package/static/media/image-editor/images/textures/18.png +0 -0
- package/static/media/image-editor/images/textures/19.png +0 -0
- package/static/media/image-editor/images/textures/2.png +0 -0
- package/static/media/image-editor/images/textures/20.png +0 -0
- package/static/media/image-editor/images/textures/21.png +0 -0
- package/static/media/image-editor/images/textures/22.png +0 -0
- package/static/media/image-editor/images/textures/23.png +0 -0
- package/static/media/image-editor/images/textures/24.png +0 -0
- package/static/media/image-editor/images/textures/25.png +0 -0
- package/static/media/image-editor/images/textures/26.png +0 -0
- package/static/media/image-editor/images/textures/27.png +0 -0
- package/static/media/image-editor/images/textures/28.png +0 -0
- package/static/media/image-editor/images/textures/3.png +0 -0
- package/static/media/image-editor/images/textures/4.png +0 -0
- package/static/media/image-editor/images/textures/5.png +0 -0
- package/static/media/image-editor/images/textures/6.png +0 -0
- package/static/media/image-editor/images/textures/7.png +0 -0
- package/static/media/image-editor/images/textures/8.png +0 -0
- package/static/media/image-editor/images/textures/9.png +0 -0
- package/static/umd-runtime/Bh6Bqrv7.js +0 -1
- package/useblocks-core.eeb12239.js +0 -857
- /package/iframe/{iframe-eblock.eeb12239.html → iframe-eblock.d62ebebc.html} +0 -0
- /package/iframe/{iframe.eeb12239.html → iframe.d62ebebc.html} +0 -0
package/iframe/js/iframe.body.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__useblocks__.define("js/iframe.js",["require","exports","module","js/rolldown-runtime.BRlIiq3h.js","js/discussHandlers.CGgLczQM.js"],function(Lo,Ag,Tg){const xi=Lo("./rolldown-runtime.BRlIiq3h.js"),a=Lo("./discussHandlers.CGgLczQM.js");var Ct=null;function wo(e){const o=window.getSelection();if(o&&o.rangeCount>0){const t=o.getRangeAt(0);if(e.contains(t.startContainer))return{container:t.startContainer,offset:t.startOffset}}return Ct&&Ct.container.isConnected&&e.contains(Ct.container)?Ct:null}function Di(e){const o=[],t=Array.from(e.childNodes);let n=[],r=0;return t.forEach((i,l)=>{i.nodeType===Node.ELEMENT_NODE&&i.tagName==="BR"?(n.length>0&&o.push({html:Kt(n),nodes:[...n],startIndex:r,endIndex:l-1}),n=[],r=l+1):n.push(i)}),n.length>0&&o.push({html:Kt(n),nodes:[...n],startIndex:r,endIndex:t.length-1}),o}function Fi(e){const o=[],t=Array.from(e.childNodes);let n=[],r=0;const i=s=>{n.length>0&&(o.push({html:Kt(n),nodes:[...n],startIndex:r,endIndex:s-1}),n=[])},l=s=>s.nodeType===Node.ELEMENT_NODE&&(s.tagName==="UL"||s.tagName==="OL");return t.forEach((s,c)=>{s.nodeType===Node.ELEMENT_NODE&&s.tagName==="BR"?(i(c),r=c+1):l(s)?(i(c),o.push({html:Kt([s]),nodes:[s],startIndex:c,endIndex:c}),r=c+1):n.push(s)}),i(t.length),o}function Kt(e){const o=document.createElement("div");return e.forEach(t=>o.appendChild(t.cloneNode(!0))),o.innerHTML}function ko(e,o){const t=wo(o);if(!t)return 0;const n=t.container;if(!o.contains(n))return 0;for(let r=0;r<e.length;r++)for(const i of e[r].nodes)if(i===n||i.contains(n))return r;if(n===o){const r=t.offset;for(let i=0;i<e.length;i++)if(r>=e[i].startIndex&&r<=e[i].endIndex)return i;for(let i=0;i<e.length;i++)if(r===e[i].startIndex)return i;for(let i=0;i<e.length;i++)if(e[i].startIndex>=r)return i;if(e.length>0)return e.length-1}return 0}function vn(e,o,t,n){if(!t.contains(o))return n;for(let r=0;r<e.length;r++)for(const i of e[r].nodes)if(i===o||i.contains(o))return r;return n}function qi(e,o){const t=window.getSelection();if(!t||t.rangeCount===0){const s=ko(e,o);return{start:s,end:s}}const n=t.getRangeAt(0);if(n.collapsed){const s=ko(e,o);return{start:s,end:s}}const r=ko(e,o),i=vn(e,n.startContainer,o,r),l=vn(e,n.endContainer,o,r);return{start:Math.min(i,l),end:Math.max(i,l)}}function Wi(e){return e.querySelector("br")!==null}function $i(e){const o=wo(e);if(!o)return null;const t=o.container.nodeType===Node.ELEMENT_NODE?o.container:o.container.parentElement;if(!t)return null;const n=t.closest("ol, ul");return n&&e.contains(n)?n:null}function zi(e){const o=wo(e);if(!o)return;const{container:t,offset:n}=o;if(t!==e)return;const r=Array.from(e.childNodes),i=n>0?r[n-1]:null,l=n<r.length?r[n]:null,s=b=>b!==null&&b.nodeType===Node.ELEMENT_NODE&&b.tagName==="BR",c=b=>b!==null&&b.nodeType===Node.TEXT_NODE&&b.data.trim()==="",d=s(i),u=s(l),p=c(l),m=n>=r.length;if(!(d&&u||d&&m||n===0&&u||d&&p))return;let f;p?(f=l,f.data=" "):(f=document.createTextNode(" "),l?e.insertBefore(f,l):e.appendChild(f));const g=window.getSelection();if(g){const b=document.createRange();b.setStart(f,0),b.collapse(!0),g.removeAllRanges(),g.addRange(b)}Ct={container:f,offset:0}}function Vi(e,o){const t=o?"ol":"ul";if(e.querySelector("ol, ul")){const n=$i(e);if(n){if(n.tagName.toLowerCase()===t)return;const l=document.createElement(t);for(Array.from(n.attributes).forEach(s=>{s.name!=="style"&&l.setAttribute(s.name,s.value)}),l.setAttribute("style",a.STANDARD_LIST_STYLES.LIST);n.firstChild;)l.appendChild(n.firstChild);n.parentNode?.replaceChild(l,n);return}const r=e.querySelector(":scope > ol, :scope > ul"),i=Array.from(e.childNodes).some(l=>l.nodeType===Node.ELEMENT_NODE&&l.tagName==="BR");if(r&&!i){if(r.tagName.toLowerCase()===t)return;const l=document.createElement(t);for(Array.from(r.attributes).forEach(s=>{s.name!=="style"&&l.setAttribute(s.name,s.value)}),l.setAttribute("style",a.STANDARD_LIST_STYLES.LIST);r.firstChild;)l.appendChild(r.firstChild);r.parentNode?.replaceChild(l,r);return}}Wi(e)||e.querySelector(":scope > ol, :scope > ul")?(zi(e),Ui(e,t)):An(e,t)}function An(e,o){const t=document.createElement(o);t.setAttribute("style",a.STANDARD_LIST_STYLES.LIST);const n=document.createElement("li");n.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM);const r=e.innerHTML.trim();r?n.innerHTML=r:n.innerHTML=" ",t.appendChild(n),e.innerHTML="",e.appendChild(t),Tn(n)}function Ui(e,o){const t=Fi(e);if(t.length===0){An(e,o);return}const{start:n,end:r}=qi(t,e),i=document.createElement(o);i.setAttribute("style",a.STANDARD_LIST_STYLES.LIST);let l=null;for(let d=n;d<=r;d++){const u=document.createElement("li");u.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM),u.innerHTML=t[d].html.trim()||" ",i.appendChild(u),l=u}const s=t.slice(0,n).map(d=>d.html).join("<br>"),c=t.slice(r+1).map(d=>d.html).join("<br>");if(e.innerHTML="",s.trim()){const d=document.createElement("span");for(d.innerHTML=s;d.firstChild;)e.appendChild(d.firstChild);e.appendChild(document.createElement("br"))}if(e.appendChild(i),c.trim()){e.appendChild(document.createElement("br"));const d=document.createElement("span");for(d.innerHTML=c;d.firstChild;)e.appendChild(d.firstChild)}l&&Tn(l)}function Tn(e){try{const o=window.getSelection();if(o){const t=document.createRange();t.selectNodeContents(e),t.collapse(!0),o.removeAllRanges(),o.addRange(t)}}catch{}}function ji(e,o){let t=0;const n=Array.from(e.childNodes);for(const r of n){if(r===o)return t;r.nodeType===Node.ELEMENT_NODE&&r.tagName==="BR"&&t++}return t}function Gi(e,o){const t=Di(e);if(o<0||o>=t.length)return;const n=t[o];if(n.nodes.length!==0)try{const r=window.getSelection();if(!r)return;const i=n.nodes[0],l=document.createRange();if(i.nodeType===Node.TEXT_NODE)l.setStart(i,0),l.collapse(!0);else if(i.nodeType===Node.ELEMENT_NODE)l.selectNodeContents(i),l.collapse(!0);else return;r.removeAllRanges(),r.addRange(l)}catch{}}function Yi(e){const o=e.querySelector("ol, ul");if(!o)return;const t=ji(e,o),n=o.querySelectorAll("li"),r=[];n.forEach(l=>{const s=l.innerHTML.trim();s&&s!==" "&&r.push(s)});const i=r.join("<br>");i?o.outerHTML=i:o.outerHTML=" ",Gi(e,t)}function Xt(e){if(!e)return!1;const o=e.closest("ul, ol");return o?!o.closest(a.TABLE_LIST_SELECTOR):!1}function Zt(e,o){const t=a.resolveActiveElement(e.elem),n=t.getAttribute("src"),r=a.getElementMobileProps({elem:t}),i=t.closest("td"),l=i?a.getElementMobileProps({elem:i}):null;let s="img",c=o.PICTURE;e.elem.classList.contains("em-countdown")?(s="countdown",c=o.COUNTDOWN):e.elem.classList.contains("em-video")&&(s="video",c=o.VIDEO);const d=p=>p===null||p==="auto"?null:typeof p=="number"?p:null,u={type:s,caption:c,src:n??"",width:Ln(t,"width"),height:Ln(t,"height"),alt:t.getAttribute("alt")??"",title:t.getAttribute("title")??"",align:i?.getAttribute("align")??"undefined",valign:t.style?.verticalAlign??"undefined",border:a.getElementBorder(t),borderRadius:a.getElementBorderRadius(t),boxShadow:a.getElementBoxShadow(t),mobileWidth:{value:d(r.mobileWidth),dim:r.mobileWidthDim??"px"},mobileHeight:{value:d(r.mobileHeight),dim:r.mobileHeightDim??"px"},mobileBorder:r.mobileBorder,mobileBorderRadius:r.mobileBorderRadius,mobileBoxShadow:r.mobileBoxShadow,mobileAlign:l?.mobileAlign,mobileVerticalAlign:r.mobileVerticalAlign,show:r.show,link:t.closest("a")?.getAttribute("href")??null,renderedWidth:Math.round(e.elem.getBoundingClientRect().width),renderedHeight:Math.round(e.elem.getBoundingClientRect().height),imgReplacer:t.closest("em-replace")?.getAttribute("src")??""};if(s==="countdown"&&(u.countdown=e.elem.getAttribute("em-cd-settings")??void 0),s==="video"){const p=e.elem.getAttribute("em-video-settings");if(p)try{u.video=JSON.parse(p.replaceAll("'",'"'))}catch{u.video={}}}return a.isShowOnMobile(e.elem)&&(u.showOnMobile=!0),i&&(u.maxWidth=Math.round(i.getBoundingClientRect().width)),u}function Ln(e,o){const t=e.getAttribute(o);return!t||t==="auto"?{value:null,dim:"px"}:{value:parseFloat(t),dim:t.includes("%")?"%":"px"}}function wn(e){return e.tagName==="IMG"||e.tagName==="AMP-IMG"}var kn="em-mob-text_align-",Ki=":scope > tr > td, :scope > tbody > tr > td",Xi='div[style*="font-family"][style*="font-size"]';function _o(e){return e.querySelector(Ki)}function No(e){return e.querySelector(Xi)}function _n(e){const o=e.closest('table[em="atom"]');if(!o)return null;const t=_o(o);return t?{atomTd:t,textDiv:No(t)}:null}function vt(e){const o=e.closest("div, p, td");if(!o)return null;if(o.style.textAlign)return o;const t=_n(e);return t?t.textDiv?.hasAttribute("align")?t.textDiv:t.atomTd:o}function Nn(e){const o=vt(e);return o&&(o.style.textAlign||o.getAttribute("align"))||"left"}function Zi(e){const o=vt(e);if(!o)return"";for(const t of o.classList)if(t.startsWith("em-mob-text_align-"))return t.slice(18);return""}function Bo(e){return{value:Zi(e)}}function Ji(e,o,t=kn){const n=_n(e);if(n)for(const r of[n.atomTd,n.textDiv])r&&r!==o&&a.removeClassesByPrefix(r,t)}function Qi(e){const o=_o(e);if(!o)return null;const t=No(o);return t?.hasAttribute("align")?t:o}function el(e,o){e.querySelectorAll('[em="atom"]').forEach(t=>{const n=Qi(t);n&&o(n,t)})}function tl(e,o,t=kn){const n=_o(e),r=n?No(n):null;for(const i of[n,r])i&&i!==o&&a.removeClassesByPrefix(i,t)}function Jt(e,o,t){const n=a.getParentElementOfSelection()||e.elem,r=n.tagName==="EDITOR"&&n.firstChild?.nodeType===1?n.firstChild:n,i=e.elem.closest('[style*="font-family"], [style*="font-size"], [style*="line-height"]')||e.elem,l=r.style.fontFamily||r.style.fontSize||r.style.lineHeight||r.closest('[style*="font-family"], [style*="font-size"], [style*="line-height"]')?r:i,s=e.elem.closest('[style*="line-height"]')||l.querySelector('[style*="line-height"]')||l,c=n.closest('[class*="em-mob-font_size"]')||n.closest('[style*="font-size"]')||n,d=n.closest('[class*="em-mob-line_height"]')||n.closest('[style*="line-height"]')||n,u=a.getElementMobileProps({elem:c}),p=a.getElementMobileProps({elem:d}),m=Bn(e.elem,t),f=a.textHasStyle$1(r,"strong","b"),g=l!==r?a.textHasStyle$1(l,"strong","b"):!1,b=e.elem&&r&&e.elem.isConnected&&(r===e.elem||r.contains(e.elem))?a.textHasStyle$1(e.elem,"strong","b"):!1,h=f||g||b,y=a.isElementHasBold(l),E=h||y,S={type:"text",caption:o.TEXT,fontFamily:a.getFontFamilyFromElement$1(l.closest('[style*="font-family"]')||e.elem),fontSize:parseFloat(e.elem.closest('[style*="font-size"]')?.style.fontSize)||parseFloat(getComputedStyle(e.elem).fontSize),fontSizeDim:"px",lineHeight:a.getLineHeightInPixels$1(s),lineHeightDim:"px",textAlign:Nn(e.elem),textStrong:E,textItalic:a.textHasStyle$1(e.elem,"i","em")||!l.closest('[style*="font-style: normal"]')&&l.style?.fontStyle==="italic",textStrikethrough:a.textHasStyle$1(e.elem,"s","strike")||(l.style?.textDecoration?.includes("line-through")??!1),textUnderline:a.textHasStyle$1(e.elem,"u")||(l.style?.textDecoration?.includes("underline")??!1)||!l.style?.textDecoration&&(e.elem.tagName==="A"&&e.elem.hasAttribute("href")||a.hasLinkInSelection()),textColor:a.rgbToHex(e.elem.closest('[style*="color"]')?.style.color)||a.rgbToHex(getComputedStyle(e.elem).color)||"",textBackgroundColor:il(e.elem),mobileFontSize:{value:u.mobileFontSize,dim:u.mobileFontSizeDim||"px"},mobileLineHeight:{value:p.mobileLineHeight,dim:"px"},mobileTextAlign:Bo(e.elem),linkHref:(()=>{const v=l.closest("a");if(!v)return;const C=v.getAttribute("href");if(C!==null)return C})(),textAnchor:(()=>{const v=l.closest("a");if(v&&!v.hasAttribute("href"))return v.getAttribute("name")?.trim()||void 0})(),textLink:(()=>{const v=l.closest("a");return v?!!v.hasAttribute("href"):a.textHasStyle$1(e.elem,"a")||a.hasLinkInSelection()})(),textReplacer:t.variableElement(e.elem),list:m,standardList:Mn(e.elem),textSuperscript:a.textHasStyle$1(e.elem,"sup"),textSubscript:a.textHasStyle$1(e.elem,"sub")};return a.isShowOnMobile(n)&&(S.showOnMobile=!0),S}function Bn(e,o){const{isElementList:t,isElementListOL:n,isElementListUL:r,requestElemBullet:i}=o;if(!t)return{isList:!1,listType:"UL"};const l=e.closest("td");return{isList:!0,listType:n?"OL":"UL",bulletsColor:t&&i?a.rgbToHex(i.closest('[style*="color"]')?.style.color):"",betweenParagraphs:t&&parseInt(l?.style?.paddingBottom,10)||0,betweenRowCell:t&&parseInt(l?.style?.paddingLeft,10)||0,bulletFontSize:t&&i&&parseInt(i.style.fontSize,10)||0,bulletFontBold:t?i?.style.fontWeight==="bold":!1,bulletFontItalic:t?i?.style.fontStyle==="italic":!1,bulletFontFamily:n&&i?a.getFontFamilyFromElement$1(i):"",bulletFontUnderline:t?i?.style.textDecoration?.includes("underline")??!1:!1,bulletFontStrikethrough:t?i?.style.textDecoration?.includes("line-through")??!1:!1,bulletType:r&&i?i.innerHTML.replace(/\s| /g,""):""}}function Mn(e){return Xt(e)?{listTypeOL:!!e.querySelector("ol")||!!e.closest("ol"),listTypeUL:!!e.querySelector("ul")||!!e.closest("ul")}:{listTypeOL:!1,listTypeUL:!1}}function Mo(e){if(!e)return!1;const o=e.trim().toLowerCase();return o!=="transparent"&&o!=="inherit"}var ol=new Set(["A","B","EM","I","MARK","S","SMALL","SPAN","STRIKE","STRONG","SUB","SUP","U"]);function nl(e){let o=e;for(;o&&ol.has(o.tagName);){const t=o.style.backgroundColor;if(Mo(t))return t;o=o.parentElement}return""}function rl(e,o,t){let n=e;for(;n;){const r=n.style.getPropertyValue(o);if(Mo(r))return r;if(t&&n===t)break;n=n.parentElement}return""}function il(e){const o=nl(e);if(Mo(o))return a.rgbToHex(o)||"";if(e.closest(".em-element-custom-table"))return a.rgbToHex(a.findParentWithExplicitStyle(e,"background-color"))||"";const t=e.closest("div");return a.rgbToHex(rl(e,"background-color",t))||""}function ll(e){return e.tagName==="DIV"?!!(e.style.fontFamily&&e.style.fontSize&&e.style.lineHeight):e.tagName==="TD"?e.firstChild?.tagName==="EDITOR"||e.firstElementChild?.tagName==="EDITOR":!1}function al(e,o,t){const{findElementWithSelectedText:n,selectedText:r,variableElement:i,requestElemBullet:l,isElementList:s,isElementListOL:c,isElementListUL:d}=t,u=n(r,e.elem)||e.elem,p=e.elem.closest('[class*="em-mob-font_size"]')||e.elem.closest('[style*="font-size"]')||e.elem,m=e.elem.closest('[class*="em-mob-line_height"]')||e.elem.closest('[style*="line-height"]')||e.elem,f=a.getElementMobileProps({elem:p}),g=a.getElementMobileProps({elem:m}),b=Bn(e.elem,t),h={type:"text",caption:o.TEXT,linkHref:(()=>{const y=e.elem.getAttribute("href");if(y!==null)return y})(),textAnchor:(()=>{if(!e.elem.hasAttribute("href"))return e.elem.getAttribute("name")?.trim()||void 0})(),textLink:!!e.elem.hasAttribute("href"),target:e.elem.getAttribute("target")??"",fontFamily:a.getFontFamilyFromElement$1(e.elem),fontSize:parseFloat(e.elem.closest('[style*="font-size"]')?.style.fontSize)||0,fontSizeDim:"px",lineHeight:a.getLineHeightInPixels$1(e.elem),lineHeightDim:"px",textAlign:Nn(e.elem),textStrong:a.textHasStyle$1(u,"strong","b")||a.isElementHasBold(u),textItalic:a.textHasStyle$1(u,"i","em")||!e.elem.closest('[style*="font-style: normal"]')&&e.elem.style?.fontStyle==="italic",textStrikethrough:a.textHasStyle$1(u,"s","strike")||(e.elem.style?.textDecoration?.includes("line-through")??!1),textUnderline:a.textHasStyle$1(u,"u")||(e.elem.style?.textDecoration?.includes("underline")??!1)||!(e.elem.style?.textDecoration?.length>0)&&e.elem.tagName==="A"&&e.elem.hasAttribute("href"),textColor:a.rgbToHex(e.elem.tagName==="A"?a.findParentWithExplicitStyle(e.elem.querySelector('[style*="color"]'),"color"):a.findParentWithExplicitStyle(e.elem,"color"))||a.rgbToHex(getComputedStyle(e.elem).color)||"",textBackgroundColor:a.rgbToHex(e.elem.tagName==="A"?a.findParentWithExplicitStyle(e.elem.querySelector('[style*="background-color"]'),"background-color"):a.findParentWithExplicitStyle(e.elem,"background-color"))||"",mobileFontSize:{value:f.mobileFontSize,dim:f.mobileFontSizeDim||"px"},mobileLineHeight:{value:g.mobileLineHeight,dim:"px"},mobileTextAlign:Bo(e.elem),textReplacer:i(e.elem),list:b,standardList:Mn(e.elem),textSuperscript:a.textHasStyle$1(e.elem,"sup"),textSubscript:a.textHasStyle$1(e.elem,"sub")};return a.isShowOnMobile(e.elem)&&(h.showOnMobile=!0),h}function Ro(e){let o="";if(e.nodeType===Node.COMMENT_NODE&&e.nodeValue?.includes("[if mso]")){const t=e.nodeValue.replace(/^\[if mso\]>/i,"").replace(/<!\[endif\]$/i,"").trim();o+=t}return e.childNodes.forEach(t=>{o+=Ro(t)}),o}function Po(e,o,t={value:0}){e.nodeType===Node.COMMENT_NODE&&e.nodeValue?.includes("[if mso]")&&(t.value===0?e.nodeValue=`[if mso]>${o}<![endif]`:e.nodeValue="",t.value++),e.childNodes.forEach(n=>Po(n,o,t))}function sl(e,o){const t=e.getAttribute(o);return!t||t==="auto"?{value:null,dim:"px"}:{value:parseFloat(t),dim:t.includes("%")?"%":"px"}}function Rn(e,o){const t=e.style[o];return t?{value:parseFloat(t),dim:t.includes("%")?"%":"px"}:{value:null,dim:"px"}}function cl(e){return e===null||e==="auto"?null:typeof e=="number"?e:null}function dl(e){if(e.style.backgroundImage){const o=e.style.backgroundImage;return[{type:"url",value:o.substring(5,o.length-2)}]}return e.getAttribute("background")?[{type:"url",value:e.getAttribute("background")||""}]:[{type:"url",value:""}]}function ml(e,o){const t=e.elem;if(t.innerHTML==="")return{type:"emptyTable",caption:o.TABLE};t.setAttribute("em-edit","active");const n=a.getElementMobileProps({elem:t}),r={type:"table",caption:o.TABLE,backgroundColor:t.style.backgroundColor?a.rgbToHex(t.style.backgroundColor):"",backgroundImage:dl(t),backgroundPositionX:t.style.backgroundPositionX!=="initial"?t.style.backgroundPositionX:"",backgroundPositionY:t.style.backgroundPositionY!=="initial"?t.style.backgroundPositionY:"",backgroundRepeat:t.style.backgroundRepeat||"repeat",backgroundSize:t.style.backgroundSize||"auto",width:sl(t,"width"),maxWidth:Rn(t,"maxWidth"),minWidth:Rn(t,"minWidth"),align:t.getAttribute("align")??"",border:a.getElementBorder(t),boxShadow:a.getElementBoxShadow(t),borderRadius:a.getElementBorderRadius(t),mobileWidth:{value:cl(n.mobileWidth),dim:n.mobileWidthDim??"px"},mobileBorder:n.mobileBorder,mobileBorderRadius:n.mobileBorderRadius,mobileBoxShadow:n.mobileBoxShadow,show:n.show,mobileAlign:n.mobileAlign,mobileBackgroundColor:n.mobileBackgroundColor,mobileBackgroundImage:n.mobileBackgroundImage,mobileBackgroundPositionX:n.mobileBackgroundPositionX,mobileBackgroundPositionY:n.mobileBackgroundPositionY,mobileBackgroundRepeat:n.mobileBackgroundRepeat,exportAsPicture:t.getAttribute("em-operation")==="exportAsPicture",outlookBackground:a.hasElementVMLBackground(t,"around")};return a.isShowOnMobile(t)&&(r.showOnMobile=!0),r}function ul(e){return e.tagName==="TABLE"&&e.getAttribute("em")!=="atom"}function fl(e){return e.closest("em-replace")?.getAttribute("text")||null}var pl=()=>a.isInitialized()?a.getHtmlDocument():null,gl=()=>a.state.get("isProgrammaticSelection");function bl(e){if(!a.isElementLocked())try{a.incrementLock(),a.removeAllAttributes("em-edit");let o={};if(!e.elem)return;const t=hl(e.elem);if(!t)return;e.elem=t;const n=yl(e.elem);document.body.classList.contains("mceNonEditable")||El(e.elem),o=vl(e,n),o.type&&(o.operation="application_element_settings_set",a.messageService.send(o))}finally{a.decrementLock()}}function hl(e){const o=pl();return!o||!o.getMappedParent(e)?e:o.getVisibleNode(e)}function yl(e){const o=a.hasClosestTrWithClass(e,a.CLASS_NAME_OL),t=a.hasClosestTrWithClass(e,a.CLASS_NAME_UL),n=o||t,r=n?e.closest("tr")?.querySelector("td:first-child div:first-child"):null,i=document.querySelectorAll(`.${a.CLASS_NAME_OL}, .${a.CLASS_NAME_UL}`);return{isElementListOL:o,isElementListUL:t,isElementList:n,isCellCustomTable:!!e.closest(".em-element-custom-table"),bulletElem:r,totalListCount:i.length}}function Ho(e){return{variableElement:fl,requestElemBullet:e.bulletElem,isElementListOL:e.isElementListOL,isElementListUL:e.isElementListUL,isElementList:e.isElementList}}function El(e){const o=window.getSelection();(o?.isCollapsed||!o?.isCollapsed&&!e.querySelector("editor"))&&(a.removeAllAttributes("em-edit"),e.tagName!=="TABLE"&&(a.resolveActiveElement(e).setAttribute("em-edit","active"),Sl(e)),Cl(e))}function Sl(e){const o=e.closest("table");if(!o)return;for(const n of o.querySelectorAll('[contenteditable="true"]'))n.tagName!=="EDITOR"&&n.removeAttribute("contenteditable");const t=o.querySelector("editor");if(t){const n=t.firstChild;t.childNodes.length===1&&n?.nodeType===1&&n.tagName==="A"&&n.childNodes.length===1&&n.firstChild?.nodeType===3?n.setAttribute("contenteditable","true"):t.setAttribute("contenteditable","true")}}function Cl(e){const o=e.parentElement;o&&(o.querySelectorAll("strike, s").forEach(t=>{t.style.textDecoration="line-through"}),o.querySelectorAll("u").forEach(t=>{t.style.textDecoration="underline"}))}function vl(e,o){const t=e.elem;if(!(window.getSelection()?.isCollapsed??!0)&&!t.closest("a")&&!gl()&&!o.isCellCustomTable){const n=Ho(o);return{type:"text",caption:Locale.TEXT,settings:Jt(e,Locale,n)}}if(t.closest("amp-carousel"))return Al(e);if(t.tagName==="AMP-ACCORDION")return Tl(e);if(wn(t))return{type:Zt(e,Locale).type,caption:Zt(e,Locale).caption,settings:Zt(e,Locale)};if(!o.isCellCustomTable&&(t.tagName==="A"||t.tagName==="EM-REPLACE"&&t.closest("a")))return Ll(e,o);if(t.tagName==="TABLE"&&t.getAttribute("em")!=="atom")return wl(e);if(t.tagName==="LI"&&Xt(t)){const n=Ho(o);return{type:"text",caption:Locale.TEXT,settings:Jt(e,Locale,n)}}return o.isCellCustomTable?kl(e):t.tagName==="TD"?_l(e):t.closest(".em-vindent")?Nl(e):t.classList.contains("em-floatblock")||t.closest(".em-floatblock")?Bl(e):t.tagName==="DIV"?Ml(e,o):t.getAttribute("em")==="block"?Rl(e):{}}function Al(e){return{type:"carousel",caption:Locale.CAROUSEL,settings:{}}}function Tl(e){return{type:"accordion",caption:Locale.ACCORDION,settings:{}}}function Ll(e,o){const t=e.elem;if(t.style?.display==="block"||t.style?.display==="inline-block")return{type:"button",caption:Locale.BUTTON,settings:{}};const n=Ho(o);return{type:"text",caption:Locale.TEXT,settings:Jt(e,Locale,n)}}function wl(e){return e.elem.innerHTML===""?{type:"emptyTable",settings:{}}:{type:"table",caption:Locale.TABLE,settings:{}}}function kl(e){return{type:"customTable",caption:Locale.TABLE,settings:{}}}function _l(e){return{type:"td",caption:Locale.TABLE_COLUMN,settings:{}}}function Nl(e){return{type:"vindent",caption:Locale.VERTICAL_INDENT,settings:{}}}function Bl(e){return{type:"floatBlock",caption:Locale.FLOAT_BLOCK,settings:{}}}function Ml(e,o){return{type:"div",caption:Locale.CONTAINER,settings:{}}}function Rl(e){return{type:"structure",caption:Locale.STRUCTURE,settings:{}}}var Lg=Promise.resolve();function At(e){return!(!e.startsWith("#")||e.indexOf("#",1)!==-1)}var Pl=["em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top"],Hl=["em-atom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top"],Il=["em-blockatom-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top"];function Pn(){document.querySelectorAll(".em-block-insert").forEach(e=>{e.classList.remove(...Pl)})}function Ol(){document.querySelectorAll(".em-atom-insert").forEach(e=>{e.classList.remove(...Hl)})}function Qt(){document.querySelectorAll(".em-blockatom-insert").forEach(e=>{e.classList.remove(...Il)})}function Io(e,o){const t=e.getBoundingClientRect();return o>t.top+t.height/2?"bottom":"top"}function Hn(e,o){const t=e.getBoundingClientRect(),n=document.body.getBoundingClientRect();return o==="bottom"?t.bottom>n.height-21:t.top<2}function Oo(e,o,t){const n=t==="atom"?"em-atom-insert":"em-block-insert",r=t==="blockatom"?"em-blockatom-insert":n;if(e.classList.add(r),o==="bottom"){e.classList.remove(`${n}_top`,`${n}_top-document`);const i=Hn(e,"bottom")?`${n}_bottom-document`:`${n}_bottom`;e.classList.add(i)}else{e.classList.remove(`${n}_bottom`,`${n}_bottom-document`);const i=Hn(e,"top")?`${n}_top-document`:`${n}_top`;e.classList.add(i)}}function xo(e){return e.tagName==="TABLE"&&!e.innerHTML}function eo(e){return e.tagName==="TABLE"||e.tagName==="TR"?e.querySelector("[data-template-content]")??e.querySelector("td"):e}function In(e){if(!e?.length)return null;for(let o=0;o<e.length;o++){const t=e.item(o);if(t?.type.startsWith("image/"))return t}return null}function xl(e){if(!e?.items?.length)return null;for(let o=0;o<e.items.length;o++){const t=e.items[o];if(t.kind!=="file")continue;const n=t.getAsFile();if(n&&n.type.startsWith("image/"))return n}return null}function Dl(e){const o=In(e.dataTransfer?.files??null);return o||xl(e.dataTransfer??null)}function Do(e){const o=document.body?.parentElement??document.body;if(!o)return null;const t=document.elementFromPoint(e.clientX,e.clientY);if(!t)return null;const n=t.closest(".em-element-resize-img-container");if(n){const i=n.querySelector("img");if(i&&o.contains(i))return i}const r=t.closest("img");return!r||!o.contains(r)?null:r}function Tt(e){const o=e.dataTransfer?.types;return!!o&&Array.from(o).includes("Files")}function Fo(e){if(!Tt(e))return!1;const o=e.dataTransfer;if(!o)return!1;if(o.files?.length)return!!In(o.files);const t=o.items;if(!t?.length)return!0;for(let n=0;n<t.length;n++){const r=t[n];if(r.kind!=="file")continue;const i=r.type||"";if(i.startsWith("image/")||i==="")return!0}return!1}var On="em-native-img-drop-target",qo="em-native-img-uploading",Fl="em-native-img-drop-loading",to="em-native-file-drag",Lt=null,Qe=null;function xn(){Qe&&(window.removeEventListener("scroll",Qe.reposition,!0),window.removeEventListener("resize",Qe.reposition),Qe.resizeObserver?.disconnect(),Qe.overlay.remove(),Qe=null)}function ql(e){xn();const o=document.createElement("div");o.className="em-native-img-upload-spin-overlay",o.setAttribute("aria-hidden","true");const t=document.createElement("div");t.className="em-native-img-upload-spin",o.appendChild(t),document.body.appendChild(o);const n=()=>{const i=e.getBoundingClientRect();o.style.left=`${Math.round(i.left)}px`,o.style.top=`${Math.round(i.top)}px`,o.style.width=`${Math.max(Math.round(i.width),1)}px`,o.style.height=`${Math.max(Math.round(i.height),1)}px`};n(),window.addEventListener("scroll",n,!0),window.addEventListener("resize",n);let r=null;typeof ResizeObserver<"u"&&(r=new ResizeObserver(()=>n()),r.observe(e)),Qe={overlay:o,reposition:n,resizeObserver:r}}function Wo(){Lt&&(Lt.classList.remove(On),Lt=null)}function et(){document.body.classList.remove(to),Wo()}function Wl(e){if(!Tt(e)){et();return}if(!Fo(e)){et();return}document.body.classList.add(to);const o=Do(e);if(!o){Wo();return}Lt!==o&&(Wo(),Lt=o,o.classList.add(On))}function Dn(){xn(),document.body.classList.remove(Fl),document.body.classList.remove(to),document.querySelectorAll(`.${qo}`).forEach(e=>{e.classList.remove(qo)})}function $l(e,o){if(o.lockEditor||!Tt(e))return!1;const t=Dl(e);if(!t)return!1;const n=Do(e);return n?(o.applicationElementSettingsSet({elem:n}),et(),n.classList.add(qo),ql(n),o.messageService.send({operation:a.EVENT_TYPES.APPLICATION_NATIVE_IMAGE_DROP,file:t}),!0):!1}function zl(e,o){if(o.lockEditor)return;document.body.classList.contains("em-block-insert-body")||o.messageService.send({operation:"application_scroll-block-show"});const t=e.target;t.getAttribute("em")==="atom"&&(document.body.classList.add("em-atom-insert-body-inside"),o.commit(!1),o.mutableState.atomReplaced=t)}function Vl(e,o){o.lockEditor||(et(),e.preventDefault(),o.messageService.send({operation:"application_scroll-block-hide"}))}function Ul(e,o){if(e.preventDefault(),o.lockEditor){et();return}Tt(e)?(Fo(e)&&Do(e)&&(e.dataTransfer.dropEffect="copy"),Wl(e)):et();const t=e.target;if(document.body.classList.contains("em-block-insert-body")){const n=xo(t)?null:t.closest('[em="block"]');if(n){o.mutableState.targetBlock=n;const r=eo(n);r&&Oo(r,Io(r,e.pageY),"block")}else Pn()}else if(document.body.classList.contains("em-atom-insert-body")){const n=t.closest('[em="atom"]');if(n&&n.innerHTML.trim())o.mutableState.targetBlock=n,Oo(n,Io(n,e.pageY),"atom"),Qt();else if(t.closest('[em="block"]')&&t.tagName==="TD"&&!t.innerHTML&&!t.hasAttribute("height")||t.tagName==="DIV"&&t.closest("amp-accordion")&&!t.innerHTML)Qt();else{const r=t.closest('[em="block"]');if(r){o.mutableState.targetBlock=r;const i=eo(r);i&&(Oo(i,Io(i,e.pageY),"blockatom"),Ol())}}}}function jl(e,o){if(o.lockEditor)return;Tt(e)&&Fo(e)&&document.body.classList.add(to);const t=e.target;if(document.body.classList.contains("em-block-insert-body")){document.querySelectorAll(".em-block-insert-empty").forEach(r=>{r.classList.remove("em-block-insert-empty")});const n=t.closest('[em="block"]');xo(t)?(t.classList.add("em-block-insert-empty"),Pn()):n&&(o.mutableState.targetBlock=n)}else if(document.body.classList.contains("em-atom-insert-body")||document.body.classList.contains("em-atom-insert-body-inside")){document.querySelectorAll(".em-atom-insert-empty").forEach(i=>{i.classList.remove("em-atom-insert-empty")});const n=t.closest('[em="atom"]');n&&n.innerHTML.trim()?(o.mutableState.targetBlock=n,document.querySelectorAll(".em-atom-insert, .em-blockatom-insert").forEach(i=>{i.classList.remove("em-atom-insert","em-blockatom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top")})):t.closest('[em="block"]')&&t.tagName==="TD"&&!t.innerHTML&&!t.hasAttribute("height")&&t.parentElement&&[...t.parentElement.children].indexOf(t)%2===0||t.tagName==="DIV"&&t.closest("amp-accordion")&&!t.innerHTML?(t.classList.add("em-atom-insert-empty"),document.querySelectorAll(".em-atom-insert, .em-blockatom-insert").forEach(i=>{i.classList.remove("em-atom-insert","em-blockatom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top")})):document.querySelectorAll(".em-atom-insert").forEach(i=>{i.classList.remove("em-atom-insert","em-blockatom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top")}),document.querySelectorAll(".em-block-insert-empty").forEach(i=>{i.classList.remove("em-block-insert-empty")});const r=t.closest('[em="block"]');xo(t)?(t.classList.add("em-block-insert-empty"),Qt()):r?o.mutableState.targetBlock=r:Qt()}}function Gl(e,o){if(o.lockEditor)return;const t=e.target;if(document.body.classList.contains("em-block-insert-body")){const n=e.relatedTarget,r=t.closest('[em="block"]');if(n&&r&&r.contains(n))return;o.mutableState.newTargetblock=t.closest('[em="block"]'),o.mutableState.newTargetblock&&(t.closest('[em="block"]')&&(o.mutableState.newTargetblock!==o.mutableState.targetBlock||o.mutableState.newTargetblock.closest('[em="group"]')!==o.mutableState.targetBlock?.closest('[em="group"]'))?o.mutableState.newTargetblock.tagName==="DIV"?o.mutableState.newTargetblock.classList.remove("em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top"):o.mutableState.newTargetblock.querySelectorAll(".em-block-insert").forEach(i=>{i.classList.remove("em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")}):document.querySelectorAll(".em-block-insert-empty").forEach(i=>{i.classList.remove("em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")}))}else if(document.body.classList.contains("em-atom-insert-body")){const n=e.relatedTarget,r=t.closest('[em="atom"]');if(n&&r&&r.contains(n))return;const i=t.closest('[em="block"]');if(n&&i&&i.contains(n))return;o.mutableState.newTargetblock=t.closest('[em="atom"]'),o.mutableState.newTargetblock&&(t.getAttribute("em")==="atom"&&o.mutableState.newTargetblock!==o.mutableState.targetBlock?o.mutableState.newTargetblock.classList.remove("em-atom-insert","em-blockatom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top"):document.querySelectorAll(".em-atom-insert-empty").forEach(s=>{s.classList.remove("em-atom-insert","em-blockatom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top")}));const l=t.closest('[em="block"]');l&&(t.closest('[em="block"]')&&(l!==o.mutableState.targetBlock||l.closest('[em="group"]')!==o.mutableState.targetBlock?.closest('[em="group"]'))?l.tagName==="DIV"?l.classList.remove("em-atom-insert","em-blockatom-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top"):l.querySelectorAll(".em-blockatom-insert").forEach(s=>{s.classList.remove("em-atom-insert","em-blockatom-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")}):document.querySelectorAll(".em-block-insert-empty").forEach(s=>{s.classList.remove("em-atom-insert","em-blockatom-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")}))}}function Yl(e,o,t){if(!e)return;let n=document.head.querySelector('style[em="styles"]'),r="";n?r=t.HTMLDocument.getInnerHtml(n):(n=document.createElement("style"),n.setAttribute("em","styles"),n=document.head.insertAdjacentElement("beforeend",n));const i=document.createElement("div");o&&(e=e.replace(/(max-device-width:|max-width:)\d+px/g,s=>s.replace(/\d+/,String(o)))),i.insertAdjacentHTML("afterbegin",e);let l=t.minify(r+`
|
|
1
|
+
__useblocks__.define("js/iframe.js",["require","exports","module","js/rolldown-runtime.BRlIiq3h.js","js/discussHandlers.Ced_gtP0.js"],function(Lo,Ag,Tg){const xi=Lo("./rolldown-runtime.BRlIiq3h.js"),a=Lo("./discussHandlers.Ced_gtP0.js");var Ct=null;function wo(e){const o=window.getSelection();if(o&&o.rangeCount>0){const t=o.getRangeAt(0);if(e.contains(t.startContainer))return{container:t.startContainer,offset:t.startOffset}}return Ct&&Ct.container.isConnected&&e.contains(Ct.container)?Ct:null}function Di(e){const o=[],t=Array.from(e.childNodes);let n=[],r=0;return t.forEach((i,l)=>{i.nodeType===Node.ELEMENT_NODE&&i.tagName==="BR"?(n.length>0&&o.push({html:Kt(n),nodes:[...n],startIndex:r,endIndex:l-1}),n=[],r=l+1):n.push(i)}),n.length>0&&o.push({html:Kt(n),nodes:[...n],startIndex:r,endIndex:t.length-1}),o}function Fi(e){const o=[],t=Array.from(e.childNodes);let n=[],r=0;const i=s=>{n.length>0&&(o.push({html:Kt(n),nodes:[...n],startIndex:r,endIndex:s-1}),n=[])},l=s=>s.nodeType===Node.ELEMENT_NODE&&(s.tagName==="UL"||s.tagName==="OL");return t.forEach((s,c)=>{s.nodeType===Node.ELEMENT_NODE&&s.tagName==="BR"?(i(c),r=c+1):l(s)?(i(c),o.push({html:Kt([s]),nodes:[s],startIndex:c,endIndex:c}),r=c+1):n.push(s)}),i(t.length),o}function Kt(e){const o=document.createElement("div");return e.forEach(t=>o.appendChild(t.cloneNode(!0))),o.innerHTML}function ko(e,o){const t=wo(o);if(!t)return 0;const n=t.container;if(!o.contains(n))return 0;for(let r=0;r<e.length;r++)for(const i of e[r].nodes)if(i===n||i.contains(n))return r;if(n===o){const r=t.offset;for(let i=0;i<e.length;i++)if(r>=e[i].startIndex&&r<=e[i].endIndex)return i;for(let i=0;i<e.length;i++)if(r===e[i].startIndex)return i;for(let i=0;i<e.length;i++)if(e[i].startIndex>=r)return i;if(e.length>0)return e.length-1}return 0}function vn(e,o,t,n){if(!t.contains(o))return n;for(let r=0;r<e.length;r++)for(const i of e[r].nodes)if(i===o||i.contains(o))return r;return n}function qi(e,o){const t=window.getSelection();if(!t||t.rangeCount===0){const s=ko(e,o);return{start:s,end:s}}const n=t.getRangeAt(0);if(n.collapsed){const s=ko(e,o);return{start:s,end:s}}const r=ko(e,o),i=vn(e,n.startContainer,o,r),l=vn(e,n.endContainer,o,r);return{start:Math.min(i,l),end:Math.max(i,l)}}function Wi(e){return e.querySelector("br")!==null}function $i(e){const o=wo(e);if(!o)return null;const t=o.container.nodeType===Node.ELEMENT_NODE?o.container:o.container.parentElement;if(!t)return null;const n=t.closest("ol, ul");return n&&e.contains(n)?n:null}function zi(e){const o=wo(e);if(!o)return;const{container:t,offset:n}=o;if(t!==e)return;const r=Array.from(e.childNodes),i=n>0?r[n-1]:null,l=n<r.length?r[n]:null,s=b=>b!==null&&b.nodeType===Node.ELEMENT_NODE&&b.tagName==="BR",c=b=>b!==null&&b.nodeType===Node.TEXT_NODE&&b.data.trim()==="",d=s(i),u=s(l),g=c(l),m=n>=r.length;if(!(d&&u||d&&m||n===0&&u||d&&g))return;let f;g?(f=l,f.data=" "):(f=document.createTextNode(" "),l?e.insertBefore(f,l):e.appendChild(f));const p=window.getSelection();if(p){const b=document.createRange();b.setStart(f,0),b.collapse(!0),p.removeAllRanges(),p.addRange(b)}Ct={container:f,offset:0}}function Vi(e,o){const t=o?"ol":"ul";if(e.querySelector("ol, ul")){const n=$i(e);if(n){if(n.tagName.toLowerCase()===t)return;const l=document.createElement(t);for(Array.from(n.attributes).forEach(s=>{s.name!=="style"&&l.setAttribute(s.name,s.value)}),l.setAttribute("style",a.STANDARD_LIST_STYLES.LIST);n.firstChild;)l.appendChild(n.firstChild);n.parentNode?.replaceChild(l,n);return}const r=e.querySelector(":scope > ol, :scope > ul"),i=Array.from(e.childNodes).some(l=>l.nodeType===Node.ELEMENT_NODE&&l.tagName==="BR");if(r&&!i){if(r.tagName.toLowerCase()===t)return;const l=document.createElement(t);for(Array.from(r.attributes).forEach(s=>{s.name!=="style"&&l.setAttribute(s.name,s.value)}),l.setAttribute("style",a.STANDARD_LIST_STYLES.LIST);r.firstChild;)l.appendChild(r.firstChild);r.parentNode?.replaceChild(l,r);return}}Wi(e)||e.querySelector(":scope > ol, :scope > ul")?(zi(e),Ui(e,t)):An(e,t)}function An(e,o){const t=document.createElement(o);t.setAttribute("style",a.STANDARD_LIST_STYLES.LIST);const n=document.createElement("li");n.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM);const r=e.innerHTML.trim();r?n.innerHTML=r:n.innerHTML=" ",t.appendChild(n),e.innerHTML="",e.appendChild(t),Tn(n)}function Ui(e,o){const t=Fi(e);if(t.length===0){An(e,o);return}const{start:n,end:r}=qi(t,e),i=document.createElement(o);i.setAttribute("style",a.STANDARD_LIST_STYLES.LIST);let l=null;for(let d=n;d<=r;d++){const u=document.createElement("li");u.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM),u.innerHTML=t[d].html.trim()||" ",i.appendChild(u),l=u}const s=t.slice(0,n).map(d=>d.html).join("<br>"),c=t.slice(r+1).map(d=>d.html).join("<br>");if(e.innerHTML="",s.trim()){const d=document.createElement("span");for(d.innerHTML=s;d.firstChild;)e.appendChild(d.firstChild);e.appendChild(document.createElement("br"))}if(e.appendChild(i),c.trim()){e.appendChild(document.createElement("br"));const d=document.createElement("span");for(d.innerHTML=c;d.firstChild;)e.appendChild(d.firstChild)}l&&Tn(l)}function Tn(e){try{const o=window.getSelection();if(o){const t=document.createRange();t.selectNodeContents(e),t.collapse(!0),o.removeAllRanges(),o.addRange(t)}}catch{}}function ji(e,o){let t=0;const n=Array.from(e.childNodes);for(const r of n){if(r===o)return t;r.nodeType===Node.ELEMENT_NODE&&r.tagName==="BR"&&t++}return t}function Gi(e,o){const t=Di(e);if(o<0||o>=t.length)return;const n=t[o];if(n.nodes.length!==0)try{const r=window.getSelection();if(!r)return;const i=n.nodes[0],l=document.createRange();if(i.nodeType===Node.TEXT_NODE)l.setStart(i,0),l.collapse(!0);else if(i.nodeType===Node.ELEMENT_NODE)l.selectNodeContents(i),l.collapse(!0);else return;r.removeAllRanges(),r.addRange(l)}catch{}}function Yi(e){const o=e.querySelector("ol, ul");if(!o)return;const t=ji(e,o),n=o.querySelectorAll("li"),r=[];n.forEach(l=>{const s=l.innerHTML.trim();s&&s!==" "&&r.push(s)});const i=r.join("<br>");i?o.outerHTML=i:o.outerHTML=" ",Gi(e,t)}function Xt(e){if(!e)return!1;const o=e.closest("ul, ol");return o?!o.closest(a.TABLE_LIST_SELECTOR):!1}function Zt(e,o){const t=a.resolveActiveElement(e.elem),n=t.getAttribute("src"),r=a.getElementMobileProps({elem:t}),i=t.closest("td"),l=i?a.getElementMobileProps({elem:i}):null;let s="img",c=o.PICTURE;e.elem.classList.contains("em-countdown")?(s="countdown",c=o.COUNTDOWN):e.elem.classList.contains("em-video")&&(s="video",c=o.VIDEO);const d=g=>g===null||g==="auto"?null:typeof g=="number"?g:null,u={type:s,caption:c,src:n??"",width:Ln(t,"width"),height:Ln(t,"height"),alt:t.getAttribute("alt")??"",title:t.getAttribute("title")??"",align:i?.getAttribute("align")??"undefined",valign:t.style?.verticalAlign??"undefined",border:a.getElementBorder(t),borderRadius:a.getElementBorderRadius(t),boxShadow:a.getElementBoxShadow(t),mobileWidth:{value:d(r.mobileWidth),dim:r.mobileWidthDim??"px"},mobileHeight:{value:d(r.mobileHeight),dim:r.mobileHeightDim??"px"},mobileBorder:r.mobileBorder,mobileBorderRadius:r.mobileBorderRadius,mobileBoxShadow:r.mobileBoxShadow,mobileAlign:l?.mobileAlign,mobileVerticalAlign:r.mobileVerticalAlign,show:r.show,link:t.closest("a")?.getAttribute("href")??null,renderedWidth:Math.round(e.elem.getBoundingClientRect().width),renderedHeight:Math.round(e.elem.getBoundingClientRect().height),imgReplacer:t.closest("em-replace")?.getAttribute("src")??""};if(s==="countdown"&&(u.countdown=e.elem.getAttribute("em-cd-settings")??void 0),s==="video"){const g=e.elem.getAttribute("em-video-settings");if(g)try{u.video=JSON.parse(g.replaceAll("'",'"'))}catch{u.video={}}}return a.isShowOnMobile(e.elem)&&(u.showOnMobile=!0),i&&(u.maxWidth=Math.round(i.getBoundingClientRect().width)),u}function Ln(e,o){const t=e.getAttribute(o);return!t||t==="auto"?{value:null,dim:"px"}:{value:parseFloat(t),dim:t.includes("%")?"%":"px"}}function wn(e){return e.tagName==="IMG"||e.tagName==="AMP-IMG"}var kn="em-mob-text_align-",Ki=":scope > tr > td, :scope > tbody > tr > td",Xi='div[style*="font-family"][style*="font-size"]';function _o(e){return e.querySelector(Ki)}function No(e){return e.querySelector(Xi)}function _n(e){const o=e.closest('table[em="atom"]');if(!o)return null;const t=_o(o);return t?{atomTd:t,textDiv:No(t)}:null}function vt(e){const o=e.closest("div, p, td");if(!o)return null;if(o.style.textAlign)return o;const t=_n(e);return t?t.textDiv?.hasAttribute("align")?t.textDiv:t.atomTd:o}function Nn(e){const o=vt(e);return o&&(o.style.textAlign||o.getAttribute("align"))||"left"}function Zi(e){const o=vt(e);if(!o)return"";for(const t of o.classList)if(t.startsWith("em-mob-text_align-"))return t.slice(18);return""}function Bo(e){return{value:Zi(e)}}function Ji(e,o,t=kn){const n=_n(e);if(n)for(const r of[n.atomTd,n.textDiv])r&&r!==o&&a.removeClassesByPrefix(r,t)}function Qi(e){const o=_o(e);if(!o)return null;const t=No(o);return t?.hasAttribute("align")?t:o}function el(e,o){e.querySelectorAll('[em="atom"]').forEach(t=>{const n=Qi(t);n&&o(n,t)})}function tl(e,o,t=kn){const n=_o(e),r=n?No(n):null;for(const i of[n,r])i&&i!==o&&a.removeClassesByPrefix(i,t)}function Jt(e,o,t){const n=a.getParentElementOfSelection()||e.elem,r=n.tagName==="EDITOR"&&n.firstChild?.nodeType===1?n.firstChild:n,i=e.elem.closest('[style*="font-family"], [style*="font-size"], [style*="line-height"]')||e.elem,l=r.style.fontFamily||r.style.fontSize||r.style.lineHeight||r.closest('[style*="font-family"], [style*="font-size"], [style*="line-height"]')?r:i,s=e.elem.closest('[style*="line-height"]')||l.querySelector('[style*="line-height"]')||l,c=n.closest('[class*="em-mob-font_size"]')||n.closest('[style*="font-size"]')||n,d=n.closest('[class*="em-mob-line_height"]')||n.closest('[style*="line-height"]')||n,u=a.getElementMobileProps({elem:c}),g=a.getElementMobileProps({elem:d}),m=Bn(e.elem,t),f=a.textHasStyle$1(r,"strong","b"),p=l!==r?a.textHasStyle$1(l,"strong","b"):!1,b=e.elem&&r&&e.elem.isConnected&&(r===e.elem||r.contains(e.elem))?a.textHasStyle$1(e.elem,"strong","b"):!1,h=f||p||b,y=a.isElementHasBold(l),E=h||y,S={type:"text",caption:o.TEXT,fontFamily:a.getFontFamilyFromElement$1(l.closest('[style*="font-family"]')||e.elem),fontSize:parseFloat(e.elem.closest('[style*="font-size"]')?.style.fontSize)||parseFloat(getComputedStyle(e.elem).fontSize),fontSizeDim:"px",lineHeight:a.getLineHeightInPixels$1(s),lineHeightDim:"px",textAlign:Nn(e.elem),textStrong:E,textItalic:a.textHasStyle$1(e.elem,"i","em")||!l.closest('[style*="font-style: normal"]')&&l.style?.fontStyle==="italic",textStrikethrough:a.textHasStyle$1(e.elem,"s","strike")||(l.style?.textDecoration?.includes("line-through")??!1),textUnderline:a.textHasStyle$1(e.elem,"u")||(l.style?.textDecoration?.includes("underline")??!1)||!l.style?.textDecoration&&(e.elem.tagName==="A"&&e.elem.hasAttribute("href")||a.hasLinkInSelection()),textColor:a.rgbToHex(e.elem.closest('[style*="color"]')?.style.color)||a.rgbToHex(getComputedStyle(e.elem).color)||"",textBackgroundColor:il(e.elem),mobileFontSize:{value:u.mobileFontSize,dim:u.mobileFontSizeDim||"px"},mobileLineHeight:{value:g.mobileLineHeight,dim:"px"},mobileTextAlign:Bo(e.elem),linkHref:(()=>{const v=l.closest("a");if(!v)return;const C=v.getAttribute("href");if(C!==null)return C})(),textAnchor:(()=>{const v=l.closest("a");if(v&&!v.hasAttribute("href"))return v.getAttribute("name")?.trim()||void 0})(),textLink:(()=>{const v=l.closest("a");return v?!!v.hasAttribute("href"):a.textHasStyle$1(e.elem,"a")||a.hasLinkInSelection()})(),textReplacer:t.variableElement(e.elem),list:m,standardList:Mn(e.elem),textSuperscript:a.textHasStyle$1(e.elem,"sup"),textSubscript:a.textHasStyle$1(e.elem,"sub")};return a.isShowOnMobile(n)&&(S.showOnMobile=!0),S}function Bn(e,o){const{isElementList:t,isElementListOL:n,isElementListUL:r,requestElemBullet:i}=o;if(!t)return{isList:!1,listType:"UL"};const l=e.closest("td");return{isList:!0,listType:n?"OL":"UL",bulletsColor:t&&i?a.rgbToHex(i.closest('[style*="color"]')?.style.color):"",betweenParagraphs:t&&parseInt(l?.style?.paddingBottom,10)||0,betweenRowCell:t&&parseInt(l?.style?.paddingLeft,10)||0,bulletFontSize:t&&i&&parseInt(i.style.fontSize,10)||0,bulletFontBold:t?i?.style.fontWeight==="bold":!1,bulletFontItalic:t?i?.style.fontStyle==="italic":!1,bulletFontFamily:n&&i?a.getFontFamilyFromElement$1(i):"",bulletFontUnderline:t?i?.style.textDecoration?.includes("underline")??!1:!1,bulletFontStrikethrough:t?i?.style.textDecoration?.includes("line-through")??!1:!1,bulletType:r&&i?i.innerHTML.replace(/\s| /g,""):""}}function Mn(e){return Xt(e)?{listTypeOL:!!e.querySelector("ol")||!!e.closest("ol"),listTypeUL:!!e.querySelector("ul")||!!e.closest("ul")}:{listTypeOL:!1,listTypeUL:!1}}function Mo(e){if(!e)return!1;const o=e.trim().toLowerCase();return o!=="transparent"&&o!=="inherit"}var ol=new Set(["A","B","EM","I","MARK","S","SMALL","SPAN","STRIKE","STRONG","SUB","SUP","U"]);function nl(e){let o=e;for(;o&&ol.has(o.tagName);){const t=o.style.backgroundColor;if(Mo(t))return t;o=o.parentElement}return""}function rl(e,o,t){let n=e;for(;n;){const r=n.style.getPropertyValue(o);if(Mo(r))return r;if(t&&n===t)break;n=n.parentElement}return""}function il(e){const o=nl(e);if(Mo(o))return a.rgbToHex(o)||"";if(e.closest(".em-element-custom-table"))return a.rgbToHex(a.findParentWithExplicitStyle(e,"background-color"))||"";const t=e.closest("div");return a.rgbToHex(rl(e,"background-color",t))||""}function ll(e){return e.tagName==="DIV"?!!(e.style.fontFamily&&e.style.fontSize&&e.style.lineHeight):e.tagName==="TD"?e.firstChild?.tagName==="EDITOR"||e.firstElementChild?.tagName==="EDITOR":!1}function al(e,o,t){const{findElementWithSelectedText:n,selectedText:r,variableElement:i,requestElemBullet:l,isElementList:s,isElementListOL:c,isElementListUL:d}=t,u=n(r,e.elem)||e.elem,g=e.elem.closest('[class*="em-mob-font_size"]')||e.elem.closest('[style*="font-size"]')||e.elem,m=e.elem.closest('[class*="em-mob-line_height"]')||e.elem.closest('[style*="line-height"]')||e.elem,f=a.getElementMobileProps({elem:g}),p=a.getElementMobileProps({elem:m}),b=Bn(e.elem,t),h={type:"text",caption:o.TEXT,linkHref:(()=>{const y=e.elem.getAttribute("href");if(y!==null)return y})(),textAnchor:(()=>{if(!e.elem.hasAttribute("href"))return e.elem.getAttribute("name")?.trim()||void 0})(),textLink:!!e.elem.hasAttribute("href"),target:e.elem.getAttribute("target")??"",fontFamily:a.getFontFamilyFromElement$1(e.elem),fontSize:parseFloat(e.elem.closest('[style*="font-size"]')?.style.fontSize)||0,fontSizeDim:"px",lineHeight:a.getLineHeightInPixels$1(e.elem),lineHeightDim:"px",textAlign:Nn(e.elem),textStrong:a.textHasStyle$1(u,"strong","b")||a.isElementHasBold(u),textItalic:a.textHasStyle$1(u,"i","em")||!e.elem.closest('[style*="font-style: normal"]')&&e.elem.style?.fontStyle==="italic",textStrikethrough:a.textHasStyle$1(u,"s","strike")||(e.elem.style?.textDecoration?.includes("line-through")??!1),textUnderline:a.textHasStyle$1(u,"u")||(e.elem.style?.textDecoration?.includes("underline")??!1)||!(e.elem.style?.textDecoration?.length>0)&&e.elem.tagName==="A"&&e.elem.hasAttribute("href"),textColor:a.rgbToHex(e.elem.tagName==="A"?a.findParentWithExplicitStyle(e.elem.querySelector('[style*="color"]'),"color"):a.findParentWithExplicitStyle(e.elem,"color"))||a.rgbToHex(getComputedStyle(e.elem).color)||"",textBackgroundColor:a.rgbToHex(e.elem.tagName==="A"?a.findParentWithExplicitStyle(e.elem.querySelector('[style*="background-color"]'),"background-color"):a.findParentWithExplicitStyle(e.elem,"background-color"))||"",mobileFontSize:{value:f.mobileFontSize,dim:f.mobileFontSizeDim||"px"},mobileLineHeight:{value:p.mobileLineHeight,dim:"px"},mobileTextAlign:Bo(e.elem),textReplacer:i(e.elem),list:b,standardList:Mn(e.elem),textSuperscript:a.textHasStyle$1(e.elem,"sup"),textSubscript:a.textHasStyle$1(e.elem,"sub")};return a.isShowOnMobile(e.elem)&&(h.showOnMobile=!0),h}function Ro(e){let o="";if(e.nodeType===Node.COMMENT_NODE&&e.nodeValue?.includes("[if mso]")){const t=e.nodeValue.replace(/^\[if mso\]>/i,"").replace(/<!\[endif\]$/i,"").trim();o+=t}return e.childNodes.forEach(t=>{o+=Ro(t)}),o}function Po(e,o,t={value:0}){e.nodeType===Node.COMMENT_NODE&&e.nodeValue?.includes("[if mso]")&&(t.value===0?e.nodeValue=`[if mso]>${o}<![endif]`:e.nodeValue="",t.value++),e.childNodes.forEach(n=>Po(n,o,t))}function sl(e,o){const t=e.getAttribute(o);return!t||t==="auto"?{value:null,dim:"px"}:{value:parseFloat(t),dim:t.includes("%")?"%":"px"}}function Rn(e,o){const t=e.style[o];return t?{value:parseFloat(t),dim:t.includes("%")?"%":"px"}:{value:null,dim:"px"}}function cl(e){return e===null||e==="auto"?null:typeof e=="number"?e:null}function dl(e){if(e.style.backgroundImage){const o=e.style.backgroundImage;return[{type:"url",value:o.substring(5,o.length-2)}]}return e.getAttribute("background")?[{type:"url",value:e.getAttribute("background")||""}]:[{type:"url",value:""}]}function ml(e,o){const t=e.elem;if(t.innerHTML==="")return{type:"emptyTable",caption:o.TABLE};t.setAttribute("em-edit","active");const n=a.getElementMobileProps({elem:t}),r={type:"table",caption:o.TABLE,backgroundColor:t.style.backgroundColor?a.rgbToHex(t.style.backgroundColor):"",backgroundImage:dl(t),backgroundPositionX:t.style.backgroundPositionX!=="initial"?t.style.backgroundPositionX:"",backgroundPositionY:t.style.backgroundPositionY!=="initial"?t.style.backgroundPositionY:"",backgroundRepeat:t.style.backgroundRepeat||"repeat",backgroundSize:t.style.backgroundSize||"auto",width:sl(t,"width"),maxWidth:Rn(t,"maxWidth"),minWidth:Rn(t,"minWidth"),align:t.getAttribute("align")??"",border:a.getElementBorder(t),boxShadow:a.getElementBoxShadow(t),borderRadius:a.getElementBorderRadius(t),mobileWidth:{value:cl(n.mobileWidth),dim:n.mobileWidthDim??"px"},mobileBorder:n.mobileBorder,mobileBorderRadius:n.mobileBorderRadius,mobileBoxShadow:n.mobileBoxShadow,show:n.show,mobileAlign:n.mobileAlign,mobileBackgroundColor:n.mobileBackgroundColor,mobileBackgroundImage:n.mobileBackgroundImage,mobileBackgroundPositionX:n.mobileBackgroundPositionX,mobileBackgroundPositionY:n.mobileBackgroundPositionY,mobileBackgroundRepeat:n.mobileBackgroundRepeat,mobileBackgroundSize:n.mobileBackgroundSize,exportAsPicture:t.getAttribute("em-operation")==="exportAsPicture",outlookBackground:a.hasElementVMLBackground(t,"around")};return a.isShowOnMobile(t)&&(r.showOnMobile=!0),r}function ul(e){return e.tagName==="TABLE"&&e.getAttribute("em")!=="atom"}function fl(e){return e.closest("em-replace")?.getAttribute("text")||null}var pl=()=>a.isInitialized()?a.getHtmlDocument():null,gl=()=>a.state.get("isProgrammaticSelection");function bl(e){if(!a.isElementLocked())try{a.incrementLock(),a.removeAllAttributes("em-edit");let o={};if(!e.elem)return;const t=hl(e.elem);if(!t)return;e.elem=t;const n=yl(e.elem);document.body.classList.contains("mceNonEditable")||El(e.elem),o=vl(e,n),o.type&&(o.operation="application_element_settings_set",a.messageService.send(o))}finally{a.decrementLock()}}function hl(e){const o=pl();return!o||!o.getMappedParent(e)?e:o.getVisibleNode(e)}function yl(e){const o=a.hasClosestTrWithClass(e,a.CLASS_NAME_OL),t=a.hasClosestTrWithClass(e,a.CLASS_NAME_UL),n=o||t,r=n?e.closest("tr")?.querySelector("td:first-child div:first-child"):null,i=document.querySelectorAll(`.${a.CLASS_NAME_OL}, .${a.CLASS_NAME_UL}`);return{isElementListOL:o,isElementListUL:t,isElementList:n,isCellCustomTable:!!e.closest(".em-element-custom-table"),bulletElem:r,totalListCount:i.length}}function Ho(e){return{variableElement:fl,requestElemBullet:e.bulletElem,isElementListOL:e.isElementListOL,isElementListUL:e.isElementListUL,isElementList:e.isElementList}}function El(e){const o=window.getSelection();(o?.isCollapsed||!o?.isCollapsed&&!e.querySelector("editor"))&&(a.removeAllAttributes("em-edit"),e.tagName!=="TABLE"&&(a.resolveActiveElement(e).setAttribute("em-edit","active"),Sl(e)),Cl(e))}function Sl(e){const o=e.closest("table");if(!o)return;for(const n of o.querySelectorAll('[contenteditable="true"]'))n.tagName!=="EDITOR"&&n.removeAttribute("contenteditable");const t=o.querySelector("editor");if(t){const n=t.firstChild;t.childNodes.length===1&&n?.nodeType===1&&n.tagName==="A"&&n.childNodes.length===1&&n.firstChild?.nodeType===3?n.setAttribute("contenteditable","true"):t.setAttribute("contenteditable","true")}}function Cl(e){const o=e.parentElement;o&&(o.querySelectorAll("strike, s").forEach(t=>{t.style.textDecoration="line-through"}),o.querySelectorAll("u").forEach(t=>{t.style.textDecoration="underline"}))}function vl(e,o){const t=e.elem;if(!(window.getSelection()?.isCollapsed??!0)&&!t.closest("a")&&!gl()&&!o.isCellCustomTable){const n=Ho(o);return{type:"text",caption:Locale.TEXT,settings:Jt(e,Locale,n)}}if(t.closest("amp-carousel"))return Al(e);if(t.tagName==="AMP-ACCORDION")return Tl(e);if(wn(t))return{type:Zt(e,Locale).type,caption:Zt(e,Locale).caption,settings:Zt(e,Locale)};if(!o.isCellCustomTable&&(t.tagName==="A"||t.tagName==="EM-REPLACE"&&t.closest("a")))return Ll(e,o);if(t.tagName==="TABLE"&&t.getAttribute("em")!=="atom")return wl(e);if(t.tagName==="LI"&&Xt(t)){const n=Ho(o);return{type:"text",caption:Locale.TEXT,settings:Jt(e,Locale,n)}}return o.isCellCustomTable?kl(e):t.tagName==="TD"?_l(e):t.closest(".em-vindent")?Nl(e):t.classList.contains("em-floatblock")||t.closest(".em-floatblock")?Bl(e):t.tagName==="DIV"?Ml(e,o):t.getAttribute("em")==="block"?Rl(e):{}}function Al(e){return{type:"carousel",caption:Locale.CAROUSEL,settings:{}}}function Tl(e){return{type:"accordion",caption:Locale.ACCORDION,settings:{}}}function Ll(e,o){const t=e.elem;if(t.style?.display==="block"||t.style?.display==="inline-block")return{type:"button",caption:Locale.BUTTON,settings:{}};const n=Ho(o);return{type:"text",caption:Locale.TEXT,settings:Jt(e,Locale,n)}}function wl(e){return e.elem.innerHTML===""?{type:"emptyTable",settings:{}}:{type:"table",caption:Locale.TABLE,settings:{}}}function kl(e){return{type:"customTable",caption:Locale.TABLE,settings:{}}}function _l(e){return{type:"td",caption:Locale.TABLE_COLUMN,settings:{}}}function Nl(e){return{type:"vindent",caption:Locale.VERTICAL_INDENT,settings:{}}}function Bl(e){return{type:"floatBlock",caption:Locale.FLOAT_BLOCK,settings:{}}}function Ml(e,o){return{type:"div",caption:Locale.CONTAINER,settings:{}}}function Rl(e){return{type:"structure",caption:Locale.STRUCTURE,settings:{}}}var Lg=Promise.resolve();function At(e){return!(!e.startsWith("#")||e.indexOf("#",1)!==-1)}var Pl=["em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top"],Hl=["em-atom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top"],Il=["em-blockatom-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top"];function Pn(){document.querySelectorAll(".em-block-insert").forEach(e=>{e.classList.remove(...Pl)})}function Ol(){document.querySelectorAll(".em-atom-insert").forEach(e=>{e.classList.remove(...Hl)})}function Qt(){document.querySelectorAll(".em-blockatom-insert").forEach(e=>{e.classList.remove(...Il)})}function Io(e,o){const t=e.getBoundingClientRect();return o>t.top+t.height/2?"bottom":"top"}function Hn(e,o){const t=e.getBoundingClientRect(),n=document.body.getBoundingClientRect();return o==="bottom"?t.bottom>n.height-21:t.top<2}function Oo(e,o,t){const n=t==="atom"?"em-atom-insert":"em-block-insert",r=t==="blockatom"?"em-blockatom-insert":n;if(e.classList.add(r),o==="bottom"){e.classList.remove(`${n}_top`,`${n}_top-document`);const i=Hn(e,"bottom")?`${n}_bottom-document`:`${n}_bottom`;e.classList.add(i)}else{e.classList.remove(`${n}_bottom`,`${n}_bottom-document`);const i=Hn(e,"top")?`${n}_top-document`:`${n}_top`;e.classList.add(i)}}function xo(e){return e.tagName==="TABLE"&&!e.innerHTML}function eo(e){return e.tagName==="TABLE"||e.tagName==="TR"?e.querySelector("[data-template-content]")??e.querySelector("td"):e}function In(e){if(!e?.length)return null;for(let o=0;o<e.length;o++){const t=e.item(o);if(t?.type.startsWith("image/"))return t}return null}function xl(e){if(!e?.items?.length)return null;for(let o=0;o<e.items.length;o++){const t=e.items[o];if(t.kind!=="file")continue;const n=t.getAsFile();if(n&&n.type.startsWith("image/"))return n}return null}function Dl(e){const o=In(e.dataTransfer?.files??null);return o||xl(e.dataTransfer??null)}function Do(e){const o=document.body?.parentElement??document.body;if(!o)return null;const t=document.elementFromPoint(e.clientX,e.clientY);if(!t)return null;const n=t.closest(".em-element-resize-img-container");if(n){const i=n.querySelector("img");if(i&&o.contains(i))return i}const r=t.closest("img");return!r||!o.contains(r)?null:r}function Tt(e){const o=e.dataTransfer?.types;return!!o&&Array.from(o).includes("Files")}function Fo(e){if(!Tt(e))return!1;const o=e.dataTransfer;if(!o)return!1;if(o.files?.length)return!!In(o.files);const t=o.items;if(!t?.length)return!0;for(let n=0;n<t.length;n++){const r=t[n];if(r.kind!=="file")continue;const i=r.type||"";if(i.startsWith("image/")||i==="")return!0}return!1}var On="em-native-img-drop-target",qo="em-native-img-uploading",Fl="em-native-img-drop-loading",to="em-native-file-drag",Lt=null,Qe=null;function xn(){Qe&&(window.removeEventListener("scroll",Qe.reposition,!0),window.removeEventListener("resize",Qe.reposition),Qe.resizeObserver?.disconnect(),Qe.overlay.remove(),Qe=null)}function ql(e){xn();const o=document.createElement("div");o.className="em-native-img-upload-spin-overlay",o.setAttribute("aria-hidden","true");const t=document.createElement("div");t.className="em-native-img-upload-spin",o.appendChild(t),document.body.appendChild(o);const n=()=>{const i=e.getBoundingClientRect();o.style.left=`${Math.round(i.left)}px`,o.style.top=`${Math.round(i.top)}px`,o.style.width=`${Math.max(Math.round(i.width),1)}px`,o.style.height=`${Math.max(Math.round(i.height),1)}px`};n(),window.addEventListener("scroll",n,!0),window.addEventListener("resize",n);let r=null;typeof ResizeObserver<"u"&&(r=new ResizeObserver(()=>n()),r.observe(e)),Qe={overlay:o,reposition:n,resizeObserver:r}}function Wo(){Lt&&(Lt.classList.remove(On),Lt=null)}function et(){document.body.classList.remove(to),Wo()}function Wl(e){if(!Tt(e)){et();return}if(!Fo(e)){et();return}document.body.classList.add(to);const o=Do(e);if(!o){Wo();return}Lt!==o&&(Wo(),Lt=o,o.classList.add(On))}function Dn(){xn(),document.body.classList.remove(Fl),document.body.classList.remove(to),document.querySelectorAll(`.${qo}`).forEach(e=>{e.classList.remove(qo)})}function $l(e,o){if(o.lockEditor||!Tt(e))return!1;const t=Dl(e);if(!t)return!1;const n=Do(e);return n?(o.applicationElementSettingsSet({elem:n}),et(),n.classList.add(qo),ql(n),o.messageService.send({operation:a.EVENT_TYPES.APPLICATION_NATIVE_IMAGE_DROP,file:t}),!0):!1}function zl(e,o){if(o.lockEditor)return;document.body.classList.contains("em-block-insert-body")||o.messageService.send({operation:"application_scroll-block-show"});const t=e.target;t.getAttribute("em")==="atom"&&(document.body.classList.add("em-atom-insert-body-inside"),o.commit(!1),o.mutableState.atomReplaced=t)}function Vl(e,o){o.lockEditor||(et(),e.preventDefault(),o.messageService.send({operation:"application_scroll-block-hide"}))}function Ul(e,o){if(e.preventDefault(),o.lockEditor){et();return}Tt(e)?(Fo(e)&&Do(e)&&(e.dataTransfer.dropEffect="copy"),Wl(e)):et();const t=e.target;if(document.body.classList.contains("em-block-insert-body")){const n=xo(t)?null:t.closest('[em="block"]');if(n){o.mutableState.targetBlock=n;const r=eo(n);r&&Oo(r,Io(r,e.pageY),"block")}else Pn()}else if(document.body.classList.contains("em-atom-insert-body")){const n=t.closest('[em="atom"]');if(n&&n.innerHTML.trim())o.mutableState.targetBlock=n,Oo(n,Io(n,e.pageY),"atom"),Qt();else if(t.closest('[em="block"]')&&t.tagName==="TD"&&!t.innerHTML&&!t.hasAttribute("height")||t.tagName==="DIV"&&t.closest("amp-accordion")&&!t.innerHTML)Qt();else{const r=t.closest('[em="block"]');if(r){o.mutableState.targetBlock=r;const i=eo(r);i&&(Oo(i,Io(i,e.pageY),"blockatom"),Ol())}}}}function jl(e,o){if(o.lockEditor)return;Tt(e)&&Fo(e)&&document.body.classList.add(to);const t=e.target;if(document.body.classList.contains("em-block-insert-body")){document.querySelectorAll(".em-block-insert-empty").forEach(r=>{r.classList.remove("em-block-insert-empty")});const n=t.closest('[em="block"]');xo(t)?(t.classList.add("em-block-insert-empty"),Pn()):n&&(o.mutableState.targetBlock=n)}else if(document.body.classList.contains("em-atom-insert-body")||document.body.classList.contains("em-atom-insert-body-inside")){document.querySelectorAll(".em-atom-insert-empty").forEach(i=>{i.classList.remove("em-atom-insert-empty")});const n=t.closest('[em="atom"]');n&&n.innerHTML.trim()?(o.mutableState.targetBlock=n,document.querySelectorAll(".em-atom-insert, .em-blockatom-insert").forEach(i=>{i.classList.remove("em-atom-insert","em-blockatom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top")})):t.closest('[em="block"]')&&t.tagName==="TD"&&!t.innerHTML&&!t.hasAttribute("height")&&t.parentElement&&[...t.parentElement.children].indexOf(t)%2===0||t.tagName==="DIV"&&t.closest("amp-accordion")&&!t.innerHTML?(t.classList.add("em-atom-insert-empty"),document.querySelectorAll(".em-atom-insert, .em-blockatom-insert").forEach(i=>{i.classList.remove("em-atom-insert","em-blockatom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top")})):document.querySelectorAll(".em-atom-insert").forEach(i=>{i.classList.remove("em-atom-insert","em-blockatom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top")}),document.querySelectorAll(".em-block-insert-empty").forEach(i=>{i.classList.remove("em-block-insert-empty")});const r=t.closest('[em="block"]');xo(t)?(t.classList.add("em-block-insert-empty"),Qt()):r?o.mutableState.targetBlock=r:Qt()}}function Gl(e,o){if(o.lockEditor)return;const t=e.target;if(document.body.classList.contains("em-block-insert-body")){const n=e.relatedTarget,r=t.closest('[em="block"]');if(n&&r&&r.contains(n))return;o.mutableState.newTargetblock=t.closest('[em="block"]'),o.mutableState.newTargetblock&&(t.closest('[em="block"]')&&(o.mutableState.newTargetblock!==o.mutableState.targetBlock||o.mutableState.newTargetblock.closest('[em="group"]')!==o.mutableState.targetBlock?.closest('[em="group"]'))?o.mutableState.newTargetblock.tagName==="DIV"?o.mutableState.newTargetblock.classList.remove("em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top"):o.mutableState.newTargetblock.querySelectorAll(".em-block-insert").forEach(i=>{i.classList.remove("em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")}):document.querySelectorAll(".em-block-insert-empty").forEach(i=>{i.classList.remove("em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")}))}else if(document.body.classList.contains("em-atom-insert-body")){const n=e.relatedTarget,r=t.closest('[em="atom"]');if(n&&r&&r.contains(n))return;const i=t.closest('[em="block"]');if(n&&i&&i.contains(n))return;o.mutableState.newTargetblock=t.closest('[em="atom"]'),o.mutableState.newTargetblock&&(t.getAttribute("em")==="atom"&&o.mutableState.newTargetblock!==o.mutableState.targetBlock?o.mutableState.newTargetblock.classList.remove("em-atom-insert","em-blockatom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top"):document.querySelectorAll(".em-atom-insert-empty").forEach(s=>{s.classList.remove("em-atom-insert","em-blockatom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top")}));const l=t.closest('[em="block"]');l&&(t.closest('[em="block"]')&&(l!==o.mutableState.targetBlock||l.closest('[em="group"]')!==o.mutableState.targetBlock?.closest('[em="group"]'))?l.tagName==="DIV"?l.classList.remove("em-atom-insert","em-blockatom-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top"):l.querySelectorAll(".em-blockatom-insert").forEach(s=>{s.classList.remove("em-atom-insert","em-blockatom-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")}):document.querySelectorAll(".em-block-insert-empty").forEach(s=>{s.classList.remove("em-atom-insert","em-blockatom-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")}))}}function Yl(e,o,t){if(!e)return;let n=document.head.querySelector('style[em="styles"]'),r="";n?r=t.HTMLDocument.getInnerHtml(n):(n=document.createElement("style"),n.setAttribute("em","styles"),n=document.head.insertAdjacentElement("beforeend",n));const i=document.createElement("div");o&&(e=e.replace(/(max-device-width:|max-width:)\d+px/g,s=>s.replace(/\d+/,String(o)))),i.insertAdjacentHTML("afterbegin",e);let l=t.minify(r+`
|
|
2
2
|
`+[...i.querySelectorAll("style")].map(s=>s.innerHTML).join(`
|
|
3
3
|
`),{restructure:!0,forceMediaMerge:!0}).css;l=t.cssbeautify(l,{indent:" ",autosemicolon:!0}),n&&(n.textContent=`
|
|
4
4
|
`+l+`
|
|
@@ -11,19 +11,19 @@ __useblocks__.define("js/iframe.js",["require","exports","module","js/rolldown-r
|
|
|
11
11
|
</td></tr>
|
|
12
12
|
`),o.settings&&(t.messageService.send("application_block_inserted",{type:o.settings.type,name:o.settings.name,blockId:o.settings.blockId,project:o.settings.project}),a.clearPendingPaletteInsert());else if(n.tagName==="BODY"){const c=document.querySelector('[em="block"]:last-child'),d="afterend";(i.indexOf("empty-structure")>-1||i.indexOf("em-structure")>-1)&&(i=t.setBlockMaxWidth({blockHTML:i,targetBlock:c}),i=t.setFloatBlocksWidth({blockHTML:i,targetBlock:c,project:o.settings.project})),i=t.checkBlockAdaptivity({blockHTML:i,blockIsTr:i.substring(0,3)==="<tr"});const u=document.createElement("table");u.replaceChildren(...t.parseFromString(`
|
|
13
13
|
`+i+`
|
|
14
|
-
`)),[...u.querySelectorAll(":scope> tr")].reverse().forEach(
|
|
14
|
+
`)),[...u.querySelectorAll(":scope> tr")].reverse().forEach(g=>c.insertAdjacentElement(d,g)),o.settings&&(t.messageService.send("application_block_inserted",{type:o.settings.type,name:o.settings.name,blockId:o.settings.blockId,project:o.settings.project}),a.clearPendingPaletteInsert())}else{const c=n.closest('[em="block"]');if(c){const d=eo(c),u=d?Xl(d):"afterend";if((i.indexOf("empty-structure")>-1||i.indexOf("em-structure")>-1)&&(i=t.setBlockMaxWidth({blockHTML:i,targetBlock:c}),i=t.setFloatBlocksWidth({blockHTML:i,targetBlock:c,project:o.settings.project})),i=t.checkBlockAdaptivity({blockHTML:i,blockIsTr:i.substring(0,3)==="<tr"}),c.tagName==="TR")if(i.substring(0,3)==="<tr"){const g=document.createElement("table");g.replaceChildren(...t.parseFromString(`
|
|
15
15
|
`+i+`
|
|
16
|
-
`)),[...
|
|
16
|
+
`)),[...g.querySelectorAll(":scope > tr")].reverse().forEach(m=>c.insertAdjacentElement(u,m))}else{const g=document.createElement("table");g.replaceChildren(...t.parseFromString(`
|
|
17
17
|
<tr em="block"><td align="center">
|
|
18
18
|
`+i+`
|
|
19
19
|
</td></tr>
|
|
20
|
-
`)),[...
|
|
20
|
+
`)),[...g.querySelectorAll(":scope > tr")].reverse().forEach(m=>c.insertAdjacentElement(u,m))}else if(i.substring(0,3)==="<tr")if(c.tagName==="TABLE"){const g=document.createElement("table");g.setAttribute("cellspacing","0"),g.setAttribute("cellpadding","0"),g.setAttribute("align","center"),g.setAttribute("border","0"),g.setAttribute("em","block"),g.setAttribute("width",c.hasAttribute("width")?c.getAttribute("width"):String(c.getBoundingClientRect().width)),g.classList.add("em-mob-width-100perc"),g.innerHTML=`
|
|
21
21
|
`+i+`
|
|
22
|
-
`,
|
|
22
|
+
`,g.querySelectorAll('tr[em="block"]').forEach(m=>m.removeAttribute("em")),c.insertAdjacentElement(u,g)}else{const g=document.createElement("div");g.setAttribute("align","center"),g.setAttribute("em","block"),g.innerHTML=`<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
|
23
23
|
`+i+`
|
|
24
|
-
</table>`,
|
|
24
|
+
</table>`,g.querySelectorAll('tr[em="block"]').forEach(m=>m.removeAttribute("em")),c.insertAdjacentElement(u,g)}else t.insertAdjacentHTML(c,u,`
|
|
25
25
|
`+i+`
|
|
26
|
-
`);c.querySelectorAll(".em-block-insert").forEach(
|
|
26
|
+
`);c.querySelectorAll(".em-block-insert").forEach(g=>{g.classList.remove("em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")}),o.settings&&(t.messageService.send("application_block_inserted",{type:o.settings.type,name:o.settings.name,blockId:o.settings.blockId,project:o.settings.project}),a.clearPendingPaletteInsert())}}}function qn(e){return e==='<table cellpadding="0" cellspacing="0" border="0" width="100%" class="em-mob-width-100perc" em="atom"><tr><td height="20"></td></tr></table>'?`
|
|
27
27
|
<tr em="block" class="em-structure">
|
|
28
28
|
<td align="center">
|
|
29
29
|
${e}
|
|
@@ -57,25 +57,25 @@ __useblocks__.define("js/iframe.js",["require","exports","module","js/rolldown-r
|
|
|
57
57
|
</td>
|
|
58
58
|
</tr>`}function Zl(e,o,t,n,r){o.match(/em="atom"><tr><td>\s*<img/gi)&&!o.match(/class="em-countdown"/gi)&&(o=r.setImageWidth({atomHTML:o,targetAtom:e})),o.match(/class="em-countdown"/gi)?r.insertCountdown({targetElem:e,targetPlace:"beforeend",atomHTML:o}):e.insertAdjacentHTML("beforeend",`
|
|
59
59
|
`+o+`
|
|
60
|
-
`),t!=null&&(e.closest(".empty-structure")||e.closest(".em-structure"))&&t.remove(),n.settings?.name&&(r.messageService.send("application_atom_inserted",n.settings.name),a.clearPendingPaletteInsert())}function Jl(e,o,t,n,r){const i=e.target,l=!!document.querySelector(".em-blockatom-insert"),s=l?i.closest('[em="block"]'):i,c=l?document.querySelector(".em-blockatom-insert"):document.querySelector(".em-block-insert-empty");o.match(/em="atom"><tr><td>\s*<img/gi)&&(o=n.setImageWidth({atomHTML:o,targetAtom:c}));let d=qn(o);o!=='<table cellpadding="0" cellspacing="0" border="0" width="100%" class="em-mob-width-100perc" em="atom"><tr><td height="20"></td></tr></table>'&&r(d.match(/<style((.|\n|\r)*?)<\/style>/g)),t.settings?.type!=="project"&&(d=n.commonStylesApplyToBlock({html:d}));let u=null;s.tagName==="TABLE"||s.tagName==="TR"?u=s.querySelector("[data-template-content]")??s.querySelector("td"):u=s,(d.indexOf("empty-structure")>-1||d.indexOf("em-structure")>-1)&&(d=n.setFloatBlocksWidth({blockHTML:d,targetBlock:s,project:t.settings?.project}));let
|
|
60
|
+
`),t!=null&&(e.closest(".empty-structure")||e.closest(".em-structure"))&&t.remove(),n.settings?.name&&(r.messageService.send("application_atom_inserted",n.settings.name),a.clearPendingPaletteInsert())}function Jl(e,o,t,n,r){const i=e.target,l=!!document.querySelector(".em-blockatom-insert"),s=l?i.closest('[em="block"]'):i,c=l?document.querySelector(".em-blockatom-insert"):document.querySelector(".em-block-insert-empty");o.match(/em="atom"><tr><td>\s*<img/gi)&&(o=n.setImageWidth({atomHTML:o,targetAtom:c}));let d=qn(o);o!=='<table cellpadding="0" cellspacing="0" border="0" width="100%" class="em-mob-width-100perc" em="atom"><tr><td height="20"></td></tr></table>'&&r(d.match(/<style((.|\n|\r)*?)<\/style>/g)),t.settings?.type!=="project"&&(d=n.commonStylesApplyToBlock({html:d}));let u=null;s.tagName==="TABLE"||s.tagName==="TR"?u=s.querySelector("[data-template-content]")??s.querySelector("td"):u=s,(d.indexOf("empty-structure")>-1||d.indexOf("em-structure")>-1)&&(d=n.setFloatBlocksWidth({blockHTML:d,targetBlock:s,project:t.settings?.project}));let g="beforeend";l&&u&&(u.classList.contains("em-block-insert_bottom-document")||u.classList.contains("em-block-insert_bottom")?g="afterend":(u.classList.contains("em-block-insert_top-document")||u.classList.contains("em-block-insert_top"))&&(g="beforebegin"));const m=!!o.match(/class="em-countdown"/gi),f=d.substring(0,3)==="<tr";if(s.tagName==="TR")if(f)if(m)n.insertCountdown({targetElem:s,targetPlace:g,atomHTML:d});else{const p=document.createElement("tr");p.setAttribute("em","block"),p.classList.add("em-structure"),p.innerHTML=`
|
|
61
61
|
`+d+`
|
|
62
|
-
`,s.insertAdjacentElement(p
|
|
62
|
+
`,s.insertAdjacentElement(g,p)}else if(m)n.insertCountdown({targetElem:s,targetPlace:g,atomHTML:`<tr em="block"><td align="center">
|
|
63
63
|
`+d+`
|
|
64
|
-
</td></tr>`});else{const
|
|
64
|
+
</td></tr>`});else{const p=document.createElement("tr");p.setAttribute("em","block"),p.innerHTML=`
|
|
65
65
|
<td align="center">
|
|
66
66
|
`+d+`
|
|
67
67
|
</td>
|
|
68
|
-
`,s.insertAdjacentElement(p
|
|
68
|
+
`,s.insertAdjacentElement(g,p)}else if(f)if(s.tagName==="TABLE")if(!i.innerHTML)m?n.insertCountdown({targetElem:s,targetPlace:g,atomHTML:d}):s.insertAdjacentHTML(g,d);else{const p=document.createElement("table");p.setAttribute("cellspacing","0"),p.setAttribute("cellpadding","0"),p.setAttribute("align","center"),p.setAttribute("border","0"),p.setAttribute("em","block"),p.setAttribute("width",s.hasAttribute("width")?s.getAttribute("width"):String(s.getBoundingClientRect().width)),p.classList.add("em-mob-width-100perc"),p.innerHTML=`
|
|
69
69
|
`+d+`
|
|
70
|
-
`,
|
|
70
|
+
`,p.querySelectorAll('tr[em="block"]').forEach(b=>b.removeAttribute("em")),m?n.insertCountdown({targetElem:s,targetPlace:g,atomHTML:n.getOuterHtml(p)}):s.insertAdjacentElement(g,p)}else m?n.insertCountdown({targetElem:s,targetPlace:g,atomHTML:`<div align="center"><table cellpadding="0" cellspacing="0" border="0" align="center" class="em-mob-width-100perc">
|
|
71
71
|
`+d+`
|
|
72
|
-
</table></div>`}):s.insertAdjacentHTML(
|
|
72
|
+
</table></div>`}):s.insertAdjacentHTML(g,`
|
|
73
73
|
<div align="center"><table cellpadding="0" cellspacing="0" border="0" align="center" class="em-mob-width-100perc">
|
|
74
74
|
`+d+`
|
|
75
75
|
</table></div>
|
|
76
|
-
`);else m?n.insertCountdown({targetElem:s,targetPlace:
|
|
76
|
+
`);else m?n.insertCountdown({targetElem:s,targetPlace:g,atomHTML:d}):s.insertAdjacentHTML(g,`
|
|
77
77
|
`+d+`
|
|
78
|
-
`);document.querySelectorAll(".em-blockatom-insert").forEach(
|
|
78
|
+
`);document.querySelectorAll(".em-blockatom-insert").forEach(p=>{p.classList.remove("em-blockatom-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")}),t.settings?.name&&(n.messageService.send("application_atom_inserted",t.settings.name),a.clearPendingPaletteInsert())}function Ql(e,o,t){const n=document.querySelector(".em-atom-insert");if(e.match(/em="atom"><tr><td>\s*<img/gi)&&n&&(e=t.setImageWidth({atomHTML:e,targetAtom:n})),!n)return;let r="afterend";n.classList.contains("em-atom-insert_bottom-document")||n.classList.contains("em-atom-insert_bottom")?r="afterend":(n.classList.contains("em-atom-insert_top-document")||n.classList.contains("em-atom-insert_top"))&&(r="beforebegin");const i=!!e.match(/class="em-countdown"/gi);if(n.tagName==="TR"){const l=document.createElement("div");l.innerHTML=e;const s=l.querySelector('[em="atom"]');s&&s.removeAttribute("em");let c=0;const d=n.querySelector("[colspan]");d?c=d.getAttribute("colspan")||0:c=n.childElementCount,i?t.insertCountdown({targetElem:n,targetPlace:r,atomHTML:`
|
|
79
79
|
<tr em="atom"><td colspan="`+c+`">
|
|
80
80
|
`+l.innerHTML+`
|
|
81
81
|
</td></tr>
|
|
@@ -85,7 +85,7 @@ __useblocks__.define("js/iframe.js",["require","exports","module","js/rolldown-r
|
|
|
85
85
|
</td></tr>
|
|
86
86
|
`)}else i?t.insertCountdown({targetElem:n,targetPlace:r,atomHTML:e}):n.insertAdjacentHTML(r,`
|
|
87
87
|
`+e+`
|
|
88
|
-
`);n.classList.remove("em-atom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top"),o.settings?.name&&(t.messageService.send("application_atom_inserted",o.settings.name),a.clearPendingPaletteInsert())}function Wn(e,o){const t=o.mutableState.atomReplaced;let n={settings:{}};const r=e.target,i=m=>o._setDocumentStyles(m,{minify:o.minify,cssbeautify:o.cssbeautify,HTMLDocument:o.HTMLDocument}),l=e.dataTransfer?.getData("Text")||"";if(l&&o.isJsonString(l)?n=JSON.parse(l):t&&(n={settings:{atomHTML:a.serializeOuterHtml(t)}}),!n.settings?.atomHTML)return;let s=n.settings.atomHTML.replaceAll(/<style((.|\n|\r)*?)<\/style>/gi,"").trim();i(n.settings.atomHTML.match(/<style((.|\n|\r)*?)<\/style>/g)),s=o.commonStylesApply({html:s});const c=r.closest('[em="block"]')&&r.tagName==="TD"&&!r.innerHTML&&!r.hasAttribute("height")&&(r.classList.contains("em-atom-insert-empty")||a.hasPendingPaletteAtom()),d=r.tagName==="DIV"&&r.closest("amp-accordion")&&!r.innerHTML;if(c||d){Zl(r,s,t,n,o);return}const u=!!document.querySelector(".em-blockatom-insert"),p=r.tagName==="TABLE"&&!r.innerHTML;if(u||p){Jl(e,s,n,o,i);return}r.closest('[em="atom"]')&&Ql(s,n,o)}var{START_POSITION:ct,NEW_EDITOR:$n,ACTIVE_ELEMENT:zn}=a.LIST_TEMP_CLASSES,{TRIM_SPACES:tt,LT:wt,GT:kt,EMPTY_TEXT:ea}=a.LIST_REGEX;function ta(e,o){const{activeElem:t,listContext:n,cursorPositionType:r,isTargetCell:i,commit:l,wrapEditor:s,removeTemporaryListClasses:c}=o,{classNameOl:d,classNameUl:u,isList:p}=n;if(!((e.key==="Enter"||e.keyCode===13)&&p&&i&&!e.shiftKey))return!1;if(e.preventDefault(),e.stopImmediatePropagation(),!t)return!0;const m=t.closest(`table.${d}`)||t.closest(`table.${u}`),f=t.closest(`table.${d}`)?d:u;if(!m)return!0;const g=a.extractTableRowData(t,f);if(!g)return!0;const{firstCellText:b,firstCellHtmlNoText:h,wrappedSecondCellHtml:y}=g;return r==="start"||r==="end"?oa(t,m,f,d,u,r,b,h,y,s):r==="inside"&&na(t,m,f,d,b,h,y,s),c(),l(),!0}function oa(e,o,t,n,r,i,l,s,c,d){const u=e.querySelector("div");u&&u.classList.add(ct);const p=a.injectTextIntoFirstDiv(s,l),m=a.injectTextIntoFirstDiv(c," "),f=i==="end"?a.updateDivWithClassAndNbsp(m):m,g=o.outerHTML,b="<tr>"+p+f+"</tr>",h=a.removeEditorTags(g),y=a.insertRowRelativeToDivClass(h,b,ct,i==="start"),E=a.removeEditorTags(y);if(t===n){o.innerHTML=E;const v=a.parseTableToArray(o),C=a.renumberCellOneText(v),L=a.replaceEmptyWithNbsp(C),w=a.formatCellOneText(L),T=o.outerHTML;o.innerHTML=a.updateTableNumbering(T,w).replace(wt,"<").replace(kt,">")}else o.innerHTML=E;a.processTableText(o,n,r,tt);const S=i==="start"?o.querySelector(".remove-start-element-position"):o.querySelector(".remove-new-editor-element");return S&&Vn(S,o,d),S}function na(e,o,t,n,r,i,l,s){const c=e.querySelector("div");c&&(c.classList.add(zn),c.classList.add(ct));const d=o.outerHTML,u=a.getTextPartsAtCursor(e),p=a.getHtmlPartsAtCursor(e);if(!u||!p)return null;const{beforeCursorPosition:m,afterCursorPosition:f}=u,{beforeHTML:g,afterHTML:b}=p,h=a.injectTextIntoFirstDiv(i,r),y=a.injectTextIntoFirstDiv(l,m===""?" ":g.replace(tt,"")),E=a.injectTextIntoFirstDiv(i,r),S=a.injectTextIntoFirstDiv(l,f===""?" ":b.replace(tt,"")),v=a.updateDivWithClassAndNbsp(S),C=("<tr>"+h+y+"</tr>"+("<tr>"+E+v+"</tr>")).replace(wt,"<").replace(kt,">"),L=a.insertRowRelativeToDivClass(d,C,ct,!0),w=a.removeEditorTags(L),T=a.removeTrContainingDivWithClass(w,zn);if(t===n){o.innerHTML=T;const D=a.parseTableToArray(o),z=a.renumberCellOneText(D),$=a.replaceEmptyWithNbsp(z),M=a.formatCellOneText($),H=o.outerHTML;o.innerHTML=a.updateTableNumbering(H,M).replace(wt,"<").replace(kt,">")}else o.innerHTML=T;const k=o.querySelector(".remove-new-editor-element");return k&&Vn(k,o,s,!0),k}function Vn(e,o,t,n=!1){e.textContent&&e.textContent.length>0&&(e.innerHTML=e.innerHTML.replace(tt,"")),ea.test(e.textContent||"")&&(e.textContent=" "),t(e,!0);const r=o.querySelector("editor"),i=r?.querySelector("div");if(i){const l=window.getSelection();if(l&&l.rangeCount>0){const s=l.getRangeAt(0);s.selectNodeContents(i),s.collapse(!0),l.removeAllRanges(),l.addRange(s)}}n&&r&&r.focus()}function ra(e,o){const{activeElem:t,listContext:n,cursorPositionType:r,isTargetCell:i,isEmptyText:l,commit:s,wrapEditor:c,removeTemporaryListClasses:d}=o,{classNameOl:u,classNameUl:p,isList:m}=n,f=(e.keyCode===38||e.key==="ArrowUp")&&r==="start",g=(e.keyCode===40||e.key==="ArrowDown")&&(!l&&r==="end"||l&&r==="start");if(!(f||g)||!m||!i||!t)return!1;e.preventDefault(),e.stopImmediatePropagation();const b=e.key==="ArrowUp"?"ArrowUp":"ArrowDown",h=t.closest(`table.${u}`)||t.closest(`table.${p}`);if(!h)return!0;const y=t.querySelector("div");y&&y.classList.add(ct);const E=h.outerHTML,S=a.removeEditorTags(E);h.innerHTML=a.modifyHtml(S,ct,$n,b);const v=h.querySelector(".remove-new-editor-element");if(v){c(v,!0);const C=h.querySelector("editor"),L=C?.querySelector("div")?.childNodes[0],w=window.getSelection();if(w&&w.rangeCount>0){const T=w.getRangeAt(0);if(L&&L.nodeType===Node.TEXT_NODE){const k=L.textContent||"";T.setStart(L,k.replace(tt,"").length)}else C&&T.selectNodeContents(C);T.collapse(!0),w.removeAllRanges(),w.addRange(T)}}return d(),s(),!0}function ia(e,o,t){return(e.keyCode===39||e.key==="ArrowRight")&&(o==="end"||t)?(e.preventDefault(),e.stopImmediatePropagation(),!0):!1}function la(e,o){const t=window.navigator.platform.match("Mac"),{activeElem:n,listContext:r,cursorPositionType:i,isTargetCell:l,isEmptyText:s,parentElement:c,commit:d,wrapEditor:u,removeTemporaryListClasses:p,findNodeAtPosition:m,setCursorSafely:f}=o,{classNameOl:g,classNameUl:b,isList:h}=r;if(!((t?e.code==="Backspace":e.keyCode===46||e.keyCode===8)&&h)||!(!l||l&&(i==="start"||s&&i==="inside"||s&&i==="end"))||!n||!c)return!1;e.preventDefault(),e.stopImmediatePropagation();const y=n.closest(`table.${g}`)?g:b,E=c.closest("tr");if(!E)return!0;const S=E.previousElementSibling;if(!S&&!l)return!0;const v=l?n.querySelector("div"):E.querySelector("tr td:nth-child(2)")?.querySelector("div"),C=v?v.innerHTML:"",L=C?C.split(" ")[0]:"";L.replace(tt,"");const w=S?.querySelector("tr td:nth-of-type(2)");if(!w)return!0;const T=w.querySelector("div");if(!T)return!0;T.classList.add($n);const k=T.innerHTML,D=`${k}${C}`.replace(wt,"<").replace(kt,">");E.remove();const z=T.closest(`table.${g}`)||T.closest(`table.${b}`);if(!z)return!0;const $=z.innerHTML,M=a.removeEditorTags($);if(y===g){z.innerHTML=M;const B=a.parseTableToArray(z),ee=a.renumberCellOneText(B),oe=a.replaceEmptyWithNbsp(ee),G=a.formatCellOneText(oe),J=z.outerHTML;z.innerHTML=a.updateTableNumbering(J,G).replace(wt,"<").replace(kt,">")}else z.innerHTML=M;const H=z.querySelector(".remove-new-editor-element");if(!H)return p(),d(),!0;H.innerHTML=`${D.replace(tt,"")} `||" ",u(H,!0);const P=H.closest("editor");if(!P)return p(),d(),!0;const Z=window.getSelection(),R=document.createRange(),F=P.querySelector("div");if(!F||!Z)return p(),d(),!0;const ie=P.textContent||"",O=L?ie.indexOf(L):-1;if(O!==-1&&L){const B=m(F,O);if(B)f(R,Z,B.node,B.offset);else{const ee=F.childNodes[0];ee&&f(R,Z,ee,0)}}else{const B=document.createElement("div");B.innerHTML=k;const ee=(B.textContent||"").length,oe=m(F,ee);if(oe)f(R,Z,oe.node,oe.offset);else{const G=document.createTreeWalker(F,NodeFilter.SHOW_TEXT,null);let J=null;for(;G.nextNode();)J=G.currentNode;J&&f(R,Z,J,(J.textContent||"").length)}}return P.focus(),p(),d(),!0}function aa(e,o,t){return(window.navigator.platform.match("Mac")?e.code==="Backspace":e.keyCode===46||e.keyCode===8)?!1:o&&!t?(e.preventDefault(),e.stopPropagation(),!0):!1}function sa(e){if(!e)return!1;const o=e.closest("li");return Xt(o)}function ca(e){const o=window.getSelection(),t=e.textContent||"",n=t.trim();if(!n||n===" ")return{position:"empty",offset:0,textContent:""};if(!o||o.rangeCount===0)return{position:"middle",offset:0,textContent:t};const r=o.getRangeAt(0);if(!e.contains(r.startContainer))return{position:"middle",offset:0,textContent:t};const i=document.createRange();i.selectNodeContents(e),i.setEnd(r.startContainer,r.startOffset);const l=i.toString().length;return l===0?{position:"start",offset:0,textContent:t}:l>=n.length?{position:"end",offset:l,textContent:t}:{position:"middle",offset:l,textContent:t}}function da(e,o){const t=Array.from(o.querySelectorAll(":scope > li")),n=t.indexOf(e);return n===0?"first":n===t.length-1?"last":"middle"}function ma(e){const o=window.getSelection();if(!o||o.rangeCount===0)return e.innerHTML;const t=o.getRangeAt(0),n=document.createRange();n.selectNodeContents(e),n.setEnd(t.startContainer,t.startOffset);const r=n.cloneContents(),i=document.createElement("div");return i.appendChild(r),i.innerHTML}function ua(e){const o=window.getSelection();if(!o||o.rangeCount===0)return"";const t=o.getRangeAt(0),n=document.createRange();n.selectNodeContents(e),n.setStart(t.endContainer,t.endOffset);const r=n.cloneContents(),i=document.createElement("div");return i.appendChild(r),i.innerHTML}function dt(e){const o=window.getSelection();if(!o)return;const t=document.createRange();t.selectNodeContents(e),t.collapse(!0),o.removeAllRanges(),o.addRange(t)}function _t(e,o){e.hasAttribute("em-edit")&&(e.removeAttribute("em-edit"),o.setAttribute("em-edit","active"))}function fa(e,o){const t=document.createElement("br"),n=document.createElement("span");return n.innerHTML=" ",_t(e,n),o.parentNode?.insertBefore(n,o),o.parentNode?.insertBefore(t,n),e.remove(),o.querySelectorAll("li").length===0&&o.remove(),dt(n),n}function pa(e,o){const t=Array.from(o.querySelectorAll(":scope > li")),n=t.indexOf(e),r=t.slice(n+1),i=document.createElement(o.tagName.toLowerCase());o.getAttribute("style")&&i.setAttribute("style",o.getAttribute("style")),r.forEach(c=>{i.appendChild(c)});const l=document.createElement("br"),s=document.createElement("span");return s.innerHTML=" ",_t(e,s),i.children.length>0&&o.parentNode?.insertBefore(i,o.nextSibling),o.parentNode?.insertBefore(s,o.nextSibling),o.parentNode?.insertBefore(l,s),e.remove(),o.querySelectorAll("li").length===0&&o.remove(),dt(s),s}function ga(e,o){if(!((e.key==="Enter"||e.keyCode===13)&&!e.shiftKey))return!1;const t=window.getSelection();if(!t||t.rangeCount===0)return!1;const n=t.getRangeAt(0).startContainer,r=n.nodeType===Node.TEXT_NODE?n.parentElement:n;if(!sa(r))return!1;const i=r?.closest("li");if(!i)return!1;const l=i.closest("ul, ol");if(!l)return!1;e.preventDefault(),e.stopImmediatePropagation();const s=ca(i),c=da(i,l);switch(s.position){case"empty":ba(i,l,c,o);break;case"start":ha(i,l,o);break;case"end":ya(i,l,o);break;case"middle":Ea(i,l,o)}return o.commit(),!0}function ba(e,o,t,n){switch(t){case"last":const r=document.createElement("li");r.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM),r.innerHTML=" ",e.after(r),_t(e,r),dt(r);break;case"first":fa(e,o);break;case"middle":pa(e,o)}}function ha(e,o,t){const n=document.createElement("li");n.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM),n.innerHTML=" ",e.before(n),dt(e)}function ya(e,o,t){const n=document.createElement("li");n.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM),n.innerHTML=" ",e.after(n),_t(e,n),dt(n)}function Ea(e,o,t){const n=ma(e),r=ua(e);e.innerHTML=n||" ";const i=document.createElement("li");i.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM),i.innerHTML=r||" ",e.after(i),_t(e,i),dt(i)}var Sa=['[contenteditable="false"]',".em-element-editor",'[class^="em-element-editor"]',".em-vindent"],$o=`<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a;"> </div>`;function Ca(e){return!!e.closest("editor.em-text")}function Un(e){e.querySelectorAll(Sa.join(",")).forEach(o=>{Ca(o)||o.remove()})}function va(e){const o=e.cloneNode(!0),t=o.querySelector("editor.em-text");if(t){Un(o);const r=t.querySelector("div");if(r)return r.outerHTML;const i=t.getAttribute("innerclass")??"",l=t.getAttribute("innerstyle")??"";return`<div${i?` class="${He(i)}"`:""}${l?` style="${He(l)}"`:""}>${t.innerHTML}</div>`}Un(o);const n=o.querySelector("div");return n?n.outerHTML:o.innerHTML}function He(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function Ne(e){if(!e)return;const o=e.trim().match(/^(-?\d+(?:\.\d+)?)px$/i);return o?Number(o[1]):void 0}function Nt(e){if(!e)return;const o=e.trim().split(/\s+/);if(o.length<3)return;const t=Ne(o[0]),n=o[1],r=o.slice(2).join(" ");if(t!==void 0&&["none","solid","dashed","dotted","double"].includes(n))return{width:t,style:n,color:r}}function Aa(e){const o=e.get("padding"),t=e.get("padding-top"),n=e.get("padding-right"),r=e.get("padding-bottom"),i=e.get("padding-left"),l={};if(o){const p=o.trim().split(/\s+/),m=Ne(p[0]),f=Ne(p[1]??p[0]),g=Ne(p[2]??p[0]),b=Ne(p[3]??p[1]??p[0]);m!==void 0&&(l.top=m),f!==void 0&&(l.right=f),g!==void 0&&(l.bottom=g),b!==void 0&&(l.left=b)}const s=Ne(t??""),c=Ne(n??""),d=Ne(r??""),u=Ne(i??"");return s!==void 0&&(l.top=s),c!==void 0&&(l.right=c),d!==void 0&&(l.bottom=d),u!==void 0&&(l.left=u),Object.keys(l).length?l:void 0}function jn(e){if(e)return e.trim()}function Ta(e){if(!e)return;const o=e.trim().toLowerCase();return["left","center","right","justify"].includes(o)?o:void 0}function La(e){if(!e)return;const o=e.trim().toLowerCase();if(o==="top"||o==="text-top")return"top";if(o==="bottom"||o==="text-bottom")return"bottom";if(o==="middle")return"middle"}function wa(e){const o=new Map;return e&&e.split(";").forEach(t=>{const[n,...r]=t.split(":");if(!n||r.length===0)return;const i=n.trim().toLowerCase(),l=r.join(":").trim();i&&o.set(i,l)}),o}function ka(e){if(!e)return;const o=e.trim().replace(/\s+/g," ");if(o&&/^(\d+(\.\d+)?\s*(px|em|rem|%|pt)\s*){1,4}$/i.test(o))return o}function _a(e){const o=wa(e.getAttribute("style")),t=o.get("font-family")??void 0,n=Ne(o.get("font-size")??""),r=Ne(o.get("line-height")??""),i=jn(o.get("color")??void 0),l=jn(o.get("background-color")??void 0),s=Ta(o.get("text-align")??void 0),c=La(o.get("vertical-align")??void 0),d={top:Nt(o.get("border-top")),right:Nt(o.get("border-right")),bottom:Nt(o.get("border-bottom")),left:Nt(o.get("border-left"))},u=Nt(o.get("border"));u&&(d.top=d.top??u,d.right=d.right??u,d.bottom=d.bottom??u,d.left=d.left??u);const p=Aa(o),m=ka(o.get("border-radius")??void 0),f={};return t&&(f.fontFamily=t),n!==void 0&&(f.fontSize=n),r!==void 0&&(f.lineHeight=r),i&&(f.color=i),l&&(f.backgroundColor=l),s&&(f.textAlign=s),c&&(f.verticalAlign=c),p&&(f.padding=p),m&&(f.borderRadius=m),(d.top||d.right||d.bottom||d.left)&&(f.borders=d),Object.keys(f).length?f:void 0}function Na(e){const o=e.getAttribute("align")?.toLowerCase();if(o==="left"||o==="center"||o==="right")return o}function Ba(e){const o=e.getAttribute("valign")?.toLowerCase();if(o==="top"||o==="middle"||o==="bottom")return o}function zo(e){if(e==null)return;const o=Number(e);return Number.isFinite(o)?o:void 0}function Bt(e){const o=Array.from(e.classList),t={};Array.from(e.attributes).forEach(d=>{const u=d.name.toLowerCase();u!=="class"&&(t[u]=d.value)});const n={width:e.getAttribute("width")??void 0,cellpadding:zo(e.getAttribute("cellpadding")),cellspacing:zo(e.getAttribute("cellspacing")),border:zo(e.getAttribute("border")),classList:o.length?o:void 0,attrs:Object.keys(t).length?t:void 0},r=[],i=[];let l=0;const s=Array.from(e.querySelectorAll(":scope > tr, :scope > tbody > tr, :scope > thead > tr, :scope > tfoot > tr")).filter(d=>d.querySelectorAll("td, th").length!==0);s.forEach(d=>{let u=0;Array.from(d.querySelectorAll("td, th")).forEach(p=>{const m=Math.max(1,p.colSpan||1);u+=m}),u>l&&(l=u)});let c=0;for(const d of s){i[c]||(i[c]=Array(l).fill(null));let u=0;const p=Array.from(d.querySelectorAll("td, th"));for(const m of p){for(;u<l&&i[c][u]!==null&&i[c][u]!==void 0;)u++;if(u>=l)continue;const f=Math.max(1,m.colSpan||1),g=Math.max(1,m.rowSpan||1),b=Math.min(g,s.length-c),h=`cell-${r.length}`,y=Array.from(m.classList),E=va(m),S=Na(m),v=Ba(m),C=_a(m),L={id:h,row:c,col:u,rowspan:b,colspan:f,contentHtml:E,classList:y,align:S,valign:v,style:C};r.push(L);for(let w=0;w<b;w++){const T=c+w;i[T]||(i[T]=Array(l).fill(null));for(let k=0;k<f;k++){const D=u+k;D>=l||i[T][D]!==null&&i[T][D]!==void 0||(i[T][D]=h)}}u+=f}c++}for(let d=0;d<i.length;d++)for(let u=0;u<l;u++)(i[d][u]===null||i[d][u]===void 0)&&(i[d][u]=null);new Set(i.flat().filter(d=>d!==null)),new Set(r.map(d=>d.id));for(const d of r)for(let u=d.row;u<d.row+d.rowspan;u++)for(let p=d.col;p<d.col+d.colspan;p++)i[u]&&(i[u][p],d.id);return{rows:i.length,cols:l,cells:r,grid:i,meta:n}}function Gn(e,o,t){const n=JSON.parse(JSON.stringify(e));let r=-1;const i=typeof o=="string"?o.trim():"";if(i){for(const f of n.cells)if(Array.isArray(f.classList)&&f.classList.includes(i)){r=f.row;break}}r===-1&&(n.rows===0?(r=0,t=!0):(r=n.rows-1,t=!1));const l=n.cells.filter(f=>f.row===r).sort((f,g)=>f.col-g.col),s=n.cells.length===0;if(l.length===0)if(s)l.push({id:"cell-0",row:0,col:0,rowspan:1,colspan:1,contentHtml:$o,classList:[""],align:"center",valign:"top",style:{}}),n.cols=1;else for(let f=0;f<n.cols;f++)l.push({id:`template-${f}`,row:r,col:f,rowspan:1,colspan:1,contentHtml:$o,classList:[""],align:"center",valign:"top",style:{}});let c=1;for(const f of l)f.rowspan>c&&(c=f.rowspan);let d=t?r:r+c;const u=new Array(n.cols).fill(!1);for(const f of n.cells)if(f.row<d&&f.row+f.rowspan>d)for(let g=f.col;g<f.col+f.colspan;g++)u[g]=!0;for(const f of n.cells)f.row>=d&&(f.row+=1);const p=[];let m=n.cells.length;for(let f=0;f<n.cols;f++){if(u[f])continue;const g=l.find(h=>h.col<=f&&f<h.col+h.colspan)||l[0]||{contentHtml:$o,classList:[""],align:"center",valign:"top",style:{}},b=JSON.parse(JSON.stringify(g));b.id=`cell-${m++}`,b.contentHtml=no(g.contentHtml," "),b.classList=b.classList.filter(h=>h!==i),b.row=d,b.col=f,b.rowspan=1,b.colspan=1,p.push(b)}n.cells.push(...p),n.rows+=1,n.grid.splice(d,0,new Array(n.cols).fill(null));for(let f=0;f<n.rows;f++)for(let g=0;g<n.cols;g++){const b=n.cells.find(h=>h.row<=f&&h.row+h.rowspan>f&&h.col<=g&&h.col+h.colspan>g);n.grid[f][g]=b?b.id:null}for(let f=0;f<n.cols;f++)n.grid[d][f]===null&&u[f];return n}function Ma(e){if(!e)return"";const o=[];if(e.fontFamily&&o.push(`font-family: ${e.fontFamily}`),e.fontSize!==void 0&&o.push(`font-size: ${e.fontSize}px`),e.lineHeight!==void 0&&o.push(`line-height: ${e.lineHeight}px`),e.color&&o.push(`color: ${e.color}`),e.backgroundColor&&o.push(`background-color: ${e.backgroundColor}`),e.textAlign&&o.push(`text-align: ${e.textAlign}`),e.verticalAlign&&o.push(`vertical-align: ${e.verticalAlign}`),e.borderRadius&&o.push(`border-radius: ${e.borderRadius}`),e.padding){const t=e.padding;t.top!==void 0&&t.right!==void 0&&t.bottom!==void 0&&t.left!==void 0&&t.top===t.right&&t.right===t.bottom&&t.bottom===t.left?o.push(`padding: ${t.top}px`):(t.top!==void 0&&o.push(`padding-top: ${t.top}px`),t.right!==void 0&&o.push(`padding-right: ${t.right}px`),t.bottom!==void 0&&o.push(`padding-bottom: ${t.bottom}px`),t.left!==void 0&&o.push(`padding-left: ${t.left}px`))}if(e.borders){const t=e.borders;t.border?o.push(`border: ${t.border.width}px ${t.border.style} ${t.border.color}`):(t.top&&o.push(`border-top: ${t.top.width}px ${t.top.style} ${t.top.color}`),t.right&&o.push(`border-right: ${t.right.width}px ${t.right.style} ${t.right.color}`),t.bottom&&o.push(`border-bottom: ${t.bottom.width}px ${t.bottom.style} ${t.bottom.color}`),t.left&&o.push(`border-left: ${t.left.width}px ${t.left.style} ${t.left.color}`))}return o.length?o.join("; "):""}function Se(e){if(e.rows===0||e.cols===0||!e.cells.length)return"<table></table>";const o=[];if(e.meta&&(e.meta.width&&o.push(`width="${He(e.meta.width)}"`),e.meta.cellpadding!==void 0&&o.push(`cellpadding="${e.meta.cellpadding}"`),e.meta.cellspacing!==void 0&&o.push(`cellspacing="${e.meta.cellspacing}"`),e.meta.border!==void 0&&o.push(`border="${e.meta.border}"`),e.meta.classList?.length&&o.push(`class="${He(e.meta.classList.join(" "))}"`),e.meta.attrs))for(const[r,i]of Object.entries(e.meta.attrs))o.push(`${He(r)}="${He(i)}"`);const t=new Map;for(const r of e.cells)t.set(r.id,r);const n=[];for(let r=0;r<e.rows;r++){const i=[];for(let l=0;l<e.cols;l++){const s=e.grid[r][l];if(!s)continue;const c=t.get(s);if(!c||c.row!==r||c.col!==l)continue;const d=[];c.rowspan>1&&d.push(`rowspan="${c.rowspan}"`),c.colspan>1&&d.push(`colspan="${c.colspan}"`),c.align&&d.push(`align="${He(c.align)}"`),c.valign&&d.push(`valign="${He(c.valign)}"`),c.classList?.length&&d.push(`class="${He(c.classList.join(" "))}"`);const u=Ma(c.style);u&&d.push(`style="${He(u)}"`),i.push(`<td${d.length?" "+d.join(" "):""}>${c.contentHtml}</td>`)}i.length&&n.push(`<tr>${i.join("")}</tr>`)}return`<table${o.length?" "+o.join(" "):""}>${n.join("")}</table>`}function Ra(e,o){const t=JSON.parse(JSON.stringify(e));let n=-1;const r=typeof o=="string"?o.trim():"";if(r){for(const i of t.cells)if(Array.isArray(i.classList)&&i.classList.includes(r)){n=i.row;break}}if(n===-1||t.rows<=1||t.cells.filter(i=>i.row===n).some(i=>i.rowspan>1))return t;t.cells=t.cells.filter(i=>i.row!==n);for(const i of t.cells)i.row>n&&(i.row-=1);return t.grid.splice(n,1),t.rows-=1,t}function no(e,o){if(typeof e!="string"||typeof o!="string")return e;const t=new DOMParser().parseFromString(e,"text/html").body.firstChild;if(!t)return e;let n=!1;function r(s){if(s.nodeType===Node.TEXT_NODE&&s.textContent?.trim()){n?s.textContent="":(s.textContent=o,n=!0);return}for(const c of Array.from(s.childNodes))r(c)}function i(s){if(s.nodeType===Node.TEXT_NODE){const c=s.textContent||"";return!c||/^\s*$/.test(c.replace(/\u00A0/g,"X"))}return s.nodeType!==Node.ELEMENT_NODE?!0:Array.from(s.childNodes).every(c=>i(c))}function l(s,c=!1){if(s.nodeType!==Node.ELEMENT_NODE)return;const d=Array.from(s.childNodes);for(const u of d)l(u);!c&&i(s)&&s.parentNode?.removeChild(s)}return r(t),l(t,!0),t.outerHTML||e}function Yn(e,o,t){const n=JSON.parse(JSON.stringify(e));let r;const i=typeof o=="string"?o.trim():"";if(i){for(const u of n.cells)if(Array.isArray(u.classList)&&u.classList.includes(i)){r=u;break}}if(!r)return n;const l=r.col;let s=t?l:l+r.colspan;const c=[];let d=n.cells.length;for(let u=0;u<n.rows;u++){const p=JSON.parse(JSON.stringify(r));p.id=`cell-${d++}`,p.contentHtml=no(r.contentHtml," "),p.row=u,p.col=s,p.rowspan=1,p.colspan=1,p.classList=r.classList.filter(m=>m!==i),c.push(p)}for(const u of n.cells)u.col>=s&&(u.col+=1);n.cells.push(...c),n.cols+=1;for(let u=0;u<n.rows;u++)n.grid[u].splice(s,0,null),n.grid[u][s]=c[u].id;return n}function Pa(e,o){const t=JSON.parse(JSON.stringify(e));let n;const r=typeof o=="string"?o.trim():"";if(r){for(const l of t.cells)if(Array.isArray(l.classList)&&l.classList.includes(r)){n=l;break}}if(!n)return t;const i=n.col;if(t.cols<=1||t.cells.filter(l=>l.col===i).some(l=>l.colspan>1))return t;t.cells=t.cells.filter(l=>l.col!==i);for(const l of t.cells)l.col>i&&(l.col-=1);for(let l=0;l<t.rows;l++)t.grid[l].splice(i,1);return t.cols-=1,t}function Kn(e,o,t,n=1){const r=JSON.parse(JSON.stringify(e));if(n<=0)return r;let i;const l=typeof o=="string"?o.trim():"";if(l){for(const E of r.cells)if(Array.isArray(E.classList)&&E.classList.includes(l)){i=E;break}}if(!i)return r;const s=i.row,c=i.col,d=i.colspan,u=i.rowspan,p=[];if(t)for(let E=1;E<=n;E++)p.push(c-E);else for(let E=0;E<n;E++)p.push(c+d+E);for(const E of p)if(E<0||E>=r.cols)return r;const m=[];for(const E of p){const S=r.cells.find(v=>v.row===s&&v.col<=E&&E<v.col+v.colspan);if(!S)return r;m.push(S)}const f=Array.from(new Set(m));for(const E of f)if(E.rowspan!==u)return r;const g=d+f.reduce((E,S)=>E+S.colspan,0);let b=(t?[...f.reverse(),i]:[i,...f]).map(E=>{const S=new DOMParser().parseFromString(E.contentHtml,"text/html").body.firstChild,v=S?S.innerHTML:"";return v===""||/^\s*( )*\s*$/.test(v)?"":v}).filter(E=>E!=="").join("<br>");(b===""||/^\s*( |<br>)*\s*$/.test(b))&&(b=" ");const h=new DOMParser().parseFromString(i.contentHtml,"text/html").body.firstChild;h?(h.innerHTML=b,i.contentHtml=h.outerHTML):i.contentHtml=`<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a;">${b}</div>`,i.colspan=g,t&&p.length>0&&(i.col=Math.min(...p)),r.cells=r.cells.filter(E=>!f.includes(E));const y=t&&p.length>0?Math.min(...p):c;for(let E=y;E<y+g;E++)r.grid[s][E]=i.id;return r}function Xn(e,o,t,n=1){const r=JSON.parse(JSON.stringify(e));if(n<=0)return r;let i;const l=typeof o=="string"?o.trim():"";if(l){for(const E of r.cells)if(Array.isArray(E.classList)&&E.classList.includes(l)){i=E;break}}if(!i)return r;const s=i.row,c=i.col,d=i.rowspan,u=i.colspan,p=[];if(t)for(let E=1;E<=n;E++)p.push(s-E);else for(let E=0;E<n;E++)p.push(s+d+E);for(const E of p)if(E<0||E>=r.rows)return r;const m=[];for(const E of p){const S=r.cells.find(v=>v.col===c&&v.row<=E&&E<v.row+v.rowspan);if(!S)return r;m.push(S)}const f=Array.from(new Set(m));for(const E of f)if(E.colspan!==u)return r;const g=d+f.reduce((E,S)=>E+S.rowspan,0);let b=(t?[...f.reverse(),i]:[i,...f]).map(E=>{const S=new DOMParser().parseFromString(E.contentHtml,"text/html").body.firstChild,v=S?S.innerHTML:"";return v===""||/^\s*( )*\s*$/.test(v)?"":v}).filter(E=>E!=="").join("<br>");b=b.replace(/ $/g,""),(b===""||/^\s*( |<br>)*\s*$/.test(b))&&(b=" ");const h=new DOMParser().parseFromString(i.contentHtml,"text/html").body.firstChild;h?(h.innerHTML=b,i.contentHtml=h.outerHTML):i.contentHtml=`<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a;">${b}</div>`,i.rowspan=g,t&&p.length>0&&(i.row=Math.min(...p)),r.cells=r.cells.filter(E=>!f.includes(E));const y=t&&p.length>0?Math.min(...p):s;for(let E=y;E<y+g&&E<r.rows;E++)r.grid[E][c]=i.id;return r}function Ha(e,o,t=1){const n=JSON.parse(JSON.stringify(e)),r=typeof o=="string"?o.trim():"";if(!r)return n;const i=n.cells.find(s=>Array.isArray(s.classList)&&s.classList.includes(r));if(!i||i.colspan<=1||t>=i.colspan)return n;i.colspan-=t;const l={id:`cell-${n.cells.length}`,row:i.row,col:i.col+i.colspan,colspan:t,rowspan:i.rowspan,contentHtml:no(i.contentHtml," "),classList:[...i.classList],align:i.align,valign:i.valign,style:i.style?JSON.parse(JSON.stringify(i.style)):{}};n.cells.push(l);for(let s=0;s<n.rows;s++)for(let c=0;c<n.cols;c++){const d=n.cells.find(u=>u.row<=s&&u.row+u.rowspan>s&&u.col<=c&&u.col+u.colspan>c);n.grid[s][c]=d?d.id:null}return n}function Ia(e,o,t=1){const n=JSON.parse(JSON.stringify(e)),r=typeof o=="string"?o.trim():"";if(!r)return n;const i=n.cells.find(s=>Array.isArray(s.classList)&&s.classList.includes(r));if(!i||i.rowspan<=1||t>=i.rowspan)return n;i.rowspan-=t;const l={id:`cell-${n.cells.length}`,row:i.row+i.rowspan,col:i.col,rowspan:t,colspan:i.colspan,contentHtml:no(i.contentHtml," "),classList:[...i.classList],align:i.align,valign:i.valign,style:i.style?JSON.parse(JSON.stringify(i.style)):{}};n.cells.push(l);for(let s=0;s<n.rows;s++)for(let c=0;c<n.cols;c++){const d=n.cells.find(u=>u.row<=s&&u.row+u.rowspan>s&&u.col<=c&&u.col+u.colspan>c);n.grid[s][c]=d?d.id:null}for(let s=l.row;s<l.row+l.rowspan;s++)for(let c=l.col;c<l.col+l.colspan;c++)n.grid[s][c];return n}function Vo(e,o){const t=typeof o=="string"?o.trim():"";if(!t)return null;const n=e.cells.find(r=>Array.isArray(r.classList)&&r.classList.includes(t));return n?{row:n.row,col:n.col}:null}function Zn(e,o){const t=typeof o=="string"?o.trim():"";if(!t)return{row:null,col:null,isOverlapped:!1};const n=e.cells.find(i=>Array.isArray(i.classList)&&i.classList.includes(t));if(!n)return{row:null,col:null,isOverlapped:!1};const r=n.row;if(r<0||r>=e.rows)return{row:null,col:null,isOverlapped:!1};for(const i of e.cells)if(i.rowspan>1&&!(Array.isArray(i.classList)&&i.classList.includes(t))&&i.row<=r&&r<i.row+i.rowspan)return{row:i.row,col:i.col,isOverlapped:!0};return{row:null,col:null,isOverlapped:!1}}function Jn(e,o){const t=typeof o=="string"?o.trim():"";if(!t)return{row:null,col:null,isOverlapped:!1};const n=e.cells.find(i=>Array.isArray(i.classList)&&i.classList.includes(t));if(!n)return{row:null,col:null,isOverlapped:!1};const r=n.col;if(r<0||r>=e.cols)return{row:null,col:null,isOverlapped:!1};for(const i of e.cells)if(i.colspan>1&&!(Array.isArray(i.classList)&&i.classList.includes(t))&&i.col<=r&&r<i.col+i.colspan)return{row:i.row,col:i.col,isOverlapped:!0};return{row:null,col:null,isOverlapped:!1}}function Qn(e,o,t){const n=JSON.parse(JSON.stringify(e)),r=n.cells.find(d=>d.classList?.includes(o));if(!r)return n;const i=n.cells.filter(d=>d.classList?.includes(t)&&d.id!==r.id);let l=r.colspan||1;i.forEach(d=>{const u=d.colspan||1;l+=u,d.colspan=1}),r.colspan=l;const s=d=>{const u=d.match(/<div[^>]*>(.*?)<\/div>/);return u?u[1].replace(/ /g,"").trim():""};r.contentHtml=`<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a; padding: 8px;">${[s(r.contentHtml),...i.sort((d,u)=>d.col-u.col).map(d=>s(d.contentHtml)).filter(d=>d.length>0)].filter(d=>d.length>0).join("<br>")}</div>`;const c=new Set(i.map(d=>d.id));return n.cells.forEach(d=>{if(d.row===r.row&&d.col>r.col&&!c.has(d.id)){let u=0;i.forEach(p=>{p.row===d.row&&p.col<d.col&&(u+=(p.colspan||1)-1)}),d.col-=u}}),n.grid=n.grid.map((d,u)=>{const p=new Array(n.cols).fill(null);return n.cells.filter(m=>{const f=m.row,g=m.row+(m.rowspan||1)-1;return f<=u&&u<=g&&!c.has(m.id)}).sort((m,f)=>m.col-f.col).forEach(m=>{const f=m.id,g=m.colspan||1,b=m.col;for(let h=0;h<g&&b+h<n.cols;h++)p[b+h]=f}),p}),n}function er(e,o,t){const n=JSON.parse(JSON.stringify(e)),r=n.cells.find(u=>u.classList?.includes(o));if(!r)return n;const i=n.cells.filter(u=>u.classList?.includes(t)&&u.id!==r.id&&u.col===r.col);let l=r.rowspan||1;i.forEach(u=>{const p=u.rowspan||1;l+=p,u.rowspan=1}),r.rowspan=l;const s=u=>{const p=u.match(/<div[^>]*>(.*?)<\/div>/);return p?p[1].replace(/ /g,"").trim():""};r.contentHtml=`<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a; padding: 8px;">${[s(r.contentHtml),...i.sort((u,p)=>u.row-p.row).map(u=>s(u.contentHtml)).filter(u=>u.length>0)].filter(u=>u.length>0).join("<br>")}</div>`;const c=i.length>0?Math.min(...i.map(u=>u.row)):r.row;c<r.row&&(r.row=c);const d=new Set(i.map(u=>u.id));return n.cells.forEach(u=>{if(u.col===r.col&&u.id!==r.id&&!d.has(u.id)){let p=0;i.forEach(m=>{m.col===u.col&&m.row<=u.row&&(p+=(m.rowspan||1)-1)}),p>0&&(u.row-=p)}}),n.grid=n.grid.map((u,p)=>{const m=new Array(n.cols).fill(null);return n.cells.filter(f=>{const g=f.row,b=f.row+(f.rowspan||1)-1;return g<=p&&p<=b&&!d.has(f.id)}).sort((f,g)=>f.col-g.col).forEach(f=>{const g=f.col,b=f.colspan||1;for(let h=0;h<b&&g+h<n.cols;h++)m[g+h]=f.id}),m}),n}function ro(e,o,t,n,r,i=!0){const{cells:l,grid:s}=e;function c(f,g){if(!s[f]||!s[f][g])return null;const b=s[f][g];return l.find(h=>h.id===b)}function d(f,g){const b=c(f,g);return b?{row:b.row,col:b.col,cell:b}:null}const u=d(o,t),p=d(n,r);if(!u||!p||u.cell.id===p.cell.id)return 0;function m(f,g,b,h){let y=0;const E=f<g?1:-1,S=new Set;for(let C=f;C!==g;C+=E){const L=c(h?b:C,h?C:b);L&&!S.has(L.id)&&(S.add(L.id),y++)}const v=c(h?b:g,h?g:b);return v&&!S.has(v.id)&&y++,y}return i?u.row===p.row?m(t,r,o,!0)-1:0:u.col===p.col?m(o,n,t,!1)-1:0}function Oa(e,o){if(!o.settings)return e;const t=Object.keys(o.settings);if(t.length===0)return e;const n=["paddingLeftRight","paddingTopBottom","paddingLeft","paddingTop","paddingRight","paddingBottom"],r=t[0];if(!n.includes(r))return e;const i=o.settings[r];return typeof i!="number"||isNaN(i)||!e.cells||!Array.isArray(e.cells)||e.cells.forEach((l,s)=>{switch(l.id,l.style||(l.style={}),l.style.padding||(l.style.padding={top:0,right:0,bottom:0,left:0}),r){case"paddingLeftRight":l.style.padding.left=i,l.style.padding.right=i;break;case"paddingTopBottom":l.style.padding.top=i,l.style.padding.bottom=i;break;case"paddingLeft":l.style.padding.left=i;break;case"paddingTop":l.style.padding.top=i;break;case"paddingRight":l.style.padding.right=i;break;case"paddingBottom":l.style.padding.bottom=i}l.style.padding.top===0&&l.style.padding.right===0&&l.style.padding.bottom===0&&l.style.padding.left===0&&delete l.style.padding,Object.keys(l.style).length===0&&delete l.style}),e}function xa(e,o){const{backgroundPositionX:t,backgroundPositionY:n}=o.settings;if(t===void 0&&n===void 0)return e;const r=e.replace(/\s*;\s*/g,";").replace(/([^;])$/,"$1;").trim().split(";").filter(s=>s.trim());let i=!1;const l=r.map(s=>{const[c,d]=s.split(":").map(u=>u.trim());if(c==="background-position"){i=!0;const u=d.split(/\s+/).filter(f=>f.trim());let p=u[0],m=u[1]||u[0];return t!==void 0&&(p=`${t}px`),n!==void 0&&(m=`${n}px`),`background-position: ${p} ${m}`}return c==="background-position-x"&&t!==void 0?`background-position-x: ${t}px`:c==="background-position-y"&&n!==void 0?`background-position-y: ${n}px`:s});if(!i&&(t!==void 0||n!==void 0)){const s=t!==void 0?`${t}px`:"center",c=n!==void 0?`${n}px`:"center";l.push(`background-position: ${s} ${c}`)}return l.join("; ")}function Da(e){const o={};if(!e)return o;const t=e.split(";").map(n=>n.trim()).filter(n=>n.length>0);for(const n of t){const r=n.indexOf(":");if(r===-1)continue;const i=n.slice(0,r).trim(),l=n.slice(r+1).trim();if(!(!i||!l))switch(i.toLowerCase()){case"background-image":const s=l.match(/url\(['"]?(.+?)['"]?\)/i);s&&s[1]&&(o.backgroundImage=s[1]);break;case"background-size":o.backgroundSize=l;break;case"background-repeat":o.backgroundRepeat=l;break;case"background-position":const c=l.split(/\s+/).filter(d=>d.length>0);c.length>=1&&(o.backgroundPositionX=c[0]),c.length>=2&&(o.backgroundPositionY=c[1])}}return o}function Fa(e,o){const t=[];for(const n of e.cells)o.some(r=>n.classList.includes(r))&&t.push(n.id);return t}function qa(e,o,t){const n={...e,cells:e.cells.map(r=>({...r,style:r.style?{...r.style}:void 0}))};for(const r of n.cells)o.includes(r.id)&&(r.style||(r.style={}),r.style.backgroundColor=t);return n}function Wa(e,o,t){const n={...e,cells:e.cells.map(r=>({...r,classList:[...r.classList]}))};for(const r of n.cells)o.includes(r.id)&&(r.classList.includes(t)||r.classList.push(t));return n}function $a(e,o,t,n){const r={width:1,style:"solid",color:"#b9b1b1"},i={...e,cells:e.cells.map(l=>{const s={...l};return s.style&&(s.style={...s.style},s.style.borders&&(s.style.borders={...s.style.borders})),s})};for(const l of i.cells)if(o.includes(l.id)){l.style||(l.style={}),l.style.borders||(l.style.borders={});for(const s of t){const c=l.style.borders[s];c?l.style.borders[s]={...c,...n}:l.style.borders[s]={...r,...n}}}return i}function za(e,o){const t=new Map(e.cells.map(u=>[u.id,u])),n=new Set,r=[];for(const u of o){const p=t.get(u);if(p)for(let m=0;m<p.rowspan;m++)for(let f=0;f<p.colspan;f++){const g=p.row+m,b=p.col+f,h=`${g}-${b}`;n.has(h)||(n.add(h),r.push({row:g,col:b,id:u}))}}const i=new Set(r.map(u=>u.row)),l=new Set(r.map(u=>u.col));let s=!1;if(i.size===1&&l.size===r.length)s=!0;else if(!(l.size===1&&i.size===r.length))return{};s?r.sort((u,p)=>u.col-p.col):r.sort((u,p)=>u.row-p.row);const c=new Map;for(const u of r)c.has(u.id)||c.set(u.id,[]),c.get(u.id).push({row:u.row,col:u.col});c.forEach((u,p)=>{const m=t.get(p);if(m.rowspan>1||m.colspan>1){const f=s?(g,b)=>g.col-b.col:(g,b)=>g.row-b.row;u.sort(f)}});const d={};for(let u=0;u<r.length;u++){const p=r[u],m=p.id,f=t.get(m);let g=m;if(f.rowspan>1||f.colspan>1){const h=c.get(m).findIndex(y=>y.row===p.row&&y.col===p.col);h>0&&(g=`${m}-uni-${h+1}`)}const b=[];s?(b.push("top","bottom"),(u===0||r[u-1].col!==p.col-1)&&b.push("left"),(u===r.length-1||r[u+1].col!==p.col+1)&&b.push("right")):(b.push("left","right"),(u===0||r[u-1].row!==p.row-1)&&b.push("top"),(u===r.length-1||r[u+1].row!==p.row+1)&&b.push("bottom")),d[g]=b}return d}function Va(e,o,t,n){const r={topLeft:0,topRight:1,bottomRight:2,bottomLeft:3},i={...e,cells:e.cells.map(l=>{const s={...l};return s.style&&(s.style={...s.style}),s})};for(const l of i.cells)if(o.includes(l.id)){l.style||(l.style={});let s=(l.style.borderRadius||"0px 0px 0px 0px").split(" ").map(c=>parseInt(c.replace("px",""),10));for(const c of t){const d=r[c];d!==void 0&&(s[d]=n)}s.every(c=>c===0)?delete l.style.borderRadius:l.style.borderRadius=s.map(c=>`${c}px`).join(" ")}return i}function Ua(e,o){const t=new Map(e.cells.map(u=>[u.id,u])),n=new Set,r=[];for(const u of o){const p=t.get(u);if(p)for(let m=0;m<p.rowspan;m++)for(let f=0;f<p.colspan;f++){const g=p.row+m,b=p.col+f,h=`${g}-${b}`;n.has(h)||(n.add(h),r.push({row:g,col:b,id:u}))}}const i=new Set(r.map(u=>u.row)),l=new Set(r.map(u=>u.col));let s=!1;if(i.size===1&&l.size===r.length)s=!0;else if(!(l.size===1&&i.size===r.length))return{};s?r.sort((u,p)=>u.col-p.col):r.sort((u,p)=>u.row-p.row);const c=new Map;for(const u of r)c.has(u.id)||c.set(u.id,[]),c.get(u.id).push({row:u.row,col:u.col});c.forEach((u,p)=>{const m=t.get(p);if(m.rowspan>1||m.colspan>1){const f=s?(g,b)=>g.col-b.col:(g,b)=>g.row-b.row;u.sort(f)}});const d={};for(let u=0;u<r.length;u++){const p=r[u],m=p.id,f=t.get(m);let g=m;if(f.rowspan>1||f.colspan>1){const y=c.get(m).findIndex(E=>E.row===p.row&&E.col===p.col);y>0&&(g=`${m}-uni-${y+1}`)}const b=new Set;s?(b.add("top"),b.add("bottom"),(u===0||r[u-1].col!==p.col-1)&&b.add("left"),(u===r.length-1||r[u+1].col!==p.col+1)&&b.add("right")):(b.add("left"),b.add("right"),(u===0||r[u-1].row!==p.row-1)&&b.add("top"),(u===r.length-1||r[u+1].row!==p.row+1)&&b.add("bottom"));const h=[];b.has("top")&&b.has("left")&&h.push("topLeft"),b.has("top")&&b.has("right")&&h.push("topRight"),b.has("bottom")&&b.has("left")&&h.push("bottomLeft"),b.has("bottom")&&b.has("right")&&h.push("bottomRight"),h.length>0&&(d[g]=h)}return d}function ja(e,o,t,n){const r={...e,cells:e.cells.map(i=>{const l={...i};return l.style&&(l.style={...l.style},l.style.padding&&(l.style.padding={...l.style.padding})),l})};for(const i of r.cells)if(o.includes(i.id)){i.style||(i.style={}),i.style.padding||(i.style.padding={top:0,right:0,bottom:0,left:0});for(const l of t){const s=l;i.style.padding[s]=n}["top","right","bottom","left"].forEach(l=>{i.style?.padding&&i.style.padding[l]===0&&delete i.style.padding[l]}),i.style.padding&&Object.keys(i.style.padding).length===0&&delete i.style.padding}return r}function Ga(e,o){const t=new RegExp(`\\b${o}\\s*:[^;]*(;\\s*)?`,"gi");return e.replace(t,"").trim().replace(/\s*;\s*(?=;|$)/g,"").trim()}function Ya(e){const o=e.match(/border-radius:\s*([^;]+)/);if(!o)return{full:null,first:null,firstNumber:null};const t=o[1].trim(),n=t.split(/\s+/)[0],r=parseInt(n),i=t.split(/\s+/)[1],l=parseInt(i),s=t.split(/\s+/)[2],c=parseInt(s),d=t.split(/\s+/)[3];return{full:t,first:n,firstNumber:r,second:i,secondNumber:l,third:s,thirdNumber:c,fourth:d,fourthNumber:parseInt(d)}}function Ka(e,o,t){const n=/border-radius:\s*([^;]+)/,r=e.match(n);if(!r)return e+` border-radius: ${tr("0 0 0 0",o,t)};`;const i=tr(r[1].trim(),o,t);return e.replace(n,`border-radius: ${i}`)}function tr(e,o,t){const n=typeof t=="number"&&!isNaN(t)?Math.max(0,t):0;let r=e.split(/\s+/).filter(s=>s.trim()!=="").map(s=>{const c=parseFloat(s);return isNaN(c)?0:Math.max(0,c)}),i;if(r.length===0)i=[0,0,0,0];else if(r.length===1)i=[r[0],r[0],r[0],r[0]];else if(r.length===2)i=[r[0],r[1],r[0],r[1]];else if(r.length===3)i=[r[0],r[1],r[2],r[1]];else{const s=r.slice(0,4);i=[s[0]??0,s[1]??0,s[2]??0,s[3]??0]}const l={topLeft:0,topRight:1,bottomRight:2,bottomLeft:3}[o];return l!==void 0&&(i[l]=n),i.map(s=>s===0?"0":`${s}px`).join(" ")}function Xa(e){const o=JSON.parse(JSON.stringify(e)),t=o.rows,n=o.cols;return o.cells.forEach(r=>{const i=r.row===0,l=r.row+r.rowspan===t,s=r.col===0,c=r.col+r.colspan===n;i&&delete r.style.borders.top,l&&delete r.style.borders.bottom,s&&delete r.style.borders.left,c&&delete r.style.borders.right}),o}function Za(e){const o=JSON.parse(JSON.stringify(e));return o.cells.forEach(t=>{if(t.style?.borders?.top&&t.style?.borders?.bottom&&t.style?.borders?.left&&t.style?.borders?.right){const n=t.style.borders.top,r=t.style.borders.bottom,i=t.style.borders.left,l=t.style.borders.right;n?.width===r?.width&&n?.width===i?.width&&n?.width===l?.width&&n?.style===r?.style&&n?.style===i?.style&&n?.style===l?.style&&n?.color===r?.color&&n?.color===i?.color&&n?.color===l?.color&&(t.style.borders={border:{width:n.width,style:n.style,color:n.color}})}}),o}function Ja(e,o){return typeof e!="string"&&(e=String(e||"")),typeof o!="string"&&(o=String(o||"")),e.split(" ").filter(t=>t&&!t.startsWith(o)).join(" ").trim()}function Qa(e){const o={},t={};return Object.keys(e).forEach(n=>{const r=n.indexOf("-uni-");if(r===-1){const i=n;o[i]=[...e[n]],t[i]=new Set(e[n])}else{const i=n.substring(0,r);t[i]||(t[i]=new Set),e[n].forEach(l=>{t[i].add(l)}),e.hasOwnProperty(i)&&!o.hasOwnProperty(i)&&(o[i]=[...e[i]],e[i].forEach(l=>t[i].add(l)))}}),Object.keys(t).forEach(n=>{const r=n;o[r]||(o[r]=[]),o[r]=Array.from(t[r])}),o}function or(e,o,t,n=!0){const r=document.querySelector(e);if(!r)return;const i=r.closest("td");if(!i)return;const l=i.parentElement;if(!l)return;const s=Array.from(l.cells),c=s.indexOf(i);let d=0,u=1;for(;d<o;){let p;if(n?p=c+u:p=c-u,p<0||p>=s.length)break;s[p].classList.add(t),d++,u++}}function nr(e,o,t,n=!0){const r=document.querySelector(e);if(!r)return;const i=r.closest("td");if(!i)return;const l=i.parentElement;if(!l||l.tagName!=="TR")return;const s=l.closest("table");if(!s)return;const c=Array.from(s.rows),d=c.indexOf(l);if(d===-1)return;const u=[],p=Math.max(...c.map(y=>Array.from(y.cells).reduce((E,S)=>E+(S.colSpan||1),0))),m=new Map;for(let y=0;y<c.length;y++){u[y]=[];let E=0;const S=Array.from(c[y].cells);for(const v of S){for(;m.has(`${y}:${E}`);){const w=m.get(`${y}:${E}`);u[y][E]=w.cell,E++}const C=v.colSpan||1,L=v.rowSpan||1;for(let w=0;w<C&&E<p;w++){u[y][E+w]=v;for(let T=0;T<L;T++)if(y+T<c.length){const k=`${y+T}:${E+w}`;m.set(k,{cell:v,rowSpan:L,colSpan:C,startRow:y})}}E+=C}for(;E<p;){if(m.has(`${y}:${E}`)){const v=m.get(`${y}:${E}`);u[y][E]=v.cell}else u[y][E]=null;E++}}let f=-1;for(let y=0;y<u[d].length;y++)if(u[d][y]===i){f=y;break}if(f===-1)return;let g=0,b=1;const h=new Set;for(;g<o;){const y=n?d+b:d-b;if(y<0||y>=c.length)break;const E=u[y][f];if(!E){b++;continue}const S=`${y}:${f}`,v=m.get(S);if(E.tagName!=="TD"){b++;continue}if(h.has(E)){b++;continue}if(v&&v.startRow!==y){b++;continue}E.classList.add(t),h.add(E),g++,b++}}var rr=`
|
|
88
|
+
`);n.classList.remove("em-atom-insert","em-atom-insert_bottom-document","em-atom-insert_bottom","em-atom-insert_top-document","em-atom-insert_top"),o.settings?.name&&(t.messageService.send("application_atom_inserted",o.settings.name),a.clearPendingPaletteInsert())}function Wn(e,o){const t=o.mutableState.atomReplaced;let n={settings:{}};const r=e.target,i=m=>o._setDocumentStyles(m,{minify:o.minify,cssbeautify:o.cssbeautify,HTMLDocument:o.HTMLDocument}),l=e.dataTransfer?.getData("Text")||"";if(l&&o.isJsonString(l)?n=JSON.parse(l):t&&(n={settings:{atomHTML:a.serializeOuterHtml(t)}}),!n.settings?.atomHTML)return;let s=n.settings.atomHTML.replaceAll(/<style((.|\n|\r)*?)<\/style>/gi,"").trim();i(n.settings.atomHTML.match(/<style((.|\n|\r)*?)<\/style>/g)),s=o.commonStylesApply({html:s});const c=r.closest('[em="block"]')&&r.tagName==="TD"&&!r.innerHTML&&!r.hasAttribute("height")&&(r.classList.contains("em-atom-insert-empty")||a.hasPendingPaletteAtom()),d=r.tagName==="DIV"&&r.closest("amp-accordion")&&!r.innerHTML;if(c||d){Zl(r,s,t,n,o);return}const u=!!document.querySelector(".em-blockatom-insert"),g=r.tagName==="TABLE"&&!r.innerHTML;if(u||g){Jl(e,s,n,o,i);return}r.closest('[em="atom"]')&&Ql(s,n,o)}var{START_POSITION:ct,NEW_EDITOR:$n,ACTIVE_ELEMENT:zn}=a.LIST_TEMP_CLASSES,{TRIM_SPACES:tt,LT:wt,GT:kt,EMPTY_TEXT:ea}=a.LIST_REGEX;function ta(e,o){const{activeElem:t,listContext:n,cursorPositionType:r,isTargetCell:i,commit:l,wrapEditor:s,removeTemporaryListClasses:c}=o,{classNameOl:d,classNameUl:u,isList:g}=n;if(!((e.key==="Enter"||e.keyCode===13)&&g&&i&&!e.shiftKey))return!1;if(e.preventDefault(),e.stopImmediatePropagation(),!t)return!0;const m=t.closest(`table.${d}`)||t.closest(`table.${u}`),f=t.closest(`table.${d}`)?d:u;if(!m)return!0;const p=a.extractTableRowData(t,f);if(!p)return!0;const{firstCellText:b,firstCellHtmlNoText:h,wrappedSecondCellHtml:y}=p;return r==="start"||r==="end"?oa(t,m,f,d,u,r,b,h,y,s):r==="inside"&&na(t,m,f,d,b,h,y,s),c(),l(),!0}function oa(e,o,t,n,r,i,l,s,c,d){const u=e.querySelector("div");u&&u.classList.add(ct);const g=a.injectTextIntoFirstDiv(s,l),m=a.injectTextIntoFirstDiv(c," "),f=i==="end"?a.updateDivWithClassAndNbsp(m):m,p=o.outerHTML,b="<tr>"+g+f+"</tr>",h=a.removeEditorTags(p),y=a.insertRowRelativeToDivClass(h,b,ct,i==="start"),E=a.removeEditorTags(y);if(t===n){o.innerHTML=E;const v=a.parseTableToArray(o),C=a.renumberCellOneText(v),L=a.replaceEmptyWithNbsp(C),w=a.formatCellOneText(L),T=o.outerHTML;o.innerHTML=a.updateTableNumbering(T,w).replace(wt,"<").replace(kt,">")}else o.innerHTML=E;a.processTableText(o,n,r,tt);const S=i==="start"?o.querySelector(".remove-start-element-position"):o.querySelector(".remove-new-editor-element");return S&&Vn(S,o,d),S}function na(e,o,t,n,r,i,l,s){const c=e.querySelector("div");c&&(c.classList.add(zn),c.classList.add(ct));const d=o.outerHTML,u=a.getTextPartsAtCursor(e),g=a.getHtmlPartsAtCursor(e);if(!u||!g)return null;const{beforeCursorPosition:m,afterCursorPosition:f}=u,{beforeHTML:p,afterHTML:b}=g,h=a.injectTextIntoFirstDiv(i,r),y=a.injectTextIntoFirstDiv(l,m===""?" ":p.replace(tt,"")),E=a.injectTextIntoFirstDiv(i,r),S=a.injectTextIntoFirstDiv(l,f===""?" ":b.replace(tt,"")),v=a.updateDivWithClassAndNbsp(S),C=("<tr>"+h+y+"</tr>"+("<tr>"+E+v+"</tr>")).replace(wt,"<").replace(kt,">"),L=a.insertRowRelativeToDivClass(d,C,ct,!0),w=a.removeEditorTags(L),T=a.removeTrContainingDivWithClass(w,zn);if(t===n){o.innerHTML=T;const D=a.parseTableToArray(o),z=a.renumberCellOneText(D),$=a.replaceEmptyWithNbsp(z),M=a.formatCellOneText($),H=o.outerHTML;o.innerHTML=a.updateTableNumbering(H,M).replace(wt,"<").replace(kt,">")}else o.innerHTML=T;const k=o.querySelector(".remove-new-editor-element");return k&&Vn(k,o,s,!0),k}function Vn(e,o,t,n=!1){e.textContent&&e.textContent.length>0&&(e.innerHTML=e.innerHTML.replace(tt,"")),ea.test(e.textContent||"")&&(e.textContent=" "),t(e,!0);const r=o.querySelector("editor"),i=r?.querySelector("div");if(i){const l=window.getSelection();if(l&&l.rangeCount>0){const s=l.getRangeAt(0);s.selectNodeContents(i),s.collapse(!0),l.removeAllRanges(),l.addRange(s)}}n&&r&&r.focus()}function ra(e,o){const{activeElem:t,listContext:n,cursorPositionType:r,isTargetCell:i,isEmptyText:l,commit:s,wrapEditor:c,removeTemporaryListClasses:d}=o,{classNameOl:u,classNameUl:g,isList:m}=n,f=(e.keyCode===38||e.key==="ArrowUp")&&r==="start",p=(e.keyCode===40||e.key==="ArrowDown")&&(!l&&r==="end"||l&&r==="start");if(!(f||p)||!m||!i||!t)return!1;e.preventDefault(),e.stopImmediatePropagation();const b=e.key==="ArrowUp"?"ArrowUp":"ArrowDown",h=t.closest(`table.${u}`)||t.closest(`table.${g}`);if(!h)return!0;const y=t.querySelector("div");y&&y.classList.add(ct);const E=h.outerHTML,S=a.removeEditorTags(E);h.innerHTML=a.modifyHtml(S,ct,$n,b);const v=h.querySelector(".remove-new-editor-element");if(v){c(v,!0);const C=h.querySelector("editor"),L=C?.querySelector("div")?.childNodes[0],w=window.getSelection();if(w&&w.rangeCount>0){const T=w.getRangeAt(0);if(L&&L.nodeType===Node.TEXT_NODE){const k=L.textContent||"";T.setStart(L,k.replace(tt,"").length)}else C&&T.selectNodeContents(C);T.collapse(!0),w.removeAllRanges(),w.addRange(T)}}return d(),s(),!0}function ia(e,o,t){return(e.keyCode===39||e.key==="ArrowRight")&&(o==="end"||t)?(e.preventDefault(),e.stopImmediatePropagation(),!0):!1}function la(e,o){const t=window.navigator.platform.match("Mac"),{activeElem:n,listContext:r,cursorPositionType:i,isTargetCell:l,isEmptyText:s,parentElement:c,commit:d,wrapEditor:u,removeTemporaryListClasses:g,findNodeAtPosition:m,setCursorSafely:f}=o,{classNameOl:p,classNameUl:b,isList:h}=r;if(!((t?e.code==="Backspace":e.keyCode===46||e.keyCode===8)&&h)||!(!l||l&&(i==="start"||s&&i==="inside"||s&&i==="end"))||!n||!c)return!1;e.preventDefault(),e.stopImmediatePropagation();const y=n.closest(`table.${p}`)?p:b,E=c.closest("tr");if(!E)return!0;const S=E.previousElementSibling;if(!S&&!l)return!0;const v=l?n.querySelector("div"):E.querySelector("tr td:nth-child(2)")?.querySelector("div"),C=v?v.innerHTML:"",L=C?C.split(" ")[0]:"";L.replace(tt,"");const w=S?.querySelector("tr td:nth-of-type(2)");if(!w)return!0;const T=w.querySelector("div");if(!T)return!0;T.classList.add($n);const k=T.innerHTML,D=`${k}${C}`.replace(wt,"<").replace(kt,">");E.remove();const z=T.closest(`table.${p}`)||T.closest(`table.${b}`);if(!z)return!0;const $=z.innerHTML,M=a.removeEditorTags($);if(y===p){z.innerHTML=M;const B=a.parseTableToArray(z),ee=a.renumberCellOneText(B),oe=a.replaceEmptyWithNbsp(ee),G=a.formatCellOneText(oe),J=z.outerHTML;z.innerHTML=a.updateTableNumbering(J,G).replace(wt,"<").replace(kt,">")}else z.innerHTML=M;const H=z.querySelector(".remove-new-editor-element");if(!H)return g(),d(),!0;H.innerHTML=`${D.replace(tt,"")} `||" ",u(H,!0);const P=H.closest("editor");if(!P)return g(),d(),!0;const Z=window.getSelection(),R=document.createRange(),F=P.querySelector("div");if(!F||!Z)return g(),d(),!0;const ie=P.textContent||"",O=L?ie.indexOf(L):-1;if(O!==-1&&L){const B=m(F,O);if(B)f(R,Z,B.node,B.offset);else{const ee=F.childNodes[0];ee&&f(R,Z,ee,0)}}else{const B=document.createElement("div");B.innerHTML=k;const ee=(B.textContent||"").length,oe=m(F,ee);if(oe)f(R,Z,oe.node,oe.offset);else{const G=document.createTreeWalker(F,NodeFilter.SHOW_TEXT,null);let J=null;for(;G.nextNode();)J=G.currentNode;J&&f(R,Z,J,(J.textContent||"").length)}}return P.focus(),g(),d(),!0}function aa(e,o,t){return(window.navigator.platform.match("Mac")?e.code==="Backspace":e.keyCode===46||e.keyCode===8)?!1:o&&!t?(e.preventDefault(),e.stopPropagation(),!0):!1}function sa(e){if(!e)return!1;const o=e.closest("li");return Xt(o)}function ca(e){const o=window.getSelection(),t=e.textContent||"",n=t.trim();if(!n||n===" ")return{position:"empty",offset:0,textContent:""};if(!o||o.rangeCount===0)return{position:"middle",offset:0,textContent:t};const r=o.getRangeAt(0);if(!e.contains(r.startContainer))return{position:"middle",offset:0,textContent:t};const i=document.createRange();i.selectNodeContents(e),i.setEnd(r.startContainer,r.startOffset);const l=i.toString().length;return l===0?{position:"start",offset:0,textContent:t}:l>=n.length?{position:"end",offset:l,textContent:t}:{position:"middle",offset:l,textContent:t}}function da(e,o){const t=Array.from(o.querySelectorAll(":scope > li")),n=t.indexOf(e);return n===0?"first":n===t.length-1?"last":"middle"}function ma(e){const o=window.getSelection();if(!o||o.rangeCount===0)return e.innerHTML;const t=o.getRangeAt(0),n=document.createRange();n.selectNodeContents(e),n.setEnd(t.startContainer,t.startOffset);const r=n.cloneContents(),i=document.createElement("div");return i.appendChild(r),i.innerHTML}function ua(e){const o=window.getSelection();if(!o||o.rangeCount===0)return"";const t=o.getRangeAt(0),n=document.createRange();n.selectNodeContents(e),n.setStart(t.endContainer,t.endOffset);const r=n.cloneContents(),i=document.createElement("div");return i.appendChild(r),i.innerHTML}function dt(e){const o=window.getSelection();if(!o)return;const t=document.createRange();t.selectNodeContents(e),t.collapse(!0),o.removeAllRanges(),o.addRange(t)}function _t(e,o){e.hasAttribute("em-edit")&&(e.removeAttribute("em-edit"),o.setAttribute("em-edit","active"))}function fa(e,o){const t=document.createElement("br"),n=document.createElement("span");return n.innerHTML=" ",_t(e,n),o.parentNode?.insertBefore(n,o),o.parentNode?.insertBefore(t,n),e.remove(),o.querySelectorAll("li").length===0&&o.remove(),dt(n),n}function pa(e,o){const t=Array.from(o.querySelectorAll(":scope > li")),n=t.indexOf(e),r=t.slice(n+1),i=document.createElement(o.tagName.toLowerCase());o.getAttribute("style")&&i.setAttribute("style",o.getAttribute("style")),r.forEach(c=>{i.appendChild(c)});const l=document.createElement("br"),s=document.createElement("span");return s.innerHTML=" ",_t(e,s),i.children.length>0&&o.parentNode?.insertBefore(i,o.nextSibling),o.parentNode?.insertBefore(s,o.nextSibling),o.parentNode?.insertBefore(l,s),e.remove(),o.querySelectorAll("li").length===0&&o.remove(),dt(s),s}function ga(e,o){if(!((e.key==="Enter"||e.keyCode===13)&&!e.shiftKey))return!1;const t=window.getSelection();if(!t||t.rangeCount===0)return!1;const n=t.getRangeAt(0).startContainer,r=n.nodeType===Node.TEXT_NODE?n.parentElement:n;if(!sa(r))return!1;const i=r?.closest("li");if(!i)return!1;const l=i.closest("ul, ol");if(!l)return!1;e.preventDefault(),e.stopImmediatePropagation();const s=ca(i),c=da(i,l);switch(s.position){case"empty":ba(i,l,c,o);break;case"start":ha(i,l,o);break;case"end":ya(i,l,o);break;case"middle":Ea(i,l,o)}return o.commit(),!0}function ba(e,o,t,n){switch(t){case"last":const r=document.createElement("li");r.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM),r.innerHTML=" ",e.after(r),_t(e,r),dt(r);break;case"first":fa(e,o);break;case"middle":pa(e,o)}}function ha(e,o,t){const n=document.createElement("li");n.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM),n.innerHTML=" ",e.before(n),dt(e)}function ya(e,o,t){const n=document.createElement("li");n.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM),n.innerHTML=" ",e.after(n),_t(e,n),dt(n)}function Ea(e,o,t){const n=ma(e),r=ua(e);e.innerHTML=n||" ";const i=document.createElement("li");i.setAttribute("style",a.STANDARD_LIST_STYLES.LIST_ITEM),i.innerHTML=r||" ",e.after(i),_t(e,i),dt(i)}var Sa=['[contenteditable="false"]',".em-element-editor",'[class^="em-element-editor"]',".em-vindent"],$o=`<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a;"> </div>`;function Ca(e){return!!e.closest("editor.em-text")}function Un(e){e.querySelectorAll(Sa.join(",")).forEach(o=>{Ca(o)||o.remove()})}function va(e){const o=e.cloneNode(!0),t=o.querySelector("editor.em-text");if(t){Un(o);const r=t.querySelector("div");if(r)return r.outerHTML;const i=t.getAttribute("innerclass")??"",l=t.getAttribute("innerstyle")??"";return`<div${i?` class="${He(i)}"`:""}${l?` style="${He(l)}"`:""}>${t.innerHTML}</div>`}Un(o);const n=o.querySelector("div");return n?n.outerHTML:o.innerHTML}function He(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function Ne(e){if(!e)return;const o=e.trim().match(/^(-?\d+(?:\.\d+)?)px$/i);return o?Number(o[1]):void 0}function Nt(e){if(!e)return;const o=e.trim().split(/\s+/);if(o.length<3)return;const t=Ne(o[0]),n=o[1],r=o.slice(2).join(" ");if(t!==void 0&&["none","solid","dashed","dotted","double"].includes(n))return{width:t,style:n,color:r}}function Aa(e){const o=e.get("padding"),t=e.get("padding-top"),n=e.get("padding-right"),r=e.get("padding-bottom"),i=e.get("padding-left"),l={};if(o){const g=o.trim().split(/\s+/),m=Ne(g[0]),f=Ne(g[1]??g[0]),p=Ne(g[2]??g[0]),b=Ne(g[3]??g[1]??g[0]);m!==void 0&&(l.top=m),f!==void 0&&(l.right=f),p!==void 0&&(l.bottom=p),b!==void 0&&(l.left=b)}const s=Ne(t??""),c=Ne(n??""),d=Ne(r??""),u=Ne(i??"");return s!==void 0&&(l.top=s),c!==void 0&&(l.right=c),d!==void 0&&(l.bottom=d),u!==void 0&&(l.left=u),Object.keys(l).length?l:void 0}function jn(e){if(e)return e.trim()}function Ta(e){if(!e)return;const o=e.trim().toLowerCase();return["left","center","right","justify"].includes(o)?o:void 0}function La(e){if(!e)return;const o=e.trim().toLowerCase();if(o==="top"||o==="text-top")return"top";if(o==="bottom"||o==="text-bottom")return"bottom";if(o==="middle")return"middle"}function wa(e){const o=new Map;return e&&e.split(";").forEach(t=>{const[n,...r]=t.split(":");if(!n||r.length===0)return;const i=n.trim().toLowerCase(),l=r.join(":").trim();i&&o.set(i,l)}),o}function ka(e){if(!e)return;const o=e.trim().replace(/\s+/g," ");if(o&&/^(\d+(\.\d+)?\s*(px|em|rem|%|pt)\s*){1,4}$/i.test(o))return o}function _a(e){const o=wa(e.getAttribute("style")),t=o.get("font-family")??void 0,n=Ne(o.get("font-size")??""),r=Ne(o.get("line-height")??""),i=jn(o.get("color")??void 0),l=jn(o.get("background-color")??void 0),s=Ta(o.get("text-align")??void 0),c=La(o.get("vertical-align")??void 0),d={top:Nt(o.get("border-top")),right:Nt(o.get("border-right")),bottom:Nt(o.get("border-bottom")),left:Nt(o.get("border-left"))},u=Nt(o.get("border"));u&&(d.top=d.top??u,d.right=d.right??u,d.bottom=d.bottom??u,d.left=d.left??u);const g=Aa(o),m=ka(o.get("border-radius")??void 0),f={};return t&&(f.fontFamily=t),n!==void 0&&(f.fontSize=n),r!==void 0&&(f.lineHeight=r),i&&(f.color=i),l&&(f.backgroundColor=l),s&&(f.textAlign=s),c&&(f.verticalAlign=c),g&&(f.padding=g),m&&(f.borderRadius=m),(d.top||d.right||d.bottom||d.left)&&(f.borders=d),Object.keys(f).length?f:void 0}function Na(e){const o=e.getAttribute("align")?.toLowerCase();if(o==="left"||o==="center"||o==="right")return o}function Ba(e){const o=e.getAttribute("valign")?.toLowerCase();if(o==="top"||o==="middle"||o==="bottom")return o}function zo(e){if(e==null)return;const o=Number(e);return Number.isFinite(o)?o:void 0}function Bt(e){const o=Array.from(e.classList),t={};Array.from(e.attributes).forEach(d=>{const u=d.name.toLowerCase();u!=="class"&&(t[u]=d.value)});const n={width:e.getAttribute("width")??void 0,cellpadding:zo(e.getAttribute("cellpadding")),cellspacing:zo(e.getAttribute("cellspacing")),border:zo(e.getAttribute("border")),classList:o.length?o:void 0,attrs:Object.keys(t).length?t:void 0},r=[],i=[];let l=0;const s=Array.from(e.querySelectorAll(":scope > tr, :scope > tbody > tr, :scope > thead > tr, :scope > tfoot > tr")).filter(d=>d.querySelectorAll("td, th").length!==0);s.forEach(d=>{let u=0;Array.from(d.querySelectorAll("td, th")).forEach(g=>{const m=Math.max(1,g.colSpan||1);u+=m}),u>l&&(l=u)});let c=0;for(const d of s){i[c]||(i[c]=Array(l).fill(null));let u=0;const g=Array.from(d.querySelectorAll("td, th"));for(const m of g){for(;u<l&&i[c][u]!==null&&i[c][u]!==void 0;)u++;if(u>=l)continue;const f=Math.max(1,m.colSpan||1),p=Math.max(1,m.rowSpan||1),b=Math.min(p,s.length-c),h=`cell-${r.length}`,y=Array.from(m.classList),E=va(m),S=Na(m),v=Ba(m),C=_a(m),L={id:h,row:c,col:u,rowspan:b,colspan:f,contentHtml:E,classList:y,align:S,valign:v,style:C};r.push(L);for(let w=0;w<b;w++){const T=c+w;i[T]||(i[T]=Array(l).fill(null));for(let k=0;k<f;k++){const D=u+k;D>=l||i[T][D]!==null&&i[T][D]!==void 0||(i[T][D]=h)}}u+=f}c++}for(let d=0;d<i.length;d++)for(let u=0;u<l;u++)(i[d][u]===null||i[d][u]===void 0)&&(i[d][u]=null);new Set(i.flat().filter(d=>d!==null)),new Set(r.map(d=>d.id));for(const d of r)for(let u=d.row;u<d.row+d.rowspan;u++)for(let g=d.col;g<d.col+d.colspan;g++)i[u]&&(i[u][g],d.id);return{rows:i.length,cols:l,cells:r,grid:i,meta:n}}function Gn(e,o,t){const n=JSON.parse(JSON.stringify(e));let r=-1;const i=typeof o=="string"?o.trim():"";if(i){for(const f of n.cells)if(Array.isArray(f.classList)&&f.classList.includes(i)){r=f.row;break}}r===-1&&(n.rows===0?(r=0,t=!0):(r=n.rows-1,t=!1));const l=n.cells.filter(f=>f.row===r).sort((f,p)=>f.col-p.col),s=n.cells.length===0;if(l.length===0)if(s)l.push({id:"cell-0",row:0,col:0,rowspan:1,colspan:1,contentHtml:$o,classList:[""],align:"center",valign:"top",style:{}}),n.cols=1;else for(let f=0;f<n.cols;f++)l.push({id:`template-${f}`,row:r,col:f,rowspan:1,colspan:1,contentHtml:$o,classList:[""],align:"center",valign:"top",style:{}});let c=1;for(const f of l)f.rowspan>c&&(c=f.rowspan);let d=t?r:r+c;const u=new Array(n.cols).fill(!1);for(const f of n.cells)if(f.row<d&&f.row+f.rowspan>d)for(let p=f.col;p<f.col+f.colspan;p++)u[p]=!0;for(const f of n.cells)f.row>=d&&(f.row+=1);const g=[];let m=n.cells.length;for(let f=0;f<n.cols;f++){if(u[f])continue;const p=l.find(h=>h.col<=f&&f<h.col+h.colspan)||l[0]||{contentHtml:$o,classList:[""],align:"center",valign:"top",style:{}},b=JSON.parse(JSON.stringify(p));b.id=`cell-${m++}`,b.contentHtml=no(p.contentHtml," "),b.classList=b.classList.filter(h=>h!==i),b.row=d,b.col=f,b.rowspan=1,b.colspan=1,g.push(b)}n.cells.push(...g),n.rows+=1,n.grid.splice(d,0,new Array(n.cols).fill(null));for(let f=0;f<n.rows;f++)for(let p=0;p<n.cols;p++){const b=n.cells.find(h=>h.row<=f&&h.row+h.rowspan>f&&h.col<=p&&h.col+h.colspan>p);n.grid[f][p]=b?b.id:null}for(let f=0;f<n.cols;f++)n.grid[d][f]===null&&u[f];return n}function Ma(e){if(!e)return"";const o=[];if(e.fontFamily&&o.push(`font-family: ${e.fontFamily}`),e.fontSize!==void 0&&o.push(`font-size: ${e.fontSize}px`),e.lineHeight!==void 0&&o.push(`line-height: ${e.lineHeight}px`),e.color&&o.push(`color: ${e.color}`),e.backgroundColor&&o.push(`background-color: ${e.backgroundColor}`),e.textAlign&&o.push(`text-align: ${e.textAlign}`),e.verticalAlign&&o.push(`vertical-align: ${e.verticalAlign}`),e.borderRadius&&o.push(`border-radius: ${e.borderRadius}`),e.padding){const t=e.padding;t.top!==void 0&&t.right!==void 0&&t.bottom!==void 0&&t.left!==void 0&&t.top===t.right&&t.right===t.bottom&&t.bottom===t.left?o.push(`padding: ${t.top}px`):(t.top!==void 0&&o.push(`padding-top: ${t.top}px`),t.right!==void 0&&o.push(`padding-right: ${t.right}px`),t.bottom!==void 0&&o.push(`padding-bottom: ${t.bottom}px`),t.left!==void 0&&o.push(`padding-left: ${t.left}px`))}if(e.borders){const t=e.borders;t.border?o.push(`border: ${t.border.width}px ${t.border.style} ${t.border.color}`):(t.top&&o.push(`border-top: ${t.top.width}px ${t.top.style} ${t.top.color}`),t.right&&o.push(`border-right: ${t.right.width}px ${t.right.style} ${t.right.color}`),t.bottom&&o.push(`border-bottom: ${t.bottom.width}px ${t.bottom.style} ${t.bottom.color}`),t.left&&o.push(`border-left: ${t.left.width}px ${t.left.style} ${t.left.color}`))}return o.length?o.join("; "):""}function Se(e){if(e.rows===0||e.cols===0||!e.cells.length)return"<table></table>";const o=[];if(e.meta&&(e.meta.width&&o.push(`width="${He(e.meta.width)}"`),e.meta.cellpadding!==void 0&&o.push(`cellpadding="${e.meta.cellpadding}"`),e.meta.cellspacing!==void 0&&o.push(`cellspacing="${e.meta.cellspacing}"`),e.meta.border!==void 0&&o.push(`border="${e.meta.border}"`),e.meta.classList?.length&&o.push(`class="${He(e.meta.classList.join(" "))}"`),e.meta.attrs))for(const[r,i]of Object.entries(e.meta.attrs))o.push(`${He(r)}="${He(i)}"`);const t=new Map;for(const r of e.cells)t.set(r.id,r);const n=[];for(let r=0;r<e.rows;r++){const i=[];for(let l=0;l<e.cols;l++){const s=e.grid[r][l];if(!s)continue;const c=t.get(s);if(!c||c.row!==r||c.col!==l)continue;const d=[];c.rowspan>1&&d.push(`rowspan="${c.rowspan}"`),c.colspan>1&&d.push(`colspan="${c.colspan}"`),c.align&&d.push(`align="${He(c.align)}"`),c.valign&&d.push(`valign="${He(c.valign)}"`),c.classList?.length&&d.push(`class="${He(c.classList.join(" "))}"`);const u=Ma(c.style);u&&d.push(`style="${He(u)}"`),i.push(`<td${d.length?" "+d.join(" "):""}>${c.contentHtml}</td>`)}i.length&&n.push(`<tr>${i.join("")}</tr>`)}return`<table${o.length?" "+o.join(" "):""}>${n.join("")}</table>`}function Ra(e,o){const t=JSON.parse(JSON.stringify(e));let n=-1;const r=typeof o=="string"?o.trim():"";if(r){for(const i of t.cells)if(Array.isArray(i.classList)&&i.classList.includes(r)){n=i.row;break}}if(n===-1||t.rows<=1||t.cells.filter(i=>i.row===n).some(i=>i.rowspan>1))return t;t.cells=t.cells.filter(i=>i.row!==n);for(const i of t.cells)i.row>n&&(i.row-=1);return t.grid.splice(n,1),t.rows-=1,t}function no(e,o){if(typeof e!="string"||typeof o!="string")return e;const t=new DOMParser().parseFromString(e,"text/html").body.firstChild;if(!t)return e;let n=!1;function r(s){if(s.nodeType===Node.TEXT_NODE&&s.textContent?.trim()){n?s.textContent="":(s.textContent=o,n=!0);return}for(const c of Array.from(s.childNodes))r(c)}function i(s){if(s.nodeType===Node.TEXT_NODE){const c=s.textContent||"";return!c||/^\s*$/.test(c.replace(/\u00A0/g,"X"))}return s.nodeType!==Node.ELEMENT_NODE?!0:Array.from(s.childNodes).every(c=>i(c))}function l(s,c=!1){if(s.nodeType!==Node.ELEMENT_NODE)return;const d=Array.from(s.childNodes);for(const u of d)l(u);!c&&i(s)&&s.parentNode?.removeChild(s)}return r(t),l(t,!0),t.outerHTML||e}function Yn(e,o,t){const n=JSON.parse(JSON.stringify(e));let r;const i=typeof o=="string"?o.trim():"";if(i){for(const u of n.cells)if(Array.isArray(u.classList)&&u.classList.includes(i)){r=u;break}}if(!r)return n;const l=r.col;let s=t?l:l+r.colspan;const c=[];let d=n.cells.length;for(let u=0;u<n.rows;u++){const g=JSON.parse(JSON.stringify(r));g.id=`cell-${d++}`,g.contentHtml=no(r.contentHtml," "),g.row=u,g.col=s,g.rowspan=1,g.colspan=1,g.classList=r.classList.filter(m=>m!==i),c.push(g)}for(const u of n.cells)u.col>=s&&(u.col+=1);n.cells.push(...c),n.cols+=1;for(let u=0;u<n.rows;u++)n.grid[u].splice(s,0,null),n.grid[u][s]=c[u].id;return n}function Pa(e,o){const t=JSON.parse(JSON.stringify(e));let n;const r=typeof o=="string"?o.trim():"";if(r){for(const l of t.cells)if(Array.isArray(l.classList)&&l.classList.includes(r)){n=l;break}}if(!n)return t;const i=n.col;if(t.cols<=1||t.cells.filter(l=>l.col===i).some(l=>l.colspan>1))return t;t.cells=t.cells.filter(l=>l.col!==i);for(const l of t.cells)l.col>i&&(l.col-=1);for(let l=0;l<t.rows;l++)t.grid[l].splice(i,1);return t.cols-=1,t}function Kn(e,o,t,n=1){const r=JSON.parse(JSON.stringify(e));if(n<=0)return r;let i;const l=typeof o=="string"?o.trim():"";if(l){for(const E of r.cells)if(Array.isArray(E.classList)&&E.classList.includes(l)){i=E;break}}if(!i)return r;const s=i.row,c=i.col,d=i.colspan,u=i.rowspan,g=[];if(t)for(let E=1;E<=n;E++)g.push(c-E);else for(let E=0;E<n;E++)g.push(c+d+E);for(const E of g)if(E<0||E>=r.cols)return r;const m=[];for(const E of g){const S=r.cells.find(v=>v.row===s&&v.col<=E&&E<v.col+v.colspan);if(!S)return r;m.push(S)}const f=Array.from(new Set(m));for(const E of f)if(E.rowspan!==u)return r;const p=d+f.reduce((E,S)=>E+S.colspan,0);let b=(t?[...f.reverse(),i]:[i,...f]).map(E=>{const S=new DOMParser().parseFromString(E.contentHtml,"text/html").body.firstChild,v=S?S.innerHTML:"";return v===""||/^\s*( )*\s*$/.test(v)?"":v}).filter(E=>E!=="").join("<br>");(b===""||/^\s*( |<br>)*\s*$/.test(b))&&(b=" ");const h=new DOMParser().parseFromString(i.contentHtml,"text/html").body.firstChild;h?(h.innerHTML=b,i.contentHtml=h.outerHTML):i.contentHtml=`<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a;">${b}</div>`,i.colspan=p,t&&g.length>0&&(i.col=Math.min(...g)),r.cells=r.cells.filter(E=>!f.includes(E));const y=t&&g.length>0?Math.min(...g):c;for(let E=y;E<y+p;E++)r.grid[s][E]=i.id;return r}function Xn(e,o,t,n=1){const r=JSON.parse(JSON.stringify(e));if(n<=0)return r;let i;const l=typeof o=="string"?o.trim():"";if(l){for(const E of r.cells)if(Array.isArray(E.classList)&&E.classList.includes(l)){i=E;break}}if(!i)return r;const s=i.row,c=i.col,d=i.rowspan,u=i.colspan,g=[];if(t)for(let E=1;E<=n;E++)g.push(s-E);else for(let E=0;E<n;E++)g.push(s+d+E);for(const E of g)if(E<0||E>=r.rows)return r;const m=[];for(const E of g){const S=r.cells.find(v=>v.col===c&&v.row<=E&&E<v.row+v.rowspan);if(!S)return r;m.push(S)}const f=Array.from(new Set(m));for(const E of f)if(E.colspan!==u)return r;const p=d+f.reduce((E,S)=>E+S.rowspan,0);let b=(t?[...f.reverse(),i]:[i,...f]).map(E=>{const S=new DOMParser().parseFromString(E.contentHtml,"text/html").body.firstChild,v=S?S.innerHTML:"";return v===""||/^\s*( )*\s*$/.test(v)?"":v}).filter(E=>E!=="").join("<br>");b=b.replace(/ $/g,""),(b===""||/^\s*( |<br>)*\s*$/.test(b))&&(b=" ");const h=new DOMParser().parseFromString(i.contentHtml,"text/html").body.firstChild;h?(h.innerHTML=b,i.contentHtml=h.outerHTML):i.contentHtml=`<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a;">${b}</div>`,i.rowspan=p,t&&g.length>0&&(i.row=Math.min(...g)),r.cells=r.cells.filter(E=>!f.includes(E));const y=t&&g.length>0?Math.min(...g):s;for(let E=y;E<y+p&&E<r.rows;E++)r.grid[E][c]=i.id;return r}function Ha(e,o,t=1){const n=JSON.parse(JSON.stringify(e)),r=typeof o=="string"?o.trim():"";if(!r)return n;const i=n.cells.find(s=>Array.isArray(s.classList)&&s.classList.includes(r));if(!i||i.colspan<=1||t>=i.colspan)return n;i.colspan-=t;const l={id:`cell-${n.cells.length}`,row:i.row,col:i.col+i.colspan,colspan:t,rowspan:i.rowspan,contentHtml:no(i.contentHtml," "),classList:[...i.classList],align:i.align,valign:i.valign,style:i.style?JSON.parse(JSON.stringify(i.style)):{}};n.cells.push(l);for(let s=0;s<n.rows;s++)for(let c=0;c<n.cols;c++){const d=n.cells.find(u=>u.row<=s&&u.row+u.rowspan>s&&u.col<=c&&u.col+u.colspan>c);n.grid[s][c]=d?d.id:null}return n}function Ia(e,o,t=1){const n=JSON.parse(JSON.stringify(e)),r=typeof o=="string"?o.trim():"";if(!r)return n;const i=n.cells.find(s=>Array.isArray(s.classList)&&s.classList.includes(r));if(!i||i.rowspan<=1||t>=i.rowspan)return n;i.rowspan-=t;const l={id:`cell-${n.cells.length}`,row:i.row+i.rowspan,col:i.col,rowspan:t,colspan:i.colspan,contentHtml:no(i.contentHtml," "),classList:[...i.classList],align:i.align,valign:i.valign,style:i.style?JSON.parse(JSON.stringify(i.style)):{}};n.cells.push(l);for(let s=0;s<n.rows;s++)for(let c=0;c<n.cols;c++){const d=n.cells.find(u=>u.row<=s&&u.row+u.rowspan>s&&u.col<=c&&u.col+u.colspan>c);n.grid[s][c]=d?d.id:null}for(let s=l.row;s<l.row+l.rowspan;s++)for(let c=l.col;c<l.col+l.colspan;c++)n.grid[s][c];return n}function Vo(e,o){const t=typeof o=="string"?o.trim():"";if(!t)return null;const n=e.cells.find(r=>Array.isArray(r.classList)&&r.classList.includes(t));return n?{row:n.row,col:n.col}:null}function Zn(e,o){const t=typeof o=="string"?o.trim():"";if(!t)return{row:null,col:null,isOverlapped:!1};const n=e.cells.find(i=>Array.isArray(i.classList)&&i.classList.includes(t));if(!n)return{row:null,col:null,isOverlapped:!1};const r=n.row;if(r<0||r>=e.rows)return{row:null,col:null,isOverlapped:!1};for(const i of e.cells)if(i.rowspan>1&&!(Array.isArray(i.classList)&&i.classList.includes(t))&&i.row<=r&&r<i.row+i.rowspan)return{row:i.row,col:i.col,isOverlapped:!0};return{row:null,col:null,isOverlapped:!1}}function Jn(e,o){const t=typeof o=="string"?o.trim():"";if(!t)return{row:null,col:null,isOverlapped:!1};const n=e.cells.find(i=>Array.isArray(i.classList)&&i.classList.includes(t));if(!n)return{row:null,col:null,isOverlapped:!1};const r=n.col;if(r<0||r>=e.cols)return{row:null,col:null,isOverlapped:!1};for(const i of e.cells)if(i.colspan>1&&!(Array.isArray(i.classList)&&i.classList.includes(t))&&i.col<=r&&r<i.col+i.colspan)return{row:i.row,col:i.col,isOverlapped:!0};return{row:null,col:null,isOverlapped:!1}}function Qn(e,o,t){const n=JSON.parse(JSON.stringify(e)),r=n.cells.find(d=>d.classList?.includes(o));if(!r)return n;const i=n.cells.filter(d=>d.classList?.includes(t)&&d.id!==r.id);let l=r.colspan||1;i.forEach(d=>{const u=d.colspan||1;l+=u,d.colspan=1}),r.colspan=l;const s=d=>{const u=d.match(/<div[^>]*>(.*?)<\/div>/);return u?u[1].replace(/ /g,"").trim():""};r.contentHtml=`<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a; padding: 8px;">${[s(r.contentHtml),...i.sort((d,u)=>d.col-u.col).map(d=>s(d.contentHtml)).filter(d=>d.length>0)].filter(d=>d.length>0).join("<br>")}</div>`;const c=new Set(i.map(d=>d.id));return n.cells.forEach(d=>{if(d.row===r.row&&d.col>r.col&&!c.has(d.id)){let u=0;i.forEach(g=>{g.row===d.row&&g.col<d.col&&(u+=(g.colspan||1)-1)}),d.col-=u}}),n.grid=n.grid.map((d,u)=>{const g=new Array(n.cols).fill(null);return n.cells.filter(m=>{const f=m.row,p=m.row+(m.rowspan||1)-1;return f<=u&&u<=p&&!c.has(m.id)}).sort((m,f)=>m.col-f.col).forEach(m=>{const f=m.id,p=m.colspan||1,b=m.col;for(let h=0;h<p&&b+h<n.cols;h++)g[b+h]=f}),g}),n}function er(e,o,t){const n=JSON.parse(JSON.stringify(e)),r=n.cells.find(u=>u.classList?.includes(o));if(!r)return n;const i=n.cells.filter(u=>u.classList?.includes(t)&&u.id!==r.id&&u.col===r.col);let l=r.rowspan||1;i.forEach(u=>{const g=u.rowspan||1;l+=g,u.rowspan=1}),r.rowspan=l;const s=u=>{const g=u.match(/<div[^>]*>(.*?)<\/div>/);return g?g[1].replace(/ /g,"").trim():""};r.contentHtml=`<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a; padding: 8px;">${[s(r.contentHtml),...i.sort((u,g)=>u.row-g.row).map(u=>s(u.contentHtml)).filter(u=>u.length>0)].filter(u=>u.length>0).join("<br>")}</div>`;const c=i.length>0?Math.min(...i.map(u=>u.row)):r.row;c<r.row&&(r.row=c);const d=new Set(i.map(u=>u.id));return n.cells.forEach(u=>{if(u.col===r.col&&u.id!==r.id&&!d.has(u.id)){let g=0;i.forEach(m=>{m.col===u.col&&m.row<=u.row&&(g+=(m.rowspan||1)-1)}),g>0&&(u.row-=g)}}),n.grid=n.grid.map((u,g)=>{const m=new Array(n.cols).fill(null);return n.cells.filter(f=>{const p=f.row,b=f.row+(f.rowspan||1)-1;return p<=g&&g<=b&&!d.has(f.id)}).sort((f,p)=>f.col-p.col).forEach(f=>{const p=f.col,b=f.colspan||1;for(let h=0;h<b&&p+h<n.cols;h++)m[p+h]=f.id}),m}),n}function ro(e,o,t,n,r,i=!0){const{cells:l,grid:s}=e;function c(f,p){if(!s[f]||!s[f][p])return null;const b=s[f][p];return l.find(h=>h.id===b)}function d(f,p){const b=c(f,p);return b?{row:b.row,col:b.col,cell:b}:null}const u=d(o,t),g=d(n,r);if(!u||!g||u.cell.id===g.cell.id)return 0;function m(f,p,b,h){let y=0;const E=f<p?1:-1,S=new Set;for(let C=f;C!==p;C+=E){const L=c(h?b:C,h?C:b);L&&!S.has(L.id)&&(S.add(L.id),y++)}const v=c(h?b:p,h?p:b);return v&&!S.has(v.id)&&y++,y}return i?u.row===g.row?m(t,r,o,!0)-1:0:u.col===g.col?m(o,n,t,!1)-1:0}function Oa(e,o){if(!o.settings)return e;const t=Object.keys(o.settings);if(t.length===0)return e;const n=["paddingLeftRight","paddingTopBottom","paddingLeft","paddingTop","paddingRight","paddingBottom"],r=t[0];if(!n.includes(r))return e;const i=o.settings[r];return typeof i!="number"||isNaN(i)||!e.cells||!Array.isArray(e.cells)||e.cells.forEach((l,s)=>{switch(l.id,l.style||(l.style={}),l.style.padding||(l.style.padding={top:0,right:0,bottom:0,left:0}),r){case"paddingLeftRight":l.style.padding.left=i,l.style.padding.right=i;break;case"paddingTopBottom":l.style.padding.top=i,l.style.padding.bottom=i;break;case"paddingLeft":l.style.padding.left=i;break;case"paddingTop":l.style.padding.top=i;break;case"paddingRight":l.style.padding.right=i;break;case"paddingBottom":l.style.padding.bottom=i}l.style.padding.top===0&&l.style.padding.right===0&&l.style.padding.bottom===0&&l.style.padding.left===0&&delete l.style.padding,Object.keys(l.style).length===0&&delete l.style}),e}function xa(e,o){const{backgroundPositionX:t,backgroundPositionY:n}=o.settings;if(t===void 0&&n===void 0)return e;const r=e.replace(/\s*;\s*/g,";").replace(/([^;])$/,"$1;").trim().split(";").filter(s=>s.trim());let i=!1;const l=r.map(s=>{const[c,d]=s.split(":").map(u=>u.trim());if(c==="background-position"){i=!0;const u=d.split(/\s+/).filter(f=>f.trim());let g=u[0],m=u[1]||u[0];return t!==void 0&&(g=`${t}px`),n!==void 0&&(m=`${n}px`),`background-position: ${g} ${m}`}return c==="background-position-x"&&t!==void 0?`background-position-x: ${t}px`:c==="background-position-y"&&n!==void 0?`background-position-y: ${n}px`:s});if(!i&&(t!==void 0||n!==void 0)){const s=t!==void 0?`${t}px`:"center",c=n!==void 0?`${n}px`:"center";l.push(`background-position: ${s} ${c}`)}return l.join("; ")}function Da(e){const o={};if(!e)return o;const t=e.split(";").map(n=>n.trim()).filter(n=>n.length>0);for(const n of t){const r=n.indexOf(":");if(r===-1)continue;const i=n.slice(0,r).trim(),l=n.slice(r+1).trim();if(!(!i||!l))switch(i.toLowerCase()){case"background-image":const s=l.match(/url\(['"]?(.+?)['"]?\)/i);s&&s[1]&&(o.backgroundImage=s[1]);break;case"background-size":o.backgroundSize=l;break;case"background-repeat":o.backgroundRepeat=l;break;case"background-position":const c=l.split(/\s+/).filter(d=>d.length>0);c.length>=1&&(o.backgroundPositionX=c[0]),c.length>=2&&(o.backgroundPositionY=c[1])}}return o}function Fa(e,o){const t=[];for(const n of e.cells)o.some(r=>n.classList.includes(r))&&t.push(n.id);return t}function qa(e,o,t){const n={...e,cells:e.cells.map(r=>({...r,style:r.style?{...r.style}:void 0}))};for(const r of n.cells)o.includes(r.id)&&(r.style||(r.style={}),r.style.backgroundColor=t);return n}function Wa(e,o,t){const n={...e,cells:e.cells.map(r=>({...r,classList:[...r.classList]}))};for(const r of n.cells)o.includes(r.id)&&(r.classList.includes(t)||r.classList.push(t));return n}function $a(e,o,t,n){const r={width:1,style:"solid",color:"#b9b1b1"},i={...e,cells:e.cells.map(l=>{const s={...l};return s.style&&(s.style={...s.style},s.style.borders&&(s.style.borders={...s.style.borders})),s})};for(const l of i.cells)if(o.includes(l.id)){l.style||(l.style={}),l.style.borders||(l.style.borders={});for(const s of t){const c=l.style.borders[s];c?l.style.borders[s]={...c,...n}:l.style.borders[s]={...r,...n}}}return i}function za(e,o){const t=new Map(e.cells.map(u=>[u.id,u])),n=new Set,r=[];for(const u of o){const g=t.get(u);if(g)for(let m=0;m<g.rowspan;m++)for(let f=0;f<g.colspan;f++){const p=g.row+m,b=g.col+f,h=`${p}-${b}`;n.has(h)||(n.add(h),r.push({row:p,col:b,id:u}))}}const i=new Set(r.map(u=>u.row)),l=new Set(r.map(u=>u.col));let s=!1;if(i.size===1&&l.size===r.length)s=!0;else if(!(l.size===1&&i.size===r.length))return{};s?r.sort((u,g)=>u.col-g.col):r.sort((u,g)=>u.row-g.row);const c=new Map;for(const u of r)c.has(u.id)||c.set(u.id,[]),c.get(u.id).push({row:u.row,col:u.col});c.forEach((u,g)=>{const m=t.get(g);if(m.rowspan>1||m.colspan>1){const f=s?(p,b)=>p.col-b.col:(p,b)=>p.row-b.row;u.sort(f)}});const d={};for(let u=0;u<r.length;u++){const g=r[u],m=g.id,f=t.get(m);let p=m;if(f.rowspan>1||f.colspan>1){const h=c.get(m).findIndex(y=>y.row===g.row&&y.col===g.col);h>0&&(p=`${m}-uni-${h+1}`)}const b=[];s?(b.push("top","bottom"),(u===0||r[u-1].col!==g.col-1)&&b.push("left"),(u===r.length-1||r[u+1].col!==g.col+1)&&b.push("right")):(b.push("left","right"),(u===0||r[u-1].row!==g.row-1)&&b.push("top"),(u===r.length-1||r[u+1].row!==g.row+1)&&b.push("bottom")),d[p]=b}return d}function Va(e,o,t,n){const r={topLeft:0,topRight:1,bottomRight:2,bottomLeft:3},i={...e,cells:e.cells.map(l=>{const s={...l};return s.style&&(s.style={...s.style}),s})};for(const l of i.cells)if(o.includes(l.id)){l.style||(l.style={});let s=(l.style.borderRadius||"0px 0px 0px 0px").split(" ").map(c=>parseInt(c.replace("px",""),10));for(const c of t){const d=r[c];d!==void 0&&(s[d]=n)}s.every(c=>c===0)?delete l.style.borderRadius:l.style.borderRadius=s.map(c=>`${c}px`).join(" ")}return i}function Ua(e,o){const t=new Map(e.cells.map(u=>[u.id,u])),n=new Set,r=[];for(const u of o){const g=t.get(u);if(g)for(let m=0;m<g.rowspan;m++)for(let f=0;f<g.colspan;f++){const p=g.row+m,b=g.col+f,h=`${p}-${b}`;n.has(h)||(n.add(h),r.push({row:p,col:b,id:u}))}}const i=new Set(r.map(u=>u.row)),l=new Set(r.map(u=>u.col));let s=!1;if(i.size===1&&l.size===r.length)s=!0;else if(!(l.size===1&&i.size===r.length))return{};s?r.sort((u,g)=>u.col-g.col):r.sort((u,g)=>u.row-g.row);const c=new Map;for(const u of r)c.has(u.id)||c.set(u.id,[]),c.get(u.id).push({row:u.row,col:u.col});c.forEach((u,g)=>{const m=t.get(g);if(m.rowspan>1||m.colspan>1){const f=s?(p,b)=>p.col-b.col:(p,b)=>p.row-b.row;u.sort(f)}});const d={};for(let u=0;u<r.length;u++){const g=r[u],m=g.id,f=t.get(m);let p=m;if(f.rowspan>1||f.colspan>1){const y=c.get(m).findIndex(E=>E.row===g.row&&E.col===g.col);y>0&&(p=`${m}-uni-${y+1}`)}const b=new Set;s?(b.add("top"),b.add("bottom"),(u===0||r[u-1].col!==g.col-1)&&b.add("left"),(u===r.length-1||r[u+1].col!==g.col+1)&&b.add("right")):(b.add("left"),b.add("right"),(u===0||r[u-1].row!==g.row-1)&&b.add("top"),(u===r.length-1||r[u+1].row!==g.row+1)&&b.add("bottom"));const h=[];b.has("top")&&b.has("left")&&h.push("topLeft"),b.has("top")&&b.has("right")&&h.push("topRight"),b.has("bottom")&&b.has("left")&&h.push("bottomLeft"),b.has("bottom")&&b.has("right")&&h.push("bottomRight"),h.length>0&&(d[p]=h)}return d}function ja(e,o,t,n){const r={...e,cells:e.cells.map(i=>{const l={...i};return l.style&&(l.style={...l.style},l.style.padding&&(l.style.padding={...l.style.padding})),l})};for(const i of r.cells)if(o.includes(i.id)){i.style||(i.style={}),i.style.padding||(i.style.padding={top:0,right:0,bottom:0,left:0});for(const l of t){const s=l;i.style.padding[s]=n}["top","right","bottom","left"].forEach(l=>{i.style?.padding&&i.style.padding[l]===0&&delete i.style.padding[l]}),i.style.padding&&Object.keys(i.style.padding).length===0&&delete i.style.padding}return r}function Ga(e,o){const t=new RegExp(`\\b${o}\\s*:[^;]*(;\\s*)?`,"gi");return e.replace(t,"").trim().replace(/\s*;\s*(?=;|$)/g,"").trim()}function Ya(e){const o=e.match(/border-radius:\s*([^;]+)/);if(!o)return{full:null,first:null,firstNumber:null};const t=o[1].trim(),n=t.split(/\s+/)[0],r=parseInt(n),i=t.split(/\s+/)[1],l=parseInt(i),s=t.split(/\s+/)[2],c=parseInt(s),d=t.split(/\s+/)[3];return{full:t,first:n,firstNumber:r,second:i,secondNumber:l,third:s,thirdNumber:c,fourth:d,fourthNumber:parseInt(d)}}function Ka(e,o,t){const n=/border-radius:\s*([^;]+)/,r=e.match(n);if(!r)return e+` border-radius: ${tr("0 0 0 0",o,t)};`;const i=tr(r[1].trim(),o,t);return e.replace(n,`border-radius: ${i}`)}function tr(e,o,t){const n=typeof t=="number"&&!isNaN(t)?Math.max(0,t):0;let r=e.split(/\s+/).filter(s=>s.trim()!=="").map(s=>{const c=parseFloat(s);return isNaN(c)?0:Math.max(0,c)}),i;if(r.length===0)i=[0,0,0,0];else if(r.length===1)i=[r[0],r[0],r[0],r[0]];else if(r.length===2)i=[r[0],r[1],r[0],r[1]];else if(r.length===3)i=[r[0],r[1],r[2],r[1]];else{const s=r.slice(0,4);i=[s[0]??0,s[1]??0,s[2]??0,s[3]??0]}const l={topLeft:0,topRight:1,bottomRight:2,bottomLeft:3}[o];return l!==void 0&&(i[l]=n),i.map(s=>s===0?"0":`${s}px`).join(" ")}function Xa(e){const o=JSON.parse(JSON.stringify(e)),t=o.rows,n=o.cols;return o.cells.forEach(r=>{const i=r.row===0,l=r.row+r.rowspan===t,s=r.col===0,c=r.col+r.colspan===n;i&&delete r.style.borders.top,l&&delete r.style.borders.bottom,s&&delete r.style.borders.left,c&&delete r.style.borders.right}),o}function Za(e){const o=JSON.parse(JSON.stringify(e));return o.cells.forEach(t=>{if(t.style?.borders?.top&&t.style?.borders?.bottom&&t.style?.borders?.left&&t.style?.borders?.right){const n=t.style.borders.top,r=t.style.borders.bottom,i=t.style.borders.left,l=t.style.borders.right;n?.width===r?.width&&n?.width===i?.width&&n?.width===l?.width&&n?.style===r?.style&&n?.style===i?.style&&n?.style===l?.style&&n?.color===r?.color&&n?.color===i?.color&&n?.color===l?.color&&(t.style.borders={border:{width:n.width,style:n.style,color:n.color}})}}),o}function Ja(e,o){return typeof e!="string"&&(e=String(e||"")),typeof o!="string"&&(o=String(o||"")),e.split(" ").filter(t=>t&&!t.startsWith(o)).join(" ").trim()}function Qa(e){const o={},t={};return Object.keys(e).forEach(n=>{const r=n.indexOf("-uni-");if(r===-1){const i=n;o[i]=[...e[n]],t[i]=new Set(e[n])}else{const i=n.substring(0,r);t[i]||(t[i]=new Set),e[n].forEach(l=>{t[i].add(l)}),e.hasOwnProperty(i)&&!o.hasOwnProperty(i)&&(o[i]=[...e[i]],e[i].forEach(l=>t[i].add(l)))}}),Object.keys(t).forEach(n=>{const r=n;o[r]||(o[r]=[]),o[r]=Array.from(t[r])}),o}function or(e,o,t,n=!0){const r=document.querySelector(e);if(!r)return;const i=r.closest("td");if(!i)return;const l=i.parentElement;if(!l)return;const s=Array.from(l.cells),c=s.indexOf(i);let d=0,u=1;for(;d<o;){let g;if(n?g=c+u:g=c-u,g<0||g>=s.length)break;s[g].classList.add(t),d++,u++}}function nr(e,o,t,n=!0){const r=document.querySelector(e);if(!r)return;const i=r.closest("td");if(!i)return;const l=i.parentElement;if(!l||l.tagName!=="TR")return;const s=l.closest("table");if(!s)return;const c=Array.from(s.rows),d=c.indexOf(l);if(d===-1)return;const u=[],g=Math.max(...c.map(y=>Array.from(y.cells).reduce((E,S)=>E+(S.colSpan||1),0))),m=new Map;for(let y=0;y<c.length;y++){u[y]=[];let E=0;const S=Array.from(c[y].cells);for(const v of S){for(;m.has(`${y}:${E}`);){const w=m.get(`${y}:${E}`);u[y][E]=w.cell,E++}const C=v.colSpan||1,L=v.rowSpan||1;for(let w=0;w<C&&E<g;w++){u[y][E+w]=v;for(let T=0;T<L;T++)if(y+T<c.length){const k=`${y+T}:${E+w}`;m.set(k,{cell:v,rowSpan:L,colSpan:C,startRow:y})}}E+=C}for(;E<g;){if(m.has(`${y}:${E}`)){const v=m.get(`${y}:${E}`);u[y][E]=v.cell}else u[y][E]=null;E++}}let f=-1;for(let y=0;y<u[d].length;y++)if(u[d][y]===i){f=y;break}if(f===-1)return;let p=0,b=1;const h=new Set;for(;p<o;){const y=n?d+b:d-b;if(y<0||y>=c.length)break;const E=u[y][f];if(!E){b++;continue}const S=`${y}:${f}`,v=m.get(S);if(E.tagName!=="TD"){b++;continue}if(h.has(E)){b++;continue}if(v&&v.startRow!==y){b++;continue}E.classList.add(t),h.add(E),p++,b++}}var rr=`
|
|
89
89
|
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">
|
|
90
90
|
<path d="M2.21128 13.375C1.83241 13.375 1.51172 13.2438 1.24922 12.9813C0.986719 12.7188 0.855469 12.3981 0.855469 12.0192V1.98081C0.855469 1.60194 0.986719 1.28125 1.24922 1.01875C1.51172 0.75625 1.83241 0.625 2.21128 0.625H4.74966C5.12853 0.625 5.44922 0.75625 5.71172 1.01875C5.97422 1.28125 6.10547 1.60194 6.10547 1.98081V12.0192C6.10547 12.3981 5.97422 12.7188 5.71172 12.9813C5.44922 13.2438 5.12853 13.375 4.74966 13.375H2.21128ZM9.24966 13.375C8.87078 13.375 8.55009 13.2438 8.28759 12.9813C8.02509 12.7188 7.89384 12.3981 7.89384 12.0192V1.98081C7.89384 1.60194 8.02509 1.28125 8.28759 1.01875C8.55009 0.75625 8.87078 0.625 9.24966 0.625H11.788C12.1669 0.625 12.4876 0.75625 12.7501 1.01875C13.0126 1.28125 13.1438 1.60194 13.1438 1.98081V12.0192C13.1438 12.3981 13.0126 12.7188 12.7501 12.9813C12.4876 13.2438 12.1669 13.375 11.788 13.375H9.24966ZM12.0188 1.98081C12.0188 1.92306 11.9948 1.87019 11.9467 1.82219C11.8987 1.77406 11.8458 1.75 11.788 1.75H9.24966C9.19191 1.75 9.13903 1.77406 9.09103 1.82219C9.04291 1.87019 9.01884 1.92306 9.01884 1.98081V12.0192C9.01884 12.0769 9.04291 12.1298 9.09103 12.1778C9.13903 12.2259 9.19191 12.25 9.24966 12.25H11.788C11.8458 12.25 11.8987 12.2259 11.9467 12.1778C11.9948 12.1298 12.0188 12.0769 12.0188 12.0192V1.98081Z" fill="#344966"/>
|
|
91
91
|
</svg>
|
|
@@ -145,9 +145,9 @@ __useblocks__.define("js/iframe.js",["require","exports","module","js/rolldown-r
|
|
|
145
145
|
<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none">
|
|
146
146
|
<path d="M7 3H11M3 5H15M13.6667 5L13.1991 12.0129C13.129 13.065 13.0939 13.5911 12.8667 13.99C12.6666 14.3412 12.3648 14.6235 12.0011 14.7998C11.588 15 11.0607 15 10.0062 15H7.9938C6.93927 15 6.41202 15 5.99889 14.7998C5.63517 14.6235 5.33339 14.3412 5.13332 13.99C4.90607 13.5911 4.871 13.065 4.80086 12.0129L4.33333 5" stroke="#777582" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"/>
|
|
147
147
|
</svg>
|
|
148
|
-
`;function ds(e,o,t,n){const r=document.querySelector(".table-menu"),i=r?.closest("table");if(!i)return;const l=i?.querySelector(`.${a.CLASS_FOR_BASIC_CELL}`),s=Bt(i),{row:c}=Vo(s,a.CLASS_FOR_BASIC_CELL),{row:d,isOverlapped:u}=Zn(s,a.CLASS_FOR_BASIC_CELL),{isOverlapped:p}=Jn(s,a.CLASS_FOR_BASIC_CELL);if(!i||!l)return;const m={addBottomRow:r.querySelector('[data-id="add-bottom-row"]'),addTopRow:r.querySelector('[data-id="add-top-row"]'),removeRow:r.querySelector('[data-id="remove-row"]'),mergeTopCell:r.querySelector('[data-id="merge-top-cell"]'),mergeBottomCell:r.querySelector('[data-id="merge-bottom-cell"]'),splitHorizontalCell:r.querySelector('[data-id="split-horizontal-cell"]'),addLeftColumn:r.querySelector('[data-id="add-left-column"]'),addRightColumn:r.querySelector('[data-id="add-right-column"]'),mergeRightCell:r.querySelector('[data-id="merge-right-cell"]'),mergeLeftCell:r.querySelector('[data-id="merge-left-cell"]'),splitVerticalCell:r.querySelector('[data-id="split-vertical-cell"]'),removeColumn:r.querySelector('[data-id="remove-column"]')};m.addBottomRow&&(m.addBottomRow.style.display="block"),m.addTopRow&&(m.addTopRow.style.display="block"),m.removeRow&&(m.removeRow.style.display="block"),m.mergeTopCell&&(m.mergeTopCell.style.display="block"),m.mergeBottomCell&&(m.mergeBottomCell.style.display="block"),m.splitHorizontalCell&&(m.splitHorizontalCell.style.display="none"),m.addLeftColumn&&(m.addLeftColumn.style.display="block"),m.addRightColumn&&(m.addRightColumn.style.display="block"),m.mergeRightCell&&(m.mergeRightCell.style.display="block"),m.mergeLeftCell&&(m.mergeLeftCell.style.display="block"),m.splitVerticalCell&&(m.splitVerticalCell.style.display="none"),m.removeColumn&&(m.removeColumn.style.display="block"),l.getAttribute("rowspan")&&m.splitHorizontalCell&&(m.splitHorizontalCell.style.display="block"),l.getAttribute("colspan")&&m.splitVerticalCell&&(m.splitVerticalCell.style.display="block"),e&&(m.mergeBottomCell&&(m.mergeBottomCell.style.display="none"),m.mergeRightCell&&(m.mergeRightCell.style.display="none"),m.mergeLeftCell&&(m.mergeLeftCell.style.display="none"),m.addTopRow&&(m.addTopRow.style.display="none"),m.addBottomRow&&(m.addBottomRow.style.display="none"),m.removeRow&&(m.removeRow.style.display="none")),o&&(m.mergeTopCell&&(m.mergeTopCell.style.display="none"),m.mergeRightCell&&(m.mergeRightCell.style.display="none"),m.mergeLeftCell&&(m.mergeLeftCell.style.display="none"),m.addTopRow&&(m.addTopRow.style.display="none"),m.addBottomRow&&(m.addBottomRow.style.display="none"),m.removeRow&&(m.removeRow.style.display="none")),t&&(m.mergeTopCell&&(m.mergeTopCell.style.display="none"),m.mergeBottomCell&&(m.mergeBottomCell.style.display="none"),m.mergeRightCell&&(m.mergeRightCell.style.display="none"),m.addLeftColumn&&(m.addLeftColumn.style.display="none"),m.addRightColumn&&(m.addRightColumn.style.display="none"),m.removeColumn&&(m.removeColumn.style.display="none")),n&&(m.mergeTopCell&&(m.mergeTopCell.style.display="none"),m.mergeBottomCell&&(m.mergeBottomCell.style.display="none"),m.mergeLeftCell&&(m.mergeLeftCell.style.display="none"),m.addLeftColumn&&(m.addLeftColumn.style.display="none"),m.addRightColumn&&(m.addRightColumn.style.display="none"),m.removeColumn&&(m.removeColumn.style.display="none")),p&&m.removeColumn&&(m.removeColumn.style.display="none"),u&&d===c&&m.removeRow&&(m.removeRow.style.display="none"),l.getAttribute("colspan")&&(m.mergeTopCell&&(m.mergeTopCell.style.display="none"),m.mergeBottomCell&&(m.mergeBottomCell.style.display="none")),l.getAttribute("rowspan")&&(m.mergeLeftCell&&(m.mergeLeftCell.style.display="none"),m.mergeRightCell&&(m.mergeRightCell.style.display="none"))}var ms={INSERT_COLUMN_BEFORE_TABLE:"Insert column before",INSERT_COLUMN_AFTER_TABLE:"Insert column after",MERGE_RIGHT_CELL_TABLE:"Merge right",MERGE_LEFT_CELL_TABLE:"Merge left",SPLIT_CELL_TABLE:"Split cell",REMOVE_COLUMN_TABLE:"Remove column",INSERT_ROW_BEFORE_TABLE:"Insert row before",INSERT_ROW_AFTER_TABLE:"Insert row after",MERGE_TOP_CELL_TABLE:"Merge top",MERGE_BOTTOM_CELL_TABLE:"Merge bottom",REMOVE_ROW_TABLE:"Remove row",EDIT_ATOM:"Edit"},Ce=()=>window.Locale||ms;function us(e,o){e.forEach(t=>{o.querySelectorAll(`.${t}`).forEach(n=>n.classList.remove(t))})}function fs(e,o){const t=e?.tagName==="TD"?e?.querySelector("div"):e?.closest("div")?e?.closest("div"):e;if(!e.closest(".em-element-custom-table")||t?.tagName!=="DIV")return!1;document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(y=>{y.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)});const n=[a.CLASS_FOR_BASIC_ROW,a.CLASS_FOR_BASIC_CELL];let r=!1,i=!1;const l=t,s=document.querySelector(`.${a.CLASS_FOR_BASIC_CELL}`),c=document.querySelector(".table-menu");s&&s.classList.remove(a.CLASS_FOR_BASIC_CELL),c&&c.remove();const d=l.closest(".em-element-custom-table"),u=d.closest('[em="block"]'),p=a.addElement({targetElement:d,insertType:"append",className:"of-atom table-menu",style:"width: 48px; height: 28px; display: flex; position: absolute; right: 0; top: -30px; background: #FFDCC7; border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); pointer-events: auto; z-index: 1001;"});let m=!1,f=1;const g=()=>({isDirectionUP:a.state.get("isDirectionUP"),isDirectionDOWN:a.state.get("isDirectionDOWN"),isDirectionLEFT:a.state.get("isDirectionLEFT"),isDirectionRIGHT:a.state.get("isDirectionRIGHT"),actualTargetCount:a.state.get("actualTargetCount")});d.addEventListener("mousedown",y=>{const E=y.target.tagName.toUpperCase();if(y.button===0&&E!=="UL"&&E!=="LI"&&E!=="SVG"&&E!=="PATH"&&E!=="CIRCLE"){m=!0;const S=d.querySelector(`.${a.CLASS_FOR_BASIC_CELL}`);document.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`)?.forEach(v=>{v.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL),S?.classList.remove(a.CLASS_FOR_BASIC_CELL)})}}),d.addEventListener("mouseup",y=>{m=!1,y.target.closest("td")?.classList.contains("remove-basic-cell")&&a.state.update({isDirectionUP:!1,isDirectionDOWN:!1,isDirectionLEFT:!1,isDirectionRIGHT:!1})}),d.addEventListener("mouseover",y=>{const E=d.querySelector(`.${a.CLASS_FOR_BASIC_CELL}`);f=d.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).length,f=f===0?1:f;const S=y.target;if(m&&S.closest("TD")&&E){const v=S.closest("TD");d.querySelectorAll(`.${a.TEMPORARY_CLASS}`).forEach(G=>G.classList.remove(a.TEMPORARY_CLASS)),f===1&&d.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(G=>G.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),v.classList.add(a.TEMPORARY_CLASS);const C=v.closest(".em-element-custom-table");if(!C)return;let L=Bt(C);const w=Vo(L,a.CLASS_FOR_BASIC_CELL);if(!w)return;const{row:T,col:k}=w,{row:D,col:z,isOverlapped:$}=Zn(L,a.CLASS_FOR_BASIC_CELL),{row:M,col:H,isOverlapped:P}=Jn(L,a.CLASS_FOR_BASIC_CELL);!r&&!i&&f===1&&!($||P)&&(C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(G=>G.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),v.classList.add(a.CLASS_BACKGROUND_ACTIVE_CELL));const Z=Vo(L,a.TEMPORARY_CLASS);if(!Z)return;const{row:R,col:F}=Z;if(C.querySelectorAll(`.${a.TEMPORARY_CLASS}`).forEach(G=>G.classList.remove(a.TEMPORARY_CLASS)),T!==R&&k!==F){C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(G=>G.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),r=!1,i=!1;return}const{isDirectionUP:ie,isDirectionDOWN:O,isDirectionLEFT:B,isDirectionRIGHT:ee}=g();if(!r&&!i&&!v.classList.contains("remove-basic-cell")&&(a.state.update({isDirectionUP:!1,isDirectionDOWN:!1,isDirectionLEFT:!1,isDirectionRIGHT:!1}),T===R?(r=!0,i=!1,k>F&&a.state.set("isDirectionLEFT",!0),k<F&&a.state.set("isDirectionRIGHT",!0)):k===F&&(i=!0,r=!1,T>R&&a.state.set("isDirectionUP",!0),T<R&&a.state.set("isDirectionDOWN",!0))),T===R&&(O||ie)||k===F&&(ee||B)||k===F&&T===R){a.state.update({isDirectionUP:!1,isDirectionDOWN:!1,isDirectionLEFT:!1,isDirectionRIGHT:!1}),r=!1,i=!1;return}if($&&z!==null){const{isDirectionRIGHT:G,isDirectionLEFT:J}=g();if(G&&z-F<=0&&z>k){C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(Y=>Y.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL));return}if(J&&F-z<=0&&z<k){C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(Y=>Y.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL));return}}if(P&&M!==null){const{isDirectionDOWN:G,isDirectionUP:J}=g();if(G&&M-R<=0&&M>T){C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(Y=>Y.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL));return}if(J&&R-M<=0&&M<T){C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(Y=>Y.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL));return}}if(T===R&&r){i=!1;const{isDirectionRIGHT:G,isDirectionLEFT:J}=g();if(G){const Y=F-k;if(a.state.set("actualTargetCount",ro(L,R,F,T,k,!0)),Y<0){a.state.set("isDirectionRIGHT",!1),r=!1,i=!1;return}C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(ae=>ae.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),or(`.${a.CLASS_FOR_BASIC_CELL}`,a.state.get("actualTargetCount"),a.CLASS_BACKGROUND_ACTIVE_CELL,!0)}if(J){const Y=k-F;if(a.state.set("actualTargetCount",ro(L,T,k,R,F,!0)),Y<0){a.state.set("isDirectionLEFT",!1),r=!1,i=!1;return}C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(ae=>ae.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),or(`.${a.CLASS_FOR_BASIC_CELL}`,a.state.get("actualTargetCount"),a.CLASS_BACKGROUND_ACTIVE_CELL,!1)}C.querySelectorAll(`.${a.TEMPORARY_CLASS}`).forEach(Y=>Y.classList.remove(a.TEMPORARY_CLASS))}if(k===F&&i){r=!1;const{isDirectionDOWN:G,isDirectionUP:J}=g();if(G){const Y=R-T;if(a.state.set("actualTargetCount",ro(L,R,F,T,k,!1)),Y<0){a.state.set("isDirectionDOWN",!1),r=!1,i=!1;return}C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(ae=>ae.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),nr(`.${a.CLASS_FOR_BASIC_CELL}`,a.state.get("actualTargetCount"),a.CLASS_BACKGROUND_ACTIVE_CELL,!0)}if(J){const Y=T-R;a.state.set("actualTargetCount",ro(L,T,k,R,F,!1)),Y<0&&(a.state.set("isDirectionUP",!1),r=!1,i=!1),C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(ae=>ae.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),nr(`.${a.CLASS_FOR_BASIC_CELL}`,a.state.get("actualTargetCount"),a.CLASS_BACKGROUND_ACTIVE_CELL,!1)}C.querySelectorAll(`.${a.TEMPORARY_CLASS}`).forEach(Y=>Y.classList.remove(a.TEMPORARY_CLASS))}const oe=C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`);v.classList.contains("remove-basic-cell")&&oe?.length>1&&(oe?.forEach(G=>{G.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)}),r=!1,i=!1)}}),ps(p,d,u,o,n);const b=l.closest("td");b.classList.add(a.CLASS_FOR_BASIC_CELL);function h(y){const E=y.target;!u.contains(E)&&!p.contains(E)&&(p.remove(),b&&(document.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`)?.forEach(S=>{S.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)}),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(S=>{S.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)}),b.classList.remove(a.CLASS_FOR_BASIC_CELL)),document.removeEventListener("click",h))}return document.addEventListener("click",h),!0}function ps(e,o,t,n,r){const i=ds;function l(y){const E=y.querySelector("ul"),S=y.getAttribute("data-open")==="true",v=n.target.closest("td")?.classList.contains(a.CLASS_FOR_BASIC_CELL),C=o.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`);v&&C?.length===0&&a.state.update({isDirectionUP:!1,isDirectionDOWN:!1,isDirectionLEFT:!1,isDirectionRIGHT:!1});const{isDirectionUP:L,isDirectionDOWN:w,isDirectionLEFT:T,isDirectionRIGHT:k}={isDirectionUP:a.state.get("isDirectionUP"),isDirectionDOWN:a.state.get("isDirectionDOWN"),isDirectionLEFT:a.state.get("isDirectionLEFT"),isDirectionRIGHT:a.state.get("isDirectionRIGHT")};i(L,w,T,k),e.querySelectorAll("[data-open]").forEach(D=>{D!==y&&D.getAttribute("data-open")==="true"&&(D.setAttribute("data-open","false"),D.querySelector("ul").style.display="none")}),S||(y.setAttribute("data-open","true"),E.style.display="block")}function s(y){const E=y.querySelector("ul");y.getAttribute("data-open")==="true"&&(y.setAttribute("data-open","false"),E.style.display="none")}function c(y){y.stopPropagation(),y.preventDefault();const E=y.target,S=E.closest("li"),v=S?.getAttribute("data-id"),C=S?.closest("tr"),L=S?.closest("td");C?.classList.add(a.CLASS_FOR_BASIC_ROW),L?.classList.add(a.CLASS_FOR_BASIC_CELL);const w=E.closest("table");if(!S||!w)return;const T=Bt(w),k=w.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).length;switch(v){case"add-bottom-row":{const M=Gn(T,a.CLASS_FOR_BASIC_CELL,!1);w.innerHTML=Se(M);break}case"add-top-row":{const M=Gn(T,a.CLASS_FOR_BASIC_CELL,!0);w.innerHTML=Se(M);break}case"remove-row":{const M=Ra(T,a.CLASS_FOR_BASIC_CELL);w.innerHTML=Se(M);break}case"merge-top-cell":{const M=k===0?Xn(T,a.CLASS_FOR_BASIC_CELL,!0,k+1):er(T,a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL);w.innerHTML=Se(M);break}case"merge-bottom-cell":{const M=k===0?Xn(T,a.CLASS_FOR_BASIC_CELL,!1,k+1):er(T,a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL);w.innerHTML=Se(M);break}case"split-horizontal-cell":{const M=Ia(T,a.CLASS_FOR_BASIC_CELL);w.innerHTML=Se(M);break}case"add-left-column":{const M=Yn(T,a.CLASS_FOR_BASIC_CELL,!0);w.innerHTML=Se(M);break}case"add-right-column":{const M=Yn(T,a.CLASS_FOR_BASIC_CELL,!1);w.innerHTML=Se(M);break}case"merge-right-cell":{const M=k===0?Kn(T,a.CLASS_FOR_BASIC_CELL,!1,k+1):Qn(T,a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL);w.innerHTML=Se(M);break}case"merge-left-cell":{const M=k===0?Kn(T,a.CLASS_FOR_BASIC_CELL,!0,k+1):Qn(T,a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL);w.innerHTML=Se(M);break}case"split-vertical-cell":{const M=Ha(T,a.CLASS_FOR_BASIC_CELL);w.innerHTML=Se(M);break}case"remove-column":{const M=Pa(T,a.CLASS_FOR_BASIC_CELL);w.innerHTML=Se(M);break}}const D=S.closest("ul");D.parentElement.setAttribute("data-open","false"),D.style.display="none",e.querySelectorAll('[data-open="true"]').forEach(M=>{M.setAttribute("data-open","false"),M.querySelector("ul").style.display="none"});const z=document.querySelector(`.${a.CLASS_FOR_BASIC_CELL}`),$=document.querySelector(".table-menu");z?.classList.remove(a.CLASS_FOR_BASIC_CELL),$?.remove(),document.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(M=>{M.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)}),us(r,w),a.commit()}function d(y){l(y.currentTarget)}function u(y){s(y.currentTarget)}const p=a.addElement({targetElement:e,insertType:"append",style:"cursor: pointer; flex: 1; margin: auto; padding-top: 2px;",className:"em-element-editor-widget-edit",HTMLcontent:rr,title:"Колонки"});p.setAttribute("data-open","false");const m=a.addElement({targetElement:p,insertType:"append",tag:"ul",style:a.styleMenuElement}),f={targetElement:m,insertType:"append",tag:"li",className:"em-element-editor-widget-group",style:a.styleMenuElementList};a.addElement({...f,HTMLcontent:rr,title:"",style:"padding: 3px; cursor: pointer; font-size: 14px; background-color: #E2DEDD; border-radius: 5px; margin: 1px; margin-top: -4px","data-id":"menu-item"}),a.addElement({...f,HTMLcontent:es,title:Ce().INSERT_COLUMN_BEFORE_TABLE,"data-id":"add-left-column"}),a.addElement({...f,HTMLcontent:ts,title:Ce().INSERT_COLUMN_AFTER_TABLE,"data-id":"add-right-column"}),a.addElement({...f,HTMLcontent:is,title:Ce().MERGE_RIGHT_CELL_TABLE,"data-id":"merge-right-cell"}),a.addElement({...f,HTMLcontent:os,title:Ce().MERGE_LEFT_CELL_TABLE,"data-id":"merge-left-cell"}),a.addElement({...f,HTMLcontent:cs,title:Ce().SPLIT_CELL_TABLE,"data-id":"split-vertical-cell"}),a.addElement({...f,HTMLcontent:lr,title:Ce().REMOVE_COLUMN_TABLE,"data-id":"remove-column"}),m.addEventListener("click",c),p.addEventListener("mouseenter",d),p.addEventListener("mouseleave",u);const g=a.addElement({targetElement:e,insertType:"append",style:"cursor: pointer; flex: 1; margin: auto; padding-top: 2px;",className:"em-element-editor-widget-clone",HTMLcontent:ir,title:"Строки"});g.setAttribute("data-open","false");const b=a.addElement({targetElement:g,insertType:"append",tag:"ul",style:a.styleMenuElement}),h={targetElement:b,insertType:"append",tag:"li",className:"em-element-editor-widget-group",style:a.styleMenuElementList};a.addElement({...h,HTMLcontent:ir,title:Ce().EDIT_ATOM||"Edit",style:"padding: 3px; cursor: pointer; font-size: 14px; background-color: #E2DEDD; border-radius: 5px; margin: 1px; margin-top: -4px"}),a.addElement({...h,HTMLcontent:ns,title:Ce().INSERT_ROW_BEFORE_TABLE,"data-id":"add-top-row"}),a.addElement({...h,HTMLcontent:rs,title:Ce().INSERT_ROW_AFTER_TABLE,"data-id":"add-bottom-row"}),a.addElement({...h,HTMLcontent:ls,title:Ce().MERGE_TOP_CELL_TABLE,"data-id":"merge-top-cell"}),a.addElement({...h,HTMLcontent:as,title:Ce().MERGE_BOTTOM_CELL_TABLE,"data-id":"merge-bottom-cell"}),a.addElement({...h,HTMLcontent:ss,title:Ce().SPLIT_CELL_TABLE,"data-id":"split-horizontal-cell"}),a.addElement({...h,HTMLcontent:lr,title:Ce().REMOVE_ROW_TABLE,"data-id":"remove-row"}),b.addEventListener("click",c),g.addEventListener("mouseenter",d),g.addEventListener("mouseleave",u)}function gs(e,o,t){const n=e.closest("div"),r=e.closest("em-replace");if(!r||!n||!t.isClickAtEndOfEmReplace(o,r))return!1;const i=`em-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;r.setAttribute("data-em-id",i);const l=t.getOrCreateAfterSpan(r),s=`temp-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;l.setAttribute("data-cursor-target",s),n.innerHTML=n.innerHTML;const c=n.querySelector(`[data-em-id="${i}"]`);if(c){c.removeAttribute("data-em-id");let d=c.nextElementSibling;(!d||!d.hasAttribute("data-cursor-target"))&&(d=n.querySelector(`[data-cursor-target="${s}"]`)),d&&(d.removeAttribute("data-cursor-target"),d.removeAttribute("style"),n.getAttribute("contenteditable")==="true"&&n.focus(),setTimeout(()=>{t.setCursorInsideSpan(d),t._wrapEditor(d,!0),t.commit()},10))}return t.commit(),!0}function bs(e,o){document.querySelectorAll("[em-optimise-error]").forEach(t=>{t.removeAttribute("em-optimise-error")}),document.querySelectorAll("img").forEach((t,n)=>{t.setAttribute("em-optimise",`image_${n}`)}),o.commit()}function hs(e,o){document.querySelectorAll("[em-optimise-error]").forEach(t=>{t.removeAttribute("em-optimise-error")}),document.querySelectorAll("a[href]").forEach((t,n)=>{t.setAttribute("em-optimise",`link_${n}`)}),o.commit()}function ys(e,o){const t=e.data.settings?.elementId;if(!t)return;const n=document.querySelector(`[em-optimise="${t}"]`);n&&(e.data.settings?.isError&&(n.setAttribute("em-optimise-error","true"),o.commit()),o.messageService.send({operation:"application_scroll-to",settings:{value:n.getBoundingClientRect().top+o.iframeOffsetTop-o.previewHeight/2}}),o.setCursorPosition(n),o.applicationElementSettingsSet({elem:n}))}function Es(e,o){const t=e.data.settings?.elementId;if(!t)return;const n=document.querySelector(`[em-optimise="${t}"]`);n&&(o.messageService.send({operation:"application_scroll-to",settings:{value:n.getBoundingClientRect().top+o.iframeOffsetTop-o.previewHeight/2}}),o.setCursorPosition(n),o.applicationElementSettingsSet({elem:n}),e.data.settings?.isError&&n.setAttribute("em-optimise-error","true"),o.commit())}var Ss={sandbox_set_attr_to_images:bs,sandbox_set_attr_to_links:hs,sandbox_set_position_to_img:ys,sandbox_set_position_to_link:Es},Cs="https://emcdn.ru/141965/231106_18_hwUXhU0.png";function io(e){e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.remove():e.elem.previousSibling&&io({elem:e.elem.previousSibling})}function lo(e){if(!e.elem)return!1;if(e.elem.parentElement?.tagName==="SECTION"||e.elem.classList.contains("em-narrow-table")&&Array.from(e.elem.childNodes).every(t=>t.nodeType===Node.TEXT_NODE))return e.elem.innerHTML="",!1;e.elem.querySelector(".em-element-editor")&&e.elem.querySelector(".em-element-editor")?.remove(),e.elem.querySelector(".em-element-path")&&e.elem.querySelectorAll(".em-element-path").forEach(t=>t.remove()),e.elem.querySelector(".em-element-block-add")&&e.elem.querySelectorAll(".em-element-block-add").forEach(t=>t.remove()),e.elem.querySelector(".em-vindent-paddingTop, .em-vindent-paddingRight, .em-vindent-paddingBottom, .em-vindent-paddingLeft")&&e.elem.querySelectorAll(".em-vindent-paddingTop, .em-vindent-paddingRight, .em-vindent-paddingBottom, .em-vindent-paddingLeft").forEach(t=>t.remove());const o=e.elem.parentElement;if(e.elem.classList.contains("em-mob-wrap")||e.elem.classList.contains("noresp-em-mob-wrap"))e.elem.innerHTML.trim()===""&&(e.elem.parentElement?.querySelectorAll(":scope > .em-mob-wrap, :scope > .noresp-em-mob-wrap").length>1?e.elem.innerHTML="":(e.elem.remove(),lo({elem:o})));else if(e.elem.innerHTML.trim()==="")io({elem:e.elem}),e.elem.remove(),lo({elem:o});else if(o&&!o.querySelector('div[style*="display"]')){for(const t of e.elem.childNodes)t.nodeName==="#text"&&t.textContent?.trim()===""?(io({elem:t}),t.textContent=""):t.nodeName==="#comment"&&t.textContent?.indexOf("mso")!==-1&&(io({elem:t}),t.remove());e.elem.innerHTML.trim()===""&&lo({elem:e.elem})}return!0}function vs(e){const o=document.querySelector("[em-edit]");if(!o)return;const t=e.getElementParent(o);let n=o.parentNode;const r=o.closest("editor");if(e.setCursorPosition(t),o.classList.contains("em-code")){const i=e.getVariableByIcon?.(o);i&&(i.parentNode?.removeChild(i),o.remove())}else if(o.tagName==="TD"&&o.innerHTML===""&&o.hasAttribute("height")){const i=o.closest("table");if(i){const l=i.previousSibling;l&&l?.textContent?.trim()===""&&l.remove(),i.remove()}}else if(o.closest(".em-element-resize-img-container"))n=o.closest(".em-element-resize-img-container").parentNode,o.closest("td")?.querySelector("editor")?.innerHTML===""&&o.closest("td")?.querySelector("editor")?.remove(),o.closest(".em-element-resize-img-container")?.remove();else if(o.closest('[em="atom"]')){const i=o.closest(".em-mob-wrap, .noresp-em-mob-wrap"),l=o.closest('[em="atom"]');o.tagName==="TD"&&o.previousElementSibling===null&&o.nextElementSibling===null?(n=l.parentNode,l?.remove()):(n=o.closest("td"),o.remove());const s=!!i&&Array.from(i.querySelectorAll('[em="atom"]')).some(c=>c!==l);o.tagName!=="TD"&&i&&!s&&i.textContent?.trim()===""&&(i.textContent="")}else{o.remove();const i=o.previousSibling;i&&i?.textContent?.trim()===""&&i.remove(),o.remove()}r&&r.remove(),lo({elem:n}),e.commit(),e.messageService.send({operation:"application_element_settings_close"})}function As(e,o){const t=document.querySelector("[em-edit]");if(t)if(e.action==="add_p"){let n=null;if(["DIV","P","TD","EDITOR","B","STRONG","SPAN","I","EM","A"].includes(t.tagName)){if(t.closest("div")?.style.fontFamily?n=t.closest("div"):t.closest("p")?.style.fontFamily?n=t.closest("p"):n=t,n&&o.HTMLDocument){const r=o.HTMLDocument.getOuterHtml(n);n.closest("table")?.getAttribute("em")==="atom"?n.closest("table")?.insertAdjacentHTML("afterend",`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding-bottom: 10px;">${r}</td></tr></table>`):n.insertAdjacentHTML("afterend",`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding-bottom: 10px;">${r}</td></tr></table>`)}o.commit()}o.setCursorPosition(t)}else if(e.action==="add_img"){if(window.getSelection){const n=document.createElement("img");n.setAttribute("src",Cs),n.setAttribute("width","28"),n.setAttribute("border","0"),n.setAttribute("alt",""),n.style.display="inline-block",n.style.verticalAlign="text-bottom";const r=window.getSelection();if(r?.getRangeAt&&r.rangeCount){const i=r.getRangeAt(0);i.deleteContents(),i.insertNode(n)}else document.querySelector("[em-edit]")?.prepend(n);o.commit()}}else(e.action==="typograf"||e.action==="typograf_all")&&Ts(e,o).catch(n=>{})}async function Ts(e,o){const{default:t}=await a.__vitePreload(async()=>{const{default:c}=await Promise.resolve().then(()=>Lo("./typograf.all.BbXdyfMT.js")).then(d=>d.typograf_all_exports);return{default:c}},void 0,{}.url);let n=document.querySelector("[em-edit]")?.closest("div")||document.querySelector("[em-edit]")?.closest("editor")||null;const r=e.action==="typograf"?n?.innerText:document.body.innerText,i=o.hasRussianText?.(r||"")??!1,l=new t({locale:[e.locale==="ru_RU"||i?"ru":"en-US"],htmlEntity:{type:"name",onlyInvisible:!0,list:["nbsp","shy","mdash","ndash","laquo","raquo"]}});l.disableRule("ru/punctuation/*"),l.disableRule("common/punctuation/*"),l.enableRule("common/punctuation/quote"),l.setSetting("common/punctuation/quote","ru",{left:"«",right:"»",removeDuplicateQuotes:!0}),l.setSetting("common/punctuation/quote","en-US",{left:'"',right:'"',removeDuplicateQuotes:!0}),l.disableRule("ru/dash/kakto"),l.disableRule("ru/dash/taki"),l.disableRule("ru/dash/izpod"),l.disableRule("ru/dash/izza"),l.disableRule("ru/dash/ka"),l.disableRule("ru/dash/to"),l.disableRule("ru/dash/koe"),l.disableRule("common/nbsp/nowrap"),l.disableRule("common/nbsp/dpi"),l.disableRule("common/nbsp/afterParagraphMark"),l.enableRule("common/nbsp/afterNumber"),l.disableRule("common/html/quot"),l.disableRule("ru/date/*"),l.disableRule("common/number/mathSigns"),l.disableRule("ru/number/ordinals"),l.disableRule("ru/number/comma"),l.disableRule("ru/symbols/NN"),l.disableRule("common/symbols/cf"),l.disableRule("ru/other/phone-number"),l.addSafeTag('<[^>]+class="preheader"[^>]*>',"</[^>]+>"),l.addSafeTag("<!--","-->");function s(c){let d=l.execute(c);return d=d.replace(/\b(\d{1,3}(?:[ \u00A0]\d{3})*(?:[.,]\d+)?)\b/g,function(u){return u.replace(/[ \u00A0]/g,"").replace(/\B(?=(\d{3})+(?!\d))/g," ")}),d=d.replace(/(\d[\d ]*[.,]?\d+)(?:\s| )?(?=(?:руб(?:\.|лей)?|р\.|долл(?:\.|аров)?|\$|₽|€|£|¥|USD|EUR|RUB))/gi,"$1 "),d=d.replace(/(\d[\d ]*[.,]?\d+) (руб(?:\.|лей)?|р\.|долл(?:\.|аров)?|\$|₽|€|£|¥|USD|EUR|RUB)/gi,"$1 $2"),d}if(e.action==="typograf_all"){const c=document.body;c&&(c.innerHTML=s(c.innerHTML))}else n?.parentElement&&(n=n.parentElement,n?.parentElement&&(n.parentElement.innerHTML=s(n.parentElement.innerHTML)));document.querySelectorAll(".em-element-resize-img-container").forEach(c=>c.replaceWith(...c.childNodes)),document.querySelectorAll(".em-element-img-change-group").forEach(c=>c.remove()),document.querySelectorAll("editor").forEach(c=>c.replaceWith(...c.childNodes)),o.commit()}function ar(e){return e?e.nodeType===Node.ELEMENT_NODE?e:e.parentElement:null}function Uo(e){if(!e||e.tagName!=="A")return!1;const o=e.getAttribute("style");if(!o||!o.includes("display"))return!1;const t=e.style.display;return!(t!=="block"&&t!=="inline-block"||o.includes("mso-style-priority"))}function Ls(e,o){const t=e.closest("a");if(Uo(t))return t;if(!o)return null;const n=ar(o.anchorNode)?.closest("a")??null;if(Uo(n))return n;const r=ar(o.focusNode)?.closest("a")??null;return Uo(r)?r:null}function sr(e){return e.tagName==="IMG"?e.closest('div[em="atom"]')||e.closest(".em-element-resize-img-container")||e:e.closest("editor")?e.closest('[style*="font-family"][style*="font-size"]')||e:e.tagName==="TD"&&e.classList.contains("em-vindent")?e.closest(".em-vindent-table")||e:e.tagName==="TD"&&e.parentElement?.getAttribute("em")==="block"?e.parentElement:e}function cr(e){return e?e.classList.contains("em-vindent-table")?e.querySelector("td"):e.classList.contains("em-element-resize-img-container")?e.querySelector("img"):e.tagName==="TR"&&e.getAttribute("em")==="block"?e.firstElementChild:e:null}function ws(e){const o=document.querySelector("[em-edit]");if(!o)return;const t=window.getSelection();if(Ls(o,t)&&t&&!t.isCollapsed)try{t.collapseToEnd()}catch{}const n=e.getElementParent(o);n instanceof Element&&(e.setCursorPosition(n),e.applicationElementSettingsSet({elem:n}))}function ks(e){const o=document.querySelector("[em-edit]");if(!o)return;const t=cr(sr(o).previousElementSibling);t&&(e.setCursorPosition(t),e.applicationElementSettingsSet({elem:t}))}function _s(e){const o=document.querySelector("[em-edit]");if(!o)return;const t=cr(sr(o).nextElementSibling);t&&(e.setCursorPosition(t),e.applicationElementSettingsSet({elem:t}))}function Ns(e,o){o.removeAllAttributes("em-edit");const t=document.querySelector(".em-editor-wrapper");t&&(t.style.display="none"),document.querySelectorAll("editor").forEach(n=>{n.blur()})}function Bs(e,o){const t=o.elementPath[e.data.index??0];if(t?.elem){const n=t.elem;o.applicationElementSettingsSet({elem:n}),o.setCursorPosition(n)}}function Ms(e,o){o.removeAllAttributes("em-state");const t=o.elementPath[e.data.index??0];t?.elem&&t.elem.setAttribute("em-state","active")}function Rs(e,o){if(!o.getElementParent)return;const t={setCursorPosition:o.setCursorPosition,getElementParent:o.getElementParent,applicationElementSettingsSet:o.applicationElementSettingsSet};ws(t)}function Ps(e,o){if(!o.getElementParent)return;const t={setCursorPosition:o.setCursorPosition,getElementParent:o.getElementParent,applicationElementSettingsSet:o.applicationElementSettingsSet};ks(t)}function Hs(e,o){if(!o.getElementParent)return;const t={setCursorPosition:o.setCursorPosition,getElementParent:o.getElementParent,applicationElementSettingsSet:o.applicationElementSettingsSet};_s(t)}function Is(e,o){if(!o.getElementParent||!o.state)return;const t={state:o.state,commit:o.commit,setCursorPosition:o.setCursorPosition,getElementParent:o.getElementParent,messageService:o.messageService,getVariableByIcon:o.getVariableByIcon};vs(t)}function Os(e,o){if(!o.getElementParent||!o.state)return;const t={action:e.data.action,locale:e.data.locale},n={state:o.state,commit:o.commit,setCursorPosition:o.setCursorPosition,getElementParent:o.getElementParent,messageService:o.messageService,HTMLDocument:o.HTMLDocument,hasRussianText:o.hasRussianText};As(t,n)}var xs={sandbox_element_active_reset:Ns,sandbox_element_active_set:Bs,sandbox_element_hover_set:Ms,sandbox_element_parent_get:Rs,sandbox_element_prev_get:Ps,sandbox_element_next_get:Hs,sandbox_element_remove:Is,sandbox_element_text:Os};function Ds(e,o){e.data.data?(a.state.set("lockEdit",!0),document.body.classList.add("mceNonEditable"),document.querySelectorAll("editor").forEach(t=>{t.setAttribute("contenteditable","false")})):(a.state.set("lockEdit",!1),document.body.classList.remove("mceNonEditable"),document.querySelectorAll("editor").forEach(t=>{t.setAttribute("contenteditable","true")}))}function Fs(e,o){o.setEditorFocus(e.data.data)}var qs={sandbox_lock_edit:Ds,editor_change_focus:Fs};function Ws(e,o){document.querySelectorAll("[em-optimise-error]").forEach(t=>{t.removeAttribute("em-optimise-error")}),document.querySelectorAll("img").forEach((t,n)=>{t.setAttribute("em-optimise",`image_${n}`)}),o.commit()}function $s(e,o){document.querySelectorAll("[em-optimise-error]").forEach(t=>{t.removeAttribute("em-optimise-error")}),document.querySelectorAll("a[href]").forEach((t,n)=>{t.setAttribute("em-optimise",`link_${n}`)}),o.commit()}function zs(e,o){const t=document.querySelector(`[em-optimise="${e.data.settings.elementId}"]`);t&&(e.data.settings.isError&&(t.setAttribute("em-optimise-error","true"),o.commit()),o.messageService.send({operation:"application_scroll-to",settings:{value:t.getBoundingClientRect().top+o.iframeOffsetTop-o.previewHeight/2}}),o.setCursorPosition(t),o.applicationElementSettingsSet({elem:t}))}function Vs(e,o){const t=document.querySelector(`[em-optimise="${e.data.settings.elementId}"]`);t&&(o.messageService.send({operation:"application_scroll-to",settings:{value:t.getBoundingClientRect().top+o.iframeOffsetTop-o.previewHeight/2}}),o.setCursorPosition(t),o.applicationElementSettingsSet({elem:t}),e.data.settings.isError&&t.setAttribute("em-optimise-error","true"),o.commit())}var Us={sandbox_set_attr_to_images:Ws,sandbox_set_attr_to_links:$s,sandbox_set_position_to_img:zs,sandbox_set_position_to_link:Vs};function js(e){const o="eeb12239";let t=document.getElementsByTagName("head")[0];!t&&document.documentElement&&(t=document.createElement("head"),document.documentElement.insertBefore(t,document.documentElement.firstChild));const n=`css/sandbox-${e}.css?${o}`,r=`css/sandbox-${e==="light"?"dark":"light"}.css?${o}`,i=document.querySelectorAll(`[href="${r}"]`),l=document.createElement("link");l.setAttribute("rel","stylesheet"),l.setAttribute("type","text/css"),l.setAttribute("em","css"),l.setAttribute("href",n),t?.appendChild(l);for(const s of i)s.remove()}function Gs(e,o){o.initPreview(!0)}function Ys(e,o){const t=e.data;t.theme&&(a.state.set("applicationTheme",t.theme),js(t.theme),a.commit(!1)),t.commonStyles&&o.setCommonStyles(t.commonStyles),typeof t.copyPasteEnabled<"u"&&a.state.set("copyPasteEnabled",t.copyPasteEnabled),typeof t.saveBlockEnabled<"u"&&a.state.set("saveBlockEnabled",t.saveBlockEnabled),typeof t.editImageControlEnabled<"u"&&a.state.set("editImageControlEnabled",t.editImageControlEnabled),typeof t.elementAIimageEnabled<"u"&&a.state.set("elementAIimageEnabled",t.elementAIimageEnabled),typeof t.imageCenterStockEnabled<"u"&&a.state.set("imageCenterStockEnabled",t.imageCenterStockEnabled),typeof t.imageCenterGifEnabled<"u"&&a.state.set("imageCenterGifEnabled",t.imageCenterGifEnabled),typeof t.imageCenterEditorEnabled<"u"&&a.state.set("imageCenterEditorEnabled",t.imageCenterEditorEnabled),typeof t.blocksAddPanelEnabled<"u"&&a.state.set("blocksAddPanelEnabled",t.blocksAddPanelEnabled),typeof t.lockEditor<"u"&&a.state.set("lockEditor",t.lockEditor),typeof t.codeMode<"u"&&a.state.set("codeMode",t.codeMode),typeof t.appName<"u"&&a.state.set("appName",t.appName),typeof t.previewPage<"u"&&(a.state.set("previewPage",t.previewPage),document.body?.classList.toggle("em-sandbox-preview",t.previewPage))}function Ks(e){const o=e.data?.data?.theme;(o==="light"||o==="dark")&&a.darkMode.set(o)}var Xs={init_preview:Gs,update_preview:Ys,sandbox_switch_theme:Ks},Be=".em-mob-wrap, .noresp-em-mob-wrap",pe=".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)",ce='div[style*="inline-block"]';function ot(e){e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.textContent=e.elem.textContent.replaceAll(/width=".*"/gi,'width="'+e.width+'"'):e.elem.previousSibling&&ot({elem:e.elem.previousSibling,width:e.width})}function dr(e){const o=e.removedBlockIndex===0?"nextSibling":"previousSibling";e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.remove():e.elem[o]&&dr({elem:e.elem[o],removedBlockIndex:e.removedBlockIndex})}function ao(e){return!!e.querySelector(Be)||!!e.closest(Be)}function Mt(e){return e.querySelector(Be)?document.querySelector('[em-edit="active"]'):e.closest(Be).parentElement}function so(e){return e.querySelector(ce)?document.querySelector('[em-edit="active"]'):e.closest(ce).parentElement}function Zs(e,o){const t=document.querySelector("[em-edit]");if(t)try{if(o.state.increment("activeElementLocked"),ao(t)){const n=Mt(t),r=e.minWidth,i=n.querySelectorAll(pe).length,l=i>1?parseFloat(String(e.gap)):20,s=i>1?parseFloat(String(e.gapMobile||e.gap)):20;let c="";n.querySelector(".em-mob-wrap")?c=`<td width="${l}" class="em-mob-wrap em-mob-height-${s}px"></td>
|
|
148
|
+
`;function ds(e,o,t,n){const r=document.querySelector(".table-menu"),i=r?.closest("table");if(!i)return;const l=i?.querySelector(`.${a.CLASS_FOR_BASIC_CELL}`),s=Bt(i),{row:c}=Vo(s,a.CLASS_FOR_BASIC_CELL),{row:d,isOverlapped:u}=Zn(s,a.CLASS_FOR_BASIC_CELL),{isOverlapped:g}=Jn(s,a.CLASS_FOR_BASIC_CELL);if(!i||!l)return;const m={addBottomRow:r.querySelector('[data-id="add-bottom-row"]'),addTopRow:r.querySelector('[data-id="add-top-row"]'),removeRow:r.querySelector('[data-id="remove-row"]'),mergeTopCell:r.querySelector('[data-id="merge-top-cell"]'),mergeBottomCell:r.querySelector('[data-id="merge-bottom-cell"]'),splitHorizontalCell:r.querySelector('[data-id="split-horizontal-cell"]'),addLeftColumn:r.querySelector('[data-id="add-left-column"]'),addRightColumn:r.querySelector('[data-id="add-right-column"]'),mergeRightCell:r.querySelector('[data-id="merge-right-cell"]'),mergeLeftCell:r.querySelector('[data-id="merge-left-cell"]'),splitVerticalCell:r.querySelector('[data-id="split-vertical-cell"]'),removeColumn:r.querySelector('[data-id="remove-column"]')};m.addBottomRow&&(m.addBottomRow.style.display="block"),m.addTopRow&&(m.addTopRow.style.display="block"),m.removeRow&&(m.removeRow.style.display="block"),m.mergeTopCell&&(m.mergeTopCell.style.display="block"),m.mergeBottomCell&&(m.mergeBottomCell.style.display="block"),m.splitHorizontalCell&&(m.splitHorizontalCell.style.display="none"),m.addLeftColumn&&(m.addLeftColumn.style.display="block"),m.addRightColumn&&(m.addRightColumn.style.display="block"),m.mergeRightCell&&(m.mergeRightCell.style.display="block"),m.mergeLeftCell&&(m.mergeLeftCell.style.display="block"),m.splitVerticalCell&&(m.splitVerticalCell.style.display="none"),m.removeColumn&&(m.removeColumn.style.display="block"),l.getAttribute("rowspan")&&m.splitHorizontalCell&&(m.splitHorizontalCell.style.display="block"),l.getAttribute("colspan")&&m.splitVerticalCell&&(m.splitVerticalCell.style.display="block"),e&&(m.mergeBottomCell&&(m.mergeBottomCell.style.display="none"),m.mergeRightCell&&(m.mergeRightCell.style.display="none"),m.mergeLeftCell&&(m.mergeLeftCell.style.display="none"),m.addTopRow&&(m.addTopRow.style.display="none"),m.addBottomRow&&(m.addBottomRow.style.display="none"),m.removeRow&&(m.removeRow.style.display="none")),o&&(m.mergeTopCell&&(m.mergeTopCell.style.display="none"),m.mergeRightCell&&(m.mergeRightCell.style.display="none"),m.mergeLeftCell&&(m.mergeLeftCell.style.display="none"),m.addTopRow&&(m.addTopRow.style.display="none"),m.addBottomRow&&(m.addBottomRow.style.display="none"),m.removeRow&&(m.removeRow.style.display="none")),t&&(m.mergeTopCell&&(m.mergeTopCell.style.display="none"),m.mergeBottomCell&&(m.mergeBottomCell.style.display="none"),m.mergeRightCell&&(m.mergeRightCell.style.display="none"),m.addLeftColumn&&(m.addLeftColumn.style.display="none"),m.addRightColumn&&(m.addRightColumn.style.display="none"),m.removeColumn&&(m.removeColumn.style.display="none")),n&&(m.mergeTopCell&&(m.mergeTopCell.style.display="none"),m.mergeBottomCell&&(m.mergeBottomCell.style.display="none"),m.mergeLeftCell&&(m.mergeLeftCell.style.display="none"),m.addLeftColumn&&(m.addLeftColumn.style.display="none"),m.addRightColumn&&(m.addRightColumn.style.display="none"),m.removeColumn&&(m.removeColumn.style.display="none")),g&&m.removeColumn&&(m.removeColumn.style.display="none"),u&&d===c&&m.removeRow&&(m.removeRow.style.display="none"),l.getAttribute("colspan")&&(m.mergeTopCell&&(m.mergeTopCell.style.display="none"),m.mergeBottomCell&&(m.mergeBottomCell.style.display="none")),l.getAttribute("rowspan")&&(m.mergeLeftCell&&(m.mergeLeftCell.style.display="none"),m.mergeRightCell&&(m.mergeRightCell.style.display="none"))}var ms={INSERT_COLUMN_BEFORE_TABLE:"Insert column before",INSERT_COLUMN_AFTER_TABLE:"Insert column after",MERGE_RIGHT_CELL_TABLE:"Merge right",MERGE_LEFT_CELL_TABLE:"Merge left",SPLIT_CELL_TABLE:"Split cell",REMOVE_COLUMN_TABLE:"Remove column",INSERT_ROW_BEFORE_TABLE:"Insert row before",INSERT_ROW_AFTER_TABLE:"Insert row after",MERGE_TOP_CELL_TABLE:"Merge top",MERGE_BOTTOM_CELL_TABLE:"Merge bottom",REMOVE_ROW_TABLE:"Remove row",EDIT_ATOM:"Edit"},Ce=()=>window.Locale||ms;function us(e,o){e.forEach(t=>{o.querySelectorAll(`.${t}`).forEach(n=>n.classList.remove(t))})}function fs(e,o){const t=e?.tagName==="TD"?e?.querySelector("div"):e?.closest("div")?e?.closest("div"):e;if(!e.closest(".em-element-custom-table")||t?.tagName!=="DIV")return!1;document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(y=>{y.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)});const n=[a.CLASS_FOR_BASIC_ROW,a.CLASS_FOR_BASIC_CELL];let r=!1,i=!1;const l=t,s=document.querySelector(`.${a.CLASS_FOR_BASIC_CELL}`),c=document.querySelector(".table-menu");s&&s.classList.remove(a.CLASS_FOR_BASIC_CELL),c&&c.remove();const d=l.closest(".em-element-custom-table"),u=d.closest('[em="block"]'),g=a.addElement({targetElement:d,insertType:"append",className:"of-atom table-menu",style:"width: 48px; height: 28px; display: flex; position: absolute; right: 0; top: -30px; background: #FFDCC7; border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); pointer-events: auto; z-index: 1001;"});let m=!1,f=1;const p=()=>({isDirectionUP:a.state.get("isDirectionUP"),isDirectionDOWN:a.state.get("isDirectionDOWN"),isDirectionLEFT:a.state.get("isDirectionLEFT"),isDirectionRIGHT:a.state.get("isDirectionRIGHT"),actualTargetCount:a.state.get("actualTargetCount")});d.addEventListener("mousedown",y=>{const E=y.target.tagName.toUpperCase();if(y.button===0&&E!=="UL"&&E!=="LI"&&E!=="SVG"&&E!=="PATH"&&E!=="CIRCLE"){m=!0;const S=d.querySelector(`.${a.CLASS_FOR_BASIC_CELL}`);document.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`)?.forEach(v=>{v.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL),S?.classList.remove(a.CLASS_FOR_BASIC_CELL)})}}),d.addEventListener("mouseup",y=>{m=!1,y.target.closest("td")?.classList.contains("remove-basic-cell")&&a.state.update({isDirectionUP:!1,isDirectionDOWN:!1,isDirectionLEFT:!1,isDirectionRIGHT:!1})}),d.addEventListener("mouseover",y=>{const E=d.querySelector(`.${a.CLASS_FOR_BASIC_CELL}`);f=d.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).length,f=f===0?1:f;const S=y.target;if(m&&S.closest("TD")&&E){const v=S.closest("TD");d.querySelectorAll(`.${a.TEMPORARY_CLASS}`).forEach(G=>G.classList.remove(a.TEMPORARY_CLASS)),f===1&&d.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(G=>G.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),v.classList.add(a.TEMPORARY_CLASS);const C=v.closest(".em-element-custom-table");if(!C)return;let L=Bt(C);const w=Vo(L,a.CLASS_FOR_BASIC_CELL);if(!w)return;const{row:T,col:k}=w,{row:D,col:z,isOverlapped:$}=Zn(L,a.CLASS_FOR_BASIC_CELL),{row:M,col:H,isOverlapped:P}=Jn(L,a.CLASS_FOR_BASIC_CELL);!r&&!i&&f===1&&!($||P)&&(C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(G=>G.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),v.classList.add(a.CLASS_BACKGROUND_ACTIVE_CELL));const Z=Vo(L,a.TEMPORARY_CLASS);if(!Z)return;const{row:R,col:F}=Z;if(C.querySelectorAll(`.${a.TEMPORARY_CLASS}`).forEach(G=>G.classList.remove(a.TEMPORARY_CLASS)),T!==R&&k!==F){C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(G=>G.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),r=!1,i=!1;return}const{isDirectionUP:ie,isDirectionDOWN:O,isDirectionLEFT:B,isDirectionRIGHT:ee}=p();if(!r&&!i&&!v.classList.contains("remove-basic-cell")&&(a.state.update({isDirectionUP:!1,isDirectionDOWN:!1,isDirectionLEFT:!1,isDirectionRIGHT:!1}),T===R?(r=!0,i=!1,k>F&&a.state.set("isDirectionLEFT",!0),k<F&&a.state.set("isDirectionRIGHT",!0)):k===F&&(i=!0,r=!1,T>R&&a.state.set("isDirectionUP",!0),T<R&&a.state.set("isDirectionDOWN",!0))),T===R&&(O||ie)||k===F&&(ee||B)||k===F&&T===R){a.state.update({isDirectionUP:!1,isDirectionDOWN:!1,isDirectionLEFT:!1,isDirectionRIGHT:!1}),r=!1,i=!1;return}if($&&z!==null){const{isDirectionRIGHT:G,isDirectionLEFT:J}=p();if(G&&z-F<=0&&z>k){C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(Y=>Y.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL));return}if(J&&F-z<=0&&z<k){C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(Y=>Y.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL));return}}if(P&&M!==null){const{isDirectionDOWN:G,isDirectionUP:J}=p();if(G&&M-R<=0&&M>T){C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(Y=>Y.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL));return}if(J&&R-M<=0&&M<T){C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(Y=>Y.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL));return}}if(T===R&&r){i=!1;const{isDirectionRIGHT:G,isDirectionLEFT:J}=p();if(G){const Y=F-k;if(a.state.set("actualTargetCount",ro(L,R,F,T,k,!0)),Y<0){a.state.set("isDirectionRIGHT",!1),r=!1,i=!1;return}C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(ae=>ae.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),or(`.${a.CLASS_FOR_BASIC_CELL}`,a.state.get("actualTargetCount"),a.CLASS_BACKGROUND_ACTIVE_CELL,!0)}if(J){const Y=k-F;if(a.state.set("actualTargetCount",ro(L,T,k,R,F,!0)),Y<0){a.state.set("isDirectionLEFT",!1),r=!1,i=!1;return}C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(ae=>ae.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),or(`.${a.CLASS_FOR_BASIC_CELL}`,a.state.get("actualTargetCount"),a.CLASS_BACKGROUND_ACTIVE_CELL,!1)}C.querySelectorAll(`.${a.TEMPORARY_CLASS}`).forEach(Y=>Y.classList.remove(a.TEMPORARY_CLASS))}if(k===F&&i){r=!1;const{isDirectionDOWN:G,isDirectionUP:J}=p();if(G){const Y=R-T;if(a.state.set("actualTargetCount",ro(L,R,F,T,k,!1)),Y<0){a.state.set("isDirectionDOWN",!1),r=!1,i=!1;return}C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(ae=>ae.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),nr(`.${a.CLASS_FOR_BASIC_CELL}`,a.state.get("actualTargetCount"),a.CLASS_BACKGROUND_ACTIVE_CELL,!0)}if(J){const Y=T-R;a.state.set("actualTargetCount",ro(L,T,k,R,F,!1)),Y<0&&(a.state.set("isDirectionUP",!1),r=!1,i=!1),C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(ae=>ae.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)),nr(`.${a.CLASS_FOR_BASIC_CELL}`,a.state.get("actualTargetCount"),a.CLASS_BACKGROUND_ACTIVE_CELL,!1)}C.querySelectorAll(`.${a.TEMPORARY_CLASS}`).forEach(Y=>Y.classList.remove(a.TEMPORARY_CLASS))}const oe=C.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`);v.classList.contains("remove-basic-cell")&&oe?.length>1&&(oe?.forEach(G=>{G.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)}),r=!1,i=!1)}}),ps(g,d,u,o,n);const b=l.closest("td");b.classList.add(a.CLASS_FOR_BASIC_CELL);function h(y){const E=y.target;!u.contains(E)&&!g.contains(E)&&(g.remove(),b&&(document.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`)?.forEach(S=>{S.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)}),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(S=>{S.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)}),b.classList.remove(a.CLASS_FOR_BASIC_CELL)),document.removeEventListener("click",h))}return document.addEventListener("click",h),!0}function ps(e,o,t,n,r){const i=ds;function l(y){const E=y.querySelector("ul"),S=y.getAttribute("data-open")==="true",v=n.target.closest("td")?.classList.contains(a.CLASS_FOR_BASIC_CELL),C=o.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`);v&&C?.length===0&&a.state.update({isDirectionUP:!1,isDirectionDOWN:!1,isDirectionLEFT:!1,isDirectionRIGHT:!1});const{isDirectionUP:L,isDirectionDOWN:w,isDirectionLEFT:T,isDirectionRIGHT:k}={isDirectionUP:a.state.get("isDirectionUP"),isDirectionDOWN:a.state.get("isDirectionDOWN"),isDirectionLEFT:a.state.get("isDirectionLEFT"),isDirectionRIGHT:a.state.get("isDirectionRIGHT")};i(L,w,T,k),e.querySelectorAll("[data-open]").forEach(D=>{D!==y&&D.getAttribute("data-open")==="true"&&(D.setAttribute("data-open","false"),D.querySelector("ul").style.display="none")}),S||(y.setAttribute("data-open","true"),E.style.display="block")}function s(y){const E=y.querySelector("ul");y.getAttribute("data-open")==="true"&&(y.setAttribute("data-open","false"),E.style.display="none")}function c(y){y.stopPropagation(),y.preventDefault();const E=y.target,S=E.closest("li"),v=S?.getAttribute("data-id"),C=S?.closest("tr"),L=S?.closest("td");C?.classList.add(a.CLASS_FOR_BASIC_ROW),L?.classList.add(a.CLASS_FOR_BASIC_CELL);const w=E.closest("table");if(!S||!w)return;const T=Bt(w),k=w.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).length;switch(v){case"add-bottom-row":{const M=Gn(T,a.CLASS_FOR_BASIC_CELL,!1);w.innerHTML=Se(M);break}case"add-top-row":{const M=Gn(T,a.CLASS_FOR_BASIC_CELL,!0);w.innerHTML=Se(M);break}case"remove-row":{const M=Ra(T,a.CLASS_FOR_BASIC_CELL);w.innerHTML=Se(M);break}case"merge-top-cell":{const M=k===0?Xn(T,a.CLASS_FOR_BASIC_CELL,!0,k+1):er(T,a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL);w.innerHTML=Se(M);break}case"merge-bottom-cell":{const M=k===0?Xn(T,a.CLASS_FOR_BASIC_CELL,!1,k+1):er(T,a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL);w.innerHTML=Se(M);break}case"split-horizontal-cell":{const M=Ia(T,a.CLASS_FOR_BASIC_CELL);w.innerHTML=Se(M);break}case"add-left-column":{const M=Yn(T,a.CLASS_FOR_BASIC_CELL,!0);w.innerHTML=Se(M);break}case"add-right-column":{const M=Yn(T,a.CLASS_FOR_BASIC_CELL,!1);w.innerHTML=Se(M);break}case"merge-right-cell":{const M=k===0?Kn(T,a.CLASS_FOR_BASIC_CELL,!1,k+1):Qn(T,a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL);w.innerHTML=Se(M);break}case"merge-left-cell":{const M=k===0?Kn(T,a.CLASS_FOR_BASIC_CELL,!0,k+1):Qn(T,a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL);w.innerHTML=Se(M);break}case"split-vertical-cell":{const M=Ha(T,a.CLASS_FOR_BASIC_CELL);w.innerHTML=Se(M);break}case"remove-column":{const M=Pa(T,a.CLASS_FOR_BASIC_CELL);w.innerHTML=Se(M);break}}const D=S.closest("ul");D.parentElement.setAttribute("data-open","false"),D.style.display="none",e.querySelectorAll('[data-open="true"]').forEach(M=>{M.setAttribute("data-open","false"),M.querySelector("ul").style.display="none"});const z=document.querySelector(`.${a.CLASS_FOR_BASIC_CELL}`),$=document.querySelector(".table-menu");z?.classList.remove(a.CLASS_FOR_BASIC_CELL),$?.remove(),document.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(M=>{M.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)}),us(r,w),a.commit()}function d(y){l(y.currentTarget)}function u(y){s(y.currentTarget)}const g=a.addElement({targetElement:e,insertType:"append",style:"cursor: pointer; flex: 1; margin: auto; padding-top: 2px;",className:"em-element-editor-widget-edit",HTMLcontent:rr,title:"Колонки"});g.setAttribute("data-open","false");const m=a.addElement({targetElement:g,insertType:"append",tag:"ul",style:a.styleMenuElement}),f={targetElement:m,insertType:"append",tag:"li",className:"em-element-editor-widget-group",style:a.styleMenuElementList};a.addElement({...f,HTMLcontent:rr,title:"",style:"padding: 3px; cursor: pointer; font-size: 14px; background-color: #E2DEDD; border-radius: 5px; margin: 1px; margin-top: -4px","data-id":"menu-item"}),a.addElement({...f,HTMLcontent:es,title:Ce().INSERT_COLUMN_BEFORE_TABLE,"data-id":"add-left-column"}),a.addElement({...f,HTMLcontent:ts,title:Ce().INSERT_COLUMN_AFTER_TABLE,"data-id":"add-right-column"}),a.addElement({...f,HTMLcontent:is,title:Ce().MERGE_RIGHT_CELL_TABLE,"data-id":"merge-right-cell"}),a.addElement({...f,HTMLcontent:os,title:Ce().MERGE_LEFT_CELL_TABLE,"data-id":"merge-left-cell"}),a.addElement({...f,HTMLcontent:cs,title:Ce().SPLIT_CELL_TABLE,"data-id":"split-vertical-cell"}),a.addElement({...f,HTMLcontent:lr,title:Ce().REMOVE_COLUMN_TABLE,"data-id":"remove-column"}),m.addEventListener("click",c),g.addEventListener("mouseenter",d),g.addEventListener("mouseleave",u);const p=a.addElement({targetElement:e,insertType:"append",style:"cursor: pointer; flex: 1; margin: auto; padding-top: 2px;",className:"em-element-editor-widget-clone",HTMLcontent:ir,title:"Строки"});p.setAttribute("data-open","false");const b=a.addElement({targetElement:p,insertType:"append",tag:"ul",style:a.styleMenuElement}),h={targetElement:b,insertType:"append",tag:"li",className:"em-element-editor-widget-group",style:a.styleMenuElementList};a.addElement({...h,HTMLcontent:ir,title:Ce().EDIT_ATOM||"Edit",style:"padding: 3px; cursor: pointer; font-size: 14px; background-color: #E2DEDD; border-radius: 5px; margin: 1px; margin-top: -4px"}),a.addElement({...h,HTMLcontent:ns,title:Ce().INSERT_ROW_BEFORE_TABLE,"data-id":"add-top-row"}),a.addElement({...h,HTMLcontent:rs,title:Ce().INSERT_ROW_AFTER_TABLE,"data-id":"add-bottom-row"}),a.addElement({...h,HTMLcontent:ls,title:Ce().MERGE_TOP_CELL_TABLE,"data-id":"merge-top-cell"}),a.addElement({...h,HTMLcontent:as,title:Ce().MERGE_BOTTOM_CELL_TABLE,"data-id":"merge-bottom-cell"}),a.addElement({...h,HTMLcontent:ss,title:Ce().SPLIT_CELL_TABLE,"data-id":"split-horizontal-cell"}),a.addElement({...h,HTMLcontent:lr,title:Ce().REMOVE_ROW_TABLE,"data-id":"remove-row"}),b.addEventListener("click",c),p.addEventListener("mouseenter",d),p.addEventListener("mouseleave",u)}function gs(e,o,t){const n=e.closest("div"),r=e.closest("em-replace");if(!r||!n||!t.isClickAtEndOfEmReplace(o,r))return!1;const i=`em-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;r.setAttribute("data-em-id",i);const l=t.getOrCreateAfterSpan(r),s=`temp-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;l.setAttribute("data-cursor-target",s),n.innerHTML=n.innerHTML;const c=n.querySelector(`[data-em-id="${i}"]`);if(c){c.removeAttribute("data-em-id");let d=c.nextElementSibling;(!d||!d.hasAttribute("data-cursor-target"))&&(d=n.querySelector(`[data-cursor-target="${s}"]`)),d&&(d.removeAttribute("data-cursor-target"),d.removeAttribute("style"),n.getAttribute("contenteditable")==="true"&&n.focus(),setTimeout(()=>{t.setCursorInsideSpan(d),t._wrapEditor(d,!0),t.commit()},10))}return t.commit(),!0}function bs(e,o){document.querySelectorAll("[em-optimise-error]").forEach(t=>{t.removeAttribute("em-optimise-error")}),document.querySelectorAll("img").forEach((t,n)=>{t.setAttribute("em-optimise",`image_${n}`)}),o.commit()}function hs(e,o){document.querySelectorAll("[em-optimise-error]").forEach(t=>{t.removeAttribute("em-optimise-error")}),document.querySelectorAll("a[href]").forEach((t,n)=>{t.setAttribute("em-optimise",`link_${n}`)}),o.commit()}function ys(e,o){const t=e.data.settings?.elementId;if(!t)return;const n=document.querySelector(`[em-optimise="${t}"]`);n&&(e.data.settings?.isError&&(n.setAttribute("em-optimise-error","true"),o.commit()),o.messageService.send({operation:"application_scroll-to",settings:{value:n.getBoundingClientRect().top+o.iframeOffsetTop-o.previewHeight/2}}),o.setCursorPosition(n),o.applicationElementSettingsSet({elem:n}))}function Es(e,o){const t=e.data.settings?.elementId;if(!t)return;const n=document.querySelector(`[em-optimise="${t}"]`);n&&(o.messageService.send({operation:"application_scroll-to",settings:{value:n.getBoundingClientRect().top+o.iframeOffsetTop-o.previewHeight/2}}),o.setCursorPosition(n),o.applicationElementSettingsSet({elem:n}),e.data.settings?.isError&&n.setAttribute("em-optimise-error","true"),o.commit())}var Ss={sandbox_set_attr_to_images:bs,sandbox_set_attr_to_links:hs,sandbox_set_position_to_img:ys,sandbox_set_position_to_link:Es},Cs="https://emcdn.ru/141965/231106_18_hwUXhU0.png";function io(e){e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.remove():e.elem.previousSibling&&io({elem:e.elem.previousSibling})}function lo(e){if(!e.elem)return!1;if(e.elem.parentElement?.tagName==="SECTION"||e.elem.classList.contains("em-narrow-table")&&Array.from(e.elem.childNodes).every(t=>t.nodeType===Node.TEXT_NODE))return e.elem.innerHTML="",!1;e.elem.querySelector(".em-element-editor")&&e.elem.querySelector(".em-element-editor")?.remove(),e.elem.querySelector(".em-element-path")&&e.elem.querySelectorAll(".em-element-path").forEach(t=>t.remove()),e.elem.querySelector(".em-element-block-add")&&e.elem.querySelectorAll(".em-element-block-add").forEach(t=>t.remove()),e.elem.querySelector(".em-vindent-paddingTop, .em-vindent-paddingRight, .em-vindent-paddingBottom, .em-vindent-paddingLeft")&&e.elem.querySelectorAll(".em-vindent-paddingTop, .em-vindent-paddingRight, .em-vindent-paddingBottom, .em-vindent-paddingLeft").forEach(t=>t.remove());const o=e.elem.parentElement;if(e.elem.classList.contains("em-mob-wrap")||e.elem.classList.contains("noresp-em-mob-wrap"))e.elem.innerHTML.trim()===""&&(e.elem.parentElement?.querySelectorAll(":scope > .em-mob-wrap, :scope > .noresp-em-mob-wrap").length>1?e.elem.innerHTML="":(e.elem.remove(),lo({elem:o})));else if(e.elem.innerHTML.trim()==="")io({elem:e.elem}),e.elem.remove(),lo({elem:o});else if(o&&!o.querySelector('div[style*="display"]')){for(const t of e.elem.childNodes)t.nodeName==="#text"&&t.textContent?.trim()===""?(io({elem:t}),t.textContent=""):t.nodeName==="#comment"&&t.textContent?.indexOf("mso")!==-1&&(io({elem:t}),t.remove());e.elem.innerHTML.trim()===""&&lo({elem:e.elem})}return!0}function vs(e){const o=document.querySelector("[em-edit]");if(!o)return;const t=e.getElementParent(o);let n=o.parentNode;const r=o.closest("editor");if(e.setCursorPosition(t),o.classList.contains("em-code")){const i=e.getVariableByIcon?.(o);i&&(i.parentNode?.removeChild(i),o.remove())}else if(o.tagName==="TD"&&o.innerHTML===""&&o.hasAttribute("height")){const i=o.closest("table");if(i){const l=i.previousSibling;l&&l?.textContent?.trim()===""&&l.remove(),i.remove()}}else if(o.closest(".em-element-resize-img-container"))n=o.closest(".em-element-resize-img-container").parentNode,o.closest("td")?.querySelector("editor")?.innerHTML===""&&o.closest("td")?.querySelector("editor")?.remove(),o.closest(".em-element-resize-img-container")?.remove();else if(o.closest('[em="atom"]')){const i=o.closest(".em-mob-wrap, .noresp-em-mob-wrap"),l=o.closest('[em="atom"]');o.tagName==="TD"&&o.previousElementSibling===null&&o.nextElementSibling===null?(n=l.parentNode,l?.remove()):(n=o.closest("td"),o.remove());const s=!!i&&Array.from(i.querySelectorAll('[em="atom"]')).some(c=>c!==l);o.tagName!=="TD"&&i&&!s&&i.textContent?.trim()===""&&(i.textContent="")}else{o.remove();const i=o.previousSibling;i&&i?.textContent?.trim()===""&&i.remove(),o.remove()}r&&r.remove(),lo({elem:n}),e.commit(),e.messageService.send({operation:"application_element_settings_close"})}function As(e,o){const t=document.querySelector("[em-edit]");if(t)if(e.action==="add_p"){let n=null;if(["DIV","P","TD","EDITOR","B","STRONG","SPAN","I","EM","A"].includes(t.tagName)){if(t.closest("div")?.style.fontFamily?n=t.closest("div"):t.closest("p")?.style.fontFamily?n=t.closest("p"):n=t,n&&o.HTMLDocument){const r=o.HTMLDocument.getOuterHtml(n);n.closest("table")?.getAttribute("em")==="atom"?n.closest("table")?.insertAdjacentHTML("afterend",`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding-bottom: 10px;">${r}</td></tr></table>`):n.insertAdjacentHTML("afterend",`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom"><tr><td style="padding-bottom: 10px;">${r}</td></tr></table>`)}o.commit()}o.setCursorPosition(t)}else if(e.action==="add_img"){if(window.getSelection){const n=document.createElement("img");n.setAttribute("src",Cs),n.setAttribute("width","28"),n.setAttribute("border","0"),n.setAttribute("alt",""),n.style.display="inline-block",n.style.verticalAlign="text-bottom";const r=window.getSelection();if(r?.getRangeAt&&r.rangeCount){const i=r.getRangeAt(0);i.deleteContents(),i.insertNode(n)}else document.querySelector("[em-edit]")?.prepend(n);o.commit()}}else(e.action==="typograf"||e.action==="typograf_all")&&Ts(e,o).catch(n=>{})}async function Ts(e,o){const{default:t}=await a.__vitePreload(async()=>{const{default:c}=await Promise.resolve().then(()=>Lo("./typograf.all.BbXdyfMT.js")).then(d=>d.typograf_all_exports);return{default:c}},void 0,{}.url);let n=document.querySelector("[em-edit]")?.closest("div")||document.querySelector("[em-edit]")?.closest("editor")||null;const r=e.action==="typograf"?n?.innerText:document.body.innerText,i=o.hasRussianText?.(r||"")??!1,l=new t({locale:[e.locale==="ru_RU"||i?"ru":"en-US"],htmlEntity:{type:"name",onlyInvisible:!0,list:["nbsp","shy","mdash","ndash","laquo","raquo"]}});l.disableRule("ru/punctuation/*"),l.disableRule("common/punctuation/*"),l.enableRule("common/punctuation/quote"),l.setSetting("common/punctuation/quote","ru",{left:"«",right:"»",removeDuplicateQuotes:!0}),l.setSetting("common/punctuation/quote","en-US",{left:'"',right:'"',removeDuplicateQuotes:!0}),l.disableRule("ru/dash/kakto"),l.disableRule("ru/dash/taki"),l.disableRule("ru/dash/izpod"),l.disableRule("ru/dash/izza"),l.disableRule("ru/dash/ka"),l.disableRule("ru/dash/to"),l.disableRule("ru/dash/koe"),l.disableRule("common/nbsp/nowrap"),l.disableRule("common/nbsp/dpi"),l.disableRule("common/nbsp/afterParagraphMark"),l.enableRule("common/nbsp/afterNumber"),l.disableRule("common/html/quot"),l.disableRule("ru/date/*"),l.disableRule("common/number/mathSigns"),l.disableRule("ru/number/ordinals"),l.disableRule("ru/number/comma"),l.disableRule("ru/symbols/NN"),l.disableRule("common/symbols/cf"),l.disableRule("ru/other/phone-number"),l.addSafeTag('<[^>]+class="preheader"[^>]*>',"</[^>]+>"),l.addSafeTag("<!--","-->");function s(c){let d=l.execute(c);return d=d.replace(/\b(\d{1,3}(?:[ \u00A0]\d{3})*(?:[.,]\d+)?)\b/g,function(u){return u.replace(/[ \u00A0]/g,"").replace(/\B(?=(\d{3})+(?!\d))/g," ")}),d=d.replace(/(\d[\d ]*[.,]?\d+)(?:\s| )?(?=(?:руб(?:\.|лей)?|р\.|долл(?:\.|аров)?|\$|₽|€|£|¥|USD|EUR|RUB))/gi,"$1 "),d=d.replace(/(\d[\d ]*[.,]?\d+) (руб(?:\.|лей)?|р\.|долл(?:\.|аров)?|\$|₽|€|£|¥|USD|EUR|RUB)/gi,"$1 $2"),d}if(e.action==="typograf_all"){const c=document.body;c&&(c.innerHTML=s(c.innerHTML))}else n?.parentElement&&(n=n.parentElement,n?.parentElement&&(n.parentElement.innerHTML=s(n.parentElement.innerHTML)));document.querySelectorAll(".em-element-resize-img-container").forEach(c=>c.replaceWith(...c.childNodes)),document.querySelectorAll(".em-element-img-change-group").forEach(c=>c.remove()),document.querySelectorAll("editor").forEach(c=>c.replaceWith(...c.childNodes)),o.commit()}function ar(e){return e?e.nodeType===Node.ELEMENT_NODE?e:e.parentElement:null}function Uo(e){if(!e||e.tagName!=="A")return!1;const o=e.getAttribute("style");if(!o||!o.includes("display"))return!1;const t=e.style.display;return!(t!=="block"&&t!=="inline-block"||o.includes("mso-style-priority"))}function Ls(e,o){const t=e.closest("a");if(Uo(t))return t;if(!o)return null;const n=ar(o.anchorNode)?.closest("a")??null;if(Uo(n))return n;const r=ar(o.focusNode)?.closest("a")??null;return Uo(r)?r:null}function sr(e){return e.tagName==="IMG"?e.closest('div[em="atom"]')||e.closest(".em-element-resize-img-container")||e:e.closest("editor")?e.closest('[style*="font-family"][style*="font-size"]')||e:e.tagName==="TD"&&e.classList.contains("em-vindent")?e.closest(".em-vindent-table")||e:e.tagName==="TD"&&e.parentElement?.getAttribute("em")==="block"?e.parentElement:e}function cr(e){return e?e.classList.contains("em-vindent-table")?e.querySelector("td"):e.classList.contains("em-element-resize-img-container")?e.querySelector("img"):e.tagName==="TR"&&e.getAttribute("em")==="block"?e.firstElementChild:e:null}function ws(e){const o=document.querySelector("[em-edit]");if(!o)return;const t=window.getSelection();if(Ls(o,t)&&t&&!t.isCollapsed)try{t.collapseToEnd()}catch{}const n=e.getElementParent(o);n instanceof Element&&(e.setCursorPosition(n),e.applicationElementSettingsSet({elem:n}))}function ks(e){const o=document.querySelector("[em-edit]");if(!o)return;const t=cr(sr(o).previousElementSibling);t&&(e.setCursorPosition(t),e.applicationElementSettingsSet({elem:t}))}function _s(e){const o=document.querySelector("[em-edit]");if(!o)return;const t=cr(sr(o).nextElementSibling);t&&(e.setCursorPosition(t),e.applicationElementSettingsSet({elem:t}))}function Ns(e,o){o.removeAllAttributes("em-edit");const t=document.querySelector(".em-editor-wrapper");t&&(t.style.display="none"),document.querySelectorAll("editor").forEach(n=>{n.blur()})}function Bs(e,o){const t=o.elementPath[e.data.index??0];if(t?.elem){const n=t.elem;o.applicationElementSettingsSet({elem:n}),o.setCursorPosition(n)}}function Ms(e,o){o.removeAllAttributes("em-state");const t=o.elementPath[e.data.index??0];t?.elem&&t.elem.setAttribute("em-state","active")}function Rs(e,o){if(!o.getElementParent)return;const t={setCursorPosition:o.setCursorPosition,getElementParent:o.getElementParent,applicationElementSettingsSet:o.applicationElementSettingsSet};ws(t)}function Ps(e,o){if(!o.getElementParent)return;const t={setCursorPosition:o.setCursorPosition,getElementParent:o.getElementParent,applicationElementSettingsSet:o.applicationElementSettingsSet};ks(t)}function Hs(e,o){if(!o.getElementParent)return;const t={setCursorPosition:o.setCursorPosition,getElementParent:o.getElementParent,applicationElementSettingsSet:o.applicationElementSettingsSet};_s(t)}function Is(e,o){if(!o.getElementParent||!o.state)return;const t={state:o.state,commit:o.commit,setCursorPosition:o.setCursorPosition,getElementParent:o.getElementParent,messageService:o.messageService,getVariableByIcon:o.getVariableByIcon};vs(t)}function Os(e,o){if(!o.getElementParent||!o.state)return;const t={action:e.data.action,locale:e.data.locale},n={state:o.state,commit:o.commit,setCursorPosition:o.setCursorPosition,getElementParent:o.getElementParent,messageService:o.messageService,HTMLDocument:o.HTMLDocument,hasRussianText:o.hasRussianText};As(t,n)}var xs={sandbox_element_active_reset:Ns,sandbox_element_active_set:Bs,sandbox_element_hover_set:Ms,sandbox_element_parent_get:Rs,sandbox_element_prev_get:Ps,sandbox_element_next_get:Hs,sandbox_element_remove:Is,sandbox_element_text:Os};function Ds(e,o){e.data.data?(a.state.set("lockEdit",!0),document.body.classList.add("mceNonEditable"),document.querySelectorAll("editor").forEach(t=>{t.setAttribute("contenteditable","false")})):(a.state.set("lockEdit",!1),document.body.classList.remove("mceNonEditable"),document.querySelectorAll("editor").forEach(t=>{t.setAttribute("contenteditable","true")}))}function Fs(e,o){o.setEditorFocus(e.data.data)}var qs={sandbox_lock_edit:Ds,editor_change_focus:Fs};function Ws(e,o){document.querySelectorAll("[em-optimise-error]").forEach(t=>{t.removeAttribute("em-optimise-error")}),document.querySelectorAll("img").forEach((t,n)=>{t.setAttribute("em-optimise",`image_${n}`)}),o.commit()}function $s(e,o){document.querySelectorAll("[em-optimise-error]").forEach(t=>{t.removeAttribute("em-optimise-error")}),document.querySelectorAll("a[href]").forEach((t,n)=>{t.setAttribute("em-optimise",`link_${n}`)}),o.commit()}function zs(e,o){const t=document.querySelector(`[em-optimise="${e.data.settings.elementId}"]`);t&&(e.data.settings.isError&&(t.setAttribute("em-optimise-error","true"),o.commit()),o.messageService.send({operation:"application_scroll-to",settings:{value:t.getBoundingClientRect().top+o.iframeOffsetTop-o.previewHeight/2}}),o.setCursorPosition(t),o.applicationElementSettingsSet({elem:t}))}function Vs(e,o){const t=document.querySelector(`[em-optimise="${e.data.settings.elementId}"]`);t&&(o.messageService.send({operation:"application_scroll-to",settings:{value:t.getBoundingClientRect().top+o.iframeOffsetTop-o.previewHeight/2}}),o.setCursorPosition(t),o.applicationElementSettingsSet({elem:t}),e.data.settings.isError&&t.setAttribute("em-optimise-error","true"),o.commit())}var Us={sandbox_set_attr_to_images:Ws,sandbox_set_attr_to_links:$s,sandbox_set_position_to_img:zs,sandbox_set_position_to_link:Vs};function js(e){const o="d62ebebc";let t=document.getElementsByTagName("head")[0];!t&&document.documentElement&&(t=document.createElement("head"),document.documentElement.insertBefore(t,document.documentElement.firstChild));const n=`css/sandbox-${e}.css?${o}`,r=`css/sandbox-${e==="light"?"dark":"light"}.css?${o}`,i=document.querySelectorAll(`[href="${r}"]`),l=document.createElement("link");l.setAttribute("rel","stylesheet"),l.setAttribute("type","text/css"),l.setAttribute("em","css"),l.setAttribute("href",n),t?.appendChild(l);for(const s of i)s.remove()}function Gs(e,o){o.initPreview(!0)}function Ys(e,o){const t=e.data;t.theme&&(a.state.set("applicationTheme",t.theme),js(t.theme),a.commit(!1)),t.commonStyles&&o.setCommonStyles(t.commonStyles),typeof t.copyPasteEnabled<"u"&&a.state.set("copyPasteEnabled",t.copyPasteEnabled),typeof t.saveBlockEnabled<"u"&&a.state.set("saveBlockEnabled",t.saveBlockEnabled),typeof t.editImageControlEnabled<"u"&&a.state.set("editImageControlEnabled",t.editImageControlEnabled),typeof t.elementAIimageEnabled<"u"&&a.state.set("elementAIimageEnabled",t.elementAIimageEnabled),typeof t.imageCenterStockEnabled<"u"&&a.state.set("imageCenterStockEnabled",t.imageCenterStockEnabled),typeof t.imageCenterGifEnabled<"u"&&a.state.set("imageCenterGifEnabled",t.imageCenterGifEnabled),typeof t.imageCenterEditorEnabled<"u"&&a.state.set("imageCenterEditorEnabled",t.imageCenterEditorEnabled),typeof t.blocksAddPanelEnabled<"u"&&a.state.set("blocksAddPanelEnabled",t.blocksAddPanelEnabled),typeof t.lockEditor<"u"&&a.state.set("lockEditor",t.lockEditor),typeof t.codeMode<"u"&&a.state.set("codeMode",t.codeMode),typeof t.appName<"u"&&a.state.set("appName",t.appName),typeof t.previewPage<"u"&&(a.state.set("previewPage",t.previewPage),document.body?.classList.toggle("em-sandbox-preview",t.previewPage))}function Ks(e){const o=e.data?.data?.theme;(o==="light"||o==="dark")&&a.darkMode.set(o)}var Xs={init_preview:Gs,update_preview:Ys,sandbox_switch_theme:Ks},Be=".em-mob-wrap, .noresp-em-mob-wrap",pe=".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)",ce='div[style*="inline-block"]';function ot(e){e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.textContent=e.elem.textContent.replaceAll(/width=".*"/gi,'width="'+e.width+'"'):e.elem.previousSibling&&ot({elem:e.elem.previousSibling,width:e.width})}function dr(e){const o=e.removedBlockIndex===0?"nextSibling":"previousSibling";e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.remove():e.elem[o]&&dr({elem:e.elem[o],removedBlockIndex:e.removedBlockIndex})}function ao(e){return!!e.querySelector(Be)||!!e.closest(Be)}function Mt(e){return e.querySelector(Be)?document.querySelector('[em-edit="active"]'):e.closest(Be).parentElement}function so(e){return e.querySelector(ce)?document.querySelector('[em-edit="active"]'):e.closest(ce).parentElement}function Zs(e,o){const t=document.querySelector("[em-edit]");if(t)try{if(o.state.increment("activeElementLocked"),ao(t)){const n=Mt(t),r=e.minWidth,i=n.querySelectorAll(pe).length,l=i>1?parseFloat(String(e.gap)):20,s=i>1?parseFloat(String(e.gapMobile||e.gap)):20;let c="";n.querySelector(".em-mob-wrap")?c=`<td width="${l}" class="em-mob-wrap em-mob-height-${s}px"></td>
|
|
149
149
|
<td width="${r}" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>`:n.querySelector(".noresp-em-mob-wrap")&&(c=`<td width="${l}" class="noresp-em-mob-wrap noresp-em-mob-height-${s}px"></td>
|
|
150
|
-
<td width="${r}" valign="top" class="noresp-em-mob-wrap em-mob-width-100perc"></td>`);let d=0,u=0,
|
|
150
|
+
<td width="${r}" valign="top" class="noresp-em-mob-wrap em-mob-width-100perc"></td>`);let d=0,u=0,g=0;n.querySelectorAll(pe).forEach(f=>{parseFloat(f.getAttribute("width")||"0")>r&&g++,d+=parseFloat(f.getAttribute("width")||"0")});const m=(r+l)/g;if(n.querySelectorAll(pe).forEach(f=>{if(parseFloat(f.getAttribute("width")||"0")>r){const p=Math.round(parseFloat(f.getAttribute("width")||"0")-m);f.setAttribute("width",String(p))}}),n.querySelectorAll(pe)[i-1].insertAdjacentHTML("afterend",c),n.querySelectorAll(pe).forEach(f=>{u+=parseFloat(f.getAttribute("width")||"0")}),d-u-l!==0){const f=n.querySelector(Be),p=parseFloat(f.getAttribute("width")||"0")+(d-u-l);f.setAttribute("width",String(p))}o.setPercentsForColumns(n.querySelectorAll(pe)),o.commit()}else{const n=so(t),r=e.minWidth,i=n.querySelectorAll(ce).length,l=i>1?parseFloat(String(e.gap)):20,s='<!--[if (gte mso 9)|(IE)]></td><td width="'+(r+l)+`" valign="top"><![endif]-->
|
|
151
151
|
<div style="display: inline-block; width: `+(r+l)+`px; vertical-align: top;" class="em-mob-width-100perc">
|
|
152
152
|
<table width="`+r+`" border="0" cellspacing="0" cellpadding="0" class="em-mob-width-91perc">
|
|
153
153
|
<tr>
|
|
@@ -155,18 +155,18 @@ __useblocks__.define("js/iframe.js",["require","exports","module","js/rolldown-r
|
|
|
155
155
|
</tr>
|
|
156
156
|
</table>
|
|
157
157
|
<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td height="20"></td></tr></table>
|
|
158
|
-
</div>`;let c=0,d=0,u=0;if(i===1){const m=t.querySelector(ce)?n.querySelector(ce):t.closest(ce);m.style.removeProperty("max-width"),m.firstElementChild?.style.removeProperty("max-width"),m.firstElementChild?.style.removeProperty("width")}n.querySelectorAll(ce).forEach(m=>{const f=parseFloat(m.firstElementChild?.getAttribute("width")||"0");f>r&&u++,c+=f});const
|
|
159
|
-
`;s.insertAdjacentHTML("afterend",c+ur(s)),l.querySelectorAll(ce).forEach((d,u)=>{const
|
|
158
|
+
</div>`;let c=0,d=0,u=0;if(i===1){const m=t.querySelector(ce)?n.querySelector(ce):t.closest(ce);m.style.removeProperty("max-width"),m.firstElementChild?.style.removeProperty("max-width"),m.firstElementChild?.style.removeProperty("width")}n.querySelectorAll(ce).forEach(m=>{const f=parseFloat(m.firstElementChild?.getAttribute("width")||"0");f>r&&u++,c+=f});const g=(r+l)/u;if(n.querySelectorAll(ce).forEach(m=>{const f=m;if(parseFloat(f.firstElementChild?.getAttribute("width")||"0")>r){const p=Math.round(parseFloat(f.style.width)-g),b=p-l;f.style.width=p+"px",ot({elem:f,width:p}),f.firstElementChild?.tagName==="TABLE"&&f.firstElementChild.setAttribute("width",String(b))}}),n.querySelectorAll(ce)[i-1].insertAdjacentHTML("afterend",s),n.querySelectorAll(ce).forEach(m=>{d+=parseFloat(m.firstElementChild?.getAttribute("width")||"0")}),c-d-l!==0){const m=n.querySelector(ce),f=parseFloat(m.style.width)+(c-d-l);m.style.width=f+"px",ot({elem:m,width:f}),m.firstElementChild?.tagName==="TABLE"&&m.firstElementChild.setAttribute("width",String(f-l))}o.commit()}}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function Js(e,o){const t=document.querySelector("[em-edit]");if(!t)return;let n=null;try{if(o.state.increment("activeElementLocked"),ao(t)){const r=Mt(t);let i=0;const l=parseFloat(String(e.gap));r.querySelectorAll(pe).forEach((d,u)=>{u===e.removedBlockIndex&&(i=parseFloat(d.getAttribute("width")||"0"),d===t.closest(Be)&&(t.closest(".em-structure > td")?.setAttribute("em-edit","active"),n=t.closest(".em-structure > td")),d.nextElementSibling&&d.previousElementSibling?d.previousElementSibling.remove():d.nextElementSibling&&!d.previousElementSibling?d.nextElementSibling.remove():!d.nextElementSibling&&d.previousElementSibling&&d.previousElementSibling.remove(),d.remove())});const s=r.querySelectorAll(pe).length,c=Math.floor((i+l)/s);if(r.querySelectorAll(pe).forEach(d=>{const u=Math.round(parseFloat(d.getAttribute("width")||"0")+c);d.setAttribute("width",String(u))}),s===1){const d=r.querySelector(Be),u=d.closest("table").parentElement;d.setAttribute("width",String(u.getBoundingClientRect().width-parseFloat(u.style.paddingLeft||"0")-parseFloat(u.style.paddingRight||"0")))}o.setPercentsForColumns(r.querySelectorAll(pe))}else{const r=so(t);let i=0;const l=parseFloat(String(e.gap));r.querySelectorAll(ce).forEach((d,u)=>{u===e.removedBlockIndex&&(i=parseFloat(d.style.width),d===t.closest(ce)&&t.closest(".em-structure > td")?.setAttribute("em-edit","active"),dr({elem:d,removedBlockIndex:e.removedBlockIndex}),d.remove())});const s=r.querySelectorAll(ce).length,c=Math.round(i/s);if(r.querySelectorAll(ce).forEach(d=>{const u=d,g=Math.round(parseFloat(u.style.width)+c),m=g-l;u.style.width=g+"px",ot({elem:u,width:g}),u.firstElementChild?.tagName==="TABLE"&&u.firstElementChild.setAttribute("width",String(m))}),s===1){const d=r.querySelector(ce);d.style.width="100%",d.style.maxWidth=r.closest("table")?.style.maxWidth||"",ot({elem:d,width:r.closest("table")?.style.maxWidth||""}),d.firstElementChild.style.width="91%",d.firstElementChild.style.maxWidth=parseFloat(d.firstElementChild?.getAttribute("width")||"0")+"px"}}}finally{o.commit(),Promise.resolve().then(()=>{o.state.decrement("activeElementLocked"),n&&o.applicationElementSettingsSet&&o.applicationElementSettingsSet({elem:n})})}}function mr(e,o){const t=document.createComment("em-swap");e.replaceWith(t),o.replaceWith(e),t.replaceWith(o)}function ur(e){const o=e.cloneNode(!0);return o.querySelectorAll("editor").forEach(t=>{t.replaceWith(...Array.from(t.childNodes))}),o.querySelectorAll("[em-edit]").forEach(t=>t.removeAttribute("em-edit")),o.hasAttribute("em-edit")&&o.removeAttribute("em-edit"),o.querySelectorAll("[em-temp]").forEach(t=>t.remove()),a.serializeOuterHtml(o)}function Qs(e,o){const t=document.querySelector("[em-edit]");if(!t)return;const{copiedBlockIndex:n,widths:r}=e,i=parseFloat(String(e.gap))||0;try{if(o.state.increment("activeElementLocked"),ao(t)){const l=Mt(t),s=l.querySelectorAll(pe)[n];if(!s)return;const c=s.nextElementSibling||s.previousElementSibling,d=c?a.serializeOuterHtml(c):l.querySelector(".noresp-em-mob-wrap")?`<td width="${i}" class="noresp-em-mob-wrap noresp-em-mob-height-${i}px"></td>`:`<td width="${i}" class="em-mob-wrap em-mob-height-${i}px"></td>`;s.insertAdjacentHTML("afterend",d+ur(s));const u=l.querySelectorAll(pe);u.forEach((g,m)=>{r[m]!=null&&g.setAttribute("width",String(r[m]))}),o.setPercentsForColumns(u),o.commit()}else{const l=so(t),s=l.querySelectorAll(ce)[n];if(!s)return;const c='<!--[if (gte mso 9)|(IE)]></td><td width="'+((r[n+1]??r[n]??0)+i)+`" valign="top"><![endif]-->
|
|
159
|
+
`;s.insertAdjacentHTML("afterend",c+ur(s)),l.querySelectorAll(ce).forEach((d,u)=>{const g=d,m=r[u];if(m==null)return;const f=m+i;g.style.width=f+"px",ot({elem:g,width:f}),g.firstElementChild?.tagName==="TABLE"&&g.firstElementChild.setAttribute("width",String(m))}),o.commit()}}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function ec(e,o){const t=document.querySelector("[em-edit]");if(!t)return;const{indexA:n,indexB:r}=e;if(n!==r)try{if(o.state.increment("activeElementLocked"),ao(t)){const i=Mt(t),l=i.querySelectorAll(pe),s=l[n],c=l[r];if(!s||!c)return;mr(s,c),o.setPercentsForColumns(i.querySelectorAll(pe)),o.commit()}else{const i=so(t).querySelectorAll(ce),l=i[n],s=i[r];if(!l||!s)return;mr(l,s),[l,s].forEach(c=>{ot({elem:c,width:parseFloat(c.style.width)})}),o.commit()}}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function tc(e,o){try{o.state.increment("activeElementLocked");const t=document.querySelector("[em-edit]");if(!t)return;const n=Mt(t);if(e.wrap)n.querySelectorAll(Be).forEach((r,i)=>{r.classList.remove("em-mob-wrap-cancel"),i%2===0&&(r.classList.forEach(l=>l.startsWith("em-mob-width-")&&r.classList.remove(l)),r.classList.add("em-mob-width-100perc"))});else{const r=n.querySelectorAll(pe).length,i=Math.round(100/r)-2;n.querySelectorAll(Be).forEach((s,c)=>{s.classList.add("em-mob-wrap-cancel"),s.classList.remove("em-mob-width-100perc"),c%2===0&&s.classList.add("em-mob-width-"+i+"perc")});const l=o.emailWidth||660;document.querySelector('style[em="styles"]')?.insertAdjacentHTML("beforeend",`
|
|
160
160
|
@media only screen and (max-device-width:${l}px),only screen and (max-width:${l}px) {
|
|
161
161
|
.em-mob-wrap.em-mob-wrap-cancel, .noresp-em-mob-wrap.em-mob-wrap-cancel { display: table-cell !important; }
|
|
162
162
|
.em-mob-width-${i}perc { width: ${i}% !important; }
|
|
163
163
|
}
|
|
164
|
-
`)}o.commit()}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function oc(e,o){try{o.state.increment("activeElementLocked");const t=document.querySelector("[em-edit]");if(!t)return;const n=t.querySelector(Be)?document.querySelector('[em-edit="active"]'):t.closest(Be)?.parentElement?.closest("td");if(!n)return;e.dirRevert?(n.setAttribute("dir","rtl"),n.querySelectorAll("td").forEach(r=>{for(let i=r.firstChild;i;i=i.nextSibling)if(i.nodeType===3){i.parentNode?.setAttribute("dir","ltr");break}})):(n.removeAttribute("dir"),n.querySelectorAll("[dir]").forEach(r=>r.removeAttribute("dir"))),o.commit()}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function mt(e){return{state:e.state,commit:e.commit,setPercentsForColumns:e.setPercentsForColumns,emailWidth:e.emailWidth,applicationElementSettingsSet:e.applicationElementSettingsSet}}function nc(e,o){!o.state||!o.setPercentsForColumns||Zs(e.data.settings,mt(o))}function rc(e,o){!o.state||!o.setPercentsForColumns||Js(e.data.settings,mt(o))}function ic(e,o){!o.state||!o.setPercentsForColumns||Qs(e.data.settings,mt(o))}function lc(e,o){!o.state||!o.setPercentsForColumns||ec(e.data.settings,mt(o))}function ac(e,o){!o.state||!o.setPercentsForColumns||tc(e.data.settings,mt(o))}function sc(e,o){!o.state||!o.setPercentsForColumns||oc(e.data.settings,mt(o))}var cc={sandbox_floatBlock_add:nc,sandbox_floatBlock_remove:rc,sandbox_floatBlock_copy:ic,sandbox_floatBlock_swap:lc,sandbox_floatblock_wrap:ac,sandbox_floatblock_dir:sc};function dc(e,o){try{o.state.increment("activeElementLocked");const t=o.getActiveEditElement();if(!t)return;const n=t.closest("amp-accordion");if(!n)return;const r=o.HTMLDocument.getOuterHtml(n),i=o.parseFromString(r)[0];if(!i)return;const l=i.querySelector("section");if(!l)return;const s=l.cloneNode(!0),c=s.querySelector(":scope > header td div");if(c){const u=Array.from(c.childNodes).find(
|
|
164
|
+
`)}o.commit()}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function oc(e,o){try{o.state.increment("activeElementLocked");const t=document.querySelector("[em-edit]");if(!t)return;const n=t.querySelector(Be)?document.querySelector('[em-edit="active"]'):t.closest(Be)?.parentElement?.closest("td");if(!n)return;e.dirRevert?(n.setAttribute("dir","rtl"),n.querySelectorAll("td").forEach(r=>{for(let i=r.firstChild;i;i=i.nextSibling)if(i.nodeType===3){i.parentNode?.setAttribute("dir","ltr");break}})):(n.removeAttribute("dir"),n.querySelectorAll("[dir]").forEach(r=>r.removeAttribute("dir"))),o.commit()}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function mt(e){return{state:e.state,commit:e.commit,setPercentsForColumns:e.setPercentsForColumns,emailWidth:e.emailWidth,applicationElementSettingsSet:e.applicationElementSettingsSet}}function nc(e,o){!o.state||!o.setPercentsForColumns||Zs(e.data.settings,mt(o))}function rc(e,o){!o.state||!o.setPercentsForColumns||Js(e.data.settings,mt(o))}function ic(e,o){!o.state||!o.setPercentsForColumns||Qs(e.data.settings,mt(o))}function lc(e,o){!o.state||!o.setPercentsForColumns||ec(e.data.settings,mt(o))}function ac(e,o){!o.state||!o.setPercentsForColumns||tc(e.data.settings,mt(o))}function sc(e,o){!o.state||!o.setPercentsForColumns||oc(e.data.settings,mt(o))}var cc={sandbox_floatBlock_add:nc,sandbox_floatBlock_remove:rc,sandbox_floatBlock_copy:ic,sandbox_floatBlock_swap:lc,sandbox_floatblock_wrap:ac,sandbox_floatblock_dir:sc};function dc(e,o){try{o.state.increment("activeElementLocked");const t=o.getActiveEditElement();if(!t)return;const n=t.closest("amp-accordion");if(!n)return;const r=o.HTMLDocument.getOuterHtml(n),i=o.parseFromString(r)[0];if(!i)return;const l=i.querySelector("section");if(!l)return;const s=l.cloneNode(!0),c=s.querySelector(":scope > header td div");if(c){const u=Array.from(c.childNodes).find(g=>g.nodeType===Node.TEXT_NODE);u&&(u.nodeValue=e.section)}const d=s.querySelector(":scope > div");d&&(d.innerHTML=`<table cellpadding="0" cellspacing="0" border="0" width="100%" em="atom">
|
|
165
165
|
<tr>
|
|
166
166
|
<td style="padding: 10px 0;">
|
|
167
167
|
<div style="font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 21px; color: #5a5a5a;">${e.text}</div>
|
|
168
168
|
</td>
|
|
169
|
-
</tr></table>`),i.append(s),i.setAttribute("em-edit","active"),n.replaceWith(i),o.commit(!0)}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function mc(e,o){try{o.state.increment("activeElementLocked");const t=o.getActiveEditElement();if(!t)return;const n=t.closest("amp-accordion");if(!n)return;const r=o.HTMLDocument.getOuterHtml(n),i=o.parseFromString(r)[0];if(!i)return;const l=i.querySelectorAll("section");l[e.index]&&l[e.index].remove(),i.setAttribute("em-edit","active"),n.replaceWith(i),o.commit(!0)}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function fr(e){return{state:e.state,commit:e.commit,getActiveEditElement:e.getActiveEditElement,HTMLDocument:e.HTMLDocument,parseFromString:e.parseFromString}}function uc(e,o){!o.state||!o.HTMLDocument||!o.getActiveEditElement||!o.parseFromString||dc(e.data.settings,fr(o))}function fc(e,o){!o.state||!o.HTMLDocument||!o.getActiveEditElement||!o.parseFromString||mc(e.data.settings,fr(o))}var pc={sandbox_accordion_add_section:uc,sandbox_accordion_remove_section:fc};function gc(e,o){const t=e.data.settings?.emBlockId;if(t==null||t==="")return;const n=e.data.settings?.emBlockVersion;let r=a.takeEblockRootSavedToProject()??null;r||(r=(document.querySelector('[em-edit="active"]')||document.querySelector(".em-element-editor"))?.closest?.('[em="block"]')??document.querySelector('[em="block"]')),r&&(r.setAttribute("em-block-id",String(t)),n!=null&&n!==""&&r.setAttribute("em-block-version",String(n)),o.commit())}var bc={sandbox_eblock_set_em_block_id:gc},pr={...Ss,...xs,...a.discuss_default,...qs,...a.display_default,...Us,...Xs,...cc,...pc,...bc};function hc(e){return e in pr}function yc(e){return pr[e]}var gr=0,br=0,hr=600,yr=[],Er=!1,Sr=null,Cr=null,vr=null,Ar=null,Tr=null,Lr=null,wr=null,kr=null,_r=null;function Ec(e){Sr=e}function Sc(e){Cr=e}function Cc(e){vr=e}function vc(e){Ar=e}function Ac(e){Tr=e}function Tc(e){Lr=e}function Lc(e){wr=e}function wc(e){kr=e}var Nr=null;function kc(e){Nr=e}var Br=null,Mr=null;function _c(e){Br=e}function Nc(e){Mr=e}function Bc(e){_r=e}function Mc(){return{commit:a.commit,commitLockedAsync:a.commitLockedAsync,removeAllAttributes:a.removeAllAttributes,applicationElementSettingsSet:e=>{(_r??bl)(e)},setCursorPosition:Sr||(()=>{}),setEditorFocus:a.setEditorFocus,messageService:a.messageService,iframeOffsetTop:gr,previewHeight:br,emailWidth:hr,elementPath:yr,lockEdit:Er,initPreview:Cr||(()=>{}),setCommonStyles:vr||(()=>{}),getElementParent:Ar||void 0,getVariableByIcon:Tr||void 0,hasRussianText:Lr||void 0,HTMLDocument:wr||void 0,state:kr||void 0,setPercentsForColumns:Nr||void 0,getActiveEditElement:Br||void 0,parseFromString:Mr||void 0}}function Rc(e){e.iframeOffsetTop!==void 0&&(gr=e.iframeOffsetTop),e.previewHeight!==void 0&&(br=e.previewHeight),e.emailWidth!==void 0&&(hr=e.emailWidth),e.elementPath!==void 0&&(yr=e.elementPath),e.lockEdit!==void 0&&(Er=e.lockEdit)}function Pc(e){const o=e.data?.operation;if(o&&hc(o)){const t=yc(o);if(t)try{t(e,Mc())}catch{}}}function Hc(){a.messageService.addListener(Pc)}var Ic=xi.__commonJSMin(((e,o)=>{(function(t){if(typeof window<"u"){var n=!0,r=10,i="",l=0,s="",c=null,d="",u=!1,p={resize:1,click:1},m=128,f=!0,g=1,b="bodyOffset",h=b,y=!0,E="",S={},v=32,C=null,L=!1,w=!1,T="[iFrameSizer]",k=T.length,D="",z={max:1,min:1,bodyScroll:1,documentElementScroll:1},$="child",M=!0,H=window.parent,P="*",Z=0,R=!1,F=null,ie=16,O=1,B="scroll",ee=B,oe=window,G=function(){Me("onMessage function not defined")},J=function(){},Y=function(){},ae={height:function(){return Me("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return Me("Custom width calculation function not defined"),document.body.scrollWidth}},ge={},Co=!1;try{var qe=Object.create({},{passive:{get:function(){Co=!0}}});window.addEventListener("test",Ut,qe),window.removeEventListener("test",Ut,qe)}catch{}var Ae,Te,se,Vt,Le,Ze,ue={bodyOffset:function(){return document.body.offsetHeight+fe("marginTop")+fe("marginBottom")},offset:function(){return ue.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return ae.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,St(ue))},min:function(){return Math.min.apply(null,St(ue))},grow:function(){return ue.max()},lowestElement:function(){return Math.max(ue.bodyOffset()||ue.documentElementOffset(),Gt("bottom",Pe()))},taggedElement:function(){return Je("bottom","data-iframe-height")}},We={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return ae.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(We.bodyScroll(),We.documentElementScroll())},max:function(){return Math.max.apply(null,St(We))},min:function(){return Math.min.apply(null,St(We))},rightMostElement:function(){return Gt("right",Pe())},taggedElement:function(){return Je("right","data-iframe-width")}},vo=(Ae=Mi,Le=null,Ze=0,function(){var A=Date.now(),_=ie-(A-(Ze=Ze||A));return Te=this,se=arguments,_<=0||ie<_?(Le&&(clearTimeout(Le),Le=null),Ze=A,Vt=Ae.apply(Te,se),Le||(Te=se=null)):Le=Le||setTimeout(vg,_),Vt});$e(window,"message",function(A){var _={init:function(){E=A.data,H=A.source,To(),f=!1,setTimeout(function(){y=!1},m)},reset:function(){y?W("Page reset ignored by init"):(W("Page size reset by host page"),Pi("resetPage"))},resize:function(){st("resizeParent","Parent window requested size check")},moveToAnchor:function(){S.findTarget(X())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var Q=X();W("PageInfoFromParent called from parent: "+Q),Y(JSON.parse(Q)),W(" --")},message:function(){var Q=X();W("onMessage called from parent: "+Q),G(JSON.parse(Q)),W(" --")}};function U(){return A.data.split("]")[1].split(":")[0]}function X(){return A.data.substr(A.data.indexOf(":")+1)}function I(){return A.data.split(":")[2]in{true:1,false:1}}function x(){var Q=U();Q in _?_[Q]():(typeof o>"u"||!o.exports)&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||I()||Me("Unexpected message ("+A.data+")")}T===(""+A.data).substr(0,k)&&(f===!1?x():I()?_.init():W('Ignored message of type "'+U()+'". Received before initialization.'))}),$e(window,"readystatechange",Ii),Ii()}function Ut(){}function $e(A,_,U,X){A.addEventListener(_,U,!!Co&&(X||{}))}function jt(A){return A.charAt(0).toUpperCase()+A.slice(1)}function Ao(A){return T+"["+D+"] "+A}function W(A){L&&window.console}function Me(A){window.console}function To(){function A(I){return I==="true"}var _;function U(I){_e(0,0,I.type,I.screenY+":"+I.screenX)}function X(I,x){W("Add event listener: "+x),$e(window.document,I,U)}_=E.substr(k).split(":"),D=_[0],l=t!==_[1]?Number(_[1]):l,u=t!==_[2]?A(_[2]):u,L=t!==_[3]?A(_[3]):L,v=t!==_[4]?Number(_[4]):v,n=t!==_[6]?A(_[6]):n,s=_[7],h=t!==_[8]?_[8]:h,i=_[9],d=_[10],Z=t!==_[11]?Number(_[11]):Z,S.enable=t!==_[12]&&A(_[12]),$=t!==_[13]?_[13]:$,ee=t!==_[14]?_[14]:ee,w=t!==_[15]?!!_[15]:w,W("Initialising iFrame ("+window.location.href+")"),(function(){function I(x,Q){return typeof x=="function"&&(W("Setup custom "+Q+"CalcMethod"),ae[Q]=x,x="custom"),x}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&((function(){var x=window.iFrameResizer;W("Reading data from page: "+JSON.stringify(x)),Object.keys(x).forEach(N,x),G="onMessage"in x?x.onMessage:G,J="onReady"in x?x.onReady:J,P="targetOrigin"in x?x.targetOrigin:P,h="heightCalculationMethod"in x?x.heightCalculationMethod:h,ee="widthCalculationMethod"in x?x.widthCalculationMethod:ee})(),h=I(h,"height"),ee=I(ee,"width")),W("TargetOrigin for parent set to: "+P)})(),(function(){t===s&&(s=l+"px"),le("margin",(function(I,x){return x.indexOf("-")!==-1&&(Me("Negative CSS value ignored for "+I),x=""),x})("margin",s))})(),le("background",i),le("padding",d),(_=document.createElement("div")).style.clear="both",_.classList.add("iframe-resizer-inner"),_.style.display="block",_.style.height="0",document.body.appendChild(_),he(),Ve(),document.documentElement.style.height="",document.body.style.height="",W('HTML & body height set to "auto"'),W("Enable public methods"),oe.parentIFrame={autoResize:function(I){return I===!0&&n===!1?(n=!0,me()):I===!1&&n===!0&&(n=!1,ze("remove"),c!==null&&c.disconnect(),clearInterval(C)),_e(0,0,"autoResize",JSON.stringify(n)),n},close:function(){_e(0,0,"close")},getId:function(){return D},getPageInfo:function(I){typeof I=="function"?(Y=I,_e(0,0,"pageInfo")):(Y=function(){},_e(0,0,"pageInfoStop"))},moveToAnchor:function(I){S.findTarget(I)},reset:function(){Hi("parentIFrame.reset")},scrollTo:function(I,x){_e(x,I,"scrollTo")},scrollToOffset:function(I,x){_e(x,I,"scrollToOffset")},sendMessage:function(I,x){_e(0,0,"message",JSON.stringify(I),x)},setHeightCalculationMethod:function(I){h=I,he()},setWidthCalculationMethod:function(I){ee=I,Ve()},setTargetOrigin:function(I){W("Set targetOrigin: "+I),P=I},size:function(I,x){st("size","parentIFrame.size("+((I||"")+(x?","+x:""))+")",I,x)}},w===!0&&(X("mouseenter","Mouse Enter"),X("mouseleave","Mouse Leave")),me(),S=(function(){function I(Ee){var V=Ee.getBoundingClientRect(),Ee={x:window.pageXOffset!==t?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==t?window.pageYOffset:document.documentElement.scrollTop};return{x:parseInt(V.left,10)+parseInt(Ee.x,10),y:parseInt(V.top,10)+parseInt(Ee.y,10)}}function x(ke){var V,Ee=ke.split("#")[1]||ke,ke=decodeURIComponent(Ee),Oi=document.getElementById(ke)||document.getElementsByName(ke)[0];t!==Oi?(V=I(V=Oi),W("Moving to in page link (#"+Ee+") at x: "+V.x+" y: "+V.y),_e(V.y,V.x,"scrollToOffset")):(W("In page link (#"+Ee+") not found in iFrame, so sending to parent"),_e(0,0,"inPageLink","#"+Ee))}function Q(){var we=window.location.hash,V=window.location.href;we!==""&&we!=="#"&&x(V)}function ye(){Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(we){we.getAttribute("href")!=="#"&&$e(we,"click",function(V){V.preventDefault(),x(this.getAttribute("href"))})})}function Yt(){Array.prototype.forEach&&document.querySelectorAll?(W("Setting up location.hash handlers"),ye(),$e(window,"hashchange",Q),setTimeout(Q,m)):Me("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}return S.enable?Yt():W("In page linking not enabled"),{findTarget:x}})(),st("init","Init message from host page"),J()}function N(A){var _=A.split("Callback");_.length===2&&(this[_="on"+_[0].charAt(0).toUpperCase()+_[0].slice(1)]=this[A],delete this[A],Me("Deprecated: '"+A+"' has been renamed '"+_+"'. The old method will be removed in the next major version."))}function le(A,_){t!==_&&_!==""&&_!=="null"&&W("Body "+A+' set to "'+(document.body.style[A]=_)+'"')}function ne(A){var _={add:function(U){function X(){st(A.eventName,A.eventType)}ge[U]=X,$e(window,U,X,{passive:!0})},remove:function(U){var X,I=ge[U];delete ge[U],X=window,U=U,I=I,X.removeEventListener(U,I,!1)}};A.eventNames&&Array.prototype.map?(A.eventName=A.eventNames[0],A.eventNames.map(_[A.method])):_[A.method](A.eventName),W(jt(A.method)+" event listener: "+A.eventType)}function ze(A){ne({method:A,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),ne({method:A,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),ne({method:A,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),ne({method:A,eventType:"Input",eventName:"input"}),ne({method:A,eventType:"Mouse Up",eventName:"mouseup"}),ne({method:A,eventType:"Mouse Down",eventName:"mousedown"}),ne({method:A,eventType:"Orientation Change",eventName:"orientationchange"}),ne({method:A,eventType:"Print",eventNames:["afterprint","beforeprint"]}),ne({method:A,eventType:"Ready State Change",eventName:"readystatechange"}),ne({method:A,eventType:"Touch Start",eventName:"touchstart"}),ne({method:A,eventType:"Touch End",eventName:"touchend"}),ne({method:A,eventType:"Touch Cancel",eventName:"touchcancel"}),ne({method:A,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),ne({method:A,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),ne({method:A,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),$==="child"&&ne({method:A,eventType:"IFrame Resized",eventName:"resize"})}function K(A,_,U,X){return _!==A&&(A in U||(Me(A+" is not a valid option for "+X+"CalculationMethod."),A=_),W(X+' calculation method set to "'+A+'"')),A}function he(){h=K(h,b,ue,"height")}function Ve(){ee=K(ee,B,We,"width")}function me(){var A;n===!0?(ze("add"),A=v<0,window.MutationObserver||window.WebKitMutationObserver?A?Re():c=(function(){function _(V){function Ee(ke){ke.complete===!1&&(W("Attach listeners to "+ke.src),ke.addEventListener("load",I,!1),ke.addEventListener("error",x,!1),ye.push(ke))}V.type==="attributes"&&V.attributeName==="src"?Ee(V.target):V.type==="childList"&&Array.prototype.forEach.call(V.target.querySelectorAll("img"),Ee)}function U(V){W("Remove listeners from "+V.src),V.removeEventListener("load",I,!1),V.removeEventListener("error",x,!1),V=V,ye.splice(ye.indexOf(V),1)}function X(V,Ee,ke){U(V.target),st(Ee,ke+": "+V.target.src)}function I(V){X(V,"imageLoad","Image loaded")}function x(V){X(V,"imageLoadFailed","Image load failed")}function Q(V){st("mutationObserver","mutationObserver: "+V[0].target+" "+V[0].type),V.forEach(_)}var ye=[],Yt=window.MutationObserver||window.WebKitMutationObserver,we=(function(){var V=document.querySelector("body");return we=new Yt(Q),W("Create body MutationObserver"),we.observe(V,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),we})();return{disconnect:function(){"disconnect"in we&&(W("Disconnect body MutationObserver"),we.disconnect(),ye.forEach(U))}}})():(W("MutationObserver not supported in this browser!"),Re())):W("Auto Resize disabled")}function Re(){v!==0&&(W("setInterval: "+v+"ms"),C=setInterval(function(){st("interval","setInterval: "+v)},Math.abs(v)))}function fe(A,_){var U=0;return _=_||document.body,U=(U=document.defaultView.getComputedStyle(_,null))!==null?U[A]:0,parseInt(U,r)}function Gt(A,_){for(var U,X=_.length,I=0,x=jt(A),Q=Date.now(),ye=0;ye<X;ye++)I<(U=_[ye].getBoundingClientRect()[A]+fe("margin"+x,_[ye]))&&(I=U);return Q=Date.now()-Q,W("Parsed "+X+" HTML elements"),W("Element position calculated in "+Q+"ms"),ie/2<(Q=Q)&&W("Event throttle increased to "+(ie=2*Q)+"ms"),I}function St(A){return[A.bodyOffset(),A.bodyScroll(),A.documentElementOffset(),A.documentElementScroll()]}function Je(A,_){var U=document.querySelectorAll("["+_+"]");return U.length===0&&(Me("No tagged elements ("+_+") found on page"),document.querySelectorAll("body *")),Gt(A,U)}function Pe(){return document.querySelectorAll("body *")}function Mi(A,_,U,X){function I(){A in{init:1,interval:1,size:1}||!(h in z||u&&ee in z)?A in{interval:1}||W("No change in size detected"):Hi(_)}var x,Q;function ye(Yt,we){return!(Math.abs(Yt-we)<=Z)}x=t!==U?U:ue[h](),Q=t!==X?X:We[ee](),ye(g,x)||u&&ye(O,Q)||A==="init"?(Ri(),_e(g=x,O=Q,A)):I()}function vg(){Ze=Date.now(),Le=null,Vt=Ae.apply(Te,se),Le||(Te=se=null)}function st(A,_,U,X){R&&A in p?W("Trigger event cancelled: "+A):(A in{reset:1,resetPage:1,init:1}||W("Trigger event: "+_),(A==="init"?Mi:vo)(A,_,U,X))}function Ri(){R||(R=!0,W("Trigger event lock on")),clearTimeout(F),F=setTimeout(function(){R=!1,W("Trigger event lock off"),W("--")},m)}function Pi(A){g=ue[h](),O=We[ee](),_e(g,O,A)}function Hi(A){var _=h;h=b,W("Reset trigger event: "+A),Ri(),Pi("reset"),h=_}function _e(A,_,U,X,I){var x;M===!0&&(t===I?I=P:W("Message targetOrigin: "+I),W("Sending message to host page ("+(x=D+":"+(A+":"+_)+":"+U+(t!==X?":"+X:""))+")"),H.postMessage(T+x,I))}function Ii(){document.readyState!=="loading"&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}})()})),wg=Ic();function Oc(e){const o=e.find(l=>l instanceof DocumentType),t=document.documentElement;let n=e.find(l=>l instanceof HTMLHtmlElement);if(!n){n=t||document.createElement("html");let l=e.find(c=>c instanceof HTMLHeadElement);if(l&&l.parentNode!==n){const c=document.head;if(c){n.replaceChild(l,c);for(const d of c.childNodes)l.appendChild(d)}else n.insertBefore(l,n.firstChild)}let s=e.find(c=>c instanceof HTMLBodyElement);if(!s){s=document.body||document.createElement("body");const c=e.filter(d=>d!==l&&d!==o).reverse();if(c.length){let d=null;for(const u of c)(u.parentNode!==s||u.nextSibling!==d)&&s.insertBefore(u,d),d=u}}if(s.parentNode!==n){const c=document.body;if(c){n.replaceChild(s,c);for(const d of c.childNodes)s.appendChild(d)}else n.appendChild(s)}}const r=[...n.childNodes];if(!r.find(l=>l instanceof HTMLHeadElement)){const l=e.find(s=>s instanceof HTMLHeadElement)||document.createElement("head");n.insertBefore(l,n.firstChild)}if(!r.find(l=>l instanceof HTMLBodyElement)){const l=e.find(s=>s instanceof HTMLBodyElement)||document.createElement("body");n.appendChild(l)}const i=document.doctype;return i!==o&&(i?o?document.replaceChild(o,i):document.removeChild(i):o&&document.insertBefore(o,document.firstChild)),t!==n&&(t?n?document.replaceChild(n,t):document.removeChild(t):n&&document.appendChild(n)),e}var xc='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',Dc={name:"email",mapHTMLRoots:Oc,createRoot:(e,o)=>{const n=o.length;let r=e.find(d=>d.tag==="html"),i=e.find(d=>d.type===a.NodeType.DOCTYPE);if(!r){e=e.filter(d=>d!==i),r=new a.Node(0,n,e),r.createdBy="createRoot",r.tag="html",r.children=e;for(const d of e)d.parent=r;r.startTagEnd=0,r.endTagStart=n,e=[r]}let l=r.children.find(d=>d.tag==="body"),s=r.children.find(d=>d.tag==="head");if(!l){const d=r.children.filter(u=>u!==s);l=new a.Node(s?s.end:r.startTagEnd||r.start,r.endTagStart||r.end,d,r),l.createdBy="createRoot",l.startTagEnd=l.start,l.endTagStart=l.end;for(const u of d)u.parent=l;l.tag="body",r.children=s?[s,l]:[l]}s||(s=new a.Node(r.startTagEnd||r.start,r.startTagEnd||r.start,[],r),s.createdBy="createRoot",s.startTagEnd=s.start,s.endTagStart=s.start,s.tag="head",r.children.unshift(s)),i||(i=new a.Node(0,0,[]),i.createdBy="createRoot",i.startTagEnd=0,i.endTagStart=0,i.type=a.NodeType.DOCTYPE,i.content=xc,e.unshift(i));const c=new a.Node(0,n,e);c.type=a.NodeType.ROOT;for(const d of e)d.parent=c,d.type===a.NodeType.ELEMENT&&d.tag!=="html"?(d.type=a.NodeType.COMMENT,d.content=o.substring(d.start,d.end),d.children=[]):d.type===a.NodeType.HTML&&(d.type=a.NodeType.COMMENT,d.content=d.content||"");return c}};function Fc(){return a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_IS_EMAIL_EMPTY,e=>{const o=document.querySelector(".em-narrow-table");return o?!(o.querySelectorAll("tr").length>0):!0})}function jo(){let e=null;if(document.querySelector(".preheader"))document.querySelectorAll(".preheader").length>1?document.querySelectorAll(".preheader").forEach(o=>{o.innerHTML.match(/[a-zA-Zа-яА-Я0-9]/gi)&&(e=o)}):e=document.querySelector(".preheader");else if(document.querySelector(".mcnPreviewText"))e=document.querySelector(".mcnPreviewText");else if(document.querySelector(".mail_preheader"))e=document.querySelector(".mail_preheader");else if(document.querySelector(".dvPreheader"))e=document.querySelector(".dvPreheader");else if(document.querySelector('[class*="letteros"]')||document.querySelector("[letteros-link]"))e=document.querySelector("body > div");else for(let o of document.querySelectorAll('[style*="display:none"], [style*="display: none"]'))if(o instanceof HTMLElement&&(parseInt(o.style.opacity)==0||o.style["mso-hide"]=="all"||o.style.overflow=="hidden"||parseInt(o.style.maxHeight)==0||parseInt(o.style.width)==0)&&o.tagName!="IMG"&&o.tagName!="TABLE"&&[...o.childNodes].filter(t=>t.nodeType==Node.TEXT_NODE).length>0){e=o;break}return e&&e.querySelector("div")?e=e.querySelector("div"):e&&e.querySelector("span")&&!e.querySelector("span")?.classList.contains("em-code")&&(e=e.querySelector("span")),e??void 0}function Rr(e){return!!e&&!document.querySelector("title")}function Go(){return(document.querySelector("title")?.textContent?.replaceAll(" "," ").replaceAll("‌","").replace(/\u200C/g,"").replaceAll("<!--","").replaceAll("-->","")||"").replace(/\s+/g," ").trim()}function Yo(e=jo()){const o=document.createElement("div");return o.innerHTML=e?.innerHTML||"",o.querySelectorAll(".em-code").forEach(t=>t.remove()),a.getElementInnerHTML(o).trim().replaceAll(/<vk-snippet-end\/>/g,"").replaceAll(/[\u034F\u200C\u2007\uFEFF]+/g,"").replaceAll("&","&").replaceAll(" ","").replaceAll("͏","").replaceAll("","").replaceAll(" ","").replaceAll("‌","").replace(/\u200C/g,"").replaceAll("<!--","").replaceAll("-->","").trim()}function Ko(e){e.nodeName=="#comment"&&e.textContent&&e.textContent.indexOf("mso")>=0?e.remove():e.previousSibling&&Ko(e.previousSibling)}function Xo(e){e.nodeName=="#comment"&&e.textContent&&e.textContent.indexOf("endif")>=0?e.remove():e.nextSibling&&Xo(e.nextSibling)}var qc="͏‌  ",Pr="#f0f1f3",Hr='<span style="display:none !important;font-size:0;height:0;line-height:0;max-height:0;max-width:0;opacity:0;overflow:hidden;visibility:hidden;width:0">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀'+new Array(200).fill(" ‌").join("")+"</span>";function co(e){return!!e&&e instanceof HTMLElement&&e.tagName==="SPAN"&&e.style&&e.style.display==="none"&&e.style.fontSize==="0px"&&e.style.visibility==="hidden"}function Ir(e){const o=e.nextSibling;return o&&a.isComment(o)&&o.data==="<![endif]"?o:null}function Wc(e){const o=Ir(e);o&&o.nextSibling&&co(o.nextSibling)?o.nextSibling.remove():!o&&e.nextSibling&&co(e.nextSibling)&&e.nextSibling.remove();const t=a.parseFromString(Hr);t.length&&(o&&o.parentNode?o.parentNode.insertBefore(t[0],o.nextSibling):e.parentNode&&e.parentNode.insertBefore(t[0],e.nextSibling))}var Or=e=>{Ko(e),Xo(e);const o=e.nextElementSibling;o instanceof HTMLElement&&o.style&&o.style.color==="transparent"&&(Ko(o),Xo(o),o.remove());const t=e instanceof HTMLElement?Ir(e):null;for(t&&t.nextSibling&&co(t.nextSibling)?t.nextSibling.remove():e.nextSibling&&co(e.nextSibling)&&e.nextSibling.remove();e.previousSibling&&a.isTextNode(e.previousSibling)&&e.previousSibling.data.trim()==="";)e.previousSibling.remove();for(;e.nextSibling&&a.isTextNode(e.nextSibling)&&e.nextSibling.data.trim()==="";)e.nextSibling.remove();e.remove()};function $c(e){return!(e.tagName!=="DIV"||a.rgbToHex(e.style.color)!==Pr||e.style.lineHeight!=="0px"||e.style.fontSize!=="0px"||!e.previousSibling||!a.isComment(e.previousSibling)||e.previousSibling.data!=="[if !mso]><!"||!e.nextSibling||!a.isComment(e.nextSibling)||e.nextSibling.data!=="<![endif]")}function zc(e,o){let t=jo(),n="";(e.length||o)&&(e=e.endsWith(" ")?e:e+" ",e=e+"<vk-snippet-end>͏</vk-snippet-end>͏",n=e.padEnd(e.length+5460,qc));const r=a.parseFromString(n);if(t&&!$c(t)&&(Or(t),t=null),t)r.length?(t.replaceChildren(...r),Wc(t)):Or(t);else if(r.length){const i=document.createElement("div");i.classList.add("preheader"),i.style.color=Pr,i.style.lineHeight=i.style.fontSize="0px",i.replaceChildren(...r),document.body?.prepend(i),i.insertAdjacentHTML("afterend",Hr)}}function Vc(e,o){let t;const n=new a.Disposable;let r=!1,i="";const l=d=>{r=!1,t=void 0,i=d.guid},s=d=>(r=!0,t=Yo()||"",a.messageService.sendAsync(a.EVENT_TYPES.APPLICATION_PREHEADER_UPDATE,{guid:i,value:t})),c=async({guid:d,value:u,force:p,fromAI:m,echo:f})=>{p||await o.whenEditorLostFocusAsync("preheader"),typeof u=="string"&&t!==u&&d===i&&(t=u,zc(u),(m||f)&&a.messageService.send(a.EVENT_TYPES.APPLICATION_PREHEADER_UPDATE,{guid:i,value:t,forced:!!f&&!m}),await e.commit(!!m,!0))};return n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_PREHEADER_UPDATE,c)),n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_INIT_START,l)),n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_INITED,s)),n.addDisposable(e.onChange(()=>{if(r){const d=Yo()||"";d!==t&&(t=d,a.messageService.send(a.EVENT_TYPES.APPLICATION_PREHEADER_UPDATE,{guid:i,value:t}))}})),n}function Uc(e,o){let t;const n=new a.Disposable;let r="",i=!1;const l=d=>{i=!1,t=void 0,r=d.guid},s=d=>{if(!(d?.guid&&r&&d.guid!==r))return i=!0,Rr(t)||(t=Go()||""),a.messageService.sendAsync(a.EVENT_TYPES.APPLICATION_SUBJECT_UPDATE,{guid:r,value:t})},c=async({guid:d,value:u,force:p,fromAI:m,echo:f})=>{p||await o.whenEditorLostFocusAsync("subject"),typeof u=="string"&&t!==u&&d===r&&(t=u,document.title=u,(m||f)&&a.messageService.send(a.EVENT_TYPES.APPLICATION_SUBJECT_UPDATE,{value:u,guid:r,forced:!!f&&!m}),await e.commit(!!m,!0))};return n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_SUBJECT_UPDATE,c)),n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_INIT_START,l)),n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_INITED,s)),n.addDisposable(e.onChange(()=>{if(i){if(Rr(t))return;const d=Go()||"";d!==t&&(t=d,a.messageService.send(a.EVENT_TYPES.APPLICATION_SUBJECT_UPDATE,{value:d,guid:r}))}})),n}var jc=[{type:"in-line-style",name:"color"},{type:"in-line-style",name:"border-color"},{type:"in-line-style",name:"background-color"},{type:"attribute",name:"bgcolor"}],Gc={"in-line-style":e=>({selector:`[style~="${e}:"]`,toColor:o=>window.getComputedStyle(o).getPropertyValue(e)}),attribute:e=>({selector:`[${e}]`,toColor:o=>o.getAttribute(e)})},Yc=/^#[\da-f]{6}$/i,xr=()=>[...new Set(jc.flatMap(Kc).map(a.rgbToHex).filter(e=>Yc.test(e)).map(e=>e.toUpperCase()))];function Kc({type:e,name:o}){const t=Gc[e],{selector:n,toColor:r}=t(o);return Array.from(document.querySelectorAll(n)).map(r)}function Xc(e,o,t){const n=new a.Disposable,r=i=>{if(window.getSelection){let s=window.getSelection();if(s?.getRangeAt&&s.rangeCount){let c=s.getRangeAt(0);c.deleteContents();const d=document.createElement("div");d.innerHTML=o.escape(i);const u=document.createDocumentFragment();let p;for(;p=d.firstChild;)u.appendChild(p);c.insertNode(u)}e.commit(!1)}let l=document.querySelector("[em-edit]");l&&t(l)};return n.addDisposable(a.messageService.addListener(a.EVENT_TYPES.SANDBOX_ADD_MERGETAG,r)),n}var Zc=e=>{for(const o of Object.keys(a.fontValues))if(a.toEmFontClassToken(o)===e)return o;return e};function Jc(){if(!a.hasProjectFonts())return;const e=new Set;for(const o of a.getProjectFontEntries()){const t=`em-font-${a.toEmFontClassToken(o.family)}-`;document.querySelectorAll(`[class*="${t}"]`).forEach(n=>{[...n.classList].forEach(r=>{if(!r.startsWith(t)||e.has(r))return;e.add(r);const i=r.slice(t.length),l=Zc(i);a.addFontFamilyClass({fontFamilyArray:["Google Fonts","Project Fonts",o.family,l]})})})}e.size>0&&a.logProjectFonts("iframe: hydrated project @font-face from DOM classes",{classes:[...e],families:a.getProjectFontEntries().map(o=>o.family)})}function Qc(e){const o=new a.Disposable,t=()=>{requestAnimationFrame(()=>{Jc()})};return o.addDisposable(a.messageService.addListener(a.EVENT_TYPES.SANDBOX_SET_PROJECT_FONTS,t)),o.addDisposable(e.onReady(t)),o}function ed(e,o,t){const n=new a.Disposable;let r=[];return n.addDisposable(e.beforeChange(({treeMutations:i})=>{o.isEditorInFocus&&r.push(...i)})),n.addDisposable(o.editorLostFocus(()=>{if(r.length){const i=[];for(const l of r){const s=l.type;let c=null;s==="Add"?c=l.node:s==="Update"&&(c=l.next),c?.closed===!1&&i.push(c)}i.length&&(e.correctNodes(i),t.saveChanges(!1)),r=[]}})),n}function td(e){const{container:o}=e;a.AppImpl.registerAll({MessageService:()=>a.messageService,FocusState:()=>e.focusController,SyncService:()=>o.getInstance(a.HTML_DOCUMENT_ID),SyncServiceInternals:()=>o.getInstance(a.REMOTE_DOCUMENT_ID),TextDocument:()=>o.getInstance(a.TEXT_DOCUMENT_ID),Mapping:()=>o.getInstance(a.DOCUMENT_MAPPING_ID)}),e.features&&e.features.length>0&&a.AppImpl.initFeatures(e.features)}var od="confetti:open-settings",nd="confetti:start",rd="confetti:stop",id="confetti:complete",ld=class{constructor(e){a._defineProperty(this,"_app",void 0),a._defineProperty(this,"_state","idle"),a._defineProperty(this,"_activeEffects",new Map),a._defineProperty(this,"_onDocumentClick",o=>{const t=o.target;if(!t)return;const n=t.closest(".confetti-placeholder");if(!n)return;const r=n.getAttribute("data-confetti-preset")||void 0;this._app.use("MessageService").send(od,{preset:r})}),this._app=e}init(){const e=this._app.use("MessageService");e.addListener(nd,o=>this._handleStart(o.id,o.options)),e.addListener(rd,o=>this._handleStop(o.id)),document.addEventListener("click",this._onDocumentClick,!0)}_handleStart(e,o){const t={id:e,options:o,startTime:Date.now()};this._activeEffects.set(e,t),this._state="running",this.onEffectStart(e,o),this.renderConfetti(e,o);const n=o.duration||3e3;setTimeout(()=>{this._completeEffect(e)},n)}_handleStop(e){if(this._state="stopping",e==="all")for(const o of this._activeEffects.keys())this._completeEffect(o,!0);else this._completeEffect(e,!0)}_completeEffect(e,o=!1){this._activeEffects.get(e)&&(this._activeEffects.delete(e),this.clearConfetti(e,o),this.onEffectComplete(e),this._activeEffects.size===0&&(this._state="idle"),this._app.use("MessageService").send(id,{id:e}))}onEffectStart(e,o){}onEffectComplete(e){}getState(){return this._state}isRunning(){return this._state==="running"}dispose(){document.removeEventListener("click",this._onDocumentClick,!0),this._handleStop("all"),this._activeEffects.clear()}},ad=class extends ld{constructor(e){super(e),a._defineProperty(this,"_containers",new Map)}renderConfetti(e,o){const t=this._getRenderBounds(),n=document.createElement("div");n.id=`confetti-${e}`,n.setAttribute("data-confetti-overlay","true"),n.style.cssText=`
|
|
169
|
+
</tr></table>`),i.append(s),i.setAttribute("em-edit","active"),n.replaceWith(i),o.commit(!0)}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function mc(e,o){try{o.state.increment("activeElementLocked");const t=o.getActiveEditElement();if(!t)return;const n=t.closest("amp-accordion");if(!n)return;const r=o.HTMLDocument.getOuterHtml(n),i=o.parseFromString(r)[0];if(!i)return;const l=i.querySelectorAll("section");l[e.index]&&l[e.index].remove(),i.setAttribute("em-edit","active"),n.replaceWith(i),o.commit(!0)}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function fr(e){return{state:e.state,commit:e.commit,getActiveEditElement:e.getActiveEditElement,HTMLDocument:e.HTMLDocument,parseFromString:e.parseFromString}}function uc(e,o){!o.state||!o.HTMLDocument||!o.getActiveEditElement||!o.parseFromString||dc(e.data.settings,fr(o))}function fc(e,o){!o.state||!o.HTMLDocument||!o.getActiveEditElement||!o.parseFromString||mc(e.data.settings,fr(o))}var pc={sandbox_accordion_add_section:uc,sandbox_accordion_remove_section:fc};function gc(e,o){const t=e.data.settings?.emBlockId;if(t==null||t==="")return;const n=e.data.settings?.emBlockVersion;let r=a.takeEblockRootSavedToProject()??null;r||(r=(document.querySelector('[em-edit="active"]')||document.querySelector(".em-element-editor"))?.closest?.('[em="block"]')??document.querySelector('[em="block"]')),r&&(r.setAttribute("em-block-id",String(t)),n!=null&&n!==""&&r.setAttribute("em-block-version",String(n)),o.commit())}var bc={sandbox_eblock_set_em_block_id:gc},pr={...Ss,...xs,...a.discuss_default,...qs,...a.display_default,...Us,...Xs,...cc,...pc,...bc};function hc(e){return e in pr}function yc(e){return pr[e]}var gr=0,br=0,hr=600,yr=[],Er=!1,Sr=null,Cr=null,vr=null,Ar=null,Tr=null,Lr=null,wr=null,kr=null,_r=null;function Ec(e){Sr=e}function Sc(e){Cr=e}function Cc(e){vr=e}function vc(e){Ar=e}function Ac(e){Tr=e}function Tc(e){Lr=e}function Lc(e){wr=e}function wc(e){kr=e}var Nr=null;function kc(e){Nr=e}var Br=null,Mr=null;function _c(e){Br=e}function Nc(e){Mr=e}function Bc(e){_r=e}function Mc(){return{commit:a.commit,commitLockedAsync:a.commitLockedAsync,removeAllAttributes:a.removeAllAttributes,applicationElementSettingsSet:e=>{(_r??bl)(e)},setCursorPosition:Sr||(()=>{}),setEditorFocus:a.setEditorFocus,messageService:a.messageService,iframeOffsetTop:gr,previewHeight:br,emailWidth:hr,elementPath:yr,lockEdit:Er,initPreview:Cr||(()=>{}),setCommonStyles:vr||(()=>{}),getElementParent:Ar||void 0,getVariableByIcon:Tr||void 0,hasRussianText:Lr||void 0,HTMLDocument:wr||void 0,state:kr||void 0,setPercentsForColumns:Nr||void 0,getActiveEditElement:Br||void 0,parseFromString:Mr||void 0}}function Rc(e){e.iframeOffsetTop!==void 0&&(gr=e.iframeOffsetTop),e.previewHeight!==void 0&&(br=e.previewHeight),e.emailWidth!==void 0&&(hr=e.emailWidth),e.elementPath!==void 0&&(yr=e.elementPath),e.lockEdit!==void 0&&(Er=e.lockEdit)}function Pc(e){const o=e.data?.operation;if(o&&hc(o)){const t=yc(o);if(t)try{t(e,Mc())}catch{}}}function Hc(){a.messageService.addListener(Pc)}var Ic=xi.__commonJSMin(((e,o)=>{(function(t){if(typeof window<"u"){var n=!0,r=10,i="",l=0,s="",c=null,d="",u=!1,g={resize:1,click:1},m=128,f=!0,p=1,b="bodyOffset",h=b,y=!0,E="",S={},v=32,C=null,L=!1,w=!1,T="[iFrameSizer]",k=T.length,D="",z={max:1,min:1,bodyScroll:1,documentElementScroll:1},$="child",M=!0,H=window.parent,P="*",Z=0,R=!1,F=null,ie=16,O=1,B="scroll",ee=B,oe=window,G=function(){Me("onMessage function not defined")},J=function(){},Y=function(){},ae={height:function(){return Me("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return Me("Custom width calculation function not defined"),document.body.scrollWidth}},ge={},Co=!1;try{var qe=Object.create({},{passive:{get:function(){Co=!0}}});window.addEventListener("test",Ut,qe),window.removeEventListener("test",Ut,qe)}catch{}var Ae,Te,se,Vt,Le,Ze,ue={bodyOffset:function(){return document.body.offsetHeight+fe("marginTop")+fe("marginBottom")},offset:function(){return ue.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return ae.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,St(ue))},min:function(){return Math.min.apply(null,St(ue))},grow:function(){return ue.max()},lowestElement:function(){return Math.max(ue.bodyOffset()||ue.documentElementOffset(),Gt("bottom",Pe()))},taggedElement:function(){return Je("bottom","data-iframe-height")}},We={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return ae.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(We.bodyScroll(),We.documentElementScroll())},max:function(){return Math.max.apply(null,St(We))},min:function(){return Math.min.apply(null,St(We))},rightMostElement:function(){return Gt("right",Pe())},taggedElement:function(){return Je("right","data-iframe-width")}},vo=(Ae=Mi,Le=null,Ze=0,function(){var A=Date.now(),_=ie-(A-(Ze=Ze||A));return Te=this,se=arguments,_<=0||ie<_?(Le&&(clearTimeout(Le),Le=null),Ze=A,Vt=Ae.apply(Te,se),Le||(Te=se=null)):Le=Le||setTimeout(vg,_),Vt});$e(window,"message",function(A){var _={init:function(){E=A.data,H=A.source,To(),f=!1,setTimeout(function(){y=!1},m)},reset:function(){y?W("Page reset ignored by init"):(W("Page size reset by host page"),Pi("resetPage"))},resize:function(){st("resizeParent","Parent window requested size check")},moveToAnchor:function(){S.findTarget(X())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var Q=X();W("PageInfoFromParent called from parent: "+Q),Y(JSON.parse(Q)),W(" --")},message:function(){var Q=X();W("onMessage called from parent: "+Q),G(JSON.parse(Q)),W(" --")}};function U(){return A.data.split("]")[1].split(":")[0]}function X(){return A.data.substr(A.data.indexOf(":")+1)}function I(){return A.data.split(":")[2]in{true:1,false:1}}function x(){var Q=U();Q in _?_[Q]():(typeof o>"u"||!o.exports)&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||I()||Me("Unexpected message ("+A.data+")")}T===(""+A.data).substr(0,k)&&(f===!1?x():I()?_.init():W('Ignored message of type "'+U()+'". Received before initialization.'))}),$e(window,"readystatechange",Ii),Ii()}function Ut(){}function $e(A,_,U,X){A.addEventListener(_,U,!!Co&&(X||{}))}function jt(A){return A.charAt(0).toUpperCase()+A.slice(1)}function Ao(A){return T+"["+D+"] "+A}function W(A){L&&window.console}function Me(A){window.console}function To(){function A(I){return I==="true"}var _;function U(I){_e(0,0,I.type,I.screenY+":"+I.screenX)}function X(I,x){W("Add event listener: "+x),$e(window.document,I,U)}_=E.substr(k).split(":"),D=_[0],l=t!==_[1]?Number(_[1]):l,u=t!==_[2]?A(_[2]):u,L=t!==_[3]?A(_[3]):L,v=t!==_[4]?Number(_[4]):v,n=t!==_[6]?A(_[6]):n,s=_[7],h=t!==_[8]?_[8]:h,i=_[9],d=_[10],Z=t!==_[11]?Number(_[11]):Z,S.enable=t!==_[12]&&A(_[12]),$=t!==_[13]?_[13]:$,ee=t!==_[14]?_[14]:ee,w=t!==_[15]?!!_[15]:w,W("Initialising iFrame ("+window.location.href+")"),(function(){function I(x,Q){return typeof x=="function"&&(W("Setup custom "+Q+"CalcMethod"),ae[Q]=x,x="custom"),x}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&((function(){var x=window.iFrameResizer;W("Reading data from page: "+JSON.stringify(x)),Object.keys(x).forEach(N,x),G="onMessage"in x?x.onMessage:G,J="onReady"in x?x.onReady:J,P="targetOrigin"in x?x.targetOrigin:P,h="heightCalculationMethod"in x?x.heightCalculationMethod:h,ee="widthCalculationMethod"in x?x.widthCalculationMethod:ee})(),h=I(h,"height"),ee=I(ee,"width")),W("TargetOrigin for parent set to: "+P)})(),(function(){t===s&&(s=l+"px"),le("margin",(function(I,x){return x.indexOf("-")!==-1&&(Me("Negative CSS value ignored for "+I),x=""),x})("margin",s))})(),le("background",i),le("padding",d),(_=document.createElement("div")).style.clear="both",_.classList.add("iframe-resizer-inner"),_.style.display="block",_.style.height="0",document.body.appendChild(_),he(),Ve(),document.documentElement.style.height="",document.body.style.height="",W('HTML & body height set to "auto"'),W("Enable public methods"),oe.parentIFrame={autoResize:function(I){return I===!0&&n===!1?(n=!0,me()):I===!1&&n===!0&&(n=!1,ze("remove"),c!==null&&c.disconnect(),clearInterval(C)),_e(0,0,"autoResize",JSON.stringify(n)),n},close:function(){_e(0,0,"close")},getId:function(){return D},getPageInfo:function(I){typeof I=="function"?(Y=I,_e(0,0,"pageInfo")):(Y=function(){},_e(0,0,"pageInfoStop"))},moveToAnchor:function(I){S.findTarget(I)},reset:function(){Hi("parentIFrame.reset")},scrollTo:function(I,x){_e(x,I,"scrollTo")},scrollToOffset:function(I,x){_e(x,I,"scrollToOffset")},sendMessage:function(I,x){_e(0,0,"message",JSON.stringify(I),x)},setHeightCalculationMethod:function(I){h=I,he()},setWidthCalculationMethod:function(I){ee=I,Ve()},setTargetOrigin:function(I){W("Set targetOrigin: "+I),P=I},size:function(I,x){st("size","parentIFrame.size("+((I||"")+(x?","+x:""))+")",I,x)}},w===!0&&(X("mouseenter","Mouse Enter"),X("mouseleave","Mouse Leave")),me(),S=(function(){function I(Ee){var V=Ee.getBoundingClientRect(),Ee={x:window.pageXOffset!==t?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==t?window.pageYOffset:document.documentElement.scrollTop};return{x:parseInt(V.left,10)+parseInt(Ee.x,10),y:parseInt(V.top,10)+parseInt(Ee.y,10)}}function x(ke){var V,Ee=ke.split("#")[1]||ke,ke=decodeURIComponent(Ee),Oi=document.getElementById(ke)||document.getElementsByName(ke)[0];t!==Oi?(V=I(V=Oi),W("Moving to in page link (#"+Ee+") at x: "+V.x+" y: "+V.y),_e(V.y,V.x,"scrollToOffset")):(W("In page link (#"+Ee+") not found in iFrame, so sending to parent"),_e(0,0,"inPageLink","#"+Ee))}function Q(){var we=window.location.hash,V=window.location.href;we!==""&&we!=="#"&&x(V)}function ye(){Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(we){we.getAttribute("href")!=="#"&&$e(we,"click",function(V){V.preventDefault(),x(this.getAttribute("href"))})})}function Yt(){Array.prototype.forEach&&document.querySelectorAll?(W("Setting up location.hash handlers"),ye(),$e(window,"hashchange",Q),setTimeout(Q,m)):Me("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}return S.enable?Yt():W("In page linking not enabled"),{findTarget:x}})(),st("init","Init message from host page"),J()}function N(A){var _=A.split("Callback");_.length===2&&(this[_="on"+_[0].charAt(0).toUpperCase()+_[0].slice(1)]=this[A],delete this[A],Me("Deprecated: '"+A+"' has been renamed '"+_+"'. The old method will be removed in the next major version."))}function le(A,_){t!==_&&_!==""&&_!=="null"&&W("Body "+A+' set to "'+(document.body.style[A]=_)+'"')}function ne(A){var _={add:function(U){function X(){st(A.eventName,A.eventType)}ge[U]=X,$e(window,U,X,{passive:!0})},remove:function(U){var X,I=ge[U];delete ge[U],X=window,U=U,I=I,X.removeEventListener(U,I,!1)}};A.eventNames&&Array.prototype.map?(A.eventName=A.eventNames[0],A.eventNames.map(_[A.method])):_[A.method](A.eventName),W(jt(A.method)+" event listener: "+A.eventType)}function ze(A){ne({method:A,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),ne({method:A,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),ne({method:A,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),ne({method:A,eventType:"Input",eventName:"input"}),ne({method:A,eventType:"Mouse Up",eventName:"mouseup"}),ne({method:A,eventType:"Mouse Down",eventName:"mousedown"}),ne({method:A,eventType:"Orientation Change",eventName:"orientationchange"}),ne({method:A,eventType:"Print",eventNames:["afterprint","beforeprint"]}),ne({method:A,eventType:"Ready State Change",eventName:"readystatechange"}),ne({method:A,eventType:"Touch Start",eventName:"touchstart"}),ne({method:A,eventType:"Touch End",eventName:"touchend"}),ne({method:A,eventType:"Touch Cancel",eventName:"touchcancel"}),ne({method:A,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),ne({method:A,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),ne({method:A,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),$==="child"&&ne({method:A,eventType:"IFrame Resized",eventName:"resize"})}function K(A,_,U,X){return _!==A&&(A in U||(Me(A+" is not a valid option for "+X+"CalculationMethod."),A=_),W(X+' calculation method set to "'+A+'"')),A}function he(){h=K(h,b,ue,"height")}function Ve(){ee=K(ee,B,We,"width")}function me(){var A;n===!0?(ze("add"),A=v<0,window.MutationObserver||window.WebKitMutationObserver?A?Re():c=(function(){function _(V){function Ee(ke){ke.complete===!1&&(W("Attach listeners to "+ke.src),ke.addEventListener("load",I,!1),ke.addEventListener("error",x,!1),ye.push(ke))}V.type==="attributes"&&V.attributeName==="src"?Ee(V.target):V.type==="childList"&&Array.prototype.forEach.call(V.target.querySelectorAll("img"),Ee)}function U(V){W("Remove listeners from "+V.src),V.removeEventListener("load",I,!1),V.removeEventListener("error",x,!1),V=V,ye.splice(ye.indexOf(V),1)}function X(V,Ee,ke){U(V.target),st(Ee,ke+": "+V.target.src)}function I(V){X(V,"imageLoad","Image loaded")}function x(V){X(V,"imageLoadFailed","Image load failed")}function Q(V){st("mutationObserver","mutationObserver: "+V[0].target+" "+V[0].type),V.forEach(_)}var ye=[],Yt=window.MutationObserver||window.WebKitMutationObserver,we=(function(){var V=document.querySelector("body");return we=new Yt(Q),W("Create body MutationObserver"),we.observe(V,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),we})();return{disconnect:function(){"disconnect"in we&&(W("Disconnect body MutationObserver"),we.disconnect(),ye.forEach(U))}}})():(W("MutationObserver not supported in this browser!"),Re())):W("Auto Resize disabled")}function Re(){v!==0&&(W("setInterval: "+v+"ms"),C=setInterval(function(){st("interval","setInterval: "+v)},Math.abs(v)))}function fe(A,_){var U=0;return _=_||document.body,U=(U=document.defaultView.getComputedStyle(_,null))!==null?U[A]:0,parseInt(U,r)}function Gt(A,_){for(var U,X=_.length,I=0,x=jt(A),Q=Date.now(),ye=0;ye<X;ye++)I<(U=_[ye].getBoundingClientRect()[A]+fe("margin"+x,_[ye]))&&(I=U);return Q=Date.now()-Q,W("Parsed "+X+" HTML elements"),W("Element position calculated in "+Q+"ms"),ie/2<(Q=Q)&&W("Event throttle increased to "+(ie=2*Q)+"ms"),I}function St(A){return[A.bodyOffset(),A.bodyScroll(),A.documentElementOffset(),A.documentElementScroll()]}function Je(A,_){var U=document.querySelectorAll("["+_+"]");return U.length===0&&(Me("No tagged elements ("+_+") found on page"),document.querySelectorAll("body *")),Gt(A,U)}function Pe(){return document.querySelectorAll("body *")}function Mi(A,_,U,X){function I(){A in{init:1,interval:1,size:1}||!(h in z||u&&ee in z)?A in{interval:1}||W("No change in size detected"):Hi(_)}var x,Q;function ye(Yt,we){return!(Math.abs(Yt-we)<=Z)}x=t!==U?U:ue[h](),Q=t!==X?X:We[ee](),ye(p,x)||u&&ye(O,Q)||A==="init"?(Ri(),_e(p=x,O=Q,A)):I()}function vg(){Ze=Date.now(),Le=null,Vt=Ae.apply(Te,se),Le||(Te=se=null)}function st(A,_,U,X){R&&A in g?W("Trigger event cancelled: "+A):(A in{reset:1,resetPage:1,init:1}||W("Trigger event: "+_),(A==="init"?Mi:vo)(A,_,U,X))}function Ri(){R||(R=!0,W("Trigger event lock on")),clearTimeout(F),F=setTimeout(function(){R=!1,W("Trigger event lock off"),W("--")},m)}function Pi(A){p=ue[h](),O=We[ee](),_e(p,O,A)}function Hi(A){var _=h;h=b,W("Reset trigger event: "+A),Ri(),Pi("reset"),h=_}function _e(A,_,U,X,I){var x;M===!0&&(t===I?I=P:W("Message targetOrigin: "+I),W("Sending message to host page ("+(x=D+":"+(A+":"+_)+":"+U+(t!==X?":"+X:""))+")"),H.postMessage(T+x,I))}function Ii(){document.readyState!=="loading"&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}})()})),wg=Ic();function Oc(e){const o=e.find(l=>l instanceof DocumentType),t=document.documentElement;let n=e.find(l=>l instanceof HTMLHtmlElement);if(!n){n=t||document.createElement("html");let l=e.find(c=>c instanceof HTMLHeadElement);if(l&&l.parentNode!==n){const c=document.head;if(c){n.replaceChild(l,c);for(const d of c.childNodes)l.appendChild(d)}else n.insertBefore(l,n.firstChild)}let s=e.find(c=>c instanceof HTMLBodyElement);if(!s){s=document.body||document.createElement("body");const c=e.filter(d=>d!==l&&d!==o).reverse();if(c.length){let d=null;for(const u of c)(u.parentNode!==s||u.nextSibling!==d)&&s.insertBefore(u,d),d=u}}if(s.parentNode!==n){const c=document.body;if(c){n.replaceChild(s,c);for(const d of c.childNodes)s.appendChild(d)}else n.appendChild(s)}}const r=[...n.childNodes];if(!r.find(l=>l instanceof HTMLHeadElement)){const l=e.find(s=>s instanceof HTMLHeadElement)||document.createElement("head");n.insertBefore(l,n.firstChild)}if(!r.find(l=>l instanceof HTMLBodyElement)){const l=e.find(s=>s instanceof HTMLBodyElement)||document.createElement("body");n.appendChild(l)}const i=document.doctype;return i!==o&&(i?o?document.replaceChild(o,i):document.removeChild(i):o&&document.insertBefore(o,document.firstChild)),t!==n&&(t?n?document.replaceChild(n,t):document.removeChild(t):n&&document.appendChild(n)),e}var xc='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">',Dc={name:"email",mapHTMLRoots:Oc,createRoot:(e,o)=>{const n=o.length;let r=e.find(d=>d.tag==="html"),i=e.find(d=>d.type===a.NodeType.DOCTYPE);if(!r){e=e.filter(d=>d!==i),r=new a.Node(0,n,e),r.createdBy="createRoot",r.tag="html",r.children=e;for(const d of e)d.parent=r;r.startTagEnd=0,r.endTagStart=n,e=[r]}let l=r.children.find(d=>d.tag==="body"),s=r.children.find(d=>d.tag==="head");if(!l){const d=r.children.filter(u=>u!==s);l=new a.Node(s?s.end:r.startTagEnd||r.start,r.endTagStart||r.end,d,r),l.createdBy="createRoot",l.startTagEnd=l.start,l.endTagStart=l.end;for(const u of d)u.parent=l;l.tag="body",r.children=s?[s,l]:[l]}s||(s=new a.Node(r.startTagEnd||r.start,r.startTagEnd||r.start,[],r),s.createdBy="createRoot",s.startTagEnd=s.start,s.endTagStart=s.start,s.tag="head",r.children.unshift(s)),i||(i=new a.Node(0,0,[]),i.createdBy="createRoot",i.startTagEnd=0,i.endTagStart=0,i.type=a.NodeType.DOCTYPE,i.content=xc,e.unshift(i));const c=new a.Node(0,n,e);c.type=a.NodeType.ROOT;for(const d of e)d.parent=c,d.type===a.NodeType.ELEMENT&&d.tag!=="html"?(d.type=a.NodeType.COMMENT,d.content=o.substring(d.start,d.end),d.children=[]):d.type===a.NodeType.HTML&&(d.type=a.NodeType.COMMENT,d.content=d.content||"");return c}};function Fc(){return a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_IS_EMAIL_EMPTY,e=>{const o=document.querySelector(".em-narrow-table");return o?!(o.querySelectorAll("tr").length>0):!0})}function jo(){let e=null;if(document.querySelector(".preheader"))document.querySelectorAll(".preheader").length>1?document.querySelectorAll(".preheader").forEach(o=>{o.innerHTML.match(/[a-zA-Zа-яА-Я0-9]/gi)&&(e=o)}):e=document.querySelector(".preheader");else if(document.querySelector(".mcnPreviewText"))e=document.querySelector(".mcnPreviewText");else if(document.querySelector(".mail_preheader"))e=document.querySelector(".mail_preheader");else if(document.querySelector(".dvPreheader"))e=document.querySelector(".dvPreheader");else if(document.querySelector('[class*="letteros"]')||document.querySelector("[letteros-link]"))e=document.querySelector("body > div");else for(let o of document.querySelectorAll('[style*="display:none"], [style*="display: none"]'))if(o instanceof HTMLElement&&(parseInt(o.style.opacity)==0||o.style["mso-hide"]=="all"||o.style.overflow=="hidden"||parseInt(o.style.maxHeight)==0||parseInt(o.style.width)==0)&&o.tagName!="IMG"&&o.tagName!="TABLE"&&[...o.childNodes].filter(t=>t.nodeType==Node.TEXT_NODE).length>0){e=o;break}return e&&e.querySelector("div")?e=e.querySelector("div"):e&&e.querySelector("span")&&!e.querySelector("span")?.classList.contains("em-code")&&(e=e.querySelector("span")),e??void 0}function Rr(e){return!!e&&!document.querySelector("title")}function Go(){const e=document.querySelector("title")?.textContent?.replaceAll(" "," ").replaceAll("‌","").replace(/\u200C/g,"").replaceAll("<!--","").replaceAll("-->","")||"";return a.stripSubjectTags(e).replace(/\s+/g," ").trim()}function Yo(e=jo()){const o=document.createElement("div");return o.innerHTML=e?.innerHTML||"",o.querySelectorAll(".em-code").forEach(t=>t.remove()),a.getElementInnerHTML(o).trim().replaceAll(/<vk-snippet-end\/>/g,"").replaceAll(/[\u034F\u200C\u2007\uFEFF]+/g,"").replaceAll("&","&").replaceAll(" ","").replaceAll("͏","").replaceAll("","").replaceAll(" ","").replaceAll("‌","").replace(/\u200C/g,"").replaceAll("<!--","").replaceAll("-->","").trim()}function Ko(e){e.nodeName=="#comment"&&e.textContent&&e.textContent.indexOf("mso")>=0?e.remove():e.previousSibling&&Ko(e.previousSibling)}function Xo(e){e.nodeName=="#comment"&&e.textContent&&e.textContent.indexOf("endif")>=0?e.remove():e.nextSibling&&Xo(e.nextSibling)}var qc="͏‌  ",Pr="#f0f1f3",Hr='<span style="display:none !important;font-size:0;height:0;line-height:0;max-height:0;max-width:0;opacity:0;overflow:hidden;visibility:hidden;width:0">⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀'+new Array(200).fill(" ‌").join("")+"</span>";function co(e){return!!e&&e instanceof HTMLElement&&e.tagName==="SPAN"&&e.style&&e.style.display==="none"&&e.style.fontSize==="0px"&&e.style.visibility==="hidden"}function Ir(e){const o=e.nextSibling;return o&&a.isComment(o)&&o.data==="<![endif]"?o:null}function Wc(e){const o=Ir(e);o&&o.nextSibling&&co(o.nextSibling)?o.nextSibling.remove():!o&&e.nextSibling&&co(e.nextSibling)&&e.nextSibling.remove();const t=a.parseFromString(Hr);t.length&&(o&&o.parentNode?o.parentNode.insertBefore(t[0],o.nextSibling):e.parentNode&&e.parentNode.insertBefore(t[0],e.nextSibling))}var Or=e=>{Ko(e),Xo(e);const o=e.nextElementSibling;o instanceof HTMLElement&&o.style&&o.style.color==="transparent"&&(Ko(o),Xo(o),o.remove());const t=e instanceof HTMLElement?Ir(e):null;for(t&&t.nextSibling&&co(t.nextSibling)?t.nextSibling.remove():e.nextSibling&&co(e.nextSibling)&&e.nextSibling.remove();e.previousSibling&&a.isTextNode(e.previousSibling)&&e.previousSibling.data.trim()==="";)e.previousSibling.remove();for(;e.nextSibling&&a.isTextNode(e.nextSibling)&&e.nextSibling.data.trim()==="";)e.nextSibling.remove();e.remove()};function $c(e){return!(e.tagName!=="DIV"||a.rgbToHex(e.style.color)!==Pr||e.style.lineHeight!=="0px"||e.style.fontSize!=="0px"||!e.previousSibling||!a.isComment(e.previousSibling)||e.previousSibling.data!=="[if !mso]><!"||!e.nextSibling||!a.isComment(e.nextSibling)||e.nextSibling.data!=="<![endif]")}function zc(e,o){let t=jo(),n="";(e.length||o)&&(e=e.endsWith(" ")?e:e+" ",e=e+"<vk-snippet-end>͏</vk-snippet-end>͏",n=e.padEnd(e.length+5460,qc));const r=a.parseFromString(n);if(t&&!$c(t)&&(Or(t),t=null),t)r.length?(t.replaceChildren(...r),Wc(t)):Or(t);else if(r.length){const i=document.createElement("div");i.classList.add("preheader"),i.style.color=Pr,i.style.lineHeight=i.style.fontSize="0px",i.replaceChildren(...r),document.body?.prepend(i),i.insertAdjacentHTML("afterend",Hr)}}function Vc(e,o){let t;const n=new a.Disposable;let r=!1,i="";const l=d=>{r=!1,t=void 0,i=d.guid},s=d=>(r=!0,t=Yo()||"",a.messageService.sendAsync(a.EVENT_TYPES.APPLICATION_PREHEADER_UPDATE,{guid:i,value:t})),c=async({guid:d,value:u,force:g,fromAI:m,echo:f})=>{g||await o.whenEditorLostFocusAsync("preheader"),typeof u=="string"&&t!==u&&d===i&&(t=u,zc(u),(m||f)&&a.messageService.send(a.EVENT_TYPES.APPLICATION_PREHEADER_UPDATE,{guid:i,value:t,forced:!!f&&!m}),await e.commit(!!m,!0))};return n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_PREHEADER_UPDATE,c)),n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_INIT_START,l)),n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_INITED,s)),n.addDisposable(e.onChange(()=>{if(r){const d=Yo()||"";d!==t&&(t=d,a.messageService.send(a.EVENT_TYPES.APPLICATION_PREHEADER_UPDATE,{guid:i,value:t}))}})),n}function Uc(e,o){let t;const n=new a.Disposable;let r="",i=!1;const l=d=>{i=!1,t=void 0,r=d.guid},s=d=>{if(!(d?.guid&&r&&d.guid!==r))return i=!0,Rr(t)||(t=Go()||""),a.messageService.sendAsync(a.EVENT_TYPES.APPLICATION_SUBJECT_UPDATE,{guid:r,value:t})},c=async({guid:d,value:u,force:g,fromAI:m,echo:f})=>{g||await o.whenEditorLostFocusAsync("subject"),typeof u=="string"&&t!==u&&d===r&&(t=u,document.title=u,(m||f)&&a.messageService.send(a.EVENT_TYPES.APPLICATION_SUBJECT_UPDATE,{value:u,guid:r,forced:!!f&&!m}),await e.commit(!!m,!0))};return n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_SUBJECT_UPDATE,c)),n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_INIT_START,l)),n.addDisposable(a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_INITED,s)),n.addDisposable(e.onChange(()=>{if(i){if(Rr(t))return;const d=Go()||"";d!==t&&(t=d,a.messageService.send(a.EVENT_TYPES.APPLICATION_SUBJECT_UPDATE,{value:d,guid:r}))}})),n}var jc=[{type:"in-line-style",name:"color"},{type:"in-line-style",name:"border-color"},{type:"in-line-style",name:"background-color"},{type:"attribute",name:"bgcolor"}],Gc={"in-line-style":e=>({selector:`[style~="${e}:"]`,toColor:o=>window.getComputedStyle(o).getPropertyValue(e)}),attribute:e=>({selector:`[${e}]`,toColor:o=>o.getAttribute(e)})},Yc=/^#[\da-f]{6}$/i,xr=()=>[...new Set(jc.flatMap(Kc).map(a.rgbToHex).filter(e=>Yc.test(e)).map(e=>e.toUpperCase()))];function Kc({type:e,name:o}){const t=Gc[e],{selector:n,toColor:r}=t(o);return Array.from(document.querySelectorAll(n)).map(r)}function Xc(e,o,t){const n=new a.Disposable,r=i=>{if(window.getSelection){let s=window.getSelection();if(s?.getRangeAt&&s.rangeCount){let c=s.getRangeAt(0);c.deleteContents();const d=document.createElement("div");d.innerHTML=o.escape(i);const u=document.createDocumentFragment();let g;for(;g=d.firstChild;)u.appendChild(g);c.insertNode(u)}e.commit(!1)}let l=document.querySelector("[em-edit]");l&&t(l)};return n.addDisposable(a.messageService.addListener(a.EVENT_TYPES.SANDBOX_ADD_MERGETAG,r)),n}var Zc=e=>{for(const o of Object.keys(a.fontValues))if(a.toEmFontClassToken(o)===e)return o;return e};function Jc(){if(!a.hasProjectFonts())return;const e=new Set;for(const o of a.getProjectFontEntries()){const t=`em-font-${a.toEmFontClassToken(o.family)}-`;document.querySelectorAll(`[class*="${t}"]`).forEach(n=>{[...n.classList].forEach(r=>{if(!r.startsWith(t)||e.has(r))return;e.add(r);const i=r.slice(t.length),l=Zc(i);a.addFontFamilyClass({fontFamilyArray:["Google Fonts","Project Fonts",o.family,l]})})})}e.size>0&&a.logProjectFonts("iframe: hydrated project @font-face from DOM classes",{classes:[...e],families:a.getProjectFontEntries().map(o=>o.family)})}function Qc(e){const o=new a.Disposable,t=()=>{requestAnimationFrame(()=>{Jc()})};return o.addDisposable(a.messageService.addListener(a.EVENT_TYPES.SANDBOX_SET_PROJECT_FONTS,t)),o.addDisposable(e.onReady(t)),o}function ed(e,o,t){const n=new a.Disposable;let r=[];return n.addDisposable(e.beforeChange(({treeMutations:i})=>{o.isEditorInFocus&&r.push(...i)})),n.addDisposable(o.editorLostFocus(()=>{if(r.length){const i=[];for(const l of r){const s=l.type;let c=null;s==="Add"?c=l.node:s==="Update"&&(c=l.next),c?.closed===!1&&i.push(c)}i.length&&(e.correctNodes(i),t.saveChanges(!1)),r=[]}})),n}function td(e){const{container:o}=e;a.AppImpl.registerAll({MessageService:()=>a.messageService,FocusState:()=>e.focusController,SyncService:()=>o.getInstance(a.HTML_DOCUMENT_ID),SyncServiceInternals:()=>o.getInstance(a.REMOTE_DOCUMENT_ID),TextDocument:()=>o.getInstance(a.TEXT_DOCUMENT_ID),Mapping:()=>o.getInstance(a.DOCUMENT_MAPPING_ID)}),e.features&&e.features.length>0&&a.AppImpl.initFeatures(e.features)}var od="confetti:open-settings",nd="confetti:start",rd="confetti:stop",id="confetti:complete",ld=class{constructor(e){a._defineProperty(this,"_app",void 0),a._defineProperty(this,"_state","idle"),a._defineProperty(this,"_activeEffects",new Map),a._defineProperty(this,"_onDocumentClick",o=>{const t=o.target;if(!t)return;const n=t.closest(".confetti-placeholder");if(!n)return;const r=n.getAttribute("data-confetti-preset")||void 0;this._app.use("MessageService").send(od,{preset:r})}),this._app=e}init(){const e=this._app.use("MessageService");e.addListener(nd,o=>this._handleStart(o.id,o.options)),e.addListener(rd,o=>this._handleStop(o.id)),document.addEventListener("click",this._onDocumentClick,!0)}_handleStart(e,o){const t={id:e,options:o,startTime:Date.now()};this._activeEffects.set(e,t),this._state="running",this.onEffectStart(e,o),this.renderConfetti(e,o);const n=o.duration||3e3;setTimeout(()=>{this._completeEffect(e)},n)}_handleStop(e){if(this._state="stopping",e==="all")for(const o of this._activeEffects.keys())this._completeEffect(o,!0);else this._completeEffect(e,!0)}_completeEffect(e,o=!1){this._activeEffects.get(e)&&(this._activeEffects.delete(e),this.clearConfetti(e,o),this.onEffectComplete(e),this._activeEffects.size===0&&(this._state="idle"),this._app.use("MessageService").send(id,{id:e}))}onEffectStart(e,o){}onEffectComplete(e){}getState(){return this._state}isRunning(){return this._state==="running"}dispose(){document.removeEventListener("click",this._onDocumentClick,!0),this._handleStop("all"),this._activeEffects.clear()}},ad=class extends ld{constructor(e){super(e),a._defineProperty(this,"_containers",new Map)}renderConfetti(e,o){const t=this._getRenderBounds(),n=document.createElement("div");n.id=`confetti-${e}`,n.setAttribute("data-confetti-overlay","true"),n.style.cssText=`
|
|
170
170
|
position: absolute;
|
|
171
171
|
top: ${t.top}px;
|
|
172
172
|
left: ${t.left}px;
|
|
@@ -178,7 +178,7 @@ __useblocks__.define("js/iframe.js",["require","exports","module","js/rolldown-r
|
|
|
178
178
|
display: block;
|
|
179
179
|
line-height: 0;
|
|
180
180
|
font-size: 0;
|
|
181
|
-
`,n.innerHTML=this._generateStaticSvg(o,t.width,t.height),document.body.appendChild(n),this._containers.set(e,n)}clearConfetti(e,o){const t=this._containers.get(e);t&&(t.remove(),this._containers.delete(e))}_generateStaticSvg(e,o,t){const{particleCount:n=100,angle:r=90,spread:i=45,colors:l=["#ff0000","#00ff00","#0000ff","#ffff00","#ff00ff"],originX:s=.5,originY:c=.5}=e,d=Math.max(o,320),u=Math.max(t,220),
|
|
181
|
+
`,n.innerHTML=this._generateStaticSvg(o,t.width,t.height),document.body.appendChild(n),this._containers.set(e,n)}clearConfetti(e,o){const t=this._containers.get(e);t&&(t.remove(),this._containers.delete(e))}_generateStaticSvg(e,o,t){const{particleCount:n=100,angle:r=90,spread:i=45,colors:l=["#ff0000","#00ff00","#0000ff","#ffff00","#ff00ff"],originX:s=.5,originY:c=.5}=e,d=Math.max(o,320),u=Math.max(t,220),g=Math.max(Math.min(d,u)*.48,140),m=(Math.max(e.duration||3e3,1800)/1e3).toFixed(2),f=s===.5?.22:s,p=c===.5?.62:c,b=d*f,h=u*p,y=[],E=[];for(let S=0;S<n;S++){const v=(r-i/2+Math.random()*i)*(Math.PI/180),C=30+Math.random()*g,L=b+Math.cos(v)*C,w=h-Math.sin(v)*C,T=L-b,k=w-h,D=l[Math.floor(Math.random()*l.length)],z=6+Math.random()*10,$=Math.random()*360,M=90+Math.random()*180,H=.78+Math.random()*.22,P=(1.6+Math.random()*1.8).toFixed(2),Z=(Math.random()*.35).toFixed(2);if(Math.random()>.5?y.push(`
|
|
182
182
|
<g transform="translate(${b} ${h})">
|
|
183
183
|
<circle cx="0" cy="0" r="${z/2}" fill="${D}" opacity="${H}">
|
|
184
184
|
<animateTransform attributeName="transform" type="translate" values="0 0; ${T*.72} ${k*.72}; ${T} ${k}" dur="${P}s" begin="${Z}s" repeatCount="indefinite" />
|
|
@@ -250,34 +250,34 @@ __useblocks__.define("js/iframe.js",["require","exports","module","js/rolldown-r
|
|
|
250
250
|
${E.join("")}
|
|
251
251
|
${y.join("")}
|
|
252
252
|
</svg>
|
|
253
|
-
`}_getRenderBounds(){const e=this._getPlaceholderElement();if(e){const n=e.getBoundingClientRect(),r=320,i=220,l=Math.max(document.documentElement.clientWidth,window.innerWidth||0),s=Math.max(document.documentElement.clientHeight,window.innerHeight||0),c=n.right+12,d=n.left-r-12,u=c+r<=l?c:Math.max(8,d);return{top:Math.min(Math.max(8,n.top+n.height/2-i/2),Math.max(8,s-i-8))+window.scrollY,left:u+window.scrollX,width:r,height:i}}const o=this._getRenderRoot();if(!o)return{top:window.scrollY,left:window.scrollX,width:Math.max(window.innerWidth,800),height:Math.max(window.innerHeight,600)};const t=o.getBoundingClientRect();return{top:t.top+window.scrollY,left:t.left+window.scrollX,width:Math.max(Math.ceil(o.scrollWidth||t.width),Math.ceil(t.width),320),height:Math.max(Math.ceil(o.scrollHeight||t.height),Math.ceil(t.height),240)}}_getRenderRoot(){for(const e of['[em="block-contaner"]',".es-wrapper-color",".es-content-body",".es-content","body > table","body > div"]){const o=document.querySelector(e);if(o instanceof HTMLElement)return o}return document.body}_getPlaceholderElement(){const e=document.querySelector(".confetti-placeholder");return e instanceof HTMLElement?e:null}onEffectStart(e,o){}onEffectComplete(e){}dispose(){for(const e of this._containers.values())e.remove();this._containers.clear(),super.dispose()}},sd=[ad];function cd(e,o){const t=o==="sup"?"sub":"sup";e.querySelectorAll(`${o}, ${t}`).forEach(n=>{const r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);n.remove()}})}function dd(e,o,t){const n=document.createElement(t);try{if(typeof o=="string")n.textContent=o||e.toString();else if(o instanceof DocumentFragment)n.appendChild(o);else if(o instanceof HTMLElement)for(;o.firstChild;)n.appendChild(o.firstChild);else n.textContent=e.toString();e.deleteContents(),e.insertNode(n)}catch{return null}return n}function md(e){const o=e.parentNode;if(!o)return document.createTextNode("");if(Array.from(e.childNodes).some(t=>t.nodeType===1)){const t=document.createDocumentFragment(),n=Array.from(e.childNodes);for(;e.firstChild;)t.appendChild(e.firstChild);return o.replaceChild(t,e),n[0]||document.createTextNode("")}else{const t=e.textContent||"",n=document.createTextNode(t);return o.replaceChild(n,e),n}}function ud(e,o,t){if(!e)return!1;const n=e.textContent?.trim()||"";let r="";if(t){const i=o.cloneRange(),l=i;try{l.expand&&l.expand("word"),r=i.toString().trim()}catch{return!1}}else r=o.toString().trim();return n===r}function fd(e,o){const t=e.textContent||"",n=o.toString(),r=o.startOffset,i=o.endOffset,l=document.createTextNode(t.slice(0,r)),s=document.createTextNode(n),c=document.createTextNode(t.slice(i)),d=e.parentNode;return d&&(d.insertBefore(l,e),d.insertBefore(s,e),c.textContent&&d.insertBefore(c,e),e.remove()),o.setStart(s,0),o.setEnd(s,s.length),s}function pd(e,o=[]){const t=[...new Set(["strong","em","b","i","u","sub","sup","strike",...o])].join(", ");e.querySelectorAll(t).forEach(n=>{!n.textContent?.trim()&&(!n.hasChildNodes()||Array.from(n.childNodes).every(r=>r.nodeType===Node.TEXT_NODE&&!r.textContent?.trim()))&&n.remove()})}function gd(e,o=10){const t=e.length;return t===0?!1:(e.match(/[а-яА-ЯёЁ]/g)||[]).length/t*100>o}var bd={bold:"strong|s|b",italic:"em|i",strike:"strike",underline:"u",strikeUnderline:"strike|u"};function Rt(e,o){const t=bd[o]||o,n=new RegExp(`<\\/?(${t})>`,"gi");return e.replaceAll(n,"")}var hd=["strong","em","strike","sub","sup","b","i","s","u"];function yd(e,o){if(o)for(const t of hd)o.closest(t)&&e.querySelectorAll(t).forEach(n=>{const r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);n.remove()}})}function Ed(e,o){o&&o.closest("a")&&e.querySelectorAll("a").forEach(t=>{const n=t.parentNode;if(n){for(;t.firstChild;)n.insertBefore(t.firstChild,t);t.remove()}})}var Sd="./js/sanitize-html/sanitize-html.js",Dr="data-sanitize-html-loader",mo=null,Pt=null;function Cd(){return new URL(Sd,document.baseURI||window.location.href).href}function Zo(){const e=globalThis.sanitizeHtml;return typeof e!="function"||!("defaults"in e)?null:e}function vd(){if(Zo())return Promise.resolve();const e=Cd();return document.querySelector(`script[${Dr}]`)?Pt??Promise.resolve():(Pt||(Pt=new Promise((o,t)=>{const n=document.createElement("script");n.src=e,n.async=!0,n.setAttribute(Dr,"true"),n.onload=()=>o(),n.onerror=()=>{n.remove(),Pt=null,t(new Error(`Failed to load sanitize-html script: ${e}`))},document.head.appendChild(n)})),Pt)}async function Ad(){const e=Zo();return e||(mo||(mo=(async()=>{await vd();const o=Zo();if(o)return o;throw new Error("sanitizeHtml not available after script load")})().catch(o=>{throw mo=null,o})),mo)}async function Fr(e,o=!1,t,n,r){e.preventDefault(),e.stopPropagation();try{const i=e.clipboardData||window.clipboardData;if(!i)return;let l=i.getData("text/html");if(!l||o)l=i.getData("text/plain"),l=l.replace(/\n/g,"<br>");else{const c=t?.text?.fontSize||16;let d=(await Ad())(l,{allowedTags:["strong","em","i","a","br","span","ul","ol","li","strike","sub","sup","s"],allowedAttributes:{a:["href"],span:["data-font-size","data-bold","data-italic"],strong:["data-italic"],ul:["data-list-type"],ol:["data-list-type","data-list-start"],li:["data-list-item"]},allowedStyles:{},transformTags:{span:function(h,y){let E="",S=!1,v=!1;if(y.style){const C=y.style.toLowerCase();(C.includes("font-weight: bold")||C.includes("font-weight:bold")||C.includes("font-weight: 700")||C.includes("font-weight:700"))&&(S=!0),(C.includes("font-style: italic")||C.includes("font-style:italic"))&&(v=!0),C.includes("text-decoration: underline")||C.includes("text-decoration:underline"),S&&v?(E="strong",y["data-italic"]="true"):S?E="strong":v&&(E="em")}return{tagName:E||"",attribs:y}},h1:function(h,y){return y["data-font-size"]=Math.round(1.5*c).toString(),y.style&&(y.style.toLowerCase().includes("font-style: italic")||y.style.toLowerCase().includes("font-style:italic"))&&(y["data-italic"]="true"),{tagName:"span",attribs:y}},h2:function(h,y){return y["data-font-size"]=Math.round(1.25*c).toString(),y.style&&(y.style.toLowerCase().includes("font-style: italic")||y.style.toLowerCase().includes("font-style:italic"))&&(y["data-italic"]="true"),{tagName:"span",attribs:y}},h3:function(h,y){return y["data-font-size"]=Math.round(1.125*c).toString(),y.style&&(y.style.toLowerCase().includes("font-style: italic")||y.style.toLowerCase().includes("font-style:italic"))&&(y["data-italic"]="true"),{tagName:"span",attribs:y}},h4:function(h,y){return y["data-font-size"]=c.toString(),y["data-bold"]="true",y.style&&(y.style.toLowerCase().includes("font-style: italic")||y.style.toLowerCase().includes("font-style:italic"))&&(y["data-italic"]="true"),{tagName:"span",attribs:y}},h5:function(h,y){return y["data-font-size"]=Math.round(.875*c).toString(),y.style&&(y.style.toLowerCase().includes("font-style: italic")||y.style.toLowerCase().includes("font-style:italic"))&&(y["data-italic"]="true"),{tagName:"span",attribs:y}},ul:function(h,y){return y["data-list-type"]="unordered",delete y.style,delete y["margin-top"],delete y["margin-bottom"],delete y["padding-inline-start"],{tagName:"ul",attribs:y}},ol:function(h,y){return y["data-list-type"]="ordered",y.start&&(y["data-list-start"]=y.start),delete y.style,delete y.start,{tagName:"ol",attribs:y}},li:function(h,y){return y["data-list-item"]="true",delete y.style,delete y.dir,delete y["aria-level"],delete y["list-style-type"],{tagName:"li",attribs:y}},p:function(h,y){return{tagName:"br",attribs:{}}},div:"br",b:function(h,y){if(y.style){const E=y.style.toLowerCase();return E.includes("font-weight: bold")||E.includes("font-weight:bold")||E.includes("font-weight: 700")||E.includes("font-weight:700")?{tagName:"strong"}:!1}return{tagName:"strong"}},i:function(h,y){if(y.style){const E=y.style.toLowerCase();return E.includes("font-style: italic")||E.includes("font-style:italic")?{tagName:"em"}:!1}return{tagName:"em"}},s:function(h,y){return{tagName:"strike",attribs:y}}},textFilter:function(h){return h.replace(/\s+/g," ")}});d=d.replace(/<[^\/>][^>]*>\s*<\/[^>]+>/g,"").replace(/(<br\s*\/?>){2,}/g,"<br>").trim();const u=document.createElement("div");u.innerHTML=d,(h=>{h.querySelectorAll("ul[data-list-type], ol[data-list-type]").forEach((y,E)=>{const S=y.getAttribute("data-list-type")==="ordered",v=y.querySelectorAll("li[data-list-item]");let C=1;S&&y.getAttribute("data-list-start")&&(C=parseInt(y.getAttribute("data-list-start"),10)||1);const L=document.createDocumentFragment(),w=y.previousSibling;w&&(w.nodeType===Node.TEXT_NODE&&w.textContent.trim()!==""||w.nodeType===Node.ELEMENT_NODE&&w.tagName!=="BR")&&L.appendChild(document.createElement("br")),v.forEach((T,k)=>{const D=document.createElement("span");D.innerHTML=S?`${C}. `:"• ",L.appendChild(D),($=>{const M=document.createElement("div");M.innerHTML=$.innerHTML;let H=M.firstChild;for(;H&&H.nodeType===1&&H.tagName==="BR";)M.removeChild(H),H=M.firstChild;if(!M.hasChildNodes()){const P=document.createTextNode("");M.appendChild(P)}for(;M.firstChild;)L.appendChild(M.firstChild)})(T),k<v.length-1&&L.appendChild(document.createElement("br")),C++}),y.parentNode.replaceChild(L,y)}),h.querySelectorAll("[data-list-type], [data-list-item], [data-list-start]").forEach(y=>{y.removeAttribute("data-list-type"),y.removeAttribute("data-list-item"),y.removeAttribute("data-list-start")})})(u),u.firstChild&&u.firstChild.nodeType===Node.ELEMENT_NODE&&u.firstChild.tagName==="BR"&&u.removeChild(u.firstChild),u.querySelectorAll("[data-font-size]").forEach(h=>{let y=`font-size: ${h.getAttribute("data-font-size")}px;`;h.getAttribute("data-bold")==="true"&&(y+=" font-weight: bold;"),h.getAttribute("data-italic")==="true"&&(y+=" font-style: italic;"),h.setAttribute("style",y),h.removeAttribute("data-font-size"),h.removeAttribute("data-bold"),h.removeAttribute("data-italic")}),u.querySelectorAll("[data-italic]").forEach(h=>{const y=document.createElement("em");y.innerHTML=h.innerHTML,h.innerHTML="",h.appendChild(y),h.removeAttribute("data-italic")}),u.querySelectorAll("a").forEach(h=>{const y=h.getAttribute("href");if(!y||y.trim()==="")h.replaceWith(...h.childNodes);else{h.setAttribute("target","_blank");const E=t?.links?.color??"#1C52DC",S=t?.links?.underline??!0?"underline":"none";h.setAttribute("style",`color: ${E}; text-decoration: ${S};`)}});const m=u.querySelectorAll("*");let f=0;m.forEach(h=>{h.tagName!=="BR"&&h.tagName!=="SPAN"&&h.textContent.replace(/[\u200B-\u200F\uFEFF\u2000-\u200A\u2028\u2029\u2060\u00A0\u1680\u180E]/g,"").trim()===""&&(h.parentNode.removeChild(h),f++)}),u.querySelectorAll("span").forEach(h=>{h.innerHTML==="• "||/^\d+\. $/.test(h.innerHTML)||h.textContent.replace(/[\u200B-\u200F\uFEFF\u2000-\u200A\u2028\u2029\u2060\u00A0\u1680\u180E]/g,"").trim()===""&&h.children.length===0&&(h.parentNode.removeChild(h),f++)});const g=window.getSelection(),b=g?.anchorNode?.nodeType===Node.ELEMENT_NODE?g.anchorNode:g?.anchorNode?.parentElement||null;yd(u,b),Ed(u,b),l=u.innerHTML}const s=window.getSelection();if(s&&s.rangeCount>0){const c=s.getRangeAt(0);c.deleteContents();const d=document.createRange().createContextualFragment(l);c.insertNode(d),c.collapse(!1)}}catch{const l=(e.clipboardData||window.clipboardData).getData("text/plain");document.execCommand("insertText",!1,l)}n(e),r()}var qr=Promise.resolve(),Wr=null;function Td(e,o){const{HTMLDocument:t,documentMapping:n,remoteDocument:r,messageService:i}=o;let l=t.getRangeByElement(e,!0);if(l){const s=n.getMappedReplacementRangeAtPosition(l.start)||n.getMappedReplacementRangeAtPosition(Math.max(l.end-1,l.start));s&&(l=s),l=n.correctRange(l),l=r.correctRange(l);const c={operation:"update_position_from_iframe",data:l};i.send(c)}}function Ld(e,o){Wr=e,qr=qr.finally(()=>{Wr===e&&Td(e,o)})}var $r="application/x-emailmaker-social-reorder";function Jo(e){return e.closest('table[em-type="social"]')}function zr(e){return(e.querySelector('table[role="presentation"]')||e.querySelector("table"))?.querySelector("tr")}function Vr(e){return Array.from(e.querySelectorAll(":scope > td[em-platform], :scope > td[data-em-platform]"))}function wd(e){return Array.from(e.querySelectorAll(":scope > td:not([em-platform]):not([data-em-platform])")).find(o=>{const t=o;return t.getAttribute("width")!=null||t.innerHTML===" "||t.textContent===" "})}function kd(e,o){const t=wd(e);e.replaceChildren(),o.forEach((n,r)=>{r>0&&t&&e.appendChild(t.cloneNode(!0)),n.removeAttribute("em-index"),n.removeAttribute("data-em-index"),e.appendChild(n)})}function _d(e,o){if(o.lockEditor)return;const t=e.target?.closest?.("td[em-platform], td[data-em-platform]");if(!t||t.getAttribute("draggable")!=="true")return;const n=Jo(t);if(!n)return;const r=zr(n);if(!r)return;const i=Vr(r);if(i.length<2)return;const l=i.indexOf(t);if(l<0)return;const s=e.dataTransfer;if(!s)return;const c=String(l);s.setData("text/plain",c),s.setData($r,c),s.effectAllowed="move"}function Nd(e,o){const t=e.dataTransfer;if(!t||!Array.from(t.types||[]).includes("application/x-emailmaker-social-reorder"))return!1;let n=t.getData($r);n||(n=t.getData("text/plain"));const r=parseInt(n,10);if(Number.isNaN(r))return!1;const i=e.target.closest?.("td[em-platform], td[data-em-platform]");if(!i)return!1;const l=Jo(i);if(!l)return!1;const s=zr(l);if(!s)return!1;const c=Vr(s);if(c.length<2)return!1;const d=c.indexOf(i);if(d<0)return!1;const u=c[r];if(!u||Jo(u)!==l)return!1;if(r===d)return!0;const p=[...c];return p.splice(r,1),p.splice(d,0,u),kd(s,p),l.setAttribute("em-edit","active"),o.applicationElementSettingsSet({elem:l}),!0}function Bd(e){if(!e)return{backgroundColor:void 0,backgroundImage:void 0,backgroundPositionX:void 0,backgroundPositionY:void 0,backgroundRepeat:void 0,backgroundSize:void 0};const o={};if(e.style.backgroundColor?o.backgroundColor=e.style.backgroundColor:e.getAttribute("bgcolor")&&(o.backgroundColor=e.getAttribute("bgcolor")||void 0),e.style.backgroundImage){const t=e.style.backgroundImage;o.backgroundImage=[{type:"url",value:t?t.substring(5,t.length-2):""}]}else e.getAttribute("background")&&(o.backgroundImage=[{type:"url",value:e.getAttribute("background")||""}]);return o.backgroundPositionX=e.style.backgroundPositionX||void 0,o.backgroundPositionY=e.style.backgroundPositionY||void 0,o.backgroundRepeat=e.style.backgroundRepeat||void 0,o.backgroundSize=e.style.backgroundSize||void 0,o}function Md(e){if(e){if(document.querySelector(".es-header")||document.querySelector(".es-content")||document.querySelector(".es-footer")){const o=e.querySelector(".es-content"),t=e.querySelector(".es-content-body");return parseFloat(o?.style.width||"")||parseFloat(t?.style.width||"")||void 0}if(document.querySelector(".nl-container")&&document.querySelector(".row")){const o=document.querySelector(".row-content");return parseFloat(o?.style.width||"")||parseFloat(o?.getAttribute("width")||"")||void 0}if(document.querySelector(".nl-container")&&!document.querySelector(".row")){const o=e.querySelector('[style*="max-width"]');return parseFloat(o?.style.maxWidth||"")||void 0}if(document.querySelector('[class*="letteros"]')||document.querySelector("[letteros-link]")){const o=e.querySelector("table:first-child");if(o?.style.maxWidth)return parseFloat(o.style.maxWidth)||void 0}if(document.querySelector(".container-div")){const o=e.querySelector("div:first-child");if(o?.style.maxWidth)return parseFloat(o.style.maxWidth)||void 0}if(document.querySelector(".email-container")){const o=document.querySelector(".email-container");return parseFloat(o?.getAttribute("width")||"")||void 0}return Rd(e)}}function Rd(e){const o=e.querySelector("table:first-child");if(!o)return;const t=parseFloat(o.getAttribute("width")||""),n=parseFloat(o.style.maxWidth||"");if(t>700||n>700){const i=e.querySelector('table:first-child [em="block"] > td > table');if(i){const l=i.getAttribute("width");return l&&l.indexOf("%")===-1?parseFloat(l):i.style.maxWidth?parseFloat(i.style.maxWidth):e.querySelector('table:first-child [em="block"]')?.clientWidth||660}return 660}const r=o.getAttribute("width");if(r&&r.indexOf("%")===-1)return parseFloat(r);if(o.style.maxWidth)return parseFloat(o.style.maxWidth)}function Pd(e,o){const t={shutdown:void 0,styles:!0};if(!e||!o)return t;const n=e.querySelector("table:first-child");if(!n)return t;const r=n.getAttribute("width"),i=parseFloat(n.style.minWidth||"");return r&&r.indexOf("%")===-1&&i===parseFloat(r)||e.querySelector(".noresp-em-narrow-table")?{shutdown:!1,styles:!1}:{shutdown:!0,styles:!0}}function Hd(e,o){!e||!o||document.querySelector(".noresp-em-narrow-table, .em-narrow-table")&&(e.getBoundingClientRect().width<=o||document.querySelectorAll("img").forEach(t=>{const n=t.closest("td")?.getBoundingClientRect().width;n&&parseFloat(t.getAttribute("width")||"")>n&&n>10&&t.style.display!=="none"&&(t.setAttribute("width",String(Math.ceil(n))),t.style.maxWidth=Math.ceil(n)+"px")}))}function Id(e){const o=e.findGlobalHolder();e.setGlobalHolder(o);const t={operation:"application_email_settings_set",settings:{subject:e.getSubject(),preheader:e.getPreheader(),responsive:{shutdown:void 0,styles:!0},structuresMedia:!(document.querySelector('[em="block"] div[style*="display: inline-block"]')&&!document.querySelector('[em="block"] .em-mob-wrap, [em="block"] .noresp-em-mob-wrap')),usedColors:e.getUsedColors(),noBlocks:!1,width:{value:void 0,dim:"px"},backgroundColor:void 0,backgroundImage:void 0,backgroundPositionX:void 0,backgroundPositionY:void 0,backgroundRepeat:void 0,backgroundSize:void 0,backgroundColorContent:void 0}};if(o){const s=Bd(o);s.backgroundColor&&s.backgroundColor.startsWith("rgb")&&(s.backgroundColor=e.rgbToHex(s.backgroundColor)),Object.assign(t.settings,s)}e.elMarkupHelper(),document.querySelector('[em="block"]')||(t.settings.noBlocks=!0);const n=Md(o),r=e.state.get("emailWidth"),i=e.getEmailWidth(),l=typeof r=="number"&&r>=320?r:typeof i=="number"&&i>=320?i:n;t.settings.width.value=l,o&&(t.settings.responsive=Pd(o,l),typeof l=="number"&&e.state.set("emailWidth",l)),e.messageService.send(t),Hd(o,e.getEmailWidth())}function Od(e,o=!1){e.state.set("lockEditorInit",!0),document.body&&(e.removeHiddenClasses(document),Id(e),e.commit(!1))}function xd(e,o){const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);let n=0,r=null;for(;t.nextNode();){r=t.currentNode;const i=(r.textContent||"").length;if(n+i>=o){const l=o-n;return{node:r,offset:l}}n+=i}if(r){const i=r.textContent?.length||0;return{node:r,offset:i}}return null}function Dd(e,o,t,n){try{if(!t||t.nodeType!==Node.TEXT_NODE)return!1;const r=t.textContent?t.textContent.length:0,i=Math.min(Math.max(0,n),r);return e.setStart(t,i),e.collapse(!0),o.removeAllRanges(),o.addRange(e),!0}catch{return!1}}var Fd=["style","class","align","href"],qd=32;function Wd(e){return!!(e.tagName==="BODY"||e.getAttribute("em")==="atom"||e.tagName==="TABLE"&&e.hasAttribute("em"))}function $d(e){const o=[e.tagName];for(const t of Fd){const n=e.getAttribute(t);n!==null&&n!==""&&o.push(`${t}=${n}`)}return o.join("|")}function Ht(e){if(!e||!e.isConnected)return"";const o=[];let t=e,n=0;for(;t&&n<qd&&(o.push($d(t)),!Wd(t));)t=t.parentElement,n++;return o.join("||")}var zd=[{name:"Stripo (es-header/content/footer)",detect:()=>!!(document.querySelector(".es-header")||document.querySelector(".es-content")||document.querySelector(".es-footer")),apply:()=>{document.querySelectorAll(".es-header, .es-content, .es-footer").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll(".es-header-body > tr").forEach(e=>{e.setAttribute("em","block")}),document.querySelectorAll(".es-content-body > tr").forEach(e=>{e.setAttribute("em","block")}),document.querySelectorAll(".es-footer-body > tr").forEach(e=>{e.setAttribute("em","block")})}},{name:"Stripo (es-wrapper)",detect:()=>!!document.querySelector(".es-wrapper"),apply:()=>{document.querySelectorAll(".es-wrapper > tr > td > table > tr").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll(".es-wrapper > tr > td > table > tr > td > table > tr").forEach(e=>{e.setAttribute("em","block")})}},{name:"Sandsay",detect:()=>!!(document.querySelector("[data-template-wrapper]")&&document.querySelector("[data-template-content]")),apply:()=>{document.querySelectorAll("[data-template-wrapper] > table[data-block-id]").forEach(e=>{e.setAttribute("em","block")})}},{name:"Beefree",detect:()=>!!(document.querySelector(".nl-container")&&document.querySelector(".row")),apply:()=>{document.querySelectorAll('.row[em="block"]').forEach(e=>{e.removeAttribute("em")}),document.querySelectorAll(".row").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll(".row-content").forEach(e=>{e.setAttribute("em","block")})}},{name:"Chamaileon",detect:()=>!!document.querySelector(".main-container"),apply:()=>{document.querySelectorAll(".main-container > tr > td > table").forEach(e=>{e.setAttribute("em","block")})}},{name:"Chamaileon (email-container)",detect:()=>!!document.querySelector(".email-container"),apply:()=>{document.querySelectorAll(".email-container > tr > td > table > tr > td > table > tr").forEach(e=>{e.setAttribute("em","block")})}},{name:"Mindbox",detect:()=>!!(document.querySelector(".nl-container")&&!document.querySelector(".row")),apply:()=>{document.querySelectorAll(".nl-container > tr > td > div").forEach(e=>{e.setAttribute("em","block")})}},{name:"Unlayer",detect:()=>!!(document.querySelector(".clean-body.u_body")&&!document.querySelector(".row")),apply:()=>{document.querySelectorAll(".u-row-container").forEach(e=>{e.setAttribute("em","block")})}},{name:"Postcards",detect:()=>!!(document.querySelector(".pc-email-body")&&!document.querySelector(".row")),apply:()=>{document.querySelectorAll('.pc-email-container > tr > td > table[role="presentation"]').forEach(e=>{e.setAttribute("em","block")})}},{name:"Topol",detect:()=>!!(document.querySelector(".hide_section_on_mobile")||document.querySelector(".mj-column-per-100")||document.querySelector(".outlook-group-fix")),apply:()=>{document.querySelectorAll("body > div > div").forEach(e=>{e.setAttribute("em","block")})}},{name:"Sender",detect:()=>!!document.querySelector(".e-c.sect"),apply:()=>{document.querySelectorAll(".e-c.sect").forEach(e=>{e.setAttribute("em","block")})}},{name:"Letteros",detect:()=>!!(!document.querySelector("[mailfit-module]")&&(document.querySelector('[class*="letteros"]')||document.querySelector("[letteros-link]"))),apply:()=>{document.querySelectorAll("body > div > table > tr").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll("body > div > table > tr > td > table > tr").forEach(e=>{e.setAttribute("em","block")}),document.querySelectorAll('[style*="overflow"]').forEach(e=>{e.style.removeProperty("overflow")})}},{name:"Letteros (letteros-element)",detect:()=>!!document.querySelector("[letteros-element]"),apply:()=>{document.querySelectorAll("[letteros-body]").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll("[letteros-element]").forEach(e=>{e.setAttribute("em","block")})}},{name:"Ascona",detect:()=>!!(document.querySelector(".mail_preheader")&&document.body.classList.contains("body")),apply:()=>{document.querySelectorAll("#mailsub > table > tr").forEach(e=>{e.setAttribute("em","group"),e.querySelectorAll(":scope > td > div > table > tr").forEach(o=>{o.setAttribute("em","block")})})}},{name:"Mailfit",detect:()=>!!document.querySelector("[mailfit-module]"),apply:()=>{document.querySelectorAll("body > div > table > tr").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll("[mailfit-module]").forEach(e=>{e.setAttribute("em","block")})}},{name:"CashCowAgency",detect:()=>!!document.querySelector(".container-div"),apply:()=>{document.querySelectorAll("body > center").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll(".container-td > table").forEach(e=>{e.setAttribute("em","block")})}},{name:"MakeMail",detect:()=>!!(document.querySelector(".mail")&&document.querySelector(".container")),apply:()=>{document.querySelectorAll(".container").forEach(e=>{e.setAttribute("em","block")})}},{name:"data-axle.com",detect:()=>!!document.querySelector(".full-width-container-inner"),apply:()=>{document.querySelectorAll(".full-width-container-inner > table").forEach(e=>{e.setAttribute("em","block")})}},{name:"Miro",detect:()=>!!document.querySelector(".content__tablet_fullWidth"),apply:()=>{document.querySelectorAll(".content__tablet_fullWidth").forEach(e=>{for(const o of Array.from(e.children))if(o.children.length>1)for(const t of Array.from(o.children))t.setAttribute("em","block");else for(const t of Array.from(o.children))for(const n of Array.from(t.children))for(const r of Array.from(n.children))r.setAttribute("em","block")})}},{name:"WIM (full-wrap)",detect:()=>!!(document.body.classList.contains("body")&&document.querySelector("[alink]")&&document.querySelector(".full-wrap")),apply:()=>{document.querySelectorAll(".full-wrap > tr > td > div > table > tr").forEach(e=>{e.setAttribute("em","group"),e.querySelectorAll(":scope > td > div > table > tr, :scope > td > table > tr").forEach(o=>{o.setAttribute("em","block")})})}},{name:"WIM",detect:()=>!!(document.body.classList.contains("body")&&document.querySelector("[alink]")&&!document.querySelector(".full-wrap")),apply:()=>{document.querySelectorAll('body > table > tr > td > table > tr, body > div[style*="-webkit-text-size-adjust"] > table > tr > td > table > tr, body > table > tbody > tr > td > table > tbody > tr, body > div[style*="-webkit-text-size-adjust"] > table > tbody > tr > td > table > tbody > tr').forEach(e=>{e.setAttribute("em","group"),e.querySelectorAll(":scope > td > table > tr > td > table > tr").forEach(o=>{o.setAttribute("em","block")})})}},{name:"Emailify",detect:()=>document.body.classList.contains("emailify"),apply:()=>{document.querySelectorAll("body > div > div > table > tr").forEach(e=>{e.setAttribute("em","block")})}}];function Vd(){document.querySelectorAll('body > table > tr, body > div[style*="-webkit-text-size-adjust"] > table > tr').forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll('body > table > tr > td > table > tr, body > div[style*="-webkit-text-size-adjust"] > table > tr > td > table > tr, body > table > tbody > tr > td > table > tbody > tr, body > div[style*="-webkit-text-size-adjust"] > table > tbody > tr > td > table > tbody > tr').forEach(e=>{e.setAttribute("em","block")})}function Ud(e){const o=document.querySelector("[em=blocks]");if(o){for(const n of Array.from(o.children))n.setAttribute("em","block");o.removeAttribute("em"),a.commit();return}if(e){let n=!1;for(const r of zd)if(r.detect()){r.apply(),n=!0;break}n||Vd()}const t=document.querySelector("[em=atoms]");if(t){for(const n of Array.from(t.children))n.setAttribute("em","atom");t.removeAttribute("em")}document.documentElement?.style.height&&document.documentElement.style.removeProperty("height"),document.body?.style.height&&document.body.style.removeProperty("height"),document.querySelector(".em-narrow-table, .noresp-em-narrow-table")||a.messageService.send({operation:"application_template_not_em_alert_show"}),a.commit()}function jd(e,o){const{target:t}=e;setTimeout(()=>{const n=t?.querySelector("a");if(!n)return;const r=n.closest("div, td, h1, h2, h3, h4, h5, h6, li, ul, ol, sup, sub");r&&(r.childNodes.forEach(i=>{if(i.nodeType===Node.COMMENT_NODE&&i.nodeValue?.includes("[if mso]")){const l=n.innerHTML.length*11+40;i.nodeValue=i.nodeValue.replace(/(<center[^>]*>)(.*?)(<\/center>)/s,(s,c,d,u)=>c+n.innerHTML+u).replace(/(width:)(\d+)(px)/,(s,c,d,u)=>`${c}${l}${u}`)}}),o(!1))},0)}function Gd(e,o){if(!e||!e.length)return;let t=document.head.querySelector('style[em="styles"]'),n="";t?n=o.getInnerHtml(t):(t=document.createElement("style"),t.setAttribute("em","styles"),t=document.head.insertAdjacentElement("beforeend",t));const r=document.createElement("div");r.insertAdjacentHTML("afterbegin",e.join(`
|
|
253
|
+
`}_getRenderBounds(){const e=this._getPlaceholderElement();if(e){const n=e.getBoundingClientRect(),r=320,i=220,l=Math.max(document.documentElement.clientWidth,window.innerWidth||0),s=Math.max(document.documentElement.clientHeight,window.innerHeight||0),c=n.right+12,d=n.left-r-12,u=c+r<=l?c:Math.max(8,d);return{top:Math.min(Math.max(8,n.top+n.height/2-i/2),Math.max(8,s-i-8))+window.scrollY,left:u+window.scrollX,width:r,height:i}}const o=this._getRenderRoot();if(!o)return{top:window.scrollY,left:window.scrollX,width:Math.max(window.innerWidth,800),height:Math.max(window.innerHeight,600)};const t=o.getBoundingClientRect();return{top:t.top+window.scrollY,left:t.left+window.scrollX,width:Math.max(Math.ceil(o.scrollWidth||t.width),Math.ceil(t.width),320),height:Math.max(Math.ceil(o.scrollHeight||t.height),Math.ceil(t.height),240)}}_getRenderRoot(){for(const e of['[em="block-contaner"]',".es-wrapper-color",".es-content-body",".es-content","body > table","body > div"]){const o=document.querySelector(e);if(o instanceof HTMLElement)return o}return document.body}_getPlaceholderElement(){const e=document.querySelector(".confetti-placeholder");return e instanceof HTMLElement?e:null}onEffectStart(e,o){}onEffectComplete(e){}dispose(){for(const e of this._containers.values())e.remove();this._containers.clear(),super.dispose()}},sd=[ad];function cd(e,o){const t=o==="sup"?"sub":"sup";e.querySelectorAll(`${o}, ${t}`).forEach(n=>{const r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);n.remove()}})}function dd(e,o,t){const n=document.createElement(t);try{if(typeof o=="string")n.textContent=o||e.toString();else if(o instanceof DocumentFragment)n.appendChild(o);else if(o instanceof HTMLElement)for(;o.firstChild;)n.appendChild(o.firstChild);else n.textContent=e.toString();e.deleteContents(),e.insertNode(n)}catch{return null}return n}function md(e){const o=e.parentNode;if(!o)return document.createTextNode("");if(Array.from(e.childNodes).some(t=>t.nodeType===1)){const t=document.createDocumentFragment(),n=Array.from(e.childNodes);for(;e.firstChild;)t.appendChild(e.firstChild);return o.replaceChild(t,e),n[0]||document.createTextNode("")}else{const t=e.textContent||"",n=document.createTextNode(t);return o.replaceChild(n,e),n}}function ud(e,o,t){if(!e)return!1;const n=e.textContent?.trim()||"";let r="";if(t){const i=o.cloneRange(),l=i;try{l.expand&&l.expand("word"),r=i.toString().trim()}catch{return!1}}else r=o.toString().trim();return n===r}function fd(e,o){const t=e.textContent||"",n=o.toString(),r=o.startOffset,i=o.endOffset,l=document.createTextNode(t.slice(0,r)),s=document.createTextNode(n),c=document.createTextNode(t.slice(i)),d=e.parentNode;return d&&(d.insertBefore(l,e),d.insertBefore(s,e),c.textContent&&d.insertBefore(c,e),e.remove()),o.setStart(s,0),o.setEnd(s,s.length),s}function pd(e,o=[]){const t=[...new Set(["strong","em","b","i","u","sub","sup","strike",...o])].join(", ");e.querySelectorAll(t).forEach(n=>{!n.textContent?.trim()&&(!n.hasChildNodes()||Array.from(n.childNodes).every(r=>r.nodeType===Node.TEXT_NODE&&!r.textContent?.trim()))&&n.remove()})}function gd(e,o=10){const t=e.length;return t===0?!1:(e.match(/[а-яА-ЯёЁ]/g)||[]).length/t*100>o}var bd={bold:"strong|s|b",italic:"em|i",strike:"strike",underline:"u",strikeUnderline:"strike|u"};function Rt(e,o){const t=bd[o]||o,n=new RegExp(`<\\/?(${t})>`,"gi");return e.replaceAll(n,"")}var hd=["strong","em","strike","sub","sup","b","i","s","u"];function yd(e,o){if(o)for(const t of hd)o.closest(t)&&e.querySelectorAll(t).forEach(n=>{const r=n.parentNode;if(r){for(;n.firstChild;)r.insertBefore(n.firstChild,n);n.remove()}})}function Ed(e,o){o&&o.closest("a")&&e.querySelectorAll("a").forEach(t=>{const n=t.parentNode;if(n){for(;t.firstChild;)n.insertBefore(t.firstChild,t);t.remove()}})}var Sd="./js/sanitize-html/sanitize-html.js",Dr="data-sanitize-html-loader",mo=null,Pt=null;function Cd(){return new URL(Sd,document.baseURI||window.location.href).href}function Zo(){const e=globalThis.sanitizeHtml;return typeof e!="function"||!("defaults"in e)?null:e}function vd(){if(Zo())return Promise.resolve();const e=Cd();return document.querySelector(`script[${Dr}]`)?Pt??Promise.resolve():(Pt||(Pt=new Promise((o,t)=>{const n=document.createElement("script");n.src=e,n.async=!0,n.setAttribute(Dr,"true"),n.onload=()=>o(),n.onerror=()=>{n.remove(),Pt=null,t(new Error(`Failed to load sanitize-html script: ${e}`))},document.head.appendChild(n)})),Pt)}async function Ad(){const e=Zo();return e||(mo||(mo=(async()=>{await vd();const o=Zo();if(o)return o;throw new Error("sanitizeHtml not available after script load")})().catch(o=>{throw mo=null,o})),mo)}async function Fr(e,o=!1,t,n,r){e.preventDefault(),e.stopPropagation();try{const i=e.clipboardData||window.clipboardData;if(!i)return;let l=i.getData("text/html");if(!l||o)l=i.getData("text/plain"),l=l.replace(/\n/g,"<br>");else{const c=t?.text?.fontSize||16;let d=(await Ad())(l,{allowedTags:["strong","em","i","a","br","span","ul","ol","li","strike","sub","sup","s"],allowedAttributes:{a:["href"],span:["data-font-size","data-bold","data-italic"],strong:["data-italic"],ul:["data-list-type"],ol:["data-list-type","data-list-start"],li:["data-list-item"]},allowedStyles:{},transformTags:{span:function(h,y){let E="",S=!1,v=!1;if(y.style){const C=y.style.toLowerCase();(C.includes("font-weight: bold")||C.includes("font-weight:bold")||C.includes("font-weight: 700")||C.includes("font-weight:700"))&&(S=!0),(C.includes("font-style: italic")||C.includes("font-style:italic"))&&(v=!0),C.includes("text-decoration: underline")||C.includes("text-decoration:underline"),S&&v?(E="strong",y["data-italic"]="true"):S?E="strong":v&&(E="em")}return{tagName:E||"",attribs:y}},h1:function(h,y){return y["data-font-size"]=Math.round(1.5*c).toString(),y.style&&(y.style.toLowerCase().includes("font-style: italic")||y.style.toLowerCase().includes("font-style:italic"))&&(y["data-italic"]="true"),{tagName:"span",attribs:y}},h2:function(h,y){return y["data-font-size"]=Math.round(1.25*c).toString(),y.style&&(y.style.toLowerCase().includes("font-style: italic")||y.style.toLowerCase().includes("font-style:italic"))&&(y["data-italic"]="true"),{tagName:"span",attribs:y}},h3:function(h,y){return y["data-font-size"]=Math.round(1.125*c).toString(),y.style&&(y.style.toLowerCase().includes("font-style: italic")||y.style.toLowerCase().includes("font-style:italic"))&&(y["data-italic"]="true"),{tagName:"span",attribs:y}},h4:function(h,y){return y["data-font-size"]=c.toString(),y["data-bold"]="true",y.style&&(y.style.toLowerCase().includes("font-style: italic")||y.style.toLowerCase().includes("font-style:italic"))&&(y["data-italic"]="true"),{tagName:"span",attribs:y}},h5:function(h,y){return y["data-font-size"]=Math.round(.875*c).toString(),y.style&&(y.style.toLowerCase().includes("font-style: italic")||y.style.toLowerCase().includes("font-style:italic"))&&(y["data-italic"]="true"),{tagName:"span",attribs:y}},ul:function(h,y){return y["data-list-type"]="unordered",delete y.style,delete y["margin-top"],delete y["margin-bottom"],delete y["padding-inline-start"],{tagName:"ul",attribs:y}},ol:function(h,y){return y["data-list-type"]="ordered",y.start&&(y["data-list-start"]=y.start),delete y.style,delete y.start,{tagName:"ol",attribs:y}},li:function(h,y){return y["data-list-item"]="true",delete y.style,delete y.dir,delete y["aria-level"],delete y["list-style-type"],{tagName:"li",attribs:y}},p:function(h,y){return{tagName:"br",attribs:{}}},div:"br",b:function(h,y){if(y.style){const E=y.style.toLowerCase();return E.includes("font-weight: bold")||E.includes("font-weight:bold")||E.includes("font-weight: 700")||E.includes("font-weight:700")?{tagName:"strong"}:!1}return{tagName:"strong"}},i:function(h,y){if(y.style){const E=y.style.toLowerCase();return E.includes("font-style: italic")||E.includes("font-style:italic")?{tagName:"em"}:!1}return{tagName:"em"}},s:function(h,y){return{tagName:"strike",attribs:y}}},textFilter:function(h){return h.replace(/\s+/g," ")}});d=d.replace(/<[^\/>][^>]*>\s*<\/[^>]+>/g,"").replace(/(<br\s*\/?>){2,}/g,"<br>").trim();const u=document.createElement("div");u.innerHTML=d,(h=>{h.querySelectorAll("ul[data-list-type], ol[data-list-type]").forEach((y,E)=>{const S=y.getAttribute("data-list-type")==="ordered",v=y.querySelectorAll("li[data-list-item]");let C=1;S&&y.getAttribute("data-list-start")&&(C=parseInt(y.getAttribute("data-list-start"),10)||1);const L=document.createDocumentFragment(),w=y.previousSibling;w&&(w.nodeType===Node.TEXT_NODE&&w.textContent.trim()!==""||w.nodeType===Node.ELEMENT_NODE&&w.tagName!=="BR")&&L.appendChild(document.createElement("br")),v.forEach((T,k)=>{const D=document.createElement("span");D.innerHTML=S?`${C}. `:"• ",L.appendChild(D),($=>{const M=document.createElement("div");M.innerHTML=$.innerHTML;let H=M.firstChild;for(;H&&H.nodeType===1&&H.tagName==="BR";)M.removeChild(H),H=M.firstChild;if(!M.hasChildNodes()){const P=document.createTextNode("");M.appendChild(P)}for(;M.firstChild;)L.appendChild(M.firstChild)})(T),k<v.length-1&&L.appendChild(document.createElement("br")),C++}),y.parentNode.replaceChild(L,y)}),h.querySelectorAll("[data-list-type], [data-list-item], [data-list-start]").forEach(y=>{y.removeAttribute("data-list-type"),y.removeAttribute("data-list-item"),y.removeAttribute("data-list-start")})})(u),u.firstChild&&u.firstChild.nodeType===Node.ELEMENT_NODE&&u.firstChild.tagName==="BR"&&u.removeChild(u.firstChild),u.querySelectorAll("[data-font-size]").forEach(h=>{let y=`font-size: ${h.getAttribute("data-font-size")}px;`;h.getAttribute("data-bold")==="true"&&(y+=" font-weight: bold;"),h.getAttribute("data-italic")==="true"&&(y+=" font-style: italic;"),h.setAttribute("style",y),h.removeAttribute("data-font-size"),h.removeAttribute("data-bold"),h.removeAttribute("data-italic")}),u.querySelectorAll("[data-italic]").forEach(h=>{const y=document.createElement("em");y.innerHTML=h.innerHTML,h.innerHTML="",h.appendChild(y),h.removeAttribute("data-italic")}),u.querySelectorAll("a").forEach(h=>{const y=h.getAttribute("href");if(!y||y.trim()==="")h.replaceWith(...h.childNodes);else{h.setAttribute("target","_blank");const E=t?.links?.color??"#1C52DC",S=t?.links?.underline??!0?"underline":"none";h.setAttribute("style",`color: ${E}; text-decoration: ${S};`)}});const m=u.querySelectorAll("*");let f=0;m.forEach(h=>{h.tagName!=="BR"&&h.tagName!=="SPAN"&&h.textContent.replace(/[\u200B-\u200F\uFEFF\u2000-\u200A\u2028\u2029\u2060\u00A0\u1680\u180E]/g,"").trim()===""&&(h.parentNode.removeChild(h),f++)}),u.querySelectorAll("span").forEach(h=>{h.innerHTML==="• "||/^\d+\. $/.test(h.innerHTML)||h.textContent.replace(/[\u200B-\u200F\uFEFF\u2000-\u200A\u2028\u2029\u2060\u00A0\u1680\u180E]/g,"").trim()===""&&h.children.length===0&&(h.parentNode.removeChild(h),f++)});const p=window.getSelection(),b=p?.anchorNode?.nodeType===Node.ELEMENT_NODE?p.anchorNode:p?.anchorNode?.parentElement||null;yd(u,b),Ed(u,b),l=u.innerHTML}const s=window.getSelection();if(s&&s.rangeCount>0){const c=s.getRangeAt(0);c.deleteContents();const d=document.createRange().createContextualFragment(l);c.insertNode(d),c.collapse(!1)}}catch{const l=(e.clipboardData||window.clipboardData).getData("text/plain");document.execCommand("insertText",!1,l)}n(e),r()}var qr=Promise.resolve(),Wr=null;function Td(e,o){const{HTMLDocument:t,documentMapping:n,remoteDocument:r,messageService:i}=o;let l=t.getRangeByElement(e,!0);if(l){const s=n.getMappedReplacementRangeAtPosition(l.start)||n.getMappedReplacementRangeAtPosition(Math.max(l.end-1,l.start));s&&(l=s),l=n.correctRange(l),l=r.correctRange(l);const c={operation:"update_position_from_iframe",data:l};i.send(c)}}function Ld(e,o){Wr=e,qr=qr.finally(()=>{Wr===e&&Td(e,o)})}var $r="application/x-emailmaker-social-reorder";function Jo(e){return e.closest('table[em-type="social"]')}function zr(e){return(e.querySelector('table[role="presentation"]')||e.querySelector("table"))?.querySelector("tr")}function Vr(e){return Array.from(e.querySelectorAll(":scope > td[em-platform], :scope > td[data-em-platform]"))}function wd(e){return Array.from(e.querySelectorAll(":scope > td:not([em-platform]):not([data-em-platform])")).find(o=>{const t=o;return t.getAttribute("width")!=null||t.innerHTML===" "||t.textContent===" "})}function kd(e,o){const t=wd(e);e.replaceChildren(),o.forEach((n,r)=>{r>0&&t&&e.appendChild(t.cloneNode(!0)),n.removeAttribute("em-index"),n.removeAttribute("data-em-index"),e.appendChild(n)})}function _d(e,o){if(o.lockEditor)return;const t=e.target?.closest?.("td[em-platform], td[data-em-platform]");if(!t||t.getAttribute("draggable")!=="true")return;const n=Jo(t);if(!n)return;const r=zr(n);if(!r)return;const i=Vr(r);if(i.length<2)return;const l=i.indexOf(t);if(l<0)return;const s=e.dataTransfer;if(!s)return;const c=String(l);s.setData("text/plain",c),s.setData($r,c),s.effectAllowed="move"}function Nd(e,o){const t=e.dataTransfer;if(!t||!Array.from(t.types||[]).includes("application/x-emailmaker-social-reorder"))return!1;let n=t.getData($r);n||(n=t.getData("text/plain"));const r=parseInt(n,10);if(Number.isNaN(r))return!1;const i=e.target.closest?.("td[em-platform], td[data-em-platform]");if(!i)return!1;const l=Jo(i);if(!l)return!1;const s=zr(l);if(!s)return!1;const c=Vr(s);if(c.length<2)return!1;const d=c.indexOf(i);if(d<0)return!1;const u=c[r];if(!u||Jo(u)!==l)return!1;if(r===d)return!0;const g=[...c];return g.splice(r,1),g.splice(d,0,u),kd(s,g),l.setAttribute("em-edit","active"),o.applicationElementSettingsSet({elem:l}),!0}function Bd(e){if(!e)return{backgroundColor:void 0,backgroundImage:void 0,backgroundPositionX:void 0,backgroundPositionY:void 0,backgroundRepeat:void 0,backgroundSize:void 0};const o={};if(e.style.backgroundColor?o.backgroundColor=e.style.backgroundColor:e.getAttribute("bgcolor")&&(o.backgroundColor=e.getAttribute("bgcolor")||void 0),e.style.backgroundImage){const t=e.style.backgroundImage;o.backgroundImage=[{type:"url",value:t?t.substring(5,t.length-2):""}]}else e.getAttribute("background")&&(o.backgroundImage=[{type:"url",value:e.getAttribute("background")||""}]);return o.backgroundPositionX=e.style.backgroundPositionX||void 0,o.backgroundPositionY=e.style.backgroundPositionY||void 0,o.backgroundRepeat=e.style.backgroundRepeat||void 0,o.backgroundSize=e.style.backgroundSize||void 0,o}function Md(e){if(e){if(document.querySelector(".es-header")||document.querySelector(".es-content")||document.querySelector(".es-footer")){const o=e.querySelector(".es-content"),t=e.querySelector(".es-content-body");return parseFloat(o?.style.width||"")||parseFloat(t?.style.width||"")||void 0}if(document.querySelector(".nl-container")&&document.querySelector(".row")){const o=document.querySelector(".row-content");return parseFloat(o?.style.width||"")||parseFloat(o?.getAttribute("width")||"")||void 0}if(document.querySelector(".nl-container")&&!document.querySelector(".row")){const o=e.querySelector('[style*="max-width"]');return parseFloat(o?.style.maxWidth||"")||void 0}if(document.querySelector('[class*="letteros"]')||document.querySelector("[letteros-link]")){const o=e.querySelector("table:first-child");if(o?.style.maxWidth)return parseFloat(o.style.maxWidth)||void 0}if(document.querySelector(".container-div")){const o=e.querySelector("div:first-child");if(o?.style.maxWidth)return parseFloat(o.style.maxWidth)||void 0}if(document.querySelector(".email-container")){const o=document.querySelector(".email-container");return parseFloat(o?.getAttribute("width")||"")||void 0}return Rd(e)}}function Rd(e){const o=e.querySelector("table:first-child");if(!o)return;const t=parseFloat(o.getAttribute("width")||""),n=parseFloat(o.style.maxWidth||"");if(t>700||n>700){const i=e.querySelector('table:first-child [em="block"] > td > table');if(i){const l=i.getAttribute("width");return l&&l.indexOf("%")===-1?parseFloat(l):i.style.maxWidth?parseFloat(i.style.maxWidth):e.querySelector('table:first-child [em="block"]')?.clientWidth||660}return 660}const r=o.getAttribute("width");if(r&&r.indexOf("%")===-1)return parseFloat(r);if(o.style.maxWidth)return parseFloat(o.style.maxWidth)}function Pd(e,o){const t={shutdown:void 0,styles:!0};if(!e||!o)return t;const n=e.querySelector("table:first-child");if(!n)return t;const r=n.getAttribute("width"),i=parseFloat(n.style.minWidth||"");return r&&r.indexOf("%")===-1&&i===parseFloat(r)||e.querySelector(".noresp-em-narrow-table")?{shutdown:!1,styles:!1}:{shutdown:!0,styles:!0}}function Hd(e,o){!e||!o||document.querySelector(".noresp-em-narrow-table, .em-narrow-table")&&(e.getBoundingClientRect().width<=o||document.querySelectorAll("img").forEach(t=>{const n=t.closest("td")?.getBoundingClientRect().width;n&&parseFloat(t.getAttribute("width")||"")>n&&n>10&&t.style.display!=="none"&&(t.setAttribute("width",String(Math.ceil(n))),t.style.maxWidth=Math.ceil(n)+"px")}))}function Id(e){const o=e.findGlobalHolder();e.setGlobalHolder(o);const t={operation:"application_email_settings_set",settings:{subject:e.getSubject(),preheader:e.getPreheader(),responsive:{shutdown:void 0,styles:!0},structuresMedia:!(document.querySelector('[em="block"] div[style*="display: inline-block"]')&&!document.querySelector('[em="block"] .em-mob-wrap, [em="block"] .noresp-em-mob-wrap')),usedColors:e.getUsedColors(),noBlocks:!1,width:{value:void 0,dim:"px"},backgroundColor:void 0,backgroundImage:void 0,backgroundPositionX:void 0,backgroundPositionY:void 0,backgroundRepeat:void 0,backgroundSize:void 0,backgroundColorContent:void 0}};if(o){const s=Bd(o);s.backgroundColor&&s.backgroundColor.startsWith("rgb")&&(s.backgroundColor=e.rgbToHex(s.backgroundColor)),Object.assign(t.settings,s)}e.elMarkupHelper(),document.querySelector('[em="block"]')||(t.settings.noBlocks=!0);const n=Md(o),r=e.state.get("emailWidth"),i=e.getEmailWidth(),l=typeof r=="number"&&r>=320?r:typeof i=="number"&&i>=320?i:n;t.settings.width.value=l,o&&(t.settings.responsive=Pd(o,l),typeof l=="number"&&e.state.set("emailWidth",l)),e.messageService.send(t),Hd(o,e.getEmailWidth())}function Od(e,o=!1){e.state.set("lockEditorInit",!0),document.body&&(e.removeHiddenClasses(document),Id(e),e.commit(!1))}function xd(e,o){const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null);let n=0,r=null;for(;t.nextNode();){r=t.currentNode;const i=(r.textContent||"").length;if(n+i>=o){const l=o-n;return{node:r,offset:l}}n+=i}if(r){const i=r.textContent?.length||0;return{node:r,offset:i}}return null}function Dd(e,o,t,n){try{if(!t||t.nodeType!==Node.TEXT_NODE)return!1;const r=t.textContent?t.textContent.length:0,i=Math.min(Math.max(0,n),r);return e.setStart(t,i),e.collapse(!0),o.removeAllRanges(),o.addRange(e),!0}catch{return!1}}var Fd=["style","class","align","href"],qd=32;function Wd(e){return!!(e.tagName==="BODY"||e.getAttribute("em")==="atom"||e.tagName==="TABLE"&&e.hasAttribute("em"))}function $d(e){const o=[e.tagName];for(const t of Fd){const n=e.getAttribute(t);n!==null&&n!==""&&o.push(`${t}=${n}`)}return o.join("|")}function Ht(e){if(!e||!e.isConnected)return"";const o=[];let t=e,n=0;for(;t&&n<qd&&(o.push($d(t)),!Wd(t));)t=t.parentElement,n++;return o.join("||")}var zd=[{name:"Stripo (es-header/content/footer)",detect:()=>!!(document.querySelector(".es-header")||document.querySelector(".es-content")||document.querySelector(".es-footer")),apply:()=>{document.querySelectorAll(".es-header, .es-content, .es-footer").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll(".es-header-body > tr").forEach(e=>{e.setAttribute("em","block")}),document.querySelectorAll(".es-content-body > tr").forEach(e=>{e.setAttribute("em","block")}),document.querySelectorAll(".es-footer-body > tr").forEach(e=>{e.setAttribute("em","block")})}},{name:"Stripo (es-wrapper)",detect:()=>!!document.querySelector(".es-wrapper"),apply:()=>{document.querySelectorAll(".es-wrapper > tr > td > table > tr").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll(".es-wrapper > tr > td > table > tr > td > table > tr").forEach(e=>{e.setAttribute("em","block")})}},{name:"Sandsay",detect:()=>!!(document.querySelector("[data-template-wrapper]")&&document.querySelector("[data-template-content]")),apply:()=>{document.querySelectorAll("[data-template-wrapper] > table[data-block-id]").forEach(e=>{e.setAttribute("em","block")})}},{name:"Beefree",detect:()=>!!(document.querySelector(".nl-container")&&document.querySelector(".row")),apply:()=>{document.querySelectorAll('.row[em="block"]').forEach(e=>{e.removeAttribute("em")}),document.querySelectorAll(".row").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll(".row-content").forEach(e=>{e.setAttribute("em","block")})}},{name:"Chamaileon",detect:()=>!!document.querySelector(".main-container"),apply:()=>{document.querySelectorAll(".main-container > tr > td > table").forEach(e=>{e.setAttribute("em","block")})}},{name:"Chamaileon (email-container)",detect:()=>!!document.querySelector(".email-container"),apply:()=>{document.querySelectorAll(".email-container > tr > td > table > tr > td > table > tr").forEach(e=>{e.setAttribute("em","block")})}},{name:"Mindbox",detect:()=>!!(document.querySelector(".nl-container")&&!document.querySelector(".row")),apply:()=>{document.querySelectorAll(".nl-container > tr > td > div").forEach(e=>{e.setAttribute("em","block")})}},{name:"Unlayer",detect:()=>!!(document.querySelector(".clean-body.u_body")&&!document.querySelector(".row")),apply:()=>{document.querySelectorAll(".u-row-container").forEach(e=>{e.setAttribute("em","block")})}},{name:"Postcards",detect:()=>!!(document.querySelector(".pc-email-body")&&!document.querySelector(".row")),apply:()=>{document.querySelectorAll('.pc-email-container > tr > td > table[role="presentation"]').forEach(e=>{e.setAttribute("em","block")})}},{name:"Topol",detect:()=>!!(document.querySelector(".hide_section_on_mobile")||document.querySelector(".mj-column-per-100")||document.querySelector(".outlook-group-fix")),apply:()=>{document.querySelectorAll("body > div > div").forEach(e=>{e.setAttribute("em","block")})}},{name:"Sender",detect:()=>!!document.querySelector(".e-c.sect"),apply:()=>{document.querySelectorAll(".e-c.sect").forEach(e=>{e.setAttribute("em","block")})}},{name:"Letteros",detect:()=>!!(!document.querySelector("[mailfit-module]")&&(document.querySelector('[class*="letteros"]')||document.querySelector("[letteros-link]"))),apply:()=>{document.querySelectorAll("body > div > table > tr").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll("body > div > table > tr > td > table > tr").forEach(e=>{e.setAttribute("em","block")}),document.querySelectorAll('[style*="overflow"]').forEach(e=>{e.style.removeProperty("overflow")})}},{name:"Letteros (letteros-element)",detect:()=>!!document.querySelector("[letteros-element]"),apply:()=>{document.querySelectorAll("[letteros-body]").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll("[letteros-element]").forEach(e=>{e.setAttribute("em","block")})}},{name:"Ascona",detect:()=>!!(document.querySelector(".mail_preheader")&&document.body.classList.contains("body")),apply:()=>{document.querySelectorAll("#mailsub > table > tr").forEach(e=>{e.setAttribute("em","group"),e.querySelectorAll(":scope > td > div > table > tr").forEach(o=>{o.setAttribute("em","block")})})}},{name:"Mailfit",detect:()=>!!document.querySelector("[mailfit-module]"),apply:()=>{document.querySelectorAll("body > div > table > tr").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll("[mailfit-module]").forEach(e=>{e.setAttribute("em","block")})}},{name:"CashCowAgency",detect:()=>!!document.querySelector(".container-div"),apply:()=>{document.querySelectorAll("body > center").forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll(".container-td > table").forEach(e=>{e.setAttribute("em","block")})}},{name:"MakeMail",detect:()=>!!(document.querySelector(".mail")&&document.querySelector(".container")),apply:()=>{document.querySelectorAll(".container").forEach(e=>{e.setAttribute("em","block")})}},{name:"data-axle.com",detect:()=>!!document.querySelector(".full-width-container-inner"),apply:()=>{document.querySelectorAll(".full-width-container-inner > table").forEach(e=>{e.setAttribute("em","block")})}},{name:"Miro",detect:()=>!!document.querySelector(".content__tablet_fullWidth"),apply:()=>{document.querySelectorAll(".content__tablet_fullWidth").forEach(e=>{for(const o of Array.from(e.children))if(o.children.length>1)for(const t of Array.from(o.children))t.setAttribute("em","block");else for(const t of Array.from(o.children))for(const n of Array.from(t.children))for(const r of Array.from(n.children))r.setAttribute("em","block")})}},{name:"WIM (full-wrap)",detect:()=>!!(document.body.classList.contains("body")&&document.querySelector("[alink]")&&document.querySelector(".full-wrap")),apply:()=>{document.querySelectorAll(".full-wrap > tr > td > div > table > tr").forEach(e=>{e.setAttribute("em","group"),e.querySelectorAll(":scope > td > div > table > tr, :scope > td > table > tr").forEach(o=>{o.setAttribute("em","block")})})}},{name:"WIM",detect:()=>!!(document.body.classList.contains("body")&&document.querySelector("[alink]")&&!document.querySelector(".full-wrap")),apply:()=>{document.querySelectorAll('body > table > tr > td > table > tr, body > div[style*="-webkit-text-size-adjust"] > table > tr > td > table > tr, body > table > tbody > tr > td > table > tbody > tr, body > div[style*="-webkit-text-size-adjust"] > table > tbody > tr > td > table > tbody > tr').forEach(e=>{e.setAttribute("em","group"),e.querySelectorAll(":scope > td > table > tr > td > table > tr").forEach(o=>{o.setAttribute("em","block")})})}},{name:"Emailify",detect:()=>document.body.classList.contains("emailify"),apply:()=>{document.querySelectorAll("body > div > div > table > tr").forEach(e=>{e.setAttribute("em","block")})}}];function Vd(){document.querySelectorAll('body > table > tr, body > div[style*="-webkit-text-size-adjust"] > table > tr').forEach(e=>{e.setAttribute("em","group")}),document.querySelectorAll('body > table > tr > td > table > tr, body > div[style*="-webkit-text-size-adjust"] > table > tr > td > table > tr, body > table > tbody > tr > td > table > tbody > tr, body > div[style*="-webkit-text-size-adjust"] > table > tbody > tr > td > table > tbody > tr').forEach(e=>{e.setAttribute("em","block")})}function Ud(e){const o=document.querySelector("[em=blocks]");if(o){for(const n of Array.from(o.children))n.setAttribute("em","block");o.removeAttribute("em"),a.commit();return}if(e){let n=!1;for(const r of zd)if(r.detect()){r.apply(),n=!0;break}n||Vd()}const t=document.querySelector("[em=atoms]");if(t){for(const n of Array.from(t.children))n.setAttribute("em","atom");t.removeAttribute("em")}document.documentElement?.style.height&&document.documentElement.style.removeProperty("height"),document.body?.style.height&&document.body.style.removeProperty("height"),document.querySelector(".em-narrow-table, .noresp-em-narrow-table")||a.messageService.send({operation:"application_template_not_em_alert_show"}),a.commit()}function jd(e,o){const{target:t}=e;setTimeout(()=>{const n=t?.querySelector("a");if(!n)return;const r=n.closest("div, td, h1, h2, h3, h4, h5, h6, li, ul, ol, sup, sub");r&&(r.childNodes.forEach(i=>{if(i.nodeType===Node.COMMENT_NODE&&i.nodeValue?.includes("[if mso]")){const l=n.innerHTML.length*11+40;i.nodeValue=i.nodeValue.replace(/(<center[^>]*>)(.*?)(<\/center>)/s,(s,c,d,u)=>c+n.innerHTML+u).replace(/(width:)(\d+)(px)/,(s,c,d,u)=>`${c}${l}${u}`)}}),o(!1))},0)}function Gd(e,o){if(!e||!e.length)return;let t=document.head.querySelector('style[em="styles"]'),n="";t?n=o.getInnerHtml(t):(t=document.createElement("style"),t.setAttribute("em","styles"),t=document.head.insertAdjacentElement("beforeend",t));const r=document.createElement("div");r.insertAdjacentHTML("afterbegin",e.join(`
|
|
254
254
|
`));let i=a.minifyStylesheet(n+`
|
|
255
255
|
`+[...r.querySelectorAll("style")].map(l=>l.innerHTML).join(`
|
|
256
256
|
`),{restructure:!0,forceMediaMerge:!0}).css;i=cssbeautify(i,{indent:" ",autosemicolon:!0}),t&&(t.textContent=`
|
|
257
257
|
`+i+`
|
|
258
|
-
`)}var Qo={},Yd=new Set,Kd=null;function Xd(e){Kd=e,Qo=e.localized,e.onChangeLocale(({data:o})=>{Qo=o,Yd.forEach(t=>t(o))})}function Ur(){return Qo}var jr=[];function Zd(){return jr}function Gr(e){const o=Ur();let t="",n="";switch(e.tagName){case"A":e.style.display==="block"?(t=o.ELEMENT_PATH_BUTTON,n="em-element-path-item-button"):(t=o.ELEMENT_PATH_LINK,n="em-element-path-item-link");break;case"IMG":e.closest('table[em-type="social"]')?t=o.ELEMENT_PATH_SOCIAL:t=o.ELEMENT_PATH_IMG,n="em-element-path-item-image";break;case"TD":e.parentElement?.getAttribute("em")==="block"?(t=o.ELEMENT_PATH_BLOCK,n="em-element-path-item-block"):e.parentElement?.getAttribute("em")==="atom"||e.closest("table")?.getAttribute("em")==="atom"?(t=o.ELEMENT_PATH_ATOM,n="em-element-path-item-atom"):e.parentElement?.getAttribute("em")==="group"?(t=o.ELEMENT_PATH_GROUP,n="em-element-path-item-group"):e.classList.contains("em-vindent")?(t=o.ELEMENT_PATH_VINDENT,n="em-element-path-item-vindent"):e.classList.contains("em-mob-wrap")||e.classList.contains("noresp-em-mob-wrap")?(t=o.ELEMENT_PATH_FLOATBLOCK,n="em-element-path-item-column"):(t=o.ELEMENT_PATH_TD,n="em-element-path-item-block");break;case"TABLE":e.getAttribute("em")==="block"?(t=o.ELEMENT_PATH_BLOCK,n="em-element-path-item-block"):e.getAttribute("em")==="atom"&&e.getAttribute("em-type")==="social"?(t=o.ELEMENT_PATH_SOCIAL,n="em-element-path-item-atom"):e.getAttribute("em")==="atom"?(t=o.ELEMENT_PATH_ATOM,n="em-element-path-item-atom"):e.getAttribute("em")==="group"?(t=o.ELEMENT_PATH_GROUP,n="em-element-path-item-group"):e.parentElement?.tagName==="BODY"?(t=o.ELEMENT_PATH_EMAIL,n="em-element-path-item-email"):(t=o.ELEMENT_PATH_TABLE,n="em-element-path-item-table");break;case"SPAN":case"B":case"I":case"EM":case"STRONG":case"P":case"H1":case"H2":case"H3":case"H4":case"H5":case"DIV":case"STRIKE":case"S":case"U":e.style.display==="inline-block"?(t=o.ELEMENT_PATH_FLOATBLOCK,n="em-element-path-item-column"):e.style.fontFamily&&e.style.fontSize&&e.style.lineHeight&&e.style.color?(t=o.ELEMENT_PATH_TEXT,n="em-element-path-item-text"):e.getAttribute("em")==="block"?(t=o.ELEMENT_PATH_BLOCK,n="em-element-path-item-block"):e.getAttribute("em")==="atom"?(t=o.ELEMENT_PATH_ATOM,n="em-element-path-item-atom"):e.getAttribute("em")==="group"?(t=o.ELEMENT_PATH_GROUP,n="em-element-path-item-group"):e.classList.contains("em-vindent")?(t=o.ELEMENT_PATH_VINDENT,n="em-element-path-item-vindent"):(t=o.ELEMENT_PATH_DIV,n="em-element-path-item-block")}const r=a.captionByRules(e,o);return r?.title&&(t=r.title),r?.className&&(n=r.className),e.className&&e.className.indexOf&&e.className.indexOf("em-mob-")>-1&&(n+=" em-element-path-item-mob"),{elem:e,title:t,className:n}}var Jd=new Set(["TABLE","TBODY","THEAD","TFOOT","TR","TD","TH"]);function Qd(e){return Array.from(e.classList).some(o=>o.startsWith("em-element-"))}function em(e){if(e.tagName!=="TD")return!1;const o=Array.from(e.getElementsByTagName("a")),t=o[0];if(o.length!==1||t.style.display!=="block")return!1;for(let n=t.parentElement;n&&n!==e;n=n.parentElement)if(Jd.has(n.tagName))return!1;return Array.from(e.children).every(n=>n===t||n.contains(t)||Qd(n))}function tm(e){const o=e.style;return em(e)?!1:!!(e.tagName==="A"&&!e.closest(".em-element-resize-img-container")&&!e.closest('table[em-type="social"]')||e.tagName==="TD"&&!e.closest(".em-narrow-table")||e.tagName==="TABLE"&&e.parentElement?.style?.display!=="inline-block"&&!e.classList.contains("em-vindent-table")&&!e.closest(".em-narrow-table")&&e.getAttribute("em")!=="atom"&&e.parentElement?.tagName!=="BODY"||e.tagName==="DIV"&&(o.display==="inline-block"||o.display==="table-cell")&&o.verticalAlign||(e.tagName==="DIV"||e.tagName==="TABLE"||e.tagName==="TD")&&!e.classList.contains("em-narrow-table")&&!e.classList.contains("noresp-em-narrow-table")&&(o.width||o.minWidth||o.maxWidth||o.background||o.backgroundColor||o.backgroundPositionX||o.backgroundPositionY||o.backgroundImage||o.backgroundRepeat||o.backgroundSize||o.height||o.padding||o.paddingTop||o.paddingRight||o.paddingBottom||o.paddingLeft||o.border||o.borderBottom||o.borderBottomWidth||o.borderBottomStyle||o.borderBottomColor||o.borderLeft||o.borderLeftWidth||o.borderLeftStyle||o.borderLeftColor||o.borderTop||o.borderTopWidth||o.borderTopStyle||o.borderTopColor||o.borderRight||o.borderRightWidth||o.borderRightStyle||o.borderRightColor||o.borderRadius||o.borderTopLeftRadius||o.borderTopRightRadius||o.borderBottomLeftRadius||o.borderBottomRightRadius||o.boxShadow||o.textAlign||o.align||o.verticalAlign)||e.tagName!=="EDITOR"&&o.fontFamily&&o.fontSize&&o.lineHeight&&o.color||e.tagName==="TD"&&e.closest("table")?.getAttribute("em")==="atom"||e.tagName==="TD"&&e.closest("tr")?.getAttribute("em")==="block"||e.tagName==="TD"&&(e.classList.contains("em-mob-wrap")||e.classList.contains("noresp-em-mob-wrap"))||a.isPathElementByRules(e))}function om(e){let o=[];const t=e.style;(e.tagName==="IMG"||e.tagName==="TD"||e.tagName==="TABLE"||e.tagName!=="EDITOR"&&t.fontFamily&&t.fontSize&&t.lineHeight&&t.color||e.tagName==="DIV"&&t.height&&t.lineHeight||a.isPathElementByRules(e))&&o.push(Gr(e));let n=e;for(;n?.parentElement&&n.parentElement.tagName!=="BODY";)n=n.parentElement,tm(n)&&o.push(Gr(n));return o=o.filter(r=>!(r.elem?.tagName==="TABLE"&&r.elem.parentElement?.tagName==="BODY")),o=o.reverse(),jr=o.map(r=>({...r})),o.map(r=>({title:r.title,className:r.className}))}function Yr(e){const o=Ur(),t=e.parentNode;if(t){if(t.tagName==="A")return o.LINK;if(t.tagName==="TD")return o.TABLE_COLUMN;if(t.tagName==="TABLE"&&!t.parentNode?.style?.display||t.parentNode?.style?.display!=="inline-block")return o.TABLE;if(t.tagName==="DIV"&&(t.style.display==="inline-block"||t.style.display==="table-cell")&&t.style.verticalAlign)return o.FLOAT_BLOCK;if(t.tagName==="DIV"){const n=t.style;if(n.width||n.minWidth||n.maxWidth||n.background||n.backgroundColor||n.backgroundPositionX||n.backgroundPositionY||n.backgroundImage||n.backgroundRepeat||n.backgroundSize||n.height||n.padding||n.paddingTop||n.paddingRight||n.paddingBottom||n.paddingLeft||n.border||n.borderBottom||n.borderBottomWidth||n.borderBottomStyle||n.borderBottomColor||n.borderLeft||n.borderLeftWidth||n.borderLeftStyle||n.borderLeftColor||n.borderTop||n.borderTopWidth||n.borderTopStyle||n.borderTopColor||n.borderRight||n.borderRightWidth||n.borderRightStyle||n.borderRightColor||n.borderRadius||n.borderTopLeftRadius||n.borderTopRightRadius||n.borderBottomLeftRadius||n.borderBottomRightRadius||n.boxShadow||n.textAlign||n.align||n.verticalAlign)return o.CONTAINER}return Yr(t)}}function Kr(e,o){const t=e.getAttribute(o);return!t||t==="auto"?{value:null,dim:"px"}:{value:parseFloat(t),dim:t.includes("%")?"%":"px"}}function Xr(e){return e===null||e==="auto"?null:typeof e=="number"?e:null}function nm(e,o,t){t.clearActiveEditElements();const n=e.elem.closest("amp-carousel");n.setAttribute("em-edit","active");const r=n.querySelectorAll("amp-img"),i=rm(r),l=Array.from(r).map(u=>{const p=a.getElementMobileProps({elem:u});return{src:u.getAttribute("src")??"",width:Kr(u,"width"),height:Kr(u,"height"),alt:u.getAttribute("alt")??"",title:u.getAttribute("title")??"",link:u.closest("a")?.getAttribute("href")??null,renderedWidth:Math.round(e.elem.getBoundingClientRect().width),renderedHeight:Math.round(e.elem.getBoundingClientRect().height),imgReplacer:u.closest("em-replace")?.getAttribute("src")??"",mobileWidth:{value:Xr(p.mobileWidth),dim:p.mobileWidthDim??"px"},mobileHeight:{value:Xr(p.mobileHeight),dim:p.mobileHeightDim??"px"},mobileBorderRadius:p.mobileBorderRadius}}),s=a.getElementMobileProps({elem:n}),c={type:"carousel",caption:o.CAROUSEL,carouselImages:l,borderRadius:a.getElementBorderRadius(n),mobileBorderRadius:s.mobileBorderRadius,loop:n.hasAttribute("loop"),autoplay:n.hasAttribute("autoplay"),link:i},d=n.closest("td");return d&&(c.maxWidth=Math.round(d.getBoundingClientRect().width)),c}function rm(e){const o=Array.from(e,t=>t.closest("a")?.getAttribute("href"));return o.length>0&&o.every(t=>t&&t===o[0])?o[0]??null:null}function im(e){return!!e.closest("amp-carousel")}function lm(e,o,t){t.clearActiveEditElements();const n=e.elem.closest("amp-accordion");n.setAttribute("em-edit","active");const r=t.HTMLDocument.getOuterHtml(n),i=t.parseFromString(r)[0].querySelectorAll("section"),l=Array.from(i).map(s=>({expanded:s.hasAttribute("expanded")}));return{type:"accordion",caption:o.ACCORDION,animate:n.hasAttribute("animate"),expandSingleSection:n.hasAttribute("expand-single-section"),sections:l}}function am(e){return e.tagName==="AMP-ACCORDION"}function It(e){const o=String(e??"").trim();return o?a.rgbToHex(o)??o:""}var en={align:"center",iconSize:40,borderRadius:0,gap:8,bgEnabled:!1,bgColor:"",borderWidth:0,borderColor:"",buttonBorderColor:"",buttonBorderWidth:0,showLabel:!1};function sm(e){if(!e)return null;const o=e.getAttribute("width")?.trim();if(o){const i=parseInt(o,10);if(!Number.isNaN(i)&&i>0)return i}const t=e.getAttribute("style")??"",n=/(?:^|;)\s*width:\s*(\d+)px/i.exec(t);if(n){const i=parseInt(n[1],10);if(!Number.isNaN(i)&&i>0)return i}const r=e.style?.width?.trim()??"";if(r){const i=parseInt(r,10);if(!Number.isNaN(i)&&i>0)return i}return e.offsetWidth>0?Math.round(e.offsetWidth):null}function cm(e,o){if(e.length===0)return o;let t=null;for(const n of e){const r=n.iconWidth;if(r==null||Number.isNaN(r)||r<=0)return o;if(t===null)t=r;else if(r!==t)return o}return t??o}function tn(e){return e.closest('table[em-type="social"]')}function dm(e){const o=e.ownerDocument;return o?Array.from(o.querySelectorAll('table[em-type="social"]')).indexOf(e):-1}function Zr(e){const o=e.querySelector(":scope > tr");if(o){const n=o.querySelector(":scope > td");if(n instanceof HTMLElement)return n}const t=e.querySelector("tbody > tr");if(t){const n=t.querySelector(":scope > td");if(n instanceof HTMLElement)return n}return null}function ut(e){if(!e||!(e instanceof HTMLElement))return"";const o=e.style?.backgroundColor?.trim()??"";return!o||o==="transparent"||o==="rgba(0, 0, 0, 0)"?"":o}function Ie(e,o){return e.hasAttribute(o)||e.hasAttribute(`data-${o}`)}function on(e,o){return e?e.getAttribute(o)??e.getAttribute(`data-${o}`):null}function mm(e){if(!(e instanceof HTMLElement))return null;const o=e.getAttribute("width")?.trim(),t=e.style.width?.trim(),n=o||t;if(!n)return null;const r=/^(\d+)/.exec(n);if(!r)return null;const i=parseInt(r[1],10);return Number.isNaN(i)||i<0?null:i}function um(e,o){for(let t=1;t<e.length-1;t+=1){const n=e[t-1],r=e[t],i=e[t+1];if(n instanceof HTMLElement&&i instanceof HTMLElement&&Ie(n,"em-platform")&&Ie(i,"em-platform")&&r instanceof HTMLElement&&!Ie(r,"em-platform")){const l=mm(r);if(l!=null){o.gap=l;return}}}}function Jr(e){const o=String(e??""),t=/(?:^|;)\s*border-radius:\s*(\d+)px/i.exec(o);if(!t)return null;const n=parseInt(t[1],10);return Number.isNaN(n)||n<0?null:n}function fm(e,o){const t=Zr(e)?.getAttribute("align")?.trim().toLowerCase();(t==="left"||t==="right"||t==="center")&&(o.align=t)}function pm(e,o){for(const t of e){if(!(t instanceof HTMLElement)||!Ie(t,"em-platform"))continue;const n=Jr(t.getAttribute("style"));if(n!=null){o.borderRadius=n;return}const r=Jr(t.querySelector("img")?.getAttribute("style")??null);if(r!=null){o.borderRadius=r;return}}}function gm(e,o){for(const t of e){if(!(t instanceof HTMLElement))continue;const n=t.querySelector("br"),r=n?.nextElementSibling?.tagName==="SPAN"?n.nextElementSibling:null;if(r&&r.textContent?.trim()){o.showLabel=!0;return}}o.showLabel=!1}function bm(e,o,t){const n=e.querySelector("[em-social-tray-shell], [data-em-social-tray-shell]"),r=e.querySelector("td[em-tray-cell-bg], td[data-em-tray-cell-bg]"),i=ut(n),l=ut(r instanceof HTMLElement?r:null),s=ut(e.querySelector("[em-social-tray], [data-em-social-tray]")),c=ut(o),d=ut(e),u=i||l||s||c||d;u&&(t.bgEnabled=!0,t.bgColor=u)}function hm(e){const o=Zr(e);if(!(o instanceof HTMLElement))return"";const t=ut(o);return t||(o.getAttribute("bgcolor")?.trim()??"")}function nn(e){if(!e)return null;const o=e.style.border?.trim()??"",t=/^(\d+)px\s+solid\s+(.+)$/i.exec(o);if(!t)return null;const n=parseInt(t[1],10),r=t[2].trim();return Number.isNaN(n)||n<=0||!r?null:{w:n,color:r}}function ym(e,o){const t=nn(e);t&&(o.borderWidth=t.w,o.borderColor=t.color)}function Em(e){const o=e.closest("td[em-platform], td[data-em-platform]");if(o)return!!tn(o);const t=e.closest("td"),n=t?.previousElementSibling,r=t?.nextElementSibling;return!!(t&&!Ie(t,"em-platform")&&n instanceof HTMLElement&&r instanceof HTMLElement&&Ie(n,"em-platform")&&Ie(r,"em-platform")&&tn(t))}function Sm(e,o){const t=tn(e.elem);if(!t)return{type:"social",caption:o.SOCIAL??"Social media",...en,hostCellBgForIconLuminance:"",blockIndex:-1,items:[]};const n={...en};fm(t,n),ym(t,n);const r=t.querySelector('table[role="presentation"]')||t.querySelector("table");bm(t,r,n);const i=r?.querySelector("tr"),l=i?Array.from(i.querySelectorAll(":scope > td")):[],s=l.filter(g=>g instanceof HTMLElement&&Ie(g,"em-platform")),c=s.length>0?s:l.filter(g=>g.querySelector("img"));um(l,n),pm(c,n),gm(c,n);let d=typeof n.buttonBorderWidth=="number"&&!Number.isNaN(n.buttonBorderWidth)?n.buttonBorderWidth:0;const u=t.querySelector("[em-social-tray-shell], [data-em-social-tray-shell]"),p=u instanceof HTMLElement?nn(u):null;if(p)d=p.w;else for(const g of c){if(!(g instanceof HTMLElement))continue;const b=nn(g);if(b){d=b.w;break}}let m=c.map(g=>{if(!(g instanceof HTMLElement))return{platform:"unknown",customIcon:!1,href:"",alt:"",title:"",iconSrc:"",iconWidth:null,iconHeight:null,buttonBgColor:"",itemBorderColor:""};const b=g,h=on(b,"em-platform")||"unknown",y=Ie(b,"em-custom-icon"),E=b.querySelector("a"),S=b.querySelector("img"),v=E?.getAttribute("href")??"",C=E?.getAttribute("title")??S?.getAttribute("title")??"",L=S?.getAttribute("alt")??"",w=S?.getAttribute("src")??"",T=sm(S instanceof HTMLImageElement?S:null),k=S?.getAttribute("height")?.trim(),D=k?parseInt(k,10):NaN,z=!Number.isNaN(D)&&D>0,$=on(b,"em-button-bg")?.trim()??"",M=!y&&Ie(b,"em-tray-cell-bg");let H="",P="";if(!y&&(H=$,!H&&!M&&b.style?.backgroundColor&&(H=b.style.backgroundColor.trim()),P=on(b,"em-item-border-color")?.trim()??"",!P)){const Z=b.style.border?.trim()??"",R=/^(\d+)px\s+solid\s+(.+)$/i.exec(Z);R?.[2]&&(P=R[2].trim())}return{platform:h,customIcon:y,href:v,alt:L,title:C,iconSrc:w,iconWidth:T,iconHeight:z?D:T,buttonBgColor:H,itemBorderColor:P}});if(p&&m.length>0&&m.every(g=>g.customIcon||!String(g.itemBorderColor??"").trim())){const g=p.color;m=m.map(b=>b.customIcon?b:{...b,itemBorderColor:g})}const f=cm(m,en.iconSize);return{type:"social",caption:o.SOCIAL??"Social media",align:n.align,iconSize:f,borderRadius:n.borderRadius,gap:n.gap,bgEnabled:n.bgEnabled,bgColor:It(n.bgColor),borderWidth:n.borderWidth,borderColor:It(n.borderColor),buttonBorderColor:"",buttonBorderWidth:d,showLabel:n.showLabel,hostCellBgForIconLuminance:It(hm(t)),blockIndex:dm(t),items:m.map(g=>({...g,buttonBgColor:It(g.buttonBgColor),itemBorderColor:It(g.itemBorderColor)}))}}function rn(e){if(!e)return!1;for(const o of Array.from(e.childNodes))if(o.nodeType===Node.COMMENT_NODE&&o.nodeValue?.includes("[if mso]")&&o.nodeValue.includes("v:roundrect")||o.nodeType===Node.ELEMENT_NODE&&rn(o))return!0;return!1}function Qr(e,o){if(!e)return{value:null,dim:"px"};const t=e.getAttribute(o);return!t||t==="auto"?{value:null,dim:"px"}:{value:parseFloat(t),dim:t.includes("%")?"%":"px"}}function ei(e){return e===null||e==="auto"?null:typeof e=="number"?e:null}function Cm(e){const o={all:null,top:null,right:null,bottom:null,left:null};return!e.style.padding&&!e.style.paddingTop&&!e.style.paddingRight&&!e.style.paddingBottom&&!e.style.paddingLeft||(!e.style.padding||e.style.padding.includes(" ")?o.all=null:!e.style.padding&&e.style.paddingTop&&e.style.paddingRight&&e.style.paddingBottom&&e.style.paddingLeft&&e.style.paddingTop===e.style.paddingRight&&e.style.paddingRight===e.style.paddingBottom&&e.style.paddingBottom===e.style.paddingLeft?o.all=parseFloat(e.style.paddingTop):o.all=parseFloat(e.style.padding)||null,o.top=e.style.paddingTop?parseFloat(e.style.paddingTop):null,o.right=e.style.paddingRight?parseFloat(e.style.paddingRight):null,o.bottom=e.style.paddingBottom?parseFloat(e.style.paddingBottom):null,o.left=e.style.paddingLeft?parseFloat(e.style.paddingLeft):null),o}function vm(e){const o={all:null,top:null,right:null,bottom:null,left:null};if(!e.all&&!e.top&&!e.right&&!e.bottom&&!e.left)return o;e.all?!e.all&&e.top&&e.right&&e.bottom&&e.left&&e.top===e.right&&e.right===e.bottom&&e.bottom===e.left?o.all=parseFloat(e.top):o.all=parseFloat(e.all)||null:o.all=null;const t=e.all||null;return o.top=e.top!=null?parseFloat(e.top):t,o.right=e.right!=null?parseFloat(e.right):t,o.bottom=e.bottom!=null?parseFloat(e.bottom):t,o.left=e.left!=null?parseFloat(e.left):t,o}function Am(e){if(e.style.backgroundImage){const o=e.style.backgroundImage;return[{type:"url",value:o.substring(5,o.length-2)}]}return e.getAttribute("background")?[{type:"url",value:e.getAttribute("background")||""}]:[{type:"url",value:""}]}function Tm(e,o){const t=e.elem.closest("a")||e.elem,n=e.elem.closest("td"),r=a.findForeignButtonSpan(t),i=rn(n)&&!rn(t)||!!r,l=r??(i?t:n),s=e.elem.closest("table"),c=s?.closest("td")?.closest("table")?.closest("td"),d=s?.closest("div, p, td"),u=d?.style.textAlign||d?.getAttribute("align")||"left",p=a.getElementMobileProps({elem:e.elem}),m=a.getElementMobileProps({elem:n}),f=c?a.getElementMobileProps({elem:c}):null,g=a.getElementMobileProps({elem:s}),b=e.elem.closest("a"),h={type:"button",caption:o.BUTTON,fontFamily:a.getFontFamilyFromElement$1(e.elem),fontSize:parseFloat(e.elem.closest('[style*="font-size"]')?.style.fontSize)||0,fontSizeDim:"px",lineHeight:a.getLineHeightInPixels$1(e.elem),lineHeightDim:"px",textStrong:a.textHasStyle$1(e.elem,"strong","b")||a.isElementHasBold(e.elem),textItalic:a.textHasStyle$1(e.elem,"i","em")||!e.elem.closest('[style*="font-style: normal"]')&&(b?.style?.fontStyle==="italic"||e.elem.style?.fontStyle==="italic"),textStrikethrough:a.textHasStyle$1(e.elem,"s","strike")||(e.elem.style?.textDecoration?.includes("line-through")??!1)||!!e.elem.closest('[style*=" text-decoration"]')?.style.textDecoration?.includes("line-through"),textUnderline:a.textHasStyle$1(e.elem,"u")||(e.elem.style?.textDecoration?.includes("underline")??!1)||!(e.elem.style?.textDecoration?.length>0)&&e.elem.tagName==="A"||!!e.elem.closest('[style*=" text-decoration"]')?.style.textDecoration?.includes("underline"),textColor:a.rgbToHex(a.findParentWithExplicitStyle(e.elem,"color"))||a.rgbToHex(getComputedStyle(e.elem).color)||"",textBackgroundColor:a.rgbToHex(a.findParentWithExplicitStyle(e.elem,"background-color"))||"",padding:Cm(r??t),borderRadius:a.getElementBorderRadius(l),backgroundColor:l.style.backgroundColor?a.rgbToHex(l.style.backgroundColor):l.getAttribute("bgcolor")||"",backgroundImage:Am(n),backgroundPositionX:n.style.backgroundPositionX!=="initial"?n.style.backgroundPositionX:"",backgroundPositionY:n.style.backgroundPositionY!=="initial"?n.style.backgroundPositionY:"",backgroundRepeat:n.style.backgroundRepeat||"repeat",backgroundSize:n.style.backgroundSize||"auto",width:Qr(s,"width"),height:Qr(n,"height"),align:u,valign:n.getAttribute("valign")??"",textAlign:n.getAttribute("align")??"",border:a.getElementBorder(l),boxShadow:a.getElementBoxShadow(l),href:t.getAttribute("href")??"",outlookRounding:i,outlookBackground:a.hasElementVMLBackground(n,"inside"),mobileWidth:{value:ei(g.mobileWidth),dim:g.mobileWidthDim??"px"},mobileHeight:{value:ei(m.mobileHeight),dim:m.mobileHeightDim??"px"},mobileBorder:m.mobileBorder,mobileBorderRadius:m.mobileBorderRadius,mobileBoxShadow:m.mobileBoxShadow,mobileAlign:g.mobileAlign,mobileFontSize:{value:p.mobileFontSize,dim:p.mobileFontSizeDim||"px"},mobileTextAlign:Bo(e.elem),mobileVerticalAlign:f?.mobileVerticalAlign,mobileBackgroundColor:m.mobileBackgroundColor,mobileBackgroundImage:m.mobileBackgroundImage,mobileBackgroundPositionX:m.mobileBackgroundPositionX,mobileBackgroundPositionY:m.mobileBackgroundPositionY,mobileBackgroundRepeat:m.mobileBackgroundRepeat,mobilePadding:vm(p.mobilePadding),mobileLineHeight:{value:p.mobileLineHeight,dim:"px"},show:g.show,exportAsPicture:s?.getAttribute("em-operation")==="exportAsPicture"};return a.isShowOnMobile(e.elem)&&(h.showOnMobile=!0),h}function Lm(e){if(a.hasForeignButtonStructure(e.closest("a")))return!0;const o=e.getAttribute("style");if(!o||!o.includes("display"))return!1;const t=e.style.display;return!(t!=="block"&&t!=="inline-block"||o.includes("mso-style-priority"))}function wm(e,o){return o?!1:e.tagName==="A"||e.tagName==="EM-REPLACE"&&!!e.closest("a")}function km(e){const o=e.closest("a"),t=e.closest('a[style*="display"]');if(a.hasForeignButtonStructure(o))return!0;if(o&&t){const n=t.style.display;if(n==="block"||n==="inline-block")return!0}if(e.tagName==="A"){const n=e.getAttribute("style");if(n&&n.includes("display")&&e.closest("td[height]"))return!0}return!1}function ti(e){return e===null||e==="auto"?null:typeof e=="number"?e:null}function _m(e,o){const t=e.elem,n=a.getElementMobileProps({elem:t}),r=ti(n.mobileHeight);return{type:"vindent",caption:o.VERTICAL_INDENT,height:{value:parseFloat(t.getAttribute("height")||"0"),dim:"px"},mobileHeight:{value:r,dim:n.mobileHeightDim??"px"}}}function Nm(e,o){const t=e.elem,n=a.getElementMobileProps({elem:t}),r=ti(n.mobileHeight);return{type:"vindent",caption:o.VERTICAL_INDENT,height:{value:parseFloat(t.style.height||"0"),dim:"px"},mobileHeight:{value:r,dim:n.mobileHeightDim??"px"}}}function Bm(e){if(e.tagName!=="TD")return!1;if(e.classList.contains("em-vindent"))return!0;const o=e.closest("table");return e.innerHTML===""&&o?.getAttribute("width")==="100%"}function Mm(e){return e.tagName!=="DIV"?!1:!e.style.fontFamily&&!!e.style.height&&!!e.style.lineHeight&&!!e.style.fontSize}function Rm(e,o){return e.elem.tagName==="TD"?_m(e,o):Nm(e,o)}function oi(e){return e===null||e==="auto"?null:typeof e=="number"?e:null}function Pm(e){return e?{value:parseFloat(e),dim:e.includes("%")?"%":"px"}:{value:null,dim:"px"}}function ni(e){return e?{value:parseFloat(e),dim:e.includes("%")?"%":"px"}:{value:null,dim:"px"}}function Hm(e){const o=e.firstElementChild;if(!o)return 0;const t=o.getAttribute("width");return e.style.maxWidth?parseFloat(e.style.maxWidth)-parseFloat(t||"0"):e.style.width?t&&t.includes("0%")?0:parseFloat(e.style.width)-parseFloat(t||"0"):0}function Im(e,o){const t=e.elem,n=a.getElementMobileProps({elem:t}),r=t.firstElementChild,i=r?a.getElementMobileProps({elem:r}):null,l=oi(n.mobileWidth),s=i?oi(i.mobileWidth):null;return{type:"floatBlock",caption:o.FLOAT_BLOCK,width:Pm(r?.getAttribute("width")),gap:{value:Hm(t),dim:"px"},maxWidth:ni(t.style.maxWidth),minWidth:ni(t.style.minWidth),valign:t.style.verticalAlign??"",mobileWidth:{value:l,dim:n.mobileWidthDim??"px"},mobileContentWidth:{value:s,dim:i?.mobileWidthDim??"px"},mobileVerticalAlign:n.mobileVerticalAlign,show:n.show}}function Om(e){if(e.tagName!=="DIV")return!1;const o=e.style.display,t=o==="inline-block"||o==="table-cell",n=!!e.style.verticalAlign;return t&&n}function xm(e){if(e.tagName!=="TD")return e.closest("table")?.parentElement?.tagName==="BODY";if(e.classList.contains("em-vindent")||e.innerHTML===""||e.closest("table")?.getAttribute("em")==="atom"||e.firstChild?.tagName==="EDITOR")return!1;const o=!!e.querySelector('div[style*="inline-block"]'),t=!!e.querySelector(":scope > table > tr > .em-mob-wrap, :scope > table > tbody > tr > .em-mob-wrap, :scope > table > tr > td > table > tr > .em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > .em-mob-wrap, :scope > table > tr > td > table > tr > td > table > tr > .em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > .em-mob-wrap, :scope > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > .noresp-em-mob-wrap, :scope > table > tr > td > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > .noresp-em-mob-wrap, :scope > table > tr > td > table > tr > td > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > .noresp-em-mob-wrap");return!!(!o&&!t||o&&e.parentElement?.getAttribute("em")!=="block"&&!e.querySelector(".em-mob-wrap, .noresp-em-mob-wrap"))}function Dm(e){if(e.tagName!=="TD"||e.classList.contains("em-vindent")||e.innerHTML===""||e.firstChild?.tagName==="EDITOR"||!(e.parentElement?.getAttribute("em")==="block"||e.parentElement?.parentElement?.getAttribute("em")==="block"||e.parentElement?.parentElement?.parentElement?.getAttribute("em")==="block"))return!1;const o=!!e.querySelector('div[style*="inline-block"]'),t=!!e.querySelector(":scope > table > tr > .em-mob-wrap, :scope > table > tbody > tr > .em-mob-wrap, :scope > table > tr > td > table > tr > .em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > .em-mob-wrap, :scope > table > tr > td > table > tr > td > table > tr > .em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > .em-mob-wrap, :scope > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > .noresp-em-mob-wrap, :scope > table > tr > td > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > .noresp-em-mob-wrap, :scope > table > tr > td > table > tr > td > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > .noresp-em-mob-wrap");return o||t}function Fm(e){if(e.tagName==="TD"){if(e.innerHTML!==""||e.getAttribute("height"))return!1;const o=!e.getAttribute("width")||e.classList.contains("em-mob-wrap")||e.classList.contains("noresp-em-mob-wrap"),t=!!e.closest('[em="block"].empty-structure')||!!e.closest(".em-structure");return o&&t}return e.tagName==="DIV"?!!e.closest("amp-accordion")&&!e.innerHTML:!1}function qm(e){if(e.tagName!=="TD")return!1;const o=!!e.firstChild&&e.firstChild.tagName==="EDITOR";return o&&e.closest("table")?.getAttribute("em")==="atom"?!0:!(o||e.classList.contains("em-vindent"))}function Wm(e){const o={items:[],gap:null,gapMobile:null,valign:"",wrap:void 0,dirRevers:!1},t=".em-mob-wrap, .noresp-em-mob-wrap",n=e.querySelector(t),r=e.querySelectorAll(t).length;if(n&&e.querySelectorAll(".em-mob-wrap:first-child, .noresp-em-mob-wrap:first-child").length===1)o.wrap=!0,e.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)").forEach(i=>{if(o.items.push({width:parseFloat(i.getAttribute("width")||"0"),current:!1}),r>1){const l=n.nextElementSibling;o.gap=parseFloat(l?.getAttribute("width")||"0");const s=a.getElementMobileProps({elem:l});o.gapMobile=s.mobileHeight||0}else o.gap=0;(i.classList.contains("em-mob-wrap-cancel")||i.classList.contains("noresp-em-mob-wrap-cancel"))&&(o.wrap=!1)}),o.valign=n.getAttribute("valign")||"",(n?document.querySelector('[em-edit="active"]'):e.closest(t)?.parentElement?.closest("td"))?.getAttribute("dir")==="rtl"&&(o.dirRevers=!0);else if(e.querySelector('div[style*="inline-block"]')){const i=e.querySelectorAll('div[style*="inline-block"]');if(i.length>1)i.forEach(s=>{const c=s,d=c.firstElementChild;o.items.push({width:parseFloat(d?.getAttribute("width")||"0"),current:!1});const u=d?.getAttribute("width"),p=parseFloat(c.style.width);!u||u.includes("%")?o.gap=p-p:o.gap=p-parseFloat(u)});else{const s=e.querySelector('div[style*="inline-block"]');o.items=[{width:parseFloat(s.firstElementChild?.getAttribute("width")||"0"),current:!0}],o.gap=0}const l=e.querySelector('div[style*="inline-block"]');o.valign=l?.style.verticalAlign||"",(l?document.querySelector('[em-edit="active"]'):e.closest('div[style*="inline-block"]')?.parentElement)?.getAttribute("dir")==="rtl"&&(o.dirRevers=!0)}return o}function $m(e,o,t){const n=e.elem,r={...t.getElementTdDiv(n),direction:n.getAttribute("dir")??"none"};let i="td",l=o.TABLE_COLUMN;return(n.classList.contains("em-mob-wrap")||n.classList.contains("noresp-em-mob-wrap"))&&(i="column"),n.parentElement?.getAttribute("em")==="group"?(l=o.ELEMENT_PATH_GROUP??o.GROUP,i="group"):n.closest("table")?.parentElement?.tagName==="BODY"?(l=o.GROUP,i="group"):n.classList.contains("em-mob-wrap")?l=o.FLOAT_BLOCK:n.parentElement?.getAttribute("em")==="block"&&(l=o.STRUCTURE),{type:i,caption:l,settings:r}}function zm(e,o,t){const n=e.elem,r={...t.getElementTdDiv(n),direction:n.getAttribute("dir")??"none"};return r.floatBlocks=Wm(n),r.isContrastBlock=!!n.closest(".em-contrast-block"),{type:"structure",caption:o.STRUCTURE,settings:r}}function Vm(e,o,t){const n=e.elem,r={...t.getElementTdDiv(n),direction:n.getAttribute("dir")??"none"};let i=o.TABLE_COLUMN,l="td";return n.parentElement?.getAttribute("em")==="group"?(i=o.ELEMENT_PATH_GROUP??o.GROUP,l="group"):n.closest("table")?.getAttribute("em")==="atom"?i=o.ELEMENT:n.parentElement?.getAttribute("em")==="block"&&(i=o.STRUCTURE),{type:l,caption:i,settings:r}}function uo(e){return e?{value:parseFloat(e),dim:e.includes("%")?"%":"px"}:{value:null,dim:"px"}}function Um(e,o,t){const n=e.elem;return{type:"div",caption:o.CONTAINER,...t.getElementTdDiv(n),width:uo(n.style.width),maxWidth:uo(n.style.maxWidth),minWidth:uo(n.style.minWidth),height:uo(n.style.height),valign:n.style.verticalAlign??"",align:n.style.textAlign??"",direction:n.getAttribute("dir")??"none"}}function Ot(e,o,t){const n=t==="All"?"border":`border-${t.toLowerCase()}`,r=e?.includes(`${n}:`);if(t==="All")return{color:o.getAttribute("bordercolor")?a.rgbToHex(o.getAttribute("bordercolor")):o.style?.border?a.rgbToHex(o.style.borderColor):"",width:o.getAttribute("border")||(o.style?.border?o.style.borderWidth:""),style:e?.includes("border:")?o.style.borderStyle:o.getAttribute("border")?"solid":""};const i=`border${t}Color`,l=`border${t}Width`,s=`border${t}Style`;return{color:r?a.rgbToHex(o.style[i]):"",width:r?o.style[l]:"",style:r?o.style[s]:""}}function xt(e,o,t){const n=t==="All"?"border":`border-${t.toLowerCase()}`,r=!!e?.includes(`${n}:`);if(t==="All")return{color:r?a.rgbToHex(o.style.borderColor):"",width:r?o.style.borderTopWidth:0,style:r?o.style.borderStyle:""};const i=`border${t}Color`,l=`border${t}Width`,s=`border${t}Style`;return{color:r?a.rgbToHex(o.style[i]):"",width:r?o.style[l]:0,style:r?o.style[s]:""}}function jm(e){return!!e.closest(".em-element-custom-table")}function Gm(e,o,t){const n=e.elem,r=n.tagName==="DIV"||n.querySelector(`.${t.CLASS_FOR_BASIC_CELL}`)||n.querySelector("EDITOR")?n.closest("TD"):n,i=r.closest("TABLE"),l=i.getAttribute("style"),s=r.getAttribute("style"),c=t.parseTableElementToModel(i);if(t.activeCell.length>1){const b=c.cells.find(h=>h.id===t.activeCell[0]);c.cells.find(h=>h.id===t.activeCell[t.activeCell.length-1])?.style,b?.style}const d=i?.style?.borderRadius?t.extractBorderRadius(l||""):null,u=d?d.firstNumber===d.secondNumber&&d.secondNumber===d.thirdNumber&&d.thirdNumber===d.fourthNumber:!1,p=t.parseBackgroundStyles(l||""),m=a.getElementBoxShadow(i),f=a.getElementMobileProps({elem:i}),g={...t.getElementTdDiv(n),direction:n.getAttribute("dir")??"none",show:f.show,outlookBackground:a.hasElementVMLBackground(n.closest(".em-element-custom-table")??n,"around"),customTable:{paddingLeftRight:r.style.paddingLeft===r.style.paddingRight?r.style.paddingLeft:"",paddingTopBottom:r.style.paddingTop===r.style.paddingBottom?r.style.paddingTop:"",paddingLeft:r.style.paddingLeft,paddingRight:r.style.paddingRight,paddingTop:r.style.paddingTop,paddingBottom:r.style.paddingBottom,backgroundColor:i.getAttribute("bgcolor")?a.rgbToHex(i.getAttribute("bgcolor")):"",backgroundImage:[{type:"url",value:p?.backgroundImage??""}],backgroundPositionX:p?.backgroundPositionX??"center",backgroundPositionY:p?.backgroundPositionY??"center",backgroundRepeat:p?.backgroundRepeat??"repeat",backgroundSize:p?.backgroundSize??"cover",borderAll:Ot(l,i,"All"),borderBottom:Ot(l,i,"Bottom"),borderTop:Ot(l,i,"Top"),borderRight:Ot(l,i,"Right"),borderLeft:Ot(l,i,"Left"),borderRadius:{all:l?.includes("border-radius:")&&u?+d.firstNumber:null,topLeft:l?.includes("border-radius:")&&!u?+d.firstNumber:null,topRight:l?.includes("border-radius:")&&!u?+d.secondNumber:null,bottomRight:l?.includes("border-radius:")&&!u?+d.thirdNumber:null,bottomLeft:l?.includes("border-radius:")&&!u?+d.fourthNumber:null},boxShadow:{color:m?.color??null,hOffset:m?.hOffset??null,vOffset:m?.vOffset??null,blurRadius:m?.blurRadius??null,spreadRadius:m?.spreadRadius??null,inset:m?.inset??null},mobileBoxShadow:f.mobileBoxShadow,mobileBackgroundColor:f.mobileBackgroundColor,mobileWidth:{value:f.mobileWidth!=null?f.mobileWidth:null,dim:f.mobileWidthDim},mobileHeight:{value:f.mobileHeight!=null?f.mobileHeight:null,dim:"px"},mobileBorderRadius:f.mobileBorderRadius,mobileBorder:f.mobileBorder,borderPosition:a.getSimpleBorderType(i),cell_borderPosition:a.getSimpleBorderType(r),cellBackgroundColor:s?.includes("background-color:")?a.rgbToHex(r.style.backgroundColor):"",cell_borderAll:xt(s,r,"All"),cell_borderBottom:xt(s,r,"Bottom"),cell_borderTop:xt(s,r,"Top"),cell_borderRight:xt(s,r,"Right"),cell_borderLeft:xt(s,r,"Left"),cell_paddingLeftRight:r.style.paddingLeft===r.style.paddingRight?r.style.paddingLeft:"",cell_paddingTopBottom:r.style.paddingTop===r.style.paddingBottom?r.style.paddingTop:"",cell_paddingLeft:r.style.paddingLeft,cell_paddingRight:r.style.paddingRight,cell_paddingTop:r.style.paddingTop,cell_paddingBottom:r.style.paddingBottom,linkHref:n.getAttribute("href")?.trim()??"",textLink:!!n.closest("a"),target:n.getAttribute("target")??"",fontFamily:t.getFontFamilyFromElement(t.requestElemWithStyle?.closest('[style*="font-family"]')||n),fontSize:t.requestElemWithStyle?.style?.fontSize?parseInt(t.requestElemWithStyle.style.fontSize,10):t.requestElemWithStyle?.closest('div[style*="font-size"]')?.style?.fontSize?parseInt(t.requestElemWithStyle.closest('div[style*="font-size"]').style.fontSize,10):null,textStrikethrough:t.textHasStyle(n,"s","strike")||t.requestElemWithStyle?.style.textDecoration.includes("line-through"),textUnderline:t.textHasStyle(n,"u")||t.requestElemWithStyle.style.textDecoration.includes("underline")||!t.requestElemWithStyle.style.textDecoration&&n.tagName==="A",lineHeight:t.getLineHeghtInPixels(t.requestElemWithStyle),textStrong:t.textHasStyle(n,"strong","b")||t.isElementHasBold(t.requestElemWithStyle),textItalic:t.textHasStyle(n,"i","em")||!t.requestElemWithStyle.closest('[style*="font-style: normal"]')&&t.requestElemWithStyle?.style?.fontStyle==="italic",textAlign:n.style?.textAlign||n.getAttribute("align")||n.closest("[align]")?.getAttribute("align")||"",textColor:a.rgbToHex(n.closest('[style*="color"]')?.style.color)||a.rgbToHex(getComputedStyle(n).color),textBackgroundColor:a.rgbToHex(n.closest('[style*="background-color"]')?.style.backgroundColor)||a.rgbToHex(getComputedStyle(n).backgroundColor),textValign:n.style?.verticalAlign||n.getAttribute("valign")||n.closest("[valign]")?.getAttribute("valign")||""}};return n.getAttribute("new")&&(n.removeAttribute("new"),g.customTable.isNewLink=!0,n.setAttribute("em-edit","active")),{type:"customTable",caption:o.ELEMENT,settings:g}}function ri(e,o){const t=e==null?null:typeof e=="number"?e:Number(e);return{value:t==null||Number.isNaN(t)?null:t,dim:o==="%"?"%":"px"}}function Ym(e){return e.tagName==="TABLE"&&e.getAttribute("em")==="atom"}function ii(e,o,t){return e?{fontFamily:a.getFontFamilyFromElement$1(e.closest('[style*="font-family"]')||e),textStrong:a.textHasStyle$1(e,"strong","b")||a.isElementHasBold(e)||!!o?.querySelector("strong")||!!o?.querySelector("bold")||e.querySelector("span")?.style?.fontWeight?.includes("bold"),textItalic:!e.closest('[style*="font-style: normal"]')&&e.style?.fontStyle==="italic"||!!e.querySelector("em")||!!e.querySelector("i")||e.querySelector("span")?.style?.fontStyle?.includes("italic"),fontSize:parseFloat(e.closest('[style*="font-size"]')?.style.fontSize)||0,lineHeight:t.getLineHeghtInPixels(e),textColor:a.rgbToHex(e.closest('[style*="color"]')?.style.color)||"",textBackgroundColor:a.rgbToHex(e.closest('[style*="background-color"]')?.style.backgroundColor)||"",textStrikethrough:Km(e),textUnderline:Xm(e)}:{}}function Km(e){return e.style?.textDecorationLine?.includes("line-through")||e.querySelector("em")?.style?.textDecorationLine?.includes("line-through")||e.querySelector("span")?.style?.textDecorationLine?.includes("line-through")||e.style?.textDecoration?.includes("line-through")||e.querySelector("em")?.style?.textDecoration?.includes("line-through")||e.querySelector("span")?.style?.textDecoration?.includes("line-through")||!!e.querySelector("strike")}function Xm(e){return e.style?.textDecorationLine?.includes("underline")||e.querySelector("em")?.style?.textDecorationLine?.includes("underline")||e.querySelector("span")?.style?.textDecorationLine?.includes("underline")||e.style?.textDecoration?.includes("underline")||e.querySelector("em")?.style?.textDecoration?.includes("underline")||e.querySelector("span")?.style?.textDecoration?.includes("underline")||!!e.querySelector("underline")||!!e.querySelector("u")}function Zm(e,o,t){const n=e.elem.querySelector(".em-element-list-ul")||e.elem.querySelector(".em-element-list-ol")||null,r=n?e.elem.querySelector('table[class^="em-element-list"] tr td:nth-child(2) div'):null,i=a.getElementMobileProps({elem:e.elem}),l=e.elem.querySelector("td"),s=t.getElementTdDiv(l),c=n?ii(r,n,t):{};return{type:"td",caption:o.ELEMENT,...s,mobileWidth:ri(i.mobileWidth,i.mobileWidthDim),direction:l?.getAttribute("dir")??"none",elementName:n?"List":"",...c}}function Jm(e,o,t){const n=e.elem.closest("table")?.closest("td"),r=e.elem.closest("table");if(!n&&!r)return{settings:null,editTargetTd:null,shouldResetProgrammaticSelection:!0};const i=n?.querySelector('table[class^="em-element-list"] tr td:nth-child(2) div'),l=!!(n?.querySelector(".em-element-list-ul")||n?.querySelector(".em-element-list-ol")),s=a.getElementMobileProps({elem:n}),c=n?.querySelector("td"),d=t.getElementTdDiv(c),u=i?ii(i,r,t):{};return{settings:{type:"td",caption:o.ELEMENT,...d,mobileWidth:ri(s.mobileWidth,s.mobileWidthDim),direction:c?.getAttribute("dir")??"none",elementName:l?"List":"",...u},editTargetTd:c,shouldResetProgrammaticSelection:!0}}var Qm='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M 15 3 C 13.742188 3 12.847656 3.890625 12.40625 5 L 5 5 L 5 28 L 13 28 L 13 30 L 27 30 L 27 14 L 25 14 L 25 5 L 17.59375 5 C 17.152344 3.890625 16.257813 3 15 3 Z M 15 5 C 15.554688 5 16 5.445313 16 6 L 16 7 L 19 7 L 19 9 L 11 9 L 11 7 L 14 7 L 14 6 C 14 5.445313 14.445313 5 15 5 Z M 7 7 L 9 7 L 9 11 L 21 11 L 21 7 L 23 7 L 23 14 L 13 14 L 13 26 L 7 26 Z M 15 16 L 25 16 L 25 28 L 15 28 Z"/></svg>',eu='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M 16 2 C 14.742188 2 13.847656 2.890625 13.40625 4 L 5 4 L 5 29 L 27 29 L 27 4 L 18.59375 4 C 18.152344 2.890625 17.257813 2 16 2 Z M 16 4 C 16.554688 4 17 4.445313 17 5 L 17 6 L 20 6 L 20 8 L 12 8 L 12 6 L 15 6 L 15 5 C 15 4.445313 15.445313 4 16 4 Z M 7 6 L 10 6 L 10 10 L 22 10 L 22 6 L 25 6 L 25 27 L 7 27 Z M 21.28125 13.28125 L 15 19.5625 L 11.71875 16.28125 L 10.28125 17.71875 L 14.28125 21.71875 L 15 22.40625 L 15.71875 21.71875 L 22.71875 14.71875 Z"/></svg>',tu='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M 5 5 L 5 9 L 6 9 L 6 19 L 5 19 L 5 23 L 9 23 L 9 22 L 11 22 L 11 24 L 10 24 L 10 28 L 14 28 L 14 27 L 24 27 L 24 28 L 28 28 L 28 24 L 27 24 L 27 14 L 28 14 L 28 10 L 24 10 L 24 11 L 22 11 L 22 9 L 23 9 L 23 5 L 19 5 L 19 6 L 9 6 L 9 5 Z M 9 8 L 19 8 L 19 9 L 20 9 L 20 19 L 19 19 L 19 20 L 9 20 L 9 19 L 8 19 L 8 9 L 9 9 Z M 22 13 L 24 13 L 24 14 L 25 14 L 25 24 L 24 24 L 24 25 L 14 25 L 14 24 L 13 24 L 13 22 L 19 22 L 19 23 L 23 23 L 23 19 L 22 19 Z"/></svg>',ft=null,ou=".em-prevent-action";function nu(e){ft=e}function ru(){return a.state.get("emailWidth")||475}function iu(){return a.state.get("copyPasteEnabled")||!1}function lu(){return a.state.get("saveBlockEnabled")||!1}function au(){return a.state.get("blocksAddPanelEnabled")||!1}function su(){return a.state.get("codeMode")||!1}function Dt(e,o){if(!ft)return;const t=ft.getLocale(),n=ru(),r=iu(),i=lu(),l=au(),s=su();if(o==="atom"){e.setAttribute("em-state","active"),e.getBoundingClientRect().left<50&&e.setAttribute("em-state","active-inside");const c=a.addElement({targetElement:e,insertType:"append",className:"em-element-editor",width:82,height:26});c.classList.add("of-atom"),document.body.getBoundingClientRect().height>70&&e.getBoundingClientRect().top+70>document.body.getBoundingClientRect().height&&c.classList.add("out-of-iframe"),e.getBoundingClientRect().top<25&&c.classList.add("em-top-crossed");const d=a.addElement({targetElement:c,insertType:"append",className:"em-element-editor-widget"});a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-drug",HTMLcontent:a.icon(a.braille_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.drag}`,'style="transform: rotate(90deg)"'),title:t.REORDER_ATOM}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-edit",HTMLcontent:a.icon(a.pen_solid_default,`${a.ICON_SIZE} em-analytics__atoms-panel-edit`),title:t.EDIT_ATOM}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-clone",HTMLcontent:a.icon(a.copy_solid_default,`${a.ICON_SIZE} em-analytics__atoms-panel-clone`),title:t.CLONE_ATOM}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-remove",HTMLcontent:a.icon(a.trash_alt_solid_default,`${a.ICON_SIZE} em-analytics__atoms-panel-remove`),title:t.REMOVE_ATOM}),a.stickyCheck(ft.commit)}if(o==="block"){e.setAttribute("em-state","active");const c=a.addElement({targetElement:e,insertType:"append",className:"em-element-editor"});c.classList.add("of-block"),e.getBoundingClientRect().left<35&&e.setAttribute("em-state","active-inside"),(document.body.getBoundingClientRect().height>130&&e.getBoundingClientRect().top+130>document.body.getBoundingClientRect().height||document.documentElement.clientWidth<n&&e.getBoundingClientRect().top-34<0)&&c.classList.add("out-of-iframe");const d=a.addElement({targetElement:c,insertType:"append",className:"em-element-editor-widget"}),u=a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-group"});if(a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-drug",HTMLcontent:a.icon(a.braille_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.drag}`),title:t.REORDER_BLOCK}),a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-up"+(e.closest('[em="block"]')?.previousElementSibling?"":" em-element-editor-widget-noactive"),HTMLcontent:a.icon(a.arrow_up_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.moveUp}`),title:t.REORDER_BLOCK_UP}),a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-down"+(e.closest('[em="block"]')?.nextElementSibling?"":" em-element-editor-widget-noactive"),HTMLcontent:a.icon(a.arrow_down_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.moveDown}`),title:t.REORDER_BLOCK_DOWN}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-edit",HTMLcontent:a.icon(a.pen_solid_default,`${a.ICON_SIZE} em-analytics__blocks-panel-edit`),title:t.EDIT_BLOCK}),r){const m=a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-group"});a.addElement({targetElement:m,insertType:"append",className:"em-element-editor-widget-clone",HTMLcontent:a.icon(a.copy_solid_default,`${a.ICON_SIZE} em-analytics__blocks-panel-clone`),title:t.CLONE_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"em-element-editor-widget-copy",HTMLcontent:a.icon(eu,`${a.ICON_SIZE} em-analytics__blocks-panel-copy`),title:t.COPY_BLOCK_TO_CLIPBOARD}),a.addElement({targetElement:m,insertType:"append",className:"em-element-editor-widget-paste",HTMLcontent:a.icon(Qm,`${a.ICON_SIZE} em-analytics__blocks-panel-paste`),title:t.PASTE_BLOCK_FROM_CLIPBOARD})}else a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-clone",HTMLcontent:a.icon(a.copy_solid_default,`${a.ICON_SIZE} em-analytics__blocks-panel-clone`),title:t.CLONE_BLOCK});if(e.closest(ou))return;if((document.querySelector('[em="block"][em-edit="active"] .em-mob-wrap, [em="block"][em-edit="active"] .noresp-em-mob-wrap')&&document.querySelector('[em="block"][em-state="active"] .em-mob-wrap, [em="block"][em-state="active"] .noresp-em-mob-wrap')||document.querySelector('[em="block"] > [em-edit="active"] .em-mob-wrap, [em="block"] > [em-edit="active"] .noresp-em-mob-wrap')&&document.querySelector('[em="block"] > [em-state="active"] .em-mob-wrap, [em="block"] > [em-state="active"] .noresp-em-mob-wrap')||document.querySelector('[em="block"] > [em-edit="active"]')?.closest(".em-structure")&&document.querySelector('[em="block"] > [em-state="active"]')?.closest(".em-structure"))&&(document.querySelector('[em="block"][em-edit="active"]')&&document.querySelector('[em="block"][em-edit="active"]')!==d.closest('[em-edit="active"]')||document.querySelector('[em="block"] > [em-edit="active"]')&&document.querySelector('[em="block"] > [em-edit="active"]')!==d.closest('[em-edit="active"]'))&&a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-merge",HTMLcontent:a.icon(a.object_group_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.merge} em-analytics__blocks-panel-merge`),title:t.MERGE_BLOCK}),d.closest('[em="block"]')?.querySelectorAll(":scope > td > table").length>1&&d.closest('[em="block"]')?.querySelectorAll(".em-mob-wrap")&&a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-unmerge",HTMLcontent:a.icon(tu,`${a.ICON_SIZE} ${a.ICON_ROLE.unmerge} em-analytics__blocks-panel-unmerge`),title:t.UNMERGE_BLOCK}),i&&a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-add-block",HTMLcontent:a.icon(a.save_solid_default,`${a.ICON_SIZE} em-analytics__blocks-panel-save`),title:t.SAVE_TO_BLOCKS}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-remove",HTMLcontent:a.icon(a.trash_alt_solid_default,`${a.ICON_SIZE} em-analytics__blocks-panel-remove`),title:t.REMOVE_BLOCK}),l&&!e.querySelector(".em-element-block-add")&&!s){const m=a.addElement({targetElement:e,insertType:"append",className:"em-element-block-add"});e.getBoundingClientRect().bottom+1>document.body.getBoundingClientRect().height&&m.classList.add("out-of-iframe"),a.addElement({targetElement:m,insertType:"append",className:"em-element-block-add-plus",HTMLcontent:`${a.icon(a.plus_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.add}`)} ${t.ADD_BLOCK}`,title:t.ADD_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"add-empty-block",tag:"i",HTMLcontent:'<svg viewBox="64 64 896 896" focusable="false" data-icon="border-outer" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"></path></svg>',title:t.ADD_EMPTY_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"add-saved-block",tag:"i",HTMLcontent:'<svg viewBox="64 64 896 896" focusable="false" data-icon="appstore-add" width="1em" height="1em" fill="currentColor" aria-hidden="true"><defs><style></style></defs><path d="M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"></path></svg>',title:t.ADD_SAVED_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"add-common-block",tag:"i",HTMLcontent:'<svg viewBox="64 64 896 896" focusable="false" data-icon="appstore" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"></path></svg>',title:t.ADD_COMMON_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"add-template-block",tag:"i",HTMLcontent:'<svg viewBox="64 64 896 896" focusable="false" data-icon="build" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z"></path></svg>',title:t.ADD_TEMPLATE_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"add-search-block",tag:"i",HTMLcontent:'<svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>',title:t.ADD_SEARCH_BLOCK})}a.stickyCheck(ft.commit);const p=e.closest('[em="block"]');p&&(p.onmouseleave=function(){Ft(void 0)})}if(o==="group"){e.tagName==="TR"?e.querySelector("td")?.setAttribute("em-state","active"):e.setAttribute("em-state","active");const c=a.addElement({targetElement:e,insertType:"append",className:"em-element-editor"});c.classList.add("of-group"),document.body.getBoundingClientRect().height>130&&e.getBoundingClientRect().top+130>document.body.getBoundingClientRect().height&&c.classList.add("out-of-iframe");const d=a.addElement({targetElement:c,insertType:"append",className:"em-element-editor-widget"}),u=a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-group"});a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-drug",HTMLcontent:a.icon(a.braille_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.drag}`),title:t.REORDER_BLOCK}),a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-up"+(e.closest('[em="group"]')?.previousElementSibling?"":" em-element-editor-widget-noactive"),HTMLcontent:a.icon(a.arrow_up_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.moveUp}`),title:t.REORDER_BLOCK_UP}),a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-down"+(e.closest('[em="group"]')?.nextElementSibling?"":" em-element-editor-widget-noactive"),HTMLcontent:a.icon(a.arrow_down_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.moveDown}`),title:t.REORDER_BLOCK_DOWN}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-add",HTMLcontent:a.icon(a.plus_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.add} em-analytics__groups-panel-add`),title:t.ADD_GROUP}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-edit",HTMLcontent:a.icon(a.pen_solid_default,`${a.ICON_SIZE} em-analytics__groups-panel-edit`),title:t.EDIT_GROUP}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-clone",HTMLcontent:a.icon(a.copy_solid_default,`${a.ICON_SIZE} em-analytics__groups-panel-clone`),title:t.CLONE_GROUP}),document.querySelectorAll('[em="group"]').length>1&&a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-remove",HTMLcontent:a.icon(a.trash_alt_solid_default,`${a.ICON_SIZE} em-analytics__groups-panel-remove`),title:t.REMOVE_GROUP}),a.stickyCheck(ft.commit)}}function Ft(e){if(document.documentElement.classList.contains("em-resize-start"))return;const o=a.state.get("isLeftButtonDown")||!1;e&&e.closest("[em]")?.getAttribute("em")==="atom"?(document.querySelectorAll('[em="atom"] .em-element-editor, [em="atom"] .em-vindent-paddingTop, [em="atom"] .em-vindent-paddingRight, [em="atom"] .em-vindent-paddingBottom, [em="atom"] .em-vindent-paddingLeft, td.em-vindent .em-element-vindent-value, div[style*="height"][style*="line-height"].em-vindent .em-element-vindent-value').forEach(t=>{t.closest('[em="atom"]')!==e&&!o&&t.remove()}),document.querySelectorAll('[em="group"] .em-element-editor.of-group').forEach(t=>{t.remove()}),document.querySelectorAll('[em="atom"][em-state], [em="atom"] [em-state]').forEach(t=>{t.closest('[em="atom"]')!==e&&t.removeAttribute("em-state")})):e&&e.closest("[em]")?.getAttribute("em")==="block"?(document.querySelectorAll('[em="block"] .em-element-editor, .em-element-block-add, [em="block"] .em-vindent-paddingTop, [em="block"] .em-vindent-paddingRight, [em="block"] .em-vindent-paddingBottom, [em="block"] .em-vindent-paddingLeft, td.em-vindent .em-element-vindent-value, div[style*="height"][style*="line-height"].em-vindent .em-element-vindent-value, .em-gap').forEach(t=>{t.closest('[em="block"]')!==e&&!o&&t.remove()}),document.querySelectorAll('[em="group"] .em-element-editor.of-group, [em="atom"] .em-element-editor').forEach(t=>{t.remove()}),document.querySelectorAll("[em-state]").forEach(t=>{(t.closest('[em="block"]')!==e||t.closest('[em="atom"]'))&&t.removeAttribute("em-state")})):(e&&e.closest("[em]")?.getAttribute("em")==="group"||e===void 0)&&(document.querySelectorAll('[em="block"] .em-element-editor, .em-element-block-add, [em="block"] .em-vindent-paddingTop, [em="block"] .em-vindent-paddingRight, [em="block"] .em-vindent-paddingBottom, [em="block"] .em-vindent-paddingLeft, td.em-vindent .em-element-vindent-value, div[style*="height"][style*="line-height"].em-vindent .em-element-vindent-value, .em-gap').forEach(t=>{o||t.remove()}),document.querySelectorAll('[em="atom"] .em-element-editor, [em="atom"] .em-vindent-paddingTop, [em="atom"] .em-vindent-paddingRight, [em="atom"] .em-vindent-paddingBottom, [em="atom"] .em-vindent-paddingLeft, td.em-vindent .em-element-vindent-value, div[style*="height"][style*="line-height"].em-vindent .em-element-vindent-value').forEach(t=>{o||t.remove()}),document.querySelectorAll('[em="group"] .em-element-editor, [em="group"] .em-vindent-paddingTop, [em="group"] .em-vindent-paddingRight, [em="group"] .em-vindent-paddingBottom, [em="group"] .em-vindent-paddingLeft, td.em-vindent .em-element-vindent-value, div[style*="height"][style*="line-height"].em-vindent .em-element-vindent-value').forEach(t=>{t.closest('[em="group"]')!==e&&!o&&t.remove()}),document.querySelectorAll("[em-state]").forEach(t=>{(t.closest('[em="group"]')!==e||t.closest('[em="block"]')||t.closest('[em="atom"]'))&&t.removeAttribute("em-state")})),document.querySelectorAll(".em-block-insert").forEach(t=>t.classList.remove("em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")),document.querySelectorAll(".em-block-insert-empty").forEach(t=>t.classList.remove("em-block-insert-empty")),document.querySelectorAll('[em-hover="true"]').forEach(t=>t.removeAttribute("em-hover"))}function cu(e,o){if(!e?.isConnected)return;let t;if(t=e.closest('[em="atom"]')){if(Ft(t),t.querySelector(".em-element-editor.of-atom")||Dt(t.tagName==="TR"?t.querySelector("td"):t,"atom"),!t.closest('[em="block"]')?.querySelector(".em-element-editor.of-block")){document.querySelectorAll('[em="block"] > td > .em-element-editor, [em="block"] > td > .em-element-block-add').forEach(r=>{r.remove()}),document.querySelectorAll("[em-state]").forEach(r=>{r.removeAttribute("em-state")});const n=t.closest('[em="block"]');n&&Dt(n.tagName==="TR"?n.querySelector("td"):n,"block"),o.setBlockGroupControlsPosition()}}else(t=e.closest('[em="block"]'))?(Ft(t),t.querySelector(".em-element-editor.of-block")||(Dt(t.tagName==="TR"?t.querySelector("td"):t,"block"),o.setBlockGroupControlsPosition())):(t=e.closest('[em="group"]'))&&(Ft(t),t.querySelector(".em-element-editor.of-group")||(Dt(t.tagName==="TR"?t.querySelector("td"):t,"group"),o.setBlockGroupControlsPosition()));e.closest(".em-element-path")||document.querySelectorAll('[em-hover="true"]').forEach(function(n){n.removeAttribute("em-hover")}),!e.closest(".em-editor-wrapper")&&!e.closest(".em-element-editor")&&!e.closest(".em-vindent")&&!e.closest(".em-gap")&&!e.closest(".em-element-resize-img")&&!e.closest(".em-element-img-change-group")&&!e.closest(".em-element-block-add")&&!e.closest(".em-element-path")&&e.tagName!=="IMG"?e.setAttribute("em-hover","true"):e.tagName==="IMG"&&e.parentElement?.setAttribute("em-hover","true"),o.commit(!1)}var du='<table cellpadding="0" cellspacing="0" border="0" width="100%" class="em-mob-width-100perc" em="atom"><tr><td height="20"></td></tr></table>',mu=['[em="block"].empty-structure td[em-edit="active"]:not([height]):not([width]):empty','[em="block"].empty-structure td[em-edit="active"]:not([height]):not([width])','.em-structure td[em-edit="active"]:not([height]):not([width]):empty','.em-structure td[em-edit="active"]:not([height]):not([width])','.em-structure td.em-mob-wrap[em-edit="active"]','.em-structure td.noresp-em-mob-wrap[em-edit="active"]'];function li(){a.clearPendingPaletteInsert(),document.body.classList.remove("em-block-insert-body","em-atom-insert-body","em-atom-insert-body-inside"),document.querySelectorAll(".em-block-insert-empty").forEach(e=>e.classList.remove("em-block-insert-empty")),document.querySelectorAll(".em-atom-insert-empty").forEach(e=>e.classList.remove("em-atom-insert-empty"))}function uu(){const e=document.querySelectorAll('[em="block"]');return e.length?e[e.length-1]:null}function fu(){for(const e of mu){const o=document.querySelector(e);if(o)return o}return null}function pu(e){const o=e.querySelectorAll('[em="atom"]');return o.length?o[o.length-1]:e}function gu(e){const o=e.querySelectorAll('[em="atom"]');if(o.length)return o[o.length-1];const t=e.querySelector("td.em-mob-wrap")??e.querySelector("td.noresp-em-mob-wrap")??e.querySelector('td[em-edit="active"]:not([height]):not([width])');return t||(e instanceof HTMLElement?eo(e):null)}function bu(e,o,t){const n=e.getAttribute("em")==="atom",r=n?"afterend":"beforeend",i=n?e.parentElement:e;return o.match(/class="em-countdown"/gi)?t.insertCountdown({targetElem:e,targetPlace:r,atomHTML:o}):e.insertAdjacentHTML(r,o),hu(i,e,n)}function hu(e,o,t){if(t){const n=o.nextElementSibling;if(n?.getAttribute("em")==="atom")return n}if(e){const n=e.querySelectorAll('[em="atom"]');if(n.length)return n[n.length-1]}return null}function ai(e,o,t){return o.match(/em="atom"><tr><td>\s*<img/gi)&&(o=t.setImageWidth({atomHTML:o,targetAtom:e})),o=t.commonStylesApply({html:o}),bu(e,o,t)}function yu(e,o){if(!e||document.querySelector('[em="block"][em-edit="active"], [em="block"] [em-edit="active"]')||document.documentElement.scrollHeight+(o.iframeOffsetTop||0)<=(o.previewHeight||0))return;const t=e.getBoundingClientRect();o.messageService.send({operation:"application_scroll-to",settings:{value:t.top+t.height}})}function Eu(){const e=document.querySelector("table:empty");return e instanceof HTMLTableElement?e:null}function Su(e,o){const t=Eu();if(!t)return null;e.match(/em="atom"><tr><td>\s*<img/gi)&&(e=o.setImageWidth({atomHTML:e,targetAtom:t})),e=o.commonStylesApply({html:e});let n=qn(e);if(e!==du){const i=n.match(/<style((.|\n|\r)*?)<\/style>/g);o.setDocumentStyles(i)}n=o.commonStylesApplyToBlock({html:n}),(n.indexOf("empty-structure")>-1||n.indexOf("em-structure")>-1)&&(n=o.setFloatBlocksWidth({blockHTML:n,targetBlock:t}));const r=!!e.match(/class="em-countdown"/gi);return n.substring(0,3)!=="<tr"||t.innerHTML.trim()?null:(r?o.insertCountdown({targetElem:t,targetPlace:"beforeend",atomHTML:n}):t.insertAdjacentHTML("beforeend",n),t.querySelector('[em="block"]:last-child')??t.lastElementChild)}function si(e){return typeof e=="string"?e:e&&typeof e=="object"&&typeof e.html=="string"?e.html:""}function Cu(e,o){e&&o.messageService.send(a.EVENT_TYPES.APPLICATION_ATOM_INSERTED,e),li()}function vu(e,o){o.messageService.send("application_block_inserted",{type:e.type,name:e.name,blockId:e.blockId,project:e.project}),li()}function Au(e,o){const t=si(e.atomHTML),n=t.match(/<style((.|\n|\r)*?)<\/style>/g);return o.setDocumentStyles(n),t.replaceAll(/<style((.|\n|\r)*?)<\/style>/gi,"").trim()}function Tu(e,o){let t=Au(e,o);if(!t)return!1;let n=null;const r=fu();if(r)n=ai(pu(r),t,o);else{const i=uu();if(i){const l=gu(i);l&&(n=ai(l,t,o))}else n=Su(t,o)}return n?(yu(n,o),!0):!1}function Lu(e,o,t){if(e.tagName==="TR"){o.substring(0,3)==="<tr"?t.insertAdjacentHTML(e,"afterend",o):t.insertAdjacentHTML(e,"afterend",'<tr em="block"><td align="center">'+o+"</td></tr>");return}if(o.substring(0,3)==="<tr"){const n=document.createElement("table");n.setAttribute("cellspacing","0"),n.setAttribute("cellpadding","0"),n.setAttribute("align","center"),n.setAttribute("border","0"),n.setAttribute("em","block"),n.setAttribute("width",e.hasAttribute("width")?e.getAttribute("width"):String(e.getBoundingClientRect().width)),n.classList.add("em-mob-width-100perc"),n.innerHTML=`
|
|
258
|
+
`)}var Qo={},Yd=new Set,Kd=null;function Xd(e){Kd=e,Qo=e.localized,e.onChangeLocale(({data:o})=>{Qo=o,Yd.forEach(t=>t(o))})}function Ur(){return Qo}var jr=[];function Zd(){return jr}function Gr(e){const o=Ur();let t="",n="";switch(e.tagName){case"A":e.style.display==="block"?(t=o.ELEMENT_PATH_BUTTON,n="em-element-path-item-button"):(t=o.ELEMENT_PATH_LINK,n="em-element-path-item-link");break;case"IMG":e.closest('table[em-type="social"]')?t=o.ELEMENT_PATH_SOCIAL:t=o.ELEMENT_PATH_IMG,n="em-element-path-item-image";break;case"TD":e.parentElement?.getAttribute("em")==="block"?(t=o.ELEMENT_PATH_BLOCK,n="em-element-path-item-block"):e.parentElement?.getAttribute("em")==="atom"||e.closest("table")?.getAttribute("em")==="atom"?(t=o.ELEMENT_PATH_ATOM,n="em-element-path-item-atom"):e.parentElement?.getAttribute("em")==="group"?(t=o.ELEMENT_PATH_GROUP,n="em-element-path-item-group"):e.classList.contains("em-vindent")?(t=o.ELEMENT_PATH_VINDENT,n="em-element-path-item-vindent"):e.classList.contains("em-mob-wrap")||e.classList.contains("noresp-em-mob-wrap")?(t=o.ELEMENT_PATH_FLOATBLOCK,n="em-element-path-item-column"):(t=o.ELEMENT_PATH_TD,n="em-element-path-item-block");break;case"TABLE":e.getAttribute("em")==="block"?(t=o.ELEMENT_PATH_BLOCK,n="em-element-path-item-block"):e.getAttribute("em")==="atom"&&e.getAttribute("em-type")==="social"?(t=o.ELEMENT_PATH_SOCIAL,n="em-element-path-item-atom"):e.getAttribute("em")==="atom"?(t=o.ELEMENT_PATH_ATOM,n="em-element-path-item-atom"):e.getAttribute("em")==="group"?(t=o.ELEMENT_PATH_GROUP,n="em-element-path-item-group"):e.parentElement?.tagName==="BODY"?(t=o.ELEMENT_PATH_EMAIL,n="em-element-path-item-email"):(t=o.ELEMENT_PATH_TABLE,n="em-element-path-item-table");break;case"SPAN":case"B":case"I":case"EM":case"STRONG":case"P":case"H1":case"H2":case"H3":case"H4":case"H5":case"DIV":case"STRIKE":case"S":case"U":e.style.display==="inline-block"?(t=o.ELEMENT_PATH_FLOATBLOCK,n="em-element-path-item-column"):e.style.fontFamily&&e.style.fontSize&&e.style.lineHeight&&e.style.color?(t=o.ELEMENT_PATH_TEXT,n="em-element-path-item-text"):e.getAttribute("em")==="block"?(t=o.ELEMENT_PATH_BLOCK,n="em-element-path-item-block"):e.getAttribute("em")==="atom"?(t=o.ELEMENT_PATH_ATOM,n="em-element-path-item-atom"):e.getAttribute("em")==="group"?(t=o.ELEMENT_PATH_GROUP,n="em-element-path-item-group"):e.classList.contains("em-vindent")?(t=o.ELEMENT_PATH_VINDENT,n="em-element-path-item-vindent"):(t=o.ELEMENT_PATH_DIV,n="em-element-path-item-block")}const r=a.captionByRules(e,o);return r?.title&&(t=r.title),r?.className&&(n=r.className),e.className&&e.className.indexOf&&e.className.indexOf("em-mob-")>-1&&(n+=" em-element-path-item-mob"),{elem:e,title:t,className:n}}var Jd=new Set(["TABLE","TBODY","THEAD","TFOOT","TR","TD","TH"]);function Qd(e){return Array.from(e.classList).some(o=>o.startsWith("em-element-"))}function em(e){if(e.tagName!=="TD")return!1;const o=Array.from(e.getElementsByTagName("a")),t=o[0];if(o.length!==1||t.style.display!=="block")return!1;for(let n=t.parentElement;n&&n!==e;n=n.parentElement)if(Jd.has(n.tagName))return!1;return Array.from(e.children).every(n=>n===t||n.contains(t)||Qd(n))}function tm(e){const o=e.style;return em(e)?!1:!!(e.tagName==="A"&&!e.closest(".em-element-resize-img-container")&&!e.closest('table[em-type="social"]')||e.tagName==="TD"&&!e.closest(".em-narrow-table")||e.tagName==="TABLE"&&e.parentElement?.style?.display!=="inline-block"&&!e.classList.contains("em-vindent-table")&&!e.closest(".em-narrow-table")&&e.getAttribute("em")!=="atom"&&e.parentElement?.tagName!=="BODY"||e.tagName==="DIV"&&(o.display==="inline-block"||o.display==="table-cell")&&o.verticalAlign||(e.tagName==="DIV"||e.tagName==="TABLE"||e.tagName==="TD")&&!e.classList.contains("em-narrow-table")&&!e.classList.contains("noresp-em-narrow-table")&&(o.width||o.minWidth||o.maxWidth||o.background||o.backgroundColor||o.backgroundPositionX||o.backgroundPositionY||o.backgroundImage||o.backgroundRepeat||o.backgroundSize||o.height||o.padding||o.paddingTop||o.paddingRight||o.paddingBottom||o.paddingLeft||o.border||o.borderBottom||o.borderBottomWidth||o.borderBottomStyle||o.borderBottomColor||o.borderLeft||o.borderLeftWidth||o.borderLeftStyle||o.borderLeftColor||o.borderTop||o.borderTopWidth||o.borderTopStyle||o.borderTopColor||o.borderRight||o.borderRightWidth||o.borderRightStyle||o.borderRightColor||o.borderRadius||o.borderTopLeftRadius||o.borderTopRightRadius||o.borderBottomLeftRadius||o.borderBottomRightRadius||o.boxShadow||o.textAlign||o.align||o.verticalAlign)||e.tagName!=="EDITOR"&&o.fontFamily&&o.fontSize&&o.lineHeight&&o.color||e.tagName==="TD"&&e.closest("table")?.getAttribute("em")==="atom"||e.tagName==="TD"&&e.closest("tr")?.getAttribute("em")==="block"||e.tagName==="TD"&&(e.classList.contains("em-mob-wrap")||e.classList.contains("noresp-em-mob-wrap"))||a.isPathElementByRules(e))}function om(e){let o=[];const t=e.style;(e.tagName==="IMG"||e.tagName==="TD"||e.tagName==="TABLE"||e.tagName!=="EDITOR"&&t.fontFamily&&t.fontSize&&t.lineHeight&&t.color||e.tagName==="DIV"&&t.height&&t.lineHeight||a.isPathElementByRules(e))&&o.push(Gr(e));let n=e;for(;n?.parentElement&&n.parentElement.tagName!=="BODY";)n=n.parentElement,tm(n)&&o.push(Gr(n));return o=o.filter(r=>!(r.elem?.tagName==="TABLE"&&r.elem.parentElement?.tagName==="BODY")),o=o.reverse(),jr=o.map(r=>({...r})),o.map(r=>({title:r.title,className:r.className}))}function Yr(e){const o=Ur(),t=e.parentNode;if(t){if(t.tagName==="A")return o.LINK;if(t.tagName==="TD")return o.TABLE_COLUMN;if(t.tagName==="TABLE"&&!t.parentNode?.style?.display||t.parentNode?.style?.display!=="inline-block")return o.TABLE;if(t.tagName==="DIV"&&(t.style.display==="inline-block"||t.style.display==="table-cell")&&t.style.verticalAlign)return o.FLOAT_BLOCK;if(t.tagName==="DIV"){const n=t.style;if(n.width||n.minWidth||n.maxWidth||n.background||n.backgroundColor||n.backgroundPositionX||n.backgroundPositionY||n.backgroundImage||n.backgroundRepeat||n.backgroundSize||n.height||n.padding||n.paddingTop||n.paddingRight||n.paddingBottom||n.paddingLeft||n.border||n.borderBottom||n.borderBottomWidth||n.borderBottomStyle||n.borderBottomColor||n.borderLeft||n.borderLeftWidth||n.borderLeftStyle||n.borderLeftColor||n.borderTop||n.borderTopWidth||n.borderTopStyle||n.borderTopColor||n.borderRight||n.borderRightWidth||n.borderRightStyle||n.borderRightColor||n.borderRadius||n.borderTopLeftRadius||n.borderTopRightRadius||n.borderBottomLeftRadius||n.borderBottomRightRadius||n.boxShadow||n.textAlign||n.align||n.verticalAlign)return o.CONTAINER}return Yr(t)}}function Kr(e,o){const t=e.getAttribute(o);return!t||t==="auto"?{value:null,dim:"px"}:{value:parseFloat(t),dim:t.includes("%")?"%":"px"}}function Xr(e){return e===null||e==="auto"?null:typeof e=="number"?e:null}function nm(e,o,t){t.clearActiveEditElements();const n=e.elem.closest("amp-carousel");n.setAttribute("em-edit","active");const r=n.querySelectorAll("amp-img"),i=rm(r),l=Array.from(r).map(u=>{const g=a.getElementMobileProps({elem:u});return{src:u.getAttribute("src")??"",width:Kr(u,"width"),height:Kr(u,"height"),alt:u.getAttribute("alt")??"",title:u.getAttribute("title")??"",link:u.closest("a")?.getAttribute("href")??null,renderedWidth:Math.round(e.elem.getBoundingClientRect().width),renderedHeight:Math.round(e.elem.getBoundingClientRect().height),imgReplacer:u.closest("em-replace")?.getAttribute("src")??"",mobileWidth:{value:Xr(g.mobileWidth),dim:g.mobileWidthDim??"px"},mobileHeight:{value:Xr(g.mobileHeight),dim:g.mobileHeightDim??"px"},mobileBorderRadius:g.mobileBorderRadius}}),s=a.getElementMobileProps({elem:n}),c={type:"carousel",caption:o.CAROUSEL,carouselImages:l,borderRadius:a.getElementBorderRadius(n),mobileBorderRadius:s.mobileBorderRadius,loop:n.hasAttribute("loop"),autoplay:n.hasAttribute("autoplay"),link:i},d=n.closest("td");return d&&(c.maxWidth=Math.round(d.getBoundingClientRect().width)),c}function rm(e){const o=Array.from(e,t=>t.closest("a")?.getAttribute("href"));return o.length>0&&o.every(t=>t&&t===o[0])?o[0]??null:null}function im(e){return!!e.closest("amp-carousel")}function lm(e,o,t){t.clearActiveEditElements();const n=e.elem.closest("amp-accordion");n.setAttribute("em-edit","active");const r=t.HTMLDocument.getOuterHtml(n),i=t.parseFromString(r)[0].querySelectorAll("section"),l=Array.from(i).map(s=>({expanded:s.hasAttribute("expanded")}));return{type:"accordion",caption:o.ACCORDION,animate:n.hasAttribute("animate"),expandSingleSection:n.hasAttribute("expand-single-section"),sections:l}}function am(e){return e.tagName==="AMP-ACCORDION"}function It(e){const o=String(e??"").trim();return o?a.rgbToHex(o)??o:""}var en={align:"center",iconSize:40,borderRadius:0,gap:8,bgEnabled:!1,bgColor:"",borderWidth:0,borderColor:"",buttonBorderColor:"",buttonBorderWidth:0,showLabel:!1};function sm(e){if(!e)return null;const o=e.getAttribute("width")?.trim();if(o){const i=parseInt(o,10);if(!Number.isNaN(i)&&i>0)return i}const t=e.getAttribute("style")??"",n=/(?:^|;)\s*width:\s*(\d+)px/i.exec(t);if(n){const i=parseInt(n[1],10);if(!Number.isNaN(i)&&i>0)return i}const r=e.style?.width?.trim()??"";if(r){const i=parseInt(r,10);if(!Number.isNaN(i)&&i>0)return i}return e.offsetWidth>0?Math.round(e.offsetWidth):null}function cm(e,o){if(e.length===0)return o;let t=null;for(const n of e){const r=n.iconWidth;if(r==null||Number.isNaN(r)||r<=0)return o;if(t===null)t=r;else if(r!==t)return o}return t??o}function tn(e){return e.closest('table[em-type="social"]')}function dm(e){const o=e.ownerDocument;return o?Array.from(o.querySelectorAll('table[em-type="social"]')).indexOf(e):-1}function Zr(e){const o=e.querySelector(":scope > tr");if(o){const n=o.querySelector(":scope > td");if(n instanceof HTMLElement)return n}const t=e.querySelector("tbody > tr");if(t){const n=t.querySelector(":scope > td");if(n instanceof HTMLElement)return n}return null}function ut(e){if(!e||!(e instanceof HTMLElement))return"";const o=e.style?.backgroundColor?.trim()??"";return!o||o==="transparent"||o==="rgba(0, 0, 0, 0)"?"":o}function Ie(e,o){return e.hasAttribute(o)||e.hasAttribute(`data-${o}`)}function on(e,o){return e?e.getAttribute(o)??e.getAttribute(`data-${o}`):null}function mm(e){if(!(e instanceof HTMLElement))return null;const o=e.getAttribute("width")?.trim(),t=e.style.width?.trim(),n=o||t;if(!n)return null;const r=/^(\d+)/.exec(n);if(!r)return null;const i=parseInt(r[1],10);return Number.isNaN(i)||i<0?null:i}function um(e,o){for(let t=1;t<e.length-1;t+=1){const n=e[t-1],r=e[t],i=e[t+1];if(n instanceof HTMLElement&&i instanceof HTMLElement&&Ie(n,"em-platform")&&Ie(i,"em-platform")&&r instanceof HTMLElement&&!Ie(r,"em-platform")){const l=mm(r);if(l!=null){o.gap=l;return}}}}function Jr(e){const o=String(e??""),t=/(?:^|;)\s*border-radius:\s*(\d+)px/i.exec(o);if(!t)return null;const n=parseInt(t[1],10);return Number.isNaN(n)||n<0?null:n}function fm(e,o){const t=Zr(e)?.getAttribute("align")?.trim().toLowerCase();(t==="left"||t==="right"||t==="center")&&(o.align=t)}function pm(e,o){for(const t of e){if(!(t instanceof HTMLElement)||!Ie(t,"em-platform"))continue;const n=Jr(t.getAttribute("style"));if(n!=null){o.borderRadius=n;return}const r=Jr(t.querySelector("img")?.getAttribute("style")??null);if(r!=null){o.borderRadius=r;return}}}function gm(e,o){for(const t of e){if(!(t instanceof HTMLElement))continue;const n=t.querySelector("br"),r=n?.nextElementSibling?.tagName==="SPAN"?n.nextElementSibling:null;if(r&&r.textContent?.trim()){o.showLabel=!0;return}}o.showLabel=!1}function bm(e,o,t){const n=e.querySelector("[em-social-tray-shell], [data-em-social-tray-shell]"),r=e.querySelector("td[em-tray-cell-bg], td[data-em-tray-cell-bg]"),i=ut(n),l=ut(r instanceof HTMLElement?r:null),s=ut(e.querySelector("[em-social-tray], [data-em-social-tray]")),c=ut(o),d=ut(e),u=i||l||s||c||d;u&&(t.bgEnabled=!0,t.bgColor=u)}function hm(e){const o=Zr(e);if(!(o instanceof HTMLElement))return"";const t=ut(o);return t||(o.getAttribute("bgcolor")?.trim()??"")}function nn(e){if(!e)return null;const o=e.style.border?.trim()??"",t=/^(\d+)px\s+solid\s+(.+)$/i.exec(o);if(!t)return null;const n=parseInt(t[1],10),r=t[2].trim();return Number.isNaN(n)||n<=0||!r?null:{w:n,color:r}}function ym(e,o){const t=nn(e);t&&(o.borderWidth=t.w,o.borderColor=t.color)}function Em(e){const o=e.closest("td[em-platform], td[data-em-platform]");if(o)return!!tn(o);const t=e.closest("td"),n=t?.previousElementSibling,r=t?.nextElementSibling;return!!(t&&!Ie(t,"em-platform")&&n instanceof HTMLElement&&r instanceof HTMLElement&&Ie(n,"em-platform")&&Ie(r,"em-platform")&&tn(t))}function Sm(e,o){const t=tn(e.elem);if(!t)return{type:"social",caption:o.SOCIAL??"Social media",...en,hostCellBgForIconLuminance:"",blockIndex:-1,items:[]};const n={...en};fm(t,n),ym(t,n);const r=t.querySelector('table[role="presentation"]')||t.querySelector("table");bm(t,r,n);const i=r?.querySelector("tr"),l=i?Array.from(i.querySelectorAll(":scope > td")):[],s=l.filter(p=>p instanceof HTMLElement&&Ie(p,"em-platform")),c=s.length>0?s:l.filter(p=>p.querySelector("img"));um(l,n),pm(c,n),gm(c,n);let d=typeof n.buttonBorderWidth=="number"&&!Number.isNaN(n.buttonBorderWidth)?n.buttonBorderWidth:0;const u=t.querySelector("[em-social-tray-shell], [data-em-social-tray-shell]"),g=u instanceof HTMLElement?nn(u):null;if(g)d=g.w;else for(const p of c){if(!(p instanceof HTMLElement))continue;const b=nn(p);if(b){d=b.w;break}}let m=c.map(p=>{if(!(p instanceof HTMLElement))return{platform:"unknown",customIcon:!1,href:"",alt:"",title:"",iconSrc:"",iconWidth:null,iconHeight:null,buttonBgColor:"",itemBorderColor:""};const b=p,h=on(b,"em-platform")||"unknown",y=Ie(b,"em-custom-icon"),E=b.querySelector("a"),S=b.querySelector("img"),v=E?.getAttribute("href")??"",C=E?.getAttribute("title")??S?.getAttribute("title")??"",L=S?.getAttribute("alt")??"",w=S?.getAttribute("src")??"",T=sm(S instanceof HTMLImageElement?S:null),k=S?.getAttribute("height")?.trim(),D=k?parseInt(k,10):NaN,z=!Number.isNaN(D)&&D>0,$=on(b,"em-button-bg")?.trim()??"",M=!y&&Ie(b,"em-tray-cell-bg");let H="",P="";if(!y&&(H=$,!H&&!M&&b.style?.backgroundColor&&(H=b.style.backgroundColor.trim()),P=on(b,"em-item-border-color")?.trim()??"",!P)){const Z=b.style.border?.trim()??"",R=/^(\d+)px\s+solid\s+(.+)$/i.exec(Z);R?.[2]&&(P=R[2].trim())}return{platform:h,customIcon:y,href:v,alt:L,title:C,iconSrc:w,iconWidth:T,iconHeight:z?D:T,buttonBgColor:H,itemBorderColor:P}});if(g&&m.length>0&&m.every(p=>p.customIcon||!String(p.itemBorderColor??"").trim())){const p=g.color;m=m.map(b=>b.customIcon?b:{...b,itemBorderColor:p})}const f=cm(m,en.iconSize);return{type:"social",caption:o.SOCIAL??"Social media",align:n.align,iconSize:f,borderRadius:n.borderRadius,gap:n.gap,bgEnabled:n.bgEnabled,bgColor:It(n.bgColor),borderWidth:n.borderWidth,borderColor:It(n.borderColor),buttonBorderColor:"",buttonBorderWidth:d,showLabel:n.showLabel,hostCellBgForIconLuminance:It(hm(t)),blockIndex:dm(t),items:m.map(p=>({...p,buttonBgColor:It(p.buttonBgColor),itemBorderColor:It(p.itemBorderColor)}))}}function rn(e){if(!e)return!1;for(const o of Array.from(e.childNodes))if(o.nodeType===Node.COMMENT_NODE&&o.nodeValue?.includes("[if mso]")&&o.nodeValue.includes("v:roundrect")||o.nodeType===Node.ELEMENT_NODE&&rn(o))return!0;return!1}function Qr(e,o){if(!e)return{value:null,dim:"px"};const t=e.getAttribute(o);return!t||t==="auto"?{value:null,dim:"px"}:{value:parseFloat(t),dim:t.includes("%")?"%":"px"}}function ei(e){return e===null||e==="auto"?null:typeof e=="number"?e:null}function Cm(e){const o={all:null,top:null,right:null,bottom:null,left:null};return!e.style.padding&&!e.style.paddingTop&&!e.style.paddingRight&&!e.style.paddingBottom&&!e.style.paddingLeft||(!e.style.padding||e.style.padding.includes(" ")?o.all=null:!e.style.padding&&e.style.paddingTop&&e.style.paddingRight&&e.style.paddingBottom&&e.style.paddingLeft&&e.style.paddingTop===e.style.paddingRight&&e.style.paddingRight===e.style.paddingBottom&&e.style.paddingBottom===e.style.paddingLeft?o.all=parseFloat(e.style.paddingTop):o.all=parseFloat(e.style.padding)||null,o.top=e.style.paddingTop?parseFloat(e.style.paddingTop):null,o.right=e.style.paddingRight?parseFloat(e.style.paddingRight):null,o.bottom=e.style.paddingBottom?parseFloat(e.style.paddingBottom):null,o.left=e.style.paddingLeft?parseFloat(e.style.paddingLeft):null),o}function vm(e){const o={all:null,top:null,right:null,bottom:null,left:null};if(!e.all&&!e.top&&!e.right&&!e.bottom&&!e.left)return o;e.all?!e.all&&e.top&&e.right&&e.bottom&&e.left&&e.top===e.right&&e.right===e.bottom&&e.bottom===e.left?o.all=parseFloat(e.top):o.all=parseFloat(e.all)||null:o.all=null;const t=e.all||null;return o.top=e.top!=null?parseFloat(e.top):t,o.right=e.right!=null?parseFloat(e.right):t,o.bottom=e.bottom!=null?parseFloat(e.bottom):t,o.left=e.left!=null?parseFloat(e.left):t,o}function Am(e){if(e.style.backgroundImage){const o=e.style.backgroundImage;return[{type:"url",value:o.substring(5,o.length-2)}]}return e.getAttribute("background")?[{type:"url",value:e.getAttribute("background")||""}]:[{type:"url",value:""}]}function Tm(e,o){const t=e.elem.closest("a")||e.elem,n=e.elem.closest("td"),r=a.findForeignButtonSpan(t),i=rn(n)&&!rn(t)||!!r,l=r??(i?t:n),s=e.elem.closest("table"),c=s?.closest("td")?.closest("table")?.closest("td"),d=s?.closest("div, p, td"),u=d?.style.textAlign||d?.getAttribute("align")||"left",g=a.getElementMobileProps({elem:e.elem}),m=a.getElementMobileProps({elem:n}),f=c?a.getElementMobileProps({elem:c}):null,p=a.getElementMobileProps({elem:s}),b=e.elem.closest("a"),h={type:"button",caption:o.BUTTON,fontFamily:a.getFontFamilyFromElement$1(e.elem),fontSize:parseFloat(e.elem.closest('[style*="font-size"]')?.style.fontSize)||0,fontSizeDim:"px",lineHeight:a.getLineHeightInPixels$1(e.elem),lineHeightDim:"px",textStrong:a.textHasStyle$1(e.elem,"strong","b")||a.isElementHasBold(e.elem),textItalic:a.textHasStyle$1(e.elem,"i","em")||!e.elem.closest('[style*="font-style: normal"]')&&(b?.style?.fontStyle==="italic"||e.elem.style?.fontStyle==="italic"),textStrikethrough:a.textHasStyle$1(e.elem,"s","strike")||(e.elem.style?.textDecoration?.includes("line-through")??!1)||!!e.elem.closest('[style*=" text-decoration"]')?.style.textDecoration?.includes("line-through"),textUnderline:a.textHasStyle$1(e.elem,"u")||(e.elem.style?.textDecoration?.includes("underline")??!1)||!(e.elem.style?.textDecoration?.length>0)&&e.elem.tagName==="A"||!!e.elem.closest('[style*=" text-decoration"]')?.style.textDecoration?.includes("underline"),textColor:a.rgbToHex(a.findParentWithExplicitStyle(e.elem,"color"))||a.rgbToHex(getComputedStyle(e.elem).color)||"",textBackgroundColor:a.rgbToHex(a.findParentWithExplicitStyle(e.elem,"background-color"))||"",padding:Cm(r??t),borderRadius:a.getElementBorderRadius(l),backgroundColor:l.style.backgroundColor?a.rgbToHex(l.style.backgroundColor):l.getAttribute("bgcolor")||"",backgroundImage:Am(n),backgroundPositionX:n.style.backgroundPositionX!=="initial"?n.style.backgroundPositionX:"",backgroundPositionY:n.style.backgroundPositionY!=="initial"?n.style.backgroundPositionY:"",backgroundRepeat:n.style.backgroundRepeat||"repeat",backgroundSize:n.style.backgroundSize||"auto",width:Qr(s,"width"),height:Qr(n,"height"),align:u,valign:n.getAttribute("valign")??"",textAlign:n.getAttribute("align")??"",border:a.getElementBorder(l),boxShadow:a.getElementBoxShadow(l),href:t.getAttribute("href")??"",outlookRounding:i,outlookBackground:a.hasElementVMLBackground(n,"inside"),mobileWidth:{value:ei(p.mobileWidth),dim:p.mobileWidthDim??"px"},mobileHeight:{value:ei(m.mobileHeight),dim:m.mobileHeightDim??"px"},mobileBorder:m.mobileBorder,mobileBorderRadius:m.mobileBorderRadius,mobileBoxShadow:m.mobileBoxShadow,mobileAlign:p.mobileAlign,mobileFontSize:{value:g.mobileFontSize,dim:g.mobileFontSizeDim||"px"},mobileTextAlign:Bo(e.elem),mobileVerticalAlign:f?.mobileVerticalAlign,mobileBackgroundColor:m.mobileBackgroundColor,mobileBackgroundImage:m.mobileBackgroundImage,mobileBackgroundPositionX:m.mobileBackgroundPositionX,mobileBackgroundPositionY:m.mobileBackgroundPositionY,mobileBackgroundRepeat:m.mobileBackgroundRepeat,mobileBackgroundSize:m.mobileBackgroundSize,mobilePadding:vm(g.mobilePadding),mobileLineHeight:{value:g.mobileLineHeight,dim:"px"},show:p.show,exportAsPicture:s?.getAttribute("em-operation")==="exportAsPicture"};return a.isShowOnMobile(e.elem)&&(h.showOnMobile=!0),h}function Lm(e){if(a.hasForeignButtonStructure(e.closest("a")))return!0;const o=e.getAttribute("style");if(!o||!o.includes("display"))return!1;const t=e.style.display;return!(t!=="block"&&t!=="inline-block"||o.includes("mso-style-priority"))}function wm(e,o){return o?!1:e.tagName==="A"||e.tagName==="EM-REPLACE"&&!!e.closest("a")}function km(e){const o=e.closest("a"),t=e.closest('a[style*="display"]');if(a.hasForeignButtonStructure(o))return!0;if(o&&t){const n=t.style.display;if(n==="block"||n==="inline-block")return!0}if(e.tagName==="A"){const n=e.getAttribute("style");if(n&&n.includes("display")&&e.closest("td[height]"))return!0}return!1}function ti(e){return e===null||e==="auto"?null:typeof e=="number"?e:null}function _m(e,o){const t=e.elem,n=a.getElementMobileProps({elem:t}),r=ti(n.mobileHeight);return{type:"vindent",caption:o.VERTICAL_INDENT,height:{value:parseFloat(t.getAttribute("height")||"0"),dim:"px"},mobileHeight:{value:r,dim:n.mobileHeightDim??"px"}}}function Nm(e,o){const t=e.elem,n=a.getElementMobileProps({elem:t}),r=ti(n.mobileHeight);return{type:"vindent",caption:o.VERTICAL_INDENT,height:{value:parseFloat(t.style.height||"0"),dim:"px"},mobileHeight:{value:r,dim:n.mobileHeightDim??"px"}}}function Bm(e){if(e.tagName!=="TD")return!1;if(e.classList.contains("em-vindent"))return!0;const o=e.closest("table");return e.innerHTML===""&&o?.getAttribute("width")==="100%"}function Mm(e){return e.tagName!=="DIV"?!1:!e.style.fontFamily&&!!e.style.height&&!!e.style.lineHeight&&!!e.style.fontSize}function Rm(e,o){return e.elem.tagName==="TD"?_m(e,o):Nm(e,o)}function oi(e){return e===null||e==="auto"?null:typeof e=="number"?e:null}function Pm(e){return e?{value:parseFloat(e),dim:e.includes("%")?"%":"px"}:{value:null,dim:"px"}}function ni(e){return e?{value:parseFloat(e),dim:e.includes("%")?"%":"px"}:{value:null,dim:"px"}}function Hm(e){const o=e.firstElementChild;if(!o)return 0;const t=o.getAttribute("width");return e.style.maxWidth?parseFloat(e.style.maxWidth)-parseFloat(t||"0"):e.style.width?t&&t.includes("0%")?0:parseFloat(e.style.width)-parseFloat(t||"0"):0}function Im(e,o){const t=e.elem,n=a.getElementMobileProps({elem:t}),r=t.firstElementChild,i=r?a.getElementMobileProps({elem:r}):null,l=oi(n.mobileWidth),s=i?oi(i.mobileWidth):null;return{type:"floatBlock",caption:o.FLOAT_BLOCK,width:Pm(r?.getAttribute("width")),gap:{value:Hm(t),dim:"px"},maxWidth:ni(t.style.maxWidth),minWidth:ni(t.style.minWidth),valign:t.style.verticalAlign??"",mobileWidth:{value:l,dim:n.mobileWidthDim??"px"},mobileContentWidth:{value:s,dim:i?.mobileWidthDim??"px"},mobileVerticalAlign:n.mobileVerticalAlign,show:n.show}}function Om(e){if(e.tagName!=="DIV")return!1;const o=e.style.display,t=o==="inline-block"||o==="table-cell",n=!!e.style.verticalAlign;return t&&n}function xm(e){if(e.tagName!=="TD")return e.closest("table")?.parentElement?.tagName==="BODY";if(e.classList.contains("em-vindent")||e.innerHTML===""||e.closest("table")?.getAttribute("em")==="atom"||e.firstChild?.tagName==="EDITOR")return!1;const o=!!e.querySelector('div[style*="inline-block"]'),t=!!e.querySelector(":scope > table > tr > .em-mob-wrap, :scope > table > tbody > tr > .em-mob-wrap, :scope > table > tr > td > table > tr > .em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > .em-mob-wrap, :scope > table > tr > td > table > tr > td > table > tr > .em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > .em-mob-wrap, :scope > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > .noresp-em-mob-wrap, :scope > table > tr > td > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > .noresp-em-mob-wrap, :scope > table > tr > td > table > tr > td > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > .noresp-em-mob-wrap");return!!(!o&&!t||o&&e.parentElement?.getAttribute("em")!=="block"&&!e.querySelector(".em-mob-wrap, .noresp-em-mob-wrap"))}function Dm(e){if(e.tagName!=="TD"||e.classList.contains("em-vindent")||e.innerHTML===""||e.firstChild?.tagName==="EDITOR"||!(e.parentElement?.getAttribute("em")==="block"||e.parentElement?.parentElement?.getAttribute("em")==="block"||e.parentElement?.parentElement?.parentElement?.getAttribute("em")==="block"))return!1;const o=!!e.querySelector('div[style*="inline-block"]'),t=!!e.querySelector(":scope > table > tr > .em-mob-wrap, :scope > table > tbody > tr > .em-mob-wrap, :scope > table > tr > td > table > tr > .em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > .em-mob-wrap, :scope > table > tr > td > table > tr > td > table > tr > .em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > .em-mob-wrap, :scope > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > .noresp-em-mob-wrap, :scope > table > tr > td > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > .noresp-em-mob-wrap, :scope > table > tr > td > table > tr > td > table > tr > .noresp-em-mob-wrap, :scope > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr > .noresp-em-mob-wrap");return o||t}function Fm(e){if(e.tagName==="TD"){if(e.innerHTML!==""||e.getAttribute("height"))return!1;const o=!e.getAttribute("width")||e.classList.contains("em-mob-wrap")||e.classList.contains("noresp-em-mob-wrap"),t=!!e.closest('[em="block"].empty-structure')||!!e.closest(".em-structure");return o&&t}return e.tagName==="DIV"?!!e.closest("amp-accordion")&&!e.innerHTML:!1}function qm(e){if(e.tagName!=="TD")return!1;const o=!!e.firstChild&&e.firstChild.tagName==="EDITOR";return o&&e.closest("table")?.getAttribute("em")==="atom"?!0:!(o||e.classList.contains("em-vindent"))}function Wm(e){const o={items:[],gap:null,gapMobile:null,valign:"",wrap:void 0,dirRevers:!1},t=".em-mob-wrap, .noresp-em-mob-wrap",n=e.querySelector(t),r=e.querySelectorAll(t).length;if(n&&e.querySelectorAll(".em-mob-wrap:first-child, .noresp-em-mob-wrap:first-child").length===1)o.wrap=!0,e.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)").forEach(i=>{if(o.items.push({width:parseFloat(i.getAttribute("width")||"0"),current:!1}),r>1){const l=n.nextElementSibling;o.gap=parseFloat(l?.getAttribute("width")||"0");const s=a.getElementMobileProps({elem:l});o.gapMobile=s.mobileHeight||0}else o.gap=0;(i.classList.contains("em-mob-wrap-cancel")||i.classList.contains("noresp-em-mob-wrap-cancel"))&&(o.wrap=!1)}),o.valign=n.getAttribute("valign")||"",(n?document.querySelector('[em-edit="active"]'):e.closest(t)?.parentElement?.closest("td"))?.getAttribute("dir")==="rtl"&&(o.dirRevers=!0);else if(e.querySelector('div[style*="inline-block"]')){const i=e.querySelectorAll('div[style*="inline-block"]');if(i.length>1)i.forEach(s=>{const c=s,d=c.firstElementChild;o.items.push({width:parseFloat(d?.getAttribute("width")||"0"),current:!1});const u=d?.getAttribute("width"),g=parseFloat(c.style.width);!u||u.includes("%")?o.gap=g-g:o.gap=g-parseFloat(u)});else{const s=e.querySelector('div[style*="inline-block"]');o.items=[{width:parseFloat(s.firstElementChild?.getAttribute("width")||"0"),current:!0}],o.gap=0}const l=e.querySelector('div[style*="inline-block"]');o.valign=l?.style.verticalAlign||"",(l?document.querySelector('[em-edit="active"]'):e.closest('div[style*="inline-block"]')?.parentElement)?.getAttribute("dir")==="rtl"&&(o.dirRevers=!0)}return o}function $m(e,o,t){const n=e.elem,r={...t.getElementTdDiv(n),direction:n.getAttribute("dir")??"none"};let i="td",l=o.TABLE_COLUMN;return(n.classList.contains("em-mob-wrap")||n.classList.contains("noresp-em-mob-wrap"))&&(i="column"),n.parentElement?.getAttribute("em")==="group"?(l=o.ELEMENT_PATH_GROUP??o.GROUP,i="group"):n.closest("table")?.parentElement?.tagName==="BODY"?(l=o.GROUP,i="group"):n.classList.contains("em-mob-wrap")?l=o.FLOAT_BLOCK:n.parentElement?.getAttribute("em")==="block"&&(l=o.STRUCTURE),{type:i,caption:l,settings:r}}function zm(e,o,t){const n=e.elem,r={...t.getElementTdDiv(n),direction:n.getAttribute("dir")??"none"};return r.floatBlocks=Wm(n),r.isContrastBlock=!!n.closest(".em-contrast-block"),{type:"structure",caption:o.STRUCTURE,settings:r}}function Vm(e,o,t){const n=e.elem,r={...t.getElementTdDiv(n),direction:n.getAttribute("dir")??"none"};let i=o.TABLE_COLUMN,l="td";return n.parentElement?.getAttribute("em")==="group"?(i=o.ELEMENT_PATH_GROUP??o.GROUP,l="group"):n.closest("table")?.getAttribute("em")==="atom"?i=o.ELEMENT:n.parentElement?.getAttribute("em")==="block"&&(i=o.STRUCTURE),{type:l,caption:i,settings:r}}function uo(e){return e?{value:parseFloat(e),dim:e.includes("%")?"%":"px"}:{value:null,dim:"px"}}function Um(e,o,t){const n=e.elem;return{type:"div",caption:o.CONTAINER,...t.getElementTdDiv(n),width:uo(n.style.width),maxWidth:uo(n.style.maxWidth),minWidth:uo(n.style.minWidth),height:uo(n.style.height),valign:n.style.verticalAlign??"",align:n.style.textAlign??"",direction:n.getAttribute("dir")??"none"}}function Ot(e,o,t){const n=t==="All"?"border":`border-${t.toLowerCase()}`,r=e?.includes(`${n}:`);if(t==="All")return{color:o.getAttribute("bordercolor")?a.rgbToHex(o.getAttribute("bordercolor")):o.style?.border?a.rgbToHex(o.style.borderColor):"",width:o.getAttribute("border")||(o.style?.border?o.style.borderWidth:""),style:e?.includes("border:")?o.style.borderStyle:o.getAttribute("border")?"solid":""};const i=`border${t}Color`,l=`border${t}Width`,s=`border${t}Style`;return{color:r?a.rgbToHex(o.style[i]):"",width:r?o.style[l]:"",style:r?o.style[s]:""}}function xt(e,o,t){const n=t==="All"?"border":`border-${t.toLowerCase()}`,r=!!e?.includes(`${n}:`);if(t==="All")return{color:r?a.rgbToHex(o.style.borderColor):"",width:r?o.style.borderTopWidth:0,style:r?o.style.borderStyle:""};const i=`border${t}Color`,l=`border${t}Width`,s=`border${t}Style`;return{color:r?a.rgbToHex(o.style[i]):"",width:r?o.style[l]:0,style:r?o.style[s]:""}}function jm(e){return!!e.closest(".em-element-custom-table")}function Gm(e,o,t){const n=e.elem,r=n.tagName==="DIV"||n.querySelector(`.${t.CLASS_FOR_BASIC_CELL}`)||n.querySelector("EDITOR")?n.closest("TD"):n,i=r.closest("TABLE"),l=i.getAttribute("style"),s=r.getAttribute("style"),c=t.parseTableElementToModel(i);if(t.activeCell.length>1){const b=c.cells.find(h=>h.id===t.activeCell[0]);c.cells.find(h=>h.id===t.activeCell[t.activeCell.length-1])?.style,b?.style}const d=i?.style?.borderRadius?t.extractBorderRadius(l||""):null,u=d?d.firstNumber===d.secondNumber&&d.secondNumber===d.thirdNumber&&d.thirdNumber===d.fourthNumber:!1,g=t.parseBackgroundStyles(l||""),m=a.getElementBoxShadow(i),f=a.getElementMobileProps({elem:i}),p={...t.getElementTdDiv(n),direction:n.getAttribute("dir")??"none",show:f.show,outlookBackground:a.hasElementVMLBackground(n.closest(".em-element-custom-table")??n,"around"),customTable:{paddingLeftRight:r.style.paddingLeft===r.style.paddingRight?r.style.paddingLeft:"",paddingTopBottom:r.style.paddingTop===r.style.paddingBottom?r.style.paddingTop:"",paddingLeft:r.style.paddingLeft,paddingRight:r.style.paddingRight,paddingTop:r.style.paddingTop,paddingBottom:r.style.paddingBottom,backgroundColor:i.getAttribute("bgcolor")?a.rgbToHex(i.getAttribute("bgcolor")):"",backgroundImage:[{type:"url",value:g?.backgroundImage??""}],backgroundPositionX:g?.backgroundPositionX??"center",backgroundPositionY:g?.backgroundPositionY??"center",backgroundRepeat:g?.backgroundRepeat??"repeat",backgroundSize:g?.backgroundSize??"cover",borderAll:Ot(l,i,"All"),borderBottom:Ot(l,i,"Bottom"),borderTop:Ot(l,i,"Top"),borderRight:Ot(l,i,"Right"),borderLeft:Ot(l,i,"Left"),borderRadius:{all:l?.includes("border-radius:")&&u?+d.firstNumber:null,topLeft:l?.includes("border-radius:")&&!u?+d.firstNumber:null,topRight:l?.includes("border-radius:")&&!u?+d.secondNumber:null,bottomRight:l?.includes("border-radius:")&&!u?+d.thirdNumber:null,bottomLeft:l?.includes("border-radius:")&&!u?+d.fourthNumber:null},boxShadow:{color:m?.color??null,hOffset:m?.hOffset??null,vOffset:m?.vOffset??null,blurRadius:m?.blurRadius??null,spreadRadius:m?.spreadRadius??null,inset:m?.inset??null},mobileBoxShadow:f.mobileBoxShadow,mobileBackgroundColor:f.mobileBackgroundColor,mobileBackgroundImage:f.mobileBackgroundImage,mobileBackgroundPositionX:f.mobileBackgroundPositionX,mobileBackgroundPositionY:f.mobileBackgroundPositionY,mobileBackgroundRepeat:f.mobileBackgroundRepeat,mobileBackgroundSize:f.mobileBackgroundSize,mobileWidth:{value:f.mobileWidth!=null?f.mobileWidth:null,dim:f.mobileWidthDim},mobileHeight:{value:f.mobileHeight!=null?f.mobileHeight:null,dim:"px"},mobileBorderRadius:f.mobileBorderRadius,mobileBorder:f.mobileBorder,borderPosition:a.getSimpleBorderType(i),cell_borderPosition:a.getSimpleBorderType(r),cellBackgroundColor:s?.includes("background-color:")?a.rgbToHex(r.style.backgroundColor):"",cell_borderAll:xt(s,r,"All"),cell_borderBottom:xt(s,r,"Bottom"),cell_borderTop:xt(s,r,"Top"),cell_borderRight:xt(s,r,"Right"),cell_borderLeft:xt(s,r,"Left"),cell_paddingLeftRight:r.style.paddingLeft===r.style.paddingRight?r.style.paddingLeft:"",cell_paddingTopBottom:r.style.paddingTop===r.style.paddingBottom?r.style.paddingTop:"",cell_paddingLeft:r.style.paddingLeft,cell_paddingRight:r.style.paddingRight,cell_paddingTop:r.style.paddingTop,cell_paddingBottom:r.style.paddingBottom,linkHref:n.getAttribute("href")?.trim()??"",textLink:!!n.closest("a"),target:n.getAttribute("target")??"",fontFamily:t.getFontFamilyFromElement(t.requestElemWithStyle?.closest('[style*="font-family"]')||n),fontSize:t.requestElemWithStyle?.style?.fontSize?parseInt(t.requestElemWithStyle.style.fontSize,10):t.requestElemWithStyle?.closest('div[style*="font-size"]')?.style?.fontSize?parseInt(t.requestElemWithStyle.closest('div[style*="font-size"]').style.fontSize,10):null,textStrikethrough:t.textHasStyle(n,"s","strike")||t.requestElemWithStyle?.style.textDecoration.includes("line-through"),textUnderline:t.textHasStyle(n,"u")||t.requestElemWithStyle.style.textDecoration.includes("underline")||!t.requestElemWithStyle.style.textDecoration&&n.tagName==="A",lineHeight:t.getLineHeghtInPixels(t.requestElemWithStyle),textStrong:t.textHasStyle(n,"strong","b")||t.isElementHasBold(t.requestElemWithStyle),textItalic:t.textHasStyle(n,"i","em")||!t.requestElemWithStyle.closest('[style*="font-style: normal"]')&&t.requestElemWithStyle?.style?.fontStyle==="italic",textAlign:n.style?.textAlign||n.getAttribute("align")||n.closest("[align]")?.getAttribute("align")||"",textColor:a.rgbToHex(n.closest('[style*="color"]')?.style.color)||a.rgbToHex(getComputedStyle(n).color),textBackgroundColor:a.rgbToHex(n.closest('[style*="background-color"]')?.style.backgroundColor)||a.rgbToHex(getComputedStyle(n).backgroundColor),textValign:n.style?.verticalAlign||n.getAttribute("valign")||n.closest("[valign]")?.getAttribute("valign")||""}};return n.getAttribute("new")&&(n.removeAttribute("new"),p.customTable.isNewLink=!0,n.setAttribute("em-edit","active")),{type:"customTable",caption:o.ELEMENT,settings:p}}function ri(e,o){const t=e==null?null:typeof e=="number"?e:Number(e);return{value:t==null||Number.isNaN(t)?null:t,dim:o==="%"?"%":"px"}}function Ym(e){return e.tagName==="TABLE"&&e.getAttribute("em")==="atom"}function ii(e,o,t){return e?{fontFamily:a.getFontFamilyFromElement$1(e.closest('[style*="font-family"]')||e),textStrong:a.textHasStyle$1(e,"strong","b")||a.isElementHasBold(e)||!!o?.querySelector("strong")||!!o?.querySelector("bold")||e.querySelector("span")?.style?.fontWeight?.includes("bold"),textItalic:!e.closest('[style*="font-style: normal"]')&&e.style?.fontStyle==="italic"||!!e.querySelector("em")||!!e.querySelector("i")||e.querySelector("span")?.style?.fontStyle?.includes("italic"),fontSize:parseFloat(e.closest('[style*="font-size"]')?.style.fontSize)||0,lineHeight:t.getLineHeghtInPixels(e),textColor:a.rgbToHex(e.closest('[style*="color"]')?.style.color)||"",textBackgroundColor:a.rgbToHex(e.closest('[style*="background-color"]')?.style.backgroundColor)||"",textStrikethrough:Km(e),textUnderline:Xm(e)}:{}}function Km(e){return e.style?.textDecorationLine?.includes("line-through")||e.querySelector("em")?.style?.textDecorationLine?.includes("line-through")||e.querySelector("span")?.style?.textDecorationLine?.includes("line-through")||e.style?.textDecoration?.includes("line-through")||e.querySelector("em")?.style?.textDecoration?.includes("line-through")||e.querySelector("span")?.style?.textDecoration?.includes("line-through")||!!e.querySelector("strike")}function Xm(e){return e.style?.textDecorationLine?.includes("underline")||e.querySelector("em")?.style?.textDecorationLine?.includes("underline")||e.querySelector("span")?.style?.textDecorationLine?.includes("underline")||e.style?.textDecoration?.includes("underline")||e.querySelector("em")?.style?.textDecoration?.includes("underline")||e.querySelector("span")?.style?.textDecoration?.includes("underline")||!!e.querySelector("underline")||!!e.querySelector("u")}function Zm(e,o,t){const n=e.elem.querySelector(".em-element-list-ul")||e.elem.querySelector(".em-element-list-ol")||null,r=n?e.elem.querySelector('table[class^="em-element-list"] tr td:nth-child(2) div'):null,i=a.getElementMobileProps({elem:e.elem}),l=e.elem.querySelector("td"),s=t.getElementTdDiv(l),c=n?ii(r,n,t):{};return{type:"td",caption:o.ELEMENT,...s,mobileWidth:ri(i.mobileWidth,i.mobileWidthDim),direction:l?.getAttribute("dir")??"none",elementName:n?"List":"",...c}}function Jm(e,o,t){const n=e.elem.closest("table")?.closest("td"),r=e.elem.closest("table");if(!n&&!r)return{settings:null,editTargetTd:null,shouldResetProgrammaticSelection:!0};const i=n?.querySelector('table[class^="em-element-list"] tr td:nth-child(2) div'),l=!!(n?.querySelector(".em-element-list-ul")||n?.querySelector(".em-element-list-ol")),s=a.getElementMobileProps({elem:n}),c=n?.querySelector("td"),d=t.getElementTdDiv(c),u=i?ii(i,r,t):{};return{settings:{type:"td",caption:o.ELEMENT,...d,mobileWidth:ri(s.mobileWidth,s.mobileWidthDim),direction:c?.getAttribute("dir")??"none",elementName:l?"List":"",...u},editTargetTd:c,shouldResetProgrammaticSelection:!0}}var Qm='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M 15 3 C 13.742188 3 12.847656 3.890625 12.40625 5 L 5 5 L 5 28 L 13 28 L 13 30 L 27 30 L 27 14 L 25 14 L 25 5 L 17.59375 5 C 17.152344 3.890625 16.257813 3 15 3 Z M 15 5 C 15.554688 5 16 5.445313 16 6 L 16 7 L 19 7 L 19 9 L 11 9 L 11 7 L 14 7 L 14 6 C 14 5.445313 14.445313 5 15 5 Z M 7 7 L 9 7 L 9 11 L 21 11 L 21 7 L 23 7 L 23 14 L 13 14 L 13 26 L 7 26 Z M 15 16 L 25 16 L 25 28 L 15 28 Z"/></svg>',eu='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M 16 2 C 14.742188 2 13.847656 2.890625 13.40625 4 L 5 4 L 5 29 L 27 29 L 27 4 L 18.59375 4 C 18.152344 2.890625 17.257813 2 16 2 Z M 16 4 C 16.554688 4 17 4.445313 17 5 L 17 6 L 20 6 L 20 8 L 12 8 L 12 6 L 15 6 L 15 5 C 15 4.445313 15.445313 4 16 4 Z M 7 6 L 10 6 L 10 10 L 22 10 L 22 6 L 25 6 L 25 27 L 7 27 Z M 21.28125 13.28125 L 15 19.5625 L 11.71875 16.28125 L 10.28125 17.71875 L 14.28125 21.71875 L 15 22.40625 L 15.71875 21.71875 L 22.71875 14.71875 Z"/></svg>',tu='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M 5 5 L 5 9 L 6 9 L 6 19 L 5 19 L 5 23 L 9 23 L 9 22 L 11 22 L 11 24 L 10 24 L 10 28 L 14 28 L 14 27 L 24 27 L 24 28 L 28 28 L 28 24 L 27 24 L 27 14 L 28 14 L 28 10 L 24 10 L 24 11 L 22 11 L 22 9 L 23 9 L 23 5 L 19 5 L 19 6 L 9 6 L 9 5 Z M 9 8 L 19 8 L 19 9 L 20 9 L 20 19 L 19 19 L 19 20 L 9 20 L 9 19 L 8 19 L 8 9 L 9 9 Z M 22 13 L 24 13 L 24 14 L 25 14 L 25 24 L 24 24 L 24 25 L 14 25 L 14 24 L 13 24 L 13 22 L 19 22 L 19 23 L 23 23 L 23 19 L 22 19 Z"/></svg>',ft=null,ou=".em-prevent-action";function nu(e){ft=e}function ru(){return a.state.get("emailWidth")||475}function iu(){return a.state.get("copyPasteEnabled")||!1}function lu(){return a.state.get("saveBlockEnabled")||!1}function au(){return a.state.get("blocksAddPanelEnabled")||!1}function su(){return a.state.get("codeMode")||!1}function Dt(e,o){if(!ft)return;const t=ft.getLocale(),n=ru(),r=iu(),i=lu(),l=au(),s=su();if(o==="atom"){e.setAttribute("em-state","active"),e.getBoundingClientRect().left<50&&e.setAttribute("em-state","active-inside");const c=a.addElement({targetElement:e,insertType:"append",className:"em-element-editor",width:82,height:26});c.classList.add("of-atom"),document.body.getBoundingClientRect().height>70&&e.getBoundingClientRect().top+70>document.body.getBoundingClientRect().height&&c.classList.add("out-of-iframe"),e.getBoundingClientRect().top<25&&c.classList.add("em-top-crossed");const d=a.addElement({targetElement:c,insertType:"append",className:"em-element-editor-widget"});a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-drug",HTMLcontent:a.icon(a.braille_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.drag}`,'style="transform: rotate(90deg)"'),title:t.REORDER_ATOM}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-edit",HTMLcontent:a.icon(a.pen_solid_default,`${a.ICON_SIZE} em-analytics__atoms-panel-edit`),title:t.EDIT_ATOM}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-clone",HTMLcontent:a.icon(a.copy_solid_default,`${a.ICON_SIZE} em-analytics__atoms-panel-clone`),title:t.CLONE_ATOM}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-remove",HTMLcontent:a.icon(a.trash_alt_solid_default,`${a.ICON_SIZE} em-analytics__atoms-panel-remove`),title:t.REMOVE_ATOM}),a.stickyCheck(ft.commit)}if(o==="block"){e.setAttribute("em-state","active");const c=a.addElement({targetElement:e,insertType:"append",className:"em-element-editor"});c.classList.add("of-block"),e.getBoundingClientRect().left<35&&e.setAttribute("em-state","active-inside"),(document.body.getBoundingClientRect().height>130&&e.getBoundingClientRect().top+130>document.body.getBoundingClientRect().height||document.documentElement.clientWidth<n&&e.getBoundingClientRect().top-34<0)&&c.classList.add("out-of-iframe");const d=a.addElement({targetElement:c,insertType:"append",className:"em-element-editor-widget"}),u=a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-group"});if(a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-drug",HTMLcontent:a.icon(a.braille_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.drag}`),title:t.REORDER_BLOCK}),a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-up"+(e.closest('[em="block"]')?.previousElementSibling?"":" em-element-editor-widget-noactive"),HTMLcontent:a.icon(a.arrow_up_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.moveUp}`),title:t.REORDER_BLOCK_UP}),a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-down"+(e.closest('[em="block"]')?.nextElementSibling?"":" em-element-editor-widget-noactive"),HTMLcontent:a.icon(a.arrow_down_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.moveDown}`),title:t.REORDER_BLOCK_DOWN}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-edit",HTMLcontent:a.icon(a.pen_solid_default,`${a.ICON_SIZE} em-analytics__blocks-panel-edit`),title:t.EDIT_BLOCK}),r){const m=a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-group"});a.addElement({targetElement:m,insertType:"append",className:"em-element-editor-widget-clone",HTMLcontent:a.icon(a.copy_solid_default,`${a.ICON_SIZE} em-analytics__blocks-panel-clone`),title:t.CLONE_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"em-element-editor-widget-copy",HTMLcontent:a.icon(eu,`${a.ICON_SIZE} em-analytics__blocks-panel-copy`),title:t.COPY_BLOCK_TO_CLIPBOARD}),a.addElement({targetElement:m,insertType:"append",className:"em-element-editor-widget-paste",HTMLcontent:a.icon(Qm,`${a.ICON_SIZE} em-analytics__blocks-panel-paste`),title:t.PASTE_BLOCK_FROM_CLIPBOARD})}else a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-clone",HTMLcontent:a.icon(a.copy_solid_default,`${a.ICON_SIZE} em-analytics__blocks-panel-clone`),title:t.CLONE_BLOCK});if(e.closest(ou))return;if((document.querySelector('[em="block"][em-edit="active"] .em-mob-wrap, [em="block"][em-edit="active"] .noresp-em-mob-wrap')&&document.querySelector('[em="block"][em-state="active"] .em-mob-wrap, [em="block"][em-state="active"] .noresp-em-mob-wrap')||document.querySelector('[em="block"] > [em-edit="active"] .em-mob-wrap, [em="block"] > [em-edit="active"] .noresp-em-mob-wrap')&&document.querySelector('[em="block"] > [em-state="active"] .em-mob-wrap, [em="block"] > [em-state="active"] .noresp-em-mob-wrap')||document.querySelector('[em="block"] > [em-edit="active"]')?.closest(".em-structure")&&document.querySelector('[em="block"] > [em-state="active"]')?.closest(".em-structure"))&&(document.querySelector('[em="block"][em-edit="active"]')&&document.querySelector('[em="block"][em-edit="active"]')!==d.closest('[em-edit="active"]')||document.querySelector('[em="block"] > [em-edit="active"]')&&document.querySelector('[em="block"] > [em-edit="active"]')!==d.closest('[em-edit="active"]'))&&a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-merge",HTMLcontent:a.icon(a.object_group_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.merge} em-analytics__blocks-panel-merge`),title:t.MERGE_BLOCK}),d.closest('[em="block"]')?.querySelectorAll(":scope > td > table").length>1&&d.closest('[em="block"]')?.querySelectorAll(".em-mob-wrap")&&a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-unmerge",HTMLcontent:a.icon(tu,`${a.ICON_SIZE} ${a.ICON_ROLE.unmerge} em-analytics__blocks-panel-unmerge`),title:t.UNMERGE_BLOCK}),i&&a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-add-block",HTMLcontent:a.icon(a.save_solid_default,`${a.ICON_SIZE} em-analytics__blocks-panel-save`),title:t.SAVE_TO_BLOCKS}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-remove",HTMLcontent:a.icon(a.trash_alt_solid_default,`${a.ICON_SIZE} em-analytics__blocks-panel-remove`),title:t.REMOVE_BLOCK}),l&&!e.querySelector(".em-element-block-add")&&!s){const m=a.addElement({targetElement:e,insertType:"append",className:"em-element-block-add"});e.getBoundingClientRect().bottom+1>document.body.getBoundingClientRect().height&&m.classList.add("out-of-iframe"),a.addElement({targetElement:m,insertType:"append",className:"em-element-block-add-plus",HTMLcontent:`${a.icon(a.plus_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.add}`)} ${t.ADD_BLOCK}`,title:t.ADD_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"add-empty-block",tag:"i",HTMLcontent:'<svg viewBox="64 64 896 896" focusable="false" data-icon="border-outer" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"></path></svg>',title:t.ADD_EMPTY_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"add-saved-block",tag:"i",HTMLcontent:'<svg viewBox="64 64 896 896" focusable="false" data-icon="appstore-add" width="1em" height="1em" fill="currentColor" aria-hidden="true"><defs><style></style></defs><path d="M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"></path></svg>',title:t.ADD_SAVED_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"add-common-block",tag:"i",HTMLcontent:'<svg viewBox="64 64 896 896" focusable="false" data-icon="appstore" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"></path></svg>',title:t.ADD_COMMON_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"add-template-block",tag:"i",HTMLcontent:'<svg viewBox="64 64 896 896" focusable="false" data-icon="build" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z"></path></svg>',title:t.ADD_TEMPLATE_BLOCK}),a.addElement({targetElement:m,insertType:"append",className:"add-search-block",tag:"i",HTMLcontent:'<svg viewBox="64 64 896 896" focusable="false" data-icon="search" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"></path></svg>',title:t.ADD_SEARCH_BLOCK})}a.stickyCheck(ft.commit);const g=e.closest('[em="block"]');g&&(g.onmouseleave=function(){Ft(void 0)})}if(o==="group"){e.tagName==="TR"?e.querySelector("td")?.setAttribute("em-state","active"):e.setAttribute("em-state","active");const c=a.addElement({targetElement:e,insertType:"append",className:"em-element-editor"});c.classList.add("of-group"),document.body.getBoundingClientRect().height>130&&e.getBoundingClientRect().top+130>document.body.getBoundingClientRect().height&&c.classList.add("out-of-iframe");const d=a.addElement({targetElement:c,insertType:"append",className:"em-element-editor-widget"}),u=a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-group"});a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-drug",HTMLcontent:a.icon(a.braille_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.drag}`),title:t.REORDER_BLOCK}),a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-up"+(e.closest('[em="group"]')?.previousElementSibling?"":" em-element-editor-widget-noactive"),HTMLcontent:a.icon(a.arrow_up_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.moveUp}`),title:t.REORDER_BLOCK_UP}),a.addElement({targetElement:u,insertType:"append",className:"em-element-editor-widget-down"+(e.closest('[em="group"]')?.nextElementSibling?"":" em-element-editor-widget-noactive"),HTMLcontent:a.icon(a.arrow_down_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.moveDown}`),title:t.REORDER_BLOCK_DOWN}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-add",HTMLcontent:a.icon(a.plus_solid_default,`${a.ICON_SIZE} ${a.ICON_ROLE.add} em-analytics__groups-panel-add`),title:t.ADD_GROUP}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-edit",HTMLcontent:a.icon(a.pen_solid_default,`${a.ICON_SIZE} em-analytics__groups-panel-edit`),title:t.EDIT_GROUP}),a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-clone",HTMLcontent:a.icon(a.copy_solid_default,`${a.ICON_SIZE} em-analytics__groups-panel-clone`),title:t.CLONE_GROUP}),document.querySelectorAll('[em="group"]').length>1&&a.addElement({targetElement:d,insertType:"append",className:"em-element-editor-widget-remove",HTMLcontent:a.icon(a.trash_alt_solid_default,`${a.ICON_SIZE} em-analytics__groups-panel-remove`),title:t.REMOVE_GROUP}),a.stickyCheck(ft.commit)}}function Ft(e){if(document.documentElement.classList.contains("em-resize-start"))return;const o=a.state.get("isLeftButtonDown")||!1;e&&e.closest("[em]")?.getAttribute("em")==="atom"?(document.querySelectorAll('[em="atom"] .em-element-editor, [em="atom"] .em-vindent-paddingTop, [em="atom"] .em-vindent-paddingRight, [em="atom"] .em-vindent-paddingBottom, [em="atom"] .em-vindent-paddingLeft, td.em-vindent .em-element-vindent-value, div[style*="height"][style*="line-height"].em-vindent .em-element-vindent-value').forEach(t=>{t.closest('[em="atom"]')!==e&&!o&&t.remove()}),document.querySelectorAll('[em="group"] .em-element-editor.of-group').forEach(t=>{t.remove()}),document.querySelectorAll('[em="atom"][em-state], [em="atom"] [em-state]').forEach(t=>{t.closest('[em="atom"]')!==e&&t.removeAttribute("em-state")})):e&&e.closest("[em]")?.getAttribute("em")==="block"?(document.querySelectorAll('[em="block"] .em-element-editor, .em-element-block-add, [em="block"] .em-vindent-paddingTop, [em="block"] .em-vindent-paddingRight, [em="block"] .em-vindent-paddingBottom, [em="block"] .em-vindent-paddingLeft, td.em-vindent .em-element-vindent-value, div[style*="height"][style*="line-height"].em-vindent .em-element-vindent-value, .em-gap').forEach(t=>{t.closest('[em="block"]')!==e&&!o&&t.remove()}),document.querySelectorAll('[em="group"] .em-element-editor.of-group, [em="atom"] .em-element-editor').forEach(t=>{t.remove()}),document.querySelectorAll("[em-state]").forEach(t=>{(t.closest('[em="block"]')!==e||t.closest('[em="atom"]'))&&t.removeAttribute("em-state")})):(e&&e.closest("[em]")?.getAttribute("em")==="group"||e===void 0)&&(document.querySelectorAll('[em="block"] .em-element-editor, .em-element-block-add, [em="block"] .em-vindent-paddingTop, [em="block"] .em-vindent-paddingRight, [em="block"] .em-vindent-paddingBottom, [em="block"] .em-vindent-paddingLeft, td.em-vindent .em-element-vindent-value, div[style*="height"][style*="line-height"].em-vindent .em-element-vindent-value, .em-gap').forEach(t=>{o||t.remove()}),document.querySelectorAll('[em="atom"] .em-element-editor, [em="atom"] .em-vindent-paddingTop, [em="atom"] .em-vindent-paddingRight, [em="atom"] .em-vindent-paddingBottom, [em="atom"] .em-vindent-paddingLeft, td.em-vindent .em-element-vindent-value, div[style*="height"][style*="line-height"].em-vindent .em-element-vindent-value').forEach(t=>{o||t.remove()}),document.querySelectorAll('[em="group"] .em-element-editor, [em="group"] .em-vindent-paddingTop, [em="group"] .em-vindent-paddingRight, [em="group"] .em-vindent-paddingBottom, [em="group"] .em-vindent-paddingLeft, td.em-vindent .em-element-vindent-value, div[style*="height"][style*="line-height"].em-vindent .em-element-vindent-value').forEach(t=>{t.closest('[em="group"]')!==e&&!o&&t.remove()}),document.querySelectorAll("[em-state]").forEach(t=>{(t.closest('[em="group"]')!==e||t.closest('[em="block"]')||t.closest('[em="atom"]'))&&t.removeAttribute("em-state")})),document.querySelectorAll(".em-block-insert").forEach(t=>t.classList.remove("em-block-insert","em-block-insert_bottom-document","em-block-insert_bottom","em-block-insert_top-document","em-block-insert_top")),document.querySelectorAll(".em-block-insert-empty").forEach(t=>t.classList.remove("em-block-insert-empty")),document.querySelectorAll('[em-hover="true"]').forEach(t=>t.removeAttribute("em-hover"))}function cu(e,o){if(!e?.isConnected)return;let t;if(t=e.closest('[em="atom"]')){if(Ft(t),t.querySelector(".em-element-editor.of-atom")||Dt(t.tagName==="TR"?t.querySelector("td"):t,"atom"),!t.closest('[em="block"]')?.querySelector(".em-element-editor.of-block")){document.querySelectorAll('[em="block"] > td > .em-element-editor, [em="block"] > td > .em-element-block-add').forEach(r=>{r.remove()}),document.querySelectorAll("[em-state]").forEach(r=>{r.removeAttribute("em-state")});const n=t.closest('[em="block"]');n&&Dt(n.tagName==="TR"?n.querySelector("td"):n,"block"),o.setBlockGroupControlsPosition()}}else(t=e.closest('[em="block"]'))?(Ft(t),t.querySelector(".em-element-editor.of-block")||(Dt(t.tagName==="TR"?t.querySelector("td"):t,"block"),o.setBlockGroupControlsPosition())):(t=e.closest('[em="group"]'))&&(Ft(t),t.querySelector(".em-element-editor.of-group")||(Dt(t.tagName==="TR"?t.querySelector("td"):t,"group"),o.setBlockGroupControlsPosition()));e.closest(".em-element-path")||document.querySelectorAll('[em-hover="true"]').forEach(function(n){n.removeAttribute("em-hover")}),!e.closest(".em-editor-wrapper")&&!e.closest(".em-element-editor")&&!e.closest(".em-vindent")&&!e.closest(".em-gap")&&!e.closest(".em-element-resize-img")&&!e.closest(".em-element-img-change-group")&&!e.closest(".em-element-block-add")&&!e.closest(".em-element-path")&&e.tagName!=="IMG"?e.setAttribute("em-hover","true"):e.tagName==="IMG"&&e.parentElement?.setAttribute("em-hover","true"),o.commit(!1)}var du='<table cellpadding="0" cellspacing="0" border="0" width="100%" class="em-mob-width-100perc" em="atom"><tr><td height="20"></td></tr></table>',mu=['[em="block"].empty-structure td[em-edit="active"]:not([height]):not([width]):empty','[em="block"].empty-structure td[em-edit="active"]:not([height]):not([width])','.em-structure td[em-edit="active"]:not([height]):not([width]):empty','.em-structure td[em-edit="active"]:not([height]):not([width])','.em-structure td.em-mob-wrap[em-edit="active"]','.em-structure td.noresp-em-mob-wrap[em-edit="active"]'];function li(){a.clearPendingPaletteInsert(),document.body.classList.remove("em-block-insert-body","em-atom-insert-body","em-atom-insert-body-inside"),document.querySelectorAll(".em-block-insert-empty").forEach(e=>e.classList.remove("em-block-insert-empty")),document.querySelectorAll(".em-atom-insert-empty").forEach(e=>e.classList.remove("em-atom-insert-empty"))}function uu(){const e=document.querySelectorAll('[em="block"]');return e.length?e[e.length-1]:null}function fu(){for(const e of mu){const o=document.querySelector(e);if(o)return o}return null}function pu(e){const o=e.querySelectorAll('[em="atom"]');return o.length?o[o.length-1]:e}function gu(e){const o=e.querySelectorAll('[em="atom"]');if(o.length)return o[o.length-1];const t=e.querySelector("td.em-mob-wrap")??e.querySelector("td.noresp-em-mob-wrap")??e.querySelector('td[em-edit="active"]:not([height]):not([width])');return t||(e instanceof HTMLElement?eo(e):null)}function bu(e,o,t){const n=e.getAttribute("em")==="atom",r=n?"afterend":"beforeend",i=n?e.parentElement:e;return o.match(/class="em-countdown"/gi)?t.insertCountdown({targetElem:e,targetPlace:r,atomHTML:o}):e.insertAdjacentHTML(r,o),hu(i,e,n)}function hu(e,o,t){if(t){const n=o.nextElementSibling;if(n?.getAttribute("em")==="atom")return n}if(e){const n=e.querySelectorAll('[em="atom"]');if(n.length)return n[n.length-1]}return null}function ai(e,o,t){return o.match(/em="atom"><tr><td>\s*<img/gi)&&(o=t.setImageWidth({atomHTML:o,targetAtom:e})),o=t.commonStylesApply({html:o}),bu(e,o,t)}function yu(e,o){if(!e||document.querySelector('[em="block"][em-edit="active"], [em="block"] [em-edit="active"]')||document.documentElement.scrollHeight+(o.iframeOffsetTop||0)<=(o.previewHeight||0))return;const t=e.getBoundingClientRect();o.messageService.send({operation:"application_scroll-to",settings:{value:t.top+t.height}})}function Eu(){const e=document.querySelector("table:empty");return e instanceof HTMLTableElement?e:null}function Su(e,o){const t=Eu();if(!t)return null;e.match(/em="atom"><tr><td>\s*<img/gi)&&(e=o.setImageWidth({atomHTML:e,targetAtom:t})),e=o.commonStylesApply({html:e});let n=qn(e);if(e!==du){const i=n.match(/<style((.|\n|\r)*?)<\/style>/g);o.setDocumentStyles(i)}n=o.commonStylesApplyToBlock({html:n}),(n.indexOf("empty-structure")>-1||n.indexOf("em-structure")>-1)&&(n=o.setFloatBlocksWidth({blockHTML:n,targetBlock:t}));const r=!!e.match(/class="em-countdown"/gi);return n.substring(0,3)!=="<tr"||t.innerHTML.trim()?null:(r?o.insertCountdown({targetElem:t,targetPlace:"beforeend",atomHTML:n}):t.insertAdjacentHTML("beforeend",n),t.querySelector('[em="block"]:last-child')??t.lastElementChild)}function si(e){return typeof e=="string"?e:e&&typeof e=="object"&&typeof e.html=="string"?e.html:""}function Cu(e,o){e&&o.messageService.send(a.EVENT_TYPES.APPLICATION_ATOM_INSERTED,e),li()}function vu(e,o){o.messageService.send("application_block_inserted",{type:e.type,name:e.name,blockId:e.blockId,project:e.project}),li()}function Au(e,o){const t=si(e.atomHTML),n=t.match(/<style((.|\n|\r)*?)<\/style>/g);return o.setDocumentStyles(n),t.replaceAll(/<style((.|\n|\r)*?)<\/style>/gi,"").trim()}function Tu(e,o){let t=Au(e,o);if(!t)return!1;let n=null;const r=fu();if(r)n=ai(pu(r),t,o);else{const i=uu();if(i){const l=gu(i);l&&(n=ai(l,t,o))}else n=Su(t,o)}return n?(yu(n,o),!0):!1}function Lu(e,o,t){if(e.tagName==="TR"){o.substring(0,3)==="<tr"?t.insertAdjacentHTML(e,"afterend",o):t.insertAdjacentHTML(e,"afterend",'<tr em="block"><td align="center">'+o+"</td></tr>");return}if(o.substring(0,3)==="<tr"){const n=document.createElement("table");n.setAttribute("cellspacing","0"),n.setAttribute("cellpadding","0"),n.setAttribute("align","center"),n.setAttribute("border","0"),n.setAttribute("em","block"),n.setAttribute("width",e.hasAttribute("width")?e.getAttribute("width"):String(e.getBoundingClientRect().width)),n.classList.add("em-mob-width-100perc"),n.innerHTML=`
|
|
259
259
|
`+o+`
|
|
260
|
-
`,n.querySelectorAll('tr[em="block"]').forEach(r=>r.removeAttribute("em")),e.insertAdjacentElement("afterend",n)}else t.insertAdjacentHTML(e,"afterend",o)}function ci(e,o,t){if(!e.blockHTML?.trim())return!1;const n=o.parseFromString(e.blockHTML);let r=n.filter(u=>u.tagName&&u.tagName!=="LINK"&&u.tagName!=="STYLE").map(u=>o.getOuterHtml(u)).join(""),i=n.filter(u=>u.tagName==="STYLE").map(u=>o.getOuterHtml(u)).join("");const l=n.filter(u=>u.tagName==="LINK"&&u.getAttribute("em-class")).filter(u=>!document.head?.querySelector(`link[em-class="${u.getAttribute("em-class")}"]`));if(i){let u=document.head?.querySelector('style[em="styles"]'),
|
|
261
|
-
`+[...m.querySelectorAll("style")].map(
|
|
260
|
+
`,n.querySelectorAll('tr[em="block"]').forEach(r=>r.removeAttribute("em")),e.insertAdjacentElement("afterend",n)}else t.insertAdjacentHTML(e,"afterend",o)}function ci(e,o,t){if(!e.blockHTML?.trim())return!1;const n=o.parseFromString(e.blockHTML);let r=n.filter(u=>u.tagName&&u.tagName!=="LINK"&&u.tagName!=="STYLE").map(u=>o.getOuterHtml(u)).join(""),i=n.filter(u=>u.tagName==="STYLE").map(u=>o.getOuterHtml(u)).join("");const l=n.filter(u=>u.tagName==="LINK"&&u.getAttribute("em-class")).filter(u=>!document.head?.querySelector(`link[em-class="${u.getAttribute("em-class")}"]`));if(i){let u=document.head?.querySelector('style[em="styles"]'),g="";u?g=o.HTMLDocument.getInnerHtml(u):(u=document.createElement("style"),u.setAttribute("em","styles"),u=document.head?.insertAdjacentElement("beforeend",u));const m=document.createElement("div");o.emailWidth&&(i=i.replace(/(max-device-width:|max-width:)\d+px/g,p=>p.replace(/\d+/,String(o.emailWidth)))),m.insertAdjacentHTML("afterbegin",i);let f=o.minify(g+`
|
|
261
|
+
`+[...m.querySelectorAll("style")].map(p=>p.innerHTML).join(`
|
|
262
262
|
`),{restructure:!0,forceMediaMerge:!0}).css;f=o.cssbeautify(f,{indent:" ",autosemicolon:!0}),u.textContent=`
|
|
263
263
|
`+f+`
|
|
264
264
|
`}for(const u of l.reverse())document.head?.prepend(u),document.head?.insertAdjacentHTML("afterbegin",`
|
|
265
|
-
`);if(e.type!=="project"&&(r=o.commonStylesApplyToBlock({html:r})),r.match(/class="em-countdown"/gi)&&(r=o.uptimeCountdown({blockHTML:r})),t)return(r.indexOf("empty-structure")>-1||r.indexOf("em-structure")>-1)&&(r=o.setBlockMaxWidth({blockHTML:r,targetBlock:t}),r=o.setFloatBlocksWidth({blockHTML:r,targetBlock:t,project:e.project})),r=o.checkBlockAdaptivity({blockHTML:r,blockIsTr:r.substring(0,3)==="<tr"}),Lu(t,r,o),!0;let s=null,c=null,d=!1;if(document.querySelector("table:empty"))s=document.querySelector("table:empty"),c=s,(r.indexOf("empty-structure")>-1||r.indexOf("em-structure")>-1)&&(r=o.setBlockMaxWidth({blockHTML:r,targetBlock:s}),r=o.setFloatBlocksWidth({blockHTML:r,targetBlock:s,project:e.project})),r=o.checkBlockAdaptivity({blockHTML:r,blockIsTr:r.substring(0,3)==="<tr"}),r.substring(0,3)==="<tr"?o.insertAdjacentHTML(s,"beforeend",r):o.insertAdjacentHTML(s,"beforeend",'<tr><td align="center">'+r+"</td></tr>"),d=!0;else if(document.querySelector('[em="group"]:last-child [em="block"]')||document.querySelector('[em="block"][em-edit="active"], [em="block"] [em-edit="active"]')){const u=document.querySelector('[em="block"][em-edit="active"], [em="block"] [em-edit="active"]');if(s=u?u.closest('[em="block"]'):document.querySelector('[em="group"]:last-child [em="block"]:last-child'),(r.indexOf("empty-structure")>-1||r.indexOf("em-structure")>-1)&&(r=o.setBlockMaxWidth({blockHTML:r,targetBlock:s}),r=o.setFloatBlocksWidth({blockHTML:r,targetBlock:s,project:e.project})),r=o.checkBlockAdaptivity({blockHTML:r,blockIsTr:r.substring(0,3)==="<tr"}),s?.tagName==="TR")r.substring(0,3)==="<tr"?o.insertAdjacentHTML(s,"afterend",r):o.insertAdjacentHTML(s,"afterend",'<tr em="block"><td align="center">'+r+"</td></tr>"),d=!0;else if(s){if(r.substring(0,3)==="<tr"){const
|
|
265
|
+
`);if(e.type!=="project"&&(r=o.commonStylesApplyToBlock({html:r})),r.match(/class="em-countdown"/gi)&&(r=o.uptimeCountdown({blockHTML:r})),t)return(r.indexOf("empty-structure")>-1||r.indexOf("em-structure")>-1)&&(r=o.setBlockMaxWidth({blockHTML:r,targetBlock:t}),r=o.setFloatBlocksWidth({blockHTML:r,targetBlock:t,project:e.project})),r=o.checkBlockAdaptivity({blockHTML:r,blockIsTr:r.substring(0,3)==="<tr"}),Lu(t,r,o),!0;let s=null,c=null,d=!1;if(document.querySelector("table:empty"))s=document.querySelector("table:empty"),c=s,(r.indexOf("empty-structure")>-1||r.indexOf("em-structure")>-1)&&(r=o.setBlockMaxWidth({blockHTML:r,targetBlock:s}),r=o.setFloatBlocksWidth({blockHTML:r,targetBlock:s,project:e.project})),r=o.checkBlockAdaptivity({blockHTML:r,blockIsTr:r.substring(0,3)==="<tr"}),r.substring(0,3)==="<tr"?o.insertAdjacentHTML(s,"beforeend",r):o.insertAdjacentHTML(s,"beforeend",'<tr><td align="center">'+r+"</td></tr>"),d=!0;else if(document.querySelector('[em="group"]:last-child [em="block"]')||document.querySelector('[em="block"][em-edit="active"], [em="block"] [em-edit="active"]')){const u=document.querySelector('[em="block"][em-edit="active"], [em="block"] [em-edit="active"]');if(s=u?u.closest('[em="block"]'):document.querySelector('[em="group"]:last-child [em="block"]:last-child'),(r.indexOf("empty-structure")>-1||r.indexOf("em-structure")>-1)&&(r=o.setBlockMaxWidth({blockHTML:r,targetBlock:s}),r=o.setFloatBlocksWidth({blockHTML:r,targetBlock:s,project:e.project})),r=o.checkBlockAdaptivity({blockHTML:r,blockIsTr:r.substring(0,3)==="<tr"}),s?.tagName==="TR")r.substring(0,3)==="<tr"?o.insertAdjacentHTML(s,"afterend",r):o.insertAdjacentHTML(s,"afterend",'<tr em="block"><td align="center">'+r+"</td></tr>"),d=!0;else if(s){if(r.substring(0,3)==="<tr"){const g=document.createElement("table");g.setAttribute("cellspacing","0"),g.setAttribute("cellpadding","0"),g.setAttribute("align","center"),g.setAttribute("border","0"),g.setAttribute("em","block"),g.setAttribute("width",s.hasAttribute("width")?s.getAttribute("width"):String(s.getBoundingClientRect().width)),g.classList.add("em-mob-width-100perc"),g.innerHTML=`
|
|
266
266
|
`+r+`
|
|
267
|
-
`,p.querySelectorAll('tr[em="block"]').forEach(m=>m.removeAttribute("em")),s.insertAdjacentElement("afterend",p)}else o.insertAdjacentHTML(s,"afterend",r);d=!0}c=s?.nextSibling}return d&&!document.querySelector('[em="block"][em-edit="active"], [em="block"] [em-edit="active"]')&&document.documentElement.scrollHeight+(o.iframeOffsetTop||0)>(o.previewHeight||0)&&c&&o.messageService.send({operation:"application_scroll-to",settings:{value:c.getBoundingClientRect().top+c.getBoundingClientRect().height}}),d}function wu(e,o){if(!o.lockEditor&&si(e.atomHTML).trim())try{o.state.increment("activeElementLocked"),o.setAtomReplaced?.(null),a.setPendingPaletteInsert({kind:"atom",settings:e}),e.action!=="insert"&&document.body.classList.add("em-atom-insert-body"),e.action==="insert"&&Tu(e,o)&&Cu(e.name,o),o.commit()}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function ku(e){return e.replace(/["\\]/g,"\\$&")}function _u(e,o){if(o.lockEditor)return 0;const t=e.emBlockId;if(!t||!e.blockHTML?.trim())return 0;const n=`[em="block"][em-block-id="${ku(String(t))}"]`,r=Array.from(document.querySelectorAll(n));if(!r.length)return 0;let i=0;try{o.state.increment("activeElementLocked");for(const l of r)ci({action:"insert",blockHTML:e.blockHTML,type:e.type,project:e.project,name:e.name},o,l)&&(l.remove(),i+=1);o.commit()}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}return i}function Nu(e,o){if(!o.lockEditor&&e.blockHTML?.trim())try{o.state.increment("activeElementLocked"),a.setPendingPaletteInsert({kind:"block",settings:e}),document.body.classList.add("em-block-insert-body"),e.action==="insert"&&ci(e,o)&&vu(e,o),o.commit()}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function di(e,o){const t=JSON.stringify({settings:o});return{target:e,dataTransfer:{getData:n=>n==="Text"?t:""},preventDefault:()=>{},stopPropagation:()=>{}}}function Bu(e){return!e.closest(".em-element-editor-widget")}function Mu(e,o){if(o.lockEditor)return!1;const t=a.getPendingPaletteInsert();if(!t)return!1;const n=e.target;if(!(n instanceof HTMLElement)||!Bu(n))return!1;try{if(t.kind==="atom"){const r={settings:{atomHTML:typeof t.settings.atomHTML=="string"?t.settings.atomHTML:t.settings.atomHTML?.html,name:t.settings.name}};if(!r.settings.atomHTML)return!1;Wn(di(n,r.settings),o.atomDropCtx)}else if(t.kind==="block"&&document.body.classList.contains("em-block-insert-body")){const r={settings:{blockHTML:t.settings.blockHTML,type:t.settings.type,name:t.settings.name,project:t.settings.project,blockId:t.settings.blockId}};if(!r.settings.blockHTML)return!1;Fn(di(n,r.settings),r,o.blockDropCtx)}else return!1;if(!a.getPendingPaletteInsert())return e.preventDefault(),e.stopPropagation(),oo(),o.commit(),!0}catch{return!1}return!1}function Ru(e,o,t){t.state.update({iframeOffsetTop:e.iframeOffsetTop,scrollTop:e.scrollTop,previewHeight:e.previewHeight,applicationMode:e.mode}),typeof o<"u"&&t.state.set("codeMode",e.mode==="code");const n=document.querySelector(".em-element-path");n&&(n.style.top=t.previewHeight-t.iframeOffsetTop-65+t.scrollTop+"px");const r=document.querySelector(".em-editor-wrapper");r&&r.style.display==="none"?t.setBlockGroupControlsPosition():setTimeout(()=>{t.setBlockGroupControlsPosition()},400)}function Pu(e,o){document.documentElement.removeAttribute("style");const t=o.globalHolder?.querySelector("table:first-child");if(t&&t.offsetWidth>=e.iframeWidth-2&&o.globalHolder){document.documentElement.style.overflowX="visible",document.documentElement.style.height="100%",document.documentElement.style.transformOrigin="left top";const n=e.iframeWidth/o.globalHolder.offsetWidth;document.documentElement.style.transform="scale("+(n<1?n:1)+")",document.querySelector(".em-narrow-table")&&e.iframeWidth>370&&o.messageService.send({operation:"application_preview_alert_show",settings:{show:n<.9}})}setTimeout(()=>{o.messageService.send({operation:"application_iframe_set_height",settings:{height:document.body.getBoundingClientRect().height}})},300)}function Hu(e,o){const{activeElement:t}=o;let n=!1;if(!e)return n;const r=t.closest("a"),i=t.closest("td"),l=i?a.findRoundrectComment(i):null,s=r?a.findRoundrectComment(r):null,c=!!l&&!s,d=a.hasForeignButtonStructure(r),u=e.outlookRounding===!0||e.outlookRounding!==!1&&(c||d)?r:i;if(e.exportAsPicture?t.closest("table")?.setAttribute("em-operation","exportAsPicture"):t?.closest("table")?.getAttribute("em-operation")==="exportAsPicture"&&t.closest("table")?.removeAttribute("em-operation"),e.href!==void 0&&t.closest("a")?.setAttribute("href",e.href),e.align){const f=t.closest("td")?.closest("table")?.closest("div, p, td");f&&(f.style.textAlign?f.style.textAlign=e.align:f.setAttribute("align",e.align))}else if(e.align===""){const f=t.closest("td")?.closest("table")?.closest("div, p, td");f&&(f.style.textAlign?f.style.removeProperty("text-align"):f.removeAttribute("align"))}if(e.textAlign){const f=t.closest("td");f&&(f.style.textAlign?f.style.textAlign=e.textAlign:f.setAttribute("align",e.textAlign))}else if(e.textAlign===""){const f=t.closest("td");f&&(f.style.textAlign?f.style.removeProperty("text-align"):f.removeAttribute("align"))}if(e.valign?t.closest("td")?.closest("table")?.closest("td")?.setAttribute("valign",e.valign):e.valign===""&&t.closest("td")?.closest("table")?.closest("td")?.removeAttribute("valign"),e.width){const f=t.closest("table");f&&(e.width.value?(f.setAttribute("width",e.width.value+(e.width.dim==="px"?"":"%")),f.style.width=e.width.value+e.width.dim):(f.removeAttribute("width"),f.style.removeProperty("width")))}if(e.height){const f=t.closest("td"),g=t.closest("a");if(e.height.value){if(f&&(f.setAttribute("height",e.height.value+(e.height.dim==="px"?"":"%")),f.style.height=e.height.value+e.height.dim),g){const b=e.height.value+e.height.dim;g.style.height=b,g.style.lineHeight=b,g.firstElementChild&&(g.firstElementChild.style.lineHeight=b);const h=g.closest("editor")||g.querySelector("editor");h&&(h.style.height=b,h.style.lineHeight=b)}}else if(f&&(f.removeAttribute("height"),f.style.removeProperty("height")),g){g.style.removeProperty("height"),g.style.removeProperty("line-height");const b=g.closest("editor")||g.querySelector("editor");b&&(b.style.removeProperty("height"),b.style.removeProperty("line-height"))}}if(e.border&&u&&o.setElementBorder({settings:e,elem:u}),e.boxShadow&&u&&o.setElementBoxShadow({settings:e,elem:u}),e.backgroundColor!==void 0&&u&&(e.backgroundColor===""?(u.removeAttribute("bgcolor"),u.style.removeProperty("background-color")):(u.tagName==="TD"&&u.setAttribute("bgcolor",e.backgroundColor),u.style.backgroundColor=e.backgroundColor)),e.backgroundImage){const f=t.closest("td");f&&(e.backgroundImage[0].value===""?(f.style.removeProperty("background-image"),f.removeAttribute("background")):(f.style.removeProperty("background-image"),a.setRenderedAttribute(f,"background",Ou(e))))}if(e.backgroundPositionX!==void 0){const f=t.closest("td");f&&(e.backgroundPositionX===""?f.style.removeProperty("background-position-x"):f.style.backgroundPositionX=e.backgroundPositionX)}if(e.backgroundPositionY!==void 0){const f=t.closest("td");f&&(e.backgroundPositionY===""?f.style.removeProperty("background-position-y"):f.style.backgroundPositionY=e.backgroundPositionY)}if(e.backgroundRepeat){const f=t.closest("td");f&&(e.backgroundRepeat==="none"?f.style.removeProperty("background-repeat"):f.style.backgroundRepeat=e.backgroundRepeat)}if(e.backgroundSize!==void 0){const f=t.closest("td");f&&(e.backgroundSize===""?f.style.removeProperty("background-size"):f.style.backgroundSize=e.backgroundSize)}if(e.padding){const f=t.closest("a");f&&(e.padding.all!==void 0?(f.style.paddingTop=e.padding.all+"px",f.style.paddingRight=e.padding.all+"px",f.style.paddingBottom=e.padding.all+"px",f.style.paddingLeft=e.padding.all+"px"):(e.padding.top!==void 0&&(f.style.paddingTop=e.padding.top+"px"),e.padding.right!==void 0&&(f.style.paddingRight=e.padding.right+"px"),e.padding.bottom!==void 0&&(f.style.paddingBottom=e.padding.bottom+"px"),e.padding.left!==void 0&&(f.style.paddingLeft=e.padding.left+"px")))}if(e.borderRadius&&u&&o.setElementBorderRadius({settings:e,elem:u}),e.mobileWidth){const f=t.closest("table");f&&o.setElementMobileWidth({settings:e,elem:f}),n=!0}if(e.mobileHeight){const f=t.closest("td");f&&o.setElementMobileHeight({settings:e,elem:f}),o.setElementMobileLineHeight({settings:e,elem:t}),n=!0}if(e.mobileBorder){const f=t.closest("td");f&&o.setElementMobileBorder({settings:e,elem:f}),n=!0}if(e.mobileBorderRadius){const f=t.closest("td");f&&o.setElementMobileBorderRadius({settings:e,elem:f}),n=!0}if(e.mobileBoxShadow){const f=t.closest("td");f&&o.setElementMobileBoxShadow({settings:e,elem:f}),n=!0}if(e.mobileTextAlign){const f=vt(t);f&&o.setElementMobileAlign({settings:e,elem:f,fieldName:"mobileTextAlign"}),n=!0}if(e.mobileAlign){const f=t.closest("td")?.closest("table");f&&o.setElementMobileTableAlign({settings:e,elem:f}),n=!0}if(e.mobileVerticalAlign){const f=t.closest("td");f&&o.setElementMobileVerticalAlign({settings:e,elem:f}),n=!0}if(e.mobileBackgroundColor){const f=t.closest("td");f&&o.setElementMobileBackgroundColor({settings:e,elem:f}),n=!0}if(e.mobileBackgroundImage){const f=t.closest("td");f&&o.setElementMobileBackgroundImage({settings:e,elem:f}),n=!0}if(e.mobileBackgroundPositionX){const f=t.closest("td");f&&o.setElementMobileBackgroundPositionX({settings:e,elem:f}),n=!0}if(e.mobileBackgroundPositionY){const f=t.closest("td");f&&o.setElementMobileBackgroundPositionY({settings:e,elem:f}),n=!0}if(e.mobileBackgroundRepeat){const f=t.closest("td");f&&o.setElementMobileBackgroundRepeat({settings:e,elem:f}),n=!0}if(e.mobilePadding&&(o.setElementMobilePadding({settings:e,elem:t}),n=!0),e.show){const f=t.closest("table");f&&o.setElementShow({settings:e,elem:f}),n=!0}const p=t.closest("a");if(p&&e.textColor!==void 0){const f=String(e.textColor||"");p.style.color=f,p.querySelectorAll('span[style*="color"], font[color]').forEach(g=>{g.style.removeProperty("color"),g.removeAttribute("color")})}if(p&&e.textBackgroundColor!==void 0){const f=String(e.textBackgroundColor||"");p.style.backgroundColor=f,p.querySelectorAll('span[style*="background-color"]').forEach(g=>{g.style.removeProperty("background-color")})}const m=["textColor","textBackgroundColor"];if(o.textStyleProperties.filter(f=>!m.includes(f)&&e.hasOwnProperty(f)).length>0)try{o.toggleTextStyle(t,{settings:e})}catch{}return e.mobileFontSize&&(o.setElementMobileFontSize({settings:e,elem:t}),n=!0),e.textReplacer!==void 0&&Iu(e.textReplacer,t,o.compareStrings),e.outlookRounding===!0?a.syncButtonVML(t,e):e.outlookRounding===!1?a.stripButtonVML(t):(l||d)&&a.syncButtonVML(t,e),i&&a.applyVMLBackgroundToggle(i,e,"inside"),n}function Iu(e,o,t){if(e){const n=window.getSelection();if(!n||n.rangeCount===0)return;const r=n.getRangeAt(0),i=e.replace(/~~.*$/,""),l=r?.commonAncestorContainer,s=l?.nodeType===1?l:l.parentElement;let c=s?.closest("em-replace");const d=!!(/~~/.test(e)&&c);if(d&&s){const u=e.replace(/~~.*$/,"");s.setAttribute("text",u),s.innerHTML=u}if(!c&&n.rangeCount>0&&!r.collapsed){const u=document.querySelectorAll("em-replace");if(c=Array.prototype.find.call(u,p=>p.textContent?.trim()===n.toString().trim()&&n.toString().trim()!==""),!c){const p=document.querySelector('[em-edit="active"]');p?.textContent===r.toString()&&r.selectNodeContents(p);const m=e.replace(/~~.*$/,""),f=document.createElement("em-replace");f.setAttribute("text",m),r.surroundContents(f)}}if(!c&&n.rangeCount>0&&r.collapsed){let u=document.querySelector("em-replace");if(u){const p=document.querySelectorAll("em-replace"),m=/~$/;c=Array.prototype.find.call(p,f=>{const g=e,b=f.textContent||"";return g.length===1&&m.test(b)?!0:t(b,g)}),c&&(c.setAttribute("text",e),c.textContent=e),c||(u=document.createElement("em-replace"),u.setAttribute("text",i),r.insertNode(u),u.innerHTML=i,r.collapse())}else u=document.createElement("em-replace"),u.setAttribute("text",i),r.insertNode(u),u.innerHTML=i,r.collapse()}c&&!d&&(c.getAttribute("text")===c.innerHTML&&(c.innerHTML=e),c.setAttribute("text",e))}else if(e===""){const n=o?.closest("em-replace")||o?.querySelector("em-replace");if(n){const r=n.parentNode,i=n.firstChild,l=n.lastChild;if(n.getAttribute("text")!==n.innerHTML&&r)for(;n.firstChild;)r.insertBefore(n.firstChild,n);const s=document.createRange(),c=window.getSelection();i&&l&&c&&(s.setStartBefore(i),s.setEndAfter(l),c.removeAllRanges(),c.addRange(s)),n.remove()}}}function Ou(e){return e.backgroundImage?.[0]?.value??""}function xu(e,o){const t=o.activeElement;let n=!1;return e&&(e.exportAsPicture?t.setAttribute("em-operation","exportAsPicture"):t.getAttribute("em-operation")==="exportAsPicture"&&t.removeAttribute("em-operation"),e.align?t.style.textAlign?t.style.textAlign=e.align:t.setAttribute("align",e.align):e.align===""&&(t.style.textAlign?t.style.removeProperty("text-align"):t.removeAttribute("align")),e.valign?t.style.verticalAlign=e.valign:e.valign===""&&t.style.removeProperty("vertical-align"),e.width&&(e.width.value?t.style.width=e.width.value+e.width.dim:t.style.removeProperty("width")),e.minWidth&&(e.minWidth.value?t.style.minWidth=e.minWidth.value+e.minWidth.dim:t.style.removeProperty("min-width")),e.maxWidth&&(e.maxWidth.value?t.style.maxWidth=e.maxWidth.value+e.maxWidth.dim:t.style.removeProperty("max-width")),e.height&&(e.height.value?t.style.height=e.height.value+e.height.dim:t.style.removeProperty("height")),e.border&&o.setElementBorder({settings:e,elem:t}),e.boxShadow&&o.setElementBoxShadow({settings:e,elem:t}),e.backgroundColor!==void 0&&(e.backgroundColor===""?t.style.removeProperty("background-color"):t.style.backgroundColor=e.backgroundColor),e.backgroundImage&&(e.backgroundImage[0].value===""?t.style.removeProperty("background-image"):t.style.backgroundImage=e.backgroundImage[0].type+"("+e.backgroundImage[0].value+")"),e.backgroundPositionX!==void 0&&(e.backgroundPositionX===""?t.style.removeProperty("background-position-x"):t.style.backgroundPositionX=e.backgroundPositionX),e.backgroundPositionY!==void 0&&(e.backgroundPositionY===""?t.style.removeProperty("background-position-y"):t.style.backgroundPositionY=e.backgroundPositionY),e.backgroundRepeat&&(e.backgroundRepeat==="none"?t.style.removeProperty("background-repeat"):t.style.backgroundRepeat=e.backgroundRepeat),e.backgroundSize!==void 0&&(e.backgroundSize===""?t.style.removeProperty("background-size"):t.style.backgroundSize=e.backgroundSize),e.padding&&(e.padding.all!==void 0?(t.style.paddingTop=e.padding.all+"px",t.style.paddingRight=e.padding.all+"px",t.style.paddingBottom=e.padding.all+"px",t.style.paddingLeft=e.padding.all+"px"):(e.padding.top&&(t.style.paddingTop=e.padding.top+"px"),e.padding.right&&(t.style.paddingRight=e.padding.right+"px"),e.padding.bottom&&(t.style.paddingBottom=e.padding.bottom+"px"),e.padding.left&&(t.style.paddingLeft=e.padding.left+"px"))),e.borderRadius&&o.setElementBorderRadius({settings:e,elem:t}),e.mobileWidth&&(o.setElementMobileWidth({settings:e,elem:t}),n=!0),e.mobileHeight&&(o.setElementMobileHeight({settings:e,elem:t}),n=!0),e.mobileBorder&&(o.setElementMobileBorder({settings:e,elem:t}),n=!0),e.mobileBorderRadius&&(o.setElementMobileBorderRadius({settings:e,elem:t}),n=!0),e.mobileBoxShadow&&(o.setElementMobileBoxShadow({settings:e,elem:t}),n=!0),e.mobileAlign&&(o.setElementMobileAlign({settings:e,elem:t}),n=!0),e.mobileVerticalAlign&&(o.setElementMobileVerticalAlign({settings:e,elem:t}),n=!0),e.mobileDirection&&(o.setElementMobileDirection({settings:e,elem:t}),n=!0),e.mobileBackgroundColor&&(o.setElementMobileBackgroundColor({settings:e,elem:t}),n=!0),e.mobileBackgroundImage&&(o.setElementMobileBackgroundImage({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionX&&(o.setElementMobileBackgroundPositionX({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionY&&(o.setElementMobileBackgroundPositionY({settings:e,elem:t}),n=!0),e.mobileBackgroundRepeat&&(o.setElementMobileBackgroundRepeat({settings:e,elem:t}),n=!0),e.mobilePadding&&(o.setElementMobilePadding({settings:e,elem:t}),n=!0),e.show&&(o.setElementShow({settings:e,elem:t}),n=!0),a.applyVMLBackgroundToggle(t,e,"inside")),n}function ln(e){e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.textContent=e.elem.textContent.replaceAll(/width=".*"/gi,'width="'+e.width+'"'):e.elem.previousSibling&&ln({elem:e.elem.previousSibling,width:e.width})}function Du(e,o){const t=o.activeElement;let n=!1;return e&&(e.exportAsPicture?t.setAttribute("em-operation","exportAsPicture"):t.getAttribute("em-operation")==="exportAsPicture"&&t.removeAttribute("em-operation"),e.align?t.setAttribute("align",e.align):e.align===""&&t.removeAttribute("align"),e.width&&(e.width.value?(t.setAttribute("width",e.width.value+(e.width.dim==="px"?"":"%")),t.style.width=e.width.value+e.width.dim,e.width.dim==="px"&&ln({elem:t,width:e.width.value})):(t.removeAttribute("width"),t.style.removeProperty("width"))),e.maxWidth&&(e.maxWidth.value?(t.style.maxWidth=e.maxWidth.value+e.maxWidth.dim,ln({elem:t,width:e.maxWidth.value})):t.style.removeProperty("max-width")),e.minWidth&&(e.minWidth.value?t.style.minWidth=e.minWidth.value+e.minWidth.dim:t.style.removeProperty("min-width")),e.border&&o.setElementBorder({settings:e,elem:t}),e.boxShadow&&o.setElementBoxShadow({settings:e,elem:t}),e.backgroundColor!==void 0&&(e.backgroundColor===""?(t.removeAttribute("bgcolor"),t.style.removeProperty("background-color")):(t.setAttribute("bgcolor",e.backgroundColor),t.style.backgroundColor=e.backgroundColor)),e.backgroundImage&&(e.backgroundImage[0].value===""?(t.style.removeProperty("background-image"),t.removeAttribute("background")):(t.style.removeProperty("background-image"),t.style.backgroundImage=e.backgroundImage[0].type+"("+e.backgroundImage[0].value+")",a.setRenderedAttribute(t,"background",Fu(e)))),e.backgroundPositionX!==void 0&&(e.backgroundPositionX===""?t.style.removeProperty("background-position-x"):t.style.backgroundPositionX=e.backgroundPositionX),e.backgroundPositionY!==void 0&&(e.backgroundPositionY===""?t.style.removeProperty("background-position-y"):t.style.backgroundPositionY=e.backgroundPositionY),e.backgroundRepeat&&(e.backgroundRepeat==="none"?t.style.removeProperty("background-repeat"):t.style.backgroundRepeat=e.backgroundRepeat),e.backgroundSize!==void 0&&(e.backgroundSize===""?t.style.removeProperty("background-size"):t.style.backgroundSize=e.backgroundSize),e.borderRadius&&o.setElementBorderRadius({settings:e,elem:t}),e.mobileAlign&&(o.setElementMobileTableAlign({settings:e,elem:t}),n=!0),e.mobileWidth&&(o.setElementMobileWidth({settings:e,elem:t}),n=!0),e.mobileBorder&&(o.setElementMobileBorder({settings:e,elem:t}),n=!0),e.mobileBorderRadius&&(o.setElementMobileBorderRadius({settings:e,elem:t}),n=!0),e.mobileBoxShadow&&(o.setElementMobileBoxShadow({settings:e,elem:t}),n=!0),e.mobileBackgroundColor&&(o.setElementMobileBackgroundColor({settings:e,elem:t}),n=!0),e.mobileBackgroundImage&&(o.setElementMobileBackgroundImage({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionX&&(o.setElementMobileBackgroundPositionX({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionY&&(o.setElementMobileBackgroundPositionY({settings:e,elem:t}),n=!0),e.mobileBackgroundRepeat&&(o.setElementMobileBackgroundRepeat({settings:e,elem:t}),n=!0),e.show&&(o.setElementShow({settings:e,elem:t}),n=!0),a.applyVMLBackgroundToggle(t,e,"around")),n}function Fu(e){return e.backgroundImage?.[0]?.value??""}function qu(e,o){const t=o.activeElement;let n=!1;if(!e)return n;if(typeof e.linkHref=="string"){const r=document.querySelector("[em-edit]"),i=r?.tagName==="A"?r:r?.closest("a")??t.querySelector("a");i&&(i.setAttribute("href",e.linkHref),At(e.linkHref)&&i.removeAttribute("target"))}if(e.exportAsPicture?t.setAttribute("em-operation","exportAsPicture"):t.getAttribute("em-operation")==="exportAsPicture"&&t.removeAttribute("em-operation"),e.align){t.style.textAlign?t.style.textAlign=e.align:t.setAttribute("align",e.align);const r=t.querySelectorAll('[em="atom"]');r.length>0&&r.forEach(i=>{i.querySelector(":scope > tr > td")?.setAttribute("align",e.align);const l=i.querySelector('div[style*="font-family"][style*="font-size"]');l?.hasAttribute("align")&&l.setAttribute("align",e.align)})}else if(e.align===""){t.style.textAlign?t.style.removeProperty("text-align"):t.removeAttribute("align");const r=t.querySelectorAll('[em="atom"]');r.length>0&&r.forEach(l=>{l.querySelector(":scope > tr > td")?.removeAttribute("align")});const i=t.closest("table");if(i?.getAttribute("em")==="atom"){const l=i.querySelector('div[style*="font-family"][style*="font-size"]');l?.hasAttribute("align")&&l.removeAttribute("align")}}if(e.valign?(t.setAttribute("valign",e.valign),t.querySelectorAll('div[style*="display"]').forEach(r=>r.style.verticalAlign=e.valign)):e.valign===""&&t.removeAttribute("valign"),e.width){const r=t.closest("table");r?.getAttribute("em")==="atom"?e.width.value?r.setAttribute("width",e.width.value+(e.width.dim==="px"?"":"%")):r.removeAttribute("width"):e.width.value?t.setAttribute("width",e.width.value+(e.width.dim==="px"?"":"%")):t.removeAttribute("width")}if(e.height)if(e.height.value){t.setAttribute("height",e.height.value+(e.height.dim==="px"?"":"%")),t.style.height=e.height.value+e.height.dim;const r=t.firstElementChild;r?.tagName==="A"&&r.style.display==="block"&&(r.style.height=e.height.value+e.height.dim,r.style.lineHeight=e.height.value+e.height.dim)}else t.removeAttribute("height"),t.style.removeProperty("height");if(e.border&&o.setElementBorder({settings:e,elem:t}),e.boxShadow&&o.setElementBoxShadow({settings:e,elem:t}),e.backgroundColor!==void 0&&(e.backgroundColor===""?(t.removeAttribute("bgcolor"),t.style.removeProperty("background-color")):(t.setAttribute("bgcolor",e.backgroundColor),t.style.backgroundColor=e.backgroundColor)),e.backgroundImage&&(e.backgroundImage[0].value===""?(t.style.removeProperty("background-image"),t.removeAttribute("background")):(t.style.removeProperty("background-image"),t.style.backgroundImage=e.backgroundImage[0].type+"("+e.backgroundImage[0].value+")",a.setRenderedAttribute(t,"background",zu(e)))),e.backgroundPositionX!==void 0&&(e.backgroundPositionX===""?t.style.removeProperty("background-position-x"):t.style.backgroundPositionX=e.backgroundPositionX),e.backgroundPositionY!==void 0&&(e.backgroundPositionY===""?t.style.removeProperty("background-position-y"):t.style.backgroundPositionY=e.backgroundPositionY),e.backgroundRepeat&&(e.backgroundRepeat==="none"?t.style.removeProperty("background-repeat"):t.style.backgroundRepeat=e.backgroundRepeat),e.backgroundSize!==void 0&&(e.backgroundSize===""?t.style.removeProperty("background-size"):t.style.backgroundSize=e.backgroundSize),e.direction&&e.direction!=="none"?(t.setAttribute("dir",e.direction),e.direction==="rtl"&&t.querySelectorAll("td").forEach(r=>{for(let i=r.firstChild;i;i=i.nextSibling)if(i.nodeType===3){i.parentNode?.setAttribute("dir","ltr");break}})):(e.direction===""||e.direction==="none")&&(t.removeAttribute("dir"),t.querySelectorAll("[dir]").forEach(r=>r.removeAttribute("dir"))),e.padding){if(e.padding.all!==void 0)t.style.paddingTop=e.padding.all+"px",t.style.paddingRight=e.padding.all+"px",t.style.paddingBottom=e.padding.all+"px",t.style.paddingLeft=e.padding.all+"px",t.querySelectorAll(".em-vindent").forEach(s=>s.remove());else{if(e.padding.top!==void 0){t.style.paddingTop=e.padding.top+"px";for(const s of t.children)s.classList.contains("em-vindent-paddingTop")&&s.remove()}if(e.padding.right!==void 0){t.style.paddingRight=e.padding.right+"px";for(const s of t.children)s.classList.contains("em-vindent-paddingRight")&&s.remove()}if(e.padding.bottom!==void 0){t.style.paddingBottom=e.padding.bottom+"px";for(const s of t.children)s.classList.contains("em-vindent-paddingBottom")&&s.remove()}if(e.padding.left!==void 0){t.style.paddingLeft=e.padding.left+"px";for(const s of t.children)s.classList.contains("em-vindent-paddingLeft")&&s.remove()}}const r=t.querySelector(".em-mob-wrap"),i=t.parentElement?.getAttribute("em")==="block",l=e.padding.left!==void 0||e.padding.right!==void 0;r&&i&&l&&t.querySelectorAll(":scope > table").forEach(s=>o.setStructureBlocksWidth(s))}if(e.borderRadius&&o.setElementBorderRadius({settings:e,elem:t}),o.textStyleProperties.some(r=>e.hasOwnProperty(r))&&!o.isElementListContainer)try{o.toggleTextStyle(t,{settings:e})}catch{}if(o.isElementListContainer&&o.requestType!=="structure"&&o.requestType!=="column"&&o.textStyleProperties.some(r=>e.hasOwnProperty(r))&&$u(e,o),e.mobileWidth){const r=t.closest("table"),i=r?.getAttribute("em")==="atom";o.setElementMobileWidth({settings:e,elem:i?r:t}),n=!0}return e.mobileHeight&&(o.setElementMobileHeight({settings:e,elem:t}),n=!0),e.mobileBorder&&(o.setElementMobileBorder({settings:e,elem:t}),n=!0),e.mobileBorderRadius&&(o.setElementMobileBorderRadius({settings:e,elem:t}),n=!0),e.mobileBoxShadow&&(o.setElementMobileBoxShadow({settings:e,elem:t}),n=!0),e.mobileAlign&&(Wu(e,t,o),n=!0),e.mobileVerticalAlign&&(o.setElementMobileVerticalAlign({settings:e,elem:t}),n=!0),e.mobileDirection&&(o.setElementMobileDirection({settings:e,elem:t}),n=!0),e.mobileBackgroundColor&&(o.setElementMobileBackgroundColor({settings:e,elem:t}),n=!0),e.mobileBackgroundImage&&(o.setElementMobileBackgroundImage({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionX&&(o.setElementMobileBackgroundPositionX({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionY&&(o.setElementMobileBackgroundPositionY({settings:e,elem:t}),n=!0),e.mobileBackgroundRepeat&&(o.setElementMobileBackgroundRepeat({settings:e,elem:t}),n=!0),e.mobilePadding&&(o.setElementMobilePadding({settings:e,elem:t}),n=!0),e.show&&(o.setElementShow({settings:e,elem:t}),n=!0),"isContrastBlock"in e&&o.setContrastBlock({settings:e,elem:t}),a.applyVMLBackgroundToggle(t,e,"inside"),n}function Wu(e,o,t){t.setElementMobileAlign({settings:e,elem:o});const n=e.mobileAlign?.classNamePrefix||"em-mob-text_align-";el(o,(l,s)=>{tl(s,l,n),t.setElementMobileAlign({settings:e,elem:l})});function r(l){const s=l.querySelectorAll("table"),c=l.querySelector("table");s.length===1&&(c?.hasAttribute("width")&&c?.getAttribute("width")!=="100%"||!c?.hasAttribute("width"))&&t.setElementMobileTableAlign({elem:c,settings:{mobileAlign:{classNamePrefix:"em-mob-table_align-",value:e.mobileAlign.value}}})}const i=o.closest("table");i?.getAttribute("em")==="atom"?r(i):o.querySelectorAll('[em="atom"]').forEach(l=>r(l))}function $u(e,o){const t=o.activeElement,n=o.removeEditorTags(o.isElementListContainer.outerHTML);t.innerHTML=`<td em-edit="active">${o.addClassToSecondCell(n,"em-list-temp-class")}</td>`;const r=window.getSelection();if(!r||r.rangeCount===0)return;let i=r.getRangeAt(0);const l=t.querySelectorAll(".em-list-temp-class");if(l.length>0){o.isProgrammaticSelection.value=!0;for(let s=0;s<l.length;s++){const c=l[s].querySelector("div");if(!c)continue;o.wrapEditor(c,!0),i=r.getRangeAt(0),i.selectNode(c),o.addNewRange(i);const d=c.innerHTML!==" "||c.innerHTML===" "&&(e.fontSize||e.textColor||e.lineHeight);if(o.textStyleProperties.some(u=>e.hasOwnProperty(u))&&d)try{o.toggleTextStyle(c,{settings:e})}catch{}}t.querySelectorAll(".em-list-temp-class").forEach(s=>s.classList.remove("em-list-temp-class")),t.removeAttribute("em-edit"),t.setAttribute("em-edit","active"),setTimeout(()=>{o.isProgrammaticSelection.value=!1},100),i=r.getRangeAt(0),i.selectNode(t),o.addNewRange(i)}}function zu(e){return e.backgroundImage?.[0]?.value??""}function an(e){e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.textContent=e.elem.textContent.replace(/width=".*?"/gi,'width="'+e.width+'"'):e.elem.previousSibling&&an({elem:e.elem.previousSibling,width:e.width})}function Vu(e,o){const t=o.activeElement;let n=!1;if(!e)return n;if(e.width){const r=e.gap?.value??0;if(e.width.value!==void 0&&e.width.value!==null)if(t.style.maxWidth)if(e.width.dim==="px"){const i=parseFloat(e.width.value+r),l=Math.round(parseFloat(e.width.value)/i*100);t.style.maxWidth=i+e.width.dim,an({elem:t,width:i}),t.firstElementChild?.tagName==="TABLE"&&(t.firstElementChild.setAttribute("width",e.width.value),t.firstElementChild.style.width=l+"%",t.firstElementChild.style.maxWidth=e.width.value+"px")}else t.style.width=parseFloat(e.width.value)+e.width.dim;else e.width.dim==="px"?(t.style.width=parseFloat(e.width.value+r)+e.width.dim,an({elem:t,width:parseFloat(e.width.value+r)}),t.firstElementChild?.tagName==="TABLE"&&t.firstElementChild.setAttribute("width",e.width.value)):t.style.width=parseFloat(e.width.value)+e.width.dim;else t.style.removeProperty("width")}if(e.gap&&!e.width){const r=parseFloat(e.gap.value??0);t.style.maxWidth?t.parentElement?.querySelectorAll('div[style*="inline-block"]').forEach(i=>{const l=i,s=parseFloat(l.style.maxWidth),c=Math.round((s-r)/s*100);l.firstElementChild?.tagName==="TABLE"&&(l.firstElementChild.setAttribute("width",String(s-r)),l.firstElementChild.style.width=c+"%",l.firstElementChild.style.maxWidth=s-r+"px")}):t.parentElement?.querySelectorAll('div[style*="inline-block"]').forEach(i=>{const l=i;l.firstElementChild?.tagName==="TABLE"&&l.firstElementChild.setAttribute("width",String(parseFloat(l.style.width)-r))})}return e.valign&&(t.style.verticalAlign=e.valign),e.mobileWidth&&(o.setElementMobileWidth({settings:e,elem:t}),n=!0),e.mobileContentWidth&&(o.setElementMobileContentWidth({settings:e,elem:t.firstElementChild}),n=!0),e.mobileVerticalAlign&&(o.setElementMobileVerticalAlign({settings:e,elem:t}),n=!0),e.show&&(o.setElementShow({settings:e,elem:t}),n=!0),n}function sn(e){e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.textContent=e.elem.textContent.replace(/width=".*?"/gi,'width="'+e.width+'"'):e.elem.previousSibling&&sn({elem:e.elem.previousSibling,width:e.width})}function fo(e){return!!(e.querySelector(".em-mob-wrap")||e.closest(".em-mob-wrap")||e.querySelector(".noresp-em-mob-wrap")||e.closest(".noresp-em-mob-wrap"))}function po(e){return e.querySelector(".em-mob-wrap, .noresp-em-mob-wrap")?document.querySelector('[em-edit="active"]'):e.closest(".em-mob-wrap, .noresp-em-mob-wrap")?.parentElement||null}function cn(e){return e.querySelector('div[style*="inline-block"]')?document.querySelector('[em-edit="active"]'):e.closest('div[style*="inline-block"]')?.parentElement||null}function Uu(e,o){const t=o.activeElement;if(fo(t)){const n=po(t);if(!n)return;n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)").forEach((r,i)=>{r.setAttribute("width",e.items[i])}),o.setPercentsForColumns(n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)"))}else{const n=cn(t);if(!n)return;n.querySelectorAll('div[style*="inline-block"]').forEach((r,i)=>{const l=r;l.style.width=e.items[i]+e.gap+"px",sn({elem:l.closest('div[style*="inline-block"]'),width:e.items[i]+e.gap}),l.firstElementChild?.tagName==="TABLE"&&l.firstElementChild.setAttribute("width",e.items[i])})}}function ju(e,o){const t=o.activeElement;if(!fo(t))return;const n=t.querySelector(".em-mob-wrap, .noresp-em-mob-wrap")?t.querySelector(".em-mob-wrap, .noresp-em-mob-wrap")?.parentElement:t.closest(".em-mob-wrap, .noresp-em-mob-wrap")?.parentElement;if(!n)return;const r=n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)"),i=r.length,l=e.items.length,s=e.gap;i>=l?r.forEach((c,d)=>{d<l?c.setAttribute("width",e.items[d]):(c.previousElementSibling?.classList.contains("em-mob-wrap")&&c.previousElementSibling.remove(),c.remove())}):(r.forEach((c,d)=>{c.setAttribute("width",e.items[d])}),e.items.forEach((c,d)=>{let u="";n.querySelector(".em-mob-wrap")?u=`<td width="${s}" class="em-mob-wrap"></td>
|
|
267
|
+
`,g.querySelectorAll('tr[em="block"]').forEach(m=>m.removeAttribute("em")),s.insertAdjacentElement("afterend",g)}else o.insertAdjacentHTML(s,"afterend",r);d=!0}c=s?.nextSibling}return d&&!document.querySelector('[em="block"][em-edit="active"], [em="block"] [em-edit="active"]')&&document.documentElement.scrollHeight+(o.iframeOffsetTop||0)>(o.previewHeight||0)&&c&&o.messageService.send({operation:"application_scroll-to",settings:{value:c.getBoundingClientRect().top+c.getBoundingClientRect().height}}),d}function wu(e,o){if(!o.lockEditor&&si(e.atomHTML).trim())try{o.state.increment("activeElementLocked"),o.setAtomReplaced?.(null),a.setPendingPaletteInsert({kind:"atom",settings:e}),e.action!=="insert"&&document.body.classList.add("em-atom-insert-body"),e.action==="insert"&&Tu(e,o)&&Cu(e.name,o),o.commit()}catch{}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function ku(e){return e.replace(/["\\]/g,"\\$&")}function _u(e,o){if(o.lockEditor)return 0;const t=e.emBlockId;if(!t||!e.blockHTML?.trim())return 0;const n=`[em="block"][em-block-id="${ku(String(t))}"]`,r=Array.from(document.querySelectorAll(n));if(!r.length)return 0;let i=0;try{o.state.increment("activeElementLocked");for(const l of r)ci({action:"insert",blockHTML:e.blockHTML,type:e.type,project:e.project,name:e.name},o,l)&&(l.remove(),i+=1);o.commit()}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}return i}function Nu(e,o){if(!o.lockEditor&&e.blockHTML?.trim())try{o.state.increment("activeElementLocked"),a.setPendingPaletteInsert({kind:"block",settings:e}),document.body.classList.add("em-block-insert-body"),e.action==="insert"&&ci(e,o)&&vu(e,o),o.commit()}finally{Promise.resolve().then(()=>o.state.decrement("activeElementLocked"))}}function di(e,o){const t=JSON.stringify({settings:o});return{target:e,dataTransfer:{getData:n=>n==="Text"?t:""},preventDefault:()=>{},stopPropagation:()=>{}}}function Bu(e){return!e.closest(".em-element-editor-widget")}function Mu(e,o){if(o.lockEditor)return!1;const t=a.getPendingPaletteInsert();if(!t)return!1;const n=e.target;if(!(n instanceof HTMLElement)||!Bu(n))return!1;try{if(t.kind==="atom"){const r={settings:{atomHTML:typeof t.settings.atomHTML=="string"?t.settings.atomHTML:t.settings.atomHTML?.html,name:t.settings.name}};if(!r.settings.atomHTML)return!1;Wn(di(n,r.settings),o.atomDropCtx)}else if(t.kind==="block"&&document.body.classList.contains("em-block-insert-body")){const r={settings:{blockHTML:t.settings.blockHTML,type:t.settings.type,name:t.settings.name,project:t.settings.project,blockId:t.settings.blockId}};if(!r.settings.blockHTML)return!1;Fn(di(n,r.settings),r,o.blockDropCtx)}else return!1;if(!a.getPendingPaletteInsert())return e.preventDefault(),e.stopPropagation(),oo(),o.commit(),!0}catch{return!1}return!1}function Ru(e,o,t){t.state.update({iframeOffsetTop:e.iframeOffsetTop,scrollTop:e.scrollTop,previewHeight:e.previewHeight,applicationMode:e.mode}),typeof o<"u"&&t.state.set("codeMode",e.mode==="code");const n=document.querySelector(".em-element-path");n&&(n.style.top=t.previewHeight-t.iframeOffsetTop-65+t.scrollTop+"px");const r=document.querySelector(".em-editor-wrapper");r&&r.style.display==="none"?t.setBlockGroupControlsPosition():setTimeout(()=>{t.setBlockGroupControlsPosition()},400)}function Pu(e,o){document.documentElement.removeAttribute("style");const t=o.globalHolder?.querySelector("table:first-child");if(t&&t.offsetWidth>=e.iframeWidth-2&&o.globalHolder){document.documentElement.style.overflowX="visible",document.documentElement.style.height="100%",document.documentElement.style.transformOrigin="left top";const n=e.iframeWidth/o.globalHolder.offsetWidth;document.documentElement.style.transform="scale("+(n<1?n:1)+")",document.querySelector(".em-narrow-table")&&e.iframeWidth>370&&o.messageService.send({operation:"application_preview_alert_show",settings:{show:n<.9}})}setTimeout(()=>{o.messageService.send({operation:"application_iframe_set_height",settings:{height:document.body.getBoundingClientRect().height}})},300)}function Hu(e,o){const{activeElement:t}=o;let n=!1;if(!e)return n;const r=t.closest("a"),i=t.closest("td"),l=i?a.findRoundrectComment(i):null,s=r?a.findRoundrectComment(r):null,c=!!l&&!s,d=a.hasForeignButtonStructure(r),u=e.outlookRounding===!0||e.outlookRounding!==!1&&(c||d)?r:i;if(e.exportAsPicture?t.closest("table")?.setAttribute("em-operation","exportAsPicture"):t?.closest("table")?.getAttribute("em-operation")==="exportAsPicture"&&t.closest("table")?.removeAttribute("em-operation"),e.href!==void 0&&t.closest("a")?.setAttribute("href",e.href),e.align){const p=t.closest("td")?.closest("table")?.closest("div, p, td");p&&(p.style.textAlign?p.style.textAlign=e.align:p.setAttribute("align",e.align))}else if(e.align===""){const p=t.closest("td")?.closest("table")?.closest("div, p, td");p&&(p.style.textAlign?p.style.removeProperty("text-align"):p.removeAttribute("align"))}if(e.textAlign){const p=t.closest("td");p&&(p.style.textAlign?p.style.textAlign=e.textAlign:p.setAttribute("align",e.textAlign))}else if(e.textAlign===""){const p=t.closest("td");p&&(p.style.textAlign?p.style.removeProperty("text-align"):p.removeAttribute("align"))}if(e.valign?t.closest("td")?.closest("table")?.closest("td")?.setAttribute("valign",e.valign):e.valign===""&&t.closest("td")?.closest("table")?.closest("td")?.removeAttribute("valign"),e.width){const p=t.closest("table");p&&(e.width.value?(p.setAttribute("width",e.width.value+(e.width.dim==="px"?"":"%")),p.style.width=e.width.value+e.width.dim):(p.removeAttribute("width"),p.style.removeProperty("width")))}if(e.height){const p=t.closest("td"),b=t.closest("a");if(e.height.value){if(p&&(p.setAttribute("height",e.height.value+(e.height.dim==="px"?"":"%")),p.style.height=e.height.value+e.height.dim),b){const h=e.height.value+e.height.dim;b.style.height=h,b.style.lineHeight=h,b.firstElementChild&&(b.firstElementChild.style.lineHeight=h);const y=b.closest("editor")||b.querySelector("editor");y&&(y.style.height=h,y.style.lineHeight=h)}}else if(p&&(p.removeAttribute("height"),p.style.removeProperty("height")),b){b.style.removeProperty("height"),b.style.removeProperty("line-height");const h=b.closest("editor")||b.querySelector("editor");h&&(h.style.removeProperty("height"),h.style.removeProperty("line-height"))}}if(e.border&&u&&o.setElementBorder({settings:e,elem:u}),e.boxShadow&&u&&o.setElementBoxShadow({settings:e,elem:u}),e.backgroundColor!==void 0&&u&&(e.backgroundColor===""?(u.removeAttribute("bgcolor"),u.style.removeProperty("background-color")):(u.tagName==="TD"&&u.setAttribute("bgcolor",e.backgroundColor),u.style.backgroundColor=e.backgroundColor)),e.backgroundImage){const p=t.closest("td");p&&(e.backgroundImage[0].value===""?(p.style.removeProperty("background-image"),p.removeAttribute("background")):(p.style.removeProperty("background-image"),a.setRenderedAttribute(p,"background",Ou(e))))}if(e.backgroundPositionX!==void 0){const p=t.closest("td");p&&(e.backgroundPositionX===""?p.style.removeProperty("background-position-x"):p.style.backgroundPositionX=e.backgroundPositionX)}if(e.backgroundPositionY!==void 0){const p=t.closest("td");p&&(e.backgroundPositionY===""?p.style.removeProperty("background-position-y"):p.style.backgroundPositionY=e.backgroundPositionY)}if(e.backgroundRepeat){const p=t.closest("td");p&&(e.backgroundRepeat==="none"?p.style.removeProperty("background-repeat"):p.style.backgroundRepeat=e.backgroundRepeat)}if(e.backgroundSize!==void 0){const p=t.closest("td");p&&(e.backgroundSize===""?p.style.removeProperty("background-size"):p.style.backgroundSize=e.backgroundSize)}if(e.padding){const p=t.closest("a");p&&(e.padding.all!==void 0?(p.style.paddingTop=e.padding.all+"px",p.style.paddingRight=e.padding.all+"px",p.style.paddingBottom=e.padding.all+"px",p.style.paddingLeft=e.padding.all+"px"):(e.padding.top!==void 0&&(p.style.paddingTop=e.padding.top+"px"),e.padding.right!==void 0&&(p.style.paddingRight=e.padding.right+"px"),e.padding.bottom!==void 0&&(p.style.paddingBottom=e.padding.bottom+"px"),e.padding.left!==void 0&&(p.style.paddingLeft=e.padding.left+"px")))}if(e.borderRadius&&u&&o.setElementBorderRadius({settings:e,elem:u}),e.mobileWidth){const p=t.closest("table");p&&o.setElementMobileWidth({settings:e,elem:p}),n=!0}if(e.mobileHeight){const p=t.closest("td");p&&o.setElementMobileHeight({settings:e,elem:p}),o.setElementMobileLineHeight({settings:e,elem:t}),n=!0}if(e.mobileBorder){const p=t.closest("td");p&&o.setElementMobileBorder({settings:e,elem:p}),n=!0}if(e.mobileBorderRadius){const p=t.closest("td");p&&o.setElementMobileBorderRadius({settings:e,elem:p}),n=!0}if(e.mobileBoxShadow){const p=t.closest("td");p&&o.setElementMobileBoxShadow({settings:e,elem:p}),n=!0}if(e.mobileTextAlign){const p=vt(t);p&&o.setElementMobileAlign({settings:e,elem:p,fieldName:"mobileTextAlign"}),n=!0}if(e.mobileAlign){const p=t.closest("td")?.closest("table");p&&o.setElementMobileTableAlign({settings:e,elem:p}),n=!0}if(e.mobileVerticalAlign){const p=t.closest("td");p&&o.setElementMobileVerticalAlign({settings:e,elem:p}),n=!0}if(e.mobileBackgroundColor){const p=t.closest("td");p&&o.setElementMobileBackgroundColor({settings:e,elem:p}),n=!0}if(e.mobileBackgroundImage){const p=t.closest("td");p&&o.setElementMobileBackgroundImage({settings:e,elem:p}),n=!0}if(e.mobileBackgroundPositionX){const p=t.closest("td");p&&o.setElementMobileBackgroundPositionX({settings:e,elem:p}),n=!0}if(e.mobileBackgroundPositionY){const p=t.closest("td");p&&o.setElementMobileBackgroundPositionY({settings:e,elem:p}),n=!0}if(e.mobileBackgroundRepeat){const p=t.closest("td");p&&o.setElementMobileBackgroundRepeat({settings:e,elem:p}),n=!0}const g=e;if(g.mobileBackgroundSize){const p=t.closest("td");p&&o.setElementMobileBackgroundSize?.({settings:g,elem:p}),n=!0}if(e.mobilePadding&&(o.setElementMobilePadding({settings:e,elem:t}),n=!0),e.show){const p=t.closest("table");p&&o.setElementShow({settings:e,elem:p}),n=!0}const m=t.closest("a");if(m&&e.textColor!==void 0){const p=String(e.textColor||"");m.style.color=p,m.querySelectorAll('span[style*="color"], font[color]').forEach(b=>{b.style.removeProperty("color"),b.removeAttribute("color")})}if(m&&e.textBackgroundColor!==void 0){const p=String(e.textBackgroundColor||"");m.style.backgroundColor=p,m.querySelectorAll('span[style*="background-color"]').forEach(b=>{b.style.removeProperty("background-color")})}const f=["textColor","textBackgroundColor"];if(o.textStyleProperties.filter(p=>!f.includes(p)&&e.hasOwnProperty(p)).length>0)try{o.toggleTextStyle(t,{settings:e})}catch{}return e.mobileFontSize&&(o.setElementMobileFontSize({settings:e,elem:t}),n=!0),e.textReplacer!==void 0&&Iu(e.textReplacer,t,o.compareStrings),e.outlookRounding===!0?a.syncButtonVML(t,e):e.outlookRounding===!1?a.stripButtonVML(t):(l||d)&&a.syncButtonVML(t,e),i&&a.applyVMLBackgroundToggle(i,e,"inside"),n}function Iu(e,o,t){if(e){const n=window.getSelection();if(!n||n.rangeCount===0)return;const r=n.getRangeAt(0),i=e.replace(/~~.*$/,""),l=r?.commonAncestorContainer,s=l?.nodeType===1?l:l.parentElement;let c=s?.closest("em-replace");const d=!!(/~~/.test(e)&&c);if(d&&s){const u=e.replace(/~~.*$/,"");s.setAttribute("text",u),s.innerHTML=u}if(!c&&n.rangeCount>0&&!r.collapsed){const u=document.querySelectorAll("em-replace");if(c=Array.prototype.find.call(u,g=>g.textContent?.trim()===n.toString().trim()&&n.toString().trim()!==""),!c){const g=document.querySelector('[em-edit="active"]');g?.textContent===r.toString()&&r.selectNodeContents(g);const m=e.replace(/~~.*$/,""),f=document.createElement("em-replace");f.setAttribute("text",m),r.surroundContents(f)}}if(!c&&n.rangeCount>0&&r.collapsed){let u=document.querySelector("em-replace");if(u){const g=document.querySelectorAll("em-replace"),m=/~$/;c=Array.prototype.find.call(g,f=>{const p=e,b=f.textContent||"";return p.length===1&&m.test(b)?!0:t(b,p)}),c&&(c.setAttribute("text",e),c.textContent=e),c||(u=document.createElement("em-replace"),u.setAttribute("text",i),r.insertNode(u),u.innerHTML=i,r.collapse())}else u=document.createElement("em-replace"),u.setAttribute("text",i),r.insertNode(u),u.innerHTML=i,r.collapse()}c&&!d&&(c.getAttribute("text")===c.innerHTML&&(c.innerHTML=e),c.setAttribute("text",e))}else if(e===""){const n=o?.closest("em-replace")||o?.querySelector("em-replace");if(n){const r=n.parentNode,i=n.firstChild,l=n.lastChild;if(n.getAttribute("text")!==n.innerHTML&&r)for(;n.firstChild;)r.insertBefore(n.firstChild,n);const s=document.createRange(),c=window.getSelection();i&&l&&c&&(s.setStartBefore(i),s.setEndAfter(l),c.removeAllRanges(),c.addRange(s)),n.remove()}}}function Ou(e){return e.backgroundImage?.[0]?.value??""}function xu(e,o){const t=o.activeElement;let n=!1;if(!e)return n;e.exportAsPicture?t.setAttribute("em-operation","exportAsPicture"):t.getAttribute("em-operation")==="exportAsPicture"&&t.removeAttribute("em-operation"),e.align?t.style.textAlign?t.style.textAlign=e.align:t.setAttribute("align",e.align):e.align===""&&(t.style.textAlign?t.style.removeProperty("text-align"):t.removeAttribute("align")),e.valign?t.style.verticalAlign=e.valign:e.valign===""&&t.style.removeProperty("vertical-align"),e.width&&(e.width.value?t.style.width=e.width.value+e.width.dim:t.style.removeProperty("width")),e.minWidth&&(e.minWidth.value?t.style.minWidth=e.minWidth.value+e.minWidth.dim:t.style.removeProperty("min-width")),e.maxWidth&&(e.maxWidth.value?t.style.maxWidth=e.maxWidth.value+e.maxWidth.dim:t.style.removeProperty("max-width")),e.height&&(e.height.value?t.style.height=e.height.value+e.height.dim:t.style.removeProperty("height")),e.border&&o.setElementBorder({settings:e,elem:t}),e.boxShadow&&o.setElementBoxShadow({settings:e,elem:t}),e.backgroundColor!==void 0&&(e.backgroundColor===""?t.style.removeProperty("background-color"):t.style.backgroundColor=e.backgroundColor),e.backgroundImage&&(e.backgroundImage[0].value===""?t.style.removeProperty("background-image"):t.style.backgroundImage=e.backgroundImage[0].type+"("+e.backgroundImage[0].value+")"),e.backgroundPositionX!==void 0&&(e.backgroundPositionX===""?t.style.removeProperty("background-position-x"):t.style.backgroundPositionX=e.backgroundPositionX),e.backgroundPositionY!==void 0&&(e.backgroundPositionY===""?t.style.removeProperty("background-position-y"):t.style.backgroundPositionY=e.backgroundPositionY),e.backgroundRepeat&&(e.backgroundRepeat==="none"?t.style.removeProperty("background-repeat"):t.style.backgroundRepeat=e.backgroundRepeat),e.backgroundSize!==void 0&&(e.backgroundSize===""?t.style.removeProperty("background-size"):t.style.backgroundSize=e.backgroundSize),e.padding&&(e.padding.all!==void 0?(t.style.paddingTop=e.padding.all+"px",t.style.paddingRight=e.padding.all+"px",t.style.paddingBottom=e.padding.all+"px",t.style.paddingLeft=e.padding.all+"px"):(e.padding.top&&(t.style.paddingTop=e.padding.top+"px"),e.padding.right&&(t.style.paddingRight=e.padding.right+"px"),e.padding.bottom&&(t.style.paddingBottom=e.padding.bottom+"px"),e.padding.left&&(t.style.paddingLeft=e.padding.left+"px"))),e.borderRadius&&o.setElementBorderRadius({settings:e,elem:t}),e.mobileWidth&&(o.setElementMobileWidth({settings:e,elem:t}),n=!0),e.mobileHeight&&(o.setElementMobileHeight({settings:e,elem:t}),n=!0),e.mobileBorder&&(o.setElementMobileBorder({settings:e,elem:t}),n=!0),e.mobileBorderRadius&&(o.setElementMobileBorderRadius({settings:e,elem:t}),n=!0),e.mobileBoxShadow&&(o.setElementMobileBoxShadow({settings:e,elem:t}),n=!0),e.mobileAlign&&(o.setElementMobileAlign({settings:e,elem:t}),n=!0),e.mobileVerticalAlign&&(o.setElementMobileVerticalAlign({settings:e,elem:t}),n=!0),e.mobileDirection&&(o.setElementMobileDirection({settings:e,elem:t}),n=!0),e.mobileBackgroundColor&&(o.setElementMobileBackgroundColor({settings:e,elem:t}),n=!0),e.mobileBackgroundImage&&(o.setElementMobileBackgroundImage({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionX&&(o.setElementMobileBackgroundPositionX({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionY&&(o.setElementMobileBackgroundPositionY({settings:e,elem:t}),n=!0),e.mobileBackgroundRepeat&&(o.setElementMobileBackgroundRepeat({settings:e,elem:t}),n=!0);const r=e;return r.mobileBackgroundSize&&(o.setElementMobileBackgroundSize?.({settings:r,elem:t}),n=!0),e.mobilePadding&&(o.setElementMobilePadding({settings:e,elem:t}),n=!0),e.show&&(o.setElementShow({settings:e,elem:t}),n=!0),a.applyVMLBackgroundToggle(t,e,"inside"),n}function ln(e){e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.textContent=e.elem.textContent.replaceAll(/width=".*"/gi,'width="'+e.width+'"'):e.elem.previousSibling&&ln({elem:e.elem.previousSibling,width:e.width})}function Du(e,o){const t=o.activeElement;let n=!1;if(!e)return n;e.exportAsPicture?t.setAttribute("em-operation","exportAsPicture"):t.getAttribute("em-operation")==="exportAsPicture"&&t.removeAttribute("em-operation"),e.align?t.setAttribute("align",e.align):e.align===""&&t.removeAttribute("align"),e.width&&(e.width.value?(t.setAttribute("width",e.width.value+(e.width.dim==="px"?"":"%")),t.style.width=e.width.value+e.width.dim,e.width.dim==="px"&&ln({elem:t,width:e.width.value})):(t.removeAttribute("width"),t.style.removeProperty("width"))),e.maxWidth&&(e.maxWidth.value?(t.style.maxWidth=e.maxWidth.value+e.maxWidth.dim,ln({elem:t,width:e.maxWidth.value})):t.style.removeProperty("max-width")),e.minWidth&&(e.minWidth.value?t.style.minWidth=e.minWidth.value+e.minWidth.dim:t.style.removeProperty("min-width")),e.border&&o.setElementBorder({settings:e,elem:t}),e.boxShadow&&o.setElementBoxShadow({settings:e,elem:t}),e.backgroundColor!==void 0&&(e.backgroundColor===""?(t.removeAttribute("bgcolor"),t.style.removeProperty("background-color")):(t.setAttribute("bgcolor",e.backgroundColor),t.style.backgroundColor=e.backgroundColor)),e.backgroundImage&&(e.backgroundImage[0].value===""?(t.style.removeProperty("background-image"),t.removeAttribute("background")):(t.style.removeProperty("background-image"),t.style.backgroundImage=e.backgroundImage[0].type+"("+e.backgroundImage[0].value+")",a.setRenderedAttribute(t,"background",Fu(e)))),e.backgroundPositionX!==void 0&&(e.backgroundPositionX===""?t.style.removeProperty("background-position-x"):t.style.backgroundPositionX=e.backgroundPositionX),e.backgroundPositionY!==void 0&&(e.backgroundPositionY===""?t.style.removeProperty("background-position-y"):t.style.backgroundPositionY=e.backgroundPositionY),e.backgroundRepeat&&(e.backgroundRepeat==="none"?t.style.removeProperty("background-repeat"):t.style.backgroundRepeat=e.backgroundRepeat),e.backgroundSize!==void 0&&(e.backgroundSize===""?t.style.removeProperty("background-size"):t.style.backgroundSize=e.backgroundSize),e.borderRadius&&o.setElementBorderRadius({settings:e,elem:t}),e.mobileAlign&&(o.setElementMobileTableAlign({settings:e,elem:t}),n=!0),e.mobileWidth&&(o.setElementMobileWidth({settings:e,elem:t}),n=!0),e.mobileBorder&&(o.setElementMobileBorder({settings:e,elem:t}),n=!0),e.mobileBorderRadius&&(o.setElementMobileBorderRadius({settings:e,elem:t}),n=!0),e.mobileBoxShadow&&(o.setElementMobileBoxShadow({settings:e,elem:t}),n=!0),e.mobileBackgroundColor&&(o.setElementMobileBackgroundColor({settings:e,elem:t}),n=!0),e.mobileBackgroundImage&&(o.setElementMobileBackgroundImage({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionX&&(o.setElementMobileBackgroundPositionX({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionY&&(o.setElementMobileBackgroundPositionY({settings:e,elem:t}),n=!0),e.mobileBackgroundRepeat&&(o.setElementMobileBackgroundRepeat({settings:e,elem:t}),n=!0);const r=e;return r.mobileBackgroundSize&&(o.setElementMobileBackgroundSize?.({settings:r,elem:t}),n=!0),e.show&&(o.setElementShow({settings:e,elem:t}),n=!0),a.applyVMLBackgroundToggle(t,e,"around"),n}function Fu(e){return e.backgroundImage?.[0]?.value??""}function qu(e,o){const t=o.activeElement;let n=!1;if(!e)return n;if(typeof e.linkHref=="string"){const i=document.querySelector("[em-edit]"),l=i?.tagName==="A"?i:i?.closest("a")??t.querySelector("a");l&&(l.setAttribute("href",e.linkHref),At(e.linkHref)&&l.removeAttribute("target"))}if(e.exportAsPicture?t.setAttribute("em-operation","exportAsPicture"):t.getAttribute("em-operation")==="exportAsPicture"&&t.removeAttribute("em-operation"),e.align){t.style.textAlign?t.style.textAlign=e.align:t.setAttribute("align",e.align);const i=t.querySelectorAll('[em="atom"]');i.length>0&&i.forEach(l=>{l.querySelector(":scope > tr > td")?.setAttribute("align",e.align);const s=l.querySelector('div[style*="font-family"][style*="font-size"]');s?.hasAttribute("align")&&s.setAttribute("align",e.align)})}else if(e.align===""){t.style.textAlign?t.style.removeProperty("text-align"):t.removeAttribute("align");const i=t.querySelectorAll('[em="atom"]');i.length>0&&i.forEach(s=>{s.querySelector(":scope > tr > td")?.removeAttribute("align")});const l=t.closest("table");if(l?.getAttribute("em")==="atom"){const s=l.querySelector('div[style*="font-family"][style*="font-size"]');s?.hasAttribute("align")&&s.removeAttribute("align")}}if(e.valign?(t.setAttribute("valign",e.valign),t.querySelectorAll('div[style*="display"]').forEach(i=>i.style.verticalAlign=e.valign)):e.valign===""&&t.removeAttribute("valign"),e.width){const i=t.closest("table");i?.getAttribute("em")==="atom"?e.width.value?i.setAttribute("width",e.width.value+(e.width.dim==="px"?"":"%")):i.removeAttribute("width"):e.width.value?t.setAttribute("width",e.width.value+(e.width.dim==="px"?"":"%")):t.removeAttribute("width")}if(e.height)if(e.height.value){t.setAttribute("height",e.height.value+(e.height.dim==="px"?"":"%")),t.style.height=e.height.value+e.height.dim;const i=t.firstElementChild;i?.tagName==="A"&&i.style.display==="block"&&(i.style.height=e.height.value+e.height.dim,i.style.lineHeight=e.height.value+e.height.dim)}else t.removeAttribute("height"),t.style.removeProperty("height");if(e.border&&o.setElementBorder({settings:e,elem:t}),e.boxShadow&&o.setElementBoxShadow({settings:e,elem:t}),e.backgroundColor!==void 0&&(e.backgroundColor===""?(t.removeAttribute("bgcolor"),t.style.removeProperty("background-color")):(t.setAttribute("bgcolor",e.backgroundColor),t.style.backgroundColor=e.backgroundColor)),e.backgroundImage&&(e.backgroundImage[0].value===""?(t.style.removeProperty("background-image"),t.removeAttribute("background")):(t.style.removeProperty("background-image"),t.style.backgroundImage=e.backgroundImage[0].type+"("+e.backgroundImage[0].value+")",a.setRenderedAttribute(t,"background",zu(e)))),e.backgroundPositionX!==void 0&&(e.backgroundPositionX===""?t.style.removeProperty("background-position-x"):t.style.backgroundPositionX=e.backgroundPositionX),e.backgroundPositionY!==void 0&&(e.backgroundPositionY===""?t.style.removeProperty("background-position-y"):t.style.backgroundPositionY=e.backgroundPositionY),e.backgroundRepeat&&(e.backgroundRepeat==="none"?t.style.removeProperty("background-repeat"):t.style.backgroundRepeat=e.backgroundRepeat),e.backgroundSize!==void 0&&(e.backgroundSize===""?t.style.removeProperty("background-size"):t.style.backgroundSize=e.backgroundSize),e.direction&&e.direction!=="none"?(t.setAttribute("dir",e.direction),e.direction==="rtl"&&t.querySelectorAll("td").forEach(i=>{for(let l=i.firstChild;l;l=l.nextSibling)if(l.nodeType===3){l.parentNode?.setAttribute("dir","ltr");break}})):(e.direction===""||e.direction==="none")&&(t.removeAttribute("dir"),t.querySelectorAll("[dir]").forEach(i=>i.removeAttribute("dir"))),e.padding){if(e.padding.all!==void 0)t.style.paddingTop=e.padding.all+"px",t.style.paddingRight=e.padding.all+"px",t.style.paddingBottom=e.padding.all+"px",t.style.paddingLeft=e.padding.all+"px",t.querySelectorAll(".em-vindent").forEach(c=>c.remove());else{if(e.padding.top!==void 0){t.style.paddingTop=e.padding.top+"px";for(const c of t.children)c.classList.contains("em-vindent-paddingTop")&&c.remove()}if(e.padding.right!==void 0){t.style.paddingRight=e.padding.right+"px";for(const c of t.children)c.classList.contains("em-vindent-paddingRight")&&c.remove()}if(e.padding.bottom!==void 0){t.style.paddingBottom=e.padding.bottom+"px";for(const c of t.children)c.classList.contains("em-vindent-paddingBottom")&&c.remove()}if(e.padding.left!==void 0){t.style.paddingLeft=e.padding.left+"px";for(const c of t.children)c.classList.contains("em-vindent-paddingLeft")&&c.remove()}}const i=t.querySelector(".em-mob-wrap"),l=t.parentElement?.getAttribute("em")==="block",s=e.padding.left!==void 0||e.padding.right!==void 0;i&&l&&s&&t.querySelectorAll(":scope > table").forEach(c=>o.setStructureBlocksWidth(c))}if(e.borderRadius&&o.setElementBorderRadius({settings:e,elem:t}),o.textStyleProperties.some(i=>e.hasOwnProperty(i))&&!o.isElementListContainer)try{o.toggleTextStyle(t,{settings:e})}catch{}if(o.isElementListContainer&&o.requestType!=="structure"&&o.requestType!=="column"&&o.textStyleProperties.some(i=>e.hasOwnProperty(i))&&$u(e,o),e.mobileWidth){const i=t.closest("table"),l=i?.getAttribute("em")==="atom";o.setElementMobileWidth({settings:e,elem:l?i:t}),n=!0}e.mobileHeight&&(o.setElementMobileHeight({settings:e,elem:t}),n=!0),e.mobileBorder&&(o.setElementMobileBorder({settings:e,elem:t}),n=!0),e.mobileBorderRadius&&(o.setElementMobileBorderRadius({settings:e,elem:t}),n=!0),e.mobileBoxShadow&&(o.setElementMobileBoxShadow({settings:e,elem:t}),n=!0),e.mobileAlign&&(Wu(e,t,o),n=!0),e.mobileVerticalAlign&&(o.setElementMobileVerticalAlign({settings:e,elem:t}),n=!0),e.mobileDirection&&(o.setElementMobileDirection({settings:e,elem:t}),n=!0),e.mobileBackgroundColor&&(o.setElementMobileBackgroundColor({settings:e,elem:t}),n=!0),e.mobileBackgroundImage&&(o.setElementMobileBackgroundImage({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionX&&(o.setElementMobileBackgroundPositionX({settings:e,elem:t}),n=!0),e.mobileBackgroundPositionY&&(o.setElementMobileBackgroundPositionY({settings:e,elem:t}),n=!0),e.mobileBackgroundRepeat&&(o.setElementMobileBackgroundRepeat({settings:e,elem:t}),n=!0);const r=e;return r.mobileBackgroundSize&&(o.setElementMobileBackgroundSize?.({settings:r,elem:t}),n=!0),e.mobilePadding&&(o.setElementMobilePadding({settings:e,elem:t}),n=!0),e.show&&(o.setElementShow({settings:e,elem:t}),n=!0),"isContrastBlock"in e&&o.setContrastBlock({settings:e,elem:t}),a.applyVMLBackgroundToggle(t,e,"inside"),n}function Wu(e,o,t){t.setElementMobileAlign({settings:e,elem:o});const n=e.mobileAlign?.classNamePrefix||"em-mob-text_align-";el(o,(l,s)=>{tl(s,l,n),t.setElementMobileAlign({settings:e,elem:l})});function r(l){const s=l.querySelectorAll("table"),c=l.querySelector("table");s.length===1&&(c?.hasAttribute("width")&&c?.getAttribute("width")!=="100%"||!c?.hasAttribute("width"))&&t.setElementMobileTableAlign({elem:c,settings:{mobileAlign:{classNamePrefix:"em-mob-table_align-",value:e.mobileAlign.value}}})}const i=o.closest("table");i?.getAttribute("em")==="atom"?r(i):o.querySelectorAll('[em="atom"]').forEach(l=>r(l))}function $u(e,o){const t=o.activeElement,n=o.removeEditorTags(o.isElementListContainer.outerHTML);t.innerHTML=`<td em-edit="active">${o.addClassToSecondCell(n,"em-list-temp-class")}</td>`;const r=window.getSelection();if(!r||r.rangeCount===0)return;let i=r.getRangeAt(0);const l=t.querySelectorAll(".em-list-temp-class");if(l.length>0){o.isProgrammaticSelection.value=!0;for(let s=0;s<l.length;s++){const c=l[s].querySelector("div");if(!c)continue;o.wrapEditor(c,!0),i=r.getRangeAt(0),i.selectNode(c),o.addNewRange(i);const d=c.innerHTML!==" "||c.innerHTML===" "&&(e.fontSize||e.textColor||e.lineHeight);if(o.textStyleProperties.some(u=>e.hasOwnProperty(u))&&d)try{o.toggleTextStyle(c,{settings:e})}catch{}}t.querySelectorAll(".em-list-temp-class").forEach(s=>s.classList.remove("em-list-temp-class")),t.removeAttribute("em-edit"),t.setAttribute("em-edit","active"),setTimeout(()=>{o.isProgrammaticSelection.value=!1},100),i=r.getRangeAt(0),i.selectNode(t),o.addNewRange(i)}}function zu(e){return e.backgroundImage?.[0]?.value??""}function an(e){e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.textContent=e.elem.textContent.replace(/width=".*?"/gi,'width="'+e.width+'"'):e.elem.previousSibling&&an({elem:e.elem.previousSibling,width:e.width})}function Vu(e,o){const t=o.activeElement;let n=!1;if(!e)return n;if(e.width){const r=e.gap?.value??0;if(e.width.value!==void 0&&e.width.value!==null)if(t.style.maxWidth)if(e.width.dim==="px"){const i=parseFloat(e.width.value+r),l=Math.round(parseFloat(e.width.value)/i*100);t.style.maxWidth=i+e.width.dim,an({elem:t,width:i}),t.firstElementChild?.tagName==="TABLE"&&(t.firstElementChild.setAttribute("width",e.width.value),t.firstElementChild.style.width=l+"%",t.firstElementChild.style.maxWidth=e.width.value+"px")}else t.style.width=parseFloat(e.width.value)+e.width.dim;else e.width.dim==="px"?(t.style.width=parseFloat(e.width.value+r)+e.width.dim,an({elem:t,width:parseFloat(e.width.value+r)}),t.firstElementChild?.tagName==="TABLE"&&t.firstElementChild.setAttribute("width",e.width.value)):t.style.width=parseFloat(e.width.value)+e.width.dim;else t.style.removeProperty("width")}if(e.gap&&!e.width){const r=parseFloat(e.gap.value??0);t.style.maxWidth?t.parentElement?.querySelectorAll('div[style*="inline-block"]').forEach(i=>{const l=i,s=parseFloat(l.style.maxWidth),c=Math.round((s-r)/s*100);l.firstElementChild?.tagName==="TABLE"&&(l.firstElementChild.setAttribute("width",String(s-r)),l.firstElementChild.style.width=c+"%",l.firstElementChild.style.maxWidth=s-r+"px")}):t.parentElement?.querySelectorAll('div[style*="inline-block"]').forEach(i=>{const l=i;l.firstElementChild?.tagName==="TABLE"&&l.firstElementChild.setAttribute("width",String(parseFloat(l.style.width)-r))})}return e.valign&&(t.style.verticalAlign=e.valign),e.mobileWidth&&(o.setElementMobileWidth({settings:e,elem:t}),n=!0),e.mobileContentWidth&&(o.setElementMobileContentWidth({settings:e,elem:t.firstElementChild}),n=!0),e.mobileVerticalAlign&&(o.setElementMobileVerticalAlign({settings:e,elem:t}),n=!0),e.show&&(o.setElementShow({settings:e,elem:t}),n=!0),n}function sn(e){e.elem.nodeName==="#comment"&&e.elem.textContent?.indexOf("mso")!==-1?e.elem.textContent=e.elem.textContent.replace(/width=".*?"/gi,'width="'+e.width+'"'):e.elem.previousSibling&&sn({elem:e.elem.previousSibling,width:e.width})}function fo(e){return!!(e.querySelector(".em-mob-wrap")||e.closest(".em-mob-wrap")||e.querySelector(".noresp-em-mob-wrap")||e.closest(".noresp-em-mob-wrap"))}function po(e){return e.querySelector(".em-mob-wrap, .noresp-em-mob-wrap")?document.querySelector('[em-edit="active"]'):e.closest(".em-mob-wrap, .noresp-em-mob-wrap")?.parentElement||null}function cn(e){return e.querySelector('div[style*="inline-block"]')?document.querySelector('[em-edit="active"]'):e.closest('div[style*="inline-block"]')?.parentElement||null}function Uu(e,o){const t=o.activeElement;if(fo(t)){const n=po(t);if(!n)return;n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)").forEach((r,i)=>{r.setAttribute("width",e.items[i])}),o.setPercentsForColumns(n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)"))}else{const n=cn(t);if(!n)return;n.querySelectorAll('div[style*="inline-block"]').forEach((r,i)=>{const l=r;l.style.width=e.items[i]+e.gap+"px",sn({elem:l.closest('div[style*="inline-block"]'),width:e.items[i]+e.gap}),l.firstElementChild?.tagName==="TABLE"&&l.firstElementChild.setAttribute("width",e.items[i])})}}function ju(e,o){const t=o.activeElement;if(!fo(t))return;const n=t.querySelector(".em-mob-wrap, .noresp-em-mob-wrap")?t.querySelector(".em-mob-wrap, .noresp-em-mob-wrap")?.parentElement:t.closest(".em-mob-wrap, .noresp-em-mob-wrap")?.parentElement;if(!n)return;const r=n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)"),i=r.length,l=e.items.length,s=e.gap;i>=l?r.forEach((c,d)=>{d<l?c.setAttribute("width",e.items[d]):(c.previousElementSibling?.classList.contains("em-mob-wrap")&&c.previousElementSibling.remove(),c.remove())}):(r.forEach((c,d)=>{c.setAttribute("width",e.items[d])}),e.items.forEach((c,d)=>{let u="";n.querySelector(".em-mob-wrap")?u=`<td width="${s}" class="em-mob-wrap"></td>
|
|
268
268
|
<td width="${c}" valign="top" class="em-mob-wrap em-mob-width-100perc"></td>`:n.querySelector(".noresp-em-mob-wrap")&&(u=`<td width="${s}" class="noresp-em-mob-wrap"></td>
|
|
269
|
-
<td width="${c}" valign="top" class="noresp-em-mob-wrap em-mob-width-100perc"></td>`),d>=i&&u&&n.insertAdjacentHTML("beforeend",u)}))}function Gu(e,o){const t=o.activeElement;if(fo(t)){const n=po(t);if(!n)return;n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)").forEach(r=>{r.setAttribute("valign",e.valign)})}else{const n=cn(t);if(!n)return;n.querySelectorAll('div[style*="inline-block"]').forEach(r=>{r.style.verticalAlign=e.valign})}}function Yu(e,o){const t=o.activeElement;if(fo(t)){const n=po(t);if(!n)return;n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)").forEach((r,i)=>{r.setAttribute("width",e.items[i])}),o.setPercentsForColumns(n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)")),n.querySelectorAll(".em-mob-wrap:nth-child(even), .noresp-em-mob-wrap:nth-child(even)").forEach(r=>{r.setAttribute("width",e.gap)})}else{const n=cn(t);if(!n)return;n.querySelectorAll('div[style*="inline-block"]').forEach((r,i)=>{const l=r;l.style.width=e.items[i]+e.gap+"px",sn({elem:l.closest('div[style*="inline-block"]'),width:e.items[i]+e.gap}),l.firstElementChild?.tagName==="TABLE"&&l.firstElementChild.setAttribute("width",e.items[i])})}}function Ku(e,o){const t=o.activeElement;let n=!1;const r=po(t);return r&&r.querySelectorAll(".em-mob-wrap:nth-child(even), .noresp-em-mob-wrap:nth-child(even)").forEach(i=>{o.setElementMobileHeight({settings:e,elem:i}),n=!0}),n}function Xu(e,o){const t=e,n=o.activeElement.closest("amp-carousel");if(!n)return;const r=o.HTMLDocument.getOuterHtml(n),i=o.parseFromString(r)[0];t.loop?i.setAttribute("loop",""):i.removeAttribute("loop"),t.autoplay?i.setAttribute("autoplay",""):i.removeAttribute("autoplay"),i.innerHTML="",t.carouselImages.forEach(l=>{const s=document.createElement("amp-img");if(a.setRenderedAttribute(s,"src",l.src),s.setAttribute("alt",l.alt),s.setAttribute("title",l.title),s.setAttribute("width",String(l.width.value)),s.setAttribute("height",String(l.height.value)),s.setAttribute("layout","responsive"),l.link){const c=document.createElement("a");c.href=l.link,c.appendChild(s),i.appendChild(c)}else i.appendChild(s)}),o.setElementBorderRadius({settings:{borderRadius:t.borderRadius},elem:i}),i.setAttribute("em-edit","active"),n.replaceWith(i),o.commit(!0)}function Zu(e,o){const t=e,n=o.activeElement.closest("amp-accordion");if(!n)return;const r=o.HTMLDocument.getOuterHtml(n),i=o.parseFromString(r)[0];t.animate?i.setAttribute("animate",""):i.removeAttribute("animate"),t.expandSingleSection?i.setAttribute("expand-single-section",""):i.removeAttribute("expand-single-section"),i.querySelectorAll("section").forEach((l,s)=>{t.sections[s]?.expanded?l.setAttribute("expanded",""):l.removeAttribute("expanded")}),i.setAttribute("em-edit","active"),n.replaceWith(i),o.commit(!0)}var Oe={align:"center",iconSize:40,borderRadius:0,gap:8,bgEnabled:!1,bgColor:"",borderWidth:0,borderColor:"",buttonBorderColor:"",buttonBorderWidth:0,showLabel:!1};function Ju(e){return e.closest('table[em-type="social"]')}function mi(e){const o=e.querySelector(":scope > tr");if(o){const n=o.querySelector(":scope > td");if(n instanceof HTMLElement)return n}const t=e.querySelector("tbody > tr");if(t){const n=t.querySelector(":scope > td");if(n instanceof HTMLElement)return n}return null}function Qu(e,o,t){const n=mi(e),r=mi(o);if(!(!n||!r)){for(const{name:i,value:l}of Array.from(n.attributes))i.toLowerCase()!=="align"&&r.setAttribute(i,l);r.setAttribute("align",t)}}function xe(e){return String(e??"").replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<")}function ef(e){return String(e??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function tf(){const e=[typeof document<"u"?document.baseURI:"",typeof window<"u"?window.location?.href:""];for(const o of e)if(o)try{const t=new URL(o);if(t.protocol==="http:"||t.protocol==="https:")return t.href}catch{}return""}function of(e){const o=String(e??"").trim();if(!o)return"";if(/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i.test(o))return o;const t=tf();if(!t)return o;try{return new URL(o,t).href}catch{return o}}function nf(e){return e>0?`<td width="${e}"> </td>`:""}function rf(e,o){const t=Ju(o.activeElement);if(!t)return null;const n=Array.isArray(e.items)?e.items:[],r=e.align==="left"||e.align==="right"||e.align==="center"?e.align:Oe.align,i=typeof e.iconSize=="number"?e.iconSize:Oe.iconSize,l=typeof e.borderRadius=="number"?e.borderRadius:Oe.borderRadius,s=typeof e.gap=="number"?e.gap:Oe.gap,c=typeof e.bgEnabled=="boolean"?e.bgEnabled:Oe.bgEnabled,d=typeof e.bgColor=="string"?e.bgColor:Oe.bgColor,u=typeof e.borderWidth=="number"?e.borderWidth:Oe.borderWidth,
|
|
269
|
+
<td width="${c}" valign="top" class="noresp-em-mob-wrap em-mob-width-100perc"></td>`),d>=i&&u&&n.insertAdjacentHTML("beforeend",u)}))}function Gu(e,o){const t=o.activeElement;if(fo(t)){const n=po(t);if(!n)return;n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)").forEach(r=>{r.setAttribute("valign",e.valign)})}else{const n=cn(t);if(!n)return;n.querySelectorAll('div[style*="inline-block"]').forEach(r=>{r.style.verticalAlign=e.valign})}}function Yu(e,o){const t=o.activeElement;if(fo(t)){const n=po(t);if(!n)return;n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)").forEach((r,i)=>{r.setAttribute("width",e.items[i])}),o.setPercentsForColumns(n.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)")),n.querySelectorAll(".em-mob-wrap:nth-child(even), .noresp-em-mob-wrap:nth-child(even)").forEach(r=>{r.setAttribute("width",e.gap)})}else{const n=cn(t);if(!n)return;n.querySelectorAll('div[style*="inline-block"]').forEach((r,i)=>{const l=r;l.style.width=e.items[i]+e.gap+"px",sn({elem:l.closest('div[style*="inline-block"]'),width:e.items[i]+e.gap}),l.firstElementChild?.tagName==="TABLE"&&l.firstElementChild.setAttribute("width",e.items[i])})}}function Ku(e,o){const t=o.activeElement;let n=!1;const r=po(t);return r&&r.querySelectorAll(".em-mob-wrap:nth-child(even), .noresp-em-mob-wrap:nth-child(even)").forEach(i=>{o.setElementMobileHeight({settings:e,elem:i}),n=!0}),n}function Xu(e,o){const t=e,n=o.activeElement.closest("amp-carousel");if(!n)return;const r=o.HTMLDocument.getOuterHtml(n),i=o.parseFromString(r)[0];t.loop?i.setAttribute("loop",""):i.removeAttribute("loop"),t.autoplay?i.setAttribute("autoplay",""):i.removeAttribute("autoplay"),i.innerHTML="",t.carouselImages.forEach(l=>{const s=document.createElement("amp-img");if(a.setRenderedAttribute(s,"src",l.src),s.setAttribute("alt",l.alt),s.setAttribute("title",l.title),s.setAttribute("width",String(l.width.value)),s.setAttribute("height",String(l.height.value)),s.setAttribute("layout","responsive"),l.link){const c=document.createElement("a");c.href=l.link,c.appendChild(s),i.appendChild(c)}else i.appendChild(s)}),o.setElementBorderRadius({settings:{borderRadius:t.borderRadius},elem:i}),i.setAttribute("em-edit","active"),n.replaceWith(i),o.commit(!0)}function Zu(e,o){const t=e,n=o.activeElement.closest("amp-accordion");if(!n)return;const r=o.HTMLDocument.getOuterHtml(n),i=o.parseFromString(r)[0];t.animate?i.setAttribute("animate",""):i.removeAttribute("animate"),t.expandSingleSection?i.setAttribute("expand-single-section",""):i.removeAttribute("expand-single-section"),i.querySelectorAll("section").forEach((l,s)=>{t.sections[s]?.expanded?l.setAttribute("expanded",""):l.removeAttribute("expanded")}),i.setAttribute("em-edit","active"),n.replaceWith(i),o.commit(!0)}var Oe={align:"center",iconSize:40,borderRadius:0,gap:8,bgEnabled:!1,bgColor:"",borderWidth:0,borderColor:"",buttonBorderColor:"",buttonBorderWidth:0,showLabel:!1};function Ju(e){return e.closest('table[em-type="social"]')}function mi(e){const o=e.querySelector(":scope > tr");if(o){const n=o.querySelector(":scope > td");if(n instanceof HTMLElement)return n}const t=e.querySelector("tbody > tr");if(t){const n=t.querySelector(":scope > td");if(n instanceof HTMLElement)return n}return null}function Qu(e,o,t){const n=mi(e),r=mi(o);if(!(!n||!r)){for(const{name:i,value:l}of Array.from(n.attributes))i.toLowerCase()!=="align"&&r.setAttribute(i,l);r.setAttribute("align",t)}}function xe(e){return String(e??"").replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<")}function ef(e){return String(e??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function tf(){const e=[typeof document<"u"?document.baseURI:"",typeof window<"u"?window.location?.href:""];for(const o of e)if(o)try{const t=new URL(o);if(t.protocol==="http:"||t.protocol==="https:")return t.href}catch{}return""}function of(e){const o=String(e??"").trim();if(!o)return"";if(/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i.test(o))return o;const t=tf();if(!t)return o;try{return new URL(o,t).href}catch{return o}}function nf(e){return e>0?`<td width="${e}"> </td>`:""}function rf(e,o){const t=Ju(o.activeElement);if(!t)return null;const n=Array.isArray(e.items)?e.items:[],r=e.align==="left"||e.align==="right"||e.align==="center"?e.align:Oe.align,i=typeof e.iconSize=="number"?e.iconSize:Oe.iconSize,l=typeof e.borderRadius=="number"?e.borderRadius:Oe.borderRadius,s=typeof e.gap=="number"?e.gap:Oe.gap,c=typeof e.bgEnabled=="boolean"?e.bgEnabled:Oe.bgEnabled,d=typeof e.bgColor=="string"?e.bgColor:Oe.bgColor,u=typeof e.borderWidth=="number"?e.borderWidth:Oe.borderWidth,g=typeof e.borderColor=="string"?e.borderColor:Oe.borderColor;let m=typeof e.buttonBorderWidth=="number"&&!Number.isNaN(e.buttonBorderWidth)?e.buttonBorderWidth:Oe.buttonBorderWidth;m=Math.max(0,Math.min(24,Math.round(m)));const f=typeof e.showLabel=="boolean"?e.showLabel:Oe.showLabel,p=[];u>0&&g&&p.push(`border:${u}px solid ${xe(g)}`);const b=p.length?` style="${p.join(";")}"`:"",h=!!(c&&String(d).trim()),y=Math.max(0,Math.round(Number(s)||0)),E=n.length>1,S=`<table border="0" cellspacing="0" cellpadding="0">
|
|
270
270
|
<tr>${n.map(L=>{const w=xe(L.platform||"unknown"),T=!!L.customIcon,k=xe(L.href||""),D=String(L.title??"").trim(),z=D?` title="${xe(D)}"`:"",$=xe(L.alt||""),M=xe(of(L.iconSrc||"")),H=L.iconWidth!=null&&!Number.isNaN(Number(L.iconWidth))?Number(L.iconWidth):i,P=L.iconHeight!=null&&!Number.isNaN(Number(L.iconHeight))?Number(L.iconHeight):i,Z=T?"":typeof L.buttonBgColor=="string"?L.buttonBgColor.trim():"",R=!T&&h&&!Z?String(d).trim():"",F=T?"":Z||R,ie=!T&&!!R,O=T?"":typeof L.itemBorderColor=="string"?L.itemBorderColor.trim():"",B=!T&&!!(Z||O&&m>0||ie);let ee=`<a href="${k}" target="_blank"${z} draggable="false"><img src="${M}" width="${H}" height="${P}" border="0" alt="${$}" draggable="false" style="display:block;${!T&&!B&&l>0?`border-radius:${l}px;`:""}" /></a>`;if(f&&(L.title||L.alt)){const ge=ef(String(L.title||L.alt||""));ee+=`<br/><span style="display:block;font-size:11px;line-height:1.2;margin-top:4px;max-width:96px;word-break:break-word;">${ge}</span>`}const oe=[];F&&oe.push(`background-color:${xe(F)}`),O&&m>0&&oe.push(`border:${m}px solid ${xe(O)}`),B&&l>0&&oe.push(`border-radius:${l}px`);const G=ie?' em-tray-cell-bg="1"':"",J=T?' em-custom-icon="1"':"",Y=F&&/^#[0-9A-Fa-f]{3,8}$/.test(F)?` bgcolor="${xe(F)}"`:"",ae=E?' draggable="true"':"";return`<td em-platform="${w}"${J}${G}${Y}${oe.length?` style="${oe.join(";")}"`:""}${ae}>${ee}</td>`}).filter(Boolean).reduce((L,w,T)=>(T>0&&L.push(nf(y)),L.push(w),L),[]).join("")}
|
|
271
271
|
</tr>
|
|
272
272
|
</table>`,v=`<table cellpadding="0" cellspacing="0" border="0" width="100%" class="em-mob-width-100perc" em="atom" em-type="social"${b}><tr><td align="${xe(r)}">
|
|
273
273
|
${S}
|
|
274
|
-
</td></tr></table>`,C=o.parseFromString(v)[0];return C?(C instanceof HTMLTableElement&&Qu(t,C,r),C.setAttribute("em-edit","active"),t.replaceWith(C),o.commit(!0),C):null}function lf(e,o){if(typeof e.textSuperscript!="boolean"&&typeof e.textSubscript!="boolean")return;const t=window.getSelection();if(!t||t.rangeCount===0)return;const n=t.getRangeAt(0),r=n.commonAncestorContainer;if(r?.tagName==="TABLE")return;const i=r.nodeType===1?r:r.parentElement;if(!i)return;function l(s,c){const d=i.closest(s),u=s==="sup"?"sub":"sup",p=i.closest(u);if(c){let m=!0;if(d&&o.isRangeMatching(d,n,n.collapsed))m=!1;else if(p)if(o.isRangeMatching(p,n,n.collapsed)){const f=o.unwrapTag(p);n.selectNodeContents(f)}else{const f=o.splitWrapper(p,n);n.selectNodeContents(f),setTimeout(()=>t.removeAllRanges(),100)}else if(d){const f=o.splitWrapper(d,n);n.selectNodeContents(f)}if(m)if(n.collapsed){const f=n.cloneRange();try{n.expand("word");const g=n.toString().trim();if(g){const b=o.wrapInTag(n,g,s),h=document.createRange();h.selectNodeContents(b),t.removeAllRanges(),t.addRange(h),o.cleanEmptyTags(b.parentNode)}else n.setStart(f.startContainer,f.startOffset),n.setEnd(f.endContainer,f.endOffset)}catch{n.setStart(f.startContainer,f.startOffset),n.setEnd(f.endContainer,f.endOffset)}}else{const f=n.cloneContents(),g=document.createElement("div");g.appendChild(f),o.unwrapNestedTags(g,s);const b=o.wrapInTag(n,g,s),h=document.createRange();h.selectNodeContents(b),t.removeAllRanges(),t.addRange(h),o.cleanEmptyTags(b.parentNode)}}else if(n.collapsed)if(d){const m=d.parentNode,f=o.unwrapTag(d),g=document.createRange();g.selectNodeContents(f),t.removeAllRanges(),t.addRange(g),o.cleanEmptyTags(m),d.parentNode||setTimeout(()=>t.removeAllRanges(),0)}else{const m=n.startContainer.parentElement?.closest(s);if(m){const f=o.unwrapTag(m),g=document.createRange();g.selectNodeContents(f),t.removeAllRanges(),t.addRange(g),o.cleanEmptyTags(m.parentNode)}}else{let m=[];const f=n.cloneContents(),g=document.createElement("div");if(g.appendChild(f),m=Array.from(g.querySelectorAll(s)),d){const h=Array.from(d.childNodes).some(S=>S.nodeType===1),y=o.unwrapTag(d),E=document.createRange();if(y.isConnected)E.selectNodeContents(y),t.removeAllRanges(),t.addRange(E);else{const S=d.parentNode;S&&(E.selectNodeContents(S),t.removeAllRanges(),t.addRange(E))}h&&o.applicationElementSettingsSet({elem:document.querySelector("[em-edit]")}),o.commit();return}else{const h=n.commonAncestorContainer.parentElement?.closest(s)||n.startContainer.parentElement?.closest(s);h&&m.push(h)}m.length>0&&m.forEach(h=>{h.parentNode&&o.unwrapTag(h)});const b=g.cloneNode(!0).querySelector('[em-edit="active"]');if(b){n.deleteContents(),n.insertNode(b);const h=document.createRange();h.selectNodeContents(b),t.removeAllRanges(),t.addRange(h),o.cleanEmptyTags(b.parentNode)}}o.commit()}typeof e.textSuperscript=="boolean"&&l("sup",e.textSuperscript),typeof e.textSubscript=="boolean"&&l("sub",e.textSubscript)}function af(e,o){if(e!==void 0){if(e===""){sf(o.activeElement);return}cf(e,o)}}function sf(e){const o=e?.closest("em-replace")||e?.querySelector("em-replace");if(!o)return;const t=o.parentNode,n=o.firstChild,r=o.lastChild;if(o.getAttribute("text")!==o.innerHTML)for(;o.firstChild;)t?.insertBefore(o.firstChild,o);const i=document.createRange(),l=window.getSelection();n&&r&&l&&(i.setStartBefore(n),i.setEndAfter(r),l.removeAllRanges(),l.addRange(i)),o.remove()}function cf(e,o){const t=window.getSelection();if(!t||t.rangeCount===0)return;const n=t.getRangeAt(0),r=e.replace(/~~.*$/,""),i=n.commonAncestorContainer,l=i.nodeType===1?i:i.parentElement;let s=l?.closest("em-replace");const c=/~~/.test(e)&&s;if(c){const d=e.replace(/~~.*$/,"");l?.setAttribute("text",d),l&&(l.innerHTML=d)}if(!s&&t.rangeCount>0&&!n.collapsed){const d=document.querySelectorAll("em-replace");if(s=Array.prototype.find.call(d,u=>u.textContent?.trim()===t.toString().trim()&&t.toString().trim()!==""),!s){const u=document.querySelector('[em-edit="active"]');u?.textContent===n.toString()&&n.selectNodeContents(u);const p=e.replace(/~~.*$/,""),m=document.createElement("em-replace");m.setAttribute("text",p),n.surroundContents(m)}}if(!s&&t.rangeCount>0&&n.collapsed){let d=document.querySelector("em-replace");if(d){const u=document.querySelectorAll("em-replace"),p=/~$/;s=Array.prototype.find.call(u,m=>{const f=e,g=m.textContent||"";return f.length===1&&p.test(g)?!0:o.compareStrings(g,f)}),s&&(s.setAttribute("text",e),s.textContent=e),s||(d=document.createElement("em-replace"),d.setAttribute("text",r),n.insertNode(d),d.innerHTML=r,n.collapse(!1))}else d=document.createElement("em-replace"),d.setAttribute("text",r),n.insertNode(d),d.innerHTML=r,n.collapse(!1)}s&&!c&&(s.getAttribute("text")===s.innerHTML&&(s.innerHTML=e),s.setAttribute("text",e))}function df(e){return e.trim().replace(/\s+/g,"_").replace(/[^\p{L}\p{N}\-_:.]/gu,"")}function ui(e){const o=e.commonAncestorContainer,t=(o.nodeType===Node.ELEMENT_NODE?o:o.parentElement)?.closest?.("a[name]");if(!t)return null;try{const n=document.createRange();return n.selectNodeContents(t),e.compareBoundaryPoints(Range.START_TO_START,n)>=0&&e.compareBoundaryPoints(Range.END_TO_END,n)<=0?t:null}catch{return null}}function mf(e,o){if(!e||!o)return;const t=document.createRange(),n=window.getSelection();if(n)try{if(!e.isConnected||!o.isConnected)return;t.setStartBefore(e),t.setEndAfter(o),n.removeAllRanges(),n.addRange(t)}catch{}}function uf(e){const o=e.parentNode;if(o){for(;e.firstChild;)o.insertBefore(e.firstChild,e);o.removeChild(e)}}function ff(e,o){const t=window.getSelection(),n=t?.rangeCount?t.getRangeAt(0):null;if(e===void 0||!e.trim()){let i=null;if(n&&!n.collapsed&&(i=ui(n)),i||(i=o.activeElement?.closest?.("a[name]")),i){const l=i.firstChild,s=i.lastChild;uf(i),o.commit(),mf(l,s)}return}const r=df(e);if(r&&!(!t||!n||n.collapsed))try{const i=ui(n);if(i){i.setAttribute("name",r),o.commit();return}const l=document.createElement("a");l.setAttribute("name",r);const s=n.extractContents();l.appendChild(s),n.insertNode(l);const c=document.createRange();c.selectNodeContents(l),t.removeAllRanges(),t.addRange(c),o.commit()}catch{}}function pf(e,o){let t=!1,{activeElement:n,activeCell:r}=o;if(n||(n=document.querySelector(".remove-basic-cell")||document.querySelector(".em-temporary-active-cell-background-color")||document.querySelector(".em-active-table-cell")),!n)return t;const i=Object.keys(e)[0],l=n.closest(".em-element-custom-table");if(!l)return t;let s=o.parseTableElementToModel(l);if(n.tagName==="TD"&&(n=n.querySelector("div"),n?.setAttribute("em-edit","active")),n?.tagName==="TR"&&(n=n.querySelector("EDITOR")?.querySelector("div"),n?.setAttribute("em-edit","active")),i.includes("padding")&&!i.includes("cell_")&&gf(e,l,s,o),e.backgroundColor&&bf(e.backgroundColor,l),i.includes("backgroundImage")&&hf(e,l),i.includes("backgroundPosition")){const c=o.updateBackgroundPosition(l.getAttribute("style"),{settings:e});l.setAttribute("style",c)}return i.includes("backgroundSize")&&(l.style.backgroundSize=e.backgroundSize),i.includes("backgroundRepeat")&&(l.style.backgroundRepeat=e.backgroundRepeat),(e.borderAll||e.borderTop||e.borderRight||e.borderBottom||e.borderLeft)&&yf(e,i,l,o),i.includes("borderRadius")&&Ef(e,l,o),i.includes("boxShadow")&&Sf(e,l,o),t=Cf(e,l,o)||t,i.includes("cell")&&vf(e,i,l,s,r,o),new Set(["fontFamily","fontSize","lineHeight","textStrong","textItalic","textStrikethrough","textUnderline","textLink","textColor","textBackgroundColor","linkHref","textAlign","valign"]).has(i)&&kf(e,i,l,s,r,n,o),_f(l,o),a.applyVMLBackgroundToggle(l,e,"around"),t}function gf(e,o,t,n){const r=n.updateTablePadding(t,{settings:e});o.innerHTML=n.tableModelToHtml(r)}function bf(e,o){o.getAttribute("data-bg-image")&&(o.removeAttribute("data-bg-image"),o.style.backgroundImage="",o.style.backgroundSize="",o.style.backgroundRepeat="",o.style.backgroundPosition=""),o.setAttribute("bgcolor",e)}function hf(e,o){if(o.getAttribute("bgcolor")&&o.removeAttribute("bgcolor"),e.backgroundImage?.[0]?.type==="url"){const t=e.backgroundImage[0].value;o.setAttribute("data-bg-image",t),o.style.backgroundImage=`url('${t}')`,o.style.backgroundSize="cover",o.style.backgroundRepeat="no-repeat",o.style.backgroundPosition="center"}}function yf(e,o,t,n){const r=o,i=e[r];let l="",s="";switch(r){case"borderAll":l="border",s=t.style.border;break;case"borderTop":l="border-top",s=t.style.borderTop;break;case"borderRight":l="border-right",s=t.style.borderRight;break;case"borderBottom":l="border-bottom",s=t.style.borderBottom;break;case"borderLeft":l="border-left",s=t.style.borderLeft;break;default:l="border",s=t.style.border}const c=t.getAttribute("border")||"",d=t.getAttribute("bordercolor")||"";let u=t.getAttribute("style")||"";const p=t.style.borderCollapse?`border-collapse: ${t.style.borderCollapse};`:"border-collapse: collapse;";if(["borderTop","borderRight","borderBottom","borderLeft"].includes(r)&&(t.style.border||c)){u=n.removeStyleProperty(u,"border");const f=t.style.border?t.style.border:`${c||"1"}px solid ${d||"#b9b1b1"}`;u=`border-top: ${f}; border-right: ${f}; border-bottom: ${f}; border-left: ${f}; ${u};`}let m=s?`${l}: ${s};`:`${l}: ${c||"1"}px solid ${d||"#b9b1b1"};`;t.removeAttribute("border"),t.removeAttribute("bordercolor"),t.removeAttribute("border-collapse"),u=n.removeStyleProperty(u,l),u=n.removeStyleProperty(u,"border-collapse"),l==="border"&&["border-top","border-right","border-bottom","border-left"].forEach(f=>{u=n.removeStyleProperty(u,f)}),["borderTop","borderRight","borderBottom","borderLeft"].includes(r)&&(u=n.removeStyleProperty(u,"border")),i?.style===""&&(m=""),i?.color&&m&&(m=m.replace(/(#([0-9A-Fa-f]{3}){1,2}\b)|(rgba?\([^)]*\))/g,i.color)),i?.width&&m&&(m=m.replace(/\b\d+(\.\d+)?px\b/g,`${i.width}px`)),i?.style&&m&&(m=m.replace(/solid|dashed|dotted/g,i.style)),m=`${m}${u?` ${u}`:""}`,t.setAttribute("style",m?`${p} ${m}`:"")}function Ef(e,o,t){const n=e.borderRadius,r=o.getAttribute("border")||"",i=o.getAttribute("bordercolor")||"";let l=o.getAttribute("style")||"";if(n?.all){const c=`border-radius: ${n.all}px ${n.all}px ${n.all}px ${n.all}px;`;if(l)l=t.removeStyleProperty(l,"border-radius"),l=t.removeStyleProperty(l,"border-collapse"),o.setAttribute("style",`${l}; border-collapse: separate; ${c}`);else{const d=`border-collapse: separate; border: ${r||"1"}px solid ${i||"#b9b1b1"}; ${c}`;o.setAttribute("style",d),o.removeAttribute("border"),o.removeAttribute("bordercolor")}}const s=["topLeft","topRight","bottomRight","bottomLeft"];s.forEach(c=>{if(n?.[c])if(l){const d=t.updateBorderRadius(o.getAttribute("style"),c,n[c]);o.setAttribute("style",d)}else{const d={topLeft:"0",topRight:"1",bottomRight:"2",bottomLeft:"3"},u=["0","0","0","0"];u[parseInt(d[c])]=`${n[c]}px`;const p=`border-radius: ${u.join(" ")};`,m=`border-collapse: separate; border: ${r||"1"}px solid ${i||"#b9b1b1"}; ${p}`;o.setAttribute("style",m)}}),(n?.all||s.some(c=>n?.[c]))&&(o.removeAttribute("border"),o.removeAttribute("bordercolor"))}function Sf(e,o,t){const n=e.boxShadow;if(!n)return;const r=o.getAttribute("border")||"",i=o.getAttribute("bordercolor")||"";let l=o.getAttribute("style")||"";const s=`box-shadow: ${n.color} ${n.hOffset}px ${n.vOffset}px ${n.blurRadius}px ${n.spreadRadius}px${n.inset?" inset":""};`;if(l)l=t.removeStyleProperty(l,"box-shadow"),l=t.removeStyleProperty(l,"border-collapse"),o.setAttribute("style",`${l}; border-collapse: separate;${n.color?` ${s}`:""}`);else{const c=`border-collapse: separate; border: ${r||"1"}px solid ${i||"#b9b1b1"}; ${s}`;o.setAttribute("style",c),o.removeAttribute("border"),o.removeAttribute("bordercolor")}}function Cf(e,o,t){let n=!1;if(e.mobileWidth&&(t.setElementMobileWidth({settings:e,elem:o}),o.removeAttribute("width"),n=!0),e.mobileHeight&&(t.setElementMobileHeight({settings:e,elem:o}),n=!0),e.show&&(t.setElementShow({settings:e,elem:o}),n=!0),e.mobileBackgroundColor&&(t.setElementMobileBackgroundColor({settings:e,elem:o}),n=!0),e.mobileBoxShadow){if(e.mobileBoxShadow.color!==""&&t.setElementMobileBoxShadow({settings:e,elem:o}),e.mobileBoxShadow.color===""){const r=o.getAttribute("class")||"",i=t.removeClassByPrefix(r,e.mobileBoxShadow.classNamePrefix);o.setAttribute("class",i)}n=!0}if(e.mobileBorder&&(o.removeAttribute("border"),o.removeAttribute("bordercolor"),t.setElementMobileBorder({settings:e,elem:o}),n=!0),e.mobileBorderRadius){if(o.getAttribute("border")&&o.getAttribute("bordercolor")){const i={mobileBorder:{all:{collor:o.getAttribute("bordercolor"),width:o.getAttribute("border"),style:"solid",classNamePrefix:"em-mob-border_all-"}}};t.setElementMobileBorder({settings:i,elem:o}),o.removeAttribute("border"),o.removeAttribute("bordercolor")}t.setElementMobileBorderRadius({settings:e,elem:o});const r=Object.keys(e.mobileBorderRadius).find(i=>i!=="classNamePrefix");if(r&&e.mobileBorderRadius[r]===0){const i=o.getAttribute("class")||"";o.setAttribute("class",t.removeClassByPrefix(i,e.mobileBorderRadius.classNamePrefix))}n=!0}return n}function vf(e,o,t,n,r,i){const l=[a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL];if(o.includes("cellBackgroundColor")){t.querySelector(".remove-basic-cell")&&(r=i.getCellsWithClasses(n,l),i.state.set("activeCell",r));const s=i.updateTableCellBackgroundByIds(n,r,e.cellBackgroundColor),c=i.addClassToCellsByIds(s,r,a.TEMPORARY_CELL_CLASS);t.innerHTML=i.tableModelToHtml(c)}if(e.cell_borderPosition){t.querySelector(".remove-basic-cell")&&(r=i.getCellsWithClasses(n,l),i.state.set("activeCell",r),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(c=>{c.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)})),n=i.parseTableElementToModel(t);const s=i.addClassToCellsByIds(n,r,a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR);t.innerHTML=i.tableModelToHtml(s)}(e.cell_borderAll||e.cell_borderTop||e.cell_borderRight||e.cell_borderBottom||e.cell_borderLeft)&&Af(e,t,n,r,i,l),o.includes("cell_borderRadiusAll")&&Tf(e,t,n,r,i,l),o.includes("cell_padding")&&Lf(e,t,n,r,i,l)}function Af(e,o,t,n,r,i){o.querySelector(".remove-basic-cell")&&(n=r.getCellsWithClasses(t,i),r.state.set("activeCell",n),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(c=>{c.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)}));const l=r.getExternalBorders(t,n),s=r.mergeUniCells(l);if(e.cell_borderAll){for(const c of Object.keys(s)){if(c.includes("-uni-"))continue;t=r.parseTableElementToModel(o);const d=[c],u=r.updateCellBordersByIds(t,d,s[c],e.cell_borderAll);let p=r.addClassToCellsByIds(u,d,a.TEMPORARY_CELL_CLASS);p=r.addClassToCellsByIds(p,d,a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR),o.innerHTML=r.tableModelToHtml(p)}(e.cell_borderAll.style===""||e.cell_borderAll.width===0||e.cell_borderAll.color==="")&&o.querySelectorAll(`.${a.TEMPORARY_CELL_CLASS}`).forEach(c=>{const d=c;d.style.removeProperty("border-top"),d.style.removeProperty("border-right"),d.style.removeProperty("border-bottom"),d.style.removeProperty("border-left")})}[{setting:"cell_borderTop",value:"top"},{setting:"cell_borderRight",value:"right"},{setting:"cell_borderBottom",value:"bottom"},{setting:"cell_borderLeft",value:"left"}].forEach(({setting:c,value:d})=>{if(e[c]){t=r.parseTableElementToModel(o);const u=Object.keys(s).filter(f=>s[f].includes(d)),p=r.updateCellBordersByIds(t,u,[d],e[c]),m=r.addClassToCellsByIds(p,n,a.TEMPORARY_CELL_CLASS);o.innerHTML=r.tableModelToHtml(m)}})}function Tf(e,o,t,n,r,i){o.querySelector(".remove-basic-cell")&&(n=r.getCellsWithClasses(t,i),r.state.set("activeCell",n),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(s=>{s.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)}));const l=r.getExternalCorners(t,n);for(const s of Object.keys(l)){if(s.includes("-uni-"))continue;t=r.parseTableElementToModel(o);const c=r.updateCellBorderRadiusByIds(t,s,l[s],e.cell_borderRadiusAll),d=r.addClassToCellsByIds(c,s,a.TEMPORARY_CELL_CLASS);o.innerHTML=r.tableModelToHtml(d)}}function Lf(e,o,t,n,r,i){o.querySelector(".remove-basic-cell")&&(n=r.getCellsWithClasses(t,i),r.state.set("activeCell",n),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(c=>{c.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)})),t=r.parseTableElementToModel(o);let l=r.addClassToCellsByIds(t,n,a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR);o.innerHTML=r.tableModelToHtml(l),[{key:"cell_paddingTop",sides:["top"]},{key:"cell_paddingBottom",sides:["bottom"]},{key:"cell_paddingLeft",sides:["left"]},{key:"cell_paddingRight",sides:["right"]},{key:"cell_paddingLeftRight",sides:["left","right"]},{key:"cell_paddingTopBottom",sides:["top","bottom"]}].forEach(({key:c,sides:d})=>{e[c]!==void 0&&(t=r.parseTableElementToModel(o),l=r.updateCellPaddingByIds(t,n,d,e[c]))}),e.cell_padding&&(t=r.parseTableElementToModel(o),l=r.updateCellPaddingByIds(t,n,["top"],e.cell_padding.top),l=r.updateCellPaddingByIds(l,n,["bottom"],e.cell_padding.bottom),l=r.updateCellPaddingByIds(l,n,["left"],e.cell_padding.left),l=r.updateCellPaddingByIds(l,n,["right"],e.cell_padding.right));const s=r.addClassToCellsByIds(l,n,a.TEMPORARY_CELL_CLASS);o.innerHTML=r.tableModelToHtml(s)}function wf(e,o){if(e.collapsed)return!1;const{startContainer:t,endContainer:n}=e;return!t.isConnected||!n.isConnected?!1:o.contains(t)&&o.contains(n)}function kf(e,o,t,n,r,i,l){const s=[a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL],c=window.getSelection();if(!c||c.rangeCount===0)return;const d=c.getRangeAt(0).cloneRange();if(t.querySelector(".remove-basic-cell")&&(r=l.getCellsWithClasses(n,s),l.state.set("activeCell",r),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(p=>{p.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)})),!r.length)return;if(r.length===1){const p=t.querySelector(`td.${a.CLASS_BACKGROUND_ACTIVE_CELL}, td.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}, td.${a.CLASS_FOR_BASIC_CELL}`),m=p?.querySelector(":scope > div")??p?.querySelector(":scope > editor > div");if(m){if(l.wrapEditor(m,!0),l.textStyleProperties.some(f=>Object.prototype.hasOwnProperty.call(e,f))){if(wf(d,m))l.addNewRange(d);else{const f=document.createRange();f.selectNodeContents(m),l.addNewRange(f)}try{l.toggleTextStyle(m,{settings:e})}catch{}}if(o==="linkHref"&&typeof e.linkHref=="string"){const f=m.tagName==="A"?m:m.querySelector("a");f&&f.setAttribute("href",e.linkHref)}o==="textAlign"&&(e.textAlign?m.setAttribute("align",e.textAlign):i?.style?.textAlign?i.style.removeProperty("text-align"):m.removeAttribute("align")),e.valign?m.closest("td")?.setAttribute("valign",e.valign):e.valign===""&&m.closest("td")?.removeAttribute("valign");return}}n=l.parseTableElementToModel(t);const u=l.addClassToCellsByIds(n,r,a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR);t.innerHTML=l.tableModelToHtml(u),t.querySelectorAll(`td.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR} > div`).forEach(p=>{l.wrapEditor(p,!0);const m=c.getRangeAt(0);if(m.selectNode(p),l.addNewRange(m),l.textStyleProperties.some(f=>Object.prototype.hasOwnProperty.call(e,f)))try{l.toggleTextStyle(p,{settings:e})}catch{}if(o==="linkHref"&&typeof e.linkHref=="string"){const f=p.tagName==="A"?p:p.querySelector("a");f&&f.setAttribute("href",e.linkHref)}o==="textAlign"&&(e.textAlign?p.setAttribute("align",e.textAlign):i?.style?.textAlign?i.style.removeProperty("text-align"):p.removeAttribute("align")),e.valign?p.closest("td")?.setAttribute("valign",e.valign):e.valign===""&&p.closest("td")?.removeAttribute("valign")})}function _f(e,o){document.querySelectorAll(`.${a.CLASS_FOR_BASIC_CELL}`).forEach(r=>{r.classList.remove(a.CLASS_FOR_BASIC_CELL)}),document.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(r=>{r.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)});let t=o.parseTableElementToModel(e);e.getAttribute("style")?.includes("border-collapse:")&&(t=o.removeOuterBorders(t)),e.getAttribute("class")?.includes("em-mob-border_")&&(t=o.removeOuterBorders(t)),t=o.simplifyBorders(t),e.innerHTML=o.tableModelToHtml(t);const n=e.querySelectorAll(`.${a.TEMPORARY_CELL_CLASS}`);n.length>0&&(n[0].setAttribute("em-edit",""),n.forEach(r=>{r.classList.remove(a.TEMPORARY_CELL_CLASS)})),o.commit()}function Nf(e,o){let t=!1;const{activeElement:n}=o;if(typeof e.linkHref=="string"&&Mf(e.linkHref,o),o.textStyleProperties.some(r=>e.hasOwnProperty(r)))try{o.toggleTextStyle(n,{settings:e})}catch{}if(e.mobileFontSize){const r=n.closest('[class*="em-mob-font_size"]')||n.closest('[style*="font-size"]');o.setElementMobileFontSize({settings:e,elem:r}),t=!0}if(e.mobileLineHeight){const r=n.closest('[class*="em-mob-line_height"]')||n.closest('[style*="line-height"]');o.setElementMobileLineHeight({settings:e,elem:r}),t=!0}return e.textAlign!==void 0&&Rf(e.textAlign,n),e.mobileTextAlign&&(Pf(e,n,o),t=!0),(typeof e.textSuperscript=="boolean"||typeof e.textSubscript=="boolean")&&o.handleTextScriptSettings(e,{unwrapNestedTags:o.unwrapNestedTags,wrapInTag:o.wrapInTag,unwrapTag:o.unwrapTag,isRangeMatching:o.isRangeMatching,splitWrapper:o.splitWrapper,cleanEmptyTags:o.cleanEmptyTags,applicationElementSettingsSet:o.applicationElementSettingsSet,commit:o.commit}),e.textAnchor!==void 0&&o.handleTextAnchor(e.textAnchor,{activeElement:n,commit:o.commit}),e.textReplacer!==void 0&&o.handleTextReplacer(e.textReplacer,{activeElement:n,compareStrings:o.compareStrings}),(e.hasOwnProperty("listUL")||e.hasOwnProperty("listOL"))&&Bf(e,n),o.isElementList&&Hf(e,o),t}function Bf(e,o){const t=a.STANDARD_LIST_CONTAINER_TAGS.includes(o.tagName)?o:o.closest(a.STANDARD_LIST_CONTAINER_SELECTOR);if(!t)return;const n=e.listOL!==void 0;(n?e.listOL:e.listUL)?Vi(t,n):Yi(t)}function Mf(e,o){let t=document.querySelector("[em-edit]");if(!t)return;let n=t.tagName==="A"?t:t.closest("a"),r=t.closest(".alignment")||t.closest(".button_block")||t.closest("td");if(r||(r=t.closest("div, p, td, h1, h2, h3, h4, h5, h6, li, ul, ol, a, sup, sub"),r||(r=document.querySelector("td")?.closest("div, p, td")||null)),!n&&r&&(n=r.querySelector("a")),n&&(n.setAttribute("href",e),At(e)&&n.removeAttribute("target")),r){const i=o.collectVMLContent(r);if(i){const l=document.createElement("div");l.innerHTML=i;const s=l.querySelector("v\\:roundrect"),c=l.querySelector("a");(s||c)&&(s&&s.setAttribute("href",e),c&&c.setAttribute("href",e),o.updateVMLComments(r,l.innerHTML))}}}function Rf(e,o){const t=vt(o);t&&(e?t.style.textAlign?t.style.textAlign=e:t.setAttribute("align",e):t.style.textAlign?t.style.removeProperty("text-align"):t.removeAttribute("align"))}function Pf(e,o,t){const n=vt(o);if(!n)return;const r=e.mobileTextAlign?.classNamePrefix||"em-mob-text_align-";Ji(o,n,r),t.setElementMobileAlign({settings:e,elem:n,fieldName:"mobileTextAlign"})}function Hf(e,o){const{activeElement:t,classNameOl:n,classNameUl:r}=o,i=t.closest(`table.${n}`)||t.closest(`table.${r}`);if(!i)return;const l=i.outerHTML,s=o.removeEditorTags(l);e.SpacingBetweenParagraphs&&(i.innerHTML=o.updateTableStyle(s,"padding-bottom",e.SpacingBetweenParagraphs)),e.SpacingBetweenBulletsAndText&&(i.innerHTML=o.updateTableStyle(s,"padding-left",e.SpacingBetweenBulletsAndText)),e.BulletType&&(i.innerHTML=o.changeBullets(s,e.BulletType)),e.ColorBullets&&(i.innerHTML=o.changeBulletsColor(s,e.ColorBullets)),e.BulletsSize&&(i.innerHTML=o.changeBulletsSize(s,e.BulletsSize)),e.hasOwnProperty("BulletTextItalic")&&(i.innerHTML=o.changeBulletsItalic(s,e.BulletTextItalic)),e.hasOwnProperty("BulletTextStrong")&&(i.innerHTML=o.changeBulletsWeight(s,e.BulletTextStrong)),e.hasOwnProperty("BulletTextStrikethrough")&&(i.innerHTML=o.changeBulletsStrikethrough(s,e.BulletTextStrikethrough)),e.hasOwnProperty("BulletTextUnderline")&&(i.innerHTML=o.changeBulletsUnderline(s,e.BulletTextUnderline)),e.hasOwnProperty("BulletsFontFamily")&&o.isElementListOL&&(i.innerHTML=If(e.BulletsFontFamily,s,o));let c=o.findElementWithSelectedText(t.textContent||"",i);c===null&&(c=i),c.hasAttribute("em-edit")||c.setAttribute("em-edit","active"),o.commit()}function If(e,o,t){const n=document.createElement("div");n.innerHTML=o;const r=n.querySelector("table.em-element-list-ol");return r?(r.querySelectorAll("tr").forEach(i=>{const l=i.querySelector("td:first-child > div");l&&(e?e[0]==="Safe Fonts"?(l.style.fontFamily=e[1],t.removeClassesByPrefix(l,"em-font"),t.clearLinkTags({elem:document.head})):e[0]==="Google Fonts"&&(e[1]==="Sans Serif"?l.style.fontFamily="Helvetica, Arial, sans-serif":e[1]==="Serif"?l.style.fontFamily='"Times New Roman", Times, serif':e[1]==="Project Fonts"&&a.applyProjectFontInlineFallback(l,e[2]),t.removeClassesByPrefix(l,"em-font"),l.classList.add(t.createFontClassName(e)),a.markProjectFontClass(l,e),t.addFontFamilyClass({fontFamilyArray:e})):l.style.removeProperty("font-family"))}),n.innerHTML):o}function Of(e,o){let t=!1;const{activeElement:n}=o;if(e.link!==void 0){const r=o.getActiveEditElement();if(!r)return t;if(e.link!==""){const i=r.closest("a");if(i)i.setAttribute("href",e.link);else{const l=document.createElement("a");l.setAttribute("href",e.link),l.setAttribute("target","_blank"),r.parentNode?.insertBefore(l,r),l.appendChild(r),o.setCursorPosition(l)}}else{const i=r.closest("a");i&&(i.replaceWith(...i.childNodes),o.setCursorPosition(r))}}if(e.src!==void 0&&a.isSrcElement(n)&&a.setRenderedAttribute(n,"src",e.src??""),e.src!==void 0&&Dn(),e.alt!==void 0&&n.setAttribute("alt",e.alt),e.title?n.setAttribute("title",e.title):e.title===""&&n.removeAttribute("title"),e.border&&o.setElementBorder({settings:e,elem:n}),e.boxShadow&&o.setElementBoxShadow({settings:e,elem:n}),e.align&&e.align!=="undefined"?n.closest("div, p, td")?.setAttribute("align",e.align):e.align===""&&n.closest("div, p, td")?.removeAttribute("align"),e.valign?n.style.verticalAlign=e.valign:e.valign===""&&n.style.removeProperty("vertical-align"),e.width&&(e.width.value!==void 0&&e.width.value!==null?(n.setAttribute("width",e.width.value+(e.width.dim==="px"?"":"%")),n.style.width="100%",n.style.maxWidth=e.width.value+e.width.dim):(n.setAttribute("width","0"),n.style.width="100%",n.style.maxWidth="0")),e.height&&(e.height.value!==void 0&&e.height.value!==null?(n.setAttribute("height",e.height.value+(e.height.dim==="px"?"":"%")),n.style.height=e.height.value+e.height.dim):(n.removeAttribute("height"),n.style.removeProperty("height"))),e.borderRadius&&o.setElementBorderRadius({settings:e,elem:n}),e.mobileWidth&&(o.setElementMobileWidth({settings:e,elem:n}),t=!0),e.mobileHeight&&(o.setElementMobileHeight({settings:e,elem:n}),t=!0),e.mobileBorder&&(o.setElementMobileBorder({settings:e,elem:n}),t=!0),e.mobileBorderRadius&&(o.setElementMobileBorderRadius({settings:e,elem:n}),t=!0),e.mobileBoxShadow&&(o.setElementMobileBoxShadow({settings:e,elem:n}),t=!0),e.mobileAlign){const r=n.closest("div, p, td");r&&o.setElementMobileAlign({settings:e,elem:r}),t=!0,e.mobileAlign.value?n.style.display="inline-block":n.style.display="block"}if(e.mobileVerticalAlign&&(o.setElementMobileVerticalAlign({settings:e,elem:n}),t=!0),e.show&&(o.setElementShow({settings:e,elem:n}),t=!0),e.countdown){const r=new Image;r.onload=function(){n.setAttribute("width",String(Math.round(this.width/2))),n.style.maxWidth=Math.round(this.width/2)+"px"};const i=e.countdown?.link??"";r.src=i,a.setRenderedAttribute(n,"src",i),n.setAttribute("em-cd-settings",e.countdown.params)}if(e.video&&n.setAttribute("em-video-settings",JSON.stringify(e.video)),e.imgReplacer){const r=e.imgReplacer??"",i=n.closest("em-replace");if(i)a.setRenderedAttribute(i,"src",r);else{const l=document.createElement("em-replace");a.setRenderedAttribute(l,"src",r),n.parentNode?.insertBefore(l,n),l.appendChild(n)}}else if(e.imgReplacer===""){const r=n.closest("em-replace");r&&(r.parentNode?.insertBefore(n,r),r.remove())}return t}function xf(e,o){const{activeElement:t,textStyleProperties:n,toggleTextStyle:r}=o;if(e.href!==void 0&&(t.setAttribute("href",e.href),At(e.href)&&t.removeAttribute("target")),e.target&&!(e.href&&At(e.href))&&t.setAttribute("target",e.target),n.some(i=>e.hasOwnProperty(i)))try{r(t,{settings:e})}catch{}}function Df(e,o){const{activeElement:t,setElementMobileHeight:n}=o;let r=!1;if(e.height)if(t.tagName==="DIV"){const i=e.height.value+e.height.dim;t.style.height=i,t.style.lineHeight=i,t.style.fontSize=e.height.value>10?parseInt(e.height.value)-2+e.height.dim:"8px"}else t.tagName==="TD"&&t.setAttribute("height",String(e.height.value));return e.mobileHeight&&(n({settings:e,elem:t}),r=!0),r}function Ff(e,o){const{activeElement:t,isVariableText:n}=o,r=t.nextSibling?.nodeType===8?t.nextSibling:null;if(!r||!e.value)return;let i=e.value;i.startsWith("<!--")&&(i=i.substring(4)),i.endsWith("-->")&&(i=i.substring(0,i.length-3)),n(`<!--${i}-->`)?r.nodeValue=i:r.replaceWith(i)}function qf(e,o){const{elem:t,message:n,activateSection:r}=e;if(t.closest("table")?.parentElement?.tagName!=="BODY"){n.settings.parent=o.getElementParentCaption(t);let s=t;if(t.tagName==="IMG"){const c=t.closest('div[em="atom"]'),d=t.closest(".em-element-resize-img-container");s=c||d}else t.closest("editor")?s=t.parentElement:t.tagName==="TD"&&t.classList.contains("em-vindent")?s=t.closest(".em-vindent-table"):t.tagName==="TD"&&t.parentElement?.getAttribute("em")==="block"&&(s=t.parentElement);n.settings.nextElem=!!s?.nextElementSibling&&(!s.nextElementSibling.getAttribute("contenteditable")||s.nextElementSibling.getAttribute("contenteditable")!=="false"),n.settings.prevElem=!!s?.previousElementSibling&&(!s.previousElementSibling.getAttribute("contenteditable")||s.previousElementSibling.getAttribute("contenteditable")!=="false")}else n.settings.parent=void 0;(t.closest('div[style*="inline-block"]')||t.closest(".em-mob-wrap, .noresp-em-mob-wrap"))&&(n.settings.floatBlocks=o.getStructureColumns({elem:t})),r&&(n.settings.activateSection=r),t.classList.contains("em-mob-wrap")||t.classList.contains("noresp-em-mob-wrap")||t.parentElement?.hasAttribute("em")&&t.parentElement.getAttribute("em")==="group"&&document.querySelectorAll('[em="group"]').length===1?n.settings.deletable=!1:n.settings.deletable=!0,n.settings.usedColors=o.getUsedColors(),n.settings.path=o.getElementPath(t);const i=o.getCurrentElementPath();n.type==="button"&&(n.settings.commonStyles=o.commonStyles);const l=t?.classList;return o.ampService.hasAmp&&l&&(l.contains("em-amp-show-only")?n.settings.ampShow="amp":l.contains("em-amp-show-disabled")?n.settings.ampShow="html":n.settings.ampShow="all"),n.settings=o.mapObj.unescape(n.settings),{message:n,elementPath:i}}function Wf(e,o,t,n){let r=!1,i=!1;if(o.shouldResetProgrammaticSelection&&(i=!0,!o.settings||Object.keys(o.settings).length===0))return r=!0,{shouldReturn:r,isProgrammaticSelectionReset:i};if(o.removeEmEdit){if(n.removeAllAttributes("em-edit"),o.setEmEditOnTd){for(const l of e.querySelectorAll("[contenteditable]"))l.removeAttribute("contenteditable");e.querySelector("td")?.setAttribute("em-edit","active")}if(o.editTargetTd){const l=e.closest("table")?.closest("td");if(l)for(const s of l.querySelectorAll("[contenteditable]"))s.removeAttribute("contenteditable");o.editTargetTd.setAttribute("em-edit","active")}}return o.isNewLink&&(e.removeAttribute("new"),t.settings.isNewLink=!0,e.setAttribute("em-edit","active")),{shouldReturn:r,isProgrammaticSelectionReset:i}}function $f(e,o,t,n){if(!document.body.classList.contains("mceNonEditable")&&!(!o&&t)){if(n.removeAllAttributes("em-edit"),e.tagName!=="TABLE"){a.resolveActiveElement(e).setAttribute("em-edit","active");const r=e.closest("table");if(r){for(const s of r.querySelectorAll('[contenteditable="true"]'))s.tagName!=="EDITOR"&&s.removeAttribute("contenteditable");const i=r.querySelector("editor"),l=i?.firstChild;i?.childNodes.length===1&&l?.nodeType===1&&l?.tagName==="A"&&l?.childNodes.length===1&&l?.firstChild?.nodeType===3?l.setAttribute("contenteditable","true"):i?.setAttribute("contenteditable","true")}}[...e.parentElement?.querySelectorAll("strike, s")||[]].forEach(r=>r.style.textDecoration="line-through"),[...e.parentElement?.getElementsByTagName("u")||[]].forEach(r=>r.style.textDecoration="underline")}}function zf(e,o){const t=o.getSelectedText(),n=window.getSelection(),r=o.getRangeFromSelection(n);let i=null,l=null,s=null;function c(d){let u=d;u.nodeType===Node.TEXT_NODE&&(u=u.parentNode);const p=u?.closest("em-replace");return e?p?.textContent||null:p?.getAttribute("text")||null}return r&&(t?(l=c(r.startContainer),s=c(r.endContainer),l?.length&&s?.length&&l!==s&&(l=s=null)):i=c(r.commonAncestorContainer)),t?l||s:i}function Vf(e,o){let t=o.getVariableByIcon(e)||!o.htmlDocument.getMappedParent(e)?e:o.htmlDocument.getVisibleNode(e);if(t.closest("a")&&o.findOutermostParentWithText(t,"a")&&t.tagName!=="IMG"&&t.tagName!=="AMP-IMG"&&(t=o.findOutermostParentWithText(t,"a")),t?.closest(".em-vindent")){const n=t.closest('div[style*="height"][style*="line-height"]');n?t=n:t=t.closest("td")}return t.tagName==="DIV"&&t.closest("amp-accordion")&&setTimeout(()=>{o.sendResizeEvent()},350),(t?.closest(".em-element-resize-img")||t?.closest(".em-element-img-change-group")||t?.closest(".em-element-resize-img-container"))&&(t=t.closest(".em-element-resize-img-container").querySelector("img")),(t.tagName==="TD"&&t.classList.contains("em-mob-wrap")&&(t.cellIndex+1)%2===0||t.closest(".em-gap"))&&(t=t.closest('[em="block"] > td')),t}function Uf(e,o){const{elem:t,isCellCustomTable:n,listContext:r,requestElemBullet:i,variableElement:l}=e,{isListOL:s,isListUL:c,isList:d}=r;return{Locale:o.Locale,isProgrammaticSelection:o.isProgrammaticSelection,isCellCustomTable:n,extractorContext:{variableElement:l,requestElemBullet:i,isElementListOL:s,isElementListUL:c,isElementList:d},customTableContext:{getElementTdDiv:o.getElementTdDiv,parseTableElementToModel:o.parseTableElementToModel,extractBorderRadius:o.extractBorderRadius,parseBackgroundStyles:o.parseBackgroundStyles,getFontFamilyFromElement:o.getFontFamilyFromElement,textHasStyle:o.textHasStyle,isElementHasBold:o.isElementHasBold,getLineHeghtInPixels:o.getLineHeghtInPixels,activeCell:o.activeCell,CLASS_FOR_BASIC_CELL:o.CLASS_FOR_BASIC_CELL,requestElemWithStyle:o.requestElemWithStyle},elementContext:{getElementTdDiv:o.getElementTdDiv,getLineHeghtInPixels:o.getLineHeghtInPixels},linkTextContext:{variableElement:l,requestElemBullet:i,isElementListOL:s,isElementListUL:c,isElementList:d,findElementWithSelectedText:o.findElementWithSelectedText,selectedText:o.getSelectedText()},_isCarouselElement:o._isCarouselElement,_isAccordionElement:o._isAccordionElement,_isSocialBlockElement:o._isSocialBlockElement,_isImageElement:o._isImageElement,_isLinkElement:o._isLinkElement,_isButtonElement:o._isButtonElement,_isTableElement:o._isTableElement,_isCustomTableElement:o._isCustomTableElement,_isAtomElement:o._isAtomElement,_isTdColumnGroup:o._isTdColumnGroup,_isTdStructure:o._isTdStructure,_isEmptyTd:o._isEmptyTd,_isTdCell:o._isTdCell,_isVindentTd:o._isVindentTd,_isVindentDiv:o._isVindentDiv,_isFloatBlockElement:o._isFloatBlockElement,_isDivTextElement:o._isDivTextElement,_isInlineButtonElement:o._isInlineButtonElement,_extractTextSettings:o._extractTextSettings,_extractCarouselSettings:o._extractCarouselSettings,_extractAccordionSettings:o._extractAccordionSettings,_extractSocialSettings:o._extractSocialSettings,_extractImgSettings:o._extractImgSettings,_extractButtonSettings:o._extractButtonSettings,_extractLinkTextSettings:o._extractLinkTextSettings,_extractTableSettings:o._extractTableSettings,_extractCustomTableSettings:o._extractCustomTableSettings,_extractAtomElementSettings:o._extractAtomElementSettings,_extractProgrammaticElementSettings:o._extractProgrammaticElementSettings,_extractTdColumnGroupSettings:o._extractTdColumnGroupSettings,_extractTdStructureSettings:o._extractTdStructureSettings,_extractTdCellSettings:o._extractTdCellSettings,_extractVindentSettings:o._extractVindentSettings,_extractFloatBlockSettings:o._extractFloatBlockSettings,_extractDivContainerSettings:o._extractDivContainerSettings,_clearActiveEditElements:o._clearActiveEditElements,HTMLDocument:o.HTMLDocument,parseFromString:o.parseFromString,getParentElementOfSelection:o.getParentElementOfSelection}}function jf(e){return["EM-REPLACE","EDITOR","B","STRONG","U","S","STRIKE","SPAN","FONT","I","EM","P","A","H1","H2","H3","H4","H5","H6","SUP","SUB"].includes(e)}function Gf(e,o,t){const{Locale:n,isProgrammaticSelection:r,isCellCustomTable:i}=t;if(!o&&!e.closest("a")&&!r&&!i){let l=e;e.querySelector("editor")&&(l=t.getParentElementOfSelection());const s=t._extractTextSettings({elem:l},n,t.extractorContext);return{type:s.type,caption:s.caption,settings:s}}if(t._isCarouselElement(e)){const l=t._extractCarouselSettings({elem:e},n,{clearActiveEditElements:t._clearActiveEditElements});return{type:l.type,caption:l.caption,settings:l}}if(t._isAccordionElement(e)){const l=t._extractAccordionSettings({elem:e},n,{clearActiveEditElements:t._clearActiveEditElements,HTMLDocument:t.HTMLDocument,parseFromString:t.parseFromString});return{type:l.type,caption:l.caption,settings:l}}if(t._isSocialBlockElement(e)){const l=t._extractSocialSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(t._isImageElement(e)){const l=t._extractImgSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(t._isLinkElement(e,i)){if(t._isButtonElement(e)){const c=t._extractButtonSettings({elem:e},n),d={type:c.type,caption:c.caption,settings:c};return e.getAttribute("new")&&(d.isNewLink=!0),d}const l=t._extractLinkTextSettings({elem:e},n,t.linkTextContext),s={type:l.type,caption:l.caption,settings:l};return e.getAttribute("new")&&(s.isNewLink=!0),s}if(t._isTableElement(e)){const l=t._extractTableSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l.type!=="emptyTable"?l:{}}}if(e.tagName==="LI"&&Xt(e)){const l=t._extractTextSettings({elem:e},n,t.extractorContext);return{type:l.type,caption:l.caption,settings:l}}if(t._isCustomTableElement(e)){const l=t._extractCustomTableSettings({elem:e},n,t.customTableContext);return{type:l.type,caption:l.caption,settings:l.settings}}if(t._isAtomElement(e)){const l=t._extractAtomElementSettings({elem:e},n,t.elementContext);return{type:l.type,caption:l.caption,settings:l,removeEmEdit:!0,setEmEditOnTd:!0}}if(r){const l=t._extractProgrammaticElementSettings({elem:e},n,t.elementContext);return l.settings?{type:l.settings.type,caption:l.settings.caption,settings:l.settings,removeEmEdit:!0,editTargetTd:l.editTargetTd,shouldResetProgrammaticSelection:l.shouldResetProgrammaticSelection}:{type:null,settings:{},shouldResetProgrammaticSelection:!0}}if(t._isTdColumnGroup(e)){const l=t._extractTdColumnGroupSettings({elem:e},n,{getElementTdDiv:t.elementContext.getElementTdDiv});return{type:l.type,caption:l.caption,settings:l.settings}}if(t._isTdStructure(e)){const l=t._extractTdStructureSettings({elem:e},n,{getElementTdDiv:t.elementContext.getElementTdDiv});return{type:l.type,caption:l.caption,settings:l.settings}}if(t._isEmptyTd(e))return{type:"emptyTd",settings:{}};if(t._isTdCell(e)){const l=t._extractTdCellSettings({elem:e},n,{getElementTdDiv:t.elementContext.getElementTdDiv});return{type:l.type,caption:l.caption,settings:l.settings}}if(t._isVindentTd(e)){const l=t._extractVindentSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(t._isVindentDiv(e)){const l=t._extractVindentSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(t._isFloatBlockElement(e)){const l=t._extractFloatBlockSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(t._isDivTextElement(e)){const l=t._extractTextSettings({elem:e},n,t.extractorContext);return{type:l.type,caption:l.caption,settings:l}}if(e.tagName==="DIV"||e.tagName==="TD"&&e.firstChild?.tagName==="EDITOR"){const l=t._extractDivContainerSettings({elem:e},n,{getElementTdDiv:t.elementContext.getElementTdDiv});return{type:l.type,caption:l.caption,settings:l}}if(jf(e.tagName)&&(e.tagName!=="EM-REPLACE"||!e.closest("a"))){if(t._isInlineButtonElement(e)){const l=t._extractButtonSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(!r){const l=t._extractTextSettings({elem:e},n,t.extractorContext);return{type:l.type,caption:l.caption,settings:l}}}return{type:null,settings:{}}}function dn(e,o){o[1]==="Sans Serif"?e.style.fontFamily="Helvetica, Arial, sans-serif":o[1]==="Serif"?e.style.fontFamily='"Times New Roman", Times, serif':o[1]==="Project Fonts"&&a.applyProjectFontInlineFallback(e,o[2])}function Yf(e,o){const t=e?.toLowerCase();return t==="#ffffff"&&t!==o?.toLowerCase()}function Kf(e,o){const{lockEditor:t,commonStyles:n,globalHolder:r}=o;if(t)return;const i=document.querySelectorAll('div[style*="font-family"]');Xf(e,i,o),Zf(e,i,o),Qf(e,o),ep(e,o),rp(e,o),ip(e,o);const l={operation:"application_commonStyles_update",settings:{commonStyles:n}};o.messageService.send(l)}function Xf(e,o,t){const{commonStyles:n,rgbToHex:r}=t;if(e.textFontFamily!==void 0){let i=[];o.forEach(l=>{const s=l;let c;!s.style.display&&parseFloat(s.style.fontSize)<=20&&(i=e.textFontFamily,i[0]==="Safe Fonts"?(s.style.fontFamily=i[1],(c=[...s.classList].filter(d=>d.startsWith("em-font-"))[0])&&(s.classList.remove(c),n.text.fontFamily?.[2]&&t.clearLinkTags({elem:document.head,fontFamilyClassName:a.buildEmFontClassName(n.text.fontFamily[2],n.text.fontFamily[3])}),t.clearProjectFontFaces())):i[0]==="Google Fonts"&&(dn(s,i),t.removeClassesByPrefix(s,"em-font"),s.classList.add(t.createFontClassName(i)),a.markProjectFontClass(s,i)))}),i.length>0&&i[0]==="Google Fonts"&&t.addFontFamilyClass({fontFamilyArray:i}),t.clearProjectFontFaces(),n.text.fontFamily=e.textFontFamily}e.textFontSize!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)<=20&&parseFloat(l.style.fontSize)>14&&(l.style.fontSize=e.textFontSize+"px")}),n.text.fontSize=e.textFontSize),e.textLineHeight!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)<=20&&parseFloat(l.style.fontSize)>14&&(l.style.lineHeight=e.textLineHeight+"px")}),n.text.lineHeight=e.textLineHeight),e.textColor!==void 0&&(o.forEach(i=>{const l=i;!l.closest(".em-contrast-block")&&!l.style.display&&parseFloat(l.style.fontSize)<=20&&!Yf(r(l.style.color),r(n.text.color))&&(l.style.color=e.textColor)}),n.text.color=e.textColor),e.textContrastColor!==void 0&&(o.forEach(i=>{const l=i;l.closest(".em-contrast-block")&&!l.style.display&&parseFloat(l.style.fontSize)<=20&&(l.style.color=e.textContrastColor)}),n.text.contrastColor=e.textContrastColor),e.textPaddingBottom!==void 0&&(o.forEach(i=>{const l=i;if(l.closest('[em="atom"]')){if(!l.style.display&&parseFloat(l.style.fontSize)<=20&&l.closest("table")?.getAttribute("em")=="atom"){const s=l.closest('[em="atom"]')?.querySelector(":scope > tr > td, :scope > tbody > tr > td");s&&(s.style.paddingBottom=e.textPaddingBottom+"px",s.querySelector(":scope > .em-vindent-paddingBottom")?.remove())}}else if(l.nextElementSibling){const s=l.nextElementSibling;if(!l.style.display&&parseFloat(l.style.fontSize)<=20&&l.parentElement?.getAttribute("em")=="atom"&&s&&s.tagName=="TABLE"&&(s.classList.contains("em-vindent-table")||s.querySelector("td")?.innerHTML=="")){s.querySelector("td")?.setAttribute("height",e.textPaddingBottom);const c=s.querySelector(".em-element-vindent-value");c&&(c.innerHTML=e.textPaddingBottom+"px",e.textPaddingBottom<30?s.querySelector(".em-vindent")?.classList.add("em-vindent_low"):s.querySelector(".em-vindent")?.classList.remove("em-vindent_low"))}}}),n.text.paddingBottom=e.textPaddingBottom)}function Zf(e,o,t){const{commonStyles:n,rgbToHex:r}=t;if(e.headingFontFamily!==void 0){let i=[];o.forEach(l=>{const s=l;let c;!s.style.display&&parseFloat(s.style.fontSize)>20&&r(s.style.color).toLowerCase()!=="#eb3737"&&(i=e.headingFontFamily,i[0]==="Safe Fonts"?(s.style.fontFamily=i[1],(c=[...s.classList].filter(d=>d.startsWith("em-font-"))[0])&&(s.classList.remove(c),n.headings.fontFamily?.[2]&&t.clearLinkTags({elem:document.head,fontFamilyClassName:a.buildEmFontClassName(n.headings.fontFamily[2],n.headings.fontFamily[3])}),t.clearProjectFontFaces())):i[0]==="Google Fonts"&&(dn(s,i),t.removeClassesByPrefix(s,"em-font"),s.classList.add(t.createFontClassName(i)),a.markProjectFontClass(s,i)))}),i.length>0&&i[0]==="Google Fonts"&&t.addFontFamilyClass({fontFamilyArray:i}),t.clearProjectFontFaces(),n.headings.fontFamily=e.headingFontFamily}e.headingFontSize!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)>=20&&r(l.style.color).toLowerCase()!=="#eb3737"&&parseFloat(l.style.fontSize)<=40&&(l.style.fontSize=e.headingFontSize+"px")}),n.headings.fontSize=e.headingFontSize),e.headingLineHeight!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&parseFloat(l.style.fontSize)<=40&&(l.style.lineHeight=e.headingLineHeight+"px")}),n.headings.lineHeight=e.headingLineHeight),e.headingLetterSpacing!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&(e.headingLetterSpacing>0?l.style.letterSpacing=e.headingLetterSpacing+"px":l.style.removeProperty("letter-spacing"))}),n.headings.letterSpacing=e.headingLetterSpacing),e.headingBold!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&(e.headingBold?l.querySelector("b")?l.querySelector("b").replaceWith(...l.querySelector("b").childNodes):l.querySelector("strong")||(l.innerHTML="<strong>"+l.innerHTML+"</strong>"):l.querySelector("strong")?l.querySelector("strong").replaceWith(...l.querySelector("strong").childNodes):l.querySelector("b")&&l.querySelector("b").replaceWith(...l.querySelector("b").childNodes),l.style.fontWeight&&l.style.removeProperty("font-weight"))}),n.headings.bold=e.headingBold),e.headingItalic!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&(e.headingItalic?l.querySelector("i")?l.querySelector("i").replaceWith(...l.querySelector("i").childNodes):l.querySelector("em")||(l.innerHTML="<em>"+l.innerHTML+"</em>"):l.querySelector("em")?l.querySelector("em").replaceWith(...l.querySelector("em").childNodes):l.querySelector("i")&&l.querySelector("i").replaceWith(...l.querySelector("i").childNodes),l.style.fontStyle&&l.style.removeProperty("font-style"))}),n.headings.italic=e.headingItalic),e.headingColor!==void 0&&(o.forEach(i=>{const l=i;!l.closest(".em-contrast-block")&&!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&(l.style.color=e.headingColor)}),n.headings.color=e.headingColor),e.headingContrastColor!==void 0&&(o.forEach(i=>{const l=i;l.closest(".em-contrast-block")&&!l.style.display&&parseFloat(l.style.fontSize)>20&&(l.style.color=e.headingContrastColor)}),n.headings.contrastColor=e.headingContrastColor),Jf(e,o,t),e.blockDarkBackgroundColor!==void 0&&(n.block.darkBackgroundColor=e.blockDarkBackgroundColor)}function Jf(e,o,t){const{commonStyles:n,rgbToHex:r}=t;e.headingPaddingTop!==void 0&&(o.forEach(i=>{const l=i;if(l.closest('[em="atom"]')){if(!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&l.closest("table")?.getAttribute("em")=="atom"){const s=l.closest('[em="atom"]')?.querySelector(":scope > tr > td, :scope > tbody > tr > td");s&&(s.style.paddingTop=e.headingPaddingTop+"px",s.querySelector(":scope > .em-vindent-paddingTop")?.remove())}}else if(l.previousElementSibling){const s=l.previousElementSibling;if(!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&l.parentElement?.getAttribute("em")=="atom"&&s&&s.tagName=="TABLE"&&(s.classList.contains("em-vindent-table")||s.querySelector("td")?.innerHTML=="")){s.querySelector("td")?.setAttribute("height",e.headingPaddingTop);const c=s.querySelector(".em-element-vindent-value");c&&(c.innerHTML=e.headingPaddingTop+"px",e.headingPaddingTop<30?s.querySelector(".em-vindent")?.classList.add("em-vindent_low"):s.querySelector(".em-vindent")?.classList.remove("em-vindent_low"))}}}),n.headings.paddingTop=e.headingPaddingTop),e.headingPaddingBottom!==void 0&&(document.querySelectorAll('div[style*="font-family"]').forEach(i=>{const l=i,s=l.closest('[em="atom"]');if(s){const c=s.querySelector(":scope > tr > td, :scope > tbody > tr > td");c?.style.paddingBottom&&!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&l.closest("table")?.getAttribute("em")=="atom"&&(c.style.paddingBottom=e.headingPaddingBottom+"px",c.querySelector(":scope > .em-vindent-paddingBottom")?.remove())}else if(l.nextElementSibling){const c=l.nextElementSibling;if(!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&l.parentElement?.getAttribute("em")=="atom"&&c&&c.tagName=="TABLE"&&(c.classList.contains("em-vindent-table")||c.querySelector("td")?.innerHTML=="")){c.querySelector("td")?.setAttribute("height",e.headingPaddingBottom);const d=c.querySelector(".em-element-vindent-value");d&&(d.innerHTML=e.headingPaddingBottom+"px",e.headingPaddingBottom<30?c.querySelector(".em-vindent")?.classList.add("em-vindent_low"):c.querySelector(".em-vindent")?.classList.remove("em-vindent_low"))}}}),n.headings.paddingBottom=e.headingPaddingBottom)}function Qf(e,o){const{commonStyles:t}=o,n=document.querySelectorAll('a[style*="color"]');e.linkColor!==void 0&&(n.forEach(r=>{const i=r;!i.closest(".em-contrast-block")&&!i.style.display&&(i.style.color=e.linkColor)}),t.links.color=e.linkColor),e.linkContrastColor!==void 0&&(n.forEach(r=>{const i=r;i.closest(".em-contrast-block")&&!i.style.display&&(i.style.color=e.linkContrastColor)}),t.links.contrastColor=e.linkContrastColor),e.linkUnderline!==void 0&&(n.forEach(r=>{const i=r;if(!i.style.display){i.style.textDecoration=e.linkUnderline?"underline":"none";const l=i.parentElement;l&&l.tagName=="SPAN"&&l.style.textDecoration=="underline"&&l.replaceWith(...l.childNodes)}}),t.links.underline=e.linkUnderline)}function ep(e,o){const{commonStyles:t}=o,n=document.querySelectorAll('a[style*="font-family"]');if(e.buttonsFontFamily!==void 0){let r=[];n.forEach(i=>{const l=i;let s;l.style.display&&l.style.display=="block"&&(r=e.buttonsFontFamily,r[0]==="Safe Fonts"?(l.style.fontFamily=r[1],(s=[...l.classList].filter(c=>c.startsWith("em-font-"))[0])&&(l.classList.remove(s),t.buttons.fontFamily?.[2]&&o.clearLinkTags({elem:document.head,fontFamilyClassName:a.buildEmFontClassName(t.buttons.fontFamily[2],t.buttons.fontFamily[3])}),o.clearProjectFontFaces())):r[0]==="Google Fonts"&&(dn(l,r),o.removeClassesByPrefix(l,"em-font"),l.classList.add(o.createFontClassName(r)),a.markProjectFontClass(l,r)))}),r.length>0&&r[0]==="Google Fonts"&&o.addFontFamilyClass({fontFamilyArray:r}),o.clearProjectFontFaces(),t.buttons.fontFamily=e.buttonsFontFamily}e.buttonsFontSize!==void 0&&(n.forEach(r=>{const i=r;i.style.display&&i.style.display=="block"&&(i.style.fontSize=e.buttonsFontSize+"px")}),t.buttons.fontSize=e.buttonsFontSize),e.buttonsLetterSpacing!==void 0&&(n.forEach(r=>{const i=r;i.style.display&&i.style.display=="block"&&(e.buttonsLetterSpacing>0?i.style.letterSpacing=e.buttonsLetterSpacing+"px":i.style.removeProperty("letter-spacing"))}),t.buttons.letterSpacing=e.buttonsLetterSpacing),tp(e,n,o),op(e,n,o),np(e,n,o)}function tp(e,o,t){const{commonStyles:n}=t;e.buttonsColor!==void 0&&(o.forEach(r=>{const i=r;!i.closest(".em-contrast-block")&&i.style.display&&i.style.display=="block"&&(i.style.color=e.buttonsColor)}),n.buttons.color=e.buttonsColor),e.buttonsContrastColor!==void 0&&(o.forEach(r=>{const i=r;i.closest(".em-contrast-block")&&i.style.display&&i.style.display=="block"&&(i.style.color=e.buttonsContrastColor)}),n.buttons.contrastColor=e.buttonsContrastColor),e.buttonsBold!==void 0&&(o.forEach(r=>{const i=r;i.style.display&&i.style.display=="block"&&(e.buttonsBold?i.querySelector("b")?i.querySelector("b").replaceWith(...i.querySelector("b").childNodes):i.querySelector("strong")||(i.innerHTML="<strong>"+i.innerHTML+"</strong>"):i.querySelector("strong")?i.querySelector("strong").replaceWith(...i.querySelector("strong").childNodes):i.querySelector("b")&&i.querySelector("b").replaceWith(...i.querySelector("b").childNodes),i.style.fontWeight&&i.style.removeProperty("font-weight"))}),n.buttons.bold=e.buttonsBold),e.buttonsItalic!==void 0&&(o.forEach(r=>{const i=r;i.style.display&&i.style.display=="block"&&(e.buttonsItalic?i.querySelector("i")?i.querySelector("i").replaceWith(...i.querySelector("i").childNodes):i.querySelector("em")||(i.innerHTML="<em>"+i.innerHTML+"</em>"):i.querySelector("em")?i.querySelector("em").replaceWith(...i.querySelector("em").childNodes):i.querySelector("i")&&i.querySelector("i").replaceWith(...i.querySelector("i").childNodes),i.style.fontStyle&&i.style.removeProperty("font-style"))}),n.buttons.italic=e.buttonsItalic),e.buttonsBackgroundColor!==void 0&&(o.forEach(r=>{const i=r;if(!i.closest(".em-contrast-block")&&i.style.display&&i.style.display=="block"){const l=i.closest("td");l&&(l.getAttribute("bgcolor")&&(e.buttonsBackgroundColor?l.setAttribute("bgcolor",e.buttonsBackgroundColor):l.removeAttribute("bgcolor")),e.buttonsBackgroundColor?l.style.backgroundColor=e.buttonsBackgroundColor:l.style.removeProperty("background-color"))}}),n.buttons.backgroundColor=e.buttonsBackgroundColor),e.buttonsContrastBackgroundColor!==void 0&&(o.forEach(r=>{const i=r;if(i.closest(".em-contrast-block")&&i.style.display&&i.style.display=="block"){const l=i.closest("td");l&&(l.getAttribute("bgcolor")&&(e.buttonsContrastBackgroundColor?l.setAttribute("bgcolor",e.buttonsContrastBackgroundColor):l.removeAttribute("bgcolor")),e.buttonsContrastBackgroundColor?l.style.backgroundColor=e.buttonsContrastBackgroundColor:l.style.removeProperty("background-color"))}}),n.buttons.contrastBackgroundColor=e.buttonsContrastBackgroundColor),e.buttonsAlign!==void 0&&(o.forEach(r=>{const i=r;i.style.display&&i.style.display=="block"&&i.closest("td")?.setAttribute("align",e.buttonsAlign)}),n.buttons.textAlign=e.buttonsAlign)}function op(e,o,t){const{commonStyles:n}=t;e.buttonsMarginTop!==void 0&&(o.forEach(r=>{const i=r,l=i.closest('[em="atom"]');if(l){const s=l.querySelector(":scope > tr > td, :scope > tbody > tr > td");s?.style.paddingTop&&i.style.display&&i.style.display=="block"&&(s.style.paddingTop=e.buttonsMarginTop+"px",s.querySelector(":scope > .em-vindent-paddingTop")?.remove())}else{const s=i.closest("table");if(s?.previousElementSibling){const c=s.previousElementSibling,d=i.closest("div");if(i.style.display&&i.style.display=="block"&&d&&d.getAttribute("em")=="atom"&&c&&c.tagName=="TABLE"&&(c.classList.contains("em-vindent-table")||c.querySelector("td")?.innerHTML=="")){c.querySelector("td")?.setAttribute("height",e.buttonsMarginTop);const u=c.querySelector(".em-element-vindent-value");u&&(u.innerHTML=e.buttonsMarginTop+"px",e.buttonsMarginTop<30?c.querySelector(".em-vindent")?.classList.add("em-vindent_low"):c.querySelector(".em-vindent")?.classList.remove("em-vindent_low"))}}}}),n.buttons.marginTop=e.buttonsMarginTop),e.buttonsMarginBottom!==void 0&&(o.forEach(r=>{const i=r,l=i.closest('[em="atom"]');if(l){const s=l.querySelector(":scope > tr > td, :scope > tbody > tr > td");s?.style.paddingBottom&&i.style.display&&i.style.display=="block"&&(s.style.paddingBottom=e.buttonsMarginBottom+"px",s.querySelector(":scope > .em-vindent-paddingBottom")?.remove())}else{const s=i.closest("table");if(s?.previousElementSibling){const c=s.nextElementSibling,d=i.closest("div");if(i.style.display&&i.style.display=="block"&&d&&d.getAttribute("em")=="atom"&&c&&c.tagName=="TABLE"&&(c.classList.contains("em-vindent-table")||c.querySelector("td")?.innerHTML=="")){c.querySelector("td")?.setAttribute("height",e.buttonsMarginBottom);const u=c.querySelector(".em-element-vindent-value");u&&(u.innerHTML=e.buttonsMarginBottom+"px",e.buttonsMarginBottom<30?c.querySelector(".em-vindent")?.classList.add("em-vindent_low"):c.querySelector(".em-vindent")?.classList.remove("em-vindent_low"))}}}}),n.buttons.marginBottom=e.buttonsMarginBottom)}function np(e,o,t){const{commonStyles:n,setElementBorder:r,setElementBorderRadius:i}=t;e.buttonsBorder!==void 0&&(o.forEach(l=>{const s=l;if(s.style.display&&s.style.display=="block"){const c=s.closest("td");c&&r({settings:{border:e.buttonsBorder},elem:c})}}),e.buttonsBorder.all!==void 0&&(n.buttons.border.all=e.buttonsBorder.all),e.buttonsBorder.top!==void 0&&(n.buttons.border.top=e.buttonsBorder.top),e.buttonsBorder.right!==void 0&&(n.buttons.border.right=e.buttonsBorder.right),e.buttonsBorder.bottom!==void 0&&(n.buttons.border.bottom=e.buttonsBorder.bottom),e.buttonsBorder.left!==void 0&&(n.buttons.border.left=e.buttonsBorder.left)),e.buttonsBorderRadius!==void 0&&(o.forEach(l=>{const s=l;if(s.style.display&&s.style.display=="block"){const c=s.closest("td");c&&i({settings:{borderRadius:e.buttonsBorderRadius},elem:c})}}),e.buttonsBorderRadius.all!==void 0&&(n.buttons.borderRadius.all=e.buttonsBorderRadius.all),e.buttonsBorderRadius.topLeft!==void 0&&(n.buttons.borderRadius.topLeft=e.buttonsBorderRadius.topLeft),e.buttonsBorderRadius.topRight!==void 0&&(n.buttons.borderRadius.topRight=e.buttonsBorderRadius.topRight),e.buttonsBorderRadius.bottomRight!==void 0&&(n.buttons.borderRadius.bottomRight=e.buttonsBorderRadius.bottomRight),e.buttonsBorderRadius.bottomLeft!==void 0&&(n.buttons.borderRadius.bottomLeft=e.buttonsBorderRadius.bottomLeft)),e.buttonsPadding!==void 0&&(o.forEach(l=>{const s=l;s.style.display&&s.style.display=="block"&&(e.buttonsPadding.all!==void 0?(s.style.paddingTop=e.buttonsPadding.all+"px",s.style.paddingRight=e.buttonsPadding.all+"px",s.style.paddingBottom=e.buttonsPadding.all+"px",s.style.paddingLeft=e.buttonsPadding.all+"px"):((e.buttonsPadding.top!==void 0||e.buttonsPadding.top==0)&&(s.style.paddingTop=e.buttonsPadding.top+"px"),(e.buttonsPadding.right!==void 0||e.buttonsPadding.right==0)&&(s.style.paddingRight=e.buttonsPadding.right+"px"),(e.buttonsPadding.bottom!==void 0||e.buttonsPadding.bottom==0)&&(s.style.paddingBottom=e.buttonsPadding.bottom+"px"),(e.buttonsPadding.left!==void 0||e.buttonsPadding.left==0)&&(s.style.paddingLeft=e.buttonsPadding.left+"px")))}),e.buttonsPadding.all!==void 0&&(n.buttons.padding={all:e.buttonsPadding.all}),e.buttonsPadding.top!==void 0&&(n.buttons.padding={top:e.buttonsPadding.top}),e.buttonsPadding.right!==void 0&&(n.buttons.padding={right:e.buttonsPadding.right}),e.buttonsPadding.bottom!==void 0&&(n.buttons.padding={bottom:e.buttonsPadding.bottom}),e.buttonsPadding.left!==void 0&&(n.buttons.padding={left:e.buttonsPadding.left}))}function rp(e,o){const{commonStyles:t,setElementBorder:n,setElementBorderRadius:r}=o;t.cards||(t.cards={});const i=document.querySelectorAll(".em-contrast-card");e.cardsContrastBackgroundColor!==void 0&&(i.forEach(c=>{const d=c;d.getAttribute("bgcolor")&&(e.cardsContrastBackgroundColor?d.setAttribute("bgcolor",e.cardsContrastBackgroundColor):d.removeAttribute("bgcolor")),e.cardsContrastBackgroundColor?d.style.backgroundColor=e.cardsContrastBackgroundColor:d.style.removeProperty("background-color")}),t.cards.contrastBackgroundColor=e.cardsContrastBackgroundColor),e.cardsContrastTextColor!==void 0&&(i.forEach(c=>{c.querySelectorAll('div[style*="font-family"], span[style*="font-family"]').forEach(d=>{d.style.color=e.cardsContrastTextColor})}),t.cards.contrastTextColor=e.cardsContrastTextColor);const l=document.querySelectorAll(".em-card");e.cardsBaseBackgroundColor!==void 0&&(l.forEach(c=>{const d=c;d.getAttribute("bgcolor")&&(e.cardsBaseBackgroundColor?d.setAttribute("bgcolor",e.cardsBaseBackgroundColor):d.removeAttribute("bgcolor")),e.cardsBaseBackgroundColor?d.style.backgroundColor=e.cardsBaseBackgroundColor:d.style.removeProperty("background-color")}),t.cards.baseBackgroundColor=e.cardsBaseBackgroundColor),e.cardsBaseTextColor!==void 0&&(l.forEach(c=>{c.querySelectorAll('div[style*="font-family"], span[style*="font-family"]').forEach(d=>{d.style.color=e.cardsBaseTextColor})}),t.cards.baseTextColor=e.cardsBaseTextColor);const s=document.querySelectorAll(".em-card, .em-contrast-card");e.cardsBorderRadius!==void 0&&(t.cards.borderRadius||(t.cards.borderRadius={}),s.forEach(c=>{r({settings:{borderRadius:e.cardsBorderRadius},elem:c})}),e.cardsBorderRadius.all!==void 0&&(t.cards.borderRadius.all=e.cardsBorderRadius.all),e.cardsBorderRadius.topLeft!==void 0&&(t.cards.borderRadius.topLeft=e.cardsBorderRadius.topLeft),e.cardsBorderRadius.topRight!==void 0&&(t.cards.borderRadius.topRight=e.cardsBorderRadius.topRight),e.cardsBorderRadius.bottomRight!==void 0&&(t.cards.borderRadius.bottomRight=e.cardsBorderRadius.bottomRight),e.cardsBorderRadius.bottomLeft!==void 0&&(t.cards.borderRadius.bottomLeft=e.cardsBorderRadius.bottomLeft)),e.cardsBorder!==void 0&&(t.cards.border||(t.cards.border={}),s.forEach(c=>{n({settings:{border:e.cardsBorder},elem:c})}),e.cardsBorder.all&&(t.cards.border.all=e.cardsBorder.all),e.cardsBorder.top&&(t.cards.border.top=e.cardsBorder.top),e.cardsBorder.right&&(t.cards.border.right=e.cardsBorder.right),e.cardsBorder.bottom&&(t.cards.border.bottom=e.cardsBorder.bottom),e.cardsBorder.left&&(t.cards.border.left=e.cardsBorder.left))}function ip(e,o){const{commonStyles:t,globalHolder:n}=o;if(!n)return;const r=n.classList.contains("full-wrap")?n.querySelector("td"):n;if(!r)return;(e.blockBackgroundColor!==void 0||e.blockBackgroundColor==="")&&fi(e.blockBackgroundColor,r,!1,t),(e.blockContrastBackgroundColor!==void 0||e.blockContrastBackgroundColor==="")&&fi(e.blockContrastBackgroundColor,r,!0,t);const i=document.querySelectorAll('[em="block"] > td');if(e.blockPadding!==void 0){const l=e.blockPadding;t.block||(t.block={}),t.block.padding||(t.block.padding={});const s=l.left!==void 0||l.right!==void 0;i.forEach(c=>{const d=c;l.top!==void 0&&(d.style.paddingTop=`${l.top}px`),l.right!==void 0&&(d.style.paddingRight=`${l.right}px`),l.bottom!==void 0&&(d.style.paddingBottom=`${l.bottom}px`),l.left!==void 0&&(d.style.paddingLeft=`${l.left}px`)}),["top","right","bottom","left"].forEach(c=>{l[c]!==void 0&&(t.block.padding[c]=l[c])}),s&&i.forEach(c=>{const d=c,u=d.querySelector(".em-mob-wrap"),p=d.parentElement?.getAttribute("em")==="block";u&&p&&d.querySelectorAll(":scope > table").forEach(m=>{o.setStructureBlocksWidth(m)})})}}function fi(e,o,t,n){const r=o.querySelector(".em-narrow-table"),i=t?'[em="block"].em-contrast-block > td':'[em="block"]:not(.em-contrast-block) > td',l=t?'[em="block"] > td > table > tr > [bgcolor]':'[em="block"]:not(.em-contrast-block) > td > table > tr > [bgcolor]',s=t?'[em="block"] > td > table > tr > [style*="background-color"]':'[em="block"]:not(.em-contrast-block) > td > table > tr > [style*="background-color"]';r?e===""?o.querySelectorAll(i).forEach(c=>{const d=c;d.removeAttribute("bgcolor"),d.style.removeProperty("background-color")}):o.querySelectorAll(i).forEach(c=>{const d=c;d.setAttribute("bgcolor",e),d.style.backgroundColor=e}):e===""?o.querySelector(l)?o.querySelectorAll(l).forEach(c=>{const d=c;d.removeAttribute("bgcolor"),d.style.removeProperty("background-color")}):o.querySelector(s)&&o.querySelectorAll(s).forEach(c=>{const d=c;d.removeAttribute("bgcolor"),d.style.removeProperty("background-color")}):o.querySelector(l)?o.querySelectorAll(l).forEach(c=>{const d=c;d.style.backgroundColor=e,d.setAttribute("bgcolor",e)}):o.querySelector(s)&&o.querySelectorAll(s).forEach(c=>{const d=c;d.style.backgroundColor=e,d.setAttribute("bgcolor",e)}),t?n.block.contrastBackgroundColor=e:n.block.backgroundColor=e}var lp=320;function pi(e){if(e==null||e==="")return null;if(typeof e=="number"&&!Number.isNaN(e))return e;if(typeof e=="object"&&e!==null&&"value"in e){const o=Number(e.value);return Number.isNaN(o)?null:o}return null}function gi(){for(const e of document.body.children)if(e.tagName==="DIV"||e.tagName==="CENTER"){const o=e;if(o.style.background||o.style.backgroundColor)return e;for(const t of e.children)if(t.tagName==="DIV"){if(o.style.background||o.style.backgroundColor)return e;for(const n of t.children){const r=n;if(r.getAttribute("width")==="100%"||r.style.width==="100%")return n}}else{const n=t;if(n.getAttribute("width")==="100%"||n.style.width==="100%")return t}}else{const o=e;if(o.getAttribute("width")==="100%"||o.style.width==="100%")return e}return null}function ap(e,o){const{globalHolder:t,emailWidth:n,state:r,findParentTr:i}=o,l=pi(e.width);if(l==null||l<lp||!t)return!1;function s(c){if(c.elem.nodeName==="#comment"&&c.elem.textContent?.indexOf("mso")!==-1)c.elem.textContent=c.elem.textContent.replace(/width=".*"/gi,`width="${c.width}"`);else{const d=c.elem.previousSibling;d&&s({elem:d,width:c.width})}}return t.querySelector(".em-narrow-table")||t.querySelector(".noresp-em-narrow-table")?(sp(t,l,n,s),cp(t,e,n,i,s)):up(t,l,n,s),n>500&&t.querySelectorAll(`[width="${n}"]`).forEach(c=>{c.setAttribute("width",String(l))}),fp(l),r.set("emailWidth",l),!0}function sp(e,o,t,n){e.querySelectorAll('[style*="width"]').forEach(r=>{const i=r;i.style.verticalAlign||(i.style.width&&parseFloat(i.style.width)===t&&(i.style.width=o+"px"),i.style.maxWidth&&parseFloat(i.style.maxWidth)===t&&(i.style.maxWidth=o+"px"),i.style.minWidth&&parseFloat(i.style.minWidth)===t&&(i.style.minWidth=o+"px"),n({elem:i,width:o}))})}function cp(e,o,t,n,r){const i=[];e.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)").forEach(s=>{const c=n(s);c&&!i.includes(c)&&i.push(c)});const l=o.project==="useblocks"?640:660;i.forEach(s=>{const c=s.querySelector(".em-mob-wrap, .noresp-em-mob-wrap");if(!c)return;const d=c.parentElement?.closest("td"),u=parseFloat(d?.style.paddingLeft||"0")||0,p=parseFloat(d?.style.paddingRight||"0")||0,m=c.closest("table")?.parentElement?.getBoundingClientRect().width||0,f=s.querySelector(".em-mob-wrap:empty, .noresp-em-mob-wrap:empty")?660:l;if(s.querySelectorAll(".em-mob-wrap, .noresp-em-mob-wrap").length>1)dp(s)&&mp(s,m,u,p,f);else if(c.getAttribute("width")&&!c.classList.contains("em-insert-ignore")){const g=Math.round(m-u-p);c.setAttribute("width",String(g))}})}function dp(e){const o=e.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)");for(let t=0;t<o.length;t++){const n=o[t];if(n.classList.contains("em-insert-ignore"))continue;const r=n.getAttribute("width");if(r!=null&&r!=="")return!0}return!1}function mp(e,o,t,n,r){const i=e.querySelector(".em-mob-wrap:nth-child(even), .noresp-em-mob-wrap:nth-child(even)"),l=i?parseFloat(i.getAttribute("width")||"0"):0,s=e.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)"),c=s.length;let d=0,u=0;s.forEach(f=>{const g=f;if(g.getAttribute("width")&&!g.classList.contains("em-insert-ignore")){const b=parseFloat(g.getAttribute("width")||"0")/r,h=Math.round(o*b-l/(c*2));g.setAttribute("width",String(h)),d+=h}});const p=o-(t+n+l*(c-1)+d);s.forEach(f=>{const g=f;if(g.getAttribute("width")&&!g.classList.contains("em-insert-ignore")){const b=parseFloat(g.getAttribute("width")||"0")+Math.round(p/c);u+=b,g.setAttribute("width",String(b)),g.querySelectorAll("img").forEach(h=>{parseFloat(h.getAttribute("width")||"0")>b&&(h.setAttribute("width",String(b)),h.style.maxWidth=b+"px")})}}),u=u+l*(c-1)+t+n;const m=o-u;if(m!==0&&d>0){const f=e.querySelector(".em-mob-wrap:last-child, .noresp-em-mob-wrap:last-child");if(f&&!f.classList.contains("em-insert-ignore")){const g=parseFloat(f.getAttribute("width")||"0");f.setAttribute("width",String(g+m))}else{const g=e.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)");for(let b=g.length-1;b>=0;b--){const h=g[b];if(h.classList.contains("em-insert-ignore"))continue;const y=parseFloat(h.getAttribute("width")||"0");h.setAttribute("width",String(y+m));break}}}}function up(e,o,t,n){e.querySelectorAll('div[style*="inline-block"]').forEach(r=>{const i=r;if(!i.getAttribute("em-floatblock-width")){const l=i.parentElement?.getBoundingClientRect().width||1;i.setAttribute("em-floatblock-width",String(i.getBoundingClientRect().width/l))}}),e.querySelectorAll('[style*="width"]').forEach(r=>{const i=r;i.style.verticalAlign||(i.style.width&&parseFloat(i.style.width)===t&&(i.style.width=o+"px"),i.style.maxWidth&&parseFloat(i.style.maxWidth)===t&&(i.style.maxWidth=o+"px"),i.style.minWidth&&parseFloat(i.style.minWidth)===t&&(i.style.minWidth=o+"px"),n({elem:i,width:o}))}),e.querySelectorAll('div[style*="inline-block"]').forEach(r=>{const i=r,l=i.parentElement?.getBoundingClientRect().width||0,s=parseFloat(i.getAttribute("em-floatblock-width")||"0"),c=i.getBoundingClientRect().width-(i.firstElementChild?.getBoundingClientRect().width||0),d=i.getBoundingClientRect().width-c;let u=0;i.style.maxWidth?(i.style.maxWidth=Math.floor(l*s)+"px",u=i.getBoundingClientRect().width-c,i.firstElementChild&&(i.firstElementChild.setAttribute("width",String(Math.round(u))),i.firstElementChild.style.maxWidth=Math.round(u)+"px")):i.style.width&&(i.style.width=Math.floor(l*s)+"px",u=i.getBoundingClientRect().width-c,i.firstElementChild?.setAttribute("width",String(u))),n({elem:i,width:Math.floor(l*s)}),i.removeAttribute("em-floatblock-width"),i.querySelectorAll("img").forEach(p=>{const m=parseFloat(p.getAttribute("width")||"0");(m>=u||m===d)&&(p.setAttribute("width",String(u)),p.style.maxWidth=u+"px")})})}function fp(e){for(const o of document.head.querySelectorAll("style"))if(o.innerHTML.match(/@media.*?max((.|\n|\r)*?){/)){o.innerHTML=o.innerHTML.replace(/max-device-width:\d+px/gi,`max-device-width:${e}px`),o.innerHTML=o.innerHTML.replace(/max-width:\d+px/gi,`max-width:${e}px`);break}}function pp(e,o){e.querySelectorAll("img, amp-img").forEach(t=>{const n=t;if(o){const r=n.getAttribute("width");if(r)if(n.style.width="100%",r.includes("%"))n.style.maxWidth=r;else{const i=parseFloat(r);Number.isNaN(i)||(n.style.maxWidth=`${i}px`)}}else n.style.removeProperty("width"),n.style.removeProperty("max-width")})}function gp(e,o){if(e.responsive===void 0||!o)return;const t=pi(e.width);if(e.responsive.shutdown){const n=o.querySelector(".noresp-em-narrow-table");if(n)n.className=n.className.replace(/noresp-em-narrow/gi,"em-narrow");else{const r=o.querySelector("table:first-child");r&&(r.setAttribute("width","100%"),r.style.width="100%",t!=null&&(r.style.maxWidth=t+"px"),r.style.minWidth="320px")}document.querySelectorAll('[class*="noresp-em-mob"]').forEach(r=>{r.className=r.className.replace(/noresp-em-mob/gi,"em-mob")}),document.documentElement.removeAttribute("style")}else{const n=o.querySelector(".em-narrow-table");if(n)n.className=n.className.replace(/em-narrow/gi,"noresp-em-narrow");else{const r=o.querySelector("table:first-child");r&&t!=null&&(r.setAttribute("width",String(t)),r.style.width=t+"px",r.style.maxWidth=t+"px",r.style.minWidth=t+"px")}document.querySelectorAll('[class*="em-mob"]:not([class*="noresp-em-mob"])').forEach(r=>{r.className=r.className.replace(/em-mob/gi,"noresp-em-mob")})}pp(o,!!e.responsive.shutdown)}function bp(e,o,t){const n=o.parentNode;n&&(n.style.backgroundColor="rgba(0,255,0,0.3)");let r="";document.head.querySelectorAll("style").forEach(s=>{r+=t.HTMLDocument.getInnerHtml(s)});const i=document.createElement("style");i.setAttribute("em","styles"),i.innerHTML=r;const l=a.serializeOuterHtml(i)+`
|
|
275
|
-
`+t.HTMLDocument.getOuterHtml(e);navigator.clipboard.writeText(l),setTimeout(()=>{n&&n.style.removeProperty("background-color")},2e3)}function hp(e,o,t){navigator.clipboard.readText().then(n=>{const r=t.parseFromString(n);let i=r.filter(d=>d.tagName&&d.tagName!=="LINK"&&d.tagName!=="STYLE").map(d=>t.getOuterHtml(d)).join(""),l=r.filter(d=>d.tagName==="STYLE").map(d=>t.getOuterHtml(d)).join("");const s=r.filter(d=>d.tagName==="LINK"&&d.getAttribute("em-class")).filter(d=>!document.head?.querySelector(`link[em-class="${d.getAttribute("em-class")}"]`));if(l){let d=document.head.querySelector('style[em="styles"]'),u="";d?u=t.HTMLDocument.getInnerHtml(d):(d=document.createElement("style"),d.setAttribute("em","styles"),d=document.head.insertAdjacentElement("beforeend",d));const
|
|
276
|
-
`+[...
|
|
274
|
+
</td></tr></table>`,C=o.parseFromString(v)[0];return C?(C instanceof HTMLTableElement&&Qu(t,C,r),C.setAttribute("em-edit","active"),t.replaceWith(C),o.commit(!0),C):null}function lf(e,o){if(typeof e.textSuperscript!="boolean"&&typeof e.textSubscript!="boolean")return;const t=window.getSelection();if(!t||t.rangeCount===0)return;const n=t.getRangeAt(0),r=n.commonAncestorContainer;if(r?.tagName==="TABLE")return;const i=r.nodeType===1?r:r.parentElement;if(!i)return;function l(s,c){const d=i.closest(s),u=s==="sup"?"sub":"sup",g=i.closest(u);if(c){let m=!0;if(d&&o.isRangeMatching(d,n,n.collapsed))m=!1;else if(g)if(o.isRangeMatching(g,n,n.collapsed)){const f=o.unwrapTag(g);n.selectNodeContents(f)}else{const f=o.splitWrapper(g,n);n.selectNodeContents(f),setTimeout(()=>t.removeAllRanges(),100)}else if(d){const f=o.splitWrapper(d,n);n.selectNodeContents(f)}if(m)if(n.collapsed){const f=n.cloneRange();try{n.expand("word");const p=n.toString().trim();if(p){const b=o.wrapInTag(n,p,s),h=document.createRange();h.selectNodeContents(b),t.removeAllRanges(),t.addRange(h),o.cleanEmptyTags(b.parentNode)}else n.setStart(f.startContainer,f.startOffset),n.setEnd(f.endContainer,f.endOffset)}catch{n.setStart(f.startContainer,f.startOffset),n.setEnd(f.endContainer,f.endOffset)}}else{const f=n.cloneContents(),p=document.createElement("div");p.appendChild(f),o.unwrapNestedTags(p,s);const b=o.wrapInTag(n,p,s),h=document.createRange();h.selectNodeContents(b),t.removeAllRanges(),t.addRange(h),o.cleanEmptyTags(b.parentNode)}}else if(n.collapsed)if(d){const m=d.parentNode,f=o.unwrapTag(d),p=document.createRange();p.selectNodeContents(f),t.removeAllRanges(),t.addRange(p),o.cleanEmptyTags(m),d.parentNode||setTimeout(()=>t.removeAllRanges(),0)}else{const m=n.startContainer.parentElement?.closest(s);if(m){const f=o.unwrapTag(m),p=document.createRange();p.selectNodeContents(f),t.removeAllRanges(),t.addRange(p),o.cleanEmptyTags(m.parentNode)}}else{let m=[];const f=n.cloneContents(),p=document.createElement("div");if(p.appendChild(f),m=Array.from(p.querySelectorAll(s)),d){const h=Array.from(d.childNodes).some(S=>S.nodeType===1),y=o.unwrapTag(d),E=document.createRange();if(y.isConnected)E.selectNodeContents(y),t.removeAllRanges(),t.addRange(E);else{const S=d.parentNode;S&&(E.selectNodeContents(S),t.removeAllRanges(),t.addRange(E))}h&&o.applicationElementSettingsSet({elem:document.querySelector("[em-edit]")}),o.commit();return}else{const h=n.commonAncestorContainer.parentElement?.closest(s)||n.startContainer.parentElement?.closest(s);h&&m.push(h)}m.length>0&&m.forEach(h=>{h.parentNode&&o.unwrapTag(h)});const b=p.cloneNode(!0).querySelector('[em-edit="active"]');if(b){n.deleteContents(),n.insertNode(b);const h=document.createRange();h.selectNodeContents(b),t.removeAllRanges(),t.addRange(h),o.cleanEmptyTags(b.parentNode)}}o.commit()}typeof e.textSuperscript=="boolean"&&l("sup",e.textSuperscript),typeof e.textSubscript=="boolean"&&l("sub",e.textSubscript)}function af(e,o){if(e!==void 0){if(e===""){sf(o.activeElement);return}cf(e,o)}}function sf(e){const o=e?.closest("em-replace")||e?.querySelector("em-replace");if(!o)return;const t=o.parentNode,n=o.firstChild,r=o.lastChild;if(o.getAttribute("text")!==o.innerHTML)for(;o.firstChild;)t?.insertBefore(o.firstChild,o);const i=document.createRange(),l=window.getSelection();n&&r&&l&&(i.setStartBefore(n),i.setEndAfter(r),l.removeAllRanges(),l.addRange(i)),o.remove()}function cf(e,o){const t=window.getSelection();if(!t||t.rangeCount===0)return;const n=t.getRangeAt(0),r=e.replace(/~~.*$/,""),i=n.commonAncestorContainer,l=i.nodeType===1?i:i.parentElement;let s=l?.closest("em-replace");const c=/~~/.test(e)&&s;if(c){const d=e.replace(/~~.*$/,"");l?.setAttribute("text",d),l&&(l.innerHTML=d)}if(!s&&t.rangeCount>0&&!n.collapsed){const d=document.querySelectorAll("em-replace");if(s=Array.prototype.find.call(d,u=>u.textContent?.trim()===t.toString().trim()&&t.toString().trim()!==""),!s){const u=document.querySelector('[em-edit="active"]');u?.textContent===n.toString()&&n.selectNodeContents(u);const g=e.replace(/~~.*$/,""),m=document.createElement("em-replace");m.setAttribute("text",g),n.surroundContents(m)}}if(!s&&t.rangeCount>0&&n.collapsed){let d=document.querySelector("em-replace");if(d){const u=document.querySelectorAll("em-replace"),g=/~$/;s=Array.prototype.find.call(u,m=>{const f=e,p=m.textContent||"";return f.length===1&&g.test(p)?!0:o.compareStrings(p,f)}),s&&(s.setAttribute("text",e),s.textContent=e),s||(d=document.createElement("em-replace"),d.setAttribute("text",r),n.insertNode(d),d.innerHTML=r,n.collapse(!1))}else d=document.createElement("em-replace"),d.setAttribute("text",r),n.insertNode(d),d.innerHTML=r,n.collapse(!1)}s&&!c&&(s.getAttribute("text")===s.innerHTML&&(s.innerHTML=e),s.setAttribute("text",e))}function df(e){return e.trim().replace(/\s+/g,"_").replace(/[^\p{L}\p{N}\-_:.]/gu,"")}function ui(e){const o=e.commonAncestorContainer,t=(o.nodeType===Node.ELEMENT_NODE?o:o.parentElement)?.closest?.("a[name]");if(!t)return null;try{const n=document.createRange();return n.selectNodeContents(t),e.compareBoundaryPoints(Range.START_TO_START,n)>=0&&e.compareBoundaryPoints(Range.END_TO_END,n)<=0?t:null}catch{return null}}function mf(e,o){if(!e||!o)return;const t=document.createRange(),n=window.getSelection();if(n)try{if(!e.isConnected||!o.isConnected)return;t.setStartBefore(e),t.setEndAfter(o),n.removeAllRanges(),n.addRange(t)}catch{}}function uf(e){const o=e.parentNode;if(o){for(;e.firstChild;)o.insertBefore(e.firstChild,e);o.removeChild(e)}}function ff(e,o){const t=window.getSelection(),n=t?.rangeCount?t.getRangeAt(0):null;if(e===void 0||!e.trim()){let i=null;if(n&&!n.collapsed&&(i=ui(n)),i||(i=o.activeElement?.closest?.("a[name]")),i){const l=i.firstChild,s=i.lastChild;uf(i),o.commit(),mf(l,s)}return}const r=df(e);if(r&&!(!t||!n||n.collapsed))try{const i=ui(n);if(i){i.setAttribute("name",r),o.commit();return}const l=document.createElement("a");l.setAttribute("name",r);const s=n.extractContents();l.appendChild(s),n.insertNode(l);const c=document.createRange();c.selectNodeContents(l),t.removeAllRanges(),t.addRange(c),o.commit()}catch{}}function pf(e,o){let t=!1,{activeElement:n,activeCell:r}=o;if(n||(n=document.querySelector(".remove-basic-cell")||document.querySelector(".em-temporary-active-cell-background-color")||document.querySelector(".em-active-table-cell")),!n)return t;const i=Object.keys(e)[0],l=n.closest(".em-element-custom-table");if(!l)return t;let s=o.parseTableElementToModel(l);if(n.tagName==="TD"&&(n=n.querySelector("div"),n?.setAttribute("em-edit","active")),n?.tagName==="TR"&&(n=n.querySelector("EDITOR")?.querySelector("div"),n?.setAttribute("em-edit","active")),i.includes("padding")&&!i.includes("cell_")&&gf(e,l,s,o),e.backgroundColor&&bf(e.backgroundColor,l),i.includes("backgroundImage")&&hf(e,l),i.includes("backgroundPosition")){const c=o.updateBackgroundPosition(l.getAttribute("style"),{settings:e});l.setAttribute("style",c)}return i.includes("backgroundSize")&&(l.style.backgroundSize=e.backgroundSize),i.includes("backgroundRepeat")&&(l.style.backgroundRepeat=e.backgroundRepeat),(e.borderAll||e.borderTop||e.borderRight||e.borderBottom||e.borderLeft)&&yf(e,i,l,o),i.includes("borderRadius")&&Ef(e,l,o),i.includes("boxShadow")&&Sf(e,l,o),t=Cf(e,l,o)||t,i.includes("cell")&&vf(e,i,l,s,r,o),new Set(["fontFamily","fontSize","lineHeight","textStrong","textItalic","textStrikethrough","textUnderline","textLink","textColor","textBackgroundColor","linkHref","textAlign","valign"]).has(i)&&kf(e,i,l,s,r,n,o),_f(l,o),a.applyVMLBackgroundToggle(l,e,"around"),t}function gf(e,o,t,n){const r=n.updateTablePadding(t,{settings:e});o.innerHTML=n.tableModelToHtml(r)}function bf(e,o){o.getAttribute("data-bg-image")&&(o.removeAttribute("data-bg-image"),o.style.backgroundImage="",o.style.backgroundSize="",o.style.backgroundRepeat="",o.style.backgroundPosition=""),o.setAttribute("bgcolor",e)}function hf(e,o){if(o.getAttribute("bgcolor")&&o.removeAttribute("bgcolor"),e.backgroundImage?.[0]?.type==="url"){const t=e.backgroundImage[0].value;o.setAttribute("data-bg-image",t),o.style.backgroundImage=`url('${t}')`,o.style.backgroundSize="cover",o.style.backgroundRepeat="no-repeat",o.style.backgroundPosition="center"}}function yf(e,o,t,n){const r=o,i=e[r];let l="",s="";switch(r){case"borderAll":l="border",s=t.style.border;break;case"borderTop":l="border-top",s=t.style.borderTop;break;case"borderRight":l="border-right",s=t.style.borderRight;break;case"borderBottom":l="border-bottom",s=t.style.borderBottom;break;case"borderLeft":l="border-left",s=t.style.borderLeft;break;default:l="border",s=t.style.border}const c=t.getAttribute("border")||"",d=t.getAttribute("bordercolor")||"";let u=t.getAttribute("style")||"";const g=t.style.borderCollapse?`border-collapse: ${t.style.borderCollapse};`:"border-collapse: collapse;";if(["borderTop","borderRight","borderBottom","borderLeft"].includes(r)&&(t.style.border||c)){u=n.removeStyleProperty(u,"border");const f=t.style.border?t.style.border:`${c||"1"}px solid ${d||"#b9b1b1"}`;u=`border-top: ${f}; border-right: ${f}; border-bottom: ${f}; border-left: ${f}; ${u};`}let m=s?`${l}: ${s};`:`${l}: ${c||"1"}px solid ${d||"#b9b1b1"};`;t.removeAttribute("border"),t.removeAttribute("bordercolor"),t.removeAttribute("border-collapse"),u=n.removeStyleProperty(u,l),u=n.removeStyleProperty(u,"border-collapse"),l==="border"&&["border-top","border-right","border-bottom","border-left"].forEach(f=>{u=n.removeStyleProperty(u,f)}),["borderTop","borderRight","borderBottom","borderLeft"].includes(r)&&(u=n.removeStyleProperty(u,"border")),i?.style===""&&(m=""),i?.color&&m&&(m=m.replace(/(#([0-9A-Fa-f]{3}){1,2}\b)|(rgba?\([^)]*\))/g,i.color)),i?.width&&m&&(m=m.replace(/\b\d+(\.\d+)?px\b/g,`${i.width}px`)),i?.style&&m&&(m=m.replace(/solid|dashed|dotted/g,i.style)),m=`${m}${u?` ${u}`:""}`,t.setAttribute("style",m?`${g} ${m}`:"")}function Ef(e,o,t){const n=e.borderRadius,r=o.getAttribute("border")||"",i=o.getAttribute("bordercolor")||"";let l=o.getAttribute("style")||"";if(n?.all){const c=`border-radius: ${n.all}px ${n.all}px ${n.all}px ${n.all}px;`;if(l)l=t.removeStyleProperty(l,"border-radius"),l=t.removeStyleProperty(l,"border-collapse"),o.setAttribute("style",`${l}; border-collapse: separate; ${c}`);else{const d=`border-collapse: separate; border: ${r||"1"}px solid ${i||"#b9b1b1"}; ${c}`;o.setAttribute("style",d),o.removeAttribute("border"),o.removeAttribute("bordercolor")}}const s=["topLeft","topRight","bottomRight","bottomLeft"];s.forEach(c=>{if(n?.[c])if(l){const d=t.updateBorderRadius(o.getAttribute("style"),c,n[c]);o.setAttribute("style",d)}else{const d={topLeft:"0",topRight:"1",bottomRight:"2",bottomLeft:"3"},u=["0","0","0","0"];u[parseInt(d[c])]=`${n[c]}px`;const g=`border-radius: ${u.join(" ")};`,m=`border-collapse: separate; border: ${r||"1"}px solid ${i||"#b9b1b1"}; ${g}`;o.setAttribute("style",m)}}),(n?.all||s.some(c=>n?.[c]))&&(o.removeAttribute("border"),o.removeAttribute("bordercolor"))}function Sf(e,o,t){const n=e.boxShadow;if(!n)return;const r=o.getAttribute("border")||"",i=o.getAttribute("bordercolor")||"";let l=o.getAttribute("style")||"";const s=`box-shadow: ${n.color} ${n.hOffset}px ${n.vOffset}px ${n.blurRadius}px ${n.spreadRadius}px${n.inset?" inset":""};`;if(l)l=t.removeStyleProperty(l,"box-shadow"),l=t.removeStyleProperty(l,"border-collapse"),o.setAttribute("style",`${l}; border-collapse: separate;${n.color?` ${s}`:""}`);else{const c=`border-collapse: separate; border: ${r||"1"}px solid ${i||"#b9b1b1"}; ${s}`;o.setAttribute("style",c),o.removeAttribute("border"),o.removeAttribute("bordercolor")}}function Cf(e,o,t){let n=!1;e.mobileWidth&&(t.setElementMobileWidth({settings:e,elem:o}),o.removeAttribute("width"),n=!0),e.mobileHeight&&(t.setElementMobileHeight({settings:e,elem:o}),n=!0),e.show&&(t.setElementShow({settings:e,elem:o}),n=!0),e.mobileBackgroundColor&&(t.setElementMobileBackgroundColor({settings:e,elem:o}),n=!0);const r=e;if(r.mobileBackgroundImage&&(t.setElementMobileBackgroundImage?.({settings:r,elem:o}),n=!0),r.mobileBackgroundPositionX&&(t.setElementMobileBackgroundPositionX?.({settings:r,elem:o}),n=!0),r.mobileBackgroundPositionY&&(t.setElementMobileBackgroundPositionY?.({settings:r,elem:o}),n=!0),r.mobileBackgroundRepeat&&(t.setElementMobileBackgroundRepeat?.({settings:r,elem:o}),n=!0),r.mobileBackgroundSize&&(t.setElementMobileBackgroundSize?.({settings:r,elem:o}),n=!0),e.mobileBoxShadow){if(e.mobileBoxShadow.color!==""&&t.setElementMobileBoxShadow({settings:e,elem:o}),e.mobileBoxShadow.color===""){const i=o.getAttribute("class")||"",l=t.removeClassByPrefix(i,e.mobileBoxShadow.classNamePrefix);o.setAttribute("class",l)}n=!0}if(e.mobileBorder&&(o.removeAttribute("border"),o.removeAttribute("bordercolor"),t.setElementMobileBorder({settings:e,elem:o}),n=!0),e.mobileBorderRadius){if(o.getAttribute("border")&&o.getAttribute("bordercolor")){const l={mobileBorder:{all:{collor:o.getAttribute("bordercolor"),width:o.getAttribute("border"),style:"solid",classNamePrefix:"em-mob-border_all-"}}};t.setElementMobileBorder({settings:l,elem:o}),o.removeAttribute("border"),o.removeAttribute("bordercolor")}t.setElementMobileBorderRadius({settings:e,elem:o});const i=Object.keys(e.mobileBorderRadius).find(l=>l!=="classNamePrefix");if(i&&e.mobileBorderRadius[i]===0){const l=o.getAttribute("class")||"";o.setAttribute("class",t.removeClassByPrefix(l,e.mobileBorderRadius.classNamePrefix))}n=!0}return n}function vf(e,o,t,n,r,i){const l=[a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL];if(o.includes("cellBackgroundColor")){t.querySelector(".remove-basic-cell")&&(r=i.getCellsWithClasses(n,l),i.state.set("activeCell",r));const s=i.updateTableCellBackgroundByIds(n,r,e.cellBackgroundColor),c=i.addClassToCellsByIds(s,r,a.TEMPORARY_CELL_CLASS);t.innerHTML=i.tableModelToHtml(c)}if(e.cell_borderPosition){t.querySelector(".remove-basic-cell")&&(r=i.getCellsWithClasses(n,l),i.state.set("activeCell",r),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(c=>{c.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)})),n=i.parseTableElementToModel(t);const s=i.addClassToCellsByIds(n,r,a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR);t.innerHTML=i.tableModelToHtml(s)}(e.cell_borderAll||e.cell_borderTop||e.cell_borderRight||e.cell_borderBottom||e.cell_borderLeft)&&Af(e,t,n,r,i,l),o.includes("cell_borderRadiusAll")&&Tf(e,t,n,r,i,l),o.includes("cell_padding")&&Lf(e,t,n,r,i,l)}function Af(e,o,t,n,r,i){o.querySelector(".remove-basic-cell")&&(n=r.getCellsWithClasses(t,i),r.state.set("activeCell",n),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(c=>{c.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)}));const l=r.getExternalBorders(t,n),s=r.mergeUniCells(l);if(e.cell_borderAll){for(const c of Object.keys(s)){if(c.includes("-uni-"))continue;t=r.parseTableElementToModel(o);const d=[c],u=r.updateCellBordersByIds(t,d,s[c],e.cell_borderAll);let g=r.addClassToCellsByIds(u,d,a.TEMPORARY_CELL_CLASS);g=r.addClassToCellsByIds(g,d,a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR),o.innerHTML=r.tableModelToHtml(g)}(e.cell_borderAll.style===""||e.cell_borderAll.width===0||e.cell_borderAll.color==="")&&o.querySelectorAll(`.${a.TEMPORARY_CELL_CLASS}`).forEach(c=>{const d=c;d.style.removeProperty("border-top"),d.style.removeProperty("border-right"),d.style.removeProperty("border-bottom"),d.style.removeProperty("border-left")})}[{setting:"cell_borderTop",value:"top"},{setting:"cell_borderRight",value:"right"},{setting:"cell_borderBottom",value:"bottom"},{setting:"cell_borderLeft",value:"left"}].forEach(({setting:c,value:d})=>{if(e[c]){t=r.parseTableElementToModel(o);const u=Object.keys(s).filter(f=>s[f].includes(d)),g=r.updateCellBordersByIds(t,u,[d],e[c]),m=r.addClassToCellsByIds(g,n,a.TEMPORARY_CELL_CLASS);o.innerHTML=r.tableModelToHtml(m)}})}function Tf(e,o,t,n,r,i){o.querySelector(".remove-basic-cell")&&(n=r.getCellsWithClasses(t,i),r.state.set("activeCell",n),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(s=>{s.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)}));const l=r.getExternalCorners(t,n);for(const s of Object.keys(l)){if(s.includes("-uni-"))continue;t=r.parseTableElementToModel(o);const c=r.updateCellBorderRadiusByIds(t,s,l[s],e.cell_borderRadiusAll),d=r.addClassToCellsByIds(c,s,a.TEMPORARY_CELL_CLASS);o.innerHTML=r.tableModelToHtml(d)}}function Lf(e,o,t,n,r,i){o.querySelector(".remove-basic-cell")&&(n=r.getCellsWithClasses(t,i),r.state.set("activeCell",n),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(c=>{c.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)})),t=r.parseTableElementToModel(o);let l=r.addClassToCellsByIds(t,n,a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR);o.innerHTML=r.tableModelToHtml(l),[{key:"cell_paddingTop",sides:["top"]},{key:"cell_paddingBottom",sides:["bottom"]},{key:"cell_paddingLeft",sides:["left"]},{key:"cell_paddingRight",sides:["right"]},{key:"cell_paddingLeftRight",sides:["left","right"]},{key:"cell_paddingTopBottom",sides:["top","bottom"]}].forEach(({key:c,sides:d})=>{e[c]!==void 0&&(t=r.parseTableElementToModel(o),l=r.updateCellPaddingByIds(t,n,d,e[c]))}),e.cell_padding&&(t=r.parseTableElementToModel(o),l=r.updateCellPaddingByIds(t,n,["top"],e.cell_padding.top),l=r.updateCellPaddingByIds(l,n,["bottom"],e.cell_padding.bottom),l=r.updateCellPaddingByIds(l,n,["left"],e.cell_padding.left),l=r.updateCellPaddingByIds(l,n,["right"],e.cell_padding.right));const s=r.addClassToCellsByIds(l,n,a.TEMPORARY_CELL_CLASS);o.innerHTML=r.tableModelToHtml(s)}function wf(e,o){if(e.collapsed)return!1;const{startContainer:t,endContainer:n}=e;return!t.isConnected||!n.isConnected?!1:o.contains(t)&&o.contains(n)}function kf(e,o,t,n,r,i,l){const s=[a.CLASS_FOR_BASIC_CELL,a.CLASS_BACKGROUND_ACTIVE_CELL],c=window.getSelection();if(!c||c.rangeCount===0)return;const d=c.getRangeAt(0).cloneRange();if(t.querySelector(".remove-basic-cell")&&(r=l.getCellsWithClasses(n,s),l.state.set("activeCell",r),document.querySelectorAll(`.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}`).forEach(g=>{g.classList.remove(a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR)})),!r.length)return;if(r.length===1){const g=t.querySelector(`td.${a.CLASS_BACKGROUND_ACTIVE_CELL}, td.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR}, td.${a.CLASS_FOR_BASIC_CELL}`),m=g?.querySelector(":scope > div")??g?.querySelector(":scope > editor > div");if(m){if(l.wrapEditor(m,!0),l.textStyleProperties.some(f=>Object.prototype.hasOwnProperty.call(e,f))){if(wf(d,m))l.addNewRange(d);else{const f=document.createRange();f.selectNodeContents(m),l.addNewRange(f)}try{l.toggleTextStyle(m,{settings:e})}catch{}}if(o==="linkHref"&&typeof e.linkHref=="string"){const f=m.tagName==="A"?m:m.querySelector("a");f&&f.setAttribute("href",e.linkHref)}o==="textAlign"&&(e.textAlign?m.setAttribute("align",e.textAlign):i?.style?.textAlign?i.style.removeProperty("text-align"):m.removeAttribute("align")),e.valign?m.closest("td")?.setAttribute("valign",e.valign):e.valign===""&&m.closest("td")?.removeAttribute("valign");return}}n=l.parseTableElementToModel(t);const u=l.addClassToCellsByIds(n,r,a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR);t.innerHTML=l.tableModelToHtml(u),t.querySelectorAll(`td.${a.TEMPORARY_ACTIVE_CELL_BACKGROUND_COLOR} > div`).forEach(g=>{l.wrapEditor(g,!0);const m=c.getRangeAt(0);if(m.selectNode(g),l.addNewRange(m),l.textStyleProperties.some(f=>Object.prototype.hasOwnProperty.call(e,f)))try{l.toggleTextStyle(g,{settings:e})}catch{}if(o==="linkHref"&&typeof e.linkHref=="string"){const f=g.tagName==="A"?g:g.querySelector("a");f&&f.setAttribute("href",e.linkHref)}o==="textAlign"&&(e.textAlign?g.setAttribute("align",e.textAlign):i?.style?.textAlign?i.style.removeProperty("text-align"):g.removeAttribute("align")),e.valign?g.closest("td")?.setAttribute("valign",e.valign):e.valign===""&&g.closest("td")?.removeAttribute("valign")})}function _f(e,o){document.querySelectorAll(`.${a.CLASS_FOR_BASIC_CELL}`).forEach(r=>{r.classList.remove(a.CLASS_FOR_BASIC_CELL)}),document.querySelectorAll(`.${a.CLASS_BACKGROUND_ACTIVE_CELL}`).forEach(r=>{r.classList.remove(a.CLASS_BACKGROUND_ACTIVE_CELL)});let t=o.parseTableElementToModel(e);e.getAttribute("style")?.includes("border-collapse:")&&(t=o.removeOuterBorders(t)),e.getAttribute("class")?.includes("em-mob-border_")&&(t=o.removeOuterBorders(t)),t=o.simplifyBorders(t),e.innerHTML=o.tableModelToHtml(t);const n=e.querySelectorAll(`.${a.TEMPORARY_CELL_CLASS}`);n.length>0&&(n[0].setAttribute("em-edit",""),n.forEach(r=>{r.classList.remove(a.TEMPORARY_CELL_CLASS)})),o.commit()}function Nf(e,o){let t=!1;const{activeElement:n}=o;if(typeof e.linkHref=="string"&&Mf(e.linkHref,o),o.textStyleProperties.some(r=>e.hasOwnProperty(r)))try{o.toggleTextStyle(n,{settings:e})}catch{}if(e.mobileFontSize){const r=n.closest('[class*="em-mob-font_size"]')||n.closest('[style*="font-size"]');o.setElementMobileFontSize({settings:e,elem:r}),t=!0}if(e.mobileLineHeight){const r=n.closest('[class*="em-mob-line_height"]')||n.closest('[style*="line-height"]');o.setElementMobileLineHeight({settings:e,elem:r}),t=!0}return e.textAlign!==void 0&&Rf(e.textAlign,n),e.mobileTextAlign&&(Pf(e,n,o),t=!0),(typeof e.textSuperscript=="boolean"||typeof e.textSubscript=="boolean")&&o.handleTextScriptSettings(e,{unwrapNestedTags:o.unwrapNestedTags,wrapInTag:o.wrapInTag,unwrapTag:o.unwrapTag,isRangeMatching:o.isRangeMatching,splitWrapper:o.splitWrapper,cleanEmptyTags:o.cleanEmptyTags,applicationElementSettingsSet:o.applicationElementSettingsSet,commit:o.commit}),e.textAnchor!==void 0&&o.handleTextAnchor(e.textAnchor,{activeElement:n,commit:o.commit}),e.textReplacer!==void 0&&o.handleTextReplacer(e.textReplacer,{activeElement:n,compareStrings:o.compareStrings}),(e.hasOwnProperty("listUL")||e.hasOwnProperty("listOL"))&&Bf(e,n),o.isElementList&&Hf(e,o),t}function Bf(e,o){const t=a.STANDARD_LIST_CONTAINER_TAGS.includes(o.tagName)?o:o.closest(a.STANDARD_LIST_CONTAINER_SELECTOR);if(!t)return;const n=e.listOL!==void 0;(n?e.listOL:e.listUL)?Vi(t,n):Yi(t)}function Mf(e,o){let t=document.querySelector("[em-edit]");if(!t)return;let n=t.tagName==="A"?t:t.closest("a"),r=t.closest(".alignment")||t.closest(".button_block")||t.closest("td");if(r||(r=t.closest("div, p, td, h1, h2, h3, h4, h5, h6, li, ul, ol, a, sup, sub"),r||(r=document.querySelector("td")?.closest("div, p, td")||null)),!n&&r&&(n=r.querySelector("a")),n&&(n.setAttribute("href",e),At(e)&&n.removeAttribute("target")),r){const i=o.collectVMLContent(r);if(i){const l=document.createElement("div");l.innerHTML=i;const s=l.querySelector("v\\:roundrect"),c=l.querySelector("a");(s||c)&&(s&&s.setAttribute("href",e),c&&c.setAttribute("href",e),o.updateVMLComments(r,l.innerHTML))}}}function Rf(e,o){const t=vt(o);t&&(e?t.style.textAlign?t.style.textAlign=e:t.setAttribute("align",e):t.style.textAlign?t.style.removeProperty("text-align"):t.removeAttribute("align"))}function Pf(e,o,t){const n=vt(o);if(!n)return;const r=e.mobileTextAlign?.classNamePrefix||"em-mob-text_align-";Ji(o,n,r),t.setElementMobileAlign({settings:e,elem:n,fieldName:"mobileTextAlign"})}function Hf(e,o){const{activeElement:t,classNameOl:n,classNameUl:r}=o,i=t.closest(`table.${n}`)||t.closest(`table.${r}`);if(!i)return;const l=i.outerHTML,s=o.removeEditorTags(l);e.SpacingBetweenParagraphs&&(i.innerHTML=o.updateTableStyle(s,"padding-bottom",e.SpacingBetweenParagraphs)),e.SpacingBetweenBulletsAndText&&(i.innerHTML=o.updateTableStyle(s,"padding-left",e.SpacingBetweenBulletsAndText)),e.BulletType&&(i.innerHTML=o.changeBullets(s,e.BulletType)),e.ColorBullets&&(i.innerHTML=o.changeBulletsColor(s,e.ColorBullets)),e.BulletsSize&&(i.innerHTML=o.changeBulletsSize(s,e.BulletsSize)),e.hasOwnProperty("BulletTextItalic")&&(i.innerHTML=o.changeBulletsItalic(s,e.BulletTextItalic)),e.hasOwnProperty("BulletTextStrong")&&(i.innerHTML=o.changeBulletsWeight(s,e.BulletTextStrong)),e.hasOwnProperty("BulletTextStrikethrough")&&(i.innerHTML=o.changeBulletsStrikethrough(s,e.BulletTextStrikethrough)),e.hasOwnProperty("BulletTextUnderline")&&(i.innerHTML=o.changeBulletsUnderline(s,e.BulletTextUnderline)),e.hasOwnProperty("BulletsFontFamily")&&o.isElementListOL&&(i.innerHTML=If(e.BulletsFontFamily,s,o));let c=o.findElementWithSelectedText(t.textContent||"",i);c===null&&(c=i),c.hasAttribute("em-edit")||c.setAttribute("em-edit","active"),o.commit()}function If(e,o,t){const n=document.createElement("div");n.innerHTML=o;const r=n.querySelector("table.em-element-list-ol");return r?(r.querySelectorAll("tr").forEach(i=>{const l=i.querySelector("td:first-child > div");l&&(e?e[0]==="Safe Fonts"?(l.style.fontFamily=e[1],t.removeClassesByPrefix(l,"em-font"),t.clearLinkTags({elem:document.head})):e[0]==="Google Fonts"&&(e[1]==="Sans Serif"?l.style.fontFamily="Helvetica, Arial, sans-serif":e[1]==="Serif"?l.style.fontFamily='"Times New Roman", Times, serif':e[1]==="Project Fonts"&&a.applyProjectFontInlineFallback(l,e[2]),t.removeClassesByPrefix(l,"em-font"),l.classList.add(t.createFontClassName(e)),a.markProjectFontClass(l,e),t.addFontFamilyClass({fontFamilyArray:e})):l.style.removeProperty("font-family"))}),n.innerHTML):o}function Of(e,o){let t=!1;const{activeElement:n}=o;if(e.link!==void 0){const r=o.getActiveEditElement();if(!r)return t;if(e.link!==""){const i=r.closest("a");if(i)i.setAttribute("href",e.link);else{const l=document.createElement("a");l.setAttribute("href",e.link),l.setAttribute("target","_blank"),r.parentNode?.insertBefore(l,r),l.appendChild(r),o.setCursorPosition(l)}}else{const i=r.closest("a");i&&(i.replaceWith(...i.childNodes),o.setCursorPosition(r))}}if(e.src!==void 0&&a.isSrcElement(n)&&a.setRenderedAttribute(n,"src",e.src??""),e.src!==void 0&&Dn(),e.alt!==void 0&&n.setAttribute("alt",e.alt),e.title?n.setAttribute("title",e.title):e.title===""&&n.removeAttribute("title"),e.border&&o.setElementBorder({settings:e,elem:n}),e.boxShadow&&o.setElementBoxShadow({settings:e,elem:n}),e.align&&e.align!=="undefined"?n.closest("div, p, td")?.setAttribute("align",e.align):e.align===""&&n.closest("div, p, td")?.removeAttribute("align"),e.valign?n.style.verticalAlign=e.valign:e.valign===""&&n.style.removeProperty("vertical-align"),e.width&&(e.width.value!==void 0&&e.width.value!==null?(n.setAttribute("width",e.width.value+(e.width.dim==="px"?"":"%")),n.style.width="100%",n.style.maxWidth=e.width.value+e.width.dim):(n.setAttribute("width","0"),n.style.width="100%",n.style.maxWidth="0")),e.height&&(e.height.value!==void 0&&e.height.value!==null?(n.setAttribute("height",e.height.value+(e.height.dim==="px"?"":"%")),n.style.height=e.height.value+e.height.dim):(n.removeAttribute("height"),n.style.removeProperty("height"))),e.borderRadius&&o.setElementBorderRadius({settings:e,elem:n}),e.mobileWidth&&(o.setElementMobileWidth({settings:e,elem:n}),t=!0),e.mobileHeight&&(o.setElementMobileHeight({settings:e,elem:n}),t=!0),e.mobileBorder&&(o.setElementMobileBorder({settings:e,elem:n}),t=!0),e.mobileBorderRadius&&(o.setElementMobileBorderRadius({settings:e,elem:n}),t=!0),e.mobileBoxShadow&&(o.setElementMobileBoxShadow({settings:e,elem:n}),t=!0),e.mobileAlign){const r=n.closest("div, p, td");r&&o.setElementMobileAlign({settings:e,elem:r}),t=!0,e.mobileAlign.value?n.style.display="inline-block":n.style.display="block"}if(e.mobileVerticalAlign&&(o.setElementMobileVerticalAlign({settings:e,elem:n}),t=!0),e.show&&(o.setElementShow({settings:e,elem:n}),t=!0),e.countdown){const r=new Image;r.onload=function(){n.setAttribute("width",String(Math.round(this.width/2))),n.style.maxWidth=Math.round(this.width/2)+"px"};const i=e.countdown?.link??"";r.src=i,a.setRenderedAttribute(n,"src",i),n.setAttribute("em-cd-settings",e.countdown.params)}if(e.video&&n.setAttribute("em-video-settings",JSON.stringify(e.video)),e.imgReplacer){const r=e.imgReplacer??"",i=n.closest("em-replace");if(i)a.setRenderedAttribute(i,"src",r);else{const l=document.createElement("em-replace");a.setRenderedAttribute(l,"src",r),n.parentNode?.insertBefore(l,n),l.appendChild(n)}}else if(e.imgReplacer===""){const r=n.closest("em-replace");r&&(r.parentNode?.insertBefore(n,r),r.remove())}return t}function xf(e,o){const{activeElement:t,textStyleProperties:n,toggleTextStyle:r}=o;if(e.href!==void 0&&(t.setAttribute("href",e.href),At(e.href)&&t.removeAttribute("target")),e.target&&!(e.href&&At(e.href))&&t.setAttribute("target",e.target),n.some(i=>e.hasOwnProperty(i)))try{r(t,{settings:e})}catch{}}function Df(e,o){const{activeElement:t,setElementMobileHeight:n}=o;let r=!1;if(e.height)if(t.tagName==="DIV"){const i=e.height.value+e.height.dim;t.style.height=i,t.style.lineHeight=i,t.style.fontSize=e.height.value>10?parseInt(e.height.value)-2+e.height.dim:"8px"}else t.tagName==="TD"&&t.setAttribute("height",String(e.height.value));return e.mobileHeight&&(n({settings:e,elem:t}),r=!0),r}function Ff(e,o){const{activeElement:t,isVariableText:n}=o,r=t.nextSibling?.nodeType===8?t.nextSibling:null;if(!r||!e.value)return;let i=e.value;i.startsWith("<!--")&&(i=i.substring(4)),i.endsWith("-->")&&(i=i.substring(0,i.length-3)),n(`<!--${i}-->`)?r.nodeValue=i:r.replaceWith(i)}function qf(e,o){const{elem:t,message:n,activateSection:r}=e;if(t.closest("table")?.parentElement?.tagName!=="BODY"){n.settings.parent=o.getElementParentCaption(t);let s=t;if(t.tagName==="IMG"){const c=t.closest('div[em="atom"]'),d=t.closest(".em-element-resize-img-container");s=c||d}else t.closest("editor")?s=t.parentElement:t.tagName==="TD"&&t.classList.contains("em-vindent")?s=t.closest(".em-vindent-table"):t.tagName==="TD"&&t.parentElement?.getAttribute("em")==="block"&&(s=t.parentElement);n.settings.nextElem=!!s?.nextElementSibling&&(!s.nextElementSibling.getAttribute("contenteditable")||s.nextElementSibling.getAttribute("contenteditable")!=="false"),n.settings.prevElem=!!s?.previousElementSibling&&(!s.previousElementSibling.getAttribute("contenteditable")||s.previousElementSibling.getAttribute("contenteditable")!=="false")}else n.settings.parent=void 0;(t.closest('div[style*="inline-block"]')||t.closest(".em-mob-wrap, .noresp-em-mob-wrap"))&&(n.settings.floatBlocks=o.getStructureColumns({elem:t})),r&&(n.settings.activateSection=r),t.classList.contains("em-mob-wrap")||t.classList.contains("noresp-em-mob-wrap")||t.parentElement?.hasAttribute("em")&&t.parentElement.getAttribute("em")==="group"&&document.querySelectorAll('[em="group"]').length===1?n.settings.deletable=!1:n.settings.deletable=!0,n.settings.usedColors=o.getUsedColors(),n.settings.path=o.getElementPath(t);const i=o.getCurrentElementPath();n.type==="button"&&(n.settings.commonStyles=o.commonStyles);const l=t?.classList;return o.ampService.hasAmp&&l&&(l.contains("em-amp-show-only")?n.settings.ampShow="amp":l.contains("em-amp-show-disabled")?n.settings.ampShow="html":n.settings.ampShow="all"),n.settings=o.mapObj.unescape(n.settings),{message:n,elementPath:i}}function Wf(e,o,t,n){let r=!1,i=!1;if(o.shouldResetProgrammaticSelection&&(i=!0,!o.settings||Object.keys(o.settings).length===0))return r=!0,{shouldReturn:r,isProgrammaticSelectionReset:i};if(o.removeEmEdit){if(n.removeAllAttributes("em-edit"),o.setEmEditOnTd){for(const l of e.querySelectorAll("[contenteditable]"))l.removeAttribute("contenteditable");e.querySelector("td")?.setAttribute("em-edit","active")}if(o.editTargetTd){const l=e.closest("table")?.closest("td");if(l)for(const s of l.querySelectorAll("[contenteditable]"))s.removeAttribute("contenteditable");o.editTargetTd.setAttribute("em-edit","active")}}return o.isNewLink&&(e.removeAttribute("new"),t.settings.isNewLink=!0,e.setAttribute("em-edit","active")),{shouldReturn:r,isProgrammaticSelectionReset:i}}function $f(e,o,t,n){if(!document.body.classList.contains("mceNonEditable")&&!(!o&&t)){if(n.removeAllAttributes("em-edit"),e.tagName!=="TABLE"){a.resolveActiveElement(e).setAttribute("em-edit","active");const r=e.closest("table");if(r){for(const s of r.querySelectorAll('[contenteditable="true"]'))s.tagName!=="EDITOR"&&s.removeAttribute("contenteditable");const i=r.querySelector("editor"),l=i?.firstChild;i?.childNodes.length===1&&l?.nodeType===1&&l?.tagName==="A"&&l?.childNodes.length===1&&l?.firstChild?.nodeType===3?l.setAttribute("contenteditable","true"):i?.setAttribute("contenteditable","true")}}[...e.parentElement?.querySelectorAll("strike, s")||[]].forEach(r=>r.style.textDecoration="line-through"),[...e.parentElement?.getElementsByTagName("u")||[]].forEach(r=>r.style.textDecoration="underline")}}function zf(e,o){const t=o.getSelectedText(),n=window.getSelection(),r=o.getRangeFromSelection(n);let i=null,l=null,s=null;function c(d){let u=d;u.nodeType===Node.TEXT_NODE&&(u=u.parentNode);const g=u?.closest("em-replace");return e?g?.textContent||null:g?.getAttribute("text")||null}return r&&(t?(l=c(r.startContainer),s=c(r.endContainer),l?.length&&s?.length&&l!==s&&(l=s=null)):i=c(r.commonAncestorContainer)),t?l||s:i}function Vf(e,o){let t=o.getVariableByIcon(e)||!o.htmlDocument.getMappedParent(e)?e:o.htmlDocument.getVisibleNode(e);if(t.closest("a")&&o.findOutermostParentWithText(t,"a")&&t.tagName!=="IMG"&&t.tagName!=="AMP-IMG"&&(t=o.findOutermostParentWithText(t,"a")),t?.closest(".em-vindent")){const n=t.closest('div[style*="height"][style*="line-height"]');n?t=n:t=t.closest("td")}return t.tagName==="DIV"&&t.closest("amp-accordion")&&setTimeout(()=>{o.sendResizeEvent()},350),(t?.closest(".em-element-resize-img")||t?.closest(".em-element-img-change-group")||t?.closest(".em-element-resize-img-container"))&&(t=t.closest(".em-element-resize-img-container").querySelector("img")),(t.tagName==="TD"&&t.classList.contains("em-mob-wrap")&&(t.cellIndex+1)%2===0||t.closest(".em-gap"))&&(t=t.closest('[em="block"] > td')),t}function Uf(e,o){const{elem:t,isCellCustomTable:n,listContext:r,requestElemBullet:i,variableElement:l}=e,{isListOL:s,isListUL:c,isList:d}=r;return{Locale:o.Locale,isProgrammaticSelection:o.isProgrammaticSelection,isCellCustomTable:n,extractorContext:{variableElement:l,requestElemBullet:i,isElementListOL:s,isElementListUL:c,isElementList:d},customTableContext:{getElementTdDiv:o.getElementTdDiv,parseTableElementToModel:o.parseTableElementToModel,extractBorderRadius:o.extractBorderRadius,parseBackgroundStyles:o.parseBackgroundStyles,getFontFamilyFromElement:o.getFontFamilyFromElement,textHasStyle:o.textHasStyle,isElementHasBold:o.isElementHasBold,getLineHeghtInPixels:o.getLineHeghtInPixels,activeCell:o.activeCell,CLASS_FOR_BASIC_CELL:o.CLASS_FOR_BASIC_CELL,requestElemWithStyle:o.requestElemWithStyle},elementContext:{getElementTdDiv:o.getElementTdDiv,getLineHeghtInPixels:o.getLineHeghtInPixels},linkTextContext:{variableElement:l,requestElemBullet:i,isElementListOL:s,isElementListUL:c,isElementList:d,findElementWithSelectedText:o.findElementWithSelectedText,selectedText:o.getSelectedText()},_isCarouselElement:o._isCarouselElement,_isAccordionElement:o._isAccordionElement,_isSocialBlockElement:o._isSocialBlockElement,_isImageElement:o._isImageElement,_isLinkElement:o._isLinkElement,_isButtonElement:o._isButtonElement,_isTableElement:o._isTableElement,_isCustomTableElement:o._isCustomTableElement,_isAtomElement:o._isAtomElement,_isTdColumnGroup:o._isTdColumnGroup,_isTdStructure:o._isTdStructure,_isEmptyTd:o._isEmptyTd,_isTdCell:o._isTdCell,_isVindentTd:o._isVindentTd,_isVindentDiv:o._isVindentDiv,_isFloatBlockElement:o._isFloatBlockElement,_isDivTextElement:o._isDivTextElement,_isInlineButtonElement:o._isInlineButtonElement,_extractTextSettings:o._extractTextSettings,_extractCarouselSettings:o._extractCarouselSettings,_extractAccordionSettings:o._extractAccordionSettings,_extractSocialSettings:o._extractSocialSettings,_extractImgSettings:o._extractImgSettings,_extractButtonSettings:o._extractButtonSettings,_extractLinkTextSettings:o._extractLinkTextSettings,_extractTableSettings:o._extractTableSettings,_extractCustomTableSettings:o._extractCustomTableSettings,_extractAtomElementSettings:o._extractAtomElementSettings,_extractProgrammaticElementSettings:o._extractProgrammaticElementSettings,_extractTdColumnGroupSettings:o._extractTdColumnGroupSettings,_extractTdStructureSettings:o._extractTdStructureSettings,_extractTdCellSettings:o._extractTdCellSettings,_extractVindentSettings:o._extractVindentSettings,_extractFloatBlockSettings:o._extractFloatBlockSettings,_extractDivContainerSettings:o._extractDivContainerSettings,_clearActiveEditElements:o._clearActiveEditElements,HTMLDocument:o.HTMLDocument,parseFromString:o.parseFromString,getParentElementOfSelection:o.getParentElementOfSelection}}function jf(e){return["EM-REPLACE","EDITOR","B","STRONG","U","S","STRIKE","SPAN","FONT","I","EM","P","A","H1","H2","H3","H4","H5","H6","SUP","SUB"].includes(e)}function Gf(e,o,t){const{Locale:n,isProgrammaticSelection:r,isCellCustomTable:i}=t;if(!o&&!e.closest("a")&&!r&&!i){let l=e;e.querySelector("editor")&&(l=t.getParentElementOfSelection());const s=t._extractTextSettings({elem:l},n,t.extractorContext);return{type:s.type,caption:s.caption,settings:s}}if(t._isCarouselElement(e)){const l=t._extractCarouselSettings({elem:e},n,{clearActiveEditElements:t._clearActiveEditElements});return{type:l.type,caption:l.caption,settings:l}}if(t._isAccordionElement(e)){const l=t._extractAccordionSettings({elem:e},n,{clearActiveEditElements:t._clearActiveEditElements,HTMLDocument:t.HTMLDocument,parseFromString:t.parseFromString});return{type:l.type,caption:l.caption,settings:l}}if(t._isSocialBlockElement(e)){const l=t._extractSocialSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(t._isImageElement(e)){const l=t._extractImgSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(t._isLinkElement(e,i)){if(t._isButtonElement(e)){const c=t._extractButtonSettings({elem:e},n),d={type:c.type,caption:c.caption,settings:c};return e.getAttribute("new")&&(d.isNewLink=!0),d}const l=t._extractLinkTextSettings({elem:e},n,t.linkTextContext),s={type:l.type,caption:l.caption,settings:l};return e.getAttribute("new")&&(s.isNewLink=!0),s}if(t._isTableElement(e)){const l=t._extractTableSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l.type!=="emptyTable"?l:{}}}if(e.tagName==="LI"&&Xt(e)){const l=t._extractTextSettings({elem:e},n,t.extractorContext);return{type:l.type,caption:l.caption,settings:l}}if(t._isCustomTableElement(e)){const l=t._extractCustomTableSettings({elem:e},n,t.customTableContext);return{type:l.type,caption:l.caption,settings:l.settings}}if(t._isAtomElement(e)){const l=t._extractAtomElementSettings({elem:e},n,t.elementContext);return{type:l.type,caption:l.caption,settings:l,removeEmEdit:!0,setEmEditOnTd:!0}}if(r){const l=t._extractProgrammaticElementSettings({elem:e},n,t.elementContext);return l.settings?{type:l.settings.type,caption:l.settings.caption,settings:l.settings,removeEmEdit:!0,editTargetTd:l.editTargetTd,shouldResetProgrammaticSelection:l.shouldResetProgrammaticSelection}:{type:null,settings:{},shouldResetProgrammaticSelection:!0}}if(t._isTdColumnGroup(e)){const l=t._extractTdColumnGroupSettings({elem:e},n,{getElementTdDiv:t.elementContext.getElementTdDiv});return{type:l.type,caption:l.caption,settings:l.settings}}if(t._isTdStructure(e)){const l=t._extractTdStructureSettings({elem:e},n,{getElementTdDiv:t.elementContext.getElementTdDiv});return{type:l.type,caption:l.caption,settings:l.settings}}if(t._isEmptyTd(e))return{type:"emptyTd",settings:{}};if(t._isTdCell(e)){const l=t._extractTdCellSettings({elem:e},n,{getElementTdDiv:t.elementContext.getElementTdDiv});return{type:l.type,caption:l.caption,settings:l.settings}}if(t._isVindentTd(e)){const l=t._extractVindentSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(t._isVindentDiv(e)){const l=t._extractVindentSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(t._isFloatBlockElement(e)){const l=t._extractFloatBlockSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(t._isDivTextElement(e)){const l=t._extractTextSettings({elem:e},n,t.extractorContext);return{type:l.type,caption:l.caption,settings:l}}if(e.tagName==="DIV"||e.tagName==="TD"&&e.firstChild?.tagName==="EDITOR"){const l=t._extractDivContainerSettings({elem:e},n,{getElementTdDiv:t.elementContext.getElementTdDiv});return{type:l.type,caption:l.caption,settings:l}}if(jf(e.tagName)&&(e.tagName!=="EM-REPLACE"||!e.closest("a"))){if(t._isInlineButtonElement(e)){const l=t._extractButtonSettings({elem:e},n);return{type:l.type,caption:l.caption,settings:l}}if(!r){const l=t._extractTextSettings({elem:e},n,t.extractorContext);return{type:l.type,caption:l.caption,settings:l}}}return{type:null,settings:{}}}function dn(e,o){o[1]==="Sans Serif"?e.style.fontFamily="Helvetica, Arial, sans-serif":o[1]==="Serif"?e.style.fontFamily='"Times New Roman", Times, serif':o[1]==="Project Fonts"&&a.applyProjectFontInlineFallback(e,o[2])}function Yf(e,o){const t=e?.toLowerCase();return t==="#ffffff"&&t!==o?.toLowerCase()}function Kf(e,o){const{lockEditor:t,commonStyles:n,globalHolder:r}=o;if(t)return;const i=document.querySelectorAll('div[style*="font-family"]');Xf(e,i,o),Zf(e,i,o),Qf(e,o),ep(e,o),rp(e,o),ip(e,o);const l={operation:"application_commonStyles_update",settings:{commonStyles:n}};o.messageService.send(l)}function Xf(e,o,t){const{commonStyles:n,rgbToHex:r}=t;if(e.textFontFamily!==void 0){let i=[];o.forEach(l=>{const s=l;let c;!s.style.display&&parseFloat(s.style.fontSize)<=20&&(i=e.textFontFamily,i[0]==="Safe Fonts"?(s.style.fontFamily=i[1],(c=[...s.classList].filter(d=>d.startsWith("em-font-"))[0])&&(s.classList.remove(c),n.text.fontFamily?.[2]&&t.clearLinkTags({elem:document.head,fontFamilyClassName:a.buildEmFontClassName(n.text.fontFamily[2],n.text.fontFamily[3])}),t.clearProjectFontFaces())):i[0]==="Google Fonts"&&(dn(s,i),t.removeClassesByPrefix(s,"em-font"),s.classList.add(t.createFontClassName(i)),a.markProjectFontClass(s,i)))}),i.length>0&&i[0]==="Google Fonts"&&t.addFontFamilyClass({fontFamilyArray:i}),t.clearProjectFontFaces(),n.text.fontFamily=e.textFontFamily}e.textFontSize!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)<=20&&parseFloat(l.style.fontSize)>14&&(l.style.fontSize=e.textFontSize+"px")}),n.text.fontSize=e.textFontSize),e.textLineHeight!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)<=20&&parseFloat(l.style.fontSize)>14&&(l.style.lineHeight=e.textLineHeight+"px")}),n.text.lineHeight=e.textLineHeight),e.textColor!==void 0&&(o.forEach(i=>{const l=i;!l.closest(".em-contrast-block")&&!l.style.display&&parseFloat(l.style.fontSize)<=20&&!Yf(r(l.style.color),r(n.text.color))&&(l.style.color=e.textColor)}),n.text.color=e.textColor),e.textContrastColor!==void 0&&(o.forEach(i=>{const l=i;l.closest(".em-contrast-block")&&!l.style.display&&parseFloat(l.style.fontSize)<=20&&(l.style.color=e.textContrastColor)}),n.text.contrastColor=e.textContrastColor),e.textPaddingBottom!==void 0&&(o.forEach(i=>{const l=i;if(l.closest('[em="atom"]')){if(!l.style.display&&parseFloat(l.style.fontSize)<=20&&l.closest("table")?.getAttribute("em")=="atom"){const s=l.closest('[em="atom"]')?.querySelector(":scope > tr > td, :scope > tbody > tr > td");s&&(s.style.paddingBottom=e.textPaddingBottom+"px",s.querySelector(":scope > .em-vindent-paddingBottom")?.remove())}}else if(l.nextElementSibling){const s=l.nextElementSibling;if(!l.style.display&&parseFloat(l.style.fontSize)<=20&&l.parentElement?.getAttribute("em")=="atom"&&s&&s.tagName=="TABLE"&&(s.classList.contains("em-vindent-table")||s.querySelector("td")?.innerHTML=="")){s.querySelector("td")?.setAttribute("height",e.textPaddingBottom);const c=s.querySelector(".em-element-vindent-value");c&&(c.innerHTML=e.textPaddingBottom+"px",e.textPaddingBottom<30?s.querySelector(".em-vindent")?.classList.add("em-vindent_low"):s.querySelector(".em-vindent")?.classList.remove("em-vindent_low"))}}}),n.text.paddingBottom=e.textPaddingBottom)}function Zf(e,o,t){const{commonStyles:n,rgbToHex:r}=t;if(e.headingFontFamily!==void 0){let i=[];o.forEach(l=>{const s=l;let c;!s.style.display&&parseFloat(s.style.fontSize)>20&&r(s.style.color).toLowerCase()!=="#eb3737"&&(i=e.headingFontFamily,i[0]==="Safe Fonts"?(s.style.fontFamily=i[1],(c=[...s.classList].filter(d=>d.startsWith("em-font-"))[0])&&(s.classList.remove(c),n.headings.fontFamily?.[2]&&t.clearLinkTags({elem:document.head,fontFamilyClassName:a.buildEmFontClassName(n.headings.fontFamily[2],n.headings.fontFamily[3])}),t.clearProjectFontFaces())):i[0]==="Google Fonts"&&(dn(s,i),t.removeClassesByPrefix(s,"em-font"),s.classList.add(t.createFontClassName(i)),a.markProjectFontClass(s,i)))}),i.length>0&&i[0]==="Google Fonts"&&t.addFontFamilyClass({fontFamilyArray:i}),t.clearProjectFontFaces(),n.headings.fontFamily=e.headingFontFamily}e.headingFontSize!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)>=20&&r(l.style.color).toLowerCase()!=="#eb3737"&&parseFloat(l.style.fontSize)<=40&&(l.style.fontSize=e.headingFontSize+"px")}),n.headings.fontSize=e.headingFontSize),e.headingLineHeight!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&parseFloat(l.style.fontSize)<=40&&(l.style.lineHeight=e.headingLineHeight+"px")}),n.headings.lineHeight=e.headingLineHeight),e.headingLetterSpacing!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&(e.headingLetterSpacing>0?l.style.letterSpacing=e.headingLetterSpacing+"px":l.style.removeProperty("letter-spacing"))}),n.headings.letterSpacing=e.headingLetterSpacing),e.headingBold!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&(e.headingBold?l.querySelector("b")?l.querySelector("b").replaceWith(...l.querySelector("b").childNodes):l.querySelector("strong")||(l.innerHTML="<strong>"+l.innerHTML+"</strong>"):l.querySelector("strong")?l.querySelector("strong").replaceWith(...l.querySelector("strong").childNodes):l.querySelector("b")&&l.querySelector("b").replaceWith(...l.querySelector("b").childNodes),l.style.fontWeight&&l.style.removeProperty("font-weight"))}),n.headings.bold=e.headingBold),e.headingItalic!==void 0&&(o.forEach(i=>{const l=i;!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&(e.headingItalic?l.querySelector("i")?l.querySelector("i").replaceWith(...l.querySelector("i").childNodes):l.querySelector("em")||(l.innerHTML="<em>"+l.innerHTML+"</em>"):l.querySelector("em")?l.querySelector("em").replaceWith(...l.querySelector("em").childNodes):l.querySelector("i")&&l.querySelector("i").replaceWith(...l.querySelector("i").childNodes),l.style.fontStyle&&l.style.removeProperty("font-style"))}),n.headings.italic=e.headingItalic),e.headingColor!==void 0&&(o.forEach(i=>{const l=i;!l.closest(".em-contrast-block")&&!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&(l.style.color=e.headingColor)}),n.headings.color=e.headingColor),e.headingContrastColor!==void 0&&(o.forEach(i=>{const l=i;l.closest(".em-contrast-block")&&!l.style.display&&parseFloat(l.style.fontSize)>20&&(l.style.color=e.headingContrastColor)}),n.headings.contrastColor=e.headingContrastColor),Jf(e,o,t),e.blockDarkBackgroundColor!==void 0&&(n.block.darkBackgroundColor=e.blockDarkBackgroundColor)}function Jf(e,o,t){const{commonStyles:n,rgbToHex:r}=t;e.headingPaddingTop!==void 0&&(o.forEach(i=>{const l=i;if(l.closest('[em="atom"]')){if(!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&l.closest("table")?.getAttribute("em")=="atom"){const s=l.closest('[em="atom"]')?.querySelector(":scope > tr > td, :scope > tbody > tr > td");s&&(s.style.paddingTop=e.headingPaddingTop+"px",s.querySelector(":scope > .em-vindent-paddingTop")?.remove())}}else if(l.previousElementSibling){const s=l.previousElementSibling;if(!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&l.parentElement?.getAttribute("em")=="atom"&&s&&s.tagName=="TABLE"&&(s.classList.contains("em-vindent-table")||s.querySelector("td")?.innerHTML=="")){s.querySelector("td")?.setAttribute("height",e.headingPaddingTop);const c=s.querySelector(".em-element-vindent-value");c&&(c.innerHTML=e.headingPaddingTop+"px",e.headingPaddingTop<30?s.querySelector(".em-vindent")?.classList.add("em-vindent_low"):s.querySelector(".em-vindent")?.classList.remove("em-vindent_low"))}}}),n.headings.paddingTop=e.headingPaddingTop),e.headingPaddingBottom!==void 0&&(document.querySelectorAll('div[style*="font-family"]').forEach(i=>{const l=i,s=l.closest('[em="atom"]');if(s){const c=s.querySelector(":scope > tr > td, :scope > tbody > tr > td");c?.style.paddingBottom&&!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&l.closest("table")?.getAttribute("em")=="atom"&&(c.style.paddingBottom=e.headingPaddingBottom+"px",c.querySelector(":scope > .em-vindent-paddingBottom")?.remove())}else if(l.nextElementSibling){const c=l.nextElementSibling;if(!l.style.display&&parseFloat(l.style.fontSize)>20&&r(l.style.color).toLowerCase()!=="#eb3737"&&l.parentElement?.getAttribute("em")=="atom"&&c&&c.tagName=="TABLE"&&(c.classList.contains("em-vindent-table")||c.querySelector("td")?.innerHTML=="")){c.querySelector("td")?.setAttribute("height",e.headingPaddingBottom);const d=c.querySelector(".em-element-vindent-value");d&&(d.innerHTML=e.headingPaddingBottom+"px",e.headingPaddingBottom<30?c.querySelector(".em-vindent")?.classList.add("em-vindent_low"):c.querySelector(".em-vindent")?.classList.remove("em-vindent_low"))}}}),n.headings.paddingBottom=e.headingPaddingBottom)}function Qf(e,o){const{commonStyles:t}=o,n=document.querySelectorAll('a[style*="color"]');e.linkColor!==void 0&&(n.forEach(r=>{const i=r;!i.closest(".em-contrast-block")&&!i.style.display&&(i.style.color=e.linkColor)}),t.links.color=e.linkColor),e.linkContrastColor!==void 0&&(n.forEach(r=>{const i=r;i.closest(".em-contrast-block")&&!i.style.display&&(i.style.color=e.linkContrastColor)}),t.links.contrastColor=e.linkContrastColor),e.linkUnderline!==void 0&&(n.forEach(r=>{const i=r;if(!i.style.display){i.style.textDecoration=e.linkUnderline?"underline":"none";const l=i.parentElement;l&&l.tagName=="SPAN"&&l.style.textDecoration=="underline"&&l.replaceWith(...l.childNodes)}}),t.links.underline=e.linkUnderline)}function ep(e,o){const{commonStyles:t}=o,n=document.querySelectorAll('a[style*="font-family"]');if(e.buttonsFontFamily!==void 0){let r=[];n.forEach(i=>{const l=i;let s;l.style.display&&l.style.display=="block"&&(r=e.buttonsFontFamily,r[0]==="Safe Fonts"?(l.style.fontFamily=r[1],(s=[...l.classList].filter(c=>c.startsWith("em-font-"))[0])&&(l.classList.remove(s),t.buttons.fontFamily?.[2]&&o.clearLinkTags({elem:document.head,fontFamilyClassName:a.buildEmFontClassName(t.buttons.fontFamily[2],t.buttons.fontFamily[3])}),o.clearProjectFontFaces())):r[0]==="Google Fonts"&&(dn(l,r),o.removeClassesByPrefix(l,"em-font"),l.classList.add(o.createFontClassName(r)),a.markProjectFontClass(l,r)))}),r.length>0&&r[0]==="Google Fonts"&&o.addFontFamilyClass({fontFamilyArray:r}),o.clearProjectFontFaces(),t.buttons.fontFamily=e.buttonsFontFamily}e.buttonsFontSize!==void 0&&(n.forEach(r=>{const i=r;i.style.display&&i.style.display=="block"&&(i.style.fontSize=e.buttonsFontSize+"px")}),t.buttons.fontSize=e.buttonsFontSize),e.buttonsLetterSpacing!==void 0&&(n.forEach(r=>{const i=r;i.style.display&&i.style.display=="block"&&(e.buttonsLetterSpacing>0?i.style.letterSpacing=e.buttonsLetterSpacing+"px":i.style.removeProperty("letter-spacing"))}),t.buttons.letterSpacing=e.buttonsLetterSpacing),tp(e,n,o),op(e,n,o),np(e,n,o)}function tp(e,o,t){const{commonStyles:n}=t;e.buttonsColor!==void 0&&(o.forEach(r=>{const i=r;!i.closest(".em-contrast-block")&&i.style.display&&i.style.display=="block"&&(i.style.color=e.buttonsColor)}),n.buttons.color=e.buttonsColor),e.buttonsContrastColor!==void 0&&(o.forEach(r=>{const i=r;i.closest(".em-contrast-block")&&i.style.display&&i.style.display=="block"&&(i.style.color=e.buttonsContrastColor)}),n.buttons.contrastColor=e.buttonsContrastColor),e.buttonsBold!==void 0&&(o.forEach(r=>{const i=r;i.style.display&&i.style.display=="block"&&(e.buttonsBold?i.querySelector("b")?i.querySelector("b").replaceWith(...i.querySelector("b").childNodes):i.querySelector("strong")||(i.innerHTML="<strong>"+i.innerHTML+"</strong>"):i.querySelector("strong")?i.querySelector("strong").replaceWith(...i.querySelector("strong").childNodes):i.querySelector("b")&&i.querySelector("b").replaceWith(...i.querySelector("b").childNodes),i.style.fontWeight&&i.style.removeProperty("font-weight"))}),n.buttons.bold=e.buttonsBold),e.buttonsItalic!==void 0&&(o.forEach(r=>{const i=r;i.style.display&&i.style.display=="block"&&(e.buttonsItalic?i.querySelector("i")?i.querySelector("i").replaceWith(...i.querySelector("i").childNodes):i.querySelector("em")||(i.innerHTML="<em>"+i.innerHTML+"</em>"):i.querySelector("em")?i.querySelector("em").replaceWith(...i.querySelector("em").childNodes):i.querySelector("i")&&i.querySelector("i").replaceWith(...i.querySelector("i").childNodes),i.style.fontStyle&&i.style.removeProperty("font-style"))}),n.buttons.italic=e.buttonsItalic),e.buttonsBackgroundColor!==void 0&&(o.forEach(r=>{const i=r;if(!i.closest(".em-contrast-block")&&i.style.display&&i.style.display=="block"){const l=i.closest("td");l&&(l.getAttribute("bgcolor")&&(e.buttonsBackgroundColor?l.setAttribute("bgcolor",e.buttonsBackgroundColor):l.removeAttribute("bgcolor")),e.buttonsBackgroundColor?l.style.backgroundColor=e.buttonsBackgroundColor:l.style.removeProperty("background-color"))}}),n.buttons.backgroundColor=e.buttonsBackgroundColor),e.buttonsContrastBackgroundColor!==void 0&&(o.forEach(r=>{const i=r;if(i.closest(".em-contrast-block")&&i.style.display&&i.style.display=="block"){const l=i.closest("td");l&&(l.getAttribute("bgcolor")&&(e.buttonsContrastBackgroundColor?l.setAttribute("bgcolor",e.buttonsContrastBackgroundColor):l.removeAttribute("bgcolor")),e.buttonsContrastBackgroundColor?l.style.backgroundColor=e.buttonsContrastBackgroundColor:l.style.removeProperty("background-color"))}}),n.buttons.contrastBackgroundColor=e.buttonsContrastBackgroundColor),e.buttonsAlign!==void 0&&(o.forEach(r=>{const i=r;i.style.display&&i.style.display=="block"&&i.closest("td")?.setAttribute("align",e.buttonsAlign)}),n.buttons.textAlign=e.buttonsAlign)}function op(e,o,t){const{commonStyles:n}=t;e.buttonsMarginTop!==void 0&&(o.forEach(r=>{const i=r,l=i.closest('[em="atom"]');if(l){const s=l.querySelector(":scope > tr > td, :scope > tbody > tr > td");s?.style.paddingTop&&i.style.display&&i.style.display=="block"&&(s.style.paddingTop=e.buttonsMarginTop+"px",s.querySelector(":scope > .em-vindent-paddingTop")?.remove())}else{const s=i.closest("table");if(s?.previousElementSibling){const c=s.previousElementSibling,d=i.closest("div");if(i.style.display&&i.style.display=="block"&&d&&d.getAttribute("em")=="atom"&&c&&c.tagName=="TABLE"&&(c.classList.contains("em-vindent-table")||c.querySelector("td")?.innerHTML=="")){c.querySelector("td")?.setAttribute("height",e.buttonsMarginTop);const u=c.querySelector(".em-element-vindent-value");u&&(u.innerHTML=e.buttonsMarginTop+"px",e.buttonsMarginTop<30?c.querySelector(".em-vindent")?.classList.add("em-vindent_low"):c.querySelector(".em-vindent")?.classList.remove("em-vindent_low"))}}}}),n.buttons.marginTop=e.buttonsMarginTop),e.buttonsMarginBottom!==void 0&&(o.forEach(r=>{const i=r,l=i.closest('[em="atom"]');if(l){const s=l.querySelector(":scope > tr > td, :scope > tbody > tr > td");s?.style.paddingBottom&&i.style.display&&i.style.display=="block"&&(s.style.paddingBottom=e.buttonsMarginBottom+"px",s.querySelector(":scope > .em-vindent-paddingBottom")?.remove())}else{const s=i.closest("table");if(s?.previousElementSibling){const c=s.nextElementSibling,d=i.closest("div");if(i.style.display&&i.style.display=="block"&&d&&d.getAttribute("em")=="atom"&&c&&c.tagName=="TABLE"&&(c.classList.contains("em-vindent-table")||c.querySelector("td")?.innerHTML=="")){c.querySelector("td")?.setAttribute("height",e.buttonsMarginBottom);const u=c.querySelector(".em-element-vindent-value");u&&(u.innerHTML=e.buttonsMarginBottom+"px",e.buttonsMarginBottom<30?c.querySelector(".em-vindent")?.classList.add("em-vindent_low"):c.querySelector(".em-vindent")?.classList.remove("em-vindent_low"))}}}}),n.buttons.marginBottom=e.buttonsMarginBottom)}function np(e,o,t){const{commonStyles:n,setElementBorder:r,setElementBorderRadius:i}=t;e.buttonsBorder!==void 0&&(o.forEach(l=>{const s=l;if(s.style.display&&s.style.display=="block"){const c=s.closest("td");c&&r({settings:{border:e.buttonsBorder},elem:c})}}),e.buttonsBorder.all!==void 0&&(n.buttons.border.all=e.buttonsBorder.all),e.buttonsBorder.top!==void 0&&(n.buttons.border.top=e.buttonsBorder.top),e.buttonsBorder.right!==void 0&&(n.buttons.border.right=e.buttonsBorder.right),e.buttonsBorder.bottom!==void 0&&(n.buttons.border.bottom=e.buttonsBorder.bottom),e.buttonsBorder.left!==void 0&&(n.buttons.border.left=e.buttonsBorder.left)),e.buttonsBorderRadius!==void 0&&(o.forEach(l=>{const s=l;if(s.style.display&&s.style.display=="block"){const c=s.closest("td");c&&i({settings:{borderRadius:e.buttonsBorderRadius},elem:c})}}),e.buttonsBorderRadius.all!==void 0&&(n.buttons.borderRadius.all=e.buttonsBorderRadius.all),e.buttonsBorderRadius.topLeft!==void 0&&(n.buttons.borderRadius.topLeft=e.buttonsBorderRadius.topLeft),e.buttonsBorderRadius.topRight!==void 0&&(n.buttons.borderRadius.topRight=e.buttonsBorderRadius.topRight),e.buttonsBorderRadius.bottomRight!==void 0&&(n.buttons.borderRadius.bottomRight=e.buttonsBorderRadius.bottomRight),e.buttonsBorderRadius.bottomLeft!==void 0&&(n.buttons.borderRadius.bottomLeft=e.buttonsBorderRadius.bottomLeft)),e.buttonsPadding!==void 0&&(o.forEach(l=>{const s=l;s.style.display&&s.style.display=="block"&&(e.buttonsPadding.all!==void 0?(s.style.paddingTop=e.buttonsPadding.all+"px",s.style.paddingRight=e.buttonsPadding.all+"px",s.style.paddingBottom=e.buttonsPadding.all+"px",s.style.paddingLeft=e.buttonsPadding.all+"px"):((e.buttonsPadding.top!==void 0||e.buttonsPadding.top==0)&&(s.style.paddingTop=e.buttonsPadding.top+"px"),(e.buttonsPadding.right!==void 0||e.buttonsPadding.right==0)&&(s.style.paddingRight=e.buttonsPadding.right+"px"),(e.buttonsPadding.bottom!==void 0||e.buttonsPadding.bottom==0)&&(s.style.paddingBottom=e.buttonsPadding.bottom+"px"),(e.buttonsPadding.left!==void 0||e.buttonsPadding.left==0)&&(s.style.paddingLeft=e.buttonsPadding.left+"px")))}),e.buttonsPadding.all!==void 0&&(n.buttons.padding={all:e.buttonsPadding.all}),e.buttonsPadding.top!==void 0&&(n.buttons.padding={top:e.buttonsPadding.top}),e.buttonsPadding.right!==void 0&&(n.buttons.padding={right:e.buttonsPadding.right}),e.buttonsPadding.bottom!==void 0&&(n.buttons.padding={bottom:e.buttonsPadding.bottom}),e.buttonsPadding.left!==void 0&&(n.buttons.padding={left:e.buttonsPadding.left}))}function rp(e,o){const{commonStyles:t,setElementBorder:n,setElementBorderRadius:r}=o;t.cards||(t.cards={});const i=document.querySelectorAll(".em-contrast-card");e.cardsContrastBackgroundColor!==void 0&&(i.forEach(c=>{const d=c;d.getAttribute("bgcolor")&&(e.cardsContrastBackgroundColor?d.setAttribute("bgcolor",e.cardsContrastBackgroundColor):d.removeAttribute("bgcolor")),e.cardsContrastBackgroundColor?d.style.backgroundColor=e.cardsContrastBackgroundColor:d.style.removeProperty("background-color")}),t.cards.contrastBackgroundColor=e.cardsContrastBackgroundColor),e.cardsContrastTextColor!==void 0&&(i.forEach(c=>{c.querySelectorAll('div[style*="font-family"], span[style*="font-family"]').forEach(d=>{d.style.color=e.cardsContrastTextColor})}),t.cards.contrastTextColor=e.cardsContrastTextColor);const l=document.querySelectorAll(".em-card");e.cardsBaseBackgroundColor!==void 0&&(l.forEach(c=>{const d=c;d.getAttribute("bgcolor")&&(e.cardsBaseBackgroundColor?d.setAttribute("bgcolor",e.cardsBaseBackgroundColor):d.removeAttribute("bgcolor")),e.cardsBaseBackgroundColor?d.style.backgroundColor=e.cardsBaseBackgroundColor:d.style.removeProperty("background-color")}),t.cards.baseBackgroundColor=e.cardsBaseBackgroundColor),e.cardsBaseTextColor!==void 0&&(l.forEach(c=>{c.querySelectorAll('div[style*="font-family"], span[style*="font-family"]').forEach(d=>{d.style.color=e.cardsBaseTextColor})}),t.cards.baseTextColor=e.cardsBaseTextColor);const s=document.querySelectorAll(".em-card, .em-contrast-card");e.cardsBorderRadius!==void 0&&(t.cards.borderRadius||(t.cards.borderRadius={}),s.forEach(c=>{r({settings:{borderRadius:e.cardsBorderRadius},elem:c})}),e.cardsBorderRadius.all!==void 0&&(t.cards.borderRadius.all=e.cardsBorderRadius.all),e.cardsBorderRadius.topLeft!==void 0&&(t.cards.borderRadius.topLeft=e.cardsBorderRadius.topLeft),e.cardsBorderRadius.topRight!==void 0&&(t.cards.borderRadius.topRight=e.cardsBorderRadius.topRight),e.cardsBorderRadius.bottomRight!==void 0&&(t.cards.borderRadius.bottomRight=e.cardsBorderRadius.bottomRight),e.cardsBorderRadius.bottomLeft!==void 0&&(t.cards.borderRadius.bottomLeft=e.cardsBorderRadius.bottomLeft)),e.cardsBorder!==void 0&&(t.cards.border||(t.cards.border={}),s.forEach(c=>{n({settings:{border:e.cardsBorder},elem:c})}),e.cardsBorder.all&&(t.cards.border.all=e.cardsBorder.all),e.cardsBorder.top&&(t.cards.border.top=e.cardsBorder.top),e.cardsBorder.right&&(t.cards.border.right=e.cardsBorder.right),e.cardsBorder.bottom&&(t.cards.border.bottom=e.cardsBorder.bottom),e.cardsBorder.left&&(t.cards.border.left=e.cardsBorder.left))}function ip(e,o){const{commonStyles:t,globalHolder:n}=o;if(!n)return;const r=n.classList.contains("full-wrap")?n.querySelector("td"):n;if(!r)return;(e.blockBackgroundColor!==void 0||e.blockBackgroundColor==="")&&fi(e.blockBackgroundColor,r,!1,t),(e.blockContrastBackgroundColor!==void 0||e.blockContrastBackgroundColor==="")&&fi(e.blockContrastBackgroundColor,r,!0,t);const i=document.querySelectorAll('[em="block"] > td');if(e.blockPadding!==void 0){const l=e.blockPadding;t.block||(t.block={}),t.block.padding||(t.block.padding={});const s=l.left!==void 0||l.right!==void 0;i.forEach(c=>{const d=c;l.top!==void 0&&(d.style.paddingTop=`${l.top}px`),l.right!==void 0&&(d.style.paddingRight=`${l.right}px`),l.bottom!==void 0&&(d.style.paddingBottom=`${l.bottom}px`),l.left!==void 0&&(d.style.paddingLeft=`${l.left}px`)}),["top","right","bottom","left"].forEach(c=>{l[c]!==void 0&&(t.block.padding[c]=l[c])}),s&&i.forEach(c=>{const d=c,u=d.querySelector(".em-mob-wrap"),g=d.parentElement?.getAttribute("em")==="block";u&&g&&d.querySelectorAll(":scope > table").forEach(m=>{o.setStructureBlocksWidth(m)})})}}function fi(e,o,t,n){const r=o.querySelector(".em-narrow-table"),i=t?'[em="block"].em-contrast-block > td':'[em="block"]:not(.em-contrast-block) > td',l=t?'[em="block"] > td > table > tr > [bgcolor]':'[em="block"]:not(.em-contrast-block) > td > table > tr > [bgcolor]',s=t?'[em="block"] > td > table > tr > [style*="background-color"]':'[em="block"]:not(.em-contrast-block) > td > table > tr > [style*="background-color"]';r?e===""?o.querySelectorAll(i).forEach(c=>{const d=c;d.removeAttribute("bgcolor"),d.style.removeProperty("background-color")}):o.querySelectorAll(i).forEach(c=>{const d=c;d.setAttribute("bgcolor",e),d.style.backgroundColor=e}):e===""?o.querySelector(l)?o.querySelectorAll(l).forEach(c=>{const d=c;d.removeAttribute("bgcolor"),d.style.removeProperty("background-color")}):o.querySelector(s)&&o.querySelectorAll(s).forEach(c=>{const d=c;d.removeAttribute("bgcolor"),d.style.removeProperty("background-color")}):o.querySelector(l)?o.querySelectorAll(l).forEach(c=>{const d=c;d.style.backgroundColor=e,d.setAttribute("bgcolor",e)}):o.querySelector(s)&&o.querySelectorAll(s).forEach(c=>{const d=c;d.style.backgroundColor=e,d.setAttribute("bgcolor",e)}),t?n.block.contrastBackgroundColor=e:n.block.backgroundColor=e}var lp=320;function pi(e){if(e==null||e==="")return null;if(typeof e=="number"&&!Number.isNaN(e))return e;if(typeof e=="object"&&e!==null&&"value"in e){const o=Number(e.value);return Number.isNaN(o)?null:o}return null}function gi(){for(const e of document.body.children)if(e.tagName==="DIV"||e.tagName==="CENTER"){const o=e;if(o.style.background||o.style.backgroundColor)return e;for(const t of e.children)if(t.tagName==="DIV"){if(o.style.background||o.style.backgroundColor)return e;for(const n of t.children){const r=n;if(r.getAttribute("width")==="100%"||r.style.width==="100%")return n}}else{const n=t;if(n.getAttribute("width")==="100%"||n.style.width==="100%")return t}}else{const o=e;if(o.getAttribute("width")==="100%"||o.style.width==="100%")return e}return null}function ap(e,o){const{globalHolder:t,emailWidth:n,state:r,findParentTr:i}=o,l=pi(e.width);if(l==null||l<lp||!t)return!1;function s(c){if(c.elem.nodeName==="#comment"&&c.elem.textContent?.indexOf("mso")!==-1)c.elem.textContent=c.elem.textContent.replace(/width=".*"/gi,`width="${c.width}"`);else{const d=c.elem.previousSibling;d&&s({elem:d,width:c.width})}}return t.querySelector(".em-narrow-table")||t.querySelector(".noresp-em-narrow-table")?(sp(t,l,n,s),cp(t,e,n,i,s)):up(t,l,n,s),n>500&&t.querySelectorAll(`[width="${n}"]`).forEach(c=>{c.setAttribute("width",String(l))}),fp(l),r.set("emailWidth",l),!0}function sp(e,o,t,n){e.querySelectorAll('[style*="width"]').forEach(r=>{const i=r;i.style.verticalAlign||(i.style.width&&parseFloat(i.style.width)===t&&(i.style.width=o+"px"),i.style.maxWidth&&parseFloat(i.style.maxWidth)===t&&(i.style.maxWidth=o+"px"),i.style.minWidth&&parseFloat(i.style.minWidth)===t&&(i.style.minWidth=o+"px"),n({elem:i,width:o}))})}function cp(e,o,t,n,r){const i=[];e.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)").forEach(s=>{const c=n(s);c&&!i.includes(c)&&i.push(c)});const l=o.project==="useblocks"?640:660;i.forEach(s=>{const c=s.querySelector(".em-mob-wrap, .noresp-em-mob-wrap");if(!c)return;const d=c.parentElement?.closest("td"),u=parseFloat(d?.style.paddingLeft||"0")||0,g=parseFloat(d?.style.paddingRight||"0")||0,m=c.closest("table")?.parentElement?.getBoundingClientRect().width||0,f=s.querySelector(".em-mob-wrap:empty, .noresp-em-mob-wrap:empty")?660:l;if(s.querySelectorAll(".em-mob-wrap, .noresp-em-mob-wrap").length>1)dp(s)&&mp(s,m,u,g,f);else if(c.getAttribute("width")&&!c.classList.contains("em-insert-ignore")){const p=Math.round(m-u-g);c.setAttribute("width",String(p))}})}function dp(e){const o=e.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)");for(let t=0;t<o.length;t++){const n=o[t];if(n.classList.contains("em-insert-ignore"))continue;const r=n.getAttribute("width");if(r!=null&&r!=="")return!0}return!1}function mp(e,o,t,n,r){const i=e.querySelector(".em-mob-wrap:nth-child(even), .noresp-em-mob-wrap:nth-child(even)"),l=i?parseFloat(i.getAttribute("width")||"0"):0,s=e.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)"),c=s.length;let d=0,u=0;s.forEach(f=>{const p=f;if(p.getAttribute("width")&&!p.classList.contains("em-insert-ignore")){const b=parseFloat(p.getAttribute("width")||"0")/r,h=Math.round(o*b-l/(c*2));p.setAttribute("width",String(h)),d+=h}});const g=o-(t+n+l*(c-1)+d);s.forEach(f=>{const p=f;if(p.getAttribute("width")&&!p.classList.contains("em-insert-ignore")){const b=parseFloat(p.getAttribute("width")||"0")+Math.round(g/c);u+=b,p.setAttribute("width",String(b)),p.querySelectorAll("img").forEach(h=>{parseFloat(h.getAttribute("width")||"0")>b&&(h.setAttribute("width",String(b)),h.style.maxWidth=b+"px")})}}),u=u+l*(c-1)+t+n;const m=o-u;if(m!==0&&d>0){const f=e.querySelector(".em-mob-wrap:last-child, .noresp-em-mob-wrap:last-child");if(f&&!f.classList.contains("em-insert-ignore")){const p=parseFloat(f.getAttribute("width")||"0");f.setAttribute("width",String(p+m))}else{const p=e.querySelectorAll(".em-mob-wrap:nth-child(odd), .noresp-em-mob-wrap:nth-child(odd)");for(let b=p.length-1;b>=0;b--){const h=p[b];if(h.classList.contains("em-insert-ignore"))continue;const y=parseFloat(h.getAttribute("width")||"0");h.setAttribute("width",String(y+m));break}}}}function up(e,o,t,n){e.querySelectorAll('div[style*="inline-block"]').forEach(r=>{const i=r;if(!i.getAttribute("em-floatblock-width")){const l=i.parentElement?.getBoundingClientRect().width||1;i.setAttribute("em-floatblock-width",String(i.getBoundingClientRect().width/l))}}),e.querySelectorAll('[style*="width"]').forEach(r=>{const i=r;i.style.verticalAlign||(i.style.width&&parseFloat(i.style.width)===t&&(i.style.width=o+"px"),i.style.maxWidth&&parseFloat(i.style.maxWidth)===t&&(i.style.maxWidth=o+"px"),i.style.minWidth&&parseFloat(i.style.minWidth)===t&&(i.style.minWidth=o+"px"),n({elem:i,width:o}))}),e.querySelectorAll('div[style*="inline-block"]').forEach(r=>{const i=r,l=i.parentElement?.getBoundingClientRect().width||0,s=parseFloat(i.getAttribute("em-floatblock-width")||"0"),c=i.getBoundingClientRect().width-(i.firstElementChild?.getBoundingClientRect().width||0),d=i.getBoundingClientRect().width-c;let u=0;i.style.maxWidth?(i.style.maxWidth=Math.floor(l*s)+"px",u=i.getBoundingClientRect().width-c,i.firstElementChild&&(i.firstElementChild.setAttribute("width",String(Math.round(u))),i.firstElementChild.style.maxWidth=Math.round(u)+"px")):i.style.width&&(i.style.width=Math.floor(l*s)+"px",u=i.getBoundingClientRect().width-c,i.firstElementChild?.setAttribute("width",String(u))),n({elem:i,width:Math.floor(l*s)}),i.removeAttribute("em-floatblock-width"),i.querySelectorAll("img").forEach(g=>{const m=parseFloat(g.getAttribute("width")||"0");(m>=u||m===d)&&(g.setAttribute("width",String(u)),g.style.maxWidth=u+"px")})})}function fp(e){for(const o of document.head.querySelectorAll("style"))if(o.innerHTML.match(/@media.*?max((.|\n|\r)*?){/)){o.innerHTML=o.innerHTML.replace(/max-device-width:\d+px/gi,`max-device-width:${e}px`),o.innerHTML=o.innerHTML.replace(/max-width:\d+px/gi,`max-width:${e}px`);break}}function pp(e,o){e.querySelectorAll("img, amp-img").forEach(t=>{const n=t;if(o){const r=n.getAttribute("width");if(r)if(n.style.width="100%",r.includes("%"))n.style.maxWidth=r;else{const i=parseFloat(r);Number.isNaN(i)||(n.style.maxWidth=`${i}px`)}}else n.style.removeProperty("width"),n.style.removeProperty("max-width")})}function gp(e,o){if(e.responsive===void 0||!o)return;const t=pi(e.width);if(e.responsive.shutdown){const n=o.querySelector(".noresp-em-narrow-table");if(n)n.className=n.className.replace(/noresp-em-narrow/gi,"em-narrow");else{const r=o.querySelector("table:first-child");r&&(r.setAttribute("width","100%"),r.style.width="100%",t!=null&&(r.style.maxWidth=t+"px"),r.style.minWidth="320px")}document.querySelectorAll('[class*="noresp-em-mob"]').forEach(r=>{r.className=r.className.replace(/noresp-em-mob/gi,"em-mob")}),document.documentElement.removeAttribute("style")}else{const n=o.querySelector(".em-narrow-table");if(n)n.className=n.className.replace(/em-narrow/gi,"noresp-em-narrow");else{const r=o.querySelector("table:first-child");r&&t!=null&&(r.setAttribute("width",String(t)),r.style.width=t+"px",r.style.maxWidth=t+"px",r.style.minWidth=t+"px")}document.querySelectorAll('[class*="em-mob"]:not([class*="noresp-em-mob"])').forEach(r=>{r.className=r.className.replace(/em-mob/gi,"noresp-em-mob")})}pp(o,!!e.responsive.shutdown)}function bp(e,o,t){const n=o.parentNode;n&&(n.style.backgroundColor="rgba(0,255,0,0.3)");let r="";document.head.querySelectorAll("style").forEach(s=>{r+=t.HTMLDocument.getInnerHtml(s)});const i=document.createElement("style");i.setAttribute("em","styles"),i.innerHTML=r;const l=a.serializeOuterHtml(i)+`
|
|
275
|
+
`+t.HTMLDocument.getOuterHtml(e);navigator.clipboard.writeText(l),setTimeout(()=>{n&&n.style.removeProperty("background-color")},2e3)}function hp(e,o,t){navigator.clipboard.readText().then(n=>{const r=t.parseFromString(n);let i=r.filter(d=>d.tagName&&d.tagName!=="LINK"&&d.tagName!=="STYLE").map(d=>t.getOuterHtml(d)).join(""),l=r.filter(d=>d.tagName==="STYLE").map(d=>t.getOuterHtml(d)).join("");const s=r.filter(d=>d.tagName==="LINK"&&d.getAttribute("em-class")).filter(d=>!document.head?.querySelector(`link[em-class="${d.getAttribute("em-class")}"]`));if(l){let d=document.head.querySelector('style[em="styles"]'),u="";d?u=t.HTMLDocument.getInnerHtml(d):(d=document.createElement("style"),d.setAttribute("em","styles"),d=document.head.insertAdjacentElement("beforeend",d));const g=document.createElement("div");t.emailWidth&&(l=l.replace(/(max-device-width:|max-width:)\d+px/g,f=>f.replace(/\d+/,String(t.emailWidth)))),t.insertAdjacentHTML(g,"afterbegin",l);let m=t.minify(u+`
|
|
276
|
+
`+[...g.querySelectorAll("style")].map(f=>f.innerHTML).join(`
|
|
277
277
|
`),{restructure:!0,forceMediaMerge:!0}).css;m=t.cssbeautify(m,{indent:" ",autosemicolon:!0}),d.textContent=`
|
|
278
278
|
`+m+`
|
|
279
279
|
`}for(const d of s.reverse())document.head?.prepend(d),document.head?.insertAdjacentHTML("afterbegin",`
|
|
280
|
-
`);(i.indexOf("empty-structure")>-1||i.indexOf("em-structure")>-1)&&(i=t.setBlockMaxWidth({blockHTML:i,targetBlock:e}),i=t.setFloatBlocksWidth({blockHTML:i,targetBlock:e,project:t.appName})),i=t.checkBlockAdaptivity({blockHTML:i,blockIsTr:i.substring(0,3)==="<tr"});const c=o.parentNode;if(e.tagName==="TR"){const d=document.createElement("table");t.insertAdjacentHTML(d,"afterbegin",i),d.querySelector('[em="block"]')?(d.querySelector(".em-element-editor")?.remove(),e.removeAttribute("em-state"),e.after(d.querySelector("tr")),t.commit(),t.setCursorPosition(e)):bi(c)}else{const d=document.createElement("div");d.insertAdjacentHTML("afterbegin",i),d.querySelector('[em="block"]')?(d.querySelector(".em-element-editor")?.remove(),e.removeAttribute("em-state"),e.after(d.querySelector('[em="block"]')),t.commit(),t.setCursorPosition(e)):bi(c)}}).catch(()=>{})}function bi(e){e&&(e.style.backgroundColor="rgba(255,0,0,0.3)",setTimeout(()=>{e.style.removeProperty("background-color")},2e3))}function yp(e){return function(t){document.body&&!document.body.classList.contains("mceNonEditable")&&(t.stopPropagation(),t.preventDefault()),e.setEditorFocus(!1);const n=t.target;if(document.documentElement.classList.contains("em-resize-start")||n.classList.contains("em-element-editor-widget")||n.classList.contains("em-element-block-add"))return;let r=n;if(!e.getLockEditor()){const b=r.closest(".em-narrow-table");if(b&&!b.innerHTML.trim()&&e.insertTextAtomIntoEmptyNarrowTable(b))return}const i=r.closest("a");if(i instanceof HTMLAnchorElement){const b=i.getAttribute("href")||i.href||"";if(At(b)){const h=b.slice(1),y=document.querySelector(`a[name="${h}"]`);y&&(t.preventDefault(),y.scrollIntoView({behavior:"smooth",block:"start"}))}else i.href&&document.referrer.includes("raw")&&window.open(i.href);t.stopPropagation(),t.preventDefault()}if(r.tagName==="HTML"||r.classList.contains(a.ICON_ROLE.drag)||r.classList.contains("em-element-editor"))return;const l=document.body,s=l?.classList.contains("mceNonEditable"),c=l?.classList.contains("em-sandbox-discuss"),d=document.referrer.includes("raw"),u=r.tagName==="A"||r.closest("a")||r.tagName==="IMG";if(s&&!c&&(!d||!u)){e.setCursorPosition(r);return}if(e.isDiscussViewMode()){e.handleDiscussViewClick(r);return}if(e.isDiscussSetTargetMode()){r=e.handleDiscussSetTargetClick(r).newClickedElement;return}r instanceof Element&&r.tagName==="EDITOR"&&(r=r.parentElement);const
|
|
280
|
+
`);(i.indexOf("empty-structure")>-1||i.indexOf("em-structure")>-1)&&(i=t.setBlockMaxWidth({blockHTML:i,targetBlock:e}),i=t.setFloatBlocksWidth({blockHTML:i,targetBlock:e,project:t.appName})),i=t.checkBlockAdaptivity({blockHTML:i,blockIsTr:i.substring(0,3)==="<tr"});const c=o.parentNode;if(e.tagName==="TR"){const d=document.createElement("table");t.insertAdjacentHTML(d,"afterbegin",i),d.querySelector('[em="block"]')?(d.querySelector(".em-element-editor")?.remove(),e.removeAttribute("em-state"),e.after(d.querySelector("tr")),t.commit(),t.setCursorPosition(e)):bi(c)}else{const d=document.createElement("div");d.insertAdjacentHTML("afterbegin",i),d.querySelector('[em="block"]')?(d.querySelector(".em-element-editor")?.remove(),e.removeAttribute("em-state"),e.after(d.querySelector('[em="block"]')),t.commit(),t.setCursorPosition(e)):bi(c)}}).catch(()=>{})}function bi(e){e&&(e.style.backgroundColor="rgba(255,0,0,0.3)",setTimeout(()=>{e.style.removeProperty("background-color")},2e3))}function yp(e){return function(t){document.body&&!document.body.classList.contains("mceNonEditable")&&(t.stopPropagation(),t.preventDefault()),e.setEditorFocus(!1);const n=t.target;if(document.documentElement.classList.contains("em-resize-start")||n.classList.contains("em-element-editor-widget")||n.classList.contains("em-element-block-add"))return;let r=n;if(!e.getLockEditor()){const b=r.closest(".em-narrow-table");if(b&&!b.innerHTML.trim()&&e.insertTextAtomIntoEmptyNarrowTable(b))return}const i=r.closest("a");if(i instanceof HTMLAnchorElement){const b=i.getAttribute("href")||i.href||"";if(At(b)){const h=b.slice(1),y=document.querySelector(`a[name="${h}"]`);y&&(t.preventDefault(),y.scrollIntoView({behavior:"smooth",block:"start"}))}else i.href&&document.referrer.includes("raw")&&window.open(i.href);t.stopPropagation(),t.preventDefault()}if(r.tagName==="HTML"||r.classList.contains(a.ICON_ROLE.drag)||r.classList.contains("em-element-editor"))return;const l=document.body,s=l?.classList.contains("mceNonEditable"),c=l?.classList.contains("em-sandbox-discuss"),d=document.referrer.includes("raw"),u=r.tagName==="A"||r.closest("a")||r.tagName==="IMG";if(s&&!c&&(!d||!u)){e.setCursorPosition(r);return}if(e.isDiscussViewMode()){e.handleDiscussViewClick(r);return}if(e.isDiscussSetTargetMode()){r=e.handleDiscussSetTargetClick(r).newClickedElement;return}r instanceof Element&&r.tagName==="EDITOR"&&(r=r.parentElement);const g=r.closest('[em="atom"]');if(g&&r.closest(".em-element-editor-widget-remove")){e.handleRemoveAtom(g);return}if(g&&r.closest(".em-element-editor-widget-edit")){e.applicationElementSettingsSet({elem:g}),e.setCursorPosition(g);return}if(g&&r.closest(".em-element-editor-widget-clone")){e.handleCloneAtom(g);return}const m=r.closest('[em="block"]');if(m&&r.classList.contains(a.ICON_ROLE.moveUp)){e.handleMoveBlockUp(m);return}if(m&&r.classList.contains(a.ICON_ROLE.moveDown)){e.handleMoveBlockDown(m);return}if(m&&r.closest(".em-element-editor-widget-edit")){const b=m.querySelector("td");b&&e.applicationElementSettingsSet({elem:b}),e.setCursorPosition(m);return}if(m&&r.closest(".em-element-editor-widget-remove")){e.handleRemoveBlock(m);return}if(m&&r.closest(".em-element-editor-widget-add-block")){e.addBlockToProject(r);return}if(m&&r.closest(".em-element-editor-widget-clone")){e.handleCloneBlock(m);return}if(m&&e.isAddBlockMenuClick(r)){e.handleAddBlockMenu(m,r);return}if(m&&r.closest(".em-element-editor-widget-copy")){e.handleCopyBlock(m,r);return}if(m&&r.closest(".em-element-editor-widget-paste")){e.handlePasteBlock(m,r);return}if(m&&r.classList.contains(a.ICON_ROLE.merge)){e.handleMergeBlocks(m);return}if(m&&r.classList.contains(a.ICON_ROLE.unmerge)){e.handleUnmergeBlocks(m);return}const f=r.closest('[em="group"]');if(f&&r.classList.contains(a.ICON_ROLE.moveUp)){e.handleMoveGroupUp(f);return}if(f&&r.classList.contains(a.ICON_ROLE.moveDown)){e.handleMoveGroupDown(f);return}if(f&&r.classList.contains(a.ICON_ROLE.add)){e.handleAddGroup(f);return}if(f&&r.closest(".em-element-editor-widget-edit")){e.setCursorPosition(f);const b=f.tagName!=="TR"?f:f.querySelector("td");b&&e.applicationElementSettingsSet({elem:b});return}if(f&&r.closest(".em-element-editor-widget-clone")){e.handleCloneGroup(f);return}if(f&&r.closest(".em-element-editor-widget-remove")&&r.closest(".of-group")){e.handleRemoveGroup(f);return}if(!r.closest(".em-editor-wrapper")&&!r.closest(".em-element-path")&&!r.closest(".em-element-vindent-remove")){const b=window.getSelection();if(b?.isCollapsed)e.setCursorPosition(r);else if(b&&b.rangeCount>0){const y=b.getRangeAt(0).commonAncestorContainer,E=e.findOutermostParentWithText(y);E&&e.setCursorPosition(E);const S=e.getParentElementOfSelection();S&&(r=S)}e.applicationElementSettingsSet({elem:r});const h=document.querySelector(".em-editor-wrapper");h&&(h.style.display="none"),e.setBlockGroupControlsPosition()}r.closest("em-replace")&&e.handleEmReplaceClick(r,t);const p=r?.tagName==="TD"?r?.querySelector("div"):r?.closest("div")||r;r.closest(".em-element-custom-table")&&p?.tagName==="DIV"&&e.handleCustomTableClick(r,t)}}var hi=`<style em="styles">
|
|
281
281
|
@media only screen and (max-device-width:660px),only screen and (max-width:660px) {
|
|
282
282
|
.em-mob-width-100perc {
|
|
283
283
|
width: 100%!important;
|
|
@@ -316,4 +316,4 @@ __useblocks__.define("js/iframe.js",["require","exports","module","js/rolldown-r
|
|
|
316
316
|
</td>
|
|
317
317
|
</tr>`;function Sp(e,o){if(!e||e.innerHTML.trim()||o.getLockEditor())return!1;const t=hi.match(/<style((.|\n|\r)*?)<\/style>/g);o.applyStylesToDocument(t||[]);let n=hi.replaceAll(/<style((.|\n|\r)*?)<\/style>/gi,"").trim();n=o.commonStylesApply({html:n});let r=Ep.replace("{{ATOM_HTML}}",n);const i=r.match(/<style((.|\n|\r)*?)<\/style>/g);o.applyStylesToDocument(i||[]),r=o.commonStylesApplyToBlock({html:r}),(r.indexOf("empty-structure")>-1||r.indexOf("em-structure")>-1)&&(r=o.setFloatBlocksWidth({blockHTML:r,targetBlock:e,project:o.appName})),e.insertAdjacentHTML("beforeend",`
|
|
318
318
|
`+r+`
|
|
319
|
-
`);const l=e.querySelector('[em="block"]:last-child [em="atom"]');if(l){const s=l.querySelector("div");let c=null;s&&(s.innerHTML="",s.appendChild(document.createTextNode("")),o.wrapEditor(s,!0),s.classList.add("em-just-inserted"),setTimeout(()=>{const d=s.closest("editor")||s,u=d?.querySelector("div")||s,p=u||d||s,m=p.getBoundingClientRect();["mouseover","mousedown","mouseup","click"].forEach(b=>{p.dispatchEvent(new MouseEvent(b,{bubbles:!0,cancelable:!0,view:window,clientX:m.left+Math.min(1,Math.max(0,m.width/2)),clientY:m.top+Math.min(1,Math.max(0,m.height/2)),button:0}))});let f=u.firstChild;f||(f=document.createTextNode(""),u.appendChild(f)),d?.focus?.();const g=window.getSelection();if(g&&f){const b=document.createRange();b.setStart(f,0),b.collapse(!0),g.removeAllRanges(),g.addRange(b)}o.setCursorPosition(d||s)},0),c=s.closest("editor")||s),s&&o.setCursorPosition(c||s)}return o.messageService.send("application_atom_inserted","text"),o.commit(),!0}function Cp(e){return function(t){let n=t.target;try{n=e.getVisibleNode(n);const r=e.isInExternal(n);e.incrementActiveElementLocked();const i=document.body;if(i?.classList.contains("mceNonEditable")&&!i.classList.contains("em-sandbox-discuss")||i?.classList.contains("em-sandbox-discuss")&&!i.classList.contains("em-sandbox-discuss_set-target"))return;if(i?.classList.contains("em-sandbox-discuss_set-target")){document.querySelectorAll('[em-hover="true"]').forEach(u=>{u.removeAttribute("em-hover"),u.removeAttribute("contenteditable")}),n.closest(".em-element-vindent")||(n.setAttribute("em-hover","true"),n.setAttribute("contenteditable","true"));return}if(n&&(n?.closest('[em="atom"]')||!r)&&n.getAttribute("contenteditable")!=="false"&&n.parentElement?.getAttribute("contenteditable")!=="false"&&n.tagName!=="BODY"&&n.parentElement?.tagName!=="SECTION"){const u=!n.closest("editor"),p=!e.getLockEditorInit(),m=n.tagName!=="IMG",f=!(n.childElementCount===1&&n.firstElementChild?.tagName==="IMG"&&(n.textContent?.trim()??"")==="");if(u&&p&&m&&f){let g=n;do if(g=g.closest("div, p, h1, h2, h3, h4, h5")||g.closest("span, b, strong, i, em, s, a, sup, sub"),g)if(!e.isVisible(g))g=g.parentElement;else break;while(g);if(n.tagName==="LI"&&n.style.fontFamily&&n.style.fontSize){const b=n.closest("ul, ol");b&&e.wrapEditor(b,!0)}else if(n.tagName==="TD"&&n.style.fontFamily&&n.style.fontSize&&!n.querySelector("editor"))e.wrapEditor(n);else if(g&&g.style.fontFamily&&g.style.fontSize&&(n.tagName==="LI"||!n.querySelector("img")))if(n.tagName==="LI"){const b=n.closest("ul, ol");b&&e.wrapEditor(b,!0)}else n.querySelector("img")||e.wrapEditor(n,!0);else if(g&&g.closest('[style*="font-family"][style*="font-size"]')){const b=g.closest('[style*="font-family"][style*="font-size"]');b&&b.tagName!=="BODY"&&b.tagName!=="TD"&&b.tagName!=="TABLE"?e.wrapEditor(b,!1):b?.tagName==="TD"&&!b.querySelector("editor")&&!b.closest(".em-element-custom-table")&&e.wrapEditor(b)}else if(g&&g?.tagName==="DIV"&&!g.querySelector("table")){const b=!!g.style.height?.length,h=g.className.includes("em-element-img-change-group"),y=g.querySelector("img")?.parentNode,E=!!g.querySelector("img")&&y&&!e.hasTextNodeInElement(y);!b&&!h&&!E&&e.wrapEditor(g,!0)}else for(let b=0;b<n.childNodes.length;b++){const h=n.childNodes[b];if(h.nodeName==="#text"&&(h.textContent?.trim().length??0)>0&&!n.querySelector("table")){const y=n.tagName==="P"?n.parentElement:n;y&&e.wrapEditor(y);break}}}}(n?.closest('[em="atom"]')||!r)&&!e.getIsLeftButtonDown()&&e.implementElementsEditors(n),n?.classList.contains("em-element-vindent-bg")&&(n=n.closest(".em-vindent")),n?.closest(".em-gap")?n.closest("tr")?.querySelectorAll(".em-mob-wrap:nth-child(even) .em-gap").forEach(u=>u.classList.add("em-hover")):e.getIsLeftButtonDown()||document.querySelectorAll(".em-gap").forEach(u=>u.classList.remove("em-hover"));const l=e.getLoadStylesTimer(),s=!!n.style.padding||!!n.style.paddingTop||!!n.style.paddingBottom||!!n.style.paddingLeft||!!n.style.paddingRight,c=n.closest('[em="block"]'),d=!!c?.querySelector(".em-mob-wrap, .noresp-em-mob-wrap")&&(c?.querySelectorAll(".em-mob-wrap, .noresp-em-mob-wrap").length??0)>2;l&&(n.tagName==="TD"&&(n.innerHTML===""||n.querySelector(".em-element-vindent"))&&n.getAttribute("height")||n.tagName==="DIV"&&n.style.height&&n.style.fontSize||n.tagName==="IMG"||s||d)&&e.implementResizableElems(n)}catch{}finally{Promise.resolve().then(()=>e.decrementActiveElementLocked())}}}function vp(e){return function(t){const n=window.getSelection(),r=(n?.rangeCount?n.getRangeAt(0):null)?.commonAncestorContainer,i=r?.nodeType===1?r:r?.parentElement,l=i?.closest("editor"),s=window.navigator.platform.match("Mac"),c=l?e.getCursorPositionType(l):null,d=l?.closest("tr")?.querySelector("tr td:nth-of-type(2) div"),u=t.target,p=e.getListContext(u),{isList:m}=p,f=d?.textContent===l?.textContent,g=l?e.LIST_REGEX.EMPTY_TEXT.test(l.textContent||""):!1,b=s?t.metaKey:t.ctrlKey;if(b&&t.keyCode===83){t.preventDefault(),e.messageService.send({operation:"application_action",action:"save_email"});return}if(b&&t.keyCode===90){t.preventDefault(),e.messageService.send({operation:"application_action",action:t.shiftKey?"redo":"undo"});return}if(t.altKey&&t.keyCode===88){t.preventDefault(),e.messageService.send({operation:"application_action",action:"toggle_editor"});return}const h={getElementParent:e.getElementParent,setCursorPosition:e.setCursorPosition,removeElementEditors:e.removeElementEditors,getVariableByIcon:e.getVariableByIcon,removeEmptyParents:e.removeEmptyParents,getAllComments:e.getAllComments,isVariableComment:e.isVariableComment,getVariableIcon:e.getVariableIcon,commit:e.commit,messageService:e.messageService};if(e.handleDeleteKey(t,m,c,h))return;if(t.keyCode===27){const C=document.querySelector(".em-editor-wrapper");C?.style&&(C.style.display="none"),e.removeAllAttributes("em-edit"),document.querySelectorAll("editor").forEach(L=>L.blur()),n?.removeAllRanges(),e.applicationElementSettingsSet({elem:null}),e.messageService.send({operation:"application_close-image-edit-popup"});return}b&&t.keyCode===66&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"toggle_strong"}));const y=s?t.keyCode===88:t.keyCode===53;if((s?t.metaKey:t.altKey)&&t.shiftKey&&y&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"toggle_strikethrough"})),b&&t.shiftKey&&t.keyCode===76&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"textAlign_left"})),b&&t.shiftKey&&t.keyCode===82&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"textAlign_right"})),b&&t.shiftKey&&t.keyCode===69&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"textAlign_center"})),b&&t.keyCode===73&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"toggle_italic"})),b&&t.keyCode===85&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"toggle_underline"})),ga(t,{commit:e.commit})||e.handleEnterForBr(t,l,m,f,{commit:e.commit}))return;if(b&&t.keyCode===86){e.setIsPasteFromContextMenu(!1);const C=L=>{e.handlePasteTextFragment(L,!1,e.getCommonStyles(),e.changeMsoValue,e.commit),document.removeEventListener("paste",C)};document.addEventListener("paste",C)}else e.changeMsoValue(t);const E={activeElem:l,listContext:p,cursorPositionType:c,isTargetCell:f,isEmptyText:g,commit:e.commit,wrapEditor:e.wrapEditor,removeTemporaryListClasses:e.removeTemporaryListClasses};if(e.handleEnterInList(t,E)||(e.handleArrowRightInList(t,c,g),e.handleArrowUpDownInList(t,E)))return;const S={...E,parentElement:i,findNodeAtPosition:e.findNodeAtPosition,setCursorSafely:e.setCursorSafely};if(e.handleDeleteInList(t,S)||e.handlePreventBulletCellEdit(t,m,f))return;const v={isCaretAtEndOfEmReplace:e.isCaretAtEndOfEmReplace,getOrCreateAfterSpan:e.getOrCreateAfterSpan,setCursorInsideSpan:e.setCursorInsideSpan,isCaretAtEndOfStandardElement:e.isCaretAtEndOfStandardElement,setCursorPositionSimple:e.setCursorPositionSimple,wrapEditor:e.wrapEditor,commit:e.commit};e.handleArrowRight(t,v)&&e.commit()}}var re=e=>a.normalizeSpaces(e?.innerText);function Ap(e,o){return e.hasOwnProperty("textStrong")?{name:"textStrong",tags:["b","strong","a","[style*=font-weight]"],value:e.textStrong,command:"bold"}:e.hasOwnProperty("textItalic")?{name:"textItalic",tags:["em","i","[style*=font-style]","a"],value:e.textItalic,command:"italic"}:e.hasOwnProperty("textStrikethrough")?{name:"textStrikethrough",tags:["s","strike","u","[style*=text-decoration]","a"],value:e.textStrikethrough,command:"strikethrough"}:e.hasOwnProperty("textUnderline")?{name:"textUnderline",tags:["u","strike","[style*=text-decoration]","span","a"],value:e.textUnderline,command:"underline"}:e.hasOwnProperty("textColor")?{name:"textColor",tags:["a","[style*='color']","span"],value:o(e.textColor)||"",command:"foreColor"}:e.hasOwnProperty("textBackgroundColor")?{name:"textBackgroundColor",tags:["a","[style*='background-color']","[style*='color']","span"],value:o(e.textBackgroundColor)||"",command:"hilitecolor"}:e.hasOwnProperty("fontFamily")?{name:"fontFamily",tags:["[style*='font-family']","span","a"],value:e.fontFamily?.[e.fontFamily.length-1],command:"fontName"}:e.hasOwnProperty("textLink")?{name:"textLink",tags:["a","[href]","div","p","td"],value:e.textLink||"",command:"createLink"}:e.hasOwnProperty("fontSize")?{name:"fontSize",tags:["a","[style*='font-size']","span","div"],value:parseFloat(e.fontSize),command:"fontSize"}:e.hasOwnProperty("lineHeight")?{name:"lineHeight",tags:["div","[style*='line-height']","p","td"],value:parseFloat(e.lineHeight),command:null}:{}}var Tp=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,Lp=/^rgba?\s*\(\s*(?<r>\d+)\s*,\s*(?<g>\d+)\s*,\s*(?<b>\d+)\s*(?:,\s*(?<a>(?:0?\.)?\d+)\s*)?\)$/i,mn=e=>e.toString(16).padStart(2,"0");function wp(e){const o=Lp.exec(e)?.groups;if(!o)return;const t=Number.parseInt(o.r,10),n=Number.parseInt(o.g,10),r=Number.parseInt(o.b,10);if(![t,n,r].some(i=>!Number.isFinite(i)||i<0||i>255))return`#${mn(t)}${mn(n)}${mn(r)}`}function yi(e){return e.split("").map(o=>`${o}${o}`).join("")}function De(e,o){if(!e)return;const t=e.trim();if(!t)return;if(Tp.test(t)){const r=t.slice(1);return r.length===3?`#${yi(r).toLowerCase()}`:r.length===4?`#${yi(r.slice(0,3)).toLowerCase()}`:r.length===8?`#${r.slice(0,6).toLowerCase()}`:`#${r.toLowerCase()}`}const n=wp(t);if(n)return n;if(o){const r=o(t);if(r&&r!==t)return De(r)}}function kp(e){const o=e.parentNode;if(o){for(;e.firstChild;)o.insertBefore(e.firstChild,e);o.removeChild(e)}}function un(e,o,t){const n=o.parentElement;let r=e.parentElement;for(;r&&r!==n;){const i=De(r.style.color,t);if(i)return i;r=r.parentElement}}function _p(e,o){Array.from(e.querySelectorAll("span")).reverse().forEach(t=>{if(!t.style.color)return;const n=De(t.style.color,o);if(!n)return;const r=un(t,e,o);!r||r!==n||(t.style.removeProperty("color"),t.getAttribute("style")||t.removeAttribute("style"),t.attributes.length===0&&kp(t))})}function Np(e){const o=e.commonAncestorContainer.nodeType===Node.ELEMENT_NODE?e.commonAncestorContainer:e.commonAncestorContainer.parentElement;if(!o)return[];if(e.commonAncestorContainer.nodeType===Node.TEXT_NODE){const r=e.commonAncestorContainer;return r.data.trim()?[r]:[]}const t=document.createTreeWalker(o,NodeFilter.SHOW_TEXT,null),n=[];for(;t.nextNode();){const r=t.currentNode;!r.data.trim()||!e.intersectsNode(r)||n.push(r)}return n}function Bp(e,o,t){const n=De(o,t);if(!n)return!1;const r=window.getSelection();if(!r||r.rangeCount===0)return!1;const i=r.getRangeAt(0);if(i.collapsed||!i.toString().trim())return!1;const l=Np(i);if(!l.length||l.every(d=>{const u=d.parentElement;return u?De(u.style.color,t)===n?!0:un(u,e,t)===n:!1}))return!1;const s=document.createElement("span");s.style.color=o;try{i.surroundContents(s)}catch{s.appendChild(i.extractContents()),i.insertNode(s)}const c=document.createRange();return c.selectNodeContents(s),r.removeAllRanges(),r.addRange(c),!0}function Mp(e,o,t){const n=Array.from(e.querySelectorAll('a[style*="color"]'));e.tagName==="A"&&e.style.color&&n.unshift(e),n.forEach(r=>{const i=De(r.style.color,o);if(!i)return;const l=un(r,e,o)||(t?De(t,o):void 0);l&&Array.from(r.querySelectorAll("span")).forEach(s=>{if(!s.style.color)return;const c=De(s.style.color,o);c&&c!==i&&c===l&&(s.style.color=r.style.color)})})}function Rp(e){if(e.currentSettings.name!=="lineHeight")return!1;const o=e.parentElement.closest('[style*="line-height"]')||e.parentElement.closest("div, p, td");if(e.parentElement?.querySelector('[em-edit="active"]')){const t=[];e.checkForTextNodes(e.parentNode,t),t.forEach(n=>{const r=n.closest('[style*="line-height"]')||n.closest("div, p, td");r&&(r.style.lineHeight=e.currentSettings.value+"px")})}else if(e.isElementList){const t=!!e.parentElement.querySelector("div"),n=t?e.parentElement.closest("tr")?.querySelector(`.${e.classNameBullet}`):null;if(n&&(n.style.lineHeight=e.currentSettings.value+"px"),t){const r=e.parentElement.querySelector("div");r&&(r.style.lineHeight=e.currentSettings.value+"px")}else e.parentElement.style.lineHeight=e.currentSettings.value+"px"}else o&&(o.style.lineHeight=e.currentSettings.value+"px");return e.commit(),!0}function Pp(e){if(e.currentSettings.name!=="fontFamily")return!1;let o=(e.findElementWithSelectedText(e.selectedText)||e.getParentElementOfSelection())?.closest('[style*="font-family"]')||e.parentWrapper;const t=!!e.parentElement?.querySelector('[em-edit="active"]');if(!t&&(!e.range?.collapsed||e.getSelectedText()))if(e.getInnerText(e.parentWrapper)===e.selectedText)o=e.parentWrapper;else if(e.getInnerText(e.parentElement)===e.selectedText)o=e.parentElement;else{const r=document.createElement("span");e.range.commonAncestorContainer.nodeType===3?e.range.surroundContents(r):(r.appendChild(e.range.extractContents()),e.range.insertNode(r)),o=r,e.range.deleteContents(),e.range.insertNode(o),e.range.selectNode(o),e.addNewRange(e.range)}e.fontFamilyArray?e.fontFamilyArray[0]==="Safe Fonts"?(o.style.fontFamily=e.fontFamilyArray[1],e.removeClassesByPrefix(o,"em-font"),e.clearLinkTags({elem:document.head})):e.fontFamilyArray[0]==="Google Fonts"&&(e.fontFamilyArray[1]==="Sans Serif"?o.style.fontFamily="Helvetica, Arial, sans-serif":e.fontFamilyArray[1]==="Serif"?o.style.fontFamily='"Times New Roman", Times, serif':e.fontFamilyArray[1]==="Project Fonts"&&a.applyProjectFontInlineFallback(o,e.fontFamilyArray[2]),e.removeClassesByPrefix(o,"em-font"),o.classList.add(e.createFontClassName(e.fontFamilyArray)),a.markProjectFontClass(o,e.fontFamilyArray),e.addFontFamilyClass({fontFamilyArray:e.fontFamilyArray})):o.style.removeProperty("font-family");let n;return t?(n=e.parentElement.querySelectorAll('[style*="font-family"]'),n.forEach(r=>r.style.fontFamily=o.style.fontFamily)):(n=o.querySelectorAll('[style*="font-family"]'),n.forEach(r=>r.style.fontFamily="")),e.cleanEmptySpans(e.selectedText),e.refreshElementSettings(o,e.selectedText),e.range.selectNode(o),e.addNewRange(e.range),e.commit(),!0}function Hp(e){if(e.currentSettings.command==="bold"){if(e.hasItalicClass&&e.tempStyleClass&&e.parentWrapper&&e.parentWrapper.classList.add(e.tempStyleClass),!e.isEditorTagOutside){const o=[];e.checkForTextNodes(e.parentNode,o),o.filter(t=>e.checkForWorkClass(t)).forEach(t=>{t.innerHTML=e.removeFormattingTags(t.innerHTML,"bold"),t.tagName!=="STRONG"?e.currentSettings.value&&(t.innerHTML="<strong>"+t.innerHTML+"</strong>"):e.currentSettings.value||(t.outerHTML=t.innerHTML)})}if(e.currentSettings.value===!0)Array.from(e.parentNode?.getElementsByTagName("b")||[]).reverse().forEach(o=>{const t=document.createElement("strong");if(t.innerHTML=o.innerHTML,o.parentNode?.replaceChild(t,o),e.getInnerText(t)===e.selectedText){const n=t.closest("span");n?.textContent===t.innerText&&!n.getAttribute("style")&&n.childNodes[0]?.nodeType===3&&n.parentNode?.replaceChild(t,n),e.refreshElementSettings(t,e.selectedText),e.range.selectNode(t),e.addNewRange(e.range)}});else if(Array.from(e.parentWrapper?.getElementsByTagName("b")||[]).reverse().forEach(o=>{const t=document.createElement("strong");t.innerHTML=o.innerHTML,o.parentNode?.replaceChild(t,o)}),e.getInnerText(e.parentWrapper)===e.selectedText){const o=e.parentWrapper||e.findElementWithSelectedText(e.selectedText,e.activeElement);o&&(e.range.selectNode(o),e.addNewRange(e.range))}e.cleanEmptySpans(e.selectedText)}}function Ip(e){if(e.currentSettings.command==="italic"){if(e.hasItalicClass&&e.tempStyleClass&&e.parentWrapper&&e.parentWrapper.classList.add(e.tempStyleClass),!e.isEditorTagOutside){const o=[];e.checkForTextNodes(e.parentNode,o),o.filter(t=>e.checkForWorkClass(t)).forEach(t=>{t.innerHTML=e.removeFormattingTags(t.innerHTML,"italic"),t.tagName!=="EM"?e.currentSettings.value&&(t.innerHTML="<em>"+t.innerHTML+"</em>"):e.currentSettings.value||(t.outerHTML=t.innerHTML)})}if(e.currentSettings.value)Array.from(e.parentNode?.getElementsByTagName("i")||[]).reverse().forEach(o=>{const t=document.createElement("em");if(t.innerHTML=o.innerHTML,o.parentNode?.replaceChild(t,o),e.getInnerText(t)===e.selectedText){const n=t.closest("span");n?.textContent===t.innerText&&!n.getAttribute("style")&&n.childNodes[0]?.nodeType===3&&n.parentNode?.replaceChild(t,n),e.refreshElementSettings(t,e.selectedText),e.range.selectNode(t),e.addNewRange(e.range)}});else if(Array.from(e.parentElement?.getElementsByTagName("i")||[]).reverse().forEach(o=>{const t=document.createElement("em");t.innerHTML=o.innerHTML,o.parentNode?.replaceChild(t,o)}),e.getInnerText(e.parentWrapper)===e.selectedText){const o=e.parentWrapper||e.findElementWithSelectedText(e.selectedText,e.activeElement);o&&(e.range.selectNode(o),e.addNewRange(e.range))}e.cleanEmptySpans(e.selectedText)}}function Op(e){if(e.currentSettings.name!=="fontSize")return;const{mutableState:o}=e;if(e.getInnerText(o.parentWrapper)!==e.selectedText){let i=!1;const l=e.findParentWithFontSizeAndTag(e.activeElement||o.parentNode)||o.parentWrapper;l&&l.style.fontSize.length&&(i=l.style.fontSize,l.style.fontSize=""),document.execCommand("fontSize",!1,"1"),i&&l&&(l.style.fontSize=i);const s=window.getSelection()?.getRangeAt(0).commonAncestorContainer;o.parentElement=o.parentNode.querySelector('[size="1"]')||(s?.nodeType===1?s:s?.parentElement),o.parentElement&&(o.parentElement.style.fontSize=e.currentSettings.value+"px")}let t=null;if(o.parentElement?.tagName==="FONT"){const i=document.createElement("span");i.innerHTML=o.parentElement.innerHTML,o.parentElement.getAttribute("size")?(i.style.fontSize=e.currentSettings.value+"px",i.removeAttribute("size")):Array.from(o.parentElement.attributes).forEach(l=>i.setAttribute(l.name,l.value)),o.parentElement.parentNode?.replaceChild(i,o.parentElement),e.refreshElementSettings(i,e.selectedText),o.range.selectNode(i),e.addNewRange(o.range)}if((e.activeElement.tagName==="A"||e.activeElement.closest("a"))&&(o.parentWrapper=e.activeElement.closest("a")),e.getInnerText(o.parentWrapper)===e.selectedText){if(Array.from(o.parentWrapper?.getElementsByTagName("span")||[]).forEach(l=>l.style.fontSize=""),!o.parentWrapper?.hasAttribute("em-edit")&&e.isElementList&&o.parentWrapper&&e.isProgrammaticSelection){const l=o.parentWrapper.closest("tr")?.querySelector(`.${e.classNameBullet}`);l&&(l.style.fontSize=e.currentSettings.value+"px")}o.parentWrapper&&(o.parentWrapper.style.fontSize=e.currentSettings.value+"px");const i=o.parentWrapper?.firstChild;i?.nodeType===1&&i.tagName==="SPAN"&&i.innerText===e.selectedText&&(i.style.fontSize="")}else o.parentWrapper?.style.hasOwnProperty("font-size")&&(t=o.parentWrapper.style.fontSize,t&&o.parentWrapper.style.removeProperty("font-size"));t&&o.parentWrapper&&(o.parentWrapper.style.fontSize=t);const n=Array.from(o.parentNode?.querySelectorAll("font")||[]).reverse(),r=[];e.isEditorTagOutside?e.currentSettings.value||(o.selection=window.getSelection(),o.range=o.selection.getRangeAt(0),o.parentNode=o.selection.anchorNode?.nodeType===1?o.selection.anchorNode:o.selection.anchorNode?.parentElement,o.parentNode&&o.parentNode.style.removeProperty(e.currentStyle),e.cleanEmptySpans(e.selectedText)):(e.checkForTextNodes(o.parentNode,r),r.filter(i=>e.checkForWorkClass(i)).forEach(i=>{i.style.fontSize=e.currentSettings.value+"px",i.querySelectorAll('[style*="font-size"]').forEach(l=>{l.tagName!=="A"?l.style.removeProperty("font-size"):l.style.fontSize=e.currentSettings.value+"px"})})),e.isEditorTagOutside&&n.forEach(i=>{const l=document.createElement("span");l.innerHTML=i.innerHTML;const s=e.currentSettings.value+"px",c=i.children?.length===1&&i.firstChild?.nodeType===1?i.firstChild:null,d=[];if(e.checkForTextNodes(i,d),d.forEach(u=>{if(u.tagName==="FONT"){const p=document.createElement("span");p.innerHTML=u.innerHTML,u.getAttribute("size")?p.style.fontSize=e.getInnerText(u)===e.selectedText?s:"":Array.from(u.attributes).forEach(m=>p.setAttribute(m.name,m.value)),u.parentNode?.replaceChild(p,u)}}),c)i.parentNode?.replaceChild(c,i);else if(i.getAttribute("size")&&i.parentNode){const u=document.createElement("span");u.innerHTML=i.innerHTML,u.style.fontSize=s,i.parentNode.replaceChild(u,i)}if(!d.length&&i.tagName==="FONT"){const u=document.createElement("span");u.innerHTML=i.innerHTML,i.parentNode?.replaceChild(u,i)}}),Array.from(document.getElementsByTagName("span")).reverse().forEach(i=>{e.getInnerText(i)===e.selectedText&&i.closest('[em-edit="active"]')&&(e.refreshElementSettings(i,e.selectedText),o.range.selectNode(i),e.addNewRange(o.range))}),e.cleanEmptySpans(e.selectedText)}function xp(e){if(e.currentSettings.command!=="strikethrough")return;const{mutableState:o}=e;let t=e.getSelectedText(),n=null;if(!e.isEditorTagOutside){const r=[];e.checkForTextNodes(e.parentNode,r),r.filter(i=>e.checkForWorkClass(i)).forEach(i=>{i.innerHTML=e.removeFormattingTags(i.innerHTML,"strike"),i.tagName!=="STRIKE"?e.currentSettings.value&&(i.innerHTML="<strike>"+i.innerHTML+"</strike>"):e.currentSettings.value||(i.outerHTML=i.innerHTML)})}if(e.currentSettings.value===!0){let r=t;Array.from(document?.getElementsByTagName("strike")||[]).reverse().forEach(i=>{if(e.getInnerText(i)===r&&(e.getInnerText(i.parentNode)===r&&i.parentNode.tagName==="U"&&(i.parentNode.outerHTML=i.parentNode.innerHTML),n=e.findElementWithSelectedText(r),n)){const l=e.findOutermostParentWithText(n,"A");l&&(l.style.textDecoration="none"),e.refreshElementSettings(n,r),o.range.selectNode(n),e.addNewRange(o.range)}})}else{let r=t;if(e.cleanEmptySpans(r),e.getInnerText(o.parentWrapper)===r){const i=window.getSelection();if(n=e.findElementWithSelectedText(r,e.activeElement),n&&(o.range.selectNode(n),e.addNewRange(o.range),o.range.cloneContents())){const l=o.range.firstElementChild?o.range.firstElementChild:o.range.parentElement||o.range.commonAncestorContainer;l&&e.refreshElementSettings(l,r)}if(i&&i.rangeCount>0&&e.isElementList&&!n){const l=i.getRangeAt(0);let s=l.commonAncestorContainer;s.nodeType!==Node.ELEMENT_NODE&&(s=s.parentNode),s.querySelectorAll("strike").forEach(c=>{c.outerHTML=c.innerHTML}),s.style.textDecoration="none",s.querySelectorAll('span[style*="text-decoration"]').forEach(c=>{c.style.textDecoration=""}),e.refreshElementSettings(s,r),l.selectNodeContents(s),i.removeAllRanges(),i.addRange(l),e.addNewRange(l)}}}if(e.request.type==="button"||e.activeElement.tagName==="A"){e.request.type!=="button"&&e.activeElement.tagName==="A"&&(o.parentWrapper=e.activeElement);let r=t;if(e.getInnerText(o.parentWrapper)===r&&o.parentWrapper)o.parentWrapper.style.textDecoration=e.currentSettings.value?"line-through":"none",Array.from(o.parentWrapper.querySelectorAll('span[style*="text-decoration"]')).forEach(i=>i.style.textDecoration=""),o.parentWrapper.innerHTML=e.removeFormattingTags(o.parentWrapper.innerHTML,"strikeUnderline"),e.refreshElementSettings(o.parentWrapper,r),o.range.selectNode(o.parentWrapper),e.addNewRange(o.range);else{const i=o.selection.getRangeAt(0),l=document.createElement("span");l.style.textDecoration=e.currentSettings.value?"line-through":"none",e.activeElement.nodeType===1&&e.activeElement.tagName==="SPAN"?(e.activeElement.style.textDecoration=e.activeElement.style.textDecoration==="line-through"?"none":"line-through",Array.from(e.activeElement.querySelectorAll('span[style*="text-decoration"]')).forEach(s=>s.style.textDecoration=""),e.refreshElementSettings(e.activeElement,r)):(l.appendChild(i.extractContents()),Array.from(l.querySelectorAll('span[style*="text-decoration"]')).forEach(s=>s.style.textDecoration=""),i.insertNode(l),n=l,e.refreshElementSettings(l,r),e.addNewRange(i))}}if(o.range.cloneContents()){if(o.range=o.selection.getRangeAt(0),n&&e.getInnerText(n)===t)o.range.selectNode(n),e.addNewRange(o.range);else{const r=o.range.commonAncestorContainer,i=r.nodeType===1?r:r.parentElement,l=o.range.firstElementChild?o.range.firstElementChild:o.range.parentElement||i;l&&e.getInnerText(l)===t&&(o.range.selectNode(l),e.addNewRange(o.range))}n&&e.refreshElementSettings(n,t)}}function Dp(e){if(e.currentSettings.command!=="underline")return;const{mutableState:o}=e,t=r=>{const i=r.parentNode;if(i){for(;r.firstChild;)i.insertBefore(r.firstChild,r);i.removeChild(r)}},n=r=>{r.querySelectorAll("u").forEach(i=>{t(i)}),r.querySelectorAll('span[style*="text-decoration"], span[style*="text-decoration-line"]').forEach(i=>{i.style.removeProperty("text-decoration"),i.style.removeProperty("text-decoration-line"),i.getAttribute("style")||i.removeAttribute("style"),i.attributes.length===0&&t(i)})};if(!e.isEditorTagOutside){const r=[];e.checkForTextNodes(e.parentNode,r),r.filter(i=>e.checkForWorkClass(i)).forEach(i=>{i.innerHTML=e.removeFormattingTags(i.innerHTML,"underline"),i.tagName!=="U"?e.currentSettings.value&&(i.innerHTML="<u>"+i.innerHTML+"</u>"):e.currentSettings.value||(i.outerHTML=i.innerHTML)})}if(e.currentSettings.value){const r=Array.from(e.findOutermostParentWithText(e.parentElement)?.getElementsByTagName("u")||[]).reverse();r.push(...Array.from(e.findOutermostParentWithText(e.parentElement)?.querySelectorAll("a,span[style*=text-decoration]")||[]).reverse()),r.filter(i=>e.getInnerText(i)===e.selectedText).forEach(i=>{if(e.selectedText&&e.getInnerText(i)===e.selectedText){i.style.textDecoration="underline";const l=i.firstChild;l?.tagName==="STRIKE"&&e.getInnerText(l)===e.selectedText&&[...l.attributes].forEach(s=>{i.setAttribute(s.name,s.value),l.removeAttribute(s.name)}),e.cleanStrikesInElement(i,e.getParentElementOfSelection())}}),e.cleanEmptySpans(e.selectedText),e.getInnerText(e.parentElement)===e.selectedText&&e.cleanStrikesInElement(e.parentElement,e.getParentElementOfSelection())}else{const r=e.findElementWithSelectedText(e.selectedText,e.activeElement);if(!r&&e.isElementList){let i=null;const l=window.getSelection();if(l&&l.rangeCount>0){let c=l.getRangeAt(0).commonAncestorContainer;for(c.nodeType!==Node.ELEMENT_NODE&&(c=c.parentNode);c&&c!==e.activeElement&&!["DIV"].includes(c.tagName);)c=c.parentNode;c&&c.contains(e.activeElement)&&(i=c)}const s=i?e.findOutermostParentWithText(i,"A"):null;s&&(s.style.textDecoration="none"),e.getInnerText(o.parentWrapper)===e.selectedText&&i&&(e.refreshElementSettings(i,e.selectedText),o.range.selectNode(i),e.addNewRange(o.range))}else{const i=e.findOutermostParentWithText(r,"A");i&&(i.style.textDecoration="none"),e.getInnerText(o.parentWrapper)===e.selectedText&&r&&(e.refreshElementSettings(r,e.selectedText),o.range.selectNode(r),e.addNewRange(o.range))}}if(e.request.type==="button"||e.activeElement.tagName==="A")if(e.request.type!=="button"&&e.activeElement.tagName==="A"&&(o.parentWrapper=e.activeElement),e.getInnerText(o.parentWrapper)===e.selectedText&&o.parentWrapper)o.parentWrapper.style.textDecoration=e.currentSettings.value?"underline solid":"none",Array.from(o.parentWrapper.querySelectorAll('span[style*="text-decoration"]')).forEach(r=>r.style.textDecoration=""),e.cleanStrikesInElement(o.parentWrapper,e.getParentElementOfSelection());else{const r=o.selection.getRangeAt(0);if(e.activeElement.nodeType===1&&e.activeElement.tagName==="SPAN")e.currentSettings.value?e.activeElement.style.textDecoration="underline":(e.activeElement.style.removeProperty("text-decoration"),e.activeElement.style.removeProperty("text-decoration-line")),Array.from(e.activeElement.querySelectorAll('span[style*="text-decoration"]')).forEach(i=>i.style.textDecoration=""),e.activeElement.getAttribute("style")||e.activeElement.removeAttribute("style"),e.refreshElementSettings(e.activeElement,e.selectedText);else if(e.activeElement.tagName!=="A")if(e.currentSettings.value){const i=document.createElement("span");i.style.textDecoration="underline",i.appendChild(r.extractContents()),Array.from(i.querySelectorAll('span[style*="text-decoration"]')).forEach(l=>l.style.textDecoration=""),e.refreshElementSettings(i,e.selectedText),r.insertNode(i),e.addNewRange(r)}else{const i=r.extractContents(),l=document.createElement("span");l.appendChild(i),n(l);const s=document.createDocumentFragment();for(;l.firstChild;)s.appendChild(l.firstChild);r.insertNode(s),e.addNewRange(r)}}}function Fp(e){if(!e.isColorChange)return;const{mutableState:o}=e;let t=[];if(e.tempColor&&e.isEditorTagOutside&&o.parentWrapper&&(o.parentWrapper.style[e.stylePropretyName]=e.tempColor,!o.parentWrapper?.hasAttribute("em-edit")&&e.isElementList&&o.parentWrapper&&e.isProgrammaticSelection)){const l=o.parentWrapper.closest("tr")?.querySelector(`.${e.classNameBullet}`);l&&(l.style[e.stylePropretyName]=e.tempColor)}if(e.outerContextColor&&e.outerContextElement&&(e.outerContextElement.style.color=e.outerContextColor),e.getInnerText(o.parentWrapper)===e.selectedText&&o.parentWrapper){const l=e.rgbToHex(e.currentSettings.value?.toString())||"";if(e.currentStyle==="color"){const s=(e.parentElement||o.parentNode).closest("a");if(e.request.type==="button"||s)s&&(s.style.color=l,s.querySelectorAll('span[style*="color"]').forEach(c=>c.style.color=""));else{o.parentWrapper.style.color=l,e.canselExecCommand&&(e.setCustomColor(o.parentWrapper,e.stylePropretyName,e.currentSettings.value),o.range.selectNode(o.parentWrapper),e.addNewRange(o.range));const c=o.parentWrapper.firstChild;c?.nodeType===1&&c.tagName==="SPAN"&&e.getInnerText(c)===e.selectedText&&(c.style[e.stylePropretyName]="")}}else if(!e.canselExecCommand){const s=document.createElement("span");s.style[e.stylePropretyName]=l;const c=o.parentWrapper.firstChild;if(c?.nodeType===1&&c.tagName==="SPAN"&&e.getInnerText(c)===e.selectedText)c.style[e.stylePropretyName]=l;else{for(;o.parentWrapper.firstChild;)s.appendChild(o.parentWrapper.firstChild);o.parentWrapper.appendChild(s)}}o.parentWrapper.querySelectorAll(`span[style*="${e.stylePropretyName}"]`).forEach(s=>{s.innerText!==o.parentWrapper.innerText&&s.style.removeProperty(e.stylePropretyName)})}e.isEditorTagOutside?!e.currentSettings.value&&o.selection.isCollapsed&&(o.parentNode=o.selection.anchorNode?.nodeType===1?o.selection.anchorNode:o.selection.anchorNode?.parentElement,o.parentNode&&o.parentNode.style.removeProperty(e.stylePropretyName),e.cleanEmptySpans(e.selectedText)):(e.checkForTextNodes(o.parentNode,t),t.forEach(l=>{l.classList&&l.classList.contains(e.classNameBullet)||e.checkForWorkClass(l)&&(l.style[e.stylePropretyName]=e.currentSettings.value,l.querySelectorAll(`[style*="${e.stylePropretyName}"]`).forEach(s=>{s.tagName!=="A"?s.style.removeProperty(e.currentStyle):s.style[e.stylePropretyName]=e.currentSettings.value}))}));const n=Array.from(o.parentNode?.querySelectorAll("font")||[]).reverse();e.isEditorTagOutside&&n.forEach(l=>{const s=document.createElement("span");s.innerHTML=l.innerHTML;const c=l.getAttribute(e.currentStyle),d=e.rgbToHex(c||"").toString(),u=l.children.length===1&&l.firstChild?.nodeType===1?l.firstChild:null;let p=[];if(e.checkForTextNodes(l,p),p.forEach(m=>{if(m.tagName==="FONT"){const f=document.createElement("span");f.innerHTML=m.innerHTML,f.style[e.stylePropretyName]=d,m.parentNode?.replaceChild(f,m),e.refreshElementSettings(f,e.selectedText),o.range.selectNode(f),e.addNewRange(o.range)}else m.style[e.stylePropretyName]=d}),u)l.parentNode?.replaceChild(u,l);else if(l.getAttribute(e.currentStyle)&&l.parentNode){const m=document.createElement("span");m.innerHTML=l.innerHTML,m.style[e.stylePropretyName]=d;const f=l.closest("a");f&&f.innerText===l.innerHTML&&(f.style[e.stylePropretyName]=d),l.parentNode.replaceChild(m,l)}});const r=Array.from(o.parentWrapper?.getElementsByTagName("span")||[]).reverse();e.isEditorTagOutside&&r.forEach(l=>{l.style[e.stylePropretyName]=e.rgbToHex(l.style[e.stylePropretyName]),e.getInnerText(l)===e.selectedText&&e.canselExecCommand&&(e.setCustomColor(l,e.stylePropretyName,e.currentSettings.value),o.range.selectNode(l),e.addNewRange(o.range))});const i=o.parentWrapper||o.parentNode;e.currentStyle==="color"&&i&&(Mp(i,e.rgbToHex,e.outerContextColor||e.tempColor),_p(i,e.rgbToHex)),i&&e.cleanEmptySpans(e.selectedText,i)}function qp(e){const o=e.parentElement;if(!o)return!1;let t=e,n=o;for(;n;){const r=n.tagName;if(r==="TD"||r==="TH")return n.childElementCount!==1||n.firstElementChild!==t?!1:!Array.from(n.childNodes).some(i=>i.nodeType===Node.TEXT_NODE&&i.textContent?.trim()!=="");if(r==="SPAN"||r==="EDITOR"){if(n.childElementCount!==1||n.firstElementChild!==t||Array.from(n.childNodes).some(i=>i.nodeType===Node.TEXT_NODE&&i.textContent?.trim()!==""))return!1;t=n,n=n.parentElement;continue}return!1}return!1}function Ei(e,o){const t=e.style.color?.trim();if(!t)return null;const n=De(t),r=De(o??"");return!n||n===r?null:t}function Wp(e){if(e.currentSettings.name!=="textLink")return;const{mutableState:o}=e;let t=o.parentNode.querySelector('a[href=" "]');if(e.isEditorTagOutside||(t=e.findOutermostParentWithText(e.activeElement,"a")),e.currentSettings.value){const n=e.findOutermostParentWithText(e.activeElement,"a")||e.findOutermostParentWithText(o.parentNode,"a")||e.findOutermostParentWithText(o.parentWrapper,"a");if(!(t||n))return;const r=e.commonStyles?.links?.underline===void 0||e.commonStyles?.links?.underline?"underline":"none";t||(t=n);const i=e.findOutermostParentWithText(t);if(i&&i!==t&&i!==o.parentWrapper&&["b","strong","a","em","i","s","strike","u","br","span"].includes(i?.tagName.toLowerCase())){const l=t.cloneNode(!1),s=t.innerHTML;t.parentNode&&(t.parentNode.innerHTML=s),l.appendChild(i.cloneNode(!0)),i.parentNode&&i.parentNode.replaceChild(l,i),t=l,o.range.selectNode(t),e.addNewRange(o.range)}if(t){t.setAttribute("target","_blank"),t.setAttribute("href","");const l=e.commonStyles?.links?.color||t.closest('[style*="color"]')?.style?.color||"";t.setAttribute("style",`color: ${l}; text-decoration: ${r};`),t.setAttribute("new","true"),e.refreshElementSettings(t,e.selectedText)}}else if(t=o.parentNode.closest("a")||o.parentNode.querySelector('a[em-edit="active"]')||e.findOutermostParentWithText(e.activeElement,"a"),t)if(t.style.fontFamily||t.style.fontSize){const n=qp(t)?"div":"span",r=document.createElement(n);if(r.innerHTML=t.innerHTML,Array.from(t.attributes).forEach(l=>{l.name!=="href"&&l.name!=="target"&&l.name!=="color"&&r.setAttribute(l.name,l.value)}),!r.style.lineHeight){const l=t.closest('[style*="line-height"]');l?.style.lineHeight&&(r.style.lineHeight=l.style.lineHeight)}r.style.textDecoration="";const i=Ei(t,e.commonStyles?.links?.color);if(i?r.style.color=i:r.style.color="",t.parentNode?.replaceChild(r,t),n==="div"){let l=r.parentElement;for(;l&&l.tagName!=="TD"&&l.tagName!=="TH";){const s=l.parentElement;if(!s)break;s.replaceChild(r,l),l=r.parentElement}}e.cleanEmptySpansWithParent(e.selectedText,r),e.refreshElementSettings(r,e.selectedText),o.range.selectNodeContents(r),e.addNewRange(o.range)}else{const n=Ei(t,e.commonStyles?.links?.color);if(n){const r=document.createElement("span");for(r.style.color=n;t.firstChild;)r.appendChild(t.firstChild);t.parentNode?.replaceChild(r,t),o.range=document.createRange(),o.range.selectNodeContents(r)}else{const r=Array.from(t.childNodes);r.forEach(i=>{t.parentNode?.insertBefore(i,t)}),t.parentNode?.removeChild(t),o.range=document.createRange(),o.range.setStartBefore(r[0]),o.range.setEndAfter(r[r.length-1])}if(e.addNewRange(o.range),o.range.cloneContents()){o.range=o.selection.getRangeAt(0);const r=o.range.commonAncestorContainer,i=r.nodeType===1?r:r.parentElement,l=o.range.firstElementChild?o.range.firstElementChild:o.range.parentElement||i;l&&e.refreshElementSettings(l,e.selectedText)}}}var $p=new Set(["textStrong","textItalic","textStrikethrough","textUnderline","textLink","textColor","textBackgroundColor"]);function zp(e){const{commit:o,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,findOutermostParentWithText:l,clearLinkTags:s,addFontFamilyClass:c,getIsProgrammaticSelection:d,getCommonStyles:u}=e;function p(E,S,v){const C=!!E&&!!S&&S.tagName==="DIV"&&E.tagName==="EDITOR"&&E.parentElement===S&&S.childElementCount===1&&S.firstElementChild===E&&!Array.from(S.childNodes).some(D=>D!==E&&D.nodeType===Node.TEXT_NODE&&!!D.textContent?.trim()),L=!!E&&E.childElementCount===0&&Array.from(E.childNodes).some(D=>D.nodeType===Node.TEXT_NODE&&!!D.textContent?.trim()),w=!!E&&re(E).trim()===v.trim();if(!C||!L||!w||!E.hasAttribute("em-edit")||!S.parentNode)return;const T=S.parentNode,k=E.getAttribute("em-edit")||"active";for(;E.firstChild;)S.appendChild(E.firstChild);E.remove(),E.removeAttribute("em-edit"),S.setAttribute("em-edit",k),T.replaceChild(E,S),E.appendChild(S)}function m(E,S){try{return S.intersectsNode(E)}catch{const v=document.createRange();return v.selectNodeContents(E),S.compareBoundaryPoints(Range.END_TO_START,v)<0&&S.compareBoundaryPoints(Range.START_TO_END,v)>0}}function f(E){const S=E?.links||{},v=S.underline,C=S.color,L=typeof v=="boolean"?v?"underline":"none":"underline";return{color:typeof C=="string"&&C.trim()?C.trim():"inherit",textDecoration:L}}function g(E,S){if(!E||!S)return null;const v=S,C=Array.from(v.querySelectorAll("a"));v.tagName==="A"&&C.unshift(v);const L=typeof window<"u"&&window.Range?window.Range.START_TO_START:0,w=typeof window<"u"&&window.Range?window.Range.END_TO_END:2;for(const T of C){const k=document.createRange();k.selectNodeContents(T);const D=k.compareBoundaryPoints(L,E)<=0,z=k.compareBoundaryPoints(w,E)>=0;if(D&&z)return T}return null}function b(E,S,v){const C=Array.from(S?.getElementsByTagName("span")||[]).reverse();let L=!1;re(S)===E&&C.length&&(L=!0),C.forEach(w=>{const T=w.getAttribute("style"),k=!!T&&T.trim().length>0;let D=Array.from(w.attributes).filter($=>$.name!=="style");if(!k&&D.length===1&&D[0].name==="em-edit"&&w.parentElement&&!w.parentElement.hasAttribute("em-edit")){const $=w.getAttribute("em-edit")||"active";w.parentElement.setAttribute("em-edit",$),w.removeAttribute("em-edit"),D=Array.from(w.attributes).filter(M=>M.name!=="style")}const z=D.length>0;if(!k&&!z){const $=re(w);if(w.childNodes.length===1&&w.childNodes[0].nodeType===3){const M=w.childNodes[0];w.parentNode?.replaceChild(M,w),v.isEditorTagOutside&&re(S)!==E&&M.parentNode&&(v.range?.selectNode(M),t(v.range))}else{const M=Array.from(w.childNodes);M.forEach(H=>{w.parentNode?.insertBefore(H,w)}),E===$&&(v.range=document.createRange(),v.range.setStartBefore(M[0]),v.range.setEndAfter(M[M.length-1]),t(v.range)),w.parentNode?.removeChild(w)}}}),L&&(n(S,E),v.range.selectNode(S),t(v.range))}function h(E,S){if(E?.rangeCount>0){const v=E.getRangeAt(0),C=v.commonAncestorContainer;let L=v.startOffset,w=v.endOffset;for(;C.data&&L>0&&!/\s/.test(C.data[L-1]);)L--;for(;C.data&&w<C.length&&!/\s/.test(C.data[w]);)w++;S.setStart(C,L),S.setEnd(C,w),t(S)}}function y(E,S,v){E.innerHTML=E.innerHTML.replaceAll(/<\/?strike[^>]*>/gi,""),E.parentNode&&(v.selectNode(E),t(v),n(E,S))}return function(S,v){const C=Ap(v.settings,a.rgbToHex),L=a.getListContext(S),{classNameOl:w,classNameUl:T,classNameBullet:k,isListOL:D,isListUL:z,isList:$}=L;$&&L.tableElement?.querySelectorAll("tbody > tr > td:first-child")?.forEach(N=>{const le=N.querySelector(":scope > div")||N.querySelector(":scope > editor div");le&&le.classList.add(`${k}`)}),S?.querySelectorAll(".em-element-path").forEach(N=>N.remove());const M=Object.keys(v.settings)[0];let H=window.getSelection();if(!H||H.rangeCount===0){if(!S||!S.isConnected)return;const N=document.createRange();if(N.selectNodeContents(S),H=window.getSelection(),!H)return;H.removeAllRanges(),H.addRange(N)}let P=H.getRangeAt(0);const Z=P.commonAncestorContainer;let R=Z.nodeType===1?Z:Z.parentElement,F=H.anchorNode?.nodeType===1?H.anchorNode:H.anchorNode?.parentElement,ie=!1,O=a.getSelectedText();if(S||(S=H.anchorNode?.childNodes.length===1&&H.anchorNode.firstChild?.nodeType===1?H.anchorNode.firstChild:R,S.tagName==="EDITOR"&&(S=S.parentElement)),C.name==="textLink"&&C.value===""){const N=R?.closest?.("a, [href]")||null;N&&(P.selectNode(N),t(P),S=N)}if(C.name==="textUnderline"&&!C.value){let N=R.closest(["u","strike","[style*=text-decoration]","span","a"].find(le=>R?.closest(le))||"u");!N&&S?.tagName==="A"&&(N=S),N?.tagName==="A"&&(N.style.textDecoration="none",n(N,O),P.selectNode(N),t(P),S=N,ie=!0)}let B=v.type==="button"?(S||F)?.closest("a"):(S||F)?.closest("a, div, p, td, h1, h2, h3, h4, h5, h6, li, ul, ol, sup, sub");const ee=v.settings.fontFamily;let oe=null;const G=Array.from(B?.classList||[]).some(N=>(N.startsWith("em-font-")&&(oe=N),N.startsWith("em-font-")&&N.includes(C.name==="textItalic"?"Italic":"Bold")));G&&(C.name==="textItalic"||C.name==="textStrong")&&oe&&B?.classList.remove(oe);const J={range:P,isEditorTagOutside:!1},Y=(N=a.getSelectedText(),le=B)=>{b(N,le,J)},ae=a.checkForWorkClass,ge=a.checkForTextNodes,Co=(N,le)=>{y(N,O,J.range)};let qe,Ae;M==="textColor"?qe=Ae="color":M==="textBackgroundColor"&&(qe="backgroundColor",Ae="background-color");const Te=v.settings.hasOwnProperty("textColor")||v.settings.hasOwnProperty("textBackgroundColor"),se=!!R?.closest("editor")||re(R)===O||re(R.querySelector("editor"))===O;J.isEditorTagOutside=se,v.settings.hasOwnProperty("textColor")&&C.value&&document.execCommand("styleWithCSS",!1,"true");const Vt=a.setCustomColor,Le=d(),Ze=u();if(Rp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex})||Pp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,fontFamilyArray:ee,removeClassesByPrefix:a.removeClassesByPrefix$1,createFontClassName:a.createFontClassName,clearLinkTags:s,addFontFamilyClass:c,cleanEmptySpans:Y}))return!1;const ue=R.closest(C.tags.find(N=>R?.closest(N))||"span");(P?.collapsed||!a.getSelectedText())&&(C.value?C.value&&se&&(v.type==="button"||S.tagName==="A"&&ue?P.selectNodeContents(ue):h(H,P)):ue&&P.selectNodeContents(ue)),(v.type==="button"||S.tagName==="A"||S?.closest("a"))&&a.getSelectedText()&&a.getSelectedText()!==re(S)&&ue&&(v.settings.hasOwnProperty("textLink")||v.settings.hasOwnProperty("textUnderline"))&&(P.selectNode(ue),t(P),v.settings.hasOwnProperty("textUnderline")&&S.tagName==="A"&&(S.style.textDecoration=C.value?"underline":"none",ie=!0)),H=window.getSelection(),P=H.getRangeAt(0),J.range=P,O=a.getSelectedText(),Array.from(B?.querySelectorAll("span,div")||[]).reverse().forEach(N=>{N.getAttribute("style")===""&&N.removeAttribute("style"),N.hasAttribute("contenteditable")&&N.removeAttribute("contenteditable"),N.hasAttribute("em-edit")&&N.removeAttribute("em-edit"),N.hasAttribute("em-relative")&&N.removeAttribute("em-relative"),N.hasAttribute("class")&&(N.classList.remove("em-relative"),N.classList.length===0&&N.removeAttribute("class"))});let We=null;Te&&Ae&&B?.style?.getPropertyValue?.(Ae)?.trim()&&(re(B)===O&&(B.style[qe]=a.rgbToHex(C.value?.toString())||"",ie=!0),qe==="color"&&(R===B||S?.closest('[style*="color"]')===B)&&(We=a.rgbToHex(B.style[Ae]),B.style.removeProperty(Ae),!B?.hasAttribute("em-edit")&&$&&B&&Le&&B.closest("tr")?.querySelector(`.${k}`)?.style.removeProperty(Ae)));let vo=null,Ut=null;if(Te&&qe==="color"&&B?.tagName==="A"){let N=B.parentElement;for(;N&&!["BODY","HTML","TD","TH"].includes(N.tagName);){const le=N.style.getPropertyValue("color")?.trim();if(le){vo=a.rgbToHex(le)||le,Ut=N,N.style.removeProperty("color");break}N=N.parentElement}}Ae&&!(C.value.length===7||C.value.length===4)&&(ie=!0),se&&(!C.value&&C.name!=="fontSize"&&C.name!=="textLink"||C.value)&&(!(C.name==="textUnderline"||C.name==="textStrikethrough")||v.type!=="button")&&!ie&&(C.name!=="fontSize"&&!Te&&re(B)===O?document.execCommand(C.command,!1,Te?C.value:C.name==="textLink"?" ":void 0):re(B)!==O&&(v.settings.hasOwnProperty("textColor")&&document.execCommand("styleWithCSS",!1,"true"),document.execCommand(C.command,!1,Te?String(C.value):C.name==="textLink"?" ":void 0),v.settings.hasOwnProperty("textColor")&&C.value&&Bp(B||R,String(C.value),a.rgbToHex))),O=a.getSelectedText();{const N={parentElement:R,parentNode:F,parentWrapper:B,selection:H,range:P};Op({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,activeElement:S,hasItalicClass:G,tempStyleClass:oe,checkForWorkClass:ae,removeFormattingTags:Rt,cleanEmptySpans:Y,mutableState:N,currentStyle:qe,isProgrammaticSelection:Le,findParentWithFontSizeAndTag:a.findParentWithFontSizeAndTag}),R=N.parentElement,F=N.parentNode,B=N.parentWrapper,H=N.selection,P=N.range,J.range=P}Hp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,activeElement:S,hasItalicClass:G,tempStyleClass:oe,checkForWorkClass:ae,removeFormattingTags:Rt,cleanEmptySpans:Y}),Ip({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,activeElement:S,hasItalicClass:G,tempStyleClass:oe,checkForWorkClass:ae,removeFormattingTags:Rt,cleanEmptySpans:Y});const $e={parentWrapper:B,range:P,selection:H};xp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,activeElement:S,hasItalicClass:G,tempStyleClass:oe,checkForWorkClass:ae,removeFormattingTags:Rt,cleanEmptySpans:Y,request:v,findOutermostParentWithText:l,mutableState:$e}),B=$e.parentWrapper,P=$e.range,J.range=P;const jt={parentWrapper:B,range:P,selection:H};if(Dp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,activeElement:S,hasItalicClass:G,tempStyleClass:oe,checkForWorkClass:ae,removeFormattingTags:Rt,cleanEmptySpans:Y,request:v,findOutermostParentWithText:l,cleanStrikesInElement:Co,mutableState:jt}),B=jt.parentWrapper,C.value===!1&&B){const N=window.getSelection(),le=N&&N.rangeCount>0?N.getRangeAt(0):P,ne={textStrong:["strong","b"],textItalic:["em","i"],textStrikethrough:["s","strike"],textUnderline:["u"]}[C.name];let ze=!1;ne&&ne.forEach(K=>{Array.from(B.getElementsByTagName(K)).reverse().forEach(he=>{if(!m(he,le))return;const Ve=re(he);if(!Ve||Ve.trim().length===0)return;const me=he.parentElement;he.hasAttribute("em-edit")&&me&&!me.hasAttribute("em-edit")&&me.setAttribute("em-edit",he.getAttribute("em-edit")||"active"),he.outerHTML=he.innerHTML,ze=!0,p(me,B,O)})}),ze&&setTimeout(()=>{const K=document.querySelector("[em-edit]")||r(O)||(B?.isConnected?B:null);K&&n(K,O)},0)}if(C.value===!0&&B&&se){const N={textStrong:"strong",textItalic:"em",textStrikethrough:"s",textUnderline:"u"},le={textStrong:["strong","b"],textItalic:["em","i"],textStrikethrough:["s","strike"],textUnderline:["u"]},ne=N[C.name],ze=le[C.name];if(ne&&ze&&O&&O.trim().length>0){const K=B,he=ze.some(Je=>K.getElementsByTagName(Je).length>0),Ve=(K.style?.textDecoration||"").toLowerCase(),me=(K.style?.textDecorationLine||"").toLowerCase(),Re=Ve.includes("underline")||me.includes("underline"),fe=Ve.includes("line-through")||me.includes("line-through"),Gt=C.name==="textUnderline"&&Re||C.name==="textStrikethrough"&&fe,St=re(K)===O;if(!he&&!Gt&&St){const Je=document.createElement(ne);for(;K.firstChild;)Je.appendChild(K.firstChild);K.appendChild(Je);try{const Pe=document.createRange();Pe.selectNodeContents(Je),t(Pe),P=Pe,J.range=Pe}catch{}setTimeout(()=>{const Pe=document.querySelector("[em-edit]")||r(O)||(K.isConnected?K:null);Pe&&n(Pe,O)},0)}}}const Ao={parentWrapper:B,parentNode:F,range:P,selection:H};Fp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,isColorChange:Te,tempColor:We,outerContextColor:vo,outerContextElement:Ut,stylePropretyName:Ae,currentStyle:qe,canselExecCommand:ie,isProgrammaticSelection:Le,request:v,setCustomColor:Vt,checkForWorkClass:ae,cleanEmptySpans:Y,mutableState:Ao}),B=Ao.parentWrapper,F=Ao.parentNode;const W={parentWrapper:B,parentNode:F,range:P,selection:H};if(Wp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,findOutermostParentWithText:l,activeElement:S,commonStyles:Ze,cleanEmptySpansWithParent:Y,mutableState:W}),P=W.range,C.name==="textLink"&&C.value===!0&&se&&B&&O?.trim().length>0){const N=W.range||P,le=O.trim(),ne=[...B?Array.from(B.querySelectorAll("a")):[],...B?.parentElement?Array.from(B.parentElement.querySelectorAll("a")):[]],ze=ne.find(K=>re(K)?.trim()===le)||ne[0]||null;if(!(g(N,B)||g(N,B.parentElement)||ze)&&N&&!N.collapsed){const K=document.createElement("a"),{color:he,textDecoration:Ve}=f(Ze);K.setAttribute("target","_blank"),K.setAttribute("href",""),K.setAttribute("new","true"),K.setAttribute("style",`color: ${he}; text-decoration: ${Ve};`);let me=!1;const Re=B.querySelector("editor");if(Re&&re(Re)===O&&Re.querySelector("a")===null){for(;Re.firstChild;)K.appendChild(Re.firstChild);Re.appendChild(K),me=!0}try{if(!me){const fe=N.extractContents();fe.childNodes.length>0&&(K.appendChild(fe),N.insertNode(K),me=!0)}}catch{me=!1}if(!me&&re(B)===O){for(;B.firstChild;)K.appendChild(B.firstChild);B.appendChild(K),me=!0}if(me){try{const fe=document.createRange();fe.selectNodeContents(K),t(fe),P=fe,W.range=fe,J.range=fe}catch{}n(K,O)}}}const Me=C.name==="textUnderline"&&!C.value;if((!Te&&ie||Me)&&Y(O),$p.has(C.name)){const N=W.parentWrapper||B||r(O)||i();N&&Y(O,N)}$&&R.querySelectorAll(`tr td:first-child > div.${k}, tr td:first-child > editor div.${k}`).forEach(N=>{N.classList.remove(`${k}`)});const To=r(O);To?.hasAttribute("em-edit")||To?.setAttribute("em-edit","active"),o()}}var ve=null,pt=!1,Si=!1,Ue="",je="",gt=null,Ci=null,nt=null,fn=!1,go=!1,pn=!1,te,Ye,gn,rt,Fe,bo,j,ho,vi,bn,yo,qt,hn=".em-prevent-action",q,Wt,it,bt;function be(e){return Ld(e,{HTMLDocument:j,documentMapping:rt,remoteDocument:Ye,messageService:a.messageService})}function Vp(e){bo?.setEditorFocus(e)}function Up(e,o=a.getSelectedText()){let n=(i=>i?.nodeType===Node.ELEMENT_NODE?i:i?.parentElement||null)((typeof a.findElementWithSelectedText=="function"?a.findElementWithSelectedText(o,e):null)||e);if(!n||n.tagName==="EDITOR"&&(n=n.firstElementChild||null,!n))return;const r=a.state.get("activeElementLocked")>0;try{r&&a.state.decrement("activeElementLocked"),de({elem:n})}finally{r&&a.state.increment("activeElementLocked")}}function jp(e,o){const t=j.getRangeByElement(e,!0);t&&rt.hasMappedReplacementRangeInRange(t)||Fe.whenEditorLostFocus(()=>it(e,o),"editor")}function Gp(e){return a.prepareEditorHTML(e,a.parseFromString)}var Yp=a.checkIsEditorInited;function Ai(e=!1){Od({state:a.state,getEmailWidth:()=>a.state.get("emailWidth"),messageService:a.messageService,removeHiddenClasses:a.removeHiddenClasses,findGlobalHolder:gi,elMarkupHelper:Kp,rgbToHex:a.rgbToHex,getSubject:Go,getPreheader:Yo,getUsedColors:xr,commit:q,setGlobalHolder:o=>{ve=o}},e)}function Kp(){Ud(ve)}function Xp(e){return Gd(e,j)}function Zp(e){return Sp(e,{getLockEditor:()=>a.state.get("lockEditor"),applyStylesToDocument:Xp,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,setFloatBlocksWidth:Ge,appName:a.state.get("appName"),wrapEditor:it,setCursorPosition:be,messageService:a.messageService,commit:q})}function Jp(e){cu(e,{setBlockGroupControlsPosition:Eo,commit:q})}var Ti=Dt,Li=Ft;function Qp(){return a.stickyCheck(q)}var eg=a.checkSandboxStyles,yn=a.getElementParent;function tg(e){return a.addBlockToProject(e,{HTMLDocument:j,messageService:a.messageService})}function Eo(){return a.setBlockGroupControlsPosition({scrollTop:a.state.get("scrollTop")})}function Ge(e){return a.setFloatBlocksWidth(e,te)}function ht(e){return a.setBlockMaxWidth(e,te)}var lt=a.setImageWidth;function at(e){return a.insertCountdown(e,q)}var $t=a.uptimeCountdown,yt=a.checkBlockAdaptivity;function En(e){return a.addFontFamilyClass(e,q)}function Sn(e){return a.clearLinkTags(e,q)}function og(){a.clearProjectFontFaces(e=>{q(e)})}function Ke(e){return a.commonStylesApply(e,q)}var Xe=a.commonStylesApplyToBlock,ng=a.getStructureColumns,rg=a.getElementTdDiv,wi=a.setStructureBlocksWidth;function ig(e){e=te.getVisibleNode(e),a.implementResizableElems(e),Fe.whenEditorLostFocus(()=>{e.isConnected})}function ki({target:e}){return jd({target:e},q)}var _i;function lg(e){const o=["textStrong","textItalic","textStrikethrough","textUnderline","textColor","textBackgroundColor","textLink","lineHeight","fontSize","fontFamily"];try{a.state.increment("activeElementLocked");let t=e.data;t.settings=ho.escape(t.settings),Object.keys(t.settings)[0];let n=a.getActiveEditElement();const{classNameOl:r,classNameUl:i,isListOL:l,isListUL:s,isList:c}=a.getListContext(n),d=a.getListContainer(n);if(t.type==="img"||t.type==="countdown"||t.type==="video")Of(t.settings,{activeElement:n,getActiveEditElement:a.getActiveEditElement,setCursorPosition:be,setElementBorder:a.setElementBorder,setElementBoxShadow:a.setElementBoxShadow,setElementBorderRadius:a.setElementBorderRadius,setElementMobileWidth:a.setElementMobileWidth,setElementMobileHeight:a.setElementMobileHeight,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileAlign:a.setElementMobileAlign,setElementMobileVerticalAlign:a.setElementMobileVerticalAlign,setElementShow:a.setElementShow});else if(t.type==="a")xf(t.settings,{activeElement:n,textStyleProperties:o,toggleTextStyle:bt});else if(t.type==="table")Du(t.settings,{activeElement:n,setElementBorder:a.setElementBorder,setElementBoxShadow:a.setElementBoxShadow,setElementBorderRadius:a.setElementBorderRadius,setElementMobileTableAlign:a.setElementMobileTableAlign,setElementMobileWidth:a.setElementMobileWidth,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileBackgroundColor:a.setElementMobileBackgroundColor,setElementMobileBackgroundImage:a.setElementMobileBackgroundImage,setElementMobileBackgroundPositionX:a.setElementMobileBackgroundPositionX,setElementMobileBackgroundPositionY:a.setElementMobileBackgroundPositionY,setElementMobileBackgroundRepeat:a.setElementMobileBackgroundRepeat,setElementShow:a.setElementShow});else if(t.type==="td"||t.type==="structure"||t.type==="group"||t.type==="column")qu(t.settings,{activeElement:n,requestType:t.type,textStyleProperties:o,isElementListContainer:d,isProgrammaticSelection:{get value(){return pt},set value(p){pt=p}},setElementBorder:a.setElementBorder,setElementBoxShadow:a.setElementBoxShadow,setElementBorderRadius:a.setElementBorderRadius,setElementMobileWidth:a.setElementMobileWidth,setElementMobileHeight:a.setElementMobileHeight,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileAlign:a.setElementMobileAlign,setElementMobileTableAlign:a.setElementMobileTableAlign,setElementMobileVerticalAlign:a.setElementMobileVerticalAlign,setElementMobileDirection:a.setElementMobileDirection,setElementMobileBackgroundColor:a.setElementMobileBackgroundColor,setElementMobileBackgroundImage:a.setElementMobileBackgroundImage,setElementMobileBackgroundPositionX:a.setElementMobileBackgroundPositionX,setElementMobileBackgroundPositionY:a.setElementMobileBackgroundPositionY,setElementMobileBackgroundRepeat:a.setElementMobileBackgroundRepeat,setElementMobilePadding:a.setElementMobilePadding,setElementShow:a.setElementShow,setContrastBlock:a.setContrastBlock,setStructureBlocksWidth:wi,toggleTextStyle:bt,removeEditorTags:a.removeEditorTags,addClassToSecondCell:a.addClassToSecondCell,wrapEditor:it,addNewRange:a.addNewRange});else if(t.type==="button")Hu(t.settings,{activeElement:n,textStyleProperties:o,setElementBorder:a.setElementBorder,setElementBoxShadow:a.setElementBoxShadow,setElementBorderRadius:a.setElementBorderRadius,setElementMobileWidth:a.setElementMobileWidth,setElementMobileHeight:a.setElementMobileHeight,setElementMobileLineHeight:a.setElementMobileLineHeight,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileAlign:a.setElementMobileAlign,setElementMobileTableAlign:a.setElementMobileTableAlign,setElementMobileVerticalAlign:a.setElementMobileVerticalAlign,setElementMobileBackgroundColor:a.setElementMobileBackgroundColor,setElementMobileBackgroundImage:a.setElementMobileBackgroundImage,setElementMobileBackgroundPositionX:a.setElementMobileBackgroundPositionX,setElementMobileBackgroundPositionY:a.setElementMobileBackgroundPositionY,setElementMobileBackgroundRepeat:a.setElementMobileBackgroundRepeat,setElementMobilePadding:a.setElementMobilePadding,setElementMobileFontSize:a.setElementMobileFontSize,setElementShow:a.setElementShow,toggleTextStyle:bt,compareStrings:a.compareStrings});else if(t.type==="div")xu(t.settings,{activeElement:n,setElementBorder:a.setElementBorder,setElementBoxShadow:a.setElementBoxShadow,setElementBorderRadius:a.setElementBorderRadius,setElementMobileWidth:a.setElementMobileWidth,setElementMobileHeight:a.setElementMobileHeight,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileAlign:a.setElementMobileAlign,setElementMobileVerticalAlign:a.setElementMobileVerticalAlign,setElementMobileDirection:a.setElementMobileDirection,setElementMobileBackgroundColor:a.setElementMobileBackgroundColor,setElementMobileBackgroundImage:a.setElementMobileBackgroundImage,setElementMobileBackgroundPositionX:a.setElementMobileBackgroundPositionX,setElementMobileBackgroundPositionY:a.setElementMobileBackgroundPositionY,setElementMobileBackgroundRepeat:a.setElementMobileBackgroundRepeat,setElementMobilePadding:a.setElementMobilePadding,setElementShow:a.setElementShow});else if(t.type==="vindent")Df(t.settings,{activeElement:n,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="var")Ff(t.settings,{activeElement:n,isVariableText:a.isVariableText});else if(t.type==="floatBlock")Vu(t.settings,{activeElement:n,setElementMobileWidth:a.setElementMobileWidth,setElementMobileContentWidth:a.setElementMobileContentWidth,setElementMobileVerticalAlign:a.setElementMobileVerticalAlign,setElementShow:a.setElementShow});else if(t.type==="text")Nf(t.settings,{activeElement:n,textStyleProperties:o,toggleTextStyle:bt,collectVMLContent:Ro,updateVMLComments:Po,removeClassesByPrefix:a.removeClassesByPrefix$1,createFontClassName:a.createFontClassName,addFontFamilyClass:En,clearLinkTags:Sn,handleTextScriptSettings:lf,handleTextReplacer:af,handleTextAnchor:ff,unwrapNestedTags:cd,wrapInTag:dd,unwrapTag:md,isRangeMatching:ud,splitWrapper:fd,cleanEmptyTags:pd,applicationElementSettingsSet:de,compareStrings:a.compareStrings,setElementMobileFontSize:a.setElementMobileFontSize,setElementMobileLineHeight:a.setElementMobileLineHeight,setElementMobileAlign:a.setElementMobileAlign,updateTableStyle:a.updateTableStyle,changeBullets:a.changeBullets,changeBulletsColor:a.changeBulletsColor,changeBulletsSize:a.changeBulletsSize,changeBulletsItalic:a.changeBulletsItalic,changeBulletsWeight:a.changeBulletsWeight,changeBulletsStrikethrough:a.changeBulletsStrikethrough,changeBulletsUnderline:a.changeBulletsUnderline,findElementWithSelectedText:a.findElementWithSelectedText,removeEditorTags:a.removeEditorTags,isElementList:c,isElementListOL:l,classNameOl:r,classNameUl:i,commit:q});else if(t.type==="floatBlocksWidths")Uu(t.settings,{activeElement:n,setPercentsForColumns:a.setPercentsForColumns,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="floatBlocksPreset")ju(t.settings,{activeElement:n,setPercentsForColumns:a.setPercentsForColumns,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="floatBlocksValign")Gu(t.settings,{activeElement:n,setPercentsForColumns:a.setPercentsForColumns,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="floatBlocksGap")Yu(t.settings,{activeElement:n,setPercentsForColumns:a.setPercentsForColumns,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="floatBlocksGapMobile")Ku(t.settings,{activeElement:n,setPercentsForColumns:a.setPercentsForColumns,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="carousel")Xu(t.settings,{activeElement:n,HTMLDocument:j,parseFromString:a.parseFromString,setElementBorderRadius:a.setElementBorderRadius,commit:q});else if(t.type==="accordion")Zu(t.settings,{activeElement:n,HTMLDocument:j,parseFromString:a.parseFromString,setElementBorderRadius:a.setElementBorderRadius,commit:q});else if(t.type==="social"){const p=rf(t.settings,{activeElement:n,parseFromString:a.parseFromString,commit:q});p&&(n=p)}else t.type==="customTable"&&pf(t.settings,{activeElement:n,activeCell:a.state.get("activeCell"),state:a.state,parseTableElementToModel:Bt,tableModelToHtml:Se,updateTablePadding:Oa,updateBackgroundPosition:xa,removeStyleProperty:Ga,updateBorderRadius:Ka,removeClassByPrefix:Ja,getCellsWithClasses:Fa,updateTableCellBackgroundByIds:qa,addClassToCellsByIds:Wa,getExternalBorders:za,mergeUniCells:Qa,updateCellBordersByIds:$a,getExternalCorners:Ua,updateCellBorderRadiusByIds:Va,updateCellPaddingByIds:ja,removeOuterBorders:Xa,simplifyBorders:Za,wrapEditor:it,addNewRange:a.addNewRange,toggleTextStyle:bt,textStyleProperties:o,commit:q,setElementMobileWidth:a.setElementMobileWidth,setElementMobileHeight:a.setElementMobileHeight,setElementShow:a.setElementShow,setElementMobileBackgroundColor:a.setElementMobileBackgroundColor,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius});try{a.emFilterCSS()}catch{}a.state.increment("activeElementLocked");const u=n;Wt().finally(()=>{const p=j.getMappedParent(n);if(p?.isConnected){const m=te.getOuterHtml(p),f=a.parseFromString(m)[0];if(p.parentNode?.replaceChild(f,p),u?.tagName==="A"&&f.tagName!=="A"){const g=f.querySelector?.("a");g?(g.setAttribute("em-edit","active"),n=g):(f.setAttribute("em-edit","active"),n=f)}else f.setAttribute("em-edit","active"),n=f;Wt().finally(()=>{a.state.decrement("activeElementLocked"),be(n)})}else a.state.decrement("activeElementLocked"),be(n)})}catch{}finally{Promise.resolve().then(()=>a.state.decrement("activeElementLocked"))}}function de(e){if(!a.state.isActiveElementLocked()){if(!e.elem){const o=document.querySelector("[em-edit]");o&&(e.elem=o)}try{a.state.increment("activeElementLocked"),a.removeAllAttributes("em-edit");let o={};if(e.elem){if(e.elem.closest?.(hn))return;e.elem=Vf(e.elem,{getVariableByIcon:a.getVariableByIcon,htmlDocument:te,findOutermostParentWithText:a.findOutermostParentWithText,sendResizeEvent:a.sendResizeEvent});const t=e.elem.tagName==="EDITOR"&&e.elem.firstChild?.nodeType===1?e.elem.firstChild:e.elem,{classNameOl:n,classNameUl:r,isListOL:i,isListUL:l,isList:s}=a.getListContext(e.elem),c=s?a.getListBullet(e.elem):null,d=!!e.elem.closest(".em-element-custom-table"),u=a.getLineHeightInPixels,p=E=>a.getFontFamilyFromElement(E,t),m=a.textHasStyle,f=(E,S=!1)=>zf(S,{getSelectedText:a.getSelectedText,getRangeFromSelection:a.getRangeFromSelection});$f(e.elem,window.getSelection()?.isCollapsed??!0,!!e.elem.querySelector("editor"),{removeAllAttributes:a.removeAllAttributes}),o={operation:"application_element_settings_set",settings:{}};const g=Uf({elem:e.elem,isCellCustomTable:d,listContext:{isListOL:i,isListUL:l,isList:s},requestElemBullet:c,variableElement:f},{..._i,Locale:qt,isProgrammaticSelection:pt,getElementTdDiv:rg,getLineHeghtInPixels:u,getFontFamilyFromElement:p,textHasStyle:m,activeCell:a.state.get("activeCell"),CLASS_FOR_BASIC_CELL:a.CLASS_FOR_BASIC_CELL,requestElemWithStyle:t}),b=Gf(e.elem,window.getSelection()?.isCollapsed??!0,g);o.type=b.type,o.caption=b.caption,o.settings=b.settings;const h=Wf(e.elem,b,o,{removeAllAttributes:a.removeAllAttributes});if(h.isProgrammaticSelectionReset&&(pt=!1),h.shouldReturn)return;const y=qf({elem:e.elem,message:o,activateSection:e.activateSection},{getElementParentCaption:Yr,getStructureColumns:ng,getUsedColors:xr,getElementPath:om,getCurrentElementPath:Zd,ampService:vi,mapObj:ho,commonStyles:a.state.get("commonStyles")});o=y.message,a.state.update({elementPath:y.elementPath})}else{setTimeout(()=>{let t=document.querySelector("[em-edit]");if(t?.isConnected){de({elem:t});return}const n={operation:"application_element_settings_set",settings:ho.unescape({parent:void 0,nextElem:!1,prevElem:!1}),type:null};JSON.stringify(n),a.messageService.send(n)},0);return}JSON.stringify(o),Ue=e.elem?j.getOuterHtml(e.elem):"",je=Ht(e.elem),a.messageService.send(o)}finally{Promise.resolve().then(()=>{const o=document.querySelector("[em-edit]");Ue=o?j.getOuterHtml(o):"",je=Ht(o),a.state.decrement("activeElementLocked")})}}}function ag(){document.addEventListener("keydown",m=>{document.body?.classList.contains("mceNonEditable")||a.state.get("lockEditor")||!m.target?.closest?.('[contenteditable="true"]')||!m.key||m.ctrlKey||m.altKey||m.metaKey||m.key.length===1&&(m.preventDefault(),m.stopImmediatePropagation(),document.execCommand("insertText",!1,m.key))},!0);const e=m=>{const f=m.target,g=f?.closest?.("a")||f?.querySelector?.("a");if(!g)return;const b=g.closest("td")||g.parentElement;b&&a.findRoundrectComment(b)&&q(!1).then(()=>{!b.isConnected||!g.isConnected||(g.closest("editor")||g.querySelector("editor")||b.querySelector("editor"))&&a.updateButtonVMLLabel(b,g.textContent||"")&&q(!1)})};document.addEventListener("input",e,!1),document.addEventListener("focusout",m=>{a.handleVMLButtonInput(m)&&q(!1)},!1),a.state.update({isDirectionUP:!1,isDirectionDOWN:!1,isDirectionLEFT:!1,isDirectionRIGHT:!1,actualTargetCount:0,activeCell:[],lockEditorInit:!0,globalHolder:null,applicationTheme:"light",iframeOffsetTop:0,scrollTop:0,previewHeight:0,applicationMode:"default",emailWidth:0,lockEdit:!1,elementPath:[],copyPasteEnabled:!0,saveBlockEnabled:!0,editImageControlEnabled:!0,elementAIimageEnabled:!0,imageCenterStockEnabled:!0,imageCenterGifEnabled:!0,imageCenterEditorEnabled:!0,blocksAddPanelEnabled:!0,lockEditor:!0,codeMode:!0,appName:"",commonStyles:{},isProgrammaticSelection:!1});let o=a.state.get("activeElementLocked");a.state.subscribe(m=>{if(m.activeElementLocked!==void 0){const f=o,g=m.activeElementLocked;o=g,f>0&&g===0&&Promise.resolve().then(()=>{if(a.state.get("activeElementLocked")!==0)return;const b=document.querySelector("[em-edit]");Ue=b?j.getOuterHtml(b):"",je=Ht(b)})}"globalHolder"in m&&(ve=m.globalHolder),"isProgrammaticSelection"in m&&(pt=m.isProgrammaticSelection)}),a.implementPolyfills(),setTimeout(()=>{Si=!0},1e3),a.provideSandboxState(a.container);const t=a.provideAttributePipeline(a.container).pipeline,n=a.provideDocumentSync(a.container,Dc,{prepareHtml:m=>a.emFilter({node:m,isPartial:!0}),lock:{increment:()=>a.state.increment("activeElementLocked"),decrement:()=>a.state.decrement("activeElementLocked")}});te=n.htmlDocument,Ye=n.remoteDocument,gn=n.textDocument,rt=n.documentMapping,a.provideImageCache(a.container,{pipeline:t,htmlDocument:te}),bn=a.provideEmVersion(a.container,{pipeline:t,htmlDocument:te}).reload,n.onDocumentReplaced(()=>bn?.clear()),a.messageService.addListener(a.EVENT_TYPES.SANDBOX_IMAGE_RESET,({url:m})=>{m&&(a.container.getInstance(a.IMAGE_CACHE_ID)?.forget(m),bn?.reload(m))}),a.initDocuments({htmlDocument:te,remoteDocument:Ye,textDocument:gn,documentMapping:rt}),q=m=>n.commit(m),Wt=m=>n.commitLockedAsync(m),bo=a.provideFocus(a.container,{htmlDocument:te,remoteDocument:Ye}),Fe=bo.controller,a.initFocusManager(Fe),a.attachFocusService(bo),j=te,Fc(),Vc(te,Fe),Uc(te,Fe),a.registerCrossDomainDD(),a.registerThemeVariablesService(te),a.registerProjectFontsService(),Qc(Ye),Xc(te,rt,be),a.registerCorrectVariableSelectionService(),a.registerResizeWatch(te,Ye),a.registerResetService(te),ed(te,Fe,Ye),a.registerExtensionScriptsService(te),vi=a.provideAmp(a.container,te).service,yo=a.registerLocalizationService(te),td({container:a.container,focusController:Fe,features:sd}),Xd(yo),qt=yo.localized,yo.onChangeLocale(({data:m})=>{qt=m}),nu({getLocale:()=>qt,commit:m=>q(m)}),a.initSandboxStyles({textDocument:gn,commit:m=>q(m)}),a.initResizableElements({getLocale:()=>qt,commit:m=>q(m),messageService:a.messageService}),te.onChange(m=>{m.some(f=>f.added.length||f.characterDataChanged||f.reordered?.length||f.reparented?.length)&&a.initSortable(j)}),ho=a.createMapObj(rt),j.onChange(()=>{eg()}),te.onRefresh(Ai),j.onChange(m=>{for(const f of m)for(const g of f.removed)(g instanceof HTMLHeadElement||g instanceof HTMLLinkElement&&g.hasAttribute("em"))&&document.querySelector(".em-editor-wrapper")?.remove()});const r=new a.UpdateQueue;let i=0;j.onChange(m=>{for(const f of m)for(const g of f.added)r.add(g.parentElement?g.parentElement:g);i||(i=setTimeout(()=>{Fe.whenEditorLostFocus(()=>{r.clear(),q(!1)}),i=0},1e3))}),j.onChange(a.createHandleChangesWithRemovedElementsOnly(de)),j.onChange(()=>{if(a.state.get("activeElementLocked")>0)return;const m=document.querySelector("[em-edit]"),f=m?j.getOuterHtml(m):"",g=Ht(m);(Ue!==f||je!==g)&&(document.body&&!document.body.classList.contains("em-sandbox-discuss")?m?m.closest?.(hn)||(Ue=f,je=g,de({elem:m})):setTimeout(()=>{let h=document.querySelector("[em-edit]");if(h){const y=j.getOuterHtml(h),E=Ht(h);(Ue!==y||je!==E)&&(Ue=y,je=E,h.closest?.(hn)||de({elem:h}))}else Ue=f,je=g,de({elem:null})},0):(Ue=f,je=g));const b=document.body;b&&((a.state.get("lockEdit")!==b.classList.contains("mceNonEditable")||a.state.get("lockEditor"))&&(a.state.get("lockEdit")||a.state.get("lockEditor")?b.classList.add("mceNonEditable"):b.classList.remove("mceNonEditable")),b.classList.toggle("em-sandbox-preview",a.state.get("previewPage")))}),bt=zp({commit:q,addNewRange:a.addNewRange,refreshElementSettings:Up,findElementWithSelectedText:a.findElementWithSelectedText,getParentElementOfSelection:a.getParentElementOfSelection$1,findOutermostParentWithText:a.findOutermostParentWithText,clearLinkTags:Sn,addFontFamilyClass:En,getIsProgrammaticSelection:()=>pt,getCommonStyles:()=>a.state.get("commonStyles")}),it=a.createWrapEditor({removeHiddenClasses:a.removeHiddenClasses,checkIsInited:Yp,prepareEditorHTML:Gp,getVisibleText:a.getVisibleText,defaultVisibleTextMapFn:a.defaultVisibleTextMapFn,getTagNameForContainer:a.getTagNameForContainer,applyAttributesToTag:(m,f,g)=>a.applyAttributesToTag(m,f,g,a.rgbToHex),setCursorToElement:a.setCursorToElement,removeLastWord:a.removeLastWord,hasOnlyTextNodesDeep:a.hasOnlyTextNodesDeep,isRangeCoveringAllVisibleText:a.isRangeCoveringAllVisibleText,isEditorContentOnlyNbsp:a.isEditorContentOnlyNbsp$1,isClickAtEndOfEmReplace:a.isClickAtEndOfEmReplace,getOrCreateAfterSpan:a.getOrCreateAfterSpan,setCursorInsideSpan:a.setCursorInsideSpan,commit:q,createBeforeInputHandler:a.createBeforeInputHandler}),_i={_isCarouselElement:im,_isAccordionElement:am,_isSocialBlockElement:Em,_isImageElement:wn,_isLinkElement:wm,_isButtonElement:Lm,_isTableElement:ul,_isCustomTableElement:jm,_isAtomElement:Ym,_isTdColumnGroup:xm,_isTdStructure:Dm,_isEmptyTd:Fm,_isTdCell:qm,_isVindentTd:Bm,_isVindentDiv:Mm,_isFloatBlockElement:Om,_isDivTextElement:ll,_isInlineButtonElement:km,_extractTextSettings:Jt,_extractCarouselSettings:nm,_extractAccordionSettings:lm,_extractSocialSettings:Sm,_extractImgSettings:Zt,_extractButtonSettings:Tm,_extractLinkTextSettings:al,_extractTableSettings:ml,_extractCustomTableSettings:Gm,_extractAtomElementSettings:Zm,_extractProgrammaticElementSettings:Jm,_extractTdColumnGroupSettings:$m,_extractTdStructureSettings:zm,_extractTdCellSettings:Vm,_extractVindentSettings:Rm,_extractFloatBlockSettings:Im,_extractDivContainerSettings:Um,_clearActiveEditElements:a.clearActiveEditElements,HTMLDocument:j,parseFromString:a.parseFromString,getParentElementOfSelection:a.getParentElementOfSelection$1,getSelectedText:a.getSelectedText,findElementWithSelectedText:a.findElementWithSelectedText,parseTableElementToModel:Bt,extractBorderRadius:Ya,parseBackgroundStyles:Da,isElementHasBold:a.isElementHasBold$1},Hc(),Bc(de),Ec(function(m){typeof be=="function"&&be(m)}),Sc(function(m){Ai(m)}),Cc(function(m){a.state.set("commonStyles",m)}),vc(function(m){return yn(m)}),Ac(function(m){return a.getVariableByIcon(m)}),Tc(function(m){return gd(m)}),Lc({getOuterHtml:function(m){return a.getOuterHtml(m)}}),wc({increment:function(m){a.state.increment(m)},decrement:function(m){a.state.decrement(m)}}),kc(function(m){a.setPercentsForColumns(m)}),_c(function(){return a.getActiveEditElement()}),Nc(function(m){return a.parseFromString(m)}),a.state.subscribe(m=>{const f={};"iframeOffsetTop"in m&&(f.iframeOffsetTop=m.iframeOffsetTop),"previewHeight"in m&&(f.previewHeight=m.previewHeight),"emailWidth"in m&&(f.emailWidth=m.emailWidth),"elementPath"in m&&(f.elementPath=m.elementPath),"lockEdit"in m&&(f.lockEdit=m.lockEdit),Object.keys(f).length>0&&Rc(f)}),a.messageService.addListener(function(m){if(m.data.operation=="update_position_from_editor"){let f=m.data.data;if(f){f=Ye.correctOffset(f,!0),f=rt.correctOffset(f,!0);let g=j.getElementByPosition(f);if(g&&!(g instanceof Element)&&(g=g.parentElement),g){const b=g.getBoundingClientRect(),h=document.querySelector("[em-edit]");g.tagName!=="BODY"&&b.height&&b.width&&h!==g&&de({elem:g});let y=g,E={operation:"application_scroll-to",settings:{value:a.state.get("applicationMode")==="default"?y.getBoundingClientRect().top+a.state.get("iframeOffsetTop")-a.state.get("previewHeight")/2+y.getBoundingClientRect().height/2:y.getBoundingClientRect().top-a.state.get("previewHeight")/2+y.getBoundingClientRect().height/2}};a.messageService.send(E)}}}if(m.data.operation=="sandbox_email_settings_set"){let f=m.data;if(ve=gi(),ve){const h=ve.classList.contains("full-wrap")?ve.querySelector("td"):ve;h&&a.setEmailBackgroundSettings(h,f.settings,jo())}f.settings.subject!==void 0&&(document.title=f.settings.subject);const g=ap(f.settings,{globalHolder:ve,emailWidth:a.state.get("emailWidth"),state:a.state,findParentTr:a.findParentTr});gp(f.settings,ve),Kf(f.settings,{globalHolder:ve,commonStyles:a.state.get("commonStyles"),lockEditor:a.state.get("lockEditor"),removeClassesByPrefix:a.removeClassesByPrefix$1,createFontClassName:a.createFontClassName,addFontFamilyClass:En,clearLinkTags:Sn,clearProjectFontFaces:og,rgbToHex:a.rgbToHex,setElementBorder:a.setElementBorder,setElementBorderRadius:a.setElementBorderRadius,setStructureBlocksWidth:wi,messageService:a.messageService});const b=Object.keys(f.settings).filter(h=>f.settings[h]!==void 0);(g||!(b.length===1&&b[0]==="width"))&&Wt()}m.data.operation==="sandbox_element_settings_set"&&Fe.whenEditorLostFocus(()=>lg(m)),(m?.data?.operation??m?.operation)==="sandbox_native-image-drop-clear"&&Dn(),m.data.operation==="sandbox_window-characteristic"&&Ru(m.data.settings,m.data.mode,{state:a.state,previewHeight:a.state.get("previewHeight"),iframeOffsetTop:a.state.get("iframeOffsetTop"),scrollTop:a.state.get("scrollTop"),globalHolder:ve,setBlockGroupControlsPosition:Eo,messageService:a.messageService}),m.data.operation=="sandbox_iframe-setsize"&&Pu(m.data.settings,{state:a.state,previewHeight:a.state.get("previewHeight"),iframeOffsetTop:a.state.get("iframeOffsetTop"),scrollTop:a.state.get("scrollTop"),globalHolder:ve,setBlockGroupControlsPosition:Eo,messageService:a.messageService}),m.data.operation=="sandbox_atom-insert"&&wu({action:m.data.action,atomHTML:m.data.settings?.atomHTML,name:m.data.settings?.name},{state:a.state,commit:q,lockEditor:a.state.get("lockEditor"),emailWidth:a.state.get("emailWidth"),iframeOffsetTop:a.state.get("iframeOffsetTop"),previewHeight:a.state.get("previewHeight"),parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,HTMLDocument:j,minify:a.minifyStylesheet,cssbeautify,insertAdjacentHTML:a.insertAdjacentHTML,messageService:a.messageService,setDocumentStyles:f=>a.setDocumentStyles(f,{minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j}),setImageWidth:lt,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,insertCountdown:at,uptimeCountdown:$t,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt,setAtomReplaced:f=>{nt=f}}),m.data.operation=="sandbox_block-insert"&&Nu({action:m.data.action,blockHTML:m.data.settings?.blockHTML,type:m.data.settings?.type,project:m.data.settings?.project,name:m.data.settings?.name,blockId:m.data.settings?.blockId},{state:a.state,commit:q,lockEditor:a.state.get("lockEditor"),emailWidth:a.state.get("emailWidth"),iframeOffsetTop:a.state.get("iframeOffsetTop"),previewHeight:a.state.get("previewHeight"),parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,HTMLDocument:j,minify:a.minifyStylesheet,cssbeautify,insertAdjacentHTML:a.insertAdjacentHTML,messageService:a.messageService,setDocumentStyles:f=>a.setDocumentStyles(f,{minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j}),setImageWidth:lt,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,insertCountdown:at,uptimeCountdown:$t,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt}),m.data.operation=="sandbox_global_block_replace"&&_u({emBlockId:m.data.settings?.emBlockId,blockHTML:m.data.settings?.blockHTML,type:m.data.settings?.type,project:m.data.settings?.project,name:m.data.settings?.name},{state:a.state,commit:q,lockEditor:a.state.get("lockEditor"),emailWidth:a.state.get("emailWidth"),iframeOffsetTop:a.state.get("iframeOffsetTop"),previewHeight:a.state.get("previewHeight"),parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,HTMLDocument:j,minify:a.minifyStylesheet,cssbeautify,insertAdjacentHTML:a.insertAdjacentHTML,messageService:a.messageService,setDocumentStyles:f=>a.setDocumentStyles(f,{minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j}),setImageWidth:lt,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,insertCountdown:at,uptimeCountdown:$t,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt})}),document.addEventListener("click",()=>{}),document.addEventListener("click",function(m){a.state.get("lockEditor")||Mu(m,{lockEditor:a.state.get("lockEditor"),commit:q,atomDropCtx:{messageService:a.messageService,isJsonString:a.isJsonString,getOuterHtml:a.getOuterHtml,minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j,_setDocumentStyles:a.setDocumentStyles,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,setImageWidth:lt,setFloatBlocksWidth:Ge,insertCountdown:at,mutableState:{atomReplaced:nt}},blockDropCtx:{lockEditor:a.state.get("lockEditor"),state:a.state,commit:q,messageService:a.messageService,emailWidth:a.state.get("emailWidth"),parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,isJsonString:a.isJsonString,isTableElement:a.isTableElement,insertAdjacentHTML:a.insertAdjacentHTML,minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j,commonStylesApplyToBlock:Xe,commonStylesApply:Ke,uptimeCountdown:$t,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt,setImageWidth:lt,insertCountdown:at,_setDocumentStyles:a.setDocumentStyles,applicationElementSettingsSet:de,mutableState:{atomReplaced:nt}}})},!0),document.onmouseover=Cp({getVisibleNode:m=>j.getVisibleNode(m),isInExternal:m=>j.isInExternal(m),isVisible:m=>te.isVisible(m),incrementActiveElementLocked:()=>a.state.increment("activeElementLocked"),decrementActiveElementLocked:()=>a.state.decrement("activeElementLocked"),getLockEditorInit:()=>a.state.get("lockEditorInit"),getIsLeftButtonDown:()=>go,getLoadStylesTimer:()=>Si,hasTextNodeInElement:a.hasTextNodeInElement,wrapEditor:jp,implementElementsEditors:Jp,implementResizableElems:ig,commit:q}),document.onmouseleave=function(){Li(),document.querySelectorAll('[em="group"] .em-element-editor, .em-element-path, .em-element-block-add').forEach(m=>{m.remove(),q(!1)})},document.addEventListener("mousedown",function(m){m.shiftKey||m.button===2||window.getSelection()?.removeAllRanges(),m.button===0&&(go=!0,a.state.set("isLeftButtonDown",!0))}),document.addEventListener("mouseup",function(m){m.button===0&&(go=!1,a.state.set("isLeftButtonDown",!1))}),document.addEventListener("dragend",function(m){m.button===0&&(go=!1,a.state.set("isLeftButtonDown",!1))});const l=()=>({parseFromString:a.parseFromString,HTMLDocument:j,commit:q,implementElementEditor:Ti,setCursorPosition:be,scrollTop:a.state.get("scrollTop")}),s=()=>({parseFromString:a.parseFromString,HTMLDocument:j,commit:q,implementElementEditor:Ti,setCursorPosition:be,scrollTop:a.state.get("scrollTop"),iframeOffsetTop:a.state.get("iframeOffsetTop"),applicationElementSettingsSet:de});document.onclick=yp({getLockEditor:()=>a.state.get("lockEditor"),setEditorFocus:Vp,setCursorPosition:be,getParentElementOfSelection:a.getParentElementOfSelection$1,findOutermostParentWithText:a.findOutermostParentWithText,setBlockGroupControlsPosition:Eo,applicationElementSettingsSet:de,insertTextAtomIntoEmptyNarrowTable:Zp,handleRemoveAtom:m=>a.handleRemoveAtom(m,{getElementParent:yn,setCursorPosition:be,getVariableByIcon:a.getVariableByIcon,commit:q}),handleCloneAtom:m=>a.handleCloneAtom(m,l()),handleMoveBlockUp:m=>a.handleMoveBlockUp(m,l()),handleMoveBlockDown:m=>a.handleMoveBlockDown(m,l()),handleRemoveBlock:m=>a.handleRemoveBlock(m,l()),handleCloneBlock:m=>a.handleCloneBlock(m,l()),handleCopyBlock:(m,f)=>bp(m,f,{HTMLDocument:j}),handlePasteBlock:(m,f)=>hp(m,f,{HTMLDocument:j,parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,minify:a.minifyStylesheet,cssbeautify,insertAdjacentHTML:a.insertAdjacentHTML,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt,commit:q,setCursorPosition:be,emailWidth:a.state.get("emailWidth"),appName:a.state.get("appName")}),handleMergeBlocks:m=>a.handleMergeBlocks(m,{...l(),emFilter:a.emFilter}),handleUnmergeBlocks:m=>a.handleUnmergeBlocks(m,l()),isAddBlockMenuClick:a.isAddBlockMenuClick,handleAddBlockMenu:(m,f)=>a.handleAddBlockMenu(m,f,{removeAllAttributes:a.removeAllAttributes,state:a.state,commitLockedAsync:Wt}),addBlockToProject:tg,handleMoveGroupUp:m=>a.handleMoveGroupUp(m,s()),handleMoveGroupDown:m=>a.handleMoveGroupDown(m,s()),handleAddGroup:m=>a.handleAddGroup(m,s()),handleCloneGroup:m=>a.handleCloneGroup(m,s()),handleRemoveGroup:m=>a.handleRemoveGroup(m,s()),isDiscussViewMode:a.isDiscussViewMode,isDiscussSetTargetMode:a.isDiscussSetTargetMode,handleDiscussViewClick:a.handleDiscussViewClick,handleDiscussSetTargetClick:m=>a.handleDiscussSetTargetClick(m,{makeId:a.makeId,commit:q}),handleEmReplaceClick:(m,f)=>gs(m,f,{isClickAtEndOfEmReplace:a.isClickAtEndOfEmReplace,getOrCreateAfterSpan:a.getOrCreateAfterSpan,setCursorInsideSpan:a.setCursorInsideSpan,_wrapEditor:it,commit:q}),handleCustomTableClick:fs}),document.addEventListener("mouseup",()=>{}),window.addEventListener("mousemove",function(){a.state.set("lockEditorInit",!1)}),document.addEventListener("keydown",vp({getCursorPositionType:a.getCursorPositionType,getListContext:a.getListContext,LIST_TEMP_CLASSES:a.LIST_TEMP_CLASSES,LIST_REGEX:a.LIST_REGEX,collectVMLContent:Ro,updateVMLComments:Po,handleVMLButtonText:a.handleVMLButtonText,handleDeleteKey:a.handleDeleteKey,handleEnterForBr:a.handleEnterForBr,handleEnterInList:ta,handleArrowRightInList:ia,handleArrowUpDownInList:ra,handleDeleteInList:la,handlePreventBulletCellEdit:aa,handleArrowRight:a.handleArrowRight,getElementParent:yn,setCursorPosition:be,removeElementEditors:Li,getVariableByIcon:a.getVariableByIcon,removeEmptyParents:a.removeEmptyParents,getAllComments:a.getAllComments,isVariableComment:a.isVariableComment,getVariableIcon:a.getVariableIcon,removeAllAttributes:a.removeAllAttributes,applicationElementSettingsSet:de,removeTemporaryListClasses:a.removeTemporaryListClasses,findNodeAtPosition:xd,setCursorSafely:Dd,isCaretAtEndOfEmReplace:a.isCaretAtEndOfEmReplace,getOrCreateAfterSpan:a.getOrCreateAfterSpan,setCursorInsideSpan:a.setCursorInsideSpan,isCaretAtEndOfStandardElement:a.isCaretAtEndOfStandardElement,setCursorPositionSimple:a.setCursorPositionSimple,handlePasteTextFragment:Fr,changeMsoValue:ki,getCommonStyles:()=>a.state.get("commonStyles"),setIsPasteFromContextMenu:m=>{pn=m},wrapEditor:it,messageService:a.messageService,commit:q}),!1),te.beforeCommit(()=>{try{fn||(fn=!0,a.emFilterCSS())}finally{fn=!1}}),document.addEventListener("click",m=>{m.target?.closest(".em-element-editor-widget-clone")||(document.querySelectorAll('.em-element-editor-widget-clone[data-open="true"]').forEach(f=>{f.setAttribute("data-open","false"),f.querySelector("ul").style.display="none"}),Qp())}),document.addEventListener("drag",function(m){m.preventDefault()},!1);const c={targetBlock:gt,atomReplaced:nt};document.addEventListener("dragstart",function(m){_d(m,{lockEditor:a.state.get("lockEditor")})},!0),document.addEventListener("dragstart",function(m){zl(m,{lockEditor:a.state.get("lockEditor"),commit:q,messageService:a.messageService,mutableState:c}),nt=c.atomReplaced},!1);const d={targetBlock:gt};document.addEventListener("dragover",function(m){Ul(m,{lockEditor:a.state.get("lockEditor"),mutableState:d}),gt=d.targetBlock},!1);const u={targetBlock:gt};document.addEventListener("dragenter",function(m){jl(m,{lockEditor:a.state.get("lockEditor"),mutableState:u}),gt=u.targetBlock},!1);const p={targetBlock:gt,newTargetblock:Ci};document.addEventListener("dragleave",function(m){Gl(m,{lockEditor:a.state.get("lockEditor"),mutableState:p}),Ci=p.newTargetblock},!1),document.addEventListener("drop",function(m){if(!a.state.get("lockEditor"))try{if(m.preventDefault(),m.stopPropagation(),$l(m,{lockEditor:a.state.get("lockEditor"),applicationElementSettingsSet:de,messageService:a.messageService})||Nd(m,{applicationElementSettingsSet:de}))return a.state.increment("activeElementLocked"),oo(),q(),!1;if(a.state.increment("activeElementLocked"),document.body.classList.contains("em-block-insert-body"))try{const f=JSON.parse(m.dataTransfer?.getData("Text")||"{}");Fn(m,f,{lockEditor:a.state.get("lockEditor"),state:a.state,commit:q,messageService:a.messageService,emailWidth:a.state.get("emailWidth"),parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,isJsonString:a.isJsonString,isTableElement:a.isTableElement,insertAdjacentHTML:a.insertAdjacentHTML,minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j,commonStylesApplyToBlock:Xe,commonStylesApply:Ke,uptimeCountdown:$t,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt,setImageWidth:lt,insertCountdown:at,_setDocumentStyles:a.setDocumentStyles,applicationElementSettingsSet:de,mutableState:{atomReplaced:nt}})}catch{}else if(document.body.classList.contains("em-atom-insert-body")||document.body.classList.contains("em-atom-insert-body-inside"))try{Wn(m,{messageService:a.messageService,isJsonString:a.isJsonString,getOuterHtml:a.getOuterHtml,minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j,_setDocumentStyles:a.setDocumentStyles,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,setImageWidth:lt,setFloatBlocksWidth:Ge,insertCountdown:at,mutableState:{atomReplaced:nt}})}catch{}return oo(),q(),!1}finally{Promise.resolve().then(()=>{a.state.decrement("activeElementLocked"),document.querySelector(".em-just-inserted")&&(de({elem:document.querySelector(".em-just-inserted")}),document.querySelector(".em-just-inserted")?.classList.remove("em-just-inserted"),q(),setTimeout(()=>{a.messageService.send({operation:"application_open-image-ai-popup"})},1e3))})}},!1),document.addEventListener("dragend",function(m){Vl(m,{lockEditor:a.state.get("lockEditor"),messageService:a.messageService})},!1),a.initResizer({applicationElementSettingsSet:m=>de(m),setCursorPosition:m=>be(m),commit:m=>q(m)}),document.addEventListener("contextmenu",m=>{pn=!!m.target?.nodeName}),document.addEventListener("paste",m=>{pn&&Fr(m,!1,a.state.get("commonStyles"),ki,q)}),document.addEventListener("click",()=>a.messageService.send({operation:"application_focus_in_iframe"}))}var sg="__emmDiagnostics__",cg="diagnostics";function dg(){try{const e=new URLSearchParams(window.location.search).get(cg);return e!==null&&e!=="0"}catch{return!1}}function Cn(e){try{window.parent.postMessage({mark:sg,...e},"*")}catch{}}function mg(){const e=window.performance.getEntriesByType("resource").map(o=>{const t=o;return{name:t.name,initiatorType:t.initiatorType,startTime:t.startTime,responseEnd:t.responseEnd,transferSize:t.transferSize,decodedBodySize:t.decodedBodySize}});Cn({type:"resources",timeOrigin:window.performance.timeOrigin,items:e})}function Et(){return window.performance.timeOrigin+window.performance.now()}function ug(){return Array.from(document.images).every(e=>e.complete)}function fg(e,o){const n=window.setInterval(()=>{!ug()||Et()-e()<500||(window.clearInterval(n),Cn({type:"settled",at:Math.max(e(),o)}),mg())},100)}function pg(){if(!dg()||typeof MutationObserver!="function")return;let e=!1,o=Et();new MutationObserver(()=>{o=Et(),!e&&(e=!0,window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{const t=Et();Cn({type:"paint",at:t}),fg(()=>o,t)})}))}).observe(document.documentElement,{childList:!0,subtree:!0,characterData:!0}),window.addEventListener("load",()=>{o=Et()}),document.addEventListener("load",()=>{o=Et()},!0)}var gg=500,bg=300,zt,So=!1;function Ni(){if(So)return;So=!0;let e=!1;const o=window.setTimeout(()=>{e||(e=!0,zt=!1,So=!1)},bg);window.requestAnimationFrame(()=>{e||(e=!0,window.clearTimeout(o),zt=!0,So=!1)})}function hg(){return zt===!1?(Ni(),Promise.resolve()):new Promise(e=>{let o=!1;const t=()=>{o||(o=!0,e())},n=window.setTimeout(()=>{zt=!1,t()},gg);window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{window.clearTimeout(n),zt=!0,t()})})})}var yg=1;function Eg(){Ni();const e=async(o,t)=>{await t?.(o),await hg()};a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_INITED,e,yg)}var Sg=16;function Bi(e,o){return o===WheelEvent.DOM_DELTA_LINE?e*Sg:o===WheelEvent.DOM_DELTA_PAGE?e*window.innerHeight:e}function Cg(){let e=0,o=0,t=!1;const n=()=>{t=!1;const r=e,i=o;e=0,o=0,!(r===0&&i===0)&&a.messageService.send(a.EVENT_TYPES.SANDBOX_WHEEL,{deltaX:r,deltaY:i})};window.addEventListener("wheel",r=>{r.ctrlKey||(e+=Bi(r.deltaX,r.deltaMode),o+=Bi(r.deltaY,r.deltaMode),t||(t=!0,window.requestAnimationFrame(n)))},{passive:!0})}pg(),ag(),Eg(),Cg()});
|
|
319
|
+
`);const l=e.querySelector('[em="block"]:last-child [em="atom"]');if(l){const s=l.querySelector("div");let c=null;s&&(s.innerHTML="",s.appendChild(document.createTextNode("")),o.wrapEditor(s,!0),s.classList.add("em-just-inserted"),setTimeout(()=>{const d=s.closest("editor")||s,u=d?.querySelector("div")||s,g=u||d||s,m=g.getBoundingClientRect();["mouseover","mousedown","mouseup","click"].forEach(b=>{g.dispatchEvent(new MouseEvent(b,{bubbles:!0,cancelable:!0,view:window,clientX:m.left+Math.min(1,Math.max(0,m.width/2)),clientY:m.top+Math.min(1,Math.max(0,m.height/2)),button:0}))});let f=u.firstChild;f||(f=document.createTextNode(""),u.appendChild(f)),d?.focus?.();const p=window.getSelection();if(p&&f){const b=document.createRange();b.setStart(f,0),b.collapse(!0),p.removeAllRanges(),p.addRange(b)}o.setCursorPosition(d||s)},0),c=s.closest("editor")||s),s&&o.setCursorPosition(c||s)}return o.messageService.send("application_atom_inserted","text"),o.commit(),!0}function Cp(e){return function(t){let n=t.target;try{n=e.getVisibleNode(n);const r=e.isInExternal(n);e.incrementActiveElementLocked();const i=document.body;if(i?.classList.contains("mceNonEditable")&&!i.classList.contains("em-sandbox-discuss")||i?.classList.contains("em-sandbox-discuss")&&!i.classList.contains("em-sandbox-discuss_set-target"))return;if(i?.classList.contains("em-sandbox-discuss_set-target")){document.querySelectorAll('[em-hover="true"]').forEach(u=>{u.removeAttribute("em-hover"),u.removeAttribute("contenteditable")}),n.closest(".em-element-vindent")||(n.setAttribute("em-hover","true"),n.setAttribute("contenteditable","true"));return}if(n&&(n?.closest('[em="atom"]')||!r)&&n.getAttribute("contenteditable")!=="false"&&n.parentElement?.getAttribute("contenteditable")!=="false"&&n.tagName!=="BODY"&&n.parentElement?.tagName!=="SECTION"){const u=!n.closest("editor"),g=!e.getLockEditorInit(),m=n.tagName!=="IMG",f=!(n.childElementCount===1&&n.firstElementChild?.tagName==="IMG"&&(n.textContent?.trim()??"")==="");if(u&&g&&m&&f){let p=n;do if(p=p.closest("div, p, h1, h2, h3, h4, h5")||p.closest("span, b, strong, i, em, s, a, sup, sub"),p)if(!e.isVisible(p))p=p.parentElement;else break;while(p);if(n.tagName==="LI"&&n.style.fontFamily&&n.style.fontSize){const b=n.closest("ul, ol");b&&e.wrapEditor(b,!0)}else if(n.tagName==="TD"&&n.style.fontFamily&&n.style.fontSize&&!n.querySelector("editor"))e.wrapEditor(n);else if(p&&p.style.fontFamily&&p.style.fontSize&&(n.tagName==="LI"||!n.querySelector("img")))if(n.tagName==="LI"){const b=n.closest("ul, ol");b&&e.wrapEditor(b,!0)}else n.querySelector("img")||e.wrapEditor(n,!0);else if(p&&p.closest('[style*="font-family"][style*="font-size"]')){const b=p.closest('[style*="font-family"][style*="font-size"]');b&&b.tagName!=="BODY"&&b.tagName!=="TD"&&b.tagName!=="TABLE"?e.wrapEditor(b,!1):b?.tagName==="TD"&&!b.querySelector("editor")&&!b.closest(".em-element-custom-table")&&e.wrapEditor(b)}else if(p&&p?.tagName==="DIV"&&!p.querySelector("table")){const b=!!p.style.height?.length,h=p.className.includes("em-element-img-change-group"),y=p.querySelector("img")?.parentNode,E=!!p.querySelector("img")&&y&&!e.hasTextNodeInElement(y);!b&&!h&&!E&&e.wrapEditor(p,!0)}else for(let b=0;b<n.childNodes.length;b++){const h=n.childNodes[b];if(h.nodeName==="#text"&&(h.textContent?.trim().length??0)>0&&!n.querySelector("table")){const y=n.tagName==="P"?n.parentElement:n;y&&e.wrapEditor(y);break}}}}(n?.closest('[em="atom"]')||!r)&&!e.getIsLeftButtonDown()&&e.implementElementsEditors(n),n?.classList.contains("em-element-vindent-bg")&&(n=n.closest(".em-vindent")),n?.closest(".em-gap")?n.closest("tr")?.querySelectorAll(".em-mob-wrap:nth-child(even) .em-gap").forEach(u=>u.classList.add("em-hover")):e.getIsLeftButtonDown()||document.querySelectorAll(".em-gap").forEach(u=>u.classList.remove("em-hover"));const l=e.getLoadStylesTimer(),s=!!n.style.padding||!!n.style.paddingTop||!!n.style.paddingBottom||!!n.style.paddingLeft||!!n.style.paddingRight,c=n.closest('[em="block"]'),d=!!c?.querySelector(".em-mob-wrap, .noresp-em-mob-wrap")&&(c?.querySelectorAll(".em-mob-wrap, .noresp-em-mob-wrap").length??0)>2;l&&(n.tagName==="TD"&&(n.innerHTML===""||n.querySelector(".em-element-vindent"))&&n.getAttribute("height")||n.tagName==="DIV"&&n.style.height&&n.style.fontSize||n.tagName==="IMG"||s||d)&&e.implementResizableElems(n)}catch{}finally{Promise.resolve().then(()=>e.decrementActiveElementLocked())}}}function vp(e){return function(t){const n=window.getSelection(),r=(n?.rangeCount?n.getRangeAt(0):null)?.commonAncestorContainer,i=r?.nodeType===1?r:r?.parentElement,l=i?.closest("editor"),s=window.navigator.platform.match("Mac"),c=l?e.getCursorPositionType(l):null,d=l?.closest("tr")?.querySelector("tr td:nth-of-type(2) div"),u=t.target,g=e.getListContext(u),{isList:m}=g,f=d?.textContent===l?.textContent,p=l?e.LIST_REGEX.EMPTY_TEXT.test(l.textContent||""):!1,b=s?t.metaKey:t.ctrlKey;if(b&&t.keyCode===83){t.preventDefault(),e.messageService.send({operation:"application_action",action:"save_email"});return}if(b&&t.keyCode===90){t.preventDefault(),e.messageService.send({operation:"application_action",action:t.shiftKey?"redo":"undo"});return}if(t.altKey&&t.keyCode===88){t.preventDefault(),e.messageService.send({operation:"application_action",action:"toggle_editor"});return}const h={getElementParent:e.getElementParent,setCursorPosition:e.setCursorPosition,removeElementEditors:e.removeElementEditors,getVariableByIcon:e.getVariableByIcon,removeEmptyParents:e.removeEmptyParents,getAllComments:e.getAllComments,isVariableComment:e.isVariableComment,getVariableIcon:e.getVariableIcon,commit:e.commit,messageService:e.messageService};if(e.handleDeleteKey(t,m,c,h))return;if(t.keyCode===27){const C=document.querySelector(".em-editor-wrapper");C?.style&&(C.style.display="none"),e.removeAllAttributes("em-edit"),document.querySelectorAll("editor").forEach(L=>L.blur()),n?.removeAllRanges(),e.applicationElementSettingsSet({elem:null}),e.messageService.send({operation:"application_close-image-edit-popup"});return}b&&t.keyCode===66&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"toggle_strong"}));const y=s?t.keyCode===88:t.keyCode===53;if((s?t.metaKey:t.altKey)&&t.shiftKey&&y&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"toggle_strikethrough"})),b&&t.shiftKey&&t.keyCode===76&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"textAlign_left"})),b&&t.shiftKey&&t.keyCode===82&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"textAlign_right"})),b&&t.shiftKey&&t.keyCode===69&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"textAlign_center"})),b&&t.keyCode===73&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"toggle_italic"})),b&&t.keyCode===85&&(t.preventDefault(),l&&e.messageService.send({operation:"application_action",action:"toggle_underline"})),ga(t,{commit:e.commit})||e.handleEnterForBr(t,l,m,f,{commit:e.commit}))return;if(b&&t.keyCode===86){e.setIsPasteFromContextMenu(!1);const C=L=>{e.handlePasteTextFragment(L,!1,e.getCommonStyles(),e.changeMsoValue,e.commit),document.removeEventListener("paste",C)};document.addEventListener("paste",C)}else e.changeMsoValue(t);const E={activeElem:l,listContext:g,cursorPositionType:c,isTargetCell:f,isEmptyText:p,commit:e.commit,wrapEditor:e.wrapEditor,removeTemporaryListClasses:e.removeTemporaryListClasses};if(e.handleEnterInList(t,E)||(e.handleArrowRightInList(t,c,p),e.handleArrowUpDownInList(t,E)))return;const S={...E,parentElement:i,findNodeAtPosition:e.findNodeAtPosition,setCursorSafely:e.setCursorSafely};if(e.handleDeleteInList(t,S)||e.handlePreventBulletCellEdit(t,m,f))return;const v={isCaretAtEndOfEmReplace:e.isCaretAtEndOfEmReplace,getOrCreateAfterSpan:e.getOrCreateAfterSpan,setCursorInsideSpan:e.setCursorInsideSpan,isCaretAtEndOfStandardElement:e.isCaretAtEndOfStandardElement,setCursorPositionSimple:e.setCursorPositionSimple,wrapEditor:e.wrapEditor,commit:e.commit};e.handleArrowRight(t,v)&&e.commit()}}var re=e=>a.normalizeSpaces(e?.innerText);function Ap(e,o){return e.hasOwnProperty("textStrong")?{name:"textStrong",tags:["b","strong","a","[style*=font-weight]"],value:e.textStrong,command:"bold"}:e.hasOwnProperty("textItalic")?{name:"textItalic",tags:["em","i","[style*=font-style]","a"],value:e.textItalic,command:"italic"}:e.hasOwnProperty("textStrikethrough")?{name:"textStrikethrough",tags:["s","strike","u","[style*=text-decoration]","a"],value:e.textStrikethrough,command:"strikethrough"}:e.hasOwnProperty("textUnderline")?{name:"textUnderline",tags:["u","strike","[style*=text-decoration]","span","a"],value:e.textUnderline,command:"underline"}:e.hasOwnProperty("textColor")?{name:"textColor",tags:["a","[style*='color']","span"],value:o(e.textColor)||"",command:"foreColor"}:e.hasOwnProperty("textBackgroundColor")?{name:"textBackgroundColor",tags:["a","[style*='background-color']","[style*='color']","span"],value:o(e.textBackgroundColor)||"",command:"hilitecolor"}:e.hasOwnProperty("fontFamily")?{name:"fontFamily",tags:["[style*='font-family']","span","a"],value:e.fontFamily?.[e.fontFamily.length-1],command:"fontName"}:e.hasOwnProperty("textLink")?{name:"textLink",tags:["a","[href]","div","p","td"],value:e.textLink||"",command:"createLink"}:e.hasOwnProperty("fontSize")?{name:"fontSize",tags:["a","[style*='font-size']","span","div"],value:parseFloat(e.fontSize),command:"fontSize"}:e.hasOwnProperty("lineHeight")?{name:"lineHeight",tags:["div","[style*='line-height']","p","td"],value:parseFloat(e.lineHeight),command:null}:{}}var Tp=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,Lp=/^rgba?\s*\(\s*(?<r>\d+)\s*,\s*(?<g>\d+)\s*,\s*(?<b>\d+)\s*(?:,\s*(?<a>(?:0?\.)?\d+)\s*)?\)$/i,mn=e=>e.toString(16).padStart(2,"0");function wp(e){const o=Lp.exec(e)?.groups;if(!o)return;const t=Number.parseInt(o.r,10),n=Number.parseInt(o.g,10),r=Number.parseInt(o.b,10);if(![t,n,r].some(i=>!Number.isFinite(i)||i<0||i>255))return`#${mn(t)}${mn(n)}${mn(r)}`}function yi(e){return e.split("").map(o=>`${o}${o}`).join("")}function De(e,o){if(!e)return;const t=e.trim();if(!t)return;if(Tp.test(t)){const r=t.slice(1);return r.length===3?`#${yi(r).toLowerCase()}`:r.length===4?`#${yi(r.slice(0,3)).toLowerCase()}`:r.length===8?`#${r.slice(0,6).toLowerCase()}`:`#${r.toLowerCase()}`}const n=wp(t);if(n)return n;if(o){const r=o(t);if(r&&r!==t)return De(r)}}function kp(e){const o=e.parentNode;if(o){for(;e.firstChild;)o.insertBefore(e.firstChild,e);o.removeChild(e)}}function un(e,o,t){const n=o.parentElement;let r=e.parentElement;for(;r&&r!==n;){const i=De(r.style.color,t);if(i)return i;r=r.parentElement}}function _p(e,o){Array.from(e.querySelectorAll("span")).reverse().forEach(t=>{if(!t.style.color)return;const n=De(t.style.color,o);if(!n)return;const r=un(t,e,o);!r||r!==n||(t.style.removeProperty("color"),t.getAttribute("style")||t.removeAttribute("style"),t.attributes.length===0&&kp(t))})}function Np(e){const o=e.commonAncestorContainer.nodeType===Node.ELEMENT_NODE?e.commonAncestorContainer:e.commonAncestorContainer.parentElement;if(!o)return[];if(e.commonAncestorContainer.nodeType===Node.TEXT_NODE){const r=e.commonAncestorContainer;return r.data.trim()?[r]:[]}const t=document.createTreeWalker(o,NodeFilter.SHOW_TEXT,null),n=[];for(;t.nextNode();){const r=t.currentNode;!r.data.trim()||!e.intersectsNode(r)||n.push(r)}return n}function Bp(e,o,t){const n=De(o,t);if(!n)return!1;const r=window.getSelection();if(!r||r.rangeCount===0)return!1;const i=r.getRangeAt(0);if(i.collapsed||!i.toString().trim())return!1;const l=Np(i);if(!l.length||l.every(d=>{const u=d.parentElement;return u?De(u.style.color,t)===n?!0:un(u,e,t)===n:!1}))return!1;const s=document.createElement("span");s.style.color=o;try{i.surroundContents(s)}catch{s.appendChild(i.extractContents()),i.insertNode(s)}const c=document.createRange();return c.selectNodeContents(s),r.removeAllRanges(),r.addRange(c),!0}function Mp(e,o,t){const n=Array.from(e.querySelectorAll('a[style*="color"]'));e.tagName==="A"&&e.style.color&&n.unshift(e),n.forEach(r=>{const i=De(r.style.color,o);if(!i)return;const l=un(r,e,o)||(t?De(t,o):void 0);l&&Array.from(r.querySelectorAll("span")).forEach(s=>{if(!s.style.color)return;const c=De(s.style.color,o);c&&c!==i&&c===l&&(s.style.color=r.style.color)})})}function Rp(e){if(e.currentSettings.name!=="lineHeight")return!1;const o=e.parentElement.closest('[style*="line-height"]')||e.parentElement.closest("div, p, td");if(e.parentElement?.querySelector('[em-edit="active"]')){const t=[];e.checkForTextNodes(e.parentNode,t),t.forEach(n=>{const r=n.closest('[style*="line-height"]')||n.closest("div, p, td");r&&(r.style.lineHeight=e.currentSettings.value+"px")})}else if(e.isElementList){const t=!!e.parentElement.querySelector("div"),n=t?e.parentElement.closest("tr")?.querySelector(`.${e.classNameBullet}`):null;if(n&&(n.style.lineHeight=e.currentSettings.value+"px"),t){const r=e.parentElement.querySelector("div");r&&(r.style.lineHeight=e.currentSettings.value+"px")}else e.parentElement.style.lineHeight=e.currentSettings.value+"px"}else o&&(o.style.lineHeight=e.currentSettings.value+"px");return e.commit(),!0}function Pp(e){if(e.currentSettings.name!=="fontFamily")return!1;let o=(e.findElementWithSelectedText(e.selectedText)||e.getParentElementOfSelection())?.closest('[style*="font-family"]')||e.parentWrapper;const t=!!e.parentElement?.querySelector('[em-edit="active"]');if(!t&&(!e.range?.collapsed||e.getSelectedText()))if(e.getInnerText(e.parentWrapper)===e.selectedText)o=e.parentWrapper;else if(e.getInnerText(e.parentElement)===e.selectedText)o=e.parentElement;else{const r=document.createElement("span");e.range.commonAncestorContainer.nodeType===3?e.range.surroundContents(r):(r.appendChild(e.range.extractContents()),e.range.insertNode(r)),o=r,e.range.deleteContents(),e.range.insertNode(o),e.range.selectNode(o),e.addNewRange(e.range)}e.fontFamilyArray?e.fontFamilyArray[0]==="Safe Fonts"?(o.style.fontFamily=e.fontFamilyArray[1],e.removeClassesByPrefix(o,"em-font"),e.clearLinkTags({elem:document.head})):e.fontFamilyArray[0]==="Google Fonts"&&(e.fontFamilyArray[1]==="Sans Serif"?o.style.fontFamily="Helvetica, Arial, sans-serif":e.fontFamilyArray[1]==="Serif"?o.style.fontFamily='"Times New Roman", Times, serif':e.fontFamilyArray[1]==="Project Fonts"&&a.applyProjectFontInlineFallback(o,e.fontFamilyArray[2]),e.removeClassesByPrefix(o,"em-font"),o.classList.add(e.createFontClassName(e.fontFamilyArray)),a.markProjectFontClass(o,e.fontFamilyArray),e.addFontFamilyClass({fontFamilyArray:e.fontFamilyArray})):o.style.removeProperty("font-family");let n;return t?(n=e.parentElement.querySelectorAll('[style*="font-family"]'),n.forEach(r=>r.style.fontFamily=o.style.fontFamily)):(n=o.querySelectorAll('[style*="font-family"]'),n.forEach(r=>r.style.fontFamily="")),e.cleanEmptySpans(e.selectedText),e.refreshElementSettings(o,e.selectedText),e.range.selectNode(o),e.addNewRange(e.range),e.commit(),!0}function Hp(e){if(e.currentSettings.command==="bold"){if(e.hasItalicClass&&e.tempStyleClass&&e.parentWrapper&&e.parentWrapper.classList.add(e.tempStyleClass),!e.isEditorTagOutside){const o=[];e.checkForTextNodes(e.parentNode,o),o.filter(t=>e.checkForWorkClass(t)).forEach(t=>{t.innerHTML=e.removeFormattingTags(t.innerHTML,"bold"),t.tagName!=="STRONG"?e.currentSettings.value&&(t.innerHTML="<strong>"+t.innerHTML+"</strong>"):e.currentSettings.value||(t.outerHTML=t.innerHTML)})}if(e.currentSettings.value===!0)Array.from(e.parentNode?.getElementsByTagName("b")||[]).reverse().forEach(o=>{const t=document.createElement("strong");if(t.innerHTML=o.innerHTML,o.parentNode?.replaceChild(t,o),e.getInnerText(t)===e.selectedText){const n=t.closest("span");n?.textContent===t.innerText&&!n.getAttribute("style")&&n.childNodes[0]?.nodeType===3&&n.parentNode?.replaceChild(t,n),e.refreshElementSettings(t,e.selectedText),e.range.selectNode(t),e.addNewRange(e.range)}});else if(Array.from(e.parentWrapper?.getElementsByTagName("b")||[]).reverse().forEach(o=>{const t=document.createElement("strong");t.innerHTML=o.innerHTML,o.parentNode?.replaceChild(t,o)}),e.getInnerText(e.parentWrapper)===e.selectedText){const o=e.parentWrapper||e.findElementWithSelectedText(e.selectedText,e.activeElement);o&&(e.range.selectNode(o),e.addNewRange(e.range))}e.cleanEmptySpans(e.selectedText)}}function Ip(e){if(e.currentSettings.command==="italic"){if(e.hasItalicClass&&e.tempStyleClass&&e.parentWrapper&&e.parentWrapper.classList.add(e.tempStyleClass),!e.isEditorTagOutside){const o=[];e.checkForTextNodes(e.parentNode,o),o.filter(t=>e.checkForWorkClass(t)).forEach(t=>{t.innerHTML=e.removeFormattingTags(t.innerHTML,"italic"),t.tagName!=="EM"?e.currentSettings.value&&(t.innerHTML="<em>"+t.innerHTML+"</em>"):e.currentSettings.value||(t.outerHTML=t.innerHTML)})}if(e.currentSettings.value)Array.from(e.parentNode?.getElementsByTagName("i")||[]).reverse().forEach(o=>{const t=document.createElement("em");if(t.innerHTML=o.innerHTML,o.parentNode?.replaceChild(t,o),e.getInnerText(t)===e.selectedText){const n=t.closest("span");n?.textContent===t.innerText&&!n.getAttribute("style")&&n.childNodes[0]?.nodeType===3&&n.parentNode?.replaceChild(t,n),e.refreshElementSettings(t,e.selectedText),e.range.selectNode(t),e.addNewRange(e.range)}});else if(Array.from(e.parentElement?.getElementsByTagName("i")||[]).reverse().forEach(o=>{const t=document.createElement("em");t.innerHTML=o.innerHTML,o.parentNode?.replaceChild(t,o)}),e.getInnerText(e.parentWrapper)===e.selectedText){const o=e.parentWrapper||e.findElementWithSelectedText(e.selectedText,e.activeElement);o&&(e.range.selectNode(o),e.addNewRange(e.range))}e.cleanEmptySpans(e.selectedText)}}function Op(e){if(e.currentSettings.name!=="fontSize")return;const{mutableState:o}=e;if(e.getInnerText(o.parentWrapper)!==e.selectedText){let i=!1;const l=e.findParentWithFontSizeAndTag(e.activeElement||o.parentNode)||o.parentWrapper;l&&l.style.fontSize.length&&(i=l.style.fontSize,l.style.fontSize=""),document.execCommand("fontSize",!1,"1"),i&&l&&(l.style.fontSize=i);const s=window.getSelection()?.getRangeAt(0).commonAncestorContainer;o.parentElement=o.parentNode.querySelector('[size="1"]')||(s?.nodeType===1?s:s?.parentElement),o.parentElement&&(o.parentElement.style.fontSize=e.currentSettings.value+"px")}let t=null;if(o.parentElement?.tagName==="FONT"){const i=document.createElement("span");i.innerHTML=o.parentElement.innerHTML,o.parentElement.getAttribute("size")?(i.style.fontSize=e.currentSettings.value+"px",i.removeAttribute("size")):Array.from(o.parentElement.attributes).forEach(l=>i.setAttribute(l.name,l.value)),o.parentElement.parentNode?.replaceChild(i,o.parentElement),e.refreshElementSettings(i,e.selectedText),o.range.selectNode(i),e.addNewRange(o.range)}if((e.activeElement.tagName==="A"||e.activeElement.closest("a"))&&(o.parentWrapper=e.activeElement.closest("a")),e.getInnerText(o.parentWrapper)===e.selectedText){if(Array.from(o.parentWrapper?.getElementsByTagName("span")||[]).forEach(l=>l.style.fontSize=""),!o.parentWrapper?.hasAttribute("em-edit")&&e.isElementList&&o.parentWrapper&&e.isProgrammaticSelection){const l=o.parentWrapper.closest("tr")?.querySelector(`.${e.classNameBullet}`);l&&(l.style.fontSize=e.currentSettings.value+"px")}o.parentWrapper&&(o.parentWrapper.style.fontSize=e.currentSettings.value+"px");const i=o.parentWrapper?.firstChild;i?.nodeType===1&&i.tagName==="SPAN"&&i.innerText===e.selectedText&&(i.style.fontSize="")}else o.parentWrapper?.style.hasOwnProperty("font-size")&&(t=o.parentWrapper.style.fontSize,t&&o.parentWrapper.style.removeProperty("font-size"));t&&o.parentWrapper&&(o.parentWrapper.style.fontSize=t);const n=Array.from(o.parentNode?.querySelectorAll("font")||[]).reverse(),r=[];e.isEditorTagOutside?e.currentSettings.value||(o.selection=window.getSelection(),o.range=o.selection.getRangeAt(0),o.parentNode=o.selection.anchorNode?.nodeType===1?o.selection.anchorNode:o.selection.anchorNode?.parentElement,o.parentNode&&o.parentNode.style.removeProperty(e.currentStyle),e.cleanEmptySpans(e.selectedText)):(e.checkForTextNodes(o.parentNode,r),r.filter(i=>e.checkForWorkClass(i)).forEach(i=>{i.style.fontSize=e.currentSettings.value+"px",i.querySelectorAll('[style*="font-size"]').forEach(l=>{l.tagName!=="A"?l.style.removeProperty("font-size"):l.style.fontSize=e.currentSettings.value+"px"})})),e.isEditorTagOutside&&n.forEach(i=>{const l=document.createElement("span");l.innerHTML=i.innerHTML;const s=e.currentSettings.value+"px",c=i.children?.length===1&&i.firstChild?.nodeType===1?i.firstChild:null,d=[];if(e.checkForTextNodes(i,d),d.forEach(u=>{if(u.tagName==="FONT"){const g=document.createElement("span");g.innerHTML=u.innerHTML,u.getAttribute("size")?g.style.fontSize=e.getInnerText(u)===e.selectedText?s:"":Array.from(u.attributes).forEach(m=>g.setAttribute(m.name,m.value)),u.parentNode?.replaceChild(g,u)}}),c)i.parentNode?.replaceChild(c,i);else if(i.getAttribute("size")&&i.parentNode){const u=document.createElement("span");u.innerHTML=i.innerHTML,u.style.fontSize=s,i.parentNode.replaceChild(u,i)}if(!d.length&&i.tagName==="FONT"){const u=document.createElement("span");u.innerHTML=i.innerHTML,i.parentNode?.replaceChild(u,i)}}),Array.from(document.getElementsByTagName("span")).reverse().forEach(i=>{e.getInnerText(i)===e.selectedText&&i.closest('[em-edit="active"]')&&(e.refreshElementSettings(i,e.selectedText),o.range.selectNode(i),e.addNewRange(o.range))}),e.cleanEmptySpans(e.selectedText)}function xp(e){if(e.currentSettings.command!=="strikethrough")return;const{mutableState:o}=e;let t=e.getSelectedText(),n=null;if(!e.isEditorTagOutside){const r=[];e.checkForTextNodes(e.parentNode,r),r.filter(i=>e.checkForWorkClass(i)).forEach(i=>{i.innerHTML=e.removeFormattingTags(i.innerHTML,"strike"),i.tagName!=="STRIKE"?e.currentSettings.value&&(i.innerHTML="<strike>"+i.innerHTML+"</strike>"):e.currentSettings.value||(i.outerHTML=i.innerHTML)})}if(e.currentSettings.value===!0){let r=t;Array.from(document?.getElementsByTagName("strike")||[]).reverse().forEach(i=>{if(e.getInnerText(i)===r&&(e.getInnerText(i.parentNode)===r&&i.parentNode.tagName==="U"&&(i.parentNode.outerHTML=i.parentNode.innerHTML),n=e.findElementWithSelectedText(r),n)){const l=e.findOutermostParentWithText(n,"A");l&&(l.style.textDecoration="none"),e.refreshElementSettings(n,r),o.range.selectNode(n),e.addNewRange(o.range)}})}else{let r=t;if(e.cleanEmptySpans(r),e.getInnerText(o.parentWrapper)===r){const i=window.getSelection();if(n=e.findElementWithSelectedText(r,e.activeElement),n&&(o.range.selectNode(n),e.addNewRange(o.range),o.range.cloneContents())){const l=o.range.firstElementChild?o.range.firstElementChild:o.range.parentElement||o.range.commonAncestorContainer;l&&e.refreshElementSettings(l,r)}if(i&&i.rangeCount>0&&e.isElementList&&!n){const l=i.getRangeAt(0);let s=l.commonAncestorContainer;s.nodeType!==Node.ELEMENT_NODE&&(s=s.parentNode),s.querySelectorAll("strike").forEach(c=>{c.outerHTML=c.innerHTML}),s.style.textDecoration="none",s.querySelectorAll('span[style*="text-decoration"]').forEach(c=>{c.style.textDecoration=""}),e.refreshElementSettings(s,r),l.selectNodeContents(s),i.removeAllRanges(),i.addRange(l),e.addNewRange(l)}}}if(e.request.type==="button"||e.activeElement.tagName==="A"){e.request.type!=="button"&&e.activeElement.tagName==="A"&&(o.parentWrapper=e.activeElement);let r=t;if(e.getInnerText(o.parentWrapper)===r&&o.parentWrapper)o.parentWrapper.style.textDecoration=e.currentSettings.value?"line-through":"none",Array.from(o.parentWrapper.querySelectorAll('span[style*="text-decoration"]')).forEach(i=>i.style.textDecoration=""),o.parentWrapper.innerHTML=e.removeFormattingTags(o.parentWrapper.innerHTML,"strikeUnderline"),e.refreshElementSettings(o.parentWrapper,r),o.range.selectNode(o.parentWrapper),e.addNewRange(o.range);else{const i=o.selection.getRangeAt(0),l=document.createElement("span");l.style.textDecoration=e.currentSettings.value?"line-through":"none",e.activeElement.nodeType===1&&e.activeElement.tagName==="SPAN"?(e.activeElement.style.textDecoration=e.activeElement.style.textDecoration==="line-through"?"none":"line-through",Array.from(e.activeElement.querySelectorAll('span[style*="text-decoration"]')).forEach(s=>s.style.textDecoration=""),e.refreshElementSettings(e.activeElement,r)):(l.appendChild(i.extractContents()),Array.from(l.querySelectorAll('span[style*="text-decoration"]')).forEach(s=>s.style.textDecoration=""),i.insertNode(l),n=l,e.refreshElementSettings(l,r),e.addNewRange(i))}}if(o.range.cloneContents()){if(o.range=o.selection.getRangeAt(0),n&&e.getInnerText(n)===t)o.range.selectNode(n),e.addNewRange(o.range);else{const r=o.range.commonAncestorContainer,i=r.nodeType===1?r:r.parentElement,l=o.range.firstElementChild?o.range.firstElementChild:o.range.parentElement||i;l&&e.getInnerText(l)===t&&(o.range.selectNode(l),e.addNewRange(o.range))}n&&e.refreshElementSettings(n,t)}}function Dp(e){if(e.currentSettings.command!=="underline")return;const{mutableState:o}=e,t=r=>{const i=r.parentNode;if(i){for(;r.firstChild;)i.insertBefore(r.firstChild,r);i.removeChild(r)}},n=r=>{r.querySelectorAll("u").forEach(i=>{t(i)}),r.querySelectorAll('span[style*="text-decoration"], span[style*="text-decoration-line"]').forEach(i=>{i.style.removeProperty("text-decoration"),i.style.removeProperty("text-decoration-line"),i.getAttribute("style")||i.removeAttribute("style"),i.attributes.length===0&&t(i)})};if(!e.isEditorTagOutside){const r=[];e.checkForTextNodes(e.parentNode,r),r.filter(i=>e.checkForWorkClass(i)).forEach(i=>{i.innerHTML=e.removeFormattingTags(i.innerHTML,"underline"),i.tagName!=="U"?e.currentSettings.value&&(i.innerHTML="<u>"+i.innerHTML+"</u>"):e.currentSettings.value||(i.outerHTML=i.innerHTML)})}if(e.currentSettings.value){const r=Array.from(e.findOutermostParentWithText(e.parentElement)?.getElementsByTagName("u")||[]).reverse();r.push(...Array.from(e.findOutermostParentWithText(e.parentElement)?.querySelectorAll("a,span[style*=text-decoration]")||[]).reverse()),r.filter(i=>e.getInnerText(i)===e.selectedText).forEach(i=>{if(e.selectedText&&e.getInnerText(i)===e.selectedText){i.style.textDecoration="underline";const l=i.firstChild;l?.tagName==="STRIKE"&&e.getInnerText(l)===e.selectedText&&[...l.attributes].forEach(s=>{i.setAttribute(s.name,s.value),l.removeAttribute(s.name)}),e.cleanStrikesInElement(i,e.getParentElementOfSelection())}}),e.cleanEmptySpans(e.selectedText),e.getInnerText(e.parentElement)===e.selectedText&&e.cleanStrikesInElement(e.parentElement,e.getParentElementOfSelection())}else{const r=e.findElementWithSelectedText(e.selectedText,e.activeElement);if(!r&&e.isElementList){let i=null;const l=window.getSelection();if(l&&l.rangeCount>0){let c=l.getRangeAt(0).commonAncestorContainer;for(c.nodeType!==Node.ELEMENT_NODE&&(c=c.parentNode);c&&c!==e.activeElement&&!["DIV"].includes(c.tagName);)c=c.parentNode;c&&c.contains(e.activeElement)&&(i=c)}const s=i?e.findOutermostParentWithText(i,"A"):null;s&&(s.style.textDecoration="none"),e.getInnerText(o.parentWrapper)===e.selectedText&&i&&(e.refreshElementSettings(i,e.selectedText),o.range.selectNode(i),e.addNewRange(o.range))}else{const i=e.findOutermostParentWithText(r,"A");i&&(i.style.textDecoration="none"),e.getInnerText(o.parentWrapper)===e.selectedText&&r&&(e.refreshElementSettings(r,e.selectedText),o.range.selectNode(r),e.addNewRange(o.range))}}if(e.request.type==="button"||e.activeElement.tagName==="A")if(e.request.type!=="button"&&e.activeElement.tagName==="A"&&(o.parentWrapper=e.activeElement),e.getInnerText(o.parentWrapper)===e.selectedText&&o.parentWrapper)o.parentWrapper.style.textDecoration=e.currentSettings.value?"underline solid":"none",Array.from(o.parentWrapper.querySelectorAll('span[style*="text-decoration"]')).forEach(r=>r.style.textDecoration=""),e.cleanStrikesInElement(o.parentWrapper,e.getParentElementOfSelection());else{const r=o.selection.getRangeAt(0);if(e.activeElement.nodeType===1&&e.activeElement.tagName==="SPAN")e.currentSettings.value?e.activeElement.style.textDecoration="underline":(e.activeElement.style.removeProperty("text-decoration"),e.activeElement.style.removeProperty("text-decoration-line")),Array.from(e.activeElement.querySelectorAll('span[style*="text-decoration"]')).forEach(i=>i.style.textDecoration=""),e.activeElement.getAttribute("style")||e.activeElement.removeAttribute("style"),e.refreshElementSettings(e.activeElement,e.selectedText);else if(e.activeElement.tagName!=="A")if(e.currentSettings.value){const i=document.createElement("span");i.style.textDecoration="underline",i.appendChild(r.extractContents()),Array.from(i.querySelectorAll('span[style*="text-decoration"]')).forEach(l=>l.style.textDecoration=""),e.refreshElementSettings(i,e.selectedText),r.insertNode(i),e.addNewRange(r)}else{const i=r.extractContents(),l=document.createElement("span");l.appendChild(i),n(l);const s=document.createDocumentFragment();for(;l.firstChild;)s.appendChild(l.firstChild);r.insertNode(s),e.addNewRange(r)}}}function Fp(e){if(!e.isColorChange)return;const{mutableState:o}=e;let t=[];if(e.tempColor&&e.isEditorTagOutside&&o.parentWrapper&&(o.parentWrapper.style[e.stylePropretyName]=e.tempColor,!o.parentWrapper?.hasAttribute("em-edit")&&e.isElementList&&o.parentWrapper&&e.isProgrammaticSelection)){const l=o.parentWrapper.closest("tr")?.querySelector(`.${e.classNameBullet}`);l&&(l.style[e.stylePropretyName]=e.tempColor)}if(e.outerContextColor&&e.outerContextElement&&(e.outerContextElement.style.color=e.outerContextColor),e.getInnerText(o.parentWrapper)===e.selectedText&&o.parentWrapper){const l=e.rgbToHex(e.currentSettings.value?.toString())||"";if(e.currentStyle==="color"){const s=(e.parentElement||o.parentNode).closest("a");if(e.request.type==="button"||s)s&&(s.style.color=l,s.querySelectorAll('span[style*="color"]').forEach(c=>c.style.color=""));else{o.parentWrapper.style.color=l,e.canselExecCommand&&(e.setCustomColor(o.parentWrapper,e.stylePropretyName,e.currentSettings.value),o.range.selectNode(o.parentWrapper),e.addNewRange(o.range));const c=o.parentWrapper.firstChild;c?.nodeType===1&&c.tagName==="SPAN"&&e.getInnerText(c)===e.selectedText&&(c.style[e.stylePropretyName]="")}}else if(!e.canselExecCommand){const s=document.createElement("span");s.style[e.stylePropretyName]=l;const c=o.parentWrapper.firstChild;if(c?.nodeType===1&&c.tagName==="SPAN"&&e.getInnerText(c)===e.selectedText)c.style[e.stylePropretyName]=l;else{for(;o.parentWrapper.firstChild;)s.appendChild(o.parentWrapper.firstChild);o.parentWrapper.appendChild(s)}}o.parentWrapper.querySelectorAll(`span[style*="${e.stylePropretyName}"]`).forEach(s=>{s.innerText!==o.parentWrapper.innerText&&s.style.removeProperty(e.stylePropretyName)})}e.isEditorTagOutside?!e.currentSettings.value&&o.selection.isCollapsed&&(o.parentNode=o.selection.anchorNode?.nodeType===1?o.selection.anchorNode:o.selection.anchorNode?.parentElement,o.parentNode&&o.parentNode.style.removeProperty(e.stylePropretyName),e.cleanEmptySpans(e.selectedText)):(e.checkForTextNodes(o.parentNode,t),t.forEach(l=>{l.classList&&l.classList.contains(e.classNameBullet)||e.checkForWorkClass(l)&&(l.style[e.stylePropretyName]=e.currentSettings.value,l.querySelectorAll(`[style*="${e.stylePropretyName}"]`).forEach(s=>{s.tagName!=="A"?s.style.removeProperty(e.currentStyle):s.style[e.stylePropretyName]=e.currentSettings.value}))}));const n=Array.from(o.parentNode?.querySelectorAll("font")||[]).reverse();e.isEditorTagOutside&&n.forEach(l=>{const s=document.createElement("span");s.innerHTML=l.innerHTML;const c=l.getAttribute(e.currentStyle),d=e.rgbToHex(c||"").toString(),u=l.children.length===1&&l.firstChild?.nodeType===1?l.firstChild:null;let g=[];if(e.checkForTextNodes(l,g),g.forEach(m=>{if(m.tagName==="FONT"){const f=document.createElement("span");f.innerHTML=m.innerHTML,f.style[e.stylePropretyName]=d,m.parentNode?.replaceChild(f,m),e.refreshElementSettings(f,e.selectedText),o.range.selectNode(f),e.addNewRange(o.range)}else m.style[e.stylePropretyName]=d}),u)l.parentNode?.replaceChild(u,l);else if(l.getAttribute(e.currentStyle)&&l.parentNode){const m=document.createElement("span");m.innerHTML=l.innerHTML,m.style[e.stylePropretyName]=d;const f=l.closest("a");f&&f.innerText===l.innerHTML&&(f.style[e.stylePropretyName]=d),l.parentNode.replaceChild(m,l)}});const r=Array.from(o.parentWrapper?.getElementsByTagName("span")||[]).reverse();e.isEditorTagOutside&&r.forEach(l=>{l.style[e.stylePropretyName]=e.rgbToHex(l.style[e.stylePropretyName]),e.getInnerText(l)===e.selectedText&&e.canselExecCommand&&(e.setCustomColor(l,e.stylePropretyName,e.currentSettings.value),o.range.selectNode(l),e.addNewRange(o.range))});const i=o.parentWrapper||o.parentNode;e.currentStyle==="color"&&i&&(Mp(i,e.rgbToHex,e.outerContextColor||e.tempColor),_p(i,e.rgbToHex)),i&&e.cleanEmptySpans(e.selectedText,i)}function qp(e){const o=e.parentElement;if(!o)return!1;let t=e,n=o;for(;n;){const r=n.tagName;if(r==="TD"||r==="TH")return n.childElementCount!==1||n.firstElementChild!==t?!1:!Array.from(n.childNodes).some(i=>i.nodeType===Node.TEXT_NODE&&i.textContent?.trim()!=="");if(r==="SPAN"||r==="EDITOR"){if(n.childElementCount!==1||n.firstElementChild!==t||Array.from(n.childNodes).some(i=>i.nodeType===Node.TEXT_NODE&&i.textContent?.trim()!==""))return!1;t=n,n=n.parentElement;continue}return!1}return!1}function Ei(e,o){const t=e.style.color?.trim();if(!t)return null;const n=De(t),r=De(o??"");return!n||n===r?null:t}function Wp(e){if(e.currentSettings.name!=="textLink")return;const{mutableState:o}=e;let t=o.parentNode.querySelector('a[href=" "]');if(e.isEditorTagOutside||(t=e.findOutermostParentWithText(e.activeElement,"a")),e.currentSettings.value){const n=e.findOutermostParentWithText(e.activeElement,"a")||e.findOutermostParentWithText(o.parentNode,"a")||e.findOutermostParentWithText(o.parentWrapper,"a");if(!(t||n))return;const r=e.commonStyles?.links?.underline===void 0||e.commonStyles?.links?.underline?"underline":"none";t||(t=n);const i=e.findOutermostParentWithText(t);if(i&&i!==t&&i!==o.parentWrapper&&["b","strong","a","em","i","s","strike","u","br","span"].includes(i?.tagName.toLowerCase())){const l=t.cloneNode(!1),s=t.innerHTML;t.parentNode&&(t.parentNode.innerHTML=s),l.appendChild(i.cloneNode(!0)),i.parentNode&&i.parentNode.replaceChild(l,i),t=l,o.range.selectNode(t),e.addNewRange(o.range)}if(t){t.setAttribute("target","_blank"),t.setAttribute("href","");const l=e.commonStyles?.links?.color||t.closest('[style*="color"]')?.style?.color||"";t.setAttribute("style",`color: ${l}; text-decoration: ${r};`),t.setAttribute("new","true"),e.refreshElementSettings(t,e.selectedText)}}else if(t=o.parentNode.closest("a")||o.parentNode.querySelector('a[em-edit="active"]')||e.findOutermostParentWithText(e.activeElement,"a"),t)if(t.style.fontFamily||t.style.fontSize){const n=qp(t)?"div":"span",r=document.createElement(n);if(r.innerHTML=t.innerHTML,Array.from(t.attributes).forEach(l=>{l.name!=="href"&&l.name!=="target"&&l.name!=="color"&&r.setAttribute(l.name,l.value)}),!r.style.lineHeight){const l=t.closest('[style*="line-height"]');l?.style.lineHeight&&(r.style.lineHeight=l.style.lineHeight)}r.style.textDecoration="";const i=Ei(t,e.commonStyles?.links?.color);if(i?r.style.color=i:r.style.color="",t.parentNode?.replaceChild(r,t),n==="div"){let l=r.parentElement;for(;l&&l.tagName!=="TD"&&l.tagName!=="TH";){const s=l.parentElement;if(!s)break;s.replaceChild(r,l),l=r.parentElement}}e.cleanEmptySpansWithParent(e.selectedText,r),e.refreshElementSettings(r,e.selectedText),o.range.selectNodeContents(r),e.addNewRange(o.range)}else{const n=Ei(t,e.commonStyles?.links?.color);if(n){const r=document.createElement("span");for(r.style.color=n;t.firstChild;)r.appendChild(t.firstChild);t.parentNode?.replaceChild(r,t),o.range=document.createRange(),o.range.selectNodeContents(r)}else{const r=Array.from(t.childNodes);r.forEach(i=>{t.parentNode?.insertBefore(i,t)}),t.parentNode?.removeChild(t),o.range=document.createRange(),o.range.setStartBefore(r[0]),o.range.setEndAfter(r[r.length-1])}if(e.addNewRange(o.range),o.range.cloneContents()){o.range=o.selection.getRangeAt(0);const r=o.range.commonAncestorContainer,i=r.nodeType===1?r:r.parentElement,l=o.range.firstElementChild?o.range.firstElementChild:o.range.parentElement||i;l&&e.refreshElementSettings(l,e.selectedText)}}}var $p=new Set(["textStrong","textItalic","textStrikethrough","textUnderline","textLink","textColor","textBackgroundColor"]);function zp(e){const{commit:o,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,findOutermostParentWithText:l,clearLinkTags:s,addFontFamilyClass:c,getIsProgrammaticSelection:d,getCommonStyles:u}=e;function g(E,S,v){const C=!!E&&!!S&&S.tagName==="DIV"&&E.tagName==="EDITOR"&&E.parentElement===S&&S.childElementCount===1&&S.firstElementChild===E&&!Array.from(S.childNodes).some(D=>D!==E&&D.nodeType===Node.TEXT_NODE&&!!D.textContent?.trim()),L=!!E&&E.childElementCount===0&&Array.from(E.childNodes).some(D=>D.nodeType===Node.TEXT_NODE&&!!D.textContent?.trim()),w=!!E&&re(E).trim()===v.trim();if(!C||!L||!w||!E.hasAttribute("em-edit")||!S.parentNode)return;const T=S.parentNode,k=E.getAttribute("em-edit")||"active";for(;E.firstChild;)S.appendChild(E.firstChild);E.remove(),E.removeAttribute("em-edit"),S.setAttribute("em-edit",k),T.replaceChild(E,S),E.appendChild(S)}function m(E,S){try{return S.intersectsNode(E)}catch{const v=document.createRange();return v.selectNodeContents(E),S.compareBoundaryPoints(Range.END_TO_START,v)<0&&S.compareBoundaryPoints(Range.START_TO_END,v)>0}}function f(E){const S=E?.links||{},v=S.underline,C=S.color,L=typeof v=="boolean"?v?"underline":"none":"underline";return{color:typeof C=="string"&&C.trim()?C.trim():"inherit",textDecoration:L}}function p(E,S){if(!E||!S)return null;const v=S,C=Array.from(v.querySelectorAll("a"));v.tagName==="A"&&C.unshift(v);const L=typeof window<"u"&&window.Range?window.Range.START_TO_START:0,w=typeof window<"u"&&window.Range?window.Range.END_TO_END:2;for(const T of C){const k=document.createRange();k.selectNodeContents(T);const D=k.compareBoundaryPoints(L,E)<=0,z=k.compareBoundaryPoints(w,E)>=0;if(D&&z)return T}return null}function b(E,S,v){const C=Array.from(S?.getElementsByTagName("span")||[]).reverse();let L=!1;re(S)===E&&C.length&&(L=!0),C.forEach(w=>{const T=w.getAttribute("style"),k=!!T&&T.trim().length>0;let D=Array.from(w.attributes).filter($=>$.name!=="style");if(!k&&D.length===1&&D[0].name==="em-edit"&&w.parentElement&&!w.parentElement.hasAttribute("em-edit")){const $=w.getAttribute("em-edit")||"active";w.parentElement.setAttribute("em-edit",$),w.removeAttribute("em-edit"),D=Array.from(w.attributes).filter(M=>M.name!=="style")}const z=D.length>0;if(!k&&!z){const $=re(w);if(w.childNodes.length===1&&w.childNodes[0].nodeType===3){const M=w.childNodes[0];w.parentNode?.replaceChild(M,w),v.isEditorTagOutside&&re(S)!==E&&M.parentNode&&(v.range?.selectNode(M),t(v.range))}else{const M=Array.from(w.childNodes);M.forEach(H=>{w.parentNode?.insertBefore(H,w)}),E===$&&(v.range=document.createRange(),v.range.setStartBefore(M[0]),v.range.setEndAfter(M[M.length-1]),t(v.range)),w.parentNode?.removeChild(w)}}}),L&&(n(S,E),v.range.selectNode(S),t(v.range))}function h(E,S){if(E?.rangeCount>0){const v=E.getRangeAt(0),C=v.commonAncestorContainer;let L=v.startOffset,w=v.endOffset;for(;C.data&&L>0&&!/\s/.test(C.data[L-1]);)L--;for(;C.data&&w<C.length&&!/\s/.test(C.data[w]);)w++;S.setStart(C,L),S.setEnd(C,w),t(S)}}function y(E,S,v){E.innerHTML=E.innerHTML.replaceAll(/<\/?strike[^>]*>/gi,""),E.parentNode&&(v.selectNode(E),t(v),n(E,S))}return function(S,v){const C=Ap(v.settings,a.rgbToHex),L=a.getListContext(S),{classNameOl:w,classNameUl:T,classNameBullet:k,isListOL:D,isListUL:z,isList:$}=L;$&&L.tableElement?.querySelectorAll("tbody > tr > td:first-child")?.forEach(N=>{const le=N.querySelector(":scope > div")||N.querySelector(":scope > editor div");le&&le.classList.add(`${k}`)}),S?.querySelectorAll(".em-element-path").forEach(N=>N.remove());const M=Object.keys(v.settings)[0];let H=window.getSelection();if(!H||H.rangeCount===0){if(!S||!S.isConnected)return;const N=document.createRange();if(N.selectNodeContents(S),H=window.getSelection(),!H)return;H.removeAllRanges(),H.addRange(N)}let P=H.getRangeAt(0);const Z=P.commonAncestorContainer;let R=Z.nodeType===1?Z:Z.parentElement,F=H.anchorNode?.nodeType===1?H.anchorNode:H.anchorNode?.parentElement,ie=!1,O=a.getSelectedText();if(S||(S=H.anchorNode?.childNodes.length===1&&H.anchorNode.firstChild?.nodeType===1?H.anchorNode.firstChild:R,S.tagName==="EDITOR"&&(S=S.parentElement)),C.name==="textLink"&&C.value===""){const N=R?.closest?.("a, [href]")||null;N&&(P.selectNode(N),t(P),S=N)}if(C.name==="textUnderline"&&!C.value){let N=R.closest(["u","strike","[style*=text-decoration]","span","a"].find(le=>R?.closest(le))||"u");!N&&S?.tagName==="A"&&(N=S),N?.tagName==="A"&&(N.style.textDecoration="none",n(N,O),P.selectNode(N),t(P),S=N,ie=!0)}let B=v.type==="button"?(S||F)?.closest("a"):(S||F)?.closest("a, div, p, td, h1, h2, h3, h4, h5, h6, li, ul, ol, sup, sub");const ee=v.settings.fontFamily;let oe=null;const G=Array.from(B?.classList||[]).some(N=>(N.startsWith("em-font-")&&(oe=N),N.startsWith("em-font-")&&N.includes(C.name==="textItalic"?"Italic":"Bold")));G&&(C.name==="textItalic"||C.name==="textStrong")&&oe&&B?.classList.remove(oe);const J={range:P,isEditorTagOutside:!1},Y=(N=a.getSelectedText(),le=B)=>{b(N,le,J)},ae=a.checkForWorkClass,ge=a.checkForTextNodes,Co=(N,le)=>{y(N,O,J.range)};let qe,Ae;M==="textColor"?qe=Ae="color":M==="textBackgroundColor"&&(qe="backgroundColor",Ae="background-color");const Te=v.settings.hasOwnProperty("textColor")||v.settings.hasOwnProperty("textBackgroundColor"),se=!!R?.closest("editor")||re(R)===O||re(R.querySelector("editor"))===O;J.isEditorTagOutside=se,v.settings.hasOwnProperty("textColor")&&C.value&&document.execCommand("styleWithCSS",!1,"true");const Vt=a.setCustomColor,Le=d(),Ze=u();if(Rp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex})||Pp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,fontFamilyArray:ee,removeClassesByPrefix:a.removeClassesByPrefix$1,createFontClassName:a.createFontClassName,clearLinkTags:s,addFontFamilyClass:c,cleanEmptySpans:Y}))return!1;const ue=R.closest(C.tags.find(N=>R?.closest(N))||"span");(P?.collapsed||!a.getSelectedText())&&(C.value?C.value&&se&&(v.type==="button"||S.tagName==="A"&&ue?P.selectNodeContents(ue):h(H,P)):ue&&P.selectNodeContents(ue)),(v.type==="button"||S.tagName==="A"||S?.closest("a"))&&a.getSelectedText()&&a.getSelectedText()!==re(S)&&ue&&(v.settings.hasOwnProperty("textLink")||v.settings.hasOwnProperty("textUnderline"))&&(P.selectNode(ue),t(P),v.settings.hasOwnProperty("textUnderline")&&S.tagName==="A"&&(S.style.textDecoration=C.value?"underline":"none",ie=!0)),H=window.getSelection(),P=H.getRangeAt(0),J.range=P,O=a.getSelectedText(),Array.from(B?.querySelectorAll("span,div")||[]).reverse().forEach(N=>{N.getAttribute("style")===""&&N.removeAttribute("style"),N.hasAttribute("contenteditable")&&N.removeAttribute("contenteditable"),N.hasAttribute("em-edit")&&N.removeAttribute("em-edit"),N.hasAttribute("em-relative")&&N.removeAttribute("em-relative"),N.hasAttribute("class")&&(N.classList.remove("em-relative"),N.classList.length===0&&N.removeAttribute("class"))});let We=null;Te&&Ae&&B?.style?.getPropertyValue?.(Ae)?.trim()&&(re(B)===O&&(B.style[qe]=a.rgbToHex(C.value?.toString())||"",ie=!0),qe==="color"&&(R===B||S?.closest('[style*="color"]')===B)&&(We=a.rgbToHex(B.style[Ae]),B.style.removeProperty(Ae),!B?.hasAttribute("em-edit")&&$&&B&&Le&&B.closest("tr")?.querySelector(`.${k}`)?.style.removeProperty(Ae)));let vo=null,Ut=null;if(Te&&qe==="color"&&B?.tagName==="A"){let N=B.parentElement;for(;N&&!["BODY","HTML","TD","TH"].includes(N.tagName);){const le=N.style.getPropertyValue("color")?.trim();if(le){vo=a.rgbToHex(le)||le,Ut=N,N.style.removeProperty("color");break}N=N.parentElement}}Ae&&!(C.value.length===7||C.value.length===4)&&(ie=!0),se&&(!C.value&&C.name!=="fontSize"&&C.name!=="textLink"||C.value)&&(!(C.name==="textUnderline"||C.name==="textStrikethrough")||v.type!=="button")&&!ie&&(C.name!=="fontSize"&&!Te&&re(B)===O?document.execCommand(C.command,!1,Te?C.value:C.name==="textLink"?" ":void 0):re(B)!==O&&(v.settings.hasOwnProperty("textColor")&&document.execCommand("styleWithCSS",!1,"true"),document.execCommand(C.command,!1,Te?String(C.value):C.name==="textLink"?" ":void 0),v.settings.hasOwnProperty("textColor")&&C.value&&Bp(B||R,String(C.value),a.rgbToHex))),O=a.getSelectedText();{const N={parentElement:R,parentNode:F,parentWrapper:B,selection:H,range:P};Op({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,activeElement:S,hasItalicClass:G,tempStyleClass:oe,checkForWorkClass:ae,removeFormattingTags:Rt,cleanEmptySpans:Y,mutableState:N,currentStyle:qe,isProgrammaticSelection:Le,findParentWithFontSizeAndTag:a.findParentWithFontSizeAndTag}),R=N.parentElement,F=N.parentNode,B=N.parentWrapper,H=N.selection,P=N.range,J.range=P}Hp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,activeElement:S,hasItalicClass:G,tempStyleClass:oe,checkForWorkClass:ae,removeFormattingTags:Rt,cleanEmptySpans:Y}),Ip({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,activeElement:S,hasItalicClass:G,tempStyleClass:oe,checkForWorkClass:ae,removeFormattingTags:Rt,cleanEmptySpans:Y});const $e={parentWrapper:B,range:P,selection:H};xp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,activeElement:S,hasItalicClass:G,tempStyleClass:oe,checkForWorkClass:ae,removeFormattingTags:Rt,cleanEmptySpans:Y,request:v,findOutermostParentWithText:l,mutableState:$e}),B=$e.parentWrapper,P=$e.range,J.range=P;const jt={parentWrapper:B,range:P,selection:H};if(Dp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,activeElement:S,hasItalicClass:G,tempStyleClass:oe,checkForWorkClass:ae,removeFormattingTags:Rt,cleanEmptySpans:Y,request:v,findOutermostParentWithText:l,cleanStrikesInElement:Co,mutableState:jt}),B=jt.parentWrapper,C.value===!1&&B){const N=window.getSelection(),le=N&&N.rangeCount>0?N.getRangeAt(0):P,ne={textStrong:["strong","b"],textItalic:["em","i"],textStrikethrough:["s","strike"],textUnderline:["u"]}[C.name];let ze=!1;ne&&ne.forEach(K=>{Array.from(B.getElementsByTagName(K)).reverse().forEach(he=>{if(!m(he,le))return;const Ve=re(he);if(!Ve||Ve.trim().length===0)return;const me=he.parentElement;he.hasAttribute("em-edit")&&me&&!me.hasAttribute("em-edit")&&me.setAttribute("em-edit",he.getAttribute("em-edit")||"active"),he.outerHTML=he.innerHTML,ze=!0,g(me,B,O)})}),ze&&setTimeout(()=>{const K=document.querySelector("[em-edit]")||r(O)||(B?.isConnected?B:null);K&&n(K,O)},0)}if(C.value===!0&&B&&se){const N={textStrong:"strong",textItalic:"em",textStrikethrough:"s",textUnderline:"u"},le={textStrong:["strong","b"],textItalic:["em","i"],textStrikethrough:["s","strike"],textUnderline:["u"]},ne=N[C.name],ze=le[C.name];if(ne&&ze&&O&&O.trim().length>0){const K=B,he=ze.some(Je=>K.getElementsByTagName(Je).length>0),Ve=(K.style?.textDecoration||"").toLowerCase(),me=(K.style?.textDecorationLine||"").toLowerCase(),Re=Ve.includes("underline")||me.includes("underline"),fe=Ve.includes("line-through")||me.includes("line-through"),Gt=C.name==="textUnderline"&&Re||C.name==="textStrikethrough"&&fe,St=re(K)===O;if(!he&&!Gt&&St){const Je=document.createElement(ne);for(;K.firstChild;)Je.appendChild(K.firstChild);K.appendChild(Je);try{const Pe=document.createRange();Pe.selectNodeContents(Je),t(Pe),P=Pe,J.range=Pe}catch{}setTimeout(()=>{const Pe=document.querySelector("[em-edit]")||r(O)||(K.isConnected?K:null);Pe&&n(Pe,O)},0)}}}const Ao={parentWrapper:B,parentNode:F,range:P,selection:H};Fp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,isColorChange:Te,tempColor:We,outerContextColor:vo,outerContextElement:Ut,stylePropretyName:Ae,currentStyle:qe,canselExecCommand:ie,isProgrammaticSelection:Le,request:v,setCustomColor:Vt,checkForWorkClass:ae,cleanEmptySpans:Y,mutableState:Ao}),B=Ao.parentWrapper,F=Ao.parentNode;const W={parentWrapper:B,parentNode:F,range:P,selection:H};if(Wp({parentElement:R,parentNode:F,parentWrapper:B,currentSettings:C,isElementList:$,classNameBullet:k,isEditorTagOutside:se,selectedText:O,range:P,selection:H,checkForTextNodes:ge,commit:o,getInnerText:re,getSelectedText:a.getSelectedText,addNewRange:t,refreshElementSettings:n,findElementWithSelectedText:r,getParentElementOfSelection:i,rgbToHex:a.rgbToHex,findOutermostParentWithText:l,activeElement:S,commonStyles:Ze,cleanEmptySpansWithParent:Y,mutableState:W}),P=W.range,C.name==="textLink"&&C.value===!0&&se&&B&&O?.trim().length>0){const N=W.range||P,le=O.trim(),ne=[...B?Array.from(B.querySelectorAll("a")):[],...B?.parentElement?Array.from(B.parentElement.querySelectorAll("a")):[]],ze=ne.find(K=>re(K)?.trim()===le)||ne[0]||null;if(!(p(N,B)||p(N,B.parentElement)||ze)&&N&&!N.collapsed){const K=document.createElement("a"),{color:he,textDecoration:Ve}=f(Ze);K.setAttribute("target","_blank"),K.setAttribute("href",""),K.setAttribute("new","true"),K.setAttribute("style",`color: ${he}; text-decoration: ${Ve};`);let me=!1;const Re=B.querySelector("editor");if(Re&&re(Re)===O&&Re.querySelector("a")===null){for(;Re.firstChild;)K.appendChild(Re.firstChild);Re.appendChild(K),me=!0}try{if(!me){const fe=N.extractContents();fe.childNodes.length>0&&(K.appendChild(fe),N.insertNode(K),me=!0)}}catch{me=!1}if(!me&&re(B)===O){for(;B.firstChild;)K.appendChild(B.firstChild);B.appendChild(K),me=!0}if(me){try{const fe=document.createRange();fe.selectNodeContents(K),t(fe),P=fe,W.range=fe,J.range=fe}catch{}n(K,O)}}}const Me=C.name==="textUnderline"&&!C.value;if((!Te&&ie||Me)&&Y(O),$p.has(C.name)){const N=W.parentWrapper||B||r(O)||i();N&&Y(O,N)}$&&R.querySelectorAll(`tr td:first-child > div.${k}, tr td:first-child > editor div.${k}`).forEach(N=>{N.classList.remove(`${k}`)});const To=r(O);To?.hasAttribute("em-edit")||To?.setAttribute("em-edit","active"),o()}}var ve=null,pt=!1,Si=!1,Ue="",je="",gt=null,Ci=null,nt=null,fn=!1,go=!1,pn=!1,te,Ye,gn,rt,Fe,bo,j,ho,vi,bn,yo,qt,hn=".em-prevent-action",q,Wt,it,bt;function be(e){return Ld(e,{HTMLDocument:j,documentMapping:rt,remoteDocument:Ye,messageService:a.messageService})}function Vp(e){bo?.setEditorFocus(e)}function Up(e,o=a.getSelectedText()){let n=(i=>i?.nodeType===Node.ELEMENT_NODE?i:i?.parentElement||null)((typeof a.findElementWithSelectedText=="function"?a.findElementWithSelectedText(o,e):null)||e);if(!n||n.tagName==="EDITOR"&&(n=n.firstElementChild||null,!n))return;const r=a.state.get("activeElementLocked")>0;try{r&&a.state.decrement("activeElementLocked"),de({elem:n})}finally{r&&a.state.increment("activeElementLocked")}}function jp(e,o){const t=j.getRangeByElement(e,!0);t&&rt.hasMappedReplacementRangeInRange(t)||Fe.whenEditorLostFocus(()=>it(e,o),"editor")}function Gp(e){return a.prepareEditorHTML(e,a.parseFromString)}var Yp=a.checkIsEditorInited;function Ai(e=!1){Od({state:a.state,getEmailWidth:()=>a.state.get("emailWidth"),messageService:a.messageService,removeHiddenClasses:a.removeHiddenClasses,findGlobalHolder:gi,elMarkupHelper:Kp,rgbToHex:a.rgbToHex,getSubject:Go,getPreheader:Yo,getUsedColors:xr,commit:q,setGlobalHolder:o=>{ve=o}},e)}function Kp(){Ud(ve)}function Xp(e){return Gd(e,j)}function Zp(e){return Sp(e,{getLockEditor:()=>a.state.get("lockEditor"),applyStylesToDocument:Xp,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,setFloatBlocksWidth:Ge,appName:a.state.get("appName"),wrapEditor:it,setCursorPosition:be,messageService:a.messageService,commit:q})}function Jp(e){cu(e,{setBlockGroupControlsPosition:Eo,commit:q})}var Ti=Dt,Li=Ft;function Qp(){return a.stickyCheck(q)}var eg=a.checkSandboxStyles,yn=a.getElementParent;function tg(e){return a.addBlockToProject(e,{HTMLDocument:j,messageService:a.messageService})}function Eo(){return a.setBlockGroupControlsPosition({scrollTop:a.state.get("scrollTop")})}function Ge(e){return a.setFloatBlocksWidth(e,te)}function ht(e){return a.setBlockMaxWidth(e,te)}var lt=a.setImageWidth;function at(e){return a.insertCountdown(e,q)}var $t=a.uptimeCountdown,yt=a.checkBlockAdaptivity;function En(e){return a.addFontFamilyClass(e,q)}function Sn(e){return a.clearLinkTags(e,q)}function og(){a.clearProjectFontFaces(e=>{q(e)})}function Ke(e){return a.commonStylesApply(e,q)}var Xe=a.commonStylesApplyToBlock,ng=a.getStructureColumns,rg=a.getElementTdDiv,wi=a.setStructureBlocksWidth;function ig(e){e=te.getVisibleNode(e),a.implementResizableElems(e),Fe.whenEditorLostFocus(()=>{e.isConnected})}function ki({target:e}){return jd({target:e},q)}var _i;function lg(e){const o=["textStrong","textItalic","textStrikethrough","textUnderline","textColor","textBackgroundColor","textLink","lineHeight","fontSize","fontFamily"];try{a.state.increment("activeElementLocked");let t=e.data;t.settings=ho.escape(t.settings),Object.keys(t.settings)[0];let n=a.getActiveEditElement();const{classNameOl:r,classNameUl:i,isListOL:l,isListUL:s,isList:c}=a.getListContext(n),d=a.getListContainer(n);if(t.type==="img"||t.type==="countdown"||t.type==="video")Of(t.settings,{activeElement:n,getActiveEditElement:a.getActiveEditElement,setCursorPosition:be,setElementBorder:a.setElementBorder,setElementBoxShadow:a.setElementBoxShadow,setElementBorderRadius:a.setElementBorderRadius,setElementMobileWidth:a.setElementMobileWidth,setElementMobileHeight:a.setElementMobileHeight,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileAlign:a.setElementMobileAlign,setElementMobileVerticalAlign:a.setElementMobileVerticalAlign,setElementShow:a.setElementShow});else if(t.type==="a")xf(t.settings,{activeElement:n,textStyleProperties:o,toggleTextStyle:bt});else if(t.type==="table")Du(t.settings,{activeElement:n,setElementBorder:a.setElementBorder,setElementBoxShadow:a.setElementBoxShadow,setElementBorderRadius:a.setElementBorderRadius,setElementMobileTableAlign:a.setElementMobileTableAlign,setElementMobileWidth:a.setElementMobileWidth,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileBackgroundColor:a.setElementMobileBackgroundColor,setElementMobileBackgroundImage:a.setElementMobileBackgroundImage,setElementMobileBackgroundPositionX:a.setElementMobileBackgroundPositionX,setElementMobileBackgroundPositionY:a.setElementMobileBackgroundPositionY,setElementMobileBackgroundRepeat:a.setElementMobileBackgroundRepeat,setElementMobileBackgroundSize:a.setElementMobileBackgroundSize,setElementShow:a.setElementShow});else if(t.type==="td"||t.type==="structure"||t.type==="group"||t.type==="column")qu(t.settings,{activeElement:n,requestType:t.type,textStyleProperties:o,isElementListContainer:d,isProgrammaticSelection:{get value(){return pt},set value(g){pt=g}},setElementBorder:a.setElementBorder,setElementBoxShadow:a.setElementBoxShadow,setElementBorderRadius:a.setElementBorderRadius,setElementMobileWidth:a.setElementMobileWidth,setElementMobileHeight:a.setElementMobileHeight,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileAlign:a.setElementMobileAlign,setElementMobileTableAlign:a.setElementMobileTableAlign,setElementMobileVerticalAlign:a.setElementMobileVerticalAlign,setElementMobileDirection:a.setElementMobileDirection,setElementMobileBackgroundColor:a.setElementMobileBackgroundColor,setElementMobileBackgroundImage:a.setElementMobileBackgroundImage,setElementMobileBackgroundPositionX:a.setElementMobileBackgroundPositionX,setElementMobileBackgroundPositionY:a.setElementMobileBackgroundPositionY,setElementMobileBackgroundRepeat:a.setElementMobileBackgroundRepeat,setElementMobileBackgroundSize:a.setElementMobileBackgroundSize,setElementMobilePadding:a.setElementMobilePadding,setElementShow:a.setElementShow,setContrastBlock:a.setContrastBlock,setStructureBlocksWidth:wi,toggleTextStyle:bt,removeEditorTags:a.removeEditorTags,addClassToSecondCell:a.addClassToSecondCell,wrapEditor:it,addNewRange:a.addNewRange});else if(t.type==="button")Hu(t.settings,{activeElement:n,textStyleProperties:o,setElementBorder:a.setElementBorder,setElementBoxShadow:a.setElementBoxShadow,setElementBorderRadius:a.setElementBorderRadius,setElementMobileWidth:a.setElementMobileWidth,setElementMobileHeight:a.setElementMobileHeight,setElementMobileLineHeight:a.setElementMobileLineHeight,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileAlign:a.setElementMobileAlign,setElementMobileTableAlign:a.setElementMobileTableAlign,setElementMobileVerticalAlign:a.setElementMobileVerticalAlign,setElementMobileBackgroundColor:a.setElementMobileBackgroundColor,setElementMobileBackgroundImage:a.setElementMobileBackgroundImage,setElementMobileBackgroundPositionX:a.setElementMobileBackgroundPositionX,setElementMobileBackgroundPositionY:a.setElementMobileBackgroundPositionY,setElementMobileBackgroundRepeat:a.setElementMobileBackgroundRepeat,setElementMobileBackgroundSize:a.setElementMobileBackgroundSize,setElementMobilePadding:a.setElementMobilePadding,setElementMobileFontSize:a.setElementMobileFontSize,setElementShow:a.setElementShow,toggleTextStyle:bt,compareStrings:a.compareStrings});else if(t.type==="div")xu(t.settings,{activeElement:n,setElementBorder:a.setElementBorder,setElementBoxShadow:a.setElementBoxShadow,setElementBorderRadius:a.setElementBorderRadius,setElementMobileWidth:a.setElementMobileWidth,setElementMobileHeight:a.setElementMobileHeight,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileAlign:a.setElementMobileAlign,setElementMobileVerticalAlign:a.setElementMobileVerticalAlign,setElementMobileDirection:a.setElementMobileDirection,setElementMobileBackgroundColor:a.setElementMobileBackgroundColor,setElementMobileBackgroundImage:a.setElementMobileBackgroundImage,setElementMobileBackgroundPositionX:a.setElementMobileBackgroundPositionX,setElementMobileBackgroundPositionY:a.setElementMobileBackgroundPositionY,setElementMobileBackgroundRepeat:a.setElementMobileBackgroundRepeat,setElementMobileBackgroundSize:a.setElementMobileBackgroundSize,setElementMobilePadding:a.setElementMobilePadding,setElementShow:a.setElementShow});else if(t.type==="vindent")Df(t.settings,{activeElement:n,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="var")Ff(t.settings,{activeElement:n,isVariableText:a.isVariableText});else if(t.type==="floatBlock")Vu(t.settings,{activeElement:n,setElementMobileWidth:a.setElementMobileWidth,setElementMobileContentWidth:a.setElementMobileContentWidth,setElementMobileVerticalAlign:a.setElementMobileVerticalAlign,setElementShow:a.setElementShow});else if(t.type==="text")Nf(t.settings,{activeElement:n,textStyleProperties:o,toggleTextStyle:bt,collectVMLContent:Ro,updateVMLComments:Po,removeClassesByPrefix:a.removeClassesByPrefix$1,createFontClassName:a.createFontClassName,addFontFamilyClass:En,clearLinkTags:Sn,handleTextScriptSettings:lf,handleTextReplacer:af,handleTextAnchor:ff,unwrapNestedTags:cd,wrapInTag:dd,unwrapTag:md,isRangeMatching:ud,splitWrapper:fd,cleanEmptyTags:pd,applicationElementSettingsSet:de,compareStrings:a.compareStrings,setElementMobileFontSize:a.setElementMobileFontSize,setElementMobileLineHeight:a.setElementMobileLineHeight,setElementMobileAlign:a.setElementMobileAlign,updateTableStyle:a.updateTableStyle,changeBullets:a.changeBullets,changeBulletsColor:a.changeBulletsColor,changeBulletsSize:a.changeBulletsSize,changeBulletsItalic:a.changeBulletsItalic,changeBulletsWeight:a.changeBulletsWeight,changeBulletsStrikethrough:a.changeBulletsStrikethrough,changeBulletsUnderline:a.changeBulletsUnderline,findElementWithSelectedText:a.findElementWithSelectedText,removeEditorTags:a.removeEditorTags,isElementList:c,isElementListOL:l,classNameOl:r,classNameUl:i,commit:q});else if(t.type==="floatBlocksWidths")Uu(t.settings,{activeElement:n,setPercentsForColumns:a.setPercentsForColumns,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="floatBlocksPreset")ju(t.settings,{activeElement:n,setPercentsForColumns:a.setPercentsForColumns,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="floatBlocksValign")Gu(t.settings,{activeElement:n,setPercentsForColumns:a.setPercentsForColumns,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="floatBlocksGap")Yu(t.settings,{activeElement:n,setPercentsForColumns:a.setPercentsForColumns,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="floatBlocksGapMobile")Ku(t.settings,{activeElement:n,setPercentsForColumns:a.setPercentsForColumns,setElementMobileHeight:a.setElementMobileHeight});else if(t.type==="carousel")Xu(t.settings,{activeElement:n,HTMLDocument:j,parseFromString:a.parseFromString,setElementBorderRadius:a.setElementBorderRadius,commit:q});else if(t.type==="accordion")Zu(t.settings,{activeElement:n,HTMLDocument:j,parseFromString:a.parseFromString,setElementBorderRadius:a.setElementBorderRadius,commit:q});else if(t.type==="social"){const g=rf(t.settings,{activeElement:n,parseFromString:a.parseFromString,commit:q});g&&(n=g)}else t.type==="customTable"&&pf(t.settings,{activeElement:n,activeCell:a.state.get("activeCell"),state:a.state,parseTableElementToModel:Bt,tableModelToHtml:Se,updateTablePadding:Oa,updateBackgroundPosition:xa,removeStyleProperty:Ga,updateBorderRadius:Ka,removeClassByPrefix:Ja,getCellsWithClasses:Fa,updateTableCellBackgroundByIds:qa,addClassToCellsByIds:Wa,getExternalBorders:za,mergeUniCells:Qa,updateCellBordersByIds:$a,getExternalCorners:Ua,updateCellBorderRadiusByIds:Va,updateCellPaddingByIds:ja,removeOuterBorders:Xa,simplifyBorders:Za,wrapEditor:it,addNewRange:a.addNewRange,toggleTextStyle:bt,textStyleProperties:o,commit:q,setElementMobileWidth:a.setElementMobileWidth,setElementMobileHeight:a.setElementMobileHeight,setElementShow:a.setElementShow,setElementMobileBackgroundColor:a.setElementMobileBackgroundColor,setElementMobileBackgroundImage:a.setElementMobileBackgroundImage,setElementMobileBackgroundPositionX:a.setElementMobileBackgroundPositionX,setElementMobileBackgroundPositionY:a.setElementMobileBackgroundPositionY,setElementMobileBackgroundRepeat:a.setElementMobileBackgroundRepeat,setElementMobileBackgroundSize:a.setElementMobileBackgroundSize,setElementMobileBoxShadow:a.setElementMobileBoxShadow,setElementMobileBorder:a.setElementMobileBorder,setElementMobileBorderRadius:a.setElementMobileBorderRadius});try{a.emFilterCSS()}catch{}a.state.increment("activeElementLocked");const u=n;Wt().finally(()=>{const g=j.getMappedParent(n);if(g?.isConnected){const m=te.getOuterHtml(g),f=a.parseFromString(m)[0];if(g.parentNode?.replaceChild(f,g),u?.tagName==="A"&&f.tagName!=="A"){const p=f.querySelector?.("a");p?(p.setAttribute("em-edit","active"),n=p):(f.setAttribute("em-edit","active"),n=f)}else f.setAttribute("em-edit","active"),n=f;Wt().finally(()=>{a.state.decrement("activeElementLocked"),be(n)})}else a.state.decrement("activeElementLocked"),be(n)})}catch{}finally{Promise.resolve().then(()=>a.state.decrement("activeElementLocked"))}}function de(e){if(!a.state.isActiveElementLocked()){if(!e.elem){const o=document.querySelector("[em-edit]");o&&(e.elem=o)}try{a.state.increment("activeElementLocked"),a.removeAllAttributes("em-edit");let o={};if(e.elem){if(e.elem.closest?.(hn))return;e.elem=Vf(e.elem,{getVariableByIcon:a.getVariableByIcon,htmlDocument:te,findOutermostParentWithText:a.findOutermostParentWithText,sendResizeEvent:a.sendResizeEvent});const t=e.elem.tagName==="EDITOR"&&e.elem.firstChild?.nodeType===1?e.elem.firstChild:e.elem,{classNameOl:n,classNameUl:r,isListOL:i,isListUL:l,isList:s}=a.getListContext(e.elem),c=s?a.getListBullet(e.elem):null,d=!!e.elem.closest(".em-element-custom-table"),u=a.getLineHeightInPixels,g=E=>a.getFontFamilyFromElement(E,t),m=a.textHasStyle,f=(E,S=!1)=>zf(S,{getSelectedText:a.getSelectedText,getRangeFromSelection:a.getRangeFromSelection});$f(e.elem,window.getSelection()?.isCollapsed??!0,!!e.elem.querySelector("editor"),{removeAllAttributes:a.removeAllAttributes}),o={operation:"application_element_settings_set",settings:{}};const p=Uf({elem:e.elem,isCellCustomTable:d,listContext:{isListOL:i,isListUL:l,isList:s},requestElemBullet:c,variableElement:f},{..._i,Locale:qt,isProgrammaticSelection:pt,getElementTdDiv:rg,getLineHeghtInPixels:u,getFontFamilyFromElement:g,textHasStyle:m,activeCell:a.state.get("activeCell"),CLASS_FOR_BASIC_CELL:a.CLASS_FOR_BASIC_CELL,requestElemWithStyle:t}),b=Gf(e.elem,window.getSelection()?.isCollapsed??!0,p);o.type=b.type,o.caption=b.caption,o.settings=b.settings;const h=Wf(e.elem,b,o,{removeAllAttributes:a.removeAllAttributes});if(h.isProgrammaticSelectionReset&&(pt=!1),h.shouldReturn)return;const y=qf({elem:e.elem,message:o,activateSection:e.activateSection},{getElementParentCaption:Yr,getStructureColumns:ng,getUsedColors:xr,getElementPath:om,getCurrentElementPath:Zd,ampService:vi,mapObj:ho,commonStyles:a.state.get("commonStyles")});o=y.message,a.state.update({elementPath:y.elementPath})}else{setTimeout(()=>{let t=document.querySelector("[em-edit]");if(t?.isConnected){de({elem:t});return}const n={operation:"application_element_settings_set",settings:ho.unescape({parent:void 0,nextElem:!1,prevElem:!1}),type:null};JSON.stringify(n),a.messageService.send(n)},0);return}JSON.stringify(o),Ue=e.elem?j.getOuterHtml(e.elem):"",je=Ht(e.elem),a.messageService.send(o)}finally{Promise.resolve().then(()=>{const o=document.querySelector("[em-edit]");Ue=o?j.getOuterHtml(o):"",je=Ht(o),a.state.decrement("activeElementLocked")})}}}function ag(){document.addEventListener("keydown",m=>{document.body?.classList.contains("mceNonEditable")||a.state.get("lockEditor")||!m.target?.closest?.('[contenteditable="true"]')||!m.key||m.ctrlKey||m.altKey||m.metaKey||m.key.length===1&&(m.preventDefault(),m.stopImmediatePropagation(),document.execCommand("insertText",!1,m.key))},!0);const e=m=>{const f=m.target,p=f?.closest?.("a")||f?.querySelector?.("a");if(!p)return;const b=p.closest("td")||p.parentElement;b&&a.findRoundrectComment(b)&&q(!1).then(()=>{!b.isConnected||!p.isConnected||(p.closest("editor")||p.querySelector("editor")||b.querySelector("editor"))&&a.updateButtonVMLLabel(b,p.textContent||"")&&q(!1)})};document.addEventListener("input",e,!1),document.addEventListener("focusout",m=>{a.handleVMLButtonInput(m)&&q(!1)},!1),a.state.update({isDirectionUP:!1,isDirectionDOWN:!1,isDirectionLEFT:!1,isDirectionRIGHT:!1,actualTargetCount:0,activeCell:[],lockEditorInit:!0,globalHolder:null,applicationTheme:"light",iframeOffsetTop:0,scrollTop:0,previewHeight:0,applicationMode:"default",emailWidth:0,lockEdit:!1,elementPath:[],copyPasteEnabled:!0,saveBlockEnabled:!0,editImageControlEnabled:!0,elementAIimageEnabled:!0,imageCenterStockEnabled:!0,imageCenterGifEnabled:!0,imageCenterEditorEnabled:!0,blocksAddPanelEnabled:!0,lockEditor:!0,codeMode:!0,appName:"",commonStyles:{},isProgrammaticSelection:!1});let o=a.state.get("activeElementLocked");a.state.subscribe(m=>{if(m.activeElementLocked!==void 0){const f=o,p=m.activeElementLocked;o=p,f>0&&p===0&&Promise.resolve().then(()=>{if(a.state.get("activeElementLocked")!==0)return;const b=document.querySelector("[em-edit]");Ue=b?j.getOuterHtml(b):"",je=Ht(b)})}"globalHolder"in m&&(ve=m.globalHolder),"isProgrammaticSelection"in m&&(pt=m.isProgrammaticSelection)}),a.implementPolyfills(),setTimeout(()=>{Si=!0},1e3),a.provideSandboxState(a.container);const t=a.provideAttributePipeline(a.container).pipeline,n=a.provideDocumentSync(a.container,Dc,{prepareHtml:m=>a.emFilter({node:m,isPartial:!0}),lock:{increment:()=>a.state.increment("activeElementLocked"),decrement:()=>a.state.decrement("activeElementLocked")}});te=n.htmlDocument,Ye=n.remoteDocument,gn=n.textDocument,rt=n.documentMapping,a.provideImageCache(a.container,{pipeline:t,htmlDocument:te}),bn=a.provideEmVersion(a.container,{pipeline:t,htmlDocument:te}).reload,n.onDocumentReplaced(()=>bn?.clear()),a.messageService.addListener(a.EVENT_TYPES.SANDBOX_IMAGE_RESET,({url:m})=>{m&&(a.container.getInstance(a.IMAGE_CACHE_ID)?.forget(m),bn?.reload(m))}),a.initDocuments({htmlDocument:te,remoteDocument:Ye,textDocument:gn,documentMapping:rt}),q=m=>n.commit(m),Wt=m=>n.commitLockedAsync(m),bo=a.provideFocus(a.container,{htmlDocument:te,remoteDocument:Ye}),Fe=bo.controller,a.initFocusManager(Fe),a.attachFocusService(bo),j=te,Fc(),Vc(te,Fe),Uc(te,Fe),a.registerCrossDomainDD(),a.registerThemeVariablesService(te),a.registerProjectFontsService(),Qc(Ye),Xc(te,rt,be),a.registerCorrectVariableSelectionService(),a.registerResizeWatch(te,Ye),a.registerResetService(te),ed(te,Fe,Ye),a.registerExtensionScriptsService(te),vi=a.provideAmp(a.container,te).service,yo=a.registerLocalizationService(te),td({container:a.container,focusController:Fe,features:sd}),Xd(yo),qt=yo.localized,yo.onChangeLocale(({data:m})=>{qt=m}),nu({getLocale:()=>qt,commit:m=>q(m)}),a.initSandboxStyles({textDocument:gn,commit:m=>q(m)}),a.initResizableElements({getLocale:()=>qt,commit:m=>q(m),messageService:a.messageService}),te.onChange(m=>{m.some(f=>f.added.length||f.characterDataChanged||f.reordered?.length||f.reparented?.length)&&a.initSortable(j)}),ho=a.createMapObj(rt),j.onChange(()=>{eg()}),te.onRefresh(Ai),j.onChange(m=>{for(const f of m)for(const p of f.removed)(p instanceof HTMLHeadElement||p instanceof HTMLLinkElement&&p.hasAttribute("em"))&&document.querySelector(".em-editor-wrapper")?.remove()});const r=new a.UpdateQueue;let i=0;j.onChange(m=>{for(const f of m)for(const p of f.added)r.add(p.parentElement?p.parentElement:p);i||(i=setTimeout(()=>{Fe.whenEditorLostFocus(()=>{r.clear(),q(!1)}),i=0},1e3))}),j.onChange(a.createHandleChangesWithRemovedElementsOnly(de)),j.onChange(()=>{if(a.state.get("activeElementLocked")>0)return;const m=document.querySelector("[em-edit]"),f=m?j.getOuterHtml(m):"",p=Ht(m);(Ue!==f||je!==p)&&(document.body&&!document.body.classList.contains("em-sandbox-discuss")?m?m.closest?.(hn)||(Ue=f,je=p,de({elem:m})):setTimeout(()=>{let h=document.querySelector("[em-edit]");if(h){const y=j.getOuterHtml(h),E=Ht(h);(Ue!==y||je!==E)&&(Ue=y,je=E,h.closest?.(hn)||de({elem:h}))}else Ue=f,je=p,de({elem:null})},0):(Ue=f,je=p));const b=document.body;b&&((a.state.get("lockEdit")!==b.classList.contains("mceNonEditable")||a.state.get("lockEditor"))&&(a.state.get("lockEdit")||a.state.get("lockEditor")?b.classList.add("mceNonEditable"):b.classList.remove("mceNonEditable")),b.classList.toggle("em-sandbox-preview",a.state.get("previewPage")))}),bt=zp({commit:q,addNewRange:a.addNewRange,refreshElementSettings:Up,findElementWithSelectedText:a.findElementWithSelectedText,getParentElementOfSelection:a.getParentElementOfSelection$1,findOutermostParentWithText:a.findOutermostParentWithText,clearLinkTags:Sn,addFontFamilyClass:En,getIsProgrammaticSelection:()=>pt,getCommonStyles:()=>a.state.get("commonStyles")}),it=a.createWrapEditor({removeHiddenClasses:a.removeHiddenClasses,checkIsInited:Yp,prepareEditorHTML:Gp,getVisibleText:a.getVisibleText,defaultVisibleTextMapFn:a.defaultVisibleTextMapFn,getTagNameForContainer:a.getTagNameForContainer,applyAttributesToTag:(m,f,p)=>a.applyAttributesToTag(m,f,p,a.rgbToHex),setCursorToElement:a.setCursorToElement,removeLastWord:a.removeLastWord,hasOnlyTextNodesDeep:a.hasOnlyTextNodesDeep,isRangeCoveringAllVisibleText:a.isRangeCoveringAllVisibleText,isEditorContentOnlyNbsp:a.isEditorContentOnlyNbsp$1,isClickAtEndOfEmReplace:a.isClickAtEndOfEmReplace,getOrCreateAfterSpan:a.getOrCreateAfterSpan,setCursorInsideSpan:a.setCursorInsideSpan,commit:q,createBeforeInputHandler:a.createBeforeInputHandler}),_i={_isCarouselElement:im,_isAccordionElement:am,_isSocialBlockElement:Em,_isImageElement:wn,_isLinkElement:wm,_isButtonElement:Lm,_isTableElement:ul,_isCustomTableElement:jm,_isAtomElement:Ym,_isTdColumnGroup:xm,_isTdStructure:Dm,_isEmptyTd:Fm,_isTdCell:qm,_isVindentTd:Bm,_isVindentDiv:Mm,_isFloatBlockElement:Om,_isDivTextElement:ll,_isInlineButtonElement:km,_extractTextSettings:Jt,_extractCarouselSettings:nm,_extractAccordionSettings:lm,_extractSocialSettings:Sm,_extractImgSettings:Zt,_extractButtonSettings:Tm,_extractLinkTextSettings:al,_extractTableSettings:ml,_extractCustomTableSettings:Gm,_extractAtomElementSettings:Zm,_extractProgrammaticElementSettings:Jm,_extractTdColumnGroupSettings:$m,_extractTdStructureSettings:zm,_extractTdCellSettings:Vm,_extractVindentSettings:Rm,_extractFloatBlockSettings:Im,_extractDivContainerSettings:Um,_clearActiveEditElements:a.clearActiveEditElements,HTMLDocument:j,parseFromString:a.parseFromString,getParentElementOfSelection:a.getParentElementOfSelection$1,getSelectedText:a.getSelectedText,findElementWithSelectedText:a.findElementWithSelectedText,parseTableElementToModel:Bt,extractBorderRadius:Ya,parseBackgroundStyles:Da,isElementHasBold:a.isElementHasBold$1},Hc(),Bc(de),Ec(function(m){typeof be=="function"&&be(m)}),Sc(function(m){Ai(m)}),Cc(function(m){a.state.set("commonStyles",m)}),vc(function(m){return yn(m)}),Ac(function(m){return a.getVariableByIcon(m)}),Tc(function(m){return gd(m)}),Lc({getOuterHtml:function(m){return a.getOuterHtml(m)}}),wc({increment:function(m){a.state.increment(m)},decrement:function(m){a.state.decrement(m)}}),kc(function(m){a.setPercentsForColumns(m)}),_c(function(){return a.getActiveEditElement()}),Nc(function(m){return a.parseFromString(m)}),a.state.subscribe(m=>{const f={};"iframeOffsetTop"in m&&(f.iframeOffsetTop=m.iframeOffsetTop),"previewHeight"in m&&(f.previewHeight=m.previewHeight),"emailWidth"in m&&(f.emailWidth=m.emailWidth),"elementPath"in m&&(f.elementPath=m.elementPath),"lockEdit"in m&&(f.lockEdit=m.lockEdit),Object.keys(f).length>0&&Rc(f)}),a.messageService.addListener(function(m){if(m.data.operation=="update_position_from_editor"){let f=m.data.data;if(f){f=Ye.correctOffset(f,!0),f=rt.correctOffset(f,!0);let p=j.getElementByPosition(f);if(p&&!(p instanceof Element)&&(p=p.parentElement),p){const b=p.getBoundingClientRect(),h=document.querySelector("[em-edit]");p.tagName!=="BODY"&&b.height&&b.width&&h!==p&&de({elem:p});let y=p,E={operation:"application_scroll-to",settings:{value:a.state.get("applicationMode")==="default"?y.getBoundingClientRect().top+a.state.get("iframeOffsetTop")-a.state.get("previewHeight")/2+y.getBoundingClientRect().height/2:y.getBoundingClientRect().top-a.state.get("previewHeight")/2+y.getBoundingClientRect().height/2}};a.messageService.send(E)}}}if(m.data.operation=="sandbox_email_settings_set"){let f=m.data;if(ve=gi(),ve){const h=ve.classList.contains("full-wrap")?ve.querySelector("td"):ve;h&&a.setEmailBackgroundSettings(h,f.settings,jo())}f.settings.subject!==void 0&&(document.title=f.settings.subject);const p=ap(f.settings,{globalHolder:ve,emailWidth:a.state.get("emailWidth"),state:a.state,findParentTr:a.findParentTr});gp(f.settings,ve),Kf(f.settings,{globalHolder:ve,commonStyles:a.state.get("commonStyles"),lockEditor:a.state.get("lockEditor"),removeClassesByPrefix:a.removeClassesByPrefix$1,createFontClassName:a.createFontClassName,addFontFamilyClass:En,clearLinkTags:Sn,clearProjectFontFaces:og,rgbToHex:a.rgbToHex,setElementBorder:a.setElementBorder,setElementBorderRadius:a.setElementBorderRadius,setStructureBlocksWidth:wi,messageService:a.messageService});const b=Object.keys(f.settings).filter(h=>f.settings[h]!==void 0);(p||!(b.length===1&&b[0]==="width"))&&Wt()}m.data.operation==="sandbox_element_settings_set"&&Fe.whenEditorLostFocus(()=>lg(m)),(m?.data?.operation??m?.operation)==="sandbox_native-image-drop-clear"&&Dn(),m.data.operation==="sandbox_window-characteristic"&&Ru(m.data.settings,m.data.mode,{state:a.state,previewHeight:a.state.get("previewHeight"),iframeOffsetTop:a.state.get("iframeOffsetTop"),scrollTop:a.state.get("scrollTop"),globalHolder:ve,setBlockGroupControlsPosition:Eo,messageService:a.messageService}),m.data.operation=="sandbox_iframe-setsize"&&Pu(m.data.settings,{state:a.state,previewHeight:a.state.get("previewHeight"),iframeOffsetTop:a.state.get("iframeOffsetTop"),scrollTop:a.state.get("scrollTop"),globalHolder:ve,setBlockGroupControlsPosition:Eo,messageService:a.messageService}),m.data.operation=="sandbox_atom-insert"&&wu({action:m.data.action,atomHTML:m.data.settings?.atomHTML,name:m.data.settings?.name},{state:a.state,commit:q,lockEditor:a.state.get("lockEditor"),emailWidth:a.state.get("emailWidth"),iframeOffsetTop:a.state.get("iframeOffsetTop"),previewHeight:a.state.get("previewHeight"),parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,HTMLDocument:j,minify:a.minifyStylesheet,cssbeautify,insertAdjacentHTML:a.insertAdjacentHTML,messageService:a.messageService,setDocumentStyles:f=>a.setDocumentStyles(f,{minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j}),setImageWidth:lt,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,insertCountdown:at,uptimeCountdown:$t,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt,setAtomReplaced:f=>{nt=f}}),m.data.operation=="sandbox_block-insert"&&Nu({action:m.data.action,blockHTML:m.data.settings?.blockHTML,type:m.data.settings?.type,project:m.data.settings?.project,name:m.data.settings?.name,blockId:m.data.settings?.blockId},{state:a.state,commit:q,lockEditor:a.state.get("lockEditor"),emailWidth:a.state.get("emailWidth"),iframeOffsetTop:a.state.get("iframeOffsetTop"),previewHeight:a.state.get("previewHeight"),parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,HTMLDocument:j,minify:a.minifyStylesheet,cssbeautify,insertAdjacentHTML:a.insertAdjacentHTML,messageService:a.messageService,setDocumentStyles:f=>a.setDocumentStyles(f,{minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j}),setImageWidth:lt,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,insertCountdown:at,uptimeCountdown:$t,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt}),m.data.operation=="sandbox_global_block_replace"&&_u({emBlockId:m.data.settings?.emBlockId,blockHTML:m.data.settings?.blockHTML,type:m.data.settings?.type,project:m.data.settings?.project,name:m.data.settings?.name},{state:a.state,commit:q,lockEditor:a.state.get("lockEditor"),emailWidth:a.state.get("emailWidth"),iframeOffsetTop:a.state.get("iframeOffsetTop"),previewHeight:a.state.get("previewHeight"),parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,HTMLDocument:j,minify:a.minifyStylesheet,cssbeautify,insertAdjacentHTML:a.insertAdjacentHTML,messageService:a.messageService,setDocumentStyles:f=>a.setDocumentStyles(f,{minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j}),setImageWidth:lt,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,insertCountdown:at,uptimeCountdown:$t,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt})}),document.addEventListener("click",()=>{}),document.addEventListener("click",function(m){a.state.get("lockEditor")||Mu(m,{lockEditor:a.state.get("lockEditor"),commit:q,atomDropCtx:{messageService:a.messageService,isJsonString:a.isJsonString,getOuterHtml:a.getOuterHtml,minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j,_setDocumentStyles:a.setDocumentStyles,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,setImageWidth:lt,setFloatBlocksWidth:Ge,insertCountdown:at,mutableState:{atomReplaced:nt}},blockDropCtx:{lockEditor:a.state.get("lockEditor"),state:a.state,commit:q,messageService:a.messageService,emailWidth:a.state.get("emailWidth"),parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,isJsonString:a.isJsonString,isTableElement:a.isTableElement,insertAdjacentHTML:a.insertAdjacentHTML,minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j,commonStylesApplyToBlock:Xe,commonStylesApply:Ke,uptimeCountdown:$t,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt,setImageWidth:lt,insertCountdown:at,_setDocumentStyles:a.setDocumentStyles,applicationElementSettingsSet:de,mutableState:{atomReplaced:nt}}})},!0),document.onmouseover=Cp({getVisibleNode:m=>j.getVisibleNode(m),isInExternal:m=>j.isInExternal(m),isVisible:m=>te.isVisible(m),incrementActiveElementLocked:()=>a.state.increment("activeElementLocked"),decrementActiveElementLocked:()=>a.state.decrement("activeElementLocked"),getLockEditorInit:()=>a.state.get("lockEditorInit"),getIsLeftButtonDown:()=>go,getLoadStylesTimer:()=>Si,hasTextNodeInElement:a.hasTextNodeInElement,wrapEditor:jp,implementElementsEditors:Jp,implementResizableElems:ig,commit:q}),document.onmouseleave=function(){Li(),document.querySelectorAll('[em="group"] .em-element-editor, .em-element-path, .em-element-block-add').forEach(m=>{m.remove(),q(!1)})},document.addEventListener("mousedown",function(m){m.shiftKey||m.button===2||window.getSelection()?.removeAllRanges(),m.button===0&&(go=!0,a.state.set("isLeftButtonDown",!0))}),document.addEventListener("mouseup",function(m){m.button===0&&(go=!1,a.state.set("isLeftButtonDown",!1))}),document.addEventListener("dragend",function(m){m.button===0&&(go=!1,a.state.set("isLeftButtonDown",!1))});const l=()=>({parseFromString:a.parseFromString,HTMLDocument:j,commit:q,implementElementEditor:Ti,setCursorPosition:be,scrollTop:a.state.get("scrollTop")}),s=()=>({parseFromString:a.parseFromString,HTMLDocument:j,commit:q,implementElementEditor:Ti,setCursorPosition:be,scrollTop:a.state.get("scrollTop"),iframeOffsetTop:a.state.get("iframeOffsetTop"),applicationElementSettingsSet:de});document.onclick=yp({getLockEditor:()=>a.state.get("lockEditor"),setEditorFocus:Vp,setCursorPosition:be,getParentElementOfSelection:a.getParentElementOfSelection$1,findOutermostParentWithText:a.findOutermostParentWithText,setBlockGroupControlsPosition:Eo,applicationElementSettingsSet:de,insertTextAtomIntoEmptyNarrowTable:Zp,handleRemoveAtom:m=>a.handleRemoveAtom(m,{getElementParent:yn,setCursorPosition:be,getVariableByIcon:a.getVariableByIcon,commit:q}),handleCloneAtom:m=>a.handleCloneAtom(m,l()),handleMoveBlockUp:m=>a.handleMoveBlockUp(m,l()),handleMoveBlockDown:m=>a.handleMoveBlockDown(m,l()),handleRemoveBlock:m=>a.handleRemoveBlock(m,l()),handleCloneBlock:m=>a.handleCloneBlock(m,l()),handleCopyBlock:(m,f)=>bp(m,f,{HTMLDocument:j}),handlePasteBlock:(m,f)=>hp(m,f,{HTMLDocument:j,parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,minify:a.minifyStylesheet,cssbeautify,insertAdjacentHTML:a.insertAdjacentHTML,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt,commit:q,setCursorPosition:be,emailWidth:a.state.get("emailWidth"),appName:a.state.get("appName")}),handleMergeBlocks:m=>a.handleMergeBlocks(m,{...l(),emFilter:a.emFilter}),handleUnmergeBlocks:m=>a.handleUnmergeBlocks(m,l()),isAddBlockMenuClick:a.isAddBlockMenuClick,handleAddBlockMenu:(m,f)=>a.handleAddBlockMenu(m,f,{removeAllAttributes:a.removeAllAttributes,state:a.state,commitLockedAsync:Wt}),addBlockToProject:tg,handleMoveGroupUp:m=>a.handleMoveGroupUp(m,s()),handleMoveGroupDown:m=>a.handleMoveGroupDown(m,s()),handleAddGroup:m=>a.handleAddGroup(m,s()),handleCloneGroup:m=>a.handleCloneGroup(m,s()),handleRemoveGroup:m=>a.handleRemoveGroup(m,s()),isDiscussViewMode:a.isDiscussViewMode,isDiscussSetTargetMode:a.isDiscussSetTargetMode,handleDiscussViewClick:a.handleDiscussViewClick,handleDiscussSetTargetClick:m=>a.handleDiscussSetTargetClick(m,{makeId:a.makeId,commit:q}),handleEmReplaceClick:(m,f)=>gs(m,f,{isClickAtEndOfEmReplace:a.isClickAtEndOfEmReplace,getOrCreateAfterSpan:a.getOrCreateAfterSpan,setCursorInsideSpan:a.setCursorInsideSpan,_wrapEditor:it,commit:q}),handleCustomTableClick:fs}),document.addEventListener("mouseup",()=>{}),window.addEventListener("mousemove",function(){a.state.set("lockEditorInit",!1)}),document.addEventListener("keydown",vp({getCursorPositionType:a.getCursorPositionType,getListContext:a.getListContext,LIST_TEMP_CLASSES:a.LIST_TEMP_CLASSES,LIST_REGEX:a.LIST_REGEX,collectVMLContent:Ro,updateVMLComments:Po,handleVMLButtonText:a.handleVMLButtonText,handleDeleteKey:a.handleDeleteKey,handleEnterForBr:a.handleEnterForBr,handleEnterInList:ta,handleArrowRightInList:ia,handleArrowUpDownInList:ra,handleDeleteInList:la,handlePreventBulletCellEdit:aa,handleArrowRight:a.handleArrowRight,getElementParent:yn,setCursorPosition:be,removeElementEditors:Li,getVariableByIcon:a.getVariableByIcon,removeEmptyParents:a.removeEmptyParents,getAllComments:a.getAllComments,isVariableComment:a.isVariableComment,getVariableIcon:a.getVariableIcon,removeAllAttributes:a.removeAllAttributes,applicationElementSettingsSet:de,removeTemporaryListClasses:a.removeTemporaryListClasses,findNodeAtPosition:xd,setCursorSafely:Dd,isCaretAtEndOfEmReplace:a.isCaretAtEndOfEmReplace,getOrCreateAfterSpan:a.getOrCreateAfterSpan,setCursorInsideSpan:a.setCursorInsideSpan,isCaretAtEndOfStandardElement:a.isCaretAtEndOfStandardElement,setCursorPositionSimple:a.setCursorPositionSimple,handlePasteTextFragment:Fr,changeMsoValue:ki,getCommonStyles:()=>a.state.get("commonStyles"),setIsPasteFromContextMenu:m=>{pn=m},wrapEditor:it,messageService:a.messageService,commit:q}),!1),te.beforeCommit(()=>{try{fn||(fn=!0,a.emFilterCSS())}finally{fn=!1}}),document.addEventListener("click",m=>{m.target?.closest(".em-element-editor-widget-clone")||(document.querySelectorAll('.em-element-editor-widget-clone[data-open="true"]').forEach(f=>{f.setAttribute("data-open","false"),f.querySelector("ul").style.display="none"}),Qp())}),document.addEventListener("drag",function(m){m.preventDefault()},!1);const c={targetBlock:gt,atomReplaced:nt};document.addEventListener("dragstart",function(m){_d(m,{lockEditor:a.state.get("lockEditor")})},!0),document.addEventListener("dragstart",function(m){zl(m,{lockEditor:a.state.get("lockEditor"),commit:q,messageService:a.messageService,mutableState:c}),nt=c.atomReplaced},!1);const d={targetBlock:gt};document.addEventListener("dragover",function(m){Ul(m,{lockEditor:a.state.get("lockEditor"),mutableState:d}),gt=d.targetBlock},!1);const u={targetBlock:gt};document.addEventListener("dragenter",function(m){jl(m,{lockEditor:a.state.get("lockEditor"),mutableState:u}),gt=u.targetBlock},!1);const g={targetBlock:gt,newTargetblock:Ci};document.addEventListener("dragleave",function(m){Gl(m,{lockEditor:a.state.get("lockEditor"),mutableState:g}),Ci=g.newTargetblock},!1),document.addEventListener("drop",function(m){if(!a.state.get("lockEditor"))try{if(m.preventDefault(),m.stopPropagation(),$l(m,{lockEditor:a.state.get("lockEditor"),applicationElementSettingsSet:de,messageService:a.messageService})||Nd(m,{applicationElementSettingsSet:de}))return a.state.increment("activeElementLocked"),oo(),q(),!1;if(a.state.increment("activeElementLocked"),document.body.classList.contains("em-block-insert-body"))try{const f=JSON.parse(m.dataTransfer?.getData("Text")||"{}");Fn(m,f,{lockEditor:a.state.get("lockEditor"),state:a.state,commit:q,messageService:a.messageService,emailWidth:a.state.get("emailWidth"),parseFromString:a.parseFromString,getOuterHtml:a.getOuterHtml,isJsonString:a.isJsonString,isTableElement:a.isTableElement,insertAdjacentHTML:a.insertAdjacentHTML,minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j,commonStylesApplyToBlock:Xe,commonStylesApply:Ke,uptimeCountdown:$t,setBlockMaxWidth:ht,setFloatBlocksWidth:Ge,checkBlockAdaptivity:yt,setImageWidth:lt,insertCountdown:at,_setDocumentStyles:a.setDocumentStyles,applicationElementSettingsSet:de,mutableState:{atomReplaced:nt}})}catch{}else if(document.body.classList.contains("em-atom-insert-body")||document.body.classList.contains("em-atom-insert-body-inside"))try{Wn(m,{messageService:a.messageService,isJsonString:a.isJsonString,getOuterHtml:a.getOuterHtml,minify:a.minifyStylesheet,cssbeautify,HTMLDocument:j,_setDocumentStyles:a.setDocumentStyles,commonStylesApply:Ke,commonStylesApplyToBlock:Xe,setImageWidth:lt,setFloatBlocksWidth:Ge,insertCountdown:at,mutableState:{atomReplaced:nt}})}catch{}return oo(),q(),!1}finally{Promise.resolve().then(()=>{a.state.decrement("activeElementLocked"),document.querySelector(".em-just-inserted")&&(de({elem:document.querySelector(".em-just-inserted")}),document.querySelector(".em-just-inserted")?.classList.remove("em-just-inserted"),q(),setTimeout(()=>{a.messageService.send({operation:"application_open-image-ai-popup"})},1e3))})}},!1),document.addEventListener("dragend",function(m){Vl(m,{lockEditor:a.state.get("lockEditor"),messageService:a.messageService})},!1),a.initResizer({applicationElementSettingsSet:m=>de(m),setCursorPosition:m=>be(m),commit:m=>q(m)}),document.addEventListener("contextmenu",m=>{pn=!!m.target?.nodeName}),document.addEventListener("paste",m=>{pn&&Fr(m,!1,a.state.get("commonStyles"),ki,q)}),document.addEventListener("click",()=>a.messageService.send({operation:"application_focus_in_iframe"}))}var sg="__emmDiagnostics__",cg="diagnostics";function dg(){try{const e=new URLSearchParams(window.location.search).get(cg);return e!==null&&e!=="0"}catch{return!1}}function Cn(e){try{window.parent.postMessage({mark:sg,...e},"*")}catch{}}function mg(){const e=window.performance.getEntriesByType("resource").map(o=>{const t=o;return{name:t.name,initiatorType:t.initiatorType,startTime:t.startTime,responseEnd:t.responseEnd,transferSize:t.transferSize,decodedBodySize:t.decodedBodySize}});Cn({type:"resources",timeOrigin:window.performance.timeOrigin,items:e})}function Et(){return window.performance.timeOrigin+window.performance.now()}function ug(){return Array.from(document.images).every(e=>e.complete)}function fg(e,o){const n=window.setInterval(()=>{!ug()||Et()-e()<500||(window.clearInterval(n),Cn({type:"settled",at:Math.max(e(),o)}),mg())},100)}function pg(){if(!dg()||typeof MutationObserver!="function")return;let e=!1,o=Et();new MutationObserver(()=>{o=Et(),!e&&(e=!0,window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{const t=Et();Cn({type:"paint",at:t}),fg(()=>o,t)})}))}).observe(document.documentElement,{childList:!0,subtree:!0,characterData:!0}),window.addEventListener("load",()=>{o=Et()}),document.addEventListener("load",()=>{o=Et()},!0)}var gg=500,bg=300,zt,So=!1;function Ni(){if(So)return;So=!0;let e=!1;const o=window.setTimeout(()=>{e||(e=!0,zt=!1,So=!1)},bg);window.requestAnimationFrame(()=>{e||(e=!0,window.clearTimeout(o),zt=!0,So=!1)})}function hg(){return zt===!1?(Ni(),Promise.resolve()):new Promise(e=>{let o=!1;const t=()=>{o||(o=!0,e())},n=window.setTimeout(()=>{zt=!1,t()},gg);window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{window.clearTimeout(n),zt=!0,t()})})})}var yg=1;function Eg(){Ni();const e=async(o,t)=>{await t?.(o),await hg()};a.messageService.addListenerAsync(a.EVENT_TYPES.SANDBOX_INITED,e,yg)}var Sg=16;function Bi(e,o){return o===WheelEvent.DOM_DELTA_LINE?e*Sg:o===WheelEvent.DOM_DELTA_PAGE?e*window.innerHeight:e}function Cg(){let e=0,o=0,t=!1;const n=()=>{t=!1;const r=e,i=o;e=0,o=0,!(r===0&&i===0)&&a.messageService.send(a.EVENT_TYPES.SANDBOX_WHEEL,{deltaX:r,deltaY:i})};window.addEventListener("wheel",r=>{r.ctrlKey||(e+=Bi(r.deltaX,r.deltaMode),o+=Bi(r.deltaY,r.deltaMode),t||(t=!0,window.requestAnimationFrame(n)))},{passive:!0})}pg(),ag(),Eg(),Cg()});
|