PageSourceSearch

https://getpica.com/js/profile-resume.d9b416db.js

js getpica.com collected 2026-09-24 11:19:57 UTC 10,256 bytes, 2 lines download raw bytes

1(this["webpackJsonp"]=this["webpackJsonp"]||[]).push([["profile-resume"],{"6f60":function(t,e,r){"use strict";var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"input-show-hide-password"},[e("input",{ref:"inputPasswordRef",class:["form-control",t.extraClasses],attrs:{type:t.type,autocomplete:t.autocomplete,required:t.required,placeholder:t.placeholder},domProps:{value:t.value},on:{input:function(e){return t.$emit("input",e.target.value)}}}),e("a",{class:["btn-eye"],attrs:{href:"#",tabindex:"-1"},on:{click:function(e){return e.preventDefault(),t.toggleInputType.apply(null,arguments)}}},[e("Icon",{attrs:{name:t.isPassword?"eye":"eyeSlash",width:"18"}})],1)])},n=[],o={name:"InputPassword",props:{value:{type:String,required:!1},required:{type:Boolean,required:!1},extraClasses:{type:String,required:!1},placeholder:{type:String,required:!1},autocomplete:{type:String,required:!1}},data:function(){return{type:"password"}},computed:{isPassword:function(){return"password"===this.type}},methods:{toggleInputType:function(){"password"===this.type?this.type="text":this.type="password",this.$refs.inputPasswordRef.focus()}}},a=o,i=r("2877"),c=Object(i["a"])(a,s,n,!1,null,null,null);e["a"]=c.exports},"84dd":function(t,e,r){"use strict";var s=function(){var t=this,e=t._self._c;return e("section",[e("ViewHeader",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v(t._s(t.$t("layouts.layout_profile.title")))]},proxy:!0},{key:"intro",fn:function(){return[t._v(t._s(t.$t("layouts.layout_profile.intro")))]},proxy:!0}])}),e("div",{staticClass:"container view-body view-body--padded"},[e("div",{staticClass:"row justify-content-md-around"},[e("div",{staticClass:"col-md-auto text-center"},[e("nav",{staticClass:"nav nav-pills nav-pills-profile flex-column flex-md-row"},[e("b-nav-item",{staticClass:"flex-fill text-center nav-link",attrs:{to:{name:"profile-resume"}}},[t._v("\n              "+t._s(t.$t("menu.profile_resume"))+"\n            ")]),e("b-nav-item",{staticClass:"flex-fill text-center nav-link",attrs:{to:{name:"profile-privacy"}}},[t._v("\n              "+t._s(t.$t("menu.profile_privacy"))+"\n            ")]),t.isSsoUser?t._e():e("b-nav-item",{staticClass:"flex-fill text-center nav-link",attrs:{to:{name:"profile-change-password"}}},[t._v("\n              "+t._s(t.$t("menu.profile_change_password"))+"\n            ")])],1)])]),e("div",{staticClass:"col-12 mt-6"},[t._t("default")],2)])],1)},n=[],o=r("2f62"),a=r("c9a7");function i(t){return i="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},i(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function l(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){u(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 u(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=p(t,"string");return"symbol"==i(e)?e:e+""}function p(t,e){if("object"!=i(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var s=r.call(t,e||"default");if("object"!=i(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var f={components:{ViewHeader:a["a"]},computed:l({},Object(o["c"])("auth",["isSsoUser"]))},m=f,v=r("2877"),_=Object(v["a"])(m,s,n,!1,null,null,null);e["a"]=_.exports},a3f6:function(t,e,r){"use strict";r.r(e);var s=function(){var t=this,e=t._self._c;return e("LayoutProfile",{scopedSlots:t._u([{key:"title",fn:function(){return[t._v(t._s(t.$t("menu.profile_resume")))]},proxy:!0}])},[e("article",{staticClass:"section-item"},[e("header",{staticClass:"section-item__row"},[e("div",{staticClass:"section-item__heading"},[e("span",{staticClass:"section-item__heading__title"},[t._v(t._s(t.$t("menu.profile_resume")))])])]),e("div",{staticClass:"container my-3"},[e("div",{staticClass:"row justify-content-between align-items-center profile-user"},[e("div",{staticClass:"col-md-5"},[e("div",{staticClass:"profile-user__email"},[t._v("\n            "+t._s(t.userData.email)+"\n          ")])]),t.isSsoUser?t._e():e("div",{staticClass:"col-md-auto"},[e("div",{staticClass:"d-md-flex"},[e("div",{staticClass:"mr-md-3 mb-2 mb-md-0"},[e("b-button",{attrs:{variant:"light",block:"",to:{name:"profile-change-password"}}},[t._v("\n                "+t._s(t.$t("menu.profile_change_password"))+"\n              ")])],1),e("div",[e("b-button",{directives:[{name:"b-modal",rawName:"v-b-modal",value:"modal-delete-account",expression:"'modal-delete-account'"}],staticClass:"btn-delete-account",attrs:{variant:"danger",block:""}},[t._v("\n                "+t._s(t.$t("menu.delete_account"))+"\n              ")])],1)])])])]),e("b-modal",{attrs:{id:"modal-delete-account","hide-header":"",centered:""},scopedSlots:t._u([{key:"modal-footer",fn:function(r){r.ok;var s=r.cancel;return[e("div",{staticClass:"row w-100 justify-content-center"},[e("div",{staticClass:"col-sm-6 order-sm-1 mb-2 mb-sm-0"},[e("b-button",{attrs:{block:"",variant:"primary"},on:{click:function(e){return t.deleteAccount()}}},[t._v("\n              "+t._s(t.$t("modal_delete_account.action_confirm"))+"\n            ")])],1),e("div",{staticClass:"col-sm-6 order-sm-0"},[e("b-button",{attrs:{block:"",variant:"light"},on:{click:function(t){return s()}}},[t._v("\n              "+t._s(t.$t("modal_delete_account.action_cancel"))+"\n            ")])],1)])]}}])},[e("div",{staticClass:"text-center mb-2"},[e("Icon",{staticClass:"mb-3",attrs:{name:"grTrash",width:"36"}}),e("h1",{staticClass:"modal-title mb-2"},[t._v(t._s(t.$t("modal_delete_account.title")))]),e("p",{domProps:{innerHTML:t._s(t.$t("modal_delete_account.attention_text"))}}),e("div",{staticClass:"mb-3"},[t._v(t._s(t.$t("modal_delete_account.enter_password")))]),e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col col-lg-7"},[e("input-password",{attrs:{required:!0,"extra-classes":"mb-2",placeholder:t.$t("forms.login_form.password")},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}}),e("div",{staticClass:"errors"},[t.passwordsFieldsRequiredError?e("div",{staticClass:"items text-danger"},[t._v("\n                "+t._s(t.$t("modal_delete_account.error_password_required"))+"\n              ")]):t._e(),t._l(t.serverErrors,(function(r,s){return e("div",{key:s,staticClass:"items text-danger"},[t._v(t._s(r))])}))],2)],1)])],1)]),e("b-toast",{attrs:{id:"toast-delete-account",variant:"primary",solid:""}},[e("div",{staticClass:"text-center"},[e("h6",[t._v(t._s(t.$t("notifications.account_deleted_title")))]),e("div",[t._v(t._s(t.$t("notifications.account_deleted")))])])]),e("footer",{staticClass:"section-item__footer"},[e("div",{staticClass:"total-wrapper"},[e("div",{staticClass:"items"},[t._v(t._s(t.$t("pages.profile_resume.date_joined"))+" "+t._s(t._f("formatDateTime")(t.userData.date_joined))+"\n        ")])])])],1
1)])},n=[],o=r("2f62"),a=r("413d"),i=r("84dd"),c=r("6f60");function l(t){return l="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},l(t)}function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){p(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(t,e,r){return(e=f(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t){var e=m(t,"string");return"symbol"==l(e)?e:e+""}function m(t,e){if("object"!=l(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var s=r.call(t,e||"default");if("object"!=l(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var v={components:{InputPassword:c["a"],LayoutProfile:i["a"]},computed:d({},Object(o["c"])("auth",["isSsoUser"])),data:function(){return{userData:{},password:null,serverErrors:[],passwordsFieldsRequiredError:!1}},created:function(){this.fetchData()},methods:{fetchData:function(){var t=this;a["a"].getUserData().then((function(e){t.$set(t,"userData",e.data)})).catch((function(t){return t}))},deleteAccount:function(){var t=this;this.serverErrors=[],this.passwordsFieldsRequiredError=!1,this.password?a["a"].deleteAccount(this.password).then((function(e){t.$nextTick((function(){t.$bvModal.hide("modal-delete-account")})),t.$bvToast.show("toast-delete-account"),setTimeout((function(){t.$store.dispatch("auth/logout").then((function(){return t.$router.push("/")}))}),3500)})).catch((function(e){return 400===e.response.status&&t.$set(t,"serverErrors",Object.values(e.response.data).flat()),e})):this.passwordsFieldsRequiredError=!0}}},_=v,b=r("2877"),y=Object(b["a"])(_,s,n,!1,null,null,null);e["default"]=y.exports},c9a7:function(t,e,r){"use strict";var s=function(){var t=this,e=t._self._c;return e("header",{staticClass:"view-header"},[t.hasTitleSlot?e("div",{staticClass:"container"},[e("h1",{staticClass:"view-header__title"},[t._t("title")],2),e("div",{staticClass:"view-header__intro"},[t._t("intro")],2)]):e("div",[t._t("content")],2)])},n=[],o={computed:{hasTitleSlot:function(){return!!this.$slots.title}}},a=o,i=r("2877"),c=Object(i["a"])(a,s,n,!1,null,null,null);e["a"]=c.exports}}]);
2//# sourceMappingURL=profile-resume.d9b416db.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.