(function(){"use strict";var e={5481:function(e,t,s){s.d(t,{h:function(){return i}});s(4114),s(4603),s(7566),s(8721);const i=()=>{(function(){var e=["www.cigarsinternational.com","www.gothamcigars.com","cigarsinternational.com","www.thompsoncigar.com","blu.com","www.blu.com","blu.com","vapordna.com","airvapeusa.com","availvapor.com","www.availvapor.com","dd8shop.com","www.dd8shop.com","kindjuice.com","www.bnbtobacco.com","www.famous-smoke.com","famous-smoke.com","online-cigars.com","www.online-cigars.com","www.cigora.com","cigora.com"],t=100515946,s="www.anrdoezrs.net",i=!0,a=5970597,o=void 0,r=!0;(function(){var e=function(){return"https://"+s+"/pageImpression"},i=function(e){for(var t=[],s=e.getElementsByTagName("a"),i=0;i<s.length;i++){var a=s[i].href;t.push(a.toLowerCase())}return t},o=function(e){for(var t=e.getElementsByTagName("img"),s=[],i=0;i<t.length;i++){var a=t[i].src.match(/image-(\d+-\d+)/);a&&s.push(t[i].src)}return s},r=function(e){for(var t=JSON.parse(e),s=0;s<t.length;s++){var i=document.createElement("div"),a=t[s]+"&cachebuster="+s;i.innerHTML='<img style="display:none" src="'+a+'" />',document.body.appendChild(i.firstChild)}},n=function(s){var n=l("POST",e());n&&(n.send(JSON.stringify({publisherId:a,websiteId:t,urls:i(s),impressions:o(s)})),n.onreadystatechange=function(){if(4===n.readyState&&200==n.status){var e=n.responseText;void 0!==e&&e.length>0&&r(e)}})},l=function(e,t){var s=new XMLHttpRequest;return"withCredentials"in s?(s.open(e,t,!0),s.setRequestHeader("Content-Type","application/json"),s.withCredentials=!0):s=null,s};n(document)})(),function(){function a(e){r&&window.console&&console.log(e)}function n(e){var t=!1;function s(){if(!t)try{document.documentElement.doScroll("left"),a("using doScroll hack"),i()}catch(e){setTimeout(s,10)}}function i(){t||(t=!0,e())}if(document.addEventListener)a("using native addEventListener"),document.addEventListener("DOMContentLoaded",i,!1);else if(document.attachEvent){var o;try{o=null!=window.frameElement}catch(n){}document.documentElement.doScroll&&!o&&s(),document.attachEvent("onreadystatechange",(function(){"complete"===document.readyState&&(a("using onreadystatechange"),i())}))}if(window.addEventListener)a("using window addEventListener"),window.addEventListener("load",i,!1);else if(window.attachEvent)a("using attachEvent onload"),window.attachEvent("onload",i);else{var r=window.onload;window.onload=function(){a("using window.onload"),r&&r(),i()}}}function l(e,t,s){e.addEventListener?e.addEventListener(t,s):e.attachEvent&&e.attachEvent("on"+t,s)}function c(e){var t=e.match(/^(https?):\/\/([^/?#]+)(?:[/?#]|$)/i),s=t&&t[1],i=t&&t[2];return{domain:i,protocol:s}}function d(t){for(var s=0;s<e.length;s++){var i=e[s];if(-1!==t.indexOf(i,t.length-i.length))return!0}return!1}function u(i){var r=(new Date).getTime(),n=i.href,l=c(n);if(l.domain){var u=l.domain.toLowerCase(),p=n.indexOf("#"),g="";p>-1&&(g=n.substring(p+1),n=n.substring(0,p));var m=n,h="";g&&(h="/fragment/"+encodeURIComponent(g)),e.indexOf(u)>=0||d(u)?(a("Domain found in list. Automonetizing: "+n),o&&(h="/sid/"+o+h),i.href="https://"+s+"/links/"+t+"/type/am"+h+"/"+m,a("Generated tracking link: "+i.href)):a("Domain not found in list: "+u),a("Total time: "+((new Date).getTime()-r))}}function p(e){return function(){u(e)}}function g(){a("Auto monetizing links");var e=document.getElementsByTagName("a");a("Found "+e.length+" a tags.");for(var t=0;t<e.length;t++){var s=e[t];i?u(s):l(s,"click",p(s))}}function m(){var e=window.location.href;if(a("Handling redirect for URL: "+e),e.includes("www.cigora.com")||e.includes("cigora.com")){var t=new URLSearchParams(window.location.search),s=t.get("fragment");if(a("Found fragment parameter: "+s),s&&!window.location.hash){window.location.hash=s,t.delete("fragment");var i=window.location.pathname+(t.toString()?"?"+t.toString():"")+"#"+s;a("Redirecting to new URL with fragment: "+i),window.history.replaceState({},"",i)}else a("No fragment parameter found in URL: "+e)}else a("Not a Cigora URL: "+e)}Array.prototype.indexOf||(a("shimming Array.indexOf ..."),Array.prototype.indexOf=function(e,t){for(var s=t||0,i=this.length;s<i;s++)if(this[s]===e)return s;return-1}),"complete"===document.readyState?(a("readState is complete"),g(),m()):(a("DOMContentLoaded is registered"),n((function(){g(),m()})))}()})()}},4627:function(e,t,s){s(4114),s(8992),s(4520),s(2577),s(3949),s(1454);var i=s(3751),a=s(5220),o=s(9529),r=s(5481),n=s(641);function l(e,t,s,a,o,r){const l=(0,n.g2)("base-meta"),c=(0,n.g2)("head-bunner"),d=(0,n.g2)("CouponRecommendedSection"),u=(0,n.g2)("welcome-section"),p=(0,n.g2)("our-benefits"),g=(0,n.g2)("test-ads-banner"),m=(0,n.g2)("RecommendedSection"),h=(0,n.g2)("brands-section"),f=(0,n.g2)("recently-viewed-section"),v=(0,n.g2)("how-it-work-section"),b=(0,n.g2)("our-blog-section"),k=(0,n.g2)("news-section"),y=(0,n.g2)("bottom-image"),w=(0,n.g2)("restore-password-form"),C=(0,n.g2)("base-dialog");return(0,n.uX)(),(0,n.CE)(n.FK,null,[(0,n.bF)(l,{pageType:"main_page"}),(0,n.bF)(c),(0,n.bF)(d,{accent_text:"Recommend",title:"Coupons",className:"no-flex"}),(0,n.bF)(u),(0,n.bF)(p),(0,n.bF)(g,{type:"ad"}),(0,n.bo)((0,n.bF)(m,{accent_text:"Daily",title:"Deals",items:r.productsToShow,className:"no-flex"},null,8,["items"]),[[i.aG,r.productsToShow.length>0]]),(0,n.bF)(g,{type:"ad"}),(0,n.bF)(m,{accent_text:"Hot",title:"Sale",items:r.hotSaleProducts,className:"no-flex"},null,8,["items"]),(0,n.bo)((0,n.bF)(m,{accent_text:"What We",title:"Recommend",items:r.recommendedProducts,className:"no-flex"},null,8,["items"]),[[i.aG,r.recommendedProducts.length>0]]),(0,n.bF)(h),(0,n.bF)(f,{className:"no-flex"}),(0,n.bF)(v),(0,n.bF)(g,{type:"ad"}),(0,n.bF)(b),(0,n.bF)(k),(0,n.bF)(y),(0,n.bF)(C,{show:o.restorePasswordIsOpen,title:"Restore Password",onClose:r.closeModal},{default:(0,n.k6)((()=>[(0,n.bF)(w,{onCloseModal:r.closeModal,token:o.token},null,8,["onCloseModal","token"])])),_:1},8,["show","onClose"])],64)}const c={id:"head-banner"};function d(e,t,s,i,a,o){return(0,n.uX)(),(0,n.CE)("section",c,t[0]||(t[0]=[(0,n.Fv)('<div class="hero-overlay" data-v-16a3ff34></div><h1 data-v-16a3ff34> Buy Cigars Online<br data-v-16a3ff34><span class="h1-subtitle" data-v-16a3ff34>Compare Cigar Prices & Find the Best Deals Online</span></h1><p class="subheading" data-v-16a3ff34> Real-time prices from Cigars International, JR Cigar, Famous Smoke,<br class="hide-mobile" data-v-16a3ff34> Thompson Cigar, Best Cigar Prices, CigarPage & 9 more trusted retailers </p><div class="usp-pills" data-v-16a3ff34><span data-v-16a3ff34>Lowest price guarantee</span><span data-v-16a3ff34>Daily cigar coupons & promo codes</span><span data-v-16a3ff34>AI Cigar Advisor – Try it Now</span></div>',4)]))}var u={},p=s(6262);const g=(0,p.A)(u,[["render",d],["__scopeId","data-v-16a3ff34"]]);var m=g;const h={id:"welcome"},f={class:"wrapper flex_wrapper flex_between"},v={class:"text_block"},b={class:"desk m-bottom-15"},k={class:"desk m-bottom-15"},y={class:"desk"};function w(e,t){const s=(0,n.g2)("router-link");return(0,n.uX)(),(0,n.CE)("section",h,[(0,n.Lk)("div",f,[(0,n.Lk)("div",v,[t[27]||(t[27]=(0,n.Lk)("h2",{class:"accent_text"},[(0,n.eW)("Welcome to Cigar finder, "),(0,n.Lk)("br"),(0,n.Lk)("span",{class:"title"},"the world's largest cigar store")],-1)),(0,n.Lk)("p",b,[t[5]||(t[5]=(0,n.eW)(" Cigarfinder.com is a great way to search and compare premium cigars, humidors, pipes, tobacco, accessories, and more from the top cigar retailers online. Save even more with exclusive ")),(0,n.bF)(s,{to:"/coupons"},{default:(0,n.k6)((()=>t[0]||(t[0]=[(0,n.eW)("cigar coupon codes")]))),_:1}),t[6]||(t[6]=(0,n.eW)(" from ")),(0,n.bF)(s,{to:"/coupon-detail/1-famous-smoke"},{default:(0,n.k6)((()=>t[1]||(t[1]=[(0,n.eW)("Famous Smoke")]))),_:1}),t[7]||(t[7]=(0,n.eW)(", ")),(0,n.bF)(s,{to:"/coupon-detail/33-cigars-international"},{default:(0,n.k6)((()=>t[2]||(t[2]=[(0,n.eW)("Cigars International")]))),_:1}),t[8]||(t[8]=(0,n.eW)(", ")),(0,n.bF)(s,{to:"/coupon-detail/10-thompson-cigar"},{default:(0,n.k6)((()=>t[3]||(t[3]=[(0,n.eW)("Thompson Cigar")]))),_:1}),t[9]||(t[9]=(0,n.eW)(", and ")),(0,n.bF)(s,{to:"/coupon-detail/8-jrcigarscom"},{default:(0,n.k6)((()=>t[4]||(t[4]=[(0,n.eW)("JR Cigar")]))),_:1}),t[10]||(t[10]=(0,n.eW)(". "))]),(0,n.Lk)("p",k,[t[14]||(t[14]=(0,n.eW)(" Explore your favorite cigar brands like Padron, Arturo Fuente, Liga Privada, and more. Compare prices across 17 trusted retailers, find ")),(0,n.bF)(s,{to:"/coupon-detail/24-best-cigar-prices"},{default:(0,n.k6)((()=>t[11]||(t[11]=[(0,n.eW)("Best Cigar Prices coupons")]))),_:1}),t[15]||(t[15]=(0,n.eW)(", ")),(0,n.bF)(s,{to:"/coupon-detail/4-cigarpage"},{default:(0,n.k6)((()=>t[12]||(t[12]=[(0,n.eW)("CigarPage deals")]))),_:1}),t[16]||(t[16]=(0,n.eW)(", and ")),(0,n.bF)(s,{to:"/coupon-detail/39-smoke-inn"},{default:(0,n.k6)((()=>t[13]||(t[13]=[(0,n.eW)("Smoke Inn promo codes")]))),_:1}),t[17]||(t[17]=(0,n.eW)(" all in one place. "))]),(0,n.Lk)("p",y,[t[21]||(t[21]=(0,n.eW)(" Create a free account to unlock powerful tools: build your ")),(0,n.bF)(s,{to:"/humidor"},{default:(0,n.k6)((()=>t[18]||(t[18]=[(0,n.eW)("Virtual Humidor")]))),_:1}),t[22]||(t[22]=(0,n.eW)(" with photo uploads, log every smoke in your ")),(0,n.bF)(s,{to:"/journal"},{default:(0,n.k6)((()=>t[19]||(t[19]=[(0,n.eW)("Cigar Journal")]))),_:1}),t[23]||(t[23]=(0,n.eW)(" with tasting notes and ratings, save favorites to your ")),(0,n.bF)(s,{to:"/wishlist"},{default:(0,n.k6)((()=>t[20]||(t[20]=[(0,n.eW)("Wishlist")]))),_:1}),t[24]||(t[24]=(0,n.eW)(", and get personalized recommendations from our ")),t[25]||(t[25]=(0,n.Lk)("strong",null,"AI Cigar Advisor",-1)),t[26]||(t[26]=(0,n.eW)(". "))])])])])}const C={},L=(0,p.A)(C,[["render",w],["__scopeId","data-v-73267905"]]);var A=L,I=s.p+"img/benefit1.e86f578e.svg",F=s.p+"img/benefit2.cee3f4f8.svg",S=s.p+"img/benefit3.1a846609.svg";const _={id:"benefits"};function E(e,t){return(0,n.uX)(),(0,n.CE)("section",_,t[0]||(t[0]=[(0,n.Fv)('<div class="wrapper" data-v-5a33674b><div class="text_block" data-v-5a33674b><h2 class="accent_text" data-v-5a33674b>Our <br data-v-5a33674b><span class="title" data-v-5a33674b>Benefits</span></h2></div></div><div class="wrapper flex_wrapper flex_between" data-v-5a33674b><div class="item" data-v-5a33674b><img src="'+I+'" alt="Search" loading="lazy" data-v-5a33674b><h3 class="title" data-v-5a33674b>Search</h3><p data-v-5a33674b> Find your favorite cigar brands, tobacco, e-cigarettes, and accessories. </p></div><div class="item" data-v-5a33674b><img src="'+F+'" alt="Compare" loading="lazy" data-v-5a33674b><h3 class="title" data-v-5a33674b>Compare</h3><p data-v-5a33674b> Discover multiple retailers offering the product you love, compare pricing, reviews, and more. </p></div><div class="item" data-v-5a33674b><img src="'+S+'" alt="Buy" loading="lazy" data-v-5a33674b><h3 class="title" data-v-5a33674b>Purchase</h3><p data-v-5a33674b> Purchase from selected retailers and receive items right to your doorstep. </p></div></div>',2)]))}const T={},O=(0,p.A)(T,[["render",E],["__scopeId","data-v-5a33674b"]]);var D=O,R=s(33);const P={id:"how-it-work"},W={class:"mobile-toggle-wrap"};function x(e,t,s,i,a,o){return(0,n.uX)(),(0,n.CE)("section",P,[t[2]||(t[2]=(0,n.Lk)("div",{class:"wrapper"},[(0,n.Lk)("div",{class:"text_block"},[(0,n.Lk)("h2",{class:"accent_text"},[(0,n.eW)("How It "),(0,n.Lk)("br"),(0,n.Lk)("span",{class:"title"},"works")])])],-1)),(0,n.Lk)("div",W,[(0,n.Lk)("button",{class:"mobile-toggle",onClick:t[0]||(t[0]=e=>a.showSteps=!a.showSteps)},(0,R.v_)(a.showSteps?"Hide Steps ▲":"Learn More ▼"),1)]),(0,n.Lk)("div",{class:(0,R.C4)(["wrapper flex_wrapper flex_between svg-background",{"collapsed-mobile":!a.showSteps}])},t[1]||(t[1]=[(0,n.Fv)('<div class="item" data-v-5614293c><div class="ellipse" data-v-5614293c>1</div><div class="text" data-v-5614293c><h3 class="title" data-v-5614293c>Explore Cigar Finder</h3><p data-v-5614293c> Search and compare between many tobacco online retailers for the best prices, reviews, etc. We gather daily information from many cigar/tobacco-related e-commerce sites, combine them, and tailor it according to your search request. </p></div></div><div class="item" data-v-5614293c><div class="ellipse" data-v-5614293c>2</div><div class="text" data-v-5614293c><h3 class="title" data-v-5614293c>Buy It</h3><p data-v-5614293c> Found the item you love? Once you have compared prices and reviews between the selected items. Click on the shop now button to take you to the retailer's website to complete your purchase. </p></div></div><div class="item last" data-v-5614293c><div class="ellipse last" data-v-5614293c>3</div><div class="text" data-v-5614293c><h3 class="title" data-v-5614293c>Enjoy It</h3><p data-v-5614293c> Once purchased, allow a few minutes for your confirmation email to arrive. There you can view your order details with tracking information. Once the order arrives, simply CUT, LIGHT, AND ENJOY your delicious cigar. </p></div></div>',3)]),2)])}var M={data(){return{showSteps:!1}}};const B=(0,p.A)(M,[["render",x],["__scopeId","data-v-5614293c"]]);var U=B;const X={id:"our-blog"},N={class:"wrapper m-top-50"},q={class:"row-revers"},$={class:"row"};function j(e,t,s,a,o,r){const l=(0,n.g2)("BlogCard");return(0,n.uX)(),(0,n.CE)("section",X,[t[0]||(t[0]=(0,n.Lk)("div",{class:"wrapper"},[(0,n.Lk)("div",{class:"text_block"},[(0,n.Lk)("h2",{class:"accent_text"},[(0,n.eW)("Learn More In "),(0,n.Lk)("br"),(0,n.Lk)("span",{class:"title"},"Cigar Life")])])],-1)),(0,n.bo)((0,n.Lk)("div",N,[(0,n.Lk)("div",q,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(r.articlesList.articles,((e,t)=>((0,n.uX)(),(0,n.Wv)(l,{key:e.id,classOurBlog:"our-blog",otherBlock:"block-blog",ourBlogText:"our-blog-text",image:e?.image,title:e?.title,slug:e?.slug,created:e?.created_at,body:e?.body,id:e?.id,ourBlogIndex:t,srtCount:43},null,8,["image","title","slug","created","body","id","ourBlogIndex"])))),128))]),(0,n.Lk)("div",$,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(r.articlesList.articles,((e,t)=>((0,n.uX)(),(0,n.Wv)(l,{key:e.id,classOurBlogOther:"our-blog-other",otherBlock:"other-block",ourBlogText:"our-blog-text",image:e?.image,title:e?.title,created:e?.created_at,slug:e?.slug,body:"",id:e?.id,ourBlogIndexOther:t,srtCount:20},null,8,["image","title","created","slug","id","ourBlogIndexOther"])))),128))])],512),[[i.aG,r.articlesList.articles]])])}var H=s(4716),V={components:{BlogCard:H.A},computed:{articlesList(){return this.$store.getters.articlesList}},created(){this.$store.dispatch("getArticlesList",{params:"&article_type=blog&per_page=10"})}};const z=(0,p.A)(V,[["render",j],["__scopeId","data-v-73fe0ba6"]]);var J=z,Q=s(6553),Y=s(4320);const K={key:0,id:"brands"},G={class:"wrapper"},Z={class:"wrapper max-width"},ee={class:"carousel-container",id:"brands-container"};function te(e,t,s,i,a,o){const r=(0,n.g2)("brands-list");return o.brands?((0,n.uX)(),(0,n.CE)("section",K,[(0,n.Lk)("div",G,[t[4]||(t[4]=(0,n.Lk)("div",{class:"text_block"},[(0,n.Lk)("h2",{class:"accent_text"},[(0,n.eW)("Popular "),(0,n.Lk)("br"),(0,n.Lk)("span",{class:"title"},"Cigar Brands")])],-1)),(0,n.Lk)("div",Z,[(0,n.Lk)("div",{class:"left arrow",onClick:t[0]||(t[0]=e=>o.slide("left"))},t[2]||(t[2]=[(0,n.Lk)("svg",{width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,n.Lk)("path",{d:"M9 1L1 9L9 17",stroke:"#6C3F13","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),(0,n.Lk)("div",ee,[(0,n.bF)(r,{items:o.brands},null,8,["items"])]),(0,n.Lk)("div",{class:"right arrow",onClick:t[1]||(t[1]=e=>o.slide("right"))},t[3]||(t[3]=[(0,n.Lk)("svg",{width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,n.Lk)("path",{d:"M1 17L9 9L1 1",stroke:"#6C3F13","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]))])])])):(0,n.Q3)("",!0)}const se={key:0,class:"list"},ie={key:0,class:"chunks"},ae={key:1,class:"items"};function oe(e,t,s,i,a,o){const r=(0,n.g2)("brand-item"),l=(0,n.g2)("brands-row");return o.itemsList?((0,n.uX)(),(0,n.CE)("div",se,[3===o.itemsList.length&&Array.isArray(o.itemsList[0])?((0,n.uX)(),(0,n.CE)("div",ie,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(o.itemsList,(e=>((0,n.uX)(),(0,n.Wv)(l,{key:e[0],rowProp:e},{default:(0,n.k6)((()=>[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e,(e=>((0,n.uX)(),(0,n.Wv)(r,{key:e.id,title:e?.name,image:e?.image?.small.url},null,8,["title","image"])))),128))])),_:2},1032,["rowProp"])))),128))])):((0,n.uX)(),(0,n.CE)("div",ae,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(s.items,(e=>((0,n.uX)(),(0,n.Wv)(r,{key:e.id,title:e?.name,image:e?.image?.small.url},null,8,["title","image"])))),128))]))])):(0,n.Q3)("",!0)}const re={class:"image"},ne=["alt"],le={class:"title"};function ce(e,t,s,i,a,o){const r=(0,n.g2)("router-link"),l=(0,n.gN)("lazy");return(0,n.uX)(),(0,n.Wv)(r,{class:"item",to:o.brandUrl},{default:(0,n.k6)((()=>[(0,n.Lk)("figure",re,[(0,n.bo)((0,n.Lk)("img",{alt:s.title},null,8,ne),[[l,s.image]])]),(0,n.Lk)("div",le,[(0,n.Lk)("h6",null,(0,R.v_)(s.title),1)])])),_:1},8,["to"])}var de={Ashton:"ashton",Avanti:"avanti",AVO:"avo",Avo:"avo",Baccarat:"baccarat",CAO:"cao",CLE:"cle",Camacho:"camacho",Davidoff:"davidoff",Djarum:"djarum",Excalibur:"excalibur",Macanudo:"macanudo","My Father":"my-father",Nub:"nub",Padron:"padron","Rocky Patel":"rocky-patel","Rocky Patel":"rocky-patel","Romeo y Julieta":"romeo-y-julieta","Romeo Y Julieta":"romeo-y-julieta","Man O War":"man-o-war"},ue={props:{title:{type:String,required:!0},image:{type:String,required:!0}},computed:{brandFilter:function(){return this.title.replace(/ Cigars$/i,"").replace(/ Cafe$/i,"").trim()},brandUrl:function(){var e=de[this.brandFilter];return e?"/brands/"+e:"/brands/"+this.brandFilter.toLowerCase().replace(/\s+/g,"-")}}};const pe=(0,p.A)(ue,[["render",ce],["__scopeId","data-v-e433019a"]]);var ge=pe;const me={class:"brands-row"};function he(e,t){return(0,n.uX)(),(0,n.CE)("div",me,[(0,n.RG)(e.$slots,"default",{},void 0,!0)])}const fe={},ve=(0,p.A)(fe,[["render",he],["__scopeId","data-v-6a1942c4"]]);var be=ve,ke={components:{BrandItem:ge,BrandsRow:be},props:{items:{type:Array,required:!0}},computed:{itemsList(){return this.items}}};const ye=(0,p.A)(ke,[["render",oe],["__scopeId","data-v-36920e7e"]]);var we=ye,Ce={components:{BrandsList:we},computed:{brands(){return this.$store.getters.brandsList}},methods:{slide(e){const t=document.getElementById("brands-container");let s=0;const i=setInterval((function(){"left"==e?t.scrollLeft-=33.33:t.scrollLeft+=33.33,s+=10,s>=100&&window.clearInterval(i)}),50)}}};const Le=(0,p.A)(Ce,[["render",te],["__scopeId","data-v-02bc595d"]]);var Ae=Le;const Ie={key:0,id:"news"},Fe={class:"wrapper m-top-50"},Se={class:"row"},_e={class:"main-column column"},Ee={key:0,class:"column mobile-carusel-container"};function Te(e,t,s,i,a,o){const r=(0,n.g2)("news-card");return o.articlesList.articles?.length>=1?((0,n.uX)(),(0,n.CE)("section",Ie,[t[0]||(t[0]=(0,n.Lk)("div",{class:"wrapper"},[(0,n.Lk)("div",{class:"text_block"},[(0,n.Lk)("h2",{class:"accent_text"},[(0,n.eW)("Cigar Industry "),(0,n.Lk)("br"),(0,n.Lk)("span",{class:"title"},"News")])])],-1)),(0,n.Lk)("div",Fe,[(0,n.Lk)("div",Se,[(0,n.Lk)("div",_e,[(0,n.bF)(r,{id:o.articlesList.articles[0]?.id,image:o.articlesList.articles[0]?.image,title:o.articlesList.articles[0]?.title,slug:o.articlesList.articles[0]?.slug,created:o.articlesList.articles[0]?.created_at,isMainColumn:!0},null,8,["id","image","title","slug","created"])]),o.articlesList.articles?.length>1?((0,n.uX)(),(0,n.CE)("div",Ee,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(o.articlesList.articles.slice(1),(e=>((0,n.uX)(),(0,n.Wv)(r,{key:e.id,id:e.id,image:e?.image,title:e?.title,slug:e?.slug,created:e?.created_at,isColumn:!0},null,8,["id","image","title","slug","created"])))),128))])):(0,n.Q3)("",!0)])])])):(0,n.Q3)("",!0)}var Oe=s(2793),De={components:{NewsCard:Oe.A},computed:{articlesList(){return this.$store.getters.newsList}},created(){this.$store.dispatch("getArticlesList",{params:"&article_type=news&per_page=4",type:"news"})}};const Re=(0,p.A)(De,[["render",Te],["__scopeId","data-v-7ab4ccd0"]]);var Pe=Re,We=s(4735),xe={components:{HeadBunner:m,WelcomeSection:A,OurBenefits:D,HowItWorkSection:U,OurBlogSection:J,RecommendedSection:Q.A,BrandsSection:Ae,NewsSection:Pe,BottomImage:We.A,BaseDialog:(0,n.$V)((()=>s.e(850).then(s.bind(s,5850)))),RestorePasswordForm:(0,n.$V)((()=>s.e(705).then(s.bind(s,5705)))),CouponRecommendedSection:Y.A},data(){return{token:"",restorePasswordIsOpen:!1,couponsRecommended:[]}},computed:{recommendedProducts(){return this.$store.getters.recommendedProducts},hotSaleProducts(){return this.$store.getters.hotSaleproducts},dailyDeals(){return this.$store.getters.dailyDeals},productsList(){return this.$store.getters.productsList},productsToShow(){return 0===this.dailyDeals.length?this.productsList:this.dailyDeals}},created(){this.$store.dispatch("loadRecommendedProducts"),this.$store.dispatch("loadHotSale"),this.$store.dispatch("loadDailyDeals"),this.$store.dispatch("loadProducts",{params:""}),this.$route.params.token&&(this.token=this.$route.params.token,this.restorePasswordIsOpen=!0)},methods:{closeModal(){this.restorePasswordIsOpen=!1}}};const Me=(0,p.A)(xe,[["render",l],["__scopeId","data-v-2846bce8"]]);var Be=Me;const Ue={class:"detalis-block"},Xe={class:"block-banner"};function Ne(e,t,s,i,a,o){const r=(0,n.g2)("base-meta"),l=(0,n.g2)("BlogDetails"),c=(0,n.g2)("test-ads-banner"),d=(0,n.g2)("BaseBlogWrapper");return(0,n.uX)(),(0,n.CE)(n.FK,null,[(0,n.bF)(r,{titleProp:o.articleDetails?.title,descriptionProp:o.dynamicDescription},null,8,["titleProp","descriptionProp"]),(0,n.bF)(d,{title:o.pageName,linkTitle:"/"+o.pageName,titleDetails:o.articleDetails,classDetails:"active"},{default:(0,n.k6)((()=>[(0,n.Lk)("div",Ue,[(0,n.bF)(l,{title:o.articleDetails?.title,date:o.articleDetails?.created_at,img:o.articleDetails?.image,body:o.articleDetails?.body},null,8,["title","date","img","body"]),(0,n.Lk)("div",Xe,[(0,n.bF)(c,{type:"small"}),(0,n.bF)(c,{type:"small"})])]),(0,n.bF)(c,{type:"footer"})])),_:1},8,["title","linkTitle","titleDetails"])],64)}var qe=s(9402);const $e={key:0,class:"blog-details"},je={class:"text_block"},He={key:0,class:"title"},Ve={key:0,class:"date"},ze={key:1,class:"img-wrapper"},Je=["src","alt"],Qe=["innerHTML"],Ye=["innerHTML"];function Ke(e,t,s,i,a,o){const r=(0,n.g2)("ChartComponent");return o.hasContent?((0,n.uX)(),(0,n.CE)("div",$e,[(0,n.Lk)("div",je,[t[0]||(t[0]=(0,n.Lk)("p",{class:"accent_text"},"Article:",-1)),s.title?((0,n.uX)(),(0,n.CE)("h1",He,(0,R.v_)(s.title),1)):(0,n.Q3)("",!0)]),o.formattedDate?((0,n.uX)(),(0,n.CE)("div",Ve,(0,R.v_)(o.formattedDate),1)):(0,n.Q3)("",!0),s.img&&s.img.url?((0,n.uX)(),(0,n.CE)("div",ze,[(0,n.Lk)("img",{src:s.img.url,alt:s.title||"Article Image"},null,8,Je)])):(0,n.Q3)("",!0),a.bodyParts.before?((0,n.uX)(),(0,n.CE)("div",{key:2,innerHTML:a.bodyParts.before,class:"text"},null,8,Qe)):(0,n.Q3)("",!0),a.chartData?((0,n.uX)(),(0,n.Wv)(r,{key:3,headers:a.chartData.headers,data:a.chartData.rows,class:"chart-component"},null,8,["headers","data"])):(0,n.Q3)("",!0),a.bodyParts.after?((0,n.uX)(),(0,n.CE)("div",{key:4,innerHTML:a.bodyParts.after,class:"text"},null,8,Ye)):(0,n.Q3)("",!0)])):(0,n.Q3)("",!0)}var Ge=s(3495);const Ze={class:"chart-container"};function et(e,t,s,i,a,o){return(0,n.uX)(),(0,n.CE)("div",Ze,[(0,n.Lk)("table",null,[(0,n.Lk)("thead",null,[(0,n.Lk)("tr",null,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(s.headers,(e=>((0,n.uX)(),(0,n.CE)("th",{key:e},(0,R.v_)(e),1)))),128))])]),(0,n.Lk)("tbody",null,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(s.data,((e,t)=>((0,n.uX)(),(0,n.CE)("tr",{key:t},[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e,((e,t)=>((0,n.uX)(),(0,n.CE)("td",{key:t},(0,R.v_)(e),1)))),128))])))),128))])])])}var tt={props:{headers:Array,data:Array}};const st=(0,p.A)(tt,[["render",et],["__scopeId","data-v-a5f83bb6"]]);var it=st,at={name:"BlogDetails",components:{ChartComponent:it},props:{img:{type:Object,default:()=>({url:""})},title:{type:String,default:""},date:{type:String,default:""},body:{type:String,default:""}},data(){return{chartData:null,bodyParts:{before:"",after:""}}},computed:{formattedDate(){if(this.date)try{return(0,Ge.A)(new Date(this.date),"do MMM yyyy")}catch(e){return this.date}return""},hasContent(){return this.title||this.formattedDate||this.img&&this.img.url||this.body}},watch:{body(e){this.processChart(e)}},mounted(){this.processChart(this.body)},methods:{processChart(e){if(console.log("Processing body:",e),!e)return this.bodyParts.before="",this.bodyParts.after="",void(this.chartData=null);const t=new DOMParser,s=t.parseFromString(e,"text/html"),i=s.querySelector("table");if(i){console.log("Table found:",i.outerHTML);const t=Array.from(i.querySelectorAll("th")).map((e=>e.textContent.trim())),s=Array.from(i.querySelectorAll("tr")).filter((e=>e.querySelector("td"))).map((e=>Array.from(e.querySelectorAll("td")).map((e=>e.textContent.trim()))));this.chartData={headers:t,rows:s};const a=i.outerHTML,o=e.indexOf(a);if(-1!==o)this.bodyParts.before=e.substring(0,o),this.bodyParts.after=e.substring(o+a.length);else{const t=document.createElement("div");t.innerHTML=e;const s=t.querySelector("table");if(s){const e=Array.from(t.childNodes).indexOf(s);this.bodyParts.before=Array.from(t.childNodes).slice(0,e).map((e=>e.outerHTML||e.textContent)).join(""),this.bodyParts.after=Array.from(t.childNodes).slice(e+1).map((e=>e.outerHTML||e.textContent)).join("")}}}else this.bodyParts.before=e,this.bodyParts.after="",this.chartData=null;console.log("ChartData:",this.chartData),console.log("BodyParts:",this.bodyParts)}}};const ot=(0,p.A)(at,[["render",Ke],["__scopeId","data-v-e1920822"]]);var rt=ot,nt=s(4542),lt={components:{BaseBlogWrapper:qe.A,BlogDetails:rt,BaseMeta:nt.A},computed:{articleDetails(){return this.$store.getters["articleDetails/articleDetails"]||{}},pageName(){return this.$route.fullPath.includes("/blog")?"blog":"news"},dynamicDescription(){const e=this.articleDetails?.body||"",t=e.replace(/<[^>]*>/g,"").replace(/ /g," ").replace(/\s+/g," ").trim(),s=t.split(" ").slice(0,30).join(" ");return s?`${s}...`:"Read this cigar article on CigarFinder."}},async mounted(){window.scrollTo({top:0,behavior:"smooth"});const e=this.$route.params.slug;await this.$store.dispatch("articleDetails/articlesDetails",e)}};const ct=(0,p.A)(lt,[["render",Ne],["__scopeId","data-v-93d6270c"]]);var dt=ct,ut=s(6278),pt={setUserData(e,t){e.userData=t.userData,e.token=t.token,e.userId=t.userId,e.userName=t.userName,e.avatar=t.avatar}},gt=s(7465),mt={async signup(e,t){return e.dispatch("auth",{userData:t.userData,mode:"signup"})},async login(e,t){return e.dispatch("auth",{userData:t.userData,mode:"login"})},async socialLogin(e,t){return e.dispatch("auth",{userData:t.userData,mode:"social"})},async auth(e,t){const s=t.mode;let i=`${gt.baseUrl}api/v1/sessions`;"signup"===s?i=`${gt.baseUrl}api/v1/users`:"social"===s&&(i=`${gt.baseUrl}api/v1/sessions/social_login`);const a=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t.userData)}),o=await a.json();if(!a.ok){const e=new Error(o.errors||"Login Failed. Please try again");throw e}localStorage.setItem("token",o.session_token),localStorage.setItem("userId",o.current_user.id),localStorage.setItem("userName",o.current_user.full_name),localStorage.setItem("avatar",o.current_user?.avatar_image),e.commit("setUserInfo",o),e.commit("setUserData",{token:o.session_token,userId:o.current_user.id,avatar:o.current_user?.avatar_image?.thumbnail?.url,userData:o.current_user,userName:o.current_user.full_name}),e.dispatch("getUserInfo")},tryLogin(e){const t=localStorage.getItem("token"),s=localStorage.getItem("userId"),i=localStorage.getItem("userName"),a=localStorage.getItem("avatar");t&&s&&i&&(e.commit("setUserData",{token:t,userId:s,userName:i,avatar:a}),e.dispatch("loadWishlist","&sort_column=favorite_at&sort_type=desc"),e.dispatch("loadOrderHistory"),e.dispatch("getUserInfo"),e.dispatch("loadViewedProduct"),e.dispatch("cigarlife/loadHumidor",null,{root:!0}),e.dispatch("cigarlife/loadJournal",null,{root:!0}))},logout(e){localStorage.removeItem("token"),localStorage.removeItem("userId"),localStorage.removeItem("userName"),localStorage.removeItem("avatar"),e.commit("setUserData",{userId:null,token:null,userData:null,userName:null,avatar:null})}},ht={userId(e){return e.userId},userData(e){return e.userData},token(e){return e.token},isAuthenticated(e){return!!e.token},userName(e){return e.userName},avatar(e){return e.avatar}},ft={state(){return{userId:null,userName:null,avatar:null,token:null,userData:null}},mutations:pt,actions:mt,getters:ht},vt={setCategories(e,t){e.categories=t}},bt={async categories(e){let t=[];await(0,gt.fetchData)(`${gt.baseUrl}api/v1/categories`,null,e.getters.token).then((e=>t=e)).catch((e=>console.log(e))),e.commit("setCategories",t.categories)}},kt={categoriesList(e){return e.categories}},yt={state(){return{categories:null}},mutations:vt,actions:bt,getters:kt},wt={setProducts(e,t){e.products=t},updateProduct(e,t){const s=e.products.products?.find((e=>e.id===t.id));s&&(s.favorite=!s?.favorite)},setProductsLastRequestTimestamp(e,t){e.productsLastRequestTimestamp=t}};const Ct=e=>{if(!e)return"";let t=String(e).trim();return t.startsWith("?")&&(t="&"+t.slice(1)),t.startsWith("&")||(t="&"+t),t=t.replace(/(&|\?)per_page=\d+/gi,""),t};var Lt={async loadProducts(e,t){let s=new Date;e.commit("setProductsLastRequestTimestamp",s);const i=t.params,a=Ct(i);let o=`${gt.baseUrl}api/v1/products?per_page=15`+a;const r=e.getters.token,n=await fetch(o,{headers:{"Content-Type":"application/json","Session-Token":r}}),l=await n.json();if(!n.ok){const e=new Error(l.error);throw e}s===e.getters.productsLastRequestTimestamp&&e.commit("setProducts",l)},async addToWishlist(e,t){return e.dispatch("requestToWishlist",{id:t.id,mode:"add",updateAction:t.updateAction})},async removeFromWishlist(e,t){return e.dispatch("requestToWishlist",{id:t.id,mode:"remove",hardReload:t.hardReload,updateAction:t.updateAction})},async requestToWishlist(e,t){let s=`${gt.baseUrl}api/v1/products/`+t.id+"/save",i="POST";"remove"===t.mode&&(s=`${gt.baseUrl}api/v1/products/`+t.id+"/remove",i="DELETE");const a=e.getters.token,o=await fetch(s,{method:i,headers:{"Content-Type":"application/json","Session-Token":a}}),r=await o.json();if(!o.ok){const e=new Error(r.errors||"add/remove to Wishlist is failed. Please try again");throw e}t.hardReload||e.commit(t.updateAction||"updateProduct",t),e.dispatch("loadWishlist","&sort_column=favorite_at&sort_type=desc")}},At={productsList(e){return e.products},productsLastRequestTimestamp(e){return e.productsLastRequestTimestamp}},It={state(){return{products:[]}},mutations:wt,actions:Lt,getters:At};s(7642),s(8004),s(3853),s(5876),s(2475),s(5024),s(1698),s(8872);const Ft="cf_community_reviews",St="cf_review_reports";function _t(e){return e.replace(/https?:\/\/[^\s]+/gi,"[link removed]").replace(/www\.[^\s]+/gi,"[link removed]").replace(/[a-zA-Z0-9-]+\.(com|net|org|io|co|info|biz|xyz|shop|store)[^\s]*/gi,"[link removed]")}function Et(e){const t=["spam","buy now","click here","free money","viagra"],s=e.toLowerCase();return t.some((e=>s.includes(e)))}function Tt(e,t){const s=[];(!e.body||e.body.trim().length<20)&&s.push("Review must be at least 20 characters."),e.body&&e.body.length>500&&s.push("Review must be under 500 characters."),(!e.rating||e.rating<1||e.rating>5)&&s.push("Please select a rating (1-5)."),(!e.title||e.title.trim().length<3)&&s.push("Title must be at least 3 characters."),e.title&&e.title.length>100&&s.push("Title must be under 100 characters.");const i=t.find((t=>t.productId===e.productId&&t.userId===e.userId));i&&s.push("You have already reviewed this product. Edit your existing review instead.");const a=(new Date).toDateString(),o=t.filter((t=>t.userId===e.userId&&new Date(t.createdAt).toDateString()===a)).length;return o>=5&&s.push("You can submit up to 5 reviews per day."),(Et(e.body)||Et(e.title))&&s.push("Review contains inappropriate content."),s}function Ot(e){try{return JSON.parse(localStorage.getItem(e))||[]}catch(t){return[]}}function Dt(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch(s){console.error(s)}}var Rt={state(){return{communityReviews:Ot(Ft),reviewReports:Ot(St)}},getters:{getProductReviews:e=>t=>e.communityReviews.filter((e=>e.productId===t&&!e.hidden)).sort(((e,t)=>new Date(t.createdAt)-new Date(e.createdAt))),getAllReviews(e){return[...e.communityReviews].sort(((e,t)=>new Date(t.createdAt)-new Date(e.createdAt)))},getUserReview:e=>(t,s)=>e.communityReviews.find((e=>e.productId===t&&e.userId===s)),getReviewReports(e){return e.reviewReports},reviewStats(e){const t=e.communityReviews.filter((e=>!e.hidden));return{total:t.length,avgRating:t.length?(t.reduce(((e,t)=>e+t.rating),0)/t.length).toFixed(1):0,reported:e.reviewReports.length,hidden:e.communityReviews.filter((e=>e.hidden)).length}}},mutations:{ADD_REVIEW(e,t){e.communityReviews.push(t),Dt(Ft,e.communityReviews)},UPDATE_REVIEW(e,{id:t,updates:s}){const i=e.communityReviews.find((e=>e.id===t));i&&(Object.assign(i,s,{updatedAt:(new Date).toISOString()}),Dt(Ft,e.communityReviews))},REMOVE_REVIEW(e,t){e.communityReviews=e.communityReviews.filter((e=>e.id!==t)),Dt(Ft,e.communityReviews)},HIDE_REVIEW(e,t){const s=e.communityReviews.find((e=>e.id===t));s&&(s.hidden=!0,Dt(Ft,e.communityReviews))},REPORT_REVIEW(e,t){e.reviewReports.push(t),Dt(St,e.reviewReports)},DISMISS_REPORT(e,t){e.reviewReports=e.reviewReports.filter((e=>e.id!==t)),Dt(St,e.reviewReports)}},actions:{submitReview({commit:e,state:t},s){const i=Tt(s,t.communityReviews);if(i.length)return{success:!1,errors:i};const a={...s,id:Date.now().toString(36)+Math.random().toString(36).substr(2,5),title:_t(s.title.trim()),body:_t(s.body.trim()),createdAt:(new Date).toISOString(),hidden:!1};e("ADD_REVIEW",a);try{if(this&&this.getters&&this.getters.token){var o=this.getters.token;fetch(gt.baseUrl+"api/v1/reviews",{method:"POST",headers:{"Content-Type":"application/json","Session-Token":o},body:JSON.stringify({review:{title:a.title,body:a.body,rating:a.rating,product_id:a.productId}})})}}catch(r){console.debug("Review API sync:",r)}return{success:!0}},editReview({commit:e},{id:t,updates:s}){const i={...s,title:s.title?_t(s.title.trim()):void 0,body:s.body?_t(s.body.trim()):void 0};e("UPDATE_REVIEW",{id:t,updates:i})},deleteReview({commit:e},t){e("REMOVE_REVIEW",t)},hideReview({commit:e},t){e("HIDE_REVIEW",t)},reportReview({commit:e},{reviewId:t,reason:s,reporterId:i}){e("REPORT_REVIEW",{id:Date.now().toString(36),reviewId:t,reason:s,reporterId:i,createdAt:(new Date).toISOString()})},dismissReport({commit:e},t){e("DISMISS_REPORT",t)}}};const Pt="cf_journal";function Wt(e){try{const t=localStorage.getItem(e);return t?JSON.parse(t):[]}catch(t){return[]}}function xt(){return localStorage.getItem("token")}async function Mt(e,t={}){const s=xt();if(!s)return null;const i={"Session-Token":s,...t.headers};t.body instanceof FormData||(i["Content-Type"]="application/json");try{const s=await fetch(gt.baseUrl+"api/v1/"+e,{...t,headers:i});return s.ok?await s.json():null}catch(a){return console.error("Humidor API error:",a),null}}var Bt={namespaced:!0,state(){return{humidor:[],journal:Wt(Pt),humidorLoaded:!1,journalLoaded:!1,...Rt.state()}},getters:{humidorItems(e){return e.humidor},journalEntries(e){return e.journal},humidorCount(e){return e.humidor.reduce(((e,t)=>e+(t.quantity||1)),0)},journalCount(e){return e.journal.length},humidorStats(e){const t=e.humidor,s=[...new Set(t.map((e=>e.brand)).filter(Boolean))],i=t.reduce(((e,t)=>e+(t.price||0)*(t.quantity||1)),0);return{totalCigars:t.reduce(((e,t)=>e+(t.quantity||1)),0),uniqueBrands:s.length,totalValue:i}},...Rt.getters,journalStats(e){const t=e.journal;if(!t.length)return{totalSmoked:0,avgRating:0,favBrand:"N/A"};const s=(t.reduce(((e,t)=>e+(t.rating||0)),0)/t.length).toFixed(1),i={};t.forEach((e=>{e.brand&&(i[e.brand]=(i[e.brand]||0)+1)}));const a=Object.keys(i).sort(((e,t)=>i[t]-i[e]))[0]||"N/A";return{totalSmoked:t.length,avgRating:s,favBrand:a}}},mutations:{SET_HUMIDOR(e,t){e.humidor=t,e.humidorLoaded=!0},ADD_TO_HUMIDOR(e,t){e.humidor.push(t)},UPDATE_HUMIDOR_ITEM(e,{id:t,updates:s}){const i=e.humidor.find((e=>e.id===t));i&&Object.assign(i,s)},REMOVE_FROM_HUMIDOR(e,t){e.humidor=e.humidor.filter((e=>e.id!==t))},SET_JOURNAL(e,t){e.journal=t,e.journalLoaded=!0},ADD_JOURNAL_ENTRY(e,t){e.journal.unshift(t)},UPDATE_JOURNAL_ENTRY(e,{id:t,updates:s}){const i=e.journal.find((e=>e.id===t));i&&Object.assign(i,s)},REMOVE_JOURNAL_ENTRY(e,t){e.journal=e.journal.filter((e=>e.id!==t))},...Rt.mutations},actions:{async loadHumidor({commit:e,state:t}){if(t.humidorLoaded)return;const s=await Mt("humidor_items");s&&s.items?e("SET_HUMIDOR",s.items):e("SET_HUMIDOR",[])},async addToHumidor({commit:e},t){const s=await Mt("humidor_items",{method:"POST",body:JSON.stringify({name:t.name,brand:t.brand||"",quantity:t.quantity||1,price:t.price||null,wrapper:t.wrapper||"",notes:t.notes||"",product_id:t.productId||null})});s&&s.item&&e("ADD_TO_HUMIDOR",s.item)},async updateHumidorItem({commit:e},{id:t,updates:s}){const i=await Mt("humidor_items/"+t,{method:"PUT",body:JSON.stringify(s)});i&&i.item&&e("UPDATE_HUMIDOR_ITEM",{id:t,updates:i.item})},async removeFromHumidor({commit:e},t){await Mt("humidor_items/"+t,{method:"DELETE"}),e("REMOVE_FROM_HUMIDOR",t)},async uploadHumidorImage({commit:e},{id:t,file:s}){const i=new FormData;i.append("image",s);const a=await Mt("humidor_items/"+t+"/upload_image",{method:"POST",body:i});return a&&a.item&&e("UPDATE_HUMIDOR_ITEM",{id:t,updates:a.item}),a},async clearHumidor({commit:e}){await Mt("humidor_items/clear",{method:"DELETE"}),e("SET_HUMIDOR",[])},async loadJournal({commit:e,state:t}){if(t.journalLoaded)return;const s=await Mt("journal_entries");s&&s.entries?e("SET_JOURNAL",s.entries):e("SET_JOURNAL",[])},async addJournalEntry({commit:e},t){const s=await Mt("journal_entries",{method:"POST",body:JSON.stringify({name:t.name||"",brand:t.brand||"",wrapper:t.wrapper||"",rating:t.rating||0,notes:t.notes||"",pairing:t.pairing||"",flavor:t.flavor||"",draw:t.draw||"",burn:t.burn||"",strength:t.strength||"",product_id:t.productId||null})});s&&s.entry&&e("ADD_JOURNAL_ENTRY",s.entry)},async updateJournalEntry({commit:e},{id:t,updates:s}){const i=await Mt("journal_entries/"+t,{method:"PUT",body:JSON.stringify(s)});i&&i.entry&&e("UPDATE_JOURNAL_ENTRY",{id:t,updates:i.entry})},async removeJournalEntry({commit:e},t){await Mt("journal_entries/"+t,{method:"DELETE"}),e("REMOVE_JOURNAL_ENTRY",t)},async uploadJournalImage({commit:e},{id:t,file:s}){const i=new FormData;i.append("image",s);const a=await Mt("journal_entries/"+t+"/upload_image",{method:"POST",body:i});return a&&a.entry&&e("UPDATE_JOURNAL_ENTRY",{id:t,updates:a.entry}),a},async clearJournal({commit:e}){await Mt("journal_entries/clear",{method:"DELETE"}),e("SET_JOURNAL",[])},...Rt.actions}},Ut={setWishlist(e,t){e.wishlist=t}};const Xt=e=>{let t=String(e).trim();return t.startsWith("?")&&(t="&"+t.slice(1)),t=t.replace(/(&|\?)per_page=\d+/gi,""),t};var Nt={async loadWishlist(e,t=""){t=Xt(t);let s=`${gt.baseUrl}api/v1/products?per_page=15&favorite=true`+t,i=[];await(0,gt.fetchData)(s,null,e.getters.token).then((e=>i=e)).catch((e=>console.log(e))),e.commit("setWishlist",i)},async addToWishlist(e,t){const s=e.getters.token;try{await fetch(`${gt.baseUrl}api/v1/products/${t.id}/save`,{method:"POST",headers:{"Content-Type":"application/json","Session-Token":s}}),await e.dispatch("loadWishlist","&sort_column=favorite_at&sort_type=desc")}catch(i){console.log("addToWishlist error:",i)}},async removeFromWishlist(e,t){const s=e.getters.token;try{await fetch(`${gt.baseUrl}api/v1/products/${t.id}/remove`,{method:"DELETE",headers:{"Content-Type":"application/json","Session-Token":s}}),await e.dispatch("loadWishlist","&sort_column=favorite_at&sort_type=desc")}catch(i){console.log("removeFromWishlist error:",i)}},async clearWishList(e){const t=e.getters.token;t&&await fetch(`${gt.baseUrl}api/v1/products/clear_favorites`,{method:"DELETE",headers:{"Content-Type":"application/json","Session-Token":t}}).catch((e=>console.log(e))),e.commit("setWishlist",{products:[],count:0})}},qt={wishList(e){return e.wishlist}},$t={state(){return{wishlist:[]}},mutations:Ut,actions:Nt,getters:qt},jt={setFilters(e,t){e.filters=t},addToActive(e,t){if("object"===typeof t.values&&e.activeFilters.find((e=>e.type===t.type))){let s=e.activeFilters.findIndex((e=>e.type===t.type));e.activeFilters[s]=t}else if(e.activeFilters.find((e=>e.type===t.type&&e.values===t.values))){let s=e.activeFilters.findIndex((e=>e.type===t.type&&e.values===t.values));e.activeFilters.splice(s,1)}else e.activeFilters.push(t)},removeFromActive(e,t){let s=e.activeFilters.findIndex((e=>e.type===t.type&&e.values===t.values));e.activeFilters.splice(s,1)},disableAll(e){e.activeFilters=[]},setLastActive(e,t){e.lastActive=t},changeLoading(e,t){e.isLoading=t},setFiltersLastRequestTimestamp(e,t){e.filtersLastRequestTimestamp=t},setPage(e,t){e.page=t}};const Ht=e=>{if(!e)return"";let t=String(e).trim();return t.startsWith("?")&&(t="&"+t.slice(1)),t.startsWith("&")||(t="&"+t),t=t.replace(/(&|\?)per_page=\d+/gi,""),t};var Vt={async loadFilters(e,t){let s=new Date;e.commit("setFiltersLastRequestTimestamp",s);let i=Ht(t.params),a=`${gt.baseUrl}api/v1/products/filters?per_page=15`+i;e.getters.lastActive&&(a+="&last_active="+e.getters.lastActive);let o=[];return await(0,gt.fetchData)(a,null,e.getters.token).then((e=>o=e)).catch((e=>console.log(e))),void 0!==o.filters&&s===e.getters.filtersLastRequestTimestamp?(e.commit("setFilters",Object.entries(zt(o.filters))),void e.dispatch("disableLoading")):null},addToActive(e,t){e.commit("addToActive",t)},disableFilter(e,t){e.commit("removeFromActive",t)},setPage(e,t){e.commit("setPage",t)},disableAllFilters(e){e.commit("disableAll")},addToLastActive(e,t){e.commit("setLastActive",t)},enableLoading(e){e.commit("changeLoading",!0)},disableLoading(e){e.commit("changeLoading",!1)}};const zt=e=>{let t=["3","4","5","6","7","8","9"];if(e?.strength){let s={...e},i=e.strength.values.filter((e=>!t.includes(e.name)));return s.strength.values=i,s}return e};var Jt={filters(e){return e.filters},activeFilters(e){return e.activeFilters},lastActive(e){return e.lastActive},isLoading(e){return e.isLoading},filtersLastRequestTimestamp(e){return e.filtersLastRequestTimestamp},page(e){return e.page}},Qt={state(){return{filters:null,activeFilters:[],lastActive:"",isLoading:!1}},mutations:jt,actions:Vt,getters:Jt},Yt={setUserInfo(e,t){e.currentUser=t},setCroppedAvatar(e,t){e.croppedAvatar=t},setLoader(e,t){e.loader=t}},Kt={async getUserInfo(e){let t=`${gt.baseUrl}api/v1/users/profile`,s=null;await(0,gt.fetchData)(t,null,e.getters.token).then((e=>s=e)).catch((e=>console.log("getUserInfo error:",e))),s&&e.commit("setUserInfo",s)},setCroppedAvatar(e,t){e.commit("setCroppedAvatar",t)},setLoader(e,t){e.commit("setLoader",t)}},Gt={user(e){return e.currentUser},croppedAvatar(e){return e.croppedAvatar},loader(e){return e.loader}},Zt={state(){return{currentUser:{},croppedAvatar:null,loader:!1}},mutations:Yt,actions:Kt,getters:Gt},es={setOrderHistory(e,t){e.orderHistory=t}},ts={async loadOrderHistory(e){let t=[];await(0,gt.fetchData)(`${gt.baseUrl}api/v1/products?per_page=15&purchased=true`,null,e.getters.token).then((e=>t=e)).catch((e=>console.log(e)));const s=t.products.sort(((e,t)=>{let s=new Date(e.purchased_at),i=new Date(t.purchased_at);return i-s}));e.commit("setOrderHistory",s)},async clearOrderHistory(e){const t=e.getters.token;t&&await fetch(`${gt.baseUrl}api/v1/products/clear_purchases`,{method:"DELETE",headers:{"Content-Type":"application/json","Session-Token":t}}).catch((e=>console.log(e))),e.commit("setOrderHistory",[])}},ss={orderHistory(e){return e.orderHistory}},is={state(){return{orderHistory:[]}},mutations:es,actions:ts,getters:ss},as={setProductDetails(e,t){e.product=t}},os={async loadProductDetails(e,t){let s=`${gt.baseUrl}api/v1/products/${t.id}`,i=[];await(0,gt.fetchData)(s,null,e.getters.token).then((e=>i=e)).catch((e=>console.log(e))),e.commit("setProductDetails",i)}},rs={product(e){return e.product}},ns={state(){return{product:[]}},mutations:as,actions:os,getters:rs},ls={setReviewsList(e,t){e.reviewsList=t}},cs={async getReviewsList(e,t){let s=`${gt.baseUrl}api/v1/reviews?product_id=`+t+"&per_page=3",i=[];await(0,gt.fetchData)(s,null,e.getters.token).then((e=>i=e)).catch((e=>console.log(e))),e.commit("setReviewsList",i)},async reviewsListPagination(e,t){let s=`${gt.baseUrl}api/v1/reviews?product_id=`+t.id+"&per_page=3"+t?.params,i=[];await(0,gt.fetchData)(s,null,e.getters.token).then((e=>i=e)).catch((e=>console.log(e))),e.commit("setReviewsList",i)}},ds={reviewsList(e){return e.reviewsList}},us={state(){return{reviewsList:[]}},mutations:ls,actions:cs,getters:ds},ps={setViewedProduct(e,t){e.viewedProduct=t}},gs={async loadViewedProduct(e){let t=[];await(0,gt.fetchData)(`${gt.baseUrl}api/v1/products?viewed=true&per_page=15`,null,e.getters.token).then((e=>t=e)).catch((e=>console.log(e))),e.commit("setViewedProduct",t)},async recordProductView(e,t){const s=e.getters.token;if(s)try{await fetch(`${gt.baseUrl}api/v1/products/${t.id}/view`,{method:"POST",headers:{"Content-Type":"application/json","Session-Token":s}})}catch(i){console.log("recordProductView error:",i)}}},ms={viewedProduct(e){return e.viewedProduct}},hs={state(){return{viewedProduct:[]}},mutations:ps,actions:gs,getters:ms},fs={setRequest(e,t){e.searchRequest=t.request,e.category=t.category},setCategoriesWithProducts(e,t){e.categoriesWithProducts=t},resetCategoriesWithProducts(e){e.categoriesWithProducts=null},setFromSuggestionToTrue(e){e.fromSuggestion=!0},setFromSuggestionToFalse(e){e.fromSuggestion=!1}};const vs=e=>{if(!e)return"";let t=String(e).trim();return t.startsWith("?")&&(t="&"+t.slice(1)),t.startsWith("&")||(t="&"+t),t=t.replace(/(&|\?)per_page=\d+/gi,""),t};var bs={setRequest(e,t){e.commit("setRequest",t)},async loadCategoriesWithProducts(e,t){let s=t.params?.replace("%","%25");s=vs(s);let i=`${gt.baseUrl}api/v1/products/search_results?per_page=15`+s,a=[];await(0,gt.fetchData)(i,null,e.getters.token).then((e=>a=e)).catch((e=>console.log(e))),e.commit("setCategoriesWithProducts",a)},removeCategoriesWithProducts(e){e.commit("resetCategoriesWithProducts")},fromSuggestionOn(e){e.commit("setFromSuggestionToTrue")},fromSuggestionOff(e){e.commit("setFromSuggestionToFalse")}},ks={request(e){return e.searchRequest},category(e){return e.category},categoriesWithProducts(e){return e.categoriesWithProducts},fromSuggestion(e){return e.fromSuggestion}},ys={state(){return{searchRequest:null,category:{id:1,title:"Cigars"},categoriesWithProducts:null,fromSuggestion:!1}},mutations:fs,actions:bs,getters:ks},ws={setSorting(e,t){e.sorting=t}},Cs={setSorting(e,t){e.commit("setSorting",t)},disableSorting(e){e.commit("setSorting","")}},Ls={sorting(e){return e.sorting}},As={state(){return{sorting:""}},mutations:ws,actions:Cs,getters:Ls},Is={setArticlesList(e,t){e.articlesList=t},setNewsList(e,t){e.newsList=t}};let Fs=0,Ss=0;var _s={async getArticlesList(e,t){const s=t?.type&&"news"===t.type,i=s?++Ss:++Fs;let a=[];try{a=await(0,gt.fetchData)(`${gt.baseUrl}api/v1/articles`,t,e.getters.token)}catch(o){return void console.log(o)}s&&i!==Ss||(s||i===Fs)&&(s?e.commit("setNewsList",a):e.commit("setArticlesList",a))}},Es={articlesList(e){return e.articlesList},newsList(e){return e.newsList}},Ts={state(){return{articlesList:[],newsList:[]}},mutations:Is,actions:_s,getters:Es},Os={setArticleDetails(e,t){e.articleDetails=Array.isArray(t)?t:[t]}},Ds={async articlesDetails(e,t){let s=`${gt.baseUrl}api/v1/articles/`+t;const i=await(0,gt.fetchData)(s,null,e.getters.token);e.commit("setArticleDetails",i)}},Rs={articleDetails(e){const t=Array.isArray(e.articleDetails)&&e.articleDetails.length>0?e.articleDetails[0]:{};return{...t,image:t.image||{url:""}}}},Ps={namespaced:!0,state(){return{articleDetails:[]}},mutations:Os,actions:Ds,getters:Rs},Ws={setAnswers(e,t){e.answers=t}},xs={async getAnswers(e){let t=`${gt.baseUrl}api/v1/help/answers`;const s=e.getters.token,i=await fetch(t,{headers:{"Content-Type":"application/json","Session-Token":s}}),a=await i.json();if(!i.ok){const e=new Error(a.errors||"Answers Loading is Failed. Please try again");throw e}e.commit("setAnswers",a)}},Ms={answers(e){return e.answers}},Bs={state(){return{answers:[]}},mutations:Ws,actions:xs,getters:Ms},Us={setDailyDeals(e,t){e.dailyDeals=t},updateDailyDealsProducts(e,t){e.dailyDeals=e.dailyDeals.map((e=>e.id===t.id?{...e,favorite:!e.favorite}:e))}},Xs={async loadDailyDeals(e){let t=[];await(0,gt.fetchData)(`${gt.baseUrl}api/v1/products?per_page=3&daily_deals=true`,null,e.getters.token).then((e=>t=e)).catch((e=>console.log(e)));const s=t.products.sort(((e,t)=>new Date(t.updated_at)-new Date(e.updated_at)));e.commit("setDailyDeals",s)}},Ns={dailyDeals(e){return e.dailyDeals}},qs={state(){return{dailyDeals:[]}},mutations:Us,actions:Xs,getters:Ns},$s={setHotSale(e,t){e.hotSaleproducts=t.products},updateHotSaleProducts(e,t){e.hotSaleproducts=e.hotSaleproducts.map((e=>e.id===t.id?{...e,favorite:!e.favorite}:e))}},js={async loadHotSale(e){let t=[];await(0,gt.fetchData)(`${gt.baseUrl}api/v1/products?per_page=8&hot_sale=true`,null,e.getters.token).then((e=>t=e)).catch((e=>console.log(e))),e.commit("setHotSale",t)}},Hs={hotSaleproducts(e){return e.hotSaleproducts}},Vs={state(){return{hotSaleproducts:[]}},mutations:$s,actions:js,getters:Hs},zs={setRecommended(e,t){e.recommendedProducts=t}},Js={async loadRecommendedProducts(e){let t=[];await(0,gt.fetchData)(`${gt.baseUrl}api/v1/products?recommendations=true`,null,e.getters.token).then((e=>t=e)).catch((e=>console.log(e))),e.commit("setRecommended",t.products)}},Qs={recommendedProducts(e){return e.recommendedProducts}},Ys={state(){return{recommendedProducts:[]}},mutations:zs,actions:Js,getters:Qs},Ks={setShapeOptions(e,t){e.shapeOptions=t}},Gs={async loadShapeOptions(e,t){let s=`${gt.baseUrl}api/v1/products/shape_options?${t.params||""}`;t?.q&&(s+=`${t.params?"&":"?"}q=${encodeURIComponent(t.q)}`);let i=[];await(0,gt.fetchData)(s,null,e.getters.token).then((e=>i=e)).catch((e=>console.log(e)));const a=i.options||[];e.commit("setShapeOptions",a)}},Zs={shapeOptions(e){return e.shapeOptions}},ei={state(){return{shapeOptions:[]}},mutations:Ks,actions:Gs,getters:Zs},ti={setQuantityOptions(e,t){e.quantityOptions=t}},si={async loadQuantityOptions(e,t){let s=`${gt.baseUrl}api/v1/products/quantity_options?${t.params||""}`;t?.q&&(s+=`${t.params?"&":"?"}q=${encodeURIComponent(t.q)}`);let i=[];await(0,gt.fetchData)(s,null,e.getters.token).then((e=>i=e)).catch((e=>console.log(e)));const a=i.options||[];e.commit("setQuantityOptions",a)}},ii={quantityOptions(e){return e.quantityOptions}},ai={state(){return{quantityOptions:[]}},mutations:ti,actions:si,getters:ii},oi={setBrands(e,t){if(t.length>=12){const[s,i]=[t,Math.ceil(t.length/3)];e.brands=[...Array(Math.ceil(s.length/i))].map((e=>s.splice(0,i)))}else e.brands=t}},ri={async brands(e){let t=[];await(0,gt.fetchData)(`${gt.baseUrl}api/v1/brands`,null,e.getters.token).then((e=>t=e)).catch((e=>console.log(e))),e.commit("setBrands",t.brands)}},ni={brandsList(e){return e.brands}},li={state(){return{brands:null}},mutations:oi,actions:ri,getters:ni},ci={setCouponsList(e,t){e.couponsList=t}},di={async getCouponsList(e){try{const t=await(0,gt.fetchData)(`${gt.baseUrl}api/v1/coupons/get_coupons_retailers`,null,e.getters.token);e.commit("setCouponsList",t.coupons)}catch(t){console.log(t)}}},ui={couponsList(e){return e.couponsList}},pi={state(){return{couponsList:[]}},mutations:ci,actions:di,getters:ui},gi={setCouponDetails(e,t){e.couponDetails=t}},mi={async fetchCouponDetails(e,{couponResourceId:t,sortOrder:s="",tag:i="",page:a=1}){let o=`${gt.baseUrl}api/v1/coupons/get_coupons?coupon_resource_id=${encodeURIComponent(t)}&page=${encodeURIComponent(a)}`;s&&(o+=`&sort=${encodeURIComponent(s)}`),i&&(o+=`&tag=${encodeURIComponent(i)}`);try{const t=await(0,gt.fetchData)(o,null,e.getters.token);return e.commit("setCouponDetails",t),t}catch(r){throw console.error("Failed to fetch coupon details:",r),r}}},hi={couponDetails(e){return e.couponDetails}},fi={state(){return{couponDetails:[]}},mutations:gi,actions:mi,getters:hi},vi={setCouponsRecommended(e,t){e.couponsRecommended=t}},bi={async loadCouponsRecommended(e){try{const t=await(0,gt.fetchData)(`${gt.baseUrl}api/v1/coupons/carousel_coupons`,null,e.getters.token);e.commit("setCouponsRecommended",t.coupons)}catch(t){console.log(t)}}},ki={couponsRecommended(e){return e.couponsRecommended}},yi={state(){return{couponsRecommended:[]}},mutations:vi,actions:bi,getters:ki};const wi=(0,ut.y$)({modules:{auth:ft,categories:yt,products:It,cigarlife:Bt,wishlist:$t,filters:Qt,profile:Zt,orderHistory:is,productDetails:ns,reviewsList:us,viewedProduct:hs,search:ys,sorting:As,articlesList:Ts,articleDetails:Ps,answers:Bs,dailyDeals:qs,hotSale:Vs,recommended:Ys,shapeOptions:ei,brands:li,coupons:pi,couponsDetails:fi,quantityOptions:ai,couponsRecommended:yi},state(){return{registrationIsOpen:!1,loginIsOpen:!1,forgotPasswordIsOpen:!1,countryStatesToken:"ZTBjS2FmSmdwZDJ5RmxzS3FQSEh4NzB5VUJIdnFMU3RYbEM0TEZhcQ==",states:[{name:"Alabama",iso:"AL"},{name:"Alaska",iso:"AK"},{name:"Arizona",iso:"AZ"},{name:"Arkansas",iso:"AR"},{name:"California",iso:"CA"},{name:"Colorado",iso:"CO"},{name:"Connecticut",iso:"CT"},{name:"Delaware",iso:"DE"},{name:"District of Columbia",iso:"DC"},{name:"Florida",iso:"FL"},{name:"Georgia",iso:"GA"},{name:"Hawaii",iso:"HI"},{name:"Idaho",iso:"ID"},{name:"Illinois",iso:"IL"},{name:"Indiana",iso:"IN"},{name:"Iowa",iso:"IA"},{name:"Kansas",iso:"KS"},{name:"Kentucky",iso:"KY"},{name:"Louisiana",iso:"LA"},{name:"Maine",iso:"ME"},{name:"Maryland",iso:"MD"},{name:"Massachusetts",iso:"MA"},{name:"Michigan",iso:"MI"},{name:"Minnesota",iso:"MN"},{name:"Mississippi",iso:"MS"},{name:"Missouri",iso:"MO"},{name:"Montana",iso:"MT"},{name:"Nebraska",iso:"NE"},{name:"Nevada",iso:"NV"},{name:"New Hampshire",iso:"NH"},{name:"New Jersey",iso:"NJ"},{name:"New Mexico",iso:"NM"},{name:"New York",iso:"NY"},{name:"North Carolina",iso:"NC"},{name:"North Dakota",iso:"ND"},{name:"Ohio",iso:"OH"},{name:"Oklahoma",iso:"OK"},{name:"Oregon",iso:"OR"},{name:"Pennsylvania",iso:"PA"},{name:"Puerto Rico",iso:"PR"},{name:"Rhode Island",iso:"RI"},{name:"South Carolina",iso:"SC"},{name:"South Dakota",iso:"SD"},{name:"Tennessee",iso:"TN"},{name:"Texas",iso:"TX"},{name:"Utah",iso:"UT"},{name:"Vermont",iso:"VT"},{name:"Virginia",iso:"VA"},{name:"Washington",iso:"WA"},{name:"West Virginia",iso:"WV"},{name:"Wisconsin",iso:"WI"},{name:"Wyoming",iso:"WY"}]}},actions:{registrationModalToggle(e,t){e.commit("toggleRegistration",t)},loginModalToggle(e,t){e.commit("toggleLogin",t)},forgotPasswordModalToggle(e,t){e.commit("toggleForgotPassword",t)}},mutations:{toggleRegistration(e,t){e.registrationIsOpen=t},toggleLogin(e,t){e.loginIsOpen=t},toggleForgotPassword(e,t){e.forgotPasswordIsOpen=t}},getters:{states(e){return e.states},countryStatesToken(e){return e.countryStatesToken},registrationIsOpen(e){return e.registrationIsOpen},loginIsOpen(e){return e.loginIsOpen},forgotPasswordIsOpen(e){return e.forgotPasswordIsOpen}}});var Ci=wi;const Li=()=>s.e(570).then(s.bind(s,1853)),Ai=()=>s.e(570).then(s.bind(s,6613)),Ii=()=>s.e(570).then(s.bind(s,9014)),Fi=()=>s.e(570).then(s.bind(s,2740)),Si=()=>Promise.all([s.e(371),s.e(689)]).then(s.bind(s,1772)),_i=()=>Promise.all([s.e(371),s.e(689)]).then(s.bind(s,9531)),Ei=()=>Promise.all([s.e(371),s.e(689)]).then(s.bind(s,5241)),Ti=()=>Promise.all([s.e(371),s.e(689)]).then(s.bind(s,7780)),Oi=()=>Promise.all([s.e(371),s.e(689)]).then(s.bind(s,2668)),Di=()=>Promise.all([s.e(371),s.e(689)]).then(s.bind(s,9009)),Ri=()=>Promise.all([s.e(371),s.e(183),s.e(47),s.e(411)]).then(s.bind(s,9161)),Pi=()=>Promise.all([s.e(371),s.e(183),s.e(47),s.e(411)]).then(s.bind(s,3274)),Wi=()=>Promise.all([s.e(371),s.e(183),s.e(47),s.e(411)]).then(s.bind(s,9079)),xi=()=>s.e(620).then(s.bind(s,5467)),Mi=()=>s.e(620).then(s.bind(s,3395)),Bi=()=>s.e(620).then(s.bind(s,9254)),Ui=()=>s.e(620).then(s.bind(s,9420)),Xi=()=>Promise.all([s.e(371),s.e(47),s.e(398)]).then(s.bind(s,8669)),Ni=()=>s.e(598).then(s.bind(s,2798)),qi=()=>Promise.all([s.e(371),s.e(47),s.e(401)]).then(s.bind(s,4519)),$i=()=>Promise.all([s.e(371),s.e(47),s.e(401)]).then(s.bind(s,8687)),ji=(0,a.aE)({history:(0,a.LA)(),routes:[{path:"/",component:Be,meta:{title:"Buy Cigars Online: Compare Prices & Cigar Coupons Across Top Stores | CigarFinder",description:"Compare cigar prices across 17+ top retailers. Search 58,000+ cigars, find the best deals, and save with verified coupon codes. Free tools: AI cigar advisor, virtual humidor, and cigar journal."}},{path:"/categories/:slug",component:Ri},{path:"/product/:slug",component:Wi,meta:{title:"Product Details - Cigar Finder",description:"Get detailed information about our products, including features, reviews, and pricing."}},{path:"/profile",component:_i,meta:{title:"My Profile - Cigar Finder",description:"Manage your profile information, view order history, and update your account settings.",needsAuth:!0}},{path:"/search-results",component:Pi,meta:{title:"Search Results - Cigar Finder",description:"Find the products, categories, or content you are searching for on our website."}},{path:"/wishlist",component:Si,meta:{title:"My Wishlist - Cigar Finder",description:"View and manage products that you have added to your wishlist.",needsAuth:!0}},{path:"/orderhistory",component:Ei,meta:{title:"Order History - Cigar Finder",description:"Check the status of your past orders and track your purchase history.",needsAuth:!0}},{path:"/humidor",component:Ti,meta:{title:"My Humidor - Cigar Finder",description:"Track your cigar collection, manage inventory, and monitor your humidor.",needsAuth:!0}},{path:"/journal",component:Oi,meta:{title:"Cigar Journal - Cigar Finder",description:"Log your smokes, rate cigars, and record tasting notes in your personal cigar journal.",needsAuth:!0}},{path:"/admin/reviews",component:Di,meta:{title:"Admin Reviews - Cigar Finder",description:"Manage community reviews and reports.",needsAuth:!0}},{path:"/restore_password/:token",component:Be,name:"restore",meta:{title:"Restore Password - Cigar Finder",description:"Reset your password to regain access to your account on our website."}},{path:"/privacy-policy",component:Li,meta:{title:"Privacy Policy - Cigar Finder",description:"Read our privacy policy to understand how we handle your personal data and information."}},{path:"/terms-and-conditions",component:Ai,meta:{title:"Terms and Conditions - Cigar Finder",description:"Understand the terms and conditions for using our website and services."}},{path:"/help",component:Ii,meta:{title:"Help & Contact - Cigar Finder",description:"Need help? Contact our support team or browse our FAQs for assistance."}},{path:"/about",component:()=>s.e(570).then(s.bind(s,8948)),meta:{title:"About CigarFinder - Cigar Price Comparison Engine | CigarFinder",description:"CigarFinder is the leading cigar price comparison site. Compare prices across top online retailers, find coupons, read reviews, and save money on premium cigars."}},{path:"/blog",component:xi,meta:{preserveScroll:!0}},{path:"/blog/6-:rest(.*)",redirect:"/blog/138-best-cigars-for-beginners-in-2026"},{path:"/blog/24-:rest(.*)",redirect:"/blog/138-best-cigars-for-beginners-in-2026"},{path:"/blog/10-:rest(.*)",redirect:"/blog/60-best-places-to-buy-cigars-online"},{path:"/blog/72-:rest(.*)",redirect:"/blog/53-top-ways-to-cure-cigar-sickness"},{path:"/blog/17-:rest(.*)",redirect:"/blog/15-the-most-asked-cigar-questions"},{path:"/blog/22-:rest(.*)",redirect:"/blog/157-best-cigars-of-2026-expert-picks"},{path:"/blog/154-:rest(.*)",redirect:"/blog/175-cigar-cap-cutting-styles-guillotine-vs-v-cut-debate"},{path:"/news/70-:rest(.*)",redirect:"/blog/157-best-cigars-of-2026-expert-picks"},{path:"/blog/:slug",component:dt,meta:{title:"Blog Details - Cigar Finder",description:"Read detailed blog articles on various topics, tips, and insights from our experts."}},{path:"/news",component:Mi,meta:{title:"News | Cigar Finder",description:"Stay informed with the latest cigar news on Cigar Finder. Discover industry updates, new releases, and expert insights to enhance your cigar knowledge and experience!"}},{path:"/news/:slug",component:dt,meta:{title:"News Details - Cigar Finder",description:"Read the latest news articles and stay informed about recent events and updates."}},{path:"/advertise-with-us",component:Fi,meta:{title:"Advertise with Us - Cigar Finder",description:"Learn more about advertising opportunities with our website to reach a wider audience."}},{path:"/coupons",component:Bi},{path:"/coupon-detail/:slug",component:Ui},{path:"/product/:slug",component:Wi,meta:{title:"Product Details - Cigar Finder",description:"Get detailed information about our products, including features, reviews, and pricing."}},{path:"/brands",component:Ni,meta:{title:"All Cigar Brands - Compare Prices | CigarFinder",description:"Browse all cigar brands. Compare prices across 17+ retailers."}},{path:"/brands/:slug",component:Xi,meta:{title:"Cigar Brand - Compare Prices | CigarFinder",description:"Compare cigar prices across 17+ retailers."}},{path:"/single-cigars",component:$i,meta:{title:"Buy Single Cigars Online - Compare Prices | CigarFinder",description:"Browse single cigars from top brands. Compare prices across 14+ trusted retailers."}},{path:"/best-cigars-under-:price",component:qi,meta:{title:"Best Cigars by Price - CigarFinder",description:"Compare the best cigars at every price point from 14 trusted retailers."}}],scrollBehavior(e,t,s){return console.log("ScrollBehavior triggered:",{to:e,from:t,savedPosition:s}),s||!!e.hash&&{selector:e.hash}}});ji.beforeEach((function(e,t,s){e.meta.needsAuth&&!Ci.getters.isAuthenticated?(Ci.dispatch("registrationModalToggle",!0),s("/")):s()})),ji.afterEach((()=>{setTimeout((()=>{(0,r.h)()}),1500)})),(0,o.bx)(ji);var Hi=ji;function Vi(e,t,s,a,o,r){const l=(0,n.g2)("the-header"),c=(0,n.g2)("router-view"),d=(0,n.g2)("registration-form"),u=(0,n.g2)("base-dialog"),p=(0,n.g2)("login-form"),g=(0,n.g2)("forgot-password-form"),m=(0,n.g2)("the-footer"),h=(0,n.g2)("cookies-banner"),f=(0,n.g2)("top-button"),v=(0,n.g2)("cigar-finder-chat");return(0,n.uX)(),(0,n.CE)(n.FK,null,[(0,n.bF)(l),(0,n.bF)(c),(0,n.bF)(u,{show:r.registartionModalIsOpen,title:"Registration",onClose:r.closeModal,isRegistration:""},{footer:(0,n.k6)((()=>[t[2]||(t[2]=(0,n.Lk)("p",{class:"modal-footer-title"},"Already registered?",-1)),(0,n.Lk)("a",{class:"modal-link",onClick:t[0]||(t[0]=(0,i.D$)((e=>{r.closeModal(),r.openLoginModal()}),["prevent"]))},"Login")])),default:(0,n.k6)((()=>[(0,n.bF)(d,{onCloseRegistration:r.closeModal},null,8,["onCloseRegistration"])])),_:1},8,["show","onClose"]),(0,n.bF)(u,{show:r.loginModalIsOpen,title:"Authorization",onClose:r.closeModal,isLogin:""},{footer:(0,n.k6)((()=>[t[3]||(t[3]=(0,n.Lk)("p",{class:"modal-footer-title"},"Don't have an account?",-1)),(0,n.Lk)("a",{class:"modal-link",onClick:t[1]||(t[1]=(0,i.D$)((e=>{r.closeModal(),r.openRegisterModal()}),["prevent"]))},"Register")])),default:(0,n.k6)((()=>[(0,n.bF)(p,{onCloseLogin:r.closeModal,onForgotPasswordClick:r.forgotPasswordClick},null,8,["onCloseLogin","onForgotPasswordClick"])])),_:1},8,["show","onClose"]),(0,n.bF)(u,{show:r.forgotPasswordModalIsOpen,title:"Forgot Password",onClose:r.closeModal},{default:(0,n.k6)((()=>[(0,n.bF)(g)])),_:1},8,["show","onClose"]),(0,n.bF)(m),(0,n.bF)(i.eB,{name:"fade",mode:"out-in"},{default:(0,n.k6)((()=>[(0,n.bF)(h,{visibility:o.cookiesBannerVisibility,onCloseCookiesBanner:r.closeCookiesBanner},null,8,["visibility","onCloseCookiesBanner"])])),_:1}),(0,n.bF)(f),(0,n.bF)(v)],64)}function zi(e,t,s,i,a,o){const r=(0,n.g2)("top-header"),l=(0,n.g2)("search-header"),c=(0,n.g2)("categories-header"),d=(0,n.g2)("mobile-header");return(0,n.uX)(),(0,n.CE)("header",null,[(0,n.bF)(r,{class:(0,R.C4)({scrolled:o.scrolled})},null,8,["class"]),(0,n.bF)(l,{class:(0,R.C4)({scrolled:o.scrolled})},null,8,["class"]),(0,n.bF)(c,{class:(0,R.C4)({scrolled:o.scrolled})},null,8,["class"]),(0,n.bF)(d,{scrolled:o.scrolled?"scrolled":""},null,8,["scrolled"])])}var Ji=s.p+"img/heart_filled.e5a8550b.svg",Qi="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKMSURBVHgBxVW9ctNAEN69cwbTucgDhAIQVKJhKJ2OKra6dAltxg7yE8RUlHbGhqGL06UTMQ9gu4TKHQIK/AApXHpIdMvuSTK28R/BDFtIe6e9b7+72/0E8I8NZyc+lJw8IRX4U07GZKBrIuh578LBZFzg7+QyN3cPONaNZ2gIRL295tf3cxMER49dnTEBEOzMJiWAARioFt6E5zJulx/5/DrhL7l5seYadlNCOAbX1JEFFoygpRUMyCCPqchR+WR5hRBzSAJu0bpKQSveKccq8mOCNIwis+u9/da3CdrHzveEeWuvEb6YZXVZck4QoTrFlHhHzfDVb7HHTosJHNid6NETbJedQ54/k4lCI7wHC4yPpcaw/jLwX7EOnwbkkchXvIUDO2umGc7aXuOzHE/fElkCnpi9K44vKgK0VWC2RpcrFoFR5MkFroqLdDapJHLliChmGCJs0FJcxYU0FEfqGjZkge8mWDTkBNQXd+s6W4ANmY5GxRgf+woJ7XkZBYewKcO4T7jaWuomc+ecJwY8zrfLD334S+M+qEpP2WrjzldevT+MDCTNhbWAtQhuaUHpQTHtckOmIm8lD68ZdqV5xNdIQXB034U/NCs3qM/EFywvET2VBkjzxEkwp7XqCJu1wVkNxlo20+VqMnAqCapgnTsRZdUsNfPAxfTsgotPV739p9uAVkHx+f6zbbz4eNWdBy4Xyt35WvxF+oSLmQl7rCXDVqRHFa8+GDelMtm6qGYMTn6h+eV0Hs5SeZCK0oiB3T5S3/xAD7J8roYC7h83VgEqssz0FmGs1J/Ad3a0gU5a2ygrEn/yz3XrBGkSZZBZx//fdDerwNdOECdx+Sc/emnYN5nRaXof/91+Aj0VQ7uyBBbbAAAAAElFTkSuQmCC",Yi=s.p+"img/blank_avatar.93967598.svg";const Ki={id:"account-links"},Gi={class:"links"},Zi={key:0,class:"my-account"},ea=["src"],ta={key:1,class:"blank-avatar"},sa={key:0,src:Ji,alt:"filled favorites heart"},ia={key:1,src:Qi,alt:"favorites heart"},aa={key:2},oa={class:"user-links-list"},ra={key:1,class:"login"},na={class:"links"};function la(e,t,s,a,o,r){const l=(0,n.g2)("router-link"),c=(0,n.gN)("click-outside");return(0,n.uX)(),(0,n.CE)("div",Ki,[(0,n.Lk)("div",Gi,[(0,n.bF)(l,{to:"/help",class:"help-link"},{default:(0,n.k6)((()=>t[5]||(t[5]=[(0,n.eW)("Help & Contact")]))),_:1}),(0,n.bF)(l,{to:"/blog",class:"help-link"},{default:(0,n.k6)((()=>t[6]||(t[6]=[(0,n.eW)("Blog")]))),_:1}),(0,n.bF)(l,{to:"/brands",class:"help-link"},{default:(0,n.k6)((()=>t[7]||(t[7]=[(0,n.eW)("Brands")]))),_:1}),(0,n.bF)(l,{to:"/news"},{default:(0,n.k6)((()=>t[8]||(t[8]=[(0,n.eW)("News")]))),_:1})]),r.isLoggedIn?((0,n.uX)(),(0,n.CE)("div",Zi,[(0,n.bo)(((0,n.uX)(),(0,n.CE)("div",{class:"avatar",onClick:t[0]||(t[0]=(...e)=>r.openUserLinksList&&r.openUserLinksList(...e))},[r.avatar&&"undefined"!==r.avatar?((0,n.uX)(),(0,n.CE)("img",{key:0,src:r.avatar,alt:"avatar",class:"avatar-image"},null,8,ea)):((0,n.uX)(),(0,n.CE)("div",ta,(0,R.v_)(r.firstLetters),1))])),[[c,r.closeUserLinksList]]),(0,n.Lk)("div",{class:"favorites",onClick:t[1]||(t[1]=(...e)=>r.clickFavorite&&r.clickFavorite(...e))},[(0,n.bF)(l,{to:"/wishlist"},{default:(0,n.k6)((()=>[o.favoriteIsClicked?((0,n.uX)(),(0,n.CE)("img",sa)):((0,n.uX)(),(0,n.CE)("img",ia)),r.isLoggedIn&&r.wishList.count>0?((0,n.uX)(),(0,n.CE)("span",aa,(0,R.v_)(r.wishList.count),1)):(0,n.Q3)("",!0)])),_:1})]),(0,n.bo)((0,n.Lk)("nav",oa,[(0,n.Lk)("ul",null,[(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/profile"},{default:(0,n.k6)((()=>t[9]||(t[9]=[(0,n.eW)("My Profile")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/humidor"},{default:(0,n.k6)((()=>t[10]||(t[10]=[(0,n.eW)("My Humidor")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/journal"},{default:(0,n.k6)((()=>t[11]||(t[11]=[(0,n.eW)("Cigar Journal")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/wishlist"},{default:(0,n.k6)((()=>t[12]||(t[12]=[(0,n.eW)("Wishlist")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/orderhistory"},{default:(0,n.k6)((()=>t[13]||(t[13]=[(0,n.eW)("Recently Viewed")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.Lk)("a",{class:"special-link",onClick:t[2]||(t[2]=(...e)=>r.logout&&r.logout(...e))},"Logout")])])],512),[[i.aG,o.menuIsOpen]])])):((0,n.uX)(),(0,n.CE)("div",ra,[t[15]||(t[15]=(0,n.Lk)("div",{class:"avatar",style:{"margin-right":"0px !important"}},[(0,n.Lk)("img",{src:Yi,alt:"blank avatar"})],-1)),(0,n.Lk)("div",na,[(0,n.Lk)("a",{onClick:t[3]||(t[3]=(...e)=>r.openLoginModal&&r.openLoginModal(...e))},"Login"),t[14]||(t[14]=(0,n.Lk)("span",null,"/",-1)),(0,n.Lk)("a",{onClick:t[4]||(t[4]=(...e)=>r.openRegisterModal&&r.openRegisterModal(...e))},"Register")])]))])}var ca={data(){return{menuIsOpen:!1,favoriteIsClicked:!1}},methods:{logout(){this.$store.dispatch("logout"),this.menuIsOpen=!1,this.$router.replace("/")},openUserLinksList(){this.menuIsOpen=!this.menuIsOpen},closeUserLinksList(){this.menuIsOpen=!1},openRegisterModal(){this.$store.dispatch("registrationModalToggle",!0)},openLoginModal(){this.$store.dispatch("loginModalToggle",!0)},closeModal(){this.$store.dispatch("registrationModalToggle",!1),this.$store.dispatch("loginModalToggle",!1),this.$store.dispatch("toggleForgotPassword",!1)},clickFavorite(){this.favoriteIsClicked=!this.favoriteIsClicked,setTimeout((()=>{this.favoriteIsClicked=!1}),500)}},computed:{isLoggedIn(){return this.$store.getters.isAuthenticated},userInfo(){return this.$store.getters.user.current_user},userName(){return this.$store.getters.userName},avatar(){return this.$store.getters.user.current_user?.avatar_image?.url},firstLetters(){const e=this.userName.split(" ");return e[0]&&e[1]?e[0][0]+e[1][0]:e[0][0]},wishList(){return this.$store.getters.wishList}}};const da=(0,p.A)(ca,[["render",la],["__scopeId","data-v-42a7f02e"]]);var ua=da,pa=s(1287);const ga={id:"search"},ma={class:"input"},ha={class:"selected-category"},fa={class:"searcheable-categories-list"},va={class:"main-list"},ba=["onClick"],ka={key:0,class:"subcategories"},ya=["onClick"];function wa(e,t,s,a,o,r){const l=(0,n.g2)("router-link"),c=(0,n.g2)("dynamic-list"),d=(0,n.gN)("click-outside");return(0,n.uX)(),(0,n.CE)("div",ga,[(0,n.Lk)("div",{class:"logo",onClick:t[0]||(t[0]=e=>r.setCigareCategory())},[(0,n.bF)(l,{to:"/"},{default:(0,n.k6)((()=>t[6]||(t[6]=[(0,n.Lk)("img",{src:pa,alt:"logo",loading:"lazy"},null,-1)]))),_:1})]),(0,n.Lk)("div",{class:(0,R.C4)(["search-field",{focused:o.request}])},[(0,n.Lk)("div",ma,[(0,n.bo)((0,n.Lk)("input",{type:"text",onKeyup:t[1]||(t[1]=(0,i.jR)(((...e)=>r.setEnter&&r.setEnter(...e)),["enter"])),placeholder:"Search products here","onUpdate:modelValue":t[2]||(t[2]=e=>o.request=e)},null,544),[[i.Jo,o.request,void 0,{trim:!0}]]),o.request&&o.dynamicListIsOpen?(0,n.bo)(((0,n.uX)(),(0,n.Wv)(c,{key:0,request:o.request,onCloseDynamicList:r.closeDynamicList,onResetSearchInput:r.resetInput},null,8,["request","onCloseDynamicList","onResetSearchInput"])),[[d,r.closeDynamicList]]):(0,n.Q3)("",!0)]),(0,n.bo)(((0,n.uX)(),(0,n.CE)("div",{class:"categories",onClick:t[4]||(t[4]=(...e)=>r.openCategoriesList&&r.openCategoriesList(...e))},[(0,n.Lk)("p",ha,(0,R.v_)(o.selectedCategory.title),1),(0,n.bo)((0,n.Lk)("nav",fa,[(0,n.Lk)("ul",va,[(0,n.Lk)("li",{onClick:t[3]||(t[3]=e=>r.selectCategory(-1))},(0,R.v_)(o.defaultCategory.title),1),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(r.categories,(e=>((0,n.uX)(),(0,n.CE)("li",{key:e.id,onClick:t=>r.selectCategory("E-Cigarettes"===e.title?-1:e.id),class:(0,R.C4)(["E-Cigarettes"===e.title?"disable":""])},[(0,n.eW)((0,R.v_)(e.title)+" ",1),e.subcategories?((0,n.uX)(),(0,n.CE)("ul",ka,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.subcategories,(t=>((0,n.uX)(),(0,n.CE)("li",{key:t.id,onClick:(0,i.D$)((s=>r.selectSubCategory(e.id,t.id)),["stop"])},(0,R.v_)(t.title),9,ya)))),128))])):(0,n.Q3)("",!0)],10,ba)))),128))])],512),[[i.aG,o.isOpen]])])),[[d,r.closeCategoriesList]]),(0,n.Lk)("div",{class:"button hvr-radial-out lite",onClick:t[5]||(t[5]=(...e)=>r.setRequest&&r.setRequest(...e))},[(0,n.bF)(l,{to:"/search-results"},{default:(0,n.k6)((()=>t[7]||(t[7]=[(0,n.eW)("Search")]))),_:1})])],2)])}const Ca={id:"results"},La={key:1,class:"no-results"};function Aa(e,t,s,i,a,o){const r=(0,n.g2)("the-suggestion");return(0,n.uX)(),(0,n.CE)("div",Ca,[a.suggestions?.length>0?((0,n.uX)(),(0,n.CE)("div",{key:0,class:(0,R.C4)(["suggestions-list",{open:a.suggestionsListIsOpen}])},[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(a.suggestions,(e=>((0,n.uX)(),(0,n.Wv)(r,{key:e.id,details:e,onClick:o.close,onResetSearchInput:o.resetInput},null,8,["details","onClick","onResetSearchInput"])))),128)),(0,n.Lk)("p",{class:"show-more suggestions",onClick:t[0]||(t[0]=(...e)=>o.toggleSuggestionsList&&o.toggleSuggestionsList(...e))},(0,R.v_)(o.suggestionsShowMore),1)],2)):0===a.products?.length?((0,n.uX)(),(0,n.CE)("p",La,"No Results")):(0,n.Q3)("",!0)])}const Ia={class:"title"};function Fa(e,t,s,i,a,o){return(0,n.uX)(),(0,n.CE)("div",{class:"item",onClick:t[0]||(t[0]=(...e)=>o.setRequest&&o.setRequest(...e))},[(0,n.Lk)("p",Ia,(0,R.v_)(s.details?.title),1)])}var Sa={props:{details:Object},computed:{category(){return this.$store.getters.category}},methods:{setRequest(){this.$store.dispatch("fromSuggestionOn"),this.$emit("resetSearchInput"),this.$store.dispatch("setRequest",{request:this.details?.title,category:this.$store.getters.category}),this.$router.replace("/search-results"),this.category?.id>0?this.$store.dispatch("loadProducts",{params:`&q=${this.details?.title}&category_id=${this.category?.id}`}):this.$store.dispatch("loadProducts",{params:`&q=${this.details?.title}`}),this.$store.dispatch("loadProducts",{params:`&q=${this.details?.title}&category_id=${this.category?.id}`}),this.$store.dispatch("enableLoading")}}};const _a=(0,p.A)(Sa,[["render",Fa],["__scopeId","data-v-51552164"]]);var Ea=_a,Ta={components:{TheSuggestion:Ea},props:{request:String},data(){return{products:null,suggestions:null,suggestionsListIsOpen:!1,productsListIsOpen:!1}},computed:{suggestionsShowMore(){return this.suggestionsListIsOpen?"hide more":"show more"},productsShowMore(){return this.productsListIsOpen?"hide more":"show more"}},watch:{async request(e,t){e!==t&&await this.sendRequest(e)}},async created(){this.request&&await this.sendRequest(this.request)},methods:{async sendRequest(e){let t=this.$store.getters.category?.id,s=`${gt.baseUrl}api/v1/products/suggestions?q=`+e?.replace("%","%25");t&&t>0&&(s+=`&category_id=${t}`);const i=this.$store.getters.token,a=await fetch(s,{headers:{"Content-Type":"application/json","Session-Token":i}}),o=await a.json();if(!a.ok){const e=new Error(o.error);throw e}this.products=o?.products,this.suggestions=o?.suggestions},close(){this.$emit("closeDynamicList")},resetInput(e){this.$emit("resetSearchInput",e)},toggleSuggestionsList(){this.suggestionsListIsOpen=!this.suggestionsListIsOpen},toggleProductsList(){this.productsListIsOpen=!this.productsListIsOpen}}};const Oa=(0,p.A)(Ta,[["render",Aa],["__scopeId","data-v-4376f2da"]]);var Da=Oa,Ra={components:{DynamicList:Da},data(){return{isOpen:!1,selectedCategory:null,request:null,defaultCategory:{id:0,title:"All Categories"},dynamicListIsOpen:!1,forceClose:!1}},computed:{categories(){return this.$store.getters.categoriesList?this.$store.getters.categoriesList.filter((e=>!e.category_id)):this.$store.getters.categoriesList},category(){return this.$store.getters.category}},watch:{category(e){this.selectedCategory=e},request(e,t){if(e!==t&&this.forceClose)return this.forceClose=!1,this.dynamicListIsOpen=!1;""!==e&&(this.dynamicListIsOpen=!0)},$route(){"/"===this.$route.path&&(this.selectedCategory={id:1,title:"Cigars"})}},methods:{setEnter(){this.$router.replace("/search-results"),this.setRequest(),this.request=""},openCategoriesList(){this.isOpen=!this.isOpen},closeCategoriesList(){this.isOpen=!1},closeDynamicList(){this.dynamicListIsOpen=!1},selectCategory(e){this.selectedCategory=-1!==e?this.categories.find((t=>t.id===e)):this.defaultCategory},selectSubCategory(e,t){const s=this.categories.find((t=>t.id===e));this.selectedCategory=s.subcategories.find((e=>e.id===t)),this.closeCategoriesList()},setRequest(){this.$store.dispatch("fromSuggestionOff"),this.$store.dispatch("setRequest",{request:this.request,category:this.selectedCategory}),this.$store.dispatch("disableAllFilters"),this.$store.dispatch("enableLoading"),this.forceClose=!1,this.request=""},resetInput(){this.request="",this.dynamicListIsOpen=!1,this.forceClose=!0},setCigareCategory(){this.selectedCategory={id:1,title:"Cigars"}}},created(){this.selectedCategory={id:1,title:"Cigars"}}};const Pa=(0,p.A)(Ra,[["render",wa],["__scopeId","data-v-579ca14a"]]);var Wa=Pa;const xa={id:"main-menu"},Ma={class:"logo"};function Ba(e,t,s,i,a,o){const r=(0,n.g2)("router-link");return(0,n.uX)(),(0,n.CE)("div",xa,[(0,n.Lk)("div",Ma,[(0,n.bF)(r,{to:"/"},{default:(0,n.k6)((()=>t[4]||(t[4]=[(0,n.Lk)("img",{src:pa,alt:"logo"},null,-1)]))),_:1})]),(0,n.Lk)("nav",null,[(0,n.Lk)("ul",null,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(o.categories,(e=>((0,n.uX)(),(0,n.CE)("li",{class:"category-button hvr-shutter-out-vertical",key:e.id,onMouseenter:t[2]||(t[2]=(...e)=>o.openSubMenu&&o.openSubMenu(...e)),onMouseleave:t[3]||(t[3]=(...e)=>o.closeSubMenu&&o.closeSubMenu(...e))},[(0,n.bF)(r,{to:o.link(e.slug),class:(0,R.C4)([o.activeLink(e.id)?"router-link-active":""])},{default:(0,n.k6)((()=>[(0,n.eW)((0,R.v_)(e.title),1)])),_:2},1032,["to","class"]),e.subcategories?((0,n.uX)(),(0,n.CE)("div",{key:0,class:"subcategories",onMouseenter:t[0]||(t[0]=(...e)=>o.openSubMenu&&o.openSubMenu(...e)),onMouseleave:t[1]||(t[1]=(...e)=>o.closeSubMenu&&o.closeSubMenu(...e))},[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.subcategories,(t=>((0,n.uX)(),(0,n.CE)("div",{class:"subcategory hvr-shutter-out-vertical",key:t.id},[(0,n.bF)(r,{to:o.link(t.slug),class:(0,R.C4)([o.activeLink(e.id)?"router-link-active":""])},{default:(0,n.k6)((()=>[(0,n.eW)((0,R.v_)(t.title),1)])),_:2},1032,["to","class"])])))),128))],32)):(0,n.Q3)("",!0)],32)))),128))])])])}var Ua={computed:{categories(){return this.$store.getters.categoriesList?this.$store.getters.categoriesList.filter((e=>!e.category_id)):this.$store.getters.categoriesList},searchedCategory(){return this.$store.getters.category}},methods:{link(e){return e.includes("coupons-deals")?"/coupons":"/categories/"+e},openSubMenu(e){e.target.classList.add("isOpen")},closeSubMenu(e){e.target.classList.remove("isOpen")},activeLink(e){return"/search-results"===this.$route.path&&this.searchedCategory?.id===e}}};const Xa=(0,p.A)(Ua,[["render",Ba],["__scopeId","data-v-5a4d3618"]]);var Na=Xa,qa=s(8270),$a=s.p+"img/blank_mobile_avatar.dd1f2f53.svg",ja=s.p+"img/mobile_search.154bb16f.svg";const Ha={class:"hamburger-menu"},Va={class:"menu__box"},za={class:"menu__box_list"},Ja={key:0,class:"subcategories"},Qa={class:"user-links"},Ya={key:0,class:"my-account"},Ka={class:"user-data"},Ga={class:"avatar"},Za=["src"],eo={key:1,class:"blank-avatar"},to={class:"name"},so={class:"user-links-list"},io={key:1,class:"login"},ao={class:"auth-links"},oo={class:"links"},ro={class:"logo"},no={class:"user-actions"},lo=["src"],co={key:1,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},uo={key:0,class:"wishlist-count"};function po(e,t,s,a,o,r){const l=(0,n.g2)("router-link"),c=(0,n.g2)("dynamic-list"),d=(0,n.gN)("click-outside");return(0,n.uX)(),(0,n.CE)(n.FK,null,[(0,n.Lk)("div",{id:"mobile-menu",class:(0,R.C4)(s.scrolled)},[(0,n.Lk)("div",Ha,[(0,n.bo)((0,n.Lk)("input",{id:"menu__toggle",type:"checkbox","onUpdate:modelValue":t[0]||(t[0]=e=>o.menuIsOpen=e)},null,512),[[i.lH,o.menuIsOpen]]),t[19]||(t[19]=(0,n.Lk)("label",{class:"menu__btn",for:"menu__toggle"},[(0,n.Lk)("span")],-1)),(0,n.Lk)("div",Va,[t[18]||(t[18]=(0,n.Lk)("div",{class:"mobile-logo"},[(0,n.Lk)("img",{src:qa,alt:"logo",loading:"lazy"})],-1)),(0,n.Lk)("ul",za,[(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/",class:"menu__item",onClick:r.closeMenu},{default:(0,n.k6)((()=>t[9]||(t[9]=[(0,n.eW)("Home")]))),_:1},8,["onClick"])]),((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(r.categories,(e=>((0,n.uX)(),(0,n.CE)("li",{key:e.id},[(0,n.bF)(l,{to:r.link(e.slug),class:"menu__item",onClick:r.closeMenu},{default:(0,n.k6)((()=>[(0,n.eW)((0,R.v_)(e.title),1)])),_:2},1032,["to","onClick"]),e.subcategories?((0,n.uX)(),(0,n.CE)("ul",Ja,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.subcategories,(e=>((0,n.uX)(),(0,n.CE)("li",{key:e.id},[(0,n.bF)(l,{to:r.link(e.slug),class:"menu__item subcategory",onClick:r.closeMenu},{default:(0,n.k6)((()=>[(0,n.eW)((0,R.v_)(e.title),1)])),_:2},1032,["to","onClick"])])))),128))])):(0,n.Q3)("",!0)])))),128))]),(0,n.Lk)("div",Qa,[r.isLoggedIn?((0,n.uX)(),(0,n.CE)("div",Ya,[(0,n.Lk)("div",Ka,[(0,n.Lk)("div",Ga,[r.avatar&&"undefined"!==r.avatar?((0,n.uX)(),(0,n.CE)("img",{key:0,src:r.avatar,alt:"avatar",class:"avatar-image"},null,8,Za)):((0,n.uX)(),(0,n.CE)("div",eo,(0,R.v_)(r.firstLetters),1))]),(0,n.Lk)("div",to,(0,R.v_)(r.userName),1)]),(0,n.Lk)("ul",so,[(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/orderhistory",onClick:r.closeMenu},{default:(0,n.k6)((()=>t[10]||(t[10]=[(0,n.eW)("Order History")]))),_:1},8,["onClick"])]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/profile",onClick:r.closeMenu},{default:(0,n.k6)((()=>t[11]||(t[11]=[(0,n.eW)("My Profile")]))),_:1},8,["onClick"])]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/wishlist",onClick:r.closeMenu},{default:(0,n.k6)((()=>t[12]||(t[12]=[(0,n.eW)("Wishlist")]))),_:1},8,["onClick"])]),(0,n.Lk)("li",null,[(0,n.Lk)("a",{class:"special-link",onClick:t[1]||(t[1]=(...e)=>r.logout&&r.logout(...e))},"Logout")])])])):((0,n.uX)(),(0,n.CE)("div",io,[t[14]||(t[14]=(0,n.Lk)("div",{class:"avatar"},[(0,n.Lk)("img",{src:$a,alt:"blank avatar"})],-1)),(0,n.Lk)("div",ao,[(0,n.Lk)("a",{onClick:t[2]||(t[2]=(...e)=>r.openLoginModal&&r.openLoginModal(...e))},"Login"),t[13]||(t[13]=(0,n.Lk)("span",null,"/",-1)),(0,n.Lk)("a",{onClick:t[3]||(t[3]=(...e)=>r.openRegisterModal&&r.openRegisterModal(...e))},"Register")])])),(0,n.Lk)("div",oo,[(0,n.bF)(l,{to:"/help",onClick:r.closeMenu,class:"help-link"},{default:(0,n.k6)((()=>t[15]||(t[15]=[(0,n.eW)("Help & Contact")]))),_:1},8,["onClick"]),(0,n.bF)(l,{to:"/blog",onClick:r.closeMenu,class:"help-link"},{default:(0,n.k6)((()=>t[16]||(t[16]=[(0,n.eW)("Blog")]))),_:1},8,["onClick"]),(0,n.bF)(l,{to:"/news",onClick:r.closeMenu},{default:(0,n.k6)((()=>t[17]||(t[17]=[(0,n.eW)("News")]))),_:1},8,["onClick"])])])])]),(0,n.Lk)("div",ro,[(0,n.bF)(l,{to:"/"},{default:(0,n.k6)((()=>t[20]||(t[20]=[(0,n.Lk)("img",{src:pa,alt:"logo",loading:"lazy"},null,-1)]))),_:1})]),(0,n.Lk)("div",no,[(0,n.Lk)("div",{class:"user-avatar",onClick:t[4]||(t[4]=e=>!r.isLoggedIn&&r.openLoginModal)},[(0,n.bF)(l,{to:"/profile"},{default:(0,n.k6)((()=>[r.avatar&&r.isLoggedIn?((0,n.uX)(),(0,n.CE)("img",{key:0,src:r.avatar,alt:"user avatar",class:"avatar-image"},null,8,lo)):((0,n.uX)(),(0,n.CE)("svg",co,t[21]||(t[21]=[(0,n.Lk)("path",{d:"M12.8043 11.4371L10.2568 10.1635C10.0165 10.0432 9.86719 9.8016 9.86719 9.5328V8.6312C9.92825 8.55653 9.99252 8.47147 10.0589 8.3776C10.3893 7.91093 10.6541 7.39147 10.8467 6.8312C11.2229 6.65867 11.4672 6.28667 11.4672 5.86667V4.8C11.4672 4.5432 11.3712 4.2944 11.2005 4.1V2.6816C11.2155 2.53493 11.2741 1.66187 10.6427 0.9416C10.0949 0.3168 9.20612 0 8.00052 0C6.79492 0 5.90612 0.3168 5.35839 0.941333C4.72692 1.6616 4.78559 2.53493 4.80052 2.6816V4.1C4.62985 4.2944 4.53385 4.5432 4.53385 4.8V5.86667C4.53385 6.1912 4.68132 6.49387 4.93305 6.69573C5.17732 7.66293 5.68852 8.39173 5.86719 8.6256V9.508C5.86719 9.76613 5.72639 10.0029 5.49999 10.1267L3.12105 11.4243C2.34745 11.8464 1.86719 12.6555 1.86719 13.5365V14.4C1.86719 15.6656 5.87919 16 8.00052 16C10.1219 16 14.1339 15.6656 14.1339 14.4V13.5885C14.1339 12.6717 13.6243 11.8472 12.8043 11.4371Z",fill:"#6C3F13"},null,-1)])))])),_:1})]),(0,n.Lk)("div",{class:"wishlist-button",onClick:t[5]||(t[5]=e=>!r.isLoggedIn&&r.openLoginModal)},[(0,n.bF)(l,{to:"/wishlist"},{default:(0,n.k6)((()=>[t[22]||(t[22]=(0,n.Lk)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,n.Lk)("g",{"clip-path":"url(#clip0)"},[(0,n.Lk)("path",{d:"M14.7307 2.26807C13.9025 1.36975 12.766 0.875 11.5304 0.875C10.6068 0.875 9.76099 1.16699 9.01636 1.7428C8.64062 2.03345 8.30017 2.38904 8 2.80408C7.69995 2.38916 7.35938 2.03345 6.98352 1.7428C6.23901 1.16699 5.39319 0.875 4.4696 0.875C3.23401 0.875 2.09741 1.36975 1.26917 2.26807C0.450806 3.15588 0 4.36877 0 5.68347C0 7.03662 0.504272 8.27527 1.58691 9.58167C2.55542 10.7502 3.94739 11.9365 5.55933 13.3102C6.10974 13.7793 6.73364 14.311 7.38147 14.8774C7.55261 15.0273 7.77222 15.1099 8 15.1099C8.22766 15.1099 8.44739 15.0273 8.61829 14.8777C9.26611 14.3112 9.89038 13.7792 10.441 13.3098C12.0527 11.9364 13.4447 10.7502 14.4132 9.58154C15.4958 8.27527 16 7.03662 16 5.68335C16 4.36877 15.5492 3.15588 14.7307 2.26807Z",fill:"#6C3F13"})]),(0,n.Lk)("defs",null,[(0,n.Lk)("clipPath",{id:"clip0"},[(0,n.Lk)("rect",{width:"16",height:"16",fill:"white"})])])],-1)),r.isLoggedIn&&r.wishList.count>0?((0,n.uX)(),(0,n.CE)("span",uo,(0,R.v_)(r.wishList.count),1)):(0,n.Q3)("",!0)])),_:1})])])],2),(0,n.Lk)("div",{class:(0,R.C4)(["search-input",s.scrolled])},[(0,n.bo)((0,n.Lk)("input",{type:"text",placeholder:"Search products here",onKeyup:t[6]||(t[6]=(0,i.jR)(((...e)=>r.setEnter&&r.setEnter(...e)),["enter"])),"onUpdate:modelValue":t[7]||(t[7]=e=>o.request=e)},null,544),[[i.Jo,o.request]]),(0,n.Lk)("div",{class:"icon-wrapper",onClick:t[8]||(t[8]=(...e)=>r.setRequest&&r.setRequest(...e))},[(0,n.bF)(l,{to:"/search-results"},{default:(0,n.k6)((()=>t[23]||(t[23]=[(0,n.Lk)("img",{src:ja,alt:"search icon"},null,-1)]))),_:1})]),o.request&&o.dynamicListIsOpen?(0,n.bo)(((0,n.uX)(),(0,n.Wv)(c,{key:0,request:o.request,onCloseDynamicList:r.closeDynamicList,onResetSearchInput:r.resetInput},null,8,["request","onCloseDynamicList","onResetSearchInput"])),[[d,r.closeDynamicList]]):(0,n.Q3)("",!0)],2),(0,n.Lk)("nav",{class:(0,R.C4)(["categories",s.scrolled])},[(0,n.Lk)("ul",null,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(r.categories,(e=>((0,n.uX)(),(0,n.CE)("li",{key:e.id},[(0,n.bF)(l,{to:r.link(e.slug),class:(0,R.C4)(["category-link",[r.activeLink(e.id)?"router-link-active":""]])},{default:(0,n.k6)((()=>[(0,n.eW)((0,R.v_)(e.title),1)])),_:2},1032,["to","class"])])))),128))])],2)],64)}var go={props:["scrolled"],components:{DynamicList:Da},data(){return{request:null,menuIsOpen:!1,dynamicListIsOpen:!1,forceClose:!1}},methods:{openRegisterModal(){this.$store.dispatch("registrationModalToggle",!0)},openLoginModal(){this.$store.dispatch("loginModalToggle",!0)},closeModal(){this.$store.dispatch("registrationModalToggle",!1),this.$store.dispatch("loginModalToggle",!1),this.$store.dispatch("toggleForgotPassword",!1)},closeMenu(){this.menuIsOpen=!1},logout(){this.$store.dispatch("logout"),this.$router.replace("/")},link(e){return e.includes("coupons-deals")?"/coupons":"/categories/"+e},activeLink(e){return"/search-results"===this.$route.path&&this.searchedCategory?.id===e},setEnter(){this.$router.replace("/search-results"),this.setRequest(),this.request=""},setRequest(){this.$store.dispatch("setRequest",{request:this.request,category:this.$store.getters.category}),this.$store.dispatch("disableAllFilters"),this.request="",this.$store.dispatch("fromSuggestionOff")},closeDynamicList(){this.dynamicListIsOpen=!1},resetInput(){this.request="",this.dynamicListIsOpen=!1,this.forceClose=!0}},computed:{searchRequest(){return this.$store.getters.request},wishList(){return this.$store.getters.wishList},isLoggedIn(){return this.$store.getters.isAuthenticated},userName(){return this.$store.getters.userName},firstLetters(){const e=this.userName.split(" ");return e[0]&&e[1]?e[0][0]+e[1][0]:e[0][0]},avatar(){return this.$store.getters.user?.current_user?.avatar_image?.url},categories(){return this.$store.getters.categoriesList?this.$store.getters.categoriesList.filter((e=>!e.category_id)):this.$store.getters.categoriesList}},watch:{request(e,t){if(e!==t&&this.forceClose)return this.forceClose=!1,this.dynamicListIsOpen=!1;""!==e&&(this.dynamicListIsOpen=!0)}}};const mo=(0,p.A)(go,[["render",po],["__scopeId","data-v-63f48295"]]);var ho=mo,fo={components:{TopHeader:ua,SearchHeader:Wa,CategoriesHeader:Na,MobileHeader:ho},data(){return{windowTop:0}},computed:{scrolled(){return this.windowTop>100}},methods:{onScroll(e){this.windowTop=e.target.scrollingElement.scrollTop}},created(){window.addEventListener("scroll",this.onScroll)},beforeUnmount(){window.removeEventListener("scroll",this.onScroll)}};const vo=(0,p.A)(fo,[["render",zi],["__scopeId","data-v-a28b4c5e"]]);var bo=vo;const ko={id:"footer"},yo={class:"row"},wo={class:"column"},Co={class:"link-list"},Lo={class:"column"},Ao={class:"link-list last"},Io={class:"column double-column contact-us"},Fo={id:"footer-form"},So={class:"input"},_o={key:0,class:"message"},Eo=["disabled"];function To(e,t,s,a,o,r){const l=(0,n.g2)("router-link");return(0,n.uX)(),(0,n.CE)("footer",ko,[(0,n.Lk)("div",yo,[t[19]||(t[19]=(0,n.Fv)('<div class="column" data-v-417bac95><div class="logo" data-v-417bac95><img src="'+qa+'" alt="footer logo" width="137" height="68" data-v-417bac95></div><div class="social" data-v-417bac95><a href="https://www.facebook.com/CigarFinder-101488222162301" target="_blank" rel="noopener noreferrer" data-v-417bac95><span class="icon facebook" data-v-417bac95></span></a><a href="https://twitter.com/CigarFinder_" target="_blank" rel="noopener noreferrer" data-v-417bac95><span class="icon twitter" data-v-417bac95></span></a><a href="https://www.instagram.com/cigarfinder/" target="_blank" rel="noopener noreferrer" data-v-417bac95><span class="icon instagram" data-v-417bac95></span></a><a href="https://www.youtube.com/channel/UC-wPHdjAFYCb7N8Mvb9QSHg" target="_blank" rel="noopener noreferrer" data-v-417bac95><span class="icon youtube" data-v-417bac95></span></a></div></div>',1)),(0,n.Lk)("div",wo,[(0,n.Lk)("ul",Co,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(r.categories,(e=>((0,n.uX)(),(0,n.CE)("li",{key:e.id},[(0,n.bF)(l,{to:r.link(e.slug)},{default:(0,n.k6)((()=>[(0,n.eW)((0,R.v_)(e.title),1)])),_:2},1032,["to"])])))),128)),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/brands"},{default:(0,n.k6)((()=>t[2]||(t[2]=[(0,n.eW)("Brands")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/help"},{default:(0,n.k6)((()=>t[3]||(t[3]=[(0,n.eW)("Help & Contact")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/blog"},{default:(0,n.k6)((()=>t[4]||(t[4]=[(0,n.eW)("Blog")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/news"},{default:(0,n.k6)((()=>t[5]||(t[5]=[(0,n.eW)("News")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/about"},{default:(0,n.k6)((()=>t[6]||(t[6]=[(0,n.eW)("About")]))),_:1})])])]),(0,n.Lk)("div",Lo,[(0,n.Lk)("ul",Ao,[(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/coupons"},{default:(0,n.k6)((()=>t[7]||(t[7]=[(0,n.eW)("Coupons/Deals")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/single-cigars"},{default:(0,n.k6)((()=>t[8]||(t[8]=[(0,n.eW)("Single Cigars")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/best-cigars-under-5"},{default:(0,n.k6)((()=>t[9]||(t[9]=[(0,n.eW)("Cigars Under $5")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/best-cigars-under-10"},{default:(0,n.k6)((()=>t[10]||(t[10]=[(0,n.eW)("Cigars Under $10")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/best-cigars-under-15"},{default:(0,n.k6)((()=>t[11]||(t[11]=[(0,n.eW)("Cigars Under $15")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/best-cigars-under-20"},{default:(0,n.k6)((()=>t[12]||(t[12]=[(0,n.eW)("Cigars Under $20")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/best-cigars-under-50"},{default:(0,n.k6)((()=>t[13]||(t[13]=[(0,n.eW)("Cigars Under $50")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/advertise-with-us"},{default:(0,n.k6)((()=>t[14]||(t[14]=[(0,n.eW)("Advertise with Us")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/terms-and-conditions"},{default:(0,n.k6)((()=>t[15]||(t[15]=[(0,n.eW)("Terms & Conditions")]))),_:1})]),(0,n.Lk)("li",null,[(0,n.bF)(l,{to:"/privacy-policy"},{default:(0,n.k6)((()=>t[16]||(t[16]=[(0,n.eW)("Privacy Policy")]))),_:1})])])]),(0,n.Lk)("div",Io,[t[17]||(t[17]=(0,n.Lk)("p",{class:"title"},"Newsletter",-1)),t[18]||(t[18]=(0,n.Lk)("p",{class:"subtitle"},"Signup to get the latest news and sales",-1)),(0,n.Lk)("form",Fo,[(0,n.Lk)("div",So,[(0,n.bo)((0,n.Lk)("input",{type:"email",name:"email",class:"email",placeholder:"Your Email","onUpdate:modelValue":t[0]||(t[0]=e=>o.email=e)},null,512),[[i.Jo,o.email,void 0,{trim:!0}]]),o.message?((0,n.uX)(),(0,n.CE)("p",_o,(0,R.v_)(o.message),1)):(0,n.Q3)("",!0)]),(0,n.Lk)("button",{class:"btn btn-full hvr-radial-out lite",disabled:r.validateForm,"aria-label":"sign up"},[(0,n.Lk)("a",{onClick:t[1]||(t[1]=(...e)=>r.subscribe&&r.subscribe(...e))},"Sign Up")],8,Eo)])])])])}var Oo={data(){return{email:"",message:null,error:!1,formIsValid:!0}},computed:{token(){return this.$store.getters.token},categories(){return this.$store.getters.categoriesList?this.$store.getters.categoriesList.filter((e=>!e.category_id)):this.$store.getters.categoriesList},validateForm(){return!this.error},emailVal(){return this.email}},watch:{emailVal(e){this.formIsValid=!0,""===e||e.length<6||e.length>48||!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(e)?(this.error=!1,this.formIsValid=!1):(this.error=!0,this.formIsValid=!0)}},methods:{async subscribe(){this.error=!1,this.message="";const e=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;if(!e.test(this.email))return this.error=!0,this.message="Incorrect Email",void setTimeout((()=>{this.error=!1,this.message="",this.email=""}),8e3);const t=await fetch(`${gt.baseUrl}api/v1/users/newsletter`,{method:"POST",headers:{"Content-Type":"application/json","Session-Token":this.token},body:JSON.stringify({email:this.email})}),s=await t.json();if(t.ok)this.$toast.success("Successfully Completed"),this.email="";else{const e=s.errors||"Subscription Failed. Please try again";this.$toast.error(e[0])}},link(e){return e.includes("coupons-deals")?"/coupons":"/categories/"+e}}};const Do=(0,p.A)(Oo,[["render",To],["__scopeId","data-v-417bac95"]]);var Ro=Do,Po=s(2761);const Wo={key:0,id:"cookies-banner",class:"flex_wrapper"},xo={class:"body"},Mo={class:"text_block"},Bo={class:"privacy-link"},Uo={class:"buttons flex_wrapper flex_between"};function Xo(e,t,s,a,o,r){const l=(0,n.g2)("router-link");return s.visibility?((0,n.uX)(),(0,n.CE)("div",Wo,[t[6]||(t[6]=(0,n.Lk)("div",{class:"cookies-logo"},[(0,n.Lk)("img",{src:Po,alt:"cookies logo",width:"150",height:"150"})],-1)),(0,n.Lk)("div",xo,[(0,n.Lk)("div",Mo,[t[4]||(t[4]=(0,n.Lk)("p",{class:"accent_text"},"We Use Cookies",-1)),t[5]||(t[5]=(0,n.Lk)("h2",{class:"title"},"to improve your experience, analyze site traffic, and support our free comparison tools.",-1)),(0,n.Lk)("p",Bo,[t[3]||(t[3]=(0,n.eW)(' By clicking "Allow Cookies," you consent to analytics and preference cookies. Essential cookies (login, security) are always active. ')),(0,n.bF)(l,{to:"/privacy",class:"privacy-anchor"},{default:(0,n.k6)((()=>t[2]||(t[2]=[(0,n.eW)("Privacy Policy")]))),_:1})])]),(0,n.Lk)("div",Uo,[(0,n.Lk)("a",{href:"",class:"btn btn-full",onClick:t[0]||(t[0]=(0,i.D$)(((...e)=>r.allowCookies&&r.allowCookies(...e)),["prevent"]))},"Allow Cookies"),(0,n.Lk)("a",{href:"",class:"cancel-link",onClick:t[1]||(t[1]=(0,i.D$)(((...e)=>r.declineCookies&&r.declineCookies(...e)),["prevent"]))},"Essential Only")])])])):(0,n.Q3)("",!0)}var No={props:{visibility:{type:Boolean,required:!0,default:!1}},methods:{setCookie(e,t,s){const i=new Date;i.setTime(i.getTime()+24*s*60*60*1e3),document.cookie=e+"="+t+"; expires="+i.toUTCString()+"; path=/; SameSite=Lax"},allowCookies(){this.setCookie("cookieConsent","all",365),this.setCookie("allowedCookie","true",365),this.enableAnalytics(),this.$emit("closeCookiesBanner")},declineCookies(){this.setCookie("cookieConsent","essential",365),this.setCookie("allowedCookie","declined",365),this.disableAnalytics(),this.$emit("closeCookiesBanner")},enableAnalytics(){window.gtag&&window.gtag("consent","update",{analytics_storage:"granted"}),window.__cookieConsent="all"},disableAnalytics(){window["ga-disable-G-9K136YLXRK"]=!0,window.gtag&&window.gtag("consent","update",{analytics_storage:"denied"}),window.__cookieConsent="essential",document.cookie="_ga=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=.cigarfinder.com",document.cookie="_ga_9K136YLXRK=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain=.cigarfinder.com"}}};const qo=(0,p.A)(No,[["render",Xo],["__scopeId","data-v-671b697d"]]);var $o=qo;function jo(e,t,s,a,o,r){return(0,n.bo)(((0,n.uX)(),(0,n.CE)("div",{class:(0,R.C4)(["TopButton",{bottom:r.bottom}]),style:(0,R.Tr)(r.bottom?{bottom:r.dynamicBottom+"px"}:{})},[(0,n.Lk)("span",{onClick:t[0]||(t[0]=(...e)=>r.scrollToTop&&r.scrollToTop(...e))})],6)),[[i.aG,r.scrolled]])}var Ho={name:"TopButton",data(){return{windowTop:0}},computed:{scrolled(){return this.windowTop>100},bottom(){return this.bottomCoordinate()>=this.documentHeight()},dynamicBottom(){return this.bottomOffcet()+this.bottomCoordinate()-this.documentHeight()+this.footerHeight()}},methods:{onScroll(e){this.windowTop=e.target.scrollingElement.scrollTop},scrollToTop(){return window.scrollTo(0,0),0},bottomCoordinate(){return this.windowTop+window.innerHeight},documentHeight(){return document.body.scrollHeight+210},footerHeight(){return document.getElementById("footer").scrollHeight},bottomOffcet(){return window.innerWidth<=720||window.innerWidth<=755?50:100}},created(){window.addEventListener("scroll",this.onScroll)},beforeUnmount(){window.removeEventListener("scroll",this.onScroll)}};const Vo=(0,p.A)(Ho,[["render",jo],["__scopeId","data-v-18f2284e"]]);var zo=Vo;const Jo={class:"cf-header"},Qo={class:"cf-controls"},Yo={width:"18",height:"18",viewBox:"0 0 24 24",fill:"white"},Ko={key:0,d:"M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"},Go={key:1,d:"M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-6h-3v2h5v-5h-2v3z"},Zo={key:0,class:"cf-avatar"},er={class:"cf-content"},tr=["innerHTML"],sr={key:1,class:"cf-typing"},ir={key:2,class:"cf-products"},ar={class:"cf-badges"},or={key:0,class:"badge best"},rr={key:1,class:"badge shipping"},nr={key:2,class:"badge coupon"},lr={class:"cf-product-img-wrap"},cr=["src"],dr={key:1,class:"cf-product-noimg"},ur={class:"cf-product-info"},pr={class:"cf-name"},gr={key:0,class:"cf-brand"},mr={key:1,class:"cf-price"},hr={key:2,class:"cf-retailer"},fr=["href","onClick"],vr={key:3,class:"cf-image-preview"},br=["src"],kr={class:"cf-input-area"},yr={class:"cf-input-wrapper"},wr={key:0,class:"cf-selected-image"},Cr=["src"],Lr=["disabled"];function Ar(e,t,s,a,o,r){return(0,n.uX)(),(0,n.CE)("div",null,[!o.isOpen&&r.$isMobile?((0,n.uX)(),(0,n.CE)("div",{key:0,class:"cf-mobile-tab",onClick:t[0]||(t[0]=e=>o.isOpen=!0)},t[13]||(t[13]=[(0,n.Lk)("div",{class:"cf-mobile-icon"},[(0,n.Lk)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"white"},[(0,n.Lk)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"})])],-1),(0,n.Lk)("div",{class:"cf-mobile-text"}," Ask CigarFinder AI ",-1)]))):(0,n.Q3)("",!0),o.isOpen||r.$isMobile?(0,n.Q3)("",!0):((0,n.uX)(),(0,n.CE)("div",{key:1,class:"cf-bubble-wrapper",onClick:t[1]||(t[1]=e=>o.isOpen=!0)},t[14]||(t[14]=[(0,n.Lk)("div",{class:"cf-bubble"},[(0,n.Lk)("svg",{width:"36",height:"36",viewBox:"0 0 24 24",fill:"white"},[(0,n.Lk)("path",{d:"M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2z"})])],-1),(0,n.Lk)("div",{class:"cf-bubble-text"},"Ask CigarFinder AI",-1)]))),o.isOpen?((0,n.uX)(),(0,n.CE)("div",{key:2,class:(0,R.C4)(["cf-panel",{"cf-fullscreen":o.isFullscreen}])},[(0,n.Lk)("div",Jo,[t[15]||(t[15]=(0,n.Lk)("div",{class:"cf-title"},[(0,n.Lk)("strong",{class:"cf-parisienne"},"CIGAR FINDER AI"),(0,n.Lk)("small",null,"Live prices & verified cigar deals")],-1)),(0,n.Lk)("div",Qo,[(0,n.Lk)("button",{onClick:t[2]||(t[2]=(...e)=>r.decreaseFont&&r.decreaseFont(...e)),class:"cf-btn cf-font-btn",title:"Smaller text"}," A- "),(0,n.Lk)("button",{onClick:t[3]||(t[3]=(...e)=>r.increaseFont&&r.increaseFont(...e)),class:"cf-btn cf-font-btn",title:"Larger text"}," A+ "),(0,n.Lk)("button",{onClick:t[4]||(t[4]=(...e)=>r.toggleFullscreen&&r.toggleFullscreen(...e)),class:"cf-btn",title:"Fullscreen"},[((0,n.uX)(),(0,n.CE)("svg",Yo,[o.isFullscreen?((0,n.uX)(),(0,n.CE)("path",Go)):((0,n.uX)(),(0,n.CE)("path",Ko))]))]),(0,n.Lk)("button",{onClick:t[5]||(t[5]=e=>o.isOpen=!1),class:"cf-close"},"×")])]),(0,n.Lk)("div",{ref:"messages",class:"cf-messages",style:(0,R.Tr)({fontSize:o.baseFontSize+"px"})},[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(o.messages,(e=>((0,n.uX)(),(0,n.CE)("div",{key:e.id,class:(0,R.C4)(["cf-msg",e.role])},["assistant"===e.role?((0,n.uX)(),(0,n.CE)("div",Zo,t[16]||(t[16]=[(0,n.Lk)("svg",{width:"32",height:"32",viewBox:"0 0 24 24",fill:"#f5a623"},[(0,n.Lk)("circle",{cx:"12",cy:"12",r:"12"})],-1)]))):(0,n.Q3)("",!0),(0,n.Lk)("div",er,[e.content?((0,n.uX)(),(0,n.CE)("div",{key:0,class:"cf-text",innerHTML:r.format(e.content||""),onClick:t[6]||(t[6]=(...e)=>r.handleAssistantLinkClick&&r.handleAssistantLinkClick(...e))},null,8,tr)):(0,n.Q3)("",!0),"assistant"===e.role&&e.isTyping?((0,n.uX)(),(0,n.CE)("div",sr,t[17]||(t[17]=[(0,n.Lk)("span",null,null,-1),(0,n.Lk)("span",null,null,-1),(0,n.Lk)("span",null,null,-1)]))):(0,n.Q3)("",!0),e.products&&e.products.length?((0,n.uX)(),(0,n.CE)("div",ir,[((0,n.uX)(!0),(0,n.CE)(n.FK,null,(0,n.pI)(e.products,(e=>((0,n.uX)(),(0,n.CE)("div",{key:e.id||e.buy_url,class:(0,R.C4)(["cf-product",{"best-value":e.best_value}])},[(0,n.Lk)("div",ar,[e.best_value?((0,n.uX)(),(0,n.CE)("span",or,"Best Value")):(0,n.Q3)("",!0),e.free_shipping?((0,n.uX)(),(0,n.CE)("span",rr,"Free Shipping")):(0,n.Q3)("",!0),r.getBestCoupon(r.displayRetailer(e)||e.buy_url)?((0,n.uX)(),(0,n.CE)("span",nr," Coupon ")):(0,n.Q3)("",!0)]),(0,n.Lk)("div",lr,[e.image?((0,n.uX)(),(0,n.CE)("img",{key:0,src:e.image,alt:"cigar",class:"cf-product-img",loading:"lazy"},null,8,cr)):((0,n.uX)(),(0,n.CE)("div",dr," No image "))]),(0,n.Lk)("div",ur,[(0,n.Lk)("div",pr,(0,R.v_)(e.name),1),e.brand?((0,n.uX)(),(0,n.CE)("div",gr,(0,R.v_)(e.brand),1)):(0,n.Q3)("",!0),e.price?((0,n.uX)(),(0,n.CE)("div",mr," $"+(0,R.v_)(Number(e.price).toFixed(2)),1)):(0,n.Q3)("",!0),r.displayRetailer(e)?((0,n.uX)(),(0,n.CE)("div",hr," from "+(0,R.v_)(r.displayRetailer(e)),1)):(0,n.Q3)("",!0),e.buy_url?((0,n.uX)(),(0,n.CE)("a",{key:3,href:e.buy_url,target:"_blank",rel:"noopener",class:"cf-buy",onClick:(0,i.D$)((t=>r.handleBuyClick(e)),["prevent"])}," Buy from "+(0,R.v_)(r.displayRetailer(e)||"Retailer"),9,fr)):(0,n.Q3)("",!0)])],2)))),128))])):(0,n.Q3)("",!0),e.imagePreview?((0,n.uX)(),(0,n.CE)("div",vr,[(0,n.Lk)("img",{src:e.imagePreview,alt:"uploaded cigar"},null,8,br)])):(0,n.Q3)("",!0)])],2)))),128))],4),(0,n.Lk)("div",kr,[(0,n.Lk)("button",{class:"cf-image-btn",type:"button",onClick:t[7]||(t[7]=(...e)=>r.triggerImagePicker&&r.triggerImagePicker(...e)),title:"Attach a cigar photo"}," 📷 "),(0,n.Lk)("input",{ref:"fileInput",type:"file",accept:"image/*",class:"cf-file-input",onChange:t[8]||(t[8]=(...e)=>r.handleImageSelected&&r.handleImageSelected(...e))},null,544),(0,n.Lk)("div",yr,[o.selectedImagePreview?((0,n.uX)(),(0,n.CE)("div",wr,[(0,n.Lk)("img",{src:o.selectedImagePreview,alt:"selected"},null,8,Cr),(0,n.Lk)("button",{type:"button",onClick:t[9]||(t[9]=(...e)=>r.clearImageContext&&r.clearImageContext(...e))},"✕")])):(0,n.Q3)("",!0),(0,n.bo)((0,n.Lk)("input",{"onUpdate:modelValue":t[10]||(t[10]=e=>o.input=e),onKeyup:t[11]||(t[11]=(0,i.jR)(((...e)=>r.send&&r.send(...e)),["enter"])),placeholder:"Ask about cigars...",class:"cf-input"},null,544),[[i.Jo,o.input]])]),(0,n.Lk)("button",{onClick:t[12]||(t[12]=(...e)=>r.send&&r.send(...e)),disabled:!r.canSend,class:"cf-send"}," Send ",8,Lr)])],2)):(0,n.Q3)("",!0)])}var Ir={data(){return{isOpen:!1,isFullscreen:!1,input:"",baseFontSize:15,sessionId:null,stateStorageKey:"cf_chat_state_v1",selectedImageBase64:"",selectedImagePreview:"",activeImageBase64:"",messages:[{id:1,role:"assistant",content:"Ask Cigar Finder AI\nYour cigar guide & deal hunter\n\nHi, I’m Cigar Finder AI 👋\nTell me what you’re in the mood for and I’ll:\n\n• Recommend cigars by strength & flavor\n• Find the best prices (singles, 5-packs, or boxes)\n• Suggest drink & food pairings for your smoke",products:[]}],coupons:{}}},computed:{canSend(){return this.input.trim().length>0||!!this.selectedImageBase64},$isMobile(){return"undefined"!==typeof window&&window.innerWidth<768}},created(){if("undefined"!==typeof window){const t=window.localStorage.getItem("cf_chat_session_id");t?this.sessionId=t:(this.sessionId=this.generateSessionId(),window.localStorage.setItem("cf_chat_session_id",this.sessionId));let s=!1;try{const e=window.localStorage.getItem(this.stateStorageKey);if(e){const t=JSON.parse(e);t&&Array.isArray(t.messages)&&t.messages.length&&(this.messages=t.messages),"boolean"===typeof t.isOpen&&(this.isOpen=t.isOpen),"number"===typeof t.baseFontSize&&(this.baseFontSize=t.baseFontSize),t.coupons&&(this.coupons=t.coupons),t.activeImageBase64&&(this.activeImageBase64=t.activeImageBase64),t.sessionId&&(this.sessionId=t.sessionId,window.localStorage.setItem("cf_chat_session_id",this.sessionId)),s=!0}}catch(e){}!s&&window.innerWidth>=1024&&(this.isOpen=!0),this.handleResize(),window.addEventListener("resize",this.handleResize)}},beforeUnmount(){"undefined"!==typeof window&&window.removeEventListener("resize",this.handleResize)},updated(){this.scrollToBottom()},methods:{generateSessionId(){return"cf_"+Math.random().toString(36).substring(2)+Date.now().toString(36)},handleResize(){"undefined"!==typeof window&&window.innerWidth<768&&(this.isFullscreen=!0)},toggleFullscreen(){this.isFullscreen=!this.isFullscreen},scrollToBottom(){this.$nextTick((()=>{const e=this.$refs.messages;e&&(e.scrollTop=e.scrollHeight)}))},triggerImagePicker(){this.$refs.fileInput&&this.$refs.fileInput.click()},handleImageSelected(e){const t=e.target.files&&e.target.files[0];if(!t)return;const s=new FileReader;s.onload=e=>{this.selectedImageBase64=e.target.result,this.selectedImagePreview=e.target.result},s.readAsDataURL(t)},clearImageContext(){this.selectedImageBase64="",this.selectedImagePreview="",this.activeImageBase64="",this.$refs.fileInput&&(this.$refs.fileInput.value="")},async send(){if(!this.canSend)return;const e=this.input.trim(),t=e.length>0;let s=e;t||!this.selectedImageBase64&&!this.activeImageBase64||(s="Image-only cigar question — please identify the cigar in the attached photo and show matching options from the database.");let i=null;this.selectedImageBase64?(i=this.selectedImageBase64,this.activeImageBase64=this.selectedImageBase64):this.activeImageBase64&&(i=this.activeImageBase64);const a=Date.now();this.messages.push({id:a,role:"user",content:s,products:[]}),this.selectedImagePreview&&this.messages.push({id:a+1,role:"user",content:"",imagePreview:this.selectedImagePreview}),this.input="";const o=a+2;this.messages.push({id:o,role:"assistant",content:"",isTyping:!0,products:[]}),this.scrollToBottom(),this.playNotificationSound();try{const e={message:s,session_id:this.sessionId};i&&(e.image_url=i),console.debug("[CF_CHAT] sending",{message:s,session_id:this.sessionId,hasImage:!!i,url:`${gt.baseUrl}api/v1/gpt/chat`});const t=await fetch(`${gt.baseUrl}api/v1/gpt/chat`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),r=await t.json();r&&r.session_id&&(this.sessionId=r.session_id,"undefined"!==typeof window&&window.localStorage.setItem("cf_chat_session_id",this.sessionId)),this.coupons=r.coupons||{};const n=this.messages.findIndex((e=>e.id===o)),l=r&&r.reply?r.reply:"No reply",c=Array.isArray(r.products)?r.products:[];-1!==n&&this.messages.splice(n,1,{id:a+3,role:"assistant",content:l,products:c,isTyping:!1}),this.selectedImageBase64="",this.selectedImagePreview="",this.$refs.fileInput&&(this.$refs.fileInput.value="")}catch(r){const e=this.messages.findIndex((e=>e.id===o||"assistant"===e.role&&"Searching..."===e.content));-1!==e&&this.messages.splice(e,1,{id:a+4,role:"assistant",content:"Whoops, my humidor glitched. Try asking me again in a few seconds.",products:[],isTyping:!1})}this.scrollToBottom()},format(e){if(!e)return"";let t=e;return t=t.replace(/^### (.+)$/gm,'<h3 class="cf-h3">$1</h3>'),t=t.replace(/^## (.+)$/gm,'<h2 class="cf-h2">$1</h2>'),t=t.replace(/^# (.+)$/gm,'<h1 class="cf-h1">$1</h1>'),t=t.replace(/\*\*(.+?)\*\*/g,"<strong>$1</strong>"),t=t.replace(/(?:^|\n)\s*[-•]\s+(.+)(?=\n|$)/g,((e,t)=>`\n<ul><li>${t}</li></ul>`)),t=t.replace(/<\/ul>\s*<ul>/g,""),t=t.replace(/\n/g,"<br>"),t},handleAssistantLinkClick(e){const t=e.target;if(!t)return;const s=t.closest("a");if(!s)return;const i=s.getAttribute("href");if(!i)return;const a=i.toLowerCase(),o=a.startsWith("/")||a.includes("cigarfinder.com");o&&(e.preventDefault(),this.isOpen=!1,this.saveState(),i.startsWith("http"),window.location.href=i)},displayRetailer(e){if(!e)return"";if(e.retailer){const t=String(e.retailer).trim();if(t&&"retailer"!==t.toLowerCase())return t}if(e.seller){const t=String(e.seller).trim();if(t)return t}if(e.store){const t=String(e.store).trim();if(t)return t}return e.buy_url?this.getRetailer(e.buy_url):""},getRetailer(e){if(!e)return"Retailer";const t=e.toLowerCase();return t.includes("flyingcigars")?"Flying Cigars":t.includes("cigarpage")?"CigarPage":t.includes("cigars.com")?"Cigars.com":t.includes("thompsoncigar")?"Thompson Cigar":t.includes("famous-smoke")?"Famous Smoke":t.includes("cigarsinternational")?"Cigars International":t.includes("bestcigarprices")?"Best Cigar Prices":t.includes("jrcigars")?"JR Cigars":t.includes("smokeinn")?"Smoke Inn":t.includes("cigarsncigars")?"CigarsNCigars":t.includes("iheartcigars")?"iHeart Cigars":t.includes("cigora")?"Cigora":"Retailer"},increaseFont(){this.baseFontSize<20&&(this.baseFontSize+=1)},decreaseFont(){this.baseFontSize>12&&(this.baseFontSize-=1)},playNotificationSound(){if("undefined"===typeof window)return;const e=new Audio("data:audio/wav;base64,UklGRiQAAABXQVZFZm10IBAAAAABAAEAQB8AAEAfAAABAAgAZGF0YQAAAAA=");e.volume=.3,e.play().catch((()=>{}))},getBestCoupon(e){if(!this.coupons||!e)return null;const t=e=>e.toLowerCase().replace(/[^a-z0-9]/g,""),s=t(e);if(!s||"retailer"===s)return null;const i=Object.keys(this.coupons).find((e=>{const i=t(e);return i.includes(s)||s.includes(i)}));return i&&this.coupons[i]&&this.coupons[i].length?this.coupons[i][0]:null},handleBuyClick(e){const t=this.displayRetailer(e)||e.buy_url||"",s=this.getBestCoupon(t);s&&s.code&&"no code required"!==s.code.toLowerCase()&&navigator.clipboard.writeText(s.code).then((()=>{alert(`Code ${s.code} copied to clipboard!`)})),setTimeout((()=>window.open(e.buy_url,"_blank")),150)},saveState(){if("undefined"!==typeof window)try{const e={messages:this.messages,isOpen:this.isOpen,baseFontSize:this.baseFontSize,coupons:this.coupons,activeImageBase64:this.activeImageBase64,sessionId:this.sessionId};window.localStorage.setItem(this.stateStorageKey,JSON.stringify(e))}catch(e){}}},watch:{messages:{handler(){this.saveState()},deep:!0},isOpen(){this.saveState()},baseFontSize(){this.saveState()},coupons:{handler(){this.saveState()},deep:!0},activeImageBase64(){this.saveState()}}};const Fr=(0,p.A)(Ir,[["render",Ar],["__scopeId","data-v-a9a33db2"]]);var Sr=Fr,_r={components:{TheHeader:bo,TheFooter:Ro,CookiesBanner:$o,TopButton:zo,BaseDialog:(0,n.$V)((()=>s.e(850).then(s.bind(s,5850)))),RegistrationForm:(0,n.$V)((()=>s.e(305).then(s.bind(s,305)))),LoginForm:(0,n.$V)((()=>s.e(419).then(s.bind(s,4419)))),ForgotPasswordForm:(0,n.$V)((()=>s.e(151).then(s.bind(s,6151)))),CigarFinderChat:Sr},data(){return{cookiesBannerVisibility:!1}},computed:{isLoggedIn(){return this.$store.getters.isAuthenticated},registartionModalIsOpen(){return this.$store.getters.registrationIsOpen},loginModalIsOpen(){return this.$store.getters.loginIsOpen},forgotPasswordModalIsOpen(){return this.$store.getters.forgotPasswordIsOpen}},beforeCreate(){this.$store.dispatch("categories"),this.$store.dispatch("brands")},created(){this.checkCookies(),this.$store.dispatch("tryLogin")},methods:{checkCookies(){this.getCookie("allowedCookie")||setTimeout((()=>{this.cookiesBannerVisibility=!0}),5e3)},getCookie(e){const t=`; ${document.cookie}`,s=t.split(`; ${e}=`);if(2===s.length)return s.pop().split(";").shift()},closeCookiesBanner(){this.cookiesBannerVisibility=!1},openRegisterModal(){this.$store.dispatch("registrationModalToggle",!0)},openLoginModal(){this.$store.dispatch("loginModalToggle",!0)},closeModal(){this.$store.dispatch("registrationModalToggle",!1),this.$store.dispatch("loginModalToggle",!1),this.$store.dispatch("forgotPasswordModalToggle",!1)},forgotPasswordClick(){this.closeModal(),this.$store.dispatch("forgotPasswordModalToggle",!0)}}};const Er=(0,p.A)(_r,[["render",Vi]]);var Tr=Er;const Or={class:"spinner"};function Dr(e,t){return(0,n.uX)(),(0,n.CE)("div",Or,t[0]||(t[0]=[(0,n.Lk)("div",{class:"lds-roller"},[(0,n.Lk)("div"),(0,n.Lk)("div"),(0,n.Lk)("div"),(0,n.Lk)("div"),(0,n.Lk)("div"),(0,n.Lk)("div"),(0,n.Lk)("div"),(0,n.Lk)("div")],-1)]))}const Rr={},Pr=(0,p.A)(Rr,[["render",Dr],["__scopeId","data-v-fdcbfba2"]]);var Wr=Pr,xr=s(60);const Mr={id:"profile-wrapper",class:"base-wrapper"},Br={class:"body flex_wrapper"};function Ur(e,t,s,i,a,o){const r=(0,n.g2)("the-title"),l=(0,n.g2)("the-links");return(0,n.uX)(),(0,n.CE)("div",Mr,[(0,n.bF)(r,{title:s.title},null,8,["title"]),(0,n.Lk)("div",Br,[(0,n.bF)(l),(0,n.RG)(e.$slots,"default",{},void 0,!0)])])}const Xr={class:"title-wrapper"},Nr={class:"text_block"},qr={class:"title active"};function $r(e,t,s,i,a,o){const r=(0,n.g2)("router-link");return(0,n.uX)(),(0,n.CE)("div",Xr,[(0,n.Lk)("div",Nr,[(0,n.bF)(r,{class:"title",to:"/"},{default:(0,n.k6)((()=>t[0]||(t[0]=[(0,n.eW)("Home")]))),_:1}),t[1]||(t[1]=(0,n.Lk)("span",{class:"title"},"/",-1)),(0,n.Lk)("a",qr,(0,R.v_)(s.title),1)])])}var jr={props:{title:{type:String,required:!0}}};const Hr=(0,p.A)(jr,[["render",$r],["__scopeId","data-v-586cea99"]]);var Vr=Hr;function zr(e,t,s,i,a,o){const r=(0,n.g2)("router-link"),l=(0,n.g2)("test-ads-banner");return(0,n.uX)(),(0,n.CE)("div",{class:(0,R.C4)(["links",{open:a.mobileOpen}])},[(0,n.Lk)("button",{class:"mobile-menu-toggle",onClick:t[0]||(t[0]=e=>a.mobileOpen=!a.mobileOpen)},[(0,n.eW)((0,R.v_)(o.currentPageName)+" ",1),(0,n.Lk)("span",{class:(0,R.C4)(["arrow",{rotated:a.mobileOpen}])},"▼",2)]),(0,n.Lk)("div",{class:(0,R.C4)(["nav-items",{show:a.mobileOpen}])},[(0,n.Lk)("div",{class:"item",onClick:t[1]||(t[1]=e=>a.mobileOpen=!1)},[(0,n.bF)(r,{to:"/profile"},{default:(0,n.k6)((()=>t[6]||(t[6]=[(0,n.eW)("My Profile")]))),_:1})]),(0,n.Lk)("div",{class:"item",onClick:t[2]||(t[2]=e=>a.mobileOpen=!1)},[(0,n.bF)(r,{to:"/humidor"},{default:(0,n.k6)((()=>t[7]||(t[7]=[(0,n.eW)("My Humidor")]))),_:1})]),(0,n.Lk)("div",{class:"item",onClick:t[3]||(t[3]=e=>a.mobileOpen=!1)},[(0,n.bF)(r,{to:"/journal"},{default:(0,n.k6)((()=>t[8]||(t[8]=[(0,n.eW)("Cigar Journal")]))),_:1})]),(0,n.Lk)("div",{class:"item",onClick:t[4]||(t[4]=e=>a.mobileOpen=!1)},[(0,n.bF)(r,{to:"/wishlist"},{default:(0,n.k6)((()=>t[9]||(t[9]=[(0,n.eW)("Wishlist")]))),_:1})]),(0,n.Lk)("div",{class:"item last",onClick:t[5]||(t[5]=e=>a.mobileOpen=!1)},[(0,n.bF)(r,{to:"/orderhistory"},{default:(0,n.k6)((()=>t[10]||(t[10]=[(0,n.eW)("Recently Viewed")]))),_:1})])],2),(0,n.bF)(l,{type:"small",class:"desktop-only"}),(0,n.bF)(l,{type:"small",class:"desktop-only"})],2)}var Jr={data(){return{mobileOpen:!1}},computed:{currentPageName(){const e=this.$route?.path||"",t={"/profile":"My Profile","/humidor":"My Humidor","/journal":"Cigar Journal","/wishlist":"Wishlist","/orderhistory":"Recently Viewed","/admin/reviews":"Admin Panel"};return t[e]||"Menu"}}};const Qr=(0,p.A)(Jr,[["render",zr],["__scopeId","data-v-5ed08087"]]);var Yr=Qr,Kr={props:{title:{type:String,required:!0}},components:{TheTitle:Vr,TheLinks:Yr}};const Gr=(0,p.A)(Kr,[["render",Ur],["__scopeId","data-v-d825a9b0"]]);var Zr=Gr;const en={class:"rating-holder"},tn=["data-rating-value"];function sn(e,t,s,i,a,o){return(0,n.uX)(),(0,n.CE)("div",en,[(0,n.Lk)("div",{class:"c-rating c-rating--small","data-rating-value":o.ratingValue},t[0]||(t[0]=[(0,n.Fv)('<button aria-label="rating 1" data-v-7844f7ed></button><button aria-label="rating 2" data-v-7844f7ed></button><button aria-label="rating 3" data-v-7844f7ed></button><button aria-label="rating 4" data-v-7844f7ed></button><button aria-label="rating 5" data-v-7844f7ed></button>',5)]),8,tn)])}var an={props:["rating"],computed:{ratingValue(){return this.rating&&this.rating[1]&&"."===this.rating[1]&&"0"===this.rating[2]?parseInt(this.rating):this.rating}}};const on=(0,p.A)(an,[["render",sn],["__scopeId","data-v-7844f7ed"]]);var rn=on,nn=s(7318),ln={beforeMount:(e,t)=>{e.clickOutsideEvent=s=>{e==s.target||e.contains(s.target)||t.value()},document.addEventListener("click",e.clickOutsideEvent)},unmounted:e=>{document.removeEventListener("click",e.clickOutsideEvent)}},cn=s(4828),dn=s(8249),un=s(7351),pn=s.n(un),gn=s(3929);const mn=(0,i.Ef)(Tr),hn={clientId:"353532333871-ouadcgink0ant3sodqscc3ltg4ef23i7.apps.googleusercontent.com",scope:"profile email",prompt:"select_account",fetch_basic_profile:!1};function fn(e){if(!e)return"";let t=e;return t=t.replace(/<[^>]*>/g,""),t=t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),t=t.replace(/"/g,'"').replace(/'/g,"'").replace(/ /g," "),t=t.replace(/^SKU:\s*[A-Za-z0-9_-]+[\s.\-–—]+/i,""),t=t.replace(/\s+/g," ").trim(),t.length>160&&(t=t.substring(0,157).replace(/\s+\S*$/,"")+"..."),t}function vn(e,t,s){document.title=e.title||"CigarFinder";let i=document.querySelector("meta[name='description']");i||(i=document.createElement("meta"),i.setAttribute("name","description"),document.head.appendChild(i)),i.content=fn(e.description);const a=s||"https://cigarfinder.com/img/cigarfinder-og.png",o={"og:title":e.title||"","og:description":fn(e.description),"og:url":`https://cigarfinder.com${t}`,"og:image":a,"og:type":"website","twitter:title":e.title||"","twitter:description":fn(e.description),"twitter:image":a,"twitter:card":"summary_large_image"},r=["/profile","/wishlist","/login","/registration"];let n=document.querySelector("meta[name='robots']");r.some((e=>t.startsWith(e)))?(n||(n=document.createElement("meta"),n.setAttribute("name","robots"),document.head.appendChild(n)),n.content="noindex, nofollow"):n&&(n.content="index, follow"),Object.entries(o).forEach((([e,t])=>{const s=e.startsWith("og:")?"property":"name";let i=document.querySelector(`meta[${s}="${e}"]`);i||(i=document.createElement("meta"),i.setAttribute(s,e),document.head.appendChild(i)),i.content=t}));let l=document.querySelector("link[rel='canonical']");l||(l=document.createElement("link"),l.rel="canonical",document.head.appendChild(l)),l.href=`https://cigarfinder.com${t}`}function bn(e,t){const s=JSON.stringify(t);let i=document.getElementById(e);i||(i=document.createElement("script"),i.type="application/ld+json",i.id=e,document.head.appendChild(i)),i.textContent=s}function kn(e){document.querySelectorAll('link[data-cf-hreflang="1"]').forEach((e=>e.remove()))}function yn(e){const t="cf-jsonld-searchaction";if("/"===e)bn(t,{"@context":"https://schema.org","@type":"WebSite",name:"CigarFinder",url:"https://cigarfinder.com",potentialAction:{"@type":"SearchAction",target:"https://cigarfinder.com/search-results?q={search_term_string}","query-input":"required name=search_term_string"}});else{const e=document.getElementById(t);e&&e.remove()}}function wn(e,t){const s="https://cigarfinder.com",i=[{name:"Home",item:`${s}/`}];if(!e||"/"===e)return i;if("/coupons"===e)return i.push({name:"Coupons",item:`${s}/coupons`}),i;if("/blog"===e)return i.push({name:"Blog",item:`${s}/blog`}),i;if("/news"===e)return i.push({name:"News",item:`${s}/news`}),i;if("/help"===e)return i.push({name:"Help",item:`${s}/help`}),i;if(e.startsWith("/categories/")){i.push({name:"Categories",item:`${s}/categories/1-cigars`});const t=e.split("/")[2]||"",a=t.split("-").slice(1).join(" ")||t,o=a.replace(/\b\w/g,(e=>e.toUpperCase()));return i.push({name:o||"Category",item:`${s}${e}`}),i}if(e.startsWith("/blog/")){i.push({name:"Blog",item:`${s}/blog`});const a=(t||"Article").split("|")[0].trim();return i.push({name:a||"Article",item:`${s}${e}`}),i}if(e.startsWith("/news/")){i.push({name:"News",item:`${s}/news`});const a=(t||"Article").split("|")[0].trim();return i.push({name:a||"Article",item:`${s}${e}`}),i}if(e.startsWith("/product/")){const a=(t||"Product").split("|")[0].trim();return i.push({name:a||"Product",item:`${s}${e}`}),i}const a=(t||"Page").split("|")[0].trim();return i.push({name:a||"Page",item:`${s}${e}`}),i}function Cn(e,t,s){const i=(e||"/").split("?")[0];kn(i);const a="https://cigarfinder.com",o=`${a}${i}`,r=t&&t.title?t.title:"Cigar Finder",n=t&&t.description?t.description:void 0;yn(i);const l=wn(i,r),c={"@type":"BreadcrumbList","@id":`${o}#breadcrumbs`,itemListElement:l.map(((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,item:e.item})))},d={"@type":"WebPage","@id":`${o}#webpage`,url:o,name:r,inLanguage:"en"},u={"@type":"Organization","@id":"https://cigarfinder.com/#organization",name:"Cigar Finder",url:"https://www.cigarfinder.com/",logo:"https://www.cigarfinder.com/img/logo_1712.f5b212b8.svg",sameAs:["https://www.facebook.com/profile.php?id=100069324666780","https://www.instagram.com/cigarfinder/","https://www.youtube.com/channel/UC-wPHdjAFYCb7N8Mvb9QSHg"]},p=[u,d,c];if(i.startsWith("/product/")){const e=r.split("|")[0].trim()||"Product",t={"@type":"Product","@id":`${o}#product`,name:e,url:o,description:n,image:"https://cigarfinder.com/img/logo_1712.f5b212b8.svg"};if(s&&s.product){const e=s.product;e.attachments&&e.attachments.length>0&&e.attachments[0].url?t.image=e.attachments[0].url:e.image_url&&(t.image=e.image_url),e.brand_name&&(t.brand={"@type":"Brand",name:e.brand_name}),e.rating&&parseFloat(e.rating)>0&&(t.aggregateRating={"@type":"AggregateRating",ratingValue:parseFloat(e.rating).toFixed(2),bestRating:"5",worstRating:"1",ratingCount:"1"});const i=Array.isArray(e.views)?e.views:[],a=i.filter((e=>e&&e.price&&e.price>0));if(a.length>1){const e=a.map((e=>e.price/100));t.offers={"@type":"AggregateOffer",lowPrice:Math.min(...e).toFixed(2),highPrice:Math.max(...e).toFixed(2),priceCurrency:"USD",offerCount:a.length,availability:"https://schema.org/InStock"}}else e.price&&e.price>0&&(t.offers={"@type":"Offer",price:(e.price/100).toFixed(2),priceCurrency:"USD",availability:"https://schema.org/InStock",url:o},e.seller&&(t.offers.seller={"@type":"Organization",name:e.seller}))}p.push(t)}if(i.match(/^\/(blog|news)\/\d+/)){const e={"@type":"Article","@id":`${o}#article`,headline:r.split("|")[0].trim()||r,url:o,inLanguage:"en",isPartOf:{"@id":`${o}#webpage`},publisher:{"@id":"https://cigarfinder.com/#organization"},author:{"@type":"Organization",name:"CigarFinder","@id":"https://cigarfinder.com/#organization"}};if(n&&(e.description=n),s&&s.article){const t=s.article;if(t.created_at&&(e.datePublished=t.created_at),t.updated_at&&(e.dateModified=t.updated_at),t.image){const s="object"===typeof t.image?t.image.url||t.image.medium?.url||t.image.webp?.url:t.image;s&&(e.image=s)}}p.push(e)}bn("cf-jsonld-universal-graph",{"@context":"https://schema.org","@graph":p})}function Ln(e,t){const s=JSON.stringify(t);let i=document.getElementById(e);i||(i=document.createElement("script"),i.type="application/ld+json",i.id=e,document.head.appendChild(i)),i.textContent=s}function An(e){if(!e)return"";const t=String(e).split("-").slice(1),s=t.join(" ").trim();return s?s.replace(/\b\w/g,(e=>e.toUpperCase())):""}function In(e,t){const s=e&&e.title?String(e.title):"",i=s.split(" Coupons")[0];if(i&&i!==s)return i.trim();const a=s.split(" Coupon")[0];if(a&&a!==s)return a.trim();const o=s.split(" | ")[0];return o&&o!==s?o.trim():t||""}function Fn(e){const t=[e?.offers,e?.coupons,e?.coupon_resources,e?.data?.offers,e?.data?.coupons,e?.data?.coupon_resources].filter(Boolean),s=t.find((e=>Array.isArray(e)));return s?s.filter(Boolean).map((e=>({name:e.name||e.title||e.heading||"Coupon Offer",description:e.description||e.about||e.details||"",code:e.code||e.coupon_code||"",url:e.url||e.link||e.outbound_url||"",start_date:e.start_date||e.valid_from||e.validFrom||"",end_date:e.end_date||e.valid_until||e.priceValidUntil||""}))):[]}async function Sn(e,t,s){const i="https://cigarfinder.com",a=t?.params?.slug||e.split("/")[2]||"",o=String(a).split("-")[0]||"",r=An(a),n=In(s,r)||"Retailer",l=`${n} Coupons & Promo Codes | Cigar Finder`;let c=[];if(o)try{const e=await fetch(`https://hiscigar.com/api/v1/coupon_resources/${o}`);if(e.ok){const t=await e.json();c=Fn(t)}}catch(m){c=[]}const d=`${i}/#organization`,u=`${i}${e}#webpage`,p=`${i}${e}#breadcrumbs`,g=[{"@type":"Organization","@id":d,name:"Cigar Finder",url:"https://www.cigarfinder.com/",logo:"https://www.cigarfinder.com/img/logo_1712.f5b212b8.svg",sameAs:["https://www.facebook.com/profile.php?id=100069324666780","https://www.instagram.com/cigarfinder/","https://www.youtube.com/channel/UC-wPHdjAFYCb7N8Mvb9QSHg"]},{"@type":"WebPage","@id":u,url:`${i}${e}`,name:l,inLanguage:"en"},{"@type":"BreadcrumbList","@id":p,itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:`${i}/`},{"@type":"ListItem",position:2,name:"Coupons",item:`${i}/coupons`},{"@type":"ListItem",position:3,name:n,item:`${i}${e}`}]}];if(c.length>0){const t=`${i}${e}#itemlist`;g.push({"@type":"ItemList","@id":t,name:`${n} coupon offers`,itemListOrder:"https://schema.org/ItemListUnordered",itemListElement:c.slice(0,50).map(((t,s)=>{const a=t.url||`${i}${e}#offer-${s+1}`,o={"@type":"Offer",name:t.name,description:t.description||void 0,availability:"https://schema.org/InStock",url:a,seller:{"@type":"Organization",name:n}};return t.start_date&&(o.validFrom=t.start_date),t.end_date&&(o.priceValidUntil=t.end_date),{"@type":"ListItem",position:s+1,url:a,item:o}}))})}return{"@context":"https://schema.org","@graph":g}}async function _n(e,t){const s=(e?.path||"/").split("?")[0];if("/coupons"===s)return;if(s.startsWith("/coupon-detail/")){const i=await Sn(s,e,t);return void Ln("cf-jsonld-graph",i)}const i=document.getElementById("cf-jsonld-graph");i&&i.remove()}async function En(e){const t=e.path.split("?")[0];let s={title:"CigarFinder",description:""},i=null,a={};if(t.startsWith("/coupon-detail/")){const e=t.split("/")[2].split("-")[0];try{const t=await fetch(`https://hiscigar.com/api/v1/coupon_resources/${e}/meta`);if(t.ok){const e=await t.json();e.meta&&(s=e.meta)}}catch(o){console.warn("Coupon meta failed:",o)}}else if(t.startsWith("/product/")){const e=t.split("/")[2].split("-")[0];try{const t=await fetch(`https://hiscigar.com/api/v1/meta_tags/product/${e}`);if(t.ok){const e=await t.json();e.meta&&(s=e.meta)}}catch(o){console.warn("Product meta failed:",o)}try{const t=await fetch(`https://hiscigar.com/api/v1/products/${e}`);if(t.ok){const e=await t.json();e&&(a.product=e,e.attachments&&e.attachments.length>0&&e.attachments[0].url?i=e.attachments[0].url:e.image_url&&(i=e.image_url))}}catch(o){console.warn("Product data fetch failed:",o)}}else if(t.match(/\/(blog|news)\/\d+/)){const e=t.split("/").pop(),r=e.split("-")[0];try{const e=await fetch(`https://hiscigar.com/api/v1/meta_tags/article/${r}`);if(e.ok){const t=await e.json();t.meta&&(s=t.meta)}}catch(o){console.warn("Article meta failed:",o)}try{const t=await fetch(`https://hiscigar.com/api/v1/articles/${e}`);if(t.ok){const e=await t.json();if(e){a.article=e;const t=e.image?"object"===typeof e.image?e.image.url||e.image.medium?.url:e.image:null;t&&(i=t)}}}catch(o){console.warn("Article data fetch failed:",o)}}else if("/blog"===t)s.title="Cigar Blog - Expert Guides, Reviews, Pairings & Tips | CigarFinder",s.description="Learn to choose, cut, light, pair, and store cigars. Expert guides, brand reviews, and how-tos, new articles weekly on CigarFinder.";else if("/news"===t)s.title="Cigar News - Latest Releases, Industry Updates & Events | CigarFinder",s.description="Stay up to date with cigar news: new releases, limited editions, brand updates, and industry moves. Fresh stories weekly on CigarFinder.";else if(["/advertise-with-us","/help","/terms-and-conditions","/privacy-policy","/about"].includes(t)){const e={"/advertise-with-us":"advertise","/help":"help","/about":"about","/terms-and-conditions":"terms","/privacy-policy":"privacy"};try{const i=await fetch(`https://hiscigar.com/api/v1/meta_tags/static/${e[t]}`);if(i.ok){const e=await i.json();e.meta&&(s=e.meta)}}catch(o){console.warn("Static meta failed:",o)}}else if(t.startsWith("/categories/")){const e=t.split("/")[2].split("-")[0];try{const t=await fetch(`https://hiscigar.com/api/v1/meta_tags/category/${e}`);if(t.ok){const e=await t.json();e.meta&&(s=e.meta)}}catch(o){console.warn("Category meta failed:",o)}}else if("/"===t||"/coupons"===t){const e="/coupons"===t?"coupons":"main_page";try{const t=await fetch(`https://hiscigar.com/api/v1/meta_tags/get_meta?page_type=${e}`);if(t.ok){const e=await t.json();e.meta&&(s=e.meta)}}catch(o){console.warn("Main meta failed:",o)}}else if("/single-cigars"===t)s.title="Buy Single Cigars Online - Compare Prices ("+(new Date).getFullYear()+") | CigarFinder",s.description="Browse single cigars available for individual purchase. Compare real-time prices across 14 trusted online retailers. Try before you buy a box.";else if(t.startsWith("/best-cigars-under-")){const e=t.split("-").pop(),i={5:"Discover quality cigars under $5. Compare real-time prices from 14 trusted online retailers.",10:"Find the best cigars under $10. Compare prices across Famous Smoke, Thompson Cigar, JR Cigar & more.",15:"Browse premium cigars under $15. Real-time price comparison from 14 trusted online retailers.",20:"Explore cigars under $20 with live pricing from top online retailers.",50:"Compare cigars under $50 from 14 trusted retailers. From everyday favorites to premium selections."};s.title="Best Cigars Under $"+e+" ("+(new Date).getFullYear()+") - Compare Prices | CigarFinder",s.description=i[e]||"Find the best cigars under $"+e+". Compare prices from 14 retailers."}else if("/brands"===t)s.title="All Cigar Brands - Compare Prices from 17+ Retailers | CigarFinder",s.description="Browse all cigar brands on CigarFinder. Compare prices on Padron, Ashton, Davidoff, Rocky Patel, My Father, and more across 17+ trusted retailers.";else if(t.startsWith("/brands/")){const e=t.split("/")[2];try{const t=await fetch("https://hiscigar.com/api/v1/brand_pages/"+e);if(t.ok){const e=await t.json();e&&e.name&&(s.title=e.name+" Cigars - Compare Prices | CigarFinder",s.description=e.meta_description||"Compare prices on "+e.name+" cigars across 17+ trusted online retailers. Find the best deals on "+e.name+".",e.image&&(i=e.image))}}catch(o){console.warn("Brand meta failed:",o)}}vn(s,t,i),Cn(t,s,a),await _n(e,s)}Hi.beforeEach(((e,t,s)=>{e.path!==t.path&&window.scrollTo({top:0,behavior:"smooth"}),e.meta.needsAuth&&!Ci.getters.isAuthenticated?(Ci.dispatch("registrationModalToggle",!0),s("/")):s()})),Hi.afterEach(En),document.addEventListener("DOMContentLoaded",(()=>En(Hi.currentRoute.value))),mn.use(Hi),mn.use(Ci),mn.use(cn.A,hn),mn.use(dn.Ay),mn.use(nn.A,{preLoad:1.3,attempt:1}),mn.use(o.Ay,{property:{id:"G-9K136YLXRK"},useDebugger:!1,disableScriptLoad:!1}),mn.component("base-spinner",Wr),mn.component("base-profile-wrapper",Zr),mn.component("test-ads-banner",xr.A),mn.component("pagination",pn()),mn.component("base-rating",rn),mn.component("base-meta",nt.A),mn.directive("click-outside",ln),mn.use(gn.A),mn.mount("#app")},7465:function(e,t,s){s.r(t),s.d(t,{baseUrl:function(){return a},fetchData:function(){return i},stringToSlug:function(){return o}});const i=async function(e,t,s){let i=e;if(t?.params){const e=t.params.toString().replace(/^\?/,"");i+=i.includes("?")?`&${e}`:`?${e}`}const a="cf_http_cache:"+i,o=await fetch(i,{method:"GET",cache:"no-store",headers:{"Content-Type":"application/json","Session-Token":s,"Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:"0"}});if(304===o.status){try{const e=sessionStorage.getItem(a);if(e)return JSON.parse(e)}catch(n){}throw new Error("304 Not Modified (no cached body available)")}const r=await o.json();if(!o.ok){const e=new Error(r?.errors||"Loading is Failed. Please try again");throw e}try{sessionStorage.setItem(a,JSON.stringify(r))}catch(n){}return r},a="https://hiscigar.com/";function o(e,t){const s=null!=e?String(e).trim():"",i=t.toString().toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-");return s?`${s}-${i}`:i}},9098:function(e,t,s){function i(e,t){let s;return function(){let i=this,a=arguments;clearTimeout(s),s=setTimeout((()=>{e.apply(i,a)}),t)}}s.d(t,{A:function(){return i}})},4320:function(e,t,s){s.d(t,{A:function(){return w}});var i=s(641),a=s(33),o=s(3751);const r={class:"wrapper"},n={class:"text_block"},l={class:"accent_text"},c={class:"title"},d={class:"wrapper max-width"},u={class:"carousel-container",ref:"container"},p=["onClick"],g={class:"card-image"},m=["src","alt"],h={class:"card-caption"};function f(e,t,s,f,v,b){return(0,i.bo)(((0,i.uX)(),(0,i.CE)("section",{id:"couponRecommended",style:(0,a.Tr)({margin:s.margin||"50px 0"})},[(0,i.Lk)("div",r,[(0,i.Lk)("div",n,[(0,i.Lk)("h2",l,[(0,i.eW)((0,a.v_)(s.accent_text)+" ",1),t[4]||(t[4]=(0,i.Lk)("br",null,null,-1)),(0,i.Lk)("span",c,(0,a.v_)(s.title),1)])])]),(0,i.Lk)("div",d,[(0,i.Lk)("div",{class:"left arrow",onClick:t[0]||(t[0]=e=>b.slide("left"))},t[5]||(t[5]=[(0,i.Lk)("svg",{width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.Lk)("path",{d:"M9 1L1 9L9 17",stroke:"#6C3F13","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),(0,i.Lk)("div",{class:"carousel-wrapper",onMouseenter:t[1]||(t[1]=(...e)=>b.stopAutoSlide&&b.stopAutoSlide(...e)),onMouseleave:t[2]||(t[2]=(...e)=>b.startAutoSlide&&b.startAutoSlide(...e))},[(0,i.Lk)("div",u,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(b.couponsRecommendedList,(e=>((0,i.uX)(),(0,i.CE)("div",{key:e.id,class:"card",onClick:t=>b.redirectToDetail(e.click_url)},[(0,i.Lk)("div",g,[(0,i.Lk)("img",{src:e.image_url?.trim()||v.defaultImage,alt:e.name},null,8,m)]),(0,i.Lk)("div",h,(0,a.v_)(e.name),1)],8,p)))),128))],512)],32),(0,i.Lk)("div",{class:"right arrow",onClick:t[3]||(t[3]=e=>b.slide("right"))},t[6]||(t[6]=[(0,i.Lk)("svg",{width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.Lk)("path",{d:"M1 17L9 9L1 1",stroke:"#6C3F13","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]))])],4)),[[o.aG,b.couponsRecommendedList.length>0]])}var v=s(1031),b={props:{items:Array,accent_text:String,title:String,margin:String},data(){return{defaultImage:v,autoSlideInterval:null}},computed:{couponsRecommendedList(){const e=this.$store.getters.couponsRecommended;return e.length>=10?e:[...e,...e,...e,...e,...e,...e,...e,...e,...e].slice(0,10)}},created(){this.$store.dispatch("loadCouponsRecommended"),this.startAutoSlide()},beforeUnmount(){this.stopAutoSlide()},methods:{slide(e){const t=this.$refs.container,s=t.offsetWidth;"right"===e?(t.scrollBy({left:s,behavior:"smooth"}),t.scrollLeft+t.offsetWidth>=t.scrollWidth-10&&setTimeout((()=>t.scrollTo({left:0,behavior:"auto"})),500)):(t.scrollBy({left:-s,behavior:"smooth"}),t.scrollLeft<=0&&setTimeout((()=>t.scrollTo({left:t.scrollWidth,behavior:"auto"})),500))},startAutoSlide(){this.autoSlideInterval=setInterval((()=>this.slide("right")),7e3)},stopAutoSlide(){clearInterval(this.autoSlideInterval)},redirectToDetail(e){e?window.open(e,"_blank"):console.error("URL missing")}}},k=s(6262);const y=(0,k.A)(b,[["render",f],["__scopeId","data-v-8f6aaea6"]]);var w=y},4735:function(e,t,s){s.d(t,{A:function(){return p}});var i=s(641),a=s.p+"img/webp_b_footer_image.png.8417d3e3.webp",o=s(2246);const r=a,n={class:"bottom-image"};function l(e,t){return(0,i.uX)(),(0,i.CE)("section",n,t[0]||(t[0]=[(0,i.Lk)("div",{class:"wrapper flex_wrapper flex_between"},[(0,i.Lk)("div",{class:"image"},[(0,i.Lk)("picture",null,[(0,i.Lk)("source",{srcset:r,type:"image/webp"}),(0,i.Lk)("img",{src:o,alt:"image for page bottom",width:"781",height:"114",decoding:"async",loading:"lazy"})])])],-1)]))}var c=s(6262);const d={},u=(0,c.A)(d,[["render",l],["__scopeId","data-v-712e1b51"]]);var p=u},6553:function(e,t,s){s.d(t,{A:function(){return v}});var i=s(641),a=s(33);const o={id:"recommended"},r={class:"wrapper"},n={class:"text_block"},l={class:"accent_text"},c={class:"title"},d={class:"wrapper max-width"},u={class:"carousel-container",id:"container"};function p(e,t,s,p,g,m){const h=(0,i.g2)("product-preview");return(0,i.uX)(),(0,i.CE)("section",o,[(0,i.Lk)("div",r,[(0,i.Lk)("div",n,[(0,i.Lk)("h2",l,[(0,i.eW)((0,a.v_)(s.accent_text)+" ",1),t[2]||(t[2]=(0,i.Lk)("br",null,null,-1)),(0,i.Lk)("span",c,(0,a.v_)(s.title),1)])])]),(0,i.Lk)("div",d,[(0,i.Lk)("div",{class:"left arrow",onClick:t[0]||(t[0]=e=>m.slide("left"))},t[3]||(t[3]=[(0,i.Lk)("svg",{width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.Lk)("path",{d:"M9 1L1 9L9 17",stroke:"#6C3F13","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),(0,i.Lk)("div",u,[((0,i.uX)(!0),(0,i.CE)(i.FK,null,(0,i.pI)(s.items,(e=>((0,i.uX)(),(0,i.Wv)(h,{homePageFavorite:"",key:e.id,seller:e.seller,imageUrl:e.image_url,name:e.title,price:e.price,defaultProduct:s.defaultProduct,rating:e.rating,id:e.id,slug:e.slug,className:"no-flex",isFavorite:e.favorite,clickLink:e.click_link,link:e.link,handleFavorite:m.handleFavorite,class:"grid"},null,8,["seller","imageUrl","name","price","defaultProduct","rating","id","slug","isFavorite","clickLink","link","handleFavorite"])))),128))]),(0,i.Lk)("div",{class:"right arrow",onClick:t[1]||(t[1]=e=>m.slide("right"))},t[4]||(t[4]=[(0,i.Lk)("svg",{width:"10",height:"18",viewBox:"0 0 10 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,i.Lk)("path",{d:"M1 17L9 9L1 1",stroke:"#6C3F13","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]))])])}var g=s(9098),m={components:{ProductPreview:(0,i.$V)((()=>Promise.all([s.e(978),s.e(183),s.e(553)]).then(s.bind(s,6978))))},props:{items:Array,accent_text:String,title:String,productPageClass:Object,defaultProduct:Object},methods:{slide(e){const t=document.getElementById("container");let s=0;const i=setInterval((function(){"left"==e?t.scrollLeft-=33.33:t.scrollLeft+=33.33,s+=10,s>=100&&window.clearInterval(i)}),50)},handleFavorite:function({isFavorite:e,id:t}){e?this.removeFromWishlist(t):this.addToWishlistDebounce(t)},async addToWishlist(e){await this.$store.dispatch("addToWishlist",{id:e,updateAction:"updateHotSaleProducts"}),this.$store.dispatch("loadViewedProduct"),this.$store.dispatch("loadRecommendedProducts")},addToWishlistDebounce:(0,g.A)((function(e){this.addToWishlist(e)}),500),async removeFromWishlist(e){await this.$store.dispatch("removeFromWishlist",{id:e,updateAction:"updateHotSaleProducts"}),this.$store.dispatch("loadViewedProduct"),this.$store.dispatch("loadRecommendedProducts")}}},h=s(6262);const f=(0,h.A)(m,[["render",p],["__scopeId","data-v-d1123efa"]]);var v=f},60:function(e,t,s){s.d(t,{A:function(){return F}});var i=s(641),a=s(33),o=s(2246);const r={class:"wrapper flex_wrapper flex_between"},n={class:"image"},l={key:0},c=["innerHTML"],d={key:1,class:"small"},u=["innerHTML"],p={key:2},g=["innerHTML"],m={key:3},h=["innerHTML"],f={key:4},v=["innerHTML"],b={key:5},k=["innerHTML"],y={key:6,src:o,alt:"image for page bottom",decoding:"async",loading:"lazy"};function w(e,t,s,o,w,C){return(0,i.uX)(),(0,i.CE)("section",{class:(0,a.C4)(["ad-banner",[C.searchHeaderType?"small-horizontal":""]])},[(0,i.Lk)("div",r,[(0,i.Lk)("div",n,[C.adType&&!C.isMobileScreen?((0,i.uX)(),(0,i.CE)("div",l,[(0,i.Lk)("div",{innerHTML:C.bannerBody},null,8,c)])):C.smallType&&!C.isMobileScreen?((0,i.uX)(),(0,i.CE)("div",d,[(0,i.Lk)("div",{innerHTML:C.bannerBody},null,8,u)])):C.filterType&&!C.isMobileScreen?((0,i.uX)(),(0,i.CE)("div",p,[(0,i.Lk)("div",{innerHTML:C.bannerBody},null,8,g)])):C.searchHeaderType&&!C.isMobileScreen?((0,i.uX)(),(0,i.CE)("div",m,[(0,i.Lk)("div",{innerHTML:C.bannerBody},null,8,h)])):C.staticPageType&&!C.isMobileScreen?((0,i.uX)(),(0,i.CE)("div",f,[(0,i.Lk)("div",{innerHTML:C.bannerBody},null,8,v)])):C.mediumHorizontal&&!C.isMobileScreen?((0,i.uX)(),(0,i.CE)("div",b,[(0,i.Lk)("div",{innerHTML:C.bannerBody},null,8,k)])):((0,i.uX)(),(0,i.CE)("img",y))])])],2)}var C=s(7465),L={props:{type:{type:String,required:!0}},data(){return{body:null,screenWidth:0}},computed:{adType(){return"ad"===this.type},smallType(){return"small"===this.type},filterType(){return"filter"===this.type},searchHeaderType(){return"small-horizontal"===this.type},staticPageType(){return"static-page"===this.type},mediumHorizontal(){return"medium-horizontal"===this.type},bannerBody(){return this.body},isMobileScreen(){return this.screenWidth<=720}},async created(){const e=await this.loadBanner(this.bannerType(this.type));e&&(this.body=e),this.screenWidth=window.innerWidth},methods:{bannerType(e){let t="";switch(e){case"ad":t="horizontal_728x90";break;case"small":t="square_250x250";break;case"filter":t="vertical_160x600";break;case"static-page":t="vertical_300x600";break;case"small-horizontal":t="horizontal_300x50";break;case"medium-horizontal":t="horizontal_468x60";break}return t},async loadBanner(e){if(e){let t=`?ad_type=${e}`;const s=await fetch(`${C.baseUrl}api/v1/get_banner${t}`,{headers:{"Content-Type":"application/json"}}),i=await s.json();return s.ok?i?.banner?.body:null}}}},A=s(6262);const I=(0,A.A)(L,[["render",w],["__scopeId","data-v-cffbd164"]]);var F=I},4716:function(e,t,s){s.d(t,{A:function(){return k}});var i=s(641),a=s(33),o=s(3751);const r={class:"img-wrapper"},n=["srcset"],l=["src","alt"],c={class:"content"},d={class:"title"},u=["href"],p={class:"date"},g=["innerHTML"];function m(e,t,s,m,h,f){const v=(0,i.g2)("test-ads-banner");return f.condition?((0,i.uX)(),(0,i.CE)("div",{key:0,class:(0,a.C4)([s.otherBlock,"block"])},[(0,i.Lk)("div",{class:(0,a.C4)([[s.classOurBlog,s.classOurBlogOther],"blog-card hvr-box-shadow"]),onClick:t[1]||(t[1]=(...e)=>f.redirect&&f.redirect(...e))},[(0,i.Lk)("div",r,[(0,i.Lk)("picture",null,[(0,i.Lk)("source",{srcset:s.image.webp.url,type:"image/webp"},null,8,n),(0,i.Lk)("img",{src:s.image.medium.url,alt:s.title,decoding:"async",loading:"lazy"},null,8,l)])]),(0,i.Lk)("div",c,[(0,i.Lk)("div",d,[(0,i.Lk)("h2",null,[(0,i.Lk)("a",{href:f.blogUrl,onClick:t[0]||(t[0]=(0,o.D$)(((...e)=>f.redirect&&f.redirect(...e)),["prevent"]))},(0,a.v_)(s.title),9,u)])]),(0,i.Lk)("div",p,(0,a.v_)(f.formattedDate),1),(0,i.Lk)("div",{class:(0,a.C4)(["text",s.ourBlogText,h.isSafari?"safari-ellipsis":"ellipsis"]),innerHTML:f.text()},null,10,g)])],2),(0,i.bo)((0,i.Lk)("div",null,[(0,i.bF)(v,{type:"ad"})],512),[[o.aG,4===s.index]])],2)):(0,i.Q3)("",!0)}s(4114);var h=s(3495),f={props:{image:Object,title:String,created:String,body:String,id:Number,index:Number,ourBlogIndex:Number,classOurBlog:String,srtCount:Number,ourBlogIndexOther:Number,otherBlock:String,classOurBlogOther:String,ourBlogText:String,slug:String,currentPage:Number},data(){return{isSafari:!1}},computed:{formattedDate(){return(0,h.A)(new Date(this.created),"do MMM yyyy")},condition(){return this.ourBlogIndex<2||this.index>0||0===this.index||this.ourBlogIndexOther>1&&this.ourBlogIndexOther<5},blogUrl(){const e=this.slug?this.slug:this.id;return`/blog/${e}`}},created(){navigator.userAgent.toLowerCase().indexOf("safari")>-1&&(this.isSafari=!0)},methods:{text(){const e=this?.body.split(" ").slice(0,this.srtCount);return e.join(" ")+" <a class='link'>read more</a>"},redirect(){const e=this.slug?this.slug:this.id,t={...this.$route.query,page:this.currentPage};this.$router.push({path:`/blog/${e}`,query:t}).then((()=>{window.history.replaceState({page:this.currentPage},"",window.location.href),window.scrollTo({top:0,behavior:"smooth"})}))}}},v=s(6262);const b=(0,v.A)(f,[["render",m],["__scopeId","data-v-5e8a8f22"]]);var k=b},7313:function(e,t,s){s.d(t,{A:function(){return p}});var i=s(641),a=s(33);const o={class:"title-wrapper"},r={class:"title-heading"},n={key:0,class:"title detail-title"};function l(e,t,s,l,c,d){const u=(0,i.g2)("router-link");return(0,i.uX)(),(0,i.CE)("div",o,[(0,i.Lk)("h1",r,[(0,i.bF)(u,{to:s.linkTitle,class:"title"},{default:(0,i.k6)((()=>[(0,i.eW)((0,a.v_)(s.title),1)])),_:1},8,["to"])]),s.titleDetails?((0,i.uX)(),(0,i.CE)("span",n,(0,a.v_)(s.titleDetails.title),1)):(0,i.Q3)("",!0)])}var c={props:{title:{type:String,required:!0},linkTitle:{type:String},titleDetails:{type:Object},classDetails:{type:String}}},d=s(6262);const u=(0,d.A)(c,[["render",l],["__scopeId","data-v-26961a76"]]);var p=u},2793:function(e,t,s){s.d(t,{A:function(){return v}});var i=s(641),a=s(33),o=s(3751);const r={class:"img-wrapper"},n=["srcset"],l=["src","alt"],c={class:"content"},d={class:"date"},u={class:"title"};function p(e,t,s,p,g,m){const h=(0,i.g2)("test-ads-banner");return s.id?((0,i.uX)(),(0,i.CE)("div",{key:0,class:(0,a.C4)(["block",{column_item:s.isColumn,main_item:s.isMainColumn}])},[(0,i.Lk)("div",{class:"blog-card hvr-box-shadow",onClick:t[0]||(t[0]=(...e)=>m.redirect&&m.redirect(...e))},[(0,i.Lk)("div",r,[(0,i.Lk)("picture",null,[(0,i.Lk)("source",{srcset:s.image.webp.url,type:"image/webp"},null,8,n),(0,i.Lk)("img",{src:s.image.medium.url,alt:s.title,decoding:"async",loading:"lazy"},null,8,l)])]),(0,i.Lk)("div",c,[(0,i.Lk)("div",d,(0,a.v_)(m.formattedDate),1),(0,i.Lk)("div",u,[(0,i.Lk)("h2",null,(0,a.v_)(s.title),1)])])]),(0,i.bo)((0,i.Lk)("div",null,[(0,i.bF)(h,{type:"ad"})],512),[[o.aG,4===s.index]])],2)):(0,i.Q3)("",!0)}s(4114);var g=s(3495),m={props:{image:Object,title:String,created:String,id:Number,index:Number,slug:String,isColumn:Boolean,isMainColumn:Boolean},computed:{formattedDate(){return(0,g.A)(new Date(this.created),"do MMM yyyy")}},methods:{redirect(){const e=this.slug?this.slug:this.id;this.$router.push({path:`/news/${e}`})}}},h=s(6262);const f=(0,h.A)(m,[["render",p],["__scopeId","data-v-7f1b261e"]]);var v=f},9402:function(e,t,s){s.d(t,{A:function(){return u}});var i=s(641),a=s(33);const o={key:0,class:"header-slot"};function r(e,t,s,r,n,l){const c=(0,i.g2)("TheTitle");return(0,i.uX)(),(0,i.CE)("div",{id:"blog-wrapper",class:(0,a.C4)(["base-wrapper",{news:s.isNews}])},[(0,i.bF)(c,{title:s.title,linkTitle:s.linkTitle,titleDetails:s.titleDetails,classDetails:s.classDetails},null,8,["title","linkTitle","titleDetails","classDetails"]),e.$slots.header?((0,i.uX)(),(0,i.CE)("div",o,[(0,i.RG)(e.$slots,"header",{},void 0,!0)])):(0,i.Q3)("",!0),(0,i.Lk)("div",{class:(0,a.C4)(["body",{news:s.isNews}])},[(0,i.RG)(e.$slots,"default",{},void 0,!0)],2)],2)}var n=s(7313),l={props:{title:{type:String,required:!0},linkTitle:{type:String},titleDetails:{type:Object},classDetails:{type:String},isNews:{type:Boolean,default:!1}},components:{TheTitle:n.A}},c=s(6262);const d=(0,c.A)(l,[["render",r],["__scopeId","data-v-2a935c09"]]);var u=d},4542:function(e,t,s){s.d(t,{A:function(){return p}});var i=s(641);const a=["href"],o=["content"],r=["content"];function n(e,t,s,n,l,c){return(0,i.uX)(),(0,i.Wv)(i.Im,{to:"head"},[(0,i.Lk)("link",{rel:"canonical",href:c.canonicalUrl},null,8,a),(0,i.Lk)("meta",{name:"robots",content:c.robotsContent},null,8,o),(0,i.Lk)("meta",{name:"description",content:c.descriptionData},null,8,r)])}s(8992),s(4520);var l=s(7465),c={props:{titleProp:String,descriptionProp:String,pageType:String},data(){return{title:"",description:""}},computed:{canonicalUrl(){try{const e=window?.location?.origin||"https://cigarfinder.com",t=this.$route?.path||"/";return e+t}catch(e){return"https://cigarfinder.com/"}},robotsContent(){const e=this.$route?.path||"/",t=this.$route?.query||{};if("/search-results"===e)return"noindex,follow";if(e.startsWith("/categories/")){const e=Object.keys(t),s=e.filter((e=>"page"!==e));return s.length>0?"noindex,follow":"index,follow"}return"index,follow"},titleData(){return this.title||this.titleProp},descriptionData(){return this.description||this.descriptionProp}},async created(){this.pageType&&await this.loadMeta(),this.replaceMetaDescription()},methods:{async loadMeta(){const e=await fetch(`${l.baseUrl}api/v1/get_meta?page_type=${this.pageType}`,{headers:{"Content-Type":"application/json"}}),t=await e.json();e.ok&&(t?.meta?.title&&(this.title=t.meta.title),t?.meta?.description&&(this.description=t.meta.description))},replaceMetaDescription(){const e=document.querySelectorAll('meta[name="description"]');if(e.length>1)for(let t=0;t<e.length-1;t++)e[t].remove()}}},d=s(6262);const u=(0,d.A)(c,[["render",n]]);var p=u},8270:function(e,t,s){e.exports=s.p+"img/logo_0501.7850e871.svg"},1287:function(e,t,s){e.exports=s.p+"img/logo_1712.f5b212b8.svg"},1031:function(e,t,s){e.exports=s.p+"img/coupons.94caa1c2.svg"},2246:function(e,t,s){e.exports=s.p+"img/b_footer_image.d66e6675.png"},2761:function(e){e.exports="data:image/png;base64,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"}},t={};function s(i){var a=t[i];if(void 0!==a)return a.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,s),o.exports}s.m=e,function(){var e=[];s.O=function(t,i,a,o){if(!i){var r=1/0;for(d=0;d<e.length;d++){i=e[d][0],a=e[d][1],o=e[d][2];for(var n=!0,l=0;l<i.length;l++)(!1&o||r>=o)&&Object.keys(s.O).every((function(e){return s.O[e](i[l])}))?i.splice(l--,1):(n=!1,o<r&&(r=o));if(n){e.splice(d--,1);var c=a();void 0!==c&&(t=c)}}return t}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[i,a,o]}}(),function(){s.F={},s.E=function(e){Object.keys(s.F).map((function(t){s.F[t](e)}))}}(),function(){s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,{a:t}),t}}(),function(){s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}}(),function(){s.f={},s.e=function(e){return Promise.all(Object.keys(s.f).reduce((function(t,i){return s.f[i](e,t),t}),[]))}}(),function(){s.u=function(e){return"js/"+({398:"brand-page",401:"seo-pages",411:"product-pages",570:"static-pages",598:"brands-index",620:"article-pages",689:"profile-pages"}[e]||e)+"."+{47:"05cc63ef",88:"91112033",151:"5dafe8d9",183:"f86b73ff",206:"d2eaedeb",211:"dd718f6d",305:"e01244ad",371:"f8b75d18",398:"c23fe04f",401:"7ee94ed0",411:"efa76bc1",419:"f912f778",545:"af5bfe98",570:"dc83efeb",598:"db43ddca",613:"8c658157",617:"748ded84",620:"5e7c410c",689:"589255c8",705:"70328fc9",752:"fa13460d",765:"53de7292",777:"d5f7809b",792:"d05792a3",850:"5de703b0",917:"f08de739",973:"b9a72dc7",978:"75787ce8"}[e]+".js"}}(),function(){s.miniCssF=function(e){return"css/"+({398:"brand-page",401:"seo-pages",411:"product-pages",570:"static-pages",598:"brands-index",620:"article-pages",689:"profile-pages"}[e]||e)+"."+{88:"39fcab86",151:"ef18b9a0",206:"14b55f36",211:"064669e9",305:"fc527a1a",398:"6c0cc41d",401:"6f62fa76",411:"ea30c718",419:"3b778036",545:"0b065b34",553:"7565154b",570:"77d6fd09",598:"fcf87f03",613:"e80e8760",617:"5215aa90",620:"fb45473d",689:"bb60b1d3",705:"44c7dc28",752:"a6e141b5",765:"b3c8b41c",777:"6d3ba35d",792:"9cec53f9",850:"a5eb816a",917:"bb95b97a",973:"2d8e497b"}[e]+".css"}}(),function(){s.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="cigar-finder-frontend:";s.l=function(i,a,o,r){if(e[i])e[i].push(a);else{var n,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),d=0;d<c.length;d++){var u=c[d];if(u.getAttribute("src")==i||u.getAttribute("data-webpack")==t+o){n=u;break}}n||(l=!0,n=document.createElement("script"),n.charset="utf-8",n.timeout=120,s.nc&&n.setAttribute("nonce",s.nc),n.setAttribute("data-webpack",t+o),n.src=i),e[i]=[a];var p=function(t,s){n.onerror=n.onload=null,clearTimeout(g);var a=e[i];if(delete e[i],n.parentNode&&n.parentNode.removeChild(n),a&&a.forEach((function(e){return e(s)})),t)return t(s)},g=setTimeout(p.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=p.bind(null,n.onerror),n.onload=p.bind(null,n.onload),l&&document.head.appendChild(n)}}}(),function(){s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){s.p="/"}(),function(){if("undefined"!==typeof document){var e=function(e,t,i,a,o){var r=document.createElement("link");r.rel="stylesheet",r.type="text/css",s.nc&&(r.nonce=s.nc);var n=function(s){if(r.onerror=r.onload=null,"load"===s.type)a();else{var i=s&&s.type,n=s&&s.target&&s.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+i+": "+n+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=n,r.parentNode&&r.parentNode.removeChild(r),o(l)}};return r.onerror=r.onload=n,r.href=t,i?i.parentNode.insertBefore(r,i.nextSibling):document.head.appendChild(r),r},t=function(e,t){for(var s=document.getElementsByTagName("link"),i=0;i<s.length;i++){var a=s[i],o=a.getAttribute("data-href")||a.getAttribute("href");if("stylesheet"===a.rel&&(o===e||o===t))return a}var r=document.getElementsByTagName("style");for(i=0;i<r.length;i++){a=r[i],o=a.getAttribute("data-href");if(o===e||o===t)return a}},i=function(i){return new Promise((function(a,o){var r=s.miniCssF(i),n=s.p+r;if(t(r,n))return a();e(i,n,null,a,o)}))},a={524:0};s.f.miniCss=function(e,t){var s={88:1,151:1,206:1,211:1,305:1,398:1,401:1,411:1,419:1,545:1,553:1,570:1,598:1,613:1,617:1,620:1,689:1,705:1,752:1,765:1,777:1,792:1,850:1,917:1,973:1};a[e]?t.push(a[e]):0!==a[e]&&s[e]&&t.push(a[e]=i(e).then((function(){a[e]=0}),(function(t){throw delete a[e],t})))},s.F.miniCss=function(e){if((!s.o(a,e)||void 0===a[e])&&!/^(183|371|47|504|978)$/.test(e)){a[e]=null;var t=document.createElement("link");s.nc&&t.setAttribute("nonce",s.nc),t.rel="prefetch",t.as="style",t.href=s.p+s.miniCssF(e),document.head.appendChild(t)}}}}(),function(){var e={524:0};s.f.j=function(t,i){var a=s.o(e,t)?e[t]:void 0;if(0!==a)if(a)i.push(a[2]);else if(553!=t){var o=new Promise((function(s,i){a=e[t]=[s,i]}));i.push(a[2]=o);var r=s.p+s.u(t),n=new Error,l=function(i){if(s.o(e,t)&&(a=e[t],0!==a&&(e[t]=void 0),a)){var o=i&&("load"===i.type?"missing":i.type),r=i&&i.target&&i.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+r+")",n.name="ChunkLoadError",n.type=o,n.request=r,a[1](n)}};s.l(r,l,"chunk-"+t,t)}else e[t]=0},s.F.j=function(t){if((!s.o(e,t)||void 0===e[t])&&553!=t){e[t]=null;var i=document.createElement("link");s.nc&&i.setAttribute("nonce",s.nc),i.rel="prefetch",i.as="script",i.href=s.p+s.u(t),document.head.appendChild(i)}},s.O.j=function(t){return 0===e[t]};var t=function(t,i){var a,o,r=i[0],n=i[1],l=i[2],c=0;if(r.some((function(t){return 0!==e[t]}))){for(a in n)s.o(n,a)&&(s.m[a]=n[a]);if(l)var d=l(s)}for(t&&t(i);c<r.length;c++)o=r[c],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return s.O(d)},i=self["webpackChunkcigar_finder_frontend"]=self["webpackChunkcigar_finder_frontend"]||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))}(),function(){s.O(0,[524],(function(){[570,371,689,183,47,411,620,401].map(s.E)}),5)}();var i=s.O(void 0,[504],(function(){return s(4627)}));i=s.O(i)})();
//# sourceMappingURL=app.951bab30.js.map