"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./assets/CompletionAppIcon.js"),t=require("./assets/CompletionAppIconBe.js"),n=require("./assets/DrillingAppIcon.js"),r=require("./assets/DrillingAppIconBe.js"),i=require("./assets/InterventionAppIcon.js"),s=require("./assets/NoSegmentAppIconBeIdle.js"),a=require("./assets/NoSegmentAppIcon.js"),c=require("../../constants/segment.js"),p="/static/media/24e85195c257f1a487266abb9fc7a2bf.png";exports.getAppIcon=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ui";if(!e||!e.length)return p;var n="ui"===t,r=e[0];return r===c.SEGMENTS.COMPLETION?n?"/static/media/9fd5109325b72bf1dea0d2984b0478b8.png":"/static/media/573240ce4ae3f03b1dcda59a6122d385.png":r===c.SEGMENTS.DRILLING?n?"/static/media/611a0b004a47e773eef650c39e484dde.png":"/static/media/637021239e939e67a50264c22fdad2cf.png":r===c.SEGMENTS.INTERVENTION?"/static/media/c901dbd37bce6a412f2c0f0ceecfea1d.png":p},exports.getIconComponentBySegment=function(p){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ui";if(!p||!p.length)return"be"===o?s:a;var u="ui"===o,d="be"===o,f=p[0];if(f===c.SEGMENTS.COMPLETION){if(u)return e;if(d)return t}if(f===c.SEGMENTS.DRILLING){if(u)return n;if(d)return r}return f===c.SEGMENTS.INTERVENTION?i:s};
//# sourceMappingURL=utils.js.map
