@lotte-innovate/ui-component-test 0.1.76 → 0.1.78

Sign up to get free protection for your applications and to get access to all the features.
Files changed (574) hide show
  1. package/README.md +9 -11
  2. package/dist/globals.css +2 -2
  3. package/dist/lib/_virtual/index.mjs +1 -1
  4. package/dist/lib/_virtual/index2.mjs +1 -1
  5. package/dist/lib/_virtual/index3.mjs +1 -1
  6. package/dist/lib/_virtual/react-is.development.mjs +2 -0
  7. package/dist/lib/_virtual/react-is.development.mjs.map +1 -0
  8. package/dist/lib/_virtual/react-is.production.min.mjs +2 -0
  9. package/dist/lib/_virtual/react-is.production.min.mjs.map +1 -0
  10. package/dist/lib/components/Editor/index.d.ts +10 -5
  11. package/dist/lib/components/Editor/index.js +50 -6
  12. package/dist/lib/components/Footer/index.js +8 -1
  13. package/dist/lib/components/Gnb/GnbInfo.js +1 -0
  14. package/dist/lib/components/Gnb/GnbLogo.js +3 -4
  15. package/dist/lib/components/Gnb/GnbMenu.js +1 -0
  16. package/dist/lib/components/Gnb/GnbRoot.js +4 -2
  17. package/dist/lib/components/Grid/Pagination.d.ts +2 -0
  18. package/dist/lib/components/Grid/Pagination.js +17 -0
  19. package/dist/lib/components/Grid/index.d.ts +1 -2
  20. package/dist/lib/components/Grid/index.js +40 -47
  21. package/dist/lib/components/Grid/useGrid.d.ts +1 -1
  22. package/dist/lib/components/Grid/useGrid.js +19 -11
  23. package/dist/lib/components/Slider/index.d.ts +2 -1
  24. package/dist/lib/components/index.d.ts +2 -1
  25. package/dist/lib/components/index.js +3 -1
  26. package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -1
  27. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -1
  28. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -1
  29. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -1
  30. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -1
  31. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -1
  32. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -1
  33. package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -1
  34. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -1
  35. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -1
  36. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -1
  37. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -1
  38. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -1
  39. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -1
  40. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -1
  41. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -1
  42. package/dist/lib/dist/lib/components/Editor/index.mjs +1 -1
  43. package/dist/lib/dist/lib/components/Footer/index.mjs +1 -1
  44. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs +1 -0
  45. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -1
  46. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs +1 -1
  47. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -1
  48. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs +2 -1
  49. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -1
  50. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs +1 -1
  51. package/dist/lib/dist/lib/components/Grid/Pagination.mjs +2 -0
  52. package/dist/lib/dist/lib/components/Grid/Pagination.mjs.map +1 -0
  53. package/dist/lib/dist/lib/components/Grid/index.mjs +3 -0
  54. package/dist/lib/dist/lib/components/Grid/index.mjs.map +1 -0
  55. package/dist/lib/dist/lib/components/Grid/useGrid.mjs +3 -0
  56. package/dist/lib/dist/lib/components/Grid/useGrid.mjs.map +1 -0
  57. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -1
  58. package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -1
  59. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -1
  60. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -1
  61. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -1
  62. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -1
  63. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -1
  64. package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -1
  65. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -1
  66. package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -1
  67. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -1
  68. package/dist/lib/dist/lib/constants.mjs +1 -1
  69. package/dist/lib/dist/lib/constants.mjs.map +1 -1
  70. package/dist/lib/dist/lib/index.mjs +1 -1
  71. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/ScriptLoader2.mjs +2 -0
  72. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/ScriptLoader2.mjs.map +1 -0
  73. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/TinyMCE.mjs +2 -0
  74. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/TinyMCE.mjs.map +1 -0
  75. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/Utils.mjs +2 -0
  76. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/Utils.mjs.map +1 -0
  77. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/Editor.mjs +2 -0
  78. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/Editor.mjs.map +1 -0
  79. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/EditorPropTypes.mjs +2 -0
  80. package/dist/lib/node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/components/EditorPropTypes.mjs.map +1 -0
  81. package/dist/lib/node_modules/marked/lib/marked.esm.mjs +2 -0
  82. package/dist/lib/node_modules/marked/lib/marked.esm.mjs.map +1 -0
  83. package/dist/lib/node_modules/object-assign/index.mjs +7 -0
  84. package/dist/lib/node_modules/object-assign/index.mjs.map +1 -0
  85. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs +2 -0
  86. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs.map +1 -0
  87. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs +2 -0
  88. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs.map +1 -0
  89. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs +2 -0
  90. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs.map +1 -0
  91. package/dist/lib/node_modules/prop-types/index.mjs +2 -0
  92. package/dist/lib/node_modules/prop-types/index.mjs.map +1 -0
  93. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +2 -0
  94. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs.map +1 -0
  95. package/dist/lib/node_modules/prop-types/lib/has.mjs +2 -0
  96. package/dist/lib/node_modules/prop-types/lib/has.mjs.map +1 -0
  97. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs +10 -0
  98. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs.map +1 -0
  99. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs +10 -0
  100. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs.map +1 -0
  101. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs +2 -0
  102. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs.map +1 -0
  103. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  104. package/dist/lib/types.d.ts +2 -1
  105. package/dist/tsconfig.tsbuildinfo +1 -1
  106. package/package.json +7 -6
  107. package/public/tinymce/CHANGELOG.md +3453 -0
  108. package/public/tinymce/README.md +73 -0
  109. package/public/tinymce/bower.json +27 -0
  110. package/public/tinymce/composer.json +52 -0
  111. package/public/tinymce/icons/default/icons.js +194 -0
  112. package/public/tinymce/icons/default/icons.min.js +1 -0
  113. package/public/tinymce/icons/default/index.js +7 -0
  114. package/public/tinymce/license.txt +21 -0
  115. package/public/tinymce/models/dom/index.js +7 -0
  116. package/public/tinymce/models/dom/model.js +8040 -0
  117. package/public/tinymce/models/dom/model.min.js +4 -0
  118. package/public/tinymce/package.json +32 -0
  119. package/public/tinymce/plugins/advlist/index.js +7 -0
  120. package/public/tinymce/plugins/advlist/plugin.js +259 -0
  121. package/public/tinymce/plugins/advlist/plugin.min.js +4 -0
  122. package/public/tinymce/plugins/autolink/index.js +7 -0
  123. package/public/tinymce/plugins/autolink/plugin.js +228 -0
  124. package/public/tinymce/plugins/autolink/plugin.min.js +4 -0
  125. package/public/tinymce/plugins/code/index.js +7 -0
  126. package/public/tinymce/plugins/code/plugin.js +85 -0
  127. package/public/tinymce/plugins/code/plugin.min.js +4 -0
  128. package/public/tinymce/plugins/codesample/index.js +7 -0
  129. package/public/tinymce/plugins/codesample/plugin.js +2463 -0
  130. package/public/tinymce/plugins/codesample/plugin.min.js +4 -0
  131. package/public/tinymce/plugins/image/index.js +7 -0
  132. package/public/tinymce/plugins/image/plugin.js +1505 -0
  133. package/public/tinymce/plugins/image/plugin.min.js +4 -0
  134. package/public/tinymce/plugins/link/index.js +7 -0
  135. package/public/tinymce/plugins/link/plugin.js +1242 -0
  136. package/public/tinymce/plugins/link/plugin.min.js +4 -0
  137. package/public/tinymce/plugins/lists/index.js +7 -0
  138. package/public/tinymce/plugins/lists/plugin.js +2172 -0
  139. package/public/tinymce/plugins/lists/plugin.min.js +4 -0
  140. package/public/tinymce/plugins/table/index.js +7 -0
  141. package/public/tinymce/plugins/table/plugin.js +3462 -0
  142. package/public/tinymce/plugins/table/plugin.min.js +4 -0
  143. package/public/tinymce/skins/content/dark/content.css +66 -0
  144. package/public/tinymce/skins/content/dark/content.js +2 -0
  145. package/public/tinymce/skins/content/dark/content.min.css +1 -0
  146. package/public/tinymce/skins/content/default/content.css +61 -0
  147. package/public/tinymce/skins/content/default/content.js +2 -0
  148. package/public/tinymce/skins/content/default/content.min.css +1 -0
  149. package/public/tinymce/skins/content/document/content.js +2 -0
  150. package/public/tinymce/skins/content/document/content.min.css +1 -0
  151. package/public/tinymce/skins/content/tinymce-5/content.js +2 -0
  152. package/public/tinymce/skins/content/tinymce-5/content.min.css +1 -0
  153. package/public/tinymce/skins/content/tinymce-5-dark/content.js +2 -0
  154. package/public/tinymce/skins/content/tinymce-5-dark/content.min.css +1 -0
  155. package/public/tinymce/skins/content/writer/content.js +2 -0
  156. package/public/tinymce/skins/content/writer/content.min.css +1 -0
  157. package/public/tinymce/skins/ui/oxide/content.css +785 -0
  158. package/public/tinymce/skins/ui/oxide/content.inline.css +779 -0
  159. package/public/tinymce/skins/ui/oxide/content.inline.js +2 -0
  160. package/public/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
  161. package/public/tinymce/skins/ui/oxide/content.js +2 -0
  162. package/public/tinymce/skins/ui/oxide/content.min.css +1 -0
  163. package/public/tinymce/skins/ui/oxide/skin.css +3763 -0
  164. package/public/tinymce/skins/ui/oxide/skin.js +2 -0
  165. package/public/tinymce/skins/ui/oxide/skin.min.css +1 -0
  166. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
  167. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
  168. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  169. package/public/tinymce/skins/ui/oxide-dark/content.css +766 -0
  170. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
  171. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
  172. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
  173. package/public/tinymce/skins/ui/oxide-dark/content.js +2 -0
  174. package/public/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
  175. package/public/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
  176. package/public/tinymce/skins/ui/oxide-dark/skin.js +2 -0
  177. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
  178. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
  179. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  180. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  181. package/public/tinymce/skins/ui/tinymce-5/content.inline.js +2 -0
  182. package/public/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -0
  183. package/public/tinymce/skins/ui/tinymce-5/content.js +2 -0
  184. package/public/tinymce/skins/ui/tinymce-5/content.min.css +1 -0
  185. package/public/tinymce/skins/ui/tinymce-5/skin.js +2 -0
  186. package/public/tinymce/skins/ui/tinymce-5/skin.min.css +1 -0
  187. package/public/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
  188. package/public/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
  189. package/public/tinymce/skins/ui/tinymce-5-dark/content.inline.js +2 -0
  190. package/public/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -0
  191. package/public/tinymce/skins/ui/tinymce-5-dark/content.js +2 -0
  192. package/public/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -0
  193. package/public/tinymce/skins/ui/tinymce-5-dark/skin.js +2 -0
  194. package/public/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -0
  195. package/public/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
  196. package/public/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
  197. package/public/tinymce/themes/silver/index.js +7 -0
  198. package/public/tinymce/themes/silver/theme.js +30775 -0
  199. package/public/tinymce/themes/silver/theme.min.js +384 -0
  200. package/public/tinymce/tinymce.d.ts +3238 -0
  201. package/public/tinymce/tinymce.js +31779 -0
  202. package/public/tinymce/tinymce.min.js +384 -0
  203. package/dist/lib/_virtual/_commonjsHelpers.mjs +0 -2
  204. package/dist/lib/_virtual/_commonjsHelpers.mjs.map +0 -1
  205. package/dist/lib/_virtual/_interop_require_default.mjs +0 -2
  206. package/dist/lib/_virtual/_interop_require_default.mjs.map +0 -1
  207. package/dist/lib/_virtual/_interop_require_wildcard.mjs +0 -2
  208. package/dist/lib/_virtual/_interop_require_wildcard.mjs.map +0 -1
  209. package/dist/lib/_virtual/action-async-storage.external.mjs +0 -2
  210. package/dist/lib/_virtual/action-async-storage.external.mjs.map +0 -1
  211. package/dist/lib/_virtual/add-base-path.mjs +0 -2
  212. package/dist/lib/_virtual/add-base-path.mjs.map +0 -1
  213. package/dist/lib/_virtual/add-locale.mjs +0 -2
  214. package/dist/lib/_virtual/add-locale.mjs.map +0 -1
  215. package/dist/lib/_virtual/add-locale2.mjs +0 -2
  216. package/dist/lib/_virtual/add-locale2.mjs.map +0 -1
  217. package/dist/lib/_virtual/add-path-prefix.mjs +0 -2
  218. package/dist/lib/_virtual/add-path-prefix.mjs.map +0 -1
  219. package/dist/lib/_virtual/amp-context.shared-runtime.mjs +0 -2
  220. package/dist/lib/_virtual/amp-context.shared-runtime.mjs.map +0 -1
  221. package/dist/lib/_virtual/amp-mode.mjs +0 -2
  222. package/dist/lib/_virtual/amp-mode.mjs.map +0 -1
  223. package/dist/lib/_virtual/app-paths.mjs +0 -2
  224. package/dist/lib/_virtual/app-paths.mjs.map +0 -1
  225. package/dist/lib/_virtual/app-router-context.shared-runtime.mjs +0 -2
  226. package/dist/lib/_virtual/app-router-context.shared-runtime.mjs.map +0 -1
  227. package/dist/lib/_virtual/async-local-storage.mjs +0 -2
  228. package/dist/lib/_virtual/async-local-storage.mjs.map +0 -1
  229. package/dist/lib/_virtual/bailout-to-client-rendering.mjs +0 -2
  230. package/dist/lib/_virtual/bailout-to-client-rendering.mjs.map +0 -1
  231. package/dist/lib/_virtual/bailout-to-csr.mjs +0 -2
  232. package/dist/lib/_virtual/bailout-to-csr.mjs.map +0 -1
  233. package/dist/lib/_virtual/client-hook-in-server-component-error.mjs +0 -2
  234. package/dist/lib/_virtual/client-hook-in-server-component-error.mjs.map +0 -1
  235. package/dist/lib/_virtual/detect-domain-locale.mjs +0 -2
  236. package/dist/lib/_virtual/detect-domain-locale.mjs.map +0 -1
  237. package/dist/lib/_virtual/detect-domain-locale2.mjs +0 -2
  238. package/dist/lib/_virtual/detect-domain-locale2.mjs.map +0 -1
  239. package/dist/lib/_virtual/ensure-leading-slash.mjs +0 -2
  240. package/dist/lib/_virtual/ensure-leading-slash.mjs.map +0 -1
  241. package/dist/lib/_virtual/escape-regexp.mjs +0 -2
  242. package/dist/lib/_virtual/escape-regexp.mjs.map +0 -1
  243. package/dist/lib/_virtual/format-url.mjs +0 -2
  244. package/dist/lib/_virtual/format-url.mjs.map +0 -1
  245. package/dist/lib/_virtual/get-domain-locale.mjs +0 -2
  246. package/dist/lib/_virtual/get-domain-locale.mjs.map +0 -1
  247. package/dist/lib/_virtual/get-img-props.mjs +0 -2
  248. package/dist/lib/_virtual/get-img-props.mjs.map +0 -1
  249. package/dist/lib/_virtual/get-segment-value.mjs +0 -2
  250. package/dist/lib/_virtual/get-segment-value.mjs.map +0 -1
  251. package/dist/lib/_virtual/has-base-path.mjs +0 -2
  252. package/dist/lib/_virtual/has-base-path.mjs.map +0 -1
  253. package/dist/lib/_virtual/head-manager-context.shared-runtime.mjs +0 -2
  254. package/dist/lib/_virtual/head-manager-context.shared-runtime.mjs.map +0 -1
  255. package/dist/lib/_virtual/head.mjs +0 -2
  256. package/dist/lib/_virtual/head.mjs.map +0 -1
  257. package/dist/lib/_virtual/hooks-client-context.shared-runtime.mjs +0 -2
  258. package/dist/lib/_virtual/hooks-client-context.shared-runtime.mjs.map +0 -1
  259. package/dist/lib/_virtual/image-blur-svg.mjs +0 -2
  260. package/dist/lib/_virtual/image-blur-svg.mjs.map +0 -1
  261. package/dist/lib/_virtual/image-component.mjs +0 -2
  262. package/dist/lib/_virtual/image-component.mjs.map +0 -1
  263. package/dist/lib/_virtual/image-config-context.shared-runtime.mjs +0 -2
  264. package/dist/lib/_virtual/image-config-context.shared-runtime.mjs.map +0 -1
  265. package/dist/lib/_virtual/image-config.mjs +0 -2
  266. package/dist/lib/_virtual/image-config.mjs.map +0 -1
  267. package/dist/lib/_virtual/image-external.mjs +0 -2
  268. package/dist/lib/_virtual/image-external.mjs.map +0 -1
  269. package/dist/lib/_virtual/image-loader.mjs +0 -2
  270. package/dist/lib/_virtual/image-loader.mjs.map +0 -1
  271. package/dist/lib/_virtual/image.mjs +0 -2
  272. package/dist/lib/_virtual/image.mjs.map +0 -1
  273. package/dist/lib/_virtual/index4.mjs +0 -2
  274. package/dist/lib/_virtual/index4.mjs.map +0 -1
  275. package/dist/lib/_virtual/index5.mjs +0 -2
  276. package/dist/lib/_virtual/index5.mjs.map +0 -1
  277. package/dist/lib/_virtual/index6.mjs +0 -2
  278. package/dist/lib/_virtual/index6.mjs.map +0 -1
  279. package/dist/lib/_virtual/index7.mjs +0 -2
  280. package/dist/lib/_virtual/index7.mjs.map +0 -1
  281. package/dist/lib/_virtual/index8.mjs +0 -2
  282. package/dist/lib/_virtual/index8.mjs.map +0 -1
  283. package/dist/lib/_virtual/index9.mjs +0 -2
  284. package/dist/lib/_virtual/index9.mjs.map +0 -1
  285. package/dist/lib/_virtual/interception-routes.mjs +0 -2
  286. package/dist/lib/_virtual/interception-routes.mjs.map +0 -1
  287. package/dist/lib/_virtual/interpolate-as.mjs +0 -2
  288. package/dist/lib/_virtual/interpolate-as.mjs.map +0 -1
  289. package/dist/lib/_virtual/is-dynamic.mjs +0 -2
  290. package/dist/lib/_virtual/is-dynamic.mjs.map +0 -1
  291. package/dist/lib/_virtual/is-local-url.mjs +0 -2
  292. package/dist/lib/_virtual/is-local-url.mjs.map +0 -1
  293. package/dist/lib/_virtual/link.mjs +0 -2
  294. package/dist/lib/_virtual/link.mjs.map +0 -1
  295. package/dist/lib/_virtual/link2.mjs +0 -2
  296. package/dist/lib/_virtual/link2.mjs.map +0 -1
  297. package/dist/lib/_virtual/match-remote-pattern.mjs +0 -2
  298. package/dist/lib/_virtual/match-remote-pattern.mjs.map +0 -1
  299. package/dist/lib/_virtual/navigation.mjs +0 -2
  300. package/dist/lib/_virtual/navigation.mjs.map +0 -1
  301. package/dist/lib/_virtual/navigation2.mjs +0 -2
  302. package/dist/lib/_virtual/navigation2.mjs.map +0 -1
  303. package/dist/lib/_virtual/normalize-locale-path.mjs +0 -2
  304. package/dist/lib/_virtual/normalize-locale-path.mjs.map +0 -1
  305. package/dist/lib/_virtual/normalize-locale-path2.mjs +0 -2
  306. package/dist/lib/_virtual/normalize-locale-path2.mjs.map +0 -1
  307. package/dist/lib/_virtual/normalize-trailing-slash.mjs +0 -2
  308. package/dist/lib/_virtual/normalize-trailing-slash.mjs.map +0 -1
  309. package/dist/lib/_virtual/not-found.mjs +0 -2
  310. package/dist/lib/_virtual/not-found.mjs.map +0 -1
  311. package/dist/lib/_virtual/omit.mjs +0 -2
  312. package/dist/lib/_virtual/omit.mjs.map +0 -1
  313. package/dist/lib/_virtual/parse-path.mjs +0 -2
  314. package/dist/lib/_virtual/parse-path.mjs.map +0 -1
  315. package/dist/lib/_virtual/path-has-prefix.mjs +0 -2
  316. package/dist/lib/_virtual/path-has-prefix.mjs.map +0 -1
  317. package/dist/lib/_virtual/querystring.mjs +0 -2
  318. package/dist/lib/_virtual/querystring.mjs.map +0 -1
  319. package/dist/lib/_virtual/redirect-status-code.mjs +0 -2
  320. package/dist/lib/_virtual/redirect-status-code.mjs.map +0 -1
  321. package/dist/lib/_virtual/redirect.mjs +0 -2
  322. package/dist/lib/_virtual/redirect.mjs.map +0 -1
  323. package/dist/lib/_virtual/remove-trailing-slash.mjs +0 -2
  324. package/dist/lib/_virtual/remove-trailing-slash.mjs.map +0 -1
  325. package/dist/lib/_virtual/request-async-storage.external.mjs +0 -2
  326. package/dist/lib/_virtual/request-async-storage.external.mjs.map +0 -1
  327. package/dist/lib/_virtual/request-idle-callback.mjs +0 -2
  328. package/dist/lib/_virtual/request-idle-callback.mjs.map +0 -1
  329. package/dist/lib/_virtual/resolve-href.mjs +0 -2
  330. package/dist/lib/_virtual/resolve-href.mjs.map +0 -1
  331. package/dist/lib/_virtual/route-matcher.mjs +0 -2
  332. package/dist/lib/_virtual/route-matcher.mjs.map +0 -1
  333. package/dist/lib/_virtual/route-regex.mjs +0 -2
  334. package/dist/lib/_virtual/route-regex.mjs.map +0 -1
  335. package/dist/lib/_virtual/router-context.shared-runtime.mjs +0 -2
  336. package/dist/lib/_virtual/router-context.shared-runtime.mjs.map +0 -1
  337. package/dist/lib/_virtual/router-reducer-types.mjs +0 -2
  338. package/dist/lib/_virtual/router-reducer-types.mjs.map +0 -1
  339. package/dist/lib/_virtual/segment.mjs +0 -2
  340. package/dist/lib/_virtual/segment.mjs.map +0 -1
  341. package/dist/lib/_virtual/server-inserted-html.shared-runtime.mjs +0 -2
  342. package/dist/lib/_virtual/server-inserted-html.shared-runtime.mjs.map +0 -1
  343. package/dist/lib/_virtual/side-effect.mjs +0 -2
  344. package/dist/lib/_virtual/side-effect.mjs.map +0 -1
  345. package/dist/lib/_virtual/sorted-routes.mjs +0 -2
  346. package/dist/lib/_virtual/sorted-routes.mjs.map +0 -1
  347. package/dist/lib/_virtual/static-generation-async-storage.external.mjs +0 -2
  348. package/dist/lib/_virtual/static-generation-async-storage.external.mjs.map +0 -1
  349. package/dist/lib/_virtual/toastui-editor-plugin-color-syntax.mjs +0 -2
  350. package/dist/lib/_virtual/toastui-editor-plugin-color-syntax.mjs.map +0 -1
  351. package/dist/lib/_virtual/toastui-editor-plugin-color-syntax2.mjs +0 -2
  352. package/dist/lib/_virtual/toastui-editor-plugin-color-syntax2.mjs.map +0 -1
  353. package/dist/lib/_virtual/toastui-editor-viewer.mjs +0 -2
  354. package/dist/lib/_virtual/toastui-editor-viewer.mjs.map +0 -1
  355. package/dist/lib/_virtual/toastui-editor-viewer2.mjs +0 -2
  356. package/dist/lib/_virtual/toastui-editor-viewer2.mjs.map +0 -1
  357. package/dist/lib/_virtual/tui-color-picker.mjs +0 -2
  358. package/dist/lib/_virtual/tui-color-picker.mjs.map +0 -1
  359. package/dist/lib/_virtual/use-intersection.mjs +0 -2
  360. package/dist/lib/_virtual/use-intersection.mjs.map +0 -1
  361. package/dist/lib/_virtual/utils.mjs +0 -2
  362. package/dist/lib/_virtual/utils.mjs.map +0 -1
  363. package/dist/lib/_virtual/warn-once.mjs +0 -2
  364. package/dist/lib/_virtual/warn-once.mjs.map +0 -1
  365. package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs +0 -2
  366. package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs.map +0 -1
  367. package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs +0 -2
  368. package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs.map +0 -1
  369. package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs +0 -2
  370. package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs.map +0 -1
  371. package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs +0 -2
  372. package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs.map +0 -1
  373. package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs +0 -2
  374. package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs.map +0 -1
  375. package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs +0 -2
  376. package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs.map +0 -1
  377. package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs +0 -3
  378. package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs.map +0 -1
  379. package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs +0 -2
  380. package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs.map +0 -1
  381. package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs +0 -2
  382. package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs.map +0 -1
  383. package/dist/lib/dist/lib/components/Timeline/index.mjs +0 -2
  384. package/dist/lib/dist/lib/components/Timeline/index.mjs.map +0 -1
  385. package/dist/lib/node_modules/@swc/helpers/cjs/_interop_require_default.mjs +0 -2
  386. package/dist/lib/node_modules/@swc/helpers/cjs/_interop_require_default.mjs.map +0 -1
  387. package/dist/lib/node_modules/@swc/helpers/cjs/_interop_require_wildcard.mjs +0 -2
  388. package/dist/lib/node_modules/@swc/helpers/cjs/_interop_require_wildcard.mjs.map +0 -1
  389. package/dist/lib/node_modules/@toast-ui/editor/dist/esm/index.mjs +0 -37
  390. package/dist/lib/node_modules/@toast-ui/editor/dist/esm/index.mjs.map +0 -1
  391. package/dist/lib/node_modules/@toast-ui/editor/dist/toastui-editor-viewer.mjs +0 -24
  392. package/dist/lib/node_modules/@toast-ui/editor/dist/toastui-editor-viewer.mjs.map +0 -1
  393. package/dist/lib/node_modules/@toast-ui/editor-plugin-color-syntax/dist/toastui-editor-plugin-color-syntax.mjs +0 -8
  394. package/dist/lib/node_modules/@toast-ui/editor-plugin-color-syntax/dist/toastui-editor-plugin-color-syntax.mjs.map +0 -1
  395. package/dist/lib/node_modules/@toast-ui/react-editor/dist/esm/index.mjs +0 -22
  396. package/dist/lib/node_modules/@toast-ui/react-editor/dist/esm/index.mjs.map +0 -1
  397. package/dist/lib/node_modules/next/dist/client/add-base-path.mjs +0 -2
  398. package/dist/lib/node_modules/next/dist/client/add-base-path.mjs.map +0 -1
  399. package/dist/lib/node_modules/next/dist/client/add-locale.mjs +0 -2
  400. package/dist/lib/node_modules/next/dist/client/add-locale.mjs.map +0 -1
  401. package/dist/lib/node_modules/next/dist/client/components/action-async-storage.external.mjs +0 -2
  402. package/dist/lib/node_modules/next/dist/client/components/action-async-storage.external.mjs.map +0 -1
  403. package/dist/lib/node_modules/next/dist/client/components/async-local-storage.mjs +0 -2
  404. package/dist/lib/node_modules/next/dist/client/components/async-local-storage.mjs.map +0 -1
  405. package/dist/lib/node_modules/next/dist/client/components/bailout-to-client-rendering.mjs +0 -2
  406. package/dist/lib/node_modules/next/dist/client/components/bailout-to-client-rendering.mjs.map +0 -1
  407. package/dist/lib/node_modules/next/dist/client/components/client-hook-in-server-component-error.mjs +0 -2
  408. package/dist/lib/node_modules/next/dist/client/components/client-hook-in-server-component-error.mjs.map +0 -1
  409. package/dist/lib/node_modules/next/dist/client/components/navigation.mjs +0 -2
  410. package/dist/lib/node_modules/next/dist/client/components/navigation.mjs.map +0 -1
  411. package/dist/lib/node_modules/next/dist/client/components/not-found.mjs +0 -2
  412. package/dist/lib/node_modules/next/dist/client/components/not-found.mjs.map +0 -1
  413. package/dist/lib/node_modules/next/dist/client/components/redirect-status-code.mjs +0 -2
  414. package/dist/lib/node_modules/next/dist/client/components/redirect-status-code.mjs.map +0 -1
  415. package/dist/lib/node_modules/next/dist/client/components/redirect.mjs +0 -2
  416. package/dist/lib/node_modules/next/dist/client/components/redirect.mjs.map +0 -1
  417. package/dist/lib/node_modules/next/dist/client/components/request-async-storage.external.mjs +0 -2
  418. package/dist/lib/node_modules/next/dist/client/components/request-async-storage.external.mjs.map +0 -1
  419. package/dist/lib/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.mjs +0 -2
  420. package/dist/lib/node_modules/next/dist/client/components/router-reducer/reducers/get-segment-value.mjs.map +0 -1
  421. package/dist/lib/node_modules/next/dist/client/components/router-reducer/router-reducer-types.mjs +0 -2
  422. package/dist/lib/node_modules/next/dist/client/components/router-reducer/router-reducer-types.mjs.map +0 -1
  423. package/dist/lib/node_modules/next/dist/client/components/static-generation-async-storage.external.mjs +0 -2
  424. package/dist/lib/node_modules/next/dist/client/components/static-generation-async-storage.external.mjs.map +0 -1
  425. package/dist/lib/node_modules/next/dist/client/detect-domain-locale.mjs +0 -2
  426. package/dist/lib/node_modules/next/dist/client/detect-domain-locale.mjs.map +0 -1
  427. package/dist/lib/node_modules/next/dist/client/get-domain-locale.mjs +0 -2
  428. package/dist/lib/node_modules/next/dist/client/get-domain-locale.mjs.map +0 -1
  429. package/dist/lib/node_modules/next/dist/client/has-base-path.mjs +0 -2
  430. package/dist/lib/node_modules/next/dist/client/has-base-path.mjs.map +0 -1
  431. package/dist/lib/node_modules/next/dist/client/image-component.mjs +0 -2
  432. package/dist/lib/node_modules/next/dist/client/image-component.mjs.map +0 -1
  433. package/dist/lib/node_modules/next/dist/client/link.mjs +0 -2
  434. package/dist/lib/node_modules/next/dist/client/link.mjs.map +0 -1
  435. package/dist/lib/node_modules/next/dist/client/normalize-locale-path.mjs +0 -2
  436. package/dist/lib/node_modules/next/dist/client/normalize-locale-path.mjs.map +0 -1
  437. package/dist/lib/node_modules/next/dist/client/normalize-trailing-slash.mjs +0 -2
  438. package/dist/lib/node_modules/next/dist/client/normalize-trailing-slash.mjs.map +0 -1
  439. package/dist/lib/node_modules/next/dist/client/request-idle-callback.mjs +0 -2
  440. package/dist/lib/node_modules/next/dist/client/request-idle-callback.mjs.map +0 -1
  441. package/dist/lib/node_modules/next/dist/client/resolve-href.mjs +0 -2
  442. package/dist/lib/node_modules/next/dist/client/resolve-href.mjs.map +0 -1
  443. package/dist/lib/node_modules/next/dist/client/use-intersection.mjs +0 -2
  444. package/dist/lib/node_modules/next/dist/client/use-intersection.mjs.map +0 -1
  445. package/dist/lib/node_modules/next/dist/compiled/micromatch/index.mjs +0 -23
  446. package/dist/lib/node_modules/next/dist/compiled/micromatch/index.mjs.map +0 -1
  447. package/dist/lib/node_modules/next/dist/server/future/helpers/interception-routes.mjs +0 -2
  448. package/dist/lib/node_modules/next/dist/server/future/helpers/interception-routes.mjs.map +0 -1
  449. package/dist/lib/node_modules/next/dist/shared/lib/amp-context.shared-runtime.mjs +0 -2
  450. package/dist/lib/node_modules/next/dist/shared/lib/amp-context.shared-runtime.mjs.map +0 -1
  451. package/dist/lib/node_modules/next/dist/shared/lib/amp-mode.mjs +0 -2
  452. package/dist/lib/node_modules/next/dist/shared/lib/amp-mode.mjs.map +0 -1
  453. package/dist/lib/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.mjs +0 -2
  454. package/dist/lib/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.mjs.map +0 -1
  455. package/dist/lib/node_modules/next/dist/shared/lib/escape-regexp.mjs +0 -2
  456. package/dist/lib/node_modules/next/dist/shared/lib/escape-regexp.mjs.map +0 -1
  457. package/dist/lib/node_modules/next/dist/shared/lib/get-img-props.mjs +0 -2
  458. package/dist/lib/node_modules/next/dist/shared/lib/get-img-props.mjs.map +0 -1
  459. package/dist/lib/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.mjs +0 -2
  460. package/dist/lib/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.mjs.map +0 -1
  461. package/dist/lib/node_modules/next/dist/shared/lib/head.mjs +0 -2
  462. package/dist/lib/node_modules/next/dist/shared/lib/head.mjs.map +0 -1
  463. package/dist/lib/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.mjs +0 -2
  464. package/dist/lib/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.mjs.map +0 -1
  465. package/dist/lib/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.mjs +0 -2
  466. package/dist/lib/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.mjs.map +0 -1
  467. package/dist/lib/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.mjs +0 -2
  468. package/dist/lib/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.mjs.map +0 -1
  469. package/dist/lib/node_modules/next/dist/shared/lib/image-blur-svg.mjs +0 -2
  470. package/dist/lib/node_modules/next/dist/shared/lib/image-blur-svg.mjs.map +0 -1
  471. package/dist/lib/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.mjs +0 -2
  472. package/dist/lib/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.mjs.map +0 -1
  473. package/dist/lib/node_modules/next/dist/shared/lib/image-config.mjs +0 -2
  474. package/dist/lib/node_modules/next/dist/shared/lib/image-config.mjs.map +0 -1
  475. package/dist/lib/node_modules/next/dist/shared/lib/image-external.mjs +0 -2
  476. package/dist/lib/node_modules/next/dist/shared/lib/image-external.mjs.map +0 -1
  477. package/dist/lib/node_modules/next/dist/shared/lib/image-loader.mjs +0 -2
  478. package/dist/lib/node_modules/next/dist/shared/lib/image-loader.mjs.map +0 -1
  479. package/dist/lib/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.mjs +0 -2
  480. package/dist/lib/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.mjs.map +0 -1
  481. package/dist/lib/node_modules/next/dist/shared/lib/match-remote-pattern.mjs +0 -2
  482. package/dist/lib/node_modules/next/dist/shared/lib/match-remote-pattern.mjs.map +0 -1
  483. package/dist/lib/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.mjs +0 -2
  484. package/dist/lib/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.mjs.map +0 -1
  485. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/add-locale.mjs +0 -2
  486. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/add-locale.mjs.map +0 -1
  487. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.mjs +0 -2
  488. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.mjs.map +0 -1
  489. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/app-paths.mjs +0 -2
  490. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/app-paths.mjs.map +0 -1
  491. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/format-url.mjs +0 -2
  492. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/format-url.mjs.map +0 -1
  493. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/index.mjs +0 -2
  494. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/index.mjs.map +0 -1
  495. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/interpolate-as.mjs +0 -2
  496. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/interpolate-as.mjs.map +0 -1
  497. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/is-dynamic.mjs +0 -2
  498. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/is-dynamic.mjs.map +0 -1
  499. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/is-local-url.mjs +0 -2
  500. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/is-local-url.mjs.map +0 -1
  501. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/omit.mjs +0 -2
  502. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/omit.mjs.map +0 -1
  503. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/parse-path.mjs +0 -2
  504. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/parse-path.mjs.map +0 -1
  505. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.mjs +0 -2
  506. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.mjs.map +0 -1
  507. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/querystring.mjs +0 -2
  508. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/querystring.mjs.map +0 -1
  509. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.mjs +0 -2
  510. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.mjs.map +0 -1
  511. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/route-matcher.mjs +0 -2
  512. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/route-matcher.mjs.map +0 -1
  513. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/route-regex.mjs +0 -2
  514. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/route-regex.mjs.map +0 -1
  515. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/sorted-routes.mjs +0 -2
  516. package/dist/lib/node_modules/next/dist/shared/lib/router/utils/sorted-routes.mjs.map +0 -1
  517. package/dist/lib/node_modules/next/dist/shared/lib/router-context.shared-runtime.mjs +0 -2
  518. package/dist/lib/node_modules/next/dist/shared/lib/router-context.shared-runtime.mjs.map +0 -1
  519. package/dist/lib/node_modules/next/dist/shared/lib/segment.mjs +0 -2
  520. package/dist/lib/node_modules/next/dist/shared/lib/segment.mjs.map +0 -1
  521. package/dist/lib/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.mjs +0 -2
  522. package/dist/lib/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.mjs.map +0 -1
  523. package/dist/lib/node_modules/next/dist/shared/lib/side-effect.mjs +0 -2
  524. package/dist/lib/node_modules/next/dist/shared/lib/side-effect.mjs.map +0 -1
  525. package/dist/lib/node_modules/next/dist/shared/lib/utils/warn-once.mjs +0 -2
  526. package/dist/lib/node_modules/next/dist/shared/lib/utils/warn-once.mjs.map +0 -1
  527. package/dist/lib/node_modules/next/dist/shared/lib/utils.mjs +0 -2
  528. package/dist/lib/node_modules/next/dist/shared/lib/utils.mjs.map +0 -1
  529. package/dist/lib/node_modules/next/image.mjs +0 -2
  530. package/dist/lib/node_modules/next/image.mjs.map +0 -1
  531. package/dist/lib/node_modules/next/link.mjs +0 -2
  532. package/dist/lib/node_modules/next/link.mjs.map +0 -1
  533. package/dist/lib/node_modules/next/navigation.mjs +0 -2
  534. package/dist/lib/node_modules/next/navigation.mjs.map +0 -1
  535. package/dist/lib/node_modules/orderedmap/dist/index.mjs +0 -2
  536. package/dist/lib/node_modules/orderedmap/dist/index.mjs.map +0 -1
  537. package/dist/lib/node_modules/orderedmap/dist/index2.mjs +0 -2
  538. package/dist/lib/node_modules/orderedmap/dist/index2.mjs.map +0 -1
  539. package/dist/lib/node_modules/prosemirror-commands/dist/index.mjs +0 -2
  540. package/dist/lib/node_modules/prosemirror-commands/dist/index.mjs.map +0 -1
  541. package/dist/lib/node_modules/prosemirror-history/dist/index.mjs +0 -2
  542. package/dist/lib/node_modules/prosemirror-history/dist/index.mjs.map +0 -1
  543. package/dist/lib/node_modules/prosemirror-inputrules/dist/index.mjs +0 -2
  544. package/dist/lib/node_modules/prosemirror-inputrules/dist/index.mjs.map +0 -1
  545. package/dist/lib/node_modules/prosemirror-inputrules/dist/index2.mjs +0 -2
  546. package/dist/lib/node_modules/prosemirror-inputrules/dist/index2.mjs.map +0 -1
  547. package/dist/lib/node_modules/prosemirror-keymap/dist/index.mjs +0 -2
  548. package/dist/lib/node_modules/prosemirror-keymap/dist/index.mjs.map +0 -1
  549. package/dist/lib/node_modules/prosemirror-keymap/dist/index2.mjs +0 -2
  550. package/dist/lib/node_modules/prosemirror-keymap/dist/index2.mjs.map +0 -1
  551. package/dist/lib/node_modules/prosemirror-model/dist/index.mjs +0 -2
  552. package/dist/lib/node_modules/prosemirror-model/dist/index.mjs.map +0 -1
  553. package/dist/lib/node_modules/prosemirror-model/dist/index2.mjs +0 -2
  554. package/dist/lib/node_modules/prosemirror-model/dist/index2.mjs.map +0 -1
  555. package/dist/lib/node_modules/prosemirror-state/dist/index.mjs +0 -2
  556. package/dist/lib/node_modules/prosemirror-state/dist/index.mjs.map +0 -1
  557. package/dist/lib/node_modules/prosemirror-state/dist/index2.mjs +0 -2
  558. package/dist/lib/node_modules/prosemirror-state/dist/index2.mjs.map +0 -1
  559. package/dist/lib/node_modules/prosemirror-transform/dist/index.mjs +0 -2
  560. package/dist/lib/node_modules/prosemirror-transform/dist/index.mjs.map +0 -1
  561. package/dist/lib/node_modules/prosemirror-transform/dist/index2.mjs +0 -2
  562. package/dist/lib/node_modules/prosemirror-transform/dist/index2.mjs.map +0 -1
  563. package/dist/lib/node_modules/prosemirror-view/dist/index.mjs +0 -2
  564. package/dist/lib/node_modules/prosemirror-view/dist/index.mjs.map +0 -1
  565. package/dist/lib/node_modules/prosemirror-view/dist/index2.mjs +0 -2
  566. package/dist/lib/node_modules/prosemirror-view/dist/index2.mjs.map +0 -1
  567. package/dist/lib/node_modules/rope-sequence/dist/index.mjs +0 -2
  568. package/dist/lib/node_modules/rope-sequence/dist/index.mjs.map +0 -1
  569. package/dist/lib/node_modules/tui-color-picker/dist/tui-color-picker.mjs +0 -10
  570. package/dist/lib/node_modules/tui-color-picker/dist/tui-color-picker.mjs.map +0 -1
  571. package/dist/lib/node_modules/w3c-keyname/index.mjs +0 -2
  572. package/dist/lib/node_modules/w3c-keyname/index.mjs.map +0 -1
  573. package/dist/lib/node_modules/w3c-keyname/index2.mjs +0 -2
  574. package/dist/lib/node_modules/w3c-keyname/index2.mjs.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"tui-color-picker.mjs","sources":["../../../../../node_modules/tui-color-picker/dist/tui-color-picker.js"],"sourcesContent":["/*!\n * TOAST UI Color Picker\n * @version 2.2.8\n * @author NHN Cloud FE Development Team <dl_javascript@nhn.com>\n * @license MIT\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"colorPicker\"] = factory();\n\telse\n\t\troot[\"tui\"] = root[\"tui\"] || {}, root[\"tui\"][\"colorPicker\"] = factory();\n})(window, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"dist\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 33);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Extend the target object from other objects.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * @module object\n */\n\n/**\n * Extend the target object from other objects.\n * @param {object} target - Object that will be extended\n * @param {...object} objects - Objects as sources\n * @returns {object} Extended object\n * @memberof module:object\n */\nfunction extend(target, objects) { // eslint-disable-line no-unused-vars\n var hasOwnProp = Object.prototype.hasOwnProperty;\n var source, prop, i, len;\n\n for (i = 1, len = arguments.length; i < len; i += 1) {\n source = arguments[i];\n for (prop in source) {\n if (hasOwnProp.call(source, prop)) {\n target[prop] = source[prop];\n }\n }\n }\n\n return target;\n}\n\nmodule.exports = extend;\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check whether the given variable is an instance of Array or not.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Check whether the given variable is an instance of Array or not.\n * If the given variable is an instance of Array, return true.\n * @param {*} obj - Target for checking\n * @returns {boolean} Is array instance?\n * @memberof module:type\n */\nfunction isArray(obj) {\n return obj instanceof Array;\n}\n\nmodule.exports = isArray;\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Execute the provided callback once for each property of object(or element of array) which actually exist.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar isArray = __webpack_require__(1);\nvar forEachArray = __webpack_require__(6);\nvar forEachOwnProperties = __webpack_require__(7);\n\n/**\n * @module collection\n */\n\n/**\n * Execute the provided callback once for each property of object(or element of array) which actually exist.\n * If the object is Array-like object(ex-arguments object), It needs to transform to Array.(see 'ex2' of example).\n * If the callback function returns false, the loop will be stopped.\n * Callback function(iteratee) is invoked with three arguments:\n * 1) The value of the property(or The value of the element)\n * 2) The name of the property(or The index of the element)\n * 3) The object being traversed\n * @param {Object} obj The object that will be traversed\n * @param {function} iteratee Callback function\n * @param {Object} [context] Context(this) of callback function\n * @memberof module:collection\n * @example\n * var forEach = require('tui-code-snippet/collection/forEach'); // node, commonjs\n *\n * var sum = 0;\n *\n * forEach([1,2,3], function(value){\n * sum += value;\n * });\n * alert(sum); // 6\n *\n * // In case of Array-like object\n * var array = Array.prototype.slice.call(arrayLike); // change to array\n * forEach(array, function(value){\n * sum += value;\n * });\n */\nfunction forEach(obj, iteratee, context) {\n if (isArray(obj)) {\n forEachArray(obj, iteratee, context);\n } else {\n forEachOwnProperties(obj, iteratee, context);\n }\n}\n\nmodule.exports = forEach;\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check whether the given variable is undefined or not.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Check whether the given variable is undefined or not.\n * If the given variable is undefined, returns true.\n * @param {*} obj - Target for checking\n * @returns {boolean} Is undefined?\n * @memberof module:type\n */\nfunction isUndefined(obj) {\n return obj === undefined; // eslint-disable-line no-undefined\n}\n\nmodule.exports = isUndefined;\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Utils for ColorPicker component\n */\n\n\nvar browser = __webpack_require__(22);\n\nvar forEach = __webpack_require__(2);\n\nvar forEachArray = __webpack_require__(6);\n\nvar forEachOwnProperties = __webpack_require__(7);\n\nvar sendHostname = __webpack_require__(37);\n\nvar currentId = 0;\n/**\n * Utils\n * @namespace util\n * @ignore\n */\n\nvar utils = {\n /**\n * Get the number of properties in the object.\n * @param {Object} obj - object\n * @returns {number}\n */\n getLength: function (obj) {\n var length = 0;\n forEachOwnProperties(obj, function () {\n length += 1;\n });\n return length;\n },\n\n /**\n * Constructs a new array by executing the provided callback function.\n * @param {Object|Array} obj - object or array to be traversed\n * @param {function} iteratee - callback function\n * @param {Object} context - context of callback function\n * @returns {Array}\n */\n map: function (obj, iteratee, context) {\n var result = [];\n forEach(obj, function () {\n result.push(iteratee.apply(context || null, arguments));\n });\n return result;\n },\n\n /**\n * Construct a new array with elements that pass the test by the provided callback function.\n * @param {Array|NodeList|Arguments} arr - array to be traversed\n * @param {function} iteratee - callback function\n * @param {Object} context - context of callback function\n * @returns {Array}\n */\n filter: function (arr, iteratee, context) {\n var result = [];\n forEachArray(arr, function (elem) {\n if (iteratee.apply(context || null, arguments)) {\n result.push(elem);\n }\n });\n return result;\n },\n\n /**\n * Create an unique id for a color-picker instance.\n * @returns {number}\n */\n generateId: function () {\n currentId += 1;\n return currentId;\n },\n\n /**\n * True when browser is below IE8.\n */\n isOldBrowser: function () {\n return browser.msie && browser.version < 9;\n }(),\n\n /**\n * send host name\n * @ignore\n */\n sendHostName: function () {\n sendHostname('color-picker', 'UA-129987462-1');\n }\n};\nmodule.exports = utils;\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* eslint-disable complexity */\n/**\n * @fileoverview Returns the first index at which a given element can be found in the array.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar isArray = __webpack_require__(1);\n\n/**\n * @module array\n */\n\n/**\n * Returns the first index at which a given element can be found in the array\n * from start index(default 0), or -1 if it is not present.\n * It compares searchElement to elements of the Array using strict equality\n * (the same method used by the ===, or triple-equals, operator).\n * @param {*} searchElement Element to locate in the array\n * @param {Array} array Array that will be traversed.\n * @param {number} startIndex Start index in array for searching (default 0)\n * @returns {number} the First index at which a given element, or -1 if it is not present\n * @memberof module:array\n * @example\n * var inArray = require('tui-code-snippet/array/inArray'); // node, commonjs\n *\n * var arr = ['one', 'two', 'three', 'four'];\n * var idx1 = inArray('one', arr, 3); // -1\n * var idx2 = inArray('one', arr); // 0\n */\nfunction inArray(searchElement, array, startIndex) {\n var i;\n var length;\n startIndex = startIndex || 0;\n\n if (!isArray(array)) {\n return -1;\n }\n\n if (Array.prototype.indexOf) {\n return Array.prototype.indexOf.call(array, searchElement, startIndex);\n }\n\n length = array.length;\n for (i = startIndex; startIndex >= 0 && i < length; i += 1) {\n if (array[i] === searchElement) {\n return i;\n }\n }\n\n return -1;\n}\n\nmodule.exports = inArray;\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Execute the provided callback once for each element present in the array(or Array-like object) in ascending order.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Execute the provided callback once for each element present\n * in the array(or Array-like object) in ascending order.\n * If the callback function returns false, the loop will be stopped.\n * Callback function(iteratee) is invoked with three arguments:\n * 1) The value of the element\n * 2) The index of the element\n * 3) The array(or Array-like object) being traversed\n * @param {Array|Arguments|NodeList} arr The array(or Array-like object) that will be traversed\n * @param {function} iteratee Callback function\n * @param {Object} [context] Context(this) of callback function\n * @memberof module:collection\n * @example\n * var forEachArray = require('tui-code-snippet/collection/forEachArray'); // node, commonjs\n *\n * var sum = 0;\n *\n * forEachArray([1,2,3], function(value){\n * sum += value;\n * });\n * alert(sum); // 6\n */\nfunction forEachArray(arr, iteratee, context) {\n var index = 0;\n var len = arr.length;\n\n context = context || null;\n\n for (; index < len; index += 1) {\n if (iteratee.call(context, arr[index], index, arr) === false) {\n break;\n }\n }\n}\n\nmodule.exports = forEachArray;\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Execute the provided callback once for each property of object which actually exist.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Execute the provided callback once for each property of object which actually exist.\n * If the callback function returns false, the loop will be stopped.\n * Callback function(iteratee) is invoked with three arguments:\n * 1) The value of the property\n * 2) The name of the property\n * 3) The object being traversed\n * @param {Object} obj The object that will be traversed\n * @param {function} iteratee Callback function\n * @param {Object} [context] Context(this) of callback function\n * @memberof module:collection\n * @example\n * var forEachOwnProperties = require('tui-code-snippet/collection/forEachOwnProperties'); // node, commonjs\n *\n * var sum = 0;\n *\n * forEachOwnProperties({a:1,b:2,c:3}, function(value){\n * sum += value;\n * });\n * alert(sum); // 6\n */\nfunction forEachOwnProperties(obj, iteratee, context) {\n var key;\n\n context = context || null;\n\n for (key in obj) {\n if (obj.hasOwnProperty(key)) {\n if (iteratee.call(context, obj[key], key, obj) === false) {\n break;\n }\n }\n }\n}\n\nmodule.exports = forEachOwnProperties;\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview The base class of views.\n */\n\n\nvar addClass = __webpack_require__(39);\n\nvar isFunction = __webpack_require__(13);\n\nvar isNumber = __webpack_require__(41);\n\nvar isUndefined = __webpack_require__(3);\n\nvar domUtil = __webpack_require__(9);\n\nvar Collection = __webpack_require__(19);\n\nvar util = __webpack_require__(4);\n/**\n * Base class of views.\n *\n * All views create own container element inside supplied container element.\n * @constructor\n * @param {options} options The object for describe view's specs.\n * @param {HTMLElement} container Default container element for view. you can use this element for this.container syntax.\n * @ignore\n */\n\n\nfunction View(options, container) {\n var id = util.generateId();\n options = options || {};\n\n if (isUndefined(container)) {\n container = domUtil.appendHTMLElement('div');\n }\n\n addClass(container, 'tui-view-' + id);\n /**\n * unique id\n * @type {number}\n */\n\n this.id = id;\n /**\n * base element of view.\n * @type {HTMLDIVElement}\n */\n\n this.container = container;\n /**\n * child views.\n * @type {Collection}\n */\n\n this.childs = new Collection(function (view) {\n return view.id;\n });\n /**\n * parent view instance.\n * @type {View}\n */\n\n this.parent = null;\n}\n/**\n * Add child views.\n * @param {View} view The view instance to add.\n * @param {function} [fn] Function for invoke before add. parent view class is supplied first arguments.\n */\n\n\nView.prototype.addChild = function (view, fn) {\n if (fn) {\n fn.call(view, this);\n } // add parent view\n\n\n view.parent = this;\n this.childs.add(view);\n};\n/**\n * Remove added child view.\n * @param {(number|View)} id View id or instance itself to remove.\n * @param {function} [fn] Function for invoke before remove. parent view class is supplied first arguments.\n */\n\n\nView.prototype.removeChild = function (id, fn) {\n var view = isNumber(id) ? this.childs.items[id] : id;\n\n if (fn) {\n fn.call(view, this);\n }\n\n this.childs.remove(view.id);\n};\n/**\n * Render view recursively.\n */\n\n\nView.prototype.render = function () {\n this.childs.each(function (childView) {\n childView.render();\n });\n};\n/**\n * Invoke function recursively.\n * @param {function} fn - function to invoke child view recursively\n * @param {boolean} [skipThis=false] - set true then skip invoke with this(root) view.\n */\n\n\nView.prototype.recursive = function (fn, skipThis) {\n if (!isFunction(fn)) {\n return;\n }\n\n if (!skipThis) {\n fn(this);\n }\n\n this.childs.each(function (childView) {\n childView.recursive(fn);\n });\n};\n/**\n * Resize view recursively to parent.\n */\n\n\nView.prototype.resize = function () {\n var args = Array.prototype.slice.call(arguments);\n var parent = this.parent;\n\n while (parent) {\n if (isFunction(parent._onResize)) {\n parent._onResize.apply(parent, args);\n }\n\n parent = parent.parent;\n }\n};\n/**\n * Invoking method before destroying.\n */\n\n\nView.prototype._beforeDestroy = function () {};\n/**\n * Clear properties\n */\n\n\nView.prototype._destroy = function () {\n this._beforeDestroy();\n\n this.container.innerHTML = '';\n this.id = this.parent = this.childs = this.container = null;\n};\n/**\n * Destroy child view recursively.\n * @param {boolean} isChildView - Whether it is the child view or not\n */\n\n\nView.prototype.destroy = function (isChildView) {\n if (this.childs) {\n this.childs.each(function (childView) {\n childView.destroy(true);\n\n childView._destroy();\n });\n this.childs.clear();\n }\n\n if (isChildView) {\n return;\n }\n\n this._destroy();\n};\n/**\n * Calculate view's container element bound.\n * @returns {object} The bound of container element.\n */\n\n\nView.prototype.getViewBound = function () {\n var bound = this.container.getBoundingClientRect();\n return {\n x: bound.left,\n y: bound.top,\n width: bound.right - bound.left,\n height: bound.bottom - bound.top\n };\n};\n\nmodule.exports = View;\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Utility modules for manipulate DOM elements.\n */\n\n\nvar domUtil = {\n /**\n * Create DOM element and return it.\n * @param {string} tagName Tag name to append.\n * @param {HTMLElement} [container] HTML element will be parent to created element.\n * if not supplied, will use **document.body**\n * @param {string} [className] Design class names to appling created element.\n * @returns {HTMLElement} HTML element created.\n */\n appendHTMLElement: function (tagName, container, className) {\n var el = document.createElement(tagName);\n el.className = className || '';\n\n if (container) {\n container.appendChild(el);\n } else {\n document.body.appendChild(el);\n }\n\n return el;\n }\n};\nmodule.exports = domUtil;\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview This module provides some functions for custom events. And it is implemented in the observer design pattern.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar extend = __webpack_require__(0);\nvar isExisty = __webpack_require__(20);\nvar isString = __webpack_require__(11);\nvar isObject = __webpack_require__(21);\nvar isArray = __webpack_require__(1);\nvar isFunction = __webpack_require__(13);\nvar forEach = __webpack_require__(2);\n\nvar R_EVENTNAME_SPLIT = /\\s+/g;\n\n/**\n * @class\n * @example\n * // node, commonjs\n * var CustomEvents = require('tui-code-snippet/customEvents/customEvents');\n */\nfunction CustomEvents() {\n /**\n * @type {HandlerItem[]}\n */\n this.events = null;\n\n /**\n * only for checking specific context event was binded\n * @type {object[]}\n */\n this.contexts = null;\n}\n\n/**\n * Mixin custom events feature to specific constructor\n * @param {function} func - constructor\n * @example\n * var CustomEvents = require('tui-code-snippet/customEvents/customEvents'); // node, commonjs\n *\n * var model;\n * function Model() {\n * this.name = '';\n * }\n * CustomEvents.mixin(Model);\n *\n * model = new Model();\n * model.on('change', function() { this.name = 'model'; }, this);\n * model.fire('change');\n * alert(model.name); // 'model';\n */\nCustomEvents.mixin = function(func) {\n extend(func.prototype, CustomEvents.prototype);\n};\n\n/**\n * Get HandlerItem object\n * @param {function} handler - handler function\n * @param {object} [context] - context for handler\n * @returns {HandlerItem} HandlerItem object\n * @private\n */\nCustomEvents.prototype._getHandlerItem = function(handler, context) {\n var item = {handler: handler};\n\n if (context) {\n item.context = context;\n }\n\n return item;\n};\n\n/**\n * Get event object safely\n * @param {string} [eventName] - create sub event map if not exist.\n * @returns {(object|array)} event object. if you supplied `eventName`\n * parameter then make new array and return it\n * @private\n */\nCustomEvents.prototype._safeEvent = function(eventName) {\n var events = this.events;\n var byName;\n\n if (!events) {\n events = this.events = {};\n }\n\n if (eventName) {\n byName = events[eventName];\n\n if (!byName) {\n byName = [];\n events[eventName] = byName;\n }\n\n events = byName;\n }\n\n return events;\n};\n\n/**\n * Get context array safely\n * @returns {array} context array\n * @private\n */\nCustomEvents.prototype._safeContext = function() {\n var context = this.contexts;\n\n if (!context) {\n context = this.contexts = [];\n }\n\n return context;\n};\n\n/**\n * Get index of context\n * @param {object} ctx - context that used for bind custom event\n * @returns {number} index of context\n * @private\n */\nCustomEvents.prototype._indexOfContext = function(ctx) {\n var context = this._safeContext();\n var index = 0;\n\n while (context[index]) {\n if (ctx === context[index][0]) {\n return index;\n }\n\n index += 1;\n }\n\n return -1;\n};\n\n/**\n * Memorize supplied context for recognize supplied object is context or\n * name: handler pair object when off()\n * @param {object} ctx - context object to memorize\n * @private\n */\nCustomEvents.prototype._memorizeContext = function(ctx) {\n var context, index;\n\n if (!isExisty(ctx)) {\n return;\n }\n\n context = this._safeContext();\n index = this._indexOfContext(ctx);\n\n if (index > -1) {\n context[index][1] += 1;\n } else {\n context.push([ctx, 1]);\n }\n};\n\n/**\n * Forget supplied context object\n * @param {object} ctx - context object to forget\n * @private\n */\nCustomEvents.prototype._forgetContext = function(ctx) {\n var context, contextIndex;\n\n if (!isExisty(ctx)) {\n return;\n }\n\n context = this._safeContext();\n contextIndex = this._indexOfContext(ctx);\n\n if (contextIndex > -1) {\n context[contextIndex][1] -= 1;\n\n if (context[contextIndex][1] <= 0) {\n context.splice(contextIndex, 1);\n }\n }\n};\n\n/**\n * Bind event handler\n * @param {(string|{name:string, handler:function})} eventName - custom\n * event name or an object {eventName: handler}\n * @param {(function|object)} [handler] - handler function or context\n * @param {object} [context] - context for binding\n * @private\n */\nCustomEvents.prototype._bindEvent = function(eventName, handler, context) {\n var events = this._safeEvent(eventName);\n this._memorizeContext(context);\n events.push(this._getHandlerItem(handler, context));\n};\n\n/**\n * Bind event handlers\n * @param {(string|{name:string, handler:function})} eventName - custom\n * event name or an object {eventName: handler}\n * @param {(function|object)} [handler] - handler function or context\n * @param {object} [context] - context for binding\n * //-- #1. Get Module --//\n * var CustomEvents = require('tui-code-snippet/customEvents/customEvents'); // node, commonjs\n *\n * //-- #2. Use method --//\n * // # 2.1 Basic Usage\n * CustomEvents.on('onload', handler);\n *\n * // # 2.2 With context\n * CustomEvents.on('onload', handler, myObj);\n *\n * // # 2.3 Bind by object that name, handler pairs\n * CustomEvents.on({\n * 'play': handler,\n * 'pause': handler2\n * });\n *\n * // # 2.4 Bind by object that name, handler pairs with context object\n * CustomEvents.on({\n * 'play': handler\n * }, myObj);\n */\nCustomEvents.prototype.on = function(eventName, handler, context) {\n var self = this;\n\n if (isString(eventName)) {\n // [syntax 1, 2]\n eventName = eventName.split(R_EVENTNAME_SPLIT);\n forEach(eventName, function(name) {\n self._bindEvent(name, handler, context);\n });\n } else if (isObject(eventName)) {\n // [syntax 3, 4]\n context = handler;\n forEach(eventName, function(func, name) {\n self.on(name, func, context);\n });\n }\n};\n\n/**\n * Bind one-shot event handlers\n * @param {(string|{name:string,handler:function})} eventName - custom\n * event name or an object {eventName: handler}\n * @param {function|object} [handler] - handler function or context\n * @param {object} [context] - context for binding\n */\nCustomEvents.prototype.once = function(eventName, handler, context) {\n var self = this;\n\n if (isObject(eventName)) {\n context = handler;\n forEach(eventName, function(func, name) {\n self.once(name, func, context);\n });\n\n return;\n }\n\n function onceHandler() { // eslint-disable-line require-jsdoc\n handler.apply(context, arguments);\n self.off(eventName, onceHandler, context);\n }\n\n this.on(eventName, onceHandler, context);\n};\n\n/**\n * Splice supplied array by callback result\n * @param {array} arr - array to splice\n * @param {function} predicate - function return boolean\n * @private\n */\nCustomEvents.prototype._spliceMatches = function(arr, predicate) {\n var i = 0;\n var len;\n\n if (!isArray(arr)) {\n return;\n }\n\n for (len = arr.length; i < len; i += 1) {\n if (predicate(arr[i]) === true) {\n arr.splice(i, 1);\n len -= 1;\n i -= 1;\n }\n }\n};\n\n/**\n * Get matcher for unbind specific handler events\n * @param {function} handler - handler function\n * @returns {function} handler matcher\n * @private\n */\nCustomEvents.prototype._matchHandler = function(handler) {\n var self = this;\n\n return function(item) {\n var needRemove = handler === item.handler;\n\n if (needRemove) {\n self._forgetContext(item.context);\n }\n\n return needRemove;\n };\n};\n\n/**\n * Get matcher for unbind specific context events\n * @param {object} context - context\n * @returns {function} object matcher\n * @private\n */\nCustomEvents.prototype._matchContext = function(context) {\n var self = this;\n\n return function(item) {\n var needRemove = context === item.context;\n\n if (needRemove) {\n self._forgetContext(item.context);\n }\n\n return needRemove;\n };\n};\n\n/**\n * Get matcher for unbind specific hander, context pair events\n * @param {function} handler - handler function\n * @param {object} context - context\n * @returns {function} handler, context matcher\n * @private\n */\nCustomEvents.prototype._matchHandlerAndContext = function(handler, context) {\n var self = this;\n\n return function(item) {\n var matchHandler = (handler === item.handler);\n var matchContext = (context === item.context);\n var needRemove = (matchHandler && matchContext);\n\n if (needRemove) {\n self._forgetContext(item.context);\n }\n\n return needRemove;\n };\n};\n\n/**\n * Unbind event by event name\n * @param {string} eventName - custom event name to unbind\n * @param {function} [handler] - handler function\n * @private\n */\nCustomEvents.prototype._offByEventName = function(eventName, handler) {\n var self = this;\n var andByHandler = isFunction(handler);\n var matchHandler = self._matchHandler(handler);\n\n eventName = eventName.split(R_EVENTNAME_SPLIT);\n\n forEach(eventName, function(name) {\n var handlerItems = self._safeEvent(name);\n\n if (andByHandler) {\n self._spliceMatches(handlerItems, matchHandler);\n } else {\n forEach(handlerItems, function(item) {\n self._forgetContext(item.context);\n });\n\n self.events[name] = [];\n }\n });\n};\n\n/**\n * Unbind event by handler function\n * @param {function} handler - handler function\n * @private\n */\nCustomEvents.prototype._offByHandler = function(handler) {\n var self = this;\n var matchHandler = this._matchHandler(handler);\n\n forEach(this._safeEvent(), function(handlerItems) {\n self._spliceMatches(handlerItems, matchHandler);\n });\n};\n\n/**\n * Unbind event by object(name: handler pair object or context object)\n * @param {object} obj - context or {name: handler} pair object\n * @param {function} handler - handler function\n * @private\n */\nCustomEvents.prototype._offByObject = function(obj, handler) {\n var self = this;\n var matchFunc;\n\n if (this._indexOfContext(obj) < 0) {\n forEach(obj, function(func, name) {\n self.off(name, func);\n });\n } else if (isString(handler)) {\n matchFunc = this._matchContext(obj);\n\n self._spliceMatches(this._safeEvent(handler), matchFunc);\n } else if (isFunction(handler)) {\n matchFunc = this._matchHandlerAndContext(handler, obj);\n\n forEach(this._safeEvent(), function(handlerItems) {\n self._spliceMatches(handlerItems, matchFunc);\n });\n } else {\n matchFunc = this._matchContext(obj);\n\n forEach(this._safeEvent(), function(handlerItems) {\n self._spliceMatches(handlerItems, matchFunc);\n });\n }\n};\n\n/**\n * Unbind custom events\n * @param {(string|object|function)} eventName - event name or context or\n * {name: handler} pair object or handler function\n * @param {(function)} handler - handler function\n * @example\n * //-- #1. Get Module --//\n * var CustomEvents = require('tui-code-snippet/customEvents/customEvents'); // node, commonjs\n *\n * //-- #2. Use method --//\n * // # 2.1 off by event name\n * CustomEvents.off('onload');\n *\n * // # 2.2 off by event name and handler\n * CustomEvents.off('play', handler);\n *\n * // # 2.3 off by handler\n * CustomEvents.off(handler);\n *\n * // # 2.4 off by context\n * CustomEvents.off(myObj);\n *\n * // # 2.5 off by context and handler\n * CustomEvents.off(myObj, handler);\n *\n * // # 2.6 off by context and event name\n * CustomEvents.off(myObj, 'onload');\n *\n * // # 2.7 off by an Object.<string, function> that is {eventName: handler}\n * CustomEvents.off({\n * 'play': handler,\n * 'pause': handler2\n * });\n *\n * // # 2.8 off the all events\n * CustomEvents.off();\n */\nCustomEvents.prototype.off = function(eventName, handler) {\n if (isString(eventName)) {\n // [syntax 1, 2]\n this._offByEventName(eventName, handler);\n } else if (!arguments.length) {\n // [syntax 8]\n this.events = {};\n this.contexts = [];\n } else if (isFunction(eventName)) {\n // [syntax 3]\n this._offByHandler(eventName);\n } else if (isObject(eventName)) {\n // [syntax 4, 5, 6]\n this._offByObject(eventName, handler);\n }\n};\n\n/**\n * Fire custom event\n * @param {string} eventName - name of custom event\n */\nCustomEvents.prototype.fire = function(eventName) { // eslint-disable-line\n this.invoke.apply(this, arguments);\n};\n\n/**\n * Fire a event and returns the result of operation 'boolean AND' with all\n * listener's results.\n *\n * So, It is different from {@link CustomEvents#fire}.\n *\n * In service code, use this as a before event in component level usually\n * for notifying that the event is cancelable.\n * @param {string} eventName - Custom event name\n * @param {...*} data - Data for event\n * @returns {boolean} The result of operation 'boolean AND'\n * @example\n * var map = new Map();\n * map.on({\n * 'beforeZoom': function() {\n * // It should cancel the 'zoom' event by some conditions.\n * if (that.disabled && this.getState()) {\n * return false;\n * }\n * return true;\n * }\n * });\n *\n * if (this.invoke('beforeZoom')) { // check the result of 'beforeZoom'\n * // if true,\n * // doSomething\n * }\n */\nCustomEvents.prototype.invoke = function(eventName) {\n var events, args, index, item;\n\n if (!this.hasListener(eventName)) {\n return true;\n }\n\n events = this._safeEvent(eventName);\n args = Array.prototype.slice.call(arguments, 1);\n index = 0;\n\n while (events[index]) {\n item = events[index];\n\n if (item.handler.apply(item.context, args) === false) {\n return false;\n }\n\n index += 1;\n }\n\n return true;\n};\n\n/**\n * Return whether at least one of the handlers is registered in the given\n * event name.\n * @param {string} eventName - Custom event name\n * @returns {boolean} Is there at least one handler in event name?\n */\nCustomEvents.prototype.hasListener = function(eventName) {\n return this.getListenerLength(eventName) > 0;\n};\n\n/**\n * Return a count of events registered.\n * @param {string} eventName - Custom event name\n * @returns {number} number of event\n */\nCustomEvents.prototype.getListenerLength = function(eventName) {\n var events = this._safeEvent(eventName);\n\n return events.length;\n};\n\nmodule.exports = CustomEvents;\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check whether the given variable is a string or not.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Check whether the given variable is a string or not.\n * If the given variable is a string, return true.\n * @param {*} obj - Target for checking\n * @returns {boolean} Is string?\n * @memberof module:type\n */\nfunction isString(obj) {\n return typeof obj === 'string' || obj instanceof String;\n}\n\nmodule.exports = isString;\n\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Utility methods to manipulate colors\n */\n\n\nvar hexRX = /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i;\nvar colorUtil = {\n /**\n * pad left zero characters.\n * @param {number} number number value to pad zero.\n * @param {number} length pad length to want.\n * @returns {string} padded string.\n */\n leadingZero: function (number, length) {\n var zero = '';\n var i = 0;\n\n if ((number + '').length > length) {\n return number + '';\n }\n\n for (; i < length - 1; i += 1) {\n zero += '0';\n }\n\n return (zero + number).slice(length * -1);\n },\n\n /**\n * Check validate of hex string value is RGB\n * @param {string} str - rgb hex string\n * @returns {boolean} return true when supplied str is valid RGB hex string\n */\n isValidRGB: function (str) {\n return hexRX.test(str);\n },\n // @license RGB <-> HSV conversion utilities based off of http://www.cs.rit.edu/~ncs/color/t_convert.html\n\n /**\n * Convert color hex string to rgb number array\n * @param {string} hexStr - hex string\n * @returns {number[]} rgb numbers\n */\n hexToRGB: function (hexStr) {\n var r, g, b;\n\n if (!colorUtil.isValidRGB(hexStr)) {\n return false;\n }\n\n hexStr = hexStr.substring(1);\n r = parseInt(hexStr.substr(0, 2), 16);\n g = parseInt(hexStr.substr(2, 2), 16);\n b = parseInt(hexStr.substr(4, 2), 16);\n return [r, g, b];\n },\n\n /**\n * Convert rgb number to hex string\n * @param {number} r - red\n * @param {number} g - green\n * @param {number} b - blue\n * @returns {string|boolean} return false when supplied rgb number is not valid. otherwise, converted hex string\n */\n rgbToHEX: function (r, g, b) {\n var hexStr = '#' + colorUtil.leadingZero(r.toString(16), 2) + colorUtil.leadingZero(g.toString(16), 2) + colorUtil.leadingZero(b.toString(16), 2);\n\n if (colorUtil.isValidRGB(hexStr)) {\n return hexStr;\n }\n\n return false;\n },\n\n /**\n * Convert rgb number to HSV value\n * @param {number} r - red\n * @param {number} g - green\n * @param {number} b - blue\n * @returns {number[]} hsv value\n */\n rgbToHSV: function (r, g, b) {\n var max, min, h, s, v, d;\n r /= 255;\n g /= 255;\n b /= 255;\n max = Math.max(r, g, b);\n min = Math.min(r, g, b);\n v = max;\n d = max - min;\n s = max === 0 ? 0 : d / max;\n\n if (max === min) {\n h = 0;\n } else {\n switch (max) {\n case r:\n h = (g - b) / d + (g < b ? 6 : 0);\n break;\n\n case g:\n h = (b - r) / d + 2;\n break;\n\n case b:\n h = (r - g) / d + 4;\n break;\n // no default\n }\n\n h /= 6;\n }\n\n return [Math.round(h * 360), Math.round(s * 100), Math.round(v * 100)];\n },\n\n /**\n * Convert HSV number to RGB\n * @param {number} h - hue\n * @param {number} s - saturation\n * @param {number} v - value\n * @returns {number[]} rgb value\n */\n hsvToRGB: function (h, s, v) {\n var r, g, b;\n var i;\n var f, p, q, t;\n h = Math.max(0, Math.min(360, h));\n s = Math.max(0, Math.min(100, s));\n v = Math.max(0, Math.min(100, v));\n s /= 100;\n v /= 100;\n\n if (s === 0) {\n // Achromatic (grey)\n r = g = b = v;\n return [Math.round(r * 255), Math.round(g * 255), Math.round(b * 255)];\n }\n\n h /= 60; // sector 0 to 5\n\n i = Math.floor(h);\n f = h - i; // factorial part of h\n\n p = v * (1 - s);\n q = v * (1 - s * f);\n t = v * (1 - s * (1 - f));\n\n switch (i) {\n case 0:\n r = v;\n g = t;\n b = p;\n break;\n\n case 1:\n r = q;\n g = v;\n b = p;\n break;\n\n case 2:\n r = p;\n g = v;\n b = t;\n break;\n\n case 3:\n r = p;\n g = q;\n b = v;\n break;\n\n case 4:\n r = t;\n g = p;\n b = v;\n break;\n\n default:\n r = v;\n g = p;\n b = q;\n break;\n }\n\n return [Math.round(r * 255), Math.round(g * 255), Math.round(b * 255)];\n }\n};\nmodule.exports = colorUtil;\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check whether the given variable is a function or not.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Check whether the given variable is a function or not.\n * If the given variable is a function, return true.\n * @param {*} obj - Target for checking\n * @returns {boolean} Is function?\n * @memberof module:type\n */\nfunction isFunction(obj) {\n return obj instanceof Function;\n}\n\nmodule.exports = isFunction;\n\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Bind DOM events\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar isString = __webpack_require__(11);\nvar forEach = __webpack_require__(2);\n\nvar safeEvent = __webpack_require__(26);\n\n/**\n * Bind DOM events.\n * @param {HTMLElement} element - element to bind events\n * @param {(string|object)} types - Space splitted events names or eventName:handler object\n * @param {(function|object)} handler - handler function or context for handler method\n * @param {object} [context] context - context for handler method.\n * @memberof module:domEvent\n * @example\n * var div = document.querySelector('div');\n * \n * // Bind one event to an element.\n * on(div, 'click', toggle);\n * \n * // Bind multiple events with a same handler to multiple elements at once.\n * // Use event names splitted by a space.\n * on(div, 'mouseenter mouseleave', changeColor);\n * \n * // Bind multiple events with different handlers to an element at once.\n * // Use an object which of key is an event name and value is a handler function.\n * on(div, {\n * keydown: highlight,\n * keyup: dehighlight\n * });\n * \n * // Set a context for handler method.\n * var name = 'global';\n * var repository = {name: 'CodeSnippet'};\n * on(div, 'drag', function() {\n * console.log(this.name);\n * }, repository);\n * // Result when you drag a div: \"CodeSnippet\"\n */\nfunction on(element, types, handler, context) {\n if (isString(types)) {\n forEach(types.split(/\\s+/g), function(type) {\n bindEvent(element, type, handler, context);\n });\n\n return;\n }\n\n forEach(types, function(func, type) {\n bindEvent(element, type, func, handler);\n });\n}\n\n/**\n * Bind DOM events\n * @param {HTMLElement} element - element to bind events\n * @param {string} type - events name\n * @param {function} handler - handler function or context for handler method\n * @param {object} [context] context - context for handler method.\n * @private\n */\nfunction bindEvent(element, type, handler, context) {\n /**\n * Event handler\n * @param {Event} e - event object\n */\n function eventHandler(e) {\n handler.call(context || element, e || window.event);\n }\n\n if ('addEventListener' in element) {\n element.addEventListener(type, eventHandler);\n } else if ('attachEvent' in element) {\n element.attachEvent('on' + type, eventHandler);\n }\n memorizeHandler(element, type, handler, eventHandler);\n}\n\n/**\n * Memorize DOM event handler for unbinding.\n * @param {HTMLElement} element - element to bind events\n * @param {string} type - events name\n * @param {function} handler - handler function that user passed at on() use\n * @param {function} wrappedHandler - handler function that wrapped by domevent for implementing some features\n * @private\n */\nfunction memorizeHandler(element, type, handler, wrappedHandler) {\n var events = safeEvent(element, type);\n var existInEvents = false;\n\n forEach(events, function(obj) {\n if (obj.handler === handler) {\n existInEvents = true;\n\n return false;\n }\n\n return true;\n });\n\n if (!existInEvents) {\n events.push({\n handler: handler,\n wrappedHandler: wrappedHandler\n });\n }\n}\n\nmodule.exports = on;\n\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Prevent default action\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Prevent default action\n * @param {Event} e - event object\n * @memberof module:domEvent\n */\nfunction preventDefault(e) {\n if (e.preventDefault) {\n e.preventDefault();\n\n return;\n }\n\n e.returnValue = false;\n}\n\nmodule.exports = preventDefault;\n\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Convert kebab-case\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Convert kebab-case\n * @param {string} key - string to be converted to Kebab-case\n * @private\n */\nfunction convertToKebabCase(key) {\n return key.replace(/([A-Z])/g, function(match) {\n return '-' + match.toLowerCase();\n });\n}\n\nmodule.exports = convertToKebabCase;\n\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Unbind DOM events\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar isString = __webpack_require__(11);\nvar forEach = __webpack_require__(2);\n\nvar safeEvent = __webpack_require__(26);\n\n/**\n * Unbind DOM events\n * If a handler function is not passed, remove all events of that type.\n * @param {HTMLElement} element - element to unbind events\n * @param {(string|object)} types - Space splitted events names or eventName:handler object\n * @param {function} [handler] - handler function\n * @memberof module:domEvent\n * @example\n * // Following the example of domEvent#on\n * \n * // Unbind one event from an element.\n * off(div, 'click', toggle);\n * \n * // Unbind multiple events with a same handler from multiple elements at once.\n * // Use event names splitted by a space.\n * off(element, 'mouseenter mouseleave', changeColor);\n * \n * // Unbind multiple events with different handlers from an element at once.\n * // Use an object which of key is an event name and value is a handler function.\n * off(div, {\n * keydown: highlight,\n * keyup: dehighlight\n * });\n * \n * // Unbind events without handlers.\n * off(div, 'drag');\n */\nfunction off(element, types, handler) {\n if (isString(types)) {\n forEach(types.split(/\\s+/g), function(type) {\n unbindEvent(element, type, handler);\n });\n\n return;\n }\n\n forEach(types, function(func, type) {\n unbindEvent(element, type, func);\n });\n}\n\n/**\n * Unbind DOM events\n * If a handler function is not passed, remove all events of that type.\n * @param {HTMLElement} element - element to unbind events\n * @param {string} type - events name\n * @param {function} [handler] - handler function\n * @private\n */\nfunction unbindEvent(element, type, handler) {\n var events = safeEvent(element, type);\n var index;\n\n if (!handler) {\n forEach(events, function(item) {\n removeHandler(element, type, item.wrappedHandler);\n });\n events.splice(0, events.length);\n } else {\n forEach(events, function(item, idx) {\n if (handler === item.handler) {\n removeHandler(element, type, item.wrappedHandler);\n index = idx;\n\n return false;\n }\n\n return true;\n });\n events.splice(index, 1);\n }\n}\n\n/**\n * Remove an event handler\n * @param {HTMLElement} element - An element to remove an event\n * @param {string} type - event type\n * @param {function} handler - event handler\n * @private\n */\nfunction removeHandler(element, type, handler) {\n if ('removeEventListener' in element) {\n element.removeEventListener(type, handler);\n } else if ('detachEvent' in element) {\n element.detachEvent('on' + type, handler);\n }\n}\n\nmodule.exports = off;\n\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Provide a simple inheritance in prototype-oriented.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar createObject = __webpack_require__(50);\n\n/**\n * Provide a simple inheritance in prototype-oriented.\n * Caution :\n * Don't overwrite the prototype of child constructor.\n *\n * @param {function} subType Child constructor\n * @param {function} superType Parent constructor\n * @memberof module:inheritance\n * @example\n * var inherit = require('tui-code-snippet/inheritance/inherit'); // node, commonjs\n *\n * // Parent constructor\n * function Animal(leg) {\n * this.leg = leg;\n * }\n * Animal.prototype.growl = function() {\n * // ...\n * };\n *\n * // Child constructor\n * function Person(name) {\n * this.name = name;\n * }\n *\n * // Inheritance\n * inherit(Person, Animal);\n *\n * // After this inheritance, please use only the extending of property.\n * // Do not overwrite prototype.\n * Person.prototype.walk = function(direction) {\n * // ...\n * };\n */\nfunction inherit(subType, superType) {\n var prototype = createObject(superType.prototype);\n prototype.constructor = subType;\n subType.prototype = prototype;\n}\n\nmodule.exports = inherit;\n\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Common collections.\n */\n\n\nvar forEachArray = __webpack_require__(6);\n\nvar forEachOwnProperties = __webpack_require__(7);\n\nvar extend = __webpack_require__(0);\n\nvar isArray = __webpack_require__(1);\n\nvar isExisty = __webpack_require__(20);\n\nvar isFunction = __webpack_require__(13);\n\nvar isObject = __webpack_require__(21);\n\nvar util = __webpack_require__(4);\n\nvar slice = Array.prototype.slice;\n/**\n * Common collection.\n *\n * It need function for get model's unique id.\n *\n * if the function is not supplied then it use default function {@link Collection#getItemID}\n * @constructor\n * @param {function} [getItemIDFn] function for get model's id.\n * @ignore\n */\n\nfunction Collection(getItemIDFn) {\n /**\n * @type {object.<string, *>}\n */\n this.items = {};\n /**\n * @type {number}\n */\n\n this.length = 0;\n\n if (isFunction(getItemIDFn)) {\n /**\n * @type {function}\n */\n this.getItemID = getItemIDFn;\n }\n}\n/**********\n * static props\n **********/\n\n/**\n * Combind supplied function filters and condition.\n * @param {...function} filters - function filters\n * @returns {function} combined filter\n */\n\n\nCollection.and = function (filters) {\n var cnt;\n filters = slice.call(arguments);\n cnt = filters.length;\n return function (item) {\n var i = 0;\n\n for (; i < cnt; i += 1) {\n if (!filters[i].call(null, item)) {\n return false;\n }\n }\n\n return true;\n };\n};\n/**\n * Combine multiple function filters with OR clause.\n * @param {...function} filters - function filters\n * @returns {function} combined filter\n */\n\n\nCollection.or = function (filters) {\n var cnt;\n filters = slice.call(arguments);\n cnt = filters.length;\n return function (item) {\n var i = 1;\n var result = filters[0].call(null, item);\n\n for (; i < cnt; i += 1) {\n result = result || filters[i].call(null, item);\n }\n\n return result;\n };\n};\n/**\n * Merge several collections.\n *\n * You can\\'t merge collections different _getEventID functions. Take case of use.\n * @param {...Collection} collections collection arguments to merge\n * @returns {Collection} merged collection.\n */\n\n\nCollection.merge = function (firstCollection) {\n var newItems = {};\n var merged = new Collection(firstCollection.getItemID);\n forEachArray(arguments, function (col) {\n extend(newItems, col.items);\n });\n merged.items = newItems;\n merged.length = util.getLength(merged.items);\n return merged;\n};\n/**********\n * prototype props\n **********/\n\n/**\n * get model's unique id.\n * @param {object} item model instance.\n * @returns {number} model unique id.\n */\n\n\nCollection.prototype.getItemID = function (item) {\n return item._id + '';\n};\n/**\n * add models.\n * @param {...*} item models to add this collection.\n */\n\n\nCollection.prototype.add = function (item) {\n var id, ownItems;\n\n if (arguments.length > 1) {\n forEachArray(slice.call(arguments), function (o) {\n this.add(o);\n }, this);\n return;\n }\n\n id = this.getItemID(item);\n ownItems = this.items;\n\n if (!ownItems[id]) {\n this.length += 1;\n }\n\n ownItems[id] = item;\n};\n/**\n * remove models.\n * @param {...(object|string|number)} id model instance or unique id to delete.\n * @returns {array} deleted model list.\n */\n\n\nCollection.prototype.remove = function (id) {\n var removed = [];\n var ownItems, itemToRemove;\n\n if (!this.length) {\n return removed;\n }\n\n if (arguments.length > 1) {\n removed = util.map(slice.call(arguments), function (id) {\n return this.remove(id);\n }, this);\n return removed;\n }\n\n ownItems = this.items;\n\n if (isObject(id)) {\n id = this.getItemID(id);\n }\n\n if (!ownItems[id]) {\n return removed;\n }\n\n this.length -= 1;\n itemToRemove = ownItems[id];\n delete ownItems[id];\n return itemToRemove;\n};\n/**\n * remove all models in collection.\n */\n\n\nCollection.prototype.clear = function () {\n this.items = {};\n this.length = 0;\n};\n/**\n * check collection has specific model.\n * @param {(object|string|number|function)} id model instance or id or filter function to check\n * @returns {boolean} is has model?\n */\n\n\nCollection.prototype.has = function (id) {\n var isFilter, has;\n\n if (!this.length) {\n return false;\n }\n\n isFilter = isFunction(id);\n has = false;\n\n if (isFilter) {\n this.each(function (item) {\n if (id(item) === true) {\n has = true;\n return false;\n }\n\n return true;\n });\n } else {\n id = isObject(id) ? this.getItemID(id) : id;\n has = isExisty(this.items[id]);\n }\n\n return has;\n};\n/**\n * invoke callback when model exist in collection.\n * @param {(string|number)} id model unique id.\n * @param {function} fn the callback.\n * @param {*} [context] callback context.\n */\n\n\nCollection.prototype.doWhenHas = function (id, fn, context) {\n var item = this.items[id];\n\n if (!isExisty(item)) {\n return;\n }\n\n fn.call(context || this, item);\n};\n/**\n * Search model. and return new collection.\n * @param {function} filter filter function.\n * @returns {Collection} new collection with filtered models.\n * @example\n * collection.find(function(item) {\n * return item.edited === true;\n * });\n *\n * function filter1(item) {\n * return item.edited === false;\n * }\n *\n * function filter2(item) {\n * return item.disabled === false;\n * }\n *\n * collection.find(Collection.and(filter1, filter2));\n *\n * collection.find(Collection.or(filter1, filter2));\n */\n\n\nCollection.prototype.find = function (filter) {\n var result = new Collection();\n\n if (this.hasOwnProperty('getItemID')) {\n result.getItemID = this.getItemID;\n }\n\n this.each(function (item) {\n if (filter(item) === true) {\n result.add(item);\n }\n });\n return result;\n};\n/**\n * Group element by specific key values.\n *\n * if key parameter is function then invoke it and use returned value.\n * @param {(string|number|function|array)} key key property or getter function. if string[] supplied, create each collection before grouping.\n * @param {function} [groupFunc] - function that return each group's key\n * @returns {object.<string, Collection>} grouped object\n * @example\n *\n * // pass `string`, `number`, `boolean` type value then group by property value.\n * collection.groupBy('gender'); // group by 'gender' property value.\n * collection.groupBy(50); // group by '50' property value.\n *\n * // pass `function` then group by return value. each invocation `function` is called with `(item)`.\n * collection.groupBy(function(item) {\n * if (item.score > 60) {\n * return 'pass';\n * }\n * return 'fail';\n * });\n *\n * // pass `array` with first arguments then create each collection before grouping.\n * collection.groupBy(['go', 'ruby', 'javascript']);\n * // result: { 'go': empty Collection, 'ruby': empty Collection, 'javascript': empty Collection }\n *\n * // can pass `function` with `array` then group each elements.\n * collection.groupBy(['go', 'ruby', 'javascript'], function(item) {\n * if (item.isFast) {\n * return 'go';\n * }\n *\n * return item.name;\n * });\n */\n\n\nCollection.prototype.groupBy = function (key, groupFunc) {\n var result = {};\n var keyIsFunc = isFunction(key);\n var getItemIDFn = this.getItemID;\n var collection, baseValue;\n\n if (isArray(key)) {\n forEachArray(key, function (k) {\n result[k + ''] = new Collection(getItemIDFn);\n });\n\n if (!groupFunc) {\n return result;\n }\n\n key = groupFunc;\n keyIsFunc = true;\n }\n\n this.each(function (item) {\n if (keyIsFunc) {\n baseValue = key(item);\n } else {\n baseValue = item[key];\n\n if (isFunction(baseValue)) {\n baseValue = baseValue.apply(item);\n }\n }\n\n collection = result[baseValue];\n\n if (!collection) {\n collection = result[baseValue] = new Collection(getItemIDFn);\n }\n\n collection.add(item);\n });\n return result;\n};\n/**\n * Return single item in collection.\n *\n * Returned item is inserted in this collection firstly.\n * @returns {object} item.\n */\n\n\nCollection.prototype.single = function () {\n var result;\n this.each(function (item) {\n result = item;\n return false;\n }, this);\n return result;\n};\n/**\n * sort a basis of supplied compare function.\n * @param {function} compareFunction compareFunction\n * @returns {array} sorted array.\n */\n\n\nCollection.prototype.sort = function (compareFunction) {\n var arr = [];\n this.each(function (item) {\n arr.push(item);\n });\n\n if (isFunction(compareFunction)) {\n arr = arr.sort(compareFunction);\n }\n\n return arr;\n};\n/**\n * iterate each model element.\n *\n * when iteratee return false then break the loop.\n * @param {function} iteratee iteratee(item, index, items)\n * @param {*} [context] context\n */\n\n\nCollection.prototype.each = function (iteratee, context) {\n forEachOwnProperties(this.items, iteratee, context || this);\n};\n/**\n * return new array with collection items.\n * @returns {array} new array.\n */\n\n\nCollection.prototype.toArray = function () {\n if (!this.length) {\n return [];\n }\n\n return util.map(this.items, function (item) {\n return item;\n });\n};\n\nmodule.exports = Collection;\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check whether the given variable is existing or not.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar isUndefined = __webpack_require__(3);\nvar isNull = __webpack_require__(36);\n\n/**\n * Check whether the given variable is existing or not.\n * If the given variable is not null and not undefined, returns true.\n * @param {*} param - Target for checking\n * @returns {boolean} Is existy?\n * @memberof module:type\n * @example\n * var isExisty = require('tui-code-snippet/type/isExisty'); // node, commonjs\n *\n * isExisty(''); //true\n * isExisty(0); //true\n * isExisty([]); //true\n * isExisty({}); //true\n * isExisty(null); //false\n * isExisty(undefined); //false\n*/\nfunction isExisty(param) {\n return !isUndefined(param) && !isNull(param);\n}\n\nmodule.exports = isExisty;\n\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check whether the given variable is an object or not.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Check whether the given variable is an object or not.\n * If the given variable is an object, return true.\n * @param {*} obj - Target for checking\n * @returns {boolean} Is object?\n * @memberof module:type\n */\nfunction isObject(obj) {\n return obj === Object(obj);\n}\n\nmodule.exports = isObject;\n\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview This module detects the kind of well-known browser and version.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Browser module\n * @module browser\n */\n\n/**\n * This object has an information that indicate the kind of browser. It can detect IE8 ~ IE11, Chrome, Firefox, Safari, and Edge.\n * @memberof module:browser\n * @example\n * var browser = require('tui-code-snippet/browser/browser'); // node, commonjs\n *\n * browser.chrome === true; // chrome\n * browser.firefox === true; // firefox\n * browser.safari === true; // safari\n * browser.msie === true; // IE\n * browser.edge === true; // edge\n * browser.others === true; // other browser\n * browser.version; // browser version\n */\nvar browser = {\n chrome: false,\n firefox: false,\n safari: false,\n msie: false,\n edge: false,\n others: false,\n version: 0\n};\n\nif (typeof window !== 'undefined' && window.navigator) {\n detectBrowser();\n}\n\n/**\n * Detect the browser.\n * @private\n */\nfunction detectBrowser() {\n var nav = window.navigator;\n var appName = nav.appName.replace(/\\s/g, '_');\n var userAgent = nav.userAgent;\n\n var rIE = /MSIE\\s([0-9]+[.0-9]*)/;\n var rIE11 = /Trident.*rv:11\\./;\n var rEdge = /Edge\\/(\\d+)\\./;\n var versionRegex = {\n firefox: /Firefox\\/(\\d+)\\./,\n chrome: /Chrome\\/(\\d+)\\./,\n safari: /Version\\/([\\d.]+).*Safari\\/(\\d+)/\n };\n\n var key, tmp;\n\n var detector = {\n Microsoft_Internet_Explorer: function() { // eslint-disable-line camelcase\n var detectedVersion = userAgent.match(rIE);\n\n if (detectedVersion) { // ie8 ~ ie10\n browser.msie = true;\n browser.version = parseFloat(detectedVersion[1]);\n } else { // no version information\n browser.others = true;\n }\n },\n Netscape: function() { // eslint-disable-line complexity\n var detected = false;\n\n if (rIE11.exec(userAgent)) {\n browser.msie = true;\n browser.version = 11;\n detected = true;\n } else if (rEdge.exec(userAgent)) {\n browser.edge = true;\n browser.version = userAgent.match(rEdge)[1];\n detected = true;\n } else {\n for (key in versionRegex) {\n if (versionRegex.hasOwnProperty(key)) {\n tmp = userAgent.match(versionRegex[key]);\n if (tmp && tmp.length > 1) { // eslint-disable-line max-depth\n browser[key] = detected = true;\n browser.version = parseFloat(tmp[1] || 0);\n break;\n }\n }\n }\n }\n if (!detected) {\n browser.others = true;\n }\n }\n };\n\n var fn = detector[appName];\n\n if (fn) {\n detector[appName]();\n }\n}\n\nmodule.exports = browser;\n\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Get HTML element's design classes.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar isUndefined = __webpack_require__(3);\n\n/**\n * Get HTML element's design classes.\n * @param {(HTMLElement|SVGElement)} element target element\n * @returns {string} element css class name\n * @memberof module:domUtil\n */\nfunction getClass(element) {\n if (!element || !element.className) {\n return '';\n }\n\n if (isUndefined(element.className.baseVal)) {\n return element.className;\n }\n\n return element.className.baseVal;\n}\n\nmodule.exports = getClass;\n\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/**\n * @fileoverview General drag handler\n */\n\n\nvar CustomEvents = __webpack_require__(10);\n\nvar disableTextSelection = __webpack_require__(42);\n\nvar enableTextSelection = __webpack_require__(44);\n\nvar getMouseButton = __webpack_require__(47);\n\nvar getTarget = __webpack_require__(28);\n\nvar off = __webpack_require__(17);\n\nvar on = __webpack_require__(14);\n\nvar preventDefault = __webpack_require__(15);\n\nvar extend = __webpack_require__(0);\n/**\n * @constructor\n * @mixes CustomEvents\n * @param {object} options - options for drag handler\n * @param {number} [options.distance=10] - distance in pixels after mouse must move before dragging should start\n * @param {HTMLElement} container - container element to bind drag events\n * @ignore\n */\n\n\nfunction Drag(options, container) {\n on(container, 'mousedown', this._onMouseDown, this);\n this.options = extend({\n distance: 10\n }, options);\n /**\n * @type {HTMLElement}\n */\n\n this.container = container;\n /**\n * @type {boolean}\n */\n\n this._isMoved = false;\n /**\n * dragging distance in pixel between mousedown and firing dragStart events\n * @type {number}\n */\n\n this._distance = 0;\n /**\n * @type {boolean}\n */\n\n this._dragStartFired = false;\n /**\n * @type {object}\n */\n\n this._dragStartEventData = null;\n}\n/**\n * Destroy method.\n */\n\n\nDrag.prototype.destroy = function () {\n off(this.container, 'mousedown', this._onMouseDown);\n this.options = this.container = this._isMoved = this._distance = this._dragStartFired = this._dragStartEventData = null;\n};\n/**\n * Toggle events for mouse dragging.\n * @param {boolean} toBind - bind events related with dragging when supplied \"true\"\n */\n\n\nDrag.prototype._toggleDragEvent = function (toBind) {\n var container = this.container;\n\n if (toBind) {\n disableTextSelection(container);\n on(window, 'dragstart', preventDefault);\n on(global.document, {\n mousemove: this._onMouseMove,\n mouseup: this._onMouseUp\n }, this);\n } else {\n enableTextSelection(container);\n off(window, 'dragstart', preventDefault);\n off(global.document, {\n mousemove: this._onMouseMove,\n mouseup: this._onMouseUp\n });\n }\n};\n/**\n * Normalize mouse event object.\n * @param {MouseEvent} mouseEvent - mouse event object.\n * @returns {object} normalized mouse event data.\n */\n\n\nDrag.prototype._getEventData = function (mouseEvent) {\n return {\n target: getTarget(mouseEvent),\n originEvent: mouseEvent\n };\n};\n/**\n * MouseDown DOM event handler.\n * @param {MouseEvent} mouseDownEvent MouseDown event object.\n */\n\n\nDrag.prototype._onMouseDown = function (mouseDownEvent) {\n // only primary button can start drag.\n if (getMouseButton(mouseDownEvent) !== 0) {\n return;\n }\n\n this._distance = 0;\n this._dragStartFired = false;\n this._dragStartEventData = this._getEventData(mouseDownEvent);\n\n this._toggleDragEvent(true);\n};\n/**\n * MouseMove DOM event handler.\n * @emits Drag#drag\n * @emits Drag#dragStart\n * @param {MouseEvent} mouseMoveEvent MouseMove event object.\n */\n\n\nDrag.prototype._onMouseMove = function (mouseMoveEvent) {\n var distance = this.options.distance; // prevent automatic scrolling.\n\n preventDefault(mouseMoveEvent);\n this._isMoved = true;\n\n if (this._distance < distance) {\n this._distance += 1;\n return;\n }\n\n if (!this._dragStartFired) {\n this._dragStartFired = true;\n /**\n * Drag starts events. cancelable.\n * @event Drag#dragStart\n * @type {object}\n * @property {HTMLElement} target - target element in this event.\n * @property {MouseEvent} originEvent - original mouse event object.\n */\n\n if (!this.invoke('dragStart', this._dragStartEventData)) {\n this._toggleDragEvent(false);\n\n return;\n }\n }\n /**\n * Events while dragging.\n * @event Drag#drag\n * @type {object}\n * @property {HTMLElement} target - target element in this event.\n * @property {MouseEvent} originEvent - original mouse event object.\n */\n\n\n this.fire('drag', this._getEventData(mouseMoveEvent));\n};\n/**\n * MouseUp DOM event handler.\n * @param {MouseEvent} mouseUpEvent MouseUp event object.\n * @emits Drag#dragEnd\n * @emits Drag#click\n */\n\n\nDrag.prototype._onMouseUp = function (mouseUpEvent) {\n this._toggleDragEvent(false); // emit \"click\" event when not emitted drag event between mousedown and mouseup.\n\n\n if (this._isMoved) {\n this._isMoved = false;\n /**\n * Drag end events.\n * @event Drag#dragEnd\n * @type {MouseEvent}\n * @property {HTMLElement} target - target element in this event.\n * @property {MouseEvent} originEvent - original mouse event object.\n */\n\n this.fire('dragEnd', this._getEventData(mouseUpEvent));\n return;\n }\n /**\n * Click events.\n * @event Drag#click\n * @type {MouseEvent}\n * @property {HTMLElement} target - target element in this event.\n * @property {MouseEvent} originEvent - original mouse event object.\n */\n\n\n this.fire('click', this._getEventData(mouseUpEvent));\n};\n\nCustomEvents.mixin(Drag);\nmodule.exports = Drag;\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(25)))\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports) {\n\nvar g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Get event collection for specific HTML element\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar EVENT_KEY = '_feEventKey';\n\n/**\n * Get event collection for specific HTML element\n * @param {HTMLElement} element - HTML element\n * @param {string} type - event type\n * @returns {array}\n * @private\n */\nfunction safeEvent(element, type) {\n var events = element[EVENT_KEY];\n var handlers;\n\n if (!events) {\n events = element[EVENT_KEY] = {};\n }\n\n handlers = events[type];\n if (!handlers) {\n handlers = events[type] = [];\n }\n\n return handlers;\n}\n\nmodule.exports = safeEvent;\n\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check specific CSS style is available.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Check specific CSS style is available.\n * @param {array} props property name to testing\n * @returns {(string|boolean)} return true when property is available\n * @private\n */\nfunction testCSSProp(props) {\n var style = document.documentElement.style;\n var i, len;\n\n for (i = 0, len = props.length; i < len; i += 1) {\n if (props[i] in style) {\n return props[i];\n }\n }\n\n return false;\n}\n\nmodule.exports = testCSSProp;\n\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Get a target element from an event object.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Get a target element from an event object.\n * @param {Event} e - event object\n * @returns {HTMLElement} - target element\n * @memberof module:domEvent\n */\nfunction getTarget(e) {\n return e.target || e.srcElement;\n}\n\nmodule.exports = getTarget;\n\n\n/***/ }),\n/* 29 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Color palette view\n */\n\n\nvar CustomEvents = __webpack_require__(10);\n\nvar getTarget = __webpack_require__(28);\n\nvar off = __webpack_require__(17);\n\nvar on = __webpack_require__(14);\n\nvar hasClass = __webpack_require__(30);\n\nvar extend = __webpack_require__(0);\n\nvar inherit = __webpack_require__(18);\n\nvar domUtil = __webpack_require__(9);\n\nvar colorUtil = __webpack_require__(12);\n\nvar View = __webpack_require__(8);\n\nvar tmpl = __webpack_require__(51);\n/**\n * @constructor\n * @extends {View}\n * @mixes CustomEvents\n * @param {object} options - options for color palette view\n * @param {string[]} options.preset - color list\n * @param {HTMLDivElement} container - container element\n * @ignore\n */\n\n\nfunction Palette(options, container) {\n /**\n * option object\n * @type {object}\n */\n this.options = extend({\n cssPrefix: 'tui-colorpicker-',\n preset: ['#181818', '#282828', '#383838', '#585858', '#B8B8B8', '#D8D8D8', '#E8E8E8', '#F8F8F8', '#AB4642', '#DC9656', '#F7CA88', '#A1B56C', '#86C1B9', '#7CAFC2', '#BA8BAF', '#A16946'],\n detailTxt: 'Detail'\n }, options);\n container = domUtil.appendHTMLElement('div', container, this.options.cssPrefix + 'palette-container');\n View.call(this, options, container);\n}\n\ninherit(Palette, View);\n/**\n * Mouse click event handler\n * @fires Palette#_selectColor\n * @fires Palette#_toggleSlider\n * @param {MouseEvent} clickEvent - mouse event object\n */\n\nPalette.prototype._onClick = function (clickEvent) {\n var options = this.options;\n var target = getTarget(clickEvent);\n var eventData = {};\n\n if (hasClass(target, options.cssPrefix + 'palette-button')) {\n eventData.color = target.value;\n /**\n * @event Palette#_selectColor\n * @type {object}\n * @property {string} color - selected color value\n */\n\n this.fire('_selectColor', eventData);\n return;\n }\n\n if (hasClass(target, options.cssPrefix + 'palette-toggle-slider')) {\n /**\n * @event Palette#_toggleSlider\n */\n this.fire('_toggleSlider');\n }\n};\n/**\n * Textbox change event handler\n * @fires Palette#_selectColor\n * @param {Event} changeEvent - change event object\n */\n\n\nPalette.prototype._onChange = function (changeEvent) {\n var options = this.options;\n var target = getTarget(changeEvent);\n var eventData = {};\n\n if (hasClass(target, options.cssPrefix + 'palette-hex')) {\n eventData.color = target.value;\n /**\n * @event Palette#_selectColor\n * @type {object}\n * @property {string} color - selected color value\n */\n\n this.fire('_selectColor', eventData);\n }\n};\n/**\n * Invoke before destory\n * @override\n */\n\n\nPalette.prototype._beforeDestroy = function () {\n this._toggleEvent(false);\n};\n/**\n * Toggle view DOM events\n * @param {boolean} [toBind=false] - true to bind event.\n */\n\n\nPalette.prototype._toggleEvent = function (toBind) {\n var options = this.options;\n var container = this.container;\n var handleEvent = toBind ? on : off;\n var hexTextBox;\n handleEvent(container, 'click', this._onClick, this);\n hexTextBox = container.querySelector('.' + options.cssPrefix + 'palette-hex', container);\n\n if (hexTextBox) {\n handleEvent(hexTextBox, 'change', this._onChange, this);\n }\n};\n/**\n * Render palette\n * @override\n */\n\n\nPalette.prototype.render = function (color) {\n var options = this.options;\n var html = '';\n\n this._toggleEvent(false);\n\n html = tmpl({\n cssPrefix: options.cssPrefix,\n preset: options.preset,\n detailTxt: options.detailTxt,\n color: color,\n isValidRGB: colorUtil.isValidRGB,\n getItemClass: function (itemColor) {\n return !itemColor ? ' ' + options.cssPrefix + 'color-transparent' : '';\n },\n isSelected: function (itemColor) {\n return itemColor === color ? ' ' + options.cssPrefix + 'selected' : '';\n }\n });\n this.container.innerHTML = html;\n\n this._toggleEvent(true);\n};\n\nCustomEvents.mixin(Palette);\nmodule.exports = Palette;\n\n/***/ }),\n/* 30 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check element has specific css class\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar inArray = __webpack_require__(5);\nvar getClass = __webpack_require__(23);\n\n/**\n * Check element has specific css class\n * @param {(HTMLElement|SVGElement)} element - target element\n * @param {string} cssClass - css class\n * @returns {boolean}\n * @memberof module:domUtil\n */\nfunction hasClass(element, cssClass) {\n var origin;\n\n if (element.classList) {\n return element.classList.contains(cssClass);\n }\n\n origin = getClass(element).split(/\\s+/);\n\n return inArray(cssClass, origin) > -1;\n}\n\nmodule.exports = hasClass;\n\n\n/***/ }),\n/* 31 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Slider view\n */\n\n\nvar CustomEvents = __webpack_require__(10);\n\nvar getMousePosition = __webpack_require__(53);\n\nvar closest = __webpack_require__(54);\n\nvar hasClass = __webpack_require__(30);\n\nvar extend = __webpack_require__(0);\n\nvar inherit = __webpack_require__(18);\n\nvar domUtil = __webpack_require__(9);\n\nvar svgvml = __webpack_require__(32);\n\nvar colorUtil = __webpack_require__(12);\n\nvar View = __webpack_require__(8);\n\nvar Drag = __webpack_require__(24);\n\nvar tmpl = __webpack_require__(57); // Limitation position of point element inside of colorslider and hue bar\n// Minimum value can to be negative because that using color point of handle element is center point. not left, top point.\n\n\nvar DEFAULT_COLORSLIDER_POS_LIMIT_MIN = -7;\nvar DEFAULT_COLORSLIDER_POS_LIMIT_MAX = 112;\nvar DEFAULT_HUEBAR_POS_LIMIT_MIN = -3;\nvar DEFAULT_HUEBAR_POS_LIMIT_MAX = 115;\nvar HUE_WHEEL_MAX = 359.99;\n/**\n * @constructor\n * @extends {View}\n * @mixes CustomEvents\n * @param {object} options - options for view\n * @param {string} options.cssPrefix - design css prefix\n * @param {HTMLElement} container - container element\n * @ignore\n */\n\nfunction Slider(options, container) {\n container = domUtil.appendHTMLElement('div', container, options.cssPrefix + 'slider-container');\n container.style.display = 'none';\n View.call(this, options, container);\n /**\n * @type {object}\n */\n\n this.options = extend({\n color: '#f8f8f8',\n cssPrefix: 'tui-colorpicker-'\n }, options);\n /**\n * Cache immutable data in click, drag events.\n *\n * (i.e. is event related with colorslider? or huebar?)\n * @type {object}\n * @property {boolean} isColorSlider\n * @property {number[]} containerSize\n */\n\n this._dragDataCache = {};\n /**\n * Color slider handle element\n * @type {SVG|VML}\n */\n\n this.sliderHandleElement = null;\n /**\n * hue bar handle element\n * @type {SVG|VML}\n */\n\n this.huebarHandleElement = null;\n /**\n * Element that render base color in colorslider part\n * @type {SVG|VML}\n */\n\n this.baseColorElement = null;\n /**\n * @type {Drag}\n */\n\n this.drag = new Drag({\n distance: 0\n }, container);\n this.colorSliderPosLimitRange = [DEFAULT_COLORSLIDER_POS_LIMIT_MIN, DEFAULT_COLORSLIDER_POS_LIMIT_MAX];\n this.huebarPosLimitRange = [DEFAULT_HUEBAR_POS_LIMIT_MIN, DEFAULT_HUEBAR_POS_LIMIT_MAX]; // bind drag events\n\n this.drag.on({\n dragStart: this._onDragStart,\n drag: this._onDrag,\n dragEnd: this._onDragEnd,\n click: this._onClick\n }, this);\n}\n\ninherit(Slider, View);\n/**\n * @override\n */\n\nSlider.prototype._beforeDestroy = function () {\n this.drag.off();\n this.drag = this.options = this._dragDataCache = this.sliderHandleElement = this.huebarHandleElement = this.baseColorElement = null;\n};\n/**\n * Toggle slider view\n * @param {boolean} onOff - set true then reveal slider view\n */\n\n\nSlider.prototype.toggle = function (onOff) {\n this.container.style.display = !!onOff ? 'block' : 'none';\n};\n/**\n * Get slider display status\n * @returns {boolean} return true when slider is visible\n */\n\n\nSlider.prototype.isVisible = function () {\n return this.container.style.display === 'block';\n};\n/**\n * Render slider view\n * @override\n * @param {string} colorStr - hex string color from parent view (Layout)\n */\n\n\nSlider.prototype.render = function (colorStr) {\n var container = this.container;\n var options = this.options;\n var html = tmpl.layout;\n var rgb, hsv;\n\n if (!colorUtil.isValidRGB(colorStr)) {\n return;\n }\n\n html = html.replace(/{{slider}}/, tmpl.slider);\n html = html.replace(/{{huebar}}/, tmpl.huebar);\n html = html.replace(/{{cssPrefix}}/g, options.cssPrefix);\n html = html.replace(/{{id}}/g, options.id);\n this.container.innerHTML = html;\n this.sliderSvgElement = container.querySelector('.' + options.cssPrefix + 'svg-slider');\n this.huebarSvgElement = container.querySelector('.' + options.cssPrefix + 'svg-huebar');\n this.sliderHandleElement = container.querySelector('.' + options.cssPrefix + 'slider-handle');\n this.huebarHandleElement = container.querySelector('.' + options.cssPrefix + 'huebar-handle');\n this.baseColorElement = container.querySelector('.' + options.cssPrefix + 'slider-basecolor');\n rgb = colorUtil.hexToRGB(colorStr);\n hsv = colorUtil.rgbToHSV.apply(null, rgb);\n this.moveHue(hsv[0], true);\n this.moveSaturationAndValue(hsv[1], hsv[2], true);\n};\n\nSlider.prototype._setColorSliderPosMax = function () {\n var sliderRects = this.sliderSvgElement.getClientRects()[0];\n\n if (sliderRects) {\n this.colorSliderPosLimitRange[1] = sliderRects.height - 10;\n }\n};\n/**\n * Move colorslider by newLeft(X), newTop(Y) value\n * @private\n * @param {number} newLeft - left pixel value to move handle\n * @param {number} newTop - top pixel value to move handle\n * @param {boolean} [silent=false] - set true then not fire custom event\n */\n\n\nSlider.prototype._moveColorSliderHandle = function (newLeft, newTop, silent) {\n var handle = this.sliderHandleElement;\n var handleColor; // Check position limitation.\n\n newTop = Math.max(this.colorSliderPosLimitRange[0], newTop);\n newTop = Math.min(this.colorSliderPosLimitRange[1], newTop);\n newLeft = Math.max(this.colorSliderPosLimitRange[0], newLeft);\n newLeft = Math.min(this.colorSliderPosLimitRange[1], newLeft);\n svgvml.setTranslateXY(handle, newLeft, newTop);\n handleColor = newTop > 50 ? 'white' : 'black';\n svgvml.setStrokeColor(handle, handleColor);\n\n if (!silent) {\n this.fire('_selectColor', {\n color: colorUtil.rgbToHEX.apply(null, this.getRGB())\n });\n }\n};\n/**\n * Move colorslider by supplied saturation and values.\n *\n * The movement of color slider handle follow HSV cylinder model. {@link https://en.wikipedia.org/wiki/HSL_and_HSV}\n * @param {number} saturation - the percent of saturation (0% ~ 100%)\n * @param {number} value - the percent of saturation (0% ~ 100%)\n * @param {boolean} [silent=false] - set true then not fire custom event\n */\n\n\nSlider.prototype.moveSaturationAndValue = function (saturation, value, silent) {\n var absMin, maxValue, newLeft, newTop;\n saturation = saturation || 0;\n value = value || 0;\n absMin = Math.abs(this.colorSliderPosLimitRange[0]);\n maxValue = this.colorSliderPosLimitRange[1]; // subtract absMin value because current color position is not left, top of handle element.\n // The saturation. from left 0 to right 100\n\n newLeft = saturation * maxValue / 100 - absMin; // The Value. from top 100 to bottom 0. that why newTop subtract by maxValue.\n\n newTop = maxValue - value * maxValue / 100 - absMin;\n\n this._moveColorSliderHandle(newLeft, newTop, silent);\n};\n/**\n * Move color slider handle to supplied position\n *\n * The number of X, Y must be related value from color slider container\n * @private\n * @param {number} x - the pixel value to move handle\n * @param {number} y - the pixel value to move handle\n */\n\n\nSlider.prototype._moveColorSliderByPosition = function (x, y) {\n var offset = this.colorSliderPosLimitRange[0];\n\n this._moveColorSliderHandle(x + offset, y + offset);\n};\n/**\n * Get saturation and value value.\n * @returns {number[]} saturation and value\n */\n\n\nSlider.prototype.getSaturationAndValue = function () {\n var absMin = Math.abs(this.colorSliderPosLimitRange[0]);\n var maxValue = absMin + this.colorSliderPosLimitRange[1];\n var position = svgvml.getTranslateXY(this.sliderHandleElement);\n var saturation, value;\n saturation = (position[1] + absMin) / maxValue * 100; // The value of HSV color model is inverted. top 100 ~ bottom 0. so subtract by 100\n\n value = 100 - (position[0] + absMin) / maxValue * 100;\n return [saturation, value];\n};\n\nSlider.prototype._setHueBarPosMax = function () {\n var huebarRects = this.huebarSvgElement.getClientRects()[0];\n\n if (huebarRects) {\n this.huebarPosLimitRange[1] = huebarRects.height - 7;\n }\n};\n/**\n * Move hue handle supplied pixel value\n * @private\n * @param {number} newTop - pixel to move hue handle\n * @param {boolean} [silent=false] - set true then not fire custom event\n */\n\n\nSlider.prototype._moveHueHandle = function (newTop, silent) {\n var hueHandleElement = this.huebarHandleElement;\n var baseColorElement = this.baseColorElement;\n var newGradientColor, hexStr;\n newTop = Math.max(this.huebarPosLimitRange[0], newTop);\n newTop = Math.min(this.huebarPosLimitRange[1], newTop);\n svgvml.setTranslateY(hueHandleElement, newTop);\n newGradientColor = colorUtil.hsvToRGB(this.getHue(), 100, 100);\n hexStr = colorUtil.rgbToHEX.apply(null, newGradientColor);\n svgvml.setGradientColorStop(baseColorElement, hexStr);\n\n if (!silent) {\n this.fire('_selectColor', {\n color: colorUtil.rgbToHEX.apply(null, this.getRGB())\n });\n }\n};\n/**\n * Move hue bar handle by supplied degree\n * @param {number} degree - (0 ~ 359.9 degree)\n * @param {boolean} [silent=false] - set true then not fire custom event\n */\n\n\nSlider.prototype.moveHue = function (degree, silent) {\n var newTop = 0;\n var absMin, maxValue;\n absMin = Math.abs(this.huebarPosLimitRange[0]);\n maxValue = absMin + this.huebarPosLimitRange[1];\n degree = degree || 0;\n newTop = maxValue * degree / HUE_WHEEL_MAX - absMin;\n\n this._moveHueHandle(newTop, silent);\n};\n/**\n * Move hue bar handle by supplied percent\n * @private\n * @param {number} y - pixel value to move hue handle\n */\n\n\nSlider.prototype._moveHueByPosition = function (y) {\n var offset = this.huebarPosLimitRange[0];\n\n this._moveHueHandle(y + offset);\n};\n/**\n * Get huebar handle position by color degree\n * @returns {number} degree (0 ~ 359.9 degree)\n */\n\n\nSlider.prototype.getHue = function () {\n var handle = this.huebarHandleElement;\n var position = svgvml.getTranslateXY(handle);\n var absMin, maxValue;\n absMin = Math.abs(this.huebarPosLimitRange[0]);\n maxValue = absMin + this.huebarPosLimitRange[1]; // maxValue : 359.99 = pos.y : x\n\n return (position[0] + absMin) * HUE_WHEEL_MAX / maxValue;\n};\n/**\n * Get HSV value from slider\n * @returns {number[]} hsv values\n */\n\n\nSlider.prototype.getHSV = function () {\n var sv = this.getSaturationAndValue();\n var h = this.getHue();\n return [h].concat(sv);\n};\n/**\n * Get RGB value from slider\n * @returns {number[]} RGB value\n */\n\n\nSlider.prototype.getRGB = function () {\n return colorUtil.hsvToRGB.apply(null, this.getHSV());\n};\n/**********\n * Drag event handler\n **********/\n\n/**\n * Cache immutable data when dragging or click view\n * @param {object} event - Click, DragStart event.\n * @returns {object} cached data.\n */\n\n\nSlider.prototype._prepareColorSliderForMouseEvent = function (event) {\n var options = this.options;\n var sliderPart = closest(event.target, '.' + options.cssPrefix + 'slider-part');\n var cache;\n cache = this._dragDataCache = {\n isColorSlider: hasClass(sliderPart, options.cssPrefix + 'slider-left'),\n parentElement: sliderPart\n };\n return cache;\n};\n/**\n * Click event handler\n * @param {object} clickEvent - Click event from Drag module\n */\n\n\nSlider.prototype._onClick = function (clickEvent) {\n var cache = this._prepareColorSliderForMouseEvent(clickEvent);\n\n var mousePos = getMousePosition(clickEvent.originEvent, cache.parentElement);\n\n if (cache.isColorSlider) {\n this._moveColorSliderByPosition(mousePos[0], mousePos[1]);\n } else {\n this._moveHueByPosition(mousePos[1]);\n }\n\n this._dragDataCache = null;\n};\n/**\n * DragStart event handler\n * @param {object} dragStartEvent - dragStart event data from Drag#dragStart\n */\n\n\nSlider.prototype._onDragStart = function (dragStartEvent) {\n this._setColorSliderPosMax();\n\n this._setHueBarPosMax();\n\n this._prepareColorSliderForMouseEvent(dragStartEvent);\n};\n/**\n * Drag event handler\n * @param {Drag#drag} dragEvent - drag event data\n */\n\n\nSlider.prototype._onDrag = function (dragEvent) {\n var cache = this._dragDataCache;\n var mousePos = getMousePosition(dragEvent.originEvent, cache.parentElement);\n\n if (cache.isColorSlider) {\n this._moveColorSliderByPosition(mousePos[0], mousePos[1]);\n } else {\n this._moveHueByPosition(mousePos[1]);\n }\n};\n/**\n * Drag#dragEnd event handler\n */\n\n\nSlider.prototype._onDragEnd = function () {\n this._dragDataCache = null;\n};\n\nCustomEvents.mixin(Slider);\nmodule.exports = Slider;\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview module for manipulate SVG or VML object\n */\n\n\nvar isOldBrowser = __webpack_require__(4).isOldBrowser;\n\nvar PARSE_TRANSLATE_NUM_REGEX = /[\\.\\-0-9]+/g;\nvar SVG_HUE_HANDLE_RIGHT_POS = -6;\n/* istanbul ignore next */\n\nvar svgvml = {\n /**\n * Get translate transform value\n * @param {SVG|VML} obj - svg or vml object that want to know translate x, y\n * @returns {number[]} translated coordinates [x, y]\n */\n getTranslateXY: function (obj) {\n var temp;\n\n if (isOldBrowser) {\n temp = obj.style;\n return [parseFloat(temp.top), parseFloat(temp.left)];\n }\n\n temp = obj.getAttribute('transform');\n\n if (!temp) {\n return [0, 0];\n }\n\n temp = temp.match(PARSE_TRANSLATE_NUM_REGEX); // need caution for difference of VML, SVG coordinates system.\n // translate command need X coords in first parameter. but VML is use CSS coordinate system(top, left)\n\n return [parseFloat(temp[1]), parseFloat(temp[0])];\n },\n\n /**\n * Set translate transform value\n * @param {SVG|VML} obj - SVG or VML object to setting translate transform.\n * @param {number} x - translate X value\n * @param {number} y - translate Y value\n */\n setTranslateXY: function (obj, x, y) {\n if (isOldBrowser) {\n obj.style.left = x + 'px';\n obj.style.top = y + 'px';\n } else {\n obj.setAttribute('transform', 'translate(' + x + ',' + y + ')');\n }\n },\n\n /**\n * Set translate only Y value\n * @param {SVG|VML} obj - SVG or VML object to setting translate transform.\n * @param {number} y - translate Y value\n */\n setTranslateY: function (obj, y) {\n if (isOldBrowser) {\n obj.style.top = y + 'px';\n } else {\n obj.setAttribute('transform', 'translate(' + SVG_HUE_HANDLE_RIGHT_POS + ',' + y + ')');\n }\n },\n\n /**\n * Set stroke color to SVG or VML object\n * @param {SVG|VML} obj - SVG or VML object to setting stroke color\n * @param {string} colorStr - color string\n */\n setStrokeColor: function (obj, colorStr) {\n if (isOldBrowser) {\n obj.strokecolor = colorStr;\n } else {\n obj.setAttribute('stroke', colorStr);\n }\n },\n\n /**\n * Set gradient stop color to SVG, VML object.\n * @param {SVG|VML} obj - SVG, VML object to applying gradient stop color\n * @param {string} colorStr - color string\n */\n setGradientColorStop: function (obj, colorStr) {\n if (isOldBrowser) {\n obj.color = colorStr;\n } else {\n obj.setAttribute('stop-color', colorStr);\n }\n }\n};\nmodule.exports = svgvml;\n\n/***/ }),\n/* 33 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(34);\nmodule.exports = __webpack_require__(35);\n\n\n/***/ }),\n/* 34 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// extracted by mini-css-extract-plugin\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar Collection = __webpack_require__(19);\n\nvar View = __webpack_require__(8);\n\nvar Drag = __webpack_require__(24);\n\nvar create = __webpack_require__(48);\n\nvar Palette = __webpack_require__(29);\n\nvar Slider = __webpack_require__(31);\n\nvar colorUtil = __webpack_require__(12);\n\nvar svgvml = __webpack_require__(32);\n\nvar colorPicker = {\n Collection: Collection,\n View: View,\n Drag: Drag,\n create: create,\n Palette: Palette,\n Slider: Slider,\n colorutil: colorUtil,\n svgvml: svgvml\n};\nmodule.exports = colorPicker;\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check whether the given variable is null or not.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Check whether the given variable is null or not.\n * If the given variable(arguments[0]) is null, returns true.\n * @param {*} obj - Target for checking\n * @returns {boolean} Is null?\n * @memberof module:type\n */\nfunction isNull(obj) {\n return obj === null;\n}\n\nmodule.exports = isNull;\n\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Send hostname on DOMContentLoaded.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar isUndefined = __webpack_require__(3);\nvar imagePing = __webpack_require__(38);\n\nvar ms7days = 7 * 24 * 60 * 60 * 1000;\n\n/**\n * Check if the date has passed 7 days\n * @param {number} date - milliseconds\n * @returns {boolean}\n * @private\n */\nfunction isExpired(date) {\n var now = new Date().getTime();\n\n return now - date > ms7days;\n}\n\n/**\n * Send hostname on DOMContentLoaded.\n * To prevent hostname set tui.usageStatistics to false.\n * @param {string} appName - application name\n * @param {string} trackingId - GA tracking ID\n * @ignore\n */\nfunction sendHostname(appName, trackingId) {\n var url = 'https://www.google-analytics.com/collect';\n var hostname = location.hostname;\n var hitType = 'event';\n var eventCategory = 'use';\n var applicationKeyForStorage = 'TOAST UI ' + appName + ' for ' + hostname + ': Statistics';\n var date = window.localStorage.getItem(applicationKeyForStorage);\n\n // skip if the flag is defined and is set to false explicitly\n if (!isUndefined(window.tui) && window.tui.usageStatistics === false) {\n return;\n }\n\n // skip if not pass seven days old\n if (date && !isExpired(date)) {\n return;\n }\n\n window.localStorage.setItem(applicationKeyForStorage, new Date().getTime());\n\n setTimeout(function() {\n if (document.readyState === 'interactive' || document.readyState === 'complete') {\n imagePing(url, {\n v: 1,\n t: hitType,\n tid: trackingId,\n cid: hostname,\n dp: hostname,\n dh: appName,\n el: appName,\n ec: eventCategory\n });\n }\n }, 1000);\n}\n\nmodule.exports = sendHostname;\n\n\n/***/ }),\n/* 38 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Request image ping.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar forEachOwnProperties = __webpack_require__(7);\n\n/**\n * @module request\n */\n\n/**\n * Request image ping.\n * @param {String} url url for ping request\n * @param {Object} trackingInfo infos for make query string\n * @returns {HTMLElement}\n * @memberof module:request\n * @example\n * var imagePing = require('tui-code-snippet/request/imagePing'); // node, commonjs\n *\n * imagePing('https://www.google-analytics.com/collect', {\n * v: 1,\n * t: 'event',\n * tid: 'trackingid',\n * cid: 'cid',\n * dp: 'dp',\n * dh: 'dh'\n * });\n */\nfunction imagePing(url, trackingInfo) {\n var trackingElement = document.createElement('img');\n var queryString = '';\n forEachOwnProperties(trackingInfo, function(value, key) {\n queryString += '&' + key + '=' + value;\n });\n queryString = queryString.substring(1);\n\n trackingElement.src = url + '?' + queryString;\n\n trackingElement.style.display = 'none';\n document.body.appendChild(trackingElement);\n document.body.removeChild(trackingElement);\n\n return trackingElement;\n}\n\nmodule.exports = imagePing;\n\n\n/***/ }),\n/* 39 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Add css class to element\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar forEach = __webpack_require__(2);\nvar inArray = __webpack_require__(5);\nvar getClass = __webpack_require__(23);\nvar setClassName = __webpack_require__(40);\n\n/**\n * domUtil module\n * @module domUtil\n */\n\n/**\n * Add css class to element\n * @param {(HTMLElement|SVGElement)} element - target element\n * @param {...string} cssClass - css classes to add\n * @memberof module:domUtil\n */\nfunction addClass(element) {\n var cssClass = Array.prototype.slice.call(arguments, 1);\n var classList = element.classList;\n var newClass = [];\n var origin;\n\n if (classList) {\n forEach(cssClass, function(name) {\n element.classList.add(name);\n });\n\n return;\n }\n\n origin = getClass(element);\n\n if (origin) {\n cssClass = [].concat(origin.split(/\\s+/), cssClass);\n }\n\n forEach(cssClass, function(cls) {\n if (inArray(cls, newClass) < 0) {\n newClass.push(cls);\n }\n });\n\n setClassName(element, newClass);\n}\n\nmodule.exports = addClass;\n\n\n/***/ }),\n/* 40 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Set className value\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar isArray = __webpack_require__(1);\nvar isUndefined = __webpack_require__(3);\n\n/**\n * Set className value\n * @param {(HTMLElement|SVGElement)} element - target element\n * @param {(string|string[])} cssClass - class names\n * @private\n */\nfunction setClassName(element, cssClass) {\n cssClass = isArray(cssClass) ? cssClass.join(' ') : cssClass;\n\n cssClass = cssClass.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\n if (isUndefined(element.className.baseVal)) {\n element.className = cssClass;\n\n return;\n }\n\n element.className.baseVal = cssClass;\n}\n\nmodule.exports = setClassName;\n\n\n/***/ }),\n/* 41 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check whether the given variable is a number or not.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * Check whether the given variable is a number or not.\n * If the given variable is a number, return true.\n * @param {*} obj - Target for checking\n * @returns {boolean} Is number?\n * @memberof module:type\n */\nfunction isNumber(obj) {\n return typeof obj === 'number' || obj instanceof Number;\n}\n\nmodule.exports = isNumber;\n\n\n/***/ }),\n/* 42 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Disable browser's text selection behaviors.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar on = __webpack_require__(14);\nvar preventDefault = __webpack_require__(15);\nvar setData = __webpack_require__(43);\nvar testCSSProp = __webpack_require__(27);\n\nvar SUPPORT_SELECTSTART = 'onselectstart' in document;\nvar KEY_PREVIOUS_USER_SELECT = 'prevUserSelect';\nvar userSelectProperty = testCSSProp([\n 'userSelect',\n 'WebkitUserSelect',\n 'OUserSelect',\n 'MozUserSelect',\n 'msUserSelect'\n]);\n\n/**\n * Disable browser's text selection behaviors.\n * @param {HTMLElement} [el] - target element. if not supplied, use `document`\n * @memberof module:domUtil\n */\nfunction disableTextSelection(el) {\n if (!el) {\n el = document;\n }\n\n if (SUPPORT_SELECTSTART) {\n on(el, 'selectstart', preventDefault);\n } else {\n el = (el === document) ? document.documentElement : el;\n setData(el, KEY_PREVIOUS_USER_SELECT, el.style[userSelectProperty]);\n el.style[userSelectProperty] = 'none';\n }\n}\n\nmodule.exports = disableTextSelection;\n\n\n/***/ }),\n/* 43 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Set data attribute to target element\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar convertToKebabCase = __webpack_require__(16);\n\n/**\n * Set data attribute to target element\n * @param {HTMLElement} element - element to set data attribute\n * @param {string} key - key\n * @param {string} value - value\n * @memberof module:domUtil\n */\nfunction setData(element, key, value) {\n if (element.dataset) {\n element.dataset[key] = value;\n\n return;\n }\n\n element.setAttribute('data-' + convertToKebabCase(key), value);\n}\n\nmodule.exports = setData;\n\n\n/***/ }),\n/* 44 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Transform the Array-like object to Array.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar off = __webpack_require__(17);\nvar preventDefault = __webpack_require__(15);\nvar getData = __webpack_require__(45);\nvar removeData = __webpack_require__(46);\nvar testCSSProp = __webpack_require__(27);\n\nvar SUPPORT_SELECTSTART = 'onselectstart' in document;\nvar KEY_PREVIOUS_USER_SELECT = 'prevUserSelect';\nvar userSelectProperty = testCSSProp([\n 'userSelect',\n 'WebkitUserSelect',\n 'OUserSelect',\n 'MozUserSelect',\n 'msUserSelect'\n]);\n\n/**\n * Enable browser's text selection behaviors.\n * @param {HTMLElement} [el] - target element. if not supplied, use `document`\n * @memberof module:domUtil\n */\nfunction enableTextSelection(el) {\n if (!el) {\n el = document;\n }\n\n if (SUPPORT_SELECTSTART) {\n off(el, 'selectstart', preventDefault);\n } else {\n el = (el === document) ? document.documentElement : el;\n el.style[userSelectProperty] = getData(el, KEY_PREVIOUS_USER_SELECT) || 'auto';\n removeData(el, KEY_PREVIOUS_USER_SELECT);\n }\n}\n\nmodule.exports = enableTextSelection;\n\n\n/***/ }),\n/* 45 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Get data value from data-attribute\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar convertToKebabCase = __webpack_require__(16);\n\n/**\n * Get data value from data-attribute\n * @param {HTMLElement} element - target element\n * @param {string} key - key\n * @returns {string} value\n * @memberof module:domUtil\n */\nfunction getData(element, key) {\n if (element.dataset) {\n return element.dataset[key];\n }\n\n return element.getAttribute('data-' + convertToKebabCase(key));\n}\n\nmodule.exports = getData;\n\n\n/***/ }),\n/* 46 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Remove data property\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar convertToKebabCase = __webpack_require__(16);\n\n/**\n * Remove data property\n * @param {HTMLElement} element - target element\n * @param {string} key - key\n * @memberof module:domUtil\n */\nfunction removeData(element, key) {\n if (element.dataset) {\n delete element.dataset[key];\n\n return;\n }\n\n element.removeAttribute('data-' + convertToKebabCase(key));\n}\n\nmodule.exports = removeData;\n\n\n/***/ }),\n/* 47 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Normalize mouse event's button attributes.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar browser = __webpack_require__(22);\nvar inArray = __webpack_require__(5);\n\nvar primaryButton = ['0', '1', '3', '5', '7'];\nvar secondaryButton = ['2', '6'];\nvar wheelButton = ['4'];\n\n/**\n * @module domEvent\n */\n\n/**\n * Normalize mouse event's button attributes.\n *\n * Can detect which button is clicked by this method.\n *\n * Meaning of return numbers\n *\n * - 0: primary mouse button\n * - 1: wheel button or center button\n * - 2: secondary mouse button\n * @param {MouseEvent} mouseEvent - The mouse event object want to know.\n * @returns {number} - The value of meaning which button is clicked?\n * @memberof module:domEvent\n */\nfunction getMouseButton(mouseEvent) {\n if (browser.msie && browser.version <= 8) {\n return getMouseButtonIE8AndEarlier(mouseEvent);\n }\n\n return mouseEvent.button;\n}\n\n/**\n * Normalize return value of mouseEvent.button\n * Make same to standard MouseEvent's button value\n * @param {DispCEventObj} mouseEvent - mouse event object\n * @returns {number|null} - id indicating which mouse button is clicked\n * @private\n */\nfunction getMouseButtonIE8AndEarlier(mouseEvent) {\n var button = String(mouseEvent.button);\n\n if (inArray(button, primaryButton) > -1) {\n return 0;\n }\n\n if (inArray(button, secondaryButton) > -1) {\n return 2;\n }\n\n if (inArray(button, wheelButton) > -1) {\n return 1;\n }\n\n return null;\n}\n\nmodule.exports = getMouseButton;\n\n\n/***/ }),\n/* 48 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview ColorPicker factory module\n */\n\n\nvar CustomEvents = __webpack_require__(10);\n\nvar extend = __webpack_require__(0);\n\nvar util = __webpack_require__(4);\n\nvar colorUtil = __webpack_require__(12);\n\nvar Layout = __webpack_require__(49);\n\nvar Palette = __webpack_require__(29);\n\nvar Slider = __webpack_require__(31);\n/**\n * Create an unique id for a color-picker instance.\n * @private\n */\n\n\nvar currentId = 0;\n\nfunction generateId() {\n currentId += 1;\n return currentId;\n}\n/**\n * @constructor\n * @param {object} options - options for colorpicker component\n * @param {HTMLDivElement} options.container - container element\n * @param {string} [options.color='#ffffff'] - default selected color\n * @param {string[]} [options.preset] - color preset for palette (use base16 palette if not supplied)\n * @param {string} [options.cssPrefix='tui-colorpicker-'] - css prefix text for each child elements\n * @param {string} [options.detailTxt='Detail'] - text for detail button.\n * @param {boolean} [options.usageStatistics=true] - Let us know the hostname. If you don't want to send the hostname, please set to false.\n * @example\n * // ES6\n * import colorPicker from 'tui-color-picker';\n *\n * // CommonJS\n * const colorPicker = require('tui-color-picker');\n *\n * // Browser\n * const colorPicker = tui.colorPicker;\n *\n * const instance = colorPicker.create({\n * container: document.getElementById('color-picker')\n * });\n */\n\n\nfunction ColorPicker(options) {\n var layout;\n\n if (!(this instanceof ColorPicker)) {\n return new ColorPicker(options);\n }\n /**\n * Option object\n * @type {object}\n * @private\n */\n\n\n options = this.options = extend({\n container: null,\n color: '#f8f8f8',\n preset: ['#181818', '#282828', '#383838', '#585858', '#b8b8b8', '#d8d8d8', '#e8e8e8', '#f8f8f8', '#ab4642', '#dc9656', '#f7ca88', '#a1b56c', '#86c1b9', '#7cafc2', '#ba8baf', '#a16946'],\n cssPrefix: 'tui-colorpicker-',\n detailTxt: 'Detail',\n id: generateId(),\n usageStatistics: true\n }, options);\n\n if (!options.container) {\n throw new Error('ColorPicker(): need container option.');\n }\n /**********\n * Create layout view\n **********/\n\n /**\n * @type {Layout}\n * @private\n */\n\n\n layout = this.layout = new Layout(options, options.container);\n /**********\n * Create palette view\n **********/\n\n this.palette = new Palette(options, layout.container);\n this.palette.on({\n _selectColor: this._onSelectColorInPalette,\n _toggleSlider: this._onToggleSlider\n }, this);\n /**********\n * Create slider view\n **********/\n\n this.slider = new Slider(options, layout.container);\n this.slider.on('_selectColor', this._onSelectColorInSlider, this);\n /**********\n * Add child views\n **********/\n\n layout.addChild(this.palette);\n layout.addChild(this.slider);\n this.render(options.color);\n\n if (options.usageStatistics) {\n util.sendHostName();\n }\n}\n/**\n * Handler method for Palette#_selectColor event\n * @private\n * @fires ColorPicker#selectColor\n * @param {object} selectColorEventData - event data\n */\n\n\nColorPicker.prototype._onSelectColorInPalette = function (selectColorEventData) {\n var color = selectColorEventData.color;\n var opt = this.options;\n\n if (!colorUtil.isValidRGB(color) && color !== '') {\n this.render();\n return;\n }\n /**\n * @event ColorPicker#selectColor\n * @type {object}\n * @property {string} color - selected color (hex string)\n * @property {string} origin - flags for represent the source of event fires.\n */\n\n\n this.fire('selectColor', {\n color: color,\n origin: 'palette'\n });\n\n if (opt.color === color) {\n return;\n }\n\n opt.color = color;\n this.render(color);\n};\n/**\n * Handler method for Palette#_toggleSlider event\n * @private\n */\n\n\nColorPicker.prototype._onToggleSlider = function () {\n this.slider.toggle(!this.slider.isVisible());\n};\n/**\n * Handler method for Slider#_selectColor event\n * @private\n * @fires ColorPicker#selectColor\n * @param {object} selectColorEventData - event data\n */\n\n\nColorPicker.prototype._onSelectColorInSlider = function (selectColorEventData) {\n var color = selectColorEventData.color;\n var opt = this.options;\n /**\n * @event ColorPicker#selectColor\n * @type {object}\n * @property {string} color - selected color (hex string)\n * @property {string} origin - flags for represent the source of event fires.\n * @ignore\n */\n\n this.fire('selectColor', {\n color: color,\n origin: 'slider'\n });\n\n if (opt.color === color) {\n return;\n }\n\n opt.color = color;\n this.palette.render(color);\n};\n/**********\n * PUBLIC API\n **********/\n\n/**\n * Set color to colorpicker instance.<br>\n * The string parameter must be hex color value\n * @param {string} hexStr - hex formatted color string\n * @example\n * instance.setColor('#ffff00');\n */\n\n\nColorPicker.prototype.setColor = function (hexStr) {\n if (!colorUtil.isValidRGB(hexStr)) {\n throw new Error('ColorPicker#setColor(): need valid hex string color value');\n }\n\n this.options.color = hexStr;\n this.render(hexStr);\n};\n/**\n * Get hex color string of current selected color in colorpicker instance.\n * @returns {string} hex string formatted color\n * @example\n * instance.setColor('#ffff00');\n * instance.getColor(); // '#ffff00';\n */\n\n\nColorPicker.prototype.getColor = function () {\n return this.options.color;\n};\n/**\n * Toggle colorpicker element. set true then reveal colorpicker view.\n * @param {boolean} [isShow=false] - A flag to show\n * @example\n * instance.toggle(false); // hide\n * instance.toggle(); // hide\n * instance.toggle(true); // show\n */\n\n\nColorPicker.prototype.toggle = function (isShow) {\n this.layout.container.style.display = !!isShow ? 'block' : 'none';\n};\n/**\n * Render colorpicker\n * @param {string} [color] - selected color\n * @ignore\n */\n\n\nColorPicker.prototype.render = function (color) {\n this.layout.render(color || this.options.color);\n};\n/**\n * Destroy colorpicker instance.\n * @example\n * instance.destroy(); // DOM-element is removed\n */\n\n\nColorPicker.prototype.destroy = function () {\n this.layout.destroy();\n this.options.container.innerHTML = '';\n this.layout = this.slider = this.palette = this.options = null;\n};\n\nCustomEvents.mixin(ColorPicker);\nmodule.exports = ColorPicker;\n\n/***/ }),\n/* 49 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview ColorPicker layout module\n */\n\n\nvar extend = __webpack_require__(0);\n\nvar inherit = __webpack_require__(18);\n\nvar domUtil = __webpack_require__(9);\n\nvar View = __webpack_require__(8);\n/**\n * @constructor\n * @extends {View}\n * @param {object} options - option object\n * @param {string} options.cssPrefix - css prefix for each child elements\n * @param {HTMLDivElement} container - container\n * @ignore\n */\n\n\nfunction Layout(options, container) {\n /**\n * option object\n * @type {object}\n */\n this.options = extend({\n cssPrefix: 'tui-colorpicker-'\n }, options);\n container = domUtil.appendHTMLElement('div', container, this.options.cssPrefix + 'container');\n View.call(this, options, container);\n this.render();\n}\n\ninherit(Layout, View);\n/**\n * @override\n * @param {string} [color] - selected color\n */\n\nLayout.prototype.render = function (color) {\n this.recursive(function (view) {\n view.render(color);\n }, true);\n};\n\nmodule.exports = Layout;\n\n/***/ }),\n/* 50 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Create a new object with the specified prototype object and properties.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\n/**\n * @module inheritance\n */\n\n/**\n * Create a new object with the specified prototype object and properties.\n * @param {Object} obj This object will be a prototype of the newly-created object.\n * @returns {Object}\n * @memberof module:inheritance\n */\nfunction createObject(obj) {\n function F() {} // eslint-disable-line require-jsdoc\n F.prototype = obj;\n\n return new F();\n}\n\nmodule.exports = createObject;\n\n\n/***/ }),\n/* 51 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Palette view template\n */\n\n\nvar template = __webpack_require__(52);\n\nmodule.exports = function (context) {\n var item = ['<li><input class=\"{{cssPrefix}}palette-button{{isSelected @this}}{{getItemClass @this}}\" type=\"button\"', '{{if isValidRGB @this}}', ' style=\"background-color:{{@this}};color:{{@this}}\"', '{{/if}}', ' title=\"{{@this}}\" value=\"{{@this}}\" /></li>'].join('');\n var layout = ['<ul class=\"{{cssPrefix}}clearfix\">', '{{each preset}}', item, '{{/each}}', '</ul>', '<div class=\"{{cssPrefix}}clearfix\" style=\"overflow:hidden\">', '<input type=\"button\" class=\"{{cssPrefix}}palette-toggle-slider\" value=\"{{detailTxt}}\" />', '<input type=\"text\" class=\"{{cssPrefix}}palette-hex\" value=\"{{color}}\" maxlength=\"7\" />', '<span class=\"{{cssPrefix}}palette-preview\" style=\"background-color:{{color}};color:{{color}}\">{{color}}</span>', '</div>'].join('\\n');\n return template(layout, context);\n};\n\n/***/ }),\n/* 52 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Convert text by binding expressions with context.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar inArray = __webpack_require__(5);\nvar forEach = __webpack_require__(2);\nvar isArray = __webpack_require__(1);\nvar isString = __webpack_require__(11);\nvar extend = __webpack_require__(0);\n\n// IE8 does not support capture groups.\nvar EXPRESSION_REGEXP = /{{\\s?|\\s?}}/g;\nvar BRACKET_NOTATION_REGEXP = /^[a-zA-Z0-9_@]+\\[[a-zA-Z0-9_@\"']+\\]$/;\nvar BRACKET_REGEXP = /\\[\\s?|\\s?\\]/;\nvar DOT_NOTATION_REGEXP = /^[a-zA-Z_]+\\.[a-zA-Z_]+$/;\nvar DOT_REGEXP = /\\./;\nvar STRING_NOTATION_REGEXP = /^[\"']\\w+[\"']$/;\nvar STRING_REGEXP = /\"|'/g;\nvar NUMBER_REGEXP = /^-?\\d+\\.?\\d*$/;\n\nvar EXPRESSION_INTERVAL = 2;\n\nvar BLOCK_HELPERS = {\n 'if': handleIf,\n 'each': handleEach,\n 'with': handleWith\n};\n\nvar isValidSplit = 'a'.split(/a/).length === 3;\n\n/**\n * Split by RegExp. (Polyfill for IE8)\n * @param {string} text - text to be splitted\\\n * @param {RegExp} regexp - regular expression\n * @returns {Array.<string>}\n */\nvar splitByRegExp = (function() {\n if (isValidSplit) {\n return function(text, regexp) {\n return text.split(regexp);\n };\n }\n\n return function(text, regexp) {\n var result = [];\n var prevIndex = 0;\n var match, index;\n\n if (!regexp.global) {\n regexp = new RegExp(regexp, 'g');\n }\n\n match = regexp.exec(text);\n while (match !== null) {\n index = match.index;\n result.push(text.slice(prevIndex, index));\n\n prevIndex = index + match[0].length;\n match = regexp.exec(text);\n }\n result.push(text.slice(prevIndex));\n\n return result;\n };\n})();\n\n/**\n * Find value in the context by an expression.\n * @param {string} exp - an expression\n * @param {object} context - context\n * @returns {*}\n * @private\n */\n// eslint-disable-next-line complexity\nfunction getValueFromContext(exp, context) {\n var splitedExps;\n var value = context[exp];\n\n if (exp === 'true') {\n value = true;\n } else if (exp === 'false') {\n value = false;\n } else if (STRING_NOTATION_REGEXP.test(exp)) {\n value = exp.replace(STRING_REGEXP, '');\n } else if (BRACKET_NOTATION_REGEXP.test(exp)) {\n splitedExps = exp.split(BRACKET_REGEXP);\n value = getValueFromContext(splitedExps[0], context)[getValueFromContext(splitedExps[1], context)];\n } else if (DOT_NOTATION_REGEXP.test(exp)) {\n splitedExps = exp.split(DOT_REGEXP);\n value = getValueFromContext(splitedExps[0], context)[splitedExps[1]];\n } else if (NUMBER_REGEXP.test(exp)) {\n value = parseFloat(exp);\n }\n\n return value;\n}\n\n/**\n * Extract elseif and else expressions.\n * @param {Array.<string>} ifExps - args of if expression\n * @param {Array.<string>} sourcesInsideBlock - sources inside if block\n * @returns {object} - exps: expressions of if, elseif, and else / sourcesInsideIf: sources inside if, elseif, and else block.\n * @private\n */\nfunction extractElseif(ifExps, sourcesInsideBlock) {\n var exps = [ifExps];\n var sourcesInsideIf = [];\n var otherIfCount = 0;\n var start = 0;\n\n // eslint-disable-next-line complexity\n forEach(sourcesInsideBlock, function(source, index) {\n if (source.indexOf('if') === 0) {\n otherIfCount += 1;\n } else if (source === '/if') {\n otherIfCount -= 1;\n } else if (!otherIfCount && (source.indexOf('elseif') === 0 || source === 'else')) {\n exps.push(source === 'else' ? ['true'] : source.split(' ').slice(1));\n sourcesInsideIf.push(sourcesInsideBlock.slice(start, index));\n start = index + 1;\n }\n });\n\n sourcesInsideIf.push(sourcesInsideBlock.slice(start));\n\n return {\n exps: exps,\n sourcesInsideIf: sourcesInsideIf\n };\n}\n\n/**\n * Helper function for \"if\". \n * @param {Array.<string>} exps - array of expressions split by spaces\n * @param {Array.<string>} sourcesInsideBlock - array of sources inside the if block\n * @param {object} context - context\n * @returns {string}\n * @private\n */\nfunction handleIf(exps, sourcesInsideBlock, context) {\n var analyzed = extractElseif(exps, sourcesInsideBlock);\n var result = false;\n var compiledSource = '';\n\n forEach(analyzed.exps, function(exp, index) {\n result = handleExpression(exp, context);\n if (result) {\n compiledSource = compile(analyzed.sourcesInsideIf[index], context);\n }\n\n return !result;\n });\n\n return compiledSource;\n}\n\n/**\n * Helper function for \"each\".\n * @param {Array.<string>} exps - array of expressions split by spaces\n * @param {Array.<string>} sourcesInsideBlock - array of sources inside the each block\n * @param {object} context - context\n * @returns {string}\n * @private\n */\nfunction handleEach(exps, sourcesInsideBlock, context) {\n var collection = handleExpression(exps, context);\n var additionalKey = isArray(collection) ? '@index' : '@key';\n var additionalContext = {};\n var result = '';\n\n forEach(collection, function(item, key) {\n additionalContext[additionalKey] = key;\n additionalContext['@this'] = item;\n extend(context, additionalContext);\n\n result += compile(sourcesInsideBlock.slice(), context);\n });\n\n return result;\n}\n\n/**\n * Helper function for \"with ... as\"\n * @param {Array.<string>} exps - array of expressions split by spaces\n * @param {Array.<string>} sourcesInsideBlock - array of sources inside the with block\n * @param {object} context - context\n * @returns {string}\n * @private\n */\nfunction handleWith(exps, sourcesInsideBlock, context) {\n var asIndex = inArray('as', exps);\n var alias = exps[asIndex + 1];\n var result = handleExpression(exps.slice(0, asIndex), context);\n\n var additionalContext = {};\n additionalContext[alias] = result;\n\n return compile(sourcesInsideBlock, extend(context, additionalContext)) || '';\n}\n\n/**\n * Extract sources inside block in place.\n * @param {Array.<string>} sources - array of sources\n * @param {number} start - index of start block\n * @param {number} end - index of end block\n * @returns {Array.<string>}\n * @private\n */\nfunction extractSourcesInsideBlock(sources, start, end) {\n var sourcesInsideBlock = sources.splice(start + 1, end - start);\n sourcesInsideBlock.pop();\n\n return sourcesInsideBlock;\n}\n\n/**\n * Handle block helper function\n * @param {string} helperKeyword - helper keyword (ex. if, each, with)\n * @param {Array.<string>} sourcesToEnd - array of sources after the starting block\n * @param {object} context - context\n * @returns {Array.<string>}\n * @private\n */\nfunction handleBlockHelper(helperKeyword, sourcesToEnd, context) {\n var executeBlockHelper = BLOCK_HELPERS[helperKeyword];\n var helperCount = 1;\n var startBlockIndex = 0;\n var endBlockIndex;\n var index = startBlockIndex + EXPRESSION_INTERVAL;\n var expression = sourcesToEnd[index];\n\n while (helperCount && isString(expression)) {\n if (expression.indexOf(helperKeyword) === 0) {\n helperCount += 1;\n } else if (expression.indexOf('/' + helperKeyword) === 0) {\n helperCount -= 1;\n endBlockIndex = index;\n }\n\n index += EXPRESSION_INTERVAL;\n expression = sourcesToEnd[index];\n }\n\n if (helperCount) {\n throw Error(helperKeyword + ' needs {{/' + helperKeyword + '}} expression.');\n }\n\n sourcesToEnd[startBlockIndex] = executeBlockHelper(\n sourcesToEnd[startBlockIndex].split(' ').slice(1),\n extractSourcesInsideBlock(sourcesToEnd, startBlockIndex, endBlockIndex),\n context\n );\n\n return sourcesToEnd;\n}\n\n/**\n * Helper function for \"custom helper\".\n * If helper is not a function, return helper itself.\n * @param {Array.<string>} exps - array of expressions split by spaces (first element: helper)\n * @param {object} context - context\n * @returns {string}\n * @private\n */\nfunction handleExpression(exps, context) {\n var result = getValueFromContext(exps[0], context);\n\n if (result instanceof Function) {\n return executeFunction(result, exps.slice(1), context);\n }\n\n return result;\n}\n\n/**\n * Execute a helper function.\n * @param {Function} helper - helper function\n * @param {Array.<string>} argExps - expressions of arguments\n * @param {object} context - context\n * @returns {string} - result of executing the function with arguments\n * @private\n */\nfunction executeFunction(helper, argExps, context) {\n var args = [];\n forEach(argExps, function(exp) {\n args.push(getValueFromContext(exp, context));\n });\n\n return helper.apply(null, args);\n}\n\n/**\n * Get a result of compiling an expression with the context.\n * @param {Array.<string>} sources - array of sources split by regexp of expression.\n * @param {object} context - context\n * @returns {Array.<string>} - array of sources that bind with its context\n * @private\n */\nfunction compile(sources, context) {\n var index = 1;\n var expression = sources[index];\n var exps, firstExp, result;\n\n while (isString(expression)) {\n exps = expression.split(' ');\n firstExp = exps[0];\n\n if (BLOCK_HELPERS[firstExp]) {\n result = handleBlockHelper(firstExp, sources.splice(index, sources.length - index), context);\n sources = sources.concat(result);\n } else {\n sources[index] = handleExpression(exps, context);\n }\n\n index += EXPRESSION_INTERVAL;\n expression = sources[index];\n }\n\n return sources.join('');\n}\n\n/**\n * Convert text by binding expressions with context.\n * <br>\n * If expression exists in the context, it will be replaced.\n * ex) '{{title}}' with context {title: 'Hello!'} is converted to 'Hello!'.\n * An array or object can be accessed using bracket and dot notation.\n * ex) '{{odds\\[2\\]}}' with context {odds: \\[1, 3, 5\\]} is converted to '5'.\n * ex) '{{evens\\[first\\]}}' with context {evens: \\[2, 4\\], first: 0} is converted to '2'.\n * ex) '{{project\\[\"name\"\\]}}' and '{{project.name}}' with context {project: {name: 'CodeSnippet'}} is converted to 'CodeSnippet'.\n * <br>\n * If replaced expression is a function, next expressions will be arguments of the function.\n * ex) '{{add 1 2}}' with context {add: function(a, b) {return a + b;}} is converted to '3'.\n * <br>\n * It has 3 predefined block helpers '{{helper ...}} ... {{/helper}}': 'if', 'each', 'with ... as ...'.\n * 1) 'if' evaluates conditional statements. It can use with 'elseif' and 'else'.\n * 2) 'each' iterates an array or object. It provides '@index'(array), '@key'(object), and '@this'(current element).\n * 3) 'with ... as ...' provides an alias.\n * @param {string} text - text with expressions\n * @param {object} context - context\n * @returns {string} - text that bind with its context\n * @memberof module:domUtil\n * @example\n * var template = require('tui-code-snippet/domUtil/template');\n * \n * var source = \n * '<h1>'\n * + '{{if isValidNumber title}}'\n * + '{{title}}th'\n * + '{{elseif isValidDate title}}'\n * + 'Date: {{title}}'\n * + '{{/if}}'\n * + '</h1>'\n * + '{{each list}}'\n * + '{{with addOne @index as idx}}'\n * + '<p>{{idx}}: {{@this}}</p>'\n * + '{{/with}}'\n * + '{{/each}}';\n * \n * var context = {\n * isValidDate: function(text) {\n * return /^\\d{4}-(0|1)\\d-(0|1|2|3)\\d$/.test(text);\n * },\n * isValidNumber: function(text) {\n * return /^\\d+$/.test(text);\n * }\n * title: '2019-11-25',\n * list: ['Clean the room', 'Wash the dishes'],\n * addOne: function(num) {\n * return num + 1;\n * }\n * };\n * \n * var result = template(source, context);\n * console.log(result); // <h1>Date: 2019-11-25</h1><p>1: Clean the room</p><p>2: Wash the dishes</p>\n */\nfunction template(text, context) {\n return compile(splitByRegExp(text, EXPRESSION_REGEXP), context);\n}\n\nmodule.exports = template;\n\n\n/***/ }),\n/* 53 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Get mouse position from mouse event\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar isArray = __webpack_require__(1);\n\n/**\n * Get mouse position from mouse event\n *\n * If supplied relatveElement parameter then return relative position based on\n * element\n * @param {(MouseEvent|object|number[])} position - mouse position object\n * @param {HTMLElement} relativeElement HTML element that calculate relative\n * position\n * @returns {number[]} mouse position\n * @memberof module:domEvent\n */\nfunction getMousePosition(position, relativeElement) {\n var positionArray = isArray(position);\n var clientX = positionArray ? position[0] : position.clientX;\n var clientY = positionArray ? position[1] : position.clientY;\n var rect;\n\n if (!relativeElement) {\n return [clientX, clientY];\n }\n\n rect = relativeElement.getBoundingClientRect();\n\n return [\n clientX - rect.left - relativeElement.clientLeft,\n clientY - rect.top - relativeElement.clientTop\n ];\n}\n\nmodule.exports = getMousePosition;\n\n\n/***/ }),\n/* 54 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Find parent element recursively\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar matches = __webpack_require__(55);\n\n/**\n * Find parent element recursively\n * @param {HTMLElement} element - base element to start find\n * @param {string} selector - selector string for find\n * @returns {HTMLElement} - element finded or null\n * @memberof module:domUtil\n */\nfunction closest(element, selector) {\n var parent = element.parentNode;\n\n if (matches(element, selector)) {\n return element;\n }\n\n while (parent && parent !== document) {\n if (matches(parent, selector)) {\n return parent;\n }\n\n parent = parent.parentNode;\n }\n\n return null;\n}\n\nmodule.exports = closest;\n\n\n/***/ }),\n/* 55 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Check element match selector\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar inArray = __webpack_require__(5);\nvar toArray = __webpack_require__(56);\n\nvar elProto = Element.prototype;\nvar matchSelector = elProto.matches ||\n elProto.webkitMatchesSelector ||\n elProto.mozMatchesSelector ||\n elProto.msMatchesSelector ||\n function(selector) {\n var doc = this.document || this.ownerDocument;\n\n return inArray(this, toArray(doc.querySelectorAll(selector))) > -1;\n };\n\n/**\n * Check element match selector\n * @param {HTMLElement} element - element to check\n * @param {string} selector - selector to check\n * @returns {boolean} is selector matched to element?\n * @memberof module:domUtil\n */\nfunction matches(element, selector) {\n return matchSelector.call(element, selector);\n}\n\nmodule.exports = matches;\n\n\n/***/ }),\n/* 56 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/**\n * @fileoverview Transform the Array-like object to Array.\n * @author NHN FE Development Lab <dl_javascript@nhn.com>\n */\n\n\n\nvar forEachArray = __webpack_require__(6);\n\n/**\n * Transform the Array-like object to Array.\n * In low IE (below 8), Array.prototype.slice.call is not perfect. So, try-catch statement is used.\n * @param {*} arrayLike Array-like object\n * @returns {Array} Array\n * @memberof module:collection\n * @example\n * var toArray = require('tui-code-snippet/collection/toArray'); // node, commonjs\n *\n * var arrayLike = {\n * 0: 'one',\n * 1: 'two',\n * 2: 'three',\n * 3: 'four',\n * length: 4\n * };\n * var result = toArray(arrayLike);\n *\n * alert(result instanceof Array); // true\n * alert(result); // one,two,three,four\n */\nfunction toArray(arrayLike) {\n var arr;\n try {\n arr = Array.prototype.slice.call(arrayLike);\n } catch (e) {\n arr = [];\n forEachArray(arrayLike, function(value) {\n arr.push(value);\n });\n }\n\n return arr;\n}\n\nmodule.exports = toArray;\n\n\n/***/ }),\n/* 57 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {/**\n * @fileoverview Slider template\n */\n\n\nvar isOldBrowser = __webpack_require__(4).isOldBrowser;\n\nvar layout = ['<div class=\"{{cssPrefix}}slider-left {{cssPrefix}}slider-part\">{{slider}}</div>', '<div class=\"{{cssPrefix}}slider-right {{cssPrefix}}slider-part\">{{huebar}}</div>'].join('\\n');\nvar SVGSlider = ['<svg class=\"{{cssPrefix}}svg {{cssPrefix}}svg-slider\">', '<defs>', '<linearGradient id=\"{{cssPrefix}}svg-fill-color-{{id}}\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">', '<stop offset=\"0%\" stop-color=\"rgb(255,255,255)\" />', '<stop class=\"{{cssPrefix}}slider-basecolor\" offset=\"100%\" stop-color=\"rgb(255,0,0)\" />', '</linearGradient>', '<linearGradient id=\"{{cssPrefix}}svn-fill-black-{{id}}\" x1=\"0%\" y1=\"0%\" x2=\"0%\" y2=\"100%\">', '<stop offset=\"0%\" style=\"stop-color:rgb(0,0,0);stop-opacity:0\" />', '<stop offset=\"100%\" style=\"stop-color:rgb(0,0,0);stop-opacity:1\" />', '</linearGradient>', '</defs>', '<rect width=\"100%\" height=\"100%\" fill=\"url(#{{cssPrefix}}svg-fill-color-{{id}})\"></rect>', '<rect width=\"100%\" height=\"100%\" fill=\"url(#{{cssPrefix}}svn-fill-black-{{id}})\"></rect>', '<path transform=\"translate(0,0)\" class=\"{{cssPrefix}}slider-handle\" d=\"M0 7.5 L15 7.5 M7.5 15 L7.5 0 M2 7 a5.5 5.5 0 1 1 0 1 Z\" stroke=\"black\" stroke-width=\"0.75\" fill=\"none\" />', '</svg>'].join('\\n');\nvar VMLSlider = ['<div class=\"{{cssPrefix}}vml-slider\">', '<v:rect strokecolor=\"none\" class=\"{{cssPrefix}}vml {{cssPrefix}}vml-slider-bg\">', '<v:fill class=\"{{cssPrefix}}vml {{cssPrefix}}slider-basecolor\" type=\"gradient\" method=\"none\" color=\"#ff0000\" color2=\"#fff\" angle=\"90\" />', '</v:rect>', '<v:rect strokecolor=\"#ccc\" class=\"{{cssPrefix}}vml {{cssPrefix}}vml-slider-bg\">', '<v:fill type=\"gradient\" method=\"none\" color=\"black\" color2=\"white\" o:opacity2=\"0%\" class=\"{{cssPrefix}}vml\" />', '</v:rect>', '<v:shape class=\"{{cssPrefix}}vml {{cssPrefix}}slider-handle\" coordsize=\"1 1\" style=\"width:1px;height:1px;\"' + 'path=\"m 0,7 l 14,7 m 7,14 l 7,0 ar 12,12 2,2 z\" filled=\"false\" stroked=\"true\" />', '</div>'].join('\\n');\nvar SVGHuebar = ['<svg class=\"{{cssPrefix}}svg {{cssPrefix}}svg-huebar\">', '<defs>', '<linearGradient id=\"g-{{id}}\" x1=\"0%\" y1=\"0%\" x2=\"0%\" y2=\"100%\">', '<stop offset=\"0%\" stop-color=\"rgb(255,0,0)\" />', '<stop offset=\"16.666%\" stop-color=\"rgb(255,255,0)\" />', '<stop offset=\"33.333%\" stop-color=\"rgb(0,255,0)\" />', '<stop offset=\"50%\" stop-color=\"rgb(0,255,255)\" />', '<stop offset=\"66.666%\" stop-color=\"rgb(0,0,255)\" />', '<stop offset=\"83.333%\" stop-color=\"rgb(255,0,255)\" />', '<stop offset=\"100%\" stop-color=\"rgb(255,0,0)\" />', '</linearGradient>', '</defs>', '<rect width=\"18px\" height=\"100%\" fill=\"url(#g-{{id}})\"></rect>', '<path transform=\"translate(-6,-3)\" class=\"{{cssPrefix}}huebar-handle\" d=\"M0 0 L4 4 L0 8 L0 0 Z\" fill=\"black\" stroke=\"none\" />', '</svg>'].join('\\n');\nvar VMLHuebar = ['<div class=\"{{cssPrefix}}vml-huebar\">', '<v:rect strokecolor=\"#ccc\" class=\"{{cssPrefix}}vml {{cssPrefix}}vml-huebar-bg\">', '<v:fill type=\"gradient\" method=\"none\" colors=\"' + '0% rgb(255,0,0), 16.666% rgb(255,255,0), 33.333% rgb(0,255,0), 50% rgb(0,255,255), 66.666% rgb(0,0,255), 83.333% rgb(255,0,255), 100% rgb(255,0,0)' + '\" angle=\"180\" class=\"{{cssPrefix}}vml\" />', '</v:rect>', '<v:shape class=\"{{cssPrefix}}vml {{cssPrefix}}huebar-handle\" coordsize=\"1 1\" style=\"width:1px;height:1px;position:absolute;z-index:1;right:22px;top:-3px;\"' + 'path=\"m 0,0 l 4,4 l 0,8 l 0,0 z\" filled=\"true\" fillcolor=\"black\" stroked=\"false\" />', '</div>'].join('\\n');\n\nif (isOldBrowser) {\n global.document.namespaces.add('v', 'urn:schemas-microsoft-com:vml');\n}\n\nmodule.exports = {\n layout: layout,\n slider: isOldBrowser ? VMLSlider : SVGSlider,\n huebar: isOldBrowser ? VMLHuebar : SVGHuebar\n};\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(25)))\n\n/***/ })\n/******/ ]);\n});"],"names":["window","factory","modules","installedModules","__webpack_require__","moduleId","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","target","objects","source","prop","len","hasOwnProp","arguments","length","obj","Array","isArray","forEachArray","forEachOwnProperties","iteratee","context","undefined","browser","forEach","sendHostname","currentId","utils","getLength","map","result","push","apply","filter","arr","elem","generateId","isOldBrowser","msie","version","sendHostName","searchElement","array","startIndex","indexOf","index","addClass","isFunction","isNumber","isUndefined","domUtil","Collection","util","View","options","container","id","appendHTMLElement","this","childs","view","parent","addChild","fn","add","removeChild","items","remove","render","each","childView","recursive","skipThis","resize","args","slice","_onResize","_beforeDestroy","_destroy","innerHTML","destroy","isChildView","clear","getViewBound","bound","getBoundingClientRect","x","left","y","top","width","right","height","bottom","tagName","className","el","document","createElement","appendChild","body","extend","isExisty","isString","isObject","R_EVENTNAME_SPLIT","CustomEvents","events","contexts","mixin","func","_getHandlerItem","handler","item","_safeEvent","eventName","byName","_safeContext","_indexOfContext","ctx","_memorizeContext","_forgetContext","contextIndex","splice","_bindEvent","on","self","split","once","onceHandler","off","_spliceMatches","predicate","_matchHandler","needRemove","_matchContext","_matchHandlerAndContext","matchHandler","matchContext","_offByEventName","andByHandler","handlerItems","_offByHandler","_offByObject","matchFunc","fire","invoke","hasListener","getListenerLength","String","hexRX","colorUtil","leadingZero","number","zero","isValidRGB","str","test","hexToRGB","hexStr","substring","parseInt","substr","rgbToHEX","g","b","toString","rgbToHSV","max","min","h","v","Math","round","hsvToRGB","f","q","floor","Function","safeEvent","bindEvent","element","type","eventHandler","e","event","addEventListener","attachEvent","wrappedHandler","existInEvents","memorizeHandler","types","preventDefault","returnValue","replace","match","toLowerCase","unbindEvent","idx","removeHandler","removeEventListener","detachEvent","createObject","subType","superType","constructor","getItemIDFn","getItemID","and","filters","cnt","or","merge","firstCollection","newItems","merged","col","_id","ownItems","itemToRemove","removed","has","isFilter","doWhenHas","find","groupBy","groupFunc","collection","baseValue","keyIsFunc","k","single","sort","compareFunction","toArray","isNull","param","tmp","nav","appName","userAgent","rIE","rIE11","rEdge","versionRegex","detector","chrome","firefox","safari","edge","others","navigator","Microsoft_Internet_Explorer","detectedVersion","parseFloat","Netscape","detected","exec","baseVal","global","disableTextSelection","enableTextSelection","getMouseButton","getTarget","Drag","_onMouseDown","distance","_isMoved","_distance","_dragStartFired","_dragStartEventData","_toggleDragEvent","toBind","mousemove","_onMouseMove","mouseup","_onMouseUp","_getEventData","mouseEvent","originEvent","mouseDownEvent","mouseMoveEvent","mouseUpEvent","EVENT_KEY","handlers","props","style","documentElement","srcElement","hasClass","inherit","tmpl","Palette","cssPrefix","preset","detailTxt","_onClick","clickEvent","eventData","color","_onChange","changeEvent","_toggleEvent","hexTextBox","handleEvent","querySelector","html","getItemClass","itemColor","isSelected","inArray","getClass","cssClass","origin","classList","contains","getMousePosition","closest","svgvml","HUE_WHEEL_MAX","Slider","display","_dragDataCache","sliderHandleElement","huebarHandleElement","baseColorElement","drag","colorSliderPosLimitRange","huebarPosLimitRange","dragStart","_onDragStart","_onDrag","dragEnd","_onDragEnd","click","toggle","onOff","isVisible","colorStr","rgb","hsv","layout","slider","huebar","sliderSvgElement","huebarSvgElement","moveHue","moveSaturationAndValue","_setColorSliderPosMax","sliderRects","getClientRects","_moveColorSliderHandle","newLeft","newTop","silent","handleColor","handle","setTranslateXY","setStrokeColor","getRGB","saturation","absMin","maxValue","abs","_moveColorSliderByPosition","offset","getSaturationAndValue","position","getTranslateXY","_setHueBarPosMax","huebarRects","_moveHueHandle","newGradientColor","hueHandleElement","setTranslateY","getHue","setGradientColorStop","degree","_moveHueByPosition","getHSV","sv","concat","_prepareColorSliderForMouseEvent","sliderPart","isColorSlider","parentElement","cache","mousePos","dragStartEvent","dragEvent","PARSE_TRANSLATE_NUM_REGEX","temp","getAttribute","setAttribute","strokecolor","colorPicker","colorutil","imagePing","ms7days","trackingId","hostname","location","applicationKeyForStorage","date","localStorage","getItem","tui","usageStatistics","Date","getTime","isExpired","setItem","setTimeout","readyState","tid","cid","dp","dh","ec","url","trackingInfo","trackingElement","queryString","src","setClassName","newClass","cls","join","Number","setData","testCSSProp","SUPPORT_SELECTSTART","userSelectProperty","convertToKebabCase","dataset","getData","removeData","KEY_PREVIOUS_USER_SELECT","removeAttribute","primaryButton","secondaryButton","wheelButton","button","getMouseButtonIE8AndEarlier","Layout","ColorPicker","Error","palette","_selectColor","_onSelectColorInPalette","_toggleSlider","_onToggleSlider","_onSelectColorInSlider","selectColorEventData","opt","setColor","getColor","isShow","F","template","EXPRESSION_REGEXP","BRACKET_NOTATION_REGEXP","BRACKET_REGEXP","DOT_NOTATION_REGEXP","DOT_REGEXP","STRING_NOTATION_REGEXP","STRING_REGEXP","NUMBER_REGEXP","EXPRESSION_INTERVAL","BLOCK_HELPERS","if","exps","sourcesInsideBlock","analyzed","ifExps","sourcesInsideIf","otherIfCount","start","extractElseif","compiledSource","exp","handleExpression","compile","additionalKey","additionalContext","with","asIndex","alias","splitByRegExp","text","regexp","prevIndex","RegExp","getValueFromContext","splitedExps","handleBlockHelper","helperKeyword","sourcesToEnd","endBlockIndex","end","executeBlockHelper","helperCount","expression","pop","helper","argExps","executeFunction","sources","firstExp","relativeElement","rect","positionArray","clientX","clientY","clientLeft","clientTop","matches","selector","parentNode","elProto","Element","matchSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","doc","ownerDocument","querySelectorAll","arrayLike","SVGSlider","VMLSlider","SVGHuebar","VMLHuebar","namespaces"],"mappings":";;;;;;qCAeGA,OAT8CC,EAStC,WACX,OAAgB,SAAUC,GAEhB,IAAIC,EAAmB,CAAE,EAGzB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,CAAA,GAUV,OANAJ,EAAQG,GAAUK,KAAKH,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,OACzB,CAyDU,OArDAF,EAAoBO,EAAIT,EAGxBE,EAAoBQ,EAAIT,EAGxBC,EAAoBS,EAAI,SAASP,EAASQ,EAAMC,GAC3CX,EAAoBY,EAAEV,EAASQ,IAClCG,OAAOC,eAAeZ,EAASQ,EAAM,CAAEK,YAAY,EAAMC,IAAKL,GAE/D,EAGDX,EAAoBiB,EAAI,SAASf,GACX,oBAAXgB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeZ,EAASgB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeZ,EAAS,aAAc,CAAEkB,OAAO,GACtD,EAODpB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IAAI9N,EAAejE,EAAoB,GAAGiE,aAEtCgT,EAAS,CAAC,kFAAmF,oFAAoFsF,KAAK,MACtLsG,EAAY,CAAC,yDAA0D,SAAU,6FAA8F,qDAAsD,yFAA0F,oBAAqB,6FAA8F,oEAAqE,sEAAuE,oBAAqB,UAAW,2FAA4F,2FAA4F,oLAAqL,UAAUtG,KAAK,MAC19BuG,EAAY,CAAC,wCAAyC,kFAAmF,2IAA4I,YAAa,kFAAmF,iHAAkH,YAAa,6LAAmM,UAAUvG,KAAK,MACtsBwG,EAAY,CAAC,yDAA0D,SAAU,mEAAoE,iDAAkD,wDAAyD,sDAAuD,oDAAqD,sDAAuD,wDAAyD,mDAAoD,oBAAqB,UAAW,iEAAkE,gIAAiI,UAAUxG,KAAK,MAClwByG,EAAY,CAAC,wCAAyC,kFAAmF,4OAAuP,YAAa,gPAAsP,UAAUzG,KAAK,MAElpBtY,GACF8N,EAAOlK,SAASob,WAAWrd,IAAI,IAAK,iCAGtCzF,EAAOD,QAAU,CACf+W,OAAQA,EACRC,OAAQjT,EAAe6e,EAAYD,EACnC1L,OAAQlT,EAAe+e,EAAYD,EAET,GAACziB,KAAKgF,KAAMtF,EAAoB,IAErD,GAEP,IA/mKEE,QAAiBL,mBAF8BA","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- import{__exports as e}from"../../_virtual/index7.mjs";var r;function t(){if(r)return e;r=1,Object.defineProperty(e,"__esModule",{value:!0});for(var t={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},o={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},n="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),i="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),a=0;a<10;a++)t[48+a]=t[96+a]=String(a);for(a=1;a<=24;a++)t[a+111]="F"+a;for(a=65;a<=90;a++)t[a]=String.fromCharCode(a+32),o[a]=String.fromCharCode(a);for(var f in t)o.hasOwnProperty(f)||(o[f]=t[f]);return e.base=t,e.keyName=function(e){var r=!(n&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||i&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?o:t)[e.keyCode]||e.key||"Unidentified";return"Esc"==r&&(r="Escape"),"Del"==r&&(r="Delete"),"Left"==r&&(r="ArrowLeft"),"Up"==r&&(r="ArrowUp"),"Right"==r&&(r="ArrowRight"),"Down"==r&&(r="ArrowDown"),r},e.shift=o,e}export{t as __require};
2
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../node_modules/w3c-keyname/index.cjs"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar base = {\n 8: \"Backspace\",\n 9: \"Tab\",\n 10: \"Enter\",\n 12: \"NumLock\",\n 13: \"Enter\",\n 16: \"Shift\",\n 17: \"Control\",\n 18: \"Alt\",\n 20: \"CapsLock\",\n 27: \"Escape\",\n 32: \" \",\n 33: \"PageUp\",\n 34: \"PageDown\",\n 35: \"End\",\n 36: \"Home\",\n 37: \"ArrowLeft\",\n 38: \"ArrowUp\",\n 39: \"ArrowRight\",\n 40: \"ArrowDown\",\n 44: \"PrintScreen\",\n 45: \"Insert\",\n 46: \"Delete\",\n 59: \";\",\n 61: \"=\",\n 91: \"Meta\",\n 92: \"Meta\",\n 106: \"*\",\n 107: \"+\",\n 108: \",\",\n 109: \"-\",\n 110: \".\",\n 111: \"/\",\n 144: \"NumLock\",\n 145: \"ScrollLock\",\n 160: \"Shift\",\n 161: \"Shift\",\n 162: \"Control\",\n 163: \"Control\",\n 164: \"Alt\",\n 165: \"Alt\",\n 173: \"-\",\n 186: \";\",\n 187: \"=\",\n 188: \",\",\n 189: \"-\",\n 190: \".\",\n 191: \"/\",\n 192: \"`\",\n 219: \"[\",\n 220: \"\\\\\",\n 221: \"]\",\n 222: \"'\"\n};\n\nvar shift = {\n 48: \")\",\n 49: \"!\",\n 50: \"@\",\n 51: \"#\",\n 52: \"$\",\n 53: \"%\",\n 54: \"^\",\n 55: \"&\",\n 56: \"*\",\n 57: \"(\",\n 59: \":\",\n 61: \"+\",\n 173: \"_\",\n 186: \":\",\n 187: \"+\",\n 188: \"<\",\n 189: \"_\",\n 190: \">\",\n 191: \"?\",\n 192: \"~\",\n 219: \"{\",\n 220: \"|\",\n 221: \"}\",\n 222: \"\\\"\"\n};\n\nvar mac = typeof navigator != \"undefined\" && /Mac/.test(navigator.platform);\nvar ie = typeof navigator != \"undefined\" && /MSIE \\d|Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(navigator.userAgent);\n\n// Fill in the digit keys\nfor (var i = 0; i < 10; i++) base[48 + i] = base[96 + i] = String(i);\n\n// The function keys\nfor (var i = 1; i <= 24; i++) base[i + 111] = \"F\" + i;\n\n// And the alphabetic keys\nfor (var i = 65; i <= 90; i++) {\n base[i] = String.fromCharCode(i + 32);\n shift[i] = String.fromCharCode(i);\n}\n\n// For each code that doesn't have a shift-equivalent, copy the base name\nfor (var code in base) if (!shift.hasOwnProperty(code)) shift[code] = base[code];\n\nfunction keyName(event) {\n // On macOS, keys held with Shift and Cmd don't reflect the effect of Shift in `.key`.\n // On IE, shift effect is never included in `.key`.\n var ignoreKey = mac && event.metaKey && event.shiftKey && !event.ctrlKey && !event.altKey ||\n ie && event.shiftKey && event.key && event.key.length == 1 ||\n event.key == \"Unidentified\";\n var name = (!ignoreKey && event.key) ||\n (event.shiftKey ? shift : base)[event.keyCode] ||\n event.key || \"Unidentified\";\n // Edge sometimes produces wrong names (Issue #3)\n if (name == \"Esc\") name = \"Escape\";\n if (name == \"Del\") name = \"Delete\";\n // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8860571/\n if (name == \"Left\") name = \"ArrowLeft\";\n if (name == \"Up\") name = \"ArrowUp\";\n if (name == \"Right\") name = \"ArrowRight\";\n if (name == \"Down\") name = \"ArrowDown\";\n return name\n}\n\nexports.base = base;\nexports.keyName = keyName;\nexports.shift = shift;\n"],"names":["Object","defineProperty","w3cKeyname","value","base","shift","mac","navigator","test","platform","ie","exec","userAgent","i","String","fromCharCode","code","hasOwnProperty","keyName","event","name","metaKey","shiftKey","ctrlKey","altKey","key","length","keyCode"],"mappings":"2FAEAA,OAAOC,eAAeC,EAAS,aAAc,CAAEC,OAAO,IAwFtD,IAtFA,IAAIC,EAAO,CACT,EAAG,YACH,EAAG,MACH,GAAI,QACJ,GAAI,UACJ,GAAI,QACJ,GAAI,QACJ,GAAI,UACJ,GAAI,MACJ,GAAI,WACJ,GAAI,SACJ,GAAI,IACJ,GAAI,SACJ,GAAI,WACJ,GAAI,MACJ,GAAI,OACJ,GAAI,YACJ,GAAI,UACJ,GAAI,aACJ,GAAI,YACJ,GAAI,cACJ,GAAI,SACJ,GAAI,SACJ,GAAI,IACJ,GAAI,IACJ,GAAI,OACJ,GAAI,OACJ,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,UACL,IAAK,aACL,IAAK,QACL,IAAK,QACL,IAAK,UACL,IAAK,UACL,IAAK,MACL,IAAK,MACL,I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eA,EAAO,UAEd,QAARA,IAAgBA,EAAO,aACf,MAARA,IAAcA,EAAO,WACb,SAARA,IAAiBA,EAAO,cAChB,QAARA,IAAgBA,EAAO,aACpBA,CACT,EAIAlB,EAAAG,MAAgBA","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- for(var e={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},r={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},t="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),o="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),n=0;n<10;n++)e[48+n]=e[96+n]=String(n);for(n=1;n<=24;n++)e[n+111]="F"+n;for(n=65;n<=90;n++)e[n]=String.fromCharCode(n+32),r[n]=String.fromCharCode(n);for(var a in e)r.hasOwnProperty(a)||(r[a]=e[a]);function i(n){var a=!(t&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||o&&n.shiftKey&&n.key&&1==n.key.length||"Unidentified"==n.key)&&n.key||(n.shiftKey?r:e)[n.keyCode]||n.key||"Unidentified";return"Esc"==a&&(a="Escape"),"Del"==a&&(a="Delete"),"Left"==a&&(a="ArrowLeft"),"Up"==a&&(a="ArrowUp"),"Right"==a&&(a="ArrowRight"),"Down"==a&&(a="ArrowDown"),a}export{e as base,i as keyName,r as shift};
2
- //# sourceMappingURL=index2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index2.mjs","sources":["../../../../node_modules/w3c-keyname/index.js"],"sourcesContent":["export var base = {\n 8: \"Backspace\",\n 9: \"Tab\",\n 10: \"Enter\",\n 12: \"NumLock\",\n 13: \"Enter\",\n 16: \"Shift\",\n 17: \"Control\",\n 18: \"Alt\",\n 20: \"CapsLock\",\n 27: \"Escape\",\n 32: \" \",\n 33: \"PageUp\",\n 34: \"PageDown\",\n 35: \"End\",\n 36: \"Home\",\n 37: \"ArrowLeft\",\n 38: \"ArrowUp\",\n 39: \"ArrowRight\",\n 40: \"ArrowDown\",\n 44: \"PrintScreen\",\n 45: \"Insert\",\n 46: \"Delete\",\n 59: \";\",\n 61: \"=\",\n 91: \"Meta\",\n 92: \"Meta\",\n 106: \"*\",\n 107: \"+\",\n 108: \",\",\n 109: \"-\",\n 110: \".\",\n 111: \"/\",\n 144: \"NumLock\",\n 145: \"ScrollLock\",\n 160: \"Shift\",\n 161: \"Shift\",\n 162: \"Control\",\n 163: \"Control\",\n 164: \"Alt\",\n 165: \"Alt\",\n 173: \"-\",\n 186: \";\",\n 187: \"=\",\n 188: \",\",\n 189: \"-\",\n 190: \".\",\n 191: \"/\",\n 192: \"`\",\n 219: \"[\",\n 220: \"\\\\\",\n 221: \"]\",\n 222: \"'\"\n}\n\nexport var shift = {\n 48: \")\",\n 49: \"!\",\n 50: \"@\",\n 51: \"#\",\n 52: \"$\",\n 53: \"%\",\n 54: \"^\",\n 55: \"&\",\n 56: \"*\",\n 57: \"(\",\n 59: \":\",\n 61: \"+\",\n 173: \"_\",\n 186: \":\",\n 187: \"+\",\n 188: \"<\",\n 189: \"_\",\n 190: \">\",\n 191: \"?\",\n 192: \"~\",\n 219: \"{\",\n 220: \"|\",\n 221: \"}\",\n 222: \"\\\"\"\n}\n\nvar mac = typeof navigator != \"undefined\" && /Mac/.test(navigator.platform)\nvar ie = typeof navigator != \"undefined\" && /MSIE \\d|Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(navigator.userAgent)\n\n// Fill in the digit keys\nfor (var i = 0; i < 10; i++) base[48 + i] = base[96 + i] = String(i)\n\n// The function keys\nfor (var i = 1; i <= 24; i++) base[i + 111] = \"F\" + i\n\n// And the alphabetic keys\nfor (var i = 65; i <= 90; i++) {\n base[i] = String.fromCharCode(i + 32)\n shift[i] = String.fromCharCode(i)\n}\n\n// For each code that doesn't have a shift-equivalent, copy the base name\nfor (var code in base) if (!shift.hasOwnProperty(code)) shift[code] = base[code]\n\nexport function keyName(event) {\n // On macOS, keys held with Shift and Cmd don't reflect the effect of Shift in `.key`.\n // On IE, shift effect is never included in `.key`.\n var ignoreKey = mac && event.metaKey && event.shiftKey && !event.ctrlKey && !event.altKey ||\n ie && event.shiftKey && event.key && event.key.length == 1 ||\n event.key == \"Unidentified\"\n var name = (!ignoreKey && event.key) ||\n (event.shiftKey ? shift : base)[event.keyCode] ||\n event.key || \"Unidentified\"\n // Edge sometimes produces wrong names (Issue #3)\n if (name == \"Esc\") name = \"Escape\"\n if (name == \"Del\") name = \"Delete\"\n // https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8860571/\n if (name == \"Left\") name = \"ArrowLeft\"\n if (name == \"Up\") name = \"ArrowUp\"\n if (name == \"Right\") name = \"ArrowRight\"\n if (name == \"Down\") name = \"ArrowDown\"\n return name\n}\n"],"names":["base","shift","mac","navigator","test","platform","ie","exec","userAgent","i","String","fromCharCode","code","hasOwnProperty","keyName","event","name","metaKey","shiftKey","ctrlKey","altKey","key","length","keyCode"],"mappings":"AAsFA,IAtFU,IAACA,EAAO,CAChB,EAAG,YACH,EAAG,MACH,GAAI,QACJ,GAAI,UACJ,GAAI,QACJ,GAAI,QACJ,GAAI,UACJ,GAAI,MACJ,GAAI,WACJ,GAA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