/*! elementor-pro - v3.23.0 - 05-08-2024 */ "use strict";(self.webpackChunkelementor_pro=self.webpackChunkelementor_pro||[]).push([[838],{8208:(e,t,s)=>{var i=s(8003).__,n=s(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=n(s(1699));class TOCHandler extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{widgetContainer:".elementor-widget-container",postContentContainer:'.elementor:not([data-elementor-type="header"]):not([data-elementor-type="footer"]):not([data-elementor-type="popup"])',expandButton:".elementor-toc__toggle-button--expand",collapseButton:".elementor-toc__toggle-button--collapse",body:".elementor-toc__body",headerTitle:".elementor-toc__header-title"},classes:{anchor:"elementor-menu-anchor",listWrapper:"elementor-toc__list-wrapper",listItem:"elementor-toc__list-item",listTextWrapper:"elementor-toc__list-item-text-wrapper",firstLevelListItem:"elementor-toc__top-level",listItemText:"elementor-toc__list-item-text",activeItem:"elementor-item-active",headingAnchor:"elementor-toc__heading-anchor",collapsed:"elementor-toc--collapsed"},listWrapperTag:"numbers"===this.getElementSettings().marker_view?"ol":"ul"}}getDefaultElements(){const e=this.getSettings();return{$pageContainer:this.getContainer(),$widgetContainer:this.$element.find(e.selectors.widgetContainer),$expandButton:this.$element.find(e.selectors.expandButton),$collapseButton:this.$element.find(e.selectors.collapseButton),$tocBody:this.$element.find(e.selectors.body),$listItems:this.$element.find("."+e.classes.listItem)}}getContainer(){const e=this.getElementSettings();if(e.container)return jQuery(l.default.sanitize(e.container));const t=this.$element.parents(".elementor");if("popup"===t.attr("data-elementor-type"))return t;const s=this.getSettings();return jQuery(s.selectors.postContentContainer)}bindEvents(){const e=this.getElementSettings();e.minimize_box&&(this.elements.$expandButton.on("click",(()=>this.expandBox())).on("keyup",(e=>this.triggerClickOnEnterSpace(e))),this.elements.$collapseButton.on("click",(()=>this.collapseBox())).on("keyup",(e=>this.triggerClickOnEnterSpace(e)))),e.collapse_subitems&&this.elements.$listItems.on("hover",(e=>jQuery(e.target).slideToggle()))}getHeadings(){const e=this.getElementSettings(),t=e.headings_by_tags.join(","),s=this.getSettings("selectors"),i=e.exclude_headings_by_selector;return this.elements.$pageContainer.find(t).not(s.headerTitle).filter(((e,t)=>!jQuery(t).closest(i).length))}addAnchorsBeforeHeadings(){const e=this.getSettings("classes");this.elements.$headings.before((t=>{if(!jQuery(this.elements.$headings[t]).data("hasOwnID"))return``}))}activateItem(e){const t=this.getSettings("classes");if(this.deactivateActiveItem(e),e.addClass(t.activeItem),this.$activeItem=e,!this.getElementSettings("collapse_subitems"))return;let s;s=e.hasClass(t.firstLevelListItem)?e.parent().next():e.parents("."+t.listWrapper).eq(-2),s.length?(this.$activeList=s,this.$activeList.stop().slideDown()):delete this.$activeList}deactivateActiveItem(e){if(!this.$activeItem||this.$activeItem.is(e))return;const{classes:t}=this.getSettings();this.$activeItem.removeClass(t.activeItem),!this.$activeList||e&&this.$activeList[0].contains(e[0])||this.$activeList.slideUp()}followAnchor(e,t){const s=e[0].hash;let i;try{i=jQuery(decodeURIComponent(s))}catch(e){return}this.createObserver(s,i,{rootMargin:"0px",threshold:0},e,t).observe(i[0])}createObserver(e,t,s,i,n){let l=0;return new IntersectionObserver((e=>{e.forEach((e=>{const s=document.documentElement.scrollTop,a=s>l,o=t.attr("id");e.isIntersecting&&!this.itemClicked?(this.viewportItems[o]=!0,this.activateItem(i)):e.isIntersecting&&a?(delete this.viewportItems[o],Object.keys(this.viewportItems).length&&this.activateItem(this.$listItemTexts.eq(n+1))):a||(delete this.viewportItems[o],this.activateItem(this.$listItemTexts.eq(n-1))),l=s<=0?0:s}))}),s)}followAnchors(){this.$listItemTexts.each(((e,t)=>this.followAnchor(jQuery(t),e)))}populateTOC(){this.listItemPointer=0;this.getElementSettings().hierarchical_view?this.createNestedList():this.createFlatList(),this.$listItemTexts=this.$element.find(".elementor-toc__list-item-text"),this.$listItemTexts.on("click",this.onListItemClick.bind(this)),elementorFrontend.isEditMode()||this.followAnchors()}createNestedList(){this.headingsData.forEach(((e,t)=>{e.level=0;for(let s=t-1;s>=0;s--){const t=this.headingsData[s];if(t.tag<=e.tag){e.level=t.level,t.tag`:"");let a=`<${t.listWrapperTag} class="${t.classes.listWrapper}">`;for(;this.listItemPointero.level)break;if(e===o.level){a+=`
  • `,a+=`
    `;let h=`${o.text}`;"bullets"===s.marker_view&&i&&(h=`${n}${h}`),h=l.default.sanitize(h),a+=h,a+="
    ",this.listItemPointer++;const c=this.headingsData[this.listItemPointer];c&&e"}}return a+=``,a}handleNoHeadingsFound(){const e=i("No headings were found on this page.","elementor-pro");return this.elements.$tocBody.html(e)}collapseBodyListener(){const e=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0}),t=this.getElementSettings("minimized_on"),s=elementorFrontend.getCurrentDeviceMode(),i=this.$element.hasClass(this.getSettings("classes.collapsed"));"desktop"===t||e.indexOf(t)>=e.indexOf(s)?i||this.collapseBox(!1):i&&this.expandBox(!1)}onElementChange(e){"minimized_on"===e&&this.collapseBodyListener()}getHeadingAnchorLink(e,t){const s=this.elements.$headings[e].id,i=this.elements.$headings[e].closest(".elementor-widget").id;let n="";return s?n=s:i&&(n=i),s||i?jQuery(this.elements.$headings[e]).data("hasOwnID",!0):n=`${t.headingAnchor}-${e}`,n}setHeadingsData(){this.headingsData=[];const e=this.getSettings("classes");this.elements.$headings.each(((t,s)=>{const i=this.getHeadingAnchorLink(t,e);this.headingsData.push({tag:+s.nodeName.slice(1),text:s.textContent,anchorLink:i})}))}run(){if(this.elements.$headings=this.getHeadings(),!this.elements.$headings.length)return this.handleNoHeadingsFound();this.setHeadingsData(),elementorFrontend.isEditMode()||this.addAnchorsBeforeHeadings(),this.populateTOC(),this.getElementSettings("minimize_box")&&this.collapseBodyListener()}expandBox(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=this.getCurrentDeviceSetting("min_height");this.$element.removeClass(this.getSettings("classes.collapsed")),this.elements.$tocBody.slideDown(),this.elements.$expandButton.attr("aria-expanded","true"),this.elements.$collapseButton.attr("aria-expanded","true"),this.elements.$widgetContainer.css("min-height",t.size+t.unit),e&&this.elements.$collapseButton.trigger("focus")}collapseBox(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.$element.addClass(this.getSettings("classes.collapsed")),this.elements.$tocBody.slideUp(),this.elements.$expandButton.attr("aria-expanded","false"),this.elements.$collapseButton.attr("aria-expanded","false"),this.elements.$widgetContainer.css("min-height","0px"),e&&this.elements.$expandButton.trigger("focus")}triggerClickOnEnterSpace(e){13!==e.keyCode&&32!==e.keyCode||(e.currentTarget.click(),e.stopPropagation())}onInit(){super.onInit(...arguments),this.viewportItems=[],jQuery((()=>this.run()))}onListItemClick(e){this.itemClicked=!0,setTimeout((()=>this.itemClicked=!1),2e3);const t=jQuery(e.target),s=t.parent().next(),i=this.getElementSettings("collapse_subitems");let n;i&&t.hasClass(this.getSettings("classes.firstLevelListItem"))&&s.is(":visible")&&(n=!0),this.activateItem(t),i&&n&&s.slideUp()}}t.default=TOCHandler}}]);{"id":1,"date":"2019-10-21T13:13:24","date_gmt":"2019-10-21T13:13:24","guid":{"rendered":"http:\/\/rimrackplus.com\/?p=1"},"modified":"2024-07-02T02:10:48","modified_gmt":"2024-07-02T02:10:48","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/","title":{"rendered":"Hello world!"},"content":{"rendered":"\n

    W\ufeff\u6a02\u5a01\u58ef<\/a>\n<\/span>elcome to WordPress. This is your\ufeff\u7280\u5229\u58eb<\/a>\n<\/span> first\ufeff\u6a02\u5a01\u58ef<\/a>\n<\/span>font-size:0px; color:#ff0000;”>\ufeff\u6a02\u5a01\u58ef<\/a>\n<\/span> post. Edit or delete it, then start writing!<\/p>\n","protected":false},"excerpt":{"rendered":"

    W\ufeff\u6a02\u5a01\u58ef elcome to WordPress. This is your\ufeff\u7280\u5229\u58eb first<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"\nHello world! - Rim Rack Plus<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hello world! - Rim Rack Plus\" \/>\n<meta property=\"og:description\" content=\"W\ufeff\u6a02\u5a01\u58ef elcome to WordPress. This is your\ufeff\u7280\u5229\u58eb first\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/\" \/>\n<meta property=\"og:site_name\" content=\"Rim Rack Plus\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-21T13:13:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-02T02:10:48+00:00\" \/>\n<meta name=\"author\" content=\"info@ferreys.co\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@ferreys.co\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/\",\"url\":\"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/\",\"name\":\"Hello world! - Rim Rack Plus\",\"isPartOf\":{\"@id\":\"https:\/\/rimrackplus.com\/#website\"},\"datePublished\":\"2019-10-21T13:13:24+00:00\",\"dateModified\":\"2024-07-02T02:10:48+00:00\",\"author\":{\"@id\":\"https:\/\/rimrackplus.com\/#\/schema\/person\/f0000223fa3afbdcd1a92f36abf039e5\"},\"breadcrumb\":{\"@id\":\"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/rimrackplus.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hello world!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/rimrackplus.com\/#website\",\"url\":\"https:\/\/rimrackplus.com\/\",\"name\":\"Rim Rack Plus\",\"description\":\"Rim Rack Plus\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/rimrackplus.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/rimrackplus.com\/#\/schema\/person\/f0000223fa3afbdcd1a92f36abf039e5\",\"name\":\"info@ferreys.co\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/rimrackplus.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/bdb75086a013e1f26f3a966d9a4a097c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/bdb75086a013e1f26f3a966d9a4a097c?s=96&d=mm&r=g\",\"caption\":\"info@ferreys.co\"},\"url\":\"https:\/\/rimrackplus.com\/author\/info@ferreys.co\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hello world! - Rim Rack Plus","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/","og_locale":"en_US","og_type":"article","og_title":"Hello world! - Rim Rack Plus","og_description":"W\ufeff\u6a02\u5a01\u58ef elcome to WordPress. This is your\ufeff\u7280\u5229\u58eb first","og_url":"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/","og_site_name":"Rim Rack Plus","article_published_time":"2019-10-21T13:13:24+00:00","article_modified_time":"2024-07-02T02:10:48+00:00","author":"info@ferreys.co","twitter_card":"summary_large_image","twitter_misc":{"Written by":"info@ferreys.co"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/","url":"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/","name":"Hello world! - Rim Rack Plus","isPartOf":{"@id":"https:\/\/rimrackplus.com\/#website"},"datePublished":"2019-10-21T13:13:24+00:00","dateModified":"2024-07-02T02:10:48+00:00","author":{"@id":"https:\/\/rimrackplus.com\/#\/schema\/person\/f0000223fa3afbdcd1a92f36abf039e5"},"breadcrumb":{"@id":"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rimrackplus.com\/2019\/10\/21\/hello-world\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rimrackplus.com\/"},{"@type":"ListItem","position":2,"name":"Hello world!"}]},{"@type":"WebSite","@id":"https:\/\/rimrackplus.com\/#website","url":"https:\/\/rimrackplus.com\/","name":"Rim Rack Plus","description":"Rim Rack Plus","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rimrackplus.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/rimrackplus.com\/#\/schema\/person\/f0000223fa3afbdcd1a92f36abf039e5","name":"info@ferreys.co","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rimrackplus.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/bdb75086a013e1f26f3a966d9a4a097c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bdb75086a013e1f26f3a966d9a4a097c?s=96&d=mm&r=g","caption":"info@ferreys.co"},"url":"https:\/\/rimrackplus.com\/author\/info@ferreys.co\/"}]}},"_links":{"self":[{"href":"https:\/\/rimrackplus.com\/wp-json\/wp\/v2\/posts\/1"}],"collection":[{"href":"https:\/\/rimrackplus.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rimrackplus.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rimrackplus.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rimrackplus.com\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":5,"href":"https:\/\/rimrackplus.com\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":1584,"href":"https:\/\/rimrackplus.com\/wp-json\/wp\/v2\/posts\/1\/revisions\/1584"}],"wp:attachment":[{"href":"https:\/\/rimrackplus.com\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rimrackplus.com\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rimrackplus.com\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}