PageSourceSearch

https://skin.place/_nuxt/BQhjacmp.js

js skin.place collected 2026-09-24 12:58:50 UTC 7,328 bytes, 1 lines download raw bytes

1import{$o as y,Bt as C,Gd as l,Gt as E,Ht as R,Id as d,Kd as a,Mi as B,Od as k,Of as F,Rd as g,Sf as _,Td as M,Ud as t,Uo as N,Ut as T,Wd as $,Xd as n,Yd as H,_n as L,ad as m,ao as V,ap as r,ep as u,ff as b,go as w,ii as D,mf as v,oi as O,on as A,q as G,qr as P,uf as i,wc as U}from"./DRtw6qQx.js";import{t as W}from"./jUJtXaFk.js";var q={components:{BaseItemImage:R},props:{isSelected:{type:[Boolean,void 0],default:void 0},selectedItems:Array,isInstant:Boolean,item:Object,isCustomStyle:{type:Boolean,default:!1},styleCartResponsive:{type:String,default:""},rootElement:{default:null},isStack:Boolean,isDisabled:{type:Boolean,default:!1}},setup(e){const s=B(e.item),p=F(""),{showIntercom:f}=L();return{sellCardRef:p,goToItem:s,isIntersecting:!0,...P(e),showIntercom:f}},data(){return{sellSelected:!1,isHover:!1,longPressTimer:null}},emits:["change-item-select","long-press"],computed:{...U(["isMobileDevice"]),isHighVolatility(){return this.item.skip_reason==="high_volatility"},rarityClass(){return O(this.item?.rarity!==""?this.item?.rarity:"default")},isRarity(){return this.item?.rarity&&this.item.project!=="rust"},isReallySelected(){return this.typeOfIsSelectedBoolean?this.isSelected:this.sellSelected&&!this.item.untouchable},itemName(){return T(this.item.steam_short_name)},skinName(){return E(this.item.steam_short_name)},hasStackedItems(){return this.item.items?.length>1},displayFloatValue(){return this.item.items?.length?this.item.items[0].floatvalue:this.item.floatvalue},isCheckedCard(){return this.sellSelected&&!this.item.untouchable&&!this.isHover},isRemovedCard(){return this.sellSelected&&this.isHover},blockedItem(){return!!+this.item.untouchable||!!this.skipReason},skipReason(){return this.item.skip_reason?`inventory.skip_reason.${this.item.skip_reason}`:null},itemPrice(){const e=this.isInstant?"price":"price_real";return(+this.item[e]).toFixed(2)},typeOfIsSelectedBoolean(){return typeof this.isSelected=="boolean"}},mounted(){if(!this.typeOfIsSelectedBoolean){if(this.isStack){const e=[];this.selectedItems.forEach(s=>{(m(s,this.item.assetids)||m(s.assetid,this.item.assetids))&&e.push(s.assetid||s)}),e.length===this.item.assetids.length&&(this.sellSelected=!0)}else this.selectedItems.forEach(e=>{m(this.item.assetid,[e,e.assetid])&&(this.sellSelected=!0)});y.on(N,e=>{this.blockedItem||(this.sellSelected=e)}),y.on(w,({assetid:e,select:s})=>{(this.item.assetid===e||m(e,this.item.assetids))&&(this.sellSelected=s)})}},methods:{onMouseenter(){this.isHover=!0},onMouseleave(){this.isHover=!1},selectItem(){this.isDisabled||this.blockedItem||(this.typeOfIsSelectedBoolean||(this.sellSelected=!this.sellSelected),this.$emit("change-item-select",this.item))}},itemTypes:D,WIKI_ITEM_PAGE:V},z=M("/images/icons/plus-circle.svg"),j=q,K={key:0,class:"card-state card-state_hover"},X={key:0,class:"card-state card-state_selected"},Y={class:"card-state__info"},J={class:"card-state__info"},Q={key:0},Z={class:"item-sell-card__header"},x={class:"item-sell-card__quality"},ee={key:0,class:"item-sell-card__stattrak"},se={key:1,class:"item-sell-card__souvenir"},te={class:"item-sell-card__exterior"},ie={key:3,class:"item-sell-card__float"},ae={key:0,class:"item-sell-card__stickers"},le={class:"item-sell-card__appearance"},re={class:"item-sell-card__image-wrapper"},oe={class:"item-sell-card__info"},ne={key:0,class:"item-sell-card__charms"},de={key:1,class:"item-sell-card__item-name"},me={class:"item-sell-card__skin-name"},ue={class:"item-sell-card__price"},ce={class:"currency__symbol"},he={key:4,class:"item-sell-card__container"};function _e(e,s,p,f,ve,pe){const I=v("base-button"),S=v("base-divider"),c=v("base-item-image");return i(),a("div",{ref:"sellCardRef",class:"item-sell-card",onMouseenter:s[3]||(s[3]=(...o)=>e.onMouseenter&&e.onMouseenter(...o)),onMouseleave:s[4]||(s[4]=(...o)=>e.onMouseleave&&e.onMouseleave(...o)),onClick:s[5]||(s[5]=d((...o)=>e.selectItem&&e.selectItem(...o),["prevent"]))},[t("div",{class:u(["item-sell-card__rarity-line",[e.isRarity&&`${e.rarityClass}_center-line`,e.isHighVolatility&&"item-sell-card__rarity-line_high-volatility"]])},null,2),n(k,{name:"fade-short"},{default:_(()=>[!e.isMobileDevice&&e.isHover&&!e.isReallySelected&&!e.blockedItem&&!e.isHighVolatility&&!e.isDisabled?(i(),a("div",K,[...s[6]||(s[6]=[t("img",{src:z,alt:"plus-circle"},null,-1)])])):l("",!0)]),_:1}),n(k,{name:"fade-short"},{default:_(()=>[e.isReallySelected&&!e.isDisabled?(i(),a("div",X,[...s[7]||(s[7]=[t("img",{src:G,alt:"check-circle"},null,-1)])])):l("",!0)]),_:1}),e.isHighVolatility?(i(),a("div",{key:0,class:"card-state card-state_high-volatility",onClick:s[0]||(s[0]=d(()=>{},["stop"]))},[t("div",Y,[s[8]||(s[8]=t("img",{src:C},null,-1)),t("span",null,r(e.$t("list_item.high_volatility_item")),1)]),n(I,{t
1ype:"info",size:"sm",class:"card-state__button","text-transform":"capitalize",onOnClick:e.showIntercom},{default:_(()=>[H(r(e.$t("base.contact_support")),1)]),_:1},8,["onOnClick"])])):l("",!0),e.blockedItem&&!e.isHighVolatility?(i(),a("div",{key:1,class:"card-state card-state_locked",onClick:s[1]||(s[1]=d(()=>{},["stop"]))},[t("div",J,[s[9]||(s[9]=t("img",{src:W,alt:"lock-outline"},null,-1)),e.skipReason?(i(),a("span",Q,r(e.$t(e.skipReason)),1)):l("",!0)])])):l("",!0),e.isDisabled?(i(),a("div",{key:2,class:"card-state card-state_disabled",onClick:s[2]||(s[2]=d(()=>{},["stop"]))})):l("",!0),e.isIntersecting?(i(),a("div",{key:3,class:u(["item-sell-card__container",[e.isRarity&&`${e.rarityClass}_top-glow`]])},[t("div",Z,[t("div",x,[e.item.is_stattrak?(i(),a("span",ee,r(e.$t("base.item_info.st")),1)):l("",!0),e.item.is_souvenir?(i(),a("span",se,r(e.$t("base.item_info.sv")),1)):l("",!0),(e.item.is_stattrak||e.item.is_souvenir)&&e.item.shorten_exterior?(i(),$(S,{key:2,width:2,height:12,background:"var(--secondary-color-25)"})):l("",!0),t("span",te,r(e.item.shorten_exterior),1),e.item.floatvalue&&+e.item.floatvalue!=0?(i(),a("span",ie,r((+e.item.floatvalue).toFixed(10).slice(0,-7)),1)):l("",!0)]),e.isItemWithStickersList?(i(),a("div",ae,[(i(!0),a(g,null,b(e.itemStickersList,(o,h)=>(i(),a("div",{key:h,class:"sticker"},[n(c,{alt:"sticker",width:24,height:18,icon:o.image},null,8,["icon"])]))),128))])):l("",!0)]),t("div",le,[t("div",{class:u(["item-sell-card__item-image",{"item-sell-card__item-image_accent":(!e.isMobileDevice&&e.isHover||e.isReallySelected)&&!e.blockedItem&&!e.isHighVolatility&&!e.isDisabled,"item-sell-card__item-image_type_agent":e.item.steam_itemtype===e.$options.itemTypes.AGENT}])},[t("div",re,[n(c,{width:e.isMobileDevice?100:320,height:e.isMobileDevice?75:240,icon:e.itemImage,alt:"skin"},null,8,["width","height","icon"])])],2)]),t("div",oe,[e.isItemWithCharmsList?(i(),a("div",ne,[(i(!0),a(g,null,b(e.itemCharmsList,(o,h)=>(i(),a("div",{key:h,class:"charm"},[n(c,{alt:"charm",width:28,height:21,icon:o.image},null,8,["icon"])]))),128))])):l("",!0),e.skinName?(i(),a("div",de,[t("span",null,r(e.itemName),1)])):l("",!0),t("div",me,[t("span",null,r(e.skinName||e.itemName),1)]),e.item.phase?(i(),a("div",{key:2,class:u(["item-sell-card__phase",e.itemPhaseClass])},[t("span",null,r(e.item.phase),1)],2)):l("",!0),t("div",ue,[t("span",ce,r(e.currencySymbol),1),t("span",null,r(e.convertToCurrentCurrency(e.itemPrice)),1)])])],2)):(i(),a("div",he))],544)}var ge=A(j,[["render",_e],["__scopeId","data-v-47b6abc7"]]);export{ge as t};

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.