@monster_property_services/monster-instagram-feed
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -15,7 +15,7 @@ var gt=Object.defineProperty;var ut=(r,t,e)=>t in r?gt(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var N=(r,t,e)=>(ut(r,typeof t!="symbol"?t+"":t,e),e);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const n of o.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&i(n)}).observe(document,{childList:!0,subtree:!0});function e(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(s){if(s.ep)return;s.ep=!0;const o=e(s);fetch(s.href,o)}})();/** | ||
\f\r]`,k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,X=/-->/g,Q=/>/g,v=RegExp(`>|${V}(?:([^\\s"'>=/]+)(${V}*=${V}*(?:[^ | ||
\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,tt=/"/g,ht=/^(?:script|style|textarea|title)$/i,Et=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),f=Et(1),b=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),et=new WeakMap,y=A.createTreeWalker(A,129);function pt(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return J!==void 0?J.createHTML(t):t}const Mt=(r,t)=>{const e=r.length-1,i=[];let s,o=t===2?"<svg>":"",n=k;for(let p=0;p<e;p++){const l=r[p];let d,u,h=-1,a=0;for(;a<l.length&&(n.lastIndex=a,u=n.exec(l),u!==null);)a=n.lastIndex,n===k?u[1]==="!--"?n=X:u[1]!==void 0?n=Q:u[2]!==void 0?(ht.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=v):u[3]!==void 0&&(n=v):n===v?u[0]===">"?(n=s??k,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,d=u[1],n=u[3]===void 0?v:u[3]==='"'?tt:Y):n===tt||n===Y?n=v:n===X||n===Q?n=k:(n=v,s=void 0);const m=n===v&&r[p+1].startsWith("/>")?" ":"";o+=n===k?l+kt:h>=0?(i.push(d),l.slice(0,h)+at+l.slice(h)+$+m):l+$+(h===-2?p:m)}return[pt(r,o+(r[e]||"<?>")+(t===2?"</svg>":"")),i]};class U{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const p=t.length-1,l=this.parts,[d,u]=Mt(t,e);if(this.el=U.createElement(d,i),y.currentNode=this.el.content,e===2){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=y.nextNode())!==null&&l.length<p;){if(s.nodeType===1){if(s.hasAttributes())for(const h of s.getAttributeNames())if(h.endsWith(at)){const a=u[n++],m=s.getAttribute(h).split($),c=/([.?@])?(.*)/.exec(a);l.push({type:1,index:o,name:c[2],strings:m,ctor:c[1]==="."?Lt:c[1]==="?"?Ut:c[1]==="@"?Rt:H}),s.removeAttribute(h)}else h.startsWith($)&&(l.push({type:6,index:o}),s.removeAttribute(h));if(ht.test(s.tagName)){const h=s.textContent.split($),a=h.length-1;if(a>0){s.textContent=O?O.emptyScript:"";for(let m=0;m<a;m++)s.append(h[m],P()),y.nextNode(),l.push({type:2,index:++o});s.append(h[a],P())}}}else if(s.nodeType===8)if(s.data===lt)l.push({type:2,index:o});else{let h=-1;for(;(h=s.data.indexOf($,h+1))!==-1;)l.push({type:7,index:o}),h+=$.length-1}o++}}static createElement(t,e){const i=A.createElement("template");return i.innerHTML=t,i}}function C(r,t,e=r,i){var n,p;if(t===b)return t;let s=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const o=L(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==o&&((p=s==null?void 0:s._$AO)==null||p.call(s,!1),o===void 0?s=void 0:(s=new o(r),s._$AT(r,e,i)),i!==void 0?(e._$Co??(e._$Co=[]))[i]=s:e._$Cl=s),s!==void 0&&(t=C(r,s._$AS(r,t.values),s,i)),t}class Pt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,s=((t==null?void 0:t.creationScope)??A).importNode(e,!0);y.currentNode=s;let o=y.nextNode(),n=0,p=0,l=i[0];for(;l!==void 0;){if(n===l.index){let d;l.type===2?d=new R(o,o.nextSibling,this,t):l.type===1?d=new l.ctor(o,l.name,l.strings,this,t):l.type===6&&(d=new Tt(o,this,t)),this._$AV.push(d),l=i[++p]}n!==(l==null?void 0:l.index)&&(o=y.nextNode(),n++)}return y.currentNode=A,s}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class R{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,s){this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=(s==null?void 0:s.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=C(this,t,e),L(t)?t===w||t==null||t===""?(this._$AH!==w&&this._$AR(),this._$AH=w):t!==this._$AH&&t!==b&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):St(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==w&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){var o;const{values:e,_$litType$:i}=t,s=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=U.createElement(pt(i.h,i.h[0]),this.options)),i);if(((o=this._$AH)==null?void 0:o._$AD)===s)this._$AH.p(e);else{const n=new Pt(s,this),p=n.u(this.options);n.p(e),this.T(p),this._$AH=n}}_$AC(t){let e=et.get(t.strings);return e===void 0&&et.set(t.strings,e=new U(t)),e}k(t){ct(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new R(this.S(P()),this.S(P()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,o){this.type=1,this._$AH=w,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=w}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(o===void 0)t=C(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==b,n&&(this._$AH=t);else{const p=t;let l,d;for(t=o[0],l=0;l<o.length-1;l++)d=C(this,p[i+l],e,l),d===b&&(d=this._$AH[l]),n||(n=!L(d)||d!==this._$AH[l]),d===w?t=w:t!==w&&(t+=(d??"")+o[l+1]),this._$AH[l]=d}n&&!s&&this.j(t)}j(t){t===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Lt extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===w?void 0:t}}class Ut extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==w)}}class Rt extends H{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){if((t=C(this,t,e,0)??w)===b)return;const i=this._$AH,s=t===w&&i!==w||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==w&&(i===w||s);s&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Tt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){C(this,t)}}const B=E.litHtmlPolyfillSupport;B==null||B(U,R),(E.litHtmlVersions??(E.litHtmlVersions=[])).push("3.1.3");const Ot=(r,t,e)=>{const i=(e==null?void 0:e.renderBefore)??t;let s=i._$litPart$;if(s===void 0){const o=(e==null?void 0:e.renderBefore)??null;i._$litPart$=s=new R(t.insertBefore(P(),o),o,void 0,e??{})}return s._$AI(r),s};/** | ||
\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,tt=/"/g,ht=/^(?:script|style|textarea|title)$/i,Et=r=>(t,...e)=>({_$litType$:r,strings:t,values:e}),f=Et(1),b=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),et=new WeakMap,y=A.createTreeWalker(A,129);function pt(r,t){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return J!==void 0?J.createHTML(t):t}const Mt=(r,t)=>{const e=r.length-1,i=[];let s,o=t===2?"<svg>":"",n=k;for(let p=0;p<e;p++){const l=r[p];let d,u,h=-1,a=0;for(;a<l.length&&(n.lastIndex=a,u=n.exec(l),u!==null);)a=n.lastIndex,n===k?u[1]==="!--"?n=X:u[1]!==void 0?n=Q:u[2]!==void 0?(ht.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=v):u[3]!==void 0&&(n=v):n===v?u[0]===">"?(n=s??k,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,d=u[1],n=u[3]===void 0?v:u[3]==='"'?tt:Y):n===tt||n===Y?n=v:n===X||n===Q?n=k:(n=v,s=void 0);const m=n===v&&r[p+1].startsWith("/>")?" ":"";o+=n===k?l+kt:h>=0?(i.push(d),l.slice(0,h)+at+l.slice(h)+$+m):l+$+(h===-2?p:m)}return[pt(r,o+(r[e]||"<?>")+(t===2?"</svg>":"")),i]};class U{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let o=0,n=0;const p=t.length-1,l=this.parts,[d,u]=Mt(t,e);if(this.el=U.createElement(d,i),y.currentNode=this.el.content,e===2){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=y.nextNode())!==null&&l.length<p;){if(s.nodeType===1){if(s.hasAttributes())for(const h of s.getAttributeNames())if(h.endsWith(at)){const a=u[n++],m=s.getAttribute(h).split($),c=/([.?@])?(.*)/.exec(a);l.push({type:1,index:o,name:c[2],strings:m,ctor:c[1]==="."?Lt:c[1]==="?"?Ut:c[1]==="@"?Rt:H}),s.removeAttribute(h)}else h.startsWith($)&&(l.push({type:6,index:o}),s.removeAttribute(h));if(ht.test(s.tagName)){const h=s.textContent.split($),a=h.length-1;if(a>0){s.textContent=O?O.emptyScript:"";for(let m=0;m<a;m++)s.append(h[m],P()),y.nextNode(),l.push({type:2,index:++o});s.append(h[a],P())}}}else if(s.nodeType===8)if(s.data===lt)l.push({type:2,index:o});else{let h=-1;for(;(h=s.data.indexOf($,h+1))!==-1;)l.push({type:7,index:o}),h+=$.length-1}o++}}static createElement(t,e){const i=A.createElement("template");return i.innerHTML=t,i}}function C(r,t,e=r,i){var n,p;if(t===b)return t;let s=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const o=L(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==o&&((p=s==null?void 0:s._$AO)==null||p.call(s,!1),o===void 0?s=void 0:(s=new o(r),s._$AT(r,e,i)),i!==void 0?(e._$Co??(e._$Co=[]))[i]=s:e._$Cl=s),s!==void 0&&(t=C(r,s._$AS(r,t.values),s,i)),t}class Pt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,s=((t==null?void 0:t.creationScope)??A).importNode(e,!0);y.currentNode=s;let o=y.nextNode(),n=0,p=0,l=i[0];for(;l!==void 0;){if(n===l.index){let d;l.type===2?d=new R(o,o.nextSibling,this,t):l.type===1?d=new l.ctor(o,l.name,l.strings,this,t):l.type===6&&(d=new Tt(o,this,t)),this._$AV.push(d),l=i[++p]}n!==(l==null?void 0:l.index)&&(o=y.nextNode(),n++)}return y.currentNode=A,s}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class R{get _$AU(){var t;return((t=this._$AM)==null?void 0:t._$AU)??this._$Cv}constructor(t,e,i,s){this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=(s==null?void 0:s.isConnected)??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=C(this,t,e),L(t)?t===w||t==null||t===""?(this._$AH!==w&&this._$AR(),this._$AH=w):t!==this._$AH&&t!==b&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):St(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==w&&L(this._$AH)?this._$AA.nextSibling.data=t:this.T(A.createTextNode(t)),this._$AH=t}$(t){var o;const{values:e,_$litType$:i}=t,s=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=U.createElement(pt(i.h,i.h[0]),this.options)),i);if(((o=this._$AH)==null?void 0:o._$AD)===s)this._$AH.p(e);else{const n=new Pt(s,this),p=n.u(this.options);n.p(e),this.T(p),this._$AH=n}}_$AC(t){let e=et.get(t.strings);return e===void 0&&et.set(t.strings,e=new U(t)),e}k(t){ct(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const o of t)s===e.length?e.push(i=new R(this.S(P()),this.S(P()),this,this.options)):i=e[s],i._$AI(o),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class H{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,o){this.type=1,this._$AH=w,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=w}_$AI(t,e=this,i,s){const o=this.strings;let n=!1;if(o===void 0)t=C(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==b,n&&(this._$AH=t);else{const p=t;let l,d;for(t=o[0],l=0;l<o.length-1;l++)d=C(this,p[i+l],e,l),d===b&&(d=this._$AH[l]),n||(n=!L(d)||d!==this._$AH[l]),d===w?t=w:t!==w&&(t+=(d??"")+o[l+1]),this._$AH[l]=d}n&&!s&&this.j(t)}j(t){t===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class Lt extends H{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===w?void 0:t}}class Ut extends H{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==w)}}class Rt extends H{constructor(t,e,i,s,o){super(t,e,i,s,o),this.type=5}_$AI(t,e=this){if((t=C(this,t,e,0)??w)===b)return;const i=this._$AH,s=t===w&&i!==w||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,o=t!==w&&(i===w||s);s&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e;typeof this._$AH=="function"?this._$AH.call(((e=this.options)==null?void 0:e.host)??this.element,t):this._$AH.handleEvent(t)}}class Tt{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){C(this,t)}}const I=E.litHtmlPolyfillSupport;I==null||I(U,R),(E.litHtmlVersions??(E.litHtmlVersions=[])).push("3.1.3");const Ot=(r,t,e)=>{const i=(e==null?void 0:e.renderBefore)??t;let s=i._$litPart$;if(s===void 0){const o=(e==null?void 0:e.renderBefore)??null;i._$litPart$=s=new R(t.insertBefore(P(),o),o,void 0,e??{})}return s._$AI(r),s};/** | ||
* @license | ||
* Copyright 2017 Google LLC | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/class M extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ot(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return b}}var ot;M._$litElement$=!0,M.finalized=!0,(ot=globalThis.litElementHydrateSupport)==null||ot.call(globalThis,{LitElement:M});const I=globalThis.litElementPolyfillSupport;I==null||I({LitElement:M});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.5");/** | ||
*/class M extends x{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e;const t=super.createRenderRoot();return(e=this.renderOptions).renderBefore??(e.renderBefore=t.firstChild),t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ot(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)==null||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)==null||t.setConnected(!1)}render(){return b}}var ot;M._$litElement$=!0,M.finalized=!0,(ot=globalThis.litElementHydrateSupport)==null||ot.call(globalThis,{LitElement:M});const B=globalThis.litElementPolyfillSupport;B==null||B({LitElement:M});(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.5");/** | ||
* @license | ||
@@ -410,3 +410,3 @@ * Copyright 2017 Google LLC | ||
class="mp-wc-instagram-header-action" | ||
src="./assets/Instagram_icon.webp" | ||
src="https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Instagram_icon.png/2048px-Instagram_icon.png" | ||
alt="instagram-logo" | ||
@@ -413,0 +413,0 @@ @click=${()=>window.open(c.permalink,"_blank")} |
{ | ||
"name": "@monster_property_services/monster-instagram-feed", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "This is a web component to display the latest instagram pictures of a given instagram profile", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
2
48942
3