@tiddh/brave-vue 1.9.21 → 1.9.24

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.
@@ -1,4 +1,4 @@
1
- import"core-js/modules/es.array.for-each";import"core-js/modules/es.object.entries";import"core-js/modules/web.dom-collections.for-each";import"core-js/modules/es.function.name";import"core-js/modules/es.number.constructor";import"core-js/modules/es.array.concat";import"core-js/modules/es.array.filter";import"core-js/modules/es.array.find";import"core-js/modules/es.array.includes";import"core-js/modules/es.array.index-of";import"core-js/modules/es.array.splice";import"core-js/modules/es.string.includes";import"regenerator-runtime/runtime";import t from"array-sort";import"core-js/modules/es.array.from";import"core-js/modules/es.string.iterator";import"core-js/modules/es.array.fill";import"core-js/modules/es.regexp.exec";import"core-js/modules/es.string.replace";import e from"v-lazy-image";import"core-js/modules/es.string.link";import a from"card-validator";import{mask as i}from"vue-the-mask";import o from"axios";import r from"v-click-outside";import"core-js/modules/es.object.to-string";import"core-js/modules/es.regexp.to-string";import{ScrollPicker as d,ScrollPickerGroup as n}from"vue-scroll-picker";import"vue-scroll-picker/dist/style.css";import s from"jquery";import"core-js/modules/es.array.join";import"core-js/modules/es.array.slice";import"core-js/modules/es.string.split";import l from"vue-slick-carousel";import"vue-slick-carousel/dist/vue-slick-carousel.css";import c from"vue";import"core-js/modules/es.symbol";import"core-js/modules/es.symbol.description";function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=new Array(e);a<e;a++)i[a]=t[a];return i}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var a=[],i=!0,o=!1,r=void 0;try{for(var d,n=t[Symbol.iterator]();!(i=(d=n.next()).done)&&(a.push(d.value),!e||a.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(o)throw r}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?p(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e,a,i,o,r,d){try{var n=t[r](d),s=n.value}catch(t){return void a(t)}n.done?e(s):Promise.resolve(s).then(i,o)}function u(t){return function(){var e=this,a=arguments;return new Promise((function(i,o){var r=t.apply(e,a);function d(t){h(r,i,o,d,n,"next",t)}function n(t){h(r,i,o,d,n,"throw",t)}d(void 0)}))}}
1
+ import"core-js/modules/es.array.for-each";import"core-js/modules/es.object.entries";import"core-js/modules/web.dom-collections.for-each";import"core-js/modules/es.function.name";import"core-js/modules/es.number.constructor";import"core-js/modules/es.array.concat";import"core-js/modules/es.array.filter";import"core-js/modules/es.array.find";import"core-js/modules/es.array.includes";import"core-js/modules/es.array.index-of";import"core-js/modules/es.array.splice";import"core-js/modules/es.string.includes";import"regenerator-runtime/runtime";import t from"array-sort";import"core-js/modules/es.array.from";import"core-js/modules/es.string.iterator";import"core-js/modules/es.array.fill";import"core-js/modules/es.regexp.exec";import"core-js/modules/es.string.replace";import e from"v-lazy-image";import"core-js/modules/es.string.link";import a from"card-validator";import{mask as i}from"vue-the-mask";import o from"axios";import r from"v-click-outside";import"core-js/modules/es.object.to-string";import"core-js/modules/es.regexp.to-string";import{ScrollPicker as d,ScrollPickerGroup as n}from"vue-scroll-picker";import"vue-scroll-picker/dist/style.css";import s from"jquery";import"core-js/modules/es.array.join";import"core-js/modules/es.array.slice";import"core-js/modules/es.string.split";import l from"vue-slick-carousel";import"vue-slick-carousel/dist/vue-slick-carousel.css";import"core-js/modules/es.object.keys";import c from"vue";import"core-js/modules/es.symbol";import"core-js/modules/es.symbol.description";function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=new Array(e);a<e;a++)i[a]=t[a];return i}function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var a=[],i=!0,o=!1,r=void 0;try{for(var d,n=t[Symbol.iterator]();!(i=(d=n.next()).done)&&(a.push(d.value),!e||a.length!==e);i=!0);}catch(t){o=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(o)throw r}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?p(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e,a,i,o,r,d){try{var n=t[r](d),s=n.value}catch(t){return void a(t)}n.done?e(s):Promise.resolve(s).then(i,o)}function h(t){return function(){var e=this,a=arguments;return new Promise((function(i,o){var r=t.apply(e,a);function d(t){u(r,i,o,d,n,"next",t)}function n(t){u(r,i,o,d,n,"throw",t)}d(void 0)}))}}
2
2
 
3
3
 
4
4
 
@@ -75,12 +75,12 @@ color:{type:String,default:"#68596E"},
75
75
  * Type of font<br>
76
76
  * Example: `Regular | Bold`
77
77
  **/
78
- type:{type:String,default:"regular"}},data:function(){return{}}},"data-v-494fbeae",!1,void 0,!1,b,void 0,void 0),k=require("axios"),_=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"customization-panel"},[a("div",{staticClass:"overlay-opacity"}),t._v(" "),a("div",{staticClass:"customization-panel-head"},[a("div",{staticClass:"customization-panel-heading"},[t._v("\n\t\t\t\tEditar o personagem "+t._s(t.characterIsMale?"do":"da")+"\n\t\t\t\t"),a("b",[t._v(t._s(t.characterName))])]),t._v(" "),a("div",{staticClass:"customization-categories"},[t._l(t.categoriesAssets.categories,(function(e){return a("a",{key:e.key,ref:e.code,refInFor:!0,staticClass:"customization-categories-item",class:[{"is-selected":e===t.selectedCategory,"is-disabled":t.isCategoryDisabled(e)},"category-"+e.code],attrs:{id:e.code},on:{click:function(a){return t.handleSelectCategory(e)}}},[e.assets.icon?a("img",{staticClass:"customization-categories-item-icon",attrs:{src:e.assets.icon}}):a("span",{staticClass:"customization-categories-item-icon customization-categories-item-icon-placeholder"}),t._v(" "),a("Caption",{staticClass:"customization-categories-item-label",attrs:{color:"#AFA2BA"}},[t._v("\n\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t")])],1)})),t._v(" "),t._l(t.categoriesAssets.groups,(function(e){return a("a",{key:e.key,ref:e.code,refInFor:!0,staticClass:"customization-categories-item",class:[{"is-selected":e===t.selectedGroup},"category-"+e.code],on:{click:function(a){return t.handleSelectGroup(e)}}},[e.assets.icon?a("img",{staticClass:"customization-categories-item-icon",attrs:{src:e.assets.icon}}):a("span",{staticClass:"customization-categories-item-icon customization-categories-item-icon-placeholder"}),t._v(" "),a("Caption",{staticClass:"customization-categories-item-label",attrs:{color:"#AFA2BA"}},[t._v("\n\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t")])],1)}))],2)]),t._v(" "),a("div",{staticClass:"customization-panel-body",attrs:{id:"customization-panel-body"}},[t._l(t.visibleCategoriesCustomizations,(function(e){return a("CategoryCustomizations",{directives:[{name:"show",rawName:"v-show",value:t.selectedCategory,expression:"selectedCategory"}],key:e.id,attrs:{title:e.subtitle,category:e,categoryId:e.id,customization:t.getCustomizationByCategoryId(e.id),relatedCustomization:t.getCustomizationByCategoryId(e.depends_category),disabledCategories:t.disabledCategories,removableCategory:!e.required},on:{"update:customization":t.handleUpdateCustomization}})})),t._v(" "),t._l(t.categoriesAssets.groups,(function(e){return a("CategoryCustomizations",{directives:[{name:"show",rawName:"v-show",value:t.selectedGroup,expression:"selectedGroup"}],key:e.id,attrs:{title:e.subtitle,category:e,categoryId:e.id,customization:t.getCustomizationByCategoryId(e.assets.subcategories[0].parent_id),removableCategory:!e.required,customizations:t.customizations},on:{"update:customization":t.handleUpdateCustomization}})}))],2),t._v(" "),a("div",{staticClass:"helper"},[a("div",{ref:"error",staticClass:"error",domProps:{innerHTML:t._s(t.error)}}),t._v(" "),a("div",{staticClass:"btn-avatar",on:{click:t.generateAvatar}},[a("div",{staticClass:"btn-avatar-preload"},[t._v("\n\t\t\t\t\tCONTINUAR\n\t\t\t\t\t"),a("div",{staticClass:"icon icon-check"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"}},[a("path",{attrs:{fill:"#000","fill-rule":"evenodd",d:"M22.65 17.828a1.996 1.996 0 0 1-.579 1.586l-5.657 5.657a2 2 0 0 1-2.828-2.828L18 17.828l-4.414-4.414a2 2 0 0 1 2.828-2.828l5.657 5.657c.434.434.627 1.018.579 1.585z"}})])])]),t._v(" "),a("div",{staticClass:"btn-avatar-loading"},[a("span",{staticClass:"btn-avatar-loading-content",domProps:{innerHTML:t._s(t.loadingContent)}}),t._v(" "),a("span",{staticClass:"btn-avatar-loading-icon"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"}},[a("path",{attrs:{fill:"#000","fill-rule":"evenodd",d:"M26.383 12.728c-.433-.47-.986-.727-1.48-.728-.293 0-.569.092-.776.29l-2.306 2.179v-.002l-3.136 2.963c-.055.052-.093.109-.13.16l-3.008 2.841-3.545-3.855c-.217-.235-.526-.347-.858-.347-.47 0-.992.217-1.424.625-.465.44-.719 1-.72 1.5 0 .298.092.576.287.788l3.25 3.533 1.823 1.981c.214.235.52.344.85.344.147 0 .295-.021.448-.061l.085.002c.292.001.566-.087.776-.284l5.44-5.14c.054-.052.094-.11.13-.162l4.567-4.315c.234-.22.344-.532.344-.87 0-.474-.215-1.002-.617-1.442z"}})])])])])])])},staticRenderFns:[]},(function(t){t&&t("data-v-3aa59b62_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.postingCharacter{height:100vh}.customization-panel-heading b{font-weight:400;color:#923fda;text-transform:capitalize}.customization-panel{z-index:100;position:fixed;width:520px;height:100%;top:0;right:0;background:#f8f7fc;border-left:1px solid #dfdae4;transition:all .3s;overflow:hidden}@media (max-width:992px){.customization-panel{width:100%;bottom:0;top:unset;min-height:180px;height:auto}}.customization-panel-head{background:#fff;border-bottom:1px solid #f0ebf5;box-shadow:0 10px 26px 0 #d7d1ef;position:relative;z-index:150}@media (max-width:992px){.customization-panel-head{box-shadow:0 0 26px 0 #d7d1ef}}.customization-panel-heading{height:80px;max-width:100%;line-height:80px;text-align:center;font-family:Roboto,sans-serif;color:#afa2ba;background:#fff;border-bottom:1px solid #dfdae4;font-size:16px}@media (max-width:992px){.customization-panel-heading{display:none}}.customization-panel-body{height:70%;scroll-behavior:smooth;padding-bottom:70px;z-index:20;overflow-y:auto;position:relative}.customization-panel-body::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}.customization-panel-body::-webkit-scrollbar{width:7px;background-color:transparent}.customization-panel-body::-webkit-scrollbar-thumb{border-radius:20px;background-color:#e4e4e4}@media (max-width:992px){.customization-panel-body{padding-bottom:0;z-index:0}}.customization-panel .helper{position:absolute;bottom:0;width:100%;background:#fff;border-top:1px solid #dfdae4;box-shadow:0 0 26px 0 #d7d1ef;padding:.7619047619rem 1.1428571429rem;display:flex;align-items:center;justify-content:center;z-index:999}@media (max-width:992px){.customization-panel .helper{display:none;z-index:0}}.customization-panel .helper .error{background:red;width:100%;color:#fff;font-family:Roboto,sans-serif;font-size:14px;padding:15px 0;text-align:center;text-transform:uppercase;position:absolute;transition:all .3s;top:-45px;opacity:0}.btn-avatar{width:100%;height:65px;font-family:Nunito;font-weight:900;padding:0!important;background:#12d3db;background-size:200%;background-position-x:99%;box-shadow:0 .2381rem .95238rem 0 #89e6e8;border-radius:1.90476rem;color:#fff;transition:all .2s cubic-bezier(.4,0,.2,1);border:0;font-size:14px;letter-spacing:.0381rem;line-height:1.2rem;position:relative;display:flex;align-items:center;justify-content:center}.btn-avatar:hover{box-shadow:0 .2381rem .95238rem 0 #89e6e8;-webkit-transform:translateY(-.09524rem);transform:translateY(-.09524rem);cursor:pointer;background-position-x:0;-webkit-transform:translateY(-.14286rem);transform:translateY(-.14286rem);color:#fff}.btn-avatar:active,.btn-avatar:focus{outline:0;box-shadow:0 0 0 #89e6e8;background-position-x:0;-webkit-transform:translateY(.14286rem) scale(.97);transform:translateY(.14286rem) scale(.97)}.btn-avatar .icon{position:absolute;display:flex;justify-content:center;align-items:center;right:0;top:0;margin:15px!important}.btn-avatar .icon path,.btn-avatar .icon svg{fill:#fff;stroke:#fff}@media (max-width:992px){.btn-avatar{display:none!important}}.btn-avatar-mobile{display:none!important}@media (max-width:992px){.btn-avatar-mobile{display:flex!important;width:150px;height:40px;box-shadow:none;font-size:12px;float:right;line-height:1;position:fixed;right:0;top:10px;z-index:200;border-radius:100px;margin-right:.7619047619rem}.btn-avatar-mobile .icon{display:none}}.customization-categories{display:flex;align-items:center;align-content:center;padding:.7619047619rem .7619047619rem}@media (max-width:992px){.customization-categories{padding:0}}.customization-categories .category-vestuario{display:none!important}.customization-categories-item{position:relative;font-size:inherit;flex-basis:0;flex-grow:1;max-width:100%;height:100%;text-align:center}.customization-categories-item:hover{cursor:pointer}.customization-categories-item:hover .customization-categories-item-label{color:#12d3db!important}@media (max-width:992px){.customization-categories-item{height:50px;display:flex;justify-content:center;align-items:center;border:0}}.customization-categories-item-icon{height:52px;width:52px;display:block;border-radius:30px;margin:auto}.customization-categories-item-icon-placeholder{background-color:#dfdae4;border-radius:2px}@media (max-width:992px){.customization-categories-item-icon{display:none}}.customization-categories-item-label{font-weight:400;display:block;font-size:12px;color:#000;text-transform:capitalize!important;font-family:Roboto;padding-top:.380952381rem}@media (max-width:992px){.customization-categories-item-label{margin:0}}.customization-categories-item:first-child{border-left:none}.customization-categories-item.is-selected .customization-categories-item-label{color:#12d3db!important}@media (max-width:992px){.customization-categories-item.is-selected:after{content:"";position:absolute;left:0;bottom:-2px;width:100%;height:3px;background:#12d3db}}@media (max-width:992px) and (max-width:992px){.customization-categories-item.is-selected:after{bottom:0}}.customization-categories-item.is-disabled{opacity:.6}.btn-avatar-reduced{background:#2dd4d9!important;width:65px!important;cursor:wait}@media (max-width:479px){.btn-avatar-reduced{width:40px!important;height:40px!important}}.btn-avatar-loading-completed{background-color:#2dd4d9;background-image:linear-gradient(90deg,#04bb69 50%,#00cf72 50%);background-position:0 0;background-repeat:no-repeat;-webkit-animation:1s loadingCompleted;-moz-animation:1s loadingCompleted;animation:1s loadingCompleted;cursor:wait}@-webkit-keyframes loadingCompleted{0%{background-position:41% 0}100%{background-position:0 0}}@-moz-keyframes loadingCompleted{0%{background-position:41% 0}100%{background-position:0 0}}@keyframes loadingCompleted{0%{background-position:41% 0}100%{background-position:0 0}}.btn-avatar-loading-started{background-color:#2dd4d9;background-image:linear-gradient(90deg,#04bb69 50%,#00cf72 50%);background-repeat:no-repeat;background-position:41% 0;-webkit-animation:4s loadingPosition;-moz-animation:4s loadingPosition;animation:4s loadingPosition;transition:.3s;cursor:wait}@-webkit-keyframes loadingPosition{0%{background-position:100% 0}35%{background-position:92% 0}50%{background-position:83% 0}75%{background-position:72% 0}100%{background-position:41% 0}}@-moz-keyframes loadingPosition{0%{background-position:100% 0}35%{background-position:92% 0}50%{background-position:83% 0}75%{background-position:72% 0}100%{background-position:41% 0}}@keyframes loadingPosition{0%{background-position:100% 0}35%{background-position:92% 0}50%{background-position:83% 0}75%{background-position:72% 0}100%{background-position:41% 0}}.btn-avatar-loading{font-size:1.4285714286rem;display:none;opacity:0;transition:all .3s;font-size:14px;cursor:wait}.btn-avatar-loading .btn-avatar-loading-icon{display:none;opacity:0;align-items:center;justify-content:center}.btn-avatar-loading .btn-avatar-loading-icon svg{width:2.1904761905rem;height:2.1904761905rem}@media (max-width:479px){.btn-avatar-loading .btn-avatar-loading-icon svg{width:3.5514018692rem;height:3.5514018692rem}}.btn-avatar-loading .btn-avatar-loading-icon path,.btn-avatar-loading .btn-avatar-loading-icon svg{fill:#fff;stroke:#fff}@media (max-width:479px){.btn-avatar-loading{font-size:12px}.btn-avatar-loading .btn-avatar-loading-content{font-size:12px}}',map:void 0,media:void 0})}),{name:"CustomizationPanel",components:{CategoryCustomizations:y,Caption:z},props:{builderApi:{type:String,default:"https://builder.dentrodahistoria.com.br/api"},selectedCharacter:{type:Object,default:""},characterSlug:{type:String,required:!0},characterId:{type:[Number,String],required:!0},characterTypeId:{type:[Number,String],required:!0},characterName:{type:String,required:!0},characterIsMale:{type:Boolean,required:!0},categoriesAssets:{type:Object,required:!0},disabledCategories:{type:Array,required:!1,default:function(){return[]}},customizations:{type:Array,required:!0},builderProductId:{type:[String,Number],required:!1,default:null},subscriptionId:{type:[Number,String],required:!0},stackId:{type:[Number,String],required:!0},userDataProperties:{type:Object,required:!0},builderLayoutId:{type:[Number,String],required:!1},language:{type:String,required:!1}},data:function(){return{selectedCategory:null,selectedGroup:null,selectedCollection:null,error:null,isMobile:null,loadingContent:screen.width<1023?"ENVIANDO":"ENVIANDO PERSONAGEM"}},mounted:function(){if(!document.body.getElementsByClassName("btn-avatar-mobile")[0]){var t=document.getElementsByClassName("btn-avatar")[0].cloneNode(!0);t.classList.add("btn-avatar-mobile"),document.body.appendChild(t),document.body.getElementsByClassName("btn-avatar-mobile")[0].addEventListener("click",this.generateAvatar)}var e=document.getElementsByClassName("top-bar")[0];if(screen.width<=1023&&e&&!e.getElementsByClassName("overlay-opacity")[0]){var a=document.getElementsByClassName("overlay-opacity")[0].cloneNode(!0);e.appendChild(a)}if(!document.body.getElementsByClassName("error-mobile")[0]){var i=document.getElementsByClassName("error")[0].cloneNode(!0);i.classList.add("error-mobile"),document.body.appendChild(i)}window.addEventListener("resize",this.screenResize),screen.width>1023?this.isMobile=!1:this.isMobile=!0},beforeDestroy:function(){document.body.getElementsByClassName("btn-avatar-mobile")[0]&&document.body.removeChild(document.getElementsByClassName("btn-avatar-mobile")[0]),document.body.getElementsByClassName("error-mobile")[0]&&document.body.removeChild(document.getElementsByClassName("error-mobile")[0])},computed:{showColorsCustomizations:function(){return!1},showSubcategoriesCustomizations:function(){return!1},visibleCategoriesCustomizations:function(){var t=this,e=[];return this.selectedCategory?e.push(this.selectedCategory):this.selectedCollection&&this.selectedCollection.categories.forEach((function(a){var i=t.categoriesAssets.categories.find((function(t){return t.id===a}));i&&e.push(i)})),e}},methods:{monthsHelper:function(t){switch(t){case 1:return"Janeiro";case 2:return"Fevereiro";case 3:return"Março";case 4:return"Abril";case 5:return"Maio";case 6:return"Junho";case 7:return"Julho";case 8:return"Agosto";case 9:return"Setembro";case 10:return"Outubro";case 11:return"Novembro";case 12:return"Dezembro"}},generateAvatar:function(){var t=this;return u(regeneratorRuntime.mark((function e(){var a,i,o,r,d,n,s,l,c,p,m,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t,o=!1,t.categoriesAssets.categories.forEach((function(e){e.required&&((i=t.customizations.find((function(t){return e.id===t.categoryId})))||(i=t.disabledCategories.find((function(t){return e.id===t.categoryId}))),i||(o=!0,r=e))})),o){e.next=18;break}return t.$emit("startedMethod"),d=null,n=[],t.customizations.forEach((function(t){var e={parent_id:t.categoryId,id:t.optionId?t.optionId:t.relatedCategoryId};e.parent_id&&e.id&&n.push(e)})),s={properties:a.userDataProperties,type:t.characterTypeId},l={custom_character:{character_id:t.characterId,product_id:t.builderProductId,type_id:t.characterTypeId,categories:n,user_data:s}},t.builderLayoutId&&(l.custom_character.layout_id=t.builderLayoutId),t.language&&(l.custom_character.language=t.language),e.next=14,k({method:"POST",url:"".concat(t.builderApi,"/customs_characters/"),headers:{"Content-Type":"application/json"},data:l}).then((function(t){return t})).catch((function(t){return t}));case 14:(c=e.sent)&&(200===c.status?t.$emit("completedMethod",{updatedCustomizations:t.customizations,updatedUuid:c.data.custom.uuid,categories:n,success:!0}):(p=JSON.parse(c.response.request.responseText),(d=p?p.error:"Não foi possível gerar o avatar. Tente novamente.")&&(t.error=d,t.$refs.error.style.opacity="1",setTimeout((function(){t.$refs.error.style.opacity="0"}),5e3)),t.$emit("completedMethod",{updatedCustomizations:t.customizations,updatedUuid:c.data.custom.uuid,categories:n,success:!1}))),e.next=22;break;case 18:m=r.code,h="pele"===m?"Necessário selecionar um tom de pele":"Necessário selecionar um tipo de ".concat(m),screen.width>1023&&("roupa"===m||"tenis"===m)?(t.error=h,t.$refs.error.style.opacity="1",setTimeout((function(){t.$refs.error.style.opacity="0"}),5e3)):(document.getElementsByClassName("error")[0].style.opacity="1",document.getElementsByClassName("error")[0].textContent=h,setTimeout((function(){document.getElementsByClassName("error")[0].style.opacity="0",document.getElementsByClassName("error")[0].textContent=""}),5e3)),t.$refs[m][0].click();case 22:case"end":return e.stop()}}),e)})))()},getCustomizationTitle:function(t){var e=t?t.toLowerCase():"";switch(e){case"pele":return"Tons de pele";default:return"Tipos de ".concat(e)}},getCustomizationByCategoryId:function(t){return this.customizations.find((function(e){return e.categoryId===t}))},handleSelectCategory:function(t){if(!this.isCategoryDisabled(t)&&this.selectedCategory!==t){this.selectedCharacter.slug;var e=document.getElementsByClassName("customization-preview-asset"),a=document.getElementsByClassName("customization-preview")[0];"cabelo"===t.code||"olhos"===t.code||"oculos"===t.code?(a.classList.remove("zoom-in"),a.classList.remove("zoom-out"),a.className+=" zoom-in"):"roupa"===t.code||"tenis"===t.code?(a.classList.remove("zoom-in"),a.classList.remove("zoom-out"),a.className+=" zoom-out"):(a.classList.remove("zoom-in"),a.classList.remove("zoom-out")),Array.from(e).forEach((function(t){t.style.transform=void 0})),this.selectedGroup=null,this.selectedCollection=null,this.selectedCategory=t}},handleSelectGroup:function(t){if(this.selectedGroup!==t){if(screen.width<=1023){var e=document.getElementsByClassName("customization-preview-asset"),a=document.getElementsByClassName("customization-preview")[0];this.selectedCharacter.slug;"acessorio"===t.code||"acessorios"===t.code||"oculos"===t.code?(a.classList.remove("zoom-in"),a.classList.remove("zoom-out"),a.className+=" zoom-in"):(a.classList.remove("zoom-in"),a.classList.remove("zoom-out")),Array.from(e).forEach((function(t){t.style.transform=void 0}))}this.selectedCategory=null,this.selectedCollection=null,this.selectedGroup=t}},handleSelectCollection:function(t){this.selectedCollection!==t&&(this.selectedCategory=null,this.selectedGroup=null,this.selectedCollection=t)},handleUpdateCustomization:function(t){this.$emit("update:customization",t)},isCategoryDisabled:function(t){return void 0!==this.disabledCategories.find((function(e){return e.categoryId===t.id}))},screenResize:function(){if(screen.width>1023){document.getElementsByClassName("customization-preview-asset");// const transform = "scale(1) translateY(0)"
78
+ type:{type:String,default:"regular"}},data:function(){return{}}},"data-v-494fbeae",!1,void 0,!1,b,void 0,void 0),k=require("axios"),_=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"customization-panel"},[a("div",{staticClass:"overlay-opacity"}),t._v(" "),a("div",{staticClass:"customization-panel-head"},[a("div",{staticClass:"customization-panel-heading"},[t._v("\n\t\t\t\tEditar o personagem "+t._s(t.characterIsMale?"do":"da")+"\n\t\t\t\t"),a("b",[t._v(t._s(t.characterName))])]),t._v(" "),a("div",{staticClass:"customization-categories"},[t._l(t.categoriesAssets.categories,(function(e){return a("a",{directives:[{name:"show",rawName:"v-show",value:"mooner"!==e.code&&"pet"!==e.code,expression:"category.code !== 'mooner' && category.code !== 'pet'"}],key:e.key,ref:e.code,refInFor:!0,staticClass:"customization-categories-item",class:[{"is-selected":e===t.selectedCategory,"is-disabled":t.isCategoryDisabled(e)},"category-"+e.code],attrs:{id:e.code},on:{click:function(a){return t.handleSelectCategory(e)}}},[e.assets.icon?a("img",{staticClass:"customization-categories-item-icon",attrs:{src:e.assets.icon}}):a("span",{staticClass:"customization-categories-item-icon customization-categories-item-icon-placeholder"}),t._v(" "),a("Caption",{staticClass:"customization-categories-item-label",attrs:{color:"#AFA2BA"}},[t._v("\n\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t")])],1)})),t._v(" "),t._l(t.categoriesAssets.groups,(function(e){return a("a",{key:e.key,ref:e.code,refInFor:!0,staticClass:"customization-categories-item",class:[{"is-selected":e===t.selectedGroup},"category-"+e.code],on:{click:function(a){return t.handleSelectGroup(e)}}},[e.assets.icon?a("img",{staticClass:"customization-categories-item-icon",attrs:{src:e.assets.icon}}):a("span",{staticClass:"customization-categories-item-icon customization-categories-item-icon-placeholder"}),t._v(" "),a("Caption",{staticClass:"customization-categories-item-label",attrs:{color:"#AFA2BA"}},[t._v("\n\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t")])],1)}))],2)]),t._v(" "),a("div",{staticClass:"customization-panel-body",attrs:{id:"customization-panel-body"}},[t._l(t.visibleCategoriesCustomizations,(function(e){return a("CategoryCustomizations",{directives:[{name:"show",rawName:"v-show",value:t.selectedCategory,expression:"selectedCategory"}],key:e.id,attrs:{title:e.subtitle,category:e,categoryId:e.id,customization:t.getCustomizationByCategoryId(e.id),relatedCustomization:t.getCustomizationByCategoryId(e.depends_category),disabledCategories:t.disabledCategories,removableCategory:!e.required},on:{"update:customization":t.handleUpdateCustomization}})})),t._v(" "),t._l(t.categoriesAssets.groups,(function(e){return a("CategoryCustomizations",{directives:[{name:"show",rawName:"v-show",value:t.selectedGroup,expression:"selectedGroup"}],key:e.id,attrs:{title:e.subtitle,category:e,categoryId:e.id,customization:t.getCustomizationByCategoryId(e.assets.subcategories[0].parent_id),removableCategory:!e.required,customizations:t.customizations},on:{"update:customization":t.handleUpdateCustomization}})}))],2),t._v(" "),a("div",{staticClass:"helper"},[a("div",{ref:"error",staticClass:"error",domProps:{innerHTML:t._s(t.error)}}),t._v(" "),a("div",{staticClass:"btn-avatar",on:{click:t.generateAvatar}},[a("div",{staticClass:"btn-avatar-preload"},[t._v("\n\t\t\t\t\tCONTINUAR\n\t\t\t\t\t"),a("div",{staticClass:"icon icon-check"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"}},[a("path",{attrs:{fill:"#000","fill-rule":"evenodd",d:"M22.65 17.828a1.996 1.996 0 0 1-.579 1.586l-5.657 5.657a2 2 0 0 1-2.828-2.828L18 17.828l-4.414-4.414a2 2 0 0 1 2.828-2.828l5.657 5.657c.434.434.627 1.018.579 1.585z"}})])])]),t._v(" "),a("div",{staticClass:"btn-avatar-loading"},[a("span",{staticClass:"btn-avatar-loading-content",domProps:{innerHTML:t._s(t.loadingContent)}}),t._v(" "),a("span",{staticClass:"btn-avatar-loading-icon"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"36",viewBox:"0 0 36 36"}},[a("path",{attrs:{fill:"#000","fill-rule":"evenodd",d:"M26.383 12.728c-.433-.47-.986-.727-1.48-.728-.293 0-.569.092-.776.29l-2.306 2.179v-.002l-3.136 2.963c-.055.052-.093.109-.13.16l-3.008 2.841-3.545-3.855c-.217-.235-.526-.347-.858-.347-.47 0-.992.217-1.424.625-.465.44-.719 1-.72 1.5 0 .298.092.576.287.788l3.25 3.533 1.823 1.981c.214.235.52.344.85.344.147 0 .295-.021.448-.061l.085.002c.292.001.566-.087.776-.284l5.44-5.14c.054-.052.094-.11.13-.162l4.567-4.315c.234-.22.344-.532.344-.87 0-.474-.215-1.002-.617-1.442z"}})])])])])])])},staticRenderFns:[]},(function(t){t&&t("data-v-a04384e4_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.postingCharacter{height:100vh}.customization-panel-heading b{font-weight:400;color:#923fda;text-transform:capitalize}.customization-panel{z-index:100;position:fixed;width:520px;height:100%;top:0;right:0;background:#f8f7fc;border-left:1px solid #dfdae4;transition:all .3s;overflow:hidden}@media (max-width:992px){.customization-panel{width:100%;bottom:0;top:unset;min-height:180px;height:auto}}.customization-panel-head{background:#fff;border-bottom:1px solid #f0ebf5;box-shadow:0 10px 26px 0 #d7d1ef;position:relative;z-index:150}@media (max-width:992px){.customization-panel-head{box-shadow:0 0 26px 0 #d7d1ef}}.customization-panel-heading{height:80px;max-width:100%;line-height:80px;text-align:center;font-family:Roboto,sans-serif;color:#afa2ba;background:#fff;border-bottom:1px solid #dfdae4;font-size:16px}@media (max-width:992px){.customization-panel-heading{display:none}}.customization-panel-body{height:70%;scroll-behavior:smooth;padding-bottom:70px;z-index:20;overflow-y:auto;position:relative}.customization-panel-body::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}.customization-panel-body::-webkit-scrollbar{width:7px;background-color:transparent}.customization-panel-body::-webkit-scrollbar-thumb{border-radius:20px;background-color:#e4e4e4}@media (max-width:992px){.customization-panel-body{padding-bottom:0;z-index:0}}.customization-panel .helper{position:absolute;bottom:0;width:100%;background:#fff;border-top:1px solid #dfdae4;box-shadow:0 0 26px 0 #d7d1ef;padding:.7619047619rem 1.1428571429rem;display:flex;align-items:center;justify-content:center;z-index:999}@media (max-width:992px){.customization-panel .helper{display:none;z-index:0}}.customization-panel .helper .error{background:red;width:100%;color:#fff;font-family:Roboto,sans-serif;font-size:14px;padding:15px 0;text-align:center;text-transform:uppercase;position:absolute;transition:all .3s;top:-45px;opacity:0}.btn-avatar{width:100%;height:65px;font-family:Nunito;font-weight:900;padding:0!important;background:#12d3db;background-size:200%;background-position-x:99%;box-shadow:0 .2381rem .95238rem 0 #89e6e8;border-radius:1.90476rem;color:#fff;transition:all .2s cubic-bezier(.4,0,.2,1);border:0;font-size:14px;letter-spacing:.0381rem;line-height:1.2rem;position:relative;display:flex;align-items:center;justify-content:center}.btn-avatar:hover{box-shadow:0 .2381rem .95238rem 0 #89e6e8;-webkit-transform:translateY(-.09524rem);transform:translateY(-.09524rem);cursor:pointer;background-position-x:0;-webkit-transform:translateY(-.14286rem);transform:translateY(-.14286rem);color:#fff}.btn-avatar:active,.btn-avatar:focus{outline:0;box-shadow:0 0 0 #89e6e8;background-position-x:0;-webkit-transform:translateY(.14286rem) scale(.97);transform:translateY(.14286rem) scale(.97)}.btn-avatar .icon{position:absolute;display:flex;justify-content:center;align-items:center;right:0;top:0;margin:15px!important}.btn-avatar .icon path,.btn-avatar .icon svg{fill:#fff;stroke:#fff}@media (max-width:992px){.btn-avatar{display:none!important}}.btn-avatar-mobile{display:none!important}@media (max-width:992px){.btn-avatar-mobile{display:flex!important;width:150px;height:40px;box-shadow:none;font-size:12px;float:right;line-height:1;position:fixed;right:0;top:10px;z-index:200;border-radius:100px;margin-right:.7619047619rem}.btn-avatar-mobile .icon{display:none}}.customization-categories{display:flex;align-items:center;align-content:center;padding:.7619047619rem .7619047619rem}@media (max-width:992px){.customization-categories{padding:0}}.customization-categories .category-vestuario{display:none!important}.customization-categories-item{position:relative;font-size:inherit;flex-basis:0;flex-grow:1;max-width:100%;height:100%;text-align:center}.customization-categories-item:hover{cursor:pointer}.customization-categories-item:hover .customization-categories-item-label{color:#12d3db!important}@media (max-width:992px){.customization-categories-item{height:50px;display:flex;justify-content:center;align-items:center;border:0}}.customization-categories-item-icon{height:52px;width:52px;display:block;border-radius:30px;margin:auto}.customization-categories-item-icon-placeholder{background-color:#dfdae4;border-radius:2px}@media (max-width:992px){.customization-categories-item-icon{display:none}}.customization-categories-item-label{font-weight:400;display:block;font-size:12px;color:#000;text-transform:capitalize!important;font-family:Roboto;padding-top:.380952381rem}@media (max-width:992px){.customization-categories-item-label{margin:0}}.customization-categories-item:first-child{border-left:none}.customization-categories-item.is-selected .customization-categories-item-label{color:#12d3db!important}@media (max-width:992px){.customization-categories-item.is-selected:after{content:"";position:absolute;left:0;bottom:-2px;width:100%;height:3px;background:#12d3db}}@media (max-width:992px) and (max-width:992px){.customization-categories-item.is-selected:after{bottom:0}}.customization-categories-item.is-disabled{opacity:.6}.btn-avatar-reduced{background:#2dd4d9!important;width:65px!important;cursor:wait}@media (max-width:479px){.btn-avatar-reduced{width:40px!important;height:40px!important}}.btn-avatar-loading-completed{background-color:#2dd4d9;background-image:linear-gradient(90deg,#04bb69 50%,#00cf72 50%);background-position:0 0;background-repeat:no-repeat;-webkit-animation:1s loadingCompleted;-moz-animation:1s loadingCompleted;animation:1s loadingCompleted;cursor:wait}@-webkit-keyframes loadingCompleted{0%{background-position:41% 0}100%{background-position:0 0}}@-moz-keyframes loadingCompleted{0%{background-position:41% 0}100%{background-position:0 0}}@keyframes loadingCompleted{0%{background-position:41% 0}100%{background-position:0 0}}.btn-avatar-loading-started{background-color:#2dd4d9;background-image:linear-gradient(90deg,#04bb69 50%,#00cf72 50%);background-repeat:no-repeat;background-position:41% 0;-webkit-animation:4s loadingPosition;-moz-animation:4s loadingPosition;animation:4s loadingPosition;transition:.3s;cursor:wait}@-webkit-keyframes loadingPosition{0%{background-position:100% 0}35%{background-position:92% 0}50%{background-position:83% 0}75%{background-position:72% 0}100%{background-position:41% 0}}@-moz-keyframes loadingPosition{0%{background-position:100% 0}35%{background-position:92% 0}50%{background-position:83% 0}75%{background-position:72% 0}100%{background-position:41% 0}}@keyframes loadingPosition{0%{background-position:100% 0}35%{background-position:92% 0}50%{background-position:83% 0}75%{background-position:72% 0}100%{background-position:41% 0}}.btn-avatar-loading{font-size:1.4285714286rem;display:none;opacity:0;transition:all .3s;font-size:14px;cursor:wait}.btn-avatar-loading .btn-avatar-loading-icon{display:none;opacity:0;align-items:center;justify-content:center}.btn-avatar-loading .btn-avatar-loading-icon svg{width:2.1904761905rem;height:2.1904761905rem}@media (max-width:479px){.btn-avatar-loading .btn-avatar-loading-icon svg{width:3.5514018692rem;height:3.5514018692rem}}.btn-avatar-loading .btn-avatar-loading-icon path,.btn-avatar-loading .btn-avatar-loading-icon svg{fill:#fff;stroke:#fff}@media (max-width:479px){.btn-avatar-loading{font-size:12px}.btn-avatar-loading .btn-avatar-loading-content{font-size:12px}}',map:void 0,media:void 0})}),{name:"CustomizationPanel",components:{CategoryCustomizations:y,Caption:z},props:{builderApi:{type:String,default:"https://builder.dentrodahistoria.com.br/api"},selectedCharacter:{type:Object,default:""},characterSlug:{type:String,required:!0},characterId:{type:[Number,String],required:!0},characterTypeId:{type:[Number,String],required:!0},characterName:{type:String,required:!0},characterIsMale:{type:Boolean,required:!0},categoriesAssets:{type:Object,required:!0},disabledCategories:{type:Array,required:!1,default:function(){return[]}},customizations:{type:Array,required:!0},builderProductId:{type:[String,Number],required:!1,default:null},subscriptionId:{type:[Number,String],required:!0},stackId:{type:[Number,String],required:!0},userDataProperties:{type:Object,required:!0},builderLayoutId:{type:[Number,String],required:!1},language:{type:String,required:!1}},data:function(){return{selectedCategory:null,selectedGroup:null,selectedCollection:null,error:null,isMobile:null,loadingContent:screen.width<1023?"ENVIANDO":"ENVIANDO PERSONAGEM"}},mounted:function(){if(!document.body.getElementsByClassName("btn-avatar-mobile")[0]){var t=document.getElementsByClassName("btn-avatar")[0].cloneNode(!0);t.classList.add("btn-avatar-mobile"),document.body.appendChild(t),document.body.getElementsByClassName("btn-avatar-mobile")[0].addEventListener("click",this.generateAvatar)}var e=document.getElementsByClassName("top-bar")[0];if(screen.width<=1023&&e&&!e.getElementsByClassName("overlay-opacity")[0]){var a=document.getElementsByClassName("overlay-opacity")[0].cloneNode(!0);e.appendChild(a)}if(!document.body.getElementsByClassName("error-mobile")[0]){var i=document.getElementsByClassName("error")[0].cloneNode(!0);i.classList.add("error-mobile"),document.body.appendChild(i)}window.addEventListener("resize",this.screenResize),screen.width>1023?this.isMobile=!1:this.isMobile=!0},beforeDestroy:function(){document.body.getElementsByClassName("btn-avatar-mobile")[0]&&document.body.removeChild(document.getElementsByClassName("btn-avatar-mobile")[0]),document.body.getElementsByClassName("error-mobile")[0]&&document.body.removeChild(document.getElementsByClassName("error-mobile")[0])},computed:{showColorsCustomizations:function(){return!1},showSubcategoriesCustomizations:function(){return!1},visibleCategoriesCustomizations:function(){var t=this,e=[];return this.selectedCategory?e.push(this.selectedCategory):this.selectedCollection&&this.selectedCollection.categories.forEach((function(a){var i=t.categoriesAssets.categories.find((function(t){return t.id===a}));i&&e.push(i)})),e}},methods:{monthsHelper:function(t){switch(t){case 1:return"Janeiro";case 2:return"Fevereiro";case 3:return"Março";case 4:return"Abril";case 5:return"Maio";case 6:return"Junho";case 7:return"Julho";case 8:return"Agosto";case 9:return"Setembro";case 10:return"Outubro";case 11:return"Novembro";case 12:return"Dezembro"}},generateAvatar:function(){var t=this;return h(regeneratorRuntime.mark((function e(){var a,i,o,r,d,n,s,l,c,p,m,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t,o=!1,t.categoriesAssets.categories.forEach((function(e){e.required?((i=t.customizations.find((function(t){return e.id===t.categoryId})))||(i=t.disabledCategories.find((function(t){return e.id===t.categoryId}))),i||(o=!0,r=e)):(e.code.includes("mooner")||e.code.includes("pet"))&&(i=t.disabledCategories.find((function(t){return e.id===t.categoryId})))})),o){e.next=18;break}return t.$emit("startedMethod"),d=null,n=[],t.customizations.forEach((function(t){var e={parent_id:t.categoryId,id:t.optionId?t.optionId:t.relatedCategoryId};e.parent_id&&e.id&&n.push(e)})),s={properties:a.userDataProperties,type:t.characterTypeId},l={custom_character:{character_id:t.characterId,product_id:t.builderProductId,type_id:t.characterTypeId,categories:n,user_data:s}},t.builderLayoutId&&(l.custom_character.layout_id=t.builderLayoutId),t.language&&(l.custom_character.language=t.language),e.next=14,k({method:"POST",url:"".concat(t.builderApi,"/customs_characters/"),headers:{"Content-Type":"application/json"},data:l}).then((function(t){return t})).catch((function(t){return t}));case 14:(c=e.sent)&&(200===c.status?t.$emit("completedMethod",{updatedCustomizations:t.customizations,updatedUuid:c.data.custom.uuid,categories:n,success:!0}):(p=JSON.parse(c.response.request.responseText),(d=p?p.error:"Não foi possível gerar o avatar. Tente novamente.")&&(t.error=d,t.$refs.error.style.opacity="1",setTimeout((function(){t.$refs.error.style.opacity="0"}),5e3)),t.$emit("completedMethod",{updatedCustomizations:t.customizations,updatedUuid:c.data.custom.uuid,categories:n,success:!1}))),e.next=22;break;case 18:m=r.code,u="pele"===m?"Necessário selecionar um tom de pele":"Necessário selecionar um tipo de ".concat(m),screen.width>1023&&("roupa"===m||"tenis"===m)?(t.error=u,t.$refs.error.style.opacity="1",setTimeout((function(){t.$refs.error.style.opacity="0"}),5e3)):(document.getElementsByClassName("error")[0].style.opacity="1",document.getElementsByClassName("error")[0].textContent=u,setTimeout((function(){document.getElementsByClassName("error")[0].style.opacity="0",document.getElementsByClassName("error")[0].textContent=""}),5e3)),t.$refs[m][0].click();case 22:case"end":return e.stop()}}),e)})))()},getCustomizationTitle:function(t){var e=t?t.toLowerCase():"";switch(e){case"pele":return"Tons de pele";default:return"Tipos de ".concat(e)}},getCustomizationByCategoryId:function(t){return this.customizations.find((function(e){return e.categoryId===t}))},handleSelectCategory:function(t){if(!this.isCategoryDisabled(t)&&this.selectedCategory!==t){this.selectedCharacter.slug;var e=document.getElementsByClassName("customization-preview-asset"),a=document.getElementsByClassName("customization-preview")[0];"cabelo"===t.code||"olhos"===t.code||"oculos"===t.code?(a.classList.remove("zoom-in"),a.classList.remove("zoom-out"),a.className+=" zoom-in"):"roupa"===t.code||"tenis"===t.code?(a.classList.remove("zoom-in"),a.classList.remove("zoom-out"),a.className+=" zoom-out"):(a.classList.remove("zoom-in"),a.classList.remove("zoom-out")),Array.from(e).forEach((function(t){t.style.transform=void 0})),this.selectedGroup=null,this.selectedCollection=null,this.selectedCategory=t}},handleSelectGroup:function(t){if(this.selectedGroup!==t){if(screen.width<=1023){var e=document.getElementsByClassName("customization-preview-asset"),a=document.getElementsByClassName("customization-preview")[0];this.selectedCharacter.slug;"acessorio"===t.code||"acessorios"===t.code||"oculos"===t.code?(a.classList.remove("zoom-in"),a.classList.remove("zoom-out"),a.className+=" zoom-in"):(a.classList.remove("zoom-in"),a.classList.remove("zoom-out")),Array.from(e).forEach((function(t){t.style.transform=void 0}))}this.selectedCategory=null,this.selectedCollection=null,this.selectedGroup=t}},handleSelectCollection:function(t){this.selectedCollection!==t&&(this.selectedCategory=null,this.selectedGroup=null,this.selectedCollection=t)},handleUpdateCustomization:function(t){this.$emit("update:customization",t)},isCategoryDisabled:function(t){return void 0!==this.disabledCategories.find((function(e){return e.categoryId===t.id}))},screenResize:function(){if(screen.width>1023){document.getElementsByClassName("customization-preview-asset");// const transform = "scale(1) translateY(0)"
79
79
  // Array.from(avatar).forEach(piece => {
80
80
  // piece.style.transform = transform
81
81
  // })
82
82
  this.isMobile&&(this.isMobile=!1)}else this.isMobile||(this.isMobile=!0);this.categoriesAssets&&this.categoriesAssets.categories&&(this.selectedCategory=this.categoriesAssets.categories[0]),this.selectedGroup=null,this.selectedCollection=null}},updated:function(){!this.categoriesAssets||!this.categoriesAssets.categories||this.selectedCategory||this.selectedGroup||this.selectedCollection||(this.selectedCategory=this.categoriesAssets.categories[0])}},void 0,!1,void 0,!1,b,void 0,void 0),C=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"customization-preview",class:"avatar-"+t.characterSlug,style:t.gradientColors&&t.gradientColors.bgInner?"background-image: radial-gradient(circle, "+t.gradientColors.bgInner+" 0%, "+t.gradientColors.bgCentral+" 10%, "+t.gradientColors.bgOuter+" 100%);":null},[a("div",{staticClass:"overlay-opacity"}),t._v(" "),a("div",{staticClass:"customization-preview-stage"},t._l(t.customizations,(function(e){return a("img",{key:e.categoryId,staticClass:"customization-preview-asset",class:t.characterHeight?"alt":"com",style:[{transform:"scale("+t.selectedCharacter.fixers.size*t.scaleFixer+") translate("+(t.isMobile?t.selectedCharacter.fixers.x*t.scaleFixerMobile:t.selectedCharacter.fixers.x)+"px, "+(t.isMobile?t.selectedCharacter.fixers.y*t.scaleFixerMobile:t.selectedCharacter.fixers.y)+"px)",zIndex:null!=e.optionZIndex?e.optionZIndex:e.categoryZIndex}],attrs:{src:e.optionAsset}})})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-911a08dc_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.customization-preview{position:relative;width:calc(100vw - 520px);height:100vh;transition:all .5s}@media (max-width:479px){.customization-preview{height:calc((var(--vh,1vh) * 100) - var(--cp));width:100%;top:0;min-width:100vw}}.customization-preview-asset{position:absolute;top:0;left:0;width:100%;height:100%;transition:all .3s}.customization-preview.zoom-in{transform:scale(1.8) translate(-2%,10%)!important}@media (max-width:479px){.customization-preview.zoom-in{transform:scale(1.2) translate(0,0)!important}}',map:void 0,media:void 0})}),{name:"CustomizationPreview",props:{customizations:{type:Array,required:!0},selectedCharacter:{type:Object,required:!0},characterHeight:{type:Number,default:0},gradientColors:{type:Object,required:!1},characterSlug:{type:String,required:!1,default:"noone"}},data:function(){return{screenWidth:null,isMobile:!1,scaleFixer:1.3,scaleFixerMobile:.1}},mounted:function(){var t=this;console.log("aqui"),console.log(t.isMobile);var e=document.querySelector(".customization-panel").clientHeight;console.log(document.documentElement.style),document.documentElement.style.setProperty("--cp","".concat(e,"px")),this.screenWidth=screen.width,t.detectSize(),window.addEventListener("resize",(function(e){t.detectSize();//alert(self.isMobile);
83
- }))},methods:{detectSize:function(){this.isMobile=!1,this.screenWidth<990&&(this.isMobile=!0)}}},void 0,!1,void 0,!1,b,void 0,void 0),P=require("axios"),S=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("link",{attrs:{rel:"stylesheet",href:"https://use.fontawesome.com/releases/v5.8.1/css/all.css",integrity:"sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf",crossorigin:"anonymous"}}),t._v(" "),a("div",{staticClass:"mobile-tooltip",on:{click:t.removeTooltip}},[t._m(0)]),t._v(" "),a("CustomizationPreview",{attrs:{customizations:t.customizations,"selected-character":t.selectedCharacter,"character-height":t.characterHeight?t.characterHeight:null,"gradient-colors":t.gradient_colors,"character-slug":t.custom_properties.slug,characterHeight:1}}),t._v(" "),a("CustomizationPanel",{attrs:{"builder-api":t.builder_api,"selected-character":t.selectedCharacter,"character-name":t.custom_properties.user_data.properties.nome.value,"subscription-id":"1","stack-id":"1","character-slug":t.custom_properties.slug,"character-id":t.characterId,"character-type-id":t.characterTypeId,"character-is-male":t.custom_properties.is_male,"categories-assets":t.categoriesAssets,"disabled-categories":t.disabledCategories,customizations:t.customizations,"builder-product-id":t.builderProductId?t.builderProductId:this.custom_properties.product_id,userDataProperties:t.custom_properties.user_data.properties,builderLayoutId:t.builderLayoutId,language:t.language},on:{"update:customization":t.handleCustomization,startedMethod:t.startedMethod,completedMethod:t.completedMethod}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"tooltip"},[this._v("\n\t\t\tLorem ipsum dolor sit amet, eum ne sale vidit epicuri, usu populo\n\t\t\tincorrupte ex. His falli intellegebat no.\n\t\t\t"),e("i",{staticClass:"fas fa-times"})])}]},(function(t){t&&t("data-v-4463c724_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.mobile-tooltip{display:none}@media (max-width:992px){.mobile-tooltip{display:none;position:absolute;z-index:90000000;height:calc(100vh - 59px);width:100%;transition:all .3s;bottom:0}.mobile-tooltip .tooltip{border-radius:5px;color:#fff;font-size:14px;padding:10px 36px 10px 16px;width:350px;margin-left:15px;box-shadow:0 1px 2px 0 rgba(0,0,0,.31);line-height:1.5;position:relative;margin-top:auto;bottom:calc(var(--cp) + 25px)}.mobile-tooltip .tooltip:after{top:100%;left:5%;border:solid transparent;content:" ";position:absolute;border-width:10px}.mobile-tooltip .tooltip i{position:absolute;right:10px;top:10px}}',map:void 0,media:void 0})}),{name:"CustomizationView",components:{CustomizationPanel:_,CustomizationPreview:C},props:{custom_properties:{type:Object,default:null,required:!0},builder_api:{type:String,default:"https://builder.dentrodahistoria.com.br/api"},is_subscription:{type:Boolean,default:!1},gradient_colors:{type:Object,required:!1},builderLayoutId:{type:[Number,String],required:!1},language:{type:String,required:!1}},data:function(){return{categoriesAssets:{},customizations:[],
83
+ }))},methods:{detectSize:function(){this.isMobile=!1,this.screenWidth<990&&(this.isMobile=!0)}}},void 0,!1,void 0,!1,b,void 0,void 0),M=require("axios"),P=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("link",{attrs:{rel:"stylesheet",href:"https://use.fontawesome.com/releases/v5.8.1/css/all.css",integrity:"sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf",crossorigin:"anonymous"}}),t._v(" "),a("div",{staticClass:"mobile-tooltip",on:{click:t.removeTooltip}},[t._m(0)]),t._v(" "),a("CustomizationPreview",{attrs:{customizations:t.customizations,"selected-character":t.selectedCharacter,"character-height":t.characterHeight?t.characterHeight:null,"gradient-colors":t.gradient_colors,"character-slug":t.custom_properties.slug,characterHeight:1}}),t._v(" "),a("CustomizationPanel",{attrs:{"builder-api":t.builder_api,"selected-character":t.selectedCharacter,"character-name":t.custom_properties.user_data.properties.nome.value,"subscription-id":"1","stack-id":"1","character-slug":t.custom_properties.slug,"character-id":t.characterId,"character-type-id":t.characterTypeId,"character-is-male":t.custom_properties.is_male,"categories-assets":t.categoriesAssets,"disabled-categories":t.disabledCategories,customizations:t.customizations,"builder-product-id":t.builderProductId?t.builderProductId:this.custom_properties.product_id,userDataProperties:t.custom_properties.user_data.properties,builderLayoutId:t.builderLayoutId,language:t.language},on:{"update:customization":t.handleCustomization,startedMethod:t.startedMethod,completedMethod:t.completedMethod}})],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"tooltip"},[this._v("\n\t\t\tLorem ipsum dolor sit amet, eum ne sale vidit epicuri, usu populo\n\t\t\tincorrupte ex. His falli intellegebat no.\n\t\t\t"),e("i",{staticClass:"fas fa-times"})])}]},(function(t){t&&t("data-v-ac084588_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.mobile-tooltip{display:none}@media (max-width:992px){.mobile-tooltip{display:none;position:absolute;z-index:90000000;height:calc(100vh - 59px);width:100%;transition:all .3s;bottom:0}.mobile-tooltip .tooltip{border-radius:5px;color:#fff;font-size:14px;padding:10px 36px 10px 16px;width:350px;margin-left:15px;box-shadow:0 1px 2px 0 rgba(0,0,0,.31);line-height:1.5;position:relative;margin-top:auto;bottom:calc(var(--cp) + 25px)}.mobile-tooltip .tooltip:after{top:100%;left:5%;border:solid transparent;content:" ";position:absolute;border-width:10px}.mobile-tooltip .tooltip i{position:absolute;right:10px;top:10px}}',map:void 0,media:void 0})}),{name:"CustomizationView",components:{CustomizationPanel:_,CustomizationPreview:C},props:{custom_properties:{type:Object,default:null,required:!0},builder_api:{type:String,default:"https://builder.dentrodahistoria.com.br/api"},is_subscription:{type:Boolean,default:!1},gradient_colors:{type:Object,required:!1},builderLayoutId:{type:[Number,String],required:!1},language:{type:String,required:!1}},data:function(){return{categoriesAssets:{},customizations:[],
84
84
  // Velho e bom customizations
85
85
  requiredCategories:[],
86
86
  // Acumularás as customizações necessárias
@@ -88,10 +88,10 @@ disabledCategories:[],
88
88
  // Acumulara as customizações que não podem ser customizadas
89
89
  isIniting:!1,isLoading:!1,selectedCharacter:{},characterId:"",characterTypeId:"",characterName:"",loadedCustomizations:[],characterIsMale:this.custom_properties.is_male,builderProductId:!1,characterHeight:null,userDataProperties:this.custom_properties.user_data.properties,languageSelected:""}},mounted:function(){var t=this;this.isIniting=!0,this.loadCustomizationTreeList().then((function(){t.isIniting=!1,t.isLoading=!0})).then(this.parseCollection).then(this.loadCustomizationCharacter).then(this.initCustomizationCharacter).then(this.initDisabledCategories).then((function(){t.isLoading=!1}))},methods:{startedMethod:function(){this.$emit("startedMethod")},completedMethod:function(t){t.success?this.$emit("completedMethod",{updatedCustomizations:t.updatedCustomizations,updatedUuid:t.updatedUuid,characterName:this.characterName,characterIsMale:this.custom_properties.is_male,
90
90
  //this.characterIsMale,
91
- categories:t.categories,success:t.success}):this.$emit("completedMethod",{success:t.success})},loadCustomizationTreeList:function(){var t=this;return u(regeneratorRuntime.mark((function e(){var a,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(
91
+ categories:t.categories,success:t.success}):this.$emit("completedMethod",{success:t.success})},loadCustomizationTreeList:function(){var t=this;return h(regeneratorRuntime.mark((function e(){var a,i,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(
92
92
  // Verifica se foi informado a language
93
- t.language&&(t.languageSelected="&language="+t.language),!t.treelist){e.next=5;break}if(!(t.treelist.character_categories_assets&&t.treelist.character_categories_assets.length>0)){e.next=5;break}return t.categoriesAssets=t.treelist.character_categories_assets[0],e.abrupt("return");case 5:if(!t.custom_properties.uuid){e.next=25;break}return e.next=8,P.get("".concat(t.builder_api,"/customs_characters/").concat(t.custom_properties.uuid));case 8:return i=e.sent,o=i.data,e.next=12,P.get("".concat(t.builder_api,"/characters/").concat(o.custom.character_id,"/categories/assets/treelist?character_type_id=").concat(o.custom.user_data.type,"&subscription=").concat(t.is_subscription).concat(t.languageSelected,"&product_id=").concat(t.custom_properties.product_id));case 12:a=e.sent,t.selectedCharacter.slug=a.data.character_categories_assets[0].type.code,t.characterId=o.custom.character_id,t.characterName=o.custom.user_data.properties.nome.value,t.characterIsMale=t.custom_properties.is_male,//res.data.character_categories_assets[0].type.code === 'menino' ? true : false
94
- t.builderProductId=t.custom_properties.product_id,t.characterTypeId=o.custom.user_data.type,t.loadedCustomizations=o.assets,o.custom.user_data.properties.dedicatoria&&o.custom.user_data.properties.dedicatoria.value&&o.custom.user_data.properties.dedicatoria.value.length>0&&(t.userDataProperties.dedicatoria={code:"dedicatoria",property_id:o.custom.user_data.properties.dedicatoria.property_id,value:o.custom.user_data.properties.dedicatoria.value}),o.custom.user_data.properties.numero&&o.custom.user_data.properties.numero.value&&o.custom.user_data.properties.numero.value.length>0&&(t.userDataProperties.numero={code:"numero",property_id:o.custom.user_data.properties.numero.property_id,value:o.custom.user_data.properties.numero.value}),o.custom.user_data.properties.mes&&o.custom.user_data.properties.mes.value&&o.custom.user_data.properties.mes.value.length>0&&(t.userDataProperties.mes={code:"mes",property_id:o.custom.user_data.properties.mes.property_id,value:o.custom.user_data.properties.mes.value}),e.next=30;break;case 25:return e.next=27,P.get("".concat(t.builder_api,"/characters/").concat(t.custom_properties.character_id,"/categories/assets/treelist?character_type_id=").concat(t.custom_properties.type_id?t.custom_properties.type_id:"","&subscription=").concat(t.is_subscription).concat(t.languageSelected,"\n\t\t\t\t\t&product_id=").concat(t.custom_properties.product_id,"\n\t\t\t\t\t"));case 27:a=e.sent,t.characterTypeId=t.custom_properties.type_id,t.characterId=t.custom_properties.character_id;case 30:t.selectedCharacter=a.data.character_categories_assets[0].character,t.categoriesAssets=a.data.character_categories_assets&&a.data.character_categories_assets.length?a.data.character_categories_assets[0]:null;case 32:case"end":return e.stop()}}),e)})))()},
93
+ t.language&&(t.languageSelected="&language="+t.language),!t.treelist){e.next=5;break}if(!(t.treelist.character_categories_assets&&t.treelist.character_categories_assets.length>0)){e.next=5;break}return t.categoriesAssets=t.treelist.character_categories_assets[0],e.abrupt("return");case 5:if(!t.custom_properties.uuid){e.next=25;break}return e.next=8,M.get("".concat(t.builder_api,"/customs_characters/").concat(t.custom_properties.uuid));case 8:return i=e.sent,o=i.data,e.next=12,M.get("".concat(t.builder_api,"/characters/").concat(o.custom.character_id,"/categories/assets/treelist?character_type_id=").concat(o.custom.user_data.type,"&subscription=").concat(t.is_subscription).concat(t.languageSelected,"&product_id=").concat(t.custom_properties.product_id));case 12:a=e.sent,t.selectedCharacter.slug=a.data.character_categories_assets[0].type.code,t.characterId=o.custom.character_id,t.characterName=o.custom.user_data.properties.nome.value,t.characterIsMale=t.custom_properties.is_male,//res.data.character_categories_assets[0].type.code === 'menino' ? true : false
94
+ t.builderProductId=t.custom_properties.product_id,t.characterTypeId=o.custom.user_data.type,t.loadedCustomizations=o.assets,o.custom.user_data.properties.dedicatoria&&o.custom.user_data.properties.dedicatoria.value&&o.custom.user_data.properties.dedicatoria.value.length>0&&(t.userDataProperties.dedicatoria={code:"dedicatoria",property_id:o.custom.user_data.properties.dedicatoria.property_id,value:o.custom.user_data.properties.dedicatoria.value}),o.custom.user_data.properties.numero&&o.custom.user_data.properties.numero.value&&o.custom.user_data.properties.numero.value.length>0&&(t.userDataProperties.numero={code:"numero",property_id:o.custom.user_data.properties.numero.property_id,value:o.custom.user_data.properties.numero.value}),o.custom.user_data.properties.mes&&o.custom.user_data.properties.mes.value&&o.custom.user_data.properties.mes.value.length>0&&(t.userDataProperties.mes={code:"mes",property_id:o.custom.user_data.properties.mes.property_id,value:o.custom.user_data.properties.mes.value}),e.next=30;break;case 25:return e.next=27,M.get("".concat(t.builder_api,"/characters/").concat(t.custom_properties.character_id,"/categories/assets/treelist?character_type_id=").concat(t.custom_properties.type_id?t.custom_properties.type_id:"","&subscription=").concat(t.is_subscription).concat(t.languageSelected,"\n\t\t\t\t\t&product_id=").concat(t.custom_properties.product_id,"\n\t\t\t\t\t"));case 27:a=e.sent,t.characterTypeId=t.custom_properties.type_id,t.characterId=t.custom_properties.character_id;case 30:t.selectedCharacter=a.data.character_categories_assets[0].character,t.categoriesAssets=a.data.character_categories_assets&&a.data.character_categories_assets.length?a.data.character_categories_assets[0]:null;case 32:case"end":return e.stop()}}),e)})))()},
95
95
  /*
96
96
  * Essa função também preenche as informações de customização,
97
97
  * além do array de categorias obrigatórias e no caso do usuário possuir
@@ -121,14 +121,21 @@ initDefaultCustomizationCharacter:function(){var t,e=this,a=[];
121
121
  * Definindo as customizações default das categorias sem
122
122
  * dependencia
123
123
  */
124
- this.categoriesAssets.categories.forEach((function(i){i.depends_category?a.push(i):(t=e.getCategoryDefaultCustomization(i))&&e.updateCustomizations(t.categoryId,t.relatedCategoryId,t.optionId,t.optionName,t.optionAsset,t.optionZIndex,t.categoryZIndex)})),a.forEach((function(a){(t=e.getRelatedCategoryDefaultCustomization(a))&&e.updateCustomizations(t.categoryId,t.relatedCategoryId,t.optionId,t.optionName,t.optionAsset,t.optionZIndex,t.categoryZIndex)}))},
124
+ this.categoriesAssets.categories.forEach((function(i){i.depends_category?a.push(i):(t=e.getCategoryDefaultCustomization(i),i.code.includes("mooner")&&(console.log(i),// c.assets.subcategories[0].parent_id;
125
+ // null
126
+ // c.assets.subcategories[0].id;
127
+ // c.assets.subcategories[0].name;
128
+ // c.assets.subcategories[0].assets.asset;
129
+ // null,
130
+ // null,
131
+ e.updateCustomizations(i.assets.subcategories[0].parent_id,null,i.assets.subcategories[0].id,i.assets.subcategories[0].name,i.assets.subcategories[0].assets.asset,null,null)),t&&e.updateCustomizations(t.categoryId,t.relatedCategoryId,t.optionId,t.optionName,t.optionAsset,t.optionZIndex,t.categoryZIndex))})),a.forEach((function(a){(t=e.getRelatedCategoryDefaultCustomization(a))&&e.updateCustomizations(t.categoryId,t.relatedCategoryId,t.optionId,t.optionName,t.optionAsset,t.optionZIndex,t.categoryZIndex)}))},
125
132
  /*
126
133
  * Essa função carrega as informações de personalização do personagem
127
134
  * Caso a subscription já possui um customizationId ele vai no serviço
128
135
  * buscar tal informação, caso contrário ele seta as informações
129
136
  * default das categorias na personalização
130
137
  */
131
- loadCustomizationCharacter:function(){var t=this;return u(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.initDefaultCustomizationCharacter(),t.custom_properties.uuid&&(t.customizations.forEach((function(e){t.loadedCustomizations.forEach((function(a){if(e.relatedCategoryId&&e.categoryId===a.assets.category_id){var i=t.loadedCustomizations.find((function(t){return t.id===e.relatedCategoryId}));t.categoriesAssets.categories.forEach((function(o){o.id===a.id&&o.assets.categories.forEach((function(o){o.parent_id===i.assets.id&&o.assets.subcategories.forEach((function(i){i.assets.colors.forEach((function(i){a.assets.id===i.id&&t.updateCustomizations(e.categoryId,e.relatedCategoryId,a.assets.id,i.hexa,i.assets.asset,a.z_index,a.z_index)}))}))}))}))}else e.categoryId===a.assets.category_id&&t.updateCustomizations(e.categoryId,e.relatedCategoryId,a.assets.id,e.name,a.assets.asset,a.z_index,a.z_index)}))})),t.loadedCustomizations.forEach((function(e){t.customizations.find((function(t){return t.categoryId===e.id}))||t.updateCustomizations(e.assets.category_id,null,e.assets.id,e.name,e.assets.asset,e.z_index,e.z_index)})));case 2:case"end":return e.stop()}}),e)})))()},loadRelatedSubcategory:function(t){},updateCustomizations:function(t,e,a,i,o,r,d){var n=this,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l=arguments.length>8&&void 0!==arguments[8]&&arguments[8],c=this.customizations.find((function(e){return e.categoryId===t}));if(!s)return c?(c.categoryId=t,c.relatedCategoryId=e,c.optionId=a,c.optionName=i,c.optionAsset=o,c.optionZIndex=r,c.categoryZIndex=d):(c={categoryId:t,relatedCategoryId:e,optionId:a,optionName:i,optionAsset:o,optionZIndex:r,categoryZIndex:d,firstGroup:!!l||null},this.customizations.push(c)),c;c=this.customizations.find((function(e){return e.categoryId===t})),this.customizations.forEach((function(t,e){t.categoryId===c.categoryId&&n.customizations.splice(e,1)}))},updateDisabledCategories:function(t,e){var a=this;e&&e.forEach((function(t){a.customizations.forEach((function(e,i){t===e.categoryId&&a.customizations.splice(i,1)}))})),e&&0!==e.length?e.forEach((function(e){var i=a.disabledCategories.find((function(t){return t.categoryId===e}));i?i.relatedCustomizations.includes(t)||i.relatedCustomizations.push(t):(i={categoryId:e,relatedCustomizations:[t]},a.disabledCategories.push(i))})):(this.disabledCategories.forEach((function(e){var a=e.relatedCustomizations.indexOf(t);a>-1&&e.relatedCustomizations.splice(a,1)})),this.disabledCategories=this.disabledCategories.filter((function(t){return 0!==t.relatedCustomizations.length})))},getCategoryDefaultCustomization:function(t){var e,a,i,o,r=t.id,d=t.z_index;return t.assets.subcategories.forEach((function(t){if(t.is_default)if(e=t.id,a=t.name,null!=t.z_index&&t.z_index>=0&&(o=t.z_index),t.assets.colors.length>0){var r=t.assets.colors.find((function(t){return t.is_default}));r?(e=r.id,a=r.hexa,i=r.assets.asset):(e=t.assets.colors[0].id,a=t.assets.colors[0].hexa,i=t.assets.colors[0].assets.asset)}else i=t.assets.asset})),i?{categoryId:r,relatedCategoryId:void 0,optionId:e,optionName:a,optionAsset:i,categoryZIndex:d,optionZIndex:o}:null},getRelatedCategoryDefaultCustomization:function(t){var e,a,i,o,r,d=t.id,n=t.depends_category,s=t.z_index,l=this.getCustomization(t.depends_category);return r=l?l.optionId:"",t.assets.categories.forEach((function(t){if(t.parent_id===r)return t.assets.subcategories.forEach((function(t){if(t.is_default)if(e=t.id,a=t.name,null!=t.z_index&&t.z_index>=0&&(o=t.z_index),t.assets.colors.length>0){var r=t.assets.colors.find((function(t){return t.is_default}));r?(e=r.id,a=r.hexa,i=r.assets.asset):(e=t.assets.colors[0].id,a=t.assets.colors[0].hexa,i=t.assets.colors[0].assets.asset)}else i=t.assets.asset})),!1})),i?{categoryId:d,relatedCategoryId:n,optionId:e,optionName:a,optionAsset:i,categoryZIndex:s,optionZIndex:o}:null},getCustomization:function(t){return this.customizations.find((function(e){return e.categoryId===t}))},handleCustomization:function(t){var e=t.customization,a=t.categoriesToDisable,i=t.removeGroup,o=void 0!==i&&i,r=t.firstGroup,d=void 0!==r&&r,n=t.removableCategory,s=void 0!==n&&n;
138
+ loadCustomizationCharacter:function(){var t=this;return h(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.initDefaultCustomizationCharacter(),t.custom_properties.uuid&&(t.customizations.forEach((function(e){t.loadedCustomizations.forEach((function(a){if(e.relatedCategoryId&&e.categoryId===a.assets.category_id){var i=t.loadedCustomizations.find((function(t){return t.id===e.relatedCategoryId}));t.categoriesAssets.categories.forEach((function(o){o.id===a.id&&o.assets.categories.forEach((function(o){o.parent_id===i.assets.id&&o.assets.subcategories.forEach((function(i){i.assets.colors.forEach((function(i){a.assets.id===i.id&&t.updateCustomizations(e.categoryId,e.relatedCategoryId,a.assets.id,i.hexa,i.assets.asset,a.z_index,a.z_index)}))}))}))}))}else e.categoryId===a.assets.category_id&&t.updateCustomizations(e.categoryId,e.relatedCategoryId,a.assets.id,e.name,a.assets.asset,a.z_index,a.z_index)}))})),t.loadedCustomizations.forEach((function(e){t.customizations.find((function(t){return t.categoryId===e.id}))||t.updateCustomizations(e.assets.category_id,null,e.assets.id,e.name,e.assets.asset,e.z_index,e.z_index)})));case 2:case"end":return e.stop()}}),e)})))()},loadRelatedSubcategory:function(t){},updateCustomizations:function(t,e,a,i,o,r,d){var n=this,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7],l=arguments.length>8&&void 0!==arguments[8]&&arguments[8],c=this.customizations.find((function(e){return e.categoryId===t}));if(!s)return c?(c.categoryId=t,c.relatedCategoryId=e,c.optionId=a,c.optionName=i,c.optionAsset=o,c.optionZIndex=r,c.categoryZIndex=d):(c={categoryId:t,relatedCategoryId:e,optionId:a,optionName:i,optionAsset:o,optionZIndex:r,categoryZIndex:d,firstGroup:!!l||null},this.customizations.push(c)),c;c=this.customizations.find((function(e){return e.categoryId===t})),this.customizations.forEach((function(t,e){t.categoryId===c.categoryId&&n.customizations.splice(e,1)}))},updateDisabledCategories:function(t,e){var a=this;e&&e.forEach((function(t){a.customizations.forEach((function(e,i){t===e.categoryId&&a.customizations.splice(i,1)}))})),e&&0!==e.length?e.forEach((function(e){var i=a.disabledCategories.find((function(t){return t.categoryId===e}));i?i.relatedCustomizations.includes(t)||i.relatedCustomizations.push(t):(i={categoryId:e,relatedCustomizations:[t]},a.disabledCategories.push(i))})):(this.disabledCategories.forEach((function(e){var a=e.relatedCustomizations.indexOf(t);a>-1&&e.relatedCustomizations.splice(a,1)})),this.disabledCategories=this.disabledCategories.filter((function(t){return 0!==t.relatedCustomizations.length})))},getCategoryDefaultCustomization:function(t){var e,a,i,o,r=t.id,d=t.z_index;return t.assets.subcategories.forEach((function(t){if(t.is_default)if(e=t.id,a=t.name,null!=t.z_index&&t.z_index>=0&&(o=t.z_index),t.assets.colors.length>0){var r=t.assets.colors.find((function(t){return t.is_default}));r?(e=r.id,a=r.hexa,i=r.assets.asset):(e=t.assets.colors[0].id,a=t.assets.colors[0].hexa,i=t.assets.colors[0].assets.asset)}else i=t.assets.asset})),i?{categoryId:r,relatedCategoryId:void 0,optionId:e,optionName:a,optionAsset:i,categoryZIndex:d,optionZIndex:o}:null},getRelatedCategoryDefaultCustomization:function(t){var e,a,i,o,r,d=t.id,n=t.depends_category,s=t.z_index,l=this.getCustomization(t.depends_category);return r=l?l.optionId:"",t.assets.categories.forEach((function(t){if(t.parent_id===r)return t.assets.subcategories.forEach((function(t){if(t.is_default)if(e=t.id,a=t.name,null!=t.z_index&&t.z_index>=0&&(o=t.z_index),t.assets.colors.length>0){var r=t.assets.colors.find((function(t){return t.is_default}));r?(e=r.id,a=r.hexa,i=r.assets.asset):(e=t.assets.colors[0].id,a=t.assets.colors[0].hexa,i=t.assets.colors[0].assets.asset)}else i=t.assets.asset})),!1})),i?{categoryId:d,relatedCategoryId:n,optionId:e,optionName:a,optionAsset:i,categoryZIndex:s,optionZIndex:o}:null},getCustomization:function(t){return this.customizations.find((function(e){return e.categoryId===t}))},handleCustomization:function(t){var e=t.customization,a=t.categoriesToDisable,i=t.removeGroup,o=void 0!==i&&i,r=t.firstGroup,d=void 0!==r&&r,n=t.removableCategory,s=void 0!==n&&n;
132
139
  // Verifica se há outra customização que deve ser atualizada
133
140
  // em função dessa atualização e atualiza essa customização
134
141
  // antes
@@ -147,7 +154,7 @@ handleUpdateRelatedCategories:function(t){var e=this;this.categoriesAssets.categ
147
154
  // as informações de customização da categoria relacionada
148
155
  var i=e.getCustomization(a.id),o=null,r=null;if(!i)return;a.assets.categories.forEach((function(t){t.assets.subcategories.forEach((function(t){t.assets.colors.forEach((function(e){e.id===i.optionId&&(o=t)}))}))})),(// Procurando a nova subcategoria
149
156
  // já com a referência correta da categoria
150
- r=a.assets.categories.find((function(e){return e.parent_id===t.optionId})))&&r.assets.subcategories.forEach((function(t){t.id===o.id&&t.assets.colors.forEach((function(e){e.hexa===i.optionName&&(i.optionId=e.id,i.optionName=e.hexa,i.optionAsset=e.assets.asset,i.optionZIndex=t.z_index)}))}))}}))},fakeData:function(){var t=this.categoriesAssets.categories[0]?this.categoriesAssets.categories[0].id:0,e=this.categoriesAssets.categories[1]?this.categoriesAssets.categories[1].id:0;this.categoriesAssets.collections=[],this.categoriesAssets.collections.push({id:1e4,name:"Vestuario",icon:"https://dka04237waacy.cloudfront.net/uploads/turma-da-monica/tp-corpo-branco-3.png",categories:[t,e]})},parseCollection:function(){var t=this;this.categoriesAssets.collections&&this.categoriesAssets.collections[0]&&this.categoriesAssets.collections[0].categories.forEach((function(e,a){t.categoriesAssets.collections[0].categories[a]=parseInt(e)}))},removeTooltip:function(){var t=document.getElementsByClassName("mobile-tooltip")[0];t.parentNode.removeChild(t)}}},void 0,!1,void 0,!1,b,void 0,void 0),M=(require("axios"),v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"avatar-page"},[a("CustomizationView",{attrs:{custom_properties:{character_id:t.character_id,product_id:t.product_id,type_id:t.type_id,is_male:t.is_male,slug:t.character_slug,uuid:t.uuid,user_data:{properties:t.custom_properties,type_id:t.type_id}},gradient_colors:t.gradient_colors,is_subscription:t.is_subscription,builder_api:"https://builder.dentrodahistoria.com.br/api",builderLayoutId:t.builderLayoutId,language:t.language},on:{startedMethod:t.started,completedMethod:t.completed}})],1)},staticRenderFns:[]},(function(t){t&&t("data-v-4ad1344a_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-4ad1344a]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-4ad1344a]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-4ad1344a]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-4ad1344a]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-4ad1344a]{font-size:14px}}@media (min-width:1024px){[data-v-4ad1344a]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-4ad1344a]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-4ad1344a]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-4ad1344a]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-4ad1344a]{font-size:1.56vw}}html[data-v-4ad1344a]{box-sizing:border-box}*[data-v-4ad1344a],[data-v-4ad1344a]::after,[data-v-4ad1344a]::before{box-sizing:border-box}hr[data-v-4ad1344a]{margin:10px -1.5rem}h1[data-v-4ad1344a]{font-family:Nunito;font-size:24px;font-weight:900;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#000;margin-top:0;margin-bottom:15px}h1[data-v-4ad1344a]:first-child{display:none}.ddh-sidebar[data-v-4ad1344a],.ddh-sidebar.hide-sidebar[data-v-4ad1344a]{display:none!important}html[data-v-4ad1344a]{--scale:1;--translate:0%}.loading-view[data-v-4ad1344a]{position:absolute;top:0;width:100%;height:100%;background:#fff;position:absolute;width:100%;top:0;z-index:200;display:flex;align-items:center;justify-content:center;flex-direction:column}.avatar-page-1[data-v-4ad1344a]{position:absolute;z-index:3}.avatar-page[data-v-4ad1344a]{min-height:100vh;position:absolute;width:100%;height:100vh;top:0;left:0;background:#fff}@media (max-width:992px){.avatar-page[data-v-4ad1344a]{min-height:0;height:100vh;height:calc(var(--vh,1vh) * 100);overflow:hidden}}.return[data-v-4ad1344a]{position:fixed;z-index:99}.return .icon[data-v-4ad1344a]{width:38px;height:38px;position:absolute;z-index:30;padding:.95238rem 2.77778vw}.return .icon svg[data-v-4ad1344a]{width:38px;height:38px}.return .icon svg path[data-v-4ad1344a]{fill:#afa2ba!important;stroke:#afa2ba!important;transition:all .1s cubic-bezier(.4,0,.2,1)}.return .icon[data-v-4ad1344a]:hover{cursor:pointer}.return .icon:hover path[data-v-4ad1344a],.return .icon:hover svg[data-v-4ad1344a]{fill:#1ad3d9!important;stroke:#1ad3d9!important}.return .icon:active svg[data-v-4ad1344a]{transform:scale(.9)}',map:void 0,media:void 0})}),{name:"Avatar",components:{CustomizationView:S},props:{
157
+ r=a.assets.categories.find((function(e){return e.parent_id===t.optionId})))&&r.assets.subcategories.forEach((function(t){t.id===o.id&&t.assets.colors.forEach((function(e){e.hexa===i.optionName&&(i.optionId=e.id,i.optionName=e.hexa,i.optionAsset=e.assets.asset,i.optionZIndex=t.z_index)}))}))}}))},fakeData:function(){var t=this.categoriesAssets.categories[0]?this.categoriesAssets.categories[0].id:0,e=this.categoriesAssets.categories[1]?this.categoriesAssets.categories[1].id:0;this.categoriesAssets.collections=[],this.categoriesAssets.collections.push({id:1e4,name:"Vestuario",icon:"https://dka04237waacy.cloudfront.net/uploads/turma-da-monica/tp-corpo-branco-3.png",categories:[t,e]})},parseCollection:function(){var t=this;this.categoriesAssets.collections&&this.categoriesAssets.collections[0]&&this.categoriesAssets.collections[0].categories.forEach((function(e,a){t.categoriesAssets.collections[0].categories[a]=parseInt(e)}))},removeTooltip:function(){var t=document.getElementsByClassName("mobile-tooltip")[0];t.parentNode.removeChild(t)}}},void 0,!1,void 0,!1,b,void 0,void 0),S=(require("axios"),v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"avatar-page"},[a("CustomizationView",{attrs:{custom_properties:{character_id:t.character_id,product_id:t.product_id,type_id:t.type_id,is_male:t.is_male,slug:t.character_slug,uuid:t.uuid,user_data:{properties:t.custom_properties,type_id:t.type_id}},gradient_colors:t.gradient_colors,is_subscription:t.is_subscription,builder_api:"https://builder.dentrodahistoria.com.br/api",builderLayoutId:t.builderLayoutId,language:t.language},on:{startedMethod:t.started,completedMethod:t.completed}})],1)},staticRenderFns:[]},(function(t){t&&t("data-v-0d5a283e_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-0d5a283e]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-0d5a283e]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-0d5a283e]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-0d5a283e]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-0d5a283e]{font-size:14px}}@media (min-width:1024px){[data-v-0d5a283e]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-0d5a283e]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-0d5a283e]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-0d5a283e]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-0d5a283e]{font-size:1.56vw}}html[data-v-0d5a283e]{box-sizing:border-box}*[data-v-0d5a283e],[data-v-0d5a283e]::after,[data-v-0d5a283e]::before{box-sizing:border-box}hr[data-v-0d5a283e]{margin:10px -1.5rem}h1[data-v-0d5a283e]{font-family:Nunito;font-size:24px;font-weight:900;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#000;margin-top:0;margin-bottom:15px}h1[data-v-0d5a283e]:first-child{display:none}.ddh-sidebar[data-v-0d5a283e],.ddh-sidebar.hide-sidebar[data-v-0d5a283e]{display:none!important}html[data-v-0d5a283e]{--scale:1;--translate:0%}.loading-view[data-v-0d5a283e]{position:absolute;top:0;width:100%;height:100%;background:#fff;position:absolute;width:100%;top:0;z-index:200;display:flex;align-items:center;justify-content:center;flex-direction:column}.avatar-page-1[data-v-0d5a283e]{position:absolute;z-index:3}.avatar-page[data-v-0d5a283e]{min-height:100vh;position:absolute;width:100%;height:100vh;top:0;left:0;background:#fff}@media (max-width:992px){.avatar-page[data-v-0d5a283e]{min-height:0;height:100vh;height:calc(var(--vh,1vh) * 100);overflow:hidden}}.return[data-v-0d5a283e]{position:fixed;z-index:99}.return .icon[data-v-0d5a283e]{width:38px;height:38px;position:absolute;z-index:30;padding:.95238rem 2.77778vw}.return .icon svg[data-v-0d5a283e]{width:38px;height:38px}.return .icon svg path[data-v-0d5a283e]{fill:#afa2ba!important;stroke:#afa2ba!important;transition:all .1s cubic-bezier(.4,0,.2,1)}.return .icon[data-v-0d5a283e]:hover{cursor:pointer}.return .icon:hover path[data-v-0d5a283e],.return .icon:hover svg[data-v-0d5a283e]{fill:#1ad3d9!important;stroke:#1ad3d9!important}.return .icon:active svg[data-v-0d5a283e]{transform:scale(.9)}',map:void 0,media:void 0})}),{name:"Avatar",components:{CustomizationView:P},props:{
151
158
  /**
152
159
  * ID do personagem.<br>
153
160
  * Example: `57`
@@ -193,6 +200,11 @@ custom_mes:{type:Number,required:!1,default:null},
193
200
  * Example: `Espero que goste de fazer parte dessa aventura. Boa leitura!`
194
201
  */
195
202
  custom_dedicatoria:{type:String,required:!1,default:null},
203
+ /**
204
+ * Mooner.<br>
205
+ * Values: `true` `false`
206
+ */
207
+ custom_mooner:{type:Boolean,required:!1,default:!1},
196
208
  /**
197
209
  * Se a personalização pertence a uma assinatura.<br>
198
210
  * Values: `true` `false`
@@ -216,7 +228,7 @@ builderLayoutId:{type:[Number,String],required:!1},
216
228
  /**
217
229
  * Language utilizado para selecionar o idioma do livro, este parametro deve ser informado na chamada da treelist e na criação do personagem
218
230
  */
219
- language:{type:String,required:!1}},data:function(){return{custom_properties:{}}},computed:{monthsHelper:function(t){switch(t){case 1:return"Janeiro";case 2:return"Fevereiro";case 3:return"Março";case 4:return"Abril";case 5:return"Maio";case 6:return"Junho";case 7:return"Julho";case 8:return"Agosto";case 9:return"Setembro";case 10:return"Outubro";case 11:return"Novembro";case 12:return"Dezembro"}}},created:function(){this.custom_properties={nome:{code:"nome",property_id:24,value:this.name}},this.custom_numero&&(this.custom_properties.numero={code:"numero",property_id:29,value:this.custom_numero}),this.custom_mes&&(this.custom_properties.mes={code:"mes",property_id:38,value:this.custom_mes}),this.custom_dedicatoria&&(this.custom_properties.dedicatoria={code:"dedicatoria",property_id:26,value:this.custom_dedicatoria})},mounted:function(){document.body.style.overflow="hidden";var t=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(t,"px")),this.initiated()},beforeDestroy:function(){document.body.style.overflow="unset"},methods:{initiated:function(){
231
+ language:{type:String,required:!1}},data:function(){return{custom_properties:{}}},computed:{monthsHelper:function(t){switch(t){case 1:return"Janeiro";case 2:return"Fevereiro";case 3:return"Março";case 4:return"Abril";case 5:return"Maio";case 6:return"Junho";case 7:return"Julho";case 8:return"Agosto";case 9:return"Setembro";case 10:return"Outubro";case 11:return"Novembro";case 12:return"Dezembro"}}},created:function(){this.custom_properties={nome:{code:"nome",property_id:24,value:this.name}},this.custom_numero&&(this.custom_properties.numero={code:"numero",property_id:29,value:this.custom_numero}),this.custom_mes&&(this.custom_properties.mes={code:"mes",property_id:38,value:this.custom_mes}),this.custom_dedicatoria&&(this.custom_properties.dedicatoria={code:"dedicatoria",property_id:26,value:this.custom_dedicatoria}),this.custom_mooner&&(this.custom_properties["nome-do-mooner"]={code:"nome-do-mooner",property_id:154,value:"ARIRANHA"})},mounted:function(){document.body.style.overflow="hidden";var t=.01*window.innerHeight;document.documentElement.style.setProperty("--vh","".concat(t,"px")),this.initiated()},beforeDestroy:function(){document.body.style.overflow="unset"},methods:{initiated:function(){
220
232
  /**
221
233
  * Função disparada no `mounted` do componente.
222
234
  */
@@ -228,9 +240,9 @@ this.$emit("started")},completed:function(t){
228
240
  /**
229
241
  * Função disparada ao ser finalizada customização. Recebe um objeto.
230
242
  */
231
- this.$emit("completed",t)}}},"data-v-4ad1344a",!1,void 0,!1,b,void 0,void 0)),N=v({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"loader"},[e("svg",{staticClass:"spinner"},[e("circle",{staticClass:"path",attrs:{cx:"16",cy:"16",r:"13",fill:"none","stroke-width":"5"}})])])},staticRenderFns:[]},(function(t){t&&(t("data-v-6eb9d158_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}',map:void 0,media:void 0}),t("data-v-6eb9d158_1",{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-6eb9d158]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-6eb9d158]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-6eb9d158]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-6eb9d158]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-6eb9d158]{font-size:14px}}@media (min-width:1024px){[data-v-6eb9d158]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-6eb9d158]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-6eb9d158]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-6eb9d158]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-6eb9d158]{font-size:1.56vw}}html[data-v-6eb9d158]{box-sizing:border-box}*[data-v-6eb9d158],[data-v-6eb9d158]::after,[data-v-6eb9d158]::before{box-sizing:border-box}.spinner[data-v-6eb9d158]{animation:rotate-data-v-6eb9d158 2s linear infinite;z-index:2;position:absolute;top:50%;left:50%;margin:-16px 0 0 -16px;width:32px;height:32px}@media (max-width:479px){.spinner[data-v-6eb9d158]{width:24px;height:24px;margin:-12px 0 0 -12px}}.spinner .path[data-v-6eb9d158]{stroke:#12d3db;stroke-linecap:round;animation:dash-data-v-6eb9d158 1.5s ease-in-out infinite}@media (max-width:479px){.spinner .path[data-v-6eb9d158]{width:12px;height:12px;margin:-6px 0 0 -6px;stroke-width:3}}@keyframes rotate-data-v-6eb9d158{100%{transform:rotate(360deg)}}@keyframes dash-data-v-6eb9d158{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}',map:void 0,media:void 0}))}),{name:"Loading",props:{}},"data-v-6eb9d158",!1,void 0,!1,b,void 0,void 0),L=require.context("./icons",!1,/\.svg$/),I=v({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",t._g(t._b({class:["icon","icon-"+t.name,"size-"+t.size],domProps:{innerHTML:t._s(t.svg)}},"span",t.$attrs,!1),t.$listeners))},staticRenderFns:[]},(function(t){t&&t("data-v-16c8daee_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-16c8daee]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-16c8daee]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-16c8daee]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-16c8daee]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-16c8daee]{font-size:14px}}@media (min-width:1024px){[data-v-16c8daee]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-16c8daee]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-16c8daee]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-16c8daee]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-16c8daee]{font-size:1.56vw}}html[data-v-16c8daee]{box-sizing:border-box}*[data-v-16c8daee],[data-v-16c8daee]::after,[data-v-16c8daee]::before{box-sizing:border-box}.icon[data-v-16c8daee] svg{display:block;width:100%}',map:void 0,media:void 0})}),{name:"Icon",props:{name:{type:String},size:{type:String,default:"lg"},stroke:{type:String,default:"transparent"},fill:{type:String,default:"#68596E"}},data:function(){return{
243
+ this.$emit("completed",t)}}},"data-v-0d5a283e",!1,void 0,!1,b,void 0,void 0)),N=v({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"loader"},[e("svg",{staticClass:"spinner"},[e("circle",{staticClass:"path",attrs:{cx:"16",cy:"16",r:"13",fill:"none","stroke-width":"5"}})])])},staticRenderFns:[]},(function(t){t&&(t("data-v-6eb9d158_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}',map:void 0,media:void 0}),t("data-v-6eb9d158_1",{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-6eb9d158]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-6eb9d158]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-6eb9d158]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-6eb9d158]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-6eb9d158]{font-size:14px}}@media (min-width:1024px){[data-v-6eb9d158]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-6eb9d158]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-6eb9d158]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-6eb9d158]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-6eb9d158]{font-size:1.56vw}}html[data-v-6eb9d158]{box-sizing:border-box}*[data-v-6eb9d158],[data-v-6eb9d158]::after,[data-v-6eb9d158]::before{box-sizing:border-box}.spinner[data-v-6eb9d158]{animation:rotate-data-v-6eb9d158 2s linear infinite;z-index:2;position:absolute;top:50%;left:50%;margin:-16px 0 0 -16px;width:32px;height:32px}@media (max-width:479px){.spinner[data-v-6eb9d158]{width:24px;height:24px;margin:-12px 0 0 -12px}}.spinner .path[data-v-6eb9d158]{stroke:#12d3db;stroke-linecap:round;animation:dash-data-v-6eb9d158 1.5s ease-in-out infinite}@media (max-width:479px){.spinner .path[data-v-6eb9d158]{width:12px;height:12px;margin:-6px 0 0 -6px;stroke-width:3}}@keyframes rotate-data-v-6eb9d158{100%{transform:rotate(360deg)}}@keyframes dash-data-v-6eb9d158{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}',map:void 0,media:void 0}))}),{name:"Loading",props:{}},"data-v-6eb9d158",!1,void 0,!1,b,void 0,void 0),I=require.context("./icons",!1,/\.svg$/),L=v({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("span",t._g(t._b({class:["icon","icon-"+t.name,"size-"+t.size],domProps:{innerHTML:t._s(t.svg)}},"span",t.$attrs,!1),t.$listeners))},staticRenderFns:[]},(function(t){t&&t("data-v-16c8daee_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-16c8daee]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-16c8daee]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-16c8daee]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-16c8daee]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-16c8daee]{font-size:14px}}@media (min-width:1024px){[data-v-16c8daee]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-16c8daee]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-16c8daee]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-16c8daee]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-16c8daee]{font-size:1.56vw}}html[data-v-16c8daee]{box-sizing:border-box}*[data-v-16c8daee],[data-v-16c8daee]::after,[data-v-16c8daee]::before{box-sizing:border-box}.icon[data-v-16c8daee] svg{display:block;width:100%}',map:void 0,media:void 0})}),{name:"Icon",props:{name:{type:String},size:{type:String,default:"lg"},stroke:{type:String,default:"transparent"},fill:{type:String,default:"#68596E"}},data:function(){return{
232
244
  // svg: req("./" + this.name + "-"+this.size+".svg")
233
- svg:L("./"+this.name+".svg").replace(/^<svg /,'<svg fill="'.concat(this.fill,'" stroke="').concat(this.stroke?this.stroke:null,'"'))}}},"data-v-16c8daee",!1,void 0,!1,b,void 0,void 0),E=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",t._g(t._b({class:["btn-"+t.kind,"size-"+t.size,"width-"+t.width,{"is-inverted":t.inverted},{"is-disabled":t.disabled},{"is-loading":t.isLoading},{"is-loading-progressive":t.isLoading&&"progressive"===t.loadingType},{"is-loading-progressive-complete":t.isLoadingCompleted&&"progressive"===t.loadingType},t.icon?"icon-"+t.icon:""],style:t.shadowVar,attrs:{disabled:t.disabled}},"button",t.$attrs,!1),t.$listeners),[t.isLoadingCompleteCheck&&"progressive"===t.loadingType?a("span",{staticClass:"icon-complete"},[a("Icon",{attrs:{name:"check",fill:"#fff",stroke:"transparent"}})],1):t._e(),t._v(" "),t.isLoading&&!1===t.isLoadingCompleteCheck&&"progressive"===t.loadingType?a("span",{staticClass:"text"},[t._v(t._s(t.loadingText))]):t._e(),t._v(" "),t.isLoading&&"progressive"===t.loadingType?a("span",{staticClass:"loading-progress"}):t._e(),t._v(" "),t.isLoading&&"spinner"===t.loadingType?a("span",{staticClass:"loading"},[a("Loading")],1):t._e(),t._v(" "),a("div",{staticClass:"slot-content",class:t.isLoading?"text-slot":""},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&(t("data-v-5ee3157a_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}',map:void 0,media:void 0}),t("data-v-5ee3157a_1",{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-5ee3157a]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-5ee3157a]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-5ee3157a]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-5ee3157a]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-5ee3157a]{font-size:14px}}@media (min-width:1024px){[data-v-5ee3157a]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-5ee3157a]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-5ee3157a]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-5ee3157a]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-5ee3157a]{font-size:1.56vw}}html[data-v-5ee3157a]{box-sizing:border-box}*[data-v-5ee3157a],[data-v-5ee3157a]::after,[data-v-5ee3157a]::before{box-sizing:border-box}.btn-primary[data-v-5ee3157a]{transition:all .2s cubic-bezier(.4,0,.2,1);border:500px;background:#12d3db;box-shadow:0 2px 8px rgba(var(--shadow-color),.24);border-radius:500px;position:relative;overflow:hidden;font-family:Nunito,sans-serif;font-weight:900;text-transform:uppercase;font-size:.6666666667rem;color:#fff;line-height:1;min-height:3.0476190476rem}@media (max-width:479px){.btn-primary[data-v-5ee3157a]{font-size:1.308411215rem;min-height:4.4859813084rem}}.btn-primary.width-fluid[data-v-5ee3157a]{width:100%;padding:0 .7619047619rem}.btn-primary.width-fluid.icon-left .icon[data-v-5ee3157a]{left:.7619047619rem}.btn-primary.width-fluid.icon-right .icon[data-v-5ee3157a]{right:.7619047619rem}.btn-primary.width-fluid .icon[data-v-5ee3157a]{position:absolute;margin:auto 0;top:0;bottom:0;display:flex;align-items:center;width:1.1428571429rem;height:1.1428571429rem}@media (max-width:479px){.btn-primary.width-fluid .icon[data-v-5ee3157a]{width:2.2429906542rem;height:2.2429906542rem}}.btn-primary.width-fluid .icon svg[data-v-5ee3157a]{display:block}.btn-primary.width-fluid .icon path[data-v-5ee3157a],.btn-primary.width-fluid .icon svg[data-v-5ee3157a]{fill:#fff}.btn-primary.width-fluid .icon[data-v-5ee3157a] svg,.btn-primary.width-fluid .icon path[data-v-5ee3157a]{fill:#fff}@media (max-width:479px){.btn-primary.width-fluid[data-v-5ee3157a]{min-height:4.4859813084rem;padding:0 .7476635514rem}.btn-primary.width-fluid .icon[data-v-5ee3157a]{right:.7476635514rem}}.btn-primary.width-liquid[data-v-5ee3157a]{padding:1.1428571429rem 1.5238095238rem;width:fit-content}.btn-primary.width-liquid.icon-left[data-v-5ee3157a]{padding-left:2.2857142857rem!important}.btn-primary.width-liquid.icon-left .icon[data-v-5ee3157a]{left:.7619047619rem}.btn-primary.width-liquid.icon-right[data-v-5ee3157a]{padding-right:2.2857142857rem!important}.btn-primary.width-liquid.icon-right .icon[data-v-5ee3157a]{right:.7619047619rem}.btn-primary.width-liquid .icon[data-v-5ee3157a]{position:absolute;margin:auto 0;top:0;bottom:0;display:flex;align-items:center;margin-right:.1904761905rem;width:1.1428571429rem;height:1.1428571429rem}@media (max-width:479px){.btn-primary.width-liquid .icon[data-v-5ee3157a]{width:2.2429906542rem;height:2.2429906542rem}}.btn-primary.width-liquid .icon svg[data-v-5ee3157a]{display:block}.btn-primary.width-liquid .icon path[data-v-5ee3157a],.btn-primary.width-liquid .icon svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-primary.width-liquid .icon[data-v-5ee3157a] svg,.btn-primary.width-liquid .icon path[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}@media (max-width:479px){.btn-primary.width-liquid[data-v-5ee3157a]{min-height:4.4859813084rem;padding:1.4953271028rem 2.2429906542rem}}.btn-primary.width-circle[data-v-5ee3157a]{padding:.7619047619rem;line-height:1}.btn-primary.width-circle svg[data-v-5ee3157a]{display:block;margin:0 auto}.btn-primary.width-circle path[data-v-5ee3157a],.btn-primary.width-circle svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}@media (max-width:479px){.btn-primary.width-circle[data-v-5ee3157a]{width:4.4859813084rem;height:4.4859813084rem}.btn-primary.width-circle svg[data-v-5ee3157a]{width:2.2429906542rem;height:2.2429906542rem}}.btn-primary.is-inverted[data-v-5ee3157a]{background:#fff;color:#12d3db}.btn-primary.is-inverted path[data-v-5ee3157a],.btn-primary.is-inverted svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-primary[data-v-5ee3157a]:hover{cursor:pointer;transform:translateY(-3px);box-shadow:4px 8px 24px rgba(175,162,186,.24)}.btn-primary[data-v-5ee3157a]:active,.btn-primary[data-v-5ee3157a]:focus{outline:0;transform:translateY(3px) scale(.97)}.btn-primary[data-v-5ee3157a]:active:not(.is-inverted),.btn-primary[data-v-5ee3157a]:focus:not(.is-inverted){box-shadow:unset;background:#17b8bc}.btn-primary:active.is-inverted[data-v-5ee3157a],.btn-primary:focus.is-inverted[data-v-5ee3157a]{box-shadow:0 2px 8px rgba(175,162,186,.24)}.btn-primary.is-disabled[data-v-5ee3157a],.btn-primary[disabled][data-v-5ee3157a]{pointer-events:none;background-color:#dfdae4;color:#fff}.btn-primary.is-disabled path[data-v-5ee3157a],.btn-primary.is-disabled svg[data-v-5ee3157a],.btn-primary[disabled] path[data-v-5ee3157a],.btn-primary[disabled] svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-primary.is-loading[data-v-5ee3157a]{pointer-events:none;background-color:#dfffff;color:#fff;transition:all 1s ease-out}.btn-primary.is-loading path[data-v-5ee3157a],.btn-primary.is-loading svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-primary.is-loading-progressive[data-v-5ee3157a]{background-color:#00cf72!important;cursor:wait}.btn-primary.is-loading-progressive .text[data-v-5ee3157a]{position:absolute;z-index:2;width:100%;left:0;height:100%;top:0;display:flex;align-items:center;justify-content:center;transition:all .5s ease;animation:textOpacity-data-v-5ee3157a 1s infinite}@keyframes textOpacity-data-v-5ee3157a{0%,100%{opacity:1}50%{opacity:.4}}.btn-primary.is-loading-progressive .icon[data-v-5ee3157a]{display:none}.btn-primary.is-loading-progressive-complete .icon[data-v-5ee3157a]{position:relative;z-index:2;display:block;width:1.7142857143rem;height:100%;right:auto!important}.btn-primary.is-loading-progressive-complete .icon svg[data-v-5ee3157a]{width:1.5238095238rem;height:1.5238095238rem}.btn-primary.is-loading-progressive-complete .text[data-v-5ee3157a]{position:absolute;opacity:0!important}.btn-secondary[data-v-5ee3157a]{transition:all .2s cubic-bezier(.4,0,.2,1);border:500px;background:#12d3db;border-radius:500px;position:relative;overflow:hidden;font-family:Nunito,sans-serif;font-weight:900;text-transform:uppercase;font-size:.5714285714rem;color:#fff;line-height:1}@media (max-width:479px){.btn-secondary[data-v-5ee3157a]{font-size:1.1214953271rem}}.btn-secondary.size-xl[data-v-5ee3157a]{padding:1.1428571429rem 1.5238095238rem!important;font-size:.6666666667rem}@media (max-width:479px){.btn-secondary.size-xl[data-v-5ee3157a]{padding:2.2429906542rem 2.9906542056rem!important}}@media (max-width:479px){.btn-secondary.size-xl[data-v-5ee3157a]{font-size:1.308411215rem}}.btn-secondary.size-lg[data-v-5ee3157a]{padding:.7619047619rem 1.1428571429rem!important;font-size:.6666666667rem}@media (max-width:479px){.btn-secondary.size-lg[data-v-5ee3157a]{padding:1.4953271028rem 2.2429906542rem!important}}@media (max-width:479px){.btn-secondary.size-lg[data-v-5ee3157a]{font-size:1.308411215rem}}.btn-secondary.size-sm[data-v-5ee3157a]{padding:.7619047619rem!important;font-size:.4761904762rem}@media (max-width:479px){.btn-secondary.size-sm[data-v-5ee3157a]{padding:1.4953271028rem!important}}@media (max-width:479px){.btn-secondary.size-sm[data-v-5ee3157a]{font-size:.9345794393rem}}.btn-secondary.width-fluid[data-v-5ee3157a]{width:100%;padding:.7619047619rem}@media (max-width:479px){.btn-secondary.width-fluid[data-v-5ee3157a]{padding:1.4953271028rem}}.btn-secondary.width-fluid.icon-left .icon[data-v-5ee3157a]{left:.7619047619rem!important}.btn-secondary.width-fluid.icon-right .icon[data-v-5ee3157a]{right:.7619047619rem!important}.btn-secondary.width-fluid .icon[data-v-5ee3157a]{position:absolute;margin:auto 0;top:0;bottom:0;display:flex;align-items:center;width:1.1428571429rem;height:1.1428571429rem}@media (max-width:479px){.btn-secondary.width-fluid .icon[data-v-5ee3157a]{width:2.2429906542rem;height:2.2429906542rem}}.btn-secondary.width-fluid .icon svg[data-v-5ee3157a]{display:block}.btn-secondary.width-fluid .icon path[data-v-5ee3157a],.btn-secondary.width-fluid .icon svg[data-v-5ee3157a]{fill:#fff}.btn-secondary.width-fluid .icon[data-v-5ee3157a] svg,.btn-secondary.width-fluid .icon path[data-v-5ee3157a]{fill:#fff}.btn-secondary.width-liquid[data-v-5ee3157a]{padding:.7619047619rem 1.1428571429rem;width:fit-content}@media (max-width:479px){.btn-secondary.width-liquid[data-v-5ee3157a]{padding:1.4953271028rem 2.2429906542rem}}.btn-secondary.width-liquid.icon-left[data-v-5ee3157a]{padding-left:2.2857142857rem!important}.btn-secondary.width-liquid.icon-left .icon[data-v-5ee3157a]{left:.7619047619rem}.btn-secondary.width-liquid.icon-right[data-v-5ee3157a]{padding-right:2.2857142857rem!important}.btn-secondary.width-liquid.icon-right .icon[data-v-5ee3157a]{right:.7619047619rem}.btn-secondary.width-liquid .icon[data-v-5ee3157a]{position:absolute;margin:auto 0;top:0;bottom:0;display:flex;align-items:center;margin-right:.1904761905rem;width:1.1428571429rem;height:1.1428571429rem}.btn-secondary.width-liquid .icon svg[data-v-5ee3157a]{display:block}.btn-secondary.width-liquid .icon path[data-v-5ee3157a],.btn-secondary.width-liquid .icon svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-secondary.width-liquid .icon[data-v-5ee3157a] svg,.btn-secondary.width-liquid .icon path[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-secondary.width-circle[data-v-5ee3157a]{line-height:1;width:2.0952380952rem;height:2.0952380952rem;display:flex;align-items:center;justify-content:center}@media (max-width:479px){.btn-secondary.width-circle[data-v-5ee3157a]{width:4.1121495327rem;height:4.1121495327rem}}.btn-secondary.width-circle[data-v-5ee3157a] svg{display:block;margin:0 auto;width:1.3333333333rem;height:1.3333333333rem}@media (max-width:479px){.btn-secondary.width-circle[data-v-5ee3157a] svg{width:2.6168224299rem;height:2.6168224299rem}}.btn-secondary.width-circle path[data-v-5ee3157a],.btn-secondary.width-circle svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-secondary.is-inverted[data-v-5ee3157a]{background:#fff;color:#12d3db}.btn-secondary.is-inverted path[data-v-5ee3157a],.btn-secondary.is-inverted svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-secondary[data-v-5ee3157a]:hover{cursor:pointer}.btn-secondary[data-v-5ee3157a]:hover:not(.is-inverted){background:#17b8bc}.btn-secondary:hover.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-secondary[data-v-5ee3157a]:active,.btn-secondary[data-v-5ee3157a]:focus{outline:0}.btn-secondary[data-v-5ee3157a]:active:not(.is-inverted),.btn-secondary[data-v-5ee3157a]:focus:not(.is-inverted){background:#17b8bc}.btn-secondary:active.is-inverted[data-v-5ee3157a],.btn-secondary:focus.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-secondary.is-disabled[data-v-5ee3157a],.btn-secondary[disabled][data-v-5ee3157a]{pointer-events:none;background-color:#dfdae4;color:#fff}.btn-secondary.is-disabled path[data-v-5ee3157a],.btn-secondary.is-disabled svg[data-v-5ee3157a],.btn-secondary[disabled] path[data-v-5ee3157a],.btn-secondary[disabled] svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-secondary.is-loading[data-v-5ee3157a]{pointer-events:none;background-color:#dfffff;color:#fff;transition:all 1s ease-out}.btn-secondary.is-loading path[data-v-5ee3157a],.btn-secondary.is-loading svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-secondary.is-loading-progressive[data-v-5ee3157a]{background-color:#00cf72!important;cursor:wait;color:#fff!important;-webkit-transition:color 0s ease-in!important;-moz-transition:color 0s ease-in!important;-o-transition:color 0s ease-in!important;transition:color 0s ease-in!important}.btn-secondary.is-loading-progressive .slot-content span[data-v-5ee3157a]{color:#fff!important;-webkit-transition:color 0s ease-in!important;-moz-transition:color 0s ease-in!important;-o-transition:color 0s ease-in!important;transition:color 0s ease-in!important}.btn-secondary.is-loading-progressive .text[data-v-5ee3157a]{z-index:2;position:absolute;transition:all .5s ease;animation:textOpacity-data-v-5ee3157a 1s infinite;width:100%;left:0;color:#fff!important;-webkit-transition:color 0s ease-in!important;-moz-transition:color 0s ease-in!important;-o-transition:color 0s ease-in!important;transition:color 0s ease-in!important}@keyframes textOpacity-data-v-5ee3157a{0%,100%{opacity:1}50%{opacity:.4}}.btn-secondary.is-loading-progressive .icon[data-v-5ee3157a]{display:none}.btn-secondary.is-loading-progressive-complete[data-v-5ee3157a]{cursor:wait}.btn-secondary.is-loading-progressive-complete .text[data-v-5ee3157a]{position:absolute;opacity:0!important}.btn-secondary.is-loading-progressive-complete .icon[data-v-5ee3157a]{position:relative;z-index:2;display:block;width:1.7142857143rem;height:1.7142857143rem;right:auto!important}.btn-secondary.is-loading-progressive-complete .icon svg[data-v-5ee3157a]{width:1.5238095238rem;height:1.5238095238rem}.btn-ghost[data-v-5ee3157a]{transition:all .2s cubic-bezier(.4,0,.2,1);background:0 0;border-radius:500px;border:1px solid #12d3db;position:relative;overflow:hidden;font-family:Nunito,sans-serif;font-weight:900;text-transform:uppercase;font-size:.5714285714rem;color:#12d3db;line-height:1;align-items:center;text-align:center;justify-content:center}.btn-ghost span[data-v-5ee3157a]{text-align:center}@media (max-width:479px){.btn-ghost[data-v-5ee3157a]{font-size:1.1214953271rem}}.btn-ghost.size-xl[data-v-5ee3157a]{height:3.0476190476rem;padding:0 1.9047619048rem!important;font-size:.6666666667rem}@media (max-width:479px){.btn-ghost.size-xl[data-v-5ee3157a]{height:5.9813084112rem;padding:0 3.738317757rem!important;font-size:1.308411215rem}.btn-ghost.size-xl.icon-left .icon[data-v-5ee3157a]{margin-right:.3738317757rem!important}.btn-ghost.size-xl.icon-right .icon[data-v-5ee3157a]{margin-left:.3738317757rem!important}}.btn-ghost.size-lg[data-v-5ee3157a]{height:2.2857142857rem;padding:0 1.5238095238rem!important;font-size:.6666666667rem}@media (max-width:479px){.btn-ghost.size-lg[data-v-5ee3157a]{height:4.4859813084rem;padding:0 2.9906542056rem!important;font-size:1.308411215rem}.btn-ghost.size-lg.icon-left .icon[data-v-5ee3157a]{margin-right:.3738317757rem!important}.btn-ghost.size-lg.icon-right .icon[data-v-5ee3157a]{margin-left:.3738317757rem!important}}.btn-ghost.size-md[data-v-5ee3157a]{padding:0 1.1428571429rem;height:2.0952380952rem;font-size:.5714285714rem}@media (max-width:479px){.btn-ghost.size-md[data-v-5ee3157a]{height:4.1121495327rem;font-size:1.1214953271rem;padding:0 2.2429906542rem!important}.btn-ghost.size-md.icon-left .icon[data-v-5ee3157a]{margin-right:.3738317757rem!important}.btn-ghost.size-md.icon-right .icon[data-v-5ee3157a]{margin-left:.3738317757rem!important}}.btn-ghost.size-sm[data-v-5ee3157a]{height:2rem;padding:0 .7619047619rem!important;font-size:.4761904762rem}@media (max-width:479px){.btn-ghost.size-sm[data-v-5ee3157a]{height:3.9252336449rem;font-size:.9345794393rem;padding:0 1.4953271028rem!important}.btn-ghost.size-sm.icon-left .icon[data-v-5ee3157a]{margin-right:.3738317757rem!important}.btn-ghost.size-sm.icon-right .icon[data-v-5ee3157a]{margin-left:.3738317757rem!important}}.btn-ghost.width-fluid[data-v-5ee3157a]{width:100%}.btn-ghost.width-fluid.icon-left[data-v-5ee3157a]{position:relative}.btn-ghost.width-fluid.icon-left .icon[data-v-5ee3157a]{left:0}.btn-ghost.width-fluid.icon-left.size-md[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-md .icon[data-v-5ee3157a]{margin-left:.7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-sm[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-sm .icon[data-v-5ee3157a]{margin-left:.7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-lg[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-lg .icon[data-v-5ee3157a]{margin-left:.7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-xl[data-v-5ee3157a]{padding:0 1.1428571429rem!important}.btn-ghost.width-fluid.icon-left.size-xl .icon[data-v-5ee3157a]{margin-left:1.1428571429rem!important}.btn-ghost.width-fluid.icon-right[data-v-5ee3157a]{position:relative}.btn-ghost.width-fluid.icon-right .icon[data-v-5ee3157a]{right:0}.btn-ghost.width-fluid.icon-right.size-md[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-md .icon[data-v-5ee3157a]{margin-right:.7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-sm[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-sm .icon[data-v-5ee3157a]{margin-right:.7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-lg[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-lg .icon[data-v-5ee3157a]{margin-right:.7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-xl[data-v-5ee3157a]{padding:0 1.1428571429rem!important}.btn-ghost.width-fluid.icon-right.size-xl .icon[data-v-5ee3157a]{margin-right:1.1428571429rem!important}.btn-ghost.width-fluid .icon[data-v-5ee3157a]{display:flex;justify-content:center;position:absolute;align-items:center;top:0;bottom:0;margin:auto 0;width:1.3333333333rem;height:1.3333333333rem}@media (max-width:479px){.btn-ghost.width-fluid .icon[data-v-5ee3157a]{width:2.6168224299rem;height:2.6168224299rem}}.btn-ghost.width-fluid .icon svg[data-v-5ee3157a]{display:block}.btn-ghost.width-fluid .icon path[data-v-5ee3157a],.btn-ghost.width-fluid .icon svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-ghost.width-fluid .icon[data-v-5ee3157a] svg,.btn-ghost.width-fluid .icon path[data-v-5ee3157a]{width:24px;fill:#12d3db;stroke:transparent}@media (max-width:479px){.btn-ghost.width-fluid[data-v-5ee3157a]{padding:1.4953271028rem}.btn-ghost.width-fluid .icon[data-v-5ee3157a]{width:2.2429906542rem;height:2.2429906542rem}.btn-ghost.width-fluid.icon-right .icon[data-v-5ee3157a]{right:0}.btn-ghost.width-fluid.icon-right.size-md[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-right.size-md .icon[data-v-5ee3157a]{margin-right:2.2429906542rem!important}.btn-ghost.width-fluid.icon-right.size-sm[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-right.size-sm .icon[data-v-5ee3157a]{margin-right:1.4953271028rem!important}.btn-ghost.width-fluid.icon-right.size-lg[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-right.size-lg .icon[data-v-5ee3157a]{margin-right:1.4953271028rem!important}.btn-ghost.width-fluid.icon-right.size-xl[data-v-5ee3157a]{padding:0 2.2429906542rem!important}.btn-ghost.width-fluid.icon-right.size-xl .icon[data-v-5ee3157a]{margin-right:2.2429906542rem!important}.btn-ghost.width-fluid.icon-left .icon[data-v-5ee3157a]{left:0}.btn-ghost.width-fluid.icon-left.size-md[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-md .icon[data-v-5ee3157a]{margin-left:1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-sm[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-sm .icon[data-v-5ee3157a]{margin-left:1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-lg[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-lg .icon[data-v-5ee3157a]{margin-left:1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-xl[data-v-5ee3157a]{padding:0 2.2429906542rem!important}.btn-ghost.width-fluid.icon-left.size-xl .icon[data-v-5ee3157a]{margin-left:2.2429906542rem!important}}.btn-ghost.width-liquid[data-v-5ee3157a]{width:fit-content;display:flex}.btn-ghost.width-liquid .slot-content[data-v-5ee3157a]{display:flex;align-items:center}.btn-ghost.width-liquid .icon[data-v-5ee3157a]{display:flex;justify-content:center;align-items:center;width:1.3333333333rem;height:1.3333333333rem}.btn-ghost.width-liquid .icon svg[data-v-5ee3157a]{display:block}.btn-ghost.width-liquid .icon path[data-v-5ee3157a],.btn-ghost.width-liquid .icon svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-ghost.width-liquid .icon[data-v-5ee3157a] svg,.btn-ghost.width-liquid .icon path[data-v-5ee3157a]{width:24px;fill:#12d3db;stroke:transparent}@media (max-width:479px){.btn-ghost.width-liquid .icon[data-v-5ee3157a]{width:2.6168224299rem;height:2.6168224299rem}}.btn-ghost.width-circle[data-v-5ee3157a]{padding:.380952381rem;line-height:1;width:2.0952380952rem;height:2.0952380952rem;display:flex;align-items:center;justify-content:center}@media (max-width:479px){.btn-ghost.width-circle[data-v-5ee3157a]{width:4.1121495327rem;height:4.1121495327rem}}.btn-ghost.width-circle svg[data-v-5ee3157a]{display:block;margin:0 auto;width:1.3333333333rem;height:1.3333333333rem}@media (max-width:479px){.btn-ghost.width-circle svg[data-v-5ee3157a]{width:2.6168224299rem;height:2.6168224299rem}}.btn-ghost.width-circle path[data-v-5ee3157a],.btn-ghost.width-circle svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-ghost.is-inverted[data-v-5ee3157a]{border-color:#fff;color:#fff}.btn-ghost.is-inverted path[data-v-5ee3157a],.btn-ghost.is-inverted svg[data-v-5ee3157a]{fill:#fff;stroke:#fff}.btn-ghost[data-v-5ee3157a]:hover{cursor:pointer}.btn-ghost[data-v-5ee3157a]:hover:not(.is-inverted){border-color:#17b8bc;color:#17b8bc}.btn-ghost[data-v-5ee3157a]:hover:not(.is-inverted) svg,.btn-ghost:hover:not(.is-inverted) path[data-v-5ee3157a]{fill:#17b8bc!important;stroke:transparent!important}.btn-ghost:hover:not(.is-inverted) path[data-v-5ee3157a],.btn-ghost:hover:not(.is-inverted) svg[data-v-5ee3157a]{fill:#17b8bc;stroke:transparent}.btn-ghost:hover.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-ghost[data-v-5ee3157a]:active,.btn-ghost[data-v-5ee3157a]:focus{outline:0}.btn-ghost[data-v-5ee3157a]:active:not(.is-inverted),.btn-ghost[data-v-5ee3157a]:focus:not(.is-inverted){border-color:#17b8bc;color:#17b8bc}.btn-ghost:active.is-inverted[data-v-5ee3157a],.btn-ghost:focus.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-ghost.is-loading[data-v-5ee3157a]{pointer-events:none;background-color:#dfffff;color:#fff;border-color:#dfffff;transition:all 1s ease-out}.btn-ghost.is-loading path[data-v-5ee3157a],.btn-ghost.is-loading svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-ghost.is-loading-progressive[data-v-5ee3157a]{background-color:#00cf72!important;cursor:wait}.btn-ghost.is-loading-progressive .text[data-v-5ee3157a]{z-index:2;position:absolute;transition:all .5s ease;animation:textOpacity-data-v-5ee3157a 1s infinite;width:100%;left:0;color:#fff!important;-webkit-transition:color 0s ease-in!important;-moz-transition:color 0s ease-in!important;-o-transition:color 0s ease-in!important;transition:color 0s ease-in!important}@keyframes textOpacity-data-v-5ee3157a{0%,100%{opacity:1}50%{opacity:.4}}.btn-ghost.is-loading-progressive .icon[data-v-5ee3157a]{display:none}.btn-ghost.is-loading-progressive-complete[data-v-5ee3157a]{cursor:wait}.btn-ghost.is-loading-progressive-complete .icon[data-v-5ee3157a]{position:relative;z-index:2;display:block;width:1.7142857143rem;height:1.7142857143rem;right:auto!important}.btn-ghost.is-loading-progressive-complete .icon svg[data-v-5ee3157a]{width:1.5238095238rem;height:1.5238095238rem}.btn-ghost.is-loading-progressive-complete .text[data-v-5ee3157a]{position:absolute;opacity:0!important}.btn-link[data-v-5ee3157a]{transition:all .2s cubic-bezier(.4,0,.2,1);background:0 0;border:0;position:relative;overflow:hidden;font-family:Nunito,sans-serif;font-weight:900;text-transform:uppercase;font-size:.5714285714rem;color:#12d3db;line-height:1}@media (max-width:479px){.btn-link[data-v-5ee3157a]{font-size:1.1214953271rem}}.btn-link.size-xl[data-v-5ee3157a]{font-size:.6666666667rem}@media (max-width:479px){.btn-link.size-xl[data-v-5ee3157a]{font-size:1.308411215rem}}.btn-link.size-lg[data-v-5ee3157a]{font-size:.6666666667rem}@media (max-width:479px){.btn-link.size-lg[data-v-5ee3157a]{font-size:1.308411215rem}}.btn-link.size-sm[data-v-5ee3157a]{font-size:.4761904762rem}@media (max-width:479px){.btn-link.size-sm[data-v-5ee3157a]{font-size:.9345794393rem}}.btn-link.width-fluid[data-v-5ee3157a]{width:100%}.btn-link.width-circle[data-v-5ee3157a]{padding:.380952381rem;line-height:1;width:2.0952380952rem;height:2.0952380952rem;display:flex;align-items:center;justify-content:center}@media (max-width:479px){.btn-link.width-circle[data-v-5ee3157a]{width:4.1121495327rem;height:4.1121495327rem}}.btn-link.width-circle svg[data-v-5ee3157a]{display:block;margin:0 auto;width:1.3333333333rem;height:1.3333333333rem}@media (max-width:479px){.btn-link.width-circle svg[data-v-5ee3157a]{width:2.6168224299rem;height:2.6168224299rem}}.btn-link.width-circle path[data-v-5ee3157a],.btn-link.width-circle svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-link.is-inverted[data-v-5ee3157a]{color:#fff}.btn-link.is-inverted path[data-v-5ee3157a],.btn-link.is-inverted svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-link[data-v-5ee3157a]:hover{cursor:pointer}.btn-link[data-v-5ee3157a]:hover:not(.is-inverted){color:#17b8bc}.btn-link:hover.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-link[data-v-5ee3157a]:active,.btn-link[data-v-5ee3157a]:focus{outline:0}.btn-link[data-v-5ee3157a]:active:not(.is-inverted),.btn-link[data-v-5ee3157a]:focus:not(.is-inverted){color:#17b8bc}.btn-link:active.is-inverted[data-v-5ee3157a],.btn-link:focus.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-link.is-disabled[data-v-5ee3157a],.btn-link[disabled][data-v-5ee3157a]{pointer-events:none;color:#dfdae4;opacity:.48}.btn-link.is-disabled path[data-v-5ee3157a],.btn-link.is-disabled svg[data-v-5ee3157a],.btn-link[disabled] path[data-v-5ee3157a],.btn-link[disabled] svg[data-v-5ee3157a]{fill:#dfdae4;stroke:transparent}.loading[data-v-5ee3157a]{position:absolute;width:32px;height:32px;display:block;margin:0 auto;top:0;bottom:0;left:0;right:0;margin-top:auto;margin-bottom:auto}@media (max-width:479px){.loading[data-v-5ee3157a]{width:24px;height:24px}}.loading-progress[data-v-5ee3157a]{width:0%;height:100%;transition:all 1s ease-out;position:absolute;background-color:#00b664;left:0;top:0}.is-loading-progressive .loading-progress[data-v-5ee3157a]{width:44%;-webkit-animation:3s loadingPosition-data-v-5ee3157a;-moz-animation:3s loadingPosition-data-v-5ee3157a;animation:3s loadingPosition-data-v-5ee3157a;transition:3s}.is-loading-progressive-complete[data-v-5ee3157a]{justify-content:center;text-align:center;transition:3s!important}.is-loading-progressive-complete .loading-progress[data-v-5ee3157a]{width:100%;-webkit-animation:3s loadingCompleted-data-v-5ee3157a;-moz-animation:3s loadingCompleted-data-v-5ee3157a;animation:3s loadingCompleted-data-v-5ee3157a}.is-loading-progressive-complete .icon-complete[data-v-5ee3157a]{display:flex;width:inherit;justify-content:center;margin:0 auto;position:absolute;left:0;right:0;margin-left:auto;margin-right:auto;text-align:center;top:0;bottom:0;align-items:center}.is-loading-progressive-complete .icon-complete[data-v-5ee3157a] span{width:1.1428571429rem;display:flex!important}@media (max-width:479px){.is-loading-progressive-complete .icon-complete[data-v-5ee3157a] span{width:2.2429906542rem}}.is-loading-progressive-complete .icon-complete[data-v-5ee3157a] svg{width:1.1428571429rem!important;fill:#fff}@media (max-width:479px){.is-loading-progressive-complete .icon-complete[data-v-5ee3157a] svg{width:2.2429906542rem!important}}.is-loading-progressive-complete .icon-complete[data-v-5ee3157a] svg path{fill:#fff}.is-loading-progressive-complete .text[data-v-5ee3157a]{position:absolute;opacity:0!important}.is-loading-progressive-complete .text-slot .icon[data-v-5ee3157a]{display:none}@keyframes loadingZeroToComplete-data-v-5ee3157a{0%{width:0}100%{width:100%}}@keyframes loadingPosition-data-v-5ee3157a{0%{width:0}100%{width:33%}}@keyframes loadingCompleted-data-v-5ee3157a{0%{width:44%}100%{width:100%}}[data-v-5ee3157a] .text-slot{opacity:0}[data-v-5ee3157a] .text-slot .icon{display:none}',map:void 0,media:void 0}))}),{name:"Button",components:{Loading:N,Icon:I},props:{
245
+ svg:I("./"+this.name+".svg").replace(/^<svg /,'<svg fill="'.concat(this.fill,'" stroke="').concat(this.stroke?this.stroke:null,'"'))}}},"data-v-16c8daee",!1,void 0,!1,b,void 0,void 0),E=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("button",t._g(t._b({class:["btn-"+t.kind,"size-"+t.size,"width-"+t.width,{"is-inverted":t.inverted},{"is-disabled":t.disabled},{"is-loading":t.isLoading},{"is-loading-progressive":t.isLoading&&"progressive"===t.loadingType},{"is-loading-progressive-complete":t.isLoadingCompleted&&"progressive"===t.loadingType},t.icon?"icon-"+t.icon:""],style:t.shadowVar,attrs:{disabled:t.disabled}},"button",t.$attrs,!1),t.$listeners),[t.isLoadingCompleteCheck&&"progressive"===t.loadingType?a("span",{staticClass:"icon-complete"},[a("Icon",{attrs:{name:"check",fill:"#fff",stroke:"transparent"}})],1):t._e(),t._v(" "),t.isLoading&&!1===t.isLoadingCompleteCheck&&"progressive"===t.loadingType?a("span",{staticClass:"text"},[t._v(t._s(t.loadingText))]):t._e(),t._v(" "),t.isLoading&&"progressive"===t.loadingType?a("span",{staticClass:"loading-progress"}):t._e(),t._v(" "),t.isLoading&&"spinner"===t.loadingType?a("span",{staticClass:"loading"},[a("Loading")],1):t._e(),t._v(" "),a("div",{staticClass:"slot-content",class:t.isLoading?"text-slot":""},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&(t("data-v-5ee3157a_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}',map:void 0,media:void 0}),t("data-v-5ee3157a_1",{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-5ee3157a]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-5ee3157a]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-5ee3157a]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-5ee3157a]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-5ee3157a]{font-size:14px}}@media (min-width:1024px){[data-v-5ee3157a]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-5ee3157a]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-5ee3157a]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-5ee3157a]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-5ee3157a]{font-size:1.56vw}}html[data-v-5ee3157a]{box-sizing:border-box}*[data-v-5ee3157a],[data-v-5ee3157a]::after,[data-v-5ee3157a]::before{box-sizing:border-box}.btn-primary[data-v-5ee3157a]{transition:all .2s cubic-bezier(.4,0,.2,1);border:500px;background:#12d3db;box-shadow:0 2px 8px rgba(var(--shadow-color),.24);border-radius:500px;position:relative;overflow:hidden;font-family:Nunito,sans-serif;font-weight:900;text-transform:uppercase;font-size:.6666666667rem;color:#fff;line-height:1;min-height:3.0476190476rem}@media (max-width:479px){.btn-primary[data-v-5ee3157a]{font-size:1.308411215rem;min-height:4.4859813084rem}}.btn-primary.width-fluid[data-v-5ee3157a]{width:100%;padding:0 .7619047619rem}.btn-primary.width-fluid.icon-left .icon[data-v-5ee3157a]{left:.7619047619rem}.btn-primary.width-fluid.icon-right .icon[data-v-5ee3157a]{right:.7619047619rem}.btn-primary.width-fluid .icon[data-v-5ee3157a]{position:absolute;margin:auto 0;top:0;bottom:0;display:flex;align-items:center;width:1.1428571429rem;height:1.1428571429rem}@media (max-width:479px){.btn-primary.width-fluid .icon[data-v-5ee3157a]{width:2.2429906542rem;height:2.2429906542rem}}.btn-primary.width-fluid .icon svg[data-v-5ee3157a]{display:block}.btn-primary.width-fluid .icon path[data-v-5ee3157a],.btn-primary.width-fluid .icon svg[data-v-5ee3157a]{fill:#fff}.btn-primary.width-fluid .icon[data-v-5ee3157a] svg,.btn-primary.width-fluid .icon path[data-v-5ee3157a]{fill:#fff}@media (max-width:479px){.btn-primary.width-fluid[data-v-5ee3157a]{min-height:4.4859813084rem;padding:0 .7476635514rem}.btn-primary.width-fluid .icon[data-v-5ee3157a]{right:.7476635514rem}}.btn-primary.width-liquid[data-v-5ee3157a]{padding:1.1428571429rem 1.5238095238rem;width:fit-content}.btn-primary.width-liquid.icon-left[data-v-5ee3157a]{padding-left:2.2857142857rem!important}.btn-primary.width-liquid.icon-left .icon[data-v-5ee3157a]{left:.7619047619rem}.btn-primary.width-liquid.icon-right[data-v-5ee3157a]{padding-right:2.2857142857rem!important}.btn-primary.width-liquid.icon-right .icon[data-v-5ee3157a]{right:.7619047619rem}.btn-primary.width-liquid .icon[data-v-5ee3157a]{position:absolute;margin:auto 0;top:0;bottom:0;display:flex;align-items:center;margin-right:.1904761905rem;width:1.1428571429rem;height:1.1428571429rem}@media (max-width:479px){.btn-primary.width-liquid .icon[data-v-5ee3157a]{width:2.2429906542rem;height:2.2429906542rem}}.btn-primary.width-liquid .icon svg[data-v-5ee3157a]{display:block}.btn-primary.width-liquid .icon path[data-v-5ee3157a],.btn-primary.width-liquid .icon svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-primary.width-liquid .icon[data-v-5ee3157a] svg,.btn-primary.width-liquid .icon path[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}@media (max-width:479px){.btn-primary.width-liquid[data-v-5ee3157a]{min-height:4.4859813084rem;padding:1.4953271028rem 2.2429906542rem}}.btn-primary.width-circle[data-v-5ee3157a]{padding:.7619047619rem;line-height:1}.btn-primary.width-circle svg[data-v-5ee3157a]{display:block;margin:0 auto}.btn-primary.width-circle path[data-v-5ee3157a],.btn-primary.width-circle svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}@media (max-width:479px){.btn-primary.width-circle[data-v-5ee3157a]{width:4.4859813084rem;height:4.4859813084rem}.btn-primary.width-circle svg[data-v-5ee3157a]{width:2.2429906542rem;height:2.2429906542rem}}.btn-primary.is-inverted[data-v-5ee3157a]{background:#fff;color:#12d3db}.btn-primary.is-inverted path[data-v-5ee3157a],.btn-primary.is-inverted svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-primary[data-v-5ee3157a]:hover{cursor:pointer;transform:translateY(-3px);box-shadow:4px 8px 24px rgba(175,162,186,.24)}.btn-primary[data-v-5ee3157a]:active,.btn-primary[data-v-5ee3157a]:focus{outline:0;transform:translateY(3px) scale(.97)}.btn-primary[data-v-5ee3157a]:active:not(.is-inverted),.btn-primary[data-v-5ee3157a]:focus:not(.is-inverted){box-shadow:unset;background:#17b8bc}.btn-primary:active.is-inverted[data-v-5ee3157a],.btn-primary:focus.is-inverted[data-v-5ee3157a]{box-shadow:0 2px 8px rgba(175,162,186,.24)}.btn-primary.is-disabled[data-v-5ee3157a],.btn-primary[disabled][data-v-5ee3157a]{pointer-events:none;background-color:#dfdae4;color:#fff}.btn-primary.is-disabled path[data-v-5ee3157a],.btn-primary.is-disabled svg[data-v-5ee3157a],.btn-primary[disabled] path[data-v-5ee3157a],.btn-primary[disabled] svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-primary.is-loading[data-v-5ee3157a]{pointer-events:none;background-color:#dfffff;color:#fff;transition:all 1s ease-out}.btn-primary.is-loading path[data-v-5ee3157a],.btn-primary.is-loading svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-primary.is-loading-progressive[data-v-5ee3157a]{background-color:#00cf72!important;cursor:wait}.btn-primary.is-loading-progressive .text[data-v-5ee3157a]{position:absolute;z-index:2;width:100%;left:0;height:100%;top:0;display:flex;align-items:center;justify-content:center;transition:all .5s ease;animation:textOpacity-data-v-5ee3157a 1s infinite}@keyframes textOpacity-data-v-5ee3157a{0%,100%{opacity:1}50%{opacity:.4}}.btn-primary.is-loading-progressive .icon[data-v-5ee3157a]{display:none}.btn-primary.is-loading-progressive-complete .icon[data-v-5ee3157a]{position:relative;z-index:2;display:block;width:1.7142857143rem;height:100%;right:auto!important}.btn-primary.is-loading-progressive-complete .icon svg[data-v-5ee3157a]{width:1.5238095238rem;height:1.5238095238rem}.btn-primary.is-loading-progressive-complete .text[data-v-5ee3157a]{position:absolute;opacity:0!important}.btn-secondary[data-v-5ee3157a]{transition:all .2s cubic-bezier(.4,0,.2,1);border:500px;background:#12d3db;border-radius:500px;position:relative;overflow:hidden;font-family:Nunito,sans-serif;font-weight:900;text-transform:uppercase;font-size:.5714285714rem;color:#fff;line-height:1}@media (max-width:479px){.btn-secondary[data-v-5ee3157a]{font-size:1.1214953271rem}}.btn-secondary.size-xl[data-v-5ee3157a]{padding:1.1428571429rem 1.5238095238rem!important;font-size:.6666666667rem}@media (max-width:479px){.btn-secondary.size-xl[data-v-5ee3157a]{padding:2.2429906542rem 2.9906542056rem!important}}@media (max-width:479px){.btn-secondary.size-xl[data-v-5ee3157a]{font-size:1.308411215rem}}.btn-secondary.size-lg[data-v-5ee3157a]{padding:.7619047619rem 1.1428571429rem!important;font-size:.6666666667rem}@media (max-width:479px){.btn-secondary.size-lg[data-v-5ee3157a]{padding:1.4953271028rem 2.2429906542rem!important}}@media (max-width:479px){.btn-secondary.size-lg[data-v-5ee3157a]{font-size:1.308411215rem}}.btn-secondary.size-sm[data-v-5ee3157a]{padding:.7619047619rem!important;font-size:.4761904762rem}@media (max-width:479px){.btn-secondary.size-sm[data-v-5ee3157a]{padding:1.4953271028rem!important}}@media (max-width:479px){.btn-secondary.size-sm[data-v-5ee3157a]{font-size:.9345794393rem}}.btn-secondary.width-fluid[data-v-5ee3157a]{width:100%;padding:.7619047619rem}@media (max-width:479px){.btn-secondary.width-fluid[data-v-5ee3157a]{padding:1.4953271028rem}}.btn-secondary.width-fluid.icon-left .icon[data-v-5ee3157a]{left:.7619047619rem!important}.btn-secondary.width-fluid.icon-right .icon[data-v-5ee3157a]{right:.7619047619rem!important}.btn-secondary.width-fluid .icon[data-v-5ee3157a]{position:absolute;margin:auto 0;top:0;bottom:0;display:flex;align-items:center;width:1.1428571429rem;height:1.1428571429rem}@media (max-width:479px){.btn-secondary.width-fluid .icon[data-v-5ee3157a]{width:2.2429906542rem;height:2.2429906542rem}}.btn-secondary.width-fluid .icon svg[data-v-5ee3157a]{display:block}.btn-secondary.width-fluid .icon path[data-v-5ee3157a],.btn-secondary.width-fluid .icon svg[data-v-5ee3157a]{fill:#fff}.btn-secondary.width-fluid .icon[data-v-5ee3157a] svg,.btn-secondary.width-fluid .icon path[data-v-5ee3157a]{fill:#fff}.btn-secondary.width-liquid[data-v-5ee3157a]{padding:.7619047619rem 1.1428571429rem;width:fit-content}@media (max-width:479px){.btn-secondary.width-liquid[data-v-5ee3157a]{padding:1.4953271028rem 2.2429906542rem}}.btn-secondary.width-liquid.icon-left[data-v-5ee3157a]{padding-left:2.2857142857rem!important}.btn-secondary.width-liquid.icon-left .icon[data-v-5ee3157a]{left:.7619047619rem}.btn-secondary.width-liquid.icon-right[data-v-5ee3157a]{padding-right:2.2857142857rem!important}.btn-secondary.width-liquid.icon-right .icon[data-v-5ee3157a]{right:.7619047619rem}.btn-secondary.width-liquid .icon[data-v-5ee3157a]{position:absolute;margin:auto 0;top:0;bottom:0;display:flex;align-items:center;margin-right:.1904761905rem;width:1.1428571429rem;height:1.1428571429rem}.btn-secondary.width-liquid .icon svg[data-v-5ee3157a]{display:block}.btn-secondary.width-liquid .icon path[data-v-5ee3157a],.btn-secondary.width-liquid .icon svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-secondary.width-liquid .icon[data-v-5ee3157a] svg,.btn-secondary.width-liquid .icon path[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-secondary.width-circle[data-v-5ee3157a]{line-height:1;width:2.0952380952rem;height:2.0952380952rem;display:flex;align-items:center;justify-content:center}@media (max-width:479px){.btn-secondary.width-circle[data-v-5ee3157a]{width:4.1121495327rem;height:4.1121495327rem}}.btn-secondary.width-circle[data-v-5ee3157a] svg{display:block;margin:0 auto;width:1.3333333333rem;height:1.3333333333rem}@media (max-width:479px){.btn-secondary.width-circle[data-v-5ee3157a] svg{width:2.6168224299rem;height:2.6168224299rem}}.btn-secondary.width-circle path[data-v-5ee3157a],.btn-secondary.width-circle svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-secondary.is-inverted[data-v-5ee3157a]{background:#fff;color:#12d3db}.btn-secondary.is-inverted path[data-v-5ee3157a],.btn-secondary.is-inverted svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-secondary[data-v-5ee3157a]:hover{cursor:pointer}.btn-secondary[data-v-5ee3157a]:hover:not(.is-inverted){background:#17b8bc}.btn-secondary:hover.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-secondary[data-v-5ee3157a]:active,.btn-secondary[data-v-5ee3157a]:focus{outline:0}.btn-secondary[data-v-5ee3157a]:active:not(.is-inverted),.btn-secondary[data-v-5ee3157a]:focus:not(.is-inverted){background:#17b8bc}.btn-secondary:active.is-inverted[data-v-5ee3157a],.btn-secondary:focus.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-secondary.is-disabled[data-v-5ee3157a],.btn-secondary[disabled][data-v-5ee3157a]{pointer-events:none;background-color:#dfdae4;color:#fff}.btn-secondary.is-disabled path[data-v-5ee3157a],.btn-secondary.is-disabled svg[data-v-5ee3157a],.btn-secondary[disabled] path[data-v-5ee3157a],.btn-secondary[disabled] svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-secondary.is-loading[data-v-5ee3157a]{pointer-events:none;background-color:#dfffff;color:#fff;transition:all 1s ease-out}.btn-secondary.is-loading path[data-v-5ee3157a],.btn-secondary.is-loading svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-secondary.is-loading-progressive[data-v-5ee3157a]{background-color:#00cf72!important;cursor:wait;color:#fff!important;-webkit-transition:color 0s ease-in!important;-moz-transition:color 0s ease-in!important;-o-transition:color 0s ease-in!important;transition:color 0s ease-in!important}.btn-secondary.is-loading-progressive .slot-content span[data-v-5ee3157a]{color:#fff!important;-webkit-transition:color 0s ease-in!important;-moz-transition:color 0s ease-in!important;-o-transition:color 0s ease-in!important;transition:color 0s ease-in!important}.btn-secondary.is-loading-progressive .text[data-v-5ee3157a]{z-index:2;position:absolute;transition:all .5s ease;animation:textOpacity-data-v-5ee3157a 1s infinite;width:100%;left:0;color:#fff!important;-webkit-transition:color 0s ease-in!important;-moz-transition:color 0s ease-in!important;-o-transition:color 0s ease-in!important;transition:color 0s ease-in!important}@keyframes textOpacity-data-v-5ee3157a{0%,100%{opacity:1}50%{opacity:.4}}.btn-secondary.is-loading-progressive .icon[data-v-5ee3157a]{display:none}.btn-secondary.is-loading-progressive-complete[data-v-5ee3157a]{cursor:wait}.btn-secondary.is-loading-progressive-complete .text[data-v-5ee3157a]{position:absolute;opacity:0!important}.btn-secondary.is-loading-progressive-complete .icon[data-v-5ee3157a]{position:relative;z-index:2;display:block;width:1.7142857143rem;height:1.7142857143rem;right:auto!important}.btn-secondary.is-loading-progressive-complete .icon svg[data-v-5ee3157a]{width:1.5238095238rem;height:1.5238095238rem}.btn-ghost[data-v-5ee3157a]{transition:all .2s cubic-bezier(.4,0,.2,1);background:0 0;border-radius:500px;border:1px solid #12d3db;position:relative;overflow:hidden;font-family:Nunito,sans-serif;font-weight:900;text-transform:uppercase;font-size:.5714285714rem;color:#12d3db;line-height:1;align-items:center;text-align:center;justify-content:center}.btn-ghost span[data-v-5ee3157a]{text-align:center}@media (max-width:479px){.btn-ghost[data-v-5ee3157a]{font-size:1.1214953271rem}}.btn-ghost.size-xl[data-v-5ee3157a]{height:3.0476190476rem;padding:0 1.9047619048rem!important;font-size:.6666666667rem}@media (max-width:479px){.btn-ghost.size-xl[data-v-5ee3157a]{height:5.9813084112rem;padding:0 3.738317757rem!important;font-size:1.308411215rem}.btn-ghost.size-xl.icon-left .icon[data-v-5ee3157a]{margin-right:.3738317757rem!important}.btn-ghost.size-xl.icon-right .icon[data-v-5ee3157a]{margin-left:.3738317757rem!important}}.btn-ghost.size-lg[data-v-5ee3157a]{height:2.2857142857rem;padding:0 1.5238095238rem!important;font-size:.6666666667rem}@media (max-width:479px){.btn-ghost.size-lg[data-v-5ee3157a]{height:4.4859813084rem;padding:0 2.9906542056rem!important;font-size:1.308411215rem}.btn-ghost.size-lg.icon-left .icon[data-v-5ee3157a]{margin-right:.3738317757rem!important}.btn-ghost.size-lg.icon-right .icon[data-v-5ee3157a]{margin-left:.3738317757rem!important}}.btn-ghost.size-md[data-v-5ee3157a]{padding:0 1.1428571429rem;height:2.0952380952rem;font-size:.5714285714rem}@media (max-width:479px){.btn-ghost.size-md[data-v-5ee3157a]{height:4.1121495327rem;font-size:1.1214953271rem;padding:0 2.2429906542rem!important}.btn-ghost.size-md.icon-left .icon[data-v-5ee3157a]{margin-right:.3738317757rem!important}.btn-ghost.size-md.icon-right .icon[data-v-5ee3157a]{margin-left:.3738317757rem!important}}.btn-ghost.size-sm[data-v-5ee3157a]{height:2rem;padding:0 .7619047619rem!important;font-size:.4761904762rem}@media (max-width:479px){.btn-ghost.size-sm[data-v-5ee3157a]{height:3.9252336449rem;font-size:.9345794393rem;padding:0 1.4953271028rem!important}.btn-ghost.size-sm.icon-left .icon[data-v-5ee3157a]{margin-right:.3738317757rem!important}.btn-ghost.size-sm.icon-right .icon[data-v-5ee3157a]{margin-left:.3738317757rem!important}}.btn-ghost.width-fluid[data-v-5ee3157a]{width:100%}.btn-ghost.width-fluid.icon-left[data-v-5ee3157a]{position:relative}.btn-ghost.width-fluid.icon-left .icon[data-v-5ee3157a]{left:0}.btn-ghost.width-fluid.icon-left.size-md[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-md .icon[data-v-5ee3157a]{margin-left:.7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-sm[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-sm .icon[data-v-5ee3157a]{margin-left:.7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-lg[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-lg .icon[data-v-5ee3157a]{margin-left:.7619047619rem!important}.btn-ghost.width-fluid.icon-left.size-xl[data-v-5ee3157a]{padding:0 1.1428571429rem!important}.btn-ghost.width-fluid.icon-left.size-xl .icon[data-v-5ee3157a]{margin-left:1.1428571429rem!important}.btn-ghost.width-fluid.icon-right[data-v-5ee3157a]{position:relative}.btn-ghost.width-fluid.icon-right .icon[data-v-5ee3157a]{right:0}.btn-ghost.width-fluid.icon-right.size-md[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-md .icon[data-v-5ee3157a]{margin-right:.7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-sm[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-sm .icon[data-v-5ee3157a]{margin-right:.7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-lg[data-v-5ee3157a]{padding:0 .7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-lg .icon[data-v-5ee3157a]{margin-right:.7619047619rem!important}.btn-ghost.width-fluid.icon-right.size-xl[data-v-5ee3157a]{padding:0 1.1428571429rem!important}.btn-ghost.width-fluid.icon-right.size-xl .icon[data-v-5ee3157a]{margin-right:1.1428571429rem!important}.btn-ghost.width-fluid .icon[data-v-5ee3157a]{display:flex;justify-content:center;position:absolute;align-items:center;top:0;bottom:0;margin:auto 0;width:1.3333333333rem;height:1.3333333333rem}@media (max-width:479px){.btn-ghost.width-fluid .icon[data-v-5ee3157a]{width:2.6168224299rem;height:2.6168224299rem}}.btn-ghost.width-fluid .icon svg[data-v-5ee3157a]{display:block}.btn-ghost.width-fluid .icon path[data-v-5ee3157a],.btn-ghost.width-fluid .icon svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-ghost.width-fluid .icon[data-v-5ee3157a] svg,.btn-ghost.width-fluid .icon path[data-v-5ee3157a]{width:24px;fill:#12d3db;stroke:transparent}@media (max-width:479px){.btn-ghost.width-fluid[data-v-5ee3157a]{padding:1.4953271028rem}.btn-ghost.width-fluid .icon[data-v-5ee3157a]{width:2.2429906542rem;height:2.2429906542rem}.btn-ghost.width-fluid.icon-right .icon[data-v-5ee3157a]{right:0}.btn-ghost.width-fluid.icon-right.size-md[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-right.size-md .icon[data-v-5ee3157a]{margin-right:2.2429906542rem!important}.btn-ghost.width-fluid.icon-right.size-sm[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-right.size-sm .icon[data-v-5ee3157a]{margin-right:1.4953271028rem!important}.btn-ghost.width-fluid.icon-right.size-lg[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-right.size-lg .icon[data-v-5ee3157a]{margin-right:1.4953271028rem!important}.btn-ghost.width-fluid.icon-right.size-xl[data-v-5ee3157a]{padding:0 2.2429906542rem!important}.btn-ghost.width-fluid.icon-right.size-xl .icon[data-v-5ee3157a]{margin-right:2.2429906542rem!important}.btn-ghost.width-fluid.icon-left .icon[data-v-5ee3157a]{left:0}.btn-ghost.width-fluid.icon-left.size-md[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-md .icon[data-v-5ee3157a]{margin-left:1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-sm[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-sm .icon[data-v-5ee3157a]{margin-left:1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-lg[data-v-5ee3157a]{padding:0 1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-lg .icon[data-v-5ee3157a]{margin-left:1.4953271028rem!important}.btn-ghost.width-fluid.icon-left.size-xl[data-v-5ee3157a]{padding:0 2.2429906542rem!important}.btn-ghost.width-fluid.icon-left.size-xl .icon[data-v-5ee3157a]{margin-left:2.2429906542rem!important}}.btn-ghost.width-liquid[data-v-5ee3157a]{width:fit-content;display:flex}.btn-ghost.width-liquid .slot-content[data-v-5ee3157a]{display:flex;align-items:center}.btn-ghost.width-liquid .icon[data-v-5ee3157a]{display:flex;justify-content:center;align-items:center;width:1.3333333333rem;height:1.3333333333rem}.btn-ghost.width-liquid .icon svg[data-v-5ee3157a]{display:block}.btn-ghost.width-liquid .icon path[data-v-5ee3157a],.btn-ghost.width-liquid .icon svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-ghost.width-liquid .icon[data-v-5ee3157a] svg,.btn-ghost.width-liquid .icon path[data-v-5ee3157a]{width:24px;fill:#12d3db;stroke:transparent}@media (max-width:479px){.btn-ghost.width-liquid .icon[data-v-5ee3157a]{width:2.6168224299rem;height:2.6168224299rem}}.btn-ghost.width-circle[data-v-5ee3157a]{padding:.380952381rem;line-height:1;width:2.0952380952rem;height:2.0952380952rem;display:flex;align-items:center;justify-content:center}@media (max-width:479px){.btn-ghost.width-circle[data-v-5ee3157a]{width:4.1121495327rem;height:4.1121495327rem}}.btn-ghost.width-circle svg[data-v-5ee3157a]{display:block;margin:0 auto;width:1.3333333333rem;height:1.3333333333rem}@media (max-width:479px){.btn-ghost.width-circle svg[data-v-5ee3157a]{width:2.6168224299rem;height:2.6168224299rem}}.btn-ghost.width-circle path[data-v-5ee3157a],.btn-ghost.width-circle svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-ghost.is-inverted[data-v-5ee3157a]{border-color:#fff;color:#fff}.btn-ghost.is-inverted path[data-v-5ee3157a],.btn-ghost.is-inverted svg[data-v-5ee3157a]{fill:#fff;stroke:#fff}.btn-ghost[data-v-5ee3157a]:hover{cursor:pointer}.btn-ghost[data-v-5ee3157a]:hover:not(.is-inverted){border-color:#17b8bc;color:#17b8bc}.btn-ghost[data-v-5ee3157a]:hover:not(.is-inverted) svg,.btn-ghost:hover:not(.is-inverted) path[data-v-5ee3157a]{fill:#17b8bc!important;stroke:transparent!important}.btn-ghost:hover:not(.is-inverted) path[data-v-5ee3157a],.btn-ghost:hover:not(.is-inverted) svg[data-v-5ee3157a]{fill:#17b8bc;stroke:transparent}.btn-ghost:hover.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-ghost[data-v-5ee3157a]:active,.btn-ghost[data-v-5ee3157a]:focus{outline:0}.btn-ghost[data-v-5ee3157a]:active:not(.is-inverted),.btn-ghost[data-v-5ee3157a]:focus:not(.is-inverted){border-color:#17b8bc;color:#17b8bc}.btn-ghost:active.is-inverted[data-v-5ee3157a],.btn-ghost:focus.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-ghost.is-loading[data-v-5ee3157a]{pointer-events:none;background-color:#dfffff;color:#fff;border-color:#dfffff;transition:all 1s ease-out}.btn-ghost.is-loading path[data-v-5ee3157a],.btn-ghost.is-loading svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-ghost.is-loading-progressive[data-v-5ee3157a]{background-color:#00cf72!important;cursor:wait}.btn-ghost.is-loading-progressive .text[data-v-5ee3157a]{z-index:2;position:absolute;transition:all .5s ease;animation:textOpacity-data-v-5ee3157a 1s infinite;width:100%;left:0;color:#fff!important;-webkit-transition:color 0s ease-in!important;-moz-transition:color 0s ease-in!important;-o-transition:color 0s ease-in!important;transition:color 0s ease-in!important}@keyframes textOpacity-data-v-5ee3157a{0%,100%{opacity:1}50%{opacity:.4}}.btn-ghost.is-loading-progressive .icon[data-v-5ee3157a]{display:none}.btn-ghost.is-loading-progressive-complete[data-v-5ee3157a]{cursor:wait}.btn-ghost.is-loading-progressive-complete .icon[data-v-5ee3157a]{position:relative;z-index:2;display:block;width:1.7142857143rem;height:1.7142857143rem;right:auto!important}.btn-ghost.is-loading-progressive-complete .icon svg[data-v-5ee3157a]{width:1.5238095238rem;height:1.5238095238rem}.btn-ghost.is-loading-progressive-complete .text[data-v-5ee3157a]{position:absolute;opacity:0!important}.btn-link[data-v-5ee3157a]{transition:all .2s cubic-bezier(.4,0,.2,1);background:0 0;border:0;position:relative;overflow:hidden;font-family:Nunito,sans-serif;font-weight:900;text-transform:uppercase;font-size:.5714285714rem;color:#12d3db;line-height:1}@media (max-width:479px){.btn-link[data-v-5ee3157a]{font-size:1.1214953271rem}}.btn-link.size-xl[data-v-5ee3157a]{font-size:.6666666667rem}@media (max-width:479px){.btn-link.size-xl[data-v-5ee3157a]{font-size:1.308411215rem}}.btn-link.size-lg[data-v-5ee3157a]{font-size:.6666666667rem}@media (max-width:479px){.btn-link.size-lg[data-v-5ee3157a]{font-size:1.308411215rem}}.btn-link.size-sm[data-v-5ee3157a]{font-size:.4761904762rem}@media (max-width:479px){.btn-link.size-sm[data-v-5ee3157a]{font-size:.9345794393rem}}.btn-link.width-fluid[data-v-5ee3157a]{width:100%}.btn-link.width-circle[data-v-5ee3157a]{padding:.380952381rem;line-height:1;width:2.0952380952rem;height:2.0952380952rem;display:flex;align-items:center;justify-content:center}@media (max-width:479px){.btn-link.width-circle[data-v-5ee3157a]{width:4.1121495327rem;height:4.1121495327rem}}.btn-link.width-circle svg[data-v-5ee3157a]{display:block;margin:0 auto;width:1.3333333333rem;height:1.3333333333rem}@media (max-width:479px){.btn-link.width-circle svg[data-v-5ee3157a]{width:2.6168224299rem;height:2.6168224299rem}}.btn-link.width-circle path[data-v-5ee3157a],.btn-link.width-circle svg[data-v-5ee3157a]{fill:#12d3db;stroke:transparent}.btn-link.is-inverted[data-v-5ee3157a]{color:#fff}.btn-link.is-inverted path[data-v-5ee3157a],.btn-link.is-inverted svg[data-v-5ee3157a]{fill:#fff;stroke:transparent}.btn-link[data-v-5ee3157a]:hover{cursor:pointer}.btn-link[data-v-5ee3157a]:hover:not(.is-inverted){color:#17b8bc}.btn-link:hover.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-link[data-v-5ee3157a]:active,.btn-link[data-v-5ee3157a]:focus{outline:0}.btn-link[data-v-5ee3157a]:active:not(.is-inverted),.btn-link[data-v-5ee3157a]:focus:not(.is-inverted){color:#17b8bc}.btn-link:active.is-inverted[data-v-5ee3157a],.btn-link:focus.is-inverted[data-v-5ee3157a]{opacity:.8}.btn-link.is-disabled[data-v-5ee3157a],.btn-link[disabled][data-v-5ee3157a]{pointer-events:none;color:#dfdae4;opacity:.48}.btn-link.is-disabled path[data-v-5ee3157a],.btn-link.is-disabled svg[data-v-5ee3157a],.btn-link[disabled] path[data-v-5ee3157a],.btn-link[disabled] svg[data-v-5ee3157a]{fill:#dfdae4;stroke:transparent}.loading[data-v-5ee3157a]{position:absolute;width:32px;height:32px;display:block;margin:0 auto;top:0;bottom:0;left:0;right:0;margin-top:auto;margin-bottom:auto}@media (max-width:479px){.loading[data-v-5ee3157a]{width:24px;height:24px}}.loading-progress[data-v-5ee3157a]{width:0%;height:100%;transition:all 1s ease-out;position:absolute;background-color:#00b664;left:0;top:0}.is-loading-progressive .loading-progress[data-v-5ee3157a]{width:44%;-webkit-animation:3s loadingPosition-data-v-5ee3157a;-moz-animation:3s loadingPosition-data-v-5ee3157a;animation:3s loadingPosition-data-v-5ee3157a;transition:3s}.is-loading-progressive-complete[data-v-5ee3157a]{justify-content:center;text-align:center;transition:3s!important}.is-loading-progressive-complete .loading-progress[data-v-5ee3157a]{width:100%;-webkit-animation:3s loadingCompleted-data-v-5ee3157a;-moz-animation:3s loadingCompleted-data-v-5ee3157a;animation:3s loadingCompleted-data-v-5ee3157a}.is-loading-progressive-complete .icon-complete[data-v-5ee3157a]{display:flex;width:inherit;justify-content:center;margin:0 auto;position:absolute;left:0;right:0;margin-left:auto;margin-right:auto;text-align:center;top:0;bottom:0;align-items:center}.is-loading-progressive-complete .icon-complete[data-v-5ee3157a] span{width:1.1428571429rem;display:flex!important}@media (max-width:479px){.is-loading-progressive-complete .icon-complete[data-v-5ee3157a] span{width:2.2429906542rem}}.is-loading-progressive-complete .icon-complete[data-v-5ee3157a] svg{width:1.1428571429rem!important;fill:#fff}@media (max-width:479px){.is-loading-progressive-complete .icon-complete[data-v-5ee3157a] svg{width:2.2429906542rem!important}}.is-loading-progressive-complete .icon-complete[data-v-5ee3157a] svg path{fill:#fff}.is-loading-progressive-complete .text[data-v-5ee3157a]{position:absolute;opacity:0!important}.is-loading-progressive-complete .text-slot .icon[data-v-5ee3157a]{display:none}@keyframes loadingZeroToComplete-data-v-5ee3157a{0%{width:0}100%{width:100%}}@keyframes loadingPosition-data-v-5ee3157a{0%{width:0}100%{width:33%}}@keyframes loadingCompleted-data-v-5ee3157a{0%{width:44%}100%{width:100%}}[data-v-5ee3157a] .text-slot{opacity:0}[data-v-5ee3157a] .text-slot .icon{display:none}',map:void 0,media:void 0}))}),{name:"Button",components:{Loading:N,Icon:L},props:{
234
246
  /**
235
247
  * Tipo do botão<br>
236
248
  * Values: `primary` `secondary` `ghost`
@@ -302,7 +314,7 @@ immediate:!0,handler:function(t,e){var a=this;!0===t?setTimeout((function(){a.is
302
314
  * FUNÇÃO LEGADO - Funções do botão são passados através de listeners
303
315
  */
304
316
  // this.$emit('click');
305
- },complete:function(){this.$emit("complete")}},computed:{shadowVar:function(){return{"--shadow-color":this.shadowColor}}}},"data-v-5ee3157a",!1,void 0,!1,b,void 0,void 0),T=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"card-group"},"div",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"card-image"},[a("v-lazy-image",{attrs:{alt:t.alt,title:t.title,src:t.picture,"src-placeholder":t.placeholder}})],1),t._v(" "),a("div",{staticClass:"card-content"},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-de39784c_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-de39784c]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-de39784c]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-de39784c]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-de39784c]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-de39784c]{font-size:14px}}@media (min-width:1024px){[data-v-de39784c]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-de39784c]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-de39784c]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-de39784c]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-de39784c]{font-size:1.56vw}}html[data-v-de39784c]{box-sizing:border-box}*[data-v-de39784c],[data-v-de39784c]::after,[data-v-de39784c]::before{box-sizing:border-box}.card-group[data-v-de39784c]{transition:all .3s;display:flex;flex-direction:column;width:100%;box-shadow:4px 8px 24px rgba(104,89,110,.24);border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem;border-bottom-left-radius:.380952381rem;border-bottom-right-radius:.380952381rem}@media (max-width:479px){.card-group[data-v-de39784c]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem;border-bottom-left-radius:.7476635514rem;border-bottom-right-radius:.7476635514rem}}.card-group .card-image img[data-v-de39784c]{width:100%;display:block;border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem}@media (max-width:479px){.card-group .card-image img[data-v-de39784c]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem}}.card-group .card-content[data-v-de39784c]{display:flex;flex:1 0 auto;flex-direction:column;justify-content:space-between;padding:.7619047619rem;background:#fff;border-bottom-left-radius:.380952381rem;border-bottom-right-radius:.380952381rem}@media (max-width:479px){.card-group .card-content[data-v-de39784c]{padding:.7476635514rem;border-bottom-left-radius:.7476635514rem;border-bottom-right-radius:.7476635514rem}}',map:void 0,media:void 0})}),{name:"Card",components:{VLazyImage:e},props:{picture:{type:String,default:"https://s3.amazonaws.com/site-assets-dev.dentrodahistoria.com.br/Assets/Subscription/characters/beto-biscoito/card-beto-biscoito@2x.jpg"},
317
+ },complete:function(){this.$emit("complete")}},computed:{shadowVar:function(){return{"--shadow-color":this.shadowColor}}}},"data-v-5ee3157a",!1,void 0,!1,b,void 0,void 0),A=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"card-group"},"div",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"card-image"},[a("v-lazy-image",{attrs:{alt:t.alt,title:t.title,src:t.picture,"src-placeholder":t.placeholder}})],1),t._v(" "),a("div",{staticClass:"card-content"},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-de39784c_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-de39784c]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-de39784c]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-de39784c]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-de39784c]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-de39784c]{font-size:14px}}@media (min-width:1024px){[data-v-de39784c]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-de39784c]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-de39784c]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-de39784c]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-de39784c]{font-size:1.56vw}}html[data-v-de39784c]{box-sizing:border-box}*[data-v-de39784c],[data-v-de39784c]::after,[data-v-de39784c]::before{box-sizing:border-box}.card-group[data-v-de39784c]{transition:all .3s;display:flex;flex-direction:column;width:100%;box-shadow:4px 8px 24px rgba(104,89,110,.24);border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem;border-bottom-left-radius:.380952381rem;border-bottom-right-radius:.380952381rem}@media (max-width:479px){.card-group[data-v-de39784c]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem;border-bottom-left-radius:.7476635514rem;border-bottom-right-radius:.7476635514rem}}.card-group .card-image img[data-v-de39784c]{width:100%;display:block;border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem}@media (max-width:479px){.card-group .card-image img[data-v-de39784c]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem}}.card-group .card-content[data-v-de39784c]{display:flex;flex:1 0 auto;flex-direction:column;justify-content:space-between;padding:.7619047619rem;background:#fff;border-bottom-left-radius:.380952381rem;border-bottom-right-radius:.380952381rem}@media (max-width:479px){.card-group .card-content[data-v-de39784c]{padding:.7476635514rem;border-bottom-left-radius:.7476635514rem;border-bottom-right-radius:.7476635514rem}}',map:void 0,media:void 0})}),{name:"Card",components:{VLazyImage:e},props:{picture:{type:String,default:"https://s3.amazonaws.com/site-assets-dev.dentrodahistoria.com.br/Assets/Subscription/characters/beto-biscoito/card-beto-biscoito@2x.jpg"},
306
318
  /**
307
319
  * Placeholder para o Lazy Image<br>
308
320
  */
@@ -310,7 +322,7 @@ placeholder:{type:String,default:""}},data:function(){return{}},computed:{shadow
310
322
  /**
311
323
  * Evento disparado sempre que o campo for acionado.<br>
312
324
  * Retorna um objeto com a prop dataObject.
313
- */this.$emit("click",t)}}},"data-v-de39784c",!1,void 0,!1,b,void 0,void 0),A=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"cardlink-group"},"div",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"cardlink-image"},[a("v-lazy-image",{attrs:{alt:t.alt,title:t.title,src:t.picture,"src-placeholder":t.placeholder}})],1),t._v(" "),a("div",{staticClass:"cardlink-content"},[a("div",{staticClass:"cardlink-title"},[t.label?a("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}):t._e()]),t._v(" "),a("div",{staticClass:"cardlink-icon"},[a("svg",{attrs:{viewbox:"0 0 16 16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.90931 10.9849C7.62482 11.2694 7.16357 11.2694 6.87908 10.9849C6.59459 10.7004 6.59459 10.2391 6.87908 9.95465L9.45466 7.37908C9.73915 7.09459 10.2004 7.09459 10.4849 7.37908C10.7694 7.66357 10.7694 8.12482 10.4849 8.40931L7.90931 10.9849Z"}}),t._v(" "),a("path",{attrs:{d:"M6.8791 5.85963C6.59461 5.57514 6.59461 5.11389 6.8791 4.8294C7.16359 4.54491 7.62484 4.54491 7.90933 4.8294L10.4849 7.40497C10.7694 7.68946 10.7694 8.15071 10.4849 8.4352C10.2004 8.71969 9.73916 8.71969 9.45467 8.4352L6.8791 5.85963Z"}})])])])])},staticRenderFns:[]},(function(t){t&&t("data-v-fa61c2c0_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-fa61c2c0]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-fa61c2c0]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-fa61c2c0]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-fa61c2c0]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-fa61c2c0]{font-size:14px}}@media (min-width:1024px){[data-v-fa61c2c0]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-fa61c2c0]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-fa61c2c0]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-fa61c2c0]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-fa61c2c0]{font-size:1.56vw}}html[data-v-fa61c2c0]{box-sizing:border-box}*[data-v-fa61c2c0],[data-v-fa61c2c0]::after,[data-v-fa61c2c0]::before{box-sizing:border-box}.cardlink-group[data-v-fa61c2c0]{transition:all .3s;display:flex;flex-direction:column;width:100%;box-shadow:4px 8px 24px rgba(104,89,110,.24);border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem;border-bottom-left-radius:.380952381rem;border-bottom-right-radius:.380952381rem}@media (max-width:479px){.cardlink-group[data-v-fa61c2c0]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem;border-bottom-left-radius:.7476635514rem;border-bottom-right-radius:.7476635514rem}}.cardlink-group[data-v-fa61c2c0]:hover{cursor:pointer;box-shadow:4px 16px 32px rgba(104,89,110,.24)}.cardlink-group:hover .cardlink-icon svg[data-v-fa61c2c0]{fill:#12d3db!important}.cardlink-group.active[data-v-fa61c2c0]{box-shadow:4px 16px 32px rgba(104,89,110,.24)}.cardlink-group.active .cardlink-icon svg[data-v-fa61c2c0]{stroke:#12d3db!important}.cardlink-group.active .cardlink-icon svg path[data-v-fa61c2c0]{stroke:#12d3db!important}.cardlink-group .cardlink-image img[data-v-fa61c2c0]{width:100%;display:block;border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem}@media (max-width:479px){.cardlink-group .cardlink-image img[data-v-fa61c2c0]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem}}.cardlink-group .cardlink-content[data-v-fa61c2c0]{display:flex;flex:1 0 auto;justify-content:space-between;margin:.380952381rem 0;padding:8px 8px}@media (max-width:479px){.cardlink-group .cardlink-content[data-v-fa61c2c0]{margin:.3738317757rem 0;padding:.7476635514rem}}.cardlink-group .cardlink-content .cardlink-title[data-v-fa61c2c0]{display:flex;align-items:center;padding-left:8px}.cardlink-group .cardlink-content .cardlink-title .label[data-v-fa61c2c0]{font-family:Roboto,sans-serif;color:#68596e;line-height:1.5;font-size:.6666666667rem;text-align:left}@media (max-width:479px){.cardlink-group .cardlink-content .cardlink-title .label[data-v-fa61c2c0]{font-size:1.1214953271rem}}.cardlink-group .cardlink-content .cardlink-icon[data-v-fa61c2c0]{display:flex;align-items:center;justify-content:center}.cardlink-group .cardlink-content .cardlink-icon svg[data-v-fa61c2c0]{width:1.4285714286rem;height:1.4285714286rem;fill:#dfdae4}@media (max-width:479px){.cardlink-group .cardlink-content .cardlink-icon svg[data-v-fa61c2c0]{width:2.8037383178rem;height:2.8037383178rem}}.cardlink-group .cardlink-content .cardlink-icon svg path[data-v-fa61c2c0]{stroke:transparent}',map:void 0,media:void 0})}),{name:"CardLink",components:{Icon:I,VLazyImage:e},props:{
325
+ */this.$emit("click",t)}}},"data-v-de39784c",!1,void 0,!1,b,void 0,void 0),T=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"cardlink-group"},"div",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"cardlink-image"},[a("v-lazy-image",{attrs:{alt:t.alt,title:t.title,src:t.picture,"src-placeholder":t.placeholder}})],1),t._v(" "),a("div",{staticClass:"cardlink-content"},[a("div",{staticClass:"cardlink-title"},[t.label?a("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}):t._e()]),t._v(" "),a("div",{staticClass:"cardlink-icon"},[a("svg",{attrs:{viewbox:"0 0 16 16",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.90931 10.9849C7.62482 11.2694 7.16357 11.2694 6.87908 10.9849C6.59459 10.7004 6.59459 10.2391 6.87908 9.95465L9.45466 7.37908C9.73915 7.09459 10.2004 7.09459 10.4849 7.37908C10.7694 7.66357 10.7694 8.12482 10.4849 8.40931L7.90931 10.9849Z"}}),t._v(" "),a("path",{attrs:{d:"M6.8791 5.85963C6.59461 5.57514 6.59461 5.11389 6.8791 4.8294C7.16359 4.54491 7.62484 4.54491 7.90933 4.8294L10.4849 7.40497C10.7694 7.68946 10.7694 8.15071 10.4849 8.4352C10.2004 8.71969 9.73916 8.71969 9.45467 8.4352L6.8791 5.85963Z"}})])])])])},staticRenderFns:[]},(function(t){t&&t("data-v-fa61c2c0_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-fa61c2c0]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-fa61c2c0]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-fa61c2c0]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-fa61c2c0]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-fa61c2c0]{font-size:14px}}@media (min-width:1024px){[data-v-fa61c2c0]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-fa61c2c0]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-fa61c2c0]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-fa61c2c0]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-fa61c2c0]{font-size:1.56vw}}html[data-v-fa61c2c0]{box-sizing:border-box}*[data-v-fa61c2c0],[data-v-fa61c2c0]::after,[data-v-fa61c2c0]::before{box-sizing:border-box}.cardlink-group[data-v-fa61c2c0]{transition:all .3s;display:flex;flex-direction:column;width:100%;box-shadow:4px 8px 24px rgba(104,89,110,.24);border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem;border-bottom-left-radius:.380952381rem;border-bottom-right-radius:.380952381rem}@media (max-width:479px){.cardlink-group[data-v-fa61c2c0]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem;border-bottom-left-radius:.7476635514rem;border-bottom-right-radius:.7476635514rem}}.cardlink-group[data-v-fa61c2c0]:hover{cursor:pointer;box-shadow:4px 16px 32px rgba(104,89,110,.24)}.cardlink-group:hover .cardlink-icon svg[data-v-fa61c2c0]{fill:#12d3db!important}.cardlink-group.active[data-v-fa61c2c0]{box-shadow:4px 16px 32px rgba(104,89,110,.24)}.cardlink-group.active .cardlink-icon svg[data-v-fa61c2c0]{stroke:#12d3db!important}.cardlink-group.active .cardlink-icon svg path[data-v-fa61c2c0]{stroke:#12d3db!important}.cardlink-group .cardlink-image img[data-v-fa61c2c0]{width:100%;display:block;border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem}@media (max-width:479px){.cardlink-group .cardlink-image img[data-v-fa61c2c0]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem}}.cardlink-group .cardlink-content[data-v-fa61c2c0]{display:flex;flex:1 0 auto;justify-content:space-between;margin:.380952381rem 0;padding:8px 8px}@media (max-width:479px){.cardlink-group .cardlink-content[data-v-fa61c2c0]{margin:.3738317757rem 0;padding:.7476635514rem}}.cardlink-group .cardlink-content .cardlink-title[data-v-fa61c2c0]{display:flex;align-items:center;padding-left:8px}.cardlink-group .cardlink-content .cardlink-title .label[data-v-fa61c2c0]{font-family:Roboto,sans-serif;color:#68596e;line-height:1.5;font-size:.6666666667rem;text-align:left}@media (max-width:479px){.cardlink-group .cardlink-content .cardlink-title .label[data-v-fa61c2c0]{font-size:1.1214953271rem}}.cardlink-group .cardlink-content .cardlink-icon[data-v-fa61c2c0]{display:flex;align-items:center;justify-content:center}.cardlink-group .cardlink-content .cardlink-icon svg[data-v-fa61c2c0]{width:1.4285714286rem;height:1.4285714286rem;fill:#dfdae4}@media (max-width:479px){.cardlink-group .cardlink-content .cardlink-icon svg[data-v-fa61c2c0]{width:2.8037383178rem;height:2.8037383178rem}}.cardlink-group .cardlink-content .cardlink-icon svg path[data-v-fa61c2c0]{stroke:transparent}',map:void 0,media:void 0})}),{name:"CardLink",components:{Icon:L,VLazyImage:e},props:{
314
326
  /**
315
327
  * Nome do campo, utilizado no callback do evento<br>
316
328
  * Example: `Name`
@@ -345,7 +357,7 @@ title:{type:String,default:""}},data:function(){return{}},computed:{shadowVar:fu
345
357
  /**
346
358
  * Evento disparado sempre que o campo for acionado.<br>
347
359
  * Retorna um objeto com a prop dataObject.
348
- */this.$emit("click",t)}}},"data-v-fa61c2c0",!1,void 0,!1,b,void 0,void 0),B=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"cardoption-group",class:[{active:t.active}]},"div",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"cardoption-image",style:"background-color: "+t.background},[a("v-lazy-image",{attrs:{alt:t.alt,title:t.title,src:t.picture,"src-placeholder":t.placeholder}})],1),t._v(" "),a("div",{staticClass:"cardoption-content"},[a("div",{staticClass:"cardoption-title"},[t.label?a("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}):t._e()]),t._v(" "),a("div",{staticClass:"cardoption-icon"},[a("svg",{attrs:{viewbox:"0 0 32 32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.84459 16.4619L12.0001 20.6174L24.7018 7.92858C25.4821 7.14824 26.7442 7.14824 27.5246 7.92858C28.3049 8.70893 28.3049 9.97104 27.5246 10.7514L13.4179 24.8581C12.6376 25.6384 11.3755 25.6384 10.5951 24.8581L5.02179 19.2847C4.24144 18.5044 4.24144 17.2423 5.02179 16.4619C5.80214 15.6816 7.06425 15.6816 7.84459 16.4619Z"}})])])])])},staticRenderFns:[]},(function(t){t&&t("data-v-56e8846e_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-56e8846e]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-56e8846e]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-56e8846e]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-56e8846e]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-56e8846e]{font-size:14px}}@media (min-width:1024px){[data-v-56e8846e]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-56e8846e]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-56e8846e]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-56e8846e]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-56e8846e]{font-size:1.56vw}}html[data-v-56e8846e]{box-sizing:border-box}*[data-v-56e8846e],[data-v-56e8846e]::after,[data-v-56e8846e]::before{box-sizing:border-box}.cardoption-group[data-v-56e8846e]{transition:all .3s;display:flex;flex-direction:column;width:100%;box-shadow:4px 8px 24px rgba(104,89,110,.24);border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem;border-bottom-left-radius:.380952381rem;border-bottom-right-radius:.380952381rem}@media (max-width:479px){.cardoption-group[data-v-56e8846e]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem;border-bottom-left-radius:.7476635514rem;border-bottom-right-radius:.7476635514rem}}.cardoption-group[data-v-56e8846e]:hover{cursor:pointer;box-shadow:4px 16px 32px rgba(104,89,110,.24)}.cardoption-group:hover .cardoption-icon[data-v-56e8846e]{border-color:#afa2ba!important}.cardoption-group:hover .cardoption-icon svg[data-v-56e8846e]{stroke:#afa2ba!important}.cardoption-group:hover .cardoption-icon svg path[data-v-56e8846e]{fill:#afa2ba!important}.cardoption-group.active .cardoption-icon[data-v-56e8846e]{border-color:#12d3db!important;background:#12d3db!important}.cardoption-group.active .cardoption-icon svg[data-v-56e8846e]{stroke:#fff!important}.cardoption-group.active .cardoption-icon svg path[data-v-56e8846e]{fill:#fff!important}.cardoption-group .cardoption-image[data-v-56e8846e]{border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem}@media (max-width:479px){.cardoption-group .cardoption-image[data-v-56e8846e]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem}}.cardoption-group .cardoption-image img[data-v-56e8846e]{width:100%;display:block;border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem}@media (max-width:479px){.cardoption-group .cardoption-image img[data-v-56e8846e]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem}}.cardoption-group .cardoption-content[data-v-56e8846e]{display:flex;flex:1 0 auto;align-items:center;justify-content:space-between;margin:.380952381rem 0;padding:8px 8px}@media (max-width:479px){.cardoption-group .cardoption-content[data-v-56e8846e]{margin:.3738317757rem 0;padding:.7476635514rem}}.cardoption-group .cardoption-content .cardoption-title[data-v-56e8846e]{display:flex;align-items:center;padding-left:8px}.cardoption-group .cardoption-content .cardoption-title .label[data-v-56e8846e]{font-family:Roboto,sans-serif;color:#68596e;line-height:1.5;font-size:.6666666667rem;text-align:left}@media (max-width:479px){.cardoption-group .cardoption-content .cardoption-title .label[data-v-56e8846e]{font-size:1.1214953271rem}}.cardoption-group .cardoption-content .cardoption-icon[data-v-56e8846e]{display:flex;align-items:center;justify-content:center;border:2px solid #dfdae4;border-radius:.2380952381rem;width:1.1428571429rem;height:1.1428571429rem;flex:0 0 1.1428571429rem}@media (max-width:479px){.cardoption-group .cardoption-content .cardoption-icon[data-v-56e8846e]{border-radius:.4672897196rem;width:2.2429906542rem;height:2.2429906542rem;flex:0 0 2.2429906542rem}}.cardoption-group .cardoption-content .cardoption-icon svg[data-v-56e8846e]{width:.7619047619rem;height:.7619047619rem;fill:#dfdae4}@media (max-width:479px){.cardoption-group .cardoption-content .cardoption-icon svg[data-v-56e8846e]{width:1.4953271028rem;height:1.4953271028rem}}.cardoption-group .cardoption-content .cardoption-icon svg path[data-v-56e8846e]{stroke:transparent}',map:void 0,media:void 0})}),{name:"CardOption",components:{Icon:I,VLazyImage:e},props:{
360
+ */this.$emit("click",t)}}},"data-v-fa61c2c0",!1,void 0,!1,b,void 0,void 0),B=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"cardoption-group",class:[{active:t.active}]},"div",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"cardoption-image",style:"background-color: "+t.background},[a("v-lazy-image",{attrs:{alt:t.alt,title:t.title,src:t.picture,"src-placeholder":t.placeholder}})],1),t._v(" "),a("div",{staticClass:"cardoption-content"},[a("div",{staticClass:"cardoption-title"},[t.label?a("span",{staticClass:"label",domProps:{innerHTML:t._s(t.label)}}):t._e()]),t._v(" "),a("div",{staticClass:"cardoption-icon"},[a("svg",{attrs:{viewbox:"0 0 32 32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.84459 16.4619L12.0001 20.6174L24.7018 7.92858C25.4821 7.14824 26.7442 7.14824 27.5246 7.92858C28.3049 8.70893 28.3049 9.97104 27.5246 10.7514L13.4179 24.8581C12.6376 25.6384 11.3755 25.6384 10.5951 24.8581L5.02179 19.2847C4.24144 18.5044 4.24144 17.2423 5.02179 16.4619C5.80214 15.6816 7.06425 15.6816 7.84459 16.4619Z"}})])])])])},staticRenderFns:[]},(function(t){t&&t("data-v-56e8846e_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-56e8846e]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-56e8846e]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-56e8846e]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-56e8846e]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-56e8846e]{font-size:14px}}@media (min-width:1024px){[data-v-56e8846e]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-56e8846e]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-56e8846e]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-56e8846e]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-56e8846e]{font-size:1.56vw}}html[data-v-56e8846e]{box-sizing:border-box}*[data-v-56e8846e],[data-v-56e8846e]::after,[data-v-56e8846e]::before{box-sizing:border-box}.cardoption-group[data-v-56e8846e]{transition:all .3s;display:flex;flex-direction:column;width:100%;box-shadow:4px 8px 24px rgba(104,89,110,.24);border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem;border-bottom-left-radius:.380952381rem;border-bottom-right-radius:.380952381rem}@media (max-width:479px){.cardoption-group[data-v-56e8846e]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem;border-bottom-left-radius:.7476635514rem;border-bottom-right-radius:.7476635514rem}}.cardoption-group[data-v-56e8846e]:hover{cursor:pointer;box-shadow:4px 16px 32px rgba(104,89,110,.24)}.cardoption-group:hover .cardoption-icon[data-v-56e8846e]{border-color:#afa2ba!important}.cardoption-group:hover .cardoption-icon svg[data-v-56e8846e]{stroke:#afa2ba!important}.cardoption-group:hover .cardoption-icon svg path[data-v-56e8846e]{fill:#afa2ba!important}.cardoption-group.active .cardoption-icon[data-v-56e8846e]{border-color:#12d3db!important;background:#12d3db!important}.cardoption-group.active .cardoption-icon svg[data-v-56e8846e]{stroke:#fff!important}.cardoption-group.active .cardoption-icon svg path[data-v-56e8846e]{fill:#fff!important}.cardoption-group .cardoption-image[data-v-56e8846e]{border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem}@media (max-width:479px){.cardoption-group .cardoption-image[data-v-56e8846e]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem}}.cardoption-group .cardoption-image img[data-v-56e8846e]{width:100%;display:block;border-top-left-radius:.380952381rem;border-top-right-radius:.380952381rem}@media (max-width:479px){.cardoption-group .cardoption-image img[data-v-56e8846e]{border-top-left-radius:.7476635514rem;border-top-right-radius:.7476635514rem}}.cardoption-group .cardoption-content[data-v-56e8846e]{display:flex;flex:1 0 auto;align-items:center;justify-content:space-between;margin:.380952381rem 0;padding:8px 8px}@media (max-width:479px){.cardoption-group .cardoption-content[data-v-56e8846e]{margin:.3738317757rem 0;padding:.7476635514rem}}.cardoption-group .cardoption-content .cardoption-title[data-v-56e8846e]{display:flex;align-items:center;padding-left:8px}.cardoption-group .cardoption-content .cardoption-title .label[data-v-56e8846e]{font-family:Roboto,sans-serif;color:#68596e;line-height:1.5;font-size:.6666666667rem;text-align:left}@media (max-width:479px){.cardoption-group .cardoption-content .cardoption-title .label[data-v-56e8846e]{font-size:1.1214953271rem}}.cardoption-group .cardoption-content .cardoption-icon[data-v-56e8846e]{display:flex;align-items:center;justify-content:center;border:2px solid #dfdae4;border-radius:.2380952381rem;width:1.1428571429rem;height:1.1428571429rem;flex:0 0 1.1428571429rem}@media (max-width:479px){.cardoption-group .cardoption-content .cardoption-icon[data-v-56e8846e]{border-radius:.4672897196rem;width:2.2429906542rem;height:2.2429906542rem;flex:0 0 2.2429906542rem}}.cardoption-group .cardoption-content .cardoption-icon svg[data-v-56e8846e]{width:.7619047619rem;height:.7619047619rem;fill:#dfdae4}@media (max-width:479px){.cardoption-group .cardoption-content .cardoption-icon svg[data-v-56e8846e]{width:1.4953271028rem;height:1.4953271028rem}}.cardoption-group .cardoption-content .cardoption-icon svg path[data-v-56e8846e]{stroke:transparent}',map:void 0,media:void 0})}),{name:"CardOption",components:{Icon:L,VLazyImage:e},props:{
349
361
  /**
350
362
  * Nome do campo, utilizado no callback do evento<br>
351
363
  * Example: `Name`
@@ -390,7 +402,7 @@ active:{type:Boolean,default:!1}},data:function(){return{}},computed:{shadowVar:
390
402
  /**
391
403
  * Evento disparado sempre que o campo for acionado.<br>
392
404
  * Retorna um objeto com a prop dataObject.
393
- */this.$emit("click",t)}}},"data-v-56e8846e",!1,void 0,!1,b,void 0,void 0),R=v({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-3a044fb9_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-3a044fb9]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-3a044fb9]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-3a044fb9]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-3a044fb9]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-3a044fb9]{font-size:14px}}@media (min-width:1024px){[data-v-3a044fb9]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-3a044fb9]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-3a044fb9]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-3a044fb9]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-3a044fb9]{font-size:1.56vw}}html[data-v-3a044fb9]{box-sizing:border-box}*[data-v-3a044fb9],[data-v-3a044fb9]::after,[data-v-3a044fb9]::before{box-sizing:border-box}.checkbox-group[data-v-3a044fb9]{transition:all .3s;display:inline-flex;flex-direction:row;align-items:center}.checkbox-group[data-v-3a044fb9]:hover{cursor:pointer}.checkbox-group:hover .checkbox[data-v-3a044fb9]{border-color:#12d3db}.checkbox-group:hover .checkbox path[data-v-3a044fb9]{fill:#12d3db}.checkbox-group.active .checkbox[data-v-3a044fb9]{border-color:#12d3db;background:#12d3db}.checkbox-group.active .checkbox path[data-v-3a044fb9]{fill:#fff}.checkbox-group.size-lg .checkbox svg[data-v-3a044fb9]{transform:scale(.9)}.checkbox-group.size-lg .label[data-v-3a044fb9]{font-size:1.1428571429rem}@media (max-width:479px){.checkbox-group.size-lg .label[data-v-3a044fb9]{font-size:1.308411215rem}}.checkbox-group.size-sm .checkbox svg[data-v-3a044fb9]{transform:scale(.7)}.checkbox-group.size-sm .label[data-v-3a044fb9]{font-size:.7619047619rem}@media (max-width:479px){.checkbox-group.size-sm .label[data-v-3a044fb9]{font-size:1.308411215rem}}.checkbox-group .checkbox[data-v-3a044fb9]{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-3a044fb9]{margin-right:.7476635514rem}}.checkbox-group .checkbox path[data-v-3a044fb9]{fill:#dfdae4}.checkbox-group .label[data-v-3a044fb9]{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-3a044fb9]{font-size:1.308411215rem}}',map:void 0,media:void 0})}),{name:"Checkbox",components:{Icon:I},props:{
405
+ */this.$emit("click",t)}}},"data-v-56e8846e",!1,void 0,!1,b,void 0,void 0),R=v({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-3a044fb9_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-3a044fb9]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-3a044fb9]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-3a044fb9]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-3a044fb9]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-3a044fb9]{font-size:14px}}@media (min-width:1024px){[data-v-3a044fb9]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-3a044fb9]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-3a044fb9]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-3a044fb9]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-3a044fb9]{font-size:1.56vw}}html[data-v-3a044fb9]{box-sizing:border-box}*[data-v-3a044fb9],[data-v-3a044fb9]::after,[data-v-3a044fb9]::before{box-sizing:border-box}.checkbox-group[data-v-3a044fb9]{transition:all .3s;display:inline-flex;flex-direction:row;align-items:center}.checkbox-group[data-v-3a044fb9]:hover{cursor:pointer}.checkbox-group:hover .checkbox[data-v-3a044fb9]{border-color:#12d3db}.checkbox-group:hover .checkbox path[data-v-3a044fb9]{fill:#12d3db}.checkbox-group.active .checkbox[data-v-3a044fb9]{border-color:#12d3db;background:#12d3db}.checkbox-group.active .checkbox path[data-v-3a044fb9]{fill:#fff}.checkbox-group.size-lg .checkbox svg[data-v-3a044fb9]{transform:scale(.9)}.checkbox-group.size-lg .label[data-v-3a044fb9]{font-size:1.1428571429rem}@media (max-width:479px){.checkbox-group.size-lg .label[data-v-3a044fb9]{font-size:1.308411215rem}}.checkbox-group.size-sm .checkbox svg[data-v-3a044fb9]{transform:scale(.7)}.checkbox-group.size-sm .label[data-v-3a044fb9]{font-size:.7619047619rem}@media (max-width:479px){.checkbox-group.size-sm .label[data-v-3a044fb9]{font-size:1.308411215rem}}.checkbox-group .checkbox[data-v-3a044fb9]{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-3a044fb9]{margin-right:.7476635514rem}}.checkbox-group .checkbox path[data-v-3a044fb9]{fill:#dfdae4}.checkbox-group .label[data-v-3a044fb9]{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-3a044fb9]{font-size:1.308411215rem}}',map:void 0,media:void 0})}),{name:"Checkbox",components:{Icon:L},props:{
394
406
  /**
395
407
  * Nome do campo, utilizado no callback do evento<br>
396
408
  * Example: `Name`
@@ -424,7 +436,7 @@ active:{type:Boolean,default:!1}},data:function(){return{}},methods:{onActive:fu
424
436
  /**
425
437
  * Evento disparado sempre que o campo for acionado.<br>
426
438
  * Retorna um objeto com a prop dataObject.
427
- */this.$emit("update",t)}}},"data-v-3a044fb9",!1,void 0,!1,b,void 0,void 0),F=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-group",class:[{"error-active":t.error,"is-disabled":t.disabled},"size-"+t.size]},[t.label?a("span",{staticClass:"label",style:{color:t.labelColor},domProps:{innerHTML:t._s(t.label)}}):t._e(),t._v(" "),a("div",{staticClass:"input-area"},["cpf"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:"###.###.###-##",expression:"'###.###.###-##'"}],ref:"cpf",staticClass:"input",attrs:{inputmode:"numeric",type:"text",name:t.name,placeholder:"___-___-___-__",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChangeCpf}},"input",t.$attrs,!1),t.$listeners)):"cnpj"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:"##.###.###/####-##",expression:"'##.###.###/####-##'"}],ref:"cnpj",staticClass:"input",attrs:{inputmode:"numeric",type:"text",name:t.name,placeholder:"00-000-00/0000-00",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChangeCnpj}},"input",t.$attrs,!1),t.$listeners)):"cpf-cnpj"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:["###.###.###-##","##.###.###/####-##"],expression:"['###.###.###-##', '##.###.###/####-##']"}],ref:"cpf-cnpj",staticClass:"input",attrs:{inputmode:"numeric",type:"text",name:t.name,placeholder:"000-000-000-0",disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.condCpfCnpj(e)}}},"input",t.$attrs,!1),t.$listeners)):"phone"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:["(##) #####-####","(##) ####-####"],expression:"['(##) #####-####', '(##) ####-####']"}],staticClass:"input",attrs:{inputmode:"numeric",name:t.name,type:"text",placeholder:"(__) ____-____",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChange}},"input",t.$attrs,!1),t.$listeners)):"address"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:"#####-###",expression:"'#####-###'"}],staticClass:"input",attrs:{inputmode:"numeric",name:t.name,type:"text",placeholder:"____-___",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChangeAddress}},"input",t.$attrs,!1),t.$listeners)):"cc-number"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:t.card.mask,expression:"card.mask"}],staticClass:"input",attrs:{inputmode:"numeric",name:t.name,type:"text",placeholder:"•••• •••• •••• ••••",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChangeCardNumber}},"input",t.$attrs,!1),t.$listeners)):"cc-cvv"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:"####",expression:"'####'"}],staticClass:"input",attrs:{inputmode:"numeric",name:t.name,type:"text",placeholder:"CVV",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChange}},"input",t.$attrs,!1),t.$listeners)):"cc-expiration"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:"##/##",expression:"'##/##'"}],staticClass:"input",attrs:{inputmode:"numeric",name:t.name,type:"text",placeholder:"MM/AA",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChangeCardExpiration}},"input",t.$attrs,!1),t.$listeners)):a("input",t._g(t._b({staticClass:"input",attrs:{type:t.type,inputmode:t.numeric?"numeric":"text",name:t.name,placeholder:t.placeholder,disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChange}},"input",t.$attrs,!1),t.$listeners)),t._v(" "),t.link?a("div",{staticClass:"link"},[a("div",{on:{click:t.routeToLink}},[t._v(" \n "+t._s(t.linkLabel)+"\n ")])]):t._e()]),t._v(" "),t.helper||t.error&&t.error.length>0?a("span",{staticClass:"helper",style:{color:t.helperColor},domProps:{innerHTML:t._s(t.error&&!t.disabled?t.error:t.helper)}}):t._e(),t._v(" "),t.validationCheck?a("div",{staticClass:"validation",class:t.validationCheckValue?"active":"inactive"},[t.error&&t.error.length>1?a("svg",{staticClass:"close",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.48 6.7a1.77 1.77 0 00-2.506-.001L16 12.66l-5.974-5.975a1.77 1.77 0 00-2.506 0 1.77 1.77 0 000 2.507l5.974 5.974L7.52 21.14a1.77 1.77 0 000 2.506 1.77 1.77 0 002.506 0L16 17.673l5.974 5.974a1.77 1.77 0 002.506 0 1.77 1.77 0 000-2.506l-5.974-5.974 5.974-5.974c.68-.68.68-1.814 0-2.494z"}})]):a("svg",{staticClass:"check",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.845 16.462L12 20.617 24.702 7.93c.78-.78 2.042-.78 2.823 0 .78.78.78 2.042 0 2.822L13.418 24.858c-.78.78-2.042.78-2.823 0l-5.573-5.573a1.994 1.994 0 010-2.823c.78-.78 2.042-.78 2.823 0z"}})])]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-3892e227_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-3892e227]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-3892e227]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-3892e227]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-3892e227]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-3892e227]{font-size:14px}}@media (min-width:1024px){[data-v-3892e227]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-3892e227]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-3892e227]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-3892e227]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-3892e227]{font-size:1.56vw}}html[data-v-3892e227]{box-sizing:border-box}*[data-v-3892e227],[data-v-3892e227]::after,[data-v-3892e227]::before{box-sizing:border-box}.hide[data-v-3892e227]{display:none}.input-group[data-v-3892e227]{transition:all .3s;position:relative;display:flex;flex-direction:column;width:100%}.input-group .input-area[data-v-3892e227]{position:relative;width:100%}.input-group .input-area .link[data-v-3892e227]{position:absolute;top:0;bottom:0;margin-top:auto;margin-bottom:auto;display:flex;align-content:center;padding-right:.1904761905rem;right:1.1428571429rem}@media (max-width:479px){.input-group .input-area .link[data-v-3892e227]{right:1.4953271028rem}}.input-group .input-area .link[data-v-3892e227] div{color:#12d3db;font-family:Roboto,sans-serif;font-weight:700;font-size:.5714285714rem;text-align:right;display:flex;align-items:center}.input-group .input-area .link[data-v-3892e227] div:hover{text-decoration:underline;cursor:pointer}@media (max-width:479px){.input-group .input-area .link[data-v-3892e227] div{font-size:.9345794393rem}}.input-group.error-active .input[data-v-3892e227]{border-color:#ff4641!important}.input-group.error-active .helper[data-v-3892e227]{color:#ff4641!important}.input-group .validation[data-v-3892e227]{position:absolute;border-radius:50%;width:.7619047619rem;height:.7619047619rem;right:0;top:0}@media (max-width:479px){.input-group .validation[data-v-3892e227]{top:.2803738318rem;width:1.4953271028rem;height:1.4953271028rem}}.input-group .validation[data-v-3892e227].inactive .close path{fill:#ff4641}.input-group .validation[data-v-3892e227] svg{width:.7619047619rem;height:.7619047619rem}@media (max-width:479px){.input-group .validation[data-v-3892e227] svg{width:1.4953271028rem;height:1.4953271028rem}}.input-group .validation[data-v-3892e227] svg path{fill:#dfdae4}.input-group .validation[data-v-3892e227].active svg path{fill:#00cf72}.input-group .validation[data-v-3892e227].active .close path{fill:#ff4641}.input-group.size-lg .label[data-v-3892e227]{font-size:.7619047619rem}@media (max-width:479px){.input-group.size-lg .label[data-v-3892e227]{font-size:1.308411215rem}}.input-group.size-lg .input[data-v-3892e227]{padding:0 1.1428571429rem;height:2.8571428571rem;font-size:.7619047619rem}@media (max-width:479px){.input-group.size-lg .input[data-v-3892e227]{padding:0 1.4953271028rem;height:4.2990654206rem;text-overflow:ellipsis;padding-right:3.738317757rem}}@media (max-width:479px){.input-group.size-lg .input[data-v-3892e227]{font-size:1.308411215rem}}.input-group.size-lg .helper[data-v-3892e227]{font-size:.5714285714rem}@media (max-width:479px){.input-group.size-lg .helper[data-v-3892e227]{font-size:1.1214953271rem}}.input-group.size-lg .link[data-v-3892e227]{right:1.1428571429rem}@media (max-width:479px){.input-group.size-lg .link[data-v-3892e227]{right:1.4953271028rem}}.input-group.size-sm .label[data-v-3892e227]{font-size:.6666666667rem}@media (max-width:479px){.input-group.size-sm .label[data-v-3892e227]{font-size:1.308411215rem}}.input-group.size-sm .input[data-v-3892e227]{padding:0 .7619047619rem;height:2.8571428571rem;font-size:.6666666667rem}@media (max-width:479px){.input-group.size-sm .input[data-v-3892e227]{padding:0 1.4953271028rem;height:4.2990654206rem}}@media (max-width:479px){.input-group.size-sm .input[data-v-3892e227]{font-size:1.308411215rem}}.input-group.size-sm .helper[data-v-3892e227]{font-size:.5714285714rem}@media (max-width:479px){.input-group.size-sm .helper[data-v-3892e227]{font-size:1.1214953271rem}}.input-group.size-sm .link[data-v-3892e227]{right:.7619047619rem}@media (max-width:479px){.input-group.size-sm .link[data-v-3892e227]{right:1.4953271028rem}}.input-group .label[data-v-3892e227]{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){.input-group .label[data-v-3892e227]{font-size:1.308411215rem}}.input-group .input[data-v-3892e227]{transition:all .3s;-webkit-appearance:none;-moz-appearance:none;text-overflow:"";padding:0 1.1428571429rem;border:2px solid #dfdae4;border-radius:.380952381rem;background:#fff;height:2.8571428571rem;width:100%;font-family:Roboto,sans-serif;color:#68596e;font-size:.7619047619rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.input-group .input[data-v-3892e227]{border-radius:.7476635514rem;padding:0 1.4953271028rem;height:4.2990654206rem;text-overflow:ellipsis;padding-right:5.9813084112rem}}@media (max-width:479px){.input-group .input[data-v-3892e227]{font-size:1.4953271028rem}}.input-group .input[data-v-3892e227]:disabled{-webkit-text-fill-color:#68596e;opacity:1}.input-group .input[data-v-3892e227]::placeholder{color:#afa2ba;opacity:1}.input-group .input[data-v-3892e227]:-ms-input-placeholder{color:#afa2ba}.input-group .input[data-v-3892e227]::-ms-input-placeholder{color:#afa2ba}.input-group .input[data-v-3892e227]:hover{border-color:#afa2ba}.input-group .input[data-v-3892e227]:active,.input-group .input[data-v-3892e227]:focus{border-color:#12d3db;outline:0}.input-group .helper[data-v-3892e227]{font-family:Roboto,sans-serif;color:#afa2ba;line-height:1;font-size:.5714285714rem;margin-top:.1904761905rem;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.input-group .helper[data-v-3892e227]{font-size:1.1214953271rem}}.input-group.is-disabled .label[data-v-3892e227]{color:#68596e}.input-group.is-disabled .input[disabled][data-v-3892e227]{background:#f8f7fc;border-color:#dfdae4!important;color:#afa2ba;-webkit-text-fill-color:#68596e;opacity:1}.input-group.is-disabled .input[disabled][data-v-3892e227]:hover{border-color:#dfdae4}.input-group.is-disabled .input[disabled][data-v-3892e227]::placeholder{color:#dfdae4;opacity:1;-webkit-text-fill-color:#68596e;opacity:1}.input-group.is-disabled .input[disabled][data-v-3892e227]:-ms-input-placeholder{color:#dfdae4}.input-group.is-disabled .input[disabled][data-v-3892e227]::-ms-input-placeholder{color:#dfdae4}.input-group.is-disabled .helper[data-v-3892e227]{color:#dfdae4}input[data-v-3892e227]::-webkit-inner-spin-button,input[data-v-3892e227]::-webkit-outer-spin-button{-webkit-appearance:none!important}input[type=number][data-v-3892e227]{-moz-appearance:textfield!important}',map:void 0,media:void 0})}),{name:"Input",directives:{mask:i},components:{Icon:I,Button:E},props:{
439
+ */this.$emit("update",t)}}},"data-v-3a044fb9",!1,void 0,!1,b,void 0,void 0),F=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-group",class:[{"error-active":t.error,"is-disabled":t.disabled},"size-"+t.size]},[t.label?a("span",{staticClass:"label",style:{color:t.labelColor},domProps:{innerHTML:t._s(t.label)}}):t._e(),t._v(" "),a("div",{staticClass:"input-area"},["cpf"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:"###.###.###-##",expression:"'###.###.###-##'"}],ref:"cpf",staticClass:"input",attrs:{inputmode:"numeric",type:"text",name:t.name,placeholder:"___-___-___-__",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChangeCpf}},"input",t.$attrs,!1),t.$listeners)):"cnpj"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:"##.###.###/####-##",expression:"'##.###.###/####-##'"}],ref:"cnpj",staticClass:"input",attrs:{inputmode:"numeric",type:"text",name:t.name,placeholder:"00-000-00/0000-00",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChangeCnpj}},"input",t.$attrs,!1),t.$listeners)):"cpf-cnpj"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:["###.###.###-##","##.###.###/####-##"],expression:"['###.###.###-##', '##.###.###/####-##']"}],ref:"cpf-cnpj",staticClass:"input",attrs:{inputmode:"numeric",type:"text",name:t.name,placeholder:"000-000-000-0",disabled:t.disabled},domProps:{value:t.value},on:{input:function(e){return t.condCpfCnpj(e)}}},"input",t.$attrs,!1),t.$listeners)):"phone"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:["(##) #####-####","(##) ####-####"],expression:"['(##) #####-####', '(##) ####-####']"}],staticClass:"input",attrs:{inputmode:"numeric",name:t.name,type:"text",placeholder:"(__) ____-____",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChange}},"input",t.$attrs,!1),t.$listeners)):"address"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:"#####-###",expression:"'#####-###'"}],staticClass:"input",attrs:{inputmode:"numeric",name:t.name,type:"text",placeholder:"____-___",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChangeAddress}},"input",t.$attrs,!1),t.$listeners)):"cc-number"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:t.card.mask,expression:"card.mask"}],staticClass:"input",attrs:{inputmode:"numeric",name:t.name,type:"text",placeholder:"•••• •••• •••• ••••",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChangeCardNumber}},"input",t.$attrs,!1),t.$listeners)):"cc-cvv"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:"####",expression:"'####'"}],staticClass:"input",attrs:{inputmode:"numeric",name:t.name,type:"text",placeholder:"CVV",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChange}},"input",t.$attrs,!1),t.$listeners)):"cc-expiration"===t.type?a("input",t._g(t._b({directives:[{name:"mask",rawName:"v-mask",value:"##/##",expression:"'##/##'"}],staticClass:"input",attrs:{inputmode:"numeric",name:t.name,type:"text",placeholder:"MM/AA",disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChangeCardExpiration}},"input",t.$attrs,!1),t.$listeners)):a("input",t._g(t._b({staticClass:"input",attrs:{type:t.type,inputmode:t.numeric?"numeric":"text",name:t.name,placeholder:t.placeholder,disabled:t.disabled},domProps:{value:t.value},on:{input:t.onChange}},"input",t.$attrs,!1),t.$listeners)),t._v(" "),t.link?a("div",{staticClass:"link"},[a("div",{on:{click:t.routeToLink}},[t._v(" \n "+t._s(t.linkLabel)+"\n ")])]):t._e()]),t._v(" "),t.helper||t.error&&t.error.length>0?a("span",{staticClass:"helper",style:{color:t.helperColor},domProps:{innerHTML:t._s(t.error&&!t.disabled?t.error:t.helper)}}):t._e(),t._v(" "),t.validationCheck?a("div",{staticClass:"validation",class:t.validationCheckValue?"active":"inactive"},[t.error&&t.error.length>1?a("svg",{staticClass:"close",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.48 6.7a1.77 1.77 0 00-2.506-.001L16 12.66l-5.974-5.975a1.77 1.77 0 00-2.506 0 1.77 1.77 0 000 2.507l5.974 5.974L7.52 21.14a1.77 1.77 0 000 2.506 1.77 1.77 0 002.506 0L16 17.673l5.974 5.974a1.77 1.77 0 002.506 0 1.77 1.77 0 000-2.506l-5.974-5.974 5.974-5.974c.68-.68.68-1.814 0-2.494z"}})]):a("svg",{staticClass:"check",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.845 16.462L12 20.617 24.702 7.93c.78-.78 2.042-.78 2.823 0 .78.78.78 2.042 0 2.822L13.418 24.858c-.78.78-2.042.78-2.823 0l-5.573-5.573a1.994 1.994 0 010-2.823c.78-.78 2.042-.78 2.823 0z"}})])]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-3892e227_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-3892e227]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-3892e227]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-3892e227]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-3892e227]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-3892e227]{font-size:14px}}@media (min-width:1024px){[data-v-3892e227]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-3892e227]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-3892e227]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-3892e227]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-3892e227]{font-size:1.56vw}}html[data-v-3892e227]{box-sizing:border-box}*[data-v-3892e227],[data-v-3892e227]::after,[data-v-3892e227]::before{box-sizing:border-box}.hide[data-v-3892e227]{display:none}.input-group[data-v-3892e227]{transition:all .3s;position:relative;display:flex;flex-direction:column;width:100%}.input-group .input-area[data-v-3892e227]{position:relative;width:100%}.input-group .input-area .link[data-v-3892e227]{position:absolute;top:0;bottom:0;margin-top:auto;margin-bottom:auto;display:flex;align-content:center;padding-right:.1904761905rem;right:1.1428571429rem}@media (max-width:479px){.input-group .input-area .link[data-v-3892e227]{right:1.4953271028rem}}.input-group .input-area .link[data-v-3892e227] div{color:#12d3db;font-family:Roboto,sans-serif;font-weight:700;font-size:.5714285714rem;text-align:right;display:flex;align-items:center}.input-group .input-area .link[data-v-3892e227] div:hover{text-decoration:underline;cursor:pointer}@media (max-width:479px){.input-group .input-area .link[data-v-3892e227] div{font-size:.9345794393rem}}.input-group.error-active .input[data-v-3892e227]{border-color:#ff4641!important}.input-group.error-active .helper[data-v-3892e227]{color:#ff4641!important}.input-group .validation[data-v-3892e227]{position:absolute;border-radius:50%;width:.7619047619rem;height:.7619047619rem;right:0;top:0}@media (max-width:479px){.input-group .validation[data-v-3892e227]{top:.2803738318rem;width:1.4953271028rem;height:1.4953271028rem}}.input-group .validation[data-v-3892e227].inactive .close path{fill:#ff4641}.input-group .validation[data-v-3892e227] svg{width:.7619047619rem;height:.7619047619rem}@media (max-width:479px){.input-group .validation[data-v-3892e227] svg{width:1.4953271028rem;height:1.4953271028rem}}.input-group .validation[data-v-3892e227] svg path{fill:#dfdae4}.input-group .validation[data-v-3892e227].active svg path{fill:#00cf72}.input-group .validation[data-v-3892e227].active .close path{fill:#ff4641}.input-group.size-lg .label[data-v-3892e227]{font-size:.7619047619rem}@media (max-width:479px){.input-group.size-lg .label[data-v-3892e227]{font-size:1.308411215rem}}.input-group.size-lg .input[data-v-3892e227]{padding:0 1.1428571429rem;height:2.8571428571rem;font-size:.7619047619rem}@media (max-width:479px){.input-group.size-lg .input[data-v-3892e227]{padding:0 1.4953271028rem;height:4.2990654206rem;text-overflow:ellipsis;padding-right:3.738317757rem}}@media (max-width:479px){.input-group.size-lg .input[data-v-3892e227]{font-size:1.308411215rem}}.input-group.size-lg .helper[data-v-3892e227]{font-size:.5714285714rem}@media (max-width:479px){.input-group.size-lg .helper[data-v-3892e227]{font-size:1.1214953271rem}}.input-group.size-lg .link[data-v-3892e227]{right:1.1428571429rem}@media (max-width:479px){.input-group.size-lg .link[data-v-3892e227]{right:1.4953271028rem}}.input-group.size-sm .label[data-v-3892e227]{font-size:.6666666667rem}@media (max-width:479px){.input-group.size-sm .label[data-v-3892e227]{font-size:1.308411215rem}}.input-group.size-sm .input[data-v-3892e227]{padding:0 .7619047619rem;height:2.8571428571rem;font-size:.6666666667rem}@media (max-width:479px){.input-group.size-sm .input[data-v-3892e227]{padding:0 1.4953271028rem;height:4.2990654206rem}}@media (max-width:479px){.input-group.size-sm .input[data-v-3892e227]{font-size:1.308411215rem}}.input-group.size-sm .helper[data-v-3892e227]{font-size:.5714285714rem}@media (max-width:479px){.input-group.size-sm .helper[data-v-3892e227]{font-size:1.1214953271rem}}.input-group.size-sm .link[data-v-3892e227]{right:.7619047619rem}@media (max-width:479px){.input-group.size-sm .link[data-v-3892e227]{right:1.4953271028rem}}.input-group .label[data-v-3892e227]{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){.input-group .label[data-v-3892e227]{font-size:1.308411215rem}}.input-group .input[data-v-3892e227]{transition:all .3s;-webkit-appearance:none;-moz-appearance:none;text-overflow:"";padding:0 1.1428571429rem;border:2px solid #dfdae4;border-radius:.380952381rem;background:#fff;height:2.8571428571rem;width:100%;font-family:Roboto,sans-serif;color:#68596e;font-size:.7619047619rem;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.input-group .input[data-v-3892e227]{border-radius:.7476635514rem;padding:0 1.4953271028rem;height:4.2990654206rem;text-overflow:ellipsis;padding-right:5.9813084112rem}}@media (max-width:479px){.input-group .input[data-v-3892e227]{font-size:1.4953271028rem}}.input-group .input[data-v-3892e227]:disabled{-webkit-text-fill-color:#68596e;opacity:1}.input-group .input[data-v-3892e227]::placeholder{color:#afa2ba;opacity:1}.input-group .input[data-v-3892e227]:-ms-input-placeholder{color:#afa2ba}.input-group .input[data-v-3892e227]::-ms-input-placeholder{color:#afa2ba}.input-group .input[data-v-3892e227]:hover{border-color:#afa2ba}.input-group .input[data-v-3892e227]:active,.input-group .input[data-v-3892e227]:focus{border-color:#12d3db;outline:0}.input-group .helper[data-v-3892e227]{font-family:Roboto,sans-serif;color:#afa2ba;line-height:1;font-size:.5714285714rem;margin-top:.1904761905rem;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.input-group .helper[data-v-3892e227]{font-size:1.1214953271rem}}.input-group.is-disabled .label[data-v-3892e227]{color:#68596e}.input-group.is-disabled .input[disabled][data-v-3892e227]{background:#f8f7fc;border-color:#dfdae4!important;color:#afa2ba;-webkit-text-fill-color:#68596e;opacity:1}.input-group.is-disabled .input[disabled][data-v-3892e227]:hover{border-color:#dfdae4}.input-group.is-disabled .input[disabled][data-v-3892e227]::placeholder{color:#dfdae4;opacity:1;-webkit-text-fill-color:#68596e;opacity:1}.input-group.is-disabled .input[disabled][data-v-3892e227]:-ms-input-placeholder{color:#dfdae4}.input-group.is-disabled .input[disabled][data-v-3892e227]::-ms-input-placeholder{color:#dfdae4}.input-group.is-disabled .helper[data-v-3892e227]{color:#dfdae4}input[data-v-3892e227]::-webkit-inner-spin-button,input[data-v-3892e227]::-webkit-outer-spin-button{-webkit-appearance:none!important}input[type=number][data-v-3892e227]{-moz-appearance:textfield!important}',map:void 0,media:void 0})}),{name:"Input",directives:{mask:i},components:{Icon:L,Button:E},props:{
428
440
  /**
429
441
  * Nome do campo, utilizado no callback do evento<br>
430
442
  * Example: `Name`
@@ -511,7 +523,7 @@ var o=i.length-2,r=i.substring(0,o),d=i.substring(o),n=0,s=o-7,l=o;l>=1;l--)n+=r
511
523
  /**
512
524
  * Evento disparado sempre que o campo CPF for alterado.<br>
513
525
  * Retorna um objeto com target (name do campo), value e o valor do erro.
514
- */this.$emit("update",e)},onChangeAddress:function(t){var e=this;return u(regeneratorRuntime.mark((function a(){var i,r,d,n;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(t.e,i=t.target,r=i.value,n=o.create(),!(r.length>=9)){a.next=8;break}return a.next=6,n.get("https://api.pagar.me/1/zipcodes/".concat(r),{progress:!1}).then((function(t){d={target:i.name,value:i.value,address:t.data}})).catch((function(t){d={target:i.name,value:i.value,address:null}}));case 6:a.next=9;break;case 8:d={target:i.name,value:i.value,address:null};case 9:
526
+ */this.$emit("update",e)},onChangeAddress:function(t){var e=this;return h(regeneratorRuntime.mark((function a(){var i,r,d,n;return regeneratorRuntime.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(t.e,i=t.target,r=i.value,n=o.create(),!(r.length>=9)){a.next=8;break}return a.next=6,n.get("https://api.pagar.me/1/zipcodes/".concat(r),{progress:!1}).then((function(t){d={target:i.name,value:i.value,address:t.data}})).catch((function(t){d={target:i.name,value:i.value,address:null}}));case 6:a.next=9;break;case 8:d={target:i.name,value:i.value,address:null};case 9:
515
527
  /**
516
528
  * Evento disparado sempre que o valor do campo for alterado.<br>
517
529
  * Retorna um objeto com target (name do campo), value e um nó com dados do endereço.
@@ -573,7 +585,7 @@ immediate:!0,handler:function(t,e){""===this.initialValue&&(this.initialValue=t)
573
585
  * Evento disparado sempre que o valor do campo for alterado.<br>
574
586
  * Retorna um objeto com target (name do campo) e value.
575
587
  */
576
- this.fieldIsDisabled=!0,this.initialValue=this.finalValue,this.$emit("submitSave",t)},ChangeFinalValue:function(t){this.finalValue=t.value;var e={value:this.finalValue};this.$emit("update",e)}}},"data-v-14d33d3c",!1,void 0,!1,b,void 0,void 0),D=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"input-group",class:{"error-active":t.error,"is-disabled":t.disabled}},"div",t.$attrs,!1),t.$listeners),[t.label?a("span",{staticClass:"label show-desk",style:{color:t.labelColor},domProps:{innerHTML:t._s(t.label)}}):t._e(),t._v(" "),a("div",{staticClass:"name-input-list"},[a("div",{staticClass:"name-input-group firstname-input-group"},[a("span",{staticClass:"label show-mobile",style:{color:t.labelColor}},[t._v("Qual seu nome?")]),t._v(" "),a("Input",{attrs:{placeholder:"Nome",name:"name",value:t.name,maxlength:"50"},on:{update:t.onChange}}),t._v(" "),t.validationCheck?a("div",{staticClass:"validation",class:t.name&&t.name.length>=2?"active":"inactive"},[t.error&&t.error.length>1?a("svg",{staticClass:"close",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.48 6.7a1.77 1.77 0 00-2.506-.001L16 12.66l-5.974-5.975a1.77 1.77 0 00-2.506 0 1.77 1.77 0 000 2.507l5.974 5.974L7.52 21.14a1.77 1.77 0 000 2.506 1.77 1.77 0 002.506 0L16 17.673l5.974 5.974a1.77 1.77 0 002.506 0 1.77 1.77 0 000-2.506l-5.974-5.974 5.974-5.974c.68-.68.68-1.814 0-2.494z"}})]):a("svg",{staticClass:"check",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.845 16.462L12 20.617 24.702 7.93c.78-.78 2.042-.78 2.823 0 .78.78.78 2.042 0 2.822L13.418 24.858c-.78.78-2.042.78-2.823 0l-5.573-5.573a1.994 1.994 0 010-2.823c.78-.78 2.042-.78 2.823 0z"}})])]):t._e()],1),t._v(" "),a("div",{staticClass:"name-input-group lastname-input-group"},[a("span",{staticClass:"label show-mobile",style:{color:t.labelColor}},[t._v("E o sobrenome?")]),t._v(" "),a("Input",{attrs:{placeholder:"Sobrenome",name:"lastname",value:t.lastName,maxlength:"100"},on:{update:t.onChange}}),t._v(" "),t.validationCheck?a("div",{staticClass:"validation",class:t.lastName&&t.lastName.length>=2?"active":"inactive"},[t.error&&t.error.length>1?a("svg",{staticClass:"close",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.48 6.7a1.77 1.77 0 00-2.506-.001L16 12.66l-5.974-5.975a1.77 1.77 0 00-2.506 0 1.77 1.77 0 000 2.507l5.974 5.974L7.52 21.14a1.77 1.77 0 000 2.506 1.77 1.77 0 002.506 0L16 17.673l5.974 5.974a1.77 1.77 0 002.506 0 1.77 1.77 0 000-2.506l-5.974-5.974 5.974-5.974c.68-.68.68-1.814 0-2.494z"}})]):a("svg",{staticClass:"check",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.845 16.462L12 20.617 24.702 7.93c.78-.78 2.042-.78 2.823 0 .78.78.78 2.042 0 2.822L13.418 24.858c-.78.78-2.042.78-2.823 0l-5.573-5.573a1.994 1.994 0 010-2.823c.78-.78 2.042-.78 2.823 0z"}})])]):t._e()],1)]),t._v(" "),t.helper||t.error?a("span",{staticClass:"helper",style:{color:t.helperColor},domProps:{innerHTML:t._s(t.error?t.error:t.helper)}}):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-2994368e_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-2994368e]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-2994368e]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-2994368e]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-2994368e]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-2994368e]{font-size:14px}}@media (min-width:1024px){[data-v-2994368e]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-2994368e]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-2994368e]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-2994368e]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-2994368e]{font-size:1.56vw}}html[data-v-2994368e]{box-sizing:border-box}*[data-v-2994368e],[data-v-2994368e]::after,[data-v-2994368e]::before{box-sizing:border-box}.show-desk[data-v-2994368e]{display:block}@media (max-width:479px){.show-desk[data-v-2994368e]{display:none!important}}.show-mobile[data-v-2994368e]{display:none}@media (max-width:479px){.show-mobile[data-v-2994368e]{display:block}}.input-group[data-v-2994368e]{transition:all .3s;position:relative;display:flex;flex-direction:column;width:100%}.input-group.error-active .input[data-v-2994368e]{border-color:#ff4641!important}.input-group.error-active .helper[data-v-2994368e]{color:#ff4641!important}.input-group .label[data-v-2994368e]{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){.input-group .label[data-v-2994368e]{font-size:1.308411215rem}}.input-group .helper[data-v-2994368e]{font-family:Roboto,sans-serif;color:#afa2ba;line-height:1.5;font-size:.5714285714rem;margin-top:.1904761905rem;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.input-group .helper[data-v-2994368e]{font-size:1.1214953271rem}}.input-group .name-input-list[data-v-2994368e]{display:flex;width:100%;max-width:100%;justify-content:space-between}@media (max-width:479px){.input-group .name-input-list[data-v-2994368e]{flex-direction:column}}.input-group .name-input-list .name-input-group[data-v-2994368e]{flex:0 0 50%;max-width:50%;position:relative}@media (max-width:479px){.input-group .name-input-list .name-input-group[data-v-2994368e]{flex:0 0 100%;max-width:100%}}.input-group .name-input-list .name-input-group[data-v-2994368e] input{width:100%}.input-group .name-input-list .name-input-group[data-v-2994368e] .validation{top:-1.0476190476rem}@media (max-width:479px){.input-group .name-input-list .name-input-group[data-v-2994368e] .validation{top:.2803738318rem}}.input-group .name-input-list .firstname-input-group[data-v-2994368e]{padding-right:.1904761905rem}@media (max-width:479px){.input-group .name-input-list .firstname-input-group[data-v-2994368e]{padding-right:0}}.input-group .name-input-list .lastname-input-group[data-v-2994368e]{padding-left:.1904761905rem}@media (max-width:479px){.input-group .name-input-list .lastname-input-group[data-v-2994368e]{padding-left:0;margin-top:1.4953271028rem}}.validation[data-v-2994368e]{position:absolute;border-radius:50%;width:.7619047619rem;height:.7619047619rem;right:0;top:0}@media (max-width:479px){.validation[data-v-2994368e]{width:1.4953271028rem;height:1.4953271028rem}}.validation[data-v-2994368e].inactive .close path{fill:#ff4641}.validation[data-v-2994368e] .icon{width:.7619047619rem;height:.7619047619rem;display:flex}.validation[data-v-2994368e] svg{width:.7619047619rem;height:.7619047619rem}@media (max-width:479px){.validation[data-v-2994368e] svg{width:1.4953271028rem;height:1.4953271028rem}}.validation[data-v-2994368e] svg path{fill:#dfdae4}.validation[data-v-2994368e].active svg path{fill:#00cf72}.validation[data-v-2994368e].active .close path{fill:#ff4641}',map:void 0,media:void 0})}),{name:"InputName",components:{Input:F,Icon:I},props:{
588
+ this.fieldIsDisabled=!0,this.initialValue=this.finalValue,this.$emit("submitSave",t)},ChangeFinalValue:function(t){this.finalValue=t.value;var e={value:this.finalValue};this.$emit("update",e)}}},"data-v-14d33d3c",!1,void 0,!1,b,void 0,void 0),D=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"input-group",class:{"error-active":t.error,"is-disabled":t.disabled}},"div",t.$attrs,!1),t.$listeners),[t.label?a("span",{staticClass:"label show-desk",style:{color:t.labelColor},domProps:{innerHTML:t._s(t.label)}}):t._e(),t._v(" "),a("div",{staticClass:"name-input-list"},[a("div",{staticClass:"name-input-group firstname-input-group"},[a("span",{staticClass:"label show-mobile",style:{color:t.labelColor}},[t._v("Qual seu nome?")]),t._v(" "),a("Input",{attrs:{placeholder:"Nome",name:"name",value:t.name,maxlength:"50"},on:{update:t.onChange}}),t._v(" "),t.validationCheck?a("div",{staticClass:"validation",class:t.name&&t.name.length>=2?"active":"inactive"},[t.error&&t.error.length>1?a("svg",{staticClass:"close",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.48 6.7a1.77 1.77 0 00-2.506-.001L16 12.66l-5.974-5.975a1.77 1.77 0 00-2.506 0 1.77 1.77 0 000 2.507l5.974 5.974L7.52 21.14a1.77 1.77 0 000 2.506 1.77 1.77 0 002.506 0L16 17.673l5.974 5.974a1.77 1.77 0 002.506 0 1.77 1.77 0 000-2.506l-5.974-5.974 5.974-5.974c.68-.68.68-1.814 0-2.494z"}})]):a("svg",{staticClass:"check",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.845 16.462L12 20.617 24.702 7.93c.78-.78 2.042-.78 2.823 0 .78.78.78 2.042 0 2.822L13.418 24.858c-.78.78-2.042.78-2.823 0l-5.573-5.573a1.994 1.994 0 010-2.823c.78-.78 2.042-.78 2.823 0z"}})])]):t._e()],1),t._v(" "),a("div",{staticClass:"name-input-group lastname-input-group"},[a("span",{staticClass:"label show-mobile",style:{color:t.labelColor}},[t._v("E o sobrenome?")]),t._v(" "),a("Input",{attrs:{placeholder:"Sobrenome",name:"lastname",value:t.lastName,maxlength:"100"},on:{update:t.onChange}}),t._v(" "),t.validationCheck?a("div",{staticClass:"validation",class:t.lastName&&t.lastName.length>=2?"active":"inactive"},[t.error&&t.error.length>1?a("svg",{staticClass:"close",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.48 6.7a1.77 1.77 0 00-2.506-.001L16 12.66l-5.974-5.975a1.77 1.77 0 00-2.506 0 1.77 1.77 0 000 2.507l5.974 5.974L7.52 21.14a1.77 1.77 0 000 2.506 1.77 1.77 0 002.506 0L16 17.673l5.974 5.974a1.77 1.77 0 002.506 0 1.77 1.77 0 000-2.506l-5.974-5.974 5.974-5.974c.68-.68.68-1.814 0-2.494z"}})]):a("svg",{staticClass:"check",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.845 16.462L12 20.617 24.702 7.93c.78-.78 2.042-.78 2.823 0 .78.78.78 2.042 0 2.822L13.418 24.858c-.78.78-2.042.78-2.823 0l-5.573-5.573a1.994 1.994 0 010-2.823c.78-.78 2.042-.78 2.823 0z"}})])]):t._e()],1)]),t._v(" "),t.helper||t.error?a("span",{staticClass:"helper",style:{color:t.helperColor},domProps:{innerHTML:t._s(t.error?t.error:t.helper)}}):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-2994368e_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-2994368e]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-2994368e]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-2994368e]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-2994368e]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-2994368e]{font-size:14px}}@media (min-width:1024px){[data-v-2994368e]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-2994368e]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-2994368e]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-2994368e]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-2994368e]{font-size:1.56vw}}html[data-v-2994368e]{box-sizing:border-box}*[data-v-2994368e],[data-v-2994368e]::after,[data-v-2994368e]::before{box-sizing:border-box}.show-desk[data-v-2994368e]{display:block}@media (max-width:479px){.show-desk[data-v-2994368e]{display:none!important}}.show-mobile[data-v-2994368e]{display:none}@media (max-width:479px){.show-mobile[data-v-2994368e]{display:block}}.input-group[data-v-2994368e]{transition:all .3s;position:relative;display:flex;flex-direction:column;width:100%}.input-group.error-active .input[data-v-2994368e]{border-color:#ff4641!important}.input-group.error-active .helper[data-v-2994368e]{color:#ff4641!important}.input-group .label[data-v-2994368e]{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){.input-group .label[data-v-2994368e]{font-size:1.308411215rem}}.input-group .helper[data-v-2994368e]{font-family:Roboto,sans-serif;color:#afa2ba;line-height:1.5;font-size:.5714285714rem;margin-top:.1904761905rem;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.input-group .helper[data-v-2994368e]{font-size:1.1214953271rem}}.input-group .name-input-list[data-v-2994368e]{display:flex;width:100%;max-width:100%;justify-content:space-between}@media (max-width:479px){.input-group .name-input-list[data-v-2994368e]{flex-direction:column}}.input-group .name-input-list .name-input-group[data-v-2994368e]{flex:0 0 50%;max-width:50%;position:relative}@media (max-width:479px){.input-group .name-input-list .name-input-group[data-v-2994368e]{flex:0 0 100%;max-width:100%}}.input-group .name-input-list .name-input-group[data-v-2994368e] input{width:100%}.input-group .name-input-list .name-input-group[data-v-2994368e] .validation{top:-1.0476190476rem}@media (max-width:479px){.input-group .name-input-list .name-input-group[data-v-2994368e] .validation{top:.2803738318rem}}.input-group .name-input-list .firstname-input-group[data-v-2994368e]{padding-right:.1904761905rem}@media (max-width:479px){.input-group .name-input-list .firstname-input-group[data-v-2994368e]{padding-right:0}}.input-group .name-input-list .lastname-input-group[data-v-2994368e]{padding-left:.1904761905rem}@media (max-width:479px){.input-group .name-input-list .lastname-input-group[data-v-2994368e]{padding-left:0;margin-top:1.4953271028rem}}.validation[data-v-2994368e]{position:absolute;border-radius:50%;width:.7619047619rem;height:.7619047619rem;right:0;top:0}@media (max-width:479px){.validation[data-v-2994368e]{width:1.4953271028rem;height:1.4953271028rem}}.validation[data-v-2994368e].inactive .close path{fill:#ff4641}.validation[data-v-2994368e] .icon{width:.7619047619rem;height:.7619047619rem;display:flex}.validation[data-v-2994368e] svg{width:.7619047619rem;height:.7619047619rem}@media (max-width:479px){.validation[data-v-2994368e] svg{width:1.4953271028rem;height:1.4953271028rem}}.validation[data-v-2994368e] svg path{fill:#dfdae4}.validation[data-v-2994368e].active svg path{fill:#00cf72}.validation[data-v-2994368e].active .close path{fill:#ff4641}',map:void 0,media:void 0})}),{name:"InputName",components:{Input:F,Icon:L},props:{
577
589
  /**
578
590
  * Label do campo, caso vazio, label não é exibida<br>
579
591
  * Example: `Label`
@@ -663,7 +675,7 @@ disabled:{type:Boolean,default:!1}},data:function(){return{domains:["bol.com.br"
663
675
  * Evento disparado sempre que o valor for alterado.<br>
664
676
  * Retorna um objeto com target (name do campo), value ativo.
665
677
  */,this.$emit("update",t)},setDomain:function(t){this.showDatalist=!1,this.blockWatch=!0;var e={target:"email",value:this.email.substring(0,this.email.indexOf("@"))+"@"+t};this.$emit("update",e)},domainSuggestion:function(){-1!=this.user.email.indexOf("@")&&(this.showDatalist=!0)}}},"data-v-0f810ea4",!1,void 0,!1,b,void 0,void 0);
666
- /* template */function j(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}for(var O,V=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"select-group",class:[{"error-active":t.error,"is-disabled":t.disabled},t.selected?"is-selected":"is-not-selected"]},"div",t.$attrs,!1),t.$listeners),[t.label?a("span",{staticClass:"label",style:{color:t.labelColor},domProps:{innerHTML:t._s(t.label)}}):t._e(),t._v(" "),a("select",{staticClass:"select",attrs:{name:t.name,disabled:t.disabled},on:{change:t.onChange}},[t.placeholder?a("option",{key:"0",attrs:{disabled:"disabled"},domProps:{selected:!t.selected}},[t._v(t._s(t.placeholder))]):t._e(),t._v(" "),t._l(t.options,(function(e,i){return a("option",{key:i+1,attrs:{title:e.key},domProps:{selected:!(!t.selected||e.key.toString()!==t.selected.toString())}},[t._v("\n "+t._s(e.value)+"\n ")])}))],2),t._v(" "),t.helper||t.error?a("span",{staticClass:"helper",style:{color:t.helperColor},domProps:{innerHTML:t._s(t.error&&!t.disabled?t.error:t.helper)}}):t._e(),t._v(" "),t.validationCheck?a("div",{staticClass:"validation",class:t.validationCheckValue?"active":"inactive"},[t.error&&t.error.length>1?a("svg",{staticClass:"close",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.48 6.7a1.77 1.77 0 00-2.506-.001L16 12.66l-5.974-5.975a1.77 1.77 0 00-2.506 0 1.77 1.77 0 000 2.507l5.974 5.974L7.52 21.14a1.77 1.77 0 000 2.506 1.77 1.77 0 002.506 0L16 17.673l5.974 5.974a1.77 1.77 0 002.506 0 1.77 1.77 0 000-2.506l-5.974-5.974 5.974-5.974c.68-.68.68-1.814 0-2.494z"}})]):a("svg",{staticClass:"check",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.845 16.462L12 20.617 24.702 7.93c.78-.78 2.042-.78 2.823 0 .78.78.78 2.042 0 2.822L13.418 24.858c-.78.78-2.042.78-2.823 0l-5.573-5.573a1.994 1.994 0 010-2.823c.78-.78 2.042-.78 2.823 0z"}})])]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-32faa71f_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-32faa71f]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-32faa71f]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-32faa71f]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-32faa71f]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-32faa71f]{font-size:14px}}@media (min-width:1024px){[data-v-32faa71f]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-32faa71f]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-32faa71f]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-32faa71f]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-32faa71f]{font-size:1.56vw}}html[data-v-32faa71f]{box-sizing:border-box}*[data-v-32faa71f],[data-v-32faa71f]::after,[data-v-32faa71f]::before{box-sizing:border-box}.select-group[data-v-32faa71f]{transition:all .3s;position:relative;display:flex;flex-direction:column;width:100%}.select-group.error-active .select[data-v-32faa71f]{border-color:#ff4641!important}.select-group.error-active .helper[data-v-32faa71f]{color:#ff4641}.select-group.is-not-selected .select[data-v-32faa71f]{color:#afa2ba!important}.select-group.is-selected .select[data-v-32faa71f]{color:#68596e!important}.select-group .validation[data-v-32faa71f]{position:absolute;border-radius:50%;width:.7619047619rem;height:.7619047619rem;right:0;top:0}@media (max-width:479px){.select-group .validation[data-v-32faa71f]{top:.2803738318rem;width:1.4953271028rem;height:1.4953271028rem}}.select-group .validation[data-v-32faa71f].inactive .close path{fill:#ff4641}.select-group .validation[data-v-32faa71f] .icon{width:.7619047619rem;height:.7619047619rem;display:flex}.select-group .validation[data-v-32faa71f] svg{width:.7619047619rem;height:.7619047619rem}@media (max-width:479px){.select-group .validation[data-v-32faa71f] svg{width:1.4953271028rem;height:1.4953271028rem}}.select-group .validation[data-v-32faa71f] svg path{fill:#dfdae4}.select-group .validation[data-v-32faa71f].active svg path{fill:#00cf72}.select-group .validation[data-v-32faa71f].active .close path{fill:#ff4641}.select-group .label[data-v-32faa71f]{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){.select-group .label[data-v-32faa71f]{font-size:1.308411215rem}}.select-group .select[data-v-32faa71f]{-webkit-appearance:none;-moz-appearance:none;text-overflow:"";padding:0 .7619047619rem 0 1.1428571429rem;border:2px solid #dfdae4;border-radius:.380952381rem;background:#fff url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="rgb(104,89,110)" stroke="transparent" viewbox="0 0 16 16" viewBox="0 0 36 36"><path d="M17.828 22.65a1.996 1.996 0 0 1-1.585-.579l-5.657-5.657a2 2 0 0 1 2.828-2.828L17.828 18l4.415-4.414a2 2 0 0 1 2.828 2.828l-5.657 5.657a1.996 1.996 0 0 1-1.586.579z" fill-rule="evenodd"/></svg>\') no-repeat;background-size:.9523809524rem;background-position:right .7619047619rem top .9047619048rem;height:2.8571428571rem;text-align:left;font-family:Roboto,sans-serif;color:#68596e;font-size:.7619047619rem;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.select-group .select[data-v-32faa71f]{border-radius:.7476635514rem;background-size:1.8691588785rem;padding:0 1.4953271028rem;background-position:right .7476635514rem top 1.1214953271rem;height:4.2990654206rem}}@media (max-width:479px){.select-group .select[data-v-32faa71f]{font-size:1.308411215rem}}.select-group .select[data-v-32faa71f]::placeholder{color:#afa2ba;opacity:1}.select-group .select[data-v-32faa71f]:-ms-input-placeholder{color:#afa2ba}.select-group .select[data-v-32faa71f]::-ms-input-placeholder{color:#afa2ba}.select-group .select[data-v-32faa71f]::-ms-expand{display:none}.select-group .select[data-v-32faa71f]:hover{border-color:#afa2ba}.select-group .select[data-v-32faa71f]:active,.select-group .select[data-v-32faa71f]:focus{border-color:#12d3db;outline:0}.select-group .select option[data-v-32faa71f]{font-family:Roboto,sans-serif;color:#68596e}.select-group .select option[data-v-32faa71f]:first-child{color:#afa2ba!important}.select-group .select option[disabled][data-v-32faa71f]{color:#dfdae4}.select-group .helper[data-v-32faa71f]{font-family:Roboto,sans-serif;color:#afa2ba;line-height:1;font-size:.5714285714rem;margin-top:.1904761905rem;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.select-group .helper[data-v-32faa71f]{font-size:1.1214953271rem}}.select-group.is-disabled .label[data-v-32faa71f]{color:#dfdae4}.select-group.is-disabled .select[disabled][data-v-32faa71f]{background:#f8f7fc;border-color:#dfdae4!important}.select-group.is-disabled .select[disabled][data-v-32faa71f]:hover{border-color:#dfdae4}.select-group.is-disabled .select[disabled][data-v-32faa71f]::placeholder{color:#dfdae4;opacity:1}.select-group.is-disabled .select[disabled][data-v-32faa71f]:-ms-input-placeholder{color:#dfdae4}.select-group.is-disabled .select[disabled][data-v-32faa71f]::-ms-input-placeholder{color:#dfdae4}.select-group.is-disabled .helper[data-v-32faa71f]{color:#dfdae4}',map:void 0,media:void 0})}),{name:"Select",components:{Icon:I},props:{
678
+ /* template */function j(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}for(var O,V=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"select-group",class:[{"error-active":t.error,"is-disabled":t.disabled},t.selected?"is-selected":"is-not-selected"]},"div",t.$attrs,!1),t.$listeners),[t.label?a("span",{staticClass:"label",style:{color:t.labelColor},domProps:{innerHTML:t._s(t.label)}}):t._e(),t._v(" "),a("select",{staticClass:"select",attrs:{name:t.name,disabled:t.disabled},on:{change:t.onChange}},[t.placeholder?a("option",{key:"0",attrs:{disabled:"disabled"},domProps:{selected:!t.selected}},[t._v(t._s(t.placeholder))]):t._e(),t._v(" "),t._l(t.options,(function(e,i){return a("option",{key:i+1,attrs:{title:e.key},domProps:{selected:!(!t.selected||e.key.toString()!==t.selected.toString())}},[t._v("\n "+t._s(e.value)+"\n ")])}))],2),t._v(" "),t.helper||t.error?a("span",{staticClass:"helper",style:{color:t.helperColor},domProps:{innerHTML:t._s(t.error&&!t.disabled?t.error:t.helper)}}):t._e(),t._v(" "),t.validationCheck?a("div",{staticClass:"validation",class:t.validationCheckValue?"active":"inactive"},[t.error&&t.error.length>1?a("svg",{staticClass:"close",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.48 6.7a1.77 1.77 0 00-2.506-.001L16 12.66l-5.974-5.975a1.77 1.77 0 00-2.506 0 1.77 1.77 0 000 2.507l5.974 5.974L7.52 21.14a1.77 1.77 0 000 2.506 1.77 1.77 0 002.506 0L16 17.673l5.974 5.974a1.77 1.77 0 002.506 0 1.77 1.77 0 000-2.506l-5.974-5.974 5.974-5.974c.68-.68.68-1.814 0-2.494z"}})]):a("svg",{staticClass:"check",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.845 16.462L12 20.617 24.702 7.93c.78-.78 2.042-.78 2.823 0 .78.78.78 2.042 0 2.822L13.418 24.858c-.78.78-2.042.78-2.823 0l-5.573-5.573a1.994 1.994 0 010-2.823c.78-.78 2.042-.78 2.823 0z"}})])]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-32faa71f_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-32faa71f]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-32faa71f]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-32faa71f]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-32faa71f]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-32faa71f]{font-size:14px}}@media (min-width:1024px){[data-v-32faa71f]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-32faa71f]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-32faa71f]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-32faa71f]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-32faa71f]{font-size:1.56vw}}html[data-v-32faa71f]{box-sizing:border-box}*[data-v-32faa71f],[data-v-32faa71f]::after,[data-v-32faa71f]::before{box-sizing:border-box}.select-group[data-v-32faa71f]{transition:all .3s;position:relative;display:flex;flex-direction:column;width:100%}.select-group.error-active .select[data-v-32faa71f]{border-color:#ff4641!important}.select-group.error-active .helper[data-v-32faa71f]{color:#ff4641}.select-group.is-not-selected .select[data-v-32faa71f]{color:#afa2ba!important}.select-group.is-selected .select[data-v-32faa71f]{color:#68596e!important}.select-group .validation[data-v-32faa71f]{position:absolute;border-radius:50%;width:.7619047619rem;height:.7619047619rem;right:0;top:0}@media (max-width:479px){.select-group .validation[data-v-32faa71f]{top:.2803738318rem;width:1.4953271028rem;height:1.4953271028rem}}.select-group .validation[data-v-32faa71f].inactive .close path{fill:#ff4641}.select-group .validation[data-v-32faa71f] .icon{width:.7619047619rem;height:.7619047619rem;display:flex}.select-group .validation[data-v-32faa71f] svg{width:.7619047619rem;height:.7619047619rem}@media (max-width:479px){.select-group .validation[data-v-32faa71f] svg{width:1.4953271028rem;height:1.4953271028rem}}.select-group .validation[data-v-32faa71f] svg path{fill:#dfdae4}.select-group .validation[data-v-32faa71f].active svg path{fill:#00cf72}.select-group .validation[data-v-32faa71f].active .close path{fill:#ff4641}.select-group .label[data-v-32faa71f]{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){.select-group .label[data-v-32faa71f]{font-size:1.308411215rem}}.select-group .select[data-v-32faa71f]{-webkit-appearance:none;-moz-appearance:none;text-overflow:"";padding:0 .7619047619rem 0 1.1428571429rem;border:2px solid #dfdae4;border-radius:.380952381rem;background:#fff url(\'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="rgb(104,89,110)" stroke="transparent" viewbox="0 0 16 16" viewBox="0 0 36 36"><path d="M17.828 22.65a1.996 1.996 0 0 1-1.585-.579l-5.657-5.657a2 2 0 0 1 2.828-2.828L17.828 18l4.415-4.414a2 2 0 0 1 2.828 2.828l-5.657 5.657a1.996 1.996 0 0 1-1.586.579z" fill-rule="evenodd"/></svg>\') no-repeat;background-size:.9523809524rem;background-position:right .7619047619rem top .9047619048rem;height:2.8571428571rem;text-align:left;font-family:Roboto,sans-serif;color:#68596e;font-size:.7619047619rem;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.select-group .select[data-v-32faa71f]{border-radius:.7476635514rem;background-size:1.8691588785rem;padding:0 1.4953271028rem;background-position:right .7476635514rem top 1.1214953271rem;height:4.2990654206rem}}@media (max-width:479px){.select-group .select[data-v-32faa71f]{font-size:1.308411215rem}}.select-group .select[data-v-32faa71f]::placeholder{color:#afa2ba;opacity:1}.select-group .select[data-v-32faa71f]:-ms-input-placeholder{color:#afa2ba}.select-group .select[data-v-32faa71f]::-ms-input-placeholder{color:#afa2ba}.select-group .select[data-v-32faa71f]::-ms-expand{display:none}.select-group .select[data-v-32faa71f]:hover{border-color:#afa2ba}.select-group .select[data-v-32faa71f]:active,.select-group .select[data-v-32faa71f]:focus{border-color:#12d3db;outline:0}.select-group .select option[data-v-32faa71f]{font-family:Roboto,sans-serif;color:#68596e}.select-group .select option[data-v-32faa71f]:first-child{color:#afa2ba!important}.select-group .select option[disabled][data-v-32faa71f]{color:#dfdae4}.select-group .helper[data-v-32faa71f]{font-family:Roboto,sans-serif;color:#afa2ba;line-height:1;font-size:.5714285714rem;margin-top:.1904761905rem;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.select-group .helper[data-v-32faa71f]{font-size:1.1214953271rem}}.select-group.is-disabled .label[data-v-32faa71f]{color:#dfdae4}.select-group.is-disabled .select[disabled][data-v-32faa71f]{background:#f8f7fc;border-color:#dfdae4!important}.select-group.is-disabled .select[disabled][data-v-32faa71f]:hover{border-color:#dfdae4}.select-group.is-disabled .select[disabled][data-v-32faa71f]::placeholder{color:#dfdae4;opacity:1}.select-group.is-disabled .select[disabled][data-v-32faa71f]:-ms-input-placeholder{color:#dfdae4}.select-group.is-disabled .select[disabled][data-v-32faa71f]::-ms-input-placeholder{color:#dfdae4}.select-group.is-disabled .helper[data-v-32faa71f]{color:#dfdae4}',map:void 0,media:void 0})}),{name:"Select",components:{Icon:L},props:{
667
679
  /**
668
680
  * Nome do campo, utilizado no callback do evento<br>
669
681
  * Example: `Name`
@@ -753,7 +765,7 @@ placeholder:{type:String}},j(O,"value",{type:String}),j(O,"helper",{type:String}
753
765
  * Evento disparado sempre que o valor do campo for alterado.<br>
754
766
  * Retorna um objeto com target (name do campo) e value.
755
767
  */
756
- this.$emit("update",a)}}},"data-v-17a5bc9c",!1,void 0,!1,b,void 0,void 0),Z=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"options-group",class:{"error-active":t.error,"is-disabled":t.disabled}},"div",t.$attrs,!1),t.$listeners),[t.label?a("span",{staticClass:"label",style:{color:t.labelColor},domProps:{innerHTML:t._s(t.label)}}):t._e(),t._v(" "),a("div",{staticClass:"options",class:{"is-grouped":t.grouped},attrs:{name:t.name,disabled:t.disabled}},t._l(t.options,(function(e,i){return a("button",{key:i+1,staticClass:"option",class:e.key===t.selected?"is-selected":null,on:{click:function(a){a.preventDefault(),!t.disabled&&t.onChange(e.key,e.value)}}},[t._v("\n "+t._s(e.label)+"\n ")])})),0),t._v(" "),t.helper||t.error?a("span",{staticClass:"helper",style:{color:t.helperColor},domProps:{innerHTML:t._s(t.error&&!t.disabled?t.error:t.helper)}}):t._e(),t._v(" "),t.validationCheck?a("div",{staticClass:"validation",class:t.validationCheckValue?"active":"inactive"},[t.error&&t.error.length>1?a("svg",{staticClass:"close",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.48 6.7a1.77 1.77 0 00-2.506-.001L16 12.66l-5.974-5.975a1.77 1.77 0 00-2.506 0 1.77 1.77 0 000 2.507l5.974 5.974L7.52 21.14a1.77 1.77 0 000 2.506 1.77 1.77 0 002.506 0L16 17.673l5.974 5.974a1.77 1.77 0 002.506 0 1.77 1.77 0 000-2.506l-5.974-5.974 5.974-5.974c.68-.68.68-1.814 0-2.494z"}})]):a("svg",{staticClass:"check",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.845 16.462L12 20.617 24.702 7.93c.78-.78 2.042-.78 2.823 0 .78.78.78 2.042 0 2.822L13.418 24.858c-.78.78-2.042.78-2.823 0l-5.573-5.573a1.994 1.994 0 010-2.823c.78-.78 2.042-.78 2.823 0z"}})])]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-7c2a749e_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-7c2a749e]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-7c2a749e]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-7c2a749e]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-7c2a749e]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-7c2a749e]{font-size:14px}}@media (min-width:1024px){[data-v-7c2a749e]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-7c2a749e]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-7c2a749e]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-7c2a749e]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-7c2a749e]{font-size:1.56vw}}html[data-v-7c2a749e]{box-sizing:border-box}*[data-v-7c2a749e],[data-v-7c2a749e]::after,[data-v-7c2a749e]::before{box-sizing:border-box}.options-group[data-v-7c2a749e]{transition:all .3s;position:relative;display:flex;flex-direction:column;width:100%}.options-group.error-active .options .option[data-v-7c2a749e]{border-color:#ff4641!important;color:#68596e}.options-group.error-active .helper[data-v-7c2a749e]{color:#ff4641}.options-group .validation[data-v-7c2a749e]{position:absolute;border-radius:50%;width:.7619047619rem;height:.7619047619rem;right:0;top:0}@media (max-width:479px){.options-group .validation[data-v-7c2a749e]{top:.2803738318rem;width:1.4953271028rem;height:1.4953271028rem}}.options-group .validation[data-v-7c2a749e].inactive .close path{fill:#ff4641}.options-group .validation[data-v-7c2a749e] .icon{width:.7619047619rem;height:.7619047619rem;display:flex}.options-group .validation[data-v-7c2a749e] svg{width:.7619047619rem;height:.7619047619rem}@media (max-width:479px){.options-group .validation[data-v-7c2a749e] svg{width:1.4953271028rem;height:1.4953271028rem}}.options-group .validation[data-v-7c2a749e] svg path{fill:#dfdae4}.options-group .validation[data-v-7c2a749e].active svg path{fill:#00cf72}.options-group .validation[data-v-7c2a749e].active .close path{fill:#ff4641}.options-group .label[data-v-7c2a749e]{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){.options-group .label[data-v-7c2a749e]{font-size:1.308411215rem}}.options-group .options[data-v-7c2a749e]{display:flex}.options-group .options.is-grouped .option[data-v-7c2a749e]:not(:first-child){margin-left:-2px}.options-group .options.is-grouped .option[data-v-7c2a749e]:not(:last-child){border-right-color:transparent}.options-group .options.is-grouped .option[data-v-7c2a749e]:first-child{border-top-left-radius:.380952381rem;border-bottom-left-radius:.380952381rem}.options-group .options.is-grouped .option[data-v-7c2a749e]:last-child{border-top-right-radius:.380952381rem;border-bottom-right-radius:.380952381rem}.options-group .options:not(.is-grouped) .option[data-v-7c2a749e]{border-radius:.380952381rem}.options-group .options:not(.is-grouped) .option[data-v-7c2a749e]:not(:last-child){margin-right:.380952381rem}@media (max-width:479px){.options-group .options:not(.is-grouped) .option[data-v-7c2a749e]{border-radius:.7476635514rem}}.options-group .options .option[data-v-7c2a749e]{flex:1;padding:0;border:2px solid #dfdae4;background:#fff;position:relative;min-height:2.8571428571rem;font-family:Roboto,sans-serif;color:#afa2ba;font-size:.7619047619rem;line-height:1}@media (max-width:479px){.options-group .options .option[data-v-7c2a749e]{padding:0;min-height:4.2990654206rem;font-size:1.308411215rem}}.options-group .options .option[data-v-7c2a749e]:hover{outline:0;border-color:#afa2ba;z-index:5;cursor:pointer;color:#68596e}.options-group .options .option.is-selected[data-v-7c2a749e],.options-group .options .option[data-v-7c2a749e]:active,.options-group .options .option[data-v-7c2a749e]:focus{outline:0;border-color:#12d3db!important;z-index:10;color:#12d3db}.options-group .helper[data-v-7c2a749e]{font-family:Roboto,sans-serif;color:#afa2ba;line-height:1.5;font-size:.5714285714rem;margin-top:.1904761905rem;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.options-group .helper[data-v-7c2a749e]{font-size:1.1214953271rem}}.options-group.is-disabled .label[data-v-7c2a749e]{color:#dfdae4}.options-group.is-disabled .option[data-v-7c2a749e]{background:#f8f7fc;border-color:#dfdae4!important;color:#dfdae4}.options-group.is-disabled .option[data-v-7c2a749e]:hover{cursor:unset;color:#dfdae4;border-color:#dfdae4}.options-group.is-disabled .helper[data-v-7c2a749e]{color:#dfdae4}',map:void 0,media:void 0})}),{name:"Options",components:{Icon:I},props:{
768
+ this.$emit("update",a)}}},"data-v-17a5bc9c",!1,void 0,!1,b,void 0,void 0),Z=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._g(t._b({staticClass:"options-group",class:{"error-active":t.error,"is-disabled":t.disabled}},"div",t.$attrs,!1),t.$listeners),[t.label?a("span",{staticClass:"label",style:{color:t.labelColor},domProps:{innerHTML:t._s(t.label)}}):t._e(),t._v(" "),a("div",{staticClass:"options",class:{"is-grouped":t.grouped},attrs:{name:t.name,disabled:t.disabled}},t._l(t.options,(function(e,i){return a("button",{key:i+1,staticClass:"option",class:e.key===t.selected?"is-selected":null,on:{click:function(a){a.preventDefault(),!t.disabled&&t.onChange(e.key,e.value)}}},[t._v("\n "+t._s(e.label)+"\n ")])})),0),t._v(" "),t.helper||t.error?a("span",{staticClass:"helper",style:{color:t.helperColor},domProps:{innerHTML:t._s(t.error&&!t.disabled?t.error:t.helper)}}):t._e(),t._v(" "),t.validationCheck?a("div",{staticClass:"validation",class:t.validationCheckValue?"active":"inactive"},[t.error&&t.error.length>1?a("svg",{staticClass:"close",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.48 6.7a1.77 1.77 0 00-2.506-.001L16 12.66l-5.974-5.975a1.77 1.77 0 00-2.506 0 1.77 1.77 0 000 2.507l5.974 5.974L7.52 21.14a1.77 1.77 0 000 2.506 1.77 1.77 0 002.506 0L16 17.673l5.974 5.974a1.77 1.77 0 002.506 0 1.77 1.77 0 000-2.506l-5.974-5.974 5.974-5.974c.68-.68.68-1.814 0-2.494z"}})]):a("svg",{staticClass:"check",attrs:{viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M7.845 16.462L12 20.617 24.702 7.93c.78-.78 2.042-.78 2.823 0 .78.78.78 2.042 0 2.822L13.418 24.858c-.78.78-2.042.78-2.823 0l-5.573-5.573a1.994 1.994 0 010-2.823c.78-.78 2.042-.78 2.823 0z"}})])]):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-7c2a749e_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-7c2a749e]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-7c2a749e]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-7c2a749e]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-7c2a749e]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-7c2a749e]{font-size:14px}}@media (min-width:1024px){[data-v-7c2a749e]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-7c2a749e]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-7c2a749e]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-7c2a749e]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-7c2a749e]{font-size:1.56vw}}html[data-v-7c2a749e]{box-sizing:border-box}*[data-v-7c2a749e],[data-v-7c2a749e]::after,[data-v-7c2a749e]::before{box-sizing:border-box}.options-group[data-v-7c2a749e]{transition:all .3s;position:relative;display:flex;flex-direction:column;width:100%}.options-group.error-active .options .option[data-v-7c2a749e]{border-color:#ff4641!important;color:#68596e}.options-group.error-active .helper[data-v-7c2a749e]{color:#ff4641}.options-group .validation[data-v-7c2a749e]{position:absolute;border-radius:50%;width:.7619047619rem;height:.7619047619rem;right:0;top:0}@media (max-width:479px){.options-group .validation[data-v-7c2a749e]{top:.2803738318rem;width:1.4953271028rem;height:1.4953271028rem}}.options-group .validation[data-v-7c2a749e].inactive .close path{fill:#ff4641}.options-group .validation[data-v-7c2a749e] .icon{width:.7619047619rem;height:.7619047619rem;display:flex}.options-group .validation[data-v-7c2a749e] svg{width:.7619047619rem;height:.7619047619rem}@media (max-width:479px){.options-group .validation[data-v-7c2a749e] svg{width:1.4953271028rem;height:1.4953271028rem}}.options-group .validation[data-v-7c2a749e] svg path{fill:#dfdae4}.options-group .validation[data-v-7c2a749e].active svg path{fill:#00cf72}.options-group .validation[data-v-7c2a749e].active .close path{fill:#ff4641}.options-group .label[data-v-7c2a749e]{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){.options-group .label[data-v-7c2a749e]{font-size:1.308411215rem}}.options-group .options[data-v-7c2a749e]{display:flex}.options-group .options.is-grouped .option[data-v-7c2a749e]:not(:first-child){margin-left:-2px}.options-group .options.is-grouped .option[data-v-7c2a749e]:not(:last-child){border-right-color:transparent}.options-group .options.is-grouped .option[data-v-7c2a749e]:first-child{border-top-left-radius:.380952381rem;border-bottom-left-radius:.380952381rem}.options-group .options.is-grouped .option[data-v-7c2a749e]:last-child{border-top-right-radius:.380952381rem;border-bottom-right-radius:.380952381rem}.options-group .options:not(.is-grouped) .option[data-v-7c2a749e]{border-radius:.380952381rem}.options-group .options:not(.is-grouped) .option[data-v-7c2a749e]:not(:last-child){margin-right:.380952381rem}@media (max-width:479px){.options-group .options:not(.is-grouped) .option[data-v-7c2a749e]{border-radius:.7476635514rem}}.options-group .options .option[data-v-7c2a749e]{flex:1;padding:0;border:2px solid #dfdae4;background:#fff;position:relative;min-height:2.8571428571rem;font-family:Roboto,sans-serif;color:#afa2ba;font-size:.7619047619rem;line-height:1}@media (max-width:479px){.options-group .options .option[data-v-7c2a749e]{padding:0;min-height:4.2990654206rem;font-size:1.308411215rem}}.options-group .options .option[data-v-7c2a749e]:hover{outline:0;border-color:#afa2ba;z-index:5;cursor:pointer;color:#68596e}.options-group .options .option.is-selected[data-v-7c2a749e],.options-group .options .option[data-v-7c2a749e]:active,.options-group .options .option[data-v-7c2a749e]:focus{outline:0;border-color:#12d3db!important;z-index:10;color:#12d3db}.options-group .helper[data-v-7c2a749e]{font-family:Roboto,sans-serif;color:#afa2ba;line-height:1.5;font-size:.5714285714rem;margin-top:.1904761905rem;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (max-width:479px){.options-group .helper[data-v-7c2a749e]{font-size:1.1214953271rem}}.options-group.is-disabled .label[data-v-7c2a749e]{color:#dfdae4}.options-group.is-disabled .option[data-v-7c2a749e]{background:#f8f7fc;border-color:#dfdae4!important;color:#dfdae4}.options-group.is-disabled .option[data-v-7c2a749e]:hover{cursor:unset;color:#dfdae4;border-color:#dfdae4}.options-group.is-disabled .helper[data-v-7c2a749e]{color:#dfdae4}',map:void 0,media:void 0})}),{name:"Options",components:{Icon:L},props:{
757
769
  /**
758
770
  * Nome do campo, utilizado no callback do evento<br>
759
771
  * Example: `Name`
@@ -1175,7 +1187,7 @@ size:{type:String,default:"md"}},data:function(){return{}},computed:{colorsVar:f
1175
1187
  /**
1176
1188
  * Evento disparado sempre que o valor for alterado.<br>
1177
1189
  * Retorna um objeto com target (name do campo), key ativo e value ativo.
1178
- */this.$emit("change",a)}}},"data-v-0e8500b1",!1,void 0,!1,b,void 0,void 0),ht=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.visible?a("div",t._g(t._b({staticClass:"tooltip-group"},"div",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"tooltip-arrow",class:t.arrowDirection}),t._v(" "),a("div",{staticClass:"tooltip-content"},[t.icon?a("div",{staticClass:"tooltip-icon"},[a("Icon",{attrs:{name:t.icon,size:"md"}})],1):t._e(),t._v(" "),a("div",{staticClass:"tooltip-text-content"},[a("div",{staticClass:"tooltip-title",domProps:{innerHTML:t._s(t.title)}}),t._v(" "),t._t("default")],2)])]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-42f6bd63_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-42f6bd63]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-42f6bd63]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-42f6bd63]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-42f6bd63]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-42f6bd63]{font-size:14px}}@media (min-width:1024px){[data-v-42f6bd63]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-42f6bd63]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-42f6bd63]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-42f6bd63]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-42f6bd63]{font-size:1.56vw}}html[data-v-42f6bd63]{box-sizing:border-box}*[data-v-42f6bd63],[data-v-42f6bd63]::after,[data-v-42f6bd63]::before{box-sizing:border-box}.tooltip-group[data-v-42f6bd63]{transition:all .3s;display:flex;flex-direction:row;position:relative;padding:.7619047619rem;border-radius:8px;background:#4965bc;max-width:15.4761904762rem}@media (max-width:479px){.tooltip-group[data-v-42f6bd63]{padding:.7476635514rem;max-width:22.4299065421rem}}.tooltip-group .tooltip-arrow[data-v-42f6bd63]{position:absolute;width:0;height:0;border:.7619047619rem solid #4965bc;border-top:.7619047619rem solid;border-right:.7619047619rem solid;color:#4965bc}.tooltip-group .tooltip-arrow.left[data-v-42f6bd63]{left:-.380952381rem;top:0;bottom:0;margin:auto 0;transform:rotate(135deg)}.tooltip-group .tooltip-arrow.right[data-v-42f6bd63]{right:-.380952381rem;top:0;bottom:0;margin:auto 0;transform:rotate(135deg)}.tooltip-group .tooltip-arrow.top-start[data-v-42f6bd63]{top:-.380952381rem;left:1.1428571429rem;transform:rotate(135deg)}.tooltip-group .tooltip-arrow.top-center[data-v-42f6bd63]{top:-.380952381rem;left:50%;transform:rotate(135deg) translate(50%,50%)}.tooltip-group .tooltip-arrow.top-end[data-v-42f6bd63]{top:-.380952381rem;right:1.1428571429rem;transform:rotate(135deg)}.tooltip-group .tooltip-arrow.bottom-start[data-v-42f6bd63]{bottom:-.380952381rem;left:1.1428571429rem;transform:rotate(135deg)}.tooltip-group .tooltip-arrow.bottom-center[data-v-42f6bd63]{bottom:-.380952381rem;left:50%;transform:rotate(135deg) translate(50%,50%)}.tooltip-group .tooltip-arrow.bottom-end[data-v-42f6bd63]{bottom:-.380952381rem;right:1.1428571429rem;transform:rotate(135deg)}.tooltip-group .tooltip-content[data-v-42f6bd63]{display:flex;position:relative;z-index:20}.tooltip-group .tooltip-content .tooltip-icon[data-v-42f6bd63]{align-items:center;justify-content:center;display:flex;margin-right:.7619047619rem}@media (max-width:479px){.tooltip-group .tooltip-content .tooltip-icon[data-v-42f6bd63]{margin-right:.7476635514rem}}.tooltip-group .tooltip-content .tooltip-text-content[data-v-42f6bd63]{display:flex;flex-direction:column}.tooltip-group .tooltip-content .tooltip-text-content .tooltip-title[data-v-42f6bd63]{font-family:Nunito,sans-serif;color:#fff;font-weight:700;line-height:1.5;font-size:.6666666667rem;text-align:left}@media (max-width:479px){.tooltip-group .tooltip-content .tooltip-text-content .tooltip-title[data-v-42f6bd63]{font-size:1.1214953271rem}}.tooltip-group .tooltip-content .tooltip-text-content .tooltip-text[data-v-42f6bd63]{font-family:Nunito,sans-serif;color:#fff;line-height:1.5;font-size:.6666666667rem;text-align:left}@media (max-width:479px){.tooltip-group .tooltip-content .tooltip-text-content .tooltip-text[data-v-42f6bd63]{font-size:1.1214953271rem}}',map:void 0,media:void 0})}),{name:"Tooltip",props:{
1190
+ */this.$emit("change",a)}}},"data-v-0e8500b1",!1,void 0,!1,b,void 0,void 0),ut=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.visible?a("div",t._g(t._b({staticClass:"tooltip-group"},"div",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"tooltip-arrow",class:t.arrowDirection}),t._v(" "),a("div",{staticClass:"tooltip-content"},[t.icon?a("div",{staticClass:"tooltip-icon"},[a("Icon",{attrs:{name:t.icon,size:"md"}})],1):t._e(),t._v(" "),a("div",{staticClass:"tooltip-text-content"},[a("div",{staticClass:"tooltip-title",domProps:{innerHTML:t._s(t.title)}}),t._v(" "),t._t("default")],2)])]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-42f6bd63_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-42f6bd63]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-42f6bd63]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-42f6bd63]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-42f6bd63]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-42f6bd63]{font-size:14px}}@media (min-width:1024px){[data-v-42f6bd63]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-42f6bd63]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-42f6bd63]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-42f6bd63]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-42f6bd63]{font-size:1.56vw}}html[data-v-42f6bd63]{box-sizing:border-box}*[data-v-42f6bd63],[data-v-42f6bd63]::after,[data-v-42f6bd63]::before{box-sizing:border-box}.tooltip-group[data-v-42f6bd63]{transition:all .3s;display:flex;flex-direction:row;position:relative;padding:.7619047619rem;border-radius:8px;background:#4965bc;max-width:15.4761904762rem}@media (max-width:479px){.tooltip-group[data-v-42f6bd63]{padding:.7476635514rem;max-width:22.4299065421rem}}.tooltip-group .tooltip-arrow[data-v-42f6bd63]{position:absolute;width:0;height:0;border:.7619047619rem solid #4965bc;border-top:.7619047619rem solid;border-right:.7619047619rem solid;color:#4965bc}.tooltip-group .tooltip-arrow.left[data-v-42f6bd63]{left:-.380952381rem;top:0;bottom:0;margin:auto 0;transform:rotate(135deg)}.tooltip-group .tooltip-arrow.right[data-v-42f6bd63]{right:-.380952381rem;top:0;bottom:0;margin:auto 0;transform:rotate(135deg)}.tooltip-group .tooltip-arrow.top-start[data-v-42f6bd63]{top:-.380952381rem;left:1.1428571429rem;transform:rotate(135deg)}.tooltip-group .tooltip-arrow.top-center[data-v-42f6bd63]{top:-.380952381rem;left:50%;transform:rotate(135deg) translate(50%,50%)}.tooltip-group .tooltip-arrow.top-end[data-v-42f6bd63]{top:-.380952381rem;right:1.1428571429rem;transform:rotate(135deg)}.tooltip-group .tooltip-arrow.bottom-start[data-v-42f6bd63]{bottom:-.380952381rem;left:1.1428571429rem;transform:rotate(135deg)}.tooltip-group .tooltip-arrow.bottom-center[data-v-42f6bd63]{bottom:-.380952381rem;left:50%;transform:rotate(135deg) translate(50%,50%)}.tooltip-group .tooltip-arrow.bottom-end[data-v-42f6bd63]{bottom:-.380952381rem;right:1.1428571429rem;transform:rotate(135deg)}.tooltip-group .tooltip-content[data-v-42f6bd63]{display:flex;position:relative;z-index:20}.tooltip-group .tooltip-content .tooltip-icon[data-v-42f6bd63]{align-items:center;justify-content:center;display:flex;margin-right:.7619047619rem}@media (max-width:479px){.tooltip-group .tooltip-content .tooltip-icon[data-v-42f6bd63]{margin-right:.7476635514rem}}.tooltip-group .tooltip-content .tooltip-text-content[data-v-42f6bd63]{display:flex;flex-direction:column}.tooltip-group .tooltip-content .tooltip-text-content .tooltip-title[data-v-42f6bd63]{font-family:Nunito,sans-serif;color:#fff;font-weight:700;line-height:1.5;font-size:.6666666667rem;text-align:left}@media (max-width:479px){.tooltip-group .tooltip-content .tooltip-text-content .tooltip-title[data-v-42f6bd63]{font-size:1.1214953271rem}}.tooltip-group .tooltip-content .tooltip-text-content .tooltip-text[data-v-42f6bd63]{font-family:Nunito,sans-serif;color:#fff;line-height:1.5;font-size:.6666666667rem;text-align:left}@media (max-width:479px){.tooltip-group .tooltip-content .tooltip-text-content .tooltip-text[data-v-42f6bd63]{font-size:1.1214953271rem}}',map:void 0,media:void 0})}),{name:"Tooltip",props:{
1179
1191
  /**
1180
1192
  * Se tooltip está visível<br>
1181
1193
  * Value: `true` `false`
@@ -1190,7 +1202,7 @@ arrowDirection:{type:String,default:"bottom-start"},
1190
1202
  * Ícone a ser exibido<br>
1191
1203
  * Example: `calendar`
1192
1204
  **/
1193
- icon:{type:String}},data:function(){return{}}},"data-v-42f6bd63",!1,void 0,!1,b,void 0,void 0),ut=v({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.kind,t._g(t._b({tag:"component",class:["heading","size-"+t.size],style:[{color:t.color}]},"component",t.$attrs,!1),t.$listeners),[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-2382c96c_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-2382c96c]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-2382c96c]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-2382c96c]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-2382c96c]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-2382c96c]{font-size:14px}}@media (min-width:1024px){[data-v-2382c96c]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-2382c96c]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-2382c96c]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-2382c96c]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-2382c96c]{font-size:1.56vw}}html[data-v-2382c96c]{box-sizing:border-box}*[data-v-2382c96c],[data-v-2382c96c]::after,[data-v-2382c96c]::before{box-sizing:border-box}.heading[data-v-2382c96c]{margin:0;font-family:Nunito,sans-serif;font-weight:900;line-height:1.5}.heading.size-lg[data-v-2382c96c]{font-size:2.6666666667rem}@media (max-width:479px){.heading.size-lg[data-v-2382c96c]{font-size:2.2429906542rem}}.heading.size-md[data-v-2382c96c]{font-size:1.9047619048rem}@media (max-width:479px){.heading.size-md[data-v-2382c96c]{font-size:2.2429906542rem}}.heading.size-sm[data-v-2382c96c]{font-size:1.1428571429rem}@media (max-width:479px){.heading.size-sm[data-v-2382c96c]{font-size:2.2429906542rem}}.heading.size-xs[data-v-2382c96c]{font-size:.8571428571rem}@media (max-width:479px){.heading.size-xs[data-v-2382c96c]{font-size:1.6822429907rem}}.heading.size-xxs[data-v-2382c96c]{font-size:.6666666667rem;font-weight:700}@media (max-width:479px){.heading.size-xxs[data-v-2382c96c]{font-size:1.308411215rem}}',map:void 0,media:void 0})}),{name:"Heading",props:{
1205
+ icon:{type:String}},data:function(){return{}}},"data-v-42f6bd63",!1,void 0,!1,b,void 0,void 0),ht=v({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.kind,t._g(t._b({tag:"component",class:["heading","size-"+t.size],style:[{color:t.color}]},"component",t.$attrs,!1),t.$listeners),[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-2382c96c_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-2382c96c]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-2382c96c]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-2382c96c]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-2382c96c]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-2382c96c]{font-size:14px}}@media (min-width:1024px){[data-v-2382c96c]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-2382c96c]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-2382c96c]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-2382c96c]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-2382c96c]{font-size:1.56vw}}html[data-v-2382c96c]{box-sizing:border-box}*[data-v-2382c96c],[data-v-2382c96c]::after,[data-v-2382c96c]::before{box-sizing:border-box}.heading[data-v-2382c96c]{margin:0;font-family:Nunito,sans-serif;font-weight:900;line-height:1.5}.heading.size-lg[data-v-2382c96c]{font-size:2.6666666667rem}@media (max-width:479px){.heading.size-lg[data-v-2382c96c]{font-size:2.2429906542rem}}.heading.size-md[data-v-2382c96c]{font-size:1.9047619048rem}@media (max-width:479px){.heading.size-md[data-v-2382c96c]{font-size:2.2429906542rem}}.heading.size-sm[data-v-2382c96c]{font-size:1.1428571429rem}@media (max-width:479px){.heading.size-sm[data-v-2382c96c]{font-size:2.2429906542rem}}.heading.size-xs[data-v-2382c96c]{font-size:.8571428571rem}@media (max-width:479px){.heading.size-xs[data-v-2382c96c]{font-size:1.6822429907rem}}.heading.size-xxs[data-v-2382c96c]{font-size:.6666666667rem;font-weight:700}@media (max-width:479px){.heading.size-xxs[data-v-2382c96c]{font-size:1.308411215rem}}',map:void 0,media:void 0})}),{name:"Heading",props:{
1194
1206
  /**
1195
1207
  * Tipo de elemento.<br>
1196
1208
  * Values: `h1` `h2` `h3` `h4` `h5`
@@ -1230,7 +1242,7 @@ color:{type:String,default:"#68596E"},
1230
1242
  * Type of font<br>
1231
1243
  * Example: `Regular | Bold`
1232
1244
  **/
1233
- type:{type:String,default:"regular"}},data:function(){return{}}},"data-v-a049d78a",!1,void 0,!1,b,void 0,void 0),vt=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",t._g(t._b({attrs:{name:"modal"}},"transition",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"modal-container"},[a("div",{staticClass:"modal"},[a("div",{staticClass:"modal-dialog"},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"modal-header-items"},[a("div",{staticClass:"modal-header-close"},[a("div",{staticClass:"header-close"},[a("span",{staticClass:"icon icon-close size-lg",attrs:{"data-v-98f27cc4":"","data-v-47db75aa":""},on:{click:t.closeModal}},[a("svg",{attrs:{fill:"#DFDAE4",stroke:"transparent",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.4803 7.53262C23.7875 6.8398 22.6673 6.83968 21.9743 7.53227L16.0004 13.494L10.026 7.5197C9.33311 6.82677 8.21263 6.82677 7.5197 7.5197C6.82677 8.21263 6.82677 9.33311 7.5197 10.026L13.4937 16L7.5197 21.974C6.82677 22.6669 6.82677 23.7874 7.5197 24.4803C8.21263 25.1732 9.33311 25.1732 10.026 24.4803L16 18.5063L21.974 24.4803C22.6669 25.1732 23.7874 25.1732 24.4803 24.4803C25.1732 23.7874 25.1732 22.6669 24.4803 21.974L18.5063 16L24.4803 10.026C25.1603 9.34603 25.1603 8.21264 24.4803 7.53262Z"}})])])])]),t._v(" "),a("div",{staticClass:"modal-header-content"},[a("Heading",{attrs:{kind:"h4",size:t.headingSize,color:t.headingColor}},[t._v(t._s(t.heading))]),t._v(" "),t.paragraph?a("Paragraph",{attrs:{size:t.paragraphSize,color:"'#ccc'"}},[t._v(t._s(t.paragraph))]):t._e()],1),t._v(" "),t._t("header")],2),t._v(" "),a("div",{staticClass:"modal-body"},[t._t("default")],2),t._v(" "),a("HR",{attrs:{height:"1px",color:"#f0f0f0"}}),t._v(" "),a("div",{staticClass:"modal-footer-items"},[t._t("footer")],2)],1)])]),t._v(" "),a("div",{staticClass:"modal-backdrop",on:{click:t.closeModal}})])])},staticRenderFns:[]},(function(t){t&&t("data-v-06c4d522_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-06c4d522]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-06c4d522]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-06c4d522]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-06c4d522]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-06c4d522]{font-size:14px}}@media (min-width:1024px){[data-v-06c4d522]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-06c4d522]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-06c4d522]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-06c4d522]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-06c4d522]{font-size:1.56vw}}html[data-v-06c4d522]{box-sizing:border-box}*[data-v-06c4d522],[data-v-06c4d522]::after,[data-v-06c4d522]::before{box-sizing:border-box}.modal[data-v-06c4d522]{display:block;position:fixed;top:0;left:0;z-index:1050;width:100%;height:100%;overflow-y:scroll;outline:0;font-family:Nunito,sans-serif;display:flex;align-items:center;justify-content:center}.modal-dialog[data-v-06c4d522]{transition:all .5s ease}.modal-backdrop[data-v-06c4d522]{transition:opacity .5s ease,backdrop-filter .5s ease}.modal-backdrop[data-v-06c4d522]{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background:rgba(104,89,110,.8);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.modal-content[data-v-06c4d522]{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:0 solid rgba(0,0,0,.2);border-radius:0;outline:0}@media (max-width:479px){.modal-content[data-v-06c4d522]{min-height:100vh;top:5.1401869159rem;border-top-left-radius:24px;border-top-right-radius:24px;position:fixed;bottom:0;left:0}}.modal-dialog[data-v-06c4d522]{max-width:27.5238095238rem;border-radius:.7619047619rem!important;overflow:hidden!important;position:relative;width:auto;pointer-events:none;margin:5% auto;box-shadow:#bbb}@media (max-width:479px){.modal-dialog[data-v-06c4d522]{max-width:100%!important;margin-top:0!important;margin-bottom:0!important}}.modal-header-items[data-v-06c4d522]{align-items:center;color:#68596e;padding-top:16px 0}.modal-header-items .modal-header-close[data-v-06c4d522]{padding:0 16px;padding-top:16px;text-align:right}@media (max-width:479px){.modal-header-items .modal-header-close[data-v-06c4d522]{padding:0;position:absolute;top:-3.4579439252rem;right:1.4953271028rem;width:100%}}.modal-header-items .modal-header-close .header-close[data-v-06c4d522]{display:flex;justify-content:flex-end;cursor:pointer}.modal-header-items .modal-header-close .header-close:hover span[data-v-06c4d522] svg path{fill:#12d3db}.modal-header-items .modal-header-close .header-close span[data-v-06c4d522]{max-width:1.1428571429rem;max-height:1.1428571429rem;width:100%}@media (max-width:479px){.modal-header-items .modal-header-close .header-close span[data-v-06c4d522]{max-width:2.2429906542rem;max-height:2.2429906542rem;width:100%}}.modal-header-items .modal-header-content[data-v-06c4d522]{padding:0 1.9047619048rem}@media (max-width:479px){.modal-header-items .modal-header-content[data-v-06c4d522]{padding:2.9906542056rem 6.6666666667vw 0}}.modal-header-items .modal-header-content .heading[data-v-06c4d522]{width:100%;margin:0}.modal-header-items .modal-header-content .paragraph[data-v-06c4d522]{width:100%;margin:0}hr[data-v-06c4d522]{margin:0;height:1px;background-color:#dfdae4;border:0}@media (max-width:479px){hr[data-v-06c4d522]{display:none}}.modal-body[data-v-06c4d522]{padding:.7619047619rem 1.9047619048rem}@media (max-width:479px){.modal-body[data-v-06c4d522]{padding:1.4953271028rem 6.6666666667vw 16px}}.modal-footer-items[data-v-06c4d522]{display:flex;justify-content:flex-start;flex-direction:row;padding:.7619047619rem 1.9047619048rem}@media (max-width:479px){.modal-footer-items[data-v-06c4d522]{background:#fff;padding:1.4018691589rem .9345794393rem;position:fixed;width:100%;bottom:0;border-top:solid 1px rgba(223,218,228,.64)}}.modal-footer-items[data-v-06c4d522] div{display:flex;justify-content:flex-start;flex-direction:row;width:100%}.modal-footer-items[data-v-06c4d522] div .btn-ghost{margin-left:.380952381rem}@media (max-width:479px){.modal-footer-items[data-v-06c4d522] div .btn-ghost{width:50%;margin-left:.7476635514rem}}@media (max-width:479px){.modal-footer-items[data-v-06c4d522] div .btn-secondary{width:50%}}',map:void 0,media:void 0})}),{name:"Modal",components:{Button:E,Heading:ut,Paragraph:gt,Icon:I},props:{kind:{type:String,default:"primary"},size:{type:String,default:"xl"},heading:{type:String,required:!0},headingSize:{type:String,default:"sm"},headingColor:{type:String,default:"#68596E"},paragraph:{type:String},paragraphSize:{type:String,default:"lg"}},created:function(){document.getElementsByTagName("html")[0].style.overflow="hidden",document.getElementsByTagName("body")[0].style.overflow="hidden",document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&(document.getElementsByClassName("boxes")[0].style.overflow="hidden")},beforeCreate:function(){document.getElementsByTagName("html")[0].style.overflow="hidden",document.getElementsByTagName("body")[0].style.overflow="hidden",document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&(document.getElementsByClassName("boxes")[0].style.overflow="hidden")},mounted:function(){document.getElementsByTagName("html")[0].style.overflow="hidden",document.getElementsByTagName("body")[0].style.overflow="hidden",document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&(document.getElementsByClassName("boxes")[0].style.overflow="hidden")},destroy:function(){document.getElementsByTagName("html")[0].removeAttribute("style"),document.getElementsByTagName("body")[0].removeAttribute("style"),document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&document.getElementsByClassName("boxes")[0].removeAttribute("style")},beforeDestroy:function(){document.getElementsByTagName("html")[0].removeAttribute("style"),document.getElementsByTagName("body")[0].removeAttribute("style"),document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&document.getElementsByClassName("boxes")[0].removeAttribute("style")},methods:{onClick:function(){this.$emit("click")},closeModal:function(){this.$emit("closeModal"),document.getElementsByTagName("html")[0].removeAttribute("style"),document.getElementsByTagName("body")[0].removeAttribute("style"),document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&document.getElementsByClassName("boxes")[0].removeAttribute("style")}},computed:{shadowVar:function(){return{"--shadow-color":this.shadowColor}}}},"data-v-06c4d522",!1,void 0,!1,b,void 0,void 0);var ft={en:{urlBuilder:"https://builder.playstories.com",justASecond:"Just a second",loadingPhrase:"We are loading your exclusive book",pages:"PAGES",pagesLowercase:"Pages",editArea:"Editing area",name:"Name",dedication:"Dedication",writeDedication:"Write a dedication",shirtNumber:"Shirt Number",bookScript:"Book Script",dateBirth:"Birthday Date",editDateBirth:"Edit birthday date",pet:"Pet",editName:"Edit child's name",kidName:"Child's name",recommendedName:"It is recommended to use only the first name",dedicationFree:"Dedication (free)",cusutomDedication:"Customize the dedication that will be printed on the book.",messageDedication:"Dedication message",dedcationPlaceholder:"May your life be full of great adventures!",editShirt:"Edit shirt number",chooseScript:"You choose the script",choosePetLabel1:"Choose the pair that will help the",choosePetLabel2:"to meet Samson on this adventure together with Turma da Mônica.",day:"Day",month:"Month",changePet:"Change the story bug",petDescription1:"This pet will accompany",petDescription2:"throughout history.",typePetname:"Type the pet's name here",selectPet:"Select the pet",update:"UPDATE",cancel:"CANCEL"},br:{urlBuilder:"https://builder.dentrodahistoria.com.br",justASecond:"Só um segundo",loadingPhrase:"Estamos carregando seu livro exclusivo",pages:"PÁGINAS",pagesLowercase:"Páginas",editArea:"Área de edição",name:"Nome",dedication:"Dedicatória",writeDedication:"Escreva uma dedicatória",shirtNumber:"Número da Camisa",bookScript:"Roteiro do Livro",dateBirth:"Data do aniversário",editDateBirth:"Editar data do aniversário",pet:"Bichinho de estimação",editName:"Editar nome do pequeno",kidName:"Nome do pequeno",reccomendName:"É recomendado usar só o primeiro nome",dedicationFree:"Dedicatória (grátis)",cusutomDedication:"Personalize a dedicatória que será impressa no livro.",messageDedication:"Mensagem da dedicatória",dedcationPlaceholder:"Que a sua vida seja cheia de ótimas aventuras!",editShirt:"Editar camisa do pequeno",chooseScript:"Você escolhe o roteiro",choosePetLabel1:"Escolha a dupla que vai ajudar o",choosePetLabel2:"a encontrar o Sansão nessa aventura junto com a Turma da Mônica.",day:"Dia",month:"Mês",changePet:"Altere o bichinho da história",petDescription1:"Esse bichinho acompanhará ",petDescription2:"em toda a história.",typePetname:"Digite o nome do bichinho aqui",selectPet:"Selecione o bichinho",update:"ATUALIZAR",cancel:"CANCELAR"}};function bt(t){return(bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t){function e(t,e,a){if(!a[0]||"object"==bt(a[0]))return e.init.apply(t,a);if(e[a[0]])return e[a[0]].apply(t,Array.prototype.slice.call(a,1));throw p(a[0]+" is not a method or property")}function a(t,e,a,i){return{css:{position:"absolute",top:t,left:e,overflow:i||"hidden",zIndex:a||"auto"}}}function i(t,e,a,i,r){var d=1-r,n=d*d*d,s=r*r*r;return o(Math.round(n*t.x+3*r*d*d*e.x+3*r*r*d*a.x+s*i.x),Math.round(n*t.y+3*r*d*d*e.y+3*r*r*d*a.y+s*i.y))}function o(t,e){return{x:t,y:e}}function r(t,e,a){return h&&a?" translate3d("+t+"px,"+e+"px, 0px) ":" translate("+t+"px, "+e+"px) "}function d(t){return" rotate("+t+"deg) "}function n(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function s(){for(var t=["Moz","Webkit","Khtml","O","ms"],e=t.length,a="";e--;)t[e]+"Transform"in document.body.style&&(a="-"+t[e].toLowerCase()+"-");return a}function l(t,e,a,i,r){var d,n=[];if("-webkit-"==g){for(d=0;d<r;d++)n.push("color-stop("+i[d][0]+", "+i[d][1]+")");t.css({"background-image":"-webkit-gradient(linear, "+e.x+"% "+e.y+"%,"+a.x+"% "+a.y+"%, "+n.join(",")+" )"})}else{e={x:e.x/100*t.width(),y:e.y/100*t.height()};var s=(a={x:a.x/100*t.width(),y:a.y/100*t.height()}).x-e.x;d=a.y-e.y;var l=Math.atan2(d,s),c=l-Math.PI/2,p=(c=Math.abs(t.width()*Math.sin(c))+Math.abs(t.height()*Math.cos(c)),s=Math.sqrt(d*d+s*s),a=o(a.x<e.x?t.width():0,a.y<e.y?t.height():0),Math.tan(l));for(a=(d=-1/p)*(p=(d*a.x-a.y-p*e.x+e.y)/(d-p))-d*a.x+a.y,e=Math.sqrt(Math.pow(p-e.x,2)+Math.pow(a-e.y,2)),d=0;d<r;d++)n.push(" "+i[d][1]+" "+100*(e+s*i[d][0])/c+"%");t.css({"background-image":g+"linear-gradient("+-l+"rad,"+n.join(",")+")"})}}function c(e,a,i){return e=t.Event(e),a.trigger(e,i),e.isDefaultPrevented()?"prevented":e.isPropagationStopped()?"stopped":""}function p(t){function e(t){this.name="TurnJsError",this.message=t}return e.prototype=Error(),e.prototype.constructor=e,new e(t)}function m(t){var e={top:0,left:0};do{e.left+=t.offsetLeft,e.top+=t.offsetTop}while(t=t.offsetParent);return e}var h,u,g="",v=Math.PI,f=v/2,b="ontouchstart"in window,w=b?{down:"touchstart",move:"touchmove",up:"touchend",over:"touchstart",out:"touchend"}:{down:"mousedown",move:"mousemove",up:"mouseup",over:"mouseover",out:"mouseout"},x={backward:["bl","tl"],forward:["br","tr"],all:"tl bl tr br l r".split(" ")},y=["single","double"],z=["ltr","rtl"],k={acceleration:!0,display:"double",duration:600,page:1,gradients:!0,turnCorners:"bl,br",when:null},_={cornerSize:100},C={init:function(e){var a,i;h="WebKitCSSMatrix"in window||"MozPerspective"in document.body.style,u=!(a=/AppleWebkit\/([0-9\.]+)/i.exec(navigator.userAgent))||534.3<parseFloat(a[1]),g=s(),a=0;var o=this.data(),d=this.children();e=t.extend({width:this.width(),height:this.height(),direction:this.attr("dir")||this.css("direction")||"ltr"},k,e);if(o.opts=e,o.pageObjs={},o.pages={},o.pageWrap={},o.pageZoom={},o.pagePlace={},o.pageMv=[],o.zoom=1,o.totalPages=e.pages||0,o.eventHandlers={touchStart:t.proxy(C._touchStart,this),touchMove:t.proxy(C._touchMove,this),touchEnd:t.proxy(C._touchEnd,this),start:t.proxy(C._eventStart,this)},e.when)for(i in e.when)n(i,e.when)&&this.bind(i,e.when[i]);for(this.css({position:"relative",width:e.width,height:e.height}),this.turn("display",e.display),""!==e.direction&&this.turn("direction",e.direction),h&&!b&&e.acceleration&&this.transform(r(0,0,!0)),i=0;i<d.length;i++)"1"!=t(d[i]).attr("ignore")&&this.turn("addPage",d[i],++a);return t(this).bind(w.down,o.eventHandlers.touchStart).bind("end",C._eventEnd).bind("pressed",C._eventPressed).bind("released",C._eventReleased).bind("flip",C._flip),t(this).parent().bind("start",o.eventHandlers.start),t(document).bind(w.move,o.eventHandlers.touchMove).bind(w.up,o.eventHandlers.touchEnd),this.turn("page",e.page),o.done=!0,this},addPage:function(e,a){var i,o=!1,r=this.data(),d=r.totalPages+1;if(r.destroying)return!1;if((i=/\bp([0-9]+)\b/.exec(t(e).attr("class")))&&(a=parseInt(i[1],10)),a){if(a==d)o=!0;else if(a>d)throw p('Page "'+a+'" cannot be inserted')}else a=d,o=!0;return 1<=a&&a<=d&&(i="double"==r.display?a%2?" odd":" even":"",r.done&&this.turn("stop"),a in r.pageObjs&&C._movePages.call(this,a,1),o&&(r.totalPages=d),r.pageObjs[a]=t(e).css({float:"left"}).addClass("page p"+a+i),-1!=navigator.userAgent.indexOf("MSIE 9.0")&&r.pageObjs[a].hasClass("hard")&&r.pageObjs[a].removeClass("hard"),C._addPage.call(this,a),C._removeFromDOM.call(this)),this},_addPage:function(e){var a=this.data(),i=a.pageObjs[e];if(i)if(C._necessPage.call(this,e)){if(!a.pageWrap[e]){a.pageWrap[e]=t("<div/>",{class:"page-wrapper",page:e,css:{position:"absolute",overflow:"hidden"}}),this.append(a.pageWrap[e]),a.pagePlace[e]||(a.pagePlace[e]=e,a.pageObjs[e].appendTo(a.pageWrap[e]));var o=C._pageSize.call(this,e,!0);i.css({width:o.width,height:o.height}),a.pageWrap[e].css(o)}a.pagePlace[e]==e&&C._makeFlip.call(this,e)}else a.pagePlace[e]=0,a.pageObjs[e]&&a.pageObjs[e].remove()},hasPage:function(t){return n(t,this.data().pageObjs)},center:function(e){var a=this.data(),i=t(this).turn("size"),o=0;return a.noCenter||("double"==a.display&&(e=this.turn("view",e||a.tpage||a.page),"ltr"==a.direction?e[0]?e[1]||(o+=i.width/4):o-=i.width/4:e[0]?e[1]||(o-=i.width/4):o+=i.width/4),t(this).css({marginLeft:o})),this},destroy:function(){var e=this,a=this.data(),i="end first flip last pressed released start turning turned zooming missing".split(" ");if("prevented"!=c("destroying",this)){for(a.destroying=!0,t.each(i,(function(t,a){e.unbind(a)})),this.parent().unbind("start",a.eventHandlers.start),t(document).unbind(w.move,a.eventHandlers.touchMove).unbind(w.up,a.eventHandlers.touchEnd);0!==a.totalPages;)this.turn("removePage",a.totalPages);return a.fparent&&a.fparent.remove(),a.shadow&&a.shadow.remove(),this.removeData(),a=null,this}},is:function(){return"object"==bt(this.data().pages)},zoom:function(e){var a=this.data();if("number"==typeof e){if(.001>e||100<e)throw p(e+" is not a value for zoom");if("prevented"==c("zooming",this,[e,a.zoom]))return this;var i=this.turn("size"),o=this.turn("view"),r=1/a.zoom,d=Math.round(i.width*r*e);i=Math.round(i.height*r*e);for(a.zoom=e,t(this).turn("stop").turn("size",d,i),a.opts.autoCenter&&this.turn("center"),C._updateShadow.call(this),e=0;e<o.length;e++)o[e]&&a.pageZoom[o[e]]!=a.zoom&&(this.trigger("zoomed",[o[e],o,a.pageZoom[o[e]],a.zoom]),a.pageZoom[o[e]]=a.zoom);return this}return a.zoom},_pageSize:function(t,e){var a=this.data(),i={};if("single"==a.display)i.width=this.width(),i.height=this.height(),e&&(i.top=0,i.left=0,i.right="auto");else{var o=this.width()/2,r=this.height();if(a.pageObjs[t].hasClass("own-size")?(i.width=a.pageObjs[t].width(),i.height=a.pageObjs[t].height()):(i.width=o,i.height=r),e){var d=t%2;i.top=(r-i.height)/2,"ltr"==a.direction?(i[d?"right":"left"]=o-i.width,i[d?"left":"right"]="auto"):(i[d?"left":"right"]=o-i.width,i[d?"right":"left"]="auto")}}return i},_makeFlip:function(t){var e=this.data();if(!e.pages[t]&&e.pagePlace[t]==t){var a="single"==e.display,i=t%2;e.pages[t]=e.pageObjs[t].css(C._pageSize.call(this,t)).flip({page:t,next:i||a?t+1:t-1,turn:this}).flip("disable",e.disabled),C._setPageLoc.call(this,t),e.pageZoom[t]=e.zoom}return e.pages[t]},_makeRange:function(){var t,e;if(!(1>this.data().totalPages))for(t=(e=this.turn("range"))[0];t<=e[1];t++)C._addPage.call(this,t)},range:function(t){var e,a,i,o=this.data();t=t||o.tpage||o.page||1;if(i=C._view.call(this,t),1>t||t>o.totalPages)throw p('"'+t+'" is not a valid page');return i[1]=i[1]||i[0],1<=i[0]&&i[1]<=o.totalPages?(t=Math.floor(2),o.totalPages-i[1]>i[0]?a=2*t-(e=Math.min(i[0]-1,t)):e=2*t-(a=Math.min(o.totalPages-i[1],t))):a=e=5,[Math.max(1,i[0]-e),Math.min(o.totalPages,i[1]+a)]},_necessPage:function(t){if(0===t)return!0;var e=this.turn("range");return this.data().pageObjs[t].hasClass("fixed")||t>=e[0]&&t<=e[1]},_removeFromDOM:function(){var t,e=this.data();for(t in e.pageWrap)n(t,e.pageWrap)&&!C._necessPage.call(this,t)&&C._removePageFromDOM.call(this,t)},_removePageFromDOM:function(t){var e=this.data();if(e.pages[t]){var a=e.pages[t].data();P._moveFoldingPage.call(e.pages[t],!1),a.f&&a.f.fwrapper&&a.f.fwrapper.remove(),e.pages[t].removeData(),e.pages[t].remove(),delete e.pages[t]}e.pageObjs[t]&&e.pageObjs[t].remove(),e.pageWrap[t]&&(e.pageWrap[t].remove(),delete e.pageWrap[t]),C._removeMv.call(this,t),delete e.pagePlace[t],delete e.pageZoom[t]},removePage:function(t){var e=this.data();if("*"==t)for(;0!==e.totalPages;)this.turn("removePage",e.totalPages);else{if(1>t||t>e.totalPages)throw p("The page "+t+" doesn't exist");e.pageObjs[t]&&(this.turn("stop"),C._removePageFromDOM.call(this,t),delete e.pageObjs[t]),C._movePages.call(this,t,-1),e.totalPages-=1,e.page>e.totalPages?(e.page=null,C._fitPage.call(this,e.totalPages)):(C._makeRange.call(this),this.turn("update"))}return this},_movePages:function(t,e){var a,i=this,o=this.data(),r="single"==o.display,d=function(t){var a=t+e,d=a%2,n=d?" odd ":" even ";o.pageObjs[t]&&(o.pageObjs[a]=o.pageObjs[t].removeClass("p"+t+" odd even").addClass("p"+a+n)),o.pagePlace[t]&&o.pageWrap[t]&&(o.pagePlace[a]=a,o.pageWrap[a]=o.pageObjs[a].hasClass("fixed")?o.pageWrap[t].attr("page",a):o.pageWrap[t].css(C._pageSize.call(i,a,!0)).attr("page",a),o.pages[t]&&(o.pages[a]=o.pages[t].flip("options",{page:a,next:r||d?a+1:a-1})),e&&(delete o.pages[t],delete o.pagePlace[t],delete o.pageZoom[t],delete o.pageObjs[t],delete o.pageWrap[t]))};if(0<e)for(a=o.totalPages;a>=t;a--)d(a);else for(a=t;a<=o.totalPages;a++)d(a)},display:function(e){var a=this.data(),i=a.display;if(void 0===e)return i;if(-1==t.inArray(e,y))throw p('"'+e+'" is not a value for display');switch(e){case"single":a.pageObjs[0]||(this.turn("stop").css({overflow:"hidden"}),a.pageObjs[0]=t("<div />",{class:"page p-temporal"}).css({width:this.width(),height:this.height()}).appendTo(this)),this.addClass("shadow");break;case"double":a.pageObjs[0]&&(this.turn("stop").css({overflow:""}),a.pageObjs[0].remove(),delete a.pageObjs[0]),this.removeClass("shadow")}return a.display=e,i&&(e=this.turn("size"),C._movePages.call(this,1,0),this.turn("size",e.width,e.height).turn("update")),this},direction:function(e){var a=this.data();if(void 0===e)return a.direction;if(e=e.toLowerCase(),-1==t.inArray(e,z))throw p('"'+e+'" is not a value for direction');return"rtl"==e&&t(this).attr("dir","ltr").css({direction:"ltr"}),a.direction=e,a.done&&this.turn("size",t(this).width(),t(this).height()),this},animating:function(){return 0<this.data().pageMv.length},corner:function(){var t,e,a=this.data();for(e in a.pages)if(n(e,a.pages)&&(t=a.pages[e].flip("corner")))return t;return!1},data:function(){return this.data()},disable:function(e){var a,i=this.data(),o=this.turn("view");for(a in i.disabled=void 0===e||!0===e,i.pages)n(a,i.pages)&&i.pages[a].flip("disable",!!i.disabled||-1==t.inArray(parseInt(a,10),o));return this},disabled:function(t){return void 0===t?!0===this.data().disabled:this.turn("disable",t)},size:function(t,e){if(void 0===t||void 0===e)return{width:this.width(),height:this.height()};this.turn("stop");var a,i,o=this.data();for(a in i="double"==o.display?t/2:t,this.css({width:t,height:e}),o.pageObjs[0]&&o.pageObjs[0].css({width:i,height:e}),o.pageWrap)n(a,o.pageWrap)&&(i=C._pageSize.call(this,a,!0),o.pageObjs[a].css({width:i.width,height:i.height}),o.pageWrap[a].css(i),o.pages[a]&&o.pages[a].css({width:i.width,height:i.height}));return this.turn("resize"),this},resize:function(){var t,e=this.data();for(e.pages[0]&&(e.pageWrap[0].css({left:-this.width()}),e.pages[0].flip("resize",!0)),t=1;t<=e.totalPages;t++)e.pages[t]&&e.pages[t].flip("resize",!0);C._updateShadow.call(this),e.opts.autoCenter&&this.turn("center")},_removeMv:function(t){var e,a=this.data();for(e=0;e<a.pageMv.length;e++)if(a.pageMv[e]==t)return a.pageMv.splice(e,1),!0;return!1},_addMv:function(t){var e=this.data();C._removeMv.call(this,t),e.pageMv.push(t)},_view:function(t){var e=this.data();t=t||e.page;return"double"==e.display?t%2?[t-1,t]:[t,t+1]:[t]},view:function(t){var e=this.data();t=C._view.call(this,t);return"double"==e.display?[0<t[0]?t[0]:0,t[1]<=e.totalPages?t[1]:0]:[0<t[0]&&t[0]<=e.totalPages?t[0]:0]},stop:function(t,e){if(this.turn("animating")){var a,i,o,r=this.data();for(r.tpage&&(r.page=r.tpage,delete r.tpage),a=0;a<r.pageMv.length;a++)r.pageMv[a]&&r.pageMv[a]!==t&&(i=(o=r.pages[r.pageMv[a]]).data().f.opts,o.flip("hideFoldedPage",e),e||P._moveFoldingPage.call(o,!1),i.force&&(i.next=0==i.page%2?i.page-1:i.page+1,delete i.force))}return this.turn("update"),this},pages:function(t){var e=this.data();if(t){if(t<e.totalPages)for(var a=e.totalPages;a>t;a--)this.turn("removePage",a);return e.totalPages=t,C._fitPage.call(this,e.page),this}return e.totalPages},_missing:function(t){var e=this.data();if(!(1>e.totalPages)){var a=this.turn("range",t),i=[];for(t=a[0];t<=a[1];t++)e.pageObjs[t]||i.push(t);0<i.length&&this.trigger("missing",[i])}},_fitPage:function(t){var e=this.data(),a=this.turn("view",t);if(C._missing.call(this,t),e.pageObjs[t]){e.page=t,this.turn("stop");for(var i=0;i<a.length;i++)a[i]&&e.pageZoom[a[i]]!=e.zoom&&(this.trigger("zoomed",[a[i],a,e.pageZoom[a[i]],e.zoom]),e.pageZoom[a[i]]=e.zoom);C._removeFromDOM.call(this),C._makeRange.call(this),C._updateShadow.call(this),this.trigger("turned",[t,a]),this.turn("update"),e.opts.autoCenter&&this.turn("center")}},_turnPage:function(e){var a,i,o=this.data(),r=o.pagePlace[e],d=this.turn("view"),n=this.turn("view",e);if(o.page!=e){var s=o.page;if("prevented"==c("turning",this,[e,n]))return void(s==o.page&&-1!=t.inArray(r,o.pageMv)&&o.pages[r].flip("hideFoldedPage",!0));-1!=t.inArray(1,n)&&this.trigger("first"),-1!=t.inArray(o.totalPages,n)&&this.trigger("last")}"single"==o.display?(a=d[0],i=n[0]):d[1]&&e>d[1]?(a=d[1],i=n[0]):d[0]&&e<d[0]&&(a=d[0],i=n[1]),r=o.opts.turnCorners.split(","),n=(d=o.pages[a].data().f).opts,s=d.point,C._missing.call(this,e),o.pageObjs[e]&&(this.turn("stop"),o.page=e,C._makeRange.call(this),o.tpage=i,n.next!=i&&(n.next=i,n.force=!0),this.turn("update"),d.point=s,"hard"==d.effect?"ltr"==o.direction?o.pages[a].flip("turnPage",e>a?"r":"l"):o.pages[a].flip("turnPage",e>a?"l":"r"):"ltr"==o.direction?o.pages[a].flip("turnPage",r[e>a?1:0]):o.pages[a].flip("turnPage",r[e>a?0:1]))},page:function(e){var a=this.data();if(void 0===e)return a.page;if(!a.disabled&&!a.destroying){if(0<(e=parseInt(e,10))&&e<=a.totalPages)return e!=a.page&&(a.done&&-1==t.inArray(e,this.turn("view"))?C._turnPage.call(this,e):C._fitPage.call(this,e)),this;throw p("The page "+e+" does not exist")}},next:function(){return this.turn("page",Math.min(this.data().totalPages,C._view.call(this,this.data().page).pop()+1))},previous:function(){return this.turn("page",Math.max(1,C._view.call(this,this.data().page).shift()-1))},peel:function(t,e){var a=this.data(),i=this.turn("view");e=void 0===e||!0===e;return!1===t?this.turn("stop",null,e):"single"==a.display?a.pages[a.page].flip("peel",t,e):(i="ltr"==a.direction?-1!=t.indexOf("l")?i[0]:i[1]:-1!=t.indexOf("l")?i[1]:i[0],a.pages[i]&&a.pages[i].flip("peel",t,e)),this},_addMotionPage:function(){var e=t(this).data().f.opts,a=e.turn;a.data(),C._addMv.call(a,e.page)},_eventStart:function(t,e,a){var i=e.turn.data(),o=i.pageZoom[e.page];t.isDefaultPrevented()||(o&&o!=i.zoom&&(e.turn.trigger("zoomed",[e.page,e.turn.turn("view",e.page),o,i.zoom]),i.pageZoom[e.page]=i.zoom),"single"==i.display&&a&&("l"==a.charAt(1)&&"ltr"==i.direction||"r"==a.charAt(1)&&"rtl"==i.direction?(e.next=e.next<e.page?e.next:e.page-1,e.force=!0):e.next=e.next>e.page?e.next:e.page+1),C._addMotionPage.call(t.target)),C._updateShadow.call(e.turn)},_eventEnd:function(e,a,i){t(e.target).data();var o=(e=a.turn).data();i?((i=o.tpage||o.page)==a.next||i==a.page)&&(delete o.tpage,C._fitPage.call(e,i||a.next,!0)):(C._removeMv.call(e,a.page),C._updateShadow.call(e),e.turn("update"))},_eventPressed:function(e){var a=(e=t(e.target).data().f).opts.turn;return a.data().mouseAction=!0,a.turn("update"),e.time=(new Date).getTime()},_eventReleased:function(e,a){var i,o=(i=t(e.target)).data().f,r=o.opts.turn,d=r.data();i="single"==d.display?"br"==a.corner||"tr"==a.corner?a.x<i.width()/2:a.x>i.width()/2:0>a.x||a.x>i.width(),(200>(new Date).getTime()-o.time||i)&&(e.preventDefault(),C._turnPage.call(r,o.opts.next)),d.mouseAction=!1},_flip:function(e){e.stopPropagation(),(e=t(e.target).data().f.opts).turn.trigger("turn",[e.next]),e.turn.data().opts.autoCenter&&e.turn.turn("center",e.next)},_touchStart:function(){var t,e=this.data();for(t in e.pages)if(n(t,e.pages)&&!1===P._eventStart.apply(e.pages[t],arguments))return!1},_touchMove:function(){var t,e=this.data();for(t in e.pages)n(t,e.pages)&&P._eventMove.apply(e.pages[t],arguments)},_touchEnd:function(){var t,e=this.data();for(t in e.pages)n(t,e.pages)&&P._eventEnd.apply(e.pages[t],arguments)},calculateZ:function(t){var e,a,i,o,r=this,d=this.data(),n=(e=this.turn("view"))[0]||e[1],s=t.length-1,l={pageZ:{},partZ:{},pageV:{}},c=function(t){(t=r.turn("view",t))[0]&&(l.pageV[t[0]]=!0),t[1]&&(l.pageV[t[1]]=!0)};for(e=0;e<=s;e++)a=t[e],i=d.pages[a].data().f.opts.next,o=d.pagePlace[a],c(a),c(i),a=d.pagePlace[i]==i?i:a,l.pageZ[a]=d.totalPages-Math.abs(n-a),l.partZ[o]=2*d.totalPages-s+e;return l},update:function(){var e,a=this.data();if(this.turn("animating")&&0!==a.pageMv[0]){var i,o=this.turn("calculateZ",a.pageMv),r=this.turn("corner"),d=this.turn("view"),s=this.turn("view",a.tpage);for(e in a.pageWrap)n(e,a.pageWrap)&&(i=a.pageObjs[e].hasClass("fixed"),a.pageWrap[e].css({display:o.pageV[e]||i?"":"none",zIndex:(a.pageObjs[e].hasClass("hard")?o.partZ[e]:o.pageZ[e])||(i?-1:0)}),i=a.pages[e])&&(i.flip("z",o.partZ[e]||null),o.pageV[e]&&i.flip("resize"),a.tpage?i.flip("hover",!1).flip("disable",-1==t.inArray(parseInt(e,10),a.pageMv)&&e!=s[0]&&e!=s[1]):i.flip("hover",!1===r).flip("disable",e!=d[0]&&e!=d[1]))}else for(e in a.pageWrap)n(e,a.pageWrap)&&(o=C._setPageLoc.call(this,e),a.pages[e]&&a.pages[e].flip("disable",a.disabled||1!=o).flip("hover",!0).flip("z",null));return this},_updateShadow:function(){var e,i,o=this.data(),r=this.width(),d=this.height(),n="single"==o.display?r:r/2;e=this.turn("view"),o.shadow||(o.shadow=t("<div />",{class:"shadow",css:a(0,0,0).css}).appendTo(this));for(var s=0;s<o.pageMv.length&&e[0]&&e[1];s++)e=this.turn("view",o.pages[o.pageMv[s]].data().f.opts.next),i=this.turn("view",o.pageMv[s]),e[0]=e[0]&&i[0],e[1]=e[1]&&i[1];switch(e[0]?e[1]?3:"ltr"==o.direction?2:1:"ltr"==o.direction?1:2){case 1:o.shadow.css({width:n,height:d,top:0,left:n});break;case 2:o.shadow.css({width:n,height:d,top:0,left:0});break;case 3:o.shadow.css({width:r,height:d,top:0,left:0})}},_setPageLoc:function(t){var e=this.data(),a=this.turn("view"),i=0;if(t==a[0]||t==a[1]?i=1:("single"==e.display&&t==a[0]+1||"double"==e.display&&t==a[0]-2||t==a[1]+2)&&(i=2),!this.turn("animating"))switch(i){case 1:e.pageWrap[t].css({zIndex:e.totalPages,display:""});break;case 2:e.pageWrap[t].css({zIndex:e.totalPages-1,display:""});break;case 0:e.pageWrap[t].css({zIndex:0,display:e.pageObjs[t].hasClass("fixed")?"":"none"})}return i},options:function(e){if(void 0===e)return this.data().opts;var a=this.data();if(t.extend(a.opts,e),e.pages&&this.turn("pages",e.pages),e.page&&this.turn("page",e.page),e.display&&this.turn("display",e.display),e.direction&&this.turn("direction",e.direction),e.width&&e.height&&this.turn("size",e.width,e.height),e.when)for(var i in e.when)n(i,e.when)&&this.unbind(i).bind(i,e.when[i]);return this},version:function(){return"4.1.0"}},P={init:function(t){return this.data({f:{disabled:!1,hover:!1,effect:this.hasClass("hard")?"hard":"sheet"}}),this.flip("options",t),P._addPageWrapper.call(this),this},setData:function(e){var a=this.data();return a.f=t.extend(a.f,e),this},options:function(e){var a=this.data().f;return e?(P.setData.call(this,{opts:t.extend({},a.opts||_,e)}),this):a.opts},z:function(t){var e=this.data().f;return e.opts["z-index"]=t,e.fwrapper&&e.fwrapper.css({zIndex:t||parseInt(e.parent.css("z-index"),10)||0}),this},_cAllowed:function(){var t=this.data().f,e=t.opts.page,a=t.opts.turn.data(),i=e%2;return"hard"==t.effect?"ltr"==a.direction?[i?"r":"l"]:[i?"l":"r"]:"single"==a.display?1==e?"ltr"==a.direction?x.forward:x.backward:e==a.totalPages?"ltr"==a.direction?x.backward:x.forward:x.all:"ltr"==a.direction?x[i?"forward":"backward"]:x[i?"backward":"forward"]},_cornerActivated:function(e){var a=this.data().f,i=this.width(),o=this.height(),r=(e={x:e.x,y:e.y,corner:""},a.opts.cornerSize);if(0>=e.x||0>=e.y||e.x>=i||e.y>=o)return!1;var d=P._cAllowed.call(this);switch(a.effect){case"hard":if(e.x>i-r)e.corner="r";else{if(!(e.x<r))return!1;e.corner="l"}break;case"sheet":if(e.y<r)e.corner+="t";else{if(!(e.y>=o-r))return!1;e.corner+="b"}if(e.x<=r)e.corner+="l";else{if(!(e.x>=i-r))return!1;e.corner+="r"}}return!(!e.corner||-1==t.inArray(e.corner,d))&&e},_isIArea:function(t){var e=this.data().f.parent.offset();t=b&&t.originalEvent?t.originalEvent.touches[0]:t;return P._cornerActivated.call(this,{x:t.pageX-e.left,y:t.pageY-e.top})},_c:function(t,e){switch(e=e||0,t){case"tl":return o(e,e);case"tr":return o(this.width()-e,e);case"bl":return o(e,this.height()-e);case"br":return o(this.width()-e,this.height()-e);case"l":return o(e,0);case"r":return o(this.width()-e,0)}},_c2:function(t){switch(t){case"tl":return o(2*this.width(),0);case"tr":return o(-this.width(),0);case"bl":return o(2*this.width(),this.height());case"br":return o(-this.width(),this.height());case"l":return o(2*this.width(),0);case"r":return o(-this.width(),0)}},_foldingPage:function(){var t=this.data().f;if(t){var e=t.opts;if(e.turn)return"single"==(t=e.turn.data()).display?1<e.next||1<e.page?t.pageObjs[0]:null:t.pageObjs[e.next]}},_backGradient:function(){var e=this.data().f,i=e.opts.turn.data();return(i=i.opts.gradients&&("single"==i.display||2!=e.opts.page&&e.opts.page!=i.totalPages-1))&&!e.bshadow&&(e.bshadow=t("<div/>",a(0,0,1)).css({position:"",width:this.width(),height:this.height()}).appendTo(e.parent)),i},type:function(){return this.data().f.effect},resize:function(t){var e=this.data().f,a=e.opts.turn.data(),i=this.width(),o=this.height();switch(e.effect){case"hard":t&&(e.wrapper.css({width:i,height:o}),e.fpage.css({width:i,height:o}),a.opts.gradients&&(e.ashadow.css({width:i,height:o}),e.bshadow.css({width:i,height:o})));break;case"sheet":t&&(t=Math.round(Math.sqrt(Math.pow(i,2)+Math.pow(o,2))),e.wrapper.css({width:t,height:t}),e.fwrapper.css({width:t,height:t}).children(":first-child").css({width:i,height:o}),e.fpage.css({width:i,height:o}),a.opts.gradients&&e.ashadow.css({width:i,height:o}),P._backGradient.call(this)&&e.bshadow.css({width:i,height:o})),e.parent.is(":visible")&&(a=m(e.parent[0]),e.fwrapper.css({top:a.top,left:a.left}),a=m(e.opts.turn[0]),e.fparent.css({top:-a.top,left:-a.left})),this.flip("z",e.opts["z-index"])}},_addPageWrapper:function(){var e=this.data().f,i=e.opts.turn.data(),o=this.parent();if(e.parent=o,!e.wrapper)switch(e.effect){case"hard":(r={})[g+"transform-style"]="preserve-3d",r[g+"backface-visibility"]="hidden",e.wrapper=t("<div/>",a(0,0,2)).css(r).appendTo(o).prepend(this),e.fpage=t("<div/>",a(0,0,1)).css(r).appendTo(o),i.opts.gradients&&(e.ashadow=t("<div/>",a(0,0,0)).hide().appendTo(o),e.bshadow=t("<div/>",a(0,0,0)));break;case"sheet":var r=this.width();this.height();e.fparent=e.opts.turn.data().fparent,e.fparent||((r=t("<div/>",{css:{"pointer-events":"none"}}).hide()).data().flips=0,r.css(a(0,0,"auto","visible").css).appendTo(e.opts.turn),e.opts.turn.data().fparent=r,e.fparent=r),this.css({position:"absolute",top:0,left:0,bottom:"auto",right:"auto"}),e.wrapper=t("<div/>",a(0,0,this.css("z-index"))).appendTo(o).prepend(this),e.fwrapper=t("<div/>",a(o.offset().top,o.offset().left)).hide().appendTo(e.fparent),e.fpage=t("<div/>",a(0,0,0,"visible")).css({cursor:"default"}).appendTo(e.fwrapper),i.opts.gradients&&(e.ashadow=t("<div/>",a(0,0,1)).appendTo(e.fpage)),P.setData.call(this,e)}P.resize.call(this,!0)},_fold:function(t){var e=this.data().f,a=e.opts.turn.data(),i=P._c.call(this,t.corner),n=this.width(),s=this.height();switch(e.effect){case"hard":t.x="l"==t.corner?Math.min(Math.max(t.x,0),2*n):Math.max(Math.min(t.x,n),-n);var c,p,m,h,b,w=a.totalPages,x=e.opts["z-index"]||w,y={overflow:"visible"},z=i.x?(i.x-t.x)/n:t.x/n,k=90*z,_=90>k;switch(t.corner){case"l":h="0% 50%",b="100% 50%",_?(c=0,p=0<e.opts.next-1,m=1):(c="100%",p=e.opts.page+1<w,m=0);break;case"r":h="100% 50%",b="0% 50%",k=-k,n=-n,_?(c=0,p=e.opts.next+1<w,m=0):(c="-100%",p=1!=e.opts.page,m=1)}y[g+"perspective-origin"]=b,e.wrapper.transform("rotateY("+k+"deg)translate3d(0px, 0px, "+(this.attr("depth")||0)+"px)",b),e.fpage.transform("translateX("+n+"px) rotateY("+(180+k)+"deg)",h),e.parent.css(y),_?(z=1-z,e.wrapper.css({zIndex:x+1}),e.fpage.css({zIndex:x})):(z-=1,e.wrapper.css({zIndex:x}),e.fpage.css({zIndex:x+1})),a.opts.gradients&&(p?e.ashadow.css({display:"",left:c,backgroundColor:"rgba(0,0,0,"+.5*z+")"}).transform("rotateY(0deg)"):e.ashadow.hide(),e.bshadow.css({opacity:1-z}),_?e.bshadow.parent()[0]!=e.wrapper[0]&&e.bshadow.appendTo(e.wrapper):e.bshadow.parent()[0]!=e.fpage[0]&&e.bshadow.appendTo(e.fpage),l(e.bshadow,o(100*m,0),o(100*(1-m),0),[[0,"rgba(0,0,0,0.3)"],[1,"rgba(0,0,0,0)"]],2));break;case"sheet":var C,S,M,N,L,I,E,T=this,A=0,B=o(0,0),R=o(0,0),F=o(0,0),q=P._foldingPage.call(this),D=a.opts.acceleration,$=e.wrapper.height(),j="t"==t.corner.substr(0,1),O="l"==t.corner.substr(1,1),V=function e(){var r=o(0,0),d=o(0,0);r.x=i.x?i.x-t.x:t.x,r.y=u?i.y?i.y-t.y:t.y:0,d.x=O?n-r.x/2:t.x+r.x/2,d.y=r.y/2;var l=f-Math.atan2(r.y,r.x),c=l-Math.atan2(d.y,d.x);c=Math.max(0,Math.sin(c)*Math.sqrt(Math.pow(d.x,2)+Math.pow(d.y,2)));return A=l/v*180,F=o(c*Math.sin(l),c*Math.cos(l)),l>f&&(F.x+=Math.abs(F.y*r.y/r.x),F.y=0,Math.round(F.x*Math.tan(v-l))<s)?(t.y=Math.sqrt(Math.pow(s,2)+2*d.x*r.x),j&&(t.y=s-t.y),e()):(l>f&&(r=v-l,d=$-s/Math.sin(r),B=o(Math.round(d*Math.cos(r)),Math.round(d*Math.sin(r))),O&&(B.x=-B.x),j&&(B.y=-B.y)),C=Math.round(F.y/Math.tan(l)+F.x),d=(r=n-C)*Math.cos(2*l),c=r*Math.sin(2*l),R=o(Math.round(O?r-d:C+d),Math.round(j?c:s-c)),a.opts.gradients&&(L=r*Math.sin(l),r=P._c2.call(T,t.corner),r=Math.sqrt(Math.pow(r.x-t.x,2)+Math.pow(r.y-t.y,2))/n,E=Math.sin(f*(1<r?2-r:r)),I=Math.min(r,1),N=100<L?(L-100)/L:0,S=o(L*Math.sin(l)/n*100,L*Math.cos(l)/s*100),P._backGradient.call(T)&&(M=o(1.2*L*Math.sin(l)/n*100,1.2*L*Math.cos(l)/s*100),O||(M.x=100-M.x),j||(M.y=100-M.y))),F.x=Math.round(F.x),F.y=Math.round(F.y),!0)};switch(c=function(t,i,c,p){var m=["0","auto"],h=(n-$)*c[0]/100,u=(s-$)*c[1]/100,g=(i={left:m[i[0]],top:m[i[1]],right:m[i[2]],bottom:m[i[3]]},m={},90!=p&&-90!=p?O?-1:1:0),v=c[0]+"% "+c[1]+"%";T.css(i).transform(d(p)+r(t.x+g,t.y,D),v),e.fpage.css(i).transform(d(p)+r(t.x+R.x-B.x-n*c[0]/100,t.y+R.y-B.y-s*c[1]/100,D)+d((180/p-2)*p),v),e.wrapper.transform(r(-t.x+h-g,-t.y+u,D)+d(-p),v),e.fwrapper.transform(r(-t.x+B.x+h,-t.y+B.y+u,D)+d(-p),v),a.opts.gradients&&(c[0]&&(S.x=100-S.x),c[1]&&(S.y=100-S.y),m["box-shadow"]="0 0 20px rgba(0,0,0,"+.5*E+")",q.css(m),l(e.ashadow,o(O?100:0,j?0:100),o(S.x,S.y),[[N,"rgba(0,0,0,0)"],[.8*(1-N)+N,"rgba(0,0,0,"+.2*I+")"],[1,"rgba(255,255,255,"+.2*I+")"]],3),P._backGradient.call(T)&&l(e.bshadow,o(O?0:100,j?0:100),o(M.x,M.y),[[.6,"rgba(0,0,0,0)"],[.8,"rgba(0,0,0,"+.3*I+")"],[1,"rgba(0,0,0,0)"]],3))},t.corner){case"tl":t.x=Math.max(t.x,1),V(),c(F,[1,0,0,1],[100,0],A);break;case"tr":t.x=Math.min(t.x,n-1),V(),c(o(-F.x,F.y),[0,0,0,1],[0,0],-A);break;case"bl":t.x=Math.max(t.x,1),V(),c(o(F.x,-F.y),[1,1,0,0],[100,100],-A);break;case"br":t.x=Math.min(t.x,n-1),V(),c(o(-F.x,-F.y),[0,1,1,0],[0,100],A)}}e.point=t},_moveFoldingPage:function(t){var e=this.data().f;if(e){var a=e.opts.turn,i=a.data(),o=i.pagePlace;t?(o[i=e.opts.next]!=e.opts.page&&(e.folding&&P._moveFoldingPage.call(this,!1),P._foldingPage.call(this).appendTo(e.fpage),o[i]=e.opts.page,e.folding=i),a.turn("update")):e.folding&&(i.pages[e.folding]?(a=i.pages[e.folding].data().f,i.pageObjs[e.folding].appendTo(a.wrapper)):i.pageWrap[e.folding]&&i.pageObjs[e.folding].appendTo(i.pageWrap[e.folding]),e.folding in o&&(o[e.folding]=e.folding),delete e.folding)}},_showFoldedPage:function(t,e){var a=P._foldingPage.call(this),i=(d=this.data()).f,o=i.visible;if(a){if(!(o&&i.point&&i.point.corner==t.corner||(a="hover"==i.status||"peel"==i.status||i.opts.turn.data().mouseAction?t.corner:null,o=!1,"prevented"!=c("start",this,[i.opts,a]))))return!1;if(e){var r=this,d=i.point&&i.point.corner==t.corner?i.point:P._c.call(this,t.corner,1);this.animatef({from:[d.x,d.y],to:[t.x,t.y],duration:500,frame:function(e){t.x=Math.round(e[0]),t.y=Math.round(e[1]),P._fold.call(r,t)}})}else P._fold.call(this,t),d.effect&&!d.effect.turning&&this.animatef(!1);if(!o)switch(i.effect){case"hard":i.visible=!0,P._moveFoldingPage.call(this,!0),i.fpage.show(),i.opts.shadows&&i.bshadow.show();break;case"sheet":i.visible=!0,i.fparent.show().data().flips++,P._moveFoldingPage.call(this,!0),i.fwrapper.show(),i.bshadow&&i.bshadow.show()}return!0}return!1},hide:function(){var t=this.data().f,e=t.opts.turn.data(),a=P._foldingPage.call(this);switch(t.effect){case"hard":e.opts.gradients&&(t.bshadowLoc=0,t.bshadow.remove(),t.ashadow.hide()),t.wrapper.transform(""),t.fpage.hide();break;case"sheet":0==--t.fparent.data().flips&&t.fparent.hide(),this.css({left:0,top:0,right:"auto",bottom:"auto"}).transform(""),t.wrapper.transform(""),t.fwrapper.hide(),t.bshadow&&t.bshadow.hide(),a.transform("")}return t.visible=!1,this},hideFoldedPage:function(t){var e=this.data().f;if(e.point){var a=this,r=e.point,d=function(){e.point=null,e.status="",a.flip("hide"),a.trigger("end",[e.opts,!1])};if(t){var n=P._c.call(this,r.corner),s=(t="t"==r.corner.substr(0,1)?Math.min(0,r.y-n.y)/2:Math.max(0,r.y-n.y)/2,o(r.x,r.y+t)),l=o(n.x,n.y-t);this.animatef({from:0,to:1,frame:function(t){t=i(r,s,l,n,t),r.x=t.x,r.y=t.y,P._fold.call(a,r)},complete:d,duration:800,hiding:!0})}else this.animatef(!1),d()}},turnPage:function(t){var e=this,a=this.data().f,o=a.opts.turn.data(),r=(t={corner:a.corner?a.corner.corner:t||P._cAllowed.call(this)[0]},a.point||P._c.call(this,t.corner,a.opts.turn?o.opts.elevation:0)),d=P._c2.call(this,t.corner);this.trigger("flip").animatef({from:0,to:1,frame:function(a){a=i(r,r,d,d,a),t.x=a.x,t.y=a.y,P._showFoldedPage.call(e,t)},complete:function(){e.trigger("end",[a.opts,!0])},duration:o.opts.duration,turning:!0}),a.corner=null},moving:function(){return"effect"in this.data()},isTurning:function(){return this.flip("moving")&&this.data().effect.turning},corner:function(){return this.data().f.corner},_eventStart:function(t){var e=this.data().f,a=e.opts.turn;if(!e.corner&&!e.disabled&&!this.flip("isTurning")&&e.opts.page==a.data().pagePlace[e.opts.page]){if(e.corner=P._isIArea.call(this,t),e.corner&&P._foldingPage.call(this))return this.trigger("pressed",[e.point]),P._showFoldedPage.call(this,e.corner),!1;e.corner=null}},_eventMove:function(t){var e=this.data().f;if(!e.disabled)if(t=b?t.originalEvent.touches:[t],e.corner){var a=e.parent.offset();e.corner.x=t[0].pageX-a.left,e.corner.y=t[0].pageY-a.top,P._showFoldedPage.call(this,e.corner)}else e.hover&&!this.data().effect&&this.is(":visible")&&((t=P._isIArea.call(this,t[0]))?("sheet"==e.effect&&2==t.corner.length||"hard"==e.effect)&&(e.status="hover",e=P._c.call(this,t.corner,e.opts.cornerSize/2),t.x=e.x,t.y=e.y,P._showFoldedPage.call(this,t,!0)):"hover"==e.status&&(e.status="",P.hideFoldedPage.call(this,!0)))},_eventEnd:function(){var t=this.data().f,e=t.corner;!t.disabled&&e&&"prevented"!=c("released",this,[t.point||e])&&P.hideFoldedPage.call(this,!0),t.corner=null},disable:function(t){return P.setData.call(this,{disabled:t}),this},hover:function(t){return P.setData.call(this,{hover:t}),this},peel:function(e,a){var i=this.data().f;if(e){if(-1==t.inArray(e,x.all))throw p("Corner "+e+" is not permitted");if(-1!=t.inArray(e,P._cAllowed.call(this))){var o=P._c.call(this,e,i.opts.cornerSize/2);i.status="peel",P._showFoldedPage.call(this,{corner:e,x:o.x,y:o.y},a)}}else i.status="",P.hideFoldedPage.call(this,a);return this}};window.requestAnim=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)},t.extend(t.fn,{flip:function(){return e(t(this[0]),P,arguments)},turn:function(){return e(t(this[0]),C,arguments)},transform:function(t,e){var a={};return e&&(a[g+"transform-origin"]=e),a[g+"transform"]=t,this.css(a)},animatef:function(e){var a=this.data();if(a.effect&&a.effect.stop(),e){e.to.length||(e.to=[e.to]),e.from.length||(e.from=[e.from]);for(var i=[],o=e.to.length,r=!0,d=this,n=(new Date).getTime(),s=0;s<o;s++)i.push(e.to[s]-e.from[s]);a.effect=t.extend({stop:function(){r=!1},easing:function(t,e,a,i,o){return i*Math.sqrt(1-(e=e/o-1)*e)+a}},e),this.data(a),function t(){if(a.effect&&r){for(var s=[],l=Math.min(e.duration,(new Date).getTime()-n),c=0;c<o;c++)s.push(a.effect.easing(1,l,e.from[c],i[c],e.duration));e.frame(1==o?s[0]:s),l==e.duration?(delete a.effect,d.data(a),e.complete&&e.complete()):window.requestAnim(t)}}()}else delete a.effect}}),t.isTouch=b,t.mouseEvents=w,t.cssPrefix=s,t.cssTransitionEnd=function(){var t,e=document.createElement("fakeelement"),a={transition:"transitionend",OTransition:"oTransitionEnd",MSTransition:"transitionend",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in a)if(void 0!==e.style[t])return a[t]},t.findPos=m}(s),function(t){function e(t){function e(t){this.name="TurnJsError",this.message=t}return e.prototype=Error(),e.prototype.constructor=e,new e(t)}function a(t,e,a){return d&&a?" translate3d("+t+"px,"+e+"px, 0px) ":" translate("+t+"px, "+e+"px) "}function i(t,e){return d&&e?" scale3d("+t+", "+t+", 1) ":" scale("+t+") "}function o(t,e){return{x:t,y:e}}function r(t,e){return function(){return t.apply(e,arguments)}}var d,n={max:2,flipbook:null,easeFunction:"ease-in-out",duration:500,when:{}},s={init:function(a){var i=this,l=this.data();if(!(a=t.extend({},n,a)).flipbook||!a.flipbook.turn("is"))throw e("options.flipbook is required");if(d="WebKitCSSMatrix"in window||"MozPerspective"in document.body.style,"function"!=typeof a.max){var c=a.max;a.max=function(){return c}}for(var p in l.zoom={opts:a,axis:o(0,0),scrollPos:o(0,0),eventQueue:[],mouseupEvent:function(){return s._eMouseUp.apply(i,arguments)},eventTouchStart:r(s._eTouchStart,i),eventTouchMove:r(s._eTouchMove,i),eventTouchEnd:r(s._eTouchEnd,i),flipbookEvents:{zooming:r(s._eZoom,i),pressed:r(s._ePressed,i),released:r(s._eReleased,i),start:r(s._eStart,i),turning:r(s._eTurning,i),turned:r(s._eTurned,i),destroying:r(s._eDestroying,i)}},a.when)Object.prototype.hasOwnProperty.call(a.when,p)&&this.bind("zoom."+p,a.when[p]);for(p in l.zoom.flipbookEvents)Object.prototype.hasOwnProperty.call(l.zoom.flipbookEvents,p)&&a.flipbook.bind(p,l.zoom.flipbookEvents[p]);this.css({position:"relative",overflow:"hidden"}),t.isTouch?(a.flipbook.bind("touchstart",l.zoom.eventTouchStart).bind("touchmove",l.zoom.eventTouchMove).bind("touchend",l.zoom.eventTouchEnd),this.bind("touchstart",s._tap)):this.mousedown(s._mousedown).click(s._tap)},_tap:function(e){var a=t(this),i=a.data().zoom;!i.draggingCorner&&!i.dragging&&function t(e,a){return e[0]!=a[0]&&(!!e.attr("page")||!!e.parent()[0]&&t(e.parent(),a))}(t(e.target),a)&&(s._addEvent.call(a,"tap",e),(e=s._eventSeq.call(a))&&a.trigger(e))},_addEvent:function(t,e){var a=this.data().zoom,i=(new Date).getTime();a.eventQueue.push({name:t,timestamp:i,event:e}),10<a.eventQueue.length&&a.eventQueue.splice(0,1)},_eventSeq:function(){var e=this.data().zoom.eventQueue,a=e.length-1;return 0<a&&"tap"==e[a].name&&"tap"==e[a-1].name&&e[a].event.pageX==e[a-1].event.pageX&&e[a].event.pageY==e[a-1].event.pageY&&200>e[a].timestamp-e[a-1].timestamp&&50<e[a].timestamp-e[a-1].timestamp?t.extend(e[a].event,{type:"zoom.doubleTap"}):"tap"==e[a].name?t.extend(e[a].event,{type:"zoom.tap"}):void 0},_prepareZoom:function(){var e,a=0,i=this.data().zoom,r=1/this.zoom("value"),d=(e=i.opts.flipbook).turn("direction"),n=e.data(),s=e.offset(),l=this.offset(),c={height:e.height()},p=e.turn("view");if("double"==e.turn("display")&&e.data().opts.autoCenter?p[0]?p[1]?(c.width=e.width(),e=o(s.left-l.left,s.top-l.top)):(c.width=e.width()/2,a="ltr"==d?0:c.width,e=o("ltr"==d?s.left-l.left:s.left-l.left+c.width,s.top-l.top)):(c.width=e.width()/2,a="ltr"==d?c.width:0,e=o("ltr"==d?s.left-l.left+c.width:s.left-l.left,s.top-l.top)):(c.width=e.width(),e=o(s.left-l.left,s.top-l.top)),i.zoomer||(i.zoomer=t("<div />",{class:"zoomer",css:{overflow:"hidden",position:"absolute",zIndex:"1000000"}}).mousedown((function(){return!1})).appendTo(this)),i.zoomer.css({top:e.y,left:e.x,width:c.width,height:c.height}),(d=p.join(","))!=i.zoomerView)for(i.zoomerView=d,i.zoomer.find("*").remove(),d=0;d<p.length;d++)if(p[d]){l=n.pageObjs[p[d]].offset();var m=t(n.pageObjs[p[d]]);m.clone().transform("").css({width:m.width()*r,height:m.height()*r,position:"absolute",display:"",top:(l.top-s.top)*r,left:(l.left-s.left-a)*r}).appendTo(i.zoomer)}return{pos:e,size:c}},value:function(){return this.data().zoom.opts.flipbook.turn("zoom")},zoomIn:function(e){var r=this,d=this.data().zoom,n=d.opts.flipbook,l=d.opts.max();n.offset();var c=this.offset();if(d.zoomIn)return this;n.turn("stop");var p=t.Event("zoom.change");if(this.trigger(p,[l]),p.isDefaultPrevented())return this;var m=(f=s._prepareZoom.call(this)).pos,h=o(f.size.width/2,f.size.height/2),u=(p=t.cssPrefix(),t.cssTransitionEnd()),g=n.data().opts.autoCenter;d.scale=l,n.data().noCenter=!0,(0>(e=void 0!==e?"x"in e&&"y"in e?o(e.x-m.x,e.y-m.y):t.isTouch?o(e.originalEvent.touches[0].pageX-m.x-c.left,e.originalEvent.touches[0].pageY-m.y-c.top):o(e.pageX-m.x-c.left,e.pageY-m.y-c.top):o(h.x,h.y)).x||0>e.y||e.x>f.width||e.y>f.height)&&(e.x=h.x,e.y=h.y);var v=o((e.x-h.x)*l+h.x,(e.y-h.y)*l+h.y),f=(e=o(f.size.width*l>this.width()?e.x-v.x:0,f.size.height*l>this.height()?e.y-v.y:0),v=o(Math.abs(f.size.width*l-this.width()),Math.abs(f.size.height*l-this.height())),o(Math.min(0,f.size.width*l-this.width()),Math.min(0,f.size.height*l-this.height()))),b=o(h.x*l-h.x-m.x-e.x,h.y*l-h.y-m.y-e.y);b.y>v.y?e.y=b.y-v.y+e.y:b.y<f.y&&(e.y=b.y-f.y+e.y),b.x>v.x?e.x=b.x-v.x+e.x:b.x<f.x&&(e.x=b.x-f.x+e.x),b=o(h.x*l-h.x-m.x-e.x,h.y*l-h.y-m.y-e.y),(m={})[p+"transition"]=p+"transform "+d.opts.easeFunction+" "+d.opts.duration+"ms";var w=function(){r.trigger("zoom.zoomIn"),d.zoomIn=!0,d.flipPosition=o(n.css("left"),n.css("top")),n.turn("zoom",l).css({position:"absolute",margin:"",top:0,left:0});var e=n.offset();d.axis=o(e.left-c.left,e.top-c.top),g&&"double"==n.turn("display")&&("ltr"==n.turn("direction")&&!n.turn("view")[0]||"rtl"==n.turn("direction")&&!n.turn("view")[1])&&(d.axis.x+=n.width()/2),r.zoom("scroll",b),r.bind(t.mouseEvents.down,s._eMouseDown),r.bind(t.mouseEvents.move,s._eMouseMove),t(document).bind(t.mouseEvents.up,d.mouseupEvent),r.bind("mousewheel",s._eMouseWheel),setTimeout((function(){d.zoomer.hide(),d.zoomer.remove(),d.zoomer=null,d.zoomerView=null}),50)};return d.zoomer.css(m).show(),u?d.zoomer.bind(u,(function(){t(this).unbind(u),w()})):setTimeout(w,d.opts.duration),d.zoomer.transform(a(e.x,e.y,!0)+i(l,!0)),this},zoomOut:function(e){var r,d=this,n=this.data().zoom,l=n.opts.flipbook,c=1/n.scale,p=t.cssPrefix(),m=t.cssTransitionEnd();if(r=this.offset(),e=void 0!==e?e:n.opts.duration,n.zoomIn){var h=t.Event("zoom.change");if(this.trigger(h,[1]),h.isDefaultPrevented())return this;n.zoomIn=!1,n.scale=1,l.data().noCenter=!1,d.unbind(t.mouseEvents.down,s._eMouseDown),d.unbind(t.mouseEvents.move,s._eMouseMove),t(document).unbind(t.mouseEvents.up,n.mouseupEvent),d.unbind("mousewheel",s._eMouseWheel),(h={})[p+"transition"]=p+"transform "+n.opts.easeFunction+" "+e+"ms",l.css(h);var u=t("<div />",{css:{position:"relative",top:n.flipPosition.y,left:n.flipPosition.x,width:l.width()*c,height:l.height()*c,background:"blue"}}).appendTo(l.parent());h=o(u.offset().left-r.left,u.offset().top-r.top);u.remove();var g=l.data().opts.autoCenter;g&&"double"==l.turn("display")&&(l.turn("view")[0]?l.turn("view")[1]||(h.x="ltr"==l.turn("direction")?h.x+u.width()/4:h.x-u.width()/4):h.x="ltr"==l.turn("direction")?h.x-u.width()/4:h.x+u.width()/4);var v=t.findPos(l[0]);r=o(-l.width()/2-v.left+u.width()/2+h.x+r.left,-l.height()/2-v.top+u.height()/2+h.y+r.top);var f=function(){l[0].style.removeProperty?(l[0].style.removeProperty(p+"transition"),l.transform(l.turn("options").acceleration?a(0,0,!0):"").turn("zoom",1),l[0].style.removeProperty("margin"),l.css({position:"relative",top:n.flipPosition.y,left:n.flipPosition.x})):l.transform("none").turn("zoom",1).css({margin:"",top:n.flipPosition.y,left:n.flipPosition.x,position:"relative"}),g&&l.turn("center"),d.trigger("zoom.zoomOut")};return 0===e?f():(m?l.bind(m,(function(){t(this).unbind(m),f()})):setTimeout(f,e),l.transform(a(r.x,r.y,!0)+i(c,!0))),this}},flipbookWidth:function(){var t=this.data().zoom.opts.flipbook,e=t.turn("view");return"double"!=t.turn("display")||e[0]&&e[1]?t.width():t.width()/2},scroll:function(e,i,r){var n=this.data().zoom,s=n.opts.flipbook,l=this.zoom("flipbookWidth"),c=t.cssPrefix();if(d){var p={};p[c+"transition"]=r?c+"transform 200ms":"none",s.css(p),s.transform(a(-n.axis.x-e.x,-n.axis.y-e.y,!0))}else s.css({top:-n.axis.y-e.y,left:-n.axis.x-e.x});if(!i){var m;i=o(Math.min(0,(l-this.width())/2),Math.min(0,(s.height()-this.height())/2)),s=o(l>this.width()?l-this.width():(l-this.width())/2,s.height()>this.height()?s.height()-this.height():(s.height()-this.height())/2);e.y<i.y?(e.y=i.y,m=!0):e.y>s.y&&(e.y=s.y,m=!0),e.x<i.x?(e.x=i.x,m=!0):e.x>s.x&&(e.x=s.x,m=!0),m&&this.zoom("scroll",e,!0,!0)}n.scrollPos=o(e.x,e.y)},resize:function(){var t=this.data().zoom,e=t.opts.flipbook;if(1<this.zoom("value")){var a=e.offset(),i=this.offset();t.axis=o(a.left-i.left+(t.axis.x+t.scrollPos.x),a.top-i.top+(t.axis.y+t.scrollPos.y)),"double"==e.turn("display")&&"ltr"==e.turn("direction")&&!e.turn("view")[0]&&(t.axis.x+=e.width()/2),this.zoom("scroll",t.scrollPos)}},_eZoom:function(){for(var t=this.data().zoom,e=t.opts.flipbook,a=e.turn("view"),i=0;i<a.length;i++)a[i]&&this.trigger("zoom.resize",[t.scale,a[i],e.data().pageObjs[a[i]]])},_eStart:function(t){1!=this.zoom("value")&&t.preventDefault()},_eTurning:function(t,e,a){var i=this,o=(t=this.zoom("value"),this.data().zoom);e=o.opts.flipbook;if(o.page=e.turn("page"),1!=t){for(o=0;o<a.length;o++)a[o]&&this.trigger("zoom.resize",[t,a[o],e.data().pageObjs[a[o]]]);setTimeout((function(){i.zoom("resize")}),0)}},_eTurned:function(t,e){if(1!=this.zoom("value")){var a=this.data().zoom,i=a.opts.flipbook;e>a.page?this.zoom("scroll",o(0,a.scrollPos.y),!1,!0):e<a.page&&this.zoom("scroll",o(i.width(),a.scrollPos.y),!1,!0)}},_ePressed:function(){t(this).data().zoom.draggingCorner=!0},_eReleased:function(){var e=t(this).data().zoom;setTimeout((function(){e.draggingCorner=!1}),1)},_eMouseDown:function(e){return t(this).data().zoom.draggingCur=t.isTouch?o(e.originalEvent.touches[0].pageX,e.originalEvent.touches[0].pageY):o(e.pageX,e.pageY),!1},_eMouseMove:function(e){var a=t(this).data().zoom;if(a.draggingCur){a.dragging=!0;e=t.isTouch?o(e.originalEvent.touches[0].pageX,e.originalEvent.touches[0].pageY):o(e.pageX,e.pageY);var i=o(e.x-a.draggingCur.x,e.y-a.draggingCur.y);return t(this).zoom("scroll",o(a.scrollPos.x-i.x,a.scrollPos.y-i.y),!0),a.draggingCur=e,!1}},_eMouseUp:function(){var e=t(this).data().zoom;e.dragging&&t(this).zoom("scroll",e.scrollPos),e.draggingCur=null,setTimeout((function(){e.dragging=!1}),1)},_eMouseWheel:function(e,a,i,r){i=o((e=t(this).data().zoom).scrollPos.x+10*i,e.scrollPos.y-10*r),t(this).zoom("scroll",i,!1,!0)},_eTouchStart:function(e){var a=t(this).data().zoom;e=o(e.originalEvent.touches[0].pageX,e.originalEvent.touches[0].pageY);a.touch={},a.touch.initial=e,a.touch.last=e,a.touch.timestamp=(new Date).getTime(),a.touch.speed=o(0,0)},_eTouchMove:function(e){var a=t(this).data().zoom,i=t(this).zoom("value"),r=a.opts.flipbook,d=(new Date).getTime();e=o(e.originalEvent.touches[0].pageX,e.originalEvent.touches[0].pageY);a.touch&&1==i&&!r.data().mouseAction&&(a.touch.motion=o(e.x-a.touch.last.x,e.y-a.touch.last.y),a.touch.speed.x=0===a.touch.speed.x?a.touch.motion.x/(d-a.touch.timestamp):(a.touch.speed.x+a.touch.motion.x/(d-a.touch.timestamp))/2,a.touch.last=e,a.touch.timestamp=d)},_eTouchEnd:function(){var e=t(this).data().zoom;if(e.touch&&1==t(this).zoom("value")){var a=Math.abs(e.touch.initial.y-e.touch.last.y);50>a&&(-1>e.touch.speed.x||-100>e.touch.last.x-e.touch.initial.x)?this.trigger("zoom.swipeLeft"):50>a&&(1<e.touch.speed.x||100<e.touch.last.x-e.touch.initial.x)&&this.trigger("zoom.swipeRight")}},_eDestroying:function(){var e=this,a=this.data().zoom,i=a.opts.flipbook;for(var o in this.zoom("zoomOut",0),t.each("tap doubleTap resize zoomIn zoomOut swipeLeft swipeRight".split(" "),(function(t,a){e.unbind("zoom."+a)})),a.flipbookEvents)Object.prototype.hasOwnProperty.call(a.flipbookEvents,o)&&i.unbind(o,a.flipbookEvents[o]);i.unbind("touchstart",a.eventTouchStart).unbind("touchmove",a.eventTouchMove).unbind("touchend",a.eventTouchEnd),this.unbind("touchstart",s._tap).unbind("click",s._tap),a=null,this.data().zoom=null}};t.extend(t.fn,{zoom:function(){var a=arguments;if(!a[0]||"object"==bt(a[0]))return s.init.apply(t(this[0]),a);if(s[a[0]])return s[a[0]].apply(t(this[0]),Array.prototype.slice.call(a,1));throw e(a[0]+" is not a method")}})}(s);var wt=s,xt=require("axios"),yt=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flipbook-container"},[t.isLoading&&t.loader?a("div",{staticClass:"loading-box"},[a("div",{attrs:{id:"loading"}}),t._v(" "),a("small",[t._v(t._s(t.lang.justASecond))]),t._v(" "),a("h4",[t._v(t._s(t.lang.loadingPhrase))])]):t._e(),t._v(" "),a("div",{staticClass:"book-centered",style:t.centered?{"margin-left":t.isCover+"px"}:null},[a("div",{staticClass:"preview-desktop",class:t.isLoading?"invisible":"visible"},[a("div",{staticClass:"flipbook-lib",class:[t.formato],attrs:{id:"flipbook"}})])]),t._v(" "),t.controls?a("div",{staticClass:"controls"},[a("Button",{staticClass:"arrow",attrs:{kind:"ghost",size:"md",width:"circle",disabled:!1,inverted:!1},on:{click:function(e){return t.toTheLeft()}}},[a("span",{staticClass:"icon icon-chevron-left size-lg svg-color",attrs:{"data-v-98f27cc4":"","data-v-c614f43e":""}},[a("svg",{attrs:{fill:"#12d3db",stroke:"transparent",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M20.0847 20.7019L15.3828 16L20.0847 11.298C20.8651 10.5177 20.8651 9.25557 20.0847 8.47522C19.3044 7.69487 18.0423 7.69487 17.2619 8.47522L11.1419 14.5952C10.3616 15.3756 10.3616 16.6377 11.1419 17.418L17.2619 23.538C18.0423 24.3184 19.3044 24.3184 20.0848 23.5381L20.0908 23.5319C20.8421 22.7608 20.8726 21.4898 20.0847 20.7019Z"}})])])]),t._v(" "),a("div",{staticClass:"info-space"},[a("div",{staticClass:"current-pages"},[a("div",{staticClass:"list",style:{left:"-"+t.numberPositions+"px"}},t._l(t.pages,(function(e,i){return a("span",{key:i},[t._v(t._s(i+1))])})),0)]),t._v(" "),a("div",{staticClass:"info-pages"},[t._v(t._s(t.pages)+" "+t._s(t.lang.pages))])]),t._v(" "),a("Button",{staticClass:"arrow",attrs:{kind:"ghost",size:"md",width:"circle",disabled:!1,inverted:!1},on:{click:function(e){return t.toTheRight()}}},[a("span",{staticClass:"icon icon-chevron-right size-lg svg-color",attrs:{"data-v-98f27cc4":"","data-v-c614f43e":""}},[a("svg",{attrs:{fill:"#12d3db",stroke:"transparent",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.9153 8.47532C11.135 9.25567 11.135 10.5178 11.9153 11.2981L16.6173 16.0001L11.9153 20.702C11.135 21.4823 11.135 22.7444 11.9153 23.5248C12.6957 24.3051 13.9578 24.3051 14.7381 23.5248L20.8582 17.4048C21.6385 16.6244 21.6385 15.3623 20.8582 14.582L14.7381 8.46198C13.9668 7.69064 12.6913 7.69931 11.9153 8.47532Z"}})])])])],1):t._e()])},staticRenderFns:[]},(function(t){t&&(t("data-v-24e4a182_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.flipbook-viewport{margin-top:30px;width:100%}.flipbook-viewport .container-book{top:50%;margin:auto;position:relative;z-index:5}.flipbook-viewport #flipbook{top:0;margin-left:auto!important;margin-right:auto}.flipbook-viewport .page{width:461px;height:600px;background-color:#fff;background-repeat:no-repeat;background-size:100% 100%;position:relative;cursor:pointer}#flipbook .page{-webkit-box-shadow:0 0 20px rgba(0,0,0,.2);-moz-box-shadow:0 0 20px rgba(0,0,0,.2);-ms-box-shadow:0 0 20px rgba(0,0,0,.2);-o-box-shadow:0 0 20px rgba(0,0,0,.2);box-shadow:0 0 20px rgba(0,0,0,.2)}#flipbook-viewport .page img{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0}.flipbook-viewport .shadow{-webkit-transition:-webkit-box-shadow .5s;-moz-transition:-moz-box-shadow .5s;-o-transition:-webkit-box-shadow .5s;-ms-transition:-ms-box-shadow .5s;-webkit-box-shadow:0 0 20px #ccc;-moz-box-shadow:0 0 20px #ccc;-o-box-shadow:0 0 20px #ccc;-ms-box-shadow:0 0 20px #ccc;box-shadow:0 0 20px #ccc}.even{box-shadow:none!important;-webkit-box-shadow:none!important;-moz-box-shadow:none!important;-o-box-shadow:none!important;-ms-box-shadow:none!important;box-shadow:none!important}.odd{box-shadow:none!important;-webkit-box-shadow:none!important;-moz-box-shadow:none!important;-o-box-shadow:none!important;-ms-box-shadow:none!important;box-shadow:none!important}.even:before{content:"";position:absolute;width:100%;height:100%;background-image:-webkit-gradient(linear,right top,left top,from(black),color-stop(7%,transparent));background-image:linear-gradient(to left,#000,transparent 7%);opacity:.15}.odd:before{content:"";position:absolute;width:100%;height:100%;background-image:-webkit-gradient(linear,left top,right top,from(black),color-stop(7%,transparent));background-image:linear-gradient(to right,#000,transparent 7%);opacity:.15}#flipbook .page-wrapper{-webkit-perspective:2000px;-moz-perspective:2000px;-ms-perspective:2000px;perspective:2000px}#flipbook img{width:100%;height:calc(75vh - 50px)}#flipbook img.loading-blur{filter:blur(8px);-webkit-filter:blur(8px)}.zoom-in #flipbook img{height:100%}#flipbook.square img{width:100%;height:calc(55vh - 50px)}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}',map:void 0,media:void 0}),t("data-v-24e4a182_1",{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-24e4a182]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-24e4a182]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-24e4a182]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-24e4a182]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-24e4a182]{font-size:14px}}@media (min-width:1024px){[data-v-24e4a182]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-24e4a182]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-24e4a182]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-24e4a182]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-24e4a182]{font-size:1.56vw}}html[data-v-24e4a182]{box-sizing:border-box}*[data-v-24e4a182],[data-v-24e4a182]::after,[data-v-24e4a182]::before{box-sizing:border-box}[data-v-24e4a182] .arrow svg{width:100%!important;height:100%!important}.zoom-in #flipbook img[data-v-24e4a182]{height:100%!important}.preview-desktop[data-v-24e4a182]{text-align:center;margin:0 auto;transition:all .7s ease-in-out}.loading-box[data-v-24e4a182]{position:absolute;top:35%;left:0;right:0;bottom:0;margin-bottom:auto;margin-top:auto;z-index:9999;text-align:center;font-family:Roboto}.loading-box #loading[data-v-24e4a182]{display:inline-block;border:8px solid #f3f3f3;border-top:8px solid #42cda1;border-radius:50%;width:2.8571428571rem;height:2.8571428571rem;animation:spin-data-v-24e4a182 .6s linear infinite}@media (max-width:479px){.loading-box #loading[data-v-24e4a182]{border:6px solid #f3f3f3;border-top:6px solid #42cda1;width:1.9047619048rem;height:1.9047619048rem;font-family:Roboto}}@keyframes spin-data-v-24e4a182{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.loading-box small[data-v-24e4a182]{display:block;width:100%;font-size:14px;font-weight:700;font-family:Nunito,sans-serif;margin-top:16px}.loading-box h4[data-v-24e4a182]{font-size:18px;margin-top:8px;font-weight:400}.book-centered[data-v-24e4a182]{transition:all .7s ease-in-out}.flipbook-container[data-v-24e4a182]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:all .3s;z-index:2;min-height:210px;min-height:210px}.flipbook-container.zoom-in[data-v-24e4a182]{height:100vh}@media (max-width:479px){.flipbook-container[data-v-24e4a182]{display:none}}.flipbook-container .flipbook-lib[data-v-24e4a182]{z-index:50}.flipbook-container .flipbook-lib .page.odd[data-v-24e4a182]:not(.p1)::before{content:"";position:absolute;display:block;height:100%;width:100%;top:0;left:0;box-shadow:20px 0 20px -10px rgba(0,0,0,.3) inset;z-index:4}.flipbook-container .flipbook-lib .page.even[data-v-24e4a182]::before{position:absolute;display:block;content:"";height:100%;width:100%;top:0;left:0;box-shadow:-20px 0 20px -10px rgba(0,0,0,.5) inset}.flipbook-container .flipbook-lib img[data-v-24e4a182]{height:100%!important}.controls[data-v-24e4a182]{margin:0 auto;display:block;display:inline-block;margin-top:20px;position:relative;z-index:2}.controls button[data-v-24e4a182]{display:inline-block!important;background:#fff;box-shadow:4px 8px 24px rgba(175,162,186,.24);padding:.380952381rem!important;border-radius:50%;text-align:center;color:#afa2ba;border:none;width:auto!important;height:auto!important}.controls button svg[data-v-24e4a182]{fill:transparent!important}.controls button svg path[data-v-24e4a182]{fill:transparent!important}.controls button .svg-color[data-v-24e4a182]{fill:#12d3db!important}.controls button .svg-color path[data-v-24e4a182]{fill:#12d3db!important}.controls .info-space[data-v-24e4a182]{position:relative;top:3px;display:inline-block;margin:0 .380952381rem;font-size:10px;font-weight:900;color:#afa2ba;font-family:Nunito,sans-serif}.controls .current-pages[data-v-24e4a182]{width:60px;white-space:nowrap;line-height:1;overflow:hidden;transition:all .5s ease}.controls .current-pages .list[data-v-24e4a182]{position:relative;transition:all .5s ease}.controls .current-pages span[data-v-24e4a182]{width:30px;display:inline-block;text-align:center;font-size:16px}.controls .current-pages span[data-v-24e4a182]:first-child{margin:0 16px}.controls .current-pages span[data-v-24e4a182]:last-child{margin:0 16px}.info-pages[data-v-24e4a182]{text-align:center}@keyframes arrow-animation-data-v-24e4a182{0%,100%,48%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}8%{-webkit-transform:translateX(-30%);transform:translateX(-30%)}16%{-webkit-transform:translateX(15%);transform:translateX(15%)}24%{-webkit-transform:translateX(-15%);transform:translateX(-15%)}32%{-webkit-transform:translateX(9%);transform:translateX(9%)}40%{-webkit-transform:translateX(-6%);transform:translateX(-6%)}}.visible[data-v-24e4a182]{opacity:1}.invisible[data-v-24e4a182]{opacity:0}[data-v-24e4a182] .loading-bg{position:absolute;display:flex;top:0;width:100%;height:100%;background-color:#fff;opacity:.64;align-items:center;justify-content:center;z-index:12}[data-v-24e4a182] .loading-bg .loading{border:2px solid #dfdae4;border-top:2px solid #00cf72;border-radius:50%;width:2.8571428571rem;height:2.8571428571rem;animation:spin-data-v-24e4a182 .6s linear infinite}@media (max-width:479px){[data-v-24e4a182] .loading-bg .loading{border:6px solid #f3f3f3;border-top:6px solid #42cda1;width:1.9047619048rem;height:1.9047619048rem}}@keyframes spin-data-v-24e4a182{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.icon[data-v-24e4a182]{width:24px;height:24px;display:block}',map:void 0,media:void 0}))}),{name:"Preview",components:{Icon:I},props:{
1245
+ type:{type:String,default:"regular"}},data:function(){return{}}},"data-v-a049d78a",!1,void 0,!1,b,void 0,void 0),vt=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",t._g(t._b({attrs:{name:"modal"}},"transition",t.$attrs,!1),t.$listeners),[a("div",{staticClass:"modal-container"},[a("div",{staticClass:"modal"},[a("div",{staticClass:"modal-dialog"},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"modal-header-items"},[a("div",{staticClass:"modal-header-close"},[a("div",{staticClass:"header-close"},[t.haveClose?a("span",{staticClass:"icon icon-close size-lg",on:{click:t.closeModal}},[a("svg",{attrs:{fill:"#DFDAE4",stroke:"transparent",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M24.4803 7.53262C23.7875 6.8398 22.6673 6.83968 21.9743 7.53227L16.0004 13.494L10.026 7.5197C9.33311 6.82677 8.21263 6.82677 7.5197 7.5197C6.82677 8.21263 6.82677 9.33311 7.5197 10.026L13.4937 16L7.5197 21.974C6.82677 22.6669 6.82677 23.7874 7.5197 24.4803C8.21263 25.1732 9.33311 25.1732 10.026 24.4803L16 18.5063L21.974 24.4803C22.6669 25.1732 23.7874 25.1732 24.4803 24.4803C25.1732 23.7874 25.1732 22.6669 24.4803 21.974L18.5063 16L24.4803 10.026C25.1603 9.34603 25.1603 8.21264 24.4803 7.53262Z"}})])]):t._e()])]),t._v(" "),a("div",{staticClass:"modal-header-content"},[a("Heading",{attrs:{kind:"h4",size:t.headingSize,color:t.headingColor}},[t._v(t._s(t.heading))]),t._v(" "),t.paragraph?a("Paragraph",{attrs:{size:t.paragraphSize,color:"'#ccc'"},domProps:{innerHTML:t._s(t.paragraph)}}):t._e()],1),t._v(" "),t._t("header")],2),t._v(" "),a("div",{staticClass:"modal-body"},[t._t("default")],2),t._v(" "),a("HR",{attrs:{height:"1px",color:"#f0f0f0"}}),t._v(" "),a("div",{staticClass:"modal-footer-items"},[t._t("footer")],2)],1)])]),t._v(" "),a("div",{staticClass:"modal-backdrop",on:{click:t.closeModal}})])])},staticRenderFns:[]},(function(t){t&&t("data-v-27a3297c_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-27a3297c]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-27a3297c]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-27a3297c]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-27a3297c]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-27a3297c]{font-size:14px}}@media (min-width:1024px){[data-v-27a3297c]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-27a3297c]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-27a3297c]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-27a3297c]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-27a3297c]{font-size:1.56vw}}html[data-v-27a3297c]{box-sizing:border-box}*[data-v-27a3297c],[data-v-27a3297c]::after,[data-v-27a3297c]::before{box-sizing:border-box}.modal[data-v-27a3297c]{display:block;position:fixed;top:0;left:0;z-index:1050;width:100%;height:100%;overflow-y:scroll;outline:0;font-family:Nunito,sans-serif;display:flex;align-items:center;justify-content:center}.modal-dialog[data-v-27a3297c]{transition:all .5s ease}.modal-backdrop[data-v-27a3297c]{transition:opacity .5s ease,backdrop-filter .5s ease}.modal-backdrop[data-v-27a3297c]{position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background:rgba(104,89,110,.8);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.modal-content[data-v-27a3297c]{position:relative;display:flex;flex-direction:column;width:100%;pointer-events:auto;background-color:#fff;background-clip:padding-box;border:0 solid rgba(0,0,0,.2);border-radius:0;outline:0}@media (max-width:479px){.modal-content[data-v-27a3297c]{min-height:100vh;top:5.1401869159rem;border-top-left-radius:24px;border-top-right-radius:24px;position:fixed;bottom:0;left:0}}.modal-dialog[data-v-27a3297c]{max-width:27.5238095238rem;border-radius:.7619047619rem!important;overflow:hidden!important;position:relative;width:auto;pointer-events:none;margin:5% auto;box-shadow:#bbb}@media (max-width:479px){.modal-dialog[data-v-27a3297c]{max-width:100%!important;margin-top:0!important;margin-bottom:0!important}}.modal-header-items[data-v-27a3297c]{align-items:center;color:#68596e;padding-top:16px 0}.modal-header-items .modal-header-close[data-v-27a3297c]{padding:0 16px;padding-top:16px;text-align:right}@media (max-width:479px){.modal-header-items .modal-header-close[data-v-27a3297c]{padding:0;position:absolute;top:-3.4579439252rem;right:1.4953271028rem;width:100%}}.modal-header-items .modal-header-close .header-close[data-v-27a3297c]{display:flex;justify-content:flex-end;cursor:pointer}.modal-header-items .modal-header-close .header-close:hover span[data-v-27a3297c] svg path{fill:#12d3db}.modal-header-items .modal-header-close .header-close span[data-v-27a3297c]{max-width:1.1428571429rem;max-height:1.1428571429rem;width:100%}@media (max-width:479px){.modal-header-items .modal-header-close .header-close span[data-v-27a3297c]{max-width:2.2429906542rem;max-height:2.2429906542rem;width:100%}}.modal-header-items .modal-header-content[data-v-27a3297c]{padding:0 1.9047619048rem}@media (max-width:479px){.modal-header-items .modal-header-content[data-v-27a3297c]{padding:2.9906542056rem 6.6666666667vw 0}}.modal-header-items .modal-header-content .heading[data-v-27a3297c]{width:100%;margin:0}.modal-header-items .modal-header-content .paragraph[data-v-27a3297c]{width:100%;margin:0}hr[data-v-27a3297c]{margin:0;height:1px;background-color:#dfdae4;border:0}@media (max-width:479px){hr[data-v-27a3297c]{display:none}}.modal-body[data-v-27a3297c]{padding:.7619047619rem 1.9047619048rem}@media (max-width:479px){.modal-body[data-v-27a3297c]{padding:1.4953271028rem 6.6666666667vw 16px}}.modal-footer-items[data-v-27a3297c]{display:flex;justify-content:flex-start;flex-direction:row;padding:.7619047619rem 1.9047619048rem}@media (max-width:479px){.modal-footer-items[data-v-27a3297c]{background:#fff;padding:1.4018691589rem .9345794393rem;position:fixed;width:100%;bottom:0;border-top:solid 1px rgba(223,218,228,.64)}}.modal-footer-items[data-v-27a3297c] div{display:flex;justify-content:flex-start;flex-direction:row;width:100%}.modal-footer-items[data-v-27a3297c] div .btn-ghost{margin-left:.380952381rem}@media (max-width:479px){.modal-footer-items[data-v-27a3297c] div .btn-ghost{width:50%;margin-left:.7476635514rem}}@media (max-width:479px){.modal-footer-items[data-v-27a3297c] div .btn-secondary{width:50%}}',map:void 0,media:void 0})}),{name:"Modal",components:{Button:E,Heading:ht,Paragraph:gt,Icon:L},props:{kind:{type:String,default:"primary"},size:{type:String,default:"xl"},heading:{type:String,required:!0},headingSize:{type:String,default:"sm"},headingColor:{type:String,default:"#68596E"},paragraph:{type:String},paragraphSize:{type:String,default:"lg"},haveClose:{type:Boolean,default:!0}},created:function(){document.getElementsByTagName("html")[0].style.overflow="hidden",document.getElementsByTagName("body")[0].style.overflow="hidden",document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&(document.getElementsByClassName("boxes")[0].style.overflow="hidden")},beforeCreate:function(){document.getElementsByTagName("html")[0].style.overflow="hidden",document.getElementsByTagName("body")[0].style.overflow="hidden",document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&(document.getElementsByClassName("boxes")[0].style.overflow="hidden")},mounted:function(){document.getElementsByTagName("html")[0].style.overflow="hidden",document.getElementsByTagName("body")[0].style.overflow="hidden",document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&(document.getElementsByClassName("boxes")[0].style.overflow="hidden")},destroy:function(){document.getElementsByTagName("html")[0].removeAttribute("style"),document.getElementsByTagName("body")[0].removeAttribute("style"),document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&document.getElementsByClassName("boxes")[0].removeAttribute("style")},beforeDestroy:function(){document.getElementsByTagName("html")[0].removeAttribute("style"),document.getElementsByTagName("body")[0].removeAttribute("style"),document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&document.getElementsByClassName("boxes")[0].removeAttribute("style")},methods:{onClick:function(){this.$emit("click")},closeModal:function(){this.$emit("closeModal"),document.getElementsByTagName("html")[0].removeAttribute("style"),document.getElementsByTagName("body")[0].removeAttribute("style"),document.getElementsByClassName("boxes")&&document.getElementsByClassName("boxes").length>0&&document.getElementsByClassName("boxes")[0].removeAttribute("style")}},computed:{shadowVar:function(){return{"--shadow-color":this.shadowColor}}}},"data-v-27a3297c",!1,void 0,!1,b,void 0,void 0);var ft={en:{urlBuilder:"https://builder.playstories.com",justASecond:"Just a second",loadingPhrase:"We are loading your exclusive book",pages:"PAGES",pagesLowercase:"Pages",editArea:"Editing area",name:"Name",dedication:"Dedication",writeDedication:"Write a dedication",shirtNumber:"Shirt Number",bookScript:"Book Script",dateBirth:"Birthday Date",editDateBirth:"Edit birthday date",pet:"Pet",editName:"Edit child's name",kidName:"Child's name",recommendedName:"It is recommended to use only the first name",dedicationFree:"Dedication (free)",cusutomDedication:"Customize the dedication that will be printed on the book.",messageDedication:"Dedication message",dedcationPlaceholder:"May your life be full of great adventures!",editShirt:"Edit shirt number",chooseScript:"You choose the script",choosePetLabel1:"Choose the pair that will help the",choosePetLabel2:"to meet Samson on this adventure together with Turma da Mônica.",day:"Day",month:"Month",changePet:"Change the story bug",petDescription1:"This pet will accompany",petDescription2:"throughout history.",typePetname:"Type the pet's name here",selectPet:"Select the pet",update:"UPDATE",cancel:"CANCEL"},br:{urlBuilder:"https://builder.dentrodahistoria.com.br",justASecond:"Só um segundo",loadingPhrase:"Estamos carregando seu livro exclusivo",pages:"PÁGINAS",pagesLowercase:"Páginas",editArea:"Área de edição",name:"Nome",dedication:"Dedicatória",writeDedication:"Escreva uma dedicatória",shirtNumber:"Número da Camisa",bookScript:"Roteiro do Livro",dateBirth:"Data do aniversário",editDateBirth:"Editar data do aniversário",pet:"Bichinho de estimação",editName:"Editar nome do pequeno",kidName:"Edite o nome do protagonista",reccomendName:"É recomendado usar só o primeiro nome",dedicationFree:"Dedicatória (grátis)",cusutomDedication:"Personalize a dedicatória que será impressa no livro.",messageDedication:"Mensagem da dedicatória",dedcationPlaceholder:"Que a sua vida seja cheia de ótimas aventuras!",editShirt:"Editar camisa do pequeno",chooseScript:"Você escolhe o roteiro",choosePetLabel1:"Escolha a dupla que vai ajudar o",choosePetLabel2:"a encontrar o Sansão nessa aventura junto com a Turma da Mônica.",day:"Dia",month:"Mês",changePet:"Altere o bichinho da história",petDescription1:"Esse bichinho acompanhará ",petDescription2:"em toda a história.",typePetname:"Digite o nome do bichinho aqui",selectPet:"Selecione o bichinho",update:"ATUALIZAR",cancel:"CANCELAR",moonerLabelSidebar:"Mooner",moonerTitleFirstOpen:"Adicione um Mooner na história",moonerTitle:"Escolha o Mooner da história",moonerDescriptionOne:"Ele irá acompanhar <span>",moonerDescriptionTwo:"</span> durante toda a aventura.",moonerLabel:"Digite um nome para o Mooner",moonerLabelSelector:"Selecione um Mooner: ",moonerCtaFirstOpen:"Adicionar Mooner",moonerCta:"Atualizar",moonerCtaCancel:"Cancel"}};function bt(t){return(bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t){function e(t,e,a){if(!a[0]||"object"==bt(a[0]))return e.init.apply(t,a);if(e[a[0]])return e[a[0]].apply(t,Array.prototype.slice.call(a,1));throw p(a[0]+" is not a method or property")}function a(t,e,a,i){return{css:{position:"absolute",top:t,left:e,overflow:i||"hidden",zIndex:a||"auto"}}}function i(t,e,a,i,r){var d=1-r,n=d*d*d,s=r*r*r;return o(Math.round(n*t.x+3*r*d*d*e.x+3*r*r*d*a.x+s*i.x),Math.round(n*t.y+3*r*d*d*e.y+3*r*r*d*a.y+s*i.y))}function o(t,e){return{x:t,y:e}}function r(t,e,a){return u&&a?" translate3d("+t+"px,"+e+"px, 0px) ":" translate("+t+"px, "+e+"px) "}function d(t){return" rotate("+t+"deg) "}function n(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function s(){for(var t=["Moz","Webkit","Khtml","O","ms"],e=t.length,a="";e--;)t[e]+"Transform"in document.body.style&&(a="-"+t[e].toLowerCase()+"-");return a}function l(t,e,a,i,r){var d,n=[];if("-webkit-"==g){for(d=0;d<r;d++)n.push("color-stop("+i[d][0]+", "+i[d][1]+")");t.css({"background-image":"-webkit-gradient(linear, "+e.x+"% "+e.y+"%,"+a.x+"% "+a.y+"%, "+n.join(",")+" )"})}else{e={x:e.x/100*t.width(),y:e.y/100*t.height()};var s=(a={x:a.x/100*t.width(),y:a.y/100*t.height()}).x-e.x;d=a.y-e.y;var l=Math.atan2(d,s),c=l-Math.PI/2,p=(c=Math.abs(t.width()*Math.sin(c))+Math.abs(t.height()*Math.cos(c)),s=Math.sqrt(d*d+s*s),a=o(a.x<e.x?t.width():0,a.y<e.y?t.height():0),Math.tan(l));for(a=(d=-1/p)*(p=(d*a.x-a.y-p*e.x+e.y)/(d-p))-d*a.x+a.y,e=Math.sqrt(Math.pow(p-e.x,2)+Math.pow(a-e.y,2)),d=0;d<r;d++)n.push(" "+i[d][1]+" "+100*(e+s*i[d][0])/c+"%");t.css({"background-image":g+"linear-gradient("+-l+"rad,"+n.join(",")+")"})}}function c(e,a,i){return e=t.Event(e),a.trigger(e,i),e.isDefaultPrevented()?"prevented":e.isPropagationStopped()?"stopped":""}function p(t){function e(t){this.name="TurnJsError",this.message=t}return e.prototype=Error(),e.prototype.constructor=e,new e(t)}function m(t){var e={top:0,left:0};do{e.left+=t.offsetLeft,e.top+=t.offsetTop}while(t=t.offsetParent);return e}var u,h,g="",v=Math.PI,f=v/2,b="ontouchstart"in window,w=b?{down:"touchstart",move:"touchmove",up:"touchend",over:"touchstart",out:"touchend"}:{down:"mousedown",move:"mousemove",up:"mouseup",over:"mouseover",out:"mouseout"},x={backward:["bl","tl"],forward:["br","tr"],all:"tl bl tr br l r".split(" ")},y=["single","double"],z=["ltr","rtl"],k={acceleration:!0,display:"double",duration:600,page:1,gradients:!0,turnCorners:"bl,br",when:null},_={cornerSize:100},C={init:function(e){var a,i;u="WebKitCSSMatrix"in window||"MozPerspective"in document.body.style,h=!(a=/AppleWebkit\/([0-9\.]+)/i.exec(navigator.userAgent))||534.3<parseFloat(a[1]),g=s(),a=0;var o=this.data(),d=this.children();e=t.extend({width:this.width(),height:this.height(),direction:this.attr("dir")||this.css("direction")||"ltr"},k,e);if(o.opts=e,o.pageObjs={},o.pages={},o.pageWrap={},o.pageZoom={},o.pagePlace={},o.pageMv=[],o.zoom=1,o.totalPages=e.pages||0,o.eventHandlers={touchStart:t.proxy(C._touchStart,this),touchMove:t.proxy(C._touchMove,this),touchEnd:t.proxy(C._touchEnd,this),start:t.proxy(C._eventStart,this)},e.when)for(i in e.when)n(i,e.when)&&this.bind(i,e.when[i]);for(this.css({position:"relative",width:e.width,height:e.height}),this.turn("display",e.display),""!==e.direction&&this.turn("direction",e.direction),u&&!b&&e.acceleration&&this.transform(r(0,0,!0)),i=0;i<d.length;i++)"1"!=t(d[i]).attr("ignore")&&this.turn("addPage",d[i],++a);return t(this).bind(w.down,o.eventHandlers.touchStart).bind("end",C._eventEnd).bind("pressed",C._eventPressed).bind("released",C._eventReleased).bind("flip",C._flip),t(this).parent().bind("start",o.eventHandlers.start),t(document).bind(w.move,o.eventHandlers.touchMove).bind(w.up,o.eventHandlers.touchEnd),this.turn("page",e.page),o.done=!0,this},addPage:function(e,a){var i,o=!1,r=this.data(),d=r.totalPages+1;if(r.destroying)return!1;if((i=/\bp([0-9]+)\b/.exec(t(e).attr("class")))&&(a=parseInt(i[1],10)),a){if(a==d)o=!0;else if(a>d)throw p('Page "'+a+'" cannot be inserted')}else a=d,o=!0;return 1<=a&&a<=d&&(i="double"==r.display?a%2?" odd":" even":"",r.done&&this.turn("stop"),a in r.pageObjs&&C._movePages.call(this,a,1),o&&(r.totalPages=d),r.pageObjs[a]=t(e).css({float:"left"}).addClass("page p"+a+i),-1!=navigator.userAgent.indexOf("MSIE 9.0")&&r.pageObjs[a].hasClass("hard")&&r.pageObjs[a].removeClass("hard"),C._addPage.call(this,a),C._removeFromDOM.call(this)),this},_addPage:function(e){var a=this.data(),i=a.pageObjs[e];if(i)if(C._necessPage.call(this,e)){if(!a.pageWrap[e]){a.pageWrap[e]=t("<div/>",{class:"page-wrapper",page:e,css:{position:"absolute",overflow:"hidden"}}),this.append(a.pageWrap[e]),a.pagePlace[e]||(a.pagePlace[e]=e,a.pageObjs[e].appendTo(a.pageWrap[e]));var o=C._pageSize.call(this,e,!0);i.css({width:o.width,height:o.height}),a.pageWrap[e].css(o)}a.pagePlace[e]==e&&C._makeFlip.call(this,e)}else a.pagePlace[e]=0,a.pageObjs[e]&&a.pageObjs[e].remove()},hasPage:function(t){return n(t,this.data().pageObjs)},center:function(e){var a=this.data(),i=t(this).turn("size"),o=0;return a.noCenter||("double"==a.display&&(e=this.turn("view",e||a.tpage||a.page),"ltr"==a.direction?e[0]?e[1]||(o+=i.width/4):o-=i.width/4:e[0]?e[1]||(o-=i.width/4):o+=i.width/4),t(this).css({marginLeft:o})),this},destroy:function(){var e=this,a=this.data(),i="end first flip last pressed released start turning turned zooming missing".split(" ");if("prevented"!=c("destroying",this)){for(a.destroying=!0,t.each(i,(function(t,a){e.unbind(a)})),this.parent().unbind("start",a.eventHandlers.start),t(document).unbind(w.move,a.eventHandlers.touchMove).unbind(w.up,a.eventHandlers.touchEnd);0!==a.totalPages;)this.turn("removePage",a.totalPages);return a.fparent&&a.fparent.remove(),a.shadow&&a.shadow.remove(),this.removeData(),a=null,this}},is:function(){return"object"==bt(this.data().pages)},zoom:function(e){var a=this.data();if("number"==typeof e){if(.001>e||100<e)throw p(e+" is not a value for zoom");if("prevented"==c("zooming",this,[e,a.zoom]))return this;var i=this.turn("size"),o=this.turn("view"),r=1/a.zoom,d=Math.round(i.width*r*e);i=Math.round(i.height*r*e);for(a.zoom=e,t(this).turn("stop").turn("size",d,i),a.opts.autoCenter&&this.turn("center"),C._updateShadow.call(this),e=0;e<o.length;e++)o[e]&&a.pageZoom[o[e]]!=a.zoom&&(this.trigger("zoomed",[o[e],o,a.pageZoom[o[e]],a.zoom]),a.pageZoom[o[e]]=a.zoom);return this}return a.zoom},_pageSize:function(t,e){var a=this.data(),i={};if("single"==a.display)i.width=this.width(),i.height=this.height(),e&&(i.top=0,i.left=0,i.right="auto");else{var o=this.width()/2,r=this.height();if(a.pageObjs[t].hasClass("own-size")?(i.width=a.pageObjs[t].width(),i.height=a.pageObjs[t].height()):(i.width=o,i.height=r),e){var d=t%2;i.top=(r-i.height)/2,"ltr"==a.direction?(i[d?"right":"left"]=o-i.width,i[d?"left":"right"]="auto"):(i[d?"left":"right"]=o-i.width,i[d?"right":"left"]="auto")}}return i},_makeFlip:function(t){var e=this.data();if(!e.pages[t]&&e.pagePlace[t]==t){var a="single"==e.display,i=t%2;e.pages[t]=e.pageObjs[t].css(C._pageSize.call(this,t)).flip({page:t,next:i||a?t+1:t-1,turn:this}).flip("disable",e.disabled),C._setPageLoc.call(this,t),e.pageZoom[t]=e.zoom}return e.pages[t]},_makeRange:function(){var t,e;if(!(1>this.data().totalPages))for(t=(e=this.turn("range"))[0];t<=e[1];t++)C._addPage.call(this,t)},range:function(t){var e,a,i,o=this.data();t=t||o.tpage||o.page||1;if(i=C._view.call(this,t),1>t||t>o.totalPages)throw p('"'+t+'" is not a valid page');return i[1]=i[1]||i[0],1<=i[0]&&i[1]<=o.totalPages?(t=Math.floor(2),o.totalPages-i[1]>i[0]?a=2*t-(e=Math.min(i[0]-1,t)):e=2*t-(a=Math.min(o.totalPages-i[1],t))):a=e=5,[Math.max(1,i[0]-e),Math.min(o.totalPages,i[1]+a)]},_necessPage:function(t){if(0===t)return!0;var e=this.turn("range");return this.data().pageObjs[t].hasClass("fixed")||t>=e[0]&&t<=e[1]},_removeFromDOM:function(){var t,e=this.data();for(t in e.pageWrap)n(t,e.pageWrap)&&!C._necessPage.call(this,t)&&C._removePageFromDOM.call(this,t)},_removePageFromDOM:function(t){var e=this.data();if(e.pages[t]){var a=e.pages[t].data();M._moveFoldingPage.call(e.pages[t],!1),a.f&&a.f.fwrapper&&a.f.fwrapper.remove(),e.pages[t].removeData(),e.pages[t].remove(),delete e.pages[t]}e.pageObjs[t]&&e.pageObjs[t].remove(),e.pageWrap[t]&&(e.pageWrap[t].remove(),delete e.pageWrap[t]),C._removeMv.call(this,t),delete e.pagePlace[t],delete e.pageZoom[t]},removePage:function(t){var e=this.data();if("*"==t)for(;0!==e.totalPages;)this.turn("removePage",e.totalPages);else{if(1>t||t>e.totalPages)throw p("The page "+t+" doesn't exist");e.pageObjs[t]&&(this.turn("stop"),C._removePageFromDOM.call(this,t),delete e.pageObjs[t]),C._movePages.call(this,t,-1),e.totalPages-=1,e.page>e.totalPages?(e.page=null,C._fitPage.call(this,e.totalPages)):(C._makeRange.call(this),this.turn("update"))}return this},_movePages:function(t,e){var a,i=this,o=this.data(),r="single"==o.display,d=function(t){var a=t+e,d=a%2,n=d?" odd ":" even ";o.pageObjs[t]&&(o.pageObjs[a]=o.pageObjs[t].removeClass("p"+t+" odd even").addClass("p"+a+n)),o.pagePlace[t]&&o.pageWrap[t]&&(o.pagePlace[a]=a,o.pageWrap[a]=o.pageObjs[a].hasClass("fixed")?o.pageWrap[t].attr("page",a):o.pageWrap[t].css(C._pageSize.call(i,a,!0)).attr("page",a),o.pages[t]&&(o.pages[a]=o.pages[t].flip("options",{page:a,next:r||d?a+1:a-1})),e&&(delete o.pages[t],delete o.pagePlace[t],delete o.pageZoom[t],delete o.pageObjs[t],delete o.pageWrap[t]))};if(0<e)for(a=o.totalPages;a>=t;a--)d(a);else for(a=t;a<=o.totalPages;a++)d(a)},display:function(e){var a=this.data(),i=a.display;if(void 0===e)return i;if(-1==t.inArray(e,y))throw p('"'+e+'" is not a value for display');switch(e){case"single":a.pageObjs[0]||(this.turn("stop").css({overflow:"hidden"}),a.pageObjs[0]=t("<div />",{class:"page p-temporal"}).css({width:this.width(),height:this.height()}).appendTo(this)),this.addClass("shadow");break;case"double":a.pageObjs[0]&&(this.turn("stop").css({overflow:""}),a.pageObjs[0].remove(),delete a.pageObjs[0]),this.removeClass("shadow")}return a.display=e,i&&(e=this.turn("size"),C._movePages.call(this,1,0),this.turn("size",e.width,e.height).turn("update")),this},direction:function(e){var a=this.data();if(void 0===e)return a.direction;if(e=e.toLowerCase(),-1==t.inArray(e,z))throw p('"'+e+'" is not a value for direction');return"rtl"==e&&t(this).attr("dir","ltr").css({direction:"ltr"}),a.direction=e,a.done&&this.turn("size",t(this).width(),t(this).height()),this},animating:function(){return 0<this.data().pageMv.length},corner:function(){var t,e,a=this.data();for(e in a.pages)if(n(e,a.pages)&&(t=a.pages[e].flip("corner")))return t;return!1},data:function(){return this.data()},disable:function(e){var a,i=this.data(),o=this.turn("view");for(a in i.disabled=void 0===e||!0===e,i.pages)n(a,i.pages)&&i.pages[a].flip("disable",!!i.disabled||-1==t.inArray(parseInt(a,10),o));return this},disabled:function(t){return void 0===t?!0===this.data().disabled:this.turn("disable",t)},size:function(t,e){if(void 0===t||void 0===e)return{width:this.width(),height:this.height()};this.turn("stop");var a,i,o=this.data();for(a in i="double"==o.display?t/2:t,this.css({width:t,height:e}),o.pageObjs[0]&&o.pageObjs[0].css({width:i,height:e}),o.pageWrap)n(a,o.pageWrap)&&(i=C._pageSize.call(this,a,!0),o.pageObjs[a].css({width:i.width,height:i.height}),o.pageWrap[a].css(i),o.pages[a]&&o.pages[a].css({width:i.width,height:i.height}));return this.turn("resize"),this},resize:function(){var t,e=this.data();for(e.pages[0]&&(e.pageWrap[0].css({left:-this.width()}),e.pages[0].flip("resize",!0)),t=1;t<=e.totalPages;t++)e.pages[t]&&e.pages[t].flip("resize",!0);C._updateShadow.call(this),e.opts.autoCenter&&this.turn("center")},_removeMv:function(t){var e,a=this.data();for(e=0;e<a.pageMv.length;e++)if(a.pageMv[e]==t)return a.pageMv.splice(e,1),!0;return!1},_addMv:function(t){var e=this.data();C._removeMv.call(this,t),e.pageMv.push(t)},_view:function(t){var e=this.data();t=t||e.page;return"double"==e.display?t%2?[t-1,t]:[t,t+1]:[t]},view:function(t){var e=this.data();t=C._view.call(this,t);return"double"==e.display?[0<t[0]?t[0]:0,t[1]<=e.totalPages?t[1]:0]:[0<t[0]&&t[0]<=e.totalPages?t[0]:0]},stop:function(t,e){if(this.turn("animating")){var a,i,o,r=this.data();for(r.tpage&&(r.page=r.tpage,delete r.tpage),a=0;a<r.pageMv.length;a++)r.pageMv[a]&&r.pageMv[a]!==t&&(i=(o=r.pages[r.pageMv[a]]).data().f.opts,o.flip("hideFoldedPage",e),e||M._moveFoldingPage.call(o,!1),i.force&&(i.next=0==i.page%2?i.page-1:i.page+1,delete i.force))}return this.turn("update"),this},pages:function(t){var e=this.data();if(t){if(t<e.totalPages)for(var a=e.totalPages;a>t;a--)this.turn("removePage",a);return e.totalPages=t,C._fitPage.call(this,e.page),this}return e.totalPages},_missing:function(t){var e=this.data();if(!(1>e.totalPages)){var a=this.turn("range",t),i=[];for(t=a[0];t<=a[1];t++)e.pageObjs[t]||i.push(t);0<i.length&&this.trigger("missing",[i])}},_fitPage:function(t){var e=this.data(),a=this.turn("view",t);if(C._missing.call(this,t),e.pageObjs[t]){e.page=t,this.turn("stop");for(var i=0;i<a.length;i++)a[i]&&e.pageZoom[a[i]]!=e.zoom&&(this.trigger("zoomed",[a[i],a,e.pageZoom[a[i]],e.zoom]),e.pageZoom[a[i]]=e.zoom);C._removeFromDOM.call(this),C._makeRange.call(this),C._updateShadow.call(this),this.trigger("turned",[t,a]),this.turn("update"),e.opts.autoCenter&&this.turn("center")}},_turnPage:function(e){var a,i,o=this.data(),r=o.pagePlace[e],d=this.turn("view"),n=this.turn("view",e);if(o.page!=e){var s=o.page;if("prevented"==c("turning",this,[e,n]))return void(s==o.page&&-1!=t.inArray(r,o.pageMv)&&o.pages[r].flip("hideFoldedPage",!0));-1!=t.inArray(1,n)&&this.trigger("first"),-1!=t.inArray(o.totalPages,n)&&this.trigger("last")}"single"==o.display?(a=d[0],i=n[0]):d[1]&&e>d[1]?(a=d[1],i=n[0]):d[0]&&e<d[0]&&(a=d[0],i=n[1]),r=o.opts.turnCorners.split(","),n=(d=o.pages[a].data().f).opts,s=d.point,C._missing.call(this,e),o.pageObjs[e]&&(this.turn("stop"),o.page=e,C._makeRange.call(this),o.tpage=i,n.next!=i&&(n.next=i,n.force=!0),this.turn("update"),d.point=s,"hard"==d.effect?"ltr"==o.direction?o.pages[a].flip("turnPage",e>a?"r":"l"):o.pages[a].flip("turnPage",e>a?"l":"r"):"ltr"==o.direction?o.pages[a].flip("turnPage",r[e>a?1:0]):o.pages[a].flip("turnPage",r[e>a?0:1]))},page:function(e){var a=this.data();if(void 0===e)return a.page;if(!a.disabled&&!a.destroying){if(0<(e=parseInt(e,10))&&e<=a.totalPages)return e!=a.page&&(a.done&&-1==t.inArray(e,this.turn("view"))?C._turnPage.call(this,e):C._fitPage.call(this,e)),this;throw p("The page "+e+" does not exist")}},next:function(){return this.turn("page",Math.min(this.data().totalPages,C._view.call(this,this.data().page).pop()+1))},previous:function(){return this.turn("page",Math.max(1,C._view.call(this,this.data().page).shift()-1))},peel:function(t,e){var a=this.data(),i=this.turn("view");e=void 0===e||!0===e;return!1===t?this.turn("stop",null,e):"single"==a.display?a.pages[a.page].flip("peel",t,e):(i="ltr"==a.direction?-1!=t.indexOf("l")?i[0]:i[1]:-1!=t.indexOf("l")?i[1]:i[0],a.pages[i]&&a.pages[i].flip("peel",t,e)),this},_addMotionPage:function(){var e=t(this).data().f.opts,a=e.turn;a.data(),C._addMv.call(a,e.page)},_eventStart:function(t,e,a){var i=e.turn.data(),o=i.pageZoom[e.page];t.isDefaultPrevented()||(o&&o!=i.zoom&&(e.turn.trigger("zoomed",[e.page,e.turn.turn("view",e.page),o,i.zoom]),i.pageZoom[e.page]=i.zoom),"single"==i.display&&a&&("l"==a.charAt(1)&&"ltr"==i.direction||"r"==a.charAt(1)&&"rtl"==i.direction?(e.next=e.next<e.page?e.next:e.page-1,e.force=!0):e.next=e.next>e.page?e.next:e.page+1),C._addMotionPage.call(t.target)),C._updateShadow.call(e.turn)},_eventEnd:function(e,a,i){t(e.target).data();var o=(e=a.turn).data();i?((i=o.tpage||o.page)==a.next||i==a.page)&&(delete o.tpage,C._fitPage.call(e,i||a.next,!0)):(C._removeMv.call(e,a.page),C._updateShadow.call(e),e.turn("update"))},_eventPressed:function(e){var a=(e=t(e.target).data().f).opts.turn;return a.data().mouseAction=!0,a.turn("update"),e.time=(new Date).getTime()},_eventReleased:function(e,a){var i,o=(i=t(e.target)).data().f,r=o.opts.turn,d=r.data();i="single"==d.display?"br"==a.corner||"tr"==a.corner?a.x<i.width()/2:a.x>i.width()/2:0>a.x||a.x>i.width(),(200>(new Date).getTime()-o.time||i)&&(e.preventDefault(),C._turnPage.call(r,o.opts.next)),d.mouseAction=!1},_flip:function(e){e.stopPropagation(),(e=t(e.target).data().f.opts).turn.trigger("turn",[e.next]),e.turn.data().opts.autoCenter&&e.turn.turn("center",e.next)},_touchStart:function(){var t,e=this.data();for(t in e.pages)if(n(t,e.pages)&&!1===M._eventStart.apply(e.pages[t],arguments))return!1},_touchMove:function(){var t,e=this.data();for(t in e.pages)n(t,e.pages)&&M._eventMove.apply(e.pages[t],arguments)},_touchEnd:function(){var t,e=this.data();for(t in e.pages)n(t,e.pages)&&M._eventEnd.apply(e.pages[t],arguments)},calculateZ:function(t){var e,a,i,o,r=this,d=this.data(),n=(e=this.turn("view"))[0]||e[1],s=t.length-1,l={pageZ:{},partZ:{},pageV:{}},c=function(t){(t=r.turn("view",t))[0]&&(l.pageV[t[0]]=!0),t[1]&&(l.pageV[t[1]]=!0)};for(e=0;e<=s;e++)a=t[e],i=d.pages[a].data().f.opts.next,o=d.pagePlace[a],c(a),c(i),a=d.pagePlace[i]==i?i:a,l.pageZ[a]=d.totalPages-Math.abs(n-a),l.partZ[o]=2*d.totalPages-s+e;return l},update:function(){var e,a=this.data();if(this.turn("animating")&&0!==a.pageMv[0]){var i,o=this.turn("calculateZ",a.pageMv),r=this.turn("corner"),d=this.turn("view"),s=this.turn("view",a.tpage);for(e in a.pageWrap)n(e,a.pageWrap)&&(i=a.pageObjs[e].hasClass("fixed"),a.pageWrap[e].css({display:o.pageV[e]||i?"":"none",zIndex:(a.pageObjs[e].hasClass("hard")?o.partZ[e]:o.pageZ[e])||(i?-1:0)}),i=a.pages[e])&&(i.flip("z",o.partZ[e]||null),o.pageV[e]&&i.flip("resize"),a.tpage?i.flip("hover",!1).flip("disable",-1==t.inArray(parseInt(e,10),a.pageMv)&&e!=s[0]&&e!=s[1]):i.flip("hover",!1===r).flip("disable",e!=d[0]&&e!=d[1]))}else for(e in a.pageWrap)n(e,a.pageWrap)&&(o=C._setPageLoc.call(this,e),a.pages[e]&&a.pages[e].flip("disable",a.disabled||1!=o).flip("hover",!0).flip("z",null));return this},_updateShadow:function(){var e,i,o=this.data(),r=this.width(),d=this.height(),n="single"==o.display?r:r/2;e=this.turn("view"),o.shadow||(o.shadow=t("<div />",{class:"shadow",css:a(0,0,0).css}).appendTo(this));for(var s=0;s<o.pageMv.length&&e[0]&&e[1];s++)e=this.turn("view",o.pages[o.pageMv[s]].data().f.opts.next),i=this.turn("view",o.pageMv[s]),e[0]=e[0]&&i[0],e[1]=e[1]&&i[1];switch(e[0]?e[1]?3:"ltr"==o.direction?2:1:"ltr"==o.direction?1:2){case 1:o.shadow.css({width:n,height:d,top:0,left:n});break;case 2:o.shadow.css({width:n,height:d,top:0,left:0});break;case 3:o.shadow.css({width:r,height:d,top:0,left:0})}},_setPageLoc:function(t){var e=this.data(),a=this.turn("view"),i=0;if(t==a[0]||t==a[1]?i=1:("single"==e.display&&t==a[0]+1||"double"==e.display&&t==a[0]-2||t==a[1]+2)&&(i=2),!this.turn("animating"))switch(i){case 1:e.pageWrap[t].css({zIndex:e.totalPages,display:""});break;case 2:e.pageWrap[t].css({zIndex:e.totalPages-1,display:""});break;case 0:e.pageWrap[t].css({zIndex:0,display:e.pageObjs[t].hasClass("fixed")?"":"none"})}return i},options:function(e){if(void 0===e)return this.data().opts;var a=this.data();if(t.extend(a.opts,e),e.pages&&this.turn("pages",e.pages),e.page&&this.turn("page",e.page),e.display&&this.turn("display",e.display),e.direction&&this.turn("direction",e.direction),e.width&&e.height&&this.turn("size",e.width,e.height),e.when)for(var i in e.when)n(i,e.when)&&this.unbind(i).bind(i,e.when[i]);return this},version:function(){return"4.1.0"}},M={init:function(t){return this.data({f:{disabled:!1,hover:!1,effect:this.hasClass("hard")?"hard":"sheet"}}),this.flip("options",t),M._addPageWrapper.call(this),this},setData:function(e){var a=this.data();return a.f=t.extend(a.f,e),this},options:function(e){var a=this.data().f;return e?(M.setData.call(this,{opts:t.extend({},a.opts||_,e)}),this):a.opts},z:function(t){var e=this.data().f;return e.opts["z-index"]=t,e.fwrapper&&e.fwrapper.css({zIndex:t||parseInt(e.parent.css("z-index"),10)||0}),this},_cAllowed:function(){var t=this.data().f,e=t.opts.page,a=t.opts.turn.data(),i=e%2;return"hard"==t.effect?"ltr"==a.direction?[i?"r":"l"]:[i?"l":"r"]:"single"==a.display?1==e?"ltr"==a.direction?x.forward:x.backward:e==a.totalPages?"ltr"==a.direction?x.backward:x.forward:x.all:"ltr"==a.direction?x[i?"forward":"backward"]:x[i?"backward":"forward"]},_cornerActivated:function(e){var a=this.data().f,i=this.width(),o=this.height(),r=(e={x:e.x,y:e.y,corner:""},a.opts.cornerSize);if(0>=e.x||0>=e.y||e.x>=i||e.y>=o)return!1;var d=M._cAllowed.call(this);switch(a.effect){case"hard":if(e.x>i-r)e.corner="r";else{if(!(e.x<r))return!1;e.corner="l"}break;case"sheet":if(e.y<r)e.corner+="t";else{if(!(e.y>=o-r))return!1;e.corner+="b"}if(e.x<=r)e.corner+="l";else{if(!(e.x>=i-r))return!1;e.corner+="r"}}return!(!e.corner||-1==t.inArray(e.corner,d))&&e},_isIArea:function(t){var e=this.data().f.parent.offset();t=b&&t.originalEvent?t.originalEvent.touches[0]:t;return M._cornerActivated.call(this,{x:t.pageX-e.left,y:t.pageY-e.top})},_c:function(t,e){switch(e=e||0,t){case"tl":return o(e,e);case"tr":return o(this.width()-e,e);case"bl":return o(e,this.height()-e);case"br":return o(this.width()-e,this.height()-e);case"l":return o(e,0);case"r":return o(this.width()-e,0)}},_c2:function(t){switch(t){case"tl":return o(2*this.width(),0);case"tr":return o(-this.width(),0);case"bl":return o(2*this.width(),this.height());case"br":return o(-this.width(),this.height());case"l":return o(2*this.width(),0);case"r":return o(-this.width(),0)}},_foldingPage:function(){var t=this.data().f;if(t){var e=t.opts;if(e.turn)return"single"==(t=e.turn.data()).display?1<e.next||1<e.page?t.pageObjs[0]:null:t.pageObjs[e.next]}},_backGradient:function(){var e=this.data().f,i=e.opts.turn.data();return(i=i.opts.gradients&&("single"==i.display||2!=e.opts.page&&e.opts.page!=i.totalPages-1))&&!e.bshadow&&(e.bshadow=t("<div/>",a(0,0,1)).css({position:"",width:this.width(),height:this.height()}).appendTo(e.parent)),i},type:function(){return this.data().f.effect},resize:function(t){var e=this.data().f,a=e.opts.turn.data(),i=this.width(),o=this.height();switch(e.effect){case"hard":t&&(e.wrapper.css({width:i,height:o}),e.fpage.css({width:i,height:o}),a.opts.gradients&&(e.ashadow.css({width:i,height:o}),e.bshadow.css({width:i,height:o})));break;case"sheet":t&&(t=Math.round(Math.sqrt(Math.pow(i,2)+Math.pow(o,2))),e.wrapper.css({width:t,height:t}),e.fwrapper.css({width:t,height:t}).children(":first-child").css({width:i,height:o}),e.fpage.css({width:i,height:o}),a.opts.gradients&&e.ashadow.css({width:i,height:o}),M._backGradient.call(this)&&e.bshadow.css({width:i,height:o})),e.parent.is(":visible")&&(a=m(e.parent[0]),e.fwrapper.css({top:a.top,left:a.left}),a=m(e.opts.turn[0]),e.fparent.css({top:-a.top,left:-a.left})),this.flip("z",e.opts["z-index"])}},_addPageWrapper:function(){var e=this.data().f,i=e.opts.turn.data(),o=this.parent();if(e.parent=o,!e.wrapper)switch(e.effect){case"hard":(r={})[g+"transform-style"]="preserve-3d",r[g+"backface-visibility"]="hidden",e.wrapper=t("<div/>",a(0,0,2)).css(r).appendTo(o).prepend(this),e.fpage=t("<div/>",a(0,0,1)).css(r).appendTo(o),i.opts.gradients&&(e.ashadow=t("<div/>",a(0,0,0)).hide().appendTo(o),e.bshadow=t("<div/>",a(0,0,0)));break;case"sheet":var r=this.width();this.height();e.fparent=e.opts.turn.data().fparent,e.fparent||((r=t("<div/>",{css:{"pointer-events":"none"}}).hide()).data().flips=0,r.css(a(0,0,"auto","visible").css).appendTo(e.opts.turn),e.opts.turn.data().fparent=r,e.fparent=r),this.css({position:"absolute",top:0,left:0,bottom:"auto",right:"auto"}),e.wrapper=t("<div/>",a(0,0,this.css("z-index"))).appendTo(o).prepend(this),e.fwrapper=t("<div/>",a(o.offset().top,o.offset().left)).hide().appendTo(e.fparent),e.fpage=t("<div/>",a(0,0,0,"visible")).css({cursor:"default"}).appendTo(e.fwrapper),i.opts.gradients&&(e.ashadow=t("<div/>",a(0,0,1)).appendTo(e.fpage)),M.setData.call(this,e)}M.resize.call(this,!0)},_fold:function(t){var e=this.data().f,a=e.opts.turn.data(),i=M._c.call(this,t.corner),n=this.width(),s=this.height();switch(e.effect){case"hard":t.x="l"==t.corner?Math.min(Math.max(t.x,0),2*n):Math.max(Math.min(t.x,n),-n);var c,p,m,u,b,w=a.totalPages,x=e.opts["z-index"]||w,y={overflow:"visible"},z=i.x?(i.x-t.x)/n:t.x/n,k=90*z,_=90>k;switch(t.corner){case"l":u="0% 50%",b="100% 50%",_?(c=0,p=0<e.opts.next-1,m=1):(c="100%",p=e.opts.page+1<w,m=0);break;case"r":u="100% 50%",b="0% 50%",k=-k,n=-n,_?(c=0,p=e.opts.next+1<w,m=0):(c="-100%",p=1!=e.opts.page,m=1)}y[g+"perspective-origin"]=b,e.wrapper.transform("rotateY("+k+"deg)translate3d(0px, 0px, "+(this.attr("depth")||0)+"px)",b),e.fpage.transform("translateX("+n+"px) rotateY("+(180+k)+"deg)",u),e.parent.css(y),_?(z=1-z,e.wrapper.css({zIndex:x+1}),e.fpage.css({zIndex:x})):(z-=1,e.wrapper.css({zIndex:x}),e.fpage.css({zIndex:x+1})),a.opts.gradients&&(p?e.ashadow.css({display:"",left:c,backgroundColor:"rgba(0,0,0,"+.5*z+")"}).transform("rotateY(0deg)"):e.ashadow.hide(),e.bshadow.css({opacity:1-z}),_?e.bshadow.parent()[0]!=e.wrapper[0]&&e.bshadow.appendTo(e.wrapper):e.bshadow.parent()[0]!=e.fpage[0]&&e.bshadow.appendTo(e.fpage),l(e.bshadow,o(100*m,0),o(100*(1-m),0),[[0,"rgba(0,0,0,0.3)"],[1,"rgba(0,0,0,0)"]],2));break;case"sheet":var C,P,S,N,I,L,E,A=this,T=0,B=o(0,0),R=o(0,0),F=o(0,0),q=M._foldingPage.call(this),D=a.opts.acceleration,$=e.wrapper.height(),j="t"==t.corner.substr(0,1),O="l"==t.corner.substr(1,1),V=function e(){var r=o(0,0),d=o(0,0);r.x=i.x?i.x-t.x:t.x,r.y=h?i.y?i.y-t.y:t.y:0,d.x=O?n-r.x/2:t.x+r.x/2,d.y=r.y/2;var l=f-Math.atan2(r.y,r.x),c=l-Math.atan2(d.y,d.x);c=Math.max(0,Math.sin(c)*Math.sqrt(Math.pow(d.x,2)+Math.pow(d.y,2)));return T=l/v*180,F=o(c*Math.sin(l),c*Math.cos(l)),l>f&&(F.x+=Math.abs(F.y*r.y/r.x),F.y=0,Math.round(F.x*Math.tan(v-l))<s)?(t.y=Math.sqrt(Math.pow(s,2)+2*d.x*r.x),j&&(t.y=s-t.y),e()):(l>f&&(r=v-l,d=$-s/Math.sin(r),B=o(Math.round(d*Math.cos(r)),Math.round(d*Math.sin(r))),O&&(B.x=-B.x),j&&(B.y=-B.y)),C=Math.round(F.y/Math.tan(l)+F.x),d=(r=n-C)*Math.cos(2*l),c=r*Math.sin(2*l),R=o(Math.round(O?r-d:C+d),Math.round(j?c:s-c)),a.opts.gradients&&(I=r*Math.sin(l),r=M._c2.call(A,t.corner),r=Math.sqrt(Math.pow(r.x-t.x,2)+Math.pow(r.y-t.y,2))/n,E=Math.sin(f*(1<r?2-r:r)),L=Math.min(r,1),N=100<I?(I-100)/I:0,P=o(I*Math.sin(l)/n*100,I*Math.cos(l)/s*100),M._backGradient.call(A)&&(S=o(1.2*I*Math.sin(l)/n*100,1.2*I*Math.cos(l)/s*100),O||(S.x=100-S.x),j||(S.y=100-S.y))),F.x=Math.round(F.x),F.y=Math.round(F.y),!0)};switch(c=function(t,i,c,p){var m=["0","auto"],u=(n-$)*c[0]/100,h=(s-$)*c[1]/100,g=(i={left:m[i[0]],top:m[i[1]],right:m[i[2]],bottom:m[i[3]]},m={},90!=p&&-90!=p?O?-1:1:0),v=c[0]+"% "+c[1]+"%";A.css(i).transform(d(p)+r(t.x+g,t.y,D),v),e.fpage.css(i).transform(d(p)+r(t.x+R.x-B.x-n*c[0]/100,t.y+R.y-B.y-s*c[1]/100,D)+d((180/p-2)*p),v),e.wrapper.transform(r(-t.x+u-g,-t.y+h,D)+d(-p),v),e.fwrapper.transform(r(-t.x+B.x+u,-t.y+B.y+h,D)+d(-p),v),a.opts.gradients&&(c[0]&&(P.x=100-P.x),c[1]&&(P.y=100-P.y),m["box-shadow"]="0 0 20px rgba(0,0,0,"+.5*E+")",q.css(m),l(e.ashadow,o(O?100:0,j?0:100),o(P.x,P.y),[[N,"rgba(0,0,0,0)"],[.8*(1-N)+N,"rgba(0,0,0,"+.2*L+")"],[1,"rgba(255,255,255,"+.2*L+")"]],3),M._backGradient.call(A)&&l(e.bshadow,o(O?0:100,j?0:100),o(S.x,S.y),[[.6,"rgba(0,0,0,0)"],[.8,"rgba(0,0,0,"+.3*L+")"],[1,"rgba(0,0,0,0)"]],3))},t.corner){case"tl":t.x=Math.max(t.x,1),V(),c(F,[1,0,0,1],[100,0],T);break;case"tr":t.x=Math.min(t.x,n-1),V(),c(o(-F.x,F.y),[0,0,0,1],[0,0],-T);break;case"bl":t.x=Math.max(t.x,1),V(),c(o(F.x,-F.y),[1,1,0,0],[100,100],-T);break;case"br":t.x=Math.min(t.x,n-1),V(),c(o(-F.x,-F.y),[0,1,1,0],[0,100],T)}}e.point=t},_moveFoldingPage:function(t){var e=this.data().f;if(e){var a=e.opts.turn,i=a.data(),o=i.pagePlace;t?(o[i=e.opts.next]!=e.opts.page&&(e.folding&&M._moveFoldingPage.call(this,!1),M._foldingPage.call(this).appendTo(e.fpage),o[i]=e.opts.page,e.folding=i),a.turn("update")):e.folding&&(i.pages[e.folding]?(a=i.pages[e.folding].data().f,i.pageObjs[e.folding].appendTo(a.wrapper)):i.pageWrap[e.folding]&&i.pageObjs[e.folding].appendTo(i.pageWrap[e.folding]),e.folding in o&&(o[e.folding]=e.folding),delete e.folding)}},_showFoldedPage:function(t,e){var a=M._foldingPage.call(this),i=(d=this.data()).f,o=i.visible;if(a){if(!(o&&i.point&&i.point.corner==t.corner||(a="hover"==i.status||"peel"==i.status||i.opts.turn.data().mouseAction?t.corner:null,o=!1,"prevented"!=c("start",this,[i.opts,a]))))return!1;if(e){var r=this,d=i.point&&i.point.corner==t.corner?i.point:M._c.call(this,t.corner,1);this.animatef({from:[d.x,d.y],to:[t.x,t.y],duration:500,frame:function(e){t.x=Math.round(e[0]),t.y=Math.round(e[1]),M._fold.call(r,t)}})}else M._fold.call(this,t),d.effect&&!d.effect.turning&&this.animatef(!1);if(!o)switch(i.effect){case"hard":i.visible=!0,M._moveFoldingPage.call(this,!0),i.fpage.show(),i.opts.shadows&&i.bshadow.show();break;case"sheet":i.visible=!0,i.fparent.show().data().flips++,M._moveFoldingPage.call(this,!0),i.fwrapper.show(),i.bshadow&&i.bshadow.show()}return!0}return!1},hide:function(){var t=this.data().f,e=t.opts.turn.data(),a=M._foldingPage.call(this);switch(t.effect){case"hard":e.opts.gradients&&(t.bshadowLoc=0,t.bshadow.remove(),t.ashadow.hide()),t.wrapper.transform(""),t.fpage.hide();break;case"sheet":0==--t.fparent.data().flips&&t.fparent.hide(),this.css({left:0,top:0,right:"auto",bottom:"auto"}).transform(""),t.wrapper.transform(""),t.fwrapper.hide(),t.bshadow&&t.bshadow.hide(),a.transform("")}return t.visible=!1,this},hideFoldedPage:function(t){var e=this.data().f;if(e.point){var a=this,r=e.point,d=function(){e.point=null,e.status="",a.flip("hide"),a.trigger("end",[e.opts,!1])};if(t){var n=M._c.call(this,r.corner),s=(t="t"==r.corner.substr(0,1)?Math.min(0,r.y-n.y)/2:Math.max(0,r.y-n.y)/2,o(r.x,r.y+t)),l=o(n.x,n.y-t);this.animatef({from:0,to:1,frame:function(t){t=i(r,s,l,n,t),r.x=t.x,r.y=t.y,M._fold.call(a,r)},complete:d,duration:800,hiding:!0})}else this.animatef(!1),d()}},turnPage:function(t){var e=this,a=this.data().f,o=a.opts.turn.data(),r=(t={corner:a.corner?a.corner.corner:t||M._cAllowed.call(this)[0]},a.point||M._c.call(this,t.corner,a.opts.turn?o.opts.elevation:0)),d=M._c2.call(this,t.corner);this.trigger("flip").animatef({from:0,to:1,frame:function(a){a=i(r,r,d,d,a),t.x=a.x,t.y=a.y,M._showFoldedPage.call(e,t)},complete:function(){e.trigger("end",[a.opts,!0])},duration:o.opts.duration,turning:!0}),a.corner=null},moving:function(){return"effect"in this.data()},isTurning:function(){return this.flip("moving")&&this.data().effect.turning},corner:function(){return this.data().f.corner},_eventStart:function(t){var e=this.data().f,a=e.opts.turn;if(!e.corner&&!e.disabled&&!this.flip("isTurning")&&e.opts.page==a.data().pagePlace[e.opts.page]){if(e.corner=M._isIArea.call(this,t),e.corner&&M._foldingPage.call(this))return this.trigger("pressed",[e.point]),M._showFoldedPage.call(this,e.corner),!1;e.corner=null}},_eventMove:function(t){var e=this.data().f;if(!e.disabled)if(t=b?t.originalEvent.touches:[t],e.corner){var a=e.parent.offset();e.corner.x=t[0].pageX-a.left,e.corner.y=t[0].pageY-a.top,M._showFoldedPage.call(this,e.corner)}else e.hover&&!this.data().effect&&this.is(":visible")&&((t=M._isIArea.call(this,t[0]))?("sheet"==e.effect&&2==t.corner.length||"hard"==e.effect)&&(e.status="hover",e=M._c.call(this,t.corner,e.opts.cornerSize/2),t.x=e.x,t.y=e.y,M._showFoldedPage.call(this,t,!0)):"hover"==e.status&&(e.status="",M.hideFoldedPage.call(this,!0)))},_eventEnd:function(){var t=this.data().f,e=t.corner;!t.disabled&&e&&"prevented"!=c("released",this,[t.point||e])&&M.hideFoldedPage.call(this,!0),t.corner=null},disable:function(t){return M.setData.call(this,{disabled:t}),this},hover:function(t){return M.setData.call(this,{hover:t}),this},peel:function(e,a){var i=this.data().f;if(e){if(-1==t.inArray(e,x.all))throw p("Corner "+e+" is not permitted");if(-1!=t.inArray(e,M._cAllowed.call(this))){var o=M._c.call(this,e,i.opts.cornerSize/2);i.status="peel",M._showFoldedPage.call(this,{corner:e,x:o.x,y:o.y},a)}}else i.status="",M.hideFoldedPage.call(this,a);return this}};window.requestAnim=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)},t.extend(t.fn,{flip:function(){return e(t(this[0]),M,arguments)},turn:function(){return e(t(this[0]),C,arguments)},transform:function(t,e){var a={};return e&&(a[g+"transform-origin"]=e),a[g+"transform"]=t,this.css(a)},animatef:function(e){var a=this.data();if(a.effect&&a.effect.stop(),e){e.to.length||(e.to=[e.to]),e.from.length||(e.from=[e.from]);for(var i=[],o=e.to.length,r=!0,d=this,n=(new Date).getTime(),s=0;s<o;s++)i.push(e.to[s]-e.from[s]);a.effect=t.extend({stop:function(){r=!1},easing:function(t,e,a,i,o){return i*Math.sqrt(1-(e=e/o-1)*e)+a}},e),this.data(a),function t(){if(a.effect&&r){for(var s=[],l=Math.min(e.duration,(new Date).getTime()-n),c=0;c<o;c++)s.push(a.effect.easing(1,l,e.from[c],i[c],e.duration));e.frame(1==o?s[0]:s),l==e.duration?(delete a.effect,d.data(a),e.complete&&e.complete()):window.requestAnim(t)}}()}else delete a.effect}}),t.isTouch=b,t.mouseEvents=w,t.cssPrefix=s,t.cssTransitionEnd=function(){var t,e=document.createElement("fakeelement"),a={transition:"transitionend",OTransition:"oTransitionEnd",MSTransition:"transitionend",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(t in a)if(void 0!==e.style[t])return a[t]},t.findPos=m}(s),function(t){function e(t){function e(t){this.name="TurnJsError",this.message=t}return e.prototype=Error(),e.prototype.constructor=e,new e(t)}function a(t,e,a){return d&&a?" translate3d("+t+"px,"+e+"px, 0px) ":" translate("+t+"px, "+e+"px) "}function i(t,e){return d&&e?" scale3d("+t+", "+t+", 1) ":" scale("+t+") "}function o(t,e){return{x:t,y:e}}function r(t,e){return function(){return t.apply(e,arguments)}}var d,n={max:2,flipbook:null,easeFunction:"ease-in-out",duration:500,when:{}},s={init:function(a){var i=this,l=this.data();if(!(a=t.extend({},n,a)).flipbook||!a.flipbook.turn("is"))throw e("options.flipbook is required");if(d="WebKitCSSMatrix"in window||"MozPerspective"in document.body.style,"function"!=typeof a.max){var c=a.max;a.max=function(){return c}}for(var p in l.zoom={opts:a,axis:o(0,0),scrollPos:o(0,0),eventQueue:[],mouseupEvent:function(){return s._eMouseUp.apply(i,arguments)},eventTouchStart:r(s._eTouchStart,i),eventTouchMove:r(s._eTouchMove,i),eventTouchEnd:r(s._eTouchEnd,i),flipbookEvents:{zooming:r(s._eZoom,i),pressed:r(s._ePressed,i),released:r(s._eReleased,i),start:r(s._eStart,i),turning:r(s._eTurning,i),turned:r(s._eTurned,i),destroying:r(s._eDestroying,i)}},a.when)Object.prototype.hasOwnProperty.call(a.when,p)&&this.bind("zoom."+p,a.when[p]);for(p in l.zoom.flipbookEvents)Object.prototype.hasOwnProperty.call(l.zoom.flipbookEvents,p)&&a.flipbook.bind(p,l.zoom.flipbookEvents[p]);this.css({position:"relative",overflow:"hidden"}),t.isTouch?(a.flipbook.bind("touchstart",l.zoom.eventTouchStart).bind("touchmove",l.zoom.eventTouchMove).bind("touchend",l.zoom.eventTouchEnd),this.bind("touchstart",s._tap)):this.mousedown(s._mousedown).click(s._tap)},_tap:function(e){var a=t(this),i=a.data().zoom;!i.draggingCorner&&!i.dragging&&function t(e,a){return e[0]!=a[0]&&(!!e.attr("page")||!!e.parent()[0]&&t(e.parent(),a))}(t(e.target),a)&&(s._addEvent.call(a,"tap",e),(e=s._eventSeq.call(a))&&a.trigger(e))},_addEvent:function(t,e){var a=this.data().zoom,i=(new Date).getTime();a.eventQueue.push({name:t,timestamp:i,event:e}),10<a.eventQueue.length&&a.eventQueue.splice(0,1)},_eventSeq:function(){var e=this.data().zoom.eventQueue,a=e.length-1;return 0<a&&"tap"==e[a].name&&"tap"==e[a-1].name&&e[a].event.pageX==e[a-1].event.pageX&&e[a].event.pageY==e[a-1].event.pageY&&200>e[a].timestamp-e[a-1].timestamp&&50<e[a].timestamp-e[a-1].timestamp?t.extend(e[a].event,{type:"zoom.doubleTap"}):"tap"==e[a].name?t.extend(e[a].event,{type:"zoom.tap"}):void 0},_prepareZoom:function(){var e,a=0,i=this.data().zoom,r=1/this.zoom("value"),d=(e=i.opts.flipbook).turn("direction"),n=e.data(),s=e.offset(),l=this.offset(),c={height:e.height()},p=e.turn("view");if("double"==e.turn("display")&&e.data().opts.autoCenter?p[0]?p[1]?(c.width=e.width(),e=o(s.left-l.left,s.top-l.top)):(c.width=e.width()/2,a="ltr"==d?0:c.width,e=o("ltr"==d?s.left-l.left:s.left-l.left+c.width,s.top-l.top)):(c.width=e.width()/2,a="ltr"==d?c.width:0,e=o("ltr"==d?s.left-l.left+c.width:s.left-l.left,s.top-l.top)):(c.width=e.width(),e=o(s.left-l.left,s.top-l.top)),i.zoomer||(i.zoomer=t("<div />",{class:"zoomer",css:{overflow:"hidden",position:"absolute",zIndex:"1000000"}}).mousedown((function(){return!1})).appendTo(this)),i.zoomer.css({top:e.y,left:e.x,width:c.width,height:c.height}),(d=p.join(","))!=i.zoomerView)for(i.zoomerView=d,i.zoomer.find("*").remove(),d=0;d<p.length;d++)if(p[d]){l=n.pageObjs[p[d]].offset();var m=t(n.pageObjs[p[d]]);m.clone().transform("").css({width:m.width()*r,height:m.height()*r,position:"absolute",display:"",top:(l.top-s.top)*r,left:(l.left-s.left-a)*r}).appendTo(i.zoomer)}return{pos:e,size:c}},value:function(){return this.data().zoom.opts.flipbook.turn("zoom")},zoomIn:function(e){var r=this,d=this.data().zoom,n=d.opts.flipbook,l=d.opts.max();n.offset();var c=this.offset();if(d.zoomIn)return this;n.turn("stop");var p=t.Event("zoom.change");if(this.trigger(p,[l]),p.isDefaultPrevented())return this;var m=(f=s._prepareZoom.call(this)).pos,u=o(f.size.width/2,f.size.height/2),h=(p=t.cssPrefix(),t.cssTransitionEnd()),g=n.data().opts.autoCenter;d.scale=l,n.data().noCenter=!0,(0>(e=void 0!==e?"x"in e&&"y"in e?o(e.x-m.x,e.y-m.y):t.isTouch?o(e.originalEvent.touches[0].pageX-m.x-c.left,e.originalEvent.touches[0].pageY-m.y-c.top):o(e.pageX-m.x-c.left,e.pageY-m.y-c.top):o(u.x,u.y)).x||0>e.y||e.x>f.width||e.y>f.height)&&(e.x=u.x,e.y=u.y);var v=o((e.x-u.x)*l+u.x,(e.y-u.y)*l+u.y),f=(e=o(f.size.width*l>this.width()?e.x-v.x:0,f.size.height*l>this.height()?e.y-v.y:0),v=o(Math.abs(f.size.width*l-this.width()),Math.abs(f.size.height*l-this.height())),o(Math.min(0,f.size.width*l-this.width()),Math.min(0,f.size.height*l-this.height()))),b=o(u.x*l-u.x-m.x-e.x,u.y*l-u.y-m.y-e.y);b.y>v.y?e.y=b.y-v.y+e.y:b.y<f.y&&(e.y=b.y-f.y+e.y),b.x>v.x?e.x=b.x-v.x+e.x:b.x<f.x&&(e.x=b.x-f.x+e.x),b=o(u.x*l-u.x-m.x-e.x,u.y*l-u.y-m.y-e.y),(m={})[p+"transition"]=p+"transform "+d.opts.easeFunction+" "+d.opts.duration+"ms";var w=function(){r.trigger("zoom.zoomIn"),d.zoomIn=!0,d.flipPosition=o(n.css("left"),n.css("top")),n.turn("zoom",l).css({position:"absolute",margin:"",top:0,left:0});var e=n.offset();d.axis=o(e.left-c.left,e.top-c.top),g&&"double"==n.turn("display")&&("ltr"==n.turn("direction")&&!n.turn("view")[0]||"rtl"==n.turn("direction")&&!n.turn("view")[1])&&(d.axis.x+=n.width()/2),r.zoom("scroll",b),r.bind(t.mouseEvents.down,s._eMouseDown),r.bind(t.mouseEvents.move,s._eMouseMove),t(document).bind(t.mouseEvents.up,d.mouseupEvent),r.bind("mousewheel",s._eMouseWheel),setTimeout((function(){d.zoomer.hide(),d.zoomer.remove(),d.zoomer=null,d.zoomerView=null}),50)};return d.zoomer.css(m).show(),h?d.zoomer.bind(h,(function(){t(this).unbind(h),w()})):setTimeout(w,d.opts.duration),d.zoomer.transform(a(e.x,e.y,!0)+i(l,!0)),this},zoomOut:function(e){var r,d=this,n=this.data().zoom,l=n.opts.flipbook,c=1/n.scale,p=t.cssPrefix(),m=t.cssTransitionEnd();if(r=this.offset(),e=void 0!==e?e:n.opts.duration,n.zoomIn){var u=t.Event("zoom.change");if(this.trigger(u,[1]),u.isDefaultPrevented())return this;n.zoomIn=!1,n.scale=1,l.data().noCenter=!1,d.unbind(t.mouseEvents.down,s._eMouseDown),d.unbind(t.mouseEvents.move,s._eMouseMove),t(document).unbind(t.mouseEvents.up,n.mouseupEvent),d.unbind("mousewheel",s._eMouseWheel),(u={})[p+"transition"]=p+"transform "+n.opts.easeFunction+" "+e+"ms",l.css(u);var h=t("<div />",{css:{position:"relative",top:n.flipPosition.y,left:n.flipPosition.x,width:l.width()*c,height:l.height()*c,background:"blue"}}).appendTo(l.parent());u=o(h.offset().left-r.left,h.offset().top-r.top);h.remove();var g=l.data().opts.autoCenter;g&&"double"==l.turn("display")&&(l.turn("view")[0]?l.turn("view")[1]||(u.x="ltr"==l.turn("direction")?u.x+h.width()/4:u.x-h.width()/4):u.x="ltr"==l.turn("direction")?u.x-h.width()/4:u.x+h.width()/4);var v=t.findPos(l[0]);r=o(-l.width()/2-v.left+h.width()/2+u.x+r.left,-l.height()/2-v.top+h.height()/2+u.y+r.top);var f=function(){l[0].style.removeProperty?(l[0].style.removeProperty(p+"transition"),l.transform(l.turn("options").acceleration?a(0,0,!0):"").turn("zoom",1),l[0].style.removeProperty("margin"),l.css({position:"relative",top:n.flipPosition.y,left:n.flipPosition.x})):l.transform("none").turn("zoom",1).css({margin:"",top:n.flipPosition.y,left:n.flipPosition.x,position:"relative"}),g&&l.turn("center"),d.trigger("zoom.zoomOut")};return 0===e?f():(m?l.bind(m,(function(){t(this).unbind(m),f()})):setTimeout(f,e),l.transform(a(r.x,r.y,!0)+i(c,!0))),this}},flipbookWidth:function(){var t=this.data().zoom.opts.flipbook,e=t.turn("view");return"double"!=t.turn("display")||e[0]&&e[1]?t.width():t.width()/2},scroll:function(e,i,r){var n=this.data().zoom,s=n.opts.flipbook,l=this.zoom("flipbookWidth"),c=t.cssPrefix();if(d){var p={};p[c+"transition"]=r?c+"transform 200ms":"none",s.css(p),s.transform(a(-n.axis.x-e.x,-n.axis.y-e.y,!0))}else s.css({top:-n.axis.y-e.y,left:-n.axis.x-e.x});if(!i){var m;i=o(Math.min(0,(l-this.width())/2),Math.min(0,(s.height()-this.height())/2)),s=o(l>this.width()?l-this.width():(l-this.width())/2,s.height()>this.height()?s.height()-this.height():(s.height()-this.height())/2);e.y<i.y?(e.y=i.y,m=!0):e.y>s.y&&(e.y=s.y,m=!0),e.x<i.x?(e.x=i.x,m=!0):e.x>s.x&&(e.x=s.x,m=!0),m&&this.zoom("scroll",e,!0,!0)}n.scrollPos=o(e.x,e.y)},resize:function(){var t=this.data().zoom,e=t.opts.flipbook;if(1<this.zoom("value")){var a=e.offset(),i=this.offset();t.axis=o(a.left-i.left+(t.axis.x+t.scrollPos.x),a.top-i.top+(t.axis.y+t.scrollPos.y)),"double"==e.turn("display")&&"ltr"==e.turn("direction")&&!e.turn("view")[0]&&(t.axis.x+=e.width()/2),this.zoom("scroll",t.scrollPos)}},_eZoom:function(){for(var t=this.data().zoom,e=t.opts.flipbook,a=e.turn("view"),i=0;i<a.length;i++)a[i]&&this.trigger("zoom.resize",[t.scale,a[i],e.data().pageObjs[a[i]]])},_eStart:function(t){1!=this.zoom("value")&&t.preventDefault()},_eTurning:function(t,e,a){var i=this,o=(t=this.zoom("value"),this.data().zoom);e=o.opts.flipbook;if(o.page=e.turn("page"),1!=t){for(o=0;o<a.length;o++)a[o]&&this.trigger("zoom.resize",[t,a[o],e.data().pageObjs[a[o]]]);setTimeout((function(){i.zoom("resize")}),0)}},_eTurned:function(t,e){if(1!=this.zoom("value")){var a=this.data().zoom,i=a.opts.flipbook;e>a.page?this.zoom("scroll",o(0,a.scrollPos.y),!1,!0):e<a.page&&this.zoom("scroll",o(i.width(),a.scrollPos.y),!1,!0)}},_ePressed:function(){t(this).data().zoom.draggingCorner=!0},_eReleased:function(){var e=t(this).data().zoom;setTimeout((function(){e.draggingCorner=!1}),1)},_eMouseDown:function(e){return t(this).data().zoom.draggingCur=t.isTouch?o(e.originalEvent.touches[0].pageX,e.originalEvent.touches[0].pageY):o(e.pageX,e.pageY),!1},_eMouseMove:function(e){var a=t(this).data().zoom;if(a.draggingCur){a.dragging=!0;e=t.isTouch?o(e.originalEvent.touches[0].pageX,e.originalEvent.touches[0].pageY):o(e.pageX,e.pageY);var i=o(e.x-a.draggingCur.x,e.y-a.draggingCur.y);return t(this).zoom("scroll",o(a.scrollPos.x-i.x,a.scrollPos.y-i.y),!0),a.draggingCur=e,!1}},_eMouseUp:function(){var e=t(this).data().zoom;e.dragging&&t(this).zoom("scroll",e.scrollPos),e.draggingCur=null,setTimeout((function(){e.dragging=!1}),1)},_eMouseWheel:function(e,a,i,r){i=o((e=t(this).data().zoom).scrollPos.x+10*i,e.scrollPos.y-10*r),t(this).zoom("scroll",i,!1,!0)},_eTouchStart:function(e){var a=t(this).data().zoom;e=o(e.originalEvent.touches[0].pageX,e.originalEvent.touches[0].pageY);a.touch={},a.touch.initial=e,a.touch.last=e,a.touch.timestamp=(new Date).getTime(),a.touch.speed=o(0,0)},_eTouchMove:function(e){var a=t(this).data().zoom,i=t(this).zoom("value"),r=a.opts.flipbook,d=(new Date).getTime();e=o(e.originalEvent.touches[0].pageX,e.originalEvent.touches[0].pageY);a.touch&&1==i&&!r.data().mouseAction&&(a.touch.motion=o(e.x-a.touch.last.x,e.y-a.touch.last.y),a.touch.speed.x=0===a.touch.speed.x?a.touch.motion.x/(d-a.touch.timestamp):(a.touch.speed.x+a.touch.motion.x/(d-a.touch.timestamp))/2,a.touch.last=e,a.touch.timestamp=d)},_eTouchEnd:function(){var e=t(this).data().zoom;if(e.touch&&1==t(this).zoom("value")){var a=Math.abs(e.touch.initial.y-e.touch.last.y);50>a&&(-1>e.touch.speed.x||-100>e.touch.last.x-e.touch.initial.x)?this.trigger("zoom.swipeLeft"):50>a&&(1<e.touch.speed.x||100<e.touch.last.x-e.touch.initial.x)&&this.trigger("zoom.swipeRight")}},_eDestroying:function(){var e=this,a=this.data().zoom,i=a.opts.flipbook;for(var o in this.zoom("zoomOut",0),t.each("tap doubleTap resize zoomIn zoomOut swipeLeft swipeRight".split(" "),(function(t,a){e.unbind("zoom."+a)})),a.flipbookEvents)Object.prototype.hasOwnProperty.call(a.flipbookEvents,o)&&i.unbind(o,a.flipbookEvents[o]);i.unbind("touchstart",a.eventTouchStart).unbind("touchmove",a.eventTouchMove).unbind("touchend",a.eventTouchEnd),this.unbind("touchstart",s._tap).unbind("click",s._tap),a=null,this.data().zoom=null}};t.extend(t.fn,{zoom:function(){var a=arguments;if(!a[0]||"object"==bt(a[0]))return s.init.apply(t(this[0]),a);if(s[a[0]])return s[a[0]].apply(t(this[0]),Array.prototype.slice.call(a,1));throw e(a[0]+" is not a method")}})}(s);var wt,xt=s,yt=require("axios"),zt=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flipbook-container"},[t.isLoading&&t.loader?a("div",{staticClass:"loading-box"},[a("div",{attrs:{id:"loading"}}),t._v(" "),a("small",[t._v(t._s(t.lang.justASecond))]),t._v(" "),a("h4",[t._v(t._s(t.lang.loadingPhrase))])]):t._e(),t._v(" "),a("div",{staticClass:"book-centered",style:t.centered?{"margin-left":t.isCover+"px"}:null},[a("div",{staticClass:"preview-desktop",class:t.isLoading?"invisible":"visible"},[a("div",{staticClass:"flipbook-lib",class:[t.formato],attrs:{id:"flipbook"}})])]),t._v(" "),t.controls?a("div",{staticClass:"controls"},[a("Button",{staticClass:"arrow",attrs:{kind:"ghost",size:"md",width:"circle",disabled:!1,inverted:!1},on:{click:function(e){return t.toTheLeft()}}},[a("span",{staticClass:"icon icon-chevron-left size-lg svg-color",attrs:{"data-v-98f27cc4":"","data-v-c614f43e":""}},[a("svg",{attrs:{fill:"#12d3db",stroke:"transparent",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M20.0847 20.7019L15.3828 16L20.0847 11.298C20.8651 10.5177 20.8651 9.25557 20.0847 8.47522C19.3044 7.69487 18.0423 7.69487 17.2619 8.47522L11.1419 14.5952C10.3616 15.3756 10.3616 16.6377 11.1419 17.418L17.2619 23.538C18.0423 24.3184 19.3044 24.3184 20.0848 23.5381L20.0908 23.5319C20.8421 22.7608 20.8726 21.4898 20.0847 20.7019Z"}})])])]),t._v(" "),a("div",{staticClass:"info-space"},[a("div",{staticClass:"current-pages"},[a("div",{staticClass:"list",style:{left:"-"+t.numberPositions+"px"}},t._l(t.pages,(function(e,i){return a("span",{key:i},[t._v(t._s(i+1))])})),0)]),t._v(" "),a("div",{staticClass:"info-pages"},[t._v(t._s(t.pages)+" "+t._s(t.lang.pages))])]),t._v(" "),a("Button",{staticClass:"arrow",attrs:{kind:"ghost",size:"md",width:"circle",disabled:!1,inverted:!1},on:{click:function(e){return t.toTheRight()}}},[a("span",{staticClass:"icon icon-chevron-right size-lg svg-color",attrs:{"data-v-98f27cc4":"","data-v-c614f43e":""}},[a("svg",{attrs:{fill:"#12d3db",stroke:"transparent",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.9153 8.47532C11.135 9.25567 11.135 10.5178 11.9153 11.2981L16.6173 16.0001L11.9153 20.702C11.135 21.4823 11.135 22.7444 11.9153 23.5248C12.6957 24.3051 13.9578 24.3051 14.7381 23.5248L20.8582 17.4048C21.6385 16.6244 21.6385 15.3623 20.8582 14.582L14.7381 8.46198C13.9668 7.69064 12.6913 7.69931 11.9153 8.47532Z"}})])])])],1):t._e()])},staticRenderFns:[]},(function(t){t&&(t("data-v-6d506cd1_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.flipbook-viewport{margin-top:30px;width:100%}.flipbook-viewport .container-book{top:50%;margin:auto;position:relative;z-index:5}.flipbook-viewport #flipbook{top:0;margin-left:auto!important;margin-right:auto}.flipbook-viewport .page{width:461px;height:600px;background-color:#fff;background-repeat:no-repeat;background-size:100% 100%;position:relative;cursor:pointer}#flipbook .page{-webkit-box-shadow:0 0 20px rgba(0,0,0,.2);-moz-box-shadow:0 0 20px rgba(0,0,0,.2);-ms-box-shadow:0 0 20px rgba(0,0,0,.2);-o-box-shadow:0 0 20px rgba(0,0,0,.2);box-shadow:0 0 20px rgba(0,0,0,.2)}#flipbook-viewport .page img{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:0}.flipbook-viewport .shadow{-webkit-transition:-webkit-box-shadow .5s;-moz-transition:-moz-box-shadow .5s;-o-transition:-webkit-box-shadow .5s;-ms-transition:-ms-box-shadow .5s;-webkit-box-shadow:0 0 20px #ccc;-moz-box-shadow:0 0 20px #ccc;-o-box-shadow:0 0 20px #ccc;-ms-box-shadow:0 0 20px #ccc;box-shadow:0 0 20px #ccc}.even{box-shadow:none!important;-webkit-box-shadow:none!important;-moz-box-shadow:none!important;-o-box-shadow:none!important;-ms-box-shadow:none!important;box-shadow:none!important}.odd{box-shadow:none!important;-webkit-box-shadow:none!important;-moz-box-shadow:none!important;-o-box-shadow:none!important;-ms-box-shadow:none!important;box-shadow:none!important}.even:before{content:"";position:absolute;width:100%;height:100%;background-image:-webkit-gradient(linear,right top,left top,from(black),color-stop(7%,transparent));background-image:linear-gradient(to left,#000,transparent 7%);opacity:.15}.odd:before{content:"";position:absolute;width:100%;height:100%;background-image:-webkit-gradient(linear,left top,right top,from(black),color-stop(7%,transparent));background-image:linear-gradient(to right,#000,transparent 7%);opacity:.15}#flipbook .page-wrapper{-webkit-perspective:2000px;-moz-perspective:2000px;-ms-perspective:2000px;perspective:2000px}#flipbook img{width:100%;height:calc(75vh - 50px)}#flipbook img.loading-blur{filter:blur(8px);-webkit-filter:blur(8px)}.zoom-in #flipbook img{height:100%}#flipbook.square img{width:100%;height:calc(55vh - 50px)}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}',map:void 0,media:void 0}),t("data-v-6d506cd1_1",{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-6d506cd1]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-6d506cd1]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-6d506cd1]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-6d506cd1]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-6d506cd1]{font-size:14px}}@media (min-width:1024px){[data-v-6d506cd1]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-6d506cd1]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-6d506cd1]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-6d506cd1]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-6d506cd1]{font-size:1.56vw}}html[data-v-6d506cd1]{box-sizing:border-box}*[data-v-6d506cd1],[data-v-6d506cd1]::after,[data-v-6d506cd1]::before{box-sizing:border-box}[data-v-6d506cd1] .arrow svg{width:100%!important;height:100%!important}.zoom-in #flipbook img[data-v-6d506cd1]{height:100%!important}.preview-desktop[data-v-6d506cd1]{text-align:center;margin:0 auto;transition:all .7s ease-in-out}.loading-box[data-v-6d506cd1]{position:absolute;top:35%;left:0;right:0;bottom:0;margin-bottom:auto;margin-top:auto;z-index:9999;text-align:center;font-family:Roboto}.loading-box #loading[data-v-6d506cd1]{display:inline-block;border:8px solid #f3f3f3;border-top:8px solid #42cda1;border-radius:50%;width:2.8571428571rem;height:2.8571428571rem;animation:spin-data-v-6d506cd1 .6s linear infinite}@media (max-width:479px){.loading-box #loading[data-v-6d506cd1]{border:6px solid #f3f3f3;border-top:6px solid #42cda1;width:1.9047619048rem;height:1.9047619048rem;font-family:Roboto}}@keyframes spin-data-v-6d506cd1{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.loading-box small[data-v-6d506cd1]{display:block;width:100%;font-size:14px;font-weight:700;font-family:Nunito,sans-serif;margin-top:16px}.loading-box h4[data-v-6d506cd1]{font-size:18px;margin-top:8px;font-weight:400}.book-centered[data-v-6d506cd1]{transition:all .7s ease-in-out}.flipbook-container[data-v-6d506cd1]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;transition:all .3s;z-index:2;min-height:210px;min-height:210px}.flipbook-container.zoom-in[data-v-6d506cd1]{height:100vh}@media (max-width:479px){.flipbook-container[data-v-6d506cd1]{display:none}}.flipbook-container .flipbook-lib[data-v-6d506cd1]{z-index:50}.flipbook-container .flipbook-lib .page.odd[data-v-6d506cd1]:not(.p1)::before{content:"";position:absolute;display:block;height:100%;width:100%;top:0;left:0;box-shadow:20px 0 20px -10px rgba(0,0,0,.3) inset;z-index:4}.flipbook-container .flipbook-lib .page.even[data-v-6d506cd1]::before{position:absolute;display:block;content:"";height:100%;width:100%;top:0;left:0;box-shadow:-20px 0 20px -10px rgba(0,0,0,.5) inset}.flipbook-container .flipbook-lib img[data-v-6d506cd1]{height:100%!important}.controls[data-v-6d506cd1]{margin:0 auto;display:block;display:inline-block;margin-top:20px;position:relative;z-index:2}.controls button[data-v-6d506cd1]{display:inline-block!important;background:#fff;box-shadow:4px 8px 24px rgba(175,162,186,.24);padding:.380952381rem!important;border-radius:50%;text-align:center;color:#afa2ba;border:none;width:auto!important;height:auto!important;cursor:pointer}.controls button svg[data-v-6d506cd1]{fill:transparent!important}.controls button svg path[data-v-6d506cd1]{fill:transparent!important}.controls button .svg-color[data-v-6d506cd1]{fill:#12d3db!important}.controls button .svg-color path[data-v-6d506cd1]{fill:#12d3db!important}.controls .info-space[data-v-6d506cd1]{position:relative;top:3px;display:inline-block;margin:0 .380952381rem;font-size:10px;font-weight:900;color:#afa2ba;font-family:Nunito,sans-serif}.controls .current-pages[data-v-6d506cd1]{width:60px;white-space:nowrap;line-height:1;overflow:hidden;transition:all .5s ease}.controls .current-pages .list[data-v-6d506cd1]{position:relative;transition:all .5s ease}.controls .current-pages span[data-v-6d506cd1]{width:30px;display:inline-block;text-align:center;font-size:16px}.controls .current-pages span[data-v-6d506cd1]:first-child{margin:0 16px}.controls .current-pages span[data-v-6d506cd1]:last-child{margin:0 16px}.info-pages[data-v-6d506cd1]{text-align:center}@keyframes arrow-animation-data-v-6d506cd1{0%,100%,48%{-webkit-transform:translateX(0);transform:translateX(0);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}8%{-webkit-transform:translateX(-30%);transform:translateX(-30%)}16%{-webkit-transform:translateX(15%);transform:translateX(15%)}24%{-webkit-transform:translateX(-15%);transform:translateX(-15%)}32%{-webkit-transform:translateX(9%);transform:translateX(9%)}40%{-webkit-transform:translateX(-6%);transform:translateX(-6%)}}.visible[data-v-6d506cd1]{opacity:1}.invisible[data-v-6d506cd1]{opacity:0}[data-v-6d506cd1] .loading-bg{position:absolute;display:flex;top:0;width:100%;height:100%;background-color:#fff;opacity:.64;align-items:center;justify-content:center;z-index:12}[data-v-6d506cd1] .loading-bg .loading{border:2px solid #dfdae4;border-top:2px solid #00cf72;border-radius:50%;width:2.8571428571rem;height:2.8571428571rem;animation:spin-data-v-6d506cd1 .6s linear infinite}@media (max-width:479px){[data-v-6d506cd1] .loading-bg .loading{border:6px solid #f3f3f3;border-top:6px solid #42cda1;width:1.9047619048rem;height:1.9047619048rem}}@keyframes spin-data-v-6d506cd1{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.icon[data-v-6d506cd1]{width:24px;height:24px;display:block}',map:void 0,media:void 0}))}),{name:"Preview",components:{Icon:L},props:{
1234
1246
  /** Character uuid. `ddh5e177ff920f15` */
1235
1247
  uuid:{type:String,required:!0},
1236
1248
  /** Number of pages. `32` */
@@ -1249,18 +1261,18 @@ controls:{type:Boolean,default:!0},
1249
1261
  centered:{type:Boolean,default:!0},
1250
1262
  /** Show loader */
1251
1263
  loader:{type:Boolean,default:!0},apiUrl:{type:String,required:!1,default:"https://builder.dentrodahistoria.com.br"}},data:function(){return{formato:"a4",bookDimensions:{widthPlaceholder:100,width:800},flipbookWidth:null,flipbookHeight:null,isCover:0,currentPage:1,loadedPages:5,numberPositions:0,sizeSquare:"calc(75vh - 50px)",isLoading:!0,lang:ft[this.typeLanguage]}},mounted:function(){var t=this;//let age = this.product.tagName.substring(0, 1)
1252
- if(parseInt(this.age)<=5&&(this.sizeSquare="calc(55vh - 50px)"),this.age<=5?(this.formato="square",this.bookDimensions.width=1050):this.formato="a4",this.createInitialPages(),this.initBook(),wt((function(){window.addEventListener("resize",(function(e){if(wt("#flipbook").length>0){var a=t.resize();wt("#flipbook").turn("size",a.width,a.height),wt("#flipbook").turn("resize"),t.updated()}}))})),this.loader)setTimeout((function(){t.isLoading=!1;var e=t.resize();wt("#flipbook").turn("size",e.width,e.height),wt("#flipbook").turn("resize")}),3e3);else{t.isLoading=!1;var e=t.resize();wt("#flipbook").turn("size",e.width,e.height),wt("#flipbook").turn("resize")}t.zoom&&this.activateZoom()},methods:{started:function(){this.$emit("started")},updated:function(){this.$emit("updated")},completed:function(t){t.success&&this.$emit("completed")},createInitialPages:function(){var t=(new Date).getMilliseconds(),e="";if(this.base64)for(var a=1;a<6;a++){e+="<div class='hard'><img src='data:image/png;base64,"+(this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+a+"&update="+t+"&w=533&v=0&noCache=true")+"' alt='' firstPage='true'></div>"}else for(a=1;a<6;a++){e+="<div class='hard'><img src='"+(this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+a+"&update="+t+"&w=533&v=0&noCache=true")+"' alt='' firstPage='true'></div>"}e+="<div class='hard back-side'><img src='"+this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+(this.pages-1)+"&w="+this.bookDimensions.width+"&v=0&update="+t+"' alt=''></div>",e+="<div class='hard'><img src='"+this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+this.pages+"&w="+this.bookDimensions.width+"&v=0&update="+t+"' alt=''></div>",wt("#flipbook").html(e)},initBook:function(){var t=this;this.flipbookWidth=(t.formato,"100vh"),this.flipbookHeight="square"===t.formato?"calc(50.2vh)":"calc(70.5vh)",wt("#flipbook").turn({width:t.flipbookWidth,height:t.flipbookHeight,autoCenter:!1,gradients:!0,acceleration:!0,duration:800,elevation:150}),wt("#flipbook").bind("start",(function(t,e,a){console.log(t),console.log(e),console.log(a),"r"==a||"l"==a?wt(".page-wrapper").css("cursor","pointer"):wt(".page-wrapper").css("cursor","unset"),"tl"!=a&&"tr"!=a&&"bl"!=a&&"br"!=a||t.preventDefault()})),wt("#flipbook").bind("end",(function(t,e,a){//$(".page-wrapper").css("cursor", "unset");
1264
+ if(parseInt(this.age)<=5&&(this.sizeSquare="calc(55vh - 50px)"),this.age<=5?(this.formato="square",this.bookDimensions.width=1050):this.formato="a4",this.createInitialPages(),this.initBook(),xt((function(){window.addEventListener("resize",(function(e){if(xt("#flipbook").length>0){var a=t.resize();xt("#flipbook").turn("size",a.width,a.height),xt("#flipbook").turn("resize"),t.updated()}}))})),this.loader)setTimeout((function(){t.isLoading=!1;var e=t.resize();xt("#flipbook").turn("size",e.width,e.height),xt("#flipbook").turn("resize")}),3e3);else{t.isLoading=!1;var e=t.resize();xt("#flipbook").turn("size",e.width,e.height),xt("#flipbook").turn("resize")}t.zoom&&this.activateZoom()},methods:{started:function(){this.$emit("started")},updated:function(){this.$emit("updated")},completed:function(t){t.success&&this.$emit("completed")},createInitialPages:function(){var t=(new Date).getMilliseconds(),e="";if(this.base64)for(var a=1;a<6;a++){e+="<div class='hard'><img src='data:image/png;base64,"+(this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+a+"&update="+t+"&w=533&v=0&noCache=true")+"' alt='' firstPage='true'></div>"}else for(a=1;a<6;a++){e+="<div class='hard'><img src='"+(this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+a+"&update="+t+"&w=533&v=0&noCache=true")+"' alt='' firstPage='true'></div>"}e+="<div class='hard back-side'><img src='"+this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+(this.pages-1)+"&w="+this.bookDimensions.width+"&v=0&update="+t+"' alt=''></div>",e+="<div class='hard'><img src='"+this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+this.pages+"&w="+this.bookDimensions.width+"&v=0&update="+t+"' alt=''></div>",xt("#flipbook").html(e)},initBook:function(){var t=this;this.flipbookWidth=(t.formato,"100vh"),this.flipbookHeight="square"===t.formato?"calc(50.2vh)":"calc(70.5vh)",xt("#flipbook").turn({width:t.flipbookWidth,height:t.flipbookHeight,autoCenter:!1,gradients:!0,acceleration:!0,duration:800,elevation:150}),xt("#flipbook").bind("start",(function(t,e,a){console.log(t),console.log(e),console.log(a),"r"==a||"l"==a?xt(".page-wrapper").css("cursor","pointer"):xt(".page-wrapper").css("cursor","unset"),"tl"!=a&&"tr"!=a&&"bl"!=a&&"br"!=a||t.preventDefault()})),xt("#flipbook").bind("end",(function(t,e,a){//$(".page-wrapper").css("cursor", "unset");
1253
1265
  })),// Habilitar passagem via o dedo
1254
- wt(document).keydown((function(t){switch(t.keyCode){case 37:s("#flipbook").turn("previous");break;case 39:s("#flipbook").turn("next")}})),t.isCover="-"+wt(".page-wrapper[page="+t.currentPage+"]").width(),wt("#flipbook").bind("turning",(function(e,a,i){t.currentPage=a,t.currentPage>=t.loadedPages-2&&t.morePages(),1===t.currentPage?(t.numberPositions=0,t.isCover="-"+wt(".page-wrapper[page="+t.currentPage+"]").width()):t.currentPage===t.pages?(t.isCover=wt(".page-wrapper[page="+t.currentPage+"]").width(),t.currentPage%2==0?t.numberPositions=30*t.currentPage:t.numberPositions=30*(t.currentPage-1)):(t.isCover=0,t.currentPage%2==0?t.numberPositions=30*t.currentPage:t.numberPositions=30*(t.currentPage-1))}));for(var e=this.loadedPages;e<this.pages-2;e++){var a=wt("#flipbook").turn("pages")+1,i=wt('<div><img class="img-book" width="100%" src="'+this.apiUrl+"/api/builder/getplaceholder/"+this.product_id+"?page="+e+"&w="+this.bookDimensions.widthPlaceholder+'&pw=0&noCache=true" alt=""><div class="loading-bg"><div class="loading book-loading"></div></div> </div>');wt("#flipbook").turn("addPage",i),wt("#flipbook").turn("pages",a)}this.started()},toTheLeft:function(){wt("#flipbook").turn("previous")},toTheRight:function(){wt("#flipbook").turn("next")},zoomTo:function(t){setTimeout((function(){wt(".flipbook-container").data().regionClicked?wt(".flipbook-container").data().regionClicked=!1:1==wt(".flipbook-container").zoom("value")?wt(".flipbook-container").zoom("zoomIn",t):wt(".flipbook-container").zoom("zoomOut")}),1)},activateZoom:function(){var t=this;wt(".flipbook-container").zoom({flipbook:wt("#flipbook"),max:function(){return 1452/wt("#flipbook").width()},when:{swipeLeft:function(){wt(this).zoom("flipbook").turn("next")},swipeRight:function(){wt(this).zoom("flipbook").turn("previous")},resize:function(t,e,a,i){// if (scale==1)
1266
+ xt(document).keydown((function(t){switch(t.keyCode){case 37:s("#flipbook").turn("previous");break;case 39:s("#flipbook").turn("next")}})),t.isCover="-"+xt(".page-wrapper[page="+t.currentPage+"]").width(),xt("#flipbook").bind("turning",(function(e,a,i){t.currentPage=a,t.currentPage>=t.loadedPages-2&&t.morePages(),1===t.currentPage?(t.numberPositions=0,t.isCover="-"+xt(".page-wrapper[page="+t.currentPage+"]").width()):t.currentPage===t.pages?(t.isCover=xt(".page-wrapper[page="+t.currentPage+"]").width(),t.currentPage%2==0?t.numberPositions=30*t.currentPage:t.numberPositions=30*(t.currentPage-1)):(t.isCover=0,t.currentPage%2==0?t.numberPositions=30*t.currentPage:t.numberPositions=30*(t.currentPage-1))}));for(var e=this.loadedPages;e<this.pages-2;e++){var a=xt("#flipbook").turn("pages")+1,i=xt('<div><img class="img-book" width="100%" src="'+this.apiUrl+"/api/builder/getplaceholder/"+this.product_id+"?page="+e+"&w="+this.bookDimensions.widthPlaceholder+'&pw=0&noCache=true" alt=""><div class="loading-bg"><div class="loading book-loading"></div></div> </div>');xt("#flipbook").turn("addPage",i),xt("#flipbook").turn("pages",a)}this.started()},toTheLeft:function(){xt("#flipbook").turn("previous")},toTheRight:function(){xt("#flipbook").turn("next")},zoomTo:function(t){setTimeout((function(){xt(".flipbook-container").data().regionClicked?xt(".flipbook-container").data().regionClicked=!1:1==xt(".flipbook-container").zoom("value")?xt(".flipbook-container").zoom("zoomIn",t):xt(".flipbook-container").zoom("zoomOut")}),1)},activateZoom:function(){var t=this;xt(".flipbook-container").zoom({flipbook:xt("#flipbook"),max:function(){return 1452/xt("#flipbook").width()},when:{swipeLeft:function(){xt(this).zoom("flipbook").turn("next")},swipeRight:function(){xt(this).zoom("flipbook").turn("previous")},resize:function(t,e,a,i){// if (scale==1)
1255
1267
  // loadSmallPage(page, pageElement);
1256
1268
  // else
1257
1269
  // loadLargePage(page, pageElement);
1258
- },zoomIn:function(){wt(".flipbook-container").removeClass("zoom-in"),wt(".flipbook-container").removeClass("zoom-out"),wt(".flipbook-container").addClass("zoom-in")},zoomOut:function(){wt(".flipbook-container").removeClass("zoom-in"),wt(".flipbook-container").removeClass("zoom-out"),wt(".flipbook-container").addClass("zoom-out"),// $('.exit-message').hide();
1270
+ },zoomIn:function(){xt(".flipbook-container").removeClass("zoom-in"),xt(".flipbook-container").removeClass("zoom-out"),xt(".flipbook-container").addClass("zoom-in")},zoomOut:function(){xt(".flipbook-container").removeClass("zoom-in"),xt(".flipbook-container").removeClass("zoom-out"),xt(".flipbook-container").addClass("zoom-out"),// $('.exit-message').hide();
1259
1271
  // $('.thumbnails').fadeIn();
1260
1272
  // $('.made').fadeIn();
1261
1273
  // $('.zoom-icon').removeClass('zoom-icon-out').addClass('zoom-icon-in');
1262
- setTimeout((function(){wt("#flipbook").addClass("animated").removeClass("zoom-in"),t.resizeViewport()}),0)}}}),// Zoom event
1263
- wt.isTouch?wt(".flipbook-container").bind("zoom.doubleTap",t.zoomTo):wt(".flipbook-container").bind("zoom.tap",t.zoomTo)},resizeViewport:function(){var t=wt(window).width(),e=wt(window).height(),a=wt("#flipbook").turn("options");if(wt("#flipbook").removeClass("animated"),wt(".flipbook-container").css({width:t,height:e}).zoom("resize"),1==wt("#flipbook").turn("zoom")){var i=calculateBound({width:a.width,height:a.height,boundWidth:Math.min(a.width,t),boundHeight:Math.min(a.height,e)});i.width%2!=0&&(i.width-=1),i.width==wt("#flipbook").width()&&i.height==wt("#flipbook").height()||(wt("#flipbook").turn("size",i.width,i.height),1==wt("#flipbook").turn("page")&&wt("#flipbook").turn("peel","br")),wt("#flipbook").css({top:-i.height/2,left:-i.width/2})}// var magazineOffset = $('#flipbook').offset(),
1274
+ setTimeout((function(){xt("#flipbook").addClass("animated").removeClass("zoom-in"),t.resizeViewport()}),0)}}}),// Zoom event
1275
+ xt.isTouch?xt(".flipbook-container").bind("zoom.doubleTap",t.zoomTo):xt(".flipbook-container").bind("zoom.tap",t.zoomTo)},resizeViewport:function(){var t=xt(window).width(),e=xt(window).height(),a=xt("#flipbook").turn("options");if(xt("#flipbook").removeClass("animated"),xt(".flipbook-container").css({width:t,height:e}).zoom("resize"),1==xt("#flipbook").turn("zoom")){var i=calculateBound({width:a.width,height:a.height,boundWidth:Math.min(a.width,t),boundHeight:Math.min(a.height,e)});i.width%2!=0&&(i.width-=1),i.width==xt("#flipbook").width()&&i.height==xt("#flipbook").height()||(xt("#flipbook").turn("size",i.width,i.height),1==xt("#flipbook").turn("page")&&xt("#flipbook").turn("peel","br")),xt("#flipbook").css({top:-i.height/2,left:-i.width/2})}// var magazineOffset = $('#flipbook').offset(),
1264
1276
  // boundH = height - magazineOffset.top - $('#flipbook').height(),
1265
1277
  // marginTop = (boundH - $('.thumbnails > div').height()) / 2;
1266
1278
  // if (marginTop<0) {
@@ -1273,44 +1285,108 @@ wt.isTouch?wt(".flipbook-container").bind("zoom.doubleTap",t.zoomTo):wt(".flipbo
1273
1285
  // $('.made').hide();
1274
1286
  // else
1275
1287
  // $('.made').show();
1276
- wt("#flipbook").addClass("animated")},morePages:function(){for(var t=this.loadedPages+1;t<=this.loadedPages+4;t++)this.addPage(t,wt("#flipbook"));this.loadedPages=this.loadedPages+4},addPage:function(t,e){if(e.turn("hasPage",t)&&t<=this.pages-2){var a=wt("<div />",{class:"hard"}).html('<img class="img-book loading-blur" width="100%" src="https://dka04237waacy.cloudfront.net/api/builder/getplaceholder/'+this.product_id+"?page="+t+"&w="+this.bookDimensions.widthPlaceholder+'&pw=0" alt=""><div class="loading-bg"><div class="loading book-loading"></div></div>');e.turn("addPage",a,t);var i=this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+t+"&w="+this.bookDimensions.width+"&v=0";xt.get(i,{progress:!1,responseType:"arraybuffer"}).then((function(t){var e=new Buffer.from(t.data,"binary").toString("base64");a.html("<img width='100%' src='data:image/png;base64,"+e+"'>")}))}},resize:function(){return{width:"100vh",height:this.sizeSquare}}},computed:{shadowVar:function(){return{"--shadow-color":this.shadowColor}}}},"data-v-24e4a182",!1,void 0,!1,b,void 0,void 0),zt=require("axios"),kt=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"preview-page",class:t.isLoading?"":"preview-loading",attrs:{id:"previewMobile"}},[t.isLoading?t._e():a("div",{staticClass:"loading-box"},[a("div",{attrs:{id:"loading"}}),t._v(" "),a("small",[t._v(t._s(t.lang.justASecond))]),t._v(" "),a("h4",[t._v(t._s(t.lang.loadingPhrase))])]),t._v(" "),a("div",{class:t.isLoading?"":"invisible"},[a("div",{staticClass:"block-preview-mobile"},[a("div",{staticClass:"list-mobile",attrs:{id:"list-mobile"}},[a("div",{staticClass:"mobile-shelf",class:t.mobileStopped?"active":"",style:{width:235*t.pageNum-5*(t.pageNum-2)+20+"px"}},t._l(t.pagesToRender,(function(e,i){return a("div",{key:i,staticClass:"mini-cover",attrs:{id:"page-"+i}},[a("img",{staticClass:"img-book",attrs:{width:"100%",src:e.url,alt:""}}),t._v(" "),e.isLoaded?t._e():a("div",{staticClass:"loading-bg"},[a("div",{staticClass:"loading book-loading"})]),t._v(" "),a("span",{staticClass:"scrollable-preview-page-shadow"})])})),0)])]),t._v(" "),t.zoom?a("div",{staticClass:"scope",on:{click:function(e){return t.openZoom()}}},[a("svg",{attrs:{width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M10.1025 5.02907C12.6463 2.47187 16.5573 2.25613 19.1011 4.81408C20.2646 5.98841 20.9419 7.56252 20.9964 9.21904C21.051 10.8755 20.4787 12.4912 19.395 13.7403C18.3113 14.9894 16.7968 15.779 15.1569 15.9499C13.5169 16.1208 11.8735 15.6603 10.558 14.6612L9.84965 15.3725L10.3074 15.8326L5.43741 20.7283C4.95716 21.211 3.96516 20.9953 3.48491 20.5125C3.00467 20.0298 2.79006 19.0318 3.2703 18.549L8.14028 13.6534L8.59801 14.1135L9.30562 13.4022C7.36364 10.8352 7.77109 7.37278 10.1025 5.02907ZM18.0221 12.8938C18.4717 12.4439 18.8285 11.9092 19.0719 11.3203C19.3154 10.7314 19.4407 10.1 19.4407 9.46229C19.4407 8.82458 19.3154 8.19315 19.0719 7.60428C18.8285 7.0154 18.4717 6.48068 18.0221 6.03082C17.1123 5.1206 15.8809 4.60961 14.5973 4.60961C13.3137 4.60961 12.0824 5.1206 11.1726 6.03082C10.7229 6.48068 10.3661 7.0154 10.1227 7.60428C9.87923 8.19315 9.7539 8.82458 9.7539 9.46229C9.7539 10.1 9.87923 10.7314 10.1227 11.3203C10.3661 11.9092 10.7229 12.4439 11.1726 12.8938C12.0824 13.804 13.3137 14.315 14.5973 14.315C15.8809 14.315 17.1123 13.804 18.0221 12.8938ZM14.6281 12.988C14.4052 12.988 14.2379 12.9043 14.1268 12.7369C14.015 12.5694 13.9595 12.3446 13.9595 12.0632V10.3004H12.1256C11.5448 10.3004 11.2544 10.0665 11.2544 9.59656C11.2544 9.36423 11.3354 9.18922 11.4967 9.07079C11.6581 8.95236 11.8682 8.89352 12.1256 8.89352H13.9595V7.13064C13.9595 6.97902 13.9745 6.83872 14.0053 6.71199C14.0399 6.57744 14.1114 6.45538 14.2116 6.35971C14.2665 6.30585 14.3318 6.26382 14.4034 6.23619C14.475 6.20856 14.5514 6.19592 14.6281 6.19904C14.8547 6.19904 15.0243 6.28805 15.1353 6.46683C15.2472 6.64561 15.3027 6.86663 15.3027 7.13064V8.89352H17.1434C17.3745 8.89352 17.5763 8.94632 17.7489 9.05419C17.9215 9.16131 18.0078 9.34235 18.0078 9.59732C18.0078 9.8387 17.9253 10.016 17.7624 10.1299C17.5981 10.243 17.3917 10.3004 17.1434 10.3004H15.3027V12.0632C15.3027 12.2149 15.2862 12.3544 15.2532 12.4819C15.2168 12.6153 15.1443 12.736 15.0438 12.8304C14.9885 12.8833 14.9232 12.9245 14.8518 12.9516C14.7804 12.9787 14.7043 12.9911 14.6281 12.988Z"}})])]):t._e(),t._v(" "),t.zoomActive?a("div",{directives:[{name:"style",rawName:"v-style",value:"margin-top:"+t.marginMenu+"px",expression:"'margin-top:' + marginMenu + 'px'"}],staticClass:"zoom",style:{marginTop:"-"+t.marginMenu+"px"}},[a("div",{staticClass:"top-zoom"},[a("div",{staticClass:"close",on:{click:function(e){return t.closeZoom()}}},[a("svg",{attrs:{width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5607 8.43934C9.97487 7.85355 9.02513 7.85355 8.43934 8.43934C7.85355 9.02513 7.85355 9.97487 8.43934 10.5607L14.0962 16.2175L8.43937 21.8744C7.85358 22.4602 7.85358 23.4099 8.43937 23.9957C9.02516 24.5815 9.9749 24.5815 10.5607 23.9957L16.2175 18.3388L21.8744 23.9957C22.4602 24.5815 23.4099 24.5815 23.9957 23.9957C24.5815 23.4099 24.5815 22.4602 23.9957 21.8744L18.3388 16.2175L23.9957 10.5607C24.5815 9.97487 24.5815 9.02513 23.9957 8.43934C23.4099 7.85355 22.4602 7.85355 21.8744 8.43934L16.2175 14.0962L10.5607 8.43934Z"}})])]),t._v(" "),a("div",{staticClass:"toggle"},[a("div",{staticClass:"one-page",class:1===t.zoomSettings.slidesToShow?"active":"inactive",on:{click:function(e){return t.setFormatZoom(1)}}},[a("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18 5.58678C18 4.71042 17.2138 4 16.2439 4L7.7561 4C6.78623 4 6 4.71042 6 5.58678L6 18.4132C6 19.2896 6.78623 20 7.7561 20L16.2439 20C17.2138 20 18 19.2896 18 18.4132L18 5.58678ZM16.2439 18.4132L16.2439 5.58678L7.7561 5.58678L7.7561 18.4132L16.2439 18.4132Z"}})])]),t._v(" "),a("div",{staticClass:"many-pages",class:2===t.zoomSettings.slidesToShow?"active":"inactive",on:{click:function(e){return t.setFormatZoom(2)}}},[a("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21 5.58678C21 4.71042 20.2674 4 19.3636 4L12.9545 4C12.0508 4 11.3182 4.71042 11.3182 5.58678L11.3182 18.4132C11.3182 19.2896 12.0508 20 12.9545 20L19.3636 20C20.2674 20 21 19.2896 21 18.4132L21 5.58678ZM19.3636 18.4132L19.3636 5.58678L12.9545 5.58678L12.9545 18.4132L19.3636 18.4132Z"}}),t._v(" "),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.6818 5.58678C12.6818 4.71042 11.9492 4 11.0455 4L4.63636 4C3.73262 4 3 4.71042 3 5.58678L3 18.4132C3 19.2896 3.73262 20 4.63636 20L11.0455 20C11.9492 20 12.6818 19.2896 12.6818 18.4132L12.6818 5.58678ZM11.0455 18.4132L11.0455 5.58678L4.63636 5.58678L4.63636 18.4132L11.0455 18.4132Z"}})])])])]),t._v(" "),t.zoomActive?a("div",{staticClass:"carousel"},[a("VueSlickCarousel",t._b({attrs:{infinite:!1,lazyLoad:"progressive"},on:{beforeChange:t.changeZoom},scopedSlots:t._u([{key:"prevArrow",fn:function(e){return[a("div",{staticClass:"custom-arrow"},[a("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M12.136 7.52267C12.5628 7.09594 13.2546 7.09594 13.6814 7.52267C14.1081 7.94941 14.1081 8.64128 13.6814 9.06802L9.818 12.9314C9.39127 13.3581 8.69939 13.3581 8.27266 12.9314C7.84592 12.5046 7.84592 11.8128 8.27266 11.386L12.136 7.52267Z"}}),t._v(" "),a("path",{attrs:{d:"M13.6814 15.2106C14.1081 15.6373 14.1081 16.3292 13.6814 16.7559C13.2546 17.1827 12.5628 17.1827 12.136 16.7559L8.27266 12.8926C7.84592 12.4658 7.84592 11.7739 8.27266 11.3472C8.69939 10.9205 9.39127 10.9205 9.818 11.3472L13.6814 15.2106Z"}})])])]}},{key:"nextArrow",fn:function(e){return[a("div",{staticClass:"custom-arrow"},[a("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M11.864 16.4773C11.4372 16.9041 10.7453 16.9041 10.3186 16.4773C9.89187 16.0506 9.89187 15.3587 10.3186 14.932L14.182 11.0686C14.6087 10.6419 15.3006 10.6419 15.7273 11.0686C16.154 11.4954 16.154 12.1872 15.7273 12.614L11.864 16.4773Z"}}),t._v(" "),a("path",{attrs:{d:"M10.3186 8.78943C9.8919 8.36269 9.8919 7.67082 10.3186 7.24408C10.7454 6.81735 11.4372 6.81735 11.864 7.24408L15.7273 11.1074C16.1541 11.5342 16.1541 12.2261 15.7273 12.6528C15.3006 13.0795 14.6087 13.0795 14.182 12.6528L10.3186 8.78943Z"}})])])]}}],null,!1,1487813583)},"VueSlickCarousel",t.zoomSettings,!1),[t._v(" "),t._v(" "),t._l(t.pagesZoom,(function(e,i){return a("div",{key:i,staticClass:"mini-cover-zoom",attrs:{id:"page-"+i}},[a("img",{staticClass:"img-book",class:e.isLoaded?"":"book-is-loading",attrs:{width:"100%",src:e.url,alt:""}}),t._v(" "),e.isLoaded?t._e():a("div",{staticClass:"loading-bg-mobile"},[a("div",{staticClass:"loading book-loading"})])])}))],2)],1):t._e(),t._v(" "),a("div",{staticClass:"page-count"},[a("span",[t._v(t._s(t.lang.pages)+" "+t._s(t.currentPage+1)+" "),2===t.zoomSettings.slidesToShow?a("span",[t._v("- "+t._s(t.currentPage+2))]):t._e()]),t._v(" / "+t._s(t.pageNum)+"\n ")])]):t._e()])])},staticRenderFns:[]},(function(t){t&&(t("data-v-0c220ba8_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}',map:void 0,media:void 0}),t("data-v-0c220ba8_1",{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-0c220ba8]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-0c220ba8]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-0c220ba8]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-0c220ba8]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-0c220ba8]{font-size:14px}}@media (min-width:1024px){[data-v-0c220ba8]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-0c220ba8]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-0c220ba8]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-0c220ba8]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-0c220ba8]{font-size:1.56vw}}html[data-v-0c220ba8]{box-sizing:border-box}*[data-v-0c220ba8],[data-v-0c220ba8]::after,[data-v-0c220ba8]::before{box-sizing:border-box}.invisible[data-v-0c220ba8]{opacity:0}.block-preview-mobile #page-0[data-v-0c220ba8]{margin-left:20px}.scrollable-preview-page-shadow[data-v-0c220ba8]:nth-child(odd){height:100%;width:100%;display:block;position:absolute;top:0;left:0;-webkit-box-shadow:-5px 7px 10px -4px rgba(0,0,0,.26);box-shadow:-5px 7px 10px -4px rgba(0,0,0,.26);z-index:2}.scrollable-preview-page-shadow[data-v-0c220ba8]:nth-child(even){height:100%;width:100%;display:block;position:absolute;top:0;left:0;-webkit-box-shadow:5px 7px 10px -4px rgba(0,0,0,.26);box-shadow:5px 7px 10px -4px rgba(0,0,0,.26)}.book-is-loading[data-v-0c220ba8]{filter:blur(8px);-webkit-filter:blur(8px)}.mini-cover-zoom[data-v-0c220ba8]{width:100%;display:inline-block;position:relative}.carousel[data-v-0c220ba8] .slick-list{width:100%!important}[data-v-0c220ba8] .slick-list{width:100%!important}.slick-list[data-v-0c220ba8]{width:100%!important}.img-book[data-v-0c220ba8]{position:relative;z-index:2}@keyframes shake-data-v-0c220ba8{0%{-webkit-transform:translateX(0);transform:translateX(0)}10%{-webkit-transform:translateX(20px);transform:translateX(20px)}20%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes shake-data-v-0c220ba8{0%{-webkit-transform:translateX(0)}40%{-webkit-transform:translateX(20px)}50%{-webkit-transform:translateX(0)}60%{-webkit-transform:translateX(20px)}100%{-webkit-transform:translateX(0)}}.loading-box[data-v-0c220ba8]{position:relative;left:0;right:0;bottom:0;margin-bottom:auto;margin-top:auto;z-index:9999;text-align:center;font-family:Roboto;position:absolute;top:-5%;bottom:0;margin-top:auto;margin-bottom:auto;height:120px}.loading-box #loading[data-v-0c220ba8]{display:inline-block;border:8px solid #f3f3f3;border-top:8px solid #42cda1;border-radius:50%;width:80px;height:80px;animation:spin-data-v-0c220ba8 .6s linear infinite}@media (max-width:479px){.loading-box #loading[data-v-0c220ba8]{border:6px solid #f3f3f3;border-top:6px solid #42cda1;width:80px;height:80px;font-family:Roboto}}@keyframes spin-data-v-0c220ba8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.loading-box small[data-v-0c220ba8]{display:block;width:100%;font-size:14px;font-weight:700;font-family:Nunito,sans-serif;margin-top:16px}.loading-box h4[data-v-0c220ba8]{font-size:14px;margin-top:8px;font-weight:400;color:#afa2ba;font-family:Nunito}.slick-prev[data-v-0c220ba8]{left:15px;z-index:2;position:absolute;width:35px;height:35px;background-color:rgba(0,0,0,.4);border-radius:50px;text-align:center;display:flex;top:0;bottom:0;margin-top:auto;margin-bottom:auto}.slick-prev svg[data-v-0c220ba8]{position:absolute;margin:auto;top:2px;bottom:0;right:0;left:0}.slick-prev svg path[data-v-0c220ba8]{fill:#fff}.slick-prev svg rect[data-v-0c220ba8]{fill:#fff}.slick-next[data-v-0c220ba8]{right:15px;z-index:2;position:absolute;width:35px;height:35px;background-color:rgba(0,0,0,.4);border-radius:50px;text-align:center;display:flex;top:0;bottom:0;margin-top:auto;margin-bottom:auto}.slick-next svg[data-v-0c220ba8]{position:absolute;margin:auto;top:2px;bottom:0;right:0;left:0}.slick-next svg path[data-v-0c220ba8]{fill:#fff}.slick-next svg rect[data-v-0c220ba8]{fill:#fff}.page-count[data-v-0c220ba8]{color:#68596e;font-family:Nunito,sans-serif;text-align:center;font-size:1.5238095238rem;font-size:14px;font-weight:700;margin-top:5px}.page-count span[data-v-0c220ba8]{color:#fff}.zoom[data-v-0c220ba8]{background-color:rgba(0,0,0,.8);position:absolute;width:100%;min-height:100vh;top:0;left:0;z-index:25;padding-bottom:20px;z-index:25}.zoom .top-zoom[data-v-0c220ba8]{position:relative;height:4.2857142857rem}.zoom .top-zoom .close[data-v-0c220ba8]{width:13.8888888889vw;padding:8px;float:left;z-index:2;cursor:pointer}.zoom .top-zoom .close svg path[data-v-0c220ba8]{fill:#fff}.zoom .top-zoom .close svg rect[data-v-0c220ba8]{fill:#fff}.zoom .top-zoom .toggle[data-v-0c220ba8]{padding-right:4px;display:flex;float:right}.zoom .top-zoom .toggle .one-page[data-v-0c220ba8]{cursor:pointer;display:flex;height:35px;width:35px;border-radius:4px;background-color:#505050;margin-bottom:8px;margin-top:8px;margin-left:8px;align-items:center}.zoom .top-zoom .toggle .one-page svg[data-v-0c220ba8]{display:block;margin:0 auto}.zoom .top-zoom .toggle .one-page svg path[data-v-0c220ba8]{fill:#000}.zoom .top-zoom .toggle .one-page svg rect[data-v-0c220ba8]{fill:#000}.zoom .top-zoom .toggle .one-page.active[data-v-0c220ba8]{background-color:#999}.zoom .top-zoom .toggle .one-page.active svg[data-v-0c220ba8]{display:block;margin:0 auto}.zoom .top-zoom .toggle .one-page.active svg path[data-v-0c220ba8]{fill:#fff}.zoom .top-zoom .toggle .one-page.active svg rect[data-v-0c220ba8]{fill:#fff}.zoom .top-zoom .toggle .many-pages[data-v-0c220ba8]{cursor:pointer;display:flex;height:35px;width:35px;border-radius:4px;background-color:#505050;margin-bottom:8px;margin-top:8px;margin-left:8px;align-items:center}.zoom .top-zoom .toggle .many-pages svg[data-v-0c220ba8]{display:block;margin:0 auto}.zoom .top-zoom .toggle .many-pages svg path[data-v-0c220ba8]{fill:#000}.zoom .top-zoom .toggle .many-pages svg rect[data-v-0c220ba8]{fill:#000}.zoom .top-zoom .toggle .many-pages.active[data-v-0c220ba8]{background-color:#999}.zoom .top-zoom .toggle .many-pages.active svg path[data-v-0c220ba8]{fill:#fff}.zoom .top-zoom .toggle .many-pages.active svg rect[data-v-0c220ba8]{fill:#fff}.scope[data-v-0c220ba8]{background-color:#12d3db;position:absolute;padding:1.3333333333rem 1.4285714286rem;bottom:5px;right:16px;z-index:10;border-radius:500px;-webkit-box-shadow:0 10px 20px 0 #afa2ba;box-shadow:0 10px 20px 0 #afa2ba;z-index:2}.scope svg path[data-v-0c220ba8]{fill:#fff}.preview-page[data-v-0c220ba8]{position:relative;z-index:9;background-color:#f8f7fc}.block-preview-mobile[data-v-0c220ba8]{position:relative;max-width:1024px}.list-mobile[data-v-0c220ba8]{width:100%;overflow-x:scroll;text-align:left;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.list-mobile .mobile-shelf[data-v-0c220ba8]{padding-bottom:20px}.list-mobile .mobile-shelf.active[data-v-0c220ba8]{-webkit-animation:shake-data-v-0c220ba8 1.6s ease-in-out infinite;animation:shake-data-v-0c220ba8 1.6s ease-in-out infinite}.mini-cover[data-v-0c220ba8]{display:inline-block;max-width:225px;position:relative;width:100%;text-align:left;margin:0 5px}.mini-cover[data-v-0c220ba8]:first-child{margin-right:5px}.mini-cover[data-v-0c220ba8]:nth-child(odd){margin-left:0}.mini-cover[data-v-0c220ba8]:nth-child(odd):before{content:"";position:absolute;width:100%;height:100%;background-image:-webkit-gradient(linear,left top,right top,from(black),color-stop(8%,transparent));background-image:linear-gradient(to right,#000,transparent 8%);opacity:.15;z-index:10}.mini-cover[data-v-0c220ba8]:nth-child(even){margin-right:0}.mini-cover[data-v-0c220ba8]:nth-child(even):before{content:"";position:absolute;width:100%;height:100%;background-image:-webkit-gradient(linear,right top,left top,from(black),color-stop(4%,transparent));background-image:linear-gradient(to left,#000,transparent 4%);opacity:.15;z-index:10}.mini-cover img[data-v-0c220ba8]{width:100%;filter:none!important;-webkit-filter:none!important;max-height:437px;display:block}hr[data-v-0c220ba8]{margin:10px -1.5rem}h1[data-v-0c220ba8]{font-family:Nunito;font-size:24px;font-weight:900;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#000;margin-top:0;margin-bottom:15px}h1[data-v-0c220ba8]:first-child{display:none}.ddh-sidebar[data-v-0c220ba8],.ddh-sidebar.hide-sidebar[data-v-0c220ba8]{display:none!important}html[data-v-0c220ba8]{--scale:1;--translate:0%}.loading-bg-mobile[data-v-0c220ba8]{display:block;width:100%;height:100%;position:absolute;top:0;opacity:.65;display:flex;align-items:center;justify-content:center;z-index:4}.loading-bg-mobile .loading[data-v-0c220ba8]{border:8px solid #f3f3f3;border-top:8px solid #42cda1;border-radius:50%;width:2.8571428571rem;height:2.8571428571rem;animation:spin-data-v-0c220ba8 .6s linear infinite}@media (max-width:479px){.loading-bg-mobile .loading[data-v-0c220ba8]{border:6px solid #f3f3f3;border-top:6px solid #42cda1;width:3.738317757rem;height:3.738317757rem}}@keyframes spin-data-v-0c220ba8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.loading-bg[data-v-0c220ba8]{background-color:#fff;display:block;width:100%;height:100%;position:absolute;top:0;opacity:.65;display:flex;align-items:center;justify-content:center;z-index:999}.loading-bg .loading[data-v-0c220ba8]{border:8px solid #f3f3f3;border-top:8px solid #42cda1;border-radius:50%;width:2.8571428571rem;height:2.8571428571rem;animation:spin-data-v-0c220ba8 .6s linear infinite}@media (max-width:479px){.loading-bg .loading[data-v-0c220ba8]{border:6px solid #f3f3f3;border-top:6px solid #42cda1;width:3.738317757rem;height:3.738317757rem}}@keyframes spin-data-v-0c220ba8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.loading-view[data-v-0c220ba8]{position:absolute;top:0;width:100%;height:100%;background:#fff;position:absolute;width:100%;top:0;z-index:200;display:flex;align-items:center;justify-content:center;flex-direction:column}.return[data-v-0c220ba8]{position:fixed;z-index:99}.return .icon[data-v-0c220ba8]{width:38px;height:38px;position:absolute;z-index:30;padding:.95238rem 2.77778vw}.return .icon svg[data-v-0c220ba8]{width:38px;height:38px}.return .icon svg path[data-v-0c220ba8]{fill:#afa2ba!important;stroke:#afa2ba!important;transition:all .1s cubic-bezier(.4,0,.2,1)}.return .icon[data-v-0c220ba8]:hover{cursor:pointer}.return .icon:hover path[data-v-0c220ba8],.return .icon:hover svg[data-v-0c220ba8]{fill:#1ad3d9!important;stroke:#1ad3d9!important}.return .icon:active svg[data-v-0c220ba8]{transform:scale(.9)}',map:void 0,media:void 0}))}),{name:"PreviewMobile",components:{VueSlickCarousel:l,Icon:I},props:{uuid:{type:String,required:!0},
1288
+ xt("#flipbook").addClass("animated")},morePages:function(){for(var t=this.loadedPages+1;t<=this.loadedPages+4;t++)this.addPage(t,xt("#flipbook"));this.loadedPages=this.loadedPages+4},addPage:function(t,e){if(e.turn("hasPage",t)&&t<=this.pages-2){var a=xt("<div />",{class:"hard"}).html('<img class="img-book loading-blur" width="100%" src="https://dka04237waacy.cloudfront.net/api/builder/getplaceholder/'+this.product_id+"?page="+t+"&w="+this.bookDimensions.widthPlaceholder+'&pw=0" alt=""><div class="loading-bg"><div class="loading book-loading"></div></div>');e.turn("addPage",a,t);var i=this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+t+"&w="+this.bookDimensions.width+"&v=0";yt.get(i,{progress:!1,responseType:"arraybuffer"}).then((function(t){var e=new Buffer.from(t.data,"binary").toString("base64");a.html("<img width='100%' src='data:image/png;base64,"+e+"'>")}))}},resize:function(){return{width:"100vh",height:this.sizeSquare}}},computed:{shadowVar:function(){return{"--shadow-color":this.shadowColor}}}},"data-v-6d506cd1",!1,void 0,!1,b,void 0,void 0),kt=require("axios"),_t=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"preview-page",class:t.isLoading?"":"preview-loading",attrs:{id:"previewMobile"}},[t.isLoading?t._e():a("div",{staticClass:"loading-box"},[a("div",{attrs:{id:"loading"}}),t._v(" "),a("small",[t._v(t._s(t.lang.justASecond))]),t._v(" "),a("h4",[t._v(t._s(t.lang.loadingPhrase))])]),t._v(" "),a("div",{class:t.isLoading?"":"invisible"},[a("div",{staticClass:"block-preview-mobile"},[a("div",{staticClass:"list-mobile",attrs:{id:"list-mobile"}},[a("div",{staticClass:"mobile-shelf",class:t.mobileStopped?"active":"",style:{width:235*t.pageNum-5*(t.pageNum-2)+20+"px"}},t._l(t.pagesToRender,(function(e,i){return a("div",{key:i,staticClass:"mini-cover",attrs:{id:"page-"+i}},[a("img",{staticClass:"img-book",attrs:{width:"100%",src:e.url,alt:""}}),t._v(" "),e.isLoaded?t._e():a("div",{staticClass:"loading-bg"},[a("div",{staticClass:"loading book-loading"})]),t._v(" "),a("span",{staticClass:"scrollable-preview-page-shadow"})])})),0)])]),t._v(" "),t.zoom?a("div",{staticClass:"scope",on:{click:function(e){return t.openZoom()}}},[a("svg",{attrs:{width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M10.1025 5.02907C12.6463 2.47187 16.5573 2.25613 19.1011 4.81408C20.2646 5.98841 20.9419 7.56252 20.9964 9.21904C21.051 10.8755 20.4787 12.4912 19.395 13.7403C18.3113 14.9894 16.7968 15.779 15.1569 15.9499C13.5169 16.1208 11.8735 15.6603 10.558 14.6612L9.84965 15.3725L10.3074 15.8326L5.43741 20.7283C4.95716 21.211 3.96516 20.9953 3.48491 20.5125C3.00467 20.0298 2.79006 19.0318 3.2703 18.549L8.14028 13.6534L8.59801 14.1135L9.30562 13.4022C7.36364 10.8352 7.77109 7.37278 10.1025 5.02907ZM18.0221 12.8938C18.4717 12.4439 18.8285 11.9092 19.0719 11.3203C19.3154 10.7314 19.4407 10.1 19.4407 9.46229C19.4407 8.82458 19.3154 8.19315 19.0719 7.60428C18.8285 7.0154 18.4717 6.48068 18.0221 6.03082C17.1123 5.1206 15.8809 4.60961 14.5973 4.60961C13.3137 4.60961 12.0824 5.1206 11.1726 6.03082C10.7229 6.48068 10.3661 7.0154 10.1227 7.60428C9.87923 8.19315 9.7539 8.82458 9.7539 9.46229C9.7539 10.1 9.87923 10.7314 10.1227 11.3203C10.3661 11.9092 10.7229 12.4439 11.1726 12.8938C12.0824 13.804 13.3137 14.315 14.5973 14.315C15.8809 14.315 17.1123 13.804 18.0221 12.8938ZM14.6281 12.988C14.4052 12.988 14.2379 12.9043 14.1268 12.7369C14.015 12.5694 13.9595 12.3446 13.9595 12.0632V10.3004H12.1256C11.5448 10.3004 11.2544 10.0665 11.2544 9.59656C11.2544 9.36423 11.3354 9.18922 11.4967 9.07079C11.6581 8.95236 11.8682 8.89352 12.1256 8.89352H13.9595V7.13064C13.9595 6.97902 13.9745 6.83872 14.0053 6.71199C14.0399 6.57744 14.1114 6.45538 14.2116 6.35971C14.2665 6.30585 14.3318 6.26382 14.4034 6.23619C14.475 6.20856 14.5514 6.19592 14.6281 6.19904C14.8547 6.19904 15.0243 6.28805 15.1353 6.46683C15.2472 6.64561 15.3027 6.86663 15.3027 7.13064V8.89352H17.1434C17.3745 8.89352 17.5763 8.94632 17.7489 9.05419C17.9215 9.16131 18.0078 9.34235 18.0078 9.59732C18.0078 9.8387 17.9253 10.016 17.7624 10.1299C17.5981 10.243 17.3917 10.3004 17.1434 10.3004H15.3027V12.0632C15.3027 12.2149 15.2862 12.3544 15.2532 12.4819C15.2168 12.6153 15.1443 12.736 15.0438 12.8304C14.9885 12.8833 14.9232 12.9245 14.8518 12.9516C14.7804 12.9787 14.7043 12.9911 14.6281 12.988Z"}})])]):t._e(),t._v(" "),t.zoomActive?a("div",{directives:[{name:"style",rawName:"v-style",value:"margin-top:"+t.marginMenu+"px",expression:"'margin-top:' + marginMenu + 'px'"}],staticClass:"zoom",style:{marginTop:"-"+t.marginMenu+"px"}},[a("div",{staticClass:"top-zoom"},[a("div",{staticClass:"close",on:{click:function(e){return t.closeZoom()}}},[a("svg",{attrs:{width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5607 8.43934C9.97487 7.85355 9.02513 7.85355 8.43934 8.43934C7.85355 9.02513 7.85355 9.97487 8.43934 10.5607L14.0962 16.2175L8.43937 21.8744C7.85358 22.4602 7.85358 23.4099 8.43937 23.9957C9.02516 24.5815 9.9749 24.5815 10.5607 23.9957L16.2175 18.3388L21.8744 23.9957C22.4602 24.5815 23.4099 24.5815 23.9957 23.9957C24.5815 23.4099 24.5815 22.4602 23.9957 21.8744L18.3388 16.2175L23.9957 10.5607C24.5815 9.97487 24.5815 9.02513 23.9957 8.43934C23.4099 7.85355 22.4602 7.85355 21.8744 8.43934L16.2175 14.0962L10.5607 8.43934Z"}})])]),t._v(" "),a("div",{staticClass:"toggle"},[a("div",{staticClass:"one-page",class:1===t.zoomSettings.slidesToShow?"active":"inactive",on:{click:function(e){return t.setFormatZoom(1)}}},[a("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M18 5.58678C18 4.71042 17.2138 4 16.2439 4L7.7561 4C6.78623 4 6 4.71042 6 5.58678L6 18.4132C6 19.2896 6.78623 20 7.7561 20L16.2439 20C17.2138 20 18 19.2896 18 18.4132L18 5.58678ZM16.2439 18.4132L16.2439 5.58678L7.7561 5.58678L7.7561 18.4132L16.2439 18.4132Z"}})])]),t._v(" "),a("div",{staticClass:"many-pages",class:2===t.zoomSettings.slidesToShow?"active":"inactive",on:{click:function(e){return t.setFormatZoom(2)}}},[a("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21 5.58678C21 4.71042 20.2674 4 19.3636 4L12.9545 4C12.0508 4 11.3182 4.71042 11.3182 5.58678L11.3182 18.4132C11.3182 19.2896 12.0508 20 12.9545 20L19.3636 20C20.2674 20 21 19.2896 21 18.4132L21 5.58678ZM19.3636 18.4132L19.3636 5.58678L12.9545 5.58678L12.9545 18.4132L19.3636 18.4132Z"}}),t._v(" "),a("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.6818 5.58678C12.6818 4.71042 11.9492 4 11.0455 4L4.63636 4C3.73262 4 3 4.71042 3 5.58678L3 18.4132C3 19.2896 3.73262 20 4.63636 20L11.0455 20C11.9492 20 12.6818 19.2896 12.6818 18.4132L12.6818 5.58678ZM11.0455 18.4132L11.0455 5.58678L4.63636 5.58678L4.63636 18.4132L11.0455 18.4132Z"}})])])])]),t._v(" "),t.zoomActive?a("div",{staticClass:"carousel"},[a("VueSlickCarousel",t._b({attrs:{infinite:!1,lazyLoad:"progressive"},on:{beforeChange:t.changeZoom},scopedSlots:t._u([{key:"prevArrow",fn:function(e){return[a("div",{staticClass:"custom-arrow"},[a("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M12.136 7.52267C12.5628 7.09594 13.2546 7.09594 13.6814 7.52267C14.1081 7.94941 14.1081 8.64128 13.6814 9.06802L9.818 12.9314C9.39127 13.3581 8.69939 13.3581 8.27266 12.9314C7.84592 12.5046 7.84592 11.8128 8.27266 11.386L12.136 7.52267Z"}}),t._v(" "),a("path",{attrs:{d:"M13.6814 15.2106C14.1081 15.6373 14.1081 16.3292 13.6814 16.7559C13.2546 17.1827 12.5628 17.1827 12.136 16.7559L8.27266 12.8926C7.84592 12.4658 7.84592 11.7739 8.27266 11.3472C8.69939 10.9205 9.39127 10.9205 9.818 11.3472L13.6814 15.2106Z"}})])])]}},{key:"nextArrow",fn:function(e){return[a("div",{staticClass:"custom-arrow"},[a("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M11.864 16.4773C11.4372 16.9041 10.7453 16.9041 10.3186 16.4773C9.89187 16.0506 9.89187 15.3587 10.3186 14.932L14.182 11.0686C14.6087 10.6419 15.3006 10.6419 15.7273 11.0686C16.154 11.4954 16.154 12.1872 15.7273 12.614L11.864 16.4773Z"}}),t._v(" "),a("path",{attrs:{d:"M10.3186 8.78943C9.8919 8.36269 9.8919 7.67082 10.3186 7.24408C10.7454 6.81735 11.4372 6.81735 11.864 7.24408L15.7273 11.1074C16.1541 11.5342 16.1541 12.2261 15.7273 12.6528C15.3006 13.0795 14.6087 13.0795 14.182 12.6528L10.3186 8.78943Z"}})])])]}}],null,!1,1487813583)},"VueSlickCarousel",t.zoomSettings,!1),[t._v(" "),t._v(" "),t._l(t.pagesZoom,(function(e,i){return a("div",{key:i,staticClass:"mini-cover-zoom",attrs:{id:"page-"+i}},[a("img",{staticClass:"img-book",class:e.isLoaded?"":"book-is-loading",attrs:{width:"100%",src:e.url,alt:""}}),t._v(" "),e.isLoaded?t._e():a("div",{staticClass:"loading-bg-mobile"},[a("div",{staticClass:"loading book-loading"})])])}))],2)],1):t._e(),t._v(" "),a("div",{staticClass:"page-count"},[a("span",[t._v(t._s(t.lang.pages)+" "+t._s(t.currentPage+1)+" "),2===t.zoomSettings.slidesToShow?a("span",[t._v("- "+t._s(t.currentPage+2))]):t._e()]),t._v(" / "+t._s(t.pageNum)+"\n ")])]):t._e()])])},staticRenderFns:[]},(function(t){t&&(t("data-v-0c220ba8_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}',map:void 0,media:void 0}),t("data-v-0c220ba8_1",{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-0c220ba8]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-0c220ba8]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-0c220ba8]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-0c220ba8]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-0c220ba8]{font-size:14px}}@media (min-width:1024px){[data-v-0c220ba8]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-0c220ba8]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-0c220ba8]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-0c220ba8]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-0c220ba8]{font-size:1.56vw}}html[data-v-0c220ba8]{box-sizing:border-box}*[data-v-0c220ba8],[data-v-0c220ba8]::after,[data-v-0c220ba8]::before{box-sizing:border-box}.invisible[data-v-0c220ba8]{opacity:0}.block-preview-mobile #page-0[data-v-0c220ba8]{margin-left:20px}.scrollable-preview-page-shadow[data-v-0c220ba8]:nth-child(odd){height:100%;width:100%;display:block;position:absolute;top:0;left:0;-webkit-box-shadow:-5px 7px 10px -4px rgba(0,0,0,.26);box-shadow:-5px 7px 10px -4px rgba(0,0,0,.26);z-index:2}.scrollable-preview-page-shadow[data-v-0c220ba8]:nth-child(even){height:100%;width:100%;display:block;position:absolute;top:0;left:0;-webkit-box-shadow:5px 7px 10px -4px rgba(0,0,0,.26);box-shadow:5px 7px 10px -4px rgba(0,0,0,.26)}.book-is-loading[data-v-0c220ba8]{filter:blur(8px);-webkit-filter:blur(8px)}.mini-cover-zoom[data-v-0c220ba8]{width:100%;display:inline-block;position:relative}.carousel[data-v-0c220ba8] .slick-list{width:100%!important}[data-v-0c220ba8] .slick-list{width:100%!important}.slick-list[data-v-0c220ba8]{width:100%!important}.img-book[data-v-0c220ba8]{position:relative;z-index:2}@keyframes shake-data-v-0c220ba8{0%{-webkit-transform:translateX(0);transform:translateX(0)}10%{-webkit-transform:translateX(20px);transform:translateX(20px)}20%{-webkit-transform:translateX(0);transform:translateX(0)}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes shake-data-v-0c220ba8{0%{-webkit-transform:translateX(0)}40%{-webkit-transform:translateX(20px)}50%{-webkit-transform:translateX(0)}60%{-webkit-transform:translateX(20px)}100%{-webkit-transform:translateX(0)}}.loading-box[data-v-0c220ba8]{position:relative;left:0;right:0;bottom:0;margin-bottom:auto;margin-top:auto;z-index:9999;text-align:center;font-family:Roboto;position:absolute;top:-5%;bottom:0;margin-top:auto;margin-bottom:auto;height:120px}.loading-box #loading[data-v-0c220ba8]{display:inline-block;border:8px solid #f3f3f3;border-top:8px solid #42cda1;border-radius:50%;width:80px;height:80px;animation:spin-data-v-0c220ba8 .6s linear infinite}@media (max-width:479px){.loading-box #loading[data-v-0c220ba8]{border:6px solid #f3f3f3;border-top:6px solid #42cda1;width:80px;height:80px;font-family:Roboto}}@keyframes spin-data-v-0c220ba8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.loading-box small[data-v-0c220ba8]{display:block;width:100%;font-size:14px;font-weight:700;font-family:Nunito,sans-serif;margin-top:16px}.loading-box h4[data-v-0c220ba8]{font-size:14px;margin-top:8px;font-weight:400;color:#afa2ba;font-family:Nunito}.slick-prev[data-v-0c220ba8]{left:15px;z-index:2;position:absolute;width:35px;height:35px;background-color:rgba(0,0,0,.4);border-radius:50px;text-align:center;display:flex;top:0;bottom:0;margin-top:auto;margin-bottom:auto}.slick-prev svg[data-v-0c220ba8]{position:absolute;margin:auto;top:2px;bottom:0;right:0;left:0}.slick-prev svg path[data-v-0c220ba8]{fill:#fff}.slick-prev svg rect[data-v-0c220ba8]{fill:#fff}.slick-next[data-v-0c220ba8]{right:15px;z-index:2;position:absolute;width:35px;height:35px;background-color:rgba(0,0,0,.4);border-radius:50px;text-align:center;display:flex;top:0;bottom:0;margin-top:auto;margin-bottom:auto}.slick-next svg[data-v-0c220ba8]{position:absolute;margin:auto;top:2px;bottom:0;right:0;left:0}.slick-next svg path[data-v-0c220ba8]{fill:#fff}.slick-next svg rect[data-v-0c220ba8]{fill:#fff}.page-count[data-v-0c220ba8]{color:#68596e;font-family:Nunito,sans-serif;text-align:center;font-size:1.5238095238rem;font-size:14px;font-weight:700;margin-top:5px}.page-count span[data-v-0c220ba8]{color:#fff}.zoom[data-v-0c220ba8]{background-color:rgba(0,0,0,.8);position:absolute;width:100%;min-height:100vh;top:0;left:0;z-index:25;padding-bottom:20px;z-index:25}.zoom .top-zoom[data-v-0c220ba8]{position:relative;height:4.2857142857rem}.zoom .top-zoom .close[data-v-0c220ba8]{width:13.8888888889vw;padding:8px;float:left;z-index:2;cursor:pointer}.zoom .top-zoom .close svg path[data-v-0c220ba8]{fill:#fff}.zoom .top-zoom .close svg rect[data-v-0c220ba8]{fill:#fff}.zoom .top-zoom .toggle[data-v-0c220ba8]{padding-right:4px;display:flex;float:right}.zoom .top-zoom .toggle .one-page[data-v-0c220ba8]{cursor:pointer;display:flex;height:35px;width:35px;border-radius:4px;background-color:#505050;margin-bottom:8px;margin-top:8px;margin-left:8px;align-items:center}.zoom .top-zoom .toggle .one-page svg[data-v-0c220ba8]{display:block;margin:0 auto}.zoom .top-zoom .toggle .one-page svg path[data-v-0c220ba8]{fill:#000}.zoom .top-zoom .toggle .one-page svg rect[data-v-0c220ba8]{fill:#000}.zoom .top-zoom .toggle .one-page.active[data-v-0c220ba8]{background-color:#999}.zoom .top-zoom .toggle .one-page.active svg[data-v-0c220ba8]{display:block;margin:0 auto}.zoom .top-zoom .toggle .one-page.active svg path[data-v-0c220ba8]{fill:#fff}.zoom .top-zoom .toggle .one-page.active svg rect[data-v-0c220ba8]{fill:#fff}.zoom .top-zoom .toggle .many-pages[data-v-0c220ba8]{cursor:pointer;display:flex;height:35px;width:35px;border-radius:4px;background-color:#505050;margin-bottom:8px;margin-top:8px;margin-left:8px;align-items:center}.zoom .top-zoom .toggle .many-pages svg[data-v-0c220ba8]{display:block;margin:0 auto}.zoom .top-zoom .toggle .many-pages svg path[data-v-0c220ba8]{fill:#000}.zoom .top-zoom .toggle .many-pages svg rect[data-v-0c220ba8]{fill:#000}.zoom .top-zoom .toggle .many-pages.active[data-v-0c220ba8]{background-color:#999}.zoom .top-zoom .toggle .many-pages.active svg path[data-v-0c220ba8]{fill:#fff}.zoom .top-zoom .toggle .many-pages.active svg rect[data-v-0c220ba8]{fill:#fff}.scope[data-v-0c220ba8]{background-color:#12d3db;position:absolute;padding:1.3333333333rem 1.4285714286rem;bottom:5px;right:16px;z-index:10;border-radius:500px;-webkit-box-shadow:0 10px 20px 0 #afa2ba;box-shadow:0 10px 20px 0 #afa2ba;z-index:2}.scope svg path[data-v-0c220ba8]{fill:#fff}.preview-page[data-v-0c220ba8]{position:relative;z-index:9;background-color:#f8f7fc}.block-preview-mobile[data-v-0c220ba8]{position:relative;max-width:1024px}.list-mobile[data-v-0c220ba8]{width:100%;overflow-x:scroll;text-align:left;scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.list-mobile .mobile-shelf[data-v-0c220ba8]{padding-bottom:20px}.list-mobile .mobile-shelf.active[data-v-0c220ba8]{-webkit-animation:shake-data-v-0c220ba8 1.6s ease-in-out infinite;animation:shake-data-v-0c220ba8 1.6s ease-in-out infinite}.mini-cover[data-v-0c220ba8]{display:inline-block;max-width:225px;position:relative;width:100%;text-align:left;margin:0 5px}.mini-cover[data-v-0c220ba8]:first-child{margin-right:5px}.mini-cover[data-v-0c220ba8]:nth-child(odd){margin-left:0}.mini-cover[data-v-0c220ba8]:nth-child(odd):before{content:"";position:absolute;width:100%;height:100%;background-image:-webkit-gradient(linear,left top,right top,from(black),color-stop(8%,transparent));background-image:linear-gradient(to right,#000,transparent 8%);opacity:.15;z-index:10}.mini-cover[data-v-0c220ba8]:nth-child(even){margin-right:0}.mini-cover[data-v-0c220ba8]:nth-child(even):before{content:"";position:absolute;width:100%;height:100%;background-image:-webkit-gradient(linear,right top,left top,from(black),color-stop(4%,transparent));background-image:linear-gradient(to left,#000,transparent 4%);opacity:.15;z-index:10}.mini-cover img[data-v-0c220ba8]{width:100%;filter:none!important;-webkit-filter:none!important;max-height:437px;display:block}hr[data-v-0c220ba8]{margin:10px -1.5rem}h1[data-v-0c220ba8]{font-family:Nunito;font-size:24px;font-weight:900;font-style:normal;font-stretch:normal;line-height:normal;letter-spacing:normal;color:#000;margin-top:0;margin-bottom:15px}h1[data-v-0c220ba8]:first-child{display:none}.ddh-sidebar[data-v-0c220ba8],.ddh-sidebar.hide-sidebar[data-v-0c220ba8]{display:none!important}html[data-v-0c220ba8]{--scale:1;--translate:0%}.loading-bg-mobile[data-v-0c220ba8]{display:block;width:100%;height:100%;position:absolute;top:0;opacity:.65;display:flex;align-items:center;justify-content:center;z-index:4}.loading-bg-mobile .loading[data-v-0c220ba8]{border:8px solid #f3f3f3;border-top:8px solid #42cda1;border-radius:50%;width:2.8571428571rem;height:2.8571428571rem;animation:spin-data-v-0c220ba8 .6s linear infinite}@media (max-width:479px){.loading-bg-mobile .loading[data-v-0c220ba8]{border:6px solid #f3f3f3;border-top:6px solid #42cda1;width:3.738317757rem;height:3.738317757rem}}@keyframes spin-data-v-0c220ba8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.loading-bg[data-v-0c220ba8]{background-color:#fff;display:block;width:100%;height:100%;position:absolute;top:0;opacity:.65;display:flex;align-items:center;justify-content:center;z-index:999}.loading-bg .loading[data-v-0c220ba8]{border:8px solid #f3f3f3;border-top:8px solid #42cda1;border-radius:50%;width:2.8571428571rem;height:2.8571428571rem;animation:spin-data-v-0c220ba8 .6s linear infinite}@media (max-width:479px){.loading-bg .loading[data-v-0c220ba8]{border:6px solid #f3f3f3;border-top:6px solid #42cda1;width:3.738317757rem;height:3.738317757rem}}@keyframes spin-data-v-0c220ba8{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.loading-view[data-v-0c220ba8]{position:absolute;top:0;width:100%;height:100%;background:#fff;position:absolute;width:100%;top:0;z-index:200;display:flex;align-items:center;justify-content:center;flex-direction:column}.return[data-v-0c220ba8]{position:fixed;z-index:99}.return .icon[data-v-0c220ba8]{width:38px;height:38px;position:absolute;z-index:30;padding:.95238rem 2.77778vw}.return .icon svg[data-v-0c220ba8]{width:38px;height:38px}.return .icon svg path[data-v-0c220ba8]{fill:#afa2ba!important;stroke:#afa2ba!important;transition:all .1s cubic-bezier(.4,0,.2,1)}.return .icon[data-v-0c220ba8]:hover{cursor:pointer}.return .icon:hover path[data-v-0c220ba8],.return .icon:hover svg[data-v-0c220ba8]{fill:#1ad3d9!important;stroke:#1ad3d9!important}.return .icon:active svg[data-v-0c220ba8]{transform:scale(.9)}',map:void 0,media:void 0}))}),{name:"PreviewMobile",components:{VueSlickCarousel:l,Icon:L},props:{uuid:{type:String,required:!0},
1277
1289
  /** Number of pages. `32` */
1278
1290
  pages:{type:Number,required:!0},
1279
1291
  /** Product ID. `109` */
1280
1292
  product_id:{type:Number,required:!0},
1281
1293
  /** If preloaded images are base64 formated. `false` */
1282
- base64:{type:Boolean,required:!1},typeLanguage:{type:String,required:!1,default:"br"},zoom:{type:Boolean,required:!1,default:!0},apiUrl:{type:String,required:!1,default:"https://builder.dentrodahistoria.com.br"}},data:function(){var t;return j(t={mobileStopped:!0,pageNum:32,pagesToRender:[],pagesZoom:[],numberPositions:0,mobilePagePosition:0,loadedPages:3,loadedPagesZoom:1,isLoading:!1,lang:ft[this.typeLanguage],zoomActive:!1,zoomMultiPages:!1,zoomSettings:{dots:!1,focusOnSelect:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,touchThreshold:5},currentPage:0},"lang",ft[this.typeLanguage]),j(t,"marginMenu",0),t},mounted:function(){var t=this;this.pageNum=this.pages,this.initBookMobile(),this.initBookMobileZoom(),setTimeout((function(){t.isLoading=!0}),3e3);var e=document.getElementById("header-menu");e&&(t.marginMenu=e.offsetHeight+40),window.addEventListener("resize",(function(e){var a=document.getElementById("header-menu");a&&(t.marginMenu=a.offsetHeight+40)}))},updated:function(){var t=this;this.$nextTick((function(){document.getElementById("page-"+(t.loadedPages-1))&&(t.mobilePagePosition=document.getElementById("page-"+(t.loadedPages-1)).offsetLeft-50,document.getElementById("list-mobile").addEventListener("scroll",t.handleScroll))}))},methods:{changeZoom:function(t,e){this.currentPage=e,(2==this.zoomSettings.slidesToShow&&this.currentPage+1===this.loadedPagesZoom||1==this.zoomSettings.slidesToShow&&this.currentPage===this.loadedPagesZoom)&&this.getZoomList()},setFormatZoom:function(t){this.zoomSettings.slidesToShow=t,this.zoomSettings.slidesToScroll=t,this.currentPage=0},openZoom:function(){this.mobileStopped=!1,this.getZoomList(),this.zoomActive=!0},closeZoom:function(){this.zoomSettings.slidesToShow=1,this.zoomActive=!1},initBookMobile:function(){this.loadedPages=1;for(var t=1;t<this.pageNum;t++)if(t<5){var e={url:this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+t+"&w=533&pw=0&noCache=true",isLoaded:!0};this.pagesToRender.push(e)}else{var a={url:this.apiUrl+"/api/builder/getplaceholder/"+this.product_id+"?page="+t+"&w=100&pw=0&noCache=true",isLoaded:!1};this.pagesToRender.push(a)}this.moreBooksMobile()},initBookMobileZoom:function(){this.loadedPages=1;for(var t=1;t<this.pageNum+1;t++)if(t<5){var e={url:this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+t+"&w=533&pw=0&noCache=true",isLoaded:!0};this.pagesZoom.push(e)}else{var a={url:this.apiUrl+"/api/builder/getplaceholder/"+this.product_id+"?page="+t+"&w=100&pw=0&noCache=true",isLoaded:!1};this.pagesZoom.push(a)}},getZoomList:function(){for(var t=this,e=this,a=function(){var a=i;o=t.apiUrl+"/api/builder/getpreview/"+e.uuid+"?page="+i+"&w=533&v=0",zt.get(o,{responseType:"arraybuffer"}).then((function(t){var i={url:"data:image/png;base64,"+new Buffer.from(t.data,"binary").toString("base64"),isLoaded:!0};e.pagesZoom.splice(a-1,1,i)}))},i=e.loadedPagesZoom;i<=e.loadedPagesZoom+4&&i<=e.pageNum;i++){var o;a()}e.loadedPagesZoom=e.loadedPagesZoom+4},moreBooksMobile:function(){for(var t=this,e=this,a=function(){var a=i;o=t.apiUrl+"/api/builder/getpreview/"+e.uuid+"?page="+i+"&w=533&v=0",zt.get(o,{responseType:"arraybuffer"}).then((function(t){var i={url:"data:image/png;base64,"+new Buffer.from(t.data,"binary").toString("base64"),isLoaded:!0};e.pagesToRender.splice(a-1,1,i)}))},i=e.loadedPages;i<=e.loadedPages+4&&i<=e.pageNum;i++){var o;a()}e.loadedPages=e.loadedPages+4,document.getElementById("page-"+e.loadedPages-1)&&(e.mobilePagePosition=document.getElementById("page-"+e.loadedPages).offsetLeft-50)},handleScroll:function(t){null!==document.getElementById("list-mobile")&&document.getElementById("list-mobile").scrollLeft>=this.mobilePagePosition&&this.moreBooksMobile(),this.mobileStopped=!1},startedMethod:function(){this.$emit("start")},completedMethod:function(t){this.$emit("completed",t)}},computed:{}},"data-v-0c220ba8",!1,void 0,!1,b,void 0,void 0),_t=require("axios"),Ct=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"custom-properties",class:t.modalIsOpen()?"active":""},[a("div",{staticClass:"list-properties"},[a("div",{staticClass:"title-custom-properties"},[a("span",[t._v(t._s(t.lang.editArea))])]),t._v(" "),a("div",{staticClass:"itens-properties"},[t.have_name?a("div",{staticClass:"item",on:{click:function(e){return t.showModalName()}}},[a("label",[t._v(t._s(t.lang.name))]),t._v(" "),a("span",[t._v(t._s(t.current_character_name))]),t._v(" "),a("svg",{attrs:{"data-v-3a786fa4":"",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"}},[a("path",{attrs:{"data-v-3a786fa4":"",fill:"#01DFA1",d:"M14.584 7.33l-.01.009 2.659 2.658.01-.01a1.88 1.88 0 1 0-2.658-2.658l-.001.001zm-.454.454L8.163 13.75l2.658 2.659 5.967-5.967-2.658-2.658zm-6.373 6.45L7 17.572l3.338-.757-2.58-2.58-.001-.001z"}})])]):t._e(),t._v(" "),a("div",{staticClass:"item",on:{click:function(e){return t.showModalDedication()}}},[a("label",[t._v(t._s(t.lang.dedication))]),t._v(" "),a("span",[t._v(t._s(t.dedication_text?t.dedicationText:t.lang.writeDedication))]),t._v(" "),a("svg",{attrs:{"data-v-3a786fa4":"",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"}},[a("path",{attrs:{"data-v-3a786fa4":"",fill:"#01DFA1",d:"M14.584 7.33l-.01.009 2.659 2.658.01-.01a1.88 1.88 0 1 0-2.658-2.658l-.001.001zm-.454.454L8.163 13.75l2.658 2.659 5.967-5.967-2.658-2.658zm-6.373 6.45L7 17.572l3.338-.757-2.58-2.58-.001-.001z"}})])]),t._v(" "),t.have_shirt_number?a("div",{staticClass:"item",on:{click:function(e){return t.showModalShirtNumber()}}},[a("label",[t._v(t._s(t.lang.shirtNumber))]),t._v(" "),a("span",[t._v(t._s(t.currentShirtNumber))]),t._v(" "),a("svg",{attrs:{"data-v-3a786fa4":"",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"}},[a("path",{attrs:{"data-v-3a786fa4":"",fill:"#01DFA1",d:"M14.584 7.33l-.01.009 2.659 2.658.01-.01a1.88 1.88 0 1 0-2.658-2.658l-.001.001zm-.454.454L8.163 13.75l2.658 2.659 5.967-5.967-2.658-2.658zm-6.373 6.45L7 17.572l3.338-.757-2.58-2.58-.001-.001z"}})])]):t._e(),t._v(" "),t.availableLayouts[t.currentLayout]&&t.have_layout?a("div",{staticClass:"item",on:{click:function(e){return t.showModalScript()}}},[a("label",[t._v(t._s(t.lang.bookScript))]),t._v(" "),a("span",[t._v(t._s(t.availableLayouts[t.currentLayout].name))]),t._v(" "),a("svg",{attrs:{"data-v-3a786fa4":"",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"}},[a("path",{attrs:{"data-v-3a786fa4":"",fill:"#01DFA1",d:"M14.584 7.33l-.01.009 2.659 2.658.01-.01a1.88 1.88 0 1 0-2.658-2.658l-.001.001zm-.454.454L8.163 13.75l2.658 2.659 5.967-5.967-2.658-2.658zm-6.373 6.45L7 17.572l3.338-.757-2.58-2.58-.001-.001z"}})])]):t._e(),t._v(" "),t.have_birth_date?a("div",{staticClass:"item",on:{click:function(e){return t.showModalBirthdate()}}},[a("label",[t._v(t._s(t.lang.dateBirth))]),t._v(" "),a("span",[t._v(t._s(t.selectedBirthDay)+" de "+t._s(t.months[t.selectedBirthMonth].value))]),t._v(" "),a("svg",{attrs:{"data-v-3a786fa4":"",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"}},[a("path",{attrs:{"data-v-3a786fa4":"",fill:"#01DFA1",d:"M14.584 7.33l-.01.009 2.659 2.658.01-.01a1.88 1.88 0 1 0-2.658-2.658l-.001.001zm-.454.454L8.163 13.75l2.658 2.659 5.967-5.967-2.658-2.658zm-6.373 6.45L7 17.572l3.338-.757-2.58-2.58-.001-.001z"}})])]):t._e(),t._v(" "),t.have_pet?a("div",{staticClass:"item",on:{click:function(e){return t.showModalPet()}}},[a("label",[t._v(t._s(t.lang.pet))]),t._v(" "),a("span",[t._v("BETE")]),t._v(" "),a("svg",{attrs:{"data-v-3a786fa4":"",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"}},[a("path",{attrs:{"data-v-3a786fa4":"",fill:"#01DFA1",d:"M14.584 7.33l-.01.009 2.659 2.658.01-.01a1.88 1.88 0 1 0-2.658-2.658l-.001.001zm-.454.454L8.163 13.75l2.658 2.659 5.967-5.967-2.658-2.658zm-6.373 6.45L7 17.572l3.338-.757-2.58-2.58-.001-.001z"}})])]):t._e()])]),t._v(" "),t.modalName?a("Modal",{attrs:{heading:t.lang.editName},on:{closeModal:t.closeModal}},[a("Input",{attrs:{type:"text",numeric:!1,name:"name",label:t.lang.kidName,placeholder:"",helper:t.lang.recommendName,value:t.current_character_name,disabled:!1},on:{update:t.updateName}}),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.changeLayout()}}},[t._v("\n "+t._s(t.lang.update)+"\n ")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n "+t._s(t.lang.cancel)+"\n ")])],1)],1):t._e(),t._v(" "),t.modalDedication?a("Modal",{attrs:{heading:t.lang.dedicationFree,paragraph:t.lang.cusutomDedication},on:{closeModal:t.closeModal}},[a("TextArea",{attrs:{name:"dedication",value:t.dedicationText,label:t.lang.messageDedication,placeholder:t.lang.dedcationPlaceholder,maxlength:300,counter:!0,disabled:!1},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:void e.preventDefault()},update:t.updateDedicationText}}),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.changeDedication()}}},[t._v("\n "+t._s(t.lang.update)+"\n ")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n "+t._s(t.lang.cancel)+"\n ")])],1)],1):t._e(),t._v(" "),t.modalShirtNumber?a("Modal",{attrs:{heading:t.lang.editShirt},on:{closeModal:t.closeModal}},[a("Input",{attrs:{type:"text",numeric:!1,name:"number",label:t.lang.shirtNumber,placeholder:"",helper:t.reccomendName,value:t.currentShirtNumber,disabled:!1},on:{change:t.updateShirtNumber}}),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.changeLayout()}}},[t._v("\n "+t._s(t.lang.update)+"\n ")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n "+t._s(t.lang.cancel)+"\n ")])],1)],1):t._e(),t._v(" "),t.modalScript?a("Modal",{attrs:{heading:t.lang.chooseScript,paragraph:t.lang.choosePetLabel1+" <b>"+t.current_character_name+"</b> "+t.lang.choosePetLabel1},on:{closeModal:t.closeModal}},[a("div",{staticClass:"layout-boxes"},t._l(t.availableLayouts,(function(e,i){return a("div",{key:i,staticClass:"layout-option",class:t.currentLayout==i?"active":"inactive",on:{click:function(e){return t.setCurrentLayout(i)}}},[a("div",{staticClass:"imagem"},[a("img",{attrs:{width:"100%",src:"https://doo8f8ypwd7it.cloudfront.net/brasilprevjunior/img/capitao@2x.890754be.png",alt:""}})]),t._v(" "),a("div",{staticClass:"panel-title"},[a("div",{staticClass:"title"},[t._v(t._s(e.name))]),t._v(" "),a("div",{staticClass:"flag",class:t.currentLayout==i?"active":"inactive"},[a("Icon",{attrs:{name:"check"}})],1)])])})),0),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.changeLayout()}}},[t._v("\n "+t._s(t.lang.update)+"\n ")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n "+t._s(t.lang.cancel)+"\n ")])],1)]):t._e(),t._v(" "),t.modalBirthdate?a("Modal",{attrs:{heading:t.lang.editDateBirth},on:{closeModal:t.closeModal}},[a("div",{staticClass:"box-dates-columns"},[a("div",{staticClass:"day"},[a("Select",{attrs:{selected:t.selectedBirthDay,name:"day",label:"Dia",placeholder:"Dia",options:t.days},on:{change:t.onChangeDay}})],1),t._v(" "),a("div",{staticClass:"month"},[a("Select",{attrs:{selected:t.selectedBirthMonth,name:"month",label:"Mês",placeholder:"Mês",options:t.months},on:{change:t.onChangeMonth}})],1)]),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.changeLayout()}}},[t._v("\n "+t._s(t.lang.update)+"\n ")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n "+t._s(t.lang.cancel)+"\n ")])],1)]):t._e(),t._v(" "),t.modalPet?a("Modal",{attrs:{heading:"Altere o bichinho da história",paragraph:"Esse bichinho acompanhará "+t.currentName+" em toda a história."},on:{closeModal:t.closeModal}},[a("div",{staticClass:"pet-view"},[a("div",{staticClass:"pet-selectors",style:t.currentPetColor?"width: 70%;":""},[a("div",{},[a("Input",{attrs:{value:t.currentPetName,error:"",helper:"",label:t.lang.typePetname,name:"currentPetName"},on:{input:function(e){t.currentPetName=e.target.value}}})],1),t._v(" "),a("label",{staticClass:"pet-label"},[t._v(t._s(t.lang.selectPet))]),t._v(" "),t.listPet&&t.listPet.assets?a("div",{staticClass:"pet-list"},t._l(t.listPet.assets.subcategories,(function(e,i){return a("div",{key:i,class:t.currentPet===e?"active":"inactive",on:{click:function(a){return t.setPet(e)}}},[a("img",{attrs:{src:e.assets.icon,alt:""}}),t._v(" "),a("br")])})),0):t._e(),t._v(" "),t.currentPet&&t.currentPet.assets?a("div",{staticClass:"color-list"},t._l(t.currentPet.assets.colors,(function(e,i){return a("div",{key:i,on:{click:function(a){return t.setColor(e)}}},[a("div",[a("div",{staticClass:"color",class:t.currentPetColor===e?"is-selected":"inactive",style:"background-color:"+e.hexa},[e.auxiliary?a("span",{staticClass:"secondary-color",style:"background-color:"+e.auxiliary}):t._e()])])])})),0):t._e()]),t._v(" "),t.currentPetColor.assets?a("div",{staticClass:"pet-avatar",style:t.currentPetColor?"width: 30%;":""},[a("img",{attrs:{src:t.currentPetColor.assets.asset,alt:""}}),t._v(" "),a("br")]):t._e()]),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.changeLayout}},[t._v("\n "+t._s(t.lang.update)+"\n ")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n "+t._s(t.lang.cancel)+"\n ")])],1)]):t._e()],1)},staticRenderFns:[]},(function(t){t&&t("data-v-aea51fa0_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-aea51fa0]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-aea51fa0]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-aea51fa0]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-aea51fa0]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-aea51fa0]{font-size:14px}}@media (min-width:1024px){[data-v-aea51fa0]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-aea51fa0]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-aea51fa0]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-aea51fa0]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-aea51fa0]{font-size:1.56vw}}html[data-v-aea51fa0]{box-sizing:border-box}*[data-v-aea51fa0],[data-v-aea51fa0]::after,[data-v-aea51fa0]::before{box-sizing:border-box}.custom-properties[data-v-aea51fa0]{right:60px;text-align:left;top:5.7142857143rem;max-width:240px;font-family:Roboto;width:100%;position:absolute;z-index:3;overflow:initial}.custom-properties.active[data-v-aea51fa0]{z-index:10}@media (max-width:990px){.custom-properties[data-v-aea51fa0]{max-width:100%;width:100%;left:0;bottom:0;border-radius:0;top:0;background:0 0;height:100vh}}.custom-properties .list-properties[data-v-aea51fa0]{background-color:#fff;box-shadow:4px 8px 24px rgba(175,162,186,.24);width:100%;background-color:#fff;border-radius:8px}@media (max-width:990px){.custom-properties .list-properties[data-v-aea51fa0]{width:100%;background-color:#fff;position:relative;border-radius:0}}.custom-properties .title-custom-properties[data-v-aea51fa0]{padding:.7619047619rem;border-bottom:2px solid #923fda;width:100%;line-height:15px}.custom-properties .title-custom-properties span[data-v-aea51fa0]{font-family:Nunito;font-size:14px;color:#68596e}.custom-properties .itens-properties .item[data-v-aea51fa0]{position:relative;padding:.7619047619rem;border-bottom:1px solid #dfdae4;cursor:pointer;width:100%}.custom-properties .itens-properties .item svg[data-v-aea51fa0]{position:absolute;right:.380952381rem;top:1.0476190476rem;width:36px}.custom-properties .itens-properties .item[data-v-aea51fa0]:last-child{border-bottom:0}.custom-properties .itens-properties label[data-v-aea51fa0]{display:block;width:100%;color:#afa2ba!important;font-size:12px;margin-bottom:0!important}.custom-properties .itens-properties span[data-v-aea51fa0]{display:block;width:100%;white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis;font-size:14px;color:#68596e}.custom-properties .itens-properties hr[data-v-aea51fa0]{margin:0!important;margin-bottom:10px!important;margin-top:10px!important}.custom-properties .itens-properties .flex[data-v-aea51fa0]{cursor:pointer;position:relative}.custom-properties .itens-properties .flex svg[data-v-aea51fa0]{position:absolute;right:0;top:.8571428571rem}.layout-boxes[data-v-aea51fa0]{display:flex}.layout-option[data-v-aea51fa0]{background:#fff;border-radius:.4761904762rem;border:2px solid transparent;margin-top:5px;margin-bottom:5px;cursor:pointer;position:relative;flex-basis:100%;-webkit-box-shadow:-1px 2px 22px -14px rgba(0,0,0,.75);-moz-box-shadow:-1px 2px 22px -14px rgba(0,0,0,.75);box-shadow:-1px 2px 22px -14px rgba(0,0,0,.75);margin:1%;overflow:hidden}.layout-option .panel-title[data-v-aea51fa0]{display:flex;padding-bottom:.4761904762rem}.layout-option .panel-title .title[data-v-aea51fa0]{font-family:Roboto;color:#68596e;width:8.3333333333vw;justify-content:center;align-self:center;align-items:center;font-size:.6666666667rem;padding-left:.4761904762rem}.layout-option .panel-title .flag[data-v-aea51fa0]{text-align:center;width:2.7777777778vw}.layout-option .panel-title .flag .icon[data-v-aea51fa0]{border-radius:5px;border:solid 2px #e9eaed;background-color:#fff;width:1.4285714286rem;height:1.4285714286rem;display:flex;justify-content:center;align-self:center;align-items:center}.layout-option .panel-title .flag .icon[data-v-aea51fa0] svg{width:1.4285714286rem;height:1.4285714286rem}.layout-option .panel-title .flag .icon[data-v-aea51fa0] svg path{fill:#e9eaed!important}.layout-option.active[data-v-aea51fa0]{border:2px solid #01dfa1}.layout-option.active .panel-title .title[data-v-aea51fa0]{color:#68596e}.layout-option.active .panel-title .flag span[data-v-aea51fa0]{border:solid 2px #2dd3d8;background-color:#2dd3d8}.layout-option.active .panel-title .flag[data-v-aea51fa0] svg path{fill:#fff!important}.pet-view[data-v-aea51fa0]{width:100%;display:flex}.pet-view .pet-label[data-v-aea51fa0]{font-family:Roboto,sans-serif;color:#68596e;line-height:1.5;font-size:.7619047619rem;text-align:left}@media (max-width:479px){.pet-view .pet-label[data-v-aea51fa0]{font-size:1.308411215rem}}.pet-selectors[data-v-aea51fa0]{width:100%}.pet-selectors p[data-v-aea51fa0]{margin:0;font-size:.7619047619rem}.pet-selectors .input-text-group[data-v-aea51fa0]{padding-bottom:0}.pet-list[data-v-aea51fa0]{width:100%;display:flex}.pet-list div[data-v-aea51fa0]{margin:.2380952381rem;cursor:pointer}.pet-list img[data-v-aea51fa0]{width:100%}.color-list[data-v-aea51fa0]{width:100%;display:flex}.color[data-v-aea51fa0]{height:1.9047619048rem;width:1.9047619048rem;display:block;border-radius:100%;margin-left:.2857142857rem;margin-right:.2857142857rem;padding:.1428571429rem;border:.0952380952rem solid #efefef;-webkit-transition:border-color .3s cubic-bezier(.4,0,.2,1);transition:border-color .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;cursor:pointer}.color.is-selected[data-v-aea51fa0]{border-color:#01dfa1}.color .secondary-color[data-v-aea51fa0]{width:50%;position:absolute;right:0;height:100%;top:0}.footer-pet[data-v-aea51fa0]{width:100%;display:flex}.footer-pet .cancel[data-v-aea51fa0]{margin-left:20px;background-color:none;background-image:none;box-shadow:none;padding:0;border-radius:0;color:#68596e;background:0 0}.box-dates-columns[data-v-aea51fa0]{display:flex}.box-dates-columns .day[data-v-aea51fa0]{width:11.1111111111vw}.box-dates-columns .month[data-v-aea51fa0]{padding-left:.7619047619rem;width:22.2222222222vw}',map:void 0,media:void 0})}),{name:"PreviewTools",components:{Vue:c,Heading:ut,Paragraph:gt,Icon:I,Modal:vt,Input:F,Button:E,TextArea:ct,Select:V},props:{
1294
+ base64:{type:Boolean,required:!1},typeLanguage:{type:String,required:!1,default:"br"},zoom:{type:Boolean,required:!1,default:!0},apiUrl:{type:String,required:!1,default:"https://builder.dentrodahistoria.com.br"}},data:function(){var t;return j(t={mobileStopped:!0,pageNum:32,pagesToRender:[],pagesZoom:[],numberPositions:0,mobilePagePosition:0,loadedPages:3,loadedPagesZoom:1,isLoading:!1,lang:ft[this.typeLanguage],zoomActive:!1,zoomMultiPages:!1,zoomSettings:{dots:!1,focusOnSelect:!0,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,touchThreshold:5},currentPage:0},"lang",ft[this.typeLanguage]),j(t,"marginMenu",0),t},mounted:function(){var t=this;this.pageNum=this.pages,this.initBookMobile(),this.initBookMobileZoom(),setTimeout((function(){t.isLoading=!0}),3e3);var e=document.getElementById("header-menu");e&&(t.marginMenu=e.offsetHeight+40),window.addEventListener("resize",(function(e){var a=document.getElementById("header-menu");a&&(t.marginMenu=a.offsetHeight+40)}))},updated:function(){var t=this;this.$nextTick((function(){document.getElementById("page-"+(t.loadedPages-1))&&(t.mobilePagePosition=document.getElementById("page-"+(t.loadedPages-1)).offsetLeft-50,document.getElementById("list-mobile").addEventListener("scroll",t.handleScroll))}))},methods:{changeZoom:function(t,e){this.currentPage=e,(2==this.zoomSettings.slidesToShow&&this.currentPage+1===this.loadedPagesZoom||1==this.zoomSettings.slidesToShow&&this.currentPage===this.loadedPagesZoom)&&this.getZoomList()},setFormatZoom:function(t){this.zoomSettings.slidesToShow=t,this.zoomSettings.slidesToScroll=t,this.currentPage=0},openZoom:function(){this.mobileStopped=!1,this.getZoomList(),this.zoomActive=!0},closeZoom:function(){this.zoomSettings.slidesToShow=1,this.zoomActive=!1},initBookMobile:function(){this.loadedPages=1;for(var t=1;t<this.pageNum;t++)if(t<5){var e={url:this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+t+"&w=533&pw=0&noCache=true",isLoaded:!0};this.pagesToRender.push(e)}else{var a={url:this.apiUrl+"/api/builder/getplaceholder/"+this.product_id+"?page="+t+"&w=100&pw=0&noCache=true",isLoaded:!1};this.pagesToRender.push(a)}this.moreBooksMobile()},initBookMobileZoom:function(){this.loadedPages=1;for(var t=1;t<this.pageNum+1;t++)if(t<5){var e={url:this.apiUrl+"/api/builder/getpreview/"+this.uuid+"?page="+t+"&w=533&pw=0&noCache=true",isLoaded:!0};this.pagesZoom.push(e)}else{var a={url:this.apiUrl+"/api/builder/getplaceholder/"+this.product_id+"?page="+t+"&w=100&pw=0&noCache=true",isLoaded:!1};this.pagesZoom.push(a)}},getZoomList:function(){for(var t=this,e=this,a=function(){var a=i;o=t.apiUrl+"/api/builder/getpreview/"+e.uuid+"?page="+i+"&w=533&v=0",kt.get(o,{responseType:"arraybuffer"}).then((function(t){var i={url:"data:image/png;base64,"+new Buffer.from(t.data,"binary").toString("base64"),isLoaded:!0};e.pagesZoom.splice(a-1,1,i)}))},i=e.loadedPagesZoom;i<=e.loadedPagesZoom+4&&i<=e.pageNum;i++){var o;a()}e.loadedPagesZoom=e.loadedPagesZoom+4},moreBooksMobile:function(){for(var t=this,e=this,a=function(){var a=i;o=t.apiUrl+"/api/builder/getpreview/"+e.uuid+"?page="+i+"&w=533&v=0",kt.get(o,{responseType:"arraybuffer"}).then((function(t){var i={url:"data:image/png;base64,"+new Buffer.from(t.data,"binary").toString("base64"),isLoaded:!0};e.pagesToRender.splice(a-1,1,i)}))},i=e.loadedPages;i<=e.loadedPages+4&&i<=e.pageNum;i++){var o;a()}e.loadedPages=e.loadedPages+4,document.getElementById("page-"+e.loadedPages-1)&&(e.mobilePagePosition=document.getElementById("page-"+e.loadedPages).offsetLeft-50)},handleScroll:function(t){null!==document.getElementById("list-mobile")&&document.getElementById("list-mobile").scrollLeft>=this.mobilePagePosition&&this.moreBooksMobile(),this.mobileStopped=!1},startedMethod:function(){this.$emit("start")},completedMethod:function(t){this.$emit("completed",t)}},computed:{}},"data-v-0c220ba8",!1,void 0,!1,b,void 0,void 0),Ct=require("axios"),Mt=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"main-tool",class:[t.modalIsOpen()?"active":"",t.sidebarOpen?"active":"inactive"]},[a("div",{staticClass:"backdrop",on:{click:function(e){return t.toggleSidebar()}}}),t._v(" "),a("div",{staticClass:"custom-properties",class:[t.modalIsOpen()?"active":"",t.sidebarOpen?"active":"inactive"]},[a("div",{staticClass:"box-close",style:t.cssProps,on:{click:function(e){return t.toggleSidebar()}}},[a("Icon",{attrs:{name:"close",fill:t.preview_color,stroke:"transparent"}}),t._v(" "),a("Icon",{attrs:{name:"edit",fill:"#fff",stroke:"transparent"}})],1),t._v(" "),a("div",{staticClass:"list-properties"},[a("div",{staticClass:"title-custom-properties"},[a("Heading",{attrs:{kind:"h4",size:"sm",color:"#68596E"}},[t._v(t._s(t.lang.editArea))])],1),t._v(" "),a("HR",{attrs:{height:"1px",color:t.preview_color}}),t._v(" "),t.extras?a("div",{staticClass:"itens-properties"},t._l(t.extras,(function(e,i){return a("div",{key:i,staticClass:"item",on:{click:function(a){return t.showModal(e.code)}}},[a("div",["nome"==e.code?a("label",[t._v(t._s(t.lang.name))]):t._e(),t._v(" "),"dedicatoria"==e.code?a("label",[t._v(t._s(t.lang.dedication))]):t._e(),t._v(" "),"nome-do-mooner"==e.code?a("label",[t._v(t._s(t.lang.moonerLabelSidebar))]):t._e(),t._v(" "),"number"==e.code?a("label",[t._v(t._s(t.lang.shirtNumber))]):t._e(),t._v(" "),"nome"==e.code?a("span",[t._v(t._s(e.value))]):t._e(),t._v(" "),"dedicatoria"==e.code?a("span",[t._v(t._s(e.value))]):t._e(),t._v(" "),"nome-do-mooner"==e.code?a("span",[t._v(t._s(e.value))]):t._e(),t._v(" "),"pet"==e.code?a("span",[t._v(t._s(e.value.name))]):t._e(),t._v(" "),"number"==e.code?a("span",[t._v(t._s(e.value))]):t._e(),t._v(" "),a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"}},[a("path",{attrs:{fill:t.preview_color,d:"M14.584 7.33l-.01.009 2.659 2.658.01-.01a1.88 1.88 0 1 0-2.658-2.658l-.001.001zm-.454.454L8.163 13.75l2.658 2.659 5.967-5.967-2.658-2.658zm-6.373 6.45L7 17.572l3.338-.757-2.58-2.58-.001-.001z"}})])])])})),0):t._e()],1)]),t._v(" "),t.modalName?a("Modal",{attrs:{heading:t.lang.kidName,headingColor:t.preview_color,paragraph:"Para deixar o livro mais legal use apenas o primeiro nome"},on:{closeModal:t.closeModal}},[a("Input",{attrs:{type:"text",numeric:!1,name:"name",label:t.lang.kidName,placeholder:"",helper:t.lang.recommendName,value:t.current_character_name,disabled:!1},on:{update:t.updateName}}),t._v(" "),a("div",{staticClass:"name-footer",attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.updateNameAndDedicationCustomCharacter()}}},[t._v("\n\t\t\t\t"+t._s(t.lang.update)+"\n\t\t\t")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n\t\t\t\t"+t._s(t.lang.cancel)+"\n\t\t\t")])],1)],1):t._e(),t._v(" "),t.modalDedication?a("Modal",{attrs:{heading:t.lang.dedicationFree,paragraph:t.lang.cusutomDedication},on:{closeModal:t.closeModal}},[a("TextArea",{attrs:{name:"dedication",value:t.dedicationText,label:t.lang.messageDedication,placeholder:t.lang.dedcationPlaceholder,maxlength:300,counter:!0,disabled:!1},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:void e.preventDefault()},update:t.updateDedicationText}}),t._v(" "),a("div",{staticClass:"dedication-footer",attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.updateNameAndDedicationCustomCharacter()}}},[t._v("\n\t\t\t\t"+t._s(t.lang.update)+"\n\t\t\t")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n\t\t\t\t"+t._s(t.lang.cancel)+"\n\t\t\t")])],1)],1):t._e(),t._v(" "),t.modalShirtNumber?a("Modal",{attrs:{heading:t.lang.editShirt},on:{closeModal:t.closeModal}},[a("Input",{attrs:{type:"text",numeric:!1,name:"number",label:t.lang.shirtNumber,placeholder:"",helper:t.reccomendName,value:t.currentShirtNumber,disabled:!1},on:{change:t.updateShirtNumber}}),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.changeLayout()}}},[t._v("\n\t\t\t\t"+t._s(t.lang.update)+"\n\t\t\t")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n\t\t\t\t"+t._s(t.lang.cancel)+"\n\t\t\t")])],1)],1):t._e(),t._v(" "),t.modalScript?a("Modal",{attrs:{heading:t.lang.chooseScript,paragraph:t.lang.choosePetLabel1+" <b>"+t.current_character_name+"</b> "+t.lang.choosePetLabel1},on:{closeModal:t.closeModal}},[a("div",{staticClass:"layout-boxes"},t._l(t.availableLayouts,(function(e,i){return a("div",{key:i,staticClass:"layout-option",class:t.currentLayout==i?"active":"inactive",on:{click:function(e){return t.setCurrentLayout(i)}}},[a("div",{staticClass:"imagem"},[a("img",{attrs:{width:"100%",src:"https://doo8f8ypwd7it.cloudfront.net/brasilprevjunior/img/capitao@2x.890754be.png",alt:""}})]),t._v(" "),a("div",{staticClass:"panel-title"},[a("div",{staticClass:"title"},[t._v(t._s(e.name))]),t._v(" "),a("div",{staticClass:"flag",class:t.currentLayout==i?"active":"inactive"},[a("Icon",{attrs:{name:"check"}})],1)])])})),0),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.changeLayout()}}},[t._v("\n\t\t\t\t"+t._s(t.lang.update)+"\n\t\t\t")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n\t\t\t\t"+t._s(t.lang.cancel)+"\n\t\t\t")])],1)]):t._e(),t._v(" "),t.modalBirthdate?a("Modal",{attrs:{heading:t.lang.editDateBirth},on:{closeModal:t.closeModal}},[a("div",{staticClass:"box-dates-columns"},[a("div",{staticClass:"day"},[a("Select",{attrs:{selected:t.selectedBirthDay,name:"day",label:"Dia",placeholder:"Dia",options:t.days},on:{change:t.onChangeDay}})],1),t._v(" "),a("div",{staticClass:"month"},[a("Select",{attrs:{selected:t.selectedBirthMonth,name:"month",label:"Mês",placeholder:"Mês",options:t.months},on:{change:t.onChangeMonth}})],1)]),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.changeLayout()}}},[t._v("\n\t\t\t\t"+t._s(t.lang.update)+"\n\t\t\t")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n\t\t\t\t"+t._s(t.lang.cancel)+"\n\t\t\t")])],1)]):t._e(),t._v(" "),t.modalPet?a("Modal",{staticClass:"modal-pet",attrs:{heading:"Altere o bichinho da história",headingColor:t.preview_color,paragraph:"Esse bichinho acompanhará <span>"+t.searchExtraProperty("name").value+"</span> em toda a história."},on:{closeModal:t.closeModal}},[a("div",{staticClass:"pet-view"},[a("div",{staticClass:"pet-selectors",style:t.currentPetColor?"width: 70%;":""},[a("div",{},[a("Input",{attrs:{value:t.searchExtraProperty("nome-do-mooner").value.name,error:"",helper:"",label:t.lang.typePetname,name:"currentPetName"},on:{input:function(e){t.searchExtraProperty("nome-do-mooner").value.name=e.target.value}}})],1),t._v(" "),a("label",{staticClass:"pet-label"},[t._v(t._s(t.lang.selectPet))]),t._v(" "),a("div",{staticClass:"pet-combo-list"},[a("div",{staticClass:"selected-pet",class:[t.currentPet?"active":"inactive",t.petAnimation?"fade-in-image":"inactive-pet"]},[t.currentPet&&t.currentPet.assets&&t.currentPet.assets.asset?a("div",[t.currentPet.assets.asset?a("img",{class:t.petInitAnimation?"fade-in-image-init":"",attrs:{src:t.currentPet.assets.asset,alt:""}}):t._e()]):t._e()]),t._v(" "),t.listPet?a("div",{staticClass:"pet-list",class:t.currentPet?"active":"inactive"},t._l(t.listPet.assets.subcategories,(function(e,i){return a("div",{key:i,class:t.currentPet===e?"active":"inactive",on:{click:function(a){return t.setPet(e)}}},[a("img",{attrs:{src:e.assets.icon,alt:""}}),t._v(" "),a("br")])})),0):t._e()])]),t._v(" "),t.searchExtraProperty("nome-do-mooner").value.newPet?a("div",{staticClass:"pet-avatar",style:t.searchExtraProperty("nome-do-mooner").value.newPet?"width: 30%;":""},[a("img",{attrs:{src:t.searchExtraProperty("nome-do-mooner").value.newPet.assets.asset,alt:""}}),t._v(" "),a("br")]):t._e()]),t._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:function(e){return t.changeMoonerLayout()}}},[t._v("\n\t\t\t\t"+t._s(t.lang.update)+"\n\t\t\t")]),t._v(" "),a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n\t\t\t\t"+t._s(t.lang.cancel)+"\n\t\t\t")])],1)]):t._e(),t._v(" "),t.modalMooner?a("Modal",{staticClass:"modal-pet",attrs:{heading:t.lang.moonerTitleFirstOpen,headingColor:t.preview_color,paragraph:t.lang.moonerDescriptionOne+t.current_character_name+t.lang.moonerDescriptionTwo,haveClose:t.modalMoonerFirstOpen},on:{closeModal:t.closeModal}},[a("div",{staticClass:"pet-view"},[a("div",{staticClass:"pet-selectors",style:t.currentMooner?"width: 100%;":""},[a("div",{},[a("Input",{attrs:{value:t.currentMoonerName,error:"",helper:"",label:t.lang.moonerLabel,name:"currentPetName"},on:{input:function(e){t.currentMoonerName=e.target.value}}})],1),t._v(" "),a("label",{staticClass:"pet-label"},[t._v(t._s(t.lang.moonerLabelSelector))]),t._v(" "),a("div",{staticClass:"pet-combo-list"},[a("div",{staticClass:"selected-pet",class:[t.currentMooner?"active":"inactive",t.moonerAnimation?"fade-in-image":"inactive-pet"]},[t.currentMooner&&t.currentMooner.assets&&t.currentMooner.assets.asset?a("div",{staticClass:"clip-mooney"},[t.currentMooner.assets.asset?a("img",{class:t.moonerInitAnimation?"fade-in-image-init":"",attrs:{src:t.currentMooner.assets.asset,alt:""}}):t._e()]):t._e()]),t._v(" "),t.listMooner?a("div",{staticClass:"pet-list",class:t.currentMooner?"active":"inactive"},t._l(t.listMooner.assets.subcategories,(function(e,i){return a("div",{key:i,class:t.currentMooner===e?"active":"inactive",on:{click:function(a){return t.setMooner(e)}}},[a("img",{attrs:{src:e.assets.icon,alt:""}}),t._v(" "),a("br")])})),0):t._e()])])]),t._v(" "),a("div",{staticClass:"mooner-footer",attrs:{slot:"footer"},slot:"footer"},[a("Button",{attrs:{kind:"secondary",size:"md",width:"liquid",disabled:!t.currentMoonerName||!t.currentMooner,inverted:!1},on:{click:function(e){return t.changeMoonerLayout()}}},[t._v("\n\t\t\t\t"+t._s(t.modalMoonerFirstOpen?t.lang.moonerCta:t.lang.moonerCtaFirstOpen)+"\n\t\t\t")]),t._v(" "),t.modalMoonerFirstOpen?a("Button",{attrs:{kind:"ghost",size:"md",width:"liquid",disabled:!1,inverted:!1},on:{click:t.closeModal}},[t._v("\n\t\t\t\t"+t._s(t.lang.cancel)+"\n\t\t\t")]):t._e()],1)]):t._e()],1)},staticRenderFns:[]},(function(t){t&&t("data-v-0b7d6fb6_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-0b7d6fb6]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-0b7d6fb6]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-0b7d6fb6]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-0b7d6fb6]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-0b7d6fb6]{font-size:14px}}@media (min-width:1024px){[data-v-0b7d6fb6]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-0b7d6fb6]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-0b7d6fb6]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-0b7d6fb6]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-0b7d6fb6]{font-size:1.56vw}}html[data-v-0b7d6fb6]{box-sizing:border-box}*[data-v-0b7d6fb6],[data-v-0b7d6fb6]::after,[data-v-0b7d6fb6]::before{box-sizing:border-box}[data-v-0b7d6fb6] .modal-pet{background-color:#000}[data-v-0b7d6fb6] .modal-pet .paragraph span{color:var(--preview-color);font-weight:700}.main-tool[data-v-0b7d6fb6]{position:fixed;width:100%;height:100%}@media (max-width:990px){.main-tool[data-v-0b7d6fb6]{position:relative;width:100%!important;max-width:100%!important}}.main-tool .backdrop[data-v-0b7d6fb6]{content:"";width:100vw;height:100vh;background:rgba(104,89,110,0);backdrop-filter:blur(0);position:fixed;transition:all 1s ease;opacity:0;top:0}.main-tool.active[data-v-0b7d6fb6]{z-index:5;max-width:100%}.main-tool.active .backdrop[data-v-0b7d6fb6]{background:rgba(104,89,110,.8);backdrop-filter:blur(8px);cursor:pointer;opacity:1}@media (max-width:990px){.main-tool.active .backdrop[data-v-0b7d6fb6]{display:none}}.main-tool.inactive[data-v-0b7d6fb6]{z-index:5;top:0;max-width:48px;right:0}.custom-properties[data-v-0b7d6fb6]{right:0;text-align:left;top:0;max-width:16.1904761905rem;font-family:Roboto;width:100%;position:fixed;z-index:3;overflow:initial;height:100vh;transition:all 1s ease;transform:translateX(100%)}@media (max-width:990px){.custom-properties[data-v-0b7d6fb6]{max-width:100%;width:100%;left:0;bottom:0;border-radius:0;top:0;background:0 0;height:100vh;transform:translateX(0);position:relative}}.custom-properties.inactive .icon-close[data-v-0b7d6fb6]{opacity:0}.custom-properties.inactive .icon-edit[data-v-0b7d6fb6]{opacity:1;transform:rotate(0)}.custom-properties.active[data-v-0b7d6fb6]{z-index:10;transform:translateX(0)}.custom-properties.active .icon-close[data-v-0b7d6fb6]{opacity:1}.custom-properties.active .icon-edit[data-v-0b7d6fb6]{opacity:0;transform:rotate(-180deg)}.custom-properties.active .box-close[data-v-0b7d6fb6]{background:#fff}.custom-properties .list-properties[data-v-0b7d6fb6]{background-color:#fff;box-shadow:4px 4px 16px rgba(175,162,186,.24);width:100%;background-color:#fff;position:relative;height:100vh;z-index:3;padding:1.1428571429rem 2.7777777778vw}@media (max-width:990px){.custom-properties .list-properties[data-v-0b7d6fb6]{width:100%;background-color:#fff;position:relative;border-radius:0}}.custom-properties .title-custom-properties[data-v-0b7d6fb6]{padding-bottom:.7619047619rem 0;width:100%;line-height:15px}.custom-properties .title-custom-properties span[data-v-0b7d6fb6]{font-family:Nunito;font-size:14px;color:#68596e}.custom-properties .itens-properties .item[data-v-0b7d6fb6]{position:relative;padding:.7619047619rem 0;border-bottom:1px solid #dfdae4;cursor:pointer;width:100%}.custom-properties .itens-properties .item svg[data-v-0b7d6fb6]{position:absolute;right:.380952381rem;top:1.0476190476rem;width:36px}.custom-properties .itens-properties .item[data-v-0b7d6fb6]:last-child{border-bottom:0}.custom-properties .itens-properties label[data-v-0b7d6fb6]{display:block;width:100%;color:#afa2ba!important;font-size:12px;margin-bottom:0!important}.custom-properties .itens-properties span[data-v-0b7d6fb6]{display:block;width:100%;white-space:nowrap;overflow:hidden!important;text-overflow:ellipsis;font-size:14px;color:#68596e}.custom-properties .itens-properties hr[data-v-0b7d6fb6]{margin:0!important;margin-bottom:10px!important;margin-top:10px!important}.custom-properties .itens-properties .flex[data-v-0b7d6fb6]{cursor:pointer;position:relative}.custom-properties .itens-properties .flex svg[data-v-0b7d6fb6]{position:absolute;right:0;top:.8571428571rem}.layout-boxes[data-v-0b7d6fb6]{display:flex}.layout-option[data-v-0b7d6fb6]{background:#fff;border-radius:.4761904762rem;border:2px solid transparent;margin-top:5px;margin-bottom:5px;cursor:pointer;position:relative;flex-basis:100%;-webkit-box-shadow:-1px 2px 22px -14px rgba(0,0,0,.75);-moz-box-shadow:-1px 2px 22px -14px rgba(0,0,0,.75);box-shadow:-1px 2px 22px -14px rgba(0,0,0,.75);margin:1%;overflow:hidden}.layout-option .panel-title[data-v-0b7d6fb6]{display:flex;padding-bottom:.4761904762rem}.layout-option .panel-title .title[data-v-0b7d6fb6]{font-family:Roboto;color:#68596e;width:8.3333333333vw;justify-content:center;align-self:center;align-items:center;font-size:.6666666667rem;padding-left:.4761904762rem}.layout-option .panel-title .flag[data-v-0b7d6fb6]{text-align:center;width:2.7777777778vw}.layout-option .panel-title .flag .icon[data-v-0b7d6fb6]{border-radius:5px;border:solid 2px #e9eaed;background-color:#fff;width:1.4285714286rem;height:1.4285714286rem;display:flex;justify-content:center;align-self:center;align-items:center}.layout-option .panel-title .flag .icon[data-v-0b7d6fb6] svg{width:1.4285714286rem;height:1.4285714286rem}.layout-option .panel-title .flag .icon[data-v-0b7d6fb6] svg path{fill:#e9eaed!important}.layout-option.active[data-v-0b7d6fb6]{border:2px solid #01dfa1}.layout-option.active .panel-title .title[data-v-0b7d6fb6]{color:#68596e}.layout-option.active .panel-title .flag span[data-v-0b7d6fb6]{border:solid 2px #2dd3d8;background-color:#2dd3d8}.layout-option.active .panel-title .flag[data-v-0b7d6fb6] svg path{fill:#fff!important}.pet-view[data-v-0b7d6fb6]{width:100%;display:flex}.pet-view .pet-label[data-v-0b7d6fb6]{font-family:Roboto,sans-serif;color:#68596e;line-height:1.5;font-size:.7619047619rem;text-align:left;margin-top:1.1428571429rem;display:block}@media (max-width:479px){.pet-view .pet-label[data-v-0b7d6fb6]{font-size:1.308411215rem}}.pet-selectors[data-v-0b7d6fb6]{width:100%}.pet-selectors p[data-v-0b7d6fb6]{margin:0;font-size:.7619047619rem}.pet-selectors .input-text-group[data-v-0b7d6fb6]{padding-bottom:0}.pet-list[data-v-0b7d6fb6]{width:100%;display:flex}.pet-list div[data-v-0b7d6fb6]{margin:.2380952381rem;cursor:pointer}.pet-list .inactive[data-v-0b7d6fb6]{opacity:.3}.pet-list img[data-v-0b7d6fb6]{width:100%}.color-list[data-v-0b7d6fb6]{width:100%;display:flex}.color[data-v-0b7d6fb6]{height:1.9047619048rem;width:1.9047619048rem;display:block;border-radius:100%;margin-left:.2857142857rem;margin-right:.2857142857rem;padding:.1428571429rem;border:.0952380952rem solid #efefef;-webkit-transition:border-color .3s cubic-bezier(.4,0,.2,1);transition:border-color .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;cursor:pointer}.color.is-selected[data-v-0b7d6fb6]{border-color:#01dfa1}.color .secondary-color[data-v-0b7d6fb6]{width:50%;position:absolute;right:0;height:100%;top:0}.footer-pet[data-v-0b7d6fb6]{width:100%;display:flex}.footer-pet .cancel[data-v-0b7d6fb6]{margin-left:20px;background-color:none;background-image:none;box-shadow:none;padding:0;border-radius:0;color:#68596e;background:0 0}.box-dates-columns[data-v-0b7d6fb6]{display:flex}.box-dates-columns .day[data-v-0b7d6fb6]{width:11.1111111111vw}.box-dates-columns .month[data-v-0b7d6fb6]{padding-left:.7619047619rem;width:22.2222222222vw}.box-close[data-v-0b7d6fb6]{width:2.4761904762rem;height:2.2857142857rem;top:.7619047619rem;background:var(--preview_color);box-shadow:4px 4px 16px rgba(175,162,186,.24);position:absolute;left:-2.2857142857rem;display:flex;justify-content:center;align-items:center;z-index:2;border-radius:50% 0 0 50%;cursor:pointer;transition:all .3s ease;animation-delay:.5s}@media (max-width:479px){.box-close[data-v-0b7d6fb6]{display:none}}.box-close .icon[data-v-0b7d6fb6]{width:1.5238095238rem;height:1.5238095238rem;position:absolute;transition:all .5s ease;animation-delay:.5s}@media (max-width:990px){[data-v-0b7d6fb6] .mooner-footer button{width:100%!important;text-align:center}[data-v-0b7d6fb6] .mooner-footer button div{width:100%;text-align:center!important;display:block!important}}@media (max-width:990px){[data-v-0b7d6fb6] .name-footer button{width:100%!important;text-align:center}[data-v-0b7d6fb6] .name-footer button div{width:100%;text-align:center!important;display:block!important}}@media (max-width:990px){[data-v-0b7d6fb6] .dedication-footer button{width:100%!important;text-align:center}[data-v-0b7d6fb6] .dedication-footer button div{width:100%;text-align:center!important;display:block!important}}.pet-combo-list[data-v-0b7d6fb6]{display:flex;flex-wrap:wrap}@media (max-width:990px){.pet-combo-list[data-v-0b7d6fb6]{flex-direction:column-reverse}}.pet-combo-list .selected-pet[data-v-0b7d6fb6]{width:0%;transition:width .5s;max-height:9.5238095238rem}.pet-combo-list .selected-pet .clip-mooney[data-v-0b7d6fb6]{max-height:11.619047619rem;overflow:hidden;display:block}@media (max-width:990px){.pet-combo-list .selected-pet .clip-mooney[data-v-0b7d6fb6]{max-height:22.8037383178rem;overflow:hidden;display:flex}}@media (max-width:990px){.pet-combo-list .selected-pet .clip-mooney img[data-v-0b7d6fb6]{max-width:80%;margin:0 auto;margin-top:-.9523809524rem}}.pet-combo-list .selected-pet img[data-v-0b7d6fb6]{margin-top:-.9523809524rem;opacity:0}.pet-combo-list .selected-pet.active[data-v-0b7d6fb6]{width:40%}@media (max-width:990px){.pet-combo-list .selected-pet.active[data-v-0b7d6fb6]{width:100%}}.pet-combo-list .pet-list[data-v-0b7d6fb6]{transition:all .5s;width:60%;align-items:center;display:flex}@media (max-width:990px){.pet-combo-list .pet-list[data-v-0b7d6fb6]{width:100%}}.pet-combo-list .pet-list.inactive[data-v-0b7d6fb6]{width:100%}.fade-in-image-init[data-v-0b7d6fb6]{transition:all .5s;opacity:1!important}.fade-in-image[data-v-0b7d6fb6]{animation:fadeIn-data-v-0b7d6fb6 .5s;-webkit-animation:fadeIn-data-v-0b7d6fb6 .5s;-moz-animation:fadeIn-data-v-0b7d6fb6 .5s;-o-animation:fadeIn-data-v-0b7d6fb6 .5s;-ms-animation:fadeIn-data-v-0b7d6fb6 .5s}@keyframes fadeIn-data-v-0b7d6fb6{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn-data-v-0b7d6fb6{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeIn-data-v-0b7d6fb6{0%{opacity:0}100%{opacity:1}}@-o-keyframes fadeIn-data-v-0b7d6fb6{0%{opacity:0}100%{opacity:1}}@-ms-keyframes fadeIn-data-v-0b7d6fb6{0%{opacity:0}100%{opacity:1}}',map:void 0,media:void 0})}),(j(wt={name:"PreviewTools",components:{Vue:c,Heading:ht,Paragraph:gt,Icon:L,Modal:vt,Input:F,Button:E,TextArea:ct,Select:V},props:{
1283
1295
  /** Name of protagonist. `Diego` */
1284
1296
  current_name:{type:String,required:!0},
1285
1297
  /** Product id of Builder. `595` */
1286
1298
  product_id:{type:Number,required:!0},
1287
1299
  /** Character id of Builder. `57` */
1288
- character_id:{type:Number,required:!0},dedication_text:{type:String,required:!1},
1300
+ character_id:{type:Number,required:!0},
1301
+ /** Character id of Builder. `906` */
1302
+ character_position_id:{type:Number,required:!0},dedication_text:{type:String,required:!1},
1289
1303
  /** Type id of Gender. `89` */
1290
1304
  gender:{type:String,required:!0},
1291
1305
  /** Slug of product on builder `bb-a-grande-viagem` */
1292
1306
  slug:{type:String,required:!0},
1293
1307
  /** Character uuid. `ddh5e177ff920f15` */
1294
1308
  uuid:{type:String,required:!0},
1295
- /** Show edit name. */
1296
- have_name:{type:Boolean,required:!1,default:!1},
1297
- /** Show number at shirt. */
1298
- have_shirt_number:{type:Boolean,required:!1,default:!1},
1299
- /** Show layout changes. */
1300
- have_layout:{type:Boolean,required:!1,default:!1},
1301
- /** Show Birth date. */
1302
- have_birth_date:{type:Boolean,required:!1,default:!1},
1303
- /** Show Pet. */
1304
- have_pet:{type:Boolean,required:!1,default:!1},typeLanguage:{type:String,required:!1,default:"br"}},data:function(){for(var t=[],e=[],a=(new Date).getFullYear(),i=1;i<=31;i++)t.push({key:i,value:i});for(var o=0;o<16;o++)e.push({key:a-o,value:a-o});return e.push({key:"outro",value:"Outro"}),{lang:ft[this.typeLanguage],modalScript:!1,modalName:!1,modalDedication:!1,modalShirtNumber:!1,modalPet:!1,modalBirthdate:!1,days:t,months:[{value:"Janeiro",key:1},{value:"Fevereiro",key:2},{value:"Março",key:3},{value:"Abril",key:4},{value:"Maio",key:5},{value:"Junho",key:6},{value:"Julho",key:7},{value:"Agosto",key:8},{value:"Setembro",key:9},{value:"Outubro",key:10},{value:"Novembro",key:11},{value:"Dezembro",key:12}],years:e,pages:[],counter:0,pageNum:36,isCover:0,currentPage:3,loadedPages:3,numberPositions:0,mobilePagePosition:0,isMobile:!1,isLoaded:!1,isPagesNumLoaded:!1,loadedMobile:!1,loadedDesktop:!1,mobileStopped:!0,isLoading:!0,custom_character:null,productSelected:null,availableLayouts:[],currentLayout:0,callingLayout:!1,callingDedication:!1,callingName:!1,current_character_name:"",dedicationText:"",haveDedication:!1,currentShirtNumber:7,listPet:[],currentPetName:"",currentPet:[],currentPetColor:"",selectedBirthDay:0,selectedBirthMonth:0,modalFirstOpen:!0,firstBookSelected:!1,type_id:"",sizeList:"0px"}},computed:{},mounted:function(){this.current_character_name=this.current_name,this.dedicationText=this.dedication_text?this.dedication_text:"",this.initMounted()},methods:{modalIsOpen:function(){return!!(this.modalScript||this.modalName||this.modalDedication||this.modalShirtNumber||this.modalPet||this.modalBirthdate)},updateName:function(t){console.log(this.current_character_name),this.current_character_name=t.value,console.log(t)},updateDedicationText:function(t){this.dedicationText=t.value},updateShirtNumber:function(t){this.currentShirtNumber=t.value},onChangeDay:function(t){this.selectedBirthDay=t.value,this.validateDays({year:t.value})},onChangeMonth:function(t){console.log(t),this.selectedBirthMonth=t.key-1,this.validateDays({month:t.key-1})},updateHaveDedication:function(t){this.haveDedication=t},setPet:function(t){this.currentPet=t,this.setColor(this.currentPet.assets.colors[0])},setColor:function(t){this.currentPetColor=t},showModalScript:function(){this.modalScript=!0},showModalName:function(){this.modalName=!0},showModalDedication:function(){this.modalDedication=!0},showModalShirtNumber:function(){this.modalShirtNumber=!0},showModalBirthdate:function(){this.modalBirthdate=!0},showModalPet:function(){var t=this;_t.get(this.lang.urlBuilder+"/api/characters/46/categories/assets/treelist?character_type_id=67&product_id=111&character_position_id=377").then((function(e){console.log(e),t.listPet=e.data.character_categories_assets[0].categories[5]})).catch((function(t){console.log(t)})),this.modalPet=!0},closeModal:function(){this.modalScript=!1,this.modalName=!1,this.modalDedication=!1,this.modalShirtNumber=!1,this.modalPet=!1,this.modalBirthdate=!1},setCurrentLayout:function(t){this.currentLayout=t,this.firstBookSelected=!0},initMounted:function(){var t=this;_t.get(this.lang.urlBuilder+"/api/products/info/"+t.product_id).then((function(e){t.pageNum=e.data.product.pages,t.isPagesNumLoaded=!0,t.availableLayouts=e.data.product.layout,// Gender
1305
- t.gender&&(t.type_id=e.data.product.type.filter((function(e){return e.code===t.gender}))),t.type_id=t.type_id[0].id})).catch((function(t){console.log(t)}))},changeDedication:function(){var t=this;t.callingLayout=!0,t.closeModal(),t.isLoadingMethod(!1);var e={uuid:t.uuid,dedication:t.dedicationText};_t.post(this.lang.urlBuilder+"/api/customs_characters/updateDedication",e).then((function(e){
1306
- //alert(response.data.custom.uuid);
1307
- t.changeUuid(e.data.custom.uuid);// self.callingLayout = true
1308
- //self.closeModal()
1309
- // self.isLoadingMethod(false)
1310
- })).catch((function(t){
1311
- //self.isCallingAll = false;
1312
- alert("Erro ao atualizar a dedicatória");//self.closeModal();
1313
- }))},changeLayout:function(){var t=this;t.callingLayout=!0,t.closeModal(),t.isLoadingMethod(!1);var e={custom_character:{character_id:t.character_id,product_id:t.product_id,type_id:t.type_id,user_data:{type:t.type_id,properties:{nome:{code:"nome",property_id:24,value:t.current_character_name},dedicatoria:{code:"dedicatoria",property_id:26,value:t.dedicationText}}},uuid:t.uuid}};if(t.have_layout&&c.set(e.custom_character,"layout_id",t.availableLayouts[t.currentLayout].id),t.have_pet&&c.set(e.custom_character.user_data.properties,"nome-pet",itemProperty),t.have_birth_date){var a={property_id:29,value:t.currentShirtNumber,code:"numero"};c.set(e.custom_character.user_data.properties,"numero",a);var i={property_id:38,value:t.months[t.selectedBirthMonth-1].value,code:"mes"};c.set(e.custom_character.user_data.properties,"mes",i)}if(t.have_shirt_number){var o={property_id:29,value:t.currentShirtNumber,code:"numero"};c.set(e.custom_character.user_data.properties,"numero",o)}_t.post(this.lang.urlBuilder+"/api/customs_characters/changePropertiesDynamic",e).then((function(e){t.changeUuid(e.data.custom.uuid)})).catch((function(t){console.log(t)}))},changeUuid:function(t){this.$emit("changeUuid",t)},isLoadingMethod:function(t){this.$emit("isLoadingMethod",t)},validateDays:function(t){var e,a=t.month?t.month:this.selectedBirthMonth,i=t.year?t.year:this.selectedBirthYear;a||(a=13);var o=[];e=1===a||3===a||5===a||7===a||8===a||10===a||12===a||13===a?31:4===a||6===a||9===a||11===a?30:i%4==0&&i%100>0||i%400==0?29:28,a||i||(e=31);for(var r=1;r<=e;r++)o.push({key:r,value:r});this.days=o}}},"data-v-aea51fa0",!1,void 0,!1,b,void 0,void 0),Pt=(require("axios"),v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"preview-full"},[t.isLoaded&&!t.isMobile?a("Preview",{attrs:{uuid:t.uuid,pages:t.pages,age:t.age,product_id:t.product_id,typeLanguage:t.typeLanguage,apiUrl:t.apiUrl}}):t._e(),t._v(" "),t.isLoaded&&t.isMobile?a("PreviewMobile",{attrs:{uuid:t.uuid,pages:t.pages,age:t.age,product_id:t.product_id,typeLanguage:t.typeLanguage,apiUrl:t.apiUrl}}):t._e()],1)},staticRenderFns:[]},(function(t){t&&t("data-v-7c5f1153_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}.custom-properties{position:absolute;top:30px}',map:void 0,media:void 0})}),{name:"PreviewFull",components:{Preview:yt,PreviewMobile:kt},props:{
1309
+ /** Preview external color. `#000` */
1310
+ preview_color:{type:String,default:"#68596e",required:!0},typeLanguage:{type:String,required:!1,default:"br"}},computed:{colorsVar:function(){return{"--preview-color":this.preview_color}}},data:function(){for(var t=[],e=[],a=(new Date).getFullYear(),i=1;i<=31;i++)t.push({key:i,value:i});for(var o=0;o<16;o++)e.push({key:a-o,value:a-o});return e.push({key:"outro",value:"Outro"}),{lang:ft[this.typeLanguage],
1311
+ // Sidebar
1312
+ sidebarOpen:!1,have_shirt_number:!1,have_layout:!1,have_birth_date:!1,haveDedication:!1,
1313
+ //default_value_name: "",
1314
+ default_value_dedication:"",default_value_pet:"",
1315
+ // Variaveis de modais
1316
+ modalScript:!1,modalName:!1,modalDedication:!1,modalShirtNumber:!1,modalMooner:!1,modalPet:!1,modalBirthdate:!1,
1317
+ // Propriedades da sidebar
1318
+ extras:null,
1319
+ // Nome customizado
1320
+ current_character_name:"",dedicationText:"",
1321
+ // Pet
1322
+ listMooner:[],moonerAnimation:!1,moonerInitAnimation:!1,currentMoonerName:null,currentMooner:null,currentMoonerColor:"",
1323
+ // Pet
1324
+ listPet:[],petAnimation:!1,petInitAnimation:!1,currentPetName:"",currentPet:null,currentPetColor:"",days:t,months:[{value:"Janeiro",key:1},{value:"Fevereiro",key:2},{value:"Março",key:3},{value:"Abril",key:4},{value:"Maio",key:5},{value:"Junho",key:6},{value:"Julho",key:7},{value:"Agosto",key:8},{value:"Setembro",key:9},{value:"Outubro",key:10},{value:"Novembro",key:11},{value:"Dezembro",key:12}],years:e,pages:[],counter:0,pageNum:36,isCover:0,currentPage:3,loadedPages:3,numberPositions:0,mobilePagePosition:0,isMobile:!1,isLoaded:!1,isPagesNumLoaded:!1,loadedMobile:!1,loadedDesktop:!1,mobileStopped:!0,isLoading:!0,custom_character:null,custom:null,availableLayouts:[],currentLayout:0,callingLayout:!1,callingDedication:!1,callingName:!1,currentShirtNumber:7,
1325
+ // Aniversário
1326
+ selectedBirthDay:0,selectedBirthMonth:0,modalMoonerFirstOpen:!1,firstBookSelected:!1,type_id:""}}},"computed",{cssProps:function(){return{"--preview_color":this.preview_color}}}),j(wt,"mounted",(function(){var t=this;this.current_character_name=this.current_name,this.dedicationText=this.dedication_text?this.dedication_text:"",this.initMounted(),t.isMobile=t.detectSize(),window.addEventListener("resize",(function(e){t.isMobile=t.detectSize()}))})),j(wt,"methods",{detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},toggleSidebar:function(){this.sidebarOpen=!this.sidebarOpen},modalIsOpen:function(){return!!(this.modalScript||this.modalName||this.modalDedication||this.modalShirtNumber||this.modalPet||this.modalMooner||this.modalBirthdate)},updateName:function(t){console.log(this.current_character_name),this.current_character_name=t.value,console.log(t)},updateDedicationText:function(t){this.dedicationText=t.value},updateShirtNumber:function(t){this.currentShirtNumber=t.value},onChangeDay:function(t){this.selectedBirthDay=t.value,this.validateDays({year:t.value})},onChangeMonth:function(t){console.log(t),this.selectedBirthMonth=t.key-1,this.validateDays({month:t.key-1})},updateHaveDedication:function(t){this.haveDedication=t},setMooner:function(t){var e=this,a=this;a.moonerAnimation=!1,//console.log(selectedPet)
1327
+ //self.currentMoonerName = selectedPet.name.toUpperCase()
1328
+ setTimeout((function(){a.moonerAnimation=!0,e.currentMooner=t,setTimeout((function(){a.moonerInitAnimation=!0}),"500")}),"500")},setPet:function(t){var e=this,a=this;a.petAnimation=!1,//self.currentMoonerName =
1329
+ setTimeout((function(){a.petAnimation=!0,e.currentPet=t,setTimeout((function(){a.petInitAnimation=!0}),"500")}),"500")},setColor:function(t){
1330
+ //this.currentPetColor = selectedColor;
1331
+ this.searchExtraProperty("pet").value.newPetColor=t},showModal:function(t){
1332
+ //var modalName = Object.keys(key)[0];
1333
+ // console.log(modalName);
1334
+ "nome"===t&&(this.modalName=!0),t.includes("dedicatoria")&&(this.modalDedication=!0),t.includes("nome-do-mooner")&&(this.modalMooner=!0),t.includes("pet")&&(this.modalPet=!0),t.includes("script")&&(this.modalScript=!0),t.includes("camisa")&&(this.modalShirtNumber=!0),t.includes("aniversario")&&(this.modalBirthdate=!0)},showModalName:function(){this.modalName=!0},showModalScript:function(){this.modalScript=!0},showModalDedication:function(){this.modalDedication=!0},showModalShirtNumber:function(){this.modalShirtNumber=!0},showModalBirthdate:function(){this.modalBirthdate=!0},showModalPet:function(){},searchExtraProperty:function(t){return Object.keys(this.extras).forEach((function(t){//if()
1335
+ // if (self.extras[property].type.includes(propertyName)) {
1336
+ // returnProperty = self.extras.properties[property];
1337
+ // }
1338
+ //console.log(property + " - " + self.extras.properties[property]);
1339
+ })),null},searchCategoryProperty:function(t,e){var a=null;return Object.keys(t).forEach((function(i){t[i].code.includes(e)&&(a=t[i]),console.log(i+" - "+t[i])})),a},getTreeList:function(){var t=this;return h(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:// Todo Guto
1340
+ return a=t,e.abrupt("return",Ct.get(t.lang.urlBuilder+"/api/characters/"+a.character_id+"/categories/assets/treelist?character_type_id="+a.type_id+"&product_id="+parseInt(a.product_id)+"&character_position_id="+parseInt(a.character_position_id)).then((function(t){
1341
+ //console.log(response);
1342
+ // self.listPet =
1343
+ // response.data.character_categories_assets[0].categories[5];
1344
+ var e=null;t.data.character_categories_assets[0].categories.forEach((function(t){t.code.includes("mooner")&&(e=t,a.modalMooner=!0)})),a.extras.forEach((function(t){t.code.includes("nome-do-mooner")&&(a.listMooner=e),t.code.includes("pet")&&(a.listPet=e)}))})).catch((function(t){console.log(t)})));case 2:case"end":return e.stop()}}),e)})))()},closeModal:function(){this.modalScript=!1,this.modalName=!1,this.modalDedication=!1,this.modalShirtNumber=!1,this.modalPet=!1,this.modalMooner=!1,this.modalBirthdate=!1},setCurrentLayout:function(t){this.currentLayout=t,this.firstBookSelected=!0},initMounted:function(){var t=this;Ct.get(this.lang.urlBuilder+"/api/products/info/"+t.product_id).then((function(e){t.pageNum=e.data.product.pages,t.isPagesNumLoaded=!0,t.availableLayouts=e.data.product.layout,// Gender
1345
+ t.gender&&(t.type_id=e.data.product.type.filter((function(e){return e.code===t.gender})));var a=e.data.product.properties;t.extras=[],//response.data.product.extra;
1346
+ a.forEach((function(e){"nome"===e.property.code&&(e.property.value=t.current_name),"dedicatoria"===e.property.code&&(e.property.value=t.dedication_text),t.extras.push(e.property)})),t.type_id=t.type_id[0].id,t.getTreeList()})).catch((function(t){console.log(t)}))},
1347
+ // changeDedication() {
1348
+ // const self = this;
1349
+ // self.callingLayout = true;
1350
+ // self.closeModal();
1351
+ // self.isLoadingMethod(false);
1352
+ // let request = {
1353
+ // uuid: self.uuid,
1354
+ // dedication: self.dedicationText,
1355
+ // };
1356
+ // axios
1357
+ // .post(
1358
+ // this.lang.urlBuilder + "/api/customs_characters/updateDedication",
1359
+ // request
1360
+ // // {
1361
+ // // headers: {
1362
+ // // // remove headers
1363
+ // // }
1364
+ // // }
1365
+ // )
1366
+ // .then(function(response) {
1367
+ // //alert(response.data.custom.uuid);
1368
+ // self.changeUuid(response.data.custom.uuid);
1369
+ // // self.callingLayout = true
1370
+ // //self.closeModal()
1371
+ // // self.isLoadingMethod(false)
1372
+ // })
1373
+ // .catch(function(error) {
1374
+ // //self.isCallingAll = false;
1375
+ // alert("Erro ao atualizar a dedicatória");
1376
+ // //self.closeModal();
1377
+ // });
1378
+ // },
1379
+ changeMoonerLayout:function(){var t=this;t.callingLayout=!0,t.closeModal(),t.isLoadingMethod(!1);var e={custom_character:{character_id:t.character_id,product_id:t.product_id,type_id:t.type_id,user_data:{type:t.type_id,properties:{nome:{code:"nome",property_id:24,value:t.current_character_name},dedicatoria:{code:"dedicatoria",property_id:26,value:t.dedicationText}}},uuid:t.uuid}};t.currentMooner&&
1380
+ ///var property = self.searchExtraProperty("nome-do-mooner");
1381
+ t.extras.forEach((function(a){if(a.code.includes("nome-do-mooner")){var i={property_id:a.id,value:t.currentMoonerName,code:a.code};a.value=t.currentMoonerName,e.custom_character.user_data.properties[a.code]=i}})),//var data_custom;
1382
+ // Envio da custom porperties dynamic
1383
+ Ct.post(this.lang.urlBuilder+"/api/customs_characters/changePropertiesDynamic",e).then((function(e){t.custom=JSON.parse(e.data.custom.customCharacter.data);var a=!1,i=null;t.custom.categories.forEach((function(e){if(e.parent_id===t.currentMooner.parent_id){a=!0;var i=t.custom.categories.indexOf(e);t.custom.categories[i]={parent_id:t.currentMooner.parent_id,id:t.currentMooner.id}}})),!1===a&&(i={parent_id:t.currentMooner.parent_id,id:t.currentMooner.id},t.custom.categories.push(i)),t.modalMoonerFirstOpen=!0,t.sidebarOpen=!1,t.sendCustomCharacter()})).catch((function(t){console.log(t)}))},updateNameAndDedicationCustomCharacter:function(){var t=this;t.callingLayout=!0,t.closeModal(),t.isLoadingMethod(!1);var e={custom_character:{character_id:t.character_id,product_id:t.product_id,type_id:t.type_id,user_data:{type:t.type_id,properties:{nome:{code:"nome",property_id:24,value:t.current_character_name},dedicatoria:{code:"dedicatoria",property_id:26,value:t.dedicationText}}},uuid:t.uuid}};t.currentMooner&&
1384
+ ///var property = self.searchExtraProperty("nome-do-mooner");
1385
+ t.extras.forEach((function(a){if(a.code.includes("nome-do-mooner")){var i={property_id:a.id,value:t.currentMoonerName,code:a.code};a.value=t.currentMoonerName,e.custom_character.user_data.properties[a.code]=i}})),Ct.post(this.lang.urlBuilder+"/api/customs_characters/changePropertiesDynamic",e).then((function(e){t.custom=JSON.parse(e.data.custom.customCharacter.data),t.extras.forEach((function(e){"nome"===e.code&&(e.value=t.current_character_name)})),t.changeUuid(e.data.custom.uuid)})).catch((function(t){console.log(t)}))},updateDedicationCustomCharacter:function(){var t=this;t.callingLayout=!0,t.closeModal(),t.isLoadingMethod(!1);var e={custom_character:{character_id:t.character_id,product_id:t.product_id,type_id:t.type_id,user_data:{type:t.type_id,properties:{dedicatoria:{code:"dedicatoria",property_id:26,value:t.dedicationText}}},uuid:t.uuid}};Ct.post(this.lang.urlBuilder+"/api/customs_characters/changePropertiesDynamic",e).then((function(e){t.custom=JSON.parse(e.data.custom.customCharacter.data),t.extras.forEach((function(e){"dedicatoria"===e.code&&(e.value=t.dedicationText)})),t.changeUuid(e.data.custom.uuid)})).catch((function(t){console.log(t)}))},changeLayout:function(){var t=this;t.callingLayout=!0,t.closeModal(),t.isLoadingMethod(!1);var e,a={custom_character:{character_id:t.character_id,product_id:t.product_id,type_id:t.type_id,user_data:{type:t.type_id,properties:{nome:{code:"nome",property_id:24,value:t.current_character_name},dedicatoria:{code:"dedicatoria",property_id:26,value:t.dedicationText}}},uuid:t.uuid}};if(t.searchExtraProperty("nome-do-mooner")){var i=t.searchExtraProperty("nome-do-mooner"),o={property_id:i.id,value:i.value,code:i.code};a.custom_character.user_data.properties[i.code]=o}Ct.post(this.lang.urlBuilder+"/api/customs_characters/changePropertiesDynamic",a).then((function(a){t.custom=JSON.parse(a.data.custom.customCharacter.data),e={parent_id:t.currentPet.parent_id,id:t.currentPetColor.id},t.custom.categories.push(e),//data_custom = self.custom;
1386
+ t.sendCustomCharacter()})).catch((function(t){console.log(t)}))},sendCustomCharacter:function(){var t=this;Ct.post(this.lang.urlBuilder+"/api/customs_characters",{custom_character:t.custom}).then((function(e){
1387
+ //self.custom = JSON.parse(response.data.custom.customCharacter.data);
1388
+ //alert("salvou catiolo");
1389
+ t.changeUuid(e.data.custom.uuid)})).catch((function(t){console.log(t)}))},changeUuid:function(t){this.$emit("changeUuid",t)},isLoadingMethod:function(t){this.$emit("isLoadingMethod",t)},validateDays:function(t){var e,a=t.month?t.month:this.selectedBirthMonth,i=t.year?t.year:this.selectedBirthYear;a||(a=13);var o=[];e=1===a||3===a||5===a||7===a||8===a||10===a||12===a||13===a?31:4===a||6===a||9===a||11===a?30:i%4==0&&i%100>0||i%400==0?29:28,a||i||(e=31);for(var r=1;r<=e;r++)o.push({key:r,value:r});this.days=o}}),wt),"data-v-0b7d6fb6",!1,void 0,!1,b,void 0,void 0),Pt=(require("axios"),v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"preview-full"},[t.isLoaded&&!t.isMobile?a("Preview",{attrs:{uuid:t.uuid,pages:t.pages,age:t.age,product_id:t.product_id,typeLanguage:t.typeLanguage,apiUrl:t.apiUrl}}):t._e(),t._v(" "),t.isLoaded&&t.isMobile?a("PreviewMobile",{attrs:{uuid:t.uuid,pages:t.pages,age:t.age,product_id:t.product_id,typeLanguage:t.typeLanguage,apiUrl:t.apiUrl}}):t._e()],1)},staticRenderFns:[]},(function(t){t&&t("data-v-7c5f1153_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}.custom-properties{position:absolute;top:30px}',map:void 0,media:void 0})}),{name:"PreviewFull",components:{Preview:zt,PreviewMobile:_t},props:{
1314
1390
  /** Name of protagonist. `Diego` */
1315
1391
  current_name:{type:String,required:!0},pages:{type:String,required:!0},age:{type:String,required:!0},
1316
1392
  /** Product id of Builder. `595` */
@@ -1333,13 +1409,15 @@ have_layout:{type:Boolean,required:!1,default:!1},
1333
1409
  have_birth_date:{type:Boolean,required:!1,default:!1},
1334
1410
  /** Show Pet. */
1335
1411
  have_pet:{type:Boolean,required:!1,default:!1},typeLanguage:{type:String,required:!1,default:"br"},apiUrl:{type:String,required:!1,default:"https://builder.dentrodahistoria.com.br"}},data:function(){return{isLoaded:!0,isMobile:!1,uuid:"ddh5e5fb1b09b88d",pages:32,age:6,character_id:57,product_id:595}},mounted:function(){var t=this;t.isMobile=t.detectSize(),window.addEventListener("resize",(function(e){t.isMobile=t.detectSize()}))},methods:{detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},isLoadingMethod:function(t){this.isLoaded=t},changeUuid:function(t){this.uuid=t,//.uuid
1336
- this.isLoaded=!0}}},void 0,!1,void 0,!1,b,void 0,void 0)),St=(require("axios"),v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"preview-full"},[t.isLoaded&&!t.isMobile?a("div",{staticClass:"preview-desktop-area"},[a("Preview",{attrs:{uuid:t.uuid,pages:t.pages,age:t.age,product_id:t.product_id,typeLanguage:t.typeLanguage}})],1):t._e(),t._v(" "),t.isLoaded&&t.isMobile?a("div",{staticClass:"preview-mobile-area"},[a("PreviewMobile",{attrs:{uuid:t.uuid,pages:t.pages,age:t.age,product_id:t.product_id,typeLanguage:t.typeLanguage}})],1):t._e(),t._v(" "),a("div",{staticClass:"preview-mobile-tools",class:t.isLoaded?"":"invisible"},[t.have_tools?a("PreviewTools",{attrs:{current_name:t.current_name,uuid:t.uuid,slug:t.slug,character_id:t.character_id,dedication_text:t.dedication_text,product_id:t.product_id,gender:t.gender,have_name:t.have_name,have_shirt_number:t.have_shirt_number,have_layout:t.have_layout,have_birth_date:t.have_birth_date,have_pet:t.have_pet,typeLanguage:t.typeLanguage},on:{isLoadingMethod:t.isLoadingMethod,changeUuid:t.changeUuid}}):t._e()],1)])},staticRenderFns:[]},(function(t){t&&t("data-v-b1fb398a_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}.invisible{opacity:0}.preview-full{height:100vh}.preview-mobile-area{width:100%;position:relative}.preview-mobile-tools{width:100%;margin-top:20px}@media (max-width:990px){.preview-mobile-tools{position:relative}}.custom-properties{position:absolute;top:30px}',map:void 0,media:void 0})}),{name:"PreviewWithTools",components:{Preview:yt,PreviewMobile:kt,PreviewTools:Ct},props:{
1412
+ this.isLoaded=!0}}},void 0,!1,void 0,!1,b,void 0,void 0)),St=(require("axios"),v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"preview-full"},[t.isLoaded&&!t.isMobile?a("div",{staticClass:"preview-desktop-area"},[a("Preview",{attrs:{uuid:t.uuid,pages:t.pages,age:t.age,product_id:t.product_id,typeLanguage:t.typeLanguage}})],1):t._e(),t._v(" "),t.isLoaded&&t.isMobile?a("div",{staticClass:"preview-mobile-area"},[a("PreviewMobile",{attrs:{uuid:t.uuid,pages:t.pages,age:t.age,product_id:t.product_id,typeLanguage:t.typeLanguage}})],1):t._e(),t._v(" "),a("div",{staticClass:"preview-mobile-tools",class:t.isLoaded?"":"invisible"},[t.have_tools?a("PreviewTools",{attrs:{current_name:t.current_name,uuid:t.uuid,slug:t.slug,character_id:t.character_id,dedication_text:t.dedication_text,product_id:t.product_id,gender:t.gender,typeLanguage:t.typeLanguage,preview_color:t.preview_color,character_position_id:t.character_position_id},on:{isLoadingMethod:t.isLoadingMethod,changeUuid:t.changeUuid}}):t._e()],1)])},staticRenderFns:[]},(function(t){t&&t("data-v-e77832b4_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);:root{--column-width:6.6666666667vw}@media (min-width:0px){:root{--column-width:6.6666666667vw}}@media (min-width:480px){:root{--column-width:2.7777777778vw}}@media (min-width:0px){html{font-size:2.9166666667vw}}@media (min-width:480px){html{font-size:14px}}@media (min-width:1024px){:root{--column-width:2.7777777778vw}}@media (min-width:1920px){:root{--column-width:2.7777777778vw}}@media (min-width:2620px){:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html{font-size:1.5648854962vw}}@media (min-width:2620px){html{font-size:1.56vw}}html{box-sizing:border-box}*,::after,::before{box-sizing:border-box}.storybook-6{width:16.6666666667vw}.storybook-12{width:33.3333333333vw}.storybook-25{width:69.4444444444vw}.invisible{opacity:0}.preview-full{height:100vh}.preview-mobile-area{width:100%;position:relative}.preview-desktop-area{position:relative;z-index:4}@media (max-width:990px){.preview-mobile-tools{position:relative;z-index:20}}.custom-properties{position:absolute;top:30px}',map:void 0,media:void 0})}),{name:"PreviewWithTools",components:{Preview:zt,PreviewMobile:_t,PreviewTools:Mt},props:{
1337
1413
  /** Name of protagonist. `Diego` */
1338
1414
  current_name:{type:String,required:!0},dedication_text:{type:String,required:!1},pages:{type:Number,required:!0},age:{type:Number,required:!0},
1339
1415
  /** Product id of Builder. `595` */
1340
1416
  product_id:{type:Number,required:!0},
1341
1417
  /** Character id of Builder. `57` */
1342
1418
  character_id:{type:Number,required:!0},
1419
+ /** Character id of Builder. `906` */
1420
+ character_position_id:{type:Number,required:!0},
1343
1421
  /** Type id of Gender. `89` */
1344
1422
  gender:{type:String,required:!0},
1345
1423
  /** Slug of product on builder `bb-a-grande-viagem` */
@@ -1348,17 +1426,40 @@ slug:{type:String,required:!0},
1348
1426
  uuid:{type:String,required:!0},
1349
1427
  /** Show edit name. */
1350
1428
  have_tools:{type:Boolean,required:!0,default:!0},
1429
+ /** Character uuid. `ddh5e177ff920f15` */
1430
+ preview_color:{type:String,default:"#68596e",required:!0},
1351
1431
  /** Show edit name. */
1352
- have_name:{type:Boolean,required:!1,default:!1},
1353
- /** Show number at shirt. */
1354
- have_shirt_number:{type:Boolean,required:!1,default:!1},
1355
- /** Show layout changes. */
1356
- have_layout:{type:Boolean,required:!1,default:!1},
1357
- /** Show Birth date. */
1358
- have_birth_date:{type:Boolean,required:!1,default:!1},
1359
- /** Show Pet. */
1360
- have_pet:{type:Boolean,required:!1,default:!1},typeLanguage:{type:String,required:!1,default:"br"}},data:function(){return{isLoaded:!0,isMobile:!1}},mounted:function(){var t=this;t.isMobile=t.detectSize(),window.addEventListener("resize",(function(e){t.isMobile=t.detectSize()}))},methods:{detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},isLoadingMethod:function(t){this.isLoaded=t},changeUuid:function(t){this.uuid=t,//.uuid
1361
- this.isLoaded=!0}}},void 0,!1,void 0,!1,b,void 0,void 0)),Mt=v({render:function(){var t=this.$createElement;return(this._self._c||t)("hr",this._g(this._b({staticClass:"hr-group",class:"kind-"+this.kind,style:{height:this.height,backgroundColor:this.backgroundColor}},"hr",this.$attrs,!1),this.$listeners))},staticRenderFns:[]},(function(t){t&&t("data-v-181cb712_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-181cb712]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-181cb712]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-181cb712]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-181cb712]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-181cb712]{font-size:14px}}@media (min-width:1024px){[data-v-181cb712]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-181cb712]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-181cb712]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-181cb712]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-181cb712]{font-size:1.56vw}}html[data-v-181cb712]{box-sizing:border-box}*[data-v-181cb712],[data-v-181cb712]::after,[data-v-181cb712]::before{box-sizing:border-box}.hr-group[data-v-181cb712]{width:100%;margin:0;border:0;background-color:#dfdae4}',map:void 0,media:void 0})}),{name:"HR",props:{
1432
+ // have_name: {
1433
+ // type: Boolean,
1434
+ // required: false,
1435
+ // default: false,
1436
+ // },
1437
+ // /** Show number at shirt. */
1438
+ // have_shirt_number: {
1439
+ // type: Boolean,
1440
+ // required: false,
1441
+ // default: false,
1442
+ // },
1443
+ // /** Show layout changes. */
1444
+ // have_layout: {
1445
+ // type: Boolean,
1446
+ // required: false,
1447
+ // default: false,
1448
+ // },
1449
+ // /** Show Birth date. */
1450
+ // have_birth_date: {
1451
+ // type: Boolean,
1452
+ // required: false,
1453
+ // default: false,
1454
+ // },
1455
+ // /** Show Pet. */
1456
+ // have_pet: {
1457
+ // type: Boolean,
1458
+ // required: false,
1459
+ // default: false,
1460
+ // },
1461
+ typeLanguage:{type:String,required:!1,default:"br"}},data:function(){return{isLoaded:!0,isMobile:!1}},mounted:function(){var t=this;t.isMobile=t.detectSize(),window.addEventListener("resize",(function(e){t.isMobile=t.detectSize()}))},methods:{detectSize:function(){var t=!1;return window.innerWidth<990&&(t=!0),t},isLoadingMethod:function(t){this.isLoaded=t},changeUuid:function(t){this.uuid=t,//.uuid
1462
+ this.isLoaded=!0}}},void 0,!1,void 0,!1,b,void 0,void 0)),Nt=v({render:function(){var t=this.$createElement;return(this._self._c||t)("hr",this._g(this._b({staticClass:"hr-group",class:"kind-"+this.kind,style:{height:this.height,backgroundColor:this.backgroundColor}},"hr",this.$attrs,!1),this.$listeners))},staticRenderFns:[]},(function(t){t&&t("data-v-181cb712_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-181cb712]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-181cb712]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-181cb712]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-181cb712]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-181cb712]{font-size:14px}}@media (min-width:1024px){[data-v-181cb712]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-181cb712]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-181cb712]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-181cb712]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-181cb712]{font-size:1.56vw}}html[data-v-181cb712]{box-sizing:border-box}*[data-v-181cb712],[data-v-181cb712]::after,[data-v-181cb712]::before{box-sizing:border-box}.hr-group[data-v-181cb712]{width:100%;margin:0;border:0;background-color:#dfdae4}',map:void 0,media:void 0})}),{name:"HR",props:{
1362
1463
  /**
1363
1464
  * Tipo do HR<br>
1364
1465
  * Values: `primary` `variable`
@@ -1373,14 +1474,14 @@ height:{type:String,default:"1px"},
1373
1474
  * HEX de cor, deve ser usado junto com kind `variable`<br>
1374
1475
  * Example: `#DFDAE4`
1375
1476
  **/
1376
- color:{type:String,default:"#DFDAE4"}},data:function(){return{colorDefault:"#DFDAE4"}},computed:{backgroundColor:function(){return"primary"!==this.kind?this.color:this.colorDefault}}},"data-v-181cb712",!1,void 0,!1,b,void 0,void 0),Nt=v({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",this._g(this._b({staticClass:"loading"},"div",this.$attrs,!1),this.$listeners),[e("svg",{staticClass:"spinner"},[e("circle",{staticClass:"path",attrs:{stroke:this.color,cx:"16",cy:"16",r:"13",fill:"none","stroke-width":"5"}})])])},staticRenderFns:[]},(function(t){t&&t("data-v-48adbeda_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-48adbeda]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-48adbeda]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-48adbeda]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-48adbeda]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-48adbeda]{font-size:14px}}@media (min-width:1024px){[data-v-48adbeda]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-48adbeda]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-48adbeda]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-48adbeda]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-48adbeda]{font-size:1.56vw}}html[data-v-48adbeda]{box-sizing:border-box}*[data-v-48adbeda],[data-v-48adbeda]::after,[data-v-48adbeda]::before{box-sizing:border-box}.loading[data-v-48adbeda]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;position:absolute}.spinner[data-v-48adbeda]{animation:rotate-data-v-48adbeda 2s linear infinite;z-index:2;width:32px;height:32px}@media (max-width:479px){.spinner[data-v-48adbeda]{width:24px;height:24px;margin:-12px 0 0 -12px}}.spinner .path[data-v-48adbeda]{stroke-linecap:round;animation:dash-data-v-48adbeda 1.5s ease-in-out infinite}@media (max-width:479px){.spinner .path[data-v-48adbeda]{width:12px;height:12px;margin:-6px 0 0 -6px;stroke-width:3}}@keyframes rotate-data-v-48adbeda{100%{transform:rotate(360deg)}}@keyframes dash-data-v-48adbeda{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}',map:void 0,media:void 0})}),{name:"Spinner",props:{color:{type:String,default:"#000"}}},"data-v-48adbeda",!1,void 0,!1,b,void 0,void 0),Lt=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"feedback-flag",class:t.visible?"opened":""},[a("div",{staticClass:"box-feedback",class:t.displayVisible?"view-box":"",on:{click:t.closeFeedBack}},[a("div",{staticClass:"box-body",class:t.type},[a("div",{staticClass:"icon-box"},["success"===t.type?a("Icon",{attrs:{name:"check"}}):"atention"===t.type?a("Icon",{attrs:{name:"alert"}}):a("Icon",{attrs:{name:"caution"}})],1),t._v(" "),a("div",{staticClass:"header"},[a("Paragraph",{staticClass:"title",attrs:{type:"bold",size:"sm"}},[t._v(t._s(t.title))]),t._v(" "),a("Paragraph",{staticClass:"description",attrs:{size:"sm"}},[t._v(t._s(t.description))])],1),t._v(" "),a("div",{staticClass:"close-feedback",on:{click:t.closeFeedBack}},[a("Icon",{attrs:{name:"close"}})],1)])])])},staticRenderFns:[]},(function(t){t&&t("data-v-ae47cb8c_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-ae47cb8c]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-ae47cb8c]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-ae47cb8c]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-ae47cb8c]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-ae47cb8c]{font-size:14px}}@media (min-width:1024px){[data-v-ae47cb8c]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-ae47cb8c]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-ae47cb8c]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-ae47cb8c]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-ae47cb8c]{font-size:1.56vw}}html[data-v-ae47cb8c]{box-sizing:border-box}*[data-v-ae47cb8c],[data-v-ae47cb8c]::after,[data-v-ae47cb8c]::before{box-sizing:border-box}.feedback-flag[data-v-ae47cb8c]{width:100vw;height:100vh;display:none}.feedback-flag.opened[data-v-ae47cb8c]{display:block;position:fixed;z-index:1050;left:0;top:0}.feedback-flag.opened[data-v-ae47cb8c]:before{transition:all .3s;opacity:1}.feedback-flag[data-v-ae47cb8c]:before{content:"";position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background:rgba(104,89,110,.24);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);transition:all .3s;opacity:0}.box-feedback[data-v-ae47cb8c]{position:fixed;bottom:0;margin:0 auto;right:35%;z-index:9999;background:#fff;box-shadow:4px 4px 16px rgba(175,162,186,.24);transition:transform 450ms cubic-bezier(.4,0,.2,1),opacity 450ms cubic-bezier(.4,0,.2,1),-webkit-transform 450ms cubic-bezier(.4,0,.2,1);opacity:1;border-radius:.380952381rem;transform:translateY(6.1904761905rem);overflow:hidden}@media (max-width:479px){.box-feedback[data-v-ae47cb8c]{border-radius:.7476635514rem;transform:translateY(12.1495327103rem);right:0;left:0;width:90%}}.box-feedback .box-body[data-v-ae47cb8c]{transition:opacity .3s cubic-bezier(.4,0,.2,1);opacity:0;background-color:#fff}.box-feedback.view-box[data-v-ae47cb8c]{transform:translateY(-1.9047619048rem);opacity:1}@media (max-width:479px){.box-feedback.view-box[data-v-ae47cb8c]{transform:translateY(-3.738317757rem)}}.box-feedback.view-box .box-body[data-v-ae47cb8c]{opacity:1}.box-feedback .box-body[data-v-ae47cb8c]{position:relative;display:flex;align-items:center;padding:1.1428571429rem .7619047619rem;padding-bottom:.7619047619rem;justify-content:space-between}@media (max-width:479px){.box-feedback .box-body[data-v-ae47cb8c]{padding:2.2429906542rem 1.4953271028rem}}.box-feedback .box-body.success .icon-box[data-v-ae47cb8c]{background-color:#00cf72}.box-feedback .box-body.success .title[data-v-ae47cb8c]{color:#00cf72!important}.box-feedback .box-body.success[data-v-ae47cb8c]:before{background-color:#00cf72}.box-feedback .box-body.failed .icon-box[data-v-ae47cb8c]{background-color:#ff4641}.box-feedback .box-body.failed .title[data-v-ae47cb8c]{color:#ff4641!important}.box-feedback .box-body.failed[data-v-ae47cb8c]:before{background-color:#ff4641}.box-feedback .box-body.atention .icon-box[data-v-ae47cb8c]{background-color:#feaf00}.box-feedback .box-body.atention .title[data-v-ae47cb8c]{color:#feaf00!important}.box-feedback .box-body.atention[data-v-ae47cb8c]:before{background-color:#feaf00}.box-feedback .box-body[data-v-ae47cb8c]:before{content:"";display:block;position:absolute;height:.4285714286rem;width:100%;left:0;top:-.0476190476rem;margin-top:auto;margin-bottom:auto;border-radius:.380952381rem .380952381rem 0 0}@media (max-width:479px){.box-feedback .box-body[data-v-ae47cb8c]:before{top:-.0934579439rem;height:.7476635514rem;border-radius:.7476635514rem .7476635514rem 0 0}}.box-feedback .box-body .header[data-v-ae47cb8c]{max-width:13.5238095238rem}@media (max-width:479px){.box-feedback .box-body .header[data-v-ae47cb8c]{max-width:26.5420560748rem}}.box-feedback .box-body .icon-box[data-v-ae47cb8c]{margin-right:.7619047619rem;border-radius:50%}@media (max-width:479px){.box-feedback .box-body .icon-box[data-v-ae47cb8c]{width:3.738317757rem;height:3.738317757rem;margin-right:1.4953271028rem}}.box-feedback .box-body .icon-box .icon[data-v-ae47cb8c]{display:flex;justify-content:center;align-items:center;width:1.9047619048rem;height:1.9047619048rem}@media (max-width:479px){.box-feedback .box-body .icon-box .icon[data-v-ae47cb8c]{width:3.738317757rem;height:3.738317757rem}}.box-feedback .box-body .icon-box[data-v-ae47cb8c] svg{width:1.5238095238rem;height:1.5238095238rem}@media (max-width:479px){.box-feedback .box-body .icon-box[data-v-ae47cb8c] svg{width:2.9906542056rem;height:2.9906542056rem}}.box-feedback .box-body .icon-box[data-v-ae47cb8c] svg path{fill:#fff}.box-feedback .box-body .close-feedback[data-v-ae47cb8c]{width:1.1428571429rem;height:100%;display:flex;align-items:center;justify-content:center;margin-left:.7619047619rem;cursor:pointer}@media (max-width:479px){.box-feedback .box-body .close-feedback[data-v-ae47cb8c]{width:2.9906542056rem}}.box-feedback .box-body .close-feedback .icon[data-v-ae47cb8c]{display:flex;align-items:center}.box-feedback .box-body .close-feedback[data-v-ae47cb8c] svg{width:1.1428571429rem;height:1.1428571429rem}@media (max-width:479px){.box-feedback .box-body .close-feedback[data-v-ae47cb8c] svg{width:2.2429906542rem;height:2.2429906542rem}}.box-feedback .box-body .close-feedback[data-v-ae47cb8c] svg path{fill:#dfdae4}',map:void 0,media:void 0})}),{name:"FeedBack",components:{Paragraph:gt,Icon:I},props:{
1477
+ color:{type:String,default:"#DFDAE4"}},data:function(){return{colorDefault:"#DFDAE4"}},computed:{backgroundColor:function(){return"primary"!==this.kind?this.color:this.colorDefault}}},"data-v-181cb712",!1,void 0,!1,b,void 0,void 0),It=v({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",this._g(this._b({staticClass:"loading"},"div",this.$attrs,!1),this.$listeners),[e("svg",{staticClass:"spinner"},[e("circle",{staticClass:"path",attrs:{stroke:this.color,cx:"16",cy:"16",r:"13",fill:"none","stroke-width":"5"}})])])},staticRenderFns:[]},(function(t){t&&t("data-v-48adbeda_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-48adbeda]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-48adbeda]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-48adbeda]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-48adbeda]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-48adbeda]{font-size:14px}}@media (min-width:1024px){[data-v-48adbeda]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-48adbeda]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-48adbeda]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-48adbeda]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-48adbeda]{font-size:1.56vw}}html[data-v-48adbeda]{box-sizing:border-box}*[data-v-48adbeda],[data-v-48adbeda]::after,[data-v-48adbeda]::before{box-sizing:border-box}.loading[data-v-48adbeda]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;position:absolute}.spinner[data-v-48adbeda]{animation:rotate-data-v-48adbeda 2s linear infinite;z-index:2;width:32px;height:32px}@media (max-width:479px){.spinner[data-v-48adbeda]{width:24px;height:24px;margin:-12px 0 0 -12px}}.spinner .path[data-v-48adbeda]{stroke-linecap:round;animation:dash-data-v-48adbeda 1.5s ease-in-out infinite}@media (max-width:479px){.spinner .path[data-v-48adbeda]{width:12px;height:12px;margin:-6px 0 0 -6px;stroke-width:3}}@keyframes rotate-data-v-48adbeda{100%{transform:rotate(360deg)}}@keyframes dash-data-v-48adbeda{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}',map:void 0,media:void 0})}),{name:"Spinner",props:{color:{type:String,default:"#000"}}},"data-v-48adbeda",!1,void 0,!1,b,void 0,void 0),Lt=v({render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"feedback-flag",class:t.visible?"opened":""},[a("div",{staticClass:"box-feedback",class:t.displayVisible?"view-box":"",on:{click:t.closeFeedBack}},[a("div",{staticClass:"box-body",class:t.type},[a("div",{staticClass:"icon-box"},["success"===t.type?a("Icon",{attrs:{name:"check"}}):"atention"===t.type?a("Icon",{attrs:{name:"alert"}}):a("Icon",{attrs:{name:"caution"}})],1),t._v(" "),a("div",{staticClass:"header"},[a("Paragraph",{staticClass:"title",attrs:{type:"bold",size:"sm"}},[t._v(t._s(t.title))]),t._v(" "),a("Paragraph",{staticClass:"description",attrs:{size:"sm"}},[t._v(t._s(t.description))])],1),t._v(" "),a("div",{staticClass:"close-feedback",on:{click:t.closeFeedBack}},[a("Icon",{attrs:{name:"close"}})],1)])])])},staticRenderFns:[]},(function(t){t&&t("data-v-ae47cb8c_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-ae47cb8c]:root{--column-width:6.6666666667vw}@media (min-width:0px){[data-v-ae47cb8c]:root{--column-width:6.6666666667vw}}@media (min-width:480px){[data-v-ae47cb8c]:root{--column-width:2.7777777778vw}}@media (min-width:0px){html[data-v-ae47cb8c]{font-size:2.9166666667vw}}@media (min-width:480px){html[data-v-ae47cb8c]{font-size:14px}}@media (min-width:1024px){[data-v-ae47cb8c]:root{--column-width:2.7777777778vw}}@media (min-width:1920px){[data-v-ae47cb8c]:root{--column-width:2.7777777778vw}}@media (min-width:2620px){[data-v-ae47cb8c]:root{--column-width:2.7777777778vw}}@media (min-width:1024px){html[data-v-ae47cb8c]{font-size:1.5648854962vw}}@media (min-width:2620px){html[data-v-ae47cb8c]{font-size:1.56vw}}html[data-v-ae47cb8c]{box-sizing:border-box}*[data-v-ae47cb8c],[data-v-ae47cb8c]::after,[data-v-ae47cb8c]::before{box-sizing:border-box}.feedback-flag[data-v-ae47cb8c]{width:100vw;height:100vh;display:none}.feedback-flag.opened[data-v-ae47cb8c]{display:block;position:fixed;z-index:1050;left:0;top:0}.feedback-flag.opened[data-v-ae47cb8c]:before{transition:all .3s;opacity:1}.feedback-flag[data-v-ae47cb8c]:before{content:"";position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh;background:rgba(104,89,110,.24);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);transition:all .3s;opacity:0}.box-feedback[data-v-ae47cb8c]{position:fixed;bottom:0;margin:0 auto;right:35%;z-index:9999;background:#fff;box-shadow:4px 4px 16px rgba(175,162,186,.24);transition:transform 450ms cubic-bezier(.4,0,.2,1),opacity 450ms cubic-bezier(.4,0,.2,1),-webkit-transform 450ms cubic-bezier(.4,0,.2,1);opacity:1;border-radius:.380952381rem;transform:translateY(6.1904761905rem);overflow:hidden}@media (max-width:479px){.box-feedback[data-v-ae47cb8c]{border-radius:.7476635514rem;transform:translateY(12.1495327103rem);right:0;left:0;width:90%}}.box-feedback .box-body[data-v-ae47cb8c]{transition:opacity .3s cubic-bezier(.4,0,.2,1);opacity:0;background-color:#fff}.box-feedback.view-box[data-v-ae47cb8c]{transform:translateY(-1.9047619048rem);opacity:1}@media (max-width:479px){.box-feedback.view-box[data-v-ae47cb8c]{transform:translateY(-3.738317757rem)}}.box-feedback.view-box .box-body[data-v-ae47cb8c]{opacity:1}.box-feedback .box-body[data-v-ae47cb8c]{position:relative;display:flex;align-items:center;padding:1.1428571429rem .7619047619rem;padding-bottom:.7619047619rem;justify-content:space-between}@media (max-width:479px){.box-feedback .box-body[data-v-ae47cb8c]{padding:2.2429906542rem 1.4953271028rem}}.box-feedback .box-body.success .icon-box[data-v-ae47cb8c]{background-color:#00cf72}.box-feedback .box-body.success .title[data-v-ae47cb8c]{color:#00cf72!important}.box-feedback .box-body.success[data-v-ae47cb8c]:before{background-color:#00cf72}.box-feedback .box-body.failed .icon-box[data-v-ae47cb8c]{background-color:#ff4641}.box-feedback .box-body.failed .title[data-v-ae47cb8c]{color:#ff4641!important}.box-feedback .box-body.failed[data-v-ae47cb8c]:before{background-color:#ff4641}.box-feedback .box-body.atention .icon-box[data-v-ae47cb8c]{background-color:#feaf00}.box-feedback .box-body.atention .title[data-v-ae47cb8c]{color:#feaf00!important}.box-feedback .box-body.atention[data-v-ae47cb8c]:before{background-color:#feaf00}.box-feedback .box-body[data-v-ae47cb8c]:before{content:"";display:block;position:absolute;height:.4285714286rem;width:100%;left:0;top:-.0476190476rem;margin-top:auto;margin-bottom:auto;border-radius:.380952381rem .380952381rem 0 0}@media (max-width:479px){.box-feedback .box-body[data-v-ae47cb8c]:before{top:-.0934579439rem;height:.7476635514rem;border-radius:.7476635514rem .7476635514rem 0 0}}.box-feedback .box-body .header[data-v-ae47cb8c]{max-width:13.5238095238rem}@media (max-width:479px){.box-feedback .box-body .header[data-v-ae47cb8c]{max-width:26.5420560748rem}}.box-feedback .box-body .icon-box[data-v-ae47cb8c]{margin-right:.7619047619rem;border-radius:50%}@media (max-width:479px){.box-feedback .box-body .icon-box[data-v-ae47cb8c]{width:3.738317757rem;height:3.738317757rem;margin-right:1.4953271028rem}}.box-feedback .box-body .icon-box .icon[data-v-ae47cb8c]{display:flex;justify-content:center;align-items:center;width:1.9047619048rem;height:1.9047619048rem}@media (max-width:479px){.box-feedback .box-body .icon-box .icon[data-v-ae47cb8c]{width:3.738317757rem;height:3.738317757rem}}.box-feedback .box-body .icon-box[data-v-ae47cb8c] svg{width:1.5238095238rem;height:1.5238095238rem}@media (max-width:479px){.box-feedback .box-body .icon-box[data-v-ae47cb8c] svg{width:2.9906542056rem;height:2.9906542056rem}}.box-feedback .box-body .icon-box[data-v-ae47cb8c] svg path{fill:#fff}.box-feedback .box-body .close-feedback[data-v-ae47cb8c]{width:1.1428571429rem;height:100%;display:flex;align-items:center;justify-content:center;margin-left:.7619047619rem;cursor:pointer}@media (max-width:479px){.box-feedback .box-body .close-feedback[data-v-ae47cb8c]{width:2.9906542056rem}}.box-feedback .box-body .close-feedback .icon[data-v-ae47cb8c]{display:flex;align-items:center}.box-feedback .box-body .close-feedback[data-v-ae47cb8c] svg{width:1.1428571429rem;height:1.1428571429rem}@media (max-width:479px){.box-feedback .box-body .close-feedback[data-v-ae47cb8c] svg{width:2.2429906542rem;height:2.2429906542rem}}.box-feedback .box-body .close-feedback[data-v-ae47cb8c] svg path{fill:#dfdae4}',map:void 0,media:void 0})}),{name:"FeedBack",components:{Paragraph:gt,Icon:L},props:{
1377
1478
  /**
1378
1479
  * Tipo do HR<br>
1379
1480
  * Values: `primary` `variable`
1380
1481
  **/
1381
1482
  visible:{type:Boolean,default:!0,required:!0},title:{type:String,default:"default",required:!0},description:{type:String,default:"default",required:!0},type:{type:String,default:"success",required:!0}},watch:{visible:{
1382
1483
  // the callback will be called immediately after the start of the observation
1383
- immediate:!0,handler:function(t,e){var a=this;!0===t&&setTimeout((function(){a.displayVisible=!0}),300)}}},data:function(){return{displayVisible:!1}},methods:{closeFeedBack:function(){this.$emit("closeFeedBack")}}},"data-v-ae47cb8c",!1,void 0,!1,b,void 0,void 0),It=Object.freeze({__proto__:null,Avatar:M,Button:E,Card:T,CardLink:A,CardOption:B,Checkbox:R,Icon:I,Input:F,InputEdit:q,InputName:D,InputEmail:$,InputAddressNumber:U,InputAddress:H,InputAddressBilling:W,InputCardNumber:Y,Options:Z,Radius:J,Select:V,Birthday:at,BirthdayMobile:lt,TextArea:ct,GenderSelect:pt,Tabs:mt,Tooltip:ht,Caption:z,Heading:ut,Paragraph:gt,Modal:vt,Preview:yt,PreviewMobile:kt,PreviewTools:Ct,PreviewFull:Pt,PreviewWithTools:St,HR:Mt,Spinner:Nt,FeedBack:Lt}),Et=function(t){Et.installed||(Et.installed=!0,Object.entries(It).forEach((function(e){var a=m(e,2),i=a[0],o=a[1];t.component(i,o)})))},Tt={install:Et},At=null;"undefined"!=typeof window?At=window.Vue:"undefined"!=typeof global&&(At=global.Vue),At&&At.use(Tt);// Default export is library as a whole, registered via Vue.use()
1484
+ immediate:!0,handler:function(t,e){var a=this;!0===t&&setTimeout((function(){a.displayVisible=!0}),300)}}},data:function(){return{displayVisible:!1}},methods:{closeFeedBack:function(){this.$emit("closeFeedBack")}}},"data-v-ae47cb8c",!1,void 0,!1,b,void 0,void 0),Et=Object.freeze({__proto__:null,Avatar:S,Button:E,Card:A,CardLink:T,CardOption:B,Checkbox:R,Icon:L,Input:F,InputEdit:q,InputName:D,InputEmail:$,InputAddressNumber:U,InputAddress:H,InputAddressBilling:W,InputCardNumber:Y,Options:Z,Radius:J,Select:V,Birthday:at,BirthdayMobile:lt,TextArea:ct,GenderSelect:pt,Tabs:mt,Tooltip:ut,Caption:z,Heading:ht,Paragraph:gt,Modal:vt,Preview:zt,PreviewMobile:_t,PreviewTools:Mt,PreviewFull:Pt,PreviewWithTools:St,HR:Nt,Spinner:It,FeedBack:Lt}),At=function(t){At.installed||(At.installed=!0,Object.entries(Et).forEach((function(e){var a=m(e,2),i=a[0],o=a[1];t.component(i,o)})))},Tt={install:At},Bt=null;"undefined"!=typeof window?Bt=window.Vue:"undefined"!=typeof global&&(Bt=global.Vue),Bt&&Bt.use(Tt);// Default export is library as a whole, registered via Vue.use()
1384
1485
  // import MyButton from './components/MyButton/MyButton.vue';
1385
1486
  // import Heading from './components/Heading/Heading.vue';
1386
1487
  // // Declare install function executed by Vue.use()
@@ -1406,4 +1507,4 @@ immediate:!0,handler:function(t,e){var a=this;!0===t&&setTimeout((function(){a.d
1406
1507
  // }
1407
1508
  // // To allow use as module (npm/webpack/etc.) export component
1408
1509
  // export default MyButton;
1409
- export default Tt;export{M as Avatar,at as Birthday,lt as BirthdayMobile,E as Button,z as Caption,T as Card,A as CardLink,B as CardOption,R as Checkbox,Lt as FeedBack,pt as GenderSelect,Mt as HR,ut as Heading,I as Icon,F as Input,H as InputAddress,W as InputAddressBilling,U as InputAddressNumber,Y as InputCardNumber,q as InputEdit,$ as InputEmail,D as InputName,vt as Modal,Z as Options,gt as Paragraph,yt as Preview,Pt as PreviewFull,kt as PreviewMobile,Ct as PreviewTools,St as PreviewWithTools,J as Radius,V as Select,Nt as Spinner,mt as Tabs,ct as TextArea,ht as Tooltip};
1510
+ export default Tt;export{S as Avatar,at as Birthday,lt as BirthdayMobile,E as Button,z as Caption,A as Card,T as CardLink,B as CardOption,R as Checkbox,Lt as FeedBack,pt as GenderSelect,Nt as HR,ht as Heading,L as Icon,F as Input,H as InputAddress,W as InputAddressBilling,U as InputAddressNumber,Y as InputCardNumber,q as InputEdit,$ as InputEmail,D as InputName,vt as Modal,Z as Options,gt as Paragraph,zt as Preview,Pt as PreviewFull,_t as PreviewMobile,Mt as PreviewTools,St as PreviewWithTools,J as Radius,V as Select,It as Spinner,mt as Tabs,ct as TextArea,ut as Tooltip};