- {{ range .Site.RegularPages.GroupByPublishDate "2006" }}
- {{ if ne .Key "0001" }}
-
-
- {{ range .Pages.GroupByDate "January" }}
-
-
-
- {{ range where .Pages "Type" $contentTypeName }}
- {{ if eq .Kind "page" }}
-
-
-
-
- {{ .Date.Format ($.Site.Params.DateFormatList | default "2006-01-02") }}
-
- {{ with .Params.Author }}
- —
- {{ $.Site.Params.WrittenBy | default "Written by" }}
- {{ . }}
-
- {{ end }}
- {{ if $.Site.Params.ShowReadingTime }}
- — {{ .ReadingTime }}
- {{ $.Site.Params.MinuteReadingTime | default "min read" }}
- {{ end }}
-
+
+
{{ .Title }}
+ {{ range .Site.RegularPages.GroupByPublishDate "2006" }}
+ {{ if ne .Key "0001" }}
+
+
+ {{ range .Pages.GroupByDate "January" }}
+
+
+
+ {{ range where .Pages "Type" $contentTypeName }}
+ {{ if eq .Kind "page" }}
+
+
+
+
+ {{ .Date.Format ($.Site.Params.DateFormatList | default "2006-01-02") }}
+
+ {{ with .Params.Author }}
+ —
+ {{ $.Site.Params.WrittenBy | default "Written by" }}
+ {{ . }}
+
+ {{ end }}
+ {{ if $.Site.Params.ShowReadingTime }}
+ — {{ .ReadingTime }}
+ {{ $.Site.Params.MinuteReadingTime | default "min read" }}
+ {{ end }}
+
+
+ {{ end }}
+ {{ end }}
+
+
+ {{ end }}
- {{ end }}
- {{ end }}
-
-
+ {{ end }}
{{ end }}
- {{ end }}
- {{ end }}
-
{{ end }}
diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html
index c2434f2..1720a8e 100644
--- a/layouts/partials/analytics.html
+++ b/layouts/partials/analytics.html
@@ -4,7 +4,7 @@
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-ga('create', '{{.}}', 'auto');
+ga('create', '{{ . }}', 'auto');
ga('send', 'pageview');
diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html
index 64f5a64..8dd2afb 100644
--- a/layouts/partials/comments.html
+++ b/layouts/partials/comments.html
@@ -4,5 +4,4 @@ Hugo directory and insert:
{{ template "_internal/disqus.html" . }}
-or whatever comment engine you want -> https://gohugo.io/content-management/comments/#readout
--->
+or whatever comment engine you want -> https://gohugo.io/content-management/comments/#readout -->
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 9534fad..1ae8080 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -2,13 +2,19 @@
diff --git a/layouts/partials/greater-icon.html b/layouts/partials/greater-icon.html
index b0b2cbc..dc69bbb 100644
--- a/layouts/partials/greater-icon.html
+++ b/layouts/partials/greater-icon.html
@@ -1,3 +1,3 @@
-
+
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index afc0596..824ce63 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -1,21 +1,39 @@
-
-
-
-
-
+
+
+
+
+
{{- partial "prepended_head.html" . }}
-
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
{{ template "_internal/twitter_cards.html" . }}
@@ -25,7 +43,7 @@
{{ range .AlternativeOutputFormats -}}
- {{ printf `
` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
+ {{ printf `
` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
{{ end -}}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 0a20d2b..f7b5e75 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -6,8 +6,8 @@
{{ partial "menu.html" . }}
{{ end }}
diff --git a/layouts/partials/lastmod.html b/layouts/partials/lastmod.html
index 6aa3735..3f210bd 100644
--- a/layouts/partials/lastmod.html
+++ b/layouts/partials/lastmod.html
@@ -3,7 +3,8 @@
{{ if gt .Lastmod (add (time .Date).Unix $hourInSec) }}
{{ with .Lastmod }}
- ({{ $.Site.Params.LastModDisplay }} {{ .Format ($.Site.Params.DateFormatSingle | default "2006-01-02") }})
+ ({{ $.Site.Params.LastModDisplay }}
+ {{ .Format ($.Site.Params.DateFormatSingle | default "2006-01-02") }})
{{ end }}
{{ end }}
diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html
index b9b87bd..598006f 100644
--- a/layouts/partials/logo.html
+++ b/layouts/partials/logo.html
@@ -1,9 +1,15 @@
-
+
{{ if $.Site.Params.Logo.path }}
- {{ else }}
+ {{ else }}
{{ partial "greater-icon.html" . }}
- {{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}hello friend{{ end }}
+ {{ with $.Site.Params.Logo.logoText }}{{ . }}{{ else }}hello friend{{ end }}
{{ end }}
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
index 4f7385f..660e02e 100644
--- a/layouts/partials/menu.html
+++ b/layouts/partials/menu.html
@@ -10,9 +10,10 @@
{{ end }}
- {{ else }}
+ {{ else }}
{{ range $.Site.Menus.main }}
{{ if not .HasChildren }}
{{ .Name }}
diff --git a/layouts/partials/theme-icon.html b/layouts/partials/theme-icon.html
index c72a3fc..c44b326 100644
--- a/layouts/partials/theme-icon.html
+++ b/layouts/partials/theme-icon.html
@@ -1,5 +1,14 @@
-
-
+
+ 13.7157 13.7157 7 22 7V37C13.7157 37 7 30.2843 7 22Z"
+ />
diff --git a/layouts/shortcodes/imgproc.html b/layouts/shortcodes/imgproc.html
index 6681b0a..1155796 100644
--- a/layouts/shortcodes/imgproc.html
+++ b/layouts/shortcodes/imgproc.html
@@ -1,25 +1,30 @@
{{ $original := .Page.Resources.GetMatch (printf "*%s*" (.Get 0)) }}
{{ $command := .Get 1 }}
{{ $options := .Get 2 }}
-{{ $position := .Get 3}}
+{{ $position := .Get 3 }}
-{{ if eq $command "Fit"}}
+{{ if eq $command "Fit" }}
{{ .Scratch.Set "image" ($original.Fit $options) }}
-{{ else if eq $command "Resize"}}
+ {{ else if eq $command "Resize" }}
{{ .Scratch.Set "image" ($original.Resize $options) }}
-{{ else if eq $command "Fill"}}
+ {{ else if eq $command "Fill" }}
{{ .Scratch.Set "image" ($original.Fill $options) }}
-{{ else }}
- {{ errorf "Invalid image processing command: Must be one of Fit, Fill or Resize."}}
+ {{ else }}
+ {{ errorf "Invalid image processing command: Must be one of Fit, Fill or Resize." }}
{{ end }}
{{ $image := .Scratch.Get "image" }}
-
-
- {{ with .Inner }}
+
+
+ {{ with .Inner }}
{{ . }}
- {{ end }}
+ {{ end }}
diff --git a/package.json b/package.json
index 177df23..5ed6f67 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,9 @@
"postcss-preset-env": "^6.7.0",
"postcss-reporter": "^6.0.1",
"postcss-url": "^8.0.0",
+ "prettier": "^2.1.1",
"prettier-eslint-cli": "^5.0.0",
+ "prettier-plugin-go-template": "^0.0.9",
"ramda": "^0.27.1",
"style-loader": "^1.2.1",
"uglifyjs-webpack-plugin": "^2.2.0",
diff --git a/static/assets/c7c0091f1b2b06064572ec0016f1e142.woff b/static/assets/Inter-Bold.woff
similarity index 100%
rename from static/assets/c7c0091f1b2b06064572ec0016f1e142.woff
rename to static/assets/Inter-Bold.woff
diff --git a/static/assets/3c747ac4004be3a30e9807662caebaa0.woff2 b/static/assets/Inter-Bold.woff2
similarity index 100%
rename from static/assets/3c747ac4004be3a30e9807662caebaa0.woff2
rename to static/assets/Inter-Bold.woff2
diff --git a/static/assets/aa42f3d22ea9fae2b945f33b94d180ea.woff b/static/assets/Inter-BoldItalic.woff
similarity index 100%
rename from static/assets/aa42f3d22ea9fae2b945f33b94d180ea.woff
rename to static/assets/Inter-BoldItalic.woff
diff --git a/static/assets/86b501b4ef9d20d70996b196b69dc1e7.woff2 b/static/assets/Inter-BoldItalic.woff2
similarity index 100%
rename from static/assets/86b501b4ef9d20d70996b196b69dc1e7.woff2
rename to static/assets/Inter-BoldItalic.woff2
diff --git a/static/assets/fa701b4b599a803effc38485e2957ca3.woff b/static/assets/Inter-Italic.woff
similarity index 100%
rename from static/assets/fa701b4b599a803effc38485e2957ca3.woff
rename to static/assets/Inter-Italic.woff
diff --git a/static/assets/1b084c69c69a1b3a2618caed68164471.woff2 b/static/assets/Inter-Italic.woff2
similarity index 100%
rename from static/assets/1b084c69c69a1b3a2618caed68164471.woff2
rename to static/assets/Inter-Italic.woff2
diff --git a/static/assets/cc6a88688869161eb83642d9393a0c2d.woff b/static/assets/Inter-Medium.woff
similarity index 100%
rename from static/assets/cc6a88688869161eb83642d9393a0c2d.woff
rename to static/assets/Inter-Medium.woff
diff --git a/static/assets/5b53c519b3184a74a98ca6125f513c9d.woff2 b/static/assets/Inter-Medium.woff2
similarity index 100%
rename from static/assets/5b53c519b3184a74a98ca6125f513c9d.woff2
rename to static/assets/Inter-Medium.woff2
diff --git a/static/assets/642b4659478701575989a8926822356b.woff b/static/assets/Inter-MediumItalic.woff
similarity index 100%
rename from static/assets/642b4659478701575989a8926822356b.woff
rename to static/assets/Inter-MediumItalic.woff
diff --git a/static/assets/f25066e37f191178ef56ae1f2f901f92.woff2 b/static/assets/Inter-MediumItalic.woff2
similarity index 100%
rename from static/assets/f25066e37f191178ef56ae1f2f901f92.woff2
rename to static/assets/Inter-MediumItalic.woff2
diff --git a/static/assets/fc49d131f795b4d48f261495d4caef09.woff b/static/assets/Inter-Regular.woff
similarity index 100%
rename from static/assets/fc49d131f795b4d48f261495d4caef09.woff
rename to static/assets/Inter-Regular.woff
diff --git a/static/assets/2505c0d4b34ffca98f8f8852e24928eb.woff2 b/static/assets/Inter-Regular.woff2
similarity index 100%
rename from static/assets/2505c0d4b34ffca98f8f8852e24928eb.woff2
rename to static/assets/Inter-Regular.woff2
diff --git a/static/assets/main.js b/static/assets/main.js
index f44b623..1ae888d 100644
--- a/static/assets/main.js
+++ b/static/assets/main.js
@@ -1 +1,122 @@
-!function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,n){n(1),e.exports=n(2)},function(e,t){function n(){return window.matchMedia(l).matches}function o(){c&&c.classList.toggle("hidden",!n()),i&&i.classList.toggle("hidden",n()),u&&u.classList.toggle("hidden",!n())}var r=document.querySelector(".container"),i=document.querySelector(".menu"),c=document.querySelector(".menu-trigger"),d=(document.querySelector(".menu__inner--desktop"),document.querySelector(".menu__sub-inner-more-trigger")),u=document.querySelector(".menu__sub-inner-more"),l=getComputedStyle(document.body).getPropertyValue("--phoneWidth");i&&i.addEventListener("click",function(e){return e.stopPropagation()}),u&&u.addEventListener("click",function(e){return e.stopPropagation()}),o(),document.body.addEventListener("click",function(){n()||!u||u.classList.contains("hidden")?n()&&!i.classList.contains("hidden")&&i.classList.add("hidden"):u.classList.add("hidden")}),window.addEventListener("resize",o),c&&c.addEventListener("click",function(e){e.stopPropagation(),i&&i.classList.toggle("hidden")}),d&&d.addEventListener("click",function(e){e.stopPropagation(),u&&u.classList.toggle("hidden"),u&&u.getBoundingClientRect().right>r.getBoundingClientRect().right&&(u.style.left="auto",u.style.right=0)})},function(e,t){var n=window.localStorage&&window.localStorage.getItem("theme"),o=document.querySelector(".theme-toggle"),r="dark"===n;null!==n&&document.body.classList.toggle("dark-theme",r),o.addEventListener("click",function(){document.body.classList.toggle("dark-theme"),window.localStorage&&window.localStorage.setItem("theme",document.body.classList.contains("dark-theme")?"dark":"light")})}]);
\ No newline at end of file
+/******/ (function(modules) { // webpackBootstrap
+/******/ // The module cache
+/******/ var installedModules = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/
+/******/ // Check if module is in cache
+/******/ if(installedModules[moduleId]) {
+/******/ return installedModules[moduleId].exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = installedModules[moduleId] = {
+/******/ i: moduleId,
+/******/ l: false,
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ // Flag the module as loaded
+/******/ module.l = true;
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = modules;
+/******/
+/******/ // expose the module cache
+/******/ __webpack_require__.c = installedModules;
+/******/
+/******/ // define getter function for harmony exports
+/******/ __webpack_require__.d = function(exports, name, getter) {
+/******/ if(!__webpack_require__.o(exports, name)) {
+/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
+/******/ }
+/******/ };
+/******/
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = function(exports) {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/
+/******/ // create a fake namespace object
+/******/ // mode & 1: value is a module id, require it
+/******/ // mode & 2: merge all properties of value into the ns
+/******/ // mode & 4: return value when already ns object
+/******/ // mode & 8|1: behave like require
+/******/ __webpack_require__.t = function(value, mode) {
+/******/ if(mode & 1) value = __webpack_require__(value);
+/******/ if(mode & 8) return value;
+/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
+/******/ var ns = Object.create(null);
+/******/ __webpack_require__.r(ns);
+/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
+/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
+/******/ return ns;
+/******/ };
+/******/
+/******/ // getDefaultExport function for compatibility with non-harmony modules
+/******/ __webpack_require__.n = function(module) {
+/******/ var getter = module && module.__esModule ?
+/******/ function getDefault() { return module['default']; } :
+/******/ function getModuleExports() { return module; };
+/******/ __webpack_require__.d(getter, 'a', getter);
+/******/ return getter;
+/******/ };
+/******/
+/******/ // Object.prototype.hasOwnProperty.call
+/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
+/******/
+/******/ // __webpack_public_path__
+/******/ __webpack_require__.p = "";
+/******/
+/******/
+/******/ // Load entry module and return exports
+/******/ return __webpack_require__(__webpack_require__.s = 0);
+/******/ })
+/************************************************************************/
+/******/ ({
+
+/***/ "./assets/js/menu.js":
+/*!***************************!*\
+ !*** ./assets/js/menu.js ***!
+ \***************************/
+/*! no static exports found */
+/***/ (function(module, exports) {
+
+eval("var container = document.querySelector(\".container\");\nvar menu = document.querySelector(\".menu\");\nvar mobileMenuTrigger = document.querySelector(\".menu-trigger\");\nvar desktopMenu = document.querySelector(\".menu__inner--desktop\");\nvar desktopMenuTrigger = document.querySelector(\".menu__sub-inner-more-trigger\");\nvar menuMore = document.querySelector(\".menu__sub-inner-more\");\nvar mobileQuery = getComputedStyle(document.body).getPropertyValue(\"--phoneWidth\");\n\nvar isMobile = function isMobile() {\n return window.matchMedia(mobileQuery).matches;\n};\n\nvar isMobileMenu = function isMobileMenu() {\n mobileMenuTrigger && mobileMenuTrigger.classList.toggle(\"hidden\", !isMobile());\n menu && menu.classList.toggle(\"hidden\", isMobile());\n menuMore && menuMore.classList.toggle(\"hidden\", !isMobile());\n}; // Common\n\n\nmenu && menu.addEventListener(\"click\", function (e) {\n return e.stopPropagation();\n});\nmenuMore && menuMore.addEventListener(\"click\", function (e) {\n return e.stopPropagation();\n});\nisMobileMenu();\ndocument.body.addEventListener(\"click\", function () {\n if (!isMobile() && menuMore && !menuMore.classList.contains(\"hidden\")) {\n menuMore.classList.add(\"hidden\");\n } else if (isMobile() && !menu.classList.contains(\"hidden\")) {\n menu.classList.add(\"hidden\");\n }\n});\nwindow.addEventListener(\"resize\", isMobileMenu); // Mobile menu\n\nmobileMenuTrigger && mobileMenuTrigger.addEventListener(\"click\", function (e) {\n e.stopPropagation();\n menu && menu.classList.toggle(\"hidden\");\n}); // Desktop menu\n\ndesktopMenuTrigger && desktopMenuTrigger.addEventListener(\"click\", function (e) {\n e.stopPropagation();\n menuMore && menuMore.classList.toggle(\"hidden\");\n\n if (menuMore && menuMore.getBoundingClientRect().right > container.getBoundingClientRect().right) {\n menuMore.style.left = \"auto\";\n menuMore.style.right = 0;\n }\n});\n\n//# sourceURL=webpack:///./assets/js/menu.js?");
+
+/***/ }),
+
+/***/ "./assets/js/theme.js":
+/*!****************************!*\
+ !*** ./assets/js/theme.js ***!
+ \****************************/
+/*! no static exports found */
+/***/ (function(module, exports) {
+
+eval("// Toggle theme\nvar getTheme = window.localStorage && window.localStorage.getItem(\"theme\");\nvar themeToggle = document.querySelector(\".theme-toggle\");\nvar isDark = getTheme === \"dark\";\n\nif (getTheme !== null) {\n document.body.classList.toggle(\"dark-theme\", isDark);\n}\n\nthemeToggle.addEventListener(\"click\", function () {\n document.body.classList.toggle(\"dark-theme\");\n window.localStorage && window.localStorage.setItem(\"theme\", document.body.classList.contains(\"dark-theme\") ? \"dark\" : \"light\");\n});\n\n//# sourceURL=webpack:///./assets/js/theme.js?");
+
+/***/ }),
+
+/***/ 0:
+/*!******************************************************!*\
+ !*** multi ./assets/js/menu.js ./assets/js/theme.js ***!
+ \******************************************************/
+/*! no static exports found */
+/***/ (function(module, exports, __webpack_require__) {
+
+eval("__webpack_require__(/*! /Users/radek/Documents/Git/Moje/hello-friend/themes/hello-friend/assets/js/menu.js */\"./assets/js/menu.js\");\nmodule.exports = __webpack_require__(/*! /Users/radek/Documents/Git/Moje/hello-friend/themes/hello-friend/assets/js/theme.js */\"./assets/js/theme.js\");\n\n\n//# sourceURL=webpack:///multi_./assets/js/menu.js_./assets/js/theme.js?");
+
+/***/ })
+
+/******/ });
\ No newline at end of file
diff --git a/static/assets/prism.js b/static/assets/prism.js
index 36a67a8..41f79b8 100644
--- a/static/assets/prism.js
+++ b/static/assets/prism.js
@@ -1,8 +1,122 @@
-!function(n){var a={};function i(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=n,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=3)}([,,,function(F,e,D){(function(e){var t,n,a,d="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},b=function(){var l=/\blang(?:uage)?-([\w-]+)\b/i,t=0,P=d.Prism={manual:d.Prism&&d.Prism.manual,disableWorkerMessageHandler:d.Prism&&d.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof o?new o(e.type,P.util.encode(e.content),e.alias):"Array"===P.util.type(e)?e.map(P.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(!(w instanceof s)){if(f&&y!=t.length-1){if(p.lastIndex=v,!(L=p.exec(e)))break;for(var k=L.index+(m?L[1].length:0),S=L.index+L[0].length,x=y,A=v,E=t.length;x"+i.content+""+i.tag+">"},!d.document)return d.addEventListener&&(P.disableWorkerMessageHandler||d.addEventListener("message",function(e){var t=JSON.parse(e.data),n=t.language,a=t.code,i=t.immediateClose;d.postMessage(P.highlight(a,P.languages[n],n)),i&&d.close()},!1)),d.Prism;var e=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return e&&(P.filename=e.src,P.manual||e.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(P.highlightAll):window.setTimeout(P.highlightAll,16):document.addEventListener("DOMContentLoaded",P.highlightAll))),d.Prism}();F.exports&&(F.exports=b),void 0!==e&&(e.Prism=b),b.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/?[\da-z]{1,8};/i},b.languages.markup.tag.inside["attr-value"].inside.entity=b.languages.markup.entity,b.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),b.languages.xml=b.languages.markup,b.languages.html=b.languages.markup,b.languages.mathml=b.languages.markup,b.languages.svg=b.languages.markup,b.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?[\s\S]*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},b.languages.css.atrule.inside.rest=b.languages.css,b.languages.markup&&(b.languages.insertBefore("markup","tag",{style:{pattern:/(