1import{e as m,W as f,d as c,X as d,h as u,k as y}from"./DkxG0ADK.js";import{o as b}from"./BoBzL8Sn.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"c04286ebbf9ace1aa328139bfe4325a31ce37b02"};var a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="a3421c08-0f1a-4c8a-9a06-f3218a6721b2",t._sentryDebugIdIdentifier="sentry-dbid-a3421c08-0f1a-4c8a-9a06-f3218a6721b2")}catch{}})();function h(){const t=f(),{t:a}=m();function o(r){const e=t(r);let n=e.format("D MMMM, HH:mm");return e.isSame(t(),"year")||(n=e.format("D MMMM YYYY, HH:mm")),e.isSame(t(),"day")?n=`${a("common.dates.today")}, ${e.format("HH:mm")}`:e.isSame(t().subtract(1,"day"),"day")&&(n=`${a("common.dates.yesterday")}, ${e.format("HH:mm")}`),n}function s(r){const e=t(r);let n=e.format("D MMMM");return e.isSame(t(),"year")||(n=e.format("D MMMM YYYY")),e.isSame(t(),"day")?n=a("common.dates.today"):e.isSame(t().subtract(1,"day"),"day")&&(n=a("common.dates.yesterday")),n}return{formattedDateTime:o,formattedDate:s}}function D(){const{t}=m(),a=u(),o=c();function s(e,n){return a(`/spa-api/content/views/increment/${n}/${e}`,{method:"POST",body:b({nb_views:1,return_counters:1})}).then(i=>i.data).catch(i=>(o.send({message:"Ðе ÑдалоÑÑ Ð¿Ð¾Ð²ÑÑиÑÑ ÑÑеÑÑик пÑоÑмоÑÑов ÑÑаÑÑи",error:i}),null))}function r(e){return e==null?"":e>=1e6?`${parseFloat((e/1e6).toFixed(1))} ${t("common.numLabel.millionShort")}`:e>=1e5?`${parseFloat((e/1e3).toFixed(1))} ${t("common.numLabel.thousandShort")}`:d(e)}return{increment:s,formatViews:r}}function g(){const t=y();function a(o){return`${t.public.PHOTO_CDN}/${o}`}return{getPhotoUrl:a}}export{g as a,h as b,D as u};
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.