HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/eeggs.ru/wp-content/plugins/jetpack/_inc/blocks/recipe/view.js
!function(){var e={80425:function(e,t,n){"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&window.Jetpack_Block_Assets_Base_Url.url&&(n.p=window.Jetpack_Block_Assets_Base_Url.url)},47701:function(e){"use strict";e.exports=window.wp.domReady}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");i.length&&(e=i[i.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../"}(),function(){"use strict";n(80425)}(),function(){"use strict";var e=n(47701),t=n.n(e);class i{constructor(e){this.block=e,this.style=document.createElement("style"),this.initRecipePrint()}getPrintBtns(){return this.block.querySelectorAll(".wp-block-jetpack-recipe-details__detail--print .wp-block-button__link")}removeStyles(){window.onfocus=()=>{document.head.contains(this.style)&&document.head.removeChild(this.style)}}initRecipePrint(){this.getPrintBtns().forEach((e=>{e.addEventListener("click",(e=>{e.preventDefault(),this.style.id="jetpack-recipe-block-print-style",this.style.innerHTML="\n          @media print {\n            .wp-site-blocks > header,\n            .wp-site-blocks > footer,\n            .wp-site-blocks > main > *:not(.wp-block-post-content),\n            .wp-site-blocks > main > .wp-block-post-content > *:not(.wp-block-jetpack-recipe),\n            .wp-block-jetpack-recipe-details__detail--print {\n              display: none;\n            }\n          \n            .wp-block-jetpack-recipe-details {\n              display: grid;\n              gap: 1rem;\n              margin-bottom: 6rem;\n              margin-top: 1.75rem;\n              grid-template-columns: repeat(auto-fit, minmax(100px, 150px));\n            }\n          \n            .wp-block-jetpack-recipe-details__detail {\n              font-size: 0.875rem;\n              margin-inline-end: 1rem;\n              padding-right: 1rem;\n              text-align: center;\n            }\n          \n            .wp-block-jetpack-recipe-details__detail:not(:last-child) {\n              border-right: 1px solid currentColor;\n            }\n          \n            .wp-block-jetpack-recipe-details__detail p {\n              margin: 0;\n              text-transform: uppercase;\n            }\n          \n            .wp-block-jetpack-recipe-details__detail p:first-child {\n              font-size: 0.75rem;\n              color: #555;\n            }\n          \n            .wp-block-jetpack-recipe-step {\n              counter-increment: list;\n              list-style-type: none;\n              position: relative;\n              padding-bottom: 1rem;\n            }\n          \n            .wp-block-jetpack-recipe-step::before {\n              align-items: center;\n              background-color: var(--step-highlight-color);\n              border-radius: 50%;\n              color: var(--step-text-color);\n              content: counter(list);\n              display: flex;\n              font-size: 0.875rem;\n              height: 28px;\n              justify-content: center;\n              left: -2.5rem;\n              line-height: 1;\n              position: absolute;\n              text-align: center;\n              width: 28px;\n            }\n          \n            .wp-block-jetpack-recipe-step p {\n              margin: 0;\n            }\n          }\n        ",document.head.appendChild(this.style),window.print()}))})),this.removeStyles()}}t()((()=>{document.querySelectorAll(".wp-block-jetpack-recipe").forEach((e=>new i(e)))}))}()}();