| | |
| | | }, |
| | | "dependencies": { |
| | | "@riophae/vue-treeselect": "0.4.0", |
| | | "@tinymce/tinymce-vue": "^3.0.1", |
| | | "axios": "0.24.0", |
| | | "clipboard": "2.0.8", |
| | | "core-js": "3.25.3", |
| | |
| | | "quill": "1.3.7", |
| | | "screenfull": "5.0.2", |
| | | "sortablejs": "1.10.2", |
| | | "tinymce": "^5.1.0", |
| | | "vue": "2.6.12", |
| | | "vue-count-to": "1.0.13", |
| | | "vue-cropper": "0.5.5", |
New file |
| | |
| | | tinymce.addI18n("zh_CN",{"#":"#","Accessibility":"\u8f85\u52a9\u529f\u80fd","Accordion":"","Accordion body...":"","Accordion summary...":"","Action":"\u52a8\u4f5c","Activity":"\u6d3b\u52a8","Address":"\u5730\u5740","Advanced":"\u9ad8\u7ea7","Align":"\u5bf9\u9f50","Align center":"\u5c45\u4e2d\u5bf9\u9f50","Align left":"\u5de6\u5bf9\u9f50","Align right":"\u53f3\u5bf9\u9f50","Alignment":"\u5bf9\u9f50","Alignment {0}":"","All":"\u5168\u90e8","Alternative description":"\u66ff\u4ee3\u63cf\u8ff0","Alternative source":"\u955c\u50cf","Alternative source URL":"\u66ff\u4ee3\u6765\u6e90\u7f51\u5740","Anchor":"\u951a\u70b9","Anchor...":"\u951a\u70b9...","Anchors":"\u951a\u70b9","Animals and Nature":"\u52a8\u7269\u548c\u81ea\u7136","Arrows":"\u7bad\u5934","B":"B","Background color":"\u80cc\u666f\u989c\u8272","Background color {0}":"","Black":"\u9ed1\u8272","Block":"\u5757","Block {0}":"","Blockquote":"\u5f15\u6587\u533a\u5757","Blocks":"\u6837\u5f0f","Blue":"\u84dd\u8272","Blue component":"\u767d\u8272\u90e8\u5206","Body":"\u8868\u4f53","Bold":"\u7c97\u4f53","Border":"\u6846\u7ebf","Border color":"\u6846\u7ebf\u989c\u8272","Border style":"\u8fb9\u6846\u6837\u5f0f","Border width":"\u8fb9\u6846\u5bbd\u5ea6","Bottom":"\u4e0b\u65b9\u5bf9\u9f50","Browse files":"","Browse for an image":"\u6d4f\u89c8\u56fe\u50cf","Browse links":"","Bullet list":"\u65e0\u5e8f\u5217\u8868","Cancel":"\u53d6\u6d88","Caption":"\u6807\u9898","Cell":"\u5355\u5143\u683c","Cell padding":"\u5355\u5143\u683c\u5185\u8fb9\u8ddd","Cell properties":"\u5355\u5143\u683c\u5c5e\u6027","Cell spacing":"\u5355\u5143\u683c\u5916\u95f4\u8ddd","Cell styles":"\u5355\u5143\u683c\u6837\u5f0f","Cell type":"\u50a8\u5b58\u683c\u522b","Center":"\u5c45\u4e2d","Characters":"\u5b57\u7b26","Characters (no spaces)":"\u5b57\u7b26(\u65e0\u7a7a\u683c)","Circle":"\u7a7a\u5fc3\u5706","Class":"\u7c7b\u578b","Clear formatting":"\u6e05\u9664\u683c\u5f0f","Close":"\u5173\u95ed","Code":"\u4ee3\u7801","Code sample...":"\u793a\u4f8b\u4ee3\u7801...","Code view":"\u4ee3\u7801\u89c6\u56fe","Color Picker":"\u9009\u8272\u5668","Color swatch":"\u989c\u8272\u6837\u672c","Cols":"\u5217","Column":"\u5217","Column clipboard actions":"\u5217\u526a\u8d34\u677f\u64cd\u4f5c","Column group":"\u5217\u7ec4","Column header":"\u5217\u6807\u9898","Constrain proportions":"\u4fdd\u6301\u6bd4\u4f8b","Copy":"\u590d\u5236","Copy column":"\u590d\u5236\u5217","Copy row":"\u590d\u5236\u884c","Could not find the specified string.":"\u672a\u627e\u5230\u641c\u7d22\u5185\u5bb9\u3002","Could not load emojis":"\u65e0\u6cd5\u52a0\u8f7dEmojis","Count":"\u8ba1\u6570","Currency":"\u8d27\u5e01","Current window":"\u5f53\u524d\u7a97\u53e3","Custom color":"\u81ea\u5b9a\u4e49\u989c\u8272","Custom...":"\u81ea\u5b9a\u4e49......","Cut":"\u526a\u5207","Cut column":"\u526a\u5207\u5217","Cut row":"\u526a\u5207\u884c","Dark Blue":"\u6df1\u84dd\u8272","Dark Gray":"\u6df1\u7070\u8272","Dark Green":"\u6df1\u7eff\u8272","Dark Orange":"\u6df1\u6a59\u8272","Dark Purple":"\u6df1\u7d2b\u8272","Dark Red":"\u6df1\u7ea2\u8272","Dark Turquoise":"\u6df1\u84dd\u7eff\u8272","Dark Yellow":"\u6697\u9ec4\u8272","Dashed":"\u865a\u7ebf","Date/time":"\u65e5\u671f/\u65f6\u95f4","Decrease indent":"\u51cf\u5c11\u7f29\u8fdb","Default":"\u9884\u8bbe","Delete accordion":"","Delete column":"\u5220\u9664\u5217","Delete row":"\u5220\u9664\u884c","Delete table":"\u5220\u9664\u8868\u683c","Dimensions":"\u5c3a\u5bf8","Disc":"\u5b9e\u5fc3\u5706","Div":"Div","Document":"\u6587\u6863","Dotted":"\u865a\u7ebf","Double":"\u53cc\u7cbe\u5ea6","Drop an image here":"\u62d6\u653e\u4e00\u5f20\u56fe\u50cf\u81f3\u6b64","Dropped file type is not supported":"\u6b64\u6587\u4ef6\u7c7b\u578b\u4e0d\u652f\u6301\u62d6\u653e","Edit":"\u7f16\u8f91","Embed":"\u5185\u5d4c","Emojis":"Emojis","Emojis...":"Emojis...","Error":"\u9519\u8bef","Error: Form submit field collision.":"\u9519\u8bef: \u8868\u5355\u63d0\u4ea4\u5b57\u6bb5\u51b2\u7a81\u3002","Error: No form element found.":"\u9519\u8bef: \u6ca1\u6709\u8868\u5355\u63a7\u4ef6\u3002","Extended Latin":"\u62c9\u4e01\u8bed\u6269\u5145","Failed to initialize plugin: {0}":"\u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25: {0}","Failed to load plugin url: {0}":"\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25 \u94fe\u63a5: {0}","Failed to load plugin: {0} from url {1}":"\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25: {0} \u6765\u81ea\u94fe\u63a5 {1}","Failed to upload image: {0}":"\u56fe\u7247\u4e0a\u4f20\u5931\u8d25: {0}","File":"\u6587\u4ef6","Find":"\u5bfb\u627e","Find (if searchreplace plugin activated)":"\u67e5\u627e(\u5982\u679c\u67e5\u627e\u66ff\u6362\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Find and Replace":"\u67e5\u627e\u548c\u66ff\u6362","Find and replace...":"\u67e5\u627e\u5e76\u66ff\u6362...","Find in selection":"\u5728\u9009\u533a\u4e2d\u67e5\u627e","Find whole words only":"\u5168\u5b57\u5339\u914d","Flags":"\u65d7\u5e1c","Focus to contextual toolbar":"\u79fb\u52a8\u7126\u70b9\u5230\u4e0a\u4e0b\u6587\u83dc\u5355","Focus to element path":"\u79fb\u52a8\u7126\u70b9\u5230\u5143\u7d20\u8def\u5f84","Focus to menubar":"\u79fb\u52a8\u7126\u70b9\u5230\u83dc\u5355\u680f","Focus to toolbar":"\u79fb\u52a8\u7126\u70b9\u5230\u5de5\u5177\u680f","Font":"\u5b57\u4f53","Font size {0}":"","Font sizes":"\u5b57\u4f53\u5927\u5c0f","Font {0}":"","Fonts":"\u5b57\u4f53","Food and Drink":"\u98df\u7269\u548c\u996e\u54c1","Footer":"\u8868\u5c3e","Format":"\u683c\u5f0f","Format {0}":"","Formats":"\u683c\u5f0f","Fullscreen":"\u5168\u5c4f","G":"G","General":"\u4e00\u822c","Gray":"\u7070\u8272","Green":"\u7eff\u8272","Green component":"\u7eff\u8272\u90e8\u5206","Groove":"\u51f9\u69fd","Handy Shortcuts":"\u5feb\u6377\u952e","Header":"\u8868\u5934","Header cell":"\u8868\u5934\u5355\u5143\u683c","Heading 1":"\u4e00\u7ea7\u6807\u9898","Heading 2":"\u4e8c\u7ea7\u6807\u9898","Heading 3":"\u4e09\u7ea7\u6807\u9898","Heading 4":"\u56db\u7ea7\u6807\u9898","Heading 5":"\u4e94\u7ea7\u6807\u9898","Heading 6":"\u516d\u7ea7\u6807\u9898","Headings":"\u6807\u9898","Height":"\u9ad8\u5ea6","Help":"\u5e2e\u52a9","Hex color code":"\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801","Hidden":"\u9690\u85cf","Horizontal align":"\u6c34\u5e73\u5bf9\u9f50","Horizontal line":"\u6c34\u5e73\u5206\u5272\u7ebf","Horizontal space":"\u6c34\u5e73\u95f4\u8ddd","ID":"ID","ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.":"ID\u5e94\u8be5\u4ee5\u82f1\u6587\u5b57\u6bcd\u5f00\u5934\uff0c\u540e\u9762\u53ea\u80fd\u6709\u82f1\u6587\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7834\u6298\u53f7\u3001\u70b9\u3001\u5192\u53f7\u6216\u4e0b\u5212\u7ebf\u3002","Image is decorative":"\u56fe\u50cf\u662f\u88c5\u9970\u6027\u7684","Image list":"\u56fe\u7247\u6e05\u5355","Image title":"\u56fe\u7247\u6807\u9898","Image...":"\u56fe\u7247...","ImageProxy HTTP error: Could not find Image Proxy":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u65e0\u6cd5\u627e\u5230\u56fe\u7247\u4ee3\u7406","ImageProxy HTTP error: Incorrect Image Proxy URL":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u56fe\u7247\u4ee3\u7406\u5730\u5740\u9519\u8bef","ImageProxy HTTP error: Rejected request":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u8bf7\u6c42\u88ab\u62d2\u7edd","ImageProxy HTTP error: Unknown ImageProxy error":"\u56fe\u7247\u4ee3\u7406\u8bf7\u6c42\u9519\u8bef\uff1a\u672a\u77e5\u7684\u56fe\u7247\u4ee3\u7406\u9519\u8bef","Increase indent":"\u589e\u52a0\u7f29\u8fdb","Inline":"\u6587\u672c","Insert":"\u63d2\u5165","Insert Template":"\u63d2\u5165\u6a21\u677f","Insert accordion":"","Insert column after":"\u5728\u53f3\u4fa7\u63d2\u5165\u5217","Insert column before":"\u5728\u5de6\u4fa7\u63d2\u5165\u5217","Insert date/time":"\u63d2\u5165\u65e5\u671f/\u65f6\u95f4","Insert image":"\u63d2\u5165\u56fe\u7247","Insert link (if link plugin activated)":"\u63d2\u5165\u94fe\u63a5 (\u5982\u679c\u94fe\u63a5\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Insert row after":"\u5728\u4e0b\u65b9\u63d2\u5165\u884c","Insert row before":"\u5728\u4e0a\u65b9\u63d2\u5165\u884c","Insert table":"\u63d2\u5165\u8868\u683c","Insert template...":"\u63d2\u5165\u6a21\u677f...","Insert video":"\u63d2\u5165\u89c6\u9891","Insert/Edit code sample":"\u63d2\u5165/\u7f16\u8f91\u4ee3\u7801\u793a\u4f8b","Insert/edit image":"\u63d2\u5165/\u7f16\u8f91\u56fe\u7247","Insert/edit link":"\u63d2\u5165/\u7f16\u8f91\u94fe\u63a5","Insert/edit media":"\u63d2\u5165/\u7f16\u8f91\u5a92\u4f53","Insert/edit video":"\u63d2\u5165/\u7f16\u8f91\u89c6\u9891","Inset":"\u5d4c\u5165","Invalid hex color code: {0}":"\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\u65e0\u6548\uff1a {0}","Invalid input":"\u65e0\u6548\u8f93\u5165","Italic":"\u659c\u4f53","Justify":"\u4e24\u7aef\u5bf9\u9f50","Keyboard Navigation":"\u952e\u76d8\u6307\u5f15","Language":"\u8bed\u8a00","Learn more...":"\u4e86\u89e3\u66f4\u591a...","Left":"\u5de6","Left to right":"\u7531\u5de6\u5230\u53f3","Light Blue":"\u6d45\u84dd\u8272","Light Gray":"\u6d45\u7070\u8272","Light Green":"\u6d45\u7eff\u8272","Light Purple":"\u6d45\u7d2b\u8272","Light Red":"\u6d45\u7ea2\u8272","Light Yellow":"\u6d45\u9ec4\u8272","Line height":"\u884c\u9ad8","Link list":"\u94fe\u63a5\u6e05\u5355","Link...":"\u94fe\u63a5...","List Properties":"\u5217\u8868\u5c5e\u6027","List properties...":"\u6807\u9898\u5b57\u4f53\u5c5e\u6027","Loading emojis...":"\u6b63\u5728\u52a0\u8f7dEmojis...","Loading...":"\u52a0\u8f7d\u4e2d...","Lower Alpha":"\u5c0f\u5199\u82f1\u6587\u5b57\u6bcd","Lower Greek":"\u5c0f\u5199\u5e0c\u814a\u5b57\u6bcd","Lower Roman":"\u5c0f\u5199\u7f57\u9a6c\u6570\u5b57","Match case":"\u5927\u5c0f\u5199\u5339\u914d","Mathematical":"\u6570\u5b66","Media poster (Image URL)":"\u5c01\u9762(\u56fe\u7247\u5730\u5740)","Media...":"\u591a\u5a92\u4f53...","Medium Blue":"\u4e2d\u84dd\u8272","Medium Gray":"\u4e2d\u7070\u8272","Medium Purple":"\u4e2d\u7d2b\u8272","Merge cells":"\u5408\u5e76\u5355\u5143\u683c","Middle":"\u5c45\u4e2d\u5bf9\u9f50","Midnight Blue":"\u6df1\u84dd\u8272","More...":"\u66f4\u591a...","Name":"\u540d\u79f0","Navy Blue":"\u6d77\u519b\u84dd","New document":"\u65b0\u5efa\u6587\u6863","New window":"\u65b0\u7a97\u53e3","Next":"\u4e0b\u4e00\u4e2a","No":"\u5426","No alignment":"\u672a\u5bf9\u9f50","No color":"\u65e0","Nonbreaking space":"\u4e0d\u95f4\u65ad\u7a7a\u683c","None":"\u65e0","Numbered list":"\u6709\u5e8f\u5217\u8868","OR":"\u6216","Objects":"\u7269\u4ef6","Ok":"\u786e\u5b9a","Open help dialog":"\u6253\u5f00\u5e2e\u52a9\u5bf9\u8bdd\u6846","Open link":"\u6253\u5f00\u94fe\u63a5","Open link in...":"\u94fe\u63a5\u6253\u5f00\u4f4d\u7f6e...","Open popup menu for split buttons":"\u6253\u5f00\u5f39\u51fa\u5f0f\u83dc\u5355\uff0c\u7528\u4e8e\u62c6\u5206\u6309\u94ae","Orange":"\u6a59\u8272","Outset":"\u5916\u7f6e","Page break":"\u5206\u9875\u7b26","Paragraph":"\u6bb5\u843d","Paste":"\u7c98\u8d34","Paste as text":"\u7c98\u8d34\u4e3a\u6587\u672c","Paste column after":"\u7c98\u8d34\u540e\u9762\u7684\u5217","Paste column before":"\u7c98\u8d34\u6b64\u5217\u524d","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"\u5f53\u524d\u4e3a\u7eaf\u6587\u672c\u7c98\u8d34\u6a21\u5f0f\uff0c\u518d\u6b21\u70b9\u51fb\u53ef\u4ee5\u56de\u5230\u666e\u901a\u7c98\u8d34\u6a21\u5f0f\u3002","Paste or type a link":"\u7c98\u8d34\u6216\u8f93\u5165\u94fe\u63a5","Paste row after":"\u7c98\u8d34\u884c\u5230\u4e0b\u65b9","Paste row before":"\u7c98\u8d34\u884c\u5230\u4e0a\u65b9","Paste your embed code below:":"\u5c06\u5185\u5d4c\u4ee3\u7801\u7c98\u8d34\u5728\u4e0b\u9762:","People":"\u4eba\u7c7b","Plugins":"\u63d2\u4ef6","Plugins installed ({0}):":"\u5df2\u5b89\u88c5\u63d2\u4ef6 ({0}):","Powered by {0}":"\u7531{0}\u9a71\u52a8","Pre":"\u524d\u8a00","Preferences":"\u9996\u9009\u9879","Preformatted":"\u9884\u5148\u683c\u5f0f\u5316\u7684","Premium plugins:":"\u4f18\u79c0\u63d2\u4ef6\uff1a","Press the Up and Down arrow keys to resize the editor.":"","Press the arrow keys to resize the editor.":"","Press {0} for help":"","Preview":"\u9884\u89c8","Previous":"\u4e0a\u4e00\u4e2a","Print":"\u6253\u5370","Print...":"\u6253\u5370...","Purple":"\u7d2b\u8272","Quotations":"\u5f15\u7528","R":"R","Range 0 to 255":"\u8303\u56f40\u81f3255","Red":"\u7ea2\u8272","Red component":"\u7ea2\u8272\u90e8\u5206","Redo":"\u91cd\u505a","Remove":"\u79fb\u9664","Remove color":"\u79fb\u9664\u989c\u8272","Remove link":"\u79fb\u9664\u94fe\u63a5","Replace":"\u66ff\u6362","Replace all":"\u66ff\u6362\u5168\u90e8","Replace with":"\u66ff\u6362\u4e3a","Resize":"\u8c03\u6574\u5927\u5c0f","Restore last draft":"\u6062\u590d\u4e0a\u6b21\u7684\u8349\u7a3f","Reveal or hide additional toolbar items":"","Rich Text Area":"\u5bcc\u6587\u672c\u533a\u57df","Rich Text Area. Press ALT-0 for help.":"\u7f16\u8f91\u533a\u3002\u6309Alt+0\u952e\u6253\u5f00\u5e2e\u52a9\u3002","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"\u7f16\u8f91\u533a\u3002\u6309ALT-F9\u6253\u5f00\u83dc\u5355\uff0c\u6309ALT-F10\u6253\u5f00\u5de5\u5177\u680f\uff0c\u6309ALT-0\u67e5\u770b\u5e2e\u52a9","Ridge":"\u6d77\u810a\u5ea7","Right":"\u53f3","Right to left":"\u7531\u53f3\u5230\u5de6","Row":"\u884c","Row clipboard actions":"\u884c\u526a\u8d34\u677f\u64cd\u4f5c","Row group":"\u884c\u7ec4","Row header":"\u884c\u5934","Row properties":"\u884c\u5c5e\u6027","Row type":"\u884c\u7c7b\u578b","Rows":"\u884c\u6570","Save":"\u4fdd\u5b58","Save (if save plugin activated)":"\u4fdd\u5b58(\u5982\u679c\u4fdd\u5b58\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Scope":"\u8303\u56f4","Search":"\u641c\u7d22","Select all":"\u5168\u9009","Select...":"\u9009\u62e9...","Selection":"\u9009\u62e9","Shortcut":"\u5feb\u6377\u65b9\u5f0f","Show blocks":"\u663e\u793a\u533a\u5757\u8fb9\u6846","Show caption":"\u663e\u793a\u6807\u9898","Show invisible characters":"\u663e\u793a\u4e0d\u53ef\u89c1\u5b57\u7b26","Size":"\u5b57\u53f7","Solid":"\u5b9e\u7ebf","Source":"\u6e90","Source code":"\u6e90\u4ee3\u7801","Special Character":"\u7279\u6b8a\u5b57\u7b26","Special character...":"\u7279\u6b8a\u5b57\u7b26...","Split cell":"\u62c6\u5206\u5355\u5143\u683c","Square":"\u5b9e\u5fc3\u65b9\u5757","Start list at number":"\u4ee5\u6570\u5b57\u5f00\u59cb\u5217\u8868","Strikethrough":"\u5220\u9664\u7ebf","Style":"\u6837\u5f0f","Subscript":"\u4e0b\u6807","Superscript":"\u4e0a\u6807","Switch to or from fullscreen mode":"\u5207\u6362\u5168\u5c4f\u6a21\u5f0f","Symbols":"\u7b26\u53f7","System Font":"\u7cfb\u7edf\u5b57\u4f53","Table":"\u8868\u683c","Table caption":"\u8868\u683c\u6807\u9898","Table properties":"\u8868\u683c\u5c5e\u6027","Table styles":"\u8868\u683c\u6837\u5f0f","Template":"\u6a21\u677f","Templates":"\u6a21\u677f","Text":"\u6587\u5b57","Text color":"\u6587\u672c\u989c\u8272","Text color {0}":"","Text to display":"\u8981\u663e\u793a\u7684\u6587\u672c","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u4e3a\u90ae\u4ef6\u5730\u5740\uff0c\u9700\u8981\u52a0\u4e0amailto: \u524d\u7f00\u5417\uff1f","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u5c5e\u4e8e\u5916\u90e8\u94fe\u63a5\uff0c\u9700\u8981\u52a0\u4e0ahttp:// \u524d\u7f00\u5417\uff1f","The URL you entered seems to be an external link. Do you want to add the required https:// prefix?":"\u60a8\u8f93\u5165\u7684 URL \u4f3c\u4e4e\u662f\u4e00\u4e2a\u5916\u90e8\u94fe\u63a5\u3002\u60a8\u60f3\u6dfb\u52a0\u6240\u9700\u7684 https:// \u524d\u7f00\u5417\uff1f","Title":"\u6807\u9898","To open the popup, press Shift+Enter":"\u6309Shitf+Enter\u952e\u6253\u5f00\u5bf9\u8bdd\u6846","Toggle accordion":"","Tools":"\u5de5\u5177","Top":"\u4e0a\u65b9\u5bf9\u9f50","Travel and Places":"\u65c5\u6e38\u548c\u5730\u70b9","Turquoise":"\u9752\u7eff\u8272","Underline":"\u4e0b\u5212\u7ebf","Undo":"\u64a4\u9500","Upload":"\u4e0a\u4f20","Uploading image":"\u4e0a\u4f20\u56fe\u7247","Upper Alpha":"\u5927\u5199\u82f1\u6587\u5b57\u6bcd","Upper Roman":"\u5927\u5199\u7f57\u9a6c\u6570\u5b57","Url":"\u5730\u5740","User Defined":"\u81ea\u5b9a\u4e49","Valid":"\u6709\u6548","Version":"\u7248\u672c","Vertical align":"\u5782\u76f4\u5bf9\u9f50","Vertical space":"\u5782\u76f4\u95f4\u8ddd","View":"\u67e5\u770b","Visual aids":"\u7f51\u683c\u7ebf","Warn":"\u8b66\u544a","White":"\u767d\u8272","Width":"\u5bbd\u5ea6","Word count":"\u5b57\u6570","Words":"\u5355\u8bcd","Words: {0}":"\u5b57\u6570\uff1a{0}","Yellow":"\u9ec4\u8272","Yes":"\u662f","You are using {0}":"\u4f60\u6b63\u5728\u4f7f\u7528 {0}","You have unsaved changes are you sure you want to navigate away?":"\u4f60\u8fd8\u6709\u6587\u6863\u5c1a\u672a\u4fdd\u5b58\uff0c\u786e\u5b9a\u8981\u79bb\u5f00\uff1f","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u6253\u5f00\u526a\u8d34\u677f\uff0c\u8bf7\u4f7f\u7528Ctrl+X/C/V\u7b49\u5feb\u6377\u952e\u3002","alignment":"\u5bf9\u9f50","austral sign":"\u6fb3\u5143\u7b26\u53f7","cedi sign":"\u585e\u5730\u7b26\u53f7","colon sign":"\u5192\u53f7","cruzeiro sign":"\u514b\u9c81\u8d5b\u7f57\u5e01\u7b26\u53f7","currency sign":"\u8d27\u5e01\u7b26\u53f7","dollar sign":"\u7f8e\u5143\u7b26\u53f7","dong sign":"\u8d8a\u5357\u76fe\u7b26\u53f7","drachma sign":"\u5fb7\u62c9\u514b\u9a6c\u7b26\u53f7","euro-currency sign":"\u6b27\u5143\u7b26\u53f7","example":"\u793a\u4f8b","formatting":"\u683c\u5f0f\u5316","french franc sign":"\u6cd5\u90ce\u7b26\u53f7","german penny symbol":"\u5fb7\u56fd\u4fbf\u58eb\u7b26\u53f7","guarani sign":"\u74dc\u62c9\u5c3c\u7b26\u53f7","history":"\u5386\u53f2","hryvnia sign":"\u683c\u91cc\u592b\u5c3c\u4e9a\u7b26\u53f7","indentation":"\u7f29\u8fdb","indian rupee sign":"\u5370\u5ea6\u5362\u6bd4","kip sign":"\u8001\u631d\u57fa\u666e\u7b26\u53f7","lira sign":"\u91cc\u62c9\u7b26\u53f7","livre tournois sign":"\u91cc\u5f17\u5f17\u5c14\u7b26\u53f7","manat sign":"\u9a6c\u7eb3\u7279\u7b26\u53f7","mill sign":"\u5bc6\u5c14\u7b26\u53f7","naira sign":"\u5948\u62c9\u7b26\u53f7","new sheqel sign":"\u65b0\u8c22\u514b\u5c14\u7b26\u53f7","nordic mark sign":"\u5317\u6b27\u9a6c\u514b","peseta sign":"\u6bd4\u585e\u5854\u7b26\u53f7","peso sign":"\u6bd4\u7d22\u7b26\u53f7","ruble sign":"\u5362\u5e03\u7b26\u53f7","rupee sign":"\u5362\u6bd4\u7b26\u53f7","spesmilo sign":"spesmilo\u7b26\u53f7","styles":"\u6837\u5f0f","tenge sign":"\u575a\u6208\u7b26\u53f7","tugrik sign":"\u56fe\u683c\u91cc\u514b\u7b26\u53f7","turkish lira sign":"\u571f\u8033\u5176\u91cc\u62c9","won sign":"\u97e9\u5143\u7b26\u53f7","yen character":"\u65e5\u5143\u5b57\u6837","yen/yuan character variant one":"\u5143\u5b57\u6837\uff08\u5927\u5199\uff09","yuan character":"\u4eba\u6c11\u5e01\u5143\u5b57\u6837","yuan character, in hong kong and taiwan":"\u5143\u5b57\u6837\uff08\u6e2f\u53f0\u5730\u533a\uff09","{0} characters":"{0} \u4e2a\u5b57\u7b26","{0} columns, {1} rows":"","{0} words":"{0} \u5b57"}); |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | body { |
| | | background-color: #2f3742; |
| | | color: #dfe0e4; |
| | | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
| | | line-height: 1.4; |
| | | margin: 1rem; |
| | | } |
| | | a { |
| | | color: #4099ff; |
| | | } |
| | | table { |
| | | border-collapse: collapse; |
| | | } |
| | | table th, |
| | | table td { |
| | | border: 1px solid #6d737b; |
| | | padding: 0.4rem; |
| | | } |
| | | figure { |
| | | display: table; |
| | | margin: 1rem auto; |
| | | } |
| | | figure figcaption { |
| | | color: #8a8f97; |
| | | display: block; |
| | | margin-top: 0.25rem; |
| | | text-align: center; |
| | | } |
| | | hr { |
| | | border-color: #6d737b; |
| | | border-style: solid; |
| | | border-width: 1px 0 0 0; |
| | | } |
| | | code { |
| | | background-color: #6d737b; |
| | | border-radius: 3px; |
| | | padding: 0.1rem 0.2rem; |
| | | } |
| | | /* Make text in selected cells in tables dark and readable */ |
| | | td[data-mce-selected], |
| | | th[data-mce-selected] { |
| | | color: #333; |
| | | } |
| | | .mce-content-body:not([dir=rtl]) blockquote { |
| | | border-left: 2px solid #6d737b; |
| | | margin-left: 1.5rem; |
| | | padding-left: 1rem; |
| | | } |
| | | .mce-content-body[dir=rtl] blockquote { |
| | | border-right: 2px solid #6d737b; |
| | | margin-right: 1.5rem; |
| | | padding-right: 1rem; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | body{background-color:#2f3742;color:#dfe0e4;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}a{color:#4099ff}table{border-collapse:collapse}table td,table th{border:1px solid #6d737b;padding:.4rem}figure{display:table;margin:1rem auto}figure figcaption{color:#8a8f97;display:block;margin-top:.25rem;text-align:center}hr{border-color:#6d737b;border-style:solid;border-width:1px 0 0 0}code{background-color:#6d737b;border-radius:3px;padding:.1rem .2rem}td[data-mce-selected],th[data-mce-selected]{color:#333}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #6d737b;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #6d737b;margin-right:1.5rem;padding-right:1rem} |
| | | /*# sourceMappingURL=content.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | body { |
| | | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
| | | line-height: 1.4; |
| | | margin: 1rem; |
| | | } |
| | | table { |
| | | border-collapse: collapse; |
| | | } |
| | | table th, |
| | | table td { |
| | | border: 1px solid #ccc; |
| | | padding: 0.4rem; |
| | | } |
| | | figure { |
| | | display: table; |
| | | margin: 1rem auto; |
| | | } |
| | | figure figcaption { |
| | | color: #999; |
| | | display: block; |
| | | margin-top: 0.25rem; |
| | | text-align: center; |
| | | } |
| | | hr { |
| | | border-color: #ccc; |
| | | border-style: solid; |
| | | border-width: 1px 0 0 0; |
| | | } |
| | | code { |
| | | background-color: #e8e8e8; |
| | | border-radius: 3px; |
| | | padding: 0.1rem 0.2rem; |
| | | } |
| | | .mce-content-body:not([dir=rtl]) blockquote { |
| | | border-left: 2px solid #ccc; |
| | | margin-left: 1.5rem; |
| | | padding-left: 1rem; |
| | | } |
| | | .mce-content-body[dir=rtl] blockquote { |
| | | border-right: 2px solid #ccc; |
| | | margin-right: 1.5rem; |
| | | padding-right: 1rem; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} |
| | | /*# sourceMappingURL=content.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | @media screen { |
| | | html { |
| | | background: #f4f4f4; |
| | | } |
| | | } |
| | | body { |
| | | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
| | | } |
| | | @media screen { |
| | | body { |
| | | background-color: #fff; |
| | | box-shadow: 0 0 4px rgba(0, 0, 0, 0.15); |
| | | box-sizing: border-box; |
| | | margin: 1rem auto 0; |
| | | max-width: 820px; |
| | | min-height: calc(100vh - 1rem); |
| | | padding: 4rem 6rem 6rem 6rem; |
| | | } |
| | | } |
| | | table { |
| | | border-collapse: collapse; |
| | | } |
| | | table th, |
| | | table td { |
| | | border: 1px solid #ccc; |
| | | padding: 0.4rem; |
| | | } |
| | | figure figcaption { |
| | | color: #999; |
| | | margin-top: 0.25rem; |
| | | text-align: center; |
| | | } |
| | | hr { |
| | | border-color: #ccc; |
| | | border-style: solid; |
| | | border-width: 1px 0 0 0; |
| | | } |
| | | .mce-content-body:not([dir=rtl]) blockquote { |
| | | border-left: 2px solid #ccc; |
| | | margin-left: 1.5rem; |
| | | padding-left: 1rem; |
| | | } |
| | | .mce-content-body[dir=rtl] blockquote { |
| | | border-right: 2px solid #ccc; |
| | | margin-right: 1.5rem; |
| | | padding-right: 1rem; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | @media screen{html{background:#f4f4f4}}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif}@media screen{body{background-color:#fff;box-shadow:0 0 4px rgba(0,0,0,.15);box-sizing:border-box;margin:1rem auto 0;max-width:820px;min-height:calc(100vh - 1rem);padding:4rem 6rem 6rem 6rem}}table{border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}figure figcaption{color:#999;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} |
| | | /*# sourceMappingURL=content.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | body { |
| | | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; |
| | | line-height: 1.4; |
| | | margin: 1rem auto; |
| | | max-width: 900px; |
| | | } |
| | | table { |
| | | border-collapse: collapse; |
| | | } |
| | | table th, |
| | | table td { |
| | | border: 1px solid #ccc; |
| | | padding: 0.4rem; |
| | | } |
| | | figure { |
| | | display: table; |
| | | margin: 1rem auto; |
| | | } |
| | | figure figcaption { |
| | | color: #999; |
| | | display: block; |
| | | margin-top: 0.25rem; |
| | | text-align: center; |
| | | } |
| | | hr { |
| | | border-color: #ccc; |
| | | border-style: solid; |
| | | border-width: 1px 0 0 0; |
| | | } |
| | | code { |
| | | background-color: #e8e8e8; |
| | | border-radius: 3px; |
| | | padding: 0.1rem 0.2rem; |
| | | } |
| | | .mce-content-body:not([dir=rtl]) blockquote { |
| | | border-left: 2px solid #ccc; |
| | | margin-left: 1.5rem; |
| | | padding-left: 1rem; |
| | | } |
| | | .mce-content-body[dir=rtl] blockquote { |
| | | border-right: 2px solid #ccc; |
| | | margin-right: 1.5rem; |
| | | padding-right: 1rem; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem auto;max-width:900px}table{border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} |
| | | /*# sourceMappingURL=content.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .mce-content-body .mce-item-anchor { |
| | | background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; |
| | | cursor: default; |
| | | display: inline-block; |
| | | height: 12px !important; |
| | | padding: 0 2px; |
| | | -webkit-user-modify: read-only; |
| | | -moz-user-modify: read-only; |
| | | -webkit-user-select: all; |
| | | -moz-user-select: all; |
| | | -ms-user-select: all; |
| | | user-select: all; |
| | | width: 8px !important; |
| | | } |
| | | .mce-content-body .mce-item-anchor[data-mce-selected] { |
| | | outline-offset: 1px; |
| | | } |
| | | .tox-comments-visible .tox-comment { |
| | | background-color: #fff0b7; |
| | | } |
| | | .tox-comments-visible .tox-comment--active { |
| | | background-color: #ffe168; |
| | | } |
| | | .tox-checklist > li:not(.tox-checklist--hidden) { |
| | | list-style: none; |
| | | margin: 0.25em 0; |
| | | } |
| | | .tox-checklist > li:not(.tox-checklist--hidden)::before { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); |
| | | background-size: 100%; |
| | | content: ''; |
| | | cursor: pointer; |
| | | height: 1em; |
| | | margin-left: -1.5em; |
| | | margin-top: 0.125em; |
| | | position: absolute; |
| | | width: 1em; |
| | | } |
| | | .tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); |
| | | } |
| | | [dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { |
| | | margin-left: 0; |
| | | margin-right: -1.5em; |
| | | } |
| | | /* stylelint-disable */ |
| | | /* http://prismjs.com/ */ |
| | | /** |
| | | * Dracula Theme originally by Zeno Rocha [@zenorocha] |
| | | * https://draculatheme.com/ |
| | | * |
| | | * Ported for PrismJS by Albert Vallverdu [@byverdu] |
| | | */ |
| | | code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | color: #f8f8f2; |
| | | background: none; |
| | | text-shadow: 0 1px rgba(0, 0, 0, 0.3); |
| | | font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
| | | text-align: left; |
| | | white-space: pre; |
| | | word-spacing: normal; |
| | | word-break: normal; |
| | | word-wrap: normal; |
| | | line-height: 1.5; |
| | | -moz-tab-size: 4; |
| | | tab-size: 4; |
| | | -webkit-hyphens: none; |
| | | -ms-hyphens: none; |
| | | hyphens: none; |
| | | } |
| | | /* Code blocks */ |
| | | pre[class*="language-"] { |
| | | padding: 1em; |
| | | margin: 0.5em 0; |
| | | overflow: auto; |
| | | border-radius: 0.3em; |
| | | } |
| | | :not(pre) > code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | background: #282a36; |
| | | } |
| | | /* Inline code */ |
| | | :not(pre) > code[class*="language-"] { |
| | | padding: 0.1em; |
| | | border-radius: 0.3em; |
| | | white-space: normal; |
| | | } |
| | | .token.comment, |
| | | .token.prolog, |
| | | .token.doctype, |
| | | .token.cdata { |
| | | color: #6272a4; |
| | | } |
| | | .token.punctuation { |
| | | color: #f8f8f2; |
| | | } |
| | | .namespace { |
| | | opacity: 0.7; |
| | | } |
| | | .token.property, |
| | | .token.tag, |
| | | .token.constant, |
| | | .token.symbol, |
| | | .token.deleted { |
| | | color: #ff79c6; |
| | | } |
| | | .token.boolean, |
| | | .token.number { |
| | | color: #bd93f9; |
| | | } |
| | | .token.selector, |
| | | .token.attr-name, |
| | | .token.string, |
| | | .token.char, |
| | | .token.builtin, |
| | | .token.inserted { |
| | | color: #50fa7b; |
| | | } |
| | | .token.operator, |
| | | .token.entity, |
| | | .token.url, |
| | | .language-css .token.string, |
| | | .style .token.string, |
| | | .token.variable { |
| | | color: #f8f8f2; |
| | | } |
| | | .token.atrule, |
| | | .token.attr-value, |
| | | .token.function, |
| | | .token.class-name { |
| | | color: #f1fa8c; |
| | | } |
| | | .token.keyword { |
| | | color: #8be9fd; |
| | | } |
| | | .token.regex, |
| | | .token.important { |
| | | color: #ffb86c; |
| | | } |
| | | .token.important, |
| | | .token.bold { |
| | | font-weight: bold; |
| | | } |
| | | .token.italic { |
| | | font-style: italic; |
| | | } |
| | | .token.entity { |
| | | cursor: help; |
| | | } |
| | | /* stylelint-enable */ |
| | | .mce-content-body { |
| | | overflow-wrap: break-word; |
| | | word-wrap: break-word; |
| | | } |
| | | .mce-content-body .mce-visual-caret { |
| | | background-color: black; |
| | | background-color: currentcolor; |
| | | position: absolute; |
| | | } |
| | | .mce-content-body .mce-visual-caret-hidden { |
| | | display: none; |
| | | } |
| | | .mce-content-body *[data-mce-caret] { |
| | | left: -1000px; |
| | | margin: 0; |
| | | padding: 0; |
| | | position: absolute; |
| | | right: auto; |
| | | top: 0; |
| | | } |
| | | .mce-content-body .mce-offscreen-selection { |
| | | left: -9999999999px; |
| | | max-width: 1000000px; |
| | | position: absolute; |
| | | } |
| | | .mce-content-body *[contentEditable=false] { |
| | | cursor: default; |
| | | } |
| | | .mce-content-body *[contentEditable=true] { |
| | | cursor: text; |
| | | } |
| | | .tox-cursor-format-painter { |
| | | cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; |
| | | } |
| | | .mce-content-body figure.align-left { |
| | | float: left; |
| | | } |
| | | .mce-content-body figure.align-right { |
| | | float: right; |
| | | } |
| | | .mce-content-body figure.image.align-center { |
| | | display: table; |
| | | margin-left: auto; |
| | | margin-right: auto; |
| | | } |
| | | .mce-preview-object { |
| | | border: 1px solid gray; |
| | | display: inline-block; |
| | | line-height: 0; |
| | | margin: 0 2px 0 2px; |
| | | position: relative; |
| | | } |
| | | .mce-preview-object .mce-shim { |
| | | background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .mce-preview-object[data-mce-selected="2"] .mce-shim { |
| | | display: none; |
| | | } |
| | | .mce-object { |
| | | background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; |
| | | border: 1px dashed #aaa; |
| | | } |
| | | .mce-pagebreak { |
| | | border: 1px dashed #aaa; |
| | | cursor: default; |
| | | display: block; |
| | | height: 5px; |
| | | margin-top: 15px; |
| | | page-break-before: always; |
| | | width: 100%; |
| | | } |
| | | @media print { |
| | | .mce-pagebreak { |
| | | border: 0; |
| | | } |
| | | } |
| | | .tiny-pageembed .mce-shim { |
| | | background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .tiny-pageembed[data-mce-selected="2"] .mce-shim { |
| | | display: none; |
| | | } |
| | | .tiny-pageembed { |
| | | display: inline-block; |
| | | position: relative; |
| | | } |
| | | .tiny-pageembed--21by9, |
| | | .tiny-pageembed--16by9, |
| | | .tiny-pageembed--4by3, |
| | | .tiny-pageembed--1by1 { |
| | | display: block; |
| | | overflow: hidden; |
| | | padding: 0; |
| | | position: relative; |
| | | width: 100%; |
| | | } |
| | | .tiny-pageembed--21by9::before, |
| | | .tiny-pageembed--16by9::before, |
| | | .tiny-pageembed--4by3::before, |
| | | .tiny-pageembed--1by1::before { |
| | | content: ""; |
| | | display: block; |
| | | } |
| | | .tiny-pageembed--21by9::before { |
| | | padding-top: 42.857143%; |
| | | } |
| | | .tiny-pageembed--16by9::before { |
| | | padding-top: 56.25%; |
| | | } |
| | | .tiny-pageembed--4by3::before { |
| | | padding-top: 75%; |
| | | } |
| | | .tiny-pageembed--1by1::before { |
| | | padding-top: 100%; |
| | | } |
| | | .tiny-pageembed--21by9 iframe, |
| | | .tiny-pageembed--16by9 iframe, |
| | | .tiny-pageembed--4by3 iframe, |
| | | .tiny-pageembed--1by1 iframe { |
| | | border: 0; |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .mce-content-body div.mce-resizehandle { |
| | | background-color: #4099ff; |
| | | border-color: #4099ff; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-sizing: border-box; |
| | | height: 10px; |
| | | position: absolute; |
| | | width: 10px; |
| | | z-index: 10000; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:hover { |
| | | background-color: #4099ff; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(1) { |
| | | cursor: nwse-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(2) { |
| | | cursor: nesw-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(3) { |
| | | cursor: nwse-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(4) { |
| | | cursor: nesw-resize; |
| | | } |
| | | .mce-content-body .mce-clonedresizable { |
| | | opacity: 0.5; |
| | | outline: 1px dashed black; |
| | | position: absolute; |
| | | z-index: 10000; |
| | | } |
| | | .mce-content-body .mce-resize-helper { |
| | | background: #555; |
| | | background: rgba(0, 0, 0, 0.75); |
| | | border: 1px; |
| | | border-radius: 3px; |
| | | color: white; |
| | | display: none; |
| | | font-family: sans-serif; |
| | | font-size: 12px; |
| | | line-height: 14px; |
| | | margin: 5px 10px; |
| | | padding: 5px; |
| | | position: absolute; |
| | | white-space: nowrap; |
| | | z-index: 10001; |
| | | } |
| | | .mce-match-marker { |
| | | background: #aaa; |
| | | color: #fff; |
| | | } |
| | | .mce-match-marker-selected { |
| | | background: #39f; |
| | | color: #fff; |
| | | } |
| | | .mce-content-body img[data-mce-selected], |
| | | .mce-content-body table[data-mce-selected] { |
| | | outline: 3px solid #4099ff; |
| | | } |
| | | .mce-content-body hr[data-mce-selected] { |
| | | outline: 3px solid #4099ff; |
| | | outline-offset: 1px; |
| | | } |
| | | .mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { |
| | | outline: 3px solid #4099ff; |
| | | } |
| | | .mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { |
| | | outline: 3px solid #4099ff; |
| | | } |
| | | .mce-content-body *[contentEditable=false][data-mce-selected] { |
| | | cursor: not-allowed; |
| | | outline: 3px solid #4099ff; |
| | | } |
| | | .mce-content-body.mce-content-readonly *[contentEditable=true]:focus, |
| | | .mce-content-body.mce-content-readonly *[contentEditable=true]:hover { |
| | | outline: none; |
| | | } |
| | | .mce-content-body *[data-mce-selected="inline-boundary"] { |
| | | background-color: #4099ff; |
| | | } |
| | | .mce-content-body .mce-edit-focus { |
| | | outline: 3px solid #4099ff; |
| | | } |
| | | .mce-content-body td[data-mce-selected], |
| | | .mce-content-body th[data-mce-selected] { |
| | | background-color: #b4d7ff !important; |
| | | } |
| | | .mce-content-body td[data-mce-selected]::-moz-selection, |
| | | .mce-content-body th[data-mce-selected]::-moz-selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body td[data-mce-selected]::selection, |
| | | .mce-content-body th[data-mce-selected]::selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body td[data-mce-selected] *, |
| | | .mce-content-body th[data-mce-selected] * { |
| | | -webkit-touch-callout: none; |
| | | -webkit-user-select: none; |
| | | -moz-user-select: none; |
| | | -ms-user-select: none; |
| | | user-select: none; |
| | | } |
| | | .mce-content-body img::-moz-selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body img::selection { |
| | | background: none; |
| | | } |
| | | .ephox-snooker-resizer-bar { |
| | | background-color: #4099ff; |
| | | opacity: 0; |
| | | } |
| | | .ephox-snooker-resizer-cols { |
| | | cursor: col-resize; |
| | | } |
| | | .ephox-snooker-resizer-rows { |
| | | cursor: row-resize; |
| | | } |
| | | .ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { |
| | | opacity: 1; |
| | | } |
| | | .mce-spellchecker-word { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); |
| | | background-position: 0 calc(100% + 1px); |
| | | background-repeat: repeat-x; |
| | | background-size: auto 6px; |
| | | cursor: default; |
| | | height: 2rem; |
| | | } |
| | | .mce-spellchecker-grammar { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); |
| | | background-position: 0 calc(100% + 1px); |
| | | background-repeat: repeat-x; |
| | | background-size: auto 6px; |
| | | cursor: default; |
| | | } |
| | | .mce-toc { |
| | | border: 1px solid gray; |
| | | } |
| | | .mce-toc h2 { |
| | | margin: 4px; |
| | | } |
| | | .mce-toc li { |
| | | list-style-type: none; |
| | | } |
| | | .mce-item-table, |
| | | .mce-item-table td, |
| | | .mce-item-table th, |
| | | .mce-item-table caption { |
| | | border: 1px dashed #bbb; |
| | | } |
| | | .mce-visualblocks p, |
| | | .mce-visualblocks h1, |
| | | .mce-visualblocks h2, |
| | | .mce-visualblocks h3, |
| | | .mce-visualblocks h4, |
| | | .mce-visualblocks h5, |
| | | .mce-visualblocks h6, |
| | | .mce-visualblocks div:not([data-mce-bogus]), |
| | | .mce-visualblocks section, |
| | | .mce-visualblocks article, |
| | | .mce-visualblocks blockquote, |
| | | .mce-visualblocks address, |
| | | .mce-visualblocks pre, |
| | | .mce-visualblocks figure, |
| | | .mce-visualblocks figcaption, |
| | | .mce-visualblocks hgroup, |
| | | .mce-visualblocks aside, |
| | | .mce-visualblocks ul, |
| | | .mce-visualblocks ol, |
| | | .mce-visualblocks dl { |
| | | background-repeat: no-repeat; |
| | | border: 1px dashed #bbb; |
| | | margin-left: 3px; |
| | | padding-top: 10px; |
| | | } |
| | | .mce-visualblocks p { |
| | | background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); |
| | | } |
| | | .mce-visualblocks h1 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); |
| | | } |
| | | .mce-visualblocks h2 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); |
| | | } |
| | | .mce-visualblocks h3 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); |
| | | } |
| | | .mce-visualblocks h4 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); |
| | | } |
| | | .mce-visualblocks h5 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); |
| | | } |
| | | .mce-visualblocks h6 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); |
| | | } |
| | | .mce-visualblocks div:not([data-mce-bogus]) { |
| | | background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); |
| | | } |
| | | .mce-visualblocks section { |
| | | background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); |
| | | } |
| | | .mce-visualblocks article { |
| | | background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); |
| | | } |
| | | .mce-visualblocks blockquote { |
| | | background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); |
| | | } |
| | | .mce-visualblocks address { |
| | | background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); |
| | | } |
| | | .mce-visualblocks pre { |
| | | background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); |
| | | } |
| | | .mce-visualblocks figure { |
| | | background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); |
| | | } |
| | | .mce-visualblocks figcaption { |
| | | border: 1px dashed #bbb; |
| | | } |
| | | .mce-visualblocks hgroup { |
| | | background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); |
| | | } |
| | | .mce-visualblocks aside { |
| | | background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); |
| | | } |
| | | .mce-visualblocks ul { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); |
| | | } |
| | | .mce-visualblocks ol { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); |
| | | } |
| | | .mce-visualblocks dl { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); |
| | | } |
| | | .mce-visualblocks:not([dir=rtl]) p, |
| | | .mce-visualblocks:not([dir=rtl]) h1, |
| | | .mce-visualblocks:not([dir=rtl]) h2, |
| | | .mce-visualblocks:not([dir=rtl]) h3, |
| | | .mce-visualblocks:not([dir=rtl]) h4, |
| | | .mce-visualblocks:not([dir=rtl]) h5, |
| | | .mce-visualblocks:not([dir=rtl]) h6, |
| | | .mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), |
| | | .mce-visualblocks:not([dir=rtl]) section, |
| | | .mce-visualblocks:not([dir=rtl]) article, |
| | | .mce-visualblocks:not([dir=rtl]) blockquote, |
| | | .mce-visualblocks:not([dir=rtl]) address, |
| | | .mce-visualblocks:not([dir=rtl]) pre, |
| | | .mce-visualblocks:not([dir=rtl]) figure, |
| | | .mce-visualblocks:not([dir=rtl]) figcaption, |
| | | .mce-visualblocks:not([dir=rtl]) hgroup, |
| | | .mce-visualblocks:not([dir=rtl]) aside, |
| | | .mce-visualblocks:not([dir=rtl]) ul, |
| | | .mce-visualblocks:not([dir=rtl]) ol, |
| | | .mce-visualblocks:not([dir=rtl]) dl { |
| | | margin-left: 3px; |
| | | } |
| | | .mce-visualblocks[dir=rtl] p, |
| | | .mce-visualblocks[dir=rtl] h1, |
| | | .mce-visualblocks[dir=rtl] h2, |
| | | .mce-visualblocks[dir=rtl] h3, |
| | | .mce-visualblocks[dir=rtl] h4, |
| | | .mce-visualblocks[dir=rtl] h5, |
| | | .mce-visualblocks[dir=rtl] h6, |
| | | .mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), |
| | | .mce-visualblocks[dir=rtl] section, |
| | | .mce-visualblocks[dir=rtl] article, |
| | | .mce-visualblocks[dir=rtl] blockquote, |
| | | .mce-visualblocks[dir=rtl] address, |
| | | .mce-visualblocks[dir=rtl] pre, |
| | | .mce-visualblocks[dir=rtl] figure, |
| | | .mce-visualblocks[dir=rtl] figcaption, |
| | | .mce-visualblocks[dir=rtl] hgroup, |
| | | .mce-visualblocks[dir=rtl] aside, |
| | | .mce-visualblocks[dir=rtl] ul, |
| | | .mce-visualblocks[dir=rtl] ol, |
| | | .mce-visualblocks[dir=rtl] dl { |
| | | background-position-x: right; |
| | | margin-right: 3px; |
| | | } |
| | | .mce-nbsp, |
| | | .mce-shy { |
| | | background: #aaa; |
| | | } |
| | | .mce-shy::after { |
| | | content: '-'; |
| | | } |
| | | body { |
| | | font-family: sans-serif; |
| | | } |
| | | table { |
| | | border-collapse: collapse; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .mce-content-body .mce-item-anchor { |
| | | background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; |
| | | cursor: default; |
| | | display: inline-block; |
| | | height: 12px !important; |
| | | padding: 0 2px; |
| | | -webkit-user-modify: read-only; |
| | | -moz-user-modify: read-only; |
| | | -webkit-user-select: all; |
| | | -moz-user-select: all; |
| | | -ms-user-select: all; |
| | | user-select: all; |
| | | width: 8px !important; |
| | | } |
| | | .mce-content-body .mce-item-anchor[data-mce-selected] { |
| | | outline-offset: 1px; |
| | | } |
| | | .tox-comments-visible .tox-comment { |
| | | background-color: #fff0b7; |
| | | } |
| | | .tox-comments-visible .tox-comment--active { |
| | | background-color: #ffe168; |
| | | } |
| | | .tox-checklist > li:not(.tox-checklist--hidden) { |
| | | list-style: none; |
| | | margin: 0.25em 0; |
| | | } |
| | | .tox-checklist > li:not(.tox-checklist--hidden)::before { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); |
| | | background-size: 100%; |
| | | content: ''; |
| | | cursor: pointer; |
| | | height: 1em; |
| | | margin-left: -1.5em; |
| | | margin-top: 0.125em; |
| | | position: absolute; |
| | | width: 1em; |
| | | } |
| | | .tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); |
| | | } |
| | | [dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { |
| | | margin-left: 0; |
| | | margin-right: -1.5em; |
| | | } |
| | | /* stylelint-disable */ |
| | | /* http://prismjs.com/ */ |
| | | /** |
| | | * prism.js default theme for JavaScript, CSS and HTML |
| | | * Based on dabblet (http://dabblet.com) |
| | | * @author Lea Verou |
| | | */ |
| | | code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | color: black; |
| | | background: none; |
| | | text-shadow: 0 1px white; |
| | | font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
| | | font-size: 1em; |
| | | text-align: left; |
| | | white-space: pre; |
| | | word-spacing: normal; |
| | | word-break: normal; |
| | | word-wrap: normal; |
| | | line-height: 1.5; |
| | | -moz-tab-size: 4; |
| | | tab-size: 4; |
| | | -webkit-hyphens: none; |
| | | -ms-hyphens: none; |
| | | hyphens: none; |
| | | } |
| | | pre[class*="language-"]::-moz-selection, |
| | | pre[class*="language-"] ::-moz-selection, |
| | | code[class*="language-"]::-moz-selection, |
| | | code[class*="language-"] ::-moz-selection { |
| | | text-shadow: none; |
| | | background: #b3d4fc; |
| | | } |
| | | pre[class*="language-"]::selection, |
| | | pre[class*="language-"] ::selection, |
| | | code[class*="language-"]::selection, |
| | | code[class*="language-"] ::selection { |
| | | text-shadow: none; |
| | | background: #b3d4fc; |
| | | } |
| | | @media print { |
| | | code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | text-shadow: none; |
| | | } |
| | | } |
| | | /* Code blocks */ |
| | | pre[class*="language-"] { |
| | | padding: 1em; |
| | | margin: 0.5em 0; |
| | | overflow: auto; |
| | | } |
| | | :not(pre) > code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | background: #f5f2f0; |
| | | } |
| | | /* Inline code */ |
| | | :not(pre) > code[class*="language-"] { |
| | | padding: 0.1em; |
| | | border-radius: 0.3em; |
| | | white-space: normal; |
| | | } |
| | | .token.comment, |
| | | .token.prolog, |
| | | .token.doctype, |
| | | .token.cdata { |
| | | color: slategray; |
| | | } |
| | | .token.punctuation { |
| | | color: #999; |
| | | } |
| | | .namespace { |
| | | opacity: 0.7; |
| | | } |
| | | .token.property, |
| | | .token.tag, |
| | | .token.boolean, |
| | | .token.number, |
| | | .token.constant, |
| | | .token.symbol, |
| | | .token.deleted { |
| | | color: #905; |
| | | } |
| | | .token.selector, |
| | | .token.attr-name, |
| | | .token.string, |
| | | .token.char, |
| | | .token.builtin, |
| | | .token.inserted { |
| | | color: #690; |
| | | } |
| | | .token.operator, |
| | | .token.entity, |
| | | .token.url, |
| | | .language-css .token.string, |
| | | .style .token.string { |
| | | color: #9a6e3a; |
| | | background: hsla(0, 0%, 100%, 0.5); |
| | | } |
| | | .token.atrule, |
| | | .token.attr-value, |
| | | .token.keyword { |
| | | color: #07a; |
| | | } |
| | | .token.function, |
| | | .token.class-name { |
| | | color: #DD4A68; |
| | | } |
| | | .token.regex, |
| | | .token.important, |
| | | .token.variable { |
| | | color: #e90; |
| | | } |
| | | .token.important, |
| | | .token.bold { |
| | | font-weight: bold; |
| | | } |
| | | .token.italic { |
| | | font-style: italic; |
| | | } |
| | | .token.entity { |
| | | cursor: help; |
| | | } |
| | | /* stylelint-enable */ |
| | | .mce-content-body { |
| | | overflow-wrap: break-word; |
| | | word-wrap: break-word; |
| | | } |
| | | .mce-content-body .mce-visual-caret { |
| | | background-color: black; |
| | | background-color: currentcolor; |
| | | position: absolute; |
| | | } |
| | | .mce-content-body .mce-visual-caret-hidden { |
| | | display: none; |
| | | } |
| | | .mce-content-body *[data-mce-caret] { |
| | | left: -1000px; |
| | | margin: 0; |
| | | padding: 0; |
| | | position: absolute; |
| | | right: auto; |
| | | top: 0; |
| | | } |
| | | .mce-content-body .mce-offscreen-selection { |
| | | left: -9999999999px; |
| | | max-width: 1000000px; |
| | | position: absolute; |
| | | } |
| | | .mce-content-body *[contentEditable=false] { |
| | | cursor: default; |
| | | } |
| | | .mce-content-body *[contentEditable=true] { |
| | | cursor: text; |
| | | } |
| | | .tox-cursor-format-painter { |
| | | cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; |
| | | } |
| | | .mce-content-body figure.align-left { |
| | | float: left; |
| | | } |
| | | .mce-content-body figure.align-right { |
| | | float: right; |
| | | } |
| | | .mce-content-body figure.image.align-center { |
| | | display: table; |
| | | margin-left: auto; |
| | | margin-right: auto; |
| | | } |
| | | .mce-preview-object { |
| | | border: 1px solid gray; |
| | | display: inline-block; |
| | | line-height: 0; |
| | | margin: 0 2px 0 2px; |
| | | position: relative; |
| | | } |
| | | .mce-preview-object .mce-shim { |
| | | background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .mce-preview-object[data-mce-selected="2"] .mce-shim { |
| | | display: none; |
| | | } |
| | | .mce-object { |
| | | background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; |
| | | border: 1px dashed #aaa; |
| | | } |
| | | .mce-pagebreak { |
| | | border: 1px dashed #aaa; |
| | | cursor: default; |
| | | display: block; |
| | | height: 5px; |
| | | margin-top: 15px; |
| | | page-break-before: always; |
| | | width: 100%; |
| | | } |
| | | @media print { |
| | | .mce-pagebreak { |
| | | border: 0; |
| | | } |
| | | } |
| | | .tiny-pageembed .mce-shim { |
| | | background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .tiny-pageembed[data-mce-selected="2"] .mce-shim { |
| | | display: none; |
| | | } |
| | | .tiny-pageembed { |
| | | display: inline-block; |
| | | position: relative; |
| | | } |
| | | .tiny-pageembed--21by9, |
| | | .tiny-pageembed--16by9, |
| | | .tiny-pageembed--4by3, |
| | | .tiny-pageembed--1by1 { |
| | | display: block; |
| | | overflow: hidden; |
| | | padding: 0; |
| | | position: relative; |
| | | width: 100%; |
| | | } |
| | | .tiny-pageembed--21by9::before, |
| | | .tiny-pageembed--16by9::before, |
| | | .tiny-pageembed--4by3::before, |
| | | .tiny-pageembed--1by1::before { |
| | | content: ""; |
| | | display: block; |
| | | } |
| | | .tiny-pageembed--21by9::before { |
| | | padding-top: 42.857143%; |
| | | } |
| | | .tiny-pageembed--16by9::before { |
| | | padding-top: 56.25%; |
| | | } |
| | | .tiny-pageembed--4by3::before { |
| | | padding-top: 75%; |
| | | } |
| | | .tiny-pageembed--1by1::before { |
| | | padding-top: 100%; |
| | | } |
| | | .tiny-pageembed--21by9 iframe, |
| | | .tiny-pageembed--16by9 iframe, |
| | | .tiny-pageembed--4by3 iframe, |
| | | .tiny-pageembed--1by1 iframe { |
| | | border: 0; |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .mce-content-body div.mce-resizehandle { |
| | | background-color: #4099ff; |
| | | border-color: #4099ff; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-sizing: border-box; |
| | | height: 10px; |
| | | position: absolute; |
| | | width: 10px; |
| | | z-index: 10000; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:hover { |
| | | background-color: #4099ff; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(1) { |
| | | cursor: nwse-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(2) { |
| | | cursor: nesw-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(3) { |
| | | cursor: nwse-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(4) { |
| | | cursor: nesw-resize; |
| | | } |
| | | .mce-content-body .mce-clonedresizable { |
| | | opacity: 0.5; |
| | | outline: 1px dashed black; |
| | | position: absolute; |
| | | z-index: 10000; |
| | | } |
| | | .mce-content-body .mce-resize-helper { |
| | | background: #555; |
| | | background: rgba(0, 0, 0, 0.75); |
| | | border: 1px; |
| | | border-radius: 3px; |
| | | color: white; |
| | | display: none; |
| | | font-family: sans-serif; |
| | | font-size: 12px; |
| | | line-height: 14px; |
| | | margin: 5px 10px; |
| | | padding: 5px; |
| | | position: absolute; |
| | | white-space: nowrap; |
| | | z-index: 10001; |
| | | } |
| | | .mce-match-marker { |
| | | background: #aaa; |
| | | color: #fff; |
| | | } |
| | | .mce-match-marker-selected { |
| | | background: #39f; |
| | | color: #fff; |
| | | } |
| | | .mce-content-body img[data-mce-selected], |
| | | .mce-content-body table[data-mce-selected] { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body hr[data-mce-selected] { |
| | | outline: 3px solid #b4d7ff; |
| | | outline-offset: 1px; |
| | | } |
| | | .mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body *[contentEditable=false][data-mce-selected] { |
| | | cursor: not-allowed; |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body.mce-content-readonly *[contentEditable=true]:focus, |
| | | .mce-content-body.mce-content-readonly *[contentEditable=true]:hover { |
| | | outline: none; |
| | | } |
| | | .mce-content-body *[data-mce-selected="inline-boundary"] { |
| | | background-color: #b4d7ff; |
| | | } |
| | | .mce-content-body .mce-edit-focus { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body td[data-mce-selected], |
| | | .mce-content-body th[data-mce-selected] { |
| | | background-color: #b4d7ff !important; |
| | | } |
| | | .mce-content-body td[data-mce-selected]::-moz-selection, |
| | | .mce-content-body th[data-mce-selected]::-moz-selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body td[data-mce-selected]::selection, |
| | | .mce-content-body th[data-mce-selected]::selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body td[data-mce-selected] *, |
| | | .mce-content-body th[data-mce-selected] * { |
| | | -webkit-touch-callout: none; |
| | | -webkit-user-select: none; |
| | | -moz-user-select: none; |
| | | -ms-user-select: none; |
| | | user-select: none; |
| | | } |
| | | .mce-content-body img::-moz-selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body img::selection { |
| | | background: none; |
| | | } |
| | | .ephox-snooker-resizer-bar { |
| | | background-color: #b4d7ff; |
| | | opacity: 0; |
| | | } |
| | | .ephox-snooker-resizer-cols { |
| | | cursor: col-resize; |
| | | } |
| | | .ephox-snooker-resizer-rows { |
| | | cursor: row-resize; |
| | | } |
| | | .ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { |
| | | opacity: 1; |
| | | } |
| | | .mce-spellchecker-word { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); |
| | | background-position: 0 calc(100% + 1px); |
| | | background-repeat: repeat-x; |
| | | background-size: auto 6px; |
| | | cursor: default; |
| | | height: 2rem; |
| | | } |
| | | .mce-spellchecker-grammar { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); |
| | | background-position: 0 calc(100% + 1px); |
| | | background-repeat: repeat-x; |
| | | background-size: auto 6px; |
| | | cursor: default; |
| | | } |
| | | .mce-toc { |
| | | border: 1px solid gray; |
| | | } |
| | | .mce-toc h2 { |
| | | margin: 4px; |
| | | } |
| | | .mce-toc li { |
| | | list-style-type: none; |
| | | } |
| | | .mce-item-table, |
| | | .mce-item-table td, |
| | | .mce-item-table th, |
| | | .mce-item-table caption { |
| | | border: 1px dashed #bbb; |
| | | } |
| | | .mce-visualblocks p, |
| | | .mce-visualblocks h1, |
| | | .mce-visualblocks h2, |
| | | .mce-visualblocks h3, |
| | | .mce-visualblocks h4, |
| | | .mce-visualblocks h5, |
| | | .mce-visualblocks h6, |
| | | .mce-visualblocks div:not([data-mce-bogus]), |
| | | .mce-visualblocks section, |
| | | .mce-visualblocks article, |
| | | .mce-visualblocks blockquote, |
| | | .mce-visualblocks address, |
| | | .mce-visualblocks pre, |
| | | .mce-visualblocks figure, |
| | | .mce-visualblocks figcaption, |
| | | .mce-visualblocks hgroup, |
| | | .mce-visualblocks aside, |
| | | .mce-visualblocks ul, |
| | | .mce-visualblocks ol, |
| | | .mce-visualblocks dl { |
| | | background-repeat: no-repeat; |
| | | border: 1px dashed #bbb; |
| | | margin-left: 3px; |
| | | padding-top: 10px; |
| | | } |
| | | .mce-visualblocks p { |
| | | background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); |
| | | } |
| | | .mce-visualblocks h1 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); |
| | | } |
| | | .mce-visualblocks h2 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); |
| | | } |
| | | .mce-visualblocks h3 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); |
| | | } |
| | | .mce-visualblocks h4 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); |
| | | } |
| | | .mce-visualblocks h5 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); |
| | | } |
| | | .mce-visualblocks h6 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); |
| | | } |
| | | .mce-visualblocks div:not([data-mce-bogus]) { |
| | | background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); |
| | | } |
| | | .mce-visualblocks section { |
| | | background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); |
| | | } |
| | | .mce-visualblocks article { |
| | | background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); |
| | | } |
| | | .mce-visualblocks blockquote { |
| | | background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); |
| | | } |
| | | .mce-visualblocks address { |
| | | background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); |
| | | } |
| | | .mce-visualblocks pre { |
| | | background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); |
| | | } |
| | | .mce-visualblocks figure { |
| | | background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); |
| | | } |
| | | .mce-visualblocks figcaption { |
| | | border: 1px dashed #bbb; |
| | | } |
| | | .mce-visualblocks hgroup { |
| | | background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); |
| | | } |
| | | .mce-visualblocks aside { |
| | | background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); |
| | | } |
| | | .mce-visualblocks ul { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); |
| | | } |
| | | .mce-visualblocks ol { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); |
| | | } |
| | | .mce-visualblocks dl { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); |
| | | } |
| | | .mce-visualblocks:not([dir=rtl]) p, |
| | | .mce-visualblocks:not([dir=rtl]) h1, |
| | | .mce-visualblocks:not([dir=rtl]) h2, |
| | | .mce-visualblocks:not([dir=rtl]) h3, |
| | | .mce-visualblocks:not([dir=rtl]) h4, |
| | | .mce-visualblocks:not([dir=rtl]) h5, |
| | | .mce-visualblocks:not([dir=rtl]) h6, |
| | | .mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), |
| | | .mce-visualblocks:not([dir=rtl]) section, |
| | | .mce-visualblocks:not([dir=rtl]) article, |
| | | .mce-visualblocks:not([dir=rtl]) blockquote, |
| | | .mce-visualblocks:not([dir=rtl]) address, |
| | | .mce-visualblocks:not([dir=rtl]) pre, |
| | | .mce-visualblocks:not([dir=rtl]) figure, |
| | | .mce-visualblocks:not([dir=rtl]) figcaption, |
| | | .mce-visualblocks:not([dir=rtl]) hgroup, |
| | | .mce-visualblocks:not([dir=rtl]) aside, |
| | | .mce-visualblocks:not([dir=rtl]) ul, |
| | | .mce-visualblocks:not([dir=rtl]) ol, |
| | | .mce-visualblocks:not([dir=rtl]) dl { |
| | | margin-left: 3px; |
| | | } |
| | | .mce-visualblocks[dir=rtl] p, |
| | | .mce-visualblocks[dir=rtl] h1, |
| | | .mce-visualblocks[dir=rtl] h2, |
| | | .mce-visualblocks[dir=rtl] h3, |
| | | .mce-visualblocks[dir=rtl] h4, |
| | | .mce-visualblocks[dir=rtl] h5, |
| | | .mce-visualblocks[dir=rtl] h6, |
| | | .mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), |
| | | .mce-visualblocks[dir=rtl] section, |
| | | .mce-visualblocks[dir=rtl] article, |
| | | .mce-visualblocks[dir=rtl] blockquote, |
| | | .mce-visualblocks[dir=rtl] address, |
| | | .mce-visualblocks[dir=rtl] pre, |
| | | .mce-visualblocks[dir=rtl] figure, |
| | | .mce-visualblocks[dir=rtl] figcaption, |
| | | .mce-visualblocks[dir=rtl] hgroup, |
| | | .mce-visualblocks[dir=rtl] aside, |
| | | .mce-visualblocks[dir=rtl] ul, |
| | | .mce-visualblocks[dir=rtl] ol, |
| | | .mce-visualblocks[dir=rtl] dl { |
| | | background-position-x: right; |
| | | margin-right: 3px; |
| | | } |
| | | .mce-nbsp, |
| | | .mce-shy { |
| | | background: #aaa; |
| | | } |
| | | .mce-shy::after { |
| | | content: '-'; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment{background-color:#fff0b7}.tox-comments-visible .tox-comment--active{background-color:#ffe168}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");background-size:100%;content:'';cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentcolor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-9999999999px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--16by9::before,.tiny-pageembed--1by1::before,.tiny-pageembed--21by9::before,.tiny-pageembed--4by3::before{content:"";display:block}.tiny-pageembed--21by9::before{padding-top:42.857143%}.tiny-pageembed--16by9::before{padding-top:56.25%}.tiny-pageembed--4by3::before{padding-top:75%}.tiny-pageembed--1by1::before{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:10000}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-clonedresizable{opacity:.5;outline:1px dashed #000;position:absolute;z-index:10000}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10001}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-content-body img[data-mce-selected],.mce-content-body table[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{background-color:#b4d7ff!important}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mce-content-body img::-moz-selection{background:0 0}.mce-content-body img::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table,.mce-item-table caption,.mce-item-table td,.mce-item-table th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'} |
| | | /*# sourceMappingURL=content.inline.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment{background-color:#fff0b7}.tox-comments-visible .tox-comment--active{background-color:#ffe168}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%236d737b%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");background-size:100%;content:'';cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:0 0;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#282a36}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#6272a4}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#ff79c6}.token.boolean,.token.number{color:#bd93f9}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#50fa7b}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.class-name,.token.function{color:#f1fa8c}.token.keyword{color:#8be9fd}.token.important,.token.regex{color:#ffb86c}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentcolor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-9999999999px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%20fill%3D%22%23cccccc%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--16by9::before,.tiny-pageembed--1by1::before,.tiny-pageembed--21by9::before,.tiny-pageembed--4by3::before{content:"";display:block}.tiny-pageembed--21by9::before{padding-top:42.857143%}.tiny-pageembed--16by9::before{padding-top:56.25%}.tiny-pageembed--4by3::before{padding-top:75%}.tiny-pageembed--1by1::before{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:10000}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-clonedresizable{opacity:.5;outline:1px dashed #000;position:absolute;z-index:10000}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10001}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-content-body img[data-mce-selected],.mce-content-body table[data-mce-selected]{outline:3px solid #4099ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #4099ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #4099ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #4099ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #4099ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#4099ff}.mce-content-body .mce-edit-focus{outline:3px solid #4099ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{background-color:#b4d7ff!important}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mce-content-body img::-moz-selection{background:0 0}.mce-content-body img::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#4099ff;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table,.mce-item-table caption,.mce-item-table td,.mce-item-table th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'}body{font-family:sans-serif}table{border-collapse:collapse} |
| | | /*# sourceMappingURL=content.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection { |
| | | /* Note: this file is used inside the content, so isn't part of theming */ |
| | | background-color: green; |
| | | display: inline-block; |
| | | opacity: 0.5; |
| | | position: absolute; |
| | | } |
| | | body { |
| | | -webkit-text-size-adjust: none; |
| | | } |
| | | body img { |
| | | /* this is related to the content margin */ |
| | | max-width: 96vw; |
| | | } |
| | | body table img { |
| | | max-width: 95%; |
| | | } |
| | | body { |
| | | font-family: sans-serif; |
| | | } |
| | | table { |
| | | border-collapse: collapse; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse} |
| | | /*# sourceMappingURL=content.mobile.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .tox { |
| | | box-sizing: content-box; |
| | | color: #2A3746; |
| | | cursor: auto; |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | font-size: 16px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: normal; |
| | | -webkit-tap-highlight-color: transparent; |
| | | text-decoration: none; |
| | | text-shadow: none; |
| | | text-transform: none; |
| | | vertical-align: initial; |
| | | white-space: normal; |
| | | } |
| | | .tox *:not(svg) { |
| | | box-sizing: inherit; |
| | | color: inherit; |
| | | cursor: inherit; |
| | | direction: inherit; |
| | | font-family: inherit; |
| | | font-size: inherit; |
| | | font-style: inherit; |
| | | font-weight: inherit; |
| | | line-height: inherit; |
| | | -webkit-tap-highlight-color: inherit; |
| | | text-align: inherit; |
| | | text-decoration: inherit; |
| | | text-shadow: inherit; |
| | | text-transform: inherit; |
| | | vertical-align: inherit; |
| | | white-space: inherit; |
| | | } |
| | | .tox *:not(svg) { |
| | | /* stylelint-disable-line no-duplicate-selectors */ |
| | | background: transparent; |
| | | border: 0; |
| | | float: none; |
| | | height: auto; |
| | | margin: 0; |
| | | max-width: none; |
| | | outline: 0; |
| | | padding: 0; |
| | | position: static; |
| | | width: auto; |
| | | } |
| | | .tox:not([dir=rtl]) { |
| | | direction: ltr; |
| | | text-align: left; |
| | | } |
| | | .tox[dir=rtl] { |
| | | direction: rtl; |
| | | text-align: right; |
| | | } |
| | | .tox-tinymce { |
| | | border: 1px solid #000000; |
| | | border-radius: 0; |
| | | box-shadow: none; |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | flex-direction: column; |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | overflow: hidden; |
| | | position: relative; |
| | | visibility: inherit !important; |
| | | } |
| | | .tox-tinymce-inline { |
| | | border: none; |
| | | box-shadow: none; |
| | | } |
| | | .tox-tinymce-inline .tox-editor-header { |
| | | border: 1px solid #000000; |
| | | border-bottom: 0; |
| | | border-radius: 0; |
| | | box-shadow: none; |
| | | } |
| | | .tox-tinymce-aux { |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | z-index: 1300; |
| | | } |
| | | .tox-tinymce *:focus, |
| | | .tox-tinymce-aux *:focus { |
| | | outline: none; |
| | | } |
| | | button::-moz-focus-inner { |
| | | border: 0; |
| | | } |
| | | .tox .accessibility-issue__header { |
| | | align-items: center; |
| | | display: flex; |
| | | margin-bottom: 4px; |
| | | } |
| | | .tox .accessibility-issue__description { |
| | | align-items: stretch; |
| | | border: 1px solid #000000; |
| | | border-radius: 3px; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | } |
| | | .tox .accessibility-issue__description > div { |
| | | padding-bottom: 4px; |
| | | } |
| | | .tox .accessibility-issue__description > div > div { |
| | | align-items: center; |
| | | display: flex; |
| | | margin-bottom: 4px; |
| | | } |
| | | .tox .accessibility-issue__description > *:last-child:not(:only-child) { |
| | | border-color: #000000; |
| | | border-style: solid; |
| | | } |
| | | .tox .accessibility-issue__repair { |
| | | margin-top: 16px; |
| | | } |
| | | .tox .accessibility-issue--info .accessibility-issue__description { |
| | | background-color: rgba(32, 122, 183, 0.5); |
| | | border-color: #207ab7; |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--info .accessibility-issue__description > *:last-child { |
| | | border-color: #207ab7; |
| | | } |
| | | .tox .accessibility-issue--info h2 { |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--info .tox-icon svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .accessibility-issue--info a .tox-icon { |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--warn .accessibility-issue__description { |
| | | background-color: rgba(255, 165, 0, 0.5); |
| | | border-color: rgba(255, 165, 0, 0.8); |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--warn .accessibility-issue__description > *:last-child { |
| | | border-color: rgba(255, 165, 0, 0.8); |
| | | } |
| | | .tox .accessibility-issue--warn h2 { |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--warn .tox-icon svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .accessibility-issue--warn a .tox-icon { |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--error .accessibility-issue__description { |
| | | background-color: rgba(204, 0, 0, 0.5); |
| | | border-color: rgba(204, 0, 0, 0.8); |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--error .accessibility-issue__description > *:last-child { |
| | | border-color: rgba(204, 0, 0, 0.8); |
| | | } |
| | | .tox .accessibility-issue--error h2 { |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--error .tox-icon svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .accessibility-issue--error a .tox-icon { |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--success .accessibility-issue__description { |
| | | background-color: rgba(120, 171, 70, 0.5); |
| | | border-color: rgba(120, 171, 70, 0.8); |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--success .accessibility-issue__description > *:last-child { |
| | | border-color: rgba(120, 171, 70, 0.8); |
| | | } |
| | | .tox .accessibility-issue--success h2 { |
| | | color: #fff; |
| | | } |
| | | .tox .accessibility-issue--success .tox-icon svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .accessibility-issue--success a .tox-icon { |
| | | color: #fff; |
| | | } |
| | | .tox .tox-dialog__body-content .accessibility-issue__header h1, |
| | | .tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { |
| | | margin-top: 0; |
| | | } |
| | | .tox:not([dir=rtl]) .accessibility-issue__header .tox-button { |
| | | margin-left: 4px; |
| | | } |
| | | .tox:not([dir=rtl]) .accessibility-issue__header > *:nth-last-child(2) { |
| | | margin-left: auto; |
| | | } |
| | | .tox:not([dir=rtl]) .accessibility-issue__description { |
| | | padding: 4px 4px 4px 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .accessibility-issue__description > *:last-child { |
| | | border-left-width: 1px; |
| | | padding-left: 4px; |
| | | } |
| | | .tox[dir=rtl] .accessibility-issue__header .tox-button { |
| | | margin-right: 4px; |
| | | } |
| | | .tox[dir=rtl] .accessibility-issue__header > *:nth-last-child(2) { |
| | | margin-right: auto; |
| | | } |
| | | .tox[dir=rtl] .accessibility-issue__description { |
| | | padding: 4px 8px 4px 4px; |
| | | } |
| | | .tox[dir=rtl] .accessibility-issue__description > *:last-child { |
| | | border-right-width: 1px; |
| | | padding-right: 4px; |
| | | } |
| | | .tox .tox-anchorbar { |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | } |
| | | .tox .tox-bar { |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | } |
| | | .tox .tox-button { |
| | | background-color: #207ab7; |
| | | background-image: none; |
| | | background-position: none; |
| | | background-repeat: none; |
| | | border-color: #207ab7; |
| | | border-radius: 3px; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-shadow: none; |
| | | box-sizing: border-box; |
| | | color: #fff; |
| | | cursor: pointer; |
| | | display: inline-block; |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | font-size: 14px; |
| | | font-weight: bold; |
| | | letter-spacing: 1; |
| | | line-height: 24px; |
| | | margin: 0; |
| | | outline: none; |
| | | padding: 4px 16px; |
| | | text-align: center; |
| | | text-decoration: none; |
| | | text-transform: capitalize; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-button[disabled] { |
| | | background-color: #207ab7; |
| | | background-image: none; |
| | | border-color: #207ab7; |
| | | box-shadow: none; |
| | | color: rgba(255, 255, 255, 0.5); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-button:focus:not(:disabled) { |
| | | background-color: #1c6ca1; |
| | | background-image: none; |
| | | border-color: #1c6ca1; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button:hover:not(:disabled) { |
| | | background-color: #1c6ca1; |
| | | background-image: none; |
| | | border-color: #1c6ca1; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button:active:not(:disabled) { |
| | | background-color: #185d8c; |
| | | background-image: none; |
| | | border-color: #185d8c; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button--secondary { |
| | | background-color: #3d546f; |
| | | background-image: none; |
| | | background-position: none; |
| | | background-repeat: none; |
| | | border-color: #3d546f; |
| | | border-radius: 3px; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | outline: none; |
| | | padding: 4px 16px; |
| | | text-decoration: none; |
| | | text-transform: capitalize; |
| | | } |
| | | .tox .tox-button--secondary[disabled] { |
| | | background-color: #3d546f; |
| | | background-image: none; |
| | | border-color: #3d546f; |
| | | box-shadow: none; |
| | | color: rgba(255, 255, 255, 0.5); |
| | | } |
| | | .tox .tox-button--secondary:focus:not(:disabled) { |
| | | background-color: #34485f; |
| | | background-image: none; |
| | | border-color: #34485f; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button--secondary:hover:not(:disabled) { |
| | | background-color: #34485f; |
| | | background-image: none; |
| | | border-color: #34485f; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button--secondary:active:not(:disabled) { |
| | | background-color: #2b3b4e; |
| | | background-image: none; |
| | | border-color: #2b3b4e; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button--icon, |
| | | .tox .tox-button.tox-button--icon, |
| | | .tox .tox-button.tox-button--secondary.tox-button--icon { |
| | | padding: 4px; |
| | | } |
| | | .tox .tox-button--icon .tox-icon svg, |
| | | .tox .tox-button.tox-button--icon .tox-icon svg, |
| | | .tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { |
| | | display: block; |
| | | fill: currentColor; |
| | | } |
| | | .tox .tox-button-link { |
| | | background: 0; |
| | | border: none; |
| | | box-sizing: border-box; |
| | | cursor: pointer; |
| | | display: inline-block; |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | font-size: 16px; |
| | | font-weight: normal; |
| | | line-height: 1.3; |
| | | margin: 0; |
| | | padding: 0; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-button-link--sm { |
| | | font-size: 14px; |
| | | } |
| | | .tox .tox-button--naked { |
| | | background-color: transparent; |
| | | border-color: transparent; |
| | | box-shadow: unset; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button--naked[disabled] { |
| | | background-color: #3d546f; |
| | | border-color: #3d546f; |
| | | box-shadow: none; |
| | | color: rgba(255, 255, 255, 0.5); |
| | | } |
| | | .tox .tox-button--naked:hover:not(:disabled) { |
| | | background-color: #34485f; |
| | | border-color: #34485f; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button--naked:focus:not(:disabled) { |
| | | background-color: #34485f; |
| | | border-color: #34485f; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button--naked:active:not(:disabled) { |
| | | background-color: #2b3b4e; |
| | | border-color: #2b3b4e; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button--naked .tox-icon svg { |
| | | fill: currentColor; |
| | | } |
| | | .tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { |
| | | color: #fff; |
| | | } |
| | | .tox .tox-checkbox { |
| | | align-items: center; |
| | | border-radius: 3px; |
| | | cursor: pointer; |
| | | display: flex; |
| | | height: 36px; |
| | | min-width: 36px; |
| | | } |
| | | .tox .tox-checkbox__input { |
| | | /* Hide from view but visible to screen readers */ |
| | | height: 1px; |
| | | left: -10000px; |
| | | overflow: hidden; |
| | | position: absolute; |
| | | top: auto; |
| | | width: 1px; |
| | | } |
| | | .tox .tox-checkbox__icons { |
| | | align-items: center; |
| | | border-radius: 3px; |
| | | box-shadow: 0 0 0 2px transparent; |
| | | box-sizing: content-box; |
| | | display: flex; |
| | | height: 24px; |
| | | justify-content: center; |
| | | padding: calc(4px - 1px); |
| | | width: 24px; |
| | | } |
| | | .tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { |
| | | display: block; |
| | | fill: rgba(255, 255, 255, 0.2); |
| | | } |
| | | .tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { |
| | | display: none; |
| | | fill: #207ab7; |
| | | } |
| | | .tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { |
| | | display: none; |
| | | fill: #207ab7; |
| | | } |
| | | .tox .tox-checkbox--disabled { |
| | | color: rgba(255, 255, 255, 0.5); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { |
| | | fill: rgba(255, 255, 255, 0.5); |
| | | } |
| | | .tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { |
| | | fill: rgba(255, 255, 255, 0.5); |
| | | } |
| | | .tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { |
| | | fill: rgba(255, 255, 255, 0.5); |
| | | } |
| | | .tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { |
| | | display: none; |
| | | } |
| | | .tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { |
| | | display: block; |
| | | } |
| | | .tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { |
| | | display: none; |
| | | } |
| | | .tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { |
| | | display: block; |
| | | } |
| | | .tox input.tox-checkbox__input:focus + .tox-checkbox__icons { |
| | | border-radius: 3px; |
| | | box-shadow: inset 0 0 0 1px #207ab7; |
| | | padding: calc(4px - 1px); |
| | | } |
| | | .tox:not([dir=rtl]) .tox-checkbox__label { |
| | | margin-left: 4px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-bar .tox-checkbox { |
| | | margin-left: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-checkbox__label { |
| | | margin-right: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-bar .tox-checkbox { |
| | | margin-right: 4px; |
| | | } |
| | | .tox { |
| | | /* stylelint-disable-next-line no-descending-specificity */ |
| | | } |
| | | .tox .tox-collection--toolbar .tox-collection__group { |
| | | display: flex; |
| | | padding: 0; |
| | | } |
| | | .tox .tox-collection--grid .tox-collection__group { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | max-height: 208px; |
| | | overflow-x: hidden; |
| | | overflow-y: auto; |
| | | padding: 0; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__group { |
| | | border-bottom-width: 0; |
| | | border-color: #1a1a1a; |
| | | border-left-width: 0; |
| | | border-right-width: 0; |
| | | border-style: solid; |
| | | border-top-width: 1px; |
| | | padding: 4px 0; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__group:first-child { |
| | | border-top-width: 0; |
| | | } |
| | | .tox .tox-collection__group-heading { |
| | | background-color: #333333; |
| | | color: #fff; |
| | | cursor: default; |
| | | font-size: 12px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | margin-bottom: 4px; |
| | | margin-top: -4px; |
| | | padding: 4px 8px; |
| | | text-transform: none; |
| | | -webkit-touch-callout: none; |
| | | -webkit-user-select: none; |
| | | -moz-user-select: none; |
| | | -ms-user-select: none; |
| | | user-select: none; |
| | | } |
| | | .tox .tox-collection__item { |
| | | align-items: center; |
| | | color: #fff; |
| | | cursor: pointer; |
| | | display: flex; |
| | | -webkit-touch-callout: none; |
| | | -webkit-user-select: none; |
| | | -moz-user-select: none; |
| | | -ms-user-select: none; |
| | | user-select: none; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__item { |
| | | padding: 4px 8px; |
| | | } |
| | | .tox .tox-collection--toolbar .tox-collection__item { |
| | | border-radius: 3px; |
| | | padding: 4px; |
| | | } |
| | | .tox .tox-collection--grid .tox-collection__item { |
| | | border-radius: 3px; |
| | | padding: 4px; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__item--enabled { |
| | | background-color: inherit; |
| | | color: contrast(inherit, #2A3746, #fff); |
| | | } |
| | | .tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { |
| | | background-color: #4a5562; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-collection--toolbar .tox-collection__item--enabled { |
| | | background-color: #757d87; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { |
| | | background-color: #4a5562; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-collection--grid .tox-collection__item--enabled { |
| | | background-color: #757d87; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { |
| | | background-color: #4a5562; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-collection__item--state-disabled { |
| | | background-color: transparent; |
| | | color: rgba(255, 255, 255, 0.5); |
| | | cursor: default; |
| | | } |
| | | .tox .tox-collection__item-icon { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 24px; |
| | | justify-content: center; |
| | | width: 24px; |
| | | } |
| | | .tox .tox-collection__item-icon svg { |
| | | fill: currentColor; |
| | | } |
| | | .tox .tox-collection--toolbar-lg .tox-collection__item-icon { |
| | | height: 48px; |
| | | width: 48px; |
| | | } |
| | | .tox .tox-collection__item-label { |
| | | color: currentColor; |
| | | display: inline-block; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: 24px; |
| | | text-transform: none; |
| | | word-break: break-all; |
| | | } |
| | | .tox .tox-collection__item-accessory { |
| | | color: rgba(255, 255, 255, 0.5); |
| | | display: inline-block; |
| | | font-size: 14px; |
| | | height: 24px; |
| | | line-height: 24px; |
| | | text-transform: normal; |
| | | } |
| | | .tox .tox-collection__item-caret { |
| | | align-items: center; |
| | | display: flex; |
| | | min-height: 24px; |
| | | } |
| | | .tox .tox-collection__item-caret::after { |
| | | content: ''; |
| | | font-size: 0; |
| | | min-height: inherit; |
| | | } |
| | | .tox .tox-collection__item-caret svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .tox-collection__item[role="menuitemcheckbox"]:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { |
| | | display: none; |
| | | } |
| | | .tox .tox-collection--horizontal { |
| | | background-color: #2b3b4e; |
| | | border: 1px solid #1a1a1a; |
| | | border-radius: 3px; |
| | | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | flex-shrink: 0; |
| | | flex-wrap: nowrap; |
| | | margin-bottom: 0; |
| | | overflow-x: auto; |
| | | padding: 0; |
| | | } |
| | | .tox .tox-collection--horizontal .tox-collection__group { |
| | | align-items: center; |
| | | display: flex; |
| | | flex-wrap: nowrap; |
| | | margin: 0; |
| | | padding: 0 4px; |
| | | } |
| | | .tox .tox-collection--horizontal .tox-collection__item { |
| | | height: 34px; |
| | | margin: 2px 0 3px 0; |
| | | padding: 0 4px; |
| | | } |
| | | .tox .tox-collection--horizontal .tox-collection__item-label { |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-collection--horizontal .tox-collection__item-caret { |
| | | margin-left: 4px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { |
| | | border-right: 1px solid #000000; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { |
| | | margin-left: 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-collection--list .tox-collection__item-label:first-child { |
| | | margin-left: 4px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-collection__item-accessory { |
| | | margin-left: 16px; |
| | | text-align: right; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { |
| | | margin-left: 16px; |
| | | } |
| | | .tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { |
| | | border-left: 1px solid #000000; |
| | | } |
| | | .tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { |
| | | margin-right: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-collection--list .tox-collection__item-label:first-child { |
| | | margin-right: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-collection__item-icon-rtl { |
| | | /* stylelint-disable-next-line no-descending-specificity */ |
| | | } |
| | | .tox[dir=rtl] .tox-collection__item-icon-rtl .tox-collection__item-icon svg { |
| | | transform: rotateY(180deg); |
| | | } |
| | | .tox[dir=rtl] .tox-collection__item-accessory { |
| | | margin-right: 16px; |
| | | text-align: left; |
| | | } |
| | | .tox[dir=rtl] .tox-collection .tox-collection__item-caret { |
| | | margin-right: 16px; |
| | | transform: rotateY(180deg); |
| | | } |
| | | .tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { |
| | | margin-right: 4px; |
| | | } |
| | | .tox .tox-color-picker-container { |
| | | display: flex; |
| | | flex-direction: row; |
| | | height: 225px; |
| | | margin: 0; |
| | | } |
| | | .tox .tox-sv-palette { |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | height: 100%; |
| | | } |
| | | .tox .tox-sv-palette-spectrum { |
| | | height: 100%; |
| | | } |
| | | .tox .tox-sv-palette, |
| | | .tox .tox-sv-palette-spectrum { |
| | | width: 225px; |
| | | } |
| | | .tox .tox-sv-palette-thumb { |
| | | background: none; |
| | | border: 1px solid black; |
| | | border-radius: 50%; |
| | | box-sizing: content-box; |
| | | height: 12px; |
| | | position: absolute; |
| | | width: 12px; |
| | | } |
| | | .tox .tox-sv-palette-inner-thumb { |
| | | border: 1px solid white; |
| | | border-radius: 50%; |
| | | height: 10px; |
| | | position: absolute; |
| | | width: 10px; |
| | | } |
| | | .tox .tox-hue-slider { |
| | | box-sizing: border-box; |
| | | height: 100%; |
| | | width: 25px; |
| | | } |
| | | .tox .tox-hue-slider-spectrum { |
| | | background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); |
| | | height: 100%; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-hue-slider, |
| | | .tox .tox-hue-slider-spectrum { |
| | | width: 20px; |
| | | } |
| | | .tox .tox-hue-slider-thumb { |
| | | background: white; |
| | | border: 1px solid black; |
| | | box-sizing: content-box; |
| | | height: 4px; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-rgb-form { |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-between; |
| | | } |
| | | .tox .tox-rgb-form div { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | margin-bottom: 5px; |
| | | width: inherit; |
| | | } |
| | | .tox .tox-rgb-form input { |
| | | width: 6em; |
| | | } |
| | | .tox .tox-rgb-form input.tox-invalid { |
| | | /* Need !important to override Chrome's focus styling unfortunately */ |
| | | border: 1px solid red !important; |
| | | } |
| | | .tox .tox-rgb-form .tox-rgba-preview { |
| | | border: 1px solid black; |
| | | flex-grow: 2; |
| | | margin-bottom: 0; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-sv-palette { |
| | | margin-right: 15px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-hue-slider { |
| | | margin-right: 15px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-hue-slider-thumb { |
| | | margin-left: -1px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-rgb-form label { |
| | | margin-right: 0.5em; |
| | | } |
| | | .tox[dir=rtl] .tox-sv-palette { |
| | | margin-left: 15px; |
| | | } |
| | | .tox[dir=rtl] .tox-hue-slider { |
| | | margin-left: 15px; |
| | | } |
| | | .tox[dir=rtl] .tox-hue-slider-thumb { |
| | | margin-right: -1px; |
| | | } |
| | | .tox[dir=rtl] .tox-rgb-form label { |
| | | margin-left: 0.5em; |
| | | } |
| | | .tox .tox-toolbar .tox-swatches, |
| | | .tox .tox-toolbar__primary .tox-swatches, |
| | | .tox .tox-toolbar__overflow .tox-swatches { |
| | | margin: 2px 0 3px 4px; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__group .tox-swatches-menu { |
| | | border: 0; |
| | | margin: -4px 0; |
| | | } |
| | | .tox .tox-swatches__row { |
| | | display: flex; |
| | | } |
| | | .tox .tox-swatch { |
| | | height: 30px; |
| | | transition: transform 0.15s, box-shadow 0.15s; |
| | | width: 30px; |
| | | } |
| | | .tox .tox-swatch:hover, |
| | | .tox .tox-swatch:focus { |
| | | box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; |
| | | transform: scale(0.8); |
| | | } |
| | | .tox .tox-swatch--remove { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | .tox .tox-swatch--remove svg path { |
| | | stroke: #e74c3c; |
| | | } |
| | | .tox .tox-swatches__picker-btn { |
| | | align-items: center; |
| | | background-color: transparent; |
| | | border: 0; |
| | | cursor: pointer; |
| | | display: flex; |
| | | height: 30px; |
| | | justify-content: center; |
| | | outline: none; |
| | | padding: 0; |
| | | width: 30px; |
| | | } |
| | | .tox .tox-swatches__picker-btn svg { |
| | | height: 24px; |
| | | width: 24px; |
| | | } |
| | | .tox .tox-swatches__picker-btn:hover { |
| | | background: #4a5562; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-swatches__picker-btn { |
| | | margin-left: auto; |
| | | } |
| | | .tox[dir=rtl] .tox-swatches__picker-btn { |
| | | margin-right: auto; |
| | | } |
| | | .tox .tox-comment-thread { |
| | | background: #2b3b4e; |
| | | position: relative; |
| | | } |
| | | .tox .tox-comment-thread > *:not(:first-child) { |
| | | margin-top: 8px; |
| | | } |
| | | .tox .tox-comment { |
| | | background: #2b3b4e; |
| | | border: 1px solid #000000; |
| | | border-radius: 3px; |
| | | box-shadow: 0 4px 8px 0 rgba(42, 55, 70, 0.1); |
| | | padding: 8px 8px 16px 8px; |
| | | position: relative; |
| | | } |
| | | .tox .tox-comment__header { |
| | | align-items: center; |
| | | color: #fff; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | } |
| | | .tox .tox-comment__date { |
| | | color: rgba(255, 255, 255, 0.5); |
| | | font-size: 12px; |
| | | } |
| | | .tox .tox-comment__body { |
| | | color: #fff; |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: 1.3; |
| | | margin-top: 8px; |
| | | position: relative; |
| | | text-transform: initial; |
| | | } |
| | | .tox .tox-comment__body textarea { |
| | | resize: none; |
| | | white-space: normal; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-comment__expander { |
| | | padding-top: 8px; |
| | | } |
| | | .tox .tox-comment__expander p { |
| | | color: rgba(255, 255, 255, 0.5); |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | } |
| | | .tox .tox-comment__body p { |
| | | margin: 0; |
| | | } |
| | | .tox .tox-comment__buttonspacing { |
| | | padding-top: 16px; |
| | | text-align: center; |
| | | } |
| | | .tox .tox-comment-thread__overlay::after { |
| | | background: #2b3b4e; |
| | | bottom: 0; |
| | | content: ""; |
| | | display: flex; |
| | | left: 0; |
| | | opacity: 0.9; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 5; |
| | | } |
| | | .tox .tox-comment__reply { |
| | | display: flex; |
| | | flex-shrink: 0; |
| | | flex-wrap: wrap; |
| | | justify-content: flex-end; |
| | | margin-top: 8px; |
| | | } |
| | | .tox .tox-comment__reply > *:first-child { |
| | | margin-bottom: 8px; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-comment__edit { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: flex-end; |
| | | margin-top: 16px; |
| | | } |
| | | .tox .tox-comment__gradient::after { |
| | | background: linear-gradient(rgba(43, 59, 78, 0), #2b3b4e); |
| | | bottom: 0; |
| | | content: ""; |
| | | display: block; |
| | | height: 5em; |
| | | margin-top: -40px; |
| | | position: absolute; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-comment__overlay { |
| | | background: #2b3b4e; |
| | | bottom: 0; |
| | | display: flex; |
| | | flex-direction: column; |
| | | flex-grow: 1; |
| | | left: 0; |
| | | opacity: 0.9; |
| | | position: absolute; |
| | | right: 0; |
| | | text-align: center; |
| | | top: 0; |
| | | z-index: 5; |
| | | } |
| | | .tox .tox-comment__loading-text { |
| | | align-items: center; |
| | | color: #fff; |
| | | display: flex; |
| | | flex-direction: column; |
| | | position: relative; |
| | | } |
| | | .tox .tox-comment__loading-text > div { |
| | | padding-bottom: 16px; |
| | | } |
| | | .tox .tox-comment__overlaytext { |
| | | bottom: 0; |
| | | flex-direction: column; |
| | | font-size: 14px; |
| | | left: 0; |
| | | padding: 1em; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 10; |
| | | } |
| | | .tox .tox-comment__overlaytext p { |
| | | background-color: #2b3b4e; |
| | | box-shadow: 0 0 8px 8px #2b3b4e; |
| | | color: #fff; |
| | | text-align: center; |
| | | } |
| | | .tox .tox-comment__overlaytext div:nth-of-type(2) { |
| | | font-size: 0.8em; |
| | | } |
| | | .tox .tox-comment__busy-spinner { |
| | | align-items: center; |
| | | background-color: #2b3b4e; |
| | | bottom: 0; |
| | | display: flex; |
| | | justify-content: center; |
| | | left: 0; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 20; |
| | | } |
| | | .tox .tox-comment__scroll { |
| | | display: flex; |
| | | flex-direction: column; |
| | | flex-shrink: 1; |
| | | overflow: auto; |
| | | } |
| | | .tox .tox-conversations { |
| | | margin: 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-comment__edit { |
| | | margin-left: 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, |
| | | .tox:not([dir=rtl]) .tox-comment__edit > *:last-child, |
| | | .tox:not([dir=rtl]) .tox-comment__reply > *:last-child { |
| | | margin-left: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-comment__edit { |
| | | margin-right: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, |
| | | .tox[dir=rtl] .tox-comment__edit > *:last-child, |
| | | .tox[dir=rtl] .tox-comment__reply > *:last-child { |
| | | margin-right: 8px; |
| | | } |
| | | .tox .tox-user { |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | .tox .tox-user__avatar svg { |
| | | fill: rgba(255, 255, 255, 0.5); |
| | | } |
| | | .tox .tox-user__name { |
| | | color: rgba(255, 255, 255, 0.5); |
| | | font-size: 12px; |
| | | font-style: normal; |
| | | font-weight: bold; |
| | | text-transform: uppercase; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-user__avatar svg { |
| | | margin-right: 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { |
| | | margin-left: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-user__avatar svg { |
| | | margin-left: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-user__avatar + .tox-user__name { |
| | | margin-right: 8px; |
| | | } |
| | | .tox .tox-dialog-wrap { |
| | | align-items: center; |
| | | bottom: 0; |
| | | display: flex; |
| | | justify-content: center; |
| | | left: 0; |
| | | position: fixed; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 1100; |
| | | } |
| | | .tox .tox-dialog-wrap__backdrop { |
| | | background-color: rgba(34, 47, 62, 0.75); |
| | | bottom: 0; |
| | | left: 0; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 1; |
| | | } |
| | | .tox .tox-dialog-wrap__backdrop--opaque { |
| | | background-color: #222f3e; |
| | | } |
| | | .tox .tox-dialog { |
| | | background-color: #2b3b4e; |
| | | border-color: #000000; |
| | | border-radius: 3px; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-shadow: 0 16px 16px -10px rgba(42, 55, 70, 0.15), 0 0 40px 1px rgba(42, 55, 70, 0.15); |
| | | display: flex; |
| | | flex-direction: column; |
| | | max-height: 100%; |
| | | max-width: 480px; |
| | | overflow: hidden; |
| | | position: relative; |
| | | width: 95vw; |
| | | z-index: 2; |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox .tox-dialog { |
| | | align-self: flex-start; |
| | | margin: 8px auto; |
| | | width: calc(100vw - 16px); |
| | | } |
| | | } |
| | | .tox .tox-dialog-inline { |
| | | z-index: 1100; |
| | | } |
| | | .tox .tox-dialog__header { |
| | | align-items: center; |
| | | background-color: #2b3b4e; |
| | | border-bottom: none; |
| | | color: #fff; |
| | | display: flex; |
| | | font-size: 16px; |
| | | justify-content: space-between; |
| | | padding: 8px 16px 0 16px; |
| | | position: relative; |
| | | } |
| | | .tox .tox-dialog__header .tox-button { |
| | | z-index: 1; |
| | | } |
| | | .tox .tox-dialog__draghandle { |
| | | cursor: grab; |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-dialog__draghandle:active { |
| | | cursor: grabbing; |
| | | } |
| | | .tox .tox-dialog__dismiss { |
| | | margin-left: auto; |
| | | } |
| | | .tox .tox-dialog__title { |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | font-size: 20px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: 1.3; |
| | | margin: 0; |
| | | text-transform: normal; |
| | | } |
| | | .tox .tox-dialog__body { |
| | | color: #fff; |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | font-size: 16px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: 1.3; |
| | | min-width: 0; |
| | | text-align: left; |
| | | text-transform: normal; |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox .tox-dialog__body { |
| | | flex-direction: column; |
| | | } |
| | | } |
| | | .tox .tox-dialog__body-nav { |
| | | align-items: flex-start; |
| | | display: flex; |
| | | flex-direction: column; |
| | | padding: 16px 16px; |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { |
| | | flex-direction: row; |
| | | -webkit-overflow-scrolling: touch; |
| | | overflow-x: auto; |
| | | padding-bottom: 0; |
| | | } |
| | | } |
| | | .tox .tox-dialog__body-nav-item { |
| | | border-bottom: 2px solid transparent; |
| | | color: rgba(255, 255, 255, 0.5); |
| | | display: inline-block; |
| | | font-size: 14px; |
| | | line-height: 1.3; |
| | | margin-bottom: 8px; |
| | | text-decoration: none; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-dialog__body-nav-item:focus { |
| | | background-color: rgba(32, 122, 183, 0.1); |
| | | } |
| | | .tox .tox-dialog__body-nav-item--active { |
| | | border-bottom: 2px solid #207ab7; |
| | | color: #207ab7; |
| | | } |
| | | .tox .tox-dialog__body-content { |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | flex: 1; |
| | | flex-direction: column; |
| | | -ms-flex-preferred-size: auto; |
| | | max-height: 650px; |
| | | overflow: auto; |
| | | -webkit-overflow-scrolling: touch; |
| | | padding: 16px 16px; |
| | | } |
| | | .tox .tox-dialog__body-content > * { |
| | | margin-bottom: 0; |
| | | margin-top: 16px; |
| | | } |
| | | .tox .tox-dialog__body-content > *:first-child { |
| | | margin-top: 0; |
| | | } |
| | | .tox .tox-dialog__body-content > *:last-child { |
| | | margin-bottom: 0; |
| | | } |
| | | .tox .tox-dialog__body-content > *:only-child { |
| | | margin-bottom: 0; |
| | | margin-top: 0; |
| | | } |
| | | .tox .tox-dialog__body-content a { |
| | | color: #207ab7; |
| | | cursor: pointer; |
| | | text-decoration: none; |
| | | } |
| | | .tox .tox-dialog__body-content a:hover, |
| | | .tox .tox-dialog__body-content a:focus { |
| | | color: #185d8c; |
| | | text-decoration: none; |
| | | } |
| | | .tox .tox-dialog__body-content a:active { |
| | | color: #185d8c; |
| | | text-decoration: none; |
| | | } |
| | | .tox .tox-dialog__body-content ul { |
| | | display: block; |
| | | list-style-type: disc; |
| | | margin-bottom: 16px; |
| | | -webkit-margin-end: 0; |
| | | margin-inline-end: 0; |
| | | -webkit-margin-start: 0; |
| | | margin-inline-start: 0; |
| | | -webkit-padding-start: 2.5rem; |
| | | padding-inline-start: 2.5rem; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group h1 { |
| | | font-size: 20px; |
| | | font-weight: bold; |
| | | margin-bottom: 16px; |
| | | margin-top: 2rem; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group h2 { |
| | | font-size: 16px; |
| | | font-weight: bold; |
| | | margin-bottom: 16px; |
| | | margin-top: 2rem; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group p { |
| | | margin-bottom: 16px; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group h1:first-child, |
| | | .tox .tox-dialog__body-content .tox-form__group h2:first-child, |
| | | .tox .tox-dialog__body-content .tox-form__group p:first-child { |
| | | margin-top: 0; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group h1:last-child, |
| | | .tox .tox-dialog__body-content .tox-form__group h2:last-child, |
| | | .tox .tox-dialog__body-content .tox-form__group p:last-child { |
| | | margin-bottom: 0; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group h1:only-child, |
| | | .tox .tox-dialog__body-content .tox-form__group h2:only-child, |
| | | .tox .tox-dialog__body-content .tox-form__group p:only-child { |
| | | margin-bottom: 0; |
| | | margin-top: 0; |
| | | } |
| | | .tox .tox-dialog--width-lg { |
| | | height: 650px; |
| | | max-width: 1200px; |
| | | } |
| | | .tox .tox-dialog--width-md { |
| | | max-width: 800px; |
| | | } |
| | | .tox .tox-dialog--width-md .tox-dialog__body-content { |
| | | overflow: auto; |
| | | } |
| | | .tox .tox-dialog__body-content--centered { |
| | | text-align: center; |
| | | } |
| | | .tox .tox-dialog__footer { |
| | | align-items: center; |
| | | background-color: #2b3b4e; |
| | | border-top: 1px solid #000000; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | padding: 8px 16px; |
| | | } |
| | | .tox .tox-dialog__footer-start, |
| | | .tox .tox-dialog__footer-end { |
| | | display: flex; |
| | | } |
| | | .tox .tox-dialog__busy-spinner { |
| | | align-items: center; |
| | | background-color: rgba(34, 47, 62, 0.75); |
| | | bottom: 0; |
| | | display: flex; |
| | | justify-content: center; |
| | | left: 0; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 3; |
| | | } |
| | | .tox .tox-dialog__table { |
| | | border-collapse: collapse; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-dialog__table thead th { |
| | | font-weight: bold; |
| | | padding-bottom: 8px; |
| | | } |
| | | .tox .tox-dialog__table tbody tr { |
| | | border-bottom: 1px solid #000000; |
| | | } |
| | | .tox .tox-dialog__table tbody tr:last-child { |
| | | border-bottom: none; |
| | | } |
| | | .tox .tox-dialog__table td { |
| | | padding-bottom: 8px; |
| | | padding-top: 8px; |
| | | } |
| | | .tox .tox-dialog__popups { |
| | | position: absolute; |
| | | width: 100%; |
| | | z-index: 1100; |
| | | } |
| | | .tox .tox-dialog__body-iframe { |
| | | display: flex; |
| | | flex: 1; |
| | | flex-direction: column; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-dialog__body-iframe .tox-navobj { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | height: 100%; |
| | | } |
| | | .tox .tox-dialog-dock-fadeout { |
| | | opacity: 0; |
| | | visibility: hidden; |
| | | } |
| | | .tox .tox-dialog-dock-fadein { |
| | | opacity: 1; |
| | | visibility: visible; |
| | | } |
| | | .tox .tox-dialog-dock-transition { |
| | | transition: visibility 0s linear 0.3s, opacity 0.3s ease; |
| | | } |
| | | .tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { |
| | | transition-delay: 0s; |
| | | } |
| | | body.tox-dialog__disable-scroll { |
| | | overflow: hidden; |
| | | } |
| | | .tox.tox-platform-ie { |
| | | /* IE11 CSS styles go here */ |
| | | } |
| | | .tox.tox-platform-ie .tox-dialog-wrap { |
| | | position: -ms-device-fixed; |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { |
| | | margin-right: 0; |
| | | } |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { |
| | | margin-left: 8px; |
| | | } |
| | | } |
| | | .tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, |
| | | .tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { |
| | | margin-left: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-dialog__body { |
| | | text-align: right; |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { |
| | | margin-left: 0; |
| | | } |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { |
| | | margin-right: 8px; |
| | | } |
| | | } |
| | | .tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, |
| | | .tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { |
| | | margin-right: 8px; |
| | | } |
| | | .tox .tox-dropzone-container { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-dropzone { |
| | | align-items: center; |
| | | background: #fff; |
| | | border: 2px dashed #000000; |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | flex-direction: column; |
| | | flex-grow: 1; |
| | | justify-content: center; |
| | | min-height: 100px; |
| | | padding: 10px; |
| | | } |
| | | .tox .tox-dropzone p { |
| | | color: rgba(255, 255, 255, 0.5); |
| | | margin: 0 0 16px 0; |
| | | } |
| | | .tox .tox-edit-area { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | overflow: hidden; |
| | | position: relative; |
| | | } |
| | | .tox .tox-edit-area__iframe { |
| | | background-color: #fff; |
| | | border: 0; |
| | | box-sizing: border-box; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | height: 100%; |
| | | position: absolute; |
| | | width: 100%; |
| | | } |
| | | .tox.tox-inline-edit-area { |
| | | border: 1px dotted #000000; |
| | | } |
| | | .tox .tox-editor-container { |
| | | display: flex; |
| | | flex: 1 1 auto; |
| | | flex-direction: column; |
| | | overflow: hidden; |
| | | } |
| | | .tox .tox-editor-header { |
| | | z-index: 1; |
| | | } |
| | | .tox-editor-dock-fadeout { |
| | | opacity: 0; |
| | | visibility: hidden; |
| | | } |
| | | .tox-editor-dock-fadein { |
| | | opacity: 1; |
| | | visibility: visible; |
| | | } |
| | | .tox-editor-dock-transition { |
| | | transition: visibility 0s linear 0.25s, opacity 0.25s ease; |
| | | } |
| | | .tox-editor-dock-transition.tox-editor-dock-fadein { |
| | | transition-delay: 0s; |
| | | } |
| | | .tox .tox-control-wrap { |
| | | flex: 1; |
| | | position: relative; |
| | | } |
| | | .tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, |
| | | .tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, |
| | | .tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { |
| | | display: none; |
| | | } |
| | | .tox .tox-control-wrap svg { |
| | | display: block; |
| | | } |
| | | .tox .tox-control-wrap__status-icon-wrap { |
| | | position: absolute; |
| | | top: 50%; |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox .tox-control-wrap__status-icon-invalid svg { |
| | | fill: #c00; |
| | | } |
| | | .tox .tox-control-wrap__status-icon-unknown svg { |
| | | fill: orange; |
| | | } |
| | | .tox .tox-control-wrap__status-icon-valid svg { |
| | | fill: green; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, |
| | | .tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, |
| | | .tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { |
| | | padding-right: 32px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { |
| | | right: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, |
| | | .tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, |
| | | .tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { |
| | | padding-left: 32px; |
| | | } |
| | | .tox[dir=rtl] .tox-control-wrap__status-icon-wrap { |
| | | left: 4px; |
| | | } |
| | | .tox .tox-autocompleter { |
| | | max-width: 25em; |
| | | } |
| | | .tox .tox-autocompleter .tox-menu { |
| | | max-width: 25em; |
| | | } |
| | | .tox .tox-autocompleter .tox-autocompleter-highlight { |
| | | font-weight: bold; |
| | | } |
| | | .tox .tox-color-input { |
| | | display: flex; |
| | | } |
| | | .tox .tox-color-input .tox-textfield { |
| | | border-radius: 3px 0 0 3px; |
| | | display: flex; |
| | | } |
| | | .tox .tox-color-input span { |
| | | border-color: rgba(42, 55, 70, 0.2); |
| | | border-radius: 0 3px 3px 0; |
| | | border-style: solid; |
| | | border-width: 1px 1px 1px 0; |
| | | box-shadow: none; |
| | | box-sizing: border-box; |
| | | cursor: pointer; |
| | | display: flex; |
| | | width: 35px; |
| | | } |
| | | .tox .tox-color-input span:focus { |
| | | border-color: #207ab7; |
| | | } |
| | | .tox[dir="rtl"] .tox-color-input .tox-textfield { |
| | | border-radius: 0 3px 3px 0; |
| | | } |
| | | .tox[dir="rtl"] .tox-color-input span { |
| | | border-radius: 3px 0 0 3px; |
| | | border-width: 1px 0 1px 1px; |
| | | } |
| | | .tox .tox-label, |
| | | .tox .tox-toolbar-label { |
| | | color: rgba(255, 255, 255, 0.5); |
| | | display: block; |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: 1.3; |
| | | padding: 0 8px 0 0; |
| | | text-transform: normal; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-toolbar-label { |
| | | padding: 0 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-label { |
| | | padding: 0 0 0 8px; |
| | | } |
| | | .tox .tox-form { |
| | | display: flex; |
| | | flex: 1; |
| | | flex-direction: column; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-form__group { |
| | | box-sizing: border-box; |
| | | margin-bottom: 4px; |
| | | } |
| | | .tox .tox-form-group--maximize { |
| | | flex: 1; |
| | | } |
| | | .tox .tox-form__group--error { |
| | | color: #c00; |
| | | } |
| | | .tox .tox-form__group--collection { |
| | | display: flex; |
| | | } |
| | | .tox .tox-form__grid { |
| | | display: flex; |
| | | flex-direction: row; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | } |
| | | .tox .tox-form__grid--2col > .tox-form__group { |
| | | width: calc(50% - (8px / 2)); |
| | | } |
| | | .tox .tox-form__grid--3col > .tox-form__group { |
| | | width: calc(100% / 3 - (8px / 2)); |
| | | } |
| | | .tox .tox-form__grid--4col > .tox-form__group { |
| | | width: calc(25% - (8px / 2)); |
| | | } |
| | | .tox .tox-form__controls-h-stack { |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | .tox .tox-form__group--inline { |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | .tox .tox-form__group--stretched { |
| | | display: flex; |
| | | flex: 1; |
| | | flex-direction: column; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-form__group--stretched .tox-textarea { |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-form__group--stretched .tox-navobj { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-form__group--stretched .tox-navobj :nth-child(2) { |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | height: 100%; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { |
| | | margin-left: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { |
| | | margin-right: 4px; |
| | | } |
| | | .tox .tox-lock.tox-locked .tox-lock-icon__unlock, |
| | | .tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { |
| | | display: none; |
| | | } |
| | | .tox .tox-textfield, |
| | | .tox .tox-toolbar-textfield, |
| | | .tox .tox-selectfield select, |
| | | .tox .tox-textarea { |
| | | -webkit-appearance: none; |
| | | -moz-appearance: none; |
| | | appearance: none; |
| | | background-color: #2b3b4e; |
| | | border-color: #000000; |
| | | border-radius: 3px; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-shadow: none; |
| | | box-sizing: border-box; |
| | | color: #fff; |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | font-size: 16px; |
| | | line-height: 24px; |
| | | margin: 0; |
| | | outline: none; |
| | | padding: 5px 4.75px; |
| | | resize: none; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-textfield[disabled], |
| | | .tox .tox-textarea[disabled] { |
| | | background-color: #222f3e; |
| | | color: rgba(255, 255, 255, 0.85); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-textfield:focus, |
| | | .tox .tox-selectfield select:focus, |
| | | .tox .tox-textarea:focus { |
| | | border-color: #207ab7; |
| | | box-shadow: none; |
| | | outline: none; |
| | | } |
| | | .tox .tox-toolbar-textfield { |
| | | border-width: 0; |
| | | margin-bottom: 3px; |
| | | margin-top: 2px; |
| | | max-width: 250px; |
| | | } |
| | | .tox .tox-naked-btn { |
| | | background-color: transparent; |
| | | border: 0; |
| | | border-color: transparent; |
| | | box-shadow: unset; |
| | | color: #207ab7; |
| | | cursor: pointer; |
| | | display: block; |
| | | margin: 0; |
| | | padding: 0; |
| | | } |
| | | .tox .tox-naked-btn svg { |
| | | display: block; |
| | | fill: #fff; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-toolbar-textfield + * { |
| | | margin-left: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-toolbar-textfield + * { |
| | | margin-right: 4px; |
| | | } |
| | | .tox .tox-selectfield { |
| | | cursor: pointer; |
| | | position: relative; |
| | | } |
| | | .tox .tox-selectfield select[disabled] { |
| | | background-color: #19232e; |
| | | color: rgba(255, 255, 255, 0.85); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-selectfield select::-ms-expand { |
| | | display: none; |
| | | } |
| | | .tox .tox-selectfield svg { |
| | | pointer-events: none; |
| | | position: absolute; |
| | | top: 50%; |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox:not([dir=rtl]) .tox-selectfield select[size="0"], |
| | | .tox:not([dir=rtl]) .tox-selectfield select[size="1"] { |
| | | padding-right: 24px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-selectfield svg { |
| | | right: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-selectfield select[size="0"], |
| | | .tox[dir=rtl] .tox-selectfield select[size="1"] { |
| | | padding-left: 24px; |
| | | } |
| | | .tox[dir=rtl] .tox-selectfield svg { |
| | | left: 8px; |
| | | } |
| | | .tox .tox-textarea { |
| | | -webkit-appearance: textarea; |
| | | -moz-appearance: textarea; |
| | | appearance: textarea; |
| | | white-space: pre-wrap; |
| | | } |
| | | .tox-fullscreen { |
| | | border: 0; |
| | | height: 100%; |
| | | left: 0; |
| | | margin: 0; |
| | | overflow: hidden; |
| | | -ms-scroll-chaining: none; |
| | | overscroll-behavior: none; |
| | | padding: 0; |
| | | position: fixed; |
| | | top: 0; |
| | | touch-action: pinch-zoom; |
| | | width: 100%; |
| | | } |
| | | .tox-fullscreen .tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { |
| | | display: none; |
| | | } |
| | | .tox-fullscreen .tox.tox-tinymce.tox-fullscreen { |
| | | z-index: 1200; |
| | | } |
| | | .tox-fullscreen .tox.tox-tinymce-aux { |
| | | z-index: 1201; |
| | | } |
| | | .tox .tox-image-tools { |
| | | width: 100%; |
| | | } |
| | | .tox .tox-image-tools__toolbar { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | .tox .tox-image-tools__image { |
| | | background-color: #666; |
| | | height: 380px; |
| | | overflow: auto; |
| | | position: relative; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-image-tools__image, |
| | | .tox .tox-image-tools__image + .tox-image-tools__toolbar { |
| | | margin-top: 8px; |
| | | } |
| | | .tox .tox-image-tools__image-bg { |
| | | background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); |
| | | } |
| | | .tox .tox-image-tools__toolbar > .tox-spacer { |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-croprect-block { |
| | | background: black; |
| | | filter: alpha(opacity=50); |
| | | opacity: 0.5; |
| | | position: absolute; |
| | | zoom: 1; |
| | | } |
| | | .tox .tox-croprect-handle { |
| | | border: 2px solid white; |
| | | height: 20px; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 20px; |
| | | } |
| | | .tox .tox-croprect-handle-move { |
| | | border: 0; |
| | | cursor: move; |
| | | position: absolute; |
| | | } |
| | | .tox .tox-croprect-handle-nw { |
| | | border-width: 2px 0 0 2px; |
| | | cursor: nw-resize; |
| | | left: 100px; |
| | | margin: -2px 0 0 -2px; |
| | | top: 100px; |
| | | } |
| | | .tox .tox-croprect-handle-ne { |
| | | border-width: 2px 2px 0 0; |
| | | cursor: ne-resize; |
| | | left: 200px; |
| | | margin: -2px 0 0 -20px; |
| | | top: 100px; |
| | | } |
| | | .tox .tox-croprect-handle-sw { |
| | | border-width: 0 0 2px 2px; |
| | | cursor: sw-resize; |
| | | left: 100px; |
| | | margin: -20px 2px 0 -2px; |
| | | top: 200px; |
| | | } |
| | | .tox .tox-croprect-handle-se { |
| | | border-width: 0 2px 2px 0; |
| | | cursor: se-resize; |
| | | left: 200px; |
| | | margin: -20px 0 0 -20px; |
| | | top: 200px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-image-tools__toolbar > .tox-slider:not(:first-of-type) { |
| | | margin-left: 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-image-tools__toolbar > .tox-button + .tox-slider { |
| | | margin-left: 32px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-image-tools__toolbar > .tox-slider + .tox-button { |
| | | margin-left: 32px; |
| | | } |
| | | .tox[dir=rtl] .tox-image-tools__toolbar > .tox-slider:not(:first-of-type) { |
| | | margin-right: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-image-tools__toolbar > .tox-button + .tox-slider { |
| | | margin-right: 32px; |
| | | } |
| | | .tox[dir=rtl] .tox-image-tools__toolbar > .tox-slider + .tox-button { |
| | | margin-right: 32px; |
| | | } |
| | | .tox .tox-insert-table-picker { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | width: 169px; |
| | | } |
| | | .tox .tox-insert-table-picker > div { |
| | | border-color: #000000; |
| | | border-style: solid; |
| | | border-width: 0 1px 1px 0; |
| | | box-sizing: content-box; |
| | | height: 16px; |
| | | width: 16px; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { |
| | | margin: -4px 0; |
| | | } |
| | | .tox .tox-insert-table-picker .tox-insert-table-picker__selected { |
| | | background-color: rgba(32, 122, 183, 0.5); |
| | | border-color: rgba(32, 122, 183, 0.5); |
| | | } |
| | | .tox .tox-insert-table-picker__label { |
| | | color: #fff; |
| | | display: block; |
| | | font-size: 14px; |
| | | padding: 4px; |
| | | text-align: center; |
| | | width: 100%; |
| | | } |
| | | .tox:not([dir=rtl]) { |
| | | /* stylelint-disable-next-line no-descending-specificity */ |
| | | } |
| | | .tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { |
| | | border-right: 0; |
| | | } |
| | | .tox[dir=rtl] { |
| | | /* stylelint-disable-next-line no-descending-specificity */ |
| | | } |
| | | .tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { |
| | | border-right: 0; |
| | | } |
| | | .tox { |
| | | /* stylelint-disable */ |
| | | /* stylelint-enable */ |
| | | } |
| | | .tox .tox-menu { |
| | | background-color: #2b3b4e; |
| | | border: 1px solid #000000; |
| | | border-radius: 3px; |
| | | box-shadow: 0 4px 8px 0 rgba(42, 55, 70, 0.1); |
| | | display: inline-block; |
| | | overflow: hidden; |
| | | vertical-align: top; |
| | | z-index: 1150; |
| | | } |
| | | .tox .tox-menu.tox-collection.tox-collection--list { |
| | | padding: 0; |
| | | } |
| | | .tox .tox-menu.tox-collection.tox-collection--toolbar { |
| | | padding: 4px; |
| | | } |
| | | .tox .tox-menu.tox-collection.tox-collection--grid { |
| | | padding: 4px; |
| | | } |
| | | .tox .tox-menu__label h1, |
| | | .tox .tox-menu__label h2, |
| | | .tox .tox-menu__label h3, |
| | | .tox .tox-menu__label h4, |
| | | .tox .tox-menu__label h5, |
| | | .tox .tox-menu__label h6, |
| | | .tox .tox-menu__label p, |
| | | .tox .tox-menu__label blockquote, |
| | | .tox .tox-menu__label code { |
| | | margin: 0; |
| | | } |
| | | .tox .tox-menubar { |
| | | background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e; |
| | | background-color: #222f3e; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | flex-shrink: 0; |
| | | flex-wrap: wrap; |
| | | padding: 0 4px 0 4px; |
| | | } |
| | | /* Deprecated. Remove in next major release */ |
| | | .tox .tox-mbtn { |
| | | align-items: center; |
| | | background: none; |
| | | border: 0; |
| | | border-radius: 3px; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | height: 34px; |
| | | justify-content: center; |
| | | margin: 2px 0 3px 0; |
| | | outline: none; |
| | | overflow: hidden; |
| | | padding: 0 4px; |
| | | text-transform: normal; |
| | | width: auto; |
| | | } |
| | | .tox .tox-mbtn[disabled] { |
| | | background-color: none; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: rgba(255, 255, 255, 0.5); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-mbtn:focus:not(:disabled) { |
| | | background: #4a5562; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-mbtn--active { |
| | | background: #757d87; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { |
| | | background: #4a5562; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-mbtn__select-label { |
| | | cursor: default; |
| | | font-weight: normal; |
| | | margin: 0 4px; |
| | | } |
| | | .tox .tox-mbtn[disabled] .tox-mbtn__select-label { |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-mbtn__select-chevron { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | width: 16px; |
| | | display: none; |
| | | } |
| | | .tox .tox-notification { |
| | | border-radius: 3px; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-shadow: none; |
| | | box-sizing: border-box; |
| | | display: -ms-grid; |
| | | display: grid; |
| | | font-size: 14px; |
| | | font-weight: normal; |
| | | -ms-grid-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); |
| | | grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); |
| | | margin-top: 4px; |
| | | opacity: 0; |
| | | padding: 4px; |
| | | transition: transform 100ms ease-in, opacity 150ms ease-in; |
| | | } |
| | | .tox .tox-notification p { |
| | | font-size: 14px; |
| | | font-weight: normal; |
| | | } |
| | | .tox .tox-notification a { |
| | | text-decoration: underline; |
| | | } |
| | | .tox .tox-notification--in { |
| | | opacity: 1; |
| | | } |
| | | .tox .tox-notification--success { |
| | | background-color: #e4eeda; |
| | | border-color: #d7e6c8; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-notification--success p { |
| | | color: #fff; |
| | | } |
| | | .tox .tox-notification--success a { |
| | | color: #547831; |
| | | } |
| | | .tox .tox-notification--success svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .tox-notification--error { |
| | | background-color: #f8dede; |
| | | border-color: #f2bfbf; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-notification--error p { |
| | | color: #fff; |
| | | } |
| | | .tox .tox-notification--error a { |
| | | color: #c00; |
| | | } |
| | | .tox .tox-notification--error svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .tox-notification--warn, |
| | | .tox .tox-notification--warning { |
| | | background-color: #fffaea; |
| | | border-color: #ffe89d; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-notification--warn p, |
| | | .tox .tox-notification--warning p { |
| | | color: #fff; |
| | | } |
| | | .tox .tox-notification--warn a, |
| | | .tox .tox-notification--warning a { |
| | | color: #fff; |
| | | } |
| | | .tox .tox-notification--warn svg, |
| | | .tox .tox-notification--warning svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .tox-notification--info { |
| | | background-color: #d9edf7; |
| | | border-color: #779ecb; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-notification--info p { |
| | | color: #fff; |
| | | } |
| | | .tox .tox-notification--info a { |
| | | color: #fff; |
| | | } |
| | | .tox .tox-notification--info svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .tox-notification__body { |
| | | -ms-grid-row-align: center; |
| | | align-self: center; |
| | | color: #fff; |
| | | font-size: 14px; |
| | | -ms-grid-column-span: 1; |
| | | grid-column-end: 3; |
| | | -ms-grid-column: 2; |
| | | grid-column-start: 2; |
| | | -ms-grid-row-span: 1; |
| | | grid-row-end: 2; |
| | | -ms-grid-row: 1; |
| | | grid-row-start: 1; |
| | | text-align: center; |
| | | white-space: normal; |
| | | word-break: break-all; |
| | | word-break: break-word; |
| | | } |
| | | .tox .tox-notification__body > * { |
| | | margin: 0; |
| | | } |
| | | .tox .tox-notification__body > * + * { |
| | | margin-top: 1rem; |
| | | } |
| | | .tox .tox-notification__icon { |
| | | -ms-grid-row-align: center; |
| | | align-self: center; |
| | | -ms-grid-column-span: 1; |
| | | grid-column-end: 2; |
| | | -ms-grid-column: 1; |
| | | grid-column-start: 1; |
| | | -ms-grid-row-span: 1; |
| | | grid-row-end: 2; |
| | | -ms-grid-row: 1; |
| | | grid-row-start: 1; |
| | | -ms-grid-column-align: end; |
| | | justify-self: end; |
| | | } |
| | | .tox .tox-notification__icon svg { |
| | | display: block; |
| | | } |
| | | .tox .tox-notification__dismiss { |
| | | -ms-grid-row-align: start; |
| | | align-self: start; |
| | | -ms-grid-column-span: 1; |
| | | grid-column-end: 4; |
| | | -ms-grid-column: 3; |
| | | grid-column-start: 3; |
| | | -ms-grid-row-span: 1; |
| | | grid-row-end: 2; |
| | | -ms-grid-row: 1; |
| | | grid-row-start: 1; |
| | | -ms-grid-column-align: end; |
| | | justify-self: end; |
| | | } |
| | | .tox .tox-notification .tox-progress-bar { |
| | | -ms-grid-column-span: 3; |
| | | grid-column-end: 4; |
| | | -ms-grid-column: 1; |
| | | grid-column-start: 1; |
| | | -ms-grid-row-span: 1; |
| | | grid-row-end: 3; |
| | | -ms-grid-row: 2; |
| | | grid-row-start: 2; |
| | | -ms-grid-column-align: center; |
| | | justify-self: center; |
| | | } |
| | | .tox .tox-pop { |
| | | display: inline-block; |
| | | position: relative; |
| | | } |
| | | .tox .tox-pop--resizing { |
| | | transition: width 0.1s ease; |
| | | } |
| | | .tox .tox-pop--resizing .tox-toolbar { |
| | | flex-wrap: nowrap; |
| | | } |
| | | .tox .tox-pop__dialog { |
| | | background-color: #222f3e; |
| | | border: 1px solid #000000; |
| | | border-radius: 3px; |
| | | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); |
| | | min-width: 0; |
| | | overflow: hidden; |
| | | } |
| | | .tox .tox-pop__dialog > *:not(.tox-toolbar) { |
| | | margin: 4px 4px 4px 8px; |
| | | } |
| | | .tox .tox-pop__dialog .tox-toolbar { |
| | | background-color: transparent; |
| | | margin-bottom: -1px; |
| | | } |
| | | .tox .tox-pop::before, |
| | | .tox .tox-pop::after { |
| | | border-style: solid; |
| | | content: ''; |
| | | display: block; |
| | | height: 0; |
| | | position: absolute; |
| | | width: 0; |
| | | } |
| | | .tox .tox-pop.tox-pop--bottom::before, |
| | | .tox .tox-pop.tox-pop--bottom::after { |
| | | left: 50%; |
| | | top: 100%; |
| | | } |
| | | .tox .tox-pop.tox-pop--bottom::after { |
| | | border-color: #222f3e transparent transparent transparent; |
| | | border-width: 8px; |
| | | margin-left: -8px; |
| | | margin-top: -1px; |
| | | } |
| | | .tox .tox-pop.tox-pop--bottom::before { |
| | | border-color: #000000 transparent transparent transparent; |
| | | border-width: 9px; |
| | | margin-left: -9px; |
| | | } |
| | | .tox .tox-pop.tox-pop--top::before, |
| | | .tox .tox-pop.tox-pop--top::after { |
| | | left: 50%; |
| | | top: 0; |
| | | transform: translateY(-100%); |
| | | } |
| | | .tox .tox-pop.tox-pop--top::after { |
| | | border-color: transparent transparent #222f3e transparent; |
| | | border-width: 8px; |
| | | margin-left: -8px; |
| | | margin-top: 1px; |
| | | } |
| | | .tox .tox-pop.tox-pop--top::before { |
| | | border-color: transparent transparent #000000 transparent; |
| | | border-width: 9px; |
| | | margin-left: -9px; |
| | | } |
| | | .tox .tox-pop.tox-pop--left::before, |
| | | .tox .tox-pop.tox-pop--left::after { |
| | | left: 0; |
| | | top: calc(50% - 1px); |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox .tox-pop.tox-pop--left::after { |
| | | border-color: transparent #222f3e transparent transparent; |
| | | border-width: 8px; |
| | | margin-left: -15px; |
| | | } |
| | | .tox .tox-pop.tox-pop--left::before { |
| | | border-color: transparent #000000 transparent transparent; |
| | | border-width: 10px; |
| | | margin-left: -19px; |
| | | } |
| | | .tox .tox-pop.tox-pop--right::before, |
| | | .tox .tox-pop.tox-pop--right::after { |
| | | left: 100%; |
| | | top: calc(50% + 1px); |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox .tox-pop.tox-pop--right::after { |
| | | border-color: transparent transparent transparent #222f3e; |
| | | border-width: 8px; |
| | | margin-left: -1px; |
| | | } |
| | | .tox .tox-pop.tox-pop--right::before { |
| | | border-color: transparent transparent transparent #000000; |
| | | border-width: 10px; |
| | | margin-left: -1px; |
| | | } |
| | | .tox .tox-pop.tox-pop--align-left::before, |
| | | .tox .tox-pop.tox-pop--align-left::after { |
| | | left: 20px; |
| | | } |
| | | .tox .tox-pop.tox-pop--align-right::before, |
| | | .tox .tox-pop.tox-pop--align-right::after { |
| | | left: calc(100% - 20px); |
| | | } |
| | | .tox .tox-sidebar-wrap { |
| | | display: flex; |
| | | flex-direction: row; |
| | | flex-grow: 1; |
| | | -ms-flex-preferred-size: 0; |
| | | min-height: 0; |
| | | } |
| | | .tox .tox-sidebar { |
| | | background-color: #222f3e; |
| | | display: flex; |
| | | flex-direction: row; |
| | | justify-content: flex-end; |
| | | } |
| | | .tox .tox-sidebar__slider { |
| | | display: flex; |
| | | overflow: hidden; |
| | | } |
| | | .tox .tox-sidebar__pane-container { |
| | | display: flex; |
| | | } |
| | | .tox .tox-sidebar__pane { |
| | | display: flex; |
| | | } |
| | | .tox .tox-sidebar--sliding-closed { |
| | | opacity: 0; |
| | | } |
| | | .tox .tox-sidebar--sliding-open { |
| | | opacity: 1; |
| | | } |
| | | .tox .tox-sidebar--sliding-growing, |
| | | .tox .tox-sidebar--sliding-shrinking { |
| | | transition: width 0.5s ease, opacity 0.5s ease; |
| | | } |
| | | .tox .tox-selector { |
| | | background-color: #4099ff; |
| | | border-color: #4099ff; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-sizing: border-box; |
| | | display: inline-block; |
| | | height: 10px; |
| | | position: absolute; |
| | | width: 10px; |
| | | z-index: 10000; |
| | | } |
| | | .tox .tox-slider { |
| | | align-items: center; |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | height: 24px; |
| | | justify-content: center; |
| | | position: relative; |
| | | } |
| | | .tox .tox-slider__rail { |
| | | background-color: transparent; |
| | | border: 1px solid #000000; |
| | | border-radius: 3px; |
| | | height: 10px; |
| | | min-width: 120px; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-slider__handle { |
| | | background-color: #207ab7; |
| | | border: 2px solid #185d8c; |
| | | border-radius: 3px; |
| | | box-shadow: none; |
| | | height: 24px; |
| | | left: 50%; |
| | | position: absolute; |
| | | top: 50%; |
| | | transform: translateX(-50%) translateY(-50%); |
| | | width: 14px; |
| | | } |
| | | .tox .tox-source-code { |
| | | overflow: auto; |
| | | } |
| | | .tox .tox-spinner { |
| | | display: flex; |
| | | } |
| | | .tox .tox-spinner > div { |
| | | animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; |
| | | background-color: rgba(255, 255, 255, 0.5); |
| | | border-radius: 100%; |
| | | height: 8px; |
| | | width: 8px; |
| | | } |
| | | .tox .tox-spinner > div:nth-child(1) { |
| | | animation-delay: -0.32s; |
| | | } |
| | | .tox .tox-spinner > div:nth-child(2) { |
| | | animation-delay: -0.16s; |
| | | } |
| | | @keyframes tam-bouncing-dots { |
| | | 0%, |
| | | 80%, |
| | | 100% { |
| | | transform: scale(0); |
| | | } |
| | | 40% { |
| | | transform: scale(1); |
| | | } |
| | | } |
| | | .tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { |
| | | margin-left: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-spinner > div:not(:first-child) { |
| | | margin-right: 4px; |
| | | } |
| | | .tox .tox-statusbar { |
| | | align-items: center; |
| | | background-color: #222f3e; |
| | | border-top: 1px solid #000000; |
| | | color: #fff; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | font-size: 12px; |
| | | font-weight: normal; |
| | | height: 18px; |
| | | overflow: hidden; |
| | | padding: 0 8px; |
| | | position: relative; |
| | | text-transform: uppercase; |
| | | } |
| | | .tox .tox-statusbar__text-container { |
| | | display: flex; |
| | | flex: 1 1 auto; |
| | | justify-content: flex-end; |
| | | overflow: hidden; |
| | | } |
| | | .tox .tox-statusbar__path { |
| | | display: flex; |
| | | flex: 1 1 auto; |
| | | margin-right: auto; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-statusbar__path > * { |
| | | display: inline; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-statusbar__wordcount { |
| | | flex: 0 0 auto; |
| | | margin-left: 1ch; |
| | | } |
| | | .tox .tox-statusbar a, |
| | | .tox .tox-statusbar__path-item, |
| | | .tox .tox-statusbar__wordcount { |
| | | color: #fff; |
| | | text-decoration: none; |
| | | } |
| | | .tox .tox-statusbar a:hover, |
| | | .tox .tox-statusbar__path-item:hover, |
| | | .tox .tox-statusbar__wordcount:hover, |
| | | .tox .tox-statusbar a:focus, |
| | | .tox .tox-statusbar__path-item:focus, |
| | | .tox .tox-statusbar__wordcount:focus { |
| | | cursor: pointer; |
| | | text-decoration: underline; |
| | | } |
| | | .tox .tox-statusbar__resize-handle { |
| | | align-items: flex-end; |
| | | align-self: stretch; |
| | | cursor: nwse-resize; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | justify-content: flex-end; |
| | | margin-left: auto; |
| | | margin-right: -8px; |
| | | padding-left: 1ch; |
| | | } |
| | | .tox .tox-statusbar__resize-handle svg { |
| | | display: block; |
| | | fill: #fff; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-statusbar__path > * { |
| | | margin-right: 4px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-statusbar__branding { |
| | | margin-left: 1ch; |
| | | } |
| | | .tox[dir=rtl] .tox-statusbar { |
| | | flex-direction: row-reverse; |
| | | } |
| | | .tox[dir=rtl] .tox-statusbar__path > * { |
| | | margin-left: 4px; |
| | | } |
| | | .tox .tox-throbber { |
| | | z-index: 1400; |
| | | } |
| | | .tox .tox-throbber__busy-spinner { |
| | | align-items: center; |
| | | background-color: rgba(34, 47, 62, 0.6); |
| | | bottom: 0; |
| | | display: flex; |
| | | justify-content: center; |
| | | left: 0; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | } |
| | | .tox .tox-tbtn { |
| | | align-items: center; |
| | | background: none; |
| | | border: 0; |
| | | border-radius: 3px; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | height: 34px; |
| | | justify-content: center; |
| | | margin: 2px 0 3px 0; |
| | | outline: none; |
| | | overflow: hidden; |
| | | padding: 0; |
| | | text-transform: normal; |
| | | width: 34px; |
| | | } |
| | | .tox .tox-tbtn svg { |
| | | display: block; |
| | | fill: #fff; |
| | | } |
| | | .tox .tox-tbtn.tox-tbtn-more { |
| | | padding-left: 5px; |
| | | padding-right: 5px; |
| | | width: inherit; |
| | | } |
| | | .tox .tox-tbtn:focus { |
| | | background: #4a5562; |
| | | border: 0; |
| | | box-shadow: none; |
| | | } |
| | | .tox .tox-tbtn:hover { |
| | | background: #4a5562; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-tbtn:hover svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .tox-tbtn:active { |
| | | background: #757d87; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-tbtn:active svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .tox-tbtn--disabled, |
| | | .tox .tox-tbtn--disabled:hover, |
| | | .tox .tox-tbtn:disabled, |
| | | .tox .tox-tbtn:disabled:hover { |
| | | background: none; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: rgba(255, 255, 255, 0.5); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-tbtn--disabled svg, |
| | | .tox .tox-tbtn--disabled:hover svg, |
| | | .tox .tox-tbtn:disabled svg, |
| | | .tox .tox-tbtn:disabled:hover svg { |
| | | /* stylelint-disable-line no-descending-specificity */ |
| | | fill: rgba(255, 255, 255, 0.5); |
| | | } |
| | | .tox .tox-tbtn--enabled, |
| | | .tox .tox-tbtn--enabled:hover { |
| | | background: #757d87; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-tbtn--enabled > *, |
| | | .tox .tox-tbtn--enabled:hover > * { |
| | | transform: none; |
| | | } |
| | | .tox .tox-tbtn--enabled svg, |
| | | .tox .tox-tbtn--enabled:hover svg { |
| | | /* stylelint-disable-line no-descending-specificity */ |
| | | fill: #fff; |
| | | } |
| | | .tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { |
| | | color: #fff; |
| | | } |
| | | .tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { |
| | | fill: #fff; |
| | | } |
| | | .tox .tox-tbtn:active > * { |
| | | transform: none; |
| | | } |
| | | .tox .tox-tbtn--md { |
| | | height: 51px; |
| | | width: 51px; |
| | | } |
| | | .tox .tox-tbtn--lg { |
| | | flex-direction: column; |
| | | height: 68px; |
| | | width: 68px; |
| | | } |
| | | .tox .tox-tbtn--return { |
| | | -ms-grid-row-align: stretch; |
| | | align-self: stretch; |
| | | height: unset; |
| | | width: 16px; |
| | | } |
| | | .tox .tox-tbtn--labeled { |
| | | padding: 0 4px; |
| | | width: unset; |
| | | } |
| | | .tox .tox-tbtn__vlabel { |
| | | display: block; |
| | | font-size: 10px; |
| | | font-weight: normal; |
| | | letter-spacing: -0.025em; |
| | | margin-bottom: 4px; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-tbtn--select { |
| | | margin: 2px 0 3px 0; |
| | | padding: 0 4px; |
| | | width: auto; |
| | | } |
| | | .tox .tox-tbtn__select-label { |
| | | cursor: default; |
| | | font-weight: normal; |
| | | margin: 0 4px; |
| | | } |
| | | .tox .tox-tbtn__select-chevron { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | width: 16px; |
| | | } |
| | | .tox .tox-tbtn__select-chevron svg { |
| | | fill: rgba(255, 255, 255, 0.5); |
| | | } |
| | | .tox .tox-tbtn--bespoke .tox-tbtn__select-label { |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | width: 7em; |
| | | } |
| | | .tox .tox-split-button { |
| | | border: 0; |
| | | border-radius: 3px; |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | margin: 2px 0 3px 0; |
| | | overflow: hidden; |
| | | } |
| | | .tox .tox-split-button:hover { |
| | | box-shadow: 0 0 0 1px #4a5562 inset; |
| | | } |
| | | .tox .tox-split-button:focus { |
| | | background: #4a5562; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-split-button > * { |
| | | border-radius: 0; |
| | | } |
| | | .tox .tox-split-button__chevron { |
| | | width: 16px; |
| | | } |
| | | .tox .tox-split-button__chevron svg { |
| | | fill: rgba(255, 255, 255, 0.5); |
| | | } |
| | | .tox .tox-pop .tox-split-button__chevron svg { |
| | | transform: rotate(-90deg); |
| | | } |
| | | .tox .tox-split-button .tox-tbtn { |
| | | margin: 0; |
| | | } |
| | | .tox.tox-platform-touch .tox-split-button .tox-tbtn:first-child { |
| | | width: 30px; |
| | | } |
| | | .tox.tox-platform-touch .tox-split-button__chevron { |
| | | width: 20px; |
| | | } |
| | | .tox .tox-split-button.tox-tbtn--disabled:hover, |
| | | .tox .tox-split-button.tox-tbtn--disabled:focus, |
| | | .tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, |
| | | .tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { |
| | | background: none; |
| | | box-shadow: none; |
| | | color: rgba(255, 255, 255, 0.5); |
| | | } |
| | | .tox .tox-toolbar-overlord { |
| | | background-color: #222f3e; |
| | | } |
| | | .tox .tox-toolbar, |
| | | .tox .tox-toolbar__primary, |
| | | .tox .tox-toolbar__overflow { |
| | | background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e; |
| | | background-color: #222f3e; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | flex-shrink: 0; |
| | | flex-wrap: wrap; |
| | | padding: 0 0; |
| | | } |
| | | .tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { |
| | | height: 0; |
| | | opacity: 0; |
| | | padding-bottom: 0; |
| | | padding-top: 0; |
| | | visibility: hidden; |
| | | } |
| | | .tox .tox-toolbar__overflow--growing { |
| | | transition: height 0.3s ease, opacity 0.2s linear 0.1s; |
| | | } |
| | | .tox .tox-toolbar__overflow--shrinking { |
| | | transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; |
| | | } |
| | | .tox .tox-pop .tox-toolbar { |
| | | border-width: 0; |
| | | } |
| | | .tox .tox-toolbar--no-divider { |
| | | background-image: none; |
| | | } |
| | | .tox.tox-platform-touch .tox-editor-container .tox-toolbar, |
| | | .tox.tox-tinymce-aux.tox-platform-touch .tox-toolbar { |
| | | flex-wrap: nowrap; |
| | | overflow-x: auto; |
| | | } |
| | | .tox.tox-tinymce-aux .tox-toolbar__overflow { |
| | | background-color: #222f3e; |
| | | border: 1px solid #000000; |
| | | border-radius: 3px; |
| | | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); |
| | | } |
| | | .tox[dir=rtl] .tox-tbtn__icon-rtl svg { |
| | | transform: rotateY(180deg); |
| | | } |
| | | .tox .tox-toolbar__group { |
| | | align-items: center; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | margin: 0 0; |
| | | padding: 0 4px 0 4px; |
| | | } |
| | | .tox .tox-toolbar__group--pull-right { |
| | | margin-left: auto; |
| | | } |
| | | .tox.tox-platform-touch .tox-editor-container .tox-toolbar__group, |
| | | .tox.tox-tinymce-aux.tox-platform-touch .tox-toolbar__group { |
| | | flex-wrap: nowrap; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { |
| | | border-right: 1px solid #000000; |
| | | } |
| | | .tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { |
| | | border-left: 1px solid #000000; |
| | | } |
| | | .tox .tox-tooltip { |
| | | display: inline-block; |
| | | padding: 8px; |
| | | position: relative; |
| | | } |
| | | .tox .tox-tooltip__body { |
| | | background-color: #3d546f; |
| | | border-radius: 3px; |
| | | box-shadow: 0 2px 4px rgba(42, 55, 70, 0.3); |
| | | color: rgba(255, 255, 255, 0.75); |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | padding: 4px 8px; |
| | | text-transform: normal; |
| | | } |
| | | .tox .tox-tooltip__arrow { |
| | | position: absolute; |
| | | } |
| | | .tox .tox-tooltip--down .tox-tooltip__arrow { |
| | | border-left: 8px solid transparent; |
| | | border-right: 8px solid transparent; |
| | | border-top: 8px solid #3d546f; |
| | | bottom: 0; |
| | | left: 50%; |
| | | position: absolute; |
| | | transform: translateX(-50%); |
| | | } |
| | | .tox .tox-tooltip--up .tox-tooltip__arrow { |
| | | border-bottom: 8px solid #3d546f; |
| | | border-left: 8px solid transparent; |
| | | border-right: 8px solid transparent; |
| | | left: 50%; |
| | | position: absolute; |
| | | top: 0; |
| | | transform: translateX(-50%); |
| | | } |
| | | .tox .tox-tooltip--right .tox-tooltip__arrow { |
| | | border-bottom: 8px solid transparent; |
| | | border-left: 8px solid #3d546f; |
| | | border-top: 8px solid transparent; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 50%; |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox .tox-tooltip--left .tox-tooltip__arrow { |
| | | border-bottom: 8px solid transparent; |
| | | border-right: 8px solid #3d546f; |
| | | border-top: 8px solid transparent; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 50%; |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox .tox-well { |
| | | border: 1px solid #000000; |
| | | border-radius: 3px; |
| | | padding: 8px; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-well > *:first-child { |
| | | margin-top: 0; |
| | | } |
| | | .tox .tox-well > *:last-child { |
| | | margin-bottom: 0; |
| | | } |
| | | .tox .tox-well > *:only-child { |
| | | margin: 0; |
| | | } |
| | | .tox .tox-custom-editor { |
| | | border: 1px solid #000000; |
| | | border-radius: 3px; |
| | | display: flex; |
| | | height: 525px; |
| | | } |
| | | /* stylelint-disable */ |
| | | .tox { |
| | | /* stylelint-enable */ |
| | | } |
| | | .tox .tox-dialog-loading::before { |
| | | background-color: rgba(0, 0, 0, 0.5); |
| | | content: ""; |
| | | height: 100%; |
| | | position: absolute; |
| | | width: 100%; |
| | | z-index: 1000; |
| | | } |
| | | .tox .tox-tab { |
| | | cursor: pointer; |
| | | } |
| | | .tox .tox-dialog__content-js { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-collection { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-image-tools-edit-panel { |
| | | height: 60px; |
| | | } |
| | | .tox .tox-image-tools__sidebar { |
| | | height: 60px; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .tox{box-sizing:content-box;color:#2a3746;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg){background:0 0;border:0;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:1px solid #000;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox-tinymce-inline{border:none;box-shadow:none}.tox-tinymce-inline .tox-editor-header{border:1px solid #000;border-bottom:0;border-radius:0;box-shadow:none}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border:1px solid #000;border-radius:3px;display:flex;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>:last-child:not(:only-child){border-color:#000;border-style:solid}.tox .accessibility-issue__repair{margin-top:16px}.tox .accessibility-issue--info .accessibility-issue__description{background-color:rgba(32,122,183,.5);border-color:#207ab7;color:#fff}.tox .accessibility-issue--info .accessibility-issue__description>:last-child{border-color:#207ab7}.tox .accessibility-issue--info h2{color:#fff}.tox .accessibility-issue--info .tox-icon svg{fill:#fff}.tox .accessibility-issue--info a .tox-icon{color:#fff}.tox .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.5);border-color:rgba(255,165,0,.8);color:#fff}.tox .accessibility-issue--warn .accessibility-issue__description>:last-child{border-color:rgba(255,165,0,.8)}.tox .accessibility-issue--warn h2{color:#fff}.tox .accessibility-issue--warn .tox-icon svg{fill:#fff}.tox .accessibility-issue--warn a .tox-icon{color:#fff}.tox .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.5);border-color:rgba(204,0,0,.8);color:#fff}.tox .accessibility-issue--error .accessibility-issue__description>:last-child{border-color:rgba(204,0,0,.8)}.tox .accessibility-issue--error h2{color:#fff}.tox .accessibility-issue--error .tox-icon svg{fill:#fff}.tox .accessibility-issue--error a .tox-icon{color:#fff}.tox .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.5);border-color:rgba(120,171,70,.8);color:#fff}.tox .accessibility-issue--success .accessibility-issue__description>:last-child{border-color:rgba(120,171,70,.8)}.tox .accessibility-issue--success h2{color:#fff}.tox .accessibility-issue--success .tox-icon svg{fill:#fff}.tox .accessibility-issue--success a .tox-icon{color:#fff}.tox .tox-dialog__body-content .accessibility-issue__header h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .accessibility-issue__description{padding:4px 4px 4px 8px}.tox:not([dir=rtl]) .accessibility-issue__description>:last-child{border-left-width:1px;padding-left:4px}.tox[dir=rtl] .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .accessibility-issue__description{padding:4px 8px 4px 4px}.tox[dir=rtl] .accessibility-issue__description>:last-child{border-right-width:1px;padding-right:4px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#207ab7;background-image:none;background-position:none;background-repeat:none;border-color:#207ab7;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-weight:700;letter-spacing:1;line-height:24px;margin:0;outline:0;padding:4px 16px;text-align:center;text-decoration:none;text-transform:capitalize;white-space:nowrap}.tox .tox-button[disabled]{background-color:#207ab7;background-image:none;border-color:#207ab7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#1c6ca1;background-image:none;border-color:#1c6ca1;box-shadow:none;color:#fff}.tox .tox-button:hover:not(:disabled){background-color:#1c6ca1;background-image:none;border-color:#1c6ca1;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#185d8c;background-image:none;border-color:#185d8c;box-shadow:none;color:#fff}.tox .tox-button--secondary{background-color:#3d546f;background-image:none;background-position:none;background-repeat:none;border-color:#3d546f;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;color:#fff;outline:0;padding:4px 16px;text-decoration:none;text-transform:capitalize}.tox .tox-button--secondary[disabled]{background-color:#3d546f;background-image:none;border-color:#3d546f;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#34485f;background-image:none;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--secondary:hover:not(:disabled){background-color:#34485f;background-image:none;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--secondary:active:not(:disabled){background-color:#2b3b4e;background-image:none;border-color:#2b3b4e;box-shadow:none;color:#fff}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#fff}.tox .tox-button--naked[disabled]{background-color:#3d546f;border-color:#3d546f;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:#34485f;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--naked:focus:not(:disabled){background-color:#34485f;border-color:#34485f;box-shadow:none;color:#fff}.tox .tox-button--naked:active:not(:disabled){background-color:#2b3b4e;border-color:#2b3b4e;box-shadow:none;color:#fff}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#fff}.tox .tox-checkbox{align-items:center;border-radius:3px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;left:-10000px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:3px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(255,255,255,.2)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#207ab7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#207ab7}.tox .tox-checkbox--disabled{color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(255,255,255,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(255,255,255,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(255,255,255,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:3px;box-shadow:inset 0 0 0 1px #207ab7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#1a1a1a;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#333;color:#fff;cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;color:#fff;cursor:pointer;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:inherit;color:contrast(inherit,#2a3746,#fff)}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#757d87;color:#fff}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#757d87;color:#fff}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#4a5562;color:#fff}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(255,255,255,.5);cursor:default}.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;-ms-flex-preferred-size:auto;font-size:14px;font-style:normal;font-weight:400;line-height:24px;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(255,255,255,.5);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:normal}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#fff}.tox .tox-collection__item[role=menuitemcheckbox]:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--horizontal{background-color:#2b3b4e;border:1px solid #1a1a1a;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:2px 0 3px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #000}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #000}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-icon-rtl .tox-collection__item-icon svg{transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#4a5562}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#2b3b4e;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#2b3b4e;border:1px solid #000;border-radius:3px;box-shadow:0 4px 8px 0 rgba(42,55,70,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#fff;display:flex;justify-content:space-between}.tox .tox-comment__date{color:rgba(255,255,255,.5);font-size:12px}.tox .tox-comment__body{color:#fff;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(255,255,255,.5);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#2b3b4e;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(43,59,78,0),#2b3b4e);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#2b3b4e;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#fff;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#2b3b4e;box-shadow:0 0 8px 8px #2b3b4e;color:#fff;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#2b3b4e;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(255,255,255,.5)}.tox .tox-user__name{color:rgba(255,255,255,.5);font-size:12px;font-style:normal;font-weight:700;text-transform:uppercase}.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(34,47,62,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#222f3e}.tox .tox-dialog{background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(42,55,70,.15),0 0 40px 1px rgba(42,55,70,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#2b3b4e;border-bottom:none;color:#fff;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:normal}.tox .tox-dialog__body{color:#fff;display:flex;flex:1;-ms-flex-preferred-size:auto;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:normal}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;padding:16px 16px}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(255,255,255,.5);display:inline-block;font-size:14px;line-height:1.3;margin-bottom:8px;text-decoration:none;white-space:nowrap}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #207ab7;color:#207ab7}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;-ms-flex-preferred-size:auto;max-height:650px;overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#207ab7;cursor:pointer;text-decoration:none}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#185d8c;text-decoration:none}.tox .tox-dialog__body-content a:active{color:#185d8c;text-decoration:none}.tox .tox-dialog__body-content ul{display:block;list-style-type:disc;margin-bottom:16px;-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:0;margin-inline-start:0;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.tox .tox-dialog__body-content .tox-form__group h1{font-size:20px;font-weight:700;margin-bottom:16px;margin-top:2rem}.tox .tox-dialog__body-content .tox-form__group h2{font-size:16px;font-weight:700;margin-bottom:16px;margin-top:2rem}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#2b3b4e;border-top:1px solid #000;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(34,47,62,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #000}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column;-ms-flex-preferred-size:auto}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1;-ms-flex-preferred-size:auto}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;-ms-flex-preferred-size:auto;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}body.tox-dialog__disable-scroll{overflow:hidden}.tox.tox-platform-ie .tox-dialog-wrap{position:-ms-device-fixed}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropzone-container{display:flex;flex:1;-ms-flex-preferred-size:auto}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #000;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(255,255,255,.5);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;-ms-flex-preferred-size:auto;overflow:hidden;position:relative}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;-ms-flex-preferred-size:auto;height:100%;position:absolute;width:100%}.tox.tox-inline-edit-area{border:1px dotted #000}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-header{z-index:1}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex}.tox .tox-color-input .tox-textfield{border-radius:3px 0 0 3px;display:flex}.tox .tox-color-input span{border-color:rgba(42,55,70,.2);border-radius:0 3px 3px 0;border-style:solid;border-width:1px 1px 1px 0;box-shadow:none;box-sizing:border-box;cursor:pointer;display:flex;width:35px}.tox .tox-color-input span:focus{border-color:#207ab7}.tox[dir=rtl] .tox-color-input .tox-textfield{border-radius:0 3px 3px 0}.tox[dir=rtl] .tox-color-input span{border-radius:3px 0 0 3px;border-width:1px 0 1px 1px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(255,255,255,.5);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:normal;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column;-ms-flex-preferred-size:auto}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column;-ms-flex-preferred-size:auto}.tox .tox-form__group--stretched .tox-textarea{flex:1;-ms-flex-preferred-size:auto}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1;-ms-flex-preferred-size:auto}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;-ms-flex-preferred-size:auto;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-selectfield select,.tox .tox-textarea,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#2b3b4e;border-color:#000;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#222f3e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select:focus,.tox .tox-textarea:focus,.tox .tox-textfield:focus{border-color:#207ab7;box-shadow:none;outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#fff}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select[disabled]{background-color:#19232e;color:rgba(255,255,255,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox-fullscreen{border:0;height:100%;left:0;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;position:fixed;top:0;touch-action:pinch-zoom;width:100%}.tox-fullscreen .tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-fullscreen .tox.tox-tinymce.tox-fullscreen{z-index:1200}.tox-fullscreen .tox.tox-tinymce-aux{z-index:1201}.tox .tox-image-tools{width:100%}.tox .tox-image-tools__toolbar{align-items:center;display:flex;justify-content:center}.tox .tox-image-tools__image{background-color:#666;height:380px;overflow:auto;position:relative;width:100%}.tox .tox-image-tools__image,.tox .tox-image-tools__image+.tox-image-tools__toolbar{margin-top:8px}.tox .tox-image-tools__image-bg{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools__toolbar>.tox-spacer{flex:1;-ms-flex-preferred-size:auto}.tox .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox:not([dir=rtl]) .tox-image-tools__toolbar>.tox-slider:not(:first-of-type){margin-left:8px}.tox:not([dir=rtl]) .tox-image-tools__toolbar>.tox-button+.tox-slider{margin-left:32px}.tox:not([dir=rtl]) .tox-image-tools__toolbar>.tox-slider+.tox-button{margin-left:32px}.tox[dir=rtl] .tox-image-tools__toolbar>.tox-slider:not(:first-of-type){margin-right:8px}.tox[dir=rtl] .tox-image-tools__toolbar>.tox-button+.tox-slider{margin-right:32px}.tox[dir=rtl] .tox-image-tools__toolbar>.tox-slider+.tox-button{margin-right:32px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:169px}.tox .tox-insert-table-picker>div{border-color:#000;border-style:solid;border-width:0 1px 1px 0;box-sizing:content-box;height:16px;width:16px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}.tox .tox-insert-table-picker__label{color:#fff;display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#2b3b4e;border:1px solid #000;border-radius:3px;box-shadow:0 4px 8px 0 rgba(42,55,70,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 4px 0 4px}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:normal;width:auto}.tox .tox-mbtn[disabled]{background-color:none;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn--active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:-ms-grid;display:grid;font-size:14px;font-weight:400;-ms-grid-columns:minmax(40px,1fr) auto minmax(40px,1fr);grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#fff}.tox .tox-notification--success p{color:#fff}.tox .tox-notification--success a{color:#547831}.tox .tox-notification--success svg{fill:#fff}.tox .tox-notification--error{background-color:#f8dede;border-color:#f2bfbf;color:#fff}.tox .tox-notification--error p{color:#fff}.tox .tox-notification--error a{color:#c00}.tox .tox-notification--error svg{fill:#fff}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fffaea;border-color:#ffe89d;color:#fff}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#fff}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#fff}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#fff}.tox .tox-notification--info{background-color:#d9edf7;border-color:#779ecb;color:#fff}.tox .tox-notification--info p{color:#fff}.tox .tox-notification--info a{color:#fff}.tox .tox-notification--info svg{fill:#fff}.tox .tox-notification__body{-ms-grid-row-align:center;align-self:center;color:#fff;font-size:14px;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-column:2;grid-column-start:2;-ms-grid-row-span:1;grid-row-end:2;-ms-grid-row:1;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{-ms-grid-row-align:center;align-self:center;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-column:1;grid-column-start:1;-ms-grid-row-span:1;grid-row-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-column-align:end;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{-ms-grid-row-align:start;align-self:start;-ms-grid-column-span:1;grid-column-end:4;-ms-grid-column:3;grid-column-start:3;-ms-grid-row-span:1;grid-row-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-column-align:end;justify-self:end}.tox .tox-notification .tox-progress-bar{-ms-grid-column-span:3;grid-column-end:4;-ms-grid-column:1;grid-column-start:1;-ms-grid-row-span:1;grid-row-end:3;-ms-grid-row:2;grid-row-start:2;-ms-grid-column-align:center;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar{flex-wrap:nowrap}.tox .tox-pop__dialog{background-color:#222f3e;border:1px solid #000;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;position:absolute;width:0}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#222f3e transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#000 transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #222f3e transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #000 transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #222f3e transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #000 transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #222f3e;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #000;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;-ms-flex-preferred-size:0;min-height:0}.tox .tox-sidebar{background-color:#222f3e;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px;z-index:10000}.tox .tox-slider{align-items:center;display:flex;flex:1;-ms-flex-preferred-size:auto;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #000;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(255,255,255,.5);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#222f3e;border-top:1px solid #000;color:#fff;display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:flex-end;overflow:hidden}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:#fff;text-decoration:none}.tox .tox-statusbar a:focus,.tox .tox-statusbar a:hover,.tox .tox-statusbar__path-item:focus,.tox .tox-statusbar__path-item:hover,.tox .tox-statusbar__wordcount:focus,.tox .tox-statusbar__wordcount:hover{cursor:pointer;text-decoration:underline}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-left:1ch}.tox .tox-statusbar__resize-handle svg{display:block;fill:#fff}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1400}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(34,47,62,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#fff;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;overflow:hidden;padding:0;text-transform:normal;width:34px}.tox .tox-tbtn svg{display:block;fill:#fff}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#4a5562;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#4a5562;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:hover svg{fill:#fff}.tox .tox-tbtn:active{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn:active svg{fill:#fff}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#757d87;border:0;box-shadow:none;color:#fff}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#fff}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#fff}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{-ms-grid-row-align:stretch;align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tbtn--select{margin:2px 0 3px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(255,255,255,.5)}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:2px 0 3px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #4a5562 inset}.tox .tox-split-button:focus{background:#4a5562;box-shadow:none;color:#fff}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(255,255,255,.5)}.tox .tox-pop .tox-split-button__chevron svg{transform:rotate(-90deg)}.tox .tox-split-button .tox-tbtn{margin:0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(255,255,255,.5)}.tox .tox-toolbar-overlord{background-color:#222f3e}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background:url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23000000'/%3E%3C/svg%3E") left 0 top 0 #222f3e;background-color:#222f3e;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox.tox-platform-touch .tox-editor-container .tox-toolbar,.tox.tox-tinymce-aux.tox-platform-touch .tox-toolbar{flex-wrap:nowrap;overflow-x:auto}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#222f3e;border:1px solid #000;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.15)}.tox[dir=rtl] .tox-tbtn__icon-rtl svg{transform:rotateY(180deg)}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox.tox-platform-touch .tox-editor-container .tox-toolbar__group,.tox.tox-tinymce-aux.tox-platform-touch .tox-toolbar__group{flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #000}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #000}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#3d546f;border-radius:3px;box-shadow:0 2px 4px rgba(42,55,70,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:normal}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #3d546f;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #3d546f;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #3d546f;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #3d546f;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-well{border:1px solid #000;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #000;border-radius:3px;display:flex;height:525px}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1;-ms-flex-preferred-size:auto}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1;-ms-flex-preferred-size:auto}.tox .tox-image-tools-edit-panel{height:60px}.tox .tox-image-tools__sidebar{height:60px} |
| | | /*# sourceMappingURL=skin.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | /* RESET all the things! */ |
| | | .tinymce-mobile-outer-container { |
| | | all: initial; |
| | | display: block; |
| | | } |
| | | .tinymce-mobile-outer-container * { |
| | | border: 0; |
| | | box-sizing: initial; |
| | | cursor: inherit; |
| | | float: none; |
| | | line-height: 1; |
| | | margin: 0; |
| | | outline: 0; |
| | | padding: 0; |
| | | -webkit-tap-highlight-color: transparent; |
| | | /* TBIO-3691, stop the gray flicker on touch. */ |
| | | text-shadow: none; |
| | | white-space: nowrap; |
| | | } |
| | | .tinymce-mobile-icon-arrow-back::before { |
| | | content: "\e5cd"; |
| | | } |
| | | .tinymce-mobile-icon-image::before { |
| | | content: "\e412"; |
| | | } |
| | | .tinymce-mobile-icon-cancel-circle::before { |
| | | content: "\e5c9"; |
| | | } |
| | | .tinymce-mobile-icon-full-dot::before { |
| | | content: "\e061"; |
| | | } |
| | | .tinymce-mobile-icon-align-center::before { |
| | | content: "\e234"; |
| | | } |
| | | .tinymce-mobile-icon-align-left::before { |
| | | content: "\e236"; |
| | | } |
| | | .tinymce-mobile-icon-align-right::before { |
| | | content: "\e237"; |
| | | } |
| | | .tinymce-mobile-icon-bold::before { |
| | | content: "\e238"; |
| | | } |
| | | .tinymce-mobile-icon-italic::before { |
| | | content: "\e23f"; |
| | | } |
| | | .tinymce-mobile-icon-unordered-list::before { |
| | | content: "\e241"; |
| | | } |
| | | .tinymce-mobile-icon-ordered-list::before { |
| | | content: "\e242"; |
| | | } |
| | | .tinymce-mobile-icon-font-size::before { |
| | | content: "\e245"; |
| | | } |
| | | .tinymce-mobile-icon-underline::before { |
| | | content: "\e249"; |
| | | } |
| | | .tinymce-mobile-icon-link::before { |
| | | content: "\e157"; |
| | | } |
| | | .tinymce-mobile-icon-unlink::before { |
| | | content: "\eca2"; |
| | | } |
| | | .tinymce-mobile-icon-color::before { |
| | | content: "\e891"; |
| | | } |
| | | .tinymce-mobile-icon-previous::before { |
| | | content: "\e314"; |
| | | } |
| | | .tinymce-mobile-icon-next::before { |
| | | content: "\e315"; |
| | | } |
| | | .tinymce-mobile-icon-large-font::before, |
| | | .tinymce-mobile-icon-style-formats::before { |
| | | content: "\e264"; |
| | | } |
| | | .tinymce-mobile-icon-undo::before { |
| | | content: "\e166"; |
| | | } |
| | | .tinymce-mobile-icon-redo::before { |
| | | content: "\e15a"; |
| | | } |
| | | .tinymce-mobile-icon-removeformat::before { |
| | | content: "\e239"; |
| | | } |
| | | .tinymce-mobile-icon-small-font::before { |
| | | content: "\e906"; |
| | | } |
| | | .tinymce-mobile-icon-readonly-back::before, |
| | | .tinymce-mobile-format-matches::after { |
| | | content: "\e5ca"; |
| | | } |
| | | .tinymce-mobile-icon-small-heading::before { |
| | | content: "small"; |
| | | } |
| | | .tinymce-mobile-icon-large-heading::before { |
| | | content: "large"; |
| | | } |
| | | .tinymce-mobile-icon-small-heading::before, |
| | | .tinymce-mobile-icon-large-heading::before { |
| | | font-family: sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | .tinymce-mobile-mask-edit-icon::before { |
| | | content: "\e254"; |
| | | } |
| | | .tinymce-mobile-icon-back::before { |
| | | content: "\e5c4"; |
| | | } |
| | | .tinymce-mobile-icon-heading::before { |
| | | /* TODO: Translate */ |
| | | content: "Headings"; |
| | | font-family: sans-serif; |
| | | font-size: 80%; |
| | | font-weight: bold; |
| | | } |
| | | .tinymce-mobile-icon-h1::before { |
| | | content: "H1"; |
| | | font-weight: bold; |
| | | } |
| | | .tinymce-mobile-icon-h2::before { |
| | | content: "H2"; |
| | | font-weight: bold; |
| | | } |
| | | .tinymce-mobile-icon-h3::before { |
| | | content: "H3"; |
| | | font-weight: bold; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | background: rgba(51, 51, 51, 0.5); |
| | | height: 100%; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container { |
| | | align-items: center; |
| | | border-radius: 50%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | font-family: sans-serif; |
| | | font-size: 1em; |
| | | justify-content: space-between; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .mixin-menu-item { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | border-radius: 50%; |
| | | height: 2.1em; |
| | | width: 2.1em; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | font-size: 1em; |
| | | } |
| | | @media only screen and (min-device-width:700px) { |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section { |
| | | font-size: 1.2em; |
| | | } |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | border-radius: 50%; |
| | | height: 2.1em; |
| | | width: 2.1em; |
| | | background-color: white; |
| | | color: #207ab7; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon::before { |
| | | content: "\e900"; |
| | | font-family: 'tinymce-mobile', sans-serif; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section:not(.tinymce-mobile-mask-tap-icon-selected) .tinymce-mobile-mask-tap-icon { |
| | | z-index: 2; |
| | | } |
| | | .tinymce-mobile-android-container.tinymce-mobile-android-maximized { |
| | | background: #ffffff; |
| | | border: none; |
| | | bottom: 0; |
| | | display: flex; |
| | | flex-direction: column; |
| | | left: 0; |
| | | position: fixed; |
| | | right: 0; |
| | | top: 0; |
| | | } |
| | | .tinymce-mobile-android-container:not(.tinymce-mobile-android-maximized) { |
| | | position: relative; |
| | | } |
| | | .tinymce-mobile-android-container .tinymce-mobile-editor-socket { |
| | | display: flex; |
| | | flex-grow: 1; |
| | | } |
| | | .tinymce-mobile-android-container .tinymce-mobile-editor-socket iframe { |
| | | display: flex !important; |
| | | flex-grow: 1; |
| | | height: auto !important; |
| | | } |
| | | .tinymce-mobile-android-scroll-reload { |
| | | overflow: hidden; |
| | | } |
| | | :not(.tinymce-mobile-readonly-mode) > .tinymce-mobile-android-selection-context-toolbar { |
| | | margin-top: 23px; |
| | | } |
| | | .tinymce-mobile-toolstrip { |
| | | background: #fff; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | z-index: 1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar { |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-bottom: 1px solid #cccccc; |
| | | display: flex; |
| | | flex: 1; |
| | | height: 2.5em; |
| | | width: 100%; |
| | | /* Make it no larger than the toolstrip, so that it needs to scroll */ |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 100%; |
| | | flex-shrink: 1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group > div { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 100%; |
| | | flex: 1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-exit-container { |
| | | background: #f44336; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-toolbar-scrollable-group { |
| | | flex-grow: 1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item { |
| | | padding-left: 0.5em; |
| | | padding-right: 0.5em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 80%; |
| | | margin-left: 2px; |
| | | margin-right: 2px; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button.tinymce-mobile-toolbar-button-selected { |
| | | background: #c8cbcf; |
| | | color: #cccccc; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:first-of-type, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:last-of-type { |
| | | background: #207ab7; |
| | | color: #eceff1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar { |
| | | /* Note, this file is imported inside .tinymce-mobile-context-toolbar, so that prefix is on everything here. */ |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 100%; |
| | | flex: 1; |
| | | padding-bottom: 0.4em; |
| | | padding-top: 0.4em; |
| | | /* Make any buttons appearing on the left and right display in the centre (e.g. color edges) */ |
| | | /* For widgets like the colour picker, use the whole height */ |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog { |
| | | display: flex; |
| | | min-height: 1.5em; |
| | | overflow: hidden; |
| | | padding-left: 0; |
| | | padding-right: 0; |
| | | position: relative; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain { |
| | | display: flex; |
| | | height: 100%; |
| | | transition: left cubic-bezier(0.4, 0, 1, 1) 0.15s; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen { |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | justify-content: space-between; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen input { |
| | | font-family: Sans-serif; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container { |
| | | display: flex; |
| | | flex-grow: 1; |
| | | position: relative; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container .tinymce-mobile-input-container-x { |
| | | -ms-grid-row-align: center; |
| | | align-self: center; |
| | | background: inherit; |
| | | border: none; |
| | | border-radius: 50%; |
| | | color: #888; |
| | | font-size: 0.6em; |
| | | font-weight: bold; |
| | | height: 100%; |
| | | padding-right: 2px; |
| | | position: absolute; |
| | | right: 0; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container.tinymce-mobile-input-container-empty .tinymce-mobile-input-container-x { |
| | | display: none; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next { |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous::before, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next::before { |
| | | align-items: center; |
| | | display: flex; |
| | | font-weight: bold; |
| | | height: 100%; |
| | | padding-left: 0.5em; |
| | | padding-right: 0.5em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous.tinymce-mobile-toolbar-navigation-disabled::before, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next.tinymce-mobile-toolbar-navigation-disabled::before { |
| | | visibility: hidden; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item { |
| | | color: #cccccc; |
| | | font-size: 10px; |
| | | line-height: 10px; |
| | | margin: 0 2px; |
| | | padding-top: 3px; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item.tinymce-mobile-dot-active { |
| | | color: #c8cbcf; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-font::before, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-heading::before { |
| | | margin-left: 0.5em; |
| | | margin-right: 0.9em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-font::before, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-heading::before { |
| | | margin-left: 0.9em; |
| | | margin-right: 0.5em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider { |
| | | display: flex; |
| | | flex: 1; |
| | | margin-left: 0; |
| | | margin-right: 0; |
| | | padding: 0.28em 0; |
| | | position: relative; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container { |
| | | align-items: center; |
| | | display: flex; |
| | | flex-grow: 1; |
| | | height: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container .tinymce-mobile-slider-size-line { |
| | | background: #cccccc; |
| | | display: flex; |
| | | flex: 1; |
| | | height: 0.2em; |
| | | margin-bottom: 0.3em; |
| | | margin-top: 0.3em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container { |
| | | padding-left: 2em; |
| | | padding-right: 2em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container { |
| | | align-items: center; |
| | | display: flex; |
| | | flex-grow: 1; |
| | | height: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container .tinymce-mobile-slider-gradient { |
| | | background: linear-gradient(to right, hsl(0, 100%, 50%) 0%, hsl(60, 100%, 50%) 17%, hsl(120, 100%, 50%) 33%, hsl(180, 100%, 50%) 50%, hsl(240, 100%, 50%) 67%, hsl(300, 100%, 50%) 83%, hsl(0, 100%, 50%) 100%); |
| | | display: flex; |
| | | flex: 1; |
| | | height: 0.2em; |
| | | margin-bottom: 0.3em; |
| | | margin-top: 0.3em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-black { |
| | | /* Not part of theming */ |
| | | background: black; |
| | | height: 0.2em; |
| | | margin-bottom: 0.3em; |
| | | margin-top: 0.3em; |
| | | width: 1.2em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-white { |
| | | /* Not part of theming */ |
| | | background: white; |
| | | height: 0.2em; |
| | | margin-bottom: 0.3em; |
| | | margin-top: 0.3em; |
| | | width: 1.2em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb { |
| | | /* vertically centering trick (margin: auto, top: 0, bottom: 0). On iOS and Safari, if you leave |
| | | * out these values, then it shows the thumb at the top of the spectrum. This is probably because it is |
| | | * absolutely positioned with only a left value, and not a top. Note, on Chrome it seems to be fine without |
| | | * this approach. |
| | | */ |
| | | align-items: center; |
| | | background-clip: padding-box; |
| | | background-color: #455a64; |
| | | border: 0.5em solid rgba(136, 136, 136, 0); |
| | | border-radius: 3em; |
| | | bottom: 0; |
| | | color: #fff; |
| | | display: flex; |
| | | height: 0.5em; |
| | | justify-content: center; |
| | | left: -10px; |
| | | margin: auto; |
| | | position: absolute; |
| | | top: 0; |
| | | transition: border 120ms cubic-bezier(0.39, 0.58, 0.57, 1); |
| | | width: 0.5em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb.tinymce-mobile-thumb-active { |
| | | border: 0.5em solid rgba(136, 136, 136, 0.39); |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group > div { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 100%; |
| | | flex: 1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper { |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item { |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item:not(.tinymce-mobile-serialised-dialog) { |
| | | height: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-container { |
| | | display: flex; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input { |
| | | background: #ffffff; |
| | | border: none; |
| | | border-radius: 0; |
| | | color: #455a64; |
| | | flex-grow: 1; |
| | | font-size: 0.85em; |
| | | padding-bottom: 0.1em; |
| | | padding-left: 5px; |
| | | padding-top: 0.1em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::-webkit-input-placeholder { |
| | | /* WebKit, Blink, Edge */ |
| | | color: #888; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::placeholder { |
| | | /* WebKit, Blink, Edge */ |
| | | color: #888; |
| | | } |
| | | /* dropup */ |
| | | .tinymce-mobile-dropup { |
| | | background: white; |
| | | display: flex; |
| | | overflow: hidden; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-dropup.tinymce-mobile-dropup-shrinking { |
| | | transition: height 0.3s ease-out; |
| | | } |
| | | .tinymce-mobile-dropup.tinymce-mobile-dropup-growing { |
| | | transition: height 0.3s ease-in; |
| | | } |
| | | .tinymce-mobile-dropup.tinymce-mobile-dropup-closed { |
| | | flex-grow: 0; |
| | | } |
| | | .tinymce-mobile-dropup.tinymce-mobile-dropup-open:not(.tinymce-mobile-dropup-growing) { |
| | | flex-grow: 1; |
| | | } |
| | | /* TODO min-height for device size and orientation */ |
| | | .tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) { |
| | | min-height: 200px; |
| | | } |
| | | @media only screen and (orientation: landscape) { |
| | | .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) { |
| | | min-height: 200px; |
| | | } |
| | | } |
| | | @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) { |
| | | .tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) { |
| | | min-height: 150px; |
| | | } |
| | | } |
| | | /* styles menu */ |
| | | .tinymce-mobile-styles-menu { |
| | | font-family: sans-serif; |
| | | outline: 4px solid black; |
| | | overflow: hidden; |
| | | position: relative; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-styles-menu [role="menu"] { |
| | | display: flex; |
| | | flex-direction: column; |
| | | height: 100%; |
| | | position: absolute; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-styles-menu [role="menu"].transitioning { |
| | | transition: transform 0.5s ease-in-out; |
| | | } |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-item { |
| | | border-bottom: 1px solid #ddd; |
| | | color: #455a64; |
| | | cursor: pointer; |
| | | display: flex; |
| | | padding: 1em 1em; |
| | | position: relative; |
| | | } |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser .tinymce-mobile-styles-collapse-icon::before { |
| | | color: #455a64; |
| | | content: "\e314"; |
| | | font-family: 'tinymce-mobile', sans-serif; |
| | | } |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-styles-item-is-menu::after { |
| | | color: #455a64; |
| | | content: "\e315"; |
| | | font-family: 'tinymce-mobile', sans-serif; |
| | | padding-left: 1em; |
| | | padding-right: 1em; |
| | | position: absolute; |
| | | right: 0; |
| | | } |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-format-matches::after { |
| | | font-family: 'tinymce-mobile', sans-serif; |
| | | padding-left: 1em; |
| | | padding-right: 1em; |
| | | position: absolute; |
| | | right: 0; |
| | | } |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-separator, |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser { |
| | | align-items: center; |
| | | background: #fff; |
| | | border-top: #455a64; |
| | | color: #455a64; |
| | | display: flex; |
| | | min-height: 2.5em; |
| | | padding-left: 1em; |
| | | padding-right: 1em; |
| | | } |
| | | .tinymce-mobile-styles-menu [data-transitioning-destination="before"][data-transitioning-state], |
| | | .tinymce-mobile-styles-menu [data-transitioning-state="before"] { |
| | | transform: translate(-100%); |
| | | } |
| | | .tinymce-mobile-styles-menu [data-transitioning-destination="current"][data-transitioning-state], |
| | | .tinymce-mobile-styles-menu [data-transitioning-state="current"] { |
| | | transform: translate(0%); |
| | | } |
| | | .tinymce-mobile-styles-menu [data-transitioning-destination="after"][data-transitioning-state], |
| | | .tinymce-mobile-styles-menu [data-transitioning-state="after"] { |
| | | transform: translate(100%); |
| | | } |
| | | @font-face { |
| | | font-family: 'tinymce-mobile'; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | src: url('fonts/tinymce-mobile.woff?8x92w3') format('woff'); |
| | | } |
| | | @media (min-device-width: 700px) { |
| | | .tinymce-mobile-outer-container, |
| | | .tinymce-mobile-outer-container input { |
| | | font-size: 25px; |
| | | } |
| | | } |
| | | @media (max-device-width: 700px) { |
| | | .tinymce-mobile-outer-container, |
| | | .tinymce-mobile-outer-container input { |
| | | font-size: 18px; |
| | | } |
| | | } |
| | | .tinymce-mobile-icon { |
| | | font-family: 'tinymce-mobile', sans-serif; |
| | | } |
| | | .mixin-flex-and-centre { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | .mixin-flex-bar { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 100%; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-editor-socket iframe { |
| | | background-color: #fff; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon { |
| | | /* Note, on the iPod touch in landscape, this isn't visible when the navbar appears */ |
| | | background-color: #207ab7; |
| | | border-radius: 50%; |
| | | bottom: 1em; |
| | | color: white; |
| | | font-size: 1em; |
| | | height: 2.1em; |
| | | position: fixed; |
| | | right: 2em; |
| | | width: 2.1em; |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | @media only screen and (min-device-width:700px) { |
| | | .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon { |
| | | font-size: 1.2em; |
| | | } |
| | | } |
| | | .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket { |
| | | height: 300px; |
| | | overflow: hidden; |
| | | } |
| | | .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket iframe { |
| | | height: 100%; |
| | | } |
| | | .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-toolstrip { |
| | | display: none; |
| | | } |
| | | /* |
| | | Note, that if you don't include this (::-webkit-file-upload-button), the toolbar width gets |
| | | increased and the whole body becomes scrollable. It's important! |
| | | */ |
| | | input[type="file"]::-webkit-file-upload-button { |
| | | display: none; |
| | | } |
| | | @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) { |
| | | .tinymce-mobile-ios-container .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon { |
| | | bottom: 50%; |
| | | } |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .tinymce-mobile-outer-container{all:initial;display:block}.tinymce-mobile-outer-container *{border:0;box-sizing:initial;cursor:inherit;float:none;line-height:1;margin:0;outline:0;padding:0;-webkit-tap-highlight-color:transparent;text-shadow:none;white-space:nowrap}.tinymce-mobile-icon-arrow-back::before{content:"\e5cd"}.tinymce-mobile-icon-image::before{content:"\e412"}.tinymce-mobile-icon-cancel-circle::before{content:"\e5c9"}.tinymce-mobile-icon-full-dot::before{content:"\e061"}.tinymce-mobile-icon-align-center::before{content:"\e234"}.tinymce-mobile-icon-align-left::before{content:"\e236"}.tinymce-mobile-icon-align-right::before{content:"\e237"}.tinymce-mobile-icon-bold::before{content:"\e238"}.tinymce-mobile-icon-italic::before{content:"\e23f"}.tinymce-mobile-icon-unordered-list::before{content:"\e241"}.tinymce-mobile-icon-ordered-list::before{content:"\e242"}.tinymce-mobile-icon-font-size::before{content:"\e245"}.tinymce-mobile-icon-underline::before{content:"\e249"}.tinymce-mobile-icon-link::before{content:"\e157"}.tinymce-mobile-icon-unlink::before{content:"\eca2"}.tinymce-mobile-icon-color::before{content:"\e891"}.tinymce-mobile-icon-previous::before{content:"\e314"}.tinymce-mobile-icon-next::before{content:"\e315"}.tinymce-mobile-icon-large-font::before,.tinymce-mobile-icon-style-formats::before{content:"\e264"}.tinymce-mobile-icon-undo::before{content:"\e166"}.tinymce-mobile-icon-redo::before{content:"\e15a"}.tinymce-mobile-icon-removeformat::before{content:"\e239"}.tinymce-mobile-icon-small-font::before{content:"\e906"}.tinymce-mobile-format-matches::after,.tinymce-mobile-icon-readonly-back::before{content:"\e5ca"}.tinymce-mobile-icon-small-heading::before{content:"small"}.tinymce-mobile-icon-large-heading::before{content:"large"}.tinymce-mobile-icon-large-heading::before,.tinymce-mobile-icon-small-heading::before{font-family:sans-serif;font-size:80%}.tinymce-mobile-mask-edit-icon::before{content:"\e254"}.tinymce-mobile-icon-back::before{content:"\e5c4"}.tinymce-mobile-icon-heading::before{content:"Headings";font-family:sans-serif;font-size:80%;font-weight:700}.tinymce-mobile-icon-h1::before{content:"H1";font-weight:700}.tinymce-mobile-icon-h2::before{content:"H2";font-weight:700}.tinymce-mobile-icon-h3::before{content:"H3";font-weight:700}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask{align-items:center;display:flex;justify-content:center;background:rgba(51,51,51,.5);height:100%;position:absolute;top:0;width:100%}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container{align-items:center;border-radius:50%;display:flex;flex-direction:column;font-family:sans-serif;font-size:1em;justify-content:space-between}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .mixin-menu-item{align-items:center;display:flex;justify-content:center;border-radius:50%;height:2.1em;width:2.1em}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section{align-items:center;display:flex;justify-content:center;flex-direction:column;font-size:1em}@media only screen and (min-device-width:700px){.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section{font-size:1.2em}}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon{align-items:center;display:flex;justify-content:center;border-radius:50%;height:2.1em;width:2.1em;background-color:#fff;color:#207ab7}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon::before{content:"\e900";font-family:tinymce-mobile,sans-serif}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section:not(.tinymce-mobile-mask-tap-icon-selected) .tinymce-mobile-mask-tap-icon{z-index:2}.tinymce-mobile-android-container.tinymce-mobile-android-maximized{background:#fff;border:none;bottom:0;display:flex;flex-direction:column;left:0;position:fixed;right:0;top:0}.tinymce-mobile-android-container:not(.tinymce-mobile-android-maximized){position:relative}.tinymce-mobile-android-container .tinymce-mobile-editor-socket{display:flex;flex-grow:1}.tinymce-mobile-android-container .tinymce-mobile-editor-socket iframe{display:flex!important;flex-grow:1;height:auto!important}.tinymce-mobile-android-scroll-reload{overflow:hidden}:not(.tinymce-mobile-readonly-mode)>.tinymce-mobile-android-selection-context-toolbar{margin-top:23px}.tinymce-mobile-toolstrip{background:#fff;display:flex;flex:0 0 auto;z-index:1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar{align-items:center;background-color:#fff;border-bottom:1px solid #ccc;display:flex;flex:1;height:2.5em;width:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group{align-items:center;display:flex;height:100%;flex-shrink:1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group>div{align-items:center;display:flex;height:100%;flex:1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-exit-container{background:#f44336}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-toolbar-scrollable-group{flex-grow:1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item{padding-left:.5em;padding-right:.5em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button{align-items:center;display:flex;height:80%;margin-left:2px;margin-right:2px}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button.tinymce-mobile-toolbar-button-selected{background:#c8cbcf;color:#ccc}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:first-of-type,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:last-of-type{background:#207ab7;color:#eceff1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group{align-items:center;display:flex;height:100%;flex:1;padding-bottom:.4em;padding-top:.4em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog{display:flex;min-height:1.5em;overflow:hidden;padding-left:0;padding-right:0;position:relative;width:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain{display:flex;height:100%;transition:left cubic-bezier(.4,0,1,1) .15s;width:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen{display:flex;flex:0 0 auto;justify-content:space-between;width:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen input{font-family:Sans-serif}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container{display:flex;flex-grow:1;position:relative}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container .tinymce-mobile-input-container-x{-ms-grid-row-align:center;align-self:center;background:inherit;border:none;border-radius:50%;color:#888;font-size:.6em;font-weight:700;height:100%;padding-right:2px;position:absolute;right:0}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container.tinymce-mobile-input-container-empty .tinymce-mobile-input-container-x{display:none}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous{align-items:center;display:flex}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next::before,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous::before{align-items:center;display:flex;font-weight:700;height:100%;padding-left:.5em;padding-right:.5em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next.tinymce-mobile-toolbar-navigation-disabled::before,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous.tinymce-mobile-toolbar-navigation-disabled::before{visibility:hidden}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item{color:#ccc;font-size:10px;line-height:10px;margin:0 2px;padding-top:3px}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item.tinymce-mobile-dot-active{color:#c8cbcf}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-font::before,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-heading::before{margin-left:.5em;margin-right:.9em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-font::before,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-heading::before{margin-left:.9em;margin-right:.5em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider{display:flex;flex:1;margin-left:0;margin-right:0;padding:.28em 0;position:relative}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container{align-items:center;display:flex;flex-grow:1;height:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container .tinymce-mobile-slider-size-line{background:#ccc;display:flex;flex:1;height:.2em;margin-bottom:.3em;margin-top:.3em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container{padding-left:2em;padding-right:2em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container{align-items:center;display:flex;flex-grow:1;height:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container .tinymce-mobile-slider-gradient{background:linear-gradient(to right,red 0,#feff00 17%,#0f0 33%,#00feff 50%,#00f 67%,#ff00fe 83%,red 100%);display:flex;flex:1;height:.2em;margin-bottom:.3em;margin-top:.3em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-black{background:#000;height:.2em;margin-bottom:.3em;margin-top:.3em;width:1.2em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-white{background:#fff;height:.2em;margin-bottom:.3em;margin-top:.3em;width:1.2em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb{align-items:center;background-clip:padding-box;background-color:#455a64;border:.5em solid rgba(136,136,136,0);border-radius:3em;bottom:0;color:#fff;display:flex;height:.5em;justify-content:center;left:-10px;margin:auto;position:absolute;top:0;transition:border 120ms cubic-bezier(.39,.58,.57,1);width:.5em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb.tinymce-mobile-thumb-active{border:.5em solid rgba(136,136,136,.39)}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group>div{align-items:center;display:flex;height:100%;flex:1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper{flex-direction:column;justify-content:center}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item{align-items:center;display:flex}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item:not(.tinymce-mobile-serialised-dialog){height:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-container{display:flex}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input{background:#fff;border:none;border-radius:0;color:#455a64;flex-grow:1;font-size:.85em;padding-bottom:.1em;padding-left:5px;padding-top:.1em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::-webkit-input-placeholder{color:#888}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::placeholder{color:#888}.tinymce-mobile-dropup{background:#fff;display:flex;overflow:hidden;width:100%}.tinymce-mobile-dropup.tinymce-mobile-dropup-shrinking{transition:height .3s ease-out}.tinymce-mobile-dropup.tinymce-mobile-dropup-growing{transition:height .3s ease-in}.tinymce-mobile-dropup.tinymce-mobile-dropup-closed{flex-grow:0}.tinymce-mobile-dropup.tinymce-mobile-dropup-open:not(.tinymce-mobile-dropup-growing){flex-grow:1}.tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed){min-height:200px}@media only screen and (orientation:landscape){.tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed){min-height:200px}}@media only screen and (min-device-width :320px) and (max-device-width :568px) and (orientation :landscape){.tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed){min-height:150px}}.tinymce-mobile-styles-menu{font-family:sans-serif;outline:4px solid #000;overflow:hidden;position:relative;width:100%}.tinymce-mobile-styles-menu [role=menu]{display:flex;flex-direction:column;height:100%;position:absolute;width:100%}.tinymce-mobile-styles-menu [role=menu].transitioning{transition:transform .5s ease-in-out}.tinymce-mobile-styles-menu .tinymce-mobile-styles-item{border-bottom:1px solid #ddd;color:#455a64;cursor:pointer;display:flex;padding:1em 1em;position:relative}.tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser .tinymce-mobile-styles-collapse-icon::before{color:#455a64;content:"\e314";font-family:tinymce-mobile,sans-serif}.tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-styles-item-is-menu::after{color:#455a64;content:"\e315";font-family:tinymce-mobile,sans-serif;padding-left:1em;padding-right:1em;position:absolute;right:0}.tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-format-matches::after{font-family:tinymce-mobile,sans-serif;padding-left:1em;padding-right:1em;position:absolute;right:0}.tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser,.tinymce-mobile-styles-menu .tinymce-mobile-styles-separator{align-items:center;background:#fff;border-top:#455a64;color:#455a64;display:flex;min-height:2.5em;padding-left:1em;padding-right:1em}.tinymce-mobile-styles-menu [data-transitioning-destination=before][data-transitioning-state],.tinymce-mobile-styles-menu [data-transitioning-state=before]{transform:translate(-100%)}.tinymce-mobile-styles-menu [data-transitioning-destination=current][data-transitioning-state],.tinymce-mobile-styles-menu [data-transitioning-state=current]{transform:translate(0)}.tinymce-mobile-styles-menu [data-transitioning-destination=after][data-transitioning-state],.tinymce-mobile-styles-menu [data-transitioning-state=after]{transform:translate(100%)}@font-face{font-family:tinymce-mobile;font-style:normal;font-weight:400;src:url(fonts/tinymce-mobile.woff?8x92w3) format('woff')}@media (min-device-width:700px){.tinymce-mobile-outer-container,.tinymce-mobile-outer-container input{font-size:25px}}@media (max-device-width:700px){.tinymce-mobile-outer-container,.tinymce-mobile-outer-container input{font-size:18px}}.tinymce-mobile-icon{font-family:tinymce-mobile,sans-serif}.mixin-flex-and-centre{align-items:center;display:flex;justify-content:center}.mixin-flex-bar{align-items:center;display:flex;height:100%}.tinymce-mobile-outer-container .tinymce-mobile-editor-socket iframe{background-color:#fff;width:100%}.tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon{background-color:#207ab7;border-radius:50%;bottom:1em;color:#fff;font-size:1em;height:2.1em;position:fixed;right:2em;width:2.1em;align-items:center;display:flex;justify-content:center}@media only screen and (min-device-width:700px){.tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon{font-size:1.2em}}.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket{height:300px;overflow:hidden}.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket iframe{height:100%}.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-toolstrip{display:none}input[type=file]::-webkit-file-upload-button{display:none}@media only screen and (min-device-width :320px) and (max-device-width :568px) and (orientation :landscape){.tinymce-mobile-ios-container .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon{bottom:50%}} |
| | | /*# sourceMappingURL=skin.mobile.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .mce-content-body .mce-item-anchor { |
| | | background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; |
| | | cursor: default; |
| | | display: inline-block; |
| | | height: 12px !important; |
| | | padding: 0 2px; |
| | | -webkit-user-modify: read-only; |
| | | -moz-user-modify: read-only; |
| | | -webkit-user-select: all; |
| | | -moz-user-select: all; |
| | | -ms-user-select: all; |
| | | user-select: all; |
| | | width: 8px !important; |
| | | } |
| | | .mce-content-body .mce-item-anchor[data-mce-selected] { |
| | | outline-offset: 1px; |
| | | } |
| | | .tox-comments-visible .tox-comment { |
| | | background-color: #fff0b7; |
| | | } |
| | | .tox-comments-visible .tox-comment--active { |
| | | background-color: #ffe168; |
| | | } |
| | | .tox-checklist > li:not(.tox-checklist--hidden) { |
| | | list-style: none; |
| | | margin: 0.25em 0; |
| | | } |
| | | .tox-checklist > li:not(.tox-checklist--hidden)::before { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); |
| | | background-size: 100%; |
| | | content: ''; |
| | | cursor: pointer; |
| | | height: 1em; |
| | | margin-left: -1.5em; |
| | | margin-top: 0.125em; |
| | | position: absolute; |
| | | width: 1em; |
| | | } |
| | | .tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); |
| | | } |
| | | [dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { |
| | | margin-left: 0; |
| | | margin-right: -1.5em; |
| | | } |
| | | /* stylelint-disable */ |
| | | /* http://prismjs.com/ */ |
| | | /** |
| | | * prism.js default theme for JavaScript, CSS and HTML |
| | | * Based on dabblet (http://dabblet.com) |
| | | * @author Lea Verou |
| | | */ |
| | | code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | color: black; |
| | | background: none; |
| | | text-shadow: 0 1px white; |
| | | font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
| | | font-size: 1em; |
| | | text-align: left; |
| | | white-space: pre; |
| | | word-spacing: normal; |
| | | word-break: normal; |
| | | word-wrap: normal; |
| | | line-height: 1.5; |
| | | -moz-tab-size: 4; |
| | | tab-size: 4; |
| | | -webkit-hyphens: none; |
| | | -ms-hyphens: none; |
| | | hyphens: none; |
| | | } |
| | | pre[class*="language-"]::-moz-selection, |
| | | pre[class*="language-"] ::-moz-selection, |
| | | code[class*="language-"]::-moz-selection, |
| | | code[class*="language-"] ::-moz-selection { |
| | | text-shadow: none; |
| | | background: #b3d4fc; |
| | | } |
| | | pre[class*="language-"]::selection, |
| | | pre[class*="language-"] ::selection, |
| | | code[class*="language-"]::selection, |
| | | code[class*="language-"] ::selection { |
| | | text-shadow: none; |
| | | background: #b3d4fc; |
| | | } |
| | | @media print { |
| | | code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | text-shadow: none; |
| | | } |
| | | } |
| | | /* Code blocks */ |
| | | pre[class*="language-"] { |
| | | padding: 1em; |
| | | margin: 0.5em 0; |
| | | overflow: auto; |
| | | } |
| | | :not(pre) > code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | background: #f5f2f0; |
| | | } |
| | | /* Inline code */ |
| | | :not(pre) > code[class*="language-"] { |
| | | padding: 0.1em; |
| | | border-radius: 0.3em; |
| | | white-space: normal; |
| | | } |
| | | .token.comment, |
| | | .token.prolog, |
| | | .token.doctype, |
| | | .token.cdata { |
| | | color: slategray; |
| | | } |
| | | .token.punctuation { |
| | | color: #999; |
| | | } |
| | | .namespace { |
| | | opacity: 0.7; |
| | | } |
| | | .token.property, |
| | | .token.tag, |
| | | .token.boolean, |
| | | .token.number, |
| | | .token.constant, |
| | | .token.symbol, |
| | | .token.deleted { |
| | | color: #905; |
| | | } |
| | | .token.selector, |
| | | .token.attr-name, |
| | | .token.string, |
| | | .token.char, |
| | | .token.builtin, |
| | | .token.inserted { |
| | | color: #690; |
| | | } |
| | | .token.operator, |
| | | .token.entity, |
| | | .token.url, |
| | | .language-css .token.string, |
| | | .style .token.string { |
| | | color: #9a6e3a; |
| | | background: hsla(0, 0%, 100%, 0.5); |
| | | } |
| | | .token.atrule, |
| | | .token.attr-value, |
| | | .token.keyword { |
| | | color: #07a; |
| | | } |
| | | .token.function, |
| | | .token.class-name { |
| | | color: #DD4A68; |
| | | } |
| | | .token.regex, |
| | | .token.important, |
| | | .token.variable { |
| | | color: #e90; |
| | | } |
| | | .token.important, |
| | | .token.bold { |
| | | font-weight: bold; |
| | | } |
| | | .token.italic { |
| | | font-style: italic; |
| | | } |
| | | .token.entity { |
| | | cursor: help; |
| | | } |
| | | /* stylelint-enable */ |
| | | .mce-content-body { |
| | | overflow-wrap: break-word; |
| | | word-wrap: break-word; |
| | | } |
| | | .mce-content-body .mce-visual-caret { |
| | | background-color: black; |
| | | background-color: currentcolor; |
| | | position: absolute; |
| | | } |
| | | .mce-content-body .mce-visual-caret-hidden { |
| | | display: none; |
| | | } |
| | | .mce-content-body *[data-mce-caret] { |
| | | left: -1000px; |
| | | margin: 0; |
| | | padding: 0; |
| | | position: absolute; |
| | | right: auto; |
| | | top: 0; |
| | | } |
| | | .mce-content-body .mce-offscreen-selection { |
| | | left: -9999999999px; |
| | | max-width: 1000000px; |
| | | position: absolute; |
| | | } |
| | | .mce-content-body *[contentEditable=false] { |
| | | cursor: default; |
| | | } |
| | | .mce-content-body *[contentEditable=true] { |
| | | cursor: text; |
| | | } |
| | | .tox-cursor-format-painter { |
| | | cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; |
| | | } |
| | | .mce-content-body figure.align-left { |
| | | float: left; |
| | | } |
| | | .mce-content-body figure.align-right { |
| | | float: right; |
| | | } |
| | | .mce-content-body figure.image.align-center { |
| | | display: table; |
| | | margin-left: auto; |
| | | margin-right: auto; |
| | | } |
| | | .mce-preview-object { |
| | | border: 1px solid gray; |
| | | display: inline-block; |
| | | line-height: 0; |
| | | margin: 0 2px 0 2px; |
| | | position: relative; |
| | | } |
| | | .mce-preview-object .mce-shim { |
| | | background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .mce-preview-object[data-mce-selected="2"] .mce-shim { |
| | | display: none; |
| | | } |
| | | .mce-object { |
| | | background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; |
| | | border: 1px dashed #aaa; |
| | | } |
| | | .mce-pagebreak { |
| | | border: 1px dashed #aaa; |
| | | cursor: default; |
| | | display: block; |
| | | height: 5px; |
| | | margin-top: 15px; |
| | | page-break-before: always; |
| | | width: 100%; |
| | | } |
| | | @media print { |
| | | .mce-pagebreak { |
| | | border: 0; |
| | | } |
| | | } |
| | | .tiny-pageembed .mce-shim { |
| | | background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .tiny-pageembed[data-mce-selected="2"] .mce-shim { |
| | | display: none; |
| | | } |
| | | .tiny-pageembed { |
| | | display: inline-block; |
| | | position: relative; |
| | | } |
| | | .tiny-pageembed--21by9, |
| | | .tiny-pageembed--16by9, |
| | | .tiny-pageembed--4by3, |
| | | .tiny-pageembed--1by1 { |
| | | display: block; |
| | | overflow: hidden; |
| | | padding: 0; |
| | | position: relative; |
| | | width: 100%; |
| | | } |
| | | .tiny-pageembed--21by9::before, |
| | | .tiny-pageembed--16by9::before, |
| | | .tiny-pageembed--4by3::before, |
| | | .tiny-pageembed--1by1::before { |
| | | content: ""; |
| | | display: block; |
| | | } |
| | | .tiny-pageembed--21by9::before { |
| | | padding-top: 42.857143%; |
| | | } |
| | | .tiny-pageembed--16by9::before { |
| | | padding-top: 56.25%; |
| | | } |
| | | .tiny-pageembed--4by3::before { |
| | | padding-top: 75%; |
| | | } |
| | | .tiny-pageembed--1by1::before { |
| | | padding-top: 100%; |
| | | } |
| | | .tiny-pageembed--21by9 iframe, |
| | | .tiny-pageembed--16by9 iframe, |
| | | .tiny-pageembed--4by3 iframe, |
| | | .tiny-pageembed--1by1 iframe { |
| | | border: 0; |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .mce-content-body div.mce-resizehandle { |
| | | background-color: #4099ff; |
| | | border-color: #4099ff; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-sizing: border-box; |
| | | height: 10px; |
| | | position: absolute; |
| | | width: 10px; |
| | | z-index: 10000; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:hover { |
| | | background-color: #4099ff; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(1) { |
| | | cursor: nwse-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(2) { |
| | | cursor: nesw-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(3) { |
| | | cursor: nwse-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(4) { |
| | | cursor: nesw-resize; |
| | | } |
| | | .mce-content-body .mce-clonedresizable { |
| | | opacity: 0.5; |
| | | outline: 1px dashed black; |
| | | position: absolute; |
| | | z-index: 10000; |
| | | } |
| | | .mce-content-body .mce-resize-helper { |
| | | background: #555; |
| | | background: rgba(0, 0, 0, 0.75); |
| | | border: 1px; |
| | | border-radius: 3px; |
| | | color: white; |
| | | display: none; |
| | | font-family: sans-serif; |
| | | font-size: 12px; |
| | | line-height: 14px; |
| | | margin: 5px 10px; |
| | | padding: 5px; |
| | | position: absolute; |
| | | white-space: nowrap; |
| | | z-index: 10001; |
| | | } |
| | | .mce-match-marker { |
| | | background: #aaa; |
| | | color: #fff; |
| | | } |
| | | .mce-match-marker-selected { |
| | | background: #39f; |
| | | color: #fff; |
| | | } |
| | | .mce-content-body img[data-mce-selected], |
| | | .mce-content-body table[data-mce-selected] { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body hr[data-mce-selected] { |
| | | outline: 3px solid #b4d7ff; |
| | | outline-offset: 1px; |
| | | } |
| | | .mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body *[contentEditable=false][data-mce-selected] { |
| | | cursor: not-allowed; |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body.mce-content-readonly *[contentEditable=true]:focus, |
| | | .mce-content-body.mce-content-readonly *[contentEditable=true]:hover { |
| | | outline: none; |
| | | } |
| | | .mce-content-body *[data-mce-selected="inline-boundary"] { |
| | | background-color: #b4d7ff; |
| | | } |
| | | .mce-content-body .mce-edit-focus { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body td[data-mce-selected], |
| | | .mce-content-body th[data-mce-selected] { |
| | | background-color: #b4d7ff !important; |
| | | } |
| | | .mce-content-body td[data-mce-selected]::-moz-selection, |
| | | .mce-content-body th[data-mce-selected]::-moz-selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body td[data-mce-selected]::selection, |
| | | .mce-content-body th[data-mce-selected]::selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body td[data-mce-selected] *, |
| | | .mce-content-body th[data-mce-selected] * { |
| | | -webkit-touch-callout: none; |
| | | -webkit-user-select: none; |
| | | -moz-user-select: none; |
| | | -ms-user-select: none; |
| | | user-select: none; |
| | | } |
| | | .mce-content-body img::-moz-selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body img::selection { |
| | | background: none; |
| | | } |
| | | .ephox-snooker-resizer-bar { |
| | | background-color: #b4d7ff; |
| | | opacity: 0; |
| | | } |
| | | .ephox-snooker-resizer-cols { |
| | | cursor: col-resize; |
| | | } |
| | | .ephox-snooker-resizer-rows { |
| | | cursor: row-resize; |
| | | } |
| | | .ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { |
| | | opacity: 1; |
| | | } |
| | | .mce-spellchecker-word { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); |
| | | background-position: 0 calc(100% + 1px); |
| | | background-repeat: repeat-x; |
| | | background-size: auto 6px; |
| | | cursor: default; |
| | | height: 2rem; |
| | | } |
| | | .mce-spellchecker-grammar { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); |
| | | background-position: 0 calc(100% + 1px); |
| | | background-repeat: repeat-x; |
| | | background-size: auto 6px; |
| | | cursor: default; |
| | | } |
| | | .mce-toc { |
| | | border: 1px solid gray; |
| | | } |
| | | .mce-toc h2 { |
| | | margin: 4px; |
| | | } |
| | | .mce-toc li { |
| | | list-style-type: none; |
| | | } |
| | | .mce-item-table, |
| | | .mce-item-table td, |
| | | .mce-item-table th, |
| | | .mce-item-table caption { |
| | | border: 1px dashed #bbb; |
| | | } |
| | | .mce-visualblocks p, |
| | | .mce-visualblocks h1, |
| | | .mce-visualblocks h2, |
| | | .mce-visualblocks h3, |
| | | .mce-visualblocks h4, |
| | | .mce-visualblocks h5, |
| | | .mce-visualblocks h6, |
| | | .mce-visualblocks div:not([data-mce-bogus]), |
| | | .mce-visualblocks section, |
| | | .mce-visualblocks article, |
| | | .mce-visualblocks blockquote, |
| | | .mce-visualblocks address, |
| | | .mce-visualblocks pre, |
| | | .mce-visualblocks figure, |
| | | .mce-visualblocks figcaption, |
| | | .mce-visualblocks hgroup, |
| | | .mce-visualblocks aside, |
| | | .mce-visualblocks ul, |
| | | .mce-visualblocks ol, |
| | | .mce-visualblocks dl { |
| | | background-repeat: no-repeat; |
| | | border: 1px dashed #bbb; |
| | | margin-left: 3px; |
| | | padding-top: 10px; |
| | | } |
| | | .mce-visualblocks p { |
| | | background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); |
| | | } |
| | | .mce-visualblocks h1 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); |
| | | } |
| | | .mce-visualblocks h2 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); |
| | | } |
| | | .mce-visualblocks h3 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); |
| | | } |
| | | .mce-visualblocks h4 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); |
| | | } |
| | | .mce-visualblocks h5 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); |
| | | } |
| | | .mce-visualblocks h6 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); |
| | | } |
| | | .mce-visualblocks div:not([data-mce-bogus]) { |
| | | background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); |
| | | } |
| | | .mce-visualblocks section { |
| | | background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); |
| | | } |
| | | .mce-visualblocks article { |
| | | background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); |
| | | } |
| | | .mce-visualblocks blockquote { |
| | | background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); |
| | | } |
| | | .mce-visualblocks address { |
| | | background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); |
| | | } |
| | | .mce-visualblocks pre { |
| | | background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); |
| | | } |
| | | .mce-visualblocks figure { |
| | | background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); |
| | | } |
| | | .mce-visualblocks figcaption { |
| | | border: 1px dashed #bbb; |
| | | } |
| | | .mce-visualblocks hgroup { |
| | | background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); |
| | | } |
| | | .mce-visualblocks aside { |
| | | background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); |
| | | } |
| | | .mce-visualblocks ul { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); |
| | | } |
| | | .mce-visualblocks ol { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); |
| | | } |
| | | .mce-visualblocks dl { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); |
| | | } |
| | | .mce-visualblocks:not([dir=rtl]) p, |
| | | .mce-visualblocks:not([dir=rtl]) h1, |
| | | .mce-visualblocks:not([dir=rtl]) h2, |
| | | .mce-visualblocks:not([dir=rtl]) h3, |
| | | .mce-visualblocks:not([dir=rtl]) h4, |
| | | .mce-visualblocks:not([dir=rtl]) h5, |
| | | .mce-visualblocks:not([dir=rtl]) h6, |
| | | .mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), |
| | | .mce-visualblocks:not([dir=rtl]) section, |
| | | .mce-visualblocks:not([dir=rtl]) article, |
| | | .mce-visualblocks:not([dir=rtl]) blockquote, |
| | | .mce-visualblocks:not([dir=rtl]) address, |
| | | .mce-visualblocks:not([dir=rtl]) pre, |
| | | .mce-visualblocks:not([dir=rtl]) figure, |
| | | .mce-visualblocks:not([dir=rtl]) figcaption, |
| | | .mce-visualblocks:not([dir=rtl]) hgroup, |
| | | .mce-visualblocks:not([dir=rtl]) aside, |
| | | .mce-visualblocks:not([dir=rtl]) ul, |
| | | .mce-visualblocks:not([dir=rtl]) ol, |
| | | .mce-visualblocks:not([dir=rtl]) dl { |
| | | margin-left: 3px; |
| | | } |
| | | .mce-visualblocks[dir=rtl] p, |
| | | .mce-visualblocks[dir=rtl] h1, |
| | | .mce-visualblocks[dir=rtl] h2, |
| | | .mce-visualblocks[dir=rtl] h3, |
| | | .mce-visualblocks[dir=rtl] h4, |
| | | .mce-visualblocks[dir=rtl] h5, |
| | | .mce-visualblocks[dir=rtl] h6, |
| | | .mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), |
| | | .mce-visualblocks[dir=rtl] section, |
| | | .mce-visualblocks[dir=rtl] article, |
| | | .mce-visualblocks[dir=rtl] blockquote, |
| | | .mce-visualblocks[dir=rtl] address, |
| | | .mce-visualblocks[dir=rtl] pre, |
| | | .mce-visualblocks[dir=rtl] figure, |
| | | .mce-visualblocks[dir=rtl] figcaption, |
| | | .mce-visualblocks[dir=rtl] hgroup, |
| | | .mce-visualblocks[dir=rtl] aside, |
| | | .mce-visualblocks[dir=rtl] ul, |
| | | .mce-visualblocks[dir=rtl] ol, |
| | | .mce-visualblocks[dir=rtl] dl { |
| | | background-position-x: right; |
| | | margin-right: 3px; |
| | | } |
| | | .mce-nbsp, |
| | | .mce-shy { |
| | | background: #aaa; |
| | | } |
| | | .mce-shy::after { |
| | | content: '-'; |
| | | } |
| | | body { |
| | | font-family: sans-serif; |
| | | } |
| | | table { |
| | | border-collapse: collapse; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .mce-content-body .mce-item-anchor { |
| | | background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; |
| | | cursor: default; |
| | | display: inline-block; |
| | | height: 12px !important; |
| | | padding: 0 2px; |
| | | -webkit-user-modify: read-only; |
| | | -moz-user-modify: read-only; |
| | | -webkit-user-select: all; |
| | | -moz-user-select: all; |
| | | -ms-user-select: all; |
| | | user-select: all; |
| | | width: 8px !important; |
| | | } |
| | | .mce-content-body .mce-item-anchor[data-mce-selected] { |
| | | outline-offset: 1px; |
| | | } |
| | | .tox-comments-visible .tox-comment { |
| | | background-color: #fff0b7; |
| | | } |
| | | .tox-comments-visible .tox-comment--active { |
| | | background-color: #ffe168; |
| | | } |
| | | .tox-checklist > li:not(.tox-checklist--hidden) { |
| | | list-style: none; |
| | | margin: 0.25em 0; |
| | | } |
| | | .tox-checklist > li:not(.tox-checklist--hidden)::before { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); |
| | | background-size: 100%; |
| | | content: ''; |
| | | cursor: pointer; |
| | | height: 1em; |
| | | margin-left: -1.5em; |
| | | margin-top: 0.125em; |
| | | position: absolute; |
| | | width: 1em; |
| | | } |
| | | .tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A"); |
| | | } |
| | | [dir=rtl] .tox-checklist > li:not(.tox-checklist--hidden)::before { |
| | | margin-left: 0; |
| | | margin-right: -1.5em; |
| | | } |
| | | /* stylelint-disable */ |
| | | /* http://prismjs.com/ */ |
| | | /** |
| | | * prism.js default theme for JavaScript, CSS and HTML |
| | | * Based on dabblet (http://dabblet.com) |
| | | * @author Lea Verou |
| | | */ |
| | | code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | color: black; |
| | | background: none; |
| | | text-shadow: 0 1px white; |
| | | font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
| | | font-size: 1em; |
| | | text-align: left; |
| | | white-space: pre; |
| | | word-spacing: normal; |
| | | word-break: normal; |
| | | word-wrap: normal; |
| | | line-height: 1.5; |
| | | -moz-tab-size: 4; |
| | | tab-size: 4; |
| | | -webkit-hyphens: none; |
| | | -ms-hyphens: none; |
| | | hyphens: none; |
| | | } |
| | | pre[class*="language-"]::-moz-selection, |
| | | pre[class*="language-"] ::-moz-selection, |
| | | code[class*="language-"]::-moz-selection, |
| | | code[class*="language-"] ::-moz-selection { |
| | | text-shadow: none; |
| | | background: #b3d4fc; |
| | | } |
| | | pre[class*="language-"]::selection, |
| | | pre[class*="language-"] ::selection, |
| | | code[class*="language-"]::selection, |
| | | code[class*="language-"] ::selection { |
| | | text-shadow: none; |
| | | background: #b3d4fc; |
| | | } |
| | | @media print { |
| | | code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | text-shadow: none; |
| | | } |
| | | } |
| | | /* Code blocks */ |
| | | pre[class*="language-"] { |
| | | padding: 1em; |
| | | margin: 0.5em 0; |
| | | overflow: auto; |
| | | } |
| | | :not(pre) > code[class*="language-"], |
| | | pre[class*="language-"] { |
| | | background: #f5f2f0; |
| | | } |
| | | /* Inline code */ |
| | | :not(pre) > code[class*="language-"] { |
| | | padding: 0.1em; |
| | | border-radius: 0.3em; |
| | | white-space: normal; |
| | | } |
| | | .token.comment, |
| | | .token.prolog, |
| | | .token.doctype, |
| | | .token.cdata { |
| | | color: slategray; |
| | | } |
| | | .token.punctuation { |
| | | color: #999; |
| | | } |
| | | .namespace { |
| | | opacity: 0.7; |
| | | } |
| | | .token.property, |
| | | .token.tag, |
| | | .token.boolean, |
| | | .token.number, |
| | | .token.constant, |
| | | .token.symbol, |
| | | .token.deleted { |
| | | color: #905; |
| | | } |
| | | .token.selector, |
| | | .token.attr-name, |
| | | .token.string, |
| | | .token.char, |
| | | .token.builtin, |
| | | .token.inserted { |
| | | color: #690; |
| | | } |
| | | .token.operator, |
| | | .token.entity, |
| | | .token.url, |
| | | .language-css .token.string, |
| | | .style .token.string { |
| | | color: #9a6e3a; |
| | | background: hsla(0, 0%, 100%, 0.5); |
| | | } |
| | | .token.atrule, |
| | | .token.attr-value, |
| | | .token.keyword { |
| | | color: #07a; |
| | | } |
| | | .token.function, |
| | | .token.class-name { |
| | | color: #DD4A68; |
| | | } |
| | | .token.regex, |
| | | .token.important, |
| | | .token.variable { |
| | | color: #e90; |
| | | } |
| | | .token.important, |
| | | .token.bold { |
| | | font-weight: bold; |
| | | } |
| | | .token.italic { |
| | | font-style: italic; |
| | | } |
| | | .token.entity { |
| | | cursor: help; |
| | | } |
| | | /* stylelint-enable */ |
| | | .mce-content-body { |
| | | overflow-wrap: break-word; |
| | | word-wrap: break-word; |
| | | } |
| | | .mce-content-body .mce-visual-caret { |
| | | background-color: black; |
| | | background-color: currentcolor; |
| | | position: absolute; |
| | | } |
| | | .mce-content-body .mce-visual-caret-hidden { |
| | | display: none; |
| | | } |
| | | .mce-content-body *[data-mce-caret] { |
| | | left: -1000px; |
| | | margin: 0; |
| | | padding: 0; |
| | | position: absolute; |
| | | right: auto; |
| | | top: 0; |
| | | } |
| | | .mce-content-body .mce-offscreen-selection { |
| | | left: -9999999999px; |
| | | max-width: 1000000px; |
| | | position: absolute; |
| | | } |
| | | .mce-content-body *[contentEditable=false] { |
| | | cursor: default; |
| | | } |
| | | .mce-content-body *[contentEditable=true] { |
| | | cursor: text; |
| | | } |
| | | .tox-cursor-format-painter { |
| | | cursor: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"), default; |
| | | } |
| | | .mce-content-body figure.align-left { |
| | | float: left; |
| | | } |
| | | .mce-content-body figure.align-right { |
| | | float: right; |
| | | } |
| | | .mce-content-body figure.image.align-center { |
| | | display: table; |
| | | margin-left: auto; |
| | | margin-right: auto; |
| | | } |
| | | .mce-preview-object { |
| | | border: 1px solid gray; |
| | | display: inline-block; |
| | | line-height: 0; |
| | | margin: 0 2px 0 2px; |
| | | position: relative; |
| | | } |
| | | .mce-preview-object .mce-shim { |
| | | background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .mce-preview-object[data-mce-selected="2"] .mce-shim { |
| | | display: none; |
| | | } |
| | | .mce-object { |
| | | background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center; |
| | | border: 1px dashed #aaa; |
| | | } |
| | | .mce-pagebreak { |
| | | border: 1px dashed #aaa; |
| | | cursor: default; |
| | | display: block; |
| | | height: 5px; |
| | | margin-top: 15px; |
| | | page-break-before: always; |
| | | width: 100%; |
| | | } |
| | | @media print { |
| | | .mce-pagebreak { |
| | | border: 0; |
| | | } |
| | | } |
| | | .tiny-pageembed .mce-shim { |
| | | background: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .tiny-pageembed[data-mce-selected="2"] .mce-shim { |
| | | display: none; |
| | | } |
| | | .tiny-pageembed { |
| | | display: inline-block; |
| | | position: relative; |
| | | } |
| | | .tiny-pageembed--21by9, |
| | | .tiny-pageembed--16by9, |
| | | .tiny-pageembed--4by3, |
| | | .tiny-pageembed--1by1 { |
| | | display: block; |
| | | overflow: hidden; |
| | | padding: 0; |
| | | position: relative; |
| | | width: 100%; |
| | | } |
| | | .tiny-pageembed--21by9::before, |
| | | .tiny-pageembed--16by9::before, |
| | | .tiny-pageembed--4by3::before, |
| | | .tiny-pageembed--1by1::before { |
| | | content: ""; |
| | | display: block; |
| | | } |
| | | .tiny-pageembed--21by9::before { |
| | | padding-top: 42.857143%; |
| | | } |
| | | .tiny-pageembed--16by9::before { |
| | | padding-top: 56.25%; |
| | | } |
| | | .tiny-pageembed--4by3::before { |
| | | padding-top: 75%; |
| | | } |
| | | .tiny-pageembed--1by1::before { |
| | | padding-top: 100%; |
| | | } |
| | | .tiny-pageembed--21by9 iframe, |
| | | .tiny-pageembed--16by9 iframe, |
| | | .tiny-pageembed--4by3 iframe, |
| | | .tiny-pageembed--1by1 iframe { |
| | | border: 0; |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .mce-content-body div.mce-resizehandle { |
| | | background-color: #4099ff; |
| | | border-color: #4099ff; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-sizing: border-box; |
| | | height: 10px; |
| | | position: absolute; |
| | | width: 10px; |
| | | z-index: 10000; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:hover { |
| | | background-color: #4099ff; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(1) { |
| | | cursor: nwse-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(2) { |
| | | cursor: nesw-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(3) { |
| | | cursor: nwse-resize; |
| | | } |
| | | .mce-content-body div.mce-resizehandle:nth-of-type(4) { |
| | | cursor: nesw-resize; |
| | | } |
| | | .mce-content-body .mce-clonedresizable { |
| | | opacity: 0.5; |
| | | outline: 1px dashed black; |
| | | position: absolute; |
| | | z-index: 10000; |
| | | } |
| | | .mce-content-body .mce-resize-helper { |
| | | background: #555; |
| | | background: rgba(0, 0, 0, 0.75); |
| | | border: 1px; |
| | | border-radius: 3px; |
| | | color: white; |
| | | display: none; |
| | | font-family: sans-serif; |
| | | font-size: 12px; |
| | | line-height: 14px; |
| | | margin: 5px 10px; |
| | | padding: 5px; |
| | | position: absolute; |
| | | white-space: nowrap; |
| | | z-index: 10001; |
| | | } |
| | | .mce-match-marker { |
| | | background: #aaa; |
| | | color: #fff; |
| | | } |
| | | .mce-match-marker-selected { |
| | | background: #39f; |
| | | color: #fff; |
| | | } |
| | | .mce-content-body img[data-mce-selected], |
| | | .mce-content-body table[data-mce-selected] { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body hr[data-mce-selected] { |
| | | outline: 3px solid #b4d7ff; |
| | | outline-offset: 1px; |
| | | } |
| | | .mce-content-body *[contentEditable=false] *[contentEditable=true]:focus { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body *[contentEditable=false] *[contentEditable=true]:hover { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body *[contentEditable=false][data-mce-selected] { |
| | | cursor: not-allowed; |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body.mce-content-readonly *[contentEditable=true]:focus, |
| | | .mce-content-body.mce-content-readonly *[contentEditable=true]:hover { |
| | | outline: none; |
| | | } |
| | | .mce-content-body *[data-mce-selected="inline-boundary"] { |
| | | background-color: #b4d7ff; |
| | | } |
| | | .mce-content-body .mce-edit-focus { |
| | | outline: 3px solid #b4d7ff; |
| | | } |
| | | .mce-content-body td[data-mce-selected], |
| | | .mce-content-body th[data-mce-selected] { |
| | | background-color: #b4d7ff !important; |
| | | } |
| | | .mce-content-body td[data-mce-selected]::-moz-selection, |
| | | .mce-content-body th[data-mce-selected]::-moz-selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body td[data-mce-selected]::selection, |
| | | .mce-content-body th[data-mce-selected]::selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body td[data-mce-selected] *, |
| | | .mce-content-body th[data-mce-selected] * { |
| | | -webkit-touch-callout: none; |
| | | -webkit-user-select: none; |
| | | -moz-user-select: none; |
| | | -ms-user-select: none; |
| | | user-select: none; |
| | | } |
| | | .mce-content-body img::-moz-selection { |
| | | background: none; |
| | | } |
| | | .mce-content-body img::selection { |
| | | background: none; |
| | | } |
| | | .ephox-snooker-resizer-bar { |
| | | background-color: #b4d7ff; |
| | | opacity: 0; |
| | | } |
| | | .ephox-snooker-resizer-cols { |
| | | cursor: col-resize; |
| | | } |
| | | .ephox-snooker-resizer-rows { |
| | | cursor: row-resize; |
| | | } |
| | | .ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging { |
| | | opacity: 1; |
| | | } |
| | | .mce-spellchecker-word { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); |
| | | background-position: 0 calc(100% + 1px); |
| | | background-repeat: repeat-x; |
| | | background-size: auto 6px; |
| | | cursor: default; |
| | | height: 2rem; |
| | | } |
| | | .mce-spellchecker-grammar { |
| | | background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A"); |
| | | background-position: 0 calc(100% + 1px); |
| | | background-repeat: repeat-x; |
| | | background-size: auto 6px; |
| | | cursor: default; |
| | | } |
| | | .mce-toc { |
| | | border: 1px solid gray; |
| | | } |
| | | .mce-toc h2 { |
| | | margin: 4px; |
| | | } |
| | | .mce-toc li { |
| | | list-style-type: none; |
| | | } |
| | | .mce-item-table, |
| | | .mce-item-table td, |
| | | .mce-item-table th, |
| | | .mce-item-table caption { |
| | | border: 1px dashed #bbb; |
| | | } |
| | | .mce-visualblocks p, |
| | | .mce-visualblocks h1, |
| | | .mce-visualblocks h2, |
| | | .mce-visualblocks h3, |
| | | .mce-visualblocks h4, |
| | | .mce-visualblocks h5, |
| | | .mce-visualblocks h6, |
| | | .mce-visualblocks div:not([data-mce-bogus]), |
| | | .mce-visualblocks section, |
| | | .mce-visualblocks article, |
| | | .mce-visualblocks blockquote, |
| | | .mce-visualblocks address, |
| | | .mce-visualblocks pre, |
| | | .mce-visualblocks figure, |
| | | .mce-visualblocks figcaption, |
| | | .mce-visualblocks hgroup, |
| | | .mce-visualblocks aside, |
| | | .mce-visualblocks ul, |
| | | .mce-visualblocks ol, |
| | | .mce-visualblocks dl { |
| | | background-repeat: no-repeat; |
| | | border: 1px dashed #bbb; |
| | | margin-left: 3px; |
| | | padding-top: 10px; |
| | | } |
| | | .mce-visualblocks p { |
| | | background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); |
| | | } |
| | | .mce-visualblocks h1 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); |
| | | } |
| | | .mce-visualblocks h2 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); |
| | | } |
| | | .mce-visualblocks h3 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); |
| | | } |
| | | .mce-visualblocks h4 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); |
| | | } |
| | | .mce-visualblocks h5 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); |
| | | } |
| | | .mce-visualblocks h6 { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); |
| | | } |
| | | .mce-visualblocks div:not([data-mce-bogus]) { |
| | | background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); |
| | | } |
| | | .mce-visualblocks section { |
| | | background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); |
| | | } |
| | | .mce-visualblocks article { |
| | | background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); |
| | | } |
| | | .mce-visualblocks blockquote { |
| | | background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); |
| | | } |
| | | .mce-visualblocks address { |
| | | background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); |
| | | } |
| | | .mce-visualblocks pre { |
| | | background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); |
| | | } |
| | | .mce-visualblocks figure { |
| | | background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); |
| | | } |
| | | .mce-visualblocks figcaption { |
| | | border: 1px dashed #bbb; |
| | | } |
| | | .mce-visualblocks hgroup { |
| | | background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); |
| | | } |
| | | .mce-visualblocks aside { |
| | | background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); |
| | | } |
| | | .mce-visualblocks ul { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); |
| | | } |
| | | .mce-visualblocks ol { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); |
| | | } |
| | | .mce-visualblocks dl { |
| | | background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); |
| | | } |
| | | .mce-visualblocks:not([dir=rtl]) p, |
| | | .mce-visualblocks:not([dir=rtl]) h1, |
| | | .mce-visualblocks:not([dir=rtl]) h2, |
| | | .mce-visualblocks:not([dir=rtl]) h3, |
| | | .mce-visualblocks:not([dir=rtl]) h4, |
| | | .mce-visualblocks:not([dir=rtl]) h5, |
| | | .mce-visualblocks:not([dir=rtl]) h6, |
| | | .mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]), |
| | | .mce-visualblocks:not([dir=rtl]) section, |
| | | .mce-visualblocks:not([dir=rtl]) article, |
| | | .mce-visualblocks:not([dir=rtl]) blockquote, |
| | | .mce-visualblocks:not([dir=rtl]) address, |
| | | .mce-visualblocks:not([dir=rtl]) pre, |
| | | .mce-visualblocks:not([dir=rtl]) figure, |
| | | .mce-visualblocks:not([dir=rtl]) figcaption, |
| | | .mce-visualblocks:not([dir=rtl]) hgroup, |
| | | .mce-visualblocks:not([dir=rtl]) aside, |
| | | .mce-visualblocks:not([dir=rtl]) ul, |
| | | .mce-visualblocks:not([dir=rtl]) ol, |
| | | .mce-visualblocks:not([dir=rtl]) dl { |
| | | margin-left: 3px; |
| | | } |
| | | .mce-visualblocks[dir=rtl] p, |
| | | .mce-visualblocks[dir=rtl] h1, |
| | | .mce-visualblocks[dir=rtl] h2, |
| | | .mce-visualblocks[dir=rtl] h3, |
| | | .mce-visualblocks[dir=rtl] h4, |
| | | .mce-visualblocks[dir=rtl] h5, |
| | | .mce-visualblocks[dir=rtl] h6, |
| | | .mce-visualblocks[dir=rtl] div:not([data-mce-bogus]), |
| | | .mce-visualblocks[dir=rtl] section, |
| | | .mce-visualblocks[dir=rtl] article, |
| | | .mce-visualblocks[dir=rtl] blockquote, |
| | | .mce-visualblocks[dir=rtl] address, |
| | | .mce-visualblocks[dir=rtl] pre, |
| | | .mce-visualblocks[dir=rtl] figure, |
| | | .mce-visualblocks[dir=rtl] figcaption, |
| | | .mce-visualblocks[dir=rtl] hgroup, |
| | | .mce-visualblocks[dir=rtl] aside, |
| | | .mce-visualblocks[dir=rtl] ul, |
| | | .mce-visualblocks[dir=rtl] ol, |
| | | .mce-visualblocks[dir=rtl] dl { |
| | | background-position-x: right; |
| | | margin-right: 3px; |
| | | } |
| | | .mce-nbsp, |
| | | .mce-shy { |
| | | background: #aaa; |
| | | } |
| | | .mce-shy::after { |
| | | content: '-'; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment{background-color:#fff0b7}.tox-comments-visible .tox-comment--active{background-color:#ffe168}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");background-size:100%;content:'';cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentcolor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-9999999999px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--16by9::before,.tiny-pageembed--1by1::before,.tiny-pageembed--21by9::before,.tiny-pageembed--4by3::before{content:"";display:block}.tiny-pageembed--21by9::before{padding-top:42.857143%}.tiny-pageembed--16by9::before{padding-top:56.25%}.tiny-pageembed--4by3::before{padding-top:75%}.tiny-pageembed--1by1::before{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:10000}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-clonedresizable{opacity:.5;outline:1px dashed #000;position:absolute;z-index:10000}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10001}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-content-body img[data-mce-selected],.mce-content-body table[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{background-color:#b4d7ff!important}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mce-content-body img::-moz-selection{background:0 0}.mce-content-body img::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table,.mce-item-table caption,.mce-item-table td,.mce-item-table th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'} |
| | | /*# sourceMappingURL=content.inline.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .mce-content-body .mce-item-anchor{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'8'%20height%3D'12'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20d%3D'M0%200L8%200%208%2012%204.09117821%209%200%2012z'%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;cursor:default;display:inline-block;height:12px!important;padding:0 2px;-webkit-user-modify:read-only;-moz-user-modify:read-only;-webkit-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;width:8px!important}.mce-content-body .mce-item-anchor[data-mce-selected]{outline-offset:1px}.tox-comments-visible .tox-comment{background-color:#fff0b7}.tox-comments-visible .tox-comment--active{background-color:#ffe168}.tox-checklist>li:not(.tox-checklist--hidden){list-style:none;margin:.25em 0}.tox-checklist>li:not(.tox-checklist--hidden)::before{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-unchecked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2215%22%20height%3D%2215%22%20x%3D%22.5%22%20y%3D%22.5%22%20fill-rule%3D%22nonzero%22%20stroke%3D%22%234C4C4C%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A");background-size:100%;content:'';cursor:pointer;height:1em;margin-left:-1.5em;margin-top:.125em;position:absolute;width:1em}.tox-checklist li:not(.tox-checklist--hidden).tox-checklist--checked::before{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cg%20id%3D%22checklist-checked%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Crect%20id%3D%22Rectangle%22%20width%3D%2216%22%20height%3D%2216%22%20fill%3D%22%234099FF%22%20fill-rule%3D%22nonzero%22%20rx%3D%222%22%2F%3E%3Cpath%20id%3D%22Path%22%20fill%3D%22%23FFF%22%20fill-rule%3D%22nonzero%22%20d%3D%22M11.5703186%2C3.14417309%20C11.8516238%2C2.73724603%2012.4164781%2C2.62829933%2012.83558%2C2.89774797%20C13.260121%2C3.17069355%2013.3759736%2C3.72932262%2013.0909105%2C4.14168582%20L7.7580587%2C11.8560195%20C7.43776896%2C12.3193404%206.76483983%2C12.3852142%206.35607322%2C11.9948725%20L3.02491697%2C8.8138662%20C2.66090143%2C8.46625845%202.65798871%2C7.89594698%203.01850234%2C7.54483354%20C3.373942%2C7.19866177%203.94940006%2C7.19592841%204.30829608%2C7.5386474%20L6.85276923%2C9.9684299%20L11.5703186%2C3.14417309%20Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E%0A")}[dir=rtl] .tox-checklist>li:not(.tox-checklist--hidden)::before{margin-left:0;margin-right:-1.5em}code[class*=language-],pre[class*=language-]{color:#000;background:0 0;text-shadow:0 1px #fff;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#9a6e3a;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.class-name,.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.mce-content-body{overflow-wrap:break-word;word-wrap:break-word}.mce-content-body .mce-visual-caret{background-color:#000;background-color:currentcolor;position:absolute}.mce-content-body .mce-visual-caret-hidden{display:none}.mce-content-body [data-mce-caret]{left:-1000px;margin:0;padding:0;position:absolute;right:auto;top:0}.mce-content-body .mce-offscreen-selection{left:-9999999999px;max-width:1000000px;position:absolute}.mce-content-body [contentEditable=false]{cursor:default}.mce-content-body [contentEditable=true]{cursor:text}.tox-cursor-format-painter{cursor:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%0A%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M15%2C6%20C15%2C5.45%2014.55%2C5%2014%2C5%20L6%2C5%20C5.45%2C5%205%2C5.45%205%2C6%20L5%2C10%20C5%2C10.55%205.45%2C11%206%2C11%20L14%2C11%20C14.55%2C11%2015%2C10.55%2015%2C10%20L15%2C9%20L16%2C9%20L16%2C12%20L9%2C12%20L9%2C19%20C9%2C19.55%209.45%2C20%2010%2C20%20L11%2C20%20C11.55%2C20%2012%2C19.55%2012%2C19%20L12%2C14%20L18%2C14%20L18%2C7%20L15%2C7%20L15%2C6%20Z%22%2F%3E%0A%20%20%20%20%3Cpath%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%20d%3D%22M1%2C1%20L8.25%2C1%20C8.66421356%2C1%209%2C1.33578644%209%2C1.75%20L9%2C1.75%20C9%2C2.16421356%208.66421356%2C2.5%208.25%2C2.5%20L2.5%2C2.5%20L2.5%2C8.25%20C2.5%2C8.66421356%202.16421356%2C9%201.75%2C9%20L1.75%2C9%20C1.33578644%2C9%201%2C8.66421356%201%2C8.25%20L1%2C1%20Z%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A"),default}.mce-content-body figure.align-left{float:left}.mce-content-body figure.align-right{float:right}.mce-content-body figure.image.align-center{display:table;margin-left:auto;margin-right:auto}.mce-preview-object{border:1px solid gray;display:inline-block;line-height:0;margin:0 2px 0 2px;position:relative}.mce-preview-object .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-object{background:transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%203h16a1%201%200%200%201%201%201v16a1%201%200%200%201-1%201H4a1%201%200%200%201-1-1V4a1%201%200%200%201%201-1zm1%202v14h14V5H5zm4.79%202.565l5.64%204.028a.5.5%200%200%201%200%20.814l-5.64%204.028a.5.5%200%200%201-.79-.407V7.972a.5.5%200%200%201%20.79-.407z%22%2F%3E%3C%2Fsvg%3E%0A") no-repeat center;border:1px dashed #aaa}.mce-pagebreak{border:1px dashed #aaa;cursor:default;display:block;height:5px;margin-top:15px;page-break-before:always;width:100%}@media print{.mce-pagebreak{border:0}}.tiny-pageembed .mce-shim{background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);height:100%;left:0;position:absolute;top:0;width:100%}.tiny-pageembed[data-mce-selected="2"] .mce-shim{display:none}.tiny-pageembed{display:inline-block;position:relative}.tiny-pageembed--16by9,.tiny-pageembed--1by1,.tiny-pageembed--21by9,.tiny-pageembed--4by3{display:block;overflow:hidden;padding:0;position:relative;width:100%}.tiny-pageembed--16by9::before,.tiny-pageembed--1by1::before,.tiny-pageembed--21by9::before,.tiny-pageembed--4by3::before{content:"";display:block}.tiny-pageembed--21by9::before{padding-top:42.857143%}.tiny-pageembed--16by9::before{padding-top:56.25%}.tiny-pageembed--4by3::before{padding-top:75%}.tiny-pageembed--1by1::before{padding-top:100%}.tiny-pageembed--16by9 iframe,.tiny-pageembed--1by1 iframe,.tiny-pageembed--21by9 iframe,.tiny-pageembed--4by3 iframe{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.mce-content-body div.mce-resizehandle{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;height:10px;position:absolute;width:10px;z-index:10000}.mce-content-body div.mce-resizehandle:hover{background-color:#4099ff}.mce-content-body div.mce-resizehandle:nth-of-type(1){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(2){cursor:nesw-resize}.mce-content-body div.mce-resizehandle:nth-of-type(3){cursor:nwse-resize}.mce-content-body div.mce-resizehandle:nth-of-type(4){cursor:nesw-resize}.mce-content-body .mce-clonedresizable{opacity:.5;outline:1px dashed #000;position:absolute;z-index:10000}.mce-content-body .mce-resize-helper{background:#555;background:rgba(0,0,0,.75);border:1px;border-radius:3px;color:#fff;display:none;font-family:sans-serif;font-size:12px;line-height:14px;margin:5px 10px;padding:5px;position:absolute;white-space:nowrap;z-index:10001}.mce-match-marker{background:#aaa;color:#fff}.mce-match-marker-selected{background:#39f;color:#fff}.mce-content-body img[data-mce-selected],.mce-content-body table[data-mce-selected]{outline:3px solid #b4d7ff}.mce-content-body hr[data-mce-selected]{outline:3px solid #b4d7ff;outline-offset:1px}.mce-content-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-focus{outline:3px solid #b4d7ff}.mce-content-body td[data-mce-selected],.mce-content-body th[data-mce-selected]{background-color:#b4d7ff!important}.mce-content-body td[data-mce-selected]::-moz-selection,.mce-content-body th[data-mce-selected]::-moz-selection{background:0 0}.mce-content-body td[data-mce-selected]::selection,.mce-content-body th[data-mce-selected]::selection{background:0 0}.mce-content-body td[data-mce-selected] *,.mce-content-body th[data-mce-selected] *{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mce-content-body img::-moz-selection{background:0 0}.mce-content-body img::selection{background:0 0}.ephox-snooker-resizer-bar{background-color:#b4d7ff;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:1}.mce-spellchecker-word{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%23ff0000'%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-opacity%3D'.75'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default;height:2rem}.mce-spellchecker-grammar{background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'4'%20height%3D'4'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%3Cpath%20stroke%3D'%2300A835'%20fill%3D'none'%20stroke-linecap%3D'round'%20d%3D'M0%203L2%201%204%203'%2F%3E%3C%2Fsvg%3E%0A");background-position:0 calc(100% + 1px);background-repeat:repeat-x;background-size:auto 6px;cursor:default}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-item-table,.mce-item-table caption,.mce-item-table td,.mce-item-table th{border:1px dashed #bbb}.mce-visualblocks address,.mce-visualblocks article,.mce-visualblocks aside,.mce-visualblocks blockquote,.mce-visualblocks div:not([data-mce-bogus]),.mce-visualblocks dl,.mce-visualblocks figcaption,.mce-visualblocks figure,.mce-visualblocks h1,.mce-visualblocks h2,.mce-visualblocks h3,.mce-visualblocks h4,.mce-visualblocks h5,.mce-visualblocks h6,.mce-visualblocks hgroup,.mce-visualblocks ol,.mce-visualblocks p,.mce-visualblocks pre,.mce-visualblocks section,.mce-visualblocks ul{background-repeat:no-repeat;border:1px dashed #bbb;margin-left:3px;padding-top:10px}.mce-visualblocks p{background-image:url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7)}.mce-visualblocks h1{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==)}.mce-visualblocks h2{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==)}.mce-visualblocks h3{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7)}.mce-visualblocks h4{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==)}.mce-visualblocks h5{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==)}.mce-visualblocks h6{background-image:url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==)}.mce-visualblocks div:not([data-mce-bogus]){background-image:url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7)}.mce-visualblocks section{background-image:url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=)}.mce-visualblocks article{background-image:url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7)}.mce-visualblocks blockquote{background-image:url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7)}.mce-visualblocks address{background-image:url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=)}.mce-visualblocks pre{background-image:url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==)}.mce-visualblocks figure{background-image:url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7)}.mce-visualblocks figcaption{border:1px dashed #bbb}.mce-visualblocks hgroup{background-image:url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7)}.mce-visualblocks aside{background-image:url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=)}.mce-visualblocks ul{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==)}.mce-visualblocks:not([dir=rtl]) address,.mce-visualblocks:not([dir=rtl]) article,.mce-visualblocks:not([dir=rtl]) aside,.mce-visualblocks:not([dir=rtl]) blockquote,.mce-visualblocks:not([dir=rtl]) div:not([data-mce-bogus]),.mce-visualblocks:not([dir=rtl]) dl,.mce-visualblocks:not([dir=rtl]) figcaption,.mce-visualblocks:not([dir=rtl]) figure,.mce-visualblocks:not([dir=rtl]) h1,.mce-visualblocks:not([dir=rtl]) h2,.mce-visualblocks:not([dir=rtl]) h3,.mce-visualblocks:not([dir=rtl]) h4,.mce-visualblocks:not([dir=rtl]) h5,.mce-visualblocks:not([dir=rtl]) h6,.mce-visualblocks:not([dir=rtl]) hgroup,.mce-visualblocks:not([dir=rtl]) ol,.mce-visualblocks:not([dir=rtl]) p,.mce-visualblocks:not([dir=rtl]) pre,.mce-visualblocks:not([dir=rtl]) section,.mce-visualblocks:not([dir=rtl]) ul{margin-left:3px}.mce-visualblocks[dir=rtl] address,.mce-visualblocks[dir=rtl] article,.mce-visualblocks[dir=rtl] aside,.mce-visualblocks[dir=rtl] blockquote,.mce-visualblocks[dir=rtl] div:not([data-mce-bogus]),.mce-visualblocks[dir=rtl] dl,.mce-visualblocks[dir=rtl] figcaption,.mce-visualblocks[dir=rtl] figure,.mce-visualblocks[dir=rtl] h1,.mce-visualblocks[dir=rtl] h2,.mce-visualblocks[dir=rtl] h3,.mce-visualblocks[dir=rtl] h4,.mce-visualblocks[dir=rtl] h5,.mce-visualblocks[dir=rtl] h6,.mce-visualblocks[dir=rtl] hgroup,.mce-visualblocks[dir=rtl] ol,.mce-visualblocks[dir=rtl] p,.mce-visualblocks[dir=rtl] pre,.mce-visualblocks[dir=rtl] section,.mce-visualblocks[dir=rtl] ul{background-position-x:right;margin-right:3px}.mce-nbsp,.mce-shy{background:#aaa}.mce-shy::after{content:'-'}body{font-family:sans-serif}table{border-collapse:collapse} |
| | | /*# sourceMappingURL=content.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection { |
| | | /* Note: this file is used inside the content, so isn't part of theming */ |
| | | background-color: green; |
| | | display: inline-block; |
| | | opacity: 0.5; |
| | | position: absolute; |
| | | } |
| | | body { |
| | | -webkit-text-size-adjust: none; |
| | | } |
| | | body img { |
| | | /* this is related to the content margin */ |
| | | max-width: 96vw; |
| | | } |
| | | body table img { |
| | | max-width: 95%; |
| | | } |
| | | body { |
| | | font-family: sans-serif; |
| | | } |
| | | table { |
| | | border-collapse: collapse; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse} |
| | | /*# sourceMappingURL=content.mobile.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .tox { |
| | | box-sizing: content-box; |
| | | color: #222f3e; |
| | | cursor: auto; |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | font-size: 16px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: normal; |
| | | -webkit-tap-highlight-color: transparent; |
| | | text-decoration: none; |
| | | text-shadow: none; |
| | | text-transform: none; |
| | | vertical-align: initial; |
| | | white-space: normal; |
| | | } |
| | | .tox *:not(svg) { |
| | | box-sizing: inherit; |
| | | color: inherit; |
| | | cursor: inherit; |
| | | direction: inherit; |
| | | font-family: inherit; |
| | | font-size: inherit; |
| | | font-style: inherit; |
| | | font-weight: inherit; |
| | | line-height: inherit; |
| | | -webkit-tap-highlight-color: inherit; |
| | | text-align: inherit; |
| | | text-decoration: inherit; |
| | | text-shadow: inherit; |
| | | text-transform: inherit; |
| | | vertical-align: inherit; |
| | | white-space: inherit; |
| | | } |
| | | .tox *:not(svg) { |
| | | /* stylelint-disable-line no-duplicate-selectors */ |
| | | background: transparent; |
| | | border: 0; |
| | | float: none; |
| | | height: auto; |
| | | margin: 0; |
| | | max-width: none; |
| | | outline: 0; |
| | | padding: 0; |
| | | position: static; |
| | | width: auto; |
| | | } |
| | | .tox:not([dir=rtl]) { |
| | | direction: ltr; |
| | | text-align: left; |
| | | } |
| | | .tox[dir=rtl] { |
| | | direction: rtl; |
| | | text-align: right; |
| | | } |
| | | .tox-tinymce { |
| | | border: 1px solid #cccccc; |
| | | border-radius: 0; |
| | | box-shadow: none; |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | flex-direction: column; |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | overflow: hidden; |
| | | position: relative; |
| | | visibility: inherit !important; |
| | | } |
| | | .tox-tinymce-inline { |
| | | border: none; |
| | | box-shadow: none; |
| | | } |
| | | .tox-tinymce-inline .tox-editor-header { |
| | | border: 1px solid #cccccc; |
| | | border-bottom: 0; |
| | | border-radius: 0; |
| | | box-shadow: none; |
| | | } |
| | | .tox-tinymce-aux { |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | z-index: 1300; |
| | | } |
| | | .tox-tinymce *:focus, |
| | | .tox-tinymce-aux *:focus { |
| | | outline: none; |
| | | } |
| | | button::-moz-focus-inner { |
| | | border: 0; |
| | | } |
| | | .tox .accessibility-issue__header { |
| | | align-items: center; |
| | | display: flex; |
| | | margin-bottom: 4px; |
| | | } |
| | | .tox .accessibility-issue__description { |
| | | align-items: stretch; |
| | | border: 1px solid #cccccc; |
| | | border-radius: 3px; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | } |
| | | .tox .accessibility-issue__description > div { |
| | | padding-bottom: 4px; |
| | | } |
| | | .tox .accessibility-issue__description > div > div { |
| | | align-items: center; |
| | | display: flex; |
| | | margin-bottom: 4px; |
| | | } |
| | | .tox .accessibility-issue__description > *:last-child:not(:only-child) { |
| | | border-color: #cccccc; |
| | | border-style: solid; |
| | | } |
| | | .tox .accessibility-issue__repair { |
| | | margin-top: 16px; |
| | | } |
| | | .tox .accessibility-issue--info .accessibility-issue__description { |
| | | background-color: rgba(32, 122, 183, 0.1); |
| | | border-color: rgba(32, 122, 183, 0.4); |
| | | color: #222f3e; |
| | | } |
| | | .tox .accessibility-issue--info .accessibility-issue__description > *:last-child { |
| | | border-color: rgba(32, 122, 183, 0.4); |
| | | } |
| | | .tox .accessibility-issue--info h2 { |
| | | color: #207ab7; |
| | | } |
| | | .tox .accessibility-issue--info .tox-icon svg { |
| | | fill: #207ab7; |
| | | } |
| | | .tox .accessibility-issue--info a .tox-icon { |
| | | color: #207ab7; |
| | | } |
| | | .tox .accessibility-issue--warn .accessibility-issue__description { |
| | | background-color: rgba(255, 165, 0, 0.1); |
| | | border-color: rgba(255, 165, 0, 0.5); |
| | | color: #222f3e; |
| | | } |
| | | .tox .accessibility-issue--warn .accessibility-issue__description > *:last-child { |
| | | border-color: rgba(255, 165, 0, 0.5); |
| | | } |
| | | .tox .accessibility-issue--warn h2 { |
| | | color: #cc8500; |
| | | } |
| | | .tox .accessibility-issue--warn .tox-icon svg { |
| | | fill: #cc8500; |
| | | } |
| | | .tox .accessibility-issue--warn a .tox-icon { |
| | | color: #cc8500; |
| | | } |
| | | .tox .accessibility-issue--error .accessibility-issue__description { |
| | | background-color: rgba(204, 0, 0, 0.1); |
| | | border-color: rgba(204, 0, 0, 0.4); |
| | | color: #222f3e; |
| | | } |
| | | .tox .accessibility-issue--error .accessibility-issue__description > *:last-child { |
| | | border-color: rgba(204, 0, 0, 0.4); |
| | | } |
| | | .tox .accessibility-issue--error h2 { |
| | | color: #c00; |
| | | } |
| | | .tox .accessibility-issue--error .tox-icon svg { |
| | | fill: #c00; |
| | | } |
| | | .tox .accessibility-issue--error a .tox-icon { |
| | | color: #c00; |
| | | } |
| | | .tox .accessibility-issue--success .accessibility-issue__description { |
| | | background-color: rgba(120, 171, 70, 0.1); |
| | | border-color: rgba(120, 171, 70, 0.4); |
| | | color: #222f3e; |
| | | } |
| | | .tox .accessibility-issue--success .accessibility-issue__description > *:last-child { |
| | | border-color: rgba(120, 171, 70, 0.4); |
| | | } |
| | | .tox .accessibility-issue--success h2 { |
| | | color: #78AB46; |
| | | } |
| | | .tox .accessibility-issue--success .tox-icon svg { |
| | | fill: #78AB46; |
| | | } |
| | | .tox .accessibility-issue--success a .tox-icon { |
| | | color: #78AB46; |
| | | } |
| | | .tox .tox-dialog__body-content .accessibility-issue__header h1, |
| | | .tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2 { |
| | | margin-top: 0; |
| | | } |
| | | .tox:not([dir=rtl]) .accessibility-issue__header .tox-button { |
| | | margin-left: 4px; |
| | | } |
| | | .tox:not([dir=rtl]) .accessibility-issue__header > *:nth-last-child(2) { |
| | | margin-left: auto; |
| | | } |
| | | .tox:not([dir=rtl]) .accessibility-issue__description { |
| | | padding: 4px 4px 4px 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .accessibility-issue__description > *:last-child { |
| | | border-left-width: 1px; |
| | | padding-left: 4px; |
| | | } |
| | | .tox[dir=rtl] .accessibility-issue__header .tox-button { |
| | | margin-right: 4px; |
| | | } |
| | | .tox[dir=rtl] .accessibility-issue__header > *:nth-last-child(2) { |
| | | margin-right: auto; |
| | | } |
| | | .tox[dir=rtl] .accessibility-issue__description { |
| | | padding: 4px 8px 4px 4px; |
| | | } |
| | | .tox[dir=rtl] .accessibility-issue__description > *:last-child { |
| | | border-right-width: 1px; |
| | | padding-right: 4px; |
| | | } |
| | | .tox .tox-anchorbar { |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | } |
| | | .tox .tox-bar { |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | } |
| | | .tox .tox-button { |
| | | background-color: #207ab7; |
| | | background-image: none; |
| | | background-position: none; |
| | | background-repeat: none; |
| | | border-color: #207ab7; |
| | | border-radius: 3px; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-shadow: none; |
| | | box-sizing: border-box; |
| | | color: #fff; |
| | | cursor: pointer; |
| | | display: inline-block; |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | font-size: 14px; |
| | | font-weight: bold; |
| | | letter-spacing: 1; |
| | | line-height: 24px; |
| | | margin: 0; |
| | | outline: none; |
| | | padding: 4px 16px; |
| | | text-align: center; |
| | | text-decoration: none; |
| | | text-transform: capitalize; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-button[disabled] { |
| | | background-color: #207ab7; |
| | | background-image: none; |
| | | border-color: #207ab7; |
| | | box-shadow: none; |
| | | color: rgba(255, 255, 255, 0.5); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-button:focus:not(:disabled) { |
| | | background-color: #1c6ca1; |
| | | background-image: none; |
| | | border-color: #1c6ca1; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button:hover:not(:disabled) { |
| | | background-color: #1c6ca1; |
| | | background-image: none; |
| | | border-color: #1c6ca1; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button:active:not(:disabled) { |
| | | background-color: #185d8c; |
| | | background-image: none; |
| | | border-color: #185d8c; |
| | | box-shadow: none; |
| | | color: #fff; |
| | | } |
| | | .tox .tox-button--secondary { |
| | | background-color: #f0f0f0; |
| | | background-image: none; |
| | | background-position: none; |
| | | background-repeat: none; |
| | | border-color: #f0f0f0; |
| | | border-radius: 3px; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | outline: none; |
| | | padding: 4px 16px; |
| | | text-decoration: none; |
| | | text-transform: capitalize; |
| | | } |
| | | .tox .tox-button--secondary[disabled] { |
| | | background-color: #f0f0f0; |
| | | background-image: none; |
| | | border-color: #f0f0f0; |
| | | box-shadow: none; |
| | | color: rgba(34, 47, 62, 0.5); |
| | | } |
| | | .tox .tox-button--secondary:focus:not(:disabled) { |
| | | background-color: #e3e3e3; |
| | | background-image: none; |
| | | border-color: #e3e3e3; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-button--secondary:hover:not(:disabled) { |
| | | background-color: #e3e3e3; |
| | | background-image: none; |
| | | border-color: #e3e3e3; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-button--secondary:active:not(:disabled) { |
| | | background-color: #d6d6d6; |
| | | background-image: none; |
| | | border-color: #d6d6d6; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-button--icon, |
| | | .tox .tox-button.tox-button--icon, |
| | | .tox .tox-button.tox-button--secondary.tox-button--icon { |
| | | padding: 4px; |
| | | } |
| | | .tox .tox-button--icon .tox-icon svg, |
| | | .tox .tox-button.tox-button--icon .tox-icon svg, |
| | | .tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg { |
| | | display: block; |
| | | fill: currentColor; |
| | | } |
| | | .tox .tox-button-link { |
| | | background: 0; |
| | | border: none; |
| | | box-sizing: border-box; |
| | | cursor: pointer; |
| | | display: inline-block; |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | font-size: 16px; |
| | | font-weight: normal; |
| | | line-height: 1.3; |
| | | margin: 0; |
| | | padding: 0; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-button-link--sm { |
| | | font-size: 14px; |
| | | } |
| | | .tox .tox-button--naked { |
| | | background-color: transparent; |
| | | border-color: transparent; |
| | | box-shadow: unset; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-button--naked[disabled] { |
| | | background-color: #f0f0f0; |
| | | border-color: #f0f0f0; |
| | | box-shadow: none; |
| | | color: rgba(34, 47, 62, 0.5); |
| | | } |
| | | .tox .tox-button--naked:hover:not(:disabled) { |
| | | background-color: #e3e3e3; |
| | | border-color: #e3e3e3; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-button--naked:focus:not(:disabled) { |
| | | background-color: #e3e3e3; |
| | | border-color: #e3e3e3; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-button--naked:active:not(:disabled) { |
| | | background-color: #d6d6d6; |
| | | border-color: #d6d6d6; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-button--naked .tox-icon svg { |
| | | fill: currentColor; |
| | | } |
| | | .tox .tox-button--naked.tox-button--icon:hover:not(:disabled) { |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-checkbox { |
| | | align-items: center; |
| | | border-radius: 3px; |
| | | cursor: pointer; |
| | | display: flex; |
| | | height: 36px; |
| | | min-width: 36px; |
| | | } |
| | | .tox .tox-checkbox__input { |
| | | /* Hide from view but visible to screen readers */ |
| | | height: 1px; |
| | | left: -10000px; |
| | | overflow: hidden; |
| | | position: absolute; |
| | | top: auto; |
| | | width: 1px; |
| | | } |
| | | .tox .tox-checkbox__icons { |
| | | align-items: center; |
| | | border-radius: 3px; |
| | | box-shadow: 0 0 0 2px transparent; |
| | | box-sizing: content-box; |
| | | display: flex; |
| | | height: 24px; |
| | | justify-content: center; |
| | | padding: calc(4px - 1px); |
| | | width: 24px; |
| | | } |
| | | .tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { |
| | | display: block; |
| | | fill: rgba(34, 47, 62, 0.3); |
| | | } |
| | | .tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { |
| | | display: none; |
| | | fill: #207ab7; |
| | | } |
| | | .tox .tox-checkbox__icons .tox-checkbox-icon__checked svg { |
| | | display: none; |
| | | fill: #207ab7; |
| | | } |
| | | .tox .tox-checkbox--disabled { |
| | | color: rgba(34, 47, 62, 0.5); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg { |
| | | fill: rgba(34, 47, 62, 0.5); |
| | | } |
| | | .tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { |
| | | fill: rgba(34, 47, 62, 0.5); |
| | | } |
| | | .tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { |
| | | fill: rgba(34, 47, 62, 0.5); |
| | | } |
| | | .tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { |
| | | display: none; |
| | | } |
| | | .tox input.tox-checkbox__input:checked + .tox-checkbox__icons .tox-checkbox-icon__checked svg { |
| | | display: block; |
| | | } |
| | | .tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__unchecked svg { |
| | | display: none; |
| | | } |
| | | .tox input.tox-checkbox__input:indeterminate + .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg { |
| | | display: block; |
| | | } |
| | | .tox input.tox-checkbox__input:focus + .tox-checkbox__icons { |
| | | border-radius: 3px; |
| | | box-shadow: inset 0 0 0 1px #207ab7; |
| | | padding: calc(4px - 1px); |
| | | } |
| | | .tox:not([dir=rtl]) .tox-checkbox__label { |
| | | margin-left: 4px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-bar .tox-checkbox { |
| | | margin-left: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-checkbox__label { |
| | | margin-right: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-bar .tox-checkbox { |
| | | margin-right: 4px; |
| | | } |
| | | .tox { |
| | | /* stylelint-disable-next-line no-descending-specificity */ |
| | | } |
| | | .tox .tox-collection--toolbar .tox-collection__group { |
| | | display: flex; |
| | | padding: 0; |
| | | } |
| | | .tox .tox-collection--grid .tox-collection__group { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | max-height: 208px; |
| | | overflow-x: hidden; |
| | | overflow-y: auto; |
| | | padding: 0; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__group { |
| | | border-bottom-width: 0; |
| | | border-color: #cccccc; |
| | | border-left-width: 0; |
| | | border-right-width: 0; |
| | | border-style: solid; |
| | | border-top-width: 1px; |
| | | padding: 4px 0; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__group:first-child { |
| | | border-top-width: 0; |
| | | } |
| | | .tox .tox-collection__group-heading { |
| | | background-color: #e6e6e6; |
| | | color: rgba(34, 47, 62, 0.7); |
| | | cursor: default; |
| | | font-size: 12px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | margin-bottom: 4px; |
| | | margin-top: -4px; |
| | | padding: 4px 8px; |
| | | text-transform: none; |
| | | -webkit-touch-callout: none; |
| | | -webkit-user-select: none; |
| | | -moz-user-select: none; |
| | | -ms-user-select: none; |
| | | user-select: none; |
| | | } |
| | | .tox .tox-collection__item { |
| | | align-items: center; |
| | | color: #222f3e; |
| | | cursor: pointer; |
| | | display: flex; |
| | | -webkit-touch-callout: none; |
| | | -webkit-user-select: none; |
| | | -moz-user-select: none; |
| | | -ms-user-select: none; |
| | | user-select: none; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__item { |
| | | padding: 4px 8px; |
| | | } |
| | | .tox .tox-collection--toolbar .tox-collection__item { |
| | | border-radius: 3px; |
| | | padding: 4px; |
| | | } |
| | | .tox .tox-collection--grid .tox-collection__item { |
| | | border-radius: 3px; |
| | | padding: 4px; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__item--enabled { |
| | | background-color: inherit; |
| | | color: contrast(inherit, #222f3e, #fff); |
| | | } |
| | | .tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled) { |
| | | background-color: #dee0e2; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-collection--toolbar .tox-collection__item--enabled { |
| | | background-color: #c8cbcf; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled) { |
| | | background-color: #dee0e2; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-collection--grid .tox-collection__item--enabled { |
| | | background-color: #c8cbcf; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled) { |
| | | background-color: #dee0e2; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-collection__item--state-disabled { |
| | | background-color: transparent; |
| | | color: rgba(34, 47, 62, 0.5); |
| | | cursor: default; |
| | | } |
| | | .tox .tox-collection__item-icon { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 24px; |
| | | justify-content: center; |
| | | width: 24px; |
| | | } |
| | | .tox .tox-collection__item-icon svg { |
| | | fill: currentColor; |
| | | } |
| | | .tox .tox-collection--toolbar-lg .tox-collection__item-icon { |
| | | height: 48px; |
| | | width: 48px; |
| | | } |
| | | .tox .tox-collection__item-label { |
| | | color: currentColor; |
| | | display: inline-block; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: 24px; |
| | | text-transform: none; |
| | | word-break: break-all; |
| | | } |
| | | .tox .tox-collection__item-accessory { |
| | | color: rgba(34, 47, 62, 0.7); |
| | | display: inline-block; |
| | | font-size: 14px; |
| | | height: 24px; |
| | | line-height: 24px; |
| | | text-transform: normal; |
| | | } |
| | | .tox .tox-collection__item-caret { |
| | | align-items: center; |
| | | display: flex; |
| | | min-height: 24px; |
| | | } |
| | | .tox .tox-collection__item-caret::after { |
| | | content: ''; |
| | | font-size: 0; |
| | | min-height: inherit; |
| | | } |
| | | .tox .tox-collection__item-caret svg { |
| | | fill: #222f3e; |
| | | } |
| | | .tox .tox-collection__item[role="menuitemcheckbox"]:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg { |
| | | display: none; |
| | | } |
| | | .tox .tox-collection--horizontal { |
| | | background-color: #fff; |
| | | border: 1px solid #cccccc; |
| | | border-radius: 3px; |
| | | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | flex-shrink: 0; |
| | | flex-wrap: nowrap; |
| | | margin-bottom: 0; |
| | | overflow-x: auto; |
| | | padding: 0; |
| | | } |
| | | .tox .tox-collection--horizontal .tox-collection__group { |
| | | align-items: center; |
| | | display: flex; |
| | | flex-wrap: nowrap; |
| | | margin: 0; |
| | | padding: 0 4px; |
| | | } |
| | | .tox .tox-collection--horizontal .tox-collection__item { |
| | | height: 34px; |
| | | margin: 2px 0 3px 0; |
| | | padding: 0 4px; |
| | | } |
| | | .tox .tox-collection--horizontal .tox-collection__item-label { |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-collection--horizontal .tox-collection__item-caret { |
| | | margin-left: 4px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { |
| | | border-right: 1px solid #cccccc; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-collection--list .tox-collection__item > *:not(:first-child) { |
| | | margin-left: 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-collection--list .tox-collection__item-label:first-child { |
| | | margin-left: 4px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-collection__item-accessory { |
| | | margin-left: 16px; |
| | | text-align: right; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret { |
| | | margin-left: 16px; |
| | | } |
| | | .tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type) { |
| | | border-left: 1px solid #cccccc; |
| | | } |
| | | .tox[dir=rtl] .tox-collection--list .tox-collection__item > *:not(:first-child) { |
| | | margin-right: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-collection--list .tox-collection__item-label:first-child { |
| | | margin-right: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-collection__item-icon-rtl { |
| | | /* stylelint-disable-next-line no-descending-specificity */ |
| | | } |
| | | .tox[dir=rtl] .tox-collection__item-icon-rtl .tox-collection__item-icon svg { |
| | | transform: rotateY(180deg); |
| | | } |
| | | .tox[dir=rtl] .tox-collection__item-accessory { |
| | | margin-right: 16px; |
| | | text-align: left; |
| | | } |
| | | .tox[dir=rtl] .tox-collection .tox-collection__item-caret { |
| | | margin-right: 16px; |
| | | transform: rotateY(180deg); |
| | | } |
| | | .tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret { |
| | | margin-right: 4px; |
| | | } |
| | | .tox .tox-color-picker-container { |
| | | display: flex; |
| | | flex-direction: row; |
| | | height: 225px; |
| | | margin: 0; |
| | | } |
| | | .tox .tox-sv-palette { |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | height: 100%; |
| | | } |
| | | .tox .tox-sv-palette-spectrum { |
| | | height: 100%; |
| | | } |
| | | .tox .tox-sv-palette, |
| | | .tox .tox-sv-palette-spectrum { |
| | | width: 225px; |
| | | } |
| | | .tox .tox-sv-palette-thumb { |
| | | background: none; |
| | | border: 1px solid black; |
| | | border-radius: 50%; |
| | | box-sizing: content-box; |
| | | height: 12px; |
| | | position: absolute; |
| | | width: 12px; |
| | | } |
| | | .tox .tox-sv-palette-inner-thumb { |
| | | border: 1px solid white; |
| | | border-radius: 50%; |
| | | height: 10px; |
| | | position: absolute; |
| | | width: 10px; |
| | | } |
| | | .tox .tox-hue-slider { |
| | | box-sizing: border-box; |
| | | height: 100%; |
| | | width: 25px; |
| | | } |
| | | .tox .tox-hue-slider-spectrum { |
| | | background: linear-gradient(to bottom, #f00, #ff0080, #f0f, #8000ff, #00f, #0080ff, #0ff, #00ff80, #0f0, #80ff00, #ff0, #ff8000, #f00); |
| | | height: 100%; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-hue-slider, |
| | | .tox .tox-hue-slider-spectrum { |
| | | width: 20px; |
| | | } |
| | | .tox .tox-hue-slider-thumb { |
| | | background: white; |
| | | border: 1px solid black; |
| | | box-sizing: content-box; |
| | | height: 4px; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-rgb-form { |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: space-between; |
| | | } |
| | | .tox .tox-rgb-form div { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | margin-bottom: 5px; |
| | | width: inherit; |
| | | } |
| | | .tox .tox-rgb-form input { |
| | | width: 6em; |
| | | } |
| | | .tox .tox-rgb-form input.tox-invalid { |
| | | /* Need !important to override Chrome's focus styling unfortunately */ |
| | | border: 1px solid red !important; |
| | | } |
| | | .tox .tox-rgb-form .tox-rgba-preview { |
| | | border: 1px solid black; |
| | | flex-grow: 2; |
| | | margin-bottom: 0; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-sv-palette { |
| | | margin-right: 15px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-hue-slider { |
| | | margin-right: 15px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-hue-slider-thumb { |
| | | margin-left: -1px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-rgb-form label { |
| | | margin-right: 0.5em; |
| | | } |
| | | .tox[dir=rtl] .tox-sv-palette { |
| | | margin-left: 15px; |
| | | } |
| | | .tox[dir=rtl] .tox-hue-slider { |
| | | margin-left: 15px; |
| | | } |
| | | .tox[dir=rtl] .tox-hue-slider-thumb { |
| | | margin-right: -1px; |
| | | } |
| | | .tox[dir=rtl] .tox-rgb-form label { |
| | | margin-left: 0.5em; |
| | | } |
| | | .tox .tox-toolbar .tox-swatches, |
| | | .tox .tox-toolbar__primary .tox-swatches, |
| | | .tox .tox-toolbar__overflow .tox-swatches { |
| | | margin: 2px 0 3px 4px; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__group .tox-swatches-menu { |
| | | border: 0; |
| | | margin: -4px 0; |
| | | } |
| | | .tox .tox-swatches__row { |
| | | display: flex; |
| | | } |
| | | .tox .tox-swatch { |
| | | height: 30px; |
| | | transition: transform 0.15s, box-shadow 0.15s; |
| | | width: 30px; |
| | | } |
| | | .tox .tox-swatch:hover, |
| | | .tox .tox-swatch:focus { |
| | | box-shadow: 0 0 0 1px rgba(127, 127, 127, 0.3) inset; |
| | | transform: scale(0.8); |
| | | } |
| | | .tox .tox-swatch--remove { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | .tox .tox-swatch--remove svg path { |
| | | stroke: #e74c3c; |
| | | } |
| | | .tox .tox-swatches__picker-btn { |
| | | align-items: center; |
| | | background-color: transparent; |
| | | border: 0; |
| | | cursor: pointer; |
| | | display: flex; |
| | | height: 30px; |
| | | justify-content: center; |
| | | outline: none; |
| | | padding: 0; |
| | | width: 30px; |
| | | } |
| | | .tox .tox-swatches__picker-btn svg { |
| | | height: 24px; |
| | | width: 24px; |
| | | } |
| | | .tox .tox-swatches__picker-btn:hover { |
| | | background: #dee0e2; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-swatches__picker-btn { |
| | | margin-left: auto; |
| | | } |
| | | .tox[dir=rtl] .tox-swatches__picker-btn { |
| | | margin-right: auto; |
| | | } |
| | | .tox .tox-comment-thread { |
| | | background: #fff; |
| | | position: relative; |
| | | } |
| | | .tox .tox-comment-thread > *:not(:first-child) { |
| | | margin-top: 8px; |
| | | } |
| | | .tox .tox-comment { |
| | | background: #fff; |
| | | border: 1px solid #cccccc; |
| | | border-radius: 3px; |
| | | box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); |
| | | padding: 8px 8px 16px 8px; |
| | | position: relative; |
| | | } |
| | | .tox .tox-comment__header { |
| | | align-items: center; |
| | | color: #222f3e; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | } |
| | | .tox .tox-comment__date { |
| | | color: rgba(34, 47, 62, 0.7); |
| | | font-size: 12px; |
| | | } |
| | | .tox .tox-comment__body { |
| | | color: #222f3e; |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: 1.3; |
| | | margin-top: 8px; |
| | | position: relative; |
| | | text-transform: initial; |
| | | } |
| | | .tox .tox-comment__body textarea { |
| | | resize: none; |
| | | white-space: normal; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-comment__expander { |
| | | padding-top: 8px; |
| | | } |
| | | .tox .tox-comment__expander p { |
| | | color: rgba(34, 47, 62, 0.7); |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | } |
| | | .tox .tox-comment__body p { |
| | | margin: 0; |
| | | } |
| | | .tox .tox-comment__buttonspacing { |
| | | padding-top: 16px; |
| | | text-align: center; |
| | | } |
| | | .tox .tox-comment-thread__overlay::after { |
| | | background: #fff; |
| | | bottom: 0; |
| | | content: ""; |
| | | display: flex; |
| | | left: 0; |
| | | opacity: 0.9; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 5; |
| | | } |
| | | .tox .tox-comment__reply { |
| | | display: flex; |
| | | flex-shrink: 0; |
| | | flex-wrap: wrap; |
| | | justify-content: flex-end; |
| | | margin-top: 8px; |
| | | } |
| | | .tox .tox-comment__reply > *:first-child { |
| | | margin-bottom: 8px; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-comment__edit { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: flex-end; |
| | | margin-top: 16px; |
| | | } |
| | | .tox .tox-comment__gradient::after { |
| | | background: linear-gradient(rgba(255, 255, 255, 0), #fff); |
| | | bottom: 0; |
| | | content: ""; |
| | | display: block; |
| | | height: 5em; |
| | | margin-top: -40px; |
| | | position: absolute; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-comment__overlay { |
| | | background: #fff; |
| | | bottom: 0; |
| | | display: flex; |
| | | flex-direction: column; |
| | | flex-grow: 1; |
| | | left: 0; |
| | | opacity: 0.9; |
| | | position: absolute; |
| | | right: 0; |
| | | text-align: center; |
| | | top: 0; |
| | | z-index: 5; |
| | | } |
| | | .tox .tox-comment__loading-text { |
| | | align-items: center; |
| | | color: #222f3e; |
| | | display: flex; |
| | | flex-direction: column; |
| | | position: relative; |
| | | } |
| | | .tox .tox-comment__loading-text > div { |
| | | padding-bottom: 16px; |
| | | } |
| | | .tox .tox-comment__overlaytext { |
| | | bottom: 0; |
| | | flex-direction: column; |
| | | font-size: 14px; |
| | | left: 0; |
| | | padding: 1em; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 10; |
| | | } |
| | | .tox .tox-comment__overlaytext p { |
| | | background-color: #fff; |
| | | box-shadow: 0 0 8px 8px #fff; |
| | | color: #222f3e; |
| | | text-align: center; |
| | | } |
| | | .tox .tox-comment__overlaytext div:nth-of-type(2) { |
| | | font-size: 0.8em; |
| | | } |
| | | .tox .tox-comment__busy-spinner { |
| | | align-items: center; |
| | | background-color: #fff; |
| | | bottom: 0; |
| | | display: flex; |
| | | justify-content: center; |
| | | left: 0; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 20; |
| | | } |
| | | .tox .tox-comment__scroll { |
| | | display: flex; |
| | | flex-direction: column; |
| | | flex-shrink: 1; |
| | | overflow: auto; |
| | | } |
| | | .tox .tox-conversations { |
| | | margin: 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-comment__edit { |
| | | margin-left: 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-comment__buttonspacing > *:last-child, |
| | | .tox:not([dir=rtl]) .tox-comment__edit > *:last-child, |
| | | .tox:not([dir=rtl]) .tox-comment__reply > *:last-child { |
| | | margin-left: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-comment__edit { |
| | | margin-right: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-comment__buttonspacing > *:last-child, |
| | | .tox[dir=rtl] .tox-comment__edit > *:last-child, |
| | | .tox[dir=rtl] .tox-comment__reply > *:last-child { |
| | | margin-right: 8px; |
| | | } |
| | | .tox .tox-user { |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | .tox .tox-user__avatar svg { |
| | | fill: rgba(34, 47, 62, 0.7); |
| | | } |
| | | .tox .tox-user__name { |
| | | color: rgba(34, 47, 62, 0.7); |
| | | font-size: 12px; |
| | | font-style: normal; |
| | | font-weight: bold; |
| | | text-transform: uppercase; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-user__avatar svg { |
| | | margin-right: 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-user__avatar + .tox-user__name { |
| | | margin-left: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-user__avatar svg { |
| | | margin-left: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-user__avatar + .tox-user__name { |
| | | margin-right: 8px; |
| | | } |
| | | .tox .tox-dialog-wrap { |
| | | align-items: center; |
| | | bottom: 0; |
| | | display: flex; |
| | | justify-content: center; |
| | | left: 0; |
| | | position: fixed; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 1100; |
| | | } |
| | | .tox .tox-dialog-wrap__backdrop { |
| | | background-color: rgba(255, 255, 255, 0.75); |
| | | bottom: 0; |
| | | left: 0; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 1; |
| | | } |
| | | .tox .tox-dialog-wrap__backdrop--opaque { |
| | | background-color: #fff; |
| | | } |
| | | .tox .tox-dialog { |
| | | background-color: #fff; |
| | | border-color: #cccccc; |
| | | border-radius: 3px; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-shadow: 0 16px 16px -10px rgba(34, 47, 62, 0.15), 0 0 40px 1px rgba(34, 47, 62, 0.15); |
| | | display: flex; |
| | | flex-direction: column; |
| | | max-height: 100%; |
| | | max-width: 480px; |
| | | overflow: hidden; |
| | | position: relative; |
| | | width: 95vw; |
| | | z-index: 2; |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox .tox-dialog { |
| | | align-self: flex-start; |
| | | margin: 8px auto; |
| | | width: calc(100vw - 16px); |
| | | } |
| | | } |
| | | .tox .tox-dialog-inline { |
| | | z-index: 1100; |
| | | } |
| | | .tox .tox-dialog__header { |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-bottom: none; |
| | | color: #222f3e; |
| | | display: flex; |
| | | font-size: 16px; |
| | | justify-content: space-between; |
| | | padding: 8px 16px 0 16px; |
| | | position: relative; |
| | | } |
| | | .tox .tox-dialog__header .tox-button { |
| | | z-index: 1; |
| | | } |
| | | .tox .tox-dialog__draghandle { |
| | | cursor: grab; |
| | | height: 100%; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-dialog__draghandle:active { |
| | | cursor: grabbing; |
| | | } |
| | | .tox .tox-dialog__dismiss { |
| | | margin-left: auto; |
| | | } |
| | | .tox .tox-dialog__title { |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | font-size: 20px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: 1.3; |
| | | margin: 0; |
| | | text-transform: normal; |
| | | } |
| | | .tox .tox-dialog__body { |
| | | color: #222f3e; |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | font-size: 16px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: 1.3; |
| | | min-width: 0; |
| | | text-align: left; |
| | | text-transform: normal; |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox .tox-dialog__body { |
| | | flex-direction: column; |
| | | } |
| | | } |
| | | .tox .tox-dialog__body-nav { |
| | | align-items: flex-start; |
| | | display: flex; |
| | | flex-direction: column; |
| | | padding: 16px 16px; |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox .tox-dialog__body-nav { |
| | | flex-direction: row; |
| | | -webkit-overflow-scrolling: touch; |
| | | overflow-x: auto; |
| | | padding-bottom: 0; |
| | | } |
| | | } |
| | | .tox .tox-dialog__body-nav-item { |
| | | border-bottom: 2px solid transparent; |
| | | color: rgba(34, 47, 62, 0.7); |
| | | display: inline-block; |
| | | font-size: 14px; |
| | | line-height: 1.3; |
| | | margin-bottom: 8px; |
| | | text-decoration: none; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-dialog__body-nav-item:focus { |
| | | background-color: rgba(32, 122, 183, 0.1); |
| | | } |
| | | .tox .tox-dialog__body-nav-item--active { |
| | | border-bottom: 2px solid #207ab7; |
| | | color: #207ab7; |
| | | } |
| | | .tox .tox-dialog__body-content { |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | flex: 1; |
| | | flex-direction: column; |
| | | -ms-flex-preferred-size: auto; |
| | | max-height: 650px; |
| | | overflow: auto; |
| | | -webkit-overflow-scrolling: touch; |
| | | padding: 16px 16px; |
| | | } |
| | | .tox .tox-dialog__body-content > * { |
| | | margin-bottom: 0; |
| | | margin-top: 16px; |
| | | } |
| | | .tox .tox-dialog__body-content > *:first-child { |
| | | margin-top: 0; |
| | | } |
| | | .tox .tox-dialog__body-content > *:last-child { |
| | | margin-bottom: 0; |
| | | } |
| | | .tox .tox-dialog__body-content > *:only-child { |
| | | margin-bottom: 0; |
| | | margin-top: 0; |
| | | } |
| | | .tox .tox-dialog__body-content a { |
| | | color: #207ab7; |
| | | cursor: pointer; |
| | | text-decoration: none; |
| | | } |
| | | .tox .tox-dialog__body-content a:hover, |
| | | .tox .tox-dialog__body-content a:focus { |
| | | color: #185d8c; |
| | | text-decoration: none; |
| | | } |
| | | .tox .tox-dialog__body-content a:active { |
| | | color: #185d8c; |
| | | text-decoration: none; |
| | | } |
| | | .tox .tox-dialog__body-content ul { |
| | | display: block; |
| | | list-style-type: disc; |
| | | margin-bottom: 16px; |
| | | -webkit-margin-end: 0; |
| | | margin-inline-end: 0; |
| | | -webkit-margin-start: 0; |
| | | margin-inline-start: 0; |
| | | -webkit-padding-start: 2.5rem; |
| | | padding-inline-start: 2.5rem; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group h1 { |
| | | font-size: 20px; |
| | | font-weight: bold; |
| | | margin-bottom: 16px; |
| | | margin-top: 2rem; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group h2 { |
| | | font-size: 16px; |
| | | font-weight: bold; |
| | | margin-bottom: 16px; |
| | | margin-top: 2rem; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group p { |
| | | margin-bottom: 16px; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group h1:first-child, |
| | | .tox .tox-dialog__body-content .tox-form__group h2:first-child, |
| | | .tox .tox-dialog__body-content .tox-form__group p:first-child { |
| | | margin-top: 0; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group h1:last-child, |
| | | .tox .tox-dialog__body-content .tox-form__group h2:last-child, |
| | | .tox .tox-dialog__body-content .tox-form__group p:last-child { |
| | | margin-bottom: 0; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-form__group h1:only-child, |
| | | .tox .tox-dialog__body-content .tox-form__group h2:only-child, |
| | | .tox .tox-dialog__body-content .tox-form__group p:only-child { |
| | | margin-bottom: 0; |
| | | margin-top: 0; |
| | | } |
| | | .tox .tox-dialog--width-lg { |
| | | height: 650px; |
| | | max-width: 1200px; |
| | | } |
| | | .tox .tox-dialog--width-md { |
| | | max-width: 800px; |
| | | } |
| | | .tox .tox-dialog--width-md .tox-dialog__body-content { |
| | | overflow: auto; |
| | | } |
| | | .tox .tox-dialog__body-content--centered { |
| | | text-align: center; |
| | | } |
| | | .tox .tox-dialog__footer { |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-top: 1px solid #cccccc; |
| | | display: flex; |
| | | justify-content: space-between; |
| | | padding: 8px 16px; |
| | | } |
| | | .tox .tox-dialog__footer-start, |
| | | .tox .tox-dialog__footer-end { |
| | | display: flex; |
| | | } |
| | | .tox .tox-dialog__busy-spinner { |
| | | align-items: center; |
| | | background-color: rgba(255, 255, 255, 0.75); |
| | | bottom: 0; |
| | | display: flex; |
| | | justify-content: center; |
| | | left: 0; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | z-index: 3; |
| | | } |
| | | .tox .tox-dialog__table { |
| | | border-collapse: collapse; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-dialog__table thead th { |
| | | font-weight: bold; |
| | | padding-bottom: 8px; |
| | | } |
| | | .tox .tox-dialog__table tbody tr { |
| | | border-bottom: 1px solid #cccccc; |
| | | } |
| | | .tox .tox-dialog__table tbody tr:last-child { |
| | | border-bottom: none; |
| | | } |
| | | .tox .tox-dialog__table td { |
| | | padding-bottom: 8px; |
| | | padding-top: 8px; |
| | | } |
| | | .tox .tox-dialog__popups { |
| | | position: absolute; |
| | | width: 100%; |
| | | z-index: 1100; |
| | | } |
| | | .tox .tox-dialog__body-iframe { |
| | | display: flex; |
| | | flex: 1; |
| | | flex-direction: column; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-dialog__body-iframe .tox-navobj { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-dialog__body-iframe .tox-navobj :nth-child(2) { |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | height: 100%; |
| | | } |
| | | .tox .tox-dialog-dock-fadeout { |
| | | opacity: 0; |
| | | visibility: hidden; |
| | | } |
| | | .tox .tox-dialog-dock-fadein { |
| | | opacity: 1; |
| | | visibility: visible; |
| | | } |
| | | .tox .tox-dialog-dock-transition { |
| | | transition: visibility 0s linear 0.3s, opacity 0.3s ease; |
| | | } |
| | | .tox .tox-dialog-dock-transition.tox-dialog-dock-fadein { |
| | | transition-delay: 0s; |
| | | } |
| | | body.tox-dialog__disable-scroll { |
| | | overflow: hidden; |
| | | } |
| | | .tox.tox-platform-ie { |
| | | /* IE11 CSS styles go here */ |
| | | } |
| | | .tox.tox-platform-ie .tox-dialog-wrap { |
| | | position: -ms-device-fixed; |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav { |
| | | margin-right: 0; |
| | | } |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child) { |
| | | margin-left: 8px; |
| | | } |
| | | } |
| | | .tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start > *, |
| | | .tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end > * { |
| | | margin-left: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-dialog__body { |
| | | text-align: right; |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav { |
| | | margin-left: 0; |
| | | } |
| | | } |
| | | @media only screen and (max-width:767px) { |
| | | body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child) { |
| | | margin-right: 8px; |
| | | } |
| | | } |
| | | .tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start > *, |
| | | .tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end > * { |
| | | margin-right: 8px; |
| | | } |
| | | .tox .tox-dropzone-container { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-dropzone { |
| | | align-items: center; |
| | | background: #fff; |
| | | border: 2px dashed #cccccc; |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | flex-direction: column; |
| | | flex-grow: 1; |
| | | justify-content: center; |
| | | min-height: 100px; |
| | | padding: 10px; |
| | | } |
| | | .tox .tox-dropzone p { |
| | | color: rgba(34, 47, 62, 0.7); |
| | | margin: 0 0 16px 0; |
| | | } |
| | | .tox .tox-edit-area { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | overflow: hidden; |
| | | position: relative; |
| | | } |
| | | .tox .tox-edit-area__iframe { |
| | | background-color: #fff; |
| | | border: 0; |
| | | box-sizing: border-box; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | height: 100%; |
| | | position: absolute; |
| | | width: 100%; |
| | | } |
| | | .tox.tox-inline-edit-area { |
| | | border: 1px dotted #cccccc; |
| | | } |
| | | .tox .tox-editor-container { |
| | | display: flex; |
| | | flex: 1 1 auto; |
| | | flex-direction: column; |
| | | overflow: hidden; |
| | | } |
| | | .tox .tox-editor-header { |
| | | z-index: 1; |
| | | } |
| | | .tox-editor-dock-fadeout { |
| | | opacity: 0; |
| | | visibility: hidden; |
| | | } |
| | | .tox-editor-dock-fadein { |
| | | opacity: 1; |
| | | visibility: visible; |
| | | } |
| | | .tox-editor-dock-transition { |
| | | transition: visibility 0s linear 0.25s, opacity 0.25s ease; |
| | | } |
| | | .tox-editor-dock-transition.tox-editor-dock-fadein { |
| | | transition-delay: 0s; |
| | | } |
| | | .tox .tox-control-wrap { |
| | | flex: 1; |
| | | position: relative; |
| | | } |
| | | .tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid, |
| | | .tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown, |
| | | .tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid { |
| | | display: none; |
| | | } |
| | | .tox .tox-control-wrap svg { |
| | | display: block; |
| | | } |
| | | .tox .tox-control-wrap__status-icon-wrap { |
| | | position: absolute; |
| | | top: 50%; |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox .tox-control-wrap__status-icon-invalid svg { |
| | | fill: #c00; |
| | | } |
| | | .tox .tox-control-wrap__status-icon-unknown svg { |
| | | fill: orange; |
| | | } |
| | | .tox .tox-control-wrap__status-icon-valid svg { |
| | | fill: green; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield, |
| | | .tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield, |
| | | .tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield { |
| | | padding-right: 32px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap { |
| | | right: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield, |
| | | .tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield, |
| | | .tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield { |
| | | padding-left: 32px; |
| | | } |
| | | .tox[dir=rtl] .tox-control-wrap__status-icon-wrap { |
| | | left: 4px; |
| | | } |
| | | .tox .tox-autocompleter { |
| | | max-width: 25em; |
| | | } |
| | | .tox .tox-autocompleter .tox-menu { |
| | | max-width: 25em; |
| | | } |
| | | .tox .tox-autocompleter .tox-autocompleter-highlight { |
| | | font-weight: bold; |
| | | } |
| | | .tox .tox-color-input { |
| | | display: flex; |
| | | } |
| | | .tox .tox-color-input .tox-textfield { |
| | | border-radius: 3px 0 0 3px; |
| | | display: flex; |
| | | } |
| | | .tox .tox-color-input span { |
| | | border-color: rgba(34, 47, 62, 0.2); |
| | | border-radius: 0 3px 3px 0; |
| | | border-style: solid; |
| | | border-width: 1px 1px 1px 0; |
| | | box-shadow: none; |
| | | box-sizing: border-box; |
| | | cursor: pointer; |
| | | display: flex; |
| | | width: 35px; |
| | | } |
| | | .tox .tox-color-input span:focus { |
| | | border-color: #207ab7; |
| | | } |
| | | .tox[dir="rtl"] .tox-color-input .tox-textfield { |
| | | border-radius: 0 3px 3px 0; |
| | | } |
| | | .tox[dir="rtl"] .tox-color-input span { |
| | | border-radius: 3px 0 0 3px; |
| | | border-width: 1px 0 1px 1px; |
| | | } |
| | | .tox .tox-label, |
| | | .tox .tox-toolbar-label { |
| | | color: rgba(34, 47, 62, 0.7); |
| | | display: block; |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | line-height: 1.3; |
| | | padding: 0 8px 0 0; |
| | | text-transform: normal; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-toolbar-label { |
| | | padding: 0 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-label { |
| | | padding: 0 0 0 8px; |
| | | } |
| | | .tox .tox-form { |
| | | display: flex; |
| | | flex: 1; |
| | | flex-direction: column; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-form__group { |
| | | box-sizing: border-box; |
| | | margin-bottom: 4px; |
| | | } |
| | | .tox .tox-form-group--maximize { |
| | | flex: 1; |
| | | } |
| | | .tox .tox-form__group--error { |
| | | color: #c00; |
| | | } |
| | | .tox .tox-form__group--collection { |
| | | display: flex; |
| | | } |
| | | .tox .tox-form__grid { |
| | | display: flex; |
| | | flex-direction: row; |
| | | flex-wrap: wrap; |
| | | justify-content: space-between; |
| | | } |
| | | .tox .tox-form__grid--2col > .tox-form__group { |
| | | width: calc(50% - (8px / 2)); |
| | | } |
| | | .tox .tox-form__grid--3col > .tox-form__group { |
| | | width: calc(100% / 3 - (8px / 2)); |
| | | } |
| | | .tox .tox-form__grid--4col > .tox-form__group { |
| | | width: calc(25% - (8px / 2)); |
| | | } |
| | | .tox .tox-form__controls-h-stack { |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | .tox .tox-form__group--inline { |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | .tox .tox-form__group--stretched { |
| | | display: flex; |
| | | flex: 1; |
| | | flex-direction: column; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-form__group--stretched .tox-textarea { |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-form__group--stretched .tox-navobj { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-form__group--stretched .tox-navobj :nth-child(2) { |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | height: 100%; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-form__controls-h-stack > *:not(:first-child) { |
| | | margin-left: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-form__controls-h-stack > *:not(:first-child) { |
| | | margin-right: 4px; |
| | | } |
| | | .tox .tox-lock.tox-locked .tox-lock-icon__unlock, |
| | | .tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock { |
| | | display: none; |
| | | } |
| | | .tox .tox-textfield, |
| | | .tox .tox-toolbar-textfield, |
| | | .tox .tox-selectfield select, |
| | | .tox .tox-textarea { |
| | | -webkit-appearance: none; |
| | | -moz-appearance: none; |
| | | appearance: none; |
| | | background-color: #fff; |
| | | border-color: #cccccc; |
| | | border-radius: 3px; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-shadow: none; |
| | | box-sizing: border-box; |
| | | color: #222f3e; |
| | | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
| | | font-size: 16px; |
| | | line-height: 24px; |
| | | margin: 0; |
| | | outline: none; |
| | | padding: 5px 4.75px; |
| | | resize: none; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-textfield[disabled], |
| | | .tox .tox-textarea[disabled] { |
| | | background-color: #f2f2f2; |
| | | color: rgba(34, 47, 62, 0.85); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-textfield:focus, |
| | | .tox .tox-selectfield select:focus, |
| | | .tox .tox-textarea:focus { |
| | | border-color: #207ab7; |
| | | box-shadow: none; |
| | | outline: none; |
| | | } |
| | | .tox .tox-toolbar-textfield { |
| | | border-width: 0; |
| | | margin-bottom: 3px; |
| | | margin-top: 2px; |
| | | max-width: 250px; |
| | | } |
| | | .tox .tox-naked-btn { |
| | | background-color: transparent; |
| | | border: 0; |
| | | border-color: transparent; |
| | | box-shadow: unset; |
| | | color: #207ab7; |
| | | cursor: pointer; |
| | | display: block; |
| | | margin: 0; |
| | | padding: 0; |
| | | } |
| | | .tox .tox-naked-btn svg { |
| | | display: block; |
| | | fill: #222f3e; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-toolbar-textfield + * { |
| | | margin-left: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-toolbar-textfield + * { |
| | | margin-right: 4px; |
| | | } |
| | | .tox .tox-selectfield { |
| | | cursor: pointer; |
| | | position: relative; |
| | | } |
| | | .tox .tox-selectfield select[disabled] { |
| | | background-color: #f2f2f2; |
| | | color: rgba(34, 47, 62, 0.85); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-selectfield select::-ms-expand { |
| | | display: none; |
| | | } |
| | | .tox .tox-selectfield svg { |
| | | pointer-events: none; |
| | | position: absolute; |
| | | top: 50%; |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox:not([dir=rtl]) .tox-selectfield select[size="0"], |
| | | .tox:not([dir=rtl]) .tox-selectfield select[size="1"] { |
| | | padding-right: 24px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-selectfield svg { |
| | | right: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-selectfield select[size="0"], |
| | | .tox[dir=rtl] .tox-selectfield select[size="1"] { |
| | | padding-left: 24px; |
| | | } |
| | | .tox[dir=rtl] .tox-selectfield svg { |
| | | left: 8px; |
| | | } |
| | | .tox .tox-textarea { |
| | | -webkit-appearance: textarea; |
| | | -moz-appearance: textarea; |
| | | appearance: textarea; |
| | | white-space: pre-wrap; |
| | | } |
| | | .tox-fullscreen { |
| | | border: 0; |
| | | height: 100%; |
| | | left: 0; |
| | | margin: 0; |
| | | overflow: hidden; |
| | | -ms-scroll-chaining: none; |
| | | overscroll-behavior: none; |
| | | padding: 0; |
| | | position: fixed; |
| | | top: 0; |
| | | touch-action: pinch-zoom; |
| | | width: 100%; |
| | | } |
| | | .tox-fullscreen .tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { |
| | | display: none; |
| | | } |
| | | .tox-fullscreen .tox.tox-tinymce.tox-fullscreen { |
| | | z-index: 1200; |
| | | } |
| | | .tox-fullscreen .tox.tox-tinymce-aux { |
| | | z-index: 1201; |
| | | } |
| | | .tox .tox-image-tools { |
| | | width: 100%; |
| | | } |
| | | .tox .tox-image-tools__toolbar { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | .tox .tox-image-tools__image { |
| | | background-color: #666; |
| | | height: 380px; |
| | | overflow: auto; |
| | | position: relative; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-image-tools__image, |
| | | .tox .tox-image-tools__image + .tox-image-tools__toolbar { |
| | | margin-top: 8px; |
| | | } |
| | | .tox .tox-image-tools__image-bg { |
| | | background: url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==); |
| | | } |
| | | .tox .tox-image-tools__toolbar > .tox-spacer { |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-croprect-block { |
| | | background: black; |
| | | filter: alpha(opacity=50); |
| | | opacity: 0.5; |
| | | position: absolute; |
| | | zoom: 1; |
| | | } |
| | | .tox .tox-croprect-handle { |
| | | border: 2px solid white; |
| | | height: 20px; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 20px; |
| | | } |
| | | .tox .tox-croprect-handle-move { |
| | | border: 0; |
| | | cursor: move; |
| | | position: absolute; |
| | | } |
| | | .tox .tox-croprect-handle-nw { |
| | | border-width: 2px 0 0 2px; |
| | | cursor: nw-resize; |
| | | left: 100px; |
| | | margin: -2px 0 0 -2px; |
| | | top: 100px; |
| | | } |
| | | .tox .tox-croprect-handle-ne { |
| | | border-width: 2px 2px 0 0; |
| | | cursor: ne-resize; |
| | | left: 200px; |
| | | margin: -2px 0 0 -20px; |
| | | top: 100px; |
| | | } |
| | | .tox .tox-croprect-handle-sw { |
| | | border-width: 0 0 2px 2px; |
| | | cursor: sw-resize; |
| | | left: 100px; |
| | | margin: -20px 2px 0 -2px; |
| | | top: 200px; |
| | | } |
| | | .tox .tox-croprect-handle-se { |
| | | border-width: 0 2px 2px 0; |
| | | cursor: se-resize; |
| | | left: 200px; |
| | | margin: -20px 0 0 -20px; |
| | | top: 200px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-image-tools__toolbar > .tox-slider:not(:first-of-type) { |
| | | margin-left: 8px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-image-tools__toolbar > .tox-button + .tox-slider { |
| | | margin-left: 32px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-image-tools__toolbar > .tox-slider + .tox-button { |
| | | margin-left: 32px; |
| | | } |
| | | .tox[dir=rtl] .tox-image-tools__toolbar > .tox-slider:not(:first-of-type) { |
| | | margin-right: 8px; |
| | | } |
| | | .tox[dir=rtl] .tox-image-tools__toolbar > .tox-button + .tox-slider { |
| | | margin-right: 32px; |
| | | } |
| | | .tox[dir=rtl] .tox-image-tools__toolbar > .tox-slider + .tox-button { |
| | | margin-right: 32px; |
| | | } |
| | | .tox .tox-insert-table-picker { |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | width: 169px; |
| | | } |
| | | .tox .tox-insert-table-picker > div { |
| | | border-color: #cccccc; |
| | | border-style: solid; |
| | | border-width: 0 1px 1px 0; |
| | | box-sizing: content-box; |
| | | height: 16px; |
| | | width: 16px; |
| | | } |
| | | .tox .tox-collection--list .tox-collection__group .tox-insert-table-picker { |
| | | margin: -4px 0; |
| | | } |
| | | .tox .tox-insert-table-picker .tox-insert-table-picker__selected { |
| | | background-color: rgba(32, 122, 183, 0.5); |
| | | border-color: rgba(32, 122, 183, 0.5); |
| | | } |
| | | .tox .tox-insert-table-picker__label { |
| | | color: rgba(34, 47, 62, 0.7); |
| | | display: block; |
| | | font-size: 14px; |
| | | padding: 4px; |
| | | text-align: center; |
| | | width: 100%; |
| | | } |
| | | .tox:not([dir=rtl]) { |
| | | /* stylelint-disable-next-line no-descending-specificity */ |
| | | } |
| | | .tox:not([dir=rtl]) .tox-insert-table-picker > div:nth-child(10n) { |
| | | border-right: 0; |
| | | } |
| | | .tox[dir=rtl] { |
| | | /* stylelint-disable-next-line no-descending-specificity */ |
| | | } |
| | | .tox[dir=rtl] .tox-insert-table-picker > div:nth-child(10n+1) { |
| | | border-right: 0; |
| | | } |
| | | .tox { |
| | | /* stylelint-disable */ |
| | | /* stylelint-enable */ |
| | | } |
| | | .tox .tox-menu { |
| | | background-color: #fff; |
| | | border: 1px solid #cccccc; |
| | | border-radius: 3px; |
| | | box-shadow: 0 4px 8px 0 rgba(34, 47, 62, 0.1); |
| | | display: inline-block; |
| | | overflow: hidden; |
| | | vertical-align: top; |
| | | z-index: 1150; |
| | | } |
| | | .tox .tox-menu.tox-collection.tox-collection--list { |
| | | padding: 0; |
| | | } |
| | | .tox .tox-menu.tox-collection.tox-collection--toolbar { |
| | | padding: 4px; |
| | | } |
| | | .tox .tox-menu.tox-collection.tox-collection--grid { |
| | | padding: 4px; |
| | | } |
| | | .tox .tox-menu__label h1, |
| | | .tox .tox-menu__label h2, |
| | | .tox .tox-menu__label h3, |
| | | .tox .tox-menu__label h4, |
| | | .tox .tox-menu__label h5, |
| | | .tox .tox-menu__label h6, |
| | | .tox .tox-menu__label p, |
| | | .tox .tox-menu__label blockquote, |
| | | .tox .tox-menu__label code { |
| | | margin: 0; |
| | | } |
| | | .tox .tox-menubar { |
| | | background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff; |
| | | background-color: #fff; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | flex-shrink: 0; |
| | | flex-wrap: wrap; |
| | | padding: 0 4px 0 4px; |
| | | } |
| | | /* Deprecated. Remove in next major release */ |
| | | .tox .tox-mbtn { |
| | | align-items: center; |
| | | background: none; |
| | | border: 0; |
| | | border-radius: 3px; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | height: 34px; |
| | | justify-content: center; |
| | | margin: 2px 0 3px 0; |
| | | outline: none; |
| | | overflow: hidden; |
| | | padding: 0 4px; |
| | | text-transform: normal; |
| | | width: auto; |
| | | } |
| | | .tox .tox-mbtn[disabled] { |
| | | background-color: none; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: rgba(34, 47, 62, 0.5); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-mbtn:focus:not(:disabled) { |
| | | background: #dee0e2; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-mbtn--active { |
| | | background: #c8cbcf; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active) { |
| | | background: #dee0e2; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-mbtn__select-label { |
| | | cursor: default; |
| | | font-weight: normal; |
| | | margin: 0 4px; |
| | | } |
| | | .tox .tox-mbtn[disabled] .tox-mbtn__select-label { |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-mbtn__select-chevron { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | width: 16px; |
| | | display: none; |
| | | } |
| | | .tox .tox-notification { |
| | | border-radius: 3px; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-shadow: none; |
| | | box-sizing: border-box; |
| | | display: -ms-grid; |
| | | display: grid; |
| | | font-size: 14px; |
| | | font-weight: normal; |
| | | -ms-grid-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); |
| | | grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr); |
| | | margin-top: 4px; |
| | | opacity: 0; |
| | | padding: 4px; |
| | | transition: transform 100ms ease-in, opacity 150ms ease-in; |
| | | } |
| | | .tox .tox-notification p { |
| | | font-size: 14px; |
| | | font-weight: normal; |
| | | } |
| | | .tox .tox-notification a { |
| | | text-decoration: underline; |
| | | } |
| | | .tox .tox-notification--in { |
| | | opacity: 1; |
| | | } |
| | | .tox .tox-notification--success { |
| | | background-color: #e4eeda; |
| | | border-color: #d7e6c8; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-notification--success p { |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-notification--success a { |
| | | color: #547831; |
| | | } |
| | | .tox .tox-notification--success svg { |
| | | fill: #222f3e; |
| | | } |
| | | .tox .tox-notification--error { |
| | | background-color: #f8dede; |
| | | border-color: #f2bfbf; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-notification--error p { |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-notification--error a { |
| | | color: #c00; |
| | | } |
| | | .tox .tox-notification--error svg { |
| | | fill: #222f3e; |
| | | } |
| | | .tox .tox-notification--warn, |
| | | .tox .tox-notification--warning { |
| | | background-color: #fffaea; |
| | | border-color: #ffe89d; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-notification--warn p, |
| | | .tox .tox-notification--warning p { |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-notification--warn a, |
| | | .tox .tox-notification--warning a { |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-notification--warn svg, |
| | | .tox .tox-notification--warning svg { |
| | | fill: #222f3e; |
| | | } |
| | | .tox .tox-notification--info { |
| | | background-color: #d9edf7; |
| | | border-color: #779ecb; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-notification--info p { |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-notification--info a { |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-notification--info svg { |
| | | fill: #222f3e; |
| | | } |
| | | .tox .tox-notification__body { |
| | | -ms-grid-row-align: center; |
| | | align-self: center; |
| | | color: #222f3e; |
| | | font-size: 14px; |
| | | -ms-grid-column-span: 1; |
| | | grid-column-end: 3; |
| | | -ms-grid-column: 2; |
| | | grid-column-start: 2; |
| | | -ms-grid-row-span: 1; |
| | | grid-row-end: 2; |
| | | -ms-grid-row: 1; |
| | | grid-row-start: 1; |
| | | text-align: center; |
| | | white-space: normal; |
| | | word-break: break-all; |
| | | word-break: break-word; |
| | | } |
| | | .tox .tox-notification__body > * { |
| | | margin: 0; |
| | | } |
| | | .tox .tox-notification__body > * + * { |
| | | margin-top: 1rem; |
| | | } |
| | | .tox .tox-notification__icon { |
| | | -ms-grid-row-align: center; |
| | | align-self: center; |
| | | -ms-grid-column-span: 1; |
| | | grid-column-end: 2; |
| | | -ms-grid-column: 1; |
| | | grid-column-start: 1; |
| | | -ms-grid-row-span: 1; |
| | | grid-row-end: 2; |
| | | -ms-grid-row: 1; |
| | | grid-row-start: 1; |
| | | -ms-grid-column-align: end; |
| | | justify-self: end; |
| | | } |
| | | .tox .tox-notification__icon svg { |
| | | display: block; |
| | | } |
| | | .tox .tox-notification__dismiss { |
| | | -ms-grid-row-align: start; |
| | | align-self: start; |
| | | -ms-grid-column-span: 1; |
| | | grid-column-end: 4; |
| | | -ms-grid-column: 3; |
| | | grid-column-start: 3; |
| | | -ms-grid-row-span: 1; |
| | | grid-row-end: 2; |
| | | -ms-grid-row: 1; |
| | | grid-row-start: 1; |
| | | -ms-grid-column-align: end; |
| | | justify-self: end; |
| | | } |
| | | .tox .tox-notification .tox-progress-bar { |
| | | -ms-grid-column-span: 3; |
| | | grid-column-end: 4; |
| | | -ms-grid-column: 1; |
| | | grid-column-start: 1; |
| | | -ms-grid-row-span: 1; |
| | | grid-row-end: 3; |
| | | -ms-grid-row: 2; |
| | | grid-row-start: 2; |
| | | -ms-grid-column-align: center; |
| | | justify-self: center; |
| | | } |
| | | .tox .tox-pop { |
| | | display: inline-block; |
| | | position: relative; |
| | | } |
| | | .tox .tox-pop--resizing { |
| | | transition: width 0.1s ease; |
| | | } |
| | | .tox .tox-pop--resizing .tox-toolbar { |
| | | flex-wrap: nowrap; |
| | | } |
| | | .tox .tox-pop__dialog { |
| | | background-color: #fff; |
| | | border: 1px solid #cccccc; |
| | | border-radius: 3px; |
| | | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); |
| | | min-width: 0; |
| | | overflow: hidden; |
| | | } |
| | | .tox .tox-pop__dialog > *:not(.tox-toolbar) { |
| | | margin: 4px 4px 4px 8px; |
| | | } |
| | | .tox .tox-pop__dialog .tox-toolbar { |
| | | background-color: transparent; |
| | | margin-bottom: -1px; |
| | | } |
| | | .tox .tox-pop::before, |
| | | .tox .tox-pop::after { |
| | | border-style: solid; |
| | | content: ''; |
| | | display: block; |
| | | height: 0; |
| | | position: absolute; |
| | | width: 0; |
| | | } |
| | | .tox .tox-pop.tox-pop--bottom::before, |
| | | .tox .tox-pop.tox-pop--bottom::after { |
| | | left: 50%; |
| | | top: 100%; |
| | | } |
| | | .tox .tox-pop.tox-pop--bottom::after { |
| | | border-color: #fff transparent transparent transparent; |
| | | border-width: 8px; |
| | | margin-left: -8px; |
| | | margin-top: -1px; |
| | | } |
| | | .tox .tox-pop.tox-pop--bottom::before { |
| | | border-color: #cccccc transparent transparent transparent; |
| | | border-width: 9px; |
| | | margin-left: -9px; |
| | | } |
| | | .tox .tox-pop.tox-pop--top::before, |
| | | .tox .tox-pop.tox-pop--top::after { |
| | | left: 50%; |
| | | top: 0; |
| | | transform: translateY(-100%); |
| | | } |
| | | .tox .tox-pop.tox-pop--top::after { |
| | | border-color: transparent transparent #fff transparent; |
| | | border-width: 8px; |
| | | margin-left: -8px; |
| | | margin-top: 1px; |
| | | } |
| | | .tox .tox-pop.tox-pop--top::before { |
| | | border-color: transparent transparent #cccccc transparent; |
| | | border-width: 9px; |
| | | margin-left: -9px; |
| | | } |
| | | .tox .tox-pop.tox-pop--left::before, |
| | | .tox .tox-pop.tox-pop--left::after { |
| | | left: 0; |
| | | top: calc(50% - 1px); |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox .tox-pop.tox-pop--left::after { |
| | | border-color: transparent #fff transparent transparent; |
| | | border-width: 8px; |
| | | margin-left: -15px; |
| | | } |
| | | .tox .tox-pop.tox-pop--left::before { |
| | | border-color: transparent #cccccc transparent transparent; |
| | | border-width: 10px; |
| | | margin-left: -19px; |
| | | } |
| | | .tox .tox-pop.tox-pop--right::before, |
| | | .tox .tox-pop.tox-pop--right::after { |
| | | left: 100%; |
| | | top: calc(50% + 1px); |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox .tox-pop.tox-pop--right::after { |
| | | border-color: transparent transparent transparent #fff; |
| | | border-width: 8px; |
| | | margin-left: -1px; |
| | | } |
| | | .tox .tox-pop.tox-pop--right::before { |
| | | border-color: transparent transparent transparent #cccccc; |
| | | border-width: 10px; |
| | | margin-left: -1px; |
| | | } |
| | | .tox .tox-pop.tox-pop--align-left::before, |
| | | .tox .tox-pop.tox-pop--align-left::after { |
| | | left: 20px; |
| | | } |
| | | .tox .tox-pop.tox-pop--align-right::before, |
| | | .tox .tox-pop.tox-pop--align-right::after { |
| | | left: calc(100% - 20px); |
| | | } |
| | | .tox .tox-sidebar-wrap { |
| | | display: flex; |
| | | flex-direction: row; |
| | | flex-grow: 1; |
| | | -ms-flex-preferred-size: 0; |
| | | min-height: 0; |
| | | } |
| | | .tox .tox-sidebar { |
| | | background-color: #fff; |
| | | display: flex; |
| | | flex-direction: row; |
| | | justify-content: flex-end; |
| | | } |
| | | .tox .tox-sidebar__slider { |
| | | display: flex; |
| | | overflow: hidden; |
| | | } |
| | | .tox .tox-sidebar__pane-container { |
| | | display: flex; |
| | | } |
| | | .tox .tox-sidebar__pane { |
| | | display: flex; |
| | | } |
| | | .tox .tox-sidebar--sliding-closed { |
| | | opacity: 0; |
| | | } |
| | | .tox .tox-sidebar--sliding-open { |
| | | opacity: 1; |
| | | } |
| | | .tox .tox-sidebar--sliding-growing, |
| | | .tox .tox-sidebar--sliding-shrinking { |
| | | transition: width 0.5s ease, opacity 0.5s ease; |
| | | } |
| | | .tox .tox-selector { |
| | | background-color: #4099ff; |
| | | border-color: #4099ff; |
| | | border-style: solid; |
| | | border-width: 1px; |
| | | box-sizing: border-box; |
| | | display: inline-block; |
| | | height: 10px; |
| | | position: absolute; |
| | | width: 10px; |
| | | z-index: 10000; |
| | | } |
| | | .tox .tox-slider { |
| | | align-items: center; |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | height: 24px; |
| | | justify-content: center; |
| | | position: relative; |
| | | } |
| | | .tox .tox-slider__rail { |
| | | background-color: transparent; |
| | | border: 1px solid #cccccc; |
| | | border-radius: 3px; |
| | | height: 10px; |
| | | min-width: 120px; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-slider__handle { |
| | | background-color: #207ab7; |
| | | border: 2px solid #185d8c; |
| | | border-radius: 3px; |
| | | box-shadow: none; |
| | | height: 24px; |
| | | left: 50%; |
| | | position: absolute; |
| | | top: 50%; |
| | | transform: translateX(-50%) translateY(-50%); |
| | | width: 14px; |
| | | } |
| | | .tox .tox-source-code { |
| | | overflow: auto; |
| | | } |
| | | .tox .tox-spinner { |
| | | display: flex; |
| | | } |
| | | .tox .tox-spinner > div { |
| | | animation: tam-bouncing-dots 1.5s ease-in-out 0s infinite both; |
| | | background-color: rgba(34, 47, 62, 0.7); |
| | | border-radius: 100%; |
| | | height: 8px; |
| | | width: 8px; |
| | | } |
| | | .tox .tox-spinner > div:nth-child(1) { |
| | | animation-delay: -0.32s; |
| | | } |
| | | .tox .tox-spinner > div:nth-child(2) { |
| | | animation-delay: -0.16s; |
| | | } |
| | | @keyframes tam-bouncing-dots { |
| | | 0%, |
| | | 80%, |
| | | 100% { |
| | | transform: scale(0); |
| | | } |
| | | 40% { |
| | | transform: scale(1); |
| | | } |
| | | } |
| | | .tox:not([dir=rtl]) .tox-spinner > div:not(:first-child) { |
| | | margin-left: 4px; |
| | | } |
| | | .tox[dir=rtl] .tox-spinner > div:not(:first-child) { |
| | | margin-right: 4px; |
| | | } |
| | | .tox .tox-statusbar { |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-top: 1px solid #cccccc; |
| | | color: rgba(34, 47, 62, 0.7); |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | font-size: 12px; |
| | | font-weight: normal; |
| | | height: 18px; |
| | | overflow: hidden; |
| | | padding: 0 8px; |
| | | position: relative; |
| | | text-transform: uppercase; |
| | | } |
| | | .tox .tox-statusbar__text-container { |
| | | display: flex; |
| | | flex: 1 1 auto; |
| | | justify-content: flex-end; |
| | | overflow: hidden; |
| | | } |
| | | .tox .tox-statusbar__path { |
| | | display: flex; |
| | | flex: 1 1 auto; |
| | | margin-right: auto; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-statusbar__path > * { |
| | | display: inline; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-statusbar__wordcount { |
| | | flex: 0 0 auto; |
| | | margin-left: 1ch; |
| | | } |
| | | .tox .tox-statusbar a, |
| | | .tox .tox-statusbar__path-item, |
| | | .tox .tox-statusbar__wordcount { |
| | | color: rgba(34, 47, 62, 0.7); |
| | | text-decoration: none; |
| | | } |
| | | .tox .tox-statusbar a:hover, |
| | | .tox .tox-statusbar__path-item:hover, |
| | | .tox .tox-statusbar__wordcount:hover, |
| | | .tox .tox-statusbar a:focus, |
| | | .tox .tox-statusbar__path-item:focus, |
| | | .tox .tox-statusbar__wordcount:focus { |
| | | cursor: pointer; |
| | | text-decoration: underline; |
| | | } |
| | | .tox .tox-statusbar__resize-handle { |
| | | align-items: flex-end; |
| | | align-self: stretch; |
| | | cursor: nwse-resize; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | justify-content: flex-end; |
| | | margin-left: auto; |
| | | margin-right: -8px; |
| | | padding-left: 1ch; |
| | | } |
| | | .tox .tox-statusbar__resize-handle svg { |
| | | display: block; |
| | | fill: rgba(34, 47, 62, 0.7); |
| | | } |
| | | .tox:not([dir=rtl]) .tox-statusbar__path > * { |
| | | margin-right: 4px; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-statusbar__branding { |
| | | margin-left: 1ch; |
| | | } |
| | | .tox[dir=rtl] .tox-statusbar { |
| | | flex-direction: row-reverse; |
| | | } |
| | | .tox[dir=rtl] .tox-statusbar__path > * { |
| | | margin-left: 4px; |
| | | } |
| | | .tox .tox-throbber { |
| | | z-index: 1400; |
| | | } |
| | | .tox .tox-throbber__busy-spinner { |
| | | align-items: center; |
| | | background-color: rgba(255, 255, 255, 0.6); |
| | | bottom: 0; |
| | | display: flex; |
| | | justify-content: center; |
| | | left: 0; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 0; |
| | | } |
| | | .tox .tox-tbtn { |
| | | align-items: center; |
| | | background: none; |
| | | border: 0; |
| | | border-radius: 3px; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | height: 34px; |
| | | justify-content: center; |
| | | margin: 2px 0 3px 0; |
| | | outline: none; |
| | | overflow: hidden; |
| | | padding: 0; |
| | | text-transform: normal; |
| | | width: 34px; |
| | | } |
| | | .tox .tox-tbtn svg { |
| | | display: block; |
| | | fill: #222f3e; |
| | | } |
| | | .tox .tox-tbtn.tox-tbtn-more { |
| | | padding-left: 5px; |
| | | padding-right: 5px; |
| | | width: inherit; |
| | | } |
| | | .tox .tox-tbtn:focus { |
| | | background: #dee0e2; |
| | | border: 0; |
| | | box-shadow: none; |
| | | } |
| | | .tox .tox-tbtn:hover { |
| | | background: #dee0e2; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-tbtn:hover svg { |
| | | fill: #222f3e; |
| | | } |
| | | .tox .tox-tbtn:active { |
| | | background: #c8cbcf; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-tbtn:active svg { |
| | | fill: #222f3e; |
| | | } |
| | | .tox .tox-tbtn--disabled, |
| | | .tox .tox-tbtn--disabled:hover, |
| | | .tox .tox-tbtn:disabled, |
| | | .tox .tox-tbtn:disabled:hover { |
| | | background: none; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: rgba(34, 47, 62, 0.5); |
| | | cursor: not-allowed; |
| | | } |
| | | .tox .tox-tbtn--disabled svg, |
| | | .tox .tox-tbtn--disabled:hover svg, |
| | | .tox .tox-tbtn:disabled svg, |
| | | .tox .tox-tbtn:disabled:hover svg { |
| | | /* stylelint-disable-line no-descending-specificity */ |
| | | fill: rgba(34, 47, 62, 0.5); |
| | | } |
| | | .tox .tox-tbtn--enabled, |
| | | .tox .tox-tbtn--enabled:hover { |
| | | background: #c8cbcf; |
| | | border: 0; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-tbtn--enabled > *, |
| | | .tox .tox-tbtn--enabled:hover > * { |
| | | transform: none; |
| | | } |
| | | .tox .tox-tbtn--enabled svg, |
| | | .tox .tox-tbtn--enabled:hover svg { |
| | | /* stylelint-disable-line no-descending-specificity */ |
| | | fill: #222f3e; |
| | | } |
| | | .tox .tox-tbtn:focus:not(.tox-tbtn--disabled) { |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg { |
| | | fill: #222f3e; |
| | | } |
| | | .tox .tox-tbtn:active > * { |
| | | transform: none; |
| | | } |
| | | .tox .tox-tbtn--md { |
| | | height: 51px; |
| | | width: 51px; |
| | | } |
| | | .tox .tox-tbtn--lg { |
| | | flex-direction: column; |
| | | height: 68px; |
| | | width: 68px; |
| | | } |
| | | .tox .tox-tbtn--return { |
| | | -ms-grid-row-align: stretch; |
| | | align-self: stretch; |
| | | height: unset; |
| | | width: 16px; |
| | | } |
| | | .tox .tox-tbtn--labeled { |
| | | padding: 0 4px; |
| | | width: unset; |
| | | } |
| | | .tox .tox-tbtn__vlabel { |
| | | display: block; |
| | | font-size: 10px; |
| | | font-weight: normal; |
| | | letter-spacing: -0.025em; |
| | | margin-bottom: 4px; |
| | | white-space: nowrap; |
| | | } |
| | | .tox .tox-tbtn--select { |
| | | margin: 2px 0 3px 0; |
| | | padding: 0 4px; |
| | | width: auto; |
| | | } |
| | | .tox .tox-tbtn__select-label { |
| | | cursor: default; |
| | | font-weight: normal; |
| | | margin: 0 4px; |
| | | } |
| | | .tox .tox-tbtn__select-chevron { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | width: 16px; |
| | | } |
| | | .tox .tox-tbtn__select-chevron svg { |
| | | fill: rgba(34, 47, 62, 0.5); |
| | | } |
| | | .tox .tox-tbtn--bespoke .tox-tbtn__select-label { |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | width: 7em; |
| | | } |
| | | .tox .tox-split-button { |
| | | border: 0; |
| | | border-radius: 3px; |
| | | box-sizing: border-box; |
| | | display: flex; |
| | | margin: 2px 0 3px 0; |
| | | overflow: hidden; |
| | | } |
| | | .tox .tox-split-button:hover { |
| | | box-shadow: 0 0 0 1px #dee0e2 inset; |
| | | } |
| | | .tox .tox-split-button:focus { |
| | | background: #dee0e2; |
| | | box-shadow: none; |
| | | color: #222f3e; |
| | | } |
| | | .tox .tox-split-button > * { |
| | | border-radius: 0; |
| | | } |
| | | .tox .tox-split-button__chevron { |
| | | width: 16px; |
| | | } |
| | | .tox .tox-split-button__chevron svg { |
| | | fill: rgba(34, 47, 62, 0.5); |
| | | } |
| | | .tox .tox-pop .tox-split-button__chevron svg { |
| | | transform: rotate(-90deg); |
| | | } |
| | | .tox .tox-split-button .tox-tbtn { |
| | | margin: 0; |
| | | } |
| | | .tox.tox-platform-touch .tox-split-button .tox-tbtn:first-child { |
| | | width: 30px; |
| | | } |
| | | .tox.tox-platform-touch .tox-split-button__chevron { |
| | | width: 20px; |
| | | } |
| | | .tox .tox-split-button.tox-tbtn--disabled:hover, |
| | | .tox .tox-split-button.tox-tbtn--disabled:focus, |
| | | .tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover, |
| | | .tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus { |
| | | background: none; |
| | | box-shadow: none; |
| | | color: rgba(34, 47, 62, 0.5); |
| | | } |
| | | .tox .tox-toolbar-overlord { |
| | | background-color: #fff; |
| | | } |
| | | .tox .tox-toolbar, |
| | | .tox .tox-toolbar__primary, |
| | | .tox .tox-toolbar__overflow { |
| | | background: url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff; |
| | | background-color: #fff; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | flex-shrink: 0; |
| | | flex-wrap: wrap; |
| | | padding: 0 0; |
| | | } |
| | | .tox .tox-toolbar__overflow.tox-toolbar__overflow--closed { |
| | | height: 0; |
| | | opacity: 0; |
| | | padding-bottom: 0; |
| | | padding-top: 0; |
| | | visibility: hidden; |
| | | } |
| | | .tox .tox-toolbar__overflow--growing { |
| | | transition: height 0.3s ease, opacity 0.2s linear 0.1s; |
| | | } |
| | | .tox .tox-toolbar__overflow--shrinking { |
| | | transition: opacity 0.3s ease, height 0.2s linear 0.1s, visibility 0s linear 0.3s; |
| | | } |
| | | .tox .tox-pop .tox-toolbar { |
| | | border-width: 0; |
| | | } |
| | | .tox .tox-toolbar--no-divider { |
| | | background-image: none; |
| | | } |
| | | .tox.tox-platform-touch .tox-editor-container .tox-toolbar, |
| | | .tox.tox-tinymce-aux.tox-platform-touch .tox-toolbar { |
| | | flex-wrap: nowrap; |
| | | overflow-x: auto; |
| | | } |
| | | .tox.tox-tinymce-aux .tox-toolbar__overflow { |
| | | background-color: #fff; |
| | | border: 1px solid #cccccc; |
| | | border-radius: 3px; |
| | | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15); |
| | | } |
| | | .tox[dir=rtl] .tox-tbtn__icon-rtl svg { |
| | | transform: rotateY(180deg); |
| | | } |
| | | .tox .tox-toolbar__group { |
| | | align-items: center; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | margin: 0 0; |
| | | padding: 0 4px 0 4px; |
| | | } |
| | | .tox .tox-toolbar__group--pull-right { |
| | | margin-left: auto; |
| | | } |
| | | .tox.tox-platform-touch .tox-editor-container .tox-toolbar__group, |
| | | .tox.tox-tinymce-aux.tox-platform-touch .tox-toolbar__group { |
| | | flex-wrap: nowrap; |
| | | } |
| | | .tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) { |
| | | border-right: 1px solid #cccccc; |
| | | } |
| | | .tox[dir=rtl] .tox-toolbar__group:not(:last-of-type) { |
| | | border-left: 1px solid #cccccc; |
| | | } |
| | | .tox .tox-tooltip { |
| | | display: inline-block; |
| | | padding: 8px; |
| | | position: relative; |
| | | } |
| | | .tox .tox-tooltip__body { |
| | | background-color: #222f3e; |
| | | border-radius: 3px; |
| | | box-shadow: 0 2px 4px rgba(34, 47, 62, 0.3); |
| | | color: rgba(255, 255, 255, 0.75); |
| | | font-size: 14px; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | padding: 4px 8px; |
| | | text-transform: normal; |
| | | } |
| | | .tox .tox-tooltip__arrow { |
| | | position: absolute; |
| | | } |
| | | .tox .tox-tooltip--down .tox-tooltip__arrow { |
| | | border-left: 8px solid transparent; |
| | | border-right: 8px solid transparent; |
| | | border-top: 8px solid #222f3e; |
| | | bottom: 0; |
| | | left: 50%; |
| | | position: absolute; |
| | | transform: translateX(-50%); |
| | | } |
| | | .tox .tox-tooltip--up .tox-tooltip__arrow { |
| | | border-bottom: 8px solid #222f3e; |
| | | border-left: 8px solid transparent; |
| | | border-right: 8px solid transparent; |
| | | left: 50%; |
| | | position: absolute; |
| | | top: 0; |
| | | transform: translateX(-50%); |
| | | } |
| | | .tox .tox-tooltip--right .tox-tooltip__arrow { |
| | | border-bottom: 8px solid transparent; |
| | | border-left: 8px solid #222f3e; |
| | | border-top: 8px solid transparent; |
| | | position: absolute; |
| | | right: 0; |
| | | top: 50%; |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox .tox-tooltip--left .tox-tooltip__arrow { |
| | | border-bottom: 8px solid transparent; |
| | | border-right: 8px solid #222f3e; |
| | | border-top: 8px solid transparent; |
| | | left: 0; |
| | | position: absolute; |
| | | top: 50%; |
| | | transform: translateY(-50%); |
| | | } |
| | | .tox .tox-well { |
| | | border: 1px solid #cccccc; |
| | | border-radius: 3px; |
| | | padding: 8px; |
| | | width: 100%; |
| | | } |
| | | .tox .tox-well > *:first-child { |
| | | margin-top: 0; |
| | | } |
| | | .tox .tox-well > *:last-child { |
| | | margin-bottom: 0; |
| | | } |
| | | .tox .tox-well > *:only-child { |
| | | margin: 0; |
| | | } |
| | | .tox .tox-custom-editor { |
| | | border: 1px solid #cccccc; |
| | | border-radius: 3px; |
| | | display: flex; |
| | | height: 525px; |
| | | } |
| | | /* stylelint-disable */ |
| | | .tox { |
| | | /* stylelint-enable */ |
| | | } |
| | | .tox .tox-dialog-loading::before { |
| | | background-color: rgba(0, 0, 0, 0.5); |
| | | content: ""; |
| | | height: 100%; |
| | | position: absolute; |
| | | width: 100%; |
| | | z-index: 1000; |
| | | } |
| | | .tox .tox-tab { |
| | | cursor: pointer; |
| | | } |
| | | .tox .tox-dialog__content-js { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-dialog__body-content .tox-collection { |
| | | display: flex; |
| | | flex: 1; |
| | | -ms-flex-preferred-size: auto; |
| | | } |
| | | .tox .tox-image-tools-edit-panel { |
| | | height: 60px; |
| | | } |
| | | .tox .tox-image-tools__sidebar { |
| | | height: 60px; |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .tox{box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg){background:0 0;border:0;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:1px solid #ccc;border-radius:0;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox-tinymce-inline{border:none;box-shadow:none}.tox-tinymce-inline .tox-editor-header{border:1px solid #ccc;border-bottom:0;border-radius:0;box-shadow:none}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border:1px solid #ccc;border-radius:3px;display:flex;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>:last-child:not(:only-child){border-color:#ccc;border-style:solid}.tox .accessibility-issue__repair{margin-top:16px}.tox .accessibility-issue--info .accessibility-issue__description{background-color:rgba(32,122,183,.1);border-color:rgba(32,122,183,.4);color:#222f3e}.tox .accessibility-issue--info .accessibility-issue__description>:last-child{border-color:rgba(32,122,183,.4)}.tox .accessibility-issue--info h2{color:#207ab7}.tox .accessibility-issue--info .tox-icon svg{fill:#207ab7}.tox .accessibility-issue--info a .tox-icon{color:#207ab7}.tox .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.1);border-color:rgba(255,165,0,.5);color:#222f3e}.tox .accessibility-issue--warn .accessibility-issue__description>:last-child{border-color:rgba(255,165,0,.5)}.tox .accessibility-issue--warn h2{color:#cc8500}.tox .accessibility-issue--warn .tox-icon svg{fill:#cc8500}.tox .accessibility-issue--warn a .tox-icon{color:#cc8500}.tox .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.1);border-color:rgba(204,0,0,.4);color:#222f3e}.tox .accessibility-issue--error .accessibility-issue__description>:last-child{border-color:rgba(204,0,0,.4)}.tox .accessibility-issue--error h2{color:#c00}.tox .accessibility-issue--error .tox-icon svg{fill:#c00}.tox .accessibility-issue--error a .tox-icon{color:#c00}.tox .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);border-color:rgba(120,171,70,.4);color:#222f3e}.tox .accessibility-issue--success .accessibility-issue__description>:last-child{border-color:rgba(120,171,70,.4)}.tox .accessibility-issue--success h2{color:#78ab46}.tox .accessibility-issue--success .tox-icon svg{fill:#78ab46}.tox .accessibility-issue--success a .tox-icon{color:#78ab46}.tox .tox-dialog__body-content .accessibility-issue__header h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .accessibility-issue__description{padding:4px 4px 4px 8px}.tox:not([dir=rtl]) .accessibility-issue__description>:last-child{border-left-width:1px;padding-left:4px}.tox[dir=rtl] .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .accessibility-issue__description{padding:4px 8px 4px 4px}.tox[dir=rtl] .accessibility-issue__description>:last-child{border-right-width:1px;padding-right:4px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#207ab7;background-image:none;background-position:none;background-repeat:none;border-color:#207ab7;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-weight:700;letter-spacing:1;line-height:24px;margin:0;outline:0;padding:4px 16px;text-align:center;text-decoration:none;text-transform:capitalize;white-space:nowrap}.tox .tox-button[disabled]{background-color:#207ab7;background-image:none;border-color:#207ab7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#1c6ca1;background-image:none;border-color:#1c6ca1;box-shadow:none;color:#fff}.tox .tox-button:hover:not(:disabled){background-color:#1c6ca1;background-image:none;border-color:#1c6ca1;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#185d8c;background-image:none;border-color:#185d8c;box-shadow:none;color:#fff}.tox .tox-button--secondary{background-color:#f0f0f0;background-image:none;background-position:none;background-repeat:none;border-color:#f0f0f0;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;color:#222f3e;outline:0;padding:4px 16px;text-decoration:none;text-transform:capitalize}.tox .tox-button--secondary[disabled]{background-color:#f0f0f0;background-image:none;border-color:#f0f0f0;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:hover:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:active:not(:disabled){background-color:#d6d6d6;background-image:none;border-color:#d6d6d6;box-shadow:none;color:#222f3e}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked[disabled]{background-color:#f0f0f0;border-color:#f0f0f0;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:#e3e3e3;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--naked:focus:not(:disabled){background-color:#e3e3e3;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--naked:active:not(:disabled){background-color:#d6d6d6;border-color:#d6d6d6;box-shadow:none;color:#222f3e}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#222f3e}.tox .tox-checkbox{align-items:center;border-radius:3px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;left:-10000px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:3px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(34,47,62,.3)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#207ab7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#207ab7}.tox .tox-checkbox--disabled{color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(34,47,62,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:3px;box-shadow:inset 0 0 0 1px #207ab7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#ccc;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#e6e6e6;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;color:#222f3e;cursor:pointer;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:inherit;color:contrast(inherit,#222f3e,#fff)}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#c8cbcf;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#c8cbcf;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#dee0e2;color:#222f3e}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:default}.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;-ms-flex-preferred-size:auto;font-size:14px;font-style:normal;font-weight:400;line-height:24px;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(34,47,62,.7);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:normal}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:'';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#222f3e}.tox .tox-collection__item[role=menuitemcheckbox]:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:34px;margin:2px 0 3px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid #ccc}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid #ccc}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-icon-rtl .tox-collection__item-icon svg{transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:2px 0 3px 4px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px 0}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#dee0e2}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#fff;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:rgba(34,47,62,.7);font-size:12px}.tox .tox-comment__body{color:#222f3e;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,.7)}.tox .tox-user__name{color:rgba(34,47,62,.7);font-size:12px;font-style:normal;font-weight:700;text-transform:uppercase}.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:normal}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;-ms-flex-preferred-size:auto;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:normal}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;padding:16px 16px}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;font-size:14px;line-height:1.3;margin-bottom:8px;text-decoration:none;white-space:nowrap}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(32,122,183,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #207ab7;color:#207ab7}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;-ms-flex-preferred-size:auto;max-height:650px;overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#207ab7;cursor:pointer;text-decoration:none}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#185d8c;text-decoration:none}.tox .tox-dialog__body-content a:active{color:#185d8c;text-decoration:none}.tox .tox-dialog__body-content ul{display:block;list-style-type:disc;margin-bottom:16px;-webkit-margin-end:0;margin-inline-end:0;-webkit-margin-start:0;margin-inline-start:0;-webkit-padding-start:2.5rem;padding-inline-start:2.5rem}.tox .tox-dialog__body-content .tox-form__group h1{font-size:20px;font-weight:700;margin-bottom:16px;margin-top:2rem}.tox .tox-dialog__body-content .tox-form__group h2{font-size:16px;font-weight:700;margin-bottom:16px;margin-top:2rem}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:1px solid #ccc;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #ccc}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column;-ms-flex-preferred-size:auto}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1;-ms-flex-preferred-size:auto}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;-ms-flex-preferred-size:auto;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}body.tox-dialog__disable-scroll{overflow:hidden}.tox.tox-platform-ie .tox-dialog-wrap{position:-ms-device-fixed}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}.tox .tox-dropzone-container{display:flex;flex:1;-ms-flex-preferred-size:auto}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #ccc;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;-ms-flex-preferred-size:auto;overflow:hidden;position:relative}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;-ms-flex-preferred-size:auto;height:100%;position:absolute;width:100%}.tox.tox-inline-edit-area{border:1px dotted #ccc}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-header{z-index:1}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex}.tox .tox-color-input .tox-textfield{border-radius:3px 0 0 3px;display:flex}.tox .tox-color-input span{border-color:rgba(34,47,62,.2);border-radius:0 3px 3px 0;border-style:solid;border-width:1px 1px 1px 0;box-shadow:none;box-sizing:border-box;cursor:pointer;display:flex;width:35px}.tox .tox-color-input span:focus{border-color:#207ab7}.tox[dir=rtl] .tox-color-input .tox-textfield{border-radius:0 3px 3px 0}.tox[dir=rtl] .tox-color-input span{border-radius:3px 0 0 3px;border-width:1px 0 1px 1px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:normal;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column;-ms-flex-preferred-size:auto}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column;-ms-flex-preferred-size:auto}.tox .tox-form__group--stretched .tox-textarea{flex:1;-ms-flex-preferred-size:auto}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1;-ms-flex-preferred-size:auto}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;-ms-flex-preferred-size:auto;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-selectfield select,.tox .tox-textarea,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#ccc;border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;outline:0;padding:5px 4.75px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select:focus,.tox .tox-textarea:focus,.tox .tox-textfield:focus{border-color:#207ab7;box-shadow:none;outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#207ab7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox-fullscreen{border:0;height:100%;left:0;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;position:fixed;top:0;touch-action:pinch-zoom;width:100%}.tox-fullscreen .tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-fullscreen .tox.tox-tinymce.tox-fullscreen{z-index:1200}.tox-fullscreen .tox.tox-tinymce-aux{z-index:1201}.tox .tox-image-tools{width:100%}.tox .tox-image-tools__toolbar{align-items:center;display:flex;justify-content:center}.tox .tox-image-tools__image{background-color:#666;height:380px;overflow:auto;position:relative;width:100%}.tox .tox-image-tools__image,.tox .tox-image-tools__image+.tox-image-tools__toolbar{margin-top:8px}.tox .tox-image-tools__image-bg{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools__toolbar>.tox-spacer{flex:1;-ms-flex-preferred-size:auto}.tox .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox:not([dir=rtl]) .tox-image-tools__toolbar>.tox-slider:not(:first-of-type){margin-left:8px}.tox:not([dir=rtl]) .tox-image-tools__toolbar>.tox-button+.tox-slider{margin-left:32px}.tox:not([dir=rtl]) .tox-image-tools__toolbar>.tox-slider+.tox-button{margin-left:32px}.tox[dir=rtl] .tox-image-tools__toolbar>.tox-slider:not(:first-of-type){margin-right:8px}.tox[dir=rtl] .tox-image-tools__toolbar>.tox-button+.tox-slider{margin-right:32px}.tox[dir=rtl] .tox-image-tools__toolbar>.tox-slider+.tox-button{margin-right:32px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:169px}.tox .tox-insert-table-picker>div{border-color:#ccc;border-style:solid;border-width:0 1px 1px 0;box-sizing:content-box;height:16px;width:16px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px 0}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(32,122,183,.5);border-color:rgba(32,122,183,.5)}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:4px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:4px}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 4px 0 4px}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:normal;width:auto}.tox .tox-mbtn[disabled]{background-color:none;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn--active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:3px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:-ms-grid;display:grid;font-size:14px;font-weight:400;-ms-grid-columns:minmax(40px,1fr) auto minmax(40px,1fr);grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#547831}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f8dede;border-color:#f2bfbf;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#c00}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fffaea;border-color:#ffe89d;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#222f3e}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d9edf7;border-color:#779ecb;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#222f3e}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{-ms-grid-row-align:center;align-self:center;color:#222f3e;font-size:14px;-ms-grid-column-span:1;grid-column-end:3;-ms-grid-column:2;grid-column-start:2;-ms-grid-row-span:1;grid-row-end:2;-ms-grid-row:1;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{-ms-grid-row-align:center;align-self:center;-ms-grid-column-span:1;grid-column-end:2;-ms-grid-column:1;grid-column-start:1;-ms-grid-row-span:1;grid-row-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-column-align:end;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{-ms-grid-row-align:start;align-self:start;-ms-grid-column-span:1;grid-column-end:4;-ms-grid-column:3;grid-column-start:3;-ms-grid-row-span:1;grid-row-end:2;-ms-grid-row:1;grid-row-start:1;-ms-grid-column-align:end;justify-self:end}.tox .tox-notification .tox-progress-bar{-ms-grid-column-span:3;grid-column-end:4;-ms-grid-column:1;grid-column-start:1;-ms-grid-row-span:1;grid-row-end:3;-ms-grid-row:2;grid-row-start:2;-ms-grid-column-align:center;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar{flex-wrap:nowrap}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:'';display:block;height:0;position:absolute;width:0}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#ccc transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #ccc transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #ccc transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #ccc;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;-ms-flex-preferred-size:0;min-height:0}.tox .tox-sidebar{background-color:#fff;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px;z-index:10000}.tox .tox-slider{align-items:center;display:flex;flex:1;-ms-flex-preferred-size:auto;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #ccc;border-radius:3px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#207ab7;border:2px solid #185d8c;border-radius:3px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #ccc;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:12px;font-weight:400;height:18px;overflow:hidden;padding:0 8px;position:relative;text-transform:uppercase}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:flex-end;overflow:hidden}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);text-decoration:none}.tox .tox-statusbar a:focus,.tox .tox-statusbar a:hover,.tox .tox-statusbar__path-item:focus,.tox .tox-statusbar__path-item:hover,.tox .tox-statusbar__wordcount:focus,.tox .tox-statusbar__wordcount:hover{cursor:pointer;text-decoration:underline}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-left:1ch}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,.7)}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:1ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1400}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:34px;justify-content:center;margin:2px 0 3px 0;outline:0;overflow:hidden;padding:0;text-transform:normal;width:34px}.tox .tox-tbtn svg{display:block;fill:#222f3e}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#dee0e2;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#dee0e2;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:51px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:68px;width:68px}.tox .tox-tbtn--return{-ms-grid-row-align:stretch;align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tbtn--select{margin:2px 0 3px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:2px 0 3px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #dee0e2 inset}.tox .tox-split-button:focus{background:#dee0e2;box-shadow:none;color:#222f3e}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-pop .tox-split-button__chevron svg{transform:rotate(-90deg)}.tox .tox-split-button .tox-tbtn{margin:0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background:url("data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox.tox-platform-touch .tox-editor-container .tox-toolbar,.tox.tox-tinymce-aux.tox-platform-touch .tox-toolbar{flex-wrap:nowrap;overflow-x:auto}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;border:1px solid #ccc;border-radius:3px;box-shadow:0 1px 3px rgba(0,0,0,.15)}.tox[dir=rtl] .tox-tbtn__icon-rtl svg{transform:rotateY(180deg)}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 4px 0 4px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox.tox-platform-touch .tox-editor-container .tox-toolbar__group,.tox.tox-tinymce-aux.tox-platform-touch .tox-toolbar__group{flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid #ccc}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid #ccc}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:3px;box-shadow:0 2px 4px rgba(34,47,62,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:normal}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-well{border:1px solid #ccc;border-radius:3px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #ccc;border-radius:3px;display:flex;height:525px}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1;-ms-flex-preferred-size:auto}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1;-ms-flex-preferred-size:auto}.tox .tox-image-tools-edit-panel{height:60px}.tox .tox-image-tools__sidebar{height:60px} |
| | | /*# sourceMappingURL=skin.min.css.map */ |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | /* RESET all the things! */ |
| | | .tinymce-mobile-outer-container { |
| | | all: initial; |
| | | display: block; |
| | | } |
| | | .tinymce-mobile-outer-container * { |
| | | border: 0; |
| | | box-sizing: initial; |
| | | cursor: inherit; |
| | | float: none; |
| | | line-height: 1; |
| | | margin: 0; |
| | | outline: 0; |
| | | padding: 0; |
| | | -webkit-tap-highlight-color: transparent; |
| | | /* TBIO-3691, stop the gray flicker on touch. */ |
| | | text-shadow: none; |
| | | white-space: nowrap; |
| | | } |
| | | .tinymce-mobile-icon-arrow-back::before { |
| | | content: "\e5cd"; |
| | | } |
| | | .tinymce-mobile-icon-image::before { |
| | | content: "\e412"; |
| | | } |
| | | .tinymce-mobile-icon-cancel-circle::before { |
| | | content: "\e5c9"; |
| | | } |
| | | .tinymce-mobile-icon-full-dot::before { |
| | | content: "\e061"; |
| | | } |
| | | .tinymce-mobile-icon-align-center::before { |
| | | content: "\e234"; |
| | | } |
| | | .tinymce-mobile-icon-align-left::before { |
| | | content: "\e236"; |
| | | } |
| | | .tinymce-mobile-icon-align-right::before { |
| | | content: "\e237"; |
| | | } |
| | | .tinymce-mobile-icon-bold::before { |
| | | content: "\e238"; |
| | | } |
| | | .tinymce-mobile-icon-italic::before { |
| | | content: "\e23f"; |
| | | } |
| | | .tinymce-mobile-icon-unordered-list::before { |
| | | content: "\e241"; |
| | | } |
| | | .tinymce-mobile-icon-ordered-list::before { |
| | | content: "\e242"; |
| | | } |
| | | .tinymce-mobile-icon-font-size::before { |
| | | content: "\e245"; |
| | | } |
| | | .tinymce-mobile-icon-underline::before { |
| | | content: "\e249"; |
| | | } |
| | | .tinymce-mobile-icon-link::before { |
| | | content: "\e157"; |
| | | } |
| | | .tinymce-mobile-icon-unlink::before { |
| | | content: "\eca2"; |
| | | } |
| | | .tinymce-mobile-icon-color::before { |
| | | content: "\e891"; |
| | | } |
| | | .tinymce-mobile-icon-previous::before { |
| | | content: "\e314"; |
| | | } |
| | | .tinymce-mobile-icon-next::before { |
| | | content: "\e315"; |
| | | } |
| | | .tinymce-mobile-icon-large-font::before, |
| | | .tinymce-mobile-icon-style-formats::before { |
| | | content: "\e264"; |
| | | } |
| | | .tinymce-mobile-icon-undo::before { |
| | | content: "\e166"; |
| | | } |
| | | .tinymce-mobile-icon-redo::before { |
| | | content: "\e15a"; |
| | | } |
| | | .tinymce-mobile-icon-removeformat::before { |
| | | content: "\e239"; |
| | | } |
| | | .tinymce-mobile-icon-small-font::before { |
| | | content: "\e906"; |
| | | } |
| | | .tinymce-mobile-icon-readonly-back::before, |
| | | .tinymce-mobile-format-matches::after { |
| | | content: "\e5ca"; |
| | | } |
| | | .tinymce-mobile-icon-small-heading::before { |
| | | content: "small"; |
| | | } |
| | | .tinymce-mobile-icon-large-heading::before { |
| | | content: "large"; |
| | | } |
| | | .tinymce-mobile-icon-small-heading::before, |
| | | .tinymce-mobile-icon-large-heading::before { |
| | | font-family: sans-serif; |
| | | font-size: 80%; |
| | | } |
| | | .tinymce-mobile-mask-edit-icon::before { |
| | | content: "\e254"; |
| | | } |
| | | .tinymce-mobile-icon-back::before { |
| | | content: "\e5c4"; |
| | | } |
| | | .tinymce-mobile-icon-heading::before { |
| | | /* TODO: Translate */ |
| | | content: "Headings"; |
| | | font-family: sans-serif; |
| | | font-size: 80%; |
| | | font-weight: bold; |
| | | } |
| | | .tinymce-mobile-icon-h1::before { |
| | | content: "H1"; |
| | | font-weight: bold; |
| | | } |
| | | .tinymce-mobile-icon-h2::before { |
| | | content: "H2"; |
| | | font-weight: bold; |
| | | } |
| | | .tinymce-mobile-icon-h3::before { |
| | | content: "H3"; |
| | | font-weight: bold; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | background: rgba(51, 51, 51, 0.5); |
| | | height: 100%; |
| | | position: absolute; |
| | | top: 0; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container { |
| | | align-items: center; |
| | | border-radius: 50%; |
| | | display: flex; |
| | | flex-direction: column; |
| | | font-family: sans-serif; |
| | | font-size: 1em; |
| | | justify-content: space-between; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .mixin-menu-item { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | border-radius: 50%; |
| | | height: 2.1em; |
| | | width: 2.1em; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | font-size: 1em; |
| | | } |
| | | @media only screen and (min-device-width:700px) { |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section { |
| | | font-size: 1.2em; |
| | | } |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | border-radius: 50%; |
| | | height: 2.1em; |
| | | width: 2.1em; |
| | | background-color: white; |
| | | color: #207ab7; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon::before { |
| | | content: "\e900"; |
| | | font-family: 'tinymce-mobile', sans-serif; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section:not(.tinymce-mobile-mask-tap-icon-selected) .tinymce-mobile-mask-tap-icon { |
| | | z-index: 2; |
| | | } |
| | | .tinymce-mobile-android-container.tinymce-mobile-android-maximized { |
| | | background: #ffffff; |
| | | border: none; |
| | | bottom: 0; |
| | | display: flex; |
| | | flex-direction: column; |
| | | left: 0; |
| | | position: fixed; |
| | | right: 0; |
| | | top: 0; |
| | | } |
| | | .tinymce-mobile-android-container:not(.tinymce-mobile-android-maximized) { |
| | | position: relative; |
| | | } |
| | | .tinymce-mobile-android-container .tinymce-mobile-editor-socket { |
| | | display: flex; |
| | | flex-grow: 1; |
| | | } |
| | | .tinymce-mobile-android-container .tinymce-mobile-editor-socket iframe { |
| | | display: flex !important; |
| | | flex-grow: 1; |
| | | height: auto !important; |
| | | } |
| | | .tinymce-mobile-android-scroll-reload { |
| | | overflow: hidden; |
| | | } |
| | | :not(.tinymce-mobile-readonly-mode) > .tinymce-mobile-android-selection-context-toolbar { |
| | | margin-top: 23px; |
| | | } |
| | | .tinymce-mobile-toolstrip { |
| | | background: #fff; |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | z-index: 1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar { |
| | | align-items: center; |
| | | background-color: #fff; |
| | | border-bottom: 1px solid #cccccc; |
| | | display: flex; |
| | | flex: 1; |
| | | height: 2.5em; |
| | | width: 100%; |
| | | /* Make it no larger than the toolstrip, so that it needs to scroll */ |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 100%; |
| | | flex-shrink: 1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group > div { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 100%; |
| | | flex: 1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-exit-container { |
| | | background: #f44336; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-toolbar-scrollable-group { |
| | | flex-grow: 1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item { |
| | | padding-left: 0.5em; |
| | | padding-right: 0.5em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 80%; |
| | | margin-left: 2px; |
| | | margin-right: 2px; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button.tinymce-mobile-toolbar-button-selected { |
| | | background: #c8cbcf; |
| | | color: #cccccc; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:first-of-type, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:last-of-type { |
| | | background: #207ab7; |
| | | color: #eceff1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar { |
| | | /* Note, this file is imported inside .tinymce-mobile-context-toolbar, so that prefix is on everything here. */ |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 100%; |
| | | flex: 1; |
| | | padding-bottom: 0.4em; |
| | | padding-top: 0.4em; |
| | | /* Make any buttons appearing on the left and right display in the centre (e.g. color edges) */ |
| | | /* For widgets like the colour picker, use the whole height */ |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog { |
| | | display: flex; |
| | | min-height: 1.5em; |
| | | overflow: hidden; |
| | | padding-left: 0; |
| | | padding-right: 0; |
| | | position: relative; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain { |
| | | display: flex; |
| | | height: 100%; |
| | | transition: left cubic-bezier(0.4, 0, 1, 1) 0.15s; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen { |
| | | display: flex; |
| | | flex: 0 0 auto; |
| | | justify-content: space-between; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen input { |
| | | font-family: Sans-serif; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container { |
| | | display: flex; |
| | | flex-grow: 1; |
| | | position: relative; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container .tinymce-mobile-input-container-x { |
| | | -ms-grid-row-align: center; |
| | | align-self: center; |
| | | background: inherit; |
| | | border: none; |
| | | border-radius: 50%; |
| | | color: #888; |
| | | font-size: 0.6em; |
| | | font-weight: bold; |
| | | height: 100%; |
| | | padding-right: 2px; |
| | | position: absolute; |
| | | right: 0; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container.tinymce-mobile-input-container-empty .tinymce-mobile-input-container-x { |
| | | display: none; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next { |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous::before, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next::before { |
| | | align-items: center; |
| | | display: flex; |
| | | font-weight: bold; |
| | | height: 100%; |
| | | padding-left: 0.5em; |
| | | padding-right: 0.5em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous.tinymce-mobile-toolbar-navigation-disabled::before, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next.tinymce-mobile-toolbar-navigation-disabled::before { |
| | | visibility: hidden; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item { |
| | | color: #cccccc; |
| | | font-size: 10px; |
| | | line-height: 10px; |
| | | margin: 0 2px; |
| | | padding-top: 3px; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item.tinymce-mobile-dot-active { |
| | | color: #c8cbcf; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-font::before, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-heading::before { |
| | | margin-left: 0.5em; |
| | | margin-right: 0.9em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-font::before, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-heading::before { |
| | | margin-left: 0.9em; |
| | | margin-right: 0.5em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider { |
| | | display: flex; |
| | | flex: 1; |
| | | margin-left: 0; |
| | | margin-right: 0; |
| | | padding: 0.28em 0; |
| | | position: relative; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container { |
| | | align-items: center; |
| | | display: flex; |
| | | flex-grow: 1; |
| | | height: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container .tinymce-mobile-slider-size-line { |
| | | background: #cccccc; |
| | | display: flex; |
| | | flex: 1; |
| | | height: 0.2em; |
| | | margin-bottom: 0.3em; |
| | | margin-top: 0.3em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container { |
| | | padding-left: 2em; |
| | | padding-right: 2em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container { |
| | | align-items: center; |
| | | display: flex; |
| | | flex-grow: 1; |
| | | height: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container .tinymce-mobile-slider-gradient { |
| | | background: linear-gradient(to right, hsl(0, 100%, 50%) 0%, hsl(60, 100%, 50%) 17%, hsl(120, 100%, 50%) 33%, hsl(180, 100%, 50%) 50%, hsl(240, 100%, 50%) 67%, hsl(300, 100%, 50%) 83%, hsl(0, 100%, 50%) 100%); |
| | | display: flex; |
| | | flex: 1; |
| | | height: 0.2em; |
| | | margin-bottom: 0.3em; |
| | | margin-top: 0.3em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-black { |
| | | /* Not part of theming */ |
| | | background: black; |
| | | height: 0.2em; |
| | | margin-bottom: 0.3em; |
| | | margin-top: 0.3em; |
| | | width: 1.2em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-white { |
| | | /* Not part of theming */ |
| | | background: white; |
| | | height: 0.2em; |
| | | margin-bottom: 0.3em; |
| | | margin-top: 0.3em; |
| | | width: 1.2em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb { |
| | | /* vertically centering trick (margin: auto, top: 0, bottom: 0). On iOS and Safari, if you leave |
| | | * out these values, then it shows the thumb at the top of the spectrum. This is probably because it is |
| | | * absolutely positioned with only a left value, and not a top. Note, on Chrome it seems to be fine without |
| | | * this approach. |
| | | */ |
| | | align-items: center; |
| | | background-clip: padding-box; |
| | | background-color: #455a64; |
| | | border: 0.5em solid rgba(136, 136, 136, 0); |
| | | border-radius: 3em; |
| | | bottom: 0; |
| | | color: #fff; |
| | | display: flex; |
| | | height: 0.5em; |
| | | justify-content: center; |
| | | left: -10px; |
| | | margin: auto; |
| | | position: absolute; |
| | | top: 0; |
| | | transition: border 120ms cubic-bezier(0.39, 0.58, 0.57, 1); |
| | | width: 0.5em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb.tinymce-mobile-thumb-active { |
| | | border: 0.5em solid rgba(136, 136, 136, 0.39); |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper, |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group > div { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 100%; |
| | | flex: 1; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper { |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item { |
| | | align-items: center; |
| | | display: flex; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item:not(.tinymce-mobile-serialised-dialog) { |
| | | height: 100%; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-container { |
| | | display: flex; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input { |
| | | background: #ffffff; |
| | | border: none; |
| | | border-radius: 0; |
| | | color: #455a64; |
| | | flex-grow: 1; |
| | | font-size: 0.85em; |
| | | padding-bottom: 0.1em; |
| | | padding-left: 5px; |
| | | padding-top: 0.1em; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::-webkit-input-placeholder { |
| | | /* WebKit, Blink, Edge */ |
| | | color: #888; |
| | | } |
| | | .tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::placeholder { |
| | | /* WebKit, Blink, Edge */ |
| | | color: #888; |
| | | } |
| | | /* dropup */ |
| | | .tinymce-mobile-dropup { |
| | | background: white; |
| | | display: flex; |
| | | overflow: hidden; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-dropup.tinymce-mobile-dropup-shrinking { |
| | | transition: height 0.3s ease-out; |
| | | } |
| | | .tinymce-mobile-dropup.tinymce-mobile-dropup-growing { |
| | | transition: height 0.3s ease-in; |
| | | } |
| | | .tinymce-mobile-dropup.tinymce-mobile-dropup-closed { |
| | | flex-grow: 0; |
| | | } |
| | | .tinymce-mobile-dropup.tinymce-mobile-dropup-open:not(.tinymce-mobile-dropup-growing) { |
| | | flex-grow: 1; |
| | | } |
| | | /* TODO min-height for device size and orientation */ |
| | | .tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) { |
| | | min-height: 200px; |
| | | } |
| | | @media only screen and (orientation: landscape) { |
| | | .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) { |
| | | min-height: 200px; |
| | | } |
| | | } |
| | | @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) { |
| | | .tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed) { |
| | | min-height: 150px; |
| | | } |
| | | } |
| | | /* styles menu */ |
| | | .tinymce-mobile-styles-menu { |
| | | font-family: sans-serif; |
| | | outline: 4px solid black; |
| | | overflow: hidden; |
| | | position: relative; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-styles-menu [role="menu"] { |
| | | display: flex; |
| | | flex-direction: column; |
| | | height: 100%; |
| | | position: absolute; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-styles-menu [role="menu"].transitioning { |
| | | transition: transform 0.5s ease-in-out; |
| | | } |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-item { |
| | | border-bottom: 1px solid #ddd; |
| | | color: #455a64; |
| | | cursor: pointer; |
| | | display: flex; |
| | | padding: 1em 1em; |
| | | position: relative; |
| | | } |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser .tinymce-mobile-styles-collapse-icon::before { |
| | | color: #455a64; |
| | | content: "\e314"; |
| | | font-family: 'tinymce-mobile', sans-serif; |
| | | } |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-styles-item-is-menu::after { |
| | | color: #455a64; |
| | | content: "\e315"; |
| | | font-family: 'tinymce-mobile', sans-serif; |
| | | padding-left: 1em; |
| | | padding-right: 1em; |
| | | position: absolute; |
| | | right: 0; |
| | | } |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-format-matches::after { |
| | | font-family: 'tinymce-mobile', sans-serif; |
| | | padding-left: 1em; |
| | | padding-right: 1em; |
| | | position: absolute; |
| | | right: 0; |
| | | } |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-separator, |
| | | .tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser { |
| | | align-items: center; |
| | | background: #fff; |
| | | border-top: #455a64; |
| | | color: #455a64; |
| | | display: flex; |
| | | min-height: 2.5em; |
| | | padding-left: 1em; |
| | | padding-right: 1em; |
| | | } |
| | | .tinymce-mobile-styles-menu [data-transitioning-destination="before"][data-transitioning-state], |
| | | .tinymce-mobile-styles-menu [data-transitioning-state="before"] { |
| | | transform: translate(-100%); |
| | | } |
| | | .tinymce-mobile-styles-menu [data-transitioning-destination="current"][data-transitioning-state], |
| | | .tinymce-mobile-styles-menu [data-transitioning-state="current"] { |
| | | transform: translate(0%); |
| | | } |
| | | .tinymce-mobile-styles-menu [data-transitioning-destination="after"][data-transitioning-state], |
| | | .tinymce-mobile-styles-menu [data-transitioning-state="after"] { |
| | | transform: translate(100%); |
| | | } |
| | | @font-face { |
| | | font-family: 'tinymce-mobile'; |
| | | font-style: normal; |
| | | font-weight: normal; |
| | | src: url('fonts/tinymce-mobile.woff?8x92w3') format('woff'); |
| | | } |
| | | @media (min-device-width: 700px) { |
| | | .tinymce-mobile-outer-container, |
| | | .tinymce-mobile-outer-container input { |
| | | font-size: 25px; |
| | | } |
| | | } |
| | | @media (max-device-width: 700px) { |
| | | .tinymce-mobile-outer-container, |
| | | .tinymce-mobile-outer-container input { |
| | | font-size: 18px; |
| | | } |
| | | } |
| | | .tinymce-mobile-icon { |
| | | font-family: 'tinymce-mobile', sans-serif; |
| | | } |
| | | .mixin-flex-and-centre { |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | .mixin-flex-bar { |
| | | align-items: center; |
| | | display: flex; |
| | | height: 100%; |
| | | } |
| | | .tinymce-mobile-outer-container .tinymce-mobile-editor-socket iframe { |
| | | background-color: #fff; |
| | | width: 100%; |
| | | } |
| | | .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon { |
| | | /* Note, on the iPod touch in landscape, this isn't visible when the navbar appears */ |
| | | background-color: #207ab7; |
| | | border-radius: 50%; |
| | | bottom: 1em; |
| | | color: white; |
| | | font-size: 1em; |
| | | height: 2.1em; |
| | | position: fixed; |
| | | right: 2em; |
| | | width: 2.1em; |
| | | align-items: center; |
| | | display: flex; |
| | | justify-content: center; |
| | | } |
| | | @media only screen and (min-device-width:700px) { |
| | | .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon { |
| | | font-size: 1.2em; |
| | | } |
| | | } |
| | | .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket { |
| | | height: 300px; |
| | | overflow: hidden; |
| | | } |
| | | .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket iframe { |
| | | height: 100%; |
| | | } |
| | | .tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-toolstrip { |
| | | display: none; |
| | | } |
| | | /* |
| | | Note, that if you don't include this (::-webkit-file-upload-button), the toolbar width gets |
| | | increased and the whole body becomes scrollable. It's important! |
| | | */ |
| | | input[type="file"]::-webkit-file-upload-button { |
| | | display: none; |
| | | } |
| | | @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape) { |
| | | .tinymce-mobile-ios-container .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon { |
| | | bottom: 50%; |
| | | } |
| | | } |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | */ |
| | | .tinymce-mobile-outer-container{all:initial;display:block}.tinymce-mobile-outer-container *{border:0;box-sizing:initial;cursor:inherit;float:none;line-height:1;margin:0;outline:0;padding:0;-webkit-tap-highlight-color:transparent;text-shadow:none;white-space:nowrap}.tinymce-mobile-icon-arrow-back::before{content:"\e5cd"}.tinymce-mobile-icon-image::before{content:"\e412"}.tinymce-mobile-icon-cancel-circle::before{content:"\e5c9"}.tinymce-mobile-icon-full-dot::before{content:"\e061"}.tinymce-mobile-icon-align-center::before{content:"\e234"}.tinymce-mobile-icon-align-left::before{content:"\e236"}.tinymce-mobile-icon-align-right::before{content:"\e237"}.tinymce-mobile-icon-bold::before{content:"\e238"}.tinymce-mobile-icon-italic::before{content:"\e23f"}.tinymce-mobile-icon-unordered-list::before{content:"\e241"}.tinymce-mobile-icon-ordered-list::before{content:"\e242"}.tinymce-mobile-icon-font-size::before{content:"\e245"}.tinymce-mobile-icon-underline::before{content:"\e249"}.tinymce-mobile-icon-link::before{content:"\e157"}.tinymce-mobile-icon-unlink::before{content:"\eca2"}.tinymce-mobile-icon-color::before{content:"\e891"}.tinymce-mobile-icon-previous::before{content:"\e314"}.tinymce-mobile-icon-next::before{content:"\e315"}.tinymce-mobile-icon-large-font::before,.tinymce-mobile-icon-style-formats::before{content:"\e264"}.tinymce-mobile-icon-undo::before{content:"\e166"}.tinymce-mobile-icon-redo::before{content:"\e15a"}.tinymce-mobile-icon-removeformat::before{content:"\e239"}.tinymce-mobile-icon-small-font::before{content:"\e906"}.tinymce-mobile-format-matches::after,.tinymce-mobile-icon-readonly-back::before{content:"\e5ca"}.tinymce-mobile-icon-small-heading::before{content:"small"}.tinymce-mobile-icon-large-heading::before{content:"large"}.tinymce-mobile-icon-large-heading::before,.tinymce-mobile-icon-small-heading::before{font-family:sans-serif;font-size:80%}.tinymce-mobile-mask-edit-icon::before{content:"\e254"}.tinymce-mobile-icon-back::before{content:"\e5c4"}.tinymce-mobile-icon-heading::before{content:"Headings";font-family:sans-serif;font-size:80%;font-weight:700}.tinymce-mobile-icon-h1::before{content:"H1";font-weight:700}.tinymce-mobile-icon-h2::before{content:"H2";font-weight:700}.tinymce-mobile-icon-h3::before{content:"H3";font-weight:700}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask{align-items:center;display:flex;justify-content:center;background:rgba(51,51,51,.5);height:100%;position:absolute;top:0;width:100%}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container{align-items:center;border-radius:50%;display:flex;flex-direction:column;font-family:sans-serif;font-size:1em;justify-content:space-between}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .mixin-menu-item{align-items:center;display:flex;justify-content:center;border-radius:50%;height:2.1em;width:2.1em}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section{align-items:center;display:flex;justify-content:center;flex-direction:column;font-size:1em}@media only screen and (min-device-width:700px){.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section{font-size:1.2em}}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon{align-items:center;display:flex;justify-content:center;border-radius:50%;height:2.1em;width:2.1em;background-color:#fff;color:#207ab7}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section .tinymce-mobile-mask-tap-icon::before{content:"\e900";font-family:tinymce-mobile,sans-serif}.tinymce-mobile-outer-container .tinymce-mobile-disabled-mask .tinymce-mobile-content-container .tinymce-mobile-content-tap-section:not(.tinymce-mobile-mask-tap-icon-selected) .tinymce-mobile-mask-tap-icon{z-index:2}.tinymce-mobile-android-container.tinymce-mobile-android-maximized{background:#fff;border:none;bottom:0;display:flex;flex-direction:column;left:0;position:fixed;right:0;top:0}.tinymce-mobile-android-container:not(.tinymce-mobile-android-maximized){position:relative}.tinymce-mobile-android-container .tinymce-mobile-editor-socket{display:flex;flex-grow:1}.tinymce-mobile-android-container .tinymce-mobile-editor-socket iframe{display:flex!important;flex-grow:1;height:auto!important}.tinymce-mobile-android-scroll-reload{overflow:hidden}:not(.tinymce-mobile-readonly-mode)>.tinymce-mobile-android-selection-context-toolbar{margin-top:23px}.tinymce-mobile-toolstrip{background:#fff;display:flex;flex:0 0 auto;z-index:1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar{align-items:center;background-color:#fff;border-bottom:1px solid #ccc;display:flex;flex:1;height:2.5em;width:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group{align-items:center;display:flex;height:100%;flex-shrink:1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group>div{align-items:center;display:flex;height:100%;flex:1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-exit-container{background:#f44336}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group.tinymce-mobile-toolbar-scrollable-group{flex-grow:1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item{padding-left:.5em;padding-right:.5em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button{align-items:center;display:flex;height:80%;margin-left:2px;margin-right:2px}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item.tinymce-mobile-toolbar-button.tinymce-mobile-toolbar-button-selected{background:#c8cbcf;color:#ccc}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:first-of-type,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar:not(.tinymce-mobile-context-toolbar) .tinymce-mobile-toolbar-group:last-of-type{background:#207ab7;color:#eceff1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group{align-items:center;display:flex;height:100%;flex:1;padding-bottom:.4em;padding-top:.4em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog{display:flex;min-height:1.5em;overflow:hidden;padding-left:0;padding-right:0;position:relative;width:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain{display:flex;height:100%;transition:left cubic-bezier(.4,0,1,1) .15s;width:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen{display:flex;flex:0 0 auto;justify-content:space-between;width:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen input{font-family:Sans-serif}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container{display:flex;flex-grow:1;position:relative}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container .tinymce-mobile-input-container-x{-ms-grid-row-align:center;align-self:center;background:inherit;border:none;border-radius:50%;color:#888;font-size:.6em;font-weight:700;height:100%;padding-right:2px;position:absolute;right:0}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-input-container.tinymce-mobile-input-container-empty .tinymce-mobile-input-container-x{display:none}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous{align-items:center;display:flex}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next::before,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous::before{align-items:center;display:flex;font-weight:700;height:100%;padding-left:.5em;padding-right:.5em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-next.tinymce-mobile-toolbar-navigation-disabled::before,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serialised-dialog .tinymce-mobile-serialised-dialog-chain .tinymce-mobile-serialised-dialog-screen .tinymce-mobile-icon-previous.tinymce-mobile-toolbar-navigation-disabled::before{visibility:hidden}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item{color:#ccc;font-size:10px;line-height:10px;margin:0 2px;padding-top:3px}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-item.tinymce-mobile-dot-active{color:#c8cbcf}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-font::before,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-large-heading::before{margin-left:.5em;margin-right:.9em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-font::before,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-icon-small-heading::before{margin-left:.9em;margin-right:.5em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider{display:flex;flex:1;margin-left:0;margin-right:0;padding:.28em 0;position:relative}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container{align-items:center;display:flex;flex-grow:1;height:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-size-container .tinymce-mobile-slider-size-line{background:#ccc;display:flex;flex:1;height:.2em;margin-bottom:.3em;margin-top:.3em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container{padding-left:2em;padding-right:2em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container{align-items:center;display:flex;flex-grow:1;height:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-slider-gradient-container .tinymce-mobile-slider-gradient{background:linear-gradient(to right,red 0,#feff00 17%,#0f0 33%,#00feff 50%,#00f 67%,#ff00fe 83%,red 100%);display:flex;flex:1;height:.2em;margin-bottom:.3em;margin-top:.3em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-black{background:#000;height:.2em;margin-bottom:.3em;margin-top:.3em;width:1.2em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider.tinymce-mobile-hue-slider-container .tinymce-mobile-hue-slider-white{background:#fff;height:.2em;margin-bottom:.3em;margin-top:.3em;width:1.2em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb{align-items:center;background-clip:padding-box;background-color:#455a64;border:.5em solid rgba(136,136,136,0);border-radius:3em;bottom:0;color:#fff;display:flex;height:.5em;justify-content:center;left:-10px;margin:auto;position:absolute;top:0;transition:border 120ms cubic-bezier(.39,.58,.57,1);width:.5em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-slider .tinymce-mobile-slider-thumb.tinymce-mobile-thumb-active{border:.5em solid rgba(136,136,136,.39)}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper,.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group>div{align-items:center;display:flex;height:100%;flex:1}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-serializer-wrapper{flex-direction:column;justify-content:center}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item{align-items:center;display:flex}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-toolbar-group-item:not(.tinymce-mobile-serialised-dialog){height:100%}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group .tinymce-mobile-dot-container{display:flex}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input{background:#fff;border:none;border-radius:0;color:#455a64;flex-grow:1;font-size:.85em;padding-bottom:.1em;padding-left:5px;padding-top:.1em}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::-webkit-input-placeholder{color:#888}.tinymce-mobile-toolstrip .tinymce-mobile-toolbar.tinymce-mobile-context-toolbar .tinymce-mobile-toolbar-group input::placeholder{color:#888}.tinymce-mobile-dropup{background:#fff;display:flex;overflow:hidden;width:100%}.tinymce-mobile-dropup.tinymce-mobile-dropup-shrinking{transition:height .3s ease-out}.tinymce-mobile-dropup.tinymce-mobile-dropup-growing{transition:height .3s ease-in}.tinymce-mobile-dropup.tinymce-mobile-dropup-closed{flex-grow:0}.tinymce-mobile-dropup.tinymce-mobile-dropup-open:not(.tinymce-mobile-dropup-growing){flex-grow:1}.tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed){min-height:200px}@media only screen and (orientation:landscape){.tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed){min-height:200px}}@media only screen and (min-device-width :320px) and (max-device-width :568px) and (orientation :landscape){.tinymce-mobile-ios-container .tinymce-mobile-dropup:not(.tinymce-mobile-dropup-closed){min-height:150px}}.tinymce-mobile-styles-menu{font-family:sans-serif;outline:4px solid #000;overflow:hidden;position:relative;width:100%}.tinymce-mobile-styles-menu [role=menu]{display:flex;flex-direction:column;height:100%;position:absolute;width:100%}.tinymce-mobile-styles-menu [role=menu].transitioning{transition:transform .5s ease-in-out}.tinymce-mobile-styles-menu .tinymce-mobile-styles-item{border-bottom:1px solid #ddd;color:#455a64;cursor:pointer;display:flex;padding:1em 1em;position:relative}.tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser .tinymce-mobile-styles-collapse-icon::before{color:#455a64;content:"\e314";font-family:tinymce-mobile,sans-serif}.tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-styles-item-is-menu::after{color:#455a64;content:"\e315";font-family:tinymce-mobile,sans-serif;padding-left:1em;padding-right:1em;position:absolute;right:0}.tinymce-mobile-styles-menu .tinymce-mobile-styles-item.tinymce-mobile-format-matches::after{font-family:tinymce-mobile,sans-serif;padding-left:1em;padding-right:1em;position:absolute;right:0}.tinymce-mobile-styles-menu .tinymce-mobile-styles-collapser,.tinymce-mobile-styles-menu .tinymce-mobile-styles-separator{align-items:center;background:#fff;border-top:#455a64;color:#455a64;display:flex;min-height:2.5em;padding-left:1em;padding-right:1em}.tinymce-mobile-styles-menu [data-transitioning-destination=before][data-transitioning-state],.tinymce-mobile-styles-menu [data-transitioning-state=before]{transform:translate(-100%)}.tinymce-mobile-styles-menu [data-transitioning-destination=current][data-transitioning-state],.tinymce-mobile-styles-menu [data-transitioning-state=current]{transform:translate(0)}.tinymce-mobile-styles-menu [data-transitioning-destination=after][data-transitioning-state],.tinymce-mobile-styles-menu [data-transitioning-state=after]{transform:translate(100%)}@font-face{font-family:tinymce-mobile;font-style:normal;font-weight:400;src:url(fonts/tinymce-mobile.woff?8x92w3) format('woff')}@media (min-device-width:700px){.tinymce-mobile-outer-container,.tinymce-mobile-outer-container input{font-size:25px}}@media (max-device-width:700px){.tinymce-mobile-outer-container,.tinymce-mobile-outer-container input{font-size:18px}}.tinymce-mobile-icon{font-family:tinymce-mobile,sans-serif}.mixin-flex-and-centre{align-items:center;display:flex;justify-content:center}.mixin-flex-bar{align-items:center;display:flex;height:100%}.tinymce-mobile-outer-container .tinymce-mobile-editor-socket iframe{background-color:#fff;width:100%}.tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon{background-color:#207ab7;border-radius:50%;bottom:1em;color:#fff;font-size:1em;height:2.1em;position:fixed;right:2em;width:2.1em;align-items:center;display:flex;justify-content:center}@media only screen and (min-device-width:700px){.tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon{font-size:1.2em}}.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket{height:300px;overflow:hidden}.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-editor-socket iframe{height:100%}.tinymce-mobile-outer-container:not(.tinymce-mobile-fullscreen-maximized) .tinymce-mobile-toolstrip{display:none}input[type=file]::-webkit-file-upload-button{display:none}@media only screen and (min-device-width :320px) and (max-device-width :568px) and (orientation :landscape){.tinymce-mobile-ios-container .tinymce-mobile-editor-socket .tinymce-mobile-mask-edit-icon{bottom:50%}} |
| | | /*# sourceMappingURL=skin.mobile.min.css.map */ |
New file |
| | |
| | | // Exports the "mobile" theme for usage with module loaders |
| | | // Usage: |
| | | // CommonJS: |
| | | // require('tinymce/themes/mobile') |
| | | // ES2015: |
| | | // import 'tinymce/themes/mobile' |
| | | require('./theme.js'); |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | * |
| | | * Version: 5.1.0 (2019-10-17) |
| | | */ |
| | | !function(d){"use strict";var x=function(){return(x=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++)for(var o in e=arguments[t])Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}).apply(this,arguments)};function u(n,e){var t={};for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&e.indexOf(r)<0&&(t[r]=n[r]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(n);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(n,r[o])&&(t[r[o]]=n[r[o]])}return t}function w(){}function y(n){return n}var i=function(t,r){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t(r.apply(null,n))}},v=function(n){return function(){return n}};function l(r){for(var o=[],n=1;n<arguments.length;n++)o[n-1]=arguments[n];return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var t=o.concat(n);return r.apply(null,t)}}function m(t){return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return!t.apply(null,n)}}function o(n){return function(){throw new Error(n)}}function t(n){return n()}function n(){return f}var e,c=v(!1),a=v(!0),f=(e={fold:function(n,e){return n()},is:c,isSome:c,isNone:a,getOr:g,getOrThunk:s,getOrDie:function(n){throw new Error(n||"error: getOrDie called on none.")},getOrNull:v(null),getOrUndefined:v(undefined),or:g,orThunk:s,map:n,each:w,bind:n,exists:c,forall:a,filter:n,equals:r,equals_:r,toArray:function(){return[]},toString:v("none()")},Object.freeze&&Object.freeze(e),e);function r(n){return n.isNone()}function s(n){return n()}function g(n){return n}function S(n,t){return jn(n,function(n,e){return{k:e,v:t(n,e)}})}function p(n,e){return Vn.call(n,e)}function h(n,e){var t=function(n,e){for(var t=0;t<n.length;t++){var r=n[t];if(r.test(e))return r}return undefined}(n,e);if(!t)return{major:0,minor:0};function r(n){return Number(e.replace(t,"$"+n))}return ee(r(1),r(2))}function b(n,e){return function(){return e===n}}function T(n,e){return function(){return e===n}}function O(e){return function(n){return function(n){if(null===n)return"null";var e=typeof n;return"object"==e&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"==e&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":e}(n)===e}}function k(n,e){return-1<function(n,e){return Te.call(n,e)}(n,e)}function E(n,e){for(var t=0,r=n.length;t<r;t++){if(e(n[t],t))return!0}return!1}function C(n,e){for(var t=0,r=n.length;t<r;t++){e(n[t],t)}}function D(n,e){for(var t=[],r=0,o=n.length;r<o;r++){var i=n[r];e(i,r)&&t.push(i)}return t}function M(n,e,t){return function(n,e){for(var t=n.length-1;0<=t;t--){e(n[t],t)}}(n,function(n){t=e(t,n)}),t}function I(n,e,t){return C(n,function(n){t=e(t,n)}),t}function R(n,e){for(var t=0,r=n.length;t<r;t++){var o=n[t];if(e(o,t))return An.some(o)}return An.none()}function F(n,e){for(var t=0,r=n.length;t<r;t++){if(e(n[t],t))return An.some(t)}return An.none()}function A(n){for(var e=[],t=0,r=n.length;t<r;++t){if(!ye(n[t]))throw new Error("Arr.flatten item "+t+" was not an array, input: "+n);Oe.apply(e,n[t])}return e}function B(n,e){var t=ke(n,e);return A(t)}function V(n,e){for(var t=0,r=n.length;t<r;++t){if(!0!==e(n[t],t))return!1}return!0}function N(n){var e=Se.call(n,0);return e.reverse(),e}function j(n,e){return D(n,function(n){return!k(e,n)})}function _(n){return[n]}function P(n,e){var t=String(e).toLowerCase();return R(n,function(n){return n.search(t)})}function H(n,e){return-1!==n.indexOf(e)}function z(e){return function(n){return H(n,e)}}function L(){return Fe.get()}function G(n,e){Ye(n,n.element(),e,{})}function U(n,e,t){Ye(n,n.element(),e,t)}function $(n){G(n,_e())}function W(n,e,t){Ye(n,e,t,{})}function X(t){var r,o=!1;return function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return o||(o=!0,r=t.apply(null,n)),r}}function q(n){return n.dom().nodeName.toLowerCase()}function Y(e){return function(n){return function(n){return n.dom().nodeType}(n)===e}}function K(n){var e=tt(n)?n.dom().parentNode:n.dom();return e!==undefined&&null!==e&&e.ownerDocument.body.contains(e)}function J(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e.length!==t.length)throw new Error('Wrong number of arguments to struct. Expected "['+e.length+']", got '+t.length+" arguments");var r={};return C(e,function(n,e){r[n]=v(t[e])}),r}}function Q(n){return n.slice(0).sort()}function Z(e,n){if(!ye(n))throw new Error("The "+e+" fields must be an array. Was: "+n+".");C(n,function(n){if(!he(n))throw new Error("The value "+n+" in the "+e+" fields was not a string.")})}function nn(o,i){var u=o.concat(i);if(0===u.length)throw new Error("You must specify at least one required or optional field.");return Z("required",o),Z("optional",i),function(n){var t=Q(n);R(t,function(n,e){return e<t.length-1&&n===t[e+1]}).each(function(n){throw new Error("The field: "+n+" occurs more than once in the combined fields: ["+t.join(", ")+"].")})}(u),function(e){var t=Bn(e);V(o,function(n){return k(t,n)})||function(n,e){throw new Error("All required keys ("+Q(n).join(", ")+") were not specified. Specified keys were: "+Q(e).join(", ")+".")}(o,t);var n=D(t,function(n){return!k(u,n)});0<n.length&&function(n){throw new Error("Unsupported keys for object: "+Q(n).join(", "))}(n);var r={};return C(o,function(n){r[n]=v(e[n])}),C(i,function(n){r[n]=v(Object.prototype.hasOwnProperty.call(e,n)?An.some(e[n]):An.none())}),r}}function en(n,e,t){return 0!=(n.compareDocumentPosition(e)&t)}function tn(n,e){var t=n.dom();if(t.nodeType!==ut)return!1;var r=t;if(r.matches!==undefined)return r.matches(e);if(r.msMatchesSelector!==undefined)return r.msMatchesSelector(e);if(r.webkitMatchesSelector!==undefined)return r.webkitMatchesSelector(e);if(r.mozMatchesSelector!==undefined)return r.mozMatchesSelector(e);throw new Error("Browser lacks native selectors")}function rn(n){return n.nodeType!==ut&&n.nodeType!==ct||0===n.childElementCount}function on(n,e){var t=e===undefined?d.document:e.dom();return rn(t)?[]:ke(t.querySelectorAll(n),Je.fromDom)}function un(n,e){var t=e===undefined?d.document:e.dom();return rn(t)?An.none():An.from(t.querySelector(n)).map(Je.fromDom)}function cn(n,e){return n.dom()===e.dom()}function an(n){return Je.fromDom(n.dom().ownerDocument)}function fn(n){return An.from(n.dom().parentNode).map(Je.fromDom)}function sn(n,e){var t=n.dom().childNodes;return An.from(t[e]).map(Je.fromDom)}function ln(e,t){fn(e).each(function(n){n.dom().insertBefore(t.dom(),e.dom())})}function dn(n,e){(function(n){return An.from(n.dom().nextSibling).map(Je.fromDom)})(n).fold(function(){fn(n).each(function(n){ft(n,e)})},function(n){ln(n,e)})}function mn(e,t){(function(n){return sn(n,0)})(e).fold(function(){ft(e,t)},function(n){e.dom().insertBefore(t.dom(),n.dom())})}function gn(e,n){C(n,function(n){ft(e,n)})}function pn(n){n.dom().textContent="",C(at(n),function(n){st(n)})}function hn(n,e){ft(n.element(),e.element())}function vn(e,n){var t=e.components();!function(n){C(n.components(),function(n){return st(n.element())}),pn(n.element()),n.syncComponents()}(e);var r=j(t,n);C(r,function(n){lt(n),e.getSystem().removeFromWorld(n)}),C(n,function(n){n.getSystem().isConnected()?hn(e,n):(e.getSystem().addToWorld(n),hn(e,n),K(e.element())&&dt(n)),e.syncComponents()})}function yn(e){var n=fn(e.element()).bind(function(n){return e.getSystem().getByDom(n).toOption()});!function(n){lt(n),st(n.element()),n.getSystem().removeFromWorld(n)}(e),n.each(function(n){n.syncComponents()})}function bn(u){return function(){for(var n=new Array(arguments.length),e=0;e<n.length;e++)n[e]=arguments[e];if(0===n.length)throw new Error("Can't merge zero objects");for(var t={},r=0;r<n.length;r++){var o=n[r];for(var i in o)bt.call(o,i)&&(t[i]=u(t[i],o[i]))}return t}}function xn(n){return St.defaultedThunk(v(n))}function wn(e){return function(n){return p(n,e)?An.from(n[e]):An.none()}}function Sn(n,e){return wn(e)(n)}function Tn(n,e){var t={};return t[n]=e,t}function On(n,e){return function(n,t){var r={};return Nn(n,function(n,e){k(t,e)||(r[e]=n)}),r}(n,e)}function kn(n,e){return function(e,t){return function(n){return p(n,e)?n[e]:t}}(n,e)}function En(n,e){return Tn(n,e)}function Cn(n){return function(n){var e={};return C(n,function(n){e[n.key]=n.value}),e}(n)}function Dn(n,e){var t=function(n){var e=[],t=[];return C(n,function(n){n.fold(function(n){e.push(n)},function(n){t.push(n)})}),{errors:e,values:t}}(n);return 0<t.errors.length?function(n){return vt.error(A(n))}(t.errors):function(n,e){return 0===n.length?vt.value(e):vt.value(xt(e,wt.apply(undefined,n)))}(t.values,e)}function Mn(n,e){return function(n,e){return p(n,e)&&n[e]!==undefined&&null!==n[e]}(n,e)}var In,Rn,Fn=function(t){function n(){return o}function e(n){return n(t)}var r=v(t),o={fold:function(n,e){return e(t)},is:function(n){return t===n},isSome:a,isNone:c,getOr:r,getOrThunk:r,getOrDie:r,getOrNull:r,getOrUndefined:r,or:n,orThunk:n,map:function(n){return Fn(n(t))},each:function(n){n(t)},bind:e,exists:e,forall:e,filter:function(n){return n(t)?o:f},toArray:function(){return[t]},toString:function(){return"some("+t+")"},equals:function(n){return n.is(t)},equals_:function(n,e){return n.fold(c,function(n){return e(t,n)})}};return o},An={some:Fn,none:n,from:function(n){return null===n||n===undefined?f:Fn(n)}},Bn=Object.keys,Vn=Object.hasOwnProperty,Nn=function(n,e){for(var t=Bn(n),r=0,o=t.length;r<o;r++){var i=t[r];e(n[i],i)}},jn=function(n,r){var o={};return Nn(n,function(n,e){var t=r(n,e);o[t.k]=t.v}),o},_n=function(n,t){var r=[];return Nn(n,function(n,e){r.push(t(n,e))}),r},Pn=v("touchstart"),Hn=v("touchmove"),zn=v("touchend"),Ln=v("mousedown"),Gn=v("mousemove"),Un=v("mouseup"),$n=v("mouseover"),Wn=v("keydown"),Xn=v("keyup"),qn=v("input"),Yn=v("change"),Kn=v("click"),Jn=v("transitionend"),Qn=v("selectstart"),Zn=function(n){function e(){return t}var t=n;return{get:e,set:function(n){t=n},clone:function(){return Zn(e())}}},ne=function(){return ee(0,0)},ee=function(n,e){return{major:n,minor:e}},te={nu:ee,detect:function(n,e){var t=String(e).toLowerCase();return 0===n.length?ne():h(n,t)},unknown:ne},re="Edge",oe="Chrome",ie="Opera",ue="Firefox",ce="Safari",ae=function(n){var e=n.current;return{current:e,version:n.version,isEdge:b(re,e),isChrome:b(oe,e),isIE:b("IE",e),isOpera:b(ie,e),isFirefox:b(ue,e),isSafari:b(ce,e)}},fe={unknown:function(){return ae({current:undefined,version:te.unknown()})},nu:ae,edge:v(re),chrome:v(oe),ie:v("IE"),opera:v(ie),firefox:v(ue),safari:v(ce)},se="Windows",le="Android",de="Solaris",me="FreeBSD",ge=function(n){var e=n.current;return{current:e,version:n.version,isWindows:T(se,e),isiOS:T("iOS",e),isAndroid:T(le,e),isOSX:T("OSX",e),isLinux:T("Linux",e),isSolaris:T(de,e),isFreeBSD:T(me,e)}},pe={unknown:function(){return ge({current:undefined,version:te.unknown()})},nu:ge,windows:v(se),ios:v("iOS"),android:v(le),linux:v("Linux"),osx:v("OSX"),solaris:v(de),freebsd:v(me)},he=O("string"),ve=O("object"),ye=O("array"),be=O("boolean"),xe=O("function"),we=O("number"),Se=Array.prototype.slice,Te=Array.prototype.indexOf,Oe=Array.prototype.push,ke=function(n,e){for(var t=n.length,r=new Array(t),o=0;o<t;o++){var i=n[o];r[o]=e(i,o)}return r},Ee=(xe(Array.from)&&Array.from,function(n,t){return P(n,t).map(function(n){var e=te.detect(n.versionRegexes,t);return{current:n.name,version:e}})}),Ce=function(n,t){return P(n,t).map(function(n){var e=te.detect(n.versionRegexes,t);return{current:n.name,version:e}})},De=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Me=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(n){return H(n,"edge/")&&H(n,"chrome")&&H(n,"safari")&&H(n,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,De],search:function(n){return H(n,"chrome")&&!H(n,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(n){return H(n,"msie")||H(n,"trident")}},{name:"Opera",versionRegexes:[De,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:z("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:z("firefox")},{name:"Safari",versionRegexes:[De,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(n){return(H(n,"safari")||H(n,"mobile/"))&&H(n,"applewebkit")}}],Ie=[{name:"Windows",search:z("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(n){return H(n,"iphone")||H(n,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:z("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:z("os x"),versionRegexes:[/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:z("linux"),versionRegexes:[]},{name:"Solaris",search:z("sunos"),versionRegexes:[]},{name:"FreeBSD",search:z("freebsd"),versionRegexes:[]}],Re={browsers:v(Me),oses:v(Ie)},Fe=Zn(function(n,e){var t=Re.browsers(),r=Re.oses(),o=Ee(t,n).fold(fe.unknown,fe.nu),i=Ce(r,n).fold(pe.unknown,pe.nu);return{browser:o,os:i,deviceType:function(n,e,t,r){var o=n.isiOS()&&!0===/ipad/i.test(t),i=n.isiOS()&&!o,u=n.isiOS()||n.isAndroid(),c=u||r("(pointer:coarse)"),a=o||!i&&u&&r("(min-device-width:768px)"),f=i||u&&!a,s=e.isSafari()&&n.isiOS()&&!1===/safari/i.test(t),l=!f&&!a&&!s;return{isiPad:v(o),isiPhone:v(i),isTablet:v(a),isPhone:v(f),isTouch:v(c),isAndroid:n.isAndroid,isiOS:n.isiOS,isWebView:v(s),isDesktop:v(l)}}(i,o,n,e)}}(d.navigator.userAgent,function(n){return d.window.matchMedia(n).matches})),Ae={tap:v("alloy.tap")},Be=v("alloy.focus"),Ve=v("alloy.blur.post"),Ne=v("alloy.paste.post"),je=v("alloy.receive"),_e=v("alloy.execute"),Pe=v("alloy.focus.item"),He=Ae.tap,ze=L().deviceType.isTouch()?Ae.tap:Kn,Le=v("alloy.longpress"),Ge=v("alloy.system.init"),Ue=v("alloy.system.attached"),$e=v("alloy.system.detached"),We=v("alloy.focusmanager.shifted"),Xe=v("alloy.highlight"),qe=v("alloy.dehighlight"),Ye=function(n,e,t,r){var o=x({target:e},r);n.getSystem().triggerEvent(t,e,S(o,v))},Ke=function(n){if(null===n||n===undefined)throw new Error("Node cannot be null or undefined");return{dom:v(n)}},Je={fromHtml:function(n,e){var t=(e||d.document).createElement("div");if(t.innerHTML=n,!t.hasChildNodes()||1<t.childNodes.length)throw d.console.error("HTML does not have a single root node",n),new Error("HTML must have a single root node");return Ke(t.childNodes[0])},fromTag:function(n,e){var t=(e||d.document).createElement(n);return Ke(t)},fromText:function(n,e){var t=(e||d.document).createTextNode(n);return Ke(t)},fromDom:Ke,fromPoint:function(n,e,t){var r=n.dom();return An.from(r.elementFromPoint(e,t)).map(Ke)}},Qe=(d.Node.ATTRIBUTE_NODE,d.Node.CDATA_SECTION_NODE,d.Node.COMMENT_NODE,d.Node.DOCUMENT_NODE),Ze=(d.Node.DOCUMENT_TYPE_NODE,d.Node.DOCUMENT_FRAGMENT_NODE,d.Node.ELEMENT_NODE),nt=d.Node.TEXT_NODE,et=(d.Node.PROCESSING_INSTRUCTION_NODE,d.Node.ENTITY_REFERENCE_NODE,d.Node.ENTITY_NODE,d.Node.NOTATION_NODE,"undefined"!=typeof d.window?d.window:Function("return this;")(),Y(Ze)),tt=Y(nt),rt=X(function(){return ot(Je.fromDom(d.document))}),ot=function(n){var e=n.dom().body;if(null===e||e===undefined)throw new Error("Body is not available yet");return Je.fromDom(e)},it=function(n,e){return en(n,e,d.Node.DOCUMENT_POSITION_CONTAINED_BY)},ut=Ze,ct=Qe,at=(L().browser.isIE(),function(n){return ke(n.dom().childNodes,Je.fromDom)}),ft=(J("element","offset"),function(n,e){n.dom().appendChild(e.dom())}),st=function(n){var e=n.dom();null!==e.parentNode&&e.parentNode.removeChild(e)},lt=function(n){G(n,$e());var e=n.components();C(e,lt)},dt=function(n){var e=n.components();C(e,dt),G(n,Ue())},mt=function(n,e,t){n.getSystem().addToWorld(e),t(n.element(),e.element()),K(n.element())&&dt(e),n.syncComponents()},gt=function(n,e,t){t(n,e.element());var r=at(e.element());C(r,function(n){e.getByDom(n).each(dt)})},pt=function(t){return{is:function(n){return t===n},isValue:a,isError:c,getOr:v(t),getOrThunk:v(t),getOrDie:v(t),or:function(n){return pt(t)},orThunk:function(n){return pt(t)},fold:function(n,e){return e(t)},map:function(n){return pt(n(t))},mapError:function(n){return pt(t)},each:function(n){n(t)},bind:function(n){return n(t)},exists:function(n){return n(t)},forall:function(n){return n(t)},toOption:function(){return An.some(t)}}},ht=function(t){return{is:c,isValue:c,isError:a,getOr:y,getOrThunk:function(n){return n()},getOrDie:function(){return o(String(t))()},or:function(n){return n},orThunk:function(n){return n()},fold:function(n,e){return n(t)},map:function(n){return ht(t)},mapError:function(n){return ht(n(t))},each:w,bind:function(n){return ht(t)},exists:c,forall:a,toOption:An.none}},vt={value:pt,error:ht,fromOption:function(n,e){return n.fold(function(){return ht(e)},pt)}},yt=function(u){if(!ye(u))throw new Error("cases must be an array");if(0===u.length)throw new Error("there must be at least one case");var c=[],t={};return C(u,function(n,r){var e=Bn(n);if(1!==e.length)throw new Error("one and only one name per case");var o=e[0],i=n[o];if(t[o]!==undefined)throw new Error("duplicate key detected:"+o);if("cata"===o)throw new Error("cannot have a case named cata (sorry)");if(!ye(i))throw new Error("case arguments must be an array");c.push(o),t[o]=function(){var n=arguments.length;if(n!==i.length)throw new Error("Wrong number of arguments to case "+o+". Expected "+i.length+" ("+i+"), got "+n);for(var t=new Array(n),e=0;e<t.length;e++)t[e]=arguments[e];return{fold:function(){if(arguments.length!==u.length)throw new Error("Wrong number of arguments to fold. Expected "+u.length+", got "+arguments.length);return arguments[r].apply(null,t)},match:function(n){var e=Bn(n);if(c.length!==e.length)throw new Error("Wrong number of arguments to match. Expected: "+c.join(",")+"\nActual: "+e.join(","));if(!V(c,function(n){return k(e,n)}))throw new Error("Not all branches were specified when using match. Specified: "+e.join(", ")+"\nRequired: "+c.join(", "));return n[o].apply(null,t)},log:function(n){d.console.log(n,{constructors:c,constructor:o,params:t})}}}}),t},bt=Object.prototype.hasOwnProperty,xt=bn(function(n,e){return ve(n)&&ve(e)?xt(n,e):e}),wt=bn(function(n,e){return e}),St=yt([{strict:[]},{defaultedThunk:["fallbackThunk"]},{asOption:[]},{asDefaultedOptionThunk:["fallbackThunk"]},{mergeWithThunk:["baseThunk"]}]),Tt=St.strict,Ot=St.asOption,kt=St.defaultedThunk,Et=St.mergeWithThunk,Ct=(yt([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]),function(n){return wn(n)}),Dt=function(n,e){return Sn(n,e)};(Rn=In=In||{})[Rn.Error=0]="Error",Rn[Rn.Value=1]="Value";function Mt(n,e,t){return n.stype===In.Error?e(n.serror):t(n.svalue)}function It(n){return{stype:In.Value,svalue:n}}function Rt(n){return{stype:In.Error,serror:n}}function Ft(n){return i(gr,A)(n)}function At(n){return ve(n)&&100<Bn(n).length?" removed due to size":JSON.stringify(n,null,2)}function Bt(n,e){return gr([{path:n,getErrorInfo:e}])}function Vt(n,e,t){return Sn(e,t).fold(function(){return function(n,e,t){return Bt(n,function(){return'Could not find valid *strict* value for "'+e+'" in '+At(t)})}(n,t,e)},dr)}function Nt(n,e,t){var r=Sn(n,e).fold(function(){return t(n)},y);return dr(r)}function jt(u,c,n,a){return n.fold(function(r,t,n,o){function i(n){var e=o.extract(u.concat([r]),a,n);return vr(e,function(n){return Tn(t,a(n))})}function e(n){return n.fold(function(){var n=Tn(t,a(An.none()));return dr(n)},function(n){var e=o.extract(u.concat([r]),a,n);return vr(e,function(n){return Tn(t,a(An.some(n)))})})}return n.fold(function(){return pr(Vt(u,c,r),i)},function(n){return pr(Nt(c,r,n),i)},function(){return pr(function(n,e){return dr(Sn(n,e))}(c,r),e)},function(n){return pr(function(e,n,t){var r=Sn(e,n).map(function(n){return!0===n?t(e):n});return dr(r)}(c,r,n),e)},function(n){var e=n(c),t=vr(Nt(c,r,v({})),function(n){return xt(e,n)});return pr(t,i)})},function(n,e){var t=e(c);return dr(Tn(n,a(t)))})}function _t(r){return{extract:function(e,n,t){return hr(r(t,n),function(n){return function(n,e){return Bt(n,function(){return e})}(e,n)})},toString:function(){return"val"},toDsl:function(){return wr.itemOf(r)}}}function Pt(n){var i=Or(n),u=M(n,function(e,n){return n.fold(function(n){return xt(e,En(n,!0))},v(e))},{});return{extract:function(n,e,t){var r=be(t)?[]:function(e){var n=Bn(e);return D(n,function(n){return Mn(e,n)})}(t),o=D(r,function(n){return!Mn(u,n)});return 0===o.length?i.extract(n,e,t):function(n,e){return Bt(n,function(){return"There are unsupported fields: ["+e.join(", ")+"] specified"})}(n,o)},toString:i.toString,toDsl:i.toDsl}}function Ht(t,i){function u(n,e){return function(o){return{extract:function(t,r,n){var e=ke(n,function(n,e){return o.extract(t.concat(["["+e+"]"]),r,n)});return xr(e)},toString:function(){return"array("+o.toString()+")"},toDsl:function(){return wr.arrOf(o)}}}(_t(t)).extract(n,y,e)}return{extract:function(t,r,o){var n=Bn(o),e=u(t,n);return pr(e,function(n){var e=ke(n,function(n){return Tr.field(n,n,Tt(),i)});return Or(e).extract(t,r,o)})},toString:function(){return"setOf("+i.toString()+")"},toDsl:function(){return wr.setOf(t,i)}}}function zt(e,t,r,n,o){return Dt(n,o).fold(function(){return function(n,e,t){return Bt(n,function(){return'The chosen schema: "'+t+'" did not exist in branches: '+At(e)})}(e,n,o)},function(n){return n.extract(e.concat(["branch: "+o]),t,r)})}function Lt(n,o){return{extract:function(e,t,r){return Dt(r,n).fold(function(){return function(n,e){return Bt(n,function(){return'Choice schema did not contain choice key: "'+e+'"'})}(e,n)},function(n){return zt(e,t,r,o,n)})},toString:function(){return"chooseOn("+n+"). Possible values: "+Bn(o)},toDsl:function(){return wr.choiceOf(n,o)}}}function Gt(e){return _t(function(n){return e(n).fold(gr,dr)})}function Ut(e,n){return Ht(function(n){return sr(e(n))},n)}function $t(n,e,t){return lr(function(n,e,t,r){var o=e.extract([n],t,r);return yr(o,function(n){return{input:r,errors:n}})}(n,e,y,t))}function Wt(n){return n.fold(function(n){throw new Error(Mr(n))},y)}function Xt(n,e,t){return Wt($t(n,e,t))}function qt(n,e){return Lt(n,S(e,Or))}function Yt(n){return Cr(n,n,Tt(),kr())}function Kt(n,e){return Cr(n,n,Tt(),e)}function Jt(n,e){return Cr(n,n,Tt(),Or(e))}function Qt(n){return Cr(n,n,Ot(),kr())}function Zt(n,e){return Cr(n,n,Ot(),e)}function nr(n,e){return Zt(n,Or(e))}function er(n,e){return Zt(n,Pt(e))}function tr(n,e){return Cr(n,n,xn(e),kr())}function rr(n,e,t){return Cr(n,n,xn(e),t)}function or(n,e){return Er(n,e)}function ir(n,e){return cn(n.element(),e.event().target())}function ur(n){if(!Mn(n,"can")&&!Mn(n,"abort")&&!Mn(n,"run"))throw new Error("EventHandler defined by: "+JSON.stringify(n,null,2)+" does not have can, abort, or run!");return Xt("Extracting event.handler",Pt([tr("can",v(!0)),tr("abort",v(!1)),tr("run",w)]),n)}function cr(t){var n=function(e,r){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return I(e,function(n,e){return n&&r(e).apply(undefined,t)},!0)}}(t,function(n){return n.can}),e=function(e,r){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return I(e,function(n,e){return n||r(e).apply(undefined,t)},!1)}}(t,function(n){return n.abort});return ur({can:n,abort:e,run:function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];C(t,function(n){n.run.apply(undefined,e)})}})}var ar,fr,sr=function(n){return n.fold(Rt,It)},lr=function(n){return Mt(n,vt.error,vt.value)},dr=It,mr=function(n){var e=[],t=[];return C(n,function(n){Mt(n,function(n){return t.push(n)},function(n){return e.push(n)})}),{values:e,errors:t}},gr=Rt,pr=function(n,e){return n.stype===In.Value?e(n.svalue):n},hr=function(n,e){return n.stype===In.Error?e(n.serror):n},vr=function(n,e){return n.stype===In.Value?{stype:In.Value,svalue:e(n.svalue)}:n},yr=function(n,e){return n.stype===In.Error?{stype:In.Error,serror:e(n.serror)}:n},br=function(n,e){var t=mr(n);return 0<t.errors.length?Ft(t.errors):function(n,e){return 0<n.length?dr(xt(e,wt.apply(undefined,n))):dr(e)}(t.values,e)},xr=function(n){var e=mr(n);return 0<e.errors.length?Ft(e.errors):dr(e.values)},wr=yt([{setOf:["validator","valueType"]},{arrOf:["valueType"]},{objOf:["fields"]},{itemOf:["validator"]},{choiceOf:["key","branches"]},{thunk:["description"]},{func:["args","outputSchema"]}]),Sr=yt([{field:["name","presence","type"]},{state:["name"]}]),Tr=yt([{field:["key","okey","presence","prop"]},{state:["okey","instantiator"]}]),Or=function(r){return{extract:function(n,e,t){return function(e,t,n,r){var o=ke(n,function(n){return jt(e,t,n,r)});return br(o,{})}(n,t,r,e)},toString:function(){return"obj{\n"+ke(r,function(n){return n.fold(function(n,e,t,r){return n+" -> "+r.toString()},function(n,e){return"state("+n+")"})}).join("\n")+"}"},toDsl:function(){return wr.objOf(ke(r,function(n){return n.fold(function(n,e,t,r){return Sr.field(n,t,r)},function(n,e){return Sr.state(n)})}))}}},kr=v(_t(dr)),Er=Tr.state,Cr=Tr.field,Dr=_t(dr),Mr=function(n){return"Errors: \n"+function(n){var e=10<n.length?n.slice(0,10).concat([{path:[],getErrorInfo:function(){return"... (only showing first ten failures)"}}]):n;return ke(e,function(n){return"Failed path: ("+n.path.join(" > ")+")\n"+n.getErrorInfo()})}(n.errors)+"\n\nInput object: "+At(n.input)},Ir=v(Dr),Rr=(ar=xe,fr="function",_t(function(n){var e=typeof n;return ar(n)?dr(n):gr("Expected type: "+fr+" but got: "+e)}));function Fr(n,e,t,r,o){return n(t,r)?An.some(t):xe(o)&&o(t)?An.none():e(t,r,o)}function Ar(n,e,t){for(var r=n.dom(),o=xe(t)?t:v(!1);r.parentNode;){r=r.parentNode;var i=Je.fromDom(r);if(e(i))return An.some(i);if(o(i))break}return An.none()}function Br(n,e,t){return Fr(function(n,e){return e(n)},Ar,n,e,t)}function Vr(n,o){var i=function(n){for(var e=0;e<n.childNodes.length;e++){var t=Je.fromDom(n.childNodes[e]);if(o(t))return An.some(t);var r=i(n.childNodes[e]);if(r.isSome())return r}return An.none()};return i(n.dom())}function Nr(n){return Cn(n)}function jr(n,e){return{key:n,value:ur({abort:e})}}function _r(n,e){return{key:n,value:ur({run:e})}}function Pr(n,e,t){return{key:n,value:ur({run:function(n){e.apply(undefined,[n].concat(t))}})}}function Hr(n){return function(t){return{key:n,value:ur({run:function(n,e){ir(n,e)&&t(n,e)}})}}}function zr(n,e,t){return function(t,r){return _r(t,function(n,e){n.getSystem().getByUid(r).each(function(n){!function(n,e,t,r){n.getSystem().triggerEvent(t,e,r.event())}(n,n.element(),t,e)})})}(n,e.partUids[t])}function Lr(n){return _r(n,function(n,e){e.cut()})}function Gr(n,e){var t=n.toString(),r=t.indexOf(")")+1,o=t.indexOf("("),i=t.substring(o+1,r-1).split(/,\s*/);return n.toFunctionAnnotation=function(){return{name:e,parameters:Io(i)}},n}function Ur(n){return{classes:n.classes!==undefined?n.classes:[],attributes:n.attributes!==undefined?n.attributes:{},styles:n.styles!==undefined?n.styles:{}}}function $r(t,r,o){return Do(function(n,e){o(n,t,r)})}function Wr(o,i,u){return function(n,e,t){var r=t.toString(),o=r.indexOf(")")+1,i=r.indexOf("("),u=r.substring(i+1,o-1).split(/,\s*/);return n.toFunctionAnnotation=function(){return{name:e,parameters:Io(u.slice(0,1).concat(u.slice(3)))}},n}(function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];var r=[t].concat(n);return t.config({name:v(o)}).fold(function(){throw new Error("We could not find any behaviour configuration for: "+o+". Using API: "+u)},function(n){var e=Array.prototype.slice.call(r,1);return i.apply(undefined,[t,n.config,n.state].concat(e))})},u,i)}function Xr(n){return{key:n,value:undefined}}function qr(n){var e=Xt("Creating behaviour: "+n.name,Vo,n);return function(n,e,t,r,o,i){var u=Pt(n),c=nr(e,[er("config",n)]);return Ro(u,c,e,t,r,o,i)}(e.fields,e.name,e.active,e.apis,e.extra,e.state)}function Yr(n,e,t){if(!(he(t)||be(t)||we(t)))throw d.console.error("Invalid call to Attr.set. Key ",e,":: Value ",t,":: Element ",n),new Error("Attribute value was not simple");n.setAttribute(e,t+"")}function Kr(n,e,t){Yr(n.dom(),e,t)}function Jr(n,e){var t=n.dom();Nn(e,function(n,e){Yr(t,e,n)})}function Qr(n,e){var t=n.dom().getAttribute(e);return null===t?undefined:t}function Zr(n,e){var t=n.dom();return!(!t||!t.hasAttribute)&&t.hasAttribute(e)}function no(n,e){n.dom().removeAttribute(e)}function eo(n,e){var t=Qr(n,e);return t===undefined||""===t?[]:t.split(" ")}function to(n){return n.dom().classList!==undefined}function ro(n,e){return function(n,e,t){var r=eo(n,e).concat([t]);return Kr(n,e,r.join(" ")),!0}(n,"class",e)}function oo(n,e){return function(n,e,t){var r=D(eo(n,e),function(n){return n!==t});return 0<r.length?Kr(n,e,r.join(" ")):no(n,e),!1}(n,"class",e)}function io(n,e){to(n)?n.dom().classList.add(e):ro(n,e)}function uo(n){0===(to(n)?n.dom().classList:function(n){return eo(n,"class")}(n)).length&&no(n,"class")}function co(n,e){to(n)?n.dom().classList.remove(e):oo(n,e),uo(n)}function ao(n,e){return to(n)&&n.dom().classList.contains(e)}function fo(n,e,t){co(n,t),io(n,e)}function so(n){n.dom().focus()}function lo(n){n.dom().blur()}function mo(n){var e=n!==undefined?n.dom():d.document;return An.from(e.activeElement).map(Je.fromDom)}function go(e){return mo(an(e)).filter(function(n){return e.dom().contains(n.dom())})}function po(n){return n.dom().innerHTML}function ho(n,e){var t=an(n).dom(),r=Je.fromDom(t.createDocumentFragment()),o=function(n,e){var t=(e||d.document).createElement("div");return t.innerHTML=n,at(Je.fromDom(t))}(e,t);gn(r,o),pn(n),ft(n,r)}function vo(n){return function(n,e){return Je.fromDom(n.dom().cloneNode(e))}(n,!1)}function yo(n){return function(n){var e=Je.fromTag("div"),t=Je.fromDom(n.dom().cloneNode(!0));return ft(e,t),po(e)}(vo(n))}function bo(n){return yo(n)}function xo(n){for(var e=[],t=function(n){e.push(n)},r=0;r<n.length;r++)n[r].each(t);return e}function wo(n,e){for(var t=0;t<n.length;t++){var r=e(n[t],t);if(r.isSome())return r}return An.none()}var So,To,Oo,ko=function(n,e,t){return Br(n,function(n){return e(n).isSome()},t).bind(e)},Eo=Hr(Ue()),Co=Hr($e()),Do=Hr(Ge()),Mo=(So=_e(),function(n){return _r(So,n)}),Io=function(n){return ke(n,function(n){return function(n,e){return function(n,e,t){return""===e||!(n.length<e.length)&&n.substr(t,t+e.length)===e}(n,e,n.length-e.length)}(n,"/*")?n.substring(0,n.length-"/*".length):n})},Ro=function(t,n,r,o,e,i,u){function c(n){return Mn(n,r)?n[r]():An.none()}var a=S(e,function(n,e){return Wr(r,n,e)}),f=S(i,function(n,e){return Gr(n,e)}),s=x(x(x({},f),a),{revoke:l(Xr,r),config:function(n){var e=Xt(r+"-config",t,n);return{key:r,value:{config:e,me:s,configAsRaw:X(function(){return Xt(r+"-config",t,n)}),initialConfig:n,state:u}}},schema:function(){return n},exhibit:function(n,t){return c(n).bind(function(e){return Dt(o,"exhibit").map(function(n){return n(t,e.config,e.state)})}).getOr(Ur({}))},name:function(){return r},handlers:function(n){return c(n).map(function(n){return kn("events",function(n,e){return{}})(o)(n.config,n.state)}).getOr({})}});return s},Fo={init:function(){return Ao({readState:function(){return"No State required"}})}},Ao=function(n){return n},Bo=function(n){return Cn(n)},Vo=Pt([Yt("fields"),Yt("name"),tr("active",{}),tr("apis",{}),tr("state",Fo),tr("extra",{})]),No=Pt([Yt("branchKey"),Yt("branches"),Yt("name"),tr("active",{}),tr("apis",{}),tr("state",Fo),tr("extra",{})]),jo=v(undefined),_o=/* */Object.freeze({toAlpha:function(n,e,t){fo(n.element(),e.alpha,e.omega)},toOmega:function(n,e,t){fo(n.element(),e.omega,e.alpha)},isAlpha:function(n,e,t){return ao(n.element(),e.alpha)},isOmega:function(n,e,t){return ao(n.element(),e.omega)},clear:function(n,e,t){co(n.element(),e.alpha),co(n.element(),e.omega)}}),Po=[Yt("alpha"),Yt("omega")],Ho=qr({fields:Po,name:"swapping",apis:_o}),zo=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),Lo=tinymce.util.Tools.resolve("tinymce.ThemeManager"),Go=function(n){var e=d.document.createElement("a");e.target="_blank",e.href=n.href,e.rel="noreferrer noopener";var t=d.document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,d.window,0,0,0,0,0,!1,!1,!1,!1,0,null),d.document.body.appendChild(e),e.dispatchEvent(t),d.document.body.removeChild(e)},Uo={formatChanged:v("formatChanged"),orientationChanged:v("orientationChanged"),dropupDismissed:v("dropupDismissed")},$o=/* */Object.freeze({events:function(e){return Nr([_r(je(),function(o,i){var u=e.channels,n=function(n,e){return e.universal()?n:D(n,function(n){return k(e.channels(),n)})}(Bn(u),i);C(n,function(n){var e=u[n],t=e.schema,r=Xt("channel["+n+"] data\nReceiver: "+bo(o.element()),t,i.data());e.onReceive(o,r)})})])}}),Wo="unknown";(Oo=To=To||{})[Oo.STOP=0]="STOP",Oo[Oo.NORMAL=1]="NORMAL",Oo[Oo.LOGGING=2]="LOGGING";function Xo(e,n,t){switch(Dt(vi.get(),e).orThunk(function(){var n=Bn(vi.get());return wo(n,function(n){return-1<e.indexOf(n)?An.some(vi.get()[n]):An.none()})}).getOr(To.NORMAL)){case To.NORMAL:return t(bi());case To.LOGGING:var r=function(e,t){var r=[],o=(new Date).getTime();return{logEventCut:function(n,e,t){r.push({outcome:"cut",target:e,purpose:t})},logEventStopped:function(n,e,t){r.push({outcome:"stopped",target:e,purpose:t})},logNoParent:function(n,e,t){r.push({outcome:"no-parent",target:e,purpose:t})},logEventNoHandlers:function(n,e){r.push({outcome:"no-handlers-left",target:e})},logEventResponse:function(n,e,t){r.push({outcome:"response",purpose:t,target:e})},write:function(){var n=(new Date).getTime();k(["mousemove","mouseover","mouseout",Ge()],e)||d.console.log(e,{event:e,time:n-o,target:t.dom(),sequence:ke(r,function(n){return k(["cut","stopped","response"],n.outcome)?"{"+n.purpose+"} "+n.outcome+" at ("+bo(n.target)+")":n.outcome})})}}}(e,n),o=t(r);return r.write(),o;case To.STOP:return!0}}function qo(n,e,t){return Xo(n,e,t)}function Yo(n,e,t){return function(){var n=new Error;if(n.stack===undefined)return;var e=n.stack.split("\n");R(e,function(e){return 0<e.indexOf("alloy")&&!E(yi,function(n){return-1<e.indexOf(n)})}).getOr(Wo)}(),Cr(e,e,t,Gt(function(t){return vt.value(function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];return t.apply(undefined,n)})}))}function Ko(n){return Yo(0,n,xn(w))}function Jo(n){return Yo(0,n,xn(An.none))}function Qo(n){return Yo(0,n,Tt())}function Zo(n){return Yo(0,n,Tt())}function ni(n,e){return or(n,v(e))}function ei(n){return or(n,y)}function ti(n,e,t){var r=e.aria;r.update(n,r,t.get())}function ri(e,n,t){n.toggleClass.each(function(n){t.get()?io(e.element(),n):co(e.element(),n)})}function oi(n,e,t){Ci(n,e,t,!t.get())}function ii(n,e,t){t.set(!0),ri(n,e,t),ti(n,e,t)}function ui(n,e,t){t.set(!1),ri(n,e,t),ti(n,e,t)}function ci(n,e,t){Ci(n,e,t,e.selected)}function ai(n,e){e.ignore||(so(n.element()),e.onFocus(n))}function fi(n){return n.style!==undefined&&xe(n.style.getPropertyValue)}function si(n,e,t){if(!he(t))throw d.console.error("Invalid call to CSS.set. Property ",e,":: Value ",t,":: Element ",n),new Error("CSS value must be a string: "+t);fi(n)&&n.style.setProperty(e,t)}function li(n,e){var t=n.dom();Nn(e,function(n,e){si(t,e,n)})}function di(n,e){var t=n.dom(),r=d.window.getComputedStyle(t).getPropertyValue(e),o=""!==r||K(n)?r:Gi(t,e);return null===o?undefined:o}function mi(n,e){var t=n.dom(),r=Gi(t,e);return An.from(r).filter(function(n){return 0<n.length})}function gi(n,e){!function(n,e){fi(n)&&n.style.removeProperty(e)}(n.dom(),e),Zr(n,"style")&&""===function(n){return n.replace(/^\s+|\s+$/g,"")}(Qr(n,"style"))&&no(n,"style")}function pi(n){return n.dom().offsetWidth}var hi,vi=Zn({}),yi=["alloy/data/Fields","alloy/debugging/Debugging"],bi=v({logEventCut:w,logEventStopped:w,logNoParent:w,logEventNoHandlers:w,logEventResponse:w,write:w}),xi=v([Yt("menu"),Yt("selectedMenu")]),wi=v([Yt("item"),Yt("selectedItem")]),Si=(v(Or(wi().concat(xi()))),v(Or(wi()))),Ti=Jt("initSize",[Yt("numColumns"),Yt("numRows")]),Oi=v(Ti),ki=[Kt("channels",Ut(vt.value,Pt([Qo("onReceive"),tr("schema",Ir())])))],Ei=qr({fields:ki,name:"receiving",active:$o}),Ci=function(n,e,t,r){(r?ii:ui)(n,e,t)},Di=/* */Object.freeze({onLoad:ci,toggle:oi,isOn:function(n,e,t){return t.get()},on:ii,off:ui,set:Ci}),Mi=/* */Object.freeze({exhibit:function(n,e,t){return Ur({})},events:function(n,e){var t=function(e,t,r){return Mo(function(n){r(n,e,t)})}(n,e,oi),r=$r(n,e,ci);return Nr(A([n.toggleOnExecute?[t]:[],[r]]))}}),Ii=function(n,e,t){Kr(n.element(),"aria-expanded",t)},Ri=[tr("selected",!1),Qt("toggleClass"),tr("toggleOnExecute",!0),rr("aria",{mode:"none"},qt("mode",{pressed:[tr("syncWithExpanded",!1),ni("update",function(n,e,t){Kr(n.element(),"aria-pressed",t),e.syncWithExpanded&&Ii(n,e,t)})],checked:[ni("update",function(n,e,t){Kr(n.element(),"aria-checked",t)})],expanded:[ni("update",Ii)],selected:[ni("update",function(n,e,t){Kr(n.element(),"aria-selected",t)})],none:[ni("update",w)]}))],Fi=qr({fields:Ri,name:"toggling",active:Mi,apis:Di,state:(hi=!1,{init:function(){var e=Zn(hi);return{get:function(){return e.get()},set:function(n){return e.set(n)},clear:function(){return e.set(hi)},readState:function(){return e.get()}}}})}),Ai=function(t,r){return Ei.config({channels:En(Uo.formatChanged(),{onReceive:function(n,e){e.command===t&&r(n,e.state)}})})},Bi=function(n){return Ei.config({channels:En(Uo.orientationChanged(),{onReceive:n})})},Vi=function(n,e){return{key:n,value:{onReceive:e}}},Ni="tinymce-mobile",ji={resolve:function(n){return Ni+"-"+n},prefix:v(Ni)},_i=/* */Object.freeze({focus:ai,blur:function(n,e){e.ignore||lo(n.element())},isFocused:function(n){return function(n){var e=an(n).dom();return n.dom()===e.activeElement}(n.element())}}),Pi=/* */Object.freeze({exhibit:function(n,e){var t=e.ignore?{}:{attributes:{tabindex:"-1"}};return Ur(t)},events:function(t){return Nr([_r(Be(),function(n,e){ai(n,t),e.stop()})].concat(t.stopMousedown?[_r(Ln(),function(n,e){e.event().prevent()})]:[]))}}),Hi=[Ko("onFocus"),tr("stopMousedown",!1),tr("ignore",!1)],zi=qr({fields:Hi,name:"focusing",active:Pi,apis:_i}),Li=function(n,e,t){var r=n.dom();si(r,e,t)},Gi=function(n,e){return fi(n)?n.style.getPropertyValue(e):""};function Ui(r,o){function n(n){var e=o(n);if(e<=0||null===e){var t=di(n,r);return parseFloat(t)||0}return e}function i(o,n){return I(n,function(n,e){var t=di(o,e),r=t===undefined?0:parseInt(t,10);return isNaN(r)?n:n+r},0)}return{set:function(n,e){if(!we(e)&&!e.match(/^[0-9]+$/))throw new Error(r+".set accepts only positive integer values. Value was "+e);var t=n.dom();fi(t)&&(t.style[r]=e+"px")},get:n,getOuter:n,aggregate:i,max:function(n,e,t){var r=i(n,t);return r<e?e-r:0}}}function $i(n){return vu.get(n)}function Wi(n,e,t){return D(function(n,e){for(var t=xe(e)?e:c,r=n.dom(),o=[];null!==r.parentNode&&r.parentNode!==undefined;){var i=r.parentNode,u=Je.fromDom(i);if(o.push(u),!0===t(u))break;r=i}return o}(n,t),e)}function Xi(n,e){return D(function(e){return fn(e).map(at).map(function(n){return D(n,function(n){return!cn(e,n)})}).getOr([])}(n),e)}function qi(n,e){return on(e,n)}function Yi(n){return un(n)}function Ki(n,e,t){return Ar(n,function(n){return tn(n,e)},t)}function Ji(n,e){return un(e,n)}function Qi(n,e,t){return Fr(tn,Ki,n,e,t)}function Zi(n,e,t){var r=N(n.slice(0,e)),o=N(n.slice(e+1));return R(r.concat(o),t)}function nu(n,e,t){var r=N(n.slice(0,e));return R(r,t)}function eu(n,e,t){var r=n.slice(0,e),o=n.slice(e+1);return R(o.concat(r),t)}function tu(n,e,t){var r=n.slice(e+1);return R(r,t)}function ru(t){return function(n){var e=n.raw();return k(t,e.which)}}function ou(n){return function(e){return V(n,function(n){return n(e)})}}function iu(n){return!0===n.raw().shiftKey}function uu(n){return!0===n.raw().ctrlKey}function cu(n,e){return{matches:n,classification:e}}function au(n,e,t,r){var o=n+e;return r<o?t:o<t?r:o}function fu(n,e,t){return n<=e?e:t<=n?t:n}function su(t,r,n,o){var e=qi(t.element(),"."+r.highlightClass);C(e,function(e){E(o,function(n){return n.element()===e})||(co(e,r.highlightClass),t.getSystem().getByDom(e).each(function(n){r.onDehighlight(t,n),G(n,qe())}))})}function lu(n,e,t,r){su(n,e,0,[r]),bu(n,e,t,r)||(io(r.element(),e.highlightClass),e.onHighlight(n,r),G(r,Xe()))}function du(t,e,n,r){var o=qi(t.element(),"."+e.itemClass);return F(o,function(n){return ao(n,e.highlightClass)}).bind(function(n){var e=au(n,r,0,o.length-1);return t.getSystem().getByDom(o[e]).toOption()})}function mu(n,e,t){e.exists(function(e){return t.exists(function(n){return cn(n,e)})})||U(n,We(),{prevFocus:e,newFocus:t})}function gu(){function o(n){return go(n.element())}return{get:o,set:function(n,e){var t=o(n);n.getSystem().triggerFocus(e,n.element());var r=o(n);mu(n,t,r)}}}var pu,hu,vu=Ui("height",function(n){var e=n.dom();return K(n)?e.getBoundingClientRect().height:e.offsetHeight}),yu=m(iu),bu=function(n,e,t,r){return ao(r.element(),e.highlightClass)},xu=function(n,e,t,r){var o=qi(n.element(),"."+e.itemClass);return An.from(o[r]).fold(function(){return vt.error("No element found with index "+r)},n.getSystem().getByDom)},wu=function(e,n,t){return Ji(e.element(),"."+n.itemClass).bind(function(n){return e.getSystem().getByDom(n).toOption()})},Su=function(e,n,t){var r=qi(e.element(),"."+n.itemClass);return(0<r.length?An.some(r[r.length-1]):An.none()).bind(function(n){return e.getSystem().getByDom(n).toOption()})},Tu=function(e,n,t){var r=qi(e.element(),"."+n.itemClass);return xo(ke(r,function(n){return e.getSystem().getByDom(n).toOption()}))},Ou=/* */Object.freeze({dehighlightAll:function(n,e,t){return su(n,e,0,[])},dehighlight:function(n,e,t,r){bu(n,e,t,r)&&(co(r.element(),e.highlightClass),e.onDehighlight(n,r),G(r,qe()))},highlight:lu,highlightFirst:function(e,t,r){wu(e,t).each(function(n){lu(e,t,r,n)})},highlightLast:function(e,t,r){Su(e,t).each(function(n){lu(e,t,r,n)})},highlightAt:function(e,t,r,n){xu(e,t,r,n).fold(function(n){throw new Error(n)},function(n){lu(e,t,r,n)})},highlightBy:function(e,t,r,n){var o=Tu(e,t);R(o,n).each(function(n){lu(e,t,r,n)})},isHighlighted:bu,getHighlighted:function(e,n,t){return Ji(e.element(),"."+n.highlightClass).bind(function(n){return e.getSystem().getByDom(n).toOption()})},getFirst:wu,getLast:Su,getPrevious:function(n,e,t){return du(n,e,0,-1)},getNext:function(n,e,t){return du(n,e,0,1)},getCandidates:Tu}),ku=[Yt("highlightClass"),Yt("itemClass"),Ko("onHighlight"),Ko("onDehighlight")],Eu=qr({fields:ku,name:"highlighting",apis:Ou});(hu=pu=pu||{}).OnFocusMode="onFocus",hu.OnEnterOrSpaceMode="onEnterOrSpace",hu.OnApiMode="onApi";function Cu(n,e,t,i,u){function c(e,t,n,r,o){return function(n,e){return R(n,function(n){return n.matches(e)}).map(function(n){return n.classification})}(n(e,t,r,o),t.event()).bind(function(n){return n(e,t,r,o)})}var r={schema:function(){return n.concat([tr("focusManager",gu()),rr("focusInside","onFocus",Gt(function(n){return k(["onFocus","onEnterOrSpace","onApi"],n)?vt.value(n):vt.error("Invalid value for focusInside")})),ni("handler",r),ni("state",e),ni("sendFocusIn",u)])},processKey:c,toEvents:function(r,o){var n=r.focusInside!==pu.OnFocusMode?An.none():u(r).map(function(t){return _r(Be(),function(n,e){t(n,r,o),e.stop()})});return Nr(n.toArray().concat([_r(Wn(),function(n,e){c(n,e,t,r,o).fold(function(){!function(e,t){var n=ru([32].concat([13]))(t.event());r.focusInside===pu.OnEnterOrSpaceMode&&n&&ir(e,t)&&u(r).each(function(n){n(e,r,o),t.stop()})}(n,e)},function(n){e.stop()})}),_r(Xn(),function(n,e){c(n,e,i,r,o).each(function(n){e.stop()})})]))}};return r}function Du(n){function i(n,e){var t=n.visibilitySelector.bind(function(n){return Qi(e,n)}).getOr(e);return 0<$i(t)}function e(e,t){(function(n,e){var t=qi(n.element(),e.selector),r=D(t,function(n){return i(e,n)});return An.from(r[e.firstTabstop])})(e,t).each(function(n){t.focusManager.set(e,n)})}function u(e,n,t,r,o){return o(n,t,function(n){return function(n,e){return i(n,e)&&n.useTabstopAt(e)}(r,n)}).fold(function(){return r.cyclic?An.some(!0):An.none()},function(n){return r.focusManager.set(e,n),An.some(!0)})}function c(e,n,t,r){var o=qi(e.element(),t.selector);return function(n,e){return e.focusManager.get(n).bind(function(n){return Qi(n,e.selector)})}(e,t).bind(function(n){return F(o,l(cn,n)).bind(function(n){return u(e,o,n,t,r)})})}var t=[Qt("onEscape"),Qt("onEnter"),tr("selector",'[data-alloy-tabstop="true"]:not(:disabled)'),tr("firstTabstop",0),tr("useTabstopAt",v(!0)),Qt("visibilitySelector")].concat([n]),r=v([cu(ou([iu,ru([9])]),function(n,e,t,r){var o=t.cyclic?Zi:nu;return c(n,0,t,o)}),cu(ru([9]),function(n,e,t,r){var o=t.cyclic?eu:tu;return c(n,0,t,o)}),cu(ru([27]),function(e,t,n,r){return n.onEscape.bind(function(n){return n(e,t)})}),cu(ou([yu,ru([13])]),function(e,t,n,r){return n.onEnter.bind(function(n){return n(e,t)})})]),o=v([]);return Cu(t,Fo.init,r,o,function(){return An.some(e)})}function Mu(n){return"input"===q(n)&&"radio"!==Qr(n,"type")||"textarea"===q(n)}function Iu(n,e,t){return Mu(t)&&ru([32])(e.event())?An.none():function(n,e,t){return W(n,t,_e()),An.some(!0)}(n,0,t)}function Ru(n,e){return An.some(!0)}function Fu(n,e,t){return t.execute(n,e,n.element())}function Au(n){var t=Zn(An.none());return Ao({readState:function(){return t.get().map(function(n){return{numRows:n.numRows(),numColumns:n.numColumns()}}).getOr({numRows:"?",numColumns:"?"})},setGridSize:function(n,e){t.set(An.some({numRows:v(n),numColumns:v(e)}))},getNumRows:function(){return t.get().map(function(n){return n.numRows()})},getNumColumns:function(){return t.get().map(function(n){return n.numColumns()})}})}function Bu(e,t){return function(n){return"rtl"===qc(n)?t:e}}function Vu(i){return function(n,e,t,r){var o=i(n.element());return Yc(o,n,e,t,r)}}function Nu(n,e){var t=Bu(n,e);return Vu(t)}function ju(n,e){var t=Bu(e,n);return Vu(t)}function _u(o){return function(n,e,t,r){return Yc(o,n,e,t,r)}}function Pu(n){return!function(n){return n.offsetWidth<=0&&n.offsetHeight<=0}(n.dom())}function Hu(n,e,t){var r=l(cn,e),o=qi(n,t);return function(e,n){return F(e,n).map(function(n){return Zc({index:n,candidates:e})})}(D(o,Pu),r)}function zu(n,e){return F(n,function(n){return cn(e,n)})}function Lu(t,n,r,e){return e(Math.floor(n/r),n%r).bind(function(n){var e=n.row()*r+n.column();return 0<=e&&e<t.length?An.some(t[e]):An.none()})}function Gu(o,n,i,u,c){return Lu(o,n,u,function(n,e){var t=n===i-1?o.length-n*u:u,r=au(e,c,0,t-1);return An.some({row:v(n),column:v(r)})})}function Uu(i,n,u,c,a){return Lu(i,n,c,function(n,e){var t=au(n,a,0,u-1),r=t===u-1?i.length-t*c:c,o=fu(e,0,r-1);return An.some({row:v(t),column:v(o)})})}function $u(e,t,n){Ji(e.element(),t.selector).each(function(n){t.focusManager.set(e,n)})}function Wu(o){return function(n,e,t,r){return Hu(n,e,t.selector).bind(function(n){return o(n.candidates(),n.index(),r.getNumRows().getOr(t.initSize.numRows),r.getNumColumns().getOr(t.initSize.numColumns))})}}function Xu(n,e,t,r){return t.captureTab?An.some(!0):An.none()}function qu(n,e,t,o){var i=function(n,e,t){var r=au(e,o,0,t.length-1);return r===n?An.none():function(n){return"button"===q(n)&&"disabled"===Qr(n,"disabled")}(t[r])?i(n,r,t):An.from(t[r])};return Hu(n,t,e).bind(function(n){var e=n.index(),t=n.candidates();return i(e,e,t)})}function Yu(e,t,r){return function(n,e){return e.focusManager.get(n).bind(function(n){return Qi(n,e.selector)})}(e,r).bind(function(n){return r.execute(e,t,n)})}function Ku(e,t){t.getInitial(e).orThunk(function(){return Ji(e.element(),t.selector)}).each(function(n){t.focusManager.set(e,n)})}function Ju(n,e,t){return qu(n,t.selector,e,-1)}function Qu(n,e,t){return qu(n,t.selector,e,1)}function Zu(r){return function(n,e,t){return r(n,e,t).bind(function(){return t.executeOnMove?Yu(n,e,t):An.some(!0)})}}function nc(n,e,t,r){return t.onEscape(n,e)}function ec(n,e,t){return An.from(n[e]).bind(function(n){return An.from(n[t]).map(function(n){return la({rowIndex:e,columnIndex:t,cell:n})})})}function tc(n,e,t,r){var o=n[e].length,i=au(t,r,0,o-1);return ec(n,e,i)}function rc(n,e,t,r){var o=au(t,r,0,n.length-1),i=n[o].length,u=fu(e,0,i-1);return ec(n,o,u)}function oc(n,e,t,r){var o=n[e].length,i=fu(t+r,0,o-1);return ec(n,e,i)}function ic(n,e,t,r){var o=fu(t+r,0,n.length-1),i=n[o].length,u=fu(e,0,i-1);return ec(n,o,u)}function uc(e,t){t.previousSelector(e).orThunk(function(){var n=t.selectors;return Ji(e.element(),n.cell)}).each(function(n){t.focusManager.set(e,n)})}function cc(n,e){return function(o,t,i){var u=i.cycles?n:e;return Qi(t,i.selectors.row).bind(function(n){var e=qi(n,i.selectors.cell);return zu(e,t).bind(function(t){var r=qi(o,i.selectors.row);return zu(r,n).bind(function(n){var e=function(n,e){return ke(n,function(n){return qi(n,e.selectors.cell)})}(r,i);return u(e,n,t).map(function(n){return n.cell()})})})})}}function ac(e,t,r){return r.focusManager.get(e).bind(function(n){return r.execute(e,t,n)})}function fc(e,t){Ji(e.element(),t.selector).each(function(n){t.focusManager.set(e,n)})}function sc(n,e,t){return qu(n,t.selector,e,-1)}function lc(n,e,t){return qu(n,t.selector,e,1)}function dc(e,n){return function(n,e,t){return rr(n,e,Or(t))}(e,{},ke(n,function(n){return function(e,t){return Cr(e,e,Ot(),_t(function(n){return gr("The field: "+e+" is forbidden. "+t)}))}(n.name(),"Cannot configure "+n.name()+" for "+e)}).concat([or("dump",y)]))}function mc(n){return n.dump}function gc(n,e){return x(x({},n.dump),Bo(e))}function pc(n,e,t,r){return t.uiType===ja?function(n,e,t,r){return n.exists(function(n){return n!==t.owner})?_a.single(!0,v(t)):Dt(r,t.name).fold(function(){throw new Error("Unknown placeholder component: "+t.name+"\nKnown: ["+Bn(r)+"]\nNamespace: "+n.getOr("none")+"\nSpec: "+JSON.stringify(t,null,2))},function(n){return n.replace()})}(n,0,t,r):_a.single(!1,v(t))}function hc(e,t,n,r){var o=S(r,function(n,e){return function(n,e){var t=!1;return{name:v(n),required:function(){return e.fold(function(n,e){return n},function(n,e){return n})},used:function(){return t},replace:function(){if(!0===t)throw new Error("Trying to use the same placeholder more than once: "+n);return t=!0,e}}}(e,n)}),i=function(e,t,n,r){return B(n,function(n){return Pa(e,t,n,r)})}(e,t,n,o);return Nn(o,function(n){if(!1===n.used()&&n.required())throw new Error("Placeholder: "+n.name()+" was not found in components list\nNamespace: "+e.getOr("none")+"\nComponents: "+JSON.stringify(t.components,null,2))}),i}function vc(n){var e=(new Date).getTime();return n+"_"+Math.floor(1e9*Math.random())+ ++Ga+String(e)}function yc(n){function e(n){return n.name}return n.fold(e,e,e,e)}function bc(t,r){return function(n){var e=Xt("Converting part type",r,n);return t(e)}}function xc(n,e,t,r){return xt(e.defaults(n,t,r),t,{uid:n.partUids[e.name]},e.overrides(n,t,r))}function wc(o,n){var e={};return C(n,function(n){(function(n){return n.fold(An.some,An.none,An.some,An.some)})(n).each(function(t){var r=uf(o,t.pname);e[t.name]=function(n){var e=Xt("Part: "+t.name+" in "+o,Or(t.schema),n);return x(x({},r),{config:n,validated:e})}})}),e}function Sc(n,e,t){return function(n,t,e){var i={},r={};return C(e,function(n){n.fold(function(r){i[r.pname]=Ha(!0,function(n,e,t){return r.factory.sketch(xc(n,r,e,t))})},function(n){var e=t.parts[n.name];r[n.name]=v(n.factory.sketch(xc(t,n,e[of()]),e))},function(r){i[r.pname]=Ha(!1,function(n,e,t){return r.factory.sketch(xc(n,r,e,t))})},function(o){i[o.pname]=za(!0,function(e,n,t){var r=e[o.name];return ke(r,function(n){return o.factory.sketch(xt(o.defaults(e,n,t),n,o.overrides(e,n)))})})})}),{internals:v(i),externals:v(r)}}(0,e,t)}function Tc(n,e,t){return hc(An.some(n),e,e.components,t)}function Oc(n,e,t){var r=e.partUids[t];return n.getSystem().getByUid(r).toOption()}function kc(n,e,t){return Oc(n,e,t).getOrDie("Could not find part: "+t)}function Ec(e,n){var t=function(n){return ke(n,yc)}(n);return Cn(ke(t,function(n){return{key:n,value:e+"-"+n}}))}function Cc(e){return Cr("partUids","partUids",Et(function(n){return Ec(n.uid,e)}),Ir())}function Dc(n){return En(cf,n)}function Mc(r){return function(n,e){var t=e.toString(),r=t.indexOf(")")+1,o=t.indexOf("("),i=t.substring(o+1,r-1).split(/,\s*/);return n.toFunctionAnnotation=function(){return{name:"OVERRIDE",parameters:Io(i.slice(1))}},n}(function(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return r.apply(undefined,[n.getApis()].concat([n].concat(e)))},r)}function Ic(n){return vc(n)}function Rc(n,e,t,r,o){var i=function(n,e){return(0<n.length?[Jt("parts",n)]:[]).concat([Yt("uid"),tr("dom",{}),tr("components",[]),ei("originalSpec"),tr("debug.sketcher",{})]).concat(e)}(r,o);return Xt(n+" [SpecSchema]",Pt(i.concat(e)),t)}function Fc(n,e,t,r,o){var i=gf(o),u=function(n){return B(n,function(n){return n.fold(An.none,An.some,An.none,An.none).map(function(n){return Jt(n.name,n.schema.concat([ei(of())]))}).toArray()})}(t),c=Cc(t),a=Rc(n,e,i,u,[c]),f=Sc(0,a,t);return r(a,Tc(n,a,f.internals()),i,f.externals())}var Ac,Bc,Vc,Nc,jc,_c,Pc,Hc,zc,Lc,Gc=Du(or("cyclic",v(!1))),Uc=Du(or("cyclic",v(!0))),$c=[tr("execute",Iu),tr("useSpace",!1),tr("useEnter",!0),tr("useControlEnter",!1),tr("useDown",!1)],Wc=Cu($c,Fo.init,function(n,e,t,r){var o=t.useSpace&&!Mu(n.element())?[32]:[],i=t.useEnter?[13]:[],u=t.useDown?[40]:[],c=o.concat(i).concat(u);return[cu(ru(c),Fu)].concat(t.useControlEnter?[cu(ou([uu,ru([13])]),Fu)]:[])},function(n,e,t,r){return t.useSpace&&!Mu(n.element())?[cu(ru([32]),Ru)]:[]},function(){return An.none()}),Xc=/* */Object.freeze({flatgrid:Au,init:function(n){return n.state(n)}}),qc=function(n){return"rtl"===di(n,"direction")?"rtl":"ltr"},Yc=function(e,t,n,r,o){return r.focusManager.get(t).bind(function(n){return e(t.element(),n,r,o)}).map(function(n){return r.focusManager.set(t,n),!0})},Kc=_u,Jc=_u,Qc=_u,Zc=nn(["index","candidates"],[]),na=[Yt("selector"),tr("execute",Iu),Jo("onEscape"),tr("captureTab",!1),Oi()],ea=Wu(function(n,e,t,r){return Gu(n,e,t,r,-1)}),ta=Wu(function(n,e,t,r){return Gu(n,e,t,r,1)}),ra=Wu(function(n,e,t,r){return Uu(n,e,t,r,-1)}),oa=Wu(function(n,e,t,r){return Uu(n,e,t,r,1)}),ia=v([cu(ru([37]),Nu(ea,ta)),cu(ru([39]),ju(ea,ta)),cu(ru([38]),Kc(ra)),cu(ru([40]),Jc(oa)),cu(ou([iu,ru([9])]),Xu),cu(ou([yu,ru([9])]),Xu),cu(ru([27]),function(n,e,t,r){return t.onEscape(n,e)}),cu(ru([32].concat([13])),function(e,t,r,n){return function(n,e){return e.focusManager.get(n).bind(function(n){return Qi(n,e.selector)})}(e,r).bind(function(n){return r.execute(e,t,n)})})]),ua=v([cu(ru([32]),Ru)]),ca=Cu(na,Au,ia,ua,function(){return An.some($u)}),aa=[Yt("selector"),tr("getInitial",An.none),tr("execute",Iu),Jo("onEscape"),tr("executeOnMove",!1),tr("allowVertical",!0)],fa=v([cu(ru([32]),Ru)]),sa=Cu(aa,Fo.init,function(n,e,t,r){var o=[37].concat(t.allowVertical?[38]:[]),i=[39].concat(t.allowVertical?[40]:[]);return[cu(ru(o),Zu(Nu(Ju,Qu))),cu(ru(i),Zu(ju(Ju,Qu))),cu(ru([13]),Yu),cu(ru([32]),Yu),cu(ru([27]),nc)]},fa,function(){return An.some(Ku)}),la=nn(["rowIndex","columnIndex","cell"],[]),da=[Jt("selectors",[Yt("row"),Yt("cell")]),tr("cycles",!0),tr("previousSelector",An.none),tr("execute",Iu)],ma=cc(function(n,e,t){return tc(n,e,t,-1)},function(n,e,t){return oc(n,e,t,-1)}),ga=cc(function(n,e,t){return tc(n,e,t,1)},function(n,e,t){return oc(n,e,t,1)}),pa=cc(function(n,e,t){return rc(n,t,e,-1)},function(n,e,t){return ic(n,t,e,-1)}),ha=cc(function(n,e,t){return rc(n,t,e,1)},function(n,e,t){return ic(n,t,e,1)}),va=v([cu(ru([37]),Nu(ma,ga)),cu(ru([39]),ju(ma,ga)),cu(ru([38]),Kc(pa)),cu(ru([40]),Jc(ha)),cu(ru([32].concat([13])),function(e,t,r){return go(e.element()).bind(function(n){return r.execute(e,t,n)})})]),ya=v([cu(ru([32]),Ru)]),ba=Cu(da,Fo.init,va,ya,function(){return An.some(uc)}),xa=[Yt("selector"),tr("execute",Iu),tr("moveOnTab",!1)],wa=v([cu(ru([38]),Qc(sc)),cu(ru([40]),Qc(lc)),cu(ou([iu,ru([9])]),function(n,e,t){return t.moveOnTab?Qc(sc)(n,e,t):An.none()}),cu(ou([yu,ru([9])]),function(n,e,t){return t.moveOnTab?Qc(lc)(n,e,t):An.none()}),cu(ru([13]),ac),cu(ru([32]),ac)]),Sa=v([cu(ru([32]),Ru)]),Ta=Cu(xa,Fo.init,wa,Sa,function(){return An.some(fc)}),Oa=[Jo("onSpace"),Jo("onEnter"),Jo("onShiftEnter"),Jo("onLeft"),Jo("onRight"),Jo("onTab"),Jo("onShiftTab"),Jo("onUp"),Jo("onDown"),Jo("onEscape"),tr("stopSpaceKeyup",!1),Qt("focusIn")],ka=Cu(Oa,Fo.init,function(n,e,t){return[cu(ru([32]),t.onSpace),cu(ou([yu,ru([13])]),t.onEnter),cu(ou([iu,ru([13])]),t.onShiftEnter),cu(ou([iu,ru([9])]),t.onShiftTab),cu(ou([yu,ru([9])]),t.onTab),cu(ru([38]),t.onUp),cu(ru([40]),t.onDown),cu(ru([37]),t.onLeft),cu(ru([39]),t.onRight),cu(ru([32]),t.onSpace),cu(ru([27]),t.onEscape)]},function(n,e,t){return t.stopSpaceKeyup?[cu(ru([32]),Ru)]:[]},function(n){return n.focusIn}),Ea=Gc.schema(),Ca=Uc.schema(),Da=sa.schema(),Ma=ca.schema(),Ia=ba.schema(),Ra=Wc.schema(),Fa=Ta.schema(),Aa=ka.schema(),Ba=(Lc=Xt("Creating behaviour: "+(zc={branchKey:"mode",branches:/* */Object.freeze({acyclic:Ea,cyclic:Ca,flow:Da,flatgrid:Ma,matrix:Ia,execution:Ra,menu:Fa,special:Aa}),name:"keying",active:{events:function(n,e){return n.handler.toEvents(n,e)}},apis:{focusIn:function(e,t,r){t.sendFocusIn(t).fold(function(){e.getSystem().triggerFocus(e.element(),e.element())},function(n){n(e,t,r)})},setGridSize:function(n,e,t,r,o){Mn(t,"setGridSize")?t.setGridSize(r,o):d.console.error("Layout does not support setGridSize")}},state:Xc}).name,No,zc),Ac=qt(Lc.branchKey,Lc.branches),Bc=Lc.name,Vc=Lc.active,Nc=Lc.apis,jc=Lc.extra,_c=Lc.state,Hc=nr(Bc,[Zt("config",Pc=Ac)]),Ro(Pc,Hc,Bc,Vc,Nc,jc,_c)),Va=dc,Na=gc,ja="placeholder",_a=yt([{single:["required","valueThunk"]},{multiple:["required","valueThunks"]}]),Pa=function(i,u,c,a){return pc(i,0,c,a).fold(function(n,e){var t=e(u,c.config,c.validated),r=Dt(t,"components").getOr([]),o=B(r,function(n){return Pa(i,u,n,a)});return[x(x({},t),{components:o})]},function(n,e){var t=e(u,c.config,c.validated);return c.validated.preprocess.getOr(y)(t)})},Ha=_a.single,za=_a.multiple,La=v(ja),Ga=0,Ua=yt([{required:["data"]},{external:["data"]},{optional:["data"]},{group:["data"]}]),$a=tr("factory",{sketch:y}),Wa=tr("schema",[]),Xa=Yt("name"),qa=Cr("pname","pname",kt(function(n){return"<alloy."+vc(n.name)+">"}),Ir()),Ya=or("schema",function(){return[Qt("preprocess")]}),Ka=tr("defaults",v({})),Ja=tr("overrides",v({})),Qa=Or([$a,Wa,Xa,qa,Ka,Ja]),Za=Or([$a,Wa,Xa,qa,Ka,Ja]),nf=Or([$a,Ya,Xa,Yt("unit"),qa,Ka,Ja]),ef=bc(Ua.required,Qa),tf=bc(Ua.optional,Za),rf=bc(Ua.group,nf),of=v("entirety"),uf=function(n,e){return{uiType:La(),owner:n,name:e}},cf=vc("alloy-premade"),af=v("alloy-id-"),ff=v("data-alloy-id"),sf=af(),lf=ff(),df=function(n,e){Object.defineProperty(n.dom(),lf,{value:e,writable:!0})},mf=function(n){var e=et(n)?n.dom()[lf]:null;return An.from(e)},gf=function(n){return n.hasOwnProperty("uid")?n:x(x({},n),{uid:Ic("uid")})};function pf(n){var e=Xt("Sketcher for "+n.name,Ps,n),t=S(e.apis,Mc),r=S(e.extraApis,function(n,e){return Gr(n,e)});return x(x({name:v(e.name),partFields:v([]),configFields:v(e.configFields),sketch:function(n){return function(n,e,t,r){var o=gf(r);return t(Rc(n,e,o,[],[]),o)}(e.name,e.configFields,e.factory,n)}},t),r)}function hf(n){var e=Xt("Sketcher for "+n.name,Hs,n),t=wc(e.name,e.partFields),r=S(e.apis,Mc),o=S(e.extraApis,function(n,e){return Gr(n,e)});return x(x({name:v(e.name),partFields:v(e.partFields),configFields:v(e.configFields),sketch:function(n){return Fc(e.name,e.configFields,e.partFields,e.factory,n)},parts:v(t)},r),o)}function vf(n){var e=Je.fromHtml(n),t=at(e),r=function(n){var e=n.dom().attributes!==undefined?n.dom().attributes:[];return I(e,function(n,e){var t;return"class"===e.name?n:x(x({},n),((t={})[e.name]=e.value,t))},{})}(e),o=function(n){return Array.prototype.slice.call(n.dom().classList,0)}(e),i=0===t.length?{}:{innerHtml:po(e)};return x({tag:q(e),classes:o,attributes:r},i)}function yf(n){return{dom:Gs(n)}}function bf(n){return Bo([Fi.config({toggleClass:ji.resolve("toolbar-button-selected"),toggleOnExecute:!1,aria:{mode:"pressed"}}),Ai(n,function(n,e){(e?Fi.on:Fi.off)(n)})])}function xf(n,e){var t=e.ui.registry.getAll().icons;return An.from(t[n]).fold(function(){return Gs('<span class="${prefix}-toolbar-button ${prefix}-toolbar-group-item ${prefix}-icon-'+n+' ${prefix}-icon"></span>')},function(n){return Gs('<span class="${prefix}-toolbar-button ${prefix}-toolbar-group-item">'+n+"</span>")})}function wf(n){return tf({name:n+"-edge",overrides:function(r){return r.model.manager.edgeActions[n].fold(function(){return{}},function(t){var n=Nr([Pr(Pn(),t,[r])]),e=Nr([Pr(Ln(),t,[r]),Pr(Gn(),function(n,e){e.mouseIsDown.get()&&t(n,e)},[r])]);return{events:Ws?n:e}})}})}function Sf(n,e,t){e.store.manager.onLoad(n,e,t)}function Tf(n,e,t){e.store.manager.onUnload(n,e,t)}function Of(){var n=Zn(null);return Ao({set:n.set,get:n.get,isNotSet:function(){return null===n.get()},clear:function(){n.set(null)},readState:function(){return{mode:"memory",value:n.get()}}})}function kf(){var i=Zn({}),u=Zn({});return Ao({readState:function(){return{mode:"dataset",dataByValue:i.get(),dataByText:u.get()}},lookup:function(n){return Dt(i.get(),n).orThunk(function(){return Dt(u.get(),n)})},update:function(n){var e=i.get(),t=u.get(),r={},o={};C(n,function(e){r[e.value]=e,Dt(e,"meta").each(function(n){Dt(n,"text").each(function(n){o[n]=e})})}),i.set(x(x({},e),r)),u.set(x(x({},t),o))},clear:function(){i.set({}),u.set({})}})}function Ef(n,e,t,r){var o=e.store;t.update([r]),o.setValue(n,r),e.onSetValue(n,r)}function Cf(n,e){sl.set(n,e)}function Df(n){return sl.get(n)}function Mf(n){var e=n.event().raw();if(ml){var t=e;return t.touches!==undefined&&1===t.touches.length?An.some(t.touches[0]).map(function(n){return dl(n.clientX,n.clientY)}):An.none()}var r=e;return r.clientX!==undefined?An.some(r).map(function(n){return dl(n.clientX,n.clientY)}):An.none()}function If(n){return n.model.minX}function Rf(n){return n.model.minY}function Ff(n){return n.model.minX-1}function Af(n){return n.model.minY-1}function Bf(n){return n.model.maxX}function Vf(n){return n.model.maxY}function Nf(n){return n.model.maxX+1}function jf(n){return n.model.maxY+1}function _f(n,e,t){return e(n)-t(n)}function Pf(n){return _f(n,Bf,If)}function Hf(n){return _f(n,Vf,Rf)}function zf(n){return Pf(n)/2}function Lf(n){return Hf(n)/2}function Gf(n){return n.stepSize}function Uf(n){return n.snapToGrid}function $f(n){return n.snapStart}function Wf(n){return n.rounded}function Xf(n,e){return n[e+"-edge"]!==undefined}function qf(n){return Xf(n,"left")}function Yf(n){return Xf(n,"right")}function Kf(n){return Xf(n,"top")}function Jf(n){return Xf(n,"bottom")}function Qf(n){return n.model.value.get()}function Zf(n){return{x:v(n)}}function ns(n){return{y:v(n)}}function es(n,e){return{x:v(n),y:v(e)}}function ts(n,e){U(n,gl(),{value:e})}function rs(n,e,t,r){return n<e?n:t<n?t:n===e?e-1:Math.max(e,n-r)}function os(n,e,t,r){return t<n?n:n<e?e:n===t?t+1:Math.min(t,n+r)}function is(n,e,t){return Math.max(e,Math.min(t,n))}function us(n){var e=n.min,t=n.max,r=n.range,o=n.value,i=n.step,u=n.snap,c=n.snapStart,a=n.rounded,f=n.hasMinEdge,s=n.hasMaxEdge,l=n.minBound,d=n.maxBound,m=n.screenRange,g=f?e-1:e,p=s?t+1:t;if(o<l)return g;if(d<o)return p;var h=function(n,e,t){return Math.min(t,Math.max(n,e))-e}(o,l,d),v=is(h/m*r+e,g,p);return u&&e<=v&&v<=t?function(u,t,c,a,n){return n.fold(function(){var n=u-t,e=Math.round(n/a)*a;return is(t+e,t-1,c+1)},function(n){var e=(u-n)%a,t=Math.round(e/a),r=Math.floor((u-n)/a),o=Math.floor((c-n)/a),i=n+Math.min(o,r+t)*a;return Math.max(n,i)})}(v,e,t,i,c):a?Math.round(v):v}function cs(n){var e=n.min,t=n.max,r=n.range,o=n.value,i=n.hasMinEdge,u=n.hasMaxEdge,c=n.maxBound,a=n.maxOffset,f=n.centerMinEdge,s=n.centerMaxEdge;return o<e?i?0:f:t<o?u?c:s:(o-e)/r*a}function as(n){return n.element().dom().getBoundingClientRect()}function fs(n,e){return n[e]}function ss(n){var e=as(n);return fs(e,pl)}function ls(n){var e=as(n);return fs(e,"right")}function ds(n){var e=as(n);return fs(e,"top")}function ms(n){var e=as(n);return fs(e,"bottom")}function gs(n){var e=as(n);return fs(e,"width")}function ps(n){var e=as(n);return fs(e,"height")}function hs(n,e,t){return(n+e)/2-t}function vs(n,e){var t=as(n),r=as(e),o=fs(t,pl),i=fs(t,"right"),u=fs(r,pl);return hs(o,i,u)}function ys(n,e){var t=as(n),r=as(e),o=fs(t,"top"),i=fs(t,"bottom"),u=fs(r,"top");return hs(o,i,u)}function bs(n,e){U(n,gl(),{value:e})}function xs(n){return{x:v(n)}}function ws(n,e,t){var r={min:If(e),max:Bf(e),range:Pf(e),value:t,step:Gf(e),snap:Uf(e),snapStart:$f(e),rounded:Wf(e),hasMinEdge:qf(e),hasMaxEdge:Yf(e),minBound:ss(n),maxBound:ls(n),screenRange:gs(n)};return us(r)}function Ss(t){return function(n,e){return function(n,e,t){var r=(0<n?os:rs)(Qf(t).x(),If(t),Bf(t),Gf(t));return bs(e,xs(r)),An.some(r)}(t,n,e).map(function(){return!0})}}function Ts(n,e,t,r,o,i){var u=function(e,n,t,r,o){var i=gs(e),u=r.bind(function(n){return An.some(vs(n,e))}).getOr(0),c=o.bind(function(n){return An.some(vs(n,e))}).getOr(i),a={min:If(n),max:Bf(n),range:Pf(n),value:t,hasMinEdge:qf(n),hasMaxEdge:Yf(n),minBound:ss(e),minOffset:0,maxBound:ls(e),maxOffset:i,centerMinEdge:u,centerMaxEdge:c};return cs(a)}(e,i,t,r,o);return ss(e)-ss(n)+u}function Os(n,e){U(n,gl(),{value:e})}function ks(n){return{y:v(n)}}function Es(n,e,t){var r={min:Rf(e),max:Vf(e),range:Hf(e),value:t,step:Gf(e),snap:Uf(e),snapStart:$f(e),rounded:Wf(e),hasMinEdge:Kf(e),hasMaxEdge:Jf(e),minBound:ds(n),maxBound:ms(n),screenRange:ps(n)};return us(r)}function Cs(t){return function(n,e){return function(n,e,t){var r=(0<n?os:rs)(Qf(t).y(),Rf(t),Vf(t),Gf(t));return Os(e,ks(r)),An.some(r)}(t,n,e).map(function(){return!0})}}function Ds(n,e,t,r,o,i){var u=function(e,n,t,r,o){var i=ps(e),u=r.bind(function(n){return An.some(ys(n,e))}).getOr(0),c=o.bind(function(n){return An.some(ys(n,e))}).getOr(i),a={min:Rf(n),max:Vf(n),range:Hf(n),value:t,hasMinEdge:Kf(n),hasMaxEdge:Jf(n),minBound:ds(e),minOffset:0,maxBound:ms(e),maxOffset:i,centerMinEdge:u,centerMaxEdge:c};return cs(a)}(e,i,t,r,o);return ds(e)-ds(n)+u}function Ms(n,e){U(n,gl(),{value:e})}function Is(n,e){return{x:v(n),y:v(e)}}function Rs(t,r){return function(n,e){return function(n,e,t,r){var o=0<n?os:rs,i=e?Qf(r).x():o(Qf(r).x(),If(r),Bf(r),Gf(r)),u=e?o(Qf(r).y(),Rf(r),Vf(r),Gf(r)):Qf(r).y();return Ms(t,Is(i,u)),An.some(i)}(t,r,n,e).map(function(){return!0})}}function Fs(e,t,r,n){return $s.forToolbar(t,function(){var n=r();e.setContextToolbar([{label:t+" group",items:n}])},{},n)}function As(n){return[function(o){function i(n){return n<0?"black":360<n?"white":"hsl("+n+", 100%, 50%)"}return jl.sketch({dom:Gs('<div class="${prefix}-slider ${prefix}-hue-slider-container"></div>'),components:[jl.parts()["left-edge"](yf('<div class="${prefix}-hue-slider-black"></div>')),jl.parts().spectrum({dom:Gs('<div class="${prefix}-slider-gradient-container"></div>'),components:[yf('<div class="${prefix}-slider-gradient"></div>')],behaviours:Bo([Fi.config({toggleClass:ji.resolve("thumb-active")})])}),jl.parts()["right-edge"](yf('<div class="${prefix}-hue-slider-white"></div>')),jl.parts().thumb({dom:Gs('<div class="${prefix}-slider-thumb"></div>'),behaviours:Bo([Fi.config({toggleClass:ji.resolve("thumb-active")})])})],onChange:function(n,e,t){var r=i(t.x());Li(e.element(),"background-color",r),o.onChange(n,e,r)},onDragStart:function(n,e){Fi.on(e)},onDragEnd:function(n,e){Fi.off(e)},onInit:function(n,e,t,r){var o=i(r.x());Li(e.element(),"background-color",o)},stepSize:10,model:{mode:"x",minX:0,maxX:360,getInitialValue:function(){return{x:function(){return o.getInitialValue()}}}},sliderBehaviours:Bo([Bi(jl.refresh)])})}(n)]}function Bs(n){var e=n.selection.getStart(),t=Je.fromDom(e),r=Je.fromDom(n.getBody()),o=function(e,n){return(et(n)?An.some(n):fn(n).filter(et)).map(function(n){return Br(n,function(n){return mi(n,"font-size").isSome()},e).bind(function(n){return mi(n,"font-size")}).getOrThunk(function(){return di(n,"font-size")})}).getOr("")}(function(n){return cn(r,n)},t);return R(zl,function(n){return o===n}).getOr("medium")}function Vs(n){return[yf('<span class="${prefix}-toolbar-button ${prefix}-icon-small-font ${prefix}-icon"></span>'),function(n){return Hl({onChange:n.onChange,sizes:Gl,category:"font",getInitialValue:n.getInitialValue})}(n),yf('<span class="${prefix}-toolbar-button ${prefix}-icon-large-font ${prefix}-icon"></span>')]}function Ns(n){var e=function t(n){return n.uid!==undefined}(n)&&Mn(n,"uid")?n.uid:Ic("memento");return{get:function(n){return n.getSystem().getByUid(e).getOrDie()},getOpt:function(n){return n.getSystem().getByUid(e).toOption()},asSpec:function(){return x(x({},n),{uid:e})}}}var js,_s,Ps=Pt([Yt("name"),Yt("factory"),Yt("configFields"),tr("apis",{}),tr("extraApis",{})]),Hs=Pt([Yt("name"),Yt("factory"),Yt("configFields"),Yt("partFields"),tr("apis",{}),tr("extraApis",{})]),zs=pf({name:"Button",factory:function(n){function t(e){return Dt(n.dom,"attributes").bind(function(n){return Dt(n,e)})}var e=function(n){function e(n,e){e.stop(),$(n)}var t=L().deviceType.isTouch()?[_r(He(),e)]:[_r(Kn(),e),_r(Ln(),function(n,e){e.cut()})];return Nr(A([n.map(function(t){return _r(_e(),function(n,e){t(n),e.stop()})}).toArray(),t]))}(n.action),r=n.dom.tag;return{uid:n.uid,dom:n.dom,components:n.components,events:e,behaviours:Na(n.buttonBehaviours,[zi.config({}),Ba.config({mode:"execution",useSpace:!0,useEnter:!0})]),domModification:{attributes:function(){if("button"!==r)return{role:t("role").getOr("button")};var n=t("type").getOr("button"),e=t("role").map(function(n){return{role:n}}).getOr({});return x({type:n},e)}()},eventOrder:n.eventOrder}},configFields:[tr("uid",undefined),Yt("dom"),tr("components",[]),Va("buttonBehaviours",[zi,Ba]),Qt("action"),Qt("role"),tr("eventOrder",{})]}),Ls=qr({fields:[],name:"unselecting",active:/* */Object.freeze({events:function(n){return Nr([jr(Qn(),v(!0))])},exhibit:function(n,e){return Ur({styles:{"-webkit-user-select":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"-moz-none"},attributes:{unselectable:"on"}})}})}),Gs=function(n){var e=function(n,r){return n.replace(/\$\{([^{}]*)\}/g,function(n,e){var t=r[e];return function(n){var e=typeof n;return"string"==e||"number"==e}(t)?t.toString():n})}(n,{prefix:ji.prefix()});return vf(e)},Us=function(n,e,t,r){return zs.sketch({dom:xf(n,r),action:e,buttonBehaviours:xt(Bo([Ls.config({})]),t)})},$s={forToolbar:Us,forToolbarCommand:function(n,e){return Us(e,function(){n.execCommand(e)},{},n)},forToolbarStateAction:function(n,e,t,r){var o=bf(t);return Us(e,r,o,n)},forToolbarStateCommand:function(n,e){var t=bf(e);return Us(e,function(){n.execCommand(e)},t,n)},getToolbarIconButton:xf},Ws=L().deviceType.isTouch(),Xs=tf({schema:[Yt("dom")],name:"label"}),qs=wf("top-left"),Ys=wf("top"),Ks=wf("top-right"),Js=wf("right"),Qs=wf("bottom-right"),Zs=wf("bottom"),nl=wf("bottom-left"),el=[Xs,wf("left"),Js,Ys,Zs,qs,Ks,nl,Qs,ef({name:"thumb",defaults:v({dom:{styles:{position:"absolute"}}}),overrides:function(n){return{events:Nr([zr(Pn(),n,"spectrum"),zr(Hn(),n,"spectrum"),zr(zn(),n,"spectrum"),zr(Ln(),n,"spectrum"),zr(Gn(),n,"spectrum"),zr(Un(),n,"spectrum")])}}}),ef({schema:[or("mouseIsDown",function(){return Zn(!1)})],name:"spectrum",overrides:function(t){function r(e,n){return o.getValueFromEvent(n).map(function(n){return o.setValueFrom(e,t,n)})}var o=t.model.manager,n=Nr([_r(Pn(),r),_r(Hn(),r)]),e=Nr([_r(Ln(),r),_r(Gn(),function(n,e){t.mouseIsDown.get()&&r(n,e)})]);return{behaviours:Bo(Ws?[]:[Ba.config({mode:"special",onLeft:function(n){return o.onLeft(n,t)},onRight:function(n){return o.onRight(n,t)},onUp:function(n){return o.onUp(n,t)},onDown:function(n){return o.onDown(n,t)}}),zi.config({})]),events:Ws?n:e}}})],tl=/* */Object.freeze({onLoad:Sf,onUnload:Tf,setValue:function(n,e,t,r){e.store.manager.setValue(n,e,t,r)},getValue:function(n,e,t){return e.store.manager.getValue(n,e,t)},getState:function(n,e,t){return t}}),rl=/* */Object.freeze({events:function(t,r){var n=t.resetOnDom?[Eo(function(n,e){Sf(n,t,r)}),Co(function(n,e){Tf(n,t,r)})]:[$r(t,r,Sf)];return Nr(n)}}),ol=/* */Object.freeze({memory:Of,dataset:kf,manual:function(){return Ao({readState:function(){}})},init:function(n){return n.store.manager.state(n)}}),il=[Qt("initialValue"),Yt("getFallbackEntry"),Yt("getDataKey"),Yt("setValue"),ni("manager",{setValue:Ef,getValue:function(n,e,t){var r=e.store,o=r.getDataKey(n);return t.lookup(o).fold(function(){return r.getFallbackEntry(o)},function(n){return n})},onLoad:function(e,t,r){t.store.initialValue.each(function(n){Ef(e,t,r,n)})},onUnload:function(n,e,t){t.clear()},state:kf})],ul=[Yt("getValue"),tr("setValue",w),Qt("initialValue"),ni("manager",{setValue:function(n,e,t,r){e.store.setValue(n,r),e.onSetValue(n,r)},getValue:function(n,e,t){return e.store.getValue(n)},onLoad:function(e,t,n){t.store.initialValue.each(function(n){t.store.setValue(e,n)})},onUnload:w,state:Fo.init})],cl=[Qt("initialValue"),ni("manager",{setValue:function(n,e,t,r){t.set(r),e.onSetValue(n,r)},getValue:function(n,e,t){return t.get()},onLoad:function(n,e,t){e.store.initialValue.each(function(n){t.isNotSet()&&t.set(n)})},onUnload:function(n,e,t){t.clear()},state:Of})],al=[rr("store",{mode:"memory"},qt("mode",{memory:cl,manual:ul,dataset:il})),Ko("onSetValue"),tr("resetOnDom",!1)],fl=qr({fields:al,name:"representing",active:rl,apis:tl,extra:{setValueFrom:function(n,e){var t=fl.getValue(e);fl.setValue(n,t)}},state:ol}),sl=Ui("width",function(n){return n.dom().offsetWidth}),ll=function(t,r){return{left:v(t),top:v(r),translate:function(n,e){return ll(t+n,r+e)}}},dl=ll,ml=L().deviceType.isTouch(),gl=v("slider.change.value"),pl="left",hl=Ss(-1),vl=Ss(1),yl=An.none,bl=An.none,xl={"top-left":An.none(),top:An.none(),"top-right":An.none(),right:An.some(function(n,e){ts(n,Zf(Nf(e)))}),"bottom-right":An.none(),bottom:An.none(),"bottom-left":An.none(),left:An.some(function(n,e){ts(n,Zf(Ff(e)))})},wl=/* */Object.freeze({setValueFrom:function(n,e,t){var r=ws(n,e,t),o=xs(r);return bs(n,o),r},setToMin:function(n,e){var t=If(e);bs(n,xs(t))},setToMax:function(n,e){var t=Bf(e);bs(n,xs(t))},findValueOfOffset:ws,getValueFromEvent:function(n){return Mf(n).map(function(n){return n.left()})},findPositionOfValue:Ts,setPositionFromValue:function(n,e,t,r){var o=Qf(t),i=Ts(n,r.getSpectrum(n),o.x(),r.getLeftEdge(n),r.getRightEdge(n),t),u=Df(e.element())/2;Li(e.element(),"left",i-u+"px")},onLeft:hl,onRight:vl,onUp:yl,onDown:bl,edgeActions:xl}),Sl=An.none,Tl=An.none,Ol=Cs(-1),kl=Cs(1),El={"top-left":An.none(),top:An.some(function(n,e){ts(n,ns(Af(e)))}),"top-right":An.none(),right:An.none(),"bottom-right":An.none(),bottom:An.some(function(n,e){ts(n,ns(jf(e)))}),"bottom-left":An.none(),left:An.none()},Cl=/* */Object.freeze({setValueFrom:function(n,e,t){var r=Es(n,e,t),o=ks(r);return Os(n,o),r},setToMin:function(n,e){var t=Rf(e);Os(n,ks(t))},setToMax:function(n,e){var t=Vf(e);Os(n,ks(t))},findValueOfOffset:Es,getValueFromEvent:function(n){return Mf(n).map(function(n){return n.top()})},findPositionOfValue:Ds,setPositionFromValue:function(n,e,t,r){var o=Qf(t),i=Ds(n,r.getSpectrum(n),o.y(),r.getTopEdge(n),r.getBottomEdge(n),t),u=$i(e.element())/2;Li(e.element(),"top",i-u+"px")},onLeft:Sl,onRight:Tl,onUp:Ol,onDown:kl,edgeActions:El}),Dl=Rs(-1,!1),Ml=Rs(1,!1),Il=Rs(-1,!0),Rl=Rs(1,!0),Fl={"top-left":An.some(function(n,e){ts(n,es(Ff(e),Af(e)))}),top:An.some(function(n,e){ts(n,es(zf(e),Af(e)))}),"top-right":An.some(function(n,e){ts(n,es(Nf(e),Af(e)))}),right:An.some(function(n,e){ts(n,es(Nf(e),Lf(e)))}),"bottom-right":An.some(function(n,e){ts(n,es(Nf(e),jf(e)))}),bottom:An.some(function(n,e){ts(n,es(zf(e),jf(e)))}),"bottom-left":An.some(function(n,e){ts(n,es(Ff(e),jf(e)))}),left:An.some(function(n,e){ts(n,es(Ff(e),Lf(e)))})},Al=/* */Object.freeze({setValueFrom:function(n,e,t){var r=ws(n,e,t.left()),o=Es(n,e,t.top()),i=Is(r,o);return Ms(n,i),i},setToMin:function(n,e){var t=If(e),r=Rf(e);Ms(n,Is(t,r))},setToMax:function(n,e){var t=Bf(e),r=Vf(e);Ms(n,Is(t,r))},getValueFromEvent:function(n){return Mf(n)},setPositionFromValue:function(n,e,t,r){var o=Qf(t),i=Ts(n,r.getSpectrum(n),o.x(),r.getLeftEdge(n),r.getRightEdge(n),t),u=Ds(n,r.getSpectrum(n),o.y(),r.getTopEdge(n),r.getBottomEdge(n),t),c=Df(e.element())/2,a=$i(e.element())/2;Li(e.element(),"left",i-c+"px"),Li(e.element(),"top",u-a+"px")},onLeft:Dl,onRight:Ml,onUp:Il,onDown:Rl,edgeActions:Fl}),Bl=L().deviceType.isTouch(),Vl=[tr("stepSize",1),tr("onChange",w),tr("onChoose",w),tr("onInit",w),tr("onDragStart",w),tr("onDragEnd",w),tr("snapToGrid",!1),tr("rounded",!0),Qt("snapStart"),Kt("model",qt("mode",{x:[tr("minX",0),tr("maxX",100),or("value",function(n){return Zn(n.mode.minX)}),Yt("getInitialValue"),ni("manager",wl)],y:[tr("minY",0),tr("maxY",100),or("value",function(n){return Zn(n.mode.minY)}),Yt("getInitialValue"),ni("manager",Cl)],xy:[tr("minX",0),tr("maxX",100),tr("minY",0),tr("maxY",100),or("value",function(n){return Zn({x:v(n.mode.minX),y:v(n.mode.minY)})}),Yt("getInitialValue"),ni("manager",Al)]})),dc("sliderBehaviours",[Ba,fl])].concat(Bl?[]:[or("mouseIsDown",function(){return Zn(!1)})]),Nl=L().deviceType.isTouch(),jl=hf({name:"Slider",configFields:Vl,partFields:el,factory:function(i,n,e,t){function u(n){return kc(n,i,"thumb")}function c(n){return kc(n,i,"spectrum")}function r(n){return Oc(n,i,"left-edge")}function o(n){return Oc(n,i,"right-edge")}function a(n){return Oc(n,i,"top-edge")}function f(n){return Oc(n,i,"bottom-edge")}function s(n,e){m.setPositionFromValue(n,e,i,{getLeftEdge:r,getRightEdge:o,getTopEdge:a,getBottomEdge:f,getSpectrum:c})}function l(n,e){d.value.set(e);var t=u(n);return s(n,t),i.onChange(n,t,e),An.some(!0)}var d=i.model,m=d.manager,g=[_r(Pn(),function(n,e){i.onDragStart(n,u(n))}),_r(zn(),function(n,e){i.onDragEnd(n,u(n))})],p=[_r(Ln(),function(n,e){e.stop(),i.onDragStart(n,u(n)),i.mouseIsDown.set(!0)}),_r(Un(),function(n,e){i.onDragEnd(n,u(n))})],h=Nl?g:p;return{uid:i.uid,dom:i.dom,components:n,behaviours:gc(i.sliderBehaviours,A([Nl?[]:[Ba.config({mode:"special",focusIn:function(n){return Oc(n,i,"spectrum").map(Ba.focusIn).map(v(!0))}})],[fl.config({store:{mode:"manual",getValue:function(n){return d.value.get()}}}),Ei.config({channels:{"mouse.released":{onReceive:function(t,n){function e(){Oc(t,i,"thumb").each(function(n){var e=d.value.get();i.onChoose(t,n,e)})}if(Nl)e();else{var r=i.mouseIsDown.get();i.mouseIsDown.set(!1),r&&e()}}}}})]])),events:Nr([_r(gl(),function(n,e){l(n,e.event().value())}),Eo(function(n,e){var t=d.getInitialValue();d.value.set(t);var r=u(n);s(n,r);var o=c(n);i.onInit(n,r,o,d.value.get())})].concat(h)),apis:{resetToMin:function(n){m.setToMin(n,i)},resetToMax:function(n){m.setToMax(n,i)},changeValue:l,refresh:s},domModification:{styles:{position:"relative"}}}},apis:{resetToMin:function(n,e){n.resetToMin(e)},resetToMax:function(n,e){n.resetToMax(e)},refresh:function(n,e){n.refresh(e)}}}),_l=function(n,r){var e={onChange:function(n,e,t){r.undoManager.transact(function(){r.formatter.apply("forecolor",{value:t}),r.nodeChanged()})},getInitialValue:function(){return-1}};return Fs(n,"color-levels",function(){return As(e)},r)},Pl=Pt([Yt("getInitialValue"),Yt("onChange"),Yt("category"),Yt("sizes")]),Hl=function(n){var o=Xt("SizeSlider",Pl,n);return jl.sketch({dom:{tag:"div",classes:[ji.resolve("slider-"+o.category+"-size-container"),ji.resolve("slider"),ji.resolve("slider-size-container")]},onChange:function(n,e,t){var r=t.x();!function(n){return 0<=n&&n<o.sizes.length}(r)||o.onChange(r)},onDragStart:function(n,e){Fi.on(e)},onDragEnd:function(n,e){Fi.off(e)},model:{mode:"x",minX:0,maxX:o.sizes.length-1,getInitialValue:function(){return{x:function(){return o.getInitialValue()}}}},stepSize:1,snapToGrid:!0,sliderBehaviours:Bo([Bi(jl.refresh)]),components:[jl.parts().spectrum({dom:Gs('<div class="${prefix}-slider-size-container"></div>'),components:[yf('<div class="${prefix}-slider-size-line"></div>')]}),jl.parts().thumb({dom:Gs('<div class="${prefix}-slider-thumb"></div>'),behaviours:Bo([Fi.config({toggleClass:ji.resolve("thumb-active")})])})]})},zl=["9px","10px","11px","12px","14px","16px","18px","20px","24px","32px","36px"],Ll={candidates:v(zl),get:function(n){return function(e){return F(zl,function(n){return n===e})}(Bs(n)).getOr(2)},apply:function(e,n){(function(n){return An.from(zl[n])})(n).each(function(n){!function(n,e){Bs(n)!==e&&n.execCommand("fontSize",!1,e)}(e,n)})}},Gl=Ll.candidates(),Ul=window.Promise?window.Promise:(js=$l.immediateFn||"function"==typeof window.setImmediate&&window.setImmediate||function(n){d.setTimeout(n,1)},_s=Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)},$l.prototype["catch"]=function(n){return this.then(null,n)},$l.prototype.then=function(t,r){var o=this;return new $l(function(n,e){Xl.call(o,new Jl(t,r,n,e))})},$l.all=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];var a=Array.prototype.slice.call(1===n.length&&_s(n[0])?n[0]:n);return new $l(function(o,i){if(0===a.length)return o([]);var u=a.length;function c(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var t=n.then;if("function"==typeof t)return void t.call(n,function(n){c(e,n)},i)}a[e]=n,0==--u&&o(a)}catch(r){i(r)}}for(var n=0;n<a.length;n++)c(n,a[n])})},$l.resolve=function(e){return e&&"object"==typeof e&&e.constructor===$l?e:new $l(function(n){n(e)})},$l.reject=function(t){return new $l(function(n,e){e(t)})},$l.race=function(o){return new $l(function(n,e){for(var t=0,r=o;t<r.length;t++)r[t].then(n,e)})},$l);function $l(n){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof n)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],Ql(n,Wl(ql,this),Wl(Yl,this))}function Wl(n,e){return function(){return n.apply(e,arguments)}}function Xl(r){var o=this;null!==this._state?js(function(){var n=o._state?r.onFulfilled:r.onRejected;if(null!==n){var e;try{e=n(o._value)}catch(t){return void r.reject(t)}r.resolve(e)}else(o._state?r.resolve:r.reject)(o._value)}):this._deferreds.push(r)}function ql(n){try{if(n===this)throw new TypeError("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var e=n.then;if("function"==typeof e)return void Ql(Wl(e,n),Wl(ql,this),Wl(Yl,this))}this._state=!0,this._value=n,Kl.call(this)}catch(t){Yl.call(this,t)}}function Yl(n){this._state=!1,this._value=n,Kl.call(this)}function Kl(){for(var n=0,e=this._deferreds;n<e.length;n++){var t=e[n];Xl.call(this,t)}this._deferreds=[]}function Jl(n,e,t,r){this.onFulfilled="function"==typeof n?n:null,this.onRejected="function"==typeof e?e:null,this.resolve=t,this.reject=r}function Ql(n,e,t){var r=!1;try{n(function(n){r||(r=!0,e(n))},function(n){r||(r=!0,t(n))})}catch(o){if(r)return;r=!0,t(o)}}function Zl(n){return function e(t){return new Ul(function(n){var e=new d.FileReader;e.onloadend=function(){n(e.result)},e.readAsDataURL(t)})}(n).then(function(n){return n.split(",")[1]})}function nd(o,i){(function(n){return Zl(n)})(i).then(function(r){o.undoManager.transact(function(){var n=o.editorUpload.blobCache,e=n.create(vc("mceu"),i,r);n.add(e);var t=o.dom.createHTML("img",{src:e.blobUri()});o.insertContent(t)})})}function ed(t){var e=Ns({dom:{tag:"input",attributes:{accept:"image/*",type:"file",title:""},styles:{visibility:"hidden",position:"absolute"}},events:Nr([Lr(Kn()),_r(Yn(),function(n,e){(function(n){var e=n.event(),t=e.raw().target.files||e.raw().dataTransfer.files;return An.from(t[0])})(e).each(function(n){nd(t,n)})})])});return zs.sketch({dom:$s.getToolbarIconButton("image",t),components:[e.asSpec()],action:function(n){e.get(n).element().dom().click()}})}function td(n){return n.dom().textContent}function rd(n){return 0<n.length}function od(n){return n===undefined||null===n?"":n}function id(n,e,t){return t.text.toOption().filter(rd).fold(function(){return function(n){return Qr(n,"href")===td(n)}(n)?An.some(e):An.none()},An.some)}function ud(n,e){var t=e.selection.getRng();n(),e.selection.setRng(t)}function cd(n){return n.dom().value}function ad(n,e){if(e===undefined)throw new Error("Value.set was undefined");n.dom().value=e}function fd(n){return x(x({},function(n){return Bo([zi.config({onFocus:!1===n.selectOnFocus?w:function(n){var e=n.element(),t=cd(e);e.dom().setSelectionRange(0,t.length)}})])}(n)),gc(n.inputBehaviours,[fl.config({store:{mode:"manual",initialValue:n.data.getOr(undefined),getValue:function(n){return cd(n.element())},setValue:function(n,e){cd(n.element())!==e&&ad(n.element(),e)}},onSetValue:n.onSetValue})]))}function sd(n,e){var t=Ns(vm.sketch({inputAttributes:{placeholder:wm.translate(e)},onSetValue:function(n,e){G(n,qn())},inputBehaviours:Bo([mm.config({find:An.some}),xm.config({}),Ba.config({mode:"execution"})]),selectOnFocus:!1})),r=Ns(zs.sketch({dom:Gs('<button class="${prefix}-input-container-x ${prefix}-icon-cancel-circle ${prefix}-icon"></button>'),action:function(n){var e=t.get(n);fl.setValue(e,"")}}));return{name:n,spec:gm.sketch({dom:Gs('<div class="${prefix}-input-container"></div>'),components:[t.asSpec(),r.asSpec()],containerBehaviours:Bo([Fi.config({toggleClass:ji.resolve("input-container-empty")}),mm.config({find:function(n){return An.some(t.get(n))}}),sm("input-clearing",[_r(qn(),function(n){var e=t.get(n);(0<fl.getValue(e).length?Fi.off:Fi.on)(n)})])])})}}function ld(n,e,t){e.disabled&&Tm(n,e)}function dd(n,e){return!0===e.useNative&&k(Sm,q(n.element()))}function md(n){Kr(n.element(),"disabled","disabled")}function gd(n){no(n.element(),"disabled")}function pd(n){Kr(n.element(),"aria-disabled","true")}function hd(n){Kr(n.element(),"aria-disabled","false")}function vd(e,n,t){n.disableClass.each(function(n){co(e.element(),n)}),(dd(e,n)?gd:hd)(e),n.onEnabled(e)}function yd(n,e){return dd(n,e)?function(n){return Zr(n.element(),"disabled")}(n):function(n){return"true"===Qr(n.element(),"aria-disabled")}(n)}function bd(n){return"<alloy.field."+n+">"}function xd(){function e(){t.get().each(function(n){n.destroy()})}var t=Zn(An.none());return{clear:function(){e(),t.set(An.none())},isSet:function(){return t.get().isSome()},set:function(n){e(),t.set(An.some(n))},run:function(n){t.get().each(n)}}}function wd(){var e=Zn(An.none());return{clear:function(){e.set(An.none())},set:function(n){e.set(An.some(n))},isSet:function(){return e.get().isSome()},on:function(n){e.get().each(n)}}}function Sd(n){function r(e,n,t){return zs.sketch({dom:Gs('<span class="${prefix}-icon-'+n+' ${prefix}-icon"></span>'),action:function(n){U(n,u,{direction:e})},buttonBehaviours:Bo([Cm.config({disableClass:ji.resolve("toolbar-navigation-disabled"),disabled:!t})])})}function o(n,o){var i=qi(n.element(),"."+ji.resolve("serialised-dialog-screen"));Ji(n.element(),"."+ji.resolve("serialised-dialog-chain")).each(function(r){0<=c.state.currentScreen.get()+o&&c.state.currentScreen.get()+o<i.length&&(mi(r,"left").each(function(n){var e=parseInt(n,10),t=Df(i[0]);Li(r,"left",e-o*t+"px")}),c.state.currentScreen.set(c.state.currentScreen.get()+o))})}function i(e){var n=qi(e.element(),"input");An.from(n[c.state.currentScreen.get()]).each(function(n){e.getSystem().getByDom(n).each(function(n){!function(n,e){n.getSystem().triggerFocus(e,n.element())}(e,n.element())})});var t=f.get(e);Eu.highlightAt(t,c.state.currentScreen.get())}var u="navigateEvent",e=Or([Yt("fields"),tr("maxFieldIndex",n.fields.length-1),Yt("onExecute"),Yt("getInitialValue"),or("state",function(){return{dialogSwipeState:wd(),currentScreen:Zn(0)}})]),c=Xt("SerialisedDialog",e,n),a=Ns(Im(function(t){return{dom:Gs('<div class="${prefix}-serialised-dialog"></div>'),components:[gm.sketch({dom:Gs('<div class="${prefix}-serialised-dialog-chain" style="left: 0px; position: absolute;"></div>'),components:ke(c.fields,function(n,e){return e<=c.maxFieldIndex?gm.sketch({dom:Gs('<div class="${prefix}-serialised-dialog-screen"></div>'),components:[r(-1,"previous",0<e),t.field(n.name,n.spec),r(1,"next",e<c.maxFieldIndex)]}):t.field(n.name,n.spec)})})],formBehaviours:Bo([Bi(function(n,e){!function(n,e){Ji(n.element(),"."+ji.resolve("serialised-dialog-chain")).each(function(n){Li(n,"left",-c.state.currentScreen.get()*e.width+"px")})}(n,e)}),Ba.config({mode:"special",focusIn:function(n){i(n)},onTab:function(n){return o(n,1),An.some(!0)},onShiftTab:function(n){return o(n,-1),An.some(!0)}}),sm("form-events",[Eo(function(e,n){c.state.currentScreen.set(0),c.state.dialogSwipeState.clear();var t=f.get(e);Eu.highlightFirst(t),c.getInitialValue(e).each(function(n){fl.setValue(e,n)})}),Mo(c.onExecute),_r(Jn(),function(n,e){"left"===e.event().raw().propertyName&&i(n)}),_r(u,function(n,e){var t=e.event().direction();o(n,t)})])])}})),f=Ns({dom:Gs('<div class="${prefix}-dot-container"></div>'),behaviours:Bo([Eu.config({highlightClass:ji.resolve("dot-active"),itemClass:ji.resolve("dot-item")})]),components:B(c.fields,function(n,e){return e<=c.maxFieldIndex?[yf('<div class="${prefix}-dot-item ${prefix}-icon-full-dot ${prefix}-icon"></div>')]:[]})});return{dom:Gs('<div class="${prefix}-serializer-wrapper"></div>'),components:[a.asSpec(),f.asSpec()],behaviours:Bo([Ba.config({mode:"special",focusIn:function(n){var e=a.get(n);Ba.focusIn(e)}}),sm("serializer-wrapper-events",[_r(Pn(),function(n,e){var t=e.event();c.state.dialogSwipeState.set(Rm(t.raw().touches[0].clientX))}),_r(Hn(),function(n,e){var t=e.event();c.state.dialogSwipeState.on(function(n){e.event().prevent(),c.state.dialogSwipeState.set(Fm(n,t.raw().touches[0].clientX))})}),_r(zn(),function(r){c.state.dialogSwipeState.on(function(n){var e=a.get(r),t=-1*Am(n);o(e,t)})})])])}}function Td(e){function n(n){return function(){throw new Error("The component must be in a context to send: "+n+"\n"+bo(e().element())+" is not in context.")}}return{debugInfo:v("fake"),triggerEvent:n("triggerEvent"),triggerFocus:n("triggerFocus"),triggerEscape:n("triggerEscape"),build:n("build"),addToWorld:n("addToWorld"),removeFromWorld:n("removeFromWorld"),addToGui:n("addToGui"),removeFromGui:n("removeFromGui"),getByUid:n("getByUid"),getByDom:n("getByDom"),broadcast:n("broadcast"),broadcastOn:n("broadcastOn"),broadcastEvent:n("broadcastEvent"),isConnected:v(!1)}}function Od(n,o){var i={};return Nn(n,function(n,r){Nn(n,function(n,e){var t=kn(e,[])(i);i[e]=t.concat([o(r,n)])})}),i}function kd(n){return n.cHandler}function Ed(n,e){return{name:v(n),handler:v(e)}}function Cd(n,e,t){var r=x(x({},t),function(n,e){var t={};return C(n,function(n){t[n.name()]=n.handlers(e)}),t}(e,n));return Od(r,Ed)}function Dd(n){var i=function(n){return xe(n)?{can:v(!0),abort:v(!1),run:n}:n}(n);return function(n,e){for(var t=[],r=2;r<arguments.length;r++)t[r-2]=arguments[r];var o=[n,e].concat(t);i.abort.apply(undefined,o)?e.stop():i.can.apply(undefined,o)&&i.run.apply(undefined,o)}}function Md(n,e,t){var r=e[t];return r?function(u,c,n,a){var e=n.slice(0);try{var t=e.sort(function(n,e){var t=n[c](),r=e[c](),o=a.indexOf(t),i=a.indexOf(r);if(-1===o)throw new Error("The ordering for "+u+" does not have an entry for "+t+".\nOrder specified: "+JSON.stringify(a,null,2));if(-1===i)throw new Error("The ordering for "+u+" does not have an entry for "+r+".\nOrder specified: "+JSON.stringify(a,null,2));return o<i?-1:i<o?1:0});return vt.value(t)}catch(r){return vt.error([r])}}("Event: "+t,"name",n,r).map(function(n){var e=ke(n,function(n){return n.handler()});return cr(e)}):function(n,e){return vt.error(["The event ("+n+') has more than one behaviour that listens to it.\nWhen this occurs, you must specify an event ordering for the behaviours in your spec (e.g. [ "listing", "toggling" ]).\nThe behaviours that can trigger it are: '+JSON.stringify(ke(e,function(n){return n.name()}),null,2)])}(t,n)}function Id(n){return $t("custom.definition",Or([Cr("dom","dom",Tt(),Or([Yt("tag"),tr("styles",{}),tr("classes",[]),tr("attributes",{}),Qt("value"),Qt("innerHtml")])),Yt("components"),Yt("uid"),tr("events",{}),tr("apis",{}),Cr("eventOrder","eventOrder",function(n){return St.mergeWithThunk(v(n))}({"alloy.execute":["disabling","alloy.base.behaviour","toggling","typeaheadevents"],"alloy.focus":["alloy.base.behaviour","focusing","keying"],"alloy.system.init":["alloy.base.behaviour","disabling","toggling","representing"],input:["alloy.base.behaviour","representing","streaming","invalidating"],"alloy.system.detached":["alloy.base.behaviour","representing","item-events","tooltipping"],mousedown:["focusing","alloy.base.behaviour","item-type-events"],mouseover:["item-type-events","tooltipping"]}),Ir()),Qt("domModification")]),n)}function Rd(e,n){C(n,function(n){io(e,n)})}function Fd(e,n){C(n,function(n){co(e,n)})}function Ad(n,e){return function(e,n){var t=ke(n,function(n){return nr(n.name(),[Yt("config"),tr("state",Fo)])}),r=$t("component.behaviours",Or(t),e.behaviours).fold(function(n){throw new Error(Mr(n)+"\nComplete spec:\n"+JSON.stringify(e,null,2))},function(n){return n});return{list:n,data:S(r,function(n){var e=n.map(function(n){return{config:n.config,state:n.state.init(n.config)}});return function(){return e}})}}(n,e)}function Bd(n){var e=function(n){var e=kn("behaviours",{})(n),t=D(Bn(e),function(n){return e[n]!==undefined});return ke(t,function(n){return e[n].me})}(n);return Ad(n,e)}function Vd(n,e,t){var r=function(n){return x(x({},n.dom),{uid:n.uid,domChildren:ke(n.components,function(n){return n.element()})})}(n),o=function(n){return n.domModification.fold(function(){return Ur({})},Ur)}(n),i={"alloy.base.modification":o};return function(n,e){return x(x({},n),{attributes:x(x({},n.attributes),e.attributes),styles:x(x({},n.styles),e.styles),classes:n.classes.concat(e.classes)})}(r,0<e.length?function(e,n,t,r){var o=x({},n);C(t,function(n){o[n.name()]=n.exhibit(e,r)});function i(n){return M(n,function(n,e){return x(x({},e.modification),n)},{})}var u=Od(o,function(n,e){return{name:n,modification:e}}),c=M(u.classes,function(n,e){return e.modification.concat(n)},[]),a=i(u.attributes),f=i(u.styles);return Ur({classes:c,attributes:a,styles:f})}(t,i,e,r):o)}function Nd(n,e,t){var r={"alloy.base.behaviour":function(n){return n.events}(n)};return function(n,e,t,r){var o=Cd(n,t,r);return zm(o,e)}(t,n.eventOrder,e,r).getOrDie()}function jd(t){function n(){return s}var r=Zn(Pm),e=Wt(Id(t)),o=Bd(t),i=function(n){return n.list}(o),u=function(n){return n.data}(o),c=function(n){var e=Je.fromTag(n.tag);Jr(e,n.attributes),Rd(e,n.classes),li(e,n.styles),n.innerHtml.each(function(n){return ho(e,n)});var t=n.domChildren;return gn(e,t),n.value.each(function(n){ad(e,n)}),n.uid,df(e,n.uid),e}(Vd(e,i,u)),a=Nd(e,i,u),f=Zn(e.components),s={getSystem:r.get,config:function(n){var e=u;return(xe(e[n.name()])?e[n.name()]:function(){throw new Error("Could not find "+n.name()+" in "+JSON.stringify(t,null,2))})()},hasConfigured:function(n){return xe(u[n.name()])},spec:v(t),readState:function(n){return u[n]().map(function(n){return n.state.readState()}).getOr("not enabled")},getApis:function(){return e.apis},connect:function(n){r.set(n)},disconnect:function(){r.set(Td(n))},element:v(c),syncComponents:function(){var n=at(c),e=B(n,function(n){return r.get().getByDom(n).fold(function(){return[]},function(n){return[n]})});f.set(e)},components:f.get,events:v(a)};return s}function _d(n){var e=_m(n),t=e.events,r=u(e,["events"]),o=function(n){var e=kn("components",[])(n);return ke(e,Um)}(r),i=x(x({},r),{events:x(x({},jm),t),components:o});return vt.value(jd(i))}function Pd(n){var e=Je.fromText(n);return Lm({element:e})}function Hd(n){(go(n.element()).isNone()||zi.isFocused(n))&&(zi.isFocused(n)||zi.focus(n),U(n,Wm,{item:n}))}function zd(n){U(n,Xm,{item:n})}function Ld(n,e,t,r){var o=n.getSystem().build(r);mt(n,o,t)}function Gd(n,e,t,r){var o=ig(n);R(o,function(n){return cn(r.element(),n.element())}).each(yn)}function Ud(e,n,t,r,o){var i=ig(e);return An.from(i[r]).map(function(n){return Gd(e,0,0,n),o.each(function(n){Ld(e,0,function(n,e){!function(n,e,t){sn(n,t).fold(function(){ft(n,e)},function(n){ln(n,e)})}(n,e,r)},n)}),n})}function $d(n,e){var t={};Nn(n,function(n,e){C(n,function(n){t[n]=e})});var r=e,o=function(n){return jn(n,function(n,e){return{k:n,v:e}})}(e),i=S(o,function(n,e){return[e].concat(cg(t,r,o,e))});return S(t,function(n){return Dt(i,n).getOr([n])})}function Wd(n,e,t,r){return Dt(e.routes,r.start).bind(function(n){return Dt(n,r.destination)})}function Xd(t,r,n){(function(e,t,r){return mg(e,t).bind(function(n){return dg(e,t,r,n)})})(t,r,n).each(function(n){var e=n.transition;co(t.element(),e.transitionClass),no(t.element(),r.destinationAttr)})}function qd(n,e,t,r){Xd(n,e,t),Zr(n.element(),e.stateAttr)&&Qr(n.element(),e.stateAttr)!==r&&e.onFinish(n,r),Kr(n.element(),e.stateAttr,r)}function Yd(n){return Dt(n,"format").getOr(n.title)}function Kd(n){return Mn(n,"items")?function(n){var e=xt(On(n,["items"]),{menu:!0}),t=Tg(n.items);return{item:e,menus:xt(t.menus,En(n.title,t.items)),expansions:xt(t.expansions,En(n.title,n.title))}}(n):{item:n,menus:{},expansions:{}}}function Jd(n){var e=n.replace(/\|/g," ").trim();return 0<e.length?e.split(/\s+/):[]}function Qd(n){var e=n.toolbar!==undefined?n.toolbar:Cg;return ye(e)?Dg(e):Jd(e)}function Zd(n){function e(){n.stopPropagation()}function t(){n.preventDefault()}var r=Je.fromDom(n.target),o=i(t,e);return function(n,e,t,r,o,i,u){return{target:v(n),x:v(e),y:v(t),stop:r,prevent:o,kill:i,raw:v(u)}}(r,n.clientX,n.clientY,e,t,o,n)}function nm(n,e,t,r,o){var i=function(e,t){return function(n){e(n)&&t(Zd(n))}}(t,r);return n.dom().addEventListener(e,i,o),{unbind:l(Rg,n,e,i,o)}}function em(n,e,t){return function(n,e,t,r){return nm(n,e,t,r,!1)}(n,e,Fg,t)}function tm(n,e,t){return function(n,e,t,r){return nm(n,e,t,r,!0)}(n,e,Fg,t)}function rm(n){var e=n.matchMedia("(orientation: portrait)").matches;return{isPortrait:v(e)}}var om,im,um=function(n){var e=Je.fromDom(n.selection.getStart());return Qi(e,"a")},cm={getInfo:function(n){return um(n).fold(function(){return function(n){return{url:"",text:n.selection.getContent({format:"text"}),title:"",target:"",link:An.none()}}(n)},function(n){return function(n){var e=td(n),t=Qr(n,"href"),r=Qr(n,"title"),o=Qr(n,"target");return{url:od(t),text:e!==t?od(e):"",title:od(r),target:od(o),link:An.some(n)}}(n)})},applyInfo:function(e,o){o.url.toOption().filter(rd).fold(function(){!function(e,n){n.link.bind(y).each(function(n){e.execCommand("unlink")})}(e,o)},function(t){var r=function(n,e){var t={};return t.href=n,e.title.toOption().filter(rd).each(function(n){t.title=n}),e.target.toOption().filter(rd).each(function(n){t.target=n}),t}(t,o);o.link.bind(y).fold(function(){var n=o.text.toOption().filter(rd).getOr(t);e.insertContent(e.dom.createHTML("a",r,e.dom.encode(n)))},function(e){var n=id(e,t,o);Jr(e,r),n.each(function(n){!function(n,e){n.dom().textContent=e}(e,n)})})})},query:um},am=L(),fm=function(n,e){(am.os.isAndroid()?ud:t)(e,n)},sm=function(n,e){return{key:n,value:{config:{},me:function(n,e){var t=Nr(e);return qr({fields:[Yt("enabled")],name:n,active:{events:v(t)}})}(n,e),configAsRaw:v({}),initialConfig:{},state:Fo}}},lm=/* */Object.freeze({getCurrent:function(n,e,t){return e.find(n)}}),dm=[Yt("find")],mm=qr({fields:dm,name:"composing",apis:lm}),gm=pf({name:"Container",factory:function(n){var e=n.dom,t=e.attributes,r=u(e,["attributes"]);return{uid:n.uid,dom:x({tag:"div",attributes:x({role:"presentation"},t)},r),components:n.components,behaviours:mc(n.containerBehaviours),events:n.events,domModification:n.domModification,eventOrder:n.eventOrder}},configFields:[tr("components",[]),dc("containerBehaviours",[]),tr("events",{}),tr("domModification",{}),tr("eventOrder",{})]}),pm=pf({name:"DataField",factory:function(t){return{uid:t.uid,dom:t.dom,behaviours:Na(t.dataBehaviours,[fl.config({store:{mode:"memory",initialValue:t.getInitialValue()}}),mm.config({find:An.some})]),events:Nr([Eo(function(n,e){fl.setValue(n,t.getInitialValue())})])}},configFields:[Yt("uid"),Yt("dom"),Yt("getInitialValue"),Va("dataBehaviours",[fl,mm])]}),hm=v([Qt("data"),tr("inputAttributes",{}),tr("inputStyles",{}),tr("tag","input"),tr("inputClasses",[]),Ko("onSetValue"),tr("styles",{}),tr("eventOrder",{}),dc("inputBehaviours",[fl,zi]),tr("selectOnFocus",!0)]),vm=pf({name:"Input",configFields:hm(),factory:function(n,e){return{uid:n.uid,dom:function(n){return{tag:n.tag,attributes:x({type:"text"},n.inputAttributes),styles:n.inputStyles,classes:n.inputClasses}}(n),components:[],behaviours:fd(n),eventOrder:n.eventOrder}}}),ym=/* */Object.freeze({exhibit:function(n,e){return Ur({attributes:Cn([{key:e.tabAttr,value:"true"}])})}}),bm=[tr("tabAttr","data-alloy-tabstop")],xm=qr({fields:bm,name:"tabstopping",active:ym}),wm=tinymce.util.Tools.resolve("tinymce.util.I18n"),Sm=["input","button","textarea","select"],Tm=function(e,n,t){n.disableClass.each(function(n){io(e.element(),n)}),(dd(e,n)?md:pd)(e),n.onDisabled(e)},Om=/* */Object.freeze({enable:vd,disable:Tm,isDisabled:yd,onLoad:ld,set:function(n,e,t,r){(r?Tm:vd)(n,e,t)}}),km=/* */Object.freeze({exhibit:function(n,e,t){return Ur({classes:e.disabled?e.disableClass.map(_).getOr([]):[]})},events:function(t,n){return Nr([jr(_e(),function(n,e){return yd(n,t)}),$r(t,n,ld)])}}),Em=[tr("disabled",!1),tr("useNative",!0),Qt("disableClass"),Ko("onDisabled"),Ko("onEnabled")],Cm=qr({fields:Em,name:"disabling",active:km,apis:Om}),Dm=[dc("formBehaviours",[fl])],Mm=function(r,n,e){return{uid:r.uid,dom:r.dom,components:n,behaviours:gc(r.formBehaviours,[fl.config({store:{mode:"manual",getValue:function(n){var e=function(n,e){var t=n.getSystem();return S(e.partUids,function(n,e){return v(t.getByUid(n))})}(n,r);return S(e,function(n,e){return n().bind(function(n){return function(n,e){return n.fold(function(){return vt.error(e)},vt.value)}(mm.getCurrent(n),"missing current")}).map(fl.getValue)})},setValue:function(t,n){Nn(n,function(e,n){Oc(t,r,n).each(function(n){mm.getCurrent(n).each(function(n){fl.setValue(n,e)})})})}}})]),apis:{getField:function(n,e){return Oc(n,r,e).bind(mm.getCurrent)}}}},Im=(Mc(function(n,e,t){return n.getField(e,t)}),function(n){var t,e=(t=[],{field:function(n,e){return t.push(n),function(n,e,t){return{uiType:La(),owner:n,name:e,config:t,validated:{}}}("form",bd(n),e)},record:function(){return t}}),r=n(e),o=e.record(),i=ke(o,function(n){return ef({name:n,pname:bd(n)})});return Fc("form",Dm,i,Mm,r)}),Rm=function(n){return{xValue:n,points:[]}},Fm=function(n,e){if(e===n.xValue)return n;var t=0<e-n.xValue?1:-1,r={direction:t,xValue:e};return{xValue:e,points:(0===n.points.length?[]:n.points[n.points.length-1].direction===t?n.points.slice(0,n.points.length-1):n.points).concat([r])}},Am=function(n){if(0===n.points.length)return 0;var e=n.points[0].direction,t=n.points[n.points.length-1].direction;return-1===e&&-1===t?-1:1===e&&1===t?1:0},Bm=X(function(t,r){return[{label:"the link group",items:[Sd({fields:[sd("url","Type or paste URL"),sd("text","Link text"),sd("title","Link title"),sd("target","Link target"),function(n){return{name:n,spec:pm.sketch({dom:{tag:"span",styles:{display:"none"}},getInitialValue:function(){return An.none()}})}}("link")],maxFieldIndex:["url","text","title","target"].length-1,getInitialValue:function(){return An.some(cm.getInfo(r))},onExecute:function(n){var e=fl.getValue(n);cm.applyInfo(r,e),t.restoreToolbar(),r.focus()}})]}]}),Vm=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strikethrough",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Alignment",items:[{title:"Left",icon:"alignleft",format:"alignleft"},{title:"Center",icon:"aligncenter",format:"aligncenter"},{title:"Right",icon:"alignright",format:"alignright"},{title:"Justify",icon:"alignjustify",format:"alignjustify"}]}],Nm=Nr([(om=Be(),im=function(n,e){var t=e.event().originator(),r=e.event().target();return!function(n,e,t){return cn(e,n.element())&&!cn(e,t)}(n,t,r)||(d.console.warn(Be()+" did not get interpreted by the desired target. \nOriginator: "+bo(t)+"\nTarget: "+bo(r)+"\nCheck the "+Be()+" event handlers"),!1)},{key:om,value:ur({can:im})})]),jm=/* */Object.freeze({events:Nm}),_m=y,Pm=Td(),Hm=function(n,e){return function(n,e){return{cHandler:n,purpose:v(e)}}(l.apply(undefined,[n.handler].concat(e)),n.purpose())},zm=function(n,i){var e=_n(n,function(r,o){return(1===r.length?vt.value(r[0].handler()):Md(r,i,o)).map(function(n){var e=Dd(n),t=1<r.length?D(i[o],function(e){return E(r,function(n){return n.name()===e})}).join(" > "):r[0].name();return En(o,function(n,e){return{handler:n,purpose:v(e)}}(e,t))})});return Dn(e,{})},Lm=function(n){var e=Xt("external.component",Pt([Yt("element"),Qt("uid")]),n),t=Zn(Td());e.uid.each(function(n){df(e.element,n)});var r={getSystem:t.get,config:An.none,hasConfigured:v(!1),connect:function(n){t.set(n)},disconnect:function(){t.set(Td(function(){return r}))},getApis:function(){return{}},element:v(e.element),spec:v(n),readState:v("No state"),syncComponents:w,components:v([]),events:v({})};return Dc(r)},Gm=Ic,Um=function(e){return function(n){return Dt(n,cf)}(e).fold(function(){var n=e.hasOwnProperty("uid")?e:x({uid:Gm("")},e);return _d(n).getOrDie()},function(n){return n})},$m=Dc,Wm="alloy.item-hover",Xm="alloy.item-focus",qm=v(Wm),Ym=v(Xm),Km=[Yt("data"),Yt("components"),Yt("dom"),tr("hasSubmenu",!1),Qt("toggling"),Va("itemBehaviours",[Fi,zi,Ba,fl]),tr("ignoreFocus",!1),tr("domModification",{}),ni("builder",function(n){return{dom:n.dom,domModification:x(x({},n.domModification),{attributes:x(x(x({role:n.toggling.isSome()?"menuitemcheckbox":"menuitem"},n.domModification.attributes),{"aria-haspopup":n.hasSubmenu}),n.hasSubmenu?{"aria-expanded":!1}:{})}),behaviours:Na(n.itemBehaviours,[n.toggling.fold(Fi.revoke,function(n){return Fi.config(x({aria:{mode:"checked"}},n))}),zi.config({ignore:n.ignoreFocus,stopMousedown:n.ignoreFocus,onFocus:function(n){zd(n)}}),Ba.config({mode:"execution"}),fl.config({store:{mode:"memory",initialValue:n.data}}),sm("item-type-events",[_r(ze(),$),Lr(Ln()),_r($n(),Hd),_r(Pe(),zi.focus)])]),components:n.components,eventOrder:n.eventOrder}}),tr("eventOrder",{})],Jm=[Yt("dom"),Yt("components"),ni("builder",function(n){return{dom:n.dom,components:n.components,events:Nr([function(n){return _r(n,function(n,e){e.stop()})}(Pe())])}})],Qm=v([ef({name:"widget",overrides:function(e){return{behaviours:Bo([fl.config({store:{mode:"manual",getValue:function(n){return e.data},setValue:function(){}}})])}}})]),Zm=[Yt("uid"),Yt("data"),Yt("components"),Yt("dom"),tr("autofocus",!1),tr("ignoreFocus",!1),Va("widgetBehaviours",[fl,zi,Ba]),tr("domModification",{}),Cc(Qm()),ni("builder",function(t){function r(n){return Oc(n,t,"widget").map(function(n){return Ba.focusIn(n),n})}function n(n,e){return Mu(e.event().target())||t.autofocus&&e.setSource(n.element()),An.none()}var e=Sc(0,t,Qm()),o=Tc("item-widget",t,e.internals());return{dom:t.dom,components:o,domModification:t.domModification,events:Nr([Mo(function(n,e){r(n).each(function(n){e.stop()})}),_r($n(),Hd),_r(Pe(),function(n,e){t.autofocus?r(n):zi.focus(n)})]),behaviours:Na(t.widgetBehaviours,[fl.config({store:{mode:"memory",initialValue:t.data}}),zi.config({ignore:t.ignoreFocus,onFocus:function(n){zd(n)}}),Ba.config({mode:"special",focusIn:t.autofocus?function(n){r(n)}:jo(),onLeft:n,onRight:n,onEscape:function(n,e){return zi.isFocused(n)||t.autofocus?(t.autofocus&&e.setSource(n.element()),An.none()):(zi.focus(n),An.some(!0))}})])}})],ng=qt("type",{widget:Zm,item:Km,separator:Jm}),eg=v([rf({factory:{sketch:function(n){var e=Xt("menu.spec item",ng,n);return e.builder(e)}},name:"items",unit:"item",defaults:function(n,e){return e.hasOwnProperty("uid")?e:x(x({},e),{uid:Ic("item")})},overrides:function(n,e){return{type:e.type,ignoreFocus:n.fakeFocus,domModification:{classes:[n.markers.item]}}}})]),tg=v([Yt("value"),Yt("items"),Yt("dom"),Yt("components"),tr("eventOrder",{}),dc("menuBehaviours",[Eu,fl,mm,Ba]),rr("movement",{mode:"menu",moveOnTab:!0},qt("mode",{grid:[Oi(),ni("config",function(n,e){return{mode:"flatgrid",selector:"."+n.markers.item,initSize:{numColumns:e.initSize.numColumns,numRows:e.initSize.numRows},focusManager:n.focusManager}})],matrix:[ni("config",function(n,e){return{mode:"matrix",selectors:{row:e.rowSelector,cell:"."+n.markers.item},focusManager:n.focusManager}}),Yt("rowSelector")],menu:[tr("moveOnTab",!0),ni("config",function(n,e){return{mode:"menu",selector:"."+n.markers.item,moveOnTab:e.moveOnTab,focusManager:n.focusManager}})]})),Kt("markers",Si()),tr("fakeFocus",!1),tr("focusManager",gu()),Ko("onHighlight")]),rg=v("alloy.menu-focus"),og=hf({name:"Menu",configFields:tg(),partFields:eg(),factory:function(n,e,t,r){return{uid:n.uid,dom:n.dom,markers:n.markers,behaviours:gc(n.menuBehaviours,[Eu.config({highlightClass:n.markers.selectedItem,itemClass:n.markers.item,onHighlight:n.onHighlight}),fl.config({store:{mode:"memory",initialValue:n.value}}),mm.config({find:An.some}),Ba.config(n.movement.config(n,n.movement))]),events:Nr([_r(Ym(),function(e,t){var n=t.event();e.getSystem().getByDom(n.target()).each(function(n){Eu.highlight(e,n),t.stop(),U(e,rg(),{menu:e,item:n})})}),_r(qm(),function(n,e){var t=e.event().item();Eu.highlight(n,t)})]),components:e,eventOrder:n.eventOrder,domModification:{attributes:{role:"menu"}}}}}),ig=function(n,e){return n.components()},ug=qr({fields:[],name:"replacing",apis:/* */Object.freeze({append:function(n,e,t,r){Ld(n,0,ft,r)},prepend:function(n,e,t,r){Ld(n,0,mn,r)},remove:Gd,replaceAt:Ud,replaceBy:function(e,n,t,r,o){var i=ig(e);return F(i,r).bind(function(n){return Ud(e,0,0,n,o)})},set:function(e,n,t,r){!function(n,t){var r=an(t),e=mo(r).bind(function(e){function n(n){return cn(e,n)}return n(t)?An.some(t):Vr(t,n)}),o=n(t);e.each(function(e){mo(r).filter(function(n){return cn(n,e)}).fold(function(){so(e)},w)})}(function(){var n=ke(r,e.getSystem().build);vn(e,n)},e.element())},contents:ig})}),cg=function(t,r,o,n){return Dt(o,n).bind(function(n){return Dt(t,n).bind(function(n){var e=cg(t,r,o,n);return An.some([n].concat(e))})}).getOr([])},ag=function(n){return"prepared"===n.type?An.some(n.menu):An.none()},fg={init:function(){function o(t){return function(n,e){for(var t=Bn(n),r=0,o=t.length;r<o;r++){var i=t[r],u=n[i];if(e(u,i,n))return An.some(u)}return An.none()}(i.get(),function(n,e){return n===t})}var i=Zn({}),u=Zn({}),c=Zn({}),a=Zn(An.none()),f=Zn({}),s=function(n){return e(n).bind(ag)},e=function(n){return Dt(u.get(),n)},t=function(n){return Dt(i.get(),n)};return{setMenuBuilt:function(n,e){var t;u.set(x(x({},u.get()),((t={})[n]={type:"prepared",menu:e},t)))},setContents:function(n,e,t,r){a.set(An.some(n)),i.set(t),u.set(e),f.set(r);var o=$d(r,t);c.set(o)},expand:function(t){return Dt(i.get(),t).map(function(n){var e=Dt(c.get(),t).getOr([]);return[n].concat(e)})},refresh:function(n){return Dt(c.get(),n)},collapse:function(n){return Dt(c.get(),n).bind(function(n){return 1<n.length?An.some(n.slice(1)):An.none()})},lookupMenu:e,lookupItem:t,otherMenus:function(n){var e=f.get();return j(Bn(e),n)},getPrimary:function(){return a.get().bind(s)},getMenus:function(){return u.get()},clear:function(){i.set({}),u.set({}),c.set({}),a.set(An.none())},isClear:function(){return a.get().isNone()},getTriggeringPath:function(n,r){var e=D(t(n).toArray(),function(n){return s(n).isSome()});return Dt(c.get(),n).bind(function(n){var t=N(e.concat(n));return function(n){for(var e=[],t=0;t<n.length;t++){var r=n[t];if(!r.isSome())return An.none();e.push(r.getOrDie())}return An.some(e)}(B(t,function(n,e){return function(n,t,r){return s(n).bind(function(e){return o(n).bind(function(n){return t(n).map(function(n){return{triggeredMenu:e,triggeringItem:n,triggeringPath:r}})})})}(n,r,t.slice(0,e+1)).fold(function(){return a.get().is(n)?[]:[An.none()]},function(n){return[An.some(n)]})}))})}}},extractPreparedMenu:ag},sg=v("collapse-item"),lg=pf({name:"TieredMenu",configFields:[Zo("onExecute"),Zo("onEscape"),Qo("onOpenMenu"),Qo("onOpenSubmenu"),Qo("onRepositionMenu"),Ko("onCollapseMenu"),tr("highlightImmediately",!0),Jt("data",[Yt("primary"),Yt("menus"),Yt("expansions")]),tr("fakeFocus",!1),Ko("onHighlight"),Ko("onHover"),Jt("markers",[Yt("backgroundMenu")].concat(xi()).concat(wi())),Yt("dom"),tr("navigateOnHover",!0),tr("stayInDom",!1),dc("tmenuBehaviours",[Ba,Eu,mm,ug]),tr("eventOrder",{})],apis:{collapseMenu:function(n,e){n.collapseMenu(e)},highlightPrimary:function(n,e){n.highlightPrimary(e)},repositionMenus:function(n,e){n.repositionMenus(e)}},factory:function(c,n){function r(r,o,n){return S(n,function(n,e){function t(){return og.sketch(x(x({dom:n.dom},n),{value:e,items:n.items,markers:c.markers,fakeFocus:c.fakeFocus,onHighlight:c.onHighlight,focusManager:c.fakeFocus?function(){function o(n){return Eu.getHighlighted(n).map(function(n){return n.element()})}return{get:o,set:function(e,n){var t=o(e);e.getSystem().getByDom(n).fold(w,function(n){Eu.highlight(e,n)});var r=o(e);mu(e,t,r)}}}():gu()}))}return e===o?{type:"prepared",menu:r.getSystem().build(t())}:{type:"notbuilt",nbMenu:t}})}function a(n){return fl.getValue(n).value}function u(e,n){Eu.highlight(e,n),Eu.getHighlighted(n).orThunk(function(){return Eu.getFirst(n)}).each(function(n){W(e,n.element(),Pe())})}function f(e,n){return xo(ke(n,function(n){return e.lookupMenu(n).bind(function(n){return"prepared"===n.type?An.some(n.menu):An.none()})}))}function s(e,n,t){var r=f(n,n.otherMenus(t));C(r,function(n){Fd(n.element(),[c.markers.backgroundMenu]),c.stayInDom||ug.remove(e,n)})}function l(n,r){var e=function(r){return o.get().getOrThunk(function(){var t={},n=qi(r.element(),"."+c.markers.item),e=D(n,function(n){return"true"===Qr(n,"aria-haspopup")});return C(e,function(n){r.getSystem().getByDom(n).each(function(n){var e=a(n);t[e]=n})}),o.set(An.some(t)),t})}(n);Nn(e,function(n,e){var t=k(r,e);Kr(n.element(),"aria-expanded",t)})}function d(r,o,i){return An.from(i[0]).bind(function(n){return o.lookupMenu(n).bind(function(n){if("notbuilt"===n.type)return An.none();var e=n.menu,t=f(o,i.slice(1));return C(t,function(n){io(n.element(),c.markers.backgroundMenu)}),K(e.element())||ug.append(r,$m(e)),Fd(e.element(),[c.markers.backgroundMenu]),u(r,e),s(r,o,i),An.some(e)})})}var m,e,o=Zn(An.none()),g=fg.init(),i=function(n){return S(c.data.menus,function(n,e){return B(n.items,function(n){return"separator"===n.type?[]:[n.data.value]})})};(e=m=m||{})[e.HighlightSubmenu=0]="HighlightSubmenu",e[e.HighlightParent=1]="HighlightParent";function p(o,i,u){void 0===u&&(u=m.HighlightSubmenu);var n=a(i);return g.expand(n).bind(function(r){return l(o,r),An.from(r[0]).bind(function(t){return g.lookupMenu(t).bind(function(n){var e=function(n,e,t){if("notbuilt"!==t.type)return t.menu;var r=n.getSystem().build(t.nbMenu());return g.setMenuBuilt(e,r),r}(o,t,n);return K(e.element())||ug.append(o,$m(e)),c.onOpenSubmenu(o,i,e,N(r)),u===m.HighlightSubmenu?(Eu.highlightFirst(e),d(o,g,r)):(Eu.dehighlightAll(e),An.some(i))})})})}function h(e,t){var n=a(t);return g.collapse(n).bind(function(n){return l(e,n),d(e,g,n).map(function(n){return c.onCollapseMenu(e,t,n),n})})}function t(t){return function(e,n){return Qi(n.getSource(),"."+c.markers.item).bind(function(n){return e.getSystem().getByDom(n).toOption().bind(function(n){return t(e,n).map(function(){return!0})})})}}function v(n){return Eu.getHighlighted(n).bind(Eu.getHighlighted)}var y=Nr([_r(rg(),function(t,r){var n=r.event().item();g.lookupItem(a(n)).each(function(){var n=r.event().menu();Eu.highlight(t,n);var e=a(r.event().item());g.refresh(e).each(function(n){return s(t,g,n)})})}),Mo(function(e,n){var t=n.event().target();e.getSystem().getByDom(t).each(function(n){0===a(n).indexOf("collapse-item")&&h(e,n),p(e,n,m.HighlightSubmenu).fold(function(){c.onExecute(e,n)},function(){})})}),Eo(function(e,n){(function(n){var e=r(n,c.data.primary,c.data.menus),t=i();return g.setContents(c.data.primary,e,c.data.expansions,t),g.getPrimary()})(e).each(function(n){ug.append(e,$m(n)),c.onOpenMenu(e,n),c.highlightImmediately&&u(e,n)})})].concat(c.navigateOnHover?[_r(qm(),function(n,e){var t=e.event().item();!function(e,n){var t=a(n);g.refresh(t).bind(function(n){return l(e,n),d(e,g,n)})}(n,t),p(n,t,m.HighlightParent),c.onHover(n,t)})]:[])),b={collapseMenu:function(e){v(e).each(function(n){h(e,n)})},highlightPrimary:function(e){g.getPrimary().each(function(n){u(e,n)})},repositionMenus:function(r){g.getPrimary().bind(function(e){return v(r).bind(function(n){var e=a(n),t=function(n){return _n(n,function(n){return n})}(g.getMenus()),r=xo(ke(t,fg.extractPreparedMenu));return g.getTriggeringPath(e,function(n){return function(n,e,t){return wo(e,function(n){if(!n.getSystem().isConnected())return An.none();var e=Eu.getCandidates(n);return R(e,function(n){return a(n)===t})})}(0,r,n)})}).map(function(n){return{primary:e,triggeringPath:n}})}).fold(function(){(function(n){return An.from(n.components()[0]).filter(function(n){return"menu"===Qr(n.element(),"role")})})(r).each(function(n){c.onRepositionMenu(r,n,[])})},function(n){var e=n.primary,t=n.triggeringPath;c.onRepositionMenu(r,e,t)})}};return{uid:c.uid,dom:c.dom,markers:c.markers,behaviours:gc(c.tmenuBehaviours,[Ba.config({mode:"special",onRight:t(function(n,e){return Mu(e.element())?An.none():p(n,e,m.HighlightSubmenu)}),onLeft:t(function(n,e){return Mu(e.element())?An.none():h(n,e)}),onEscape:t(function(n,e){return h(n,e).orThunk(function(){return c.onEscape(n,e).map(function(){return n})})}),focusIn:function(e,n){g.getPrimary().each(function(n){W(e,n.element(),Pe())})}}),Eu.config({highlightClass:c.markers.selectedMenu,itemClass:c.markers.menu}),mm.config({find:function(n){return Eu.getHighlighted(n)}}),ug.config({})]),eventOrder:c.eventOrder,apis:b,events:y}},extraApis:{tieredData:function(n,e,t){return{primary:n,menus:e,expansions:t}},singleData:function(n,e){return{primary:n,menus:En(n,e),expansions:{}}},collapseItem:function(n){return{value:vc(sg()),meta:{text:n}}}}}),dg=function(n,e,t,r){return Wd(0,e,0,r).bind(function(e){return e.transition.map(function(n){return{transition:n,route:e}})})},mg=function(n,e,t){var r=n.element();return Zr(r,e.destinationAttr)?An.some({start:Qr(n.element(),e.stateAttr),destination:Qr(n.element(),e.destinationAttr)}):An.none()},gg=/* */Object.freeze({findRoute:Wd,disableTransition:Xd,getCurrentRoute:mg,jumpTo:qd,progressTo:function(t,r,o,i){!function(n,e){Zr(n.element(),e.destinationAttr)&&(Kr(n.element(),e.stateAttr,Qr(n.element(),e.destinationAttr)),no(n.element(),e.destinationAttr))}(t,r);var n=function(n,e,t,r){return{start:Qr(n.element(),e.stateAttr),destination:r}}(t,r,0,i);dg(t,r,o,n).fold(function(){qd(t,r,o,i)},function(n){Xd(t,r,o);var e=n.transition;io(t.element(),e.transitionClass),Kr(t.element(),r.destinationAttr,i)})},getState:function(n,e,t){var r=n.element();return Zr(r,e.stateAttr)?An.some(Qr(r,e.stateAttr)):An.none()}}),pg=/* */Object.freeze({events:function(o,i){return Nr([_r(Jn(),function(t,n){var r=n.event().raw();mg(t,o).each(function(e){Wd(0,o,0,e).each(function(n){n.transition.each(function(n){r.propertyName===n.property&&(qd(t,o,i,e.destination),o.onTransition(t,e))})})})}),Eo(function(n,e){qd(n,o,i,o.initialState)})])}}),hg=[tr("destinationAttr","data-transitioning-destination"),tr("stateAttr","data-transitioning-state"),Yt("initialState"),Ko("onTransition"),Ko("onFinish"),Kt("routes",Ut(vt.value,Ut(vt.value,Pt([er("transition",[Yt("property"),Yt("transitionClass")])]))))],vg=qr({fields:hg,name:"transitioning",active:pg,apis:gg,extra:{createRoutes:function(n){var r={};return Nn(n,function(n,e){var t=e.split("<->");r[t[0]]=En(t[1],n),r[t[1]]=En(t[0],n)}),r},createBistate:function(n,e,t){return Cn([{key:n,value:En(e,t)},{key:e,value:En(n,t)}])},createTristate:function(n,e,t,r){return Cn([{key:n,value:Cn([{key:e,value:r},{key:t,value:r}])},{key:e,value:Cn([{key:n,value:r},{key:t,value:r}])},{key:t,value:Cn([{key:n,value:r},{key:e,value:r}])}])}}}),yg=ji.resolve("scrollable"),bg={register:function(n){io(n,yg)},deregister:function(n){co(n,yg)},scrollable:v(yg)},xg=function(n,e,t,r,o){return{data:{value:n,text:e},type:"item",dom:{tag:"div",classes:o?[ji.resolve("styles-item-is-menu")]:[]},toggling:{toggleOnExecute:!1,toggleClass:ji.resolve("format-matches"),selected:t},itemBehaviours:Bo(o?[]:[Ai(n,function(n,e){(e?Fi.on:Fi.off)(n)})]),components:[{dom:{tag:"div",attributes:{style:r},innerHtml:e}}]}},wg=function(n,e,t,r){return{value:n,dom:{tag:"div"},components:[zs.sketch({dom:{tag:"div",classes:[ji.resolve("styles-collapser")]},components:r?[{dom:{tag:"span",classes:[ji.resolve("styles-collapse-icon")]}},Pd(n)]:[Pd(n)],action:function(n){if(r){var e=t().get(n);lg.collapseMenu(e)}}}),{dom:{tag:"div",classes:[ji.resolve("styles-menu-items-container")]},components:[og.parts().items({})],behaviours:Bo([sm("adhoc-scrollable-menu",[Eo(function(n,e){Li(n.element(),"overflow-y","auto"),Li(n.element(),"-webkit-overflow-scrolling","touch"),bg.register(n.element())}),Co(function(n){gi(n.element(),"overflow-y"),gi(n.element(),"-webkit-overflow-scrolling"),bg.deregister(n.element())})])])}],items:e,menuBehaviours:Bo([vg.config({initialState:"after",routes:vg.createTristate("before","current","after",{transition:{property:"transform",transitionClass:"transitioning"}})})])}},Sg=function(r){var n=function(r,o){var n=wg("Styles",[].concat(ke(r.items,function(n){return xg(Yd(n),n.title,n.isSelected(),n.getPreview(),Mn(r.expansions,Yd(n)))})),o,!1),e=S(r.menus,function(n,e){var t=ke(n,function(n){return xg(Yd(n),n.title,n.isSelected!==undefined&&n.isSelected(),n.getPreview!==undefined?n.getPreview():"",Mn(r.expansions,Yd(n)))});return wg(e,t,o,!0)}),t=xt(e,En("styles",n));return{tmenu:lg.tieredData("styles",t,r.expansions)}}(r.formats,function(){return e}),e=Ns(lg.sketch({dom:{tag:"div",classes:[ji.resolve("styles-menu")]},components:[],fakeFocus:!0,stayInDom:!0,onExecute:function(n,e){var t=fl.getValue(e);return r.handle(e,t.value),An.none()},onEscape:function(){return An.none()},onOpenMenu:function(n,e){var t=Df(n.element());Cf(e.element(),t),vg.jumpTo(e,"current")},onOpenSubmenu:function(n,e,t){var r=Df(n.element()),o=Ki(e.element(),'[role="menu"]').getOrDie("hacky"),i=n.getSystem().getByDom(o).getOrDie();Cf(t.element(),r),vg.progressTo(i,"before"),vg.jumpTo(t,"after"),vg.progressTo(t,"current")},onCollapseMenu:function(n,e,t){var r=Ki(e.element(),'[role="menu"]').getOrDie("hacky"),o=n.getSystem().getByDom(r).getOrDie();vg.progressTo(o,"after"),vg.progressTo(t,"current")},navigateOnHover:!1,highlightImmediately:!0,data:n.tmenu,markers:{backgroundMenu:ji.resolve("styles-background-menu"),menu:ji.resolve("styles-menu"),selectedMenu:ji.resolve("styles-selected-menu"),item:ji.resolve("styles-item"),selectedItem:ji.resolve("styles-selected-item")}}));return e.asSpec()},Tg=function(n){return M(n,function(n,e){var t=Kd(e);return{menus:xt(n.menus,t.menus),items:[t.item].concat(n.items),expansions:xt(n.expansions,t.expansions)}},{menus:{},expansions:{},items:[]})},Og={expand:Tg},kg=function(r,n){function o(n){return function(){return r.formatter.match(n)}}function i(n){return function(){return r.formatter.getCssText(n)}}var e=Dt(n,"style_formats").getOr(Vm),t=function(n){return ke(n,function(n){if(Mn(n,"items")){var e=t(n.items);return xt(function(n){return xt(n,{isSelected:v(!1),getPreview:v("")})}(n),{items:e})}return Mn(n,"format")?function(n){return xt(n,{isSelected:o(n.format),getPreview:i(n.format)})}(n):function(n){var e=vc(n.title),t=xt(n,{format:e,isSelected:o(e),getPreview:i(e)});return r.formatter.register(e,t),t}(n)})};return t(e)},Eg=function(t,n,r){var e=function(e,n){var t=function(n){return B(n,function(n){return n.items===undefined?!Mn(n,"format")||e.formatter.canApply(n.format)?[n]:[]:0<t(n.items).length?[n]:[]})},r=t(n);return Og.expand(r)}(t,n);return Sg({formats:e,handle:function(n,e){t.undoManager.transact(function(){Fi.isOn(n)?t.formatter.remove(e):t.formatter.apply(e)}),r()}})},Cg=["undo","bold","italic","link","image","bullist","styleselect"],Dg=function(n){return B(n,function(n){return ye(n)?Dg(n):Jd(n)})},Mg=function(e,r){function n(n){return function(){return $s.forToolbarCommand(r,n)}}function t(n){return function(){return $s.forToolbarStateCommand(r,n)}}function o(n,e,t){return function(){return $s.forToolbarStateAction(r,n,e,t)}}function i(){return Eg(r,h,function(){r.fire("scrollIntoView")})}function u(n,e){return{isSupported:function(){var e=r.ui.registry.getAll().buttons;return n.forall(function(n){return Mn(e,n)})},sketch:e}}var c=n("undo"),a=n("redo"),f=t("bold"),s=t("italic"),l=t("underline"),d=n("removeformat"),m=o("unlink","link",function(){r.execCommand("unlink",null,!1)}),g=o("unordered-list","ul",function(){r.execCommand("InsertUnorderedList",null,!1)}),p=o("ordered-list","ol",function(){r.execCommand("InsertOrderedList",null,!1)}),h=kg(r,r.settings);return{undo:u(An.none(),c),redo:u(An.none(),a),bold:u(An.none(),f),italic:u(An.none(),s),underline:u(An.none(),l),removeformat:u(An.none(),d),link:u(An.none(),function(){return function(e,t){return $s.forToolbarStateAction(t,"link","link",function(){var n=Bm(e,t);e.setContextToolbar(n),fm(t,function(){e.focusToolbar()}),cm.query(t).each(function(n){t.selection.select(n.dom())})})}(e,r)}),unlink:u(An.none(),m),image:u(An.none(),function(){return ed(r)}),bullist:u(An.some("bullist"),g),numlist:u(An.some("numlist"),p),fontsizeselect:u(An.none(),function(){return function(n,e){var t={onChange:function(n){Ll.apply(e,n)},getInitialValue:function(){return Ll.get(e)}};return Fs(n,"font-size",function(){return Vs(t)},e)}(e,r)}),forecolor:u(An.none(),function(){return _l(e,r)}),styleselect:u(An.none(),function(){return $s.forToolbar("style-formats",function(n){r.fire("toReading"),e.dropup().appear(i,Fi.on,n)},Bo([Fi.config({toggleClass:ji.resolve("toolbar-button-selected"),toggleOnExecute:!1,aria:{mode:"pressed"}}),Ei.config({channels:Cn([Vi(Uo.orientationChanged(),Fi.off),Vi(Uo.dropupDismissed(),Fi.off)])})]),r)})}},Ig=function(n,t){var e=Qd(n),r={};return B(e,function(n){var e=!Mn(r,n)&&Mn(t,n)&&t[n].isSupported()?[t[n].sketch()]:[];return r[n]=!0,e})},Rg=function(n,e,t,r){n.dom().removeEventListener(e,t,r)},Fg=v(!0),Ag=tinymce.util.Tools.resolve("tinymce.util.Delay"),Bg=rm,Vg=function(r,e){var n=Je.fromDom(r),o=null,t=em(n,"orientationchange",function(){Ag.clearInterval(o);var n=rm(r);e.onChange(n),i(function(){e.onReady(n)})}),i=function(n){Ag.clearInterval(o);var e=r.innerHeight,t=0;o=Ag.setInterval(function(){e!==r.innerHeight?(Ag.clearInterval(o),n(An.some(r.innerHeight))):20<t&&(Ag.clearInterval(o),n(An.none())),t++},50)};return{onAdjustment:i,destroy:function(){t.unbind()}}},Ng=function(n){var e=L().os.isiOS(),t=rm(n).isPortrait();return e&&!t?n.screen.height:n.screen.width};function jg(n){var e=n.raw();return e.touches===undefined||1!==e.touches.length?An.none():An.some(e.touches[0])}function _g(t){var r=Zn(An.none()),o=Zn(!1),i=function n(t,r){var o=null;return{cancel:function(){null!==o&&(d.clearTimeout(o),o=null)},schedule:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];o=d.setTimeout(function(){t.apply(null,n),o=null},r)}}}(function(n){t.triggerEvent(Le(),n),o.set(!0)},400),u=Cn([{key:Pn(),value:function(t){return jg(t).each(function(n){i.cancel();var e={x:v(n.clientX),y:v(n.clientY),target:t.target};i.schedule(t),o.set(!1),r.set(An.some(e))}),An.none()}},{key:Hn(),value:function(n){return i.cancel(),jg(n).each(function(e){r.get().each(function(n){!function(n,e){var t=Math.abs(n.clientX-e.x()),r=Math.abs(n.clientY-e.y());return 5<t||5<r}(e,n)||r.set(An.none())})}),An.none()}},{key:zn(),value:function(e){i.cancel();return r.get().filter(function(n){return cn(n.target(),e.target())}).map(function(n){return o.get()?(e.prevent(),!1):t.triggerEvent(He(),e)})}}]);return{fireIfReady:function(e,n){return Dt(u,n).bind(function(n){return n(e)})}}}var Pg=function(t){var e=_g({triggerEvent:function(n,e){t.onTapContent(e)}});return{fireTouchstart:function(n){e.fireIfReady(n,"touchstart")},onTouchend:function(){return em(t.body(),"touchend",function(n){e.fireIfReady(n,"touchend")})},onTouchmove:function(){return em(t.body(),"touchmove",function(n){e.fireIfReady(n,"touchmove")})}}},Hg=6<=L().os.version.major,zg=function(r,e,t){function o(n){return!cn(n.start(),n.finish())||n.soffset()!==n.foffset()}function n(){var n=r.doc().dom().hasFocus()&&r.getSelection().exists(o);t.getByDom(e).each(!0===(n||mo(u).filter(function(n){return"input"===q(n)}).exists(function(n){return n.dom().selectionStart!==n.dom().selectionEnd}))?Fi.on:Fi.off)}var i=Pg(r),u=an(e),c=[em(r.body(),"touchstart",function(n){r.onTouchContent(),i.fireTouchstart(n)}),i.onTouchmove(),i.onTouchend(),em(e,"touchstart",function(n){r.onTouchToolstrip()}),r.onToReading(function(){lo(r.body())}),r.onToEditing(w),r.onScrollToCursor(function(n){n.preventDefault(),r.getCursorBox().each(function(n){var e=r.win(),t=n.top()>e.innerHeight||n.bottom()>e.innerHeight?n.bottom()-e.innerHeight+50:0;0!=t&&e.scrollTo(e.pageXOffset,e.pageYOffset+t)})})].concat(!0==Hg?[]:[em(Je.fromDom(r.win()),"blur",function(){t.getByDom(e).each(Fi.off)}),em(u,"select",n),em(r.doc(),"selectionchange",n)]);return{destroy:function(){C(c,function(n){n.unbind()})}}},Lg=function(n,e){var t=parseInt(Qr(n,e),10);return isNaN(t)?0:t};function Gg(n){return Mp.getOption(n)}function Ug(n){return function(n){return Gg(n).filter(function(n){return 0!==n.trim().length||-1<n.indexOf("\xa0")}).isSome()}(n)||k(Ip,q(n))}function $g(n,e,t){var r=n.document.createRange();return function(t,n){n.fold(function(n){t.setStartBefore(n.dom())},function(n,e){t.setStart(n.dom(),e)},function(n){t.setStartAfter(n.dom())})}(r,e),function(t,n){n.fold(function(n){t.setEndBefore(n.dom())},function(n,e){t.setEnd(n.dom(),e)},function(n){t.setEndAfter(n.dom())})}(r,t),r}function Wg(n,e,t,r,o){var i=n.document.createRange();return i.setStart(e.dom(),t),i.setEnd(r.dom(),o),i}function Xg(n){return{left:v(n.left),top:v(n.top),right:v(n.right),bottom:v(n.bottom),width:v(n.width),height:v(n.height)}}function qg(n,e,t){return e(Je.fromDom(t.startContainer),t.startOffset,Je.fromDom(t.endContainer),t.endOffset)}function Yg(n,e){return function(n,e){var t=e.ltr();return t.collapsed?e.rtl().filter(function(n){return!1===n.collapsed}).map(function(n){return Np.rtl(Je.fromDom(n.endContainer),n.endOffset,Je.fromDom(n.startContainer),n.startOffset)}).getOrThunk(function(){return qg(0,Np.ltr,t)}):qg(0,Np.ltr,t)}(0,function(o,n){return n.match({domRange:function(n){return{ltr:v(n),rtl:An.none}},relative:function(n,e){return{ltr:X(function(){return $g(o,n,e)}),rtl:X(function(){return An.some($g(o,e,n))})}},exact:function(n,e,t,r){return{ltr:X(function(){return Wg(o,n,e,t,r)}),rtl:X(function(){return An.some(Wg(o,t,r,n,e))})}}})}(n,e))}function Kg(n,e,t){return e>=n.left&&e<=n.right&&t>=n.top&&t<=n.bottom}function Jg(t,r,n,e,o){function i(n){var e=t.dom().createRange();return e.setStart(r.dom(),n),e.collapse(!0),e}var u=function(n){return Mp.get(n)}(r).length,c=function(n,e,t,r,o){if(0===o)return 0;if(e===r)return o-1;for(var i=r,u=1;u<o;u++){var c=n(u),a=Math.abs(e-c.left);if(t<=c.bottom){if(t<c.top||i<a)return u-1;i=a}}return 0}(function(n){return i(n).getBoundingClientRect()},n,e,o.right,u);return i(c)}function Qg(n){return Vr(n,Ug)}function Zg(n){return _p(n,Ug)}function np(n,e){return e-n.left<n.right-e}function ep(n,e,t){var r=n.dom().createRange();return r.selectNode(e.dom()),r.collapse(t),r}function tp(e,n,t){var r=e.dom().createRange();r.selectNode(n.dom());var o=r.getBoundingClientRect(),i=np(o,t);return(!0===i?Qg:Zg)(n).map(function(n){return ep(e,n,i)})}function rp(n,e,t){var r=e.dom().getBoundingClientRect(),o=np(r,t);return An.some(ep(n,e,o))}function op(n,e,t,r){var o=n.dom().createRange();o.selectNode(e.dom());var i=o.getBoundingClientRect();return function(n,e,t,r){var o=n.dom().createRange();o.selectNode(e.dom());var i=o.getBoundingClientRect(),u=Math.max(i.left,Math.min(i.right,t)),c=Math.max(i.top,Math.min(i.bottom,r));return jp(n,e,u,c)}(n,e,Math.max(i.left,Math.min(i.right,t)),Math.max(i.top,Math.min(i.bottom,r)))}function ip(n,e){var t=q(n);return"input"===t?Ap.after(n):k(["br","img"],t)?0===e?Ap.before(n):Ap.after(n):Ap.on(n,e)}function up(n,e,t,r){var o=function(n,e,t,r){var o=an(n).dom().createRange();return o.setStart(n.dom(),e),o.setEnd(t.dom(),r),o}(n,e,t,r),i=cn(n,t)&&e===r;return o.collapsed&&!i}function cp(n,e,t,r,o){!function(n,e){An.from(n.getSelection()).each(function(n){n.removeAllRanges(),n.addRange(e)})}(n,Wg(n,e,t,r,o))}function ap(n,e,t,r,o){!function(u,n){Yg(u,n).match({ltr:function(n,e,t,r){cp(u,n,e,t,r)},rtl:function(n,e,t,r){var o=u.getSelection();if(o.setBaseAndExtent)o.setBaseAndExtent(n.dom(),e,t.dom(),r);else if(o.extend)try{!function(n,e,t,r,o,i){e.collapse(t.dom(),r),e.extend(o.dom(),i)}(0,o,n,e,t,r)}catch(i){cp(u,t,r,n,e)}else cp(u,t,r,n,e)}})}(n,function(n,e,t,r){var o=ip(n,e),i=ip(t,r);return Vp.relative(o,i)}(e,t,r,o))}function fp(n){var e=Je.fromDom(n.anchorNode),t=Je.fromDom(n.focusNode);return up(e,n.anchorOffset,t,n.focusOffset)?An.some(Rp.create(e,n.anchorOffset,t,n.focusOffset)):function(n){if(0<n.rangeCount){var e=n.getRangeAt(0),t=n.getRangeAt(n.rangeCount-1);return An.some(Rp.create(Je.fromDom(e.startContainer),e.startOffset,Je.fromDom(t.endContainer),t.endOffset))}return An.none()}(n)}function sp(n){return An.from(n.getSelection()).filter(function(n){return 0<n.rangeCount}).bind(fp)}function lp(n,e){return function(n){var e=n.getClientRects(),t=0<e.length?e[0]:n.getBoundingClientRect();return 0<t.width||0<t.height?An.some(t).map(Xg):An.none()}(function(i,n){return Yg(i,n).match({ltr:function(n,e,t,r){var o=i.document.createRange();return o.setStart(n.dom(),e),o.setEnd(t.dom(),r),o},rtl:function(n,e,t,r){var o=i.document.createRange();return o.setStart(t.dom(),r),o.setEnd(n.dom(),e),o}})}(n,e))}function dp(n){return{left:n.left,top:n.top,right:n.right,bottom:n.bottom,width:v(2),height:n.height}}function mp(n){return{left:v(n.left),top:v(n.top),right:v(n.right),bottom:v(n.bottom),width:v(n.width),height:v(n.height)}}function gp(t){if(t.collapsed){var r=Je.fromDom(t.startContainer);return fn(r).bind(function(n){var e=Vp.exact(r,t.startOffset,n,function(n){return"img"===q(n)?1:Gg(n).fold(function(){return at(n).length},function(n){return n.length})}(n));return lp(t.startContainer.ownerDocument.defaultView,e).map(dp).map(_)}).getOr([])}return ke(t.getClientRects(),mp)}function pp(n,e){Kr(n,zp,e)}function hp(n){return{top:v(n.top()),bottom:v(n.top()+n.height())}}function vp(n,e){var t=function(n){return Lg(n,zp)}(e),r=n.innerHeight;return r<t?An.some(t-r):An.none()}function yp(n){return An.some(Je.fromDom(n.dom().contentWindow.document.body))}function bp(n){return An.some(Je.fromDom(n.dom().contentWindow.document))}function xp(n){return An.from(n.dom().contentWindow)}function wp(n){return xp(n).bind(sp)}function Sp(n){return n.getFrame()}function Tp(n,t){return function(e){return e[n].getOrThunk(function(){var n=Sp(e);return function(){return t(n)}})()}}function Op(n,e,t,r){return n[t].getOrThunk(function(){return function(n){return em(e,r,n)}})}function kp(n){return{left:v(n.left),top:v(n.top),right:v(n.right),bottom:v(n.bottom),width:v(n.width),height:v(n.height)}}function Ep(t,r){var o=null;return{cancel:function(){null!==o&&(d.clearTimeout(o),o=null)},throttle:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];null!==o&&d.clearTimeout(o),o=d.setTimeout(function(){t.apply(null,n),o=null},r)}}}function Cp(n){return"true"===Qr(n,ch)?function(n){return 0<n.dom().scrollLeft||function(n){n.dom().scrollLeft=1;var e=0!==n.dom().scrollLeft;return n.dom().scrollLeft=0,e}(n)}(n):function(n){return 0<n.dom().scrollTop||function(n){n.dom().scrollTop=1;var e=0!==n.dom().scrollTop;return n.dom().scrollTop=0,e}(n)}(n)}var Dp,Mp=function uy(t,r){var e=function(n){return t(n)?An.from(n.dom().nodeValue):An.none()};return{get:function(n){if(!t(n))throw new Error("Can only get "+r+" value of a "+r+" node");return e(n).getOr("")},getOption:e,set:function(n,e){if(!t(n))throw new Error("Can only set raw "+r+" value of a "+r+" node");n.dom().nodeValue=e}}}(tt,"text"),Ip=["img","br"],Rp={create:J("start","soffset","finish","foffset")},Fp=yt([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),Ap={before:Fp.before,on:Fp.on,after:Fp.after,cata:function(n,e,t,r){return n.fold(e,t,r)},getStart:function(n){return n.fold(y,y,y)}},Bp=yt([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Vp={domRange:Bp.domRange,relative:Bp.relative,exact:Bp.exact,exactFromRange:function(n){return Bp.exact(n.start(),n.soffset(),n.finish(),n.foffset())},getWin:function(n){return function(n){return Je.fromDom(n.dom().ownerDocument.defaultView)}(function(n){return n.match({domRange:function(n){return Je.fromDom(n.startContainer)},relative:function(n,e){return Ap.getStart(n)},exact:function(n,e,t,r){return n}})}(n))},range:Rp.create},Np=yt([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),jp=function(n,e,t,r){return tt(e)?function(e,t,r,o){var n=e.dom().createRange();n.selectNode(t.dom());var i=n.getClientRects();return wo(i,function(n){return Kg(n,r,o)?An.some(n):An.none()}).map(function(n){return Jg(e,t,r,o,n)})}(n,e,t,r):function(e,n,t,r){var o=e.dom().createRange(),i=at(n);return wo(i,function(n){return o.selectNode(n.dom()),Kg(o.getBoundingClientRect(),t,r)?jp(e,n,t,r):An.none()})}(n,e,t,r)},_p=function(n,i){var u=function(n){for(var e=at(n),t=e.length-1;0<=t;t--){var r=e[t];if(i(r))return An.some(r);var o=u(r);if(o.isSome())return o}return An.none()};return u(n)},Pp=(document.caretPositionFromPoint||document.caretRangeFromPoint,function(n){var e=n.getSelection();return e!==undefined&&0<e.rangeCount?gp(e.getRangeAt(0)):[]}),Hp=function(n){n.focus();var e=Je.fromDom(n.document.body);(mo().exists(function(n){return k(["input","textarea"],q(n))})?function(n){Ag.setTimeout(function(){n()},0)}:t)(function(){mo().each(lo),so(e)})},zp="data-"+ji.resolve("last-outer-height"),Lp=function(n,r){var e=Je.fromDom(r.document.body),t=em(Je.fromDom(n),"resize",function(){vp(n,e).each(function(t){(function(n){var e=Pp(n);return 0<e.length?An.some(e[0]).map(hp):An.none()})(r).each(function(n){var e=function(n,e,t){return e.top()>n.innerHeight||e.bottom()>n.innerHeight?Math.min(t,e.bottom()-n.innerHeight+50):0}(r,n,t);0!==e&&r.scrollTo(r.pageXOffset,r.pageYOffset+e)})}),pp(e,n.innerHeight)});pp(e,n.innerHeight);return{toEditing:function(){Hp(r)},destroy:function(){t.unbind()}}},Gp={getBody:Tp("getBody",yp),getDoc:Tp("getDoc",bp),getWin:Tp("getWin",xp),getSelection:Tp("getSelection",wp),getFrame:Sp,getActiveApi:function(c){var a=Sp(c);return yp(a).bind(function(u){return bp(a).bind(function(i){return xp(a).map(function(o){var n=Je.fromDom(i.dom().documentElement),e=c.getCursorBox.getOrThunk(function(){return function(){return function(n){return sp(n).map(function(n){return Vp.exact(n.start(),n.soffset(),n.finish(),n.foffset())})}(o).bind(function(n){return lp(o,n).orThunk(function(){return function(n){return sp(n).filter(function(n){return cn(n.start(),n.finish())&&n.soffset()===n.foffset()}).bind(function(n){var e=n.start().dom().getBoundingClientRect();return 0<e.width||0<e.height?An.some(e).map(kp):An.none()})}(o)})})}}),t=c.setSelection.getOrThunk(function(){return function(n,e,t,r){ap(o,n,e,t,r)}}),r=c.clearSelection.getOrThunk(function(){return function(){!function(n){n.getSelection().removeAllRanges()}(o)}});return{body:v(u),doc:v(i),win:v(o),html:v(n),getSelection:l(wp,a),setSelection:t,clearSelection:r,frame:v(a),onKeyup:Op(c,i,"onKeyup","keyup"),onNodeChanged:Op(c,i,"onNodeChanged","SelectionChange"),onDomChanged:c.onDomChanged,onScrollToCursor:c.onScrollToCursor,onScrollToElement:c.onScrollToElement,onToReading:c.onToReading,onToEditing:c.onToEditing,onToolbarScrollStart:c.onToolbarScrollStart,onTouchContent:c.onTouchContent,onTapContent:c.onTapContent,onTouchToolstrip:c.onTouchToolstrip,getCursorBox:e}})})})}},Up="data-ephox-mobile-fullscreen-style",$p="position:absolute!important;",Wp="top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;",Xp=L().os.isAndroid(),qp=function(n,e){function t(r){return function(n){var e=Qr(n,"style"),t=e===undefined?"no-styles":e.trim();t!==r&&(Kr(n,Up,t),Kr(n,"style",r))}}var r=function(n,e,t){return Wi(n,function(n){return tn(n,e)},t)}(n,"*"),o=B(r,function(n){return function(n,e){return Xi(n,function(n){return tn(n,e)})}(n,"*")}),i=function(n){var e=di(n,"background-color");return e!==undefined&&""!==e?"background-color:"+e+"!important":"background-color:rgb(255,255,255)!important;"}(e);C(o,t("display:none!important;")),C(r,t($p+Wp+i)),t((!0===Xp?"":$p)+Wp+i)(n)},Yp=function(){var n=function(n){return on(n)}("["+Up+"]");C(n,function(n){var e=Qr(n,Up);"no-styles"!==e?Kr(n,"style",e):no(n,"style"),no(n,Up)})},Kp=function(){var e=Yi("head").getOrDie(),n=Yi('meta[name="viewport"]').getOrThunk(function(){var n=Je.fromTag("meta");return Kr(n,"name","viewport"),ft(e,n),n}),t=Qr(n,"content");return{maximize:function(){Kr(n,"content","width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0")},restore:function(){t!==undefined&&null!==t&&0<t.length?Kr(n,"content",t):Kr(n,"content","user-scalable=yes")}}},Jp=function(e,n){var t=Kp(),r=xd(),o=xd();return{enter:function(){n.hide(),io(e.container,ji.resolve("fullscreen-maximized")),io(e.container,ji.resolve("android-maximized")),t.maximize(),io(e.body,ji.resolve("android-scroll-reload")),r.set(Lp(e.win,Gp.getWin(e.editor).getOrDie("no"))),Gp.getActiveApi(e.editor).each(function(n){qp(e.container,n.body()),o.set(zg(n,e.toolstrip,e.alloy))})},exit:function(){t.restore(),n.show(),co(e.container,ji.resolve("fullscreen-maximized")),co(e.container,ji.resolve("android-maximized")),Yp(),co(e.body,ji.resolve("android-scroll-reload")),o.clear(),r.clear()}}},Qp=function(n,e){var t=Ns(gm.sketch({dom:Gs('<div aria-hidden="true" class="${prefix}-mask-tap-icon"></div>'),containerBehaviours:Bo([Fi.config({toggleClass:ji.resolve("mask-tap-icon-selected"),toggleOnExecute:!1})])})),r=function(t,r){var o=null;return{cancel:function(){null!==o&&(d.clearTimeout(o),o=null)},throttle:function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];null===o&&(o=d.setTimeout(function(){t.apply(null,n),o=null},r))}}}(n,200);return gm.sketch({dom:Gs('<div class="${prefix}-disabled-mask"></div>'),components:[gm.sketch({dom:Gs('<div class="${prefix}-content-container"></div>'),components:[zs.sketch({dom:Gs('<div class="${prefix}-content-tap-section"></div>'),components:[t.asSpec()],action:function(n){r.throttle()},buttonBehaviours:Bo([Fi.config({toggleClass:ji.resolve("mask-tap-icon-selected")})])})]})]})},Zp=Or([Jt("editor",[Yt("getFrame"),Qt("getBody"),Qt("getDoc"),Qt("getWin"),Qt("getSelection"),Qt("setSelection"),Qt("clearSelection"),Qt("cursorSaver"),Qt("onKeyup"),Qt("onNodeChanged"),Qt("getCursorBox"),Yt("onDomChanged"),tr("onTouchContent",w),tr("onTapContent",w),tr("onTouchToolstrip",w),tr("onScrollToCursor",v({unbind:w})),tr("onScrollToElement",v({unbind:w})),tr("onToEditing",v({unbind:w})),tr("onToReading",v({unbind:w})),tr("onToolbarScrollStart",y)]),Yt("socket"),Yt("toolstrip"),Yt("dropup"),Yt("toolbar"),Yt("container"),Yt("alloy"),or("win",function(n){return an(n.socket).dom().defaultView}),or("body",function(n){return Je.fromDom(n.socket.dom().ownerDocument.body)}),tr("translate",y),tr("setReadOnly",w),tr("readOnlyOnInit",v(!0))]),nh=function(n){var e=Xt("Getting AndroidWebapp schema",Zp,n);Li(e.toolstrip,"width","100%");var t=Um(Qp(function(){e.setReadOnly(e.readOnlyOnInit()),o.enter()},e.translate));e.alloy.add(t);var r={show:function(){e.alloy.add(t)},hide:function(){e.alloy.remove(t)}};ft(e.container,t.element());var o=Jp(e,r);return{setReadOnly:e.setReadOnly,refreshStructure:w,enter:o.enter,exit:o.exit,destroy:w}},eh=v([Yt("dom"),tr("shell",!0),dc("toolbarBehaviours",[ug])]),th=v([tf({name:"groups",overrides:function(n){return{behaviours:Bo([ug.config({})])}}})]),rh=hf({name:"Toolbar",configFields:eh(),partFields:th(),factory:function(e,n,t,r){var o=function(n){return e.shell?An.some(n):Oc(n,e,"groups")},i=e.shell?{behaviours:[ug.config({})],components:[]}:{behaviours:[],components:n};return{uid:e.uid,dom:e.dom,components:i.components,behaviours:gc(e.toolbarBehaviours,i.behaviours),apis:{setGroups:function(n,e){o(n).fold(function(){throw d.console.error("Toolbar was defined to not be a shell, but no groups container was specified in components"),new Error("Toolbar was defined to not be a shell, but no groups container was specified in components")},function(n){ug.set(n,e)})}},domModification:{attributes:{role:"group"}}}},apis:{setGroups:function(n,e,t){n.setGroups(e,t)}}}),oh=v([Yt("items"),(Dp=["itemSelector"],Jt("markers",ke(Dp,Yt))),dc("tgroupBehaviours",[Ba])]),ih=v([rf({name:"items",unit:"item"})]),uh=hf({name:"ToolbarGroup",configFields:oh(),partFields:ih(),factory:function(n,e,t,r){return{uid:n.uid,dom:n.dom,components:e,behaviours:gc(n.tgroupBehaviours,[Ba.config({mode:"flow",selector:n.markers.itemSelector})]),domModification:{attributes:{role:"toolbar"}}}}}),ch="data-"+ji.resolve("horizontal-scroll"),ah={exclusive:function(n,e){return em(n,"touchmove",function(n){Qi(n.target(),e).filter(Cp).fold(function(){n.raw().preventDefault()},w)})},markAsHorizontal:function(n){Kr(n,ch,"true")}};function fh(){function e(n){var e=!0===n.scrollable?"${prefix}-toolbar-scrollable-group":"";return{dom:Gs('<div aria-label="'+n.label+'" class="${prefix}-toolbar-group '+e+'"></div>'),tgroupBehaviours:Bo([sm("adhoc-scrollable-toolbar",!0===n.scrollable?[Do(function(n,e){Li(n.element(),"overflow-x","auto"),ah.markAsHorizontal(n.element()),bg.register(n.element())})]:[])]),components:[gm.sketch({components:[uh.parts().items({})]})],markers:{itemSelector:"."+ji.resolve("toolbar-group-item")},items:n.items}}function t(){rh.setGroups(r,o.get()),Fi.off(r)}var r=Um(rh.sketch({dom:Gs('<div class="${prefix}-toolbar"></div>'),components:[rh.parts().groups({})],toolbarBehaviours:Bo([Fi.config({toggleClass:ji.resolve("context-toolbar"),toggleOnExecute:!1,aria:{mode:"none"}}),Ba.config({mode:"cyclic"})]),shell:!0})),n=Um(gm.sketch({dom:{classes:[ji.resolve("toolstrip")]},components:[$m(r)],containerBehaviours:Bo([Fi.config({toggleClass:ji.resolve("android-selection-context-toolbar"),toggleOnExecute:!1})])})),o=Zn([]);return{wrapper:v(n),toolbar:v(r),createGroups:function(n){return ke(n,i(uh.sketch,e))},setGroups:function(n){o.set(n),t()},setContextToolbar:function(n){Fi.on(r),rh.setGroups(r,n)},restoreToolbar:function(){Fi.isOn(r)&&t()},refresh:function(){},focus:function(){Ba.focusIn(r)}}}function sh(n,e){ug.append(n,$m(e))}function lh(n,e){ug.remove(n,e)}function dh(e,n){return n.getAnimationRoot.fold(function(){return e.element()},function(n){return n(e)})}function mh(n){return n.dimension.property}function gh(n,e){return n.dimension.getDimension(e)}function ph(n,e){var t=dh(n,e);Fd(t,[e.shrinkingClass,e.growingClass])}function hh(n,e){co(n.element(),e.openClass),io(n.element(),e.closedClass),Li(n.element(),mh(e),"0px"),pi(n.element())}function vh(n,e){co(n.element(),e.closedClass),io(n.element(),e.openClass),gi(n.element(),mh(e))}function yh(n,e,t,r){t.setCollapsed(),Li(n.element(),mh(e),gh(e,n.element())),pi(n.element()),ph(n,e),hh(n,e),e.onStartShrink(n),e.onShrunk(n)}function bh(n,e,t,r){var o=r.getOrThunk(function(){return gh(e,n.element())});t.setCollapsed(),Li(n.element(),mh(e),o),pi(n.element());var i=dh(n,e);co(i,e.growingClass),io(i,e.shrinkingClass),hh(n,e),e.onStartShrink(n)}function xh(n,e,t){var r=gh(e,n.element());("0px"===r?yh:bh)(n,e,t,An.some(r))}function wh(n,e,t){var r=dh(n,e),o=ao(r,e.shrinkingClass),i=gh(e,n.element());vh(n,e);var u=gh(e,n.element());(o?function(){Li(n.element(),mh(e),i),pi(n.element())}:function(){hh(n,e)})(),co(r,e.shrinkingClass),io(r,e.growingClass),vh(n,e),Li(n.element(),mh(e),u),t.setExpanded(),e.onStartGrow(n)}function Sh(n,e,t){var r=dh(n,e);return!0===ao(r,e.growingClass)}function Th(n,e,t){var r=dh(n,e);return!0===ao(r,e.shrinkingClass)}function Oh(e,t){var r=Um(gm.sketch({dom:{tag:"div",classes:[ji.resolve("dropup")]},components:[],containerBehaviours:Bo([ug.config({}),jh.config({closedClass:ji.resolve("dropup-closed"),openClass:ji.resolve("dropup-open"),shrinkingClass:ji.resolve("dropup-shrinking"),growingClass:ji.resolve("dropup-growing"),dimension:{property:"height"},onShrunk:function(n){e(),t(),ug.set(n,[])},onGrown:function(n){e(),t()}}),Bi(function(n,e){o(w)})])})),o=function(n){d.window.requestAnimationFrame(function(){n(),jh.shrink(r)})};return{appear:function(n,e,t){!0===jh.hasShrunk(r)&&!1===jh.isTransitioning(r)&&d.window.requestAnimationFrame(function(){e(t),ug.set(r,[n()]),jh.grow(r)})},disappear:o,component:v(r),element:r.element}}function kh(n){return 8===n.raw().which&&!k(["input","textarea"],q(n.target()))&&!function(n,e,t){return Qi(n,e,t).isSome()}(n.target(),'[contenteditable="true"]')}function Eh(e,n){var t=Xt("Getting GUI events settings",Ph,n),r=L().deviceType.isTouch()?["touchstart","touchmove","touchend","gesturestart"]:["mousedown","mouseup","mouseover","mousemove","mouseout","click"],o=_g(t),i=ke(r.concat(["selectstart","input","contextmenu","change","transitionend","drag","dragstart","dragend","dragenter","dragleave","dragover","drop","keyup"]),function(n){return em(e,n,function(e){o.fireIfReady(e,n).each(function(n){n&&e.kill()}),t.triggerEvent(n,e)&&e.kill()})}),u=Zn(An.none()),c=em(e,"paste",function(e){o.fireIfReady(e,"paste").each(function(n){n&&e.kill()}),t.triggerEvent("paste",e)&&e.kill(),u.set(An.some(d.setTimeout(function(){t.triggerEvent(Ne(),e)},0)))}),a=em(e,"keydown",function(n){t.triggerEvent("keydown",n)?n.kill():!0===t.stopBackspace&&kh(n)&&n.prevent()}),f=function(n,e){return _h?tm(n,"focus",e):em(n,"focusin",e)}(e,function(n){t.triggerEvent("focusin",n)&&n.kill()}),s=Zn(An.none()),l=function(n,e){return _h?tm(n,"blur",e):em(n,"focusout",e)}(e,function(n){t.triggerEvent("focusout",n)&&n.kill(),s.set(An.some(d.setTimeout(function(){t.triggerEvent(Ve(),n)},0)))});return{unbind:function(){C(i,function(n){n.unbind()}),a.unbind(),f.unbind(),l.unbind(),c.unbind(),u.get().each(d.clearTimeout),s.get().each(d.clearTimeout)}}}function Ch(n,e){var t=Dt(n,"target").map(function(n){return n()}).getOr(e);return Zn(t)}function Dh(n,r,e,t,o,i){var u=n(r,t),c=function(n,e){var t=Zn(!1),r=Zn(!1);return{stop:function(){t.set(!0)},cut:function(){r.set(!0)},isStopped:t.get,isCut:r.get,event:v(n),setSource:e.set,getSource:e.get}}(e,o);return u.fold(function(){return i.logEventNoHandlers(r,t),Hh.complete()},function(e){var t=e.descHandler();return kd(t)(c),c.isStopped()?(i.logEventStopped(r,e.element(),t.purpose()),Hh.stopped()):c.isCut()?(i.logEventCut(r,e.element(),t.purpose()),Hh.complete()):fn(e.element()).fold(function(){return i.logNoParent(r,e.element(),t.purpose()),Hh.complete()},function(n){return i.logEventResponse(r,e.element(),t.purpose()),Hh.resume(n)})})}function Mh(n,e,t){var r=function(n){var e=Zn(!1);return{stop:function(){e.set(!0)},cut:w,isStopped:e.get,isCut:v(!1),event:v(n),setSource:o("Cannot set source of a broadcasted event"),getSource:o("Cannot get source of a broadcasted event")}}(e);return C(n,function(n){var e=n.descHandler();kd(e)(r)}),r.isStopped()}var Ih,Rh=function(n){return Um(zs.sketch({dom:Gs('<div class="${prefix}-mask-edit-icon ${prefix}-icon"></div>'),action:function(){n.run(function(n){n.setReadOnly(!1)})}}))},Fh=function(){return Um(gm.sketch({dom:Gs('<div class="${prefix}-editor-socket"></div>'),components:[],containerBehaviours:Bo([ug.config({})])}))},Ah=function(n,e,t,r){(!0===t?Ho.toAlpha:Ho.toOmega)(r),(t?sh:lh)(n,e)},Bh=/* */Object.freeze({refresh:function(n,e,t){if(t.isExpanded()){gi(n.element(),mh(e));var r=gh(e,n.element());Li(n.element(),mh(e),r)}},grow:function(n,e,t){t.isExpanded()||wh(n,e,t)},shrink:function(n,e,t){t.isExpanded()&&xh(n,e,t)},immediateShrink:function(n,e,t){t.isExpanded()&&yh(n,e,t)},hasGrown:function(n,e,t){return t.isExpanded()},hasShrunk:function(n,e,t){return t.isCollapsed()},isGrowing:Sh,isShrinking:Th,isTransitioning:function(n,e,t){return!0===Sh(n,e)||!0===Th(n,e)},toggleGrow:function(n,e,t){(t.isExpanded()?xh:wh)(n,e,t)},disableTransitions:ph}),Vh=/* */Object.freeze({exhibit:function(n,e){var t=e.expanded;return Ur(t?{classes:[e.openClass],styles:{}}:{classes:[e.closedClass],styles:En(e.dimension.property,"0px")})},events:function(t,r){return Nr([function(n,e){return Hr(n)(e)}(Jn(),function(n,e){e.event().raw().propertyName===t.dimension.property&&(ph(n,t),r.isExpanded()&&gi(n.element(),t.dimension.property),(r.isExpanded()?t.onGrown:t.onShrunk)(n))})])}}),Nh=[Yt("closedClass"),Yt("openClass"),Yt("shrinkingClass"),Yt("growingClass"),Qt("getAnimationRoot"),Ko("onShrunk"),Ko("onStartShrink"),Ko("onGrown"),Ko("onStartGrow"),tr("expanded",!1),Kt("dimension",qt("property",{width:[ni("property","width"),ni("getDimension",function(n){return Df(n)+"px"})],height:[ni("property","height"),ni("getDimension",function(n){return $i(n)+"px"})]}))],jh=qr({fields:Nh,name:"sliding",active:Vh,apis:Bh,state:/* */Object.freeze({init:function(n){var e=Zn(n.expanded);return Ao({isExpanded:function(){return!0===e.get()},isCollapsed:function(){return!1===e.get()},setCollapsed:l(e.set,!1),setExpanded:l(e.set,!0),readState:function(){return"expanded: "+e.get()}})}})}),_h=L().browser.isFirefox(),Ph=Pt([(Ih="triggerEvent",Kt(Ih,Rr)),tr("stopBackspace",!0)]),Hh=yt([{stopped:[]},{resume:["element"]},{complete:[]}]),zh=function(e,t,r,n,o,i){return Dh(e,t,r,n,o,i).fold(function(){return!0},function(n){return zh(e,t,r,n,o,i)},function(){return!1})},Lh=function(n,e,t,r,o){var i=Ch(t,r);return zh(n,e,t,r,i,o)},Gh=J("element","descHandler"),Uh=function(n,e){return{id:v(n),descHandler:v(e)}};function $h(){var i={};return{registerId:function(r,o,n){Nn(n,function(n,e){var t=i[e]!==undefined?i[e]:{};t[o]=Hm(n,r),i[e]=t})},unregisterId:function(t){Nn(i,function(n,e){n.hasOwnProperty(t)&&delete n[t]})},filterByType:function(n){return Dt(i,n).map(function(n){return _n(n,function(n,e){return Uh(e,n)})}).getOr([])},find:function(n,e,t){var r=Ct(e)(i);return ko(t,function(n){return function(t,r){return mf(r).fold(function(){return An.none()},function(n){var e=Ct(n);return t.bind(e).map(function(n){return Gh(r,n)})})}(r,n)},n)}}}function Wh(){function r(n){var e=n.element();return mf(e).fold(function(){return function(n,e){var t=vc(sf+n);return df(e,t),t}("uid-",n.element())},function(n){return n})}var o=$h(),i={},u=function(n){mf(n.element()).each(function(n){delete i[n],o.unregisterId(n)})};return{find:function(n,e,t){return o.find(n,e,t)},filter:function(n){return o.filterByType(n)},register:function(n){var e=r(n);Mn(i,e)&&function(n,e){var t=i[e];if(t!==n)throw new Error('The tagId "'+e+'" is already used by: '+bo(t.element())+"\nCannot use it for: "+bo(n.element())+"\nThe conflicting element is"+(K(t.element())?" ":" not ")+"already in the DOM");u(n)}(n,e);var t=[n];o.registerId(t,e,n.events()),i[e]=n},unregister:u,getById:function(n){return Ct(n)(i)}}}var Xh=function(t){function r(e){return fn(t.element()).fold(function(){return!0},function(n){return cn(e,n)})}function o(n,e){return u.find(r,n,e)}function i(t){var n=u.filter(je());C(n,function(n){var e=n.descHandler();kd(e)(t)})}var u=Wh(),n=Eh(t.element(),{triggerEvent:function(e,t){return qo(e,t.target(),function(n){return function(n,e,t,r){var o=t.target();return Lh(n,e,t,o,r)}(o,e,t,n)})}}),c={debugInfo:v("real"),triggerEvent:function(e,t,r){qo(e,t,function(n){Lh(o,e,r,t,n)})},triggerFocus:function(e,t){mf(e).fold(function(){so(e)},function(n){qo(Be(),e,function(n){!function(n,e,t,r,o){var i=Ch(t,r);Dh(n,e,t,r,i,o)}(o,Be(),{originator:v(t),kill:w,prevent:w,target:v(e)},e,n)})})},triggerEscape:function(n,e){c.triggerEvent("keydown",n.element(),e.event())},getByUid:function(n){return g(n)},getByDom:function(n){return p(n)},build:Um,addToGui:function(n){f(n)},removeFromGui:function(n){s(n)},addToWorld:function(n){e(n)},removeFromWorld:function(n){a(n)},broadcast:function(n){l(n)},broadcastOn:function(n,e){d(n,e)},broadcastEvent:function(n,e){m(n,e)},isConnected:v(!0)},e=function(n){n.connect(c),tt(n.element())||(u.register(n),C(n.components(),e),c.triggerEvent(Ge(),n.element(),{target:v(n.element())}))},a=function(n){tt(n.element())||(C(n.components(),a),u.unregister(n)),n.disconnect()},f=function(n){!function(n,e){mt(n,e,ft)}(t,n)},s=function(n){yn(n)},l=function(n){i({universal:v(!0),data:v(n)})},d=function(n,e){i({universal:v(!1),channels:v(n),data:v(e)})},m=function(n,e){var t=u.filter(n);return Mh(t,e)},g=function(n){return u.getById(n).fold(function(){return vt.error(new Error('Could not find component with uid: "'+n+'" in system.'))},vt.value)},p=function(n){var e=mf(n).getOr("not found");return g(e)};return e(t),{root:v(t),element:t.element,destroy:function(){n.unbind(),st(t.element())},add:f,remove:s,getByUid:g,getByDom:p,addToWorld:e,removeFromWorld:a,broadcast:l,broadcastOn:d,broadcastEvent:m}},qh=v(ji.resolve("readonly-mode")),Yh=v(ji.resolve("edit-mode"));function Kh(n){var e=Um(gm.sketch({dom:{classes:[ji.resolve("outer-container")].concat(n.classes)},containerBehaviours:Bo([Ho.config({alpha:qh(),omega:Yh()})])}));return Xh(e)}var Jh=function(n,e){var t=Je.fromTag("input");li(t,{opacity:"0",position:"absolute",top:"-1000px",left:"-1000px"}),ft(n,t),so(t),e(t),st(t)},Qh=function(n){var e=n.getSelection();if(0<e.rangeCount){var t=e.getRangeAt(0),r=n.document.createRange();r.setStart(t.startContainer,t.startOffset),r.setEnd(t.endContainer,t.endOffset),e.removeAllRanges(),e.addRange(r)}},Zh=function(n,e){mo().each(function(n){cn(n,e)||lo(n)}),n.focus(),so(Je.fromDom(n.document.body)),Qh(n)},nv={stubborn:function(n,e,t,r){function o(){Zh(e,r)}var i=em(t,"keydown",function(n){k(["input","textarea"],q(n.target()))||o()});return{toReading:function(){Jh(n,lo)},toEditing:o,onToolbarTouch:function(){},destroy:function(){i.unbind()}}},timid:function(n,e,t,r){function o(){lo(r)}return{toReading:function(){o()},toEditing:function(){Zh(e,r)},onToolbarTouch:function(){o()},destroy:w}}},ev=function(e,r,t,o,n){function i(){r.run(function(n){n.refreshSelection()})}function u(n,e){var t=n-o.dom().scrollTop;r.run(function(n){n.scrollIntoView(t,t+e)})}function c(){r.run(function(n){n.clearSelection()})}function a(){e.getCursorBox().each(function(n){u(n.top(),n.height())}),r.run(function(n){n.syncHeight()})}var f=Pg(e),s=Ep(a,300),l=[e.onKeyup(function(){c(),s.throttle()}),e.onNodeChanged(i),e.onDomChanged(s.throttle),e.onDomChanged(i),e.onScrollToCursor(function(n){n.preventDefault(),s.throttle()}),e.onScrollToElement(function(n){n.element(),u(r,o)}),e.onToEditing(function(){r.run(function(n){n.toEditing()})}),e.onToReading(function(){r.run(function(n){n.toReading()})}),em(e.doc(),"touchend",function(n){cn(e.html(),n.target())||cn(e.body(),n.target())}),em(t,"transitionend",function(n){"height"===n.raw().propertyName&&function(){var e=$i(t);r.run(function(n){n.setViewportOffset(e)}),i(),a()}()}),tm(t,"touchstart",function(n){r.run(function(n){n.highlightSelection()}),function(e){r.run(function(n){n.onToolbarTouch(e)})}(n),e.onTouchToolstrip()}),em(e.body(),"touchstart",function(n){c(),e.onTouchContent(),f.fireTouchstart(n)}),f.onTouchmove(),f.onTouchend(),em(e.body(),"click",function(n){n.kill()}),em(t,"touchmove",function(){e.onToolbarScrollStart()})];return{destroy:function(){C(l,function(n){n.unbind()})}}};var tv,rv,ov,iv,uv={},cv={exports:uv};tv=undefined,rv=uv,ov=cv,iv=undefined,function(n){"object"==typeof rv&&void 0!==ov?ov.exports=n():"function"==typeof tv&&tv.amd?tv([],n):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).EphoxContactWrapper=n()}(function(){return function s(i,u,c){function a(e,n){if(!u[e]){if(!i[e]){var t="function"==typeof iv&&iv;if(!n&&t)return t(e,!0);if(f)return f(e,!0);var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}var o=u[e]={exports:{}};i[e][0].call(o.exports,function(n){return a(i[e][1][n]||n)},o,o.exports,s,i,u,c)}return u[e].exports}for(var f="function"==typeof iv&&iv,n=0;n<c.length;n++)a(c[n]);return a}({1:[function(n,e,t){var r,o,i=e.exports={};function u(){throw new Error("setTimeout has not been defined")}function c(){throw new Error("clearTimeout has not been defined")}function a(n){if(r===setTimeout)return setTimeout(n,0);if((r===u||!r)&&setTimeout)return r=setTimeout,setTimeout(n,0);try{return r(n,0)}catch(e){try{return r.call(null,n,0)}catch(e){return r.call(this,n,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:u}catch(n){r=u}try{o="function"==typeof clearTimeout?clearTimeout:c}catch(n){o=c}}();var f,s=[],l=!1,d=-1;function m(){l&&f&&(l=!1,f.length?s=f.concat(s):d=-1,s.length&&g())}function g(){if(!l){var n=a(m);l=!0;for(var e=s.length;e;){for(f=s,s=[];++d<e;)f&&f[d].run();d=-1,e=s.length}f=null,l=!1,function t(n){if(o===clearTimeout)return clearTimeout(n);if((o===c||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(n);try{return o(n)}catch(e){try{return o.call(null,n)}catch(e){return o.call(this,n)}}}(n)}}function p(n,e){this.fun=n,this.array=e}function h(){}i.nextTick=function(n){var e=new Array(arguments.length-1);if(1<arguments.length)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];s.push(new p(n,e)),1!==s.length||l||a(g)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(n){return[]},i.binding=function(n){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(n){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],2:[function(n,l,e){(function(e){function r(){}function i(n){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof n)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],s(n,this)}function o(r,o){for(;3===r._state;)r=r._value;0!==r._state?(r._handled=!0,i._immediateFn(function(){var n=1===r._state?o.onFulfilled:o.onRejected;if(null!==n){var e;try{e=n(r._value)}catch(t){return void c(o.promise,t)}u(o.promise,e)}else(1===r._state?u:c)(o.promise,r._value)})):r._deferreds.push(o)}function u(n,e){try{if(e===n)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var t=e.then;if(e instanceof i)return n._state=3,n._value=e,void a(n);if("function"==typeof t)return void s(function r(n,e){return function(){n.apply(e,arguments)}}(t,e),n)}n._state=1,n._value=e,a(n)}catch(o){c(n,o)}}function c(n,e){n._state=2,n._value=e,a(n)}function a(n){2===n._state&&0===n._deferreds.length&&i._immediateFn(function(){n._handled||i._unhandledRejectionFn(n._value)});for(var e=0,t=n._deferreds.length;e<t;e++)o(n,n._deferreds[e]);n._deferreds=null}function f(n,e,t){this.onFulfilled="function"==typeof n?n:null,this.onRejected="function"==typeof e?e:null,this.promise=t}function s(n,e){var t=!1;try{n(function(n){t||(t=!0,u(e,n))},function(n){t||(t=!0,c(e,n))})}catch(r){if(t)return;t=!0,c(e,r)}}var n,t;n=this,t=setTimeout,i.prototype["catch"]=function(n){return this.then(null,n)},i.prototype.then=function(n,e){var t=new this.constructor(r);return o(this,new f(n,e,t)),t},i.all=function(n){var a=Array.prototype.slice.call(n);return new i(function(o,i){if(0===a.length)return o([]);var u=a.length;function c(e,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var t=n.then;if("function"==typeof t)return void t.call(n,function(n){c(e,n)},i)}a[e]=n,0==--u&&o(a)}catch(r){i(r)}}for(var n=0;n<a.length;n++)c(n,a[n])})},i.resolve=function(e){return e&&"object"==typeof e&&e.constructor===i?e:new i(function(n){n(e)})},i.reject=function(t){return new i(function(n,e){e(t)})},i.race=function(o){return new i(function(n,e){for(var t=0,r=o.length;t<r;t++)o[t].then(n,e)})},i._immediateFn="function"==typeof e?function(n){e(n)}:function(n){t(n,0)},i._unhandledRejectionFn=function(n){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",n)},i._setImmediateFn=function(n){i._immediateFn=n},i._setUnhandledRejectionFn=function(n){i._unhandledRejectionFn=n},void 0!==l&&l.exports?l.exports=i:n.Promise||(n.Promise=i)}).call(this,n("timers").setImmediate)},{timers:3}],3:[function(a,n,f){(function(n,e){var r=a("process/browser.js").nextTick,t=Function.prototype.apply,o=Array.prototype.slice,i={},u=0;function c(n,e){this._id=n,this._clearFn=e}f.setTimeout=function(){return new c(t.call(setTimeout,window,arguments),clearTimeout)},f.setInterval=function(){return new c(t.call(setInterval,window,arguments),clearInterval)},f.clearTimeout=f.clearInterval=function(n){n.close()},c.prototype.unref=c.prototype.ref=function(){},c.prototype.close=function(){this._clearFn.call(window,this._id)},f.enroll=function(n,e){clearTimeout(n._idleTimeoutId),n._idleTimeout=e},f.unenroll=function(n){clearTimeout(n._idleTimeoutId),n._idleTimeout=-1},f._unrefActive=f.active=function(n){clearTimeout(n._idleTimeoutId);var e=n._idleTimeout;0<=e&&(n._idleTimeoutId=setTimeout(function(){n._onTimeout&&n._onTimeout()},e))},f.setImmediate="function"==typeof n?n:function(n){var e=u++,t=!(arguments.length<2)&&o.call(arguments,1);return i[e]=!0,r(function(){i[e]&&(t?n.apply(null,t):n.call(null),f.clearImmediate(e))}),e},f.clearImmediate="function"==typeof e?e:function(n){delete i[n]}}).call(this,a("timers").setImmediate,a("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(n,e,t){var r=n("promise-polyfill"),o="undefined"!=typeof window?window:Function("return this;")();e.exports={boltExport:o.Promise||r}},{"promise-polyfill":2}]},{},[4])(4)});function av(n){d.setTimeout(function(){throw n},0)}function fv(n,e,t){return Math.abs(n-e)<=t?An.none():n<e?An.some(n+t):An.some(n-t)}function sv(e,t){return wo([{width:320,height:480,keyboard:{portrait:300,landscape:240}},{width:320,height:568,keyboard:{portrait:300,landscape:240}},{width:375,height:667,keyboard:{portrait:305,landscape:240}},{width:414,height:736,keyboard:{portrait:320,landscape:240}},{width:768,height:1024,keyboard:{portrait:320,landscape:400}},{width:1024,height:1366,keyboard:{portrait:380,landscape:460}}],function(n){return function(n,e){return n?An.some(e):An.none()}(e<=n.width&&t<=n.height,n.keyboard)}).getOr({portrait:t/5,landscape:e/4})}function lv(n){var e=Bg(n).isPortrait(),t=function(n){return sv(n.screen.width,n.screen.height)}(n),r=e?t.portrait:t.landscape;return(e?n.screen.height:n.screen.width)-n.innerHeight>r?0:r}function dv(n,e){var t=an(n).dom().defaultView;return $i(n)+$i(e)-lv(t)}function mv(n){return Lg(n,Rv)}function gv(n,e){var t=function(n){return Qr(n,Fv)}(n);return Iv.fixed(n,t,e)}function pv(n,e){return Iv.scroller(n,e)}function hv(n){var e=mv(n);return("true"===Qr(n,Av)?pv:gv)(n,e)}function vv(n,e,t){var r=an(n).dom().defaultView.innerHeight;return Kr(n,Bv,r+"px"),r-e-t}function yv(n){var e=mi(n,"top").getOr("0");return parseInt(e,10)}function bv(n){return parseInt(n.dom().scrollTop,10)}function xv(n,e){var t=e+jv(n)+"px";Li(n,"top",t)}var wv=cv.exports.boltExport,Sv=function(n){var t=An.none(),e=[],r=function(n){o()?u(n):e.push(n)},o=function(){return t.isSome()},i=function(n){C(n,u)},u=function(e){t.each(function(n){d.setTimeout(function(){e(n)},0)})};return n(function(n){t=An.some(n),i(e),e=[]}),{get:r,map:function(t){return Sv(function(e){r(function(n){e(t(n))})})},isReady:o}},Tv={nu:Sv,pure:function(e){return Sv(function(n){n(e)})}},Ov=function(t){function n(n){t().then(n,av)}return{map:function(n){return Ov(function(){return t().then(n)})},bind:function(e){return Ov(function(){return t().then(function(n){return e(n).toPromise()})})},anonBind:function(n){return Ov(function(){return t().then(function(){return n.toPromise()})})},toLazy:function(){return Tv.nu(n)},toCached:function(){var n=null;return Ov(function(){return null===n&&(n=t()),n})},toPromise:t,get:n}},kv=function(n){return Ov(function(){return new wv(n)})},Ev=function(n){return Ov(function(){return wv.resolve(n)})},Cv=function(){var f=null;return{animate:function(r,o,n,i,e,t){function u(n){c=!0,e(n)}var c=!1;Ag.clearInterval(f);function a(n){Ag.clearInterval(f),u(n)}f=Ag.setInterval(function(){var t=r();fv(t,o,n).fold(function(){Ag.clearInterval(f),u(o)},function(n){if(i(n,a),!c){var e=r();(e!==n||Math.abs(e-o)>Math.abs(t-o))&&(Ag.clearInterval(f),u(o))}})},t)}}},Dv=dv,Mv=function(n,e,t){var r=dv(e,t),o=$i(e)+$i(t)-r;Li(n,"padding-bottom",o+"px")},Iv=yt([{fixed:["element","property","offsetY"]},{scroller:["element","offsetY"]}]),Rv="data-"+ji.resolve("position-y-fixed"),Fv="data-"+ji.resolve("y-property"),Av="data-"+ji.resolve("scrolling"),Bv="data-"+ji.resolve("last-window-height"),Vv=function(n){var e=qi(n,"["+Rv+"]");return ke(e,hv)},Nv=function(r,o,i,u){function n(){var n=t.innerHeight;return function(n){return Lg(n,Bv)}(r)<n}function e(){if(d){var n=$i(i),e=$i(u),t=vv(r,n,e);Kr(r,Rv,n+"px"),Li(r,"height",t+"px"),Mv(o,r,u)}}var t=an(r).dom().defaultView,c=function(n){var e=Qr(n,"style");li(n,{position:"absolute",top:"0px"}),Kr(n,Rv,"0px"),Kr(n,Fv,"top");return{restore:function(){Kr(n,"style",e||""),no(n,Rv),no(n,Fv)}}}(i),a=$i(i),f=$i(u),s=function(n,e,t){var r=Qr(t,"style");bg.register(t),li(t,{position:"absolute",height:e+"px",width:"100%",top:n+"px"}),Kr(t,Rv,n+"px"),Kr(t,Av,"true"),Kr(t,Fv,"top");return{restore:function(){bg.deregister(t),Kr(t,"style",r||""),no(t,Rv),no(t,Av),no(t,Fv)}}}(a,vv(r,a,f),r),l=function(n){var e=Qr(n,"style");li(n,{position:"absolute",bottom:"0px"}),Kr(n,Rv,"0px"),Kr(n,Fv,"bottom");return{restore:function(){Kr(n,"style",e||""),no(n,Rv),no(n,Fv)}}}(u),d=!0;return Mv(o,r,u),{setViewportOffset:function(n){Kr(r,Rv,n+"px"),e()},isExpanding:n,isShrinking:m(n),refresh:e,restore:function(){d=!1,c.restore(),s.restore(),l.restore()}}},jv=mv,_v=Cv(),Pv="data-"+ji.resolve("last-scroll-top"),Hv=function(t,r,o){return kv(function(n){var e=l(bv,t);_v.animate(e,r,15,function(n){t.dom().scrollTop=n,Li(t,"top",yv(t)+15+"px")},function(){t.dom().scrollTop=r,Li(t,"top",o+"px"),n(r)},10)})},zv=function(o,i){return kv(function(n){var e=l(bv,o);Kr(o,Pv,e());var t=Math.abs(i-e()),r=Math.ceil(t/10);_v.animate(e,i,r,function(n,e){Lg(o,Pv)!==o.dom().scrollTop?e(o.dom().scrollTop):(o.dom().scrollTop=n,Kr(o,Pv,n))},function(){o.dom().scrollTop=i,Kr(o,Pv,i),n(i)},10)})},Lv=function(i,u){return kv(function(n){function e(n){Li(i,"top",n+"px")}var t=l(yv,i),r=Math.abs(u-t()),o=Math.ceil(r/10);_v.animate(t,u,o,e,function(){e(u),n(u)},10)})},Gv=function(e,t,r){var o=an(e).dom().defaultView;return kv(function(n){xv(e,r),xv(t,r),o.scrollTo(0,r),n(r)})};function Uv(i,n){return n(function(t){var r=[],o=0;0===i.length?t([]):C(i,function(n,e){n.get(function(e){return function(n){r[e]=n,++o>=i.length&&t(r)}}(e))})})}function $v(n,r){return n.fold(function(n,e,t){return function(n,e,t,r){return Li(n,e,t+r+"px"),Ev(r)}(n,e,r,t)},function(n,e){return function(n,e,t){var r=e+t,o=mi(n,"top").getOr(t),i=r-parseInt(o,10),u=n.dom().scrollTop+i;return Hv(n,u,r)}(n,r,e)})}function Wv(e,t,n,r,o,i){var u=function f(t){var r=Zn(Tv.pure({}));return{start:function(e){var n=Tv.nu(function(n){return t(e).get(n)});r.set(n)},idle:function(n){r.get().get(function(){n()})}}}(function(n){return Gv(e,t,n)}),c=Ep(function(){u.idle(function(){qv(n,r.pageYOffset).get(function(){(function(){var n=Pp(i);return An.from(n[0]).bind(function(n){var e=n.top()-t.dom().scrollTop;return e>r.innerHeight+5||e<-5?An.some({top:v(e),bottom:v(e+n.height())}):An.none()})})().each(function(n){t.dom().scrollTop=t.dom().scrollTop+n.top()}),u.start(0),o.refresh()})})},1e3),a=em(Je.fromDom(r),"scroll",function(){r.pageYOffset<0||c.throttle()});return qv(n,r.pageYOffset).get(y),{unbind:a.unbind}}var Xv=function(n,e,t,r,o){var i=Dv(e,t),u=l(Qh,n);i<r||i<o?zv(e,e.dom().scrollTop-i+o).get(u):r<0&&zv(e,e.dom().scrollTop+r).get(u)},qv=function(n,e){var t=Vv(n);return function(n){return Uv(n,kv)}(ke(t,function(n){return $v(n,e)}))},Yv=function(n){var t=n.cWin(),e=n.ceBody(),r=n.socket(),o=n.toolstrip(),i=n.toolbar(),u=n.contentElement(),c=n.keyboardType(),a=n.outerWindow(),f=n.dropup(),s=Nv(r,e,o,f),l=c(n.outerBody(),t,rt(),u,o,i),d=Vg(a,{onChange:w,onReady:s.refresh});d.onAdjustment(function(){s.refresh()});var m=em(Je.fromDom(a),"resize",function(){s.isExpanding()&&s.refresh()}),g=Wv(o,r,n.outerBody(),a,s,t),p=function v(t,e){var n=t.document,r=Je.fromTag("div");function o(n){var e=Je.fromTag("span");return Rd(e,[ji.resolve("layer-editor"),ji.resolve("unfocused-selection")]),li(e,{left:n.left()+"px",top:n.top()+"px",width:n.width()+"px",height:n.height()+"px"}),e}io(r,ji.resolve("unfocused-selections")),ft(Je.fromDom(n.documentElement),r);var i=em(r,"touchstart",function(n){n.prevent(),Zh(t,e),u()}),u=function(){pn(r)};return{update:function(){u();var n=Pp(t),e=ke(n,o);gn(r,e)},isActive:function(){return 0<at(r).length},destroy:function(){i.unbind(),st(r)},clear:u}}(t,u),h=function(){p.clear()};return{toEditing:function(){l.toEditing(),h()},toReading:function(){l.toReading()},onToolbarTouch:function(n){l.onToolbarTouch(n)},refreshSelection:function(){p.isActive()&&p.update()},clearSelection:h,highlightSelection:function(){p.update()},scrollIntoView:function(n,e){Xv(t,r,f,n,e)},updateToolbarPadding:w,setViewportOffset:function(n){s.setViewportOffset(n),Lv(r,n).get(y)},syncHeight:function(){Li(u,"height",u.dom().contentWindow.document.body.scrollHeight+"px")},refreshStructure:s.refresh,destroy:function(){s.restore(),d.destroy(),g.unbind(),m.unbind(),l.destroy(),p.destroy(),Jh(rt(),lo)}}},Kv=function(r,n){var o=Kp(),i=wd(),u=wd(),c=xd(),a=xd();return{enter:function(){n.hide();var t=Je.fromDom(d.document);Gp.getActiveApi(r.editor).each(function(n){i.set({socketHeight:mi(r.socket,"height"),iframeHeight:mi(n.frame(),"height"),outerScroll:d.document.body.scrollTop}),u.set({exclusives:ah.exclusive(t,"."+bg.scrollable())}),io(r.container,ji.resolve("fullscreen-maximized")),qp(r.container,n.body()),o.maximize(),Li(r.socket,"overflow","scroll"),Li(r.socket,"-webkit-overflow-scrolling","touch"),so(n.body());var e=nn(["cWin","ceBody","socket","toolstrip","toolbar","dropup","contentElement","cursor","keyboardType","isScrolling","outerWindow","outerBody"],[]);c.set(Yv(e({cWin:n.win(),ceBody:n.body(),socket:r.socket,toolstrip:r.toolstrip,toolbar:r.toolbar,dropup:r.dropup.element(),contentElement:n.frame(),cursor:w,outerBody:r.body,outerWindow:r.win,keyboardType:nv.stubborn,isScrolling:function(){return u.get().exists(function(n){return n.socket.isScrolling()})}}))),c.run(function(n){n.syncHeight()}),a.set(ev(n,c,r.toolstrip,r.socket,r.dropup))})},refreshStructure:function(){c.run(function(n){n.refreshStructure()})},exit:function(){o.restore(),a.clear(),c.clear(),n.show(),i.on(function(n){n.socketHeight.each(function(n){Li(r.socket,"height",n)}),n.iframeHeight.each(function(n){Li(r.editor.getFrame(),"height",n)}),d.document.body.scrollTop=n.scrollTop}),i.clear(),u.on(function(n){n.exclusives.unbind()}),u.clear(),co(r.container,ji.resolve("fullscreen-maximized")),Yp(),bg.deregister(r.toolbar),gi(r.socket,"overflow"),gi(r.socket,"-webkit-overflow-scrolling"),lo(r.editor.getFrame()),Gp.getActiveApi(r.editor).each(function(n){n.clearSelection()})}}},Jv=function(n){var e=Xt("Getting IosWebapp schema",Zp,n);Li(e.toolstrip,"width","100%"),Li(e.container,"position","relative");var t=Um(Qp(function(){e.setReadOnly(e.readOnlyOnInit()),o.enter()},e.translate));e.alloy.add(t);var r={show:function(){e.alloy.add(t)},hide:function(){e.alloy.remove(t)}},o=Kv(e,r);return{setReadOnly:e.setReadOnly,refreshStructure:o.refreshStructure,enter:o.enter,exit:o.exit,destroy:w}};function Qv(n,e,t){n.system().broadcastOn([Uo.formatChanged()],{command:e,state:t})}function Zv(m){return{getNotificationManagerImpl:function(){return{open:v({progressBar:{value:w},close:w,text:w,getEl:v(null),moveTo:w,moveRel:w,settings:{}}),close:w,reposition:w,getArgs:v({})}},renderUI:function(){var n=m.getElement(),e=ey(m);!1===function(n){return!1===n.settings.skin}(m)?(m.contentCSS.push(e.content),zo.DOM.styleSheetLoader.load(e.ui,ry(m))):ry(m)();function t(){m.fire("ScrollIntoView")}var f=L().os.isAndroid()?function c(n){var e=Kh({classes:[ji.resolve("android-container")]}),t=fh(),r=xd(),o=Rh(r),i=Fh(),u=Oh(w,n);return e.add(t.wrapper()),e.add(i),e.add(u.component()),{system:v(e),element:e.element,init:function(n){r.set(nh(n))},exit:function(){r.run(function(n){n.exit(),ug.remove(i,o)})},setToolbarGroups:function(n){var e=t.createGroups(n);t.setGroups(e)},setContextToolbar:function(n){var e=t.createGroups(n);t.setContextToolbar(e)},focusToolbar:function(){t.focus()},restoreToolbar:function(){t.restoreToolbar()},updateMode:function(n){Ah(i,o,n,e.root())},socket:v(i),dropup:v(u)}}(t):function a(n){var e=Kh({classes:[ji.resolve("ios-container")]}),t=fh(),r=xd(),o=Rh(r),i=Fh(),u=Oh(function(){r.run(function(n){n.refreshStructure()})},n);return e.add(t.wrapper()),e.add(i),e.add(u.component()),{system:v(e),element:e.element,init:function(n){r.set(Jv(n))},exit:function(){r.run(function(n){ug.remove(i,o),n.exit()})},setToolbarGroups:function(n){var e=t.createGroups(n);t.setGroups(e)},setContextToolbar:function(n){var e=t.createGroups(n);t.setContextToolbar(e)},focusToolbar:function(){t.focus()},restoreToolbar:function(){t.restoreToolbar()},updateMode:function(n){Ah(i,o,n,e.root())},socket:v(i),dropup:v(u)}}(t);!function(n,e){gt(n,e,dn)}(Je.fromDom(n),f.system());function s(n,e,t,r){!1===r&&m.selection.collapse();var o=i(n,e,t);f.setToolbarGroups(!0===r?o.readOnly:o.main),m.setMode(!0===r?"readonly":"design"),m.fire(!0===r?oy():iy()),f.updateMode(r)}function l(n,e){return m.on(n,e),{unbind:function(){m.off(n)}}}var r=n.ownerDocument.defaultView,d=Vg(r,{onChange:function(){f.system().broadcastOn([Uo.orientationChanged()],{width:Ng(r)})},onReady:w}),i=function(n,e,t){var r=n.get();return{readOnly:r.backToMask.concat(e.get()),main:r.backToMask.concat(t.get())}};return m.on("init",function(){f.init({editor:{getFrame:function(){return Je.fromDom(m.contentAreaContainer.querySelector("iframe"))},onDomChanged:function(){return{unbind:w}},onToReading:function(n){return l(oy(),n)},onToEditing:function(n){return l(iy(),n)},onScrollToCursor:function(e){m.on("ScrollIntoView",function(n){e(n)});return{unbind:function(){m.off("ScrollIntoView"),d.destroy()}}},onTouchToolstrip:function(){n()},onTouchContent:function(){(function(n){return go(n).bind(function(n){return f.system().getByDom(n).toOption()})})(Je.fromDom(m.editorContainer.querySelector("."+ji.resolve("toolbar")))).each($),f.restoreToolbar(),n()},onTapContent:function(n){var e=n.target();if("img"===q(e))m.selection.select(e.dom()),n.kill();else if("a"===q(e)){f.system().getByDom(Je.fromDom(m.editorContainer)).each(function(n){Ho.isAlpha(n)&&Go(e.dom())})}}},container:Je.fromDom(m.editorContainer),socket:Je.fromDom(m.contentAreaContainer),toolstrip:Je.fromDom(m.editorContainer.querySelector("."+ji.resolve("toolstrip"))),toolbar:Je.fromDom(m.editorContainer.querySelector("."+ji.resolve("toolbar"))),dropup:f.dropup(),alloy:f.system(),translate:w,setReadOnly:function(n){s(a,c,u,n)},readOnlyOnInit:function(){return!1}});var n=function(){f.dropup().disappear(function(){f.system().broadcastOn([Uo.dropupDismissed()],{})})},e={label:"The first group",scrollable:!1,items:[$s.forToolbar("back",function(){m.selection.collapse(),f.exit()},{},m)]},t={label:"Back to read only",scrollable:!1,items:[$s.forToolbar("readonly-back",function(){s(a,c,u,!0)},{},m)]},r=Mg(f,m),o=Ig(m.settings,r),i={label:"The extra group",scrollable:!1,items:[]},u=Zn([{label:"the action group",scrollable:!0,items:o},i]),c=Zn([{label:"The read only mode group",scrollable:!0,items:[]},i]),a=Zn({backToMask:[e],backToReadOnly:[t]});ty(f,m)}),m.on("remove",function(){f.exit()}),m.on("detach",function(){!function(e){var n=at(e.element());C(n,function(n){e.getByDom(n).each(lt)}),st(e.element())}(f.system()),f.system().destroy()}),{iframeContainer:f.socket().element().dom(),editorContainer:f.element().dom()}}}}var ny=tinymce.util.Tools.resolve("tinymce.EditorManager"),ey=function(n){var e=Dt(n.settings,"skin_url").fold(function(){return ny.baseURL+"/skins/ui/oxide"},function(n){return n});return{content:e+"/content.mobile.min.css",ui:e+"/skin.mobile.min.css"}},ty=function(r,n){var e=Bn(n.formatter.get());C(e,function(e){n.formatter.formatChanged(e,function(n){Qv(r,e,n)})}),C(["ul","ol"],function(t){n.selection.selectorChanged(t,function(n,e){Qv(r,t,n)})})},ry=(v(["x-small","small","medium","large","x-large"]),function(n){function e(){n._skinLoaded=!0,n.fire("SkinLoaded")}return function(){n.initialized?e():n.on("init",e)}}),oy=v("toReading"),iy=v("toEditing");!function cy(){Lo.add("mobile",Zv)}()}(window); |
New file |
| | |
| | | // Exports the "silver" theme for usage with module loaders |
| | | // Usage: |
| | | // CommonJS: |
| | | // require('tinymce/themes/silver') |
| | | // ES2015: |
| | | // import 'tinymce/themes/silver' |
| | | require('./theme.js'); |
New file |
| | |
| | | /** |
| | | * Copyright (c) Tiny Technologies, Inc. All rights reserved. |
| | | * Licensed under the LGPL or a commercial license. |
| | | * For LGPL see License.txt in the project root for license information. |
| | | * For commercial licenses see https://www.tiny.cloud/ |
| | | * |
| | | * Version: 5.1.0 (2019-10-17) |
| | | */ |
| | | !function(H){"use strict";function Z(){}function i(e,o){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return e(o.apply(null,n))}}function l(n){return n}var nn=function(n){return function(){return n}};function d(o){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var e=r.concat(n);return o.apply(null,e)}}function v(e){return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return!e.apply(null,n)}}function r(n){return function(){throw new Error(n)}}var u=nn(!1),a=nn(!0),n=tinymce.util.Tools.resolve("tinymce.ThemeManager"),P=function(){return(P=Object.assign||function(n){for(var t,e=1,o=arguments.length;e<o;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}).apply(this,arguments)};function c(n,t){var e={};for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&t.indexOf(o)<0&&(e[o]=n[o]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(n);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(n,o[r])&&(e[o[r]]=n[o[r]])}return e}function g(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;var o=Array(n),r=0;for(t=0;t<e;t++)for(var i=arguments[t],u=0,a=i.length;u<a;u++,r++)o[r]=i[u];return o}function t(){return s}var e,s=(e={fold:function(n,t){return n()},is:u,isSome:u,isNone:a,getOr:m,getOrThunk:f,getOrDie:function(n){throw new Error(n||"error: getOrDie called on none.")},getOrNull:nn(null),getOrUndefined:nn(undefined),or:m,orThunk:f,map:t,each:Z,bind:t,exists:u,forall:a,filter:t,equals:o,equals_:o,toArray:function(){return[]},toString:nn("none()")},Object.freeze&&Object.freeze(e),e);function o(n){return n.isNone()}function f(n){return n()}function m(n){return n}function p(t){return function(n){return function(n){if(null===n)return"null";var t=typeof n;return"object"==t&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"==t&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":t}(n)===t}}function h(n,t){if(fn(n)){for(var e=0,o=n.length;e<o;++e)if(!0!==t(n[e]))return!1;return!0}return!1}function b(n,t){return pn.call(n,t)}function y(n,t){for(var e=0,o=n.length;e<o;e++){if(t(n[e],e))return!0}return!1}function x(n,t){for(var e=[],o=0;o<n.length;o+=t){var r=gn.call(n,o,o+t);e.push(r)}return e}function w(n,t){for(var e=n.length,o=new Array(e),r=0;r<e;r++){var i=n[r];o[r]=t(i,r)}return o}function S(n,t){for(var e=[],o=0,r=n.length;o<r;o++){var i=n[o];t(i,o)&&e.push(i)}return e}function C(n,t,e){return function(n,t){for(var e=n.length-1;0<=e;e--){t(n[e],e)}}(n,function(n){e=t(e,n)}),e}function k(n,t,e){return bn(n,function(n){e=t(e,n)}),e}function O(n,t){for(var e=0,o=n.length;e<o;e++){var r=n[e];if(t(r,e))return on.some(r)}return on.none()}function T(n,t){for(var e=0,o=n.length;e<o;e++){if(t(n[e],e))return on.some(e)}return on.none()}function z(n){for(var t=[],e=0,o=n.length;e<o;++e){if(!fn(n[e]))throw new Error("Arr.flatten item "+e+" was not an array, input: "+n);hn.apply(t,n[e])}return t}function E(n,t){var e=w(n,t);return z(e)}function B(n,t){for(var e=0,o=n.length;e<o;++e){if(!0!==t(n[e],e))return!1}return!0}function D(n){var t=gn.call(n,0);return t.reverse(),t}function _(n,t){return S(n,function(n){return!vn(t,n)})}function A(n){return[n]}function M(n){return 0===n.length?on.none():on.some(n[n.length-1])}function L(n,e){return kn(n,function(n,t){return{k:t,v:e(n,t)}})}function F(n,t){for(var e=wn(n),o=0,r=e.length;o<r;o++){var i=e[o],u=n[i];if(t(u,i,n))return on.some(u)}return on.none()}function I(n){return On(n,function(n){return n})}function R(n,t){return Tn(n,t)?on.from(n[t]):on.none()}function V(u){return function(){for(var n=new Array(arguments.length),t=0;t<n.length;t++)n[t]=arguments[t];if(0===n.length)throw new Error("Can't merge zero objects");for(var e={},o=0;o<n.length;o++){var r=n[o];for(var i in r)Bn.call(r,i)&&(e[i]=u(e[i],r[i]))}return e}}function N(e){var o,r=!1;return function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return r||(r=!0,o=e.apply(null,n)),o}}function j(n){return An.defaultedThunk(nn(n))}function U(t){return function(n){return Tn(n,t)?on.from(n[t]):on.none()}}function W(n,t){return U(t)(n)}function G(n,t){var e={};return e[n]=t,e}function X(n,t){return function(n,e){var o={};return Cn(n,function(n,t){vn(e,t)||(o[t]=n)}),o}(n,t)}function Y(n,t){return function(t,e){return function(n){return Tn(n,t)?n[t]:e}}(n,t)}function q(n,t){return G(n,t)}function K(n){return function(n){var t={};return bn(n,function(n){t[n.key]=n.value}),t}(n)}function J(n,t){var e=function(n){var t=[],e=[];return bn(n,function(n){n.fold(function(n){t.push(n)},function(n){e.push(n)})}),{errors:t,values:e}}(n);return 0<e.errors.length?function(n){return an.error(z(n))}(e.errors):function(n,t){return 0===n.length?an.value(t):an.value(Dn(t,_n.apply(undefined,n)))}(e.values,t)}function $(n,t){return function(n,t){return Tn(n,t)&&n[t]!==undefined&&null!==n[t]}(n,t)}var Q,tn,en=function(e){function n(){return r}function t(n){return n(e)}var o=nn(e),r={fold:function(n,t){return t(e)},is:function(n){return e===n},isSome:a,isNone:u,getOr:o,getOrThunk:o,getOrDie:o,getOrNull:o,getOrUndefined:o,or:n,orThunk:n,map:function(n){return en(n(e))},each:function(n){n(e)},bind:t,exists:t,forall:t,filter:function(n){return n(e)?r:s},toArray:function(){return[e]},toString:function(){return"some("+e+")"},equals:function(n){return n.is(e)},equals_:function(n,t){return n.fold(u,function(n){return t(e,n)})}};return r},on={some:en,none:t,from:function(n){return null===n||n===undefined?s:en(n)}},rn=function(e){return{is:function(n){return e===n},isValue:a,isError:u,getOr:nn(e),getOrThunk:nn(e),getOrDie:nn(e),or:function(n){return rn(e)},orThunk:function(n){return rn(e)},fold:function(n,t){return t(e)},map:function(n){return rn(n(e))},mapError:function(n){return rn(e)},each:function(n){n(e)},bind:function(n){return n(e)},exists:function(n){return n(e)},forall:function(n){return n(e)},toOption:function(){return on.some(e)}}},un=function(e){return{is:u,isValue:u,isError:a,getOr:l,getOrThunk:function(n){return n()},getOrDie:function(){return r(String(e))()},or:function(n){return n},orThunk:function(n){return n()},fold:function(n,t){return n(e)},map:function(n){return un(e)},mapError:function(n){return un(n(e))},each:Z,bind:function(n){return un(e)},exists:u,forall:a,toOption:on.none}},an={value:rn,error:un,fromOption:function(n,t){return n.fold(function(){return un(t)},rn)}},cn=p("string"),sn=p("object"),fn=p("array"),ln=p("boolean"),dn=p("function"),mn=p("number"),gn=Array.prototype.slice,pn=Array.prototype.indexOf,hn=Array.prototype.push,vn=function(n,t){return-1<b(n,t)},bn=function(n,t){for(var e=0,o=n.length;e<o;e++){t(n[e],e)}},yn=function(n){return 0===n.length?on.none():on.some(n[0])},xn=dn(Array.from)?Array.from:function(n){return gn.call(n)},wn=Object.keys,Sn=Object.hasOwnProperty,Cn=function(n,t){for(var e=wn(n),o=0,r=e.length;o<r;o++){var i=e[o];t(n[i],i)}},kn=function(n,o){var r={};return Cn(n,function(n,t){var e=o(n,t);r[e.k]=e.v}),r},On=function(n,e){var o=[];return Cn(n,function(n,t){o.push(e(n,t))}),o},Tn=function(n,t){return Sn.call(n,t)},En=function(u){if(!fn(u))throw new Error("cases must be an array");if(0===u.length)throw new Error("there must be at least one case");var a=[],e={};return bn(u,function(n,o){var t=wn(n);if(1!==t.length)throw new Error("one and only one name per case");var r=t[0],i=n[r];if(e[r]!==undefined)throw new Error("duplicate key detected:"+r);if("cata"===r)throw new Error("cannot have a case named cata (sorry)");if(!fn(i))throw new Error("case arguments must be an array");a.push(r),e[r]=function(){var n=arguments.length;if(n!==i.length)throw new Error("Wrong number of arguments to case "+r+". Expected "+i.length+" ("+i+"), got "+n);for(var e=new Array(n),t=0;t<e.length;t++)e[t]=arguments[t];return{fold:function(){if(arguments.length!==u.length)throw new Error("Wrong number of arguments to fold. Expected "+u.length+", got "+arguments.length);return arguments[o].apply(null,e)},match:function(n){var t=wn(n);if(a.length!==t.length)throw new Error("Wrong number of arguments to match. Expected: "+a.join(",")+"\nActual: "+t.join(","));if(!B(a,function(n){return vn(t,n)}))throw new Error("Not all branches were specified when using match. Specified: "+t.join(", ")+"\nRequired: "+a.join(", "));return n[r].apply(null,e)},log:function(n){H.console.log(n,{constructors:a,constructor:r,params:e})}}}}),e},Bn=Object.prototype.hasOwnProperty,Dn=V(function(n,t){return sn(n)&&sn(t)?Dn(n,t):t}),_n=V(function(n,t){return t}),An=En([{strict:[]},{defaultedThunk:["fallbackThunk"]},{asOption:[]},{asDefaultedOptionThunk:["fallbackThunk"]},{mergeWithThunk:["baseThunk"]}]),Mn=An.strict,Fn=An.asOption,In=An.defaultedThunk,Rn=An.mergeWithThunk,Vn=(En([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]),function(n){return U(n)}),Nn=function(n,t){return W(n,t)};(tn=Q=Q||{})[tn.Error=0]="Error",tn[tn.Value=1]="Value";function Hn(n,t,e){return n.stype===Q.Error?t(n.serror):e(n.svalue)}function Pn(n){return{stype:Q.Value,svalue:n}}function zn(n){return{stype:Q.Error,serror:n}}function Ln(n){return i(te,z)(n)}function jn(n){return sn(n)&&100<wn(n).length?" removed due to size":JSON.stringify(n,null,2)}function Un(n,t){return te([{path:n,getErrorInfo:t}])}function Wn(n,t,e){return W(t,e).fold(function(){return function(n,t,e){return Un(n,function(){return'Could not find valid *strict* value for "'+t+'" in '+jn(e)})}(n,e,t)},Zt)}function Gn(n,t,e){var o=W(n,t).fold(function(){return e(n)},l);return Zt(o)}function Xn(u,a,n,c){return n.fold(function(o,e,n,r){function i(n){var t=r.extract(u.concat([o]),c,n);return re(t,function(n){return G(e,c(n))})}function t(n){return n.fold(function(){var n=G(e,c(on.none()));return Zt(n)},function(n){var t=r.extract(u.concat([o]),c,n);return re(t,function(n){return G(e,c(on.some(n)))})})}return n.fold(function(){return ee(Wn(u,a,o),i)},function(n){return ee(Gn(a,o,n),i)},function(){return ee(function(n,t){return Zt(W(n,t))}(a,o),t)},function(n){return ee(function(t,n,e){var o=W(t,n).map(function(n){return!0===n?e(t):n});return Zt(o)}(a,o,n),t)},function(n){var t=n(a),e=re(Gn(a,o,nn({})),function(n){return Dn(t,n)});return ee(e,i)})},function(n,t){var e=t(a);return Zt(G(n,c(e)))})}function Yn(o){return{extract:function(t,n,e){return oe(o(e,n),function(n){return function(n,t){return Un(n,function(){return t})}(t,n)})},toString:function(){return"val"},toDsl:function(){return ce.itemOf(o)}}}function qn(n){var i=le(n),u=C(n,function(t,n){return n.fold(function(n){return Dn(t,q(n,!0))},nn(t))},{});return{extract:function(n,t,e){var o=ln(e)?[]:function(t){var n=wn(t);return S(n,function(n){return $(t,n)})}(e),r=S(o,function(n){return!$(u,n)});return 0===r.length?i.extract(n,t,e):function(n,t){return Un(n,function(){return"There are unsupported fields: ["+t.join(", ")+"] specified"})}(n,r)},toString:i.toString,toDsl:i.toDsl}}function Kn(r){return{extract:function(e,o,n){var t=w(n,function(n,t){return r.extract(e.concat(["["+t+"]"]),o,n)});return ae(t)},toString:function(){return"array("+r.toString()+")"},toDsl:function(){return ce.arrOf(r)}}}function Jn(i,u){return{extract:function(e,o,r){var n=wn(r),t=function(n,t){return Kn(Yn(i)).extract(n,l,t)}(e,n);return ee(t,function(n){var t=w(n,function(n){return fe.field(n,n,Mn(),u)});return le(t).extract(e,o,r)})},toString:function(){return"setOf("+u.toString()+")"},toDsl:function(){return ce.setOf(i,u)}}}function $n(t,e,o,n,r){return Nn(n,r).fold(function(){return function(n,t,e){return Un(n,function(){return'The chosen schema: "'+e+'" did not exist in branches: '+jn(t)})}(t,n,r)},function(n){return n.extract(t.concat(["branch: "+r]),e,o)})}function Qn(n,r){return{extract:function(t,e,o){return Nn(o,n).fold(function(){return function(n,t){return Un(n,function(){return'Choice schema did not contain choice key: "'+t+'"'})}(t,n)},function(n){return $n(t,e,o,r,n)})},toString:function(){return"chooseOn("+n+"). Possible values: "+wn(r)},toDsl:function(){return ce.choiceOf(n,r)}}}function Zn(t){return Yn(function(n){return t(n).fold(te,Zt)})}function nt(t,n){return Jn(function(n){return $t(t(n))},n)}function tt(n,t,e){return Qt(function(n,t,e,o){var r=t.extract([n],e,o);return ie(r,function(n){return{input:o,errors:n}})}(n,t,l,e))}function et(n){return n.fold(function(n){throw new Error(be(n))},l)}function ot(n,t,e){return et(tt(n,t,e))}function rt(n,t){return Qn(n,t)}function it(n,t){return Qn(n,L(t,le))}function ut(e,o){return Yn(function(n){var t=typeof n;return e(n)?Zt(n):te("Expected type: "+o+" but got: "+t)})}function at(t){return Zn(function(n){return vn(t,n)?an.value(n):an.error('Unsupported value: "'+n+'", choose one of "'+t.join(", ")+'".')})}function ct(n){return pe(n,n,Mn(),de())}function st(n,t){return pe(n,n,Mn(),t)}function ft(n){return st(n,we)}function lt(n,t){return pe(n,n,Mn(),at(t))}function dt(n){return st(n,Ce)}function mt(n,t){return pe(n,n,Mn(),le(t))}function gt(n,t){return pe(n,n,Mn(),me(t))}function pt(n,t){return pe(n,n,Mn(),Kn(t))}function ht(n){return pe(n,n,Fn(),de())}function vt(n,t){return pe(n,n,Fn(),t)}function bt(n){return vt(n,xe)}function yt(n){return vt(n,we)}function xt(n){return vt(n,Ce)}function wt(n,t){return vt(n,le(t))}function St(n,t){return pe(n,n,j(t),de())}function Ct(n,t,e){return pe(n,n,j(t),e)}function kt(n,t){return Ct(n,t,xe)}function Ot(n,t){return Ct(n,t,we)}function Tt(n,t,e){return Ct(n,t,at(e))}function Et(n,t){return Ct(n,t,Se)}function Bt(n,t){return Ct(n,t,Ce)}function Dt(n,t,e){return Ct(n,t,le(e))}function _t(n,t){return ge(n,t)}function At(n,t,e){return 0!=(n.compareDocumentPosition(t)&e)}function Mt(n,t){var e=function(n,t){for(var e=0;e<n.length;e++){var o=n[e];if(o.test(t))return o}return undefined}(n,t);if(!e)return{major:0,minor:0};function o(n){return Number(t.replace(e,"$"+n))}return Ae(o(1),o(2))}function Ft(n,t){return function(){return t===n}}function It(n,t){return function(){return t===n}}function Rt(n,t){var e=String(t).toLowerCase();return O(n,function(n){return n.search(e)})}function Vt(n,t){return-1!==n.indexOf(t)}function Nt(t){return function(n){return Vt(n,t)}}function Ht(){return qe.get()}function Pt(n,t){var e=n.dom();if(e.nodeType!==Qe)return!1;var o=e;if(o.matches!==undefined)return o.matches(t);if(o.msMatchesSelector!==undefined)return o.msMatchesSelector(t);if(o.webkitMatchesSelector!==undefined)return o.webkitMatchesSelector(t);if(o.mozMatchesSelector!==undefined)return o.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}function zt(n){return n.nodeType!==Qe&&n.nodeType!==Ze||0===n.childElementCount}function Lt(n,t){var e=t===undefined?H.document:t.dom();return zt(e)?[]:w(e.querySelectorAll(n),Be.fromDom)}function jt(n,t){return n.dom()===t.dom()}function Ut(n,t){return jt(n.element(),t.event().target())}function Wt(n){if(!$(n,"can")&&!$(n,"abort")&&!$(n,"run"))throw new Error("EventHandler defined by: "+JSON.stringify(n,null,2)+" does not have can, abort, or run!");return ot("Extracting event.handler",qn([St("can",nn(!0)),St("abort",nn(!1)),St("run",Z)]),n)}function Gt(e){var n=function(t,o){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return k(t,function(n,t){return n&&o(t).apply(undefined,e)},!0)}}(e,function(n){return n.can}),t=function(t,o){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return k(t,function(n,t){return n||o(t).apply(undefined,e)},!1)}}(e,function(n){return n.abort});return Wt({can:n,abort:t,run:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];bn(e,function(n){n.run.apply(undefined,t)})}})}function Xt(n,t){Xo(n,n.element(),t,{})}function Yt(n,t,e){Xo(n,n.element(),t,e)}function qt(n){Xt(n,ko())}function Kt(n,t,e){Xo(n,t,e,{})}function Jt(n,t,e,o){n.getSystem().triggerEvent(e,t,o.event())}var $t=function(n){return n.fold(zn,Pn)},Qt=function(n){return Hn(n,an.error,an.value)},Zt=Pn,ne=function(n){var t=[],e=[];return bn(n,function(n){Hn(n,function(n){return e.push(n)},function(n){return t.push(n)})}),{values:t,errors:e}},te=zn,ee=function(n,t){return n.stype===Q.Value?t(n.svalue):n},oe=function(n,t){return n.stype===Q.Error?t(n.serror):n},re=function(n,t){return n.stype===Q.Value?{stype:Q.Value,svalue:t(n.svalue)}:n},ie=function(n,t){return n.stype===Q.Error?{stype:Q.Error,serror:t(n.serror)}:n},ue=function(n,t){var e=ne(n);return 0<e.errors.length?Ln(e.errors):function(n,t){return 0<n.length?Zt(Dn(t,_n.apply(undefined,n))):Zt(t)}(e.values,t)},ae=function(n){var t=ne(n);return 0<t.errors.length?Ln(t.errors):Zt(t.values)},ce=En([{setOf:["validator","valueType"]},{arrOf:["valueType"]},{objOf:["fields"]},{itemOf:["validator"]},{choiceOf:["key","branches"]},{thunk:["description"]},{func:["args","outputSchema"]}]),se=En([{field:["name","presence","type"]},{state:["name"]}]),fe=En([{field:["key","okey","presence","prop"]},{state:["okey","instantiator"]}]),le=function(o){return{extract:function(n,t,e){return function(t,e,n,o){var r=w(n,function(n){return Xn(t,e,n,o)});return ue(r,{})}(n,e,o,t)},toString:function(){return"obj{\n"+w(o,function(n){return n.fold(function(n,t,e,o){return n+" -> "+o.toString()},function(n,t){return"state("+n+")"})}).join("\n")+"}"},toDsl:function(){return ce.objOf(w(o,function(n){return n.fold(function(n,t,e,o){return se.field(n,e,o)},function(n,t){return se.state(n)})}))}}},de=nn(Yn(Zt)),me=i(Kn,le),ge=fe.state,pe=fe.field,he=Yn(Zt),ve=function(o){return{extract:function(n,t,e){return o().extract(n,t,e)},toString:function(){return o().toString()},toDsl:function(){return o().toDsl()}}},be=function(n){return"Errors: \n"+function(n){var t=10<n.length?n.slice(0,10).concat([{path:[],getErrorInfo:function(){return"... (only showing first ten failures)"}}]):n;return w(t,function(n){return"Failed path: ("+n.path.join(" > ")+")\n"+n.getErrorInfo()})}(n.errors)+"\n\nInput object: "+jn(n.input)},ye=nn(he),xe=ut(mn,"number"),we=ut(cn,"string"),Se=ut(ln,"boolean"),Ce=ut(dn,"function"),ke=function(t){function n(n,t){for(var e=n.next();!e.done;){if(!t(e.value))return!1;e=n.next()}return!0}if(Object(t)!==t)return!0;switch({}.toString.call(t).slice(8,-1)){case"Boolean":case"Number":case"String":case"Date":case"RegExp":case"Blob":case"FileList":case"ImageData":case"ImageBitmap":case"ArrayBuffer":return!0;case"Array":case"Object":return Object.keys(t).every(function(n){return ke(t[n])});case"Map":return n(t.keys(),ke)&&n(t.values(),ke);case"Set":return n(t.keys(),ke);default:return!1}},Oe=Yn(function(n){return ke(n)?Zt(n):te("Expected value to be acceptable for sending via postMessage")}),Te=function(n){function t(){return e}var e=n;return{get:t,set:function(n){e=n},clone:function(){return Te(t())}}},Ee=function(n){if(null===n||n===undefined)throw new Error("Node cannot be null or undefined");return{dom:nn(n)}},Be={fromHtml:function(n,t){var e=(t||H.document).createElement("div");if(e.innerHTML=n,!e.hasChildNodes()||1<e.childNodes.length)throw H.console.error("HTML does not have a single root node",n),new Error("HTML must have a single root node");return Ee(e.childNodes[0])},fromTag:function(n,t){var e=(t||H.document).createElement(n);return Ee(e)},fromText:function(n,t){var e=(t||H.document).createTextNode(n);return Ee(e)},fromDom:Ee,fromPoint:function(n,t,e){var o=n.dom();return on.from(o.elementFromPoint(t,e)).map(Ee)}},De=function(n,t){return At(n,t,H.Node.DOCUMENT_POSITION_CONTAINED_BY)},_e=function(){return Ae(0,0)},Ae=function(n,t){return{major:n,minor:t}},Me={nu:Ae,detect:function(n,t){var e=String(t).toLowerCase();return 0===n.length?_e():Mt(n,e)},unknown:_e},Fe="Firefox",Ie=function(n){var t=n.current;return{current:t,version:n.version,isEdge:Ft("Edge",t),isChrome:Ft("Chrome",t),isIE:Ft("IE",t),isOpera:Ft("Opera",t),isFirefox:Ft(Fe,t),isSafari:Ft("Safari",t)}},Re={unknown:function(){return Ie({current:undefined,version:Me.unknown()})},nu:Ie,edge:nn("Edge"),chrome:nn("Chrome"),ie:nn("IE"),opera:nn("Opera"),firefox:nn(Fe),safari:nn("Safari")},Ve="Windows",Ne="Android",He="Solaris",Pe="FreeBSD",ze=function(n){var t=n.current;return{current:t,version:n.version,isWindows:It(Ve,t),isiOS:It("iOS",t),isAndroid:It(Ne,t),isOSX:It("OSX",t),isLinux:It("Linux",t),isSolaris:It(He,t),isFreeBSD:It(Pe,t)}},Le={unknown:function(){return ze({current:undefined,version:Me.unknown()})},nu:ze,windows:nn(Ve),ios:nn("iOS"),android:nn(Ne),linux:nn("Linux"),osx:nn("OSX"),solaris:nn(He),freebsd:nn(Pe)},je=function(n,e){return Rt(n,e).map(function(n){var t=Me.detect(n.versionRegexes,e);return{current:n.name,version:t}})},Ue=function(n,e){return Rt(n,e).map(function(n){var t=Me.detect(n.versionRegexes,e);return{current:n.name,version:t}})},We=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Ge=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(n){return Vt(n,"edge/")&&Vt(n,"chrome")&&Vt(n,"safari")&&Vt(n,"applewebkit")}},{name:"Chrome",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,We],search:function(n){return Vt(n,"chrome")&&!Vt(n,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(n){return Vt(n,"msie")||Vt(n,"trident")}},{name:"Opera",versionRegexes:[We,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Nt("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Nt("firefox")},{name:"Safari",versionRegexes:[We,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(n){return(Vt(n,"safari")||Vt(n,"mobile/"))&&Vt(n,"applewebkit")}}],Xe=[{name:"Windows",search:Nt("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(n){return Vt(n,"iphone")||Vt(n,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Nt("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Nt("os x"),versionRegexes:[/.*?os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Nt("linux"),versionRegexes:[]},{name:"Solaris",search:Nt("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Nt("freebsd"),versionRegexes:[]}],Ye={browsers:nn(Ge),oses:nn(Xe)},qe=Te(function(n,t){var e=Ye.browsers(),o=Ye.oses(),r=je(e,n).fold(Re.unknown,Re.nu),i=Ue(o,n).fold(Le.unknown,Le.nu);return{browser:r,os:i,deviceType:function(n,t,e,o){var r=n.isiOS()&&!0===/ipad/i.test(e),i=n.isiOS()&&!r,u=n.isiOS()||n.isAndroid(),a=u||o("(pointer:coarse)"),c=r||!i&&u&&o("(min-device-width:768px)"),s=i||u&&!c,f=t.isSafari()&&n.isiOS()&&!1===/safari/i.test(e),l=!s&&!c&&!f;return{isiPad:nn(r),isiPhone:nn(i),isTablet:nn(c),isPhone:nn(s),isTouch:nn(a),isAndroid:n.isAndroid,isiOS:n.isiOS,isWebView:nn(f),isDesktop:nn(l)}}(i,r,n,t)}}(H.navigator.userAgent,function(n){return H.window.matchMedia(n).matches})),Ke=(H.Node.ATTRIBUTE_NODE,H.Node.CDATA_SECTION_NODE,H.Node.COMMENT_NODE,H.Node.DOCUMENT_NODE),Je=(H.Node.DOCUMENT_TYPE_NODE,H.Node.DOCUMENT_FRAGMENT_NODE,H.Node.ELEMENT_NODE),$e=H.Node.TEXT_NODE,Qe=(H.Node.PROCESSING_INSTRUCTION_NODE,H.Node.ENTITY_REFERENCE_NODE,H.Node.ENTITY_NODE,H.Node.NOTATION_NODE,Je),Ze=Ke,no=Ht().browser.isIE()?function(n,t){return De(n.dom(),t.dom())}:function(n,t){var e=n.dom(),o=t.dom();return e!==o&&e.contains(o)},to=nn("touchstart"),eo=nn("touchmove"),oo=nn("touchend"),ro=nn("mousedown"),io=nn("mousemove"),uo=nn("mouseout"),ao=nn("mouseup"),co=nn("mouseover"),so=nn("focusin"),fo=nn("focusout"),lo=nn("keydown"),mo=nn("keyup"),go=nn("input"),po=nn("change"),ho=nn("click"),vo=nn("transitionend"),bo=nn("selectstart"),yo={tap:nn("alloy.tap")},xo=nn("alloy.focus"),wo=nn("alloy.blur.post"),So=nn("alloy.paste.post"),Co=nn("alloy.receive"),ko=nn("alloy.execute"),Oo=nn("alloy.focus.item"),To=yo.tap,Eo=Ht().deviceType.isTouch()?yo.tap:ho,Bo=nn("alloy.longpress"),Do=nn("alloy.sandbox.close"),_o=nn("alloy.typeahead.cancel"),Ao=nn("alloy.system.init"),Mo=nn("alloy.system.touchmove"),Fo=nn("alloy.system.touchend"),Io=nn("alloy.system.scroll"),Ro=nn("alloy.system.resize"),Vo=nn("alloy.system.attached"),No=nn("alloy.system.detached"),Ho=nn("alloy.system.dismissRequested"),Po=nn("alloy.system.repositionRequested"),zo=nn("alloy.focusmanager.shifted"),Lo=nn("alloy.slotcontainer.visibility"),jo=nn("alloy.change.tab"),Uo=nn("alloy.dismiss.tab"),Wo=nn("alloy.highlight"),Go=nn("alloy.dehighlight"),Xo=function(n,t,e,o){var r=P({target:t},o);n.getSystem().triggerEvent(e,t,L(r,nn))};function Yo(n,t,e,o,r){return n(e,o)?on.some(e):dn(r)&&r(e)?on.none():t(e,o,r)}function qo(n){return n.dom().nodeName.toLowerCase()}function Ko(t){return function(n){return function(n){return n.dom().nodeType}(n)===t}}"undefined"!=typeof H.window?H.window:Function("return this;")();function Jo(n){var t=Di(n)?n.dom().parentNode:n.dom();return t!==undefined&&null!==t&&t.ownerDocument.body.contains(t)}function $o(n,t,e){for(var o=n.dom(),r=dn(e)?e:nn(!1);o.parentNode;){o=o.parentNode;var i=Be.fromDom(o);if(t(i))return on.some(i);if(r(i))break}return on.none()}function Qo(n,t,e){return Yo(function(n,t){return t(n)},$o,n,t,e)}function Zo(n,r){var i=function(n){for(var t=0;t<n.childNodes.length;t++){var e=Be.fromDom(n.childNodes[t]);if(r(e))return on.some(e);var o=i(n.childNodes[t]);if(o.isSome())return o}return on.none()};return i(n.dom())}function nr(n){return K(n)}function tr(n,t){return{key:n,value:Wt({abort:t})}}function er(n){return{key:n,value:Wt({run:function(n,t){t.event().prevent()}})}}function or(n,t){return{key:n,value:Wt({run:t})}}function rr(n,t,e){return{key:n,value:Wt({run:function(n){t.apply(undefined,[n].concat(e))}})}}function ir(n){return function(e){return{key:n,value:Wt({run:function(n,t){Ut(n,t)&&e(n,t)}})}}}function ur(n,t,e){return function(e,o){return or(e,function(n,t){n.getSystem().getByUid(o).each(function(n){Jt(n,n.element(),e,t)})})}(n,t.partUids[e])}function ar(n,r){return or(n,function(t,n){var e=n.event(),o=t.getSystem().getByDom(e.target()).fold(function(){return Mi(e.target(),function(n){return t.getSystem().getByDom(n).toOption()},nn(!1)).getOr(t)},function(n){return n});r(t,o,n)})}function cr(n){return or(n,function(n,t){t.cut()})}function sr(n,t){return ir(n)(t)}function fr(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t.length!==e.length)throw new Error('Wrong number of arguments to struct. Expected "['+t.length+']", got '+e.length+" arguments");var o={};return bn(t,function(n,t){o[n]=nn(e[t])}),o}}function lr(n){return n.slice(0).sort()}function dr(t,n){if(!fn(n))throw new Error("The "+t+" fields must be an array. Was: "+n+".");bn(n,function(n){if(!cn(n))throw new Error("The value "+n+" in the "+t+" fields was not a string.")})}function mr(r,i){var u=r.concat(i);if(0===u.length)throw new Error("You must specify at least one required or optional field.");return dr("required",r),dr("optional",i),function(n){var e=lr(n);O(e,function(n,t){return t<e.length-1&&n===e[t+1]}).each(function(n){throw new Error("The field: "+n+" occurs more than once in the combined fields: ["+e.join(", ")+"].")})}(u),function(t){var e=wn(t);B(r,function(n){return vn(e,n)})||function(n,t){throw new Error("All required keys ("+lr(n).join(", ")+") were not specified. Specified keys were: "+lr(t).join(", ")+".")}(r,e);var n=S(e,function(n){return!vn(u,n)});0<n.length&&function(n){throw new Error("Unsupported keys for object: "+lr(n).join(", "))}(n);var o={};return bn(r,function(n){o[n]=nn(t[n])}),bn(i,function(n){o[n]=nn(Object.prototype.hasOwnProperty.call(t,n)?on.some(t[n]):on.none())}),o}}function gr(n){return Be.fromDom(n.dom().ownerDocument)}function pr(n){return Be.fromDom(n.dom().ownerDocument.defaultView)}function hr(n){return on.from(n.dom().parentNode).map(Be.fromDom)}function vr(n){return on.from(n.dom().offsetParent).map(Be.fromDom)}function br(n){return w(n.dom().childNodes,Be.fromDom)}function yr(n,t){var e=n.dom().childNodes;return on.from(e[t]).map(Be.fromDom)}function xr(t,e){hr(t).each(function(n){n.dom().insertBefore(e.dom(),t.dom())})}function wr(n,t){(function(n){return on.from(n.dom().nextSibling).map(Be.fromDom)})(n).fold(function(){hr(n).each(function(n){Ni(n,t)})},function(n){xr(n,t)})}function Sr(t,e){(function(n){return yr(n,0)})(t).fold(function(){Ni(t,e)},function(n){t.dom().insertBefore(e.dom(),n.dom())})}function Cr(t,n){bn(n,function(n){Ni(t,n)})}function kr(n){n.dom().textContent="",bn(br(n),function(n){Hi(n)})}function Or(n){var t=br(n);0<t.length&&function(t,n){bn(n,function(n){xr(t,n)})}(n,t),Hi(n)}function Tr(n){return n.dom().innerHTML}function Er(n,t){var e=gr(n).dom(),o=Be.fromDom(e.createDocumentFragment()),r=function(n,t){var e=(t||H.document).createElement("div");return e.innerHTML=n,br(Be.fromDom(e))}(t,e);Cr(o,r),kr(n),Ni(n,o)}function Br(n,t,e){if(!(cn(e)||ln(e)||mn(e)))throw H.console.error("Invalid call to Attr.set. Key ",t,":: Value ",e,":: Element ",n),new Error("Attribute value was not simple");n.setAttribute(t,e+"")}function Dr(n,t,e){Br(n.dom(),t,e)}function _r(n,t){var e=n.dom().getAttribute(t);return null===e?undefined:e}function Ar(n,t){var e=n.dom();return!(!e||!e.hasAttribute)&&e.hasAttribute(t)}function Mr(n,t){n.dom().removeAttribute(t)}function Fr(n){return function(n,t){return Be.fromDom(n.dom().cloneNode(t))}(n,!1)}function Ir(n){return function(n){var t=Be.fromTag("div"),e=Be.fromDom(n.dom().cloneNode(!0));return Ni(t,e),Tr(t)}(Fr(n))}function Rr(n){return Ir(n)}function Vr(n){var t=(new Date).getTime();return n+"_"+Math.floor(1e9*Math.random())+ ++Li+String(t)}function Nr(n){return Vr(n)}function Hr(t){function n(n){return function(){throw new Error("The component must be in a context to send: "+n+"\n"+Rr(t().element())+" is not in context.")}}return{debugInfo:nn("fake"),triggerEvent:n("triggerEvent"),triggerFocus:n("triggerFocus"),triggerEscape:n("triggerEscape"),build:n("build"),addToWorld:n("addToWorld"),removeFromWorld:n("removeFromWorld"),addToGui:n("addToGui"),removeFromGui:n("removeFromGui"),getByUid:n("getByUid"),getByDom:n("getByDom"),broadcast:n("broadcast"),broadcastOn:n("broadcastOn"),broadcastEvent:n("broadcastEvent"),isConnected:nn(!1)}}function Pr(n,t){var e=n.toString(),o=e.indexOf(")")+1,r=e.indexOf("("),i=e.substring(r+1,o-1).split(/,\s*/);return n.toFunctionAnnotation=function(){return{name:t,parameters:Ji(i)}},n}function zr(n){return q($i,n)}function Lr(o){return function(n,t){var e=t.toString(),o=e.indexOf(")")+1,r=e.indexOf("("),i=e.substring(r+1,o-1).split(/,\s*/);return n.toFunctionAnnotation=function(){return{name:"OVERRIDE",parameters:Ji(i.slice(1))}},n}(function(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return o.apply(undefined,[n.getApis()].concat([n].concat(t)))},o)}function jr(n,r){var i={};return Cn(n,function(n,o){Cn(n,function(n,t){var e=Y(t,[])(i);i[t]=e.concat([r(o,n)])})}),i}function Ur(n){return{classes:n.classes!==undefined?n.classes:[],attributes:n.attributes!==undefined?n.attributes:{},styles:n.styles!==undefined?n.styles:{}}}function Wr(n){return n.cHandler}function Gr(n,t){return{name:nn(n),handler:nn(t)}}function Xr(n,t,e){var o=P(P({},e),function(n,t){var e={};return bn(n,function(n){e[n.name()]=n.handlers(t)}),e}(t,n));return jr(o,Gr)}function Yr(n){var i=function(n){return dn(n)?{can:nn(!0),abort:nn(!1),run:n}:n}(n);return function(n,t){for(var e=[],o=2;o<arguments.length;o++)e[o-2]=arguments[o];var r=[n,t].concat(e);i.abort.apply(undefined,r)?t.stop():i.can.apply(undefined,r)&&i.run.apply(undefined,r)}}function qr(n,t,e){var o=t[e];return o?function(u,a,n,c){var t=n.slice(0);try{var e=t.sort(function(n,t){var e=n[a](),o=t[a](),r=c.indexOf(e),i=c.indexOf(o);if(-1===r)throw new Error("The ordering for "+u+" does not have an entry for "+e+".\nOrder specified: "+JSON.stringify(c,null,2));if(-1===i)throw new Error("The ordering for "+u+" does not have an entry for "+o+".\nOrder specified: "+JSON.stringify(c,null,2));return r<i?-1:i<r?1:0});return an.value(e)}catch(o){return an.error([o])}}("Event: "+e,"name",n,o).map(function(n){var t=w(n,function(n){return n.handler()});return Gt(t)}):function(n,t){return an.error(["The event ("+n+') has more than one behaviour that listens to it.\nWhen this occurs, you must specify an event ordering for the behaviours in your spec (e.g. [ "listing", "toggling" ]).\nThe behaviours that can trigger it are: '+JSON.stringify(w(t,function(n){return n.name()}),null,2)])}(e,n)}function Kr(n){return tt("custom.definition",le([pe("dom","dom",Mn(),le([ct("tag"),St("styles",{}),St("classes",[]),St("attributes",{}),ht("value"),ht("innerHtml")])),ct("components"),ct("uid"),St("events",{}),St("apis",{}),pe("eventOrder","eventOrder",function(n){return An.mergeWithThunk(nn(n))}({"alloy.execute":["disabling","alloy.base.behaviour","toggling","typeaheadevents"],"alloy.focus":["alloy.base.behaviour","focusing","keying"],"alloy.system.init":["alloy.base.behaviour","disabling","toggling","representing"],input:["alloy.base.behaviour","representing","streaming","invalidating"],"alloy.system.detached":["alloy.base.behaviour","representing","item-events","tooltipping"],mousedown:["focusing","alloy.base.behaviour","item-type-events"],mouseover:["item-type-events","tooltipping"]}),ye()),ht("domModification")]),n)}function Jr(n,t){var e=_r(n,t);return e===undefined||""===e?[]:e.split(" ")}function $r(n){return n.dom().classList!==undefined}function Qr(n,t){return function(n,t,e){var o=Jr(n,t).concat([e]);return Dr(n,t,o.join(" ")),!0}(n,"class",t)}function Zr(n,t){return function(n,t,e){var o=S(Jr(n,t),function(n){return n!==e});return 0<o.length?Dr(n,t,o.join(" ")):Mr(n,t),!1}(n,"class",t)}function ni(n,t){$r(n)?n.dom().classList.add(t):Qr(n,t)}function ti(n){0===($r(n)?n.dom().classList:function(n){return Jr(n,"class")}(n)).length&&Mr(n,"class")}function ei(n,t){$r(n)?n.dom().classList.remove(t):Zr(n,t),ti(n)}function oi(n,t){return $r(n)&&n.dom().classList.contains(t)}function ri(t,n){bn(n,function(n){ni(t,n)})}function ii(t,n){bn(n,function(n){ei(t,n)})}function ui(n){return n.style!==undefined&&dn(n.style.getPropertyValue)}function ai(n,t,e){if(!cn(e))throw H.console.error("Invalid call to CSS.set. Property ",t,":: Value ",e,":: Element ",n),new Error("CSS value must be a string: "+e);ui(n)&&n.style.setProperty(t,e)}function ci(n,t){ui(n)&&n.style.removeProperty(t)}function si(n,t,e){var o=n.dom();ai(o,t,e)}function fi(n,t){var e=n.dom();Cn(t,function(n,t){ai(e,t,n)})}function li(n,t){var e=n.dom(),o=H.window.getComputedStyle(e).getPropertyValue(t),r=""!==o||Jo(n)?o:eu(e,t);return null===r?undefined:r}function di(n,t){var e=n.dom(),o=eu(e,t);return on.from(o).filter(function(n){return 0<n.length})}function mi(n,t,e){var o=Be.fromTag(n);return si(o,t,e),di(o,t).isSome()}function gi(n,t){var e=n.dom();ci(e,t),Ar(n,"style")&&""===function(n){return n.replace(/^\s+|\s+$/g,"")}(_r(n,"style"))&&Mr(n,"style")}function pi(n){return n.dom().offsetWidth}function hi(n){return n.dom().value}function vi(n,t){if(t===undefined)throw new Error("Value.set was undefined");n.dom().value=t}function bi(n){var t=Be.fromTag(n.tag);!function(n,t){var e=n.dom();Cn(t,function(n,t){Br(e,t,n)})}(t,n.attributes),ri(t,n.classes),fi(t,n.styles),n.innerHtml.each(function(n){return Er(t,n)});var e=n.domChildren;return Cr(t,e),n.value.each(function(n){vi(t,n)}),n.uid,Xi(t,n.uid),t}function yi(n,t){return function(t,n){var e=w(n,function(n){return wt(n.name(),[ct("config"),St("state",Qi)])}),o=tt("component.behaviours",le(e),t.behaviours).fold(function(n){throw new Error(be(n)+"\nComplete spec:\n"+JSON.stringify(t,null,2))},function(n){return n});return{list:n,data:L(o,function(n){var t=n.map(function(n){return{config:n.config,state:n.state.init(n.config)}});return function(){return t}})}}(n,t)}function xi(n){var t=function(n){var t=Y("behaviours",{})(n),e=S(wn(t),function(n){return t[n]!==undefined});return w(e,function(n){return t[n].me})}(n);return yi(n,t)}function wi(n,t,e){var o=function(n){return P(P({},n.dom),{uid:n.uid,domChildren:w(n.components,function(n){return n.element()})})}(n),r=function(n){return n.domModification.fold(function(){return Ur({})},Ur)}(n),i={"alloy.base.modification":r};return function(n,t){return P(P({},n),{attributes:P(P({},n.attributes),t.attributes),styles:P(P({},n.styles),t.styles),classes:n.classes.concat(t.classes)})}(o,0<t.length?function(t,n,e,o){var r=P({},n);bn(e,function(n){r[n.name()]=n.exhibit(t,o)});function i(n){return C(n,function(n,t){return P(P({},t.modification),n)},{})}var u=jr(r,function(n,t){return{name:n,modification:t}}),a=C(u.classes,function(n,t){return t.modification.concat(n)},[]),c=i(u.attributes),s=i(u.styles);return Ur({classes:a,attributes:c,styles:s})}(e,i,t,o):r)}function Si(n,t,e){var o={"alloy.base.behaviour":function(n){return n.events}(n)};return function(n,t,e,o){var r=Xr(n,e,o);return tu(r,t)}(e,n.eventOrder,t,o).getOrDie()}function Ci(n){var t=qi(n),e=t.events,o=c(t,["events"]),r=function(n){var t=Y("components",[])(n);return w(t,iu)}(o),i=P(P({},o),{events:P(P({},zi),e),components:r});return an.value(function(e){function n(){return l}var o=Te(Ki),t=et(Kr(e)),r=xi(e),i=function(n){return n.list}(r),u=function(n){return n.data}(r),a=wi(t,i,u),c=bi(a),s=Si(t,i,u),f=Te(t.components),l={getSystem:o.get,config:function(n){var t=u;return(dn(t[n.name()])?t[n.name()]:function(){throw new Error("Could not find "+n.name()+" in "+JSON.stringify(e,null,2))})()},hasConfigured:function(n){return dn(u[n.name()])},spec:nn(e),readState:function(n){return u[n]().map(function(n){return n.state.readState()}).getOr("not enabled")},getApis:function(){return t.apis},connect:function(n){o.set(n)},disconnect:function(){o.set(Hr(n))},element:nn(c),syncComponents:function(){var n=br(c),t=E(n,function(n){return o.get().getByDom(n).fold(function(){return[]},function(n){return[n]})});f.set(t)},components:f.get,events:nn(s)};return l}(i))}function ki(n){var t=Be.fromText(n);return ou({element:t})}var Oi,Ti,Ei,Bi=Ko(Je),Di=Ko($e),_i=N(function(){return Ai(Be.fromDom(H.document))}),Ai=function(n){var t=n.dom().body;if(null===t||t===undefined)throw new Error("Body is not available yet");return Be.fromDom(t)},Mi=function(n,t,e){return Qo(n,function(n){return t(n).isSome()},e).bind(t)},Fi=ir(Vo()),Ii=ir(No()),Ri=ir(Ao()),Vi=(Oi=ko(),function(n){return or(Oi,n)}),Ni=(fr("element","offset"),function(n,t){n.dom().appendChild(t.dom())}),Hi=function(n){var t=n.dom();null!==t.parentNode&&t.parentNode.removeChild(t)},Pi=nr([(Ti=xo(),Ei=function(n,t){var e=t.event().originator(),o=t.event().target();return!function(n,t,e){return jt(t,n.element())&&!jt(t,e)}(n,e,o)||(H.console.warn(xo()+" did not get interpreted by the desired target. \nOriginator: "+Rr(e)+"\nTarget: "+Rr(o)+"\nCheck the "+xo()+" event handlers"),!1)},{key:Ti,value:Wt({can:Ei})})]),zi=/* */Object.freeze({events:Pi}),Li=0,ji=nn("alloy-id-"),Ui=nn("data-alloy-id"),Wi=ji(),Gi=Ui(),Xi=function(n,t){Object.defineProperty(n.dom(),Gi,{value:t,writable:!0})},Yi=function(n){var t=Bi(n)?n.dom()[Gi]:null;return on.from(t)},qi=l,Ki=Hr(),Ji=function(n){return w(n,function(n){return function(n,t){return function(n,t,e){return""===t||!(n.length<t.length)&&n.substr(e,e+t.length)===t}(n,t,n.length-t.length)}(n,"/*")?n.substring(0,n.length-"/*".length):n})},$i=Vr("alloy-premade"),Qi={init:function(){return Zi({readState:function(){return"No State required"}})}},Zi=function(n){return n},nu=function(n,t){return function(n,t){return{cHandler:n,purpose:nn(t)}}(d.apply(undefined,[n.handler].concat(t)),n.purpose())},tu=function(n,i){var t=On(n,function(o,r){return(1===o.length?an.value(o[0].handler()):qr(o,i,r)).map(function(n){var t=Yr(n),e=1<o.length?S(i[r],function(t){return y(o,function(n){return n.name()===t})}).join(" > "):o[0].name();return q(r,function(n,t){return{handler:n,purpose:nn(t)}}(t,e))})});return J(t,{})},eu=function(n,t){return ui(n)?n.style.getPropertyValue(t):""},ou=function(n){var t=ot("external.component",qn([ct("element"),ht("uid")]),n),e=Te(Hr());t.uid.each(function(n){Xi(t.element,n)});var o={getSystem:e.get,config:on.none,hasConfigured:nn(!1),connect:function(n){e.set(n)},disconnect:function(){e.set(Hr(function(){return o}))},getApis:function(){return{}},element:nn(t.element),spec:nn(n),readState:nn("No state"),syncComponents:Z,components:nn([]),events:nn({})};return zr(o)},ru=Nr,iu=function(t){return function(n){return Nn(n,$i)}(t).fold(function(){var n=t.hasOwnProperty("uid")?t:P({uid:ru("")},t);return Ci(n).getOrDie()},function(n){return n})},uu=zr;function au(o,r){function n(n){var t=r(n);if(t<=0||null===t){var e=li(n,o);return parseFloat(e)||0}return t}function i(r,n){return k(n,function(n,t){var e=li(r,t),o=e===undefined?0:parseInt(e,10);return isNaN(o)?n:n+o},0)}return{set:function(n,t){if(!mn(t)&&!t.match(/^[0-9]+$/))throw new Error(o+".set accepts only positive integer values. Value was "+t);var e=n.dom();ui(e)&&(e.style[o]=t+"px")},get:n,getOuter:n,aggregate:i,max:function(n,t,e){var o=i(n,e);return o<t?t-o:0}}}function cu(n){return Au.get(n)}function su(n){return Au.getOuter(n)}function fu(n,t){return n!==undefined?n:t!==undefined?t:0}function lu(n){var t=n.dom().ownerDocument,e=t.body,o=t.defaultView,r=t.documentElement;if(e===n.dom())return Fu(e.offsetLeft,e.offsetTop);var i=fu(o.pageYOffset,r.scrollTop),u=fu(o.pageXOffset,r.scrollLeft),a=fu(r.clientTop,e.clientTop),c=fu(r.clientLeft,e.clientLeft);return Iu(n).translate(u-c,i-a)}function du(n){return Ru.get(n)}function mu(n){return Ru.getOuter(n)}function gu(n){var t=n!==undefined?n.dom():H.document,e=t.body.scrollLeft||t.documentElement.scrollLeft,o=t.body.scrollTop||t.documentElement.scrollTop;return Fu(e,o)}function pu(n,t,e,o){return{x:nn(n),y:nn(t),width:nn(e),height:nn(o),right:nn(n+e),bottom:nn(t+o)}}function hu(n){var t=n===undefined?H.window:n,e=t.visualViewport;if(e!==undefined)return pu(e.pageLeft,e.pageTop,e.width,e.height);var o=Be.fromDom(t.document),r=t.document.documentElement,i=gu(o),u=r.clientWidth,a=r.clientHeight;return pu(i.left(),i.top(),u,a)}function vu(o){var n=Be.fromDom(H.document),r=gu(n);return function(n,t){var e=t.owner(n),o=Vu(t,e);return on.some(o)}(o,Nu).fold(d(lu,o),function(n){var t=Iu(o),e=C(n,function(n,t){var e=Iu(t);return{left:n.left+e.left(),top:n.top+e.top()}},{left:0,top:0});return Fu(e.left+t.left()+r.left(),e.top+t.top()+r.top())})}function bu(n,t,e,o){return{x:nn(n),y:nn(t),width:nn(e),height:nn(o),right:nn(n+e),bottom:nn(t+o)}}function yu(n){var t=lu(n),e=mu(n),o=su(n);return bu(t.left(),t.top(),e,o)}function xu(n){var t=vu(n),e=mu(n),o=su(n);return bu(t.left(),t.top(),e,o)}function wu(){return hu(H.window)}function Su(n,t,e){return $o(n,function(n){return Pt(n,t)},e)}function Cu(n,t){return function(n,t){var e=t===undefined?H.document:t.dom();return zt(e)?on.none():on.from(e.querySelector(n)).map(Be.fromDom)}(t,n)}function ku(n,t,e){return Yo(Pt,Su,n,t,e)}function Ou(){var t=Vr("aria-owns");return{id:nn(t),link:function(n){Dr(n,"aria-owns",t)},unlink:function(n){Mr(n,"aria-owns")}}}function Tu(t,n){return function(n){return Qo(n,function(n){if(!Bi(n))return!1;var t=_r(n,"id");return t!==undefined&&-1<t.indexOf("aria-owns")}).bind(function(n){var t=_r(n,"id"),e=gr(n);return Cu(e,'[aria-owns="'+t+'"]')})}(n).exists(function(n){return zu(t,n)})}function Eu(n){for(var t=[],e=function(n){t.push(n)},o=0;o<n.length;o++)n[o].each(e);return t}function Bu(n,t){for(var e=0;e<n.length;e++){var o=t(n[e],e);if(o.isSome())return o}return on.none()}var Du,_u,Au=au("height",function(n){var t=n.dom();return Jo(n)?t.getBoundingClientRect().height:t.offsetHeight}),Mu=function(e,o){return{left:nn(e),top:nn(o),translate:function(n,t){return Mu(e+n,o+t)}}},Fu=Mu,Iu=function(n){var t=n.dom(),e=t.ownerDocument.body;return e===t?Fu(e.offsetLeft,e.offsetTop):Jo(n)?function(n){var t=n.getBoundingClientRect();return Fu(t.left,t.top)}(t):Fu(0,0)},Ru=au("width",function(n){return n.dom().offsetWidth}),Vu=(Ht().browser.isSafari(),function(o,n){return o.view(n).fold(nn([]),function(n){var t=o.owner(n),e=Vu(o,t);return[n].concat(e)})}),Nu=/* */Object.freeze({view:function(n){return(n.dom()===H.document?on.none():on.from(n.dom().defaultView.frameElement)).map(Be.fromDom)},owner:function(n){return gr(n)}}),Hu=fr("point","width","height"),Pu=fr("x","y","width","height"),zu=function(t,n){return function(n,t,e){return Qo(n,t,e).isSome()}(n,function(n){return jt(n,t.element())},nn(!1))||Tu(t,n)},Lu="unknown";(_u=Du=Du||{})[_u.STOP=0]="STOP",_u[_u.NORMAL=1]="NORMAL",_u[_u.LOGGING=2]="LOGGING";function ju(t,n,e){switch(Nn(Ha.get(),t).orThunk(function(){var n=wn(Ha.get());return Bu(n,function(n){return-1<t.indexOf(n)?on.some(Ha.get()[n]):on.none()})}).getOr(Du.NORMAL)){case Du.NORMAL:return e(za());case Du.LOGGING:var o=function(t,e){var o=[],r=(new Date).getTime();return{logEventCut:function(n,t,e){o.push({outcome:"cut",target:t,purpose:e})},logEventStopped:function(n,t,e){o.push({outcome:"stopped",target:t,purpose:e})},logNoParent:function(n,t,e){o.push({outcome:"no-parent",target:t,purpose:e})},logEventNoHandlers:function(n,t){o.push({outcome:"no-handlers-left",target:t})},logEventResponse:function(n,t,e){o.push({outcome:"response",purpose:e,target:t})},write:function(){var n=(new Date).getTime();vn(["mousemove","mouseover","mouseout",Ao()],t)||H.console.log(t,{event:t,time:n-r,target:e.dom(),sequence:w(o,function(n){return vn(["cut","stopped","response"],n.outcome)?"{"+n.purpose+"} "+n.outcome+" at ("+Rr(n.target)+")":n.outcome})})}}}(t,n),r=e(o);return o.write(),r;case Du.STOP:return!0}}function Uu(n,t,e){return ju(n,t,e)}function Wu(){return mt("markers",[ct("backgroundMenu")].concat(La()).concat(ja()))}function Gu(n){return mt("markers",w(n,ct))}function Xu(n,t,e){return function(){var n=new Error;if(n.stack===undefined)return;var t=n.stack.split("\n");O(t,function(t){return 0<t.indexOf("alloy")&&!y(Pa,function(n){return-1<t.indexOf(n)})}).getOr(Lu)}(),pe(t,t,e,Zn(function(e){return an.value(function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return e.apply(undefined,n)})}))}function Yu(n){return Xu(0,n,j(Z))}function qu(n){return Xu(0,n,j(on.none))}function Ku(n){return Xu(0,n,Mn())}function Ju(n){return Xu(0,n,Mn())}function $u(n,t){return _t(n,nn(t))}function Qu(n){return _t(n,l)}function Zu(n){return n.x()}function na(n,t){return n.x()+n.width()/2-t.width()/2}function ta(n,t){return n.x()+n.width()-t.width()}function ea(n,t){return n.y()-t.height()}function oa(n){return n.y()+n.height()}function ra(n,t){return n.y()+n.height()/2-t.height()/2}function ia(n,t,e){return Xa(Zu(n),oa(n),e.southeast(),qa(),"layout-se")}function ua(n,t,e){return Xa(ta(n,t),oa(n),e.southwest(),Ka(),"layout-sw")}function aa(n,t,e){return Xa(Zu(n),ea(n,t),e.northeast(),Ja(),"layout-ne")}function ca(n,t,e){return Xa(ta(n,t),ea(n,t),e.northwest(),$a(),"layout-nw")}function sa(n,t,e){return Xa(function(n){return n.x()+n.width()}(n),ra(n,t),e.east(),nc(),"layout-e")}function fa(n,t,e){return Xa(function(n,t){return n.x()-t.width()}(n,t),ra(n,t),e.west(),tc(),"layout-w")}function la(){return[ia,ua,aa,ca,oc,ec]}function da(){return[ua,ia,ca,aa,oc,ec]}function ma(e,o,r){return Ri(function(n,t){r(n,e,o)})}function ga(n,t,e,o,r,i){var u=qn(n),a=wt(t,[function(n,t){return vt(n,qn(t))}("config",n)]);return rc(u,a,t,e,o,r,i)}function pa(r,i,u){return function(n,t,e){var o=e.toString(),r=o.indexOf(")")+1,i=o.indexOf("("),u=o.substring(i+1,r-1).split(/,\s*/);return n.toFunctionAnnotation=function(){return{name:t,parameters:Ji(u.slice(0,1).concat(u.slice(3)))}},n}(function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];var o=[e].concat(n);return e.config({name:nn(r)}).fold(function(){throw new Error("We could not find any behaviour configuration for: "+r+". Using API: "+u)},function(n){var t=Array.prototype.slice.call(o,1);return i.apply(undefined,[e,n.config,n.state].concat(t))})},u,i)}function ha(n){return{key:n,value:undefined}}function va(n){return K(n)}function ba(n){var t=ot("Creating behaviour: "+n.name,ic,n);return ga(t.fields,t.name,t.active,t.apis,t.extra,t.state)}function ya(n){var t=ot("Creating behaviour: "+n.name,uc,n);return function(n,t,e,o,r,i){var u=n,a=wt(t,[vt("config",n)]);return rc(u,a,t,e,o,r,i)}(it(t.branchKey,t.branches),t.name,t.active,t.apis,t.extra,t.state)}function xa(n){n.dom().focus()}function wa(n){var t=n!==undefined?n.dom():H.document;return on.from(t.activeElement).map(Be.fromDom)}function Sa(t){return wa(gr(t)).filter(function(n){return t.dom().contains(n.dom())})}function Ca(n,e){var o=gr(e),t=wa(o).bind(function(t){function n(n){return jt(t,n)}return n(e)?on.some(e):Zo(e,n)}),r=n(e);return t.each(function(t){wa(o).filter(function(n){return jt(n,t)}).fold(function(){xa(t)},Z)}),r}function ka(n,t,e){function r(n){return Nn(e,n).getOr([])}function o(n,t,e){var o=_(dc,e);return{offset:function(){return Fu(n,t)},classesOn:function(){return E(e,r)},classesOff:function(){return E(o,r)}}}return{southeast:function(){return o(-n,t,["top","alignLeft"])},southwest:function(){return o(n,t,["top","alignRight"])},south:function(){return o(-n/2,t,["top","alignCentre"])},northeast:function(){return o(-n,-t,["bottom","alignLeft"])},northwest:function(){return o(n,-t,["bottom","alignRight"])},north:function(){return o(-n/2,-t,["bottom","alignCentre"])},east:function(){return o(n,-t/2,["valignCentre","left"])},west:function(){return o(-n,-t/2,["valignCentre","right"])},innerNorthwest:function(){return o(-n,t,["top","alignRight"])},innerNortheast:function(){return o(n,t,["top","alignLeft"])},innerNorth:function(){return o(-n/2,t,["top","alignCentre"])},innerSouthwest:function(){return o(-n,-t,["bottom","alignRight"])},innerSoutheast:function(){return o(n,-t,["bottom","alignLeft"])},innerSouth:function(){return o(-n/2,-t,["bottom","alignCentre"])},innerWest:function(){return o(n,-t/2,["valignCentre","right"])},innerEast:function(){return o(-n,-t/2,["valignCentre","left"])}}}function Oa(){return ka(0,0,{})}function Ta(n,t,e,o,r,i){var u=t.x()-e,a=t.y()-o,c=r-(u+t.width()),s=i-(a+t.height()),f=on.some(u),l=on.some(a),d=on.some(c),m=on.some(s),g=on.none();return function(n,t,e,o,r,i,u,a,c){return n.fold(t,e,o,r,i,u,a,c)}(t.direction(),function(){return gc(n,f,l,g,g)},function(){return gc(n,g,l,d,g)},function(){return gc(n,f,g,g,m)},function(){return gc(n,g,g,d,m)},function(){return gc(n,f,l,g,g)},function(){return gc(n,f,g,g,m)},function(){return gc(n,f,l,g,g)},function(){return gc(n,g,l,d,g)})}function Ea(n,t){var e=d(vu,t),o=n.fold(e,e,function(){var n=gu();return vu(t).translate(-n.left(),-n.top())}),r=mu(t),i=su(t);return bu(o.left(),o.top(),r,i)}function Ba(n){return n}function Da(t,e){return function(n){return"rtl"===yc(n)?e:t}}function _a(){return wt("layouts",[ct("onLtr"),ct("onRtl")])}function Aa(t,n,e,o){var r=n.layouts.map(function(n){return n.onLtr(t)}).getOr(e),i=n.layouts.map(function(n){return n.onRtl(t)}).getOr(o);return Da(r,i)(t)}function Ma(n,t,e){var o=n.document.createRange();return function(e,n){n.fold(function(n){e.setStartBefore(n.dom())},function(n,t){e.setStart(n.dom(),t)},function(n){e.setStartAfter(n.dom())})}(o,t),function(e,n){n.fold(function(n){e.setEndBefore(n.dom())},function(n,t){e.setEnd(n.dom(),t)},function(n){e.setEndAfter(n.dom())})}(o,e),o}function Fa(n,t,e,o,r){var i=n.document.createRange();return i.setStart(t.dom(),e),i.setEnd(o.dom(),r),i}function Ia(n){return{left:nn(n.left),top:nn(n.top),right:nn(n.right),bottom:nn(n.bottom),width:nn(n.width),height:nn(n.height)}}function Ra(n,t,e){return t(Be.fromDom(e.startContainer),e.startOffset,Be.fromDom(e.endContainer),e.endOffset)}function Va(n,t){return function(n,t){var e=t.ltr();return e.collapsed?t.rtl().filter(function(n){return!1===n.collapsed}).map(function(n){return Ec.rtl(Be.fromDom(n.endContainer),n.endOffset,Be.fromDom(n.startContainer),n.startOffset)}).getOrThunk(function(){return Ra(0,Ec.ltr,e)}):Ra(0,Ec.ltr,e)}(0,function(r,n){return n.match({domRange:function(n){return{ltr:nn(n),rtl:on.none}},relative:function(n,t){return{ltr:N(function(){return Ma(r,n,t)}),rtl:N(function(){return on.some(Ma(r,t,n))})}},exact:function(n,t,e,o){return{ltr:N(function(){return Fa(r,n,t,e,o)}),rtl:N(function(){return on.some(Fa(r,e,o,n,t))})}}})}(n,t))}function Na(n,t,e){return t>=n.left&&t<=n.right&&e>=n.top&&e<=n.bottom}var Ha=Te({}),Pa=["alloy/data/Fields","alloy/debugging/Debugging"],za=nn({logEventCut:Z,logEventStopped:Z,logNoParent:Z,logEventNoHandlers:Z,logEventResponse:Z,write:Z}),La=nn([ct("menu"),ct("selectedMenu")]),ja=nn([ct("item"),ct("selectedItem")]),Ua=(nn(le(ja().concat(La()))),nn(le(ja()))),Wa=mt("initSize",[ct("numColumns"),ct("numRows")]),Ga=nn(Wa),Xa=fr("x","y","bubble","direction","label"),Ya=En([{southeast:[]},{southwest:[]},{northeast:[]},{northwest:[]},{south:[]},{north:[]},{east:[]},{west:[]}]),qa=Ya.southeast,Ka=Ya.southwest,Ja=Ya.northeast,$a=Ya.northwest,Qa=Ya.south,Za=Ya.north,nc=Ya.east,tc=Ya.west,ec=function(n,t,e){return Xa(na(n,t),ea(n,t),e.north(),Za(),"layout-n")},oc=function(n,t,e){return Xa(na(n,t),oa(n),e.south(),Qa(),"layout-s")},rc=function(e,n,o,r,t,i,u){function a(n){return $(n,o)?n[o]():on.none()}var c=L(t,function(n,t){return pa(o,n,t)}),s=L(i,function(n,t){return Pr(n,t)}),f=P(P(P({},s),c),{revoke:d(ha,o),config:function(n){var t=ot(o+"-config",e,n);return{key:o,value:{config:t,me:f,configAsRaw:N(function(){return ot(o+"-config",e,n)}),initialConfig:n,state:u}}},schema:function(){return n},exhibit:function(n,e){return a(n).bind(function(t){return Nn(r,"exhibit").map(function(n){return n(e,t.config,t.state)})}).getOr(Ur({}))},name:function(){return o},handlers:function(n){return a(n).map(function(n){return Y("events",function(n,t){return{}})(r)(n.config,n.state)}).getOr({})}});return f},ic=qn([ct("fields"),ct("name"),St("active",{}),St("apis",{}),St("state",Qi),St("extra",{})]),uc=qn([ct("branchKey"),ct("branches"),ct("name"),St("active",{}),St("apis",{}),St("state",Qi),St("extra",{})]),ac=nn(undefined),cc=/* */Object.freeze({events:function(t){return nr([or(Co(),function(r,i){var u=t.channels,n=function(n,t){return t.universal()?n:S(n,function(n){return vn(t.channels(),n)})}(wn(u),i);bn(n,function(n){var t=u[n],e=t.schema,o=ot("channel["+n+"] data\nReceiver: "+Rr(r.element()),e,i.data());t.onReceive(r,o)})})])}}),sc=[st("channels",nt(an.value,qn([Ku("onReceive"),St("schema",ye())])))],fc=ba({fields:sc,name:"receiving",active:cc}),lc=/* */Object.freeze({exhibit:function(n,t){return Ur({classes:[],styles:t.useFixed()?{}:{position:"relative"}})}}),dc=["valignCentre","alignLeft","alignRight","alignCentre","top","bottom","left","right"],mc=mr(["x","y","width","height","maxHeight","maxWidth","direction","classes","label","candidateYforTest"],[]),gc=fr("position","left","top","right","bottom"),pc=En([{none:[]},{relative:["x","y","width","height"]},{fixed:["x","y","width","height"]}]),hc=function(n,t,e){var o=Fu(t,e);return n.fold(nn(o),nn(o),function(){var n=gu();return o.translate(-n.left(),-n.top())})},vc=pc.relative,bc=pc.fixed,yc=function(n){return"rtl"===li(n,"direction")?"rtl":"ltr"},xc=[ct("hotspot"),ht("bubble"),St("overrides",{}),_a(),$u("placement",function(n,t,e){var o=t.hotspot,r=Ea(e,o.element()),i=Aa(n.element(),t,la(),da());return on.some(Ba({anchorBox:r,bubble:t.bubble.getOr(Oa()),overrides:t.overrides,layouts:i,placer:on.none()}))})],wc=[ct("x"),ct("y"),St("height",0),St("width",0),St("bubble",Oa()),St("overrides",{}),_a(),$u("placement",function(n,t,e){var o=hc(e,t.x,t.y),r=bu(o.left(),o.top(),t.width,t.height),i=Aa(n.element(),t,[ia,ua,aa,ca,oc,ec,sa,fa],[ua,ia,ca,aa,oc,ec,sa,fa]);return on.some(Ba({anchorBox:r,bubble:t.bubble,overrides:t.overrides,layouts:i,placer:on.none()}))})],Sc={create:fr("start","soffset","finish","foffset")},Cc=En([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),kc=(Cc.before,Cc.on,Cc.after,function(n){return n.fold(l,l,l)}),Oc=En([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Tc={domRange:Oc.domRange,relative:Oc.relative,exact:Oc.exact,exactFromRange:function(n){return Oc.exact(n.start(),n.soffset(),n.finish(),n.foffset())},getWin:function(n){var t=function(n){return n.match({domRange:function(n){return Be.fromDom(n.startContainer)},relative:function(n,t){return kc(n)},exact:function(n,t,e,o){return n}})}(n);return pr(t)},range:Sc.create},Ec=En([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]);function Bc(n){return of.get(n)}function Dc(n){return of.getOption(n)}function _c(e,o,n,t,r){function i(n){var t=e.dom().createRange();return t.setStart(o.dom(),n),t.collapse(!0),t}var u=Bc(o).length,a=function(n,t,e,o,r){if(0===r)return 0;if(t===o)return r-1;for(var i=o,u=1;u<r;u++){var a=n(u),c=Math.abs(t-a.left);if(e<=a.bottom){if(e<a.top||i<c)return u-1;i=c}}return 0}(function(n){return i(n).getBoundingClientRect()},n,t,r.right,u);return i(a)}function Ac(n){return function(n){return Dc(n).filter(function(n){return 0!==n.trim().length||-1<n.indexOf("\xa0")}).isSome()}(n)||vn(uf,qo(n))}function Mc(n){return Zo(n,Ac)}function Fc(n){return af(n,Ac)}function Ic(n,t){return t-n.left<n.right-t}function Rc(n,t,e){var o=n.dom().createRange();return o.selectNode(t.dom()),o.collapse(e),o}function Vc(t,n,e){var o=t.dom().createRange();o.selectNode(n.dom());var r=o.getBoundingClientRect(),i=Ic(r,e);return(!0===i?Mc:Fc)(n).map(function(n){return Rc(t,n,i)})}function Nc(n,t,e){var o=t.dom().getBoundingClientRect(),r=Ic(o,e);return on.some(Rc(n,t,r))}function Hc(n,t,e,o){var r=n.dom().createRange();r.selectNode(t.dom());var i=r.getBoundingClientRect();return function(n,t,e,o){var r=n.dom().createRange();r.selectNode(t.dom());var i=r.getBoundingClientRect(),u=Math.max(i.left,Math.min(i.right,e)),a=Math.max(i.top,Math.min(i.bottom,o));return rf(n,t,u,a)}(n,t,Math.max(i.left,Math.min(i.right,e)),Math.max(i.top,Math.min(i.bottom,o)))}function Pc(n,t){return Lt(t,n)}function zc(n,t,e,o){var r=function(n,t,e,o){var r=gr(n).dom().createRange();return r.setStart(n.dom(),t),r.setEnd(e.dom(),o),r}(n,t,e,o),i=jt(n,e)&&t===o;return r.collapsed&&!i}function Lc(n){var t=Be.fromDom(n.anchorNode),e=Be.fromDom(n.focusNode);return zc(t,n.anchorOffset,e,n.focusOffset)?on.some(Sc.create(t,n.anchorOffset,e,n.focusOffset)):function(n){if(0<n.rangeCount){var t=n.getRangeAt(0),e=n.getRangeAt(n.rangeCount-1);return on.some(Sc.create(Be.fromDom(t.startContainer),t.startOffset,Be.fromDom(e.endContainer),e.endOffset))}return on.none()}(n)}function jc(n,t){return function(n){var t=n.getClientRects(),e=0<t.length?t[0]:n.getBoundingClientRect();return 0<e.width||0<e.height?on.some(e).map(Ia):on.none()}(function(i,n){return Va(i,n).match({ltr:function(n,t,e,o){var r=i.document.createRange();return r.setStart(n.dom(),t),r.setEnd(e.dom(),o),r},rtl:function(n,t,e,o){var r=i.document.createRange();return r.setStart(e.dom(),o),r.setEnd(n.dom(),t),r}})}(n,t))}function Uc(n){return n.fold(function(n){return n},function(n,t,e){return n.translate(-t,-e)})}function Wc(n){return n.fold(function(n){return n},function(n,t,e){return n})}function Gc(n){return k(n,function(n,t){return n.translate(t.left(),t.top())},Fu(0,0))}function Xc(n){var t=w(n,Wc);return Gc(t)}function Yc(n,t,e){var o=gr(n.element()),r=gu(o),i=function(o,n,t){var e=pr(t.root).dom();return on.from(e.frameElement).map(Be.fromDom).filter(function(n){var t=gr(n),e=gr(o.element());return jt(t,e)}).map(lu)}(n,0,e).getOr(r);return lf(i,r.left(),r.top())}function qc(n,t){return Di(n)?gf(n,t):function(n,t){var e=br(n);if(0===e.length)return cf(n,t);if(t<e.length)return cf(e[t],0);var o=e[e.length-1],r=Di(o)?Bc(o).length:br(o).length;return cf(o,r)}(n,t)}function Kc(n,t){return t.getSelection.getOrThunk(function(){return function(){return function(n){return on.from(n.getSelection()).filter(function(n){return 0<n.rangeCount}).bind(Lc)}(n)}})().map(function(n){var t=qc(n.start(),n.soffset()),e=qc(n.finish(),n.foffset());return Tc.range(t.element(),t.offset(),e.element(),e.offset())})}function Jc(n){return n.x()+n.width()}function $c(n,t){return n.x()-t.width()}function Qc(n,t){return n.y()-t.height()+n.height()}function Zc(n){return n.y()}function ns(n,t,e){return Xa(Jc(n),Zc(n),e.southeast(),qa(),"link-layout-se")}function ts(n,t,e){return Xa($c(n,t),Zc(n),e.southwest(),Ka(),"link-layout-sw")}function es(n,t,e){return Xa(Jc(n),Qc(n,t),e.northeast(),Ja(),"link-layout-ne")}function os(n,t,e){return Xa($c(n,t),Qc(n,t),e.northwest(),$a(),"link-layout-nw")}function rs(n,t,e,o){var r=n+t;return o<r?e:r<e?o:r}function is(n,t,e){return n<=t?t:e<=n?e:n}function us(n,t,e,o){var r=n.x(),i=n.y(),u=n.bubble().offset().left(),a=n.bubble().offset().top(),c=o.y(),s=o.bottom(),f=o.x(),l=o.right(),d=i+a,m=function(n,t,e,o,r){var i=r.x(),u=r.y(),a=r.width(),c=r.height(),s=i<=n,f=u<=t,l=s&&f,d=n+e<=i+a&&t+o<=u+c,m=Math.abs(Math.min(e,s?i+a-n:i-(n+e))),g=Math.abs(Math.min(o,f?u+c-t:u-(t+o)));return{originInBounds:l,sizeInBounds:d,limitX:is(n,r.x(),r.right()),limitY:is(t,r.y(),r.bottom()),deltaW:m,deltaH:g}}(r+u,d,t,e,o),g=m.originInBounds,p=m.sizeInBounds,h=m.limitX,v=m.limitY,b=m.deltaW,y=m.deltaH,x=nn(v+y-c),w=nn(s-v),S=function(n,t,e,o){return n.fold(t,t,o,o,t,o,e,e)}(n.direction(),w,w,x),C=nn(h+b-f),k=nn(l-h),O=function(n,t,e,o){return n.fold(t,o,t,o,e,e,t,o)}(n.direction(),k,k,C),T=mc({x:h,y:v,width:b,height:y,maxHeight:S,maxWidth:O,direction:n.direction(),classes:{on:n.bubble().classesOn(),off:n.bubble().classesOff()},label:n.label(),candidateYforTest:d});return g&&p?xf.fit(T):xf.nofit(T,b,y)}function as(n,t,e,o){gi(t,"max-height"),gi(t,"max-width");var r=function(n){return{width:nn(mu(n)),height:nn(su(n))}}(t);return function(n,e,u,a,c){function o(n,o,r,i){var t=n(e,u,a);return us(t,s,f,c).fold(xf.fit,function(n,t,e){return i<e||r<t?xf.nofit(n,t,e):xf.nofit(o,r,i)})}var s=u.width(),f=u.height();return k(n,function(n,t){var e=d(o,t);return n.fold(xf.fit,e)},xf.nofit(mc({x:e.x(),y:e.y(),width:u.width(),height:u.height(),maxHeight:u.height(),maxWidth:u.width(),direction:qa(),classes:{on:[],off:[]},label:"none",candidateYforTest:e.y()}),-1,-1)).fold(l,l)}(o.preference(),n,r,e,o.bounds())}function cs(n,t,e){function o(n){return n+"px"}var r=function(n,r){return n.fold(function(){return gc("absolute",on.some(r.x()),on.some(r.y()),on.none(),on.none())},function(n,t,e,o){return Ta("absolute",r,n,t,e,o)},function(n,t,e,o){return Ta("fixed",r,n,t,e,o)})}(e.origin(),t);!function(n,t){var e=n.dom();Cn(t,function(n,t){n.fold(function(){ci(e,t)},function(n){ai(e,t,n)})})}(n,{position:on.some(r.position()),left:r.left().map(o),top:r.top().map(o),right:r.right().map(o),bottom:r.bottom().map(o)})}function ss(n,t){!function(n,t){var e=Au.max(n,t,["margin-top","border-top-width","padding-top","padding-bottom","border-bottom-width","margin-bottom"]);si(n,"max-height",e+"px")}(n,Math.floor(t))}function fs(n,t,e){return n[t]===undefined?e:n[t]}function ls(n,t,e,o,r,i){var u=fs(i,"maxHeightFunction",wf()),a=fs(i,"maxWidthFunction",Z),c=n.anchorBox(),s=n.origin(),f=Cf({bounds:function(o,n){return n.fold(function(){return o.fold(wu,wu,bu)},function(e){return o.fold(e,e,function(){var n=e(),t=hc(o,n.x(),n.y());return bu(t.left(),t.top(),n.width(),n.height())})})}(s,r),origin:s,preference:o,maxHeightFunction:u,maxWidthFunction:a});kf(c,t,e,f)}function ds(n,t,e,o,r){var i=function(n,t){return yf(n,t)}(e.anchorBox,t);ls(i,r.element(),e.bubble,e.layouts,o,e.overrides)}function ms(n,t){Ni(n.element(),t.element())}function gs(t,n){var e=t.components();!function(n){bn(n.components(),function(n){return Hi(n.element())}),kr(n.element()),n.syncComponents()}(t);var o=_(e,n);bn(o,function(n){_f(n),t.getSystem().removeFromWorld(n)}),bn(n,function(n){n.getSystem().isConnected()?ms(t,n):(t.getSystem().addToWorld(n),ms(t,n),Jo(t.element())&&Af(n)),t.syncComponents()})}function ps(n,t){Mf(n,t,Ni)}function hs(n){_f(n),Hi(n.element()),n.getSystem().removeFromWorld(n)}function vs(t){var n=hr(t.element()).bind(function(n){return t.getSystem().getByDom(n).toOption()});hs(t),n.each(function(n){n.syncComponents()})}function bs(n){var t=n.components();bn(t,hs),kr(n.element()),n.syncComponents()}function ys(n,t){Ff(n,t,Ni)}function xs(t){var n=br(t.element());bn(n,function(n){t.getByDom(n).each(_f)}),Hi(t.element())}function ws(t,n,e,o){e.get().each(function(n){bs(t)});var r=n.getAttachPoint(t);ps(r,t);var i=t.getSystem().build(o);return ps(t,i),e.set(i),i}function Ss(n,t,e,o){var r=ws(n,t,e,o);return t.onOpen(n,r),r}function Cs(t,e,o){o.get().each(function(n){bs(t),vs(t),e.onClose(t,n),o.clear()})}function ks(n,t,e){return e.isOpen()}function Os(n){var t,e=ot("Dismissal",Uf,n);return(t={})[zf()]={schema:qn([ct("target")]),onReceive:function(t,n){Pf.isOpen(t)&&(Pf.isPartOf(t,n.target)||e.isExtraPart(t,n.target)||e.fireEventInstead.fold(function(){return Pf.close(t)},function(n){return Xt(t,n.event)}))}},t}function Ts(n){var t,e=ot("Reposition",Wf,n);return(t={})[Lf()]={onReceive:function(t){Pf.isOpen(t)&&e.fireEventInstead.fold(function(){return e.doReposition(t)},function(n){return Xt(t,n.event)})}},t}function Es(n,t,e){t.store.manager.onLoad(n,t,e)}function Bs(n,t,e){t.store.manager.onUnload(n,t,e)}function Ds(){var n=Te(null);return Zi({set:n.set,get:n.get,isNotSet:function(){return null===n.get()},clear:function(){n.set(null)},readState:function(){return{mode:"memory",value:n.get()}}})}function _s(){var i=Te({}),u=Te({});return Zi({readState:function(){return{mode:"dataset",dataByValue:i.get(),dataByText:u.get()}},lookup:function(n){return Nn(i.get(),n).orThunk(function(){return Nn(u.get(),n)})},update:function(n){var t=i.get(),e=u.get(),o={},r={};bn(n,function(t){o[t.value]=t,Nn(t,"meta").each(function(n){Nn(n,"text").each(function(n){r[n]=t})})}),i.set(P(P({},t),o)),u.set(P(P({},e),r))},clear:function(){i.set({}),u.set({})}})}function As(n,t,e,o){var r=t.store;e.update([o]),r.setValue(n,o),t.onSetValue(n,o)}function Ms(t,n){return Dt(t,{},w(n,function(n){return function(t,e){return pe(t,t,Fn(),Yn(function(n){return te("The field: "+t+" is forbidden. "+e)}))}(n.name(),"Cannot configure "+n.name()+" for "+t)}).concat([_t("dump",l)]))}function Fs(n){return n.dump}function Is(n,t){return P(P({},n.dump),va(t))}function Rs(n,t,e,o){return e.uiType===tl?function(n,t,e,o){return n.exists(function(n){return n!==e.owner})?el.single(!0,nn(e)):Nn(o,e.name).fold(function(){throw new Error("Unknown placeholder component: "+e.name+"\nKnown: ["+wn(o)+"]\nNamespace: "+n.getOr("none")+"\nSpec: "+JSON.stringify(e,null,2))},function(n){return n.replace()})}(n,0,e,o):el.single(!1,nn(e))}function Vs(t,e,n,o){var r=L(o,function(n,t){return function(n,t){var e=!1;return{name:nn(n),required:function(){return t.fold(function(n,t){return n},function(n,t){return n})},used:function(){return e},replace:function(){if(!0===e)throw new Error("Trying to use the same placeholder more than once: "+n);return e=!0,t}}}(t,n)}),i=function(t,e,n,o){return E(n,function(n){return ol(t,e,n,o)})}(t,e,n,r);return Cn(r,function(n){if(!1===n.used()&&n.required())throw new Error("Placeholder: "+n.name()+" was not found in components list\nNamespace: "+t.getOr("none")+"\nComponents: "+JSON.stringify(e.components,null,2))}),i}function Ns(n){return n.fold(on.some,on.none,on.some,on.some)}function Hs(n){function t(n){return n.name}return n.fold(t,t,t,t)}function Ps(e,o){return function(n){var t=ot("Converting part type",o,n);return e(t)}}function zs(n,t,e,o){return Dn(t.defaults(n,e,o),e,{uid:n.partUids[t.name]},t.overrides(n,e,o))}function Ls(r,n){var t={};return bn(n,function(n){Ns(n).each(function(e){var o=Ol(r,e.pname);t[e.name]=function(n){var t=ot("Part: "+e.name+" in "+r,le(e.schema),n);return P(P({},o),{config:n,validated:t})}})}),t}function js(n,t,e){return{uiType:ul(),owner:n,name:t,config:e,validated:{}}}function Us(n){return E(n,function(n){return n.fold(on.none,on.some,on.none,on.none).map(function(n){return mt(n.name,n.schema.concat([Qu(Cl())]))}).toArray()})}function Ws(n){return w(n,Hs)}function Gs(n,t,e){return function(n,e,t){var i={},o={};return bn(t,function(n){n.fold(function(o){i[o.pname]=rl(!0,function(n,t,e){return o.factory.sketch(zs(n,o,t,e))})},function(n){var t=e.parts[n.name];o[n.name]=nn(n.factory.sketch(zs(e,n,t[Cl()]),t))},function(o){i[o.pname]=rl(!1,function(n,t,e){return o.factory.sketch(zs(n,o,t,e))})},function(r){i[r.pname]=il(!0,function(t,n,e){var o=t[r.name];return w(o,function(n){return r.factory.sketch(Dn(r.defaults(t,n,e),n,r.overrides(t,n)))})})})}),{internals:nn(i),externals:nn(o)}}(0,t,e)}function Xs(n,t,e){return Vs(on.some(n),t,t.components,e)}function Ys(n,t,e){var o=t.partUids[e];return n.getSystem().getByUid(o).toOption()}function qs(n,t,e){return Ys(n,t,e).getOrDie("Could not find part: "+e)}function Ks(n,t,e){var o={},r=t.partUids,i=n.getSystem();return bn(e,function(n){o[n]=nn(i.getByUid(r[n]))}),o}function Js(n,t){var e=n.getSystem();return L(t.partUids,function(n,t){return nn(e.getByUid(n))})}function $s(n){return wn(n.partUids)}function Qs(n,t,e){var o={},r=t.partUids,i=n.getSystem();return bn(e,function(n){o[n]=nn(i.getByUid(r[n]).getOrDie())}),o}function Zs(t,n){var e=Ws(n);return K(w(e,function(n){return{key:n,value:t+"-"+n}}))}function nf(t){return pe("partUids","partUids",Rn(function(n){return Zs(n.uid,t)}),ye())}function tf(n,t,e,o,r){var i=function(n,t){return(0<n.length?[mt("parts",n)]:[]).concat([ct("uid"),St("dom",{}),St("components",[]),Qu("originalSpec"),St("debug.sketcher",{})]).concat(t)}(o,r);return ot(n+" [SpecSchema]",qn(i.concat(t)),e)}function ef(n,t,e,o,r){var i=El(r),u=Us(e),a=nf(e),c=tf(n,t,i,u,[a]),s=Gs(0,c,e);return o(c,Xs(n,c,s.internals()),i,s.externals())}var of=function WF(e,o){var t=function(n){return e(n)?on.from(n.dom().nodeValue):on.none()};return{get:function(n){if(!e(n))throw new Error("Can only get "+o+" value of a "+o+" node");return t(n).getOr("")},getOption:t,set:function(n,t){if(!e(n))throw new Error("Can only set raw "+o+" value of a "+o+" node");n.dom().nodeValue=t}}}(Di,"text"),rf=function(n,t,e,o){return Di(t)?function(t,e,o,r){var n=t.dom().createRange();n.selectNode(e.dom());var i=n.getClientRects();return Bu(i,function(n){return Na(n,o,r)?on.some(n):on.none()}).map(function(n){return _c(t,e,o,r,n)})}(n,t,e,o):function(t,n,e,o){var r=t.dom().createRange(),i=br(n);return Bu(i,function(n){return r.selectNode(n.dom()),Na(r.getBoundingClientRect(),e,o)?rf(t,n,e,o):on.none()})}(n,t,e,o)},uf=["img","br"],af=function(n,i){var u=function(n){for(var t=br(n),e=t.length-1;0<=e;e--){var o=t[e];if(i(o))return on.some(o);var r=u(o);if(r.isSome())return r}return on.none()};return u(n)},cf=(document.caretPositionFromPoint||document.caretRangeFromPoint,fr("element","offset")),sf=En([{screen:["point"]},{absolute:["point","scrollLeft","scrollTop"]}]),ff=sf.screen,lf=sf.absolute,df=function(n,t,e,o){var r=n,i=t,u=e,a=o;n<0&&(r=0,u=e+n),t<0&&(i=0,a=o+t);var c=ff(Fu(r,i));return on.some(Hu(c,u,a))},mf=function(n,i,u,a,c){return n.map(function(n){var t=[i,n.point()],e=function(n,t,e,o){return n.fold(t,e,o)}(a,function(){return Xc(t)},function(){return Xc(t)},function(){return function(n){var t=w(n,Uc);return Gc(t)}(t)}),o=Pu(e.left(),e.top(),n.width(),n.height()),r=Aa(c,u,u.showAbove?[aa,ca,ia,ua,ec,oc]:[ia,ua,aa,ca,oc,oc],u.showAbove?[ca,aa,ua,ia,ec,oc]:[ua,ia,ca,aa,oc,ec]);return Ba({anchorBox:o,bubble:u.bubble.getOr(Oa()),overrides:u.overrides,layouts:r,placer:on.none()})})},gf=fr("element","offset"),pf=[ht("getSelection"),ct("root"),ht("bubble"),_a(),St("overrides",{}),St("showAbove",!1),$u("placement",function(n,t,e){var o=pr(t.root).dom(),r=Yc(n,0,t),i=Kc(o,t).bind(function(n){return jc(o,Tc.exactFromRange(n)).orThunk(function(){var t=Be.fromText("\ufeff");return xr(n.start(),t),jc(o,Tc.exact(t,0,t,1)).map(function(n){return Hi(t),n})}).bind(function(n){return df(n.left(),n.top(),n.width(),n.height())})}),u=Kc(o,t).bind(function(n){return Bi(n.start())?on.some(n.start()):hr(n.start())}).getOr(n.element());return mf(i,r,t,e,u)})],hf=[ct("node"),ct("root"),ht("bubble"),_a(),St("overrides",{}),St("showAbove",!1),$u("placement",function(r,i,u){var a=Yc(r,0,i);return i.node.bind(function(n){var t=n.dom().getBoundingClientRect(),e=df(t.left,t.top,t.width,t.height),o=i.node.getOr(r.element());return mf(e,a,i,u,o)})})],vf=[ct("item"),_a(),St("overrides",{}),$u("placement",function(n,t,e){var o=Ea(e,t.item.element()),r=Aa(n.element(),t,[ns,ts,es,os],[ts,ns,os,es]);return on.some(Ba({anchorBox:o,bubble:Oa(),overrides:t.overrides,layouts:r,placer:on.none()}))})],bf=it("anchor",{selection:pf,node:hf,hotspot:xc,submenu:vf,makeshift:wc}),yf=fr("anchorBox","origin"),xf=En([{fit:["reposition"]},{nofit:["reposition","deltaW","deltaH"]}]),wf=nn(function(n,t){ss(n,t),fi(n,{"overflow-x":"hidden","overflow-y":"auto"})}),Sf=nn(function(n,t){ss(n,t)}),Cf=mr(["bounds","origin","preference","maxHeightFunction","maxWidthFunction"],[]),kf=function(n,t,e,o){var r=as(n,t,e,o);cs(t,r,o),function(n,t){var e=t.classes();ii(n,e.off),ri(n,e.on)}(t,r),function(n,t,e){e.maxHeightFunction()(n,t.maxHeight())}(t,r,o),function(n,t,e){e.maxWidthFunction()(n,t.maxWidth())}(t,r,o)},Of=function(n,t,e,o,r,i){var u=i.map(yu);return Tf(n,t,e,o,r,u)},Tf=function(r,i,n,t,u,a){var c=ot("positioning anchor.info",bf,t);Ca(function(){si(u.element(),"position","fixed");var n=di(u.element(),"visibility");si(u.element(),"visibility","hidden");var t=i.useFixed()?function(){var n=H.document.documentElement;return bc(0,0,n.clientWidth,n.clientHeight)}():function(n){var t=lu(n.element()),e=n.element().dom().getBoundingClientRect();return vc(t.left(),t.top(),e.width,e.height)}(r),e=c.placement,o=a.map(nn).or(i.getBounds);e(r,c,t).each(function(n){n.placer.getOr(ds)(r,t,n,o,u)}),n.fold(function(){gi(u.element(),"visibility")},function(n){si(u.element(),"visibility",n)}),di(u.element(),"left").isNone()&&di(u.element(),"top").isNone()&&di(u.element(),"right").isNone()&&di(u.element(),"bottom").isNone()&&di(u.element(),"position").is("fixed")&&gi(u.element(),"position")},u.element())},Ef=/* */Object.freeze({position:function(n,t,e,o,r){Of(n,t,e,o,r,on.none())},positionWithin:Of,positionWithinBounds:Tf,getMode:function(n,t,e){return t.useFixed()?"fixed":"absolute"}}),Bf=[St("useFixed",u),ht("getBounds")],Df=ba({fields:Bf,name:"positioning",active:lc,apis:Ef}),_f=function(n){Xt(n,No());var t=n.components();bn(t,_f)},Af=function(n){var t=n.components();bn(t,Af),Xt(n,Vo())},Mf=function(n,t,e){n.getSystem().addToWorld(t),e(n.element(),t.element()),Jo(n.element())&&Af(t),n.syncComponents()},Ff=function(n,t,e){e(n,t.element());var o=br(t.element());bn(o,function(n){t.getByDom(n).each(Af)})},If=function(n,t,e){var o=t.getAttachPoint(n);si(n.element(),"position",Df.getMode(o)),function(t,n,e,o){di(t.element(),n).fold(function(){Mr(t.element(),e)},function(n){Dr(t.element(),e,n)}),si(t.element(),n,o)}(n,"visibility",t.cloakVisibilityAttr,"hidden")},Rf=function(n,t,e){!function(t){return y(["top","left","right","bottom"],function(n){return di(t,n).isSome()})}(n.element())&&gi(n.element(),"position"),function(n,t,e){if(Ar(n.element(),e)){var o=_r(n.element(),e);si(n.element(),t,o)}else gi(n.element(),t)}(n,"visibility",t.cloakVisibilityAttr)},Vf=/* */Object.freeze({cloak:If,decloak:Rf,open:Ss,openWhileCloaked:function(n,t,e,o,r){If(n,t),Ss(n,t,e,o),r(),Rf(n,t)},close:Cs,isOpen:ks,isPartOf:function(t,e,n,o){return ks(0,0,n)&&n.get().exists(function(n){return e.isPartOf(t,n,o)})},getState:function(n,t,e){return e.get()},setContent:function(n,t,e,o){return e.get().map(function(){return ws(n,t,e,o)})}}),Nf=/* */Object.freeze({events:function(e,o){return nr([or(Do(),function(n,t){Cs(n,e,o)})])}}),Hf=[Yu("onOpen"),Yu("onClose"),ct("isPartOf"),ct("getAttachPoint"),St("cloakVisibilityAttr","data-precloak-visibility")],Pf=ba({fields:Hf,name:"sandboxing",active:Nf,apis:Vf,state:/* */Object.freeze({init:function(){var t=Te(on.none()),n=nn("not-implemented");return Zi({readState:n,isOpen:function(){return t.get().isSome()},clear:function(){t.set(on.none())},set:function(n){t.set(on.some(n))},get:function(n){return t.get()}})}})}),zf=nn("dismiss.popups"),Lf=nn("reposition.popups"),jf=nn("mouse.released"),Uf=qn([St("isExtraPart",nn(!1)),wt("fireEventInstead",[St("event",Ho())])]),Wf=qn([St("isExtraPart",nn(!1)),wt("fireEventInstead",[St("event",Po())]),dt("doReposition")]),Gf=/* */Object.freeze({onLoad:Es,onUnload:Bs,setValue:function(n,t,e,o){t.store.manager.setValue(n,t,e,o)},getValue:function(n,t,e){return t.store.manager.getValue(n,t,e)},getState:function(n,t,e){return e}}),Xf=/* */Object.freeze({events:function(e,o){var n=e.resetOnDom?[Fi(function(n,t){Es(n,e,o)}),Ii(function(n,t){Bs(n,e,o)})]:[ma(e,o,Es)];return nr(n)}}),Yf=/* */Object.freeze({memory:Ds,dataset:_s,manual:function(){return Zi({readState:function(){}})},init:function(n){return n.store.manager.state(n)}}),qf=[ht("initialValue"),ct("getFallbackEntry"),ct("getDataKey"),ct("setValue"),$u("manager",{setValue:As,getValue:function(n,t,e){var o=t.store,r=o.getDataKey(n);return e.lookup(r).fold(function(){return o.getFallbackEntry(r)},function(n){return n})},onLoad:function(t,e,o){e.store.initialValue.each(function(n){As(t,e,o,n)})},onUnload:function(n,t,e){e.clear()},state:_s})],Kf=[ct("getValue"),St("setValue",Z),ht("initialValue"),$u("manager",{setValue:function(n,t,e,o){t.store.setValue(n,o),t.onSetValue(n,o)},getValue:function(n,t,e){return t.store.getValue(n)},onLoad:function(t,e,n){e.store.initialValue.each(function(n){e.store.setValue(t,n)})},onUnload:Z,state:Qi.init})],Jf=[ht("initialValue"),$u("manager",{setValue:function(n,t,e,o){e.set(o),t.onSetValue(n,o)},getValue:function(n,t,e){return e.get()},onLoad:function(n,t,e){t.store.initialValue.each(function(n){e.isNotSet()&&e.set(n)})},onUnload:function(n,t,e){e.clear()},state:Ds})],$f=[Ct("store",{mode:"memory"},it("mode",{memory:Jf,manual:Kf,dataset:qf})),Yu("onSetValue"),St("resetOnDom",!1)],Qf=ba({fields:$f,name:"representing",active:Xf,apis:Gf,extra:{setValueFrom:function(n,t){var e=Qf.getValue(t);Qf.setValue(n,e)}},state:Yf}),Zf=Ms,nl=Is,tl="placeholder",el=En([{single:["required","valueThunk"]},{multiple:["required","valueThunks"]}]),ol=function(i,u,a,c){return Rs(i,0,a,c).fold(function(n,t){var e=t(u,a.config,a.validated),o=Nn(e,"components").getOr([]),r=E(o,function(n){return ol(i,u,n,c)});return[P(P({},e),{components:r})]},function(n,t){var e=t(u,a.config,a.validated);return a.validated.preprocess.getOr(l)(e)})},rl=el.single,il=el.multiple,ul=nn(tl),al=En([{required:["data"]},{external:["data"]},{optional:["data"]},{group:["data"]}]),cl=St("factory",{sketch:l}),sl=St("schema",[]),fl=ct("name"),ll=pe("pname","pname",In(function(n){return"<alloy."+Vr(n.name)+">"}),ye()),dl=_t("schema",function(){return[ht("preprocess")]}),ml=St("defaults",nn({})),gl=St("overrides",nn({})),pl=le([cl,sl,fl,ll,ml,gl]),hl=le([cl,sl,fl,ml,gl]),vl=le([cl,sl,fl,ll,ml,gl]),bl=le([cl,dl,fl,ct("unit"),ll,ml,gl]),yl=Ps(al.required,pl),xl=Ps(al.external,hl),wl=Ps(al.optional,vl),Sl=Ps(al.group,bl),Cl=nn("entirety"),kl=/* */Object.freeze({required:yl,external:xl,optional:wl,group:Sl,asNamedPart:Ns,name:Hs,asCommon:function(n){return n.fold(l,l,l,l)},original:Cl}),Ol=function(n,t){return{uiType:ul(),owner:n,name:t}},Tl=/* */Object.freeze({generate:Ls,generateOne:js,schemas:Us,names:Ws,substitutes:Gs,components:Xs,defaultUids:Zs,defaultUidsSchema:nf,getAllParts:Js,getAllPartNames:$s,getPart:Ys,getPartOrDie:qs,getParts:Ks,getPartsOrDie:Qs}),El=function(n){return n.hasOwnProperty("uid")?n:P(P({},n),{uid:Nr("uid")})};function Bl(n){var t=ot("Sketcher for "+n.name,ql,n),e=L(t.apis,Lr),o=L(t.extraApis,function(n,t){return Pr(n,t)});return P(P({name:nn(t.name),partFields:nn([]),configFields:nn(t.configFields),sketch:function(n){return function(n,t,e,o){var r=El(o);return e(tf(n,t,r,[],[]),r)}(t.name,t.configFields,t.factory,n)}},e),o)}function Dl(n){var t=ot("Sketcher for "+n.name,Kl,n),e=Ls(t.name,t.partFields),o=L(t.apis,Lr),r=L(t.extraApis,function(n,t){return Pr(n,t)});return P(P({name:nn(t.name),partFields:nn(t.partFields),configFields:nn(t.configFields),sketch:function(n){return ef(t.name,t.configFields,t.partFields,t.factory,n)},parts:nn(e)},o),r)}function _l(n){return"input"===qo(n)&&"radio"!==_r(n,"type")||"textarea"===qo(n)}function Al(e,o,n,r){var t=Pc(e.element(),"."+o.highlightClass);bn(t,function(t){y(r,function(n){return n.element()===t})||(ei(t,o.highlightClass),e.getSystem().getByDom(t).each(function(n){o.onDehighlight(e,n),Xt(n,Go())}))})}function Ml(n,t,e,o){Al(n,t,0,[o]),Zl(n,t,e,o)||(ni(o.element(),t.highlightClass),t.onHighlight(n,o),Xt(o,Wo()))}function Fl(e,t,n,o){var r=Pc(e.element(),"."+t.itemClass);return T(r,function(n){return oi(n,t.highlightClass)}).bind(function(n){var t=rs(n,o,0,r.length-1);return e.getSystem().getByDom(r[t]).toOption()})}function Il(n,t,e){var o=D(n.slice(0,t)),r=D(n.slice(t+1));return O(o.concat(r),e)}function Rl(n,t,e){var o=D(n.slice(0,t));return O(o,e)}function Vl(n,t,e){var o=n.slice(0,t),r=n.slice(t+1);return O(r.concat(o),e)}function Nl(n,t,e){var o=n.slice(t+1);return O(o,e)}function Hl(e){return function(n){var t=n.raw();return vn(e,t.which)}}function Pl(n){return function(t){return B(n,function(n){return n(t)})}}function zl(n){return!0===n.raw().shiftKey}function Ll(n){return!0===n.raw().ctrlKey}function jl(n,t){return{matches:n,classification:t}}function Ul(n,t,e){t.exists(function(t){return e.exists(function(n){return jt(n,t)})})||Yt(n,zo(),{prevFocus:t,newFocus:e})}function Wl(){function r(n){return Sa(n.element())}return{get:r,set:function(n,t){var e=r(n);n.getSystem().triggerFocus(t,n.element());var o=r(n);Ul(n,e,o)}}}function Gl(){function r(n){return ud.getHighlighted(n).map(function(n){return n.element()})}return{get:r,set:function(t,n){var e=r(t);t.getSystem().getByDom(n).fold(Z,function(n){ud.highlight(t,n)});var o=r(t);Ul(t,e,o)}}}var Xl,Yl,ql=qn([ct("name"),ct("factory"),ct("configFields"),St("apis",{}),St("extraApis",{})]),Kl=qn([ct("name"),ct("factory"),ct("configFields"),ct("partFields"),St("apis",{}),St("extraApis",{})]),Jl=/* */Object.freeze({getCurrent:function(n,t,e){return t.find(n)}}),$l=[ct("find")],Ql=ba({fields:$l,name:"composing",apis:Jl}),Zl=function(n,t,e,o){return oi(o.element(),t.highlightClass)},nd=function(n,t,e,o){var r=Pc(n.element(),"."+t.itemClass);return on.from(r[o]).fold(function(){return an.error("No element found with index "+o)},n.getSystem().getByDom)},td=function(t,n,e){return Cu(t.element(),"."+n.itemClass).bind(function(n){return t.getSystem().getByDom(n).toOption()})},ed=function(t,n,e){var o=Pc(t.element(),"."+n.itemClass);return(0<o.length?on.some(o[o.length-1]):on.none()).bind(function(n){return t.getSystem().getByDom(n).toOption()})},od=function(t,n,e){var o=Pc(t.element(),"."+n.itemClass);return Eu(w(o,function(n){return t.getSystem().getByDom(n).toOption()}))},rd=/* */Object.freeze({dehighlightAll:function(n,t,e){return Al(n,t,0,[])},dehighlight:function(n,t,e,o){Zl(n,t,e,o)&&(ei(o.element(),t.highlightClass),t.onDehighlight(n,o),Xt(o,Go()))},highlight:Ml,highlightFirst:function(t,e,o){td(t,e).each(function(n){Ml(t,e,o,n)})},highlightLast:function(t,e,o){ed(t,e).each(function(n){Ml(t,e,o,n)})},highlightAt:function(t,e,o,n){nd(t,e,o,n).fold(function(n){throw new Error(n)},function(n){Ml(t,e,o,n)})},highlightBy:function(t,e,o,n){var r=od(t,e);O(r,n).each(function(n){Ml(t,e,o,n)})},isHighlighted:Zl,getHighlighted:function(t,n,e){return Cu(t.element(),"."+n.highlightClass).bind(function(n){return t.getSystem().getByDom(n).toOption()})},getFirst:td,getLast:ed,getPrevious:function(n,t,e){return Fl(n,t,0,-1)},getNext:function(n,t,e){return Fl(n,t,0,1)},getCandidates:od}),id=[ct("highlightClass"),ct("itemClass"),Yu("onHighlight"),Yu("onDehighlight")],ud=ba({fields:id,name:"highlighting",apis:rd}),ad=v(zl);(Yl=Xl=Xl||{}).OnFocusMode="onFocus",Yl.OnEnterOrSpaceMode="onEnterOrSpace",Yl.OnApiMode="onApi";function cd(n,t,e,i,u){function a(t,e,n,o,r){return function(n,t){return O(n,function(n){return n.matches(t)}).map(function(n){return n.classification})}(n(t,e,o,r),e.event()).bind(function(n){return n(t,e,o,r)})}var o={schema:function(){return n.concat([St("focusManager",Wl()),Ct("focusInside","onFocus",Zn(function(n){return vn(["onFocus","onEnterOrSpace","onApi"],n)?an.value(n):an.error("Invalid value for focusInside")})),$u("handler",o),$u("state",t),$u("sendFocusIn",u)])},processKey:a,toEvents:function(o,r){var n=o.focusInside!==Xl.OnFocusMode?on.none():u(o).map(function(e){return or(xo(),function(n,t){e(n,o,r),t.stop()})});return nr(n.toArray().concat([or(lo(),function(n,t){a(n,t,e,o,r).fold(function(){!function(t,e){var n=Hl([32].concat([13]))(e.event());o.focusInside===Xl.OnEnterOrSpaceMode&&n&&Ut(t,e)&&u(o).each(function(n){n(t,o,r),e.stop()})}(n,t)},function(n){t.stop()})}),or(mo(),function(n,t){a(n,t,i,o,r).each(function(n){t.stop()})})]))}};return o}function sd(n){function i(n,t){var e=n.visibilitySelector.bind(function(n){return ku(t,n)}).getOr(t);return 0<cu(e)}function t(t,e){(function(n,t){var e=Pc(n.element(),t.selector),o=S(e,function(n){return i(t,n)});return on.from(o[t.firstTabstop])})(t,e).each(function(n){e.focusManager.set(t,n)})}function u(t,n,e,o,r){return r(n,e,function(n){return function(n,t){return i(n,t)&&n.useTabstopAt(t)}(o,n)}).fold(function(){return o.cyclic?on.some(!0):on.none()},function(n){return o.focusManager.set(t,n),on.some(!0)})}function a(t,n,e,o){var r=Pc(t.element(),e.selector);return function(n,t){return t.focusManager.get(n).bind(function(n){return ku(n,t.selector)})}(t,e).bind(function(n){return T(r,d(jt,n)).bind(function(n){return u(t,r,n,e,o)})})}var e=[ht("onEscape"),ht("onEnter"),St("selector",'[data-alloy-tabstop="true"]:not(:disabled)'),St("firstTabstop",0),St("useTabstopAt",nn(!0)),ht("visibilitySelector")].concat([n]),o=nn([jl(Pl([zl,Hl([9])]),function(n,t,e,o){var r=e.cyclic?Il:Rl;return a(n,0,e,r)}),jl(Hl([9]),function(n,t,e,o){var r=e.cyclic?Vl:Nl;return a(n,0,e,r)}),jl(Hl([27]),function(t,e,n,o){return n.onEscape.bind(function(n){return n(t,e)})}),jl(Pl([ad,Hl([13])]),function(t,e,n,o){return n.onEnter.bind(function(n){return n(t,e)})})]),r=nn([]);return cd(e,Qi.init,o,r,function(){return on.some(t)})}function fd(n,t,e){return _l(e)&&Hl([32])(t.event())?on.none():function(n,t,e){return Kt(n,e,ko()),on.some(!0)}(n,0,e)}function ld(n,t){return on.some(!0)}function dd(n,t,e){return e.execute(n,t,n.element())}function md(n){var e=Te(on.none());return Zi({readState:function(){return e.get().map(function(n){return{numRows:n.numRows(),numColumns:n.numColumns()}}).getOr({numRows:"?",numColumns:"?"})},setGridSize:function(n,t){e.set(on.some({numRows:nn(n),numColumns:nn(t)}))},getNumRows:function(){return e.get().map(function(n){return n.numRows()})},getNumColumns:function(){return e.get().map(function(n){return n.numColumns()})}})}function gd(i){return function(n,t,e,o){var r=i(n.element());return km(r,n,t,e,o)}}function pd(n,t){var e=Da(n,t);return gd(e)}function hd(n,t){var e=Da(t,n);return gd(e)}function vd(r){return function(n,t,e,o){return km(r,n,t,e,o)}}function bd(n){return!function(n){return n.offsetWidth<=0&&n.offsetHeight<=0}(n.dom())}function yd(n,t,e){var o=d(jt,t),r=Pc(n,e);return function(t,n){return T(t,n).map(function(n){return Bm({index:n,candidates:t})})}(S(r,bd),o)}function xd(n,t){return T(n,function(n){return jt(t,n)})}function wd(e,n,o,t){return t(Math.floor(n/o),n%o).bind(function(n){var t=n.row()*o+n.column();return 0<=t&&t<e.length?on.some(e[t]):on.none()})}function Sd(r,n,i,u,a){return wd(r,n,u,function(n,t){var e=n===i-1?r.length-n*u:u,o=rs(t,a,0,e-1);return on.some({row:nn(n),column:nn(o)})})}function Cd(i,n,u,a,c){return wd(i,n,a,function(n,t){var e=rs(n,c,0,u-1),o=e===u-1?i.length-e*a:a,r=is(t,0,o-1);return on.some({row:nn(e),column:nn(r)})})}function kd(t,e,n){Cu(t.element(),e.selector).each(function(n){e.focusManager.set(t,n)})}function Od(r){return function(n,t,e,o){return yd(n,t,e.selector).bind(function(n){return r(n.candidates(),n.index(),o.getNumRows().getOr(e.initSize.numRows),o.getNumColumns().getOr(e.initSize.numColumns))})}}function Td(n,t,e,o){return e.captureTab?on.some(!0):on.none()}function Ed(n,t,e,r){var i=function(n,t,e){var o=rs(t,r,0,e.length-1);return o===n?on.none():function(n){return"button"===qo(n)&&"disabled"===_r(n,"disabled")}(e[o])?i(n,o,e):on.from(e[o])};return yd(n,e,t).bind(function(n){var t=n.index(),e=n.candidates();return i(t,t,e)})}function Bd(t,e,o){return function(n,t){return t.focusManager.get(n).bind(function(n){return ku(n,t.selector)})}(t,o).bind(function(n){return o.execute(t,e,n)})}function Dd(t,e){e.getInitial(t).orThunk(function(){return Cu(t.element(),e.selector)}).each(function(n){e.focusManager.set(t,n)})}function _d(n,t,e){return Ed(n,e.selector,t,-1)}function Ad(n,t,e){return Ed(n,e.selector,t,1)}function Md(o){return function(n,t,e){return o(n,t,e).bind(function(){return e.executeOnMove?Bd(n,t,e):on.some(!0)})}}function Fd(n,t,e,o){return e.onEscape(n,t)}function Id(n,t,e){return on.from(n[t]).bind(function(n){return on.from(n[e]).map(function(n){return zm({rowIndex:t,columnIndex:e,cell:n})})})}function Rd(n,t,e,o){var r=n[t].length,i=rs(e,o,0,r-1);return Id(n,t,i)}function Vd(n,t,e,o){var r=rs(e,o,0,n.length-1),i=n[r].length,u=is(t,0,i-1);return Id(n,r,u)}function Nd(n,t,e,o){var r=n[t].length,i=is(e+o,0,r-1);return Id(n,t,i)}function Hd(n,t,e,o){var r=is(e+o,0,n.length-1),i=n[r].length,u=is(t,0,i-1);return Id(n,r,u)}function Pd(t,e){e.previousSelector(t).orThunk(function(){var n=e.selectors;return Cu(t.element(),n.cell)}).each(function(n){e.focusManager.set(t,n)})}function zd(n,t){return function(r,e,i){var u=i.cycles?n:t;return ku(e,i.selectors.row).bind(function(n){var t=Pc(n,i.selectors.cell);return xd(t,e).bind(function(e){var o=Pc(r,i.selectors.row);return xd(o,n).bind(function(n){var t=function(n,t){return w(n,function(n){return Pc(n,t.selectors.cell)})}(o,i);return u(t,n,e).map(function(n){return n.cell()})})})})}}function Ld(t,e,o){return o.focusManager.get(t).bind(function(n){return o.execute(t,e,n)})}function jd(t,e){Cu(t.element(),e.selector).each(function(n){e.focusManager.set(t,n)})}function Ud(n,t,e){return Ed(n,e.selector,t,-1)}function Wd(n,t,e){return Ed(n,e.selector,t,1)}function Gd(n,t,e,o){var r=n.getSystem().build(o);Mf(n,r,e)}function Xd(n,t,e,o){var r=fg(n);O(r,function(n){return jt(o.element(),n.element())}).each(vs)}function Yd(t,n,e,o,r){var i=fg(t);return on.from(i[o]).map(function(n){return Xd(t,0,0,n),r.each(function(n){Gd(t,0,function(n,t){!function(n,t,e){yr(n,e).fold(function(){Ni(n,t)},function(n){xr(n,t)})}(n,t,o)},n)}),n})}function qd(n,t){return{key:n,value:{config:{},me:function(n,t){var e=nr(t);return ba({fields:[ct("enabled")],name:n,active:{events:nn(e)}})}(n,t),configAsRaw:nn({}),initialConfig:{},state:Qi}}}function Kd(n,t){t.ignore||(xa(n.element()),t.onFocus(n))}function Jd(n,t,e){var o=t.aria;o.update(n,o,e.get())}function $d(t,n,e){n.toggleClass.each(function(n){e.get()?ni(t.element(),n):ei(t.element(),n)})}function Qd(n,t,e){hg(n,t,e,!e.get())}function Zd(n,t,e){e.set(!0),$d(n,t,e),Jd(n,t,e)}function nm(n,t,e){e.set(!1),$d(n,t,e),Jd(n,t,e)}function tm(n,t,e){hg(n,t,e,t.selected)}function em(n){(Sa(n.element()).isNone()||pg.isFocused(n))&&(pg.isFocused(n)||pg.focus(n),Yt(n,Sg,{item:n}))}function om(n){Yt(n,Cg,{item:n})}function rm(n,t){var e={};Cn(n,function(n,t){bn(n,function(n){e[n]=t})});var o=t,r=function(n){return kn(n,function(n,t){return{k:n,v:t}})}(t),i=L(r,function(n,t){return[t].concat(Rg(e,o,r,t))});return L(e,function(n){return Nn(i,n).getOr([n])})}function im(n){return n.x()}function um(n,t){return n.x()+n.width()/2-t.width()/2}function am(n,t){return n.x()+n.width()-t.width()}function cm(n){return n.y()}function sm(n,t){return n.y()+n.height()-t.height()}function fm(n,t,e){return Xa(im(n),sm(n,t),e.innerSoutheast(),qa(),"layout-se")}function lm(n,t,e){return Xa(am(n,t),sm(n,t),e.innerSouthwest(),Ka(),"layout-sw")}function dm(n,t,e){return Xa(im(n),cm(n),e.innerNortheast(),Ja(),"layout-ne")}function mm(n,t,e){return Xa(am(n,t),cm(n),e.innerNorthwest(),$a(),"layout-nw")}function gm(n){function t(n,t){t.stop(),qt(n)}var e=Ht().deviceType.isTouch()?[or(To(),t)]:[or(ho(),t),or(ro(),function(n,t){t.cut()})];return nr(z([n.map(function(e){return or(ko(),function(n,t){e(n),t.stop()})}).toArray(),e]))}function pm(n){var t=function e(n){return n.uid!==undefined}(n)&&$(n,"uid")?n.uid:Nr("memento");return{get:function(n){return n.getSystem().getByUid(t).getOrDie()},getOpt:function(n){return n.getSystem().getByUid(t).toOption()},asSpec:function(){return P(P({},n),{uid:t})}}}function hm(n){return on.from(n()["temporary-placeholder"]).getOr("!not found!")}function vm(n,t){return on.from(t()[n]).getOrThunk(function(){return hm(t)})}var bm,ym=sd(_t("cyclic",nn(!1))),xm=sd(_t("cyclic",nn(!0))),wm=[St("execute",fd),St("useSpace",!1),St("useEnter",!0),St("useControlEnter",!1),St("useDown",!1)],Sm=cd(wm,Qi.init,function(n,t,e,o){var r=e.useSpace&&!_l(n.element())?[32]:[],i=e.useEnter?[13]:[],u=e.useDown?[40]:[],a=r.concat(i).concat(u);return[jl(Hl(a),dd)].concat(e.useControlEnter?[jl(Pl([Ll,Hl([13])]),dd)]:[])},function(n,t,e,o){return e.useSpace&&!_l(n.element())?[jl(Hl([32]),ld)]:[]},function(){return on.none()}),Cm=/* */Object.freeze({flatgrid:md,init:function(n){return n.state(n)}}),km=function(t,e,n,o,r){return o.focusManager.get(e).bind(function(n){return t(e.element(),n,o,r)}).map(function(n){return o.focusManager.set(e,n),!0})},Om=vd,Tm=vd,Em=vd,Bm=mr(["index","candidates"],[]),Dm=[ct("selector"),St("execute",fd),qu("onEscape"),St("captureTab",!1),Ga()],_m=Od(function(n,t,e,o){return Sd(n,t,e,o,-1)}),Am=Od(function(n,t,e,o){return Sd(n,t,e,o,1)}),Mm=Od(function(n,t,e,o){return Cd(n,t,e,o,-1)}),Fm=Od(function(n,t,e,o){return Cd(n,t,e,o,1)}),Im=nn([jl(Hl([37]),pd(_m,Am)),jl(Hl([39]),hd(_m,Am)),jl(Hl([38]),Om(Mm)),jl(Hl([40]),Tm(Fm)),jl(Pl([zl,Hl([9])]),Td),jl(Pl([ad,Hl([9])]),Td),jl(Hl([27]),function(n,t,e,o){return e.onEscape(n,t)}),jl(Hl([32].concat([13])),function(t,e,o,n){return function(n,t){return t.focusManager.get(n).bind(function(n){return ku(n,t.selector)})}(t,o).bind(function(n){return o.execute(t,e,n)})})]),Rm=nn([jl(Hl([32]),ld)]),Vm=cd(Dm,md,Im,Rm,function(){return on.some(kd)}),Nm=[ct("selector"),St("getInitial",on.none),St("execute",fd),qu("onEscape"),St("executeOnMove",!1),St("allowVertical",!0)],Hm=nn([jl(Hl([32]),ld)]),Pm=cd(Nm,Qi.init,function(n,t,e,o){var r=[37].concat(e.allowVertical?[38]:[]),i=[39].concat(e.allowVertical?[40]:[]);return[jl(Hl(r),Md(pd(_d,Ad))),jl(Hl(i),Md(hd(_d,Ad))),jl(Hl([13]),Bd),jl(Hl([32]),Bd),jl(Hl([27]),Fd)]},Hm,function(){return on.some(Dd)}),zm=mr(["rowIndex","columnIndex","cell"],[]),Lm=[mt("selectors",[ct("row"),ct("cell")]),St("cycles",!0),St("previousSelector",on.none),St("execute",fd)],jm=zd(function(n,t,e){return Rd(n,t,e,-1)},function(n,t,e){return Nd(n,t,e,-1)}),Um=zd(function(n,t,e){return Rd(n,t,e,1)},function(n,t,e){return Nd(n,t,e,1)}),Wm=zd(function(n,t,e){return Vd(n,e,t,-1)},function(n,t,e){return Hd(n,e,t,-1)}),Gm=zd(function(n,t,e){return Vd(n,e,t,1)},function(n,t,e){return Hd(n,e,t,1)}),Xm=nn([jl(Hl([37]),pd(jm,Um)),jl(Hl([39]),hd(jm,Um)),jl(Hl([38]),Om(Wm)),jl(Hl([40]),Tm(Gm)),jl(Hl([32].concat([13])),function(t,e,o){return Sa(t.element()).bind(function(n){return o.execute(t,e,n)})})]),Ym=nn([jl(Hl([32]),ld)]),qm=cd(Lm,Qi.init,Xm,Ym,function(){return on.some(Pd)}),Km=[ct("selector"),St("execute",fd),St("moveOnTab",!1)],Jm=nn([jl(Hl([38]),Em(Ud)),jl(Hl([40]),Em(Wd)),jl(Pl([zl,Hl([9])]),function(n,t,e){return e.moveOnTab?Em(Ud)(n,t,e):on.none()}),jl(Pl([ad,Hl([9])]),function(n,t,e){return e.moveOnTab?Em(Wd)(n,t,e):on.none()}),jl(Hl([13]),Ld),jl(Hl([32]),Ld)]),$m=nn([jl(Hl([32]),ld)]),Qm=cd(Km,Qi.init,Jm,$m,function(){return on.some(jd)}),Zm=[qu("onSpace"),qu("onEnter"),qu("onShiftEnter"),qu("onLeft"),qu("onRight"),qu("onTab"),qu("onShiftTab"),qu("onUp"),qu("onDown"),qu("onEscape"),St("stopSpaceKeyup",!1),ht("focusIn")],ng=cd(Zm,Qi.init,function(n,t,e){return[jl(Hl([32]),e.onSpace),jl(Pl([ad,Hl([13])]),e.onEnter),jl(Pl([zl,Hl([13])]),e.onShiftEnter),jl(Pl([zl,Hl([9])]),e.onShiftTab),jl(Pl([ad,Hl([9])]),e.onTab),jl(Hl([38]),e.onUp),jl(Hl([40]),e.onDown),jl(Hl([37]),e.onLeft),jl(Hl([39]),e.onRight),jl(Hl([32]),e.onSpace),jl(Hl([27]),e.onEscape)]},function(n,t,e){return e.stopSpaceKeyup?[jl(Hl([32]),ld)]:[]},function(n){return n.focusIn}),tg=ym.schema(),eg=xm.schema(),og=Pm.schema(),rg=Vm.schema(),ig=qm.schema(),ug=Sm.schema(),ag=Qm.schema(),cg=ng.schema(),sg=ya({branchKey:"mode",branches:/* */Object.freeze({acyclic:tg,cyclic:eg,flow:og,flatgrid:rg,matrix:ig,execution:ug,menu:ag,special:cg}),name:"keying",active:{events:function(n,t){return n.handler.toEvents(n,t)}},apis:{focusIn:function(t,e,o){e.sendFocusIn(e).fold(function(){t.getSystem().triggerFocus(t.element(),t.element())},function(n){n(t,e,o)})},setGridSize:function(n,t,e,o,r){$(e,"setGridSize")?e.setGridSize(o,r):H.console.error("Layout does not support setGridSize")}},state:Cm}),fg=function(n,t){return n.components()},lg=ba({fields:[],name:"replacing",apis:/* */Object.freeze({append:function(n,t,e,o){Gd(n,0,Ni,o)},prepend:function(n,t,e,o){Gd(n,0,Sr,o)},remove:Xd,replaceAt:Yd,replaceBy:function(t,n,e,o,r){var i=fg(t);return T(i,o).bind(function(n){return Yd(t,0,0,n,r)})},set:function(t,n,e,o){Ca(function(){var n=w(o,t.getSystem().build);gs(t,n)},t.element())},contents:fg})}),dg=/* */Object.freeze({focus:Kd,blur:function(n,t){t.ignore||function(n){n.dom().blur()}(n.element())},isFocused:function(n){return function(n){var t=gr(n).dom();return n.dom()===t.activeElement}(n.element())}}),mg=/* */Object.freeze({exhibit:function(n,t){var e=t.ignore?{}:{attributes:{tabindex:"-1"}};return Ur(e)},events:function(e){return nr([or(xo(),function(n,t){Kd(n,e),t.stop()})].concat(e.stopMousedown?[or(ro(),function(n,t){t.event().prevent()})]:[]))}}),gg=[Yu("onFocus"),St("stopMousedown",!1),St("ignore",!1)],pg=ba({fields:gg,name:"focusing",active:mg,apis:dg}),hg=function(n,t,e,o){(o?Zd:nm)(n,t,e)},vg=/* */Object.freeze({onLoad:tm,toggle:Qd,isOn:function(n,t,e){return e.get()},on:Zd,off:nm,set:hg}),bg=/* */Object.freeze({exhibit:function(n,t,e){return Ur({})},events:function(n,t){var e=function(t,e,o){return Vi(function(n){o(n,t,e)})}(n,t,Qd),o=ma(n,t,tm);return nr(z([n.toggleOnExecute?[e]:[],[o]]))}}),yg=function(n,t,e){Dr(n.element(),"aria-expanded",e)},xg=[St("selected",!1),ht("toggleClass"),St("toggleOnExecute",!0),Ct("aria",{mode:"none"},it("mode",{pressed:[St("syncWithExpanded",!1),$u("update",function(n,t,e){Dr(n.element(),"aria-pressed",e),t.syncWithExpanded&&yg(n,t,e)})],checked:[$u("update",function(n,t,e){Dr(n.element(),"aria-checked",e)})],expanded:[$u("update",yg)],selected:[$u("update",function(n,t,e){Dr(n.element(),"aria-selected",e)})],none:[$u("update",Z)]}))],wg=ba({fields:xg,name:"toggling",active:bg,apis:vg,state:(bm=!1,{init:function(){var t=Te(bm);return{get:function(){return t.get()},set:function(n){return t.set(n)},clear:function(){return t.set(bm)},readState:function(){return t.get()}}}})}),Sg="alloy.item-hover",Cg="alloy.item-focus",kg=nn(Sg),Og=nn(Cg),Tg=[ct("data"),ct("components"),ct("dom"),St("hasSubmenu",!1),ht("toggling"),Zf("itemBehaviours",[wg,pg,sg,Qf]),St("ignoreFocus",!1),St("domModification",{}),$u("builder",function(n){return{dom:n.dom,domModification:P(P({},n.domModification),{attributes:P(P(P({role:n.toggling.isSome()?"menuitemcheckbox":"menuitem"},n.domModification.attributes),{"aria-haspopup":n.hasSubmenu}),n.hasSubmenu?{"aria-expanded":!1}:{})}),behaviours:nl(n.itemBehaviours,[n.toggling.fold(wg.revoke,function(n){return wg.config(P({aria:{mode:"checked"}},n))}),pg.config({ignore:n.ignoreFocus,stopMousedown:n.ignoreFocus,onFocus:function(n){om(n)}}),sg.config({mode:"execution"}),Qf.config({store:{mode:"memory",initialValue:n.data}}),qd("item-type-events",[or(Eo(),qt),cr(ro()),or(co(),em),or(Oo(),pg.focus)])]),components:n.components,eventOrder:n.eventOrder}}),St("eventOrder",{})],Eg=[ct("dom"),ct("components"),$u("builder",function(n){return{dom:n.dom,components:n.components,events:nr([function(n){return or(n,function(n,t){t.stop()})}(Oo())])}})],Bg=nn([yl({name:"widget",overrides:function(t){return{behaviours:va([Qf.config({store:{mode:"manual",getValue:function(n){return t.data},setValue:function(){}}})])}}})]),Dg=[ct("uid"),ct("data"),ct("components"),ct("dom"),St("autofocus",!1),St("ignoreFocus",!1),Zf("widgetBehaviours",[Qf,pg,sg]),St("domModification",{}),nf(Bg()),$u("builder",function(e){function o(n){return Ys(n,e,"widget").map(function(n){return sg.focusIn(n),n})}function n(n,t){return _l(t.event().target())||e.autofocus&&t.setSource(n.element()),on.none()}var t=Gs(0,e,Bg()),r=Xs("item-widget",e,t.internals());return{dom:e.dom,components:r,domModification:e.domModification,events:nr([Vi(function(n,t){o(n).each(function(n){t.stop()})}),or(co(),em),or(Oo(),function(n,t){e.autofocus?o(n):pg.focus(n)})]),behaviours:nl(e.widgetBehaviours,[Qf.config({store:{mode:"memory",initialValue:e.data}}),pg.config({ignore:e.ignoreFocus,onFocus:function(n){om(n)}}),sg.config({mode:"special",focusIn:e.autofocus?function(n){o(n)}:ac(),onLeft:n,onRight:n,onEscape:function(n,t){return pg.isFocused(n)||e.autofocus?(e.autofocus&&t.setSource(n.element()),on.none()):(pg.focus(n),on.some(!0))}})])}})],_g=it("type",{widget:Dg,item:Tg,separator:Eg}),Ag=nn([Sl({factory:{sketch:function(n){var t=ot("menu.spec item",_g,n);return t.builder(t)}},name:"items",unit:"item",defaults:function(n,t){return t.hasOwnProperty("uid")?t:P(P({},t),{uid:Nr("item")})},overrides:function(n,t){return{type:t.type,ignoreFocus:n.fakeFocus,domModification:{classes:[n.markers.item]}}}})]),Mg=nn([ct("value"),ct("items"),ct("dom"),ct("components"),St("eventOrder",{}),Ms("menuBehaviours",[ud,Qf,Ql,sg]),Ct("movement",{mode:"menu",moveOnTab:!0},it("mode",{grid:[Ga(),$u("config",function(n,t){return{mode:"flatgrid",selector:"."+n.markers.item,initSize:{numColumns:t.initSize.numColumns,numRows:t.initSize.numRows},focusManager:n.focusManager}})],matrix:[$u("config",function(n,t){return{mode:"matrix",selectors:{row:t.rowSelector,cell:"."+n.markers.item},focusManager:n.focusManager}}),ct("rowSelector")],menu:[St("moveOnTab",!0),$u("config",function(n,t){return{mode:"menu",selector:"."+n.markers.item,moveOnTab:t.moveOnTab,focusManager:n.focusManager}})]})),st("markers",Ua()),St("fakeFocus",!1),St("focusManager",Wl()),Yu("onHighlight")]),Fg=nn("alloy.menu-focus"),Ig=Dl({name:"Menu",configFields:Mg(),partFields:Ag(),factory:function(n,t,e,o){return{uid:n.uid,dom:n.dom,markers:n.markers,behaviours:Is(n.menuBehaviours,[ud.config({highlightClass:n.markers.selectedItem,itemClass:n.markers.item,onHighlight:n.onHighlight}),Qf.config({store:{mode:"memory",initialValue:n.value}}),Ql.config({find:on.some}),sg.config(n.movement.config(n,n.movement))]),events:nr([or(Og(),function(t,e){var n=e.event();t.getSystem().getByDom(n.target()).each(function(n){ud.highlight(t,n),e.stop(),Yt(t,Fg(),{menu:t,item:n})})}),or(kg(),function(n,t){var e=t.event().item();ud.highlight(n,e)})]),components:t,eventOrder:n.eventOrder,domModification:{attributes:{role:"menu"}}}}}),Rg=function(e,o,r,n){return Nn(r,n).bind(function(n){return Nn(e,n).bind(function(n){var t=Rg(e,o,r,n);return on.some([n].concat(t))})}).getOr([])},Vg=function(n){return"prepared"===n.type?on.some(n.menu):on.none()},Ng={init:function(){function r(n,e,o){return f(n).bind(function(t){return function(e){return F(i.get(),function(n,t){return n===e})}(n).bind(function(n){return e(n).map(function(n){return{triggeredMenu:t,triggeringItem:n,triggeringPath:o}})})})}var i=Te({}),u=Te({}),a=Te({}),c=Te(on.none()),s=Te({}),f=function(n){return t(n).bind(Vg)},t=function(n){return Nn(u.get(),n)},e=function(n){return Nn(i.get(),n)};return{setMenuBuilt:function(n,t){var e;u.set(P(P({},u.get()),((e={})[n]={type:"prepared",menu:t},e)))},setContents:function(n,t,e,o){c.set(on.some(n)),i.set(e),u.set(t),s.set(o);var r=rm(o,e);a.set(r)},expand:function(e){return Nn(i.get(),e).map(function(n){var t=Nn(a.get(),e).getOr([]);return[n].concat(t)})},refresh:function(n){return Nn(a.get(),n)},collapse:function(n){return Nn(a.get(),n).bind(function(n){return 1<n.length?on.some(n.slice(1)):on.none()})},lookupMenu:t,lookupItem:e,otherMenus:function(n){var t=s.get();return _(wn(t),n)},getPrimary:function(){return c.get().bind(f)},getMenus:function(){return u.get()},clear:function(){i.set({}),u.set({}),a.set({}),c.set(on.none())},isClear:function(){return c.get().isNone()},getTriggeringPath:function(n,o){var t=S(e(n).toArray(),function(n){return f(n).isSome()});return Nn(a.get(),n).bind(function(n){var e=D(t.concat(n));return function(n){for(var t=[],e=0;e<n.length;e++){var o=n[e];if(!o.isSome())return on.none();t.push(o.getOrDie())}return on.some(t)}(E(e,function(n,t){return r(n,o,e.slice(0,t+1)).fold(function(){return c.get().is(n)?[]:[on.none()]},function(n){return[on.some(n)]})}))})}}},extractPreparedMenu:Vg},Hg=nn("collapse-item"),Pg=Bl({name:"TieredMenu",configFields:[Ju("onExecute"),Ju("onEscape"),Ku("onOpenMenu"),Ku("onOpenSubmenu"),Ku("onRepositionMenu"),Yu("onCollapseMenu"),St("highlightImmediately",!0),mt("data",[ct("primary"),ct("menus"),ct("expansions")]),St("fakeFocus",!1),Yu("onHighlight"),Yu("onHover"),Wu(),ct("dom"),St("navigateOnHover",!0),St("stayInDom",!1),Ms("tmenuBehaviours",[sg,ud,Ql,lg]),St("eventOrder",{})],apis:{collapseMenu:function(n,t){n.collapseMenu(t)},highlightPrimary:function(n,t){n.highlightPrimary(t)},repositionMenus:function(n,t){n.repositionMenus(t)}},factory:function(a,n){function e(n){var t=function(o,r,n){return L(n,function(n,t){function e(){return Ig.sketch(P(P({dom:n.dom},n),{value:t,items:n.items,markers:a.markers,fakeFocus:a.fakeFocus,onHighlight:a.onHighlight,focusManager:a.fakeFocus?Gl():Wl()}))}return t===r?{type:"prepared",menu:o.getSystem().build(e())}:{type:"notbuilt",nbMenu:e}})}(n,a.data.primary,a.data.menus),e=o();return g.setContents(a.data.primary,t,a.data.expansions,e),g.getPrimary()}function c(n){return Qf.getValue(n).value}function u(t,n){ud.highlight(t,n),ud.getHighlighted(n).orThunk(function(){return ud.getFirst(n)}).each(function(n){Kt(t,n.element(),Oo())})}function s(t,n){return Eu(w(n,function(n){return t.lookupMenu(n).bind(function(n){return"prepared"===n.type?on.some(n.menu):on.none()})}))}function f(t,n,e){var o=s(n,n.otherMenus(e));bn(o,function(n){ii(n.element(),[a.markers.backgroundMenu]),a.stayInDom||lg.remove(t,n)})}function l(n,o){var t=function(o){return r.get().getOrThunk(function(){var e={},n=Pc(o.element(),"."+a.markers.item),t=S(n,function(n){return"true"===_r(n,"aria-haspopup")});return bn(t,function(n){o.getSystem().getByDom(n).each(function(n){var t=c(n);e[t]=n})}),r.set(on.some(e)),e})}(n);Cn(t,function(n,t){var e=vn(o,t);Dr(n.element(),"aria-expanded",e)})}function d(o,r,i){return on.from(i[0]).bind(function(n){return r.lookupMenu(n).bind(function(n){if("notbuilt"===n.type)return on.none();var t=n.menu,e=s(r,i.slice(1));return bn(e,function(n){ni(n.element(),a.markers.backgroundMenu)}),Jo(t.element())||lg.append(o,uu(t)),ii(t.element(),[a.markers.backgroundMenu]),u(o,t),f(o,r,i),on.some(t)})})}var m,t,r=Te(on.none()),g=Ng.init(),o=function(n){return L(a.data.menus,function(n,t){return E(n.items,function(n){return"separator"===n.type?[]:[n.data.value]})})};(t=m=m||{})[t.HighlightSubmenu=0]="HighlightSubmenu",t[t.HighlightParent=1]="HighlightParent";function i(r,i,u){void 0===u&&(u=m.HighlightSubmenu);var n=c(i);return g.expand(n).bind(function(o){return l(r,o),on.from(o[0]).bind(function(e){return g.lookupMenu(e).bind(function(n){var t=function(n,t,e){if("notbuilt"!==e.type)return e.menu;var o=n.getSystem().build(e.nbMenu());return g.setMenuBuilt(t,o),o}(r,e,n);return Jo(t.element())||lg.append(r,uu(t)),a.onOpenSubmenu(r,i,t,D(o)),u===m.HighlightSubmenu?(ud.highlightFirst(t),d(r,g,o)):(ud.dehighlightAll(t),on.some(i))})})})}function p(t,e){var n=c(e);return g.collapse(n).bind(function(n){return l(t,n),d(t,g,n).map(function(n){return a.onCollapseMenu(t,e,n),n})})}function h(e){return function(t,n){return ku(n.getSource(),"."+a.markers.item).bind(function(n){return t.getSystem().getByDom(n).toOption().bind(function(n){return e(t,n).map(function(){return!0})})})}}function v(n){return ud.getHighlighted(n).bind(ud.getHighlighted)}var b=nr([or(Fg(),function(e,o){var n=o.event().item();g.lookupItem(c(n)).each(function(){var n=o.event().menu();ud.highlight(e,n);var t=c(o.event().item());g.refresh(t).each(function(n){return f(e,g,n)})})}),Vi(function(t,n){var e=n.event().target();t.getSystem().getByDom(e).each(function(n){0===c(n).indexOf("collapse-item")&&p(t,n),i(t,n,m.HighlightSubmenu).fold(function(){a.onExecute(t,n)},function(){})})}),Fi(function(t,n){e(t).each(function(n){lg.append(t,uu(n)),a.onOpenMenu(t,n),a.highlightImmediately&&u(t,n)})})].concat(a.navigateOnHover?[or(kg(),function(n,t){var e=t.event().item();!function(t,n){var e=c(n);g.refresh(e).bind(function(n){return l(t,n),d(t,g,n)})}(n,e),i(n,e,m.HighlightParent),a.onHover(n,e)})]:[])),y={collapseMenu:function(t){v(t).each(function(n){p(t,n)})},highlightPrimary:function(t){g.getPrimary().each(function(n){u(t,n)})},repositionMenus:function(o){g.getPrimary().bind(function(t){return v(o).bind(function(n){var t=c(n),e=I(g.getMenus()),o=Eu(w(e,Ng.extractPreparedMenu));return g.getTriggeringPath(t,function(n){return function(n,t,e){return Bu(t,function(n){if(!n.getSystem().isConnected())return on.none();var t=ud.getCandidates(n);return O(t,function(n){return c(n)===e})})}(0,o,n)})}).map(function(n){return{primary:t,triggeringPath:n}})}).fold(function(){(function(n){return on.from(n.components()[0]).filter(function(n){return"menu"===_r(n.element(),"role")})})(o).each(function(n){a.onRepositionMenu(o,n,[])})},function(n){var t=n.primary,e=n.triggeringPath;a.onRepositionMenu(o,t,e)})}};return{uid:a.uid,dom:a.dom,markers:a.markers,behaviours:Is(a.tmenuBehaviours,[sg.config({mode:"special",onRight:h(function(n,t){return _l(t.element())?on.none():i(n,t,m.HighlightSubmenu)}),onLeft:h(function(n,t){return _l(t.element())?on.none():p(n,t)}),onEscape:h(function(n,t){return p(n,t).orThunk(function(){return a.onEscape(n,t).map(function(){return n})})}),focusIn:function(t,n){g.getPrimary().each(function(n){Kt(t,n.element(),Oo())})}}),ud.config({highlightClass:a.markers.selectedMenu,itemClass:a.markers.menu}),Ql.config({find:function(n){return ud.getHighlighted(n)}}),lg.config({})]),eventOrder:a.eventOrder,apis:y,events:b}},extraApis:{tieredData:function(n,t,e){return{primary:n,menus:t,expansions:e}},singleData:function(n,t){return{primary:n,menus:q(n,t),expansions:{}}},collapseItem:function(n){return{value:Vr(Hg()),meta:{text:n}}}}}),zg=Bl({name:"InlineView",configFields:[ct("lazySink"),Yu("onShow"),Yu("onHide"),xt("onEscape"),Ms("inlineBehaviours",[Pf,Qf,fc]),wt("fireDismissalEventInstead",[St("event",Ho())]),wt("fireRepositionEventInstead",[St("event",Po())]),St("getRelated",on.none),St("eventOrder",on.none)],factory:function(i,n){function t(e){Pf.isOpen(e)&&Qf.getValue(e).each(function(n){switch(n.mode){case"menu":Pf.getState(e).each(function(n){Pg.repositionMenus(n)});break;case"position":var t=i.lazySink(e).getOrDie();Df.positionWithinBounds(t,n.anchor,e,n.getBounds())}})}var o=function(n,t,e,o){r(n,t,e,function(){return o.map(function(n){return yu(n)})})},r=function(n,t,e,o){var r=i.lazySink(n).getOrDie();Pf.openWhileCloaked(n,e,function(){return Df.positionWithinBounds(r,t,n,o())}),Qf.setValue(n,on.some({mode:"position",anchor:t,getBounds:o}))},u=function(n,t,e,o){var r=function(n,t,r,e,i){function u(){return n.lazySink(t)}function a(n){return function(n){return 2===n.length}(n)?o:{}}var o="horizontal"===e.type?{layouts:{onLtr:function(){return la()},onRtl:function(){return da()}}}:{};return Pg.sketch({dom:{tag:"div"},data:e.data,markers:e.menu.markers,onEscape:function(){return Pf.close(t),n.onEscape.map(function(n){return n(t)}),on.some(!0)},onExecute:function(){return on.some(!0)},onOpenMenu:function(n,t){Df.positionWithinBounds(u().getOrDie(),r,t,i())},onOpenSubmenu:function(n,t,e,o){var r=u().getOrDie();Df.position(r,P({anchor:"submenu",item:t},a(o)),e)},onRepositionMenu:function(n,t,e){var o=u().getOrDie();Df.positionWithinBounds(o,r,t,i()),bn(e,function(n){var t=a(n.triggeringPath);Df.position(o,P({anchor:"submenu",item:n.triggeringItem},t),n.triggeredMenu)})}})}(i,n,t,e,o);Pf.open(n,r),Qf.setValue(n,on.some({mode:"menu",menu:r}))},e={setContent:function(n,t){Pf.setContent(n,t)},showAt:function(n,t,e){o(n,t,e,on.none())},showWithin:o,showWithinBounds:r,showMenuAt:function(n,t,e){u(n,t,e,function(){return on.none()})},showMenuWithinBounds:u,hide:function(n){Qf.setValue(n,on.none()),Pf.close(n)},getContent:function(n){return Pf.getState(n)},reposition:t,isOpen:Pf.isOpen};return{uid:i.uid,dom:i.dom,behaviours:Is(i.inlineBehaviours,[Pf.config({isPartOf:function(n,t,e){return zu(t,e)||function(n,t){return i.getRelated(n).exists(function(n){return zu(n,t)})}(n,e)},getAttachPoint:function(n){return i.lazySink(n).getOrDie()},onOpen:function(n){i.onShow(n)},onClose:function(n){i.onHide(n)}}),Qf.config({store:{mode:"memory",initialValue:on.none()}}),fc.config({channels:P(P({},Os(P({isExtraPart:nn(!1)},i.fireDismissalEventInstead.map(function(n){return{fireEventInstead:{event:n.event}}}).getOr({})))),Ts(P(P({isExtraPart:nn(!1)},i.fireRepositionEventInstead.map(function(n){return{fireEventInstead:{event:n.event}}}).getOr({})),{doReposition:t})))})]),eventOrder:i.eventOrder,apis:e}},apis:{showAt:function(n,t,e,o){n.showAt(t,e,o)},showWithin:function(n,t,e,o,r){n.showWithin(t,e,o,r)},showWithinBounds:function(n,t,e,o,r){n.showWithinBounds(t,e,o,r)},showMenuAt:function(n,t,e,o){n.showMenuAt(t,e,o)},showMenuWithinBounds:function(n,t,e,o,r){n.showMenuWithinBounds(t,e,o,r)},hide:function(n,t){n.hide(t)},isOpen:function(n,t){return n.isOpen(t)},getContent:function(n,t){return n.getContent(t)},setContent:function(n,t,e){n.setContent(t,e)},reposition:function(n,t){n.reposition(t)}}}),Lg=function(n,t,e){return Xa(um(n,t),cm(n),e.innerNorth(),Za(),"layout-n")},jg=function(n,t,e){return Xa(um(n,t),sm(n,t),e.innerSouth(),Qa(),"layout-s")},Ug=Bl({name:"Button",factory:function(n){function e(t){return Nn(n.dom,"attributes").bind(function(n){return Nn(n,t)})}var t=gm(n.action),o=n.dom.tag;return{uid:n.uid,dom:n.dom,components:n.components,events:t,behaviours:nl(n.buttonBehaviours,[pg.config({}),sg.config({mode:"execution",useSpace:!0,useEnter:!0})]),domModification:{attributes:function(){if("button"!==o)return{role:e("role").getOr("button")};var n=e("type").getOr("button"),t=e("role").map(function(n){return{role:n}}).getOr({});return P({type:n},t)}()},eventOrder:n.eventOrder}},configFields:[St("uid",undefined),ct("dom"),St("components",[]),Zf("buttonBehaviours",[pg,sg]),ht("action"),ht("role"),St("eventOrder",{})]}),Wg={success:"checkmark",error:"warning",err:"error",warning:"warning",warn:"warning",info:"info"},Gg=Bl({name:"Notification",factory:function(t){function e(n){return{dom:{tag:"div",classes:["tox-bar"],attributes:{style:"width: "+n+"%"}}}}function o(n){return{dom:{tag:"div",classes:["tox-text"],innerHtml:n+"%"}}}var r=pm({dom:{tag:"p",innerHtml:t.translationProvider(t.text)},behaviours:va([lg.config({})])}),i=pm({dom:{tag:"div",classes:t.progress?["tox-progress-bar","tox-progress-indicator"]:["tox-progress-bar"]},components:[{dom:{tag:"div",classes:["tox-bar-container"]},components:[e(0)]},o(0)],behaviours:va([lg.config({})])}),n={updateProgress:function(n,t){n.getSystem().isConnected()&&i.getOpt(n).each(function(n){lg.set(n,[{dom:{tag:"div",classes:["tox-bar-container"]},components:[e(t)]},o(t)])})},updateText:function(n,t){if(n.getSystem().isConnected()){var e=r.get(n);lg.set(e,[ki(t)])}}},u=z([t.icon.toArray(),t.level.toArray(),t.level.bind(function(n){return on.from(Wg[n])}).toArray()]);return{uid:t.uid,dom:{tag:"div",attributes:{role:"alert"},classes:t.level.map(function(n){return["tox-notification","tox-notification--in","tox-notification--"+n]}).getOr(["tox-notification","tox-notification--in"])},components:[{dom:{tag:"div",classes:["tox-notification__icon"],innerHtml:function(n,t){return Bu(n,function(n){return on.from(t()[n])}).getOrThunk(function(){return hm(t)})}(u,t.iconProvider)}},{dom:{tag:"div",classes:["tox-notification__body"]},components:[r.asSpec()],behaviours:va([lg.config({})])}].concat(t.progress?[i.asSpec()]:[]).concat(Ug.sketch({dom:{tag:"button",classes:["tox-notification__dismiss","tox-button","tox-button--naked","tox-button--icon"]},components:[{dom:{tag:"div",classes:["tox-icon"],innerHtml:vm("close",t.iconProvider),attributes:{"aria-label":t.translationProvider("Close")}}}],action:function(n){t.onAction(n)}})),apis:n}},configFields:[ht("level"),ct("progress"),ct("icon"),ct("onAction"),ct("text"),ct("iconProvider"),ct("translationProvider")],apis:{updateProgress:function(n,t,e){n.updateProgress(t,e)},updateText:function(n,t,e){n.updateText(t,e)}}}),Xg=tinymce.util.Tools.resolve("tinymce.util.Delay");function Yg(n,u,o){var a=u.backstage;return{open:function(n,t){function e(){t(),zg.hide(i)}var r=iu(Gg.sketch({text:n.text,level:vn(["success","error","warning","warn","info"],n.type)?n.type:undefined,progress:!0===n.progressBar,icon:on.from(n.icon),onAction:e,iconProvider:a.shared.providers.icons,translationProvider:a.shared.providers.translate})),i=iu(zg.sketch({dom:{tag:"div",classes:["tox-notifications-container"]},lazySink:u.backstage.shared.getSink,fireDismissalEventInstead:{}}));return o.add(i),0<n.timeout&&Xg.setTimeout(function(){e()},n.timeout),{close:e,moveTo:function(n,t){zg.showAt(i,{anchor:"makeshift",x:n,y:t},uu(r))},moveRel:function(n,t){if("banner"!==t){var e=function(n){switch(n){case"bc-bc":return jg;case"tc-tc":return Lg;case"tc-bc":return ec;case"bc-tc":default:return oc}}(t),o={anchor:"node",root:_i(),node:on.some(Be.fromDom(n)),layouts:{onRtl:function(){return[e]},onLtr:function(){return[e]}}};zg.showAt(i,o,uu(r))}else zg.showAt(i,u.backstage.shared.anchors.banner(),uu(r))},text:function(n){Gg.updateText(r,n)},settings:n,getEl:function(){return r.element().dom()},progressBar:{value:function(n){Gg.updateProgress(r,n)}}}},close:function(n){n.close()},reposition:function(n){!function(n){bn(n,function(n){return n.moveTo(0,0)})}(n),function(e){0<e.length&&(yn(e).each(function(n){return n.moveRel(null,"banner")}),bn(e,function(n,t){0<t&&n.moveRel(e[t-1].getEl(),"bc-tc")}))}(n)},getArgs:function(n){return n.settings}}}function qg(e,o){var r=null;return{cancel:function(){null!==r&&(H.clearTimeout(r),r=null)},throttle:function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];null!==r&&H.clearTimeout(r),r=H.setTimeout(function(){e.apply(null,n),r=null},o)}}}function Kg(n,t,e,o,r){var i=new Bp(t,r||n.getRoot());return Ap(n,t,on.some(e),o,i.prev,on.none())}function Jg(t,e){return Mp(Be.fromDom(t.selection.getNode())).getOrThunk(function(){var n=Be.fromHtml('<span data-mce-autocompleter="1" data-mce-bogus="1"></span>',t.getDoc());return Ni(n,Be.fromDom(e.extractContents())),e.insertNode(n.dom()),hr(n).each(function(n){return n.dom().normalize()}),Fc(n).map(function(n){t.selection.setCursorLocation(n.dom(),function(n){return"img"===qo(n)?1:Dc(n).fold(function(){return br(n).length},function(n){return n.length})}(n))}),n})}function $g(n,t){return n.toString().substring(t.length).replace(/\u00A0/g," ").replace(/\uFEFF/g,"")}function Qg(n,u,a,c){return void 0===c&&(c=0),function(n){return n.collapsed&&3===n.startContainer.nodeType}(u)?Kg(n,u.startContainer,u.startOffset,function(e,o,r,n){var i=n.getOr(r.length);return function(n,t,e,o){var r;for(r=t-1;0<=r;r--){var i=n.charAt(r);if(Fp.test(i))return on.none();if(i===e)break}return-1===r||t-r<o?on.none():on.some(n.substring(r+1,t))}(r,i,a,1).fold(function(){return r.match(Fp)?e.abort():e.kontinue()},function(n){var t=u.cloneRange();return t.setStart(o,i-n.length-1),t.setEnd(u.endContainer,u.endOffset),r.length<c?e.abort():e.finish({text:$g(t,a),range:t,triggerChar:a})})}).fold(on.none,on.none,on.some):on.none()}function Zg(e,n,o,t){return void 0===t&&(t=0),Mp(Be.fromDom(n.startContainer)).fold(function(){return Qg(e,n,o,t)},function(n){var t=e.createRng();return t.selectNode(n.dom()),on.some({range:t,text:$g(t,o),triggerChar:o})})}function np(n,t){return{element:n,offset:t}}function tp(t,e){var n=e(),o=t.selection.getRng();return function(t,e,n){return Bu(n.triggerChars,function(n){return Zg(t,e,n)})}(t.dom,o,n).bind(function(n){return Hp(t,e,n)})}function ep(n){var t=n.ui.registry.getAll().popups,e=L(t,function(n){return function(n){return tt("Autocompleter",Lp,n)}(n).fold(function(n){throw new Error(be(n))},function(n){return n})}),o=function(n){var t={};return bn(n,function(n){t[n]={}}),wn(t)}(On(e,function(n){return n.ch})),r=I(e);return{dataset:e,triggerChars:o,lookupByChar:function(t){return S(r,function(n){return n.ch===t})}}}function op(n,o,t){var r=Pc(n.element(),"."+t);if(0<r.length){var e=T(r,function(n){var t=n.dom().getBoundingClientRect().top,e=r[0].dom().getBoundingClientRect().top;return Math.abs(t-e)>o}).getOr(r.length);return on.some({numColumns:e,numRows:Math.ceil(r.length/e)})}return on.none()}function rp(n,t){return va([qd(n,t)])}function ip(n,t,e){n.getSystem().broadcastOn([$p],{})}function up(n){var t=Be.fromHtml(n),e=br(t),o=function(n){var t=n.dom().attributes!==undefined?n.dom().attributes:[];return k(t,function(n,t){var e;return"class"===t.name?n:P(P({},n),((e={})[t.name]=t.value,e))},{})}(t),r=function(n){return Array.prototype.slice.call(n.dom().classList,0)}(t),i=0===e.length?{}:{innerHtml:Tr(t)};return P({tag:qo(t),classes:r,attributes:o},i)}function ap(n){return Nn(uh,n).getOr(oh)}function cp(n){return{dom:{tag:"div",classes:[ch],innerHtml:n}}}function sp(n){return{dom:{tag:"div",classes:[sh]},components:[ki(eh.translate(n))]}}function fp(n,t){return{dom:{tag:"div",classes:[sh]},components:[{dom:{tag:n.tag,attributes:{style:n.styleAttr}},components:[ki(eh.translate(t))]}]}}function lp(n){return{dom:{tag:"div",classes:["tox-collection__item-accessory"],innerHtml:mh(n)}}}function dp(n){return{dom:{tag:"div",classes:[ch,"tox-collection__item-checkmark"],innerHtml:vm("checkmark",n)}}}function mp(n,t,e,o,r){var i=e?n.checkMark.orThunk(function(){return t.or(on.some("")).map(cp)}):on.none(),u=n.ariaLabel.map(function(n){return{attributes:{title:eh.translate(n)}}}).getOr({});return{dom:_n({tag:"div",classes:[oh,rh].concat(r?["tox-collection__item-icon-rtl"]:[])},u),optComponents:[i,n.htmlContent.fold(function(){return n.textContent.map(o)},function(n){return on.some(function(n){return{dom:{tag:"div",classes:[sh],innerHtml:n}}}(n))}),n.shortcutContent.map(lp),n.caret]}}function gp(n,t,e,o){void 0===o&&(o=on.none());var r=eh.isRtl()&&n.iconContent.exists(function(n){return vn(ph,n)}),i=n.iconContent.map(function(n){return eh.isRtl()&&vn(gh,n)?n+"-rtl":n}).map(function(n){return function(n,t,e){return on.from(t()[n]).or(e).getOrThunk(function(){return hm(t)})}(n,t.icons,o)}),u=on.from(n.meta).fold(function(){return sp},function(n){return Tn(n,"style")?d(fp,n.style):sp});return"color"===n.presets?function(n,t,e,o){var r,i,u;return{dom:(r=ih,i=e.getOr(""),u=n.map(function(n){return' title="'+o.translate(n)+'"'}).getOr(""),up("custom"===t?'<button class="'+r+' tox-swatches__picker-btn"'+u+">"+i+"</button>":"remove"===t?'<div class="'+r+' tox-swatch--remove"'+u+">"+i+"</div>":'<div class="'+r+'" style="background-color: '+t+'" data-mce-color="'+t+'"'+u+"></div>")),optComponents:[]}}(n.ariaLabel,n.value,i,t):mp(n,i,e,u,r)}function pp(n,t,e){t.disabled&&vh(n,t)}function hp(n,t){return!0===t.useNative&&vn(hh,qo(n.element()))}function vp(n){Dr(n.element(),"disabled","disabled")}function bp(n){Mr(n.element(),"disabled")}function yp(n){Dr(n.element(),"aria-disabled","true")}function xp(n){Dr(n.element(),"aria-disabled","false")}function wp(t,n,e){n.disableClass.each(function(n){ei(t.element(),n)}),(hp(t,n)?bp:xp)(t),n.onEnabled(t)}function Sp(n,t){return hp(n,t)?function(n){return Ar(n.element(),"disabled")}(n):function(n){return"true"===_r(n.element(),"aria-disabled")}(n)}function Cp(n,t){var e=n.getApi(t);return function(n){n(e)}}function kp(e,o){return Fi(function(n){Cp(e,n)(function(n){var t=e.onSetup(n);null!==t&&t!==undefined&&o.set(t)})})}function Op(t,e){return Ii(function(n){return Cp(t,n)(e.get())})}var Tp,Ep,Bp=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),Dp=En([{aborted:[]},{edge:["element"]},{success:["info"]}]),_p=En([{abort:[]},{kontinue:[]},{finish:["info"]}]),Ap=function(t,e,n,o,r,i){function u(){return i.fold(Dp.aborted,Dp.edge)}function a(){var n=r();return n?Ap(t,n,on.none(),o,r,on.some(e)):u()}if(function(n,t){return n.isBlock(t)||vn(["BR","IMG","HR","INPUT"],t.nodeName)||"false"===n.getContentEditable(t)}(t,e))return u();if(function(n){return n.nodeType===H.Node.TEXT_NODE}(e)){var c=e.textContent;return o(_p,e,c,n).fold(Dp.aborted,function(){return a()},Dp.success)}return a()},Mp=function(n){return ku(n,"[data-mce-autocompleter]")},Fp=/[\u00a0 \t\r\n]/,Ip=function(e,n){n.on("keypress compositionend",e.onKeypress.throttle),n.on("remove",e.onKeypress.cancel);function o(n,t){Yt(n,lo(),{raw:t})}n.on("keydown",function(t){function n(){return e.getView().bind(ud.getHighlighted)}8===t.which&&e.onKeypress.throttle(t),e.isActive()&&(27===t.which&&e.cancelIfNecessary(),e.isMenuOpen()?13===t.which?(n().each(qt),t.preventDefault()):40===t.which?(n().fold(function(){e.getView().each(ud.highlightFirst)},function(n){o(n,t)}),t.preventDefault(),t.stopImmediatePropagation()):37!==t.which&&38!==t.which&&39!==t.which||n().each(function(n){o(n,t),t.preventDefault(),t.stopImmediatePropagation()}):13!==t.which&&38!==t.which&&40!==t.which||e.cancelIfNecessary())}),n.on("NodeChange",function(n){e.isActive()&&!e.isProcessingAction()&&Mp(Be.fromDom(n.element)).isNone()&&e.cancelIfNecessary()})},Rp=tinymce.util.Tools.resolve("tinymce.util.Promise"),Vp=function(n){if(function(n){return n.nodeType===H.Node.TEXT_NODE}(n))return np(n,n.data.length);var t=n.childNodes;return 0<t.length?Vp(t[t.length-1]):np(n,t.length)},Np=function(n,t){var e=n.childNodes;return 0<e.length&&t<e.length?Np(e[t],0):0<e.length&&function(n){return n.nodeType===H.Node.ELEMENT_NODE}(n)&&e.length===t?Vp(e[e.length-1]):np(n,t)},Hp=function(t,n,e,o){void 0===o&&(o={});var r=n(),i=t.selection.getRng().startContainer.nodeValue,u=S(r.lookupByChar(e.triggerChar),function(n){return e.text.length>=n.minChars&&n.matches.getOrThunk(function(){return function(e){function o(n,t,e,o){var r=o.getOr(e.length);return 0===r?n.kontinue():n.finish(/\s/.test(e.charAt(r-1)))}return function(n){var t=Np(n.startContainer,n.startOffset);return Kg(e,t.element,t.offset,o).fold(nn(!0),nn(!0),l)}}(t.dom)})(e.range,i,e.text)});if(0===u.length)return on.none();var a=Rp.all(w(u,function(t){return t.fetch(e.text,t.maxResults,o).then(function(n){return{matchText:e.text,items:n,columns:t.columns,onAction:t.onAction}})}));return on.some({lookupData:a,context:e})},Pp=le([ft("type"),yt("text")]),zp=le([_t("type",function(){return"autocompleteitem"}),_t("active",function(){return!1}),_t("disabled",function(){return!1}),St("meta",{}),ft("value"),yt("text"),yt("icon")]),Lp=le([ft("type"),ft("ch"),kt("minChars",1),St("columns",1),kt("maxResults",10),xt("matches"),dt("fetch"),dt("onAction")]),jp=[Et("disabled",!1),yt("text"),yt("shortcut"),pe("value","value",In(function(){return Vr("menuitem-value")}),ye()),St("meta",{})],Up=le([ft("type"),Bt("onSetup",function(){return Z}),Bt("onAction",Z),yt("icon")].concat(jp)),Wp=le([ft("type"),dt("getSubmenuItems"),Bt("onSetup",function(){return Z}),yt("icon")].concat(jp)),Gp=le([ft("type"),Et("active",!1),Bt("onSetup",function(){return Z}),dt("onAction")].concat(jp)),Xp=le([ft("type"),Et("active",!1),yt("icon")].concat(jp)),Yp=le([ft("type"),lt("fancytype",["inserttable","colorswatch"]),Bt("onAction",Z)]),qp=function(n){return rp(Vr("unnamed-events"),n)},Kp=[ct("lazySink"),ct("tooltipDom"),St("exclusive",!0),St("tooltipComponents",[]),St("delay",300),Tt("mode","normal",["normal","follow-highlight"]),St("anchor",function(n){return{anchor:"hotspot",hotspot:n,layouts:{onLtr:nn([oc,ec,ia,aa,ua,ca]),onRtl:nn([oc,ec,ia,aa,ua,ca])}}}),Yu("onHide"),Yu("onShow")],Jp=/* */Object.freeze({init:function(){function e(){o.get().each(function(n){H.clearTimeout(n)})}var o=Te(on.none()),t=Te(on.none()),n=nn("not-implemented");return Zi({getTooltip:function(){return t.get()},isShowing:function(){return t.get().isSome()},setTooltip:function(n){t.set(on.some(n))},clearTooltip:function(){t.set(on.none())},clearTimer:e,resetTimer:function(n,t){e(),o.set(on.some(H.setTimeout(function(){n()},t)))},readState:n})}}),$p=Vr("tooltip.exclusive"),Qp=Vr("tooltip.show"),Zp=Vr("tooltip.hide"),nh=/* */Object.freeze({hideAllExclusive:ip,setComponents:function(n,t,e,o){e.getTooltip().each(function(n){n.getSystem().isConnected()&&lg.set(n,o)})}}),th=ba({fields:Kp,name:"tooltipping",active:/* */Object.freeze({events:function(o,r){function e(t){r.getTooltip().each(function(n){vs(n),o.onHide(t,n),r.clearTooltip()}),r.clearTimer()}return nr(z([[or(Qp,function(n){r.resetTimer(function(){!function(t){if(!r.isShowing()){ip(t);var n=o.lazySink(t).getOrDie(),e=t.getSystem().build({dom:o.tooltipDom,components:o.tooltipComponents,events:nr("normal"===o.mode?[or(co(),function(n){Xt(t,Qp)}),or(uo(),function(n){Xt(t,Zp)})]:[]),behaviours:va([lg.config({})])});r.setTooltip(e),ps(n,e),o.onShow(t,e),Df.position(n,o.anchor(t),e)}}(n)},o.delay)}),or(Zp,function(n){r.resetTimer(function(){e(n)},o.delay)}),or(Co(),function(n,t){vn(t.channels(),$p)&&e(n)}),Ii(function(n){e(n)})],"normal"===o.mode?[or(so(),function(n){Xt(n,Qp)}),or(wo(),function(n){Xt(n,Zp)}),or(co(),function(n){Xt(n,Qp)}),or(uo(),function(n){Xt(n,Zp)})]:[or(Wo(),function(n,t){Xt(n,Qp)}),or(Go(),function(n){Xt(n,Zp)})]]))}}),state:Jp,apis:nh}),eh=tinymce.util.Tools.resolve("tinymce.util.I18n"),oh="tox-menu-nav__js",rh="tox-collection__item",ih="tox-swatch",uh={normal:oh,color:ih},ah="tox-collection__item--enabled",ch="tox-collection__item-icon",sh="tox-collection__item-label",fh="tox-collection__item-caret",lh="tox-collection__item--active",dh=tinymce.util.Tools.resolve("tinymce.Env"),mh=function(n){var e=dh.mac?{alt:"⌥",ctrl:"⌃",shift:"⇧",meta:"⌘",access:"⌃⌥"}:{meta:"Ctrl",access:"Shift+Alt"},t=n.split("+"),o=w(t,function(n){var t=n.toLowerCase().trim();return Tn(e,t)?e[t]:n});return dh.mac?o.join(""):o.join("+")},gh=["list-num-default","list-num-lower-alpha","list-num-lower-greek","list-num-lower-roman","list-num-upper-alpha","list-num-upper-roman"],ph=["list-bull-circle","list-bull-default","list-bull-square"],hh=["input","button","textarea","select"],vh=function(t,n,e){n.disableClass.each(function(n){ni(t.element(),n)}),(hp(t,n)?vp:yp)(t),n.onDisabled(t)},bh=/* */Object.freeze({enable:wp,disable:vh,isDisabled:Sp,onLoad:pp,set:function(n,t,e,o){(o?vh:wp)(n,t,e)}}),yh=/* */Object.freeze({exhibit:function(n,t,e){return Ur({classes:t.disabled?t.disableClass.map(A).getOr([]):[]})},events:function(e,n){return nr([tr(ko(),function(n,t){return Sp(n,e)}),ma(e,n,pp)])}}),xh=[St("disabled",!1),St("useNative",!0),ht("disableClass"),Yu("onDisabled"),Yu("onEnabled")],wh=ba({fields:xh,name:"disabling",active:yh,apis:bh}),Sh=function(n){return wh.config({disabled:n,disableClass:"tox-collection__item--state-disabled"})},Ch=function(n){return wh.config({disabled:n})},kh=function(n){return wh.config({disabled:n,disableClass:"tox-tbtn--disabled"})},Oh=function(n){return wh.config({disabled:n,disableClass:"tox-tbtn--disabled",useNative:!1})};(Ep=Tp=Tp||{})[Ep.CLOSE_ON_EXECUTE=0]="CLOSE_ON_EXECUTE",Ep[Ep.BUBBLE_TO_SANDBOX=1]="BUBBLE_TO_SANDBOX";function Th(n){return E(n,function(n){return n.toArray()})}function Eh(n,t,e){var o=Te(Z);return{type:"item",dom:t.dom,components:Th(t.optComponents),data:n.data,eventOrder:Mh,hasSubmenu:n.triggersSubmenu,itemBehaviours:va([qd("item-events",[function(e,o){return Vi(function(n,t){Cp(e,n)(e.onAction),e.triggersSubmenu||o!==Ah.CLOSE_ON_EXECUTE||(Xt(n,Do()),t.stop())})}(n,e),kp(n,o),Op(n,o)]),Sh(n.disabled),lg.config({})].concat(n.itemBehaviours))}}function Bh(n){return{value:n.value,meta:_n({text:n.text.getOr("")},n.meta)}}function Dh(n,t){var e=function(n){return Fh.DOM.encode(n)}(eh.translate(n));if(0<t.length){var o=new RegExp(function(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(t),"gi");return e.replace(o,function(n){return'<span class="tox-autocompleter-highlight">'+n+"</span>"})}return e}function _h(t,e,n){function o(n){return Yt(n,Vh,{row:t,col:e})}var r;return iu({dom:{tag:"div",attributes:(r={role:"button"},r["aria-labelledby"]=n,r)},behaviours:va([qd("insert-table-picker-cell",[or(co(),pg.focus),or(ko(),o),or(Eo(),o)]),wg.config({toggleClass:"tox-insert-table-picker__selected",toggleOnExecute:!1}),pg.config({onFocus:function(n){return Yt(n,Rh,{row:t,col:e})}})])})}var Ah=Tp,Mh={"alloy.execute":["disabling","alloy.base.behaviour","toggling","item-events"]},Fh=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),Ih=nn(Ls("item-widget",Bg())),Rh=Vr("cell-over"),Vh=Vr("cell-execute");function Nh(n){return{value:nn(n)}}function Hh(n){return qh.test(n)||Kh.test(n)}function Ph(n){var t=function(n){var t=n.value().replace(qh,function(n,t,e,o){return t+t+e+e+o+o});return{value:nn(t)}}(n),e=Kh.exec(t.value());return null===e?["FFFFFF","FF","FF","FF"]:e}function zh(n){var t=n.toString(16);return 1===t.length?"0"+t:t}function Lh(n){var t=zh(n.red())+zh(n.green())+zh(n.blue());return Nh(t)}function jh(n,t,e,o){return{red:nn(n),green:nn(t),blue:nn(e),alpha:nn(o)}}function Uh(n){var t=parseInt(n,10);return t.toString()===n&&0<=t&&t<=255}function Wh(n){var t,e,o,r=(n.hue()||0)%360,i=n.saturation()/100,u=n.value()/100;if(i=$h(0,Jh(i,1)),u=$h(0,Jh(u,1)),0===i)return t=e=o=Qh(255*u),jh(t,e,o,1);var a=r/60,c=u*i,s=c*(1-Math.abs(a%2-1)),f=u-c;switch(Math.floor(a)){case 0:t=c,e=s,o=0;break;case 1:t=s,e=c,o=0;break;case 2:t=0,e=c,o=s;break;case 3:t=0,e=s,o=c;break;case 4:t=s,e=0,o=c;break;case 5:t=c,e=0,o=s;break;default:t=e=o=0}return t=Qh(255*(t+f)),e=Qh(255*(e+f)),o=Qh(255*(o+f)),jh(t,e,o,1)}function Gh(n){var t=Ph(n),e=parseInt(t[1],16),o=parseInt(t[2],16),r=parseInt(t[3],16);return jh(e,o,r,1)}function Xh(n,t,e,o){var r=parseInt(n,10),i=parseInt(t,10),u=parseInt(e,10),a=parseFloat(o);return jh(r,i,u,a)}function Yh(n){return"rgba("+n.red()+","+n.green()+","+n.blue()+","+n.alpha()+")"}var qh=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Kh=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,Jh=Math.min,$h=Math.max,Qh=Math.round,Zh=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)/,nv=/^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d?(?:\.\d+)?)\)/,tv=nn(jh(255,0,0,1)),ev=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),ov="tinymce-custom-colors";function rv(n){var t=[],u=H.document.createElement("canvas");u.height=1,u.width=1;for(var a=u.getContext("2d"),c=function(n,t){var e=t/255;return("0"+Math.round(n*e+255*(1-e)).toString(16)).slice(-2).toUpperCase()},e=function(n){if(/^[0-9A-Fa-f]{6}$/.test(n))return"#"+n.toUpperCase();a.clearRect(0,0,u.width,u.height),a.fillStyle="#FFFFFF",a.fillStyle=n,a.fillRect(0,0,1,1);var t=a.getImageData(0,0,1,1).data,e=t[0],o=t[1],r=t[2],i=t[3];return"#"+c(e,i)+c(o,i)+c(r,i)},o=0;o<n.length;o+=2)t.push({text:n[o+1],value:e(n[o]),type:"choiceitem"});return t}function iv(n){return n.getParam("color_map")}function uv(n,e){var o;return n.dom.getParents(n.selection.getStart(),function(n){var t;(t=n.style["forecolor"===e?"color":"background-color"])&&(o=o||t)}),o}function av(n){return Math.max(5,Math.ceil(Math.sqrt(n)))}function cv(n){var t=Mv(n),e=av(t.length);return _v(n,e)}function sv(t,e,n,o){"custom"===n?zv(t)(function(n){n.each(function(n){Iv(n),t.execCommand("mceApplyTextcolor",e,n),o(n)})},"#000000"):"remove"===n?(o(""),t.execCommand("mceRemoveTextcolor",e)):(o(n),t.execCommand("mceApplyTextcolor",e,n))}function fv(n,t){return n.concat(Fv().concat(function(n){var t="choiceitem",e={type:t,text:"Remove color",icon:"color-swatch-remove-color",value:"remove"};return n?[e,{type:t,text:"Custom color",icon:"color-picker",value:"custom"}]:[e]}(t)))}function lv(t,e){return function(n){n(fv(t,e))}}function dv(n,t,e){var o,r;o="forecolor"===t?"tox-icon-text-color__color":"tox-icon-highlight-bg-color__color",r=e,n.setIconFill(o,r),n.setIconStroke(o,r)}function mv(o,e,r,n,i){o.ui.registry.addSplitButton(e,{tooltip:n,presets:"color",icon:"forecolor"===e?"text-color":"highlight-bg-color",select:function(e){return on.from(uv(o,r)).bind(function(n){return function(n){if("transparent"===n)return on.some(jh(0,0,0,0));var t=Zh.exec(n);if(null!==t)return on.some(Xh(t[1],t[2],t[3],"1"));var e=nv.exec(n);return null!==e?on.some(Xh(e[1],e[2],e[3],e[4])):on.none()}(n).map(function(n){var t=Lh(n).value();return Vt(e.toLowerCase(),t)})}).getOr(!1)},columns:cv(o),fetch:lv(Mv(o),Av(o)),onAction:function(n){null!==i.get()&&sv(o,r,i.get(),function(){})},onItemAction:function(n,t){sv(o,r,t,function(n){i.set(n),Pv(o,{name:e,color:n})})},onSetup:function(t){null!==i.get()&&dv(t,e,i.get());function n(n){n.name===e&&dv(t,n.name,n.color)}return o.on("TextColorChange",n),function(){o.off("TextColorChange",n)}}})}function gv(t,n,e,o){t.ui.registry.addNestedMenuItem(n,{text:o,icon:"forecolor"===n?"text-color":"highlight-bg-color",getSubmenuItems:function(){return[{type:"fancymenuitem",fancytype:"colorswatch",onAction:function(n){sv(t,e,n.value,Z)}}]}})}function pv(e,o){return function(n){var t=x(n,o);return w(t,function(n){return{dom:e,components:n}})}}function hv(n,e){var o=[],r=[];return bn(n,function(n,t){e(n,t)?(0<r.length&&o.push(r),r=[],Tn(n.dom,"innerHtml")&&r.push(n)):r.push(n)}),0<r.length&&o.push(r),w(o,function(n){return{dom:{tag:"div",classes:["tox-collection__group"]},components:n}})}function vv(t,e,n){return{dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(1===t?["tox-collection--list"]:["tox-collection--grid"])},components:[Ig.parts().items({preprocess:function(n){return"auto"!==t&&1<t?pv({tag:"div",classes:["tox-collection__group"]},t)(n):hv(n,function(n,t){return"separator"===e[t].type})}})]}}function bv(n){return{backgroundMenu:"tox-background-menu",selectedMenu:"tox-selected-menu",selectedItem:"tox-collection__item--active",hasIcons:"tox-menu--has-icons",menu:function(n){return"color"===n?"tox-swatches":"tox-menu"}(n),tieredMenu:"tox-tiered-menu"}}function yv(n){var t=bv(n);return{backgroundMenu:t.backgroundMenu,selectedMenu:t.selectedMenu,menu:t.menu,selectedItem:t.selectedItem,item:ap(n)}}function xv(n,t,e){var o=bv(e);return{dom:{tag:"div",classes:z([[o.tieredMenu]])},markers:yv(e)}}function wv(n){return n.icon!==undefined||"togglemenuitem"===n.type||"choicemenuitem"===n.type}function Sv(n){return H.console.error(be(n)),H.console.log(n),on.none()}function Cv(n,t,e,o,r){var i=function(e){return{dom:{tag:"div",classes:["tox-collection","tox-collection--horizontal"]},components:[Ig.parts().items({preprocess:function(n){return hv(n,function(n,t){return"separator"===e[t].type})}})]}}(e);return{value:n,dom:i.dom,components:i.components,items:e}}function kv(n,t,e,o,r){var i;return"color"===r?{value:n,dom:(i=function(n){return{dom:{tag:"div",classes:["tox-menu","tox-swatches-menu"]},components:[{dom:{tag:"div",classes:["tox-swatches"]},components:[Ig.parts().items({preprocess:"auto"!==n?pv({tag:"div",classes:["tox-swatches__row"]},n):l})]}]}}(o)).dom,components:i.components,items:e}:"normal"===r&&"auto"===o?{value:n,dom:(i=vv(o,e)).dom,components:i.components,items:e}:"normal"===r&&1===o?{value:n,dom:(i=vv(1,e)).dom,components:i.components,items:e}:"normal"===r?{value:n,dom:(i=vv(o,e)).dom,components:i.components,items:e}:"listpreview"!==r||"auto"===o?{value:n,dom:function(n,t,e){var o=bv(e);return{tag:"div",classes:z([[o.menu,"tox-menu-"+t+"-column"],n?[o.hasIcons]:[]])}}(t,o,r),components:jv,items:e}:{value:n,dom:(i=function(n){return{dom:{tag:"div",classes:["tox-menu","tox-collection","tox-collection--toolbar","tox-collection--toolbar-lg"]},components:[Ig.parts().items({preprocess:pv({tag:"div",classes:["tox-collection__group"]},n)})]}}(o)).dom,components:i.components,items:e}}function Ov(n,t,e,o,r,i,u,a){var c=function(n){return y(n,wv)}(t),s=Uv(t,e,o,"color"!==r?"normal":"color",i,u,a);return kv(n,c,s,o,r)}function Tv(n,t){var e=yv(t);return 1===n?{mode:"menu",moveOnTab:!0}:"auto"===n?{mode:"grid",selector:"."+e.item,initSize:{numColumns:1,numRows:1}}:{mode:"matrix",rowSelector:"."+("color"===t?"tox-swatches__row":"tox-collection__group")}}var Ev="choiceitem",Bv=[{type:Ev,text:"Light Green",value:"#BFEDD2"},{type:Ev,text:"Light Yellow",value:"#FBEEB8"},{type:Ev,text:"Light Red",value:"#F8CAC6"},{type:Ev,text:"Light Purple",value:"#ECCAFA"},{type:Ev,text:"Light Blue",value:"#C2E0F4"},{type:Ev,text:"Green",value:"#2DC26B"},{type:Ev,text:"Yellow",value:"#F1C40F"},{type:Ev,text:"Red",value:"#E03E2D"},{type:Ev,text:"Purple",value:"#B96AD9"},{type:Ev,text:"Blue",value:"#3598DB"},{type:Ev,text:"Dark Turquoise",value:"#169179"},{type:Ev,text:"Orange",value:"#E67E23"},{type:Ev,text:"Dark Red",value:"#BA372A"},{type:Ev,text:"Dark Purple",value:"#843FA1"},{type:Ev,text:"Dark Blue",value:"#236FA1"},{type:Ev,text:"Light Gray",value:"#ECF0F1"},{type:Ev,text:"Medium Gray",value:"#CED4D9"},{type:Ev,text:"Gray",value:"#95A5A6"},{type:Ev,text:"Dark Gray",value:"#7E8C8D"},{type:Ev,text:"Navy Blue",value:"#34495E"},{type:Ev,text:"Black",value:"#000000"},{type:Ev,text:"White",value:"#ffffff"}],Dv=function GF(t){void 0===t&&(t=10);var n,e=ev.getItem(ov),o=cn(e)?JSON.parse(e):[],r=t-(n=o).length<0?n.slice(0,t):n,i=function(n){r.splice(n,1)};return{add:function(n){(function(n,t){var e=b(n,t);return-1===e?on.none():on.some(e)})(r,n).each(i),r.unshift(n),r.length>t&&r.pop(),ev.setItem(ov,JSON.stringify(r))},state:function(){return r.slice(0)}}}(10),_v=function(n,t){return n.getParam("color_cols",t,"number")},Av=function(n){return!1!==n.getParam("custom_colors")},Mv=function(n){var t=iv(n);return t!==undefined?rv(t):Bv},Fv=function(){return w(Dv.state(),function(n){return{type:Ev,text:n,value:n}})},Iv=function(n){Dv.add(n)},Rv=function(n){return n.fire("SkinLoaded")},Vv=function(n){return n.fire("ResizeEditor")},Nv=function(n,t){return n.fire("ScrollContent",t)},Hv=function(n,t){return n.fire("ResizeContent",t)},Pv=function(n,t){return n.fire("TextColorChange",t)},zv=function(i){return function(n,t){var e,o={colorpicker:t},r=(e=n,function(n){var t=n.getData();e(on.from(t.colorpicker)),n.close()});i.windowManager.open({title:"Color Picker",size:"normal",body:{type:"panel",items:[{type:"colorpicker",name:"colorpicker",label:"Color"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:o,onAction:function(n,t){"hex-valid"===t.name&&(t.value?n.enable("ok"):n.disable("ok"))},onSubmit:r,onClose:function(){},onCancel:function(){n(on.none())}})}},Lv={register:function(n){!function(e){e.addCommand("mceApplyTextcolor",function(n,t){!function(n,t,e){n.undoManager.transact(function(){n.focus(),n.formatter.apply(t,{value:e}),n.nodeChanged()})}(e,n,t)}),e.addCommand("mceRemoveTextcolor",function(n){!function(n,t){n.undoManager.transact(function(){n.focus(),n.formatter.remove(t,{value:null},null,!0),n.nodeChanged()})}(e,n)})}(n);var t=Te(null),e=Te(null);mv(n,"forecolor","forecolor","Text color",t),mv(n,"backcolor","hilitecolor","Background color",e),gv(n,"forecolor","forecolor","Text color"),gv(n,"backcolor","hilitecolor","Background color")},getColors:fv,getFetch:lv,colorPickerDialog:zv,getCurrentColor:uv,getColorCols:cv,calcCols:av},jv=[Ig.parts().items({})],Uv=function(n,e,o,r,i,u,a){return Eu(w(n,function(t){return"choiceitem"===t.type?function(n){return tt("choicemenuitem",Xp,n)}(t).fold(Sv,function(n){return on.some(function(t,n,e,o,r,i,u){var a=gp({presets:e,textContent:n?t.text:on.none(),htmlContent:on.none(),ariaLabel:t.text,iconContent:t.icon,shortcutContent:n?t.shortcut:on.none(),checkMark:n?on.some(dp(u.icons)):on.none(),caret:on.none(),value:t.value},u,!0);return Dn(Eh({data:Bh(t),disabled:t.disabled,getApi:function(t){return{setActive:function(n){wg.set(t,n)},isActive:function(){return wg.isOn(t)},isDisabled:function(){return wh.isDisabled(t)},setDisabled:function(n){return wh.set(t,n)}}},onAction:function(n){return o(t.value)},onSetup:function(n){return n.setActive(r),function(){}},triggersSubmenu:!1,itemBehaviours:[]},a,i),{toggling:{toggleClass:ah,toggleOnExecute:!1,selected:t.active}})}(n,1===o,r,e,u(t.value),i,a))}):on.none()}))};var Wv,Gv,Xv={inserttable:function XF(o){var n=Vr("size-label"),i=function(n,t,e){for(var o=[],r=0;r<t;r++){for(var i=[],u=0;u<e;u++)i.push(_h(r,u,n));o.push(i)}return o}(n,10,10),u=pm({dom:{tag:"span",classes:["tox-insert-table-picker__label"],attributes:{id:n}},components:[ki("0x0")],behaviours:va([lg.config({})])});return{type:"widget",data:{value:Vr("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[Ih().widget({dom:{tag:"div",classes:["tox-insert-table-picker"]},components:function(n){return E(n,function(n){return w(n,uu)})}(i).concat(u.asSpec()),behaviours:va([qd("insert-table-picker",[ar(Rh,function(n,t,e){var o=e.event().row(),r=e.event().col();!function(n,t,e,o,r){for(var i=0;i<o;i++)for(var u=0;u<r;u++)wg.set(n[i][u],i<=t&&u<=e)}(i,o,r,10,10),lg.set(u.get(n),[function(n,t){return ki(t+1+"x"+(n+1))}(o,r)])}),ar(Vh,function(n,t,e){o.onAction({numRows:e.event().row()+1,numColumns:e.event().col()+1}),Xt(n,Do())})]),sg.config({initSize:{numRows:10,numColumns:10},mode:"flatgrid",selector:'[role="button"]'})])})]}},colorswatch:function YF(t,n){var e=Lv.getColors(n.colorinput.getColors(),n.colorinput.hasCustomColors()),o=n.colorinput.getColorCols(),r=Ov(Vr("menu-value"),e,function(n){t.onAction({value:n})},o,"color",Ah.CLOSE_ON_EXECUTE,function(){return!1},n.shared.providers),i=Dn(P(P({},r),{markers:yv("color"),movement:Tv(o,"color")}));return{type:"widget",data:{value:Vr("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[Ih().widget(Ig.sketch(i))]}}},Yv=function(t,e,n,o,r,i,u,a){void 0===a&&(a=!0);var c=gp({presets:o,textContent:on.none(),htmlContent:n?t.text.map(function(n){return Dh(n,e)}):on.none(),ariaLabel:t.text,iconContent:t.icon,shortcutContent:on.none(),checkMark:on.none(),caret:on.none(),value:t.value},u.providers,a,t.icon);return Eh({data:Bh(t),disabled:t.disabled,getApi:function(){return{}},onAction:function(n){return r(t.value,t.meta)},onSetup:function(){return function(){}},triggersSubmenu:!1,itemBehaviours:function(n,t){return R(n,"tooltipWorker").map(function(e){return[th.config({lazySink:t.getSink,tooltipDom:{tag:"div",classes:["tox-tooltip-worker-container"]},tooltipComponents:[],anchor:function(n){return{anchor:"submenu",item:n,overrides:{maxHeightFunction:Sf}}},mode:"follow-highlight",onShow:function(t,n){e(function(n){th.setComponents(t,[ou({element:Be.fromDom(n)})])})}})]}).getOr([])}(t.meta,u)},c,i)},qv=function(n){var t=n.text.fold(function(){return{}},function(n){return{innerHtml:n}});return{type:"separator",dom:P({tag:"div",classes:[rh,"tox-collection__group-heading"]},t),components:[]}},Kv=function(n,t,e,o){void 0===o&&(o=!0);var r=gp({presets:"normal",iconContent:n.icon,textContent:n.text,htmlContent:on.none(),ariaLabel:n.text,caret:on.none(),checkMark:on.none(),shortcutContent:n.shortcut},e,o);return Eh({data:Bh(n),getApi:function(t){return{isDisabled:function(){return wh.isDisabled(t)},setDisabled:function(n){return wh.set(t,n)}}},disabled:n.disabled,onAction:n.onAction,onSetup:n.onSetup,triggersSubmenu:!1,itemBehaviours:[]},r,t)},Jv=function(n,t,e,o,r){void 0===o&&(o=!0),void 0===r&&(r=!1);var i=r?function(n){return{dom:{tag:"div",classes:[fh],innerHtml:vm("chevron-down",n)}}}(e.icons):function(n){return{dom:{tag:"div",classes:[fh],innerHtml:vm("chevron-right",n)}}}(e.icons),u=gp({presets:"normal",iconContent:n.icon,textContent:n.text,htmlContent:on.none(),ariaLabel:n.text,caret:on.some(i),checkMark:on.none(),shortcutContent:n.shortcut},e,o);return Eh({data:Bh(n),getApi:function(t){return{isDisabled:function(){return wh.isDisabled(t)},setDisabled:function(n){return wh.set(t,n)}}},disabled:n.disabled,onAction:Z,onSetup:n.onSetup,triggersSubmenu:!0,itemBehaviours:[]},u,t)},$v=function(n,t,e){var o=gp({iconContent:on.none(),textContent:n.text,htmlContent:on.none(),ariaLabel:n.text,checkMark:on.some(dp(e.icons)),caret:on.none(),shortcutContent:n.shortcut,presets:"normal",meta:n.meta},e,!0);return Dn(Eh({data:Bh(n),disabled:n.disabled,getApi:function(t){return{setActive:function(n){wg.set(t,n)},isActive:function(){return wg.isOn(t)},isDisabled:function(){return wh.isDisabled(t)},setDisabled:function(n){return wh.set(t,n)}}},onAction:n.onAction,onSetup:n.onSetup,triggersSubmenu:!1,itemBehaviours:[]},o,t),{toggling:{toggleClass:ah,toggleOnExecute:!1,selected:n.active}})},Qv=function(t,e){return function(n,t){return Object.prototype.hasOwnProperty.call(n,t)?on.some(n[t]):on.none()}(Xv,t.fancytype).map(function(n){return n(t,e)})};(Gv=Wv=Wv||{})[Gv.ContentFocus=0]="ContentFocus",Gv[Gv.UiFocus=1]="UiFocus";function Zv(n){return n.icon!==undefined||"togglemenuitem"===n.type||"choicemenuitem"===n.type}function nb(n){return y(n,Zv)}function tb(n,t,e,o,r){function i(n){return r?P(P({},n),{shortcut:on.none(),icon:n.text.isSome()?on.none():n.icon}):n}var u=e.shared.providers;switch(n.type){case"menuitem":return function(n){return tt("menuitem",Up,n)}(n).fold(Sv,function(n){return on.some(Kv(i(n),t,u,o))});case"nestedmenuitem":return function(n){return tt("nestedmenuitem",Wp,n)}(n).fold(Sv,function(n){return on.some(Jv(i(n),t,u,o,r))});case"togglemenuitem":return function(n){return tt("togglemenuitem",Gp,n)}(n).fold(Sv,function(n){return on.some($v(i(n),t,u))});case"separator":return function(n){return tt("separatormenuitem",Pp,n)}(n).fold(Sv,function(n){return on.some(qv(n))});case"fancymenuitem":return function(n){return tt("fancymenuitem",Yp,n)}(n).fold(Sv,function(n){return Qv(i(n),e)});default:return H.console.error("Unknown item in general menu",n),on.none()}}function eb(n,t,e,o,r,i){var u=1===o,a=!u||nb(n);return Eu(w(n,function(n){return"separator"===n.type?function(n){return tt("Autocompleter.Separator",Pp,n)}(n).fold(Sv,function(n){return on.some(qv(n))}):function(n){return tt("Autocompleter.Item",zp,n)}(n).fold(Sv,function(n){return on.some(Yv(n,t,u,"normal",e,r,i,a))})}))}function ob(n,t,e,o,r){var i=nb(t),u=Eu(w(t,function(n){function t(n){return tb(n,e,o,function(n){return r?!n.hasOwnProperty("text"):i}(n),r)}return"nestedmenuitem"===n.type&&n.getSubmenuItems().length<=0?t(_n(n,{disabled:!0})):t(n)}));return(r?Cv:kv)(n,i,u,1,"normal")}function rb(n){return Pg.singleData(n.value,n)}function ib(n){function t(){n.stopPropagation()}function e(){n.preventDefault()}var o=Be.fromDom(n.target),r=i(e,t);return function(n,t,e,o,r,i,u){return{target:nn(n),x:nn(t),y:nn(e),stop:o,prevent:r,kill:i,raw:nn(u)}}(o,n.clientX,n.clientY,t,e,r,n)}function ub(n,t,e,o,r){var i=function(t,e){return function(n){t(n)&&e(ib(n))}}(e,o);return n.dom().addEventListener(t,i,r),{unbind:d(lb,n,t,i,r)}}function ab(n,t,e){return function(n,t,e,o){return ub(n,t,e,o,!1)}(n,t,db,e)}function cb(n,t,e){return function(n,t,e,o){return ub(n,t,e,o,!0)}(n,t,db,e)}function sb(n,t,e){return ku(n,t,e).isSome()}var fb=function(u,a){function e(){return s.get().isSome()}function c(){e()&&zg.hide(l)}function i(n,t,e,o){n.matchLength=t.text.length;var r=Bu(e,function(n){return on.from(n.columns)}).getOr(1);zg.showAt(l,{anchor:"node",root:Be.fromDom(u.getBody()),node:on.from(n.element)},Ig.sketch(function(n,t,e,o){var r=e===Wv.ContentFocus?Gl():Wl(),i=Tv(t,o),u=yv(o);return{dom:n.dom,components:n.components,items:n.items,value:n.value,markers:{selectedItem:u.selectedItem,item:u.item},movement:i,fakeFocus:e===Wv.ContentFocus,focusManager:r,menuBehaviours:qp("auto"!==t?[]:[Fi(function(o,n){op(o,4,u.item).each(function(n){var t=n.numColumns,e=n.numRows;sg.setGridSize(o,e,t)})})])}}(kv("autocompleter-value",!0,o,r,"normal"),r,Wv.ContentFocus,"normal"))),zg.getContent(l).each(ud.highlightFirst)}var s=Te(on.none()),f=Te(!1),l=iu(zg.sketch({dom:{tag:"div",classes:["tox-autocompleter"]},components:[],fireDismissalEventInstead:{},inlineBehaviours:va([qd("dismissAutocompleter",[or(Ho(),function(){return d()})])]),lazySink:a.getSink})),d=function(){if(e()){var n=s.get().map(function(n){return n.element});Mp(n.getOr(Be.fromDom(u.selection.getNode()))).each(Or),c(),s.set(on.none()),f.set(!1)}},o=N(function(){return ep(u)}),m=function(n){(function(t){return s.get().map(function(n){return Zg(u.dom,u.selection.getRng(),n.triggerChar).bind(function(n){return Hp(u,o,n,t)})}).getOrThunk(function(){return tp(u,o)})})(n).fold(d,function(r){!function(n){if(!e()){var t=Jg(u,n.range);s.set(on.some({triggerChar:n.triggerChar,element:t,matchLength:n.text.length})),f.set(!1)}}(r.context),r.lookupData.then(function(o){s.get().map(function(n){var t=r.context;if(n.triggerChar===t.triggerChar){var e=function(t,n){var e=Bu(n,function(n){return on.from(n.columns)}).getOr(1);return E(n,function(i){var n=i.items;return eb(n,i.matchText,function(o,r){var n=u.selection.getRng();Zg(u.dom,n,t).fold(function(){return H.console.error("Lost context. Cursor probably moved")},function(n){var t=n.range,e={hide:function(){d()},reload:function(n){c(),m(n)}};f.set(!0),i.onAction(e,t,o,r),f.set(!1)})},e,Ah.BUBBLE_TO_SANDBOX,a)})}(t.triggerChar,o);0<e.length?i(n,t,o,e):10<=t.text.length-n.matchLength?d():c()}})})})},n={onKeypress:qg(function(n){27!==n.which&&m()},50),cancelIfNecessary:d,isMenuOpen:function(){return zg.isOpen(l)},isActive:e,isProcessingAction:f.get,getView:function(){return zg.getContent(l)}};Ip(n,u)},lb=function(n,t,e,o){n.dom().removeEventListener(t,e,o)},db=nn(!0),mb=ib;function gb(e,o){var r=null;return{cancel:function(){null!==r&&(H.clearTimeout(r),r=null)},schedule:function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];r=H.setTimeout(function(){e.apply(null,n),r=null},o)}}}function pb(n){var t=n.raw();return t.touches===undefined||1!==t.touches.length?on.none():on.some(t.touches[0])}function hb(e){var o=Te(on.none()),r=Te(!1),i=gb(function(n){e.triggerEvent(Bo(),n),r.set(!0)},400),u=K([{key:to(),value:function(e){return pb(e).each(function(n){i.cancel();var t={x:nn(n.clientX),y:nn(n.clientY),target:e.target};i.schedule(e),r.set(!1),o.set(on.some(t))}),on.none()}},{key:eo(),value:function(n){return i.cancel(),pb(n).each(function(t){o.get().each(function(n){!function(n,t){var e=Math.abs(n.clientX-t.x()),o=Math.abs(n.clientY-t.y());return 5<e||5<o}(t,n)||o.set(on.none())})}),on.none()}},{key:oo(),value:function(t){i.cancel();return o.get().filter(function(n){return jt(n.target(),t.target())}).map(function(n){return r.get()?(t.prevent(),!1):e.triggerEvent(To(),t)})}}]);return{fireIfReady:function(t,n){return Nn(u,n).bind(function(n){return n(t)})}}}function vb(t,n){var e=ot("Getting GUI events settings",Sb,n),o=Ht().deviceType.isTouch()?["touchstart","touchmove","touchend","gesturestart"]:["mousedown","mouseup","mouseover","mousemove","mouseout","click"],r=hb(e),i=w(o.concat(["selectstart","input","contextmenu","change","transitionend","drag","dragstart","dragend","dragenter","dragleave","dragover","drop","keyup"]),function(n){return ab(t,n,function(t){r.fireIfReady(t,n).each(function(n){n&&t.kill()}),e.triggerEvent(n,t)&&t.kill()})}),u=Te(on.none()),a=ab(t,"paste",function(t){r.fireIfReady(t,"paste").each(function(n){n&&t.kill()}),e.triggerEvent("paste",t)&&t.kill(),u.set(on.some(H.setTimeout(function(){e.triggerEvent(So(),t)},0)))}),c=ab(t,"keydown",function(n){e.triggerEvent("keydown",n)?n.kill():!0===e.stopBackspace&&function(n){return 8===n.raw().which&&!vn(["input","textarea"],qo(n.target()))&&!sb(n.target(),'[contenteditable="true"]')}(n)&&n.prevent()}),s=function(n,t){return wb?cb(n,"focus",t):ab(n,"focusin",t)}(t,function(n){e.triggerEvent("focusin",n)&&n.kill()}),f=Te(on.none()),l=function(n,t){return wb?cb(n,"blur",t):ab(n,"focusout",t)}(t,function(n){e.triggerEvent("focusout",n)&&n.kill(),f.set(on.some(H.setTimeout(function(){e.triggerEvent(wo(),n)},0)))});return{unbind:function(){bn(i,function(n){n.unbind()}),c.unbind(),s.unbind(),l.unbind(),a.unbind(),u.get().each(H.clearTimeout),f.get().each(H.clearTimeout)}}}function bb(n,t){var e=Nn(n,"target").map(function(n){return n()}).getOr(t);return Te(e)}function yb(n,o,t,e,r,i){var u=n(o,e),a=function(n,t){var e=Te(!1),o=Te(!1);return{stop:function(){e.set(!0)},cut:function(){o.set(!0)},isStopped:e.get,isCut:o.get,event:nn(n),setSource:t.set,getSource:t.get}}(t,r);return u.fold(function(){return i.logEventNoHandlers(o,e),Cb.complete()},function(t){var e=t.descHandler();return Wr(e)(a),a.isStopped()?(i.logEventStopped(o,t.element(),e.purpose()),Cb.stopped()):a.isCut()?(i.logEventCut(o,t.element(),e.purpose()),Cb.complete()):hr(t.element()).fold(function(){return i.logNoParent(o,t.element(),e.purpose()),Cb.complete()},function(n){return i.logEventResponse(o,t.element(),e.purpose()),Cb.resume(n)})})}function xb(n,t,e){var o=function(n){var t=Te(!1);return{stop:function(){t.set(!0)},cut:Z,isStopped:t.get,isCut:nn(!1),event:nn(n),setSource:r("Cannot set source of a broadcasted event"),getSource:r("Cannot get source of a broadcasted event")}}(t);return bn(n,function(n){var t=n.descHandler();Wr(t)(o)}),o.isStopped()}var wb=Ht().browser.isFirefox(),Sb=qn([dt("triggerEvent"),St("stopBackspace",!0)]),Cb=En([{stopped:[]},{resume:["element"]},{complete:[]}]),kb=function(t,e,o,n,r,i){return yb(t,e,o,n,r,i).fold(function(){return!0},function(n){return kb(t,e,o,n,r,i)},function(){return!1})},Ob=function(n,t,e,o,r){var i=bb(e,o);return kb(n,t,e,o,i,r)},Tb=fr("element","descHandler"),Eb=function(n,t){return{id:nn(n),descHandler:nn(t)}};function Bb(){var i={};return{registerId:function(o,r,n){Cn(n,function(n,t){var e=i[t]!==undefined?i[t]:{};e[r]=nu(n,o),i[t]=e})},unregisterId:function(e){Cn(i,function(n,t){n.hasOwnProperty(e)&&delete n[e]})},filterByType:function(n){return Nn(i,n).map(function(n){return On(n,function(n,t){return Eb(t,n)})}).getOr([])},find:function(n,t,e){var o=Vn(t)(i);return Mi(e,function(n){return function(e,o){return Yi(o).fold(function(){return on.none()},function(n){var t=Vn(n);return e.bind(t).map(function(n){return Tb(o,n)})})}(o,n)},n)}}}function Db(){function o(n){var t=n.element();return Yi(t).fold(function(){return function(n,t){var e=Vr(Wi+n);return Xi(t,e),e}("uid-",n.element())},function(n){return n})}var r=Bb(),i={},u=function(n){Yi(n.element()).each(function(n){delete i[n],r.unregisterId(n)})};return{find:function(n,t,e){return r.find(n,t,e)},filter:function(n){return r.filterByType(n)},register:function(n){var t=o(n);$(i,t)&&function(n,t){var e=i[t];if(e!==n)throw new Error('The tagId "'+t+'" is already used by: '+Rr(e.element())+"\nCannot use it for: "+Rr(n.element())+"\nThe conflicting element is"+(Jo(e.element())?" ":" not ")+"already in the DOM");u(n)}(n,t);var e=[n];r.registerId(e,t,n.events()),i[t]=n},unregister:u,getById:function(n){return Vn(n)(i)}}}function _b(e){function o(t){return hr(e.element()).fold(function(){return!0},function(n){return jt(t,n)})}function r(n,t){return u.find(o,n,t)}function i(e){var n=u.filter(Co());bn(n,function(n){var t=n.descHandler();Wr(t)(e)})}var u=Db(),n=vb(e.element(),{triggerEvent:function(t,e){return Uu(t,e.target(),function(n){return function(n,t,e,o){var r=e.target();return Ob(n,t,e,r,o)}(r,t,e,n)})}}),a={debugInfo:nn("real"),triggerEvent:function(t,e,o){Uu(t,e,function(n){Ob(r,t,o,e,n)})},triggerFocus:function(t,e){Yi(t).fold(function(){xa(t)},function(n){Uu(xo(),t,function(n){!function(n,t,e,o,r){var i=bb(e,o);yb(n,t,e,o,i,r)}(r,xo(),{originator:nn(e),kill:Z,prevent:Z,target:nn(t)},t,n)})})},triggerEscape:function(n,t){a.triggerEvent("keydown",n.element(),t.event())},getByUid:function(n){return g(n)},getByDom:function(n){return p(n)},build:iu,addToGui:function(n){s(n)},removeFromGui:function(n){f(n)},addToWorld:function(n){t(n)},removeFromWorld:function(n){c(n)},broadcast:function(n){l(n)},broadcastOn:function(n,t){d(n,t)},broadcastEvent:function(n,t){m(n,t)},isConnected:nn(!0)},t=function(n){n.connect(a),Di(n.element())||(u.register(n),bn(n.components(),t),a.triggerEvent(Ao(),n.element(),{target:nn(n.element())}))},c=function(n){Di(n.element())||(bn(n.components(),c),u.unregister(n)),n.disconnect()},s=function(n){ps(e,n)},f=function(n){vs(n)},l=function(n){i({universal:nn(!0),data:nn(n)})},d=function(n,t){i({universal:nn(!1),channels:nn(n),data:nn(t)})},m=function(n,t){var e=u.filter(n);return xb(e,t)},g=function(n){return u.getById(n).fold(function(){return an.error(new Error('Could not find component with uid: "'+n+'" in system.'))},an.value)},p=function(n){var t=Yi(n).getOr("not found");return g(t)};return t(e),{root:nn(e),element:e.element,destroy:function(){n.unbind(),Hi(e.element())},add:s,remove:f,getByUid:g,getByDom:p,addToWorld:t,removeFromWorld:c,broadcast:l,broadcastOn:d,broadcastEvent:m}}function Ab(n){return on.from(n.settings.min_width).filter(mn)}function Mb(n){return on.from(n.settings.min_height).filter(mn)}function Fb(n){return!1!==n.getParam("menubar",!0,"boolean")}function Ib(n){var t=n.getParam("toolbar",!0),e=!0===t,o=cn(t),r=fn(t)&&0<t.length;return!zb(n)&&(r||o||e)}function Rb(t){var n=wn(t.settings),e=S(n,function(n){return/^toolbar([1-9])$/.test(n)}),o=w(e,function(n){return t.getParam(n,!1,"string")}),r=S(o,function(n){return"string"==typeof n});return 0<r.length?on.some(r):on.none()}var Vb,Nb,Hb=Bl({name:"Container",factory:function(n){var t=n.dom,e=t.attributes,o=c(t,["attributes"]);return{uid:n.uid,dom:P({tag:"div",attributes:P({role:"presentation"},e)},o),components:n.components,behaviours:Fs(n.containerBehaviours),events:n.events,domModification:n.domModification,eventOrder:n.eventOrder}},configFields:[St("components",[]),Ms("containerBehaviours",[]),St("events",{}),St("domModification",{}),St("eventOrder",{})]}),Pb=tinymce.util.Tools.resolve("tinymce.EditorManager"),zb=function(n){return Rb(n).fold(function(){return 0<n.getParam("toolbar",[],"string[]").length},function(){return!0})};(Nb=Vb=Vb||{})["default"]="",Nb.floating="floating",Nb.sliding="sliding";function Lb(n){return n.getParam("toolbar_drawer","","string")}function jb(n){var t=function(n){return n.getParam("fixed_toolbar_container","","string")}(n);return 0<t.length&&n.inline?Cu(_i(),t):on.none()}function Ub(n){return n.inline&&jb(n).isSome()}function Wb(n){return n.inline&&!Fb(n)&&!Ib(n)&&!zb(n)}function Gb(n){return(n.getParam("toolbar_sticky",!1,"boolean")||n.inline)&&!Ub(n)&&!Wb(n)}function Xb(n){return va([pg.config({onFocus:!1===n.selectOnFocus?Z:function(n){var t=n.element(),e=hi(t);t.dom().setSelectionRange(0,e.length)}})])}function Yb(n){return{tag:n.tag,attributes:P({type:"text"},n.inputAttributes),styles:n.inputStyles,classes:n.inputClasses}}var qb,Kb,Jb,$b,Qb=Vr("form-component-change"),Zb=Vr("form-close"),ny=Vr("form-cancel"),ty=Vr("form-action"),ey=Vr("form-submit"),oy=Vr("form-block"),ry=Vr("form-unblock"),iy=Vr("form-tabchange"),uy=Vr("form-resize"),ay=nn([St("prefix","form-field"),Ms("fieldBehaviours",[Ql,Qf])]),cy=nn([wl({schema:[ct("dom")],name:"label"}),wl({factory:{sketch:function(n){return{uid:n.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:n.text}}}},schema:[ct("text")],name:"aria-descriptor"}),yl({factory:{sketch:function(n){var t=X(n,["factory"]);return n.factory.sketch(t)}},schema:[ct("factory")],name:"field"})]),sy=Dl({name:"FormField",configFields:ay(),partFields:cy(),factory:function(r,n,t,e){var o=Is(r.fieldBehaviours,[Ql.config({find:function(n){return Ys(n,r,"field")}}),Qf.config({store:{mode:"manual",getValue:function(n){return Ql.getCurrent(n).bind(Qf.getValue)},setValue:function(n,t){Ql.getCurrent(n).each(function(n){Qf.setValue(n,t)})}}})]),i=nr([Fi(function(n,t){var o=Ks(n,r,["label","field","aria-descriptor"]);o.field().each(function(e){var t=Vr(r.prefix);o.label().each(function(n){Dr(n.element(),"for",t),Dr(e.element(),"id",t)}),o["aria-descriptor"]().each(function(n){var t=Vr(r.prefix);Dr(n.element(),"id",t),Dr(e.element(),"aria-describedby",t)})})})]),u={getField:function(n){return Ys(n,r,"field")},getLabel:function(n){return Ys(n,r,"label")}};return{uid:r.uid,dom:r.dom,components:n,behaviours:o,events:i,apis:u}},apis:{getField:function(n,t){return n.getField(t)},getLabel:function(n,t){return n.getLabel(t)}}}),fy=nn([ht("data"),St("inputAttributes",{}),St("inputStyles",{}),St("tag","input"),St("inputClasses",[]),Yu("onSetValue"),St("styles",{}),St("eventOrder",{}),Ms("inputBehaviours",[Qf,pg]),St("selectOnFocus",!0)]),ly=Bl({name:"Input",configFields:fy(),factory:function(n,t){return{uid:n.uid,dom:Yb(n),components:[],behaviours:function(n){return P(P({},Xb(n)),Is(n.inputBehaviours,[Qf.config({store:{mode:"manual",initialValue:n.data.getOr(undefined),getValue:function(n){return hi(n.element())},setValue:function(n,t){hi(n.element())!==t&&vi(n.element(),t)}},onSetValue:n.onSetValue})]))}(n),eventOrder:n.eventOrder}}}),dy={},my={exports:dy};qb=undefined,Kb=dy,Jb=my,$b=undefined,function(n){"object"==typeof Kb&&void 0!==Jb?Jb.exports=n():"function"==typeof qb&&qb.amd?qb([],n):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).EphoxContactWrapper=n()}(function(){return function f(i,u,a){function c(t,n){if(!u[t]){if(!i[t]){var e="function"==typeof $b&&$b;if(!n&&e)return e(t,!0);if(s)return s(t,!0);var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}var r=u[t]={exports:{}};i[t][0].call(r.exports,function(n){return c(i[t][1][n]||n)},r,r.exports,f,i,u,a)}return u[t].exports}for(var s="function"==typeof $b&&$b,n=0;n<a.length;n++)c(a[n]);return c}({1:[function(n,t,e){var o,r,i=t.exports={};function u(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function c(n){if(o===setTimeout)return setTimeout(n,0);if((o===u||!o)&&setTimeout)return o=setTimeout,setTimeout(n,0);try{return o(n,0)}catch(t){try{return o.call(null,n,0)}catch(t){return o.call(this,n,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:u}catch(n){o=u}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(n){r=a}}();var s,f=[],l=!1,d=-1;function m(){l&&s&&(l=!1,s.length?f=s.concat(f):d=-1,f.length&&g())}function g(){if(!l){var n=c(m);l=!0;for(var t=f.length;t;){for(s=f,f=[];++d<t;)s&&s[d].run();d=-1,t=f.length}s=null,l=!1,function e(n){if(r===clearTimeout)return clearTimeout(n);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(n);try{return r(n)}catch(t){try{return r.call(null,n)}catch(t){return r.call(this,n)}}}(n)}}function p(n,t){this.fun=n,this.array=t}function h(){}i.nextTick=function(n){var t=new Array(arguments.length-1);if(1<arguments.length)for(var e=1;e<arguments.length;e++)t[e-1]=arguments[e];f.push(new p(n,t)),1!==f.length||l||c(g)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=h,i.addListener=h,i.once=h,i.off=h,i.removeListener=h,i.removeAllListeners=h,i.emit=h,i.prependListener=h,i.prependOnceListener=h,i.listeners=function(n){return[]},i.binding=function(n){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(n){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},{}],2:[function(n,l,t){(function(t){function o(){}function i(n){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof n)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],f(n,this)}function r(o,r){for(;3===o._state;)o=o._value;0!==o._state?(o._handled=!0,i._immediateFn(function(){var n=1===o._state?r.onFulfilled:r.onRejected;if(null!==n){var t;try{t=n(o._value)}catch(e){return void a(r.promise,e)}u(r.promise,t)}else(1===o._state?u:a)(r.promise,o._value)})):o._deferreds.push(r)}function u(n,t){try{if(t===n)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var e=t.then;if(t instanceof i)return n._state=3,n._value=t,void c(n);if("function"==typeof e)return void f(function o(n,t){return function(){n.apply(t,arguments)}}(e,t),n)}n._state=1,n._value=t,c(n)}catch(r){a(n,r)}}function a(n,t){n._state=2,n._value=t,c(n)}function c(n){2===n._state&&0===n._deferreds.length&&i._immediateFn(function(){n._handled||i._unhandledRejectionFn(n._value)});for(var t=0,e=n._deferreds.length;t<e;t++)r(n,n._deferreds[t]);n._deferreds=null}function s(n,t,e){this.onFulfilled="function"==typeof n?n:null,this.onRejected="function"==typeof t?t:null,this.promise=e}function f(n,t){var e=!1;try{n(function(n){e||(e=!0,u(t,n))},function(n){e||(e=!0,a(t,n))})}catch(o){if(e)return;e=!0,a(t,o)}}var n,e;n=this,e=setTimeout,i.prototype["catch"]=function(n){return this.then(null,n)},i.prototype.then=function(n,t){var e=new this.constructor(o);return r(this,new s(n,t,e)),e},i.all=function(n){var c=Array.prototype.slice.call(n);return new i(function(r,i){if(0===c.length)return r([]);var u=c.length;function a(t,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var e=n.then;if("function"==typeof e)return void e.call(n,function(n){a(t,n)},i)}c[t]=n,0==--u&&r(c)}catch(o){i(o)}}for(var n=0;n<c.length;n++)a(n,c[n])})},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i(function(n){n(t)})},i.reject=function(e){return new i(function(n,t){t(e)})},i.race=function(r){return new i(function(n,t){for(var e=0,o=r.length;e<o;e++)r[e].then(n,t)})},i._immediateFn="function"==typeof t?function(n){t(n)}:function(n){e(n,0)},i._unhandledRejectionFn=function(n){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",n)},i._setImmediateFn=function(n){i._immediateFn=n},i._setUnhandledRejectionFn=function(n){i._unhandledRejectionFn=n},void 0!==l&&l.exports?l.exports=i:n.Promise||(n.Promise=i)}).call(this,n("timers").setImmediate)},{timers:3}],3:[function(c,n,s){(function(n,t){var o=c("process/browser.js").nextTick,e=Function.prototype.apply,r=Array.prototype.slice,i={},u=0;function a(n,t){this._id=n,this._clearFn=t}s.setTimeout=function(){return new a(e.call(setTimeout,window,arguments),clearTimeout)},s.setInterval=function(){return new a(e.call(setInterval,window,arguments),clearInterval)},s.clearTimeout=s.clearInterval=function(n){n.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},s.enroll=function(n,t){clearTimeout(n._idleTimeoutId),n._idleTimeout=t},s.unenroll=function(n){clearTimeout(n._idleTimeoutId),n._idleTimeout=-1},s._unrefActive=s.active=function(n){clearTimeout(n._idleTimeoutId);var t=n._idleTimeout;0<=t&&(n._idleTimeoutId=setTimeout(function(){n._onTimeout&&n._onTimeout()},t))},s.setImmediate="function"==typeof n?n:function(n){var t=u++,e=!(arguments.length<2)&&r.call(arguments,1);return i[t]=!0,o(function(){i[t]&&(e?n.apply(null,e):n.call(null),s.clearImmediate(t))}),t},s.clearImmediate="function"==typeof t?t:function(n){delete i[n]}}).call(this,c("timers").setImmediate,c("timers").clearImmediate)},{"process/browser.js":1,timers:3}],4:[function(n,t,e){var o=n("promise-polyfill"),r="undefined"!=typeof window?window:Function("return this;")();t.exports={boltExport:r.Promise||o}},{"promise-polyfill":2}]},{},[4])(4)});function gy(n){H.setTimeout(function(){throw n},0)}function py(n){var t=qo(n);return vn(_y,t)}function hy(n,t){var e=t.getRoot(n).getOr(n.element());ei(e,t.invalidClass),t.notify.each(function(t){py(n.element())&&Dr(n.element(),"aria-invalid",!1),t.getContainer(n).each(function(n){Er(n,t.validHtml)}),t.onValid(n)})}function vy(t,n,e,o){var r=n.getRoot(t).getOr(t.element());ni(r,n.invalidClass),n.notify.each(function(n){py(t.element())&&Dr(t.element(),"aria-invalid",!0),n.getContainer(t).each(function(n){Er(n,o)}),n.onInvalid(t,o)})}function by(t,n,e){return n.validator.fold(function(){return Dy(an.value(!0))},function(n){return n.validate(t)})}function yy(t,e,n){return e.notify.each(function(n){n.onValidate(t)}),by(t,e).map(function(n){return t.getSystem().isConnected()?n.fold(function(n){return vy(t,e,0,n),an.error(n)},function(n){return hy(t,e),an.value(n)}):an.error("No longer in system")})}function xy(n,t,e,o){var r=Hy(n,t,e,o);return sy.sketch(r)}function wy(n,t){return sy.parts().label({dom:{tag:"label",classes:["tox-label"],innerHtml:t.translate(n)}})}var Sy,Cy,ky=my.exports.boltExport,Oy=function(n){var e=on.none(),t=[],o=function(n){r()?u(n):t.push(n)},r=function(){return e.isSome()},i=function(n){bn(n,u)},u=function(t){e.each(function(n){H.setTimeout(function(){t(n)},0)})};return n(function(n){e=on.some(n),i(t),t=[]}),{get:o,map:function(e){return Oy(function(t){o(function(n){t(e(n))})})},isReady:r}},Ty={nu:Oy,pure:function(t){return Oy(function(n){n(t)})}},Ey=function(e){function n(n){e().then(n,gy)}return{map:function(n){return Ey(function(){return e().then(n)})},bind:function(t){return Ey(function(){return e().then(function(n){return t(n).toPromise()})})},anonBind:function(n){return Ey(function(){return e().then(function(){return n.toPromise()})})},toLazy:function(){return Ty.nu(n)},toCached:function(){var n=null;return Ey(function(){return null===n&&(n=e()),n})},toPromise:e,get:n}},By=function(n){return Ey(function(){return new ky(n)})},Dy=function(n){return Ey(function(){return ky.resolve(n)})},_y=["input","textarea"],Ay=/* */Object.freeze({markValid:hy,markInvalid:vy,query:by,run:yy,isInvalid:function(n,t){var e=t.getRoot(n).getOr(n.element());return oi(e,t.invalidClass)}}),My=/* */Object.freeze({events:function(t,n){return t.validator.map(function(n){return nr([or(n.onEvent,function(n){yy(n,t).get(l)})].concat(n.validateOnLoad?[Fi(function(n){yy(n,t).get(Z)})]:[]))}).getOr({})}}),Fy=[ct("invalidClass"),St("getRoot",on.none),wt("notify",[St("aria","alert"),St("getContainer",on.none),St("validHtml",""),Yu("onValid"),Yu("onInvalid"),Yu("onValidate")]),wt("validator",[ct("validate"),St("onEvent","input"),St("validateOnLoad",!0)])],Iy=ba({fields:Fy,name:"invalidating",active:My,apis:Ay,extra:{validation:function(e){return function(n){var t=Qf.getValue(n);return Dy(e(t))}}}}),Ry=/* */Object.freeze({exhibit:function(n,t){return Ur({attributes:K([{key:t.tabAttr,value:"true"}])})}}),Vy=[St("tabAttr","data-alloy-tabstop")],Ny=ba({fields:Vy,name:"tabstopping",active:Ry}),Hy=function(n,t,e,o){return{dom:Py(e),components:n.toArray().concat([t]),fieldBehaviours:va(o)}},Py=function(n){return{tag:"div",classes:["tox-form__group"].concat(n)}},zy=/* */Object.freeze({getCoupled:function(n,t,e,o){return e.getOrCreate(n,t,o)}}),Ly=[st("others",nt(an.value,ye()))],jy=ba({fields:Ly,name:"coupling",apis:zy,state:/* */Object.freeze({init:function(n){var i={},t=nn({});return Zi({readState:t,getOrCreate:function(e,o,r){var n=wn(o.others);if(n)return Nn(i,r).getOrThunk(function(){var n=Nn(o.others,r).getOrDie("No information found for coupled component: "+r)(e),t=e.getSystem().build(n);return i[r]=t});throw new Error("Cannot find coupled component: "+r+". Known coupled components: "+JSON.stringify(n,null,2))}})}})}),Uy=nn("sink"),Wy=nn(wl({name:Uy(),overrides:nn({dom:{tag:"div"},behaviours:va([Df.config({useFixed:a})]),events:nr([cr(lo()),cr(ro()),cr(ho())])})}));(Cy=Sy=Sy||{})[Cy.HighlightFirst=0]="HighlightFirst",Cy[Cy.HighlightNone=1]="HighlightNone";function Gy(n,t){var e=n.getHotspot(t).getOr(t),o=n.getAnchorOverrides();return n.layouts.fold(function(){return{anchor:"hotspot",hotspot:e,overrides:o}},function(n){return{anchor:"hotspot",hotspot:e,overrides:o,layouts:n}})}function Xy(n,t,e,o,r,i,u){return function(n,t,r,e,i,o,u){var a=function(n,t,e){return(0,n.fetch)(e).map(t)}(n,t,e),c=gw(e,n);return a.map(function(n){return n.bind(function(n){return on.from(Pg.sketch(P(P({},o.menu()),{uid:Nr(""),data:n,highlightImmediately:u===Sy.HighlightFirst,onOpenMenu:function(n,t){var e=c().getOrDie();Df.position(e,r,t),Pf.decloak(i)},onOpenSubmenu:function(n,t,e){var o=c().getOrDie();Df.position(o,{anchor:"submenu",item:t},e),Pf.decloak(i)},onRepositionMenu:function(n,t,e){var o=c().getOrDie();Df.position(o,r,t),bn(e,function(n){Df.position(o,{anchor:"submenu",item:n.triggeringItem},n.triggeredMenu)})},onEscape:function(){return pg.focus(e),Pf.close(i),on.some(!0)}})))})})}(n,t,Gy(n,e),e,o,r,u).map(function(n){return n.fold(function(){Pf.isOpen(o)&&Pf.close(o)},function(n){Pf.cloak(o),Pf.open(o,n),i(o)}),o})}function Yy(n,t,e,o,r,i,u){return Pf.close(o),Dy(o)}function qy(n,t,e,o,r,i){var u=jy.getCoupled(e,"sandbox");return(Pf.isOpen(u)?Yy:Xy)(n,t,e,u,o,r,i)}function Ky(n,t,e){var o=Ql.getCurrent(t).getOr(t),r=du(n.element());e?si(o.element(),"min-width",r+"px"):function(n,t){Ru.set(n,t)}(o.element(),r)}function Jy(n){Pf.getState(n).each(function(n){Pg.repositionMenus(n)})}function $y(o,r,i){var u=Ou(),n=gw(r,o);return{dom:{tag:"div",classes:o.sandboxClasses,attributes:{id:u.id(),role:"listbox"}},behaviours:nl(o.sandboxBehaviours,[Qf.config({store:{mode:"memory",initialValue:r}}),Pf.config({onOpen:function(n,t){var e=Gy(o,r);u.link(r.element()),o.matchWidth&&Ky(e.hotspot,t,o.useMinWidth),o.onOpen(e,n,t),i!==undefined&&i.onOpen!==undefined&&i.onOpen(n,t)},onClose:function(n,t){u.unlink(r.element()),i!==undefined&&i.onClose!==undefined&&i.onClose(n,t)},isPartOf:function(n,t,e){return zu(t,e)||zu(r,e)},getAttachPoint:function(){return n().getOrDie()}}),Ql.config({find:function(n){return Pf.getState(n).bind(function(n){return Ql.getCurrent(n)})}}),fc.config({channels:P(P({},Os({isExtraPart:nn(!1)})),Ts({isExtraPart:nn(!1),doReposition:Jy}))})])}}function Qy(n){var t=jy.getCoupled(n,"sandbox");Jy(t)}function Zy(){return[St("sandboxClasses",[]),Zf("sandboxBehaviours",[Ql,fc,Pf,Qf])]}function nx(e,t,o){function r(n,t){Yt(n,xw,{value:t})}var n=sy.parts().field({factory:ly,inputClasses:["tox-textfield"],onSetValue:function(n){return Iy.run(n).get(function(){})},inputBehaviours:va([Ny.config({}),Iy.config({invalidClass:"tox-textbox-field-invalid",getRoot:function(n){return hr(n.element())},notify:{onValid:function(n){var t=Qf.getValue(n);Yt(n,yw,{color:t})}},validator:{validateOnLoad:!1,validate:function(n){var t=Qf.getValue(n);if(0===t.length)return Dy(an.value(!0));var e=Be.fromTag("span");si(e,"background-color",t);var o=di(e,"background-color").fold(function(){return an.error("blah")},function(n){return an.value(t)});return Dy(o)}}})]),selectOnFocus:!1}),i=e.label.map(function(n){return wy(n,t.providers)}),u=pm(function(e,o){return vw.sketch({dom:e.dom,components:e.components,toggleClass:"mce-active",dropdownBehaviours:va([bw.config({}),Ny.config({})]),layouts:e.layouts,sandboxClasses:["tox-dialog__popups"],lazySink:o.getSink,fetch:function(t){return By(function(n){return e.fetch(n)}).map(function(n){return on.from(rb(Dn(Ov(Vr("menu-value"),n,function(n){e.onItemAction(t,n)},e.columns,e.presets,Ah.CLOSE_ON_EXECUTE,function(){return!1},o.providers),{movement:Tv(e.columns,e.presets)})))})},parts:{menu:xv(0,0,e.presets)}})}({dom:{tag:"span",attributes:{"aria-label":t.providers.translate("Color swatch")}},layouts:on.some({onRtl:function(){return[ia]},onLtr:function(){return[ua]}}),components:[],fetch:Lv.getFetch(o.getColors(),o.hasCustomColors()),columns:o.getColorCols(),presets:"color",onItemAction:function(n,e){u.getOpt(n).each(function(t){"custom"===e?o.colorPicker(function(n){n.fold(function(){return Xt(t,ww)},function(n){r(t,n),Iv(n)})},"#ffffff"):r(t,"remove"===e?"":e)})}},t));return sy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:i.toArray().concat([{dom:{tag:"div",classes:["tox-color-input"]},components:[n,u.asSpec()]}]),fieldBehaviours:va([qd("form-field-events",[or(yw,function(n,t){u.getOpt(n).each(function(n){si(n.element(),"background-color",t.event().color())}),Yt(n,Qb,{name:e.name})}),or(xw,function(t,e){sy.getField(t).each(function(n){Qf.setValue(n,e.event().value()),Ql.getCurrent(t).each(pg.focus)})}),or(ww,function(t,n){sy.getField(t).each(function(n){Ql.getCurrent(t).each(pg.focus)})})])])})}function tx(n,t,e){return{hue:nn(n),saturation:nn(t),value:nn(e)}}function ex(n){return wl({name:n+"-edge",overrides:function(o){return o.model.manager.edgeActions[n].fold(function(){return{}},function(e){var n=nr([rr(to(),e,[o])]),t=nr([rr(ro(),e,[o]),rr(io(),function(n,t){t.mouseIsDown.get()&&e(n,t)},[o])]);return{events:Ow?n:t}})}})}function ox(n){var t=n.event().raw();if(Rw){var e=t;return e.touches!==undefined&&1===e.touches.length?on.some(e.touches[0]).map(function(n){return Fu(n.clientX,n.clientY)}):on.none()}var o=t;return o.clientX!==undefined?on.some(o).map(function(n){return Fu(n.clientX,n.clientY)}):on.none()}function rx(n){return n.model.minX}function ix(n){return n.model.minY}function ux(n){return n.model.minX-1}function ax(n){return n.model.minY-1}function cx(n){return n.model.maxX}function sx(n){return n.model.maxY}function fx(n){return n.model.maxX+1}function lx(n){return n.model.maxY+1}function dx(n,t,e){return t(n)-e(n)}function mx(n){return dx(n,cx,rx)}function gx(n){return dx(n,sx,ix)}function px(n){return mx(n)/2}function hx(n){return gx(n)/2}function vx(n){return n.stepSize}function bx(n){return n.snapToGrid}function yx(n){return n.snapStart}function xx(n){return n.rounded}function wx(n,t){return n[t+"-edge"]!==undefined}function Sx(n){return wx(n,"left")}function Cx(n){return wx(n,"right")}function kx(n){return wx(n,"top")}function Ox(n){return wx(n,"bottom")}function Tx(n){return n.model.value.get()}function Ex(n){return{x:nn(n)}}function Bx(n){return{y:nn(n)}}function Dx(n,t){return{x:nn(n),y:nn(t)}}function _x(n,t){Yt(n,Vw(),{value:t})}function Ax(n,t,e,o){return n<t?n:e<n?e:n===t?t-1:Math.max(t,n-o)}function Mx(n,t,e,o){return e<n?n:n<t?t:n===e?e+1:Math.min(e,n+o)}function Fx(n,t,e){return Math.max(t,Math.min(e,n))}function Ix(n){var t=n.min,e=n.max,o=n.range,r=n.value,i=n.step,u=n.snap,a=n.snapStart,c=n.rounded,s=n.hasMinEdge,f=n.hasMaxEdge,l=n.minBound,d=n.maxBound,m=n.screenRange,g=s?t-1:t,p=f?e+1:e;if(r<l)return g;if(d<r)return p;var h=function(n,t,e){return Math.min(e,Math.max(n,t))-t}(r,l,d),v=Fx(h/m*o+t,g,p);return u&&t<=v&&v<=e?function(u,e,a,c,n){return n.fold(function(){var n=u-e,t=Math.round(n/c)*c;return Fx(e+t,e-1,a+1)},function(n){var t=(u-n)%c,e=Math.round(t/c),o=Math.floor((u-n)/c),r=Math.floor((a-n)/c),i=n+Math.min(r,o+e)*c;return Math.max(n,i)})}(v,t,e,i,a):c?Math.round(v):v}function Rx(n){var t=n.min,e=n.max,o=n.range,r=n.value,i=n.hasMinEdge,u=n.hasMaxEdge,a=n.maxBound,c=n.maxOffset,s=n.centerMinEdge,f=n.centerMaxEdge;return r<t?i?0:s:e<r?u?a:f:(r-t)/o*c}function Vx(n){return n.element().dom().getBoundingClientRect()}function Nx(n,t){return n[t]}function Hx(n){var t=Vx(n);return Nx(t,Nw)}function Px(n){var t=Vx(n);return Nx(t,"right")}function zx(n){var t=Vx(n);return Nx(t,"top")}function Lx(n){var t=Vx(n);return Nx(t,"bottom")}function jx(n){var t=Vx(n);return Nx(t,"width")}function Ux(n){var t=Vx(n);return Nx(t,"height")}function Wx(n,t,e){return(n+t)/2-e}function Gx(n,t){var e=Vx(n),o=Vx(t),r=Nx(e,Nw),i=Nx(e,"right"),u=Nx(o,Nw);return Wx(r,i,u)}function Xx(n,t){var e=Vx(n),o=Vx(t),r=Nx(e,"top"),i=Nx(e,"bottom"),u=Nx(o,"top");return Wx(r,i,u)}function Yx(n,t){Yt(n,Vw(),{value:t})}function qx(n){return{x:nn(n)}}function Kx(n,t,e){var o={min:rx(t),max:cx(t),range:mx(t),value:e,step:vx(t),snap:bx(t),snapStart:yx(t),rounded:xx(t),hasMinEdge:Sx(t),hasMaxEdge:Cx(t),minBound:Hx(n),maxBound:Px(n),screenRange:jx(n)};return Ix(o)}function Jx(e){return function(n,t){return function(n,t,e){var o=(0<n?Mx:Ax)(Tx(e).x(),rx(e),cx(e),vx(e));return Yx(t,qx(o)),on.some(o)}(e,n,t).map(function(){return!0})}}function $x(n,t,e,o,r,i){var u=function(t,n,e,o,r){var i=jx(t),u=o.bind(function(n){return on.some(Gx(n,t))}).getOr(0),a=r.bind(function(n){return on.some(Gx(n,t))}).getOr(i),c={min:rx(n),max:cx(n),range:mx(n),value:e,hasMinEdge:Sx(n),hasMaxEdge:Cx(n),minBound:Hx(t),minOffset:0,maxBound:Px(t),maxOffset:i,centerMinEdge:u,centerMaxEdge:a};return Rx(c)}(t,i,e,o,r);return Hx(t)-Hx(n)+u}function Qx(n,t){Yt(n,Vw(),{value:t})}function Zx(n){return{y:nn(n)}}function nw(n,t,e){var o={min:ix(t),max:sx(t),range:gx(t),value:e,step:vx(t),snap:bx(t),snapStart:yx(t),rounded:xx(t),hasMinEdge:kx(t),hasMaxEdge:Ox(t),minBound:zx(n),maxBound:Lx(n),screenRange:Ux(n)};return Ix(o)}function tw(e){return function(n,t){return function(n,t,e){var o=(0<n?Mx:Ax)(Tx(e).y(),ix(e),sx(e),vx(e));return Qx(t,Zx(o)),on.some(o)}(e,n,t).map(function(){return!0})}}function ew(n,t,e,o,r,i){var u=function(t,n,e,o,r){var i=Ux(t),u=o.bind(function(n){return on.some(Xx(n,t))}).getOr(0),a=r.bind(function(n){return on.some(Xx(n,t))}).getOr(i),c={min:ix(n),max:sx(n),range:gx(n),value:e,hasMinEdge:kx(n),hasMaxEdge:Ox(n),minBound:zx(t),minOffset:0,maxBound:Lx(t),maxOffset:i,centerMinEdge:u,centerMaxEdge:a};return Rx(c)}(t,i,e,o,r);return zx(t)-zx(n)+u}function ow(n,t){Yt(n,Vw(),{value:t})}function rw(n,t){return{x:nn(n),y:nn(t)}}function iw(e,o){return function(n,t){return function(n,t,e,o){var r=0<n?Mx:Ax,i=t?Tx(o).x():r(Tx(o).x(),rx(o),cx(o),vx(o)),u=t?r(Tx(o).y(),ix(o),sx(o),vx(o)):Tx(o).y();return ow(e,rw(i,u)),on.some(i)}(e,o,n,t).map(function(){return!0})}}function uw(n){return"<alloy.field."+n+">"}function aw(n){return function(n){return xS[n]}(n)}function cw(n,t,e){return Qf.config(Dn({store:{mode:"manual",getValue:t,setValue:e}},n.map(function(n){return{store:{initialValue:n}}}).getOr({})))}function sw(n,t,e){return cw(n,function(n){return t(n.element())},function(n,t){return e(n.element(),t)})}function fw(e,t){function o(n,t){t.stop()}function r(n){return function(t,e){bn(n,function(n){n(t,e)})}}function i(n,t){if(!wh.isDisabled(n)){var e=t.event().raw();a(n,e.dataTransfer.files)}}function u(n,t){var e=t.event().raw().target.files;a(n,e)}var a=function(n,t){Qf.setValue(n,function(n){var t=new RegExp("("+".jpg,.jpeg,.png,.gif".split(/\s*,\s*/).join("|")+")$","i");return S(xn(n),function(n){return t.test(n.name)})}(t)),Yt(n,Qb,{name:e.name})},c=pm({dom:{tag:"input",attributes:{type:"file",accept:"image/*"},styles:{display:"none"}},behaviours:va([qd("input-file-events",[cr(Eo())])])}),n=e.label.map(function(n){return wy(n,t)}),s=sy.parts().field({factory:{sketch:function(n){return{uid:n.uid,dom:{tag:"div",classes:["tox-dropzone-container"]},behaviours:va([TS([]),vS(),wh.config({}),wg.config({toggleClass:"dragenter",toggleOnExecute:!1}),qd("dropzone-events",[or("dragenter",r([o,wg.toggle])),or("dragleave",r([o,wg.toggle])),or("dragover",o),or("drop",r([o,i])),or(po(),u)])]),components:[{dom:{tag:"div",classes:["tox-dropzone"],styles:{}},components:[{dom:{tag:"p",innerHtml:t.translate("Drop an image here")}},Ug.sketch({dom:{tag:"button",innerHtml:t.translate("Browse for an image"),styles:{position:"relative"},classes:["tox-button","tox-button--secondary"]},components:[c.asSpec()],action:function(n){c.get(n).element().dom().click()},buttonBehaviours:va([Ny.config({})])})]}]}}}});return xy(n,s,["tox-form__group--stretched"],[])}function lw(n){return{dom:{tag:"div",styles:{width:"1px",height:"1px",outline:"none"},attributes:{tabindex:"0"},classes:n},behaviours:va([pg.config({ignore:!0}),Ny.config({})])}}function dw(n,t){Yt(n,lo(),{raw:{which:9,shiftKey:t}})}function mw(n,t){var e=MS&&n.sandboxed,o=P(P({},n.label.map(function(n){return{title:n}}).getOr({})),e?{sandbox:"allow-scripts allow-same-origin"}:{}),r=function(o){var r=Te("");return{getValue:function(n){return r.get()},setValue:function(n,t){if(o)Dr(n.element(),"srcdoc",t);else{Dr(n.element(),"src","javascript:''");var e=n.element().dom().contentWindow.document;e.open(),e.write(t),e.close()}r.set(t)}}}(e),i=n.label.map(function(n){return wy(n,t)}),u=sy.parts().field({factory:{sketch:function(n){return AS({uid:n.uid,dom:{tag:"iframe",attributes:o},behaviours:va([Ny.config({}),pg.config({}),kS(on.none(),r.getValue,r.setValue)])})}}});return xy(i,u,["tox-form__group--stretched"],[])}var gw=function(t,n){return t.getSystem().getByUid(n.uid+"-"+Uy()).map(function(n){return function(){return an.value(n)}}).getOrThunk(function(){return n.lazySink.fold(function(){return function(){return an.error(new Error("No internal sink is specified, nor could an external sink be found"))}},function(n){return function(){return n(t)}})})},pw=nn([ct("dom"),ct("fetch"),Yu("onOpen"),qu("onExecute"),St("getHotspot",on.some),St("getAnchorOverrides",nn({})),St("layouts",on.none()),Ms("dropdownBehaviours",[wg,jy,sg,pg]),ct("toggleClass"),St("eventOrder",{}),ht("lazySink"),St("matchWidth",!1),St("useMinWidth",!1),ht("role")].concat(Zy())),hw=nn([xl({schema:[Wu()],name:"menu",defaults:function(n){return{onExecute:n.onExecute}}}),Wy()]),vw=Dl({name:"Dropdown",configFields:pw(),partFields:hw(),factory:function(t,n,e,o){function r(n){Pf.getState(n).each(function(n){Pg.highlightPrimary(n)})}function i(n,t){return qt(n),on.some(!0)}var u,a,c={expand:function(n){wg.isOn(n)||qy(t,function(n){return n},n,o,Z,Sy.HighlightNone).get(Z)},open:function(n){wg.isOn(n)||qy(t,function(n){return n},n,o,Z,Sy.HighlightFirst).get(Z)},isOpen:wg.isOn,close:function(n){wg.isOn(n)&&qy(t,function(n){return n},n,o,Z,Sy.HighlightFirst).get(Z)},repositionMenus:function(n){wg.isOn(n)&&Qy(n)}};return{uid:t.uid,dom:t.dom,components:n,behaviours:Is(t.dropdownBehaviours,[wg.config({toggleClass:t.toggleClass,aria:{mode:"expanded"}}),jy.config({others:{sandbox:function(n){return $y(t,n,{onOpen:function(){wg.on(n)},onClose:function(){wg.off(n)}})}}}),sg.config({mode:"special",onSpace:i,onEnter:i,onDown:function(n,t){if(vw.isOpen(n)){var e=jy.getCoupled(n,"sandbox");r(e)}else vw.open(n);return on.some(!0)},onEscape:function(n,t){return vw.isOpen(n)?(vw.close(n),on.some(!0)):on.none()}}),pg.config({})]),events:gm(on.some(function(n){qy(t,function(n){return n},n,o,r,Sy.HighlightFirst).get(Z)})),eventOrder:P(P({},t.eventOrder),(u={},u[ko()]=["disabling","toggling","alloy.base.behaviour"],u)),apis:c,domModification:{attributes:P(P({"aria-haspopup":"true"},t.role.fold(function(){return{}},function(n){return{role:n}})),"button"===t.dom.tag?{type:(a="type",Nn(t.dom,"attributes").bind(function(n){return Nn(n,a)})).getOr("button")}:{})}}},apis:{open:function(n,t){return n.open(t)},expand:function(n,t){return n.expand(t)},close:function(n,t){return n.close(t)},isOpen:function(n,t){return n.isOpen(t)},repositionMenus:function(n,t){return n.repositionMenus(t)}}}),bw=ba({fields:[],name:"unselecting",active:/* */Object.freeze({events:function(n){return nr([tr(bo(),nn(!0))])},exhibit:function(n,t){return Ur({styles:{"-webkit-user-select":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"-moz-none"},attributes:{unselectable:"on"}})}})}),yw=Vr("color-input-change"),xw=Vr("color-swatch-change"),ww=Vr("color-picker-cancel"),Sw=nn(Vr("rgb-hex-update")),Cw=nn(Vr("slider-update")),kw=nn(Vr("palette-update")),Ow=Ht().deviceType.isTouch(),Tw=wl({schema:[ct("dom")],name:"label"}),Ew=ex("top-left"),Bw=ex("top"),Dw=ex("top-right"),_w=ex("right"),Aw=ex("bottom-right"),Mw=ex("bottom"),Fw=ex("bottom-left"),Iw=[Tw,ex("left"),_w,Bw,Mw,Ew,Dw,Fw,Aw,yl({name:"thumb",defaults:nn({dom:{styles:{position:"absolute"}}}),overrides:function(n){return{events:nr([ur(to(),n,"spectrum"),ur(eo(),n,"spectrum"),ur(oo(),n,"spectrum"),ur(ro(),n,"spectrum"),ur(io(),n,"spectrum"),ur(ao(),n,"spectrum")])}}}),yl({schema:[_t("mouseIsDown",function(){return Te(!1)})],name:"spectrum",overrides:function(e){function o(t,n){return r.getValueFromEvent(n).map(function(n){return r.setValueFrom(t,e,n)})}var r=e.model.manager,n=nr([or(to(),o),or(eo(),o)]),t=nr([or(ro(),o),or(io(),function(n,t){e.mouseIsDown.get()&&o(n,t)})]);return{behaviours:va(Ow?[]:[sg.config({mode:"special",onLeft:function(n){return r.onLeft(n,e)},onRight:function(n){return r.onRight(n,e)},onUp:function(n){return r.onUp(n,e)},onDown:function(n){return r.onDown(n,e)}}),pg.config({})]),events:Ow?n:t}}})],Rw=Ht().deviceType.isTouch(),Vw=nn("slider.change.value"),Nw="left",Hw=Jx(-1),Pw=Jx(1),zw=on.none,Lw=on.none,jw={"top-left":on.none(),top:on.none(),"top-right":on.none(),right:on.some(function(n,t){_x(n,Ex(fx(t)))}),"bottom-right":on.none(),bottom:on.none(),"bottom-left":on.none(),left:on.some(function(n,t){_x(n,Ex(ux(t)))})},Uw=/* */Object.freeze({setValueFrom:function(n,t,e){var o=Kx(n,t,e),r=qx(o);return Yx(n,r),o},setToMin:function(n,t){var e=rx(t);Yx(n,qx(e))},setToMax:function(n,t){var e=cx(t);Yx(n,qx(e))},findValueOfOffset:Kx,getValueFromEvent:function(n){return ox(n).map(function(n){return n.left()})},findPositionOfValue:$x,setPositionFromValue:function(n,t,e,o){var r=Tx(e),i=$x(n,o.getSpectrum(n),r.x(),o.getLeftEdge(n),o.getRightEdge(n),e),u=du(t.element())/2;si(t.element(),"left",i-u+"px")},onLeft:Hw,onRight:Pw,onUp:zw,onDown:Lw,edgeActions:jw}),Ww=on.none,Gw=on.none,Xw=tw(-1),Yw=tw(1),qw={"top-left":on.none(),top:on.some(function(n,t){_x(n,Bx(ax(t)))}),"top-right":on.none(),right:on.none(),"bottom-right":on.none(),bottom:on.some(function(n,t){_x(n,Bx(lx(t)))}),"bottom-left":on.none(),left:on.none()},Kw=/* */Object.freeze({setValueFrom:function(n,t,e){var o=nw(n,t,e),r=Zx(o);return Qx(n,r),o},setToMin:function(n,t){var e=ix(t);Qx(n,Zx(e))},setToMax:function(n,t){var e=sx(t);Qx(n,Zx(e))},findValueOfOffset:nw,getValueFromEvent:function(n){return ox(n).map(function(n){return n.top()})},findPositionOfValue:ew,setPositionFromValue:function(n,t,e,o){var r=Tx(e),i=ew(n,o.getSpectrum(n),r.y(),o.getTopEdge(n),o.getBottomEdge(n),e),u=cu(t.element())/2;si(t.element(),"top",i-u+"px")},onLeft:Ww,onRight:Gw,onUp:Xw,onDown:Yw,edgeActions:qw}),Jw=iw(-1,!1),$w=iw(1,!1),Qw=iw(-1,!0),Zw=iw(1,!0),nS={"top-left":on.some(function(n,t){_x(n,Dx(ux(t),ax(t)))}),top:on.some(function(n,t){_x(n,Dx(px(t),ax(t)))}),"top-right":on.some(function(n,t){_x(n,Dx(fx(t),ax(t)))}),right:on.some(function(n,t){_x(n,Dx(fx(t),hx(t)))}),"bottom-right":on.some(function(n,t){_x(n,Dx(fx(t),lx(t)))}),bottom:on.some(function(n,t){_x(n,Dx(px(t),lx(t)))}),"bottom-left":on.some(function(n,t){_x(n,Dx(ux(t),lx(t)))}),left:on.some(function(n,t){_x(n,Dx(ux(t),hx(t)))})},tS=/* */Object.freeze({setValueFrom:function(n,t,e){var o=Kx(n,t,e.left()),r=nw(n,t,e.top()),i=rw(o,r);return ow(n,i),i},setToMin:function(n,t){var e=rx(t),o=ix(t);ow(n,rw(e,o))},setToMax:function(n,t){var e=cx(t),o=sx(t);ow(n,rw(e,o))},getValueFromEvent:function(n){return ox(n)},setPositionFromValue:function(n,t,e,o){var r=Tx(e),i=$x(n,o.getSpectrum(n),r.x(),o.getLeftEdge(n),o.getRightEdge(n),e),u=ew(n,o.getSpectrum(n),r.y(),o.getTopEdge(n),o.getBottomEdge(n),e),a=du(t.element())/2,c=cu(t.element())/2;si(t.element(),"left",i-a+"px"),si(t.element(),"top",u-c+"px")},onLeft:Jw,onRight:$w,onUp:Qw,onDown:Zw,edgeActions:nS}),eS=Ht().deviceType.isTouch(),oS=[St("stepSize",1),St("onChange",Z),St("onChoose",Z),St("onInit",Z),St("onDragStart",Z),St("onDragEnd",Z),St("snapToGrid",!1),St("rounded",!0),ht("snapStart"),st("model",it("mode",{x:[St("minX",0),St("maxX",100),_t("value",function(n){return Te(n.mode.minX)}),ct("getInitialValue"),$u("manager",Uw)],y:[St("minY",0),St("maxY",100),_t("value",function(n){return Te(n.mode.minY)}),ct("getInitialValue"),$u("manager",Kw)],xy:[St("minX",0),St("maxX",100),St("minY",0),St("maxY",100),_t("value",function(n){return Te({x:nn(n.mode.minX),y:nn(n.mode.minY)})}),ct("getInitialValue"),$u("manager",tS)]})),Ms("sliderBehaviours",[sg,Qf])].concat(eS?[]:[_t("mouseIsDown",function(){return Te(!1)})]),rS=Ht().deviceType.isTouch(),iS=Dl({name:"Slider",configFields:oS,partFields:Iw,factory:function(i,n,t,e){function u(n){return qs(n,i,"thumb")}function a(n){return qs(n,i,"spectrum")}function o(n){return Ys(n,i,"left-edge")}function r(n){return Ys(n,i,"right-edge")}function c(n){return Ys(n,i,"top-edge")}function s(n){return Ys(n,i,"bottom-edge")}function f(n,t){m.setPositionFromValue(n,t,i,{getLeftEdge:o,getRightEdge:r,getTopEdge:c,getBottomEdge:s,getSpectrum:a})}function l(n,t){d.value.set(t);var e=u(n);return f(n,e),i.onChange(n,e,t),on.some(!0)}var d=i.model,m=d.manager,g=[or(to(),function(n,t){i.onDragStart(n,u(n))}),or(oo(),function(n,t){i.onDragEnd(n,u(n))})],p=[or(ro(),function(n,t){t.stop(),i.onDragStart(n,u(n)),i.mouseIsDown.set(!0)}),or(ao(),function(n,t){i.onDragEnd(n,u(n))})],h=rS?g:p;return{uid:i.uid,dom:i.dom,components:n,behaviours:Is(i.sliderBehaviours,z([rS?[]:[sg.config({mode:"special",focusIn:function(n){return Ys(n,i,"spectrum").map(sg.focusIn).map(nn(!0))}})],[Qf.config({store:{mode:"manual",getValue:function(n){return d.value.get()}}}),fc.config({channels:{"mouse.released":{onReceive:function(e,n){function t(){Ys(e,i,"thumb").each(function(n){var t=d.value.get();i.onChoose(e,n,t)})}if(rS)t();else{var o=i.mouseIsDown.get();i.mouseIsDown.set(!1),o&&t()}}}}})]])),events:nr([or(Vw(),function(n,t){l(n,t.event().value())}),Fi(function(n,t){var e=d.getInitialValue();d.value.set(e);var o=u(n);f(n,o);var r=a(n);i.onInit(n,o,r,d.value.get())})].concat(h)),apis:{resetToMin:function(n){m.setToMin(n,i)},resetToMax:function(n){m.setToMax(n,i)},changeValue:l,refresh:f},domModification:{styles:{position:"relative"}}}},apis:{resetToMin:function(n,t){n.resetToMin(t)},resetToMax:function(n,t){n.resetToMax(t)},refresh:function(n,t){n.refresh(t)}}}),uS=function(n,t){var e=iS.parts().spectrum({dom:{tag:"div",classes:[t("hue-slider-spectrum")],attributes:{role:"presentation"}}}),o=iS.parts().thumb({dom:{tag:"div",classes:[t("hue-slider-thumb")],attributes:{role:"presentation"}}});return iS.sketch({dom:{tag:"div",classes:[t("hue-slider")],attributes:{role:"presentation"}},rounded:!1,model:{mode:"y",getInitialValue:nn({y:nn(0)})},components:[e,o],sliderBehaviours:va([pg.config({})]),onChange:function(n,t,e){Yt(n,Cw(),{value:e})}})},aS=[Ms("formBehaviours",[Qf])],cS=function(o,n,t){return{uid:o.uid,dom:o.dom,components:n,behaviours:Is(o.formBehaviours,[Qf.config({store:{mode:"manual",getValue:function(n){var t=Js(n,o);return L(t,function(n,t){return n().bind(function(n){return function(n,t){return n.fold(function(){return an.error(t)},an.value)}(Ql.getCurrent(n),"missing current")}).map(Qf.getValue)})},setValue:function(e,n){Cn(n,function(t,n){Ys(e,o,n).each(function(n){Ql.getCurrent(n).each(function(n){Qf.setValue(n,t)})})})}}})]),apis:{getField:function(n,t){return Ys(n,o,t).bind(Ql.getCurrent)}}}},sS={getField:Lr(function(n,t,e){return n.getField(t,e)}),sketch:function(n){var e,t=(e=[],{field:function(n,t){return e.push(n),js("form",uw(n),t)},record:function(){return e}}),o=n(t),r=t.record(),i=w(r,function(n){return yl({name:n,pname:uw(n)})});return ef("form",aS,i,cS,o)}},fS=Vr("valid-input"),lS=Vr("invalid-input"),dS=Vr("validating-input"),mS="colorcustom.rgb.",gS=function(d,m,g,p){function h(n,t,e,o,r){var i=d(mS+"range"),u=[sy.parts().label({dom:{tag:"label",innerHtml:e,attributes:{"aria-label":o}}}),sy.parts().field({data:r,factory:ly,inputAttributes:P({type:"text"},"hex"===t?{"aria-live":"polite"}:{}),inputClasses:[m("textfield")],inputBehaviours:va([function(t,o){return Iy.config({invalidClass:m("invalid"),notify:{onValidate:function(n){Yt(n,dS,{type:t})},onValid:function(n){Yt(n,fS,{type:t,value:Qf.getValue(n)})},onInvalid:function(n){Yt(n,lS,{type:t,value:Qf.getValue(n)})}},validator:{validate:function(n){var t=Qf.getValue(n),e=o(t)?an.value(!0):an.error(d("aria.input.invalid"));return Dy(e)},validateOnLoad:!1}})}(t,n),Ny.config({})]),onSetValue:function(n){Iy.isInvalid(n)&&Iy.run(n).get(Z)}})],a="hex"!==t?[sy.parts()["aria-descriptor"]({text:i})]:[];return{dom:{tag:"div",attributes:{role:"presentation"}},components:u.concat(a)}}function v(n,t){var e=t.red(),o=t.green(),r=t.blue();Qf.setValue(n,{red:e,green:o,blue:r})}function b(n,t){y.getOpt(n).each(function(n){si(n.element(),"background-color","#"+t.value())})}var y=pm({dom:{tag:"div",classes:[m("rgba-preview")],styles:{"background-color":"white"},attributes:{role:"presentation"}}});return Bl({factory:function(){function r(n){return u[n]().get()}function i(n,t){u[n]().set(t)}function t(n,t){var e=t.event();"hex"!==e.type()?i(e.type(),on.none()):p(n)}function o(e,n,t){var o=parseInt(t,10);i(n,on.some(o)),r("red").bind(function(e){return r("green").bind(function(t){return r("blue").map(function(n){return jh(e,t,n,1)})})}).each(function(n){var t=function(t,n){var e=Lh(n);return sS.getField(t,"hex").each(function(n){pg.isFocused(n)||Qf.setValue(t,{hex:e.value()})}),e}(e,n);b(e,t)})}function e(n,t){var e=t.event();!function(n){return"hex"===n.type()}(e)?o(n,e.type(),e.value()):function(n,t){g(n);var e=Nh(t);i("hex",on.some(t));var o=Gh(e);v(n,o),a(o),Yt(n,Sw(),{hex:e}),b(n,e)}(n,e.value())}function n(n){return{label:d(mS+n+".label"),description:d(mS+n+".description")}}var u={red:nn(Te(on.some(255))),green:nn(Te(on.some(255))),blue:nn(Te(on.some(255))),hex:nn(Te(on.some("ffffff")))},a=function(n){var t=n.red(),e=n.green(),o=n.blue();i("red",on.some(t)),i("green",on.some(e)),i("blue",on.some(o))},c=n("red"),s=n("green"),f=n("blue"),l=n("hex");return Dn(sS.sketch(function(n){return{dom:{tag:"form",classes:[m("rgb-form")],attributes:{"aria-label":d("aria.color.picker")}},components:[n.field("red",sy.sketch(h(Uh,"red",c.label,c.description,255))),n.field("green",sy.sketch(h(Uh,"green",s.label,s.description,255))),n.field("blue",sy.sketch(h(Uh,"blue",f.label,f.description,255))),n.field("hex",sy.sketch(h(Hh,"hex",l.label,l.description,"ffffff"))),y.asSpec()],formBehaviours:va([Iy.config({invalidClass:m("form-invalid")}),qd("rgb-form-events",[or(fS,e),or(lS,t),or(dS,t)])])}}),{apis:{updateHex:function(n,t){Qf.setValue(n,{hex:t.value()}),function(n,t){var e=Gh(t);v(n,e),a(e)}(n,t),b(n,t)}}})},name:"RgbForm",configFields:[],apis:{updateHex:function(n,t,e){n.updateHex(t,e)}},extraApis:{}})},pS=function(n,o){function r(n,t){var e=n.width,o=n.height,r=n.getContext("2d");if(null!==r){r.fillStyle=t,r.fillRect(0,0,e,o);var i=r.createLinearGradient(0,0,e,0);i.addColorStop(0,"rgba(255,255,255,1)"),i.addColorStop(1,"rgba(255,255,255,0)"),r.fillStyle=i,r.fillRect(0,0,e,o);var u=r.createLinearGradient(0,0,0,o);u.addColorStop(0,"rgba(0,0,0,0)"),u.addColorStop(1,"rgba(0,0,0,1)"),r.fillStyle=u,r.fillRect(0,0,e,o)}}var i=iS.parts().spectrum({dom:{tag:"canvas",attributes:{role:"presentation"},classes:[o("sv-palette-spectrum")]}}),u=iS.parts().thumb({dom:{tag:"div",attributes:{role:"presentation"},classes:[o("sv-palette-thumb")],innerHtml:"<div class="+o("sv-palette-inner-thumb")+' role="presentation"></div>'}});return Bl({factory:function(n){var t=nn({x:nn(0),y:nn(0)}),e=va([Ql.config({find:on.some}),pg.config({})]);return iS.sketch({dom:{tag:"div",attributes:{role:"presentation"},classes:[o("sv-palette")]},model:{mode:"xy",getInitialValue:t},rounded:!1,components:[i,u],onChange:function(n,t,e){Yt(n,kw(),{value:e})},onInit:function(n,t,e,o){r(e.element().dom(),Yh(tv()))},sliderBehaviours:e})},name:"SaturationBrightnessPalette",configFields:[],apis:{setRgba:function(n,t,e){!function(n,t){var e=n.components()[0].element().dom();r(e,Yh(t))}(t,e)}},extraApis:{}})},hS=function(l,d){return Bl({name:"ColourPicker",configFields:[ct("dom"),St("onValidHex",Z),St("onInvalidHex",Z)],factory:function(n){function t(n,e){u.getOpt(n).each(function(n){var t=Gh(e);s.paletteRgba().set(t),i.setRgba(n,t)})}function e(n,t){f.getOpt(n).each(function(n){r.updateHex(n,t)})}function a(t,e,n){bn(n,function(n){n(t,e)})}var o,c,r=gS(l,d,n.onValidHex,n.onInvalidHex),i=pS(l,d),s={paletteRgba:nn(Te(tv()))},u=pm(i.sketch({})),f=pm(r.sketch({}));return{uid:n.uid,dom:n.dom,components:[u.asSpec(),uS(l,d),f.asSpec()],behaviours:va([qd("colour-picker-events",[or(kw(),(c=[e],function(n,t){var e=t.event().value(),o=function(n){var t,e=0,o=0,r=n.red()/255,i=n.green()/255,u=n.blue()/255,a=Math.min(r,Math.min(i,u)),c=Math.max(r,Math.max(i,u));return a===c?tx(0,0,100*(o=a)):(e=60*((e=r===a?3:u===a?1:5)-(r===a?i-u:u===a?r-i:u-r)/(c-a)),t=(c-a)/c,o=c,tx(Math.round(e),Math.round(100*t),Math.round(100*o)))}(s.paletteRgba().get()),r=tx(o.hue(),e.x(),100-e.y()),i=Wh(r),u=Lh(i);a(n,u,c)})),or(Cw(),(o=[t,e],function(n,t){var e=function(n){var t=tx((100-n)/100*360,100,100),e=Wh(t);return Lh(e)}(t.event().value().y());a(n,e,o)}))]),Ql.config({find:function(n){return f.getOpt(n)}}),sg.config({mode:"acyclic"})])}}})},vS=function(){return Ql.config({find:on.some})},bS=function(n){return Ql.config({find:n.getOpt})},yS=function(n){return Ql.config({find:function(t){return yr(t.element(),n).bind(function(n){return t.getSystem().getByDom(n).toOption()})}})},xS={"colorcustom.rgb.red.label":"R","colorcustom.rgb.red.description":"Red component","colorcustom.rgb.green.label":"G","colorcustom.rgb.green.description":"Green component","colorcustom.rgb.blue.label":"B","colorcustom.rgb.blue.description":"Blue component","colorcustom.rgb.hex.label":"#","colorcustom.rgb.hex.description":"Hex color code","colorcustom.rgb.range":"Range 0 to 255","colorcustom.sb.saturation":"Saturation","colorcustom.sb.brightness":"Brightness","colorcustom.sb.picker":"Saturation and Brightness Picker","colorcustom.sb.palette":"Saturation and Brightness Palette","colorcustom.sb.instructions":"Use arrow keys to select saturation and brightness, on x and y axes","colorcustom.hue.hue":"Hue","colorcustom.hue.slider":"Hue Slider","colorcustom.hue.palette":"Hue Palette","colorcustom.hue.instructions":"Use arrow keys to select a hue","aria.color.picker":"Color Picker","aria.input.invalid":"Invalid input"},wS=tinymce.util.Tools.resolve("tinymce.Resource"),SS=le([St("preprocess",l),St("postprocess",l)]),CS=function(r,n){var i=ot("RepresentingConfigs.memento processors",SS,n);return Qf.config({store:{mode:"manual",getValue:function(n){var t=r.get(n),e=Qf.getValue(t);return i.postprocess(e)},setValue:function(n,t){var e=i.preprocess(t),o=r.get(n);Qf.setValue(o,e)}}})},kS=cw,OS=function(n){return sw(n,Tr,Er)},TS=function(n){return Qf.config({store:{mode:"memory",initialValue:n}})},ES=Vr("alloy-fake-before-tabstop"),BS=Vr("alloy-fake-after-tabstop"),DS=function(n){return sb(n,["."+ES,"."+BS].join(","),nn(!1))},_S=function(n,t){var e=t.element();oi(e,ES)?dw(n,!0):oi(e,BS)&&dw(n,!1)},AS=function(n){return{dom:{tag:"div",classes:["tox-navobj"]},components:[lw([ES]),n,lw([BS])],behaviours:va([yS(1)])}},MS=!(Ht().browser.isIE()||Ht().browser.isEdge());function FS(n,t){return VS(H.document.createElement("canvas"),n,t)}function IS(n){var t=FS(n.width,n.height);return RS(t).drawImage(n,0,0),t}function RS(n){return n.getContext("2d")}function VS(n,t,e){return n.width=t,n.height=e,n}function NS(n){return n.naturalWidth||n.width}function HS(n){return n.naturalHeight||n.height}var PS,zS,LS=window.Promise?window.Promise:(PS=jS.immediateFn||"function"==typeof window.setImmediate&&window.setImmediate||function(n){H.setTimeout(n,1)},zS=Array.isArray||function(n){return"[object Array]"===Object.prototype.toString.call(n)},jS.prototype["catch"]=function(n){return this.then(null,n)},jS.prototype.then=function(e,o){var r=this;return new jS(function(n,t){WS.call(r,new qS(e,o,n,t))})},jS.all=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];var c=Array.prototype.slice.call(1===n.length&&zS(n[0])?n[0]:n);return new jS(function(r,i){if(0===c.length)return r([]);var u=c.length;function a(t,n){try{if(n&&("object"==typeof n||"function"==typeof n)){var e=n.then;if("function"==typeof e)return void e.call(n,function(n){a(t,n)},i)}c[t]=n,0==--u&&r(c)}catch(o){i(o)}}for(var n=0;n<c.length;n++)a(n,c[n])})},jS.resolve=function(t){return t&&"object"==typeof t&&t.constructor===jS?t:new jS(function(n){n(t)})},jS.reject=function(e){return new jS(function(n,t){t(e)})},jS.race=function(r){return new jS(function(n,t){for(var e=0,o=r;e<o.length;e++)o[e].then(n,t)})},jS);function jS(n){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof n)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],KS(n,US(GS,this),US(XS,this))}function US(n,t){return function(){return n.apply(t,arguments)}}function WS(o){var r=this;null!==this._state?PS(function(){var n=r._state?o.onFulfilled:o.onRejected;if(null!==n){var t;try{t=n(r._value)}catch(e){return void o.reject(e)}o.resolve(t)}else(r._state?o.resolve:o.reject)(r._value)}):this._deferreds.push(o)}function GS(n){try{if(n===this)throw new TypeError("A promise cannot be resolved with itself.");if(n&&("object"==typeof n||"function"==typeof n)){var t=n.then;if("function"==typeof t)return void KS(US(t,n),US(GS,this),US(XS,this))}this._state=!0,this._value=n,YS.call(this)}catch(e){XS.call(this,e)}}function XS(n){this._state=!1,this._value=n,YS.call(this)}function YS(){for(var n=0,t=this._deferreds;n<t.length;n++){var e=t[n];WS.call(this,e)}this._deferreds=[]}function qS(n,t,e,o){this.onFulfilled="function"==typeof n?n:null,this.onRejected="function"==typeof t?t:null,this.resolve=e,this.reject=o}function KS(n,t,e){var o=!1;try{n(function(n){o||(o=!0,t(n))},function(n){o||(o=!0,e(n))})}catch(r){if(o)return;o=!0,e(r)}}function JS(e){return new LS(function(n,t){(function p(n){var t=n.split(","),e=/data:([^;]+)/.exec(t[0]);if(!e)return on.none();for(var o=e[1],r=t[1],i=H.atob(r),u=i.length,a=Math.ceil(u/1024),c=new Array(a),s=0;s<a;++s){for(var f=1024*s,l=Math.min(1024+f,u),d=new Array(l-f),m=f,g=0;m<l;++g,++m)d[g]=i[m].charCodeAt(0);c[s]=new Uint8Array(d)}return on.some(new H.Blob(c,{type:o}))})(e).fold(function(){t("uri is not base64: "+e)},n)})}function $S(n,o,r){return o=o||"image/png",H.HTMLCanvasElement.prototype.toBlob?new LS(function(t,e){n.toBlob(function(n){n?t(n):e()},o,r)}):JS(n.toDataURL(o,r))}function QS(n){return function t(a){return new LS(function(n,t){var e=H.URL.createObjectURL(a),o=new H.Image,r=function(){o.removeEventListener("load",i),o.removeEventListener("error",u)};function i(){r(),n(o)}function u(){r(),t("Unable to load data of type "+a.type+": "+e)}o.addEventListener("load",i),o.addEventListener("error",u),o.src=e,o.complete&&i()})}(n).then(function(n){!function e(n){H.URL.revokeObjectURL(n.src)}(n);var t=FS(NS(n),HS(n));return RS(t).drawImage(n,0,0),t})}function ZS(n,t,e){var o=t.type;function r(t,e){return n.then(function(n){return function o(n,t,e){return t=t||"image/png",n.toDataURL(t,e)}(n,t,e)})}return{getType:nn(o),toBlob:function i(){return LS.resolve(t)},toDataURL:function u(){return e},toBase64:function a(){return e.split(",")[1]},toAdjustedBlob:function c(t,e){return n.then(function(n){return $S(n,t,e)})},toAdjustedDataURL:r,toAdjustedBase64:function s(n,t){return r(n,t).then(function(n){return n.split(",")[1]})},toCanvas:function f(){return n.then(IS)}}}function nC(t){return function n(e){return new LS(function(n){var t=new H.FileReader;t.onloadend=function(){n(t.result)},t.readAsDataURL(e)})}(t).then(function(n){return ZS(QS(t),t,n)})}function tC(t,n){return $S(t,n).then(function(n){return ZS(LS.resolve(t),n,t.toDataURL())})}function eC(n,t,e){var o="string"==typeof n?parseFloat(n):n;return e<o?o=e:o<t&&(o=t),o}var oC=[0,.01,.02,.04,.05,.06,.07,.08,.1,.11,.12,.14,.15,.16,.17,.18,.2,.21,.22,.24,.25,.27,.28,.3,.32,.34,.36,.38,.4,.42,.44,.46,.48,.5,.53,.56,.59,.62,.65,.68,.71,.74,.77,.8,.83,.86,.89,.92,.95,.98,1,1.06,1.12,1.18,1.24,1.3,1.36,1.42,1.48,1.54,1.6,1.66,1.72,1.78,1.84,1.9,1.96,2,2.12,2.25,2.37,2.5,2.62,2.75,2.87,3,3.2,3.4,3.6,3.8,4,4.3,4.7,4.9,5,5.5,6,6.5,6.8,7,7.3,7.5,7.8,8,8.4,8.7,9,9.4,9.6,9.8,10];function rC(n,t){for(var e,o=[],r=new Array(25),i=0;i<5;i++){for(var u=0;u<5;u++)o[u]=t[u+5*i];for(u=0;u<5;u++){for(var a=e=0;a<5;a++)e+=n[u+5*a]*o[a];r[u+5*i]=e}}return r}function iC(t,e){return t.toCanvas().then(function(n){return function i(n,t,e){var o=RS(n);var r=function B(n,t){for(var e,o,r,i,u=n.data,a=t[0],c=t[1],s=t[2],f=t[3],l=t[4],d=t[5],m=t[6],g=t[7],p=t[8],h=t[9],v=t[10],b=t[11],y=t[12],x=t[13],w=t[14],S=t[15],C=t[16],k=t[17],O=t[18],T=t[19],E=0;E<u.length;E+=4)e=u[E],o=u[E+1],r=u[E+2],i=u[E+3],u[E]=e*a+o*c+r*s+i*f+l,u[E+1]=e*d+o*m+r*g+i*p+h,u[E+2]=e*v+o*b+r*y+i*x+w,u[E+3]=e*S+o*C+r*k+i*O+T;return n}(o.getImageData(0,0,n.width,n.height),e);return o.putImageData(r,0,0),tC(n,t)}(n,t.getType(),e)})}function uC(t,e){return t.toCanvas().then(function(n){return function u(n,t,e){var o=RS(n);var r=o.getImageData(0,0,n.width,n.height),i=o.getImageData(0,0,n.width,n.height);return i=function w(n,t,e){function o(n,t,e){return e<n?n=e:n<t&&(n=t),n}for(var r=Math.round(Math.sqrt(e.length)),i=Math.floor(r/2),u=n.data,a=t.data,c=n.width,s=n.height,f=0;f<s;f++)for(var l=0;l<c;l++){for(var d=0,m=0,g=0,p=0;p<r;p++)for(var h=0;h<r;h++){var v=o(l+h-i,0,c-1),b=4*(o(f+p-i,0,s-1)*c+v),y=e[p*r+h];d+=u[b]*y,m+=u[1+b]*y,g+=u[2+b]*y}var x=4*(f*c+l);a[x]=o(d,0,255),a[1+x]=o(m,0,255),a[2+x]=o(g,0,255)}return t}(r,i,e),o.putImageData(i,0,0),tC(n,t)}(n,t.getType(),e)})}function aC(e){return function(n,t){return iC(n,e([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1],t))}}function cC(n,t,e,o){return iC(n,function r(n,t,e,o){return rC(n,[t=eC(t,0,2),0,0,0,0,0,e=eC(e,0,2),0,0,0,0,0,o=eC(o,0,2),0,0,0,0,0,1,0,0,0,0,0,1])}([1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1],t,e,o))}var sC=function qF(t){return function(n){return iC(n,t)}}([-1,0,0,0,255,0,-1,0,0,255,0,0,-1,0,255,0,0,0,1,0,0,0,0,0,1]),fC=aC(function KF(n,t){return rC(n,[1,0,0,0,t=eC(255*t,-255,255),0,1,0,0,t,0,0,1,0,t,0,0,0,1,0,0,0,0,0,1])}),lC=aC(function JF(n,t){var e;return t=eC(t,-1,1),rC(n,[(e=(t*=100)<0?127+t/100*127:127*(e=0===(e=t%1)?oC[t]:oC[Math.floor(t)]*(1-e)+oC[Math.floor(t)+1]*e)+127)/127,0,0,0,.5*(127-e),0,e/127,0,0,.5*(127-e),0,0,e/127,0,.5*(127-e),0,0,0,1,0,0,0,0,0,1])}),dC=function $F(t){return function(n){return uC(n,t)}}([0,-1,0,-1,5,-1,0,-1,0]),mC=function QF(c){return function(t,e){return t.toCanvas().then(function(n){return function(n,t,e){var o=RS(n),r=new Array(256);for(var i=0;i<r.length;i++)r[i]=c(i,e);var u=function a(n,t){for(var e=n.data,o=0;o<e.length;o+=4)e[o]=t[e[o]],e[o+1]=t[e[o+1]],e[o+2]=t[e[o+2]];return n}(o.getImageData(0,0,n.width,n.height),r);return o.putImageData(u,0,0),tC(n,t)}(n,t.getType(),e)})}}(function(n,t){return 255*Math.pow(n/255,1-t)});function gC(n,t,e){var o=NS(n),r=HS(n),i=t/o,u=e/r,a=!1;(i<.5||2<i)&&(i=i<.5?.5:2,a=!0),(u<.5||2<u)&&(u=u<.5?.5:2,a=!0);var c=function s(u,a,c){return new LS(function(n){var t=NS(u),e=HS(u),o=Math.floor(t*a),r=Math.floor(e*c),i=FS(o,r);RS(i).drawImage(u,0,0,t,e,0,0,o,r),n(i)})}(n,i,u);return a?c.then(function(n){return gC(n,t,e)}):c}function pC(t,e){return t.toCanvas().then(function(n){return function a(n,t,e){var o=FS(n.width,n.height),r=RS(o),i=0,u=0;90!==(e=e<0?360+e:e)&&270!==e||VS(o,o.height,o.width);90!==e&&180!==e||(i=o.width);270!==e&&180!==e||(u=o.height);return r.translate(i,u),r.rotate(e*Math.PI/180),r.drawImage(n,0,0),tC(o,t)}(n,t.getType(),e)})}function hC(t,e){return t.toCanvas().then(function(n){return function i(n,t,e){var o=FS(n.width,n.height),r=RS(o);"v"===e?(r.scale(1,-1),r.drawImage(n,0,-o.height)):(r.scale(-1,1),r.drawImage(n,-o.width,0));return tC(o,t)}(n,t.getType(),e)})}function vC(t,e,o,r,i){return t.toCanvas().then(function(n){return function a(n,t,e,o,r,i){var u=FS(r,i);return RS(u).drawImage(n,-e,-o),tC(u,t)}(n,t.getType(),e,o,r,i)})}function bC(n){return sC(n)}function yC(n){return dC(n)}function xC(n,t){return mC(n,t)}function wC(n,t){return fC(n,t)}function SC(n,t){return lC(n,t)}function CC(n,t){return hC(n,t)}function kC(n,t,e){return function r(t,e,o){return t.toCanvas().then(function(n){return gC(n,e,o).then(function(n){return tC(n,t.getType())})})}(n,t,e)}function OC(n,t){return pC(n,t)}function TC(n,t){return P({dom:{tag:"span",innerHtml:n,classes:["tox-icon","tox-tbtn__icon-wrap"]}},t)}function EC(n,t){return TC(vm(n,t),{})}function BC(n,t){return TC(vm(n,t),{behaviours:va([lg.config({})])})}function DC(n,t,e){return{dom:{tag:"span",innerHtml:e.translate(n),classes:[t+"__select-label"]},behaviours:va([lg.config({})])}}function _C(n,t,o){function e(n,t){var e=Qf.getValue(n);return pg.focus(e),Yt(e,"keydown",{raw:t.event().raw()}),vw.close(e),on.some(!0)}var r=Te(Z),i=n.text.map(function(n){return pm(DC(n,t,o.providers))}),u=n.icon.map(function(n){return pm(BC(n,o.providers.icons))}),a=n.role.fold(function(){return{}},function(n){return{role:n}}),c=n.tooltip.fold(function(){return{}},function(n){var t=o.providers.translate(n);return{title:t,"aria-label":t}});return pm(vw.sketch(P(P({},a),{dom:{tag:"button",classes:[t,t+"--select"].concat(w(n.classes,function(n){return t+"--"+n})),attributes:P({},c)},components:Th([u.map(function(n){return n.asSpec()}),i.map(function(n){return n.asSpec()}),on.some({dom:{tag:"div",classes:[t+"__select-chevron"],innerHtml:vm("chevron-down",o.providers.icons)}})]),matchWidth:!0,useMinWidth:!0,dropdownBehaviours:va(g(n.dropdownBehaviours,[Ch(n.disabled),bw.config({}),lg.config({}),qd("dropdown-events",[kp(n,r),Op(n,r)]),qd("menubutton-update-display-text",[or(tk,function(t,e){i.bind(function(n){return n.getOpt(t)}).each(function(n){lg.set(n,[ki(o.providers.translate(e.event().text()))])})}),or(ek,function(t,e){u.bind(function(n){return n.getOpt(t)}).each(function(n){lg.set(n,[BC(e.event().icon(),o.providers.icons)])})})])])),eventOrder:Dn(nk,{mousedown:["focusing","alloy.base.behaviour","item-type-events","normal-dropdown-events"]}),sandboxBehaviours:va([sg.config({mode:"special",onLeft:e,onRight:e})]),lazySink:o.getSink,toggleClass:t+"--active",parts:{menu:xv(0,n.columns,n.presets)},fetch:function(){return By(n.fetch)}}))).asSpec()}function AC(n){return"separator"===n.type}function MC(n,e){var t=k(n,function(n,t){return function(n){return cn(n)}(t)?""===t?n:"|"===t?0<n.length&&!AC(n[n.length-1])?n.concat([ok]):n:Tn(e,t.toLowerCase())?n.concat([e[t.toLowerCase()]]):n:n.concat([t])},[]);return 0<t.length&&AC(t[t.length-1])&&t.pop(),t}function FC(n,t){return function(n){return Tn(n,"getSubmenuItems")}(n)?function(n,t){var e=n.getSubmenuItems(),o=rk(e,t);return{item:n,menus:Dn(o.menus,q(n.value,o.items)),expansions:Dn(o.expansions,q(n.value,n.value))}}(n,t):{item:n,menus:{},expansions:{}}}function IC(n,e,o,t){var r=Vr("primary-menu"),i=rk(n,o.shared.providers.menuItems());if(0===i.items.length)return on.none();var u=ob(r,i.items,e,o,t),a=L(i.menus,function(n,t){return ob(t,n,e,o,!1)}),c=Dn(a,q(r,u));return on.from(Pg.tieredData(r,c,i.expansions))}function RC(e){return{isDisabled:function(){return wh.isDisabled(e)},setDisabled:function(n){return wh.set(e,n)},setActive:function(n){var t=e.element();n?(ni(t,"tox-tbtn--enabled"),Dr(t,"aria-pressed",!0)):(ei(t,"tox-tbtn--enabled"),Mr(t,"aria-pressed"))},isActive:function(){return oi(e.element(),"tox-tbtn--enabled")}}}function VC(n,t,e,o){return _C({text:n.text,icon:n.icon,tooltip:n.tooltip,role:o,fetch:function(t){n.fetch(function(n){t(IC(n,Ah.CLOSE_ON_EXECUTE,e,!1))})},onSetup:n.onSetup,getApi:RC,columns:1,presets:"normal",classes:[],dropdownBehaviours:[Ny.config({})]},t,e.shared)}function NC(t,o,r){return function(n){n(w(t,function(n){var t=n.text.fold(function(){return{}},function(n){return{text:n}});return P(P({type:n.type},t),{onAction:function(e){return function(n){r.shared.getSink().each(function(n){o().getOpt(n).each(function(n){xa(n.element()),Yt(n,ty,{name:e.name,value:e.storage.get()})})});var t=!n.isActive();n.setActive(t),e.storage.set(t)}}(n),onSetup:function(t){return function(n){n.setActive(t.storage.get())}}(n)})}))}}function HC(n,t,e,o,r){void 0===e&&(e=[]);var i=t.fold(function(){return{}},function(n){return{action:n}}),u=P({buttonBehaviours:va([Ch(n.disabled),Ny.config({}),qd("button press",[er("click"),er("mousedown")])].concat(e)),eventOrder:{click:["button press","alloy.base.behaviour"],mousedown:["button press","alloy.base.behaviour"]}},i),a=Dn(u,{dom:o});return Dn(a,{components:r})}function PC(n,t,e,o){void 0===o&&(o=[]);var r={tag:"button",classes:["tox-tbtn"],attributes:n.tooltip.map(function(n){return{"aria-label":e.translate(n),title:e.translate(n)}}).getOr({})},i=n.icon.map(function(n){return EC(n,e.icons)}),u=Th([i]);return HC(n,t,o,r,u)}function zC(n,t,e,o){void 0===o&&(o=[]);var r=PC(n,on.some(t),e,o);return Ug.sketch(r)}function LC(n,t,e,o,r){void 0===o&&(o=[]),void 0===r&&(r=[]);var i=e.translate(n.text),u=n.icon?n.icon.map(function(n){return EC(n,e.icons)}):on.none(),a=u.isSome()?Th([u]):[],c=u.isSome()?{}:{innerHtml:i},s=g(n.primary||n.borderless?["tox-button"]:["tox-button","tox-button--secondary"],u.isSome()?["tox-button--icon"]:[],n.borderless?["tox-button--naked"]:[],r),f=P(P({tag:"button",classes:s},c),{attributes:{title:i}});return HC(n,t,o,f,a)}function jC(n,t,e,o,r){void 0===o&&(o=[]),void 0===r&&(r=[]);var i=LC(n,on.some(t),e,o,r);return Ug.sketch(i)}function UC(t,e){return function(n){"custom"===e?Yt(n,ty,{name:t,value:{}}):"submit"===e?Xt(n,ey):"cancel"===e?Xt(n,ny):H.console.error("Unknown button type: ",e)}}function WC(n,t,e){if(function(n,t){return"menu"===t}(0,t)){var o=n,r=P(P({},n),{fetch:NC(o.items,function(){return i},e)}),i=pm(VC(r,"tox-tbtn",e,on.none()));return i.asSpec()}if(function(n,t){return"custom"===t||"cancel"===t||"submit"===t}(0,t)){var u=UC(n.name,t),a=P(P({},n),{borderless:!1});return jC(a,u,e.shared.providers,[])}H.console.error("Unknown footer button type: ",t)}function GC(n,t){var e=UC(n.name,"custom");return function(n,t){return xy(n,t,[],[])}(on.none(),sy.parts().field(P({factory:Ug},LC(n,on.some(e),t,[TS(""),vS()]))))}function XC(n,t){return yl({factory:sy,name:n,overrides:function(o){return{fieldBehaviours:va([qd("coupled-input-behaviour",[or(go(),function(e){(function(n,t,e){return Ys(n,t,e).bind(Ql.getCurrent)})(e,o,t).each(function(t){Ys(e,o,"lock").each(function(n){wg.isOn(n)&&o.onLockedChange(e,t,n)})})})])])}}})}function YC(n){var t=/^\s*(\d+(?:\.\d+)?)\s*(|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)\s*$/.exec(n);if(null===t)return an.error(n);var e=parseFloat(t[1]),o=t[2];return an.value({value:e,unit:o})}function qC(n,t){function e(n){return Object.prototype.hasOwnProperty.call(o,n)}var o={"":96,px:96,pt:72,cm:2.54,pc:12,mm:25.4,"in":1};return n.unit===t?on.some(n.value):e(n.unit)&&e(t)?o[n.unit]===o[t]?on.some(n.value):on.some(n.value/o[n.unit]*o[t]):on.none()}function KC(n){return on.none()}function JC(n,t){return function(n,t,e){return n.isSome()&&t.isSome()?on.some(e(n.getOrDie(),t.getOrDie())):on.none()}(YC(n).toOption(),YC(t).toOption(),function(n,t){return qC(n,t.unit).map(function(n){return t.value/n}).map(function(n){return function(t,e){return function(n){return qC(n,e).map(function(n){return{value:n*t,unit:e}})}}(n,t.unit)}).getOr(KC)}).getOr(KC)}function $C(o,t){function n(n){return{dom:{tag:"div",classes:["tox-form__group"]},components:n}}function e(e){return sy.parts().field({factory:ly,inputClasses:["tox-textfield"],inputBehaviours:va([wh.config({disabled:o.disabled}),Ny.config({}),qd("size-input-events",[or(so(),function(n,t){Yt(n,i,{isField1:e})}),or(po(),function(n,t){Yt(n,Qb,{name:o.name})})])]),selectOnFocus:!1})}function r(n){return{dom:{tag:"label",classes:["tox-label"],innerHtml:t.translate(n)}}}var a=KC,i=Vr("ratio-event"),u=ak.parts().lock({dom:{tag:"button",classes:["tox-lock","tox-button","tox-button--naked","tox-button--icon"],attributes:{title:t.translate(o.label.getOr("Constrain proportions"))}},components:[{dom:{tag:"span",classes:["tox-icon","tox-lock-icon__lock"],innerHtml:vm("lock",t.icons)}},{dom:{tag:"span",classes:["tox-icon","tox-lock-icon__unlock"],innerHtml:vm("unlock",t.icons)}}],buttonBehaviours:va([Ch(o.disabled),Ny.config({})])}),c=ak.parts().field1(n([sy.parts().label(r("Width")),e(!0)])),s=ak.parts().field2(n([sy.parts().label(r("Height")),e(!1)]));return ak.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:[{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:[c,s,n([r(" "),u])]}],field1Name:"width",field2Name:"height",locked:!0,markers:{lockClass:"tox-locked"},onLockedChange:function(n,t,e){YC(Qf.getValue(n)).each(function(n){a(n).each(function(n){Qf.setValue(t,function(n){var t,e={"":0,px:0,pt:1,mm:1,pc:2,ex:2,em:2,ch:2,rem:2,cm:3,"in":4,"%":4},o=n.value.toFixed((t=n.unit)in e?e[t]:1);return-1!==o.indexOf(".")&&(o=o.replace(/\.?0*$/,"")),o+n.unit}(n))})})},coupledFieldBehaviours:va([wh.config({disabled:o.disabled,onDisabled:function(n){ak.getField1(n).bind(sy.getField).each(wh.disable),ak.getField2(n).bind(sy.getField).each(wh.disable),ak.getLock(n).each(wh.disable)},onEnabled:function(n){ak.getField1(n).bind(sy.getField).each(wh.enable),ak.getField2(n).bind(sy.getField).each(wh.enable),ak.getLock(n).each(wh.enable)}}),qd("size-input-events2",[or(i,function(n,t){var e=t.event().isField1(),o=e?ak.getField1(n):ak.getField2(n),r=e?ak.getField2(n):ak.getField1(n),i=o.map(Qf.getValue).getOr(""),u=r.map(Qf.getValue).getOr("");a=JC(i,u)})])])})}function QC(r,c){function n(n,t,e,o){return pm(jC({name:n,text:n,disabled:e,primary:o,icon:on.none(),borderless:!1},t,c))}function t(n,t,e,o){return pm(zC({name:n,icon:on.some(n),tooltip:on.some(t),disabled:o,primary:!1,borderless:!1},e,c))}function u(n,e){n.map(function(n){var t=n.get(e);t.hasConfigured(wh)&&wh.disable(t)})}function a(n,e){n.map(function(n){var t=n.get(e);t.hasConfigured(wh)&&wh.enable(t)})}function i(n,t,e){Yt(n,t,e)}function e(n){return Xt(n,dk.disable())}function o(n){return Xt(n,dk.enable())}function s(n,t){e(n),i(n,ck.transform(),{transform:t}),o(n)}function f(n){return function(){Q.getOpt(n).each(function(n){lg.set(n,[J])})}}function l(n,t){e(n),i(n,ck.transformApply(),{transform:t,swap:f(n)}),o(n)}function d(){return n("Back",function(n){return i(n,ck.back(),{swap:f(n)})},!1,!1)}function m(){return pm({dom:{tag:"div",classes:["tox-spacer"]},behaviours:va([wh.config({})])})}function g(){return n("Apply",function(n){return i(n,ck.apply(),{swap:f(n)})},!0,!0)}function p(){return function(n){var t=r.getRect();return function(n,t,e,o,r){return vC(n,t,e,o,r)}(n,t.x,t.y,t.w,t.h)}}function h(t,e){return function(n){return t(n,e)}}function v(n,t){!function(n,t){e(n),i(n,ck.tempTransform(),{transform:t}),o(n)}(n,t)}function b(n,t,e,o,r){var i=iS.parts().label({dom:{tag:"label",classes:["tox-label"],innerHtml:c.translate(n)}}),u=iS.parts().spectrum({dom:{tag:"div",classes:["tox-slider__rail"],attributes:{role:"presentation"}}}),a=iS.parts().thumb({dom:{tag:"div",classes:["tox-slider__handle"],attributes:{role:"presentation"}}});return pm(iS.sketch({dom:{tag:"div",classes:["tox-slider"],attributes:{role:"presentation"}},model:{mode:"x",minX:e,maxX:r,getInitialValue:nn({x:nn(o)})},components:[i,u,a],sliderBehaviours:va([pg.config({})]),onChoose:t}))}function y(n,t,e,o,r){return[d(),function(n,r,t,e,o){return b(n,function(n,t,e){var o=h(r,e.x()/100);s(n,o)},t,e,o)}(n,t,e,o,r),g()]}function x(n,t,e,o,r){var i=y(n,t,e,o,r);return Hb.sketch({dom:k,components:i.map(function(n){return n.asSpec()}),containerBehaviours:va([qd("image-tools-filter-panel-buttons-events",[or(dk.disable(),function(n,t){u(i,n)}),or(dk.enable(),function(n,t){a(i,n)})])])})}function w(t,e,o){return function(n){return function(n,t,e,o){return cC(n,t,e,o)}(n,t,e,o)}}function S(n){return b(n,function(a,n,t){var e=j.getOpt(a),o=W.getOpt(a),r=U.getOpt(a);e.each(function(u){o.each(function(i){r.each(function(n){var t=Qf.getValue(u).x()/100,e=Qf.getValue(n).x()/100,o=Qf.getValue(i).x()/100,r=w(t,e,o);s(a,r)})})})},0,100,200)}function C(t,e,o){return function(n){i(n,ck.swap(),{transform:e,swap:function(){Q.getOpt(n).each(function(n){lg.set(n,[t]),o(n)})}})}}var k={tag:"div",classes:["tox-image-tools__toolbar","tox-image-tools-edit-panel"]},O=Z,T=[d(),m(),n("Apply",function(n){var t=p();l(n,t),r.hideCrop()},!1,!0)],E=Hb.sketch({dom:k,components:T.map(function(n){return n.asSpec()}),containerBehaviours:va([qd("image-tools-crop-buttons-events",[or(dk.disable(),function(n,t){u(T,n)}),or(dk.enable(),function(n,t){a(T,n)})])])}),B=pm($C({name:"size",label:on.none(),constrain:!0,disabled:!1},c)),D=[d(),m(),B,m(),n("Apply",function(o){B.getOpt(o).each(function(n){var t=Qf.getValue(n),e=function(t,e){return function(n){return kC(n,t,e)}}(parseInt(t.width,10),parseInt(t.height,10));l(o,e)})},!1,!0)],_=Hb.sketch({dom:k,components:D.map(function(n){return n.asSpec()}),containerBehaviours:va([qd("image-tools-resize-buttons-events",[or(dk.disable(),function(n,t){u(D,n)}),or(dk.enable(),function(n,t){a(D,n)})])])}),A=h(CC,"h"),M=h(CC,"v"),F=h(OC,-90),I=h(OC,90),R=[d(),m(),t("flip-horizontally","Flip horizontally",function(n){v(n,A)},!1),t("flip-vertically","Flip vertically",function(n){v(n,M)},!1),t("rotate-left","Rotate counterclockwise",function(n){v(n,F)},!1),t("rotate-right","Rotate clockwise",function(n){v(n,I)},!1),m(),g()],V=Hb.sketch({dom:k,components:R.map(function(n){return n.asSpec()}),containerBehaviours:va([qd("image-tools-fliprotate-buttons-events",[or(dk.disable(),function(n,t){u(R,n)}),or(dk.enable(),function(n,t){a(R,n)})])])}),N=[d(),m(),g()],H=Hb.sketch({dom:k,components:N.map(function(n){return n.asSpec()})}),P=x("Brightness",wC,-100,0,100),z=x("Contrast",SC,-100,0,100),L=x("Gamma",xC,-100,0,100),j=S("R"),U=S("G"),W=S("B"),G=[d(),j,U,W,g()],X=Hb.sketch({dom:k,components:G.map(function(n){return n.asSpec()})}),Y=on.some(yC),q=on.some(bC),K=[t("crop","Crop",C(E,on.none(),function(n){r.showCrop()}),!1),t("resize","Resize",C(_,on.none(),function(n){B.getOpt(n).each(function(n){var t=r.getMeasurements(),e=t.width,o=t.height;Qf.setValue(n,{width:e,height:o})})}),!1),t("orientation","Orientation",C(V,on.none(),O),!1),t("brightness","Brightness",C(P,on.none(),O),!1),t("sharpen","Sharpen",C(H,Y,O),!1),t("contrast","Contrast",C(z,on.none(),O),!1),t("color-levels","Color levels",C(X,on.none(),O),!1),t("gamma","Gamma",C(L,on.none(),O),!1),t("invert","Invert",C(H,q,O),!1)],J=Hb.sketch({dom:k,components:K.map(function(n){return n.asSpec()})}),$=Hb.sketch({dom:{tag:"div"},components:[J],containerBehaviours:va([lg.config({})])}),Q=pm($);return{memContainer:Q,getApplyButton:function(n){return Q.getOpt(n).map(function(n){var t=n.components()[0];return t.components()[t.components().length-1]})}}}var ZC=Vr("toolbar.button.execute"),nk={"alloy.execute":["disabling","alloy.base.behaviour","toggling","toolbar-button-events"]},tk=Vr("update-menu-text"),ek=Vr("update-menu-icon"),ok={type:"separator"},rk=function(n,r){var t=MC(cn(n)?n.split(" "):n,r);return C(t,function(n,t){var e=function(n){if(AC(n))return n;var t=Nn(n,"value").getOrThunk(function(){return Vr("generated-menu-item")});return Dn({value:t},n)}(t),o=FC(e,r);return{menus:Dn(n.menus,o.menus),items:[o.item].concat(n.items),expansions:Dn(n.expansions,o.expansions)}},{menus:{},expansions:{},items:[]})},ik=nn([St("field1Name","field1"),St("field2Name","field2"),Ku("onLockedChange"),Gu(["lockClass"]),St("locked",!1),Zf("coupledFieldBehaviours",[Ql,Qf])]),uk=nn([XC("field1","field2"),XC("field2","field1"),yl({factory:Ug,schema:[ct("dom")],name:"lock",overrides:function(n){return{buttonBehaviours:va([wg.config({selected:n.locked,toggleClass:n.markers.lockClass,aria:{mode:"pressed"}})])}}})]),ak=Dl({name:"FormCoupledInputs",configFields:ik(),partFields:uk(),factory:function(o,n,t,e){return{uid:o.uid,dom:o.dom,components:n,behaviours:nl(o.coupledFieldBehaviours,[Ql.config({find:on.some}),Qf.config({store:{mode:"manual",getValue:function(n){var t,e=Qs(n,o,["field1","field2"]);return(t={})[o.field1Name]=Qf.getValue(e.field1()),t[o.field2Name]=Qf.getValue(e.field2()),t},setValue:function(n,t){var e=Qs(n,o,["field1","field2"]);$(t,o.field1Name)&&Qf.setValue(e.field1(),t[o.field1Name]),$(t,o.field2Name)&&Qf.setValue(e.field2(),t[o.field2Name])}}})]),apis:{getField1:function(n){return Ys(n,o,"field1")},getField2:function(n){return Ys(n,o,"field2")},getLock:function(n){return Ys(n,o,"lock")}}}},apis:{getField1:function(n,t){return n.getField1(t)},getField2:function(n,t){return n.getField2(t)},getLock:function(n,t){return n.getLock(t)}}}),ck={undo:nn(Vr("undo")),redo:nn(Vr("redo")),zoom:nn(Vr("zoom")),back:nn(Vr("back")),apply:nn(Vr("apply")),swap:nn(Vr("swap")),transform:nn(Vr("transform")),tempTransform:nn(Vr("temp-transform")),transformApply:nn(Vr("transform-apply"))},sk=nn("save-state"),fk=nn("disable"),lk=nn("enable"),dk={formActionEvent:ty,saveState:sk,disable:fk,enable:lk},mk=tinymce.util.Tools.resolve("tinymce.dom.DomQuery"),gk=tinymce.util.Tools.resolve("tinymce.geom.Rect"),pk=tinymce.util.Tools.resolve("tinymce.util.Observable"),hk=tinymce.util.Tools.resolve("tinymce.util.Tools"),vk=tinymce.util.Tools.resolve("tinymce.util.VK");function bk(n){var t,e;if(n.changedTouches)for(t="screenX screenY pageX pageY clientX clientY".split(" "),e=0;e<t.length;e++)n[t[e]]=n.changedTouches[0][t[e]]}function yk(n,r){var i,u,t,a,c,f,l,d=r.document||H.document;r=r||{};var m=d.getElementById(r.handle||n);t=function(n){var t,e,o=function s(n){var t,e,o,r,i,u,a,c=Math.max;return t=n.documentElement,e=n.body,o=c(t.scrollWidth,e.scrollWidth),r=c(t.clientWidth,e.clientWidth),i=c(t.offsetWidth,e.offsetWidth),u=c(t.scrollHeight,e.scrollHeight),a=c(t.clientHeight,e.clientHeight),{width:o<i?r:o,height:u<c(t.offsetHeight,e.offsetHeight)?a:u}}(d);bk(n),n.preventDefault(),u=n.button,t=m,f=n.screenX,l=n.screenY,e=H.window.getComputedStyle?H.window.getComputedStyle(t,null).getPropertyValue("cursor"):t.runtimeStyle.cursor,i=mk("<div></div>").css({position:"absolute",top:0,left:0,width:o.width,height:o.height,zIndex:2147483647,opacity:1e-4,cursor:e}).appendTo(d.body),mk(d).on("mousemove touchmove",c).on("mouseup touchend",a),r.start(n)},c=function(n){if(bk(n),n.button!==u)return a(n);n.deltaX=n.screenX-f,n.deltaY=n.screenY-l,n.preventDefault(),r.drag(n)},a=function(n){bk(n),mk(d).off("mousemove touchmove",c).off("mouseup touchend",a),i.remove(),r.stop&&r.stop(n)},this.destroy=function(){mk(m).off()},mk(m).on("mousedown touchstart",t)}function xk(t){function u(n,s){c.getOpt(n).each(function(n){var e=l.get(),o=du(n.element()),r=cu(n.element()),i=s.dom().naturalWidth*e,u=s.dom().naturalHeight*e,a=Math.max(0,o/2-i/2),c=Math.max(0,r/2-u/2),t={left:a.toString()+"px",top:c.toString()+"px",width:i.toString()+"px",height:u.toString()+"px",position:"absolute"};fi(s,t),f.getOpt(n).each(function(n){fi(n.element(),t)}),d.get().each(function(n){var t=m.get();n.setRect({x:t.x*e+a,y:t.y*e+c,w:t.w*e,h:t.h*e}),n.setClampRect({x:a,y:c,w:i,h:u}),n.setViewPortRect({x:0,y:0,w:o,h:r})})})}function e(n,t){var i=Be.fromTag("img");return Dr(i,"src",t),function(e){return new Rp(function(n){var t=function(){e.removeEventListener("load",t),n(e)};e.complete?n(e):e.addEventListener("load",t)})}(i.dom()).then(function(){return c.getOpt(n).map(function(n){var t=ou({element:i});lg.replaceAt(n,1,on.some(t));var e=a.get(),o={x:0,y:0,w:i.dom().naturalWidth,h:i.dom().naturalHeight};a.set(o);var r=gk.inflate(o,-20,-20);return m.set(r),e.w===o.w&&e.h===o.h||function(n,u){c.getOpt(n).each(function(n){var t=du(n.element()),e=cu(n.element()),o=u.dom().naturalWidth,r=u.dom().naturalHeight,i=Math.min(t/o,e/r);1<=i?l.set(1):l.set(i)})}(n,i),u(n,i),i})})}var f=pm({dom:{tag:"div",classes:["tox-image-tools__image-bg"],attributes:{role:"presentation"}}}),l=Te(1),d=Te(on.none()),m=Te({x:0,y:0,w:1,h:1}),a=Te({x:0,y:0,w:1,h:1}),n=Hb.sketch({dom:{tag:"div",classes:["tox-image-tools__image"]},components:[f.asSpec(),{dom:{tag:"img",attributes:{src:t}}},{dom:{tag:"div"},behaviours:va([qd("image-panel-crop-events",[Fi(function(n){c.getOpt(n).each(function(n){var t=n.element().dom(),e=kk({x:10,y:10,w:100,h:100},{x:0,y:0,w:200,h:200},{x:0,y:0,w:200,h:200},t,function(){});e.toggleVisibility(!1),e.on("updateRect",function(n){var t=n.rect,e=l.get(),o={x:Math.round(t.x/e),y:Math.round(t.y/e),w:Math.round(t.w/e),h:Math.round(t.h/e)};m.set(o)}),d.set(on.some(e))})})])])}],containerBehaviours:va([lg.config({}),qd("image-panel-events",[Fi(function(n){e(n,t)})])])}),c=pm(n);return{memContainer:c,updateSrc:e,zoom:function(n,t){var e=l.get(),o=0<t?Math.min(2,e+.1):Math.max(.1,e-.1);l.set(o),c.getOpt(n).each(function(n){var t=n.components()[1].element();u(n,t)})},showCrop:function(){d.get().each(function(n){n.toggleVisibility(!0)})},hideCrop:function(){d.get().each(function(n){n.toggleVisibility(!1)})},getRect:function(){return m.get()},getMeasurements:function(){var n=a.get();return{width:n.w,height:n.h}}}}function wk(n,t,e,o,r){return zC({name:n,icon:on.some(t),disabled:e,tooltip:on.some(n),primary:!1,borderless:!1},o,r)}function Sk(n,t){t?wh.enable(n):wh.disable(n)}var Ck=0,kk=function(s,e,f,o,r){var l,t,i,u="tox-",a="tox-crid-"+Ck++,c=[{name:"move",xMul:0,yMul:0,deltaX:1,deltaY:1,deltaW:0,deltaH:0,label:"Crop Mask"},{name:"nw",xMul:0,yMul:0,deltaX:1,deltaY:1,deltaW:-1,deltaH:-1,label:"Top Left Crop Handle"},{name:"ne",xMul:1,yMul:0,deltaX:0,deltaY:1,deltaW:1,deltaH:-1,label:"Top Right Crop Handle"},{name:"sw",xMul:0,yMul:1,deltaX:1,deltaY:0,deltaW:-1,deltaH:1,label:"Bottom Left Crop Handle"},{name:"se",xMul:1,yMul:1,deltaX:0,deltaY:0,deltaW:1,deltaH:1,label:"Bottom Right Crop Handle"}];i=["top","right","bottom","left"];var d=function(n,t){return{x:t.x+n.x,y:t.y+n.y,w:t.w,h:t.h}},m=function(n,t){return{x:t.x-n.x,y:t.y-n.y,w:t.w,h:t.h}};function g(n,t,e,o){var r,i,u,a,c;r=t.x,i=t.y,u=t.w,a=t.h,r+=e*n.deltaX,i+=o*n.deltaY,(u+=e*n.deltaW)<20&&(u=20),(a+=o*n.deltaH)<20&&(a=20),c=s=gk.clamp({x:r,y:i,w:u,h:a},f,"move"===n.name),c=m(f,c),l.fire("updateRect",{rect:c}),v(c)}function p(t){function n(n,t){t.h<0&&(t.h=0),t.w<0&&(t.w=0),mk("#"+a+"-"+n,o).css({left:t.x,top:t.y,width:t.w,height:t.h})}hk.each(c,function(n){mk("#"+a+"-"+n.name,o).css({left:t.w*n.xMul+t.x,top:t.h*n.yMul+t.y})}),n("top",{x:e.x,y:e.y,w:e.w,h:t.y-e.y}),n("right",{x:t.x+t.w,y:t.y,w:e.w-t.x-t.w+e.x,h:t.h}),n("bottom",{x:e.x,y:t.y+t.h,w:e.w,h:e.h-t.y-t.h+e.y}),n("left",{x:e.x,y:t.y,w:t.x-e.x,h:t.h}),n("move",t)}function h(n){p(s=n)}function v(n){h(d(f,n))}return function b(){mk('<div id="'+a+'" class="'+u+'croprect-container" role="grid" aria-dropeffect="execute">').appendTo(o),hk.each(i,function(n){mk("#"+a,o).append('<div id="'+a+"-"+n+'"class="'+u+'croprect-block" style="display: none" data-mce-bogus="all">')}),hk.each(c,function(n){mk("#"+a,o).append('<div id="'+a+"-"+n.name+'" class="'+u+"croprect-handle "+u+"croprect-handle-"+n.name+'"style="display: none" data-mce-bogus="all" role="gridcell" tabindex="-1" aria-label="'+n.label+'" aria-grabbed="false" title="'+n.label+'">')}),t=hk.map(c,function n(t){var e;return new yk(a,{document:o.ownerDocument,handle:a+"-"+t.name,start:function(){e=s},drag:function(n){g(t,e,n.deltaX,n.deltaY)}})}),p(s),mk(o).on("focusin focusout",function(n){mk(n.target).attr("aria-grabbed","focus"===n.type?"true":"false")}),mk(o).on("keydown",function(t){var i;function n(n,t,e,o,r){n.stopPropagation(),n.preventDefault(),g(i,e,o,r)}switch(hk.each(c,function(n){if(t.target.id===a+"-"+n.name)return i=n,!1}),t.keyCode){case vk.LEFT:n(t,0,s,-10,0);break;case vk.RIGHT:n(t,0,s,10,0);break;case vk.UP:n(t,0,s,0,-10);break;case vk.DOWN:n(t,0,s,0,10);break;case vk.ENTER:case vk.SPACEBAR:t.preventDefault(),r()}})}(),l=hk.extend({toggleVisibility:function y(n){var t;t=hk.map(c,function(n){return"#"+a+"-"+n.name}).concat(hk.map(i,function(n){return"#"+a+"-"+n})).join(","),n?mk(t,o).show():mk(t,o).hide()},setClampRect:function x(n){f=n,p(s)},setRect:h,getInnerRect:function(){return m(f,s)},setInnerRect:v,setViewPortRect:function w(n){e=n,p(s)},destroy:function n(){hk.each(t,function(n){n.destroy()}),t=[]}},pk)};function Ok(n){var t=Te(n),e=Te(on.none()),o=function s(){var e=[],o=-1;function n(){return 0<o}function t(){return-1!==o&&o<e.length-1}return{data:e,add:function r(n){var t;return t=e.splice(++o),e.push(n),{state:n,removed:t}},undo:function i(){if(n())return e[--o]},redo:function u(){if(t())return e[++o]},canUndo:n,canRedo:t}}();function r(n){t.set(n)}function i(n){H.URL.revokeObjectURL(n.url)}function u(n){var t=a(n);return r(t),function(n){hk.each(n,i)}(o.add(t).removed),t.url}o.add(n);var a=function(n){return{blob:n,url:H.URL.createObjectURL(n)}},c=function(){e.get().each(i),e.set(on.none())};return{getBlobState:function(){return t.get()},setBlobState:r,addBlobState:u,getTempState:function(){return e.get().fold(function(){return t.get()},function(n){return n})},updateTempState:function(n){var t=a(n);return c(),e.set(on.some(t)),t.url},addTempState:function(n){var t=a(n);return e.set(on.some(t)),t.url},applyTempState:function(t){return e.get().fold(function(){},function(n){u(n.blob),t()})},destroyTempState:c,undo:function(){var n=o.undo();return r(n),n.url},redo:function(){var n=o.redo();return r(n),n.url},getHistoryStates:function(){return{undoEnabled:o.canUndo(),redoEnabled:o.canRedo()}}}}function Tk(n,t){function i(n){var t=s.getHistoryStates();m.updateButtonUndoStates(n,t.undoEnabled,t.redoEnabled),Yt(n,dk.formActionEvent,{name:dk.saveState(),value:t.undoEnabled})}function u(n){return n.toBlob()}function a(n){Yt(n,dk.formActionEvent,{name:dk.disable(),value:{}})}function r(t,n,e,o,r){return a(t),function(n){return nC(n)}(n).then(e).then(u).then(o).then(function(n){return l(t,n).then(function(n){return i(t),r(),f(t),n})})["catch"](function(n){return H.console.log(n),f(t),n})}function c(n,t,e){var o=s.getBlobState().blob;r(n,o,t,function(n){return s.updateTempState(n)},e)}var s=Ok(n.currentState),f=function(n){e.getApplyButton(n).each(function(n){wh.enable(n)}),Yt(n,dk.formActionEvent,{name:dk.enable(),value:{}})},l=function(n,t){return a(n),o.updateSrc(n,t)},d=function(n){var t=s.getBlobState().url;return s.destroyTempState(),i(n),t},o=xk(n.currentState.url),m=function(n){var o=pm(wk("Undo","undo",!0,function(n){Yt(n,ck.undo(),{direction:1})},n)),r=pm(wk("Redo","redo",!0,function(n){Yt(n,ck.redo(),{direction:1})},n));return{container:Hb.sketch({dom:{tag:"div",classes:["tox-image-tools__toolbar","tox-image-tools__sidebar"]},components:[o.asSpec(),r.asSpec(),wk("Zoom in","zoom-in",!1,function(n){Yt(n,ck.zoom(),{direction:1})},n),wk("Zoom out","zoom-out",!1,function(n){Yt(n,ck.zoom(),{direction:-1})},n)]}),updateButtonUndoStates:function(n,t,e){o.getOpt(n).each(function(n){Sk(n,t)}),r.getOpt(n).each(function(n){Sk(n,e)})}}}(t),e=QC(o,t);return{dom:{tag:"div",attributes:{role:"presentation"}},components:[e.memContainer.asSpec(),o.memContainer.asSpec(),m.container],behaviours:va([Qf.config({store:{mode:"manual",getValue:function(){return s.getBlobState()}}}),qd("image-tools-events",[or(ck.undo(),function(t,n){var e=s.undo();l(t,e).then(function(n){f(t),i(t)})}),or(ck.redo(),function(t,n){var e=s.redo();l(t,e).then(function(n){f(t),i(t)})}),or(ck.zoom(),function(n,t){var e=t.event().direction();o.zoom(n,e)}),or(ck.back(),function(n,t){!function(t){var n=d(t);l(t,n).then(function(n){f(t)})}(n),t.event().swap()(),o.hideCrop()}),or(ck.apply(),function(n,t){s.applyTempState(function(){d(n),t.event().swap()()})}),or(ck.transform(),function(n,t){return c(n,t.event().transform(),Z)}),or(ck.tempTransform(),function(n,t){return function(n,t){var e=s.getTempState().blob;r(n,e,t,function(n){return s.addTempState(n)},Z)}(n,t.event().transform())}),or(ck.transformApply(),function(n,t){return function(e,n,t){var o=s.getBlobState().blob;r(e,o,n,function(n){var t=s.addBlobState(n);return d(e),t},t)}(n,t.event().transform(),t.event().swap())}),or(ck.swap(),function(t,n){!function(n){m.updateButtonUndoStates(n,!1,!1)}(t);var e=n.event().transform(),o=n.event().swap();e.fold(function(){o()},function(n){c(t,n,o)})})]),vS()])}}function Ek(e,t){var n=e.label.map(function(n){return wy(n,t)}),o=[wh.config({disabled:e.disabled}),sg.config({mode:"execution",useEnter:!0!==e.multiline,useControlEnter:!0===e.multiline,execute:function(n){return Xt(n,ey),on.some(!0)}}),qd("textfield-change",[or(go(),function(n,t){Yt(n,Qb,{name:e.name})}),or(So(),function(n,t){Yt(n,Qb,{name:e.name})})]),Ny.config({})],r=e.validation.map(function(o){return Iy.config({getRoot:function(n){return hr(n.element())},invalidClass:"tox-invalid",validator:{validate:function(n){var t=Qf.getValue(n),e=o.validator(t);return Dy(!0===e?an.value(t):an.error(e))},validateOnLoad:o.validateOnLoad}})}).toArray(),i=e.placeholder.fold(nn({}),function(n){return{placeholder:t.translate(n)}}),u=e.inputMode.fold(nn({}),function(n){return{inputmode:n}}),a=P(P({},i),u),c=sy.parts().field({tag:!0===e.multiline?"textarea":"input",inputAttributes:a,inputClasses:[e.classname],inputBehaviours:va(z([o,r])),selectOnFocus:!1,factory:ly}),s=(e.flex?["tox-form__group--stretched"]:[]).concat(e.maximized?["tox-form-group--maximize"]:[]),f=[wh.config({disabled:e.disabled,onDisabled:function(n){sy.getField(n).each(wh.disable)},onEnabled:function(n){sy.getField(n).each(wh.enable)}})];return xy(n,c,s,f)}function Bk(n){var t=Te(null);return Zi({readState:function(){return{timer:null!==t.get()?"set":"unset"}},setTimer:function(n){t.set(n)},cancel:function(){var n=t.get();null!==n&&n.cancel()}})}function Dk(n,t,e){var o=Qf.getValue(e);Qf.setValue(t,o),xT(t)}function _k(n,t){var e=n.element(),o=hi(e),r=e.dom();"number"!==_r(e,"type")&&t(r,o)}function Ak(n,t,e){if(n.selectsOver){var o=Qf.getValue(t),r=n.getDisplayText(o),i=Qf.getValue(e);return 0===n.getDisplayText(i).indexOf(r)?on.some(function(){Dk(0,t,e),function(n,e){_k(n,function(n,t){return n.setSelectionRange(e,t.length)})}(t,r.length)}):on.none()}return on.none()}function Mk(n){return OT(By(n))}function Fk(n){return{type:"menuitem",value:n.url,text:n.title,meta:{attach:n.attach},onAction:function(){}}}function Ik(n,t){return{type:"menuitem",value:t,text:n,meta:{attach:undefined},onAction:function(){}}}function Rk(n,t){return function(n){return w(n,Fk)}(function(t,n){return S(n,function(n){return n.type===t})}(n,t))}function Vk(n,t){var e=n.toLowerCase();return S(t,function(n){var t=n.meta!==undefined&&n.meta.text!==undefined?n.meta.text:n.text;return Vt(t.toLowerCase(),e)||Vt(n.value.toLowerCase(),e)})}function Nk(e,n,o){var t=Qf.getValue(n),r=t.meta.text!==undefined?t.meta.text:t.value;return o.getLinkInformation().fold(function(){return[]},function(n){var t=Vk(r,function(n){return w(n,function(n){return Ik(n,n)})}(o.getHistory(e)));return"file"===e?function(n){return k(n,function(n,t){return 0===n.length||0===t.length?n.concat(t):n.concat(ET,t)},[])}([t,Vk(r,function(n){return Rk("header",n.targets)}(n)),Vk(r,z([function(n){return on.from(n.anchorTop).map(function(n){return Ik("<top>",n)}).toArray()}(n),function(n){return Rk("anchor",n.targets)}(n),function(n){return on.from(n.anchorBottom).map(function(n){return Ik("<bottom>",n)}).toArray()}(n)]))]):t})}function Hk(r,o,i){function u(n){var t=Qf.getValue(n);i.addToHistory(t.value,r.filetype)}var n,t,e,a,c,s=o.shared.providers,f=sy.parts().field({factory:kT,dismissOnBlur:!0,inputClasses:["tox-textfield"],sandboxClasses:["tox-dialog__popups"],inputAttributes:{"aria-errormessage":BT,type:"url"},minChars:0,responseTime:0,fetch:function(n){var t=Nk(r.filetype,n,i),e=IC(t,Ah.BUBBLE_TO_SANDBOX,o,!1);return Dy(e)},getHotspot:function(n){return h.getOpt(n)},onSetValue:function(n,t){n.hasConfigured(Iy)&&Iy.run(n).get(Z)},typeaheadBehaviours:va(z([i.getValidationHandler().map(function(e){return Iy.config({getRoot:function(n){return hr(n.element())},invalidClass:"tox-control-wrap--status-invalid",notify:{onInvalid:function(n,t){d.getOpt(n).each(function(n){Dr(n.element(),"title",s.translate(t))})}},validator:{validate:function(n){var t=Qf.getValue(n);return TT(function(o){e({type:r.filetype,url:t.value},function(n){if("invalid"===n.status){var t=an.error(n.message);o(t)}else{var e=an.value(n.message);o(e)}})})},validateOnLoad:!1}})}).toArray(),[wh.config({disabled:r.disabled}),Ny.config({}),qd("urlinput-events",z(["file"===r.filetype?[or(go(),function(n){Yt(n,Qb,{name:r.name})})]:[],[or(po(),function(n){Yt(n,Qb,{name:r.name}),u(n)}),or(So(),function(n){Yt(n,Qb,{name:r.name}),u(n)})]]))]])),eventOrder:(n={},n[go()]=["streaming","urlinput-events","invalidating"],n),model:{getDisplayText:function(n){return n.value},selectsOver:!1,populateFromBrowse:!1},markers:{openClass:"tox-textfield--popup-open"},lazySink:o.shared.getSink,parts:{menu:xv(0,0,"normal")},onExecute:function(n,t,e){Yt(t,ey,{})},onItemExecute:function(n,t,e,o){u(n),Yt(n,Qb,{name:r.name})}}),l=r.label.map(function(n){return wy(n,s)}),d=pm((t="invalid",e=on.some(BT),void 0===(a="warning")&&(a=t),void 0===c&&(c=t),{dom:{tag:"div",classes:["tox-icon","tox-control-wrap__status-icon-"+t],innerHtml:vm(a,s.icons),attributes:P({title:s.translate(c),"aria-live":"polite"},e.fold(function(){return{}},function(n){return{id:n}}))}})),m=pm({dom:{tag:"div",classes:["tox-control-wrap__status-icon-wrap"]},components:[d.asSpec()]}),g=i.getUrlPicker(r.filetype),p=Vr("browser.url.event"),h=pm({dom:{tag:"div",classes:["tox-control-wrap"]},components:[f,m.asSpec()],behaviours:va([wh.config({disabled:r.disabled})])}),v=pm(jC({name:r.name,icon:on.some("browse"),text:r.label.getOr(""),disabled:r.disabled,primary:!1,borderless:!0},function(n){return Xt(n,p)},s,[],["tox-browse-url"]));return sy.sketch({dom:Py([]),components:l.toArray().concat([{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:z([[h.asSpec()],g.map(function(){return v.asSpec()}).toArray()])}]),fieldBehaviours:va([wh.config({disabled:r.disabled,onDisabled:function(n){sy.getField(n).each(wh.disable),v.getOpt(n).each(wh.disable)},onEnabled:function(n){sy.getField(n).each(wh.enable),v.getOpt(n).each(wh.enable)}}),qd("url-input-events",[or(p,function(o){Ql.getCurrent(o).each(function(t){var e=Qf.getValue(t);g.each(function(n){n(e).get(function(n){Qf.setValue(t,n),Yt(o,Qb,{name:r.name})})})})})])])})}function Pk(u,t){function n(e){return function(t,n){ku(n.event().target(),"[data-collection-item-value]").each(function(n){e(t,n,_r(n,"data-collection-item-value"))})}}var e=u.label.map(function(n){return wy(n,t)}),o=[or(co(),n(function(n,t){xa(t)})),or(Eo(),n(function(n,t,e){Yt(n,ty,{name:u.name,value:e})})),or(so(),n(function(n,t,e){Cu(n.element(),"."+lh).each(function(n){ei(n,lh)}),ni(t,lh)})),or(fo(),n(function(n,t,e){Cu(n.element(),"."+lh).each(function(n){ei(n,lh)})})),Vi(n(function(n,t,e){Yt(n,ty,{name:u.name,value:e})}))],r=sy.parts().field({dom:{tag:"div",classes:["tox-collection"].concat(1!==u.columns?["tox-collection--grid"]:["tox-collection--list"])},components:[],factory:{sketch:l},behaviours:va([lg.config({}),Qf.config({store:{mode:"memory",initialValue:[]},onSetValue:function(o,n){!function(n,t){var e=w(t,function(n){var t=eh.translate(n.text),e=1===u.columns?'<div class="tox-collection__item-label">'+t+"</div>":"",o='<div class="tox-collection__item-icon">'+n.icon+"</div>",r={_:" "," - ":" ","-":" "},i=t.replace(/\_| \- |\-/g,function(n){return r[n]});return'<div class="tox-collection__item" tabindex="-1" data-collection-item-value="'+function(n){return'"'===n?""":n}(n.value)+'" title="'+i+'" aria-label="'+i+'">'+o+e+"</div>"}),o=1<u.columns&&"auto"!==u.columns?x(e,u.columns):[e],r=w(o,function(n){return'<div class="tox-collection__group">'+n.join("")+"</div>"});Er(n.element(),r.join(""))}(o,n),"auto"===u.columns&&op(o,5,"tox-collection__item").each(function(n){var t=n.numRows,e=n.numColumns;sg.setGridSize(o,t,e)}),Xt(o,uy)}}),Ny.config({}),sg.config(function(n,t){return 1===n?{mode:"menu",moveOnTab:!1,selector:".tox-collection__item"}:"auto"===n?{mode:"flatgrid",selector:".tox-collection__item",initSize:{numColumns:1,numRows:1}}:{mode:"matrix",selectors:{row:"color"===t?".tox-swatches__row":".tox-collection__group",cell:"color"===t?"."+ih:"."+rh}}}(u.columns,"normal")),qd("collection-events",o)])});return xy(e,r,["tox-form__group--collection"],[])}function zk(r){return function(t,e,o){return Nn(e,"name").fold(function(){return r(e,o)},function(n){return t.field(n,r(e,o))})}}function Lk(t,n,e){var o=Dn(e,{shared:{interpreter:function(n){return AT(t,n,o)}}});return AT(t,n,o)}function jk(n){return{colorPicker:function(e){return function(n,t){Lv.colorPickerDialog(e)(n,t)}}(n),hasCustomColors:function(n){return function(){return Av(n)}}(n),getColors:function(n){return function(){return Mv(n)}}(n),getColorCols:function(n){return function(){return Lv.getColorCols(n)}}(n)}}function Uk(e){return function(n){return on.from(n.getParam("style_formats")).filter(fn)}(e).map(function(n){var t=function(t,n){function e(n){bn(n,function(n){t.formatter.has(n.name)||t.formatter.register(n.name,n.format)})}var o=VT(n);return t.formatter?e(o.customFormats):t.on("init",function(){e(o.customFormats)}),o.formats}(e,n);return function(n){return n.getParam("style_formats_merge",!1,"boolean")}(e)?RT.concat(t):t}).getOr(RT)}function Wk(n,t,e){var o={type:"formatter",isSelected:t(n.format),getStylePreview:e(n.format)};return Dn(n,o)}function Gk(r,n,i,u){var o=function(n){return w(n,function(n){var t=wn(n);if($(n,"items")){var e=o(n.items);return Dn(function(n){var t={type:"submenu",isSelected:nn(!1),getStylePreview:function(){return on.none()}};return Dn(n,t)}(n),{getStyleItems:function(){return e}})}return $(n,"format")?function(n){return Wk(n,i,u)}(n):1===t.length&&vn(t,"title")?Dn(n,{type:"separator"}):function(n){var t=Vr(n.title),e={type:"formatter",format:t,isSelected:i(t),getStylePreview:u(t)},o=Dn(n,e);return r.formatter.register(t,o),o}(n)})};return o(n)}function Xk(t){return function(n){if(n&&1===n.nodeType){if(n.contentEditable===t)return!0;if(n.getAttribute("data-mce-contenteditable")===t)return!0}return!1}}function Yk(n,t,e,o,r){return{type:n,title:t,url:e,level:o,attach:r}}function qk(n){return n.innerText||n.textContent}function Kk(n){return function(n){return n&&"A"===n.nodeName&&(n.id||n.name)!==undefined}(n)&&zT(n)}function Jk(n){return n&&/^(H[1-6])$/.test(n.nodeName)}function $k(n){return Jk(n)&&zT(n)}function Qk(n){var t=function(n){return n.id?n.id:Vr("h")}(n);return Yk("header",qk(n),"#"+t,function(n){return Jk(n)?parseInt(n.nodeName.substr(1),10):0}(n),function(){n.id=t})}function Zk(n){var t=n.id||n.name,e=qk(n);return Yk("anchor",e||"#"+t,"#"+t,0,Z)}function nO(n){return function(n,t){return w(Pc(Be.fromDom(t),n),function(n){return n.dom()})}("h1,h2,h3,h4,h5,h6,a:not([href])",n)}function tO(n){return 0<NT(n.title).length}function eO(n){return cn(n)&&/^https?/.test(n)}function oO(n){return sn(n)&&F(n,function(n){return!function(n){return fn(n)&&n.length<=5&&B(n,eO)}(n)}).isNone()}function rO(){var n,t=H.localStorage.getItem(jT);if(null===t)return{};try{n=JSON.parse(t)}catch(e){if(e instanceof SyntaxError)return H.console.log("Local storage "+jT+" was not valid JSON",e),{};throw e}return oO(n)?n:(H.console.log("Local storage "+jT+" was not valid format",n),{})}function iO(n){var t=rO();return Object.prototype.hasOwnProperty.call(t,n)?t[n]:[]}function uO(t,n){if(eO(t)){var e=rO(),o=Object.prototype.hasOwnProperty.call(e,n)?e[n]:[],r=S(o,function(n){return n!==t});e[n]=[t].concat(r).slice(0,5),function(n){if(!oO(n))throw new Error("Bad format for history:\n"+JSON.stringify(n));H.localStorage.setItem(jT,JSON.stringify(n))}(e)}}function aO(n){return!!n}function cO(n){return L(hk.makeMap(n,/[, ]/),aO)}function sO(n,t,e){var o=function(n,t){return UT.call(n,t)?on.some(n[t]):on.none()}(n,t).getOr(e);return cn(o)?on.some(o):on.none()}function fO(n){return on.some(n.file_picker_callback).filter(dn)}function lO(n,t){var e=function(n){var t=on.some(n.file_picker_types).filter(aO),e=on.some(n.file_browser_callback_types).filter(aO),o=t.or(e).map(cO);return fO(n).fold(function(){return!1},function(n){return o.fold(function(){return!0},function(n){return 0<wn(n).length&&n})})}(n);return ln(e)?e?fO(n):on.none():e[t]?fO(n):on.none()}function dO(t){return{getHistory:iO,addToHistory:uO,getLinkInformation:function(){return function(n){return!1===n.settings.typeahead_urls?on.none():on.some({targets:LT(n.getBody()),anchorTop:sO(n.settings,"anchor_top","#top").getOrUndefined(),anchorBottom:sO(n.settings,"anchor_bottom","#bottom").getOrUndefined()})}(t)},getValidationHandler:function(){return function(n){return on.from(n.settings.file_picker_validator_handler).filter(dn).orThunk(function(){return on.from(n.settings.filepicker_validator_handler).filter(dn)})}(t)},getUrlPicker:function(n){return function(r,i){return lO(r.settings,i).map(function(o){return function(t){return By(function(e){var n=hk.extend({filetype:i},on.from(t.meta).getOr({}));o.call(r,function(n,t){if(!cn(n))throw new Error("Expected value to be string");if(t!==undefined&&!sn(t))throw new Error("Expected meta to be a object");e({value:n,meta:t})},t.value,n)})}})}(t,n)}}}function mO(n,t,e,o){var r=Te(!1),i={shared:{providers:{icons:function(){return t.ui.registry.getAll().icons},menuItems:function(){return t.ui.registry.getAll().menuItems},translate:eh.translate},interpreter:function(n){return function(n,t){return AT(_T,n,t)}(n,i)},anchors:IT(t,e,o),getSink:function(){return an.value(n)}},urlinput:dO(t),styleselect:function(e){function o(n){return function(){return e.formatter.match(n)}}function r(t){return function(){var n=e.formatter.get(t);return n!==undefined?on.some({tag:0<n.length&&(n[0].inline||n[0].block)||"div",styleAttr:e.formatter.getCssText(t)}):on.none()}}var i=function(n){var t=n.items;return t!==undefined&&0<t.length?E(t,i):[n.format]},u=Te([]),a=Te([]),c=Te([]),s=Te([]),f=Te(!1);e.on("init",function(){var n=Uk(e),t=Gk(e,n,o,r);u.set(t),a.set(E(t,i))}),e.on("addStyleModifications",function(n){var t=Gk(e,n.items,o,r);c.set(t),f.set(n.replace),s.set(E(t,i))});return{getData:function(){var n=f.get()?[]:u.get(),t=c.get();return n.concat(t)},getFlattenedKeys:function(){var n=f.get()?[]:a.get(),t=s.get();return n.concat(t)}}}(t),colorinput:jk(t),dialog:function(n){return{isDraggableModal:function(n){return function(){return function(n){return n.getParam("draggable_modal",!1,"boolean")}(n)}}(n)}}(t),isContextMenuOpen:function(){return r.get()},setContextMenuState:function(n){return r.set(n)}};return i}function gO(n,t,o){var e=function(n,e){return k(n,function(t,n){return e(n,t.len).fold(nn(t),function(n){return{len:n.finish(),list:t.list.concat([n])}})},{len:0,list:[]}).list}(n,function(n,t){var e=o(n);return on.some({element:nn(n),start:nn(t),finish:nn(t+e),width:nn(e)})}),r=S(e,function(n){return n.finish()<=t}),i=C(r,function(n,t){return n+t.width()},0),u=e.slice(r.length);return{within:nn(r),extra:nn(u),withinWidth:nn(i)}}function pO(n){return w(n,function(n){return n.element()})}function hO(n,t,e,o){var r=function(n,t,e){var o=gO(t,n,e);return 0===o.extra().length?on.some(o):on.none()}(n,t,e).getOrThunk(function(){return gO(t,n-e(o),e)}),i=r.within(),u=r.extra(),a=r.withinWidth();return 1===u.length&&u[0].width()<=e(o)?function(n,t,e){var o=pO(n.concat(t));return qT(o,[],e)}(i,u,a):1<=u.length?function(n,t,e,o){var r=pO(n).concat([e]);return qT(r,pO(t),o)}(i,u,o,a):function(n,t,e){return qT(pO(n),[],e)}(i,0,a)}function vO(n,t){var e=w(t,function(n){return uu(n)});YT.setGroups(n,e)}function bO(n,t,e,o){var r=qs(n,t,"primary"),i=Ys(n,t,"overflow-button"),u=jy.getCoupled(n,"overflowGroup");si(r.element(),"visibility","hidden");var a=function(n,t){return n.bind(function(t){return Sa(t.element()).bind(function(n){return t.getSystem().getByDom(n).toOption()})}).orThunk(function(){return t.filter(pg.isFocused)})}(e,i);e.each(function(n){YT.setGroups(n,[])});var c=t.builtGroups.get();vO(r,c.concat([u]));var s=du(r.element()),f=hO(s,c,function(n){return du(n.element())},u);0===f.extra().length?(lg.remove(r,u),e.each(function(n){YT.setGroups(n,[])})):(vO(r,f.within()),e.each(function(n){vO(n,f.extra())})),gi(r.element(),"visibility"),pi(r.element()),e.each(function(t){i.each(function(n){return wg.set(n,o(t))}),a.each(pg.focus)})}function yO(o,n,t,e,r){var i="alloy.toolbar.toggle";return{uid:o.uid,dom:o.dom,components:n,behaviours:Is(o.splitToolbarBehaviours,[jy.config({others:P(P({},r.coupling),{overflowGroup:function(t){return $T.sketch(P(P({},e["overflow-group"]()),{items:[Ug.sketch(P(P({},e["overflow-button"]()),{action:function(n){Xt(t,i)}}))]}))}})}),qd("toolbar-toggle-events",[or(i,function(n){r.apis.toggle(n)})])]),apis:P({setGroups:function(n,t){!function(n,t){var e=w(t,n.getSystem().build);o.builtGroups.set(e)}(n,t),r.apis.refresh(n)},getMoreButton:function(n){return function(n){return Ys(n,o,"overflow-button")}(n)}},r.apis),domModification:{attributes:{role:"group"}}}}function xO(n){return n.getSystem().isConnected()}function wO(n,t,e){var o=t.lazySink(n).getOrDie(),r=t.getAnchor(n),i=t.getOverflowBounds.map(function(n){return n()});Df.positionWithinBounds(o,r,e,i)}function SO(t,e){var n=Pf.getState(jy.getCoupled(t,"sandbox"));bO(t,e,n,xO),n.each(function(n){return wO(t,e,n)})}function CO(t,e){Pf.getState(jy.getCoupled(t,"sandbox")).each(function(n){return wO(t,e,n)})}function kO(t,n){return n.getAnimationRoot.fold(function(){return t.element()},function(n){return n(t)})}function OO(n){return n.dimension.property}function TO(n,t){return n.dimension.getDimension(t)}function EO(n,t){var e=kO(n,t);ii(e,[t.shrinkingClass,t.growingClass])}function BO(n,t){ei(n.element(),t.openClass),ni(n.element(),t.closedClass),si(n.element(),OO(t),"0px"),pi(n.element())}function DO(n,t){ei(n.element(),t.closedClass),ni(n.element(),t.openClass),gi(n.element(),OO(t))}function _O(n,t,e,o){e.setCollapsed(),si(n.element(),OO(t),TO(t,n.element())),pi(n.element()),EO(n,t),BO(n,t),t.onStartShrink(n),t.onShrunk(n)}function AO(n,t,e,o){var r=o.getOrThunk(function(){return TO(t,n.element())});e.setCollapsed(),si(n.element(),OO(t),r),pi(n.element());var i=kO(n,t);ei(i,t.growingClass),ni(i,t.shrinkingClass),BO(n,t),t.onStartShrink(n)}function MO(n,t,e){var o=TO(t,n.element());("0px"===o?_O:AO)(n,t,e,on.some(o))}function FO(n,t,e){var o=kO(n,t),r=oi(o,t.shrinkingClass),i=TO(t,n.element());DO(n,t);var u=TO(t,n.element());(r?function(){si(n.element(),OO(t),i),pi(n.element())}:function(){BO(n,t)})(),ei(o,t.shrinkingClass),ni(o,t.growingClass),DO(n,t),si(n.element(),OO(t),u),e.setExpanded(),t.onStartGrow(n)}function IO(n,t,e){var o=kO(n,t);return!0===oi(o,t.growingClass)}function RO(n,t,e){var o=kO(n,t);return!0===oi(o,t.shrinkingClass)}function VO(n){return iE.hasGrown(n)}function NO(n,t){var e=n.outerContainer;!function(n,t){var e=n.outerContainer.element();t&&(n.mothership.broadcastOn([zf()],{target:e}),n.uiMothership.broadcastOn([zf()],{target:e})),n.mothership.broadcastOn([fE],{readonly:t}),n.uiMothership.broadcastOn([fE],{readonly:t})}(n,t),Lt("*",e.element()).forEach(function(n){e.getSystem().getByDom(n).each(function(n){n.hasConfigured(wh)&&wh.set(n,t)})})}function HO(n,t){n.on("init",function(){n.readonly&&NO(t,!0)}),n.on("SwitchMode",function(){return NO(t,n.readonly)}),function(n){return n.getParam("readonly",!1,"boolean")}(n)&&n.setMode("readonly")}function PO(e){var n;return fc.config({channels:(n={},n[fE]={schema:lE,onReceive:function(n,t){e(n).each(function(n){!function(t,e){Lt("*",t.element()).forEach(function(n){t.getSystem().getByDom(n).each(function(n){n.hasConfigured(wh)&&wh.set(n,e)})})}(n,t.readonly)})}},n)})}function zO(n){var t=n.title.fold(function(){return{}},function(n){return{attributes:{title:n}}});return{dom:P({tag:"div",classes:["tox-toolbar__group"]},t),components:[$T.parts().items({})],items:n.items,markers:{itemSelector:"*:not(.tox-split-button) > .tox-tbtn:not([disabled]), .tox-split-button:not([disabled]), .tox-toolbar-nav-js:not([disabled])"},tgroupBehaviours:va([Ny.config({}),pg.config({})])}}function LO(n){return $T.sketch(zO(n))}function jO(e,n,t){var o=Fi(function(n){var t=w(e.initGroups,LO);YT.setGroups(n,t)});return va([sg.config({mode:n,onEscape:e.onEscape,selector:".tox-toolbar__group"}),qd("toolbar-events",[o]),PO(t)])}function UO(n,t){var e=n.cyclicKeying?"cyclic":"acyclic";return{uid:n.uid,dom:{tag:"div",classes:["tox-toolbar-overlord"]},parts:{"overflow-group":zO({title:on.none(),items:[]}),"overflow-button":PC({name:"more",icon:on.some("more-drawer"),disabled:!1,tooltip:on.some("More..."),primary:!1,borderless:!1},on.none(),n.backstage.shared.providers)},splitToolbarBehaviours:jO(n,e,t)}}function WO(r){var n=UO(r,tE.getOverflow),t=tE.parts().primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}});return tE.sketch(P(P({},n),{lazySink:r.getSink,getAnchor:function(){return r.backstage.shared.anchors.toolbarOverflow()},getOverflowBounds:function(){var n=r.moreDrawerData.lazyHeader().element(),t=xu(n),e=function(n){return Be.fromDom(n.dom().ownerDocument.documentElement)}(n),o=xu(e);return bu(t.x()+4,o.y(),t.width()-8,o.height())},parts:P(P({},n.parts),{overflow:{dom:{tag:"div",classes:["tox-toolbar__overflow"]}}}),components:[t],markers:{overflowToggledClass:"tox-tbtn--enabled"}}))}function GO(n){var t=sE.parts().primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}}),e=sE.parts().overflow({dom:{tag:"div",classes:["tox-toolbar__overflow"]}}),o=UO(n,sE.getOverflow);return sE.sketch(P(P({},o),{components:[t,e],markers:{openClass:"tox-toolbar__overflow--open",closedClass:"tox-toolbar__overflow--closed",growingClass:"tox-toolbar__overflow--growing",shrinkingClass:"tox-toolbar__overflow--shrinking",overflowToggledClass:"tox-tbtn--enabled"},onOpened:function(n){n.getSystem().broadcastOn([dE()],{type:"opened"})},onClosed:function(n){n.getSystem().broadcastOn([dE()],{type:"closed"})}}))}function XO(n){var t=n.cyclicKeying?"cyclic":"acyclic";return YT.sketch({uid:n.uid,dom:{tag:"div",classes:["tox-toolbar"]},components:[YT.parts().groups({})],toolbarBehaviours:jO(n,t,nn(on.none()))})}function YO(n){return tt("toolbarbutton",gE,n)}function qO(n){return tt("menubutton",hE,n)}function KO(n){return tt("ToggleButton",yE,n)}function JO(t){return{isDisabled:function(){return wh.isDisabled(t)},setDisabled:function(n){return wh.set(t,n)}}}function $O(t){return{setActive:function(n){wg.set(t,n)},isActive:function(){return wg.isOn(t)},isDisabled:function(){return wh.isDisabled(t)},setDisabled:function(n){return wh.set(t,n)}}}function QO(n,t){return n.map(function(n){return{"aria-label":t.translate(n),title:t.translate(n)}}).getOr({})}function ZO(t,e,n,o,r,i){function u(n){return eh.isRtl()&&vn(PE,n)?n+"-rtl":n}var a,c=eh.isRtl()&&t.exists(function(n){return vn(zE,n)});return{dom:{tag:"button",classes:["tox-tbtn"].concat(e.isSome()?["tox-tbtn--select"]:[]).concat(c?["tox-tbtn__icon-rtl"]:[]),attributes:QO(n,i)},components:Th([t.map(function(n){return EC(u(n),i.icons)}),e.map(function(n){return DC(n,"tox-tbtn",i)})]),eventOrder:(a={},a[ro()]=["focusing","alloy.base.behaviour","common-button-display-events"],a),buttonBehaviours:va([qd("common-button-display-events",[or(ro(),function(n,t){t.event().prevent(),Xt(n,HE)})])].concat(o.map(function(n){return ME.config({channel:n,initialData:{icon:t,text:e},renderComponents:function(n,t){return Th([n.icon.map(function(n){return EC(u(n),i.icons)}),n.text.map(function(n){return DC(n,"tox-tbtn",i)})])}})}).toArray()).concat(r.getOr([])))}}function nT(n,t,e){var o=Te(Z),r=ZO(n.icon,n.text,n.tooltip,on.none(),on.none(),e);return Ug.sketch({dom:r.dom,components:r.components,eventOrder:nk,buttonBehaviours:va([qd("toolbar-button-events",[function(e){return Vi(function(t,n){Cp(e,t)(function(n){Yt(t,ZC,{buttonApi:n}),e.onAction(n)})})}({onAction:n.onAction,getApi:t.getApi}),kp(t,o),Op(t,o)]),Oh(n.disabled)].concat(t.toolbarButtonBehaviours))})}function tT(t,n){function e(e){return{isDisabled:function(){return wh.isDisabled(e)},setDisabled:function(n){return wh.set(e,n)},setIconFill:function(n,t){Cu(e.element(),'svg path[id="'+n+'"], rect[id="'+n+'"]').each(function(n){Dr(n,"fill",t)})},setIconStroke:function(n,t){Cu(e.element(),'svg path[id="'+n+'"], rect[id="'+n+'"]').each(function(n){Dr(n,"stroke",t)})},setActive:function(t){Dr(e.element(),"aria-pressed",t),Cu(e.element(),"span").each(function(n){e.getSystem().getByDom(n).each(function(n){return wg.set(n,t)})})},isActive:function(){return Cu(e.element(),"span").exists(function(n){return e.getSystem().getByDom(n).exists(wg.isOn)})}}}var o,r=Vr("channel-update-split-dropdown-display"),i=Te(Z),u={getApi:e,onSetup:t.onSetup};return NE.sketch({dom:{tag:"div",classes:["tox-split-button"],attributes:_n({"aria-pressed":!1},QO(t.tooltip,n.providers))},onExecute:function(n){t.onAction(e(n))},onItemExecute:function(n,t,e){},splitDropdownBehaviours:va([kh(!1),qd("split-dropdown-events",[or(HE,pg.focus),kp(u,i),Op(u,i)]),bw.config({})]),eventOrder:(o={},o[Vo()]=["alloy.base.behaviour","split-dropdown-events"],o),toggleClass:"tox-tbtn--enabled",lazySink:n.getSink,fetch:function(e,r,o){return function(t){return By(function(n){return r.fetch(n)}).map(function(n){return on.from(rb(Dn(Ov(Vr("menu-value"),n,function(n){r.onItemAction(e(t),n)},r.columns,r.presets,Ah.CLOSE_ON_EXECUTE,r.select.getOr(function(){return!1}),o),{movement:Tv(r.columns,r.presets),menuBehaviours:qp("auto"!==r.columns?[]:[Fi(function(o,n){op(o,4,ap(r.presets)).each(function(n){var t=n.numRows,e=n.numColumns;sg.setGridSize(o,t,e)})})])})))})}}(e,t,n.providers),parts:{menu:xv(0,t.columns,t.presets)},components:[NE.parts().button(ZO(t.icon,t.text,on.none(),on.some(r),on.some([wg.config({toggleClass:"tox-tbtn--enabled",toggleOnExecute:!1})]),n.providers)),NE.parts().arrow({dom:{tag:"button",classes:["tox-tbtn","tox-split-button__chevron"],innerHtml:vm("chevron-down",n.providers.icons)}}),NE.parts()["aria-descriptor"]({text:n.providers.translate("To open the popup, press Shift+Enter")})]})}function eT(o,r){return or(ZC,function(n,t){var e=function(n){return{hide:function(){return Xt(n,Do())},getValue:function(){return Qf.getValue(n)}}}(o.get(n));r.onAction(e,t.event().buttonApi())})}function oT(n,t,e){var o={backstage:{shared:{providers:e}}};return"contextformtogglebutton"===t.type?function(n,t,e){var o=t.original,r=(o.primary,c(o,["primary"])),i=et(KO(P(P({},r),{type:"togglebutton",onAction:function(){}})));return jE(i,e.backstage.shared.providers,[eT(n,t)])}(n,t,o):function(n,t,e){var o=t.original,r=(o.primary,c(o,["primary"])),i=et(YO(P(P({},r),{type:"button",onAction:function(){}})));return LE(i,e.backstage.shared.providers,[eT(n,t)])}(n,t,o)}function rT(n,t){var e=Math.max(t.x(),n.x()),o=n.right()-e,r=t.width()-(e-t.x());return{x:e,width:Math.min(o,r)}}function iT(n,t){var e=hu(H.window),o=yu(Be.fromDom(n.getContentAreaContainer()));return n.inline&&!t?on.some(function(n,t,e){var o=rT(t,e),r=o.x,i=o.width;return bu(r,e.y(),i,e.height())}(0,o,e)):n.inline?on.some(function(n,t,e){var o=rT(t,e),r=o.x,i=o.width,u=Be.fromDom(n.getContainer()),a=Cu(u,".tox-editor-header").getOr(u),c=yu(a),s=e.height(),f=e.y();if(c.y()>=t.bottom()){var l=Math.min(s+f,c.y());return bu(r,f,i,l-f)}var d=Math.max(f,c.bottom());return bu(r,d,i,s-(d-f))}(n,o,e)):on.some(function(n,t,e){var o=rT(t,e),r=o.x,i=o.width,u=Be.fromDom(n.getContainer()),a=Cu(u,".tox-editor-header").getOr(u),c=yu(u),s=yu(a),f=Math.max(e.y(),t.y(),s.bottom()),l=c.bottom()-f,d=e.height()-(f-e.y()),m=Math.min(l,d);return bu(r,f,i,m)}(n,o,e))}function uT(t,n){return Bu(n,function(n){return n.predicate(t.dom())?on.some({toolbarApi:n,elem:t}):on.none()})}function aT(o,r){return function(t){function n(){t.setActive(o.formatter.match(r));var n=o.formatter.formatChanged(r,t.setActive).unbind;e.set(on.some(n))}var e=Te(on.none());return o.initialized?n():o.on("init",n),function(){return e.get().each(function(n){return n()})}}}function cT(t){return function(n){return function(){t.undoManager.transact(function(){t.focus(),t.execCommand("mceToggleFormat",!1,n.format)})}}}function sT(n,t,e){var o=e.dataset,r="basic"===o.type?function(){return w(o.data,function(n){return Wk(n,e.isSelectedFor,e.getPreviewFor)})}:o.getData;return{items:function(n,u,a){function r(n,t,e,o){var r=u.shared.providers.translate(n.title);if("separator"===n.type)return on.some({type:"separator",text:r});if("submenu"!==n.type)return on.some(P({type:"togglemenuitem",text:r,active:n.isSelected(o),disabled:e,onAction:a.onAction(n)},n.getStylePreview().fold(function(){return{}},function(n){return{meta:{style:n}}})));var i=E(n.getStyleItems(),function(n){return c(n,t,o)});return 0===t&&i.length<=0?on.none():on.some({type:"nestedmenuitem",text:r,disabled:i.length<=0,getSubmenuItems:function(){return E(n.getStyleItems(),function(n){return c(n,t,o)})}})}function i(n){var t=a.getCurrentValue(),e=a.shouldHide?0:1;return E(n,function(n){return c(n,e,t)})}var c=function(n,t,e){var o="formatter"===n.type&&a.isInvalid(n);return 0===t?o?[]:r(n,t,!1,e).toArray():r(n,t,o,e).toArray()};return{validateItems:i,getFetch:function(o,r){return function(n){var t=r(),e=i(t);n(IC(e,Ah.CLOSE_ON_EXECUTE,o,!1))}}}}(0,t,e),getStyleItems:r}}function fT(o,n,t){var e=sT(0,n,t),r=e.items,i=e.getStyleItems;return _C({text:t.icon.isSome()?on.none():on.some(""),icon:t.icon,tooltip:on.from(t.tooltip),role:on.none(),fetch:r.getFetch(n,i),onSetup:function(e){return t.setInitialValue.each(function(n){return n(e.getComponent())}),t.nodeChangeHandler.map(function(n){var t=n(e.getComponent());return o.on("NodeChange",t),function(){o.off("NodeChange",t)}}).getOr(Z)},getApi:function(n){return{getComponent:function(){return n}}},columns:1,presets:"normal",classes:t.icon.isSome()?[]:["bespoke"],dropdownBehaviours:[]},"tox-tbtn",n.shared)}var lT,dT,mT,gT,pT=Bl({name:"HtmlSelect",configFields:[ct("options"),Ms("selectBehaviours",[pg,Qf]),St("selectClasses",[]),St("selectAttributes",{}),ht("data")],factory:function(e,n){var t=w(e.options,function(n){return{dom:{tag:"option",value:n.value,innerHtml:n.text}}}),o=e.data.map(function(n){return q("initialValue",n)}).getOr({});return{uid:e.uid,dom:{tag:"select",classes:e.selectClasses,attributes:e.selectAttributes},components:t,behaviours:Is(e.selectBehaviours,[pg.config({}),Qf.config({store:P({mode:"manual",getValue:function(n){return hi(n.element())},setValue:function(n,t){O(e.options,function(n){return n.value===t}).isSome()&&vi(n.element(),t)}},o)})])}}}),hT=/* */Object.freeze({events:function(n,t){var e=n.stream.streams.setup(n,t);return nr([or(n.event,e),Ii(function(){return t.cancel()})].concat(n.cancelEvent.map(function(n){return[or(n,function(){return t.cancel()})]}).getOr([])))}}),vT=/* */Object.freeze({throttle:Bk,init:function(n){return n.stream.streams.state(n)}}),bT=[st("stream",it("mode",{throttle:[ct("delay"),St("stopEvent",!0),$u("streams",{setup:function(n,t){var e=n.stream,o=qg(n.onStream,e.delay);return t.setTimer(o),function(n,t){o.throttle(n,t),e.stopEvent&&t.stop()}},state:Bk})]})),St("event","input"),ht("cancelEvent"),Ku("onStream")],yT=ba({fields:bT,name:"streaming",active:hT,state:vT}),xT=function(n){_k(n,function(n,t){return n.setSelectionRange(t.length,t.length)})},wT=nn("alloy.typeahead.itemexecute"),ST=nn([ht("lazySink"),ct("fetch"),St("minChars",5),St("responseTime",1e3),Yu("onOpen"),St("getHotspot",on.some),St("getAnchorOverrides",nn({})),St("layouts",on.none()),St("eventOrder",{}),Dt("model",{},[St("getDisplayText",function(n){return n.meta!==undefined&&n.meta.text!==undefined?n.meta.text:n.value}),St("selectsOver",!0),St("populateFromBrowse",!0)]),Yu("onSetValue"),qu("onExecute"),Yu("onItemExecute"),St("inputClasses",[]),St("inputAttributes",{}),St("inputStyles",{}),St("matchWidth",!0),St("useMinWidth",!1),St("dismissOnBlur",!0),Gu(["openClass"]),ht("initialData"),Ms("typeaheadBehaviours",[pg,Qf,yT,sg,wg,jy]),_t("previewing",function(){return Te(!0)})].concat(fy()).concat(Zy())),CT=nn([xl({schema:[Wu()],name:"menu",overrides:function(o){return{fakeFocus:!0,onHighlight:function(t,e){o.previewing.get()?t.getSystem().getByUid(o.uid).each(function(n){Ak(o.model,n,e).fold(function(){return ud.dehighlight(t,e)},function(n){return n()})}):t.getSystem().getByUid(o.uid).each(function(n){o.model.populateFromBrowse&&Dk(o.model,n,e)}),o.previewing.set(!1)},onExecute:function(n,t){return n.getSystem().getByUid(o.uid).toOption().map(function(n){return Yt(n,wT(),{item:t}),!0})},onHover:function(n,t){o.previewing.set(!1),n.getSystem().getByUid(o.uid).each(function(n){o.model.populateFromBrowse&&Dk(o.model,n,t)})}}}})]),kT=Dl({name:"Typeahead",configFields:ST(),partFields:CT(),factory:function(r,n,t,i){function e(n,t,e){r.previewing.set(!1);var o=jy.getCoupled(n,"sandbox");if(Pf.isOpen(o))Ql.getCurrent(o).each(function(n){ud.getHighlighted(n).fold(function(){e(n)},function(){Jt(o,n.element(),"keydown",t)})});else{Xy(r,u(n),n,o,i,function(n){Ql.getCurrent(n).each(e)},Sy.HighlightFirst).get(Z)}}var o=Xb(r),u=function(o){return function(n){return n.map(function(n){var t=I(n.menus),e=E(t,function(n){return S(n.items,function(n){return"item"===n.type})});return Qf.getState(o).update(w(e,function(n){return n.data})),n})}},a=[pg.config({}),Qf.config({onSetValue:r.onSetValue,store:P({mode:"dataset",getDataKey:function(n){return hi(n.element())},getFallbackEntry:function(n){return{value:n,meta:{}}},setValue:function(n,t){vi(n.element(),r.model.getDisplayText(t))}},r.initialData.map(function(n){return q("initialValue",n)}).getOr({}))}),yT.config({stream:{mode:"throttle",delay:r.responseTime,stopEvent:!1},onStream:function(n,t){var e=jy.getCoupled(n,"sandbox");if(pg.isFocused(n)&&hi(n.element()).length>=r.minChars){var o=Ql.getCurrent(e).bind(function(n){return ud.getHighlighted(n).map(Qf.getValue)});r.previewing.set(!0);Xy(r,u(n),n,e,i,function(n){Ql.getCurrent(e).each(function(n){o.fold(function(){r.model.selectsOver&&ud.highlightFirst(n)},function(t){ud.highlightBy(n,function(n){return Qf.getValue(n).value===t.value}),ud.getHighlighted(n).orThunk(function(){return ud.highlightFirst(n),on.none()})})})},Sy.HighlightFirst).get(Z)}},cancelEvent:_o()}),sg.config({mode:"special",onDown:function(n,t){return e(n,t,ud.highlightFirst),on.some(!0)},onEscape:function(n){var t=jy.getCoupled(n,"sandbox");return Pf.isOpen(t)?(Pf.close(t),on.some(!0)):on.none()},onUp:function(n,t){return e(n,t,ud.highlightLast),on.some(!0)},onEnter:function(t){var n=jy.getCoupled(t,"sandbox"),e=Pf.isOpen(n);if(e&&!r.previewing.get())return Ql.getCurrent(n).bind(function(n){return ud.getHighlighted(n)}).map(function(n){return Yt(t,wT(),{item:n}),!0});var o=Qf.getValue(t);return Xt(t,_o()),r.onExecute(n,t,o),e&&Pf.close(n),on.some(!0)}}),wg.config({toggleClass:r.markers.openClass,aria:{mode:"expanded"}}),jy.config({others:{sandbox:function(n){return $y(r,n,{onOpen:function(){return wg.on(n)},onClose:function(){return wg.off(n)}})}}}),qd("typeaheadevents",[Vi(function(n){var t=Z;qy(r,u(n),n,i,t,Sy.HighlightFirst).get(Z)}),or(wT(),function(n,t){var e=jy.getCoupled(n,"sandbox");Dk(r.model,n,t.event().item()),Xt(n,_o()),r.onItemExecute(n,e,t.event().item(),Qf.getValue(n)),Pf.close(e),xT(n)})].concat(r.dismissOnBlur?[or(wo(),function(n){var t=jy.getCoupled(n,"sandbox");Sa(t.element()).isNone()&&Pf.close(t)})]:[]))];return{uid:r.uid,dom:Yb(Dn(r,{inputAttributes:{role:"combobox","aria-autocomplete":"list","aria-haspopup":"true"}})),behaviours:P(P({},o),Is(r.typeaheadBehaviours,a)),eventOrder:r.eventOrder}}}),OT=function(i){return P(P({},i),{toCached:function(){return OT(i.toCached())},bindFuture:function(t){return OT(i.bind(function(n){return n.fold(function(n){return Dy(an.error(n))},function(n){return t(n)})}))},bindResult:function(t){return OT(i.map(function(n){return n.bind(t)}))},mapResult:function(t){return OT(i.map(function(n){return n.map(t)}))},mapError:function(t){return OT(i.map(function(n){return n.mapError(t)}))},foldResult:function(t,e){return i.map(function(n){return n.fold(t,e)})},withTimeout:function(n,r){return OT(By(function(t){var e=!1,o=H.setTimeout(function(){e=!0,t(an.error(r()))},n);i.get(function(n){e||(H.clearTimeout(o),t(n))})}))}})},TT=Mk,ET={type:"separator"},BT=Vr("aria-invalid"),DT={bar:zk(function(n,t){return function(n,t){return{dom:{tag:"div",classes:["tox-bar","tox-form__controls-h-stack"]},components:w(n.items,t.interpreter)}}(n,t.shared)}),collection:zk(function(n,t){return Pk(n,t.shared.providers)}),alertbanner:zk(function(n,t){return function(t,n){return Hb.sketch({dom:{tag:"div",attributes:{role:"alert"},classes:["tox-notification","tox-notification--in","tox-notification--"+t.level]},components:[{dom:{tag:"div",classes:["tox-notification__icon"]},components:[Ug.sketch({dom:{tag:"button",classes:["tox-button","tox-button--naked","tox-button--icon"],innerHtml:vm(t.icon,n.icons),attributes:{title:n.translate(t.iconTooltip)}},action:function(n){Yt(n,ty,{name:"alert-banner",value:t.url})}})]},{dom:{tag:"div",classes:["tox-notification__body"],innerHtml:n.translate(t.text)}}]})}(n,t.shared.providers)}),input:zk(function(n,t){return function(n,t){return Ek({name:n.name,multiline:!1,label:n.label,inputMode:n.inputMode,placeholder:n.placeholder,flex:!1,disabled:n.disabled,classname:"tox-textfield",validation:on.none(),maximized:n.maximized},t)}(n,t.shared.providers)}),textarea:zk(function(n,t){return function(n,t){return Ek({name:n.name,multiline:!0,label:n.label,inputMode:on.none(),placeholder:n.placeholder,flex:!0,disabled:n.disabled,classname:"tox-textarea",validation:on.none(),maximized:n.maximized},t)}(n,t.shared.providers)}),label:zk(function(n,t){return function(n,t){var e={dom:{tag:"label",innerHtml:t.providers.translate(n.label),classes:["tox-label"]}},o=w(n.items,t.interpreter);return{dom:{tag:"div",classes:["tox-form__group"]},components:[e].concat(o),behaviours:va([vS(),lg.config({}),OS(on.none()),sg.config({mode:"acyclic"})])}}(n,t.shared)}),iframe:(lT=function(n,t){return mw(n,t.shared.providers)},function(n,t,e){var o=Dn(t,{source:"dynamic"});return zk(lT)(n,o,e)}),button:zk(function(n,t){return GC(n,t.shared.providers)}),checkbox:zk(function(n,t){return function(e,t){function n(n){return n.element().dom().click(),on.some(!0)}function o(n){return{dom:{tag:"span",classes:["tox-icon","tox-checkbox-icon__"+n],innerHtml:vm("checked"===n?"selected":"unselected",t.icons)}}}var r=Qf.config({store:{mode:"manual",getValue:function(n){return n.element().dom().checked},setValue:function(n,t){n.element().dom().checked=t}}}),i=sy.parts().field({factory:{sketch:l},dom:{tag:"input",classes:["tox-checkbox__input"],attributes:{type:"checkbox"}},behaviours:va([vS(),wh.config({disabled:e.disabled}),Ny.config({}),pg.config({}),r,sg.config({mode:"special",onEnter:n,onSpace:n,stopSpaceKeyup:!0}),qd("checkbox-events",[or(po(),function(n,t){Yt(n,Qb,{name:e.name})})])])}),u=sy.parts().label({dom:{tag:"span",classes:["tox-checkbox__label"],innerHtml:t.translate(e.label)},behaviours:va([bw.config({})])}),a=pm({dom:{tag:"div",classes:["tox-checkbox__icons"]},components:[o("checked"),o("unchecked")]});return sy.sketch({dom:{tag:"label",classes:["tox-checkbox"]},components:[i,a.asSpec(),u],fieldBehaviours:va([wh.config({disabled:e.disabled,disableClass:"tox-checkbox--disabled",onDisabled:function(n){sy.getField(n).each(wh.disable)},onEnabled:function(n){sy.getField(n).each(wh.enable)}})])})}(n,t.shared.providers)}),colorinput:zk(function(n,t){return nx(n,t.shared,t.colorinput)}),colorpicker:zk(function(n){function t(n){return"tox-"+n}var e=hS(aw,t),r=pm(e.sketch({dom:{tag:"div",classes:[t("color-picker-container")],attributes:{role:"presentation"}},onValidHex:function(n){Yt(n,ty,{name:"hex-valid",value:!0})},onInvalidHex:function(n){Yt(n,ty,{name:"hex-valid",value:!1})}}));return{dom:{tag:"div"},components:[r.asSpec()],behaviours:va([Qf.config({store:{mode:"manual",getValue:function(n){var t=r.get(n);return Ql.getCurrent(t).bind(function(n){return Qf.getValue(n).hex}).map(function(n){return"#"+n}).getOr("")},setValue:function(n,t){var e=/^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/.exec(t),o=r.get(n);Ql.getCurrent(o).fold(function(){H.console.log("Can not find form")},function(n){Qf.setValue(n,{hex:on.from(e[1]).getOr("")}),sS.getField(n,"hex").each(function(n){Xt(n,go())})})}}}),vS()])}}),dropzone:zk(function(n,t){return fw(n,t.shared.providers)}),grid:zk(function(n,t){return function(n,t){return{dom:{tag:"div",classes:["tox-form__grid","tox-form__grid--"+n.columns+"col"]},components:w(n.items,t.interpreter)}}(n,t.shared)}),selectbox:zk(function(n,t){return function(e,t){var n=w(e.items,function(n){return{text:t.translate(n.text),value:n.value}}),o=e.label.map(function(n){return wy(n,t)}),r=sy.parts().field({dom:{},selectAttributes:{size:e.size},options:n,factory:pT,selectBehaviours:va([wh.config({disabled:e.disabled}),Ny.config({}),qd("selectbox-change",[or(po(),function(n,t){Yt(n,Qb,{name:e.name})})])])}),i=1<e.size?on.none():on.some({dom:{tag:"div",classes:["tox-selectfield__icon-js"],innerHtml:vm("chevron-down",t.icons)}}),u={dom:{tag:"div",classes:["tox-selectfield"]},components:z([[r],i.toArray()])};return sy.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:z([o.toArray(),[u]]),fieldBehaviours:va([wh.config({disabled:e.disabled,onDisabled:function(n){sy.getField(n).each(wh.disable)},onEnabled:function(n){sy.getField(n).each(wh.enable)}})])})}(n,t.shared.providers)}),sizeinput:zk(function(n,t){return $C(n,t.shared.providers)}),urlinput:zk(function(n,t){return Hk(n,t,t.urlinput)}),customeditor:zk(function(e){var o=Te(on.none()),t=pm({dom:{tag:e.tag}}),r=Te(on.none());return{dom:{tag:"div",classes:["tox-custom-editor"]},behaviours:va([qd("editor-foo-events",[Fi(function(n){t.getOpt(n).each(function(t){(!function(n){return Object.prototype.hasOwnProperty.call(n,"init")}(e)?wS.load(e.scriptId,e.scriptUrl).then(function(n){return n(t.element().dom(),e.settings)}):e.init(t.element().dom())).then(function(t){r.get().each(function(n){t.setValue(n)}),r.set(on.none()),o.set(on.some(t))})})})]),Qf.config({store:{mode:"manual",getValue:function(){return o.get().fold(function(){return r.get().getOr("")},function(n){return n.getValue()})},setValue:function(n,t){o.get().fold(function(){r.set(on.some(t))},function(n){return n.setValue(t)})}}}),vS()]),components:[t.asSpec()]}}),htmlpanel:zk(function(n){return"presentation"===n.presets?Hb.sketch({dom:{tag:"div",classes:["tox-form__group"],innerHtml:n.html}}):Hb.sketch({dom:{tag:"div",classes:["tox-form__group"],innerHtml:n.html,attributes:{role:"document"}},containerBehaviours:va([Ny.config({}),pg.config({})])})}),imagetools:zk(function(n,t){return Tk(n,t.shared.providers)}),table:zk(function(n,t){return function(n,t){function e(n){return{dom:{tag:"th",innerHtml:t.translate(n)}}}function o(n){return{dom:{tag:"td",innerHtml:t.translate(n)}}}function r(n){return{dom:{tag:"tr"},components:w(n,o)}}var i,u;return{dom:{tag:"table",classes:["tox-dialog__table"]},components:[(u=n.header,{dom:{tag:"thead"},components:[{dom:{tag:"tr"},components:w(u,e)}]}),(i=n.cells,{dom:{tag:"tbody"},components:w(i,r)})],behaviours:va([Ny.config({}),pg.config({})])}}(n,t.shared.providers)}),panel:zk(function(n,t){return function(n,t){return{dom:{tag:"div",classes:n.classes},components:w(n.items,t.shared.interpreter)}}(n,t)})},_T={field:function(n,t){return t}},AT=function(t,e,o){return Nn(DT,e.type).fold(function(){return H.console.error('Unknown factory type "'+e.type+'", defaulting to container: ',e),e},function(n){return n(t,e,o)})},MT=nn(function(n,t){!function(n,t){var e=Ru.max(n,t,["margin-left","border-left-width","padding-left","padding-right","border-right-width","margin-right"]);si(n,"max-width",e+"px")}(n,Math.floor(t))}),FT={valignCentre:[],alignCentre:[],alignLeft:[],alignRight:[],right:[],left:[],bottom:[],top:[]},IT=function(n,t,e){function o(){return Be.fromDom(n.getBody())}var r=Ub(n);return{toolbar:function(n,t,e){return e?function(){return{anchor:"node",root:n(),node:on.from(n()),bubble:ka(-12,-12,FT),layouts:{onRtl:function(){return[dm]},onLtr:function(){return[mm]}},overrides:{maxHeightFunction:Sf()}}}:function(){return{anchor:"hotspot",hotspot:t(),bubble:ka(-12,12,FT),layouts:{onRtl:function(){return[ia]},onLtr:function(){return[ua]}},overrides:{maxHeightFunction:Sf()}}}}(o,t,r),toolbarOverflow:function(n){return function(){return{anchor:"hotspot",hotspot:n(),overrides:{maxWidthFunction:MT()},layouts:{onRtl:function(){return[ia,ua]},onLtr:function(){return[ua,ia]}}}}}(e),banner:function(n,t,e){return e?function(){return{anchor:"node",root:n(),node:on.from(n()),layouts:{onRtl:function(){return[Lg]},onLtr:function(){return[Lg]}}}}:function(){return{anchor:"hotspot",hotspot:t(),layouts:{onRtl:function(){return[oc]},onLtr:function(){return[oc]}}}}}(o,t,r),cursor:function(t,n){return function(){return{anchor:"selection",root:n(),getSelection:function(){var n=t.selection.getRng();return on.some(Tc.range(Be.fromDom(n.startContainer),n.startOffset,Be.fromDom(n.endContainer),n.endOffset))}}}}(n,o),node:function(t){return function(n){return{anchor:"node",root:t(),node:n}}}(o)}},RT=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",icon:"bold",format:"bold"},{title:"Italic",icon:"italic",format:"italic"},{title:"Underline",icon:"underline",format:"underline"},{title:"Strikethrough",icon:"strike-through",format:"strikethrough"},{title:"Superscript",icon:"superscript",format:"superscript"},{title:"Subscript",icon:"subscript",format:"subscript"},{title:"Code",icon:"code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Align",items:[{title:"Left",icon:"align-left",format:"alignleft"},{title:"Center",icon:"align-center",format:"aligncenter"},{title:"Right",icon:"align-right",format:"alignright"},{title:"Justify",icon:"align-justify",format:"alignjustify"}]}],VT=function(n){return k(n,function(n,t){if(function(n){return Tn(n,"items")}(t)){var e=VT(t.items);return{customFormats:n.customFormats.concat(e.customFormats),formats:n.formats.concat([{title:t.title,items:e.formats}])}}if(function(n){return Tn(n,"inline")}(t)||function(n){return Tn(n,"block")}(t)||function(n){return Tn(n,"selector")}(t)){var o="custom-"+t.title.toLowerCase();return{customFormats:n.customFormats.concat([{name:o,format:t}]),formats:n.formats.concat([{title:t.title,format:o,icon:t.icon}])}}return P(P({},n),{formats:n.formats.concat(t)})},{customFormats:[],formats:[]})},NT=hk.trim,HT=Xk("true"),PT=Xk("false"),zT=function(n){return function(n){for(;n=n.parentNode;){var t=n.contentEditable;if(t&&"inherit"!==t)return HT(n)}return!1}(n)&&!PT(n)},LT=function(n){var t=nO(n);return S(function(n){return w(S(n,$k),Qk)}(t).concat(function(n){return w(S(n,Kk),Zk)}(t)),tO)},jT="tinymce-url-history",UT=Object.prototype.hasOwnProperty,WT="contexttoolbar-hide",GT=nn([ct("dom"),St("shell",!0),Ms("toolbarBehaviours",[lg])]),XT=nn([wl({name:"groups",overrides:function(n){return{behaviours:va([lg.config({})])}}})]),YT=Dl({name:"Toolbar",configFields:GT(),partFields:XT(),factory:function(t,n,e,o){var r=function(n){return t.shell?on.some(n):Ys(n,t,"groups")},i=t.shell?{behaviours:[lg.config({})],components:[]}:{behaviours:[],components:n};return{uid:t.uid,dom:t.dom,components:i.components,behaviours:Is(t.toolbarBehaviours,i.behaviours),apis:{setGroups:function(n,t){r(n).fold(function(){throw H.console.error("Toolbar was defined to not be a shell, but no groups container was specified in components"),new Error("Toolbar was defined to not be a shell, but no groups container was specified in components")},function(n){lg.set(n,t)})}},domModification:{attributes:{role:"group"}}}},apis:{setGroups:function(n,t,e){n.setGroups(t,e)}}}),qT=fr("within","extra","withinWidth"),KT=nn([ct("items"),Gu(["itemSelector"]),Ms("tgroupBehaviours",[sg])]),JT=nn([Sl({name:"items",unit:"item"})]),$T=Dl({name:"ToolbarGroup",configFields:KT(),partFields:JT(),factory:function(n,t,e,o){return{uid:n.uid,dom:n.dom,components:t,behaviours:Is(n.tgroupBehaviours,[sg.config({mode:"flow",selector:n.markers.itemSelector})]),domModification:{attributes:{role:"toolbar"}}}}}),QT=nn([Ms("splitToolbarBehaviours",[jy]),_t("builtGroups",function(){return Te([])})]),ZT=nn([Gu(["overflowToggledClass"]),ct("getAnchor"),xt("getOverflowBounds"),ct("lazySink")].concat(QT())),nE=nn([yl({factory:YT,schema:GT(),name:"primary"}),xl({factory:YT,schema:GT(),name:"overflow",overrides:function(t){return{toolbarBehaviours:va([sg.config({mode:"cyclic",onEscape:function(n){return Ys(n,t,"overflow-button").each(pg.focus),on.none()}})])}}}),xl({name:"overflow-button",overrides:function(n){return{dom:{attributes:{"aria-haspopup":"true"}},buttonBehaviours:va([wg.config({toggleClass:n.markers.overflowToggledClass,aria:{mode:"expanded"},toggleOnExecute:!1})])}}}),xl({name:"overflow-group"})]),tE=Dl({name:"SplitFloatingToolbar",configFields:ZT(),partFields:nE(),factory:function(t,n,e,o){return yO(t,n,0,o,{coupling:{sandbox:function(n){return function(o,e){var r=Ou();return{dom:{tag:"div",attributes:{id:r.id()}},behaviours:va([sg.config({mode:"special",onEscape:function(n){return Pf.close(n),on.some(!0)}}),Pf.config({onOpen:function(n,t){SO(o,e),Ys(o,e,"overflow-button").each(function(n){wg.on(n),r.link(n.element())}),sg.focusIn(t)},onClose:function(){Ys(o,e,"overflow-button").each(function(n){wg.off(n),pg.focus(n),r.unlink(n.element())})},isPartOf:function(n,t,e){return zu(t,e)||zu(o,e)},getAttachPoint:function(){return e.lazySink(o).getOrDie()}}),fc.config({channels:P({},Ts({isExtraPart:nn(!1),doReposition:function(){return CO(o,e)}}))})])}}(n,t)}},apis:{refresh:function(n){return SO(n,t)},toggle:function(n){return function(n,t,e){var o=jy.getCoupled(n,"sandbox");Pf.isOpen(o)?Pf.close(o):Pf.open(o,e.overflow())}(n,0,o)},getOverflow:function(n){return Pf.getState(jy.getCoupled(n,"sandbox"))},reposition:function(n){return CO(n,t)}}})},apis:{setGroups:function(n,t,e){n.setGroups(t,e)},refresh:function(n,t){n.refresh(t)},reposition:function(n,t){n.reposition(t)},getMoreButton:function(n,t){return n.getMoreButton(t)},getOverflow:function(n,t){return n.getOverflow(t)},toggle:function(n,t){n.toggle(t)}}}),eE=/* */Object.freeze({refresh:function(n,t,e){if(e.isExpanded()){gi(n.element(),OO(t));var o=TO(t,n.element());si(n.element(),OO(t),o)}},grow:function(n,t,e){e.isExpanded()||FO(n,t,e)},shrink:function(n,t,e){e.isExpanded()&&MO(n,t,e)},immediateShrink:function(n,t,e){e.isExpanded()&&_O(n,t,e)},hasGrown:function(n,t,e){return e.isExpanded()},hasShrunk:function(n,t,e){return e.isCollapsed()},isGrowing:IO,isShrinking:RO,isTransitioning:function(n,t,e){return!0===IO(n,t)||!0===RO(n,t)},toggleGrow:function(n,t,e){(e.isExpanded()?MO:FO)(n,t,e)},disableTransitions:EO}),oE=/* */Object.freeze({exhibit:function(n,t){var e=t.expanded;return Ur(e?{classes:[t.openClass],styles:{}}:{classes:[t.closedClass],styles:q(t.dimension.property,"0px")})},events:function(e,o){return nr([sr(vo(),function(n,t){t.event().raw().propertyName===e.dimension.property&&(EO(n,e),o.isExpanded()&&gi(n.element(),e.dimension.property),(o.isExpanded()?e.onGrown:e.onShrunk)(n))})])}}),rE=[ct("closedClass"),ct("openClass"),ct("shrinkingClass"),ct("growingClass"),ht("getAnimationRoot"),Yu("onShrunk"),Yu("onStartShrink"),Yu("onGrown"),Yu("onStartGrow"),St("expanded",!1),st("dimension",it("property",{width:[$u("property","width"),$u("getDimension",function(n){return du(n)+"px"})],height:[$u("property","height"),$u("getDimension",function(n){return cu(n)+"px"})]}))],iE=ba({fields:rE,name:"sliding",active:oE,apis:eE,state:/* */Object.freeze({init:function(n){var t=Te(n.expanded);return Zi({isExpanded:function(){return!0===t.get()},isCollapsed:function(){return!1===t.get()},setCollapsed:d(t.set,!1),setExpanded:d(t.set,!0),readState:function(){return"expanded: "+t.get()}})}})}),uE=nn([Gu(["closedClass","openClass","shrinkingClass","growingClass","overflowToggledClass"]),Yu("onOpened"),Yu("onClosed")].concat(QT())),aE=nn([yl({factory:YT,schema:GT(),name:"primary"}),yl({factory:YT,schema:GT(),name:"overflow",overrides:function(t){return{toolbarBehaviours:va([iE.config({dimension:{property:"height"},closedClass:t.markers.closedClass,openClass:t.markers.openClass,shrinkingClass:t.markers.shrinkingClass,growingClass:t.markers.growingClass,onShrunk:function(n){Ys(n,t,"overflow-button").each(function(n){wg.off(n),pg.focus(n)}),t.onClosed(n)},onGrown:function(n){sg.focusIn(n),t.onOpened(n)},onStartGrow:function(n){Ys(n,t,"overflow-button").each(wg.on)}}),sg.config({mode:"acyclic",onEscape:function(n){return Ys(n,t,"overflow-button").each(pg.focus),on.some(!0)}})])}}}),xl({name:"overflow-button",overrides:function(n){return{buttonBehaviours:va([wg.config({toggleClass:n.markers.overflowToggledClass,aria:{mode:"pressed"},toggleOnExecute:!1})])}}}),xl({name:"overflow-group"})]),cE=function(n,t){var e=Ys(n,t,"overflow");bO(n,t,e,VO),e.each(iE.refresh)},sE=Dl({name:"SplitSlidingToolbar",configFields:uE(),partFields:aE(),factory:function(t,n,e,o){return yO(t,n,0,o,{coupling:{},apis:{refresh:function(n){return cE(n,t)},toggle:function(n){return function(t,e){Ys(t,e,"overflow").each(function(n){cE(t,e),iE.toggleGrow(n)})}(n,t)},getOverflow:function(n){return Ys(n,t,"overflow")}}})},apis:{setGroups:function(n,t,e){n.setGroups(t,e)},refresh:function(n,t){n.refresh(t)},getMoreButton:function(n,t){return n.getMoreButton(t)},getOverflow:function(n,t){return n.getOverflow(t)},toggle:function(n,t){n.toggle(t)}}}),fE="silver.readonly",lE=le([(dT="readonly",st(dT,Se))]),dE=nn(Vr("toolbar-height-change")),mE=[Et("disabled",!1),yt("tooltip"),yt("icon"),yt("text"),Bt("onSetup",function(){return Z})],gE=le([ft("type"),dt("onAction")].concat(mE)),pE=[yt("text"),yt("tooltip"),yt("icon"),dt("fetch"),Bt("onSetup",function(){return Z})],hE=le(g([ft("type")],pE)),vE=le([ft("type"),yt("tooltip"),yt("icon"),yt("text"),xt("select"),dt("fetch"),Bt("onSetup",function(){return Z}),Tt("presets","normal",["normal","color","listpreview"]),St("columns",1),dt("onAction"),dt("onItemAction")]),bE=[Et("active",!1)].concat(mE),yE=le(bE.concat([ft("type"),dt("onAction")])),xE=[Bt("predicate",function(){return!1}),Tt("scope","node",["node","editor"]),Tt("position","selection",["node","selection","line"])],wE=mE.concat([St("type","contextformbutton"),St("primary",!1),dt("onAction"),_t("original",l)]),SE=bE.concat([St("type","contextformbutton"),St("primary",!1),dt("onAction"),_t("original",l)]),CE=mE.concat([St("type","contextformbutton")]),kE=bE.concat([St("type","contextformtogglebutton")]),OE=it("type",{contextformbutton:wE,contextformtogglebutton:SE}),TE=le([St("type","contextform"),Bt("initValue",function(){return""}),yt("label"),pt("commands",OE),vt("launch",it("type",{contextformbutton:CE,contextformtogglebutton:kE}))].concat(xE)),EE=le([St("type","contexttoolbar"),ft("items")].concat(xE)),BE=/* */Object.freeze({getState:function(n,t,e){return e}}),DE=/* */Object.freeze({events:function(i,u){function o(o,r){i.updateState.each(function(n){var t=n(o,r);u.set(t)}),i.renderComponents.each(function(n){var t=n(r,u.get()),e=w(t,o.getSystem().build);gs(o,e)})}return nr([or(Co(),function(n,t){var e=i.channel;vn(t.channels(),e)&&o(n,t.data())}),Fi(function(t,n){i.initialData.each(function(n){o(t,n)})})])}}),_E=/* */Object.freeze({init:function(n){var t=Te(on.none());return{readState:function(){return t.get().fold(function(){return"none"},function(n){return n})},get:function(){return t.get()},set:function(n){return t.set(n)},clear:function(){return t.set(on.none())}}}}),AE=[ct("channel"),ht("renderComponents"),ht("updateState"),ht("initialData")],ME=ba({fields:AE,name:"reflecting",active:DE,apis:BE,state:_E}),FE=nn([ct("toggleClass"),ct("fetch"),Ku("onExecute"),St("getHotspot",on.some),St("getAnchorOverrides",nn({})),St("layouts",on.none()),Ku("onItemExecute"),ht("lazySink"),ct("dom"),Yu("onOpen"),Ms("splitDropdownBehaviours",[jy,sg,pg]),St("matchWidth",!1),St("useMinWidth",!1),St("eventOrder",{}),ht("role")].concat(Zy())),IE=yl({factory:Ug,schema:[ct("dom")],name:"arrow",defaults:function(n){return{buttonBehaviours:va([pg.revoke()])}},overrides:function(t){return{dom:{tag:"span",attributes:{role:"presentation"}},action:function(n){n.getSystem().getByUid(t.uid).each(qt)},buttonBehaviours:va([wg.config({toggleOnExecute:!1,toggleClass:t.toggleClass})])}}}),RE=yl({factory:Ug,schema:[ct("dom")],name:"button",defaults:function(n){return{buttonBehaviours:va([pg.revoke()])}},overrides:function(e){return{dom:{tag:"span",attributes:{role:"presentation"}},action:function(t){t.getSystem().getByUid(e.uid).each(function(n){e.onExecute(n,t)})}}}}),VE=nn([IE,RE,wl({factory:{sketch:function(n){return{uid:n.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:n.text}}}},schema:[ct("text")],name:"aria-descriptor"}),xl({schema:[Wu()],name:"menu",defaults:function(o){return{onExecute:function(t,e){t.getSystem().getByUid(o.uid).each(function(n){o.onItemExecute(n,t,e)})}}}}),Wy()]),NE=Dl({name:"SplitDropdown",configFields:FE(),partFields:VE(),factory:function(o,n,t,e){function r(n){Ql.getCurrent(n).each(function(n){ud.highlightFirst(n),sg.focusIn(n)})}function i(n){qy(o,function(n){return n},n,e,r,Sy.HighlightFirst).get(Z)}function u(n){var t=qs(n,o,"button");return qt(t),on.some(!0)}var a=_n(nr([Fi(function(e,n){Ys(e,o,"aria-descriptor").each(function(n){var t=Vr("aria");Dr(n.element(),"id",t),Dr(e.element(),"aria-describedby",t)})})]),gm(on.some(i))),c={repositionMenus:function(n){wg.isOn(n)&&Qy(n)}};return{uid:o.uid,dom:o.dom,components:n,apis:c,eventOrder:P(P({},o.eventOrder),{"alloy.execute":["disabling","toggling","alloy.base.behaviour"]}),events:a,behaviours:Is(o.splitDropdownBehaviours,[jy.config({others:{sandbox:function(n){var t=qs(n,o,"arrow");return $y(o,n,{onOpen:function(){wg.on(t),wg.on(n)},onClose:function(){wg.off(t),wg.off(n)}})}}}),sg.config({mode:"special",onSpace:u,onEnter:u,onDown:function(n){return i(n),on.some(!0)}}),pg.config({}),wg.config({toggleOnExecute:!1,aria:{mode:"expanded"}})]),domModification:{attributes:{role:o.role.getOr("button"),"aria-haspopup":!0}}}},apis:{repositionMenus:function(n,t){return n.repositionMenus(t)}}}),HE=Vr("focus-button"),PE=["checklist","ordered-list"],zE=["indent","outdent","table-insert-column-after","table-insert-column-before","unordered-list"],LE=function(n,t,e){return nT(n,{toolbarButtonBehaviours:[].concat(0<e.length?[qd("toolbarButtonWith",e)]:[]),getApi:JO,onSetup:n.onSetup},t)},jE=function(n,t,e){return Dn(nT(n,{toolbarButtonBehaviours:[lg.config({}),wg.config({toggleClass:"tox-tbtn--enabled",aria:{mode:"pressed"},toggleOnExecute:!1})].concat(0<e.length?[qd("toolbarToggleButtonWith",e)]:[]),getApi:$O,onSetup:n.onSetup},t))},UE=function(n,t){var e=n.label.fold(function(){return{}},function(n){return{"aria-label":n}}),o=pm(ly.sketch({inputClasses:["tox-toolbar-textfield","tox-toolbar-nav-js"],data:n.initValue(),inputAttributes:e,selectOnFocus:!0,inputBehaviours:va([sg.config({mode:"special",onEnter:function(n){return r.findPrimary(n).map(function(n){return qt(n),!0})},onLeft:function(n,t){return t.cut(),on.none()},onRight:function(n,t){return t.cut(),on.none()}})])})),r=function(t,n,e){var o=w(n,function(n){return pm(oT(t,n,e))});return{asSpecs:function(){return w(o,function(n){return n.asSpec()})},findPrimary:function(e){return Bu(n,function(n,t){return n.primary?on.from(o[t]).bind(function(n){return n.getOpt(e)}).filter(v(wh.isDisabled)):on.none()})}}}(o,n.commands,t.shared.providers);return XO({uid:Vr("context-toolbar"),initGroups:[{title:on.none(),items:[o.asSpec()]},{title:on.none(),items:r.asSpecs()}],onEscape:on.none,cyclicKeying:!0,backstage:t,getSink:function(){return an.error("")}})},WE=function(t,e){function n(n){return n.dom()===e.getBody()}var o=Be.fromDom(e.selection.getNode());return uT(o,t.inNodeScope).orThunk(function(){return uT(o,t.inEditorScope).orThunk(function(){return function(n,t,e){for(var o=n.dom(),r=dn(e)?e:nn(!1);o.parentNode;){o=o.parentNode;var i=Be.fromDom(o),u=t(i);if(u.isSome())return u;if(r(i))break}return on.none()}(o,function(n){return uT(n,t.inNodeScope)},n)})})},GE=function(e,r){function o(t,e){var o=et(function(n){return tt("ContextForm",TE,n)}(e));(n[t]=o).launch.map(function(n){c["form:"+t]=P(P({},e.launch),{type:"contextformtogglebutton"===n.type?"togglebutton":"button",onAction:function(){r(o)}})}),"editor"===o.scope?a.push(o):u.push(o),s[t]=o}function i(t,e){(function(n){return tt("ContextToolbar",EE,n)})(e).each(function(n){"editor"===e.scope?a.push(n):u.push(n),s[t]=n})}var n={},u=[],a=[],c={},s={},t=wn(e);return bn(t,function(n){var t=e[n];"contextform"===t.type?o(n,t):"contexttoolbar"===t.type&&i(n,t)}),{forms:n,inNodeScope:u,inEditorScope:a,lookupTable:s,formNavigators:c}},XE=Vr("forward-slide"),YE=Vr("backward-slide"),qE=Vr("change-slide-event"),KE="tox-pop--resizing";(gT=mT=mT||{})[gT.SemiColon=0]="SemiColon",gT[gT.Space=1]="Space";function JE(n,t,e,o){return{type:"basic",data:function(n){return w(n,function(n){var t=n,e=n,o=n.split("=");return 1<o.length&&(t=o[0],e=o[1]),{title:t,format:e}})}(function(n,t){return t===mT.SemiColon?n.replace(/;$/,"").split(";"):n.split(" ")}(Nn(n.settings,t).getOr(e),o))}}function $E(e){function t(n){var t=O(wD,function(n){return e.formatter.match(n.format)}).fold(function(){return"left"},function(n){return n.title.toLowerCase()});Yt(n,ek,{icon:"align-"+t})}var n=on.some(function(n){return function(){return t(n)}}),o=on.some(function(n){return t(n)}),r=function(n){return{type:"basic",data:n}}(wD);return{tooltip:"Align",icon:on.some("align-left"),isSelectedFor:function(n){return function(){return e.formatter.match(n)}},getCurrentValue:nn(on.none()),getPreviewFor:function(n){return function(){return on.none()}},onAction:cT(e),setInitialValue:o,nodeChangeHandler:n,dataset:r,shouldHide:!1,isInvalid:function(n){return!e.formatter.canApply(n.format)}}}function QE(n){var t=n.split(/\s*,\s*/);return w(t,function(n){return n.replace(/^['"]+|['"]+$/g,"")})}function ZE(r){function i(){function e(n){return n?QE(n)[0]:""}var n=r.queryCommandValue("FontName"),t=u.data,o=n?n.toLowerCase():"";return{matchOpt:O(t,function(n){var t=n.format;return t.toLowerCase()===o||e(t).toLowerCase()===e(o).toLowerCase()}).orThunk(function(){return function(n){var t;return 0===n.indexOf("-apple-system")&&(t=QE(n.toLowerCase()),B(SD,function(n){return-1<t.indexOf(n.toLowerCase())}))}(o)?on.from({title:"System Font",format:o}):on.none()}),font:n}}function t(n){var t=i(),e=t.matchOpt,o=t.font,r=e.fold(function(){return o},function(n){return n.title});Yt(n,tk,{text:r})}var n=on.some(function(n){return function(){return t(n)}}),e=on.some(function(n){return t(n)}),u=JE(r,"font_formats","Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats",mT.SemiColon);return{tooltip:"Fonts",icon:on.none(),isSelectedFor:function(t){return function(n){return n.exists(function(n){return n.format===t})}},getCurrentValue:function(){return i().matchOpt},getPreviewFor:function(n){return function(){return on.some({tag:"div",styleAttr:-1===n.indexOf("dings")?"font-family:"+n:""})}},onAction:function(n){return function(){r.undoManager.transact(function(){r.focus(),r.execCommand("FontName",!1,n.format)})}},setInitialValue:e,nodeChangeHandler:n,dataset:u,shouldHide:!1,isInvalid:function(){return!1}}}function nB(n,t){return/[0-9.]+px$/.test(n)?function(n,t){var e=Math.pow(10,t);return Math.round(n*e)/e}(72*parseInt(n,10)/96,t||0)+"pt":n}function tB(e){function i(){var o=on.none(),r=u.data,i=e.queryCommandValue("FontSize");if(i)for(var n=function(n){var t=nB(i,n),e=function(n){return R(CD,n).getOr("")}(t);o=O(r,function(n){return n.format===i||n.format===t||n.format===e})},t=3;o.isNone()&&0<=t;t--)n(t);return{matchOpt:o,px:i}}function t(n){var t=i(),e=t.matchOpt,o=t.px,r=e.fold(function(){return o},function(n){return n.title});Yt(n,tk,{text:r})}var n=nn(nn(on.none())),o=on.some(function(n){return function(){return t(n)}}),r=on.some(function(n){return t(n)}),u=JE(e,"fontsize_formats","8pt 10pt 12pt 14pt 18pt 24pt 36pt",mT.Space);return{tooltip:"Font sizes",icon:on.none(),isSelectedFor:function(t){return function(n){return n.exists(function(n){return n.format===t})}},getPreviewFor:n,getCurrentValue:function(){return i().matchOpt},onAction:function(n){return function(){e.undoManager.transact(function(){e.focus(),e.execCommand("FontSize",!1,n.format)})}},setInitialValue:r,nodeChangeHandler:o,dataset:u,shouldHide:!1,isInvalid:function(){return!1}}}function eB(e,n,t){var o=n();return Bu(t,function(t){return O(o,function(n){return e.formatter.matchNode(t,n.format)})}).orThunk(function(){return e.formatter.match("p")?on.some({title:"Paragraph",format:"p"}):on.none()})}function oB(n){var t=n.selection.getStart(!0)||n.getBody();return n.dom.getParents(t,function(){return!0},n.getBody())}function rB(o){function e(n,t){var e=function(n){return eB(o,function(){return r.data},n)}(n).fold(function(){return"Paragraph"},function(n){return n.title});Yt(t,tk,{text:e})}var n=on.some(function(t){return function(n){return e(n.parents,t)}}),t=on.some(function(n){var t=oB(o);e(t,n)}),r=JE(o,"block_formats","Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre",mT.SemiColon);return{tooltip:"Blocks",icon:on.none(),isSelectedFor:function(n){return function(){return o.formatter.match(n)}},getCurrentValue:nn(on.none()),getPreviewFor:function(t){return function(){var n=o.formatter.get(t);return on.some({tag:0<n.length&&(n[0].inline||n[0].block)||"div",styleAttr:o.formatter.getCssText(t)})}},onAction:cT(o),setInitialValue:t,nodeChangeHandler:n,dataset:r,shouldHide:!1,isInvalid:function(n){return!o.formatter.canApply(n.format)}}}function iB(i,n){function e(n,t){var e=function(n){var t=n.items;return t!==undefined&&0<t.length?E(t,e):[{title:n.title,format:n.format}]},o=E(Uk(i),e),r=eB(i,function(){return o},n).fold(function(){return"Paragraph"},function(n){return n.title});Yt(t,tk,{text:r})}var t=on.some(function(t){return function(n){return e(n.parents,t)}}),o=on.some(function(n){var t=oB(i);e(t,n)});return{tooltip:"Formats",icon:on.none(),isSelectedFor:function(n){return function(){return i.formatter.match(n)}},getCurrentValue:nn(on.none()),getPreviewFor:function(t){return function(){var n=i.formatter.get(t);return n!==undefined?on.some({tag:0<n.length&&(n[0].inline||n[0].block)||"div",styleAttr:i.formatter.getCssText(t)}):on.none()}},onAction:cT(i),setInitialValue:o,nodeChangeHandler:t,shouldHide:i.getParam("style_formats_autohide",!1,"boolean"),isInvalid:function(n){return!i.formatter.canApply(n.format)},dataset:n}}function uB(o,r){return function(n,t){var e=o(n).mapError(function(n){return be(n)}).getOrDie();return r(e,t)}}function aB(n){var t=n.toolbar,e=n.buttons;return!1===t?[]:t===undefined||!0===t?function(e){var n=w(kD,function(n){var t=S(n.items,function(n){return Tn(e,n)||Tn(TD,n)});return{name:n.name,items:t}});return S(n,function(n){return 0<n.items.length})}(e):cn(t)?function(n){var t=n.split("|");return w(t,function(n){return{items:n.trim().split(" ")}})}(t):function(n){return h(n,function(n){return Tn(n,"name")&&Tn(n,"items")})}(t)?t:(H.console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"),[])}function cB(t,e,o,r,n){return R(e,o.toLowerCase()).orThunk(function(){return n.bind(function(n){return Bu(n,function(n){return R(e,n+o.toLowerCase())})})}).fold(function(){return R(TD,o.toLowerCase()).map(function(n){return n(t,r)}).orThunk(function(){return on.none()})},function(n){return function(t,e){return R(OD,t.type).fold(function(){return H.console.error("skipping button defined by",t),on.none()},function(n){return on.some(n(t,e))})}(n,r)})}function sB(e,o,r,i){var n=aB(o),t=w(n,function(n){var t=E(n.items,function(n){return 0===n.trim().length?[]:cB(e,o.buttons,n,r,i).toArray()});return{title:on.from(e.translate(n.name)),items:t}});return S(t,function(n){return 0<n.items.length})}function fB(e){return(di(e,"position").is("fixed")?on.none():vr(e)).orThunk(function(){var n=Be.fromTag("span");xr(e,n);var t=vr(n);return Hi(n),t}).map(lu).getOrThunk(function(){return Fu(0,0)})}function lB(t){return function(n){return n.translate(-t.left(),-t.top())}}function dB(t){return function(n){return n.translate(t.left(),t.top())}}function mB(e){return function(n,t){return k(e,function(n,t){return t(n)},Fu(n,t))}}function gB(n,t,e){return n.fold(mB([dB(e),lB(t)]),mB([lB(t)]),mB([]))}function pB(n,t,e){return n.fold(mB([dB(e)]),mB([]),mB([dB(t)]))}function hB(n,t,e){return n.fold(mB([]),mB([lB(e)]),mB([dB(t),lB(e)]))}function vB(n,t,e){return n.fold(function(n,t){return{position:"absolute",left:n+"px",top:t+"px"}},function(n,t){return{position:"absolute",left:n-e.left()+"px",top:t-e.top()+"px"}},function(n,t){return{position:"fixed",left:n+"px",top:t+"px"}})}function bB(n,i,u,a){function t(o,r){return function(n,t){var e=o(i,u,a);return r(n.getOr(e.left()),t.getOr(e.top()))}}return n.fold(t(hB,PD.offset),t(pB,PD.absolute),t(gB,PD.fixed))}function yB(n,t){var e=n.element();ni(e,t.transitionClass),ei(e,t.fadeOutClass),ni(e,t.fadeInClass),t.onShow(n)}function xB(n,t){var e=n.element();ni(e,t.transitionClass),ei(e,t.fadeInClass),ni(e,t.fadeOutClass),t.onHide(n)}function wB(n,t,e){return B(n,function(n){switch(n){case"bottom":return function(n,t){return n.bottom()<=t.bottom()}(t,e);case"top":return function(n,t){return n.y()>=t.y()}(t,e)}})}function SB(n,t){return Ar(n,t)?on.some(parseInt(_r(n,t),10)):on.none()}function CB(r,n){return SB(r,n.leftAttr).bind(function(o){return SB(r,n.topAttr).map(function(n){var t=du(r),e=cu(r);return bu(o,n,t,e)})})}function kB(n,t,e){var o=_r(n,t.positionAttr);switch(function(n,t){Mr(n,t.leftAttr),Mr(n,t.topAttr),Mr(n,t.positionAttr)}(n,t),o){case"static":return on.some(UD["static"]());case"absolute":return on.some(UD.absolute(e.x(),e.y()));default:return on.none()}}function OB(n,t,e,o,r){var i=yu(n);if(wB(t.modes,i,e))return on.none();var u=li(n,"position");!function(n,t,e,o,r){Dr(n,t.leftAttr,e),Dr(n,t.topAttr,o),Dr(n,t.positionAttr,r)}(n,t,i.x(),i.y(),u);var a=LD(i.x(),i.y()),c=gB(a,o,r),s=LD(e.x(),e.y()),f=gB(s,o,r),l=i.y()<=e.y()?f.top():f.top()+e.height()-i.height();return on.some(UD.fixed(c.left(),l))}function TB(n,t,e,o,r){var i=n.element();return di(i,"position").is("fixed")?function(t,e,o){return CB(t,e).filter(function(n){return wB(e.modes,n,o)}).bind(function(n){return kB(t,e,n)})}(i,t,e):OB(i,t,e,o,r)}function EB(t,n){bn(["left","top","position"],function(n){return gi(t.element(),n)}),n.onUndocked(t)}function BB(n,t,e,o,r){var i=vB(r,0,o);fi(n.element(),i),("fixed"===i.position?t.onDocked:t.onUndocked)(n)}function DB(o,n,r,i,u){void 0===u&&(u=!1),n.contextual.each(function(e){e.lazyContext(o).each(function(n){var t=function(n,t){return n.y()<t.bottom()&&n.bottom()>t.y()}(n,i);t!==r.isVisible()&&(r.setVisible(t),u&&!t?(ri(o.element(),[e.fadeOutClass]),e.onHide(o)):(t?yB:xB)(o,e))})})}function _B(r,i,n){var u=r.element();n.setDocked(!1),function(n,t){var e=n.element();return CB(e,t).bind(function(n){return kB(e,t,n)})}(r,i).each(function(n){n.fold(function(){return EB(r,i)},function(n,t){var e=gr(u),o=(gu(e),fB(u));BB(r,i,0,o,LD(n,t))},Z)}),n.setVisible(!0),i.contextual.each(function(n){ii(u,[n.fadeInClass,n.fadeOutClass,n.transitionClass]),n.onShow(r)}),WD(r,i,n)}function AB(n,t,e){e.isDocked()&&_B(n,t,e)}function MB(o){var r=o.element();hr(r).each(function(n){if(qD.isDocked(o)){var t=du(n);si(r,"width",t+"px");var e=su(r);si(n,"padding-top",e+"px")}else gi(r,"width"),gi(n,"padding-top")})}function FB(n,t){t?(ei(n,KD.fadeOutClass),ri(n,[KD.transitionClass,KD.fadeInClass])):(ei(n,KD.fadeInClass),ri(n,[KD.fadeOutClass,KD.transitionClass]))}function IB(n,t){var e=Be.fromDom(n.getContainer());t?(ni(e,JD),ei(e,$D)):(ni(e,$D),ei(e,JD))}function RB(i,e){function o(t){e().each(function(n){return t(n.element())})}function n(n){i.inline||MB(n),IB(i,qD.isDocked(n)),n.getSystem().broadcastOn([Lf()],{}),e().each(function(n){return n.getSystem().broadcastOn([Lf()],{})})}var t,r=Te(on.none());return[qD.config({leftAttr:"data-dock-left",topAttr:"data-dock-top",positionAttr:"data-dock-pos",contextual:P({lazyContext:function(n){var t=su(n.element()),e=i.inline?i.getContentAreaContainer():i.getContainer(),o=yu(Be.fromDom(e)),r=o.height()-t;return on.some(bu(o.x(),o.y(),o.width(),r))},onShow:function(){o(function(n){return FB(n,!0)})},onShown:function(t){o(function(n){return ii(n,[KD.transitionClass,KD.fadeInClass])}),r.get().each(function(n){!function(t,e){var o=gr(e);wa(o).filter(function(n){return!jt(e,n)}).filter(function(n){return jt(n,Be.fromDom(o.dom().body))||no(t,n)}).each(function(){return xa(e)})}(t.element(),n),r.set(on.none())})},onHide:function(n){r.set(function(n,t){return Sa(n).orThunk(function(){return t().toOption().bind(function(n){return Sa(n.element())})})}(n.element(),e)),o(function(n){return FB(n,!1)})},onHidden:function(){o(function(n){return ii(n,[KD.transitionClass])})}},KD),modes:["top"],onDocked:n,onUndocked:n}),pg.config({}),fc.config({channels:(t={},t[dE()]={onReceive:function(n){MB(n)}},t)})]}function VB(n){return"<alloy.field."+n+">"}function NB(n){return{element:function(){return n.element().dom()}}}function HB(e,o){var r=w(wn(o),function(n){var t=o[n],e=et(function(n){return tt("sidebar",s_,n)}(t));return{name:n,getApi:NB,onSetup:e.onSetup,onShow:e.onShow,onHide:e.onHide}});return w(r,function(n){var t=Te(Z);return e.slot(n.name,{dom:{tag:"div",classes:["tox-sidebar__pane"]},behaviours:qp([kp(n,t),Op(n,t),or(Lo(),function(t,n){var e=n.event();O(r,function(n){return n.name===e.name()}).each(function(n){(e.visible()?n.onShow:n.onHide)(n.getApi(t))})})])})})}function PB(n,t){Ql.getCurrent(n).each(function(n){return lg.set(n,[function(t){return c_.sketch(function(n){return{dom:{tag:"div",classes:["tox-sidebar__pane-container"]},components:HB(n,t),slotBehaviours:qp([Fi(function(n){return c_.hideAllSlots(n)})])}})}(t)])})}function zB(n){return Ql.getCurrent(n).bind(function(n){return iE.isGrowing(n)||iE.hasGrown(n)?Ql.getCurrent(n).bind(function(t){return O(c_.getSlotNames(t),function(n){return c_.isShowing(t,n)})}):on.none()})}function LB(n,t,e){var o=n.element();!0===t?(lg.set(n,[function(n){return{dom:{tag:"div",attributes:{"aria-label":n.translate("Loading...")},classes:["tox-throbber__busy-spinner"]},components:[{dom:up('<div class="tox-spinner"><div></div><div></div><div></div></div>')}],behaviours:va([sg.config({mode:"special",onTab:function(){return on.some(!0)},onShiftTab:function(){return on.some(!0)}}),pg.config({})])}}(e)]),gi(o,"display"),Mr(o,"aria-hidden")):(lg.set(n,[]),si(o,"display","none"),Dr(o,"aria-hidden","true"))}function jB(n){return"string"==typeof n?n.split(" "):n}function UB(e,o){var r=_n(x_,o.menus),t=0<wn(o.menus).length,n=o.menubar===undefined||!0===o.menubar?jB("file edit view insert format tools table help"):jB(!1===o.menubar?"":o.menubar),i=S(n,function(n){return t&&o.menus.hasOwnProperty(n)&&o.menus[n].hasOwnProperty("items")||x_.hasOwnProperty(n)}),u=w(i,function(n){var t=r[n];return function(n,e,t){var o=function(n){return n.getParam("removed_menuitems","")}(t).split(/[ ,]/);return{text:n.title,getItems:function(){return E(n.items,function(n){var t=n.toLowerCase();return 0===t.trim().length?[]:y(o,function(n){return n===t})?[]:"separator"===t||"|"===t?[{type:"separator"}]:e.menuItems[t]?[e.menuItems[t]]:[]})}}}({title:t.title,items:jB(t.items)},o,e)});return S(u,function(n){return 0<n.getItems().length&&y(n.getItems(),function(n){return"separator"!==n.type})})}function WB(n,t){var e,o=function(n){var t=n.settings,e=t.skin,o=t.skin_url;if(!1!==e){var r=e||"oxide";o=o?n.documentBaseURI.toAbsolute(o):Pb.baseURL+"/skins/ui/"+r}return o}(t);o&&(e=o+"/skin.min.css",t.contentCSS.push(o+(n?"/content.inline":"/content")+".min.css")),!1===function(n){return!1===n.getParam("skin")}(t)&&e?Fh.DOM.styleSheetLoader.load(e,w_(t)):w_(t)()}function GB(t,n,e,o){var r=n.outerContainer,i=e.toolbar,u=e.buttons;if(h(i,cn)){var a=i.map(function(n){return sB(t,{toolbar:n,buttons:u},{backstage:o},on.none())});y_.setToolbars(r,a)}else y_.setToolbar(r,sB(t,e,{backstage:o},on.none()))}function XB(n,t){return function(){n.execCommand("mceToggleFormat",!1,t)}}function YB(n){!function(e){hk.each([{name:"bold",text:"Bold",icon:"bold"},{name:"italic",text:"Italic",icon:"italic"},{name:"underline",text:"Underline",icon:"underline"},{name:"strikethrough",text:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",icon:"superscript"}],function(n,t){e.ui.registry.addToggleButton(n.name,{tooltip:n.text,icon:n.icon,onSetup:aT(e,n.name),onAction:XB(e,n.name)})});for(var n=1;n<=6;n++){var t="h"+n;e.ui.registry.addToggleButton(t,{text:t.toUpperCase(),tooltip:"Heading "+n,onSetup:aT(e,t),onAction:XB(e,t)})}}(n),function(t){hk.each([{name:"cut",text:"Cut",action:"Cut",icon:"cut"},{name:"copy",text:"Copy",action:"Copy",icon:"copy"},{name:"paste",text:"Paste",action:"Paste",icon:"paste"},{name:"help",text:"Help",action:"mceHelp",icon:"help"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all"},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"remove",text:"Remove",action:"Delete",icon:"remove"}],function(n){t.ui.registry.addButton(n.name,{tooltip:n.text,icon:n.icon,onAction:function(){return t.execCommand(n.action)}})})}(n),function(t){hk.each([{name:"blockquote",text:"Blockquote",action:"mceBlockQuote",icon:"quote"}],function(n){t.ui.registry.addToggleButton(n.name,{tooltip:n.text,icon:n.icon,onAction:function(){return t.execCommand(n.action)},onSetup:aT(t,n.name)})})}(n)}function qB(n,t,e){function o(){return!!t.undoManager&&t.undoManager[e]()}function r(){n.setDisabled(t.readonly||!o())}return n.setDisabled(!o()),t.on("Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",r),function(){return t.off("Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",r)}}function KB(n,t){return{anchor:"makeshift",x:n,y:t}}function JB(n){return"longpress"===n.type||0===n.type.indexOf("touch")}function $B(n,t){var e=Fh.DOM.getPos(n);return function(n,t,e){return KB(n.x+t,n.y+e)}(t,e.x,e.y)}function QB(n,t){return"contextmenu"===t.type?n.inline?function(n){if(JB(n)){var t=n.touches[0];return KB(t.pageX,t.pageY)}return KB(n.pageX,n.pageY)}(t):$B(n.getContentAreaContainer(),function(n){if(JB(n)){var t=n.touches[0];return KB(t.clientX,t.clientY)}return KB(n.clientX,n.clientY)}(t)):V_(n)}function ZB(n){return{anchor:"node",node:on.some(Be.fromDom(n.selection.getNode())),root:Be.fromDom(n.getBody())}}function nD(n,t,e,o,r,i){var u=e(),a=function(n,t,e){return e?ZB(n):QB(n,t)}(n,t,i);IC(u,Ah.CLOSE_ON_EXECUTE,o,!1).map(function(n){t.preventDefault(),zg.showMenuAt(r,a,{menu:{markers:yv("normal")},data:n})})}function tD(t,e,n,o,r,i){var u=Fb(t)||Ib(t)||zb(t),a=function(n,t){var e=t?ZB(n):V_(n);return P({bubble:ka(0,12,H_),layouts:N_,overrides:{maxWidthFunction:MT(),maxHeightFunction:Sf()}},e)}(t,i);IC(n,Ah.CLOSE_ON_EXECUTE,o,!0).map(function(n){e.preventDefault(),zg.showMenuWithinBounds(r,a,{menu:{markers:yv("normal")},data:n,type:"horizontal"},function(){return iT(t,u)}),t.fire(WT)})}function eD(t,e,o,r,i,u){function n(){var n=o();tD(t,e,n,r,i,u)}var a=Ht(),c=a.os.isiOS(),s=a.os.isOSX(),f=a.os.isAndroid();if(!s&&!c||u)f&&!u&&t.selection.setCursorLocation(e.target,0),n();else{var l=function(){!function(n){function t(){Xg.setEditorTimeout(n,function(){n.selection.setRng(e)},10),i()}var e=n.selection.getRng();n.once("touchend",t);function o(n){n.preventDefault(),n.stopImmediatePropagation()}n.on("mousedown",o,!0);function r(){return i()}n.once("longpresscancel",r);var i=function(){n.off("touchend",t),n.off("longpresscancel",r),n.off("mousedown",o)}}(t),n()};!function(n,t){var e=n.selection;if(e.isCollapsed()||t.touches.length<1)return!1;var o=t.touches[0],r=e.getRng();return jc(n.getWin(),Tc.domRange(r)).exists(function(n){return n.left()<=o.clientX&&n.right()>=o.clientX&&n.top()<=o.clientY&&n.bottom()>=o.clientY})}(t,e)?(t.once("selectionchange",l),t.once("touchend",function(){return t.off("selectionchange",l)})):l()}}function oD(n){return"string"==typeof n?n.split(/[ ,]/):n}function rD(n){return cn(n)?"|"===n:"separator"===n.type}function iD(n,t){if(0===t.length)return n;var e=M(n).filter(function(n){return!rD(n)}).fold(function(){return[]},function(n){return[j_]});return n.concat(e).concat(t).concat([j_])}function uD(i,n,t){function e(n){return zg.hide(a)}function o(o){var n="longpress"===o.type;if(P_(i)&&o.preventDefault(),!function(n,t){return t.ctrlKey&&!P_(n)}(i,o)&&!L_(i)){var r=!n&&(2!==o.button||o.target===i.getBody());(u()?eD:nD)(i,o,function(){var n=r?i.selection.getStart(!0):o.target,t=i.ui.registry.getAll(),e=z_(i);return function(r,n,i){var t=k(n,function(n,t){if(Tn(r,t)){var e=r[t].update(i);if(cn(e))return iD(n,e.split(" "));if(0<e.length){var o=w(e,U_);return iD(n,o)}return n}return n.concat([t])},[]);return 0<t.length&&rD(t[t.length-1])&&t.pop(),t}(t.contextMenus,e,n)},t,a,r)}}var u=Ht().deviceType.isTouch,a=iu(zg.sketch({dom:{tag:"div"},lazySink:n,onEscape:function(){return i.focus()},onShow:function(){return t.setContextMenuState(!0)},onHide:function(){return t.setContextMenuState(!1)},fireDismissalEventInstead:{},inlineBehaviours:va([qd("dismissContextMenu",[or(Ho(),function(n,t){Pf.close(n),i.focus()})])])}));i.on("init",function(){var n="ResizeEditor ScrollContent ScrollWindow longpresscancel"+(u()?"":"ResizeWindow");i.on(n,e),i.on(u()?"longpress":"longpress contextmenu",o)})}function aD(n,t){n.getSystem().addToGui(t),function(n){hr(n.element()).filter(Bi).each(function(t){di(t,"z-index").each(function(n){Dr(t,X_,n)}),si(t,"z-index",li(n.element(),"z-index"))})}(t)}function cD(n){!function(n){hr(n.element()).filter(Bi).each(function(n){var t=_r(n,X_);Ar(n,X_)?si(n,"z-index",t):gi(n,"z-index"),Mr(n,X_)})}(n),n.getSystem().removeFromGui(n)}function sD(n,t,e,o){return function(n,t){var e=n.element(),o=parseInt(_r(e,t.leftAttr),10),r=parseInt(_r(e,t.topAttr),10);return isNaN(o)||isNaN(r)?on.none():on.some(Fu(o,r))}(n,t).fold(function(){return e},function(n){return jD(n.left()+o.left(),n.top()+o.top())})}function fD(n,t,e,o,r,i){var u=sD(n,t,e,o),a=t.mustSnap?Y_(n,t,u,r,i):q_(n,t,u,r,i),c=gB(u,r,i);return function(n,t,e){var o=n.element();Dr(o,t.leftAttr,e.left()+"px"),Dr(o,t.topAttr,e.top()+"px")}(n,t,c),a.fold(function(){return{coord:jD(c.left(),c.top()),extra:on.none()}},function(n){return{coord:n.output(),extra:n.extra()}})}function lD(n,t){!function(n,t){var e=n.element();Mr(e,t.leftAttr),Mr(e,t.topAttr)}(n,t)}function dD(n,e,o,r){return Bu(n,function(n){var t=n.sensor();return function(n,t,e,o,r,i){var u=pB(n,r,i),a=pB(t,r,i);return Math.abs(u.left()-a.left())<=e&&Math.abs(u.top()-a.top())<=o}(e,t,n.range().left(),n.range().top(),o,r)?on.some({output:nn(bB(n.output(),e,o,r)),extra:n.extra}):on.none()})}function mD(n,t){return{bounds:n.getBounds(),height:su(t.element()),width:mu(t.element()),comp:t}}function gD(e,n,o,r,i,u,t){return function(n,t,e,o,r){var i=r.bounds,u=pB(t,e,o),a=is(u.left(),i.x(),i.x()+i.width()-r.width),c=is(u.top(),i.y(),i.y()+i.height()-r.height),s=LD(a,c);return t.fold(function(){var n=hB(s,e,o);return zD(n.left(),n.top())},function(){return s},function(){var n=gB(s,e,o);return jD(n.left(),n.top())})}(0,n.fold(function(){var n=function(n,e,o){return n.fold(function(n,t){return PD.offset(n+e,t+o)},function(n,t){return PD.absolute(n+e,t+o)},function(n,t){return PD.fixed(n+e,t+o)})}(o,u.left(),u.top()),t=gB(n,r,i);return jD(t.left(),t.top())},function(t){var n=fD(e,t,o,u,r,i);return n.extra.each(function(n){t.onSensor(e,n)}),n.coord}),r,i,t)}function pD(n,t,e,o){var r=t.getTarget(n.element());if(t.repositionTarget){var i=gr(n.element()),u=gu(i),a=fB(r),c=function(o){return di(o,"left").bind(function(e){return di(o,"top").bind(function(t){return di(o,"position").map(function(n){return("fixed"===n?jD:zD)(parseInt(e,10),parseInt(t,10))})})}).getOrThunk(function(){var n=lu(o);return LD(n.left(),n.top())})}(r),s=gD(n,t.snaps,c,u,a,o,e),f=vB(s,0,a);fi(r,f)}t.onDrag(n,r,o)}var hD,vD,bD,yD,xD,wD=[{title:"Left",icon:"align-left",format:"alignleft"},{title:"Center",icon:"align-center",format:"aligncenter"},{title:"Right",icon:"align-right",format:"alignright"},{title:"Justify",icon:"align-justify",format:"alignjustify"}],SD=["-apple-system","Segoe UI","Roboto","Helvetica Neue","sans-serif"],CD={"8pt":"1","10pt":"2","12pt":"3","14pt":"4","18pt":"5","24pt":"6","36pt":"7"},kD=[{name:"history",items:["undo","redo"]},{name:"styles",items:["styleselect"]},{name:"formatting",items:["bold","italic"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]},{name:"permanent pen",items:["permanentpen"]},{name:"comments",items:["addcomment"]}],OD={button:uB(YO,function(n,t){return function(n,t){return LE(n,t,[])}(n,t.backstage.shared.providers)}),togglebutton:uB(KO,function(n,t){return function(n,t){return jE(n,t,[])}(n,t.backstage.shared.providers)}),menubutton:uB(qO,function(n,t){return VC(n,"tox-tbtn",t.backstage,on.none())}),splitbutton:uB(function(n){return tt("SplitButton",vE,n)},function(n,t){return tT(n,t.backstage.shared)}),styleSelectButton:function(n,t){return function(n,t){var e=P({type:"advanced"},t.styleselect);return fT(n,t,iB(n,e))}(n,t.backstage)},fontsizeSelectButton:function(n,t){return function(n,t){return fT(n,t,tB(n))}(n,t.backstage)},fontSelectButton:function(n,t){return function(n,t){return fT(n,t,ZE(n))}(n,t.backstage)},formatButton:function(n,t){return function(n,t){return fT(n,t,rB(n))}(n,t.backstage)},alignMenuButton:function(n,t){return function(n,t){return fT(n,t,$E(n))}(n,t.backstage)}},TD={styleselect:OD.styleSelectButton,fontsizeselect:OD.fontsizeSelectButton,fontselect:OD.fontSelectButton,formatselect:OD.formatButton,align:OD.alignMenuButton},ED={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"]},BD={maxHeightFunction:Sf(),maxWidthFunction:MT()},DD={onLtr:function(){return[ec,oc,aa,ia,ca,ua,Lg,jg,dm,fm,mm,lm]},onRtl:function(){return[ec,oc,ca,ua,aa,ia,Lg,jg,mm,lm,dm,fm]}},_D={onLtr:function(){return[oc,ia,ua,aa,ca,ec,Lg,jg,dm,fm,mm,lm]},onRtl:function(){return[oc,ua,ia,ca,aa,ec,Lg,jg,mm,lm,dm,fm]}},AD=function(u,n,e,a){function c(){return iT(u,m)}function s(){if(l()&&a.backstage.isContextMenuOpen())return!0;var n=p.get().map(function(n){return n.getBoundingClientRect()}).getOrThunk(function(){return u.selection.getRng().getBoundingClientRect()}),t=pr(Be.fromDom(u.getBody())).dom().innerHeight,e=n.bottom<0,o=n.top>t;return e||o||function(n){var t=Cu(Be.fromDom(u.getContainer()),".tox-editor-header").getOrDie(),e="fixed"===li(t,"position");if(m&&e){var o=t.dom().getBoundingClientRect();if(u.inline)return n.bottom<o.bottom;var r=gu(),i=xu(Be.fromDom(u.getBody()));return n.bottom+(i.y()-r.top())<o.bottom}return!1}(n)}function t(){zg.hide(d)}function o(){g.get().each(function(n){var t=d.element();gi(t,"display"),s()?si(t,"display","none"):Df.positionWithinBounds(e,n,d,c())})}function f(n){return{dom:{tag:"div",classes:["tox-pop__dialog"]},components:[n],behaviours:va([sg.config({mode:"acyclic"}),qd("pop-dialog-wrap-events",[Fi(function(n){u.shortcuts.add("ctrl+F9","focus statusbar",function(){return sg.focusIn(n)})}),Ii(function(n){u.shortcuts.remove("ctrl+F9")})])])}}var l=Ht().deviceType.isTouch,d=iu(function(n){var e=Te([]);return zg.sketch({dom:{tag:"div",classes:["tox-pop"]},fireDismissalEventInstead:{event:"doNotDismissYet"},onShow:function(n){e.set([]),zg.getContent(n).each(function(n){gi(n.element(),"visibility")}),ei(n.element(),KE),gi(n.element(),"width")},inlineBehaviours:va([qd("context-toolbar-events",[sr(vo(),function(n,t){zg.getContent(n).each(function(n){}),ei(n.element(),KE),gi(n.element(),"width")}),or(qE,function(t,e){gi(t.element(),"width");var n=du(t.element());zg.setContent(t,e.event().contents()),ni(t.element(),KE);var o=du(t.element());si(t.element(),"width",n+"px"),zg.getContent(t).each(function(n){e.event().focus().bind(function(n){return xa(n),Sa(t.element())}).orThunk(function(){return sg.focusIn(n),wa()})}),Xg.setTimeout(function(){si(t.element(),"width",o+"px")},0)}),or(XE,function(n,t){zg.getContent(n).each(function(n){e.set(e.get().concat([{bar:n,focus:wa()}]))}),Yt(n,qE,{contents:t.event().forwardContents(),focus:on.none()})}),or(YE,function(t,n){M(e.get()).each(function(n){e.set(e.get().slice(0,e.get().length-1)),Yt(t,qE,{contents:uu(n.bar),focus:n.focus})})})]),sg.config({mode:"special",onEscape:function(t){return M(e.get()).fold(function(){return n.onEscape()},function(n){return Xt(t,YE),on.some(!0)})}})]),lazySink:function(){return an.value(n.sink)}})}({sink:e,onEscape:function(){return u.focus(),on.some(!0)}})),m=Fb(u)||Ib(u)||zb(u),g=Te(on.none()),p=Te(on.none()),r=Te(null),i=N(function(){return GE(n,function(n){var t=h(n);Yt(d,XE,{forwardContents:f(t)})})}),h=function(n){var t,e,o=u.ui.registry.getAll().buttons,r=i();return"contexttoolbar"===n.type?(t=_n(o,r.formNavigators),e=sB(u,{buttons:t,toolbar:n.items},a,on.some(["form:"])),XO({uid:Vr("context-toolbar"),initGroups:e,onEscape:on.none,cyclicKeying:!0,backstage:a.backstage,getSink:function(){return an.error("")}})):UE(n,a.backstage)};u.on("contexttoolbar-show",function(t){var n=i();Nn(n.lookupTable,t.toolbarKey).each(function(n){x(n,t.target===u?on.none():on.some(t)),zg.getContent(d).each(sg.focusIn)})});function v(n,t){var e="node"===n?a.backstage.shared.anchors.node(t):a.backstage.shared.anchors.cursor();return Dn(e,function(n,t){return"line"===n?{bubble:ka(12,0,ED),layouts:{onLtr:function(){return[sa]},onRtl:function(){return[fa]}},overrides:BD}:{bubble:ka(0,12,ED),layouts:t?_D:DD,overrides:BD}}(n,l()))}function b(){var n=i();WE(n,u).fold(function(){g.set(on.none()),zg.hide(d)},function(n){x(n.toolbarApi,on.some(n.elem.dom()))})}function y(n){w(),r.set(n)}var x=function(n,t){if(w(),!l()||!a.backstage.isContextMenuOpen()){var e=h(n),o=t.map(Be.fromDom),r=v(n.position,o);g.set(on.some(r)),p.set(t);var i=d.element();gi(i,"display"),zg.showWithinBounds(d,r,f(e),c),s()&&si(i,"display","none")}},w=function(){var n=r.get();null!==n&&(Xg.clearTimeout(n),r.set(null))};u.on("init",function(){u.on(WT,t),u.on("ScrollContent ScrollWindow longpress",o),u.on("click keyup SetContent ObjectResized ResizeEditor",function(n){y(Xg.setEditorTimeout(u,b,0))}),u.on("focusout",function(n){Xg.setEditorTimeout(u,function(){Sa(e.element()).isNone()&&Sa(d.element()).isNone()&&(g.set(on.none()),zg.hide(d))},0)}),u.on("SwitchMode",function(){u.readonly&&(g.set(on.none()),zg.hide(d))}),u.on("NodeChange",function(n){Sa(d.element()).fold(function(){y(Xg.setEditorTimeout(u,b,0))},function(n){})})})},MD=function(n,e,o){function t(t){bn([e,o],function(n){n.broadcastOn([zf()],{target:Be.fromDom(t.target)})})}function r(t){0===t.button&&bn([e,o],function(n){n.broadcastOn([jf()],{target:Be.fromDom(t.target)})})}function i(n){var t=mb(n);bn([e,o],function(n){n.broadcastEvent(Io(),t)})}function u(n){var t=mb(n);bn([e,o],function(n){n.broadcastOn([Lf()],{}),n.broadcastEvent(Ro(),t)})}function a(){bn([e,o],function(n){n.broadcastOn([Lf()],{})})}var c=ab(Be.fromDom(H.document),"mousedown",function(t){bn([e,o],function(n){n.broadcastOn([zf()],{target:t.target()})})}),s=ab(Be.fromDom(H.document),"touchstart",function(t){bn([e,o],function(n){n.broadcastOn([zf()],{target:t.target()})})}),f=ab(Be.fromDom(H.document),"touchmove",function(t){bn([e,o],function(n){n.broadcastEvent(Mo(),t)})}),l=ab(Be.fromDom(H.document),"touchend",function(t){bn([e,o],function(n){n.broadcastEvent(Fo(),t)})}),d=ab(Be.fromDom(H.document),"mouseup",function(t){0===t.raw().button&&bn([e,o],function(n){n.broadcastOn([jf()],{target:t.target()})})});n.on("PostRender",function(){n.on("mousedown",t),n.on("touchstart",t),n.on("mouseup",r),n.on("ScrollWindow",i),n.on("ResizeWindow",u),n.on("ResizeEditor",a)}),n.on("remove",function(){n.off("mousedown",t),n.off("touchstart",t),n.off("mouseup",r),n.off("ScrollWindow",i),n.off("ResizeWindow",u),n.off("ResizeEditor",a),c.unbind(),s.unbind(),f.unbind(),l.unbind(),d.unbind()}),n.on("detach",function(){xs(e),xs(o),e.destroy(),o.destroy()})},FD=nn([St("shell",!1),ct("makeItem"),St("setupItem",Z),Zf("listBehaviours",[lg])]),ID=wl({name:"items",overrides:function(n){return{behaviours:va([lg.config({})])}}}),RD=nn([ID]),VD=Dl({name:nn("CustomList")(),configFields:FD(),partFields:RD(),factory:function(s,n,t,e){var o=s.shell?{behaviours:[lg.config({})],components:[]}:{behaviours:[],components:n},r=function(n){return s.shell?on.some(n):Ys(n,s,"items")};return{uid:s.uid,dom:s.dom,components:o.components,behaviours:Is(s.listBehaviours,o.behaviours),apis:{setItems:function(a,c){r(a).fold(function(){throw H.console.error("Custom List was defined to not be a shell, but no item container was specified in components"),new Error("Custom List was defined to not be a shell, but no item container was specified in components")},function(t){var n=lg.contents(t),e=c.length,o=e-n.length,r=0<o?function(n,t){for(var e=[],o=0;o<n;o++)e.push(t(o));return e}(o,function(){return s.makeItem()}):[],i=n.slice(e);bn(i,function(n){return lg.remove(t,n)}),bn(r,function(n){return lg.append(t,n)});var u=lg.contents(t);bn(u,function(n,t){s.setupItem(a,n,c[t],t)})})}}}},apis:{setItems:function(n,t,e){n.setItems(t,e)}}}),ND=Tl,HD=kl,PD=En([{offset:["x","y"]},{absolute:["x","y"]},{fixed:["x","y"]}]),zD=PD.offset,LD=PD.absolute,jD=PD.fixed,UD=En([{"static":[]},{absolute:["x","y"]},{fixed:["x","y"]}]),WD=function(n,t,e){n.getSystem().isConnected()&&function(e,o,r){var i=o.lazyViewport(e),n=e.element(),t=gr(n),u=gu(t),a=fB(n),c=r.isDocked();c&&DB(e,o,r,i),TB(e,o,i,u,a).each(function(n){r.setDocked(!c),n.fold(function(){return EB(e,o)},function(n,t){return BB(e,o,0,a,LD(n,t))},function(n,t){DB(e,o,r,i,!0),BB(e,o,0,a,jD(n,t))})})}(n,t,e)},GD=/* */Object.freeze({refresh:WD,reset:AB,isDocked:function(n,t,e){return e.isDocked()}}),XD=/* */Object.freeze({events:function(o,r){return nr([sr(vo(),function(t,e){o.contextual.each(function(n){oi(t.element(),n.transitionClass)&&(ii(t.element(),[n.transitionClass,n.fadeInClass]),(r.isVisible()?n.onShown:n.onHidden)(t));e.stop()})}),or(Io(),function(n,t){WD(n,o,r)}),or(Ro(),function(n,t){AB(n,o,r)})])}}),YD=[wt("contextual",[ft("fadeInClass"),ft("fadeOutClass"),ft("transitionClass"),dt("lazyContext"),Yu("onShow"),Yu("onShown"),Yu("onHide"),Yu("onHidden")]),Bt("lazyViewport",wu),ft("leftAttr"),ft("topAttr"),ft("positionAttr"),(hD="modes",vD=["top","bottom"],bD=we,Ct(hD,vD,Kn(bD))),Yu("onDocked"),Yu("onUndocked")],qD=ba({fields:YD,name:"docking",active:XD,apis:GD,state:/* */Object.freeze({init:function(){var t=Te(!1),e=Te(!0);return Zi({isDocked:function(){return t.get()},setDocked:function(n){return t.set(n)},isVisible:function(){return e.get()},setVisible:function(n){return e.set(n)},readState:function(){return"docked: "+t.get()+", visible: "+e.get()}})}})}),KD={fadeInClass:"tox-editor-dock-fadein",fadeOutClass:"tox-editor-dock-fadeout",transitionClass:"tox-editor-dock-transition"},JD="tox-tinymce--toolbar-sticky-on",$D="tox-tinymce--toolbar-sticky-off",QD=/* */Object.freeze({setup:function(n,t){n.inline||(n.on("ResizeWindow ResizeEditor ResizeContent",function(){t().each(MB)}),n.on("SkinLoaded",function(){t().each(qD.reset)})),n.on("PostRender",function(){IB(n,!1)})},isDocked:function(n){return n().map(qD.isDocked).getOr(!1)},getBehaviours:RB}),ZD=Z,n_=u,t_=nn([]),e_=/* */Object.freeze({setup:ZD,isDocked:n_,getBehaviours:t_}),o_=Bl({factory:function(t,o){var n={focus:sg.focusIn,setMenus:function(n,t){var e=w(t,function(t){var n={type:"menubutton",text:t.text,fetch:function(n){n(t.getItems())}},e=qO(n).mapError(function(n){return be(n)}).getOrDie();return VC(e,"tox-mbtn",o.backstage,on.some("menuitem"))});lg.set(n,e)}};return{uid:t.uid,dom:t.dom,components:[],behaviours:va([lg.config({}),qd("menubar-events",[Fi(function(n){t.onSetup(n)}),or(co(),function(e,n){Cu(e.element(),".tox-mbtn--active").each(function(t){ku(n.event().target(),".tox-mbtn").each(function(n){jt(t,n)||e.getSystem().getByDom(t).each(function(t){e.getSystem().getByDom(n).each(function(n){vw.expand(n),vw.close(t),pg.focus(n)})})})})}),or(zo(),function(e,n){n.event().prevFocus().bind(function(n){return e.getSystem().getByDom(n).toOption()}).each(function(t){n.event().newFocus().bind(function(n){return e.getSystem().getByDom(n).toOption()}).each(function(n){vw.isOpen(t)&&(vw.expand(n),vw.close(t))})})})]),sg.config({mode:"flow",selector:".tox-mbtn",onEscape:function(n){return t.onEscape(n),on.some(!0)}}),Ny.config({})]),apis:n,domModification:{attributes:{role:"menubar"}}}},name:"silver.Menubar",configFields:[ct("dom"),ct("uid"),ct("onEscape"),ct("backstage"),St("onSetup",Z)],apis:{focus:function(n,t){n.focus(t)},setMenus:function(n,t,e){n.setMenus(t,e)}}}),r_="container",i_=[Ms("slotBehaviours",[])],u_=function(r,n,t){function e(n){return $s(r)}function o(e,o){return void 0===o&&(o=undefined),function(n,t){return Ys(n,r,t).map(function(n){return e(n,t)}).getOr(o)}}function i(n,t){return"true"!==_r(n.element(),"aria-hidden")}var u,a=o(i,!1),c=o(function(n,t){if(i(n)){var e=n.element();si(e,"display","none"),Dr(e,"aria-hidden","true"),Yt(n,Lo(),{name:t,visible:!1})}}),s=(u=c,function(t,n){bn(n,function(n){return u(t,n)})}),f=o(function(n,t){if(!i(n)){var e=n.element();gi(e,"display"),Mr(e,"aria-hidden"),Yt(n,Lo(),{name:t,visible:!0})}}),l={getSlotNames:e,getSlot:function(n,t){return Ys(n,r,t)},isShowing:a,hideSlot:c,hideAllSlots:function(n){return s(n,e())},showSlot:f};return{uid:r.uid,dom:r.dom,components:n,behaviours:Fs(r.slotBehaviours),apis:l}},a_=L({getSlotNames:function(n,t){return n.getSlotNames(t)},getSlot:function(n,t,e){return n.getSlot(t,e)},isShowing:function(n,t,e){return n.isShowing(t,e)},hideSlot:function(n,t,e){return n.hideSlot(t,e)},hideAllSlots:function(n,t){return n.hideAllSlots(t)},showSlot:function(n,t,e){return n.showSlot(t,e)}},Lr),c_=P(P({},a_),{sketch:function(n){var e,t=(e=[],{slot:function(n,t){return e.push(n),js(r_,VB(n),t)},record:function(){return e}}),o=n(t),r=t.record(),i=w(r,function(n){return yl({name:n,pname:VB(n)})});return ef(r_,i_,i,u_,o)}}),s_=le([yt("icon"),yt("tooltip"),Bt("onShow",Z),Bt("onHide",Z),Bt("onSetup",function(){return Z})]),f_=Vr("FixSizeEvent"),l_=Vr("AutoSizeEvent"),d_=HD.optional({factory:o_,name:"menubar",schema:[ct("backstage")]}),m_=HD.optional({factory:{sketch:function(n){return VD.sketch({uid:n.uid,dom:n.dom,listBehaviours:va([sg.config({mode:"acyclic",selector:".tox-toolbar"})]),makeItem:function(){return XO({uid:Vr("multiple-toolbar-item"),backstage:n.backstage,cyclicKeying:!1,getSink:n.getSink,initGroups:[],onEscape:function(){return on.none()}})},setupItem:function(n,t,e,o){YT.setGroups(t,e)},shell:!0})}},name:"multiple-toolbar",schema:[ct("dom"),ct("onEscape")]}),g_=HD.optional({factory:{sketch:function(n){return function(n){return n.split===Vb.sliding?GO:n.split===Vb.floating?WO:XO}(n)({uid:n.uid,onEscape:function(){return n.onEscape(),on.some(!0)},cyclicKeying:!1,initGroups:[],getSink:n.getSink,backstage:n.backstage,moreDrawerData:{lazyToolbar:n.lazyToolbar,lazyMoreButton:n.lazyMoreButton,lazyHeader:n.lazyHeader}})}},name:"toolbar",schema:[ct("dom"),ct("onEscape"),ct("getSink")]}),p_=HD.optional({factory:{sketch:function(n){var t=n.editor,e=n.sticky?RB:t_;return{uid:n.uid,dom:n.dom,components:n.components,behaviours:va(e(t,n.getSink))}}},name:"header",schema:[ct("dom")]}),h_=HD.optional({name:"socket",schema:[ct("dom")]}),v_=HD.optional({factory:{sketch:function(n){return{uid:n.uid,dom:{tag:"div",classes:["tox-sidebar"],attributes:{role:"complementary"}},components:[{dom:{tag:"div",classes:["tox-sidebar__slider"]},components:[],behaviours:va([Ny.config({}),pg.config({}),iE.config({dimension:{property:"width"},closedClass:"tox-sidebar--sliding-closed",openClass:"tox-sidebar--sliding-open",shrinkingClass:"tox-sidebar--sliding-shrinking",growingClass:"tox-sidebar--sliding-growing",onShrunk:function(n){Ql.getCurrent(n).each(c_.hideAllSlots),Xt(n,l_)},onGrown:function(n){Xt(n,l_)},onStartGrow:function(n){Yt(n,f_,{width:di(n.element(),"width").getOr("")})},onStartShrink:function(n){Yt(n,f_,{width:du(n.element())+"px"})}}),lg.config({}),Ql.config({find:function(n){var t=lg.contents(n);return yn(t)}})])}],behaviours:va([yS(0),qd("sidebar-sliding-events",[or(f_,function(n,t){si(n.element(),"width",t.event().width())}),or(l_,function(n,t){gi(n.element(),"width")})])])}}},name:"sidebar",schema:[ct("dom")]}),b_=HD.optional({factory:{sketch:function(n){return{uid:n.uid,dom:{tag:"div",attributes:{"aria-hidden":"true"},classes:["tox-throbber"],styles:{display:"none"}},behaviours:va([lg.config({})]),components:[]}}},name:"throbber",schema:[ct("dom")]}),y_=Dl({name:"OuterContainer",factory:function(e,n,t){var o={getSocket:function(n){return ND.getPart(n,e,"socket")},setSidebar:function(n,t){ND.getPart(n,e,"sidebar").each(function(n){return PB(n,t)})},toggleSidebar:function(n,t){ND.getPart(n,e,"sidebar").each(function(n){return function(n,e){Ql.getCurrent(n).each(function(t){Ql.getCurrent(t).each(function(n){iE.hasGrown(t)?c_.isShowing(n,e)?iE.shrink(t):(c_.hideAllSlots(n),c_.showSlot(n,e)):(c_.hideAllSlots(n),c_.showSlot(n,e),iE.grow(t))})})}(n,t)})},whichSidebar:function(n){return ND.getPart(n,e,"sidebar").bind(zB).getOrNull()},getHeader:function(n){return ND.getPart(n,e,"header")},getToolbar:function(n){return ND.getPart(n,e,"toolbar")},setToolbar:function(n,t){ND.getPart(n,e,"toolbar").each(function(n){n.getApis().setGroups(n,t)})},setToolbars:function(n,t){ND.getPart(n,e,"multiple-toolbar").each(function(n){VD.setItems(n,t)})},refreshToolbar:function(n){ND.getPart(n,e,"toolbar").each(function(n){return n.getApis().refresh(n)})},getMoreButton:function(n){return ND.getPart(n,e,"toolbar").bind(function(n){return n.getApis().getMoreButton(n)})},getThrobber:function(n){return ND.getPart(n,e,"throbber")},focusToolbar:function(n){ND.getPart(n,e,"toolbar").orThunk(function(){return ND.getPart(n,e,"multiple-toolbar")}).each(function(n){sg.focusIn(n)})},setMenubar:function(n,t){ND.getPart(n,e,"menubar").each(function(n){o_.setMenus(n,t)})},focusMenubar:function(n){ND.getPart(n,e,"menubar").each(function(n){o_.focus(n)})}};return{uid:e.uid,dom:e.dom,components:n,apis:o,behaviours:e.behaviours}},configFields:[ct("dom"),ct("behaviours")],partFields:[p_,d_,g_,m_,h_,v_,b_],apis:{getSocket:function(n,t){return n.getSocket(t)},setSidebar:function(n,t,e){n.setSidebar(t,e)},toggleSidebar:function(n,t,e){n.toggleSidebar(t,e)},whichSidebar:function(n,t){return n.whichSidebar(t)},getHeader:function(n,t){return n.getHeader(t)},getToolbar:function(n,t){return n.getToolbar(t)},setToolbar:function(n,t,e){var o=w(e,function(n){return LO(n)});n.setToolbar(t,o)},setToolbars:function(n,t,e){var o=w(e,function(n){return w(n,LO)});n.setToolbars(t,o)},getMoreButton:function(n,t){return n.getMoreButton(t)},refreshToolbar:function(n,t){return n.refreshToolbar(t)},getThrobber:function(n,t){return n.getThrobber(t)},setMenubar:function(n,t,e){n.setMenubar(t,e)},focusMenubar:function(n,t){n.focusMenubar(t)},focusToolbar:function(n,t){n.focusToolbar(t)}}}),x_={file:{title:"File",items:"newdocument restoredraft | preview | print | deleteallconversations"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall | searchreplace"},view:{title:"View",items:"code | visualaid visualchars visualblocks | spellchecker | preview fullscreen | showcomments"},insert:{title:"Insert",items:"image link media addcomment pageembed template codesample inserttable | charmap emoticons hr | pagebreak nonbreaking anchor toc | insertdatetime"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript codeformat | formats blockformats fontformats fontsizes align | forecolor backcolor | removeformat"},tools:{title:"Tools",items:"spellchecker spellcheckerlanguage | a11ycheck code wordcount"},table:{title:"Table",items:"inserttable tableprops deletetable row column cell"},help:{title:"Help",items:"help"}},w_=function(n){function t(){n._skinLoaded=!0,Rv(n)}return function(){n.initialized?t():n.on("init",t)}},S_=d(WB,!1),C_=d(WB,!0),k_=Fh.DOM,O_=Ht(),T_=O_.os.isiOS()&&O_.os.version.major<=12,E_={render:function(e,o,n,t,r){var i=Te(0);S_(e),function(n,t){Ff(n,t,wr)}(Be.fromDom(r.targetNode),o.mothership),ys(_i(),o.uiMothership),e.on("PostRender",function(){GB(e,o,n,t),i.set(e.getWin().innerWidth),y_.setMenubar(o.outerContainer,UB(e,n)),y_.setSidebar(o.outerContainer,n.sidebar),function(r){function n(n){var t=r.getDoc().documentElement,e=u.get(),o=a.get();e.left()!==i.innerWidth||e.top()!==i.innerHeight?(u.set(Fu(i.innerWidth,i.innerHeight)),Hv(r,n)):o.left()===t.offsetWidth&&o.top()===t.offsetHeight||(a.set(Fu(t.offsetWidth,t.offsetHeight)),Hv(r,n))}function t(n){return Nv(r,n)}var i=r.getWin(),e=r.getDoc().documentElement,u=Te(Fu(i.innerWidth,i.innerHeight)),a=Te(Fu(e.offsetWidth,e.offsetHeight));k_.bind(i,"resize",n),k_.bind(i,"scroll",t);var o=cb(Be.fromDom(r.getBody()),"load",n);r.on("remove",function(){o.unbind(),k_.unbind(i,"resize",n),k_.unbind(i,"scroll",t)})}(e)});var u=y_.getSocket(o.outerContainer).getOrDie("Could not find expected socket element");if(!0===T_){fi(u.element(),{overflow:"scroll","-webkit-overflow-scrolling":"touch"});var a=function(e,o){var r=null;return{cancel:function(){null!==r&&(H.clearTimeout(r),r=null)},throttle:function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];null===r&&(r=H.setTimeout(function(){e.apply(null,n),r=null},o))}}}(function(){e.fire("ScrollContent")},20);ab(u.element(),"scroll",a.throttle)}HO(e,o),e.addCommand("ToggleSidebar",function(n,t){y_.toggleSidebar(o.outerContainer,t),e.fire("ToggleSidebar")}),e.addQueryValueHandler("ToggleSidebar",function(){return y_.whichSidebar(o.outerContainer)});var c=Lb(e);return c!==Vb.sliding&&c!==Vb.floating||e.on("ResizeWindow ResizeEditor ResizeContent",function(){var n=e.getWin().innerWidth;n!==i.get()&&(y_.refreshToolbar(o.outerContainer),i.set(n))}),{iframeContainer:u.element().dom(),editorContainer:o.outerContainer.element().dom()}}},B_={render:function(t,r,e,o,n){var i,u=Fh.DOM,a=Ub(t),c=Gb(t),s=Be.fromDom(n.targetNode),f=Lb(t),l=f===Vb.sliding||f===Vb.floating;C_(t);function d(n){void 0===n&&(n=!1),l&&y_.refreshToolbar(r.outerContainer),a||function(n){var t=l?n.fold(function(){return 0},function(n){return 1<n.components().length?cu(n.components()[1].element()):0}):0,e=lu(s),o=e.top()-cu(i.element())+t;fi(r.outerContainer.element(),{position:"absolute",top:Math.round(o)+"px",left:Math.round(e.left())+"px"})}(y_.getToolbar(r.outerContainer)),c&&(n?qD.reset(i):qD.refresh(i))}function m(){si(r.outerContainer.element(),"display","flex"),u.addClass(t.getBody(),"mce-edit-focus"),gi(r.uiMothership.element(),"display"),d()}function g(){r.outerContainer&&(si(r.outerContainer.element(),"display","none"),u.removeClass(t.getBody(),"mce-edit-focus")),si(r.uiMothership.element(),"display","none")}function p(){if(i)m();else{i=y_.getHeader(r.outerContainer).getOrDie();var n=function(n){return jb(n).getOr(_i())}(t);ys(n,r.mothership),ys(n,r.uiMothership),GB(t,r,e,o),y_.setMenubar(r.outerContainer,UB(t,e)),m(),t.on("activate",m),t.on("deactivate",g),t.on("NodeChange SkinLoaded ResizeWindow",function(){t.hidden||d(!0)}),t.nodeChanged()}}return t.on("focus",p),t.on("blur hide",g),t.on("init",function(){t.hasFocus()&&p()}),HO(t,r),{editorContainer:r.outerContainer.element().dom()}}},D_=function(t){hk.each([{name:"alignleft",text:"Align left",cmd:"JustifyLeft",icon:"align-left"},{name:"aligncenter",text:"Align center",cmd:"JustifyCenter",icon:"align-center"},{name:"alignright",text:"Align right",cmd:"JustifyRight",icon:"align-right"},{name:"alignjustify",text:"Justify",cmd:"JustifyFull",icon:"align-justify"}],function(n){t.ui.registry.addToggleButton(n.name,{tooltip:n.text,onAction:function(){return t.execCommand(n.cmd)},icon:n.icon,onSetup:aT(t,n.name)})});var n="alignnone",e="No alignment",o="JustifyNone",r="align-none";t.ui.registry.addButton(n,{tooltip:e,onAction:function(){return t.execCommand(o)},icon:r})},__=function(n){YB(n),function(t){hk.each([{name:"bold",text:"Bold",action:"Bold",icon:"bold",shortcut:"Meta+B"},{name:"italic",text:"Italic",action:"Italic",icon:"italic",shortcut:"Meta+I"},{name:"underline",text:"Underline",action:"Underline",icon:"underline",shortcut:"Meta+U"},{name:"strikethrough",text:"Strikethrough",action:"Strikethrough",icon:"strike-through",shortcut:""},{name:"subscript",text:"Subscript",action:"Subscript",icon:"subscript",shortcut:""},{name:"superscript",text:"Superscript",action:"Superscript",icon:"superscript",shortcut:""},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting",shortcut:""},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document",shortcut:""},{name:"cut",text:"Cut",action:"Cut",icon:"cut",shortcut:"Meta+X"},{name:"copy",text:"Copy",action:"Copy",icon:"copy",shortcut:"Meta+C"},{name:"paste",text:"Paste",action:"Paste",icon:"paste",shortcut:"Meta+V"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all",shortcut:"Meta+A"}],function(n){t.ui.registry.addMenuItem(n.name,{text:n.text,icon:n.icon,shortcut:n.shortcut,onAction:function(){return t.execCommand(n.action)}})}),t.ui.registry.addMenuItem("codeformat",{text:"Code",icon:"sourcecode",onAction:XB(t,"code")})}(n)},A_=function(n){!function(t){t.ui.registry.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onSetup:function(n){return qB(n,t,"hasUndo")},onAction:function(){return t.execCommand("undo")}}),t.ui.registry.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onSetup:function(n){return qB(n,t,"hasRedo")},onAction:function(){return t.execCommand("redo")}})}(n),function(t){t.ui.registry.addButton("undo",{tooltip:"Undo",icon:"undo",onSetup:function(n){return qB(n,t,"hasUndo")},onAction:function(){return t.execCommand("undo")}}),t.ui.registry.addButton("redo",{tooltip:"Redo",icon:"redo",onSetup:function(n){return qB(n,t,"hasRedo")},onAction:function(){return t.execCommand("redo")}})}(n)},M_=function(n){!function(n){n.ui.registry.addButton("visualaid",{tooltip:"Visual aids",text:"Visual aids",onAction:function(){return n.execCommand("mceToggleVisualAid")}})}(n),function(t){t.ui.registry.addToggleMenuItem("visualaid",{text:"Visual aids",onSetup:function(n){return function(t,n){t.setActive(n.hasVisual);function e(n){t.setActive(n.hasVisual)}return n.on("VisualAid",e),function(){return n.off("VisualAid",e)}}(n,t)},onAction:function(){t.execCommand("mceToggleVisualAid")}})}(n)},F_=function(n){!function(t){t.ui.registry.addButton("outdent",{tooltip:"Decrease indent",icon:"outdent",onSetup:function(n){return function(n,t){n.setDisabled(!t.queryCommandState("outdent"));function e(){n.setDisabled(!t.queryCommandState("outdent"))}return t.on("NodeChange",e),function(){return t.off("NodeChange",e)}}(n,t)},onAction:function(){return t.execCommand("outdent")}}),t.ui.registry.addButton("indent",{tooltip:"Increase indent",icon:"indent",onAction:function(){return t.execCommand("indent")}})}(n)},I_=function(n,t){!function(n,t){var e=sT(0,t,$E(n));n.ui.registry.addNestedMenuItem("align",{text:t.shared.providers.translate("Align"),getSubmenuItems:function(){return e.items.validateItems(e.getStyleItems())}})}(n,t),function(n,t){var e=sT(0,t,ZE(n));n.ui.registry.addNestedMenuItem("fontformats",{text:t.shared.providers.translate("Fonts"),getSubmenuItems:function(){return e.items.validateItems(e.getStyleItems())}})}(n,t),function(n,t){var e=P({type:"advanced"},t.styleselect),o=sT(0,t,iB(n,e));n.ui.registry.addNestedMenuItem("formats",{text:"Formats",getSubmenuItems:function(){return o.items.validateItems(o.getStyleItems())}})}(n,t),function(n,t){var e=sT(0,t,rB(n));n.ui.registry.addNestedMenuItem("blockformats",{text:"Blocks",getSubmenuItems:function(){return e.items.validateItems(e.getStyleItems())}})}(n,t),function(n,t){var e=sT(0,t,tB(n));n.ui.registry.addNestedMenuItem("fontsizes",{text:"Font sizes",getSubmenuItems:function(){return e.items.validateItems(e.getStyleItems())}})}(n,t)},R_=function(n,t){D_(n),__(n),I_(n,t),A_(n),Lv.register(n),M_(n),F_(n)},V_=function(n){return{anchor:"selection",root:Be.fromDom(n.selection.getNode())}},N_={onLtr:function(){return[oc,ia,ua,aa,ca,ec,Lg,jg,dm,fm,mm,lm]},onRtl:function(){return[oc,ua,ia,ca,aa,ec,Lg,jg,mm,lm,dm,fm]}},H_={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"]},P_=function(n){return n.settings.contextmenu_never_use_native||!1},z_=function(n){return function(n,t,e){var o=n.ui.registry.getAll().contextMenus;return R(n.settings,t).map(oD).getOrThunk(function(){return S(oD(e),function(n){return Tn(o,n)})})}(n,"contextmenu","link linkchecker image imagetools table spellchecker configurepermanentpen")},L_=function(n){return!1===n.getParam("contextmenu")},j_={type:"separator"},U_=function(t){if(cn(t))return t;switch(t.type){case"separator":return j_;case"submenu":return{type:"nestedmenuitem",text:t.text,icon:t.icon,getSubmenuItems:function(){var n=t.getSubmenuItems();return cn(n)?n:w(n,U_)}};default:return{type:"menuitem",text:t.text,icon:t.icon,onAction:function(n){return function(){return n()}}(t.onAction)}}},W_=function(n){return/^[0-9\.]+(|px)$/i.test(""+n)?on.some(parseInt(n,10)):on.none()},G_=function(n){return mn(n)?n+"px":n},X_="data-initial-z-index",Y_=function(n,t,r,i,u){var e=t.getSnapPoints(n);return dD(e,r,i,u).orThunk(function(){return k(e,function(t,e){var n=e.sensor(),o=function(n,t,e,o,r,i){var u=pB(n,r,i),a=pB(t,r,i),c=Math.abs(u.left()-a.left()),s=Math.abs(u.top()-a.top());return Fu(c,s)}(r,n,e.range().left(),e.range().top(),i,u);return t.deltas.fold(function(){return{deltas:on.some(o),snap:on.some(e)}},function(n){return(o.left()+o.top())/2<=(n.left()+n.top())/2?{deltas:on.some(o),snap:on.some(e)}:t})},{deltas:on.none(),snap:on.none()}).snap.map(function(n){return{output:nn(bB(n.output(),r,i,u)),extra:n.extra}})})},q_=function(n,t,e,o,r){var i=t.getSnapPoints(n);return dD(i,e,o,r)},K_=wt("snaps",[ct("getSnapPoints"),Yu("onSensor"),ct("leftAttr"),ct("topAttr"),St("lazyViewport",wu),St("mustSnap",!1)]),J_=/* */Object.freeze({getData:function(n){return on.from(Fu(n.x(),n.y()))},getDelta:function(n,t){return Fu(t.left()-n.left(),t.top()-n.top())}}),$_=[St("useFixed",u),ct("blockerClass"),St("getTarget",l),St("onDrag",Z),St("repositionTarget",!0),Yu("onDrop"),Bt("getBounds",wu),K_,$u("dragger",{handlers:function(u,a){function c(n){a.setStartData(mD(u,n))}return nr([or(Io(),c),or(ro(),function(o,n){if(0===n.event().raw().button){n.stop();var t={drop:function(){r()},delayDrop:function(){i.schedule()},forceDrop:function(){r()},move:function(n){i.cancel();var t=a.update(J_,n),e=a.getStartData().getOrThunk(function(){return mD(u,o)});t.each(function(n){pD(o,u,e,n)})}},e=o.getSystem().build(Hb.sketch({dom:{styles:{left:"0px",top:"0px",width:"100%",height:"100%",position:"fixed","z-index":"1000000000000000"},classes:[u.blockerClass]},events:function(e){return nr([or(ro(),e.forceDrop),or(ao(),e.drop),or(io(),function(n,t){e.move(t.event())}),or(uo(),e.delayDrop)])}(t)})),r=function(){cD(e),u.snaps.each(function(n){lD(o,n)});var n=u.getTarget(o.element());a.reset(),u.onDrop(o,n)},i=gb(r,200);c(o),aD(o,e)}})])}})],Q_=/* */Object.freeze({getData:function(n){var t=n.raw().touches;return 1===t.length?function(n){var t=n[0];return on.some(Fu(t.clientX,t.clientY))}(t):on.none()},getDelta:function(n,t){return Fu(t.left()-n.left(),t.top()-n.top())}}),Z_=$_,nA=[St("useFixed",u),St("getTarget",l),St("onDrag",Z),St("repositionTarget",!0),St("onDrop",Z),Bt("getBounds",wu),K_,$u("dragger",{handlers:function(i,u){function e(n){u.setStartData(mD(i,n))}return nr([or(Io(),e),or(to(),function(n,t){e(n),t.stop()}),or(Mo(),function(o,r){u.getStartData().each(function(n){if(jt(n.comp.element(),o.element())){r.stop();var t=u.update(Q_,r.event()),e=u.getStartData().getOrThunk(function(){return mD(i,o)});t.each(function(n){pD(o,i,e,n)})}})}),or(Fo(),function(e,n){u.getStartData().each(function(n){if(jt(n.comp.element(),e.element())){i.snaps.each(function(n){lD(e,n)});var t=i.getTarget(e.element());u.reset(),i.onDrop(e,t)}})})])}})],tA=/* */Object.freeze({mouse:Z_,touch:nA}),eA=/* */Object.freeze({init:function(){var o=on.none(),t=on.none(),n=nn({});return Zi({readState:n,reset:function(){o=on.none(),t=on.none()},update:function(t,n){return t.getData(n).bind(function(n){return function(t,e){var n=o.map(function(n){return t.getDelta(n,e)});return o=on.some(e),n}(t,n)})},getStartData:function(){return t},setStartData:function(n){t=on.some(n)}})}}),oA=/* */Object.freeze({snapTo:function(n,t,e,o){var r=t.getTarget(n.element());if(t.repositionTarget){var i=gr(n.element()),u=gu(i),a=fB(r),c=function(n,t,e){return{coord:bB(n.output(),n.output(),t,e),extra:n.extra()}}(o,u,a),s=vB(c.coord,0,a);fi(r,s)}}}),rA=ya({branchKey:"mode",branches:tA,name:"dragging",active:{events:function(n,t){return n.dragger.handlers(n,t)}},extra:{snap:mr(["sensor","range","output"],["extra"])},state:eA,apis:oA});(xD=yD=yD||{})[xD.None=0]="None",xD[xD.Both=1]="Both",xD[xD.Vertical=2]="Vertical";function iA(n,t,e,o){var r=n+t,i=e.filter(function(n){return r<n}),u=o.filter(function(n){return n<r});return i.or(u).getOr(r)}function uA(n,t,e,o,r){var i={};return i.height=iA(o,t.top(),Mb(n),function(n){return on.from(n.getParam("max_height")).filter(mn)}(n)),e===yD.Both&&(i.width=iA(r,t.left(),Ab(n),function(n){return on.from(n.getParam("max_width")).filter(mn)}(n))),i}function aA(n){if(1===n.nodeType){if("BR"===n.nodeName||n.getAttribute("data-mce-bogus"))return!0;if("bookmark"===n.getAttribute("data-mce-type"))return!0}return!1}function cA(r,t){function n(o){return{dom:{tag:"div",classes:["tox-statusbar__resize-handle"],attributes:{title:t.translate("Resize")},innerHtml:vm("resize-handle",t.icons)},behaviours:va([rA.config({mode:"mouse",repositionTarget:!1,onDrag:function(n,t,e){!function(n,t,e){var o=Be.fromDom(n.getContainer()),r=uA(n,t,e,cu(o),du(o));Cn(r,function(n,t){return si(o,t,G_(n))}),Vv(n)}(r,e,o)},blockerClass:"tox-blocker"})])}}var e,o;return{dom:{tag:"div",classes:["tox-statusbar"]},components:(e=function(){var n=[];return r.getParam("elementpath",!0,"boolean")&&n.push(KA(r,{})),Vt(r.settings.plugins,"wordcount")&&n.push(function(n,o){function r(n,t,e){return lg.set(n,[ki(o.translate(["{0} "+e,t[e]]))])}var t;return Ug.sketch({dom:{tag:"button",classes:["tox-statusbar__wordcount"]},components:[],buttonBehaviours:va([Ny.config({}),lg.config({}),Qf.config({store:{mode:"memory",initialValue:{mode:"words",count:{words:0,characters:0}}}}),qd("wordcount-events",[or(Eo(),function(n){var t=Qf.getValue(n),e="words"===t.mode?"characters":"words";Qf.setValue(n,{mode:e,count:t.count}),r(n,t.count,e)}),Fi(function(e){n.on("wordCountUpdate",function(n){var t=Qf.getValue(e).mode;Qf.setValue(e,{mode:t,count:n.wordCount}),r(e,n.wordCount,t)})})])]),eventOrder:(t={},t[Eo()]=["wordcount-events","alloy.base.behaviour"],t)})}(r,t)),r.getParam("branding",!0,"boolean")&&n.push(function(){var n=eh.translate(["Powered by {0}","Tiny"]);return{dom:{tag:"span",classes:["tox-statusbar__branding"],innerHtml:'<a href="https://www.tiny.cloud/?utm_campaign=editor_referral&utm_medium=poweredby&utm_source=tinymce&utm_content=v5" rel="noopener" target="_blank" tabindex="-1" aria-label="'+n+'">'+n+"</a>"}}}()),0<n.length?[{dom:{tag:"div",classes:["tox-statusbar__text-container"]},components:n}]:[]}(),o=function(n){var t=!Vt(n.settings.plugins,"autoresize"),e=n.getParam("resize",t);return!1===e?yD.None:"both"===e?yD.Both:yD.Vertical}(r),o!==yD.None&&e.push(n(o)),e)}}function sA(n){return n.touches===undefined||1!==n.touches.length?on.none():on.some(n.touches[0])}function fA(n){return[ft("type"),function(n){return st(n,xe)}("columns"),n]}function lA(t){return pe("items","items",Mn(),Kn(Zn(function(n){return tt("Checking item of "+t,$M,n).fold(function(n){return an.error(be(n))},function(n){return an.value(n)})})))}function dA(n){return cn(n.type)&&cn(n.name)}function mA(n){var t=function(n){return S(dF(n),dA)}(n),e=E(t,function(t){return function(n){return on.from(mF[n.type])}(t).fold(function(){return[]},function(n){return[st(t.name,n)]})});return le(e)}function gA(n){return{internalDialog:et(function(n){return tt("dialog",lF,n)}(n)),dataValidator:mA(n),initialData:n.initialData}}function pA(n){var e=[],o={};return Cn(n,function(n,t){n.fold(function(){e.push(t)},function(n){o[t]=n})}),0<e.length?an.error(e):an.value(o)}function hA(n){return yn(function(n,t){var e=gn.call(n,0);return e.sort(t),e}(n,function(n,t){return t<n?-1:n<t?1:0}))}function vA(e,o,n){Su(e,'[role="dialog"]').each(function(t){n.get().map(function(n){return si(o,"height","0"),Math.min(n,function(n,t){var e=Su(n,".tox-dialog-wrap").getOr(n);return("fixed"===li(e,"position")?Math.max(H.document.documentElement.clientHeight,H.window.innerHeight):Math.max(H.document.documentElement.offsetHeight,H.document.documentElement.scrollHeight))-(n.dom().getBoundingClientRect().height-t.dom().getBoundingClientRect().height)}(t,e))}).each(function(n){si(o,"height",n+"px")})})}function bA(r){var i;return{smartTabHeight:(i=Te(on.none()),{extraEvents:[Fi(function(n){Cu(n.element(),'[role="tabpanel"]').each(function(o){si(o,"visibility","hidden"),n.getSystem().getByDom(o).toOption().each(function(n){var t=function(o,r,i){return w(o,function(n,t){lg.set(i,o[t].view());var e=r.dom().getBoundingClientRect();return lg.set(i,[]),e.height})}(r,o,n),e=hA(t);i.set(e)}),vA(n.element(),o,i),gi(o,"visibility"),function(n,t){yn(n).each(function(n){return EF.showTab(t,n.value)})}(r,n),Xg.requestAnimationFrame(function(){vA(n.element(),o,i)})})}),or(Ro(),function(t){Cu(t.element(),'[role="tabpanel"]').each(function(n){vA(t.element(),n,i)})}),or(uy,function(r,n){Cu(r.element(),'[role="tabpanel"]').each(function(t){var n=wa();si(t,"visibility","hidden");var e=di(t,"height").map(function(n){return parseInt(n,10)});gi(t,"height");var o=t.dom().getBoundingClientRect().height;e.forall(function(n){return n<o})?(i.set(on.from(o)),vA(r.element(),t,i)):e.each(function(n){si(t,"height",n+"px")}),gi(t,"visibility"),n.each(xa)})})],selectFirst:!1}),naiveTabHeight:{extraEvents:[],selectFirst:!0}}}function yA(n,t,e,o){return{dom:{tag:"div",classes:["tox-dialog__content-js"],attributes:P(P({},t.map(function(n){return{id:n}}).getOr({})),o?{"aria-live":"polite"}:{})},components:[],behaviours:va([yS(0),ME.config({channel:MF,updateState:function(n,t){return on.some({isTabPanel:function(){return"tabpanel"===t.body.type}})},renderComponents:function(n){switch(n.body.type){case"tabpanel":return[function(n,e){function o(n){var t=Qf.getValue(n),e=pA(t).getOr({}),o=i.get(),r=Dn(o,e);i.set(r)}function r(n){var t=i.get();Qf.setValue(n,t)}var i=Te({}),u=Te(null),t=w(n.tabs,function(n){return{value:n.name,dom:{tag:"div",classes:["tox-dialog__body-nav-item"],innerHtml:e.shared.providers.translate(n.title)},view:function(){return[sS.sketch(function(t){return{dom:{tag:"div",classes:["tox-form"]},components:w(n.items,function(n){return Lk(t,n,e)}),formBehaviours:va([sg.config({mode:"acyclic",useTabstopAt:v(DS)}),qd("TabView.form.events",[Fi(r),Ii(o)]),fc.config({channels:K([{key:BF,value:{onReceive:o}},{key:DF,value:{onReceive:r}}])})])}})]}}}),a=bA(t).smartTabHeight;return EF.sketch({dom:{tag:"div",classes:["tox-dialog__body"]},onChangeTab:function(n,t,e){var o=Qf.getValue(t);Yt(n,iy,{name:o,oldName:u.get()}),u.set(o)},tabs:t,components:[EF.parts().tabbar({dom:{tag:"div",classes:["tox-dialog__body-nav"]},components:[wF.parts().tabs({})],markers:{tabClass:"tox-tab",selectedClass:"tox-dialog__body-nav-item--active"},tabbarBehaviours:va([Ny.config({})])}),EF.parts().tabview({dom:{tag:"div",classes:["tox-dialog__body-content"]}})],selectFirst:a.selectFirst,tabSectionBehaviours:va([qd("tabpanel",a.extraEvents),sg.config({mode:"acyclic"}),Ql.config({find:function(n){return yn(EF.getViewItems(n))}}),Qf.config({store:{mode:"manual",getValue:function(n){return n.getSystem().broadcastOn([BF],{}),i.get()},setValue:function(n,t){i.set(t),n.getSystem().broadcastOn([DF],{})}}})])})}(n.body,e)];default:return[function(n,e){var t=pm(sS.sketch(function(t){return{dom:{tag:"div",classes:["tox-form"].concat(n.classes)},components:w(n.items,function(n){return Lk(t,n,e)})}}));return{dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[t.asSpec()]}],behaviours:va([sg.config({mode:"acyclic",useTabstopAt:v(DS)}),bS(t),CS(t,{postprocess:function(n){return pA(n).fold(function(n){return H.console.error(n),{}},function(n){return n})}})])}}(n.body,e)]}},initialData:n})])}}function xA(n,e){return[ar(so(),_S),n(Zb,function(n,t){e.onClose(),t.onClose()}),n(ny,function(n,t,e,o){t.onCancel(n),Xt(o,Zb)}),or(ry,function(n,t){return e.onUnblock()}),or(oy,function(n,t){return e.onBlock(t.event())})]}function wA(n,t){function e(n,t){return Hb.sketch({dom:{tag:"div",classes:["tox-dialog__footer-"+n]},components:w(t,function(n){return n.memento.asSpec()})})}var o=function(n,t){for(var e=[],o=[],r=0,i=n.length;r<i;r++){var u=n[r];(t(u,r)?e:o).push(u)}return{pass:e,fail:o}}(t.map(function(n){return n.footerButtons}).getOr([]),function(n){return"start"===n.align});return[e("start",o.pass),e("end",o.fail)]}function SA(n,o){return{dom:up('<div class="tox-dialog__footer"></div>'),components:[],behaviours:va([ME.config({channel:FF,initialData:n,updateState:function(n,t){var e=w(t.buttons,function(n){var t=pm(function(n,t){return WC(n,n.type,t)}(n,o));return{name:n.name,align:n.align,memento:t}});return on.some({lookupByName:function(n,t){return function(t,n,e){return O(n,function(n){return n.name===e}).bind(function(n){return n.memento.getOpt(t)})}(n,e,t)},footerButtons:e})},renderComponents:wA})])}}function CA(n,t){return rM.parts().footer(SA(n,t))}function kA(t,e){if(t.getRoot().getSystem().isConnected()){var o=Ql.getCurrent(t.getFormWrapper()).getOr(t.getFormWrapper());return sS.getField(o,e).fold(function(){var n=t.getFooter();return ME.getState(n).get().bind(function(n){return n.lookupByName(o,e)})},function(n){return on.some(n)})}return on.none()}function OA(u,o,a){function n(n){var t=u.getRoot();t.getSystem().isConnected()&&n(t)}var c={getData:function(){var n=u.getRoot(),t=n.getSystem().isConnected()?u.getFormWrapper():n,e=Qf.getValue(t),o=L(a,function(n){return n.get()});return P(P({},e),o)},setData:function(i){n(function(n){var t=c.getData(),e=_n(t,i),o=function(n,t){var e=n.getRoot();return ME.getState(e).get().map(function(n){return et(tt("data",n.dataValidator,t))}).getOr(t)}(u,e),r=u.getFormWrapper();Qf.setValue(r,o),Cn(a,function(n,t){Tn(e,t)&&n.set(e[t])})})},disable:function(n){kA(u,n).each(wh.disable)},enable:function(n){kA(u,n).each(wh.enable)},focus:function(n){kA(u,n).each(pg.focus)},block:function(t){if(!cn(t))throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");n(function(n){Yt(n,oy,{message:t})})},unblock:function(){n(function(n){Xt(n,ry)})},showTab:function(e){n(function(n){var t=u.getBody();ME.getState(t).get().exists(function(n){return n.isTabPanel()})&&Ql.getCurrent(t).each(function(n){EF.showTab(n,e)})})},redial:function(e){n(function(n){var t=o(e);n.getSystem().broadcastOn([_F],t),n.getSystem().broadcastOn([AF],t.internalDialog),n.getSystem().broadcastOn([MF],t.internalDialog),n.getSystem().broadcastOn([FF],t.internalDialog),c.setData(t.initialData)})},close:function(){n(function(n){Xt(n,Zb)})}};return c}function TA(n){return Ug.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":n.translate("Close"),title:n.translate("Close")}},components:[{dom:{tag:"div",classes:["tox-icon"],innerHtml:'<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><path d="M17.953 7.453L13.422 12l4.531 4.547-1.406 1.406L12 13.422l-4.547 4.531-1.406-1.406L10.578 12 6.047 7.453l1.406-1.406L12 10.578l4.547-4.531z" fill-rule="evenodd"></path></svg>'}}],action:function(n){Xt(n,ny)}})}function EA(n,t,e){function o(n){return[ki(e.translate(n.title))]}return{dom:{tag:"div",classes:["tox-dialog__title"],attributes:P({},t.map(function(n){return{id:n}}).getOr({}))},components:o(n),behaviours:va([ME.config({channel:AF,renderComponents:o})])}}function BA(){return{dom:up('<div class="tox-dialog__draghandle"></div>')}}function DA(n,t){return function(n,t){var e=rM.parts().title(EA(n,on.none(),t)),o=rM.parts().draghandle(BA()),r=rM.parts().close(TA(t)),i=[e].concat(n.draggable?[o]:[]).concat([r]);return Hb.sketch({dom:up('<div class="tox-dialog__header"></div>'),components:i})}({title:t.shared.providers.translate(n),draggable:t.dialog.isDraggableModal()},t.shared.providers)}function _A(n,t){return{onClose:function(){return t.closeWindow()},onBlock:function(e){rM.setBusy(n(),function(n,t){return{dom:{tag:"div",classes:["tox-dialog__busy-spinner"],attributes:{"aria-label":e.message()},styles:{left:"0px",right:"0px",bottom:"0px",top:"0px",position:"absolute"}},behaviours:t,components:[{dom:up('<div class="tox-spinner"><div></div><div></div><div></div></div>')}]}})},onUnblock:function(){rM.setIdle(n())}}}function AA(n,t,e,o){var r;return iu(rM.sketch({lazySink:o.shared.getSink,onEscape:function(n){return Xt(n,ny),on.some(!0)},useTabstopAt:function(n){return!DS(n)},modalBehaviours:va(g([ME.config({channel:_F,updateState:function(n,t){return on.some(t)},initialData:t}),TS({}),pg.config({}),qd("execute-on-form",e.concat([sr(so(),function(n,t){sg.focusIn(n)})])),qd("scroll-lock",[Fi(function(){ni(_i(),"tox-dialog__disable-scroll")}),Ii(function(){ei(_i(),"tox-dialog__disable-scroll")})])],n.extraBehaviours)),eventOrder:(r={},r[ko()]=["execute-on-form"],r[Co()]=["reflecting","receiving"],r[Vo()]=["scroll-lock","reflecting","messages","execute-on-form","alloy.base.behaviour"],r[No()]=["alloy.base.behaviour","execute-on-form","messages","reflecting","scroll-lock"],r),dom:{tag:"div",classes:["tox-dialog"].concat(n.extraClasses),styles:P({position:"relative"},n.extraStyles)},components:g([n.header,n.body],n.footer.toArray()),dragBlockClass:"tox-dialog-wrap",parts:{blocker:{dom:up('<div class="tox-dialog-wrap"></div>'),components:[{dom:{tag:"div",classes:NF?["tox-dialog-wrap__backdrop","tox-dialog-wrap__backdrop--opaque"]:["tox-dialog-wrap__backdrop"]}}]}}}))}function MA(n){return w(n,function(n){return"menu"===n.type?function(n){var t=w(n.items,function(n){var t=Te(!1);return P(P({},n),{storage:t})});return P(P({},n),{items:t})}(n):n})}function FA(n){return k(n,function(n,t){return"menu"!==t.type?n:k(t.items,function(n,t){return n[t.name]=t.storage,n},n)},{})}function IA(n,t,e){var o=DA(n.internalDialog.title,e),r=function(n,t){var e=yA(n,on.none(),t,!1);return rM.parts().body(e)}({body:n.internalDialog.body},e),i=MA(n.internalDialog.buttons),u=FA(i),a=CA({buttons:i},e),c=VF(function(){return d},_A(function(){return l},t)),s="normal"!==n.internalDialog.size?"large"===n.internalDialog.size?["tox-dialog--width-lg"]:["tox-dialog--width-md"]:[],f={header:o,body:r,footer:on.some(a),extraClasses:s,extraBehaviours:[],extraStyles:{}},l=AA(f,n,c,e),d=OA({getRoot:function(){return l},getBody:function(){return rM.getBody(l)},getFooter:function(){return rM.getFooter(l)},getFormWrapper:function(){var n=rM.getBody(l);return Ql.getCurrent(n).getOr(n)}},t.redial,u);return{dialog:l,instanceApi:d}}function RA(n){return sn(n)&&-1!==PF.indexOf(n.mceAction)}function VA(e,n,o,t){var r,i=DA(e.title,t),u=function(n){var t={dom:{tag:"div",classes:["tox-dialog__content-js"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-iframe"]},components:[AS({dom:{tag:"iframe",attributes:{src:n.url}},behaviours:va([Ny.config({}),pg.config({})])})]}],behaviours:va([sg.config({mode:"acyclic",useTabstopAt:v(DS)})])};return rM.parts().body(t)}(e),a=e.buttons.bind(function(n){return 0===n.length?on.none():on.some(CA({buttons:n},t))}),c=RF(function(){return h},_A(function(){return p},n)),s=P(P({},e.height.fold(function(){return{}},function(n){return{height:n+"px","max-height":n+"px"}})),e.width.fold(function(){return{}},function(n){return{width:n+"px","max-width":n+"px"}})),f=e.width.isNone()&&e.height.isNone()?["tox-dialog--width-lg"]:[],l=new HF(e.url,{base_uri:new HF(H.window.location.href)}),d=l.protocol+"://"+l.host+(l.port?":"+l.port:""),m=Te(on.none()),g=[qd("messages",[Fi(function(){var n=ab(Be.fromDom(H.window),"message",function(n){if(l.isSameOrigin(new HF(n.raw().origin))){var t=n.raw().data;RA(t)?function(n,t,e){switch(e.mceAction){case"insertContent":n.insertContent(e.content);break;case"setContent":n.setContent(e.content);break;case"execCommand":var o=!!ln(e.ui)&&e.ui;n.execCommand(e.cmd,o,e.value);break;case"close":t.close();break;case"block":t.block(e.message);break;case"unblock":t.unblock()}}(o,h,t):function(n){return!RA(n)&&sn(n)&&Tn(n,"mceAction")}(t)&&e.onMessage(h,t)}});m.set(on.some(n))}),Ii(function(){m.get().each(function(n){return n.unbind()})})]),fc.config({channels:(r={},r[IF]={onReceive:function(n,t){Cu(n.element(),"iframe").each(function(n){n.dom().contentWindow.postMessage(t,d)})}},r)})],p=AA({header:i,body:u,footer:a,extraClasses:f,extraBehaviours:g,extraStyles:s},e,c,t),h=function(t){function n(n){t.getSystem().isConnected()&&n(t)}return{block:function(t){if(!cn(t))throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");n(function(n){Yt(n,oy,{message:t})})},unblock:function(){n(function(n){Xt(n,ry)})},close:function(){n(function(n){Xt(n,Zb)})},sendMessage:function(t){n(function(n){n.getSystem().broadcastOn([IF],t)})}}}(p);return{dialog:p,instanceApi:h}}function NA(n,t,e,o){var r,i,u=Vr("dialog-label"),a=Vr("dialog-content"),c=pm(function(n,t,e){return Hb.sketch({dom:up('<div class="tox-dialog__header"></div>'),components:[EA(n,on.some(t),e),BA(),TA(e)],containerBehaviours:va([rA.config({mode:"mouse",blockerClass:"blocker",getTarget:function(n){return ku(n,'[role="dialog"]').getOrDie()},snaps:{getSnapPoints:function(){return[]},leftAttr:"data-drag-left",topAttr:"data-drag-top"}})])})}({title:n.internalDialog.title,draggable:!0},u,e.shared.providers)),s=pm(function(n,t,e,o){return yA(n,on.some(t),e,o)}({body:n.internalDialog.body},a,e,o)),f=MA(n.internalDialog.buttons),l=FA(f),d=pm(function(n,t){return SA(n,t)}({buttons:f},e)),m=VF(function(){return p},{onBlock:function(){},onUnblock:function(){},onClose:function(){return t.closeWindow()}}),g=iu({dom:{tag:"div",classes:["tox-dialog","tox-dialog-inline"],attributes:(r={role:"dialog"},r["aria-labelledby"]=u,r["aria-describedby"]=""+a,r)},eventOrder:(i={},i[Co()]=[ME.name(),fc.name()],i[ko()]=["execute-on-form"],i[Vo()]=["reflecting","execute-on-form"],i),behaviours:va([sg.config({mode:"cyclic",onEscape:function(n){return Xt(n,Zb),on.some(!0)},useTabstopAt:function(n){return!DS(n)&&("button"!==qo(n)||"disabled"!==_r(n,"disabled"))}}),ME.config({channel:_F,updateState:function(n,t){return on.some(t)},initialData:n}),pg.config({}),qd("execute-on-form",m.concat([sr(so(),function(n,t){sg.focusIn(n)})])),TS({})]),components:[c.asSpec(),s.asSpec(),d.asSpec()]}),p=OA({getRoot:function(){return g},getFooter:function(){return d.get(g)},getBody:function(){return s.get(g)},getFormWrapper:function(){var n=s.get(g);return Ql.getCurrent(n).getOr(n)}},t.redial,l);return{dialog:g,instanceApi:p}}function HA(n,t){return rM.parts().close(Ug.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":t.translate("Close")}},action:n,buttonBehaviours:va([Ny.config({})])}))}function PA(){return rM.parts().title({dom:{tag:"div",classes:["tox-dialog__title"],innerHtml:"",styles:{display:"none"}}})}function zA(n,t){return rM.parts().body({dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[{dom:up("<p>"+t.translate(n)+"</p>")}]}]})}function LA(n){return rM.parts().footer({dom:{tag:"div",classes:["tox-dialog__footer"]},components:n})}function jA(n,t){return[Hb.sketch({dom:{tag:"div",classes:["tox-dialog__footer-start"]},components:n}),Hb.sketch({dom:{tag:"div",classes:["tox-dialog__footer-end"]},components:t})]}function UA(e){return rM.sketch({lazySink:e.lazySink,onEscape:function(){return e.onCancel(),on.some(!0)},dom:{tag:"div",classes:["tox-dialog"].concat(e.extraClasses)},components:[Dn(e.headerOverride.getOr(jF),{components:[e.partSpecs.title,e.partSpecs.close]}),e.partSpecs.body,e.partSpecs.footer],parts:{blocker:{dom:up('<div class="tox-dialog-wrap"></div>'),components:[{dom:{tag:"div",classes:zF?["tox-dialog-wrap__backdrop","tox-dialog-wrap__backdrop--opaque"]:["tox-dialog-wrap__backdrop"]}}]}},modalBehaviours:va([qd("basic-dialog-events",[or(ny,function(n,t){e.onCancel()}),or(ey,function(n,t){e.onSubmit()})])])})}var WA,GA,XA,YA,qA,KA=function(i,r){r.delimiter||(r.delimiter="\xbb");return{dom:{tag:"div",classes:["tox-statusbar__path"],attributes:{role:"navigation"}},behaviours:va([sg.config({mode:"flow",selector:"div[role=button]"}),Ny.config({}),lg.config({}),qd("elementPathEvents",[Fi(function(e,n){i.shortcuts.add("alt+F11","focus statusbar elementpath",function(){return sg.focusIn(e)}),i.on("NodeChange",function(n){var t=function(n){for(var t=[],e=n.length;0<e--;){var o=n[e];if(1===o.nodeType&&!aA(o)){var r=i.fire("ResolveName",{name:o.nodeName.toLowerCase(),target:o});if(r.isDefaultPrevented()||t.push({name:r.name,element:o}),r.isPropagationStopped())break}}return t}(n.parents);0<t.length&&lg.set(e,function(n){var t=w(n||[],function(t,n){return Ug.sketch({dom:{tag:"div",classes:["tox-statusbar__path-item"],attributes:{role:"button","data-index":n,"tab-index":-1,"aria-level":n+1},innerHtml:t.name},action:function(n){i.focus(),i.selection.select(t.element),i.nodeChanged()}})}),o={dom:{tag:"div",classes:["tox-statusbar__path-divider"],attributes:{"aria-hidden":!0},innerHtml:" "+r.delimiter+" "}};return k(t.slice(1),function(n,t){var e=n;return e.push(o),e.push(t),e},[t[0]])}(t))})})])]),components:[]}},JA=Ht(),$A=function(c,n){function e(r){var i=xu(r);return s.getOpt(n).fold(function(){return rA.snap({sensor:LD(i.x()-20,i.y()-20),range:Fu(i.width(),i.height()),output:LD(on.some(i.x()),on.some(i.y())),extra:{td:r}})},function(n){var t=i.x()-20,e=i.y()-20,o=n.element().dom().getBoundingClientRect();return rA.snap({sensor:LD(t,e),range:Fu(40,40),output:LD(on.some(i.x()-o.width/2),on.some(i.y()-o.height/2)),extra:{td:r}})})}function o(r){var i=xu(r);return f.getOpt(n).fold(function(){return rA.snap({sensor:LD(i.x()-20,i.y()-20),range:Fu(i.width(),i.height()),output:LD(on.some(i.right()),on.some(i.bottom())),extra:{td:r}})},function(n){var t=i.right()-20,e=i.bottom()-20,o=n.element().dom().getBoundingClientRect();return rA.snap({sensor:LD(t,e),range:Fu(40,40),output:LD(on.some(i.right()-o.width/2),on.some(i.bottom()-o.height/2)),extra:{td:r}})})}function r(n,t,e,o){var r=t.dom().getBoundingClientRect();gi(n.element(),"display");var i=pr(Be.fromDom(c.getBody())).dom().innerHeight,u=e(r),a=o(r,i);(u||a)&&si(n.element(),"display","none")}var i=Te([]),u=Te([]),t={getSnapPoints:function(){return w(i.get(),function(n){return e(n)})},leftAttr:"data-drag-left",topAttr:"data-drag-top",onSensor:function(n,t){g.set(t.td),c.fire("tableselectorchange",{start:g.get(),finish:p.get()})},mustSnap:!0},a={getSnapPoints:function(){return w(u.get(),function(n){return o(n)})},leftAttr:"data-drag-left",topAttr:"data-drag-top",onSensor:function(n,t){p.set(t.td),c.fire("tableselectorchange",{start:g.get(),finish:p.get()})},mustSnap:!0},s=pm(Ug.sketch({dom:{tag:"div",classes:["tox-selector"]},buttonBehaviours:va([rA.config(JA.deviceType.isTouch()?{mode:"touch",snaps:t}:{mode:"mouse",blockerClass:"blocker",snaps:t}),bw.config({})]),eventOrder:{mousedown:["dragging","alloy.base.behaviour"]}})),f=pm(Ug.sketch({dom:{tag:"div",classes:["tox-selector"]},buttonBehaviours:va([rA.config(JA.deviceType.isTouch()?{mode:"touch",snaps:a}:{mode:"mouse",blockerClass:"blocker",snaps:a}),bw.config({})]),eventOrder:{mousedown:["dragging","alloy.base.behaviour"]}})),l=iu(s.asSpec()),d=iu(f.asSpec()),m=Te(!1),g=Te(null),p=Te(null),h=function(n){var t=e(n);rA.snapTo(l,t);r(l,n,function(n){return n.top<0},function(n,t){return n.top>t})},v=function(n){var t=o(n);rA.snapTo(d,t);r(d,n,function(n){return n.bottom<0},function(n,t){return n.bottom>t})};JA.deviceType.isTouch()&&(c.on("tableselectionchange",function(t){m.get()||(ps(n,l),ps(n,d),m.set(!0)),g.set(t.start),p.set(t.finish),t.otherCells.each(function(n){i.set(n.upOrLeftCells),u.set(n.downOrRightCells),h(t.start),v(t.finish)})}),c.on("resize ScrollContent",function(){!function(){var n=g.get();h(n)}(),function(){var n=p.get();v(n)}()}),c.on("tableselectionclear",function(){m.get()&&(vs(l),vs(d),m.set(!1))}))},QA=function(e){var o=Te(on.none()),r=Te(!1),i=qg(function(n){e.fire("longpress",P(P({},n),{type:"longpress"})),r.set(!0)},400);e.on("touchstart",function(e){sA(e).each(function(n){i.cancel();var t={x:nn(n.clientX),y:nn(n.clientY),target:nn(e.target)};i.throttle(e),r.set(!1),o.set(on.some(t))})},!0),e.on("touchmove",function(n){i.cancel(),sA(n).each(function(t){o.get().each(function(n){!function(n,t){var e=Math.abs(n.clientX-t.x()),o=Math.abs(n.clientY-t.y());return 5<e||5<o}(t,n)||(o.set(on.none()),r.set(!1),e.fire("longpresscancel"))})})},!0),e.on("touchend touchcancel",function(t){i.cancel(),"touchend"===t.type&&r.get()&&o.get().filter(function(n){return n.target().isEqualNode(t.target)}).map(function(){t.preventDefault()})},!0)},ZA=function(l){function d(){return o.bind(y_.getHeader)}function m(){return an.value(v)}function n(){return o.bind(function(n){return y_.getMoreButton(n)}).getOrDie("Could not find more button element")}function g(){return o.bind(function(n){return y_.getThrobber(n)}).getOrDie("Could not find throbber element")}function t(n){return Lb(n)}var e=l.inline,p=e?B_:E_,h=Gb(l)?QD:e_,o=on.none(),r=Ht(),i=r.browser.isIE()?["tox-platform-ie"]:[],u=r.deviceType.isTouch()?["tox-platform-touch"]:[],a=eh.isRtl()?{attributes:{dir:"rtl"}}:{},v=iu({dom:P({tag:"div",classes:["tox","tox-silver-sink","tox-tinymce-aux"].concat(i).concat(u)},a),behaviours:va([Df.config({useFixed:function(){return h.isDocked(d)}})])}),c=pm({dom:{tag:"div",classes:["tox-anchorbar"]}}),b=mO(v,l,function(){return o.bind(function(n){return c.getOpt(n)}).getOrDie("Could not find a anchor bar element")},n),s=y_.parts().menubar({dom:{tag:"div",classes:["tox-menubar"]},backstage:b,onEscape:function(){l.focus()}}),f=y_.parts().toolbar({dom:{tag:"div",classes:["tox-toolbar"]},getSink:m,backstage:b,onEscape:function(){l.focus()},split:t(l),lazyToolbar:function(){return o.bind(function(n){return y_.getToolbar(n)}).getOrDie("Could not find more toolbar element")},lazyMoreButton:n,lazyHeader:function(){return d().getOrDie("Could not find header element")}}),y=y_.parts()["multiple-toolbar"]({dom:{tag:"div",classes:["tox-toolbar-overlord"]},onEscape:function(){}}),x=y_.parts().socket({dom:{tag:"div",classes:["tox-edit-area"]}}),w=y_.parts().sidebar({dom:{tag:"div",classes:["tox-sidebar"]}}),S=y_.parts().throbber({dom:{tag:"div",classes:["tox-throbber"]},backstage:b}),C=l.getParam("statusbar",!0,"boolean")&&!e?on.some(cA(l,b.shared.providers)):on.none(),k={dom:{tag:"div",classes:["tox-sidebar-wrap"]},components:[x,w]},O=zb(l),T=Ib(l),E=Fb(l),B=t(l)!==Vb["default"],D=y_.parts().header({dom:{tag:"div",classes:["tox-editor-header"]},components:z([E?[s]:[],O?(B&&H.console.warn("Toolbar drawer cannot be applied when multiple toolbars are active"),[y]):T?[f]:[],Ub(l)?[]:[c.asSpec()]]),sticky:Gb(l),editor:l,getSink:m}),_=z([[D],e?[]:[k]]),A=z([[{dom:{tag:"div",classes:["tox-editor-container"]},components:_}],e?[]:C.toArray(),[S]]),M=Wb(l),F=P(P({role:"application"},eh.isRtl()?{dir:"rtl"}:{}),M?{"aria-hidden":"true"}:{}),I=iu(y_.sketch({dom:{tag:"div",classes:["tox","tox-tinymce"].concat(e?["tox-tinymce-inline"]:[]).concat(u).concat(i),styles:P({visibility:"hidden"},M?{opacity:"0",border:"0"}:{}),attributes:F},components:A,behaviours:va([sg.config({mode:"cyclic",selector:".tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar__overflow--open, .tox-sidebar__overflow--open, .tox-statusbar__path, .tox-statusbar__wordcount, .tox-statusbar__branding a"})])}));o=on.some(I),l.shortcuts.add("alt+F9","focus menubar",function(){y_.focusMenubar(I)}),l.shortcuts.add("alt+F10","focus toolbar",function(){y_.focusToolbar(I)});var R=_b(I),V=_b(v);MD(l,R,V),QA(l);function N(n){var t=Fh.DOM,e=l.getParam("width",t.getStyle(n,"width")),o=function(n){return n.getParam("height",Math.max(n.getElement().offsetHeight,200))}(l),r=Ab(l),i=Mb(l),u=W_(e).bind(function(t){return G_(r.map(function(n){return Math.max(t,n)}))}).getOr(G_(e)),a=W_(o).bind(function(t){return i.map(function(n){return Math.max(t,n)})}).getOr(o),c=G_(u),s=l.inline?"max-width":"width";if(mi("div",s,c)&&si(I.element(),s,c),!l.inline){var f=G_(a);mi("div","height",f)?si(I.element(),"height",f):si(I.element(),"height","200px")}return a}return{mothership:R,uiMothership:V,backstage:b,renderUI:function(){h.setup(l,d),R_(l,b),uD(l,m,b),function(o){var r=o.ui.registry.getAll().sidebars;bn(wn(r),function(t){function e(){return on.from(o.queryCommandValue("ToggleSidebar")).is(t)}var n=r[t];o.ui.registry.addToggleButton(t,{icon:n.icon,tooltip:n.tooltip,onAction:function(n){o.execCommand("ToggleSidebar",!1,t),n.setActive(e())},onSetup:function(n){function t(){return n.setActive(e())}return o.on("ToggleSidebar",t),function(){o.off("ToggleSidebar",t)}}})})}(l),function(e,t,o){function r(n){n!==i.get()&&(LB(t(),n,o.providers),i.set(n))}var i=Te(!1),u=Te(on.none());e.on("ProgressState",function(n){if(u.get().each(Xg.clearTimeout),mn(n.time)){var t=Xg.setEditorTimeout(e,function(){return r(n.state)},n.time);u.set(on.some(t))}else r(n.state),u.set(on.none())})}(l,g,b.shared);var n=l.ui.registry.getAll(),t=n.buttons,e=n.menuItems,o=n.contextToolbars,r=n.sidebars,i=Rb(l),u={menuItems:e,menus:l.settings.menu?L(l.settings.menu,function(n){return _n(n,{items:n.items})}):{},menubar:l.settings.menubar,toolbar:i.getOrThunk(function(){return l.getParam("toolbar",!0)}),buttons:t,sidebar:r};AD(l,o,v,{backstage:b}),$A(l,v);var a=l.getElement(),c=N(a),s={mothership:R,uiMothership:V,outerContainer:I},f={targetNode:a,height:c};return p.render(l,s,u,b,f)},getUi:function(){return{channels:{broadcastAll:V.broadcast,broadcastOn:V.broadcastOn,register:function(){}}}}}},nM=function(n,t){var e=on.from(_r(n,"id")).fold(function(){var n=Vr("dialog-label");return Dr(t,"id",n),n},l);Dr(n,"aria-labelledby",e)},tM=nn([ct("lazySink"),ht("dragBlockClass"),Bt("getBounds",wu),St("useTabstopAt",nn(!0)),St("eventOrder",{}),Ms("modalBehaviours",[sg]),qu("onExecute"),Ju("onEscape")]),eM={sketch:l},oM=nn([wl({name:"draghandle",overrides:function(n,t){return{behaviours:va([rA.config({mode:"mouse",getTarget:function(n){return Su(n,'[role="dialog"]').getOr(n)},blockerClass:n.dragBlockClass.getOrDie(new Error("The drag blocker class was not specified for a dialog with a drag handle: \n"+JSON.stringify(t,null,2)).message),getBounds:n.getDragBounds})])}}}),yl({schema:[ct("dom")],name:"title"}),yl({factory:eM,schema:[ct("dom")],name:"close"}),yl({factory:eM,schema:[ct("dom")],name:"body"}),wl({factory:eM,schema:[ct("dom")],name:"footer"}),xl({factory:{sketch:function(n,t){return P(P({},n),{dom:t.dom,components:t.components})}},schema:[St("dom",{tag:"div",styles:{position:"fixed",left:"0px",top:"0px",right:"0px",bottom:"0px"}}),St("components",[])],name:"blocker"})]),rM=Dl({name:"ModalDialog",configFields:tM(),partFields:oM(),factory:function(o,n,t,r){var a=Vr("alloy.dialog.busy"),c=Vr("alloy.dialog.idle"),s=va([sg.config({mode:"special",onTab:function(){return on.some(!0)},onShiftTab:function(){return on.some(!0)}}),pg.config({})]),e=Vr("modal-events"),i=P(P({},o.eventOrder),{"alloy.system.attached":[e].concat(o.eventOrder["alloy.system.attached"]||[])});return{uid:o.uid,dom:o.dom,components:n,apis:{show:function(i){var n=o.lazySink(i).getOrDie(),u=Te(on.none()),t=r.blocker(),e=n.getSystem().build(P(P({},t),{components:t.components.concat([uu(i)]),behaviours:va([qd("dialog-blocker-events",[or(c,function(n,t){Ar(i.element(),"aria-busy")&&(Mr(i.element(),"aria-busy"),u.get().each(function(n){return lg.remove(i,n)}))}),or(a,function(n,t){Dr(i.element(),"aria-busy","true");var e=t.event().getBusySpec();u.get().each(function(n){lg.remove(i,n)});var o=e(i,s),r=n.getSystem().build(o);u.set(on.some(r)),lg.append(i,uu(r)),r.hasConfigured(sg)&&sg.focusIn(r)})])])}));ps(n,e),sg.focusIn(i)},hide:function(t){hr(t.element()).each(function(n){t.getSystem().getByDom(n).each(function(n){vs(n)})})},getBody:function(n){return qs(n,o,"body")},getFooter:function(n){return qs(n,o,"footer")},setIdle:function(n){Xt(n,c)},setBusy:function(n,t){Yt(n,a,{getBusySpec:t})}},eventOrder:i,domModification:{attributes:{role:"dialog","aria-modal":"true"}},behaviours:Is(o.modalBehaviours,[lg.config({}),sg.config({mode:"cyclic",onEnter:o.onExecute,onEscape:o.onEscape,useTabstopAt:o.useTabstopAt}),qd(e,[Fi(function(n){nM(n.element(),qs(n,o,"title").element()),function(n,t){var e=on.from(_r(n,"id")).fold(function(){var n=Vr("dialog-describe");return Dr(t,"id",n),n},l);Dr(n,"aria-describedby",e)}(n.element(),qs(n,o,"body").element())})])])}},apis:{show:function(n,t){n.show(t)},hide:function(n,t){n.hide(t)},getBody:function(n,t){return n.getBody(t)},getFooter:function(n,t){return n.getFooter(t)},setBusy:function(n,t,e){n.setBusy(t,e)},setIdle:function(n,t){n.setIdle(t)}}}),iM=[ft("type"),ft("text"),lt("level",["info","warn","error","success"]),ft("icon"),St("url","")],uM=le(iM),aM=[ft("type"),ft("text"),Et("disabled",!1),Et("primary",!1),pe("name","name",In(function(){return Vr("button-name")}),we),yt("icon"),Et("borderless",!1)],cM=le(aM),sM=[ft("type"),ft("name"),ft("label"),Et("disabled",!1)],fM=le(sM),lM=Se,dM=[ft("type"),ft("name")],mM=dM.concat([yt("label")]),gM=le(mM),pM=we,hM=le(mM),vM=we,bM=le(mM),yM=Kn(he),xM=mM.concat([Et("sandboxed",!0)]),wM=le(xM),SM=we,CM=mM.concat([yt("inputMode"),yt("placeholder"),Et("maximized",!1),Et("disabled",!1)]),kM=le(CM),OM=we,TM=mM.concat([gt("items",[ft("text"),ft("value")]),kt("size",1),Et("disabled",!1)]),EM=le(TM),BM=we,DM=mM.concat([Et("constrain",!0),Et("disabled",!1)]),_M=le(DM),AM=le([ft("width"),ft("height")]),MM=mM.concat([yt("placeholder"),Et("maximized",!1),Et("disabled",!1)]),FM=le(MM),IM=we,RM=mM.concat([Tt("filetype","file",["image","media","file"]),St("disabled",!1)]),VM=le(RM),NM=le([ft("value"),St("meta",{})]),HM=dM.concat([Ot("tag","textarea"),ft("scriptId"),ft("scriptUrl"),(WA="settings",GA=undefined,Ct(WA,GA,Oe))]),PM=dM.concat([Ot("tag","textarea"),dt("init")]),zM=Zn(function(n){return tt("customeditor.old",qn(PM),n).orThunk(function(){return tt("customeditor.new",qn(HM),n)})}),LM=we,jM=[ft("type"),ft("html"),Tt("presets","presentation",["presentation","document"])],UM=le(jM),WM=mM.concat([st("currentState",le([ct("blob"),ft("url")]))]),GM=le(WM),XM=mM.concat([St("columns","auto")]),YM=le(XM),qM=(XA=[ft("value"),ft("text"),ft("icon")],me(XA)),KM=[ft("type"),pt("header",we),pt("cells",Kn(we))],JM=le(KM),$M=ve(function(){return rt("type",{alertbanner:uM,bar:le(function(n){return[ft("type"),n]}(lA("bar"))),button:cM,checkbox:fM,colorinput:gM,colorpicker:hM,dropzone:bM,grid:le(fA(lA("grid"))),iframe:wM,input:kM,selectbox:EM,sizeinput:_M,textarea:FM,urlinput:VM,customeditor:zM,htmlpanel:UM,imagetools:GM,collection:YM,label:le(function(n){return[ft("type"),ft("label"),n]}(lA("label"))),table:JM,panel:ZM})}),QM=[ft("type"),St("classes",[]),pt("items",$M)],ZM=le(QM),nF=[pe("name","name",In(function(){return Vr("tab-name")}),we),ft("title"),pt("items",$M)],tF=[ft("type"),gt("tabs",nF)],eF=le(tF),oF=le([ft("type"),ft("name"),Et("active",!1)].concat(jp)),rF=Se,iF=[pe("name","name",In(function(){return Vr("button-name")}),we),yt("icon"),Tt("align","end",["start","end"]),Et("primary",!1),Et("disabled",!1)],uF=g(iF,[ft("text")]),aF=g([lt("type",["submit","cancel","custom"])],uF),cF=g([lt("type",["menu"]),yt("text"),yt("tooltip"),yt("icon"),pt("items",oF),Bt("onSetup",function(){return Z})],iF),sF=uF,fF=it("type",{submit:aF,cancel:aF,custom:aF,menu:cF}),lF=le([ft("title"),st("body",rt("type",{panel:ZM,tabpanel:eF})),Ot("size","normal"),pt("buttons",fF),St("initialData",{}),Bt("onAction",Z),Bt("onChange",Z),Bt("onSubmit",Z),Bt("onClose",Z),Bt("onCancel",Z),St("onTabChange",Z)]),dF=function(n){return sn(n)?[n].concat(E(I(n),dF)):fn(n)?E(n,dF):[]},mF={checkbox:lM,colorinput:pM,colorpicker:vM,dropzone:yM,input:OM,iframe:SM,sizeinput:AM,selectbox:BM,size:AM,textarea:IM,urlinput:NM,customeditor:LM,collection:qM,togglemenuitem:rF},gF=le(g([lt("type",["cancel","custom"])],sF)),pF=le([ft("title"),ft("url"),bt("height"),bt("width"),(YA="buttons",qA=gF,vt(YA,Kn(qA))),Bt("onAction",Z),Bt("onCancel",Z),Bt("onClose",Z),Bt("onMessage",Z)]),hF={open:function(n,t){var e=gA(t);return n(e.internalDialog,e.initialData,e.dataValidator)},openUrl:function(n,t){return n(et(function(n){return tt("dialog",pF,n)}(t)))},redial:function(n){return gA(n)}},vF=Bl({name:"TabButton",configFields:[St("uid",undefined),ct("value"),pe("dom","dom",Rn(function(n){return{attributes:{role:"tab",id:Vr("aria"),"aria-selected":"false"}}}),ye()),ht("action"),St("domModification",{}),Ms("tabButtonBehaviours",[pg,sg,Qf]),ct("view")],factory:function(n,t){return{uid:n.uid,dom:n.dom,components:n.components,events:gm(n.action),behaviours:Is(n.tabButtonBehaviours,[pg.config({}),sg.config({mode:"execution",useSpace:!0,useEnter:!0}),Qf.config({store:{mode:"memory",initialValue:n.value}})]),domModification:n.domModification}}}),bF=nn([ct("tabs"),ct("dom"),St("clickToDismiss",!1),Ms("tabbarBehaviours",[ud,sg]),Gu(["tabClass","selectedClass"])]),yF=Sl({factory:vF,name:"tabs",unit:"tab",overrides:function(o,n){function r(n,t){ud.dehighlight(n,t),Yt(n,Uo(),{tabbar:n,button:t})}function i(n,t){ud.highlight(n,t),Yt(n,jo(),{tabbar:n,button:t})}return{action:function(n){var t=n.getSystem().getByUid(o.uid).getOrDie(),e=ud.isHighlighted(t,n);(e&&o.clickToDismiss?r:e?Z:i)(t,n)},domModification:{classes:[o.markers.tabClass]}}}}),xF=nn([yF]),wF=Dl({name:"Tabbar",configFields:bF(),partFields:xF(),factory:function(n,t,e,o){return{uid:n.uid,dom:n.dom,components:t,"debug.sketcher":"Tabbar",domModification:{attributes:{role:"tablist"}},behaviours:Is(n.tabbarBehaviours,[ud.config({highlightClass:n.markers.selectedClass,itemClass:n.markers.tabClass,onHighlight:function(n,t){Dr(t.element(),"aria-selected","true")},onDehighlight:function(n,t){Dr(t.element(),"aria-selected","false")}}),sg.config({mode:"flow",getInitial:function(n){return ud.getHighlighted(n).map(function(n){return n.element()})},selector:"."+n.markers.tabClass,executeOnMove:!0})])}}}),SF=Bl({name:"Tabview",configFields:[Ms("tabviewBehaviours",[lg])],factory:function(n,t){return{uid:n.uid,dom:n.dom,behaviours:Is(n.tabviewBehaviours,[lg.config({})]),domModification:{attributes:{role:"tabpanel"}}}}}),CF=nn([St("selectFirst",!0),Yu("onChangeTab"),Yu("onDismissTab"),St("tabs",[]),Ms("tabSectionBehaviours",[])]),kF=yl({factory:wF,schema:[ct("dom"),mt("markers",[ct("tabClass"),ct("selectedClass")])],name:"tabbar",defaults:function(n){return{tabs:n.tabs}}}),OF=yl({factory:SF,name:"tabview"}),TF=nn([kF,OF]),EF=Dl({name:"TabSection",configFields:CF(),partFields:TF(),factory:function(r,n,t,e){function o(n,t){Ys(n,r,"tabbar").each(function(n){t(n).each(qt)})}return{uid:r.uid,dom:r.dom,components:n,behaviours:Fs(r.tabSectionBehaviours),events:nr(z([r.selectFirst?[Fi(function(n,t){o(n,ud.getFirst)})]:[],[or(jo(),function(n,t){!function(o){var t=Qf.getValue(o);Ys(o,r,"tabview").each(function(e){O(r.tabs,function(n){return n.value===t}).each(function(n){var t=n.view();Dr(e.element(),"aria-labelledby",_r(o.element(),"id")),lg.set(e,t),r.onChangeTab(e,o,t)})})}(t.event().button())}),or(Uo(),function(n,t){var e=t.event().button();r.onDismissTab(n,e)})]])),apis:{getViewItems:function(n){return Ys(n,r,"tabview").map(function(n){return lg.contents(n)}).getOr([])},showTab:function(n,e){o(n,function(t){var n=ud.getCandidates(t);return O(n,function(n){return Qf.getValue(n)===e}).filter(function(n){return!ud.isHighlighted(t,n)})})}}}},apis:{getViewItems:function(n,t){return n.getViewItems(t)},showTab:function(n,t,e){n.showTab(t,e)}}}),BF="send-data-to-section",DF="send-data-to-view",_F=Vr("update-dialog"),AF=Vr("update-title"),MF=Vr("update-body"),FF=Vr("update-footer"),IF=Vr("body-send-message"),RF=function(i,n){function t(n,r){return or(n,function(e,o){u(e,function(n,t){r(i(),n,o.event(),e)})})}var u=function(t,e){ME.getState(t).get().each(function(n){e(n,t)})};return g(xA(t,n),[t(ty,function(n,t,e){t.onAction(n,{name:e.name()})})])},VF=function(i,n){function t(n,r){return or(n,function(e,o){u(e,function(n,t){r(i(),n,o.event(),e)})})}var u=function(t,e){ME.getState(t).get().each(function(n){e(n.internalDialog,t)})};return g(xA(t,n),[t(ey,function(n,t){return t.onSubmit(n)}),t(Qb,function(n,t,e){t.onChange(n,{name:e.name()})}),t(ty,function(n,t,e,o){function r(){return sg.focusIn(o)}var i=wa();t.onAction(n,{name:e.name(),value:e.value()}),wa().fold(function(){r()},function(n){!no(o.element(),n)||Ar(n,"disabled")?r():no(n,i.getOrNull())&&Ar(i.getOrDie(),"disabled")&&r()})}),t(iy,function(n,t,e){t.onTabChange(n,{newTabName:e.name(),oldTabName:e.oldName()})}),Ii(function(n){var t=i();Qf.setValue(n,t.getData())})])},NF=dh.deviceType.isTouch(),HF=tinymce.util.Tools.resolve("tinymce.util.URI"),PF=["insertContent","setContent","execCommand","close","block","unblock"],zF=dh.deviceType.isTouch(),LF={dom:{tag:"div",styles:{display:"none"},classes:["tox-dialog__header"]}},jF={dom:{tag:"div",classes:["tox-dialog__header"]}},UF=function(n){var l=n.backstage,d=n.editor,m=Gb(d),e=function(u){var a=u.backstage.shared;return{open:function(n,t){function e(){rM.hide(r),t()}var o=pm(WC({name:"close-alert",text:"OK",primary:!0,align:"end",disabled:!1,icon:on.none()},"cancel",u.backstage)),r=iu(UA({lazySink:function(){return a.getSink()},headerOverride:on.some(LF),partSpecs:{title:PA(),close:HA(function(){e()},a.providers),body:zA(n,a.providers),footer:LA(jA([],[o.asSpec()]))},onCancel:function(){return e()},onSubmit:Z,extraClasses:["tox-alert-dialog"]}));rM.show(r);var i=o.get(r);pg.focus(i)}}}(n),o=function(a){var c=a.backstage.shared;return{open:function(n,t){function e(n){rM.hide(i),t(n)}var o=pm(WC({name:"yes",text:"Yes",primary:!0,align:"end",disabled:!1,icon:on.none()},"submit",a.backstage)),r=WC({name:"no",text:"No",primary:!0,align:"end",disabled:!1,icon:on.none()},"cancel",a.backstage),i=iu(UA({lazySink:function(){return c.getSink()},headerOverride:on.some(LF),partSpecs:{title:PA(),close:HA(function(){e(!1)},c.providers),body:zA(n,c.providers),footer:LA(jA([],[r,o.asSpec()]))},onCancel:function(){return e(!1)},onSubmit:function(){return e(!0)},extraClasses:["tox-confirm-dialog"]}));rM.show(i);var u=o.get(i);pg.focus(u)}}}(n),r=function(n,e){return hF.openUrl(function(n){var t=VA(n,{closeWindow:function(){rM.hide(t.dialog),e(t.instanceApi)}},d,l);return rM.show(t.dialog),t.instanceApi},n)},i=function(n,i){return hF.open(function(n,t,e){var o=t,r=IA({dataValidator:e,initialData:o,internalDialog:n},{redial:hF.redial,closeWindow:function(){rM.hide(r.dialog),i(r.instanceApi)}},l);return rM.show(r.dialog),r.instanceApi.setData(o),r.instanceApi},n)},u=function(n,c,s,f){return hF.open(function(n,t,e){function o(){return i.on(function(n){qD.refresh(n)})}var r=function(n,t){return et(tt("data",t,n))}(t,e),i=function(){var t=Te(on.none());return{clear:function(){t.set(on.none())},set:function(n){t.set(on.some(n))},isSet:function(){return t.get().isSome()},on:function(n){t.get().each(n)}}}(),u=NA({dataValidator:e,initialData:r,internalDialog:n},{redial:hF.redial,closeWindow:function(){i.on(zg.hide),d.off("ResizeEditor",o),i.clear(),s(u.instanceApi)}},l,f),a=iu(zg.sketch({lazySink:l.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:{},inlineBehaviours:va(g([qd("window-manager-inline-events",[or(Ho(),function(n,t){Xt(u.dialog,ny)})])],function(r,n){return n?[]:[qD.config({contextual:{lazyContext:function(){return on.some(yu(Be.fromDom(r.getContentAreaContainer())))},fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},leftAttr:"data-dock-left",topAttr:"data-dock-top",positionAttr:"data-dock-pos",modes:["top"],lazyViewport:function(){var n=wu(),t=Cu(Be.fromDom(r.getContainer()),".tox-editor-header").getOrDie(),e=xu(t),o=Math.max(n.y(),e.bottom());return bu(n.x(),o,n.width(),n.bottom()-o)}})]}(d,m)))}));return i.set(a),zg.showWithin(a,c,uu(u.dialog),on.some(_i())),m||(qD.refresh(a),d.on("ResizeEditor",o)),u.instanceApi.setData(r),sg.focusIn(u.dialog),u.instanceApi},n)};return{open:function(n,t,e){return t!==undefined&&"toolbar"===t.inline?u(n,l.shared.anchors.toolbar(),e,t.ariaAttrs):t!==undefined&&"cursor"===t.inline?u(n,l.shared.anchors.cursor(),e,t.ariaAttrs):i(n,e)},openUrl:function(n,t){return r(n,t)},alert:function(n,t){e.open(n,function(){t()})},close:function(n){n.close()},confirm:function(n,t){o.open(n,function(n){t(n)})}}};!function ZF(){n.add("silver",function(n){var t=ZA(n),e=t.uiMothership,o=t.backstage,r=t.renderUI,i=t.getUi;fb(n,o.shared);var u=UF({editor:n,backstage:o});return{renderUI:r,getWindowManagerImpl:nn(u),getNotificationManagerImpl:function(){return Yg(0,{backstage:o},e)},ui:i()}})}()}(window); |
New file |
| | |
| | | <template> |
| | | <div class="tinymce-editor"> |
| | | <editor v-model="myValue" :init="init" :disabled="disabled" @onClick="onClick"> |
| | | </editor> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import tinymce from 'tinymce/tinymce' |
| | | import Editor from '@tinymce/tinymce-vue' |
| | | import 'tinymce/themes/silver/theme' |
| | | import 'tinymce/plugins/image' |
| | | import 'tinymce/plugins/media' |
| | | import 'tinymce/plugins/table' |
| | | import 'tinymce/plugins/lists' |
| | | import 'tinymce/plugins/contextmenu' |
| | | import 'tinymce/plugins/wordcount' |
| | | import 'tinymce/plugins/colorpicker' |
| | | import 'tinymce/plugins/textcolor' |
| | | export default { |
| | | components: { |
| | | Editor |
| | | }, |
| | | props: { |
| | | //传入一个value,使组件支持v-model绑定 |
| | | value: { |
| | | type: String, |
| | | default: '' |
| | | }, |
| | | disabled: { |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | | plugins: { |
| | | type: [String, Array], |
| | | default: |
| | | // ' anchor autolink autosave code codesample colorpicker colorpicker contextmenu directionality emoticons fullscreen hr image imagetools insertdatetime link lists noneditable pagebreak paste preview print save searchreplace spellchecker tabfocus table template textcolor textpattern visualblocks visualchars wordcount' |
| | | 'lists image media table wordcount ' |
| | | }, |
| | | toolbar: { |
| | | type: [String, Array], |
| | | default: |
| | | // 'undo redo | searchreplace | bold italic | underline | strikethrough | alignleft aligncenter alignright | outdent indent blockquote removeformat subscript superscript code codesample hr bullist numlist link image charmap preview anchor pagebreak insertdatetime table forecolor backcolor' |
| | | 'undo redo | formatselect | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | lists image media table | removeformat hr' |
| | | } |
| | | }, |
| | | data () { |
| | | return { |
| | | //初始化配置 |
| | | init: { |
| | | language_url: "/tinymce/langs/zh_CN.js", |
| | | language: 'zh_CN', |
| | | skin_url: "/tinymce/skins/ui/oxide", |
| | | height: 300, |
| | | plugins: this.plugins, |
| | | toolbar: this.toolbar, |
| | | branding: false, |
| | | menubar: false, |
| | | //此处为图片上传处理函数,这个直接用了base64的图片形式上传图片, |
| | | //如需ajax上传可参考https://www.tiny.cloud/docs/configure/file-image-upload/#images_upload_handler |
| | | images_upload_handler: (blobInfo, success, failure) => { |
| | | const img = 'data:image/jpeg;base64,' + blobInfo.base64() |
| | | success(img) |
| | | }, |
| | | resize: false |
| | | }, |
| | | myValue: this.value |
| | | } |
| | | }, |
| | | mounted () { |
| | | tinymce.init({}) |
| | | }, |
| | | methods: { |
| | | //添加相关的事件,可用的事件参照文档=> https://github.com/tinymce/tinymce-vue => All available events |
| | | //需要什么事件可以自己增加 |
| | | onClick (e) { |
| | | this.$emit('onClick', e, tinymce) |
| | | }, |
| | | //可以添加一些自己的自定义事件,如清空内容 |
| | | clear () { |
| | | this.myValue = '' |
| | | } |
| | | }, |
| | | watch: { |
| | | value (newValue) { |
| | | this.myValue = newValue |
| | | }, |
| | | myValue (newValue) { |
| | | this.$emit('input', newValue) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | </style> |
| | | |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | |
| | | export default { |
| | | data(){ |
| | | return { |
| | | form: {} |
| | | } |
| | | }, |
| | | |
| | | props: { |
| | | dialogFormVisible: { |
| | | type: Boolean, |
| | |
| | | <template> |
| | | <div class="app-container"> |
| | | |
| | | <Tinymce class="setTinymce" :height="200" v-model="value"></Tinymce> |
| | | <!-- 新增弹出框 --> |
| | | <tanchukuang :dialogFormVisible.sync=dialogFormVisible></tanchukuang> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px"> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import Tinymce from "@/components/Tinymce.vue"; |
| | | import tanchukuang from './components/tanchukuang.vue'; |
| | | export default { |
| | | name: "Tags", |
| | | components: { |
| | | tanchukuang |
| | | tanchukuang, |
| | | Tinymce |
| | | }, |
| | | data() { |
| | | return { |
| | | value: '', |
| | | dialogFormVisible: false, |
| | | senHistoryList: [], |
| | | // 遮罩层 |