PageSourceSearch

https://habitica.com/assets/index-BNcFwAmS.js

js habitica.com collected 2026-09-24 08:29:48 UTC 24,553 bytes, 1 lines download raw bytes

1import{n as h,m as g,an as S,S as u,J as O,v as _,aQ as x,s as M,ac as m,ae as v,aO as f,aC as D,X as y,W as I,i as T}from"./index-BTusD_H2.js";import{_ as B,R as F}from"./resize.directive-oCZCKX12.js";import{_ as k}from"./groupBy-o4k2pr0x.js";import{i as A,a as d,b as H,d as N,D as b,I as E,H as R,c as L}from"./dragdrop.directive-DQNPgLBu.js";import{C as j}from"./mouseposition.directive-Ez8kGDjy.js";import{m as q}from"./positive-bpSOLqYI.js";import{s as C}from"./seasonalNPC-Ch5m5yO_.js";import{N as $}from"./copyToClipboard-BLhhoJdE.js";import{t as K}from"./toggleSwitch-CEWcRntz.js";import{I as z}from"./inventoryDrawer-CtTeWjKl.js";import{o as Z,S as Q}from"./showMoreButton-DTUDfIBx.js";import{F as W,a as J}from"./filterGroup-BYJ575ob.js";import{E as X}from"./equipBadge-CLes6qHD.js";import{S as U}from"./selectTranslatedArray-BNPEhq14.js";import"./drawer-Cxs0O53q.js";import"./selectList-CsWsuZ9o.js";const V={components:{Sprite:u},mixins:[S],props:{item:{type:Object},label:{type:String},highlightBorder:{type:Boolean,default:!1},popoverPosition:{type:String,default:"bottom"},showPopover:{type:Boolean,default:!0}},data(){return Object.freeze({itemId:_()})},computed:{...g({userItems:"user.data.items",currentEventList:"worldState.data.currentEventList"}),potionClass(){return`Pet_HatchingPotion_${this.item.potionKey}`},eggClass(){return`Pet_Egg_${this.item.eggKey}`}},methods:{click(){this.$emit("click",{})},isOwned(){return d("pet",this.item,this.userItems)},isAllowedToFeed(){return N(this.item,this.userItems)},itemClass(){return this.isOwned()||this.isHatchable()?"":"GreyedOut"},imageName(){var t;const s=(t=this.currentEventList)==null?void 0:t.find(e=>O().isBetween(e.start,e.end)&&e.spriteSubstitutions);return this.isOwned()&&s&&s.spriteSubstitutions.pets?`stable_${this.foolPet(`Pet-${this.item.key}`,s.spriteSubstitutions.pets)}`:this.isOwned()||this.mountOwned()&&this.isHatchable()?`stable_Pet-${this.item.key}`:!this.isOwned()&&this.isSpecial()||this.isHatchable()?"PixelPaw":this.mountOwned()?`stable_Pet-${this.item.key}`:"PixelPaw"},progress(){return this.userItems.pets[this.item.key]},isHatchable(){return H(this.item,this.userItems)},mountOwned(){return d("mount",this.item,this.userItems)},isSpecial(){return A(this.item)}}};var Y=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"item-wrapper",attrs:{id:t.itemId},on:{click:function(i){return t.click()}}}
1,[e("div",{staticClass:"item pet-slot transition",class:{"item-empty":!t.isOwned(),highlight:t.highlightBorder}},[t._t("itemBadge",null,{item:t.item}),t.isHatchable()&&!t.item.isSpecial()?e("span",{staticClass:"item-content hatchAgain"},[e("Sprite",{staticClass:"egg",attrs:{"image-name":t.eggClass}}),e("Sprite",{staticClass:"potion",attrs:{"image-name":t.potionClass}})],1):e("Sprite",{staticClass:"item-content",class:t.itemClass(),attrs:{"image-name":t.imageName()}}),t.isAllowedToFeed()&&t.progress()>0?e("span",{staticClass:"pet-progress-background"},[e("div",{staticClass:"pet-progress-bar",style:{width:100*t.progress()/50+"%"}})]):t._e()],2),t.label?e("span",{staticClass:"item-label"},[t._v(t._s(t.label))]):t._e()]),e("b-popover",{attrs:{target:t.itemId,triggers:t.showPopover?"hover":"",placement:t.popoverPosition}},[t.item.isHatchable()?e("div",{staticClass:"hatchablePopover"},[e("h4",{staticClass:"popover-content-title"},[t._v(" "+t._s(t.item.name)+" ")]),e("div",{staticClass:"popover-content-text",domProps:{innerHTML:t._s(t.$t("haveHatchablePet",{potion:t.item.potionName,egg:t.item.eggName}))}}),e("div",{staticClass:"potionEggGroup"},[e("div",{staticClass:"potionEggBackground"},[e("Sprite",{attrs:{"image-name":t.potionClass}})],1),e("div",{staticClass:"potionEggBackground"},[e("Sprite",{attrs:{"image-name":t.eggClass}})],1)])]):e("div",[e("h4",{staticClass:"popover-content-title"},[t._v(" "+t._s(t.item.name)+" ")])])])],1)},G=[],tt=h(V,Y,G,!1,null,null);
1const et=tt.exports,st={components:{Sprite:u},props:{item:{type:Object},popoverPosition:{type:String,default:"bottom"},showPopover:{type:Boolean,default:!0}},data(){return Object.freeze({itemId:_()})},computed:{...g({userItems:"user.data.items"})},methods:{click(){this.$emit("click",{})},isOwned(){return d("mount",this.item,this.userItems)},itemClass(){return this.isOwned()?"":"GreyedOut"},imageName(){return this.isOwned()?`stable_Mount_Icon_${this.item.key}`:"PixelPaw"}}};var it=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"item-wrapper",attrs:{id:t.itemId},on:{click:function(i){return t.click()}}},[e("div",{staticClass:"item pet-slot transition",class:{"item-empty":!t.isOwned()}},[t._t("itemBadge",null,{item:t.item}),e("Sprite",{staticClass:"item-content",class:t.itemClass(),attrs:{"image-name":t.imageName()}})],2)]),t.showPopover?e("b-popover",{attrs:{target:t.itemId,triggers:"hover",placement:t.popoverPosition}},[t._t("popoverContent",null,{item:t.item})],2):t._e()],1)},ot=[],at=h(st,it,ot,!1,null,null);const nt=at.exports,rt={components:{CountBadge:j,Sprite:u},directives:{drag:b},props:{item:{type:Object},itemCount:{type:Number},itemContentClass:{type:String},itemName:{type:String},active:{type:Boolean}},data(){return Object.freeze({itemId:_()})},methods:{dragend(s){this.$emit("itemDragEnd",s)},dragstart(s){this.$emit("itemDragStart",s)},click(s){this.$emit("itemClick",s)}}};var ct=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"item-wrapper",attrs:{id:t.itemId},on:{click:function(i){return t.click(i)}}}
1,[e("div",{staticClass:"item transition",class:{"item-active":t.active}},[e("countBadge",{attrs:{show:!0,count:t.itemCount}}),e("Sprite",{directives:[{name:"drag",rawName:"v-drag.food",value:t.item.key,expression:"item.key",modifiers:{food:!0}}],staticClass:"item-content",attrs:{"image-name":`Pet_Food_${t.item.key}`},on:{itemDragEnd:function(i){return t.dragend(i)},itemDragStart:function(i){return t.dragstart(i)}}})],1)]),e("b-popover",{attrs:{target:t.itemId,triggers:"hover",placement:"top"}},[e("h4",{staticClass:"popover-content-title"},[t._v(" "+t._s(t.itemName||t.item.text())+" ")]),e("div",{staticClass:"popover-content-text",domProps:{innerHTML:t._s(t.item.notes())}})])],1)},lt=[],dt=h(rt,ct,lt,!1,null,null);const ht=dt.exports,mt={components:{Sprite:u},directives:{markdown:q},props:{hideText:{type:Boolean}},data(){return{mount:null}},mounted(){this.$root.$on("habitica::mount-raised",this.openDialog)},beforeDestroy(){this.$root.$off("habitica::mount-raised",this.openDialog)},methods:{openDialog(s){this.mount=x.mountInfo[s],this.$root.$emit("bv::show::modal","mount-raised-modal")},close(){this.$root.$emit("bv::hide::modal","mount-raised-modal"),this.mount=null}}};var ut=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{id:"mount-raised-modal","hide-header":!0}},[t.mount!=null?e("div",{staticClass:"content"},[e("div",{staticClass:"dialog-header title"},[t._v(" "+t._s(t.$t("raisedPet",{pet:t.mount.text()}))+" ")]),e("div",{staticClass:"inner-content"},[e("div",{staticClass:"pet-background"},[e("Sprite",{staticClass:"mount",attrs:{"image-name":`stable_Mount_Icon_${t.mount.key}`}})],1),e("h4",{staticClass:"title"},[t._v(" "+t._s(t.mount.text())+" ")]),e("button",{staticClass:"btn btn-primary onward",on:{click:function(i){return t.close()}}},[t._v(" "+t._s(t.$t("onward"))+" ")])])]):t._e(),e("div",{staticClass:"clearfix",attrs:{slot:"modal-footer"},slot:"modal-footer"})])},gt=[],pt=h(mt,ut,gt,!1,null,"a11d0009");const vt=pt.exports,ft={mixins:[C],computed:{...g({hideDialog:"user.data.flags.tutorial.common.mounts"})},methods:{hideFlag(){this.$store.dispatch("user:set",{"flags.tutorial.common.mounts":!0})}}};var _t=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{id:"welcome-modal","ok-only":!0,"ok-title":t.$t("gotIt"),visible:!t.hideDialog,"hide-header":!0},on:{hide:function(i){return t.hideFlag()}}},[e("div",{staticClass:"content"},[e("div",{class:t.npcClass("matt")}),t._m(0),t._m(1)])])},yt=[function(){var s=this,t=s._self._c;return t("h1",{staticClass:"page-header"},[s._v(" "+s._s(s.$t("welcomeStable"))+" ")])},function(){var s=this,t=s._self._c;return t("div",{staticClass:"content-text"},[s._v(" "+s._s(s.$t("welcomeStableText"))+" ")])}],kt=h(ft,_t,yt,!1,null,"80128846");const wt=kt.exports,P={mixins:[$],methods:{closeHatchPetDialog(){this.$root.$emit("bv::hide::modal","hatching-modal")},hatchPet(s){this.closeHatchPetDialog(),this.$store.dispatch("common:hatch",{egg:s.eggKey,hatchingPotion:s.potionKey}),this.text(this.$t("hatchedPet",{egg:s.eggName,potion:s.potionName}))}}},bt={components:{Sprite:u},mixins:[P],props:["hatchablePet"],data(){return{icons:Object.freeze({close:M})}}};var Ct=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{id:"hatching-modal"}},[t.hatchablePet?e("div",{staticClass:"content"},[e("div",{staticClass:"potionEggGroup"},[e("div",{staticClass:"potionEggBackground"},[e("Sprite",{attrs:{"image-name":`Pet_HatchingPotion_${t.hatchablePet.potionKey}`}})],1),e("div",{staticClass:"potionEggBackground"},[e("Sprite",{attrs:{"image-name":`Pet_Egg_${t.hatchablePet.eggKey}`}})],1)]),e("h4",{staticClass:"title"},[t._v(" "+t._s(t.hatchablePet.name)+" ")]),e("div",{staticClass:"text",domProps:{innerHTML:t._s(t.$t("hatchDialogText",{potionName:t.hatchablePet.potionName,eggName:t.hatchablePet.eggName,petName:t.hatchablePet.name}))}})]):t._e(),e("span",{staticClass:"svg-icon icon-10",attrs:{slot:"modal-header"},domProps:{innerHTML:t._s(t.icons.close)},on:{click:function(i){return t.closeHatchPetDialog()}},slot:"modal-header"}),e("div",{attrs:{slot:"modal-footer"},slot:"modal-footer"},[e("button",{staticClass:"btn btn-primary",on:{click:function(i){return t.hatchPet(t.hatchablePet)}}},[t._v(" "+t._s(t.$t("hatch"))+" ")]),e("button",{staticClass:"btn btn-secondary btn-flat",on:{click:function(i){return t.closeHatchPetDialog()}}},[t._v(" "+t._s(t.$t("cancel"))+" ")])])])},$t=[],Pt=h(bt,Ct,$t,!1,null,null);const St=Pt.exports;let w={};const Ot={components:{SelectTranslatedArray:U,EquipBadge:X,ShowMoreButton:Q,FilterGroup:J,FilterSidebar:W,PetItem:et,FoodItem:ht,MountItem:nt,toggleSwitch:K,HatchedPetDialog:R,MountRaisedModal:vt,Welc
1omeModal:wt,HatchingModal:St,InventoryDrawer:z,ItemPopover:E},directives:{resize:F,drag:b},mixins:[$,Z,P,C],data(){const s=I(y.keyConstants.STABLE_SORT_STATE)||"standard";return{viewOptions:{},hideMissing:!1,searchText:null,searchTextThrottled:"",selectedSortBy:s,sortByItems:["standard","AZ","sortByColor","sortByHatchable"],icons:Object.freeze({information:T}),highlightPet:"",hatchablePet:null,foodClickMode:!1,currentDraggingFood:null,selectedDrawerTab:0,petRowCount:{},mountRowCount:{}}},computed:{...g({content:"content",currentPet:"user.data.items.currentPet",currentMount:"user.data.items.currentMount",userItems:"user.data.items",user:"user.data"}),petGroups(){const s=[{label:this.$t("filterByStandard"),key:"standardPets",petSource:{eggs:this.content.dropEggs,potions:this.content.dropHatchingPotions}},{label:this.$t("filterByMagicPotion"),key:"magicPets",petSource:{eggs:this.content.dropEggs,potions:this.content.premiumHatchingPotions}},{label:this.$t("filterByQuest"),key:"questPets",petSource:{eggs:this.content.questEggs,potions:this.content.dropHatchingPotions}},{label:this.$t("filterByWacky"),key:"wackyPets",petSource:{eggs:this.content.dropEggs,potions:this.content.wackyHatchingPotions}},{label:this.$t("special"),key:"specialPets",petSource:{special:this.content.specialPets}}];return s.forEach(t=>{this.$set(this.viewOptions,t.key,{selected:!1,animalCount:0})}),s},mountGroups(){const s=[{label:this.$t("filterByStandard"),key:"standardMounts",petSource:{eggs:this.content.dropEggs,potions:this.content.dropHatchingPotions}},{label:this.$t("filterByMagicPotion"),key:"magicMounts",petSource:{eggs:this.content.dropEggs,potions:this.content.premiumHatchingPotions}},{label:this.$t("filterByQuest"),key:"questMounts",petSource:{eggs:this.content.questEggs,potions:this.content.dropHatchingPotions}},{label:this.$t("special"),key:"specialMounts",petSource:{special:this.content.specialMounts}}];return s.forEach(t=>{this.$set(this.viewOptions,t.key,{selected:!1,animalCount:0})}),s},drawerTabs(){return[{label:this.$t("foodTitle"),items:m(this.content.food,s=>s.key!=="Saddle"&&this.userItems.food[s.key])},{label:this.$t("special"),items:m(this.content.food,s=>s.key==="Saddle"&&this.userItems.food[s.key])}]},anyFilterSelected(){return Object.values(this.viewOptions).some(s=>s.selected)}},watch:{searchText:B(function(){const t=this.searchText.toLowerCase();this.searchTextThrottled=t},250),selectedSortBy:{handler(){D(y.keyConstants.STABLE_SORT_STATE,this.selectedSortBy)}}},mounted(){this.$store.dispatch("common:setTitle",{subSection:this.$t("stable"),section:this.$t("inventory")})},methods:{setShowMore(s){this.$_openedItemRows_toggleByType(s,!this.$_openedItemRows_isToggled(s))},show(s,t){return t.canFind===void 0||d(s,t,this.userItems)||t.canFind},getAnimalList(s,t){const{key:e}=s;if(this.cachedAnimalList=this.cachedAnimalList||{},this.cachedAnimalList[e])return this.cachedAnimalList[e];const i=[],{userItems:n}=this;switch(e){case"specialPets":case"specialMounts":{f(s.petSource.special,(o,r)=>{const a=r.split("-")[0],c=r.split("-")[1],{canFind:l,text:p}=this.content[`${t}Info`][r];i.push({key:r,eggKey:a,eggName:p(),mountName:p(),potionKey:c,name:p(),canFind:l,isOwned(){return d(t,this,n)},mountOwned(){return d("mount",this,n)},isAllowedToFeed(){return t==="pet"&&this.isOwned()&&!this.mountOwned()},isHatchable(){return!1}})});break}default:f(s.petSource.eggs,o=>{f(s.petSource.potions,r=>{i.push(L(o,r,t,this.content,n))})})}return this.cachedAnimalList[e]=i,i},listAnimals(s,t,e,i,n){let o=this.getAnimalList(s,t);const r=t==="pet";switch(e&&(o=m(o,a=>a.isOwned())),n&&n!==""&&(o=m(o,a=>a.name.toLowerCase().indexOf(n)!==-1||a.eggName.toLowerCase().indexOf(n)!==-1||a.mountName.toLowerCase().indexOf(n)!==-1)),i){case"AZ":o=v(o,["eggName"]);break;case"sortByColor":o=v(o,["potionName"]);break;case"sortByHatchable":{r&&(o=v(o,[c=>c.isHatchable()?0:1]));break}}return this.viewOptions[s.key].animalCount=o.length,o},countOwnedAnimals(s,t){const e=this.getAnimalList(s,t),i=e.length;return`${m(e,o=>o.isOwned()||o.mountOwned()).length}/${i}`},pets(s,t,e,i){const n=this.listAnimals(s,"pet",t,e,i);if(s.key==="specialPets"||s.key==="wackyPets"&&e!=="sortByColor")return this.petRowCount[s.key]=1,{none:n};let o="eggKey";e==="sortByColor"?o="potionKey":e==="AZ"?o=a=>a.eggName[0]:e==="sortByHatchable"&&(o=a=>a.isHatchable()?0:1);const r=k(n,o);return this.petRowCount[s.key]=Object.keys(r).length,r},mounts(s,t,e,i){const n=this.listAnimals(s,"mount",t,e,i);if(s.key==="specialMounts")return this.mountRowCount[s.key]=1,{none:n};let o="eggKey";e==="sortByColor"?o="potionKey":e==="AZ"&&(o=a=>a.eggName[0]);const r=k(n,o);return this.mountRowCount[s.key]=Object.keys(r).length,r},updateHideMissing(s){this.hideMissing=s},selectPet(s){this.$store.dispatch("common:equip",{key:s.key,type:"pet"})},selectMount(s){this.$store.dispatch("common:equip",{key:s.key,type:"mount"})},onDragStart(s,t){this.currentDraggingFood=t;const e=this.$refs.dragginFoodInfo;s.event.dataTransfer.setDragImage(e,-20,-20)},onDragOver(s,t){t.isAllowedToFeed()?this.highlightPet=t.key:s.dropable=!1},async onDrop(s,t){this.highlightPet="",this.feedAction(t.key,s.draggingKey)},onDragEnd(){this.currentDraggingFood=null,this.highlightPet=""},onDragLeave(){this.highlightPet=""},isOwned(s,t){return d(s,t,this.userItems)},petClicked(s){if(this.currentDraggingFood!==null)s.isAllowedToFeed()&&(this.feedAction(s.key,this.currentDraggingFood.key),this.currentDraggingFood=null,this.foodClickMode=!1);else{if(s.isOwned()){this.selectPet(s);return}if(!s.isHatchable())return;if(this.user.preferences.suppressModals.hatchPet){this.hatchPet(s);return}this.hatchablePet=s,this.$root.$emit("bv::show::modal","hatching-modal")}},async feedAction(s,t){try{const e=await this.$store.dispatch("common:feed",{pet:s,food:t});if(e.message&&this.text(e.message),this.user.preferences.suppressModals.raisePet)return;this.user.items.pets[s]===-1&&this.$root.$emit("habitica::mount-raised",s)}catch(e){const i=e.message||e;this.$store.dispatch("snackbars:add",{title:"Habitica",text:i,type:"error",timeout:!0})}},onFoodClicked(s,t){this.currentDraggingFood===null||this.currentDraggingFood!==t?(this.currentDraggingFood=t,this.foodClickMode=!0,this.$nextTick(()=>{this.mouseMoved(w)})):(this.currentDraggingFood=null,this.foodClickMode=!1)}
1,mouseMoved(s){w=s,this.foodClickMode&&(this.$refs.clickFoodInfo.style.left=`${s.x-70}px`,this.$refs.clickFoodInfo.style.top=`${s.y}px`)}}};var xt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"row stable"},[e("div",{staticClass:"standard-sidebar d-none d-sm-block"},[e("filter-sidebar",[e("div",{attrs:{slot:"header"},slot:"header"},[e("div",{class:t.npcClass("matt"),attrs:{id:"npmMattStable"}}),e("b-popover",{attrs:{triggers:"hover",placement:"right",target:"npmMattStable"}},[t._m(0),t._m(1)])],1),e("div",{staticClass:"form-group",attrs:{slot:"search"},slot:"search"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchText,expression:"searchText"}],staticClass:"form-control input-search",attrs:{type:"text",placeholder:t.$t("search")},domProps:{value:t.searchText},on:{input:function(i){i.target.composing||(t.searchText=i.target.value)}}})]),e("filter-group",{attrs:{title:t.$t("pets")}},[e("div",{staticClass:"form-group"},t._l(t.petGroups,function(i){return e("div",{key:i.key,staticClass:"form-check"},[e("div",{staticClass:"custom-control custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.viewOptions[i.key].selected,expression:"viewOptions[petGroup.key].selected"}],staticClass:"custom-control-input",attrs:{id:i.key,type:"checkbox",disabled:t.viewOptions[i.key].animalCount==0},domProps:{checked:Array.isArray(t.viewOptions[i.key].selected)?t._i(t.viewOptions[i.key].selected,null)>-1:t.viewOptions[i.key].selected},on:{change:function(n){var o=t.viewOptions[i.key].selected,r=n.target,a=!!r.checked;if(Array.isArray(o)){var c=null,l=t._i(o,c);r.checked?l<0&&t.$set(t.viewOptions[i.key],"selected",o.concat([c])):l>-1&&t.$set(t.viewOptions[i.key],"selected",o.slice(0,l).concat(o.slice(l+1)))}else t.$set(t.viewOptions[i.key],"selected",a)}}}),t._o(e("label",{staticClass:"custom-control-label",attrs:{for:i.key}},[t._v(t._s(i.label))]),0,i.key)])])}),0)]),e("filter-group",{attrs:{title:t.$t("mounts")}},[e("div",{staticClass:"form-group"},t._l(t.mountGroups,function(i){return e("div",{key:i.key,staticClass:"form-check"},[e("div",{staticClass:"custom-control custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.viewOptions[i.key].selected,expression:"viewOptions[mountGroup.key].selected"}],staticClass:"custom-control-input",attrs:{id:i.key,type:"checkbox",disabled:t.viewOptions[i.key].animalCount==0},domProps:{checked:Array.isArray(t.viewOptions[i.key].selected)?t._i(t.viewOptions[i.key].selected,null)>-1:t.viewOptions[i.key].selected},on:{change:function(n){var o=t.viewOptions[i.key].selected,r=n.target,a=!!r.checked;if(Array.isArray(o)){var c=null,l=t._i(o,c);r.checked?l<0&&t.$set(t.viewOptions[i.key],"selected",o.concat([c])):l>-1&&t.$set(t.viewOptions[i.key],"selected",o.slice(0,l).concat(o.slice(l+1)))}else t.$set(t.viewOptions[i.key],"selected",a)}}}),t._o(e("label",{staticClass:"custom-control-label",attrs:{for:i.key}},[t._v(t._s(i.label))]),1,i.key)])])}),0)]),e("div",{staticClass:"form-group clearfix"},[e("h3",{staticClass:"float-left"},[t._v(" "+t._s(t.$t("hideMissing"))+" ")]),e("toggle-switch",{staticClass:"float-right",attrs:{checked:t.hideMissing},on:{change:t.updateHideMissing}})],1)],1)],1),e("div",{staticClass:"standard-page"},[e("div",{staticClass:"clearfix"},[t._m(2),e("div",{staticClass:"float-right"},[e("span",{staticClass:"dropdown-label"},[t._v(t._s(t.$t("sortBy")))]),e("select-translated-array",{staticClass:"inline",attrs:{right:!0,items:t.sortByItems,value:t.selectedSortBy,"inline-dropdown":!1},on:{select:function(i){t.selectedSortBy=i}}})],1)]),e("h2",{staticClass:"mb-3"},[t._v(" "+t._s(t.$t("pets"))+" "),e("span",{staticClass:"badge badge-pill badge-default"},[t._v(t._s(t.countOwnedAnimals(t.petGroups[0],"pet")))])]),t._l(t.petGroups,function(i){return!t.anyFilterSelected||t.viewOptions[i.key].selected?e("div",{key:i.key,class:{hide:t.viewOptions[i.key].animalCount===0}},[t.viewOptions[i.key].animalCount!==0?e("h4",[t._v(" "+t._s(i.label)+" ")]):t._e(),e("div",{staticClass:"d-inline-flex flex-column"},[t._l(t.pets(i,t.hideMissing,t.selectedSortBy,t.searchTextThrottled),function(n,o,r){return r===0||t.$_openedItemRows_isToggled(i.key)?e("div",{key:o,staticClass:"pet-row d-flex"},t._l(n,function(a){return e("div",{directives:[{name:"show",rawName:"v-show",value:t.show("pet",a),expression:"show('pet', item)"},{name:"drag",rawName:"v-drag.drop.food",value:a.key,expression:"item.key",modifiers:{drop:!0,food:!0}}],key:a.key,staticClass:"pet-group",on:{itemDragOver:function(c){return t.onDragOver(c,a)},itemDropped:function(c){return t.onDrop(c,a)},itemDragLeave:function(c){return t.onDragLeave()}}},[e("petItem",{attrs:{item:a,"popover-position":"top","show-popover":t.currentDraggingFood==null,"highlight-border":t.highlightPet==a.key},on:{click:function(c){return t.petClicked(a)}},scopedSlots:t._u([{key:"itemBadge",fn:function(c){return[e("equip-badge",{attrs:{equipped:c.item.key===t.currentPet,show:t.isOwned("pet",c.item)},on:{click:function(l){return t.selectPet(c.item)}}})]}}],null,!0)})],1)}),0):t._e()}),t.petRowCount[i.key]>1&&i.key!=="specialPets"&&!(i.key==="wackyPets"&&t.selectedSortBy!=="sortByColor")?e("show-more-button",{attrs:{"show-all":t.$_openedItemRows_isToggled(i.key)},on:{click:function(n){return t.setShowMore(i.key)}}}):t._e()],2)]):t._e()}),e("h2",[t._v(" "+t._s(t.$t("mounts"))+" "),e("span",{staticClass:"badge badge-pill badge-default"},[t._v(t._s(t.countOwnedAnimals(t.mountGroups[0],"mount")))])]),t._l(t.mountGroups,function(i){return!t.anyFilterSelected||t.viewOptions[i.key].selected?e("div",{key:i.key,class:{hide:t.viewOptions[i.key].animalCount===0}},[t.viewOptions[i.key].animalCount!=0?e("h4",[t._v(" "+t._s(i.label)+" ")]):t._e(),e("div",{staticClass:"d-inline-flex flex-column"},[t._l(t.mounts(i,t.hideMissing,t.selectedSortBy,t.searchTextThrottled),function(n,o,r){return r===0||t.$_openedItemRows_isToggled(i.key)?e("div",{key:o,staticClass:"pet-row d-flex"},t._l(n,function(a){return e("div",{directives:[{name:"show",rawName:"v-show",value:t.show("mount",a),expression:"show('mount', item)"}],key:a.key,staticClass:"pet-group"},[e("mountItem",{key:a.key,attrs:{item:a,"popover-position":"top","show-popover":!0},on:{click:function(c){return t.selectMount(a)}}},[e("span",{attrs:{slot:"popoverContent"},slot:"popoverContent"},[e("h4",{staticClass:"popover-content-title"},[t._v(t._s(a.name))])]),e("template",{slot:"itemBadge"},[e("equip-badge",{attrs:{equipped:a.key===t.currentMount,show:t.isOwned("mount",a)},on:{click:function(c){return t.selectMount(a)}}}
1)],1)],2)],1)}),0):t._e()}),t.mountRowCount[i.key]>1&&i.key!=="specialMounts"?e("show-more-button",{attrs:{"show-all":t.$_openedItemRows_isToggled(i.key)},on:{click:function(n){return t.setShowMore(i.key)}}}):t._e()],2)]):t._e()}),e("inventoryDrawer",{scopedSlots:t._u([{key:"item",fn:function(i){return[e("foodItem",{attrs:{item:i.item,"item-count":i.itemCount,"item-content-class":i.itemClass,active:t.currentDraggingFood===i.item},on:{itemDragEnd:function(n){return t.onDragEnd()},itemDragStart:function(n){return t.onDragStart(n,i.item)},itemClick:function(n){return t.onFoodClicked(n,i.item)}}})]}}])})],2),e("hatchedPetDialog",{attrs:{"hide-text":!0}}),e("ItemPopover",{attrs:{"dragged-item":t.currentDraggingFood,"popover-text-key":"clickOnPetToFeed","translation-key":"foodName"}}),e("mount-raised-modal"),e("welcome-modal"),e("hatching-modal",{attrs:{"hatchable-pet":t.hatchablePet},on:{"update:hatchablePet":function(i){t.hatchablePet=i},"update:hatchable-pet":function(i){t.hatchablePet=i}}})],1)},Mt=[function(){var s=this,t=s._self._c;return t("h4",{staticClass:"popover-content-title"},[s._v(" "+s._s(s.$t("mattBoch"))+" ")])},function(){var s=this,t=s._self._c;return t("div",{staticClass:"popover-content-text"},[s._v(" "+s._s(s.$t("mattBochText1"))+" ")])},function(){var s=this,t=s._self._c;return t("h1",{staticClass:"float-left mb-4 page-header"},[s._v(" "+s._s(s.$t("stable"))+" ")])}],Dt=h(Ot,xt,Mt,!1,null,"caf0e06e");const Wt=Dt.exports;export{Wt as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.