PageSourceSearch

https://cdn.static.citiesapps.com/uw/assets/CaTag-BbP2blgH.js

js citiesapps.com collected 2026-10-10 00:11:00 UTC 2,577 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`20261009152725-2f13cf254e1373120c2ea5a7f50e7daa5fc2ecef`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e4be5e09-f3d4-4ec8-a07d-b6e25206cf53`,e._sentryDebugIdIdentifier=`sentry-dbid-e4be5e09-f3d4-4ec8-a07d-b6e25206cf53`)}catch{}})();import{Di as e,Ei as t,Er as n,Kr as r,Or as i,Qr as a,Rr as o,Sr as s,Ti as c,Yr as l,br as u,ci as d,fr as f,mr as p,ri as m,vr as h,xr as g,yr as _}from"./vendor-BfBxawGC.js";import{Kr as v,Xr as y,gn as b,ii as x,jr as S}from"./index-JINftced.js";var C=[`src`,`alt`],w={class:`cities-tag-text`},T=x(i({__name:`CaTag`,props:{activated:{type:Boolean},deleteAriaLabel:{},disabled:{type:Boolean},icon:{},is:{},size:{default:`big`},subType:{default:`default`},trailingIcon:{},type:{default:`toggle`}},emits:[`delete`],setup(i,{emit:x}){let T=x,E=m(),D=h(()=>i.type===`plain`),O=h(()=>i.size===`big`?`16px`:`14px`),k=h(()=>P(i.icon)),A=h(()=>k.value?{...k.value,ariaLabel:void 0,onClick:void 0}:void 0),j=h(()=>typeof i.icon==`string`&&i.icon.startsWith(`http`)?i.icon:void 0),M=h(()=>P(i.trailingIcon)),N=h(()=>!v(E,`default`));function P(e){if(e&&!j.value){let t;return typeof e==`string`?(t={name:e},t.size=O.value):(t={...e},e.size||(t.size=O.value)),t}}return(m,h)=>(r(),u(a(i.is??(D.value?`div`:`button`)),{disabled:!D.value&&i.disabled?!0:void 0,class:c([`cities-tag`,[`cities-tag-${i.type}`,`cities-tag-${i.type}--${i.subType}`,{activated:i.activated,disabled:i.disabled,[i.size]:i.size}]]),style:e({"--icon-size":O.value})},{default:d(()=>[l(m.$slots,`icon`,{},()=>[j.value?(r(),s(`img`,{key:0,class:`cities-tag-image`,src:j.value,alt:N.value?``:`Icon`},null,8,C)):k.value?.onClick?(r(),u(S,{key:1,buttonType:`secondary`,icon:A.value,ariaLabel:k.value.ariaLabel,onClick:k.value.onClick},null,8,[`icon`,`ariaLabel`,`onClick`])):k.value?(r(),u(y,t(o({key:2},k.value)),null,16)):g(``,!0)],!0),_(`span`,w,[l(m.$slots,`default`,{},void 0,!0)]),l(m.$slots,`trailingIcon`,{},()=>[M.value?(r(),u(y,t(o({key:0},M.value)),null,16)):g(``,!0)],!0),D.value&&i.subType===`deletable`?(r(),s(p,{key:0},[n(b,{vertical:``,height:`var(--ct-spacing_5)`}),n(S,{buttonType:`accessibility`,icon:{name:`cancel`,size:O.value},disabled:i.disabled,ariaLabel:i.deleteAriaLabel,onClick:h[0]||=f(e=>T(`delete`),[`stop`])},null,8,[`icon`,`disabled`,`ariaLabel`])],64)):g(``,!0)]),_:3},8,[`disabled`,`style`,`class`]))}}),[[`__scopeId`,`data-v-b38837be`]]);export{T 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.