mirror of
https://github.com/atisawd/boxicons.git
synced 2024-11-13 19:04:52 +01:00
2 lines
No EOL
28 KiB
JavaScript
2 lines
No EOL
28 KiB
JavaScript
webpackJsonp([0],{453:function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,a,n){return a&&e(t.prototype,a),n&&e(t,n),t}}(),c=a(5),o=n(c),u=(a(36),a(48)),d=a(455),m=n(d);["javascript","xml"].forEach(function(e){var t=a(457)("./"+e);m.default.registerLanguage(e,t)});var f=function(e){function t(){return l(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return s(t,e),i(t,[{key:"componentDidMount",value:function(){window.scrollTo(0,0),document.querySelectorAll("code").forEach(function(e){m.default.highlightBlock(e)})}},{key:"render",value:function(){return o.default.createElement("div",{className:"page-back"},o.default.createElement("div",{className:"page-cont"},o.default.createElement("div",{className:"page-head"},o.default.createElement("div",{className:"page-head-in"},o.default.createElement("h1",null,"Getting Started"),o.default.createElement("p",null,"Switching to boxicons is easy and can be done in 2 steps. There are more features than just the icons set."))),o.default.createElement("div",{className:"page-body"},o.default.createElement("div",{className:"page-body-in"},o.default.createElement("div",{className:"docs"},o.default.createElement("div",{className:"docs-sidebar"},o.default.createElement("ul",{className:"docs-sidebar-list"},o.default.createElement("li",null,o.default.createElement("a",{href:"#starter-template"},"Starter Template")),o.default.createElement("li",null,o.default.createElement("a",{href:"#usage-with-css"},"Usage with CSS")),o.default.createElement("li",null,o.default.createElement("a",{href:"#install-via-npm"},"Install via NPM")),o.default.createElement("li",null,o.default.createElement("a",{href:"#usage-in-html"},"Usage in HTML")),o.default.createElement("li",null,o.default.createElement("a",{href:"#styling"},"Styling"),o.default.createElement("ul",null,o.default.createElement("li",null,o.default.createElement("a",{href:"#sizing"},"Sizing")),o.default.createElement("li",null,o.default.createElement("a",{href:"#rotation-flipping"},"Rotation & Flipping")),o.default.createElement("li",null,o.default.createElement("a",{href:"#border"},"Border")),o.default.createElement("li",null,o.default.createElement("a",{href:"#animation"},"Animation")),o.default.createElement("li",null,o.default.createElement("a",{href:"#animation-hover"},"Animation on Hover")))),o.default.createElement("li",null,o.default.createElement("a",{href:"#license"},"License")))),o.default.createElement("div",{className:"docs-content"},o.default.createElement("h3",null,"Quick Start"),o.default.createElement("div",null,"Looking to quickly add Boxicons to your project? Use the paths to CDN or Download the files here."),o.default.createElement("h3",{id:"starter-template"},"Starter Template"),o.default.createElement("div",null,"Create an HTML document and copy-paste the starter template",o.default.createElement("pre",null," ",o.default.createElement("code",{className:"html"},"<!doctype html>"," ",o.default.createElement("br",null),"<html lang='en'>",o.default.createElement("br",null),o.default.createElement("span",{className:"tab"},"<head>"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab-2"},"<meta charset='utf-8'>"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab-2"}," ","<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'>"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab-2"}," ","\x3c!-- Boxicons CSS --\x3e"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab-2"},"<link href='https://cdn.jsdelivr.net/npm/boxicons@"+u.VERSION+"/css/boxicons.min.css' rel='stylesheet'>"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab-2"},"<title>Hello, Boxicons!</title>"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab"},"</head>"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab"},"<body>"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab-2"}," ","<h1>Hello, Boxicons!</h1>"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab-2"},"<i class='bx bx-hot'></i>"),o.default.createElement("br",null),o.default.createElement("span",{className:"tab"}," </body>"),o.default.createElement("br",null),"</html>"))),o.default.createElement("h3",{id:"usage-with-css"},"Usage with CSS"),o.default.createElement("div",null,"Copy-paste the stylesheet ",o.default.createElement("code",{className:"side"},"link")," into your ",o.default.createElement("code",{className:"side"},"head")," to load our CSS",o.default.createElement("pre",null," ",o.default.createElement("code",{className:"html"},"<link href='https://cdn.jsdelivr.net/npm/boxicons@"+u.VERSION+"/css/boxicons.min.css' rel='stylesheet'>")),"or",o.default.createElement("pre",null," ",o.default.createElement("code",{className:"html"},"<link href='https://unpkg.com/boxicons@"+u.VERSION+"/css/boxicons.min.css' rel='stylesheet'>")),"This will load boxicons font into your webpage"),o.default.createElement("h3",{id:"install-via-npm"},"Install via NPM"),o.default.createElement("div",null,"Install the boxicons package by copy pasting the following in your terminal:",o.default.createElement("pre",null," ",o.default.createElement("code",null,"$ npm install boxicons --save")),"Import the npm module in your javascript",o.default.createElement("pre",null," ",o.default.createElement("code",{className:"javascript"},"import 'boxicons/css/boxicons.min.css'"))),o.default.createElement("h3",{id:"usage-in-html"},"Usage in HTML"),o.default.createElement("div",null,"To use an icon on your page, add a class",o.default.createElement("code",{className:"side"},"bx")," and seperate class with the icons name with a prefix ",o.default.createElement("code",{className:"side"},"bx-"),":",o.default.createElement("pre",null," ",o.default.createElement("code",{className:"html"},"<i class='bx bx-user'></i>"))),o.default.createElement("h3",{id:"styling"},"Styling"),o.default.createElement("h4",{id:"sizing"},"Sizing"),o.default.createElement("div",null,"You can change size of the icon with",o.default.createElement("code",{className:"side"},"font-size")," CSS. It will inherit the ",o.default.createElement("code",{className:"side"},"font-size"),"from the parent by default. There are fixed sizes you can add to the icon by adding classes",o.default.createElement("code",{className:"side"},"bx-xs"),", ",o.default.createElement("code",{className:"side"},"bx-sm"),", ",o.default.createElement("code",{className:"side"},"bx-md")," and ",o.default.createElement("code",{className:"side"},"bx-lg"),o.default.createElement("div",{className:"icon-display"},o.default.createElement("i",{className:"bx bx-smiley-happy bx-xs "}),o.default.createElement("i",{className:"bx bx-smiley-happy bx-sm"}),o.default.createElement("i",{className:"bx bx-smiley-happy bx-md"}),o.default.createElement("i",{className:"bx bx-smiley-happy bx-lg"})),o.default.createElement("pre",null," ",o.default.createElement("code",{className:"html"},"","<i class='bx bx-smiley-happy bx-xs'></i>",o.default.createElement("br",null),"<i class='bx bx-smiley-happy bx-sm'></i>",o.default.createElement("br",null),"<i class='bx bx-smiley-happy bx-md'></i>",o.default.createElement("br",null),"<i class='bx bx-smiley-happy bx-lg'></i>",o.default.createElement("br",null),"")),o.default.createElement("br",null)),o.default.createElement("h4",{id:"rotation-flipping"},"Rotation & Flipping"),o.default.createElement("div",null,"Rotate the icons using classes ",o.default.createElement("code",{className:"side"},"bx-rotate-90"),", ",o.default.createElement("code",{className:"side"},"bx-rotate-180")," and ",o.default.createElement("code",{className:"side"},"bx-rotate-270")," or Flip the icons using ",o.default.createElement("code",{className:"side"},"bx-flip-horizontal")," and ",o.default.createElement("code",{className:"side"},"bx-flip-vertical"),o.default.createElement("div",{className:"icon-display"},o.default.createElement("i",{className:"bx bx-like bx-rotate-90 bx-lg"}),o.default.createElement("i",{className:"bx bx-like bx-rotate-180 bx-lg"}),o.default.createElement("i",{className:"bx bx-like bx-rotate-270 bx-lg"}),o.default.createElement("i",{className:"bx bx-like bx-flip-horizontal bx-lg"}),o.default.createElement("i",{className:"bx bx-like bx-flip-vertical bx-lg"})),o.default.createElement("pre",null," ",o.default.createElement("code",{className:"html"},"","<i class='bx bx-like bx-rotate-90'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-rotate-180'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-rotate-270'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-flip-horizontal'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-flip-vertical '></i>",o.default.createElement("br",null),"")),o.default.createElement("br",null)),o.default.createElement("h4",{id:"border"},"Border"),o.default.createElement("div",null,"Add border to your icons with classes ",o.default.createElement("code",{className:"side"},"bx-border"),", ",o.default.createElement("code",{className:"side"},"bx-border-circle"),o.default.createElement("div",{className:"icon-display"},o.default.createElement("i",{className:"bx bx-heart bx-border bx-lg"}),o.default.createElement("i",{className:"bx bx-heart bx-border-circle bx-lg"})," "),o.default.createElement("pre",null," ",o.default.createElement("code",{className:"html"},"<i class='bx bx-heart bx-border'></i>",o.default.createElement("br",null),"<i class='bx bx-heart bx-border-circle'></i>",o.default.createElement("br",null))),o.default.createElement("br",null)),o.default.createElement("h4",{id:"animation"},"Animation"),o.default.createElement("div",null,"Animate your icons with pre built CSS animations using classes ",o.default.createElement("code",{className:"side"},"bx-spin"),",",o.default.createElement("code",{className:"side"},"bx-tada"),",",o.default.createElement("code",{className:"side"},"bx-flashing"),",",o.default.createElement("code",{className:"side"},"bx-burst"),",",o.default.createElement("code",{className:"side"},"bx-fade-left")," and ",o.default.createElement("code",{className:"side"},"bx-fade-right"),o.default.createElement("div",{className:"icon-display"},o.default.createElement("i",{className:"bx bx-loader bx-spin bx-lg"}),o.default.createElement("i",{className:"bx bx-bell bx-tada bx-lg"}),o.default.createElement("i",{className:"bx bx-error bx-flashing bx-lg"}),o.default.createElement("i",{className:"bx bx-radio-circle bx-burst bx-lg"}),o.default.createElement("i",{className:"bx bx-fade-right bx-paper-plane bx-lg"})),o.default.createElement("pre",null," ",o.default.createElement("code",{className:"html"},"","<i class='bx bx-like bx-spin'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-tada'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-flashing'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-burst'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-fade-left'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-fade-right'></i>",o.default.createElement("br",null),""))),o.default.createElement("br",null),o.default.createElement("h4",{id:"animation-hover"},"Animation on Hover"),o.default.createElement("div",null,"Animate your icons on hover with pre built CSS animations using classes ",o.default.createElement("code",{className:"side"},"bx-spin-hover"),",",o.default.createElement("code",{className:"side"},"bx-tada-hover"),",",o.default.createElement("code",{className:"side"},"bx-flashing-hover"),",",o.default.createElement("code",{className:"side"},"bx-burst-hover"),",",o.default.createElement("code",{className:"side"},"bx-fade-left-hover")," and ",o.default.createElement("code",{className:"side"},"bx-fade-right-hover"),o.default.createElement("div",{className:"icon-display"},o.default.createElement("i",{className:"bx bx-loader bx-spin-hover bx-lg"}),o.default.createElement("i",{className:"bx bx-bell bx-tada-hover bx-lg"}),o.default.createElement("i",{className:"bx bx-error bx-flashing-hover bx-lg"}),o.default.createElement("i",{className:"bx bx-radio-circle bx-burst-hover bx-lg"}),o.default.createElement("i",{className:"bx bx-fade-right-hover bx-paper-plane bx-lg"})),o.default.createElement("pre",null," ",o.default.createElement("code",{className:"html"},"","<i class='bx bx-like bx-spin-hover'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-tada-hover'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-flashing-hover'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-burst-hover'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-fade-left-hover'></i>",o.default.createElement("br",null),"<i class='bx bx-like bx-fade-right-hover'></i>",o.default.createElement("br",null),""))),o.default.createElement("h3",{id:"license"},"License"),o.default.createElement("div",null,"Boxicons is an open source project , you can use them in your commercial projects too.",o.default.createElement("br",null),"The icons (.svg) files are free to download are licensed under ",o.default.createElement("a",{href:"https://creativecommons.org/licenses/by/4.0/",target:"_blank"},"CC 4.0")," .",o.default.createElement("br",null),"The fonts files are licensed under ",o.default.createElement("a",{href:"https://opensource.org/licenses/OFL-1.1",target:"_blank"},"SIL OFL 1.1"),o.default.createElement("br",null),"Attribution is not required but is appreciated",o.default.createElement("br",null)," Other files which are not fonts or icons are licensed under the ",o.default.createElement("a",{href:"http://opensource.org/licenses/MIT",target:"_blank"},"MIT License"))))))))}}]),t}(c.Component);t.default=f},455:function(e,t,a){!function(e){"object"==typeof window&&window||"object"==typeof self&&self;e(t)}(function(e){function t(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function a(e){return e.nodeName.toLowerCase()}function n(e,t){var a=e&&e.exec(t);return a&&0===a.index}function l(e){return O.test(e)}function r(e){var t,a,n,r,s=e.className+" ";if(s+=e.parentNode?e.parentNode.className:"",a=M.exec(s))return N(a[1])?a[1]:"no-highlight";for(s=s.split(/\s+/),t=0,n=s.length;t<n;t++)if(r=s[t],l(r)||N(r))return r}function s(e){var t,a={},n=Array.prototype.slice.call(arguments,1);for(t in e)a[t]=e[t];return n.forEach(function(e){for(t in e)a[t]=e[t]}),a}function i(e){var t=[];return function e(n,l){for(var r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?l+=r.nodeValue.length:1===r.nodeType&&(t.push({event:"start",offset:l,node:r}),l=e(r,l),a(r).match(/br|hr|img|input/)||t.push({event:"stop",offset:l,node:r}));return l}(e,0),t}function c(e,n,l){function r(){return e.length&&n.length?e[0].offset!==n[0].offset?e[0].offset<n[0].offset?e:n:"start"===n[0].event?e:n:e.length?e:n}function s(e){function n(e){return" "+e.nodeName+'="'+t(e.value).replace('"',""")+'"'}u+="<"+a(e)+y.map.call(e.attributes,n).join("")+">"}function i(e){u+="</"+a(e)+">"}function c(e){("start"===e.event?s:i)(e.node)}for(var o=0,u="",d=[];e.length||n.length;){var m=r();if(u+=t(l.substring(o,m[0].offset)),o=m[0].offset,m===e){d.reverse().forEach(i);do{c(m.splice(0,1)[0]),m=r()}while(m===e&&m.length&&m[0].offset===o);d.reverse().forEach(s)}else"start"===m[0].event?d.push(m[0].node):d.pop(),c(m.splice(0,1)[0])}return u+t(l.substr(o))}function o(e){return e.variants&&!e.cached_variants&&(e.cached_variants=e.variants.map(function(t){return s(e,{variants:null},t)})),e.cached_variants||e.endsWithParent&&[s(e)]||[e]}function u(e){function t(e){return e&&e.source||e}function a(a,n){return new RegExp(t(a),"m"+(e.case_insensitive?"i":"")+(n?"g":""))}function n(l,r){if(!l.compiled){if(l.compiled=!0,l.keywords=l.keywords||l.beginKeywords,l.keywords){var s={},i=function(t,a){e.case_insensitive&&(a=a.toLowerCase()),a.split(" ").forEach(function(e){var a=e.split("|");s[a[0]]=[t,a[1]?Number(a[1]):1]})};"string"==typeof l.keywords?i("keyword",l.keywords):_(l.keywords).forEach(function(e){i(e,l.keywords[e])}),l.keywords=s}l.lexemesRe=a(l.lexemes||/\w+/,!0),r&&(l.beginKeywords&&(l.begin="\\b("+l.beginKeywords.split(" ").join("|")+")\\b"),l.begin||(l.begin=/\B|\b/),l.beginRe=a(l.begin),l.end||l.endsWithParent||(l.end=/\B|\b/),l.end&&(l.endRe=a(l.end)),l.terminator_end=t(l.end)||"",l.endsWithParent&&r.terminator_end&&(l.terminator_end+=(l.end?"|":"")+r.terminator_end)),l.illegal&&(l.illegalRe=a(l.illegal)),null==l.relevance&&(l.relevance=1),l.contains||(l.contains=[]),l.contains=Array.prototype.concat.apply([],l.contains.map(function(e){return o("self"===e?l:e)})),l.contains.forEach(function(e){n(e,l)}),l.starts&&n(l.starts,r);var c=l.contains.map(function(e){return e.beginKeywords?"\\.?("+e.begin+")\\.?":e.begin}).concat([l.terminator_end,l.illegal]).map(t).filter(Boolean);l.terminators=c.length?a(c.join("|"),!0):{exec:function(){return null}}}}n(e)}function d(e,a,l,r){function s(e,t){var a,l;for(a=0,l=t.contains.length;a<l;a++)if(n(t.contains[a].beginRe,e))return t.contains[a]}function i(e,t){if(n(e.endRe,t)){for(;e.endsParent&&e.parent;)e=e.parent;return e}if(e.endsWithParent)return i(e.parent,t)}function c(e,t){return!l&&n(t.illegalRe,e)}function o(e,t){var a=h.case_insensitive?t[0].toLowerCase():t[0];return e.keywords.hasOwnProperty(a)&&e.keywords[a]}function f(e,t,a,n){var l=n?"":C.classPrefix,r='<span class="'+l,s=a?"":k;return(r+=e+'">')+t+s}function b(){var e,a,n,l;if(!y.keywords)return t(O);for(l="",a=0,y.lexemesRe.lastIndex=0,n=y.lexemesRe.exec(O);n;)l+=t(O.substring(a,n.index)),e=o(y,n),e?(M+=e[1],l+=f(e[0],t(n[0]))):l+=t(n[0]),a=y.lexemesRe.lastIndex,n=y.lexemesRe.exec(O);return l+t(O.substr(a))}function E(){var e="string"==typeof y.subLanguage;if(e&&!w[y.subLanguage])return t(O);var a=e?d(y.subLanguage,O,!0,_[y.subLanguage]):m(O,y.subLanguage.length?y.subLanguage:void 0);return y.relevance>0&&(M+=a.relevance),e&&(_[y.subLanguage]=a.top),f(a.language,a.value,!1,!0)}function g(){R+=null!=y.subLanguage?E():b(),O=""}function p(e){R+=e.className?f(e.className,"",!0):"",y=Object.create(e,{parent:{value:y}})}function x(e,t){if(O+=e,null==t)return g(),0;var a=s(t,y);if(a)return a.skip?O+=t:(a.excludeBegin&&(O+=t),g(),a.returnBegin||a.excludeBegin||(O=t)),p(a,t),a.returnBegin?0:t.length;var n=i(y,t);if(n){var l=y;l.skip?O+=t:(l.returnEnd||l.excludeEnd||(O+=t),g(),l.excludeEnd&&(O=t));do{y.className&&(R+=k),y.skip||(M+=y.relevance),y=y.parent}while(y!==n.parent);return n.starts&&p(n.starts,""),l.returnEnd?0:t.length}if(c(t,y))throw new Error('Illegal lexeme "'+t+'" for mode "'+(y.className||"<unnamed>")+'"');return O+=t,t.length||1}var h=N(e);if(!h)throw new Error('Unknown language: "'+e+'"');u(h);var v,y=r||h,_={},R="";for(v=y;v!==h;v=v.parent)v.className&&(R=f(v.className,"",!0)+R);var O="",M=0;try{for(var S,T,A=0;;){if(y.terminators.lastIndex=A,!(S=y.terminators.exec(a)))break;T=x(a.substring(A,S.index),S[0]),A=S.index+T}for(x(a.substr(A)),v=y;v.parent;v=v.parent)v.className&&(R+=k);return{relevance:M,value:R,language:e,top:y}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{relevance:0,value:t(a)};throw e}}function m(e,a){a=a||C.languages||_(w);var n={relevance:0,value:t(e)},l=n;return a.filter(N).forEach(function(t){var a=d(t,e,!1);a.language=t,a.relevance>l.relevance&&(l=a),a.relevance>n.relevance&&(l=n,n=a)}),l.language&&(n.second_best=l),n}function f(e){return C.tabReplace||C.useBR?e.replace(S,function(e,t){return C.useBR&&"\n"===e?"<br>":C.tabReplace?t.replace(/\t/g,C.tabReplace):""}):e}function b(e,t,a){var n=t?R[t]:a,l=[e.trim()];return e.match(/\bhljs\b/)||l.push("hljs"),-1===e.indexOf(n)&&l.push(n),l.join(" ").trim()}function E(e){var t,a,n,s,o,u=r(e);l(u)||(C.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div"),t.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")):t=e,o=t.textContent,n=u?d(u,o,!0):m(o),a=i(t),a.length&&(s=document.createElementNS("http://www.w3.org/1999/xhtml","div"),s.innerHTML=n.value,n.value=c(a,i(s),o)),n.value=f(n.value),e.innerHTML=n.value,e.className=b(e.className,u,n.language),e.result={language:n.language,re:n.relevance},n.second_best&&(e.second_best={language:n.second_best.language,re:n.second_best.relevance}))}function g(e){C=s(C,e)}function p(){if(!p.called){p.called=!0;var e=document.querySelectorAll("pre code");y.forEach.call(e,E)}}function x(){addEventListener("DOMContentLoaded",p,!1),addEventListener("load",p,!1)}function h(t,a){var n=w[t]=a(e);n.aliases&&n.aliases.forEach(function(e){R[e]=t})}function v(){return _(w)}function N(e){return e=(e||"").toLowerCase(),w[e]||w[R[e]]}var y=[],_=Object.keys,w={},R={},O=/^(no-?highlight|plain|text)$/i,M=/\blang(?:uage)?-([\w-]+)\b/i,S=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,k="</span>",C={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};return e.highlight=d,e.highlightAuto=m,e.fixMarkup=f,e.highlightBlock=E,e.configure=g,e.initHighlighting=p,e.initHighlightingOnLoad=x,e.registerLanguage=h,e.listLanguages=v,e.getLanguage=N,e.inherit=s,e.IDENT_RE="[a-zA-Z]\\w*",e.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",e.NUMBER_RE="\\b\\d+(\\.\\d+)?",e.C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",e.BINARY_NUMBER_RE="\\b(0b[01]+)",e.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",e.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},e.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},e.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},e.COMMENT=function(t,a,n){var l=e.inherit({className:"comment",begin:t,end:a,contains:[]},n||{});return l.contains.push(e.PHRASAL_WORDS_MODE),l.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),l},e.C_LINE_COMMENT_MODE=e.COMMENT("//","$"),e.C_BLOCK_COMMENT_MODE=e.COMMENT("/\\*","\\*/"),e.HASH_COMMENT_MODE=e.COMMENT("#","$"),e.NUMBER_MODE={className:"number",begin:e.NUMBER_RE,relevance:0},e.C_NUMBER_MODE={className:"number",begin:e.C_NUMBER_RE,relevance:0},e.BINARY_NUMBER_MODE={className:"number",begin:e.BINARY_NUMBER_RE,relevance:0},e.CSS_NUMBER_MODE={className:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},e.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}]},e.TITLE_MODE={className:"title",begin:e.IDENT_RE,relevance:0},e.UNDERSCORE_TITLE_MODE={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},e.METHOD_GUARD={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,relevance:0},e})},456:function(e,t){e.exports=function(e){var t={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:"[A-Za-z0-9\\._:-]+",relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],case_insensitive:!0,contains:[{className:"meta",begin:"<!DOCTYPE",end:">",relevance:10,contains:[{begin:"\\[",end:"\\]"}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},{begin:/<\?(php)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0}]},{className:"tag",begin:"<style(?=\\s|>|$)",end:">",keywords:{name:"style"},contains:[t],starts:{end:"</style>",returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:"<script(?=\\s|>|$)",end:">",keywords:{name:"script"},contains:[t],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars","xml"]}},{className:"meta",variants:[{begin:/<\?xml/,end:/\?>/,relevance:10},{begin:/<\?\w+/,end:/\?>/}]},{className:"tag",begin:"</?",end:"/?>",contains:[{className:"name",begin:/[^\/><\s]+/,relevance:0},t]}]}}},457:function(e,t,a){function n(e){return a(l(e))}function l(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./javascript":458,"./xml":456};n.keys=function(){return Object.keys(r)},n.resolve=l,e.exports=n,n.id=457},458:function(e,t){e.exports=function(e){var t="[A-Za-z$_][0-9A-Za-z$_]*",a={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},n={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},l={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},r={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,l]};l.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,n,e.REGEXP_MODE];var s=l.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{aliases:["js","jsx"],keywords:a,contains:[{className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},{className:"meta",begin:/^#!/,end:/$/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{begin:/[{,]\s*/,relevance:0,contains:[{begin:t+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:t,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+t+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:s}]}]},{begin:/</,end:/(\/\w+|\w+\/)>/,subLanguage:"xml",contains:[{begin:/<\w+\s*\/>/,skip:!0},{begin:/<\w+/,end:/(\/\w+|\w+\/)>/,skip:!0,contains:[{begin:/<\w+\s*\/>/,skip:!0},"self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:t}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:s}],illegal:/\[|%/},{begin:/\$[(.]/},e.METHOD_GUARD,{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"constructor",end:/\{/,excludeEnd:!0}],illegal:/#(?!!)/}}}});
|
|
//# sourceMappingURL=0.bundle.js.map
|