PageSourceSearch

https://www.sportsbettingdime.com/app/plugins/sas-sports-wc/build/490.js?ver=3b0aaf560ea9b6a06306

js sportsbettingdime.com collected 2026-10-02 03:39:05 UTC 13,572 bytes, 22 lines download raw bytes

1"use strict";(globalThis.webpackChunkswrc_plugin=globalThis.webpackChunkswrc_plugin||[]).push([[490,715],{715:(t,e,s)=>{s.d(e,{a:()=>A,b:()=>L,c:()=>O,d:()=>R,g:()=>I,h:()=>U,k:()=>w,l:()=>F,m:()=>q,p:()=>k,t:()=>T,u:()=>D,v:()=>x,w:()=>N,x:()=>z});const i=globalThis,o=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;let a=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n.set(e,t))}return t}toString(){return this.cssText}};const h=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,r))(e)})(t):t,{is:l,defineProperty:c,getOwnPropertyDescriptor:u,getOwnPropertyNames:d,getOwnPropertySymbols:p,getPrototypeOf:f}=Object,m=globalThis,y=m.trustedTypes,S=y?y.emptyScript:"",v=m.reactiveElementPolyfillSupport,$=(t,e)=>t,_={toAttribute(t,e){switch(e){case Boolean:t=t?S:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch{s=null}}return s}},g=(t,e)=>!l(t,e),E={attribute:!0,type:String,converter:_,reflect:!1,hasChanged:g};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),m.litPropertyMetadata??(m.litPropertyMetadata=new WeakMap);class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??(this.l=[])).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=E){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&c(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return null==i?void 0:i.call(this)},set(e){const r=null==i?void 0:i.call(this);o.call(this,e),this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??E}static _$Ei(){if(this.hasOwnProperty($("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty($("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($("properties"))){const t=this.properties,e=[...d(t),...p(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift(h(t))}else void 0!==t&&e.push(h(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),null==(t=this.constructor.l)||t.forEach((t=>t(this)))}addController(t){var e;(this._$EO??(this._$EO=new Set)).add(t),void 0!==this.renderRoot&&this.isConnected&&(null==(e=t.hostConnected)||e.call(t))}removeController(t){var e;null==(e=this._$EO)||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(o)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const s of e){const e=document.createElement("style"),o=i.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=s.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){var t;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostConnected)?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostDisconnected)?void 0:e.call(t)}))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){var s;const i=this.constructor.elementProperties.get(t),o=this.constructor._$Eu(t,i);if(void 0!==o&&!0===i.reflect){const r=(void 0!==(null==(s=i.converter)?void 0:s.toAttribute)?i.converter:_).toAttribute(e,i.type);this._$Em=t,null==r?this.removeAttribute(o):this.setAttribute(o,r),this._$Em=null}}_$AK(t,e){var s;const i=this.constructor,o=i._$Eh.get(t);if(void 0!==o&&this._$Em!==o){const t=i.getPropertyOptions(o),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==(null==(s=t.converter)?void 0:s.fromAttribute)?t.converter:_;this._$Em=o,this[o]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){if(s??(s=this.constructor.getPropertyOptions(t)),!(s.hasChanged??g)(this[t],e))return;this.P(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),!0===s.reflect&&this._$Em!==t&&(this._$Ej??(this._$Ej=new Set)).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t)!0!==s.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],s)}let e=!1;const s=this._$AL;try{e=this.shouldUpdate(s),e?(this.willUpdate(s),null==(t=this._$EO)||t.forEach((t=>{var e;return null==(e=t.hostUpdate)?void 0:e.call(t)})),this.update(s)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(s)}willUpdate(t){}_$AE(t){var e;null==(e=this._$EO)||e.forEach((t=>{var e;return null==(e=t.hostUpdated)?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach((t=>this._$EC(t,this[t])))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[$("elementProperties")]=new Map,b[$("finalized")]=new Map,null==v||v({ReactiveElement:b}),(m.reactiveElementVersions??(m.reactiveElementVersions=[])).push("2.0.4");const w={PENDING:1,COMPLETE:2},P=Symbol();class U{get taskComplete(){return this.t||(1===this.i?this.t=new Promise(((t,e)=>{this.o=t,this.h=e})):3===this.i?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(t,e,s){var i;this.p=0,this.i=0,(this._=t).addController(this);const o="object"==typeof e?e:{task:e,args:s};this.v=o.task,this.j=o.args,this.m=o.argsEqual??C,this.k=o.onComplete,this.A=o.onError,this.autoRun=o.autoRun??!0,"initialValue"in o&&(this.u=o.initialValue,this.i=2,this.O=null==(i=this.T)?void 0:i.call(this))}hostUpdate(){!0===this.autoRun&&this.S()}hostUpdated(){"afterUpdate"===this.autoRun&&this.S()}T(){if(void 0===this.j)return;const t=this.j();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async S(){const t=this.T(),e=this.O;this.O=t,t===e||void 0===t||void 0!==e&&this.m(e,t)||await this.run(t)}async run(t){var e,s,i,o,r;let n,a;t??(t=this.T()),this.O=t,1===this.i?null==(e=this.q)||e.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,"afterUpdate"===this.autoRun?queueMicrotask((()=>this._.requestUpdate())):this._.requestUpdate();const h=++this.p;
1this.q=new AbortController;let l=!1;try{n=await this.v(t,{signal:this.q.signal})}catch(t){l=!0,a=t}if(this.p===h){if(n===P)this.i=0;else{if(!1===l){try{null==(s=this.k)||s.call(this,n)}catch{}this.i=2,null==(i=this.o)||i.call(this,n)}else{try{null==(o=this.A)||o.call(this,a)}catch{}this.i=3,null==(r=this.h)||r.call(this,a)}this.u=n,this.l=a}this._.requestUpdate()}}abort(t){var e;1===this.i&&(null==(e=this.q)||e.abort(t))}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(t){var e,s,i,o;switch(this.i){case 0:return null==(e=t.initial)?void 0:e.call(t);case 1:return null==(s=t.pending)?void 0:s.call(t);case 2:return null==(i=t.complete)?void 0:i.call(t,this.value);case 3:return null==(o=t.error)?void 0:o.call(t,this.error);default:throw Error("Unexpected status: "+this.i)}}}const C=(t,e)=>t===e||t.length===e.length&&t.every(((t,s)=>!g(t,e[s])));function O(t,e,s=80){return t&&e?`${M.CDN}/team-logos/${encodeURIComponent(s)}px/${encodeURIComponent(t.toLowerCase())}/${encodeURIComponent(e)}.png`:null}function R(t,e="icon-d"){if(t){const s=t.toLowerCase();return`${M.CDN}/partner-asset-library/${s}/${s}-${e}.svg`}return null}function A(t){var e,s,i,o,r,n,a,h,l,c;return!!(null!=(s=null==(e=null==t?void 0:t.odds)?void 0:e.moneyline)&&s.away.american||null!=(n=null==(r=null==(o=null==(i=null==t?void 0:t.odds)?void 0:i.spread)?void 0:o.away)?void 0:r.odds)&&n.american||null!=(c=null==(l=null==(h=null==(a=null==t?void 0:t.odds)?void 0:a.total)?void 0:h.over)?void 0:l.odds)&&c.american)}function T(t){const e=new Date(t);return new Intl.DateTimeFormat("en-US",{year:"2-digit",month:"numeric",day:"numeric"}).format(e)}const k=(t,e)=>t?e+t:"",D=(t,e)=>{let s=t;for(const[t,i]of Object.entries(e))i&&(s=s.replace(`{${t}}`,i));return s};function L(t){let e="SCHEDULED";const s=new Date(t.date);return(new Date).getTime()>s.getTime()&&(e="IN_PROGRESS"),null!=t&&t.stats&&Object.keys(t.stats).length>0&&(e="FINISHED"),e}const j=t=>({ncaaf:"ncaafb",ncaab:"ncaamb"}[t.toLowerCase()]||t.toLowerCase()),M={SPORTS_RADAR:"https://srfeeds.sportsbettingdime.com",CDN:"https://i.elitesportsrn.com/assets",SBD_FUEL:"https://cdn-sde.sbdfuel.com"};function N(t,e){const s=new URLSearchParams({limit:(null==e?void 0:e.limit)??"30",props:(null==e?void 0:e.props)??"",matchups:(null==e?void 0:e.matchups)??"",books:e.books??""}).toString(),i=j(t);return`${M.SBD_FUEL}/gameprops/${i}/list?${s}`}function x(t){const e=j(t);return`${M.SBD_FUEL}/gameprops/${e}/filters`}function I(t,e){const s=e?new URLSearchParams(e).toString():null;return`${M.SPORTS_RADAR}/v2/matchup/${encodeURIComponent(t)}${s?`?${s}`:""}`}function q(t,e,s){const i=s?new URLSearchParams(s).toString():null;return`${M.SPORTS_RADAR}/v2/matchup/${t.toLowerCase()}/identifier/${e}${i?`?${i}`:""}`}function z(t,e,s){const i=s?new URLSearchParams(s).toString():null;return`${M.SPORTS_RADAR}/v2/trends/${t}${e?`/team/${e}`:""}${i?`?${i}`:""}`}function F(t,e){const s={...e,limit:e.limit??"10"},i=e?new URLSearchParams(s).toString():null;return`${M.SPORTS_RADAR}/v2/matchups/${encodeURIComponent(t.toLowerCase())}/scores${i?`?${i}`:""}`}},490:(t,e,s)=>{s.d(e,{O:()=>l});var i=s(695),o=s(775),r=s(715),n=Object.defineProperty,a=(t,e,s,i)=>{for(var o,r=void 0,a=t.length-1;a>=0;a--)(o=t[a])&&(r=o(e,s,r)||r);return r&&n(e,s,r),r};const h=class extends i.s{constructor(){super(...arguments),this.sponsoredOfferIndex=4,this.league="",this.books=[],this.matchupPath="",this._oddsFormat="american",this._hasSponsoredOfferSlot=!1,this._substitutionTags={identifier:"",league:""}}willUpdate(t){t.has("_substitutionTags")&&["matchupPath","oddsUrl"].map((t=>{t in this&&this[t]&&(this[t]=(0,r.u)(this[t],this._substitutionTags))}))}_onSponsoredOfferSlotChange(){this._hasSponsoredOfferSlot=this._sponsoredOfferNodes.length>0}_getMatchupPathBy(t){return"function"==typeof window[this.matchupPath]?window[this.matchupPath](t):this.matchupPath?this.matchupPath.replace("{league}",this.league).replace("{id}",t.id):""}_renderSponsoredOfferSlot(t=4){return i.x`
2      <tbody class=${this._hasSponsoredOfferSlot?"":"hidden"}>
3        <tr>
4          <td colspan="${t}" class="py-4">
5            <slot @slotchange=${this._onSponsoredOfferSlotChange} name="sponsored-offer"></slot>
6          </td>
7        </tr>
8      </tbody>
9    `}};h.styles=[i.i`
10      :host slot {
11        display: none;
12      }
13      :host slot:defined {
14        display: block;
15      }
16      :host {
17        ::view-transition-old(root),
18        ::view-transition-new(root) {
19          animation-duration: 0.5s;
20        }
21      }
22    `];let l=h;a([(0,i.n)({type:Number,reflect:!0,attribute:"sponsored-offer-index"})],l.prototype,"sponsoredOfferIndex"),a([(0,i.n)({type:String,reflect:!0})],l.prototype,"league"),a([(0,i.n)({type:Array})],l.prototype,"books"),a([(0,i.n)({type:String,reflect:!0,attribute:"matchup-path"})],l.prototype,"matchupPath"),a([(0,o.t)()],l.prototype,"_oddsFormat"),a([(0,o.t)()],l.prototype,"_hasSponsoredOfferSlot"),a([(0,o.t)()],l.prototype,"_substitutionTags"),a([(0,i.l)({slot:"sponsored-offer"})],l.prototype,"_sponsoredOfferNodes")}}]);

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.