{"id":462,"date":"2023-03-08T16:14:05","date_gmt":"2023-03-08T13:14:05","guid":{"rendered":"https:\/\/notes.profidev.online\/?p=462"},"modified":"2023-03-28T23:51:40","modified_gmt":"2023-03-28T20:51:40","slug":"slajder-smeny-fona","status":"publish","type":"post","link":"https:\/\/notes.profidev.online\/ru\/slider\/462\/","title":{"rendered":"Background change slider"},"content":{"rendered":"\n<figure class=\"wp-block-video\"><video height=\"955\" style=\"aspect-ratio: 1821 \/ 955;\" width=\"1821\" controls src=\"https:\/\/notes.profidev.online\/wp-content\/uploads\/2023\/03\/vokoscreenng-2023-03-08_14-10-49.webm\"><\/video><\/figure>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;htmlmixed&quot;,&quot;mime&quot;:&quot;text\/html&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;HTML&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;html&quot;}\">&lt;div class=&quot;scene&quot;&gt;\n  &lt;div class=&quot;content&quot;&gt;\n    &lt;div class=&quot;back&quot;&gt;\n      &lt;div class=&quot;back__bg back__bg-1 active&quot;&gt;&lt;\/div&gt;\n      &lt;div class=&quot;back__bg back__bg-2&quot;&gt;&lt;\/div&gt;\n      &lt;div class=&quot;back__bg back__bg-3&quot;&gt;&lt;\/div&gt;\n      &lt;div class=&quot;back__bg back__bg-4&quot;&gt;&lt;\/div&gt;\n    &lt;\/div&gt;\n    &lt;div class=&quot;front&quot;&gt;\n      &lt;div class=&quot;front__bg front__bg-1 active&quot;&gt;&lt;\/div&gt;\n      &lt;div class=&quot;front__bg front__bg-2&quot;&gt;&lt;\/div&gt;\n      &lt;div class=&quot;front__bg front__bg-3&quot;&gt;&lt;\/div&gt;\n      &lt;div class=&quot;front__bg front__bg-4&quot;&gt;&lt;\/div&gt;\n    &lt;\/div&gt;\n    &lt;div class=&quot;nav&quot;&gt;\n      &lt;div data-page=&quot;1&quot; class=&quot;nav__el nav__el-1&quot;&gt;\n        Why i'm not here?\n        &lt;div class=&quot;nav__el-clone&quot;&gt;\n          &lt;div class=&quot;nav__el nav__el-1&quot;&gt;Why i'm not here?&lt;\/div&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div data-page=&quot;2&quot; class=&quot;nav__el nav__el-2&quot;&gt;\n        Where am i?\n        &lt;div class=&quot;nav__el-clone&quot;&gt;\n          &lt;div class=&quot;nav__el nav__el-2&quot;&gt;Where am i?&lt;\/div&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div data-page=&quot;3&quot; class=&quot;nav__el nav__el-3&quot;&gt;\n        This place is cool\n        &lt;div class=&quot;nav__el-clone&quot;&gt;\n          &lt;div class=&quot;nav__el nav__el-3&quot;&gt;This place is cool&lt;\/div&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n      &lt;div data-page=&quot;4&quot; class=&quot;nav__el nav__el-4&quot;&gt;\n        Cold and beautiful\n        &lt;div class=&quot;nav__el-clone&quot;&gt;\n          &lt;div class=&quot;nav__el nav__el-4&quot;&gt;Cold and beautiful&lt;\/div&gt;\n        &lt;\/div&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n  &lt;\/div&gt;\n  &lt;div class=&quot;menu&quot;&gt;\n    &lt;div class=&quot;menu__btn&quot;&gt;\n      &lt;div class=&quot;menu__btn-inner&quot;&gt;\n        &lt;span class=&quot;menu__btn-line&quot;&gt;&lt;\/span&gt;\n        &lt;span class=&quot;menu__btn-line&quot;&gt;&lt;\/span&gt;\n        &lt;span class=&quot;menu__btn-line&quot;&gt;&lt;\/span&gt;\n      &lt;\/div&gt;\n    &lt;\/div&gt;\n    &lt;div class=&quot;menu__block&quot;&gt;\n      &lt;div class=&quot;menu__block-bg&quot;&gt;&lt;\/div&gt;\n      &lt;svg class=&quot;menu__block-svg&quot;&gt;\n        &lt;path class=&quot;menu__block-svgPath&quot; \/&gt;\n      &lt;\/svg&gt;\n    &lt;\/div&gt;\n    &lt;h1 class=&quot;menu__heading&quot;&gt;Something&lt;\/h1&gt;\n  &lt;\/div&gt;\n&lt;\/div&gt;\n\n&lt;script src=&quot;\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/2.1.3\/jquery.min.js&quot;&gt;&lt;\/script&gt;\n&lt;script src=&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/snap.svg\/0.3.0\/snap.svg-min.js&quot;&gt;&lt;\/script&gt;\n\/\/\u0421\u043a\u0440\u0438\u043f\u0442 js \u043d\u0430\u0434\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c\n\/\/\u0410\u0432\u0442\u043e\u0440: Nikolay Talanov. @suez<\/pre><\/div>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;css&quot;,&quot;mime&quot;:&quot;text\/css&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;CSS&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;css&quot;}\">*, *:before, *:after {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n}\n\nhtml, body {\n  font-size: 62.5%;\n  height: 100%;\n  overflow: hidden;\n}\n\n.instant {\n  transition: 0 0 !important;\n}\n\n.scene {\n  position: relative;\n  height: 100%;\n  background: #fff;\n  transition: transform 0.5s;\n  will-change: transform;\n}\n.scene.menu-visible .menu__btn {\n  background: #000;\n  color: #000;\n}\n.scene.menu-visible .menu__btn:after {\n  transform: scale(1.5) !important;\n}\n.scene.menu-visible .menu__heading {\n  opacity: 1;\n  transition: opacity 0.5s 1.7s;\n}\n\n.content {\n  position: relative;\n  height: 100%;\n  transition: transform 0.6s, opacity 0.4s 0.1s;\n  will-change: transform, opacity;\n}\n.content.inactive {\n  opacity: 0;\n  transform: scale(0.9);\n}\n\n.back,\n.front {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  transition: transform 0.5s 0.5s;\n  will-change: transform;\n}\n.back__bg,\n.front__bg {\n  position: absolute;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background-size: cover;\n  transition: transform 0.5s;\n  will-change: transform;\n}\n.back__bg-1,\n.front__bg-1 {\n  background-image: url(https:\/\/s3-us-west-2.amazonaws.com\/s.cdpn.io\/142996\/sls-1.jpg);\n}\n.back__bg-2,\n.front__bg-2 {\n  background-image: url(https:\/\/s3-us-west-2.amazonaws.com\/s.cdpn.io\/142996\/sls-2.jpg);\n}\n.back__bg-3,\n.front__bg-3 {\n  background-image: url(https:\/\/s3-us-west-2.amazonaws.com\/s.cdpn.io\/142996\/sls-3.jpg);\n}\n.back__bg-4,\n.front__bg-4 {\n  background-image: url(https:\/\/s3-us-west-2.amazonaws.com\/s.cdpn.io\/142996\/sls-4.jpg);\n}\n\n.back__bg.hidden {\n  display: none;\n}\n.back__bg:after {\n  content: &quot;&quot;;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background: rgba(0, 0, 0, 0.5);\n}\n.back__bg-1 {\n  top: 0%;\n}\n.back__bg-2 {\n  top: 100%;\n}\n.back__bg-3 {\n  top: 200%;\n}\n.back__bg-4 {\n  top: 300%;\n}\n\n.front__bg {\n  transform: scale(0.8);\n}\n.front__bg.active {\n  transform: scale(1);\n}\n.front__bg:after {\n  content: &quot;&quot;;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background: rgba(0, 0, 0, 0.25);\n}\n.front__bg-0 {\n  top: 100%;\n}\n.front__bg-1 {\n  top: 0%;\n}\n.front__bg-2 {\n  top: -100%;\n}\n.front__bg-3 {\n  top: -200%;\n}\n.front__bg-4 {\n  top: -300%;\n}\n\n.nav {\n  position: absolute;\n  left: 0;\n  bottom: 20%;\n  width: 100%;\n  text-align: center;\n}\n.nav__el {\n  display: inline-block;\n  position: relative;\n  font-size: 2.5rem;\n  height: 3.5rem;\n  text-transform: uppercase;\n  color: rgba(255, 255, 255, 0.5);\n  font-family: &quot;Open Sans&quot;, Helvetica, Arial, sans-serif;\n  margin: 1rem 2rem;\n  padding-left: 1.5rem;\n  cursor: pointer;\n  overflow: hidden;\n}\n.nav__el-clone {\n  position: absolute;\n  top: 0;\n  left: 0;\n  overflow: hidden;\n  transition: transform 0.5s;\n  will-change: transform;\n  transform: translateX(-100%);\n}\n.nav__el-clone &gt; div {\n  margin: 0;\n  color: #fff;\n  transition: transform 0.5s;\n  will-change: transform;\n  transform: translateX(100%);\n}\n.nav__el.active:after {\n  transform: scale(1);\n}\n.nav__el.active .nav__el-clone {\n  transform: scale(1);\n  transition: transform 6s 2s;\n}\n.nav__el.active .nav__el-clone .nav__el {\n  transform: scale(1);\n  transition: transform 6s 2s;\n}\n.nav__el:before {\n  position: absolute;\n  top: 50%;\n  margin-top: -1rem;\n  left: -0.3rem;\n  font-size: 1.5rem;\n  transform: rotate(-90deg);\n}\n.nav__el:after {\n  content: &quot;&quot;;\n  position: absolute;\n  left: 0;\n  bottom: 0;\n  width: 100%;\n  height: 1px;\n  background: #fff;\n  transition: transform 1.5s;\n  transform: scale(0);\n}\n.nav__el-1:before {\n  content: &quot;01&quot;;\n}\n.nav__el-2:before {\n  content: &quot;02&quot;;\n}\n.nav__el-3:before {\n  content: &quot;03&quot;;\n}\n.nav__el-4:before {\n  content: &quot;04&quot;;\n}\n\n.menu__btn {\n  z-index: 5;\n  position: absolute;\n  top: 5%;\n  right: 5%;\n  width: 5.2rem;\n  height: 5.2rem;\n  border: 2px solid;\n  color: #fff;\n  overflow: hidden;\n  cursor: pointer;\n  transition: background-color 0.5s;\n}\n.menu__btn:hover:after {\n  transform: scale(1);\n}\n.menu__btn:hover .menu__btn-line:nth-child(1) {\n  -webkit-animation: animateMenuBtn 0.7s 0s;\n          animation: animateMenuBtn 0.7s 0s;\n}\n.menu__btn:hover .menu__btn-line:nth-child(2) {\n  -webkit-animation: animateMenuBtn 0.7s 0.2s;\n          animation: animateMenuBtn 0.7s 0.2s;\n}\n.menu__btn:hover .menu__btn-line:nth-child(3) {\n  -webkit-animation: animateMenuBtn 0.7s 0.4s;\n          animation: animateMenuBtn 0.7s 0.4s;\n}\n.menu__btn:after {\n  content: &quot;&quot;;\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  border: 0.5rem solid #fff;\n  transition: transform 0.6s;\n  will-change: transform;\n  transform: scale(1.5);\n}\n.menu__btn-inner {\n  position: absolute;\n  top: 1.6rem;\n  left: 1.2rem;\n  width: 2.4rem;\n  height: 1.6rem;\n  overflow: hidden;\n}\n.menu__btn-line {\n  position: absolute;\n  left: 0;\n  width: 100%;\n  height: 2px;\n  background: #fff;\n}\n.menu__btn-line:nth-child(1) {\n  top: 0;\n}\n.menu__btn-line:nth-child(2) {\n  top: 0.7rem;\n}\n.menu__btn-line:nth-child(3) {\n  top: 1.4rem;\n}\n.menu__block {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  display: none;\n  text-align: center;\n}\n.menu__block.visible {\n  display: block;\n}<\/pre><\/div>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:&quot;language&quot;,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;javascript&quot;,&quot;mime&quot;:&quot;text\/javascript&quot;,&quot;theme&quot;:&quot;cobalt&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:true,&quot;lineWrapping&quot;:true,&quot;readOnly&quot;:false,&quot;fileName&quot;:&quot;&quot;,&quot;TrpContentRestriction&quot;:{&quot;restriction_type&quot;:&quot;exclude&quot;,&quot;selected_languages&quot;:[],&quot;panel_open&quot;:true},&quot;language&quot;:&quot;JavaScript&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;js&quot;}\">$(document).ready(function() {\n  \n  var $scene = $(&quot;.scene&quot;),\n      $content = $(&quot;.content&quot;),\n      $back = $(&quot;.back&quot;),\n      $backBgs = $(&quot;.back__bg&quot;),\n      $front = $(&quot;.front&quot;),\n      $frontBgs = $(&quot;.front__bg&quot;),\n      $menuBlock = $(&quot;.menu__block&quot;),\n      $svgPath = $(&quot;.menu__block-svgPath&quot;),\n      animating = false,\n      menuActive = false,\n      menuAnimTime = 600,\n      blockAnimTime = 1500,\n      $sliderCont = $(&quot;.menu-slider__content&quot;),\n      curSlide = 1,\n      sliderXDiff = 0,\n      curPage = 1,\n      nextPage = 0,\n      numOfPages = $(&quot;.front__bg&quot;).length,\n      scaleTime = 500,\n      transTime = 500,\n      totalTime = scaleTime + transTime,\n      changeTimeout,\n      timeoutTime = 8000,\n      winW = $(window).width(),\n      winH = $(window).height();\n  \n  \/\/ init nav element timeout animation\n  $(&quot;.nav__el-1&quot;).addClass(&quot;active&quot;);\n  \n  \/\/default debounce function from David Walsh blog\n  function debounce(func, wait, immediate) {\n    var timeout;\n    return function() {\n      var context = this, args = arguments;\n      var later = function() {\n        timeout = null;\n        if (!immediate) func.apply(context, args);\n      };\n      var callNow = immediate &amp;&amp; !timeout;\n      clearTimeout(timeout);\n      timeout = setTimeout(later, wait);\n      if (callNow) func.apply(context, args);\n    };\n  };\n  \n  function changePages() {\n    $(&quot;.back__bg, .front__bg, .nav__el&quot;).removeClass(&quot;active&quot;);\n    $(&quot;.nav__el-&quot;+curPage).addClass(&quot;active&quot;);\n    $back.css(&quot;transform&quot;, &quot;translate3d(0,&quot;+(curPage-1)*-100+&quot;%,0)&quot;);\n    $front.css(&quot;transform&quot;, &quot;translate3d(0,&quot;+(curPage-1)*100+&quot;%,0)&quot;);\n    createTimeout();\n\n    setTimeout(function() {\n      $(&quot;.back__bg-&quot;+curPage+&quot;, .front__bg-&quot;+curPage).addClass(&quot;active&quot;);\n    }, totalTime);\n  };\n  \n  $(document).on(&quot;click&quot;, &quot;.nav__el:not(.active)&quot;, function() {\n    curPage = $(this).attr(&quot;data-page&quot;);\n    changePages();\n  });\n  \n  \/\/ ugly hack for animation reset when you coming back from menu section\n  function resetTimeoutAnimation() {\n    var $activeNavEl = $(&quot;.nav__el.active&quot;),\n        $activeParts = $activeNavEl.find(&quot;.nav__el-clone, .nav__el&quot;)\n    $activeParts.addClass(&quot;instant&quot;);\n    $activeNavEl.removeClass(&quot;active&quot;);\n    $activeParts.css(&quot;top&quot;);\n    $activeParts.removeClass(&quot;instant&quot;);\n    $activeParts.css(&quot;top&quot;);\n    $activeNavEl.addClass(&quot;active&quot;);\n  }\n  \n  \/* creates timeOut for change of slides.\n  Call's itself from inside of changePages() function\n  *\/\n  function createTimeout() {\n    window.clearTimeout(changeTimeout);\n    resetTimeoutAnimation();\n    changeTimeout = setTimeout(function() {\n      if (curPage &gt;= numOfPages) {\n        curPage = 1;\n      } else {\n        curPage++;\n      }\n      changePages();\n    }, timeoutTime);\n  };\n  \n  createTimeout();\n  \n  \/* creates path D attribute strings for animation\n  initial d = fullScreen\n  mid d = Q curves with 5% padding\n  final d = centered 90% width\/height block\n  *\/\n  function createD(type) {\n    var types = {&quot;init&quot;: [&quot;M0,0&quot;,\n                          &quot;Q&quot;+winW\/2+&quot;,0&quot;,\n                          winW+&quot;,0&quot;,\n                          &quot;Q&quot;+winW+&quot;,&quot;+winH\/2,\n                          winW+&quot;,&quot;+winH,\n                          &quot;Q&quot;+winW\/2+&quot;,&quot;+winH,\n                          &quot;0,&quot;+winH,\n                          &quot;Q0,&quot;+winH\/2,\n                          &quot;0,0&quot;],\n                 &quot;mid&quot;: [&quot;M0,0&quot;,\n                         &quot;Q&quot;+winW\/2+&quot;,&quot;+winH*0.05,\n                         winW+&quot;,0&quot;,\n                         &quot;Q&quot;+winW*0.95+&quot;,&quot;+winH\/2,\n                         winW+&quot;,&quot;+winH,\n                         &quot;Q&quot;+winW\/2+&quot;,&quot;+winH*0.95,\n                         &quot;0,&quot;+winH,\n                         &quot;Q&quot;+winW*0.05+&quot;,&quot;+winH\/2,\n                         &quot;0,0&quot;],\n                 &quot;final&quot;: [&quot;M&quot;+winW*0.05+&quot;,&quot;+winH*0.05,\n                           &quot;Q&quot;+winW\/2+&quot;,&quot;+winH*0.05,\n                           winW*0.95+&quot;,&quot;+winH*0.05,\n                           &quot;Q&quot;+winW*0.95+&quot;,&quot;+winH\/2,\n                           winW*0.95+&quot;,&quot;+winH*0.95,\n                           &quot;Q&quot;+winW\/2+&quot;,&quot;+winH*0.95,\n                           winW*0.05+&quot;,&quot;+winH*0.95,\n                           &quot;Q&quot;+winW*0.05+&quot;,&quot;+winH\/2,\n                           winW*0.05+&quot;,&quot;+winH*0.05]};\n    return types[type].join(&quot; &quot;);\n  }\n  \n  \/\/ animates path d with SnapSVG\n  function animateBlock(reverse) {\n    winW = $(window).width();\n    winH = $(window).height();\n    var initD = createD(&quot;init&quot;),\n        midD = createD(&quot;mid&quot;),\n        finalD = createD(&quot;final&quot;);\n    \n    if (!reverse) {\n      $svgPath.attr(&quot;d&quot;, initD);\n      Snap($svgPath[0]).animate({&quot;path&quot;: midD}, blockAnimTime\/2, mina.elastic, function() {\n        Snap($svgPath[0]).animate({&quot;path&quot;: finalD}, blockAnimTime\/2, mina.elastic);\n      });\n    } else {\n      Snap($svgPath[0]).animate({&quot;path&quot;: midD}, blockAnimTime\/2, mina.elastic, function() {\n        Snap($svgPath[0]).animate({&quot;path&quot;: initD}, blockAnimTime\/2, mina.elastic);\n      });\n    }\n    \n  };\n  \n  \/\/ resizes opened menu path d block, because i can't change viewBox with js\n  var resizeSvg = debounce(function() {\n    winW = $(window).width();\n    winH = $(window).height();\n    $svgPath.attr(&quot;d&quot;, createD(&quot;final&quot;));\n  }, 50);\n  \n  \/\/ default madness\n  $(document).on(&quot;click&quot;, &quot;.menu__btn&quot;, function() {\n    if (animating) return;\n    animating = true;\n    setTimeout(function() {\n      animating = false;\n    }, blockAnimTime + menuAnimTime);\n    \n    if (!menuActive) {\n      menuActive = true;\n      window.clearTimeout(changeTimeout);\n      $content.addClass(&quot;inactive&quot;);\n      $scene.addClass(&quot;menu-visible&quot;);\n      $(&quot;.back__bg:not(.active)&quot;).addClass(&quot;hidden&quot;);\n      $(window).on(&quot;resize&quot;, resizeSvg);\n      setTimeout(function() {\n        $menuBlock.addClass(&quot;visible&quot;);\n        animateBlock();\n      }, menuAnimTime);\n    } else {\n      menuActive = false;\n      animateBlock(true);\n      setTimeout(function() {\n        $menuBlock.removeClass(&quot;visible&quot;);\n        createTimeout();\n        $(&quot;.back__bg&quot;).removeClass(&quot;hidden&quot;);\n        $content.removeClass(&quot;inactive&quot;);\n        $scene.removeClass(&quot;menu-visible&quot;);\n      }, blockAnimTime);\n      $(window).off(&quot;resize&quot;);\n    }\n  });\n  \n});<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":463,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[17],"class_list":["post-462","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-slider","tag-jquery"],"_links":{"self":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/462","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/comments?post=462"}],"version-history":[{"count":0,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/posts\/462\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media\/463"}],"wp:attachment":[{"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/media?parent=462"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/categories?post=462"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notes.profidev.online\/ru\/wp-json\/wp\/v2\/tags?post=462"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}