UNPKG

@salesforce-ux/design-system

Version:
1 lines 24.2 kB
var SLDS;!function(){"use strict";var e,t={511:function(e,t,l){l.r(t),l.d(t,{Demo:function(){return R},default:function(){return M},examples:function(){return U},states:function(){return G}});var n=l(1594),a=l.n(n),r=l(4187),i=l.n(r),s=l(942),o=l.n(s),d=l(4216),c=l(1412),u=l(6955),m=l(8347),b=l(5159),E=l(3964),p=l(6185),x=(l(5786),l(538)),f=l(2711),h=(l(5526),l(806));function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var l=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var n,a,r,i,s=[],o=!0,d=!1;try{if(r=(l=l.call(e)).next,0===t){if(Object(l)!==l)return;o=!1}else for(;!(o=(n=r.call(l)).done)&&(s.push(n.value),s.length!==t);o=!0);}catch(e){d=!0,a=e}finally{try{if(!o&&null!=l.return&&(i=l.return(),Object(i)!==i))return}finally{if(d)throw a}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var l={}.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?v(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,n=Array(t);l<t;l++)n[l]=e[l];return n}var y="rich-text-editor-unique-id-01",_=function(e){return a().createElement(f.ZS,{labelId:e.labelId,labelContent:e.label,inlineMessage:e.inlineMessage,hasError:e.hasError,errorId:e.errorId,hasFauxLabel:!0},a().createElement("div",{className:o()("slds-rich-text-editor slds-grid slds-grid_vertical slds-nowrap",e.isToolbarOnly&&"slds-rich-text-editor_toolbar-only",e.className),"aria-label":e.disabledLabel},e.children))};_.propTypes={children:i().node.isRequired,errorId:i().string,hasError:i().bool,inlineMessage:i().string,labelContent:i().string,labelId:i().string};var N=function(e){return a().createElement("div",{role:"toolbar","aria-label":e.disabledLabel,className:o()("slds-rich-text-editor__toolbar slds-shrink-none",e.isToolbarOnly&&"slds-rich-text-editor__toolbar_detached",e.className)},e.children)},I=function(e){var t=e.listboxData,l=e.id;return a().createElement(p.Ay,{id:l,snapshot:t,type:"plain",count:3,hideIcons:!0,className:"slds-dropdown_fluid slds-dropdown_left"})};I.propTypes={listboxData:i().object.isRequired,id:i().string};var w=function(e){var t=e.listboxData,l=e.id;return a().createElement(p.Ay,{id:l,snapshot:t,type:"plain",count:6,hideIcons:!0,className:"slds-dropdown_fluid slds-dropdown_left"})};w.propTypes={listboxData:i().object.isRequired,id:i().string};var T=function(e){var t=g((0,n.useState)(h.Ay.uniqueId("example-unique-id-")),1)[0],l=g((0,n.useState)(h.Ay.uniqueId("example-unique-id-")),1)[0],r=g((0,n.useState)(h.Ay.uniqueId("example-unique-id-")),1)[0],i=g((0,n.useState)(h.Ay.uniqueId("example-unique-id-")),1)[0];return a().createElement("div",{className:"slds-grid slds-rich-text-editor__spacing-wrapper",role:"group","aria-label":"Format font family & size"},a().createElement("div",{className:"slds-rich-text-editor__select"},a().createElement(b.Ay,{id:t,"aria-controls":l,label:"Choose a Font",hideLabel:!0,inputContainerClassName:"slds-rich-text-editor__select_x-small",inputIconPosition:"right",rightInputIcon:a().createElement(x.UtilityIcon,{symbol:"down",className:"slds-icon slds-icon_x-small slds-icon-text-default",containerClassName:"slds-input__icon slds-input__icon_right",assistiveText:!1,title:!1}),results:a().createElement(I,{listboxData:E.kz,id:l}),resultsType:"listbox",hasInteractions:!0,selectOnly:!0,value:"Font"})),a().createElement("div",{className:"slds-rich-text-editor__select"},a().createElement(b.Ay,{id:r,"aria-controls":i,label:"Choose a Font Size",hideLabel:!0,inputContainerClassName:"slds-rich-text-editor__select_xx-small",inputIconPosition:"right",rightInputIcon:a().createElement(x.UtilityIcon,{symbol:"down",className:"slds-icon slds-icon_x-small slds-icon-text-default",containerClassName:"slds-input__icon slds-input__icon_right",assistiveText:!1,title:!1}),results:a().createElement(w,{listboxData:E.TU,id:i}),resultsType:"listbox",hasInteractions:!0,selectOnly:!0,value:"Size",tabIndex:"-1"})))},L=function(e){return a().createElement(c.ButtonGroupList,{"aria-label":"Format text"},a().createElement("li",null,a().createElement(u.A,{className:"slds-button_icon-border-filled",symbol:"bold",tabIndex:e.tabIndexSetting,"aria-describedby":e.hasTooltip?"bold":null,disabled:e.disabledButtons,assistiveText:"Bold"})),a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"italic",disabled:e.disabledButtons,assistiveText:"Italic"})),a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"underline",disabled:e.disabledButtons,assistiveText:"Underline"})),a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"strikethrough",disabled:e.disabledButtons,assistiveText:"Strike Through"})))},S=function(e){return a().createElement(c.ButtonGroupList,{"aria-label":"Format background & text color"},a().createElement("li",null,a().createElement("button",{tabIndex:"-1",disabled:e.disabledButtons,className:"slds-button slds-button_icon slds-button_icon-more slds-button_icon-more-filled","aria-haspopup":"true"},a().createElement(m.A,{className:"slds-button__icon",sprite:"utility",symbol:"text_background_color"}),a().createElement(m.A,{className:"slds-button__icon slds-button__icon_x-small",sprite:"utility",symbol:"down"}),a().createElement("span",{className:"slds-assistive-text"},"Background Color"))),a().createElement("li",null,a().createElement("button",{tabIndex:"-1",disabled:e.disabledButtons,className:"slds-button slds-button_icon slds-button_icon-more slds-button_icon-more-filled","aria-haspopup":"true"},a().createElement(m.A,{className:"slds-button__icon",sprite:"utility",symbol:"text_color"}),a().createElement(m.A,{className:"slds-button__icon slds-button__icon_x-small",sprite:"utility",symbol:"down"}),a().createElement("span",{className:"slds-assistive-text"},"Text Color"))))},q=function(e){return a().createElement(c.ButtonGroupList,{"aria-label":"Format body"},a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"richtextbulletedlist",disabled:e.disabledButtons,assistiveText:"Bulleted List"})),a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"richtextnumberedlist",disabled:e.disabledButtons,assistiveText:"Numbered List"})),a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"richtextindent",disabled:e.disabledButtons,assistiveText:"Indent"})),a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"richtextoutdent",disabled:e.disabledButtons,assistiveText:"Outdent"})))},j=function(e){return a().createElement(c.ButtonGroupList,{"aria-label":"Align text"},a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"left_align_text",disabled:e.disabledButtons,assistiveText:"Left Align Text"})),a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"center_align_text",disabled:e.disabledButtons,assistiveText:"Center Align Text"})),a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"right_align_text",disabled:e.disabledButtons,assistiveText:"Right Align Text"})))},O=function(e){return a().createElement(c.ButtonGroupList,{role:e.overflow?"presentation":null,"aria-label":e.overflow?null:"Insert content"},a().createElement("li",{role:e.overflow?"presentation":null},a().createElement(u.A,{role:e.overflow?"menuitem":null,tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"emoji",disabled:e.disabledButtons,assistiveText:"Add Emoji"})),a().createElement("li",{role:e.overflow?"presentation":null},a().createElement(u.A,{role:e.overflow?"menuitem":null,tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"image",disabled:e.disabledButtons,assistiveText:"Add Image"})),a().createElement("li",{role:e.overflow?"presentation":null},a().createElement(u.A,{role:e.overflow?"menuitem":null,tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"link",disabled:e.disabledButtons,assistiveText:"Add Link"})))},A=function(e){return a().createElement(c.ButtonGroupList,{"aria-label":"Add user"},a().createElement("li",null,a().createElement(u.A,{tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"adduser",disabled:e.disabledButtons,assistiveText:"Add User"})))},B=function(e){return a().createElement(c.ButtonGroupList,{role:e.overflow?"presentation":null,"aria-label":e.overflow?null:"Remove Formatting"},a().createElement("li",{role:e.overflow?"presentation":null},a().createElement(u.A,{role:e.overflow?"menuitem":null,tabIndex:"-1",className:"slds-button_icon-border-filled",symbol:"remove_formatting",disabled:e.disabledButtons,assistiveText:"Remove Formatting"})))},C=function(e){return a().createElement("div",{className:o()(e.text?"slds-rich-text-editor__output":"slds-rich-text-editor__textarea","slds-grid")},e.text?a().createElement("div",{"aria-describedby":e["aria-describedby"],"aria-label":e.labelId?null:"Compose text","aria-labelledby":e.labelId,contentEditable:e.disabled?null:"true",suppressContentEditableWarning:!0,className:"slds-rich-text-area__content slds-grow"},e.text):a().createElement("div",{"aria-describedby":e["aria-describedby"],"aria-label":e.labelId?null:e.label||"Compose text","aria-labelledby":e.labelId,contentEditable:e.disabled?null:"true",suppressContentEditableWarning:!0,className:"slds-rich-text-area__content slds-text-color_weak slds-grow"},e.placeholder))};function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)({}).hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e},k.apply(null,arguments)}var R=function(e){return a().createElement("div",k({className:o()("demo-only",e.className),style:{minHeight:"180px"}},e),e.children)};R.propTypes={children:i().node,className:i().string};var D=function(e){return a().createElement("div",null,a().createElement("h1",null,"Heading - h1"),a().createElement("p",null,"Lorem ipsum dolor sit amet, ",a().createElement("strong",null,"strong")," adipisicing elit, sed do ",a().createElement("em",null,"emphasis")," tempor incididunt ut ",a().createElement("u",null,"underlined")," et dolore"," ",a().createElement("s",null,"strikethrough")," aliqua. Ut ",a().createElement("sub",null,"subscript")," ad"," ",a().createElement("sup",null,"superscript")," veniam, ",a().createElement("abbr",null,"quis")," nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in ",a().createElement("a",{href:"#"},"link")," in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."),a().createElement("h2",null,"Heading - h2"),a().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod"," ",a().createElement("a",{href:"#"},"veryVeryLongWordWithHyperlinkExample")," tempor incididunt ut labore et dolore magna aliqua."),a().createElement("ul",null,a().createElement("li",null,"Unordered list item",a().createElement("ul",null,a().createElement("li",null,"Nested Unordered list item",a().createElement("ol",null,a().createElement("li",null,"Nested Ordered list item"),a().createElement("li",null,"Nested Ordered list item"))),a().createElement("li",null,"Nested Unordered list item",a().createElement("ul",null,a().createElement("li",null,"Nested Unordered list item"),a().createElement("li",null,"Nested Unordered list item"))))),a().createElement("li",null,"Unordered list item",a().createElement("ol",null,a().createElement("li",null,"Nested Ordered list item"),a().createElement("li",null,"Nested Ordered list item"))),a().createElement("li",null,"Unordered list item")),a().createElement("h3",null,"Heading - h3"),a().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."),a().createElement("ol",null,a().createElement("li",null,"Ordered list item",a().createElement("ul",null,a().createElement("li",null,"Nested Unordered list item",a().createElement("ol",null,a().createElement("li",null,"Nested Ordered list item"),a().createElement("li",null,"Nested Ordered list item"))),a().createElement("li",null,"Nested Unordered list item",a().createElement("ul",null,a().createElement("li",null,"Nested Unordered list item"),a().createElement("li",null,"Nested Unordered list item"))))),a().createElement("li",null,"Ordered list item",a().createElement("ol",null,a().createElement("li",null,"Nested Ordered list item",a().createElement("ol",null,a().createElement("li",null,"Nested Ordered list item",a().createElement("ol",null,a().createElement("li",null,"Nested Ordered list item"),a().createElement("li",null,"Nested Ordered list item"))),a().createElement("li",null,"Nested Ordered list item"))),a().createElement("li",null,"Nested Ordered list item"))),a().createElement("li",null,"Ordered list item")),a().createElement("ul",null,a().createElement("li",null,a().createElement("div",null,"List Item with div")),a().createElement("li",null,a().createElement("div",null,"List Item with div"))),a().createElement("ol",null,a().createElement("li",null,a().createElement("div",null,"List Item with div")),a().createElement("li",null,a().createElement("div",null,"List Item with div"))),a().createElement("h4",null,"Heading - h4"),a().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."),a().createElement("dl",null,a().createElement("dt",null,"Description List - Term"),a().createElement("dd",null,"Description List - Description"),a().createElement("dt",null,"Description List - Term"),a().createElement("dd",null,"Description List - Description")),a().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."),a().createElement("table",null,a().createElement("thead",null,a().createElement("tr",null,a().createElement("th",null,"Column"),a().createElement("th",null,"Column"))),a().createElement("tbody",null,a().createElement("tr",null,a().createElement("td",null,"Row"),a().createElement("td",null,"Row")),a().createElement("tr",null,a().createElement("td",null,"Row"),a().createElement("td",null,"Row")))),a().createElement("h5",null,"Heading - h5"),a().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."),a().createElement("blockquote",null,"Blockquote - incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation"),a().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."),a().createElement("h6",null,"Heading - h6"),a().createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,"," ",a().createElement("a",{href:"#"},"https://url.com/document/d/1dSOGKlCQtSG73NcSJB7qCJVyjE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/edE52MdTjvjGNqc3L2Rw/ed")," ","quis nostrud ",a().createElement("ins",null,"Content to be inserted.")," exercitation ullamco"," ",a().createElement("del",null,"Content to be deleted.")," laboris nisi ut aliquip ex ea commodo consequat."))},M=[{id:"default",label:"Default",element:a().createElement(R,null,a().createElement(_,null,a().createElement(N,null,a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null),a().createElement(B,null)),a().createElement(C,{placeholder:"Compose text..."})))}],G=[{id:"focused",label:"Focused",element:a().createElement(R,null,a().createElement(_,{className:"slds-has-focus"},a().createElement(N,null,a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null),a().createElement(B,null)),a().createElement(C,{placeholder:"Compose text..."})))},{id:"filled-out",label:"Filled Out",element:a().createElement(R,null,a().createElement(_,null,a().createElement(N,null,a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null),a().createElement(B,null)),a().createElement(C,{text:a().createElement(D,null)})))},{id:"error",label:"Error",element:a().createElement(R,null,a().createElement(_,{className:"slds-has-error",inlineMessage:"This field is required",hasError:!0,errorId:"rte-error-01"},a().createElement(N,null,a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null),a().createElement(B,null)),a().createElement(C,{placeholder:"Compose text...","aria-describedby":"rte-error-01"})))},{id:"disabled",label:"Disabled",element:a().createElement(R,null,a().createElement(_,{disabledLabel:"disabled"},a().createElement(N,{disabledButtons:!0,disabledLabel:"disabled"},a().createElement(L,{tabIndexSetting:"0",disabledButtons:!0}),a().createElement(q,{disabledButtons:!0}),a().createElement(B,{disabledButtons:!0})),a().createElement(C,{placeholder:"Compose text...",disabled:!0})))},{id:"tooltip",label:"Tooltip",element:a().createElement(R,null,a().createElement(_,null,a().createElement(N,null,a().createElement(L,{tabIndexSetting:"0",hasTooltip:!0}),a().createElement(q,null),a().createElement(B,null)),a().createElement(C,{placeholder:"Compose text..."}),a().createElement(d.Tooltip,{className:"slds-nubbin_top-left",id:"bold",style:{position:"absolute",top:"48px",left:"2px"}},"Bold ",a().createElement("kbd",null,"cmd+b"))))},{id:"toolbar-only",label:"Toolbar Only",element:a().createElement(R,null,a().createElement(_,{isToolbarOnly:!0},a().createElement(N,{isToolbarOnly:!0},a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null))))}],U=[{id:"bottom-toolbar",label:"Bottom toolbar",element:a().createElement(R,null,a().createElement(_,null,a().createElement(C,{placeholder:"Compose text..."}),a().createElement(N,{className:"slds-rich-text-editor__toolbar_bottom"},a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null),a().createElement(B,null))))},{id:"with-label",label:"With a Label",element:a().createElement(R,null,a().createElement(_,{label:"Details and Steps to Reproduce",labelId:y},a().createElement(N,null,a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null),a().createElement(B,null)),a().createElement(C,{placeholder:"Compose text...",labelId:y})))},{id:"email",label:"Email",element:a().createElement(R,null,a().createElement(_,null,a().createElement(N,null,a().createElement(T,null),a().createElement(L,{tabIndexSetting:"-1"}),a().createElement(S,null),a().createElement(q,null),a().createElement(j,null),a().createElement(O,null),a().createElement(B,null)),a().createElement(C,{label:"Compose email",placeholder:"Compose Email..."})))},{id:"toolbar-narrow",label:"Toolbar Narrow",element:a().createElement(R,{style:{width:"294px"},className:"slds-region_narrow"},a().createElement(_,null,a().createElement(N,null,a().createElement(T,null),a().createElement(L,{tabIndexSetting:"-1"}),a().createElement(S,null),a().createElement(q,null),a().createElement(j,null),a().createElement(O,null),a().createElement(B,null)),a().createElement(C,{label:"Compose email",placeholder:"Compose Email..."})))},{id:"feed",label:"Feed",element:a().createElement(R,null,a().createElement(_,null,a().createElement(N,null,a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null),a().createElement(j,null),a().createElement(O,null),a().createElement(A,null),a().createElement(B,null)),a().createElement(C,{label:"Post to feed",placeholder:"Post to feed..."})))},{id:"note",label:"Notes",element:a().createElement(R,null,a().createElement(_,null,a().createElement(N,null,a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null),a().createElement(O,null),a().createElement(B,null)),a().createElement(C,{label:"Compose note",placeholder:"Compose Note..."})))},{id:"styling-hooks-rte-min-height",label:"Styling Hooks - Base (Min Height)",demoStyles:"\n --sds-c-textarea-sizing-min-height: 3rem;\n ",storybookStyles:!0,element:a().createElement(R,null,a().createElement(_,null,a().createElement(N,null,a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null),a().createElement(B,null)),a().createElement(C,{placeholder:"Compose text..."})))},{id:"styling-hooks-rte-max-height",label:"Styling Hooks - Base (Max Height)",demoStyles:"\n --sds-c-textarea-sizing-max-height: 10rem;\n ",storybookStyles:!0,element:a().createElement(R,null,a().createElement(_,null,a().createElement(N,null,a().createElement(L,{tabIndexSetting:"0"}),a().createElement(q,null),a().createElement(B,null)),a().createElement(C,{text:a().createElement(D,null)})))}]},1594:function(e){e.exports=React}},l={};function n(e){var a=l[e];if(void 0!==a)return a.exports;var r=l[e]={exports:{}};return t[e](r,r.exports,n),r.exports}n.m=t,n.amdO={},e=[],n.O=function(t,l,a,r){if(!l){var i=1/0;for(c=0;c<e.length;c++){l=e[c][0],a=e[c][1],r=e[c][2];for(var s=!0,o=0;o<l.length;o++)(!1&r||i>=r)&&Object.keys(n.O).every(function(e){return n.O[e](l[o])})?l.splice(o--,1):(s=!1,r<i&&(i=r));if(s){e.splice(c--,1);var d=a();void 0!==d&&(t=d)}}return t}r=r||0;for(var c=e.length;c>0&&e[c-1][2]>r;c--)e[c]=e[c-1];e[c]=[l,a,r]},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var l in t)n.o(t,l)&&!n.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:t[l]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=5392,function(){var e={518:0,1117:0,1252:0,1578:0,1974:0,2033:0,2274:0,2782:0,3140:0,4268:0,4583:0,4723:0,4924:0,5392:0,6671:0,7217:0,7257:0,7385:0,7508:0,8167:0,8458:0};n.O.j=function(t){return 0===e[t]};var t=function(t,l){var a,r,i=l[0],s=l[1],o=l[2],d=0;if(i.some(function(t){return 0!==e[t]})){for(a in s)n.o(s,a)&&(n.m[a]=s[a]);if(o)var c=o(n)}for(t&&t(l);d<i.length;d++)r=i[d],n.o(e,r)&&e[r]&&e[r][0](),e[r]=0;return n.O(c)},l=self.webpackJsonpSLDS___internal_chunked_showcase=self.webpackJsonpSLDS___internal_chunked_showcase||[];l.forEach(t.bind(null,0)),l.push=t.bind(null,l.push.bind(l))}(),n.nc=void 0;var a=n.O(void 0,[6790],function(){return n(511)});a=n.O(a),(SLDS=void 0===SLDS?{}:SLDS)["__internal/chunked/showcase/./ui/components/rich-text-editor/base/example.jsx.js"]=a}();