/*! elementor-pro - v3.21.0 - 20-05-2024 */ (()=>{"use strict";class Screenshot extends elementorModules.ViewModule{getDefaultSettings(){return{empty_content_headline:"Empty Content.",crop:{width:1200,height:1500},excluded_external_css_urls:["https://kit-pro.fontawesome.com"],external_images_urls:["https://i.ytimg.com"],timeout:15e3,render_timeout:5e3,timerLabel:null,timer_label:`${ElementorScreenshotConfig.post_id} - timer`,image_placeholder:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=",isDebug:elementorCommonConfig.isElementorDebug,isDebugSvg:!1,...ElementorScreenshotConfig}}getDefaultElements(){const e=jQuery(ElementorScreenshotConfig.selector),t=e.find(".elementor-section-wrap > .elementor-section, .elementor > .elementor-section");return{$elementor:e,$sections:t,$firstSection:t.first(),$notElementorElements:elementorCommon.elements.$body.find("> *:not(style, link)").not(e),$head:jQuery("head")}}onInit(){return super.onInit(),this.log("Screenshot init","time"),this.timeoutTimer=setTimeout(this.screenshotFailed.bind(this),this.getSettings("timeout")),this.captureScreenshot()}captureScreenshot(){return this.elements.$elementor.length||(elementorCommon.helpers.consoleWarn("Screenshots: The content of this page is empty, the module will create a fake conent just for this screenshot."),this.createFakeContent()),this.removeUnnecessaryElements(),this.handleIFrames(),this.removeFirstSectionMargin(),this.handleLinks(),this.loadExternalCss(),this.loadExternalImages(),Promise.resolve().then(this.createImage.bind(this)).then(this.createImageElement.bind(this)).then(this.cropCanvas.bind(this)).then(this.save.bind(this)).then(this.screenshotSucceed.bind(this)).catch(this.screenshotFailed.bind(this))}createFakeContent(){this.elements.$elementor=jQuery("
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra malesuada sagittis. Sed et diam nec ipsum suscipit tincidunt. Sed malesuada quam maximus sem fringilla, et facilisis libero maximus. Donec efficitur lorem eu iaculis lacinia. Sed bibendum sapien leo, quis auctor quam auctor vitae. Donec eu tortor odio. Curabitur dictum justo a enim egestas porttitor. Praesent aliquet placerat velit, in laoreet risus mollis eleifend. Mauris tempus commodo nisi. Donec in tempor est. Ut vitae orci eleifend metus viverra volutpat sit amet nec ex. Ut iaculis semper mattis.<\/p>\n","protected":false},"excerpt":{"rendered":"
Proin tincidunt, ipsum nec vehicula euismod, neque nibh pretium lorem, at ornare risus sem et risus. Curabitur pulvinar dui viverra libero lobortis in dictum velit luctus.<\/p>\n","protected":false},"featured_media":2963,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_cat":[109,108,112],"product_tag":[],"class_list":{"0":"post-2169","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-birthday","7":"product_cat-flower","8":"product_cat-friendship","10":"first","11":"instock","12":"shipping-taxable","13":"purchasable","14":"product-type-simple"},"_links":{"self":[{"href":"https:\/\/efarm.arrowtheme.com\/wp-json\/wp\/v2\/product\/2169"}],"collection":[{"href":"https:\/\/efarm.arrowtheme.com\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/efarm.arrowtheme.com\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/efarm.arrowtheme.com\/wp-json\/wp\/v2\/comments?post=2169"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/efarm.arrowtheme.com\/wp-json\/wp\/v2\/media\/2963"}],"wp:attachment":[{"href":"https:\/\/efarm.arrowtheme.com\/wp-json\/wp\/v2\/media?parent=2169"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/efarm.arrowtheme.com\/wp-json\/wp\/v2\/product_cat?post=2169"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/efarm.arrowtheme.com\/wp-json\/wp\/v2\/product_tag?post=2169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}