PageSourceSearch

https://cdn.cmrad.com/js/19391.2f6a932fdf9463a2.js

js cmrad.com collected 2026-09-24 09:33:34 UTC 18,137 bytes, 3 lines download raw bytes

1/*! For license information please see 19391.2f6a932fdf9463a2.js.LICENSE.txt */
2"use strict";(self.webpackChunk_cmrad_cmrad=self.webpackChunk_cmrad_cmrad||[]).push([[19391,47670],{28075:function(t,e,r){r.d(e,{BD:function(){return b},K:function(){return v},OJ:function(){return g},Sg:function(){return u},UE:function(){return a},WC:function(){return y},ay:function(){return c},cp:function(){return p},dW:function(){return d},j3:function(){return h},mO:function(){return S},nA:function(){return s},qe:function(){return o},wi:function(){return f},zi:function(){return m}});var n={admin:Boolean,createGroup:Boolean},o={id:Number,username:String,email:String,firstName:String,lastName:String,bio:String,academicDegree:String,institutions:Array,followersCount:Number,followingCount:Number,followers:Array,following:Array,karma:Number,avatarUrl:String,socialNetworks:Array,contactMe:Boolean,institutionEmail:String,speciality:Object,profession:Object,licenseFile:String,lastActivities:Array,caseCount:Number,can:n,becomeRadiologist:Number},i=(Boolean,{updateCase:Boolean,deleteCase:Boolean,verifyPatient:Boolean,requestAnalysis:Boolean,createReply:Boolean}),a={id:Number,caseNumber:String,title:String,details:String,diagnosis:f,followUp:String,educationalValue:Number,educationalVotesCount:Number,status:String,isMultiStudy:Boolean,isFeatured:Boolean,tags:Array,repliesCount:Number,isAnonymous:Boolean,createdBy:o,createdAt:String,updatedAt:String,publishedAt:String,subSpecialtySection:{id:Number,label:String},followersCount:Number,sharesCount:Number,keyImages:Array,caseImages:Array,removedImages:Array,newImages:Array,studies:Array,can:i,links:Object,lastActivity:Object,isNew:Boolean,hasNewReply:Boolean,notificationsCount:Number,trashed:Boolean},c={accessLink:String,authorId:Object,filepath:String,id:String,lastActivity:Object,thumbnailPicture:String,title:String,updatedAt:String},s={id:Number,title:String,slug:String,description:String,casesCount:Number,followersCount:Number,createdAt:String,updatedAt:String,lastActivityAt:String,isFollowing:Boolean,author:o,cases:Array,followers:Array,members:Array},l={updateReply:Boolean},u={id:Number,originCase:a,comment:String,diagnosis:f,followUp:String,images:Array,isAiReply:Boolean,createdBy:o,createdAt:String,updatedAt:String,can:l},d={id:Number,studyId:String,studyInstanceUid:String,studyDate:String,imported:Boolean,description:String,bodyPartExamined:String,modalities:Array,isDicomStudy:Boolean,keyImages:Array,seriesImages:Array,trashed:Boolean},f={details:String,status:String,confidenceLevel:Number,agreeVotesCount:Number,originCase:a,originReply:u,createdBy:o,agree:Boolean,voters:Array},p={id:Number,value:String,origin:String,isReplyTag:Boolean,reply:u,count:Number},g={id:Number,reference:String,position:Number,imageUrl:String,imageType:String,originalWidth:Number,originalHeight:Number,hasAnnotations:Boolean,annotations:Array,isSupported:Boolean,originCase:a,originStudy:d,originReply:u,instanceId:String,sopInstanceUid:String,addedBy:o,createdAt:String,updatedAt:String},m={id:Number,graphicType:String,originRow:Number,originColumn:Number,coordinates:Array,overlayMaskUrl:String,label:String},h={id:Number,title:String,slug:String,description:String,completed_pct:Number,starts_at:String,created_at:String,ends_at:String,state:String,cases:Array,users:Array,author:Object},y={id:Number,title:String,position:Number,location:String,studies:Array},v=(Boolean,{id:Number,name:String,brand:String,description:String,provider:{id:Number,name:String,engines:Array},user:o,isFdaCertified:Boolean,isCeCertified:Boolean,ceIntendedUse:String}),b={id:Number,name:String,slug:String,description:String,avatarUrl:String,members_count:Number,cases_count:Number,members:Array,owners:Array,creator:o,createdAt:String,updatedAt:String},S={id:Number,name:String,description:String,uuid:String,reference:String,externalReference:String,status:String,firstPatientFirstScanDate:String,lastPatientLastScanDate:String,oqTurnaround:Number,createdBy:o,updatedBy:o,quickAccess:String,avatarUrl:String}},38257:function(t,e,r){var n=r(27897),o=r.n(n),i=r(1519),a=r.n(i)()(o());a.push([t.id,".add-case-to-collection-modal .loading-spinner{height:5rem;width:5rem}","",{version:3,sources:["webpack://./resources/js/Organisms/CollectionAddCaseModal.vue"],names:[],mappings:"AAEE,+CAEE,WAAA,CADA,UAAJ",sourcesContent:["\n.add-case-to-collection-modal {\n  .loading-spinner {\n    width: 5rem;\n    height: 5rem;\n  }\n}\n"],sourceRoot:""}]),e.Z=a},19391:function(t,e,r){r.r(e),r.d(e,{default:function(){return b}});var n=r(28075),o=r(20629),i=r(8901),a=r.n(i);function c(t){return c="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},c(t)}function s(){s=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function d(t,e,r,o){var i=e&&e.prototype instanceof g?e:g,a=Object.create(i.prototype),c=new O(o||[]);return n(a,"_invoke",{value:C(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var p={};function g(){}function m(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(k([])));
vendor: 4,353 bytes, line 2
2b&&b!==e&&r.call(b,i)&&(y=b);var S=h.prototype=g.prototype=Object.create(y);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function o(n,i,a,s){var l=f(t[n],t,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==c(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){o("next",t,a,s)}),(function(t){o("throw",t,a,s)})):e.resolve(d).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,s)}))}s(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function C(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=A(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=f(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===p)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}function A(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,A(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=f(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function k(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return m.prototype=h,n(S,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:m,configurable:!0}),m.displayName=u(h,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},w(_.prototype),u(_.prototype,a,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new _(d(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(S),u(S,l,"Generator"),u(S,i,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=k,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");
2if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},t}function l(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,o)}function u(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}function d(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 f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){p(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==c(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===c(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var g={name:"CollectionAddCaseModal",components:{SplitModal:function(){return Promise.all([r.e(8898),r.e(20345)]).then(r.bind(r,20345))},CollectionMedia:function(){return r.e(2413).then(r.bind(r,2413))},EmptyState:function(){return r.e(4945).then(r.bind(r,4945))},NoResultsIcon:function(){return r.e(57868).then(r.bind(r,57868))},CreateCollectionModal:function(){return Promise.all([r.e(8898),r.e(44185)]).then(r.bind(r,34686))}},props:{originCase:n.UE,value:Boolean},data:function(){return{show:!1,saving:!1,createModalOpen:!1,keywords:""}},computed:f(f({},(0,o.rn)({currentUser:function(t){return t.currentUserResource}})),{},{isFetching:function(){return this.$asyncComputed.collections.updating||!this.$asyncComputed.collections}}),asyncComputed:{collections:function(){var t=this;return u(s().mark((function e(){var r;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.value){e.next=2;break}return e.abrupt("return",null);case 2:return e.next=4,t.$api("users.collections",{version:"1.0",radiologist:t.currentUser.id,without_case:t.originCase.id,keywords:t.keywords,where_member:!0});case 4:return r=e.sent,e.abrupt("return",r.data.data);case 6:case"end":return e.stop()}}),e)})))()}},methods:{onHidden:function(t){this.$emit("input",!1),this.$emit("hidden",t)},addCaseToCollection:function(t){var e=this;return u(s().mark((function r(){return s().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.saving=!0,r.prev=1,r.next=4,e.$api("case_collections.add_case",{version:"1.0",case_collection:t.id},{case_id:e.originCase.id});case 4:a().success(e.originCase.title+" "+e.$t("cmrad.case_add_to_collection")+" "+t.title),e.$refs.modal.hide(),r.next=12;break;case 8:r.prev=8,r.t0=r.catch(1),console.error(r.t0),a().error(e.$t("cmrad.case_add_to_collection_error"));case 12:e.saving=!1,e.$asyncComputed.collections.update();case 14:case"end":return r.stop()}}),r,null,[[1,8]])})))()},onCreateCollection:function(){this.createModalOpen=!0},onCollectionCreated:function(t){this.addCaseToCollection(t)},onCancel:function(){this.$refs.modal.hide()}}},m=r(93379),h=r.n(m),y=r(38257),v={insert:"head",singleton:!1},b=(h()(y.Z,v),y.Z.locals,(0,r(51900).Z)(g,(function(){var t=this,e=t._self._c;return e("fragment",[e("split-modal",t._b({ref:"modal",attrs:{"modal
2-class":"add-case-to-collection-modal",title:t.$t("cmrad.add_case_to_collection"),"title-icon":"fa-clipboard-list","ok-variant":"light",value:!t.createModalOpen&&(t.value||t.saving),"ok-disabled":t.saving},on:{input:function(e){return t.$emit("input",e)},hidden:t.onHidden},scopedSlots:t._u([{key:"modal-footer",fn:function(){return[e("cancel-btn",{attrs:{size:"sm"},on:{click:t.onCancel}})]},proxy:!0}])},"split-modal",t.$attrs,!1),[e("b-form-group",[e("b-form-input",{staticClass:"my-2",attrs:{placeholder:"Search your collections...",debounce:"300"},model:{value:t.keywords,callback:function(e){t.keywords=e},expression:"keywords"}})],1),t._v(" "),!t.isFetching&&!t.saving&&t.collections&&t.collections.length?e("b-list-group",{staticClass:"collections-list border-0",attrs:{flush:""}},t._l(t.collections,(function(r,n){return e("b-list-group-item",{key:r.id,staticClass:"d-flex flex-row align-items-center justify-content-between mb-2"},[e("collection-media",{attrs:{collection:r}}),t._v(" "),e("btn",{staticClass:"custom-color",attrs:{icon:"","icon-name":"fa-plus",variant:"primary",fab:"",disabled:t.saving,id:"add-collection-plus-btn-".concat(n)},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.addCaseToCollection(r)}},scopedSlots:t._u([{key:"btnText",fn:function(){return[e("span",{staticClass:"sr-only"},[t._v("Add to collection")])]},proxy:!0}],null,!0)}),t._v(" "),e("b-tooltip",{attrs:{target:"add-collection-plus-btn-".concat(n),triggers:"hover"}},[t._v("\n          "+t._s(t.$t("cmrad.add_case_to_collection"))+"\n        ")])],1)})),1):t.isFetching||t.saving?t._e():e("empty-state",{staticClass:"border-0",attrs:{"svg-icon":"","font-icon":!1,title:"No collections found"}},[[e("no-results-icon")]],2),t._v(" "),t.isFetching?e("empty-state",{staticClass:"border-0",attrs:{title:"Loading"},scopedSlots:t._u([{key:"image",fn:function(){return[e("div",{staticClass:"loader position-relative text-center p-3"},[e("b-spinner",{staticClass:"loading-spinner",attrs:{variant:"primary",label:t.$t("cmrad.loading_with_dots")}})],1)]},proxy:!0}],null,!1,3425519377)}):t._e(),t._v(" "),t.saving?e("empty-state",{staticClass:"border-0",attrs:{title:"Adding case to collection"},scopedSlots:t._u([{key:"image",fn:function(){return[e("div",{staticClass:"loader position-relative text-center p-3"},[e("b-spinner",{staticClass:"loading-spinner",attrs:{variant:"primary",label:"Adding case to collection..."}})],1)]},proxy:!0}],null,!1,1496813609)}):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-end mt-2"},[e("btn",{attrs:{variant:"outline-primary",icon:"","icon-name":"fa-plus",disabled:t.isFetching||t.saving,title:t.$t("cmrad.create_new_collection"),"btn-text":t.$t("cmrad.create_new_collection")},on:{click:t.onCreateCollection}})],1)],1),t._v(" "),e("create-collection-modal",{on:{saved:t.onCollectionCreated,hidden:function(e){t.createModalOpen=!1}},model:{value:t.createModalOpen,callback:function(e){t.createModalOpen=e},expression:"createModalOpen"}})],1)}),[],!1,null,null,null).exports)}}]);
3//# sourceMappingURL=19391.2f6a932fdf9463a2.js.map

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.