{"version":3,"sources":["jsdelivr-header.js","/npm/wix-rich-content-editor-common@10.102.0/src/index.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,y8EC0BO,MAAM,gBAAqC,MAChD,MAAO,CACL,CACE,KAAM,YACN,GAAI,MACJ,MAAO,GACP,cAAe,CACb,UAAW,CACT,cAAe,QAEjB,YAAa,KAInB,SAAU,CACR,QAAS,EACT,iBAAkB,2BAClB,iBAAkB,2BAClB,GAAI,WAEN,cAAe,K","file":"/npm/wix-rich-content-editor-common@10.102.0/dist/cjs/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/wix-rich-content-editor-common@10.102.0/dist/cjs/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","import type { Node_Type, RichContent, TextStyle_TextAlignment } from 'ricos-schema';\n\nimport * as browser from './browser';\n\n/* eslint-disable no-duplicate-imports */\nexport * from './Icons';\n\n// Components\nexport { default as InlineToolbarButton } from './Components/InlineToolbarButton';\nexport { default as RicosPortal } from './Components/RicosPortal';\nexport { default as ToolbarButton } from './Components/ToolbarButton';\n\n//Utils\nexport {\n  BUTTON_TYPES,\n  CHARACTERS,\n  DISPLAY_MODE,\n  FORMATTING_BUTTONS,\n  INSERT_PLUGIN_BUTTONS,\n  KEYS_CHARCODE,\n  MODIFIERS,\n  RICOS_TIPTAP_EDITOR_DATA_HOOK,\n  TEXT_TYPES,\n  TOOLBARS,\n} from './consts';\nexport { default as decorateComponentWithProps } from './Utils/decorateComponentWithProps';\nexport { isiOS } from './Utils/isiOS';\nexport { mergeToolbarSettings } from './Utils/mergeToolbarSettings';\nexport { isTextSelection } from './Utils/tiptap/isTextSelection';\n\nimport { v4 as uuid } from 'uuid';\n\nexport const getEmptyContent: () => RichContent = () => ({\n  nodes: [\n    {\n      type: 'PARAGRAPH' as Node_Type,\n      id: 'foo',\n      nodes: [],\n      paragraphData: {\n        textStyle: {\n          textAlignment: 'AUTO' as TextStyle_TextAlignment,\n        },\n        indentation: 0,\n      },\n    },\n  ],\n  metadata: {\n    version: 1,\n    createdTimestamp: '2022-12-19T17:56:18.279Z' as unknown as Date,\n    updatedTimestamp: '2022-12-19T17:56:18.279Z' as unknown as Date,\n    id: uuid(),\n  },\n  documentStyle: {},\n});\n\nexport { PLUGIN_TOOLBAR_BUTTON_ID } from './pluginToolbarButtonsIds';\nexport { browser };\n\n// TypeScript utilities\nexport { unreachable } from './Utils/tsUtils';\n"]}