text: /**
   * @ngdoc overview
   * @name app.authentication
   * @description < description placeholder >
   */
  function goToTransactionView(e){var t=window.open(window.location.origin+"/#!/dashboard/tradeView/"+e,"_blank");t.focus()}!function(){"use strict";function e(e){e.google({clientId:"146379198005-916tvuu5tgv19rpink6m0i8gmlgtinbn.apps.googleusercontent.com",scope:"https://www.googleapis.com/auth/analytics.readonly",responseType:"code",url:"/api/auth/google_analytics/",redirectUri:window.location.origin})}function t(e){e.state("login",{url:"/login",bgBackgroundClass:"loginBackground",views:{"@":{templateUrl:"app/authentication/auth.html",controller:"Authentication as vm"}}})}t.$inject=["$stateProvider"],e.$inject=["$authProvider"],angular.module("app.authentication",[]).config(t).config(e)}(),function(){"use strict";angular.module("app.common",[])}(),angular.module("app.core",["ngMessages","ngAnimate","restangular","ui.bootstrap","ui.sortable","ui.router","ngCookies","ngTouch","toastr","smart-table","xeditable","ui.slimscroll","ngJsTree","angular-progress-button-styles","LocalStorageModule","ngFileSaver","angularMoment","ngBootstrap","selectize","uiCropper","angularSpectrumColorpicker","ui.validate","satellizer","ngFileUpload","infinite-scroll","angucomplete-alt","angularMoment"]),function(){"use strict";function e(e,t){t.addStaticItem({title:"Dashboard",priority:1,icon:"ion-ios-pulse-strong",stateRef:"dashboard.main"}),t.addStaticItem({title:"Products",icon:"ion-bag",priority:2,subMenu:[{title:"Categories",stateRef:"dashboard.productsCategories"},{title:"Products",stateRef:"dashboard.products"},{title:"Product Items",stateRef:"dashboard.productsItems"},{title:"Keywords",stateRef:"dashboard.productKeywords"}]}),t.addStaticItem({title:"Manifest",priority:3,icon:"ion-android-clipboard",stateRef:"dashboard.manifestDashboard"}),t.addStaticItem({title:"Pricing",priority:4,icon:"ion-arrow-graph-up-right",stateRef:"dashboard.pricing.dashboard"}),t.addStaticItem({title:"Business Partner",priority:5,icon:"ion-ios-people",stateRef:"dashboard.businessPartner"}),t.addStaticItem({title:"Inventory",priority:6,icon:"ion-clipboard",stateRef:"dashboard.inventory.dashboard"}),t.addStaticItem({title:"Local Trade Book",priority:8,icon:"ion-social-usd",stateRef:"dashboard.localTradeBook"}),t.addStaticItem({title:"Accounts",priority:9,icon:"ion-calculator",stateRef:"dashboard.accounts.main"}),t.addStaticItem({title:"Website",priority:10,icon:"ion-ios-monitor",stateRef:"dashboard.website"}),t.addStaticItem({title:"Shipment",priority:11,icon:"ion-android-boat",stateRef:"dashboard.shipping"}),t.addStaticItem({title:"Document Creator",priority:12,icon:"ion-android-document",stateRef:"dashboard.documentCreator"}),e.state("dashboard",{url:"/dashboard","abstract":!0,title:"Dashboard",views:{"@":{templateUrl:"app/dashboard/shell/shell.html"}},resolve:{userData:["authentication",function(e){return e.getUserData()}]}}).state("dashboard.main",{url:"/main",title:"Dashboard",pageHeader:{subTitle:"Business",title:"Dashboard",headerAnchor:[]},resolve:{completeReport:["dashboard","loaderModal",function(e,t){return t.open(),e.getCompleteDashboardReport().then(function(e){return e.data})["finally"](function(){t.close()})}]},views:{"content@dashboard":{templateUrl:"app/dashboard/dashboard.html",controller:"Dashboard as vm"}}})}e.$inject=["$stateProvider","baSidebarServiceProvider"],angular.module("app.dashboard",["app.dashboard.website","app.dashboard.user","app.dashboard.products","app.dashboard.businessPartner","app.dashboard.tradeBook","app.dashboard.localTradeBook","app.dashboard.settings","app.dashboard.modals","app.dashboard.pricing","app.dashboard.manifest","app.dashboard.documentCreator","app.dashboard.shipping","app.dashboard.currencyExchange","app.dashboard.accounts","app.dashboard.inventory"]).config(e)}(),function(){"use strict";function e(e){e.state("landing",{nodashBackground:!0,url:"/landing",views:{"@":{templateUrl:"app/landing/shell/shell.html"},"header@landing":{templateUrl:"app/landing/shell/header.html"}}}).state("landing.home",{url:"/home",nodashBackground:!0,title:"Home",views:{"content@landing":{templateUrl:"app/landing/home/home.html",controller:"homeCtrl as vm"}}})}e.$inject=["$stateProvider"],angular.module("app.landing",[]).config(e)}(),function(){"use strict";function e(e){}e.$inject=["$stateProvider"],angular.module("app.modal",[]).config(e)}(),function(){"use strict";angular.module("app.dashboard.modals",[])}(),function(){"use strict"}(),function(){"use strict";angular.module("app.theme",["toastr","chart.js","angular-chartist","angular.morris-chart","textAngular","app.theme.components"])}(),angular.module("app.widgets",["app.widgets.ui","app.widgets.components","app.widgets.form","app.widgets.tables","app.widgets.charts","app.widgets.maps","app.widgets.profile"]),function(){"use strict";function e(e,t){e.state("dashboard.accounts",{url:"/accounts","abstract":!0,title:"Accounts",views:{"content@dashboard":{template:'<div ui-view="content"></div>'}}}).state("dashboard.accounts.main",{url:"/accounts",title:"Accounts",views:{"content@dashboard.accounts":{templateUrl:"app/dashboard/accounts/dashboard.html",controller:"AccountDashboard as vm"}},pageHeader:{subTitle:"Accounts",title:"Dashboard",headerAnchor:[{text:"Commission Flow",state:"dashboard.accounts.taccounts"},{text:"Invoices",state:"dashboard.accounts.invoice"}]}}).state("dashboard.accounts.invoice",{url:"/invoice",views:{"content@dashboard.accounts":{templateUrl:"app/dashboard/accounts/invoice/invoice.html",controller:"Invoice as vm"}},pageHeader:{subTitle:"Invoices",title:"Manager",back:!0}}).state("dashboard.accounts.invoiceForm",{url:"/:fileId/:invoiceId",views:{"content@dashboard.accounts":{templateUrl:"app/dashboard/accounts/invoice/invoiceForm.html",controller:"InvoiceForm as vm"}},pageHeader:{goBack:!0},resolve:{invoice:["accounts","$stateParams","loaderModal","$rootScope",function(e,t,a,i){return a.open(),e.getInvoiceObj(t.fileId,t.invoiceId).then(function(e){return a.close(),"new"===t.invoiceId?(i.headerTitle="New Invoice",i.headerSubTitle="File Id "+t.fileId):(i.headerSubTitle="File Id "+t.fileId,i.headerTitle="Invoice No. "+t.invoiceId),e.invoiceObj})}]}}).state("dashboard.accounts.taccounts",{url:"/commissionFlow",views:{"content@dashboard.accounts":{templateUrl:"app/dashboard/accounts/taccounts/taccounts.html",controller:"TAccounts as vm"}}})}e.$inject=["$stateProvider","$urlRouterProvider"],angular.module("app.dashboard.accounts",[]).config(e)}(),function(){"use strict";function e(e){e.state("dashboard.businessPartner",{url:"/businessPartner",subNav:!0,subNavTitle:"Business Partner",views:{"content@dashboard":{templateUrl:"app/dashboard/businessPartner/businessPartner.html",controller:"BusinessPartner as vm"}},pageHeader:{subTitle:"Manage",title:"Business"},resolve:{allBusiness:["businessPartner","loaderModal","$state",function(e,t,a){return"dashboard.businessPartner.form"===a.current.name?[]:(t.open(),e.getBusinessPartnerList(e.getBusinessPartnerListIndex()).then(function(e){return t.close(),e.businessList}))}]}}).state("dashboard.businessPartner.report",{url:"/report/:id",views:{"content@dashboard":{templateUrl:"app/dashboard/businessPartner/report/businessReport.html",controller:"BusinessReport as vm"}},resolve:{businessReport:["businessPartner","$stateParams",function(e,t){return e.getBusinessReport(t.id).then(function(e){return e.businessReport})}]}}).state("dashboard.businessPartner.form",{url:"/form/:id",views:{"content@dashboard":{templateUrl:"app/dashboard/businessPartner/businessPartnerForm.html",controller:"BusinessPartner as vm"}}})}e.$inject=["$stateProvider"],angular.module("app.dashboard.businessPartner",[]).config(e)}(),function(){"use strict";function e(e,t){e.state("dashboard.currencyExchange",{url:"/currency","abstract":!0,title:"Currency Exchange",views:{"content@dashboard":{template:'<div ui-view="content"></div>'}}}).state("dashboard.currencyExchange.dashboard",{url:"/exchange/:currencyIn/:currencyOut",views:{"content@dashboard.currencyExchange":{templateUrl:"app/dashboard/currencyExchange/currencyDashboard.html",controller:"CurrencyDashboard as vm"}}})}e.$inject=["$stateProvider","$urlRouterProvider"],angular.module("app.dashboard.currencyExchange",[]).config(e)}(),function(){"use strict";function e(e){e.state("dashboard.documentCreator",{url:"/documentCreator",title:"Document Creator",views:{"content@dashboard":{templateUrl:"app/dashboard/documentCreator/documentCreator.html",controller:"DocumentCreator as vm"}}})}e.$inject=["$stateProvider"],angular.module("app.dashboard.documentCreator",[]).config(e)}(),function(){"use strict";function e(){$stateProvider.state("dashboard.internalTradeBook",{url:"/tradeBook",subNav:!0,subNavTitle:"Internal Trade Book",pageHeader:{subTitle:"Business",title:"Internal Trade",headerAnchor:[{text:"Add New Internal Trade",state:'dashboard.transaction({id:"new"})'}]},views:{"content@dashboard":{templateUrl:"app/dashboard/tradeBook/tradeBook.html",controller:"TradeBook as vm"}}})}angular.module("app.dashboard.localTradeBook",[]).config(e)}(),function(){"use strict";function e(e,t){e.state("dashboard.inventory",{url:"/inventory","abstract":!0,title:"Inventory",views:{"content@dashboard":{template:'<div ui-view="content"></div>'}}}).state("dashboard.inventory.dashboard",{url:"/summary",title:"Inventory Dashboard",views:{"content@dashboard.inventory":{templateUrl:"app/dashboard/inventory/inventoryDashboard.html",controller:"InventoryDashboard as vm"}},resolve:{dashboardData:["inventory",function(e){return e.getDashboardData().then(function(e){return e.data})}]},pageHeader:{subTitle:"Inventory",title:"Dashboard",headerAnchor:[{text:"Warehouses",state:"dashboard.inventory.warehouses"},{text:"Inventory Record Book",state:"dashboard.inventory.inventoryTransactions"}]}}).state("dashboard.inventory.warehouses",{url:"/warehouses",title:"Warehouses",views:{"content@dashboard.inventory":{templateUrl:"app/dashboard/inventory/warehouses.html",controller:"Warehouses as vm"}},resolve:{allWarehouses:["$rootScope","$stateParams","inventory",function(e,t,a){return a.getWarehouseList().then(function(e){return e.list})}]},pageHeader:{subTitle:"All",title:"Warehouses",headerAnchor:[{text:"Add New Warehouse",state:'dashboard.inventory.warehousesForm({id:"new"})'}],goBack:!0}}).state("dashboard.inventory.warehousesLotReport",{url:"/warehouses",title:"Warehouses Lot Report",views:{"content@dashboard.inventory":{templateUrl:"app/dashboard/inventory/warehouseLotReport.html",controller:"Wareh as vm"}},resolve:{},pageHeader:{goBack:!0}}).state("dashboard.inventory.warehousesForm",{url:"/warehouse/:id",title:"Warehouses",pageHeader:{goBack:!0},views:{"content@dashboard.inventory":{templateUrl:"app/dashboard/inventory/warehouseForm.html",controller:"WarehouseForm as vm"}},resolve:{warehouseObj:["$rootScope","$stateParams","inventory",function(e,t,a){return"new"===t.id?(e.headerSubTitle="Add New",e.headerTitle="Warehouse",a.getNewWarehouseObj()):a.getWarehouseDetails(t.id,!1).then(function(e){return e.success?e.warehouseObj:void 0})}]}}).state("dashboard.inventory.warehouseDetails",{url:"/warehouseDetails/:id",title:"Warehouses",views:{"content@dashboard.inventory":{templateUrl:"app/dashboard/inventory/warehouseDetails.html",controller:"WarehousesDetails as vm"}},pageHeader:{goBack:!0},resolve:{warehouseObj:["$rootScope","$stateParams","inventory",function(e,t,a){return a.getWarehouseDetails(t.id,!0).then(function(t){return t.success?(e.headerSubTitle="Warehouse",e.headerTitle=t.warehouseObj.name,t.warehouseObj):void 0})}]}}).state("dashboard.inventory.inventoryTransactionForm",{url:"/inventoryForm/:id",title:"Inventory Transaction",views:{"content@dashboard.inventory":{templateUrl:"app/dashboard/inventory/inventoryTransactionForm.html",controller:"InventoryTransactionForm as vm"}},pageHeader:{subTitle:"Inventory",title:"Dashboard",goBack:!0},resolve:{inventoryRecord:["$stateParams","inventory","loaderModal",function(e,t,a){return"new"===e.id?t.getNewInventoryRecordObj():t.getInventoryRecord(e.id).then(function(e){return e.success?e.recordObj:void 0})}]}}).state("dashboard.inventory.inventoryTransactions",{url:"/inventoryTransactions",title:"Inventory Transactions",views:{"content@dashboard.inventory":{templateUrl:"app/dashboard/inventory/inventoryTransactions.html",controller:"InventoryTransactions as vm"}},pageHeader:{subTitle:"Inventory",title:"Record Book",headerAnchor:[{text:"Add New Inventory Record",state:'dashboard.inventory.inventoryTransactionForm({id: "new"})'}],goBack:!0}})}e.$inject=["$stateProvider","baSidebarServiceProvider"],angular.module("app.dashboard.inventory",[]).config(e)}(),function(){"use strict";function e(e){e.state("dashboard.localTradeBook",{url:"/localTradeBook",subNav:!0,subNavTitle:"Trade Book",pageHeader:{subTitle:"Business",title:"Local Trade Book",headerAnchor:[{text:"Add New Local Transaction",state:'dashboard.localTransactionForm({id:"new"})'}]},views:{"content@dashboard":{templateUrl:"app/dashboard/localTradeBook/localTradeBook.html",controller:"LocalTradeBook as vm"}}}).state("dashboard.localTransactionForm",{url:"/localTrade/:id",title:"Local Trade",pageHeader:{subTitle:"Add New",title:"Local Transaction",goBack:!0},views:{"content@dashboard":{templateUrl:"app/dashboard/localTradeBook/transaction/localTradebookForm.html",controller:"LocalTradeBookForm as vm"}},resolve:{localTrade:["localTradeBook","$stateParams",function(e,t){return"new"===t.id?e.getNewLocalTrade():e.getTransactionDetail(t.id,!1).then(function(e){return e.localTrade})}]}}).state("dashboard.localTransactionView",{url:"/localTradeView/:fileId",title:"Local Trade",views:{"content@dashboard":{templateUrl:"app/dashboard/localTradeBook/transaction/localTransactionView.html",controller:"LocalTradeBookView as vm"}},resolve:{localTrade:["localTradeBook","$stateParams","loaderModal",function(e,t,a){return a.open(),e.getTransactionDetail(t.fileId,!1).then(function(e){return a.close(),e.localTrade})}]}})}e.$inject=["$stateProvider"],angular.module("app.dashboard.localTradeBook",[]).config(e)}(),function(){"use strict";function e(e,t){e.state("dashboard.manifest",{url:"/manifest",title:"Manifest",pageHeader:{subTitle:"Port",title:"Manifest"},views:{"content@dashboard":{controller:"Manifest as vm",templateUrl:"app/dashboard/manifest/manifest.html"}}}).state("dashboard.manifestDashboard",{url:"/manifestReport",title:"Manifest Report",pageHeader:{subTitle:"Manifest",title:"Report"},views:{"content@dashboard":{controller:"ManifestDashboard as vm",templateUrl:"app/dashboard/manifest/manifestDashboard.html"}}})}e.$inject=["$stateProvider","$urlRouterProvider"],angular.module("app.dashboard.manifest",[]).config(e)}(),function(){"use strict";function e(e){e.state("dashboard.pricing",{url:"","abstract":!0,title:"Pricing",views:{"content@dashboard":{template:'<div ui-view="pricing"></div>'}}})}function t(e,t){e.state("dashboard.pricing.dashboard",{url:"/pricing",title:"Pricing Dashboard",views:{"pricing@dashboard.pricing":{templateUrl:"app/dashboard/pricing/pricing.html",controller:"Pricing as vm"}},pageHeader:{subTitle:"Product",title:"Pricing"},resolve:{allProductPriceSummary:["pricing","loaderModal",function(e,t){return t.open(),e.getAllProductPriceSummary().then(function(e){return t.close(),e.data.priceSummary})}]}}).state("dashboard.pricing.market",{url:"/market",title:"Price Market",pageHeader:{subTitle:"Add",title:"Price Market"},views:{"pricing@dashboard.pricing":{templateUrl:"app/dashboard/pricing/priceMarket.html",controller:"PriceMarket as vm"}},resolve:{allMarkets:["pricing","loaderModal",function(e,t){return t.open(),e.getAllPriceMarkets().then(function(e){return t.close(),e.data.pricingMarket})}]}}).state("dashboard.pricing.productItems",{url:"pricing/products",title:"Pricing ",pageHeader:{subTitle:"Add",title:"Product Price"},resolve:{allPriceItems:["pricing","loaderModal","utilities",function(e,t,a){t.open();var i=a.todayDateRange();return e.getAllProductItemPrice(i).then(function(e){return t.close(),e.data.allPrices})}]},views:{"pricing@dashboard.pricing":{templateUrl:"app/dashboard/pricing/productPricing.html",controller:"ProductPricing as vm"}}}).state("dashboard.pricing.priceAnalytics",{url:"pricing/analytics/:productItemId",title:"Pricing Analytics",views:{"pricing@dashboard.pricing":{templateUrl:"app/dashboard/pricing/priceAnalytics.html",controller:"PriceAnalytics as vm"}}}),t.when("/pricing","/pricing/market")}e.$inject=["$stateProvider"],t.$inject=["$stateProvider","$urlRouterProvider"],angular.module("app.dashboard.pricing",["app.dashboard.pricing.items"]).config(e),angular.module("app.dashboard.pricing.items",[]).config(t)}(),function(){"use strict";function e(e,t){e.state("dashboard.products",{url:"/products",title:"Products",views:{"content@dashboard":{templateUrl:"app/dashboard/products/products.html",controller:"Products as vm"}},resolve:{allProducts:["product","loaderModal",function(e,t){return t.open(),e.getAllProductList().then(function(e){return t.close(),e.allProducts})}]},pageHeader:{subTitle:"Manage",title:"Products"}}).state("dashboard.productsCategories",{url:"/categories",title:"Products Categories",views:{"content@dashboard":{templateUrl:"app/dashboard/products/productCategories.html",controller:"ProductCategories as vm"}},resolve:{allCategories:["product",function(e){return e.getAllProductCategories().then(function(e){return e.allCategories})}]},pageHeader:{subTitle:"Manage",title:"Product Categories"}}).state("dashboard.productsItems",{url:"/productItems",title:"Product Items",views:{"content@dashboard":{templateUrl:"app/dashboard/products/productItems.html",controller:"ProductItems as vm"}},resolve:{allProductItems:["product",function(e){return e.getAllProductItems().then(function(e){return e.data.productItems})}]},pageHeader:{subTitle:"Manage",title:"Product Items"}}).state("dashboard.productPriceAnalytics",{url:"/productPrice/:productItemId",title:"Product Price Report",views:{"content@dashboard":{templateUrl:"app/dashboard/products/priceAnalytics.html",controller:"ProductPriceAnalytics as vm"}},pageHeader:{subTitle:"Product",title:"Price Report"}}).state("dashboard.productSpecification",{url:"/productSpecification/:categoryId",title:"Product Specification",views:{"content@dashboard":{templateUrl:"app/dashboard/products/productSpecification.html",controller:"ProductSpecification as vm"}},resolve:{specificationData:["product","loaderModal","$stateParams",function(e,t,a){return t.open(),e.getProductCategorySpecification(a.categoryId).then(function(e){return t.close(),e.data})["finally"](function(){t.close()})}]},pageHeader:{subTitle:"Category",title:"Specification"}}).state("dashboard.productKeywords",{url:"/productKeywords",title:"Product Keywords",views:{"content@dashboard":{templateUrl:"app/dashboard/products/productKeyword.html",controller:"ProductKeyword as vm"}},resolve:{allKeywords:["product","apiEndPoints","crud",function(e,t,a){return e.getAllKeywords().then(function(e){return e.data.keywords})}]},pageHeader:{subTitle:"Manage",title:"Product Keywords"}})}e.$inject=["$stateProvider","baSidebarServiceProvider"],angular.module("app.dashboard.products",[]).config(e)}(),function(){"use strict";function e(e,t){e.state("dashboard.settings",{url:"/settings",title:"Settings",pageHeader:{subTitle:"Manage",title:"Settings"},views:{"content@dashboard":{templateUrl:"app/dashboard/settings/settings.html",controller:"settings as vm"}}})}e.$inject=["$stateProvider","$urlRouterProvider"],angular.module("app.dashboard.settings",[]).config(e)}(),function(){"use strict";function e(e){e.state("dashboard.shipping",{url:"/shipment",title:"Shipment",views:{"content@dashboard":{templateUrl:"app/dashboard/shipping/shipping.html",controller:"Shipping as vm"}},pageHeader:{subTitle:"Shipment Module",title:"Shipment",headerAnchor:[{text:"Shipping Ports",state:"dashboard.shipping.ports"},{text:"Shipping Lines",state:"dashboard.shipping.lines"},{text:"Shipping Vessel",state:"dashboard.shipping.vessel"}]}}).state("dashboard.shipping.ports",{url:"/ports",title:"Ports",views:{"content@dashboard":{templateUrl:"app/dashboard/shipping/ports.html",controller:"Ports as vm"}},pageHeader:{subTitle:"All Shipment",title:"Ports",headerAnchor:[{text:"Add New Shipping Port",state:'dashboard.shipping.ports.form({id:"new"})'}]}}).state("dashboard.shipping.ports.form",{url:"/:id",title:"Ports",views:{"content@dashboard":{templateUrl:"app/dashboard/shipping/portForm.html",controller:"Ports as vm"}},pageHeader:{goBack:!0,subTitle:"Shipping",title:"Port"}}).state("dashboard.shipping.lines",{url:"/shippingLine",title:"Shipping Line",views:{"content@dashboard":{templateUrl:"app/dashboard/shipping/shippingLine.html",controller:"ShippingLine as vm"}},pageHeader:{subTitle:"All",title:"Shipping Line",goBack:!0,headerAnchor:[{text:"Add New Shipping Line",state:'dashboard.shipping.lines.form({id:"new"})'}]}}).state("dashboard.shipping.lines.form",{url:"/:id",title:"Shipping Line",views:{"content@dashboard":{templateUrl:"app/dashboard/shipping/shippingLineForm.html",controller:"ShippingLineForm as vm"}},pageHeader:{subTitle:"Add New",title:"Shipping Line",goBack:!0}}).state("dashboard.shipping.vessel",{url:"vessel",views:{"content@dashboard":{templateUrl:"app/dashboard/shipping/vessel.html",controller:"Vessel as vm"}},pageHeader:{subTitle:"All",title:"Shipping Vessel",headerAnchor:[{text:"Add New Shipping Vessel",state:'dashboard.shipping.vessel.form({id:"new"})'}],back:!0}}).state("dashboard.shipping.vessel.form",{url:"/:id",title:"Shipping Vessel",views:{"content@dashboard":{templateUrl:"app/dashboard/shipping/vesselForm.html",controller:"VesselForm as vm"}}})}e.$inject=["$stateProvider"],angular.module("app.dashboard.shipping",[]).config(e)}(),function(){"use strict";function e(e){e.state("dashboard.tradeDashboard",{url:"/tradeDashboard",subNav:!0,subNavTitle:"Trade Book",pageHeader:{subTitle:"Dashboard",title:"International Trades",headerAnchor:[{text:"Add New Transaction",state:'dashboard.transaction({id:"new"})'},{text:"Trade Book",state:"dashboard.tradeBook"}]},views:{"content@dashboard":{templateUrl:"app/dashboard/tradeBook/tradeDashboard/tradeDashboard.html",controller:"TradeDashboard as vm"}},resolve:{dashboardData:["tradeBook","$stateParams","loaderModal","$rootScope",function(e,t,a,i){return a.open(),e.getTradebookDashbordData().then(function(e){return a.close(),e.dashboardData})}]}}).state("dashboard.tradeBook",{url:"/tradeBook",subNav:!0,subNavTitle:"Trade Book",pageHeader:{subTitle:"Business",title:"Trade Book",headerAnchor:[{text:"Add New Transaction",state:'dashboard.transaction({id:"new"})'}]},views:{"content@dashboard":{templateUrl:"app/dashboard/tradeBook/tradeBook.html",controller:"TradeBook as vm"}},resolve:{pageType:function(){return"tradeBook"}}}).state("dashboard.transaction",{url:"/trade/:id",title:"Trade",pageHeader:{subTitle:"Add New",title:"Transaction",goBack:!0},views:{"content@dashboard":{templateUrl:"app/dashboard/tradeBook/transaction/transaction.html",controller:"Transaction as vm"}}}).state("dashboard.transactionView",{url:"/tradeView/:id",title:"Trade",resolve:{trade:["tradeBook","$stateParams","loaderModal","$rootScope",function(e,t,a,i){return a.open(),e.getTransactionDetail(t.id,!0).then(function(e){return a.close(),i.headerTitle=e.transaction.basic.fileNo,e.transaction})}]},views:{"content@dashboard":{templateUrl:"app/dashboard/tradeBook/transaction/transactionView.html",controller:"TransactionView as vm"}},pageHeader:{subTitle:"File No",goBack:!0}}).state("dashboard.internationalTradeAnalytics",{url:"/tradeAnalytics",title:"Business Analytics",views:{"content@dashboard":{templateUrl:"app/dashboard/tradeBook/businessAnalytics/businessAnalytics.html",controller:"TradeBusinessAnalytics as vm"}},pageHeader:{title:"International Trade",subTitle:"Business Analytics",goBack:!0}}).state("dashboard.transactionList",{url:"/tradeReport/:reportType",title:"Trade",resolve:{reportType:["$stateParams",function(e){return e.reportType}],data:["tradeBook","loaderModal","$stateParams",function(e,t,a){return t.open(),e.getTransactionList({},a.reportType).then(function(e){return t.close(),e})}]},views:{"content@dashboard":{templateUrl:"app/dashboard/tradeBook/tradeList.html",controller:"TradeList as vm"}},pageHeader:{subTitle:"File No",goBack:!0}})}e.$inject=["$stateProvider"],angular.module("app.dashboard.tradeBook",[]).config(e)}(),function(){"use strict";function e(e,t){e.state("dashboard.user",{url:"/user","abstract":!0,title:"User Management",views:{"content@dashboard":{template:'<div ui-view="content"></div>'}}}).state("dashboard.user.list",{url:"/all",pageHeader:{subTitle:"Manage",title:"Users"},views:{"content@dashboard.user":{templateUrl:"app/dashboard/user/allUsers.html",controller:"User as vm"}},resolve:{allUsers:["user",function(e){return e.getAllUserProfile().then(function(e){return console.log(e),e.list})}]}}).state("dashboard.user.profile",{url:"/profile/:id",title:"User Profile",views:{"content@dashboard.user":{templateUrl:"app/dashboard/user/profile/profile.html",controller:"ProfilePage as vm"}},resolve:{userProfile:["user","$stateParams",function(e,t){return"new"===t.id?e.getNewUserObj():e.getUserProfile(t.id).then(function(e){return e.user})}]}}),t.when("/user","/user/all")}e.$inject=["$stateProvider","$urlRouterProvider"],angular.module("app.dashboard.user",[]).config(e)}(),function(){"use strict";function e(e){e.state("dashboard.website",{url:"/website",title:"Website Managment",views:{"content@dashboard":{templateUrl:"app/dashboard/website/website.html",controller:"Website as vm"}},pageHeader:{subTitle:"Website",title:"Dashboard"},resolve:{dashboard:["website","loaderModal",function(e,t){return t.open(),e.getWebsiteDashboard().then(function(e){return t.close(),e.dashboardData})}]}}).state("dashboard.websiteBlog",{url:"/research",title:"Website Research",views:{"content@dashboard":{templateUrl:"app/dashboard/website/blog.html",controller:"Blog as vm"}},pageHeader:{subTitle:"Research",title:"Manager"}})}e.$inject=["$stateProvider"],angular.module("app.dashboard.website",[]).config(e)}(),function(){"use strict";angular.module("app.theme.components",[])}(),function(){"use strict";function e(e){e.state("charts",{url:"/charts","abstract":!0,template:"<div ui-view></div>",title:"Charts"})}e.$inject=["$stateProvider"],angular.module("app.widgets.charts",["app.widgets.charts.amCharts","app.widgets.charts.chartJs","app.widgets.charts.chartist","app.widgets.charts.morris"]).config(e)}(),function(){"use strict";function e(e){e.state("components",{url:"/components",template:"<ui-view></ui-view>","abstract":!0,title:"Components"})}e.$inject=["$stateProvider"],angular.module("app.widgets.components",["app.widgets.components.mail","app.widgets.components.timeline","app.widgets.components.tree"]).config(e)}(),function(){"use strict";function e(e){e.state("form",{url:"/form",template:"<ui-view></ui-view>","abstract":!0,title:"Form Elements"}).state("form.inputs",{url:"/inputs",templateUrl:"app/pages/form/inputs/inputs.html",title:"Form Inputs"}).state("form.layouts",{url:"/layouts",templateUrl:"app/pages/form/layouts/layouts.html",title:"Form Layouts"}).state("form.wizard",{url:"/wizard",templateUrl:"app/pages/form/wizard/wizard.html",controller:"WizardCtrl",controllerAs:"vm",title:"Form Wizard"})}e.$inject=["$stateProvider"],angular.module("app.widgets.form",[]).config(e)}(),function(){"use strict";function e(e){e.state("maps",{url:"/maps",templateUrl:"app/pages/maps/maps.html","abstract":!0,title:"Maps"}).state("maps.gmap",{url:"/gmap",templateUrl:"app/pages/maps/google-maps/google-maps.html",controller:"GmapPageCtrl",title:"Google Maps"}).state("maps.leaflet",{url:"/leaflet",templateUrl:"app/pages/maps/leaflet/leaflet.html",controller:"LeafletPageCtrl",title:"Leaflet Maps",sidebarMeta:{order:100}}).state("maps.bubble",{url:"/bubble",templateUrl:"app/pages/maps/map-bubbles/map-bubbles.html",controller:"MapBubblePageCtrl",title:"Bubble Maps",sidebarMeta:{order:200}}).state("maps.line",{url:"/line",templateUrl:"app/pages/maps/map-lines/map-lines.html",controller:"MapLinesPageCtrl",title:"Line Maps",sidebarMeta:{order:300}})}e.$inject=["$stateProvider"],angular.module("app.widgets.maps",[]).config(e)}(),function(){"use strict";function e(e){e.state("profile",{url:"/profile",title:"Profile",templateUrl:"app/pages/profile/profile.html",controller:"ProfilePageCtrl"})}e.$inject=["$stateProvider"],angular.module("app.widgets.profile",[]).config(e)}(),function(){"use strict";function e(e,t){e.state("tables",{url:"/tables",template:"<ui-view></ui-view>","abstract":!0,controller:"TablesPageCtrl",title:"Tables"}).state("tables.basic",{url:"/basic",templateUrl:"app/pages/tables/basic/tables.html",title:"Basic Tables",sidebarMeta:{order:0}}).state("tables.smart",{url:"/smart",templateUrl:"app/pages/tables/smart/tables.html",title:"Smart Tables",sidebarMeta:{order:100}}),t.when("/tables","/tables/basic")}e.$inject=["$stateProvider","$urlRouterProvider"],angular.module("app.widgets.tables",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui",{url:"/ui",template:"<ui-view></ui-view>","abstract":!0,title:"UI Features"})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui",["app.widgets.ui.typography","app.widgets.ui.buttons","app.widgets.ui.icons","app.widgets.ui.modals","app.widgets.ui.grid","app.widgets.ui.alerts","app.widgets.ui.progressBars","app.widgets.ui.notifications","app.widgets.ui.tabs","app.widgets.ui.slider","app.widgets.ui.panels"]).config(e)}(),function(){"use strict";function e(e){e.state("charts.amCharts",{url:"/amCharts",templateUrl:"app/pages/charts/amCharts/charts.html",title:"amCharts",sidebarMeta:{order:0}})}function t(e){var t=e.colors;AmCharts.themes.blur={themeName:"blur",AmChart:{color:t.defaultText,backgroundColor:"#FFFFFF"},AmCoordinateChart:{colors:[t.primary,t.danger,t.warning,t.success,t.info,t.primaryDark,t.warningLight,t.successDark,t.successLight,t.primaryLight,t.warningDark]},AmStockChart:{colors:[t.primary,t.danger,t.warning,t.success,t.info,t.primaryDark,t.warningLight,t.successDark,t.successLight,t.primaryLight,t.warningDark]},AmSlicedChart:{colors:[t.primary,t.danger,t.warning,t.success,t.info,t.primaryDark,t.warningLight,t.successDark,t.successLight,t.primaryLight,t.warningDark],labelTickColor:"#FFFFFF",labelTickAlpha:.3},AmRectangularChart:{zoomOutButtonColor:"#FFFFFF",zoomOutButtonRollOverAlpha:.15,zoomOutButtonImage:"lens.png"},AxisBase:{axisColor:"#FFFFFF",axisAlpha:.3,gridAlpha:.1,gridColor:"#FFFFFF"},ChartScrollbar:{backgroundColor:"#FFFFFF",backgroundAlpha:.12,graphFillAlpha:.5,graphLineAlpha:0,selectedBackgroundColor:"#FFFFFF",selectedBackgroundAlpha:.4,gridAlpha:.15},ChartCursor:{cursorColor:t.primary,color:"#FFFFFF",cursorAlpha:.5},AmLegend:{color:"#FFFFFF"},AmGraph:{lineAlpha:.9},GaugeArrow:{color:"#FFFFFF",alpha:.8,nailAlpha:0,innerRadius:"40%",nailRadius:15,startWidth:15,borderAlpha:.8,nailBorderAlpha:0},GaugeAxis:{tickColor:"#FFFFFF",tickAlpha:1,tickLength:15,minorTickLength:8,axisThickness:3,axisColor:"#FFFFFF",axisAlpha:1,bandAlpha:.8},TrendLine:{lineColor:t.danger,lineAlpha:.8},AreasSettings:{alpha:.8,color:t.info,colorSolid:t.primaryDark,unlistedAreasAlpha:.4,unlistedAreasColor:"#FFFFFF",outlineColor:"#FFFFFF",outlineAlpha:.5,outlineThickness:.5,rollOverColor:t.primary,rollOverOutlineColor:"#FFFFFF",selectedOutlineColor:"#FFFFFF",selectedColor:"#f15135",unlistedAreasOutlineColor:"#FFFFFF",unlistedAreasOutlineAlpha:.5},LinesSettings:{color:"#FFFFFF",alpha:.8},ImagesSettings:{alpha:.8,labelColor:"#FFFFFF",color:"#FFFFFF",labelRollOverColor:t.primaryDark},ZoomControl:{buttonFillAlpha:.8,buttonIconColor:t.defaultText,buttonRollOverColor:t.danger,buttonFillColor:t.primaryDark,buttonBorderColor:t.primaryDark,buttonBorderAlpha:0,buttonCornerRadius:0,gridColor:"#FFFFFF",gridBackgroundColor:"#FFFFFF",buttonIconAlpha:.6,gridAlpha:.6,buttonSize:20},SmallMap:{mapColor:"#000000",rectangleColor:t.danger,backgroundColor:"#FFFFFF",backgroundAlpha:.7,borderThickness:1,
  borderAlpha:.8},PeriodSelector:{color:"#FFFFFF"},PeriodButton:{color:"#FFFFFF",background:"transparent",opacity:.7,border:"1px solid rgba(0, 0, 0, .3)",MozBorderRadius:"5px",borderRadius:"5px",margin:"1px",outline:"none",boxSizing:"border-box"},PeriodButtonSelected:{color:"#FFFFFF",backgroundColor:"#b9cdf5",border:"1px solid rgba(0, 0, 0, .3)",MozBorderRadius:"5px",borderRadius:"5px",margin:"1px",outline:"none",opacity:1,boxSizing:"border-box"},PeriodInputField:{color:"#FFFFFF",background:"transparent",border:"1px solid rgba(0, 0, 0, .3)",outline:"none"},DataSetSelector:{color:"#FFFFFF",selectedBackgroundColor:"#b9cdf5",rollOverBackgroundColor:"#a8b0e4"},DataSetCompareList:{color:"#FFFFFF",lineHeight:"100%",boxSizing:"initial",webkitBoxSizing:"initial",border:"1px solid rgba(0, 0, 0, .3)"},DataSetSelect:{border:"1px solid rgba(0, 0, 0, .3)",outline:"none"}}}e.$inject=["$stateProvider"],t.$inject=["baConfigProvider"],angular.module("app.widgets.charts.amCharts",[]).config(e).config(t)}(),function(){"use strict";function e(e){e.state("charts.chartJs",{url:"/chartJs",templateUrl:"app/pages/charts/chartJs/chartJs.html",title:"Chart.js",sidebarMeta:{order:200}})}function t(e,t){var a=t.colors;e.setOptions({colours:[a.primary,a.danger,a.warning,a.success,a.info,a["default"],a.primaryDark,a.successDark,a.warningLight,a.successLight,a.primaryLight],responsive:!0,scaleFontColor:a.defaultText,scaleLineColor:a.border,pointLabelFontColor:a.defaultText}),e.setOptions("Line",{datasetFill:!1})}e.$inject=["$stateProvider"],t.$inject=["ChartJsProvider","baConfigProvider"],angular.module("app.widgets.charts.chartJs",[]).config(e).config(t)}(),function(){"use strict";function e(e){e.state("charts.chartist",{url:"/chartist",templateUrl:"app/pages/charts/chartist/chartist.html",title:"Chartist",sidebarMeta:{order:100}})}e.$inject=["$stateProvider"],angular.module("app.widgets.charts.chartist",[]).config(e)}(),function(){"use strict";function e(e){e.state("charts.morris",{url:"/morris",templateUrl:"app/pages/charts/morris/morris.html",title:"Morris",sidebarMeta:{order:300}})}e.$inject=["$stateProvider"],angular.module("app.widgets.charts.morris",[]).config(e).config(["baConfigProvider",function(e){var t=e.colors;Morris.Donut.prototype.defaults.backgroundColor="transparent",Morris.Donut.prototype.defaults.labelColor=t.defaultText,Morris.Grid.prototype.gridDefaults.gridLineColor=t.borderDark,Morris.Grid.prototype.gridDefaults.gridTextColor=t.defaultText}])}(),function(){"use strict";function e(e,t){e.state("components.mail",{url:"/mail","abstract":!0,templateUrl:"app/pages/components/mail/mail.html",controller:"MailTabCtrl",controllerAs:"tabCtrl",title:"Mail",sidebarMeta:{order:0}}).state("components.mail.label",{url:"/:label",templateUrl:"app/pages/components/mail/list/mailList.html",title:"Mail",controller:"MailListCtrl",controllerAs:"listCtrl"}).state("components.mail.detail",{url:"/:label/:id",templateUrl:"app/pages/components/mail/detail/mailDetail.html",title:"Mail",controller:"MailDetailCtrl",controllerAs:"detailCtrl"}),t.when("/components/mail","/components/mail/inbox")}e.$inject=["$stateProvider","$urlRouterProvider"],angular.module("app.widgets.components.mail",[]).config(e)}(),function(){"use strict";function e(e){e.state("components.timeline",{url:"/timeline",templateUrl:"app/pages/components/timeline/timeline.html",title:"Timeline",sidebarMeta:{icon:"ion-ios-pulse",order:100}})}e.$inject=["$stateProvider"],angular.module("app.widgets.components.timeline",[]).config(e)}(),function(){"use strict";function e(e){e.state("components.tree",{url:"/tree",templateUrl:"app/pages/components/tree/tree.html",title:"Tree View",sidebarMeta:{order:200}})}e.$inject=["$stateProvider"],angular.module("app.widgets.components.tree",[]).config(e).config(function(){$.jstree.defaults.core.themes.url=!0,$.jstree.defaults.core.themes.dir="assets/img/theme/vendor/jstree/dist/themes"})}(),function(){"use strict";function e(e){e.state("ui.alerts",{url:"/alerts",templateUrl:"app/pages/ui/alerts/alerts.html",title:"Alerts",sidebarMeta:{order:500}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.alerts",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui.buttons",{url:"/buttons",templateUrl:"app/pages/ui/buttons/buttons.html",controller:"ButtonPageCtrl",title:"Buttons",sidebarMeta:{order:100}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.buttons",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui.grid",{url:"/grid",templateUrl:"app/pages/ui/grid/grid.html",title:"Grid",sidebarMeta:{order:400}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.grid",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui.icons",{url:"/icons",templateUrl:"app/pages/ui/icons/icons.html",controller:"IconsPageCtrl",title:"Icons",sidebarMeta:{order:200}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.icons",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui.modals",{url:"/modals",templateUrl:"app/pages/ui/modals/modals.html",controller:"ModalsPageCtrl",title:"Modals",sidebarMeta:{order:300}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.modals",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui.notifications",{url:"/notifications",templateUrl:"app/pages/ui/notifications/notifications.html",controller:"NotificationsPageCtrl",title:"Notifications",sidebarMeta:{order:700}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.notifications",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui.panels",{url:"/panels",templateUrl:"app/pages/ui/panels/panels.html",controller:"NotificationsPageCtrl",title:"Panels",sidebarMeta:{order:1100}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.panels",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui.progressBars",{url:"/progressBars",templateUrl:"app/pages/ui/progressBars/progressBars.html",title:"Progress Bars",sidebarMeta:{order:600}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.progressBars",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui.slider",{url:"/slider",templateUrl:"app/pages/ui/slider/slider.html",title:"Sliders",sidebarMeta:{order:1e3}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.slider",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui.tabs",{url:"/tabs",templateUrl:"app/pages/ui/tabs/tabs.html",title:"Tabs & Accordions",sidebarMeta:{order:800}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.tabs",[]).config(e)}(),function(){"use strict";function e(e){e.state("ui.typography",{url:"/typography",templateUrl:"app/pages/ui/typography/typography.html",title:"Typography",sidebarMeta:{order:0}})}e.$inject=["$stateProvider"],angular.module("app.widgets.ui.typography",[]).config(e)}(),function(){"use strict";function e(e,t){function a(){n.username="",n.password="",n.login=i}function i(t,a,i){t.$valid&&e.login(t,a,i)}var n=this;a()}e.$inject=["authentication","$state"],angular.module("app.authentication").controller("Authentication",e)}(),function(){"use strict";function e(e,t,a,i,n){function s(){c.completeReport=e,c.shipmentTracking=e.trackingData,c.allArrived=_.filter(c.shipmentTracking,function(e){return e.destinationReached}),c.refreshCurrentDollarRate=r,c.goToCurrencyDashboard=A,c.invertSideBar=l,o()}function o(){}function r(){}function l(e){console.log("hello"),a.setMenuCollapsed(e)}function A(e,a){t.go("dashboard.currencyExchange.dashboard",{currencyIn:e,currencyOut:a})}function d(){L.Icon.Default.imagePath="assets/img/theme/vendor/leaflet/dist/images";var e=L.map(document.getElementById("leaflet-map"),{zoomControl:!0}).setView([24.8,67],2);L.tileLayer("http://{s}.tile.osm.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(e),_.forEach(c.shipmentTracking,function(t){console.log(t);var a=n("latLong")(t.latitude),i=n("latLong")(t.longitude);L.marker([i,a]).addTo(e).bindPopup('<div class="cursor-pointer" onclick="goToTransactionView('+t.fileId+')"><div class="fileId">File Id <a>'+t.fileId+'</a></div><div class="contractId">Contract Id <a>'+t.contractId+'</a></div><div class="seller">Seller <a>'+t.seller+'</a></div></div><div class="seller">Product <a>'+t.product+'</a></div></div><div class="buyer">Buyer <a>'+t.buyer+'</a></div></div><div class="blNo">Shipping Line <a>'+(t.shippingLine?t.shippingLine:"NA")+'</a></div><div class="blNo">B/L No. <a>'+(t.bl?t.bl:"NA")+'</a></div><div class="vessel">Vessel Name <a>'+(t.vesselName?t.vesselName:"NA")+'</a></div></div><div class="dest">Destination <a>'+t.portDestination+'</a></div></div><div class="cont">Containers <a>'+t.containers+"</a></div></div>")})}var c=this;s(),i(function(){d()},100)}e.$inject=["completeReport","$state","baSidebarService","$timeout","$filter"],angular.module("app.dashboard").controller("Dashboard",e)}(),function(){"use strict";function e(e,t,a,i){function n(e){console.info("This is a test function")}var s=this;s.confirm=!1,s.name=t,s.type=a,s.action=i,s.testFunction=n,s.ok=function(){s.confirm=!0,e.close(s.confirm)},s.cancel=function(){s.confirm=!1,e.close(s.confirm)}}e.$inject=["$modalInstance","name","type","action"],angular.module("app.modal").controller("AlertModal",e)}(),function(){"use strict";function e(e,t,a,i){function n(){r.passwordDetails={newPassword:"",confirmPassword:"",userId:e},r.inputFields=a,r.submitChangePassword=s}function s(e){console.log(e),e.$valid&&i.changePasswordForUser(r.passwordDetails).then(function(e){e.data.success,t.close()})}function o(e){console.info("This is a test function")}var r=this;n(),r.testFunction=o}e.$inject=["userId","$modalInstance","inputFields","setup"],angular.module("app.modal").controller("ChangePasswordModal",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){}o()}e.$inject=["appFormats","utilities","$filter","loaderModal","$stateParams","currencyExchange"],angular.module("app.dashboard.accounts").controller("AccountDashboard",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r){function l(){u.appFormats=r,u.possibleBPTypes=a,u.buyerContractTypes=i,u.businessPartner={},u.editMode=!1,u.singleConfig=n,u.saveBusinessPartner=d,u.updateBusinessPartner=c,A()}function A(){t.operation?s.getBusinessPartner()?(u.businessPartner.general=s.getBusinessPartner().gen[0],u.editMode=!0):o.go("shell.businessPartner.view",{id:t.id}):u.businessPartner.general={bp_Name:"",bp_website:"",bp_isBuyer:!1,bp_isSupplier:!1,bp_isBroker:!1,bp_isShipper:!1,bp_onDoniContact:!1,bp_credibilityIndex:0,bp_country:"",bp_address:""}}function d(){if(u.businessPartnerForm.$invalid)e.error("Incorrect fields entered","Error");else{var t=u.businessPartner.general;if(console.log(t),!(t.bp_isBroker||t.bp_isShipper||t.bp_isBuyer||t.bp_isSeller))return void e.error("Business partner should have one type","Error");s.addBusinessPartner(u.businessPartner.general,function(e){e.success&&o.go("shell.businessPartner.view",{id:e.data})})}}function c(){if(u.businessPartnerForm.$invalid)e.error("Incorrect fields entered","Error");else{var t=u.businessPartner.general;if(console.log(t),!(t.bp_isBroker||t.bp_isShipper||t.bp_isBuyer||t.bp_isSeller))return void e.error("Business partner should have one type","Error");s.updateBusinessPartner(u.businessPartner.general,function(e){e.success&&o.go("shell.businessPartner.view",{id:u.businessPartner.general.bp_ID})})}}var u=this;l()}e.$inject=["toastr","$stateParams","bpTypes","contractTypes","originConfig","businessPartner","$state","appFormats"],angular.module("app.dashboard.businessPartner").controller("AddBusinessPartner",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l,A,d,c,u){function p(){q.showForm=!1,q.selectedBPTypes=[],q.selectedOrigin=[],q.bpToRemove=[],q.searchBusinessPartner="",q.goToBusinessReport=P,q.allBusiness=A.list,q.allBusinessCount=A.count,console.log(A),q.cancel=H,q.onBpTypesSelectedChanged=N,q.onCountrySelectedChanged=Q,q.addBusinessPartner=U,q.editBusinessPartner=G,q.addBusinessContact=S,q.addBusinessBank=T,q.addContactPerson=E,q.addBusinessAddress=B,q.isPrimaryChange=x,q.deleteBusinessPartner=m,q.removeBusinessLocation=F,q.removeBusinessBank=L,q.removeContactPerson=M,q.removeBusinessContact=O,q.removeBusinessBank=L,q.onCountryDropDownChange=k,q.userData=e.getUserData().data,q.deleteRights=q.userData.businessAdmin,q.uploadBusinessLogo=j,q.removeBusinessLogo=z,q.getFile=W,q.tableHeadings=[{name:"Name",stSort:"",stPlaceholder:""},{name:"Contact Person",stSort:"bp_Cont_fullName",stPlaceholder:""},{name:"Origin",stSort:"bp_Cont_fullName",stPlaceholder:""},{name:"Type",stSort:"bp_Cont_fullName",stPlaceholder:""},{name:"Last Transaction On",stSort:"bp_Cont_fullName",stPlaceholder:""},{name:"Actions"}],q.saveBusiness=b,q.onSaveBusinessCallBack=h,q.onSaveBusinessBank=v,q.saveBusinessLocations=f,q.saveBusinessContactPersons=w,q.saveBusinessContactNumbers=y,q.saveBusinessBanks=C,q.onBpTypesSelectedChanged=N,q.onCountrySelectedChanged=Q,q.setCurrentIndex=g,q.alphabet="abcdefghijklmnopqrstuvwxyz".toUpperCase().split(""),q.currentIndex=n.getBusinessPartnerListIndex(),"dashboard.businessPartner.form"===t.current.name&&("new"===a.id?(q.business=n.getNewBusinessObj(),q.businessLogo=o("businessLogo")(q.business.logo)):(c.open(),n.getBusinessComplete(a.id).then(function(e){q.business=angular.copy(e.business),c.close(),q.businessLogo=o("businessLogo")(q.business.logo)}))),q.countryConfig={},q.bankCountryConfig={},q.countryOptions={},q.stateConfig={},q.cityConfig={},q.bpTypeConfig={},q.bpTypeOptions={},q.contactTypeConfig={},q.contactTypeOptions={},s.prepareByTypesDropDown(q.bpTypeConfig,q.bpTypeOptions),s.prepareContactNumberTypeDropDown(q.contactTypeConfig,q.contactTypeOptions),s.prepareCountryDropDown(q.countryConfig,q.countryOptions,k,1),s.prepareCountryDropDown(q.bankCountryConfig,q.countryOptions,D,1),s.prepareRegionDropDown(q.stateConfig,null,null,I),s.prepareCityDropDown(q.cityConfig,null,null,null,1)}function m(e){n.deleteBusinessPartner(e.bpId).then(function(t){if(t.success){var a=_.findIndex(q.allBusiness,function(t){return t.bp_id===e.bp_id});q.allBusiness.splice(a,1),d.success(t.message)}else d.error(t.message)})}function g(e){c.open(),q.currentIndex=e,n.getBusinessPartnerList(q.currentIndex).then(function(e){c.close(),q.allBusiness=e.businessList.list,q.allBusinessCount=e.businessList.count,n.setBusinessPartnerListIndex(q.currentIndex),R()})}function v(e){t.go("dashboard.businessPartner")}function h(e){q.business.bpId=e.bpId}function b(e,t,a){return t.bpId?n.updateBusinessBasic(e,t):n.addBusinessBasic(e,t)}function f(e){var t=angular.copy(e.locations);if(angular.forEach(t,function(e,t){delete e.stateOptions,delete e.cityOptions}),0===e.locations.length){d.error("Business must have atleast one locations");var a=i.defer();return a.promise}return n.saveBusinessLocations(e.bpId,t)}function w(e){var t=angular.copy(e.contactPersons);return n.saveBusinessContactPersons(e.bpId,t)}function y(e){var t=angular.copy(e.contacts);return n.saveBusinessContacts(e.bpId,t)}function C(e){console.log("hello");var t=angular.copy(e.banks);return n.saveBusinessBanks(e.bpId,t)}function I(e){e&&angular.forEach(q.business.locations,function(t,a){t.state===e&&(""===e?t.city=null:s.prepareCityDropDown(null,t.cityOptions,t.country,e))})}function D(e){e&&angular.forEach(q.business.banks,function(t,a){t.accountCountry===e&&(t.cityOptions.list=[],""===e?t.city=null:s.prepareCityDropDown(null,t.cityOptions,e,null))})}function k(e){e?angular.forEach(q.business.locations,function(t,a){t.country===e&&(t.stateOptions.list=[],""===e?t.state=null:(s.prepareRegionDropDown(null,t.stateOptions,e,null),s.prepareCityDropDown(null,t.cityOptions,e,null)))}):location.state=""}function x(e,t,a,i){a?a&&(angular.forEach(e,function(e,t){e[i]=!1}),t[i]=!0):(d.error("One instance must be primary"),t[i]=!0)}function P(e){t.go("dashboard.businessPartner.report",{id:e})}function B(e){e.locations.push(n.getNewBusinessAddressObj(e))}function T(e){e.banks.push(n.getNewBusinessBankObj())}function E(e){e.contactPersons.push(n.getNewBusinessContactPersonObj())}function S(e){e.contacts.push(n.getNewBusinessContactObj())}function F(e,t){var a=e.indexOf(t);e.splice(a,1),1==e.length&&(e[0].isPrimary=!0)}function M(e,t){var a=e.indexOf(t);e.splice(a,1),1==e.length&&(e[0].isPrimary=!0)}function O(e,t){var a=e.indexOf(t);e.splice(a,1)}function L(e,t){var a=e.indexOf(t);e.splice(a,1)}function N(e){q.selectedBPTypes=_.map(e,"id"),R()}function Q(e){q.selectedOrigin=_.map(e,"code"),R()}function R(){q.businessToRemove=[],angular.forEach(q.allBusiness,function(e,t){var a=_.intersection(q.selectedBPTypes,e.bpTypeId),i=!1;i=i||0==a.length,i=i||q.selectedOrigin.indexOf(e.countryCode)<=-1,i&&q.businessToRemove.push(e.bpId)})}function j(){var e=document.getElementById("uploadBusinessLogo");u(function(){e.click()})}function z(){q.business.logo=null,q.imagesData=null,q.businessLogo=o("businessLogo")(q.business.logo)}function W(e){r.getFile(e,l,null,null,null,function(e){q.businessLogo=e.croppedImage,q.imagesData=e})}function U(){t.go("dashboard.businessPartner.form",{id:"new"})}function G(e){t.go("dashboard.businessPartner.form",{id:e.bpId})}function H(){t.go("dashboard.businessPartner")}var q=this;p()}e.$inject=["authentication","$state","$stateParams","$q","businessPartner","dropDownConfig","$filter","deModal","$scope","allBusiness","toastr","loaderModal","$timeout"],angular.module("app.dashboard.businessPartner").controller("BusinessPartner",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){A.onDateRangeChanged=r,A.chartValues=["value"],A.chartType="line",A.currencyDashboardData={},A.graphData=[],A.showGraph=!0,A.dateRange=t.initialDateRange(),r(A.dateRange,!0)}function r(e,t){A.dateRange=e,l(e,n.currencyIn,n.currencyOut)}function l(e,a,n){A.showGraph=!1,i.open(),s.getDashboardData(e,a,n).then(function(e){e.success&&(A.currencyDashboardData=e.data,A.graphData=t.prepareGraphData(A.currencyDashboardData.graphData),console.log(A.graphData),A.showGraph=!0,i.close())})}var A=this;o()}e.$inject=["appFormats","utilities","$filter","loaderModal","$stateParams","currencyExchange"],angular.module("app.dashboard.currencyExchange").controller("CurrencyDashboard",e)}(),function(){"use strict";function e(e){function t(){n.documentContent="",n.exportDocumentToPDF=i,n.createA4Document=a}function a(t){e.createA4Document()}function i(){var e=document.getElementById("document");html2canvas(e,{onrendered:function(e){console.log(e);var t=e.toDataURL(),a={content:[{image:t,width:500}]};pdfMake.createPdf(a).download("Score_Details.pdf")}})}var n=this;t()}e.$inject=["documentExporter"],angular.module("app.dashboard.documentCreator").controller("DocumentCreator",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){r.dashboardColors=t,r.dashboardData=e,r.allWarehouses=r.dashboardData.allWarehouse}var r=this;o()}e.$inject=["dashboardData","baConfig","utilities","$filter","loaderModal","$stateParams"],angular.module("app.dashboard.inventory").controller("InventoryDashboard",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l,A){function d(){v.isNew="new"===i.id,v.totalWeight=0,v.appFormats=t,v.productConfig={},v.productOptions={},v.warehouseConfig={},v.warehouseOptions={},v.businessConfig={},v.businessOptions={},l.prepareWarehouseDropDown(v.warehouseConfig,v.warehouseOptions),l.prepareBusinessDropDown(v.businessConfig,v.businessOptions,"Local Trader"),l.prepareProductDropDown(v.productConfig,v.productOptions),v.inventoryRecordId=i.id,v.inventoryRecord=e,v.getNewInventoryTruckObj=a.getNewInventoryTruckObj,v.saveTruckInInventoryRecord=a.saveTruckInInventoryRecord,v.saveInventoryRecord=u,v.inventoryTruckCallback=m,v.removeTruck=c,v.cancel=g,A.$watch("vm.inventoryRecord.trucks",function(e,t){v.totalWeight=_.sumBy(e,function(e){return parseFloat(e.weightInKg)})},!0)}function c(e,t){var a=v.inventoryRecord.trucks.indexOf(e);t.removedTrucks=t.removedTrucks?t.removedTrucks:[],"new"!==e.id&&t.removedTrucks.push(e.id),v.inventoryRecord.trucks.splice(a,1)}function u(e,t){if(e.$valid)if(0===t.trucks.length)n.error("Please enter atleast one truck detail!","Error");else{o.open();var i=v.isNew?a.createInventoryRecord:a.updateInventoryRecord;i(t).then(p)}else console.log(e),n.error("Please enter missing fields","Error")}function p(e){e.success?(n.success(e.message,"Success"),r.go("dashboard.inventory.inventoryTransactions")):n.error(e.message,"Error"),o.close()}function m(e){if("new"===e.id)v.inventoryRecord.trucks.push(e);else{var t=_.find(v.inventoryRecord.trucks,function(t){return t.id===e.id}),a=v.inventoryRecord.trucks.indexOf(t);v.inventoryRecord.trucks[a]=e}}function g(){r.go("dashboard.inventory.inventoryTransactions")}var v=this;d()}e.$inject=["inventoryRecord","appFormats","inventory","$stateParams","toastr","$filter","loaderModal","$state","dropDownConfig","$scope"],angular.module("app.dashboard.inventory").controller("InventoryTransactionForm",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){m.appFormats=e,m.inventoryRecords=[],m.filteredRecords=[],m.selectedProductID=[],m.selectedWarehouseID=[],m.selectedLocalTraderID=[],m.weightInFlow=0,m.weightOutFlow=0,m.trucksInFlow=0,m.trucksOutFlow=0,m.weightDifferance=0,m.editRecord=p,m.dateRange=t.initialDateRange(30),m.onDateRangeChanged=u,m.onWarehouseSelectedChanged=c,m.onProductsSelectedChanged=d,m.onLocalTradeSelectedChanged=A,u(m.dateRange,!0)}function r(e,t){var i=[];t?m.filteredRecords=e:angular.forEach(e,function(t,n){var s=!1;s=m.selectedProductID.indexOf(t.product__id)<=-1,s=s||m.selectedWarehouseID.indexOf(t.warehouse__id)<=-1,s=s||m.selectedLocalTraderID.indexOf(t.transaction_business__bp_id)<=-1,s&&i.push(t.id),m.filteredRecords=a("selectedRows")(e,i,"id")}),l(m.filteredRecords)}function l(e){m.weightInFlow=0,m.weightOutFlow=0,m.trucksInFlow=0,m.trucksOutFlow=0,m.weightDifferance=0,_.forEach(e,function(e){e.positive?(m.weightInFlow+=e.total_weight_in_kgs,m.trucksInFlow+=e.total_trucks):(m.weightOutFlow+=e.total_weight_in_kgs,m.trucksOutFlow+=e.total_trucks),m.weightDifferance=m.weightInFlow-m.weightOutFlow})}function A(e,t){m.selectedLocalTraderID=_.map(e,"id"),t||r(m.inventoryRecords)}function d(e,t){m.selectedProductID=_.map(e,"id"),t||r(m.inventoryRecords)}function c(e,t){m.selectedWarehouseID=_.map(e,"id"),t||r(m.inventoryRecords)}function u(e,t){s.open(),n.getInventoryRecordList(e).then(function(e){s.close(),m.inventoryRecords=e.list,r(m.inventoryRecords,t)})}function p(e){i.go("dashboard.inventory.inventoryTransactionForm",{id:e})}var m=this;o()}e.$inject=["appFormats","utilities","$filter","$state","inventory","loaderModal"],angular.module("app.dashboard.inventory").controller("InventoryTransactions",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){d.appFormats=e,d.warehouseObj=s,d.editWarehouseDetails=A,d.changeCurrentWarehouseRent=t.changeCurrentWarehouseRent,d.onrentSaveCallBack=l,d.backToWarehouseList=r}function r(){n.go("dashboard.inventory.warehouses")}function l(e){d.warehouseObj.rentList=e.rentList}function A(e){n.go("dashboard.inventory.warehousesForm",{id:e})}var d=this;o()}e.$inject=["appFormats","inventory","$filter","loaderModal","$state","warehouseObj"],angular.module("app.dashboard.inventory").controller("WarehousesDetails",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o){function r(){d.isNew="new"===s.id,d.warehouseObj=t,d.saveWarehouse=A,d.cancel=l}function l(){a.go("dashboard.inventory.warehouses")}function A(e,t,s){if(t.$valid){n.open();var r=e?i.createWarehouse:i.updateWarehouse;r(s).then(function(e){e.success?o.success(e.message):o.error(e.message,"Error"),n.close(),a.go("dashboard.inventory.warehouseDetails",{id:e.id})})}else o.error("Please enter missing or incorrect fields! ","Error")}var d=this;r()}e.$inject=["appFormats","warehouseObj","$state","inventory","loaderModal","$stateParams","toastr"],angular.module("app.dashboard.inventory").controller("WarehouseForm",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){A.allWarehouses=s,A.goToWarehouseDetails=r,A.goToWarehouseReport=l}function r(e){n.go("dashboard.inventory.warehouseDetails",{id:e})}function l(e){}var A=this;o()}e.$inject=["appFormats","utilities","$filter","loaderModal","$state","allWarehouses"],angular.module("app.dashboard.inventory").controller("WarehousesLotReport",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){l.warehouseId=a,l.saveNewCurrentRent=r}function r(e,a,s){e.$valid?n.saveNewWarehouseRent(a,s).then(function(e){e.success?(i.success(e.message),t.close(e)):i.error(e.message)}):i.error("Please enter missing fields","Error")}var l=this;o()}e.$inject=["$scope","$uibModalInstance","warehouseId","toastr","inventory","callback"],angular.module("app.dashboard.inventory").controller("WarehousesRentForm",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){l.allWarehouses=s,l.goToWarehouseDetails=r}function r(e){n.go("dashboard.inventory.warehouseDetails",{id:e})}var l=this;o()}e.$inject=["appFormats","utilities","$filter","loaderModal","$state","allWarehouses"],angular.module("app.dashboard.inventory").controller("Warehouses",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){A.dateRange=i.initialDateRange(30),A.allTransactions=[],A.columnHeader=[],l(A.dateRange,!0)}function r(e,t){}function l(t,a){s.open(),e.getTransactionList(t,"localTradeBook").then(function(e){e.success&&(A.allTransactions=e.transactions,A.columnHeader=e.columnHeader,console.log(A.allTransactions),r(A.allTransactions,a),s.close())})}var A=this;o()}e.$inject=["localTradeBook","documentExporter","appFormats","utilities","$filter","loaderModal"],angular.module("app.dashboard.localTradeBook").controller("LocalTradeBook",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l,A){function d(){P.hidePaging=!1,P.unpagedView=u,P.currentPage=1,P.itemsPerPage=10,P.appConstants=l,P.exportToExcel=x,P.exportToPDF=k,P.addNewManifestItem=D,P.editManifestItem=w,P.saveManifestItem=y,P.onDateRangeChanged=b,P.onBuyersSelectedChanged=g,P.onSellersSelectedChanged=v,P.onProductsSelectedChanged=h,P.deleteManifestItem=C,P.pageChanged=c,P.cancel=I,P.quantityMetricConfig={},P.quantityMetricOptions={},P.productConfig={},P.productOptions={},P.buyerConfig={},P.buyerOptions={},P.sellerConfig={},P.sellerOptions={},P.selectedBuyerID=[],P.selectedSellerID=[],P.selectedProductID=[],P.dateRange=n.lastThirtyDaysDateRange(),o.preparePriceMetricConfig(P.quantityMetricConfig,P.quantityMetricOptions),o.prepareProductDropDown(P.productConfig,P.productOptions),o.prepareBusinessDropDown(P.buyerConfig,P.buyerOptions,"Buyer"),o.prepareBusinessDropDown(P.sellerConfig,P.sellerOptions,"Seller"),P.allManifestItems=[],P.allManifestList=[],P.displayList=[],P.columnHeader=["Date","Buyer","Seller","Product","Quantity(FCL)","Container No."],P.columnKeys=["date","buyerName","sellerName","productName","quantity","containerNo"],f(P.dateRange)}function c(){p(P.currentPage,P.allManifestList,P.itemsPerPage)}function u(e,t){P.hidePaging=!t,P.displayList=P.hidePaging?e:P.pagedData}function p(e,t,a){P.totalItems=t.length,P.currentPage=e,P.pagedData=t.slice((e-1)*a,e*a),P.displayList=P.pagedData}function m(){P.currentPage=1,P.manifestItemsToRemove=[],angular.forEach(P.allManifestItems,function(e,t){var a;a=P.selectedBuyerID.indexOf(e.buyerId)<=-1||P.selectedSellerID.indexOf(e.sellerId)<=-1,a=a||P.selectedProductID.indexOf(e.productId)<=-1,a&&P.manifestItemsToRemove.push(e.id)}),P.allManifestList=a("selectedRows")(P.allManifestItems,P.manifestItemsToRemove,"id"),P.totalQuantity=_.sumBy(P.allManifestList,function(e){return e.quantity}),P.hidePaging||p(P.currentPage,P.allManifestList,P.itemsPerPage)}function g(e,t){P.selectedBuyerID=_.map(e,"id"),t||m()}function v(e,t){P.selectedSellerID=_.map(e,"id"),t||m()}function h(e,t){P.selectedProductID=_.map(e,"id"),t||m()}function b(e){P.currentPage=1,P.dateRange=e,f(e)}function f(e){i.open(),s.getAllManifestItems(e).then(function(e){P.allManifestItems=e.manifestItems,P.allManifestList=angular.copy(P.allManifestItems),P.totalQuantity=_.sumBy(P.allManifestList,function(e){return e.quantity}),p(P.currentPage,P.allManifestList,P.itemsPerPage),i.close()},function(e){i.close()})}function w(e){P.manifestItem=e,P.showForm=!0}function y(e,t,a){t.$valid?e.id?s.updateManifestItem(e).then(function(t){if(t.success){var a=P.allManifestItems.indexOf(e);P.allManifestItems[a]=t.item,r.success(t.message),P.showForm=!1}else r.error(t.message)}):s.addManifestItem(e).then(function(i){i.success&&(r.success(i.message),a?(P.manifestItem=s.getNewManifestItemObj(e.date),n.resetFormValidation(t)):P.cancel())}):r.error("Please enter required missing fields.")}function C(e){s.deleteManifestItem(e.id).then(function(t){if(t.success){var a=P.allManifestItems.indexOf(e);P.allManifestItems.splice(a,1),r.success(t.message)}else r.error(t.message)})}function I(){P.showForm=!1,e.transitionTo(e.current,t,{reload:!0,inherit:!1,notify:!0})}function D(){P.showForm=!0,P.manifestItem=s.getNewManifestItemObj()}function k(e){A.printPDF(angular.copy(P.columnHeader),angular.copy(P.columnKeys),e)}function x(e,t){A.getTableInExcelSheet(angular.copy(P.columnHeader),angular.copy(P.columnKeys),e,"Manifest")}var P=this;d()}e.$inject=["$state","$stateParams","$filter","loaderModal","utilities","manifest","dropDownConfig","toastr","appConstants","documentExporter"],angular.module("app.dashboard.manifest").controller("Manifest",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){m.graphData=[],m.chartValues=["quantity"],m.selectedBuyerID=[],m.selectedSellerID=[],m.selectedProductID=[],m.dateRange=n.lastThirtyDaysDateRange(),m.transparent=a.theme.blur,m.dashboardColors=a,m.onDateRangeChanged=u,m.goToManifestItems=c,m.onBuyersSelectedChanged=l,m.onSellersSelectedChanged=A,m.onProductsSelectedChanged=d,u(m.dateRange)}function r(){$(".chart").each(function(){var e=$(this);e.easyPieChart({easing:"easeOutBounce",onStep:function(e,t,a){$(this.el).find(".percent").text(Math.round(a))},barColor:e.attr("rel"),trackColor:"rgba(0,0,0,0)",size:84,scaleLength:0,animation:2e3,lineWidth:9,lineCap:"round"})})}function l(e,t){m.selectedBuyerID=_.map(e,"id"),t||p(m.dateRange,m.selectedBuyerID,m.selectedSellerID,m.selectedProductID)}function A(e,t){m.selectedSellerID=_.map(e,"id"),t||p(m.dateRange,m.selectedBuyerID,m.selectedSellerID,m.selectedProductID)}function d(e,t){m.selectedProductID=_.map(e,"id"),t||p(m.dateRange,m.selectedBuyerID,m.selectedSellerID,m.selectedProductID)}function c(){e.go("dashboard.manifest")}function u(e){m.dateRange=e,p(e,m.selectedBuyerID,m.selectedSellerID,m.selectedProductID)}function p(e,a,o,l){s.open(),m.showCharts=!1,i.getManifestDashboardReport(e,a,o,l).then(function(e){m.graphData=n.prepareGraphData(e.graphData),m.sumData=e.sumData,m.showCharts=!0,t(function(){r()},100),s.close()})}var m=this;o()}e.$inject=["$state","$timeout","baConfig","manifest","utilities","loaderModal"],angular.module("app.dashboard.manifest").controller("ManifestDashboard",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){A.onDateRangeChanged=r,A.chartValues=["importVolume","intUsdPmt","intPkrPkg","localPkrPkg","localUsdPmt"],A.chartType="line",A.priceAnalyticsData={},A.graphData=[],A.showGraph=!0,A.dateRange=t.initialDateRange(),r(A.dateRange)}function r(e){A.dateRange=e,l(e,n.productItemId)}function l(e,a){A.showGraph=!1,i.open(),s.getProductPricingAnalytics(e,a).then(function(e){i.close(),e.success&&(A.priceAnalyticsData=e.data,console.log(A.priceAnalyticsData.graphData),A.graphData=t.prepareGraphData(A.priceAnalyticsData.graphData),A.totalVolume=A.priceAnalyticsData.totalVolume,A.showGraph=!0)})}var A=this;o()}e.$inject=["appFormats","utilities","$filter","loaderModal","$stateParams","pricing"],angular.module("app.dashboard.pricing").controller("PriceAnalytics",e)}(),function(){"use strict";function e(e,t,a,i,n,s){
  function o(){m.isNewPriceMarket="new"===i.id,m.showForm=!1,m.allMarkets=e,m.isInternational=!0,m.currencyConfig={},m.currencyOptions={},m.countryConfig={},m.countryOptions={},m.addPriceMarket=r,m.editPriceMarket=l,t.prepareCountryDropDown(m.countryConfig,m.countryOptions,1),t.prepareCurrencyDropDown(m.currencyConfig,m.currencyOptions),m.onInternationalChange=d,m.addNewPriceMarket=u,m.updatePriceMarket=p,m.cancelPriceMarket=c}function r(){m.showForm=!1,m.priceMarket=a.getNewPriceMarkets(),m.showForm=!0}function l(e){m.showForm=!1,m.priceMarket=e,m.showForm=!0}function A(e,t,a){if(e.success){if(a){var i=e.obj,s=_.find(m.allMarkets,function(e){return e.id==i.id}),o=_.indexOf(m.allMarkets,s);m.allMarkets[o]=i,m.showForm=!1}else m.allMarkets.push(e.obj),m.showForm=!1;n.success(t)}else n.error(e.message)}function d(e,t){e&&(t.country=null)}function c(){m.priceMarket={},m.showForm=!1}function u(e){a.addPriceMarket(e,A)}function p(e){a.updatePriceMarket(e,A)}var m=this;o()}e.$inject=["allMarkets","dropDownConfig","pricing","$stateParams","toastr","$state"],angular.module("app.dashboard.pricing").controller("PriceMarket",e)}(),function(){"use strict";function e(e,t,a,i){function n(){d.allProductPriceSummary=t,d.appConstants=a,d.appFormats=i,d.selectedProductID=[],d.selectedCountry=[],d.addProductPricing=A,d.onProductsSelectedChanged=r,d.onCountrySelectedChanged=l,d.productPriceReport=s}function s(t){e.go("dashboard.pricing.priceAnalytics",{productItemId:t})}function o(){d.priceSummaryToRemove=[],angular.forEach(d.allProductPriceSummary,function(e,t){var a=!1;a=a||d.selectedProductID.indexOf(e.productId)<=-1,a=a||d.selectedCountry.indexOf(e.productOriginName)<=-1,a&&d.priceSummaryToRemove.push(e.productItemId)})}function r(e,t){d.selectedProductID=_.map(e,"id"),t||o()}function l(e,t){d.selectedCountry=_.map(e,"name"),t||o()}function A(t){e.go(t)}var d=this;n()}e.$inject=["$state","allProductPriceSummary","appConstants","appFormats"],angular.module("app.dashboard.pricing").controller("Pricing",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o){function r(){k.priceItemsToRemove=[],k.showForm=!1,k.dateRange=s.todayDateRange(),k.appFormats=n,k.allPriceItems=i,k.marketPriceObj=e.getNewMarketPriceObj(),k.currentCurrency="USD",k.currentMetric="FCL",k.productItemConfig={},k.productItemOptions={},k.priceMarketConfig={},k.priceMarketOptions={},k.shipmentMonthConfig={},k.shipmentMonthOptions={},k.priceMetricConfig={},k.priceMetricOptions={},k.selectedPriceMarketID=[],k.selectedCountry=[],k.selectedProductID=[],k.time=new Date,t.prepareShipmentMonthDropDown(k.shipmentMonthConfig,k.shipmentMonthOptions),t.prepareProductItemDropDown(k.productItemConfig,k.productItemOptions,!0),t.preparePriceMarketDropDown(k.priceMarketConfig,k.priceMarketOptions,I),t.preparePriceMetricConfig(k.priceMetricConfig,k.priceMetricOptions),k.openDatePicker=function(){k.dateOpened=!0},k.currentMetric="FCL",k.addMarketPriceItemObj=C,k.addMarketPrice=f,k.editProductItemPrice=d,k.updateMarketPrice=w,k.deleteMarketPrice=y,k.onPriceMarketChange=I,k.removeMarketPriceItemObj=D,k.currentValueChange=b,k.addNewProductItemPrice=v,k.cancel=h,k.toggleDetailDisplay=g,k.onDateRangeChanged=m,k.onProductsSelectedChanged=c,k.onPriceMarketSelectedChanged=p,k.onCountrySelectedChanged=u,k.onPriceDateChange=A}function l(){k.priceItemsToRemove=[],angular.forEach(k.allPriceItems,function(e,t){var a=!1;a=a||k.selectedProductID.indexOf(e.productId)<=-1,a=a||k.selectedPriceMarketID.indexOf(e.priceMarketId)<=-1,a=a||k.selectedCountry.indexOf(e.productOriginName)<=-1,a&&k.priceItemsToRemove.push(e.id)})}function A(){var e=new Date(k.marketPriceObj.priceTime);e=e.toUTCString(),angular.forEach(k.marketPriceObj.priceItems,function(e,t){e.shipmentMonths=[]}),t.prepareShipmentMonthDropDown(k.shipmentMonthConfig,k.shipmentMonthOptions,e)}function d(e){k.showForm=!1,k.marketPriceObj=e,k.shipmentMonthConfig={},k.shipmentMonthOptions={},t.prepareShipmentMonthDropDown(k.shipmentMonthConfig,k.shipmentMonthOptions,e.priceTime),k.showForm=!0}function c(e){k.selectedProductID=_.map(e,"id"),l()}function u(e){k.selectedCountry=_.map(e,"name"),l()}function p(e){k.selectedPriceMarketID=_.map(e,"id"),l()}function m(t){return o.open(),e.getAllProductItemPrice(t).then(function(e){o.close(),k.allPriceItems=e.data.allPrices})}function g(e){e.showDetails=!e.showDetails}function v(){k.showForm=!0}function h(){k.showForm=!1,k.marketPriceObj=e.getNewMarketPriceObj()}function b(e,t,i){i?angular.forEach(e.priceItems,function(e,a){e.currentValue=t===e}):(t.currentValue=!0,a.error("Must have one price item as current market value."))}function f(t,i,n){t.$valid?e.addProductItemPrice(i,function(i){i.success&&(n?(a.success(i.message),k.marketPriceObj=e.getNewMarketPriceObj(),s.resetFormValidation(t)):(a.success(i.message),m(k.dateRange),h()))}):a.error("Please enter missing fields.","Invalid Form")}function w(t,i){t.$valid?e.updateProductItemPrice(i,function(e){if(e.success){var t=_.find(k.allPriceItems,function(t){return t.id==e.obj.id}),i=_.indexOf(k.allPriceItems,t);k.allPriceItems[i]=e.obj,h(),a.success(e.message)}}):a.error("Please enter missing fields.","Invalid Form")}function y(t){o.open(),e.deleteProductItemPrice(t).then(function(e){if(e.success){var i=_.find(k.allPriceItems,function(e){return e.id=t.id}),n=_.indexOf(k.allPriceItems,i);-1!==n&&(k.allPriceItems.splice(n,1),a.success(e.message))}else a.error(e.message);o.close()})}function C(t){t.priceItems.push(e.getNewMarketPriceItemObj())}function I(e){e?(k.marketItem=_.find(k.priceMarketOptions.list,function(t){return t.id==e}),k.currentCurrency=k.marketItem.currency):k.currentCurrency="USD"}function D(e,t){if(1!==e.priceItems.length){var i=_.findIndex(e.priceItems,t);e.priceItems.splice(i,1),1==e.priceItems.length&&(e.priceItems[0].currentValue=!0)}else a.error("Market Price must have atleast one price item.")}var k=this;r()}e.$inject=["pricing","dropDownConfig","toastr","allPriceItems","appFormats","utilities","loaderModal"],angular.module("app.dashboard.pricing").controller("ProductPricing",e)}(),function(){"use strict";function e(e,t,a){function i(){o.productItemId=e.productItemId,console.log(o.productItemId),o.dateRange=t.lastThirtyDaysDateRange(),o.onDateRangeChanged=n,s(o.dateRange,o.productItemId)}function n(e){o.dateRange=e,s(e,o.productItemId)}function s(e,t){a.getPriceReport(e,t)}var o=this;i()}e.$inject=["$stateParams","utilities","product"],angular.module("app.dashboard.products").controller("ProductPriceAnalytics",e)}(),function(){"use strict";function e(e,t,a,i){function n(){c.showform=!0,c.allCategories=e,c.categoryObj=a.getNewProductCategoryObj(),c.addNewCategory=d,c.addCategory=l,c.updateCategory=o,c.editCategory=r,c.cancel=A,c.specification=s}function s(e){t.go("dashboard.productSpecification",{categoryId:e})}function o(e,t){e.$valid?a.updateProductCategory(t,function(e){if(e.success){var t=_.find(c.allCategories,function(t){return t.id==e.obj.id}),a=_.indexOf(c.allCategories,t);c.allCategories[a]=e.obj,A(),i.success(e.message)}else i.error(e.message)}):i.error("Please provide a category name","Invalid form")}function r(e){c.showForm=!1,c.categoryObj=angular.copy(e),c.showForm=!0}function l(e,t){e.$valid?a.addProductCategory(t,function(e){e.success?(c.allCategories.push(e.obj),i.success(e.message),A()):i.error(e.message)}):i.error("Please provide a category name","Invalid form")}function A(){c.categoryObj=a.getNewProductCategoryObj(),c.showForm=!1}function d(){c.categoryObj=a.getNewProductCategoryObj(),c.showForm=!0}var c=this;n()}e.$inject=["allCategories","$state","product","toastr"],angular.module("app.dashboard.products").controller("ProductCategories",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o){function r(){b.allProductItems=n,b.productItemToRemove=[],b.selectedProductID=[],b.selectedCountry=[],b.showForm=!1,b.cancel=d,b.productItem=e.getProductObj(),b.appConstants=i,b.keywordConfig={},b.keywordOptions={},b.originConfig={},b.originOptions={},b.editProductItem=u,b.addNewProductItem=m,b.addProductItem=A,b.updateProductItem=c,b.displayPriceOnWebsite=p,b.specsConfig=[],b.productConfig={},b.productOptions={},b.onProductsSelectedChanged=v,b.onCountrySelectedChanged=h,a.prepareProductOriginDropDown(b.originConfig,b.originOptions,null),a.prepareKeywordDropDown(b.keywordConfig,b.keywordOptions,null),a.prepareProductDropDown(b.productConfig,b.productOptions,b.originConfig,b.originOptions,b.keywordConfig,b.keywordOptions,l)}function l(e,t,i,n,s,o){s?a.prepareProductOriginDropDown(e,t,s,function(){a.prepareKeywordDropDown(i,n,s,o)}):(b.productItem.origin=null,b.productItem.keywords=null)}function A(t,a){o.open(),e.addProductItem(a,function(t){t.success&&(b.allProductItems.push(t.obj),b.productItem=e.getProductObj(),b.showForm=!1,s.success("Product item added successfully.")),o.close()})}function d(){b.productItemObj=e.getProductObj(),b.showForm=!1}function c(t,a){o.open(),e.updateProductItem(a,function(t){if(t.success){var a=t.obj,i=_.find(b.allProductItems,function(e){return e.id==a.id}),n=_.indexOf(b.allProductItems,i);b.allProductItems[n]=a,b.productItem=e.getProductObj(),b.showForm=!1,s.success("Product item updated successfully."),o.close()}})}function u(e){b.showForm=!1,l(b.originConfig,b.originOptions,b.keywordConfig,b.keywordOptions,e.productId,function(){b.productItem=e,b.showForm=!0})}function p(t){o.open(),e.productItemPriceOnWebsite(t.id,!t.priceOnWebsite).then(function(e){e.success?(t.priceOnWebsite=!t.priceOnWebsite,s.success(e.message)):s.error(e.message),o.close()})}function m(){b.showForm=!1,b.productItem=e.getNewProductItem(),b.showForm=!0}function g(){b.productItemToRemove=[],angular.forEach(b.allProductItems,function(e,t){var a=!1;a=a||b.selectedProductID.indexOf(e.productId)<=-1,a=a||b.selectedCountry.indexOf(e.productOriginName)<=-1,a&&b.productItemToRemove.push(e.id)})}function v(e,t){b.selectedProductID=_.map(e,"id"),t||g()}function h(e,t){b.selectedCountry=_.map(e,"name"),console.log(b.selectedCountry),t||g()}var b=this;r()}e.$inject=["product","$state","dropDownConfig","appConstants","allProductItems","toastr","loaderModal"],angular.module("app.dashboard.products").controller("ProductItems",e)}(),function(){"use strict";function e(e,t,a,i,n){function s(){c.allKeywords=e,c.categoryConfig={},c.categoryOptions={},i.prepareProductCategoryDropDown(c.categoryConfig,c.categoryOptions),c.keywordObj=a.getNewKeywordObj(),c.showForm=!1,c.addNewKeyword=o,c.addKeyword=r,c.editKeyword=l,c.updateKeyword=A,c.cancel=d}function o(){c.keywordObj=a.getNewKeywordObj(),c.showForm=!0}function r(e,t){e.$valid?a.addProductKeyword(t,function(e){e.success?(c.allKeywords.push(e.obj),d(),n.success(e.message)):n.error(e.message)}):n.error("Please fill missing fields.","Incomplete form")}function l(e){c.keywordObj=e,c.showForm=!0}function A(e,t){e.$valid?a.updateProductKeyword(t,function(e){if(e.success){var t=e.obj,a=_.find(c.allKeywords,function(e){return e.id==t.id}),i=_.indexOf(c.allKeywords,a);c.allKeywords[i]=t,d(),n.success(e.message)}else n.error(e.message)}):n.error("Please fill missing fields.","Incomplete form")}function d(){c.keywordObj=a.getNewKeywordObj(),c.showForm=!1}var c=this;s()}e.$inject=["allKeywords","$state","product","dropDownConfig","toastr"],angular.module("app.dashboard.products").controller("ProductKeyword",e)}(),function(){"use strict";function e(e,t,a,i){function n(){d.categoryName=i.categoryName,d.specificationData=i,d.addSpecificationItem=A,0===d.specificationData.specs.length&&d.specificationData.specs.push(r()),d.removeSpecItem=l,d.saveSpecs=s,d.cancel=o,d.specsTypes=[{name:"Text",value:"text"},{name:"Percentage",value:"Percentage"}]}function s(e,i){e.$valid?t.saveProductCategorySpecification(i).then(function(e){e.success?(a.success(e.message),o()):a.error(e.message)}):a.error("Please enter missing fields")}function o(){e.go("dashboard.productsCategories")}function r(){return{name:null,type:null}}function l(e,t){if(1!==e.length){var i=_.findIndex(e,t);e.splice(i,1)}else a.error("Category specification must have at least one spec item.")}function A(){d.specificationData.specs.push(r())}var d=this;n()}e.$inject=["$state","product","toastr","specificationData"],angular.module("app.dashboard.products").controller("ProductSpecification",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l,A,d,c){function u(){x.showForm=!1,x.productObj=t.getProductObj(),x.allProducts=a,x.appConstants=n,x.addStepTitle=["Add New Product","Add Product Origins"],x.updateStepTitle=["Update Product","Update Product Origins"],x.categoryConfig={},x.categoryOptions={},x.countryConfig={},x.countryOptions={},x.cancel=g,x.addNewProduct=v,x.editProduct=h,x.deleteProduct=C,x.uploadProductImage=I,x.removeProductPicture=k,x.getFile=D,x.saveProduct=b,x.onSaveProductCallback=f,x.saveProductOrigin=w,x.onSaveProductOriginCallback=y,x.displayOnWebsite=m,x.loadRelatedProducts=p,o.prepareProductCategoryDropDown(x.categoryConfig,x.categoryOptions),o.prepareCountryDropDown(x.countryConfig,x.countryOptions)}function p(e,a){return t.loadRelatedProducts(e,a)}function m(e){r.open(),t.displayOnWebsite(e.info.id,!e.info.onWebsite).then(function(t){t.success?(A.success(t.message),e.info.onWebsite=!e.info.onWebsite):A.error(t.message),r.close()},function(e){A.error("Some Error occurred"),r.close()})}function g(){d.transitionTo(d.current,c,{reload:!0,inherit:!1,notify:!0})}function v(){x.action="add",x.showForm=!1,x.stepTitle=x.addStepTitle,x.productObj=t.getProductObj(),x.productImage=s("productPicture")(x.productObj.info.image),x.noPicture=null===x.productImage,x.showForm=!0}function h(e){x.action="update",x.showForm=!1,x.stepTitle=x.updateStepTitle,x.productObj=e,x.productImage=s("productPicture")(x.productObj.info.image),x.noPicture=null===x.productImage,x.showForm=!0}function b(e,a){return console.log(e),e.id?t.updateProduct(e,a):t.addProduct(e,a)}function f(e){e.success&&(x.productObj.id=e.id,x.productObj.info.id=e.id)}function w(e){return t.saveProductOrigin(e)}function y(e){d.transitionTo(d.current,c,{reload:!0,inherit:!1,notify:!0})}function C(e,a){t.deleteProduct(a.id).then(function(t){if(t.success){var i=e.indexOf(a);e.splice(i,1),A.success(t.message)}else A.error(t.message)})}function I(){var e=document.getElementById("uploadProductFile");e.click()}function D(e){l.getFile(e,i,1.2,[{w:400,h:400}],{width:400,height:400},function(e){x.productImage=e.croppedImage,x.imagesData=e})}function k(){x.noPicture=!0,x.productImage=null}var x=this;u()}e.$inject=["fileReader","product","allProducts","$scope","appConstants","$filter","dropDownConfig","loaderModal","deModal","toastr","$state","$stateParams"],angular.module("app.dashboard.products").controller("Products",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l,A,d,c,u){function p(){C.inputFields=a,C.passwordDetails=s.getChangePasswordObj(),C.changePasswordSubmit=m,C.appFormats=o,C.page=r.CR_UP_BASIC_DROP_DOWN,C.appDropDownList=[],C.title=e.current.title,C.addDropDown=f,C.openDropDownModal=v,C.modalController=h,C.getDropDownList=g,C.saveBusinessSettings=y,C.getBusinessSettings=w,C.appDropDowns=[{title:"Business Partner Type",endPoint:d.dropDown.businessType},{title:"Contract Type",endPoint:d.dropDown.contractType},{title:"Contact Type",endPoint:d.dropDown.contactType},{title:"Designation",endPoint:d.dropDown.designation},{title:"Transaction Status",endPoint:d.dropDown.transactionStatus},{title:"Packaging",endPoint:d.dropDown.packaging},{title:"Commission Type",endPoint:d.dropDown.commissionType}],g(C.appDropDowns[0])}function m(e,a){e.$valid&&t.changePassword(a).then(function(t){t.success?(n.success(t.message),C.passwordDetails=s.getChangePasswordObj(),i.resetFormValidation(e)):(n.error(t.message),C.passwordDetails=s.getChangePasswordObj(),i.resetFormValidation(e))})}function g(e){return C.activedropDown=e,s.dropDown[l.READ](e.endPoint).then(function(t){e.list=t.list})}function v(e,t,a,i,n,s,o){var r={endPoint:function(){return t},title:function(){return e},name:function(){return s},id:function(){return o}};C.dropDownModal=A.openModal(a,i,n,r)}function h(e,t,a,i,n){e.title=t,e.endPoint=a,e.name=i,e.id=n,e.saveDropDown=e.id?b:f}function b(e,t,a){s.dropDown[l.UPDATE](e,t,a).then(function(e){if(e.success){n.success(e.message);var i=_.find(C.activedropDown.list,function(e){return e.id=a});i.name=t,A.dismissModal(C.dropDownModal)}else n.error(e.message),A.dismissModal(C.dropDownModal)})}function f(e,t,a){s.dropDown[l.CREATE](e,t).then(function(e){e.success?(n.success(e.message),C.activedropDown.list.push(e.obj),A.dismissModal()):(n.error(e.message),A.dismissModal())})}function w(){u.open(),c.getBusinessSettings().then(function(e){C.businessSettings=e.business,u.close()})}function y(e,t){e.$valid?(u.open(),c.saveBusinessSettings(t).then(function(e){e.success?(n.success(e.message),u.close()):(n.error(e.message),u.close())})):n.error("Please enter form correctly","Invalid Form")}var C=this;p()}e.$inject=["$state","user","inputFields","utilities","toastr","settings","appFormats","modalTemplates","crud","deModal","apiEndPoints","businessPartner","loaderModal"],angular.module("app.dashboard.settings").controller("settings",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(e,i){var n=i.indexOf(e);t.deleteShippingPort(e.id).then(function(e){e.success&&(i.splice(n,1),a.success(e.message))})}function r(t,a){e.go(t,{id:a})}function l(){m.portsList=[],m.heading=["LO Code","Name","Country","Contact No","website","Added By","Actions"],m.countryOptions={},m.countryConfig={},m.portObj={},"dashboard.shipping.ports"===e.current.name?(m.portsList=t.shippingPortList(),i.open(),t.getShippingPortList().then(function(e){t.setShippingPortList(e.allPorts),m.portsList=e.allPorts,i.close()})):(n.prepareCountryDropDown(m.countryConfig,m.countryOptions,null,1),"new"===s.id?m.portObj=t.getNewPortItemObj():t.getPortItemObj(s.id).then(function(e){m.portObj=e.portObj})),m.addPort=c,m.updatePort=u,m.deletePort=o,m.goToShipmentPortForm=r,m.cancel=p,m.onCountrySelectedChanged=d}function A(){m.portsToRemove=[],angular.forEach(m.portsList,function(e,t){var a=!1;a=m.selectedCountry.indexOf(e.country)<=-1,a&&m.portsToRemove.push(e.id)})}function d(e,t){m.selectedCountry=_.map(e,"name"),t||A()}function c(i,n){i.$valid&&t.addShippingPort(n).then(function(t){t.success?(a.success(t.message),e.go("dashboard.shipping.ports")):a.error(t.message)})}function u(i,n){i.$valid&&t.updateShippingPort(n).then(function(t){t.success?(a.success(t.message),e.go("dashboard.shipping.ports")):a.error(t.message)})}function p(){e.go("dashboard.shipping.ports")}var m=this;l()}e.$inject=["$state","shipping","toastr","loaderModal","dropDownConfig","$stateParams"],angular.module("app.dashboard.shipping").controller("Ports",e)}(),function(){"use strict";function e(e){function t(t){e.go(t)}function a(){i.goToShippingPorts=t}var i=this;a()}e.$inject=["$state"],angular.module("app.dashboard.shipping").controller("Shipping",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){A.shippingLineList=[],A.deleteCallback=r,l()}function r(e){var t=_.findIndex(A.shippingLineList,function(t){return t.id===e});A.shippingLineList.splice(t,1)}function l(){i.open(),t.getShippingLineList().then(function(e){e.success&&(A.shippingLineList=e.list,i.close())})}var A=this;o()}e.$inject=["$state","shipping","toastr","loaderModal","dropDownConfig","$stateParams"],angular.module("app.dashboard.shipping").controller("ShippingLine",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l,A){function d(e,s,o,r){function l(s){s.success?(a.success("Created Successfully",s.message),r?(h.shippingObj=t.getNewShippingLineObj(),h.shippingLineLogo=n("shippingLineLogo")(h.shippingObj.logo),A.resetFormValidation(e)):m()):a.error("Updated Successfully",s.message),i.close()}e.$valid?(i.open(),s.id?t.updateShippingLine(s,o).then(l):t.addShippingLine(s,o).then(l)):a.error("Please Enter Missing Fields","Incomplete Form")}function c(){h.noLogo=!0,h.shippingObj.logo=null,h.shippingLineLogo=n("shippingLineLogo")(h.shippingObj.logo)}function u(){var e=document.getElementById("uploadFile");e.click()}function p(e){o.readAsDataUrl(e,r).then(function(e){l.openImageCropper(e,null,null,{width:200,height:200},function(e){h.shippingLineLogo=e.croppedImage,h.imagesData=e})})}function m(){try{e.go(e.current.prevState,e.current.prevParam)}catch(t){e.go("dashboard.main")}}function g(e){i.open(),t.getShippingLineObj(e).then(function(e){e.success&&(h.shippingObj=e.shippingLineObj,h.shippingLineLogo=n("shippingLineLogo")(h.shippingObj.logo)),i.close()})}function v(){h.isNew="new"===s.id,h.getFile=p,h.saveShippingLine=d,h.cancel=m,h.removeLogo=c,h.uploadLogo=u,h.isNew?(h.shippingObj=t.getNewShippingLineObj(),h.shippingLineLogo=n("shippingLineLogo")(h.shippingObj.logo)):g(s.id)}var h=this;v()}e.$inject=["$state","shipping","toastr","loaderModal","$filter","$stateParams","fileReader","$scope","deModal","utilities"],angular.module("app.dashboard.shipping").controller("ShippingLineForm",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){l.searchOptions=[{name:"IMO Number",id:"imo_number"},{name:"MMSI Number",id:"mmsi_number"},{name:"Vessel Name",id:"vessel_name"},{name:"Shipping Line",id:"line"}],l.searchTypeConfig=n.getBasicDropDownConfig(!1),l.getVesselList=r,l.vesselList=[],l.searchObj={query:"",queryType:"imo_number"}}function r(e){i.open(),t.getShippingVesselList(e).then(function(e){l.vesselList=e.list,i.close()})}var l=this;o()}e.$inject=["$state","shipping","toastr","loaderModal","dropDownConfig","$stateParams"],angular.module("app.dashboard.shipping").controller("Vessel",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){A.isNew="new"===s.id,A.vesselObj={},A.saveShippingVessel=r,A.shippingLineConfig={},A.shippingLineOptions={},A.cancel=l,n.prepareShippingLineConfig(A.shippingLineConfig,A.shippingLineOptions),A.isNew?A.vesselObj=t.getNewShippingVesselObj():t.getShippingVesselObj(s.id).then(function(e){A.vesselObj=e.vesselObj})}function r(e,i){function n(e){e.success?(a.success(e.message),l()):a.error(e.message)}e.$valid?A.isNew?t.createShippingVesselObj(i).then(n):t.updateShippingVesselObj(i).then(n):a.error("Please enter mandatory fields!")}function l(){try{e.go(e.current.prevState,e.current.prevParam)}catch(t){e.go("dashboard.main")}}var A=this;o()}e.$inject=["$state","shipping","toastr","loaderModal","dropDownConfig","$stateParams"],angular.module("app.dashboard.shipping").controller("VesselForm",e)}(),function(){"use strict";function e(e,t,a){function i(){l.reportType=e,l.transactions=t.transactions,l.columnHeader=t.columnHeader,l.onBuyersSelectedChanged=s,l.onSellersSelectedChanged=o,l.onProductsSelectedChanged=r}function n(e,t){l.tranToRemove=[],t?l.transactions=e:angular.forEach(e,function(t,i){var n=!1;n=l.selectedBuyerID.indexOf(t.buyerId)<=-1,n=n||l.selectedSellerID.indexOf(t.sellerId)<=-1,n=n||l.selectedProductID.indexOf(t.productItemId)<=-1,n&&l.tranToRemove.push(t.id),l.transactions=a("selectedRows")(e,l.tranToRemove,"id")})}function s(e,t){l.selectedBuyerID=_.map(e,"id"),t||n(l.transactions)}function o(e,t){l.selectedSellerID=_.map(e,"id"),t||n(l.transactions)}function r(e,t){l.selectedProductID=_.map(e,"id"),t||n(l.transactions)}var l=this;i()}e.$inject=["reportType","data","$filter"],angular.module("app.dashboard.tradeBook").controller("TradeList",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o){function r(){m.currentPage=1,m.itemsPerPage=10,m.searchTransaction="",m.dateRange=i.initialDateRange(30),m.appFormats=a,m.columnHeader=[],m.dateFilter=[],m.selectedBuyerID=[],m.selectedSellerID=[],m.selectedProductID=[],m.selectedCountries=[],m.selectedTranStatus=[],m.allTransactions=[],m.allTransactionsList=[],m.pageType=o,m.onDateRangeChanged=l,m.onBuyersSelectedChanged=d,m.onSellersSelectedChanged=c,m.onProductsSelectedChanged=u,m.onTranStatusSelectedChanged=p,m.filterChanged=A,l(m.dateRange,!0),m.headingclass=["dateColumn","fileId","dropDownCol2","dropDownCol2","","","dropDownCol2","","dateColumn2","dateColumn",""],m.headerAnchor=[{text:"Add new Transaction",state:'shell.tradeBook.Transaction({tran:"new"})'}]}function l(t,a){s.open(),e.getTransactionList(t,"tradeBook").then(function(e){e.success&&(m.allTransactions=e.transactions,m.columnHeader=e.columnHeader,A(m.allTransactions,a),s.close())})}function A(e,t){m.tranToRemove=[],t?m.allTransactionsList=e:angular.forEach(e,function(t,a){var i=!1;i=m.selectedBuyerID.indexOf(t.buyerId)<=-1,i=i||m.selectedSellerID.indexOf(t.sellerId)<=-1,i=i||m.selectedProductID.indexOf(t.productItemId)<=-1,i=i||m.selectedTranStatus.indexOf(t.status)<=-1,console.log(t.status),i&&m.tranToRemove.push(t.id),m.allTransactionsList=n("selectedRows")(e,m.tranToRemove,"id")})}function d(e,t){m.selectedBuyerID=_.map(e,"id"),t||A(m.allTransactions)}function c(e,t){m.selectedSellerID=_.map(e,"id"),t||A(m.allTransactions)}function u(e,t){m.selectedProductID=_.map(e,"id"),t||A(m.allTransactions)}function p(e,t){m.selectedTranStatus=_.map(e,"name"),t||A(m.allTransactions)}var m=this;r()}e.$inject=["tradeBook","documentExporter","appFormats","utilities","$filter","loaderModal","pageType"],angular.module("app.dashboard.tradeBook").controller("TradeBook",e)}(),function(){"use strict";function e(e,t,a){function i(){o.showForm=!1,o.allUsers=e,o.appFormats=t,o.addNewUser=s,o.editUser=n}function n(e){a.go("dashboard.user.profile",{id:e})}function s(){a.go("dashboard.user.profile",{id:"new"})}var o=this;i()}e.$inject=["allUsers","appFormats","$state"],angular.module("app.dashboard.user").controller("User",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o){function r(){w.researchList=[],w.addNewResearch=h,w.uploadResearchImage=A,w.removeResearchImage=c,w.saveResearch=u,w.editResearch=p,w.deleteResearch=v,w.displayResearchOnWeb=g,w.getFile=d,w.loadTags=l,w.researchObj=t.getNewResearchObj(),w.blogImage=i("itemImage")(w.researchObj.image),w.cancel=b,f()}function l(e){return t.getResearchTags(e)}function A(){var e=document.getElementById("uploadResearchFile");e.click()}function d(t){e.getFile(t,n,1.5,[{w:800,h:400}],{width:800,height:400},function(e){w.blogImage=e.croppedImage,w.imagesData=e,w.noPicture=!1})}function c(){w.noPicture=!0,w.researchObj.image=null,w.blogImage=i("itemImage")(w.researchObj.image)}function u(e,i,n,o){return e.$valid?(a.open(),i.isDraft=o,i.id?t.updateResearch(i,n).then(function(t){if(t.success){var n=m(w.researchList,i.id),o=w.researchList.indexOf(n);w.researchList[o]=t.researchObj,s.success(t.message),b(e)}else s.error(t.message);a.close()}):t.addResearch(i,n).then(function(t){t.success?(w.researchList.push(t.researchObj),s.success(t.message),b(e)):s.error(t.message),a.close()})):void s.error("Please enter missing fields")}function p(e){a.open(),t.getCompleteResearch(e).then(function(e){w.researchObj=e.researchObj,w.blogImage=w.researchObj.image,w.noPicture=!1,a.close(),w.showForm=!0})}function m(e,t){return _.find(e,function(e){return e.id==t})}function g(e){a.open(),t.displayResearchOnWebsite(e).then(function(t){if(t.success){var i=m(w.researchList,e),n=w.researchList.indexOf(i);w.researchList[n]=t.researchObj,s.success(t.message)}else s.error(t.message);a.close()})}function v(e){a.open(),t.deleteResearch(e).then(function(t){if(t.success){s.success(t.message);var i=m(w.researchList,e),n=w.researchList.indexOf(i);w.researchList.splice(n,1)}else s.error(t.message);a.close()})}function h(){w.showForm=!0,w.researchObj=t.getNewResearchObj()}function b(e){w.showForm=!1,w.researchObj=t.getNewResearchObj(),o.resetFormValidation(e)}function f(){a.open(),t.getResearchList().then(function(e){w.researchList=e.researchList,a.close()})}var w=this;r()}e.$inject=["deModal","website","loaderModal","$filter","$scope","toastr","utilities"],angular.module("app.dashboard.website").controller("Blog",e)}(),function(){"use strict";function e(e,t,a,i){function n(){r.dashboardData=a,r.trafficChartData=[],r.mapData=[],r.trafficChartValues=["newUsers","visits"],r.goToWebsiteBlogs=s,r.connectGoogleAnalytics=o,r.dashboardData.googleAnalyticsConnected&&(r.mapData=r.dashboardData.data.trafficCountryChartData,r.cardsTotalData=r.dashboardData.data.cardsTotalData,r.trafficChartData=t.prepareGraphData(r.dashboardData.data.trafficChartData))}function s(){e.go("dashboard.websiteBlog")}function o(){i.authenticate("google",function(){e.reload()})}var r=this;n()}e.$inject=["$state","utilities","dashboard","authentication"],angular.module("app.dashboard.website").controller("Website",e)}(),function(){"use strict";function e(){function e(){t.slides=[{image:"http://10pearls.com/wp-content/themes/10pearls-2014/images/slider2016-intro-art.png"},{image:"http://10pearls.com/wp-content/themes/10pearls-2014/images/slider2016-staff-acceleration.jpg"}]}var t=this;e()}angular.module("app.landing").controller("homeCtrl",e)}(),function(){"use strict";function e(e,t,a,i,n){function s(){}s()}e.$inject=["appFormats","utilities","$filter","loaderModal","$stateParams"],angular.module("app.dashboard.accounts").controller("Invoice",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r){function l(){v.fileId=i.fileId,v.invoiceId=i.invoiceId,v.invoiceObj=o,v.createInvoice=p,v.updateInvoice=u,v.invoiceObj.invoiceAmount=g(v.invoiceObj.invoiceItems),v.convertToDecimal=A,v.cancel=d,m()}function A(t){t.amount&&(t.amount=e("number")(t.amount,2))}function d(e){s.go("dashboard.transactionView",{id:e})}function c(e){e.success&&(r.success(e.message),d(v.fileId))}function u(e,t){a.updateInvoice(e,t,c)}function p(e,t){a.createInvoice(e,t,c)}function m(){n.$watch("vm.invoiceObj.invoiceItems",function(e,t){v.invoiceObj.invoiceAmount=g(e)},!0),n.$watch("vm.invoiceObj.currencyRate",function(e,a){if(e){var i=v.invoiceObj.currency+" "+a,n=v.invoiceObj.currency+" "+e;angular.forEach(v.invoiceObj.invoiceItems,function(e,a){e.name.indexOf(i)>-1&&(e.name=e.name.replace(i,n),e.amount=t.evalMathExpressionInString(e.name))})}})}function g(e){var t=_.sumBy(e,function(e){return""===e.amount?0:parseFloat(e.amount)});return t}var v=this;l()}e.$inject=["$filter","utilities","accounts","$stateParams","$scope","$state","invoice","toastr"],angular.module("app.dashboard.accounts").controller("InvoiceForm",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){}o()}e.$inject=["appFormats","utilities","$filter","loaderModal","$stateParams","currencyExchange"],angular.module("app.dashboard.accounts").controller("CommissionFlow",e)}(),function(){"use strict";function e(e,t,a,i,n){function s(){console.log(n)}s()}e.$inject=["toastr","businessPartner","$state","appFormats","businessReport"],angular.module("app.dashboard.businessPartner").controller("BusinessReport",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l,A){function d(){m.isNew="new"===r.id,m.buyerConfig={},m.buyerOptions={},m.sellerConfig={},m.sellerOptions={},m.productItemConfig={},m.productItemOptions={},m.quantityMetricConfig={},m.quantityMetricOptions={},m.userData=o.getUserData(),m.currency=m.userData.data.currency,m.internationalTradeConfig={},m.internationalTradeOptions={},m.localTradeConfig={},m.localTradeOptions={},m.paymentTerms=i,t.prepareBusinessDropDown(m.buyerConfig,m.buyerOptions,"Local Buyer"),t.prepareBusinessDropDown(m.sellerConfig,m.sellerOptions,"Local Seller"),t.prepareProductItemDropDown(m.productItemConfig,m.productItemOptions),t.preparePriceMetricConfig(m.quantityMetricConfig,m.quantityMetricOptions),t.prepareInternationalFileIdAutoComplete(m.internationalTradeConfig,m.internationalTradeOptions,!0),t.prepareLocalTradeConfig(m.localTradeConfig,m.localTradeOptions,!0),m.localTransaction=l,m.saveLocalTrade=p,m.cancel=u}function c(e){e.success?(n.success(e.message,"Success"),a.go("dashboard.localTradeBook")):n.error(e.message,"Error")}function u(){a.go("dashboard.localTradeBook")}function p(e,t){m.isNew?A.addLocalTrade(t).then(c):A.updateLocalTrade(t).then(c)}var m=this;d()}e.$inject=["tradeBook","dropDownConfig","$state","paymentTerms","toastr","loaderModal","authentication","$stateParams","localTrade","localTradeBook"],
  angular.module("app.dashboard.localTradeBook").controller("LocalTradeBookForm",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o){function r(){c.transaction=e,c.appFormats=a,c.appConstants=i,c.addingDocument=!1,c.editTransactionDetails=d,c.changeCompleteStatus=l,c.addLocalPayment=A}function l(e,t){deModal.openTransactionCompleteModel(e,t,function(e){o.open(),tradeBook.changeCompleteStatus(t,e).then(function(e){e.success?(c.transaction=e.transactionObj,toastr.success(e.message)):toastr.error(e.message),o.close()})})}function A(e){deModal.openLocalTransactionPaymentModal(e)}function d(e){n.go("dashboard.localTransactionForm",{id:e})}var c=this;r()}e.$inject=["localTrade","documentExporter","appFormats","appConstants","$state","$filter","loaderModal"],angular.module("app.dashboard.localTradeBook").controller("LocalTradeBookView",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r){function l(){u.appFormats=e,u.page=i,u.list=t,u.endPoint=a,u.title=o.current.title,u.addDropDown=c,u.openAddDropDownModal=A,u.modalController=d}function A(e,t,a,i,n){var s={endPoint:function(){return t},title:function(){return e}};r.openModal(a,i,n,s)}function d(e,t,a){e.title=t,e.endPoint=a,e.name,e.addDropDown=c}function c(e,t){n.dropDown[s.CREATE](e,t).then(function(e){u.list.push(e.obj)},function(e){})}var u=this;l()}e.$inject=["appFormats","list","endPoint","page","settings","crud","$state","deModal"],angular.module("app.dashboard.settings").controller("appDropDown",e)}(),function(){"use strict";function e(e,t,a,i,n){function s(){b.dateRange=n.initialDateRange(30),b.timeDrillBy="day",b.productSalesAnalytics=[],b.allTransactions=[],b.totalVolume=0,b.totalQuantity=0,b.totalNetCommission=0,b.selectedBuyerID=[],b.selectedSellerID=[],b.selectedProductID=[],b.selectedCountries=[],b.selectedTranStatus=[],b.dateLabels=[],b.timeDrillOptions={},b.timeDrillConfig={},b.getTransactionAnalytics=A,b.onDateRangeChanged=l,b.showTradeBarCharts=!0,b.showPie=!0,b.onDateRangeChanged=l,b.onBuyersSelectedChanged=p,b.onSellersSelectedChanged=m,b.onProductsSelectedChanged=g,b.onCountrySelectedChanged=v,b.onTranStatusSelectedChanged=h,b.seriesBarCharts=["Quantity (MT)","Volume ($)","Net Commission ($)"],b.dataBarChars=void 0,b.timeDrillChanged=d,b.onDateRangeChanged(b.dateRange),b.sellerList=[],b.buyerList=[],b.curBuyer=0,b.curSeller=0,b.nextBusinessPartner=o,b.preBusinessPartner=r}function o(e,t){t.length-1!==b["cur"+e]&&(b["cur"+e]+=1)}function r(e){0!==b["cur"+e]&&(b["cur"+e]-=1)}function l(e){b.getTransactionAnalytics(e)}function A(e){t.getTradeBusinessAnalytics(e).then(function(e){b.allTransactions=e.data.transactions,c()})}function d(e,t){if(0!==t.length){b.showTradeBarCharts=!1;var n=_.minBy(t,"transactionDate").transactionDate,s=_.maxBy(t,"transactionDate").transactionDate;"day"===e&&(b.dateLabels=navigation.getDateRangeArray(n,s),b.dataBarChars=[[],[],[]],angular.forEach(b.dateLabels,function(e,n){b.dateLabels[n]=a("date")(e,i.Date);var s=_.filter(t,function(e){return b.dateLabels[n]===a("date")(e.transactionDate,i.Date)});analytics.getBarChartValuesOnTimeDrillChanged(b.dataBarChars,s)})),"year"===e&&(b.dateLabels=navigation.getYearsInDateRange(n,s),b.dataBarChars=[[],[],[]],angular.forEach(b.dateLabels,function(e,a){var i=_.filter(t,function(t){return e===new Date(t.transactionDate).getFullYear()});analytics.getBarChartValuesOnTimeDrillChanged(b.dataBarChars,i)})),"month"===e&&(b.dateLabels=navigation.getMonthsInDateRange(n,s),b.dataBarChars=[[],[],[]],angular.forEach(b.dateLabels,function(e,a){if(a<=b.dateLabels.length-2){var i=new Date(e),n=new Date(b.dateLabels[parseInt(a)+1]),s=_.filter(t,function(e){var t=new Date(e.transactionDate);return t>=i&&n>t});b.dateLabels[a]=navigation.getMonthTitle(i),analytics.getBarChartValuesOnTimeDrillChanged(b.dataBarChars,s)}}),b.dateLabels.splice(b.dateLabels.length-1,1)),"week"===e&&(b.dateLabels=navigation.getWeeksInDateRange(n,s),b.dataBarChars=[[],[],[]],angular.forEach(b.dateLabels,function(e,a){if(a<=b.dateLabels.length-2){var i=new Date(e),n=new Date(b.dateLabels[parseInt(a)+1]),s=_.filter(t,function(e){var t=new Date(e.transactionDate);return t=new Date(t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()),t>=i&&n>=t});b.dateLabels[a]=navigation.getWeekTitle(i,n),analytics.getBarChartValuesOnTimeDrillChanged(b.dataBarChars,s)}}),b.dateLabels.splice(b.dateLabels.length-1,1)),b.showTradeBarCharts=!0}else b.showTradeBarCharts=!1}function c(){b.tranToRemove=[],angular.forEach(b.allTransactions,function(e,t){var a=!1;a=b.selectedBuyerID.indexOf(e.tr_bpBuyerID)<=-1,a=a||b.selectedSellerID.indexOf(e.tr_bpSellerID)<=-1,a=a||b.selectedProductID.indexOf(e.tr_productID)<=-1,a=a||b.selectedCountries.indexOf(e.origin)<=-1,a&&b.tranToRemove.push(e.tr_transactionID)});var e=a("selectedRows")(b.allTransactions,b.tranToRemove,"tr_transactionID");u(e),d(b.timeDrillBy,e)}function u(e){var t=_.groupBy(e,"tr_bpBuyerID");t=_.orderBy(t,["length"],["desc"]);var a=_.groupBy(e,"tr_bpSellerID");a=_.orderBy(a,["length"],["desc"]);var i=[];for(var n in t){var s={};s.transactions=t[n].length,s.bp_buyer_id=t[n][0].tr_bpBuyerID,s.name=t[n][0].buyer,s.quantity=0,s.volume=0,s.commission=0;for(var o in t[n]){s.quantity+=t[n][o].quantity;var r=0;"Not Entered"!==t[n][o].commission&&(r=parseInt(t[n][o].commission.replace("$",""))),s.volume+=t[n][o].quantity*t[n][o].rate,s.commission+=r}i.push(s)}var l=[];for(var A in a){var d={};d.transactions=a[A].length,d.bp_seller_id=a[A][0].tr_bpSellerID,d.name=a[A][0].seller,d.quantity=0,d.volume=0,d.commission=0;for(var o in a[A]){d.quantity+=a[A][o].quantity;var r=0;"Not Entered"!==a[A][o].commission&&(r=parseInt(a[A][o].commission.replace("$",""))),d.volume+=a[A][o].quantity*a[A][o].rate,d.commission+=r}l.push(d)}b.sellerList=_.orderBy(l,["commission"],["desc"]),b.buyerList=_.orderBy(i,["commission"],["desc"]),b.curBuyer=0,b.curSeller=0,b.totalVolume=_.sumBy(e,function(e){return e.quantity*e.rate}),b.totalQuantity=_.sumBy(e,function(e){return e.quantity}),b.totalNetCommission=_.sumBy(e,function(e){return"Not Entered"===e.commission?0:(e.commission=e.commission.replace("$",""),parseInt(e.commission))})}function p(e){b.selectedBuyerID=_.map(e,"bp_ID"),c()}function m(e){b.selectedSellerID=_.map(e,"bp_ID"),c()}function g(e){b.selectedProductID=_.map(e,"id"),c()}function v(e){b.selectedCountries=_.map(e,"origin_name"),c()}function h(e){b.selectedTranStatus=_.map(e,"text"),c()}var b=this;s()}e.$inject=["baConfig","tradeBook","$filter","appFormats","utilities"],angular.module("app.dashboard.tradeBook").controller("TradeBusinessAnalytics",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(){A.dashboardData=t,A.dashboardColors=a,A.hasBusinessAnalytics=A.multiBarData={labels:["1 Year","6 Months","30 Days","7 Days"],series:[{name:"New Trades",data:A.dashboardData.multiBar.newTrades},{name:"Completed",data:A.dashboardData.multiBar.completeTrades},{name:"Washout",data:A.dashboardData.multiBar.washoutTrades},{name:"Buyer Contract",data:A.dashboardData.multiBar.buyerContractTrades},{name:"Arrived Not Completed",data:A.dashboardData.multiBar.arrivedTrades}]},A.multiBarOptions={fullWidth:!0,plugins:[Chartist.plugins.legend()],height:"400px",stackBars:!0,axisX:{labelInterpolationFnc:function(e){return e.split(/\s+/).map(function(e){return e[0]}).join("")}}},A.multiBarResponsive=[["screen and (min-width: 400px)",{reverseData:!0,horizontalBars:!0,axisX:{labelInterpolationFnc:Chartist.noop}}],["screen and (min-width: 800px)",{stackBars:!1,seriesBarDistance:10}],["screen and (min-width: 1000px)",{reverseData:!1,horizontalBars:!1,seriesBarDistance:15}]],i(function(){l(),new Chartist.Bar("#multi-bar",A.multiBarData,A.multiBarOptions,A.multiBarResponsive)},100),A.showTrades=r}function r(t,a){e.openTradeBookModal(t,a)}function l(){$(".chart").each(function(){var e=$(this);e.easyPieChart({easing:"easeOutBounce",onStep:function(e,t,a){$(this.el).find(".percent").text(Math.round(a))},barColor:e.attr("rel"),trackColor:"rgba(0,0,0,0)",size:84,scaleLength:0,animation:2e3,lineWidth:9,lineCap:"round"})})}var A=this;o()}e.$inject=["tradeBook","dashboardData","baConfig","$timeout","$filter","authentication"],angular.module("app.dashboard.tradeBook").controller("TradeDashboard",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l){function A(){g.quantityMetricConfig={},g.quantityMetricOptions={},g.isNew="new"===l.id,g.productConfig={},g.productOptions={},g.packagingConfig={},g.packagingOptions={},g.buyerConfig={},g.buyerOptions={},g.sellerConfig={},g.sellerOptions={},g.productItemConfig={},g.productItemOptions={},g.commissionTypeConfig={},g.commissionTypeOptions={},g.brokerConfig={},g.brokerOptions={},g.primaryFileConfig={},g.primaryFileOptions={},g.partialShipConfig={},g.partialShipOptions={},e.prepareCommissionTypeConfig(g.commissionTypeConfig,g.commissionTypeOptions),e.preparePackagingConfig(g.packagingConfig,g.packagingOptions),e.prepareProductItemDropDown(g.productItemConfig,g.productItemOptions),e.preparePriceMetricConfig(g.quantityMetricConfig,g.quantityMetricOptions),e.prepareProductDropDown(g.productConfig,g.productOptions),e.prepareBusinessDropDown(g.buyerConfig,g.buyerOptions,"Buyer"),e.prepareBusinessDropDown(g.sellerConfig,g.sellerOptions,"Seller"),e.prepareBusinessDropDown(g.brokerConfig,g.brokerOptions,"Broker"),e.prepareInternationalFileIdAutoComplete(g.primaryFileConfig,g.primaryFileOptions),e.prepareInternationalFileIdAutoComplete(g.partialShipConfig,g.partialShipOptions),console.log(g.partialShipConfig,g.partialShipOptions),g.cancel=d,g.addTransaction=u,g.updateTransaction=p,g.changeProductSpecs=m,g.isNew?(g.transaction=t.getNewTransaction(),g.showForm=!0):(r.open(),t.getTransactionDetail(l.id,null).then(function(e){n.headerSubTitle="File Id "+l.id,n.headerTitle="Edit Transaction",g.transaction=e.transaction,g.showForm=!0,r.close()}))}function d(){o.go("dashboard.tradeBook")}function c(e){o.go("dashboard.transactionView",{id:e})}function u(e,a){e.$valid,t.addTransaction(a).then(function(e){e.success?(s.success(e.message),c(e.fileId)):s.error(e.message)})}function p(e,a){e.$valid,t.updateTransaction(a).then(function(e){e.success?(c(e.fileId),s.success(e.message)):s.error(e.message)})}function m(){i.openProductSpecificationModal(g.transaction.productSpecification,function(e){g.transaction.productSpecification=e,console.log(g.transaction)})}console.log("hello");var g=this;A()}e.$inject=["dropDownConfig","tradeBook","$scope","deModal","$rootScope","toastr","$state","loaderModal","$stateParams"],angular.module("app.dashboard.tradeBook").controller("Transaction",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l,A,d,c,u,p){function m(){j.appConstants=r,j.showNotShippedForm=!1,j.showApprobationRecievedForm=!1,j.showShippedForm=!1,j.showArrivedAtPort=!1,j.loadVessel=h,j.cancelShipmentForm=w,j.shipperConfig={},j.shipperOptions={},j.shippingLineConfig={},j.shippingLineOptions={},j.portConfig={},j.portOptions={},c.prepareShippingLineConfig(j.shippingLineConfig,j.shippingLineOptions),c.prepareShippingPortConfig(j.portConfig,j.portOptions),c.prepareBusinessDropDown(j.shipperConfig,j.shipperOptions,"Shipper"),j.appFormats=l,j.shipmentStatus=d,j.addingNote=!1,j.updateNote=!1,j.transactionId=s.id,console.log(j.transactionId),j.transaction=s,j.showDocument=!1,j.documentAdding=!1,j.addingDocument=!1,j.newDocumentName="",j.noteText="",j.addNewDocument=R,j.uploadTradeDocument=M,j.cancelDocumentUpload=Q,j.editTradeNote=O,j.deleteTradeNote=L,j.addTradeNote=N,j.deleteTradeDoc=F,j.downloadTradeDoc=S,j.editTransactionDetails=E,j.createWatsappCopy=T,j.activateShipmentStatus=C,j.editNotShipped=D,j.editApprobationReceived=k,j.editShipped=x,j.editArrivedAtPort=P,j.loadPorts=b,j.createTransactionInvoice=v,j.activateShipment=B,j.changeCompleteStatus=y,j.showTradeCashFlow=g,j.goToInvoice=f,j.productConfig={},j.productOptions={}}function g(e){i.openTransactionCashFlowModal(e,function(e){})}function v(e){A.go("dashboard.accounts.invoiceForm",{fileId:e,invoiceId:"new"})}function h(e){return u.getVesselTags(e).then(function(e){return e.data})}function b(e){return u.getPortTags(e).then(function(e){return e.data})}function f(e,t){A.go("dashboard.accounts.invoiceForm",{fileId:e,invoiceId:t})}function w(e){j[e]=!1}function y(e,n){i.openTransactionCompleteModel(e,n,function(e){p.open(),t.changeCompleteStatus(n,e).then(function(e){e.success?(j.transaction=e.transactionObj,a.success(e.message)):a.error(e.message),p.close()})})}function C(e,i,n){p.open(),t.activateShipmentStatus(e,i,n).then(function(e){e.success?(j.transaction=e.transactionObj,a.success(e.message,"Shipment Status Updated")):a.error(e.message,"Error Changing Shipment Status"),p.close()})}function I(e,t){t.success?(j.transaction=t.transactionObj,a.success(t.message,"Shipment Information Updated!"),w(e)):a.error()}function D(e,a,i){p.open(),t.updateNotShippedInfo(a,i).then(function(e){p.close(),I("showNotShippedForm",e)})}function k(e,a,i){p.open(),t.updateApprobationReceivedInfo(a,i).then(function(e){p.close(),I("showApprobationRecievedForm",e)})}function x(e,a,i){p.open(),t.updateShippedInfo(a,i).then(function(e){p.close(),I("showShippedForm",e)})}function P(e,a,i,n){var s=null;return console.log(a),p.open(),t.updateArrivedAtPortInfo(a,n,s).then(function(e){p.close(),I("showArrivedAtPort",e)})}function B(){}function T(e){}function E(e){A.go("dashboard.transaction",{id:e})}function S(e,a,i){t.downloadTradeDocument(e,a,i)}function F(e){p.open(),t.deleteTransactionDocument(e).then(function(e){if(e.success){a.success(e.message);var t=_.findIndex(j.transaction.files,function(e){return e.id=e.fileId});j.transaction.files.splice(t,1)}else a.error(e.message);p.close()})}function M(t,i){if(""===j.newDocumentName)return void a.error("Please enter document name","Error");var s=t.name.split("."),o=s[s.length-1];t&&(p.open(),t.upload=e.upload({url:"api/"+n.transaction.main+"/"+n.transaction.document+"/",data:{file:t,name:j.newDocumentName+"."+o,tradeId:j.transactionId,extension:o}}),t.upload.then(function(e){p.close(),e.data.success&&(j.addingDocument=!1,j.transaction.files.push(e.data.fileObj))}))}function O(e,t){j.noteText=e,t.editing=!0,j.updateNote=!0}function L(e,i,n,s){return p.open(),t.deleteTradeNote(e,i).then(function(e){if(e.success){var t=_.indexOf(s,n);s.splice(t,1),a.success(e.message,"Note Deleted")}else a.error(e.message);p.close()})}function N(e,i,n,s){if(s.$valid)if(""===i)a.error("Please add a note");else if(j.addingNote=!1,j.updateNote){var r=_.find(n,function(e){return 1==e.editing}),l=_.indexOf(n,r);t.editTradeNote(e,r.noteId,i).then(function(e){p.open(),e.success?(j.updateNote=!1,n[l]=e.note,a.success(e.message,"Note Updated")):a.error(e.message),j.noteText="",o.resetFormValidation(s),p.close()})}else p.open(),t.addTradeNote(e,i).then(function(e){e.success?(a.success(e.message,"Note Added"),n.push(e.note)):a.error(e.message),j.noteText="",o.resetFormValidation(s),p.close()})}function Q(){}function R(){j.addingDocument=!0}var j=this;m()}e.$inject=["Upload","tradeBook","toastr","deModal","apiEndPoints","trade","utilities","appConstants","appFormats","$state","shipmentStatus","dropDownConfig","shipping","loaderModal"],angular.module("app.dashboard.tradeBook").controller("TransactionView",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l,A,d,c){function u(){f.isCurrentUserSuperUser=t.currentUserIsSuperUser(),f.locationConfig={},f.locationOptions={},f.designationOptions={},f.designationConfig={},f.userProfile=n,f.cancel=p,f.imagesData=null,f.userData=t.getUserData(),f.picture=a("profilePicture")(n.profilePic),f.noPicture=n.profilePic?!0:!1,f.updateUser=h,f.addUser=v,f.removePicture=m,f.uploadPicture=g,f.getFile=b,o.prepareBusinessLocationsDropDown(f.locationConfig,f.locationOptions),o.prepareDesignationDropDown(f.designationConfig,f.designationOptions)}function p(){try{d.go(d.current.prevState,d.current.prevParam)}catch(e){d.go("dashboard.main")}}function m(){f.noPicture=!0,n.profilePic=null,f.picture=a("profilePicture")(n.profilePic)}function g(){var e=document.getElementById("uploadFile");e.click()}function v(e,t,a){e.$valid?(c.open(),A.addUserProfile(t,a).then(function(e){e.success?f.noPicture||A.addProfilePic(a,e.user_id).then(function(t){r.success(e.message,"Success")}):(r.error(e.message),s.goBackState()),p(),c.close()})):r.error("Please enter the missing fields","Invalid Form")}function h(e,a,i){e.$valid?(c.open(),A.updateUserProfile(a,i).then(function(e){console.log(e),e.success?(f.noPicture?r.success(e.message,"Success"):A.addProfilePic(i,e.user_id).then(function(a){f.userData.data.id===e.user_id&&t.getUserData(!0),r.success(e.message,"Success")}),p(),c.close()):r.error(e.message)})):r.error("Please enter the missing fields","Invalid Form")}function b(t){e.readAsDataUrl(t,l).then(function(e){i.openImageCropper(e,1,[{w:200,h:200},{w:100,h:100}],{width:100,height:100},function(e){f.picture=e.croppedImage,f.imagesData=e})})}var f=this;u()}e.$inject=["fileReader","authentication","$filter","deModal","userProfile","utilities","dropDownConfig","toastr","$scope","user","$state","loaderModal"],angular.module("app.dashboard.user").controller("ProfilePage",e)}(),angular.module("app",["app.core","textAngularSetup","app.common","app.theme","app.modal","app.landing","app.authentication","app.dashboard","app.widgets"]),function(){"use strict";function e(e,t,a,i,n,s,o,r,l,A,d,c){function u(e,t){d.open(),l.authenticate(e).then(function(e){e.data.success?(s.success(e.message),t()):s.error(e.data.message),d.close()},function(e){s.error("Unable to save your google analytics token")})["finally"](function(){d.close()})}function p(){return v().data.businessId}function m(){return v().data.rights.businessAnalytics}function g(){return v().data.isSuperuser}function v(e){return _.isEmpty(C)||e?w.customGET().then(function(e){return h(e.userData),v()}):C}function h(e){C.data=e;var t=e.rights.userManagement,a=e.rights.businessAnalytics;t&&c.addStaticItem({title:"User Management",icon:"ion-android-contacts",stateRef:"dashboard.user.list"}),a?c.addStaticItem({title:"Trade Book",icon:"ion-social-usd",priority:7,subMenu:[{title:"Dashboard",stateRef:"dashboard.tradeDashboard"},{title:"Business Analytics",stateRef:"dashboard.internationalTradeAnalytics"},{title:"Trade Book",stateRef:"dashboard.tradeBook"}]}):c.addStaticItem({title:"Trade Book",icon:"ion-social-usd",stateRef:"dashboard.tradeDashboard",priority:7})}function b(e,t,l){w.post({username:t,password:l}).then(function(e){h(e.userData),i.defaults.headers.post["X-CSRFToken"]=n.get("csrftoken"),i.defaults.headers.put["X-CSRFToken"]=n.get("csrftoken");var t=A.get("lastState");t&&t.stateOnLogin&&"login"!==t.stateOnLogin?a.go(t.stateOnLogin,t.stateParamsOnLogin):a.go("dashboard.main")},function(e){"INVALID_CREDENTIALS"===e.data&&e.status===o.NOT_FOUND&&s.error("You username or password seems to be incorrect!","Invalid Credentials"),console.log(e)})["finally"](function(){r.resetFormValidation(e)})}function f(){y.post().then(function(e){if(e.success){var t={stateOnLogin:a.current.name,stateParamsOnLogin:a.params};A.set("lastState",t),a.go("login")}})}var w=(e.all(t.authentication.basic),e.all(t.login)),y=e.all(t.logout),C={};return{login:b,logout:f,getUserData:v,setUserData:h,getUserBusinessId:p,authenticate:u,currentUserIsSuperUser:g,hasBusinessAnalyticsAccess:m}}e.$inject=["Restangular","apiEndPoints","$state","$http","$cookies","toastr","httpStatus","utilities","$auth","localStorageService","loaderModal","baSidebarService"],angular.module("app.authentication").factory("authentication",e)}(),function(){"use strict";function e(e,t,a,i){function n(e){var t={pageSize:"A4",header:{margin:[20,10,30,0],columns:[{table:{widths:["70%","35%"],body:[[{image:i.LOGO,width:180,height:90},{alignment:"right",table:{body:[[{text:"Phone",border:[!1,!1,!1,!1],style:"boldHeader"},{text:"+92-21-32430152-5 (4 Lines)",style:"boldSubHeader",border:[!1,!1,!1,!1]}],[{text:"Fax",border:[!1,!1,!1,!1],style:"boldHeader"},{text:"+92-21-3243213-32431366",style:"boldSubHeader",border:[!1,!1,!1,!1]}],[{text:"Email",border:[!1,!1,!1,!1],style:"boldHeader"},{text:"info@doniGroup.com",style:"boldSubHeader",border:[!1,!1,!1,!1]}],[{text:"Website",border:[!1,!1,!1,!1],style:"boldHeader"},{text:"www.doniGroup.com",style:"boldSubHeader",border:[!1,!1,!1,!1]}]]}}]]},layout:"noBorders"}]},footer:{margin:[0,10,0,0],columns:[{table:{widths:["10%","30%","60%"],body:[[{text:"",fillColor:"#3C3837",border:[!1,!1,!1,!1]},{text:"",fillColor:"#E10915",border:[!1,!1,!1,!1],style:"redBox"},{text:"",fillColor:"#3C3837",border:[!1,!1,!1,!1]}]]}}]},content:e,pageMargins:[40,180,20,15],styles:{boldHeader:{fontSize:10,alignment:"left",bold:!0},boldSubHeader:{fontSize:10},redBox:{},subheader:{fontSize:15,bold:!0},quote:{italics:!0},small:{fontSize:8}}};return t}function s(e){var t=n([]),a=t;pdfMake.createPdf(a).open()}function o(t,n,s){var o=[t],r=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/;angular.forEach(s,function(t,i){var s=[];angular.forEach(n,function(i,n){r.test(t[i])?s.push(e("date")(new Date(t[i]),a.Date)):s.push(t[i])}),o.push(s)});var l={pageSize:"LEGAL",pageOrientation:"landscape",pageMargins:[40,80,40,60],styles:{header:{fontSize:18,bold:!0,margin:[0,0,0,10],textAlign:"center"},content:{fontSize:12}},footer:function(e,t){return e.toString()+" of "+t},header:function(e,t){return{margin:8,columns:[{table:{widths:["*","auto"],headerRows:1,body:[[{image:i.LOGO,width:120,height:60,border:[!1,!0,!0,!0],style:"header"}]]},layout:"noBorders"}],alignment:e%2?"left":"right"}},content:{style:"content",table:{body:o}}};pdfMake.createPdf(l).open()}function r(t,i,n,s){var o={};for(var r in t)o[t[r]]=null;var A=/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/,d=[];angular.forEach(n,function(n,s){var r=angular.copy(o);angular.forEach(i,function(i,s){A.test(n[i])&&(n[i]=e("date")(new Date(n[i]),a.Date)),r[t[s]]=n[i]}),d.push(r)}),l(d,!0,s)}function l(e,a,i){var n="object"!=typeof e?JSON.parse(e):e,s="";if(a){var o="";for(var r in n[0])o+=r+",";o=o.slice(0,-1),s+=o+"\r\n"}for(var l=0;l<n.length;l++){var A="";for(var d in n[l]){var c=n[l][d]?n[l][d]:"";A+='"'+c+'",'}A.slice(0,A.length-1),s+=A+"\r\n"}if(""!==s){var u=i+".csv",p=!1;if((-1!==navigator.userAgent.indexOf("MSIE")||navigator.appVersion.indexOf("Trident/")>0)&&(p=!0),p){var m=new Blob([s]);window.navigator.msSaveBlob(m,u)}else{var g="data:text/csv;charset=utf-8,"+encodeURI(s),v=document.createElement("a");v.href=g,v.download=u,document.body.appendChild(v),t(function(){v.click()}),document.body.removeChild(v)}}}return{getTableInExcelSheet:r,printPDF:o,createA4Document:s}}e.$inject=["$filter","$timeout","appFormats","images"],angular.module("app.common").factory("documentExporter",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r){function l(e,t){function i(){return[{text:"By Day",value:"day",order:1},{text:"By Week",value:"week",order:2},{text:"By Month",value:"month",order:3},{text:"By Year",value:"year",order:4}]}a.cloneIntoEmptyObject(e,W()),t.onItemRemove=function(e,a){var i=this,n=_.find(t,function(t){return t.value==e});t.list.push(n),i.refreshItems()},a.cloneIntoEmptyObject(t,i())}function A(e,t,s){function o(e,t){return'<div><span class="dropdownLabel">'+e.fileId+'</span><span class="dropdownCaption"> | '+(e.contractId?e.contractId:"NA")+'</span><span class="dropdownCaption"> | '+e.buyerName+'</span><span class="dropdownCaption"> | '+e.sellerName+'</span><span class="dropdownCaption"> | '+(e.blNo?e.blNo:"NA")+"</span></div>"}var r={valueField:"fileId",sortField:"fileId",searchField:["fileId","contractId","blNo","buyerName","sellerName"],render:{item:o,option:o},onItemRemove:function(e,a){var i=this,n=_.find(t.list,function(t){return t.fileId==e});t.list.push(n),i.refreshItems()}};s||(r.maxItems=1),a.cloneIntoEmptyObject(e,r),i.dropDownAPI.customGET(n.dropDown.transaction).then(function(e){return a.cloneIntoEmptyObject(t,e.transactionList)})}function d(e,t,s){function o(e,t){return'<div><span class="dropdownLabel">'+e.fileId+'</span><span class="dropdownCaption"> | '+e.contractId+'</span><span class="dropdownCaption"> | '+e.buyerName+'</span><span class="dropdownCaption"> | '+e.sellerName+"</span></div>"}var r={valueField:"fileId",sortField:"fileId",searchField:["fileId","contractId","blNo"],render:{item:o,option:o},onItemRemove:function(e,t){var a=this,i=_.find(fileIdOptions.list,function(t){return t.fileId==e});fileIdOptions.list.push(i),a.refreshItems()}};s||(r.maxItems=1),a.cloneIntoEmptyObject(e,r),i.dropDownAPI.customGET(n.dropDown.localTrade).then(function(e){return a.cloneIntoEmptyObject(t,e.transactionList)})}function c(){}function u(e,t){function o(e,t){return'<div><span class="dropdownLabel">'+e.name+'</span><span class="dropdownCaption"> | '+e.loCode+'</span><span class="dropdownCaption"> | '+e.country+"</span></div>"}var r={onItemRemove:function(e,a){var i=this,n=_.find(t.list,function(t){return t.id==e});t.list.push(n),i.refreshItems()},valueField:"id",sortField:"name",searchField:["name","loCode","country"],maxItems:1,create:!1,persist:!1,render:{item:o,option:o}};return a.cloneIntoEmptyObject(e,r),i.dropDown[s.READ](n.dropDown.ports).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function p(e,t){function o(e,t){return'<div><span class="dropdownLabel">'+e.name+'</span><span class="dropdownCaption"> | '+e.codeName+"</span>"}var r={onItemRemove:function(e,a){var i=this,n=_.find(t.list,function(t){return t.id==e});t.list.push(n),i.refreshItems()},valueField:"id",sortField:"name",searchField:["name","codeName"],maxItems:1,create:!1,persist:!1,render:{item:o,option:o}};return a.cloneIntoEmptyObject(e,r),i.dropDown[s.READ](n.dropDown.shippingLine).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function m(e,t){a.cloneIntoEmptyObject(e,W()),i.dropDown[s.READ](n.dropDown.packaging,o.DROP_DOWN).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function g(e,t){a.cloneIntoEmptyObject(e,W()),i.dropDown[s.READ](n.dropDown.commissionType,o.DROP_DOWN).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function v(e,t){return'<div><span class="dropdownLabel">'+e.month+'</span><span class="dropdownCaption"> | '+e.year+"</span></div>"}function h(e,t){a.cloneIntoEmptyObject(e,W()),e.onItemRemove=function(e,a){var i=this,n=_.find(t.list,function(t){return t.id==e});t.list.push(n),i.refreshItems()},i.dropDown[s.READ](n.dropDown.contactType,o.DROP_DOWN).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function b(e,t){var i=e.country?e.country:"No Origin",n=null===e.contactPerson?"No Primary Contact":e.contactPerson;return'<div><span class="dropdownLabel">'+a.manageTextOverFlow(e.name,20)+'</span><span class="dropdownCaption"> | '+i+'</span><span class="dropdownCaption"> | '+n+"</span></div>"}function f(e,t){var a=e.country?e.country:"No Origin",i=null===e.contactPerson?"No Primary Contact":e.contactPerson;return'<div><span class="dropdownLabel">'+e.name+'</span><span class="dropdownCaption"> | '+a+'</span><span class="dropdownCaption"> | '+i+"</span></div>"}function w(e,t,o){var r={onItemRemove:function(e,a){var i=this,n=_.find(t.list,function(t){return t.id==e});t.list.push(n),i.refreshItems()},valueField:"id",sortField:"name",searchField:["name","contactPerson","country"],maxItems:1,create:!1,persist:!1,render:{item:b,option:f}};a.cloneIntoEmptyObject(e,r),i.dropDown[s.READ](n.dropDown.business,{type:o}).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function y(e,t){a.cloneIntoEmptyObject(e,W(!0,t)),i.dropDown[s.READ](n.dropDown.bpType,o.DROP_DOWN).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function C(e,t){a.cloneIntoEmptyObject(e,W(!1,t)),i.dropDown[s.READ](n.dropDown.warehouses,o.DROP_DOWN).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function I(e,t,o){var r={onItemRemove:function(e,a){var i=this,n=_.find(t.list,function(t){return t.startMonth==e});t.list.push(n),i.refreshItems()},valueField:"startMonth",sortField:"startMonth",searchField:["month","year"],create:!1,persist:!1,render:{item:v,option:v}};return a.cloneIntoEmptyObject(e,r),i.dropDown[s.READ](n.dropDown.shipmentMonth,o).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function D(e,t){return'<div><span class="dropdownLabel">'+e.origin+'</span><span class="dropdownCaption"> | '+e.currency+"</span></div>"}function k(e,t,o){var r={onItemRemove:function(e,a){var i=this,n=_.find(t.list,function(t){return t.id==e});t.list.push(n),i.refreshItems()},valueField:"id",sortField:"origin",searchField:["origin","currency"],maxItems:1,create:!1,persist:!1,render:{item:D,option:D}};return o&&(r.onChange=o),a.cloneIntoEmptyObject(e,r),i.dropDown[s.READ](n.dropDown.priceMarket).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function x(e,t){var i=""===e.keywords?"No Keywords":e.keywords;return'<div><span class="dropdownLabel">'+a.manageTextOverFlow(e.name,20)+'</span><span class="dropdownCaption"> | '+e.origin+'</span><span class="dropdownCaption" style="max-width: 80px;text-overflow: ellipsis"> | '+a.manageTextOverFlow(i,15)+"</span></div>"}function P(e,t){var a=""===e.keywords?"No Keywords":e.keywords;return'<div><span class="dropdownLabel">'+e.name+'</span><span class="dropdownCaption"> | '+e.origin+'</span><span class="dropdownCaption" style="max-width: 80px;text-overflow: ellipsis"> | '+a+"</span></div>"}function B(e,t,o){o=o?o:!1;var r={onItemRemove:function(e,a){var i=this,n=_.find(t.list,function(t){return t.id==e});t.list.push(n),i.refreshItems()},valueField:"id",sortField:"name",searchField:["name","origin","keywords"],maxItems:1,create:!1,persist:!1,render:{item:x,option:P}};return a.cloneIntoEmptyObject(e,r),i.dropDown[s.READ](n.dropDown.productItem,{pricingOnWebsiteOnly:o}).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function T(e,t){var a=e.name;return'<div><span class="dropdownLabel">'+a+'</span><span class="dropdownCaption"> | '+e.code+"</span></div>"}function E(e,t){var o={onItemRemove:function(e,a){var i=this,n=_.find(t.list,function(t){return t.code==e});productOptions.list.push(n),i.refreshItems()},valueField:"code",sortField:"name",searchField:["name"],maxItems:1,create:!1,persist:!1,render:{item:T,option:T}};return a.cloneIntoEmptyObject(e,o),i.dropDown[s.READ](n.dropDown.currency).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function S(e,t,o,r){var l={};return a.cloneIntoEmptyObject(e,W(!0,t,"id","name")),o?i.dropDown[s.READ](n.dropDown.productKeywords,o).then(function(e){return a.cloneIntoEmptyObject(l,e.list),r&&r(),a.cloneIntoEmptyObject(t,e.list)}):void 0}function F(e,t,o,r,l,A,d){var c={onItemRemove:function(e,a){var i=this,n=_.find(t.list,function(t){return t.id==e});t.list.push(n),i.refreshItems()},valueField:"id",sortField:"name",searchField:["name"],maxItems:1,create:!1,persist:!1,render:{item:M,option:M}};return o&&(c.onChange=function(e){d(o,r,l,A,e)}),a.cloneIntoEmptyObject(e,c),i.dropDown[s.READ](n.dropDown.product).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function M(e,t){var a=e.name;return'<div><span class="dropdownLabel">'+a+'</span><span class="dropdownCaption"> | '+e.category+"</span></div>"}function O(e,t,o,r){var l={},A={onItemRemove:function(e){var a=_.find(l.list,function(t){return t.code==e});t.list.push(a);var i=this;i.refreshItems()},maxItems:1,valueField:"code",sortField:"name",searchField:["name"],openOnFocus:!0,closeOnSelect:!0,create:!1,persist:!1,render:{item:Q,option:Q}};return a.cloneIntoEmptyObject(e,A),o?i.dropDown[s.READ](n.dropDown.productOrigin,o).then(function(e){a.cloneIntoEmptyObject(l,e.list),a.cloneIntoEmptyObject(t,e.list),r&&r()}):void 0}function L(e,t,o,r){e&&(a.cloneIntoEmptyObject(e,W()),r&&(e.onChange=function(e){console.log(e),r(e)})),o&&i.dropDown[s.READ](n.dropDown.region,o).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function N(e,t,o,r){e&&a.cloneIntoEmptyObject(e,W()),o&&i.dropDown[s.READ](n.dropDown.city,{countryCode:o,region:r}).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function Q(e,t){var a=e.name;
  return'<div><img width="18" src="'+r.STATIC_URL+e.image+'"/><span class="dropdownLabel">&nbsp;&nbsp;&nbsp;'+a+"</span></div>"}function R(e,t,r,l){var A={},d={onItemRemove:function(e){var a=_.find(A.list,function(t){return t.code==e});t.list.push(a);var i=this;i.refreshItems()},valueField:"code",sortField:"name",searchField:["name"],openOnFocus:!0,closeOnSelect:!0,create:!1,persist:!1,render:{item:Q,option:Q}};l&&(d.maxItems=l),r&&(d.onChange=function(e,t,a,i){r(e)}),a.cloneIntoEmptyObject(e,d),i.dropDown[s.READ](n.dropDown.country,o.DROP_DOWN).then(function(e){return a.cloneIntoEmptyObject(A,e.list),a.cloneIntoEmptyObject(t,e.list)})}function j(){return{options:[],create:!0,sortField:"text",valueField:"text",labelField:"text",maxItems:1}}function z(){return{options:[{text:"Bulk"},{text:"Bagged"}],create:!0,sortField:"text",valueField:"text",labelField:"text",maxItems:1}}function W(e,t,a,i){var n={plugins:{"no-delete":{}},valueField:"id",sortField:"name",searchField:["name"],maxItems:1,create:!1,persist:!1,render:{item:function(e,t){var a=e.name;return'<div><span class="dropdownLabel">'+a+"</span></div>"},option:function(e,t){var a=e.name;return'<div><span class="dropdownLabel">'+a+"</span></div>"}}};return a=a?a:"id",i=i?i:"name",e&&(delete n.maxItems,delete n.plugins,n.onItemRemove=function(e,n){var s=this,o={};o[a]=e,o[i]=n[0].innerText,t&&t.list.push(o),s.refreshItems()}),n}function U(){var e={plugins:{"no-delete":{}},valueField:"id",sortField:"name",searchField:["address","city","state","country"],maxItems:1,create:!1,persist:!1,render:{item:function(e,t){var a=e.address,i=e.city,n=e.country;e.state;return'<div><span class="dropdownLabel">'+a+'</span><span class="dropdownCaption"> | '+i+'</span><span class="dropdownCaption"> | '+n+"</span></div>"},option:function(e,t){var a=e.address,i=e.city,n=e.country;e.state;return'<div class="item"><span class="dropdownLabel">'+a+'</span><span class="dropdownCaption"> | '+i+'</span><span class="dropdownCaption"> | '+n+"</span></div>"}}};return e}function G(e,i){a.cloneIntoEmptyObject(e,U()),t.getBusinessPartnerLocation("drop_down").then(function(e){a.cloneIntoEmptyObject(i,e.locations)})}function H(e,t){return a.cloneIntoEmptyObject(e,W()),i.dropDown[s.READ](n.dropDown.productCategory).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function q(e,t){a.cloneIntoEmptyObject(e,W(!1,t)),i.dropDown[s.READ](n.dropDown.priceMetric,o.DROP_DOWN).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function $(e,t){a.cloneIntoEmptyObject(e,W()),i.dropDown[s.READ](n.dropDown.designation,o.DROP_DOWN).then(function(e){return a.cloneIntoEmptyObject(t,e.list)})}function Y(){return{plugins:{"no-delete":{}},valueField:"text",labelField:"text",options:[{id:1,text:"Fax Numbers"},{id:2,text:"Mobile"},{id:3,text:"Office"},{id:4,text:"Residential"}],sortField:"text",maxItems:1}}return{getBasicDropDownConfig:W,contactTypeConfig:Y,prepareProductItemDropDown:B,prepareBusinessDropDown:w,getPackingConfig:z,getCommissionTypeConfig:j,getBpLocationConfig:U,prepareBusinessLocationsDropDown:G,prepareDesignationDropDown:$,prepareProductCategoryDropDown:H,prepareCountryDropDown:R,prepareKeywordDropDown:S,prepareProductDropDown:F,prepareProductOriginDropDown:O,prepareCurrencyDropDown:E,preparePriceMarketDropDown:k,prepareShipmentMonthDropDown:I,preparePriceMetricConfig:q,prepareRegionDropDown:L,prepareCityDropDown:N,prepareByTypesDropDown:y,prepareContactNumberTypeDropDown:h,preparePackagingConfig:m,prepareCommissionTypeConfig:g,prepareShippingLineConfig:p,prepareShippingPortConfig:u,prepareShippingVesselConfig:c,prepareWarehouseDropDown:C,prepareInternationalFileIdAutoComplete:A,prepareLocalTradeConfig:d,prepareTimeDrillOptions:l}}e.$inject=["Restangular","businessPartner","utilities","settings","apiEndPoints","crud","read","appConstants"],angular.module("app.common").factory("dropDownConfig",e)}(),function(){"use strict";Date.prototype.addDays=function(e){var t=new Date(this.valueOf());return t.setDate(t.getDate()+e),t},Date.prototype.removeTime=function(){return moment(this).format("LL")},Date.prototype.addTimeZoneOffset=function(){var e=this.getTimezoneOffset(),t=e/60;return this.setHours(this.getHours()+t),this},String.prototype.capitalizeFirstLetter=function(){return this.charAt(0).toUpperCase()+this.slice(1)}}(),function(){"use strict";var e=(window.location.origin,{LOGO:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAADhcAAAeqCAYAAADRr8GDAAAACXBIWXMAAFxGAABcRg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",READ:"READ"},a={STATIC_URL:"http://tramodity.com/static/",HOST:"http://tramodity.com/"},i={OK:200,CREATED:201,ACCEPTED:202,NO_CONTENT:204,BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,INTERNAL_SERVER_ERROR:500,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503},n={ShipmentMonth:"MMMM, yyyy",Date:"MMM dd, yyyy",FullDate2:"MMMM dd, yyyy",FullDate:"MMMM D, YYYY",DateAsFilter:'date:"dd-MMM-yyyy"',Time:"MMM dd, yyyy hh:mm a ",DBDate:"yyyy-MM-dd HH:mm:ss"},s={PRODUCTS:"Products",PRODUCT_ITEMS:"Product_Items",PRICE_MARKET:"Price_Market",BP:"Business_Partner",BUYER:"Buyer",SELLER:"Seller",SHIPPER:"Shipper",BROKER:"Broker",LOCAL_TRADER:"Local Trader",LOCAL_BUYER:"Local Buyer",LOCAL_SELLER:"Local Seller",TRANSACTION_STATUS:"Transaction_Status",COUNTRY:"Country",ORIGIN:"Origin",CONTRACT_TYPES:"Contract_Types",COMMISSION_TYPES:"Commission_Types",USERS:"Users",BP_TYPES:"business_type"},o={TransactionBasicChanged:"TransactionBasicChanged"},r={ALL:"all",DROP_DOWN:"drop_down"},l={NOT_SHIPPED:"NOT_SHIPPED",APPROBATION_RECEIVED:"APPROBATION_RECEIVED",SHIPPED:"SHIPPED",ARRIVED_AT_PORT:"ARRIVED_AT_PORT"};angular.module("app.common").constant("images",e).constant("httpStatus",i).constant("crud",t).constant("appFormats",n).constant("appEvents",o).constant("appTabFilter",s).constant("read",r).constant("appConstants",a).constant("shipmentStatus",l)}(),function(){"use strict";function e(e){function t(){$("#body-wrap").addClass("print-preview"),e.print()}return function(){var e=function(){},t=function(){$("#body-wrap").removeClass("print-preview")};if(window.matchMedia){var a=window.matchMedia("print");a.addListener(function(a){a.matches?e():t()})}window.onbeforeprint=e,window.onafterprint=t}(),{print:t}}e.$inject=["$window"],angular.module("app.common").service("printPage",e)}(),function(){"use strict";function e(e,t){function a(){return r}function i(){r.splice(0,r.length),n()}function n(){e.set("recentItems",_.uniqBy(r,"pageTitle"))}function s(){var t=e.get("recentItems");i(),t&&angular.forEach(t,function(e){r.push(e)})}function o(e){r.push({pageTitle:e,pageStateName:t.current.name,pageStateParams:t.params,time:new Date}),n()}var r=[];return s(),{recentItems:r,getRecentlyViewedItems:a,addRecentlyViewItems:o,saveRecentItemsToLocalStorage:n,getRecentItemsFromLocalStorage:s,clearRecentItems:i}}e.$inject=["localStorageService","$state"],angular.module("app.common").factory("routing",e)}(),function(){"use strict";var e={authentication:{basic:"auth",googleAnalytics:"google_analytics"},login:"login",logout:"logout",user:"user",changePassword:"changePassword",bp:{main:"business",list:"list",basic:"basic",bank:"bank",location:"location",contactPerson:"contact_person",contactNumber:"contact_number",product:"product",self:"self",report:"report"},dashboard:{main:"dashboard",searchPageTop:"search_top"},manifest:"manifest",manifestDashboard:"manifest/dashboard",transaction:{main:"transactions",dashboard:"dashboard",businessAnalytics:"businessAnalytics",list:"list",basic:"basic",commission:"commission",contract:"contract",document:"document",note:"note",secondary:"secondary",shipmentStatus:"shipmentStatus",completeStatus:"completeStatus",washout:"washout",cashFlow:"cash_flow",arrivedAtPortInfo:"arrived_at_port_info",notShippedInfo:"not_shipped_info",shippedInfo:"shipped_info",approbationReceivedInfo:"approbation_received_info",dispute:"dispute"},shipping:{main:"shipping",ports:"ports",shippingLine:"line",shippingVessel:"vessel",shippingVesselTag:"vessel_tag",portTag:"port_tag"},tabFilters:"tabFilters",pricing:"pricing",pricingSummary:"summary",pricingMarket:"price_market",productItem:"product_item",productItemPriceOnWebsite:"price_on_website",productPriceReport:"price_report",dropDown:{main:"dropDown",bpType:"business_type",productItem:"product_item",businessType:"business_type",contactType:"contact_type",contractType:"contract_type",designation:"designation",productKeywords:"product_keywords",transactionStatus:"transaction_status",productCategory:"product_category",country:"country",region:"region",city:"city",commissionType:"commission_type",packaging:"packaging",product:"product_drop_down",productOrigin:"product_origin",currency:"currency",priceMarket:"price_market",shipmentMonth:"shipment_month",priceMetric:"price_metric",business:"business",shippingLine:"shipping_line",ports:"ports",vessel:"vessel",warehouses:"warehouses",transaction:"transaction",localTrade:"localTransaction"},product:"product",productTags:"product_tags",productWebsiteStatus:"website_status",productOrigin:"origin",productKeywords:"keywords",productCategory:"category",productCategorySpecification:"category/specification",website:{basic:"website",research:"research",researchTags:"research_tags",homeSlider:"homeSlider",team:"team",dashboard:"dashboard"},currencyExchange:{main:"currency_exchange",dashboard:"dashboard"},accounts:{main:"accounts",dashboard:"dashboard",commissionFlow:"commission_flow",invoice:"invoice"},notification:{main:"notifications",unreadCount:"api/unread_count",unreadList:"api/unread_list"},inventory:{main:"inventory",warehouse:"warehouse",warehouseRent:"warehouse_rent",dashboard:"dashboard",transaction:"transaction",warehouseProductReport:"warehouse_product_report",warehouseBusinessReport:"warehouse_business_report"},localTrade:{main:"local_trade",trade:"trade",tradeStatus:"trade/status",tradeList:"trade/list",dashboard:"dashboard",deliverySlip:"delivery_slip"}};angular.module("app.core").constant("apiEndPoints",e)}(),function(){"use strict";function e(e){return function(t,a){return console.log("hello",t),t?(-1===t.indexOf("Z")&&-1===t.indexOf("+")&&(t+="Z"),e("date")(t,a)):void 0}}function t(){return function(e){return new Date(1970,0,1).setSeconds(e)}}function a(){return function(e,t,a){return console.log(t,e,a),t?e.filter(function(e,i,n){return e[a]?0===e[a].toLowerCase().indexOf(t.toLowerCase()):void 0}):e}}function i(){return function(e,t,a){return t?e.filter(function(e,i,n){return e[a]?0===e[a].toLowerCase().indexOf(t.toLowerCase()):void 0}):e}}function n(){return function(e,t){return _.uniqBy(e,t)}}function s(){return function(e,t,a){return t&&0!==t.length?e.filter(function(e,i,n){return e[a]?t.indexOf(e[a])<=-1:void 0}):e}}function o(){return function(e,t){t=parseInt(t);for(var a=0;t>a;a++)e.push(a);return e}}e.$inject=["$filter"],angular.module("app.core").filter("selectFilter",a).filter("selectFilterDropDown",i).filter("selectedRows",s).filter("uniqueByAttribute",n).filter("range",o).filter("secondsToDateTime",t).filter("utcToLocal",e).filter("latLong",function(){return function(e){e=e.split(" ");var t=parseFloat(e[0]),a=1;return("S"==e[1]||"W"==e[1])&&(a=-1),t*a}}).filter("plusOrMinus",function(){return function(e){return e=e?e:0,e>0?e:"-"+e}}).filter("usd",function(){return function(e){return"US$ "+e.toString()}}).filter("digitInString",function(){return function(e,t,a){var i=_.sortBy(e,function(e){var a=e[t].search("[a-zA-Z]"),i=-1==a?e[t]:e[t].slice(0,a);return console.log(e[t],i,a),parseInt(i)});return a?_.reverse(i):i}}).filter("weight",function(){return function(e,t){if(0===e)return'0.0 <span class="titled">Kgs</span>';if(isNaN(parseFloat(e))||!isFinite(e))return"-";"undefined"==typeof t&&(t=1);var a=["Kgs","MT","KMT"],i=Math.floor(Math.log(e)/Math.log(1e3));return i=i<a.length?i:a.length-1,(e/Math.pow(1e3,Math.floor(i))).toFixed(t)+' <span class="titled">'+a[i]+"</span>"}}).filter("percentage",["$filter",function(e){return function(t,a){var i=t>1?t:100*t;return e("number")(i,a)+"%"}}]).filter("positive",function(){return function(e){return e?Math.abs(e):0}})}(),function(){"use strict";function e(e){e.defaults.withCredentials=!0,e.defaults.xsrfCookieName="csrftoken",e.defaults.xsrfHeaderName="X-CSRFToken",e.interceptors.push(["$cookies",function(e){return{request:function(t){return t.headers["X-CSRFToken"]=e.get("csrftoken"),t}}}])}function t(e,t,a,i,n){function s(e,t,a,i,n,s,o){var r=new Date,l=r.getTimezoneOffset()/60,A={"Hour-Difference":l};return angular.extend(n,A)}function o(e,t,a){return e}function r(e,s,o){if(e.status===t.FORBIDDEN){var r={stateOnLogin:a.current.name,stateParamsOnLogin:a.params};return n.set("lastState",r),a.go("login"),i.close(),!1}return!0}e.setErrorInterceptor(r),e.addResponseInterceptor(o),e.addFullRequestInterceptor(s)}e.$inject=["$httpProvider"],t.$inject=["Restangular","httpStatus","$state","loaderModal","localStorageService"],angular.module("app.core").config(e).run(t)}(),function(){"use strict";function e(){Selectize.define("no-delete",function(e){this.deleteSelection=function(){}})}angular.module("app.core").config(["$qProvider","$injector",function(e,t){t.invoke(["$qProvider",function(e){e.errorOnUnhandledRejections(!1)}])}]).run(e)}(),function(){"use strict";function e(e,t,a,i){function n(e,t){return a.dropDown[i.READ](e,t,!0)}e.all(t.dropDown.main);return{getTabFilters:n}}e.$inject=["Restangular","apiEndPoints","settings","crud"],angular.module("app.core").factory("tabFilter",e)}(),/*
   html2canvas 0.5.0-beta3 <http://html2canvas.hertzen.com>
   Copyright (c) 2016 Niklas von Hertzen
  
   Released under  License
   */
  !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.html2canvas=e()}}(function(){var e;return function t(e,a,i){function n(o,r){if(!a[o]){if(!e[o]){var l="function"==typeof require&&require;if(!r&&l)return l(o,!0);if(s)return s(o,!0);var A=new Error("Cannot find module '"+o+"'");throw A.code="MODULE_NOT_FOUND",A}var d=a[o]={exports:{}};e[o][0].call(d.exports,function(t){var a=e[o][1][t];return n(a?a:t)},d,d.exports,t,e,a,i)}return a[o].exports}for(var s="function"==typeof require&&require,o=0;o<i.length;o++)n(i[o]);return n}({1:[function(t,a,i){(function(t){!function(n){function s(e){throw RangeError(O[e])}function o(e,t){for(var a=e.length;a--;)e[a]=t(e[a]);return e}function r(e,t){return o(e.split(M),t).join(".")}function l(e){for(var t,a,i=[],n=0,s=e.length;s>n;)t=e.charCodeAt(n++),t>=55296&&56319>=t&&s>n?(a=e.charCodeAt(n++),56320==(64512&a)?i.push(((1023&t)<<10)+(1023&a)+65536):(i.push(t),n--)):i.push(t);return i}function A(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=Q(e>>>10&1023|55296),e=56320|1023&e),t+=Q(e)}).join("")}function d(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:I}function c(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function u(e,t,a){var i=0;for(e=a?N(e/P):e>>1,e+=N(e/t);e>L*k>>1;i+=I)e=N(e/L);return N(i+(L+1)*e/(e+x))}function p(e){var t,a,i,n,o,r,l,c,p,m,g=[],v=e.length,h=0,b=T,f=B;for(a=e.lastIndexOf(E),0>a&&(a=0),i=0;a>i;++i)e.charCodeAt(i)>=128&&s("not-basic"),g.push(e.charCodeAt(i));for(n=a>0?a+1:0;v>n;){for(o=h,r=1,l=I;n>=v&&s("invalid-input"),c=d(e.charCodeAt(n++)),(c>=I||c>N((C-h)/r))&&s("overflow"),h+=c*r,p=f>=l?D:l>=f+k?k:l-f,!(p>c);l+=I)m=I-p,r>N(C/m)&&s("overflow"),r*=m;t=g.length+1,f=u(h-o,t,0==o),N(h/t)>C-b&&s("overflow"),b+=N(h/t),h%=t,g.splice(h++,0,b)}return A(g)}function m(e){var t,a,i,n,o,r,A,d,p,m,g,v,h,b,f,w=[];for(e=l(e),v=e.length,t=T,a=0,o=B,r=0;v>r;++r)g=e[r],128>g&&w.push(Q(g));for(i=n=w.length,n&&w.push(E);v>i;){for(A=C,r=0;v>r;++r)g=e[r],g>=t&&A>g&&(A=g);for(h=i+1,A-t>N((C-a)/h)&&s("overflow"),a+=(A-t)*h,t=A,r=0;v>r;++r)if(g=e[r],t>g&&++a>C&&s("overflow"),g==t){for(d=a,p=I;m=o>=p?D:p>=o+k?k:p-o,!(m>d);p+=I)f=d-m,b=I-m,w.push(Q(c(m+f%b,0))),d=N(f/b);w.push(Q(c(d,0))),o=u(a,h,i==n),a=0,++i}++a,++t}return w.join("")}function g(e){return r(e,function(e){return S.test(e)?p(e.slice(4).toLowerCase()):e})}function v(e){return r(e,function(e){return F.test(e)?"xn--"+m(e):e})}var h="object"==typeof i&&i,b="object"==typeof a&&a&&a.exports==h&&a,f="object"==typeof t&&t;(f.global===f||f.window===f)&&(n=f);var w,y,C=2147483647,I=36,D=1,k=26,x=38,P=700,B=72,T=128,E="-",S=/^xn--/,F=/[^ -~]/,M=/\x2E|\u3002|\uFF0E|\uFF61/g,O={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=I-D,N=Math.floor,Q=String.fromCharCode;if(w={version:"1.2.4",ucs2:{decode:l,encode:A},decode:p,encode:m,toASCII:v,toUnicode:g},"function"==typeof e&&"object"==typeof e.amd&&e.amd)e("punycode",function(){return w});else if(h&&!h.nodeType)if(b)b.exports=w;else for(y in w)w.hasOwnProperty(y)&&(h[y]=w[y]);else n.punycode=w}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,a){function i(e,t,a){!e.defaultView||t===e.defaultView.pageXOffset&&a===e.defaultView.pageYOffset||e.defaultView.scrollTo(t,a)}function n(e,t){try{t&&(t.width=e.width,t.height=e.height,t.getContext("2d").putImageData(e.getContext("2d").getImageData(0,0,e.width,e.height),0,0))}catch(a){r("Unable to copy canvas content from",e,a)}}function s(e,t){for(var a=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),i=e.firstChild;i;)(t===!0||1!==i.nodeType||"SCRIPT"!==i.nodeName)&&a.appendChild(s(i,t)),i=i.nextSibling;return 1===e.nodeType&&(a._scrollTop=e.scrollTop,a._scrollLeft=e.scrollLeft,"CANVAS"===e.nodeName?n(e,a):("TEXTAREA"===e.nodeName||"SELECT"===e.nodeName)&&(a.value=e.value)),a}function o(e){if(1===e.nodeType){e.scrollTop=e._scrollTop,e.scrollLeft=e._scrollLeft;for(var t=e.firstChild;t;)o(t),t=t.nextSibling}}var r=e("./log");t.exports=function(e,t,a,n,r,l,A){var d=s(e.documentElement,r.javascriptEnabled),c=t.createElement("iframe");return c.className="html2canvas-container",c.style.visibility="hidden",c.style.position="fixed",c.style.left="-10000px",c.style.top="0px",c.style.border="0",c.width=a,c.height=n,c.scrolling="no",t.body.appendChild(c),new Promise(function(t){var a=c.contentWindow.document;c.contentWindow.onload=c.onload=function(){var e=setInterval(function(){a.body.childNodes.length>0&&(o(a.documentElement),clearInterval(e),"view"===r.type&&(c.contentWindow.scrollTo(l,A),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||c.contentWindow.scrollY===A&&c.contentWindow.scrollX===l||(a.documentElement.style.top=-A+"px",a.documentElement.style.left=-l+"px",a.documentElement.style.position="absolute")),t(c))},50)},a.open(),a.write("<!DOCTYPE html><html></html>"),i(e,l,A),a.replaceChild(a.adoptNode(d),a.documentElement),a.close()})}},{"./log":13}],3:[function(e,t,a){function i(e){this.r=0,this.g=0,this.b=0,this.a=null;this.fromArray(e)||this.namedColor(e)||this.rgb(e)||this.rgba(e)||this.hex6(e)||this.hex3(e)}i.prototype.darken=function(e){var t=1-e;return new i([Math.round(this.r*t),Math.round(this.g*t),Math.round(this.b*t),this.a])},i.prototype.isTransparent=function(){return 0===this.a},i.prototype.isBlack=function(){return 0===this.r&&0===this.g&&0===this.b},i.prototype.fromArray=function(e){return Array.isArray(e)&&(this.r=Math.min(e[0],255),this.g=Math.min(e[1],255),this.b=Math.min(e[2],255),e.length>3&&(this.a=e[3])),Array.isArray(e)};var n=/^#([a-f0-9]{3})$/i;i.prototype.hex3=function(e){var t=null;return null!==(t=e.match(n))&&(this.r=parseInt(t[1][0]+t[1][0],16),this.g=parseInt(t[1][1]+t[1][1],16),this.b=parseInt(t[1][2]+t[1][2],16)),null!==t};var s=/^#([a-f0-9]{6})$/i;i.prototype.hex6=function(e){var t=null;return null!==(t=e.match(s))&&(this.r=parseInt(t[1].substring(0,2),16),this.g=parseInt(t[1].substring(2,4),16),this.b=parseInt(t[1].substring(4,6),16)),null!==t};var o=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/;i.prototype.rgb=function(e){var t=null;return null!==(t=e.match(o))&&(this.r=Number(t[1]),this.g=Number(t[2]),this.b=Number(t[3])),null!==t};var r=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?\.?\d+)\s*\)$/;i.prototype.rgba=function(e){var t=null;return null!==(t=e.match(r))&&(this.r=Number(t[1]),this.g=Number(t[2]),this.b=Number(t[3]),this.a=Number(t[4])),null!==t},i.prototype.toString=function(){return null!==this.a&&1!==this.a?"rgba("+[this.r,this.g,this.b,this.a].join(",")+")":"rgb("+[this.r,this.g,this.b].join(",")+")"},i.prototype.namedColor=function(e){e=e.toLowerCase();var t=l[e];if(t)this.r=t[0],this.g=t[1],this.b=t[2];else if("transparent"===e)return this.r=this.g=this.b=this.a=0,!0;return!!t},i.prototype.isColor=!0;var l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};t.exports=i},{}],4:[function(t,a,i){function n(e,t){var a=I++;if(t=t||{},t.logging&&(h.options.logging=!0,h.options.start=Date.now()),t.async="undefined"==typeof t.async?!0:t.async,t.allowTaint="undefined"==typeof t.allowTaint?!1:t.allowTaint,t.removeContainer="undefined"==typeof t.removeContainer?!0:t.removeContainer,t.javascriptEnabled="undefined"==typeof t.javascriptEnabled?!1:t.javascriptEnabled,t.imageTimeout="undefined"==typeof t.imageTimeout?1e4:t.imageTimeout,t.renderer="function"==typeof t.renderer?t.renderer:p,t.strict=!!t.strict,"string"==typeof e){if("string"!=typeof t.proxy)return Promise.reject("Proxy must be used when rendering url");var i=null!=t.width?t.width:window.innerWidth,n=null!=t.height?t.height:window.innerHeight;return w(c(e),t.proxy,document,i,n,t).then(function(e){return o(e.contentWindow.document.documentElement,e,t,i,n)})}var r=(void 0===e?[document.documentElement]:e.length?e:[e])[0];return r.setAttribute(C+a,a),s(r.ownerDocument,t,r.ownerDocument.defaultView.innerWidth,r.ownerDocument.defaultView.innerHeight,a).then(function(e){return"function"==typeof t.onrendered&&(h("options.onrendered is deprecated, html2canvas returns a Promise containing the canvas"),t.onrendered(e)),e})}function s(e,t,a,i,n){return f(e,e,a,i,t,e.defaultView.pageXOffset,e.defaultView.pageYOffset).then(function(s){h("Document cloned");var r=C+n,l="["+r+"='"+n+"']";e.querySelector(l).removeAttribute(r);var A=s.contentWindow,d=A.document.querySelector(l),c="function"==typeof t.onclone?Promise.resolve(t.onclone(A.document)):Promise.resolve(!0);return c.then(function(){return o(d,s,t,a,i)})})}function o(e,t,a,i,n){var s=t.contentWindow,o=new u(s.document),c=new m(a,o),p=y(e),v="view"===a.type?i:A(s.document),b="view"===a.type?n:d(s.document),f=new a.renderer(v,b,c,a,document),w=new g(e,f,o,c,a);return w.ready.then(function(){h("Finished rendering");var i;return i="view"===a.type?l(f.canvas,{width:f.canvas.width,height:f.canvas.height,top:0,left:0,x:0,y:0}):e===s.document.body||e===s.document.documentElement||null!=a.canvas?f.canvas:l(f.canvas,{width:null!=a.width?a.width:p.width,height:null!=a.height?a.height:p.height,top:p.top,left:p.left,x:0,y:0}),r(t,a),i})}function r(e,t){t.removeContainer&&(e.parentNode.removeChild(e),h("Cleaned up container"))}function l(e,t){var a=document.createElement("canvas"),i=Math.min(e.width-1,Math.max(0,t.left)),n=Math.min(e.width,Math.max(1,t.left+t.width)),s=Math.min(e.height-1,Math.max(0,t.top)),o=Math.min(e.height,Math.max(1,t.top+t.height));a.width=t.width,a.height=t.height;var r=n-i,l=o-s;return h("Cropping canvas at:","left:",t.left,"top:",t.top,"width:",r,"height:",l),h("Resulting crop with width",t.width,"and height",t.height,"with x",i,"and y",s),a.getContext("2d").drawImage(e,i,s,r,l,t.x,t.y,r,l),a}function A(e){return Math.max(Math.max(e.body.scrollWidth,e.documentElement.scrollWidth),Math.max(e.body.offsetWidth,e.documentElement.offsetWidth),Math.max(e.body.clientWidth,e.documentElement.clientWidth))}function d(e){return Math.max(Math.max(e.body.scrollHeight,e.documentElement.scrollHeight),Math.max(e.body.offsetHeight,e.documentElement.offsetHeight),Math.max(e.body.clientHeight,e.documentElement.clientHeight))}function c(e){var t=document.createElement("a");return t.href=e,t.href=t.href,t}var u=t("./support"),p=t("./renderers/canvas"),m=t("./imageloader"),g=t("./nodeparser"),v=t("./nodecontainer"),h=t("./log"),b=t("./utils"),f=t("./clone"),w=t("./proxy").loadUrlDocument,y=b.getBounds,C="data-html2canvas-node",I=0;n.CanvasRenderer=p,n.NodeContainer=v,n.log=h,n.utils=b;var D="undefined"==typeof document||"function"!=typeof Object.create||"function"!=typeof document.createElement("canvas").getContext?function(){return Promise.reject("No canvas support")}:n;a.exports=D,"function"==typeof e&&e.amd&&e("html2canvas",[],function(){return D})},{"./clone":2,"./imageloader":11,"./log":13,"./nodecontainer":14,"./nodeparser":15,"./proxy":16,"./renderers/canvas":20,"./support":22,"./utils":26}],5:[function(e,t,a){function i(e){if(this.src=e,n("DummyImageContainer for",e),!this.promise||!this.image){n("Initiating DummyImageContainer"),i.prototype.image=new Image;var t=this.image;i.prototype.promise=new Promise(function(e,a){t.onload=e,t.onerror=a,t.src=s(),t.complete===!0&&e(t)})}}var n=e("./log"),s=e("./utils").smallImage;t.exports=i},{"./log":13,"./utils":26}],6:[function(e,t,a){function i(e,t){var a,i,s=document.createElement("div"),o=document.createElement("img"),r=document.createElement("span"),l="Hidden Text";s.style.visibility="hidden",s.style.fontFamily=e,s.style.fontSize=t,s.style.margin=0,s.style.padding=0,document.body.appendChild(s),o.src=n(),o.width=1,o.height=1,o.style.margin=0,o.style.padding=0,o.style.verticalAlign="baseline",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin=0,r.style.padding=0,r.appendChild(document.createTextNode(l)),s.appendChild(r),s.appendChild(o),a=o.offsetTop-r.offsetTop+1,s.removeChild(r),s.appendChild(document.createTextNode(l)),s.style.lineHeight="normal",o.style.verticalAlign="super",i=o.offsetTop-s.offsetTop+1,document.body.removeChild(s),this.baseline=a,this.lineWidth=1,this.middle=i}var n=e("./utils").smallImage;t.exports=i},{"./utils":26}],7:[function(e,t,a){function i(){this.data={}}var n=e("./font");i.prototype.getMetrics=function(e,t){return void 0===this.data[e+"-"+t]&&(this.data[e+"-"+t]=new n(e,t)),this.data[e+"-"+t]},t.exports=i},{"./font":6}],8:[function(e,t,a){function i(t,a,i){this.image=null,this.src=t;var n=this,o=s(t);this.promise=(a?new Promise(function(e){"about:blank"===t.contentWindow.document.URL||null==t.contentWindow.document.documentElement?t.contentWindow.onload=t.onload=function(){e(t)}:e(t)}):this.proxyLoad(i.proxy,o,i)).then(function(t){var a=e("./core");return a(t.contentWindow.document.documentElement,{type:"view",width:t.width,height:t.height,proxy:i.proxy,javascriptEnabled:i.javascriptEnabled,removeContainer:i.removeContainer,allowTaint:i.allowTaint,imageTimeout:i.imageTimeout/2})}).then(function(e){return n.image=e})}var n=e("./utils"),s=n.getBounds,o=e("./proxy").loadUrlDocument;i.prototype.proxyLoad=function(e,t,a){var i=this.src;return o(i.src,e,i.ownerDocument,t.width,t.height,a)},t.exports=i},{"./core":4,"./proxy":16,"./utils":26}],9:[function(e,t,a){function i(e){this.src=e.value,this.colorStops=[],this.type=null,this.x0=.5,this.y0=.5,this.x1=.5,this.y1=.5,this.promise=Promise.resolve(!0)}i.TYPES={LINEAR:1,RADIAL:2},i.REGEXP_COLORSTOP=/^\s*(rgba?\(\s*\d{1,3},\s*\d{1,3},\s*\d{1,3}(?:,\s*[0-9\.]+)?\s*\)|[a-z]{3,20}|#[a-f0-9]{3,6})(?:\s+(\d{1,3}(?:\.\d+)?)(%|px)?)?(?:\s|$)/i,t.exports=i},{}],10:[function(e,t,a){function i(e,t){this.src=e,this.image=new Image;var a=this;this.tainted=null,this.promise=new Promise(function(i,n){a.image.onload=i,a.image.onerror=n,t&&(a.image.crossOrigin="anonymous"),a.image.src=e,a.image.complete===!0&&i(a.image)})}t.exports=i},{}],11:[function(e,t,a){function i(e,t){this.link=null,this.options=e,this.support=t,this.origin=this.getOrigin(window.location.href)}var n=e("./log"),s=e("./imagecontainer"),o=e("./dummyimagecontainer"),r=e("./proxyimagecontainer"),l=e("./framecontainer"),A=e("./svgcontainer"),d=e("./svgnodecontainer"),c=e("./lineargradientcontainer"),u=e("./webkitgradientcontainer"),p=e("./utils").bind;i.prototype.findImages=function(e){var t=[];return e.reduce(function(e,t){switch(t.node.nodeName){case"IMG":return e.concat([{args:[t.node.src],method:"url"}]);case"svg":case"IFRAME":return e.concat([{args:[t.node],method:t.node.nodeName}])}return e},[]).forEach(this.addImage(t,this.loadImage),this),t},i.prototype.findBackgroundImage=function(e,t){return t.parseBackgroundImages().filter(this.hasImageBackground).forEach(this.addImage(e,this.loadImage),this),e},i.prototype.addImage=function(e,t){return function(a){a.args.forEach(function(i){this.imageExists(e,i)||(e.splice(0,0,t.call(this,a)),n("Added image #"+e.length,"string"==typeof i?i.substring(0,100):i))},this)}},i.prototype.hasImageBackground=function(e){return"none"!==e.method},i.prototype.loadImage=function(e){if("url"===e.method){var t=e.args[0];return!this.isSVG(t)||this.support.svg||this.options.allowTaint?t.match(/data:image\/.*;base64,/i)?new s(t.replace(/url\(['"]{0,}|['"]{0,}\)$/gi,""),!1):this.isSameOrigin(t)||this.options.allowTaint===!0||this.isSVG(t)?new s(t,!1):this.support.cors&&!this.options.allowTaint&&this.options.useCORS?new s(t,!0):this.options.proxy?new r(t,this.options.proxy):new o(t):new A(t)}return"linear-gradient"===e.method?new c(e):"gradient"===e.method?new u(e):"svg"===e.method?new d(e.args[0],this.support.svg):"IFRAME"===e.method?new l(e.args[0],this.isSameOrigin(e.args[0].src),this.options):new o(e)},i.prototype.isSVG=function(e){return"svg"===e.substring(e.length-3).toLowerCase()||A.prototype.isInline(e)},i.prototype.imageExists=function(e,t){return e.some(function(e){return e.src===t})},i.prototype.isSameOrigin=function(e){return this.getOrigin(e)===this.origin},i.prototype.getOrigin=function(e){var t=this.link||(this.link=document.createElement("a"));return t.href=e,t.href=t.href,t.protocol+t.hostname+t.port},i.prototype.getPromise=function(e){return this.timeout(e,this.options.imageTimeout)["catch"](function(){var t=new o(e.src);return t.promise.then(function(t){e.image=t})})},i.prototype.get=function(e){var t=null;return this.images.some(function(a){return(t=a).src===e})?t:null},i.prototype.fetch=function(e){return this.images=e.reduce(p(this.findBackgroundImage,this),this.findImages(e)),this.images.forEach(function(e,t){e.promise.then(function(){n("Succesfully loaded image #"+(t+1),e)},function(a){n("Failed loading image #"+(t+1),e,a)})}),this.ready=Promise.all(this.images.map(this.getPromise,this)),n("Finished searching images"),this},i.prototype.timeout=function(e,t){var a,i=Promise.race([e.promise,new Promise(function(i,s){a=setTimeout(function(){n("Timed out loading image",e),s(e)},t)})]).then(function(e){return clearTimeout(a),e});return i["catch"](function(){clearTimeout(a)}),i},t.exports=i},{"./dummyimagecontainer":5,"./framecontainer":8,"./imagecontainer":10,"./lineargradientcontainer":12,"./log":13,"./proxyimagecontainer":17,"./svgcontainer":23,"./svgnodecontainer":24,"./utils":26,"./webkitgradientcontainer":27}],12:[function(e,t,a){function i(e){n.apply(this,arguments),this.type=n.TYPES.LINEAR;var t=i.REGEXP_DIRECTION.test(e.args[0])||!n.REGEXP_COLORSTOP.test(e.args[0]);t?e.args[0].split(/\s+/).reverse().forEach(function(e,t){switch(e){case"left":this.x0=0,this.x1=1;break;case"top":this.y0=0,this.y1=1;break;case"right":this.x0=1,this.x1=0;break;case"bottom":this.y0=1,this.y1=0;break;case"to":var a=this.y0,i=this.x0;this.y0=this.y1,this.x0=this.x1,this.x1=i,this.y1=a;break;case"center":break;default:var n=.01*parseFloat(e,10);if(isNaN(n))break;0===t?(this.y0=n,this.y1=1-this.y0):(this.x0=n,this.x1=1-this.x0)}},this):(this.y0=0,this.y1=1),this.colorStops=e.args.slice(t?1:0).map(function(e){var t=e.match(n.REGEXP_COLORSTOP),a=+t[2],i=0===a?"%":t[3];return{color:new s(t[1]),stop:"%"===i?a/100:null}}),null===this.colorStops[0].stop&&(this.colorStops[0].stop=0),null===this.colorStops[this.colorStops.length-1].stop&&(this.colorStops[this.colorStops.length-1].stop=1),this.colorStops.forEach(function(e,t){null===e.stop&&this.colorStops.slice(t).some(function(a,i){return null!==a.stop?(e.stop=(a.stop-this.colorStops[t-1].stop)/(i+1)+this.colorStops[t-1].stop,!0):!1},this)},this)}var n=e("./gradientcontainer"),s=e("./color");i.prototype=Object.create(n.prototype),i.REGEXP_DIRECTION=/^\s*(?:to|left|right|top|bottom|center|\d{1,3}(?:\.\d+)?%?)(?:\s|$)/i,t.exports=i},{"./color":3,"./gradientcontainer":9}],13:[function(e,t,a){var i=function(){i.options.logging&&window.console&&window.console.log&&Function.prototype.bind.call(window.console.log,window.console).apply(window.console,[Date.now()-i.options.start+"ms","html2canvas:"].concat([].slice.call(arguments,0)))};i.options={logging:!1},t.exports=i},{}],14:[function(e,t,a){function i(e,t){this.node=e,this.parent=t,this.stack=null,this.bounds=null,this.borders=null,this.clip=[],this.backgroundClip=[],this.offsetBounds=null,this.visible=null,this.computedStyles=null,this.colors={},this.styles={},this.backgroundImages=null,this.transformData=null,this.transformMatrix=null,this.isPseudoElement=!1,this.opacity=null}function n(e){var t=e.options[e.selectedIndex||0];return t?t.text||"":""}function s(e){if(e&&"matrix"===e[1])return e[2].split(",").map(function(e){return parseFloat(e.trim())});if(e&&"matrix3d"===e[1]){var t=e[2].split(",").map(function(e){return parseFloat(e.trim())});return[t[0],t[1],t[4],t[5],t[12],t[13]]}}function o(e){return-1!==e.toString().indexOf("%")}function r(e){return e.replace("px","")}function l(e){return parseFloat(e)}var A=e("./color"),d=e("./utils"),c=d.getBounds,u=d.parseBackgrounds,p=d.offsetBounds;i.prototype.cloneTo=function(e){e.visible=this.visible,e.borders=this.borders,e.bounds=this.bounds,e.clip=this.clip,e.backgroundClip=this.backgroundClip,e.computedStyles=this.computedStyles,e.styles=this.styles,e.backgroundImages=this.backgroundImages,e.opacity=this.opacity},i.prototype.getOpacity=function(){return null===this.opacity?this.opacity=this.cssFloat("opacity"):this.opacity},i.prototype.assignStack=function(e){this.stack=e,e.children.push(this)},i.prototype.isElementVisible=function(){return this.node.nodeType===Node.TEXT_NODE?this.parent.visible:"none"!==this.css("display")&&"hidden"!==this.css("visibility")&&!this.node.hasAttribute("data-html2canvas-ignore")&&("INPUT"!==this.node.nodeName||"hidden"!==this.node.getAttribute("type"))},i.prototype.css=function(e){return this.computedStyles||(this.computedStyles=this.isPseudoElement?this.parent.computedStyle(this.before?":before":":after"):this.computedStyle(null)),this.styles[e]||(this.styles[e]=this.computedStyles[e])},i.prototype.prefixedCss=function(e){var t=["webkit","moz","ms","o"],a=this.css(e);return void 0===a&&t.some(function(t){return a=this.css(t+e.substr(0,1).toUpperCase()+e.substr(1)),void 0!==a},this),void 0===a?null:a},i.prototype.computedStyle=function(e){return this.node.ownerDocument.defaultView.getComputedStyle(this.node,e)},i.prototype.cssInt=function(e){var t=parseInt(this.css(e),10);return isNaN(t)?0:t},i.prototype.color=function(e){return this.colors[e]||(this.colors[e]=new A(this.css(e)))},i.prototype.cssFloat=function(e){var t=parseFloat(this.css(e));return isNaN(t)?0:t},i.prototype.fontWeight=function(){var e=this.css("fontWeight");switch(parseInt(e,10)){case 401:e="bold";break;case 400:e="normal"}return e},i.prototype.parseClip=function(){var e=this.css("clip").match(this.CLIP);return e?{top:parseInt(e[1],10),right:parseInt(e[2],10),bottom:parseInt(e[3],10),left:parseInt(e[4],10)}:null},i.prototype.parseBackgroundImages=function(){return this.backgroundImages||(this.backgroundImages=u(this.css("backgroundImage")))},i.prototype.cssList=function(e,t){var a=(this.css(e)||"").split(",");return a=a[t||0]||a[0]||"auto",a=a.trim().split(" "),1===a.length&&(a=[a[0],o(a[0])?"auto":a[0]]),a},i.prototype.parseBackgroundSize=function(e,t,a){var i,n,s=this.cssList("backgroundSize",a);if(o(s[0]))i=e.width*parseFloat(s[0])/100;else{if(/contain|cover/.test(s[0])){var r=e.width/e.height,l=t.width/t.height;return l>r^"contain"===s[0]?{width:e.height*l,height:e.height}:{width:e.width,height:e.width/l}}i=parseInt(s[0],10)}return n="auto"===s[0]&&"auto"===s[1]?t.height:"auto"===s[1]?i/t.width*t.height:o(s[1])?e.height*parseFloat(s[1])/100:parseInt(s[1],10),"auto"===s[0]&&(i=n/t.height*t.width),{width:i,height:n}},i.prototype.parseBackgroundPosition=function(e,t,a,i){var n,s,r=this.cssList("backgroundPosition",a);return n=o(r[0])?(e.width-(i||t).width)*(parseFloat(r[0])/100):parseInt(r[0],10),s="auto"===r[1]?n/t.width*t.height:o(r[1])?(e.height-(i||t).height)*parseFloat(r[1])/100:parseInt(r[1],10),"auto"===r[0]&&(n=s/t.height*t.width),{left:n,top:s}},i.prototype.parseBackgroundRepeat=function(e){return this.cssList("backgroundRepeat",e)[0]},i.prototype.parseTextShadows=function(){var e=this.css("textShadow"),t=[];if(e&&"none"!==e)for(var a=e.match(this.TEXT_SHADOW_PROPERTY),i=0;a&&i<a.length;i++){var n=a[i].match(this.TEXT_SHADOW_VALUES);t.push({color:new A(n[0]),offsetX:n[1]?parseFloat(n[1].replace("px","")):0,offsetY:n[2]?parseFloat(n[2].replace("px","")):0,blur:n[3]?n[3].replace("px",""):0})}return t},i.prototype.parseTransform=function(){if(!this.transformData)if(this.hasTransform()){var e=this.parseBounds(),t=this.prefixedCss("transformOrigin").split(" ").map(r).map(l);t[0]+=e.left,t[1]+=e.top,this.transformData={origin:t,matrix:this.parseTransformMatrix()}}else this.transformData={origin:[0,0],matrix:[1,0,0,1,0,0]};return this.transformData},i.prototype.parseTransformMatrix=function(){if(!this.transformMatrix){var e=this.prefixedCss("transform"),t=e?s(e.match(this.MATRIX_PROPERTY)):null;this.transformMatrix=t?t:[1,0,0,1,0,0]}return this.transformMatrix},i.prototype.parseBounds=function(){return this.bounds||(this.bounds=this.hasTransform()?p(this.node):c(this.node))},i.prototype.hasTransform=function(){return"1,0,0,1,0,0"!==this.parseTransformMatrix().join(",")||this.parent&&this.parent.hasTransform()},i.prototype.getValue=function(){var e=this.node.value||"";return"SELECT"===this.node.tagName?e=n(this.node):"password"===this.node.type&&(e=Array(e.length+1).join("•")),0===e.length?this.node.placeholder||"":e},i.prototype.MATRIX_PROPERTY=/(matrix|matrix3d)\((.+)\)/,i.prototype.TEXT_SHADOW_PROPERTY=/((rgba|rgb)\([^\)]+\)(\s-?\d+px){0,})/g,i.prototype.TEXT_SHADOW_VALUES=/(-?\d+px)|(#.+)|(rgb\(.+\))|(rgba\(.+\))/g,i.prototype.CLIP=/^rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)$/,t.exports=i},{"./color":3,"./utils":26}],15:[function(e,t,a){function i(e,t,a,i,n){z("Starting NodeParser"),this.renderer=t,this.options=n,this.range=null,this.support=a,this.renderQueue=[],this.stack=new Y(!0,1,e.ownerDocument,null);var s=new U(e,null);if(n.background&&t.rectangle(0,0,t.width,t.height,new $(n.background)),e===e.ownerDocument.documentElement){var o=new U(s.color("backgroundColor").isTransparent()?e.ownerDocument.body:e.ownerDocument.documentElement,null);t.rectangle(0,0,t.width,t.height,o.color("backgroundColor"))}s.visibile=s.isElementVisible(),this.createPseudoHideStyles(e.ownerDocument),this.disableAnimations(e.ownerDocument),this.nodes=L([s].concat(this.getChildren(s)).filter(function(e){return e.visible=e.isElementVisible()}).map(this.getPseudoElements,this)),this.fontMetrics=new q,z("Fetched nodes, total:",this.nodes.length),z("Calculate overflow clips"),this.calculateOverflowClips(),z("Start fetching images"),this.images=i.fetch(this.nodes.filter(P)),this.ready=this.images.ready.then(J(function(){return z("Images loaded, starting parsing"),z("Creating stacking contexts"),this.createStackingContexts(),z("Sorting stacking contexts"),this.sortStackingContexts(this.stack),this.parse(this.stack),z("Render queue created with "+this.renderQueue.length+" items"),new Promise(J(function(e){n.async?"function"==typeof n.async?n.async.call(this,this.renderQueue,e):this.renderQueue.length>0?(this.renderIndex=0,this.asyncRenderer(this.renderQueue,e)):e():(this.renderQueue.forEach(this.paint,this),e())},this))},this))}function n(e){return e.parent&&e.parent.clip.length}function s(e){return e.replace(/(\-[a-z])/g,function(e){return e.toUpperCase().replace("-","")})}function o(){}function r(e,t,a,i){return e.map(function(n,s){if(n.width>0){var o=t.left,r=t.top,l=t.width,A=t.height-e[2].width;switch(s){case 0:A=e[0].width,n.args=c({c1:[o,r],c2:[o+l,r],c3:[o+l-e[1].width,r+A],c4:[o+e[3].width,r+A]},i[0],i[1],a.topLeftOuter,a.topLeftInner,a.topRightOuter,a.topRightInner);break;case 1:o=t.left+t.width-e[1].width,l=e[1].width,n.args=c({c1:[o+l,r],c2:[o+l,r+A+e[2].width],c3:[o,r+A],c4:[o,r+e[0].width]},i[1],i[2],a.topRightOuter,a.topRightInner,a.bottomRightOuter,a.bottomRightInner);break;case 2:r=r+t.height-e[2].width,A=e[2].width,n.args=c({c1:[o+l,r+A],c2:[o,r+A],c3:[o+e[3].width,r],c4:[o+l-e[3].width,r]},i[2],i[3],a.bottomRightOuter,a.bottomRightInner,a.bottomLeftOuter,a.bottomLeftInner);break;case 3:l=e[3].width,n.args=c({c1:[o,r+A+e[2].width],c2:[o,r],c3:[o+l,r+e[0].width],c4:[o+l,r+A]},i[3],i[0],a.bottomLeftOuter,a.bottomLeftInner,a.topLeftOuter,a.topLeftInner)}}return n})}function l(e,t,a,i){var n=4*((Math.sqrt(2)-1)/3),s=a*n,o=i*n,r=e+a,l=t+i;return{topLeft:d({x:e,y:l},{x:e,y:l-o},{x:r-s,y:t},{x:r,y:t}),topRight:d({x:e,y:t},{x:e+s,y:t},{x:r,y:l-o},{x:r,y:l}),bottomRight:d({x:r,y:t},{x:r,y:t+o},{x:e+s,y:l},{x:e,y:l}),bottomLeft:d({x:r,y:l},{x:r-s,y:l},{x:e,y:t+o},{x:e,y:t})}}function A(e,t,a){var i=e.left,n=e.top,s=e.width,o=e.height,r=t[0][0]<s/2?t[0][0]:s/2,A=t[0][1]<o/2?t[0][1]:o/2,d=t[1][0]<s/2?t[1][0]:s/2,c=t[1][1]<o/2?t[1][1]:o/2,u=t[2][0]<s/2?t[2][0]:s/2,p=t[2][1]<o/2?t[2][1]:o/2,m=t[3][0]<s/2?t[3][0]:s/2,g=t[3][1]<o/2?t[3][1]:o/2,v=s-d,h=o-p,b=s-u,f=o-g;return{topLeftOuter:l(i,n,r,A).topLeft.subdivide(.5),topLeftInner:l(i+a[3].width,n+a[0].width,Math.max(0,r-a[3].width),Math.max(0,A-a[0].width)).topLeft.subdivide(.5),topRightOuter:l(i+v,n,d,c).topRight.subdivide(.5),topRightInner:l(i+Math.min(v,s+a[3].width),n+a[0].width,v>s+a[3].width?0:d-a[3].width,c-a[0].width).topRight.subdivide(.5),bottomRightOuter:l(i+b,n+h,u,p).bottomRight.subdivide(.5),bottomRightInner:l(i+Math.min(b,s-a[3].width),n+Math.min(h,o+a[0].width),Math.max(0,u-a[1].width),p-a[2].width).bottomRight.subdivide(.5),bottomLeftOuter:l(i,n+f,m,g).bottomLeft.subdivide(.5),
  bottomLeftInner:l(i+a[3].width,n+f,Math.max(0,m-a[3].width),g-a[2].width).bottomLeft.subdivide(.5)}}function d(e,t,a,i){var n=function(e,t,a){return{x:e.x+(t.x-e.x)*a,y:e.y+(t.y-e.y)*a}};return{start:e,startControl:t,endControl:a,end:i,subdivide:function(s){var o=n(e,t,s),r=n(t,a,s),l=n(a,i,s),A=n(o,r,s),c=n(r,l,s),u=n(A,c,s);return[d(e,o,A,u),d(u,c,l,i)]},curveTo:function(e){e.push(["bezierCurve",t.x,t.y,a.x,a.y,i.x,i.y])},curveToReversed:function(i){i.push(["bezierCurve",a.x,a.y,t.x,t.y,e.x,e.y])}}}function c(e,t,a,i,n,s,o){var r=[];return t[0]>0||t[1]>0?(r.push(["line",i[1].start.x,i[1].start.y]),i[1].curveTo(r)):r.push(["line",e.c1[0],e.c1[1]]),a[0]>0||a[1]>0?(r.push(["line",s[0].start.x,s[0].start.y]),s[0].curveTo(r),r.push(["line",o[0].end.x,o[0].end.y]),o[0].curveToReversed(r)):(r.push(["line",e.c2[0],e.c2[1]]),r.push(["line",e.c3[0],e.c3[1]])),t[0]>0||t[1]>0?(r.push(["line",n[1].end.x,n[1].end.y]),n[1].curveToReversed(r)):r.push(["line",e.c4[0],e.c4[1]]),r}function u(e,t,a,i,n,s,o){t[0]>0||t[1]>0?(e.push(["line",i[0].start.x,i[0].start.y]),i[0].curveTo(e),i[1].curveTo(e)):e.push(["line",s,o]),(a[0]>0||a[1]>0)&&e.push(["line",n[0].start.x,n[0].start.y])}function p(e){return e.cssInt("zIndex")<0}function m(e){return e.cssInt("zIndex")>0}function g(e){return 0===e.cssInt("zIndex")}function v(e){return-1!==["inline","inline-block","inline-table"].indexOf(e.css("display"))}function h(e){return e instanceof Y}function b(e){return e.node.data.trim().length>0}function f(e){return/^(normal|none|0px)$/.test(e.parent.css("letterSpacing"))}function w(e){return["TopLeft","TopRight","BottomRight","BottomLeft"].map(function(t){var a=e.css("border"+t+"Radius"),i=a.split(" ");return i.length<=1&&(i[1]=i[0]),i.map(F)})}function y(e){return e.nodeType===Node.TEXT_NODE||e.nodeType===Node.ELEMENT_NODE}function C(e){var t=e.css("position"),a=-1!==["absolute","relative","fixed"].indexOf(t)?e.css("zIndex"):"auto";return"auto"!==a}function I(e){return"static"!==e.css("position")}function D(e){return"none"!==e.css("float")}function k(e){return-1!==["inline-block","inline-table"].indexOf(e.css("display"))}function x(e){var t=this;return function(){return!e.apply(t,arguments)}}function P(e){return e.node.nodeType===Node.ELEMENT_NODE}function B(e){return e.isPseudoElement===!0}function T(e){return e.node.nodeType===Node.TEXT_NODE}function E(e){return function(t,a){return t.cssInt("zIndex")+e.indexOf(t)/e.length-(a.cssInt("zIndex")+e.indexOf(a)/e.length)}}function S(e){return e.getOpacity()<1}function F(e){return parseInt(e,10)}function M(e){return e.width}function O(e){return e.node.nodeType!==Node.ELEMENT_NODE||-1===["SCRIPT","HEAD","TITLE","OBJECT","BR","OPTION"].indexOf(e.node.nodeName)}function L(e){return[].concat.apply([],e)}function N(e){var t=e.substr(0,1);return t===e.substr(e.length-1)&&t.match(/'|"/)?e.substr(1,e.length-2):e}function Q(e){for(var t,a=[],i=0,n=!1;e.length;)R(e[i])===n?(t=e.splice(0,i),t.length&&a.push(W.ucs2.encode(t)),n=!n,i=0):i++,i>=e.length&&(t=e.splice(0,i),t.length&&a.push(W.ucs2.encode(t)));return a}function R(e){return-1!==[32,13,10,9,45].indexOf(e)}function j(e){return/[^\u0000-\u00ff]/.test(e)}var z=e("./log"),W=e("punycode"),U=e("./nodecontainer"),G=e("./textcontainer"),H=e("./pseudoelementcontainer"),q=e("./fontmetrics"),$=e("./color"),Y=e("./stackingcontext"),V=e("./utils"),J=V.bind,X=V.getBounds,K=V.parseBackgrounds,Z=V.offsetBounds;i.prototype.calculateOverflowClips=function(){this.nodes.forEach(function(e){if(P(e)){B(e)&&e.appendToDOM(),e.borders=this.parseBorders(e);var t="hidden"===e.css("overflow")?[e.borders.clip]:[],a=e.parseClip();a&&-1!==["absolute","fixed"].indexOf(e.css("position"))&&t.push([["rect",e.bounds.left+a.left,e.bounds.top+a.top,a.right-a.left,a.bottom-a.top]]),e.clip=n(e)?e.parent.clip.concat(t):t,e.backgroundClip="hidden"!==e.css("overflow")?e.clip.concat([e.borders.clip]):e.clip,B(e)&&e.cleanDOM()}else T(e)&&(e.clip=n(e)?e.parent.clip:[]);B(e)||(e.bounds=null)},this)},i.prototype.asyncRenderer=function(e,t,a){a=a||Date.now(),this.paint(e[this.renderIndex++]),e.length===this.renderIndex?t():a+20>Date.now()?this.asyncRenderer(e,t,a):setTimeout(J(function(){this.asyncRenderer(e,t)},this),0)},i.prototype.createPseudoHideStyles=function(e){this.createStyles(e,"."+H.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+':before { content: "" !important; display: none !important; }.'+H.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER+':after { content: "" !important; display: none !important; }')},i.prototype.disableAnimations=function(e){this.createStyles(e,"* { -webkit-animation: none !important; -moz-animation: none !important; -o-animation: none !important; animation: none !important; -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important;}")},i.prototype.createStyles=function(e,t){var a=e.createElement("style");a.innerHTML=t,e.body.appendChild(a)},i.prototype.getPseudoElements=function(e){var t=[[e]];if(e.node.nodeType===Node.ELEMENT_NODE){var a=this.getPseudoElement(e,":before"),i=this.getPseudoElement(e,":after");a&&t.push(a),i&&t.push(i)}return L(t)},i.prototype.getPseudoElement=function(e,t){var a=e.computedStyle(t);if(!a||!a.content||"none"===a.content||"-moz-alt-content"===a.content||"none"===a.display)return null;for(var i=N(a.content),n="url"===i.substr(0,3),o=document.createElement(n?"img":"html2canvaspseudoelement"),r=new H(o,e,t),l=a.length-1;l>=0;l--){var A=s(a.item(l));o.style[A]=a[A]}if(o.className=H.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+" "+H.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER,n)return o.src=K(i)[0].args[0],[r];var d=document.createTextNode(i);return o.appendChild(d),[r,new G(d,r)]},i.prototype.getChildren=function(e){return L([].filter.call(e.node.childNodes,y).map(function(t){var a=[t.nodeType===Node.TEXT_NODE?new G(t,e):new U(t,e)].filter(O);return t.nodeType===Node.ELEMENT_NODE&&a.length&&"TEXTAREA"!==t.tagName?a[0].isElementVisible()?a.concat(this.getChildren(a[0])):[]:a},this))},i.prototype.newStackingContext=function(e,t){var a=new Y(t,e.getOpacity(),e.node,e.parent);e.cloneTo(a);var i=t?a.getParentStack(this):a.parent.stack;i.contexts.push(a),e.stack=a},i.prototype.createStackingContexts=function(){this.nodes.forEach(function(e){P(e)&&(this.isRootElement(e)||S(e)||C(e)||this.isBodyWithTransparentRoot(e)||e.hasTransform())?this.newStackingContext(e,!0):P(e)&&(I(e)&&g(e)||k(e)||D(e))?this.newStackingContext(e,!1):e.assignStack(e.parent.stack)},this)},i.prototype.isBodyWithTransparentRoot=function(e){return"BODY"===e.node.nodeName&&e.parent.color("backgroundColor").isTransparent()},i.prototype.isRootElement=function(e){return null===e.parent},i.prototype.sortStackingContexts=function(e){e.contexts.sort(E(e.contexts.slice(0))),e.contexts.forEach(this.sortStackingContexts,this)},i.prototype.parseTextBounds=function(e){return function(t,a,i){if("none"!==e.parent.css("textDecoration").substr(0,4)||0!==t.trim().length){if(this.support.rangeBounds&&!e.parent.hasTransform()){var n=i.slice(0,a).join("").length;return this.getRangeBounds(e.node,n,t.length)}if(e.node&&"string"==typeof e.node.data){var s=e.node.splitText(t.length),o=this.getWrapperBounds(e.node,e.parent.hasTransform());return e.node=s,o}}else(!this.support.rangeBounds||e.parent.hasTransform())&&(e.node=e.node.splitText(t.length));return{}}},i.prototype.getWrapperBounds=function(e,t){var a=e.ownerDocument.createElement("html2canvaswrapper"),i=e.parentNode,n=e.cloneNode(!0);a.appendChild(e.cloneNode(!0)),i.replaceChild(a,e);var s=t?Z(a):X(a);return i.replaceChild(n,a),s},i.prototype.getRangeBounds=function(e,t,a){var i=this.range||(this.range=e.ownerDocument.createRange());return i.setStart(e,t),i.setEnd(e,t+a),i.getBoundingClientRect()},i.prototype.parse=function(e){var t=e.contexts.filter(p),a=e.children.filter(P),i=a.filter(x(D)),n=i.filter(x(I)).filter(x(v)),s=a.filter(x(I)).filter(D),r=i.filter(x(I)).filter(v),l=e.contexts.concat(i.filter(I)).filter(g),A=e.children.filter(T).filter(b),d=e.contexts.filter(m);t.concat(n).concat(s).concat(r).concat(l).concat(A).concat(d).forEach(function(e){this.renderQueue.push(e),h(e)&&(this.parse(e),this.renderQueue.push(new o))},this)},i.prototype.paint=function(e){try{e instanceof o?this.renderer.ctx.restore():T(e)?(B(e.parent)&&e.parent.appendToDOM(),this.paintText(e),B(e.parent)&&e.parent.cleanDOM()):this.paintNode(e)}catch(t){if(z(t),this.options.strict)throw t}},i.prototype.paintNode=function(e){h(e)&&(this.renderer.setOpacity(e.opacity),this.renderer.ctx.save(),e.hasTransform()&&this.renderer.setTransform(e.parseTransform())),"INPUT"===e.node.nodeName&&"checkbox"===e.node.type?this.paintCheckbox(e):"INPUT"===e.node.nodeName&&"radio"===e.node.type?this.paintRadio(e):this.paintElement(e)},i.prototype.paintElement=function(e){var t=e.parseBounds();this.renderer.clip(e.backgroundClip,function(){this.renderer.renderBackground(e,t,e.borders.borders.map(M))},this),this.renderer.clip(e.clip,function(){this.renderer.renderBorders(e.borders.borders)},this),this.renderer.clip(e.backgroundClip,function(){switch(e.node.nodeName){case"svg":case"IFRAME":var a=this.images.get(e.node);a?this.renderer.renderImage(e,t,e.borders,a):z("Error loading <"+e.node.nodeName+">",e.node);break;case"IMG":var i=this.images.get(e.node.src);i?this.renderer.renderImage(e,t,e.borders,i):z("Error loading <img>",e.node.src);break;case"CANVAS":this.renderer.renderImage(e,t,e.borders,{image:e.node});break;case"SELECT":case"INPUT":case"TEXTAREA":this.paintFormValue(e)}},this)},i.prototype.paintCheckbox=function(e){var t=e.parseBounds(),a=Math.min(t.width,t.height),i={width:a-1,height:a-1,top:t.top,left:t.left},n=[3,3],s=[n,n,n,n],o=[1,1,1,1].map(function(e){return{color:new $("#A5A5A5"),width:e}}),l=A(i,s,o);this.renderer.clip(e.backgroundClip,function(){this.renderer.rectangle(i.left+1,i.top+1,i.width-2,i.height-2,new $("#DEDEDE")),this.renderer.renderBorders(r(o,i,l,s)),e.node.checked&&(this.renderer.font(new $("#424242"),"normal","normal","bold",a-3+"px","arial"),this.renderer.text("✔",i.left+a/6,i.top+a-1))},this)},i.prototype.paintRadio=function(e){var t=e.parseBounds(),a=Math.min(t.width,t.height)-2;this.renderer.clip(e.backgroundClip,function(){this.renderer.circleStroke(t.left+1,t.top+1,a,new $("#DEDEDE"),1,new $("#A5A5A5")),e.node.checked&&this.renderer.circle(Math.ceil(t.left+a/4)+1,Math.ceil(t.top+a/4)+1,Math.floor(a/2),new $("#424242"))},this)},i.prototype.paintFormValue=function(e){var t=e.getValue();if(t.length>0){var a=e.node.ownerDocument,i=a.createElement("html2canvaswrapper"),n=["lineHeight","textAlign","fontFamily","fontWeight","fontSize","color","paddingLeft","paddingTop","paddingRight","paddingBottom","width","height","borderLeftStyle","borderTopStyle","borderLeftWidth","borderTopWidth","boxSizing","whiteSpace","wordWrap"];n.forEach(function(t){try{i.style[t]=e.css(t)}catch(a){z("html2canvas: Parse: Exception caught in renderFormValue: "+a.message)}});var s=e.parseBounds();i.style.position="fixed",i.style.left=s.left+"px",i.style.top=s.top+"px",i.textContent=t,a.body.appendChild(i),this.paintText(new G(i.firstChild,e)),a.body.removeChild(i)}},i.prototype.paintText=function(e){e.applyTextTransform();var t=W.ucs2.decode(e.node.data),a=this.options.letterRendering&&!f(e)||j(e.node.data)?t.map(function(e){return W.ucs2.encode([e])}):Q(t),i=e.parent.fontWeight(),n=e.parent.css("fontSize"),s=e.parent.css("fontFamily"),o=e.parent.parseTextShadows();this.renderer.font(e.parent.color("color"),e.parent.css("fontStyle"),e.parent.css("fontVariant"),i,n,s),o.length?this.renderer.fontShadow(o[0].color,o[0].offsetX,o[0].offsetY,o[0].blur):this.renderer.clearShadow(),this.renderer.clip(e.parent.clip,function(){a.map(this.parseTextBounds(e),this).forEach(function(t,i){t&&(this.renderer.text(a[i],t.left,t.bottom),this.renderTextDecoration(e.parent,t,this.fontMetrics.getMetrics(s,n)))},this)},this)},i.prototype.renderTextDecoration=function(e,t,a){switch(e.css("textDecoration").split(" ")[0]){case"underline":this.renderer.rectangle(t.left,Math.round(t.top+a.baseline+a.lineWidth),t.width,1,e.color("color"));break;case"overline":this.renderer.rectangle(t.left,Math.round(t.top),t.width,1,e.color("color"));break;case"line-through":this.renderer.rectangle(t.left,Math.ceil(t.top+a.middle+a.lineWidth),t.width,1,e.color("color"))}};var _={inset:[["darken",.6],["darken",.1],["darken",.1],["darken",.6]]};i.prototype.parseBorders=function(e){var t=e.parseBounds(),a=w(e),i=["Top","Right","Bottom","Left"].map(function(t,a){var i=e.css("border"+t+"Style"),n=e.color("border"+t+"Color");"inset"===i&&n.isBlack()&&(n=new $([255,255,255,n.a]));var s=_[i]?_[i][a]:null;return{width:e.cssInt("border"+t+"Width"),color:s?n[s[0]](s[1]):n,args:null}}),n=A(t,a,i);return{clip:this.parseBackgroundClip(e,n,i,a,t),borders:r(i,t,n,a)}},i.prototype.parseBackgroundClip=function(e,t,a,i,n){var s=e.css("backgroundClip"),o=[];switch(s){case"content-box":case"padding-box":u(o,i[0],i[1],t.topLeftInner,t.topRightInner,n.left+a[3].width,n.top+a[0].width),u(o,i[1],i[2],t.topRightInner,t.bottomRightInner,n.left+n.width-a[1].width,n.top+a[0].width),u(o,i[2],i[3],t.bottomRightInner,t.bottomLeftInner,n.left+n.width-a[1].width,n.top+n.height-a[2].width),u(o,i[3],i[0],t.bottomLeftInner,t.topLeftInner,n.left+a[3].width,n.top+n.height-a[2].width);break;default:u(o,i[0],i[1],t.topLeftOuter,t.topRightOuter,n.left,n.top),u(o,i[1],i[2],t.topRightOuter,t.bottomRightOuter,n.left+n.width,n.top),u(o,i[2],i[3],t.bottomRightOuter,t.bottomLeftOuter,n.left+n.width,n.top+n.height),u(o,i[3],i[0],t.bottomLeftOuter,t.topLeftOuter,n.left,n.top+n.height)}return o},t.exports=i},{"./color":3,"./fontmetrics":7,"./log":13,"./nodecontainer":14,"./pseudoelementcontainer":18,"./stackingcontext":21,"./textcontainer":25,"./utils":26,punycode:1}],16:[function(e,t,a){function i(e,t,a){var i="withCredentials"in new XMLHttpRequest;if(!t)return Promise.reject("No proxy configured");var n=o(i),l=r(t,e,n);return i?d(l):s(a,l,n).then(function(e){return m(e.content)})}function n(e,t,a){var i="crossOrigin"in new Image,n=o(i),l=r(t,e,n);return i?Promise.resolve(l):s(a,l,n).then(function(e){return"data:"+e.type+";base64,"+e.content})}function s(e,t,a){return new Promise(function(i,n){var s=e.createElement("script"),o=function(){delete window.html2canvas.proxy[a],e.body.removeChild(s)};window.html2canvas.proxy[a]=function(e){o(),i(e)},s.src=t,s.onerror=function(e){o(),n(e)},e.body.appendChild(s)})}function o(e){return e?"":"html2canvas_"+Date.now()+"_"+ ++g+"_"+Math.round(1e5*Math.random())}function r(e,t,a){return e+"?url="+encodeURIComponent(t)+(a.length?"&callback=html2canvas.proxy."+a:"")}function l(e){return function(t){var a,i=new DOMParser;try{a=i.parseFromString(t,"text/html")}catch(n){u("DOMParser not supported, falling back to createHTMLDocument"),a=document.implementation.createHTMLDocument("");try{a.open(),a.write(t),a.close()}catch(s){u("createHTMLDocument write not supported, falling back to document.body.innerHTML"),a.body.innerHTML=t}}var o=a.querySelector("base");if(!o||!o.href.host){var r=a.createElement("base");r.href=e,a.head.insertBefore(r,a.head.firstChild)}return a}}function A(e,t,a,n,s,o){return new i(e,t,window.document).then(l(e)).then(function(e){return p(e,a,n,s,o,0,0)})}var d=e("./xhr"),c=e("./utils"),u=e("./log"),p=e("./clone"),m=c.decode64,g=0;a.Proxy=i,a.ProxyURL=n,a.loadUrlDocument=A},{"./clone":2,"./log":13,"./utils":26,"./xhr":28}],17:[function(e,t,a){function i(e,t){var a=document.createElement("a");a.href=e,e=a.href,this.src=e,this.image=new Image;var i=this;this.promise=new Promise(function(a,s){i.image.crossOrigin="Anonymous",i.image.onload=a,i.image.onerror=s,new n(e,t,document).then(function(e){i.image.src=e})["catch"](s)})}var n=e("./proxy").ProxyURL;t.exports=i},{"./proxy":16}],18:[function(e,t,a){function i(e,t,a){n.call(this,e,t),this.isPseudoElement=!0,this.before=":before"===a}var n=e("./nodecontainer");i.prototype.cloneTo=function(e){i.prototype.cloneTo.call(this,e),e.isPseudoElement=!0,e.before=this.before},i.prototype=Object.create(n.prototype),i.prototype.appendToDOM=function(){this.before?this.parent.node.insertBefore(this.node,this.parent.node.firstChild):this.parent.node.appendChild(this.node),this.parent.node.className+=" "+this.getHideClass()},i.prototype.cleanDOM=function(){this.node.parentNode.removeChild(this.node),this.parent.node.className=this.parent.node.className.replace(this.getHideClass(),"")},i.prototype.getHideClass=function(){return this["PSEUDO_HIDE_ELEMENT_CLASS_"+(this.before?"BEFORE":"AFTER")]},i.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE="___html2canvas___pseudoelement_before",i.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER="___html2canvas___pseudoelement_after",t.exports=i},{"./nodecontainer":14}],19:[function(e,t,a){function i(e,t,a,i,n){this.width=e,this.height=t,this.images=a,this.options=i,this.document=n}var n=e("./log");i.prototype.renderImage=function(e,t,a,i){var n=e.cssInt("paddingLeft"),s=e.cssInt("paddingTop"),o=e.cssInt("paddingRight"),r=e.cssInt("paddingBottom"),l=a.borders,A=t.width-(l[1].width+l[3].width+n+o),d=t.height-(l[0].width+l[2].width+s+r);this.drawImage(i,0,0,i.image.width||A,i.image.height||d,t.left+n+l[3].width,t.top+s+l[0].width,A,d)},i.prototype.renderBackground=function(e,t,a){t.height>0&&t.width>0&&(this.renderBackgroundColor(e,t),this.renderBackgroundImage(e,t,a))},i.prototype.renderBackgroundColor=function(e,t){var a=e.color("backgroundColor");a.isTransparent()||this.rectangle(t.left,t.top,t.width,t.height,a)},i.prototype.renderBorders=function(e){e.forEach(this.renderBorder,this)},i.prototype.renderBorder=function(e){e.color.isTransparent()||null===e.args||this.drawShape(e.args,e.color)},i.prototype.renderBackgroundImage=function(e,t,a){var i=e.parseBackgroundImages();i.reverse().forEach(function(i,s,o){switch(i.method){case"url":var r=this.images.get(i.args[0]);r?this.renderBackgroundRepeating(e,t,r,o.length-(s+1),a):n("Error loading background-image",i.args[0]);break;case"linear-gradient":case"gradient":var l=this.images.get(i.value);l?this.renderBackgroundGradient(l,t,a):n("Error loading background-image",i.args[0]);break;case"none":break;default:n("Unknown background-image type",i.args[0])}},this)},i.prototype.renderBackgroundRepeating=function(e,t,a,i,n){var s=e.parseBackgroundSize(t,a.image,i),o=e.parseBackgroundPosition(t,a.image,i,s),r=e.parseBackgroundRepeat(i);switch(r){case"repeat-x":case"repeat no-repeat":this.backgroundRepeatShape(a,o,s,t,t.left+n[3],t.top+o.top+n[0],99999,s.height,n);break;case"repeat-y":case"no-repeat repeat":this.backgroundRepeatShape(a,o,s,t,t.left+o.left+n[3],t.top+n[0],s.width,99999,n);break;case"no-repeat":this.backgroundRepeatShape(a,o,s,t,t.left+o.left+n[3],t.top+o.top+n[0],s.width,s.height,n);break;default:this.renderBackgroundRepeat(a,o,s,{top:t.top,left:t.left},n[3],n[0])}},t.exports=i},{"./log":13}],20:[function(e,t,a){function i(e,t){s.apply(this,arguments),this.canvas=this.options.canvas||this.document.createElement("canvas"),this.options.canvas||(this.canvas.width=e,this.canvas.height=t),this.ctx=this.canvas.getContext("2d"),this.taintCtx=this.document.createElement("canvas").getContext("2d"),this.ctx.textBaseline="bottom",this.variables={},r("Initialized CanvasRenderer with size",e,"x",t)}function n(e){return e.length>0}var s=e("../renderer"),o=e("../lineargradientcontainer"),r=e("../log");i.prototype=Object.create(s.prototype),i.prototype.setFillStyle=function(e){return this.ctx.fillStyle="object"==typeof e&&e.isColor?e.toString():e,this.ctx},i.prototype.rectangle=function(e,t,a,i,n){this.setFillStyle(n).fillRect(e,t,a,i)},i.prototype.circle=function(e,t,a,i){this.setFillStyle(i),this.ctx.beginPath(),this.ctx.arc(e+a/2,t+a/2,a/2,0,2*Math.PI,!0),this.ctx.closePath(),this.ctx.fill()},i.prototype.circleStroke=function(e,t,a,i,n,s){this.circle(e,t,a,i),this.ctx.strokeStyle=s.toString(),this.ctx.stroke()},i.prototype.drawShape=function(e,t){this.shape(e),this.setFillStyle(t).fill()},i.prototype.taints=function(e){if(null===e.tainted){this.taintCtx.drawImage(e.image,0,0);try{this.taintCtx.getImageData(0,0,1,1),e.tainted=!1}catch(t){this.taintCtx=document.createElement("canvas").getContext("2d"),e.tainted=!0}}return e.tainted},i.prototype.drawImage=function(e,t,a,i,n,s,o,r,l){(!this.taints(e)||this.options.allowTaint)&&this.ctx.drawImage(e.image,t,a,i,n,s,o,r,l)},i.prototype.clip=function(e,t,a){this.ctx.save(),e.filter(n).forEach(function(e){this.shape(e).clip()},this),t.call(a),this.ctx.restore()},i.prototype.shape=function(e){return this.ctx.beginPath(),e.forEach(function(e,t){"rect"===e[0]?this.ctx.rect.apply(this.ctx,e.slice(1)):this.ctx[0===t?"moveTo":e[0]+"To"].apply(this.ctx,e.slice(1))},this),this.ctx.closePath(),this.ctx},i.prototype.font=function(e,t,a,i,n,s){this.setFillStyle(e).font=[t,a,i,n,s].join(" ").split(",")[0]},i.prototype.fontShadow=function(e,t,a,i){this.setVariable("shadowColor",e.toString()).setVariable("shadowOffsetY",t).setVariable("shadowOffsetX",a).setVariable("shadowBlur",i)},i.prototype.clearShadow=function(){this.setVariable("shadowColor","rgba(0,0,0,0)")},i.prototype.setOpacity=function(e){this.ctx.globalAlpha=e},i.prototype.setTransform=function(e){this.ctx.translate(e.origin[0],e.origin[1]),this.ctx.transform.apply(this.ctx,e.matrix),this.ctx.translate(-e.origin[0],-e.origin[1])},i.prototype.setVariable=function(e,t){return this.variables[e]!==t&&(this.variables[e]=this.ctx[e]=t),this},i.prototype.text=function(e,t,a){this.ctx.fillText(e,t,a)},i.prototype.backgroundRepeatShape=function(e,t,a,i,n,s,o,r,l){var A=[["line",Math.round(n),Math.round(s)],["line",Math.round(n+o),Math.round(s)],["line",Math.round(n+o),Math.round(r+s)],["line",Math.round(n),Math.round(r+s)]];this.clip([A],function(){this.renderBackgroundRepeat(e,t,a,i,l[3],l[0])},this)},i.prototype.renderBackgroundRepeat=function(e,t,a,i,n,s){var o=Math.round(i.left+t.left+n),r=Math.round(i.top+t.top+s);this.setFillStyle(this.ctx.createPattern(this.resizeImage(e,a),"repeat")),this.ctx.translate(o,r),this.ctx.fill(),this.ctx.translate(-o,-r)},i.prototype.renderBackgroundGradient=function(e,t){if(e instanceof o){var a=this.ctx.createLinearGradient(t.left+t.width*e.x0,t.top+t.height*e.y0,t.left+t.width*e.x1,t.top+t.height*e.y1);e.colorStops.forEach(function(e){a.addColorStop(e.stop,e.color.toString())}),this.rectangle(t.left,t.top,t.width,t.height,a)}},i.prototype.resizeImage=function(e,t){var a=e.image;if(a.width===t.width&&a.height===t.height)return a;var i,n=document.createElement("canvas");return n.width=t.width,n.height=t.height,i=n.getContext("2d"),i.drawImage(a,0,0,a.width,a.height,0,0,t.width,t.height),n},t.exports=i},{"../lineargradientcontainer":12,"../log":13,"../renderer":19}],21:[function(e,t,a){function i(e,t,a,i){n.call(this,a,i),this.ownStacking=e,this.contexts=[],this.children=[],this.opacity=(this.parent?this.parent.stack.opacity:1)*t}var n=e("./nodecontainer");i.prototype=Object.create(n.prototype),i.prototype.getParentStack=function(e){var t=this.parent?this.parent.stack:null;return t?t.ownStacking?t:t.getParentStack(e):e.stack},t.exports=i},{"./nodecontainer":14}],22:[function(e,t,a){function i(e){this.rangeBounds=this.testRangeBounds(e),this.cors=this.testCORS(),this.svg=this.testSVG()}i.prototype.testRangeBounds=function(e){var t,a,i,n,s=!1;return e.createRange&&(t=e.createRange(),t.getBoundingClientRect&&(a=e.createElement("boundtest"),a.style.height="123px",a.style.display="block",e.body.appendChild(a),t.selectNode(a),i=t.getBoundingClientRect(),n=i.height,123===n&&(s=!0),e.body.removeChild(a))),s},i.prototype.testCORS=function(){return"undefined"!=typeof(new Image).crossOrigin},i.prototype.testSVG=function(){var e=new Image,t=document.createElement("canvas"),a=t.getContext("2d");e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{a.drawImage(e,0,0),t.toDataURL()}catch(i){return!1}return!0},t.exports=i},{}],23:[function(e,t,a){function i(e){this.src=e,this.image=null;var t=this;this.promise=this.hasFabric().then(function(){return t.isInline(e)?Promise.resolve(t.inlineFormatting(e)):n(e)}).then(function(e){return new Promise(function(a){window.html2canvas.svg.fabric.loadSVGFromString(e,t.createCanvas.call(t,a))})})}var n=e("./xhr"),s=e("./utils").decode64;i.prototype.hasFabric=function(){return window.html2canvas.svg&&window.html2canvas.svg.fabric?Promise.resolve():Promise.reject(new Error("html2canvas.svg.js is not loaded, cannot render svg"))},i.prototype.inlineFormatting=function(e){return/^data:image\/svg\+xml;base64,/.test(e)?this.decode64(this.removeContentType(e)):this.removeContentType(e)},i.prototype.removeContentType=function(e){return e.replace(/^data:image\/svg\+xml(;base64)?,/,"")},i.prototype.isInline=function(e){return/^data:image\/svg\+xml/i.test(e)},i.prototype.createCanvas=function(e){var t=this;return function(a,i){var n=new window.html2canvas.svg.fabric.StaticCanvas("c");t.image=n.lowerCanvasEl,n.setWidth(i.width).setHeight(i.height).add(window.html2canvas.svg.fabric.util.groupSVGElements(a,i)).renderAll(),e(n.lowerCanvasEl)}},i.prototype.decode64=function(e){return"function"==typeof window.atob?window.atob(e):s(e)},t.exports=i},{"./utils":26,"./xhr":28}],24:[function(e,t,a){function i(e,t){this.src=e,this.image=null;var a=this;this.promise=t?new Promise(function(t,i){a.image=new Image,a.image.onload=t,a.image.onerror=i,a.image.src="data:image/svg+xml,"+(new XMLSerializer).serializeToString(e),a.image.complete===!0&&t(a.image)}):this.hasFabric().then(function(){return new Promise(function(t){window.html2canvas.svg.fabric.parseSVGDocument(e,a.createCanvas.call(a,t))})})}var n=e("./svgcontainer");i.prototype=Object.create(n.prototype),t.exports=i},{"./svgcontainer":23}],25:[function(e,t,a){function i(e,t){s.call(this,e,t)}function n(e,t,a){return e.length>0?t+a.toUpperCase():void 0}var s=e("./nodecontainer");i.prototype=Object.create(s.prototype),i.prototype.applyTextTransform=function(){this.node.data=this.transform(this.parent.css("textTransform"))},i.prototype.transform=function(e){var t=this.node.data;switch(e){case"lowercase":return t.toLowerCase();case"capitalize":return t.replace(/(^|\s|:|-|\(|\))([a-z])/g,n);case"uppercase":return t.toUpperCase();default:return t}},t.exports=i},{"./nodecontainer":14}],26:[function(e,t,a){a.smallImage=function(){return"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},a.bind=function(e,t){return function(){return e.apply(t,arguments)}},/*
       * base64-arraybuffer
       * https://github.com/niklasvh/base64-arraybuffer
       *
       * Copyright (c) 2012 Niklas von Hertzen
       * Licensed under the MIT license.
       */
  a.decode64=function(e){var t,a,i,n,s,o,r,l,A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=e.length,c="";for(t=0;d>t;t+=4)a=A.indexOf(e[t]),i=A.indexOf(e[t+1]),n=A.indexOf(e[t+2]),s=A.indexOf(e[t+3]),o=a<<2|i>>4,r=(15&i)<<4|n>>2,l=(3&n)<<6|s,c+=64===n?String.fromCharCode(o):64===s||-1===s?String.fromCharCode(o,r):String.fromCharCode(o,r,l);return c},a.getBounds=function(e){if(e.getBoundingClientRect){var t=e.getBoundingClientRect(),a=null==e.offsetWidth?t.width:e.offsetWidth;return{top:t.top,bottom:t.bottom||t.top+t.height,right:t.left+a,left:t.left,width:a,height:null==e.offsetHeight?t.height:e.offsetHeight}}return{}},a.offsetBounds=function(e){var t=e.offsetParent?a.offsetBounds(e.offsetParent):{top:0,left:0};return{top:e.offsetTop+t.top,bottom:e.offsetTop+e.offsetHeight+t.top,right:e.offsetLeft+t.left+e.offsetWidth,left:e.offsetLeft+t.left,width:e.offsetWidth,height:e.offsetHeight}},a.parseBackgrounds=function(e){var t,a,i,n,s,o,r,l=" \r\n	",A=[],d=0,c=0,u=function(){t&&('"'===a.substr(0,1)&&(a=a.substr(1,a.length-2)),a&&r.push(a),"-"===t.substr(0,1)&&(n=t.indexOf("-",1)+1)>0&&(i=t.substr(0,n),t=t.substr(n)),A.push({prefix:i,method:t.toLowerCase(),value:s,args:r,image:null})),r=[],t=i=a=s=""};return r=[],t=i=a=s="",e.split("").forEach(function(e){if(!(0===d&&l.indexOf(e)>-1)){switch(e){case'"':o?o===e&&(o=null):o=e;break;case"(":if(o)break;if(0===d)return d=1,void(s+=e);c++;break;case")":if(o)break;if(1===d){if(0===c)return d=0,s+=e,void u();c--}break;case",":if(o)break;if(0===d)return void u();if(1===d&&0===c&&!t.match(/^url$/i))return r.push(a),a="",void(s+=e)}s+=e,0===d?t+=e:a+=e}}),u(),A}},{}],27:[function(e,t,a){function i(e){n.apply(this,arguments),this.type="linear"===e.args[0]?n.TYPES.LINEAR:n.TYPES.RADIAL}var n=e("./gradientcontainer");i.prototype=Object.create(n.prototype),t.exports=i},{"./gradientcontainer":9}],28:[function(e,t,a){function i(e){return new Promise(function(t,a){var i=new XMLHttpRequest;i.open("GET",e),i.onload=function(){200===i.status?t(i.responseText):a(new Error(i.statusText))},i.onerror=function(){a(new Error("Network Error"))},i.send()})}t.exports=i},{}]},{},[4])(4)}),function(){"use strict";var e={TextOnly:{pattern:"/^[a-zA-Z .]*$/",errorValidation:{pattern:"Can not contain digits."}},ContactNumber:{pattern:"/^([0-9()/+ -]*)$/",errorValidation:{required:"Contact Number is invalid."}},PrimaryContact:{errorValidation:{required:"Primary Contact Number not provided."}},SecondaryContact:{errorValidation:{required:"Secondary Contact Number not provided."}},Email:{placeholder:"Enter Email",pattern:"/^([w-]+(?:.[w-]+)*)@((?:[w-]+.)*w[w-]{0,66}).([a-z]{2,6}(?:.[a-z]{2})?)$/i",errorValidations:{required:"Email not provided."}},FirstName:{placeholder:"Enter First Name",errorValidations:{required:"First Name not provided."}},LastName:{placeholder:"Enter Last Name",errorValidations:{required:"Last Name not provided."}},Designation:{placeholder:"Enter Designation",errorValidations:{required:"Designation not provided."}},OldPassword:{placeholder:"******",errorValidations:{required:"Old Password not provided."}},NewPassword:{placeholder:"******",minLength:8,maxLength:32,errorValidations:{required:"New Password not provided.",pattern:"Password should be at least 8 characters and must contain letters, a number & a special character.",maxLength:"Password should be less than 32 characters",minLength:"Password should be less than "}},ConfirmPassword:{placeholder:"******",errorValidations:{required:"Re-type given password.",validator:"Passwords do not match."}}};angular.module("app.core").constant("inputFields",e)}(),function(){"use strict";function e(e){e.setBaseUrl("/api"),e.setRequestSuffix("/")}e.$inject=["RestangularProvider"],angular.module("app.core").config(e)}(),function(){"use strict";function e(e){e.otherwise("/login")}function t(e,t){e.$on("$stateNotFound",function(e,t,a,i){}),e.$on("$stateChangeSuccess",function(a,i,n,s,o){t.dismissAll(),e.pageTitle=i.title||"Doni Enterprises",e.bgBackgroundClass=i.bgBackgroundClass||"",i.pageHeader?(i.pageHeader.title&&(e.headerTitle=i.pageHeader.title),i.pageHeader.subTitle&&(e.headerSubTitle=i.pageHeader.subTitle),e.headerAnchor=i.pageHeader.headerAnchor?i.pageHeader.headerAnchor:[],e.goBack=i.pageHeader.goBack||!1):(e.headerAnchor=[],e.goBack=!1),s.wentTo=i.name,i.params=n,i.wentTo!==s.name&&(i.prevState=s.name,i.prevParam=o)})}e.$inject=["$urlRouterProvider"],t.$inject=["$rootScope","$uibModalStack"],angular.module("app.core").config(e).run(t)}(),function(){"use strict";function e(e){e.decorator("selectizeDirective",["$delegate","selectizeConfig",function(e,t){function a(e,a,i,n){var s,o=angular.extend({},Selectize.defaults,t,e.config);e.options=e.options||[],e.config=e.config||{};var r=function(e){e?s.disable():s.enable()},l=function(e){return void 0===e||null===e||e.constructor===Array&&!e.length},A=function(){var t=(e.ngRequired()||i.required||o.required)&&!l(e.ngModel);n.$setValidity("required",t)},d=function(e,t){angular.forEach(t,function(t){if(-1===e.indexOf(t)){var a=t[o.valueField];s.removeOption(a,!0)}}),s.addOption(e,!0),c()},c=function(){A(),s.$control.toggleClass("ng-valid",n.$valid),s.$control.toggleClass("ng-invalid",n.$invalid),s.$control.toggleClass("ng-dirty",n.$dirty),s.$control.toggleClass("ng-pristine",n.$pristine),angular.equals(s.items,e.ngModel)||s.setValue(e.ngModel,!0)};o.onChange=function(t){var t=angular.copy(s.items);1==o.maxItems&&(t=t[0]),n.$setViewValue(t),e.config.onChange&&e.config.onChange.apply(this,arguments)},o.onOptionAdd=function(t,a){-1===e.options.indexOf(a)&&(e.options.push(a),e.config.onOptionAdd&&e.config.onOptionAdd.apply(this,arguments))},o.onInitialize=function(){s=a[0].selectize,d(e.options),e.config.onInitialize&&e.config.onInitialize(s),e.$watchCollection("options",d),e.$watch("ngModel",c),e.$watch("ngDisabled",r)},a.selectize(o),a.on("$destroy",function(){s&&(s.destroy(),a=null)})}var i=e[0],n=a;return i.compile=function(){return function(e,t,a){n.apply(this,arguments)}},e}])}e.$inject=["$provide"],angular.module("app.core").config(e)}(),function(){"use strict";function utilities($state,toastr,moment,appFormats,$filter,crud){function stripHtml(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}function evalMathExpressionInString(str){var expression=str.replace(/[^0-9.*+-]/g,"");return eval(expression)}function sortTableBySortType(e,t,a){var i=["fileNo"],n=_.indexOf(i,t)>-1?"digitInString":"orderBy";return $filter(n)(e,t,a)}function manageTextOverFlow(e,t){return e.length>t?e.substring(0,t)+"...":e}function prepareGraphData(e){return _.forEach(e,function(e,t){e.date=new Date(e.date)}),$filter("orderBy")(e,"date")}function goBackState(){if($state.current.prevState)$state.go($state.current.prevState,$state.current.prevParam);else try{$state.go("^")}catch(e){$state.go("dashboard.main")}}function cloneObjectInToObject(e,t){for(var a in e)delete e[a];for(var a in t)e[a]=t[a];return e}function cloneIntoEmptyObject(e,t){if(t instanceof Array)e.list=t;else for(var a in t)e[a]=t[a];return e}function setupCRUD(e,t,a,i){var n={};return n[crud.CREATE]=e,n[crud.UPDATE]=a,n[crud.DELETE]=i,n[crud.READ]=t,n}function getCurrentUser(){return currentUser}function getTime(){return(new Date).getTime()}function filterDate(e){return $filter("date")(e,appFormats.Date)}function getChildStates(e){var t=e.name,a=new RegExp(t+".[a-z]+$","i"),i=$state.get(),n=_.filter(i,function(e){return a.test(e.name)&&!e["abstract"]});return n}function getStatesForAccordian(e){var t=getChildStates(e);return _.filter(t,function(e){e.hasAccordianDropDown&&(e.children=getChildStates(e))}),t}function chartColors(){return this.colors}function internalServerError(e,t){toastr.error(e,t)}function todayDateRange(){var e={};return e.startDate=moment().startOf("day"),e.endDate=moment().endOf("day"),e}function lastThirtyDaysDateRange(){var e={};return e.startDate=moment().subtract(30,"days").startOf("day"),e.endDate=moment().endOf("day"),e}function initialDateRange(e){e=e?e:14;var t={};return t.startDate=moment().subtract(e,"days").startOf("day"),t.endDate=moment().endOf("day"),t}function dashboardDateRange(){var e={};return e.startDate=moment().subtract(30,"days").startOf("day"),e.endDate=moment().add(14,"days").endOf("day"),e}function successMessage(e,t){toastr.success(e,t)}function getYearsInDateRange(e,t){for(var a=parseInt(new Date(e).getFullYear()),i=parseInt(new Date(t).getFullYear()),n=[];i>=a;)n.push(a),a++;return n}function getMonthTitle(e){return months[e.getMonth()]+", "+e.getFullYear()}function getWeeksInDateRange(e,t){var a=new Date(e),i=new Date(t);a=new Date(a.getFullYear()+"-"+(a.getMonth()+1)+"-"+a.getDate()),i=new Date(i.getFullYear()+"-"+(i.getMonth()+1)+"-"+i.getDate());for(var n=[];i>a;){var s=new Date(a);n.push(s);var o=0===a.getDay()?7:a.getDay()+1;a.setDate(a.getDate()+o)}return n.push(i),n}function getWeekTitle(e,t){return e.getDate()+" "+months[e.getMonth()]+", "+e.getFullYear()+" - "+t.getDate()+" "+months[t.getMonth()]+", "+t.getFullYear()}function getMonthsInDateRange(e,t){var a=new Date(e),i=new Date(t);a=new Date(a.getFullYear()+"-"+(a.getMonth()+1)),i=new Date(i.getFullYear()+"-"+(i.getMonth()+1));var n=[];if(a.toString()===i.toString()){var s=new Date(a);n.push(s),i=new Date(a.setMonth(a.getMonth()+1)),n.push(i)}else{for(;i>=a;){var s=new Date(a);n.push(s),a=new Date(a.setMonth(a.getMonth()+1))}a=new Date(a.setMonth(a.getMonth()+1)),n.push(a)}return n}function getDateRangeArray(e,t){var a=new Array,i=new Date(e);for(t=new Date(t);t>=i;)a.push(i),i=i.addDays(1);return a}function convertMomentDateRange(e){var t=angular.copy(e);return t.startDate=t.startDate._d,t.endDate=t.endDate._d,t}function resetFormValidation(e){for(var t in e.$error)e.$error.hasOwnProperty(t)&&e.$setValidity(t,!0);e.$setSubmitted(!1),e.$setPristine(!0)}var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],colors=["#f47414","#1691AC","#A53860","#4C3B4D","#ADA8B6","#36C4BB","#7EAAAF","#A5C5C9","#B4E6ED","#E88D67","#BAA298","#C1A397","#DD977A","#E5CABE","#424B54","#79ACE0","#B2CEEA","#AEB9C4"];return{chartColors:chartColors,getCurrentUser:getCurrentUser,getTime:getTime,internalServerError:internalServerError,successMessage:successMessage,initialDateRange:initialDateRange,todayDateRange:todayDateRange,getDateRangeArray:getDateRangeArray,getYearsInDateRange:getYearsInDateRange,getMonthsInDateRange:getMonthsInDateRange,getWeeksInDateRange:getWeeksInDateRange,getMonthTitle:getMonthTitle,getWeekTitle:getWeekTitle,filterDate:filterDate,lastThirtyDaysDateRange:lastThirtyDaysDateRange,resetFormValidation:resetFormValidation,colors:colors,dashboardDateRange:dashboardDateRange,getChildStates:getChildStates,getStatesForAccordian:getStatesForAccordian,setupCRUD:setupCRUD,cloneIntoEmptyObject:cloneIntoEmptyObject,cloneObjectInToObject:cloneObjectInToObject,convertMomentDateRange:convertMomentDateRange,goBackState:goBackState,prepareGraphData:prepareGraphData,manageTextOverFlow:manageTextOverFlow,evalMathExpressionInString:evalMathExpressionInString,sortTableBySortType:sortTableBySortType,stripHtml:stripHtml}}utilities.$inject=["$state","toastr","moment","appFormats","$filter","crud"],angular.module("app.common").factory("utilities",utilities)}(),function(){"use strict";function e(e,t,a){function i(){return A.customGET(t.notification.unreadCount)}function n(e){return A.customGET(t.notification.unreadList,{mark_as_read:e})}function s(){return l.customGET("",{})}function o(e){return l.customGET(t.dashboard.searchPageTop,e)}function r(){}var l=e.all(t.dashboard.main),A=e.all(t.notification.main);return{getCompleteDashboardReport:s,refreshCurrentDollarRate:r,searchQueryPageTop:o,getNotificationCount:i,getUnReadNotificationList:n}}e.$inject=["Restangular","apiEndPoints","utilities"],angular.module("app.dashboard").factory("dashboard",e)}(),function(){"use strict";function e(e){function t(t){e.open({animation:!0,templateUrl:"src/setup/changePassword/changePassword.template.html",controller:"ChangePasswordModal as vm",size:"md",windowClass:"marginTopPlus150px",resolve:{userId:function(){return t}}})}function a(t,a,i){var n=e.open({animation:!0,templateUrl:"src/modal/alertmodal.template.html",controller:"AlertModal as vm",size:"sm",windowClass:"marginTopPlus150px",resolve:{name:function(){return t},type:function(){return a},action:function(){return i}}});return n.result.then(function(e){return e},function(){$log.info("Modal dismissed at: "+new Date)})}return{alertModal:a,changePassword:t}}e.$inject=["$uibModal"],angular.module("app.modal").factory("modalFactory",e)}(),function(){"use strict";function e(e,t){e.open=function(a,i){t.open({animation:!0,templateUrl:a,size:i,resolve:{items:function(){return e.items}}})}}e.$inject=["$scope","$uibModal"],angular.module("app.widgets.ui.notifications").controller("ModalsPageCtrl",e)}(),function(){"use strict";function e(e){var t={},a=0,i=100,n=!1;return{setProgress:function(e){if(e>i)throw Error("Progress can't be greater than max");a=e},getProgress:function(){return a},open:function(){n||(t=e.open({animation:!0,templateUrl:"app/modals/modalTemplates/loaderModal.html",size:"sm",keyboard:!1,backdrop:"static"}),n=!0)},close:function(){n&&(t.close(),n=!1)}}}e.$inject=["$uibModal"],angular.module("app.dashboard.modals").factory("loaderModal",e)}(),function(){"use strict";var e={CR_UP_BASIC_DROP_DOWN:"app/modals/modalTemplates/basicDropDown.html",IMAGE_CROP_WINDOW:"app/modals/modalTemplates/imageCropper.html",PRODUCT_SPECS:"app/dashboard/tradeBook/transaction/templates/productSpecs.html",WRAPPER:"app/modals/modalTemplates/basicWrapper.html",TRADE_COMMISSION_FLOW:"app/modals/modalTemplates/transactionCashFlow.html",TRADE_COMPLETION:"app/modals/modalTemplates/transactionComplete.html"};angular.module("app.dashboard.modals").constant("modalTemplates",e)}(),function(){"use strict";function e(e,t,a,i){function n(a){e.open({animation:!0,templateUrl:t.TRADE_PAYMENT_FLOW,controller:["$scope","fileId","authentication",function(e,t,a){e.userData=a.getUserData(),e.currency=e.userData.data.currency}],size:"lg",backdrop:"static",resolve:{fileId:function(){return a}}})}function s(a){e.open({animation:!0,templateUrl:t.TRADE_COMMISSION_FLOW,controller:["$scope","tradeCashFlowData","$uibModalInstance",function(e,t,a){e.tradeCashFlowData=t,e.tradeSum=_.sumBy(t.cashFlow,function(e){return e.active?e.amount:0}),e.saveSpecs=function(){a.close()}}],size:"lg",backdrop:"static",resolve:{tradeCashFlowData:["tradeBook",function(e){return e.getCommissionCashFlow(a).then(function(e){return e.data})}]}})}function o(a,i,n){var s=e.open({animation:!0,templateUrl:t.TRADE_COMPLETION,controller:["$scope","$uibModalInstance","completeObj",function(e,t,a){e.completeObj=a?a:{complete:!0},e.changeCompletion=function(e){t.close(e)}}],size:"md",backdrop:"static",resolve:{completeObj:function(){return a}}});s.result.then(function(e){n(e)})}function r(a,i){var n=e.open({animation:!0,templateUrl:t.PRODUCT_SPECS,controller:["$scope","productSpecs","$uibModalInstance",function(e,t,a){e.productSpecs=t,e.saveSpecs=function(e){a.close({productSpecs:e})}}],size:"lg",backdrop:"static",resolve:{productSpecs:function(){return a}}});n.result.then(function(e){i(e.productSpecs)})}function l(){}function A(e,t,i,n,s,o){a.readAsDataUrl(e,t).then(function(e){u(e,i,n,s,o)})}function d(e){e.dismiss("cancel")}function c(t,a,i,n){e.open({animation:!0,templateUrl:t,controller:i,size:a,backdrop:"static",resolve:n})}function u(a,i,n,s,o){var r=e.open({animation:!0,templateUrl:t.IMAGE_CROP_WINDOW,controller:["$scope","image","aspectRatio","$uibModalInstance",function(e,t,a,i){a&&(e.aspectRatio=a),s&&(e.cropper={w:s.width,h:s.height}),n&&(e.resultImageSizes=n[0]),e.croppedImages=[],e.croppedImage="",e.image=t,e.saveImage=function(){console.log(e.croppedImages,e.blob),i.close({croppedImages:e.croppedImages,resultBlob:e.blob,croppedImage:e.croppedImage})}}],size:"lg",backdrop:"static",resolve:{image:function(){return a},aspectRatio:function(){return i}}});r.result.then(function(e){o(e)})}return{openProgressModal:l,openModal:c,dismissModal:d,openImageCropper:u,getFile:A,openProductSpecificationModal:r,openTransactionCashFlowModal:s,openTransactionCompleteModel:o,openLocalTransactionPaymentModal:n}}e.$inject=["$uibModal","modalTemplates","fileReader","tradeBook"],angular.module("app.dashboard.modals").factory("deModal",e)}(),function(){"use strict";function e(e,t){e.changeTheme({blur:!0}),e.changeColors({"default":"#4e4e55",defaultText:"#e2e2e2"})}e.$inject=["baConfigProvider","colorHelper"],angular.module("app.theme").config(e)}(),function(){"use strict";function e(e){var n={theme:{blur:!1},colors:{"default":t["default"],defaultText:t.defaultText,border:t.border,borderDark:t.borderDark,primary:a.primary,info:a.info,success:a.success,warning:a.warning,danger:a.danger,primaryLight:e.tint(a.primary,30),infoLight:e.tint(a.info,30),successLight:e.tint(a.success,30),warningLight:e.tint(a.warning,30),dangerLight:e.tint(a.danger,30),primaryDark:e.shade(a.primary,15),infoDark:e.shade(a.info,15),successDark:e.shade(a.success,15),warningDark:e.shade(a.warning,15),dangerDark:e.shade(a.danger,15),dashboard:{blueStone:i.blueStone,surfieGreen:i.surfieGreen,silverTree:i.silverTree,gossip:i.gossip,white:i.white}}};return n.changeTheme=function(e){angular.merge(n.theme,e)},n.changeColors=function(e){angular.merge(n.colors,e)},n.$get=function(){return delete n.$get,n},n}e.$inject=["colorHelper"];var t={"default":"#ffffff",defaultText:"#666666",border:"#dddddd",borderDark:"#aaaaaa"},a={primary:"#009688",info:"#FF5733",success:"#4392aa",warning:"#C70039",danger:"#6A6A6A"},i={blueStone:"#005562",surfieGreen:"#0e8174",silverTree:"#6eba8c",gossip:"#b9f2a1",white:"#10c4b5"};angular.module("app.theme").provider("baConfig",e)}(),function(){"use strict";function e(e,t,a){function i(e){return e.toString(16)}function n(e){return parseInt(e,16)}for(var s="#",o=1;7>o;o+=2){var r=n(e.substr(o,2)),l=n(t.substr(o,2)),A=i(Math.floor(l+(r-l)*(a/100)));s+=("0"+A).slice(-2)}return s}var t="assets/img/";angular.module("app.theme").constant("layoutSizes",{resWidthCollapseSidebar:1200,resWidthHideSidebar:500}).constant("layoutPaths",{images:{root:t,profile:t+"app/profile/",amMap:"assets/img/theme/vendor/ammap//dist/ammap/images/",amChart:"assets/img/theme/vendor/amcharts/dist/amcharts/images/"}}).constant("colorHelper",{tint:function(t,a){return e("#ffffff",t,a)},shade:function(t,a){return e("#000000",t,a)}})}(),function(){"use strict";function e(e,t,a,i,n,s,o){var r=[i.loadAmCharts(),e(3e3)],l=o;l.blur&&(l.mobile?r.unshift(i.loadImg(a.images.root+"blur-bg-mobile.jpg")):r.unshift(i.loadImg(a.images.root+"blur-bg.jpg"))),n.all(r).then(function(){t.$pageFinishedLoading=!0}),e(function(){t.$pageFinishedLoading||(t.$pageFinishedLoading=!0)},7e3),t.$baSidebarService=s}e.$inject=["$timeout","$rootScope","layoutPaths","preloader","$q","baSidebarService","themeLayoutSettings"],angular.module("app.theme").run(e)}(),function(){"use strict";function e(e){var t=/android|webos|iphone|ipad|ipod|blackberry|windows phone/.test(navigator.userAgent.toLowerCase()),a=t?"mobile":"",i=e.theme.blur?"blur-theme":"";return angular.element(document.body).addClass(a).addClass(i),{blur:e.theme.blur,mobile:t}}e.$inject=["baConfig"],angular.module("app.theme").service("themeLayoutSettings",e)}(),function(){"use strict";function e(e,t,a){function i(e,a,i){r.customPUT({fileId:e,invoiceObj:a},t.accounts.invoice).then(function(e){i(e)})}function n(e,a,i){r.customPOST({fileId:e,invoiceObj:a},t.accounts.invoice).then(function(e){i(e)})}function s(){}function o(e,a){return r.customGET(t.accounts.invoice,{fileId:e,invoiceId:a})}var r=e.all(t.accounts.main);return{getDashboardData:s,getInvoiceObj:o,createInvoice:n,updateInvoice:i}}e.$inject=["Restangular","apiEndPoints","utilities"],angular.module("app.dashboard.accounts").factory("accounts",e)}(),function(){"use strict";function e(e,t,a){function i(e){return console.log(e),Q.one(t.bp.report,e).customGET()}function n(){return N.index}function s(e){return N.index=e}function o(){return Q.customGET(t.bp.self)}function r(e){return Q.customPOST(e,t.bp.self)}function l(e,a){return Q.customPOST({locations:a,bpId:e},t.bp.location)}function A(e,a){return Q.customPOST({contactPersons:a,bpId:e},t.bp.contactPerson)}function d(e,a){return Q.customPOST({contacts:a,bpId:e},t.bp.contactNumber)}function c(e,a){return Q.customPOST({banks:a,bpId:e},t.bp.bank)}function u(e){return{address:"",city:"",state:"",country:"",isPrimary:0===e.locations.length}}function p(){var e={name:"",website:"",databaseId:"",ntn:"",bpType:[],banks:[],locations:[],contacts:[],contactPersons:[]};return e.banks.push(m()),e.locations.push(u(e)),e.contacts.push(g()),e.contactPersons.push(v()),e}function m(){return{accountTitle:"",accountNumber:"",accountCountry:"",accountCity:"",accountAddress:"",bankName:""}}function g(){return{contactNumber:"",contactType:""}}function v(){return{isPrimary:!1,fullName:"",designation:"",email:null,primaryNumber:"",secondaryNumber:""}}function h(e){L=e}function b(){return L}function f(e,t,i,n){a.alertModal(e,"Contact Person "+t+"Contact Person of Business Partner","Delete").then(function(e){e&&Q.remove({contact_id:i}).then(n)})}function w(e,t,i,n,s){a.alertModal(e,"Bank Account "+i+" of title "+t+" of Business Partner ","Delete").then(function(e){e&&Q.remove({bank_id:n}).then(s)})}function y(e,t,i,n,s){a.alertModal(e,i+" Number "+t+" of Business Partner","Delete").then(function(e){e&&Q.remove({cont_num_id:n}).then(s)})}function C(e){return Q.customPOST({bankDetails:e})}function I(e){return Q.customPUT({bankDetails:e})}function D(e){return Q.customPOST({contact:e})}function k(e){return Q.customPOST({contactPerson:e})}function x(e){return Q.customPUT({contactPerson:e})}function P(e){return Q.customPOST({bpProduct:e})}function B(e){return Q.customGET(t.bp.basic,{bpId:e})}function T(e){return Q.customDELETE(t.bp.basic+"/"+e)}function E(e,a){var i=new FormData;if(e){var n=new File([e.resultBlob],"logo.png");i.append("logo",n)}return i.append("data",JSON.stringify({name:a.name,website:a.website,ntn:a.ntn,bpType:a.bpType,databaseId:a.databaseId})),Q.withHttpConfig({transformRequest:angular.identity}).customPOST(i,t.bp.basic,void 0,{"Content-Type":void 0})}function S(e,a){var i=new FormData;if(e){var n=new File([e.resultBlob],"logo.png");i.append("logo",n)}return i.append("data",JSON.stringify({bpId:a.bpId,name:a.name,website:a.website,ntn:a.ntn,bpType:a.bpType,databaseId:a.databaseId})),Q.withHttpConfig({transformRequest:angular.identity}).customPUT(i,t.bp.basic,void 0,{"Content-Type":void 0})}function F(e,i,n){a.alertModal(e,"Business Partner","Delete").then(function(e){e&&Q.remove({bp_id:i},t.bp.basic).then(n)})}function M(e){return Q.customGET(t.bp.list,{alpha:e})}function O(e){return Q.customGET(t.bp.location,{q:e})}var L={},N={index:"A"},Q=e.all(t.bp.main);return{getBusinessPartnerListIndex:n,setBusinessPartnerListIndex:s,addBusinessBasic:E,deleteBusinessPartner:T,updateBusinessBasic:S,deleteBusiness:F,saveBusinessLocations:l,saveBusinessContactPersons:A,saveBusinessContacts:d,saveBusinessBanks:c,setBusinessPartner:h,addBPContactPerson:k,addNewBankAccount:C,addBusinessPartnerContact:D,addBusinessPartnerProduct:P,editBPContactPerson:x,editBankAccount:I,getBusinessPartner:b,getBusinessPartnerList:M,getBusinessComplete:B,getBusinessPartnerLocation:O,deleteBusinessPartnerContact:f,deleteBusinessPartnerBankDetail:w,deleteBusinessPartnerContactNumber:y,getNewBusinessObj:p,getNewBusinessBankObj:m,getNewBusinessAddressObj:u,getNewBusinessContactObj:g,getNewBusinessContactPersonObj:v,saveBusinessSettings:r,getBusinessSettings:o,getBusinessReport:i}}e.$inject=["Restangular","apiEndPoints","modalFactory"],angular.module("app.dashboard.businessPartner").factory("businessPartner",e)}(),function(){"use strict";function e(e,t,a){function i(e,a,i){return n.customPOST(angular.merge(e,{currencyIn:a,currencyOut:i}),t.currencyExchange.dashboard)}var n=e.all(t.currencyExchange.main);return{getDashboardData:i}}e.$inject=["Restangular","apiEndPoints","utilities"],angular.module("app.dashboard.currencyExchange").factory("currencyExchange",e)}(),function(){"use strict";function e(e,t,a,i,n){function s(e){return k.customGET(t.inventory.warehouseProductReport,{warehouseId:e})}function o(e){return k.customGET(t.inventory.warehouseBusinessReport,{warehouseId:e})}function r(e){return k.customGET(t.inventory.transaction+"/list",e)}function l(e){return k.customGET(t.inventory.transaction,{id:e})}function A(e){return k.customPOST(e,t.inventory.transaction)}function d(e){return k.customPUT(e,t.inventory.transaction)}function c(){return{id:"new",date:null,truckNo:"",weightInKg:0,remarks:""}}function u(){return{warehouseId:null,lotNo:"",date:null,businessId:"",portClearingNo:"",fclQuantity:0,productId:"",positive:"True",trucks:[],removedTrucks:[]}}function p(e,a){return k.customGET(t.inventory.warehouse,{id:e,rent:a})}function m(e,a){var a=angular.extend(a,{warehouseId:e});return k.customPOST(a,t.inventory.warehouseRent)}function g(e,t,a){i.open({animation:!0,templateUrl:"app/dashboard/inventory/warehouseBusinessStockReport.html",controller:["$scope","businessReport",function(e,i){e.businessReport=i,e.warehouseName=t,e.warehouseQuantity=a,e.totalInFlow=_.sumBy(i,function(e){return e.showDetails=!1,e.businessInFlow}),e.totalOutFlow=_.sumBy(i,function(e){return e.businessOutFlow}),e.toggleProductDetails=function(e){console.log(e),e.showDetails=!e.showDetails}}],size:"lg",backdrop:"static",resolve:{businessReport:function(){return n.open(),o(e).then(function(e){return n.close(),e.businessReport})},warehouseName:function(){return t},warehouseQuantity:function(){return a}}})}function v(e,t,a){i.open({animation:!0,templateUrl:"app/dashboard/inventory/warehouseProductStockReport.html",controller:["$scope","productReport",function(e,i){e.productReport=i,e.warehouseName=t,e.warehouseQuantity=a,e.totalSelfQuantity=_.sumBy(i,function(e){return e.selfQuantity}),e.totalOtherQuantity=_.sumBy(i,function(e){return e.otherBusinessQuantityInStock})}],size:"lg",backdrop:"static",resolve:{productReport:function(){return n.open(),s(e).then(function(e){return n.close(),console.log(e),e.productReport})},warehouseName:function(){return t},warehouseQuantity:function(){return a}}})}function h(e,t,a,n){var s=i.open({animation:!0,templateUrl:"app/dashboard/inventory/inventoryTruckForm.html",controller:["$scope",function(t){t.inventoryRecordId=e,t.inventoryTruckObj=a,t.saveNewInventoryTruck=function(e,a,i){e.$valid?s.close(t.inventoryTruckObj):n.error("Please Enter mandatory fields")}}],size:"lg",backdrop:"static",resolve:{inventoryRecordId:function(){return e},callback:function(){return t},inventoryTruckObj:function(){return a}}});s.result.then(function(e){t(e)})}function b(e,t){var a=i.open({animation:!0,templateUrl:"app/dashboard/inventory/warehouseRentForm.html",controller:"WarehousesRentForm as vm",size:"md",backdrop:"static",resolve:{warehouseId:function(){return e},callback:function(){return t}}});a.result.then(function(e){t(e)})}function f(){return{name:"",lots:1,totalCapacityKgs:0,selfWarehouse:!1,contact:"",address:""}}function w(){return k.customGET(t.inventory.dashboard)}function y(){return k.customGET(t.inventory.warehouse+"/list")}function C(e){return k.customPOST(e,t.inventory.warehouse)}function I(e){return k.customPUT(e,t.inventory.warehouse)}function D(){}var k=e.all(t.inventory.main);return{getDashboardData:w,createWarehouse:C,updateWarehouse:I,createWarehouseTransaction:D,getWarehouseList:y,getWarehouseDetails:p,getNewWarehouseObj:f,changeCurrentWarehouseRent:b,saveNewWarehouseRent:m,getNewInventoryRecordObj:u,saveTruckInInventoryRecord:h,getNewInventoryTruckObj:c,createInventoryRecord:A,updateInventoryRecord:d,getInventoryRecordList:r,getInventoryRecord:l,openWarehouseProductStockReport:v,openWarehouseBusinessStockReport:g,getWarehouseProductReport:s}}e.$inject=["Restangular","apiEndPoints","utilities","$uibModal","loaderModal"],angular.module("app.dashboard.inventory").factory("inventory",e)}(),function(){"use strict";function e(e,t,a,i){function n(e,t){var a=angular.copy(e);return a=angular.extend(a,{pageType:t}),c.customGET("",a)}function s(e){return d.customPOST(e)}function o(e){return d.customPUT(e)}function r(e,t){return d.customGET("",{tradeId:e,full:t})}function l(){return{date:null,buyerId:null,sellerId:null,productItemId:null,quantityFCL:0,quantity:0,price:0,fileId:null,contractId:"",deliveryDueDate:null,fundsDueDate:null,internationalFileId:null,otherInfo:"",paymentDate:null,paymentTerm:i.ADVANCE}}var A=e.all(t.localTrade.main),d=A.all(t.localTrade.trade),c=A.all(t.localTrade.tradeList);A.all(t.localTrade.tradeStatus),A.all(t.localTrade.deliverySlip),A.all(t.localTrade.deliverySlip);return{getNewLocalTrade:l,addLocalTrade:s,updateLocalTrade:o,getTransactionList:n,getTransactionDetail:r}}e.$inject=["Restangular","apiEndPoints","utilities","paymentTerms"];var t={ADVANCE:"advance",PRODUCT_DELIVERY:"product_delivery",ON_DATE:"on_date"};angular.module("app.dashboard.localTradeBook").constant("paymentTerms",t).factory("localTradeBook",e)}(),function(){"use strict";function e(e,t,a){function i(e){return{date:e?e:new Date,buyerId:null,sellerId:null,productId:null,quantity:null,quantityMetricId:"FCL",containerNo:null,comments:null}}function n(e,t,a,i){var n=angular.copy(e),s=n;return s=angular.extend({selectedBuyer:t.join(),selectedSeller:a.join(),selectedProduct:i.join()},s),d.customPOST(s)}function s(e){return A.customDELETE(e)}function o(e){return A.get("",e)}function r(e){return A.customPUT({manifestItem:e})}function l(e){return A.customPOST({manifestItem:e})}var A=e.all(t.manifest),d=e.all(t.manifestDashboard);return{getNewManifestItemObj:i,addManifestItem:l,updateManifestItem:r,deleteManifestItem:s,getAllManifestItems:o,getManifestDashboardReport:n}}e.$inject=["Restangular","apiEndPoints","utilities"],angular.module("app.dashboard.pricing").factory("manifest",e)}(),function(){"use strict";function e(e,t,a){function i(e,a){return g.customPOST(angular.merge(e,{productItemId:a}),t.productItem+"/analytics")}function n(){return g.customGET(t.pricingSummary)}function s(e){return g.customGET(t.productItem,e)}function o(e,a){g.customPOST(e,t.productItem).then(function(e){a(e)})}function r(e,a){g.customPUT(e,t.productItem).then(function(e){a(e)})}function l(e){return g.customDELETE(t.productItem+"/"+e.id)}function A(e){return{shipmentMonths:null,priceValue:"",currentValue:e?e:!1}}function d(){var e={comments:"",priceMarketId:null,productItemId:null,priceTime:new Date,priceItems:[]};return e.priceItems.push(A(!0)),e}function c(){return g.customGET(t.pricingMarket)}function u(e,a){g.customPOST(e,t.pricingMarket).then(function(e){a(e,"Added Price Market",!1)})}function p(e,a){g.customPUT(e,t.pricingMarket).then(function(e){a(e,"Updated Price Market",!0)})}function m(){return{country:null,currency:null,description:"",isInternational:!0}}var g=e.all(t.pricing);return{getAllPriceMarkets:c,getNewPriceMarkets:m,addPriceMarket:u,updatePriceMarket:p,getNewMarketPriceObj:d,getNewMarketPriceItemObj:A,getAllProductItemPrice:s,addProductItemPrice:o,updateProductItemPrice:r,deleteProductItemPrice:l,getAllProductPriceSummary:n,getProductPricingAnalytics:i}}e.$inject=["Restangular","apiEndPoints","utilities"],angular.module("app.dashboard.pricing").factory("pricing",e)}(),function(){"use strict";function e(t,a,i){function n(e,t){return M.customGET(a.productTags,{productId:t,query:e})}function s(e,t){return M.customPOST({productId:e,status:t},a.productWebsiteStatus)}function o(e,t){var i=angular.copy(e);return i=angular.extend(i,{productItemId:t}),O.customGET(a.productPriceReport,i)}function r(e){return O.customGET("specs",{productItemId:e})}function l(e,t){return M.customPUT(e,a.productKeywords).then(function(e){t(e)})}function A(e,t){return M.customPOST(e,a.productKeywords).then(function(e){
  t(e)})}function d(){return M.customGET(a.productKeywords)}function c(){return{keyword:"",categoryId:null}}function u(){return M.customGET(a.productCategory)}function p(){return{name:"",description:""}}function m(e,t){return M.customPOST(e,a.productCategory).then(function(e){t(e)})}function g(e){return M.customGET(a.productCategorySpecification,{categoryId:e})}function v(e){return M.customPOST(e,a.productCategorySpecification)}function h(e,t){return M.customPUT(e,a.productCategory).then(function(e){t(e)})}function b(){return M.customGET()}function f(){e.info={},e.growingConditions={},e.growingAreas={}}function w(){return{keywords:[],productId:null,productOrigin:null,specification:{moisture:0,purity:0,foreignMatter:0,brokenSplits:0,damaged:0,greenDamaged:0,weevilied:0,otherColor:0,wrinkled:0}}}function y(e,t){console.log(e),O.customPOST(e).then(function(e){t(e)})}function C(e,t){console.log(e),O.customPUT(e).then(function(e){t(e)})}function I(e,t){return O.customPOST({productItemId:e,priceOnWebsite:t},a.productItemPriceOnWebsite)}function D(){return O.customGET()}function k(e){}function x(e,t){var a=new FormData;if(t){var i=new File([t.resultBlob],e.info.name+".png");a.append("image",i)}return a.append("product",JSON.stringify(e.info)),a}function P(e,t){return M.withHttpConfig({transformRequest:angular.identity}).customPUT(x(e,t),"",void 0,{"Content-Type":void 0})}function B(e,t){return M.withHttpConfig({transformRequest:angular.identity}).customPOST(x(e,t),"",void 0,{"Content-Type":void 0})}function T(e){return M.customPOST({origins:e.origins,product_id:e.id},a.productOrigin)}function E(e){return M.customDELETE(e)}function S(t){e.info=t}function F(){return{info:{},growingConditions:{},growingAreas:{},origins:null}}var M=t.all(a.product),O=t.all(a.productItem);return{getAllProductList:b,getProductObj:F,setProductInfo:S,getAllProductCategories:u,getNewProductCategoryObj:p,addProductCategory:m,updateProductCategory:h,getProductCategorySpecification:g,saveProductCategorySpecification:v,addProduct:B,updateProduct:P,deleteProduct:E,getProduct:k,getNewProductItem:w,addProductItem:y,updateProductItem:C,getAllProductItems:D,getProductSpecification:r,getNewKeywordObj:c,addProductKeyword:A,updateProductKeyword:l,getAllKeywords:d,resetProductObj:f,saveProductOrigin:T,getPriceReport:o,displayOnWebsite:s,productItemPriceOnWebsite:I,loadRelatedProducts:n}}e.$inject=["Restangular","apiEndPoints","utilities"],angular.module("app.dashboard.products").factory("product",e)}(),function(){"use strict";function e(e,t,a){function i(){return{confirmPassword:"",oldPassword:"",newPassword:""}}function n(e,t){return l.customPOST({name:t},e)}function s(e,t,a){return"object"==typeof t?l.customGET(e,t,{tabFilter:a}):(t=t?t:"all",l.customGET(e,{q:t,tabFilter:a}))}function o(e,t){return l}function r(e,t,a){return l.customPUT({name:t,id:a},e)}var l=e.all(t.dropDown.main);return{dropDownAPI:l,getChangePasswordObj:i,dropDown:a.setupCRUD(n,s,r,o)}}e.$inject=["Restangular","apiEndPoints","utilities"],angular.module("app.dashboard.settings").factory("settings",e)}(),function(){"use strict";function e(e,t,a){function i(){return{id:null,name:"",shippingLineId:"",mmsi:null,imoNumber:null}}function n(e){return P.customGET(t.shipping.shippingVessel,{id:e})}function s(e){return P.customPUT({vesselObj:e},t.shipping.shippingVessel)}function o(e){return P.customPOST({vesselObj:e},t.shipping.shippingVessel)}function r(e){return P.customDELETE(t.shipping.shippingVessel+"/"+e)}function l(e){return P.customGET(t.shipping.portTag,{query:e})}function A(e){return P.customGET(t.shipping.shippingVesselTag,{query:e})}function d(){return{id:null,codeName:"",name:"",website:"",trackingWebsite:"",logo:null}}function c(e,t){var a=new FormData;if(t){var i=new File([t.resultBlob],e.name+".png");a.append("logo",i)}return a.append("lineData",JSON.stringify(e)),a}function u(e,a){return P.withHttpConfig({transformRequest:angular.identity}).customPUT(c(e,a),t.shipping.shippingLine,void 0,{"Content-Type":void 0})}function p(e){return P.customDELETE(t.shipping.shippingLine+"/"+e)}function m(e,a){return P.withHttpConfig({transformRequest:angular.identity}).customPOST(c(e,a),t.shipping.shippingLine,void 0,{"Content-Type":void 0})}function g(e){return console.log(e),P.customGET(t.shipping.shippingLine,{shippingLineId:e})}function v(){return P.customGET(t.shipping.shippingLine+"/list")}function h(e){return P.customPOST({searchObj:e},t.shipping.shippingVessel+"/list")}function b(e){B.list.push(e)}function f(e){B.list=e}function w(){return B.list}function y(e){return P.customGET(t.shipping.ports+"/"+e)}function C(e){return P.customPOST({portObj:e},t.shipping.ports)}function I(e){return P.customPUT({portObj:e},t.shipping.ports)}function D(){return{name:null,loCode:null,contactNo:null,website:null,country:null,countryCode:null}}function k(){return P.customGET(t.shipping.ports+"/list")}function x(e){return P.customDELETE(t.shipping.ports+"/"+e)}var P=e.all(t.shipping.main),B={list:[]};return{getShippingPortList:k,deleteShippingPort:x,addShippingPort:C,updateShippingPort:I,getPortItemObj:y,getNewPortItemObj:D,shippingPortList:w,setShippingPortList:f,addPortToPortList:b,getShippingVesselList:h,getShippingVesselObj:n,updateShippingVesselObj:s,deleteShippingVesselObj:r,createShippingVesselObj:o,getShippingLineList:v,addShippingLine:m,updateShippingLine:u,deleteShippingLine:p,getNewShippingLineObj:d,getShippingLineObj:g,getNewShippingVesselObj:i,getPortTags:l,getVesselTags:A}}e.$inject=["Restangular","apiEndPoints","utilities"],angular.module("app.dashboard.products").factory("shipping",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r,l){function A(t,a,i){var n=angular.extend(t,{fileId:a,activate:i});return console.log(n),M.customPOST(n,e.transaction.dispute)}function d(){return M.customGET(e.transaction.dashboard)}function c(t){return M.customGET(e.transaction.cashFlow,{fileId:t})}function u(t){var a=angular.copy(t);return M.customGET(e.transaction.analytics,a)}function p(t,a){return M.customPUT({dataObj:t,transactionId:a},e.transaction.shippedInfo)}function m(t,a){return M.customPUT({dataObj:t,transactionId:a},e.transaction.notShippedInfo)}function g(t,a){return M.customPUT({dataObj:t,transactionId:a},e.transaction.approbationReceivedInfo)}function v(t,a,i){return console.log(t),M.customPUT({dataObj:t,transactionId:a,earnedCommission:i},e.transaction.arrivedAtPortInfo)}function h(t,a,i){return i.isWashout=a,M.customPOST({transactionId:t,washOut:i},e.transaction.washout)}function b(t,a){return M.customPOST({transactionId:t,completeObj:a},e.transaction.completeStatus)}function f(t,a,i){return M.customPOST({shipmentStatus:t,status:a,transactionId:i},e.transaction.shipmentStatus)}function w(t,a,i){return M.withHttpConfig({responseType:"arraybuffer"}).customGET(e.transaction.document+"/"+t).then(function(e){var t=document.createElement("a");document.body.appendChild(t),t.style="display: none";var n=new s([e],{type:i}),o=(window.URL||window.webkitURL).createObjectURL(n);t.href=o,t.download=a,t.click(),t.remove(),(window.URL||window.webkitURL).revokeObjectURL(n)})}function y(t){return M.customDELETE(e.transaction.document+"/"+t)}function C(t,a){return M.customGET(e.transaction.basic,{tradeId:t,full:a})}function I(t){return M.customGET(e.transaction.note+"/"+t)}function D(t,a){return M.customPOST({note:a,tradeId:t},e.transaction.note)}function k(t,a){return M.customDELETE(e.transaction.note+"/"+t+"/"+a)}function x(t,a,i){return M.customPUT({note:i,noteId:a,tradeId:t},e.transaction.note)}function P(t,a){var i=angular.copy(t);return i=angular.extend(i,{pageType:a}),M.customGET(e.transaction.list,i)}function B(t){return M.customPOST(t,e.transaction.basic)}function T(t){return M.customPUT(t,e.transaction.basic)}function E(e,t){var a=e.commission.typeId,i=parseFloat(e.basic.price),t=t?parseFloat(t):parseFloat(e.basic.quantity),n=e.commission.commission,s=0,o=e.commission.buyerBrokerCommissionTypeId,r=0,l=parseFloat(e.commission.difference),A=parseFloat(e.commission.discount),d=parseFloat(e.commission.buyerBrokerCommission);a&&(s=1===parseInt(a)?n:.01*n*i),o&&(r=1===parseInt(o)?d:.01*d*i);var c=s-r+l-A;return c*t}function S(){return{id:null,basic:{date:new Date,quantity:0,quantityFcl:0,buyerId:null,sellerId:null,productItemId:null,contractualBuyerId:null,price:0,fileId:null,contractId:null,packagingId:null,shipmentEnd:(new Date).addDays(30),shipmentStart:null,otherInfo:""},commission:{typeId:1,commission:0,difference:0,discount:0,buyerBrokerId:null,buyerBrokerCommissionTypeId:1,buyerBrokerCommission:0,sellerBrokerId:null},productSpecification:{moisture:null,purity:null,foreignMatter:null,brokenSplits:null,damaged:null,greenDamaged:null,weevilied:null,otherColor:null,wrinkled:null}}}function F(e){a.go("dashboard.transactionList",{reportType:e})}var M=t.all(e.transaction.main);t.all(e.productItem);return{getNewTransaction:S,getTransactionList:P,calculateCommission:E,addTransaction:B,updateTransaction:T,getTransactionDetail:C,addTradeNote:D,editTradeNote:x,deleteTradeNote:k,getAllNotesForTrade:I,deleteTransactionDocument:y,downloadTradeDocument:w,activateShipmentStatus:f,changeCompleteStatus:b,changeWashoutStatus:h,updateShippedInfo:p,updateNotShippedInfo:m,updateApprobationReceivedInfo:g,updateArrivedAtPortInfo:v,getCommissionCashFlow:c,getTradebookDashbordData:d,getTradeBusinessAnalytics:u,openTradeBookModal:F,saveDisputeData:A}}e.$inject=["apiEndPoints","Restangular","$state","appFormats","FileSaver","Blob","utilities","$http","$uibModal"],angular.module("app.dashboard.tradeBook").factory("tradeBook",e)}(),function(){"use strict";function e(e,t,a){function i(e){return u.customPOST(e,t.changePassword)}function n(){return{profilePic:null,username:"",firstName:"",lastName:"",email:"",designationId:null,businessLocationId:null,notify:{newTransaction:!1,shipmentArrival:!1,messages:!1,monthlyReports:!1,weeklyReports:!1,dailyReports:!1}}}function s(e){return u.customGET("",{q:e})}function o(){return u.customGET("",{q:"all"})}function r(e,t){var a=new FormData,i=new File([e.resultBlob],"profile.png");return a.append("profile",i),u.withHttpConfig({transformRequest:angular.identity}).customPOST(a,t+"/profilePic",void 0,{"Content-Type":void 0})}function l(e,t){var a=new FormData;return a.append("file",e),u.customPUT(a,t+"/profilePic",{"Content-Type":void 0})}function A(e){return u.customDELETE({},e+"/profilePic",{"Content-Type":void 0})}function d(e){return u.customPUT({user:e},"")}function c(e){return u.customPOST({user:e})}var u=e.all(t.user);return{getUserProfile:s,getAllUserProfile:o,addUserProfile:c,updateUserProfile:d,addProfilePic:r,updateProfilePic:l,deleteProfilePic:A,getNewUserObj:n,changePassword:i}}e.$inject=["Restangular","apiEndPoints","utilities"],angular.module("app.dashboard.user").factory("user",e)}(),function(){"use strict";function e(e,t,a){function i(){return m.customGET(t.website.dashboard)}function n(){return{title:"",slug:"",tags:[],image:null,height:400,width:400,content:""}}function s(e){return m.customGET(t.website.research,{researchId:e})}function o(e){return m.customGET(t.website.researchTags,{query:e})}function r(){return m.customGET(t.website.research)}function l(){return m.customGET(t.website.research)}function A(e,t){var a=new FormData;if(t){var i=new File([t.resultBlob],e.slug+".png");a.append("image",i)}return a.append("research",JSON.stringify(e)),a}function d(e,a){return m.withHttpConfig({transformRequest:angular.identity}).customPUT(A(e,a),t.website.research,void 0,{"Content-Type":void 0})}function c(e,a){return m.withHttpConfig({transformRequest:angular.identity}).customPOST(A(e,a),t.website.research,void 0,{"Content-Type":void 0})}function u(e){return m.customDELETE(t.website.research+"/"+e)}function p(e){return m.customPOST({researchId:e},t.website.research+"/display")}var m=e.all(t.website.basic);return{getResearchList:r,getResearchObj:l,updateResearch:d,addResearch:c,deleteResearch:u,displayResearchOnWebsite:p,getNewResearchObj:n,getResearchTags:o,getCompleteResearch:s,getWebsiteDashboard:i}}e.$inject=["Restangular","apiEndPoints","utilities"],angular.module("app.dashboard.website").factory("website",e)}(),function(){"use strict";function e(e,t){e.showSuccessMsg=function(){t.success("Your information has been saved successfully!")},e.showInfoMsg=function(){t.info("You've got a new email!","Information")},e.showErrorMsg=function(){t.error("Your information hasn't been saved!","Error")},e.showWarningMsg=function(){t.warning("Your computer is about to explode!","Warning")}}e.$inject=["$scope","toastr"],angular.module("app.widgets.ui.modals").controller("NotificationsCtrl",e)}(),function(){"use strict";function e(e){angular.extend(e,{closeButton:!0,closeHtml:"<button>&times;</button>",timeOut:5e3,autoDismiss:!1,containerId:"toast-container",maxOpened:0,newestOnTop:!0,positionClass:"toast-top-right",preventDuplicates:!1,preventOpenDuplicates:!1,target:"body"})}e.$inject=["toastrConfig"],angular.module("app.theme.components").config(e)}(),function(){"use strict";function e(e){return{link:function(t,a){e(function(){function t(t){e(function(){a.html(t)},30)}var i=a.attr("new-value"),n=parseInt(a.html());if(i>n)for(var s=n;i>=s;s++)t(s);else for(var o=n;o>=i;o--)t(o);e(function(){a.next().find("i").addClass("show-arr")},500)},3500)}}}e.$inject=["$timeout"],angular.module("app.theme").directive("animatedChange",e)}(),function(){"use strict";function e(){return{restrict:"A",link:function(e,t){t.bind("keydown",function(e){var t=e.target;$(t).height(0);var a=$(t)[0].scrollHeight;a=16>a?16:a,$(t).height(a)}),setTimeout(function(){var e=t;$(e).height(0);var a=$(e)[0].scrollHeight;a=16>a?16:a,$(e).height(a)},0)}}}angular.module("app.theme").directive("autoExpand",e)}(),function(){"use strict";function e(e,t){return{link:function(a,i,n){var s=t(n.autoFocus);a.$watch(s,function(t){t===!0&&e(function(){i[0].focus(),i[0].select()})}),i.bind("blur",function(){a.$apply(s.assign(a,!1))})}}}e.$inject=["$timeout","$parse"],angular.module("app.theme").directive("autoFocus",e)}(),function(){"use strict";function e(){return{restrict:"AE",templateUrl:function(e,t){return t.includeWithScope}}}angular.module("app.theme").directive("includeWithScope",e)}(),function(){"use strict";function e(e){return{restrict:"EA",template:"<div></div>",replace:!0,scope:{ngModel:"=",min:"=",max:"=",type:"@",prefix:"@",maxPostfix:"@",prettify:"=",prettifySeparator:"@",grid:"=",gridMargin:"@",postfix:"@",step:"@",hideMinMax:"@",hideFromTo:"@",from:"=",to:"=",disable:"=",onChange:"=",onFinish:"=",values:"=",timeout:"@"},link:function(t,a){a.ionRangeSlider({min:t.min,max:t.max,type:t.type,prefix:t.prefix,maxPostfix:t.maxPostfix,prettify_enabled:t.prettify,prettify_separator:t.prettifySeparator,grid:t.grid,gridMargin:t.gridMargin,postfix:t.postfix,step:t.step,hideMinMax:t.hideMinMax,hideFromTo:t.hideFromTo,from:t.from,to:t.to,disable:t.disable,onChange:function(e){console.log("change",e),t.ngModel=e.from},onFinish:function(e){var t=a.scope();t.$apply(function(){t.ngModel=e.from})},values:t.values}),t.$watch("min",function(t){e(function(){a.data("ionRangeSlider").update({min:t})})},!0),t.$watch("max",function(t){e(function(){a.data("ionRangeSlider").update({max:t})})}),t.$watch("from",function(t){e(function(){a.data("ionRangeSlider").update({from:t})})}),t.$watch("to",function(t){e(function(){a.data("ionRangeSlider").update({to:t})})}),t.$watch("disable",function(t){e(function(){a.data("ionRangeSlider").update({disable:t})})})}}}e.$inject=["$timeout"],angular.module("app.theme").directive("ionSlider",e)}(),function(){"use strict";function e(){return{link:function(e,t){t.bind("change",function(t){e.file=(t.srcElement||t.target).files[0],e.vm.getFile(e.file)})}}}angular.module("app.theme").directive("ngFileSelect",e)}(),function(){"use strict";function e(){return{scope:{scrollPosition:"=",maxHeight:"="},link:function(e){$(window).on("scroll",function(){var t=$(window).scrollTop()>e.maxHeight;t!==e.prevScrollTop&&e.$apply(function(){e.scrollPosition=t}),e.prevScrollTop=t})}}}angular.module("app.theme").directive("scrollPosition",e)}(),function(){"use strict";function e(){return{scope:{trackWidth:"=",minWidth:"="},link:function(e,t){e.trackWidth=$(t).width()<e.minWidth,e.prevTrackWidth=e.trackWidth,$(window).resize(function(){var a=$(t).width()<e.minWidth;a!==e.prevTrackWidth&&e.$apply(function(){e.trackWidth=a}),e.prevTrackWidth=a})}}}angular.module("app.theme").directive("trackWidth",e)}(),function(){"use strict";function e(e,t){return{restrict:"A",link:function(a,i){var n=1e3;t.$pageFinishedLoading&&(n=100),e(function(){i.removeClass("full-invisible"),i.addClass("animated zoomIn")},n)}}}e.$inject=["$timeout","$rootScope"],angular.module("app.theme").directive("zoomIn",e)}(),function(){"use strict";function e(){this.isDescendant=function(e,t){for(var a=t.parentNode;null!=a;){if(a==e)return!0;a=a.parentNode}return!1},this.hexToRGB=function(e,t){var a=parseInt(e.slice(1,3),16),i=parseInt(e.slice(3,5),16),n=parseInt(e.slice(5,7),16);return"rgba("+a+", "+i+", "+n+", "+t+")"}}angular.module("app.theme").service("baUtil",e)}(),function(){"use strict";function e(e){var t=function(e,t,a){return function(){a.$apply(function(){t.resolve(e.result)})}},a=function(e,t,a){return function(){a.$apply(function(){t.reject(e.result)})}},i=function(e,t){return function(e){t.$broadcast("fileProgress",{total:e.total,loaded:e.loaded})}},n=function(e,n){var s=new FileReader;return s.onload=t(s,e,n),s.onerror=a(s,e,n),s.onprogress=i(s,n),s},s=function(t,a){var i=e.defer(),s=n(i,a);return s.readAsDataURL(t),i.promise};return{readAsDataUrl:s}}e.$inject=["$q"],angular.module("app.theme").service("fileReader",e)}(),function(){"use strict";function e(e){return{loadImg:function(t){var a=e.defer(),i=new Image;return i.src=t,i.onload=function(){a.resolve()},a.promise},loadAmCharts:function(){var t=e.defer();return AmCharts.ready(function(){t.resolve()}),t.promise}}}e.$inject=["$q"],angular.module("app.theme").service("preloader",e)}(),function(){"use strict";function e(e){return{start:function(t,a,i){function n(){return t(a,i)}var s=n();angular.element(e).bind("focus",function(){s&&t.cancel(s),s=n()}),angular.element(e).bind("blur",function(){s&&t.cancel(s)})}}}e.$inject=["$window"],angular.module("app.theme").service("stopableInterval",e)}(),function(){"use strict";function e(e){function t(t){t.edit=function(e){t.onEdit({researchId:e})},t.changeWebDisplay=function(e){t.onDisplayWeb({researchId:e})},t["delete"]=function(e){t.onDelete({researchId:e})},t.appFormats=e}return{restrict:"E",templateUrl:"app/widgets/blogCard/blogCard.html",scope:{researchId:"=",imageUrl:"=",canEdit:"=",canDelete:"=",isDraft:"=",displayWeb:"=",onDisplayWeb:"&",onDelete:"&",title:"=",createdOn:"=",comments:"=",reads:"=",userPic:"=",author:"=",onEdit:"&",visitors:"="},link:t}}e.$inject=["appFormats"],angular.module("app.widgets").directive("blogCard",e)}(),function(){"use strict";function e(e){e.feed=[{type:"text-message",author:"Kostya",surname:"Danovsky",header:"Posted new message",text:'Guys, check this out: \nA police officer found a perfect hiding place for watching for speeding motorists. One day, the officer was amazed when everyone was under the speed limit, so he investigated and found the problem. A 10 years old boy was standing on the side of the road with a huge hand painted sign which said "Radar Trap Ahead." A little more investigative work led the officer to the boy\'s accomplice: another boy about 100 yards beyond the radar trap with a sign reading "TIPS" and a bucket at his feet full of change.',time:"Today 11:55 pm",ago:"25 minutes ago",expanded:!1},{type:"video-message",author:"Andrey",surname:"Hrabouski",header:"Added new video",text:'"Vader and Me"',preview:"app/feed/vader-and-me-preview.png",link:"https://www.youtube.com/watch?v=IfcpzBbbamk",time:"Today 9:30 pm",ago:"3 hrs ago",expanded:!1},{type:"image-message",author:"Vlad",surname:"Lugovsky",header:"Added new image",text:'"My little kitten"',preview:"app/feed/my-little-kitten.png",link:"http://api.ning.com/files/DtcI2O2Ry7A7VhVxeiWfGU9WkHcMy4WSTWZ79oxJq*h0iXvVGndfD7CIYy-Ax-UAFCBCdqXI4GCBw3FOLKTTjQc*2cmpdOXJ/1082127884.jpeg",time:"Today 2:20 pm",ago:"10 hrs ago",expanded:!1},{type:"text-message",author:"Nasta",surname:"Linnie",header:"Posted new message",text:"Haha lol",time:"11.11.2015",ago:"2 days ago",expanded:!1},{type:"geo-message",author:"Nick",surname:"Cat",header:"Posted location",text:'"New York, USA"',preview:"app/feed/new-york-location.png",link:"https://www.google.by/maps/place/New+York,+NY,+USA/@40.7201111,-73.9893872,14z",time:"11.11.2015",ago:"2 days ago",expanded:!1},{type:"text-message",author:"Vlad",surname:"Lugovsky",header:"Posted new message",text:"First snake: I hope I'm not poisonous. Second snake: Why? First snake: Because I bit my lip!",time:"12.11.2015",ago:"3 days ago",expanded:!1},{type:"text-message",author:"Andrey",surname:"Hrabouski",header:"Posted new message",text:'How do you smuggle an elephant across the border? Put a slice of bread on each side, and call him "lunch".',time:"14.11.2015",ago:"5 days ago",expanded:!1},{type:"text-message",author:"Nasta",surname:"Linnie",header:"Posted new message",text:"When your hammer is C++, everything begins to look like a thumb.",time:"14.11.2015",ago:"5 days ago",expanded:!1},{type:"text-message",author:"Alexander",surname:"Demeshko",header:"Posted new message",text:'“I mean, they say you die twice. One time when you stop breathing and a second time, a bit later on, when somebody says your name for the last time." ©',time:"15.11.2015",ago:"6 days ago",expanded:!1},{type:"image-message",author:"Nick",surname:"Cat",header:"Posted photo",text:'"Protein Heroes"',preview:"app/feed/genom.png",link:"https://dribbble.com/shots/2504810-Protein-Heroes",time:"16.11.2015",ago:"7 days ago",expanded:!1},{type:"text-message",author:"Kostya",surname:"Danovsky",header:"Posted new message",text:"Why did the CoffeeScript developer keep getting lost? Because he couldn't find his source without a map",time:"18.11.2015",ago:"9 days ago",expanded:!1}],e.expandMessage=function(e){e.expanded=!e.expanded}}e.$inject=["$scope"],angular.module("app.widgets").controller("BlurFeedCtrl",e)}(),function(){"use strict";function e(){return{restrict:"E",controller:"BlurFeedCtrl",templateUrl:"app/widgets/blurFeed/blurFeed.html"}}angular.module("app.widgets").directive("blurFeed",e)}(),function(){"use strict";function e(e,t,a,i){function n(e,t,n){function s(){e.colSize=e.colSize?e.colSize:"4",e.appConstants=i,e.businessLogo=a("businessLogo")(e.business?e.business.logo:null)}s()}return{link:n,restrict:"E",templateUrl:"app/widgets/businessCard/businessCard.html",scope:{colSize:"@",business:"=",businessType:"@"},replace:!0}}e.$inject=["$state","utilities","$filter","appConstants"],angular.module("app.widgets").directive("businessCard",e)}(),function(){"use strict";function e(){}angular.module("app.widgets").service("dashboardCalendar",e)}(),function(){"use strict";function e(e,t){var a={compile:function(a,i){var n=e(i.clickOff);return function(e,a,i){a.bind("click",function(e){e.stopPropagation()}),angular.element(t[0].body).bind("click",function(t){e.$apply(function(){n(e,{$event:t})})})}}};return a}e.$inject=["$parse","$document"],angular.module("app.widgets").directive("clickOff",e)}(),function(){"use strict";function e(e,t,a,i){function n(e,t,a){function n(){e.appConstants=i}n()}return{link:n,restrict:"E",templateUrl:"app/widgets/commissionCard/commissionCard.html",scope:{commission:"="},replace:!0}}e.$inject=["$state","utilities","$filter","appConstants"],angular.module("app.widgets").directive("commissionCard",e)}(),function(){"use strict";function e(e,t,a){function i(i,n,s){function o(e){i.appConstants=a,i.apiEndPoints=t,i.noneSelected=e.list,i.allSelected=angular.copy(i.noneSelected),angular.forEach(i.allSelected,function(e,t){e.selected=!0}),i.dropDownValues=angular.copy(i.allSelected),i.selectedValues=angular.copy(i.dropDownValues),i.onSelectedValuesChanged({selectedList:i.selectedValues,initialized:i.intialized}),i.isLoading=!1,i.intialized=!1}function r(a){return i.isLoading=!0,i.endPoint===t.dropDown.business?e.getTabFilters(i.endPoint,{type:a,page:i.page}).then(o):e.getTabFilters(i.endPoint).then(o)}function l(e){e?(i.dropDownValues=angular.copy(i.allSelected),i.selectedValues=angular.copy(i.dropDownValues)):(i.dropDownValues=angular.copy(i.noneSelected),i.selectedValues=[])}function A(e,t,a){i.selectAll=!1,t?i.selectedValues.push(e):_.remove(i.selectedValues,function(t){return t[a]==e[a]})}i.dropDownValues=[],i.intialized=!0,r(i.title),i.dropDownCallBack=function(e){e.success===!1&&toastr.error(e.message,"Error "+bpType)},i.onSelectAll=l,i.onSingleSelectChange=A,i.selectAll=!0,i.showOptions=!1,i.dropDownValues={},i.textFilter="",i.selectedValues=[],i.invertShowOptions=function(){i.showOptions=!i.showOptions},i.closeFilter=function(){i.showOptions&&(i.showOptions=!1,i.onSelectedValuesChanged({selectedList:i.selectedValues}))}}return{link:i,restrict:"E",templateUrl:"app/widgets/customFilter/customFilter.template.html",scope:{page:"@",title:"@",endPoint:"@",heading:"@",subheading:"@",onSelectedValuesChanged:"&"},replace:!0}}e.$inject=["tabFilter","apiEndPoints","appConstants"],angular.module("app.widgets").directive("customFilter",e)}(),function(){"use strict";function e(e){var t=e.colors.dashboard,a=$("#calendar").fullCalendar({header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay"},defaultDate:"2016-03-08",selectable:!0,selectHelper:!0,select:function(e,t){var i,n=prompt("Event Title:");n&&(i={title:n,start:e,end:t},a.fullCalendar("renderEvent",i,!0)),a.fullCalendar("unselect")},editable:!0,eventLimit:!0,events:[{title:"All Day Event",start:"2016-03-01",color:t.silverTree},{title:"Long Event",start:"2016-03-07",end:"2016-03-10",color:t.blueStone},{title:"Dinner",start:"2016-03-14T20:00:00",color:t.surfieGreen},{title:"Birthday Party",start:"2016-04-01T07:00:00",color:t.gossipDark}]})}e.$inject=["baConfig"],angular.module("app.widgets").controller("DashboardCalendarCtrl",e)}(),function(){"use strict";function e(){return{restrict:"E",controller:"DashboardCalendarCtrl",templateUrl:"app/widgets/dashboardCalendar/dashboardCalendar.html"}}angular.module("app.widgets").directive("dashboardCalendar",e)}(),function(){"use strict";function e(e,t){var a=e.colors;AmCharts.makeChart("amChartMap",{type:"map",theme:"blur",zoomControl:{zoomControlEnabled:!1,panControlEnabled:!1},dataProvider:{map:"worldLow",zoomLevel:3.5,zoomLongitude:10,zoomLatitude:52,areas:[{title:"Austria",id:"AT",color:a.primary,customData:"1 244",groupId:"1"},{title:"Ireland",id:"IE",color:a.primary,customData:"1 342",groupId:"1"},{title:"Denmark",id:"DK",color:a.primary,customData:"1 973",groupId:"1"},{title:"Finland",id:"FI",color:a.primary,customData:"1 573",groupId:"1"},{title:"Sweden",id:"SE",color:a.primary,customData:"1 084",groupId:"1"},{title:"Great Britain",id:"GB",color:a.primary,customData:"1 452",groupId:"1"},{title:"Italy",id:"IT",color:a.primary,customData:"1 321",groupId:"1"},{title:"France",id:"FR",color:a.primary,customData:"1 112",groupId:"1"},{title:"Spain",id:"ES",color:a.primary,customData:"1 865",groupId:"1"},{title:"Greece",id:"GR",color:a.primary,customData:"1 453",groupId:"1"},{title:"Germany",id:"DE",color:a.primary,customData:"1 957",groupId:"1"},{title:"Belgium",id:"BE",color:a.primary,customData:"1 011",groupId:"1"},{title:"Luxembourg",id:"LU",color:a.primary,customData:"1 011",groupId:"1"},{title:"Netherlands",id:"NL",color:a.primary,customData:"1 213",groupId:"1"},{title:"Portugal",id:"PT",color:a.primary,customData:"1 291",groupId:"1"},{title:"Lithuania",id:"LT",color:a.successLight,customData:"567",groupId:"2"},{title:"Latvia",id:"LV",color:a.successLight,customData:"589",groupId:"2"},{title:"Czech Republic ",id:"CZ",color:a.successLight,customData:"785",groupId:"2"},{title:"Slovakia",id:"SK",color:a.successLight,customData:"965",groupId:"2"},{title:"Estonia",id:"EE",color:a.successLight,customData:"685",groupId:"2"},{title:"Hungary",id:"HU",color:a.successLight,customData:"854",groupId:"2"},{title:"Cyprus",id:"CY",color:a.successLight,customData:"754",groupId:"2"},{title:"Malta",id:"MT",color:a.successLight,customData:"867",groupId:"2"},{title:"Poland",id:"PL",color:a.successLight,customData:"759",groupId:"2"},{title:"Romania",id:"RO",color:a.success,customData:"302",groupId:"3"},{title:"Bulgaria",id:"BG",color:a.success,customData:"102",groupId:"3"},{title:"Slovenia",id:"SI",color:a.danger,customData:"23",groupId:"4"},{title:"Croatia",id:"HR",color:a.danger,customData:"96",groupId:"4"}]},areasSettings:{rollOverOutlineColor:a.border,rollOverColor:a.primaryDark,alpha:.8,unlistedAreasAlpha:.2,unlistedAreasColor:a.defaultText,balloonText:"[[title]]: [[customData]] users"},legend:{width:"100%",marginRight:27,marginLeft:27,equalWidths:!1,backgroundAlpha:.3,backgroundColor:a.border,borderColor:a.border,borderAlpha:1,top:362,left:0,horizontalGap:10,data:[{title:"over 1 000 users",color:a.primary},{title:"500 - 1 000 users",color:a.successLight},{title:"100 - 500 users",color:a.success},{title:"0 - 100 users",color:a.danger}]},"export":{enabled:!0},creditsPosition:"bottom-right",pathToImages:t.images.amChart})}e.$inject=["baConfig","layoutPaths"],angular.module("app.widgets").controller("DashboardMapCtrl",e)}(),function(){"use strict";function e(){return{restrict:"E",controller:"DashboardMapCtrl",templateUrl:"app/widgets/dashboardMap/dashboardMap.html"}}angular.module("app.widgets").directive("dashboardMap",e)}(),function(){"use strict";function e(e,t,a,i){function n(e,t){return Math.random()*(t-e)+e}function s(){$(".chart").each(function(){var e=$(this);e.easyPieChart({easing:"easeOutBounce",onStep:function(e,t,a){$(this.el).find(".percent").text(Math.round(a))},barColor:e.attr("rel"),trackColor:"rgba(0,0,0,0)",size:84,scaleLength:0,animation:2e3,lineWidth:9,lineCap:"round"})}),$(".refresh-data").on("click",function(){o()})}function o(){$(".pie-charts .chart").each(function(e,t){$(t).data("easyPieChart").update(n(55,90))})}var r=i.hexToRGB(a.colors.defaultText,.2);e.charts=[{color:r,description:"New Visits",stats:"57,820",icon:"person"},{color:r,description:"Purchases",stats:"$ 89,745",icon:"money"},{color:r,description:"Active Users",stats:"178,391",icon:"face"},{color:r,description:"Returned",stats:"32,592",icon:"refresh"}],t(function(){s(),o()},1e3)}e.$inject=["$scope","$timeout","baConfig","baUtil"],angular.module("app.widgets").controller("DashboardPieChartCtrl",e)}(),function(){"use strict";function e(){return{restrict:"E",controller:"DashboardPieChartCtrl",templateUrl:"app/widgets/dashboardPieChart/dashboardPieChart.html"}}angular.module("app.widgets").directive("dashboardPieChart",e)}(),function(){"use strict";function e(e,t){function a(){var e=Math.floor(Math.random()*(n.length-1));return n[e]}e.transparent=t.theme.blur;var i=t.colors.dashboard,n=[];for(var s in i)n.push(i[s]);e.todoList=[{text:"Check me out"},{text:"Lorem ipsum dolor sit amet, possit denique oportere at his, etiam corpora deseruisse te pro"},{text:"Ex has semper alterum, expetenda dignissim"},{text:"Vim an eius ocurreret abhorreant, id nam aeque persius ornatus."},{text:"Simul erroribus ad usu"},{text:"Ei cum solet appareat, ex est graeci mediocritatem"},{text:"Get in touch with akveo team"},{text:"Write email to business cat"},{text:"Have fun with blur admin"},{text:"What do you think?"}],e.todoList.forEach(function(e){e.color=a()}),e.newTodoText="",e.addToDoItem=function(t,i){(i||13===t.which)&&(e.todoList.unshift({text:e.newTodoText,color:a()}),e.newTodoText="")}}e.$inject=["$scope","baConfig"],angular.module("app.widgets").controller("DashboardTodoCtrl",e)}(),function(){"use strict";function e(){return{restrict:"EA",controller:"DashboardTodoCtrl",templateUrl:"app/widgets/dashboardTodo/dashboardTodo.html"}}angular.module("app.widgets").directive("dashboardTodo",e);
  }(),function(){"use strict";function e(){return{restrict:"E",link:t,templateUrl:"app/widgets/datePickerInput/datePickerInput.html",replace:!0,scope:{date:"=",name:"@",blank:"=",required:"=?",position:"@?",utc:"=?"}}}function t(e,t,a){e.isOpen=!1;var i=new Date;e.timezone=e.utc?{timezone:"utc"}:{timezone:i.getTimezoneOffset()/60*-100},console.log(e.timezone),e.required=void 0===e.required?!1:e.required,e.position=void 0===e.position?"bottom-left":e.position,e.date||e.blank?"string"==typeof e.date&&(e.date=new Date(e.date)):e.date=new Date,e.dateFormat="dd-MMMM-yyyy",e.open=function(){e.isOpen=!e.isOpen}}angular.module("app.widgets").directive("datePickerInput",e)}(),function(){"use strict";function e(e,t){function a(a,i,n){function s(){a.tabs=t.getStatesForAccordian(e.current),a.tabClicked=o}function o(t,a,i,n){a.hasAccordianDropDown?t.stopPropagation():(a.active=n,i&&(i.active=n),console.log(a.name),e.go(a.name))}s()}return{link:a,restrict:"E",templateUrl:"app/widgets/deAccordian/deAccordian.html",scope:{},replace:!0}}e.$inject=["$state","utilities"],angular.module("app.widgets").directive("deAccordian",e)}(),function(){"use strict";function e(e,t){function a(e,t,a){function i(){}i()}return{link:a,restrict:"E",templateUrl:"app/widgets/docCard/docCard.html",scope:{docInfo:"="},replace:!0}}e.$inject=["$state","utilities"],angular.module("app.widgets").directive("docCard",e)}(),function(){"use strict";function e(e,t,a){function i(i,n,s){i.apiEndPoints=a,i.appTabFilter=t,i.appFormats=e,i.maxDate=moment(),i.ranges={Today:[moment().startOf("day"),moment().endOf("day").subtract(1,"seconds")],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 Days":[moment().subtract(7,"days"),moment()],"Last 2 Weeks":[moment().subtract(14,"days").startOf("day"),moment().endOf("day")],"Last 30 Days":[moment().subtract(30,"days"),moment()],"This Month":[moment().startOf("month"),moment()],"Last Month":[moment().subtract(1,"month").startOf("month"),moment().subtract(1,"month").endOf("month")],"This Year":[moment().startOf("year"),moment()],"Last 1 Year":[moment().subtract(1,"year"),moment()]},i.seperator=" to ",i.datePickerChanged=function(e){e.startDate=e.startDate.removeTime(),e.endDate=e.endDate.removeTime(),i.onDateChange({dateRange:e})}}return{link:i,restrict:"E",templateUrl:"app/widgets/filterBar/filterBar.template.html",scope:{page:"@",test:"=",datePickerNeeded:"=",warehouse:"=",localTrader:"=",localBuyer:"=",localSeller:"=",seller:"=",buyer:"=",product:"=",tranStatus:"=",bpTypes:"=",country:"=",productItems:"=",priceMarket:"=",datePicker:"=",onProductItemSelectedChanged:"&",onPriceMarketSelectedChanged:"&",onBpTypesSelectedChanged:"&",onLocalBuyerSelectedChanged:"&",onLocalSellerSelectedChanged:"&",onBuyersSelectedChanged:"&",onSellersSelectedChanged:"&",onProductsSelectedChanged:"&",onCountrySelectedChanged:"&",onTranStatusSelectedChanged:"&",onLocalTraderSelectedChanged:"&",onWarehouseSelectedChanged:"&",onDateChange:"&"}}}e.$inject=["appFormats","appTabFilter","apiEndPoints"],angular.module("app.widgets").directive("filterBar",e)}(),function(){"use strict";function e(){return{restrict:"E",controller:"LineChartCtrl",templateUrl:"app/widgets/lineChart/lineChart.html",scope:{chartData:"=",chartValues:"=",chartType:"="}}}angular.module("app.widgets").directive("lineChart",e)}(),function(){"use strict";function e(e,t,a,i,n){function s(){var t=[];return angular.forEach(e.chartValues,function(e,a){t.push({id:"g"+a,bullet:"line"===o?"round":"none",useLineColorForBulletBorder:!0,lineColor:l[a],lineThickness:"line"===o?2:1,negativeLineColor:r.danger,type:o,valueField:e,fillAlphas:"line"===o?0:1,fillColorsField:"lineColor",balloon:{drop:!0,adjustBorderColor:!1,color:"#ffffff"},bulletBorderAlpha:1,bulletColor:"#FFFFFF",bulletSize:5,hideBulletsCount:50,balloonText:"<span style='font-size:18px;'>[[value]]</span>"})}),AmCharts.makeChart("amchart",{type:"serial",theme:"blur",marginTop:15,marginRight:15,dataProvider:e.chartData,categoryField:"date",categoryAxis:{parseDates:!0,gridAlpha:0,color:r.defaultText,axisColor:r.defaultText},valueAxes:[{minVerticalGap:50,gridAlpha:0,color:r.defaultText,axisColor:r.defaultText}],graphs:t,chartCursor:{categoryBalloonDateFormat:"DD MMM YYYY",categoryBalloonColor:"#684D61",categoryBalloonAlpha:.7,cursorAlpha:0,valueLineEnabled:!0,valueLineBalloonEnabled:!0,valueLineAlpha:.5},dataDateFormat:"DD MMM YYYY","export":{enabled:!0},creditsPosition:"bottom-right",zoomOutButton:{backgroundColor:"#fff",backgroundAlpha:0},zoomOutText:"",pathToImages:a.images.amChart})}var o=e.chartType?e.chartType:"column",r=t.colors,l=n.chartColors(),A=(t.theme.blur?"#21b799":r.primary,s());e.$watch("chartData",function(){A=s()})}e.$inject=["$scope","baConfig","layoutPaths","baUtil","utilities"],angular.module("app.widgets").controller("LineChartCtrl",e)}(),function(){"use strict";function e(e,t,a,i,n){var s=e.chartColors(),o={};o.AD={latitude:42.5,longitude:1.5},o.AE={latitude:24,longitude:54},o.AF={latitude:33,longitude:65},o.AG={latitude:17.05,longitude:-61.8},o.AI={latitude:18.25,longitude:-63.1667},o.AL={latitude:41,longitude:20},o.AM={latitude:40,longitude:45},o.AN={latitude:12.25,longitude:-68.75},o.AO={latitude:-12.5,longitude:18.5},o.AP={latitude:35,longitude:105},o.AQ={latitude:-90,longitude:0},o.AR={latitude:-34,longitude:-64},o.AS={latitude:-14.3333,longitude:-170},o.AT={latitude:47.3333,longitude:13.3333},o.AU={latitude:-27,longitude:133},o.AW={latitude:12.5,longitude:-69.9667},o.AZ={latitude:40.5,longitude:47.5},o.BA={latitude:44,longitude:18},o.BB={latitude:13.1667,longitude:-59.5333},o.BD={latitude:24,longitude:90},o.BE={latitude:50.8333,longitude:4},o.BF={latitude:13,longitude:-2},o.BG={latitude:43,longitude:25},o.BH={latitude:26,longitude:50.55},o.BI={latitude:-3.5,longitude:30},o.BJ={latitude:9.5,longitude:2.25},o.BM={latitude:32.3333,longitude:-64.75},o.BN={latitude:4.5,longitude:114.6667},o.BO={latitude:-17,longitude:-65},o.BR={latitude:-10,longitude:-55},o.BS={latitude:24.25,longitude:-76},o.BT={latitude:27.5,longitude:90.5},o.BV={latitude:-54.4333,longitude:3.4},o.BW={latitude:-22,longitude:24},o.BY={latitude:53,longitude:28},o.BZ={latitude:17.25,longitude:-88.75},o.CA={latitude:54,longitude:-100},o.CC={latitude:-12.5,longitude:96.8333},o.CD={latitude:0,longitude:25},o.CF={latitude:7,longitude:21},o.CG={latitude:-1,longitude:15},o.CH={latitude:47,longitude:8},o.CI={latitude:8,longitude:-5},o.CK={latitude:-21.2333,longitude:-159.7667},o.CL={latitude:-30,longitude:-71},o.CM={latitude:6,longitude:12},o.CN={latitude:35,longitude:105},o.CO={latitude:4,longitude:-72},o.CR={latitude:10,longitude:-84},o.CU={latitude:21.5,longitude:-80},o.CV={latitude:16,longitude:-24},o.CX={latitude:-10.5,longitude:105.6667},o.CY={latitude:35,longitude:33},o.CZ={latitude:49.75,longitude:15.5},o.DE={latitude:51,longitude:9},o.DJ={latitude:11.5,longitude:43},o.DK={latitude:56,longitude:10},o.DM={latitude:15.4167,longitude:-61.3333},o.DO={latitude:19,longitude:-70.6667},o.DZ={latitude:28,longitude:3},o.EC={latitude:-2,longitude:-77.5},o.EE={latitude:59,longitude:26},o.EG={latitude:27,longitude:30},o.EH={latitude:24.5,longitude:-13},o.ER={latitude:15,longitude:39},o.ES={latitude:40,longitude:-4},o.ET={latitude:8,longitude:38},o.EU={latitude:47,longitude:8},o.FI={latitude:62,longitude:26},o.FJ={latitude:-18,longitude:175},o.FK={latitude:-51.75,longitude:-59},o.FM={latitude:6.9167,longitude:158.25},o.FO={latitude:62,longitude:-7},o.FR={latitude:46,longitude:2},o.GA={latitude:-1,longitude:11.75},o.GB={latitude:54,longitude:-2},o.GD={latitude:12.1167,longitude:-61.6667},o.GE={latitude:42,longitude:43.5},o.GF={latitude:4,longitude:-53},o.GH={latitude:8,longitude:-2},o.GI={latitude:36.1833,longitude:-5.3667},o.GL={latitude:72,longitude:-40},o.GM={latitude:13.4667,longitude:-16.5667},o.GN={latitude:11,longitude:-10},o.GP={latitude:16.25,longitude:-61.5833},o.GQ={latitude:2,longitude:10},o.GR={latitude:39,longitude:22},o.GS={latitude:-54.5,longitude:-37},o.GT={latitude:15.5,longitude:-90.25},o.GU={latitude:13.4667,longitude:144.7833},o.GW={latitude:12,longitude:-15},o.GY={latitude:5,longitude:-59},o.HK={latitude:22.25,longitude:114.1667},o.HM={latitude:-53.1,longitude:72.5167},o.HN={latitude:15,longitude:-86.5},o.HR={latitude:45.1667,longitude:15.5},o.HT={latitude:19,longitude:-72.4167},o.HU={latitude:47,longitude:20},o.ID={latitude:-5,longitude:120},o.IE={latitude:53,longitude:-8},o.IL={latitude:31.5,longitude:34.75},o.IN={latitude:20,longitude:77},o.IO={latitude:-6,longitude:71.5},o.IQ={latitude:33,longitude:44},o.IR={latitude:32,longitude:53},o.IS={latitude:65,longitude:-18},o.IT={latitude:42.8333,longitude:12.8333},o.JM={latitude:18.25,longitude:-77.5},o.JO={latitude:31,longitude:36},o.JP={latitude:36,longitude:138},o.KE={latitude:1,longitude:38},o.KG={latitude:41,longitude:75},o.KH={latitude:13,longitude:105},o.KI={latitude:1.4167,longitude:173},o.KM={latitude:-12.1667,longitude:44.25},o.KN={latitude:17.3333,longitude:-62.75},o.KP={latitude:40,longitude:127},o.KR={latitude:37,longitude:127.5},o.KW={latitude:29.3375,longitude:47.6581},o.KY={latitude:19.5,longitude:-80.5},o.KZ={latitude:48,longitude:68},o.LA={latitude:18,longitude:105},o.LB={latitude:33.8333,longitude:35.8333},o.LC={latitude:13.8833,longitude:-61.1333},o.LI={latitude:47.1667,longitude:9.5333},o.LK={latitude:7,longitude:81},o.LR={latitude:6.5,longitude:-9.5},o.LS={latitude:-29.5,longitude:28.5},o.LT={latitude:55,longitude:24},o.LU={latitude:49.75,longitude:6},o.LV={latitude:57,longitude:25},o.LY={latitude:25,longitude:17},o.MA={latitude:32,longitude:-5},o.MC={latitude:43.7333,longitude:7.4},o.MD={latitude:47,longitude:29},o.ME={latitude:42.5,longitude:19.4},o.MG={latitude:-20,longitude:47},o.MH={latitude:9,longitude:168},o.MK={latitude:41.8333,longitude:22},o.ML={latitude:17,longitude:-4},o.MM={latitude:22,longitude:98},o.MN={latitude:46,longitude:105},o.MO={latitude:22.1667,longitude:113.55},o.MP={latitude:15.2,longitude:145.75},o.MQ={latitude:14.6667,longitude:-61},o.MR={latitude:20,longitude:-12},o.MS={latitude:16.75,longitude:-62.2},o.MT={latitude:35.8333,longitude:14.5833},o.MU={latitude:-20.2833,longitude:57.55},o.MV={latitude:3.25,longitude:73},o.MW={latitude:-13.5,longitude:34},o.MX={latitude:23,longitude:-102},o.MY={latitude:2.5,longitude:112.5},o.MZ={latitude:-18.25,longitude:35},o.NA={latitude:-22,longitude:17},o.NC={latitude:-21.5,longitude:165.5},o.NE={latitude:16,longitude:8},o.NF={latitude:-29.0333,longitude:167.95},o.NG={latitude:10,longitude:8},o.NI={latitude:13,longitude:-85},o.NL={latitude:52.5,longitude:5.75},o.NO={latitude:62,longitude:10},o.NP={latitude:28,longitude:84},o.NR={latitude:-.5333,longitude:166.9167},o.NU={latitude:-19.0333,longitude:-169.8667},o.NZ={latitude:-41,longitude:174},o.OM={latitude:21,longitude:57},o.PA={latitude:9,longitude:-80},o.PE={latitude:-10,longitude:-76},o.PF={latitude:-15,longitude:-140},o.PG={latitude:-6,longitude:147},o.PH={latitude:13,longitude:122},o.PK={latitude:30,longitude:70},o.PL={latitude:52,longitude:20},o.PM={latitude:46.8333,longitude:-56.3333},o.PR={latitude:18.25,longitude:-66.5},o.PS={latitude:32,longitude:35.25},o.PT={latitude:39.5,longitude:-8},o.PW={latitude:7.5,longitude:134.5},o.PY={latitude:-23,longitude:-58},o.QA={latitude:25.5,longitude:51.25},o.RE={latitude:-21.1,longitude:55.6},o.RO={latitude:46,longitude:25},o.RS={latitude:44,longitude:21},o.RU={latitude:60,longitude:100},o.RW={latitude:-2,longitude:30},o.SA={latitude:25,longitude:45},o.SB={latitude:-8,longitude:159},o.SC={latitude:-4.5833,longitude:55.6667},o.SD={latitude:15,longitude:30},o.SE={latitude:62,longitude:15},o.SG={latitude:1.3667,longitude:103.8},o.SH={latitude:-15.9333,longitude:-5.7},o.SI={latitude:46,longitude:15},o.SJ={latitude:78,longitude:20},o.SK={latitude:48.6667,longitude:19.5},o.SL={latitude:8.5,longitude:-11.5},o.SM={latitude:43.7667,longitude:12.4167},o.SN={latitude:14,longitude:-14},o.SO={latitude:10,longitude:49},o.SR={latitude:4,longitude:-56},o.ST={latitude:1,longitude:7},o.SV={latitude:13.8333,longitude:-88.9167},o.SY={latitude:35,longitude:38},o.SZ={latitude:-26.5,longitude:31.5},o.TC={latitude:21.75,longitude:-71.5833},o.TD={latitude:15,longitude:19},o.TF={latitude:-43,longitude:67},o.TG={latitude:8,longitude:1.1667},o.TH={latitude:15,longitude:100},o.TJ={latitude:39,longitude:71},o.TK={latitude:-9,longitude:-172},o.TM={latitude:40,longitude:60},o.TN={latitude:34,longitude:9},o.TO={latitude:-20,longitude:-175},o.TR={latitude:39,longitude:35},o.TT={latitude:11,longitude:-61},o.TV={latitude:-8,longitude:178},o.TW={latitude:23.5,longitude:121},o.TZ={latitude:-6,longitude:35},o.UA={latitude:49,longitude:32},o.UG={latitude:1,longitude:32},o.UM={latitude:19.2833,longitude:166.6},o.US={latitude:38,longitude:-97},o.UY={latitude:-33,longitude:-56},o.UZ={latitude:41,longitude:64},o.VA={latitude:41.9,longitude:12.45},o.VC={latitude:13.25,longitude:-61.2},o.VE={latitude:8,longitude:-66},o.VG={latitude:18.5,longitude:-64.5},o.VI={latitude:18.3333,longitude:-64.8333},o.VN={latitude:16,longitude:106},o.VU={latitude:-16,longitude:167},o.WF={latitude:-13.3,longitude:-176.2},o.WS={latitude:-13.5833,longitude:-172.3333},o.YE={latitude:15,longitude:48},o.YT={latitude:-12.8333,longitude:45.1667},o.ZA={latitude:-29,longitude:24},o.ZM={latitude:-15,longitude:30},o.ZW={latitude:-20,longitude:30},angular.forEach(t.mapChartData,function(e,t){e&&(e.color=s[t])});for(var r,l=t.mapChartData,A=3,d=70,c=1/0,u=-(1/0),p=0;p<l.length;p++){var m=l[p].value;c>m&&(c=m),m>u&&(u=m)}AmCharts.theme=AmCharts.themes.blur,r=new AmCharts.AmMap,r.areasSettings={unlistedAreasColor:"#000000",unlistedAreasAlpha:.1},r.imagesSettings.balloonText='<span style="font-size:14px;"><b>[[title]]</b>: [[value]]</span>',r.pathToImages=n.images.amMap;for(var g={mapVar:AmCharts.maps.worldLow,images:[]},v=d*d*3*Math.PI,h=A*A*3*Math.PI,p=0;p<l.length;p++){var b=l[p],m=b.value,f=(m-c)/(u-c)*(v-h)+h;h>f&&(f=h);var w=Math.sqrt(f/(2*Math.PI)),y=b.code;y&&g.images.push({type:"circle",width:w,height:w,color:b.color,longitude:o[y].longitude,latitude:o[y].latitude,title:b.name,value:m})}r.dataProvider=g,r["export"]={enabled:!0},i(function(){r.write("map-bubbles")},100)}e.$inject=["utilities","$scope","baConfig","$timeout","layoutPaths"],angular.module("app.widgets").controller("MapBubblePageCtrl",e)}(),function(){"use strict";function e(){return{restrict:"E",controller:"MapBubblePageCtrl",templateUrl:"app/widgets/mapBubbles/mapBubbles.html",scope:{chartData:"=",chartValues:"=",heading:"@",mapChartData:"="}}}angular.module("app.widgets").directive("mapBubbles",e)}(),/*!
   * ngTagsInput v3.1.2
   * http://mbenford.github.io/ngTagsInput
   *
   * Copyright (c) 2013-2017 Michael Benford
   * License: MIT
   *
   * Generated at 2017-03-31 01:12:33 -0300
   */
  function(){"use strict";var e={backspace:8,tab:9,enter:13,escape:27,space:32,up:38,down:40,left:37,right:39,"delete":46,comma:188},t=9007199254740991,a=["text","email","url"],i=angular.module("app.widgets");i.directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(i,n,s,o,r,l){function A(e,t,a,i){var n,s,r,A,d={};return n=function(t){return l.safeToString(t[e.displayProperty])},s=function(t,a){t[e.displayProperty]=a},r=function(t){var i=n(t),s=i&&i.length>=e.minLength&&i.length<=e.maxLength&&e.allowedTagsPattern.test(i)&&!l.findInObjectArray(d.items,t,e.keyProperty||e.displayProperty);return o.when(s&&a({$tag:t})).then(l.promisifyValue)},A=function(e){return o.when(i({$tag:e})).then(l.promisifyValue)},d.items=[],d.addText=function(e){var t={};return s(t,e),d.add(t)},d.add=function(a){var i=n(a);return e.replaceSpacesWithDashes&&(i=l.replaceSpacesWithDashes(i)),s(a,i),r(a).then(function(){d.items.push(a),t.trigger("tag-added",{$tag:a})})["catch"](function(){i&&t.trigger("invalid-tag",{$tag:a})})},d.remove=function(e){var a=d.items[e];return A(a).then(function(){return d.items.splice(e,1),d.clearSelection(),t.trigger("tag-removed",{$tag:a}),a})},d.select=function(e){0>e?e=d.items.length-1:e>=d.items.length&&(e=0),d.index=e,d.selected=d.items[e]},d.selectPrior=function(){d.select(--d.index)},d.selectNext=function(){d.select(++d.index)},d.removeSelected=function(){return d.remove(d.index)},d.clearSelection=function(){d.selected=null,d.index=-1},d.clearSelection(),d}function d(e){return-1!==a.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(e,a,i){e.events=l.simplePubSub(),r.load("tagsInput",e,a,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",d],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,t],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,t],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0]}),e.tagList=new A(e.options,e.events,l.handleUndefinedResult(e.onTagAdding,!0),l.handleUndefinedResult(e.onTagRemoving,!0)),this.registerAutocomplete=function(){i.find("input");return{addTag:function(t){return e.tagList.add(t)},getTags:function(){return e.tagList.items},getCurrentTagText:function(){return e.newTag.text()},getOptions:function(){return e.options},getTemplateScope:function(){return e.templateScope},on:function(t,a){return e.events.on(t,a,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return e.options},removeTag:function(t){e.disabled||e.tagList.remove(t)}}}}],link:function(t,a,o,r){var A,d,c=[e.enter,e.comma,e.space,e.backspace,e["delete"],e.left,e.right],u=t.tagList,p=t.events,m=t.options,g=a.find("input"),v=["minTags","maxTags","allowLeftoverText"];A=function(){r.$setValidity("maxTags",u.items.length<=m.maxTags),r.$setValidity("minTags",u.items.length>=m.minTags),r.$setValidity("leftoverText",t.hasFocus||m.allowLeftoverText?!0:!t.newTag.text())},d=function(){i(function(){g[0].focus()})},r.$isEmpty=function(e){return!e||!e.length},t.newTag={text:function(e){return angular.isDefined(e)?(t.text=e,void p.trigger("input-change",e)):t.text||""},invalid:null},t.track=function(e){return e[m.keyProperty||m.displayProperty]},t.getTagClass=function(e,a){var i=e===u.selected;return[t.tagClass({$tag:e,$index:a,$selected:i}),{selected:i}]},t.$watch("tags",function(e){e?(u.items=l.makeObjectArray(e,m.displayProperty),t.tags=u.items):u.items=[]}),t.$watch("tags.length",function(){A(),r.$validate()}),o.$observe("disabled",function(e){t.disabled=e}),t.eventHandlers={input:{keydown:function(e){p.trigger("input-keydown",e)},focus:function(){t.hasFocus||(t.hasFocus=!0,p.trigger("input-focus"))},blur:function(){i(function(){var e=n.prop("activeElement"),i=e===g[0],s=a[0].contains(e);(i||!s)&&(t.hasFocus=!1,p.trigger("input-blur"))})},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):s.clipboardData.getData("Text")},p.trigger("input-paste",e)}},host:{click:function(){t.disabled||d()}},tag:{click:function(e){p.trigger("tag-clicked",{$tag:e})}}},p.on("tag-added",t.onTagAdded).on("invalid-tag",t.onInvalidTag).on("tag-removed",t.onTagRemoved).on("tag-clicked",t.onTagClicked).on("tag-added",function(){t.newTag.text("")}).on("tag-added tag-removed",function(){t.tags=u.items,r.$setDirty(),d()}).on("invalid-tag",function(){t.newTag.invalid=!0}).on("option-change",function(e){-1!==v.indexOf(e.name)&&A()}).on("input-change",function(){u.clearSelection(),t.newTag.invalid=null}).on("input-focus",function(){a.triggerHandler("focus"),r.$setValidity("leftoverText",!0)}).on("input-blur",function(){m.addOnBlur&&!m.addFromAutocompleteOnly&&u.addText(t.newTag.text()),a.triggerHandler("blur"),A()}).on("input-keydown",function(a){var i,n,s,o,r=a.keyCode,A={};l.isModifierOn(a)||-1===c.indexOf(r)||(A[e.enter]=m.addOnEnter,A[e.comma]=m.addOnComma,A[e.space]=m.addOnSpace,i=!m.addFromAutocompleteOnly&&A[r],n=(r===e.backspace||r===e["delete"])&&u.selected,o=r===e.backspace&&0===t.newTag.text().length&&m.enableEditingLastTag,s=(r===e.backspace||r===e.left||r===e.right)&&0===t.newTag.text().length&&!m.enableEditingLastTag,i?u.addText(t.newTag.text()):o?(u.selectPrior(),u.removeSelected().then(function(e){e&&t.newTag.text(e[m.displayProperty])})):n?u.removeSelected():s&&(r===e.left||r===e.backspace?u.selectPrior():r===e.right&&u.selectNext()),(i||s||n||o)&&a.preventDefault())}).on("input-paste",function(e){if(m.addOnPaste){var t=e.getTextData(),a=t.split(m.pasteSplitPattern);a.length>1&&(a.forEach(function(e){u.addText(e)}),e.preventDefault())}})}}}]),i.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,a,i,n){var s=n.registerTagItem(),o=s.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){s.removeTag(t.$index)},t.$watch("$parent.$index",function(e){t.$index=e})}}}]),i.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(t,a,i,n,s,o){function r(e,t,a){var i,s,r,l={};return r=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},i=function(e,a){return e.filter(function(e){return!o.findInObjectArray(a,e,r(),function(e,a){return t.tagsInput.replaceSpacesWithDashes&&(e=o.replaceSpacesWithDashes(e),a=o.replaceSpacesWithDashes(a)),o.defaultComparer(e,a)})})},l.reset=function(){s=null,l.items=[],l.visible=!1,l.index=-1,l.selected=null,l.query=null},l.show=function(){t.selectFirstMatch?l.select(0):l.selected=null,l.visible=!0},l.load=o.debounce(function(a,A){l.query=a;var d=n.when(e({$query:a}));s=d,d.then(function(e){d===s&&(e=o.makeObjectArray(e.data||e,r()),e=i(e,A),l.items=e.slice(0,t.maxResultsToShow),l.items.length>0?l.show():l.reset())})},t.debounceDelay),l.selectNext=function(){l.select(++l.index)},l.selectPrior=function(){l.select(--l.index)},l.select=function(e){0>e?e=l.items.length-1:e>=l.items.length&&(e=0),l.index=e,l.selected=l.items[e],a.trigger("suggestion-selected",e)},l.reset(),l}function l(e,t){var a=e.find("li").eq(t),i=a.parent(),n=a.prop("offsetTop"),s=a.prop("offsetHeight"),o=i.prop("clientHeight"),r=i.prop("scrollTop");r>n?i.prop("scrollTop",n):n+s>o+r&&i.prop("scrollTop",n+s-o)}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,a){e.events=o.simplePubSub(),s.load("autoComplete",e,a,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new r(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(t,a,i,n){var s,r=[e.enter,e.tab,e.escape,e.up,e.down],A=t.suggestionList,d=n.registerAutocomplete(),c=t.options,u=t.events;c.tagsInput=d.getOptions(),s=function(e){return e&&e.length>=c.minLength||!e&&c.loadOnEmpty},t.templateScope=d.getTemplateScope(),t.addSuggestionByIndex=function(e){A.select(e),t.addSuggestion()},t.addSuggestion=function(){var e=!1;return A.selected&&(d.addTag(angular.copy(A.selected)),A.reset(),e=!0),e},t.track=function(e){return e[c.tagsInput.keyProperty||c.tagsInput.displayProperty]},t.getSuggestionClass=function(e,a){var i=e===A.selected;return[t.matchClass({$match:e,$index:a,$selected:i}),{selected:i}]},d.on("tag-added tag-removed invalid-tag input-blur",function(){A.reset()}).on("input-change",function(e){s(e)?A.load(e,d.getTags()):A.reset()}).on("input-focus",function(){var e=d.getCurrentTagText();c.loadOnFocus&&s(e)&&A.load(e,d.getTags())}).on("input-keydown",function(a){var i=a.keyCode,n=!1;if(!o.isModifierOn(a)&&-1!==r.indexOf(i))return A.visible?i===e.down?(A.selectNext(),n=!0):i===e.up?(A.selectPrior(),n=!0):i===e.escape?(A.reset(),n=!0):(i===e.enter||i===e.tab)&&(n=t.addSuggestion()):i===e.down&&t.options.loadOnDownArrow&&(A.load(d.getCurrentTagText(),d.getTags()),n=!0),n?(a.preventDefault(),a.stopImmediatePropagation(),!1):void 0}),u.on("suggestion-selected",function(e){l(a,e)})}}}]),i.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(a,i,n,s){var o=s.registerAutocompleteMatch(),r=o.getOptions();a.$$template=r.template,a.$index=a.$parent.$index,a.$highlight=function(a){return r.highlightMatchedText&&(a=t.safeHighlight(a,o.getQuery())),e.trustAsHtml(a)},a.$getDisplayText=function(){return t.safeToString(a.data[r.displayProperty||r.tagsInput.displayProperty])}}}}]),i.directive("tiTranscludeAppend",function(){return function(e,t,a,i,n){n(function(e){t.append(e)})}}),i.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,a,i,n){var s,o,r=e.getTextAutosizeThreshold();s=angular.element('<span class="input"></span>'),s.css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),a.parent().append(s),o=function(e){var t,n=e;return angular.isString(n)&&0===n.length&&(n=i.placeholder),n&&(s.text(n),s.css("display",""),t=s.prop("offsetWidth"),s.css("display","none")),a.css("width",t?t+r+"px":""),e},n.$parsers.unshift(o),n.$formatters.unshift(o),i.$observe("placeholder",function(e){n.$modelValue||o(e)})}}}]),i.directive("tiBindAttrs",function(){return function(e,t,a){e.$watch(a.tiBindAttrs,function(e){angular.forEach(e,function(e,t){a.$set(t,e)})},!0)}}),i.provider("tagsInputConfig",function(){var e={},t={},a=3;this.setDefaults=function(t,a){return e[t]=a,this},this.setActiveInterpolation=function(e,a){return t[e]=a,this},this.setTextAutosizeThreshold=function(e){return a=e,this},this.$get=["$interpolate",function(i){var n={};return n[String]=function(e){return e},n[Number]=function(e){return parseInt(e,10)},n[Boolean]=function(e){return"true"===e.toLowerCase()},n[RegExp]=function(e){return new RegExp(e)},{load:function(a,s,o,r){var l=function(){return!0};s.options={},angular.forEach(r,function(r,A){var d,c,u,p,m,g;d=r[0],c=r[1],u=r[2]||l,p=n[d],m=function(){var t=e[a]&&e[a][A];return angular.isDefined(t)?t:c},g=function(e){s.options[A]=e&&u(e)?p(e):m()},t[a]&&t[a][A]?o.$observe(A,function(e){g(e),s.events.trigger("option-change",{name:A,newValue:e})}):g(o[A]&&i(o[A])(s.$parent))})},getTextAutosizeThreshold:function(){return a}}}]}),i.factory("tiUtil",["$timeout","$q",function(e,t){var a={};return a.debounce=function(t,a){var i;return function(){var n=arguments;e.cancel(i),i=e(function(){t.apply(null,n)},a)}},a.makeObjectArray=function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var a=[];return e.forEach(function(e){var i={};i[t]=e,a.push(i)}),a},a.findInObjectArray=function(e,t,i,n){var s=null;return n=n||a.defaultComparer,e.some(function(e){return n(e[i],t[i])?(s=e,!0):void 0}),s},a.defaultComparer=function(e,t){return a.safeToString(e).toLowerCase()===a.safeToString(t).toLowerCase()},a.safeHighlight=function(e,t){function i(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}if(e=a.encodeHTML(e),t=a.encodeHTML(t),!t)return e;var n=new RegExp("&[^;]+;|"+i(t),"gi");return e.replace(n,function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e})},a.safeToString=function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},a.encodeHTML=function(e){return a.safeToString(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},a.handleUndefinedResult=function(e,t){return function(){var a=e.apply(null,arguments);return angular.isUndefined(a)?t:a}},a.replaceSpacesWithDashes=function(e){return a.safeToString(e).replace(/\s/g,"-")},a.isModifierOn=function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},a.promisifyValue=function(e){return e=angular.isUndefined(e)?!0:e,t[e?"when":"reject"]()},a.simplePubSub=function(){var e={};return{on:function(t,a,i){return t.split(" ").forEach(function(t){e[t]||(e[t]=[]);var n=i?[].unshift:[].push;n.call(e[t],a)}),this},trigger:function(t,i){var n=e[t]||[];return n.every(function(e){return a.handleUndefinedResult(e,!0)(i)}),this}}},a}]),i.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}(),function(){"use strict";function e(e){return{restrict:"EA",replace:!0,templateUrl:"app/widgets/numberOnlyInput/numberOnlyInput.template.html",scope:{required:"=",inputValue:"=",inputName:"@",inputPlace:"@",noBorder:"=",currency:"="},link:function(e){e.onFocus=function(){e.oldValue=e.inputValue},e.onBlur=function(){""===e.inputValue?e.inputValue=0:/[a-zA-Z!@#$%^&*()_+=\/\\,]/i.test(e.inputValue)&&(e.inputValue=e.oldValue)}}}}e.$inject=["$filter"],angular.module("app.widgets").directive("numberOnlyInput",e)}(),function(){"use strict";function e(e,t,a){function i(i,n,s){function o(){i.rootScope=t,i.goToState=r,i.goToBack=a.goBackState}function r(t){e.go(t)}o()}return{link:i,restrict:"E",templateUrl:"app/widgets/pageHeader/pageHeader.template.html",scope:{subHeading:"@",heading:"@",buttonList:"=",goBack:"="},replace:!0}}e.$inject=["$state","$rootScope","utilities"],angular.module("app.widgets").directive("pageHeader",e)}(),function(){"use strict";function e(e,t,a,i,n){function s(e,t,a){function s(){function a(){l.legend.addListener("rollOverItem",s)}function s(e){var t=e.dataItem.wedge.node;t.parentNode.appendChild(t)}var o=i.colors,r=t[0].getAttribute("id"),l=AmCharts.makeChart(r,{type:"pie",startDuration:0,theme:"blur",addClassNames:!0,color:o.defaultText,labelTickColor:o.borderDark,legend:{position:"right",marginRight:100,autoMargins:!1},innerRadius:"40%",defs:{filter:[{id:"shadow",width:"200%",height:"200%",feOffset:{result:"offOut","in":"SourceAlpha",dx:0,dy:0},feGaussianBlur:{result:"blurOut","in":"offOut",stdDeviation:5},feBlend:{"in":"SourceGraphic",in2:"blurOut",mode:"normal"}}]},dataProvider:e.data,valueField:e.valueField,titleField:"transaction__product__name","export":{enabled:!0},creditsPosition:"bottom-left",autoMargins:!1,marginTop:10,alpha:.8,marginBottom:0,marginLeft:0,marginRight:0,pullOutRadius:0,pathToImages:n.images.amChart,responsive:{enabled:!0,rules:[{maxWidth:900,overrides:{legend:{enabled:!1}}},{maxWidth:200,overrides:{valueAxes:{labelsEnabled:!1},marginTop:30,marginBottom:30,marginLeft:30,marginRight:30}}]}});l.addListener("init",a),l.addListener("rollOverSlice",function(e){s(e)})}s()}return{link:s,restrict:"E",templateUrl:"app/widgets/pieChart/pieChart.template.html",scope:{id:"@",data:"=",valueField:"@"},replace:!0}}e.$inject=["$state","$rootScope","utilities","baConfig","layoutPaths"],angular.module("app.widgets").directive("pieChart",e)}(),function(){"use strict";function e(){}angular.module("app.widgets").service("dashboardPieChart",e)}(),function(){"use strict";function e(e,t,a,i){function n(e,t,n){function s(){e.colSize=e.colSize?e.colSize:"4",e.appConstants=i,e.productImage=a("productPicture")(e.productItem.image),console.log(e.business)}s()}return{link:n,restrict:"E",templateUrl:"app/widgets/productCard/productCard.html",scope:{productItem:"=",colSize:"@"},replace:!0}}e.$inject=["$state","utilities","$filter","appConstants"],angular.module("app.widgets").directive("productCard",e)}(),function(){"use strict";function e(e,t){e.link="",e.ok=function(){t.close(e.link)}}e.$inject=["$scope","$uibModalInstance"],angular.module("app.widgets.profile").controller("ProfileModalCtrl",e)}(),function(){"use strict";function e(e,t,a,i){e.picture=a("profilePicture")("Nasta"),e.removePicture=function(){e.picture=a("appImage")("theme/no-photo.png"),e.noPicture=!0},e.uploadPicture=function(){var e=document.getElementById("uploadFile");e.click()},e.socialProfiles=[{name:"Facebook",href:"https://www.facebook.com/akveo/",icon:"socicon-facebook"},{name:"Twitter",href:"https://twitter.com/akveo_inc",icon:"socicon-twitter"},{name:"Google",icon:"socicon-google"},{name:"LinkedIn",href:"https://www.linkedin.com/company/akveo",icon:"socicon-linkedin"},{name:"GitHub",href:"https://github.com/akveo",icon:"socicon-github"},{name:"StackOverflow",icon:"socicon-stackoverflow"},{name:"Dribbble",icon:"socicon-dribble"},{name:"Behance",icon:"socicon-behace"}],e.unconnect=function(e){e.href=void 0},e.showModal=function(e){i.open({animation:!1,controller:"ProfileModalCtrl",templateUrl:"app/pages/profile/profileModal.html"}).result.then(function(t){e.href=t})},e.getFile=function(){t.readAsDataUrl(e.file,e).then(function(t){e.picture=t})},e.switches=[!0,!0,!1,!0,!0,!1]}e.$inject=["$scope","fileReader","$filter","$uibModal"],angular.module("app.widgets.profile").controller("ProfilePageCtrl",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(t,o,r){function l(){t.hide=!1,t.appConstants=i,t.editShippingLine=A,t.deleteShippingLine=d,t.logo=a("shippingLineLogo")(t.shippingLine.logo)}function A(t){e.go("dashboard.shipping.lines.form",{id:t})}function d(e){n.deleteShippingLine(e).then(function(a){a.success?(s.success(a.message,"Shipping Line Deleted"),console.log(t["delete"]),t["delete"]({id:e})):s.error(a.message,"Delete Failed")})}l()}return{link:o,restrict:"E",templateUrl:"app/widgets/shippingLineCard/shippingLineCard.template.html",scope:{shippingLine:"=",colSize:"@","delete":"&"},replace:!0}}e.$inject=["$state","utilities","$filter","appConstants","shipping","toastr"],angular.module("app.widgets").directive("shippingLineCard",e)}(),function(){"use strict";function e(e){function t(e,t,a){function i(){n()}function n(){e.chartData[e.chartData.length-1].bullet="round",AmCharts.makeChart("line1",{type:"serial",theme:"light",dataProvider:e.chartData,categoryField:"date",autoMargins:!1,marginLeft:0,marginRight:5,marginTop:0,marginBottom:0,graphs:[{valueField:"rate",bulletField:"bullet",showBalloon:!1,lineColor:"greenyellow",lineThickness:5}],valueAxes:[{gridAlpha:0,axisAlpha:0}],categoryAxis:{gridAlpha:0,axisAlpha:0,startOnAxis:!0}})}i()}return{link:t,restrict:"E",templateUrl:"app/widgets/sparklines/sparkline.template.html",scope:{chartData:"="},replace:!0}}e.$inject=["$rootScope"],angular.module("app.widgets").directive("sparkLine",e)}(),function(){"use strict";function e(e,t,a,i){e.smartTablePageSize=10,e.smartTableData=[{id:1,firstName:"Mark",lastName:"Otto",username:"@mdo",email:"mdo@gmail.com",age:"28"},{id:2,firstName:"Jacob",lastName:"Thornton",username:"@fat",email:"fat@yandex.ru",age:"45"},{id:3,firstName:"Larry",lastName:"Bird",username:"@twitter",email:"twitter@outlook.com",age:"18"},{id:4,firstName:"John",lastName:"Snow",username:"@snow",email:"snow@gmail.com",age:"20"},{id:5,firstName:"Jack",lastName:"Sparrow",username:"@jack",email:"jack@yandex.ru",age:"30"},{id:6,firstName:"Ann",lastName:"Smith",username:"@ann",email:"ann@gmail.com",age:"21"},{id:7,firstName:"Barbara",lastName:"Black",username:"@barbara",email:"barbara@yandex.ru",age:"43"},{id:8,firstName:"Sevan",lastName:"Bagrat",username:"@sevan",email:"sevan@outlook.com",age:"13"},{id:9,firstName:"Ruben",lastName:"Vardan",username:"@ruben",email:"ruben@gmail.com",age:"22"},{id:10,firstName:"Karen",lastName:"Sevan",username:"@karen",email:"karen@yandex.ru",age:"33"},{id:11,firstName:"Mark",lastName:"Otto",username:"@mark",email:"mark@gmail.com",age:"38"},{id:12,firstName:"Jacob",lastName:"Thornton",username:"@jacob",email:"jacob@yandex.ru",age:"48"},{id:13,firstName:"Haik",lastName:"Hakob",username:"@haik",email:"haik@outlook.com",age:"48"},{id:14,firstName:"Garegin",lastName:"Jirair",username:"@garegin",email:"garegin@gmail.com",age:"40"},{id:15,firstName:"Krikor",lastName:"Bedros",username:"@krikor",email:"krikor@yandex.ru",age:"32"},{id:16,firstName:"Francisca",lastName:"Brady",username:"@Gibson",email:"franciscagibson@comtours.com",age:11},{id:17,firstName:"Tillman",lastName:"Figueroa",username:"@Snow",email:"tillmansnow@comtours.com",age:34},{id:18,firstName:"Jimenez",lastName:"Morris",username:"@Bryant",email:"jimenezbryant@comtours.com",age:45},{id:19,firstName:"Sandoval",lastName:"Jacobson",username:"@Mcbride",email:"sandovalmcbride@comtours.com",age:32},{id:20,firstName:"Griffin",lastName:"Torres",username:"@Charles",email:"griffincharles@comtours.com",age:19},{id:21,firstName:"Cora",lastName:"Parker",username:"@Caldwell",email:"coracaldwell@comtours.com",age:27},{id:22,firstName:"Cindy",lastName:"Bond",username:"@Velez",email:"cindyvelez@comtours.com",age:24},{id:23,firstName:"Frieda",lastName:"Tyson",username:"@Craig",email:"friedacraig@comtours.com",age:45},{id:24,firstName:"Cote",lastName:"Holcomb",username:"@Rowe",email:"coterowe@comtours.com",age:20},{id:25,firstName:"Trujillo",lastName:"Mejia",username:"@Valenzuela",email:"trujillovalenzuela@comtours.com",age:16},{id:26,firstName:"Pruitt",lastName:"Shepard",username:"@Sloan",email:"pruittsloan@comtours.com",age:44},{id:27,firstName:"Sutton",lastName:"Ortega",username:"@Black",email:"suttonblack@comtours.com",age:42},{id:28,firstName:"Marion",lastName:"Heath",username:"@Espinoza",email:"marionespinoza@comtours.com",age:47},{id:29,firstName:"Newman",lastName:"Hicks",username:"@Keith",email:"newmankeith@comtours.com",age:15},{id:30,firstName:"Boyle",lastName:"Larson",username:"@Summers",email:"boylesummers@comtours.com",age:32},{id:31,firstName:"Haynes",lastName:"Vinson",username:"@Mckenzie",email:"haynesmckenzie@comtours.com",age:15},{id:32,firstName:"Miller",lastName:"Acosta",username:"@Young",email:"milleryoung@comtours.com",age:55},{id:33,firstName:"Johnston",lastName:"Brown",username:"@Knight",email:"johnstonknight@comtours.com",age:29},{id:34,firstName:"Lena",lastName:"Pitts",username:"@Forbes",email:"lenaforbes@comtours.com",age:25},{id:35,firstName:"Terrie",lastName:"Kennedy",username:"@Branch",email:"terriebranch@comtours.com",age:37},{id:36,firstName:"Louise",lastName:"Aguirre",username:"@Kirby",email:"louisekirby@comtours.com",age:44},{id:37,firstName:"David",lastName:"Patton",username:"@Sanders",email:"davidsanders@comtours.com",age:26},{id:38,firstName:"Holden",lastName:"Barlow",username:"@Mckinney",email:"holdenmckinney@comtours.com",age:11},{id:39,firstName:"Baker",lastName:"Rivera",username:"@Montoya",email:"bakermontoya@comtours.com",age:47},{id:40,firstName:"Belinda",lastName:"Lloyd",username:"@Calderon",email:"belindacalderon@comtours.com",age:21},{id:41,firstName:"Pearson",lastName:"Patrick",username:"@Clements",email:"pearsonclements@comtours.com",age:42},{id:42,firstName:"Alyce",lastName:"Mckee",username:"@Daugherty",email:"alycedaugherty@comtours.com",age:55},{id:43,firstName:"Valencia",lastName:"Spence",username:"@Olsen",email:"valenciaolsen@comtours.com",age:20},{id:44,firstName:"Leach",lastName:"Holcomb",username:"@Humphrey",email:"leachhumphrey@comtours.com",age:28},{id:45,firstName:"Moss",lastName:"Baxter",username:"@Fitzpatrick",email:"mossfitzpatrick@comtours.com",age:51},{id:46,firstName:"Jeanne",lastName:"Cooke",username:"@Ward",email:"jeanneward@comtours.com",age:59},{id:47,firstName:"Wilma",lastName:"Briggs",username:"@Kidd",email:"wilmakidd@comtours.com",age:53},{id:48,firstName:"Beatrice",lastName:"Perry",username:"@Gilbert",email:"beatricegilbert@comtours.com",age:39},{id:49,firstName:"Whitaker",lastName:"Hyde",username:"@Mcdonald",email:"whitakermcdonald@comtours.com",age:35},{id:50,firstName:"Rebekah",lastName:"Duran",username:"@Gross",email:"rebekahgross@comtours.com",age:40},{id:51,firstName:"Earline",lastName:"Mayer",username:"@Woodward",email:"earlinewoodward@comtours.com",age:52},{id:52,firstName:"Moran",lastName:"Baxter",username:"@Johns",email:"moranjohns@comtours.com",age:20},{id:53,firstName:"Nanette",lastName:"Hubbard",username:"@Cooke",email:"nanettecooke@comtours.com",age:55},{id:54,firstName:"Dalton",lastName:"Walker",username:"@Hendricks",email:"daltonhendricks@comtours.com",age:25},{id:55,firstName:"Bennett",lastName:"Blake",username:"@Pena",email:"bennettpena@comtours.com",age:13},{id:56,firstName:"Kellie",lastName:"Horton",username:"@Weiss",email:"kellieweiss@comtours.com",age:48},{id:57,firstName:"Hobbs",lastName:"Talley",username:"@Sanford",email:"hobbssanford@comtours.com",age:28},{id:58,firstName:"Mcguire",lastName:"Donaldson",username:"@Roman",email:"mcguireroman@comtours.com",age:38},{id:59,firstName:"Rodriquez",lastName:"Saunders",username:"@Harper",email:"rodriquezharper@comtours.com",age:20},{id:60,firstName:"Lou",lastName:"Conner",username:"@Sanchez",email:"lousanchez@comtours.com",age:16}],e.editableTableData=e.smartTableData.slice(0,36),e.peopleTableData=[{id:1,firstName:"Mark",lastName:"Otto",username:"@mdo",email:"mdo@gmail.com",age:"28",status:"info"},{id:2,firstName:"Jacob",lastName:"Thornton",username:"@fat",email:"fat@yandex.ru",age:"45",status:"primary"},{id:3,firstName:"Larry",lastName:"Bird",username:"@twitter",email:"twitter@outlook.com",age:"18",status:"success"},{id:4,firstName:"John",lastName:"Snow",username:"@snow",email:"snow@gmail.com",age:"20",status:"danger"},{id:5,firstName:"Jack",lastName:"Sparrow",username:"@jack",email:"jack@yandex.ru",age:"30",status:"warning"}],e.metricsTableData=[{image:"app/browsers/chrome.svg",browser:"Google Chrome",visits:"10,392",isVisitsUp:!0,purchases:"4,214",isPurchasesUp:!0,percent:"45%",isPercentUp:!0},{image:"app/browsers/firefox.svg",browser:"Mozilla Firefox",visits:"7,873",isVisitsUp:!0,purchases:"3,031",isPurchasesUp:!1,percent:"28%",isPercentUp:!0},{image:"app/browsers/ie.svg",browser:"Internet Explorer",visits:"5,890",isVisitsUp:!1,purchases:"2,102",isPurchasesUp:!1,percent:"17%",isPercentUp:!1},{image:"app/browsers/safari.svg",browser:"Safari",visits:"4,001",isVisitsUp:!1,purchases:"1,001",isPurchasesUp:!1,percent:"14%",isPercentUp:!0},{image:"app/browsers/opera.svg",browser:"Opera",visits:"1,833",isVisitsUp:!0,purchases:"83",isPurchasesUp:!0,percent:"5%",isPercentUp:!1}],e.users=[{id:1,name:"Esther Vang",status:4,group:3},{id:2,name:"Leah Freeman",status:3,group:1},{id:3,name:"Mathews Simpson",status:3,group:2},{id:4,name:"Buckley Hopkins",group:4},{id:5,name:"Buckley Schwartz",status:1,group:1},{id:6,name:"Mathews Hopkins",status:4,group:2},{id:7,name:"Leah Vang",status:4,group:1},{id:8,name:"Vang Schwartz",status:4,group:2},{id:9,name:"Hopkin Esther",status:1,group:2},{id:10,name:"Mathews Schwartz",status:1,group:3}],e.statuses=[{value:1,text:"Good"},{value:2,text:"Awesome"},{value:3,text:"Excellent"}],e.groups=[{id:1,text:"user"},{id:2,text:"customer"},{id:3,text:"vip"},{id:4,text:"admin"}],e.showGroup=function(a){if(a.group&&e.groups.length){var i=t("filter")(e.groups,{id:a.group});return i.length?i[0].text:"Not set"}return"Not set"},e.showStatus=function(a){var i=[];return a.status&&(i=t("filter")(e.statuses,{value:a.status})),i.length?i[0].text:"Not set"},e.removeUser=function(t){e.users.splice(t,1)},e.addUser=function(){e.inserted={id:e.users.length+1,name:"",status:null,group:null},e.users.push(e.inserted)},a.theme="bs3",i.bs3.submitTpl='<button type="submit" class="btn btn-primary btn-with-icon"><i class="ion-checkmark-round"></i></button>',i.bs3.cancelTpl='<button type="button" ng-click="$form.$cancel()" class="btn btn-default btn-with-icon"><i class="ion-close-round"></i></button>'}e.$inject=["$scope","$filter","editableOptions","editableThemes"],angular.module("app.widgets.tables").controller("TablesPageCtrl",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(e){function n(){e.appFormats=i,e.trade.dispute||(e.trade.dispute=o()),e.getNewDisputeObj=o,e.showDisputeForm=r,e.saveDisputeDetails=l,e.cancelDisputingTrade=s}function s(){e.showForm=!1,e.trade.dispute=e.disputeCopy}function o(){return{isDisputed:!1,qualityComplain:!1,weightShortage:!1,other:!1,disputeResolved:!1,disputeResolvedDate:null,details:"",disputeDate:null}}function r(t){e.addMode=!0,e.showForm=!0,e.disputeCopy=angular.copy(e.trade.dispute)}function l(i,n,s){i.$valid?t.saveDisputeData(n.dispute,n.basic.fileNo,s).then(function(t){t.success&&(e.trade=t.transactionObj,a.success(t.message),e.showForm=!1)}):a.error("Please enter missing fields")}n()}return{link:o,restrict:"E",templateUrl:"app/widgets/tradeDisputeCard/tradeDisputeCard.template.html",scope:{trade:"="},replace:!0}}e.$inject=["$filter","tradeBook","toastr","appFormats","utilities","loaderModal"],angular.module("app.widgets").directive("tradeDisputeCard",e)}(),function(){"use strict";function e(e,t,a,i,n,s,o,r){function l(l){function A(e,t){
  t.reverse=t.reverse?!0:!1,l.sortType=e,l.tableData=s.sortTableBySortType(l.listData,e,!t.reverse),l.hidePaging?l.displayList=l.tableData:l.setPagingData(l.currentPage,l.tableData,l.itemsPerPage),t.reverse=!t.reverse}function d(){function a(e){return _.sumBy(e,function(e){return e.quantity})}l.totalQuantity=0,l.hidePaging=!1,"arrivedList"===l.type&&(e.headerTitle="International Trades",e.headerSubTitle="Arrived At Port"),"expectedArrival"===l.type&&(e.headerTitle="International Trades",e.headerSubTitle="Expected Arrival"),"expiredShipment"===l.type&&(e.headerTitle="International Trades",e.headerSubTitle="Expired Shipment"),l.searchTransactionByFileID="",l.displayList=[],l.tableData=[],l.appConstants=t,l.appFormats=n,l.currentPage=1,l.sortType="fileNo";var i=["Date","File No","Buyer","Product","Origin","Quantity","Rate","Seller","Shipment Start","Shipment End","Expected Commission","Actual Commission"];l.heading=i,angular.forEach(l.listData,function(e,t){e.showNotes=!1,e.note=""}),l.sortTable=A,l.pageChanged=function(e){l.setPagingData(e,l.tableData,l.itemsPerPage)},l.setPagingData=function(e,t,a){l.totalItems=t.length,l.currentPage=e,l.pagedData=t.slice((e-1)*a,e*a),l.displayList=l.pagedData},l.$watch("listData",function(e,t){e.length>0&&(l.tableData=s.sortTableBySortType(e,l.sortType,!0),l.setPagingData(l.currentPage,l.tableData,l.itemsPerPage),l.totalQuantity=a(e))}),l.exportToPDF=function(e,t){var a=_.filter(t,function(e){return null!==e.sort}),i=_.map(a,"name"),i=_.forEach(i,function(e,t){i[t]=s.stripHtml(e)}),n=_.map(a,"sort");r.printPDF(angular.copy(i),angular.copy(n),e)},l.exportToExcel=function(e,t){var a=_.filter(t,function(e){return null!==e.sort}),i=_.map(a,"name"),n=_.map(a,"sort"),i=_.forEach(i,function(e,t){i[t]=s.stripHtml(e)});r.getTableInExcelSheet(angular.copy(i),angular.copy(n),e,l.type)},l.unpagedView=function(e){l.hidePaging=!e,l.displayList=l.hidePaging?l.tableData:l.pagedData}}d(),l.toggleNotes=function(e){e.showNotes?e.showNotes=!1:(e.showNotes=!0,e.noteListLoading=!0,o.open(),a.getAllNotesForTrade(e.id).then(function(t){e.noteList=t.notesList,e.noteListLoading=!1,o.close()}),angular.forEach(l.listData,function(t,a){t.id!==e.id&&(t.showNotes=!1)}))},l.editTradeNote=function(e,t,a){e.note=t,a.editing=!0,l.updateNote=!0},l.deleteTradeNote=function(e,t,n,s){return a.deleteTradeNote(e,t).then(function(e){if(e.success){var t=_.indexOf(s,n);s.splice(t,1),i.success(e.message,"Note Deleted")}else i.error(e.message)})},l.addTradeNote=function(e,t,n,o,r){if(r.$valid)if(o.note="",""===t)i.error("Please add a note");else if(l.addingNote=!1,l.updateNote){var A=_.find(n,function(e){return 1==e.editing}),d=_.indexOf(n,A);a.editTradeNote(e,A.noteId,t).then(function(e){e.success?(l.updateNote=!1,n[d]=e.note,i.success(e.meesage,"Note Updated")):i.error(e.message),s.resetFormValidation(r)})}else a.addTradeNote(e,t).then(function(e){e.success?(i.success(e.message,"Note Added"),n.push(e.note)):i.error(e.message),s.resetFormValidation(r)})}}return{link:l,restrict:"E",templateUrl:"app/widgets/tradeTable/tradeTable.template.html",scope:{type:"@",listData:"=",itemsPerPage:"@",columnHeader:"="},replace:!0}}e.$inject=["$rootScope","appConstants","tradeBook","toastr","appFormats","utilities","loaderModal","documentExporter"],angular.module("app.widgets").directive("tradeTable",e)}(),function(){"use strict";function e(e,t,a,i,n,s){function o(n){function o(){n.appFormats=i,n.trade.washOut||(n.trade.washOut=l()),n.getNewWashoutObj=l,n.showWashOutForm=A,n.saveWashOutDetails=d,n.cancelWashingOut=r}function r(){n.showForm=!1}function l(){return{isWashout:!1,initialCommissionPayable:!0,washoutDate:null,washoutDueDate:null,buyerWashoutPrice:e("number")(n.trade.commission.price,"2"),sellerWashoutPrice:e("number")(n.trade.commission.price,"2"),brokerDifference:e("number")("0.00","2")}}function A(e){n.addMode=!0,n.showForm=!0}function d(e,i,o,r,A){e.$valid||!A?(s.open(),t.changeWashoutStatus(i.id,o,r).then(function(e){e.success?(n.trade=e.transactionObj,a.success(e.message,"Washout Status Changed"),n.showForm=!1,o||(n.trade.washOut=l())):a.error(e.message,"Error!"),s.close()})):a.error("Please enter washout value","Error")}o()}return{link:o,restrict:"E",templateUrl:"app/widgets/tradeWashOutCard/tradeWashOutCard.template.html",scope:{trade:"="},replace:!0}}e.$inject=["$filter","tradeBook","toastr","appFormats","utilities","loaderModal"],angular.module("app.widgets").directive("tradeWashOutCard",e)}(),function(){"use strict";function e(e,t,a){e.transparent=t.theme.blur;var i=t.colors.dashboard;e.doughnutData=[{value:2e3,color:i.white,highlight:a.shade(i.white,15),label:"Other",percentage:87,order:1},{value:1500,color:i.blueStone,highlight:a.shade(i.blueStone,15),label:"Search engines",percentage:22,order:4},{value:1e3,color:i.surfieGreen,highlight:a.shade(i.surfieGreen,15),label:"Referral Traffic",percentage:70,order:3},{value:1200,color:i.silverTree,highlight:a.shade(i.silverTree,15),label:"Direct Traffic",percentage:38,order:2},{value:400,color:i.gossip,highlight:a.shade(i.gossip,15),label:"Ad Campaigns",percentage:17,order:0}];var n=document.getElementById("chart-area").getContext("2d");window.myDoughnut=new Chart(n).Doughnut(e.doughnutData,{segmentShowStroke:!1,percentageInnerCutout:64,responsive:!0})}e.$inject=["$scope","baConfig","colorHelper"],angular.module("app.widgets").controller("TrafficChartCtrl",e)}(),function(){"use strict";function e(){return console.log("sex"),{restrict:"E",controller:"TrafficChartCtrl",templateUrl:"app/widgets/trafficChart/trafficChart.html"}}angular.module("app.widgets").directive("trafficChart",e)}(),function(){"use strict";function e(e,t,a,i){function n(t,n,s){function o(){t.editVesselDetails=r,t.appConstants=i,t.shippingLine?t.logo=a("shippingLineLogo")(t.shippingLine.logo):t.logo=a("shippingLineLogo")(t.shippingLine)}function r(t){e.go("dashboard.shipping.vessel.form",{id:t})}o()}return{link:n,restrict:"E",templateUrl:"app/widgets/vesselCard/vesselCard.template.html",scope:{vessel:"=",colSize:"@"},replace:!0}}e.$inject=["$state","utilities","$filter","appConstants"],angular.module("app.widgets").directive("vesselCard",e)}(),function(){"use strict";function e(e,t,a,i,n){function s(e,t,a){function s(){e.dashboardColors=i,e.openWarehouseProductStockReport=n.openWarehouseProductStockReport,e.openWarehouseBusinessStockReport=n.openWarehouseBusinessStockReport}s()}return{link:s,restrict:"E",templateUrl:"app/widgets/warehouseCard/warehouseCard.html",scope:{warehouse:"=",colSize:"@"},replace:!0}}e.$inject=["$state","utilities","$filter","baConfig","inventory"],angular.module("app.widgets").directive("warehouseCard",e)}(),function(){"use strict";function e(e,t,a,i){function n(){t.jsonp("http://www.geoplugin.net/json.gp?jsoncallback=JSON_CALLBACK").then(function(t){e.geoData=t.data,e.updateWeather()},function(){console.log("GEO FAILED")})}function s(e){AmCharts.makeChart("tempChart",{type:"serial",theme:"blur",handDrawn:!0,categoryField:"time",dataProvider:e,valueAxes:[{axisAlpha:.3,gridAlpha:0}],graphs:[{bullet:"square",fillAlphas:.3,fillColorsField:"lineColor",legendValueText:"[[value]]",lineColorField:"lineColor",title:"Temp",valueField:"temp"}],categoryAxis:{gridAlpha:0,axisAlpha:.3}}).write("tempChart")}function o(t){var a=t.list[0],n={days:[{date:new Date,timeTemp:[],main:a.weather[0].main,description:a.weather[0].description,icon:a.weather[0].icon,temp:a.main.temp}],current:0};t.list.forEach(function(e,a){var i=new Date(e.dt_txt);i.getDate()!==n.days[n.days.length-1].date.getDate()&&n.days.push({date:i,timeTemp:[]});var s=n.days[n.days.length-1];s.timeTemp.push({time:i.getHours(),temp:e.main.temp}),(n.days.length>1&&i.getHours()==d||a==t.list.length-1)&&(s.main=e.weather[0].main,s.description=e.weather[0].description,s.icon=e.weather[0].icon,s.temp=e.main.temp,s.date.setHours(a==t.list.length-1?0:d),s.date.setMinutes(0))}),console.log(n.days[n.current].date),n.days=n.days.slice(0,i.attr("forecast")||5),e.weather=n}var r="http://api.openweathermap.org/data/2.5/forecast",l="GET",A="2de143494c0b295cca9337e1e96b00e0",d=15;e.units="metric",e.weatherIcons={"01d":"ion-ios-sunny-outline","02d":"ion-ios-partlysunny-outline","03d":"ion-ios-cloud-outline","04d":"ion-ios-cloud","09d":"ion-ios-rainy","10d":"ion-ios-rainy-outline","11d":"ion-ios-thunderstorm-outline","13d":"ion-ios-snowy","50d":"ion-ios-cloudy-outline","01n":"ion-ios-cloudy-night-outline","02n":"ion-ios-cloudy-night","03n":"ion-ios-cloud-outline","04n":"ion-ios-cloud","09n":"ion-ios-rainy","10n":"ion-ios-rainy-outline","11n":"ion-ios-thunderstorm","13n":"ion-ios-snowy","50n":"ion-ios-cloudy-outline"},e.weather={},e.switchUnits=function(t){e.units=t,e.updateWeather()},e.switchDay=function(t){e.weather.current=t,s(e.weather.days[e.weather.current].timeTemp)},e.updateWeather=function(){t({method:l,url:r,params:{appid:A,lat:e.geoData.geoplugin_latitude,lon:e.geoData.geoplugin_longitude,units:e.units}}).then(function(t){o(t.data),s(e.weather.days[e.weather.current].timeTemp)},function(){console.log("WEATHER FAILED")})},n()}e.$inject=["$scope","$http","$timeout","$element"],angular.module("app.widgets").controller("WeatherCtrl",e)}(),function(){"use strict";function e(){return{restrict:"EA",controller:"WeatherCtrl",templateUrl:"app/widgets/weather/weather.html"}}angular.module("app.widgets").directive("weather",e)}(),function(){"use strict";function e(e,t){return angular.extend({},e,{template:function(a,i){var n='<div  class="panel '+(t.theme.blur?"panel-blur":"")+" full-invisible "+(i.baPanelClass||"");return n+='" zoom-in '+(t.theme.blur?"ba-panel-blur":"")+">",n+=e.template(a,i),n+="</div>"}})}e.$inject=["baPanel","baConfig"],angular.module("app.theme").directive("baPanel",e)}(),function(){"use strict";function e(){return{restrict:"A",transclude:!0,template:function(e,t){var a='<div class="panel-body" ng-transclude></div>';if(t.baPanelTitle){var i='<div class="panel-heading clearfix"><h3 class="panel-title">'+t.baPanelTitle+"</h3></div>";a=i+a}return a}}}angular.module("app.theme").factory("baPanel",e)}(),function(){"use strict";function e(e,t,a){var i;return e.bodyBgLoad().then(function(){i=e.getBodyBgImageSizes()}),t.addEventListener("resize",function(){i=e.getBodyBgImageSizes()}),{restrict:"A",link:function(n,s){function o(){i&&s.css({backgroundSize:Math.round(i.width)+"px "+Math.round(i.height)+"px",backgroundPosition:Math.floor(i.positionX)+"px "+Math.floor(i.positionY)+"px"})}a.$isMobile||(e.bodyBgLoad().then(function(){setTimeout(o)}),t.addEventListener("resize",o),n.$on("$destroy",function(){t.removeEventListener("resize",o)}))}}}e.$inject=["baPanelBlurHelper","$window","$rootScope"],angular.module("app.theme").directive("baPanelBlur",e)}(),function(){"use strict";function e(e){var t=e.defer(),a=getComputedStyle(document.body,":before"),i=new Image;i.src=a.backgroundImage.replace(/url\((['"])?(.*?)\1\)/gi,"$2"),i.onerror=function(){t.reject()},i.onload=function(){t.resolve()},this.bodyBgLoad=function(){return t.promise},this.getBodyBgImageSizes=function(){var e=document.documentElement.clientWidth,t=document.documentElement.clientHeight;if(!(640>=e)){var a,n,s=i.height/i.width,o=t/e;return o>s?(a=t,n=t/s):(n=e,a=e*s),{width:n,height:a,positionX:(e-n)/2,positionY:(t-a)/2}}}}e.$inject=["$q"],angular.module("app.theme").service("baPanelBlurHelper",e)}(),function(){"use strict";function e(e){return angular.extend({},e,{link:function(e,t,a){t.addClass("panel panel-white"),a.baPanelClass&&t.addClass(a.baPanelClass)}})}e.$inject=["baPanel"],angular.module("app.theme").directive("baPanelSelf",e)}(),function(){"use strict";function e(e,t){e.menuItems=t.getMenuItems(),e.defaultSidebarState=e.menuItems[0].stateRef,e.hoverItem=function(t){e.showHoverElem=!0,e.hoverElemHeight=t.currentTarget.clientHeight;var a=66;e.hoverElemTop=t.currentTarget.getBoundingClientRect().top-a},e.$on("$stateChangeSuccess",function(){t.canSidebarBeHidden()&&t.setMenuCollapsed(!0)})}e.$inject=["$scope","baSidebarService"],angular.module("app.theme.components").controller("BaSidebarCtrl",e)}(),function(){"use strict";function e(e,t,a,i){var n=$(window);return{restrict:"E",templateUrl:"app/theme/components/baSidebar/ba-sidebar.html",controller:"BaSidebarCtrl",link:function(i,s){function o(i){a.isDescendant(s[0],i.target)||i.originalEvent.$sidebarEventProcessed||t.isMenuCollapsed()||!t.canSidebarBeHidden()||(i.originalEvent.$sidebarEventProcessed=!0,e(function(){t.setMenuCollapsed(!0)},10))}function r(){var e=t.shouldMenuBeCollapsed(),a=l();(e!=t.isMenuCollapsed()||i.menuHeight!=a)&&i.$apply(function(){i.menuHeight=a,t.setMenuCollapsed(e)})}function l(){return s[0].childNodes[0].clientHeight-84}i.menuHeight=s[0].childNodes[0].clientHeight-84,n.on("click",o),n.on("resize",r),i.$on("$destroy",function(){n.off("click",o),n.off("resize",r)})}}}e.$inject=["$timeout","baSidebarService","baUtil","layoutSizes"],angular.module("app.theme.components").directive("baSidebar",e)}(),function(){"use strict";function e(){var e=[];this.addStaticItem=function(){e.push.apply(e,arguments)},this.$get=["$state","layoutSizes",function(t,a){function i(){function i(){return t.get().filter(function(e){return e.sidebarMeta}).map(function(e){var t=e.sidebarMeta;return{name:e.name,title:e.title,level:(e.name.match(/\./g)||[]).length,order:t.order,icon:t.icon,stateRef:e.name}}).sort(function(e,t){return 100*(e.level-t.level)+e.order-t.order})}function n(){return window.innerWidth<=a.resWidthCollapseSidebar}function s(){return window.innerWidth<=a.resWidthHideSidebar}var o=n();this.addStaticItem=function(){e.push.apply(e,arguments)},this.getMenuItems=function(){var t=i(),a=t.filter(function(e){return 0==e.level});return a.forEach(function(e){var a=t.filter(function(t){return 1==t.level&&0===t.name.indexOf(e.name)});e.subMenu=a.length?a:null}),a.concat(e)},this.shouldMenuBeCollapsed=n,this.canSidebarBeHidden=s,this.setMenuCollapsed=function(e){o=e},this.isMenuCollapsed=function(){return o},this.toggleMenuCollapsed=function(){o=!o},this.getAllStateRefsRecursive=function(e){function t(e){e.subMenu&&e.subMenu.forEach(function(e){e.stateRef&&a.push(e.stateRef),t(e)})}var a=[];return t(e),a}}return new i}],this.$get.$inject=["$state","layoutSizes"]}angular.module("app.theme.components").provider("baSidebarService",e)}(),function(){"use strict";function e(e){return{restrict:"A",link:function(t,a){a.on("click",function(a){a.originalEvent.$sidebarEventProcessed=!0,t.$apply(function(){e.toggleMenuCollapsed()})})}}}function t(e){return{restrict:"A",link:function(t,a){a.on("click",function(a){a.originalEvent.$sidebarEventProcessed=!0,e.isMenuCollapsed()||t.$apply(function(){e.setMenuCollapsed(!0)})})}}}function a(){return{restrict:"A",controller:"BaSidebarTogglingItemCtrl"}}function i(e,t,a,i,n){function s(e){return e&&l.some(function(t){return 0==e.name.indexOf(t)})}var o=this,r=o.$$menuItem=e.$eval(a.baSidebarTogglingItem);if(r&&r.subMenu&&r.subMenu.length){o.$$expandSubmenu=function(){console.warn("$$expandMenu should be overwritten by baUiSrefTogglingSubmenu")},o.$$collapseSubmenu=function(){console.warn("$$collapseSubmenu should be overwritten by baUiSrefTogglingSubmenu")};var l=n.getAllStateRefsRecursive(r);o.$expand=function(){o.$$expandSubmenu(),t.addClass("ba-sidebar-item-expanded")},o.$collapse=function(){o.$$collapseSubmenu(),t.removeClass("ba-sidebar-item-expanded")},o.$toggle=function(){t.hasClass("ba-sidebar-item-expanded")?o.$collapse():o.$expand()},s(i.current)&&t.addClass("ba-sidebar-item-expanded"),e.$on("$stateChangeStart",function(e,a){!s(a)&&t.hasClass("ba-sidebar-item-expanded")&&(o.$collapse(),t.removeClass("ba-sidebar-item-expanded"))}),e.$on("$stateChangeSuccess",function(e,a){s(a)&&!t.hasClass("ba-sidebar-item-expanded")&&(o.$expand(),t.addClass("ba-sidebar-item-expanded"))})}}function n(e){return{restrict:"A",require:"^baSidebarTogglingItem",link:function(e,t,a,i){i.$$expandSubmenu=function(){t.slideDown()},i.$$collapseSubmenu=function(){t.slideUp()}}}}function s(e){return{restrict:"A",require:"^baSidebarTogglingItem",link:function(t,a,i,n){a.on("click",function(){e.isMenuCollapsed()?(t.$apply(function(){e.setMenuCollapsed(!1)}),n.$expand()):n.$toggle()})}}}e.$inject=["baSidebarService"],t.$inject=["baSidebarService"],i.$inject=["$scope","$element","$attrs","$state","baSidebarService"],n.$inject=["$state"],s.$inject=["baSidebarService"],angular.module("app.theme.components").directive("baSidebarToggleMenu",e).directive("baSidebarCollapseMenu",t).directive("baSidebarTogglingItem",a).controller("BaSidebarTogglingItemCtrl",i).directive("baUiSrefTogglingSubmenu",n).directive("baUiSrefToggler",s)}(),function(){"use strict";function e(){return{restrict:"E",transclude:!0,templateUrl:"app/theme/components/baWizard/baWizard.html",controllerAs:"$baWizardController",controller:"baWizardCtrl",scope:{onCancel:"&"}}}angular.module("app.theme.components").directive("baWizard",e)}(),function(){"use strict";function e(e,t){function a(){i.progress=(i.tabNum+1)/i.tabs.length*100}var i=this;i.tabs=[],i.tabNum=0,i.progress=0,i.addTab=function(e){e.setPrev(i.tabs[i.tabs.length-1]),i.tabs.push(e),i.tabNum=0,i.tabs.forEach(function(e,t){0==t?e.select(!0):e.select(!1)})},i.onCancel=function(){e.onCancel({})},e.$watch(angular.bind(i,function(){return i.tabNum}),a),i.selectTab=function(e){var a=i.tabs[i.tabNum].submit();a&&a.then(function(a){a.success?(i.tabs[i.tabNum].onSubmitCallback&&i.tabs[i.tabNum].onSubmitCallback({response:a}),i.tabs[e+1].isAvailiable()&&(i.tabNum=e+1,i.tabs.forEach(function(e,t){t==i.tabNum?e.select(!0):e.select(!1)})),t.success(a.message)):t.error(a.message)})},i.isFirstTab=function(){return 0==i.tabNum},i.isLastTab=function(){return i.tabNum==i.tabs.length-1},i.nextTabAndExit=function(){i.tabs[i.tabNum].submit().then(function(a){a.success?(t.success(a.message),e.onCancel({})):t.error(a.message)})},i.nextTab=function(){i.selectTab(i.tabNum)},i.previousTab=function(){i.tabs[i.tabNum].select(!1),i.tabNum=i.tabNum-1,i.tabs[i.tabNum].select(!0)}}e.$inject=["$scope","toastr"],angular.module("app.theme.components").controller("baWizardCtrl",e)}(),function(){"use strict";function e(e){return{restrict:"E",transclude:!0,require:"^baWizard",scope:{form:"=",submitButtonTitle:"@",skip:"=",onNext:"&",onNextCallback:"&"},templateUrl:"app/theme/components/baWizard/baWizardStep.html",link:function(t,a,i,n){function s(e){e?t.selected=!0:t.selected=!1}function o(){return console.log("hello"),t.form&&t.form.$setSubmitted(!0),t.form&&t.form.$valid?t.onNext({form:t.form}):void(t.form&&e.error("Please enter missing fields","Invalid Form"))}function r(){return t.form?t.form.$valid:!0}function l(){return d.prevTab?d.prevTab.isComplete():!0}function A(e){d.prevTab=e}t.selected=!0;var d={onSubmitCallback:t.onNextCallback?t.onNextCallback:null,title:i.title,submitButtonTitle:t.submitButtonTitle,select:s,submit:o,isComplete:r,isAvailiable:l,prevTab:void 0,setPrev:A};n.addTab(d)}}}e.$inject=["toastr"],angular.module("app.theme.components").directive("baWizardStep",e)}(),function(){"use strict";function e(){return{restrict:"E",templateUrl:"app/theme/components/backTop/backTop.html",controller:function(){$("#backTop").backTop({position:200,speed:100})}}}angular.module("app.theme.components").directive("backTop",e)}(),function(){"use strict";function e(e,t){return{restrict:"E",templateUrl:"app/theme/components/contentTop/contentTop.html",link:function(e){e.$watch(function(){e.activePageTitle=t.current.title})}}}e.$inject=["$location","$state"],angular.module("app.theme.components").directive("contentTop",e)}(),function(){"use strict";function e(e,t,a,i){function n(){e.notificationObj={},s(!0)}function s(t){a.getUnReadNotificationList(t).then(function(t){angular.forEach(t.unread_list,function(e,t){e.data=JSON.parse(e.data)}),console.log(t),e.notificationObj={count:t.unread_count,list:t.unread_list}})}n(),e.goToState=function(e,t){i.go(e,t)},e.getMessage=function(a){var i=a.template;return(a.userId||0===a.userId)&&(i=i.replace("&name","<strong>"+e.users[a.userId].name+"</strong>")),t.trustAsHtml(i)}}e.$inject=["$scope","$sce","dashboard","$state"],angular.module("app.theme.components").controller("MsgCenterCtrl",e)}(),function(){"use strict";function e(){return{restrict:"E",templateUrl:"app/theme/components/msgCenter/msgCenter.html",controller:"MsgCenterCtrl"}}angular.module("app.theme.components").directive("msgCenter",e)}(),function(){"use strict";function e(e,t,a,i){function n(n,s,o){function r(){n.loading=!1,n.searchResults=[],n.resultType="",n.searchOptions=[{name:"International Trade By File Id",id:"int_trade_file_id"},{name:"International Trade By BL/No.",id:"int_trade_bl_no"},{name:"International Trade By Contract Number",id:"int_trade_contract_id"}],n.searchObj={query:"",queryType:"int_trade_file_id"},n.lastSearch={query:""},n.searchQuery=A,n.goToSearchItem=l}function l(e,a){n.searchResults=[],n.searchObj.query="",t.go(e,a)}function A(e,t){a(function(){e.query.length>=4?(t.query=e.query,n.loading=!0,i.searchQueryPageTop(e).then(function(e){n.loading=!1,n.searchResults=e.resultList,n.resultType=e.resultType})):n.searchResults=[]},500)}r(),n.goToSettings=function(){t.go("dashboard.settings.transactionStatus")},n.userData=e.getUserData(),n.logout=function(){e.logout()}}return{restrict:"E",replace:!0,link:n,templateUrl:"app/theme/components/pageTop/pageTop.html"}}e.$inject=["authentication","$state","$timeout","dashboard"],angular.module("app.theme.components").directive("pageTop",e)}(),function(){"use strict";function e(e){return{restrict:"E",templateUrl:"app/theme/components/progressBarRound/progressBarRound.html",link:function(t,a,i){function n(){var i=a.find("#loader")[0];i.setAttribute("stroke-dasharray",180*e.getProgress()*Math.PI/100+", 20000"),t.progress=e.getProgress()}t.baProgressDialog=e,t.$watch(function(){return e.getProgress()},n)}}}e.$inject=["baProgressModal"],angular.module("app.theme.components").directive("progressBarRound",e)}(),function(){"use strict";function e(){return{restrict:"EA",scope:{ngModel:"="},templateUrl:"app/theme/components/widgets/widgets.html",replace:!0}}angular.module("app.theme.components").directive("widgets",e)}(),function(){"use strict";function e(e){return function(t){return e.images.root+t}}e.$inject=["layoutPaths"],angular.module("app.theme").filter("appImage",e)}(),function(){"use strict";function e(e){return function(t){return e.images.root+"theme/icon/kameleon/"+t+".svg"}}e.$inject=["layoutPaths"],angular.module("app.theme").filter("kameleonImg",e)}(),function(){"use strict";function e(e){return function(t,a){return t?t:e.images.root+"/theme/no-picture.png"}}function t(e){return function(t,a){return t?t:e.images.root+"/theme/no-shipping-logo.png"}}function a(e){return function(t,a){return t?t:e.images.root+"/theme/no-photo.png"}}function i(e){return function(t,a){return t?t:e.images.root+"/theme/no-business.png"}}function n(e){return function(t,a){return t?t:e.images.root+"/theme/no-business.png"}}function s(e){return function(t,a){return t?t:e.images.root+"/theme/no-product.png"}}t.$inject=["layoutPaths"],a.$inject=["layoutPaths"],s.$inject=["layoutPaths"],e.$inject=["layoutPaths"],n.$inject=["layoutPaths"],i.$inject=["layoutPaths"],angular.module("app.theme").filter("profilePicture",a).filter("productPicture",s).filter("itemImage",e).filter("businessLogo",n).filter("countryLogo",i).filter("shippingLineLogo",t)}(),function(){"use strict";function e(){return function(e){return e?String(e).replace(/<[^>]+>/gm,""):""}}angular.module("app.theme").filter("plainText",e)}(),function(){"use strict";function e(e){function t(e){for(var t,a,i=e.length;i;t=Math.floor(Math.random()*i),a=e[--i],e[i]=e[t],e[t]=a);return e}e.labels=["Sleeping","Designing","Coding","Cycling"],e.data=[20,40,5,35],e.options={segmentShowStroke:!1},e.polarOptions={scaleShowLabelBackdrop:!1,segmentShowStroke:!1},e.changeData=function(){e.data=t(e.data)}}e.$inject=["$scope"],angular.module("app.widgets.charts.chartJs").controller("chartJs1DCtrl",e)}(),function(){"use strict";function e(e){function t(e){for(var t,a,i=e.length;i;t=Math.floor(Math.random()*i),a=e[--i],e[i]=e[t],e[t]=a);return e}e.labels=["May","June","Jule","August","September","October","November"],e.data=[[65,59,90,81,56,55,40],[28,48,40,19,88,27,45]],e.series=["Product A","Product B"],e.changeData=function(){e.data[0]=t(e.data[0]),e.data[1]=t(e.data[1])}}e.$inject=["$scope"],angular.module("app.widgets.charts.chartJs").controller("chartJs2DCtrl",e)}(),function(){"use strict";function e(e,t,a){e.labels=["April","May","June","Jule","August","September","October","November","December"],e.data=[[1,9,3,4,5,6,7,8,2].map(function(e){return 25*Math.sin(e)+25})],a.start(t,function(){e.data[0].unshift(e.data[0].pop())},300)}e.$inject=["$scope","$interval","stopableInterval"],angular.module("app.widgets.charts.chartJs").controller("chartJsWaveCtrl",e)}(),function(){"use strict";function e(e,t,a){function i(e,t){return[["screen and (min-width: 1550px)",{chartPadding:e,labelOffset:t,labelDirection:"explode",labelInterpolationFnc:function(e){return e}}],["screen and (max-width: 1200px)",{chartPadding:e,labelOffset:t,labelDirection:"explode",labelInterpolationFnc:function(e){return e}}],["screen and (max-width: 600px)",{chartPadding:0,labelOffset:0,labelInterpolationFnc:function(e){return e[0]}}]]}e.simpleLineOptions={color:a.colors.defaultText,fullWidth:!0,height:"300px",chartPadding:{right:40}},e.simpleLineData={labels:["Mon","Tue","Wed","Thu","Fri"],series:[[20,20,12,45,50],[10,45,30,14,12],[34,12,12,40,50],[10,43,25,22,16],[3,6,30,33,43]]},e.areaLineData={labels:[1,2,3,4,5,6,7,8],series:[[5,9,7,8,5,3,5,4]]},e.areaLineOptions={fullWidth:!0,height:"300px",low:0,showArea:!0},e.biLineData={labels:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],series:[[1,2,3,1,-2,0,1],[-2,-1,-2,-1,-2.5,-1,-2],[0,0,0,1,2,2.5,2],[2.5,2,1,.5,1,.5,-1]]},e.biLineOptions={height:"300px",high:3,low:-3,showArea:!0,showLine:!1,showPoint:!1,fullWidth:!0,axisX:{showGrid:!1}},e.simpleBarData={labels:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],series:[[15,24,43,27,5,10,23,44,68,50,26,8],[13,22,49,22,4,6,24,46,57,48,22,4]]},e.simpleBarOptions={fullWidth:!0,height:"300px"},e.multiBarData={labels:["Quarter 1","Quarter 2","Quarter 3","Quarter 4"],series:[[5,4,3,7],[3,2,9,5],[1,5,8,4],[2,3,4,6],[4,1,2,1]]},e.multiBarOptions={fullWidth:!0,height:"300px",stackBars:!0,axisX:{labelInterpolationFnc:function(e){return e.split(/\s+/).map(function(e){return e[0]}).join("")}},axisY:{offset:20}},e.multiBarResponsive=[["screen and (min-width: 400px)",{reverseData:!0,horizontalBars:!0,axisX:{labelInterpolationFnc:Chartist.noop},axisY:{offset:60}}],["screen and (min-width: 700px)",{stackBars:!1,reverseData:!1,horizontalBars:!1,seriesBarDistance:15}]],e.stackedBarData={labels:["Quarter 1","Quarter 2","Quarter 3","Quarter 4"],series:[[8e5,12e5,14e5,13e5],[2e5,4e5,5e5,3e5],[1e5,2e5,4e5,6e5]]},e.stackedBarOptions={fullWidth:!0,height:"300px",stackBars:!0,axisY:{labelInterpolationFnc:function(e){return e/1e3+"k"}}},e.simplePieData={series:[5,3,4]},e.simplePieOptions={fullWidth:!0,height:"300px",weight:"300px",labelInterpolationFnc:function(e){return Math.round(e/12*100)+"%"}},e.labelsPieData={labels:["Bananas","Apples","Grapes"],series:[20,15,40]},e.labelsPieOptions={fullWidth:!0,height:"300px",weight:"300px",labelDirection:"explode",labelInterpolationFnc:function(e){return e[0]}},e.simpleDonutData={labels:["Bananas","Apples","Grapes"],series:[20,15,40]},e.simpleDonutOptions={fullWidth:!0,donut:!0,height:"300px",weight:"300px",labelDirection:"explode",labelInterpolationFnc:function(e){return e[0]}},e.donutResponsive=i(5,40),e.pieResponsive=i(20,80),t(function(){new Chartist.Line("#line-chart",e.simpleLineData,e.simpleLineOptions),new Chartist.Line("#area-chart",e.areaLineData,e.areaLineOptions),new Chartist.Line("#bi-chart",e.biLineData,e.biLineOptions),new Chartist.Bar("#simple-bar",e.simpleBarData,e.simpleBarOptions),new Chartist.Bar("#multi-bar",e.multiBarData,e.multiBarOptions,e.multiBarResponsive),new Chartist.Bar("#stacked-bar",e.stackedBarData,e.stackedBarOptions),new Chartist.Pie("#simple-pie",e.simplePieData,e.simplePieOptions,e.pieResponsive),new Chartist.Pie("#label-pie",e.labelsPieData,e.labelsPieOptions),new Chartist.Pie("#donut",e.simpleDonutData,e.simpleDonutOptions,e.donutResponsive)})}e.$inject=["$scope","$timeout","baConfig"],angular.module("app.widgets.charts.chartist").controller("chartistCtrl",e)}(),function(){"use strict";function e(e,t,a){var i=a.colors;e.colors=[i.primary,i.warning,i.danger,i.info,i.success,i.primaryDark],e.lineData=[{y:"2006",a:100,b:90},{y:"2007",a:75,b:65},{y:"2008",a:50,b:40},{y:"2009",a:75,b:65},{y:"2010",a:50,b:40},{y:"2011",a:75,b:65},{y:"2012",a:100,b:90}],e.areaData=[{y:"2006",a:100,b:90},{y:"2007",a:75,b:65},{y:"2008",a:50,b:40},{y:"2009",a:75,b:65},{y:"2010",a:50,b:40},{y:"2011",a:75,b:65},{y:"2012",a:100,b:90}],e.barData=[{y:"2006",a:100,b:90},{y:"2007",a:75,b:65},{y:"2008",a:50,b:40},{y:"2009",a:75,b:65},{y:"2010",a:50,b:40},{y:"2011",a:75,b:65},{y:"2012",a:100,b:90}],e.donutData=[{label:"Download Sales",value:12},{label:"In-Store Sales",value:30},{label:"Mail-Order Sales",value:20}],angular.element(t).bind("resize",function(){})}e.$inject=["$scope","$window","baConfig"],angular.module("app.widgets.charts.morris").controller("morrisCtrl",e)}(),function(){"use strict";function e(e,t){var a=this;a.navigationCollapsed=!0,a.showCompose=function(t,a,i){e.open({subject:t,to:a,text:i})},a.tabs=t.getTabs()}e.$inject=["composeModal","mailMessages"],angular.module("app.widgets.components.mail").controller("MailTabCtrl",e)}(),function(){"use strict";function e(e){var t=[{id:"4563faass",name:"Nasta Linnie",subject:"Great text",date:"2015-08-28T07:57:09",body:e.trustAsHtml("<p>Hey John, </p><p>Check out this cool text.</p>"),pic:"img/Nasta.png",email:"petraramsey@mail.com",attachment:"poem.txt",position:"Great Employee",tag:"friend",labels:["inbox"]},{id:"4563fdfvd",name:"Nasta Linnie",subject:"Lores ipsum",date:"2015-11-19T03:30:45",important:!1,body:e.trustAsHtml("<p>Hey John, </p><br><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ex mauris, ultrices vel lectus quis, scelerisque hendrerit ipsum. Suspendisse ullamcorper turpis neque, eget dapibus magna placerat ac. Suspendisse rhoncus ligula ac mi tempus varius ut sed lacus. Sed et commodo nulla, et placerat leo. Nam rhoncus vulputate sem non pharetra. Praesent fringilla massa in laoreet convallis. Aliquam lobortis dui a congue facilisis. Aenean dapibus semper semper. Quisque aliquam, nibh dapibus interdum condimentum, ex velit tempor tortor, at vestibulum magna leo quis leo. Morbi pulvinar varius erat ac rutrum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In hac habitasse platea dictumst.</p><br><p>Cras rhoncus quam ipsum, vel dignissim nisl egestas sed. Aliquam erat volutpat. Integer eu nisl elit. Donec malesuada diam vitae tellus luctus tincidunt. Donec tempus blandit neque, rutrum egestas ipsum sagittis tempor. Curabitur volutpat ligula enim, nec vehicula purus molestie at. Sed a facilisis enim, nec molestie magna. Donec in augue non est viverra dapibus vel tempus risus. Nam porttitor purus sit amet hendrerit ullamcorper. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p>"),pic:"img/Nasta.png",email:"petraramsey@mail.com",position:"Great Employee",tag:"study",labels:["inbox"]},{id:"4563zxcss",name:"Nasta Linnie",subject:"Lores ipsum",date:"2015-10-19T03:30:45",important:!1,body:e.trustAsHtml("<p>Hey Nasta, </p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>"),pic:"img/Nasta.png",email:"petraramsey@mail.com",position:"Great Employee",tag:"work",labels:["sent","important"]},{id:"8955sddf",name:"Nick Cat",subject:"New Design",date:"2015-05-05T12:59:45",body:e.trustAsHtml("<p>Hey John, Consectetur adipiscing elit</p><br><p>Cras rhoncus quam ipsum, vel dignissim nisl egestas sed. Aliquam erat volutpat. Integer eu nisl elit. Donec malesuada diam vitae tellus luctus tincidunt. Donec tempus blandit neque, rutrum egestas ipsum sagittis tempor. Curabitur volutpat ligula enim, nec vehicula purus molestie at. Sed a facilisis enim, nec molestie magna. Donec in augue non est viverra dapibus vel tempus risus. Nam porttitor purus sit amet hendrerit ullamcorper. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p>"),
  pic:"img/Nick.png",email:"barlowshort@mail.com",position:"Graphical designer",attachment:"design.psd",tag:"work",labels:["inbox"]},{id:"8955sdfcc",name:"Nick Cat",subject:"Gift card",date:"2015-07-18T10:19:01",body:e.trustAsHtml("<p>Hey John, </p><br><p>Consectetur adipiscing elit, Lorem ipsum dolor sit amet</p>"),pic:"img/Nick.png",email:"barlowshort@mail.com",position:"Graphical designer",tag:"study",labels:["inbox"]},{id:"8955asewf",name:"Nick Cat",subject:"Some news",date:"2015-09-23T03:04:10",body:e.trustAsHtml("<p>Hey John, </p><br><p>Integer eu nisl elit. Donec malesuada diam vitae tellus luctus tincidunt. Donec tempus blandit neque, rutrum egestas ipsum sagittis tempor. Curabitur volutpat ligula enim, nec vehicula purus molestie at. Sed a facilisis enim, nec molestie magna. Donec in augue non est viverra dapibus vel tempus risus. Nam porttitor purus sit amet hendrerit ullamcorper. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p>"),pic:"img/Nick.png",email:"barlowshort@mail.com",position:"Graphical designer",tag:"work",labels:["inbox","important"]},{id:"2334uudsa",name:"Kostya Danovsky",subject:"Street Art",date:"2015-11-22T10:05:09",body:e.trustAsHtml("<p>Hey John, </p><p>Aliquam eu facilisis eros, quis varius est.</p><p>Consectetur adipiscing elit. Aliquam sodales sem in nibh pellentesque, ac dignissim mi dapibus.</p><p>Lorem ipsum dolor sit amet! Nullam imperdiet justo a ipsum laoreet euismod.</p><br><p>Cras tincidunt fermentum lectus, quis scelerisque lorem volutpat sed.Sed quis orci sed nisl sagittis viverra id at mauris. Nam venenatis mi nibh. Sed fringilla mattis vehic</p>"),pic:"img/Kostya.png",email:"schwart@mail.com",position:"Technical Chef",attachment:"file.doc",tag:"family",labels:["inbox","important"]},{id:"2334aefvv",name:"Kostya Danovsky",subject:"New product",date:"2015-06-22T06:26:10",body:e.trustAsHtml("<p>Hello John, </p><p>Lorem ipsum dolor sit amet!</p><p>Consectetur adipiscing elit. Aliquam sodales sem in nibh pellentesque, ac dignissim mi dapibus.</p><p>Aliquam eu facilisis eros, quis varius est. Nullam imperdiet justo a ipsum laoreet euismod.</p><br><p>Nulla facilisi. Nulla congue, arcu eget blandit lacinia, leo ante ullamcorper lectus, vel pulvinar justo ipsum vitae justo.Cras tincidunt fermentum lectus, quis scelerisque lorem volutpat sed. Sed quis orci sed nisl sagittis viverra id at mauris. Nam venenatis mi nibh. Sed fringilla mattis vehic</p>"),pic:"img/Kostya.png",email:"schwart@mail.com",position:"Technical Chef",tag:"family",labels:["inbox","important"]},{id:"2334cvdss",name:"Kostya Danovsky",subject:"Old product",date:"2015-06-22T06:26:10",body:e.trustAsHtml("<p>Hello John, </p><p>Consectetur adipiscing elit. Aliquam sodales sem in nibh pellentesque, ac dignissim mi dapibus.</p><br><p>Cras tincidunt fermentum lectus, quis scelerisque lorem volutpat sed. Sed quis orci sed nisl sagittis viverra id at mauris. Nam venenatis mi nibh. Sed fringilla mattis vehic</p>"),pic:"img/Kostya.png",email:"schwart@mail.com",position:"Technical Chef",tag:"study",labels:["trash"]},{id:"8223xzxfn",name:"Andrey Hrabouski",subject:"Skype moji",date:"2015-07-16T06:47:53",body:e.trustAsHtml("<p>Hello John, </p><p>Aliquam sodales sem in nibh pellentesque</p><p>Lorem ipsum dolor I find moji in skype sit amet!.</p>"),pic:"img/Andrey.png",email:"lakeishaphillips@mail.com",position:"Mobile Developer",tag:"family",labels:["trash"]},{id:"8223sdffn",name:"Andrey Hrabouski",subject:"My App",date:"2015-06-20T07:05:02",body:e.trustAsHtml("<p>Hey Vlad. </p><p>Lorem ipsum dolor sit amet!</p><p>Consectetur My Falasson App elit. Aliquam sodales sem in nibh pellentesque, ac dignissim mi dapibus.</p>"),pic:"img/Andrey.png",email:"lakeishaphillips@mail.com",position:"Mobile Developer",tag:"family",labels:["spam"]},{id:"9391xdsff",name:"Vlad Lugovsky",subject:"Cool",date:"2015-03-31T11:52:58",body:e.trustAsHtml("<p>Hey Vlad. </p><p>Aliquam sodales sem in nibh pellentesque</p><p>Cras tincidunt fermentum lectus, quis scelerisque lorem volutpat sed.</p>"),pic:"img/Vlad.png",email:"carlsongoodman@mail.com",position:"Fullstack man",tag:"study",labels:["draft"]},{id:"8223xsdaa",name:"Andrey Hrabouski",subject:"Car rent",date:"2015-02-25T10:58:58",body:e.trustAsHtml("<p>Hey Andrey. </p><p>Cras tincidunt fermentum lectus, quis scelerisque lorem volutpat sed. Sed quis orci sed nisl sagittis viverra id at mauris. Nam venenatis mi nibh. Sed fringilla mattis vehic</p>"),pic:"img/Andrey.png",email:"lakeishaphillips@mail.com",position:"Mobile Developer",tag:"family",labels:["draft"]},{id:"9391xdsff",name:"Vlad Lugovsky",subject:"What next",date:"2015-03-31T11:52:58",body:e.trustAsHtml("<p>Hey Vlad. </p><p>Lorem ipsum dolor sit amet!</p><p>Esse esse labore tempor ullamco ullamco. Id veniam laborum c.</p>"),pic:"img/Vlad.png",email:"carlsongoodman@mail.com",position:"Fullstack man",tag:"study",labels:["sent"]}].sort(function(e,t){return e.date>t.date?1:e.date<t.date?-1:void 0}).reverse(),a=[{label:"inbox",name:"Inbox",newMails:7},{label:"sent",name:"Sent Mail"},{label:"important",name:"Important"},{label:"draft",name:"Draft",newMails:2},{label:"spam",name:"Spam"},{label:"trash",name:"Trash"}];return{getTabs:function(){return a},getMessagesByLabel:function(e){return t.filter(function(t){return-1!=t.labels.indexOf(e)})},getMessageById:function(e){return t.filter(function(t){return t.id==e})[0]}}}e.$inject=["$sce"],angular.module("app.widgets.components.mail").service("mailMessages",e)}(),function(){"use strict";function e(){function e(e,t){e.each(function(){$(this).offset().top>$(window).scrollTop()+$(window).height()*t&&$(this).find(".cd-timeline-img, .cd-timeline-content").addClass("is-hidden")})}function t(e,t){e.each(function(){$(this).offset().top<=$(window).scrollTop()+$(window).height()*t&&$(this).find(".cd-timeline-img").hasClass("is-hidden")&&$(this).find(".cd-timeline-img, .cd-timeline-content").removeClass("is-hidden").addClass("bounce-in")})}var a=$(".cd-timeline-block"),i=.8;e(a,i),$(window).on("scroll",function(){window.requestAnimationFrame?window.requestAnimationFrame(function(){t(a,i)}):setTimeout(function(){t(a,i)},100)})}angular.module("app.widgets.components.timeline").controller("TimelineCtrl",e)}(),function(){"use strict";function e(e,t){function a(){return[{id:"n1",parent:"#",type:"folder",text:"Node 1",state:{opened:!0}},{id:"n2",parent:"#",type:"folder",text:"Node 2",state:{opened:!0}},{id:"n3",parent:"#",type:"folder",text:"Node 3",state:{opened:!0}},{id:"n5",parent:"n1",text:"Node 1.1",state:{opened:!0}},{id:"n6",parent:"n1",text:"Node 1.2",state:{opened:!0}},{id:"n7",parent:"n1",text:"Node 1.3",state:{opened:!0}},{id:"n8",parent:"n1",text:"Node 1.4",state:{opened:!0}},{id:"n9",parent:"n2",text:"Node 2.1",state:{opened:!0}},{id:"n10",parent:"n2",text:"Node 2.2 (Custom icon)",icon:"ion-help-buoy",state:{opened:!0}},{id:"n12",parent:"n3",text:"Node 3.1",state:{opened:!0}},{id:"n13",parent:"n3",type:"folder",text:"Node 3.2",state:{opened:!0}},{id:"n14",parent:"n13",text:"Node 3.2.1",state:{opened:!0}},{id:"n15",parent:"n13",text:"Node 3.2.2",state:{opened:!0}},{id:"n16",parent:"n3",text:"Node 3.3",state:{opened:!0}},{id:"n17",parent:"n3",text:"Node 3.4",state:{opened:!0}},{id:"n18",parent:"n3",text:"Node 3.5",state:{opened:!0}},{id:"n19",parent:"n3",text:"Node 3.6",state:{opened:!0}}]}e.ignoreChanges=!1;var i=0;e.ignoreChanges=!1,e.newNode={},e.basicConfig={core:{multiple:!1,check_callback:!0,worker:!0},types:{folder:{icon:"ion-ios-folder"},"default":{icon:"ion-document-text"}},plugins:["types"],version:1},e.dragConfig={core:{check_callback:!0,themes:{responsive:!1}},types:{folder:{icon:"ion-ios-folder"},"default":{icon:"ion-document-text"}},plugins:["dnd","types"]},e.addNewNode=function(){e.ignoreChanges=!0;var t=this.basicTree.jstree(!0).get_selected()[0];t&&e.treeData.push({id:(i++).toString(),parent:t,text:"New node "+i,state:{opened:!0}}),e.basicConfig.version++},e.refresh=function(){e.ignoreChanges=!0,i=0,e.treeData=a(),e.basicConfig.version++},e.expand=function(){e.ignoreChanges=!0,e.treeData.forEach(function(e){e.state.opened=!0}),e.basicConfig.version++},e.collapse=function(){e.ignoreChanges=!0,e.treeData.forEach(function(e){e.state.opened=!1}),e.basicConfig.version++},e.readyCB=function(){t(function(){e.ignoreChanges=!1})},e.applyModelChanges=function(){return!e.ignoreChanges},e.treeData=a(),e.dragData=[{id:"nd1",parent:"#",type:"folder",text:"Node 1",state:{opened:!0}},{id:"nd2",parent:"#",type:"folder",text:"Node 2",state:{opened:!0}},{id:"nd3",parent:"#",type:"folder",text:"Node 3",state:{opened:!0}},{id:"nd4",parent:"#",type:"folder",text:"Node 4",state:{opened:!0}},{id:"nd5",parent:"nd1",text:"Node 1.1",state:{opened:!0}},{id:"nd6",parent:"nd1",text:"Node 1.2",state:{opened:!0}},{id:"nd7",parent:"nd1",text:"Node 1.3",state:{opened:!0}},{id:"nd8",parent:"nd2",text:"Node 2.1",state:{opened:!0}},{id:"nd9",parent:"nd2",text:"Node 2.2",state:{opened:!0}},{id:"nd10",parent:"nd2",text:"Node 2.3",state:{opened:!0}},{id:"nd11",parent:"nd3",text:"Node 3.1",state:{opened:!0}},{id:"nd12",parent:"nd3",text:"Node 3.2",state:{opened:!0}},{id:"nd13",parent:"nd3",text:"Node 3.3",state:{opened:!0}},{id:"nd14",parent:"nd4",text:"Node 4.1",state:{opened:!0}},{id:"nd15",parent:"nd4",text:"Node 4.2",state:{opened:!0}},{id:"nd16",parent:"nd4",text:"Node 4.3",state:{opened:!0}}]}e.$inject=["$scope","$timeout"],angular.module("app.widgets.components.tree").controller("treeCtrl",e)}(),function(){"use strict";function e(e){var t=this;t.personalInfo={},t.productInfo={},t.shipment={},t.arePersonalInfoPasswordsEqual=function(){return t.personalInfo.confirmPassword&&t.personalInfo.password==t.personalInfo.confirmPassword}}e.$inject=["$scope"],angular.module("app.widgets.form").controller("WizardCtrl",e)}(),function(){"use strict";function e(e){function t(){var e=document.getElementById("google-maps"),t={center:new google.maps.LatLng(44.5403,-78.5463),zoom:8,mapTypeId:google.maps.MapTypeId.ROADMAP};new google.maps.Map(e,t)}e(function(){t()},100)}e.$inject=["$timeout"],angular.module("app.widgets.maps").controller("GmapPageCtrl",e)}(),function(){"use strict";function e(e){function t(){L.Icon.Default.imagePath="assets/img/theme/vendor/leaflet/dist/images";var e=L.map(document.getElementById("leaflet-map")).setView([51.505,-.09],13);L.tileLayer("http://{s}.tile.osm.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(e),L.marker([51.5,-.09]).addTo(e).bindPopup("A pretty CSS3 popup.<br> Easily customizable.").openPopup()}e(function(){t()},100)}e.$inject=["$timeout"],angular.module("app.widgets.maps").controller("LeafletPageCtrl",e)}(),function(){"use strict";function e(e,t,a){var i=e.colors,n={};n.AD={latitude:42.5,longitude:1.5},n.AE={latitude:24,longitude:54},n.AF={latitude:33,longitude:65},n.AG={latitude:17.05,longitude:-61.8},n.AI={latitude:18.25,longitude:-63.1667},n.AL={latitude:41,longitude:20},n.AM={latitude:40,longitude:45},n.AN={latitude:12.25,longitude:-68.75},n.AO={latitude:-12.5,longitude:18.5},n.AP={latitude:35,longitude:105},n.AQ={latitude:-90,longitude:0},n.AR={latitude:-34,longitude:-64},n.AS={latitude:-14.3333,longitude:-170},n.AT={latitude:47.3333,longitude:13.3333},n.AU={latitude:-27,longitude:133},n.AW={latitude:12.5,longitude:-69.9667},n.AZ={latitude:40.5,longitude:47.5},n.BA={latitude:44,longitude:18},n.BB={latitude:13.1667,longitude:-59.5333},n.BD={latitude:24,longitude:90},n.BE={latitude:50.8333,longitude:4},n.BF={latitude:13,longitude:-2},n.BG={latitude:43,longitude:25},n.BH={latitude:26,longitude:50.55},n.BI={latitude:-3.5,longitude:30},n.BJ={latitude:9.5,longitude:2.25},n.BM={latitude:32.3333,longitude:-64.75},n.BN={latitude:4.5,longitude:114.6667},n.BO={latitude:-17,longitude:-65},n.BR={latitude:-10,longitude:-55},n.BS={latitude:24.25,longitude:-76},n.BT={latitude:27.5,longitude:90.5},n.BV={latitude:-54.4333,longitude:3.4},n.BW={latitude:-22,longitude:24},n.BY={latitude:53,longitude:28},n.BZ={latitude:17.25,longitude:-88.75},n.CA={latitude:54,longitude:-100},n.CC={latitude:-12.5,longitude:96.8333},n.CD={latitude:0,longitude:25},n.CF={latitude:7,longitude:21},n.CG={latitude:-1,longitude:15},n.CH={latitude:47,longitude:8},n.CI={latitude:8,longitude:-5},n.CK={latitude:-21.2333,longitude:-159.7667},n.CL={latitude:-30,longitude:-71},n.CM={latitude:6,longitude:12},n.CN={latitude:35,longitude:105},n.CO={latitude:4,longitude:-72},n.CR={latitude:10,longitude:-84},n.CU={latitude:21.5,longitude:-80},n.CV={latitude:16,longitude:-24},n.CX={latitude:-10.5,longitude:105.6667},n.CY={latitude:35,longitude:33},n.CZ={latitude:49.75,longitude:15.5},n.DE={latitude:51,longitude:9},n.DJ={latitude:11.5,longitude:43},n.DK={latitude:56,longitude:10},n.DM={latitude:15.4167,longitude:-61.3333},n.DO={latitude:19,longitude:-70.6667},n.DZ={latitude:28,longitude:3},n.EC={latitude:-2,longitude:-77.5},n.EE={latitude:59,longitude:26},n.EG={latitude:27,longitude:30},n.EH={latitude:24.5,longitude:-13},n.ER={latitude:15,longitude:39},n.ES={latitude:40,longitude:-4},n.ET={latitude:8,longitude:38},n.EU={latitude:47,longitude:8},n.FI={latitude:62,longitude:26},n.FJ={latitude:-18,longitude:175},n.FK={latitude:-51.75,longitude:-59},n.FM={latitude:6.9167,longitude:158.25},n.FO={latitude:62,longitude:-7},n.FR={latitude:46,longitude:2},n.GA={latitude:-1,longitude:11.75},n.GB={latitude:54,longitude:-2},n.GD={latitude:12.1167,longitude:-61.6667},n.GE={latitude:42,longitude:43.5},n.GF={latitude:4,longitude:-53},n.GH={latitude:8,longitude:-2},n.GI={latitude:36.1833,longitude:-5.3667},n.GL={latitude:72,longitude:-40},n.GM={latitude:13.4667,longitude:-16.5667},n.GN={latitude:11,longitude:-10},n.GP={latitude:16.25,longitude:-61.5833},n.GQ={latitude:2,longitude:10},n.GR={latitude:39,longitude:22},n.GS={latitude:-54.5,longitude:-37},n.GT={latitude:15.5,longitude:-90.25},n.GU={latitude:13.4667,longitude:144.7833},n.GW={latitude:12,longitude:-15},n.GY={latitude:5,longitude:-59},n.HK={latitude:22.25,longitude:114.1667},n.HM={latitude:-53.1,longitude:72.5167},n.HN={latitude:15,longitude:-86.5},n.HR={latitude:45.1667,longitude:15.5},n.HT={latitude:19,longitude:-72.4167},n.HU={latitude:47,longitude:20},n.ID={latitude:-5,longitude:120},n.IE={latitude:53,longitude:-8},n.IL={latitude:31.5,longitude:34.75},n.IN={latitude:20,longitude:77},n.IO={latitude:-6,longitude:71.5},n.IQ={latitude:33,longitude:44},n.IR={latitude:32,longitude:53},n.IS={latitude:65,longitude:-18},n.IT={latitude:42.8333,longitude:12.8333},n.JM={latitude:18.25,longitude:-77.5},n.JO={latitude:31,longitude:36},n.JP={latitude:36,longitude:138},n.KE={latitude:1,longitude:38},n.KG={latitude:41,longitude:75},n.KH={latitude:13,longitude:105},n.KI={latitude:1.4167,longitude:173},n.KM={latitude:-12.1667,longitude:44.25},n.KN={latitude:17.3333,longitude:-62.75},n.KP={latitude:40,longitude:127},n.KR={latitude:37,longitude:127.5},n.KW={latitude:29.3375,longitude:47.6581},n.KY={latitude:19.5,longitude:-80.5},n.KZ={latitude:48,longitude:68},n.LA={latitude:18,longitude:105},n.LB={latitude:33.8333,longitude:35.8333},n.LC={latitude:13.8833,longitude:-61.1333},n.LI={latitude:47.1667,longitude:9.5333},n.LK={latitude:7,longitude:81},n.LR={latitude:6.5,longitude:-9.5},n.LS={latitude:-29.5,longitude:28.5},n.LT={latitude:55,longitude:24},n.LU={latitude:49.75,longitude:6},n.LV={latitude:57,longitude:25},n.LY={latitude:25,longitude:17},n.MA={latitude:32,longitude:-5},n.MC={latitude:43.7333,longitude:7.4},n.MD={latitude:47,longitude:29},n.ME={latitude:42.5,longitude:19.4},n.MG={latitude:-20,longitude:47},n.MH={latitude:9,longitude:168},n.MK={latitude:41.8333,longitude:22},n.ML={latitude:17,longitude:-4},n.MM={latitude:22,longitude:98},n.MN={latitude:46,longitude:105},n.MO={latitude:22.1667,longitude:113.55},n.MP={latitude:15.2,longitude:145.75},n.MQ={latitude:14.6667,longitude:-61},n.MR={latitude:20,longitude:-12},n.MS={latitude:16.75,longitude:-62.2},n.MT={latitude:35.8333,longitude:14.5833},n.MU={latitude:-20.2833,longitude:57.55},n.MV={latitude:3.25,longitude:73},n.MW={latitude:-13.5,longitude:34},n.MX={latitude:23,longitude:-102},n.MY={latitude:2.5,longitude:112.5},n.MZ={latitude:-18.25,longitude:35},n.NA={latitude:-22,longitude:17},n.NC={latitude:-21.5,longitude:165.5},n.NE={latitude:16,longitude:8},n.NF={latitude:-29.0333,longitude:167.95},n.NG={latitude:10,longitude:8},n.NI={latitude:13,longitude:-85},n.NL={latitude:52.5,longitude:5.75},n.NO={latitude:62,longitude:10},n.NP={latitude:28,longitude:84},n.NR={latitude:-.5333,longitude:166.9167},n.NU={latitude:-19.0333,longitude:-169.8667},n.NZ={latitude:-41,longitude:174},n.OM={latitude:21,longitude:57},n.PA={latitude:9,longitude:-80},n.PE={latitude:-10,longitude:-76},n.PF={latitude:-15,longitude:-140},n.PG={latitude:-6,longitude:147},n.PH={latitude:13,longitude:122},n.PK={latitude:30,longitude:70},n.PL={latitude:52,longitude:20},n.PM={latitude:46.8333,longitude:-56.3333},n.PR={latitude:18.25,longitude:-66.5},n.PS={latitude:32,longitude:35.25},n.PT={latitude:39.5,longitude:-8},n.PW={latitude:7.5,longitude:134.5},n.PY={latitude:-23,longitude:-58},n.QA={latitude:25.5,longitude:51.25},n.RE={latitude:-21.1,longitude:55.6},n.RO={latitude:46,longitude:25},n.RS={latitude:44,longitude:21},n.RU={latitude:60,longitude:100},n.RW={latitude:-2,longitude:30},n.SA={latitude:25,longitude:45},n.SB={latitude:-8,longitude:159},n.SC={latitude:-4.5833,longitude:55.6667},n.SD={latitude:15,longitude:30},n.SE={latitude:62,longitude:15},n.SG={latitude:1.3667,longitude:103.8},n.SH={latitude:-15.9333,longitude:-5.7},n.SI={latitude:46,longitude:15},n.SJ={latitude:78,longitude:20},n.SK={latitude:48.6667,longitude:19.5},n.SL={latitude:8.5,longitude:-11.5},n.SM={latitude:43.7667,longitude:12.4167},n.SN={latitude:14,longitude:-14},n.SO={latitude:10,longitude:49},n.SR={latitude:4,longitude:-56},n.ST={latitude:1,longitude:7},n.SV={latitude:13.8333,longitude:-88.9167},n.SY={latitude:35,longitude:38},n.SZ={latitude:-26.5,longitude:31.5},n.TC={latitude:21.75,longitude:-71.5833},n.TD={latitude:15,longitude:19},n.TF={latitude:-43,longitude:67},n.TG={latitude:8,longitude:1.1667},n.TH={latitude:15,longitude:100},n.TJ={latitude:39,longitude:71},n.TK={latitude:-9,longitude:-172},n.TM={latitude:40,longitude:60},n.TN={latitude:34,longitude:9},n.TO={latitude:-20,longitude:-175},n.TR={latitude:39,longitude:35},n.TT={latitude:11,longitude:-61},n.TV={latitude:-8,longitude:178},n.TW={latitude:23.5,longitude:121},n.TZ={latitude:-6,longitude:35},n.UA={latitude:49,longitude:32},n.UG={latitude:1,longitude:32},n.UM={latitude:19.2833,longitude:166.6},n.US={latitude:38,longitude:-97},n.UY={latitude:-33,longitude:-56},n.UZ={latitude:41,longitude:64},n.VA={latitude:41.9,longitude:12.45},n.VC={latitude:13.25,longitude:-61.2},n.VE={latitude:8,longitude:-66},n.VG={latitude:18.5,longitude:-64.5},n.VI={latitude:18.3333,longitude:-64.8333},n.VN={latitude:16,longitude:106},n.VU={latitude:-16,longitude:167},n.WF={latitude:-13.3,longitude:-176.2},n.WS={latitude:-13.5833,longitude:-172.3333},n.YE={latitude:15,longitude:48},n.YT={latitude:-12.8333,longitude:45.1667},n.ZA={latitude:-29,longitude:24},n.ZM={latitude:-15,longitude:30},n.ZW={latitude:-20,longitude:30};for(var s,o=[{code:"AF",name:"Afghanistan",value:32358260,color:i.primaryDark},{code:"AL",name:"Albania",value:3215988,color:i.warning},{code:"DZ",name:"Algeria",value:35980193,color:i.danger},{code:"AO",name:"Angola",value:19618432,color:i.danger},{code:"AR",name:"Argentina",value:40764561,color:i.success},{code:"AM",name:"Armenia",value:3100236,color:i.warning},{code:"AU",name:"Australia",value:22605732,color:i.warningDark},{code:"AT",name:"Austria",value:8413429,color:i.warning},{code:"AZ",name:"Azerbaijan",value:9306023,color:i.warning},{code:"BH",name:"Bahrain",value:1323535,color:i.primaryDark},{code:"BD",name:"Bangladesh",value:150493658,color:i.primaryDark},{code:"BY",name:"Belarus",value:9559441,color:i.warning},{code:"BE",name:"Belgium",value:10754056,color:i.warning},{code:"BJ",name:"Benin",value:9099922,color:i.danger},{code:"BT",name:"Bhutan",value:738267,color:i.primaryDark},{code:"BO",name:"Bolivia",value:10088108,color:i.success},{code:"BA",name:"Bosnia and Herzegovina",value:3752228,color:i.warning},{code:"BW",name:"Botswana",value:2030738,color:i.danger},{code:"BR",name:"Brazil",value:196655014,color:i.success},{code:"BN",name:"Brunei",value:405938,color:i.primaryDark},{code:"BG",name:"Bulgaria",value:7446135,color:i.warning},{code:"BF",name:"Burkina Faso",value:16967845,color:i.danger},{code:"BI",name:"Burundi",value:8575172,color:i.danger},{code:"KH",name:"Cambodia",value:14305183,color:i.primaryDark},{code:"CM",name:"Cameroon",value:20030362,color:i.danger},{code:"CA",name:"Canada",value:34349561,color:i.primary},{code:"CV",name:"Cape Verde",value:500585,color:i.danger},{code:"CF",name:"Central African Rep.",value:4486837,color:i.danger},{code:"TD",name:"Chad",value:11525496,color:i.danger},{code:"CL",name:"Chile",value:17269525,color:i.success},{code:"CN",name:"China",value:1347565324,color:i.primaryDark},{code:"CO",name:"Colombia",value:46927125,color:i.success},{code:"KM",name:"Comoros",value:753943,color:i.danger},{code:"CD",name:"Congo, Dem. Rep.",value:67757577,color:i.danger},{code:"CG",name:"Congo, Rep.",value:4139748,color:i.danger},{code:"CR",name:"Costa Rica",value:4726575,color:i.primary},{code:"CI",name:"Cote d'Ivoire",value:20152894,color:i.danger},{code:"HR",name:"Croatia",value:4395560,color:i.warning},{code:"CU",name:"Cuba",value:11253665,color:i.primary},{code:"CY",name:"Cyprus",value:1116564,color:i.warning},{code:"CZ",name:"Czech Rep.",value:10534293,color:i.warning},{code:"DK",name:"Denmark",value:5572594,color:i.warning},{code:"DJ",name:"Djibouti",value:905564,color:i.danger},{code:"DO",name:"Dominican Rep.",value:10056181,color:i.primary},{code:"EC",name:"Ecuador",value:14666055,color:i.success},{code:"EG",name:"Egypt",value:82536770,color:i.danger},{code:"SV",name:"El Salvador",value:6227491,color:i.primary},{code:"GQ",name:"Equatorial Guinea",value:720213,color:i.danger},{code:"ER",name:"Eritrea",value:5415280,color:i.danger},{code:"EE",name:"Estonia",value:1340537,color:i.warning},{code:"ET",name:"Ethiopia",value:84734262,color:i.danger},{code:"FJ",name:"Fiji",value:868406,color:i.warningDark},{code:"FI",name:"Finland",value:5384770,color:i.warning},{code:"FR",name:"France",value:63125894,color:i.warning},{code:"GA",name:"Gabon",value:1534262,color:i.danger},{code:"GM",name:"Gambia",value:1776103,color:i.danger},{code:"GE",name:"Georgia",value:4329026,color:i.warning},{code:"DE",name:"Germany",value:82162512,color:i.warning},{code:"GH",name:"Ghana",value:24965816,color:i.danger},{code:"GR",name:"Greece",value:11390031,color:i.warning},{code:"GT",name:"Guatemala",value:14757316,color:i.primary},{code:"GN",name:"Guinea",value:10221808,color:i.danger},{code:"GW",name:"Guinea-Bissau",value:1547061,color:i.danger},{code:"GY",name:"Guyana",value:756040,color:i.success},{code:"HT",name:"Haiti",value:10123787,color:i.primary},{code:"HN",name:"Honduras",value:7754687,color:i.primary},{code:"HK",name:"Hong Kong, China",value:7122187,color:i.primaryDark},{code:"HU",name:"Hungary",value:9966116,color:i.warning},{code:"IS",name:"Iceland",value:324366,color:i.warning},{code:"IN",name:"India",value:1241491960,color:i.primaryDark},{code:"ID",name:"Indonesia",value:242325638,color:i.primaryDark},{code:"IR",name:"Iran",value:74798599,color:i.primaryDark},{code:"IQ",name:"Iraq",value:32664942,color:i.primaryDark},{code:"IE",name:"Ireland",value:4525802,color:i.warning},{code:"IL",name:"Israel",value:7562194,color:i.primaryDark},{code:"IT",name:"Italy",value:60788694,color:i.warning},{code:"JM",name:"Jamaica",value:2751273,color:i.primary},{code:"JP",name:"Japan",value:126497241,color:i.primaryDark},{code:"JO",name:"Jordan",value:6330169,color:i.primaryDark},{code:"KZ",name:"Kazakhstan",value:16206750,color:i.primaryDark},{code:"KE",name:"Kenya",value:41609728,color:i.danger},{code:"KP",name:"Korea, Dem. Rep.",value:24451285,color:i.primaryDark},{code:"KR",name:"Korea, Rep.",value:48391343,color:i.primaryDark},{code:"KW",name:"Kuwait",value:2818042,color:i.primaryDark},{code:"KG",name:"Kyrgyzstan",value:5392580,color:i.primaryDark},{code:"LA",name:"Laos",value:6288037,color:i.primaryDark},{code:"LV",name:"Latvia",value:2243142,color:i.warning},{code:"LB",name:"Lebanon",value:4259405,color:i.primaryDark},{code:"LS",name:"Lesotho",value:2193843,color:i.danger},{code:"LR",name:"Liberia",value:4128572,color:i.danger},{code:"LY",name:"Libya",value:6422772,color:i.danger},{code:"LT",name:"Lithuania",value:3307481,color:i.warning},{code:"LU",name:"Luxembourg",value:515941,color:i.warning},{code:"MK",name:"Macedonia, FYR",value:2063893,color:i.warning},{code:"MG",name:"Madagascar",value:21315135,color:i.danger},{code:"MW",name:"Malawi",value:15380888,color:i.danger},{code:"MY",name:"Malaysia",value:28859154,color:i.primaryDark},{code:"ML",name:"Mali",value:15839538,color:i.danger},{code:"MR",name:"Mauritania",value:3541540,color:i.danger},{code:"MU",name:"Mauritius",value:1306593,color:i.danger},{code:"MX",name:"Mexico",value:114793341,color:i.primary},{code:"MD",name:"Moldova",value:3544864,color:i.warning},{code:"MN",name:"Mongolia",value:2800114,color:i.primaryDark},{code:"ME",name:"Montenegro",value:632261,color:i.warning},{code:"MA",name:"Morocco",value:32272974,color:i.danger},{code:"MZ",name:"Mozambique",value:23929708,color:i.danger},{code:"MM",name:"Myanmar",value:48336763,color:i.primaryDark},{code:"NA",name:"Namibia",value:2324004,color:i.danger},{code:"NP",name:"Nepal",value:30485798,color:i.primaryDark},{code:"NL",name:"Netherlands",value:16664746,color:i.warning},{code:"NZ",name:"New Zealand",value:4414509,color:i.warningDark},{code:"NI",name:"Nicaragua",value:5869859,color:i.primary},{code:"NE",name:"Niger",value:16068994,color:i.danger},{code:"NG",name:"Nigeria",value:162470737,color:i.danger},{code:"NO",name:"Norway",value:4924848,color:i.warning},{code:"OM",name:"Oman",value:2846145,color:i.primaryDark},{code:"PK",name:"Pakistan",value:176745364,color:i.primaryDark},{code:"PA",name:"Panama",value:3571185,color:i.primary},{code:"PG",name:"Papua New Guinea",value:7013829,color:i.warningDark},{code:"PY",name:"Paraguay",value:6568290,color:i.success},{code:"PE",name:"Peru",value:29399817,color:i.success},{code:"PH",name:"Philippines",value:94852030,color:i.primaryDark},{code:"PL",name:"Poland",value:38298949,color:i.warning},{code:"PT",name:"Portugal",value:10689663,color:i.warning},{code:"PR",name:"Puerto Rico",value:3745526,color:i.primary},{code:"QA",name:"Qatar",value:1870041,color:i.primaryDark},{code:"RO",name:"Romania",value:21436495,color:i.warning},{code:"RU",name:"Russia",value:142835555,color:i.warning},{code:"RW",name:"Rwanda",value:10942950,color:i.danger},{code:"SA",name:"Saudi Arabia",value:28082541,color:i.primaryDark},{code:"SN",name:"Senegal",value:12767556,color:i.danger},{code:"RS",name:"Serbia",value:9853969,color:i.warning},{code:"SL",name:"Sierra Leone",value:5997486,color:i.danger},{code:"SG",name:"Singapore",value:5187933,color:i.primaryDark},{code:"SK",name:"Slovak Republic",value:5471502,color:i.warning},{code:"SI",name:"Slovenia",value:2035012,color:i.warning},{code:"SB",name:"Solomon Islands",value:552267,color:i.warningDark},{code:"SO",name:"Somalia",value:9556873,color:i.danger},{code:"ZA",name:"South Africa",value:50459978,color:i.danger},{code:"ES",name:"Spain",value:46454895,color:i.warning},{code:"LK",name:"Sri Lanka",value:21045394,color:i.primaryDark},{code:"SD",name:"Sudan",value:34735288,color:i.danger},{code:"SR",name:"Suriname",value:529419,color:i.success},{code:"SZ",name:"Swaziland",value:1203330,color:i.danger},{code:"SE",name:"Sweden",value:9440747,color:i.warning},{code:"CH",name:"Switzerland",value:7701690,color:i.warning},{code:"SY",name:"Syria",value:20766037,color:i.primaryDark},{code:"TW",name:"Taiwan",value:23072e3,color:i.primaryDark},{code:"TJ",name:"Tajikistan",value:6976958,color:i.primaryDark},{code:"TZ",name:"Tanzania",value:46218486,color:i.danger},{code:"TH",name:"Thailand",value:69518555,color:i.primaryDark},{code:"TG",name:"Togo",value:6154813,color:i.danger},{code:"TT",name:"Trinidad and Tobago",value:1346350,color:i.primary},{code:"TN",name:"Tunisia",value:10594057,color:i.danger},{code:"TR",name:"Turkey",value:73639596,color:i.warning},{code:"TM",name:"Turkmenistan",value:5105301,color:i.primaryDark},{code:"UG",name:"Uganda",value:34509205,color:i.danger},{code:"UA",name:"Ukraine",value:45190180,color:i.warning},{code:"AE",name:"United Arab Emirates",value:7890924,color:i.primaryDark},{code:"GB",name:"United Kingdom",value:62417431,color:i.warning},{code:"US",name:"United States",value:313085380,color:i.primary},{code:"UY",name:"Uruguay",value:3380008,color:i.success},{code:"UZ",name:"Uzbekistan",value:27760267,color:i.primaryDark},{code:"VE",name:"Venezuela",value:29436891,color:i.success},{code:"PS",name:"West Bank and Gaza",value:4152369,color:i.primaryDark},{code:"VN",name:"Vietnam",value:88791996,color:i.primaryDark},{code:"YE",name:"Yemen, Rep.",value:24799880,color:i.primaryDark},{code:"ZM",name:"Zambia",value:13474959,color:i.danger},{code:"ZW",name:"Zimbabwe",value:12754378,color:i.danger}],r=3,l=70,A=1/0,d=-(1/0),c=0;c<o.length;c++){var u=o[c].value;A>u&&(A=u),u>d&&(d=u)}AmCharts.theme=AmCharts.themes.blur,s=new AmCharts.AmMap,s.addTitle("Population of the World in 2011",14),s.addTitle("source: Gapminder",11),s.areasSettings={unlistedAreasColor:"#000000",unlistedAreasAlpha:.1},s.imagesSettings.balloonText='<span style="font-size:14px;"><b>[[title]]</b>: [[value]]</span>',s.pathToImages=a.images.amMap;for(var p={mapVar:AmCharts.maps.worldLow,images:[]},m=l*l*2*Math.PI,g=r*r*2*Math.PI,c=0;c<o.length;c++){var v=o[c],u=v.value,h=(u-A)/(d-A)*(m-g)+g;g>h&&(h=g);var b=Math.sqrt(h/(2*Math.PI)),f=v.code;p.images.push({type:"circle",width:b,height:b,color:v.color,longitude:n[f].longitude,latitude:n[f].latitude,title:v.name,value:u})}s.dataProvider=p,s["export"]={enabled:!0},t(function(){s.write("map-bubbles")},100)}e.$inject=["baConfig","$timeout","layoutPaths"],angular.module("app.widgets.maps").controller("MapBubblePageCtrl",e)}(),function(){"use strict";function e(e,t,a){var i=e.colors,n="M9,0C4.029,0,0,4.029,0,9s4.029,9,9,9s9-4.029,9-9S13.971,0,9,0z M9,15.93 c-3.83,0-6.93-3.1-6.93-6.93S5.17,2.07,9,2.07s6.93,3.1,6.93,6.93S12.83,15.93,9,15.93 M12.5,9c0,1.933-1.567,3.5-3.5,3.5S5.5,10.933,5.5,9S7.067,5.5,9,5.5 S12.5,7.067,12.5,9z",s="M19.671,8.11l-2.777,2.777l-3.837-0.861c0.362-0.505,0.916-1.683,0.464-2.135c-0.518-0.517-1.979,0.278-2.305,0.604l-0.913,0.913L7.614,8.804l-2.021,2.021l2.232,1.061l-0.082,0.082l1.701,1.701l0.688-0.687l3.164,1.504L9.571,18.21H6.413l-1.137,1.138l3.6,0.948l1.83,1.83l0.947,3.598l1.137-1.137V21.43l3.725-3.725l1.504,3.164l-0.687,0.687l1.702,1.701l0.081-0.081l1.062,2.231l2.02-2.02l-0.604-2.689l0.912-0.912c0.326-0.326,1.121-1.789,0.604-2.306c-0.452-0.452-1.63,0.101-2.135,0.464l-0.861-3.838l2.777-2.777c0.947-0.947,3.599-4.862,2.62-5.839C24.533,4.512,20.618,7.163,19.671,8.11z";t(function(){AmCharts.makeChart("map-lines",{type:"map",theme:"blur",dataProvider:{map:"worldLow",linkToObject:"london",images:[{id:"london",svgPath:n,title:"London",latitude:51.5002,longitude:-.1262,scale:1.5,zoomLevel:2.74,zoomLongitude:-20.1341,zoomLatitude:49.1712,lines:[{latitudes:[51.5002,50.4422],longitudes:[-.1262,30.5367]},{latitudes:[51.5002,46.948],longitudes:[-.1262,7.4481]},{latitudes:[51.5002,59.3328],longitudes:[-.1262,18.0645]},{latitudes:[51.5002,40.4167],longitudes:[-.1262,-3.7033]},{latitudes:[51.5002,46.0514],longitudes:[-.1262,14.506]},{latitudes:[51.5002,48.2116],longitudes:[-.1262,17.1547]},{latitudes:[51.5002,44.8048],longitudes:[-.1262,20.4781]},{latitudes:[51.5002,55.7558],longitudes:[-.1262,37.6176]},{latitudes:[51.5002,38.7072],longitudes:[-.1262,-9.1355]},{latitudes:[51.5002,54.6896],longitudes:[-.1262,25.2799]},{latitudes:[51.5002,64.1353],
  longitudes:[-.1262,-21.8952]},{latitudes:[51.5002,40.43],longitudes:[-.1262,-74]}],images:[{label:"Flights from London",svgPath:s,left:100,top:45,labelShiftY:5,labelShiftX:5,color:i.defaultText,labelColor:i.defaultText,labelRollOverColor:i.defaultText,labelFontSize:20},{label:"show flights from Vilnius",left:106,top:70,labelColor:i.defaultText,labelRollOverColor:i.defaultText,labelFontSize:11,linkToObject:"vilnius"}]},{id:"vilnius",svgPath:n,title:"Vilnius",latitude:54.6896,longitude:25.2799,scale:1.5,zoomLevel:4.92,zoomLongitude:15.4492,zoomLatitude:50.2631,lines:[{latitudes:[54.6896,50.8371],longitudes:[25.2799,4.3676]},{latitudes:[54.6896,59.9138],longitudes:[25.2799,10.7387]},{latitudes:[54.6896,40.4167],longitudes:[25.2799,-3.7033]},{latitudes:[54.6896,50.0878],longitudes:[25.2799,14.4205]},{latitudes:[54.6896,48.2116],longitudes:[25.2799,17.1547]},{latitudes:[54.6896,44.8048],longitudes:[25.2799,20.4781]},{latitudes:[54.6896,55.7558],longitudes:[25.2799,37.6176]},{latitudes:[54.6896,37.9792],longitudes:[25.2799,23.7166]},{latitudes:[54.6896,54.6896],longitudes:[25.2799,25.2799]},{latitudes:[54.6896,51.5002],longitudes:[25.2799,-.1262]},{latitudes:[54.6896,53.3441],longitudes:[25.2799,-6.2675]}],images:[{label:"Flights from Vilnius",svgPath:s,left:100,top:45,labelShiftY:5,labelShiftX:5,color:i.defaultText,labelColor:i.defaultText,labelRollOverColor:i.defaultText,labelFontSize:20},{label:"show flights from London",left:106,top:70,labelColor:i.defaultText,labelRollOverColor:i.defaultText,labelFontSize:11,linkToObject:"london"}]},{svgPath:n,title:"Brussels",latitude:50.8371,longitude:4.3676},{svgPath:n,title:"Prague",latitude:50.0878,longitude:14.4205},{svgPath:n,title:"Athens",latitude:37.9792,longitude:23.7166},{svgPath:n,title:"Reykjavik",latitude:64.1353,longitude:-21.8952},{svgPath:n,title:"Dublin",latitude:53.3441,longitude:-6.2675},{svgPath:n,title:"Oslo",latitude:59.9138,longitude:10.7387},{svgPath:n,title:"Lisbon",latitude:38.7072,longitude:-9.1355},{svgPath:n,title:"Moscow",latitude:55.7558,longitude:37.6176},{svgPath:n,title:"Belgrade",latitude:44.8048,longitude:20.4781},{svgPath:n,title:"Bratislava",latitude:48.2116,longitude:17.1547},{svgPath:n,title:"Ljubljana",latitude:46.0514,longitude:14.506},{svgPath:n,title:"Madrid",latitude:40.4167,longitude:-3.7033},{svgPath:n,title:"Stockholm",latitude:59.3328,longitude:18.0645},{svgPath:n,title:"Bern",latitude:46.948,longitude:7.4481},{svgPath:n,title:"Kiev",latitude:50.4422,longitude:30.5367},{svgPath:n,title:"Paris",latitude:48.8567,longitude:2.351},{svgPath:n,title:"New York",latitude:40.43,longitude:-74}]},areasSettings:{unlistedAreasColor:i.info},imagesSettings:{color:i.warningLight,selectedColor:i.warning},linesSettings:{color:i.warningLight,alpha:.8},backgroundZoomsToTop:!0,linesAboveImages:!0,"export":{enabled:!0},pathToImages:a.images.amMap})},100)}e.$inject=["baConfig","$timeout","layoutPaths"],angular.module("app.widgets.maps").controller("MapLinesPageCtrl",e)}(),function(){"use strict";function e(e,t){e.progressFunction=function(){return t(function(){},3e3)}}e.$inject=["$scope","$timeout"],angular.module("app.widgets.ui.buttons").controller("ButtonPageCtrl",e)}(),function(){"use strict";function e(e){e.icons={kameleonIcons:[{name:"Beach",img:"Beach"},{name:"Bus",img:"Bus"},{name:"Cheese",img:"Cheese"},{name:"Desert",img:"Desert"},{name:"Images",img:"Images"},{name:"Magician",img:"Magician"},{name:"Makeup",img:"Makeup"},{name:"Programming",img:"Programming"},{name:"Shop",img:"Shop"},{name:"Surfer",img:"Surfer"},{name:"Phone Booth",img:"Phone-Booth"},{name:"Ninja",img:"Ninja"},{name:"Apartment",img:"Apartment"},{name:"Batman",img:"Batman"},{name:"Medal",img:"Medal-2"},{name:"Money",img:"Money-Increase"},{name:"Street View",img:"Street-View"},{name:"Student",img:"Student-3"},{name:"Bell",img:"Bell"},{name:"Woman",img:"Boss-5"},{name:"Euro",img:"Euro-Coin"},{name:"Chessboard",img:"Chessboard"},{name:"Burglar",img:"Burglar"},{name:"Dna",img:"Dna"},{name:"Clipboard Plan",img:"Clipboard-Plan"},{name:"Boss",img:"Boss-3"},{name:"Key",img:"Key"},{name:"Surgeon",img:"Surgeon"},{name:"Hacker",img:"Hacker"},{name:"Santa",img:"Santa"}],kameleonRoundedIcons:[{color:"success",img:"Apartment",name:"Apartment"},{color:"warning",img:"Bus",name:"Bus"},{color:"primary",img:"Checklist",name:"Checklist"},{color:"warning",img:"Desert",name:"Desert"},{color:"danger",img:"Laptop-Signal",name:"Laptop Signal"},{color:"info",img:"Love-Letter",name:"Love Letter"},{color:"success",img:"Makeup",name:"Makeup"},{color:"primary",img:"Santa",name:"Santa"},{color:"success",img:"Surfer",name:"Surfer"},{color:"info",img:"Vector",name:"Vector"},{color:"warning",img:"Money-Increase",name:"Money Increase"},{color:"info",img:"Alien",name:"Alien"},{color:"danger",img:"Online-Shopping",name:"Online Shopping"},{color:"warning",img:"Euro-Coin",name:"Euro"},{color:"info",img:"Boss-3",name:"Boss"}],ionicons:["ion-ionic","ion-arrow-right-b","ion-arrow-down-b","ion-arrow-left-b","ion-arrow-up-c","ion-arrow-right-c","ion-arrow-down-c","ion-arrow-left-c","ion-arrow-return-right","ion-arrow-return-left","ion-arrow-swap","ion-arrow-shrink","ion-arrow-expand","ion-arrow-move","ion-arrow-resize","ion-chevron-up","ion-chevron-right","ion-chevron-down","ion-chevron-left","ion-navicon-round","ion-navicon","ion-drag","ion-log-in","ion-log-out","ion-checkmark-round","ion-checkmark","ion-checkmark-circled","ion-close-round","ion-plus-round","ion-minus-round","ion-information","ion-help","ion-backspace-outline","ion-help-buoy","ion-asterisk","ion-alert","ion-alert-circled","ion-refresh","ion-loop","ion-shuffle","ion-home","ion-search","ion-flag","ion-star","ion-heart","ion-heart-broken","ion-gear-a","ion-gear-b","ion-toggle-filled","ion-toggle","ion-settings","ion-wrench","ion-hammer","ion-edit","ion-trash-a","ion-trash-b","ion-document","ion-document-text","ion-clipboard","ion-scissors","ion-funnel","ion-bookmark","ion-email","ion-email-unread","ion-folder","ion-filing","ion-archive","ion-reply","ion-reply-all","ion-forward"],fontAwesomeIcons:["fa fa-adjust","fa fa-anchor","fa fa-archive","fa fa-area-chart","fa fa-arrows","fa fa-arrows-h","fa fa-arrows-v","fa fa-asterisk","fa fa-at","fa fa-automobile","fa fa-ban","fa fa-bank","fa fa-bar-chart","fa fa-bar-chart-o","fa fa-barcode","fa fa-bars","fa fa-bed","fa fa-beer","fa fa-bell","fa fa-bell-o","fa fa-bell-slash","fa fa-bell-slash-o","fa fa-bicycle","fa fa-binoculars","fa fa-birthday-cake","fa fa-bolt","fa fa-bomb","fa fa-book","fa fa-bookmark","fa fa-bookmark-o","fa fa-briefcase","fa fa-bug","fa fa-building","fa fa-building-o","fa fa-bullhorn"],socicon:["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","1","2","3","4","5","6","7","8","9","10",",",";",":","+","@","=","-","^","?","$","*","&","(","#",".","_","]",")","'",'"',"}","{"]}}e.$inject=["$scope"],angular.module("app.widgets.ui.icons").controller("IconsPageCtrl",e)}(),function(){"use strict";function e(e,t){e.open=function(a,i){t.open({animation:!0,templateUrl:a,size:i,resolve:{items:function(){return e.items}}})}}e.$inject=["$scope","$uibModal"],angular.module("app.widgets.ui.notifications").controller("ModalsPageCtrl",e)}(),function(){"use strict";function e(e,t,a){var i=angular.copy(a);e.types=["success","error","info","warning"],e.quotes=[{title:"Come to Freenode",message:"We rock at <em>#angularjs</em>",options:{allowHtml:!0}},{title:"Looking for bootstrap?",message:"Try ui-bootstrap out!"},{title:"Wants a better router?",message:"We have you covered with ui-router"},{title:"Angular 2",message:"Is gonna rock the world"},{title:null,message:"Titles are not always needed"},{title:null,message:"Toastr rock!"},{title:"What about nice html?",message:"<strong>Sure you <em>can!</em></strong>",options:{allowHtml:!0}},{title:"Ionic is <em>cool</em>",message:"Best mobile framework ever",options:{allowHtml:!0}}];var n=[];e.options={autoDismiss:!1,positionClass:"toast-top-right",type:"info",timeOut:"5000",extendedTimeOut:"2000",allowHtml:!1,closeButton:!1,tapToDismiss:!0,progressBar:!1,newestOnTop:!0,maxOpened:0,preventDuplicates:!1,preventOpenDuplicates:!1,title:"Some title here",msg:"Type your message here"},e.clearLastToast=function(){var e=n.pop();t.clear(e)},e.clearToasts=function(){t.clear()},e.openRandomToast=function(){var a=Math.floor(Math.random()*e.types.length),i=Math.floor(Math.random()*e.quotes.length),s=e.types[a],o=e.quotes[i];n.push(t[s](o.message,o.title,o.options)),e.optionsStr="toastr."+s+"('"+o.message+"', '"+o.title+"', "+JSON.stringify(o.options||{},null,2)+")"},e.openToast=function(){angular.extend(a,e.options),n.push(t[e.options.type](e.options.msg,e.options.title));var i={};for(var s in e.options)"msg"!=s&&"title"!=s&&(i[s]=e.options[s]);e.optionsStr="toastr."+e.options.type+"('"+e.options.msg+"', '"+e.options.title+"', "+JSON.stringify(i,null,2)+")"},e.$on("$destroy",function(){angular.extend(a,i)})}e.$inject=["$scope","toastr","toastrConfig"],angular.module("app.widgets.ui.notifications").controller("NotificationsPageCtrl",e)}(),!function(e){e.fn.backTop=function(t){var a=this,i=e.extend({position:400,speed:500,color:"white"},t),n=i.position,s=i.speed,o=i.color;a.addClass("white"==o?"white":"red"==o?"red":"green"==o?"green":"black"),a.css({right:40,bottom:40,position:"fixed"}),e(document).scroll(function(){var t=e(window).scrollTop();t>=n?a.fadeIn(s):a.fadeOut(s)}),a.click(function(){e("html, body").animate({scrollTop:0},{duration:1200})})}}(jQuery),function(){"use strict";function e(e,t,a,i){function n(){r.zoomToDates(new Date(2012,0,3),new Date(2012,0,11))}var s=t.colors,o=a[0].getAttribute("id"),r=AmCharts.makeChart(o,{type:"serial",theme:"blur",color:s.defaultText,dataProvider:[{lineColor:s.info,date:"2012-01-01",duration:408},{date:"2012-01-02",duration:482},{date:"2012-01-03",duration:562},{date:"2012-01-04",duration:379},{lineColor:s.warning,date:"2012-01-05",duration:501},{date:"2012-01-06",duration:443},{date:"2012-01-07",duration:405},{date:"2012-01-08",duration:309,lineColor:s.danger},{date:"2012-01-09",duration:287},{date:"2012-01-10",duration:485},{date:"2012-01-11",duration:890},{date:"2012-01-12",duration:810}],balloon:{cornerRadius:6,horizontalPadding:15,verticalPadding:10},valueAxes:[{duration:"mm",durationUnits:{hh:"h ",mm:"min"},gridAlpha:.5,gridColor:s.border}],graphs:[{bullet:"square",bulletBorderAlpha:1,bulletBorderThickness:1,fillAlphas:.5,fillColorsField:"lineColor",legendValueText:"[[value]]",lineColorField:"lineColor",title:"duration",valueField:"duration"}],chartCursor:{categoryBalloonDateFormat:"YYYY MMM DD",cursorAlpha:0,fullWidth:!0},dataDateFormat:"YYYY-MM-DD",categoryField:"date",categoryAxis:{dateFormats:[{period:"DD",format:"DD"},{period:"WW",format:"MMM DD"},{period:"MM",format:"MMM"},{period:"YYYY",format:"YYYY"}],parseDates:!0,autoGridCount:!1,gridCount:50,gridAlpha:.5,gridColor:s.border},"export":{enabled:!0},pathToImages:i.images.amChart});r.addListener("dataUpdated",n)}e.$inject=["$scope","baConfig","$element","layoutPaths"],angular.module("app.widgets.charts.amCharts").controller("AreaChartCtrl",e)}(),function(){"use strict";function e(e,t,a,i){var n=t.colors,s=a[0].getAttribute("id");AmCharts.makeChart(s,{type:"serial",theme:"blur",color:n.defaultText,dataProvider:[{country:"USA",visits:3025,color:n.primary},{country:"China",visits:1882,color:n.danger},{country:"Japan",visits:1809,color:n.info},{country:"Germany",visits:1322,color:n.success},{country:"UK",visits:1122,color:n.warning},{country:"France",visits:1114,color:n.primaryLight}],valueAxes:[{axisAlpha:0,position:"left",title:"Visitors from country",gridAlpha:.5,gridColor:n.border}],startDuration:1,graphs:[{balloonText:"<b>[[category]]: [[value]]</b>",fillColorsField:"color",fillAlphas:.7,lineAlpha:.2,type:"column",valueField:"visits"}],chartCursor:{categoryBalloonEnabled:!1,cursorAlpha:0,zoomable:!1},categoryField:"country",categoryAxis:{gridPosition:"start",labelRotation:45,gridAlpha:.5,gridColor:n.border},"export":{enabled:!0},creditsPosition:"top-right",pathToImages:i.images.amChart})}e.$inject=["$scope","baConfig","$element","layoutPaths"],angular.module("app.widgets.charts.amCharts").controller("BarChartCtrl",e)}(),function(){"use strict";function e(e,t,a){var i=t.colors,n=e[0].getAttribute("id");AmCharts.makeChart(n,{type:"serial",theme:"none",color:i.defaultText,dataDateFormat:"YYYY-MM-DD",precision:2,valueAxes:[{color:i.defaultText,axisColor:i.defaultText,gridColor:i.defaultText,id:"v1",title:"Sales",position:"left",autoGridCount:!1,labelFunction:function(e){return"$"+Math.round(e)+"M"}},{color:i.defaultText,axisColor:i.defaultText,gridColor:i.defaultText,id:"v2",title:"Market Days",gridAlpha:0,position:"right",autoGridCount:!1}],graphs:[{id:"g3",color:i.defaultText,valueAxis:"v1",lineColor:i.primaryLight,fillColors:i.primaryLight,fillAlphas:.8,lineAlpha:.8,type:"column",title:"Actual Sales",valueField:"sales2",clustered:!1,columnWidth:.5,lineColorField:i.defaultText,legendValueText:"$[[value]]M",balloonText:"[[title]]<br/><b style='font-size: 130%'>$[[value]]M</b>"},{id:"g4",valueAxis:"v1",color:i.defaultText,lineColor:i.primary,fillColors:i.primary,fillAlphas:.9,lineAlpha:.9,type:"column",title:"Target Sales",valueField:"sales1",clustered:!1,columnWidth:.3,legendValueText:"$[[value]]M",balloonText:"[[title]]<br/><b style='font-size: 130%'>$[[value]]M</b>"},{id:"g1",valueAxis:"v2",bullet:"round",bulletBorderAlpha:1,bulletColor:i.defaultText,color:i.defaultText,bulletSize:5,hideBulletsCount:50,lineThickness:2,lineColor:i.danger,type:"smoothedLine",title:"Market Days",useLineColorForBulletBorder:!0,valueField:"market1",balloonText:"[[title]]<br/><b style='font-size: 130%'>[[value]]</b>"},{id:"g2",valueAxis:"v2",color:i.defaultText,bullet:"round",bulletBorderAlpha:1,bulletColor:i.defaultText,bulletSize:5,hideBulletsCount:50,lineThickness:2,lineColor:i.warning,type:"smoothedLine",dashLength:5,title:"Market Days ALL",useLineColorForBulletBorder:!0,valueField:"market2",balloonText:"[[title]]<br/><b style='font-size: 130%'>[[value]]</b>"}],chartScrollbar:{graph:"g1",oppositeAxis:!1,offset:30,gridAlpha:0,color:i.defaultText,scrollbarHeight:50,backgroundAlpha:0,selectedBackgroundAlpha:.05,selectedBackgroundColor:i.defaultText,graphFillAlpha:0,autoGridCount:!0,selectedGraphFillAlpha:0,graphLineAlpha:.2,selectedGraphLineColor:i.defaultText,selectedGraphLineAlpha:1},chartCursor:{pan:!0,cursorColor:i.danger,valueLineEnabled:!0,valueLineBalloonEnabled:!0,cursorAlpha:0,valueLineAlpha:.2},categoryField:"date",categoryAxis:{axisColor:i.defaultText,color:i.defaultText,gridColor:i.defaultText,parseDates:!0,dashLength:1,minorGridEnabled:!0},legend:{useGraphSettings:!0,position:"top",color:i.defaultText},balloon:{borderThickness:1,shadowAlpha:0},"export":{enabled:!0},dataProvider:[{date:"2013-01-16",market1:71,market2:75,sales1:5,sales2:8},{date:"2013-01-17",market1:74,market2:78,sales1:4,sales2:6},{date:"2013-01-18",market1:78,market2:88,sales1:5,sales2:2},{date:"2013-01-19",market1:85,market2:89,sales1:8,sales2:9},{date:"2013-01-20",market1:82,market2:89,sales1:9,sales2:6},{date:"2013-01-21",market1:83,market2:85,sales1:3,sales2:5},{date:"2013-01-22",market1:88,market2:92,sales1:5,sales2:7},{date:"2013-01-23",market1:85,market2:90,sales1:7,sales2:6},{date:"2013-01-24",market1:85,market2:91,sales1:9,sales2:5},{date:"2013-01-25",market1:80,market2:84,sales1:5,sales2:8},{date:"2013-01-26",market1:87,market2:92,sales1:4,sales2:8},{date:"2013-01-27",market1:84,market2:87,sales1:3,sales2:4},{date:"2013-01-28",market1:83,market2:88,sales1:5,sales2:7},{date:"2013-01-29",market1:84,market2:87,sales1:5,sales2:8},{date:"2013-01-30",market1:81,market2:85,sales1:4,sales2:7}],pathToImages:a.images.amChart})}e.$inject=["$element","baConfig","layoutPaths"],angular.module("app.widgets.charts.amCharts").controller("combinedChartCtrl",e)}(),function(){"use strict";function e(e,t,a,i){var n=i.colors,s=t[0].getAttribute("id");AmCharts.makeChart(s,{type:"funnel",theme:"blur",color:n.defaultText,labelTickColor:n.borderDark,dataProvider:[{title:"Website visits",value:300},{title:"Downloads",value:123},{title:"Requested prices",value:98},{title:"Contaced",value:72},{title:"Purchased",value:35},{title:"Asked for support",value:25},{title:"Purchased more",value:18}],titleField:"title",marginRight:160,marginLeft:15,labelPosition:"right",funnelAlpha:.9,valueField:"value",startX:0,alpha:.8,neckWidth:"0%",startAlpha:0,outlineThickness:1,neckHeight:"0%",balloonText:"[[title]]:<b>[[value]]</b>","export":{enabled:!0},creditsPosition:"bottom-left",pathToImages:a})}e.$inject=["$scope","$element","layoutPaths","baConfig"],angular.module("app.widgets.charts.amCharts").controller("FunnelChartCtrl",e)}(),function(){"use strict";function e(e){var t=e[0].getAttribute("id");AmCharts.makeChart(t,{type:"gantt",theme:"light",marginRight:70,period:"hh",dataDateFormat:"YYYY-MM-DD",balloonDateFormat:"JJ:NN",columnWidth:.5,valueAxis:{type:"date",minimum:7,maximum:31},brightnessStep:10,graph:{fillAlphas:1,balloonText:"<b>[[task]]</b>: [[open]] [[value]]"},rotate:!0,categoryField:"category",segmentsField:"segments",colorField:"color",startDate:"2015-01-01",startField:"start",endField:"end",durationField:"duration",dataProvider:[{category:"John",segments:[{start:7,duration:2,color:"#46615e",task:"Task #1"},{duration:2,color:"#727d6f",task:"Task #2"},{duration:2,color:"#8dc49f",task:"Task #3"}]},{category:"Smith",segments:[{start:10,duration:2,color:"#727d6f",task:"Task #2"},{duration:1,color:"#8dc49f",task:"Task #3"},{duration:4,color:"#46615e",task:"Task #1"}]},{category:"Ben",segments:[{start:12,duration:2,color:"#727d6f",task:"Task #2"},{start:16,duration:2,color:"#FFE4C4",task:"Task #4"}]},{category:"Mike",segments:[{start:9,duration:6,color:"#46615e",task:"Task #1"},{duration:4,color:"#727d6f",task:"Task #2"}]},{category:"Lenny",segments:[{start:8,duration:1,color:"#8dc49f",task:"Task #3"},{duration:4,color:"#46615e",task:"Task #1"}]},{category:"Scott",segments:[{start:15,duration:3,color:"#727d6f",task:"Task #2"}]},{category:"Julia",segments:[{start:9,duration:2,color:"#46615e",task:"Task #1"},{duration:1,color:"#727d6f",task:"Task #2"},{duration:8,color:"#8dc49f",task:"Task #3"}]},{category:"Bob",segments:[{start:9,duration:8,color:"#727d6f",task:"Task #2"},{duration:7,color:"#8dc49f",task:"Task #3"}]},{category:"Kendra",segments:[{start:11,duration:8,color:"#727d6f",task:"Task #2"},{start:16,duration:2,color:"#FFE4C4",task:"Task #4"}]},{category:"Tom",segments:[{start:9,duration:4,color:"#46615e",task:"Task #1"},{duration:3,color:"#727d6f",task:"Task #2"},{duration:5,color:"#8dc49f",task:"Task #3"}]},{category:"Kyle",segments:[{start:6,duration:3,color:"#727d6f",task:"Task #2"}]},{category:"Anita",segments:[{start:12,duration:2,color:"#727d6f",task:"Task #2"},{start:16,duration:2,color:"#FFE4C4",task:"Task #4"}]},{category:"Jack",segments:[{start:8,duration:10,color:"#46615e",task:"Task #1"},{duration:2,color:"#727d6f",task:"Task #2"}]},{category:"Kim",segments:[{start:12,duration:2,color:"#727d6f",task:"Task #2"},{duration:3,color:"#8dc49f",task:"Task #3"}]},{category:"Aaron",segments:[{start:18,duration:2,color:"#727d6f",task:"Task #2"},{duration:2,color:"#FFE4C4",task:"Task #4"}]},{category:"Alan",segments:[{start:17,duration:2,color:"#46615e",task:"Task #1"},{duration:2,color:"#727d6f",task:"Task #2"},{duration:2,color:"#8dc49f",task:"Task #3"}]},{category:"Ruth",segments:[{start:13,duration:2,color:"#727d6f",task:"Task #2"},{duration:1,color:"#8dc49f",task:"Task #3"},{duration:4,color:"#46615e",task:"Task #1"}]},{category:"Simon",segments:[{start:10,duration:3,color:"#727d6f",task:"Task #2"},{start:17,duration:4,color:"#FFE4C4",task:"Task #4"}]}],valueScrollbar:{autoGridCount:!0},chartCursor:{cursorColor:"#55bb76",valueBalloonsEnabled:!1,cursorAlpha:0,valueLineAlpha:.5,valueLineBalloonEnabled:!0,valueLineEnabled:!0,zoomable:!1,valueZoomable:!0},"export":{enabled:!0}})}e.$inject=["$element"],angular.module("app.widgets.charts.amCharts").controller("ganttChartCtrl",e)}(),function(){"use strict";function e(e,t,a,i){function n(){r.zoomToIndexes(Math.round(.4*r.dataProvider.length),Math.round(.55*r.dataProvider.length))}var s=t.colors,o=a[0].getAttribute("id"),r=AmCharts.makeChart(o,{type:"serial",theme:"blur",color:s.defaultText,marginTop:0,marginRight:15,dataProvider:[{year:"1990",value:-.17},{year:"1991",value:-.254},{year:"1992",value:.019},{year:"1993",value:-.063},{year:"1994",value:.005},{year:"1995",value:.077},{year:"1996",value:.12},{year:"1997",value:.011},{year:"1998",value:.177},{year:"1999",value:-.021},{year:"2000",value:-.037},{year:"2001",value:.03},{year:"2002",value:.179},{year:"2003",value:.2},{year:"2004",value:.18},{year:"2005",value:.21}],valueAxes:[{axisAlpha:0,position:"left",gridAlpha:.5,gridColor:s.border}],graphs:[{id:"g1",balloonText:"[[value]]",bullet:"round",bulletSize:8,lineColor:s.danger,lineThickness:1,negativeLineColor:s.warning,type:"smoothedLine",valueField:"value"}],chartScrollbar:{graph:"g1",gridAlpha:0,color:s.defaultText,scrollbarHeight:55,backgroundAlpha:0,selectedBackgroundAlpha:.05,selectedBackgroundColor:s.defaultText,graphFillAlpha:0,autoGridCount:!0,selectedGraphFillAlpha:0,graphLineAlpha:.2,selectedGraphLineColor:s.defaultText,selectedGraphLineAlpha:1},chartCursor:{categoryBalloonDateFormat:"YYYY",cursorAlpha:0,valueLineEnabled:!0,valueLineBalloonEnabled:!0,valueLineAlpha:.5,fullWidth:!0},dataDateFormat:"YYYY",categoryField:"year",categoryAxis:{minPeriod:"YYYY",parseDates:!0,minorGridAlpha:.1,minorGridEnabled:!0,gridAlpha:.5,gridColor:s.border},"export":{enabled:!0},creditsPosition:"bottom-right",pathToImages:i.images.amChart});r.addListener("rendered",n),r.zoomChart&&r.zoomChart()}e.$inject=["$scope","baConfig","$element","layoutPaths"],angular.module("app.widgets.charts.amCharts").controller("LineChartCtrl",e)}(),function(){"use strict";function e(e,t,a){function i(){r.legend.addListener("rollOverItem",n)}function n(e){var t=e.dataItem.wedge.node;t.parentNode.appendChild(t)}var s=a.colors,o=e[0].getAttribute("id"),r=AmCharts.makeChart(o,{type:"pie",startDuration:0,theme:"blur",addClassNames:!0,color:s.defaultText,labelTickColor:s.borderDark,legend:{position:"right",marginRight:100,autoMargins:!1},innerRadius:"40%",defs:{filter:[{id:"shadow",width:"200%",height:"200%",feOffset:{result:"offOut","in":"SourceAlpha",dx:0,dy:0},feGaussianBlur:{result:"blurOut","in":"offOut",stdDeviation:5},feBlend:{"in":"SourceGraphic",in2:"blurOut",mode:"normal"}}]},dataProvider:[{country:"Lithuania",litres:501.9},{country:"Czech Republic",litres:301.9},{country:"Ireland",litres:201.1},{country:"Germany",litres:165.8},{country:"Australia",litres:139.9},{country:"Austria",litres:128.3},{country:"UK",litres:99},{country:"Belgium",litres:60}],valueField:"litres",titleField:"country","export":{enabled:!0},creditsPosition:"bottom-left",autoMargins:!1,marginTop:10,alpha:.8,marginBottom:0,marginLeft:0,marginRight:0,pullOutRadius:0,pathToImages:t.images.amChart,responsive:{enabled:!0,rules:[{maxWidth:900,overrides:{legend:{enabled:!1}}},{maxWidth:200,overrides:{valueAxes:{labelsEnabled:!1},marginTop:30,marginBottom:30,marginLeft:30,marginRight:30}}]}});r.addListener("init",i),r.addListener("rollOverSlice",function(e){n(e)})}e.$inject=["$element","layoutPaths","baConfig"],angular.module("app.widgets.charts.amCharts").controller("PieChartCtrl",e)}(),function(){"use strict";function e(e,t,a){var i=this;i.subject=e,i.to=t,i.text=a}e.$inject=["subject","to","text"],angular.module("app.widgets.components.mail").controller("composeBoxCtrl",e)}(),function(){"use strict";function e(e){this.open=function(t){return e.open({animation:!1,templateUrl:"app/pages/components/mail/composeBox/compose.html",controller:"composeBoxCtrl",controllerAs:"boxCtrl",size:"compose",resolve:{subject:function(){return t.subject},to:function(){return t.to},text:function(){return t.text}}})}}e.$inject=["$uibModal"],angular.module("app.widgets.components.mail").service("composeModal",e)}(),function(){"use strict";function e(e,t){var a=this;a.mail=t.getMessageById(e.id),a.label=e.label}e.$inject=["$stateParams","mailMessages"],angular.module("app.widgets.components.mail").controller("MailDetailCtrl",e)}(),function(){"use strict";function e(e,t){var a=this;a.messages=t.getMessagesByLabel(e.label),a.label=e.label}e.$inject=["$stateParams","mailMessages"],angular.module("app.widgets.components.mail").controller("MailListCtrl",e)}(),function(){"use strict";function e(e,t){e.showSuccessMsg=function(){t.success("Your information has been saved successfully!")},e.showInfoMsg=function(){t.info("You've got a new email!","Information")},e.showErrorMsg=function(){t.error("Your information hasn't been saved!","Error")},e.showWarningMsg=function(){t.warning("Your computer is about to explode!","Warning")}}e.$inject=["$scope","toastr"],angular.module("app.widgets.ui.modals").controller("NotificationsCtrl",e)}(),function(){"use strict";function e(){var e=this;e.standardSelectItems=[{label:"Option 1",value:1},{label:"Option 2",value:2},{label:"Option 3",value:3},{label:"Option 4",value:4}],e.selectWithSearchItems=[{label:"Hot Dog, Fries and a Soda",value:1},{label:"Burger, Shake and a Smile",value:2},{label:"Sugar, Spice and all things nice",value:3},{label:"Baby Back Ribs",value:4}],e.groupedSelectItems=[{label:"Group 1 - Option 1",value:1,group:"Group 1"},{label:"Group 2 - Option 2",value:2,group:"Group 2"},{label:"Group 1 - Option 3",value:3,group:"Group 1"},{label:"Group 2 - Option 4",value:4,group:"Group 2"}]}angular.module("app.widgets.form").controller("SelectpickerPanelCtrl",e)}(),function(){"use strict";function e(){return{restrict:"A",require:"?ngOptions",priority:1500,link:{pre:function(e,t,a){t.append('<option data-hidden="true" disabled value="">'+(a.title||"Select something")+"</option>")},post:function(e,t,a){function i(){t.selectpicker("refresh")}a.ngModel&&e.$watch(a.ngModel,i),a.ngDisabled&&e.$watch(a.ngDisabled,i),t.selectpicker({dropupAuto:!1,hideDisabled:!0})}}}}angular.module("app.widgets.form").directive("selectpicker",e)}(),function(){"use strict";function e(){var e=this;e.switcherValues={primary:!0,warning:!0,danger:!0,info:!0,success:!0}}angular.module("app.widgets.form").controller("SwitchPanelCtrl",e)}(),function(){"use strict";function e(e){return{restrict:"EA",replace:!0,scope:{ngModel:"="},template:function(e,t){return'<div class="switch-container '+(t.color||"")+'"><input type="checkbox" ng-model="ngModel"></div>'},link:function(t,a,i){e(function(){var e=$(a).find("input");e.bootstrapSwitch({size:"small",onColor:i.color}),e.on("switchChange.bootstrapSwitch",function(e,a){t.ngModel=a,t.$apply()})})}}}e.$inject=["$timeout"],angular.module("app.widgets.form").directive("switch",e)}(),angular.module("app").run(["$templateCache",function(e){e.put("app/authentication/auth.html",'<main class="auth-main"><div class="auth-block"><div class="auth-header"><img src="../../assets/img/favicon-32x32.png"><h2>Sign in to Doni & Company</h2></div><form class="form-horizontal" name="vm.signIn" novalidate=""><div class="form-group"><div class="col-sm-12"><input type="text" ng-model="vm.username" name="username" class="form-control" required="" id="inputEmail3" placeholder="Username"><ng-messages for="vm.signIn.username.$error" ng-if="(vm.signIn.$submitted && vm.signIn.username.$invalid) || (vm.signIn.username.$dirty && vm.signIn.username.$invalid)"><div ng-message="required" class="errorValidation">Please enter your username.</div></ng-messages></div></div><div class="form-group"><div class="col-sm-12"><input type="password" ng-model="vm.password" class="form-control" required="" name="password" id="inputPassword3" placeholder="Password"><ng-messages for="vm.signIn.password.$error" ng-if="(vm.signIn.$submitted && vm.signIn.password.$invalid) || (vm.signIn.password.$invalid && vm.signIn.password.$dirty)"><div ng-message="required" class="errorValidation">Please enter your password.</div></ng-messages></div></div><div class="form-group"><div class="col-sm-10"><button type="submit" class="btn btn-primary btn-auth" ng-click="vm.login(vm.signIn, vm.username, vm.password)">Sign in</button> <a href="" class="forgot-pass">Forgot password?</a></div></div></form></div></main>'),e.put("app/dashboard/dashboard.html",'<div class="row"><div class="col-lg-4"><div ba-panel="" class="col-lg-12 col-xs-12 currency-exchange-card"><div class="sparkLine"><spark-line chart-data="vm.completeReport.usdExchange.sevenDays"></spark-line></div><div class="details"><div class="heading">USD Exchange Rate</div><div class="card-refresh"><i class="fa fa-refresh" aria-hidden="true"></i></div><div class="value cursor-pointer" ng-click="vm.goToCurrencyDashboard(\'USD\', \'PKR\')"><div class="currency" ng-bind="vm.completeReport.usdExchange.outCurrency"></div><div class="rate" ng-bind="vm.completeReport.usdExchange.currentValue | number: 2"></div><div class="change"><i class="fa" ng-class="{\'fa-caret-up\': vm.completeReport.usdExchange.change>0, \'fa-caret-down\': vm.completeReport.usdExchange.change<0}"></i><div class="change-rate" ng-bind="(vm.completeReport.usdExchange.change | number: 2)+ \' %\'"></div></div><div class="last-update" ng-bind="vm.completeReport.usdExchange.lastUpdate | date: vm.appFormat.date"></div></div></div></div><div ba-panel="" class="col-lg-12" ng-if="vm.allArrived.length>0"><div class="panel-content" style="height: 300px; overflow-y: scroll"><div class="feed-messages-container" ui-sref="dashboard.transactionView({id:trade.fileId})" track-width="smallContainerWidth" min-width="360" ng-repeat="trade in vm.allArrived"><div class="feed-message"><div class="message-icon"><img class="photo-icon" ng-src="assets/img/theme/icon/kameleon/Bell.svg"></div><div class="text-block text-message"><div class="message-header"><span class="author">{{ ::trade.fileId }} {{ ::trade.contractId}}</span></div><div class="message-content line-clamp"><span ng-if="message.preview">{{trade.fileId}}</span> Arrived At Port But Not Yet Updated in the System</div></div></div></div></div></div><br><div ba-panel="" class="col-lg-12 col-xs-12 single-number-card" ba-panel-title="Last 24 Hours Price Updates"><div class="panel-content"><div class="single-number col-xs-12" ng-bind="vm.completeReport.priceUpdate.count"></div><div class="last-update-time col-xs-12">Last Updated: {{vm.completeReport.priceUpdate.lastUpdate | date: vm.appFormat.DBDate}}</div></div></div><div ba-panel="" class="col-lg-12 col-xs-12 manifest-item-updates" ba-panel-title="Last 24 Hours Manifest Updates"><div class="panel-content row"><div class="col-lg-3 col-xs-12 row"><div class="single-number" ng-bind="vm.completeReport.manifestUpdate.count"></div></div><div class="col-lg-9 col-xs-12 row"><div class="heading col-lg-12">Top Three Data Entry</div><div class="col-lg-12 no-data" ng-if="vm.completeReport.manifestUpdate.topThreeContributors.length === 0">No manifest data has been entered in last 24 hours.</div><div class="col-lg-12 col-xs-12"><div class="col-xs-12 col-lg-4 contributor-card" ng-repeat="contrib in vm.completeReport.manifestUpdate.topThreeContributors"><div class="col-xs-12 number" ng-bind="contrib.updates"></div><div class="col-xs-12 username" ng-bind="contrib.username"></div><div class="col-xs-12 last-update-time">Last Updated: {{contrib.lastUpdate | date: vm.appFormat.DBDate}}</div></div></div></div></div></div></div><div class="col-lg-8"><div ba-panel="" ba-panel-title="All Trackable Expected Shipments ({{vm.shipmentTracking.length}})" class="viewport100"><div id="leaflet-map"></div></div></div></div>'),e.put("app/modal/alertmodal.template.html",'<div class="modal-header"><h3 class="modal-title">{{vm.action}}</h3></div><div class="modal-body"><div>Are you sure you want to {{vm.action.toLowerCase()}} {{vm.type.toLowerCase()}} <b>{{vm.name}}</b>?</div></div><div class="modal-footer"><button class="btn btn-default submitBtn" type="button" ng-click="vm.ok()">{{vm.action}}</button> <button class="btn btn-default" type="button" ng-click="vm.cancel()">Cancel</button></div>'),
  e.put("app/modals/modals.html",'<div class="widgets"><div class="row"><div class="col-md-12" ba-panel="" ba-panel-title="Modals" ba-panel-class="with-scroll"><div class="modal-buttons clearfix"><button type="button" class="btn btn-primary" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/basicModal.html\', \'md\')">Default modal</button> <button type="button" class="btn btn-success" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/largeModal.html\', \'lg\')">Large modal</button> <button type="button" class="btn btn-warning" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/smallModal.html\', \'sm\')">Small modal</button></div></div></div><div class="row"><div class="col-md-6" ba-panel="" ba-panel-title="Message Modals" ba-panel-class="with-scroll"><div class="modal-buttons same-width clearfix"><button type="button" class="btn btn-success" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/successModal.html\')">Success Message</button> <button type="button" class="btn btn-info" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/infoModal.html\')">Info Message</button> <button type="button" class="btn btn-warning" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/warningModal.html\')">Warning Message</button> <button type="button" class="btn btn-danger" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/dangerModal.html\')">Danger Message</button></div></div><div class="col-md-6" ba-panel="" ba-panel-title="Notifications" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/modals/notifications/notifications.html\'"></div></div></div></div>'),e.put("app/dashboard/accounts/dashboard.html","<div>Account Dashbaord</div>"),e.put("app/dashboard/businessPartner/businessPartner.html",'<div class="row"><div class="col-md-6 marginBottom10px"><button class="btn btn-primary" data-toggle="modal" ng-click="vm.addBusinessPartner()">Add New Business</button></div></div><br><filter-bar ng-show="!vm.showForm" bp-types="true" country="true" on-bp-types-selected-changed="vm.onBpTypesSelectedChanged(selectedList)" on-country-selected-changed="vm.onCountrySelectedChanged(selectedList)"></filter-bar><div class="row" ng-show="!vm.showForm"><div class="col-md-12"><div ba-panel="" ba-panel-class="with-scroll"><div class="row index-container"><ul class="alphaIndex"><li ng-class="{\'active\': (vm.currentIndex === alpha)}" class="alphaIndexItem" ng-repeat="alpha in vm.alphabet" ng-bind="alpha" ng-click="vm.setCurrentIndex(alpha)"></li></ul><div class="totalBusiness"><span class="title">Total Business</span> <span class="count" ng-bind="vm.allBusinessCount"></span></div></div><div class="horizontal-scroll"><table class="table" st-table="smartTableData"><thead><tr class="sortable table-header"><th><span class="count">{{vm.allBusiness.length - vm.businessToRemove.length}}</span></th><th st-sort="{{heading.stSort}}" ng-repeat="heading in vm.tableHeadings" ng-bind="heading.name"></th></tr></thead><tbody><tr ng-repeat="business in vm.allBusiness | selectedRows:vm.businessToRemove:\'bpId\'"><td></td><td class="titled" ng-bind="business.name"></td><td ng-if="business.contactPerson">{{business.contactPerson}}</td><td ng-if="!business.contactPerson">No Primary Contact</td><td ng-bind="business.country"></td><td ng-bind="business.bpTypeStr"></td><td ng-if="row.tr_transactionID"><a ui-sref="shell.tradeBook.Transaction({tran:row.tr_transactionID})">{{row.tr_date | date:vm.vm.appFormats.Date}}</a></td><td ng-if="!row.tr_transactionID">No Transaction Done</td><td><div class="buttons"><button class="btn btn-success editable-table-button btn-xs" ng-click="vm.goToBusinessReport(business.bpId)">Report</button> <button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.editBusinessPartner(business)">Edit</button> <button ng-if="vm.deleteRights" class="btn btn-warning editable-table-button btn-xs" ng-click="vm.deleteBusinessPartner(business)">Delete</button></div></td></tr></tbody><tfoot><tr><td colspan="6" class="text-center"><div st-pagination="" st-items-by-page="smartTablePageSize" st-displayed-pages="5"></div></td></tr></tfoot></table></div></div></div></div>'),e.put("app/dashboard/businessPartner/businessPartnerForm.html",'<div class="widgets"><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="" ba-panel-class="with-scroll"><ba-wizard on-cancel="vm.cancel()"><ba-wizard-step title="Basic Information" form="vm.basicInfoForm" on-next="vm.saveBusiness(vm.imagesData, vm.business, form)" on-next-callback="vm.onSaveBusinessCallBack(response)" submit-button-title="Save Business"><div class="product-wizard"><div class="row"><div class="col-md-12" include-with-scope="app/dashboard/businessPartner/template/basicInfo.html"></div></div></div></ba-wizard-step><ba-wizard-step title="Locations" form="vm.locationInfoForm" on-next="vm.saveBusinessLocations(vm.business)" submit-button-title="Save Locations"><div class="product-wizard"><div class="row"><div class="col-md-12" include-with-scope="app/dashboard/businessPartner/template/location.html"></div></div></div></ba-wizard-step><ba-wizard-step title="Contact Persons" form="vm.contactPersonInfoForm" on-next="vm.saveBusinessContactPersons(vm.business)" submit-button-title="Save Contact Persons"><div class="product-wizard"><div class="row"><div class="col-md-12" include-with-scope="app/dashboard/businessPartner/template/contactPerson.html"></div></div></div></ba-wizard-step><ba-wizard-step title="Contact Numbers" form="vm.contactInfoForm" on-next="vm.saveBusinessContactNumbers(vm.business)" submit-button-title="Save Contacts"><div class="product-wizard"><div class="row"><div class="col-md-12" include-with-scope="app/dashboard/businessPartner/template/contactInfo.html"></div></div></div></ba-wizard-step><ba-wizard-step title="Bank Information" form="vm.bankInfoForm" on-next="vm.saveBusinessBanks(vm.business)" submit-button-title="Save Banks"><div class="product-wizard"><div class="row"><div class="col-md-12" include-with-scope="app/dashboard/businessPartner/template/bankInfo.html"></div></div></div></ba-wizard-step></ba-wizard></div></div></div></div>'),e.put("app/dashboard/currencyExchange/currencyDashboard.html",'<filter-bar date-picker-needed="true" date-picker="vm.dateRange" on-date-change="vm.onDateRangeChanged(dateRange)"></filter-bar><div class="col-xlg-12 col-lg-12 col-md-12 col-sm-12 col-xs-12" ba-panel=""><div class="row"><div class="col-xlg-12 col-lg-12 col-md-12 col-sm-7 col-xs-12" ba-panel="" ba-panel-title="Exchange Rate Graph" ba-panel-class="medium-panel"><line-chart ng-if="vm.showGraph" chart-data="vm.graphData" chart-values="vm.chartValues" chart-type="vm.chartType"></line-chart></div></div></div>'),e.put("app/dashboard/documentCreator/documentCreator.html",'<div class="col-lg-12"><div ba-panel=""><div id="document"><div class="col-md-12"><h3 class="with-line">Document Content</h3><div class="form-group"><text-angular ng-model="vm.documentContent" id="documentContent"></text-angular></div></div></div><div><button class="btn btn-success" ng-click="vm.createA4Document(vm.documentContent)">Export to PDF</button></div></div></div>'),e.put("app/dashboard/inventory/inventoryDashboard.html",'<div class="row"><div class="col-md-4" ba-panel="" ba-panel-title="All Warehouse Products Stock"><pie-chart id="allWarehouses" value-field="totalQuantity" data="vm.dashboardData.allWarehousesProduct"></pie-chart></div><div class="col-md-4" ba-panel="" ba-panel-title="Self Warehouse Products Stock"><pie-chart id="selfWarehouses" value-field="totalQuantity" data="vm.dashboardData.ownWarehouseProduct"></pie-chart></div><div class="col-md-4" ba-panel="" ba-panel-title="Business Products Stock"><pie-chart id="bpProduct" value-field="totalQuantity" data="vm.dashboardData.businessProductReport"></pie-chart></div><div ba-panel="" class="col-lg-12 col-xs-12" ba-panel-title="All Warehouses"><div class="panel-content"><div class="row"><div class="col-xs-12"><h3 class="with-line"></h3><warehouse-card ng-repeat="warehouse in vm.allWarehouses" col-size="4" warehouse="warehouse"></warehouse-card></div></div></div></div></div>'),e.put("app/dashboard/inventory/inventoryTransactionForm.html",'<div class="row"><div class="col-md-12"><div ba-panel=""><div class="panel-content"><form name="vm.inventoryRecordForm" novalidate=""><div class="row"><div class="form-group col-md-12 clearfix"><div class="input-demo radio-demo row"><div class="col-md-2"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" ng-model="vm.inventoryRecord.positive" id="inflow" value="True"> <span>In Flow</span></label></div><div class="col-md-2"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" ng-model="vm.inventoryRecord.positive" id="outflow" value="False"> <span>Out Flow</span></label></div></div></div><div class="form-group col-md-6 clearfix"><label class="with-line control-label">Date</label><date-picker-input date="vm.inventoryRecord.date" blank="false" name="dateChange"></date-picker-input><ng-messages for="vm.inventoryRecordForm.dateChange.$error" ng-show="(vm.inventoryRecordForm.$submitted || vm.inventoryRecordForm.dateChange.$dirty)"><ng-message class="errorValidation" when="required">Please enter warehouse name.</ng-message></ng-messages></div><div class="form-group col-md-6 clearfix"><label class="with-line control-label">Warehouse</label><selectize ng-required="true" name="warehouse" placeholder="Warehouse" id="warehouse" config="vm.warehouseConfig" options="vm.warehouseOptions.list" ng-model="vm.inventoryRecord.warehouseId"></selectize><ng-messages for="vm.inventoryRecordForm.warehouse.$error" ng-if="(vm.inventoryRecordForm.$submitted || vm.inventoryRecordForm.warehouse.$dirty)"><div ng-message="required" class="errorValidation">Please select warehouse.</div></ng-messages></div><div class="form-group col-md-6 clearfix"><label class="with-line control-label">Product</label><selectize ng-required="true" name="product" placeholder="Product" id="product" config="vm.productConfig" options="vm.productOptions.list" ng-model="vm.inventoryRecord.productId"></selectize><ng-messages for="vm.inventoryRecordForm.product.$error" ng-if="(vm.inventoryRecordForm.$submitted || vm.inventoryRecordForm.product.$dirty)"><div ng-message="required" class="errorValidation">Please enter product item.</div></ng-messages></div><div class="form-group col-md-6 clearfix"><label class="with-line control-label">Business</label><selectize ng-required="true" name="business" placeholder="Business" id="business" config="vm.businessConfig" options="vm.businessOptions.list" ng-model="vm.inventoryRecord.businessId"></selectize><ng-messages for="vm.inventoryRecordForm.business.$error" ng-if="(vm.inventoryRecordForm.$submitted || vm.inventoryRecordForm.business.$dirty)"><div ng-message="required" class="errorValidation">Please select Business.</div></ng-messages></div><div class="form-group col-md-3 clearfix"><label class="with-line control-label">Quantity <span class="titled">FCL</span></label> <input ng-required="true" ng-pattern="/^[0-9]+$/i" ng-model="vm.inventoryRecord.fclQuantity" class="form-control" name="fclQuantity" placeholder="Warehouse Lots"><ng-messages for="vm.inventoryRecordForm.fclQuantity.$error" ng-show="(vm.inventoryRecordForm.$submitted || vm.inventoryRecordForm.fclQuantity.$dirty)"><ng-message class="errorValidation" when="required">Please enter quantity in fcl.</ng-message><ng-message class="errorValidation" when="pattern">FCL Quantity can only have number as input</ng-message></ng-messages></div><div class="form-group col-md-3 clearfix"><label class="with-line control-label"><span class="titled">Lot</span> No</label> <input ng-required="true" ng-pattern="/^[0-9]+$/i" ng-model="vm.inventoryRecord.lotNo" class="form-control" name="wh_lots" placeholder="Warehouse Lots"><ng-messages for="vm.inventoryRecordForm.wh_lots.$error" ng-show="(vm.inventoryRecordForm.$submitted || vm.inventoryRecordForm.wh_lots.$dirty)"><ng-message class="errorValidation" when="required">Please enter warehouse lots.</ng-message><ng-message class="errorValidation" when="pattern">Warehouse Lot No. can only have number as input</ng-message></ng-messages></div><div class="form-group col-md-3 clearfix"><label class="with-line control-label"><span class="titled">Port Clearing</span> No</label> <input ng-model="vm.inventoryRecord.portClearingNo" class="form-control" name="portClearingNo" placeholder="Port Clearing Number"></div></div><br><div class="row"><div class="col-xs-12"><h3 class="with-line">Trucks Details <button type="button" ng-click="vm.saveTruckInInventoryRecord(vm.inventoryRecordId, vm.inventoryTruckCallback,vm.getNewInventoryTruckObj())" class="btn btn-xs btn-success">Add Truck</button></h3><table class="table table-striped"><thead><tr class="sortable table-header"><th>Date</th><th>Truck No</th><th>Weight <span class="titled">Kgs</span></th><th>Remarks</th><th>Action</th></tr></thead><tbody><tr ng-repeat="truck in vm.inventoryRecord.trucks | orderBy: [\'-date\', \'truckNo\']"><td>{{truck.date | date:vm.appFormats.Date}}</td><td>{{truck.truckNo | uppercase}}</td><td>{{truck.weightInKg | number : \'2\'}}</td><td>{{truck.remarks}}</td><td><div class="buttons"><button class="btn btn-warning editable-table-button btn-xs" ng-click="vm.removeTruck(truck, vm.inventoryRecord)">Delete</button></div></td></tr></tbody><tbody><tr><td colspan="1"></td><td>Total Weight in Kgs</td><td>{{vm.totalWeight| number:\'2\'}}</td><td colspan="2"></td></tr></tbody></table></div></div><br><div class="row"><div class="col-xs-12"><button type="submit" ng-click="vm.saveInventoryRecord(vm.inventoryRecordForm, vm.inventoryRecord)" class="btn btn-primary btn-with-icon"><i class="ion-android-checkmark-circle"></i>{{vm.isNew ? \'Add New Inventory Record\': \'Update Inventory Record\'}}</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon"><i class="ion-android-cancel"></i>Cancel</button></div></div></form></div></div></div></div>'),e.put("app/dashboard/inventory/inventoryTransactions.html",'<filter-bar warehouse="true" date-picker-needed="true" product="true" local-trader="true" date-picker="vm.dateRange" on-date-change="vm.onDateRangeChanged(dateRange)" on-local-trader-selected-changed="vm.onLocalTradeSelectedChanged(selectedList, initialized)" on-products-selected-changed="vm.onProductsSelectedChanged(selectedList, initialized)" on-warehouse-selected-changed="vm.onWarehouseSelectedChanged(selectedList, initialized)"></filter-bar><div class="row stats-row"><div ba-panel="" class="col-md-12 panel-content"><div class="col-md-1 col-xs-12"></div><div class="col-md-2 col-xs-12 stats-item"><div class="icon"><i class="fa fa-arrow-down positive" aria-hidden="true"></i></div><div class="stat"><div class="title">Weight In Flow</div><div class="number" ng-bind-html="(vm.weightInFlow | weight)"></div></div></div><div class="col-md-2 col-xs-12 stats-item"><div class="icon"><i class="fa fa-arrow-up negative" aria-hidden="true"></i></div><div class="stat"><div class="title">Weight Out Flow</div><div class="number" ng-bind-html="(vm.weightOutFlow | weight)"></div></div></div><div class="col-md-2 col-xs-12 stats-item"><div class="icon"><i class="fa fa-truck positive" aria-hidden="true"></i></div><div class="stat"><div class="title">Truck In flow</div><div class="number" ng-bind="vm.trucksInFlow"></div></div></div><div class="col-md-2 col-xs-12 stats-item"><div class="icon"><i class="fa fa-truck negative" aria-hidden="true"></i></div><div class="stat"><div class="title">Truck Out Flow</div><div class="number" ng-bind="vm.trucksOutFlow"></div></div></div><div class="col-md-2 col-xs-12 stats-item"><div class="icon"><i class="fa fa-cubes" aria-hidden="true"></i></div><div class="stat"><div class="title">Weight Difference</div><div class="number" ng-class="{\'positive\': (vm.weightDifferance > 0), \'negative\':(vm.weightDifferance < 0)}" ng-bind-html="(vm.weightDifferance | weight)"></div></div></div><div class="col-md-1 col-xs-12"></div></div></div><div ba-panel="" ba-panel-class="with-scroll"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.inventoryRecords.length!==0"><th>Flow</th><th>Date</th><th>Warehouse</th><th><span class="titled">Lot No</span></th><th>Product</th><th>Business</th><th>Truck</th><th>Total Quantity <span class="titled">Kgs</span></th><th>Actions</th></tr><tr class="table-header" ng-if="vm.inventoryRecords.length===0"><th>No Inventory Records have been added.</th></tr></thead><tbody><tr ng-repeat="row in vm.filteredRecords"><td class="titled"><i class="fa" ng-class="{\'fa-arrow-up\':!row.positive, \'negative\':!row.positive,\'fa-arrow-down\':row.positive, \'positive\': row.positive}" aria-hidden="true"></i></td><td ng-bind="row.date | date:appFormats.Date"></td><td ng-bind="row.warehouse__name"></td><td ng-bind="row.lot_no"></td><td ng-bind="row.product__name"></td><td ng-bind="row.transaction_business__bp_name"></td><td ng-bind="row.total_trucks"></td><td ng-bind="row.total_weight_in_kgs | number: \'2\'"></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.editRecord(row.id)">Edit</button></div></td></tr></tbody></table></div></div>'),e.put("app/dashboard/inventory/inventoryTruckForm.html",'<div class="modal-content"><form name="inventoryTruckForm" novalidate=""><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel" ng-bing="title">Inventory Truck Form</h4></div><div class="modal-body"><div class="row"><div class="col-md-4 col-xs-12"><div class="form-group"><h3 class="with-line">Date</h3><date-picker-input date="inventoryTruckObj.date" blank="false" name="dateChange"></date-picker-input><ng-messages for="inventoryTruckForm.dateChange.$error" ng-show="(inventoryTruckForm.$submitted || inventoryTruckForm.dateChange.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter date.</ng-message></ng-messages></div></div><div class="col-md-4 col-xs-12"><div class="form-group"><h3 class="with-line">Truck No.</h3><input required="" ng-model="inventoryTruckObj.truckNo" class="form-control" name="rent" placeholder="Truck No"><ng-messages for="inventoryTruckForm.rent.$error" ng-show="(inventoryTruckForm.$submitted || inventoryTruckForm.rent.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter truck no.</ng-message></ng-messages></div></div><div class="col-md-4 col-xs-12"><div class="form-group"><h3 class="with-line">Weight In <span class="titled">Kgs</span></h3><input required="" ng-pattern="/^[0-9.]+$/i" ng-model="inventoryTruckObj.weightInKg" class="form-control" name="weightInKg" placeholder="Weight in Kgs"><ng-messages for="inventoryTruckForm.weightInKg.$error" ng-show="(inventoryTruckForm.$submitted || inventoryTruckForm.weightInKg.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter weight in kg.</ng-message><ng-message class="errorValidation" when="pattern">Weight in Kg can only have numbers.</ng-message></ng-messages></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><h3 class="with-line">Remarks</h3><textarea ng-model="inventoryTruckObj.remarks" class="form-control" name="remarks" placeholder="Remarks">\n                    </textarea></div></div></div></div><div class="modal-footer"><button type="button" class="btn btn-default" ng-click="$dismiss()">Cancel</button> <button type="submit" class="btn btn-primary" ng-click="saveNewInventoryTruck(inventoryTruckForm, inventoryRecordId, inventoryTruckObj)">Save Truck</button></div></form></div>'),e.put("app/dashboard/inventory/lotNumberFormModal.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel" ng-bing="title">Transaction Completion</h4></div><div class="modal-body"><div class="row"><form name="completionForm" novalidate=""><div class="col-md-12 col-xs-12"><div class="form-group"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" ng-model="completeObj.complete"> <span>Complete</span></label></div></div></div><div class="col-md-12 col-xs-12" ng-show="completeObj.complete"><div class="form-group"><label class="with-line">Washout Date</label><date-picker-input date="completeObj.completionDate" blank="false" name="washoutDate"></date-picker-input><ng-messages for="washOutForm.washoutDate.$error" ng-show="(washOutForm.$submitted || washOutForm.washoutDate.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter washout date.</ng-message></ng-messages></div></div></form></div></div><div class="modal-footer"><button type="submit" class="btn btn-default" ng-click="$dismiss()">Cancel</button> <button type="button" class="btn btn-primary" ng-click="changeCompletion(completeObj)">Complete Transaction</button></div></div>'),e.put("app/dashboard/inventory/warehouseBusinessStockReport.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h1 class="modal-title" id="myModalLabel" ng-bind="warehouseName"></h1></div><div class="modal-body"><div class="row"><div class="col-xs-12"><table class="table table-striped"><thead><tr class="table-header"><th></th><th>Business</th><th><i class="fa fa-arrow-down positive" aria-hidden="true"></i> Total In Flow <span class="titled">Kg</span></th><th><i class="fa fa-arrow-up negative" aria-hidden="true"></i> Total Out Flow <span class="titled">Kg</span></th><th>Current Stock <span class="titled">Kg</span></th><th>Current Stock <span class="titled">Percentage</span></th></tr></thead><tbody ng-repeat="business in businessReport"><tr><td ng-click="toggleProductDetails(business)"><i class="fa fa-plus-square cursor-pointer" aria-hidden="true" ng-if="!business.showDetails"></i> <i class="fa fa-minus-square cursor-pointer" aria-hidden="true" ng-if="business.showDetails"></i></td><td class="titled" ng-bind="business.business_name"></td><td ng-bind="business.businessInFlow | number:\'2\'"></td><td ng-bind="business.businessOutFlow | number:\'2\'"></td><td ng-bind="business.quantityInStock | number:\'2\'"></td><td class="titled" ng-bind="(business.quantityPercentage | number:\'2\')+\'%\'"></td></tr><tr ng-show="business.showDetails"><td colspan="6"><table class="table table-striped"><thead><tr class="table-header"><th>Product Name</th><th><i class="fa fa-arrow-down positive" aria-hidden="true"></i> Product In Flow <span class="titled">Kg</span></th><th><i class="fa fa-arrow-up negative" aria-hidden="true"></i> Product Out Flow <span class="titled">Kg</span></th><th>Current Stock <span class="titled">Kg</span></th><th>Current Stock <span class="titled">Percentage</span></th></tr></thead><tbody><tr ng-repeat="product in business.productFlow"><td class="titled" ng-bind="product.product__name"></td><td ng-bind="product.truckInFlow | number:\'2\'"></td><td ng-bind="product.truckOutFlow | number:\'2\'"></td><td ng-bind="product.currentQuantity | number:\'2\'"></td><td ng-bind="(product.quantityPercentage| number:\'2\')+\'%\'"></td></tr></tbody></table></td></tr></tbody><tr><td></td><td class="titled">Total</td><td class="titled" ng-bind="totalInFlow| number:\'2\'"></td><td class="titled" ng-bind="totalOutFlow| number:\'2\'"></td><td class="titled" ng-bind="warehouseQuantity| number:\'2\'"></td><td></td></tr></table></div></div></div><div class="modal-footer"><button type="button" class="btn btn-default" ng-click="$dismiss()">Close</button></div></div>'),e.put("app/dashboard/inventory/warehouseDetails.html",'<div class="row"><div class="col-md-12"><div ba-panel=""><div class="panel-content"><div class="row warehouse-details"><div class="col-xs-12 col-md-12"><h3 class="with-line"><button style="margin-left: 10px" ng-click="vm.changeCurrentWarehouseRent(vm.warehouseObj.id, vm.onrentSaveCallBack)" class="btn btn-xs btn-primary pull-right">{{(vm.warehouseObj.rentList.length===0) ? \'Add Current Rent\' : \'Change Current Rent\'}}</button> <button ng-click="vm.editWarehouseDetails(vm.warehouseObj.id)" class="btn btn-xs btn-success pull-right">Edit</button></h3></div><div class="col-xs-12 col-md-2"><h3 class="with-line">Warehouse Name</h3><div ng-bind="vm.warehouseObj.name"></div></div><div class="col-xs-12 col-md-2"><h3 class="with-line">Total Capacity</h3><div ng-bind="vm.warehouseObj.totalCapacity" class="number"></div></div><div class="col-xs-12 col-md-2"><h3 class="with-line">Consumed Capacity <span class="titled">Kgs</span></h3><div ng-bind="vm.warehouseObj.consumedCapacity" class="number"></div></div><div class="col-xs-12 col-md-2"><h3 class="with-line">Own Warehouse</h3><div></div></div><div class="col-xs-12 col-md-2"><h3 class="with-line">Current Rent per <span class="titled">Kgs</span> per <span class="titled">Month</span></h3><div ng-bind="vm.warehouseObj.rentPer50Kg" class="number"></div></div><div class="col-xs-12 col-md-6"><h3 class="with-line">Address</h3><div ng-bind="vm.warehouseObj.address" class="number"></div></div><div class="col-xs-12 col-md-6"><h3 class="with-line">Contact Details</h3><div ng-bind="vm.warehouseObj.contact" class="number"></div></div></div><div class="row warehouse-rent-details" ng-if="vm.warehouseObj.rentList.length!==0"><div class="col-xs-12 col-md-2"><h3 class="with-line">Warehouse Rent Details</h3><div></div></div><div class="col-xs-12"><table class="table table-striped"><thead><tr class="sortable table-header"><th>Rent Applicable Till</th><th>Rent Applicable From</th><th>Rent Per Kg Per Month <span ng-bind="vm.warehouseObj.rentCurrency"></span></th></tr></thead><tbody><tr ng-repeat="row in vm.warehouseObj.rentList | orderBy:\'-dateChange\'"><td class="titled" ng-bind="row.dateEnd ? (row.dateEnd | date:vm.appFormats.Date) : \'Present\'"></td><td class="titled" ng-bind="row.dateChange | date:vm.appFormats.Date"></td><td class="titled" ng-bind="row.rent | number : \'2\'"></td></tr></tbody></table></div><div class="col-xs-12"><button ng-click="vm.backToWarehouseList()" class="btn btn-primary">Back to Warehouse List</button></div></div></div></div></div></div>'),e.put("app/dashboard/inventory/warehouseForm.html",'<div class="row"><div class="col-md-12"><div ba-panel=""><div class="panel-content"><form name="vm.warehouseForm" novalidate=""><div class="row"><div class="form-group col-md-12 clearfix"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" ng-model="vm.warehouseObj.selfWarehouse"> <span>Own Warehouse</span></label></div></div><div class="form-group col-md-6 clearfix"><label class="with-line control-label">Warehouse Name</label> <input ng-required="true" ng-model="vm.warehouseObj.name" class="form-control" name="wh_name" placeholder="Warehouse Name"><ng-messages for="vm.warehouseForm.wh_name.$error" ng-show="(vm.warehouseForm.$submitted || vm.warehouseForm.wh_name.$dirty)"><ng-message class="errorValidation" when="required">Please enter warehouse name.</ng-message></ng-messages></div><div class="form-group col-md-6 clearfix"><label class="with-line control-label">No. of <span class="titled">Lots</span></label> <input ng-required="true" ng-pattern="/^[0-9]+$/i" ng-model="vm.warehouseObj.lots" class="form-control" name="wh_lots" placeholder="Warehouse Lots"><ng-messages for="vm.warehouseForm.wh_lots.$error" ng-show="(vm.warehouseForm.$submitted || vm.warehouseForm.wh_lots.$dirty)"><ng-message class="errorValidation" when="required">Please enter warehouse lots.</ng-message><ng-message class="errorValidation" when="pattern">Warehouse Lot No. can only have number as input</ng-message></ng-messages></div><div class="form-group col-md-6 clearfix"><label class="with-line control-label">Address</label> <textarea ng-model="vm.warehouseObj.address" class="form-control" name="name" placeholder="Warehouse Address">\n                            <br>\n                            <label class="with-line control-label">Contact Details</label>\n                            </textarea><textarea ng-model="vm.warehouseObj.contact" class="form-control" name="name" placeholder="Warehouse Contact Details">\n                        </textarea></div><div class="form-group col-md-6"><label class="with-line control-label">Total Capacity <span class="titled">Kgs</span></label> <input required="" ng-pattern="/^[0-9.]+$/i" ng-model="vm.warehouseObj.totalCapacity" class="form-control" name="totalCapacity" placeholder="Warehouse Total Capacity"><ng-messages for="vm.warehouseForm.totalCapacity.$error" ng-show="(vm.warehouseForm.$submitted || vm.warehouseForm.totalCapacity.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter warehouse total capacity in kgs.</ng-message><ng-message class="errorValidation" when="pattern">Total Quantity in Kgs can only aceept numbers</ng-message></ng-messages></div><div class="form-group col-md-6 col-md-offset-6"></div></div><div class="row"><button type="submit" ng-click="vm.saveWarehouse(vm.isNew, vm.warehouseForm, vm.warehouseObj)" class="btn btn-primary btn-with-icon"><i class="ion-android-checkmark-circle"></i>{{vm.isNew ? \'Add New Warehouse\': \'Update Warehouse\'}}</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon"><i class="ion-android-cancel"></i>Cancel</button></div></form></div></div></div></div>'),e.put("app/dashboard/inventory/warehouseLotReport.html","<div>Warehouse Lot Report</div>"),e.put("app/dashboard/inventory/warehouseProductStockReport.html",'<div class="modal-content"><form name="inventoryTruckForm" novalidate=""><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h1 class="modal-title" id="myModalLabel" ng-bind="warehouseName"></h1></div><div class="modal-body"><div class="row"><div class="col-xs-12"><table class="table table-striped"><thead><tr class="table-header"><th colspan="2">Product</th><th>Total Quantity <span class="titled">Kg</span></th><th>Self Quantity <span class="titled">Kg</span></th><th>Other Business Quantity <span class="titled">Kg</span></th></tr></thead><tbody><tr ng-repeat="product in productReport"><td class="titled" ng-bind="product.productName"></td><td class="titled" ng-bind="(product.stockPercentage | number:\'2\')+\'%\'"></td><td ng-bind="product.quantityInStock | number:\'2\'"></td><td ng-bind="product.selfQuantity | number:\'2\'"></td><td ng-bind="product.otherBusinessQuantityInStock | number:\'2\'"></td></tr></tbody><tfoot><tr><td></td><td class="titled">Total</td><td class="titled" ng-bind="warehouseQuantity| number:\'2\'"></td><td class="titled" ng-bind="totalSelfQuantity| number:\'2\'"></td><td class="titled" ng-bind="totalOtherQuantity| number:\'2\'"></td></tr></tfoot></table></div></div></div><div class="modal-footer"><button type="button" class="btn btn-default" ng-click="$dismiss()">Close</button></div></form></div>'),e.put("app/dashboard/inventory/warehouseRentForm.html",'<div class="modal-content"><form name="warehouseRentChange" novalidate=""><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel" ng-bing="title">New Warehouse Rent</h4></div><div class="modal-body"><div class="row"><div class="col-md-6 col-xs-12"><div class="form-group"><h3 class="with-line">Rent Applicable From</h3><date-picker-input date="vm.warehouseRentObj.dateChange" blank="false" name="dateChange"></date-picker-input><ng-messages for="warehouseRentChange.dateChange.$error" ng-show="(warehouseRentChange.$submitted || warehouseRentChange.dateChange.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter date since rent is applicable.</ng-message></ng-messages></div></div><div class="col-md-6 col-xs-12"><div class="form-group"><h3 class="with-line">Rent Per <span class="titled">50 Kg</span> Per <span class="titled">Month</span></h3><input required="" ng-pattern="/^[0-9.]+$/i" ng-model="vm.warehouseRentObj.rent" class="form-control" name="rent" placeholder="Rent per 50 kg per month"><ng-messages for="warehouseRentChange.rent.$error" ng-show="(warehouseRentChange.$submitted || warehouseRentChange.rent.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter current rent per 50 kg per month.</ng-message><ng-message class="errorValidation" when="pattern">Rent can only have numbers.</ng-message></ng-messages></div></div></div></div><div class="modal-footer"><button type="button" class="btn btn-default" ng-click="$dismiss()">Cancel</button> <button type="submit" class="btn btn-primary" ng-click="vm.saveNewCurrentRent(warehouseRentChange, vm.warehouseId, vm.warehouseRentObj)">Save Current Rent</button></div></form></div>'),
  e.put("app/dashboard/inventory/warehouses.html",'<div ba-panel="" ba-panel-class="with-scroll"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.allWarehouses.length!==0"><th colspan="2">Warehouse Name</th><th>Owned</th><th>Total Capacity <span class="titled">Kg</span></th><th>Consumed Capacity <span class="titled">Kg</span></th><th>Current Rent Per <strong>Kg</strong> per <strong>Month</strong></th><th>Actions</th></tr></thead><tbody><tr ng-repeat="row in vm.allWarehouses | orderBy:\'name\'"><td colspan="2" class="titled" ng-bind="row.name"></td><td class="titled" ng-class="{\'positive\':row.selfWarehouse, \'negative\':!row.selfWarehouse}"><i class="fa fa-check-square" aria-hidden="true"></i></td><td ng-bind="row.totalCapacity"></td><td ng-bind="row.consumedCapacity"></td><td ng-bind="row.rentPer50Kg"></td><td><div class="buttons"><button ng-click="vm.lotReport(row.id)" class="btn btn-success editable-table-button btn-xs">Detail</button> <button ng-click="vm.goToWarehouseDetails(row.id)" class="btn btn-primary editable-table-button btn-xs">Lot Report</button></div></td></tr></tbody></table></div></div>'),e.put("app/dashboard/localTradeBook/localTradeBook.html",'<filter-bar date-picker-needed="true" page="localTradeBook" local-buyer="true" local-seller="true" product-items="true" date-picker="vm.dateRange" on-date-change="vm.onDateRangeChanged(dateRange)" on-local-buyers-selected-changed="vm.onBuyersSelectedChanged(selectedList, initialized)" on-local-sellers-selected-changed="vm.onSellersSelectedChanged(selectedList, initialized)" on-product-item-selected-changed="vm.onProductsSelectedChanged(selectedList, initialized)"></filter-bar><trade-table type="localTradeBook" column-header="vm.columnHeader" list-data="vm.allTransactions" items-per-page="10"></trade-table>'),e.put("app/dashboard/manifest/manifest.html",'<div class="row"><div class="col-md-6 marginBottom10px"><button class="btn btn-primary" data-toggle="modal" ng-click="vm.addNewManifestItem()">Add New Manifest Item</button></div><div class="col-md-12"><div ba-panel="" ba-panel-class="profile-page" ng-if="vm.showForm"><div class="panel-content" include-with-scope="app/dashboard/manifest/template/itemForm.html"></div></div><filter-bar ng-show="!vm.showForm" date-picker-needed="true" product="true" buyer="true" seller="true" date-picker="vm.dateRange" on-date-change="vm.onDateRangeChanged(dateRange)" on-buyers-selected-changed="vm.onBuyersSelectedChanged(selectedList, initialized)" on-sellers-selected-changed="vm.onSellersSelectedChanged(selectedList, initialized)" on-products-selected-changed="vm.onProductsSelectedChanged(selectedList, initialized)"></filter-bar><div ba-panel="" ba-panel-class="with-scroll min-height-500px" ng-show="!vm.showForm"><div class="row table-options"><div class="col-md-6 manifest-quantity"><div class="box title">Total Quantity</div><div class="number box">{{vm.totalQuantity}} FCL</div></div><div class="col-md-6 button-bar"><button class="btn btn-xs" data-toggle="modal" ng-class="{\'btn-success\': !vm.hidePaging, \'btn-danger\': vm.hidePaging}" ng-click="vm.unpagedView(vm.allManifestList, vm.hidePaging)"><i class="fa fa-eye" aria-hidden="true"></i> &nbsp; Unpaged View</button> <button class="btn excel-btn btn-xs" data-toggle="modal" ng-click="vm.exportToExcel(vm.allManifestList)"><i class="fa fa-file-excel-o" aria-hidden="true"></i> &nbsp; Export to Excel</button> <button class="btn pdf-btn btn-xs" data-toggle="modal" ng-click="vm.exportToPDF(vm.allManifestList)"><i class="fa fa-file-pdf-o" aria-hidden="true"></i> &nbsp; Export to PDF</button></div></div><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.allManifestList.length!==0"><th><span class="count">{{vm.allManifestList.length}}</span></th><th>Date</th><th>Buyer</th><th>Seller</th><th>Product</th><th>Metric</th><th>Quantity</th><th>Actions</th></tr><tr class="table-header" ng-if="vm.allManifestList.length===0"><th>No Manifest Items have been added for selected filters</th></tr></thead><tbody ng-repeat="row in vm.displayList"><tr><td colspan="2" ng-bind="row.date | date:vm.appFormats.DBDate"></td><td class="business"><div class="name" ng-bind="row.buyerName"></div><div class="contact">{{row.buyerPrimaryContact ? row.buyerPrimaryContact : \'No Primary Contact\'}}</div><div class="country"><img ng-if="row.buyerCountryFlag" width="15" src="{{vm.appConstants.STATIC_URL + row.buyerCountryFlag}}"> {{row.buyerCountry ? row.buyerCountry : \'No Origin\' }}</div></td><td class="business"><div class="name" ng-bind="row.sellerName"></div><div class="contact">{{row.sellerPrimaryContact ? row.sellerPrimaryContact : \'No Primary Contact\'}}</div><div class="country"><img ng-if="row.sellerCountryFlag" width="15" src="{{vm.appConstants.STATIC_URL + row.sellerCountryFlag}}"> {{row.sellerCountry ? row.sellerCountry : \'No Origin\' }}</div></td><td ng-bind="row.productName"></td><td ng-bind="row.quantityMetric"></td><td ng-bind="row.quantity"></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.editManifestItem(row)">Edit</button> <button class="btn btn-danger editable-table-button btn-xs" ng-if="row.deleteable" ng-click="vm.deleteManifestItem(row)">Delete</button></div></td></tr></tbody></table></div><div ng-show="!vm.hidePaging"><ul ng-show="vm.totalItems > 0" uib-pagination="" ng-change="vm.pageChanged()" total-items="vm.totalItems" ng-model="vm.currentPage" max-size="vm.itemsPerPage" class="pagination-sm push-left" boundary-link-numbers="true" rotate="false"></ul></div></div></div></div>'),e.put("app/dashboard/manifest/manifestDashboard.html",'<div class="row"><div class="col-md-6 marginBottom10px"><button class="btn btn-primary" data-toggle="modal" ng-click="vm.goToManifestItems()">Manifest Items</button></div></div><div class="row"><div class="col-lg-12"><filter-bar ng-show="!vm.showForm" date-picker-needed="true" product="true" buyer="true" seller="true" date-picker="vm.dateRange" on-date-change="vm.onDateRangeChanged(dateRange)" on-buyers-selected-changed="vm.onBuyersSelectedChanged(selectedList, initialized)" on-sellers-selected-changed="vm.onSellersSelectedChanged(selectedList, initialized)" on-products-selected-changed="vm.onProductsSelectedChanged(selectedList, initialized)"></filter-bar></div></div><div class="col-xlg-12 col-lg-12 col-md-12 col-sm-12 col-xs-12" ba-panel=""><div class="row"><div class="row pie-charts" ng-if="vm.showCharts"><div class="pie-chart-item-container"><div ba-panel=""><div class="pie-chart-item"><div class="chart" rel="{{ ::vm.dashboardColors.colors.success }}" data-percent="{{vm.sumData.sumPercentage}}"><span class="percent"></span></div><div class="description"><div>Total Containers</div><div class="description-stats">{{::vm.sumData.filteredSum}}<span class="metric">FCL</span></div></div></div></div></div></div><div class="col-xlg-12 col-lg-12 col-md-12 col-sm-7 col-xs-12" ba-panel="" ba-panel-title="Container FCL" ba-panel-class="medium-panel"><line-chart chart-data="vm.graphData" chart-values="vm.chartValues"></line-chart></div></div></div>'),e.put("app/dashboard/pricing/priceAnalytics.html",'<filter-bar date-picker-needed="true" date-picker="vm.dateRange" on-date-change="vm.onDateRangeChanged(dateRange)"></filter-bar><div class="col-xlg-12 col-lg-12 col-md-12 col-sm-12 col-xs-12" ba-panel=""><div class="row"><div class="col-xlg-12 col-lg-12 col-md-12 col-sm-7 col-xs-12" ba-panel="" ba-panel-title="Product Pricing" ba-panel-class="medium-panel"><line-chart ng-if="vm.showGraph" chart-data="vm.graphData" chart-values="vm.chartValues" chart-type="vm.chartType"></line-chart></div></div></div>'),e.put("app/dashboard/pricing/priceMarket.html",'<div class="row"><div class="col-md-6 marginBottom10px"><button class="btn btn-primary" data-toggle="modal" ng-click="vm.addPriceMarket()">Add New Price Market</button></div></div><div ba-panel="" ba-panel-class="profile-page" ng-if="vm.showForm"><div class="panel-content"><form><h3 class="with-line"></h3><div class="row"><div class="col-md-6"><div class="form-group row clearfix"><label for="productItem" class="col-sm-2 control-label">Country</label><div class="col-sm-6"><selectize ng-disabled="vm.priceMarket.isInternational" id="productItem" config="vm.countryConfig" options="vm.countryOptions.list" ng-model="vm.priceMarket.country"></selectize></div><label class="col-sm-2">International</label><div class="col-sm-2"><switch color="primary" ng-model="vm.priceMarket.isInternational"></switch></div></div></div><div class="col-md-6"><div class="form-group row clearfix"><label for="priceMarketCurrency" class="col-sm-3 control-label">Currency</label><div class="col-sm-9"><selectize ng-required="true" id="priceMarketCurrency" config="vm.currencyConfig" options="vm.currencyOptions.list" ng-model="vm.priceMarket.currency"></selectize></div></div></div></div><div class="row"><div class="col-md-12"><div class="form-group row clearfix"><label for="marketDescription" class="col-sm-3 control-label">Description</label><div class="col-sm-12"><textarea placeholder="Market Description" ng-model="vm.priceMarket.description" class="form-control" id="marketDescription"></textarea></div></div></div></div><button type="button" ng-if="!vm.priceMarket.id" ng-click="vm.addNewPriceMarket(vm.priceMarket)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Add Pricing</button> <button type="button" ng-if="vm.priceMarket.id" ng-click="vm.updatePriceMarket(vm.priceMarket)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Update Pricing</button> <button type="button" ng-click="vm.cancelPriceMarket()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></form></div></div><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-class="with-scroll"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.allMarkets.length!==0"><th>Country</th><th>Currency</th><th>Description</th><th>Actions</th></tr><tr class="table-header" ng-if="vm.allMarkets.length===0"><th>No values have been added.</th></tr></thead><tbody><tr ng-repeat="row in vm.allMarkets"><td class="titled" ng-bind="row.countryName"></td><td ng-bind="row.currency"></td><td ng-bind="row.description"></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.editPriceMarket(row)">Edit</button></div></td></tr></tbody></table></div></div></div></div>'),e.put("app/dashboard/pricing/pricing.html",'<div class="row"><div class="col-md-6 marginBottom10px"><button class="btn btn-primary" data-toggle="modal" ng-click="vm.addProductPricing(\'dashboard.pricing.productItems\')">Product Pricing</button> <button class="btn btn-primary" data-toggle="modal" ng-click="vm.addProductPricing(\'dashboard.pricing.market\')">Pricing Market</button></div></div><filter-bar country="true" product="true" on-products-selected-changed="vm.onProductsSelectedChanged(selectedList)" on-country-selected-changed="vm.onCountrySelectedChanged(selectedList)"></filter-bar><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-class="with-scroll"><div class="horizontal-scroll"><div class="priceItemList col-lg-12"><div class="priceContainer col-lg-4 col-sm-12" ng-repeat="row in vm.allProductPriceSummary | selectedRows:vm.priceSummaryToRemove:\'productItemId\'"><div class="priceItem"><div class="col-lg-12 col-xs-12"><div class="productName"><div class="name" ng-bind="row.productName"></div><div><div class="productKeyword" ng-bind="row.keywords"></div><div class="productOrigin">{{row.productOriginName}}</div><img width="60" src="{{vm.appConstants.HOST + row.originFlag}}">&nbsp;</div></div></div><div ng-if="row.internationalPrice!==\'NA\'" class="col-lg-6 col-sm-6 priceDetails"><div class="currency">International</div><div class="change" ng-if="row.internationalPercentangeChange==\'NA\' || row.internationalPercentangeChange==0"><i class="icon fa fa-minus"></i></div><div class="change" ng-if="row.internationalPercentangeChange !== 0 && row.internationalPercentangeChange!==\'NA\'"><div class="number" ng-bind="row.internationalPercentangeChange + \' %\'"></div><i ng-if="row.internationalPercentangeChange > 0" class="icon fa fa-caret-up"></i> <i ng-if="row.internationalPercentangeChange < 0" class="icon fa fa-caret-down"></i></div><div class="currency" ng-bind="row.internationalCurrency"></div><div class="price-number" ng-bind="row.internationalPrice"></div><div class="metric" ng-bind="\'per \' +row.internationalMetric"></div><div class="high-lows"><div class="heading">Weekly</div><div class="info"><div class="info-label">High</div><div class="number" ng-if="row.weeklyInternational.high!==\'NA\'">{{row.internationalCurrency + \' \' + row.weeklyInternational.high + \' / \' + row.internationalMetric}}</div></div><div class="info"><div class="info-label">Low</div><div class="number" ng-if="row.weeklyInternational.low!==\'NA\'">{{row.internationalCurrency + \' \' + row.weeklyInternational.low + \' / \' + row.internationalMetric}}</div></div><div class="heading">Monthly</div><div class="info"><div class="info-label">High</div><div class="number" ng-if="row.monthlyInternational.high!==\'NA\'">{{row.internationalCurrency + \' \' + row.monthlyInternational.high + \' / \' + row.internationalMetric}}</div></div><div class="info"><div class="info-label">Low</div><div class="number" ng-if="row.monthlyInternational.low!==\'NA\'">{{row.internationalCurrency + \' \' + row.monthlyInternational.low + \' / \' + row.internationalMetric}}</div></div></div><div class="lastUpdated" ng-bind="(row.intlastUpdated !== \'NA\') ? (row.intlastUpdated | date: vm.appFormats.Time) : \'NA\'"></div></div><div ng-if="row.internationalPrice===\'NA\'" class="col-lg-6 col-sm-6 priceDetails"><div class="currency">International</div><div class="price-number-na">NA</div></div><div ng-if="row.localCurrency!==\'NA\'" class="col-lg-6 col-sm-6 priceDetails"><div class="currency">Local</div><div class="change" ng-if="row.localPercentangeChange==\'NA\' || row.localPercentangeChange==0"><i class="icon fa fa-minus"></i></div><div class="change" ng-if="row.localPercentangeChange !== 0 && row.localPercentangeChange!==\'NA\'"><div class="number" ng-bind="row.localPercentangeChange + \' %\'"></div><i ng-if="row.localPercentangeChange > 0" class="icon fa fa-caret-up"></i> <i ng-if="row.localPercentangeChange < 0" class="icon fa fa-caret-down"></i></div><div class="currency" ng-bind="row.localCurrency"></div><div class="price-number" ng-bind="row.localPrice"></div><div class="metric" ng-bind="\'per \' +row.localMetric"></div><div class="high-lows"><div class="heading">Weekly</div><div class="info"><div class="info-label">High</div><div class="number" ng-if="row.weeklyInternational.high!==\'NA\'">{{row.localCurrency + \' \' + row.weeklyLocal.high + \' / \' + row.localMetric}}</div></div><div class="info"><div class="info-label">Low</div><div class="number" ng-if="row.weeklyInternational.low!==\'NA\'">{{row.localCurrency + \' \' + row.weeklyLocal.low + \' / \' + row.localMetric}}</div></div><div class="heading">Monthly</div><div class="info"><div class="info-label">High</div><div class="number" ng-if="row.monthlyLocal.high!==\'NA\'">{{row.localCurrency + \' \' + row.monthlyLocal.high + \' / \' + row.localMetric}}</div></div><div class="info"><div class="info-label">Low</div><div class="number" ng-if="row.monthlyLocal.low!==\'NA\'">{{row.localCurrency + \' \' + row.monthlyLocal.low + \' / \' + row.localMetric}}</div></div></div><div class="lastUpdated" ng-bind="(row.locallastUpdated !== \'NA\') ? (row.locallastUpdated | date: vm.appFormats.Time) : \'NA\'"></div></div><div ng-if="row.localCurrency===\'NA\'" class="col-lg-6 col-sm-6 priceDetails"><div class="currency">Local</div><div class="price-number-na">NA</div></div><button class="btn btn-primary col-lg-8 analytics-button" ng-click="vm.productPriceReport(row.productItemId)">Price Analytics</button></div></div></div></div></div></div></div>'),e.put("app/dashboard/pricing/productPricing.html",'<div class="row"><div class="col-md-6 marginBottom10px" ng-if="!vm.showForm"><button class="btn btn-primary" data-toggle="modal" ng-click="vm.addNewProductItemPrice()">Add New Product Price</button></div><div class="col-md-12"><div ba-panel="" ba-panel-class="profile-page" ng-if="vm.showForm"><div class="panel-content"><form name="vm.marketPriceForm" novalidate=""><h3 class="with-line"></h3><div class="row"><div class="col-md-6"><div class="form-group row clearfix"><label for="productItem" class="col-sm-3 control-label">Product Item</label><div class="col-sm-9"><selectize ng-required="true" name="productItem" id="productItem" config="vm.productItemConfig" options="vm.productItemOptions.list" ng-model="vm.marketPriceObj.productItemId"></selectize><ng-messages for="vm.marketPriceForm.productItem.$error" ng-if="(vm.marketPriceForm.$submitted || vm.marketPriceForm.productItem.$dirty)"><div ng-message="required" class="errorValidation">Please enter product item.</div></ng-messages></div></div><div class="form-group row clearfix"><label for="priceMarket" class="col-sm-3 control-label">Price Date</label><div class="col-sm-9"><div uib-datepicker="" ng-model="vm.marketPriceObj.priceTime" ng-change="vm.onPriceDateChange()" class="calender margin-top-10px" datepicker-options="options"></div></div></div></div><div class="col-md-6"><div class="form-group row clearfix"><label for="priceMarket" class="col-sm-3 control-label">Price Market</label><div class="col-sm-9"><selectize ng-required="true" name="priceMarket" on-change="vm.onPriceMarketChange()" id="priceMarket" config="vm.priceMarketConfig" options="vm.priceMarketOptions.list" ng-model="vm.marketPriceObj.priceMarketId"></selectize><ng-messages for="vm.marketPriceForm.priceMarket.$error" ng-if="(vm.marketPriceForm.$submitted || vm.marketPriceForm.priceMarket.$dirty)"><div ng-message="required" class="errorValidation">Please enter price market.</div></ng-messages></div></div><div class="form-group row clearfix"><label for="priceMarket" class="col-sm-3 control-label">Price Time</label><div class="col-sm-9"><div uib-timepicker="" ng-model="vm.marketPriceObj.priceTime" ng-change="changed()" hour-step="1" minute-step="1" show-meridian="true"></div></div></div><div class="form-group row clearfix"><label for="priceMarket" class="col-sm-3 control-label">Price Metric</label><div class="col-sm-9"><selectize ng-required="true" name="priceMetric" id="priceMetric" config="vm.priceMetricConfig" options="vm.priceMetricOptions.list" ng-model="vm.marketPriceObj.priceMetricId"></selectize><ng-messages for="vm.marketPriceForm.priceMarket.$error" ng-if="(vm.marketPriceForm.$submitted || vm.marketPriceForm.priceMetric.$dirty)"><div ng-message="required" class="errorValidation">Please enter price metric.</div></ng-messages></div></div></div></div><div class="row"><div class="col-md-12"><div class="form-group row clearfix"><label for="priceComments" class="col-sm-3 control-label">Comments</label><div class="col-sm-12"><textarea ng-model="vm.marketPriceObj.comments" placeholder="Price comments" class="form-control" id="priceComments">\n                        </textarea></div></div></div></div><h3 class="with-line">Pricing Details &nbsp; <i ng-click="vm.addMarketPriceItemObj(vm.marketPriceObj)" class="fa fa-plus primary-font cursor-pointer"></i></h3><div ng-repeat="price in vm.marketPriceObj.priceItems" class="notification row clearfix margin-top-10px"><div class="col-sm-4"><div class="form-group row clearfix"><label class="col-xs-3" for="shipmentMonth_{{index}}">Shipment</label><div class="col-xs-9"><selectize name="{{\'shipmentMonth_\'+$index}}" ng-required="true" id="shipmentMonth_{{index}}" config="vm.shipmentMonthConfig" options="vm.shipmentMonthOptions.list" ng-model="price.shipmentMonths"></selectize><div ng-messages="vm.marketPriceForm[\'shipmentMonth_\'+$index].$error" class="ng-messages" ng-show=\'(vm.marketPriceForm.$submitted || vm.marketPriceForm["shipmentMonth_{{$index}}"].$dirty)\'><div class="errorValidation" ng-message="required">Please enter shipment month.</div></div></div></div></div><div class="col-sm-4"><div class="form-group row clearfix"><label class="col-xs-4">Price ({{vm.currentCurrency}} / {{vm.marketPriceObj.priceMetricId ? vm.marketPriceObj.priceMetricId : \'FCL\' }})</label><div class="col-xs-8"><input ng-required="true" ng-pattern="/^[0-9]+(\\.[0-9][0-9])$/i" ng-model="price.priceValue" class="form-control" name="{{\'priceValue_\'+$index}}" placeholder="Market price in {{vm.currentCurrency}}"><div ng-messages="vm.marketPriceForm[\'priceValue_\'+$index].$error" class="ng-messages" ng-show=\'(vm.marketPriceForm.$submitted || vm.marketPriceForm["priceValue_{{$index}}"].$dirty)\'><div class="errorValidation" ng-message="required">Please enter price value.</div><div class="errorValidation" ng-message="pattern">Price should be number in two decimals.</div></div></div></div></div><div class="col-sm-2"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" ng-change="vm.currentValueChange(vm.marketPriceObj, price, price.currentValue)" ng-model="price.currentValue"> <span>Current Market Value</span></label></div></div><div class="col-sm-2"><i ng-click="vm.removeMarketPriceItemObj(vm.marketPriceObj, price)" class="fa fa-trash primary-font cursor-pointer" style="padding-top: 10px;"></i></div><br><br><h3 class="with-line margin-top-10px margin-bottom-10px" style="width:98%; margin-left: auto; margin-right: auto;"></h3></div><button type="submit" ng-if="!vm.marketPriceObj.id" ng-click="vm.addMarketPrice(vm.marketPriceForm, vm.marketPriceObj, true)" class="btn btn-success btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Add Pricing And Add Another</button> <button type="submit" ng-if="!vm.marketPriceObj.id" ng-click="vm.addMarketPrice(vm.marketPriceForm, vm.marketPriceObj, false)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Add Pricing And Exit</button> <button type="submit" ng-if="vm.marketPriceObj.id" ng-click="vm.updateMarketPrice(vm.marketPriceForm, vm.marketPriceObj)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Update Pricing</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></form></div></div><filter-bar ng-show="!vm.showForm" date-picker-needed="true" country="true" price-market="true" product="true" date-picker="vm.dateRange" on-date-change="vm.onDateRangeChanged(dateRange)" on-products-selected-changed="vm.onProductsSelectedChanged(selectedList)" on-country-selected-changed="vm.onCountrySelectedChanged(selectedList)" on-price-market-selected-changed="vm.onPriceMarketSelectedChanged(selectedList)"></filter-bar><div ba-panel="" ba-panel-class="with-scroll min-height-500px" ng-show="!vm.showForm"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.allPriceItems.length!==0"><th><span class="count">{{vm.allPriceItems.length}}</span></th><th>Price Time</th><th>Product</th><th>Origin</th><th>Keywords</th><th>Price Market</th><th>Market Currency</th><th>Price Metric</th><th>Price</th><th>Updated By</th><th>Actions</th></tr><tr class="table-header" ng-if="vm.allPriceItems.length===0"><th>No Price Items have been added for this date.</th></tr></thead><tbody ng-repeat="row in vm.allPriceItems | selectedRows:vm.priceItemsToRemove:\'id\'"><tr><td ng-click="vm.toggleDetailDisplay(row)"><i class="fa fa-plus-square cursor-pointer" aria-hidden="true" ng-if="!row.showDetails"></i> <i class="fa fa-minus-square cursor-pointer" aria-hidden="true" ng-if="row.showDetails"></i></td><td ng-bind="row.priceTime | date:vm.appFormats.Time"></td><td ng-bind="row.productName"></td><td ng-bind="row.productOriginName"></td><td ng-bind="row.keywords"></td><td ng-bind="row.marketCountry"></td><td ng-bind="row.marketCurrency"></td><td ng-bind="row.priceMetric"></td><td class="titled" ng-bind="row.marketCurrency + \' \' + row.currentPrice"></td><td class="titled" ng-bind="row.updatedBy ? row.updatedBy : row.createdBy"></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.editProductItemPrice(row)">Edit</button> <button class="btn btn-danger editable-table-button btn-xs" ng-click="vm.deleteMarketPrice(row)">Delete</button></div></td></tr><tr><td colspan="12"><div class="priceDetails row" ng-show="row.showDetails"><div class="col-md-4 comments"><div class="label col-md-12">Comments</div><div class="label col-md-12 comment" ng-bind="row.comments"></div></div><div class="col-md-8"><div class="col-md-12 priceInfo" ng-repeat="price in row.priceItems"><div class="col-md-8" ng-repeat="month in price.shipmentMonths"><div ng-bind="month | date: vm.appFormats.ShipmentMonth"></div></div><div class="col-md-4" ng-bind="row.marketCurrency + \' \' + price.priceValue"></div></div></div></div></td></tr></tbody></table></div></div></div></div>'),e.put("app/dashboard/products/priceAnalytics.html",'<filter-bar ng-show="!vm.showForm" date-picker-needed="true" date-picker="vm.dateRange" on-date-change="vm.onDateRangeChanged(dateRange)"></filter-bar><div class="col-xlg-12 col-lg-12 col-md-12 col-sm-12 col-xs-12" ba-panel=""><div class="row"><div class="row pie-charts" ng-if="vm.showCharts"><div class="pie-chart-item-container"><div ba-panel=""><div class="pie-chart-item"><div class="chart" rel="{{ ::vm.dashboardColors.colors.success }}" data-percent="{{vm.sumData.sumPercentage}}"><span class="percent"></span></div><div class="description"><div>Average Price</div><div class="description-stats">{{::vm.sumData.filteredSum}}<span class="metric">FCL</span></div></div></div></div></div></div><div class="col-xlg-12 col-lg-12 col-md-12 col-sm-7 col-xs-12" ba-panel="" ba-panel-class="medium-panel"><line-chart chart-data="vm.graphData"></line-chart></div></div></div>'),e.put("app/dashboard/products/productCategories.html",'<div class="row"><div class="col-md-12 marginBottom10px" ng-if="!vm.showForm"><button class="btn btn-primary" ng-click="vm.addNewCategory()">Add New Category</button></div><div class="col-md-12"><div ba-panel="" ba-panel-class="profile-page" ng-if="vm.showForm"><div class="panel-content"><form name="vm.productCategoryForm" novalidate=""><div class="row"><div class="col-md-12"><div class="form-group"><label>Category</label> <input type="text" ng-model="vm.categoryObj.name" ng-required="true" name="categoryName" class="form-control" id="categoryName" placeholder="Category"><ng-messages for="vm.productCategoryForm.productName.$error" ng-if="(vm.productCategoryForm.$submitted && vm.productCategoryForm.categoryName.$invalid) || (vm.productCategoryForm.categoryName.$invalid && vm.productCategoryForm.categoryName.$dirty)"><div ng-message="required" class="errorValidation">Please enter a category name</div></ng-messages><span class="help-block error-block basic-block">Required</span></div></div><div class="col-md-12"><div class="form-group"><label>Description</label> <textarea placeholder="Category Description" ng-model="vm.categoryObj.description" class="form-control" id="priceComments"></textarea></div></div><button type="submit" ng-if="!vm.categoryObj.id" ng-click="vm.addCategory(vm.productCategoryForm, vm.categoryObj)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Add Product Category</button> <button type="submit" ng-if="vm.categoryObj.id" ng-click="vm.updateCategory(vm.productCategoryForm, vm.categoryObj)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Update Product Category</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div></div></div><div class="col-md-12"><div ba-panel="" ba-panel-class="with-scroll"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.allCategories.length!==0"><th>Product Category</th><th>Description</th><th>Number of Keywords</th><th>Number of Products</th><th>Actions</th></tr><tr class="table-header" ng-if="vm.allCategories.length===0"><th>No values have been added.</th></tr></thead><tbody><tr ng-repeat="row in vm.allCategories"><td class="titled" ng-bind="row.name"></td><td ng-if="row.description" ng-bind="row.description"></td><td ng-if="!row.description">No Description Provided</td><td ng-bind="row.keywordCount"></td><td ng-bind="row.productCount"></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.editCategory(row)">Edit</button> <button style="width: 115px;" class="btn btn-success editable-table-button btn-xs" ng-click="vm.specification(row.id)">Specification</button></div></td></tr></tbody></table></div></div></div></div>'),e.put("app/dashboard/products/productItems.html",'<div class="row"><div class="col-md-6 marginBottom10px" ng-if="!vm.showForm"><button class="btn btn-primary" data-toggle="modal" ng-click="vm.addNewProductItem()">Add New Product Item</button></div></div><filter-bar ng-show="!vm.showForm" country="true" product="true" on-products-selected-changed="vm.onProductsSelectedChanged(selectedList)" on-country-selected-changed="vm.onCountrySelectedChanged(selectedList)"></filter-bar><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-class="profile-page" ng-if="vm.showForm"><div class="panel-content"><form name="vm.productItemForm" novalidate=""><div class="row"><div class="col-md-6"><div class="form-group"><label>Product</label><selectize ng-required="true" name="product" config="vm.productConfig" options="vm.productOptions.list" ng-model="vm.productItem.productId"></selectize><ng-messages for="vm.productItemForm.productName.$error" ng-if="(vm.productItemForm.$submitted && vm.productItemForm.productName.$invalid) || (vm.productItemForm.productName.$invalid && vm.productItemForm.productName.$dirty)"><div ng-message="required" class="errorValidation">Please select a product.</div></ng-messages><span class="help-block error-block basic-block">Required</span></div></div><div class="col-md-6"><div class="form-group"><label>Product Origin</label><selectize ng-disabled="!vm.productItem.productId" id="product-origin" ng-required="true" name="productOrigin" config="vm.originConfig" options="vm.originOptions.list" ng-model="vm.productItem.origin"></selectize><ng-messages for="vm.productItemForm.productOrigin.$error" ng-if="(vm.productItemForm.$submitted && vm.productItemForm.productOrigin.$invalid) || (vm.productItemForm.productOrigin.$invalid && vm.productItemForm.productOrigin.$dirty)"><div ng-message="required" class="errorValidation">Please select a product origin.</div></ng-messages><span class="help-block error-block basic-block">Required</span></div></div><div class="col-lg-12"><div class="form-group"><label>Product Keywords</label><selectize ng-disabled="!vm.productItem.productId" ng-required="true" name="productKeyword" config="vm.keywordConfig" options="vm.keywordOptions.list" ng-model="vm.productItem.keywords"></selectize></div><div class="form-group"><label>Import Expense</label> <input type="text" ng-model="vm.productItem.importExpense" name="importExpense" required="true" class="form-control" id="importExpense" placeholder="Import Expense"><ng-messages for="vm.productItemForm.importExpense.$error" ng-if="(vm.productItemForm.$submitted && vm.productItemForm.importExpense.$invalid) || (vm.productItemForm.importExpense.$invalid && vm.productItemForm.importExpense.$dirty)"><div ng-message="required" class="errorValidation">Please enter import Expense.</div></ng-messages></div><div class="form-group"><label>System Database Ids</label> <input type="text" ng-model="vm.productItem.databaseIds" name="keywordName" class="form-control" id="databaseIds" placeholder="Database Ids"></div></div><div class="col-sm-12"><div class="slider-box col-sm-12 col-md-4" ng-repeat="spec in vm.productItem.specification | orderBy:\'name\'"><h5 ng-bind="spec.name" style="padding-top: 20px"></h5><input style="margin-top: 25px;" class="form-control" ng-model="spec.value" ng-if="spec.type==\'text\'"><ion-slider ng-if="spec.type==\'percentage\'" type="single" grid="true" from="spec.value" ng-model="spec.value" min="0" max="100" prefix="%" disable="false"></ion-slider></div></div><button type="button" ng-if="!vm.productItem.id" ng-click="vm.addProductItem(vm.productItemForm, vm.productItem)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Add Product Item</button> <button type="button" ng-if="vm.productItem.id" ng-click="vm.updateProductItem(vm.productItemForm, vm.productItem)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Update Product Item</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div></div><div ba-panel="" ng-if="!vm.showForm" ba-panel-class="with-scroll"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.allProductItems.length!==0"><th>Product</th><th>Origin</th><th>Keyword</th><th>Import Expense</th><th>Actions</th></tr><tr class="table-header" ng-if="vm.allProductItems.length===0"><th>No from have been added.</th></tr></thead><tbody><tr ng-repeat="row in vm.allProductItems | orderBy:\'productName\' | selectedRows:vm.productItemToRemove:\'id\'"><td class="titled" ng-bind="row.productName"></td><td><img width="18" src="{{vm.appConstants.HOST + row.productOriginFlag}}">&nbsp; {{row.productOriginName}}</td><td ng-if="row.keywordsString" ng-bind="row.keywordsString"></td><td ng-if="!row.keywordsString">No Keyword attached</td><td ng-bind="row.importExpense"></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.editProductItem(row)">Edit</button> <button style="width: 115px;" ng-class="{\'btn-danger\': !row.priceOnWebsite, \'btn-success\':row.priceOnWebsite}" class="btn editable-table-button btn-xs" ng-click="vm.displayPriceOnWebsite(row)">Price On Website</button></div></td></tr></tbody></table></div></div></div></div>'),
  e.put("app/dashboard/products/productKeyword.html",'<div class="row"><div class="col-md-6 marginBottom10px" ng-if="!vm.showForm"><button class="btn btn-primary" data-toggle="modal" ng-click="vm.addNewKeyword()">Add New Product Keyword</button></div><div class="col-md-12"><div ba-panel="" ba-panel-class="profile-page" ng-if="vm.showForm"><div class="panel-content"><form name="vm.productKeywordForm" novalidate=""><div class="row"><div class="col-md-6"><div class="form-group"><label>Keyword Name</label> <input type="text" ng-model="vm.keywordObj.name" ng-required="true" name="keywordName" class="form-control" id="keywordName" placeholder="Keyword Name"><ng-messages for="vm.productKeywordForm.productName.$error" ng-if="(vm.productKeywordForm.$submitted && vm.productKeywordForm.keywordName.$invalid) || (vm.productKeywordForm.keywordName.$invalid && vm.productKeywordForm.keywordName.$dirty)"><div ng-message="required" class="errorValidation">Please enter a keyword name</div></ng-messages><span class="help-block error-block basic-block">Required</span></div></div><div class="col-md-6"><div class="form-group"><label>Product Category</label><selectize id="category" ng-required="true" name="category" placeholder="Keyword Product Category" config="vm.categoryConfig" options="vm.categoryOptions.list" ng-model="vm.keywordObj.categoryId"></selectize><ng-messages for="vm.productKeywordForm.productOrigin.$error" ng-if="(vm.productKeywordForm.$submitted && vm.productKeywordForm.category.$invalid) || (vm.productKeywordForm.category.$invalid && vm.productKeywordForm.category.$dirty)"><div ng-message="required" class="errorValidation">Please select category</div></ng-messages></div></div><button type="submit" ng-if="!vm.keywordObj.id" ng-click="vm.addKeyword(vm.productKeywordForm, vm.keywordObj)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Add Product Item</button> <button type="submit" ng-if="vm.keywordObj.id" ng-click="vm.updateKeyword(vm.productKeywordForm, vm.keywordObj)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Update Product Item</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div></div><div ba-panel="" ba-panel-class="with-scroll"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.allKeywords.length!==0"><th>Keywords</th><th>Category</th><th>No. of Product Items</th><th>Actions</th></tr><tr class="table-header" ng-if="vm.allKeywords.length===0"><th>No keywords have been added.</th></tr></thead><tbody><tr ng-repeat="row in vm.allKeywords"><td class="titled" ng-bind="row.name"></td><td ng-if="row.categoryName" ng-bind="row.categoryName"></td><td ng-if="!row.categoryName">No category assigned</td><td ng-bind="row.noOfProductItems"></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.editKeyword(row)">Edit</button></div></td></tr></tbody></table></div></div></div></div>'),e.put("app/dashboard/products/productSpecification.html",'<div ba-panel="" ba-panel-title="{{vm.categoryName}} Specification" ba-panel-class="profile-page" class="row"><div><div class="panel-content"><form name="vm.productSpecificationForm" novalidate=""><h3 class="with-line">Add Specification Item <i ng-click="vm.addSpecificationItem(vm.marketPriceObj)" class="fa fa-plus primary-font cursor-pointer"></i></h3><div ng-repeat="spec in vm.specificationData.specs" class="notification row clearfix margin-top-10px"><div class="col-sm-4 col-xs-12"><div class="form-group row clearfix"><label class="col-xs-12 col-sm-4" for="specName_{{$index}}">Specification Name</label><div class="col-xs-12 col-sm-8"><input class="form-control" name="{{\'specName_\'+$index}}" ng-required="true" id="specName_{{$index}}" ng-model="spec.name"><ng-messages for="vm.productSpecificationForm[\'specName_\'+$index].$error" ng-if=\'(vm.productSpecificationForm.$submitted && vm.productSpecificationForm["specName_"+$index].$invalid) || (vm.productSpecificationForm["specName_"+$index].$invalid && vm.productSpecificationForm["specName_"+$index].$dirty)\'><div ng-message="required" class="errorValidation">Please enter specification name.</div></ng-messages></div></div></div><div class="col-sm-6 col-xs-12"><div class="form-group row clearfix"><label class="col-xs-12 col-sm-3">Specification Type</label><div class="col-xs-12 col-sm-9"><div class="input-demo radio-demo row"><div class="col-md-2 col-xs-12"><label class="radio-inline custom-radio nowrap"><input type="radio" ng-model="spec.type" name="{{\'specType_\'+$index}}" required="" value="percentage"> <span>Percentage</span></label></div><div class="col-md-2 col-xs-12"><label class="radio-inline custom-radio nowrap"><input type="radio" ng-model="spec.type" name="{{\'specType_\'+$index}}" required="" value="text"> <span>Text</span></label></div><div class="col-sm-12"><ng-messages for="vm.productSpecificationForm[\'specType_\'+$index].$error" ng-if=\'(vm.productSpecificationForm.$submitted && vm.productSpecificationForm["specType_"+$index].$invalid) || (vm.productSpecificationForm["specType_"+$index].$invalid && vm.productSpecificationForm["specType_"+$index].$dirty)\'><div ng-message="required" class="errorValidation">Please enter specification type.</div></ng-messages></div></div></div></div></div><div class="col-sm-2"><i ng-click="vm.removeSpecItem(vm.specificationData.specs, spec)" class="fa fa-trash primary-font cursor-pointer" style="padding-top: 10px;"></i></div></div><div class="row"><button type="submit" ng-click="vm.saveSpecs(vm.productSpecificationForm, vm.specificationData)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Save Product Category Specification</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div></div></div>'),e.put("app/dashboard/products/products.html",'<div class="row"><div class="col-md-6 marginBottom10px" ng-if="!vm.showForm"><button class="btn btn-primary" ng-click="vm.addNewProduct()">Add New Product</button></div><div class="col-md-12"><div ng-if="vm.showForm" class="widgets"><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="" ba-panel-class="with-scroll"><ba-wizard on-cancel="vm.cancel()"><ba-wizard-step title="Product Info" form="vm.productInfoForm" on-next="vm.saveProduct(vm.productObj, vm.imagesData)" on-next-callback="vm.onSaveProductCallback(response)" submit-button-title="{{vm.stepTitle[0]}}"><form name="vm.productInfoForm" novalidate=""><div class="product-wizard"><div class="row"><div class="col-md-12"><div class="row"><div class="col-md-12"><div class="form-group"><div class="product-pic col-xs-6 col-xs-offset-3"><div class="product-pic-wrapper"><img ng-src="{{ vm.productImage }}" ng-click="vm.uploadProductImage(event)"></div><i class="ion-ios-close-outline" ng-click="vm.removeProductPicture()" ng-if="!vm.noPicture"></i> <a href="" class="change-userpic" ng-click="vm.uploadProductImage(event)">Change Profile Picture</a> <input type="file" ng-show="false" id="uploadProductFile" ng-file-select="vm.onFileSelect($files)"></div></div></div><div class="col-md-12 distance-10px"></div><div class="col-md-4"><div class="form-group"><label for="productName">Product Name</label> <input autocomplete="false" type="text" class="form-control" id="productName" name="productName" placeholder="Product Name" ng-model="vm.productObj.info.name" required=""><ng-messages for="vm.productInfoForm.productName.$error" ng-if="(vm.productInfoForm.$submitted && vm.productInfoForm.productName.$invalid) || (vm.productInfoForm.productName.$invalid && vm.productInfoForm.productName.$dirty)"><div ng-message="required" class="errorValidation">Please enter product name.</div></ng-messages><span class="help-block error-block basic-block">Required</span></div></div><div class="col-md-4"><div class="form-group"><label for="productName">Product Code</label> <input autocomplete="false" type="text" class="form-control" id="productCode" name="productCode" placeholder="Product Code" ng-model="vm.productObj.info.productCode" required=""><ng-messages for="vm.productInfoForm.productName.$error" ng-if="(vm.productInfoForm.$submitted && vm.productInfoForm.productCode.$invalid) || (vm.productInfoForm.productCode.$invalid && vm.productInfoForm.productCode.$dirty)"><div ng-message="required" class="errorValidation">Please enter product name.</div></ng-messages></div></div><div class="col-md-4"><div class="form-group"><label for="productName">Product Category</label><selectize ng-required="true" name="productCategory" config="vm.categoryConfig" options="vm.categoryOptions.list" ng-model="vm.productObj.info.categoryId"></selectize><ng-messages for="vm.productInfoForm.productCategory.$error" ng-if="(vm.productInfoForm.$submitted && vm.productInfoForm.productCategory.$invalid) || (vm.productInfoForm.productCategory.$invalid && vm.productInfoForm.productCategory.$dirty)"><div ng-message="required" class="errorValidation">Please enter select a product category.</div></ng-messages><span class="help-block error-block basic-block">Required</span></div></div><div class="col-md-12"><div class="form-group"><label>Related Products</label><tags-input ng-model="vm.productObj.info.relatedProduct" display-property="name" template="tag-template" add-on-paste="false"><auto-complete source="vm.loadRelatedProducts($query, vm.productObj.info.id)" template="autocomplete-template"></auto-complete></tags-input></div></div><script type="text/ng-template" id="tag-template"><div class="tag-template"> <div class="right-panel"> <span>{{$getDisplayText()}} - {{data.category}}</span> <a class="remove-button" ng-click="$removeTag()">&#10006;</a> </div> </div></script><script type="text/ng-template" id="autocomplete-template"><div class="autocomplete-template"> <div class="right-panel"> <span>{{$getDisplayText()}} - {{data.category}}</span> <a class="remove-button" ng-click="$removeTag()">&#10006;</a> </div> </div></script><div class="col-md-12"><div class="form-group"><label for="productDescription">Product Description</label><text-angular ng-model="vm.productObj.info.description" id="productDescription"></text-angular></div></div></div></div></div></div></form></ba-wizard-step><ba-wizard-step title="Product Origin" form="vm.productOriginForm" on-next="vm.saveProductOrigin(vm.productObj)" on-next-callback="vm.onSaveProductOriginCallback(response)" submit-button-title="{{vm.stepTitle[1]}}"><form name="vm.productOriginForm"><div class="product-wizard"><div class="row" style="min-height: 300px;"><div class="col-lg-12"><div class="form-group"><label>Origins</label><selectize ng-required="true" name="productOrigins" config="vm.countryConfig" options="vm.countryOptions.list" ng-model="vm.productObj.origins"></selectize><ng-messages for="vm.productOriginForm.productOrigins.$error" ng-if="(vm.productOriginForm.$submitted && vm.productOriginForm.productOrigins.$invalid) || (vm.productOriginForm.productOrigins.$invalid && vm.productOriginForm.productOrigins.$dirty)"><div ng-message="required" class="errorValidation">Please enter atleast one product origin.</div></ng-messages></div></div></div></div></form></ba-wizard-step></ba-wizard></div></div></div></div><div ba-panel="" ba-panel-class="with-scroll" ng-if="!vm.showForm"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.allProducts.length!==0"><th>Product Name</th><th>Product Catrgory</th><th colspan="2">Product Items</th><th>Actions</th></tr><tr class="table-header" ng-if="vm.allProducts.length===0"><th>No values have been added.</th></tr></thead><tbody><tr ng-repeat="row in vm.allProducts | orderBy:\'info.name\'"><td class="titled" ng-bind="row.info.name"></td><td ng-bind="row.info.categoryName"></td><td colspan="2" ng-if="row.productItems.length > 0"><div class="productItemsColumn" ng-repeat="item in row.productItems"><div class="origin"><img width="18" src="{{vm.appConstants.HOST + item.originFlag}}"> {{item.origin}}</div><div class="keywords" ng-bind="item.keywords"></div></div></td><td colspan="2" ng-if="row.productItems.length === 0"><div class="productItemsColumn"><div class="keywords">No product items</div></div></td><td><div class="buttons"><button class="btn btn-success editable-table-button btn-xs" ng-click="vm.productReport($index)">Report</button> <button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.editProduct(row)">Edit</button> <button class="btn editable-table-button btn-xs" ng-class="{\'btn-danger\': !row.info.onWebsite, \'btn-success\': row.info.onWebsite}" ng-click="vm.displayOnWebsite(row)">Website</button> <button ng-if="row.isDeletable" class="btn btn-warning editable-table-button btn-xs" ng-click="vm.deleteProduct(vm.allProducts, row)">Delete</button></div></td></tr></tbody></table></div></div></div></div>'),e.put("app/dashboard/settings/settings.html",'<uib-tabset active="$tabSetStatus.activeTab"><uib-tab heading="Change Password"><div ng-include="\'app/dashboard/settings/templates/changePassword.html\'"></div></uib-tab><uib-tab heading="Application Drop Downs"><div ng-include="\'app/dashboard/settings/templates/appDropDown.html\'"></div></uib-tab><uib-tab heading="Business Details" ng-click="vm.getBusinessSettings()"><div ng-include="\'app/dashboard/settings/templates/businessDetails.html\'"></div></uib-tab></uib-tabset>'),e.put("app/dashboard/shell/shell.html",'<div class="body-bg"></div><main ng-if="$pageFinishedLoading" ng-class="{ \'menu-collapsed\': $baSidebarService.isMenuCollapsed() }"><ba-sidebar ng-mouseover="vm.invertSideBar(false)"></ba-sidebar><page-top></page-top><div class="al-main"><div class="al-content"><page-header go-back="true"></page-header><div ui-view="content" ng-mouseover="vm.invertSideBar(true)"></div></div></div><back-top></back-top></main><div id="preloader" ng-show="!$pageFinishedLoading"><div></div></div>'),e.put("app/dashboard/shipping/portForm.html",'<div class="col-md-12"><div ba-panel="" ba-panel-class="profile-page"><div class="panel-content"><form name="vm.portForm" novalidate=""><div class="row"><div class="col-md-6"><div class="form-group"><label>Country</label><selectize placeholder="Country" name="country" ng-required="true" config="vm.countryConfig" options="vm.countryOptions.list" ng-model="vm.portObj.countryCode"></selectize><ng-messages for="vm.portForm.country.$error" ng-if="(vm.portForm.$submitted || vm.portForm.country.$dirty)"><div ng-message="required" class="errorValidation">Please select a country</div></ng-messages></div></div></div><div class="row"><div class="col-md-6"><div class="form-group"><label>Lo Code</label> <input type="text" ng-model="vm.portObj.loCode" ng-required="true" name="loCode" class="form-control" id="loCode" placeholder="Lo Code"><ng-messages for="vm.portForm.loCode.$error" ng-if="(vm.portForm.$submitted || vm.portForm.loCode.$dirty)"><div ng-message="required" class="errorValidation">Please enter Port LO Code</div></ng-messages></div></div><div class="col-md-6"><div class="form-group"><label>Name</label> <input type="text" ng-model="vm.portObj.name" ng-required="true" name="name" class="form-control" id="name" placeholder="Name"><ng-messages for="vm.portForm.name.$error" ng-if="(vm.portForm.$submitted || vm.portForm.name.$dirty)"><div ng-message="required" class="errorValidation">Please enter port Name</div></ng-messages></div></div><div class="col-md-6"><div class="form-group"><label>Contact No.</label> <input type="text" ng-model="vm.portObj.contactNo" name="contactNo" class="form-control" id="contactNo" placeholder="Contact No"></div></div><div class="col-md-6"><div class="form-group"><label>Website</label> <input type="text" ng-model="vm.portObj.website" name="loCode" class="form-control" id="website" placeholder="Website"></div></div><div class="row"><button type="submit" ng-if="!vm.portObj.id" ng-click="vm.addPort(vm.portForm, vm.portObj)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Add Shipment Port</button> <button type="submit" ng-if="vm.portObj.id" ng-click="vm.updatePort(vm.portForm, vm.portObj)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Update Shipment Port</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></div></form></div></div></div>'),e.put("app/dashboard/shipping/ports.html",'<filter-bar country="true" on-country-selected-changed="vm.onCountrySelectedChanged(selectedList)"></filter-bar><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="All Ports" ba-panel-class="with-scroll"><table class="table"><thead><tr class="sortable table-header" ng-if="vm.portsList.length!==0"><th><span class="count">{{vm.portsList.length}}</span></th><th ng-repeat="name in vm.heading" ng-bind="name"></th></tr><tr class="table-header" ng-if="vm.portsList.length===0"><th>No ports have been added.</th></tr></thead><tbody><tr ng-repeat="row in vm.portsList | selectedRows:vm.portsToRemove:\'id\' | orderBy: \'loCode\'"><td></td><td ng-bind="row.loCode"></td><td ng-bind="row.name"></td><td ng-bind="row.country"></td><td ng-bind="row.contactNo === \'n/a\' ? \'N/A\' : row.contactNo"></td><td ng-if="row.website!==\'n/a\'"><a class="titled" target="_blank" href="{{row.website}}">{{row.website}}</a></td><td ng-if="row.website===\'n/a\'">N/A</td><td ng-bind="row.addedBy"></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.goToShipmentPortForm(\'dashboard.shipping.ports.form\', row.id)">Edit</button> <button class="btn btn-warning editable-table-button btn-xs" ng-click="vm.deletePort(row, vm.portsList)">Delete</button></div></td></tr></tbody></table></div></div></div>'),e.put("app/dashboard/shipping/shipping.html",'<div ba-panel=""><div>Shipping</div></div>'),e.put("app/dashboard/shipping/shippingLine.html",'<div ba-panel="" ba-panel-title="All Shipping Line ({{vm.shippingLineList.length}})"><div><shipping-line-card ng-repeat="line in vm.shippingLineList | orderBy:\'codeName\'" col-size="4" delete="vm.deleteCallback(id)" shipping-line="line"></shipping-line-card></div></div>'),e.put("app/dashboard/shipping/shippingLineForm.html",'<div ba-panel="" ba-panel-class="profile-page"><div class="panel-content"><form name="vm.shippingLineForm" novalidate=""><h3 class="with-line">Shipping Line Information</h3><div class="row"><div class="col-md-2"><div class="form-group row clearfix"><div class="col-sm-12"><div class="userpic"><div class="userpic-wrapper"><img ng-src="{{ vm.shippingLineLogo }}" ng-click="vm.uploadPicture(event)"></div><i class="ion-ios-close-outline" ng-click="vm.removeLogo()" ng-if="!vm.noLogo"></i> <a href="" class="change-userpic" ng-click="vm.uploadLogo(event)">Change Shipping Line Logo</a> <input type="file" ng-show="false" id="uploadFile" ng-file-select="vm.onFileSelect($files)"></div></div></div></div><div class="col-md-4"><div class="form-group"><label for="lineCode">Shipping Line Code</label> <input autocomplete="false" type="text" class="form-control" id="lineCode" name="lineCode" placeholder="Shipping Line Code" ng-model="vm.shippingObj.codeName" required=""><ng-messages for="vm.shippingLineForm.lineCode.$error" ng-if="(vm.shippingLineForm.$submitted || vm.shippingLineForm.lineCode.$dirty)"><div ng-message="required" class="errorValidation">Please enter line code name.</div></ng-messages></div><div class="form-group"><label for="lineCode">Shipping Line Name</label> <input autocomplete="false" type="text" class="form-control" id="lineName" name="lineName" placeholder="Shipping Line Name" ng-model="vm.shippingObj.name" required=""><ng-messages for="vm.shippingLineForm.lineName.$error" ng-if="(vm.shippingLineForm.$submitted || vm.shippingLineForm.lineName.$dirty)"><div ng-message="required" class="errorValidation">Please enter line name.</div></ng-messages></div></div><div class="col-md-4"><div class="form-group"><label for="lineCode">Shipping Line Website</label> <input autocomplete="false" type="text" class="form-control" id="lineWebsite" name="lineWebsite" placeholder="Shipping Line Website" ng-model="vm.shippingObj.website"></div><div class="form-group"><label for="lineCode">Shipping Line Tracking URL</label> <input autocomplete="false" type="text" class="form-control" id="lineTrackingWebsite" name="lineTrackingWebsite" placeholder="Shipping Line Tracking URL" ng-model="vm.shippingObj.trackingWebsite"></div></div></div><div class="row"><div class="col-xs-12"><button class="btn btn-success" type="submit" ng-if="!vm.shippingObj.id" ng-click="vm.saveShippingLine(vm.shippingLineForm, vm.shippingObj, vm.imagesData, true)">Add New Shipping Line And Add Another</button> <button class="btn btn-primary" type="submit" ng-click="vm.saveShippingLine(vm.shippingLineForm, vm.shippingObj, vm.imagesData, false)">{{(!vm.shippingObj.id ? \'Add New Shipping Line\' : \'Update Shipping Line\')}}</button> <button class="btn btn-danger" ng-click="vm.cancel()">Cancel</button></div></div></form></div></div>'),e.put("app/dashboard/shipping/vessel.html",'<div class="col-md-6" ba-panel="" ba-panel-title="All Vessels ({{vm.vesselList.length}})"><div class="searchFormContainer"><form name="vm.vesselSearch" novalidate=""><div class="row"><div class="col-md-6"><div class="form-group"><h3 class="with-line" for="vesselName">Search Type</h3><selectize name="searchType" config="vm.searchTypeConfig" options="vm.searchOptions" ng-model="vm.searchObj.queryType"></selectize></div></div><div class="col-md-6"><div class="form-group"><h3 class="with-line" for="vesselName">Search Query</h3><input autocomplete="false" type="text" class="form-control" id="vesselName" name="vesselName" placeholder="Vessel Query" ng-model="vm.searchObj.query" required=""></div></div></div><div class="row"><div class="col-xs-12"><button class="btn btn-primary" ng-click="vm.getVesselList(vm.searchObj)">Search Vessel</button> <button class="btn btn-danger">Clear</button></div></div></form></div></div><div class="col-md-12" ng-if="vm.vesselList.length>0"><div ba-panel="" ba-panel-title="All Vessels"><vessel-card ng-repeat="vessel in vm.vesselList" col-size="4" vessel="vessel"></vessel-card></div></div>'),e.put("app/dashboard/shipping/vesselForm.html",'<div ba-panel="" ba-panel-class="profile-page"><div class="panel-content"><form name="vm.vesselForm" novalidate=""><h3 class="with-line">Vessel Basic Information</h3><div class="row"><div class="col-md-4"><div class="form-group"><label for="imoNumber">Vessel IMO Number</label> <input autocomplete="false" type="text" class="form-control" id="imoNumber" name="imoNumber" placeholder="IMO Number" ng-model="vm.vesselObj.imoNumber" required=""><ng-messages for="vm.vesselForm.imoNumber.$error" ng-if="(vm.vesselForm.$submitted || vm.vesselForm.imoNumber.$dirty)"><div ng-message="required" class="errorValidation">Please enter IMO Number.</div></ng-messages></div><div class="form-group"><label for="mmsi">MMSI Number</label> <input autocomplete="false" type="text" class="form-control" id="mmsi" name="mmsi" placeholder="MMSI Number" ng-model="vm.vesselObj.mmsi"></div></div><div class="col-md-4"><div class="form-group"><label for="vesselName">Vessel Name</label> <input autocomplete="false" type="text" class="form-control" id="vesselName" name="vesselName" placeholder="Vessel Name" ng-model="vm.vesselObj.name" required=""><ng-messages for="vm.vesselForm.vesselName.$error" ng-if="(vm.vesselForm.$submitted || vm.vesselForm.vesselName.$dirty)"><div ng-message="required" class="errorValidation">Please enter vessel name.</div></ng-messages></div><div class="form-group"><label>Vessel Operator</label><selectize required="true" name="operator" placeholder="Select Shipping Line" config="vm.shippingLineConfig" options="vm.shippingLineOptions.list" ng-model="vm.vesselObj.shippingLineId"></selectize><ng-messages for="vm.vesselForm.operator.$error" ng-if="(vm.vesselForm.$submitted || vm.vesselForm.operator.$dirty)"><div ng-message="required" class="errorValidation">Please enter vessel operator shipping line.</div></ng-messages></div></div></div><div class="row"><div class="col-xs-12"><button class="btn btn-primary" type="submit" ng-click="vm.saveShippingVessel(vm.vesselForm, vm.vesselObj)">{{(vm.vesselObj.id ? \'Update Vessel Information\' : \'Add New Shipping Vessel\')}}</button> <button type="button" class="btn btn-danger" ng-click="vm.cancel()">Cancel</button></div></div></form></div></div>'),e.put("app/dashboard/tradeBook/tradeBook.html",'<filter-bar date-picker-needed="true" page="tradeBook" buyer="true" seller="true" product-items="true" tran-status="true" date-picker="vm.dateRange" on-date-change="vm.onDateRangeChanged(dateRange, false)" on-buyers-selected-changed="vm.onBuyersSelectedChanged(selectedList, initialized)" on-sellers-selected-changed="vm.onSellersSelectedChanged(selectedList, initialized)" on-product-item-selected-changed="vm.onProductsSelectedChanged(selectedList, initialized)" on-tran-status-selected-changed="vm.onTranStatusSelectedChanged(selectedList, initialized)"></filter-bar><trade-table type="{{vm.pageType}}" column-header="vm.columnHeader" list-data="vm.allTransactionsList" items-per-page="10"></trade-table>'),e.put("app/dashboard/tradeBook/tradeList.html",'<filter-bar page="tradeBook" buyer="true" seller="true" product-items="true" on-buyers-selected-changed="vm.onBuyersSelectedChanged(selectedList, initialized)" on-sellers-selected-changed="vm.onSellersSelectedChanged(selectedList, initialized)" on-product-item-selected-changed="vm.onProductsSelectedChanged(selectedList, initialized)"></filter-bar><trade-table type="{{vm.reportType}}" column-header="vm.columnHeader" list-data="vm.transactions" items-per-page="10"></trade-table>'),e.put("app/dashboard/user/allUsers.html",'<div class="row"><div class="col-md-6 marginBottom10px" ng-if="!vm.showForm"><button class="btn btn-primary" data-toggle="modal" ng-click="vm.addNewUser()">Add New User</button></div><div class="col-md-12"><div ba-panel="" ba-panel-title="<small>Total {{vm.allUsers.length}} System Users</small>" ba-panel-class="with-scroll"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header"><th>Username</th><th>Full Name</th><th>Email</th><th>Designation</th><th>Last Login</th><th class="center-align">Is Active</th><th>Actions</th></tr></thead><tbody><tr ng-repeat="user in vm.allUsers"><td><a class="email-link">{{user.userName}}</a></td><td>{{user.firstName + \' \' + user.lastName}}</td><td>{{user.email}}</td><td>{{user.designation}}</td><td>{{user.lastLogin | date:vm.appFormats.Time}}</td><td class="center-align"><i ng-if="user.active" ng-click="" class="fa fa-unlock cursor-pointer"></i> <i ng-if="!user.active" ng-click="" class="fa fa-lock cursor-pointer"></i></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.editUser(user.id)">Edit</button></div></td></tr></tbody></table></div></div></div></div>'),e.put("app/dashboard/website/blog.html",'<div class="row"><div class="col-md-6 marginBottom10px" ng-if="!vm.showForm"><button class="btn btn-primary" ng-click="vm.addNewResearch()">Add New Research</button></div><div class="col-md-12" ba-panel="" ng-show="!vm.showForm"><div ng-repeat="research in vm.researchList" ng-if="vm.researchList.length > 0" class="col-xlg-4 col-lg-4 col-md-4 col-sm-12 col-xs-12" ba-panel="" ba-panel-class="popular-app medium-panel"><blog-card visitors="research.visitors" research-id="research.id" can-edit="research.canEdit" can-delete="research.canDelete" display-web="research.displayOnWeb" is-draft="research.isDraft" on-edit="vm.editResearch(researchId)" author="research.createdBy" user-pic="research.createdByImage" comments="research.comments" reads="research.reads" created-on="research.createdOn" title="research.title" on-display-web="vm.displayResearchOnWeb(researchId)" on-delete="vm.deleteResearch(researchId)" image-url="research.image"></blog-card></div><div ng-if="vm.researchList.length == 0"><table class="table table-striped" st-table="smartTableData"><thead><tr class="table-header"><th>No Research have been added.</th></tr></thead></table></div></div><div ba-panel="" ba-panel-class="profile-page" ng-show="vm.showForm"><div class="panel-content"><h3 class="with-line">Research</h3><form name="vm.researchForm" novalidate=""><div class="product-wizard"><div class="row"><div class="col-md-12"><div class="row"><div class="col-md-12"><div class="form-group"><div class="product-pic col-xs-6 col-xs-offset-3"><div class="product-pic-wrapper"><img ng-src="{{ vm.blogImage }}" ng-click="vm.uploadResearchImage(event)"></div><i class="ion-ios-close-outline" ng-click="vm.removeResearchImage()" ng-if="!vm.noPicture"></i> <a href="" class="change-userpic" ng-click="vm.uploadResearchImage(event)">Change Blog Image</a> <input type="file" ng-show="false" id="uploadResearchFile" ng-file-select="vm.onFileSelect($files)"></div></div></div><div class="col-md-12 distance-10px"></div><div class="col-md-12"><div class="form-group"><label for="researchTitle">Research Title</label> <input autocomplete="false" type="text" class="form-control" id="researchTitle" name="researchTitle" placeholder="Title" ng-model="vm.researchObj.title" ng-maxlength="120" required=""><ng-messages for="vm.researchForm.researchTitle.$error" ng-if="(vm.researchForm.$submitted && vm.researchForm.researchTitle.$invalid) || (vm.researchForm.researchTitle.$invalid && vm.researchForm.researchTitle.$dirty)"><div ng-message="required" class="errorValidation">Please enter research title.</div><div ng-message="maxlength" class="errorValidation">Can only have 120 characters.</div></ng-messages></div></div><div class="col-md-12"><div class="form-group"><label for="researchTitle">Research Slug</label> <input autocomplete="false" type="text" class="form-control" id="researchSlug" name="researchSlug" placeholder="URL Slug" ng-model="vm.researchObj.slug" required=""><ng-messages for="vm.researchForm.researchSlug.$error" ng-if="(vm.researchForm.$submitted && vm.researchForm.slug.$invalid) || (vm.researchForm.slug.$invalid && vm.researchForm.slug.$dirty)"><div ng-message="required" class="errorValidation">Please enter research slug.</div></ng-messages></div></div><div class="col-md-12"><div class="form-group"><label for="researchTitle">Research Tags</label><tags-input ng-model="vm.researchObj.tags" add-on-paste="true"><auto-complete source="vm.loadTags($query)"></auto-complete></tags-input></div></div><div class="col-md-12"><h3 class="with-line">Research</h3><div class="form-group"><text-angular ng-model="vm.researchObj.content" id="productDescription"></text-angular></div></div><button type="button" ng-click="vm.saveResearch(vm.researchForm, vm.researchObj, vm.imagesData, false)" class="btn btn-success btn-with-icon save-profile"><i class="ion-android-add-circle"></i>Save & Publish</button> <button type="button" ng-click="vm.saveResearch(vm.researchForm, vm.researchObj, vm.imagesData, true)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-add-circle"></i>Save As Draft</button> <button type="button" ng-click="vm.cancel(vm.researchForm)" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></div></div></div></form></div></div></div>'),e.put("app/dashboard/website/website.html",'<div class="row"><div class="col-md-6"><button class="btn btn-primary" ng-click="vm.goToWebsiteBlogs()">Website Blogs</button></div></div><br><div class="row" ba-panel="" ba-panel-title="Last 30 Days Report"><div class="row pie-charts" ng-if="vm.dashboardData.googleAnalyticsConnected"><div class="dash-cards col-xs-4"><div ba-panel=""><div class="card-item"><div class="details row"><div class="col-xs-4 item"><div class="title">Total Users</div><div class="number" ng-bind="vm.cardsTotalData.visits"></div></div><div class="col-xs-4 item"><div class="title">Page Views</div><div class="number" ng-bind="vm.cardsTotalData.pageViews"></div></div><div class="col-xs-4 item"><div class="title">Hits</div><div class="number" ng-bind="vm.cardsTotalData.hits"></div></div></div></div></div></div><div class="dash-cards col-xs-4"><div ba-panel=""><div class="card-item"><div class="details col-xs-12"><div class="col-xs-12 item"><div class="title">Bounce Rate</div><div class="number" ng-bind="vm.cardsTotalData.bounceRate | percentage: 2"></div></div></div></div></div></div><div class="dash-cards col-xs-4"><div ba-panel=""><div class="card-item"><div class="details col-xs-12"><div class="col-xs-6 item"><div class="title">Sessions</div><div class="number" ng-bind="vm.cardsTotalData.sessions"></div></div><div class="col-xs-6 item"><div class="title">Average Session Duration</div><div class="number" ng-bind="vm.cardsTotalData.avgSessionDuration | secondsToDateTime | date:\'HH:mm:ss\'"></div></div></div></div></div></div></div><div class="col-md-12" ba-panel="" ba-panel-class="medium-panel"><button class="col-md-offset-3 col-md-6 btn btn-success" ng-if="!vm.dashboardData.googleAnalyticsConnected" ng-click="vm.connectGoogleAnalytics()">Connect with Google Analytics to create website dashboard</button><div class="col-xlg-12 col-lg-12 col-md-12 col-sm-12 col-xs-12" ng-if="vm.dashboardData.googleAnalyticsConnected" ba-panel="" ba-panel-class="medium-panel"><line-chart chart-data="vm.trafficChartData" chart-values="vm.trafficChartValues"></line-chart></div><div class="col-xlg-12 col-lg-12 col-md-12 col-sm-12 col-xs-12" ng-if="vm.dashboardData.googleAnalyticsConnected" ba-panel="" ba-panel-class="medium-panel"><map-bubbles heading="Traffic By Country" map-chart-data="vm.mapData"></map-bubbles></div></div></div>'),
  e.put("app/landing/home/home.html",'<section id="story-home"><div class="story" style="padding-top: 0px; !important"><div class="wrapper"><div class="tp-homeSlider2016"><section class="newSlide intro clearfix" id="tpSlide1"><div class="homeSliderContent"><h1>Enabling Business Transformation</h1><p>Development Acceleration<br>Modernization, Mobility, Experience<br>Speed-to-market</p></div><div class="homeSliderArtwork"><img src="assets/img/landing/slider1.jpg" alt=""></div></section><div class="slider2016Nav"><a id="slideNavLeft"></a> <a id="slideNavRight"></a></div><ul class="sliderPagination"><li data-slide="1" class=""></li><li data-slide="2" class="active"></li></ul></div></div></div></section>'),e.put("app/landing/shell/header.html",'<header id="mainHeader" class="homeNavbar homeNavStickey"><nav id="mainNavWrap" class="navbar navbar-default navbar-fixed-top"><div class="container"><div class="navbar-header"><button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mainNav" aria-expanded="false"><span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span></button> <a class="pull-left" href="http://10pearls.com"><img src="assets/img/favicon-32x32.png" alt="10Pearls" class="img-responsive"></a></div><div class="collapse navbar-collapse" id="mainNav"><ul class="nav navbar-nav"><div class="menu-new-white-menu-container"><ul id="menu-new-white-menu" class="nav-menu"><li id="menu-item-2129" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2129"><a title="Company" href="http://10pearls.com/company/">Company</a></li><li id="menu-item-2286" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-2286 dropdown"><a title="Works" href="#" data-toggle="dropdown" class="dropdown-toggle" aria-haspopup="true">Works</a><ul role="menu" class="dropdown-menu"><li id="menu-item-2231" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-2231"><a title="Time Warner Cable" href="http://10pearls.com/time-warner-cable/">Time Warner Cable</a></li><li id="menu-item-2134" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-2134"><a title="MBO" href="http://10pearls.com/mbo-partners/">MBO</a></li><li id="menu-item-2138" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-2138"><a title="Social Radar" href="http://10pearls.com/social-radar/">Social Radar</a></li><li id="menu-item-2139" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-2139"><a title="Zubie" href="http://10pearls.com/zubie/">Zubie</a></li><li id="menu-item-2136" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-2136"><a title="Nextel Brazil" href="http://10pearls.com/nextel-brazil/">Nextel Brazil</a></li><li id="menu-item-2133" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-2133"><a title="Discovery" href="http://10pearls.com/discovery-nfl/">Discovery</a></li><li id="menu-item-2137" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-2137"><a title="Razorsight" href="http://10pearls.com/razorsight/">Razorsight</a></li><li id="menu-item-2135" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-2135"><a title="National Geographic" href="http://10pearls.com/national-geographic/">National Geographic</a></li><li id="menu-item-2132" class="menu-item menu-item-type-post_type menu-item-object-post menu-item-2132"><a title="Brightline" href="http://10pearls.com/brightline/">Brightline</a></li></ul></li><li id="menu-item-2142" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2142"><a title="What We Do" href="http://10pearls.com/what-we-do/">What We Do</a></li><li id="menu-item-2140" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2140"><a title="News" href="http://10pearls.com/news/">News</a></li><li id="menu-item-2144" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2144"><a title="Blog" href="http://10pearls.com/our-blog/">Blog</a></li><li id="menu-item-2143" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2143"><a title="Contact" href="http://10pearls.com/get-in-touch/">Contact</a></li><li id="menu-item-2141" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2141"><a title="Join Our Team" href="http://10pearls.com/join-our-team/">Join Our Team</a></li></ul></div></ul></div></div></nav></header>'),e.put("app/landing/shell/shell.html",'<div ui-view="header"></div><div ui-view="content"></div>'),e.put("app/modals/modalTemplates/basicDropDown.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel" ng-bing="title">{{title}}</h4></div><div class="modal-body"><form class="row form-inline" name="transactionStatus"><div class="form-group col-sm-12 col-xs-12"><input type="text" class="form-control" ng-model="name" id="exampleInputName2" placeholder="Drop Down Value"></div></form></div><div class="modal-footer"><button type="submit" class="btn btn-default" ng-click="$dismiss()">Cancel</button> <button type="button" class="btn btn-primary" ng-click="saveDropDown(endPoint, name, id)">Save Drop Down Value</button></div></div>'),e.put("app/modals/modalTemplates/basicWrapper.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel">Modal title</h4></div><div class="modal-body" ng-transclude=""></div><div class="modal-footer"><button type="button" class="btn btn-primary" ng-click="$dismiss()">Save changes</button></div></div>'),e.put("app/modals/modalTemplates/imageCropper.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel" ng-bing="title">Image Cropper</h4></div><div class="modal-body"><div class="row"><div class="cropArea"><ui-cropper image="image" area-type="rectangle" area-init-size="{w:cropper.cropWidth,h:cropper.cropHeight}" result-image-quality="1.0" aspect-ratio="aspectRatio" result-blob="blob" result-image="croppedImage" result-array-image="croppedImages" result-image-size="resultImageSizes" area-min-size="{w:100, h:100}" init-max-area="true"></ui-cropper></div></div></div><div class="modal-footer"><button type="submit" class="btn btn-default" ng-click="$dismiss()">Cancel</button> <button type="button" class="btn btn-primary" ng-click="saveImage()">Done</button></div></div>'),e.put("app/modals/modalTemplates/loaderModal.html",'<div id="preloader"><div></div></div>'),e.put("app/modals/modalTemplates/localPayment.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel" ng-bing="title">Local Payment</h4></div><div class="modal-body"><div class="row"><form name="localPaymentForm" novalidate=""><div class="form-group col-md-12 clearfix"><label class="with-line control-label">Payment Amount <span class="titled">{{businessCurrency}}</span></label><div class=""><input required="" ng-pattern="/^[0-9.]+$/i" ng-model="vm.localTransaction.quantity" class="form-control" name="quantity" placeholder="Quantity"><ng-messages for="vm.localTransactionForm.quantity.$error" ng-show="(vm.localTransactionForm.$submitted || vm.localTransactionForm.quantity.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter quantity value.</ng-message><ng-message class="errorValidation" when="pattern">Quantity can only have numbers.</ng-message></ng-messages></div></div><div class="col-md-12 col-xs-12" ng-show="completeObj.complete"><div class="form-group"><label class="with-line">Completion Date</label><date-picker-input date="payment.paymentDate" blank="false" name="washoutDate"></date-picker-input><ng-messages for="washOutForm.washoutDate.$error" ng-show="(washOutForm.$submitted || washOutForm.washoutDate.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter washout date.</ng-message></ng-messages></div></div></form></div></div><div class="modal-footer"><button type="submit" class="btn btn-default" ng-click="$dismiss()">Cancel</button> <button type="button" class="btn btn-primary" ng-click="changeCompletion(completeObj)">Complete Transaction</button></div></div>'),e.put("app/modals/modalTemplates/transactionCashFlow.html",'<div class="modal-body"><div ba-panel="" ba-panel-title="Transaction Commission Cash Flow" ba-panel-class="with-scroll"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header"><th>Active</th><th>Business</th><th>Description</th><th>Profit</th><th>Loss</th></tr></thead><tbody><tr ng-repeat="flow in tradeCashFlowData.cashFlow"><td><i class="fa" ng-class="{\'fa-check\': flow.active, \'fa-times\': !flow.active}" aria-hidden="true"></i></td><td ng-bind="flow.business.name + \' | \' + (flow.business.country ? flow.business.country : \'No Origin\')"></td><td ng-bind="flow.description"></td><td ng-bind="(!flow.payable ? \'USD \' + (flow.amount | positive | number: \'2\' ) : \'\')"></td><td ng-bind="(flow.payable ? \'USD \' + (flow.amount | positive | number: \'2\' ) : \'\')"></td></tr></tbody><tbody><tr><td></td><td></td><td></td><td>Net Total</td><td ng-class="{\'negative\': (tradeSum<0), \'positive\': (tradeSum>0)}">{{\'USD \' + (tradeSum | number:\'2\')}}</td></tr></tbody></table></div></div></div><div class="modal-footer"><button type="submit" class="btn btn-default" ng-click="$dismiss()">Close</button></div>'),e.put("app/modals/modalTemplates/transactionComplete.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel" ng-bing="title">Transaction Completion</h4></div><div class="modal-body"><div class="row"><form name="completionForm" novalidate=""><div class="col-md-12 col-xs-12"><div class="form-group"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" ng-model="completeObj.complete"> <span>Complete</span></label></div></div></div><div class="col-md-12 col-xs-12" ng-show="completeObj.complete"><div class="form-group"><label class="with-line">Completion Date</label><date-picker-input date="completeObj.completionDate" blank="false" name="washoutDate"></date-picker-input><ng-messages for="washOutForm.washoutDate.$error" ng-show="(washOutForm.$submitted || washOutForm.washoutDate.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter washout date.</ng-message></ng-messages></div></div></form></div></div><div class="modal-footer"><button type="submit" class="btn btn-default" ng-click="$dismiss()">Cancel</button> <button type="button" class="btn btn-primary" ng-click="changeCompletion(completeObj)">Complete Transaction</button></div></div>'),e.put("app/modals/notifications/notifications.html",'<div class="modal-buttons same-width clearfix" ng-controller="NotificationsCtrl"><button type="button" class="btn btn-success" ng-click="showSuccessMsg()">Success Notification</button> <button type="button" class="btn btn-info" ng-click="showInfoMsg()">Info Notification</button> <button type="button" class="btn btn-warning" ng-click="showWarningMsg()">Warning Notification</button> <button type="button" class="btn btn-danger" ng-click="showErrorMsg()">Danger Notification</button></div>'),e.put("app/widgets/blogCard/blogCard.html",'<div class="popular-app-img-container"><div class="popular-app-img"><img height="360" ng-src="{{imageUrl}}"></div><div class="userPic"><img ng-src="{{( userPic | profilePicture )}}"><div class="name" ng-bind="author"></div></div></div><div class="buttons-bar"><button class="btn btn-primary editable-table-button btn-xs" ng-if="canEdit" ng-click="edit(researchId)">Edit</button> <button class="btn display-web editable-table-button btn-xs" ng-if="canDelete" ng-class="{\'btn-danger\': !displayWeb, \'btn-success\': displayWeb}" ng-click="changeWebDisplay(researchId)">Display On Website</button> <button class="btn btn-warning editable-table-button btn-xs" ng-if="canDelete" ng-click="delete(researchId)">Delete</button></div><div class="status" ng-class="{\'published\': !isDraft}" ng-bind="(isDraft) ? \'Draft\' : \'Published\'"></div><div class="popular-app-cost row"><div class="col-xs-9" ng-bind="title"></div></div><div class="popular-app-info row"><div class="col-xs-3 text-left"><div class="info-label">Created On</div><div class="info-text">{{ createdOn | date:appFormats.Date}}</div></div><div class="col-xs-3 text-center"><div class="info-label">Read Time</div><div class="info-text">{{reads | number : fractionSize}}</div></div><div class="col-xs-3 text-right"><div class="info-label">Comment</div><div class="info-text">{{comments | number : fractionSize}}</div></div><div class="col-xs-3 text-right"><div class="info-label">Visitors</div><div class="info-text">{{visitors | number : fractionSize}}</div></div></div>'),e.put("app/widgets/blurFeed/blurFeed.html",'<div class="feed-messages-container" track-width="smallContainerWidth" min-width="360"><div class="feed-message" ng-repeat="message in feed" ng-click="expandMessage(message)"><div class="message-icon" ng-if="message.type == \'text-message\'"><img class="photo-icon" ng-src="{{::( message.author | profilePicture )}}"></div><div class="message-icon" ng-if="message.type != \'text-message\'"><img class="photo-icon" ng-src="{{::( message.author | profilePicture )}}"> <span class="sub-photo-icon" ng-class="::message.type"></span></div><div class="text-block text-message"><div class="message-header"><span class="author">{{ ::message.author }} {{ ::message.surname}}</span></div><div class="message-content line-clamp" ng-class="{\'line-clamp-2\' : !message.expanded}"><span ng-if="message.preview">{{message.header}}</span>{{::message.text}}</div><div class="preview" ng-show="message.expanded" ng-if="message.preview"><a href="{{::message.link}}" target="_blank"><img ng-src="{{ ::( message.preview | appImage )}}"></a></div><div ng-show="message.expanded" class="message-time"><div class="post-time">{{::message.time}}</div><div class="ago-time">{{::message.ago}}</div></div></div></div></div>'),e.put("app/widgets/businessCard/businessCard.html",'<div class="col-xs-12 col-md-{{colSize}} business-card"><div class="content"><div class="detail-heading" ng-bind="businessType"></div><div ng-if="!business"><div class="notApplicable">NA</div></div><div ng-if="business"><div class="col-xs-8"><div class="logo"><img width="60" height="60" ng-src="{{businessLogo}}"></div><div class="details"><div class="name">{{business.name}}</div><div class="country"><div class="flag"><img width="20" src="{{appConstants.STATIC_URL + \'/\' +business.countryFlag}}"></div><div class="name">{{business.country}}</div></div></div></div><div class="col-xs-4"><div class="website"><div class="label">Website</div><div class="url" ng-if="business.website"><a href="{{business.website}}" target="_blank">{{business.website}}</a></div><div class="url" ng-if="!business.website">NA</div></div><div class="primary-contact"><div class="label">Primary Contact</div><div class="contact">{{(business.primaryContact) ? business.primaryContact : \'NA\'}}</div></div></div></div></div></div>'),e.put("app/widgets/commissionCard/commissionCard.html",'<div class="commissionCard"><div class="detail-heading">Commission Details</div><div class="content"><div class="col-xs-12 col-md-6 quantity"><div class="heading-2">Quanity</div><div class="value">{{commission.quantity | number : 2}} <span class="quantityMetric">MT</span></div></div><div class="col-xs-12 col-md-6 price"><div class="heading-2">Price</div><div class="value"><span class="currency">USD</span> {{commission.price | number : 2}}</div></div><div class="col-md-6 col-xs-12 detail"><div class="heading-2">Commission Type</div><div class="value" ng-bind="commission.commissionType"></div></div><div class="col-md-6 col-xs-12 detail"><div class="heading-2">Commission</div><div class="value" ng-bind="commission.commission | number : 2"></div></div><div class="col-md-6 col-xs-12 detail"><div class="heading-2">Buyer Broker Commission Type</div><div class="value" ng-bind="commission.buyerBrokerCommissionType ? commission.buyerBrokerCommissionType : \'NA\'"></div></div><div class="col-md-6 col-xs-12 detail"><div class="heading-2">Buyer Broker Commission</div><div class="value" ng-bind="commission.buyerBrokerCommission ? commission.buyerBrokerCommission : \'NA\'"></div></div><div class="col-md-offset-6 col-md-6 col-xs-12 detail"><div class="heading-2">Discount</div><div class="value" ng-bind="commission.discount | number : 2"></div></div><div class="col-md-offset-6 col-md-6 col-xs-12 detail"><div class="heading-2">Difference</div><div class="value" ng-bind="commission.difference | number : 2"></div></div><div class="col-md-offset-6 col-md-6 col-xs-12 expectedCommission detail"><div class="heading-2">Expected Commission</div><div class="value"><span class="currency">USD</span> {{commission.expectedCommission | number : 2}}</div></div></div></div>'),e.put("app/widgets/customFilter/customFilter.template.html",'<div class="col-sm-3" click-off="closeFilter();"><div class="dg-filterDropdown"><div class="dg-filterDropdownField" ng-click="invertShowOptions();"><i class="fa fa-filter">&nbsp;&nbsp;</i>{{title}} <span class="caret"></span> <span ng-show="!isLoading" class="pull-right filter-count" ng-bind="selectedValues.length"></span> <span ng-show="isLoading" class="pull-right filter-count"><i class="fa fa-spinner fa-pulse fa-3x fa-fw"></i></span></div><div class="dg-filterDropdownMenu" id="main-menu{{title}}" ng-show="showOptions"><ul class="dg-head"><li ng-show="dropDownValues.length !== 0"><input type="checkbox" id="checkboxSuccess" ng-click="onSelectAll(selectAll)" ng-model="selectAll"> <span class="dg-value"><input ng-model="textFilter" type="text" class="form-control"></span></li><li ng-show="dropDownValues.length === 0"><span class="dg-value">No values has been entered in to the system</span></li></ul><ul style="overflow-y: scroll;"><li ng-repeat="value in dropDownValues | selectFilterDropDown: textFilter:\'name\'" ng-if="endPoint===apiEndPoints.dropDown.product"><input ng-change="onSingleSelectChange(value,value.selected,\'id\')" type="checkbox" ng-model="value.selected"> <span class="dg-value filterHeading titled-text">{{value.name}}</span> <span class="dg-value">{{value.category}}</span></li><li ng-repeat="value in dropDownValues | selectFilterDropDown: textFilter:\'name\'" ng-if="endPoint===apiEndPoints.dropDown.productItem"><input ng-change="onSingleSelectChange(value,value.selected,\'id\')" type="checkbox" ng-model="value.selected"> <span class="dg-value filterHeading titled-text">{{value.name}}</span> <span class="dg-value">{{value.origin}} | {{value.keywords ? value.keywords : \'No keywords\'}}</span></li><li ng-repeat="value in dropDownValues | selectFilterDropDown: textFilter:\'origin\'" ng-if="endPoint===apiEndPoints.dropDown.priceMarket"><input ng-change="onSingleSelectChange(value,value.selected,\'id\')" type="checkbox" ng-model="value.selected"> <span class="dg-value filterHeading">{{value.origin}}</span> <span class="dg-value">{{value.currency}}</span></li><li ng-repeat="value in dropDownValues | selectFilterDropDown: textFilter:\'name\'" ng-if="endPoint===apiEndPoints.dropDown.country"><input ng-change="onSingleSelectChange(value,value.selected,\'name\')" type="checkbox" ng-model="value.selected"> <span class="dg-value filterHeading"><img width="18" src="{{appConstants.STATIC_URL + value.image}}">&nbsp;{{value.name}}</span></li><li ng-repeat="value in dropDownValues | selectFilterDropDown: textFilter:\'name\'" ng-if="endPoint===apiEndPoints.dropDown.warehouses"><input ng-change="onSingleSelectChange(value,value.selected,\'name\')" type="checkbox" ng-model="value.selected"> <span class="dg-value filterHeading">{{value.name}}</span></li><li ng-repeat="value in dropDownValues | selectFilterDropDown: textFilter:\'name\'" ng-if="(endPoint===apiEndPoints.dropDown.transactionStatus)"><input ng-change="onSingleSelectChange(value,value.selected,\'name\')" type="checkbox" ng-model="value.selected"> <span class="dg-value singleFilterHeading titled-text">{{value.name}}</span></li><li ng-repeat="value in dropDownValues | selectFilterDropDown: textFilter:\'name\'" ng-if="(endPoint===apiEndPoints.dropDown.bpType)"><input ng-change="onSingleSelectChange(value,value.selected,\'name\')" type="checkbox" ng-model="value.selected"> <span class="dg-value singleFilterHeading titled-text">{{value.name}}</span></li><li ng-repeat="value in dropDownValues | selectFilterDropDown: textFilter:\'name\'" ng-if="(endPoint === apiEndPoints.dropDown.business)"><input ng-change="onSingleSelectChange(value,value.selected,\'id\')" type="checkbox" ng-model="value.selected"> <span class="dg-value filterHeading titled-text">{{value.name}}</span> <span class="dg-value">{{value.country ? value.country : \'No Origin\'}} | {{value.contactPerson ? value.contactPerson : \'No Primary Contact\' }}</span></li></ul></div></div></div>'),e.put("app/widgets/dashboardCalendar/dashboardCalendar.html",'<div id="calendar" class="blurCalendar"></div>'),e.put("app/widgets/dashboardMap/dashboardMap.html",'<div id="amChartMap"></div>'),e.put("app/widgets/dashboardPieChart/dashboardPieChart.html",'<div class="row pie-charts"><div class="pie-chart-item-container" ng-repeat="chart in charts"><div ba-panel=""><div class="pie-chart-item"><div class="chart" rel="{{ ::chart.color }}" data-percent="60"><span class="percent"></span></div><div class="description"><div>{{ ::chart.description }}</div><div class="description-stats">{{ ::chart.stats }}</div></div><i class="chart-icon i-{{ ::chart.icon }}"></i></div></div></div></div>'),e.put("app/widgets/dashboardTodo/dashboardTodo.html",'<div class="task-todo-container" ng-class="{\'transparent\': transparent}"><input type="text" value="" class="form-control task-todo" placeholder="Task to do.." ng-keyup="addToDoItem($event)" ng-model="newTodoText"> <i ng-click="addToDoItem(\'\',true)" class="add-item-icon ion-plus-round"></i><div class="box-shadow-border"></div><ul class="todo-list" ui-sortable="" ng-model="todoList"><li ng-repeat="item in todoList" ng-if="!item.deleted" ng-init="activeItem=false" ng-class="{checked: isChecked, active: activeItem}" ng-mouseenter="activeItem=true" ng-mouseleave="activeItem=false"><div class="blur-container"><div class="blur-box"></div></div><i class="mark" style="background-color: {{::item.color}}"></i> <label class="todo-checkbox custom-checkbox custom-input-success"><input type="checkbox" ng-model="isChecked"> <span class="cut-with-dots">{{ item.text }}</span></label> <i class="remove-todo ion-ios-close-empty" ng-click="item.deleted = true"></i></li></ul></div>'),e.put("app/widgets/datePickerInput/datePickerInput.html",'<div class="datePickerInput"><input type="text" class="form-control" uib-datepicker-popup="{{dateFormat}}" name="{{name}}" ng-model="date" is-open="isOpen" ng-model-options="timezone" datepicker-options="dateOptions" ng-required="{{required}}" close-text="Close" popup-placement="{{position}}" alt-input-formats="altInputFormats"> <span class="input-group-btn"><button type="button" class="btn btn-success" ng-click="open()"><i class="glyphicon glyphicon-calendar"></i></button></span></div>'),e.put("app/widgets/deAccordian/deAccordian.html",'<div><uib-tabset class="de-tabs"><uib-tab index="$index + 1" ng-repeat="tab in tabs" active="tab.active"><uib-tab-heading uib-dropdown=""><a uib-dropdown-toggle="" style="cursor:pointer" ng-click="tabClicked($event, tab, null , $index)">{{tab.title}} <i ng-if="tab.hasAccordianDropDown" class="caret"></i></a><ul class="dropdown-menu" uib-dropdown-menu="" ng-if="tab.hasAccordianDropDown"><li ng-repeat="subtab in tab.children"><a ng-click="tabClicked($event, subtab, tab, $index)">{{subtab.title}}</a></li></ul></uib-tab-heading><div ui-view="content"></div></uib-tab></uib-tabset></div>'),e.put("app/widgets/docCard/docCard.html",'<div class="col-xs-12 col-md-4 docCard"><div class="docCardContainer"><div class="details"><div class="fileIcon"><i class="fa fa-file" aria-hidden="true"></i></div><div class="filename" ng-bind="docInfo.fileName"></div><div class="uploadedBy" ng-bind="docInfo.uploadedBy"></div><div class="uploadedAt" ng-bind="docInfo.uploadedAt | date"></div></div><div class="buttons"><button class="btn btn-success btn-xs">Open</button> <button class="btn btn-primary btn-xs">Download</button> <button class="btn btn-warning btn-xs">Delete</button></div></div></div>'),e.put("app/widgets/filterBar/filterBar.template.html",'<div ba-panel="" class="dg-filterPanel" ng-if="buyer || seller || product || productItems ||bpTypes || country || priceMarket || datePickerNeeded"><div class="row"><div ng-if="datePickerNeeded" class="col-sm-6 col-sm-offset-6"><div class="dg-datePicker"><input type="daterange" opens="left" ng-change="datePickerChanged(datePicker)" format="{{appFormats.FullDate}}" ranges="ranges" max-date="maxDate" readonly="true" separator="{{seperator}}" class="form-control date-picker dg-filterDropdown" ng-model="datePicker"></div></div><custom-filter on-selected-values-changed="onLocalBuyerSelectedChanged({selectedList:selectedList, initialized: initialized})" page="{{page}}" ng-if="localBuyer" title="Local Buyer" end-point="{{apiEndPoints.dropDown.business}}" filtersubtype="{{appTabFilter.LOCAL_BUYER}}"></custom-filter><custom-filter on-selected-values-changed="onLocalSellerSelectedChanged({selectedList:selectedList, initialized: initialized})" page="{{page}}" ng-if="localSeller" title="Local Seller" end-point="{{apiEndPoints.dropDown.business}}" filtersubtype="{{appTabFilter.LOCAL_BUYER}}"></custom-filter><custom-filter on-selected-values-changed="onBuyersSelectedChanged({selectedList:selectedList, initialized: initialized})" page="{{page}}" ng-if="buyer" title="Buyer" end-point="{{apiEndPoints.dropDown.business}}" filtersubtype="{{appTabFilter.BUYER}}"></custom-filter><custom-filter on-selected-values-changed="onProductItemSelectedChanged({selectedList:selectedList, initialized: initialized})" page="{{page}}" ng-if="productItems" title="Product Items" end-point="{{apiEndPoints.dropDown.productItem}}"></custom-filter><custom-filter on-selected-values-changed="onSellersSelectedChanged({selectedList:selectedList, initialized: initialized})" page="{{page}}" ng-if="seller" end-point="{{apiEndPoints.dropDown.business}}" title="Seller"></custom-filter><custom-filter on-selected-values-changed="onProductsSelectedChanged({selectedList:selectedList, initialized: initialized})" ng-if="product" page="{{page}}" title="Products" end-point="{{apiEndPoints.dropDown.product}}"></custom-filter><custom-filter on-selected-values-changed="onLocalTraderSelectedChanged({selectedList:selectedList, initialized: initialized})" ng-if="localTrader" page="{{page}}" title="Local Trader" end-point="{{apiEndPoints.dropDown.business}}" filtersubtype="{{appTabFilter.LOCAL_TRADER}}"></custom-filter><custom-filter on-selected-values-changed="onBpTypesSelectedChanged({selectedList:selectedList, initialized: initialized})" title="Business Type" ng-if="bpTypes" end-point="{{apiEndPoints.dropDown.bpType}}"></custom-filter><custom-filter on-selected-values-changed="onCountrySelectedChanged({selectedList:selectedList, initialized: initialized})" title="Country" ng-if="country" end-point="{{apiEndPoints.dropDown.country}}"></custom-filter><custom-filter on-selected-values-changed="onWarehouseSelectedChanged({selectedList:selectedList, initialized: initialized})" title="Warehouse" ng-if="warehouse" end-point="{{apiEndPoints.dropDown.warehouses}}"></custom-filter><custom-filter on-selected-values-changed="onPriceMarketSelectedChanged({selectedList:selectedList, initialized: initialized})" title="Price Market" ng-if="priceMarket" end-point="{{apiEndPoints.dropDown.priceMarket}}"></custom-filter><custom-filter on-selected-values-changed="onTranStatusSelectedChanged({selectedList:selectedList, initialized: initialized})" title="Transaction Status" ng-if="tranStatus" end-point="{{apiEndPoints.dropDown.transactionStatus}}"></custom-filter></div></div>'),e.put("app/widgets/lineChart/lineChart.html",'<div id="amchart"></div>'),e.put("app/widgets/mapBubbles/mapBubbles.html",'<div id="map-bubbles" heading="Traffic By Country"></div>'),e.put("app/widgets/maps/maps.html",'<div class="widgets"><div class="row"><div class="col-md-12" ui-view=""></div></div></div>'),e.put("app/widgets/numberOnlyInput/numberOnlyInput.template.html",'<input ng-class="{\'currency\': currency}" style="cursor:default" ng-required="{{required}}" type="number" step="0.01" ng-blur="onBlur()" ng-focus="onFocus()" class="form-control" placeholder="{{inputPlace}}" name="{{inputName}}" ng-model="inputValue">'),e.put("app/widgets/pageHeader/pageHeader.template.html",'<div class="dg-pageHeader"><a ng-if="rootScope.goBack" ng-click="goToBack()" class="dg-backToLink"><i class="fa fa-chevron-circle-left"></i></a><div class="dg-pageHeaderTop clearfix"><h1 class="dg-pageTitle"><span class="dg-pageMiniTitle">{{rootScope.headerSubTitle}}</span>{{rootScope.headerTitle}}</h1><div class="row button-bar"><button class="btn btn-primary" ui-sref="{{button.state}}" ng-repeat="button in rootScope.headerAnchor">{{button.text}}</button></div></div></div>'),e.put("app/widgets/pieChart/pieChart.template.html",'<div id="{{id}}" class="admin-chart"></div>'),e.put("app/widgets/productCard/productCard.html",'<div class="col-xs-12 col-md-{{colSize}} product-card"><div class="content"><div class="detail-heading">Product Item</div><div><div class="row"><div class="logo" style="padding-left: 35px;"><img width="60" height="60" ng-src="{{productImage}}"></div><div class="details"><div class="name">{{productItem.name}}</div><div class="country"><div class="flag"><img width="20" src="{{appConstants.HOST +productItem.countryFlag}}"></div><div class="name">{{productItem.country}}</div></div></div></div></div></div></div>'),e.put("app/widgets/profile/profile.html",'<div ba-panel="" ba-panel-class="profile-page"><div class="panel-content"><div class="progress-info">Your profile is 70% Complete</div><div class="progress"><div class="progress-bar progress-bar-primary progress-bar-striped active" role="progressbar" aria-valuenow="70" aria-valuemin="0" aria-valuemax="100" style="width: 70%"></div></div><h3 class="with-line">General Information</h3><div class="row"><div class="col-md-6"><div class="form-group row clearfix"><label for="inputFirstName" class="col-sm-3 control-label">Picture</label><div class="col-sm-9"><div class="userpic"><div class="userpic-wrapper"><img ng-src="{{ picture }}" ng-click="uploadPicture()"></div><i class="ion-ios-close-outline" ng-click="removePicture()" ng-if="!noPicture"></i> <a href="" class="change-userpic" ng-click="uploadPicture()">Change Profile Picture</a> <input type="file" ng-show="false" id="uploadFile" ng-file-select="onFileSelect($files)"></div></div></div></div><div class="col-md-6"></div></div><div class="row"><div class="col-md-6"><div class="form-group row clearfix"><label for="inputFirstName" class="col-sm-3 control-label">First Name</label><div class="col-sm-9"><input type="text" class="form-control" id="inputFirstName" placeholder="" value="Anastasiya"></div></div><div class="form-group row clearfix"><label for="inputLastName" class="col-sm-3 control-label">Last Name</label><div class="col-sm-9"><input type="text" class="form-control" id="inputLastName" placeholder="" value=""></div></div></div><div class="col-md-6"><div class="form-group row clearfix"><label class="col-sm-3 control-label">Department</label><div class="col-sm-9"><select class="form-control" selectpicker=""><option>Web Development</option><option>System Development</option><option>Sales</option><option>Human Resources</option></select></div></div><div class="form-group row clearfix"><label for="inputOccupation" class="col-sm-3 control-label">Occupation</label><div class="col-sm-9"><input type="text" class="form-control" id="inputOccupation" placeholder="" value="Front End Web Developer"></div></div></div></div><h3 class="with-line">Change Password</h3><div class="row"><div class="col-md-6"><div class="form-group row clearfix"><label for="inputPassword" class="col-sm-3 control-label">Password</label><div class="col-sm-9"><input type="password" class="form-control" id="inputPassword" placeholder="" value="12345678"></div></div></div><div class="col-md-6"><div class="form-group row clearfix"><label for="inputConfirmPassword" class="col-sm-3 control-label">Confirm Password</label><div class="col-sm-9"><input type="password" class="form-control" id="inputConfirmPassword" placeholder=""></div></div></div></div><h3 class="with-line">Contact Information</h3><div class="row"><div class="col-md-6"><div class="form-group row clearfix"><label for="inputEmail3" class="col-sm-3 control-label">Email</label><div class="col-sm-9"><input type="email" class="form-control" id="inputEmail3" placeholder="" value="contact@akveo.com"></div></div><div class="form-group row clearfix"><label for="inputPhone" class="col-sm-3 control-label">Phone</label><div class="col-sm-9"><input type="text" class="form-control" id="inputPhone" placeholder="" value="+1 (23) 456 7890"></div></div></div><div class="col-md-6"><div class="form-group row clearfix"><label class="col-sm-3 control-label">Office Location</label><div class="col-sm-9"><select class="form-control" title="Standard Select" selectpicker=""><option>San Francisco</option><option>London</option><option>Minsk</option><option>Tokio</option></select></div></div><div class="form-group row clearfix"><label for="inputRoom" class="col-sm-3 control-label">Room</label><div class="col-sm-9"><input type="text" class="form-control" id="inputRoom" placeholder="" value="303"></div></div></div></div><h3 class="with-line">Social Profiles</h3><div class="social-profiles row clearfix"><div class="col-md-3 col-sm-4" ng-repeat="item in socialProfiles"><a class="sn-link" href="" ng-click="showModal(item)" ng-if="!item.href"><i class="socicon {{ item.icon }}"></i> <span>{{ item.name }}</span></a> <a class="sn-link connected" href="{{ item.href }}" target="_blank" ng-if="item.href"><i class="socicon {{ item.icon }}"></i> <span>{{ item.name }}</span> <em class="ion-ios-close-empty sn-link-close" ng-mousedown="unconnect(item)"></em></a></div></div><h3 class="with-line">Send Email Notifications</h3><div class="notification row clearfix"><div class="col-sm-6"><div class="form-group row clearfix"><label class="col-xs-8">When I receive a message</label><div class="col-xs-4"><switch color="primary" ng-model="switches[0]"></switch></div></div><div class="form-group row clearfix"><label class="col-xs-8">When Someone sends me an invitation</label><div class="col-xs-4"><switch color="primary" ng-model="switches[1]"></switch></div></div><div class="form-group row clearfix"><label class="col-xs-8">When profile information changes</label><div class="col-xs-4"><switch color="primary" ng-model="switches[2]"></switch></div></div></div><div class="col-sm-6"><div class="form-group row clearfix"><label class="col-xs-8">When anyone logs into your account from a new device or browser</label><div class="col-xs-4"><switch color="primary" ng-model="switches[3]"></switch></div></div><div class="form-group row clearfix"><label class="col-xs-8">Weekly Reports</label><div class="col-xs-4"><switch color="primary" ng-model="switches[4]"></switch></div></div><div class="form-group row clearfix"><label class="col-xs-8">Daily Reports</label><div class="col-xs-4"><switch color="primary" ng-model="switches[5]"></switch></div></div></div></div><button type="button" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Update Profile</button></div></div>'),
  e.put("app/widgets/profile/profileModal.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel">Add Account</h4></div><form name="linkForm"><div class="modal-body"><p>Paste a link to your profile into the box below</p><div class="form-group"><input type="text" class="form-control" placeholder="Link to Profile" ng-model="link"></div></div><div class="modal-footer"><button type="button" class="btn btn-primary" ng-click="ok(link)">Save changes</button></div></form></div>'),e.put("app/widgets/shippingLineCard/shippingLineCard.template.html",'<div class="shippingLineCard col-md-{{colSize}}" ng-class="{\'hidden\':hide}"><div class="content"><div class="detail"><div class="logo"><img width="100" height="100" ng-src="{{logo}}"></div><div class="row"><div class="col-xs-6"><div class="label-text">Name</div><div class="detail-text" ng-bind="shippingLine.name"></div></div><div class="col-xs-6"><div class="label-text">Code Name</div><div class="detail-text" ng-bind="shippingLine.codeName"></div></div><div class="col-xs-6"><div class="label-text">Website</div><div ng-if="!shippingLine.website" class="detail-text" ng-bind="\'No website entered\'"></div><div ng-if="shippingLine.website" class="detail-text"><a target="_blank" href="shippingLine.website">{{shippingLine.website}}</a></div></div><div class="col-xs-6"><div class="label-text">Vessel Count</div><div class="detail-text" ng-bind="shippingLine.vesselCount"></div></div></div><div class="button-row col-xs-12"><button class="btn btn-xs btn-primary" ng-click="editShippingLine(shippingLine.id)">Edit</button> <button class="btn btn-xs btn-warning" ng-click="deleteShippingLine(shippingLine.id)">Delete</button></div></div></div></div>'),e.put("app/widgets/sparklines/sparkline.template.html",'<div class="chart-block" style="padding:28px"><div id="line1" style="vertical-align: middle; display: inline-block; width: 100px; height: 30px;"></div></div>'),e.put("app/widgets/tradeDisputeCard/tradeDisputeCard.template.html",'<div class="commissionCard"><div class="detail-heading">Dispute <button class="btn-xs btn btn-warning" ng-show="!trade.dispute.isDisputed && !showForm" ng-click="showDisputeForm()">Dispute Trade</button> <button class="btn-xs btn btn-success" ng-show="trade.dispute.isDisputed && !showForm" ng-click="saveDisputeDetails(disputeForm, trade,false)">Remove Dispute</button> <button class="btn-xs btn btn-primary" ng-show="trade.dispute.isDisputed && !showForm" ng-click="showDisputeForm(\'edit\')">Edit</button></div><div class="content"><div ng-if="!trade.dispute.isDisputed && !showForm" class="col-md-12 col-xs-12 detail"><div class="heading-2">Status</div><div class="value">Undisputed Transaction</div></div><div ng-if="trade.dispute.isDisputed && !showForm" class="col-md-12 col-xs-12 detail"><div class="detail col-md-12"><div class="heading-2">Disputed On</div><div class="value">{{trade.dispute.disputeDate | date: appFormats.FullDate2}}</div></div><div class="detail col-md-12"><div class="heading-2">Trade Dispute</div><div class="value"><i class="fa fa-check" ng-class="{\'success\': trade.dispute.qualityComplain, \'negative\': !trade.dispute.qualityComplain}" aria-hidden="true"></i> Quality Complain</div><div class="value"><i class="fa fa-check" ng-class="{\'success\': trade.dispute.weightShortage, \'negative\': !trade.dispute.weightShortage}" aria-hidden="true"></i> Weight Shortage</div><div class="value"><i class="fa fa-check" ng-class="{\'success\': trade.dispute.other, \'negative\': !trade.dispute.other}" aria-hidden="true"></i> Other</div></div><div class="detail col-md-12"><div class="heading-2">Details</div><div class="value">{{trade.dispute.details ? trade.dispute.details : \'NA\'}}</div></div><div class="detail col-md-12"><div class="heading-2">Dispute Resolved</div><div class="value">{{trade.dispute.disputeResolved ? \'Dispute Resolved On \' + (trade.dispute.disputeResolvedDate | date: appFormats.FullDate2) : \'No\'}}</div></div></div><div ng-if="showForm" class="col-md-12 col-xs-12"><form name="disputeForm" novalidate=""><div class="row"><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Dispute Date</label><date-picker-input date="trade.dispute.disputeDate" required="true" name="washoutDate"></date-picker-input></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" ng-model="trade.dispute.qualityComplain"> <span>Quality Complain</span></label></div></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" ng-model="trade.dispute.weightShortage"> <span>Weight Shortage</span></label></div></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" ng-model="trade.dispute.other"> <span>Other</span></label></div></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line control-label">Details</label> <textarea ng-model="trade.dispute.details" class="form-control">\n                            </textarea></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" ng-model="trade.dispute.disputeResolved"> <span>Dispute Resolved</span></label></div></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Dispute Resolved Date</label><date-picker-input required="false" date="trade.dispute.disputeResolvedDate" blank="true" name="disputeResolvedDate"></date-picker-input></div></div><div class="form-group"><button type="submit" ng-click="saveDisputeDetails(disputeForm, trade, true)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> Save Dispute Details</button> <button type="button" ng-click="cancelDisputingTrade()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></div></form></div></div></div>'),e.put("app/widgets/tradeTable/tradeTable.template.html",'<div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-class="with-scroll"><div class="row table-options"><div class="col-md-6 manifest-quantity"><div class="box title">Total Quantity</div><div class="number box">{{totalQuantity | number : \'2\'}} MT</div></div><div class="col-md-6 button-bar"><button class="btn btn-xs" data-toggle="modal" ng-class="{\'btn-success\': !hidePaging, \'btn-danger\': hidePaging}" ng-click="unpagedView(hidePaging)"><i class="fa fa-eye" aria-hidden="true"></i> &nbsp; Unpaged View</button> <button class="btn excel-btn btn-xs" data-toggle="modal" ng-click="exportToExcel(tableData, columnHeader)"><i class="fa fa-file-excel-o" aria-hidden="true"></i> &nbsp; Export to Excel</button> <button class="btn pdf-btn btn-xs" data-toggle="modal" ng-click="exportToPDF(tableData, columnHeader)"><i class="fa fa-file-pdf-o" aria-hidden="true"></i> &nbsp; Export to PDF</button></div></div><div class="horizontal-scroll-table-wrapper"><table class="table table-striped"><thead><tr class="sortable table-header" ng-if="listData.length!==0"><th><span class="count">{{listData.length}}</span></th><th ng-click="sortTable(column.sort, column)" ng-class="{\'sorted\': (sortType === column.sort), \'up\': !column.reverse && (sortType === column.sort), \'down\': column.reverse && (sortType === column.sort)}" ng-repeat="column in columnHeader" ng-bind-html="column.name"></th></tr><tr class="table-header" ng-if="listData.length===0"><th>No transaction have been added with in the given date range and filters.</th></tr></thead><tbody ng-repeat="row in displayList" ng-if="listData.length!==0"><tr ng-if="type===\'tradeBook\'" ng-class="{\'has-secondary\': row.hasSecondary, \'is-secondary\': row.isSecondary}"><td ng-click="toggleNotes(row)"><i class="fa fa-plus-square cursor-pointer" aria-hidden="true" ng-if="!row.showNotes"></i> <i class="fa fa-minus-square cursor-pointer" aria-hidden="true" ng-if="row.showNotes"></i></td><td class="titled date">{{row.date | date:appFormats.Date}}</td><td><a class="titled" ui-sref="dashboard.transactionView({id:row.fileNo})">{{row.fileNo}}</a></td><td class="business titled" ng-bind="row.buyerName + \' | \' + (row.buyerCountry ? row.buyerCountry : \'No Origin\')"></td><td class="product">{{row.productName}}</td><td>{{row.productOriginName}}</td><td>{{row.quantity | number: 2}}</td><td>{{row.price | number: 2}}</td><td class="business titled" ng-bind="row.sellerName + \' | \' + (row.sellerCountry ? row.sellerCountry : \'No Origin\')"></td><td class="date">{{row.shipmentStart | date:appFormats.Date}}</td><td class="date">{{row.shipmentEnd | date:appFormats.Date}}</td><td class="titled" ng-if="row.expectedCommission">{{row.expectedCommission | number: 2}}</td><td class="titled" ng-if="row.actualCommission !== undefined">{{(row.actualCommission) ? (row.actualCommission | number: 2 ) : \'NA\'}}</td></tr><tr ng-if="type===\'arrivedList\'" ng-class="{\'has-secondary\': row.hasSecondary, \'is-secondary\': row.isSecondary}"><td ng-click="toggleNotes(row)"><i class="fa fa-plus-square cursor-pointer" aria-hidden="true" ng-if="!row.showNotes"></i> <i class="fa fa-minus-square cursor-pointer" aria-hidden="true" ng-if="row.showNotes"></i></td><td class="titled date">{{row.dateArrived | date:appFormats.Date}}</td><td>{{row.dateArrived | amDifference : null : \'days\'}}</td><td><a class="titled" ui-sref="dashboard.transactionView({id:row.fileNo})">{{row.fileNo}}</a></td><td ng-bind="row.blNo"></td><td ng-bind="row.contractNo"></td><td class="business titled" ng-bind="row.buyerName + \' | \' + (row.buyerCountry ? row.buyerCountry : \'No Origin\')"></td><td class="product">{{row.productName}}</td><td>{{row.productOriginName}}</td><td class="business titled" ng-bind="row.sellerName + \' | \' + (row.sellerCountry ? row.sellerCountry : \'No Origin\')"></td><td>{{row.quantity | number: 2}}</td><td>{{row.price | number: 2}}</td></tr><tr ng-if="type===\'expectedArrival\'" ng-class="{\'has-secondary\': row.hasSecondary, \'is-secondary\': row.isSecondary}"><td ng-click="toggleNotes(row)"><i class="fa fa-plus-square cursor-pointer" aria-hidden="true" ng-if="!row.showNotes"></i> <i class="fa fa-minus-square cursor-pointer" aria-hidden="true" ng-if="row.showNotes"></i></td><td class="titled date">{{row.expectedArrival | date:appFormats.Date}}</td><td>{{row.expectedArrival | amDifference : null : \'days\'}}</td><td><a class="titled" ui-sref="dashboard.transactionView({id:row.fileNo})">{{row.fileNo}}</a></td><td ng-bind="row.blNo"></td><td ng-bind="row.contractNo"></td><td class="business titled" ng-bind="row.buyerName + \' | \' + (row.buyerCountry ? row.buyerCountry : \'No Origin\')"></td><td class="product">{{row.productName}}</td><td>{{row.productOriginName}}</td><td class="business titled" ng-bind="row.sellerName + \' | \' + (row.sellerCountry ? row.sellerCountry : \'No Origin\')"></td><td>{{row.quantity | number: 2}}</td><td>{{row.price | number: 2}}</td></tr><tr ng-if="type===\'expiredShipment\'" ng-class="{\'has-secondary\': row.hasSecondary, \'is-secondary\': row.isSecondary}"><td ng-click="toggleNotes(row)"><i class="fa fa-plus-square cursor-pointer" aria-hidden="true" ng-if="!row.showNotes"></i> <i class="fa fa-minus-square cursor-pointer" aria-hidden="true" ng-if="row.showNotes"></i></td><td class="titled date">{{row.shipmentExpiration | date:appFormats.Date}}</td><td>{{row.shipmentExpiration | amDifference : null : \'days\'}}</td><td><a class="titled" ui-sref="dashboard.transactionView({id:row.fileNo})">{{row.fileNo}}</a></td><td ng-bind="row.blNo"></td><td ng-bind="row.contractNo"></td><td class="business titled" ng-bind="row.buyerName + \' | \' + (row.buyerCountry ? row.buyerCountry : \'No Origin\')"></td><td class="product">{{row.productName}}</td><td>{{row.productOriginName}}</td><td class="business titled" ng-bind="row.sellerName + \' | \' + (row.sellerCountry ? row.sellerCountry : \'No Origin\')"></td><td>{{row.quantity | number: 2}}</td><td>{{row.price | number: 2}}</td></tr><tr ng-if="type===\'tradeDispute\'" ng-class="{\'has-secondary\': row.hasSecondary, \'is-secondary\': row.isSecondary}"><td ng-click="toggleNotes(row)"><i class="fa fa-plus-square cursor-pointer" aria-hidden="true" ng-if="!row.showNotes"></i> <i class="fa fa-minus-square cursor-pointer" aria-hidden="true" ng-if="row.showNotes"></i></td><td class="titled date">{{row.disputedOn | date:appFormats.Date}}</td><td>{{row.disputedOn | amDifference : null : \'days\'}}</td><td><a class="titled" ui-sref="dashboard.transactionView({id:row.fileNo})">{{row.fileNo}}</a></td><td ng-bind="row.contractNo"></td><td ng-bind="row.completedOn | date:appFormats.Date"></td><td class="business titled" ng-bind="row.buyerName + \' | \' + (row.buyerCountry ? row.buyerCountry : \'No Origin\')"></td><td class="product">{{row.productName}}</td><td>{{row.productOriginName}}</td><td class="business titled" ng-bind="row.sellerName + \' | \' + (row.sellerCountry ? row.sellerCountry : \'No Origin\')"></td><td>{{row.quantity | number: 2}}</td><td>{{row.price | number: 2}}</td></tr><tr ng-if="type===\'localTradeBook\'"><td ng-click="toggleNotes(row)"><i class="fa fa-plus-square cursor-pointer" aria-hidden="true" ng-if="!row.showNotes"></i> <i class="fa fa-minus-square cursor-pointer" aria-hidden="true" ng-if="row.showNotes"></i></td><td class="titled date">{{row.date | date:appFormats.Date}}</td><td><a class="titled" ui-sref="dashboard.localTransactionView({fileId:row.fileNo})">{{row.fileNo}}</a></td><td><a ng-if="row.internationalFileNo" class="titled" ui-sref="dashboard.transactionView({id:row.internationalFileNo})">{{row.internationalFileNo}}</a><span ng-if="!row.internationalFileNo">NA</span></td><td class="business titled" ng-bind="row.buyerName + \' | \' + (row.buyerCountry ? row.buyerCountry : \'No Origin\')"></td><td class="product">{{row.productName}}</td><td>{{row.productOriginName}}</td><td>{{row.quantity | number: 2}}</td><td>{{row.price | number: 2}}</td><td class="business titled" ng-bind="row.sellerName + \' | \' + (row.sellerCountry ? row.sellerCountry : \'No Origin\')"></td><td class="titled date">{{row.deliveryDueDate | date:appFormats.Date}}</td><td class="titled date">{{row.fundsDueDate | date:appFormats.Date}}</td></tr><tr ng-show="row.showNotes"><td colspan="{{columnHeader.length +1}}"><div class="row"><div class="col-xs-12 col-md-6"><div ba-panel="" ba-panel-class="with-scroll" class="noteList"><img ng-if="noteListLoading" width="60" height="60" src="assets/img/loader.svg"><div ng-if="!noteListLoading && (row.noteList.length === 0)">No trade notes.</div><div class="col-xs-12" ng-repeat="nte in row.noteList | orderBy: \'-createdAt\'"><div class="col-xs-6 note" ng-class="{\'pull-right\':nte.self, \'self\':nte.self, \'other\': !nte.self, \'editing\': nte.editing}"><div class="col-xs-12 userData"><img class="userImage" ng-src="{{( nte.createdByPic | profilePicture )}}"><div class="details"><div class="name">{{nte.createdBy}}</div><div class="date">Note on: {{nte.createdAt | date:appFormats.Time }}</div><div class="date" ng-if="nte.updatedAt">Note Updated On: {{nte.updatedAt | date:appFormats.Time }}</div></div></div><div class="col-xs-12">{{nte.note}}</div><div class="col-xs-12 button-bar"><button class="btn btn-danger btn-xs pull-right" ng-if="nte.self" ng-click="editTradeNote(row, nte.note, nte)">Edit</button> <button class="btn btn-warning btn-xs pull-right" ng-click="deleteTradeNote(row.id, nte.noteId, nte, row.noteList)" ng-if="nte.isDeleteAble">Delete</button></div></div></div></div></div><div class="col-xs-12 col-md-6"><div class="form-group col-md-12 clearfix"><form name="vm.trade_note_form_{{row.id}}" novalidate=""><label class="col-sm-12 control-label">Notes</label><div class="col-sm-12"><textarea ng-if="!addingNote" ng-required="true" name="tradeNote_{{row.id}}" ng-model="row.note" class="form-control">\n                                                </textarea><ng-messages for="vm[\'trade_note_form_\'+row.id][\'tradeNote_\'+row.id].$error" ng-if=\'(vm["trade_note_form_"+row.id].$submitted || vm["trade_note_form_"+row.id]["tradeNote_"+row.id].$dirty)\'><div ng-message="required" class="errorValidation">Please enter a trade note.</div></ng-messages></div><div class="col-sm-12"><button class="btn btn-success editable-table-button btn-xs" type="submit" style="min-width: 115px;" ng-click="addTradeNote(row.id, row.note, row.noteList, row, vm[\'trade_note_form_\'+row.id])"><span ng-if="addingNote"><i class="fa fa-spinner fa-pulse fa-spin fa-3x fa-fw"></i> <span class="sr-only">Loading...</span> &nbsp;</span> <span ng-if="!addingNote && !updateNote">Add Note</span> <span ng-if="updateNote">Update Note</span></button></div></form></div></div></div></td></tr></tbody></table></div><div ng-show="!hidePaging"><ul ng-show="listData.length > 0" uib-pagination="" ng-change="pageChanged(currentPage)" total-items="listData.length" ng-model="currentPage" max-size="itemsPerPage" class="pagination-sm push-left" boundary-link-numbers="true" rotate="false"></ul></div></div></div></div>'),e.put("app/widgets/tradeWashOutCard/tradeWashOutCard.template.html",'<div class="commissionCard"><div class="detail-heading">Washout Status <button class="btn-xs btn btn-warning" ng-show="!trade.washOut.isWashout && !showForm" ng-click="showWashOutForm(\'add\')">Washout Transaction</button> <button class="btn-xs btn btn-success" ng-show="trade.washOut.isWashout && !showForm" ng-click="saveWashOutDetails(washOutForm, trade,false, getNewWashoutObj(), false)">Un Washout Transaction</button> <button class="btn-xs btn btn-primary" ng-show="trade.washOut.isWashout && !showForm" ng-click="showWashOutForm(\'edit\')">Edit</button></div><div class="content"><div ng-if="!trade.washOut.isWashout && !showForm" class="col-md-12 col-xs-12 detail"><div class="heading-2">Status</div><div class="value">Washout Status Deactivated</div></div><div ng-if="trade.washOut.isWashout && !showForm" class="col-md-12 col-xs-12 detail"><div class="detail col-md-12"><div class="heading-2">Initial Commission Payable</div><div class="value" ng-bind="(trade.washOut.initialCommissionPayable) ? \'Yes\': \'No\'"></div></div><div class="detail col-md-6"><div class="heading-2">Washout Date</div><div class="value">{{trade.washOut.washoutDate | date: vm.appFormats.FullDate2}}</div></div><div class="detail col-md-6"><div class="heading-2">Washout Due Date</div><div class="value">{{trade.washOut.washoutDueDate | date: vm.appFormats.FullDate2}}</div></div><div class="detail col-md-6"><div class="heading-2">Seller Washout Price</div><div class="value"><span class="currency">USD</span> {{trade.washOut.sellerWashoutPrice}}</div></div><div class="detail col-md-6"><div class="heading-2">Buyer Washout Price</div><div class="value"><span class="currency">USD</span> {{trade.washOut.buyerWashoutPrice}}</div></div><div class="detail col-md-6"><div class="heading-2">Washout Difference</div><div class="value"><span class="currency">USD</span> {{trade.washOut.brokerDifference}}</div></div><div class="detail col-md-6"><div class="heading-2">Total Difference</div><div class="value"><span class="currency">USD</span> {{trade.washOut.totalDifference}}</div></div><div class="detail col-md-12"><div class="heading-2">Washout Commission</div><div class="value"><span class="currency">USD</span> {{trade.washOut.washOutCommission}}</div></div><div class="detail col-md-12"><button class="btn btn-xs btn-success" ng-click="vm.createWashoutInvoice()"><i class="fa fa-list-alt" aria-hidden="true"></i> Create Invoice</button></div></div><div ng-show="showForm" class="col-md-12 col-xs-12"><form name="washOutForm" novalidate=""><div class="row"><div class="col-md-12 col-xs-12"><div class="form-group"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" ng-model="trade.washOut.initialCommissionPayable"> <span>Initial Commission Payable</span></label></div></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Washout Date</label><date-picker-input date="trade.washOut.washoutDate" blank="false" name="washoutDate"></date-picker-input><ng-messages for="washOutForm.washoutDate.$error" ng-show="(washOutForm.$submitted || washOutForm.washoutDate.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter washout date.</ng-message></ng-messages></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Washout Due Date</label><date-picker-input date="trade.washOut.washoutDueDate" blank="false" name="washoutDueDate"></date-picker-input><ng-messages for="washOutForm.washoutDueDate.$error" ng-show="(washOutForm.$submitted || washOutForm.washoutDueDate.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter washout due date.</ng-message></ng-messages></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Washout Seller Price in <span class="titled">USD</span></label> <input type="text" ng-model="trade.washOut.sellerWashoutPrice" ng-required="true" name="sellerWashoutPrice" class="form-control" id="sellerWashoutPrice" placeholder="Washout Price in USD"><ng-messages for="washOutForm.sellerWashoutPrice.$error" ng-if="(washOutForm.$submitted || washOutForm.sellerWashoutPrice.$dirty)"><div ng-message="required" class="errorValidation">Please enter a washout price.</div></ng-messages></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Washout Buyer Price in <span class="titled">USD</span></label> <input type="text" ng-model="trade.washOut.buyerWashoutPrice" ng-required="true" name="buyerWashoutPrice" class="form-control" id="loCode" placeholder="Washout Price in USD"><ng-messages for="washOutForm.buyerWashoutPrice.$error" ng-if="(washOutForm.$submitted || washOutForm.buyerWashoutPrice.$dirty)"><div ng-message="required" class="errorValidation">Please enter a washout price.</div></ng-messages></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Washout Difference <span class="titled">USD</span></label> <input type="text" ng-model="trade.washOut.brokerDifference" ng-required="true" name="difference" class="form-control" id="difference" placeholder="Washout Difference in USD"><ng-messages for="washOutForm.washOutValue.$error" ng-if="(washOutForm.$submitted || washOutForm.washOutValue.$dirty)"><div ng-message="required" class="errorValidation">Please enter a washout difference</div></ng-messages></div></div><div class="form-group"><button type="submit" ng-click="saveWashOutDetails(washOutForm, trade, true, trade.washOut, true)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> {{trade.washOut.isWashout ? \'Updated Washout value\' : \'Washout Transaction\'}}</button> <button type="button" ng-click="cancelWashingOut()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></div></form></div></div></div>'),e.put("app/widgets/trafficChart/trafficChart.html",'<div class="channels-block" ng-class="{\'transparent\': transparent}"><div class="chart-bg"></div><div class="traffic-chart" id="trafficChart"><div class="canvas-holder"><canvas id="chart-area" width="300" height="300"></canvas><div class="traffic-text">1,900,128 <span>Views Total</span></div></div><div class="traffic-legend"></div></div><div class="channels-info"><div><div class="channels-info-item" ng-repeat="item in doughnutData | orderBy:\'order\'"><div class="legend-color" style="background-color: {{::item.color}}"></div><p>{{::item.label}}<span class="channel-number">+{{item.percentage}}%</span></p><div class="progress progress-sm channel-progress"><div class="progress-bar" role="progressbar" aria-valuenow="{{item.percentage}}" aria-valuemin="0" aria-valuemax="100" style="width: {{item.percentage}}%"></div></div></div></div></div></div>'),e.put("app/widgets/vesselCard/vesselCard.template.html",'<div class="vesselCard col-md-{{colSize}}" ng-class="{\'isBroken\': vessel.broken}"><div class="content"><div class="details col-xs-12"><div class="name" ng-bind="vessel.first_name"></div><div class="imo" ng-bind="vessel.imoNumber"></div><div ng-if="!vessel.shippingLine" class="operator" ng-bind="vessel.operator"></div><div ng-if="vessel.shippingLine"><div class="logo"><img width="100" height="100" ng-src="{{logo}}"></div><div ng-bind="vessel.shippingLine.name"></div><div ng-bind="vessel.shippingLine.code"></div></div></div><div class="button-row col-xs-12"><button class="btn btn-xs btn-primary" ng-click="editVesselDetails(vessel.id)">Edit</button> <button class="btn btn-xs btn-warning">Delete</button></div></div></div>'),e.put("app/widgets/warehouseCard/warehouseCard.html",'<div class="col-md-{{colSize}} warehouseCard"><div class="content"><div class="row"><div class="col-xs-12 name" ng-bind="warehouse.name"></div></div><div class="section-row"><div class="col-md-4 col-xs-12 section"><div class="heading">Consumed Capacity</div><div class="number" ng-bind-html="warehouse.currentKgs | weight"></div></div><div class="col-md-4 col-xs-12 section"><div class="heading">Total Capacity</div><div class="number" ng-bind-html="warehouse.totalCapacity | weight"></div></div><div class="col-md-4 col-xs-12 section"><div class="heading">Consumed Percentage</div><div class="pie-chart-item"><div class="number" ng-bind-html="(warehouse.percentageConsumed | number:\'2\')+\'<span class=\\\'titled\\\'>%</span>\'"></div></div></div></div><br><div class="row button-row"><div><button class="btn btn-warning" ng-click="openWarehouseProductStockReport(warehouse.id, warehouse.name, warehouse.currentKgs)">Product Stock Summary</button></div><div class=""><button class="btn btn-success" ng-click="openWarehouseBusinessStockReport(warehouse.id, warehouse.name, warehouse.currentKgs)">Business Stock Summary</button></div></div></div></div>'),e.put("app/widgets/weather/weather.html",'<div class="weather-wrapper"><div class="weather-main-info"><h5 class="city-date font-x1dot5"><div>{{geoData.geoplugin_city}} - {{geoData.geoplugin_countryName | uppercase}}</div><div>{{ weather.days[weather.current].date | date : \'EEEE h:mm\'}}</div></h5><div class="weather-description font-x1dot5"><i class="font-x3 {{weatherIcons[weather.days[weather.current].icon]}}"></i><div class="weather-info">{{weather.days[weather.current].main}} - {{weather.days[weather.current].description}}</div></div><div class="weather-temp font-x1dot5"><i class="font-x2 ion-thermometer"></i><div class="weather-info" ng-switch="" on="units"><span ng-switch-when="metric">{{weather.days[weather.current].temp}} °C | <a ng-click="switchUnits(\'imperial\')" href="">°F</a></span> <span ng-switch-when="imperial">{{weather.days[weather.current].temp}} °F | <a ng-click="switchUnits(\'metric\')" href="">°C</a></span></div></div></div><div id="tempChart" class="temp-by-time"></div><div class="select-day"><div class="day" ng-repeat="day in weather.days" ng-click="switchDay($index)"><div><span class="font-x1dot25">{{day.temp}}</span></div><div><i class="weatherIcon font-x2 {{weatherIcons[day.icon]}}"></i> <span class="select-day-info">{{day.main}}</span></div><div><span>{{day.date | date : \'EEE\'}}</span></div></div></div></div>'),e.put("app/dashboard/accounts/invoice/invoice.html",""),e.put("app/dashboard/accounts/invoice/invoiceForm.html",'<div class="row"><form name="vm.invoiceForm"><div class="col-md-6 pull-left"><div ba-panel=""><div class="row"><div class="col-md-6 col-xs-12"><div class="form-group"><label class="with-line">Date</label><date-picker-input date="vm.invoiceObj.date" blank="false" name="invoiceDate"></date-picker-input><ng-messages for="vm.invoiceForm.invoiceDate.$error" ng-show="(vm.invoiceForm.$submitted || vm.invoiceForm.invoiceDate.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter invoice date.</ng-message></ng-messages></div></div><div class="col-md-6 col-xs-12"><div class="form-group"><label class="with-line">Invoice No.</label> <input type="text" ng-model="vm.invoiceObj.invoiceNo" ng-required="true" name="invoiceNo" class="form-control" id="invoiceNo" placeholder="Invoice No."><ng-messages for="vm.invoiceForm.invoiceDate.$error" ng-show="(vm.invoiceForm.$submitted || vm.invoiceForm.invoiceNo.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter invoice date.</ng-message></ng-messages></div></div><div class="col-md-6 col-xs-12"><div class="form-group"><label class="with-line">File No.</label> <input type="text" ng-model="vm.invoiceObj.fileNo" ng-required="true" ng-disabled="true" name="quantity" class="form-control" id="fileNo" placeholder="File No."></div></div><div class="col-md-6 col-xs-12"><div class="form-group"><label class="with-line">Contract No.</label> <input type="text" ng-model="vm.invoiceObj.contractNo" ng-required="true" ng-disabled="true" name="contractNo" class="form-control" id="contractNo" placeholder="Contract No."></div></div><div class="col-md-6 col-xs-12"><div class="form-group"><label class="with-line">BL No.</label> <input type="text" ng-model="vm.invoiceObj.blNo" ng-required="true" ng-disabled="true" name="blNo" class="form-control" id="blNo" placeholder="BL No."></div></div><div class="col-md-3 col-xs-12"><div class="form-group"><label class="with-line">Quantity <span class="titled">FCL</span></label> <input type="text" ng-model="vm.invoiceObj.quantityFCL" ng-required="true" name="quantityFCL" class="form-control" id="quantityFCL" placeholder="Quantity FCL"></div></div><div class="col-md-3 col-xs-12"><div class="form-group"><label class="with-line">Quantity <span class="titled">MT</span></label> <input type="text" ng-model="vm.invoiceObj.quantity" ng-required="true" name="quantity" class="form-control" id="quantity" placeholder="Quantity"></div></div><div class="col-md-6 col-xs-12"><div class="form-group"><label class="with-line">Rate <span class="titled">USD</span></label> <input type="text" ng-model="vm.invoiceObj.price" ng-required="true" ng-disabled="true" name="quantity" class="form-control" id="rate" placeholder="Rate"></div></div><div class="col-md-6 col-xs-12"><div class="form-group"><label class="with-line"><span class="titled" ng-bind="vm.invoiceObj.currency"></span> / <span class="titled">USD</span></label> <input type="text" ng-model="vm.invoiceObj.currencyRate" ng-required="true" name="quantity" class="form-control" id="conversionRate" placeholder="Currency Rate"></div></div></div></div></div><div class="col-md-4 pull-right"><business-card col-size="12" business="vm.invoiceObj.invoiceTo" business-type="Invoice To"></business-card><product-card col-size="12" product-item="vm.invoiceObj.productItem"></product-card></div><div class="col-md-12"><div ba-panel="" ba-panel-title="Invoice Details" ba-panel-class="with-scroll"><div class="horizontal-scroll"><table class="table table-hover" st-table="editableTableData"><thead><tr class="sortable"><th class="table-id"></th><th class="table-id" st-sort="id" st-sort-default="true">S.No</th><th class="table-id" st-sort="id" st-sort-default="true">Description</th><th class="table-id" st-sort="id" st-sort-default="true">Amount <span class="titled" ng-bind="vm.invoiceObj.currency"></span></th><th class="table-id" st-sort="id" st-sort-default="true">Remarks</th></tr></thead><tbody><tr ng-repeat="item in vm.invoiceObj.invoiceItems track by $index"><td></td><td ng-bind="$index+1"></td><td>{{item.name}}</td><td><input class="form-control" type="text" ng-model="item.amount"></td><td><input class="form-control" type="text" ng-model="item.remarks"></td></tr></tbody><tbody><tr><td></td><td></td><td></td><td><strong>Total</strong></td><td><span class="titled" ng-bind="vm.invoiceObj.currency"></span> {{vm.invoiceObj.invoiceAmount | number : \'2\'}}</td></tr><tr><td></td><td></td><td></td><td><strong>FCL Weight(KG)</strong></td><td><span class="titled" ng-bind="vm.invoiceObj.currency"></span> {{(vm.invoiceObj.quantity * 1000) | number : \'2\'}}</td></tr><tr><td></td><td></td><td></td><td><strong>Average Rate(<span class="titled" ng-bind="vm.invoiceObj.currency +\' / KG\'"></span>)</strong></td><td><span class="titled" ng-bind="vm.invoiceObj.currency"></span> {{((vm.invoiceObj.invoiceAmount / (vm.invoiceObj.quantity* 1000) ) | number : \'2\')}}</td></tr></tbody></table></div></div></div><div class="col-md-12"><div ba-panel="" ba-panel-title="Notes" ba-panel-class="with-scroll"><div class="form-group"><textarea type="text" ng-model="vm.invoiceObj.note" name="notes" class="form-control" id="notes">\n\n                        </textarea></div></div></div><div class="col-md-12" ba-panel=""><button type="submit" ng-click="vm.createInvoice(vm.fileId, vm.invoiceObj)" ng-if="vm.invoiceId ===\'new\'" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> Create Invoice</button> <button type="submit" ng-click="vm.updateInvoice(vm.fileId, vm.invoiceObj)" ng-if="vm.invoiceId !==\'new\'" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> Update Invoice</button> <button type="button" ng-click="vm.cancel(vm.fileId)" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div>'),
  e.put("app/dashboard/accounts/taccounts/taccounts.html","<div>Commission Flow</div>"),e.put("app/dashboard/businessPartner/report/businessReport.html","<div></div>"),e.put("app/dashboard/businessPartner/template/bankInfo.html",'<form name="vm.bankInfoForm"><div class="row"><div class="col-md-6 marginBottom10px"><button type="button" class="btn btn-primary" data-toggle="modal" ng-click="vm.addBusinessBank(vm.business)">Add Bank Account</button></div></div><h3 class="with-line">All Banks</h3><div ng-repeat="bank in vm.business.banks" class="notification row clearfix margin-top-10px"><div class="col-sm-4"><div class="form-group row clearfix"><label class="col-xs-4">Bank Name</label><div class="col-xs-8"><input ng-required="true" ng-model="bank.bankName" class="form-control" name="bankName_{{$index}}" placeholder="Bank Name"><div ng-messages="vm.bankInfoForm[\'bankName_\'+$index].$error" class="ng-messages" ng-show=\'(vm.bankInfoForm.$submitted || vm.bankInfoForm["bankName_{{$index}}"].$dirty)\'><div class="errorValidation" ng-message="required">Please enter bank name.</div></div></div></div><div class="form-group row clearfix"><label class="col-xs-4">Account Title</label><div class="col-xs-8"><input ng-required="true" ng-model="bank.accountTitle" class="form-control" name="accountTitle_{{$index}}" placeholder="Account Title"><div ng-messages="vm.bankInfoForm[\'accountTitle_\'+$index].$error" class="ng-messages" ng-show=\'(vm.bankInfoForm.$submitted || vm.bankInfoForm["accountTitle_{{$index}}"].$dirty)\'><div class="errorValidation" ng-message="required">Please enter account title.</div></div></div></div><div class="form-group row clearfix"><label class="col-xs-4">Country</label><div class="col-xs-8"><selectize placeholder="Bank Country" name="bankCountry_{{$index}}" ng-required="true" config="vm.bankCountryConfig" options="vm.countryOptions.list" ng-model="bank.accountCountry"></selectize><div ng-messages="vm.bankInfoForm[\'bankCountry_\'+$index].$error" class="ng-messages" ng-show=\'(vm.bankInfoForm.$submitted || vm.bankInfoForm["bankCountry_{{$index}}"].$dirty)\'><div class="errorValidation" ng-message="required">Please select a country.</div></div></div></div><div class="form-group row clearfix"><label class="col-xs-4">Branch Address</label><div class="col-xs-8"><textarea ng-model="bank.accountAddress" class="form-control" name="accountAddress_{{$index}}" placeholder="Account Address">\n                </textarea></div></div></div><div class="col-sm-4"><div class="form-group row clearfix"><label class="col-xs-4">Account Number</label><div class="col-xs-8"><input ng-required="true" ng-model="bank.accountNumber" class="form-control" name="accountNumber_{{$index}}" placeholder="Account Number"><div ng-messages="vm.bankInfoForm[\'accountNumber_\'+$index].$error" class="ng-messages" ng-show=\'(vm.bankInfoForm.$submitted || vm.bankInfoForm["accountNumber_{{$index}}"].$dirty)\'><div class="errorValidation" ng-message="required">Please enter account number.</div></div></div></div><div class="form-group row clearfix"><label class="col-xs-4">City</label><div class="col-xs-8"><selectize placeholder="City" id="bankCity_{{$index}}" name="bankCity_{{$index}}" config="vm.cityConfig" options="bank.cityOptions.list" ng-model="bank.accountCity"></selectize></div></div></div><div class="col-sm-2 col-sm-offset-2"><i ng-click="vm.removeBusinessBank(vm.business.banks, bank)" class="fa fa-trash primary-font cursor-pointer" style="padding-top: 10px;"></i></div><br></div></form>'),e.put("app/dashboard/businessPartner/template/basicInfo.html",'<form name="vm.basicInfoForm"><div class="row"><div class="col-md-4"><div class="form-group row clearfix"><label class="col-sm-3 control-label">Business Logo</label><div class="col-sm-9"><div class="userpic"><div class="userpic-wrapper"><img ng-src="{{ vm.businessLogo }}" ng-click="vm.uploadBusinessLogo(event)"></div><i class="ion-ios-close-outline" ng-click="vm.removeBusinessLogo()" ng-if="!vm.business.logo"></i> <a href="" class="change-userpic" ng-click="vm.uploadBusinessLogo(event)">Change Business Logo</a> <input type="file" ng-show="false" id="uploadBusinessLogo" ng-file-select="vm.onFileSelect($files)"></div></div></div></div><div class="col-md-4"><div class="form-group row clearfix"><label for="businessName" class="col-sm-3 control-label">Business</label><div class="col-sm-9"><input type="text" ng-required="true" name="businessName" ng-model="vm.business.name" class="form-control" id="businessName" placeholder="Business Name"><ng-messages for="vm.basicInfoForm.businessName.$error" ng-if="(vm.basicInfoForm.$submitted && vm.basicInfoForm.businessName.$invalid) || (vm.basicInfoForm.businessName.$invalid && vm.basicInfoForm.businessName.$dirty)"><div ng-message="required" class="errorValidation">Please enter business name.</div></ng-messages></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Website</label><div class="col-sm-9"><input type="text" name="businessWebsite" ng-model="vm.business.website" class="form-control" id="businessWebsite" placeholder="Business Website"></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">NTN No.</label><div class="col-sm-9"><input type="text" name="businessNtn" ng-model="vm.business.ntn" class="form-control" id="businessNtn" placeholder="Business NTN"></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Business Type</label><div class="col-md-9"><selectize placeholder="Business Type" name="businessType" ng-required="true" config="vm.bpTypeConfig" options="vm.bpTypeOptions.list" ng-model="vm.business.bpType"></selectize><ng-messages for="vm.basicInfoForm.businessType.$error" ng-if="(vm.basicInfoForm.$submitted && vm.basicInfoForm.businessType.$invalid) || (vm.basicInfoForm.businessType.$invalid && vm.basicInfoForm.businessType.$dirty)"><div ng-message="required" class="errorValidation">A Business should at least have one type.</div></ng-messages></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Business Partner Database Id</label><div class="col-md-9"><input type="text" name="businessDatabaseId" ng-model="vm.business.databaseId" class="form-control" id="businessDatabaseId" placeholder="Business Partner Database Id"></div></div></div></div></form>'),e.put("app/dashboard/businessPartner/template/contactInfo.html",'<form name="vm.contactInfoForm" novalidate=""><div class="row"><div class="col-md-6 marginBottom10px"><button type="button" class="btn btn-primary" data-toggle="modal" ng-click="vm.addBusinessContact(vm.business)">Add Contact Person</button></div></div><h3 class="with-line">All Contacts</h3><div ng-repeat="contact in vm.business.contacts" class="row"><div class="col-sm-4"><div class="form-group row clearfix"><label class="col-xs-4">Contact Number</label><div class="col-xs-8"><input ng-required="true" ng-pattern="/^[0-9+\\(\\)-]+$/i" ng-model="contact.contactNumber" class="form-control" name="{{\'contactNumber_\'+$index}}" placeholder="Contact Number"><ng-messages for="vm.contactInfoForm[\'contactNumber_{{$index}}\'].$error" ng-if=\'(vm.contactInfoForm.$submitted && vm.businessForm["contactNumber_"+$index].$invalid) || (vm.contactInfoForm["contactNumber_"+$index].$invalid && vm.contactInfoForm["contactNumber_"+$index].$dirty)\'><div ng-message="required" class="errorValidation">Please enter contact number.</div><div ng-message="pattern" class="errorValidation">Contact Number can not have alphabets.</div></ng-messages></div></div></div><div class="col-sm-4"><div class="form-group row clearfix"><label class="col-xs-4">Contact Type</label><div class="col-xs-8"><selectize placeholder="Contact Type" name="{{\'contactType_\'+$index}}" ng-required="true" config="vm.contactTypeConfig" options="vm.contactTypeOptions.list" ng-model="contact.contactType"></selectize><ng-messages for="vm.contactInfoForm[\'contactNumber_{{$index}}\'].$error" ng-if=\'(vm.contactInfoForm.$submitted && vm.contactInfoForm["contactType_"+$index].$invalid) || (vm.contactInfoForm["contactType_"+$index].$invalid && vm.contactInfoForm["contactType_"+$index].$dirty)\'><div ng-message="required" class="errorValidation">Please enter contact type.</div></ng-messages></div></div></div><div class="col-sm-2 col-sm-offset-2"><i ng-click="vm.removeBusinessContact(vm.business.contacts, contact)" class="fa fa-trash primary-font cursor-pointer" style="padding-top: 10px;"></i></div><br><br><h3 class="with-line margin-top-10px margin-bottom-10px" style="width:98%; margin-left: auto; margin-right: auto;"></h3></div></form>'),e.put("app/dashboard/businessPartner/template/contactPerson.html",'<form name="vm.contactPersonInfoForm" novalidate=""><div class="row"><div class="col-md-6 marginBottom10px"><button type="button" class="btn btn-primary" data-toggle="modal" ng-click="vm.addContactPerson(vm.business)">Add Contact Person</button></div></div><h3 class="with-line">All Contact Persons</h3><div ng-repeat="contPerson in vm.business.contactPersons" class="row"><div class="col-sm-4"><div class="form-group row clearfix"><label class="col-xs-4">Full Name</label><div class="col-xs-8"><input ng-required="true" ng-pattern="/^[a-zA-Z ]+$/i" ng-model="contPerson.fullName" class="form-control" name="{{\'personName_\'+$index}}" placeholder="Full Name"><ng-messages for="vm.contactPersonInfoForm[\'personName_{{$index}}\'].$error" ng-if=\'(vm.contactPersonInfoForm.$submitted && vm.contactPersonInfoForm["personName_"+$index].$invalid) || (vm.contactPersonInfoForm["personName_"+$index].$invalid && vm.contactPersonInfoForm["personName_"+$index].$dirty)\'><div ng-message="required" class="errorValidation">Please enter contact person name.</div><div ng-message="pattern" class="errorValidation">Name can only have alphabets.</div></ng-messages></div></div><div class="form-group row clearfix"><label class="col-xs-4">Designation</label><div class="col-xs-8"><input ng-required="true" ng-pattern="/^[a-zA-Z ]+$/i" ng-model="contPerson.designation" class="form-control" name="{{\'personDesignation_\'+$index}}" placeholder="Designation"><ng-messages for="vm.contactPersonInfoForm[\'personDesignation_{{$index}}\'].$error" ng-if=\'(vm.contactPersonInfoForm.$submitted && vm.contactPersonInfoForm["personDesignation_"+$index].$invalid) || (vm.contactPersonInfoForm["personDesignation_"+$index].$invalid && vm.contactPersonInfoForm["personDesignation_"+$index].$dirty)\'><div ng-message="required" class="errorValidation">Please enter designation.</div><div ng-message="pattern" class="errorValidation">Designation can only have alphabets.</div></ng-messages></div></div><div class="form-group row clearfix"><label class="col-xs-4">Email</label><div class="col-xs-8"><input ng-required="true" ng-model="contPerson.email" ng-pattern="/^([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,66})\\.([a-z]{2,6}(?:\\.[a-z]{2})?)$/i" class="form-control" name="{{\'personEmail_\'+$index}}" placeholder="Email"><ng-messages for="vm.contactPersonInfoForm[\'personEmail_{{$index}}\'].$error" ng-if=\'(vm.contactPersonInfoForm.$submitted && vm.contactPersonInfoForm["personEmail_"+$index].$invalid) || (vm.contactPersonInfoForm["personEmail_"+$index].$invalid && vm.contactPersonInfoForm["personEmail_"+$index].$dirty)\'><div ng-message="required" class="errorValidation">Please enter email.</div><div ng-message="pattern" class="errorValidation">Please enter valid person email.</div></ng-messages></div></div></div><div class="col-sm-4"><div class="form-group row clearfix"><label class="col-xs-4">Primary Contact</label><div class="col-xs-8"><input ng-required="true" ng-pattern="/^[0-9-\\(\\)]+$/i" ng-model="contPerson.primaryNumber" class="form-control" name="{{\'contPrimary_\'+$index}}" placeholder="Primary Contact"></div></div><div class="form-group row clearfix"><label class="col-xs-4">Secondary Contact</label><div class="col-xs-8"><input ng-pattern="/^[0-9-\\(\\)]+$/i" ng-model="contPerson.secondaryNumber" class="form-control" name="{{\'contSecondary_\'+$index}}" placeholder="Secondary Contact"></div></div></div><div class="col-sm-2"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" ng-change="vm.isPrimaryChange(vm.business.contactPersons, contPerson, contPerson.isPrimary, \'isPrimary\')" id="checkboxSuccess" ng-model="contPerson.isPrimary"> <span>Is Primary Contact</span></label></div></div><div class="col-sm-2"><i ng-click="vm.removeContactPerson(vm.business.contactPersons, contPerson)" class="fa fa-trash primary-font cursor-pointer" style="padding-top: 10px;"></i></div><br><br><h3 class="with-line margin-top-10px margin-bottom-10px" style="margin-top:110px; width:98%; margin-left: auto; margin-right: auto;"></h3></div></form>'),e.put("app/dashboard/businessPartner/template/location.html",'<form name="vm.locationInfoForm"><div class="row"><div class="col-md-6 marginBottom10px"><button type="button" class="btn btn-primary" data-toggle="modal" ng-click="vm.addBusinessAddress(vm.business)">Add New Address</button></div></div><h3 class="with-line">All Locations</h3><div ng-repeat="location in vm.business.locations" class="row"><div class="col-md-4"><div class="form-group row clearfix"><label for="locationAddress_{{$index}}" class="col-sm-3 control-label">Address</label><div class="col-sm-9"><textarea ng-model="location.address" style="height: 140px" rows="10" placeholder="Address" class="form-control" name="locationAddress_{{$index}}" id="locationAddress_{{$index}}">\n                            </textarea><ng-messages for="vm.locationInfoForm[\'locationAddress_{{$index}}\'].$error" ng-if=\'(vm.locationInfoForm.$submitted && vm.locationInfoForm["locationAddress_"+$index].$invalid) || (vm.locationInfoForm["locationAddress_"+$index].$invalid && vm.locationInfoForm["locationAddress_"+$index].$dirty)\'><div ng-message="required" class="errorValidation">Please enter valid address.</div></ng-messages></div></div></div><div class="col-md-4"><div class="form-group row clearfix"><label class="col-sm-3 control-label">Country</label><div class="col-sm-9"><selectize placeholder="Country" name="{{\'locationCountry_\'+$index}}" ng-required="true" config="vm.countryConfig" options="vm.countryOptions.list" ng-model="location.country"></selectize><div ng-messages="vm.locationInfoForm[\'locationCountry_\'+$index].$error" class="ng-messages" ng-show=\'(vm.locationInfoForm.$submitted || vm.locationInfoForm["locationCountry_{{$index}}"].$dirty)\'><div class="errorValidation" ng-message="required">Please enter location country.</div></div></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">State</label><div class="col-sm-9"><selectize placeholder="State" ng-disabled="!location.country" id="locationState_{{$index}}" name="locationState_{{$index}}" ng-required="true" config="vm.stateConfig" options="location.stateOptions.list" ng-model="location.state"></selectize><div ng-messages="vm.locationInfoForm[\'locationState_\'+$index].$error" class="ng-messages" ng-show=\'(vm.locationInfoForm.$submitted || vm.locationInfoForm["locationState_{{$index}}"].$dirty)\'><div class="errorValidation" ng-message="required">Please enter location state.</div></div></div></div><div class="form-group row clearfix"><label for="locationCity_{{$index}}" class="col-sm-3 control-label">City</label><div class="col-sm-9"><selectize placeholder="City" ng-disabled="!location.country" id="locationCity_{{$index}}" name="locationCity_{{$index}}" ng-required="true" config="vm.cityConfig" options="location.cityOptions.list" ng-model="location.city"></selectize><div ng-messages="vm.locationInfoForm[\'locationCity_\'+$index].$error" class="ng-messages" ng-show=\'(vm.locationInfoForm.$submitted || vm.locationInfoForm["locationCity_{{$index}}"].$dirty)\'><div class="errorValidation" ng-message="required">Please enter location city.</div></div></div></div></div><div class="col-sm-2"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" ng-change="vm.isPrimaryChange(vm.business.locations, location, location.isPrimary, \'isPrimary\')" ng-model="location.isPrimary"> <span>Is Primary Address</span></label></div></div><div class="col-sm-2"><i ng-click="vm.removeBusinessLocation(vm.business.locations, location)" class="fa fa-trash primary-font cursor-pointer" style="padding-top: 10px;"></i></div><br><br><h3 class="with-line margin-top-10px margin-bottom-10px" style="margin-top:100px; width:98%; margin-left: auto; margin-right: auto;"></h3></div></form>'),e.put("app/dashboard/businessPartner/template/view.html",""),e.put("app/dashboard/localTradeBook/transaction/localTradebookForm.html",'<div ba-panel="" ba-panel-title="" ba-panel-class="with-scroll"><form name="vm.localTransactionForm" novalidate=""><div class="row"><div class="col-md-12"><h3 class="with-line">Transaction Information</h3><div class="row wizard-containers"><div class="row"><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Date</label><div class=""><date-picker-input date="vm.localTransaction.date" name="date" required="true"></date-picker-input><ng-messages for="vm.localTransactionForm.date.$error" ng-show="(vm.localTransactionForm.$submitted || vm.localTransactionForm.date.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter local trade date.</ng-message></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Buyer</label><div class=""><selectize ng-required="true" placeholder="Buyer" name="buyer" id="buyer" config="vm.buyerConfig" options="vm.buyerOptions.list" ng-model="vm.localTransaction.buyerId"></selectize><ng-messages for="vm.localTransactionForm.buyer.$error" ng-if="(vm.localTransactionForm.$submitted || vm.localTransactionForm.buyer.$dirty)"><div ng-message="required" class="errorValidation">Please select Buyer</div><div class="errorValidation" ng-message="validator">Buyer and Seller can not be same</div></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Seller</label><div class=""><selectize placeholder="Seller" ng-required="true" name="seller" id="seller" config="vm.sellerConfig" options="vm.sellerOptions.list" ng-model="vm.localTransaction.sellerId"></selectize><ng-messages for="vm.localTransactionForm.seller.$error" ng-if="(vm.localTransactionForm.$submitted || vm.localTransactionForm.seller.$dirty)"><div ng-message="required" class="errorValidation">Please select seller.</div><div class="errorValidation" ng-message="validator">Buyer and Seller can not be same</div></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Product Item</label><div class=""><selectize ng-required="true" name="productItem" placeholder="Product Item" id="productItem" config="vm.productItemConfig" options="vm.productItemOptions.list" ng-model="vm.localTransaction.productItemId"></selectize><ng-messages for="vm.localTransactionForm.productItem.$error" ng-if="(vm.localTransactionForm.$submitted || vm.localTransactionForm.productItem.$dirty)"><div ng-message="required" class="errorValidation">Please enter product item.</div></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Quantity <span class="titled">FCL</span></label><div class=""><input required="" ng-pattern="/^[0-9.]+$/i" ng-model="vm.localTransaction.quantityFCL" class="form-control" name="quantityFCL" placeholder="Quantity"><ng-messages for="vm.localTransactionForm.quantityFCL.$error" ng-show="(vm.localTransactionForm.$submitted || vm.localTransactionForm.quantityFCL.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter quantity FCL value.</ng-message><ng-message class="errorValidation" when="pattern">Quantity FCL can only have numbers.</ng-message></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Quantity <span class="titled">MT</span></label><div class=""><input required="" ng-pattern="/^[0-9.]+$/i" ng-model="vm.localTransaction.quantity" class="form-control" name="quantity" placeholder="Quantity"><ng-messages for="vm.localTransactionForm.quantity.$error" ng-show="(vm.localTransactionForm.$submitted || vm.localTransactionForm.quantity.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter quantity value.</ng-message><ng-message class="errorValidation" when="pattern">Quantity can only have numbers.</ng-message></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Price <span class="titled">{{vm.currency + \' / MT\'}}</span></label><div class=""><input required="" ng-pattern="/^[0-9.]+$/i" ng-model="vm.localTransaction.price" class="form-control" name="price" placeholder="Price {{vm.currency}} / MT"><ng-messages for="vm.localTransactionForm.price.$error" ng-show="(vm.localTransactionForm.$submitted || vm.localTransactionForm.price.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter price value.</ng-message><ng-message class="errorValidation" when="pattern">Price can only have numbers.</ng-message></ng-messages></div></div><div class="form-group col-md-4"><label class="with-line control-label">File ID</label><div class=""><input ng-model="vm.localTransaction.fileId" ng-required="true" class="form-control" name="fileId" placeholder="Local Trade File Id"><ng-messages for="vm.localTransactionForm.fileId.$error" ng-show="(vm.localTransactionForm.$submitted || vm.localTransactionForm.fileId.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter local trade file id.</ng-message></ng-messages></div></div><div class="form-group col-md-4"><label class="with-line control-label">Contract ID</label><div class=""><input ng-model="vm.localTransaction.contractId" class="form-control" placeholder="Local Trade Contract Id"></div></div><div class="form-group col-md-4"><label class="with-line control-label"><span class="titled">Delivery Due</span> Date</label><div class=""><date-picker-input date="vm.localTransaction.deliveryDueDate" name="deliveryDueDate" required="true"></date-picker-input><ng-messages for="vm.localTransactionForm.deliveryDueDate.$error" ng-show="(vm.localTransactionForm.$submitted || vm.localTransactionForm.deliveryDueDate.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter local trade date.</ng-message></ng-messages></div></div><div class="form-group col-md-4"><label class="with-line control-label"><span class="titled">Funds Due</span> Date</label><div class=""><date-picker-input date="vm.localTransaction.fundsDueDate" name="fundsDueDate" required="true"></date-picker-input><ng-messages for="vm.localTransactionForm.fundsDueDate.$error" ng-show="(vm.localTransactionForm.$submitted || vm.localTransactionForm.fundsDueDate.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter funds due date.</ng-message></ng-messages></div></div><div class="form-group col-md-4"><label class="with-line control-label">International <span class="titled">File ID</span></label><div class=""><selectize ng-required="true" name="internationalFileId" placeholder="International File Id" config="vm.internationalTradeConfig" options="vm.internationalTradeOptions.list" ng-model="vm.localTransaction.internationalFileId"></selectize></div></div><div class="form-group col-md-4"><label class="with-line control-label">Local <span class="titled">File ID</span></label><div class=""><selectize ng-required="false" name="internationalFileId" placeholder="Local File Id" config="vm.localTradeConfig" options="vm.localTradeOptions.list" ng-model="vm.localTransaction.localFileId"></selectize></div></div><div class="form-group col-md-12 clearfix"><label class="with-line control-label">Other Information</label><div class=""><textarea ng-model="vm.localTransaction.otherInfo" class="form-control">\n                                </textarea></div></div></div></div></div><div class="col-md-12"><h3 class="with-line">Payment Condition</h3><div class="row wizard-containers"><div class="row"><div class="form-group col-md-12 clearfix"><div class="input-demo radio-demo row"><div class="col-md-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" ng-model="vm.localTransaction.paymentTerm" id="advance" value="{{vm.paymentTerms.ADVANCE}}"> <span>Advance</span></label></div><div class="col-md-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" value="{{vm.paymentTerms.PRODUCT_DELIVERY}}" ng-model="vm.localTransaction.paymentTerm" id="productDelivery"> <span>On Product Delivery</span></label></div><div class="col-md-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" value="{{vm.paymentTerms.ON_DATE}}" ng-model="vm.localTransaction.paymentTerm" id="On Date"> <span>On Specified Date</span><div class="form-group" ng-show="vm.localTransaction.paymentTerms===vm.paymentTerms.ON_DATE"><date-picker-input position="top-left" date="vm.localTransaction.paymentDate" name="paymentDate"></date-picker-input></div></label></div></div></div></div></div></div></div><div class="row"><button type="submit" ng-click="vm.saveLocalTrade(vm.localTransactionForm, vm.localTransaction)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> Save Local Trade</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div>'),e.put("app/dashboard/localTradeBook/transaction/localTransactionView.html",'<div class="row"><div class="col-md-12 marginBottom10px"><button class="btn btn-primary" ng-click="vm.createWatsappCopy(vm.transaction)"><i class="fa fa-whatsapp" aria-hidden="true"></i> &nbsp;Copy for Whatsapp</button></div></div><div class="col-md-12 transactionView"><div ba-panel="" ba-panel-title="" ba-panel-class="with-scroll"><div class="row transactionNo"><div class="col-xs-12 col-md-12"><br><button class="btn btn-xs btn-success pull-right" ng-click="vm.editTransactionDetails(vm.transaction.fileId)">Edit</button></div><div class="col-xs-12 col-md-2"><h3 class="with-line">Transaction Date</h3><div ng-bind="vm.transaction.date | date: vm.appFormats.FullDate2" class="number"></div></div><div class="col-xs-12 col-md-1"><h3 class="with-line">File No</h3><div ng-bind="vm.transaction.fileId" class="number"></div></div><div class="col-xs-12 col-md-1"><h3 class="with-line">Contract No</h3><div class="number" ng-bind="vm.transaction.contractId ? vm.transaction.contractId : \'NA\'"></div></div><div class="col-xs-12 col-md-2"><h3 class="with-line">Price <span class="titled">USD</span></h3><div ng-bind="vm.transaction.price | number: \'2\'" class="number"></div></div><div class="col-xs-12 col-md-1"><h3 class="with-line">Quantity <span class="titled">FCL</span></h3><div ng-bind="vm.transaction.quantityFCL | number: \'2\'" class="number"></div></div><div class="col-xs-12 col-md-1"><h3 class="with-line">Quantity <span class="titled">MT</span></h3><div ng-bind="vm.transaction.quantity | number: \'2\'" class="number"></div></div><div class="col-xs-12 col-md-2"><h3 class="with-line">Delivery Due Date</h3><div class="number">{{vm.transaction.deliveryDueDate | date: vm.appFormats.FullDate2}}</div></div><div class="col-xs-12 col-md-2"><h3 class="with-line">Funds Due Date</h3><div class="number">{{vm.transaction.fundsDueDate | date: vm.appFormats.FullDate2}}</div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Buyer</h3><div class="countryFlag"><div class="flag"><img ng-if="vm.transaction.buyer.countryFlag" width="45" height="45" src="{{vm.appConstants.STATIC_URL + \'/\' +vm.transaction.buyer.countryFlag}}"> <img ng-if="!vm.transaction.buyer.countryFlag" width="45" height="45" src="{{vm.transaction.buyer.countryFlag | countryLogo}}"></div></div><div class="details"><div class="number">{{vm.transaction.buyer.name}}</div><div class="name">{{vm.transaction.buyer.country}}</div></div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Seller</h3><div class="countryFlag"><img ng-if="vm.transaction.seller.countryFlag" width="45" height="45" src="{{vm.appConstants.STATIC_URL + \'/\' +vm.transaction.seller.countryFlag}}"> <img ng-if="!vm.transaction.seller.countryFlag" width="45" height="45" src="{{vm.transaction.seller.countryFlag | countryLogo}}"></div><div class="details"><div class="number">{{vm.transaction.seller.name}}</div><div class="name">{{vm.transaction.seller.country}}</div></div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Product</h3><div class="countryFlag"><div class="flag"><img width="45" height="45" src="{{vm.appConstants.HOST + \'/\' +vm.transaction.productItem.countryFlag}}"></div></div><div class="details"><div class="number">{{vm.transaction.productItem.name}}</div><div class="name">{{vm.transaction.productItem.country}}</div></div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Buyer Broker</h3><div class="number number-space" ng-if="!vm.transaction.commission.buyerBroker">NA</div><div class="countryFlag" ng-if="vm.transaction.commission.buyerBroker"><div class="flag"><img ng-if="vm.transaction.commission.buyerBroker.countryFlag" width="45" height="45" src="{{vm.appConstants.STATIC_URL + \'/\' +vm.transaction.commission.buyerBroker.countryFlag}}"> <img ng-if="!vm.transaction.commission.buyerBroker.countryFlag" width="45" height="45" src="{{vm.transaction.commission.buyerBroker.countryFlag | countryLogo}}"></div></div><div class="details" ng-if="vm.transaction.commission.buyerBroker"><div class="number">{{vm.transaction.commission.buyerBroker.name}}</div><div class="name">{{vm.transaction.commission.buyerBroker.country}}</div></div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Seller Broker</h3><div class="number-space number" ng-if="!vm.transaction.commission.sellerBroker">NA</div><div class="countryFlag" ng-if="vm.transaction.commission.sellerBroker"><img ng-if="vm.transaction.commission.buyerBroker.countryFlag" width="45" height="45" src="{{vm.appConstants.STATIC_URL + \'/\' +vm.transaction.commission.sellerBroker.countryFlag}}"> <img ng-if="!vm.transaction.commission.buyerBroker.countryFlag" width="45" height="45" src="{{vm.transaction.commission.sellerBroker.countryFlag | countryLogo}}"></div><div class="details" ng-if="vm.transaction.commission.sellerBroker"><div class="number">{{vm.transaction.commission.sellerBroker.name}}</div><div class="name">{{vm.transaction.commission.sellerBroker.country}}</div></div></div><div class="col-xs-12 col-md-4"><h3 class="with-line">Status</h3><div class="number pull-right" style="float:left;" ng-if="vm.transaction.completeObj.isComplete">{{vm.transaction.completeObj.completionDate | date: vm.appFormats.FullDate2}}</div><button class="btn btn-xs" ng-class="{\'btn-danger\':!vm.transaction.completeObj.isComplete, \'btn-primary\':vm.transaction.completeObj.isComplete}" ng-click="vm.changeCompleteStatus(vm.transactionId.completeObj, vm.transactionId)">Complete</button></div><div class="col-xs-12 col-md-4" ng-if="vm.transaction.onOurContract"><h3 class="with-line">Invoice</h3><button class="btn btn-xs btn-success pull-left cursor-pointer" ng-click="vm.goToInvoice(vm.transaction.fileNo, vm.transaction.invoice.invoiceNo)" ng-if="vm.transaction.invoice"><i class="fa fa-list-alt" aria-hidden="true"></i> Invoice No:{{ vm.transaction.invoice.invoiceNo}}</button><div class="number pull-right" ng-if="vm.transaction.invoice"><span class="titled" ng-bind="vm.transaction.businessCurrency"></span> {{vm.transaction.invoice.invoiceAmount}}</div><button ng-if="vm.transaction.invoiceCreation" class="btn btn-xs btn-success" ng-click="vm.createTransactionInvoice(vm.transaction.fileNo)"><i class="fa fa-list-alt" aria-hidden="true"></i> Create Invoice</button></div><div class="col-md-12 col-md-12"><h3 class="with-line">Other Information</h3><div class="number" ng-bind="vm.transaction.otherInfo ? vm.transaction.otherInfo : \'NA\'"></div></div></div><div class="row"><div class="col-md-12"><h3 class="with-line">Payments <button class="btn btn-xs btn-success" ng-click="vm.addLocalPayment(vm.transaction.fileId)">Add New</button></h3></div></div><div class="row"><div class="col-md-12"><h3 class="with-line"></h3></div></div><div class="row"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Transaction Documents <button class="btn btn-xs btn-success" ng-click="vm.addNewDocument()">Add New</button></h3><div ng-show="vm.addingDocument" class="row"><div class="col-lg-12"><div class="form-group col-lg-4 col-xs-12"><label>Document Name</label> <input class="form-control" ng-model="vm.newDocumentName" type="text"><br><button class="btn btn-success btn-xs" type="file" ngf-select="vm.uploadTradeDocument($file, $invalidFiles)" accept="*"><i class="fa fa-upload"></i> Upload</button></div></div></div><div class="row"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.transaction.files.length!==0"><th><span class="count">{{vm.transaction.files.length}}</span></th><th>Document Name</th><th>Uploaded By</th><th>Uploaded At</th><th>Actions</th></tr><tr class="table-header" ng-if="vm.transaction.files.length===0"><th>No Documents have been added for this transaction.</th></tr></thead><tbody><tr ng-repeat="doc in vm.transaction.files"><td></td><td ng-bind="doc.fileName"></td><td ng-bind="doc.uploadedBy"></td><td ng-bind="doc.uploadedAt | date: vm.appFormats.date"></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.downloadTradeDoc(doc.fileId, doc.fileName, doc.extension)">Download</button> <button class="btn btn-warning editable-table-button btn-xs" ng-click="vm.deleteTradeDoc(doc.fileId)">Delete</button></div></td></tr></tbody></table></div></div></div></div></div><div class="row"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Notes</h3><div class="row"><div class="col-xs-12 col-md-6"><div ba-panel="" ba-panel-class="with-scroll" class="noteList"><img ng-if="noteListLoading" width="60" height="60" src="assets/img/loader.svg"><div ng-if="!noteListLoading && (vm.transaction.notes.length === 0)">No trade notes.</div><div class="col-xs-12" ng-repeat="nte in vm.transaction.notes | orderBy: \'-createdAt\'"><div class="col-xs-6 note" ng-class="{\'pull-right\':nte.self, \'self\':nte.self, \'other\': !nte.self, \'editing\': nte.editing}"><div class="col-xs-12 userData"><img class="userImage" ng-src="{{( nte.createdByPic | profilePicture )}}"><div class="details"><div class="name">{{nte.createdBy}}</div><div class="date">Note on: {{nte.createdAt | date:appFormats.Time }}</div><div class="date" ng-if="nte.updatedAt">Note Updated On: {{nte.updatedAt | date:appFormats.Time }}</div></div></div><div class="col-xs-12">{{nte.note}}</div><div class="col-xs-12 button-bar"><button class="btn btn-danger btn-xs pull-right" ng-if="nte.self" ng-click="vm.editTradeNote(nte.note, nte)">Edit</button> <button class="btn btn-warning btn-xs pull-right" ng-click="vm.deleteTradeNote(vm.transactionId, nte.noteId, nte, vm.transaction.notes)" ng-if="nte.isDeleteAble">Delete</button></div></div></div></div></div><div class="col-xs-12 col-md-6"><div class="form-group col-md-12 clearfix"><form name="vm.trade_note_form" novalidate=""><label class="col-sm-12 control-label">Notes</label><div class="col-sm-12"><textarea ng-if="!addingNote" ng-required="true" name="tradeNote" ng-model="vm.noteText" class="form-control">\n                                                </textarea><ng-messages for="vm[\'trade_note_form_\'+row.id][\'tradeNote_\'+row.id].$error" ng-if=\'(vm["trade_note_form_"+row.id].$submitted || vm["trade_note_form_"+row.id]["tradeNote_"+row.id].$dirty)\'><div ng-message="required" class="errorValidation">Please enter a trade note.</div></ng-messages></div><div class="col-sm-12"><br><button class="btn btn-success editable-table-button btn-xs" type="submit" style="min-width: 115px;" ng-click="vm.addTradeNote(vm.transactionId, vm.noteText, vm.transaction.notes, vm.trade_note_form)"><span ng-if="addingNote"><i class="fa fa-spinner fa-pulse fa-spin fa-3x fa-fw"></i> <span class="sr-only">Loading...</span> &nbsp;</span> <span ng-if="!vm.addingNote && !vm.updateNote">Add Note</span> <span ng-if="vm.updateNote">Update Note</span></button></div></form></div></div></div></div></div></div><div class="row"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Change Logs</h3><div class="row"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header"><th><span class="count">{{vm.transaction.changeLogs.length}}</span></th><th>Log Time</th><th>Change By</th><th>Log</th></tr></thead><tbody><tr ng-repeat="log in vm.transaction.changeLogs"><td></td><td ng-bind="log.changeTime | date:vm.appFormats.Time"></td><td ng-bind="log.changeByUserName"></td><td ng-bind-html="log.description"></td></tr></tbody></table></div></div></div></div></div></div></div>'),
  e.put("app/dashboard/manifest/template/itemForm.html",'<form name="vm.manifestForm" novalidate=""><h3 class="with-line"></h3><div class="row"><div class="col-md-6"><div class="form-group row clearfix"><label for="productItem" class="col-sm-3 control-label">Buyer</label><div class="col-sm-9"><selectize ng-required="true" placeholder="Buyer" name="buyer" id="buyer" config="vm.buyerConfig" options="vm.buyerOptions.list" ng-model="vm.manifestItem.buyerId"></selectize><ng-messages for="vm.manifestForm.buyer.$error" ng-if="(vm.manifestForm.$submitted && vm.manifestForm.buyer.$invalid) || (vm.manifestForm.buyer.$invalid && vm.manifestForm.buyer.$dirty)"><div ng-message="required" class="errorValidation">Please select Buyer</div></ng-messages></div></div><div class="form-group row clearfix"><label for="productItem" class="col-sm-3 control-label">Product Item</label><div class="col-sm-9"><selectize ng-required="true" name="product" placeholder="Product Item" id="product" config="vm.productConfig" options="vm.productOptions.list" ng-model="vm.manifestItem.productId"></selectize><ng-messages for="vm.manifestForm.product.$error" ng-if="(vm.manifestForm.$submitted && vm.manifestForm.product.$invalid) || (vm.manifestForm.product.$invalid && vm.manifestForm.product.$dirty)"><div ng-message="required" class="errorValidation">Please select product.</div></ng-messages></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Date</label><div class="col-sm-9"><div uib-datepicker="" ng-model="vm.manifestItem.date" class="calender margin-top-10px" datepicker-options="options"></div></div></div></div><div class="col-md-6"><div class="form-group row clearfix"><label for="productItem" class="col-sm-3 control-label">Seller</label><div class="col-sm-9"><selectize placeholder="Seller" ng-required="true" name="productItem" id="productItem" config="vm.sellerConfig" options="vm.sellerOptions.list" ng-model="vm.manifestItem.sellerId"></selectize><ng-messages for="vm.manifestForm.productItem.$error" ng-if="(vm.manifestForm.$submitted && vm.manifestForm.productItem.$invalid) || (vm.manifestForm.productItem.$invalid && vm.manifestForm.productItem.$dirty)"><div ng-message="required" class="errorValidation">Please select seller.</div></ng-messages></div></div><div class="form-group row clearfix"><label for="quantityMetric" class="col-sm-3 control-label">Quantity Metric</label><div class="col-sm-9"><selectize ng-required="true" placeholder="Quantity Metric" name="quantityMetric" id="quantityMetric" config="vm.quantityMetricConfig" options="vm.quantityMetricOptions.list" ng-model="vm.manifestItem.quantityMetricId"></selectize><ng-messages for="vm.manifestForm.quantityMetric.$error" ng-if="(vm.manifestForm.$submitted && vm.manifestForm.quantityMetric.$invalid) || (vm.manifestForm.quantityMetric.$invalid && vm.manifestForm.quantityMetric.$dirty)"><div ng-message="required" class="errorValidation">Please enter quantity metric.</div></ng-messages></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Quantity ({{vm.marketPriceObj.priceMetricId ? vm.marketPriceObj.priceMetricId : \'FCL\' }})</label><div class="col-sm-9"><input required="" ng-pattern="/^[0-9]+$/i" ng-model="vm.manifestItem.quantity" class="form-control" name="quantity" placeholder="Quantity in {{vm.manifestItem.quantityMetricId}}"><ng-messages for="vm.manifestForm.quantity.$error" ng-show="(vm.manifestForm.$submitted && vm.manifestForm.quantity.$invalid) || (vm.manifestForm.quantity.$invalid && vm.manifestForm.quantity.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter price value.</ng-message><ng-message class="errorValidation" when="pattern">Quantity can only have numbers.</ng-message></ng-messages></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Container No.</label><div class="col-sm-9"><input ng-model="vm.manifestItem.containerNo" class="form-control" name="containerNo" placeholder="Container No."></div></div></div></div><div class="row"><div class="col-md-12"><div class="form-group row clearfix"><label for="priceComments" class="col-sm-3 control-label">Comments</label><div class="col-sm-12"><textarea ng-model="vm.manifestItem.comments" placeholder="Comments" class="form-control" id="priceComments">\n                        </textarea></div></div></div></div><button type="submit" ng-if="!vm.manifestItem.id" ng-click="vm.saveManifestItem(vm.manifestItem, vm.manifestForm, true)" class="btn btn-success btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Add Manifest Item & Add Another</button> <button type="submit" ng-if="!vm.manifestItem.id" ng-click="vm.saveManifestItem(vm.manifestItem, vm.manifestForm)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Add Manifest Item & Exit</button> <button type="submit" ng-if="vm.manifestItem.id" ng-click="vm.saveManifestItem(vm.manifestItem, vm.manifestForm)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Update Manifest Item</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></form>'),e.put("app/dashboard/settings/dashboardProducts/dashboardProducts.html",'<div class="row"><div class="col-md-12" ba-panel="" ba-panel-title="Add New Transaction Status" ba-panel-class="with-scroll"><div><form class="row form-inline" name="transactionStatus"><div class="form-group col-sm-6 col-xs-6"><input type="text" class="form-control" id="exampleInputName2" placeholder="Name"></div><button type="submit" class="btn btn-primary">Add</button> <button type="submit" class="btn btn-default">Clear</button></form></div></div><div class="col-md-12"><div ba-panel="" ba-panel-title="All Transaction Status" ba-panel-class="with-scroll"><div class="horizontal-scroll"><table class="table" st-table="smartTableData"></table></div></div></div></div>'),e.put("app/dashboard/settings/templates/appDropDown.html",'<div ba-panel="" ba-panel-class="tabs-panel with-scroll"><uib-tabset class="tabs-left"><uib-tab ng-repeat="dropDown in vm.appDropDowns" heading="{{dropDown.title}}" ng-click="vm.getDropDownList(dropDown)"><button class="btn btn-primary" data-toggle="modal" ng-click="vm.openDropDownModal(\'Add New \' + dropDown.title, dropDown.endPoint, vm.page, \'md\', vm.modalController, null, null)">Add New {{dropDown.title}}</button><br><br><table class="table" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="dropDown.list.length!==0"><th>Drop Down Value</th><th>Created By</th><th>Created On</th><th>Updated By</th><th>Updated On</th><th>Actions</th></tr><tr class="table-header" ng-if="dropDown.list.length===0"><th>No values have been added.</th></tr></thead><tbody><tr ng-repeat="row in dropDown.list"><td ng-bind="row.name"></td><td ng-bind="row.createdBy"></td><td ng-bind="row.createdAt | date:vm.appFormats.Date"></td><td>{{(!row.updatedBy) && \'Not Updated\' || row.updatedBy}}</td><td>{{(!row.updatedOn) && \'Not Updated\' || (row.updatedOn | date:vm.appFormats.Date)}}</td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.openDropDownModal(\'Edit \' + dropDown.title, dropDown.endPoint, vm.page, \'md\', vm.modalController, row.name, row.id)">Edit</button></div></td></tr></tbody></table></uib-tab></uib-tabset></div>'),e.put("app/dashboard/settings/templates/businessDetails.html",'<div><div class="panel-content"><form name="vm.businessSettingsForm"><div class="row"><div class="container"><div class="col-md-12"><label>Website</label> <input type="text" name="businessWebsite" ng-pattern="/^(http:\\/\\/|https:\\/\\/)?[_a-z0-9]+(\\.[_a-z0-9]+)*[a-z0-9-]+(\\.[a-z0-9-]+)*(\\.[a-z]{2,7})$/" ng-model="vm.businessSettings.website" class="form-control" id="businessWebsite" placeholder="Business Website"><ng-messages for="vm.businessSettingsForm.businessWebsite.$error" ng-if="(vm.businessSettingsForm.$submitted && vm.businessSettingsForm.businessWebsite.$invalid) || (vm.businessSettingsForm.businessWebsite.$invalid && vm.businessSettingsForm.businessWebsite.$dirty)"><div ng-message="pattern" class="errorValidation">Please enter a valid website.</div></ng-messages></div></div><br><div class="container"><div class="col-md-12"><div class="form-group"><button type="submit" ng-click="vm.saveBusinessSettings(vm.businessSettingsForm, vm.businessSettings)" class="btn btn-primary">Save Business Settings</button></div></div></div></div></form></div></div>'),e.put("app/dashboard/settings/templates/changePassword.html",'<div><div class="panel-content"><form name="vm.changePassword"><div class="row"><div class="container"><div class="col-md-12"><label>Old Password</label> <input name="oldPassword" type="password" ng-model-options="{ updateOn: \'default blur\' }" ng-model="vm.passwordDetails.oldPassword" class="form-control" oncopy="return false" ondrag="return false" ondrop="return false" onpaste="return false" placeholder="{{vm.inputFields.OldPassword.placeholder}}" ng-required="true"><ng-messages for="vm.changePassword.oldPassword.$error" ng-if="vm.changePassword.oldPassword.$dirty || vm.changePassword.$submitted"><div ng-message="required" class="errorValidation">{{::vm.inputFields.OldPassword.errorValidations.required}}</div></ng-messages></div></div><br><div class="container"><div class="col-md-12"><label>New Password</label> <input name="newPassword" type="password" ng-model-options="{ updateOn: \'default blur\' }" ng-model="vm.passwordDetails.newPassword" ng-pattern="/^(?=^.{8,32}$)(?=.*\\d)(?=.*[a-zA-Z])(?=.*[!@#$%^&amp;*()_+}{&quot;:;\'?/&gt;.&lt;,])(?!.*\\s).*$/" ng-minlength="{{vm.inputFields.NewPassword.minLength}}" ng-maxlength="{{vm.inputFields.NewPassword.maxLength}}" class="form-control" oncopy="return false" ondrag="return false" ondrop="return false" onpaste="return false" placeholder="{{vm.inputFields.NewPassword.placeholder}}" ng-required="true"><ng-messages for="vm.changePassword.newPassword.$error" ng-if="vm.changePassword.newPassword.$dirty || vm.changePassword.$submitted"><div ng-message="required" class="errorValidation">{{::vm.inputFields.NewPassword.errorValidations.required}}</div><div class="errorValidation" ng-message="pattern">{{::vm.inputFields.NewPassword.errorValidations.pattern}}</div></ng-messages></div></div><br><div class="container"><div class="col-md-12"><label>Confirm Password</label> <input name="confirmPassword" type="password" ng-model-options="{ updateOn: \'default blur\' }" ng-model="vm.passwordDetails.confirmPassword" class="form-control" oncopy="return false" ondrag="return false" ondrop="return false" onpaste="return false" ui-validate="\'$value===vm.changePassword.newPassword.$viewValue\'" ui-validate-watch="\'vm.passwordDetails.newPassword\'" placeholder="{{vm.inputFields.ConfirmPassword.placeholder}}" ng-required="true"><ng-messages for="vm.changePassword.confirmPassword.$error" ng-if="vm.changePassword.confirmPassword.$dirty || vm.changePassword.$submitted"><div ng-message="required" class="errorValidation">{{::vm.inputFields.ConfirmPassword.errorValidations.required}}</div><div class="errorValidation" ng-message="validator">{{::vm.inputFields.ConfirmPassword.errorValidations.validator}}</div></ng-messages></div></div><br><div class="container"><div class="col-md-12"><div class="form-group"><button type="submit" ng-click="vm.changePasswordSubmit(vm.changePassword, vm.passwordDetails)" class="btn btn-primary">Change Password</button></div></div></div></div></form></div></div>'),e.put("app/dashboard/tradeBook/businessAnalytics/businessAnalytics.html",'<filter-bar date-picker-needed="true" page="tradeBook" buyer="true" seller="true" product-items="true" date-picker="vm.dateRange" on-date-change="vm.onDateRangeChanged(dateRange)" on-buyers-selected-changed="vm.onBuyersSelectedChanged(selectedList, initialized)" on-sellers-selected-changed="vm.onSellersSelectedChanged(selectedList, initialized)" on-product-item-selected-changed="vm.onProductsSelectedChanged(selectedList, initialized)"></filter-bar><div ba-panel=""></div><div ba-panel=""><div class="col-md-12"><pie-chart id="bpProduct" data="vm.dashboardData.businessProductReport"></pie-chart></div><div class="col-md-12"><pie-chart id="bpProduct" data="vm.dashboardData.businessProductReport"></pie-chart></div><div class="col-md-12"><pie-chart id="bpProduct" data="vm.dashboardData.businessProductReport"></pie-chart></div></div>'),e.put("app/dashboard/tradeBook/tradeDashboard/tradeDashboard.html",'<div class="row tradeDashboard"><div ba-panel="" class="col-lg-12 col-xs-12" ba-panel-title="International Trades Dashboard"><div class="panel-content"><div class="col-md-12"><div class="trade-count"><div ba-panel=""><div class="col-md-2 col-md-offset-1 item"><div class="chart" id="chart1" rel="{{ ::vm.dashboardColors.colors.success }}" data-percent="{{vm.dashboardData.tradesCount.percentageCompleted}}"><span class="percent"></span></div><div class="description col-xs-12"><div class="title">Total Trades</div><div class="description-stats">{{::vm.dashboardData.tradesCount.total}}</div><div class="title">Completed</div><div class="description-stats success">{{::vm.dashboardData.tradesCount.completed}}</div></div></div><div class="col-md-2 item"><div class="chart" id="chart1" rel="{{ ::vm.dashboardColors.colors.warning }}" data-percent="{{vm.dashboardData.washoutCount.washoutPercentage}}"><span class="percent"></span></div><div class="description col-xs-12"><div class="title">Washout at X</div><div class="description-stats">{{::vm.dashboardData.washoutCount.washoutAtXCount}}</div><div class="title">Washout</div><div class="description-stats warning">{{::vm.dashboardData.washoutCount.washoutCount}}</div></div></div><div class="col-md-2 item"><div class="chart" id="chart1" rel="{{ ::vm.dashboardColors.colors.primary }}" data-percent="{{vm.dashboardData.contractCount.percentageOwnContractCount}}"><span class="percent"></span></div><div class="description col-xs-12"><div class="title">Self Contract</div><div class="description-stats">{{::vm.dashboardData.contractCount.selfContractCount}}</div><div class="title">Buyer Contract</div><div class="description-stats primary">{{::vm.dashboardData.contractCount.ownContractCount}}</div></div></div><div class="col-md-2 item"><div class="chart" id="chart1" rel="{{ ::vm.dashboardColors.colors.info }}" data-percent="{{vm.dashboardData.commissionCount.percentagePercentageCommission}}"><span class="percent"></span></div><div class="description col-xs-12"><div class="title">Fixed Commission</div><div class="description-stats">{{::vm.dashboardData.commissionCount.fixedCount}}</div><div class="title">Percentage Commission</div><div class="description-stats info">{{::vm.dashboardData.commissionCount.percentageCount}}</div></div></div><div class="col-md-2 item"><div class="chart" id="chart1" rel="{{ ::vm.dashboardColors.colors.danger }}" data-percent="{{vm.dashboardData.subTrades.secondaryTradePercentage}}"><span class="percent"></span></div><div class="description col-xs-12"><div class="title">Partial Shipments</div><div class="description-stats">{{::vm.dashboardData.subTrades.partialShipmentCount}}</div><div class="title">Secondary Transactions</div><div class="description-stats danger">{{::vm.dashboardData.subTrades.secondaryTradeCount}}</div></div></div></div></div></div><div class="col-md-12"><div ba-panel="" class="number-count col-md-3"><div class="description"><div class="title">Un Resolved Trade Disputes</div><div class="big-number" ng-bind="vm.dashboardData.tradeDisputeCount"></div><div class="button-row"><button ng-click="vm.showTrades(\'tradeDispute\', \'Un Resolved Trade Disputes\')" class="btn btn-xs btn-danger">Show Trades</button></div></div></div><div ba-panel="" class="number-count col-md-3"><div class="description"><div class="title">Arrived But Not Completed</div><div class="big-number" ng-bind="vm.dashboardData.arrivedNotCompletedCount"></div><div class="button-row"><button ng-click="vm.showTrades(\'arrivedList\', \'Arrived at Port\')" class="btn btn-xs btn-danger">Show Trades</button></div></div></div><div ba-panel="" class="number-count col-md-3"><div class="description"><div class="title">Expected Arrival</div><div class="big-number" ng-bind="vm.dashboardData.expectedArrivalCount"></div><div class="button-row"><button ng-click="vm.showTrades(\'expectedArrival\', \'Expected Arrival\')" class="btn btn-xs btn-danger">Show Trades</button></div></div></div><div ba-panel="" class="number-count col-md-3"><div class="description"><div class="title">Shipment Expiration</div><div class="big-number" ng-bind="vm.dashboardData.notShippedCount"></div><div class="button-row"><button ng-click="vm.showTrades(\'expiredShipment\', \'Shipment Expired At Port\')" class="btn btn-xs btn-danger">Show Trades</button></div></div></div></div><div class="col-md-12 chartist"><div ba-panel="" ba-panel-class="with-scroll"><div class="row"><div id="multi-bar" class="ct-chart"></div></div></div></div></div></div></div>'),e.put("app/dashboard/tradeBook/transaction/transaction.html",'<div class="widgets"><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="" ba-panel-class="with-scroll" ng-if="vm.showForm"><form name="vm.transactionForm" novalidate=""><div ng-include="\'app/dashboard/tradeBook/transaction/templates/basic.html\'"></div><div ng-include="\'app/dashboard/tradeBook/transaction/templates/commission.html\'"></div><div class="row"><button type="submit" ng-if="!vm.transaction.id" ng-click="vm.addTransaction(vm.transactionForm, vm.transaction)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> Add New Transaction</button> <button type="submit" ng-if="vm.transaction.id" ng-click="vm.updateTransaction(vm.transactionForm, vm.transaction)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> Update Transaction</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div></div></div></div>'),e.put("app/dashboard/tradeBook/transaction/transactionView.html",'<div class="row"><div class="col-md-12 marginBottom10px"><button class="btn btn-primary" ng-click="vm.createWatsappCopy(vm.transaction)"><i class="fa fa-whatsapp" aria-hidden="true"></i> &nbsp;Copy for Watsapp</button> <button class="btn btn-primary" ng-click="vm.showTradeCashFlow(vm.transaction.basic.fileNo)"><i class="fa fa-money" aria-hidden="true"></i> &nbsp;Cash Flow</button></div></div><div class="col-md-12 transactionView"><div ba-panel="" ba-panel-title="" ba-panel-class="with-scroll"><div class="row transactionNo"><div class="col-xs-12 col-md-12"><br><button class="btn btn-xs btn-success pull-right" style="margin-left: 10px" ng-click="vm.editTransactionDetails(vm.transaction.basic.fileNo)">Edit</button></div><div class="col-xs-12 col-md-1"><h3 class="with-line">Transaction Date</h3><div ng-bind="vm.transaction.basic.date | date: vm.appFormats.FullDate2" class="number"></div></div><div class="col-xs-12 col-md-1"><h3 class="with-line">File No</h3><div ng-bind="vm.transaction.basic.fileNo" class="number"></div></div><div class="col-xs-12 col-md-1"><h3 class="with-line">Contract No</h3><div class="number" ng-bind="vm.transaction.basic.contractNo ? vm.transaction.basic.contractNo : \'NA\'"></div></div><div class="col-xs-12 col-md-1"><h3 class="with-line">Price <span class="titled">USD</span></h3><div ng-bind="vm.transaction.basic.price | number: \'2\'" class="number"></div></div><div class="col-xs-12 col-md-1"><h3 class="with-line">Quantity <span class="titled">MT</span></h3><div ng-bind="vm.transaction.commission.quantity | number: \'2\'" class="number"></div></div><div class="col-xs-12 col-md-2"><h3 class="with-line">Expected Commission</h3><div ng-bind="\'USD \' + (vm.transaction.commission.expectedCommission | number : 2)" class="number"></div></div><div class="col-xs-12 col-md-1"><h3 class="with-line">Actual Commission</h3><div class="number" ng-if="!vm.transaction.commission.quantityShipped">NA</div><div ng-if="vm.transaction.commission.quantityShipped" ng-bind="\'USD \' + (vm.transaction.commission.actualCommission | number : 2)" class="number"></div></div><div class="col-xs-12 col-md-4"><h3 class="with-line">Shipment</h3><div class="number">{{vm.transaction.basic.shipmentStart | date: vm.appFormats.FullDate2}} - {{vm.transaction.basic.shipmentEnd | date: vm.appFormats.FullDate2}}</div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Buyer</h3><div class="countryFlag"><div class="flag"><img ng-if="vm.transaction.basic.buyer.countryFlag" width="45" height="45" src="{{vm.appConstants.STATIC_URL + \'/\' +vm.transaction.basic.buyer.countryFlag}}"> <img ng-if="!vm.transaction.basic.buyer.countryFlag" width="45" height="45" src="{{vm.transaction.basic.buyer.countryFlag | countryLogo}}"></div></div><div class="details"><div class="number">{{vm.transaction.basic.buyer.name}}</div><div class="name">{{vm.transaction.basic.buyer.country}}</div></div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Seller</h3><div class="countryFlag"><img ng-if="vm.transaction.basic.seller.countryFlag" width="45" height="45" src="{{vm.appConstants.STATIC_URL + \'/\' +vm.transaction.basic.seller.countryFlag}}"> <img ng-if="!vm.transaction.basic.seller.countryFlag" width="45" height="45" src="{{vm.transaction.basic.seller.countryFlag | countryLogo}}"></div><div class="details"><div class="number">{{vm.transaction.basic.seller.name}}</div><div class="name">{{vm.transaction.basic.seller.country}}</div></div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Contractual Buyer</h3><div class="countryFlag"><div class="flag"><img ng-if="vm.transaction.basic.contractualBuyer.countryFlag" width="45" height="45" src="{{vm.appConstants.STATIC_URL + \'/\' +vm.transaction.basic.contractualBuyer.countryFlag}}"> <img ng-if="!vm.transaction.basic.contractualBuyer.countryFlag" width="45" height="45" src="{{vm.transaction.basic.contractualBuyer.countryFlag | countryLogo}}"></div></div><div class="details"><div class="number">{{vm.transaction.basic.contractualBuyer.name}}</div><div class="name">{{vm.transaction.basic.contractualBuyer.country}}</div></div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Product</h3><div class="countryFlag"><div class="flag"><img width="45" height="45" src="{{vm.appConstants.HOST + \'/\' +vm.transaction.basic.productItem.countryFlag}}"></div></div><div class="details"><div class="number">{{vm.transaction.basic.productItem.name}}</div><div class="name">{{vm.transaction.basic.productItem.country}}</div></div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Buyer Broker</h3><div class="number number-space" ng-if="!vm.transaction.commission.buyerBroker">NA</div><div class="countryFlag" ng-if="vm.transaction.commission.buyerBroker"><div class="flag"><img ng-if="vm.transaction.commission.buyerBroker.countryFlag" width="45" height="45" src="{{vm.appConstants.STATIC_URL + \'/\' +vm.transaction.commission.buyerBroker.countryFlag}}"> <img ng-if="!vm.transaction.commission.buyerBroker.countryFlag" width="45" height="45" src="{{vm.transaction.commission.buyerBroker.countryFlag | countryLogo}}"></div></div><div class="details" ng-if="vm.transaction.commission.buyerBroker"><div class="number">{{vm.transaction.commission.buyerBroker.name}}</div><div class="name">{{vm.transaction.commission.buyerBroker.country}}</div></div></div><div class="col-xs-12 col-md-2 height-120px"><h3 class="with-line">Seller Broker</h3><div class="number-space number" ng-if="!vm.transaction.commission.sellerBroker">NA</div><div class="countryFlag" ng-if="vm.transaction.commission.sellerBroker"><img ng-if="vm.transaction.commission.buyerBroker.countryFlag" width="45" height="45" src="{{vm.appConstants.STATIC_URL + \'/\' +vm.transaction.commission.sellerBroker.countryFlag}}"> <img ng-if="!vm.transaction.commission.buyerBroker.countryFlag" width="45" height="45" src="{{vm.transaction.commission.sellerBroker.countryFlag | countryLogo}}"></div><div class="details" ng-if="vm.transaction.basic.commission.sellerBroker"><div class="number">{{vm.transaction.commission.sellerBroker.name}}</div><div class="name">{{vm.transaction.commission.sellerBroker.country}}</div></div></div><div class="col-xs-12 col-md-4"><h3 class="with-line">Status</h3><div class="number pull-right" style="float:left;" ng-if="vm.transaction.completeObj.isComplete">{{vm.transaction.completeObj.completionDate | date: vm.appFormats.FullDate2}}</div><button class="btn btn-xs" ng-class="{\'btn-danger\':!vm.transaction.completeObj.isComplete, \'btn-primary\':vm.transaction.completeObj.isComplete}" ng-click="vm.changeCompleteStatus(vm.transactionId.completeObj, vm.transactionId)">Complete</button></div><div class="col-xs-12 col-md-4" ng-if="vm.transaction.onOurContract"><h3 class="with-line">Invoice</h3><button class="btn btn-xs btn-success pull-left cursor-pointer" ng-click="vm.goToInvoice(vm.transaction.basic.fileNo, vm.transaction.invoice.invoiceNo)" ng-if="vm.transaction.invoice"><i class="fa fa-list-alt" aria-hidden="true"></i> Invoice No:{{ vm.transaction.invoice.invoiceNo}}</button><div class="number pull-right" ng-if="vm.transaction.invoice"><span class="titled" ng-bind="vm.transaction.businessCurrency"></span> {{vm.transaction.invoice.invoiceAmount}}</div><button ng-if="vm.transaction.invoiceCreation" class="btn btn-xs btn-success" ng-click="vm.createTransactionInvoice(vm.transaction.basic.fileNo)"><i class="fa fa-list-alt" aria-hidden="true"></i> Create Invoice</button></div><div class="col-md-12 col-md-12"><h3 class="with-line">Other Information</h3><div class="number" ng-bind="vm.transaction.basic.otherInfo ? vm.transaction.basic.otherInfo : \'NA\'"></div></div></div><div class="row"><div class="col-md-12"><div class="row wizard-containers"><div class="row"><div class="col-md-4 col-xs-12"><trade-wash-out-card trade="vm.transaction"></trade-wash-out-card><br><trade-dispute-card trade="vm.transaction"></trade-dispute-card></div><div class="col-md-8 col-xs-12"><commission-card commission="vm.transaction.commission"></commission-card></div></div></div></div></div><div class="row"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Transaction Documents <button class="btn btn-xs btn-success" ng-click="vm.addNewDocument()">Add New</button></h3><div ng-show="vm.addingDocument" class="row"><div class="col-lg-12"><div class="form-group col-lg-4 col-xs-12"><label>Document Name</label> <input class="form-control" ng-model="vm.newDocumentName" type="text"><br><button class="btn btn-success btn-xs" type="file" ngf-select="vm.uploadTradeDocument($file, $invalidFiles)" accept="*"><i class="fa fa-upload"></i> Upload</button></div></div></div><div class="row"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header" ng-if="vm.transaction.files.length!==0"><th><span class="count">{{vm.transaction.files.length}}</span></th><th>Document Name</th><th>Uploaded By</th><th>Uploaded At</th><th>Actions</th></tr><tr class="table-header" ng-if="vm.transaction.files.length===0"><th>No Documents have been added for this transaction.</th></tr></thead><tbody><tr ng-repeat="doc in vm.transaction.files"><td></td><td ng-bind="doc.fileName"></td><td ng-bind="doc.uploadedBy"></td><td ng-bind="doc.uploadedAt | date: vm.appFormats.date"></td><td><div class="buttons"><button class="btn btn-primary editable-table-button btn-xs" ng-click="vm.downloadTradeDoc(doc.fileId, doc.fileName, doc.extension)">Download</button> <button class="btn btn-warning editable-table-button btn-xs" ng-click="vm.deleteTradeDoc(doc.fileId)">Delete</button></div></td></tr></tbody></table></div></div></div></div></div><div class="row shipment"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Shipment</h3><div class="row shipmentCard"><div class="tab-container"><div class="col-md-3 col-xs-12"><div class="button tab" ng-class="{\'active\': vm.transaction.shipment.notShipped.active}"><button ng-click="vm.activateShipmentStatus(vm.shipmentStatus.NOT_SHIPPED, true, vm.transactionId)" ng-show="!vm.transaction.shipment.notShipped.active" class="btn btn-xs btn-success activate">Activate</button> <button ng-click="vm.activateShipmentStatus(vm.shipmentStatus.NOT_SHIPPED, false, vm.transactionId)" ng-show="vm.transaction.shipment.notShipped.active" class="btn btn-xs btn-warning activate">Deactivate</button> Not Shipped&nbsp;<i class="fa fa-ship" aria-hidden="true"></i> <button class="btn-xs btn btn-primary edit-button" ng-show="!vm.showNotShippedForm" ng-click="vm.showNotShippedForm = true;">Edit</button></div><div class="detail" ng-show="!vm.showNotShippedForm"><div class="col-xs-12 col-md-12"><h3 class="with-line">Reason</h3><div class="number">{{vm.transaction.shipment.notShipped.reason ? vm.transaction.shipment.notShipped.reason : \'NA\'}}</div></div><div class="col-xs-12 col-md-12"><h3 class="with-line">Shipment Extension</h3><div class="number">{{vm.transaction.shipment.notShipped.shipmentExtension ? (vm.transaction.shipment.notShipped.shipmentExtension | date: vm.appFormats.FullDate2) : \'NA\'}}</div></div></div><div class="form" ng-if="vm.showNotShippedForm"><form name="vm.notShippedForm" novalidate=""><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Shipment Extension</label><date-picker-input date="vm.transaction.shipment.notShipped.shipmentExtension" name="date"></date-picker-input></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Reason</label> <textarea type="text" rows="3" class="form-control" ng-model="vm.transaction.shipment.notShipped.reason" placeholder="Reason for Not Shipped">\n                                            </textarea></div></div><div class="form-group"><button type="submit" ng-click="vm.editNotShipped(vm.notShippedForm, vm.transaction.shipment.notShipped, vm.transactionId)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> Update Not Shipped Info</button> <button type="button" ng-click="vm.cancelShipmentForm(\'showNotShippedForm\')" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div></div><div class="col-md-3 col-xs-12"><div class="button tab" ng-class="{\'active\': vm.transaction.shipment.approbationReceived.active }"><button ng-click="vm.activateShipmentStatus(vm.shipmentStatus.APPROBATION_RECEIVED, true, vm.transactionId)" ng-show="!vm.transaction.shipment.approbationReceived.active" class="btn btn-xs btn-success activate">Activate</button> <button ng-click="vm.activateShipmentStatus(vm.shipmentStatus.APPROBATION_RECEIVED, false, vm.transactionId)" ng-show="vm.transaction.shipment.approbationReceived.active" class="btn btn-xs btn-warning activate">Deactivate</button> Approbation Received &nbsp;<i class="fa fa-ship" aria-hidden="true"></i> <button class="btn-xs btn btn-primary edit-button" ng-show="!vm.showApprobationRecievedForm" ng-click="vm.showApprobationRecievedForm = true;">Edit</button></div><div class="detail" ng-show="!vm.showApprobationRecievedForm"><div class="col-xs-12 col-md-12"><h3 class="with-line">Expected Shipment</h3><div class="number">{{vm.transaction.shipment.approbationReceived.expectedShipment ? (vm.transaction.shipment.approbationReceived.expectedShipment | date: vm.appFormats.FullDate2) : \'NA\'}}</div></div><div class="col-xs-12 col-md-12"><h3 class="with-line">In Transit</h3><div class="number">{{vm.transaction.shipment.approbationReceived.inTransit ? (vm.transaction.shipment.approbationReceived.inTransit | date: vm.appFormats.FullDate2) : \'NA\'}}</div></div></div><div class="form" ng-if="vm.showApprobationRecievedForm"><form name="vm.approbationRecievedForm" novalidate=""><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Expected Shipment</label><date-picker-input blank="true" date="vm.transaction.shipment.approbationReceived.expectedShipment" name="date"></date-picker-input></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">In Transit</label><date-picker-input blank="true" date="vm.transaction.shipment.approbationReceived.inTransit" name="date"></date-picker-input></div></div><div class="form-group"><button type="submit" ng-click="vm.editApprobationReceived(vm.approbationRecievedForm, vm.transaction.shipment.approbationReceived, vm.transactionId)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> Update Approbation Recieved Info</button> <button type="button" ng-click="vm.cancelShipmentForm(\'showApprobationRecievedForm\')" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div></div><div class="col-md-3 col-xs-12"><div class="button tab" ng-class="{\'active\': vm.transaction.shipment.shipped.active }"><button ng-click="vm.activateShipmentStatus(vm.shipmentStatus.SHIPPED, true, vm.transactionId)" ng-show="!vm.transaction.shipment.shipped.active" class="btn btn-xs btn-success activate">Activate</button> <button ng-click="vm.activateShipmentStatus(vm.shipmentStatus.SHIPPED, false, vm.transactionId)" ng-show="vm.transaction.shipment.shipped.active" class="btn btn-xs btn-warning activate">Deactivate</button> Shipped <i class="fa fa-ship" aria-hidden="true"></i> <button ng-click="vm.showShippedForm = true;" ng-show="!vm.showShippedForm" class="btn-xs btn btn-primary edit-button">Edit</button></div><div class="detail" ng-show="!vm.showShippedForm"><div class="col-xs-12 col-md-12"><h3 class="with-line">Shipper</h3><div class="number">{{vm.transaction.shipment.shipped.shipper ? (vm.transaction.shipment.shipped.shipper.name + \' - \' + vm.transaction.shipment.shipped.shipper.country ) : \'NA\'}}</div></div><div class="col-xs-12 col-md-6"><h3 class="with-line">Seller Invoice No.</h3><div class="number">{{vm.transaction.shipment.shipped.sellerInvoiceNo ? ( vm.transaction.shipment.shipped.sellerInvoiceNo | uppercase) : \'NA\'}}</div></div><div class="col-xs-12 col-md-6"><h3 class="with-line">Invoice Amount <span class="titled">USD</span></h3><div class="number">{{vm.transaction.shipment.shipped.sellerInvoiceAmount ? ( vm.transaction.shipment.shipped.sellerInvoiceAmount | number: \'2\') : \'NA\'}}</div></div><div class="col-xs-12 col-md-6"><h3 class="with-line">Date Shipped</h3><div class="number">{{vm.transaction.shipment.shipped.shippedOn ? (vm.transaction.shipment.shipped.shippedOn | date: vm.appFormats.FullDate2) : \'NA\'}}</div></div><div class="col-xs-12 col-md-6"><h3 class="with-line">Expected Arrival</h3><div class="number">{{vm.transaction.shipment.shipped.expectedArrival ? (vm.transaction.shipment.shipped.expectedArrival | date: vm.appFormats.FullDate2) : \'NA\'}}</div></div><div class="col-xs-12 col-md-12"><h3 class="with-line">Transit Ports</h3><div class="port-transit" ng-if="vm.transaction.shipment.shipped.transitPorts.length===0">NA</div><div class="port-transit" ng-if="vm.transaction.shipment.shipped.transitPorts.length!==0" ng-repeat="port in vm.transaction.shipment.shipped.transitPorts | orderBy : \'-date\'">{{port.lo_code + \' - \' + port.name + \' - \' + port.country + \' - \' + ( port.date | date: vm.appFormats.FullDate2)}}</div></div><div class="col-xs-12 col-md-6"></div></div><div class="form" ng-if="vm.showShippedForm"><form name="vm.shippedForm" novalidate=""><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Seller Invoice No.</label> <input class="form-control" placeholder="Seller Invoice No." ng-model="vm.transaction.shipment.shipped.sellerInvoiceNo"></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Invoice Amount <span class="titled">USD</span></label> <input class="form-control" placeholder="Seller Invoice Amount" ng-model="vm.transaction.shipment.shipped.sellerInvoiceAmount"></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Shipper</label><selectize placeholder="Shipper" name="shipper" id="shipper" config="vm.shipperConfig" options="vm.shipperOptions.list" ng-model="vm.transaction.shipment.shipped.shipper.id"></selectize></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Date Shipped</label><date-picker-input blank="false" date="vm.transaction.shipment.shipped.shippedOn" name="date"></date-picker-input></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Expected Arrival</label><date-picker-input blank="false" date="vm.transaction.shipment.shipped.expectedArrival" name="date"></date-picker-input></div></div><div class="col-md-12"><div class="form-group"><label class="with-line">Transit Ports</label><tags-input ng-model="vm.transaction.shipment.shipped.transitPorts" placeholder="Add a port" template="port-tag-template" key-property="id" display-property="name" text="name" add-from-autocomplete-only="true" add-on-paste="false"><auto-complete template="port-auto-complete-template" source="vm.loadPorts($query)"></auto-complete></tags-input></div></div><div class="form-group"><button type="submit" ng-click="vm.editShipped(vm.shippedForm, vm.transaction.shipment.shipped, vm.transactionId)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> Update Shipped Info</button> <button type="button" ng-click="vm.cancelShipmentForm(\'showShippedForm\')" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div></div><div class="col-md-3 col-xs-12"><div class="button tab" ng-class="{\'active\': vm.transaction.shipment.arrivedAtPort.active }"><button ng-click="vm.activateShipmentStatus(vm.shipmentStatus.ARRIVED_AT_PORT, true, vm.transactionId)" ng-show="!vm.transaction.shipment.arrivedAtPort.active" class="btn btn-xs btn-success activate">Activate</button> <button ng-click="vm.activateShipmentStatus(vm.shipmentStatus.ARRIVED_AT_PORT, false, vm.transactionId)" ng-show="vm.transaction.shipment.arrivedAtPort.active" class="btn btn-xs btn-warning activate">Deactivate</button> Arrived at Port &nbsp;<i class="fa fa-ship" aria-hidden="true"></i> <button ng-show="!vm.showArrivedAtPort" ng-click="vm.showArrivedAtPort=true;" class="btn-xs btn btn-primary edit-button">Edit</button></div><div class="detail" ng-show="!vm.showArrivedAtPort"><div class="col-xs-12 col-md-12"><h3 class="with-line">B/L No.</h3><div class="number">{{vm.transaction.shipment.arrivedAtPort.blNo ? vm.transaction.shipment.arrivedAtPort.blNo : \'NA\'}}</div></div><div class="col-xs-12 col-md-6"><h3 class="with-line">Date Arrived</h3><div class="number">{{vm.transaction.shipment.arrivedAtPort.dateArrived ? (vm.transaction.shipment.arrivedAtPort.dateArrived | date: vm.appFormats.FullDate2) : \'NA\'}}</div></div><div class="col-xs-12 col-md-6"><h3 class="with-line">Quantity Shipped</h3><div class="number">{{vm.transaction.shipment.arrivedAtPort.quantityShipped ? (vm.transaction.shipment.arrivedAtPort.quantityShipped | number : \'2\') + \' MT\' : \'NA\'}}</div></div><div class="col-xs-12 col-md-4"><h3 class="with-line">Shipping Line</h3><div class="number">{{vm.transaction.shipment.arrivedAtPort.shippingLine.id ? vm.transaction.shipment.arrivedAtPort.shippingLine.name : \'NA\'}}</div></div><div class="col-xs-12 col-md-4"><h3 class="with-line">Vessel No.</h3><div class="number">{{(vm.transaction.shipment.arrivedAtPort.vessel.length > 0) ? (vm.transaction.shipment.arrivedAtPort.vessel[0].imo_number +\' - \' + vm.transaction.shipment.arrivedAtPort.vessel[0].first_name) : \'NA\'}}</div></div><div class="col-xs-12 col-md-4"><h3 class="with-line">Voyage No.</h3><div class="number">{{(vm.transaction.shipment.arrivedAtPort.voyageNo) ? vm.transaction.shipment.arrivedAtPort.voyageNo : \'NA\'}}</div></div><div class="col-xs-12 col-md-12"><h3 class="with-line">Containers <span class="count" ng-bind="vm.transaction.shipment.arrivedAtPort.containers.length"></span></h3><div class="number" ng-if="vm.transaction.shipment.arrivedAtPort.containers.length===0">NA</div><div class="port-transit" ng-if="vm.transaction.shipment.arrivedAtPort.containers.length!==0" ng-repeat="container in vm.transaction.shipment.arrivedAtPort.containers">Container No. {{ container.containerNo}}</div></div><div class="col-xs-12 col-md-6"><h3 class="with-line">Port of Loading</h3><div class="number">{{vm.transaction.shipment.arrivedAtPort.loadingPort.id ? (vm.transaction.shipment.arrivedAtPort.loadingPort.name + \', \' + vm.transaction.shipment.arrivedAtPort.loadingPort.country) : \'NA\'}}</div></div><div class="col-xs-12 col-md-6"><h3 class="with-line">Port of Destination</h3><div class="number">{{vm.transaction.shipment.arrivedAtPort.destinationPort.id ? (vm.transaction.shipment.arrivedAtPort.destinationPort.name + \', \' + vm.transaction.shipment.arrivedAtPort.destinationPort.country) : \'NA\'}}</div></div></div><div class="form" ng-if="vm.showArrivedAtPort"><form name="vm.arrivedAtPortForm" novalidate=""><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">B/L No.</label> <input type="text" rows="3" class="form-control" ng-model="vm.transaction.shipment.arrivedAtPort.blNo" placeholder="Enter BL No."></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Date Arrived</label><date-picker-input required="false" blank="false" date="vm.transaction.shipment.arrivedAtPort.dateArrived" name="date"></date-picker-input></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Quantity Shipped <span class="titled">MT</span></label> <input type="text" rows="3" class="form-control" ng-model="vm.transaction.shipment.arrivedAtPort.quantityShipped" placeholder="Enter Quantity Shipped."></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Shipping Line</label><selectize placeholder="Shipping Line" config="vm.shippingLineConfig" options="vm.shippingLineOptions.list" ng-model="vm.transaction.shipment.arrivedAtPort.shippingLine.id"></selectize></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Port of Loading</label><selectize placeholder="Port of Loading" config="vm.portConfig" options="vm.portOptions.list" ng-model="vm.transaction.shipment.arrivedAtPort.loadingPort.id"></selectize></div></div><div class="col-md-12 col-xs-12"><div class="form-group"><label class="with-line">Port of Destination</label><selectize placeholder="Port of Destination" config="vm.portConfig" options="vm.portOptions.list" ng-model="vm.transaction.shipment.arrivedAtPort.destinationPort.id"></selectize></div></div><div class="col-md-12"><div class="form-group"><label class="with-line">Vessel No.</label><tags-input ng-model="vm.transaction.shipment.arrivedAtPort.vessel" placeholder="Enter Vessel/Voyage No." max-tags="1" ng-class="{\'has-tags\': vm.transaction.shipment.arrivedAtPort.vessel.length>0}" key-property="id" display-property="imo_number" text="imo_number" template="vessel-tag-template" add-from-autocomplete-only="true" add-on-paste="false"><auto-complete template="vessel-auto-complete-template" source="vm.loadVessel($query)"></auto-complete></tags-input></div></div><div class="col-md-12"><div class="form-group"><label class="with-line">Voyage No.</label> <input type="text" rows="3" class="form-control" ng-model="vm.transaction.shipment.arrivedAtPort.voyageNo" placeholder="Enter Voyage No."></div></div><div class="col-md-12"><div class="form-group"><label class="with-line">Container No.</label><tags-input ng-model="vm.transaction.shipment.arrivedAtPort.containers" display-property="containerNo" placeholder="Enter Container No." add-on-paste="true"></tags-input></div></div><div class="form-group"><button type="submit" ng-click="vm.editArrivedAtPort(vm.arrivedAtPortForm, vm.transaction.shipment.arrivedAtPort, vm.transaction, vm.transactionId)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i> Update Arrived At Port Info</button> <button type="button" ng-click="vm.cancelShipmentForm(\'showArrivedAtPort\')" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></div></form></div></div></div></div></div></div></div><div class="row"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Notes</h3><div class="row"><div class="col-xs-12 col-md-6"><div ba-panel="" ba-panel-class="with-scroll" class="noteList"><img ng-if="noteListLoading" width="60" height="60" src="assets/img/loader.svg"><div ng-if="!noteListLoading && (vm.transaction.notes.length === 0)">No trade notes.</div><div class="col-xs-12" ng-repeat="nte in vm.transaction.notes | orderBy: \'-createdAt\'"><div class="col-xs-6 note" ng-class="{\'pull-right\':nte.self, \'self\':nte.self, \'other\': !nte.self, \'editing\': nte.editing}"><div class="col-xs-12 userData"><img class="userImage" ng-src="{{( nte.createdByPic | profilePicture )}}"><div class="details"><div class="name">{{nte.createdBy}}</div><div class="date">Note on: {{nte.createdAt | date:appFormats.Time }}</div><div class="date" ng-if="nte.updatedAt">Note Updated On: {{nte.updatedAt | date:appFormats.Time }}</div></div></div><div class="col-xs-12">{{nte.note}}</div><div class="col-xs-12 button-bar"><button class="btn btn-danger btn-xs pull-right" ng-if="nte.self" ng-click="vm.editTradeNote(nte.note, nte)">Edit</button> <button class="btn btn-warning btn-xs pull-right" ng-click="vm.deleteTradeNote(vm.transactionId, nte.noteId, nte, vm.transaction.notes)" ng-if="nte.isDeleteAble">Delete</button></div></div></div></div></div><div class="col-xs-12 col-md-6"><div class="form-group col-md-12 clearfix"><form name="vm.trade_note_form" novalidate=""><label class="col-sm-12 control-label">Notes</label><div class="col-sm-12"><textarea ng-if="!addingNote" ng-required="true" name="tradeNote" ng-model="vm.noteText" class="form-control">\n                                                </textarea><ng-messages for="vm[\'trade_note_form_\'+row.id][\'tradeNote_\'+row.id].$error" ng-if=\'(vm["trade_note_form_"+row.id].$submitted || vm["trade_note_form_"+row.id]["tradeNote_"+row.id].$dirty)\'><div ng-message="required" class="errorValidation">Please enter a trade note.</div></ng-messages></div><div class="col-sm-12"><br><button class="btn btn-success editable-table-button btn-xs" type="submit" style="min-width: 115px;" ng-click="vm.addTradeNote(vm.transactionId, vm.noteText, vm.transaction.notes, vm.trade_note_form)"><span ng-if="addingNote"><i class="fa fa-spinner fa-pulse fa-spin fa-3x fa-fw"></i> <span class="sr-only">Loading...</span> &nbsp;</span> <span ng-if="!vm.addingNote && !vm.updateNote">Add Note</span> <span ng-if="vm.updateNote">Update Note</span></button></div></form></div></div></div></div></div></div><div class="row"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Change Logs</h3><div class="row"><div class="horizontal-scroll"><table class="table table-striped" st-table="smartTableData"><thead><tr class="sortable table-header"><th><span class="count">{{vm.transaction.changeLogs.length}}</span></th><th>Log Time</th><th>Change By</th><th>Log</th></tr></thead><tbody><tr ng-repeat="log in vm.transaction.changeLogs"><td></td><td ng-bind="log.changeTime | date:vm.appFormats.Time"></td><td ng-bind="log.changeByUserName"></td><td ng-bind-html="log.description"></td></tr></tbody></table></div></div></div></div></div></div></div><script type="text/ng-template" id="vessel-tag-template"><div class="tag-template"> <div class="right-panel"> <span class="titled">{{$getDisplayText()}}</span> <span>{{data.first_name}}</span> <span>{{data.mmsi_number ? data.mmsi_number : \'NA\' }}</span> <a class="remove-button" ng-click="$removeTag()">&#10006;</a> </div> </div></script><script type="text/ng-template" id="vessel-auto-complete-template"><div class="autocomplete-template"> <div class="right-panel"> <span class="titled" ng-bind-html="$highlight($getDisplayText())"></span> <span>{{data.first_name}}</span> <span>{{data.mmsi_number ? data.mmsi_number : \'NA\' }}</span> </div> </div></script><script type="text/ng-template" id="port-tag-template"><div class="tag-template"> <div class="right-panel"> <span>{{$getDisplayText()}}</span> <span>{{data.lo_code}}</span> <span>{{data.country}}</span> <a class="remove-button" ng-click="$removeTag()">&#10006;</a> </div> </div></script><script type="text/ng-template" id="port-auto-complete-template"><div class="autocomplete-template"> <div class="right-panel"> <span class="titled">{{data.lo_code}}</span> <span>{{data.name}}</span> <span>{{data.country}}</span> </div> </div></script>'),
  e.put("app/dashboard/user/profile/profile.html",'<div ba-panel="" ba-panel-class="profile-page"><div class="panel-content"><form name="vm.profileForm" novalidate=""><h3 class="with-line">General Information</h3><div class="row"><div class="col-md-6"><div class="form-group row clearfix"><label for="inputFirstName" class="col-sm-3 control-label">Picture</label><div class="col-sm-9"><div class="userpic"><div class="userpic-wrapper"><img ng-src="{{ vm.picture }}" ng-click="vm.uploadPicture(event)"></div><i class="ion-ios-close-outline" ng-click="vm.removePicture()" ng-if="!vm.noPicture"></i> <a href="" class="change-userpic" ng-click="vm.uploadPicture(event)">Change Profile Picture</a> <input type="file" ng-show="false" id="uploadFile" ng-file-select="vm.onFileSelect($files)"></div></div></div></div><div class="col-md-6"></div></div><div class="row"><div class="col-md-6"><div class="form-group row clearfix"><label for="inputFirstName" class="col-sm-3 control-label">First Name</label><div class="col-sm-9"><input type="text" ng-required="true" name="firstName" ng-pattern="/^[a-zA-Z]*$/" ng-model="vm.userProfile.firstName" class="form-control" id="inputFirstName" placeholder="First Name"><ng-messages for="vm.profileForm.firstName.$error" ng-if="(vm.profileForm.$submitted && vm.profileForm.firstName.$invalid) || (vm.profileForm.firstName.$invalid && vm.profileForm.firstName.$dirty)"><div ng-message="required" class="errorValidation">Please enter first name.</div><div ng-message="pattern" class="errorValidation">First Name can only have alphabets.</div></ng-messages></div></div><div class="form-group row clearfix"><label for="lastName" class="col-sm-3 control-label">Last Name</label><div class="col-sm-9"><input type="text" ng-model="vm.userProfile.lastName" class="form-control" name="lastName" ng-pattern="/^[a-zA-Z]*$/" ng-required="true" id="lastName" placeholder="Last Name"><ng-messages for="vm.profileForm.lastName.$error" ng-if="(vm.profileForm.$submitted && vm.profileForm.lastName.$invalid) || (vm.profileForm.lastName.$invalid && vm.profileForm.lastName.$dirty)"><div ng-message="required" class="errorValidation">Please enter last name.</div><div ng-message="pattern" class="errorValidation">Last Name can only have alphabets.</div></ng-messages></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Designation</label><div class="col-sm-9"><selectize name="designation" required="true" placeholder="Designation" config="vm.designationConfig" options="vm.designationOptions.list" ng-model="vm.userProfile.designationId"></selectize><ng-messages for="vm.profileForm.designation.$error" ng-if="(vm.profileForm.$submitted && vm.profileForm.designation.$invalid) || (vm.profileForm.designation.$invalid && vm.profileForm.designation.$dirty)"><div ng-message="required" class="errorValidation">Please select a designation.</div></ng-messages></div></div></div><div class="col-md-6"><div class="form-group row clearfix"><label class="col-sm-3 control-label">Office Location</label><div class="col-sm-9"><selectize placeholder="Office Location" name="officeLocation" required="true" config="vm.locationConfig" options="vm.locationOptions.list" ng-model="vm.userProfile.businessLocationId"></selectize><ng-messages for="vm.profileForm.officeLocation.$error" ng-if="(vm.profileForm.$submitted && vm.profileForm.officeLocation.$invalid) || (vm.profileForm.officeLocation.$invalid && vm.profileForm.officeLocation.$dirty)"><div ng-message="required" class="errorValidation">Please select an office Location.</div></ng-messages></div></div><div class="form-group row clearfix"><label for="email" ng-required="true" class="col-sm-3 control-label">Email</label><div class="col-sm-9"><input type="email" class="form-control" ng-pattern="/^([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,66})\\.([a-z]{2,6}(?:\\.[a-z]{2})?)$/i" name="email" ng-model="vm.userProfile.email" ng-required="true" id="email" placeholder=""><ng-messages for="vm.profileForm.email.$error" ng-if="(vm.profileForm.$submitted && vm.profileForm.email.$invalid) || (vm.profileForm.email.$invalid && vm.profileForm.email.$dirty)"><div ng-message="pattern" class="errorValidation">Invalid email.</div><div ng-message="required" class="errorValidation">Please enter user email.</div></ng-messages></div></div><div class="form-group row clearfix"><label for="username" class="col-sm-3 control-label">User Name</label><div class="col-sm-9"><input type="text" ng-pattern="/^[a-zA-Z0-9]*$/" ng-model="vm.userProfile.username" name="username" class="form-control" id="username" placeholder="User Name"><ng-messages for="vm.profileForm.username.$error" ng-if="(vm.profileForm.$submitted && vm.profileForm.username.$invalid) || (vm.profileForm.username.$invalid && vm.profileForm.username.$dirty)"><div ng-message="required" class="errorValidation">Please enter user username.</div><div ng-message="required" class="errorValidation">User Name can only be alphanumeric.</div></ng-messages></div></div></div></div><h3 class="with-line">Send Email Notifications</h3><div class="notification row clearfix" ng-if="vm.isCurrentUserSuperUser"><div class="col-sm-6"><div class="form-group row clearfix"><label class="col-xs-8">When a new transaction is added</label><div class="col-xs-4"><switch color="primary" ng-model="vm.userProfile.notify.newTransaction"></switch></div></div><div class="form-group row clearfix"><label class="col-xs-8">When shipment arrives</label><div class="col-xs-4"><switch color="primary" ng-model="vm.userProfile.notify.shipmentArrival"></switch></div></div><div class="form-group row clearfix"><label class="col-xs-8">When I recieve a message</label><div class="col-xs-4"><switch color="primary" ng-model="vm.userProfile.notify.messages"></switch></div></div></div><div class="col-sm-6"><div class="form-group row clearfix"><label class="col-xs-8">Monthly Reports</label><div class="col-xs-4"><switch color="primary" ng-model="vm.userProfile.notify.monthlyReports"></switch></div></div><div class="form-group row clearfix"><label class="col-xs-8">Weekly Reports</label><div class="col-xs-4"><switch color="primary" ng-model="vm.userProfile.notify.weeklyReports"></switch></div></div><div class="form-group row clearfix"><label class="col-xs-8">Daily Reports</label><div class="col-xs-4"><switch color="primary" ng-model="vm.userProfile.notify.dailyReports"></switch></div></div></div></div><div ng-if="vm.isCurrentUserSuperUser"><h3 class="with-line">User Access Right</h3><div class="notification row clearfix"><div class="col-sm-6"><div class="form-group row clearfix"><label class="col-xs-8">Business Commission</label><div class="col-xs-4"><switch color="primary" ng-model="vm.userProfile.rights.businessCommission"></switch></div></div><div class="form-group row clearfix"><label class="col-xs-8">Business Analytics</label><div class="col-xs-4"><switch color="primary" ng-model="vm.userProfile.rights.businessAnalytics"></switch></div></div></div><div class="col-sm-6"><div class="form-group row clearfix"><label class="col-xs-8">Warehouse Module</label><div class="col-xs-4"><switch color="primary" ng-model="vm.userProfile.rights.warehouseModule"></switch></div></div><div class="form-group row clearfix"><label class="col-xs-8">User Management</label><div class="col-xs-4"><switch color="primary" ng-model="vm.userProfile.rights.userManagement"></switch></div></div></div></div></div><button type="submit" ng-if="vm.userProfile.id" ng-click="vm.updateUser(vm.profileForm, vm.userProfile, vm.imagesData)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Update Profile</button> <button type="submit" ng-if="!vm.userProfile.id" ng-click="vm.addUser(vm.profileForm, vm.userProfile, vm.imagesData)" class="btn btn-primary btn-with-icon save-profile"><i class="ion-android-checkmark-circle"></i>Add New Profile</button> <button type="button" ng-click="vm.cancel()" class="btn btn-danger btn-with-icon save-profile"><i class="ion-android-cancel"></i>Cancel</button></form></div></div>'),e.put("app/dashboard/user/profile/profileModal.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel">Add Account</h4></div><form name="linkForm"><div class="modal-body"><p>Paste a link to your profile into the box below</p><div class="form-group"><input type="text" class="form-control" placeholder="Link to Profile" ng-model="link"></div></div><div class="modal-footer"><button type="button" class="btn btn-primary" ng-click="ok(link)">Save changes</button></div></form></div>'),e.put("app/theme/components/baSidebar/ba-sidebar.html",'<aside class="al-sidebar" ng-swipe-right="$baSidebarService.setMenuCollapsed(false)" ng-swipe-left="$baSidebarService.setMenuCollapsed(true)" ng-mouseleave="hoverElemTop=selectElemTop"><ul class="al-sidebar-list" slimscroll="{height: \'{{menuHeight}}px\'}" slimscroll-watch="menuHeight"><li ng-repeat="item in menuItems | orderBy : \'priority\' : false" class="al-sidebar-list-item" ng-class="::{\'with-sub-menu\': item.subMenu}" ui-sref-active="selected" ba-sidebar-toggling-item="item"><a ng-mouseenter="hoverItem($event, item)" ui-state="item.stateRef || \'\'" ng-href="{{::(item.fixedHref ? item.fixedHref: \'\')}}" ng-if="::!item.subMenu" class="al-sidebar-list-link"><i class="{{ ::item.icon }}"></i><span>{{ ::item.title }}</span></a> <a ng-mouseenter="hoverItem($event, item)" ng-if="::item.subMenu" class="al-sidebar-list-link" ba-ui-sref-toggler=""><i class="{{ ::item.icon }}"></i><span>{{ ::item.title }}</span> <b class="fa fa-angle-down" ui-sref-active="fa-angle-up" ng-if="::item.subMenu"></b></a><ul ng-if="item.subMenu" class="al-sidebar-sublist" ng-class="{\'slide-right\': item.slideRight}" ba-ui-sref-toggling-submenu=""><li ng-repeat="subitem in ::item.subMenu" ng-class="::{\'with-sub-menu\': subitem.subMenu}" ui-sref-active="selected" ba-sidebar-toggling-item="subitem" class="ba-sidebar-sublist-item"><a ng-mouseenter="hoverItem($event, item)" ng-if="::subitem.subMenu" ba-ui-sref-toggler="" class="al-sidebar-list-link subitem-submenu-link"><span>{{ ::subitem.title }}</span> <b class="fa" ng-class="{\'fa-angle-up\': subitem.expanded, \'fa-angle-down\': !subitem.expanded}" ng-if="::subitem.subMenu"></b></a><ul ng-if="::subitem.subMenu" class="al-sidebar-sublist subitem-submenu-list" ng-class="{expanded: subitem.expanded, \'slide-right\': subitem.slideRight}" ba-ui-sref-toggling-submenu=""><li ng-mouseenter="hoverItem($event, item)" ng-repeat="subSubitem in ::subitem.subMenu" ui-sref-active="selected"><a ng-mouseenter="hoverItem($event, item)" href="" ng-if="::subSubitem.disabled" class="al-sidebar-list-link">{{ ::subSubitem.title }}</a> <a ng-mouseenter="hoverItem($event, item)" ui-state="subSubitem.stateRef || \'\'" ng-if="::!subSubitem.disabled" ng-href="{{::(subSubitem.fixedHref ? subSubitem.fixedHref: \'\')}}">{{::subSubitem.title }}</a></li></ul><a ng-mouseenter="hoverItem($event, item)" href="" ng-if="::(!subitem.subMenu && subitem.disabled)" class="al-sidebar-list-link">{{ ::subitem.title }}</a> <a ng-mouseenter="hoverItem($event, item)" target="{{::(subitem.blank ? \'_blank\' : \'_self\')}}" ng-if="::(!subitem.subMenu && !subitem.disabled)" ui-state="subitem.stateRef || \'\'" ng-href="{{::(subitem.fixedHref ? subitem.fixedHref: \'\')}}">{{ ::subitem.title}}</a></li></ul></li></ul><div class="sidebar-hover-elem" ng-style="{top: hoverElemTop + \'px\', height: hoverElemHeight + \'px\'}" ng-class="{\'show-hover-elem\': showHoverElem }"></div></aside>'),e.put("app/theme/components/baWizard/baWizard.html",'<div class="ba-wizard"><div class="ba-wizard-navigation-container"><div ng-repeat="t in $baWizardController.tabs" class="ba-wizard-navigation {{$baWizardController.tabNum == $index ? \'active\' : \'\'}}" ng-click="$baWizardController.selectTab($index)">{{t.title}}</div></div><div class="progress ba-wizard-progress"><div class="progress-bar progress-bar-danger active" role="progressbar" aria-valuemin="0" aria-valuemax="100" ng-style="{width: $baWizardController.progress + \'%\'}"></div></div><div class="steps" ng-transclude=""></div><nav><ul class="pager ba-wizard-pager"><li class="previous"><button ng-show="!$baWizardController.isFirstTab()" ng-click="$baWizardController.previousTab()" type="button" class="btn btn-primary"><span aria-hidden="true">&larr;</span>Previous</button></li><li class="next margin-left-20px"><button ng-click="$baWizardController.onCancel()" type="button" class="btn btn-danger">Cancel <span aria-hidden="true"></span></button></li><li class="next margin-left-20px"><button ng-click="$baWizardController.nextTab()" type="button" class="btn btn-primary">{{$baWizardController.tabs[$baWizardController.tabNum].submitButtonTitle}} <span aria-hidden="true">&rarr;</span></button></li><li class="next"><button ng-click="$baWizardController.nextTabAndExit()" type="button" class="btn btn-success">{{$baWizardController.tabs[$baWizardController.tabNum].submitButtonTitle}} & exit <span aria-hidden="true">&rarr;</span></button></li></ul></nav></div>'),e.put("app/theme/components/baWizard/baWizardStep.html",'<section ng-show="selected" class="step" ng-transclude=""></section>'),e.put("app/theme/components/backTop/backTop.html",'<i class="fa fa-angle-up back-top" id="backTop" title="Back to Top"></i>'),e.put("app/theme/components/contentTop/contentTop.html",'<div class="content-top clearfix"><h1 class="al-title">{{ activePageTitle }}</h1><ul class="breadcrumb al-breadcrumb"><li><a href="#/dashboard">Home</a></li><li>{{ activePageTitle }}</li></ul></div>'),e.put("app/theme/components/msgCenter/msgCenter.html",'<ul class="al-msg-center clearfix"><li uib-dropdown=""><a href="" uib-dropdown-toggle=""><i class="fa fa-bell-o"></i><span>{{notificationObj.list.length}}</span><div class="notification-ring"></div></a><div uib-dropdown-menu="" class="top-dropdown-menu"><i class="dropdown-arr"></i><div class="header clearfix"><strong>Notifications</strong></div><div class="msg-list"><a class="clearfix" ng-if="notificationObj.list.length===0"><div class="msg-area"><div>No Update Notifications</div></div></a> <a class="clearfix" ng-repeat="msg in notificationObj.list" ng-click="goToState(msg.data.state, {id: msg.data.state_id})"><div class="img-area"><img ng-class="{\'photo-msg-item\' : !msg.data.user_image}" ng-src="{{::( msg.data.user_image|| (msg.data.user_image | profilePicture) )}}"></div><div class="msg-area"><div ng-bind-html="msg.verb"></div><span am-time-ago="msg.timestamp"></span></div></a></div></div></li><li uib-dropdown=""><a href="" class="msg" uib-dropdown-toggle=""><i class="fa fa-envelope-o"></i><span>5</span><div class="notification-ring"></div></a><div uib-dropdown-menu="" class="top-dropdown-menu"><i class="dropdown-arr"></i><div class="header clearfix"><strong>Messages</strong> <a href="">Mark All as Read</a> <a href="">Settings</a></div><div class="msg-list"><a href="" class="clearfix" ng-repeat="msg in messages"><div class="img-area"><img class="photo-msg-item" ng-src="{{::( users[msg.userId].name | profilePicture )}}"></div><div class="msg-area"><div>{{ msg.text }}</div><span>{{ msg.time }}</span></div></a></div><a href="">See all messages</a></div></li></ul>'),e.put("app/theme/components/pageTop/pageTop.html",'<div class="page-top clearfix" scroll-position="scrolled" max-height="50" ng-class="{\'scrolled\': scrolled}"><a href="#/dashboard" class="al-logo clearfix"><img src="assets/img/favicon-32x32.png" alt="Doni & Company"></a><a href="" class="collapse-menu-link ion-navicon" ba-sidebar-toggle-menu=""></a><div class="search search-dropdown"><i class="ion-ios-search-strong" ng-click="startSearch()"></i><select class="form-control" placeholder="Search Type" name="searchType" ng-model="searchObj.queryType"><option ng-repeat="opt in searchOptions" value="{{opt.id}}">{{opt.name}}</option></select></div><div class="search"><input id="searchInput" type="text" class="form-control" style="background: #6A6A6A !important;" ng-model="searchObj.query" placeholder="" ng-change="searchQuery(searchObj, lastSearch)"> <i ng-show="loading" class="fa fa-spinner fa-pulse fa-3x fa-fw"></i></div><div class="search-result" ng-show="searchResults.length > 0"><div class="search-item" ng-repeat="result in searchResults" ng-if="resultType===\'intFile\'" ng-click="goToSearchItem(\'dashboard.transactionView\', {\'id\': result.file_id})"><div class="detail"><div class="label">FileId</div><div class="value" ng-bind="result.file_id"></div></div><div class="detail"><div class="label">Contract No</div><div class="value" ng-bind="(result.contract_id ? result.contract_id : \'NA\')"></div></div><div class="detail"><div class="label">BL No</div><div class="value" ng-bind="(result.shipment__bl_no ? result.shipment__bl_no : \'NA\')"></div></div></div></div><div class="user-profile clearfix"><div class="al-user-profile" uib-dropdown=""><a uib-dropdown-toggle="" class="profile-toggle-link"><img ng-src="{{( userData.data.smallProfilePic | profilePicture )}}"></a><ul class="top-dropdown-menu profile-dropdown" uib-dropdown-menu=""><li><i class="dropdown-arr"></i></li><li><a ui-sref="dashboard.user.profile({id:userData.data.id})"><i class="fa fa-user"></i>{{userData.data.firstName + \' \' + userData.data.lastName}}</a></li><li><a ui-sref="dashboard.settings"><i class="fa fa-cog"></i>Settings</a></li><li ng-click="logout()"><a href="" class="signout"><i class="fa fa-power-off"></i>Sign out</a></li></ul></div><msg-center></msg-center></div></div>'),e.put("app/theme/components/progressBarRound/progressBarRound.html",'<svg class="center-block progress-bar-round" width="200" height="200"><circle cx="100" cy="100" r="90" fill="none" stroke="#F8F8FF" stroke-width="8"></circle><circle cx="100" cy="100" r="90" fill="none" id="loader" class="" stroke="#209e91" stroke-width="8" stroke-dasharray="0,20000" transform="rotate(-90,100,100)" stroke-linecap="round"></circle><text text-anchor="middle" class="loading" x="100" y="90">Loading...</text><text class="percentage" text-anchor="middle" x="100" y="130">{{progress}}%</text></svg>'),e.put("app/theme/components/widgets/widgets.html",'<div class="widgets"><div ng-repeat="widgetBlock in ngModel" ng-class="{\'row\': widgetBlock.widgets.length > 1}"><div ng-repeat="widgetCol in widgetBlock.widgets" ng-class="{\'col-md-6\': widgetBlock.widgets.length === 2}" ng-model="widgetCol" class="widgets-block"><div ba-panel="" ba-panel-title="{{::widget.title}}" ng-repeat="widget in widgetCol" ba-panel-class="with-scroll {{widget.panelClass}}"><div ng-include="widget.url"></div></div></div></div></div>'),e.put("app/widgets/charts/amCharts/charts.html",'<div class="widgets"><div class="row"><div class="col-lg-4 col-md-6" ba-panel="" ba-panel-title="Bar Chart" ba-panel-class="with-scroll"><div ng-include="\'app/pages/charts/amCharts/barChart/barChart.html\'"></div></div><div class="col-lg-4 col-md-6" ba-panel="" ba-panel-title="Area Chart" ba-panel-class="with-scroll"><div ng-include="\'app/pages/charts/amCharts/areaChart/areaChart.html\'"></div></div><div class="col-lg-4 col-md-12" ba-panel="" ba-panel-title="Line Chart" ba-panel-class="with-scroll"><div ng-include="\'app/pages/charts/amCharts/lineChart/lineChart.html\'"></div></div></div><div class="row"><div class="col-md-6" ba-panel="" ba-panel-title="Pie Chart" ba-panel-class="with-scroll"><div ng-include="\'app/pages/charts/amCharts/pieChart/pieChart.html\'"></div></div><div class="col-md-6" ba-panel="" ba-panel-title="Funnel Chart" ba-panel-class="with-scroll"><div ng-include="\'app/pages/charts/amCharts/funnelChart/funnelChart.html\'"></div></div></div><div class="row"><div class="col-md-12" ba-panel="" ba-panel-title="Combined bullet/column and line graphs with multiple value axes" ba-panel-class="with-scroll"><div ng-include="\'app/pages/charts/amCharts/combinedChart/combinedChart.html\'"></div></div></div></div>'),e.put("app/widgets/charts/chartJs/chartJs.html",'<div class="row"><div class="col-md-4" ng-controller="chartJs1DCtrl"><div ba-panel="" ba-panel-title="Pie" ba-panel-class="with-scroll"><canvas id="pie" class="chart chart-pie" chart-legend="true" chart-options="options" chart-data="data" chart-labels="labels" chart-click="changeData"></canvas></div></div><div class="col-md-4" ng-controller="chartJs1DCtrl"><div ba-panel="" ba-panel-title="Doughnut" ba-panel-class="with-scroll"><canvas id="doughnut" chart-options="options" class="chart chart-doughnut" chart-legend="true" chart-data="data" chart-labels="labels" chart-click="changeData"></canvas></div></div><div class="col-md-4" ng-controller="chartJs1DCtrl"><div ba-panel="" ba-panel-title="Polar" ba-panel-class="with-scroll"><canvas id="polar-area" class="chart chart-polar-area" chart-data="data" chart-options="polarOptions" chart-labels="labels" chart-legend="true" chart-click="changeData"></canvas></div></div></div><div class="row"><div class="col-md-6" ng-controller="chartJsWaveCtrl"><div ba-panel="" ba-panel-title="Animated Radar" ba-panel-class="with-scroll col-eq-height"><canvas id="waveLine" class="chart chart-radar" chart-data="data" chart-labels="labels" chart-legend="false"></canvas></div></div><div class="col-md-6" ng-controller="chartJsWaveCtrl"><div ba-panel="" ba-panel-title="Animated Bars" ba-panel-class="with-scroll col-eq-height"><canvas id="waveBars" class="chart chart-bar" chart-data="data" chart-labels="labels" chart-legend="false"></canvas></div></div></div><div class="row"><div class="col-lg-4 col-md-6" ng-controller="chartJs2DCtrl"><div ba-panel="" ba-panel-title="Radar" ba-panel-class="with-scroll"><canvas id="radar" class="chart chart-radar" chart-legend="false" chart-series="series" chart-data="data" chart-labels="labels" chart-click="changeData"></canvas></div></div><div class="col-lg-4 col-md-6" ng-controller="chartJs2DCtrl"><div ba-panel="" ba-panel-title="Line" ba-panel-class="with-scroll"><canvas id="line" class="chart chart-line" chart-data="data" chart-labels="labels" chart-legend="false" chart-series="series" chart-click="changeData"></canvas></div></div><div class="col-lg-4 col-md-12" ng-controller="chartJs2DCtrl"><div ba-panel="" ba-panel-title="Bars" ba-panel-class="with-scroll"><canvas id="bar" class="chart chart-bar" chart-data="data" chart-labels="labels" chart-series="series" chart-click="changeData"></canvas></div></div></div>'),e.put("app/widgets/charts/chartist/chartist.html",'<section ng-controller="chartistCtrl" class="chartist"><div class="row"><div class="col-md-6"><div ba-panel="" ba-panel-title="Lines" ba-panel-class="with-scroll"><h5>Simple line chart</h5><div id="line-chart" class="ct-chart"></div><h5>Line chart with area</h5><div id="area-chart" class="ct-chart"></div><h5>Bi-polar line chart with area only</h5><div id="bi-chart" class="ct-chart"></div></div></div><div class="col-md-6"><div ba-panel="" ba-panel-title="Bars" ba-panel-class="with-scroll"><h5>Simple bar chart</h5><div id="simple-bar" class="ct-chart"></div><h5>Multi-line labels bar chart</h5><div id="multi-bar" class="ct-chart"></div><h5>Stacked bar chart</h5><div id="stacked-bar" class="ct-chart stacked-bar"></div></div></div></div><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="Pies & Donuts" ba-panel-class="with-scroll"><div class="row"><div class="col-md-12 col-lg-4"><h5>Simple Pie</h5><div id="simple-pie" class="ct-chart"></div></div><div class="col-md-12 col-lg-4"><h5>Pie with labels</h5><div id="label-pie" class="ct-chart"></div></div><div class="col-md-12 col-lg-4"><h5>Donut</h5><div id="donut" class="ct-chart"></div></div></div></div></div></div></section>'),e.put("app/widgets/charts/morris/morris.html",'<section ng-controller="morrisCtrl"><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="Line Chart" ba-panel-class="with-scroll"><div line-chart="" line-data="lineData" line-xkey="y" line-ykeys=\'["a", "b"]\' line-labels=\'["Serie A", "Serie B"]\' line-colors="colors"></div></div></div></div><div class="row"><div class="col-md-4"><div ba-panel="" ba-panel-title="Donut" ba-panel-class="with-scroll"><div donut-chart="" donut-data="donutData" donut-colors="colors" donut-formatter=\'"currency"\'></div></div></div><div class="col-md-8"><div ba-panel="" ba-panel-title="Bar Chart" ba-panel-class="with-scroll"><div bar-chart="" bar-data="barData" bar-x="y" bar-y=\'["a", "b"]\' bar-labels=\'["Series A", "Series B"]\' bar-colors="colors"></div></div></div></div><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="Area Chart" ba-panel-class="with-scroll"><div area-chart="" area-data="areaData" area-xkey="y" area-ykeys=\'["a", "b"]\' %="" area-labels=\'["Serie A", "Serie B"]\' line-colors="colors"></div></div></div></div></section>'),e.put("app/widgets/components/mail/mail.html",'<div class="row mail-client-container transparent"><div class="col-md-12"><div ba-panel="" ba-panel-class="xmedium-panel mail-panel"><div class="letter-layout"><div class="mail-navigation-container" ng-class="{\'expanded\' : !tabCtrl.navigationCollapsed}"><div class="text-center"><button type="button" class="btn btn-default compose-button" ng-click="tabCtrl.showCompose(\'\',\'\',\'\')">Compose</button></div><div ng-repeat="t in tabCtrl.tabs" ui-sref-active="active" class="mail-navigation" ui-sref="components.mail.label({label: t.label})" ng-click="selectTab(t.label)">{{t.name}}<span class="new-mails" ng-show="t.newMails">{{t.newMails}}</span></div><div class="labels"><div class="labels-title"></div><div class="labels-container"><div class="label-item"><span class="tag label work">Work</span></div><div class="label-item"><span class="tag label family">Family</span></div><div class="label-item"><span class="tag label friend">Friend</span></div><div class="label-item"><span class="tag label study">Study</span></div></div></div><div class="add-label-container"><i class="ion-plus-round"></i><span class="label-input-stub">Add new label</span></div></div><ui-view></ui-view></div></div></div></div>'),e.put("app/widgets/components/timeline/timeline.html",'<div ba-panel=""><section id="cd-timeline" class="cd-container cssanimations" ng-controller="TimelineCtrl"><div class="cd-timeline-block"><div class="cd-timeline-img"><div class="kameleon-icon with-round-bg warning"><img ng-src="{{::( \'Euro-Coin\' | kameleonImg )}}"></div></div><div class="cd-timeline-content warning"><h5>Title of section 1</h5><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iusto, optio, dolorum provident rerum aut hic quasi placeat iure tempora laudantium ipsa ad debitis unde? Iste voluptatibus minus veritatis qui ut.</p><span class="cd-date">Jan 14</span></div></div><div class="cd-timeline-block"><div class="cd-timeline-img"><div class="kameleon-icon with-round-bg danger"><img ng-src="{{::( \'Laptop-Signal\' | kameleonImg )}}"></div></div><div class="cd-timeline-content danger"><h5>Title of section 2</h5><p>Donec dapibus at leo eget volutpat. Praesent dolor tellus, ultricies venenatis molestie eu, luctus eget nibh. Curabitur ullamcorper eleifend nisl.</p><span class="cd-date">Jan 18</span></div></div><div class="cd-timeline-block"><div class="cd-timeline-img"><div class="kameleon-icon with-round-bg primary"><img ng-src="{{::( \'Checklist\' | kameleonImg )}}"></div></div><div class="cd-timeline-content primary"><h5>Title of section 3</h5><p>Phasellus auctor tellus eget lacinia condimentum. Cum sociis natoque penatibus et magnis dis parturient montes.</p><span class="cd-date">Feb 18</span></div></div><div class="cd-timeline-block"><div class="cd-timeline-img"><div class="kameleon-icon with-round-bg warning"><img ng-src="{{::( \'Boss-3\' | kameleonImg )}}"></div></div><div class="cd-timeline-content warning"><h5>Title of section 4</h5><p>Morbi fringilla in massa ac posuere. Fusce non sagittis massa, id accumsan odio. Nullam eget tempor est. Etiam eu felis eu purus aliquam tristique id quis nisl. Nam eros nibh, consequat sed pulvinar eu, ultrices ornare ligula. Aenean interdum sed nunc sed hendrerit.</p><span class="cd-date">Feb 20</span></div></div><div class="cd-timeline-block"><div class="cd-timeline-img"><div class="kameleon-icon with-round-bg danger"><img ng-src="{{::( \'Online-Shopping\' | kameleonImg )}}"></div></div><div class="cd-timeline-content danger"><h5>Title of section 5</h5><p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Curabitur eget mattis metus. Nullam egestas eros metus, quis fringilla urna accumsan sed. Aliquam ultrices at arcu vitae tincidunt.</p><span class="cd-date">Feb 21</span></div></div><div class="cd-timeline-block"><div class="cd-timeline-img"><div class="kameleon-icon with-round-bg primary"><img ng-src="{{::( \'Money-Increase\' | kameleonImg )}}"></div></div><div class="cd-timeline-content primary"><h5>Title of section 6</h5><p>Praesent bibendum ante mattis augue consectetur, ut commodo turpis consequat. Donec ligula eros, porta in iaculis vel, semper ac sem. Integer at mauris lorem.</p><span class="cd-date">Feb 23</span></div></div><div class="cd-timeline-block"><div class="cd-timeline-img"><div class="kameleon-icon with-round-bg warning"><img ng-src="{{::( \'Vector\' | kameleonImg )}}"></div></div><div class="cd-timeline-content warning"><h5>Title of section 7</h5><p>Vivamus ut laoreet erat, vitae eleifend eros. Sed varius id tellus non lobortis. Sed dolor ante, cursus non scelerisque sed, euismod id eros.</p><span class="cd-date">Feb 24</span></div></div></section></div>'),e.put("app/widgets/components/tree/tree.html",'<div class="row" ng-controller="treeCtrl"><div class="col-md-6"><div ba-panel="" ba-panel-title="Basic Action" ba-panel-class="with-scroll tree-panel"><div class="row"><div class="col-sm-4"><div class="control-side text-center"><div><button class="btn btn-primary" ng-click="addNewNode()">Add</button></div><div><button class="btn btn-primary" ng-click="collapse()">Collapse All</button></div><div><button class="btn btn-primary" ng-click="expand()">Expand All</button></div><div><button class="btn btn-primary" ng-click="refresh()">Refresh</button></div></div></div><div class="col-sm-8"><div js-tree="basicConfig" ng-model="treeData" should-apply="applyModelChanges()" tree="basicTree" tree-events="ready:readyCB"></div></div></div></div></div><div class="col-md-6"><div ba-panel="" ba-panel-title="Drag & Drop" ba-panel-class="with-scroll tree-panel"><div js-tree="dragConfig" ng-model="dragData"></div></div></div></div>'),e.put("app/widgets/form/inputs/inputs.html",'<div class="widgets"><div class="row"><div class="col-md-6"><div ba-panel="" ba-panel-title="Standard Fields" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/inputs/widgets/standardFields.html\'"></div></div><div ba-panel="" ba-panel-title="Tags Input" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/inputs/widgets/tagsInput/tagsInput.html\'"></div></div><div ba-panel="" ba-panel-title="Input Groups" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/inputs/widgets/inputGroups.html\'"></div></div><div ba-panel="" ba-panel-title="Checkboxes & Radios" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/inputs/widgets/checkboxesRadios.html\'"></div></div></div><div class="col-md-6"><div ba-panel="" ba-panel-title="Validation States" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/inputs/widgets/validationStates.html\'"></div></div><div ba-panel="" ba-panel-title="Selects" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/inputs/widgets/select/select.html\'"></div></div><div ba-panel="" ba-panel-title="On/Off Switches" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/inputs/widgets/switch/switch.html\'"></div></div></div></div></div>'),e.put("app/widgets/form/layouts/layouts.html",'<div class="widgets"><div class="row"><div class="col-md-12" ba-panel="" ba-panel-title="Inline Form" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/layouts/widgets/inlineForm.html\'"></div></div></div><div class="row"><div class="col-md-6"><div ba-panel="" ba-panel-title="Basic Form" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/layouts/widgets/basicForm.html\'"></div></div><div ba-panel="" ba-panel-title="Horizontal Form" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/layouts/widgets/horizontalForm.html\'"></div></div></div><div class="col-md-6"><div ba-panel="" ba-panel-title="Form Without Labels" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/layouts/widgets/formWithoutLabels.html\'"></div></div><div ba-panel="" ba-panel-title="Block Form" ba-panel-class="with-scroll"><div ng-include="\'app/pages/form/layouts/widgets/blockForm.html\'"></div></div></div></div></div>'),
  e.put("app/widgets/form/wizard/wizard.html",'<div class="widgets"><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="Form Wizard" ba-panel-class="with-scroll"><ba-wizard><ba-wizard-step title="Personal info" form="vm.personalInfoForm"><form name="vm.personalInfoForm" novalidate=""><div class="row"><div class="col-md-6"><div class="form-group has-feedback" ng-class="{\'has-error\': vm.personalInfoForm.username.$invalid && (vm.personalInfoForm.username.$dirty || vm.personalInfoForm.$submitted)}"><label for="exampleUsername1">Username</label> <input type="text" class="form-control" id="exampleUsername1" name="username" placeholder="Username" ng-model="vm.personalInfo.username" required=""> <span class="help-block error-block basic-block">Required</span></div><div class="form-group" ng-class="{\'has-error\': vm.personalInfoForm.email.$invalid && (vm.personalInfoForm.email.$dirty || vm.personalInfoForm.$submitted)}"><label for="exampleInputEmail1">Email address</label> <input type="email" class="form-control" id="exampleInputEmail1" name="email" placeholder="Email" ng-model="vm.personalInfo.email" required=""> <span class="help-block error-block basic-block">Proper email required</span></div></div><div class="col-md-6"><div class="form-group" ng-class="{\'has-error\': vm.personalInfoForm.password.$invalid && (vm.personalInfoForm.password.$dirty || vm.personalInfoForm.$submitted)}"><label for="exampleInputPassword1">Password</label> <input type="password" class="form-control" id="exampleInputPassword1" name="password" placeholder="Password" ng-model="vm.personalInfo.password" required=""> <span class="help-block error-block basic-block">Required</span></div><div class="form-group" ng-class="{\'has-error\': !vm.arePersonalInfoPasswordsEqual() && (vm.personalInfoForm.confirmPassword.$dirty || vm.personalInfoForm.$submitted)}"><label for="exampleInputConfirmPassword1">Confirm Password</label> <input type="password" class="form-control" id="exampleInputConfirmPassword1" name="confirmPassword" placeholder="Confirm Password" ng-model="vm.personalInfo.confirmPassword" required=""> <span class="help-block error-block basic-block">Passwords should match</span></div></div></div></form></ba-wizard-step><ba-wizard-step title="Product Info" form="vm.productInfoForm"><form name="vm.productInfoForm" novalidate=""><div class="row"><div class="col-md-6"><div class="form-group has-feedback" ng-class="{\'has-error\': vm.productInfoForm.productName.$invalid && (vm.productInfoForm.productName.$dirty || vm.productInfoForm.$submitted)}"><label for="productName">Product name</label> <input type="text" class="form-control" id="productName" name="productName" placeholder="Product name" ng-model="vm.productInfo.productName" required=""> <span class="help-block error-block basic-block">Required</span></div><div class="form-group" ng-class="{\'has-error\': vm.productInfoForm.productId.$invalid && (vm.productInfoForm.productId.$dirty || vm.productInfoForm.$submitted)}"><label for="productId">Product id</label> <input type="text" class="form-control" id="productId" name="productId" placeholder="productId" ng-model="vm.productInfo.productId" required=""> <span class="help-block error-block basic-block">Required</span></div></div><div class="col-md-6"><div class="form-group"><label for="productName">Category</label><select class="form-control" title="Category" selectpicker=""><option selected="">Electronics</option><option>Toys</option><option>Accessories</option></select></div></div></div></form></ba-wizard-step><ba-wizard-step title="Shipment" form="vm.addressForm"><form name="vm.addressForm" novalidate=""><div class="row"><div class="col-md-6"><div class="form-group has-feedback" ng-class="{\'has-error\': vm.addressForm.address.$invalid && (vm.addressForm.address.$dirty || vm.addressForm.$submitted)}"><label for="productName">Shipment address</label> <input type="text" class="form-control" id="address" name="address" placeholder="Shipment address" ng-model="vm.shipment.address" required=""> <span class="help-block error-block basic-block">Required</span></div></div><div class="col-md-6"><div class="form-group"><label for="productName">Shipment method</label><select class="form-control" title="Category" selectpicker=""><option selected="">Fast & expensive</option><option>Cheap & free</option></select></div></div></div><div class="checkbox"><label class="custom-checkbox"><input type="checkbox"> <span>Save shipment info</span></label></div></form></ba-wizard-step><ba-wizard-step title="Finish"><form class="form-horizontal" name="vm.finishForm" novalidate="">Congratulations! You have successfully filled the form!</form></ba-wizard-step></ba-wizard></div></div></div></div>'),e.put("app/widgets/maps/google-maps/google-maps.html",'<div ba-panel="" ba-panel-title="Google Maps" class="viewport100"><div id="google-maps"></div></div>'),e.put("app/widgets/maps/leaflet/leaflet.html",'<div ba-panel="" ba-panel-title="Leaflet" class="viewport100"><div id="leaflet-map"></div></div>'),e.put("app/widgets/maps/map-bubbles/map-bubbles.html",'<div ba-panel="" ba-panel-title="Map with Bubbles" class="viewport100"><div id="map-bubbles"></div></div>'),e.put("app/widgets/maps/map-lines/map-lines.html",'<div ba-panel="" ba-panel-title="Line Map" class="viewport100"><div id="map-lines"></div></div>'),e.put("app/widgets/tables/basic/tables.html",'<div class="widgets"><div class="row"><div class="col-lg-6 col-md-12"><div ba-panel="" ba-panel-title="Hover Rows" ba-panel-class="with-scroll table-panel"><div include-with-scope="app/pages/tables/widgets/hoverRows.html"></div></div></div><div class="col-lg-6 col-md-12"><div ba-panel="" ba-panel-title="Bordered Table" ba-panel-class="with-scroll table-panel"><div include-with-scope="app/pages/tables/widgets/borderedTable.html"></div></div></div></div><div class="row"><div class="col-lg-6 col-md-12"><div ba-panel="" ba-panel-title="Condensed Table" ba-panel-class="with-scroll table-panel"><div include-with-scope="app/pages/tables/widgets/condensedTable.html"></div></div></div><div class="col-lg-6 col-md-12"><div ba-panel="" ba-panel-title="Striped Rows" ba-panel-class="with-scroll table-panel"><div include-with-scope="app/pages/tables/widgets/stripedRows.html"></div></div></div></div><div class="row"><div class="col-lg-6 col-md-12"><div ba-panel="" ba-panel-title="Contextual Table" ba-panel-class="with-scroll table-panel"><div include-with-scope="app/pages/tables/widgets/contextualTable.html"></div></div></div><div class="col-lg-6 col-md-12"><div ba-panel="" ba-panel-title="Responsive Table" ba-panel-class="with-scroll table-panel"><div include-with-scope="app/pages/tables/widgets/responsiveTable.html"></div></div></div></div></div>'),e.put("app/widgets/tables/smart/tables.html",'<div class="widgets"><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="Editable Rows" ba-panel-class="with-scroll"><div include-with-scope="app/pages/tables/widgets/editableRowTable.html"></div></div></div></div><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="Editable Cells" ba-panel-class="with-scroll"><div include-with-scope="app/pages/tables/widgets/editableTable.html"></div></div></div></div><div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="Smart Table With Filtering, Sorting And Pagination" ba-panel-class="with-scroll"><div include-with-scope="app/pages/tables/widgets/smartTable.html"></div></div></div></div></div>'),e.put("app/widgets/tables/widgets/basicTable.html",'<div class="horizontal-scroll"><table class="table"><thead><tr><th class="browser-icons"></th><th>Browser</th><th class="align-right">Visits</th><th class="table-arr"></th><th class="align-right">Downloads</th><th class="table-arr"></th><th class="align-right">Purchases</th><th class="table-arr"></th><th class="align-right">DAU</th><th class="table-arr"></th><th class="align-right">MAU</th><th class="table-arr"></th><th class="align-right">LTV</th><th class="table-arr"></th><th class="align-right">Users %</th><th class="table-arr"></th></tr></thead><tbody><tr><td><img src="img/chrome.svg" width="20" height="20"></td><td class="nowrap">Google Chrome</td><td class="align-right">10,392</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">3,822</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">4,214</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">899</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">7,098</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">178</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">45%</td><td class="table-arr"><i class="icon-up"></i></td></tr><tr><td><img src="img/firefox.svg" width="20" height="20"></td><td class="nowrap">Mozilla Firefox</td><td class="align-right">7,873</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">6,003</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">3,031</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">897</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">8,997</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">102</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">28%</td><td class="table-arr"><i class="icon-up"></i></td></tr><tr><td><img src="img/ie.svg" width="20" height="20"></td><td class="nowrap">Internet Explorer</td><td class="align-right">5,890</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">3,492</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">2,102</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">27</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">4,039</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">99</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">17%</td><td class="table-arr"><i class="icon-down"></i></td></tr><tr><td><img src="img/safari.svg" width="20" height="20"></td><td class="nowrap">Safari</td><td class="align-right">4,001</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">2,039</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">1,001</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">104</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">3,983</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">209</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">14%</td><td class="table-arr"><i class="icon-down"></i></td></tr><tr><td><img src="img/opera.svg" width="20" height="20"></td><td class="nowrap">Opera</td><td class="align-right">1,833</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">983</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">83</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">19</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">1,099</td><td class="table-arr"><i class="icon-down"></i></td><td class="align-right">103</td><td class="table-arr"><i class="icon-up"></i></td><td class="align-right">5%</td><td class="table-arr"><i class="icon-up"></i></td></tr></tbody></table></div>'),e.put("app/widgets/tables/widgets/borderedTable.html",'<div class="horizontal-scroll"><table class="table table-bordered"><thead><tr><th class="browser-icons"></th><th>Browser</th><th class="align-right">Visits</th><th class="align-right">Purchases</th><th class="align-right">%</th></tr></thead><tbody><tr ng-repeat="item in metricsTableData"><td><img ng-src="{{::( item.image | appImage )}}" width="20" height="20"></td><td ng-class="nowrap">{{item.browser}}</td><td class="align-right">{{item.visits}}</td><td class="align-right">{{item.purchases}}</td><td class="align-right">{{item.percent}}</td></tr></tbody></table></div>'),e.put("app/widgets/tables/widgets/condensedTable.html",'<div class="horizontal-scroll"><table class="table table-condensed"><thead><tr><th class="table-id">#</th><th>First Name</th><th>Last Name</th><th>Username</th><th>Email</th><th>Status</th></tr></thead><tbody><tr ng-repeat="item in peopleTableData"><td class="table-id">{{item.id}}</td><td>{{item.firstName}}</td><td>{{item.lastName}}</td><td>{{item.username}}</td><td><a class="email-link" ng-href="mailto:{{item.email}}">{{item.email}}</a></td><td><button class="status-button btn btn-xs btn-{{item.status}}">{{item.status}}</button></td></tr></tbody></table></div>'),e.put("app/widgets/tables/widgets/contextualTable.html",'<table class="table"><tr><th>#</th><th>First Name</th><th>Last Name</th><th>Username</th><th>Email</th><th>Age</th></tr><tr class="primary"><td>1</td><td>Mark</td><td>Otto</td><td>@mdo</td><td><a class="email-link" ng-href="mailto:mdo@gmail.com" href="mailto:mdo@gmail.com">mdo@gmail.com</a></td><td>28</td></tr><tr class="success"><td>2</td><td>Jacob</td><td>Thornton</td><td>@fat</td><td><a class="email-link" ng-href="mailto:fat@yandex.ru" href="mailto:fat@yandex.ru">fat@yandex.ru</a></td><td>45</td></tr><tr class="warning"><td>3</td><td>Larry</td><td>Bird</td><td>@twitter</td><td><a class="email-link" ng-href="mailto:twitter@outlook.com" href="mailto:twitter@outlook.com">twitter@outlook.com</a></td><td>18</td></tr><tr class="danger"><td>4</td><td>John</td><td>Snow</td><td>@snow</td><td><a class="email-link" ng-href="mailto:snow@gmail.com" href="mailto:snow@gmail.com">snow@gmail.com</a></td><td>20</td></tr><tr class="info"><td>5</td><td>Jack</td><td>Sparrow</td><td>@jack</td><td><a class="email-link" ng-href="mailto:jack@yandex.ru" href="mailto:jack@yandex.ru">jack@yandex.ru</a></td><td>30</td></tr></table>'),e.put("app/widgets/tables/widgets/editableRowTable.html",'<div class="add-row-editable-table"><button class="btn btn-primary" ng-click="addUser()">Add row</button></div><table class="table table-bordered table-hover table-condensed"><tr><td></td><td>Name</td><td>Status</td><td>Group</td><td>Actions</td></tr><tr ng-repeat="user in users" class="editable-row"><td>{{$index}}</td><td><span editable-text="user.name" e-name="name" e-form="rowform" e-required="">{{ user.name || \'empty\' }}</span></td><td class="select-td"><span editable-select="user.status" e-name="status" e-form="rowform" e-selectpicker="" e-ng-options="s.value as s.text for s in statuses">{{ showStatus(user) }}</span></td><td class="select-td"><span editable-select="user.group" e-name="group" onshow="loadGroups()" e-form="rowform" e-selectpicker="" e-ng-options="g.id as g.text for g in groups">{{ showGroup(user) }}</span></td><td><form editable-form="" name="rowform" ng-show="rowform.$visible" class="form-buttons form-inline" shown="inserted == user"><button type="submit" ng-disabled="rowform.$waiting" class="btn btn-primary editable-table-button btn-xs">Save</button> <button type="button" ng-disabled="rowform.$waiting" ng-click="rowform.$cancel()" class="btn btn-default editable-table-button btn-xs">Cancel</button></form><div class="buttons" ng-show="!rowform.$visible"><button class="btn btn-primary editable-table-button btn-xs" ng-click="rowform.$show()">Edit</button> <button class="btn btn-danger editable-table-button btn-xs" ng-click="removeUser($index)">Delete</button></div></td></tr></table>'),e.put("app/widgets/tables/widgets/editableTable.html",'<div class="horizontal-scroll"><table class="table table-hover" st-table="editableTableData"><thead><tr class="sortable"><th class="table-id" st-sort="id" st-sort-default="true">#</th><th st-sort="firstName">First Name</th><th st-sort="lastName">Last Name</th><th st-sort="username">Username</th><th st-sort="email">Email</th><th st-sort="age">Age</th></tr></thead><tbody><tr ng-repeat="item in editableTableData" class="editable-tr-wrap"><td class="table-id">{{item.id}}</td><td><span editable-text="item.firstName" blur="cancel">{{item.firstName}}</span></td><td><span editable-text="item.lastName" blur="cancel">{{item.lastName}}</span></td><td><span editable-text="item.username" blur="cancel">{{item.username}}</span></td><td><a class="email-link" ng-href="mailto:{{item.email}}">{{item.email}}</a></td><td><span editable-text="item.age" blur="cancel">{{item.age}}</span></td></tr></tbody><tfoot><tr><td colspan="6" class="text-center"><div st-pagination="" st-items-by-page="12" st-displayed-pages="5"></div></td></tr></tfoot></table></div>'),e.put("app/widgets/tables/widgets/hoverRows.html",'<div class="horizontal-scroll"><table class="table table-hover"><thead><tr class="black-muted-bg"><th class="browser-icons"></th><th>Browser</th><th class="align-right">Visits</th><th class="table-arr"></th><th class="align-right">Purchases</th><th class="table-arr"></th><th class="align-right">%</th><th class="table-arr"></th></tr></thead><tbody><tr ng-repeat="item in metricsTableData" class="no-top-border"><td><img ng-src="{{::( item.image | appImage )}}" width="20" height="20"></td><td ng-class="nowrap">{{item.browser}}</td><td class="align-right">{{item.visits}}</td><td class="table-arr"><i ng-class="{\'icon-up\': item.isVisitsUp, \'icon-down\': !item.isVisitsUp }"></i></td><td class="align-right">{{item.purchases}}</td><td class="table-arr"><i ng-class="{\'icon-up\': item.isPurchasesUp, \'icon-down\': !item.isPurchasesUp }"></i></td><td class="align-right">{{item.percent}}</td><td class="table-arr"><i ng-class="{\'icon-up\': item.isPercentUp, \'icon-down\': !item.isPercentUp }"></i></td></tr></tbody></table></div>'),e.put("app/widgets/tables/widgets/responsiveTable.html",'<div class="table-responsive"><table class="table"><tr><th>#</th><th>First Name</th><th>Last Name</th><th>Username</th><th>Email</th><th>Age</th></tr><tr><td>1</td><td>Mark</td><td>Otto</td><td>@mdo</td><td><a class="email-link" ng-href="mailto:mdo@gmail.com" href="mailto:mdo@gmail.com">mdo@gmail.com</a></td><td>28</td></tr><tr><td>2</td><td>Jacob</td><td>Thornton</td><td>@fat</td><td><a class="email-link" ng-href="mailto:fat@yandex.ru" href="mailto:fat@yandex.ru">fat@yandex.ru</a></td><td>45</td></tr><tr><td>3</td><td>Larry</td><td>Bird</td><td>@twitter</td><td><a class="email-link" ng-href="mailto:twitter@outlook.com" href="mailto:twitter@outlook.com">twitter@outlook.com</a></td><td>18</td></tr><tr><td>4</td><td>John</td><td>Snow</td><td>@snow</td><td><a class="email-link" ng-href="mailto:snow@gmail.com" href="mailto:snow@gmail.com">snow@gmail.com</a></td><td>20</td></tr><tr><td>5</td><td>Jack</td><td>Sparrow</td><td>@jack</td><td><a class="email-link" ng-href="mailto:jack@yandex.ru" href="mailto:jack@yandex.ru">jack@yandex.ru</a></td><td>30</td></tr></table></div>'),e.put("app/widgets/tables/widgets/smartTable.html",'<div class="horizontal-scroll"><div class="form-group select-page-size-wrap"><label>Rows on page<select class="form-control selectpicker show-tick" title="Rows on page" selectpicker="" ng-model="smartTablePageSize" ng-options="i for i in [5,10,15,20,25]"></select></label></div><table class="table" st-table="smartTableData"><thead><tr class="sortable"><th class="table-id" st-sort="id" st-sort-default="true">#</th><th st-sort="firstName">First Name</th><th st-sort="lastName">Last Name</th><th st-sort="username">Username</th><th st-sort="email">Email</th><th st-sort="age">Age</th></tr><tr><th></th><th><input st-search="firstName" placeholder="Search First Name" class="input-sm form-control search-input" type="search"></th><th><input st-search="lastName" placeholder="Search Last Name" class="input-sm form-control search-input" type="search"></th><th><input st-search="username" placeholder="Search Username" class="input-sm form-control search-input" type="search"></th><th><input st-search="email" placeholder="Search Email" class="input-sm form-control search-input" type="search"></th><th><input st-search="age" placeholder="Search Age" class="input-sm form-control search-input" type="search"></th></tr></thead><tbody><tr ng-repeat="item in smartTableData"><td class="table-id">{{item.id}}</td><td>{{item.firstName}}</td><td>{{item.lastName}}</td><td>{{item.username}}</td><td><a class="email-link" ng-href="mailto:{{item.email}}">{{item.email}}</a></td><td>{{item.age}}</td></tr></tbody><tfoot><tr><td colspan="6" class="text-center"><div st-pagination="" st-items-by-page="smartTablePageSize" st-displayed-pages="5"></div></td></tr></tfoot></table></div>'),e.put("app/widgets/tables/widgets/stripedRows.html",'<div class="vertical-scroll"><table class="table table-striped"><thead><tr><th class="table-id">#</th><th>First Name</th><th>Last Name</th><th>Username</th><th>Email</th><th>Age</th></tr></thead><tbody><tr ng-repeat="item in smartTableData"><td class="table-id">{{item.id}}</td><td>{{item.firstName}}</td><td>{{item.lastName}}</td><td>{{item.username}}</td><td><a class="email-link" ng-href="mailto:{{item.email}}">{{item.email}}</a></td><td>{{item.age}}</td></tr></tbody></table></div>'),e.put("app/widgets/ui/alerts/alerts.html",'<div class="widgets"><div class="row"><div class="col-md-6" ba-panel="" ba-panel-title="Basic" ba-panel-class="with-scroll"><div><div class="alert bg-success"><strong>Well done!</strong> You successfully read this important alert message.</div><div class="alert bg-info"><strong>Heads up!</strong> This alert needs your attention, but it\'s not super important.</div><div class="alert bg-warning"><strong>Warning!</strong> Better check yourself, you\'re not looking too good.</div><div class="alert bg-danger"><strong>Oh snap!</strong> Change a few things up and try submitting again.</div></div></div><div class="col-md-6" ba-panel="" ba-panel-title="Dismissible alerts" ba-panel-class="with-scroll"><div><div class="alert bg-success closeable" role="alert"><button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button> <strong>Well done!</strong> You successfully read this important alert message.</div><div class="alert bg-info closeable" role="alert"><button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button> <strong>Heads up!</strong> This alert needs your attention, but it\'s not super important.</div><div class="alert bg-warning closeable" role="alert"><button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button> <strong>Warning!</strong> Better check yourself, you\'re not looking too good.</div><div class="alert bg-danger closeable" role="alert"><button type="button" class="close" aria-label="Close"><span aria-hidden="true">&times;</span></button> <strong>Oh snap!</strong> Change a few things up and try submitting again.</div></div></div></div><div class="row"><div class="col-md-6" ba-panel="" ba-panel-title="Links in alerts" ba-panel-class="with-scroll"><div><div class="alert bg-success"><strong>Well done!</strong> You successfully read <a href="" class="alert-link">this important alert message</a>.</div><div class="alert bg-info"><strong>Heads up!</strong> This <a href="" class="alert-link">alert needs your attention</a>, but it\'s not super important.</div><div class="alert bg-warning"><strong>Warning!</strong> Better check yourself, you\'re <a href="" class="alert-link">not looking too good</a>.</div><div class="alert bg-danger"><strong>Oh snap!</strong> <a href="" class="alert-link">Change a few things up</a> and try submitting again.</div></div></div><div class="col-md-6" ba-panel="" ba-panel-title="Composite alerts" ba-panel-class="with-scroll"><div><div class="alert bg-warning"><h4>Warning!</h4><strong>Pay attention.</strong> Change a few things up and try submitting again.<div class="control-alert"><button type="button" class="btn btn-danger">Pay Attention</button> <button type="button" class="btn btn-primary">Ignore</button></div></div></div></div></div></div>'),e.put("app/widgets/ui/buttons/buttons.html",'<div class="widgets"><div class="row"><div class="col-md-3" ba-panel="" ba-panel-title="Flat Buttons" ba-panel-class="with-scroll button-panel"><div class="button-wrapper"><button type="button" class="btn btn-default">Default</button></div><div class="button-wrapper"><button type="button" class="btn btn-primary">Primary</button></div><div class="button-wrapper"><button type="button" class="btn btn-success">Success</button></div><div class="button-wrapper"><button type="button" class="btn btn-info">Info</button></div><div class="button-wrapper"><button type="button" class="btn btn-warning">Warning</button></div><div class="button-wrapper"><button type="button" class="btn btn-danger">Danger</button></div></div><div class="col-md-3" ba-panel="" ba-panel-title="Raised Buttons" ba-panel-class="with-scroll button-panel"><div class="button-wrapper"><button type="button" class="btn btn-default btn-raised">Default</button></div><div class="button-wrapper"><button type="button" class="btn btn-primary btn-raised">Primary</button></div><div class="button-wrapper"><button type="button" class="btn btn-success btn-raised">Success</button></div><div class="button-wrapper"><button type="button" class="btn btn-info btn-raised">Info</button></div><div class="button-wrapper"><button type="button" class="btn btn-warning btn-raised">Warning</button></div><div class="button-wrapper"><button type="button" class="btn btn-danger btn-raised">Danger</button></div></div><div class="col-md-3" ba-panel="" ba-panel-title="Different sizes" ba-panel-class="with-scroll button-panel df-size-button-panel"><div class="button-wrapper"><button type="button" class="btn btn-default btn-xs">Default</button></div><div class="button-wrapper"><button type="button" class="btn btn-primary btn-sm">Primary</button></div><div class="button-wrapper"><button type="button" class="btn btn-success btn-mm">Success</button></div><div class="button-wrapper"><button type="button" class="btn btn-info btn-md">Info</button></div><div class="button-wrapper"><button type="button" class="btn btn-warning btn-xm">Warning</button></div><div class="button-wrapper"><button type="button" class="btn btn-danger btn-lg">Danger</button></div></div><div class="col-md-3" ba-panel="" ba-panel-title="Disabled" ba-panel-class="with-scroll button-panel"><div class="button-wrapper"><button type="button" class="btn btn-default" disabled="disabled">Default</button></div><div class="button-wrapper"><button type="button" class="btn btn-primary" disabled="disabled">Primary</button></div><div class="button-wrapper"><button type="button" class="btn btn-success" disabled="disabled">Success</button></div><div class="button-wrapper"><button type="button" class="btn btn-info" disabled="disabled">Info</button></div><div class="button-wrapper"><button type="button" class="btn btn-warning" disabled="disabled">Warning</button></div><div class="button-wrapper"><button type="button" class="btn btn-danger" disabled="disabled">Danger</button></div></div></div><div class="row"><div class="col-md-6"><div ba-panel="" ba-panel-title="Icon Buttons" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/buttons/widgets/iconButtons.html\'"></div></div><div ba-panel="" ba-panel-title="Large Buttons" ba-panel-class="with-scroll large-buttons-panel"><div ng-include="\'app/pages/ui/buttons/widgets/largeButtons.html\'"></div></div></div><div class="col-md-6"><div ba-panel="" ba-panel-title="Button Dropdowns" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/buttons/widgets/dropdowns.html\'"></div></div><div ba-panel="" ba-panel-title="Button Groups" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/buttons/widgets/buttonGroups.html\'"></div></div></div></div><div class="row"><div class="col-md-12" ba-panel="" ba-panel-title="Progress Buttons" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/buttons/widgets/progressButtons.html\'"></div></div></div></div>'),e.put("app/widgets/ui/grid/baseGrid.html",'<h4 class="grid-h">Stacked to horizontal</h4><div class="row show-grid"><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div><div class="col-md-1"><div>.col-md-1</div></div></div><div class="row show-grid"><div class="col-md-8"><div>.col-md-8</div></div><div class="col-md-4"><div>.col-md-4</div></div></div><div class="row show-grid"><div class="col-md-4"><div>.col-md-4</div></div><div class="col-md-4"><div>.col-md-4</div></div><div class="col-md-4"><div>.col-md-4</div></div></div><div class="row show-grid"><div class="col-md-6"><div>.col-md-6</div></div><div class="col-md-6"><div>.col-md-6</div></div></div><h4 class="grid-h">Mobile and desktop</h4><div class="row show-grid"><div class="col-xs-12 col-md-8"><div>xs-12 .col-md-8</div></div><div class="col-xs-6 col-md-4"><div>xs-6 .col-md-4</div></div></div><div class="row show-grid"><div class="col-xs-6 col-md-4"><div>xs-6 .col-md-4</div></div><div class="col-xs-6 col-md-4"><div>xs-6 .col-md-4</div></div><div class="col-xs-6 col-md-4"><div>xs-6 .col-md-4</div></div></div><div class="row show-grid"><div class="col-xs-6"><div>.col-xs-6</div></div><div class="col-xs-6"><div>.col-xs-6</div></div></div><h4 class="grid-h">Mobile, tablet, desktop</h4><div class="row show-grid"><div class="col-xs-12 col-sm-6 col-md-8"><div>.col-xs-12 .col-sm-6 .col-md-8</div></div><div class="col-xs-6 col-md-4"><div>.col-xs-6 .col-md-4</div></div></div><div class="row show-grid"><div class="col-xs-6 col-sm-4"><div>.col-xs-6 .col-sm-4</div></div><div class="col-xs-6 col-sm-4"><div>.col-xs-6 .col-sm-4</div></div><div class="clearfix visible-xs-block"></div><div class="col-xs-6 col-sm-4"><div>.col-xs-6 .col-sm-4</div></div></div><h4 class="grid-h">Column wrapping</h4><div class="row show-grid"><div class="col-xs-9"><div>.col-xs-9</div></div><div class="col-xs-4"><div>.col-xs-4<br>Since 9 + 4 = 13 &gt; 12, this 4-column-wide div gets wrapped onto a new line as one contiguous unit.</div></div><div class="col-xs-6"><div>.col-xs-6<br>Subsequent columns continue along the new line.</div></div></div><h4 class="grid-h">Responsive column resets</h4><div class="row show-grid"><div class="col-xs-6 col-sm-3"><div>.col-xs-6 .col-sm-3<p>Resize your viewport or check it out on your phone for an example.</p></div></div><div class="col-xs-6 col-sm-3"><div>.col-xs-6 .col-sm-3</div></div><div class="clearfix visible-xs-block"></div><div class="col-xs-6 col-sm-3"><div>.col-xs-6 .col-sm-3</div></div><div class="col-xs-6 col-sm-3"><div>.col-xs-6 .col-sm-3</div></div></div><h4 class="grid-h">Offsetting columns</h4><div class="row show-grid"><div class="col-md-4"><div>.col-md-4</div></div><div class="col-md-4 col-md-offset-4"><div>.col-md-4 .col-md-offset-4</div></div></div><div class="row show-grid"><div class="col-md-3 col-md-offset-3"><div>.col-md-3 .col-md-offset-3</div></div><div class="col-md-3 col-md-offset-3"><div>.col-md-3 .col-md-offset-3</div></div></div><div class="row show-grid"><div class="col-md-6 col-md-offset-3"><div>.col-md-6 .col-md-offset-3</div></div></div><h4 class="grid-h">Grid options</h4><div class="table-responsive"><table class="table table-bordered table-striped"><thead><tr><th></th><th>Extra small devices <small>Phones (&lt;768px)</small></th><th>Small devices <small>Tablets (≥768px)</small></th><th>Medium devices <small>Desktops (≥992px)</small></th><th>Large devices <small>Desktops (≥1200px)</small></th></tr></thead><tbody><tr><th class="text-nowrap" scope="row">Grid behavior</th><td>Horizontal at all times</td><td colspan="3">Collapsed to start, horizontal above breakpoints</td></tr><tr><th class="text-nowrap" scope="row">Container width</th><td>None (auto)</td><td>750px</td><td>970px</td><td>1170px</td></tr><tr><th class="text-nowrap" scope="row">Class prefix</th><td><code>.col-xs-</code></td><td><code>.col-sm-</code></td><td><code>.col-md-</code></td><td><code>.col-lg-</code></td></tr><tr><th class="text-nowrap" scope="row"># of columns</th><td colspan="4">12</td></tr><tr><th class="text-nowrap" scope="row">Column width</th><td class="text-muted">Auto</td><td>~62px</td><td>~81px</td><td>~97px</td></tr><tr><th class="text-nowrap" scope="row">Gutter width</th><td colspan="4">30px (15px on each side of a column)</td></tr><tr><th class="text-nowrap" scope="row">Nestable</th><td colspan="4">Yes</td></tr><tr><th class="text-nowrap" scope="row">Offsets</th><td colspan="4">Yes</td></tr><tr><th class="text-nowrap" scope="row">Column ordering</th><td colspan="4">Yes</td></tr></tbody></table></div>'),
  e.put("app/widgets/ui/grid/grid.html",'<div class="widgets"><div class="row"><div class="col-md-12" ba-panel="" ba-panel-title="Inline Form" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/grid/baseGrid.html\'"></div></div></div></div>'),e.put("app/widgets/ui/icons/icons.html",'<div class="widgets"><div class="row"><div class="col-md-6"><div ba-panel="" ba-panel-title="Kameleon SVG Icons" ba-panel-class="with-scroll"><div include-with-scope="app/pages/ui/icons/widgets/kameleon.html"></div></div><div ba-panel="" ba-panel-title="Socicon" ba-panel-class="with-scroll"><div include-with-scope="app/pages/ui/icons/widgets/socicon.html"></div></div></div><div class="col-md-6"><div ba-panel="" ba-panel-title="Icons With Rounded Background" ba-panel-class="with-scroll"><div include-with-scope="app/pages/ui/icons/widgets/kameleonRounded.html"></div></div><div ba-panel="" ba-panel-title="ionicons" ba-panel-class="with-scroll"><div include-with-scope="app/pages/ui/icons/widgets/ionicons.html"></div></div><div ba-panel="" ba-panel-title="Font Awesome Icons" ba-panel-class="with-scroll"><div include-with-scope="app/pages/ui/icons/widgets/fontAwesomeIcons.html"></div></div></div></div></div>'),e.put("app/widgets/ui/modals/modals.html",'<div class="widgets"><div class="row"><div class="col-md-12" ba-panel="" ba-panel-title="Modals" ba-panel-class="with-scroll"><div class="modal-buttons clearfix"><button type="button" class="btn btn-primary" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/basicModal.html\', \'md\')">Default modal</button> <button type="button" class="btn btn-success" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/largeModal.html\', \'lg\')">Large modal</button> <button type="button" class="btn btn-warning" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/smallModal.html\', \'sm\')">Small modal</button></div></div></div><div class="row"><div class="col-md-6" ba-panel="" ba-panel-title="Message Modals" ba-panel-class="with-scroll"><div class="modal-buttons same-width clearfix"><button type="button" class="btn btn-success" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/successModal.html\')">Success Message</button> <button type="button" class="btn btn-info" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/infoModal.html\')">Info Message</button> <button type="button" class="btn btn-warning" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/warningModal.html\')">Warning Message</button> <button type="button" class="btn btn-danger" data-toggle="modal" ng-click="open(\'app/pages/ui/modals/modalTemplates/dangerModal.html\')">Danger Message</button></div></div><div class="col-md-6" ba-panel="" ba-panel-title="Notifications" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/modals/notifications/notifications.html\'"></div></div></div></div>'),e.put("app/widgets/ui/notifications/notifications.html",'<div ba-panel="" ba-panel-class="with-scroll notification-panel"><div class="row"><div class="col-md-3 col-sm-4"><div class="control"><label for="title">Title</label> <input ng-model="options.title" type="text" class="form-control" id="title" placeholder="Enter a title ..."></div><div class="control"><label for="message">Message</label> <textarea ng-model="options.msg" class="form-control" id="message" rows="3" placeholder="Enter a message ..."></textarea></div><div class="control-group"><div class="control"><label class="checkbox-inline custom-checkbox nowrap"><input ng-model="options.closeButton" type="checkbox" id="closeButton"> <span>Close Button</span></label></div><div class="control"><label class="checkbox-inline custom-checkbox nowrap"><input ng-model="options.allowHtml" type="checkbox" id="html"> <span>Allow html</span></label></div><div class="control"><label class="checkbox-inline custom-checkbox nowrap"><input ng-model="options.progressBar" type="checkbox" id="progressBar"> <span>Progress bar</span></label></div><div class="control"><label class="checkbox-inline custom-checkbox nowrap"><input ng-model="options.preventDuplicates" type="checkbox" id="preventDuplicates"> <span>Prevent duplicates</span></label></div><div class="control"><label class="checkbox-inline custom-checkbox nowrap"><input ng-model="options.preventOpenDuplicates" type="checkbox" id="preventOpenDuplicates"> <span>Prevent open duplicates</span></label></div><div class="control"><label class="checkbox-inline custom-checkbox nowrap"><input ng-model="options.tapToDismiss" type="checkbox" id="tapToDismiss"> <span>Tap to dismiss</span></label></div><div class="control"><label class="checkbox-inline custom-checkbox nowrap"><input ng-model="options.newestOnTop" type="checkbox" id="newestOnTop"> <span>Newest on top</span></label></div></div></div><div class="col-md-2 col-sm-3 toastr-radio-setup"><div id="toastTypeGroup"><div class="controls radio-controls"><label class="radio-header">Toast Type</label> <label class="radio custom-radio"><input type="radio" ng-model="options.type" name="toasts" value="success"><span>Success</span></label> <label class="radio custom-radio"><input type="radio" ng-model="options.type" name="toasts" value="info"><span>Info</span></label> <label class="radio custom-radio"><input type="radio" ng-model="options.type" name="toasts" value="warning"><span>Warning</span></label> <label class="radio custom-radio"><input type="radio" ng-model="options.type" name="toasts" value="error"><span>Error</span></label></div></div><div id="positionGroup"><div class="controls radio-controls"><label class="radio-header position-header">Position</label> <label class="radio custom-radio"><input type="radio" ng-model="options.positionClass" name="positions" value="toast-top-right"> <span>Top Right</span></label> <label class="radio custom-radio"><input type="radio" ng-model="options.positionClass" name="positions" value="toast-bottom-right"> <span>Bottom Right</span></label> <label class="radio custom-radio"><input type="radio" ng-model="options.positionClass" name="positions" value="toast-bottom-left"> <span>Bottom Left</span></label> <label class="radio custom-radio"><input type="radio" ng-model="options.positionClass" name="positions" value="toast-top-left"> <span>Top Left</span></label> <label class="radio custom-radio"><input type="radio" ng-model="options.positionClass" name="positions" value="toast-top-full-width"> <span>Top Full Width</span></label> <label class="radio custom-radio"><input type="radio" ng-model="options.positionClass" name="positions" value="toast-bottom-full-width"> <span>Bottom Full Width</span></label> <label class="radio custom-radio"><input type="radio" ng-model="options.positionClass" name="positions" value="toast-top-center"> <span>Top Center</span></label> <label class="radio custom-radio"><input type="radio" ng-model="options.positionClass" name="positions" value="toast-bottom-center"> <span>Bottom Center</span></label></div></div></div><div class="col-md-2 col-sm-3"><div class="control"><label for="timeOut">Time out</label> <input type="text" class="form-control" id="timeOut" ng-model="options.timeOut" placeholder="ms"> <label class="sub-label" for="timeOut">If you set it to 0, it will stick</label></div><div class="control"><label for="extendedTimeOut">Extended time out</label> <input type="text" class="form-control" id="extendedTimeOut" ng-model="options.extendedTimeOut" placeholder="ms"></div><div class="control"><label for="maxOpened">Maximum number of toasts</label> <input type="text" class="form-control" id="maxOpened" ng-model="options.maxOpened" value="0"> <label for="maxOpened" class="sub-label">0 means no limit</label></div><div class="control"><label class="checkbox-inline custom-checkbox nowrap"><input ng-model="options.autoDismiss" type="checkbox" id="autoDismiss"> <span>Auto dismiss</span></label></div></div><div class="col-md-5 col-sm-12"><label>Result:</label><pre class="result-toastr" id="toastrOptions">{{optionsStr}}</pre></div></div><div class="row"><div class="col-md-12 button-row"><button ng-click="openToast()" class="btn btn-primary">Open Toast</button> <button ng-click="openRandomToast()" class="btn btn-primary">Random Toast</button> <button ng-click="clearToasts()" class="btn btn-danger">Clear Toasts</button> <button ng-click="clearLastToast()" class="btn btn-danger">Clear Last Toast</button></div></div></div>'),e.put("app/widgets/ui/panels/panels.html",'<h2>Default panels</h2><div class="row"><div class="col-md-12 col-lg-4"><div ba-panel="" ba-panel-class="xsmall-panel light-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ac mi erat. Phasellus placerat, elit a laoreet semper, enim ipsum ultricies orci, ac tincidunt tellus massa eu est. Nam non porta purus, sed facilisis justo. Nam pulvinar sagittis quam.</div></div><div class="col-md-12 col-lg-4"><div ba-panel="" ba-panel-title="Panel with header" ba-panel-class="xsmall-panel light-text">Phasellus maximus venenatis augue, et vestibulum neque aliquam ut. Morbi mattis libero vitae vulputate dignissim. Praesent placerat, sem non dapibus cursus, lacus nisi blandit quam, vitae porttitor lectus lacus non turpis. Donec suscipit consequat tellus.</div></div><div class="col-md-12 col-lg-4"><div ba-panel="" ba-panel-title="Panel with header & scroll" ba-panel-class="xsmall-panel with-scroll light-text"><p>Suspendisse nec tellus urna. Sed id est metus. Nullam sit amet dolor nec ipsum dictum suscipit. Mauris sed nisi mauris. Nulla iaculis nisl ut velit ornare imperdiet. Suspendisse potenti. In tempor leo sed sem malesuada pellentesque. Maecenas faucibus metus lacus, ac egestas diam vulputate vitae.</p><p>Sed dapibus, purus vel hendrerit consectetur, lectus orci gravida massa, sed bibendum dui mauris et eros. Nulla dolor massa, posuere et dictum sit amet, dignissim quis odio. Fusce mollis finibus dignissim. Integer sodales augue erat. Pellentesque laoreet vestibulum urna at iaculis. Nulla libero augue, euismod at diam eget, aliquam condimentum ligula. Donec a leo eu est molestie lacinia hendrerit sed lorem. Duis id diam eu metus sodales consequat vel eu elit. Praesent dolor nibh, convallis eleifend feugiat a, finibus porttitor nibh. Ut non libero vel velit pulvinar scelerisque non vel lorem. Integer porta tempor nulla. Sed nibh erat, ultrices vel lorem eu, rutrum vehicula sem.</p><p>Donec nec tellus urna. Sed id est metus. Nullam sit amet dolor nec ipsum dictum suscipit. Mauris sed nisi mauris. Nulla iaculis nisl ut velit ornare imperdiet. Suspendisse potenti. In tempor leo sed sem malesuada pellentesque. Maecenas faucibus metus lacus, ac egestas diam vulputate vitae.</p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque fermentum nec ligula egestas rhoncus. Sed dignissim, augue vel scelerisque vulputate, nisi ante posuere lorem, quis iaculis eros dolor eu nisl. Etiam sagittis, ipsum ac tempor iaculis, justo neque mattis ante, ac maximus sapien risus eu sapien. Morbi erat urna, varius et lectus vel, porta dictum orci. Duis bibendum euismod elit, et lobortis purus venenatis in. Mauris eget lacus enim. Cras quis sem et magna fringilla convallis. Proin hendrerit nulla vel gravida mollis. Interdum et malesuada fames ac ante ipsum primis in faucibus. Vestibulum consectetur quis purus vel aliquam.</p></div></div></div><h2>Bootstrap panels</h2><div class="row"><div class="col-md-12 col-lg-4"><div class="panel panel-default bootstrap-panel xsmall-panel"><div class="panel-body"><p>A panel in bootstrap is a bordered box with some padding around its content.</p><p class="p-with-code">Panels are created with the <code>.panel</code> class, and content inside the panel has a <code>.panel-body</code> class. The <code>.panel-default .panel-primary .panel-danger</code> and other classes are used to style the color of the panel. See the next example on this page for more contextual classes.</p></div></div></div><div class="col-md-12 col-lg-4"><div class="panel panel-default bootstrap-panel xsmall-panel"><div class="panel-heading">Panel Heading</div><div class="panel-body"><p class="p-with-code">The <code>.panel-heading</code> class adds a heading to the panel.Easily add a heading container to your panel with .panel-heading. You may also include any <code>h1-h6</code> with a <code>.panel-title</code> class to add a pre-styled heading.</p></div></div></div><div class="col-md-12 col-lg-4"><div class="panel panel-default bootstrap-panel"><div class="panel-body footer-panel"><p class="p-with-code">Wrap buttons or secondary text in <code>.panel-footer</code>. Note that panel footers do not inherit colors and borders when using contextual variations as they are not meant to be in the foreground.</p></div><div class="panel-footer">Panel Footer</div></div></div></div><h2>Panels with Contextual Classes</h2><div class="row"><div class="col-md-6 col-lg-4"><div class="panel panel-default contextual-example-panel bootstrap-panel"><div class="panel-heading">Panel with panel-default class</div><div class="panel-body">To color the panel, use contextual classes. This is sample <code>.panel-default</code> panel</div></div></div><div class="col-md-6 col-lg-4"><div class="panel panel-primary contextual-example-panel bootstrap-panel"><div class="panel-heading">Panel with panel-primary class</div><div class="panel-body">Sample <code>.panel-primary</code> panel</div></div></div><div class="col-md-6 col-lg-4"><div class="panel panel-success contextual-example-panel bootstrap-panel"><div class="panel-heading">Panel with panel-success class</div><div class="panel-body">Sample <code>.panel-success</code> panel</div></div></div><div class="col-md-6 col-lg-4"><div class="panel panel-info contextual-example-panel bootstrap-panel"><div class="panel-heading">Panel with panel-info class</div><div class="panel-body">Sample <code>.panel-info</code> panel</div></div></div><div class="col-md-6 col-lg-4"><div class="panel panel-warning contextual-example-panel bootstrap-panel"><div class="panel-heading">Panel with panel-warning class</div><div class="panel-body">Sample <code>.panel-warning</code> panel</div></div></div><div class="col-md-6 col-lg-4"><div class="panel panel-danger contextual-example-panel bootstrap-panel"><div class="panel-heading">Panel with panel-danger class</div><div class="panel-body">Sample <code>.panel-danger</code> panel</div></div></div></div><div class="row"><div class="col-md-12"><h2>Panel Group</h2><div class="panel-group"><div class="panel panel-default bootstrap-panel"><div class="panel-heading">Panel group 1</div><div class="panel-body"><p>To group many panels together, wrap a <code>&lt;div&gt;</code> with class <code>\n            .panel-group</code> around them.</p></div></div><div class="panel panel-default bootstrap-panel"><div class="panel-heading">Panel group 2</div><div class="panel-body"><p>The <code>.panel-group</code> class clears the bottom-margin of each panel.</p></div></div></div></div></div>'),e.put("app/widgets/ui/progressBars/progressBars.html",'<div class="widgets"><div class="row"><div class="col-md-6"><div ba-panel="" ba-panel-title="Basic" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/progressBars/widgets/basic.html\'"></div></div><div ba-panel="" ba-panel-title="Striped" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/progressBars/widgets/striped.html\'"></div></div></div><div class="col-md-6"><div ba-panel="" ba-panel-title="With label" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/progressBars/widgets/label.html\'"></div></div><div ba-panel="" ba-panel-title="Animated" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/progressBars/widgets/animated.html\'"></div></div></div></div><div class="row"><div class="col-md-12" ba-panel="" ba-panel-title="Stacked" ba-panel-class="with-scroll"><div ng-include="\'app/pages/ui/progressBars/widgets/stacked.html\'"></div></div></div></div>'),e.put("app/widgets/ui/slider/slider.html",'<div class="row"><div class="col-md-12"><div ba-panel="" ba-panel-title="Ion Range Slider" ba-panel-class="with-scroll"><div class="slider-box"><h5>Basic</h5><ion-slider type="single" grid="false" min="0" max="100" from="45" disable="false"></ion-slider></div><div class="slider-box"><h5>With prefix</h5><ion-slider type="single" grid="true" min="100" max="1200" prefix="$" from="420" disable="false"></ion-slider></div><div class="slider-box"><h5>With postfix</h5><ion-slider type="single" grid="true" min="-90" max="90" postfix="°" from="36" disable="false"></ion-slider></div><div class="slider-box"><h5>Two way range</h5><ion-slider type="double" grid="true" min="100" max="1200" from="420" to="900" disable="false"></ion-slider></div><div class="slider-box"><h5>With Steps</h5><ion-slider type="single" grid="true" min="0" max="1000" from="300" step="50" disable="false"></ion-slider></div><div class="slider-box"><h5>Decorating numbers</h5><ion-slider type="single" grid="true" min="0" max="1000000" from="300000" step="1000" prettify-separator="." prettify="true" disable="false"></ion-slider></div><div class="slider-box"><h5>Using custom values array</h5><ion-slider type="single" grid="true" from="5" step="1000" values="[\'January\', \'February\', \'March\', \'April\', \'May\', \'June\', \'July\', \'August\', \'September\', \'October\', \'November\', \'December\']" disable="false"></ion-slider></div><div class="slider-box"><h5>Disabled</h5><ion-slider type="single" grid="false" min="0" max="100" from="45" disable="true"></ion-slider></div></div></div></div>'),e.put("app/widgets/ui/tabs/contextualAccordion.html",'<uib-accordion><uib-accordion-group heading="Primary" panel-class="panel-primary bootstrap-panel accordion-panel">Primary <i class="ion-heart"></i></uib-accordion-group><uib-accordion-group heading="Success" panel-class="panel-success bootstrap-panel accordion-panel">Success <i class="ion-checkmark-round"></i></uib-accordion-group><uib-accordion-group heading="Info" panel-class="panel-info bootstrap-panel accordion-panel">Info <i class="ion-information-circled"></i></uib-accordion-group><uib-accordion-group heading="Warning" panel-class="panel-warning bootstrap-panel accordion-panel">Warning <i class="ion-alert"></i></uib-accordion-group><uib-accordion-group heading="Danger" panel-class="panel-danger bootstrap-panel accordion-panel">Danger <i class="ion-nuclear"></i></uib-accordion-group></uib-accordion>'),e.put("app/widgets/ui/tabs/mainTabs.html",'<uib-tabset active="$tabSetStatus.activeTab"><uib-tab heading="Start"><p>Take up one idea. Make that one idea your life--think of it, dream of it, live on that idea. Let the brain, muscles, nerves, every part of your body, be full of that idea, and just leave every other idea alone. This is the way to success.</p><p>People who succeed have momentum. The more they succeed, the more they want to succeed, and the more they find a way to succeed. Similarly, when someone is failing, the tendency is to get on a downward spiral that can even become a self-fulfilling prophecy.</p><div class="text-center"><div class="kameleon-icon with-round-bg primary inline-icon"><img ng-src="{{::( \'Shop\' | kameleonImg )}}"></div><div class="kameleon-icon with-round-bg primary inline-icon"><img ng-src="{{::( \'Programming\' | kameleonImg )}}"></div><div class="kameleon-icon with-round-bg primary inline-icon"><img ng-src="{{::( \'Dna\' | kameleonImg )}}"></div></div><p>The reason most people never reach their goals is that they don\'t define them, or ever seriously consider them as believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who will be sharing the adventure with them.</p></uib-tab><uib-tab heading="Getting Done"><p>You can\'t connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something--your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life.</p><p>The reason most people never reach their goals is that they don\'t define them, or ever seriously consider them as believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who will be sharing the adventure with them.</p></uib-tab><uib-tab ng-init="$dropdownTabActive = 1" class="with-dropdown"><uib-tab-heading uib-dropdown=""><a uib-dropdown-toggle="" ng-click="$event.stopPropagation()">Dropdown tab <i class="caret"></i></a><ul class="dropdown-menu" uib-dropdown-menu=""><li><a ng-click="$dropdownTabActive = 1; $tabSetStatus.activeTab = 3">Tab 1</a></li><li><a ng-click="$dropdownTabActive = 2; $tabSetStatus.activeTab = 3">Tab 2</a></li></ul></uib-tab-heading><div ng-show="$dropdownTabActive == 1"><p>Success is ... knowing your purpose in life, growing to reach your maximum potential, and sowing seeds that benefit others.</p><p>Failure is the condiment that gives success its flavor.</p></div><div ng-show="$dropdownTabActive == 2"><p class="text-center"><button class="btn btn-danger">I\'m just a dummy button</button></p></div></uib-tab></uib-tabset>'),e.put("app/widgets/ui/tabs/sampleAccordion.html",'<uib-accordion><uib-accordion-group is-open="true" heading="Static Header, initially expanded" panel-class="bootstrap-panel accordion-panel panel-default">This content is straight in the template.</uib-accordion-group><uib-accordion-group heading="Dynamic Body Content" panel-class="bootstrap-panel accordion-panel panel-default"><p>The body of the uib-accordion group grows to fit the contents</p><button type="button" class="btn btn-primary btn-sm">Add Item</button></uib-accordion-group><uib-accordion-group heading="Custom template" panel-class="bootstrap-panel accordion-panel panel-default">Hello</uib-accordion-group><uib-accordion-group panel-class="bootstrap-panel accordion-panel panel-default"><uib-accordion-heading>I can have markup, too! <i class="fa pull-right ion-settings"></i></uib-accordion-heading>This is just some content to illustrate fancy headings.</uib-accordion-group></uib-accordion>'),e.put("app/widgets/ui/tabs/sideTabs.html",'<div ba-panel="" ba-panel-class="tabs-panel xsmall-panel with-scroll"><uib-tabset class="tabs-left"><uib-tab heading="Start"><p class="text-center">Take up one idea.</p><div class="kameleon-icon-tabs kameleon-icon with-round-bg danger"><img ng-src="{{::( \'Key\' | kameleonImg )}}"></div><p>People who succeed have momentum. The more they succeed, the more they want to succeed, and the more they find a way to succeed.</p></uib-tab><uib-tab heading="Get it done"><p>You can\'t connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something--your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life.</p><p>The reason most people never reach their goals is that they don\'t define them, or ever seriously consider them as believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who will be sharing the adventure with them.</p></uib-tab><uib-tab heading="Achieve"><p>Success is ... knowing your purpose in life, growing to reach your maximum potential, and sowing seeds that benefit others.</p><p>Failure is the condiment that gives success its flavor.</p></uib-tab></uib-tabset></div><div ba-panel="" ba-panel-class="tabs-panel xsmall-panel with-scroll"><uib-tabset class="tabs-right"><uib-tab heading="Start"><p class="text-center">Take up one idea.</p><div class="kameleon-icon-tabs kameleon-icon with-round-bg warning"><img ng-src="{{::( \'Phone-Booth\' | kameleonImg )}}"></div><p>People who succeed have momentum. The more they succeed, the more they want to succeed, and the more they find a way to succeed.</p></uib-tab><uib-tab heading="Get it done"><p>You can\'t connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something--your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life.</p><p>The reason most people never reach their goals is that they don\'t define them, or ever seriously consider them as believable or achievable. Winners can tell you where they are going, what they plan to do along the way, and who will be sharing the adventure with them.</p></uib-tab><uib-tab heading="Achieve"><p>Success is ... knowing your purpose in life, growing to reach your maximum potential, and sowing seeds that benefit others.</p><p>Failure is the condiment that gives success its flavor.</p></uib-tab></uib-tabset></div>'),e.put("app/widgets/ui/tabs/tabs.html",'<div><div class="row"><div class="col-md-6"><div ba-panel="" ba-panel-class="with-scroll horizontal-tabs tabs-panel medium-panel"><div ng-include="\'app/pages/ui/tabs/mainTabs.html\'"></div></div></div><div class="col-md-6 tabset-group" ng-include="\'app/pages/ui/tabs/sideTabs.html\'"></div></div><div class="row accordions-row"><div class="col-md-6" ng-include="\'app/pages/ui/tabs/sampleAccordion.html\'"></div><div class="col-md-6" ng-include="\'app/pages/ui/tabs/contextualAccordion.html\'"></div></div></div>'),e.put("app/widgets/ui/typography/typography.html",'<div class="typography-document-samples row-fluid"><div class="col-xlg-3 col-lg-6 col-md-6 col-sm-6 col-xs-12 typography-widget"><div ba-panel="" ba-panel-class="with-scroll heading-widget" ba-panel-title="Text Size"><div class="section-block"><h1>H1. Heading 1</h1><p>Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra, placerat vestibulum eleifend pellentesque.</p></div><div class="section-block"><h2>H2. Heading 2</h2><p>Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra, placerat vestibulum eleifend pellentesque.</p></div><div class="section-block"><h3>H3. Heading 3</h3><p>Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra, placerat vestibulum eleifend pellentesque.</p></div><div class="section-block"><h4>H4. Heading 4</h4><p>Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra,.</p></div><div class="section-block"><h5>H5. Heading 5</h5><p>Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra.</p></div></div></div><div class="col-xlg-3 col-lg-6 col-md-6 col-sm-6 col-xs-12 typography-widget"><div ba-panel="" ba-panel-class="with-scroll more-text-widget" ba-panel-title="Some more text"><div class="section-block light-text"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis.</p></div><div class="section-block regular-text"><p>Curabitur bibendum ornare dolor, quis ullamcorper ligula dfgz`zzsodales at. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id.</p></div><div class="section-block upper-text bold-text"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla.</p></div><div class="section-block bold-text"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullam-corper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla.</p></div><div class="section-block small-text"><p>Secondary text. Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar,</p><p>lacinia scelerisque pharetra, placerat vestibulum eleifend</p><p>pellentesque, mi nam.</p></div></div></div><div class="col-xlg-3 col-lg-6 col-md-6 col-sm-6 col-xs-12 typography-widget"><div ba-panel="" ba-panel-class="with-scroll lists-widget" ba-panel-title="Lists"><div class="section-block"><h5 class="list-header">Unordered list:</h5><ul class="blur"><li>Lorem ipsum dolor sit amet</li><li>Сlacinia scelerisque pharetra<ul><li>Dui rhoncus quisque integer lorem<ul><li>Libero iaculis vestibulum eu vitae</li></ul></li></ul></li><li>Nisl lectus nibh habitasse suspendisse ut</li><li><span>Posuere cursus hac, vestibulum wisi nulla bibendum</span></li></ul><h5 class="list-header">Ordered Lists:</h5><ol class="blur"><li><span>Eu non nec cursus quis mollis, amet quam nec</span></li><li><span>Et suspendisse, adipiscing fringilla ornare sit ligula sed</span><ol><li><span>Interdum et justo nulla</span><ol><li><span>Magna amet, suscipit suscipit non amet</span></li></ol></li></ol></li><li><span>Metus duis eu non eu ridiculus turpis</span></li><li><span>Neque egestas id fringilla consectetuer justo curabitur, wisi magna neque commodo volutpat</span></li></ol><div class="accent">Important text fragment. Lorem ipsum dolor sit amet, id mollis iaculis mi nisl pulvinar, lacinia scelerisque pharetra.</div></div></div></div><div class="col-xlg-3 col-lg-6 col-md-6 col-sm-6 col-xs-12 typography-widget"><div ba-panel="" ba-panel-class="with-scroll color-widget" ba-panel-title="Text Color"><div class="section-block red-text"><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis ullamcorper ligula sodales at. Nulla tellus elit, varius non commodo eget, mattis vel eros. In sed ornare nulla. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</p></div><div class="section-block yellow-text"><p>Curabitur bibendum ornare dolor, quis ullamcorper ligula dfgz`zzsodales at. Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula ut id elit. In sed ornare nulla.</p></div><div class="section-block links"><p>Lorem ipsum <a href="">dolor</a> sit amet, consectetur adipiscing elit. Curabitur bibendum ornare dolor, quis <a href="">ullamcorper</a> ligula sodales at. Nulla tellus elit, varius non commodo eget, <a href="">mattis</a> vel eros. In sed ornare nulla.</p></div><div class="section-block links"><p><a href="">Active link — #209e91</a></p><p class="hovered"><a href="">Hover link — #17857a</a></p></div></div></div></div><div class="row-fluid"><div class="col-lg-12 col-sm-12 col-xs-12"><div ba-panel="" ba-panel-class="banner-column-panel"><div class="banner"><div class="large-banner-wrapper"><img ng-src="{{::( \'app/typography/banner.png\' | appImage )}}" alt=""></div><div class="banner-text-wrapper"><div class="banner-text"><h1>Simple Banner Text</h1><p>Lorem ipsum dolor sit amet</p><p>Odio amet viverra rutrum</p></div></div></div><div class="section"><h2>Columns</h2><div class="row"><div class="col-sm-6"><div class="img-wrapper"><img ng-src="{{::( \'app/typography/typo03.png\' | appImage )}}" alt="" title=""></div><p>Vel elit, eros elementum, id lacinia, duis non ut ut tortor blandit. Mauris <a href="">dapibus</a> magna rutrum. Ornare neque suspendisse <a href="">phasellus wisi</a>, quam cras pede rutrum suspendisse, <a href="">felis amet eu</a>. Congue magna elit quisque quia, nullam justo sagittis, ante erat libero placerat, proin condimentum consectetuer lacus. Velit condimentum velit, sed penatibus arcu nulla.</p></div><div class="col-sm-6"><div class="img-wrapper"><img ng-src="{{::( \'app/typography/typo01.png\' | appImage )}}" alt="" title=""></div><p>Et suspendisse, adipiscing fringilla ornare sit ligula sed, vel nam. Interdum et justo nulla, fermentum lobortis purus ut eu, duis nibh dolor massa tristique elementum, nibh iste potenti risus fusce aliquet fusce, ullamcorper debitis primis arcu tellus vestibulum ac.</p></div></div><div class="separator"></div><div class="row"><div class="col-sm-4"><h4>Column heading example</h4><div class="img-wrapper"><img ng-src="{{::( \'app/typography/typo04.png\' | appImage )}}" alt=""></div><p>Eget augue, lacus erat ante egestas scelerisque aliquam, metus molestie leo in habitasse magna maecenas</p><a href="" class="learn-more">Lean more</a></div><div class="col-sm-4"><h4>Yet another column heading example</h4><div class="img-wrapper"><img ng-src="{{::( \'app/typography/typo05.png\' | appImage )}}" alt=""></div><p>Augue massa et parturient, suspendisse orci nec scelerisque sit, integer nam mauris pede consequat in velit</p><a href="" class="learn-more">Lean more</a></div><div class="col-sm-4"><h4>Third column heading example</h4><div class="img-wrapper"><img ng-src="{{::( \'app/typography/typo06.png\' | appImage )}}" alt=""></div><p>Eget turpis, tortor lobortis porttitor, vestibulum nullam vehicula aliquam</p><a href="" class="learn-more">Lean more</a></div></div><div class="separator"></div></div></div></div></div>'),
  e.put("app/dashboard/tradeBook/transaction/templates/basic.html",'<div class="row"><div class="col-md-12"><h3 class="with-line">Transaction Information <button type="button" ng-if="vm.transaction.basic.productItemId" ng-click="vm.changeProductSpecs()" class="btn pull-right btn-xs btn-success">Change Product Specs</button></h3><div class="row wizard-containers"><div class="row"><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Date</label><div class=""><date-picker-input date="vm.transaction.basic.date" name="date"></date-picker-input><ng-messages for="vm.transactionForm.date.$error" ng-show="(vm.transactionForm.$submitted && vm.transactionForm.date.$invalid) || (vm.transactionForm.date.$invalid && vm.transactionForm.date.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter transaction date.</ng-message></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label for="buyer" class="with-line control-label">Buyer</label><div class=""><selectize ng-required="true" placeholder="Buyer" name="buyer" id="buyer" ng-change="vm.transaction.basic.contractualBuyerId = (vm.transaction.basic.contractualBuyerId) ? (vm.transaction.basic.contractualBuyerId) : vm.transaction.basic.buyerId" config="vm.buyerConfig" options="vm.buyerOptions.list" ng-model="vm.transaction.basic.buyerId"></selectize><ng-messages for="vm.transactionForm.buyer.$error" ng-if="(vm.transactionForm.$submitted || vm.transactionForm.buyer.$dirty)"><div ng-message="required" class="errorValidation">Please select Buyer</div></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label for="seller" class="with-line control-label">Seller</label><div class=""><selectize placeholder="Seller" ng-required="true" name="seller" id="seller" config="vm.sellerConfig" options="vm.sellerOptions.list" ng-model="vm.transaction.basic.sellerId"></selectize><ng-messages for="vm.transactionForm.seller.$error" ng-if="(vm.transactionForm.$submitted && vm.transactionForm.seller.$invalid) || (vm.transactionForm.seller.$invalid && vm.transactionForm.seller.$dirty)"><div ng-message="required" class="errorValidation">Please select seller.</div></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label for="productItem" class="control-label with-line">Product Item</label><div class=""><selectize ng-required="true" name="productItem" id="productItem" config="vm.productItemConfig" options="vm.productItemOptions.list" ng-model="vm.transaction.basic.productItemId"></selectize><ng-messages for="vm.transactionForm.productItem.$error" ng-if="(vm.transactionForm.$submitted && vm.transactionForm.productItem.$invalid) || (vm.transactionForm.productItem.$invalid && vm.transactionForm.productItem.$dirty)"><div ng-message="required" class="errorValidation">Please enter product item.</div></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label for="productItem" class="with-line control-label">Contractual</label><div class=""><selectize ng-required="true" placeholder="Contractual Buyer" name="contractbuyer" id="contractbuyer" config="vm.buyerConfig" options="vm.buyerOptions.list" ng-model="vm.transaction.basic.contractualBuyerId"></selectize><ng-messages for="vm.transactionForm.contractbuyer.$error" ng-if="(vm.transactionForm.$submitted || vm.transactionForm.contractbuyer.$dirty)"><div ng-message="required" class="errorValidation">Please enter contractual buyer.</div></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Packaging</label><div class=""><selectize placeholder="Packaging" ng-required="true" name="packaging" id="packaging" config="vm.packagingConfig" options="vm.packagingOptions.list" ng-model="vm.transaction.basic.packagingId"></selectize><ng-messages for="vm.transactionForm.packaging.$error" ng-show="(vm.transactionForm.$submitted && vm.transactionForm.packaging.$invalid) || (vm.transactionForm.packaging.$invalid && vm.transactionForm.packaging.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter product packaging.</ng-message></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Quantity <span class="titled">FCL</span></label><div class=""><input required="" ng-pattern="/^[0-9.]+$/i" ng-model="vm.transaction.basic.quantityFcl" class="form-control" name="quantityFCL" placeholder="Quantity in FCL"><ng-messages for="vm.transactionForm.quantityFCL.$error" ng-show="(vm.transactionForm.$submitted || vm.transactionForm.quantityFCL.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter quantity in FCL.</ng-message><ng-message class="errorValidation" when="pattern">Quantity in FCL can only have numbers.</ng-message></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Quantity <span class="titled">MT</span></label><div class=""><input required="" ng-pattern="/^[0-9.]+$/i" ng-model="vm.transaction.basic.quantity" class="form-control" name="quantity" placeholder="Quantity in MT"><ng-messages for="vm.transactionForm.quantity.$error" ng-show="(vm.transactionForm.$submitted || vm.transactionForm.quantity.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter quantity value.</ng-message><ng-message class="errorValidation" when="pattern">Quantity can only have numbers.</ng-message></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line">Price <span class="titled">US$ / MT</span></label><div class=""><input required="" ng-pattern="/^[0-9.]+$/i" ng-model="vm.transaction.basic.price" class="form-control" name="price" placeholder="Price US$ / {{vm.transaction.basic.quantityMetricId ? vm.transaction.basic.quantityMetricId : \'MT\'}}"><ng-messages for="vm.transactionForm.price.$error" ng-show="(vm.transactionForm.$submitted && vm.transactionForm.price.$invalid) || (vm.transactionForm.price.$invalid && vm.transactionForm.price.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter price value.</ng-message><ng-message class="errorValidation" when="pattern">Price can only have numbers.</ng-message></ng-messages></div></div><div class="col-md-2"><label class="with-line control-label">Primary Transaction File ID</label><selectize allowemptyoption="true" placeholder="Primary Transaction" ng-required="true" config="vm.primaryFileConfig" options="vm.primaryFileOptions.list" ng-model="vm.transaction.basic.primaryTransaction"></selectize></div><div class="col-md-2"><label class="with-line control-label">Primary Shipment File Id</label><selectize allowemptyoption="true" placeholder="Primary Shipment" ng-required="true" config="vm.partialShipConfig" options="vm.partialShipOptions.list" ng-model="vm.transaction.basic.primaryShipment"></selectize></div><div class="form-group col-md-4"><label class="with-line control-label">File ID</label><div class=""><input required="" ng-model="vm.transaction.basic.fileId" class="form-control" name="fileId" placeholder="File Id"><ng-messages for="vm.transactionForm.fileId.$error" ng-show="(vm.transactionForm.$submitted || vm.transactionForm.fileId.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter a valid file Id.</ng-message></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Contract ID</label><div class=""><input ng-model="vm.transaction.basic.contractId" class="form-control" name="contractId" placeholder="Contract Id"></div></div><div class="form-group col-md-4 col-md-offset-4 clearfix"><label class="with-line control-label">Shipment Start</label><div class=""><date-picker-input date="vm.transaction.basic.shipmentStart" name="shipmentStart"></date-picker-input><ng-messages for="vm.transactionForm.shipmentStart.$error" ng-show="(vm.transactionForm.$submitted || vm.transactionForm.shipmentStart.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter shipment start date.</ng-message></ng-messages></div></div><div class="form-group col-md-4 clearfix"><label class="with-line control-label">Shipment End</label><div class=""><date-picker-input date="vm.transaction.basic.shipmentEnd" name="shipmentEnd"></date-picker-input><ng-messages for="vm.transactionForm.shipmentEnd.$error" ng-show="(vm.transactionForm.$submitted || vm.transactionForm.shipmentEnd.$dirty)" role="alert"><ng-message class="errorValidation" when="required">Please enter shipment start date.</ng-message></ng-messages></div></div><div class="form-group col-md-12 clearfix"><label class="with-line control-label">Other Information</label><div class=""><textarea ng-model="vm.transaction.basic.otherInfo" class="form-control">\n\n                            </textarea></div></div></div></div><div class="row wizard-containers"><div class="col-xs-12"></div></div></div></div>'),e.put("app/dashboard/tradeBook/transaction/templates/commission.html",'<div class="row"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Commission Details</h3><div class="row wizard-containers"><div class="col-md-4"><div class="form-group row clearfix"><label class="col-sm-3 control-label">Commission Type</label><div class="col-sm-9"><selectize placeholder="Commission Type" ng-required="true" name="commissionType" id="commissionType" config="vm.commissionTypeConfig" options="vm.commissionTypeOptions.list" ng-model="vm.transaction.commission.typeId"></selectize><ng-messages for="vm.transactionForm.commissionType.$error" ng-if="(vm.transactionForm.$submitted || vm.transactionForm.commissionType.$dirty)"><div ng-message="required" class="errorValidation">Please select commission type.</div></ng-messages></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Commission</label><div class="col-sm-9"><input required="" ng-model="vm.transaction.commission.commission" class="form-control" name="commission" ng-pattern="/^[0-9.]+$/i" placeholder="Commission"><ng-messages for="vm.transactionForm.commission.$error" ng-if="(vm.transactionForm.$submitted || vm.transactionForm.commission.$dirty)"><div ng-message="required" class="errorValidation">Please enter commission.</div><div ng-message="pattern" class="errorValidation">Commission can only have number.</div></ng-messages></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Differance</label><div class="col-sm-9"><input required="" ng-model="vm.transaction.commission.difference" class="form-control" name="difference" ng-pattern="/^[0-9.]+$/i" placeholder="Difference"><ng-messages for="vm.transactionForm.difference.$error" ng-if="(vm.transactionForm.$submitted || vm.transactionForm.difference.$dirty)"><div ng-message="required" class="errorValidation">Please enter commission difference.</div><div ng-message="pattern" class="errorValidation">Commission difference can only have number.</div></ng-messages></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Discount</label><div class="col-sm-9"><input required="" ng-model="vm.transaction.commission.discount" class="form-control" name="discount" ng-pattern="/^[0-9.]+$/i" placeholder="Discount"><ng-messages for="vm.transactionForm.discount.$error" ng-if="(vm.transactionForm.$submitted || vm.transactionForm.discount.$dirty)"><div ng-message="required" class="errorValidation">Please enter commission discount.</div><div ng-message="pattern" class="errorValidation">Commission discount can only have numbers.</div></ng-messages></div></div></div><div class="col-md-4"><div class="form-group row clearfix"><label for="buyerBroker" class="col-sm-3 control-label">Buyer Broker</label><div class="col-sm-9"><selectize placeholder="Buyer Broker" name="buyerBroker" id="buyerBroker" config="vm.brokerConfig" options="vm.brokerOptions.list" ng-model="vm.transaction.commission.buyerBrokerId"></selectize></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Buyer Broker Commission Type</label><div class="col-sm-9"><selectize ng-disabled="!vm.transaction.commission.buyerBrokerId" placeholder="Commission Type" name="buyerBrokerCommissionType" id="buyerBrokerCommissionType" config="vm.commissionTypeConfig" options="vm.commissionTypeOptions.list" ng-model="vm.transaction.commission.buyerBrokerCommissionTypeId"></selectize></div></div><div class="form-group row clearfix"><label class="col-sm-3 control-label">Buyer Broker Commission</label><div class="col-sm-9"><input ng-model="vm.transaction.commission.buyerBrokerCommission" class="form-control" ng-pattern="/^[0-9.]+$/i" ng-disabled="!vm.transaction.commission.buyerBrokerId" name="buyerBrokerCommission" placeholder="Buyer Broker Commission"><ng-messages for="vm.transactionForm.buyerBrokerCommission.$error" ng-if="(vm.transactionForm.$submitted || vm.transactionForm.buyerBrokerCommission.$dirty)"><div ng-message="pattern" class="errorValidation">Please enter valid commission value.</div></ng-messages></div></div></div><div class="col-md-4"><div class="form-group row clearfix"><label for="sellerBroker" class="col-sm-3 control-label">Seller Broker</label><div class="col-sm-9"><selectize placeholder="Seller Broker" name="sellerBroker" id="sellerBroker" config="vm.brokerConfig" options="vm.brokerOptions.list" ng-model="vm.transaction.commission.sellerBrokerId"></selectize></div></div></div></div></div></div></div>'),e.put("app/dashboard/tradeBook/transaction/templates/documents.html",'<form name="vm.transactionDocumentForm" novalidate=""><div class="row"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Documents</h3></div></div></div></form>'),e.put("app/dashboard/tradeBook/transaction/templates/notes.html",'<form name="vm.transactionDocumentForm" novalidate=""><div class="row"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Notes</h3></div></div></div></form>'),e.put("app/dashboard/tradeBook/transaction/templates/productSpecs.html",'<div class="modal-content"><div class="modal-header"><h3 class="with-line">Product Specification</h3></div><div class="modal-body"><div class="row productSpecs"><div class="col-md-12"><div class="row wizard-containers"><div ng-repeat="spec in productSpecs" class="slider-box col-sm-12 col-md-4"><h5 ng-bind="spec.name"></h5><input style="margin-top: 25px;" class="form-control" ng-model="spec.value" ng-if="spec.type==\'text\'"><ion-slider ng-if="spec.type==\'percentage\'" type="single" grid="true" from="spec.value" ng-model="spec.value" min="0" max="100" prefix="%" disable="false"></ion-slider></div></div></div></div></div><div class="modal-footer"><button type="submit" class="btn btn-default" ng-click="$dismiss()">Cancel</button> <button type="button" class="btn btn-primary" ng-click="saveSpecs(productSpecs)">Done</button></div></div>'),e.put("app/dashboard/tradeBook/transaction/templates/shipment.html",'<form name="vm.transactionShipmentForm" novalidate=""><div class="row"><div class="col-md-12"><div class="row wizard-containers"><h3 class="with-line">Shipment</h3></div></div></div></form>'),e.put("app/widgets/charts/amCharts/areaChart/areaChart.html",'<div id="areaChart" class="admin-chart" ng-controller="AreaChartCtrl"></div>'),e.put("app/widgets/charts/amCharts/barChart/barChart.html",'<div id="barChart" class="admin-chart" ng-controller="BarChartCtrl"></div>'),e.put("app/widgets/charts/amCharts/combinedChart/combinedChart.html",'<div id="zoomAxisChart" class="admin-chart" ng-controller="combinedChartCtrl"></div>'),e.put("app/widgets/charts/amCharts/funnelChart/funnelChart.html",'<div id="funnelChart" class="admin-chart" ng-controller="FunnelChartCtrl"></div>'),e.put("app/widgets/charts/amCharts/ganttChart/ganttChart.html",'<div id="gnattChart" class="admin-chart" ng-controller="ganttChartCtrl"></div>'),e.put("app/widgets/charts/amCharts/lineChart/lineChart.html",'<div id="lineChart" class="admin-chart" ng-controller="LineChartCtrl"></div>'),e.put("app/widgets/charts/amCharts/pieChart/pieChart.html",'<div id="pieChart" class="admin-chart" ng-controller="PieChartCtrl"></div>'),e.put("app/widgets/components/mail/composeBox/compose.html",'<div class="compose-header"><span>New message</span> <span class="header-controls"><i class="ion-minus-round"></i> <i class="ion-arrow-resize"></i> <i ng-click="$dismiss()" class="ion-close-round"></i></span></div><div><input type="text" class="form-control compose-input default-color" placeholder="To" ng-model="boxCtrl.to"> <input type="text" class="form-control compose-input default-color" placeholder="Subject" ng-model="boxCtrl.subject"><div class="compose-container"><text-angular-toolbar ta-toolbar-class="toolbarMain" name="toolbarMain" ta-toolbar="[[\'h1\',\'h2\',\'h3\',\'bold\',\'italics\', \'underline\', \'justifyLeft\', \'justifyCenter\', \'justifyRight\', \'justifyFull\']]"></text-angular-toolbar><text-angular name="htmlcontent" ta-target-toolbars="toolbarMain,toolbarFooter" ng-model="boxCtrl.text"></text-angular></div></div><div class="compose-footer clearfix"><button type="button" ng-click="$dismiss()" class="btn btn-send">Send</button><text-angular-toolbar ta-toolbar-class="toolbarFooter" name="toolbarFooter" ta-toolbar="[[\'insertLink\', \'insertImage\', \'html\', \'quote\',\'insertVideo\']]"></text-angular-toolbar><div class="footer-controls"><i class="footer-control-first compose-footer-icon ion-arrow-down-b"></i> <i ng-click="$dismiss()" class="compose-footer-icon ion-android-delete"></i></div></div>'),e.put("app/widgets/components/mail/detail/mailDetail.html",'<div class="message-container" ng-class="{\'expanded\': tabCtrl.navigationCollapsed}"><div class="message"><div class="row"><div class="toggle-navigation-container detail-page"><a href="" class="collapse-navigation-link ion-navicon" ng-click="tabCtrl.navigationCollapsed=!tabCtrl.navigationCollapsed"></a></div><button ui-sref="components.mail.label({label : detailCtrl.label})" type="button" class="back-button btn btn-default btn-with-icon"><i class="ion-chevron-left"></i>Back</button></div><div class="person-info row"><div class="col-lg-4 col-md-12 no-padding"><img ng-src="{{detailCtrl.mail.name.split(\' \')[0] | profilePicture}}" class="human-picture"><div class="name"><h2 class="name-h">{{detailCtrl.mail.name.split(\' \')[0]}}</h2><h2 class="name-h second-name">{{detailCtrl.mail.name.split(\' \')[1]}}</h2><div><span class="mail-tag tag label {{detailCtrl.mail.tag}}">{{detailCtrl.mail.tag}}</span></div></div></div><div class="col-lg-4 col-md-6 col-xs-12 no-padding"><div class="contact-info phone-email"><div><i class="ion-iphone"></i> <span class="phone">777-777-7777</span></div><div><i class="ion-email"></i> <span class="email">{{detailCtrl.mail.email}}</span></div></div></div><div class="col-lg-4 col-md-6 col-xs-12 no-padding"><div class="contact-info position-address"><div><span class="position">{{detailCtrl.mail.position}}</span></div><div><span class="address">12 Nezavisimosti st. Vilnius, Lithuania</span></div></div></div></div><div class="row"></div><div class="line"></div><div class="message-details"><span class="subject">{{detailCtrl.mail.subject}}</span> <span class="date">• {{detailCtrl.mail.date | date : \'h:mm a MMMM d \'}}</span></div><div class="line"></div><div ng-bind-html="detailCtrl.mail.body" class="message-body"></div><div class="line"></div><div class="attachment" ng-show="detailCtrl.mail.attachment"><span class="file-links">1 Attachment - <a href="">View</a> | <a href="">Download</a></span><div><i class="file-icon ion-document"></i> <span class="file-name">{{detailCtrl.mail.attachment}}</span></div></div><div class="line" ng-show="detailCtrl.mail.attachment"></div><div class="answer-container"><button type="button" class="btn btn-with-icon" ng-click="tabCtrl.showCompose(detailCtrl.mail.subject,detailCtrl.mail.email,\'\')"><i class="ion-reply"></i>Reply</button> <button type="button" class="btn btn-with-icon" ng-click="tabCtrl.showCompose(detailCtrl.mail.subject,\'\',detailCtrl.mail.body)"><i class="ion-forward"></i>Forward</button> <button type="button" class="btn btn-with-icon"><i class="ion-printer"></i>Print</button> <button type="button" class="btn btn-with-icon"><i class="ion-android-remove-circle"></i>Spam</button> <button type="button" class="btn btn-with-icon"><i class="ion-android-delete"></i>Delete</button></div></div><div ng-show="!detailCtrl.mail"><h5 ng-class="text-center">Nothing to show</h5></div></div>'),e.put("app/widgets/components/mail/list/mailList.html",'<div class="side-message-navigation" ng-class="{\'expanded\': tabCtrl.navigationCollapsed}"><div class="mail-messages-control side-message-navigation-item"><div class="toggle-navigation-container"><a href="" class="collapse-navigation-link ion-navicon" ng-click="tabCtrl.navigationCollapsed=!tabCtrl.navigationCollapsed"></a></div><label class="checkbox-inline custom-checkbox nowrap"><input type="checkbox" id="inlineCheckbox01" value="option1"> <span class="select-all-label">Select All</span></label> <button type="button" class="btn btn-icon refresh-button"><i class="ion-refresh"></i></button><div class="btn-group" uib-dropdown=""><button type="button" class="btn more-button" uib-dropdown-toggle="">More <span class="caret"></span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="messages"><table><tr ng-repeat="m in listCtrl.messages track by m.id | orderBy:\'-date\'" class="side-message-navigation-item little-human shineHover {{m.tag}}"><td class="check-td"><div class="mail-checkbox"><label class="checkbox-inline custom-checkbox nowrap"><input type="checkbox"> <span></span></label></div></td><td class="photo-td" ui-sref="components.mail.detail({id: m.id, label: listCtrl.label})"><img ng-src="{{m.name.split(\' \')[0] | profilePicture}}" class="little-human-picture"></td><td ui-sref="components.mail.detail({id: m.id, label: listCtrl.label})"><div class="name-container"><div><span class="name">{{m.name}}</span></div><div><span class="tag label label-primary {{m.tag}}">{{m.tag}}</span></div></div></td><td ui-sref="components.mail.detail({id: m.id, label: listCtrl.label})"><div class="additional-info"><span class="subject">{{m.subject}}</span></div></td><td ui-sref="components.mail.detail({id: m.id, label: listCtrl.label})"><div class="mail-body-part">{{m.body | plainText}}</div></td><td class="date"><span>{{m.date | date : \'MMM d HH:mm\'}}</span></td></tr></table></div></div>'),e.put("app/widgets/form/inputs/widgets/checkboxesRadios.html",'<div class="checkbox-demo-row"><div class="input-demo checkbox-demo row"><div class="col-md-4"><label class="checkbox-inline custom-checkbox nowrap"><input type="checkbox" id="inlineCheckbox01" value="option1"> <span>Check 1</span></label></div><div class="col-md-4"><label class="checkbox-inline custom-checkbox nowrap"><input type="checkbox" id="inlineCheckbox02" value="option2"> <span>Check 2</span></label></div><div class="col-md-4"><label class="checkbox-inline custom-checkbox nowrap"><input type="checkbox" id="inlineCheckbox03" value="option3"> <span>Check 3</span></label></div></div><div class="input-demo radio-demo row"><div class="col-md-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="option1"> <span>Option 1</span></label></div><div class="col-md-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="option2"> <span>Option 2</span></label></div><div class="col-md-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="option3"> <span>Option3</span></label></div></div></div><div><div class="checkbox disabled"><label class="custom-checkbox nowrap"><input type="checkbox" value="" disabled=""> <span>Checkbox is disabled</span></label></div><div class="radio disabled"><label class="custom-radio nowrap"><input type="radio" name="optionsRadios" id="optionsRadios3" value="option3" disabled=""> <span>Disabled option</span></label></div></div>'),e.put("app/widgets/form/inputs/widgets/inputGroups.html",'<div class="input-group"><span class="input-group-addon input-group-addon-primary addon-left" id="basic-addon1">@</span> <input type="text" class="form-control with-primary-addon" placeholder="Username" aria-describedby="basic-addon1"></div><div class="input-group"><input type="text" class="form-control with-warning-addon" placeholder="Recipient\'s username" aria-describedby="basic-addon2"> <span class="input-group-addon input-group-addon-warning addon-right" id="basic-addon2">@example.com</span></div><div class="input-group"><span class="input-group-addon addon-left input-group-addon-success">$</span> <input type="text" class="form-control with-success-addon" aria-label="Amount (to the nearest dollar)"> <span class="input-group-addon addon-right input-group-addon-success">.00</span></div><div class="input-group"><input type="text" class="form-control with-danger-addon" placeholder="Search for..."> <span class="input-group-btn"><button class="btn btn-danger" type="button">Go!</button></span></div>'),e.put("app/widgets/form/inputs/widgets/standardFields.html",'<form><div class="form-group"><label for="input01">Text</label> <input type="text" class="form-control" id="input01" placeholder="Text"></div><div class="form-group"><label for="input02">Password</label> <input type="password" class="form-control" id="input02" placeholder="Password"></div><div class="form-group"><label for="input03">Rounded Corners</label> <input type="text" class="form-control form-control-rounded" id="input03" placeholder="Rounded Corners"></div><div class="form-group"><label for="input04">With help</label> <input type="text" class="form-control" id="input04" placeholder="With help"> <span class="help-block sub-little-text">A block of help text that breaks onto a new line and may extend beyond one line.</span></div><div class="form-group"><label for="input05">Disabled Input</label> <input type="text" class="form-control" id="input05" placeholder="Disabled Input" disabled=""></div><div class="form-group"><label for="textarea01">Textarea</label> <textarea placeholder="Default Input" class="form-control" id="textarea01"></textarea></div><div class="form-group"><input type="text" class="form-control input-sm" id="input2" placeholder="Small Input"></div><div class="form-group"><input type="text" class="form-control input-lg" id="input4" placeholder="Large Input"></div></form>'),e.put("app/widgets/form/inputs/widgets/validationStates.html",'<div class="form-group has-success"><label class="control-label" for="inputSuccess1">Input with success</label> <input type="text" class="form-control" id="inputSuccess1"></div><div class="form-group has-warning"><label class="control-label" for="inputWarning1">Input with warning</label> <input type="text" class="form-control" id="inputWarning1"></div><div class="form-group has-error"><label class="control-label" for="inputError1">Input with error</label> <input type="text" class="form-control" id="inputError1"></div><div class="has-success"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxSuccess" value="option1"> <span>Checkbox with success</span></label></div></div><div class="has-warning"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxWarning" value="option1"> <span>Checkbox with warning</span></label></div></div><div class="has-error"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox" id="checkboxError" value="option1"> <span>Checkbox with error</span></label></div></div><div class="form-group has-success has-feedback"><label class="control-label" for="inputSuccess2">Input with success</label> <input type="text" class="form-control" id="inputSuccess2" aria-describedby="inputSuccess2Status"> <i class="ion-checkmark-circled form-control-feedback" aria-hidden="true"></i> <span id="inputSuccess2Status" class="sr-only">(success)</span></div><div class="form-group has-warning has-feedback"><label class="control-label" for="inputWarning2">Input with warning</label> <input type="text" class="form-control" id="inputWarning2" aria-describedby="inputWarning2Status"> <i class="ion-alert-circled form-control-feedback" aria-hidden="true"></i> <span id="inputWarning2Status" class="sr-only">(warning)</span></div><div class="form-group has-error has-feedback"><label class="control-label" for="inputError2">Input with error</label> <input type="text" class="form-control" id="inputError2" aria-describedby="inputError2Status"> <i class="ion-android-cancel form-control-feedback" aria-hidden="true"></i> <span id="inputError2Status" class="sr-only">(error)</span></div><div class="form-group has-success has-feedback"><label class="control-label" for="inputGroupSuccess1">Input group with success</label><div class="input-group"><span class="input-group-addon addon-left">@</span> <input type="text" class="form-control" id="inputGroupSuccess1" aria-describedby="inputGroupSuccess1Status"></div><i class="ion-checkmark-circled form-control-feedback" aria-hidden="true"></i> <span id="inputGroupSuccess1Status" class="sr-only">(success)</span></div>'),e.put("app/widgets/form/layouts/widgets/basicForm.html",'<form><div class="form-group"><label for="exampleInputEmail1">Email address</label> <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email"></div><div class="form-group"><label for="exampleInputPassword1">Password</label> <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password"></div><div class="checkbox"><label class="custom-checkbox"><input type="checkbox"> <span>Check me out</span></label></div><button type="submit" class="btn btn-danger">Submit</button></form>'),e.put("app/widgets/form/layouts/widgets/blockForm.html",'<div class="row"><div class="col-sm-6"><div class="form-group"><label for="inputFirstName">First Name</label> <input type="text" class="form-control" id="inputFirstName" placeholder="First Name"></div></div><div class="col-sm-6"><div class="form-group"><label for="inputLastName">Last Name</label> <input type="text" class="form-control" id="inputLastName" placeholder="Last Name"></div></div></div><div class="row"><div class="col-sm-6"><div class="form-group"><label for="inputFirstName">Email</label> <input type="email" class="form-control" id="inputEmail" placeholder="Email"></div></div><div class="col-sm-6"><div class="form-group"><label for="inputWebsite">Website</label> <input type="text" class="form-control" id="inputWebsite" placeholder="Website"></div></div></div><button type="submit" class="btn btn-primary">Submit</button>'),e.put("app/widgets/form/layouts/widgets/formWithoutLabels.html",'<form><div class="form-group"><input type="text" class="form-control" placeholder="Recipients"></div><div class="form-group"><input type="text" class="form-control" placeholder="Subject"></div><div class="form-group"><textarea class="form-control" placeholder="Message"></textarea></div><button type="submit" class="btn btn-success">Send</button></form>'),e.put("app/widgets/form/layouts/widgets/horizontalForm.html",'<form class="form-horizontal"><div class="form-group"><label for="inputEmail3" class="col-sm-2 control-label">Email</label><div class="col-sm-10"><input type="email" class="form-control" id="inputEmail3" placeholder="Email"></div></div><div class="form-group"><label for="inputPassword3" class="col-sm-2 control-label">Password</label><div class="col-sm-10"><input type="password" class="form-control" id="inputPassword3" placeholder="Password"></div></div><div class="form-group"><div class="col-sm-offset-2 col-sm-10"><div class="checkbox"><label class="custom-checkbox"><input type="checkbox"> <span>Remember me</span></label></div></div></div><div class="form-group"><div class="col-sm-offset-2 col-sm-10"><button type="submit" class="btn btn-warning">Sign in</button></div></div></form>'),
  e.put("app/widgets/form/layouts/widgets/inlineForm.html",'<form class="row form-inline"><div class="form-group col-sm-3 col-xs-6"><input type="text" class="form-control" id="exampleInputName2" placeholder="Name"></div><div class="form-group col-sm-3 col-xs-6"><input type="email" class="form-control" id="exampleInputEmail2" placeholder="Email"></div><div class="checkbox"><label class="custom-checkbox"><input type="checkbox"> <span>Remember me</span></label></div><button type="submit" class="btn btn-primary">Send invitation</button></form>'),e.put("app/widgets/ui/buttons/widgets/buttonGroups.html",'<div class="btn-group-example"><div class="btn-group" role="group" aria-label="Basic example"><button type="button" class="btn btn-danger">Left</button> <button type="button" class="btn btn-danger">Middle</button> <button type="button" class="btn btn-danger">Right</button></div></div><div class="btn-toolbar-example"><div class="btn-toolbar" role="toolbar" aria-label="Toolbar with button groups"><div class="btn-group" role="group" aria-label="First group"><button type="button" class="btn btn-primary">1</button> <button type="button" class="btn btn-primary">2</button> <button type="button" class="btn btn-primary">3</button> <button type="button" class="btn btn-primary">4</button></div><div class="btn-group" role="group" aria-label="Second group"><button type="button" class="btn btn-primary">5</button> <button type="button" class="btn btn-primary">6</button> <button type="button" class="btn btn-primary">7</button></div><div class="btn-group" role="group" aria-label="Third group"><button type="button" class="btn btn-primary">8</button></div></div></div>'),e.put("app/widgets/ui/buttons/widgets/buttons.html",'<div class="basic-btns"><div class="row"><div class="col-md-2"><h5>Default button</h5></div><div class="col-md-10"><div class="row btns-row btns-same-width-md"><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-primary">Primary</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-default">Default</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-success">Success</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-info">Info</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-warning">Warning</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-danger">Danger</button></div></div></div></div><div class="row"><div class="col-md-2"><h5 class="row-sm">Small button</h5></div><div class="col-md-10"><div class="row btns-row btns-same-width-md"><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-primary btn-sm">Primary</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-default btn-sm">Default</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-success btn-sm">Success</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-info btn-sm">Info</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-warning btn-sm">Warning</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-danger btn-sm">Danger</button></div></div></div></div><div class="row"><div class="col-md-2"><h5 class="row-xs">Extra small button</h5></div><div class="col-md-10"><div class="row btns-row btns-same-width-md"><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-primary btn-xs">Primary</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-default btn-xs">Default</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-success btn-xs">Success</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-info btn-xs">Info</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-warning btn-xs">Warning</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-danger btn-xs">Danger</button></div></div></div></div><div class="row"><div class="col-md-2"><h5>Disabled button</h5></div><div class="col-md-10"><div class="row btns-row btns-same-width-md"><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-primary" disabled="disabled">Primary</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-default" disabled="disabled">Default</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-success" disabled="disabled">Success</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-info" disabled="disabled">Info</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-warning" disabled="disabled">Warning</button></div><div class="col-sm-2 col-xs-4"><button type="button" class="btn btn-danger" disabled="disabled">Danger</button></div></div></div></div></div>'),e.put("app/widgets/ui/buttons/widgets/dropdowns.html",'<div class="row btns-row"><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-primary" uib-dropdown-toggle="">Primary <span class="caret"></span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-success" uib-dropdown-toggle="">Success <span class="caret"></span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-info" uib-dropdown-toggle="">Info <span class="caret"></span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-default" uib-dropdown-toggle="">Default <span class="caret"></span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-warning" uib-dropdown-toggle="">Warning <span class="caret"></span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-danger" uib-dropdown-toggle="">Danger <span class="caret"></span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div></div><h5 class="panel-subtitle">Split button dropdowns</h5><div class="row btns-row"><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-primary">Primary</button> <button type="button" class="btn btn-primary" uib-dropdown-toggle=""><span class="caret"></span> <span class="sr-only">Toggle Dropdown</span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-success">Success</button> <button type="button" class="btn btn-success" uib-dropdown-toggle=""><span class="caret"></span> <span class="sr-only">Toggle Dropdown</span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-info">Info</button> <button type="button" class="btn btn-info" uib-dropdown-toggle=""><span class="caret"></span> <span class="sr-only">Toggle Dropdown</span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-default">Default</button> <button type="button" class="btn btn-default" uib-dropdown-toggle=""><span class="caret"></span> <span class="sr-only">Toggle Dropdown</span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-warning">Warning</button> <button type="button" class="btn btn-warning" uib-dropdown-toggle=""><span class="caret"></span> <span class="sr-only">Toggle Dropdown</span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div><div class="col-sm-4 col-xs-6"><div class="btn-group" uib-dropdown="" dropdown-append-to-body=""><button type="button" class="btn btn-danger">Danger</button> <button type="button" class="btn btn-danger" uib-dropdown-toggle=""><span class="caret"></span> <span class="sr-only">Toggle Dropdown</span></button><ul uib-dropdown-menu=""><li><a href="">Action</a></li><li><a href="">Another action</a></li><li><a href="">Something else here</a></li><li role="separator" class="divider"></li><li><a href="">Separated link</a></li></ul></div></div></div>'),e.put("app/widgets/ui/buttons/widgets/iconButtons.html",'<ul class="btn-list clearfix"><li><button type="button" class="btn btn-primary btn-icon"><i class="ion-android-download"></i></button></li><li><button type="button" class="btn btn-default btn-icon"><i class="ion-stats-bars"></i></button></li><li><button type="button" class="btn btn-success btn-icon"><i class="ion-android-checkmark-circle"></i></button></li><li><button type="button" class="btn btn-info btn-icon"><i class="ion-information"></i></button></li><li><button type="button" class="btn btn-warning btn-icon"><i class="ion-android-warning"></i></button></li><li><button type="button" class="btn btn-danger btn-icon"><i class="ion-nuclear"></i></button></li></ul><h5 class="panel-subtitle">Buttons with icons</h5><ul class="btn-list clearfix"><li><button type="button" class="btn btn-primary btn-with-icon"><i class="ion-android-download"></i>Primary</button></li><li><button type="button" class="btn btn-default btn-with-icon"><i class="ion-stats-bars"></i>Default</button></li><li><button type="button" class="btn btn-success btn-with-icon"><i class="ion-android-checkmark-circle"></i>Success</button></li><li><button type="button" class="btn btn-info btn-with-icon"><i class="ion-information"></i>Info</button></li><li><button type="button" class="btn btn-warning btn-with-icon"><i class="ion-android-warning"></i>Warning</button></li><li><button type="button" class="btn btn-danger btn-with-icon"><i class="ion-nuclear"></i>Danger</button></li></ul>'),e.put("app/widgets/ui/buttons/widgets/largeButtons.html",'<div class="row btns-row btns-same-width-lg"><div class="col-sm-4 col-xs-6"><button type="button" class="btn btn-primary btn-lg">Primary</button></div><div class="col-sm-4 col-xs-6"><button type="button" class="btn btn-success btn-lg">Success</button></div><div class="col-sm-4 col-xs-6"><button type="button" class="btn btn-info btn-lg">Info</button></div><div class="col-sm-4 col-xs-6"><button type="button" class="btn btn-default btn-lg">Default</button></div><div class="col-sm-4 col-xs-6"><button type="button" class="btn btn-warning btn-lg">Warning</button></div><div class="col-sm-4 col-xs-6"><button type="button" class="btn btn-danger btn-lg">Danger</button></div></div>'),e.put("app/widgets/ui/buttons/widgets/progressButtons.html",'<div class="progress-buttons-container text-center default-text"><div class="row"><section class="col-md-6 col-lg-3"><span class="button-title">fill horizontal</span> <button progress-button="progressFunction()" class="btn btn-success">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">fill vertical</span> <button progress-button="progressFunction()" pb-direction="vertical" class="btn btn-danger">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">shrink horizontal</span> <button progress-button="progressFunction()" pb-style="shrink" class="btn btn-warning">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">shrink vertical</span> <button progress-button="progressFunction()" pb-style="shrink" pb-direction="vertical" class="btn btn-info">Submit</button></section></div><div class="row"><section class="col-md-6 col-lg-3"><span class="button-title">rotate-angle-bottom<br>perspective</span> <button progress-button="progressFunction()" pb-style="rotate-angle-bottom" class="btn btn-success">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">rotate-angle-top<br>perspective</span> <button progress-button="progressFunction()" pb-style="rotate-angle-top" class="btn btn-danger">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">rotate-angle-left<br>perspective</span> <button progress-button="progressFunction()" pb-style="rotate-angle-left" class="btn btn-warning">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">rotate-angle-right<br>perspective</span> <button progress-button="progressFunction()" pb-style="rotate-angle-right" class="btn btn-info">Submit</button></section></div><div class="row"><section class="col-md-6 col-lg-3"><span class="button-title">rotate-side-down<br>perspective</span> <button progress-button="progressFunction()" pb-style="rotate-side-down" class="btn btn-success">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">rotate-side-up<br>perspective</span> <button progress-button="progressFunction()" pb-style="rotate-side-up" class="btn btn-danger">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">rotate-side-left<br>perspective</span> <button progress-button="progressFunction()" pb-style="rotate-side-left" class="btn btn-warning">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">rotate-side-right<br>perspective</span> <button progress-button="progressFunction()" pb-style="rotate-side-right" class="btn btn-info">Submit</button></section></div><div class="row"><section class="col-md-6 col-lg-3"><span class="button-title">rotate-back<br>perspective</span> <button progress-button="progressFunction()" pb-style="rotate-back" class="btn btn-success">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">flip-open<br>perspective</span> <button progress-button="progressFunction()" pb-style="flip-open" class="btn btn-danger">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">slide-down<br>horizontal</span> <button progress-button="progressFunction()" pb-style="slide-down" class="btn btn-warning">Submit</button></section><section class="col-md-6 col-lg-3"><span class="button-title">move-up<br>horizontal</span> <button progress-button="progressFunction()" pb-style="move-up" class="btn btn-info">Submit</button></section></div><div class="row"><section class="col-md-6"><span class="button-title">top-line<br>horizontal</span> <button progress-button="progressFunction()" pb-style="top-line" class="btn btn-success">Submit</button></section><section class="col-md-6"><span class="button-title">lateral-lines<br>vertical</span> <button progress-button="progressFunction()" pb-style="lateral-lines" class="btn btn-info">Submit</button></section></div></div>'),e.put("app/widgets/ui/icons/widgets/fontAwesomeIcons.html",'<div class="row icons-list success awesomeIcons"><div class="col-xs-2" ng-repeat="icon in icons.fontAwesomeIcons"><i class="fa {{icon}}"></i></div></div><a href="http://fortawesome.github.io/Font-Awesome/icons/" target="_blank" class="see-all-icons">See all Font Awesome icons</a>'),e.put("app/widgets/ui/icons/widgets/ionicons.html",'<div class="row icons-list primary"><div class="col-xs-2" ng-repeat="icon in icons.ionicons"><i class="{{icon}}"></i></div></div><a href="http://ionicons.com/" target="_blank" class="see-all-icons">See all ionicons icons</a>'),e.put("app/widgets/ui/icons/widgets/kameleon.html",'<div class="row clearfix"><div class="kameleon-row" ng-repeat="icon in icons.kameleonIcons"><div class="kameleon-icon"><img ng-src="{{:: (icon.img | kameleonImg )}}"><span>{{icon.name}}</span></div></div></div><a href="http://www.kameleon.pics/" target="_blank" class="see-all-icons">See all Kamaleon icons</a>'),e.put("app/widgets/ui/icons/widgets/kameleonRounded.html",'<div class="row clearfix"><div class="kameleon-row" ng-repeat="icon in icons.kameleonRoundedIcons"><div class="kameleon-icon with-round-bg {{icon.color}}"><img ng-src="{{::( icon.img | kameleonImg )}}"><span>{{ icon.name }}</span></div></div></div><a href="http://www.kameleon.pics/" target="_blank" class="see-all-icons">See all Kamaleon icons</a>'),e.put("app/widgets/ui/icons/widgets/socicon.html",'<div class="row icons-list danger"><div class="col-xs-2" ng-repeat="icon in icons.socicon"><i class="socicon">{{ icon }}</i></div></div><a href="http://www.socicon.com/chart.php" target="_blank" class="see-all-icons">See all Socicon icons</a>'),e.put("app/widgets/ui/modals/modalTemplates/basicModal.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title" id="myModalLabel">Modal title</h4></div><div class="modal-body">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</div><div class="modal-footer"><button type="button" class="btn btn-primary" ng-click="$dismiss()">Save changes</button></div></div>'),e.put("app/widgets/ui/modals/modalTemplates/dangerModal.html",'<div class="modal-content"><div class="modal-header bg-danger"><i class="ion-flame modal-icon"></i><span>Error</span></div><div class="modal-body text-center">Your information hasn\'t been saved!</div><div class="modal-footer"><button type="button" class="btn btn-danger" ng-click="$dismiss()">OK</button></div></div>'),e.put("app/widgets/ui/modals/modalTemplates/infoModal.html",'<div class="modal-content"><div class="modal-header bg-info"><i class="ion-information-circled modal-icon"></i><span>Information</span></div><div class="modal-body text-center">You\'ve got a new email!</div><div class="modal-footer"><button type="button" class="btn btn-info" ng-click="$dismiss()">OK</button></div></div>'),e.put("app/widgets/ui/modals/modalTemplates/largeModal.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title">Modal title</h4></div><div class="modal-body">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</div><div class="modal-footer"><button type="button" class="btn btn-primary" ng-click="$dismiss()">Save changes</button></div></div>'),e.put("app/widgets/ui/modals/modalTemplates/smallModal.html",'<div class="modal-content"><div class="modal-header"><button type="button" class="close" ng-click="$dismiss()" aria-label="Close"><em class="ion-ios-close-empty sn-link-close"></em></button><h4 class="modal-title">Modal title</h4></div><div class="modal-body">Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.</div><div class="modal-footer"><button type="button" class="btn btn-primary" ng-click="$dismiss()">Save changes</button></div></div>'),e.put("app/widgets/ui/modals/modalTemplates/successModal.html",'<div class="modal-content"><div class="modal-header bg-success"><i class="ion-checkmark modal-icon"></i><span>Success</span></div><div class="modal-body text-center">Your information has been saved successfully</div><div class="modal-footer"><button type="button" class="btn btn-success" ng-click="$dismiss()">OK</button></div></div>'),e.put("app/widgets/ui/modals/modalTemplates/warningModal.html",'<div class="modal-content"><div class="modal-header bg-warning"><i class="ion-android-warning modal-icon"></i><span>Warning</span></div><div class="modal-body text-center">Your computer is about to explode!</div><div class="modal-footer"><button type="button" class="btn btn-warning" ng-click="$dismiss()">OK</button></div></div>'),e.put("app/widgets/ui/modals/notifications/notifications.html",'<div class="modal-buttons same-width clearfix" ng-controller="NotificationsCtrl"><button type="button" class="btn btn-success" ng-click="showSuccessMsg()">Success Notification</button> <button type="button" class="btn btn-info" ng-click="showInfoMsg()">Info Notification</button> <button type="button" class="btn btn-warning" ng-click="showWarningMsg()">Warning Notification</button> <button type="button" class="btn btn-danger" ng-click="showErrorMsg()">Danger Notification</button></div>'),e.put("app/widgets/ui/progressBars/widgets/animated.html",'<div class="progress"><div class="progress-bar progress-bar-success progress-bar-striped active" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"><span class="sr-only">40% Complete (success)</span></div></div><div class="progress"><div class="progress-bar progress-bar-info progress-bar-striped active" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"><span class="sr-only">20% Complete</span></div></div><div class="progress"><div class="progress-bar progress-bar-warning progress-bar-striped active" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"><span class="sr-only">60% Complete (warning)</span></div></div><div class="progress"><div class="progress-bar progress-bar-danger progress-bar-striped active" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"><span class="sr-only">80% Complete (danger)</span></div></div>'),e.put("app/widgets/ui/progressBars/widgets/basic.html",'<div class="progress"><div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"><span class="sr-only">40% Complete (success)</span></div></div><div class="progress"><div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"><span class="sr-only">20% Complete</span></div></div><div class="progress"><div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"><span class="sr-only">60% Complete (warning)</span></div></div><div class="progress"><div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"><span class="sr-only">80% Complete (danger)</span></div></div>'),e.put("app/widgets/ui/progressBars/widgets/label.html",'<div class="progress"><div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">40% Complete (success)</div></div><div class="progress"><div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%">20% Complete</div></div><div class="progress"><div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">60% Complete (warning)</div></div><div class="progress"><div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%">80% Complete (danger)</div></div>'),e.put("app/widgets/ui/progressBars/widgets/stacked.html",'<div class="progress"><div class="progress-bar progress-bar-success" style="width: 35%"><span class="sr-only">35% Complete (success)</span></div><div class="progress-bar progress-bar-warning progress-bar-striped" style="width: 20%"><span class="sr-only">20% Complete (warning)</span></div><div class="progress-bar progress-bar-danger" style="width: 10%"><span class="sr-only">10% Complete (danger)</span></div><div class="progress-bar progress-bar-info progress-bar-striped active" style="width: 20%"><span class="sr-only">20% Complete (warning)</span></div></div>'),e.put("app/widgets/ui/progressBars/widgets/striped.html",'<div class="progress"><div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%"><span class="sr-only">40% Complete (success)</span></div></div><div class="progress"><div class="progress-bar progress-bar-info progress-bar-striped" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%"><span class="sr-only">20% Complete</span></div></div><div class="progress"><div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%"><span class="sr-only">60% Complete (warning)</span></div></div><div class="progress"><div class="progress-bar progress-bar-danger progress-bar-striped" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 80%"><span class="sr-only">80% Complete (danger)</span></div></div>'),e.put("app/widgets/form/inputs/widgets/select/select.html",'<div ng-controller="SelectpickerPanelCtrl as selectpickerVm"><div class="form-group"><select class="form-control selectpicker" selectpicker="" title="Standard Select" ng-model="selectpickerVm.standardSelected" ng-options="item as item.label for item in selectpickerVm.standardSelectItems"></select></div><div class="form-group"><select class="form-control selectpicker with-search" data-live-search="true" title="Select With Search" selectpicker="" ng-model="selectpickerVm.searchSelectedItem" ng-options="item as item.label for item in selectpickerVm.selectWithSearchItems"></select></div><div class="form-group"><select class="form-control selectpicker" title="Option Types" selectpicker=""><option>Standard option</option><option data-subtext="option subtext">Option with subtext</option><option disabled="">Disabled Option</option><option data-icon="glyphicon-heart">Option with cion</option></select></div><div class="form-group"><select class="form-control selectpicker" disabled="" title="Disabled Select" selectpicker=""><option>Option 1</option><option>Option 2</option><option>Option 3</option></select></div><div class="row"><div class="col-sm-6"><div class="form-group"><select class="form-control" title="Select with Option Groups" selectpicker="" ng-model="selectpickerVm.groupedSelectedItem" ng-options="item as item.label group by item.group for item in selectpickerVm.groupedSelectItems"></select></div></div><div class="col-sm-6"><div class="form-group"><select class="form-control" title="Select with Divider" selectpicker=""><option>Group 1 - Option 1</option><option>Group 1 - Option 2</option><option data-divider="true"></option><option>Group 2 - Option 1</option><option>Group 2 - Option 2</option></select></div></div></div><div class="form-group"><select class="form-control" title="Multiple Select" multiple="" selectpicker="" ng-model="selectpickerVm.multipleSelectedItems" ng-options="item as item.label for item in selectpickerVm.standardSelectItems"><option>Option 1</option><option>Option 2</option><option>Option 3</option></select></div><div class="form-group"><select class="form-control" title="Multiple Select with Limit" multiple="" data-max-options="2" selectpicker="" ng-model="selectpickerVm.multipleSelectedItems2" ng-options="item as item.label for item in selectpickerVm.standardSelectItems"><option>Option 1</option><option>Option 2</option><option>Option 3</option></select></div><div class="row"><div class="col-sm-6"><div class="form-group"><select class="form-control" title="Primary Select" data-style="btn-primary" data-container="body" selectpicker=""><option>Option 1</option><option>Option 2</option><option>Option 3</option><option>Option 4</option></select></div><div class="form-group"><select class="form-control" title="Success Select" data-style="btn-success" data-container="body" selectpicker=""><option>Option 1</option><option>Option 2</option><option>Option 3</option><option>Option 4</option></select></div><div class="form-group"><select class="form-control" title="Warning Select" data-style="btn-warning" data-container="body" selectpicker=""><option>Option 1</option><option>Option 2</option><option>Option 3</option><option>Option 4</option></select></div></div><div class="col-sm-6"><div class="form-group"><select class="form-control" title="Info Select" data-style="btn-info" data-container="body" selectpicker=""><option>Option 1</option><option>Option 2</option><option>Option 3</option><option>Option 4</option></select></div><div class="form-group"><select class="form-control" title="Danger Select" data-style="btn-danger" data-container="body" selectpicker=""><option>Option 1</option><option>Option 2</option><option>Option 3</option><option>Option 4</option></select></div><div class="form-group"><select class="form-control" title="Inverse Select" data-style="btn-inverse" data-container="body" selectpicker=""><option>Option 1</option><option>Option 2</option><option>Option 3</option><option>Option 4</option></select></div></div></div></div>'),e.put("app/widgets/form/inputs/widgets/switch/switch.html",'<div ng-controller="SwitchPanelCtrl as switchPanelVm" class="switches clearfix"><switch color="primary" ng-model="switchPanelVm.switcherValues.primary"></switch><switch color="warning" ng-model="switchPanelVm.switcherValues.warning"></switch><switch color="danger" ng-model="switchPanelVm.switcherValues.danger"></switch><switch color="info" ng-model="switchPanelVm.switcherValues.info"></switch><switch color="success" ng-model="switchPanelVm.switcherValues.success"></switch></div>'),
  e.put("app/widgets/form/inputs/widgets/tagsInput/tagsInput.html",'<div class="form-group"><div class="form-group"><input type="text" tag-input="primary" value="Amsterdam,Washington,Sydney,Beijing,Cairo" data-role="tagsinput" placeholder="Add Tag"></div><div class="form-group"><input type="text" tag-input="warning" value="Minsk,Prague,Vilnius,Warsaw" data-role="tagsinput" placeholder="Add Tag"></div><div class="form-group"><input type="text" tag-input="danger" value="London,Berlin,Paris,Rome,Munich" data-role="tagsinput" placeholder="Add Tag"></div></div>')}]);
  //# sourceMappingURL=../maps/scripts/app-2490a65ce6.js.map
  