PageSourceSearch

https://tinyurl.com/js/chunks/21.67bd5897ba596bff.js

js tinyurl.com collected 2026-09-24 05:18:28 UTC 7,564 bytes, 2 lines download raw bytes

1/*! For license information please see 21.67bd5897ba596bff.js.LICENSE.txt */
2"use strict";(self.webpackChunktinyurl=self.webpackChunktinyurl||[]).push([[21],{21(t,e,r){r.r(e),r.d(e,{default:()=>h});var n=r(69502),s=r(38172);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function o(){var t,e,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",s=r.toStringTag||"@@toStringTag";function a(r,n,s,a){var o=n&&n.prototype instanceof u?n:u,l=Object.create(o.prototype);return i(l,"_invoke",function(r,n,s){var a,o,i,u=0,l=s||[],f=!1,v={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,r){return a=e,o=0,i=t,v.n=r,c}};function p(r,n){for(o=r,i=n,e=0;!f&&u&&!s&&e<l.length;e++){var s,a=l[e],p=v.p,d=a[2];r>3?(s=d===n)&&(i=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=t):a[0]<=p&&((s=r<2&&p<a[1])?(o=0,v.v=n,v.n=a[1]):p<d&&(s=r<3||a[0]>n||n>d)&&(a[4]=r,a[5]=n,v.n=d,o=0))}if(s||r>1)return c;throw f=!0,n}return function(s,l,d){if(u>1)throw TypeError("Generator is already running");for(f&&1===l&&p(l,d),o=l,i=d;(e=o<2?t:i)||!f;){a||(o?o<3?(o>1&&(v.n=-1),p(o,i)):v.n=i:v.v=i);try{if(u=2,a){if(o||(s="next"),e=a[s]){if(!(e=e.call(a,i)))throw TypeError("iterator result is not an object");if(!e.done)return e;i=e.value,o<2&&(o=0)}else 1===o&&(e=a.return)&&e.call(a),o<2&&(i=TypeError("The iterator does not provide a '"+s+"' method"),o=1);a=t}else if((e=(f=v.n<0)?i:r.call(n,v))!==c)break}catch(e){a=t,o=1,i=e}finally{u=1}}return{value:e,done:f}}}(r,s,a),!0),l}var c={};function u(){}function l(){}function f(){}e=Object.getPrototypeOf;var v=[][n]?e(e([][n]())):(i(e={},n,function(){return this}),e),p=f.prototype=u.prototype=Object.create(v);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,i(t,s,"GeneratorFunction")),t.prototype=Object.create(p),t}return l.prototype=f,i(p,"constructor",f),i(f,"constructor",l),l.displayName="GeneratorFunction",i(f,s,"GeneratorFunction"),i(p),i(p,s,"Generator"),i(p,n,function(){return this}),i(p,"toString",function(){return"[object Generator]"}),(o=function(){return{w:a,m:d}})()}function i(t,e,r,n){var s=Object.defineProperty;try{s({},"",{})}catch(t){s=0}i=function(t,e,r,n){function a(e,r){i(t,e,function(t){return this._invoke(e,r,t)})}e?s?s(t,e,{value:r,enumerable:!n,configurable:!n,writable:!n}):t[e]=r:(a("next",0),a("throw",1),a("return",2))},i(t,e,r,n)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){l(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e,r,n,s,a,o){try{var i=t[a](o),c=i.value}catch(t){return void r(t)}i.done?e(c):Promise.resolve(c).then(n,s)}const v={name:"Users",data:function(){return{startCase:n.A,searchForm:new SparkForm({query:""}),searching:!1,noSearchResults:!1,searchResults:[]}},created:function(){this.$nextTick(function(){document.getElementById("kiosk-users-search").focus()})},methods:{searchUser:function(){var t,e=this;return(t=o().m(function t(){var r,n,a;return o().w(function(t){for(;;)switch(t.n){case 0:return e.searching=!0,e.noSearchResults=!1,r=(0,s.e9)("kiosk/users/search"),t.n=1,Spark.post(r,e.searchForm);case 1:n=t.v,a=n.data,e.searchResults=a.map(function(t){var e;return u(u({},t),{},{active_billing_type:null===(e=t.billing_customers[0])||void 0===e?void 0:e.b
2illing_type,active_subscription:t.active_subscriptions[0]})}),e.noSearchResults=0===e.searchResults.length,e.searching=!1;case 2:return t.a(2)}},t)}),function(){var e=this,r=arguments;return new Promise(function(n,s){var a=t.apply(e,r);function o(t){f(a,n,s,o,i,"next",t)}function i(t){f(a,n,s,o,i,"throw",t)}o(void 0)})})()}}},p=v;var d=(0,r(14486).A)(p,function(){var t=this,e=t._self._c;return e("div",{staticClass:"p-4 _kiosk-users"},[e("div",{staticClass:"card card-default"},[e("div",{staticClass:"card-body"},[e("form",{attrs:{role:"form"},on:{submit:function(t){t.preventDefault()}}},[e("label",{staticClass:"label"},[t._v("Users")]),t._v(" "),e("div",{staticClass:"input-group"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchForm.query,expression:"searchForm.query"}],staticClass:"form-control _kiosk-user-search",attrs:{id:"kiosk-users-search",type:"text",name:"search",placeholder:"Search By Name Or Email Address..."},domProps:{value:t.searchForm.query},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchUser.apply(null,arguments)},input:function(e){e.target.composing||t.$set(t.searchForm,"query",e.target.value)}}}),t._v(" "),e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-teal _kiosk-user-search-button",attrs:{type:"button"},on:{click:t.searchUser}},[t._v("\n              Search\n            ")])])])])])]),t._v(" "),t.searching?e("div",{staticClass:"card card-default"},[e("div",{staticClass:"card-header"},[t._v("\n      Search Results\n    ")]),t._v(" "),t._m(0)]):t._e(),t._v(" "),!t.searching&&t.noSearchResults?e("div",{staticClass:"card card-default _kiosk-user-no-results"},[e("div",{staticClass:"card-header"},[t._v("\n      Search Results\n    ")]),t._v(" "),e("div",{staticClass:"card-body"},[t._v("\n      No users matched the given criteria.\n    ")])]):t._e(),t._v(" "),!t.searching&&t.searchResults.length>0?e("div",{staticClass:"card card-default _kiosk-user-results"},[e("div",{staticClass:"card-header"},[t._v("\n      Search Results\n    ")]),t._v(" "),e("div",{staticClass:"table-responsive"},[e("table",{staticClass:"table table-valign-middle mb-0"},[t._m(1),t._v(" "),e("tbody",t._l(t.searchResults,function(r){return e("tr",{key:r.email,staticClass:"_kiosk-user-row"},[e("td",[e("div",{staticClass:"flex-center-start"},[e("img",{staticClass:"spark-profile-photo",attrs:{src:r.photo_url,alt:"User Photo"}}),t._v(" "),e("p",{staticClass:"ml-2 mb-0"},[t._v("\n                  "+t._s(r.name)+"\n                ")])])]),t._v(" "),e("td",[e("div",{staticClass:"_kiosk-user-email"},[t._v("\n                "+t._s(r.email)+"\n              ")])]),t._v(" "),e("td",[e("router-link",{staticClass:"btn btn-default",class:"_kiosk-user-open-"+r.id,attrs:{to:{name:"kiosk.user",params:{userId:r.id}}}},[e("i",{staticClass:"fa fa-search"})])],1)])}),0)])])]):t._e()])},[function(){var t=this._self._c;return t("div",{staticClass:"card-body"},[t("i",{staticClass:"fa fa-btn fa-spinner fa-spin"}),this._v(" Searching\n    ")])},function(){var t=this,e=t._self._c;return e("thead",[e("tr",[e("th",[t._v("Name")]),t._v(" "),e("th",[t._v("Email Address")]),t._v(" "),e("th",{staticClass:"th-fit"})])])}],!1,null,null,null);const h=d.exports}}]);

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.