iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://retty.me/_nuxt/FamiliarLabel-KtXPtNOK.js
import{V as t,n as r}from"./client-BmVmnFEC.js";const _=t.extend({props:{level:{type:String,required:!0},name:{type:String,required:!0},size:{type:String,default:"large"}},computed:{levelNum(){return["ZERO","ONE","TWO","THREE"].indexOf(this.level)},levelArray(){return[...Array(this.levelNum).keys()]},classBase(){return this.level==="THREE"?"familiar-label-high":"familiar-label"},wrapClasses(){return{[`${this.classBase}--large`]:this.size==="large",[`${this.classBase}--medium`]:this.size==="medium",[`${this.classBase}--small`]:this.size==="small"}},popularityClasses(){return{[`${this.classBase}__popularity--large`]:this.size==="large",[`${this.classBase}__popularity--medium`]:this.size==="medium",[`${this.classBase}__popularity--small`]:this.size==="small"}},scoreClasses(){return{[`${this.classBase}__score--large`]:this.size==="large",[`${this.classBase}__score--medium`]:this.size==="medium",[`${this.classBase}__score--small`]:this.size==="small"}}}});var m=function(){var s=this,a=s._self._c;return s._self._setupProxy,s.level!=="THREE"?a("div",{staticClass:"familiar-label",class:s.wrapClasses},[a("div",{staticClass:"familiar-label__title"},[a("span",{staticClass:"familiar-label__genre"},[s._v(s._s(s.name)+"好き")]),a("span",{staticClass:"familiar-label__popularity",class:s.popularityClasses},[s._v("人気店")])]),s.levelNum>0?a("div",{staticClass:"familiar-label__score",class:s.scoreClasses},s._l(s.levelArray,function(i,e){return a("svg",{key:e,staticClass:"familiar-label__star",attrs:{viewBox:"0 0 26 24",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M13.0001 0.15625L16.7483 7.75059L25.1291 8.96843L19.0646 14.8798L20.4962 23.2268L13.0001 19.286L5.50403 23.2268L6.93559 14.8798L0.871094 8.96843L9.25194 7.75059L13.0001 0.15625Z"}})])}),0):s._e()]):a("div",{staticClass:"familiar-label-high",class:s.wrapClasses},[a("div",{staticClass:"familiar-label-high__title"},[a("span",{staticClass:"familiar-label-high__genre"},[s._v(s._s(s.name)+"好き")]),a("span",{staticClass:"familiar-label-high__popularity",class:s.popularityClasses},[s._v("人気店")])]),s.levelNum>0?a("div",{staticClass:"familiar-label-high__score",class:s.scoreClasses},s._l(s.levelArray,function(i,e){return a("svg",{key:e,staticClass:"familiar-label-high__star",attrs:{viewBox:"0 0 26 24",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M13.0001 0.15625L16.7483 7.75059L25.1291 8.96843L19.0646 14.8798L20.4962 23.2268L13.0001 19.286L5.50403 23.2268L6.93559 14.8798L0.871094 8.96843L9.25194 7.75059L13.0001 0.15625Z"}})])}),0):s._e()])},c=[],u=r(_,m,c,!1,null,"e2b46174");const h=u.exports;export{h as F};