@tiddh/brave-vue 1.93.217 → 1.93.218

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -270,23 +270,19 @@ t.productFormat=t.product.tagSpecs.productFormat)},methods:{addAlphaToColor:func
270
270
  // Remove the '#' character if present
271
271
  t=t.replace(/^#/,"");
272
272
  // Parse the hex color components
273
- var a=parseInt(t,16),i=a>>8&255,o=255&a;return"rgba(".concat(a>>16&255,", ").concat(i,", ").concat(o,", ").concat(e,")")},detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},changeBookItem:function(t){this.$emit("click",t)}}},"data-v-d43ead38",!1,void 0,!1,g,void 0,void 0)),S=(require("axios"),u({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.productImage?a("div",{staticClass:"image-box",class:[t.productType,t.productFormat]},["livro"===t.productType||"book"===t.productType?a("div",{staticClass:"placeholder"},["quadrado"===t.productFormat?a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/placeholder-a4.jpg",alt:""}}):t._e(),t._v(" "),"retangular"===t.productFormat?a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/placeholder-a4.jpg",alt:""}}):t._e()]):t._e(),t._v(" "),"poster"===t.productType?a("div",{staticClass:"placeholder"},[a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/placeholder-load-frame_a3-loading.jpg",alt:""}})]):t._e(),t._v(" "),"wallpaper"===t.productType?a("div",{staticClass:"placeholder"},[a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/product-type-wallpaper-loading.png",alt:""}})]):t._e(),t._v(" "),a("div",{staticClass:"lens"},["livro"===t.productType||"book"===t.productType?a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/book-cover-overlay.png",alt:""}}):t._e(),t._v(" "),"wallpaper"===t.productType?a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/product-type-wallpaper-wallpaper@2x.png",alt:""}}):t._e(),t._v(" "),"poster"===t.productType?a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/product-type-a3-frame-poster@2x.png",alt:""}}):t._e()]),t._v(" "),a("img",{staticClass:"lazy",attrs:{src:t.productImage}})]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-6886d92d_0",{source:'@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700,900&display=swap);@import url(https://fonts.googleapis.com/css?family=Roboto:400,600,700,900&display=swap);[data-v-6886d92d]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-6886d92d]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-6886d92d]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-6886d92d]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-6886d92d]{font-size:14px}}@media (min-width:1024px){[data-v-6886d92d]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-6886d92d]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-6886d92d]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-6886d92d]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-6886d92d]{font-size:1.56vw}}html[data-v-6886d92d]{box-sizing:border-box}*[data-v-6886d92d],[data-v-6886d92d]::after,[data-v-6886d92d]::before{box-sizing:border-box}.panel-book[data-v-6886d92d]{background-color:#fff;border-radius:.380952381rem;box-shadow:0 2px 8px rgba(104,89,110,.24);transition:all .3s;overflow:hidden}.panel-book[data-v-6886d92d]:hover{box-shadow:4px 16px 32px rgba(104,89,110,.24)}@media (max-width:479px){.panel-book[data-v-6886d92d]{border-radius:1.4953271028rem}}[data-v-6886d92d] .swiper-pagination-bullet-active{background:#923fda!important}.flex-box-column[data-v-6886d92d]{display:flex;flex-direction:column;width:100%}.flex-box-row[data-v-6886d92d]{display:flex;flex-direction:row;border-bottom:1px solid #dfdae4;flex-grow:1}@media (max-width:479px){.flex-box-row[data-v-6886d92d]{border-bottom:none}}.subscription-select[data-v-6886d92d]{position:relative;display:inline-block}.subscription-select:hover .menu-dropdown-parent[data-v-6886d92d]{display:block}.image-box[data-v-6886d92d]{width:100%;position:relative;border-radius:.1904761905rem;display:flex;background-size:cover}@media (max-width:479px){.image-box[data-v-6886d92d]{max-width:13.0841121495rem;top:-px-size("sm", 40px);border-radius:.3738317757rem;-webkit-border-radius:.3738317757rem}}.image-box img.lazy[data-v-6886d92d]{display:block;border-radius:.1904761905rem;-webkit-border-radius:.1904761905rem;width:8.4761904762rem;z-index:1;position:relative}@media (max-width:479px){.image-box img.lazy[data-v-6886d92d]{width:100%!important;border-radius:.3738317757rem;-webkit-border-radius:.3738317757rem}}.image-box .placeholder[data-v-6886d92d]{width:100%;height:100%;position:absolute;left:0;top:0;z-index:1}.image-box .placeholder img[data-v-6886d92d]{width:100%;height:100%;display:block;margin:0 auto}.image-box .lens[data-v-6886d92d]{position:absolute;left:0;top:0;z-index:2;width:100%;height:100%}.image-box .lens img[data-v-6886d92d]{width:100%;height:100%;display:block;margin:0 auto}.image-box.livro[data-v-6886d92d]{box-shadow:0 2px 8px rgba(104,89,110,.24);border-radius:.1904761905rem;overflow:hidden;max-width:8.4761904762rem;width:100%}.image-box.livro.retangular[data-v-6886d92d]{max-width:8.4761904762rem;width:100%}.image-box.livro.quadrado[data-v-6886d92d]{width:7.5714285714rem;margin-bottom:.7619047619rem;background-size:cover}@media (max-width:479px){.image-box.livro.quadrado[data-v-6886d92d]{width:13.0841121495rem!important}}.image-box.livro.quadrado img[data-v-6886d92d]{width:7.619047619rem}@media (max-width:479px){.image-box.livro.quadrado img[data-v-6886d92d]{width:100%!important}}.image-box.wallpaper[data-v-6886d92d]{position:relative;width:8.4761904762rem;min-height:12.3333333333rem;padding:0;padding-left:.8571428571rem;padding-right:.8571428571rem}@media (max-width:479px){.image-box.wallpaper[data-v-6886d92d]{width:16.6355140187rem;padding:0;padding-left:1.4953271028rem;padding-right:1.4953271028rem}}.image-box.wallpaper[data-v-6886d92d]::before{content:"";width:6.1428571429rem;height:10.7142857143rem;box-shadow:0 2px 8px rgba(104,89,110,.24);display:block;position:absolute;top:0;left:0;right:0;border-radius:.9523809524rem;z-index:1;margin:0 auto}.image-box.wallpaper .lazy[data-v-6886d92d]{margin:0 auto!important;width:100%!important;height:100%!important;border-radius:1.1428571429rem}.image-box.poster[data-v-6886d92d]{position:relative;width:8.4761904762rem;min-height:10.7142857143rem;padding:1.1428571429rem;border-radius:0}@media (max-width:479px){.image-box.poster[data-v-6886d92d]{width:16.6355140187rem;padding:1.4953271028rem}}.image-box.poster[data-v-6886d92d]::before{content:"";width:100%;height:100%;box-shadow:0 2px 8px rgba(104,89,110,.24);display:block;position:absolute;top:0;left:0;right:0;border-radius:0;z-index:1}.image-box.poster .lazy[data-v-6886d92d]{margin:0 auto!important;width:100%!important;height:100%!important;border-radius:0}.box-book[data-v-6886d92d]{z-index:2;position:relative;padding:1.1428571429rem}@media (max-width:479px){.box-book[data-v-6886d92d]{padding:2.2429906542rem;padding-bottom:0}}.box-book .box-flag[data-v-6886d92d]{width:100%;height:7.1428571429rem;background-color:#01dce0;position:absolute;left:0;top:0;border-radius:.380952381rem 0 3.3333333333rem 3.3333333333rem}@media (max-width:479px){.box-book .box-flag[data-v-6886d92d]{height:11.214953271rem;border-radius:0 0 14.0186915888rem 0;width:90%}}.flex-box-row-footer[data-v-6886d92d]{display:flex;align-items:center;flex-direction:row;padding:.7619047619rem 1.1428571429rem}@media (max-width:479px){.flex-box-row-footer[data-v-6886d92d]{padding:1.4953271028rem 2.2429906542rem;padding-bottom:2.2429906542rem;flex-wrap:wrap}}.button-box[data-v-6886d92d]{padding:.7619047619rem 1.1428571429rem;justify-content:right;text-align:right}@media (max-width:479px){.button-box[data-v-6886d92d]{padding:1.4953271028rem 2.2429906542rem;padding-bottom:0!important}}.payment-box[data-v-6886d92d]{display:flex;flex-grow:1}@media (max-width:479px){.payment-box[data-v-6886d92d]{flex-wrap:wrap;margin-bottom:1.4953271028rem}}.text-orange[data-v-6886d92d]{background-color:#feaf00}.text-green[data-v-6886d92d]{background-color:#00cf72}.payment-flag[data-v-6886d92d]{display:flex;border-radius:.1904761905rem;-webkit-border-radius:.1904761905rem;text-align:center;justify-content:center;align-items:center;padding:.380952381rem}.payment-flag[data-v-6886d92d] .caption{line-height:1}b[data-v-6886d92d]{font-weight:700!important}.hightlight-flag[data-v-6886d92d]{padding:.380952381rem;border-radius:.1904761905rem;background:#e1f3fe;font-family:Roboto,sans-serif;font-size:.5714285714rem;font-weight:900;line-height:1;text-transform:uppercase;color:#4965bc;display:flex;align-content:center;flex-wrap:wrap;align-items:center;margin-right:.380952381rem}.hightlight-flag div[data-v-6886d92d]{padding-top:2px}@media (max-width:479px){.hightlight-flag[data-v-6886d92d]{width:100%;margin-bottom:.7476635514rem;padding:.7476635514rem;font-size:1.1214953271rem;margin-right:0;border-radius:.3738317757rem}.hightlight-flag[data-v-6886d92d]:last-child{margin-bottom:0}}.hightlight-flag i[data-v-6886d92d]{margin-right:.1904761905rem}@media (max-width:479px){.hightlight-flag i[data-v-6886d92d]{margin-right:.3738317757rem}}',map:void 0,media:void 0})}),{name:"CoverProduct",components:{
273
+ var a=parseInt(t,16),i=a>>8&255,o=255&a;return"rgba(".concat(a>>16&255,", ").concat(i,", ").concat(o,", ").concat(e,")")},detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},changeBookItem:function(t){this.$emit("click",t)}}},"data-v-d43ead38",!1,void 0,!1,g,void 0,void 0)),S=(require("axios"),u({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.productImage?a("div",{staticClass:"image-box",class:[t.productType,t.productFormat]},["livro"===t.productType||"book"===t.productType?a("div",{staticClass:"placeholder"},["quadrado"===t.productFormat?a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/placeholder-a4.jpg",alt:""}}):t._e(),t._v(" "),"retangular"===t.productFormat?a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/placeholder-a4.jpg",alt:""}}):t._e()]):t._e(),t._v(" "),"poster"===t.productType?a("div",{staticClass:"placeholder"},[a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/placeholder-load-frame_a3-loading.jpg",alt:""}})]):t._e(),t._v(" "),"wallpaper"===t.productType?a("div",{staticClass:"placeholder"},[a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/product-type-wallpaper-loading.png",alt:""}})]):t._e(),t._v(" "),a("div",{staticClass:"lens"},["livro"===t.productType||"book"===t.productType?a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/book-cover-overlay.png",alt:""}}):t._e(),t._v(" "),"wallpaper"===t.productType?a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/product-type-wallpaper-wallpaper@2x.png",alt:""}}):t._e(),t._v(" "),"poster"===t.productType?a("img",{attrs:{src:"https://brave.dentrodahistoria.com.br/images/product-type-a3-frame-poster@2x.png",alt:""}}):t._e()]),t._v(" "),a("img",{staticClass:"lazy",attrs:{src:t.productImage}})]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-1ac798ea_0",{source:'@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700,900&display=swap);@import url(https://fonts.googleapis.com/css?family=Roboto:400,600,700,900&display=swap);[data-v-1ac798ea]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-1ac798ea]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-1ac798ea]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-1ac798ea]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-1ac798ea]{font-size:14px}}@media (min-width:1024px){[data-v-1ac798ea]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-1ac798ea]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-1ac798ea]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-1ac798ea]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-1ac798ea]{font-size:1.56vw}}html[data-v-1ac798ea]{box-sizing:border-box}*[data-v-1ac798ea],[data-v-1ac798ea]::after,[data-v-1ac798ea]::before{box-sizing:border-box}.panel-book[data-v-1ac798ea]{background-color:#fff;border-radius:.380952381rem;box-shadow:0 2px 8px rgba(104,89,110,.24);transition:all .3s;overflow:hidden}.panel-book[data-v-1ac798ea]:hover{box-shadow:4px 16px 32px rgba(104,89,110,.24)}@media (max-width:479px){.panel-book[data-v-1ac798ea]{border-radius:1.4953271028rem}}[data-v-1ac798ea] .swiper-pagination-bullet-active{background:#923fda!important}.flex-box-column[data-v-1ac798ea]{display:flex;flex-direction:column;width:100%}.flex-box-row[data-v-1ac798ea]{display:flex;flex-direction:row;border-bottom:1px solid #dfdae4;flex-grow:1}@media (max-width:479px){.flex-box-row[data-v-1ac798ea]{border-bottom:none}}.subscription-select[data-v-1ac798ea]{position:relative;display:inline-block}.subscription-select:hover .menu-dropdown-parent[data-v-1ac798ea]{display:block}.image-box[data-v-1ac798ea]{width:100%;position:relative;border-radius:.1904761905rem;display:flex;background-size:cover}@media (max-width:479px){.image-box[data-v-1ac798ea]{max-width:13.0841121495rem;top:-px-size("sm", 40px);border-radius:.3738317757rem;-webkit-border-radius:.3738317757rem}}.image-box img.lazy[data-v-1ac798ea]{display:block;border-radius:.1904761905rem;-webkit-border-radius:.1904761905rem;width:8.4761904762rem;z-index:1;position:relative}@media (max-width:479px){.image-box img.lazy[data-v-1ac798ea]{width:100%!important;border-radius:.3738317757rem;-webkit-border-radius:.3738317757rem}}.image-box .placeholder[data-v-1ac798ea]{width:100%;height:100%;position:absolute;left:0;top:0;z-index:1}.image-box .placeholder img[data-v-1ac798ea]{width:100%;height:100%;display:block;margin:0 auto}.image-box .lens[data-v-1ac798ea]{position:absolute;left:0;top:0;z-index:2;width:100%;height:100%}.image-box .lens img[data-v-1ac798ea]{width:100%;height:100%;display:block;margin:0 auto}.image-box.livro[data-v-1ac798ea]{box-shadow:0 2px 8px rgba(104,89,110,.24);border-radius:.1904761905rem;overflow:hidden;max-width:8.4761904762rem;width:100%}.image-box.livro.retangular[data-v-1ac798ea]{max-width:8.4761904762rem;width:100%}.image-box.livro.quadrado[data-v-1ac798ea]{width:7.5714285714rem;margin-bottom:.7619047619rem;background-size:cover}@media (max-width:479px){.image-box.livro.quadrado[data-v-1ac798ea]{width:13.0841121495rem!important}}.image-box.livro.quadrado img[data-v-1ac798ea]{width:7.619047619rem}@media (max-width:479px){.image-box.livro.quadrado img[data-v-1ac798ea]{width:100%!important}}.image-box.wallpaper[data-v-1ac798ea]{position:relative;width:8.4761904762rem;min-height:12.3333333333rem;padding:0;padding-left:.8571428571rem;padding-right:.8571428571rem}@media (max-width:479px){.image-box.wallpaper[data-v-1ac798ea]{width:16.6355140187rem;padding:0;padding-left:1.4953271028rem;padding-right:1.4953271028rem}}.image-box.wallpaper[data-v-1ac798ea]::before{content:"";width:6.1428571429rem;height:10.7142857143rem;box-shadow:0 2px 8px rgba(104,89,110,.24);display:block;position:absolute;top:0;left:0;right:0;border-radius:.9523809524rem;z-index:1;margin:0 auto}.image-box.wallpaper .lazy[data-v-1ac798ea]{margin:0 auto!important;width:100%!important;height:100%!important;border-radius:1.1428571429rem}.image-box.poster[data-v-1ac798ea]{position:relative;width:8.4761904762rem;min-height:10.7142857143rem;padding:1.1428571429rem;border-radius:0}@media (max-width:479px){.image-box.poster[data-v-1ac798ea]{width:16.6355140187rem;padding:1.4953271028rem}}.image-box.poster[data-v-1ac798ea]::before{content:"";width:100%;height:100%;box-shadow:0 2px 8px rgba(104,89,110,.24);display:block;position:absolute;top:0;left:0;right:0;border-radius:0;z-index:1}.image-box.poster .lazy[data-v-1ac798ea]{margin:0 auto!important;width:100%!important;height:100%!important;border-radius:0}.box-book[data-v-1ac798ea]{z-index:2;position:relative;padding:1.1428571429rem}@media (max-width:479px){.box-book[data-v-1ac798ea]{padding:2.2429906542rem;padding-bottom:0}}.box-book .box-flag[data-v-1ac798ea]{width:100%;height:7.1428571429rem;background-color:#01dce0;position:absolute;left:0;top:0;border-radius:.380952381rem 0 3.3333333333rem 3.3333333333rem}@media (max-width:479px){.box-book .box-flag[data-v-1ac798ea]{height:11.214953271rem;border-radius:0 0 14.0186915888rem 0;width:90%}}.flex-box-row-footer[data-v-1ac798ea]{display:flex;align-items:center;flex-direction:row;padding:.7619047619rem 1.1428571429rem}@media (max-width:479px){.flex-box-row-footer[data-v-1ac798ea]{padding:1.4953271028rem 2.2429906542rem;padding-bottom:2.2429906542rem;flex-wrap:wrap}}.button-box[data-v-1ac798ea]{padding:.7619047619rem 1.1428571429rem;justify-content:right;text-align:right}@media (max-width:479px){.button-box[data-v-1ac798ea]{padding:1.4953271028rem 2.2429906542rem;padding-bottom:0!important}}.payment-box[data-v-1ac798ea]{display:flex;flex-grow:1}@media (max-width:479px){.payment-box[data-v-1ac798ea]{flex-wrap:wrap;margin-bottom:1.4953271028rem}}.text-orange[data-v-1ac798ea]{background-color:#feaf00}.text-green[data-v-1ac798ea]{background-color:#00cf72}.payment-flag[data-v-1ac798ea]{display:flex;border-radius:.1904761905rem;-webkit-border-radius:.1904761905rem;text-align:center;justify-content:center;align-items:center;padding:.380952381rem}.payment-flag[data-v-1ac798ea] .caption{line-height:1}b[data-v-1ac798ea]{font-weight:700!important}.hightlight-flag[data-v-1ac798ea]{padding:.380952381rem;border-radius:.1904761905rem;background:#e1f3fe;font-family:Roboto,sans-serif;font-size:.5714285714rem;font-weight:900;line-height:1;text-transform:uppercase;color:#4965bc;display:flex;align-content:center;flex-wrap:wrap;align-items:center;margin-right:.380952381rem}.hightlight-flag div[data-v-1ac798ea]{padding-top:2px}@media (max-width:479px){.hightlight-flag[data-v-1ac798ea]{width:100%;margin-bottom:.7476635514rem;padding:.7476635514rem;font-size:1.1214953271rem;margin-right:0;border-radius:.3738317757rem}.hightlight-flag[data-v-1ac798ea]:last-child{margin-bottom:0}}.hightlight-flag i[data-v-1ac798ea]{margin-right:.1904761905rem}@media (max-width:479px){.hightlight-flag i[data-v-1ac798ea]{margin-right:.3738317757rem}}',map:void 0,media:void 0})}),{name:"CoverProduct",components:{
274
274
  //Logo,
275
- Heading:z,Paragraph:C,Button:x,Icon:w},computed:{},directives:{},props:{uuid:{type:String,required:!0},type:{type:String,required:!0},format:{type:String,required:!0}},data:function(){return{gridView:!0,observer:null,isMobile:!1,productColor:"rgb(23, 184, 188)",productImage:"",productType:"livro",productFormat:"retangular"}},mounted:function(){var t=this;t.isMobile=t.detectSize(),window.addEventListener("resize",(function(e){t.isMobile=t.detectSize()})),
275
+ Heading:z,Paragraph:C,Button:x,Icon:w},computed:{},directives:{},props:{uuid:{type:String,required:!0},type:{type:String,required:!0},format:{type:String,required:!0},coverUrl:{type:String,required:!0}},data:function(){return{gridView:!0,observer:null,isMobile:!1,productColor:"rgb(23, 184, 188)",productImage:"",productType:"livro",productFormat:"retangular"}},mounted:function(){var t=this;t.isMobile=t.detectSize(),window.addEventListener("resize",(function(e){t.isMobile=t.detectSize()})),
276
276
  // 1 - Detectar se o produto tem cor
277
277
  // if (self.product.color) {
278
278
  // self.productColor = self.product.color;
279
279
  // }
280
280
  // 2 - Detectar objeto da imagem e aplicar
281
281
  t.uuid&&(t.productImage="https://builder.dentrodahistoria.com.br/api/builder/getpreview/"+t.uuid+"?page=1&w=300&v=0&noCache=true"),
282
- // if (
283
- // self.product.productDisplayDetails &&
284
- // self.product.productDisplayDetails.coverImage
285
- // ) {
286
- // self.productImage = self.product.productDisplayDetails.coverImage;
287
- // }
282
+ // Detectar mochila
283
+ t.coverUrl&&(t.productImage=t.coverUrl),
288
284
  // 3 - Detectar o tipo de produto
289
- t.type&&(t.productType=t.type),t.format&&(t.productFormat=t.format)},methods:{detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},changeBookItem:function(t){this.$emit("click",t)}}},"data-v-6886d92d",!1,void 0,!1,g,void 0,void 0)),P=u({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"checkbox-group",class:[{active:t.active},"size-"+t.size],on:{click:function(e){return t.onActive()}}},"div",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"checkbox-indicator-group"},[a("div",{staticClass:"checkbox"},[a("svg",{attrs:{height:"24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M5.3232 12.8392C4.89227 12.4147 4.89227 11.7266 5.3232 11.3021C5.75414 10.8777 6.45282 10.8777 6.88375 11.3021L10.7851 15.1447C11.2161 15.5691 11.2161 16.2572 10.7851 16.6817C10.3542 17.1061 9.65551 17.1061 9.22458 16.6817L5.3232 12.8392Z"}}),t._v(" "),a("path",{attrs:{d:"M16.1162 8.31832C16.5472 7.89389 17.2459 7.89389 17.6768 8.31833C18.1077 8.74276 18.1077 9.4309 17.6768 9.85533L10.7459 16.6817C10.315 17.1061 9.61629 17.1061 9.18535 16.6817C8.75442 16.2572 8.75442 15.5691 9.18535 15.1447L16.1162 8.31832Z"}})])])]),t._v(" "),t.label?a("span",{staticClass:"label",style:{color:t.labelColor},domProps:{innerHTML:t._s(t.label)}}):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-66cbe1ee_0",{source:'@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700,900&display=swap);@import url(https://fonts.googleapis.com/css?family=Roboto:400,600,700,900&display=swap);[data-v-66cbe1ee]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-66cbe1ee]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-66cbe1ee]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-66cbe1ee]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-66cbe1ee]{font-size:14px}}@media (min-width:1024px){[data-v-66cbe1ee]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-66cbe1ee]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-66cbe1ee]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-66cbe1ee]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-66cbe1ee]{font-size:1.56vw}}html[data-v-66cbe1ee]{box-sizing:border-box}*[data-v-66cbe1ee],[data-v-66cbe1ee]::after,[data-v-66cbe1ee]::before{box-sizing:border-box}.checkbox-group[data-v-66cbe1ee]{transition:all .3s;display:inline-flex;flex-direction:row;align-items:center}.checkbox-group[data-v-66cbe1ee]:hover{cursor:pointer}.checkbox-group:hover .checkbox[data-v-66cbe1ee]{border-color:#12d3db}.checkbox-group:hover .checkbox path[data-v-66cbe1ee]{fill:#12d3db}.checkbox-group.active .checkbox[data-v-66cbe1ee]{border-color:#12d3db;background:#12d3db}.checkbox-group.active .checkbox path[data-v-66cbe1ee]{fill:#fff}.checkbox-group.size-lg .checkbox svg[data-v-66cbe1ee]{transform:scale(.9)}.checkbox-group.size-lg .label[data-v-66cbe1ee]{font-size:1.1428571429rem}@media (max-width:479px){.checkbox-group.size-lg .label[data-v-66cbe1ee]{font-size:1.308411215rem}}.checkbox-group.size-sm .checkbox svg[data-v-66cbe1ee]{transform:scale(.7)}.checkbox-group.size-sm .label[data-v-66cbe1ee]{font-size:.7619047619rem}@media (max-width:479px){.checkbox-group.size-sm .label[data-v-66cbe1ee]{font-size:1.308411215rem}}.checkbox-group .checkbox[data-v-66cbe1ee]{display:flex;align-items:center;justify-content:center;border:2px solid #dfdae4;border-radius:8px;margin-right:.1904761905rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.checkbox-group .checkbox[data-v-66cbe1ee]{margin-right:.7476635514rem}}.checkbox-group .checkbox path[data-v-66cbe1ee]{fill:#dfdae4}.checkbox-group .label[data-v-66cbe1ee]{font-family:Roboto,sans-serif;color:#68596e;line-height:1.5;font-size:.7619047619rem;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.checkbox-group .label[data-v-66cbe1ee]{font-size:1.308411215rem}}',map:void 0,media:void 0})}),{name:"Checkbox",components:{Icon:w},props:{
285
+ t.type&&(t.productType=t.type),t.format&&(t.productFormat=t.format)},methods:{detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},changeBookItem:function(t){this.$emit("click",t)}}},"data-v-1ac798ea",!1,void 0,!1,g,void 0,void 0)),P=u({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"checkbox-group",class:[{active:t.active},"size-"+t.size],on:{click:function(e){return t.onActive()}}},"div",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"checkbox-indicator-group"},[a("div",{staticClass:"checkbox"},[a("svg",{attrs:{height:"24",width:"24",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M5.3232 12.8392C4.89227 12.4147 4.89227 11.7266 5.3232 11.3021C5.75414 10.8777 6.45282 10.8777 6.88375 11.3021L10.7851 15.1447C11.2161 15.5691 11.2161 16.2572 10.7851 16.6817C10.3542 17.1061 9.65551 17.1061 9.22458 16.6817L5.3232 12.8392Z"}}),t._v(" "),a("path",{attrs:{d:"M16.1162 8.31832C16.5472 7.89389 17.2459 7.89389 17.6768 8.31833C18.1077 8.74276 18.1077 9.4309 17.6768 9.85533L10.7459 16.6817C10.315 17.1061 9.61629 17.1061 9.18535 16.6817C8.75442 16.2572 8.75442 15.5691 9.18535 15.1447L16.1162 8.31832Z"}})])])]),t._v(" "),t.label?a("span",{staticClass:"label",style:{color:t.labelColor},domProps:{innerHTML:t._s(t.label)}}):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-66cbe1ee_0",{source:'@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Nunito:400,600,700,900&display=swap);@import url(https://fonts.googleapis.com/css?family=Roboto:400,600,700,900&display=swap);[data-v-66cbe1ee]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-66cbe1ee]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-66cbe1ee]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-66cbe1ee]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-66cbe1ee]{font-size:14px}}@media (min-width:1024px){[data-v-66cbe1ee]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-66cbe1ee]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-66cbe1ee]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-66cbe1ee]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-66cbe1ee]{font-size:1.56vw}}html[data-v-66cbe1ee]{box-sizing:border-box}*[data-v-66cbe1ee],[data-v-66cbe1ee]::after,[data-v-66cbe1ee]::before{box-sizing:border-box}.checkbox-group[data-v-66cbe1ee]{transition:all .3s;display:inline-flex;flex-direction:row;align-items:center}.checkbox-group[data-v-66cbe1ee]:hover{cursor:pointer}.checkbox-group:hover .checkbox[data-v-66cbe1ee]{border-color:#12d3db}.checkbox-group:hover .checkbox path[data-v-66cbe1ee]{fill:#12d3db}.checkbox-group.active .checkbox[data-v-66cbe1ee]{border-color:#12d3db;background:#12d3db}.checkbox-group.active .checkbox path[data-v-66cbe1ee]{fill:#fff}.checkbox-group.size-lg .checkbox svg[data-v-66cbe1ee]{transform:scale(.9)}.checkbox-group.size-lg .label[data-v-66cbe1ee]{font-size:1.1428571429rem}@media (max-width:479px){.checkbox-group.size-lg .label[data-v-66cbe1ee]{font-size:1.308411215rem}}.checkbox-group.size-sm .checkbox svg[data-v-66cbe1ee]{transform:scale(.7)}.checkbox-group.size-sm .label[data-v-66cbe1ee]{font-size:.7619047619rem}@media (max-width:479px){.checkbox-group.size-sm .label[data-v-66cbe1ee]{font-size:1.308411215rem}}.checkbox-group .checkbox[data-v-66cbe1ee]{display:flex;align-items:center;justify-content:center;border:2px solid #dfdae4;border-radius:8px;margin-right:.1904761905rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.checkbox-group .checkbox[data-v-66cbe1ee]{margin-right:.7476635514rem}}.checkbox-group .checkbox path[data-v-66cbe1ee]{fill:#dfdae4}.checkbox-group .label[data-v-66cbe1ee]{font-family:Roboto,sans-serif;color:#68596e;line-height:1.5;font-size:.7619047619rem;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.checkbox-group .label[data-v-66cbe1ee]{font-size:1.308411215rem}}',map:void 0,media:void 0})}),{name:"Checkbox",components:{Icon:w},props:{
290
286
  /**
291
287
  * Nome do campo, utilizado no callback do evento<br>
292
288
  * Example: `Name`